/* ============================================================
   SwiftIdc Cloud - 产品展示网站样式
   科技证据风 technology-evidence-system（浅色主表面，品牌橙行动色）
   2026-10-22 | 演示站点样式（非真实服务承诺）
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* 品牌与表面 */
  --canvas: #ffffff;
  --canvas-subtle: #f5f7fa;
  --canvas-soft: #eef1f6;
  --ink: #112427;
  --ink-2: #475467;
  --ink-3: #667085;
  --line: #e4e7ec;
  --line-strong: #cbd5e1;

  /* 品牌行动色 */
  --brand: #0e7c86;
  --brand-hover: #0a6670;
  --brand-strong: #084e56;
  --brand-soft: #e6f3f4;
  --brand-soft-line: #b9dde0;

  /* 技术渐变（仅用于语义连接与 logo 语境） */
  --blue: #0e7c86;
  --blue-2: #246168;
  --blue-soft: #e6f3f4;

  /* 语义 */
  --success: #1f7a45;
  --success-soft: #e9f6ee;
  --warning: #9a5b00;
  --warning-soft: #fdf2e4;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --focus: #084e56;

  /* 形状 */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* 容器 */
  --gutter-m: 20px;
  --gutter-d: 32px;
  --content: 1200px;
  --reading: 720px;
  --wide: 1440px;

  /* 字体 */
  --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC",
    system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, Menlo, "Liberation Mono", monospace;

  /* 阴影 仅表达浮层与覆盖 */
  --shadow-sm: 0 1px 2px rgba(17,36,39, 0.06);
  --shadow-md: 0 4px 12px rgba(17,36,39, 0.08);
  --shadow-lg: 0 16px 32px rgba(17,36,39, 0.14);
}

/* ---------- Reset ---------- */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--canvas);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, figure, ul, ol, dl, dd {
  margin: 0;
}
ul, ol {
  padding: 0;
}
li {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img, svg {
  display: block;
  max-width: 100%;
}
button, input, select, textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ---------- Accessible helpers ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: top 0.16s ease;
}
.skip-link:focus {
  top: 12px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ---------- Layout shells ---------- */
.container {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding-left: var(--gutter-m);
  padding-right: var(--gutter-m);
}
.container-wide {
  max-width: var(--wide);
}
.reading {
  max-width: var(--reading);
}
/* 栏目页内锚点跳转：为吸顶页头预留滚动偏移（解决方案等栏目的场景锚点） */
.section[id],
main section[id] {
  scroll-margin-top: 84px;
}

.section {
  padding: 72px 0;
}
.section-alt {
  background: var(--canvas-subtle);
}
.band {
  width: 100%;
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}
.section-title {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 700;
  margin-bottom: 16px;
}
.section-lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
}
.hero-title {
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 16px 0;
}
/* 主标题两栏：第一栏继承 .hero-title 字号，第二栏字号比第一栏小两号（约 0.75 倍，
   随 .hero-title 的响应式字号同比缩放：≥1024px 56→42px，≥768px 52→39px，
   移动端 40→30px，≤419px 34→25.5px） */
.hero-title-main,
.hero-title-sub {
  display: block;
}
.hero-title-sub {
  font-size: 0.75em;
  letter-spacing: -0.01em;
}
.hero-lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-2);
  max-width: 46em;
}
.subsection-title {
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.footnote {
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-3);
}
.meta {
  font-size: 14px;
  line-height: 20px;
  color: var(--ink-3);
}
.mono {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

/* ---------- 全局隐藏属性（覆盖 .btn 等 display 声明，保证 hidden 必生效） ---------- */
[hidden] {
  display: none !important;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover:not(:disabled) {
  background: var(--brand-hover);
}
.btn-primary:active:not(:disabled) {
  background: var(--brand-strong);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-secondary:hover:not(:disabled) {
  border-color: var(--ink-2);
  background: var(--canvas-subtle);
}
.btn-ghost {
  background: transparent;
  color: var(--brand);
}
.btn-ghost:hover:not(:disabled) {
  background: var(--brand-soft);
}
.btn-sm {
  min-height: 36px;
  padding: 6px 14px;
  font-size: 14px;
}
.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Global navigation（参考阿里云页头：玻璃吸顶 + 一级导航 + 悬浮大菜单） ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(228, 231, 236, 0.85);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(17,36,39, 0.07);
}
.nav-wrap {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  min-height: 64px;
  max-width: none;
  padding-left: clamp(16px, 3vw, 40px);
  padding-right: clamp(16px, 3vw, 40px);
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  height: 44px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.brand img {
  height: 30px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
}
.nav-links > .nav-link,
.nav-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-links > .nav-link::after,
.nav-trigger::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}
.nav-links > .nav-link:hover,
.nav-item.has-dropdown:hover > .nav-trigger,
.nav-item.is-open > .nav-trigger {
  color: var(--brand);
  background: var(--brand-soft);
}
.nav-links > .nav-link:hover::after,
.nav-item.has-dropdown:hover > .nav-trigger::after,
.nav-item.is-open > .nav-trigger::after,
.nav-links > .nav-link[aria-current="page"]::after,
.nav-item.is-current > .nav-trigger::after {
  transform: scaleX(1);
}
.nav-links > .nav-link[aria-current="page"],
.nav-item.is-current > .nav-trigger {
  color: var(--brand);
  font-weight: 600;
}
.nav-caret {
  width: 14px;
  height: 14px;
  stroke-width: 2;
  transition: transform 0.18s ease;
}
.nav-item.has-dropdown:hover .nav-caret,
.nav-item.is-open .nav-caret {
  transform: rotate(180deg);
}
.nav-item {
  position: relative;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: -6px;
  min-width: 300px;
  padding: 8px;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(17,36,39, 0.12), 0 2px 6px rgba(17,36,39, 0.04);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 65;
}
.nav-item.has-dropdown.is-wide .nav-dropdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  width: 640px;
}
/* r289navgroup：按板块分栏的下拉工作台（云产品：云计算 / 云安全 / 软件开发）。
   每栏一组标题 + 栏目，三栏并排全部展示，栏间用细线分隔。 */
.nav-item.has-dropdown.is-grouped .nav-dropdown {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  width: min(1180px, calc(100vw - 48px));
  padding: 12px;
}
.nav-dropdown-group {
  min-width: 0;
  padding: 0 14px 4px;
}
.nav-dropdown-group:first-child {
  padding-left: 4px;
}
.nav-dropdown-group:last-child {
  padding-right: 4px;
}
.nav-dropdown-group + .nav-dropdown-group {
  border-left: 1px solid #eef0f3;
}
.nav-dropdown-group-title {
  margin: 4px 0 8px;
  padding: 0 4px 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  border-bottom: 1px solid #f2f4f7;
}
.nav-dropdown-group .dropdown-cell {
  gap: 10px;
  padding: 8px 4px;
}
.nav-dropdown-group .dropdown-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}
.nav-dropdown-group .dropdown-icon .icon {
  width: 16px;
  height: 16px;
}
.nav-dropdown-group .dropdown-text strong {
  font-size: 13.5px;
}
@media (max-width: 1279px) {
  .nav-item.has-dropdown.is-grouped .nav-dropdown {
    width: 740px;
    padding: 10px;
  }
  .nav-dropdown-group {
    padding: 0 10px 4px;
  }
  .nav-dropdown-group .dropdown-text span {
    display: none;
  }
}
.nav-item.has-dropdown:hover > .nav-dropdown,
.nav-item.has-dropdown:focus-within > .nav-dropdown,
.nav-item.is-open > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-cell {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
}
.dropdown-cell:hover {
  background: var(--brand-soft);
}
.dropdown-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
}
.dropdown-cell:hover .dropdown-icon {
  background: #fff;
}
.dropdown-icon .icon {
  width: 18px;
  height: 18px;
}
.dropdown-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.dropdown-text strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.dropdown-text span {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-3);
}
.dropdown-cell:hover .dropdown-text strong {
  color: var(--brand);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  margin-left: auto;
}
.nav-quick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 10px;
  font-size: 14px;
  color: var(--ink-2);
  border-radius: 8px;
  white-space: nowrap;
}
.nav-quick .icon {
  width: 16px;
  height: 16px;
}
.nav-quick:hover {
  color: var(--brand);
  background: var(--brand-soft);
}
/* 页头快捷入口（国际站 / 在线客服）：参考阿里云页头的纯图标按钮 */
.nav-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.nav-icon-btn .icon {
  width: 18px;
  height: 18px;
}
.nav-icon-btn:hover,
.nav-icon-btn:focus-visible {
  color: var(--brand);
  background: var(--brand-soft);
}
/* 电话入口：点击在按钮下方弹出号码提示，不做跳转 */
.nav-quick-phone {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-quick-phone > .nav-icon-btn[aria-expanded="true"] {
  color: var(--brand);
  background: var(--brand-soft);
}
.phone-tip {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 176px;
  padding: 10px 12px 12px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(17,36,39, .12);
  z-index: 60;
  text-align: left;
}
.nav-quick-phone.is-open .phone-tip {
  display: block;
}
.phone-tip-label {
  display: block;
  font-size: 12px;
  color: var(--ink-2);
  opacity: .72;
}
.phone-tip-number {
  display: block;
  margin: 2px 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.phone-tip-copy {
  padding: 4px 10px;
  border: 1px solid var(--brand-soft-line);
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  cursor: pointer;
}
.phone-tip-copy:hover {
  border-color: var(--brand);
}
/* 移动抽屉内的快捷入口胶囊 */
.mm-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 4px;
}
.mm-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--canvas);
  color: var(--ink-2);
  font-size: 13px;
  cursor: pointer;
}
.mm-chip .icon {
  width: 16px;
  height: 16px;
}
.mm-chip[aria-pressed="true"],
.mm-chip:hover {
  color: var(--brand);
  border-color: var(--brand-soft-line);
  background: var(--brand-soft);
}
.nav-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}

/* ============================================================
   2026-11-13 页头导航大气版（r290）
   目标：加大导航高度、字号与留白，强化品牌区与行动区层级；
   保留原有栏目、链接、下拉结构与交互，仅调整视觉尺度。
   .is-compact 保留旧版紧凑尺寸，供后台「页头管理 → 导航尺寸」切换。
   ============================================================ */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: rgba(228, 231, 236, 0.9);
  box-shadow: 0 1px 0 rgba(17,36,39, 0.02);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(17,36,39, 0.08);
}
.nav-wrap {
  gap: clamp(20px, 2vw, 28px);
  min-height: 80px;
  max-width: none;
  margin: 0;
  padding-left: clamp(16px, 2vw, 24px);
  padding-right: clamp(16px, 2vw, 24px);
}
.brand {
  height: 56px;
}
.nav-links {
  gap: 6px;
  justify-content: flex-start;
}
.nav-links > .nav-link,
.nav-trigger {
  height: 48px;
  padding: 0 12px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 10px;
}
.nav-links > .nav-link::after,
.nav-trigger::after {
  left: 12px;
  right: 12px;
  bottom: 6px;
}
.nav-caret {
  width: 15px;
  height: 15px;
}
.nav-dropdown {
  top: calc(100% + 12px);
  left: -8px;
  min-width: 420px;
  padding: 16px 16px 12px;
  border-color: #e9edf2;
  border-radius: 20px;
  box-shadow: 0 28px 56px rgba(17,36,39, 0.16), 0 6px 16px rgba(17,36,39, 0.06);
}
.nav-item.has-dropdown.is-wide .nav-dropdown {
  width: 860px;
  gap: 6px;
}
.nav-item.has-dropdown.is-grouped .nav-dropdown {
  width: 1020px;
  padding: 22px 22px 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdfe 100%);
  border-color: #e9edf2;
  box-shadow: 0 28px 56px rgba(17,36,39, 0.16), 0 6px 16px rgba(17,36,39, 0.06);
}
.nav-dropdown-group {
  padding: 0 20px 8px;
}
.nav-dropdown-group:first-child {
  padding-left: 4px;
}
.nav-dropdown-group:last-child {
  padding-right: 4px;
}
.nav-dropdown-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 6px;
  padding: 0 4px 10px;
  border-bottom: 1px solid #eef1f5;
}
.nav-dropdown-group-name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--ink-2);
}
.nav-dropdown-group-count {
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
}
.nav-dropdown-group-desc {
  margin: 0 4px 10px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-3);
}
.nav-dropdown-group .dropdown-cell {
  gap: 12px;
  padding: 11px 8px;
  border-radius: 12px;
}
.nav-dropdown-group .dropdown-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}
.nav-dropdown-group .dropdown-icon .icon {
  width: 20px;
  height: 20px;
}
.nav-dropdown-group .dropdown-text strong {
  font-size: 15px;
}
.dropdown-cell {
  position: relative;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
}
.dropdown-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}
.dropdown-icon .icon {
  width: 20px;
  height: 20px;
}
.dropdown-text {
  flex: 1 1 auto;
}
.dropdown-text strong {
  font-size: 15px;
}
.dropdown-text span {
  font-size: 12.5px;
  line-height: 1.6;
}
.dropdown-arrow {
  flex: none;
  align-self: center;
  width: 16px;
  height: 16px;
  color: var(--line-strong);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, color 0.15s ease;
}
.dropdown-cell:hover .dropdown-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--brand);
}
/* 非分组工作台顶部：工作台标题 + 条目数 + 一句说明 */
.nav-dropdown-intro {
  grid-column: 1 / -1;
  padding: 2px 6px 12px;
  margin-bottom: 2px;
  border-bottom: 1px solid #eef1f5;
}
.nav-dropdown-intro-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-dropdown-intro-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.nav-dropdown-intro-desc {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-3);
}
/* 分组工作台与非分组工作台共用底部信息条 */
.nav-dropdown-footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
  padding: 14px 8px 2px;
  border-top: 1px solid #eef1f5;
}
.nav-dropdown-total {
  padding-right: 14px;
  border-right: 1px solid #eef1f5;
  font-size: 12px;
  color: var(--ink-3);
  white-space: nowrap;
}
.nav-dropdown-note {
  margin-right: auto;
  font-size: 12px;
  color: var(--ink-3);
}
.nav-dropdown-help {
  font-size: 12px;
  color: var(--ink-3);
  white-space: nowrap;
}
.nav-dropdown-help:hover {
  color: var(--brand);
}
/* 单列工作台：总数与帮助入口同一行，说明换行占满，避免窄栏挤压 */
.nav-dropdown-single .nav-dropdown-footer {
  flex-wrap: wrap;
  row-gap: 8px;
}
.nav-dropdown-single .nav-dropdown-note {
  order: 3;
  flex: 1 1 100%;
}
.nav-dropdown-single .nav-dropdown-help {
  margin-left: auto;
}
.nav-actions {
  gap: 10px;
}
.nav-quick {
  height: 42px;
  padding: 0 14px;
  font-size: 15px;
  border-radius: 10px;
}
.nav-quick .icon {
  width: 17px;
  height: 17px;
}
.nav-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}
.nav-icon-btn .icon {
  width: 19px;
  height: 19px;
}
.nav-actions .btn-sm {
  min-height: 42px;
  padding: 0 20px;
  font-size: 15px;
  border-radius: 10px;
}
.nav-actions .btn-primary {
  box-shadow: 0 8px 18px rgba(14,124,134, 0.22);
}
.nav-actions .btn-primary:hover:not(:disabled) {
  box-shadow: 0 10px 22px rgba(14,124,134, 0.28);
}
.nav-toggle {
  width: 48px;
  height: 48px;
}
/* 窄屏收窄分组工作台，避免隐藏的下拉工作台撑出横向滚动 */
@media (max-width: 1279px) {
  .nav-item.has-dropdown.is-grouped .nav-dropdown,
  .nav-item.has-dropdown.is-wide .nav-dropdown {
    width: 740px;
    padding: 12px;
  }
  .nav-dropdown-group {
    padding: 0 12px 4px;
  }
  .nav-dropdown-group .dropdown-text span,
  .nav-dropdown-group-desc,
  .nav-dropdown-grouped .nav-dropdown-footer,
  .nav-item.has-dropdown.is-wide .nav-dropdown-footer,
  .nav-item.has-dropdown.is-wide .nav-dropdown-intro-desc,
  .nav-dropdown-group .dropdown-arrow,
  .nav-item.has-dropdown.is-wide .dropdown-arrow {
    display: none;
  }
  .nav-dropdown-group-title {
    padding-bottom: 8px;
  }
}
@media (max-width: 1099px) {
  .nav-wrap {
    min-height: 72px;
  }
}
/* 中等宽度先收紧一级导航的字距与内边距，保证右侧入口仍贴齐屏幕右缘 */
@media (max-width: 1359px) {
  .site-header .nav-links > .nav-link,
  .site-header .nav-trigger {
    padding: 0 10px;
    font-size: 15px;
  }
  .site-header .nav-actions {
    gap: 8px;
  }
}
/* 再窄一档收起装饰性快捷图标，把空间留给登录注册与一级导航 */
@media (max-width: 1199px) {
  .site-header .nav-actions .nav-icon-btn,
  .site-header .nav-actions .nav-quick-phone {
    display: none;
  }
  .site-header .nav-links > .nav-link,
  .site-header .nav-trigger {
    font-size: 14px;
  }
}

/* 旧版紧凑尺寸：后台「页头管理 → 导航尺寸」切换为紧凑后启用 */
.site-header.is-compact {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
}
.site-header.is-compact.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 20px rgba(17,36,39, 0.07);
}
.site-header.is-compact .nav-wrap {
  min-height: 64px;
  max-width: none;
  gap: clamp(16px, 3vw, 40px);
  padding-left: clamp(16px, 3vw, 40px);
  padding-right: clamp(16px, 3vw, 40px);
}
.site-header.is-compact .brand {
  height: 44px;
}
.site-header.is-compact .nav-links {
  gap: 2px;
  justify-content: flex-start;
}
.site-header.is-compact .nav-links > .nav-link,
.site-header.is-compact .nav-trigger {
  height: 40px;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  border-radius: 8px;
}
.site-header.is-compact .nav-links > .nav-link::after,
.site-header.is-compact .nav-trigger::after {
  left: 12px;
  right: 12px;
  bottom: 4px;
}
.site-header.is-compact .nav-caret {
  width: 14px;
  height: 14px;
}
.site-header.is-compact .nav-dropdown {
  top: calc(100% + 8px);
  left: -6px;
  min-width: 300px;
  padding: 8px;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(17,36,39, 0.12), 0 2px 6px rgba(17,36,39, 0.04);
}
.site-header.is-compact .nav-item.has-dropdown.is-wide .nav-dropdown {
  width: 640px;
  gap: 2px;
}
.site-header.is-compact .nav-item.has-dropdown.is-grouped .nav-dropdown {
  width: min(1360px, calc(100vw - var(--nav-panel-left, 250px) - 24px));
  padding: 12px;
}
.site-header.is-compact .nav-dropdown-group {
  padding: 0 14px 4px;
}
.site-header.is-compact .nav-dropdown-group:first-child {
  padding-left: 4px;
}
.site-header.is-compact .nav-dropdown-group:last-child {
  padding-right: 4px;
}
.site-header.is-compact .nav-dropdown-group-title {
  margin: 4px 0 8px;
  padding: 0 4px 7px;
  font-size: 12px;
}
.site-header.is-compact .nav-dropdown-group .dropdown-cell {
  gap: 10px;
  padding: 8px 4px;
}
.site-header.is-compact .nav-dropdown-group .dropdown-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}
.site-header.is-compact .nav-dropdown-group .dropdown-icon .icon {
  width: 16px;
  height: 16px;
}
.site-header.is-compact .nav-dropdown-group .dropdown-text strong {
  font-size: 13.5px;
}
.site-header.is-compact .dropdown-cell {
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
}
.site-header.is-compact .dropdown-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}
.site-header.is-compact .dropdown-icon .icon {
  width: 18px;
  height: 18px;
}
.site-header.is-compact .dropdown-text strong {
  font-size: 14px;
}
.site-header.is-compact .dropdown-text span {
  font-size: 12px;
}
.site-header.is-compact .nav-actions {
  gap: 8px;
}
.site-header.is-compact .nav-quick {
  height: 36px;
  padding: 0 10px;
  font-size: 14px;
  border-radius: 8px;
}
.site-header.is-compact .nav-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.site-header.is-compact .nav-actions .btn-sm {
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
  border-radius: 8px;
}
.site-header.is-compact .nav-actions .btn-primary {
  box-shadow: none;
}
.site-header.is-compact .nav-toggle {
  width: 44px;
  height: 44px;
}

/* ---------- Hero ---------- */
/* 首屏下方产品/域名查询板块：纯白底（原暖色径向光晕会让右上角偏米色） */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--canvas);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
  padding: 72px 0 88px;
}
.hero-logo {
  width: min(340px, 72%);
  height: auto;
  margin-bottom: 8px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.hero-next {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
  font-size: 14px;
}
.hero-next svg {
  transition: transform 0.2s ease;
}
.hero-next:hover svg {
  transform: translateY(3px);
}

/* Console mock (真实可检查的示意界面) */
.console-mock {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.cm-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--canvas-subtle);
}
.cm-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}
.cm-title {
  font-size: 13px;
  color: var(--ink-2);
  margin-left: 6px;
  font-weight: 600;
}
.cm-body {
  padding: 16px;
}
.cm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.cm-head h4 {
  font-size: 15px;
  font-weight: 700;
}
.cm-tag {
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
}
.cm-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.cm-instance {
  min-width: 0;
}
.cm-instance strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cm-instance span {
  font-size: 12px;
  color: var(--ink-3);
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.status-running {
  color: var(--success);
  background: var(--success-soft);
}
.status-stopped {
  color: var(--ink-3);
  background: var(--canvas-soft);
}
.status-creating {
  color: var(--warning);
  background: var(--warning-soft);
}
.cm-act {
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
  min-width: 44px;
}
.cm-monitor {
  margin-top: 14px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--canvas-subtle);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.cm-metric span {
  display: block;
  font-size: 11px;
  color: var(--ink-3);
  margin-bottom: 2px;
}
.cm-metric strong {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-mono);
}
.cm-metric em {
  font-style: normal;
  font-size: 11px;
  color: var(--ink-3);
}
.cm-note {
  margin-top: 12px;
  font-size: 11px;
  color: var(--ink-3);
}

/* ---------- Outcome-first ---------- */
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.outcome-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--canvas);
}
.outcome-card .icon-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--blue-soft);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.outcome-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.outcome-card p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
}
.outcome-note {
  margin-top: 28px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-3);
  background: var(--canvas-subtle);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  padding: 12px 16px;
}

