/* ==========================================================================
   SwiftIdc 国际站 样式·排版刷新 v2
   原则：不改主题色调（浅色画布 + 青绿 #0e7c86 全部沿用）
        只改：① 页头排版结构（三栏：导航｜品牌居中｜动作）
              ② Banner 构图与底图（左右分屏 + 青绿几何，替代原全宽渐变）
              ③ 卡片与标签的样式细节
   与国内版（单行左对齐 + 全宽浅色渐变 + 右侧 ECS 圆/白仪表卡）形成结构差异。
   ========================================================================== */

/* ---------- 1. 页头：三栏居中品牌排版 ---------- */
header.site-header,
header.site-header.is-compact {
  background: rgba(255, 255, 255, .95) !important;
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}
header.site-header.is-scrolled,
header.site-header.is-compact.is-scrolled {
  background: rgba(255, 255, 255, .97) !important;
  border-bottom-color: var(--line-strong);
  box-shadow: 0 6px 24px rgba(17, 36, 39, .06);
}

/* 排版：左导航 · 中品牌 · 右动作 */
header.site-header .nav-wrap,
header.site-header.is-compact .nav-wrap {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: clamp(10px, 1.4vw, 22px);
  min-height: 78px;
  padding-left: clamp(18px, 3vw, 44px);
  padding-right: clamp(18px, 3vw, 44px);
}
header.site-header .brand {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  height: 46px;
}
/* 第 3 栏内：语言选择器靠左、动作按钮靠右，互不重叠（品牌因此真正居中） */
header.site-header .nav-quick-lang,
header.site-header .nav-quick,
header.site-header .nav-quick-phone {
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
}
/* 其余散落的直接子元素一并归位到右侧 */
header.site-header .nav-wrap > *:not(.brand):not(.nav-links):not(.nav-actions):not(.nav-toggle):not(.nav-quick-lang):not(.nav-quick):not(.nav-quick-phone) {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}
/* 中等宽度下右侧空间不足，语言选择器收起（移动端抽屉内仍可切换） */
@media (max-width: 1279px) and (min-width: 992px) {
  header.site-header .nav-quick-lang { display: none !important; }
}
header.site-header .brand .brand-mark { --logo-header-max-h: 46px; }
header.site-header .brand .brand-mark img { height: 46px; max-height: 46px; }

header.site-header .nav-links,
header.site-header.is-compact .nav-links {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  justify-content: flex-start;
  gap: 2px;
  flex: 0 0 auto;
}
header.site-header .nav-actions,
header.site-header.is-compact .nav-actions {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  gap: 8px;
}
header.site-header .nav-toggle { grid-column: 3; grid-row: 1; justify-self: end; }

/* 导航项：深色字 + 青绿下划线，字号略收敛，留白更大 */
header.site-header .nav-links > .nav-link,
header.site-header .nav-trigger,
header.site-header.is-compact .nav-links > .nav-link,
header.site-header.is-compact .nav-trigger {
  height: 42px;
  padding: 0 13px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 999px;
  background: transparent;
}
header.site-header .nav-links > .nav-link:hover,
header.site-header .nav-item.has-dropdown:hover > .nav-trigger,
header.site-header .nav-item.is-open > .nav-trigger {
  color: var(--brand-strong);
  background: var(--brand-soft);
}
header.site-header .nav-links > .nav-link::after,
header.site-header .nav-trigger::after {
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}
header.site-header .nav-caret { color: var(--ink-3); }