/* ---------- Workflow stages ---------- */
.stages {
  margin-top: 44px;
  display: grid;
  gap: 16px;
}
.stage {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--canvas);
  align-items: start;
}
.stage-num {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--blue);
  letter-spacing: -0.02em;
}
.stage-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}
.stage-body > p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 10px;
}
.stage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--canvas-subtle);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
}
.tag .icon {
  width: 15px;
  height: 15px;
}

/* ---------- Stage proof / local hscroll ---------- */
.proof-strip {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.proof-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--canvas);
}
.proof-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--canvas-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.proof-head strong {
  font-size: 15px;
  font-weight: 700;
}
.proof-stage {
  font-size: 12px;
  color: var(--blue);
  font-weight: 600;
}
.proof-body {
  padding: 18px;
}
.proof-body p {
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 12px;
}
/* 配置选型表单示意 */
.form-line {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px dashed var(--line);
  font-size: 13px;
}
.form-line:first-child {
  border-top: 0;
}
.form-line dt {
  color: var(--ink-3);
}
.fake-select {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--canvas);
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
/* 订单确认示意 */
.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--brand-soft);
  margin-top: 6px;
}
.order-total span {
  font-size: 13px;
  color: var(--brand);
  font-weight: 600;
}
.order-total strong {
  font-size: 20px;
  color: var(--brand);
  font-weight: 800;
  font-family: var(--font-mono);
}
/* 实例列表示意 */
.instance-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.instance-line:first-child {
  border-top: 0;
}
.instance-line aside {
  display: flex;
  gap: 8px;
  align-items: center;
}
.mini-btn {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  min-height: 28px;
  background: var(--canvas);
}
/* 监控状态示意 */
.meter {
  height: 8px;
  border-radius: 999px;
  background: var(--canvas-soft);
  overflow: hidden;
  margin-top: 6px;
}
.meter i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  border-radius: 999px;
}

/* ---------- Boundary & enterprise ---------- */
.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.info-block {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--canvas);
}
.info-block h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.info-block h3 .icon {
  color: var(--blue);
}
.info-block ul {
  display: grid;
  gap: 10px;
}
.info-block li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
}
.info-block li .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--success);
}
.demo-banner {
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--warning-soft);
  background: var(--warning-soft);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--warning);
  line-height: 1.7;
}
.demo-banner .icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex: none;
}

/* ---------- Pricing (plan-decision, opening B) ---------- */
.price-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}

.price-intro-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}
.price-intro-link:hover {
  text-decoration: underline;
}
.price-intro-link:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.plan {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  background: var(--canvas);
  position: relative;
}
.plan-featured {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}
.plan-featured::before {
  content: "推荐";
  position: absolute;
  top: -13px;
  left: 24px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
}
.plan-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.plan-use {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.plan-price {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.plan-unit {
  font-size: 13px;
  color: var(--ink-3);
}
.plan-specs {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
  flex: 1;
}
.plan-specs li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-2);
}
.plan-specs .icon {
  width: 17px;
  height: 17px;
  color: var(--success);
}
.plan .btn {
  width: 100%;
}
.meter-explanation {
  margin-top: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.mx-head {
  padding: 16px 22px;
  background: var(--canvas-subtle);
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 700;
}
.mx-body {
  padding: 20px 22px;
  display: grid;
  gap: 14px;
}
.mx-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.mx-item dt {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.mx-item dd {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
}
.price-action {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.price-action .note {
  font-size: 13px;
  color: var(--ink-3);
}

/* ---------- 云服务器套餐板块（系列页签 + 推广工作台 + 套餐网格，按参考图制） ---------- */
.plan-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
  padding-bottom: 0;
}
.plan-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 6px 2px 14px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.plan-tab .pt-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-2);
}
.plan-tab .pt-sub {
  font-size: 12px;
  color: var(--ink-3);
}
.plan-tab:hover .pt-name { color: var(--blue); }
.plan-tab.active .pt-name { color: var(--blue); }
.plan-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 2px;
  background: var(--blue);
}
.plan-tab.active::before {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 6px solid var(--blue);
}
.plan-main {
  display: grid;
  grid-template-columns: 246px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan-promo {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 320px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #f6f6f8;
  overflow: hidden;
}
.pp-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.pp-text {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-3);
}
.pp-art {
  position: relative;
  margin-top: auto;
  padding-top: 6px;
  height: 172px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.pp-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
.plans-cloud {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.plans-listing {
  grid-template-columns: repeat(auto-fit, minmax(252px, 1fr));
  margin-top: 28px;
}
.plan-cloud {
  padding: 20px 22px 18px;
  gap: 0;
}
.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.plan-head .plan-name {
  margin-bottom: 0;
  font-size: 17px;
}
.plan-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.plan-badges i {
  font-style: normal;
  font-size: 11px;
  line-height: 18px;
  padding: 0 6px;
  color: var(--blue);
  background: #f5f9f9;
  border: 1px solid rgba(14,124,134, 0.4);
  border-radius: 3px;
}
.plan-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 14px;
  margin: 0 0 16px;
  flex: 1;
}
.ps-cell dt {
  font-size: 12px;
  color: var(--ink-3);
}
.ps-cell dd {
  margin-top: 3px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.plans-listing .plan-specs-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.plan-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.plan-foot .plan-price-row {
  margin-bottom: 0;
}
.plan-cloud .plan-price,
.plans-listing .plan-price {
  font-size: 26px;
  color: var(--brand);
}
.plan-original {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-3);
  text-decoration: line-through;
  margin-left: 6px;
}
.plan-note {
  max-width: 48%;
  text-align: right;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-3);
}
/* r84：云服务器产品卡「立即选购」入口（直达控制台并预选套餐） */
.plan-foot .plan-buy {
  flex: 0 0 100%;
  margin-top: 10px;
  justify-content: center;
}
.outcome-card .plan-buy {
  margin-top: 12px;
  align-self: flex-start;
}
.plan-spec {
  padding: 20px 22px 18px;
  gap: 0;
}
.listing-empty {
  margin-top: 24px;
  padding: 30px 24px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--canvas-subtle);
}
.listing-empty strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 6px;
}
.listing-empty p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-3);
}
.plans-cloud .listing-empty {
  grid-column: 1 / -1;
}
@media (max-width: 991px) {
  .plan-main {
    grid-template-columns: minmax(0, 1fr);
  }
  .plan-promo {
    min-height: 0;
  }
  .pp-art {
    height: 152px;
  }
}
@media (max-width: 767px) {
  .price-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .plan-tabs {
    gap: 22px;
  }
  .plans,
  .plans-cloud,
  .plans-listing {
    grid-template-columns: minmax(0, 1fr);
  }
  .plan-specs-grid,
  .plans-listing .plan-specs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plan-note {
    max-width: 100%;
    text-align: left;
  }
}
/* ---------- FAQ ---------- */
.faq-list {
  margin-top: 36px;
  display: grid;
  gap: 12px;
  max-width: 860px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--canvas);
  overflow: hidden;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 52px;
  padding: 12px 18px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.faq-q .icon {
  transition: transform 0.18s ease;
}
.faq-item[open] .faq-q .icon {
  transform: rotate(180deg);
}
.faq-a {
  padding: 0 18px 16px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.75;
}

/* ---------- Action support ---------- */
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}
.support-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  background: var(--canvas);
}
.support-item .icon {
  color: var(--blue);
  margin-top: 2px;
}
.support-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.support-item span {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.6;
}

/* ---------- CTA ---------- */
.cta-panel {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(14,124,134, 0.07), rgba(15,129,144), 0.07)), var(--canvas);
  border: 1px solid var(--line);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-panel h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.cta-panel p {
  color: var(--ink-2);
  font-size: 15px;
}
.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Footer（浅色版式：服务亮点条 / 链接栏目 / 品牌信息 / 备案版权） ---------- */
.site-footer {
  background: var(--canvas-subtle);
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  padding: 44px 0 26px;
  font-size: 13px;
}
.site-footer a {
  color: inherit;
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--brand);
}

/* ① 顶部服务亮点条 */
.footer-promises {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.footer-promise {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.fp-ico {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--canvas);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: var(--brand);
}
.fp-ico .icon {
  width: 18px;
  height: 18px;
}
.fp-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

/* ② 中部：左侧链接栏目 + 右侧品牌信息区 */
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 30px 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.footer-cols {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 20px 44px;
  min-width: 0;
}
.footer-col {
  min-width: 120px;
}
.footer-col strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--ink-2);
  padding: 5px 0;
  transition: color 0.15s ease;
}
.footer-col a:hover {
  color: var(--brand);
}
.footer-brandbox {
  min-width: 0;
  padding-left: 32px;
  border-left: 1px solid var(--line);
}
.footer-brandline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-logo img {
  height: 32px;
  width: auto;
  display: block;
}
.footer-brand {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.5px;
}
.footer-desc {
  font-size: 12px;
  line-height: 1.75;
  color: var(--ink-3);
  margin: 0 0 14px;
}
.footer-company {
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 4px;
}
.footer-subbrand {
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.footer-hotline {
  margin-bottom: 10px;
}
.fh-label {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 2px;
}
.fh-number {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.5px;
}
.footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-2);
}
.footer-mail .icon {
  width: 14px;
  height: 14px;
}

/* ③ 底部：备案与版权行 */
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-3);
}
.footer-records {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.footer-record {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-record .icon {
  width: 14px;
  height: 14px;
}
.footer-copy {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
}
.footer-legal {
  display: inline-flex;
  gap: 6px;
}
.footer-placeholder {
  background: var(--canvas-soft);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  font-size: 12px;
  color: var(--ink-2);
}

/* ============================================================
   认证视图（注册 / 登录）
   ============================================================ */
.auth-view {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px var(--gutter-m);
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(14,124,134, 0.08), transparent 55%),
    var(--canvas-subtle);
}
.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.auth-brand img {
  width: 56px;
  height: auto;
}
.auth-brand strong {
  font-size: 22px;
  font-weight: 800;
}
.auth-card h1,
.auth-card h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
}
.auth-sub {
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.field input, .field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 9px 12px;
  font-size: 15px;
  background: var(--canvas);
}
.field input:focus, .field select:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: transparent;
}
.field-help {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 5px;
}
.field-error {
  font-size: 12px;
  color: var(--danger);
  margin-top: 5px;
  min-height: 16px;
}
.form-msg {
  font-size: 14px;
  line-height: 1.7;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 16px;
}
.form-msg-error {
  background: var(--danger-soft);
  color: var(--danger);
}
.form-msg-success {
  background: var(--success-soft);
  color: var(--success);
}
.auth-switch {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-3);
}
.auth-switch a {
  color: var(--brand);
  font-weight: 600;
}
.auth-demo {
  margin-top: 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  background: var(--canvas-subtle);
  font-size: 13px;
  color: var(--ink-2);
}
.auth-demo code {
  font-family: var(--font-mono);
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 6px;
  user-select: all;
}

/* ============================================================
   控制台视图 —— 全屏自适应壳层（顶栏 + 侧栏 + 主区）
   ============================================================ */

/* 控制台模式：整页锁定为一屏高的应用壳，站点页头与页脚均不显示，
   滚动下沉到侧栏与主区内部，实现真正的全屏自适应。
   控制台界面与「控制台 → 实例概览 → 实例详情」页保持一致，不显示展示站页头。 */
body.console-mode {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
body.console-mode .site-header {
  display: none;
}
/* 控制台视图不展示展示站顶部公告，返回普通页面后自动恢复 */
body.console-mode .announce-bar {
  display: none;
}
/* 登录视图同样不展示顶部公告 */
body.auth-mode .announce-bar {
  display: none;
}
body.console-mode .site-footer {
  display: none;
}
body.console-mode main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
body.console-mode #view-console.view {
  display: none;
}
body.console-mode #view-console.view.active {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
}

.console-view {
  background: var(--canvas-subtle);
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 64px);
}
body.console-mode .console-view {
  flex: 1 1 auto;
  min-height: 0;
}

/* ---------- 控制台顶栏：边缘到边缘，随视口伸缩 ---------- */
.console-top {
  flex: none;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
  z-index: 5;
}
.console-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 14px clamp(16px, 3vw, 36px);
  flex-wrap: wrap;
}
.console-top-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
/* 控制台顶栏品牌标志：置于「控制台」标题之前，尺寸略高于 20px 标题以突出品牌 */
.console-top-brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  line-height: 0;
}
.console-top-brand img {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(200px, 52vw);
  object-fit: contain;
}
.console-top-text {
  min-width: 0;
}
.console-top h1,
.console-top h2 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}
.console-top-sub {
  font-size: 13px;
  color: var(--ink-3);
}
.console-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}
.console-user {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 34ch;
}
.console-logout {
  flex: none;
}

/* ---------- 控制台主体：左侧栏 + 主区，各自独立滚动 ---------- */
.console-body {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
}
.console-side {
  background: var(--canvas);
  border-right: 1px solid var(--line);
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.side-user {
  padding: 18px clamp(16px, 2.2vw, 22px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.side-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #246168);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex: none;
}
.side-user-info {
  min-width: 0;
}
.side-user-info strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.side-user-info span {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.side-nav {
  padding: 10px;
  display: grid;
  gap: 4px;
  align-content: start;
  flex: 1 1 auto;
}
.side-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  text-align: left;
  flex: none;
}
.side-nav button:hover {
  background: var(--canvas-subtle);
}
.side-nav button.active {
  background: var(--brand-soft);
  /* 品牌橙文本在 brand-soft 底上仅 3.25:1，改用同系 brand-strong 达到 AA 对比度 */
  color: var(--brand-strong);
  font-weight: 600;
}

/* r192：合并后链接型侧栏项（实例详情等页面）的选中态，与按钮型选中态同源同视觉 */
.side-nav a.side-nav-link[aria-current="page"] {
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-weight: 600;
}
.side-nav .icon {
  width: 18px;
  height: 18px;
}
.side-nav-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- 控制台侧栏：板块分组与产品入口（r188） ---------- */
.side-nav-group {
  display: grid;
  gap: 4px;
  align-content: start;
}
.side-nav-title {
  margin: 18px 0 6px;
  padding: 0 14px;
  /* r406：一级栏目统一 16px；控制台实际生效值见 console-ui.css 同名规则 */
  font-size: 16px;
  font-weight: 750;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}
.side-nav-group:first-child .side-nav-title {
  margin-top: 2px;
}
.side-nav a.side-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
}
.side-nav a.side-nav-link:hover {
  background: var(--canvas-subtle);
}

/* ---------- 控制台首页（r189 账户总览工作台） ---------- */
.home-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.home-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--brand-soft-line);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brand-soft) 0%, var(--canvas) 72%);
}
.home-hero-main {
  min-width: 0;
}
.home-hello {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 2px;
}
.home-user {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}
.home-hero-sub {
  margin-top: 6px;
  max-width: 560px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-3);
}
.home-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.home-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--canvas);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}
.home-tag-ok {
  border-color: var(--success-soft);
  background: var(--success-soft);
  color: var(--success);
}
.home-tag-warn {
  border-color: var(--warning-soft);
  background: var(--warning-soft);
  color: var(--warning);
}
.home-balance {
  flex: none;
  text-align: right;
}
.home-balance > span {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
}
.home-balance > strong {
  display: block;
  margin: 2px 0 4px;
  font-size: 26px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--ink);
}
.home-balance-hint {
  display: block;
  max-width: 230px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-3);
}
/* 首页四张指标卡：4 列栅格；选择器带上 .stat-cards 以免被站点基础规则覆盖 */
.stat-cards.home-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}
.home-todos {
  display: grid;
  gap: 10px;
}
.home-todo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--canvas);
}
.home-todo-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}
.home-todo-text {
  min-width: 0;
  flex: 1 1 auto;
}
.home-todo-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.home-todo-text small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--ink-3);
}
.home-todo-warn .home-todo-dot {
  background: var(--warning);
}
.home-todo-ok .home-todo-dot {
  background: var(--success);
}
.home-shortcuts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 10px;
}
.home-shortcut {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--canvas);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  text-align: left;
}
.home-shortcut:hover {
  border-color: var(--brand-soft-line);
  background: var(--canvas-subtle);
  color: var(--brand-strong);
}
.home-shortcut .icon {
  flex: none;
  width: 18px;
  height: 18px;
}
.home-orders {
  display: grid;
}
.home-order-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.home-order-row:last-child {
  border-bottom: 0;
}
.home-order-kind {
  flex: none;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 600;
}
.home-order-main {
  min-width: 0;
  flex: 1 1 auto;
}
.home-order-main strong {
  display: block;
  font-size: 14px;
}
.home-order-main small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--ink-3);
}
.home-order-status {
  flex: none;
  color: var(--ink-3);
}
.home-order-amount {
  flex: none;
  font-family: var(--font-mono);
  font-weight: 600;
}
.home-order-row .btn {
  flex: none;
}


/* ---------- 控制台列表分页（r190，每页 10 条） ---------- */
.list-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.list-pager-total {
  font-size: 12px;
  color: var(--ink-3);
}
.list-pager-btns {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.pager-btn {
  min-width: 34px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--canvas);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.pager-btn:hover:not(:disabled) {
  border-color: var(--brand-soft-line);
  background: var(--canvas-subtle);
  color: var(--brand-strong);
}
.pager-btn.active {
  border-color: var(--brand-soft-line);
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-weight: 600;
}
.pager-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.pager-gap {
  padding: 0 2px;
  font-size: 13px;
  color: var(--ink-3);
}
@media (max-width: 560px) {
  .list-pager {
    justify-content: flex-start;
  }
  .pager-btn {
    min-width: 30px;
    padding: 0 8px;
  }
}

/* 控制台首页 · 窄屏重排 */
@media (max-width: 1024px) {
  .stat-cards.home-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 419px) {
  .stat-cards.home-metrics {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 899px) {
  .home-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .home-balance {
    text-align: left;
  }
  .home-balance-hint {
    max-width: none;
  }
}
@media (max-width: 560px) {
  .home-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-order-row {
    flex-wrap: wrap;
  }
  .home-todo {
    flex-wrap: wrap;
  }
}
.console-main {
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(16px, 2.2vw, 32px) clamp(16px, 3vw, 36px) clamp(28px, 4vw, 48px);
}
.panel {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.panel-head h2 {
  font-size: 17px;
  font-weight: 700;
}
.panel-head p {
  font-size: 13px;
  color: var(--ink-3);
}
.panel-body {
  padding: 20px;
}
.stat-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.stat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  background: var(--canvas);
}
.stat-card span {
  display: block;
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.stat-card strong {
  font-size: 24px;
  font-weight: 800;
  font-family: var(--font-mono);
}
.stat-card small {
  font-size: 12px;
  color: var(--ink-3);
  margin-left: 4px;
}
.instance-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.instance-table th {
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--canvas-subtle);
}
.instance-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  vertical-align: middle;
}
.instance-table tbody tr:last-child td {
  border-bottom: 0;
}
.instance-name strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}
.instance-name span {
  font-size: 12px;
  color: var(--ink-3);
}
/* 实例概览：实例名称链接（沿用站点文本链接约定：蓝色 + 悬停/聚焦下划线） */
.instance-name a {
  color: var(--blue);
  text-decoration: none;
}
.instance-name a:hover strong,
.instance-name a:focus-visible strong {
  text-decoration: underline;
}
.instance-name a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}
.row-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.act-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--canvas);
}
.act-btn:hover:not(:disabled) {
  border-color: var(--ink-2);
}
.act-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.act-btn .icon {
  width: 15px;
  height: 15px;
}
.act-danger {
  color: var(--danger);
  border-color: #f3c8c5;
}
.act-danger:hover:not(:disabled) {
  background: var(--danger-soft);
}
.empty-state {
  text-align: center;
  padding: 44px 20px;
  color: var(--ink-3);
}
.empty-state .icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 12px;
  color: var(--line-strong);
}
.empty-state p {
  font-size: 14px;
  margin-bottom: 16px;
}
.table-scroll {
  overflow-x: auto;
}
.create-form {
  display: grid;
  gap: 18px;
}
.create-form .field label {
  font-size: 14px;
}
.plan-radio-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.plan-radio {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px;
  cursor: pointer;
  text-align: left;
  background: var(--canvas);
}
.plan-radio:hover {
  border-color: var(--line-strong);
}
.plan-radio input {
  position: absolute;
  opacity: 0;
}
.plan-radio.selected {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: var(--shadow-sm);
}
.plan-radio strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
}
.plan-radio span {
  display: block;
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 4px;
}
.plan-radio em {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  margin-top: 8px;
  display: block;
}
/* r238：创建实例「选择套餐」——系列分组 + 关键词搜索 + 紧凑滚动，
   39 款后台套餐不再整段平铺，默认只展开一个系列，便于快速定位 */
.plan-picker {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px;
  background: var(--canvas);
}
.plan-picker-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
.plan-series-tabs {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
.plan-series-tab {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.4;
  cursor: pointer;
}
.plan-series-tab em {
  font-style: normal;
  font-size: 11px;
  color: #909399;
}
.plan-series-tab:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}
.plan-series-tab.active {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
}
.plan-series-tab.active em {
  color: var(--brand);
}
.plan-search {
  flex: 0 0 240px;
  max-width: 100%;
}
.plan-search input {
  width: 100%;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
}
.plan-search input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 2px var(--brand-soft);
}
.plan-picker .plan-radio-group {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 8px;
  padding: 0;
}
.plan-picker .plan-radio {
  min-width: 0;
  padding: 10px 12px;
}
.plan-picker .plan-radio strong {
  font-size: 13px;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.plan-picker .plan-radio span {
  margin-top: 2px;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.plan-picker .plan-radio em {
  margin-top: 4px;
  font-size: 12px;
}
.plan-picker-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-2);
}
.plan-picker-meta #planPicked {
  color: var(--brand);
  font-weight: 600;
}
.plan-picker-empty {
  margin: 8px 0 0;
  padding: 14px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  color: var(--ink-2);
  font-size: 13px;
  text-align: center;
}
.form-row2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
/* 创建实例：带「随机生成」按钮的输入项（操作系统密码 / 远程端口） */
.field-with-action {
  display: flex;
  align-items: center;
  gap: 8px;
}
.field-with-action input {
  flex: 1 1 auto;
  min-width: 0;
}
.field-with-action .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 6px;
}
.order-summary {
  margin-top: 8px;
  background: var(--canvas-subtle);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--ink-2);
}
.order-summary b {
  color: var(--brand);
}
/* 创建中的状态 */
.pending-line {
  opacity: 0.85;
}
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--line);
  border-top-color: var(--blue);
  border-radius: 50%;
  display: inline-block;
  vertical-align: -3px;
  animation: yy-spin 0.8s linear infinite;
}
@keyframes yy-spin {
  to { transform: rotate(360deg); }
}

/* ---------- Toast ---------- */
#yy-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 200;
  display: grid;
  gap: 10px;
  width: min(520px, calc(100vw - 40px));
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.6;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: auto;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}
.toast .icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex: none;
}
.toast-success .icon { color: #6ce69f; }
.toast-error .icon { color: #ff9a94; }

/* ---------- View switch ---------- */
.view {
  display: none;
}
.view.active {
  display: block;
}

/* ============================================================
   响应式
   ============================================================ */
@media (min-width: 768px) {
  .section {
    padding: 96px 0;
  }
  .section-title {
    font-size: 36px;
  }
  .hero-title {
    font-size: 52px;
  }
  .hero-lead {
    font-size: 19px;
  }
  .container {
    padding-left: var(--gutter-d);
    padding-right: var(--gutter-d);
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 56px;
  }
  .hero {
    padding-top: 16px;
  }
}

@media (max-width: 1023px) {
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 0 64px;
  }
  .hero-logo {
    width: min(300px, 78%);
  }
  .proof-strip {
    grid-template-columns: 1fr;
  }
  .price-intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .footer-brandbox {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 24px;
  }
}

/* 逐级收敛：空间不足时先收起帮助入口，再收起控制台按钮，最后收紧字号间距 */
@media (max-width: 1439px) {
  .nav-quick {
    display: none;
  }
}

@media (max-width: 1259px) {
  .nav-actions .btn-secondary {
    display: none;
  }
}

@media (max-width: 1199px) {
  .nav-links > .nav-link,
  .nav-trigger {
    padding: 0 10px;
    font-size: 14px;
  }
  .nav-actions {
    gap: 6px;
  }
}

/* 平板竖屏及以下：一级导航收进抽屉，保留品牌与菜单入口 */
@media (max-width: 1099px) {
  .nav-links,
  .nav-actions .nav-quick,
  .nav-actions .nav-quick-lang,
  .nav-actions .nav-icon-btn,
  .nav-actions .nav-quick-phone,
  .nav-actions .btn-secondary,
  .nav-actions .btn-login,
  .nav-actions .btn-register {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .mobile-menu {
    display: none;
    border-top: 1px solid var(--line);
    background: var(--canvas);
    padding: 8px var(--gutter-m) 16px;
  }
  .mobile-menu.open {
    display: block;
  }
  .mobile-menu a {
    display: flex;
    align-items: center;
    min-height: 46px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-2);
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu a:last-child {
    border-bottom: 0;
  }
  .mobile-menu a[aria-current="page"] {
    color: var(--brand);
    font-weight: 600;
  }
  .mobile-menu details.mm-acc {
    border-bottom: 1px solid var(--line);
  }
  /* 抽屉里的板块标题：与桌面下拉工作台的板块分组一一对应 */
  .mobile-menu .mm-group-title {
    padding: 12px 2px 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--ink-3);
  }
  .mobile-menu .mm-group-title + a {
    border-top: 1px solid var(--line);
  }
  .mobile-menu summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-2);
    cursor: pointer;
    list-style: none;
  }
  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }
  .mobile-menu summary .mm-caret {
    width: 16px;
    height: 16px;
    transition: transform 0.18s ease;
  }
  .mobile-menu details[open] summary {
    color: var(--brand);
  }
  .mobile-menu details[open] summary .mm-caret {
    transform: rotate(180deg);
  }
  .mobile-menu details a {
    padding-left: 14px;
  }
  .mobile-menu details a:last-child {
    border-bottom: 0;
  }
  .mobile-menu .mm-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
  }
  .mobile-menu .mm-actions .btn {
    padding: 0 8px;
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .hero {
    padding-top: 8px;
  }
  .hero-inner {
    padding: 40px 0 56px;
  }
  .outcome-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .two-col {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .plan-featured {
    order: -1;
  }
  .mx-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .support-grid {
    grid-template-columns: 1fr;
  }
  .footer-promises {
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
  }
  .footer-cols {
    gap: 18px 32px;
  }
  .stat-cards {
    grid-template-columns: 1fr 1fr;
  }
  .plan-radio-group {
    grid-template-columns: 1fr;
  }
  .plan-picker {
    padding: 10px;
  }
  .plan-picker .plan-radio-group {
    grid-template-columns: 1fr;
  }
  .plan-picker .plan-radio {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 10px;
    padding: 9px 12px;
  }
  .plan-picker .plan-radio strong {
    flex: 1 1 100%;
  }
  .plan-picker .plan-radio span {
    flex: 1 1 auto;
    margin-top: 2px;
  }
  .plan-picker .plan-radio em {
    flex: 0 0 auto;
    margin-top: 2px;
  }
  .plan-series-tabs {
    flex: 1 1 100%;
  }
  .plan-search {
    flex: 1 1 100%;
  }
  .form-row2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .pf-grid,
  .profile-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .pf-label {
    width: 84px;
  }
  .stage {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .stage-num {
    font-size: 22px;
  }
  .cm-row, .instance-line {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .cm-row .status-pill {
    grid-column: 1;
  }
  .cm-row .cm-act {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: end;
  }
  .cm-monitor {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .cm-title {
    font-size: 12px;
  }
}

@media (max-width: 419px) {
  .hero-title {
    font-size: 34px;
  }
  .cta-panel {
    padding: 28px 22px;
  }
  .auth-card {
    padding: 28px 22px;
  }
  .stat-cards {
    grid-template-columns: 1fr;
  }
  .instance-table {
    min-width: 540px;
  }
  .plan-price {
    font-size: 30px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .toast {
    transition: none;
  }
}

/* ============================================================
   品牌标志：全站统一使用标志原图（SwiftIdc-logo-mark.png，930×241），
   宽高由后台 site_logo_width / site_logo_height 经 JS 注入
   --logo-w / --logo-h（默认 200px × 52px），object-fit: contain
   保证任意尺寸下完整显示、不裁切不拉伸。
   头部品牌标志再叠加 --logo-header-max-h 高度上限（默认 52px），
   即使后台把尺寸设得比页头还高，也只按比例缩放、完整落在 64px 页头内。
   ============================================================ */
.logo-crop {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: middle;
  flex: none;
  line-height: 0;
}
.logo-crop img {
  display: block;
  width: var(--logo-w, 200px);
  height: var(--logo-h, 52px);
  max-width: 100%;
  object-fit: contain;
}
/* 头部品牌标志：只放标志本身，完整显示不裁切 */
.brand-mark {
  display: inline-flex;
  align-items: center;
  flex: none;
  line-height: 0;
  max-width: min(240px, 62vw);
  --logo-header-max-h: 52px;
}
.brand .brand-mark img {
  display: block;
  width: var(--logo-w, 200px);
  height: var(--logo-h, 52px);
  max-width: 100%;
  max-height: var(--logo-header-max-h, 52px);
  object-fit: contain;
}
.hero .logo-crop {
  width: min(var(--logo-w, 200px), 72%);
  height: var(--logo-h, 52px);
  margin-bottom: 8px;
}
.hero .logo-crop img {
  width: 100%;
  height: 100%;
}
.auth-brand .logo-crop {
  width: min(var(--logo-w, 200px), 100%);
  height: var(--logo-h, 52px);
}
.auth-brand .logo-crop img {
  width: 100%;
  height: 100%;
}
@media (max-width: 991px) {
  .hero .logo-crop {
    width: min(var(--logo-w, 200px), 78%);
    height: var(--logo-h, 52px);
  }
}

/* 公告条（后台 site_header.announcement 控制） */
.announce-bar {
  position: relative;
  overflow: hidden;
  padding: 0;
  background:
    radial-gradient(900px 70px at 50% -30%, rgba(255, 255, 255, 0.30), transparent 72%),
    linear-gradient(90deg, #0c6c78 0%, #0e7c86 50%, #0e7684 100%);
  color: #fff;
  text-align: center;
  font-size: 13.5px;
  line-height: 1.5;
  border-bottom: 1px solid rgba(11,102,114), 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.20), 0 1px 0 rgba(17,36,39, 0.04);
}
.announce-bar::after {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -18%;
  width: 18%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: skewX(-18deg);
  animation: announceSheen 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes announceSheen {
  0%, 72% { left: -18%; }
  100% { left: 118%; }
}
.announce-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 9px 24px;
  text-align: center;
}
.announce-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.announce-icon {
  width: 14px;
  height: 14px;
}
.announce-text {
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.14);
}
@media (max-width: 767px) {
  .announce-inner {
    align-items: flex-start;
    padding: 8px 14px;
    gap: 7px;
    font-size: 12.5px;
    line-height: 1.6;
  }
  .announce-icon-wrap {
    width: 20px;
    height: 20px;
    margin-top: 2px;
  }
  .announce-icon {
    width: 13px;
    height: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .announce-bar::after {
    display: none;
  }
}
.announce-bar[hidden] {
  display: none;
}

/* ============================================================
   独立栏目页（价格方案/产品介绍/合作伙伴/服务支持）专用样式
   ============================================================ */
.section-page-head {
  background: linear-gradient(180deg, var(--canvas-subtle), var(--canvas));
  border-bottom: 1px solid var(--line);
  padding: 64px 0 56px;
}
.section-page-head .section-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-page-head .section-lead {
  max-width: 46em;
}
@media (max-width: 767px) {
  .section-page-head {
    padding: 44px 0 40px;
  }
  .section-page-head .section-title {
    font-size: 28px;
  }
}

/* ---------- E1（R14/r38）：栏目页统一 Banner 式页头（对齐首页 Banner） ---------- */
.page-banner {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-image:
    radial-gradient(circle at 84% 14%, rgba(14,124,134, .55) 0%, rgba(14,124,134, 0) 46%),
    radial-gradient(circle at 12% 96%, rgba(15,129,144), .32) 0%, rgba(15,129,144), 0) 44%),
    linear-gradient(120deg, #152729 0%, #184248 54%, #102123 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 62%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 62%);
  pointer-events: none;
}
.page-banner-inner {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  max-width: 1280px;
  margin: 0 auto;
  padding: 92px clamp(20px, 4vw, 40px) 88px;
}
.page-banner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 4px 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .14);
  color: #f2f7f7;
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.page-banner-title {
  margin: 0 0 16px;
  font-size: 52px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #fff;
}
.page-banner-lead {
  margin: 0;
  max-width: 46em;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .90);
}
.page-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.page-banner-actions .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}
.page-banner-actions .btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
  color: #fff;
}
@media (max-width: 767px) {
  .page-banner-inner { padding: 64px clamp(16px, 5vw, 24px) 56px; }
  .page-banner-title { font-size: 30px; }
  .page-banner-lead { font-size: 15px; }
}

/* ---------- E2（R14/r38）：域名注册弹窗（遮罩 + 卡片） ---------- */
.domain-register-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.domain-register-modal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(9,28,31, .55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.domain-register-modal-card {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 22px 24px 24px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(9,28,31, .28);
}
.domain-register-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--canvas);
  color: var(--ink-2);
  cursor: pointer;
}
.domain-register-modal-close:hover { color: var(--ink); border-color: var(--brand); }
.domain-register-modal .domain-register-wrap { margin-top: 0; }
.domain-register-modal .domain-register-card { border: 0; border-left: 3px solid var(--brand); }
html.domain-register-modal-open, html.domain-register-modal-open body { overflow: hidden; }
@media (max-width: 640px) {
  .domain-register-modal { padding: 0; align-items: flex-end; }
  .domain-register-modal-card { width: 100%; max-height: 88vh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
}

/* ============================================================
   控制台 财务信息 / 在线充值 工作台样式
   ============================================================ */
.panel-sub {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.panel-sub h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}
.panel-sub h3 .icon {
  width: 18px;
  height: 18px;
  color: var(--brand);
}

/* ---------- 会员中心 · 账户信息（三分区两列栅格，参照后台基础信息设置） ---------- */
.profile-sections {
  display: grid;
  gap: 18px;
}
.profile-section {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 20px 14px;
  background: var(--canvas);
}
.profile-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.profile-section-title .icon {
  width: 18px;
  height: 18px;
  color: var(--brand);
}
.pf-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 24px;
}
.pf-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-height: 36px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}
.pf-label {
  flex: none;
  width: 96px;
  text-align: right;
  font-size: 13px;
  color: var(--ink-3);
}
.pf-value {
  min-width: 0;
  font-size: 14px;
  color: var(--ink);
  word-break: break-word;
}

/* 修改会员资料 · 编辑表单（三分区两列栅格，标签在左） */
.profile-form-section {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px 18px 4px;
  background: var(--canvas);
}
.profile-form-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.profile-form-section-title .icon {
  width: 16px;
  height: 16px;
  color: var(--brand);
}
.profile-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}
.profile-form-grid .field {
  margin-bottom: 14px;
}
.profile-form-grid .field-full {
  grid-column: 1 / -1;
}
.req {
  color: var(--danger);
  margin-left: 2px;
}
.pf-readonly {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--ink-2);
  background: var(--canvas-subtle);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.input-prefix {
  position: relative;
}
.input-prefix .input-prefix-text {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--ink-2);
  pointer-events: none;
}
.input-prefix input {
  padding-left: 50px;
}

.recharge-form fieldset.field {
  border: 0;
  padding: 0;
  margin: 0 0 18px;
}
.recharge-form legend {
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}
.amount-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.amount-presets button {
  min-width: 64px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-2);
  background: var(--canvas);
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}
.amount-presets button:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.amount-presets button.selected {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-strong);
}
.amount-input {
  display: flex;
  align-items: stretch;
  max-width: 320px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--canvas);
  overflow: hidden;
}
.amount-input:focus-within {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: transparent;
}
.amount-input span {
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-3);
  border-right: 1px solid var(--line);
  background: var(--canvas-subtle);
}
.amount-input input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  padding: 10px 12px;
  font-size: 16px;
  font-family: var(--font-mono);
  background: var(--canvas);
}
.channel-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.channel-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  cursor: pointer;
  background: var(--canvas);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.channel-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.channel-card:hover {
  border-color: var(--brand);
}
.channel-card:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 1px var(--brand);
}
.channel-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  flex: none;
}
.logo-alipay {
  background: #0d7b86;
}
.logo-wechat {
  background: #07c160;
}
.logo-bank {
  background: var(--blue);
}
.channel-card strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.channel-card em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 2px;
}
.bank-hint {
  margin-top: 14px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--canvas-subtle);
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-2);
}
@media (max-width: 767px) {
  .channel-cards {
    grid-template-columns: 1fr;
  }
  .amount-input {
    max-width: none;
  }
}

/* ---------- 控制台财务信息 / 在线充值 ---------- */
.mono {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}
.text-inc {
  color: var(--success);
  font-weight: 600;
}
.text-dec {
  color: var(--danger);
  font-weight: 600;
}
.status-pending {
  color: var(--warning);
  background: var(--warning-soft);
}
.status-reviewing {
  color: var(--blue);
  background: var(--blue-soft);
}
.status-paid {
  color: var(--success);
  background: var(--success-soft);
}
.status-closed,
.status-failed {
  color: var(--ink-3);
  background: var(--canvas-soft);
}

/* 通道未启用 */
.channel-card.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.channel-card.disabled:hover {
  border-color: var(--line);
}
.channel-card.disabled:has(input:checked) {
  border-color: var(--line);
  background: var(--canvas);
  box-shadow: none;
}
.channel-card.disabled input {
  cursor: not-allowed;
}

/* 支付结果卡片 */
.pay-box {
  margin: 20px 0 4px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-md);
  background: var(--canvas-subtle);
  padding: 16px 18px;
}
.pay-box-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 10px;
}
.pay-box-head .icon {
  width: 16px;
  height: 16px;
}
.pay-box p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.75;
  margin-bottom: 12px;
}
.pay-box p:last-child {
  margin-bottom: 0;
}
.pay-box .form-actions {
  padding-top: 4px;
}
.pay-box .amount-input {
  margin: 10px 0 4px;
}
.pay-box .field-error {
  margin-bottom: 8px;
}

/* 银行转账信息 */
.txn-info {
  display: grid;
  gap: 6px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--canvas);
  padding: 12px 14px;
  margin-bottom: 12px;
  font-size: 13.5px;
  color: var(--ink-2);
  font-family: var(--font-mono);
}
.txn-info span {
  line-height: 1.6;
  word-break: break-all;
}

/* 二维码占位 */
.qr-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  min-height: 168px;
  max-width: 100%;
  margin: 4px 0 14px;
  padding: 14px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--canvas);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
  word-break: break-all;
}
/* ============================================================
   服务支持：在线客服与工单
   ============================================================ */
.support-center-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}
.support-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--canvas);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  min-width: 0;
}
.support-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.support-card-head h3 {
  font-size: 18px;
  line-height: 1.4;
}
.support-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}
.support-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  background: var(--canvas-subtle);
}
.support-item-main {
  min-width: 0;
}
.support-item-main strong {
  display: block;
  font-size: 14.5px;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.support-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 4px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.support-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}
.support-empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  padding: 28px 16px;
  color: var(--ink-2);
}
.support-empty .icon {
  width: 30px;
  height: 30px;
  color: var(--ink-3);
}
.support-empty h3 {
  font-size: 16px;
  color: var(--ink);
}
.support-empty p {
  font-size: 13.5px;
  max-width: 420px;
  line-height: 1.7;
}
.support-empty .cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.support-loading {
  font-size: 13.5px;
  color: var(--ink-3);
  padding: 12px 4px;
}
.support-muted {
  font-size: 13px;
  color: var(--ink-3);
  padding: 10px 2px;
  line-height: 1.7;
}
.support-error {
  font-size: 13.5px;
  color: var(--danger);
  padding: 12px 2px;
  line-height: 1.7;
}
.support-detail {
  display: grid;
  gap: 12px;
}
.support-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}
.support-detail-head strong {
  font-size: 14.5px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.support-msgs {
  display: grid;
  gap: 10px;
  max-height: 320px;
  overflow-y: auto;
  padding: 4px 2px;
}
.support-msg {
  display: grid;
  justify-items: start;
  gap: 4px;
  max-width: 88%;
}
.support-msg.mine {
  justify-self: end;
  justify-items: end;
}
.support-msg-bubble {
  border-radius: var(--radius-md);
  padding: 9px 12px;
  font-size: 14px;
  line-height: 1.6;
  word-break: break-word;
  white-space: pre-wrap;
  background: var(--canvas-soft);
  border: 1px solid var(--line);
}
.support-msg.mine .support-msg-bubble {
  background: var(--brand-soft);
  border-color: var(--brand-soft-line);
}
.support-msg-meta {
  font-size: 11.5px;
  color: var(--ink-3);
}
.support-send {
  display: flex;
  gap: 8px;
}
.support-send input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 14px;
  background: var(--canvas);
}
.support-send input:focus {
  outline: 2px solid var(--focus);
  outline-offset: 0;
  border-color: var(--focus);
}
.support-ticket-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ink-3);
  padding: 4px 0;
}
.support-ticket-content {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--canvas-subtle);
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}
.support-replies {
  display: grid;
  gap: 10px;
}
.support-ticket-reply {
  border-left: 3px solid var(--line-strong);
  padding: 2px 0 2px 12px;
}
.support-ticket-reply strong {
  display: inline-block;
  font-size: 13px;
  margin-right: 8px;
}
.support-ticket-reply p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 4px;
  white-space: pre-wrap;
  word-break: break-word;
}
.support-form {
  display: grid;
  gap: 12px;
}
.support-form h4 {
  font-size: 16px;
}
.support-field {
  display: grid;
  gap: 6px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.support-field input,
.support-field select,
.support-field textarea {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 14px;
  background: var(--canvas);
  resize: vertical;
}
.support-field input:focus,
.support-field select:focus,
.support-field textarea:focus {
  outline: 2px solid var(--focus);
  outline-offset: 0;
  border-color: var(--focus);
}
.support-form .form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .support-center-grid {
    grid-template-columns: 1fr;
  }
  .support-detail-head {
    flex-wrap: wrap;
  }
  .support-send {
    flex-wrap: wrap;
  }
  .support-send input {
    flex-basis: 100%;
  }
}

/* ---------- 会员中心 · 实名认证（支付宝身份验证） ---------- */
.realname-status-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.realname-status .pf-grid { margin-top: 4px; }
/* 实名认证已完成态（已验证用户隐藏提交区） */
.realname-done {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  margin: 18px 0 4px;
  border: 1px solid var(--success);
  border-radius: var(--radius-md);
  background: var(--success-soft);
}
.realname-done .icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  color: var(--success);
}
.realname-done h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--ink);
}
.realname-done p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-2);
}
/* 支付宝身份验证：待人脸核验态（提交后下发认证页地址） */
.realname-certify {
  padding: 18px 20px;
  margin: 18px 0 4px;
  border: 1px solid var(--brand-soft-line);
  border-radius: var(--radius-md);
  background: var(--brand-soft);
}
.realname-certify-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--brand-strong);
}
.realname-certify-title .icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--brand);
}
.realname-certify-lead {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-2);
}
.realname-certify-link {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.6;
  word-break: break-all;
}
/* 认证页地址改为不可点击文本：该地址只能在支付宝客户端内打开，PC 直接访问会报错 */
.realname-certify-link code {
  color: var(--ink-2);
  font-size: 12px;
  word-break: break-all;
}
.realname-certify .form-actions {
  margin: 0 0 10px;
}
/* 支付宝人脸核验二维码（PC 端主路径：用支付宝 App 扫码） */
.realname-qr {
  margin: 4px 0 12px;
  text-align: center;
}
.realname-qr img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  padding: 8px;
  border: 1px solid var(--brand-soft-line);
  border-radius: var(--radius-sm);
  background: #fff;
}
.realname-qr-hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--ink-3);
}
.realname-certify .footnote {
  display: block;
  margin: 0;
}
.realname-tabs { display: flex; gap: 8px; margin: 20px 0 14px; border-bottom: 1px solid var(--line); }
.rn-tab { appearance: none; border: 0; background: transparent; padding: 8px 14px; font-size: 14px; font-weight: 600; color: var(--ink-3); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.rn-tab:hover { color: var(--ink); }
.rn-tab.active { color: var(--brand); border-bottom-color: var(--brand); }
/* 证件上传控件（「上传认证文件」开启时显示） */
.field input[type="file"] {
  padding: 8px 10px;
  font-size: 14px;
  cursor: pointer;
}
.field input[type="file"]::file-selector-button {
  margin-right: 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--canvas-subtle);
  color: var(--ink);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.field input[type="file"]::file-selector-button:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
}