/* 动作区：控制台/登录为描边胶囊，注册为品牌实心 */
header.site-header .nav-actions .btn,
header.site-header.is-compact .nav-actions .btn-sm {
  min-height: 38px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
}
header.site-header .nav-actions .btn-secondary,
header.site-header .nav-actions .btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line-strong);
  background: #fff;
  box-shadow: none;
}
header.site-header .nav-actions .btn-secondary:hover,
header.site-header .nav-actions .btn-ghost:hover {
  color: var(--brand-strong);
  border-color: var(--brand-soft-line);
  background: var(--brand-soft);
}
header.site-header .nav-actions .btn-primary {
  color: #fff;
  border: 0;
  background: var(--brand);
  box-shadow: 0 6px 16px rgba(14, 124, 134, .20);
}
header.site-header .nav-actions .btn-primary:hover {
  background: var(--brand-hover);
  box-shadow: 0 8px 20px rgba(14, 124, 134, .26);
}
header.site-header .nav-actions .nav-quick,
header.site-header .nav-actions .nav-quick-lang,
header.site-header .nav-actions .nav-icon-btn {
  color: var(--ink-2);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  height: 38px;
}
header.site-header .nav-actions .nav-quick:hover,
header.site-header .nav-actions .nav-quick-lang:hover,
header.site-header .nav-actions .nav-icon-btn:hover {
  color: var(--brand-strong);
  border-color: var(--brand-soft-line);
  background: var(--brand-soft);
}

/* 下拉工作台：与三栏排版配套的留白与描边 */
header.site-header .nav-dropdown {
  top: calc(100% + 10px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(17, 36, 39, .13), 0 2px 8px rgba(17, 36, 39, .05);
  padding: 18px;
}
header.site-header .nav-dropdown-group-title {
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-bottom: 10px;
}
header.site-header .dropdown-cell { border-radius: 12px; padding: 10px 8px; }
header.site-header .dropdown-cell:hover { background: var(--brand-soft); }
header.site-header .dropdown-icon {
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand);
}
/* 英文/日/韩长名完整显示，不截断 */
header.site-header .nav-dropdown-group .dropdown-text strong,
header.site-header .nav-dropdown .dropdown-text strong {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  display: block;
  line-height: 1.35;
  word-break: break-word;
}
header.site-header .nav-dropdown-group .dropdown-cell { align-items: flex-start; }

/* 移动端抽屉：沿用浅色体系 */
.mobile-menu {
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(17, 36, 39, .10);
}

/* ---------- 2. Banner：左右分屏构图（新底图） ---------- */
.hh-hero,
.cs-hero,
.oa-hero,
.yyb-hero,
.ssl-hero,
.page-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #f7fafb;
  /* 58% 浅色文案区 + 42% 品牌青绿色块 */
  background-image: linear-gradient(90deg,
    #f9fbfc 0%,
    #f2f7f8 57.9%,
    #0e7c86 58%,
    #0a5f68 100%) !important;
  color: var(--ink) !important;
}
/* 右侧色块上的细网格（替代原版装饰） */
.hh-hero::before,
.cs-hero::before,
.oa-hero::before,
.yyb-hero::before,
.ssl-hero::before,
.page-banner::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 42%;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .10) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(130% 100% at 100% 0%, #000 24%, transparent 78%);
  mask-image: radial-gradient(130% 100% at 100% 0%, #000 24%, transparent 78%);
  pointer-events: none;
}
/* 分屏交界处细线，强调"分屏"结构 */
.hh-hero::after,
.cs-hero::after,
.oa-hero::after,
.yyb-hero::after,
.ssl-hero::after,
.page-banner::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 58%;
  width: 1px;
  background: rgba(255, 255, 255, .22);
  pointer-events: none;
}

/* 文案区限宽，避免文字压到右侧色块 */
.hh-hero .hh-copy,
.cs-hero .cs-hero-copy,
.oa-hero .oa-hero-copy,
.yyb-hero .yyb-hero-copy,
.ssl-hero .ssl-hero-copy,
.page-banner .dev-hero-copy { position: relative; z-index: 2; max-width: 58%; }

/* 高度与内边距 */
#view-home .hh-hero { min-height: 520px; }
.hh-hero .hh-wrap,
.cs-hero .cs-hero-inner,
.oa-hero .oa-hero-inner,
.yyb-hero .yyb-hero-inner,
.ssl-hero .ssl-hero-inner,
.page-banner .page-banner-inner {
  padding-top: clamp(48px, 5.6vw, 84px);
  padding-bottom: clamp(44px, 5vw, 76px);
  align-items: center;
}