/* ---------- 全站悬浮在线客服 ---------- */
.chat-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.chat-fab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--canvas);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.chat-fab:hover { transform: translateY(-1px); border-color: var(--brand); }
.chat-fab:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
/* 客服图标：后台可上传替换（默认站点内置 media/chat-icon.png） */
.chat-fab-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.chat-fab-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.chat-fab .icon { width: 20px; height: 20px; }
.chat-fab-text { white-space: nowrap; }
/* 在线客服下方：返回顶部按钮，随页头悬浮组固定 */
.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: none;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--canvas);
  color: var(--ink-2);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease,
    color 0.15s ease, border-color 0.15s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.back-to-top:hover {
  color: var(--brand);
  border-color: var(--brand);
}
.back-to-top:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.back-to-top .icon {
  width: 17px;
  height: 17px;
  transform: rotate(180deg);
}
.chat-panel {
  position: absolute;
  right: 0;
  bottom: 110px;
  width: min(420px, calc(100vw - 32px));
  max-height: min(560px, calc(100vh - 140px));
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.chat-panel[hidden] { display: none; }
.chat-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--canvas-subtle);
}
.chat-panel-title { display: flex; align-items: center; gap: 10px; }
.chat-panel-title-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.chat-panel-title strong { font-size: 15px; color: var(--ink); }
.chat-panel-sub { font-size: 12px; color: var(--ink-3); }
.chat-panel-avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--canvas-soft);
  padding: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.chat-panel-avatar img { width: 100%; height: 100%; object-fit: contain; display: block; }
.chat-panel-close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
}
.chat-panel-close:hover { background: var(--canvas-soft); color: var(--ink); }
.chat-panel-close .icon { width: 18px; height: 18px; }
/* r198：客服浮窗右上角「工单提交」入口 */
.chat-panel-tools { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.chat-panel-ticket {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--canvas);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.chat-panel-ticket:hover { border-color: var(--brand); background: var(--brand-soft); }
.chat-panel-ticket:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.chat-body {
  flex: 1 1 auto;
  min-height: 180px;
  overflow-y: auto;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-loading, .chat-muted { margin: 0; font-size: 13px; color: var(--ink-3); }
.chat-intro h4 { margin: 0 0 6px; font-size: 14px; color: var(--ink); }
.chat-intro p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.chat-error {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--danger);
  border-radius: var(--radius-sm);
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 13px;
}
.chat-msg { display: flex; flex-direction: column; gap: 4px; max-width: 86%; }
.chat-msg.mine { align-self: flex-end; align-items: flex-end; }
.chat-msg.staff { align-self: flex-start; align-items: flex-start; }
.chat-msg-bubble {
  padding: 9px 12px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}
.chat-msg.mine .chat-msg-bubble { background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg.staff .chat-msg-bubble { background: var(--canvas-soft); color: var(--ink); border-bottom-left-radius: 4px; }
.chat-msg-meta { font-size: 11.5px; color: var(--ink-3); }
.chat-closed-note {
  margin-top: 4px;
  padding: 12px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--canvas-subtle);
  text-align: center;
}
.chat-closed-note p { margin: 0 0 10px; font-size: 13px; color: var(--ink-2); }
.chat-form {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  background: var(--canvas);
}
.chat-form input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--ink);
  background: var(--canvas);
}
.chat-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.chat-form input:disabled { background: var(--canvas-subtle); color: var(--ink-3); }
.chat-form .btn { flex: 0 0 auto; }
@media (max-width: 767px) {
  .chat-widget { right: 14px; bottom: 14px; gap: 8px; }
  .chat-fab { width: 52px; height: 52px; padding: 0; justify-content: center; border-radius: 50%; }
  .chat-fab-text { display: none; }
  .back-to-top { width: 40px; height: 40px; }
  .chat-panel {
    width: calc(100vw - 28px);
    max-height: calc(100vh - 180px);
    bottom: 110px;
  }
}

/* ---------- 首页 Banner（后台「展示网站 → 首页 Banner」管理） ---------- */
.home-banner { padding: 0; }
.banner-container {
  width: 100%;
  max-width: none;
  margin: 0;
  /* 去掉左右栅格留白：Banner 横向完全贴边铺满 */
  padding: 0;
}
.home-banner[hidden] { display: none; }
.banner-viewport {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: var(--canvas-subtle);
}
.banner-track { display: flex; transition: transform .45s ease; }
.banner-slide {
  position: relative;
  flex: 0 0 100%;
  /* T8：Banner 整幅高度 650px（参考 www.luguyun.com 首页 Banner），横向完全贴边 */
  min-height: 650px;
  display: flex;
  padding: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* T8：内容区最大宽度 1280px 居中；文案自顶部下移 170px，右侧视觉垂直居中 */
.banner-content-main {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 650px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 4vw, 40px);
}
/* 浅色科技风底：柔和径向光晕 + 浅色线性渐变 */
.banner-slide--grad {
  color: var(--ink);
  background-image:
    radial-gradient(circle at 86% 16%, rgba(14,124,134, .16) 0%, rgba(14,124,134, 0) 46%),
    radial-gradient(circle at 10% 94%, rgba(14,124,134, .10) 0%, rgba(14,124,134, 0) 44%),
    linear-gradient(120deg, #f9fbfb 0%, #e6f3f4 54%, #f4f8f9 100%);
}
.banner-slide--grad.g2 {
  background-image:
    radial-gradient(circle at 86% 16%, rgba(14,124,134, .17) 0%, rgba(14,124,134, 0) 46%),
    radial-gradient(circle at 10% 94%, rgba(14,124,134, .11) 0%, rgba(14,124,134, 0) 44%),
    linear-gradient(120deg, #f7fafa 0%, #e8f0f1 54%, #f1f6f7 100%);
}
.banner-slide--grad.g3 {
  background-image:
    radial-gradient(circle at 86% 16%, rgba(14,124,134, .19) 0%, rgba(14,124,134, 0) 46%),
    radial-gradient(circle at 10% 94%, rgba(6,131,148, .10) 0%, rgba(6,131,148, 0) 44%),
    linear-gradient(120deg, #fafcfc 0%, #f1f6f6 54%, #f5f9f9 100%);
}
/* 浅色底上的科技点阵纹理（左侧渐隐，不与文案争夺注意力） */
.banner-slide--grad::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(17,36,39, .05) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 60%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 60%);
  pointer-events: none;
}
/* T4：后台上传图片的 banner 不再压暗 —— 取消深色蒙版，保持广告图原始亮度；
   文案改用文字阴影，避免因取消蒙版而影响可读性 */
.banner-slide--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}
.banner-slide--photo .banner-slide-inner h2 {
  text-shadow: 0 2px 14px rgba(7,31,35, .55), 0 1px 3px rgba(7,31,35, .45);
}
.banner-slide--photo .banner-slide-inner p,
.banner-slide--photo .banner-tag {
  text-shadow: 0 1px 8px rgba(7,31,35, .55), 0 1px 2px rgba(7,31,35, .40);
}
.banner-slide-inner { position: relative; z-index: 2; align-self: flex-start; padding: 170px 0 0; max-width: 768px; }
.banner-slide-inner h2 {
  margin: 16px 0 14px;
  /* T8：参考站大标题 52px / 700 / #252b3a */
  font-size: 52px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #252b3a;
}
.banner-slide-inner p { margin: 0 0 26px; font-size: 18px; line-height: 1.7; color: var(--ink-2); max-width: 768px; }
/* 文案区小标签：无底色纯文字（沿用轮播文案字色） */
.banner-tag {
  display: inline-flex;
  align-items: center;
  padding: 0;
  background: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
/* 方形描边按钮：白底深色描边 */
/* T8：参考站描边按钮（白底 + 1px #252b3a 描边、2px 圆角、约 122×40） */
.banner-cta {
  min-height: 40px;
  min-width: 122px;
  padding: 0 18px;
  border: 1px solid #252b3a;
  border-radius: 2px;
  color: #252b3a;
  background: #fff;
  font-size: 15px;
  font-weight: 500;
}
.banner-cta:hover:not(:disabled) { background: var(--brand); color: #fff; border-color: var(--brand); }
.banner-cta:active:not(:disabled) { background: var(--brand-hover); color: #fff; border-color: var(--brand-hover); }
.banner-slide--photo .banner-slide-inner,
.banner-slide--photo .banner-slide-inner h2 { color: #fff; }
.banner-slide--photo .banner-slide-inner p { color: rgba(255, 255, 255, .92); }
.banner-slide--photo .banner-cta { background: var(--brand); color: #fff; border-color: var(--brand); }
.banner-slide--photo .banner-cta:hover:not(:disabled) { background: var(--brand-hover); border-color: var(--brand-hover); }
/* 右侧产品视觉图形（默认插画；后台上传图片时该槽位不渲染） */
.banner-visual {
  position: relative;
  z-index: 1;
  flex: 0 1 46%;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}
.banner-visual img {
  width: 100%;
  max-width: 560px;
  max-height: 320px;
  height: auto;
  object-fit: contain;
  /* T4：去掉 multiply 混合导致的压暗发灰，图片保持原始亮度 */
  mix-blend-mode: normal;
}
.banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.banner-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--line-strong);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.banner-dot:hover { background: var(--ink-3); }
.banner-dot.active { width: 24px; background: var(--brand); }
.banner-dot:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
/* Banner 下方：首页卖点条 —— 浅灰底 + 白卡片层次，悬停抬升、图标轻旋转、顶部品牌高光条 */
.banner-features { background: var(--canvas-subtle); }
.banner-feature-list {
  list-style: none;
  margin: 0 auto;
  max-width: var(--content);
  padding: 22px var(--gutter-m);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 16px;
}
.banner-feature-item { display: flex; min-width: 0; }
.banner-feature {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 15px 16px;
  overflow: hidden;
  border: 1px solid var(--canvas-soft);
  border-radius: 14px;
  background: var(--canvas);
  box-shadow: 0 1px 2px rgba(17,36,39, .04);
  color: inherit;
  text-decoration: none;
  transition:
    transform .34s cubic-bezier(.22, .72, .24, 1),
    box-shadow .34s ease,
    border-color .34s ease,
    background-color .34s ease;
}
/* 顶部品牌高光条：悬停 / 键盘聚焦时自左向右展开 */
.banner-feature::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--blue-2) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .38s cubic-bezier(.22, .72, .24, 1);
}
/* 悬停高光扫过 */
.banner-feature::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent 0%, rgba(14,124,134, .10) 50%, transparent 100%);
  transform: skewX(-12deg);
  opacity: 0;
  pointer-events: none;
}
.banner-feature:hover,
.banner-feature:focus-visible {
  transform: translateY(-4px);
  border-color: var(--brand-soft-line);
  box-shadow: 0 18px 34px rgba(17,36,39, .10);
}
.banner-feature:hover::before,
.banner-feature:focus-visible::before { transform: scaleX(1); }
.banner-feature:hover::after {
  opacity: 1;
  animation: bannerFeatureSheen .9s ease-out;
}
@keyframes bannerFeatureSheen {
  from { transform: translateX(0) skewX(-12deg); }
  to { transform: translateX(400%) skewX(-12deg); }
}
.banner-feature:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.banner-feature:hover .banner-feature-text strong,
.banner-feature:focus-visible .banner-feature-text strong { color: var(--brand-strong); }
.banner-feature-icon {
  flex: none;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(140deg, #f4f8f9 0%, var(--brand-soft) 100%);
  box-shadow: inset 0 0 0 1px rgba(14,124,134, .10);
  color: var(--brand);
  transition:
    transform .34s cubic-bezier(.22, .72, .24, 1),
    box-shadow .34s ease;
}
.banner-feature-icon .icon { width: 21px; height: 21px; }
.banner-feature:hover .banner-feature-icon,
.banner-feature:focus-visible .banner-feature-icon {
  transform: translateY(-2px) rotate(-6deg) scale(1.06);
  box-shadow: 0 10px 18px rgba(14,124,134, .18), inset 0 0 0 1px rgba(14,124,134, .16);
}
.banner-feature-text { display: flex; flex-direction: column; min-width: 0; }
.banner-feature-text strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  transition: color .24s ease;
}
/* 标题后的箭头：悬停时滑入 */
.banner-feature-text strong::after {
  content: "→";
  display: inline-block;
  margin-left: 6px;
  color: var(--brand);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .24s ease, transform .24s ease;
}
.banner-feature:hover .banner-feature-text strong::after,
.banner-feature:focus-visible .banner-feature-text strong::after {
  opacity: 1;
  transform: none;
}
.banner-feature-text span {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
  text-wrap: balance;
  transition: color .24s ease;
}
.banner-feature:hover .banner-feature-text span { color: var(--ink-2); }
/* 入场：图标随条目淡入上浮后轻微回弹（沿用全站 motion 脚本的 in-view 与错峰延迟） */
html.motion-ready .banner-feature-item[data-motion] .banner-feature-icon {
  opacity: 0;
  transform: scale(.72) rotate(-12deg);
  transition:
    opacity .5s ease,
    transform .5s cubic-bezier(.22, .72, .24, 1);
  transition-delay: calc(var(--motion-delay, 0ms) + 90ms);
}
html.motion-ready .banner-feature-item[data-motion].in-view .banner-feature-icon {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .banner-feature,
  .banner-feature-icon,
  .banner-feature-text strong,
  .banner-feature-text strong::after,
  .banner-feature-text span,
  .banner-feature::before { transition: none !important; }
  .banner-feature:hover,
  .banner-feature:focus-visible,
  .banner-feature:hover .banner-feature-icon,
  .banner-feature:focus-visible .banner-feature-icon { transform: none !important; }
  .banner-feature::after,
  .banner-feature:hover::after { animation: none !important; opacity: 0 !important; }
  html.motion-ready .banner-feature-item[data-motion] .banner-feature-icon {
    opacity: 1 !important;
    transform: none !important;
  }
}
/* 卖点条卡片：1200px 以下收为两列，避免四列时文字挤成多行 */
@media (max-width: 1199px) {
  .banner-feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .banner-slide, .banner-content-main { min-height: 650px; }
  .banner-slide-inner { padding-top: 120px; }
  .banner-slide-inner h2 { font-size: 36px; }
  .banner-visual { flex: 0 1 42%; }
  .banner-visual img { max-height: 250px; }
  .banner-feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .banner-slide, .banner-content-main { min-height: 650px; }
  .banner-content-main { display: block; padding: 0 20px; }
  .banner-slide-inner { align-self: auto; padding: 84px 0 0; max-width: none; }
  .banner-slide-inner h2 { font-size: 30px; }
  .banner-slide-inner p { font-size: 15px; margin-bottom: 20px; }
  .banner-tag { font-size: 14px; }
  .banner-slide--grad::after { background-size: 18px 18px; -webkit-mask-image: none; mask-image: none; }
  .banner-visual { justify-content: flex-start; margin-top: 22px; }
  .banner-visual img { max-height: 190px; }
  .banner-dots { bottom: 20px; }
  .banner-feature-list { grid-template-columns: 1fr; padding: 16px var(--gutter-m) 16px; gap: 10px; }
}

/* ---------- 域名注册：域名查询表单（R30 T4 新增） ---------- */
.domain-search { margin-top: 28px; padding: 22px; background: var(--canvas-subtle); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.domain-search-form { display: flex; flex-wrap: wrap; gap: 12px; }
.domain-search-input { flex: 1 1 320px; min-width: 0; height: 46px; padding: 0 16px; font-size: 16px; color: var(--ink); background: var(--canvas); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); }
.domain-search-input:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.domain-search-btn { height: 46px; padding: 0 26px; }
.domain-tld-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tld-chip { padding: 6px 14px; font-size: 14px; color: var(--ink-2); background: var(--canvas); border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer; transition: color .15s ease, background .15s ease, border-color .15s ease; }
.tld-chip:hover { color: var(--brand); border-color: var(--brand); }
.tld-chip.active { color: #fff; background: var(--blue); border-color: var(--blue); }
/* ---------- 首页首屏右侧「域名注册板块」（R37 新增；文案由后台首页内容下发） ---------- */
.domain-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 0;
}
.dp-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.dp-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--brand); }
.dp-title { font-size: 19px; line-height: 1.35; font-weight: 700; }
.dp-lead { font-size: 13.5px; line-height: 1.7; color: var(--ink-2); }
.domain-panel .domain-search-form { margin-top: 2px; }
.domain-panel .domain-search-input { flex: 1 1 180px; height: 42px; font-size: 15px; padding: 0 14px; }
.domain-panel .domain-search-btn { height: 42px; padding: 0 20px; }
.domain-panel .domain-tld-chips { margin-top: 10px; gap: 6px; }
.domain-panel .tld-chip { padding: 5px 12px; font-size: 13px; }
.domain-panel .domain-search-note { margin-top: 0; font-size: 12px; }
.domain-panel .domain-search-results { margin-top: 0; }
.dp-note { font-size: 11.5px; line-height: 1.6; color: var(--ink-3); }
.dp-foot { display: flex; flex-wrap: wrap; gap: 8px 16px; padding-top: 10px; border-top: 1px solid var(--line); }
.dp-link { font-size: 13px; font-weight: 600; color: var(--blue); }
.dp-link:hover { text-decoration: underline; }
@media (max-width: 767px) {
  .domain-panel { padding: 16px; }
  .domain-panel .domain-search-form { flex-direction: column; }
  .domain-panel .domain-search-btn { width: 100%; }
  .domain-panel .domain-register-btn { margin-left: 0; }
}
.domain-search-note { margin-top: 14px; font-size: 13px; line-height: 1.6; color: var(--ink-3); }
.domain-search-results { margin-top: 16px; }
.domain-result-list { margin: 0; padding: 0; list-style: none; background: var(--canvas); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.domain-result { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.domain-result:last-child { border-bottom: 0; }
.domain-result strong { font-size: 16px; color: var(--ink); }
.domain-result-status { padding: 2px 10px; font-size: 12px; color: var(--brand-strong); background: var(--brand-soft); border: 1px solid var(--brand-soft-line); border-radius: 999px; }
.domain-result-note { flex: 1 1 100%; font-size: 13px; line-height: 1.6; color: var(--ink-3); }
@media (max-width: 767px) {
  .domain-search { padding: 16px; }
  .domain-search-form { flex-direction: column; }
  .domain-search-btn { width: 100%; }
}

/* ---------- 域名注册：查询结果状态（R30 T5 新增） ---------- */
.domain-result.is-taken .domain-result-status { color: var(--ink-2); background: var(--canvas-subtle); border-color: var(--line-strong); }
.domain-result-price { font-size: 14px; color: var(--ink); }
.domain-search-empty { margin: 0; padding: 14px 18px; font-size: 14px; color: var(--ink-3); background: var(--canvas); border: 1px solid var(--line); border-radius: var(--radius-md); }
@media (max-width: 767px) {
  .domain-result-price { flex: 1 1 100%; }
}
/* =========================================================================
   T4（2026-10-27）：展示站前台新增控件样式
   货币选择器 / 会员折扣订单行 / 我的域名业务 / 工单评分 / 域名注册表单
   ========================================================================= */

/* ---------- 控制台顶部 · 结算货币选择（后台「财务管理 → 货币配置」下发） ---------- */
.currency-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 12px;
  background: var(--canvas);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.currency-switcher-label { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.currency-switcher select {
  border: 0;
  background: transparent;
  font-size: 13px;
  color: var(--ink);
  padding: 4px 2px;
  cursor: pointer;
  max-width: 168px;
}
.currency-switcher select:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-radius: 4px; }

/* ---------- 订单摘要 · 会员折扣行 ---------- */
.order-summary .order-discount {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  font-size: 12px;
  color: var(--brand-strong);
  background: var(--brand-soft);
  border: 1px solid var(--brand-soft-line);
  border-radius: 999px;
}

/* ---------- 域名注册页 · 查询结果中的「立即注册」与注册表单 ---------- */
.domain-register-btn { margin-left: auto; }
.domain-register-wrap { margin-top: 14px; }
.domain-register-card {
  padding: 18px 20px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-md);
}
.domain-register-card.is-warn { border-left-color: var(--warn, #0c6f7c); }
.domain-register-card h4 { margin: 0 0 12px; font-size: 16px; color: var(--ink); }
.domain-register-card p { margin: 0 0 8px; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
/* r71：注册结果卡内的「注册费用」订单块（订单号 / 金额 / 支付入口） */
.domain-register-order {
  margin: 10px 0 6px;
  padding: 12px 14px;
  border: 1px dashed var(--line);
  border-radius: 8px;
}
.domain-register-order h5 { margin: 0 0 8px; font-size: 14px; color: var(--ink); }
.domain-register-order p { margin: 0 0 8px; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.domain-register-order .cta-actions { margin-top: 4px; }
.domain-register-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px 16px;
  margin: 12px 0 4px;
}
.domain-register-dns {
  margin: 10px 0 0;
  padding: 8px 12px;
  border: 1px dashed var(--line);
  border-radius: 8px;
}

/* ---------- 控制台 · 我的域名业务 ---------- */
.my-domain-business { margin-top: 16px; }
.my-domain-list {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.my-domain-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.my-domain-row:last-child { border-bottom: 0; }
.my-domain-main { flex: 1 1 220px; min-width: 0; }
.my-domain-main strong { display: block; font-size: 15px; color: var(--ink); }
.my-domain-main .support-meta { display: block; margin-top: 2px; }
.my-domain-price { font-size: 14px; color: var(--ink); white-space: nowrap; }
.my-domain-ops { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.my-domain-op {
  height: 34px;
  max-width: 220px;
  padding: 0 10px;
  font-size: 13px;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
}
.my-domain-param {
  height: 34px;
  width: 168px;
  padding: 0 10px;
  font-size: 13px;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
}
.my-domain-op:focus, .my-domain-param:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.my-domain-result { margin-top: 14px; }
.domain-manage-result {
  padding: 14px 18px;
  font-size: 14px;
  color: var(--ink-2);
  background: var(--canvas-subtle);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-md);
}
.domain-manage-result.is-warn { border-left-color: var(--warn, #0c6f7c); }
.domain-manage-result strong { display: block; margin-bottom: 6px; color: var(--ink); }
.domain-manage-result p { margin: 0 0 6px; line-height: 1.7; }
/* 同步受限提示：白名单锁定的身份字段与「新建模板」替代路径 */
.my-domain-warn { color: var(--warn, #0c6f7c); }
.my-domain-hint {
  margin: 8px 0 4px;
  padding: 10px 12px;
  background: var(--canvas);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
}
.my-domain-hint p { margin: 0 0 6px; font-size: 13px; line-height: 1.7; }
.my-domain-hint-ops { display: flex; flex-wrap: wrap; gap: 8px; }
.my-domain-hint-ops .btn { margin: 0; }

/* ---------- 控制台「我的域名」· 域名模板管理 ---------- */
.panel-sub-domain-template { margin-top: 28px; }
.panel-sub-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 18px;
  margin-bottom: 12px;
}
.panel-sub-head h3 { margin-bottom: 6px; }
.panel-sub-head p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--ink-3); max-width: 720px; }
.panel-sub-head .btn { flex: 0 0 auto; }
.domain-template-cert {
  margin: 14px 0 0;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
  background: var(--canvas-subtle);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
}
.domain-template-cert input[type="file"] { font-size: 13px; }
.domain-template-cert-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 0;
}
.domain-template-cert-group .domain-template-cert { margin: 0; }
.domain-template-cert-title {
  font-weight: 600;
  color: var(--ink-1);
}
.domain-register-grid input.is-locked,
.domain-register-grid input.is-locked:focus {
  background: var(--canvas-subtle);
  color: var(--ink-2);
  cursor: not-allowed;
}

/* ---------- 工单完成后 · 客户评分 ---------- */
.ticket-rating {
  margin-top: 18px;
  padding: 16px 18px;
  background: var(--canvas-subtle);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.ticket-rating h4 { margin: 0 0 6px; font-size: 15px; color: var(--ink); }
.ticket-rating .support-muted { margin: 0 0 10px; font-size: 13px; }
.ticket-stars { display: flex; align-items: center; gap: 6px; }
.ticket-star {
  width: 34px;
  height: 34px;
  padding: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--line-strong);
  background: var(--canvas);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.ticket-star:hover, .ticket-star.is-on { color: #f59e0b; border-color: #f59e0b; background: #f3f7f7; }
.ticket-rate-note { margin-left: 8px; font-size: 13px; color: var(--ink-2); }
.ticket-rating-comment {
  width: 100%;
  margin-top: 10px;
  min-height: 70px;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  resize: vertical;
}
.ticket-rating-comment:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.ticket-rating-actions { margin-top: 10px; display: flex; gap: 10px; align-items: center; }
.ticket-rated { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.ticket-rated .ticket-stars-static { color: #f59e0b; font-size: 18px; letter-spacing: 2px; }

@media (max-width: 767px) {
  .my-domain-param { width: 100%; }
  .my-domain-op { max-width: none; width: 100%; }
  .domain-register-btn { margin-left: 0; }
}

/* ============================================================
   控制台 · 多端自适应（全屏壳层 顶栏 / 侧栏 / 主区）
   ============================================================ */

/* 超大屏：加宽侧栏，主区继续铺满 */
@media (min-width: 1440px) {
  .console-body {
    grid-template-columns: 288px minmax(0, 1fr);
  }
}

/* 平板：收窄侧栏 */
@media (max-width: 1024px) {
  .console-body {
    grid-template-columns: 232px minmax(0, 1fr);
  }
}

/* 窄屏 / 手机：侧栏转为顶部横向导航，主区占满剩余高度 */
@media (max-width: 899px) {
  .console-body {
    display: flex;
    flex-direction: column;
  }
  .console-side {
    flex: none;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    overflow: visible;
  }
  .side-user {
    display: none;
  }
  .side-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px clamp(16px, 3vw, 24px);
    overflow-x: auto;
    overflow-y: hidden;
    flex: none;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  .side-nav button {
    flex: none;
    width: auto;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line);
    background: var(--canvas);
  }
  .side-nav button.active {
    border-color: var(--brand-soft-line);
  }
  /* r188：横向 pill 导航下取消分组，分组标题隐藏，保证单行滚动 */
  .side-nav-group {
    display: contents;
  }
  .side-nav-title {
    display: none;
  }
  .side-nav a.side-nav-link {
    flex: none;
    width: auto;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line);
    background: var(--canvas);
  }
  .console-main {
    flex: 1 1 auto;
    min-height: 0;
  }
}

/* 小屏手机：压缩顶栏，主区与卡片内边距收紧 */
@media (max-width: 560px) {
  .console-top-brand img {
    height: 38px;
  }
  .console-top-sub {
    display: none;
  }
  .console-logout-text {
    display: none;
  }
  .console-logout {
    width: 40px;
    min-height: 40px;
    padding: 0;
  }
  .console-main {
    padding-left: 16px;
    padding-right: 16px;
  }
  .panel-head,
  .panel-body {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ============================================================
   创建实例 · 操作系统卡片选择器（r95，按设计稿还原）
   数据同源后台 GET /site/cloud/images；选中值写回隐藏 #instImage
   ============================================================ */
.os-field {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.os-legend {
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.os-picker,
.os-versions {
  --os-accent: #0e7c86;
  --os-accent-soft: #e6f3f4;
}
.os-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.os-loading {
  grid-column: 1 / -1;
  margin: 4px 0;
  font-size: 13px;
  color: var(--ink-3);
}
.os-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--canvas);
  text-align: left;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.os-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.os-card:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.os-card.selected {
  border-color: var(--os-accent);
  box-shadow: 0 0 0 1px var(--os-accent);
  background: var(--canvas);
}
.os-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
}
.os-logo svg {
  display: block;
  width: 100%;
  height: 100%;
}
.os-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.os-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.os-sub {
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--ink-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.os-card.selected .os-sub {
  color: var(--os-accent);
}
.os-versions {
  position: fixed;
  z-index: 80;
  display: grid;
  gap: 6px;
  min-width: 200px;
  max-width: 320px;
  max-height: 340px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--canvas);
  box-shadow: var(--shadow-md);
}
.os-version {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--canvas);
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}
.os-version:hover,
.os-version.selected {
  border-color: var(--os-accent);
  color: var(--os-accent);
  background: var(--os-accent-soft);
}
.os-version.selected {
  font-weight: 600;
}
.os-disk-hint {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-3);
}
@media (max-width: 900px) {
  .os-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .os-picker {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   创建实例 · 计算节点卡片选择器（r96，按设计稿还原）
   数据同源后台 GET /site/cloud/nodes；选中值写回隐藏 #instNode
   ============================================================ */
.node-field {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.node-legend {
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.node-picker {
  --node-accent: #0e7c86;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.node-loading {
  margin: 4px 0;
  font-size: 13px;
  color: var(--ink-3);
}
.node-card {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--canvas);
  font: inherit;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.node-card:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}
.node-card:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.node-card.selected {
  border-color: var(--node-accent);
  color: var(--node-accent);
  font-weight: 600;
}
.node-card.selected:hover {
  border-color: var(--node-accent);
  color: var(--node-accent);
}
.node-hint {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-3);
}
.node-plan-note {
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-3);
}
@media (max-width: 520px) {
  .node-picker {
    gap: 8px;
  }
  .node-card {
    font-size: 14px;
    padding: 9px 10px;
  }
}

/* ============================================================
   首屏 Hero 左侧「云服务器产品卡片」(r105)
   文案由后台「展示网站 → 首页内容 → 首屏 Hero → 云服务器产品卡片」维护；
   缺省值内置在 assets/app.js 的 heroCardHtml()，后台未配置时前台仍可展示。
   ============================================================ */
.hero-card {
  max-width: 620px;
}
.hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
/* r107：上标「政企(Base) · A型」按版面放大（14px → 18px），圆点同步放大以保持比例 */
.hero-card-head .eyebrow {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0.01em;
}
.hero-card-head .eyebrow::before {
  width: 9px;
  height: 9px;
}
/* r187：首屏卡片上标/套餐名（原借用 .eyebrow 样式，现独立类名，避免与其他上标题样式耦合） */
.hero-card-head .hero-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--brand);
}
.hero-card-head .hero-card-badge::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
}
.hero-card-head .logo-crop {
  width: min(var(--logo-w, 200px), 46%);
  height: auto;
  margin-bottom: 0;
}
.hero-card-head .logo-crop img {
  width: 100%;
  height: auto;
}
.hero-card-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 20px;
}
.hc-price-amount {
  font-size: 46px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  /* r108：价格数字改用品牌橙，与版面按钮 / 提示文字同一主色 */
  color: var(--brand);
}
.hc-price-unit {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-2);
}
/* r108：产品标题「CN2国际线路」按版面收缩（桌面 34→29px，基础 30→26px，移动 26→22px） */
.hero-card-title {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 6px 0 18px;
}
.hero-card-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
.hc-spec {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}
.hc-spec-full {
  grid-column: 1 / -1;
}
.hc-spec-k {
  color: var(--ink-3);
}
.hc-spec-v {
  color: var(--ink);
}
.hero-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.hc-cta-note {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
}
.hero-card .hero-next {
  margin-top: 32px;
}
@media (min-width: 1024px) {
  .hc-price-amount {
    font-size: 52px;
  }
  .hero-card-title {
    font-size: 29px;
  }
}
@media (max-width: 640px) {
  .hero-card-specs {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  .hc-price-amount {
    font-size: 38px;
  }
  .hero-card-title {
    font-size: 22px;
  }
  .hero-card-head .logo-crop {
    width: min(var(--logo-w, 200px), 60%);
  }
}

/* ---------- 首页「域名注册」查询结果弹层（点「立即查询」后浮层展示结果） ---------- */
.domain-results-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.domain-results-modal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(9,28,31, .55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.domain-results-modal-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  padding: 22px 24px 20px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(9,28,31, .28);
}
.domain-results-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--canvas);
  color: var(--ink-2);
  cursor: pointer;
}
.domain-results-modal-close:hover { color: var(--ink); border-color: var(--brand); }
.domain-results-modal-head { padding-right: 44px; }
.domain-results-modal-head .dp-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--brand);
}
.domain-results-modal-head h4 { margin: 6px 0 4px; font-size: 18px; word-break: break-all; }
.domain-results-modal-body {
  margin-top: 12px;
  min-height: 0;
  overflow-y: auto;
}
.domain-results-modal-body .domain-search-empty { margin: 4px 0 0; }
.domain-results-modal-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
html.domain-results-modal-open, html.domain-results-modal-open body { overflow: hidden; }
@media (max-width: 640px) {
  .domain-results-modal { padding: 0; align-items: flex-end; }
  .domain-results-modal-card { width: 100%; max-height: 88vh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
}


/* ---------- 登录卡：登录方式切换（密码登录 / 手机验证码登录） ---------- */
.auth-tabs {
  display: flex;
  gap: 6px;
  margin: 2px 0 16px;
  padding: 4px;
  background: var(--canvas-soft);
  border-radius: var(--radius-md);
}
.auth-tabs .auth-tab {
  flex: 1 1 0;
  padding: 8px 10px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.auth-tabs .auth-tab.active {
  background: var(--canvas);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.auth-tabs .auth-tab:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* ---------- 法律条款页（用户协议 / 隐私政策） ---------- */
.legal-doc {
  max-width: 900px;
  margin: 0 auto;
  padding: 36px 40px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.95;
  word-break: break-word;
}
.legal-doc h2 {
  margin: 30px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--brand, #0e7c86);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.5;
}
.legal-doc h2:first-child {
  margin-top: 0;
}
.legal-doc h3 {
  margin: 20px 0 8px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}
.legal-doc p {
  margin: 0 0 14px;
}
.legal-doc ul {
  margin: 0 0 14px;
  padding-left: 22px;
}
.legal-doc li {
  margin: 0 0 6px;
}
@media (max-width: 640px) {
  .legal-doc {
    padding: 22px 18px;
    font-size: 14px;
    line-height: 1.85;
  }
}

/* ---------- 滑块验证（登录页防恶意注册 / 防短信轰炸） ---------- */
.sv {
  margin-top: 6px;
}
.sv-stage {
  position: relative;
  width: 280px;
  max-width: 100%;
  height: 140px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--canvas-soft);
  user-select: none;
}
.sv-bg {
  display: block;
  width: 100%;
  height: 100%;
}
.sv-piece {
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(17,36,39, 0.28));
}
.sv-track {
  position: relative;
  width: 280px;
  max-width: 100%;
  height: 40px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--canvas-soft);
  overflow: hidden;
  touch-action: none;
}
.sv-track:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}
.sv-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 40px;
  background: var(--brand-soft);
  border-right: 1px solid var(--brand-soft-line);
}
.sv-handle {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1;
  cursor: grab;
  box-shadow: 0 1px 3px rgba(17,36,39, 0.18);
  touch-action: none;
  user-select: none;
}
.sv-handle:active {
  cursor: grabbing;
}
.sv-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-3);
}
.sv-status.sv-ok {
  color: var(--success);
}
.sv-status.sv-error {
  color: var(--danger);
}
.sv-refresh {
  flex: 0 0 auto;
  padding: 2px 4px;
  border: none;
  background: none;
  color: var(--brand);
  font-size: 12px;
  cursor: pointer;
}
.sv-refresh:hover {
  color: var(--brand-hover);
  text-decoration: underline;
}
@media (max-width: 640px) {
  .sv-stage {
    height: 120px;
  }
}

/* ============================================================
   r152：实例概览「续费」列 + 实例运维弹窗（续费 / 重装系统）
   ============================================================ */
/* 仅「实例概览」表随新增列加宽：余额流水 / 充值订单 / 云服务器订单共用
   .instance-table 类，保持其原有最小宽度不变，避免影响其他表格版面。 */
[data-panel-content="overview"] .instance-table {
  min-width: 760px;
}
.renew-cell-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  white-space: nowrap;
}
.renew-expire {
  font-size: 12.5px;
  color: var(--ink-3);
}
.act-renew {
  color: var(--brand);
  border-color: var(--brand-soft-line);
}
.act-renew:hover:not(:disabled) {
  background: var(--brand-soft);
  border-color: var(--brand);
}
.op-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.op-modal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(9,28,31, .55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.op-modal-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(520px, 100%);
  max-height: calc(100vh - 48px);
  padding: 22px 24px 20px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(9,28,31, .28);
  outline: none;
}
/* 合同查看 / 签署弹窗：正文较长，使用更宽的卡片（r244） */
.op-modal-wide .op-modal-card {
  width: min(900px, 100%);
}

.op-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--canvas);
  color: var(--ink-2);
  cursor: pointer;
}
.op-modal-close:hover {
  color: var(--ink);
  border-color: var(--brand);
}
.op-modal-head {
  padding-right: 44px;
}
.op-modal-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--brand);
}
.op-modal-head h4 {
  margin: 6px 0 4px;
  font-size: 18px;
}
.op-modal-head .footnote {
  margin: 0;
}
.op-modal-body {
  margin-top: 14px;
  min-height: 0;
  overflow-y: auto;
}
.op-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.op-k {
  color: var(--ink-3);
  flex: 0 0 auto;
}
.op-v {
  color: var(--ink);
  font-weight: 600;
  text-align: right;
  word-break: break-all;
}
.op-field {
  margin-top: 14px;
}
.op-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.op-field select,
.op-field input {
  width: 100%;
  min-height: 38px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink);
  background: var(--canvas);
}
.op-warn {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 13px;
  line-height: 1.55;
}
.op-warn .icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 2px;
}
.op-error {
  margin: 12px 0 0;
  color: var(--danger);
  font-size: 13px;
}
.op-modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
html.op-modal-open,
html.op-modal-open body {
  overflow: hidden;
}
@media (max-width: 640px) {
  .op-modal {
    padding: 0;
    align-items: flex-end;
  }
  .op-modal-card {
    width: 100%;
    max-height: 88vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .op-modal-wide .op-modal-card {
    width: 100%;
  }
  [data-panel-content="overview"] .instance-table {
    min-width: 660px;
  }
}

/* ---------- 首页收尾 · 基础设施与安全（r180） ---------- */
.infra-section {
  position: relative;
  overflow: hidden;
  padding: 84px 0 76px;
  background: #ffffff;
  border-top: 0;
}
.infra-section .container {
  position: relative;
  z-index: 1;
}
.infra-head {
  max-width: none;
  margin: 0 0 46px;
  text-align: left;
}
.infra-head .eyebrow {
  justify-content: center;
  color: var(--blue);
  letter-spacing: 0.08em;
}
.infra-head .section-title {
  margin-top: 10px;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.infra-head .section-lead {
  max-width: 860px;
  margin: 14px 0 0;
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.8;
}
.infra-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: 54px;
}
.infra-metrics {
  display: grid;
  gap: 32px;
}
.infra-metric {
  position: relative;
  padding-left: 18px;
}
.infra-metric::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  bottom: 7px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--blue), rgba(14,124,134, 0.08));
}
.infra-metric-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--blue);
  font-weight: 400;
}
.infra-metric-line strong {
  font-family: "DIN Alternate", "Bahnschrift", "Segoe UI", var(--font-sans);
  font-size: clamp(38px, 4vw, 50px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 700;
}
.infra-metric-line > span {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
}
.infra-metric-line em {
  margin-left: 2px;
  font-size: clamp(16px, 1.5vw, 19px);
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.infra-metric p {
  max-width: 320px;
  margin-top: 9px;
  color: var(--ink-3);
  font-size: 13.5px;
  line-height: 1.7;
}
.infra-map {
  position: relative;
  margin: 0;
  min-width: 0;
}
.infra-map > img {
  width: 100%;
  height: auto;
  user-select: none;
}
.infra-map figcaption {
  position: absolute;
  right: 4px;
  bottom: 2px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(228, 231, 236, 0.9);
  color: var(--ink-3);
  font-size: 11.5px;
  line-height: 1.5;
  backdrop-filter: blur(4px);
}
.infra-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.infra-pin > i {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: 50%;
  background: #0e7c86;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(14,124,134, 0.38);
}
.infra-pin > i::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid rgba(14,124,134, 0.42);
  animation: infraPulse 2.8s ease-out infinite;
}
.infra-pin > span {
  position: absolute;
  left: 19px;
  top: 50%;
  /* --dy：后台「节点标注」的标签上下偏移（px），节点密集时用于把文字错开 */
  transform: translateY(calc(-50% + var(--dy, 0px)));
  white-space: nowrap;
  padding: 4px 9px;
  border: 1px solid #d2e1e3;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 12px rgba(17,36,39, 0.08);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.infra-pin-ah > span {
  left: auto;
  right: 19px;
}
/* 后台节点标注可选「标签在左」，与旧的 ah 样式同一效果 */
.infra-pin-left > span {
  left: auto;
  right: 19px;
}
@keyframes infraPulse {
  0% { transform: scale(0.72); opacity: 0.9; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
.infra-assurance {
  margin-top: 52px;
  padding: 26px 30px 24px;
  border: 1px solid rgba(228, 231, 236, 0.95);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(17,36,39, 0.055);
  backdrop-filter: blur(6px);
}
.infra-assurance-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.infra-assurance-head strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.infra-assurance-head p {
  color: var(--ink-3);
  font-size: 12.5px;
  line-height: 1.6;
}
.infra-badges {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.infra-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 4px 14px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.infra-badge:first-child {
  border-left: 0;
}
.infra-badge-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 2px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  border: 1px solid #b9dde0;
}
.infra-badge-icon .icon {
  width: 19px;
  height: 19px;
}
.infra-badge strong {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink-2);
}
.infra-badge > span:last-child {
  color: var(--ink-3);
  font-size: 11.5px;
  line-height: 1.55;
}
.infra-note {
  margin-top: 18px;
  text-align: center;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.7;
}
@media (max-width: 1080px) {
  .infra-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .infra-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
  .infra-map {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
  }
  .infra-badges {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 22px;
  }
  .infra-badge:nth-child(3n + 1) {
    border-left: 0;
  }
}
@media (max-width: 720px) {
  .infra-section {
    padding: 60px 0 52px;
  }
  .infra-head {
    margin-bottom: 32px;
    text-align: left;
  }
  .infra-head .eyebrow {
    justify-content: flex-start;
  }
  .infra-head .section-lead {
    margin-left: 0;
    margin-right: 0;
  }
  .infra-metrics {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .infra-metric p {
    max-width: none;
  }
  .infra-assurance {
    margin-top: 34px;
    padding: 22px 20px;
  }
  .infra-assurance-head {
    display: block;
    margin-bottom: 18px;
  }
  .infra-assurance-head p {
    margin-top: 4px;
  }
  .infra-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 0;
  }
  .infra-badge {
    border-left: 1px solid var(--line);
  }
  .infra-badge:nth-child(2n + 1) {
    border-left: 0;
  }
  .infra-map figcaption {
    position: static;
    display: inline-block;
    margin-top: 8px;
  }
  .infra-pin > span {
    font-size: 11px;
    padding: 3px 7px;
  }
}
@media (max-width: 420px) {
  .infra-metric-line strong {
    font-size: 38px;
  }
  .infra-badge {
    padding: 2px 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .infra-pin > i::after {
    animation: none;
  }
}
@media (max-width: 360px) {
  .infra-pin > span {
    left: 12px;
    padding: 2px 6px;
  }
  .infra-pin-ah > span,
  .infra-pin-left > span {
    right: 12px;
  }
  .infra-badge strong {
    font-size: 12px;
  }
}

/* ============================================================
   r199：云服务器栏目页产品清单（参考产品清单页：左目录 + 搜索 + 产品卡）
   ============================================================ */
.cloud-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.cloud-layout {
  display: grid;
  grid-template-columns: 288px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 28px;
}
.cloud-catalog {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 88px;
  overflow: hidden;
}
.catalog-head {
  font-size: 15px;
  font-weight: 700;
  padding: 18px 18px 12px;
}
.catalog-search {
  padding: 0 18px 14px;
  border-bottom: 1px solid var(--line);
}
.catalog-search-input {
  position: relative;
}
.catalog-search-input input {
  width: 100%;
  height: 40px;
  padding: 0 38px 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 13px;
  color: var(--ink);
  background: var(--canvas);
}
.catalog-search-input input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.catalog-search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  color: var(--ink-3);
  pointer-events: none;
}
.catalog-menu {
  display: flex;
  flex-direction: column;
  padding: 6px 0 10px;
}
.catalog-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 11px 18px 11px 15px;
  border: 0;
  border-left: 3px solid transparent;
  background: transparent;
  font: inherit;
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
}
.catalog-item:hover {
  color: var(--brand);
  background: var(--canvas-subtle);
}
.catalog-item.active {
  color: var(--brand);
  border-left-color: var(--brand);
  background: var(--brand-soft);
  font-weight: 600;
}
.catalog-item .count {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
}
.catalog-item.is-empty {
  color: var(--ink-3);
}
.cloud-groups {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.cloud-group-title {
  font-size: 19px;
  font-weight: 700;
}
.cloud-cards {
  display: grid;
  /* r202grid2：产品卡固定两列（原先按 248px 自适应为三列） */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 14px;
}
.pcard {
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.pcard:hover {
  border-color: var(--brand-soft-line);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.pcard-featured {
  border-color: var(--brand);
}
.pcard-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}
.pcard-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.pcard-badges i {
  font-style: normal;
  font-size: 12px;
  line-height: 18px;
  color: var(--brand-strong);
  background: var(--brand-soft);
  border: 1px solid var(--brand-soft-line);
  border-radius: 999px;
  padding: 1px 8px;
}
.pcard-specs {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.65;
  flex: 1;
}
.pcard-specs li {
  display: flex;
  gap: 8px;
}
.pcard-specs li b {
  flex: 0 0 52px;
  font-weight: 600;
  color: var(--ink-3);
}
.pcard-specs li span {
  flex: 1;
  color: var(--ink-2);
  word-break: break-word;
}
.pcard-hl {
  color: var(--danger);
  font-weight: 600;
}
.pcard-promo {
  margin-bottom: 14px;
  padding: 7px 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--danger);
  background: var(--danger-soft);
  border: 1px solid #f6cfc9;
  border-radius: var(--radius-md);
}
.pcard-promo b {
  font-weight: 700;
}
.pcard-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.pcard-price {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--brand);
}
.pcard-price .pcard-cur {
  font-size: 14px;
  font-weight: 700;
  margin-right: 2px;
}
.pcard-price em {
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  margin-left: 4px;
}
.pcard-price s {
  display: block;
  margin-top: 2px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
}
.pcard-buy {
  flex: none;
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s ease;
}
.pcard-buy:hover {
  background: var(--brand-hover);
  color: #fff;
}
.cloud-warn {
  border: 1px solid var(--brand-soft-line);
  background: var(--warning-soft);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
}
.cloud-warn h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--warning);
  margin-bottom: 8px;
}
.cloud-warn p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-2);
}
@media (max-width: 960px) {
  .cloud-layout {
    grid-template-columns: 1fr;
  }
  /* r202grid2：窄屏下单列展示，避免两列在手机上过窄 */
  .cloud-cards {
    grid-template-columns: 1fr;
  }
  .cloud-catalog {
    position: static;
  }
  .catalog-menu {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 12px;
  }
  .catalog-item {
    width: auto;
    padding: 6px 12px;
    border-left: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
  }
  .catalog-item.active {
    border-color: var(--brand);
  }
}