/* 标题与描述：沿用原深色文字，仅调节奏（字号/字距） */
.hh-hero :is(h1, h2),
.cs-hero h1,
.oa-hero .oa-title,
.yyb-hero .yyb-title,
.ssl-hero .ssl-title,
.page-banner .page-banner-title {
  color: var(--ink);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.14;
  letter-spacing: -.02em;
  font-weight: 700;
}
.hh-hero .hh-lead,
.cs-hero .cs-hero-lead,
.oa-hero .oa-lead,
.yyb-hero .yyb-lead,
.ssl-hero .ssl-lead,
.page-banner .page-banner-lead {
  color: var(--ink-2);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.72;
  max-width: 60ch;
}

/* eyebrow：品牌软底小胶囊（替代原纯文字） */
.hh-hero .hh-eyebrow,
.cs-hero .cs-eyebrow,
.oa-hero .oa-eyebrow,
.yyb-hero .yyb-eyebrow,
.ssl-hero .ssl-eyebrow,
.page-banner .dev-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border: 1px solid var(--brand-soft-line);
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* 按钮：品牌实心 + 白底描边（色调不变） */
.hh-hero .hh-btn,
.cs-hero .cs-btn,
.oa-hero .oa-btn,
.yyb-hero .yyb-btn,
.ssl-hero .btn,
.page-banner .btn {
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
}
.hh-hero .hh-btn--primary,
.cs-hero .cs-btn-primary,
.oa-hero .oa-btn-primary,
.yyb-hero .yyb-btn-primary,
.ssl-hero .btn-primary,
.page-banner .btn-primary {
  color: #fff;
  border: 0;
  background: var(--brand);
  box-shadow: 0 10px 24px rgba(14, 124, 134, .22);
}
.hh-hero .hh-btn--primary:hover,
.cs-hero .cs-btn-primary:hover,
.oa-hero .oa-btn-primary:hover,
.yyb-hero .yyb-btn-primary:hover,
.ssl-hero .btn-primary:hover,
.page-banner .btn-primary:hover { background: var(--brand-hover); }
.hh-hero .hh-btn--ghost,
.cs-hero .cs-btn-ghost,
.oa-hero .oa-btn-ghost,
.yyb-hero .yyb-btn-ghost,
.ssl-hero .btn-secondary,
.page-banner .btn-secondary,
.page-banner .btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line-strong);
  background: #fff;
  box-shadow: none;
}
.hh-hero .hh-btn--ghost:hover,
.cs-hero .cs-btn-ghost:hover,
.oa-hero .oa-btn-ghost:hover,
.yyb-hero .yyb-btn-ghost:hover,
.ssl-hero .btn-secondary:hover,
.page-banner .btn-secondary:hover {
  color: var(--brand-strong);
  border-color: var(--brand-soft-line);
  background: var(--brand-soft);
}

/* 事实标签：白底细描边胶囊，左右内边距对称（修掉文字被边框压住） */
.hh-hero .hh-facts li,
.cs-hero .cs-hero-facts li,
.oa-hero .oa-facts li,
.yyb-hero .yyb-facts li,
.ssl-hero .ssl-facts li,
.page-banner .dev-hero-fact {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 15px 5px 28px !important;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 22px;
  white-space: nowrap;
}
.page-banner .dev-hero-fact { padding-left: 15px !important; }

/* 首页免费权益条 */
#view-home .hh-hero .hh-free {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 6px 16px;
  border: 1px solid var(--brand-soft-line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
}
#view-home .hh-hero .hh-free-tag {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
}
#view-home .hh-hero .hh-free-text strong { color: var(--ink); }
#view-home .hh-hero .hh-free-arrow { color: var(--ink-3); }