/* =========================================================================
   域名注册页改版（2026-11）：Hero + 查询卡片 + 热门后缀产品卡 + 价格表 + 流程
   结构与信息层次参考主流域名注册页；配色全部沿用全站品牌变量
   ========================================================================= */
.dm-hero .page-banner-inner { padding-bottom: 148px; }
.dm-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: rgba(255, 255, 255, .86);
}
.dm-hero-points li { display: flex; align-items: center; gap: 8px; }
.dm-hero-points li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-2);
}

/* ---------- 查询卡片（上浮压住 Hero 下沿） ---------- */
.dm-search-wrap { position: relative; z-index: 3; margin-top: -104px; }
.dm-search-card {
  box-sizing: border-box;
  padding: 28px 28px 22px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(17,36,39, .16);
}
.dm-search-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  margin-bottom: 18px;
}
.dm-search-head h2 { margin: 0; font-size: 24px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
.dm-search-head p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-3); }
.dm-search-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.dm-search-field {
  display: flex;
  align-items: center;
  flex: 1 1 380px;
  min-width: 0;
  height: 52px;
  padding: 0 4px 0 14px;
  background: var(--canvas);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.dm-search-field:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14,124,134, .14); }
.dm-search-prefix { font-size: 15px; color: var(--ink-3); white-space: nowrap; }
.dm-search-field .domain-search-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 46px;
  padding: 0 8px;
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 0;
}
.dm-search-field .domain-search-input:focus { outline: none; border: 0; }
.dm-suffix-select { position: relative; display: inline-flex; align-items: center; border-left: 1px solid var(--line); }
.dm-suffix-select select {
  appearance: none;
  -webkit-appearance: none;
  height: 46px;
  padding: 0 26px 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
}
.dm-suffix-select select:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.dm-suffix-select .icon { position: absolute; right: 8px; width: 14px; height: 14px; color: var(--ink-3); pointer-events: none; }
.dm-search-btn { height: 52px; padding: 0 32px; font-size: 16px; }
.dm-chips-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 16px; }
.dm-chips-label { font-size: 13px; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.dm-chips-bar .domain-tld-chips { margin-top: 0; gap: 8px; }
.dm-chips-actions { display: flex; gap: 6px; margin-left: auto; }
.dm-chip-action {
  padding: 4px 10px;
  font-size: 12px;
  color: var(--ink-2);
  background: var(--canvas-subtle);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}
.dm-chip-action:hover { color: var(--brand); border-color: var(--brand-soft-line); background: var(--brand-soft); }
.dm-price-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.dm-price-strip-label { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.dm-price-item { font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.dm-price-item b { margin-left: 6px; font-size: 16px; font-weight: 700; color: var(--brand); font-variant-numeric: tabular-nums; }
.dm-price-links { display: flex; gap: 16px; margin-left: auto; font-size: 13px; }
.dm-price-links a { color: var(--blue); font-weight: 600; }
.dm-price-links a:hover { text-decoration: underline; }

/* ---------- 热门域名推荐 ---------- */
.dm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.dm-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.dm-card:hover { border-color: var(--brand-soft-line); box-shadow: 0 16px 40px rgba(17,36,39, .10); transform: translateY(-2px); }
.dm-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.dm-card-tld { font-size: 26px; line-height: 1.1; font-weight: 800; letter-spacing: -0.01em; }
.dm-card-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-strong);
  background: var(--brand-soft);
  border: 1px solid var(--brand-soft-line);
  border-radius: 999px;
  white-space: nowrap;
}
.dm-card-title { font-size: 16px; font-weight: 700; color: var(--ink); }
.dm-card-desc { font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.dm-card-features { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.dm-card-features li { position: relative; padding-left: 18px; font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.dm-card-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-soft-line);
}
.dm-card-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
.dm-card-price b { font-size: 24px; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.dm-card-price span { font-size: 13px; color: var(--ink-3); }
.dm-card-price .dm-renew { margin-left: auto; }
.dm-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dm-card-badge { font-size: 12px; color: var(--ink-3); }
.dm-empty {
  margin-top: 32px;
  padding: 30px 24px;
  font-size: 14px;
  color: var(--ink-3);
  text-align: center;
  background: var(--canvas-subtle);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
}

/* ---------- 价格表 ---------- */
.dm-table-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 28px 0 16px; }
.dm-tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--canvas); border: 1px solid var(--line); border-radius: 999px; }
.dm-tab { padding: 7px 18px; font-size: 14px; color: var(--ink-2); background: transparent; border: 0; border-radius: 999px; cursor: pointer; }
.dm-tab:hover { color: var(--brand); }
.dm-tab.is-active { background: var(--brand); color: #fff; font-weight: 600; }
.dm-table-count { margin-left: auto; font-size: 13px; color: var(--ink-3); }
.dm-table-wrap { overflow-x: auto; background: var(--canvas); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.dm-table { width: 100%; min-width: 900px; border-collapse: collapse; }
.dm-table th, .dm-table td { padding: 14px 18px; font-size: 14px; text-align: left; border-bottom: 1px solid var(--line); }
.dm-table thead th { background: var(--canvas-subtle); font-size: 13px; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.dm-table thead tr:first-child th { text-align: center; border-bottom: 1px solid var(--line); }
.dm-table thead tr:first-child th:first-child,
.dm-table thead tr:first-child th:nth-child(2) { text-align: left; }
.dm-table thead tr:last-child th { font-weight: 500; text-align: center; }
.dm-table tbody tr:last-child td { border-bottom: 0; }
.dm-table tbody tr:hover { background: var(--canvas-subtle); }
.dm-tld { font-size: 16px; font-weight: 700; white-space: nowrap; }
.dm-price-cell { text-align: center; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dm-price-cell.is-renew { color: var(--ink-2); }
.dm-table .btn { height: 34px; padding: 0 16px; font-size: 13px; }
.dm-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 购买流程 ---------- */
.dm-flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 44px; }
.dm-step {
  position: relative;
  padding: 24px 20px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.dm-step-num { font-family: var(--font-mono); font-size: 26px; font-weight: 700; line-height: 1; color: var(--blue); letter-spacing: -0.02em; }
.dm-step h3 { margin: 12px 0 6px; font-size: 17px; font-weight: 700; }
.dm-step p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--ink-2); }
.dm-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -11px;
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--line-strong);
  border-right: 2px solid var(--line-strong);
  transform: translateY(-50%) rotate(45deg);
}
.dm-step:last-child::after { display: none; }

@media (max-width: 1023px) {
  .dm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dm-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dm-step::after { display: none; }
  .dm-hero .page-banner-inner { padding-bottom: 140px; }
}
@media (max-width: 767px) {
  .dm-search-wrap { margin-top: -80px; }
  .dm-search-card { padding: 20px 16px 18px; }
  .dm-search-form { flex-direction: column; }
  .dm-search-field { flex: 1 1 auto; width: 100%; }
  .dm-search-btn { width: 100%; height: 48px; }
  .dm-chips-actions { margin-left: 0; }
  .dm-price-links { margin-left: 0; }
  .dm-grid { grid-template-columns: 1fr; }
  .dm-flow { grid-template-columns: 1fr; }
  .dm-table-count { margin-left: 0; }
  .dm-hero-points { font-size: 14px; gap: 8px 18px; }
}

/* 域名注册页 Banner：与云服务器栏目（cloud.css .cs-hero）同一浅色底与栅格纹理 */
.dm-hero {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 30%, rgba(14,124,134, .10), rgba(14,124,134, 0) 34%),
    linear-gradient(180deg, #f8f9fb 0%, #eff1f5 100%);
}
.dm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17,36,39, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,36,39, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .6), transparent 78%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .6), transparent 78%);
  pointer-events: none;
}
.dm-hero .page-banner-eyebrow {
  background: var(--brand-soft);
  border: 1px solid var(--brand-soft-line);
  color: var(--brand-strong);
}
.dm-hero .page-banner-title { color: var(--ink); }
.dm-hero .page-banner-lead { color: var(--ink-2); }
.dm-hero-points { color: var(--ink-2); }
.dm-hero-points li::before { background: var(--brand); }
.dm-search-card { border-color: var(--line-strong); box-shadow: 0 22px 48px rgba(17,36,39, .14); }

/* ---------- r218partners 合作伙伴页（二级导航 / 合作计划页签 / 优秀合作伙伴 logo 墙） ---------- */
.page-subnav {
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
}
.page-subnav-track {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 0;
}
.page-subnav-item {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-2);
  background: var(--canvas);
  transition: color .2s, border-color .2s, background .2s;
}
.page-subnav-item:hover {
  color: var(--brand);
  border-color: var(--brand-soft-line);
  background: var(--brand-soft);
}

/* 合作优势：两列；伙伴权益：三列（同一通用卡片结构，按区块区分版式） */
[data-sec-key="models"] .outcome-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
[data-sec-key="provide"] .outcome-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* 合作计划页签 */
.prog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  border-bottom: 1px solid var(--line);
}
.prog-tab {
  position: relative;
  appearance: none;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-3);
  padding: 10px 4px 14px;
  margin-right: 28px;
  cursor: pointer;
}
.prog-tab:hover { color: var(--brand); }
.prog-tab.active { color: var(--brand); }
.prog-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 2px;
  background: var(--brand);
}
.prog-panel { margin-top: 26px; }
.prog-panel.hidden { display: none; }
.prog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.prog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--canvas);
  padding: 24px;
  transition: box-shadow .2s, transform .2s;
}
.prog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.prog-card-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.prog-card-head h3 { font-size: 18px; font-weight: 700; }
.prog-tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  font-size: 12px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: var(--radius-sm);
}
.prog-card p { font-size: 15px; color: var(--ink-2); line-height: 1.7; flex: 1; }
.prog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* 优秀合作伙伴 logo 墙 */
.partner-wall {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}
.partner-item {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--canvas);
  padding: 20px 16px;
  text-align: center;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
a.partner-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--brand-soft-line); }
.partner-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 84px;
  justify-content: center;
}
.partner-logo {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.partner-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-2);
}
.partner-name {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
}
.partner-empty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-3);
  background: var(--canvas-subtle);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
@media (max-width: 1080px) {
  [data-sec-key="models"] .outcome-grid,
  [data-sec-key="provide"] .outcome-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  [data-sec-key="models"] .outcome-grid,
  [data-sec-key="provide"] .outcome-grid,
  .prog-grid { grid-template-columns: 1fr; }
  .partner-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partner-name { display: none; }
}
@media (max-width: 480px) {
  .partner-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* ---------- r230：展示网站全站栏目页 Banner 高度统一为 500px（承接 r227 的 563px 统一口径） ---------- */
/* 基准：全站 Banner 高度统一为 500px（r227 曾以托管页实测 563px 为基准，本版下调至 500px）。
   本段把站内各栏目页的页头横幅（.page-banner），以及云服务器（.cs-hero）、
   服务器租用（.rent-hero）、首页 Banner 轮播（.home-banner）的首屏统一为同一
   高度，并让区块内容垂直居中；其余样式与结构保持不变。 */
.page-banner {
  min-height: 500px;
  display: flex;
  flex-direction: column;
}
.page-banner > .page-banner-inner {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
body[data-page="cloud"] .cs-hero,
body[data-page="rent"] .rent-hero {
  min-height: 500px;
  display: flex;
  flex-direction: column;
}
body[data-page="cloud"] .cs-hero > .cs-hero-inner,
body[data-page="rent"] .rent-hero > .rent-hero-inner {
  flex: 1 1 auto;
}
.home-banner .banner-slide,
.home-banner .banner-content-main {
  min-height: 500px;
}

/* ============================================================
   r232：首页「服务器租用 / 服务器托管」产品板块（改版）
   与网站主题色呼应：品牌橙强调条、系列芯片、品牌色价格与主行动按钮
   ============================================================ */
.hf-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}
/* 托管板块当前只有 1 个产品时，单卡占满内容宽度并与板块标题 / 底部按钮保持同一左对齐基线；
   左右等宽（机房实景 + 信息）避免半宽留白，形成整幅的托管说明卡 */
.hf-grid-hosting > .hf-host-card:only-child:not(.is-plain) {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.hf-grid-hosting > .hf-host-card.is-plain:only-child {
  grid-column: 1 / -1;
}

/* ---------- 通用卡片（服务器租用） ---------- */
.hf-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 24px 22px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--canvas);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.hf-card::before,
.hf-host-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand);
  z-index: 1;
}
.hf-card:hover,
.hf-host-card:hover {
  border-color: var(--brand-soft-line);
  box-shadow: 0 14px 34px rgba(17,36,39, 0.08);
  transform: translateY(-2px);
}
.hf-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 22px;
}
.hf-series {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 5px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 11px;
  font-weight: 600;
}
.hf-flag {
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  padding: 0 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.hf-flag.is-hot {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-hover) 100%);
  box-shadow: 0 4px 10px rgba(14,124,134, 0.25);
}
.hf-flag.is-tag {
  color: var(--brand-strong);
  background: var(--brand-soft);
  border: 1px solid var(--brand-soft-line);
}
.hf-name {
  margin-top: 12px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--ink);
}
.hf-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-3);
}
.hf-meta .icon {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  color: var(--brand);
}
.hf-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.hf-cell dt {
  font-size: 11px;
  color: var(--ink-3);
}
.hf-cell dd {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  word-break: break-word;
}
.hf-cell-sub {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-3);
}
.hf-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.hf-chips span {
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--canvas-subtle);
  color: var(--ink-3);
  font-size: 11px;
  line-height: 1.6;
}
.hf-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 18px;
}
.hf-rent-card > .hf-foot,
.hf-host-body .hf-foot {
  border-top: 1px solid var(--line);
}
.hf-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: var(--brand);
}
.hf-price-label {
  margin-right: 6px;
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-3);
}
.hf-price small {
  font-size: 14px;
  font-weight: 600;
}
.hf-price b {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hf-price em {
  margin-left: 3px;
  font-size: 12px;
  font-style: normal;
  color: var(--ink-3);
}
.hf-price .hf-price-ask {
  font-family: var(--font-sans);
  font-size: 18px;
  color: var(--ink-2);
}
.hf-cta {
  flex: 0 0 auto;
}

/* ---------- 服务器托管卡片（机房实景 + 规格摘要） ---------- */
.hf-host-card {
  position: relative;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--canvas);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.hf-host-card.is-plain {
  grid-template-columns: minmax(0, 1fr);
}
.hf-host-media {
  position: relative;
  background: var(--canvas-soft);
}
.hf-host-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hf-host-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,36,39, 0.04) 0%, rgba(17,36,39, 0.45) 100%);
}
.hf-host-roomtag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 600;
}
.hf-host-body {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 20px;
}
.hf-host-body > .hf-name {
  margin-top: 0;
}
/* 托管卡底部块固定为「参考起价 + 行动按钮」两行左对齐，避免卡宽变化时价格与按钮换行方式不一致 */
.hf-host-body .hf-foot {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: nowrap;
}
.hf-host-body .hf-cta {
  align-self: flex-start;
}
.hf-host-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-2);
}

@media (max-width: 1023px) {
  .hf-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* 托管卡内含机房图与说明文字，窄于 1024px 时改为单列整幅，保证文字列宽度 */
  .hf-grid-hosting {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 767px) {
  .hf-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hf-card {
    padding: 22px 18px 18px;
  }
  .hf-host-card,
  .hf-host-card.is-plain,
  .hf-grid-hosting > .hf-host-card:only-child:not(.is-plain) {
    grid-template-columns: minmax(0, 1fr);
  }
  .hf-host-media {
    aspect-ratio: 16 / 9;
  }
  /* 窄屏放开说明文字行数限制，避免文案被截断 */
  .hf-host-desc {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }
  .hf-price b {
    font-size: 26px;
  }
}
/* ===== 我的合同（会员控制台 · 在线阅读签署 / 上传盖章件） ===== */
.contract-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #e6f3f4;
  color: #067684;
  font-size: 13px;
}
.contract-hint .icon { width: 16px; height: 16px; flex: none; }
.contract-status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 18px;
  background: #e6f3f4;
  color: #4a5568;
  white-space: nowrap;
}
.contract-status-pending { background: #ecf3f3; color: #06899a; }
.contract-status-signed,
.contract-status-approved { background: #e8f7ee; color: #1a7f4b; }
.contract-status-uploaded { background: #f1f6f6; color: #17697a; }
.contract-status-rejected { background: #fdecec; color: #c0392b; }
.contract-status-void { background: #f9fbfb; color: #8a94a6; }
.contract-paper {
  max-height: 46vh;
  overflow: auto;
  margin: 12px 0;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f9fbfb;
  white-space: pre-wrap;
  line-height: 1.9;
  font-size: 13px;
  color: #2d3748;
}
.contract-agree {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 14px 0 10px;
  font-size: 13px;
  color: #2d3748;
}
.contract-agree input { margin-top: 3px; }
.contract-events { margin-top: 12px; }
.contract-events h5 { margin: 0 0 8px; }
.contract-events ul {
  margin: 0;
  padding-left: 18px;
  font-size: 12px;
  color: #4a5568;
  line-height: 1.8;
}

/* ===== 合同乙方盖章（会员查看 / 签署弹窗） ===== */
.contract-seal-area { margin-top: 12px; }
.contract-seal-title { margin-bottom: 8px; font-weight: 600; }
.contract-seal-box {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px dashed #e2e8f0;
  border-radius: 8px;
  background: #fafcff;
}
.contract-seal-img {
  max-width: 180px;
  max-height: 130px;
  object-fit: contain;
}

/* ===== 乙方盖章安全措施（水印 / 禁选择 / 禁拖拽） ===== */
.contract-seal-box {
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.contract-seal-img {
  pointer-events: none;
  -webkit-user-drag: none;
}
.contract-seal-watermark {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 3px 6px;
  font-size: 11px;
  line-height: 1.4;
  color: #8a1f1f;
  background: rgba(255, 255, 255, 0.82);
  text-align: center;
  letter-spacing: 0.5px;
}
.contract-seal-tip {
  margin: 6px 0 0;
  font-size: 11px;
  color: #8a94a6;
  line-height: 1.6;
}

/* ===== 合同正文内嵌乙方印章（签署行位置，r245） ===== */
.contract-line {
  white-space: pre-wrap;
  min-height: 1.2em;
}
.contract-seal-inline {
  position: relative;
  width: 200px;
  height: 132px;
  margin: 8px 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #e2e8f0;
  border-radius: 8px;
  background: #fafcff;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.contract-seal-note {
  margin: 6px 0;
  font-size: 12px;
  color: #8a94a6;
}

/* ===== 公章叠压在「乙方（盖章）」签署行上（r247，替代原独立印章块） ===== */
.contract-seal-anchor {
  position: relative;
}
.seal-anchor-line {
  position: relative;
  display: inline-block;
}
.seal-anchor-value {
  position: relative;
  display: inline-block;
}
.contract-seal-overlay {
  position: absolute;
  top: -9px;
  left: calc(100% - 10px);
  width: 120px;
  height: 96px;
  transform: translateX(-100%) rotate(-8deg);
  opacity: 0.95;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 3;
}
.contract-seal-overlay .contract-seal-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.contract-seal-overlay .contract-seal-watermark {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2px 4px;
  font-size: 10px;
  line-height: 1.3;
  color: #8a1f1f;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}
.contract-seal-note {
  margin-left: 10px;
  font-size: 12px;
  color: #8a94a6;
}
@media (max-width: 640px) {
  .contract-seal-overlay {
    width: 104px;
    height: 76px;
    left: calc(100% - 10px);
    top: -7px;
    transform: translateX(-100%) rotate(-8deg);
  }
}

@media print {
  body, .contract-paper { background: #fff !important; }
  .contract-seal-overlay { mix-blend-mode: normal !important; opacity: 1 !important; }
}


/* ============================================================
   首页「SwiftIdc • WAF 应用防火墙」板块（r272）
   版式参考 waf.html：眉标 + 主标题 + 要点 + 三档套餐卡 + 能力卡 + 后台入口
   套餐数据由 assets/waf-home.js 取 /api/v1/site/waf/plans，样式只负责呈现。
   ============================================================ */
.home-waf {
  position: relative;
  overflow: hidden;
  background: var(--canvas-subtle);
  border: 0;
}
.home-waf .container {
  position: relative;
  z-index: 1;
}
.home-waf-head {
  max-width: 780px;
}
.home-waf-head .section-title {
  margin-bottom: 14px;
}
.home-waf-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.home-waf-facts li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  color: var(--ink-3);
}
.home-waf-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.75;
}
.home-waf-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}
.home-waf-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.home-waf-plan:hover {
  border-color: var(--brand-soft-line);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.home-waf-plan.is-recommended {
  border-color: var(--brand-soft-line);
  box-shadow: 0 12px 28px rgba(14,124,134, 0.10);
}
.home-waf-badge {
  position: absolute;
  top: -11px;
  left: 24px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
}
.home-waf-plan h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}
.home-waf-plan-spec {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-3);
}
.home-waf-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 16px 0 0;
  color: var(--brand);
}
.home-waf-price span {
  font-size: 18px;
  font-weight: 600;
}
.home-waf-price strong {
  font-size: 40px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.home-waf-price em {
  font-style: normal;
  font-size: 14px;
  color: var(--ink-3);
}
.home-waf-price-sub {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-3);
}
.home-waf-list {
  display: grid;
  gap: 9px;
  flex: 1 1 auto;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.home-waf-list li {
  display: flex;
  gap: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
}
.home-waf-list .icon {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--brand);
}
.home-waf-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 20px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: var(--brand);
  border-radius: var(--radius-md);
  transition: background-color 0.18s ease;
}
.home-waf-buy:hover,
.home-waf-buy:focus-visible {
  color: #fff;
  background: var(--brand-hover);
}
.home-waf-buy[aria-busy="true"] {
  opacity: 0.7;
  pointer-events: none;
}
.home-waf-loading {
  grid-column: 1 / -1;
  margin: 0;
  padding: 30px 24px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-3);
  text-align: center;
  background: var(--canvas);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
}
.home-waf-loading a {
  color: var(--brand);
  text-decoration: underline;
}
.home-waf-error {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--danger);
}
.home-waf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.home-waf-note {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-3);
}
@media (max-width: 1024px) {
  .home-waf-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .home-waf-plans {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-waf-plans {
    margin-top: 26px;
  }
  .home-waf-price strong {
    font-size: 34px;
  }
  .home-waf-actions .btn {
    flex: 1 1 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-waf-plan {
    transition: none;
  }
  .home-waf-plan:hover {
    transform: none;
  }
}


/* ---------- 首页云服务器套餐卡广告语（r288） ---------- */
.plan-ad {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 14px 0 0;
  padding: 8px 10px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid var(--brand-soft-line);
  border-radius: 6px;
}

.plan-ad-dot {
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

/* ============================================================
   软件开发栏目页（dev.html）
   版式参考：企业级 SaaS 官网（深色 Banner + 产品看板 / 居中标题 +
   卡片矩阵 / 数据指标条 / 胶囊标签 / 五步流程 / FAQ）
   配色沿用SwiftIdc主题：品牌橙 #0e7c86 行动色 + 深海军蓝 + 蓝青技术渐变
   ============================================================ */

/* ---------- Hero：双栏 Banner + 交付看板 ---------- */
.dev-hero.page-banner {
  background-image:
    radial-gradient(circle at 10% 4%, rgba(14,124,134, 0.30) 0%, rgba(14,124,134, 0) 40%),
    radial-gradient(circle at 84% 10%, rgba(12,116,124), 0.58) 0%, rgba(12,116,124), 0) 46%),
    radial-gradient(circle at 72% 98%, rgba(12,108,124), 0.30) 0%, rgba(12,108,124), 0) 44%),
    linear-gradient(120deg, #082427 0%, #135459 56%, #0c3435 100%);
}
.dev-hero .page-banner-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  padding-top: 84px;
  padding-bottom: 132px;
}
.dev-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  background: rgba(255, 255, 255, 0.10);
  color: #f2f6f7;
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.dev-hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #285e64;
  box-shadow: 0 0 0 4px rgba(14,129,144), 0.18);
}
.dev-hero-title {
  font-size: clamp(32px, 3.8vw, 50px);
}
.dev-hero-title-sub {
  display: block;
  margin-top: 10px;
  font-size: 0.58em;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0;
  color: #c1d6d9;
}
.dev-hero .page-banner-lead {
  max-width: 34em;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
}
.dev-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 22px;
}
.dev-hero-fact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}
.dev-hero-fact .icon {
  width: 15px;
  height: 15px;
  color: #0f6e99;
}

/* 交付看板（纯 CSS 结构，不使用外部图片） */
.dev-board {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  box-shadow: 0 32px 64px rgba(4,24,27, 0.48);
  padding: 18px;
  backdrop-filter: blur(8px);
}
.dev-board-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 4px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.dev-board-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
}
.dev-board-dot:nth-child(1) { background: #ff7a59; }
.dev-board-dot:nth-child(2) { background: #285e64; }
.dev-board-dot:nth-child(3) { background: #56d8a0; }
.dev-board-head strong {
  margin-left: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.02em;
}
.dev-board-live {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(12,108,124), 0.18);
  border: 1px solid rgba(12,108,124), 0.36);
  font-size: 11px;
  font-weight: 600;
  color: #a9ecff;
}
.dev-board-body {
  display: grid;
  gap: 14px;
  padding: 16px 4px 4px;
}
.dev-board-phase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.90);
}
.dev-board-phase-head em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}
.dev-board-phase-head em.is-active {
  color: #c1d6d9;
}
.dev-board-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.dev-board-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0e7c86, #285e64);
}
.dev-board-phase:nth-child(-n+2) .dev-board-bar i {
  background: linear-gradient(90deg, #0c747c, #0c6c7c);
}
.dev-board-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.dev-board-metrics span {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
}
.dev-board-metrics strong {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}
.dev-board-float {
  position: absolute;
  left: -18px;
  bottom: -16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(4,24,27, 0.34);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.dev-board-float::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

/* ---------- 指标条（压在 Banner 下沿） ---------- */
.dev-metrics {
  position: relative;
  z-index: 3;
  margin-top: -72px;
  padding: 0;
}
.dev-metrics-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(17,36,39, 0.10);
  overflow: hidden;
}
.dev-metric {
  position: relative;
  padding: 24px 26px 22px;
  border-right: 1px solid var(--line);
}
.dev-metric:last-child {
  border-right: 0;
}
.dev-metric::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  width: 28px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--brand);
}
.dev-metric strong {
  display: block;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand);
}
.dev-metric strong span {
  font-size: 14px;
  font-weight: 600;
  margin-left: 4px;
  color: var(--ink-2);
  letter-spacing: 0;
}
.dev-metric-label {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.dev-metric p {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-3);
}

/* ---------- 本页要点 ---------- */
.dev-brief-wrap {
  padding: 48px 0 0;
}
.dev-brief {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(100deg, var(--brand-soft) 0%, #ffffff 58%);
}
.dev-brief-head strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.dev-brief-head span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-3);
}
.dev-brief ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
}
.dev-brief li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.dev-brief li .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--brand);
}

/* ---------- 服务类型卡片 ---------- */
.dev-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}
.dev-card {
  position: relative;
  display: grid;
  grid-template-columns: 54px 56px minmax(0, 1fr) minmax(210px, 300px);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 22px;
  row-gap: 6px;
  padding: 24px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  transition: background .18s ease;
}
.dev-card:hover {
  border-color: var(--line);
  box-shadow: none;
  transform: none;
  background: linear-gradient(90deg, rgba(240,245,245, 0.92) 0%, rgba(255, 255, 255, 0) 72%);
}
.dev-card-num {
  position: static;
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: var(--font-mono);
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--line-strong);
}
.dev-card .icon-badge {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--brand-soft);
  color: var(--brand-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}
.dev-card h3 {
  grid-column: 3;
  grid-row: 1;
  padding-right: 0;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}
.dev-card > p {
  grid-column: 3;
  grid-row: 2;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
}
.dev-card-tags {
  grid-column: 4;
  grid-row: 1 / span 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 0;
  padding-top: 0;
}
.dev-card .tag {
  background: #f7fafa;
  border-color: var(--brand-soft-line);
  color: var(--brand-strong);
  font-size: 12.5px;
}

/* ---------- 服务对比表 ---------- */
.dev-table-card {
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--canvas);
}
.dev-table-card .table-scroll {
  margin-top: 0;
}
.dev-compare {
  min-width: 640px;
}
.dev-compare th {
  padding: 14px 18px;
  background: linear-gradient(120deg, #0d3538, #166267);
  border-bottom: 0;
  color: #e2edee;
  font-size: 13px;
  font-weight: 600;
}
.dev-compare th:first-child {
  color: #fff;
}
.dev-compare td {
  padding: 16px 18px;
  border-bottom-color: var(--line);
}
.dev-compare tbody tr:nth-child(even) td {
  background: #fafbfd;
}
.dev-compare td:first-child {
  font-weight: 600;
  color: var(--ink-2);
  background: var(--canvas-subtle) !important;
}
.dev-compare td:not(:first-child) {
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.dev-compare tbody tr:last-child td {
  color: var(--ink);
  font-weight: 600;
}
.dev-compare tbody tr:last-child td:first-child {
  font-weight: 600;
}
.dev-table-hint {
  display: none;
  margin: 0;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  background: var(--canvas-subtle);
  font-size: 12px;
  color: var(--ink-3);
}
@media (max-width: 640px) {
  .dev-table-hint {
    display: block;
  }
}

/* ---------- 交付流程 ---------- */
.dev-flow .stages {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 34px;
  gap: 12px;
}
.dev-flow .stage {
  display: block;
  grid-template-columns: 1fr;
  border-color: var(--line);
  padding: 20px 18px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.dev-flow .stage:hover {
  border-color: var(--brand-soft-line);
  box-shadow: 0 10px 24px rgba(17,36,39, 0.06);
}
.dev-flow .stage-num {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1;
  color: var(--brand);
}
.dev-flow .stage-body h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.dev-flow .stage-body > p {
  margin-bottom: 10px;
  font-size: 12.8px;
  line-height: 1.65;
}
.dev-flow .stage-tags {
  margin-top: 0;
}
.dev-flow .stage-tags .tag {
  font-size: 11.5px;
  padding: 3px 8px;
}
.dev-flow .stage-deliver {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--ink-3);
}
.dev-flow .stage-deliver .icon {
  width: 14px;
  height: 14px;
  color: var(--success);
}

/* ---------- 适用场景 ---------- */
.dev-scene .two-col {
  margin-top: 32px;
}
.dev-scene .info-block h3 .icon {
  color: var(--brand);
}
.dev-scene-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px dashed var(--line-strong);
}
.dev-scene-tags .tag {
  padding: 6px 14px;
  font-size: 13px;
  background: var(--canvas);
  border-color: var(--line);
  color: var(--ink-2);
}
.dev-scene-tags .tag:first-child {
  color: var(--brand-strong);
  background: var(--brand-soft);
  border-color: var(--brand-soft-line);
}

/* ---------- CTA（品牌橙调） ---------- */
.dev-cta {
  background:
    radial-gradient(circle at 90% 12%, rgba(14,124,134, 0.16) 0%, rgba(14,124,134, 0) 46%),
    linear-gradient(120deg, #f6f9f9 0%, #ffffff 62%);
  border-color: var(--brand-soft-line);
}
.dev-cta h2 {
  color: var(--ink);
}

/* ---------- FAQ ---------- */
.dev-faq .faq-list {
  margin-top: 30px;
  max-width: 900px;
}
.dev-faq .faq-item:hover {
  border-color: var(--line-strong);
}
.dev-faq .faq-q .icon {
  width: 18px;
  height: 18px;
  color: var(--ink-3);
}

/* ---------- 居中标题 ---------- */
.dev-head-center {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.dev-head-center .section-title {
  max-width: 22em;
  margin-left: auto;
  margin-right: auto;
}
.dev-head-center .section-lead {
  max-width: 44em;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 服务矩阵 ---------- */
.dev-matrix-section .container {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}
.dev-matrix-section .dev-head-center {
  margin: 0;
  text-align: left;
}
.dev-matrix-section .dev-head-center .section-title {
  max-width: none;
  font-size: 28px;
}
.dev-matrix-section .dev-head-center .section-lead {
  max-width: none;
  font-size: 15.5px;
}
.dev-matrix-section .footnote {
  grid-column: 1 / -1;
  margin-top: 26px !important;
}
.dev-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 0;
}
.dev-matrix-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--canvas);
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.dev-matrix-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), #285e64);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.dev-matrix-card:hover {
  border-color: var(--brand-soft-line);
  box-shadow: 0 14px 30px rgba(17,36,39, 0.08);
  transform: translateY(-2px);
}
.dev-matrix-card:hover::after {
  transform: scaleX(1);
}
.dev-matrix-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--brand-soft);
  color: var(--brand-strong);
}
.dev-matrix-icon .icon {
  width: 20px;
  height: 20px;
}
.dev-matrix-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}
.dev-matrix-card > p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
}
.dev-matrix-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.dev-matrix-tags .tag {
  background: #f7fafa;
  border-color: var(--brand-soft-line);
  color: var(--brand-strong);
  font-size: 12px;
  padding: 3px 10px;
}
.dev-matrix-fit {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-3);
}
.dev-matrix-tags + .dev-matrix-fit {
  margin-top: 16px;
}
.dev-matrix-fit .icon {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  flex: none;
  color: var(--brand);
}
.dev-matrix-links {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.dev-matrix-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
  transition: color .16s ease;
}
.dev-matrix-links a:hover {
  color: var(--brand-strong);
}
.dev-matrix-links a span {
  color: var(--brand);
  font-weight: 600;
}

/* ---------- 服务模式 ---------- */
.dev-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}
.dev-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--canvas);
}
.dev-plan-featured {
  border-color: var(--brand);
  box-shadow: 0 16px 34px rgba(14,124,134, 0.12);
}
.dev-plan-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.dev-plan h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.dev-plan-use {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.dev-plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}
.dev-plan-price strong {
  font-size: 17px;
  font-weight: 800;
  color: var(--brand-strong);
}
.dev-plan-price span {
  font-size: 12.5px;
  color: var(--ink-3);
}
.dev-plan-list {
  display: grid;
  gap: 9px;
  margin-bottom: 18px;
}
.dev-plan-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.dev-plan-list .icon {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: var(--success);
}
.dev-plan-note {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-3);
}

/* ---------- 交付保障（深色带） ---------- */
.dev-assure {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  color: #fff;
  background-image:
    radial-gradient(circle at 88% 6%, rgba(14,124,134, 0.22) 0%, rgba(14,124,134, 0) 42%),
    radial-gradient(circle at 6% 92%, rgba(12,108,124), 0.22) 0%, rgba(12,108,124), 0) 40%),
    linear-gradient(120deg, #09282b 0%, #135459 58%, #0c3435 100%);
}
.dev-assure .eyebrow {
  color: #c1d6d9;
}
.dev-assure .eyebrow::before {
  background: #285e64;
}
.dev-assure .section-title {
  color: #fff;
}
.dev-assure .section-lead {
  color: rgba(255, 255, 255, 0.78);
}
.dev-assure-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}
.dev-assure-item {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
}
.dev-assure-item .icon {
  width: 22px;
  height: 22px;
  color: #0f8a9b;
}
.dev-assure-item h3 {
  margin: 12px 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.dev-assure-item p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}
.dev-assure-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.dev-assure-chips span {
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.80);
}

/* ---------- 技术底座与开工清单 ---------- */
.dev-tech-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  margin-top: 36px;
}
.dev-tech-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--canvas);
}
.dev-tech-panel h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.dev-tech-panel > p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.dev-tech-group {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px dashed var(--line);
}
.dev-tech-group:first-of-type {
  padding-top: 0;
  border-top: 0;
}
.dev-tech-group strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 26px;
}
.dev-tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dev-tech-chips span {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--canvas-subtle);
  font-size: 12.5px;
  color: var(--ink-2);
}
.dev-checklist {
  display: grid;
  gap: 11px;
}
.dev-checklist li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-2);
}
.dev-checklist .icon {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--brand);
}

/* ---------- 典型项目样例 ---------- */
.dev-samples {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}
.dev-sample:first-child {
  grid-row: 1 / span 2;
}
.dev-sample {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--canvas);
}
.dev-sample-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.dev-sample-type {
  padding: 3px 10px;
  border: 1px solid var(--brand-soft-line);
  border-radius: 999px;
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-strong);
}
.dev-sample h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}
.dev-sample-list {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}
.dev-sample-list li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 6px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.dev-sample-list .icon {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  color: var(--success);
}
.dev-sample-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  color: var(--ink-3);
}
.dev-sample-meta strong {
  font-weight: 600;
  color: var(--ink);
}
.dev-sample-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.dev-sample-tags .tag {
  padding: 3px 10px;
  border-color: var(--brand-soft-line);
  background: #f7fafa;
  color: var(--brand-strong);
  font-size: 12px;
}

/* ---------- 下一步 ---------- */
.dev-next {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 32px;
  align-items: center;
  margin-top: 8px;
  padding: 40px;
  border: 1px solid var(--brand-soft-line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 92% 4%, rgba(14,124,134, 0.16) 0%, rgba(14,124,134, 0) 46%),
    linear-gradient(120deg, #f6f9f9 0%, #ffffff 62%);
}
.dev-next h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.dev-next p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 20px;
}
.dev-next-steps {
  display: grid;
  gap: 10px;
}
.dev-next-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--canvas);
}
.dev-next-step b {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  line-height: 22px;
}
.dev-next-step strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
}
.dev-next-step span {
  display: block;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-3);
}