/* 右侧装饰：置于青绿色块之上，改用浅色描边/玻璃，不抢文案 */
.hh-hero .hh-aurora { opacity: .35; }
.hh-hero .hh-core,
.yyb-hero .yyb-badge,
.cs-hero .cs-hero-badge {
  background: rgba(255, 255, 255, .14) !important;
  color: #eafcfd !important;
  border: 1px solid rgba(255, 255, 255, .30) !important;
}
.hh-hero .hh-ring { border-color: rgba(255, 255, 255, .26) !important; }
.hh-hero .hh-node,
.yyb-hero .yyb-node {
  color: #eafcfd !important;
  background: rgba(6, 52, 56, .34) !important;
  border: 1px solid rgba(255, 255, 255, .24) !important;
}
.hh-hero .hh-meters,
.yyb-hero .yyb-rack,
.cs-hero .cs-rack { z-index: 1; }
.hh-hero .hh-meters {
  right: 8px !important;
  bottom: 4px !important;
  max-width: none !important;
  background: rgba(6, 52, 56, .42) !important;
  border: 1px solid rgba(255, 255, 255, .22) !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hh-hero .hh-meter,
.hh-hero .hh-meter span { color: rgba(234, 252, 253, .88) !important; }
/* 标签自适应宽度，英文 Bandwidth / Storage 不再被截断 */
.hh-hero .hh-meter span {
  width: auto !important;
  min-width: 52px;
  white-space: nowrap;
}
.hh-hero .hh-meter b { background: rgba(255, 255, 255, .20) !important; width: 84px !important; }
/* 存储节点与仪表卡信息重复，隐藏 */
#view-home .hh-hero .hh-visual .hh-node--2 { display: none !important; }

.cs-hero .cs-rack-unit,
.yyb-hero .yyb-rack-unit,
.oa-hero .oa-rack-unit {
  background: rgba(255, 255, 255, .16) !important;
  border-color: rgba(255, 255, 255, .30) !important;
}

/* 页内锚点条 */
.cs-hero .cs-anchors {
  position: relative;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cs-hero .cs-anchors a { color: var(--ink-3); }
.cs-hero .cs-anchors a.is-active { color: var(--brand-strong); }
.cs-hero .cs-anchors a.is-active::after { background: var(--brand); }

/* ---------- 3. 卡片与区块样式细节 ---------- */
/* 产品线页签：等高 + 副标题占位 */
.plan-tabs {
  align-items: stretch !important;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.plan-tab {
  display: flex !important;
  flex-direction: column;
  justify-content: flex-start !important;
  align-items: flex-start;
  min-height: 76px;
  padding: 8px 6px 14px !important;
  gap: 4px;
  border-radius: 10px 10px 0 0;
}
.plan-tab .pt-name {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  white-space: nowrap;
}
.plan-tab .pt-sub {
  display: block;
  min-height: 20px;
  font-size: 12.5px;
  line-height: 20px;
  color: var(--ink-3);
  white-space: nowrap;
}
.plan-tab:hover { background: var(--canvas-subtle); }
.plan-tab.is-active .pt-name { color: var(--brand-strong); }
.plan-tab::after,
.plan-tab.is-active::after {
  left: 6px; right: 6px; bottom: 0;
  height: 2px;
  background: var(--brand);
}

/* 卡片：统一描边与圆角，底部操作区对齐 */
.cs-plan-card,
.plan-card,
.rent-card,
.bm-card,
.news-card {
  border-radius: 14px;
  border: 1px solid var(--line);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.cs-plan-card:hover,
.rent-card:hover,
.bm-card:hover,
.news-card:hover {
  border-color: var(--brand-soft-line);
  box-shadow: 0 14px 34px rgba(17, 36, 39, .08);
}
.cs-plan-grid, .news-grid, .plan-grid { grid-auto-rows: 1fr; align-items: stretch; }

/* ---------- 4. 响应式 ---------- */
@media (max-width: 1180px) {
  header.site-header .nav-links > .nav-link,
  header.site-header .nav-trigger { padding: 0 10px; font-size: 14px; }
}
@media (max-width: 991px) {
  /* 三栏在窄屏回归常规顺序：品牌左 · 菜单右（抽屉） */
  header.site-header .nav-wrap,
  header.site-header.is-compact .nav-wrap {
    display: flex !important;
    min-height: 66px;
    justify-content: space-between;
  }
  header.site-header .brand { order: 1; height: 42px; justify-self: auto; }
  header.site-header .brand .brand-mark { --logo-header-max-h: 42px; }
  header.site-header .brand .brand-mark img { height: 42px; max-height: 42px; }
  header.site-header .nav-actions { order: 3; }
  header.site-header .nav-toggle { order: 4; }

  /* Banner 分屏改为上下：上文案浅底，下品牌色块收窄 */
  .hh-hero,
  .cs-hero,
  .oa-hero,
  .yyb-hero,
  .ssl-hero,
  .page-banner {
    background-image: linear-gradient(180deg,
      #f9fbfc 0%, #f2f7f8 72%, #0e7c86 72.1%, #0a5f68 100%) !important;
  }
  .hh-hero::before,
  .cs-hero::before,
  .oa-hero::before,
  .yyb-hero::before,
  .ssl-hero::before,
  .page-banner::before {
    top: auto; bottom: 0;
    width: 100%; height: 28%;
  }
  .hh-hero::after,
  .cs-hero::after,
  .oa-hero::after,
  .yyb-hero::after,
  .ssl-hero::after,
  .page-banner::after {
    left: 0; right: 0; top: 72%; bottom: auto;
    width: 100%; height: 1px;
  }
  .hh-hero .hh-copy,
  .cs-hero .cs-hero-copy,
  .oa-hero .oa-hero-copy,
  .yyb-hero .yyb-hero-copy,
  .ssl-hero .ssl-hero-copy,
  .page-banner .dev-hero-copy { max-width: 100%; }
  .hh-hero .hh-visual,
  .cs-hero .cs-hero-art,
  .oa-hero .oa-visual,
  .yyb-hero .yyb-art,
  .ssl-hero .ssl-art { opacity: .5; }
  .hh-hero .hh-meters { display: none !important; }
  #view-home .hh-hero { min-height: 460px; }
  .plan-tab { min-height: 68px; }
  .plan-tab .pt-name { font-size: 15.5px; }
}
@media (max-width: 575px) {
  .hh-hero,
  .cs-hero,
  .oa-hero,
  .yyb-hero,
  .ssl-hero,
  .page-banner {
    background-image: linear-gradient(180deg,
      #f9fbfc 0%, #f2f7f8 80%, #0e7c86 80.1%, #0a5f68 100%) !important;
  }
  .hh-hero::before,
  .cs-hero::before,
  .oa-hero::before,
  .yyb-hero::before,
  .ssl-hero::before,
  .page-banner::before { height: 20%; }
  .hh-hero::after,
  .cs-hero::after,
  .oa-hero::after,
  .yyb-hero::after,
  .ssl-hero::after,
  .page-banner::after { top: 80%; }
  #view-home .hh-hero { min-height: 420px; }
  .hh-hero :is(h1, h2),
  .cs-hero h1,
  .oa-hero .oa-title,
  .yyb-hero .yyb-title,
  .ssl-hero .ssl-title,
  .page-banner .page-banner-title { font-size: clamp(26px, 7.2vw, 34px); }
  .hh-hero .hh-lead,
  .cs-hero .cs-hero-lead,
  .oa-hero .oa-lead,
  .yyb-hero .yyb-lead,
  .ssl-hero .ssl-lead,
  .page-banner .page-banner-lead { font-size: 14.5px; }
  .hh-hero .hh-btn,
  .cs-hero .cs-btn,
  .oa-hero .oa-btn,
  .yyb-hero .yyb-btn,
  .ssl-hero .btn,
  .page-banner .btn { min-height: 44px; padding: 0 20px; font-size: 14px; }
  .hh-hero .hh-facts li,
  .cs-hero .cs-hero-facts li,
  .oa-hero .oa-facts li,
  .yyb-hero .yyb-facts li,
  .ssl-hero .ssl-facts li { font-size: 12.5px; padding: 5px 12px 5px 24px !important; }
  .plan-tabs { gap: 4px; overflow-x: auto; }
  .plan-tab { min-height: 62px; }
  .plan-tab .pt-name { font-size: 14.5px; }
  .plan-tab .pt-sub { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .hh-hero *, .cs-hero *, .oa-hero *, .yyb-hero *, .ssl-hero *, .page-banner * {
    animation: none !important;
    transition: none !important;
  }
}

/* ===== r35（2026-12-01）：页头顺序 / 下拉分组细节 / 首页区块顶部留白 ===== */
@media (min-width: 992px) {
  header.site-header .nav-wrap,
  header.site-header.is-compact .nav-wrap {
    display: flex !important;
    align-items: center;
    column-gap: 0;
  }
  /* 品牌固定整行最左，导航紧随其后，动作与语言靠右 */
  header.site-header .nav-wrap > * { order: 3; }
  header.site-header .nav-wrap > .brand {
    order: 1 !important;
    margin-left: 0 !important;
    margin-right: 20px !important;
    justify-self: auto !important;
    flex: 0 0 auto;
  }
  header.site-header .nav-wrap > .nav-links {
    order: 2;
    margin-right: auto;
    margin-left: 0;
  }
  header.site-header .nav-wrap > .nav-actions { order: 3; margin-left: 0; }
  header.site-header .nav-wrap > .yy-lang-inline,
  header.site-header .nav-wrap > #yy-locale-switcher {
    order: 4 !important;
    margin-left: 12px !important;
    margin-right: 0 !important;
    position: static !important;
    flex: 0 0 auto;
  }
  header.site-header .nav-wrap > .nav-toggle { order: 5; margin-left: 8px; }
}
/* 下拉：分组计数徽标与分组副标题（DOM 实际类名） */
header.site-header .nav-dropdown-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
header.site-header .nav-dropdown-group-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
}
header.site-header .nav-dropdown-group-desc {
  margin: -2px 0 10px;
  color: var(--ink-3);
  font-size: 12.5px;
  line-height: 1.5;
}
/* 首页区块：顶部留白由各区块自身承载，区块间距保持 84px 不变 */
#view-home > .section {
  padding-top: 84px;
  padding-bottom: 0;
}
#view-home > .section:last-of-type {
  padding-bottom: 84px;
}
@media (max-width: 900px) {
  #view-home > .section { padding-top: 56px; padding-bottom: 0; }
  #view-home > .section:last-of-type { padding-bottom: 56px; }
}

/* ===== r37（2026-12-01）产品工作台：r39 放大版（更宽、更大字号、更舒展） =====
   左侧分组导航列 + 右侧卡片面板；本次把画布从 920px 放大到 1160px，
   rail 由 232px 加到 272px，卡片补 20px 内边距与 44px 图标，标题 18/16px，整体更大气。 */
header.site-header .nav-dropdown.nd-rail-mode {
  width: min(1160px, calc(100vw - 112px)) !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 22px;
  display: block !important;
  grid-template-columns: none !important;
  border: 1px solid rgba(17, 36, 39, .08) !important;
  background: #fff !important;
  box-shadow: 0 40px 96px rgba(17, 36, 39, .17), 0 8px 24px rgba(17, 36, 39, .06) !important;
}
header.site-header .nav-dropdown.nd-rail-mode::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand) 0%, #2f9eab 38%, rgba(47, 158, 171, 0) 100%);
}
header.site-header .nd-shell {
  display: flex;
  align-items: stretch;
  min-height: 328px;
}
header.site-header .nd-rail {
  flex: 0 0 272px;
  width: 272px;
  background: linear-gradient(180deg, #f6fafb 0%, #eef4f5 100%);
  border-right: 1px solid rgba(17, 36, 39, .07);
  padding: 26px 18px 20px;
}
header.site-header .nd-rail-head {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  margin: 0 12px 14px;
  text-transform: uppercase;
}
header.site-header .nd-rail-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 13px 16px;
  margin-bottom: 4px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink-2);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: background-color .16s, color .16s, box-shadow .16s;
}
header.site-header .nd-rail-item:hover {
  background: rgba(255, 255, 255, .8);
  color: var(--brand-strong);
}
header.site-header .nd-rail-item.is-active {
  background: #fff;
  color: var(--brand-strong);
  box-shadow: 0 6px 18px rgba(14, 124, 134, .10);
}
header.site-header .nd-rail-item.is-active::before {
  content: "";
  position: absolute;
  left: 0; top: 11px; bottom: 11px;
  width: 3px;
  border-radius: 3px;
  background: var(--brand);
}
header.site-header .nd-rail-count {
  flex: 0 0 auto;
  min-width: 24px;
  padding: 2px 9px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
header.site-header .nd-rail-item.is-active .nd-rail-count {
  background: var(--brand-soft);
  border-color: var(--brand-soft-line);
  color: var(--brand-strong);
}
header.site-header .nd-body {
  flex: 1 1 auto;
  min-width: 0;
  padding: 30px 34px 14px;
}
header.site-header .nd-panel-head {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
header.site-header .nd-panel-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.3;
}
header.site-header .nd-panel-desc {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-3);
}
header.site-header .nd-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
header.site-header .nd-grid .dropdown-cell {
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: border-color .16s, background-color .16s, box-shadow .16s, transform .16s;
}
header.site-header .nd-grid .dropdown-cell:hover {
  border-color: var(--brand-soft-line);
  background: var(--brand-soft);
  box-shadow: 0 14px 30px rgba(14, 124, 134, .13);
  transform: translateY(-2px);
}
header.site-header .nav-dropdown.nd-rail-mode .nd-grid .dropdown-cell .dropdown-icon {
  flex: 0 0 44px;
  width: 44px !important;
  height: 44px !important;
  border-radius: 13px !important;
}
header.site-header .nav-dropdown.nd-rail-mode .nd-grid .dropdown-cell .dropdown-icon .icon {
  width: 22px !important;
  height: 22px !important;
}
header.site-header .nd-grid .dropdown-text strong {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}
header.site-header .nd-grid .dropdown-text span {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-3);
}
header.site-header .nd-grid .dropdown-cell .dropdown-arrow {
  opacity: 0;
  transform: none;
  transition: opacity .16s;
}
header.site-header .nd-grid .dropdown-cell:hover .dropdown-arrow { opacity: 1; }
header.site-header .nav-dropdown.nd-rail-mode .nav-dropdown-footer {
  margin: 0;
  padding: 15px 34px;
  border-top: 1px solid var(--line);
  background: #fff;
  border-radius: 0;
  font-size: 13px;
}
@media (max-width: 1279px) {
  header.site-header .nd-rail { flex-basis: 228px; width: 228px; padding: 20px 14px 16px; }
  header.site-header .nd-rail-item { font-size: 14.5px; padding: 11px 13px; }
  header.site-header .nd-body { padding: 22px 24px 10px; }
  header.site-header .nd-panel-title { font-size: 16.5px; }
  header.site-header .nd-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  header.site-header .nd-grid .dropdown-cell { padding: 16px; min-height: 80px; }
  header.site-header .nd-grid .dropdown-text span { display: none; }
}