/* ---------- 响应式 ---------- */
@media (max-width: 991px) {
  .dev-hero .page-banner-inner {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 68px;
    padding-bottom: 112px;
  }
  .dev-board {
    max-width: 560px;
  }
  .dev-metrics {
    margin-top: -64px;
  }
  .dev-metrics-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dev-metric:nth-child(2) {
    border-right: 0;
  }
  .dev-metric:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
.dev-cards {
    grid-template-columns: 1fr;
  }
  .dev-card {
    grid-template-columns: 44px 48px minmax(0, 1fr) minmax(150px, 210px);
    column-gap: 16px;
    padding: 20px 8px;
  }
  .dev-brief {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .dev-matrix-section .container {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .dev-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
  }
  .dev-flow .stages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dev-flow .stage {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .dev-plans {
    grid-template-columns: 1fr;
  }
  .dev-assure-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dev-tech-grid {
    grid-template-columns: 1fr;
  }
  .dev-samples {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .dev-sample:first-child {
    grid-row: auto;
  }
  .dev-next {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px;
  }
}

@media (max-width: 767px) {
  .dev-hero .page-banner-inner {
    padding-top: 52px;
    padding-bottom: 96px;
  }
  .dev-hero-title-sub {
    font-size: 0.62em;
  }
  .dev-board {
    padding: 14px;
  }
  .dev-board-float {
    left: 12px;
    bottom: -14px;
    font-size: 11px;
    padding: 6px 12px;
  }
  .dev-board-metrics {
    gap: 6px;
  }
  .dev-board-metrics strong {
    font-size: 11.5px;
  }
  .dev-metrics {
    margin-top: -56px;
  }
  .dev-metric {
    padding: 20px 18px 18px;
  }
  .dev-metric::before {
    left: 18px;
  }
  .dev-metric strong {
    font-size: 26px;
  }
  .dev-brief {
    padding: 20px;
  }
  .dev-brief ul {
    grid-template-columns: 1fr;
    gap: 8px;
  }
.dev-cards {
    margin-top: 22px;
    border-top: 0;
  }
  .dev-card {
    display: block;
    padding: 18px 0 20px;
  }
  .dev-card-num {
    display: none;
  }
  .dev-card .icon-badge {
    margin-bottom: 10px;
  }
  .dev-card h3 {
    margin: 0 0 6px;
    font-size: 17px;
  }
  .dev-card-tags {
    justify-content: flex-start;
    margin-top: 10px;
  }
  .dev-flow .stages {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .dev-flow .stage {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 20px;
  }
  .dev-flow .stage-num {
    font-size: 22px;
    margin-bottom: 4px;
  }
.dev-scene-tags {
    gap: 8px;
  }
  .dev-matrix {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }
  .dev-assure {
    padding: 56px 0;
  }
  .dev-assure-grid {
    grid-template-columns: 1fr;
  }
  .dev-next {
    padding: 24px;
  }
  .dev-next h2 {
    font-size: 24px;
  }
  .dev-plans,
  .dev-samples {
    margin-top: 28px;
  }
}

@media (max-width: 479px) {
  .dev-metrics-inner {
    grid-template-columns: 1fr;
  }
  .dev-metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .dev-metric:nth-child(3) {
    border-bottom: 1px solid var(--line);
  }
  .dev-metric:last-child {
    border-bottom: 0;
  }
  .dev-hero-facts {
    flex-direction: column;
    gap: 8px;
  }
}

/* ============================================================
   软件开发栏目页 · 动态效果（仅作用于本页 main，不影响页头页脚）
   ============================================================ */
@keyframes devRise {
  to { opacity: 1; transform: none; }
}
@keyframes devBoardIn {
  from { opacity: 0; transform: translateY(26px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
@keyframes devBarGrow {
  to { transform: scaleX(1); }
}
@keyframes devAurora {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(96px, 54px, 0) scale(1.14); }
}
@keyframes devDotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14,124,134, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(14,124,134, 0); }
}

/* 首屏背景光晕缓慢漂移 */
.dev-hero::before {
  content: "";
  position: absolute;
  left: -160px;
  top: -220px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,124,134, 0.30) 0%, rgba(14,124,134, 0) 66%);
  filter: blur(6px);
  pointer-events: none;
  z-index: 0;
}
html.motion-ready .dev-hero::before {
  animation: devAurora 18s ease-in-out infinite alternate;
}

/* 首屏元素依次上浮 */
html.motion-ready .dev-hero-badge,
html.motion-ready .dev-hero-title,
html.motion-ready .dev-hero .page-banner-lead,
html.motion-ready .dev-hero-facts,
html.motion-ready .dev-hero .page-banner-actions {
  opacity: 0;
  transform: translateY(18px);
  animation: devRise 0.8s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
html.motion-ready .dev-hero-badge { animation-delay: 0.05s; }
html.motion-ready .dev-hero-title { animation-delay: 0.13s; }
html.motion-ready .dev-hero .page-banner-lead { animation-delay: 0.23s; }
html.motion-ready .dev-hero-facts { animation-delay: 0.33s; }
html.motion-ready .dev-hero .page-banner-actions { animation-delay: 0.41s; }

html.motion-ready .dev-board {
  opacity: 0;
  animation: devBoardIn 0.9s 0.30s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}

/* 看板进度条与状态点 */
html.motion-ready .dev-board-bar i {
  transform-origin: left center;
  transform: scaleX(0);
  animation: devBarGrow 1s 0.55s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
html.motion-ready .dev-board-float::before {
  animation: devDotPulse 2.6s 1.2s ease-in-out infinite;
}

/* 滚动入场 */
html.motion-ready main [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.2, 0.7, 0.3, 1);
  transition-delay: var(--rd, 0ms);
}
html.motion-ready main [data-reveal].is-inview {
  opacity: 1;
  transform: none;
}

/* 卡片与条目的轻交互 */
.dev-plan,
.dev-sample,
.dev-assure-item,
.dev-flow .stage {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.dev-plan:hover,
.dev-sample:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(17,36,39, 0.10);
}
.dev-assure-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.30);
  background: rgba(255, 255, 255, 0.10);
}
.dev-flow .stage:hover {
  transform: translateY(-3px);
}
.dev-matrix-icon,
.dev-card .icon-badge,
.dev-assure-item .icon {
  transition: transform 0.25s ease, color 0.25s ease;
}
.dev-matrix-card:hover .dev-matrix-icon,
.dev-card:hover .icon-badge {
  transform: translateY(-2px) rotate(-4deg);
}
.dev-assure-item:hover .icon {
  transform: scale(1.08);
}
.dev-matrix-tags .tag,
.dev-card .tag {
  transition: transform 0.2s ease;
}
.dev-matrix-tags .tag:hover,
.dev-card .tag:hover {
  transform: translateY(-1px);
}
.dev-metric {
  transition: background 0.25s ease;
}
.dev-metric:hover {
  background: linear-gradient(180deg, #ffffff 0%, #f7fafa 100%);
}
.dev-compare tbody tr {
  transition: background 0.2s ease;
}
.dev-compare tbody tr:hover td {
  background: #f7fafa;
}

/* 减少动效偏好：全部还原为静态 */
@media (prefers-reduced-motion: reduce) {
  html.motion-ready .dev-hero-badge,
  html.motion-ready .dev-hero-title,
  html.motion-ready .dev-hero .page-banner-lead,
  html.motion-ready .dev-hero-facts,
  html.motion-ready .dev-hero .page-banner-actions,
  html.motion-ready .dev-board,
  html.motion-ready main [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  html.motion-ready .dev-board-bar i {
    transform: none !important;
    animation: none !important;
  }
  html.motion-ready .dev-hero::before,
  html.motion-ready .dev-board-float::before {
    animation: none !important;
  }
  .dev-plan:hover,
  .dev-sample:hover,
  .dev-assure-item:hover,
  .dev-flow .stage:hover,
  .dev-matrix-card:hover .dev-matrix-icon,
  .dev-card:hover .icon-badge {
    transform: none !important;
  }
}

/* ---------- 控制台 · 告警中心（r-alert-center） ---------- */
.alert-rule-form {
  margin: 18px 0 4px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}
.alert-rule-form h3 {
  margin: 0 0 14px;
  font-size: 15px;
  color: #122326;
}
.alert-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 16px;
  align-items: start;
}
.alert-form-grid .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}
.alert-form-grid .field > span {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}
.alert-form-grid .field > small {
  color: #8a94a6;
  font-size: 12px;
  line-height: 1.5;
}
.alert-form-grid select,
.alert-form-grid input[type="number"] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #122326;
  font: inherit;
}
.alert-form-grid select:focus,
.alert-form-grid input[type="number"]:focus {
  outline: 2px solid rgba(224, 31, 38, 0.18);
  border-color: var(--brand, #e01f26);
}
.alert-enable {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 24px;
  font-size: 13px;
  color: #374151;
}
.alert-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}
.alert-rule-form .field-error {
  margin: 10px 0 0;
  color: #dc2626;
  font-size: 13px;
}
.alert-record-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.alert-record-head h3 { margin: 0; }
.alert-record-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.alert-record-tools select {
  padding: 6px 9px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #122326;
  font: inherit;
}
.alert-table td,
.alert-table th { vertical-align: middle; }
.alert-level {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.alert-level-warn { color: #b45309; background: #dce8e9; }
.alert-level-critical { color: #b91c1c; background: #fee2e2; }
.alert-state-open { color: #b91c1c; background: #fee2e2; }
.alert-state-closed { color: #4b5563; background: #f3f4f6; }
.alert-row-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 900px) {
  .alert-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .alert-form-grid { grid-template-columns: 1fr; }
  .alert-enable { padding-top: 0; }
}

/* ---------- 控制台 · 告警通知方式（r-alert-notify） ---------- */
.alert-channel-field { grid-column: 1 / -1; }
.alert-channel-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.alert-channel-btn {
  min-width: 104px;
  padding: 8px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #374151;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.alert-channel-btn:hover:not(:disabled) {
  border-color: var(--brand, #e01f26);
  color: var(--brand, #e01f26);
}
.alert-channel-btn.is-active {
  border-color: var(--brand, #e01f26);
  background: rgba(224, 31, 38, .06);
  color: var(--brand, #e01f26);
  font-weight: 600;
}
.alert-channel-btn:disabled {
  cursor: not-allowed;
  color: #9ca3af;
  background: #f9fafb;
  border-color: #e5e7eb;
}
.alert-link-btn {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand, #e01f26);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
}
.alert-link-btn[hidden] { display: none; }

/* ============================================================
   域名服务改版（我的域名列表 + 域名详情）
   ============================================================ */
.domain-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 12px;
}
.domain-input,
.domain-select {
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--canvas);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}
.domain-input {
  min-width: 220px;
}
.domain-input:focus,
.domain-select:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--focus);
}
.domain-count {
  margin-left: auto;
  font-size: 13px;
  color: var(--ink-3);
}
.domain-name-cell .domain-link {
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}
.domain-name-cell .domain-link:hover {
  text-decoration: underline;
}
.domain-days {
  font-size: 12px;
  color: var(--ink-3);
}
.domain-days.is-soon {
  color: var(--warning);
  font-weight: 600;
}
.domain-days.is-over {
  color: var(--danger);
  font-weight: 600;
}
.domain-price {
  font-family: var(--font-mono);
  font-size: 13px;
}
.domain-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.domain-actions a {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}
.domain-actions a:hover {
  text-decoration: underline;
}
.domain-more {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-top: 16px;
  background: var(--canvas);
}
.domain-more > summary {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.domain-more > summary::-webkit-details-marker {
  display: none;
}
.domain-more > summary span {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-3);
}
.domain-more[open] > summary {
  border-bottom: 1px solid var(--line);
}
.domain-more-body {
  padding: 16px;
}
.domain-more-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.domain-more-head p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-3);
}
@media (max-width: 640px) {
  .domain-input {
    flex: 1 1 100%;
    min-width: 0;
  }
  .domain-count {
    margin-left: 0;
    width: 100%;
  }
}

/* 域名列表：窄屏保持可读列宽，由容器横向滚动，不压缩单元格 */
#myDomainBusiness table.instance-table {
  min-width: 760px;
}

/* 窄屏：退出登录收为图标按钮，避免文字被挤成竖排 */
@media (max-width: 640px) {
  .console-logout {
    min-width: 36px;
    padding: 6px 8px;
  }
  .console-logout .console-logout-text {
    display: none;
  }
}

/* 窄屏：域名列表改为卡片式堆叠，避免宽表横向滚动 */
@media (max-width: 640px) {
  #myDomainBusiness table.instance-table {
    min-width: 0;
    width: 100%;
  }
  #myDomainBusiness table.instance-table thead {
    display: none;
  }
  #myDomainBusiness table.instance-table tbody tr {
    display: block;
    border: 1px solid var(--line);
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 6px 12px;
  }
  #myDomainBusiness table.instance-table tbody td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 13.5px;
  }
  #myDomainBusiness table.instance-table tbody tr td:last-child {
    border-bottom: 0;
  }
  #myDomainBusiness table.instance-table tbody td::before {
    content: attr(data-label);
    flex: none;
    color: var(--ink-3);
    font-size: 12.5px;
  }
  #myDomainBusiness .domain-name-cell {
    display: block;
  }
  #myDomainBusiness .domain-name-cell::before {
    display: block;
    margin-bottom: 2px;
  }
}

/* ---------- 站内通知：控制台铃铛 + 消息中心 ---------- */
.console-top-actions { position: relative; }
.notify-bell-wrap { position: relative; flex: none; }
.notify-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.notify-bell:hover { color: var(--brand); border-color: var(--brand); background: var(--brand-ghost, #f8fbfb); }
.notify-bell.has-unread { color: var(--brand); border-color: var(--brand); }
.notify-bell .icon { width: 17px; height: 17px; }
.notify-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 9px;
  background: #e5484d;
  color: #fff;
  font-size: 11px;
  line-height: 16px;
  text-align: center;
  font-weight: 700;
}
.notify-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 340px;
  max-width: min(340px, calc(100vw - 32px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(18,71,77, 0.14);
  z-index: 60;
  overflow: hidden;
}
.notify-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.notify-link {
  border: 0;
  background: none;
  color: var(--brand);
  font-size: 12px;
  cursor: pointer;
  padding: 0;
}
.notify-menu-list { max-height: 320px; overflow-y: auto; }
.notify-menu-foot {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
  background: #fafcff;
  color: var(--ink-2);
  font-size: 12px;
  padding: 10px 14px;
  cursor: pointer;
  text-align: center;
}
.notify-menu-foot:hover { color: var(--brand); }
.notify-item {
  display: flex;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  border: 0;
  border-bottom: 1px solid var(--line-soft, #f1f6f7);
  background: #fff;
  cursor: pointer;
  font: inherit;
}
.notify-item:hover { background: #f9fbfc; }
.notify-item-dot {
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 6px;
  border-radius: 50%;
  background: #d3dbe6;
}
.notify-item.unread .notify-item-dot { background: #e5484d; }
.notify-item-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.notify-item-title { font-size: 13px; font-weight: 600; color: var(--ink-1); }
.notify-item.unread .notify-item-title { color: var(--ink-1); }
.notify-item-content {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.notify-item-meta { font-size: 11px; color: var(--ink-4, #9aa6b6); }
.notify-empty { padding: 18px 14px; margin: 0; color: var(--ink-3); font-size: 12px; text-align: center; }
.notify-list { display: flex; flex-direction: column; }
.notify-list .notify-item { border: 1px solid var(--line-soft, #f1f6f7); border-radius: 12px; margin-bottom: 8px; }
.notify-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 0 4px;
}
.notify-page-info { font-size: 12px; color: var(--ink-3); }
@media (max-width: 640px) {
  .notify-menu { width: calc(100vw - 32px); right: -8px; }
}

/* ============================================================
   2026-11-15 页头下拉工作台文字折行修正（r293navpanel）
   现象：云产品分组工作台固定 1020px（<=1279px 为 740px），三栏内文本区约 184px，
        「SwiftIdc • 非法信息拦截（CF）」等长名称被挤成两排。
   处理：工作台相对页头整宽展开，与页头内容左右边距对齐，最大 1360px；
        四栏等宽（每栏等分工作台可用宽度），
        一级条目名称不折行；<=1199px 再收紧栏内边距与图标尺寸。
   说明：四栏配比对应现有板块「云计算 / 云安全 / 域名 / 软件开发」，
        若后台改动板块数量，需同步调整 grid-template-columns。
   ============================================================ */
/* r294domainnav：板块由三栏扩为四栏（云计算 / 云安全 / 域名 / 软件开发）。
   四栏同行并排；工作台左缘与「云产品」导航文字左对齐（nav-trigger 左右内边距 12px），
   宽度由 app.js layoutGroupedNavPanel 按视口剩余空间铺满（上限 1360px）。 */
.nav-item.has-dropdown.is-grouped .nav-dropdown {
  left: -8px;
  width: min(1360px, calc(100vw - var(--nav-panel-left, 250px) - 24px));
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.nav-dropdown-group .dropdown-text strong {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* r294domainnav：四栏等宽后单栏空间更紧，统一收紧栏内留白并收起悬停箭头，
   把宽度还给板块名称（文字过多时仍保留省略号兜底）。 */
.nav-item.has-dropdown.is-grouped .nav-dropdown-group {
  padding: 0 10px 4px;
}
.nav-item.has-dropdown.is-grouped .nav-dropdown-group .dropdown-cell {
  gap: 8px;
}
.nav-item.has-dropdown.is-grouped .nav-dropdown-group .dropdown-arrow {
  display: none;
}
.nav-item.has-dropdown.is-grouped .nav-dropdown-group .dropdown-icon {
  width: 28px;
  height: 28px;
}
.nav-item.has-dropdown.is-grouped .nav-dropdown-group .dropdown-icon .icon {
  width: 15px;
  height: 15px;
}
@media (max-width: 1279px) {
  .nav-item.has-dropdown.is-grouped .nav-dropdown {
    width: min(1360px, calc(100vw - var(--nav-panel-left, 250px) - 24px));
  }
}
@media (max-width: 1199px) {
  .nav-dropdown-group {
    padding: 0 14px 8px;
  }
  .nav-dropdown-group .dropdown-icon {
    width: 36px;
    height: 36px;
  }
  .nav-dropdown-group .dropdown-text strong {
    font-size: 14px;
  }
}

/* r294domainnav：四栏工作台在 1400px 以下宽度更紧，收起悬停箭头与栏内多余留白，
   把省出的空间还给板块名称，避免「SwiftIdc • 非法信息拦截（CF）」等长名称被截断。 */
@media (max-width: 1399px) {
  .nav-dropdown-group {
    padding: 0 10px 4px;
  }
  .nav-dropdown-group .dropdown-cell {
    gap: 8px;
  }
  .nav-dropdown-group .dropdown-arrow {
    display: none;
  }
  /* 四栏等宽后窄视口单栏更紧凑，略降标题字号保证长名称完整 */
  .nav-dropdown-group .dropdown-text strong {
    font-size: 14px;
  }
  .nav-dropdown-group .dropdown-icon {
    width: 28px;
    height: 28px;
  }
  .nav-dropdown-group .dropdown-icon .icon {
    width: 15px;
    height: 15px;
  }
}

/* r294domainnav：1280 级别窄屏四栏等宽后单栏约 234px，标题再降一级字号以完整显示长板块名 */
@media (max-width: 1299px) {
  .nav-item.has-dropdown.is-grouped .nav-dropdown-group .dropdown-text strong {
    font-size: 13px;
  }
}

/* ============================================================
   r287 全站统一暖色体系（把首页已上线的暖色方案推广到全站）
   —— 页头、页脚、板块底色、悬浮组件与主题色保持同一套口径
   追加在 stylesheet 末尾，仅在共享样式层生效，不覆盖既有业务规则
   ============================================================ */
:root{
  --canvas:#fafcfc;
  --canvas-subtle:#e6f3f4;
  --canvas-soft:#f9fbfb;
  --line:#e2e8f0;
  --line-strong:#cbd5e1;
  --shadow-sm:0 1px 2px rgba(8,34,42,.06);
  --shadow-md:0 4px 12px rgba(8,34,42,.08);
  --shadow-lg:0 16px 32px rgba(8,34,42,.14);
}

/* ---------- 页头：与首屏同源的暖白 + 暖色分隔线 + 暖棕阴影 ---------- */
.site-header{
  background:rgba(250,252,252,.92);
  border-bottom-color:rgba(14,124,134,.12);
  box-shadow:0 1px 0 rgba(14,124,134,.05);
}
.site-header.is-scrolled,
.site-header.is-compact.is-scrolled{
  background:rgba(250,252,252,.96);
  box-shadow:0 1px 8px rgba(8,34,42,.06),0 6px 20px rgba(8,34,42,.05);
}
.site-header.is-compact{
  background:rgba(250,252,252,.92);
}

/* ---------- 页头按钮：次级按钮暖色描边，主按钮收紧橙色投影 ---------- */
.nav-actions .btn-secondary{
  border-color:rgba(14,124,134,.22);
  background:rgba(255,255,255,.6);
}
.nav-actions .btn-secondary:hover:not(:disabled){
  background:#e6f3f4;
  border-color:rgba(14,124,134,.35);
}
.nav-actions .btn-primary{
  box-shadow:0 4px 12px rgba(14,124,134,.18);
}
.nav-actions .btn-primary:hover:not(:disabled){
  box-shadow:0 6px 16px rgba(14,124,134,.22);
}
.site-header.is-compact .nav-actions .btn-primary,
.site-header.is-compact .nav-actions .btn-primary:hover:not(:disabled){
  box-shadow:none;
}
.btn-login{color:var(--ink-2)}
.btn-login:hover:not(:disabled){color:var(--brand);background:var(--brand-soft)}

/* ---------- 页脚：深暖棕收口，全站统一 ---------- */
.site-footer{
  background:#08222a;
  border-top:1px solid #24324a;
  color:#d2e1e3;
}
.site-footer a:hover{color:#0e8291}
.site-footer .footer-promises,
.site-footer .footer-main{border-bottom-color:rgba(240,245,245,.14)}
.site-footer .footer-brandbox{border-left-color:rgba(240,245,245,.14)}
.site-footer .fp-ico{background:rgba(255,255,255,.06);border-color:rgba(240,245,245,.18);color:#0e8291}
.site-footer .fp-label{color:#ecf3f4}
.site-footer .footer-col strong{color:#f3f7f8}
.site-footer .footer-col a{color:#bbc7dc}
.site-footer .footer-desc,
.site-footer .footer-subbrand,
.site-footer .fh-label{color:#9aa7bd}
.site-footer .footer-company,
.site-footer .footer-mail{color:#bbc7dc}
.site-footer .fh-number{color:#0e8291}
.site-footer .footer-bottom{color:#8692a8}
/* 品牌图为深色版，深底上留浅色托底保证可识别 */
.site-footer .footer-logo{display:inline-flex;align-items:center;padding:6px 12px;border-radius:8px;background:#f7fafa}

/* ---------- 悬浮组件：在线客服入口与返回顶部 ---------- */
.chat-fab{border-color:rgba(14,124,134,.16);box-shadow:0 10px 26px rgba(8,34,42,.14)}
.chat-fab:hover{border-color:var(--brand)}
.back-to-top{border-color:rgba(14,124,134,.16);box-shadow:0 4px 12px rgba(8,34,42,.12)}
.back-to-top:hover{color:var(--brand);border-color:var(--brand)}

/* ---------- 板块与细节：交替底色、空态工作台、首页首屏渐变 ---------- */
.section-alt{background:var(--canvas-subtle)}
#view-home .home-bm{background:var(--canvas)}
.listing-empty{background:#f8fbfb;border-color:#cfdfe1}
#view-home .hh-hero{background:linear-gradient(168deg,#f9fbfb 0%,#f3f7f8 55%,#e6f3f4 100%)}
#view-home > .section + .section{border-top:1px solid rgba(14,124,134,.10)}
/* r287 补充：页面级白底与交替底的强覆盖，避免各页内联规则回退冷色 */
html body{background:var(--canvas)}
main .section-alt{background:var(--canvas-subtle)}

/* r287 补充：租用/裸金属页面级变量与白底暖化 */
html body.page-rent,html body.page-baremetal-oa{background:var(--canvas)}
body.page-rent{--rent-bg:#f9fbfb;--rent-line:#e2e8f0}

/* ===== r288 下拉菜单分组标题与导航字阶统一 =====
   原来 12.5px/700/0.07em 的宽字距标签，与导航 14–15px、零字距的口径不一致；
   统一为 13px/600/0 字距，分隔线改为暖色，与全站暖色体系一致。 */
.nav-dropdown-group-title{border-bottom-color:var(--line)}
.nav-dropdown-group-name{font-size:13px;font-weight:600;letter-spacing:0}
.nav-dropdown-group-count{padding:1px 6px;line-height:1.5}
@media (max-width:1099px){
  .mobile-menu .mm-group-title{font-size:13px;font-weight:600;letter-spacing:0}
}

.nav-dropdown-group-count{letter-spacing:0}

/* ===== r289 下拉分组标题：字号与颜色对齐导航正文（15px/600/#112427） ===== */
.nav-dropdown-group-name{font-size:15px;font-weight:600;letter-spacing:normal;color:var(--ink);line-height:24px}
.nav-dropdown-group-count{font-size:12px;line-height:1.4}
@media (max-width:1099px){
  .mobile-menu .mm-group-title{font-size:15px;font-weight:600;letter-spacing:normal;color:var(--ink)}
}


/* 首页地图区块视觉优化 v3（2026-11-26）—— 自绘示意，无第三方素材 */
.infra-map > img{display:block}
.infra-pin > i{
  width:9px;height:9px;border-radius:50%;background:#0e7c86;border:1.5px solid #fff;
  box-shadow:0 0 0 3.5px rgba(14,124,134,.09),0 1px 5px rgba(14,124,134,.22);
}
.infra-pin > i::after{inset:-6px;border-color:rgba(14,124,134,.20)}
.infra-pin > span{
  left:24px;border-radius:999px;border:1px solid rgba(220,232,234,.9);
  background:rgba(255,255,255,.86);box-shadow:0 2px 8px rgba(17,36,39,.05);
  color:#4b5462;font-size:10.5px;font-weight:600;letter-spacing:.01em;padding:2px 8px;
}
.infra-pin > span::before{content:"";position:absolute;left:-10px;top:50%;width:9px;height:1px;background:#247a86;transform:translateY(-50%)}
.infra-pin-ah > span,.infra-pin-left > span{left:auto;right:24px}
.infra-pin-ah > span::before,.infra-pin-left > span::before{left:auto;right:-10px}
.infra-map figcaption{border-radius:999px;background:rgba(255,255,255,.74);border-color:#dee9ea;color:#9098a5;font-size:10.5px;padding:2px 9px}

/* SwiftIdc 页脚企业地址 */
.site-footer .footer-address{margin-top:4px;font-size:13px;line-height:1.7;color:inherit;opacity:.72;word-break:break-word}

/* r16：品牌文字按固有宽度显示，禁用 flex 收缩，避免 SwiftIdc 字标右侧被切 */
.brand .brand-word{flex:0 0 auto;white-space:nowrap;display:inline-block;line-height:1}

/* ---- header logo size override (v4) ---- */
.site-header .brand {
  height: 56px;
}
.site-header .brand .brand-mark {
  --logo-header-max-h: 56px;
  max-width: min(300px, 68vw);
}
.site-header .brand .brand-mark img {
  width: auto;
  height: 56px;
  max-width: none;
  max-height: 56px;
  object-fit: contain;
}
@media (max-width: 991px) {
  .site-header .brand { height: 50px; }
  .site-header .brand .brand-mark { --logo-header-max-h: 50px; }
  .site-header .brand .brand-mark img { height: 50px; max-height: 50px; }
}
@media (max-width: 575px) {
  .site-header .brand { height: 44px; }
  .site-header .brand .brand-mark { --logo-header-max-h: 44px; }
  .site-header .brand .brand-mark img { height: 44px; max-height: 44px; }
}