/* ===== r40（2026-12-01）：繁中结算货币切换（台币 / 港币）+ 实时汇率提示 ===== */
header.site-header .yy-cur-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  padding: 0 6px;
  margin-right: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  flex: 0 0 auto;
}
header.site-header .yy-cur-toggle button {
  border: 0;
  background: transparent;
  height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink-3);
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
header.site-header .yy-cur-toggle button:hover { color: var(--brand-strong); background: var(--brand-soft); }
header.site-header .yy-cur-toggle button.is-active {
  background: var(--brand-soft);
  color: var(--brand-strong);
}
header.site-header .yy-cur-rate {
  padding: 0 8px 0 2px;
  font-size: 11.5px;
  line-height: 1.2;
  color: var(--ink-3);
  white-space: nowrap;
}
header.site-header .yy-cur-rate b { color: var(--ink-2); font-weight: 600; }
@media (max-width: 1279px) {
  header.site-header .yy-cur-rate { display: none; }
}
@media (max-width: 991px) {
  header.site-header .yy-cur-toggle { display: none; }
}

/* ===== r41（2026-12-01）：结算货币切换并入页头后收敛宽度，避免挤压语言选择器 ===== */
header.site-header .nav-wrap { gap: 10px; }
header.site-header .nav-links { min-width: 0; flex-shrink: 1; }
header.site-header .nav-actions { flex: 0 0 auto; gap: 8px; }
header.site-header .yy-lang-inline { flex: 0 0 auto; }
header.site-header .yy-cur-toggle { height: 36px; padding: 0 4px; margin-right: 2px; }
header.site-header .yy-cur-toggle button { height: 28px; padding: 0 9px; font-size: 12.5px; }
header.site-header .yy-cur-rate { display: none; }
@media (min-width: 1600px) {
  header.site-header .yy-cur-rate { display: block; padding: 0 6px 0 2px; }
}
@media (max-width: 1439px) {
  header.site-header .nav-actions .nav-ghost { display: none; }
}
