/* =========================================================
   FB体育主站 · 共享样式 / assets/site.css
   竞技场深蓝黑 + 电子记分牌双隐喻
   ========================================================= */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  padding-left: var(--rail-w);
  min-height: 100vh;
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(43, 245, 196, .10), transparent 62%),
    radial-gradient(760px 520px at 4% 14%, rgba(255, 138, 61, .07), transparent 60%),
    radial-gradient(900px 700px at 50% 108%, rgba(28, 43, 77, .55), transparent 70%),
    var(--arena);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
  overflow-wrap: break-word;
  word-break: normal;
  line-break: strict;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 6px;
}

[hidden] { display: none !important; }

main {
  display: block;
  padding-top: clamp(96px, 13vw, 132px);
}

/* ---------- 变量 ---------- */
:root {
  --arena: #060B14;
  --track: #101B33;
  --line: #1C2B4D;
  --signal: #2BF5C4;
  --signal-soft: #8DFBE0;
  --rank: #FF8A3D;
  --rank-soft: #FFC46B;
  --paper: #EAF1FF;
  --slate: #C3D0E8;
  --glass: rgba(20, 32, 58, .72);

  --rail-w: 76px;
  --wrap: 1200px;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --ease: cubic-bezier(.2, .8, .2, 1);

  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
  --font-display: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Barlow Condensed", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.grid {
  display: grid;
  gap: clamp(16px, 2vw, 26px);
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.grid--split {
  grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
  align-items: start;
}

/* ---------- 跳过链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: calc(var(--rail-w) + 14px);
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--signal);
  color: #04140F;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform .18s var(--ease);
}

.skip-link:focus { transform: translateY(0); }

/* =========================================================
   头部 —— 品牌轨道 + 悬浮胶囊
   ========================================================= */
.site-header { position: relative; z-index: 90; }

/* --- 左侧品牌轨道 --- */
.brand-rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 22px 0 26px;
  background: linear-gradient(180deg, rgba(16, 27, 51, .96) 0%, rgba(10, 17, 32, .97) 48%, rgba(6, 11, 20, .99) 100%);
  border-right: 1px solid var(--line);
  z-index: 100;
}

.rail-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--paper);
}

.rail-logo__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--signal) 0%, var(--signal-soft) 100%);
  color: #04140F;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 0 0 1px rgba(43, 245, 196, .35), 0 10px 26px rgba(43, 245, 196, .22);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}

.rail-logo:hover .rail-logo__mark {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(43, 245, 196, .7), 0 12px 32px rgba(43, 245, 196, .34);
}

.rail-logo__text {
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--slate);
}

.rail-tick {
  width: 1px;
  flex: 1 1 auto;
  min-height: 22px;
  background: linear-gradient(180deg, transparent 0%, var(--line) 18%, var(--line) 82%, transparent 100%);
}

.rail-round {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px;
  border-radius: 14px;
  border: 1px solid rgba(43, 245, 196, .3);
  background: rgba(43, 245, 196, .07);
}

.rail-round__label {
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: .28em;
  color: var(--slate);
}

.rail-round__value {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--signal);
  font-variant-numeric: tabular-nums;
}

.rail-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(28, 43, 77, .4);
  color: var(--slate);
  cursor: pointer;
  transition: color .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}

.rail-top:hover {
  color: var(--signal);
  border-color: rgba(43, 245, 196, .5);
  background: rgba(43, 245, 196, .1);
}

.site-header[data-scrolled] .rail-top {
  color: var(--signal);
  border-color: rgba(43, 245, 196, .45);
}

.rail-top__icon { font-size: 14px; line-height: 1; }

.rail-top__text {
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: .24em;
}

/* --- 悬浮胶囊导航 --- */
.nav-shell {
  position: fixed;
  top: 16px;
  left: calc(var(--rail-w) + 16px);
  right: 16px;
  z-index: 95;
  pointer-events: none;
}

.nav-capsule {
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 16px);
  max-width: var(--wrap);
  margin-left: auto;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 18px 46px rgba(2, 6, 14, .5);
  transition: padding .24s var(--ease), background .24s var(--ease);
}

.site-header[data-scrolled] .nav-capsule {
  padding: 6px 10px;
  background: rgba(12, 21, 39, .92);
}

.nav-brand {
  display: none;
  align-items: center;
  padding: 0 6px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--signal);
  text-decoration: none;
}

.site-header[data-scrolled] .nav-brand { display: inline-flex; }

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.primary-nav__link {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--slate);
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
}

.primary-nav__link:hover {
  color: var(--paper);
  background: rgba(43, 245, 196, .09);
}

.primary-nav__link[aria-current="page"] {
  color: var(--signal);
  background: rgba(43, 245, 196, .10);
  box-shadow: inset 0 0 0 1px rgba(43, 245, 196, .55);
}

.nav-round {
  flex: 0 0 auto;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 138, 61, .42);
  background: rgba(255, 138, 61, .1);
  color: var(--rank-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(43, 245, 196, .08);
  color: var(--paper);
  font-size: 13px;
  cursor: pointer;
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s var(--ease), top .2s var(--ease), bottom .2s var(--ease);
}

.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }

.site-header[data-open] .nav-toggle__bars::before { top: 4px; transform: rotate(45deg); }
.site-header[data-open] .nav-toggle__bars::after { bottom: 4px; transform: rotate(-45deg); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s var(--ease), background .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}

.btn--primary {
  background: linear-gradient(140deg, var(--signal) 0%, var(--signal-soft) 100%);
  color: #04140F;
  box-shadow: 0 10px 26px rgba(43, 245, 196, .22);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(43, 245, 196, .32);
}

.btn--ghost {
  background: rgba(43, 245, 196, .06);
  border-color: var(--line);
  color: var(--paper);
}

.btn--ghost:hover {
  border-color: rgba(43, 245, 196, .5);
  color: var(--signal);
  background: rgba(43, 245, 196, .1);
}

.btn--sm {
  padding: 7px 14px;
  font-size: 12.5px;
}

/* =========================================================
   通用内容组件
   ========================================================= */
.eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--signal);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 clamp(20px, 3vw, 32px);
}

.section-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--paper);
}

.section-head__desc {
  max-width: 46ch;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--slate);
}

.index-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(56px, 12vw, 180px);
  line-height: .8;
  letter-spacing: -.04em;
  color: rgba(43, 245, 196, .12);
  user-select: none;
  pointer-events: none;
}

.card {
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(16, 27, 51, .92) 0%, rgba(9, 16, 30, .94) 100%);
}

.card__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--paper);
}

.card__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--slate);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(28, 43, 77, .42);
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--slate);
  white-space: nowrap;
}

.chip--signal {
  color: var(--signal);
  border-color: rgba(43, 245, 196, .45);
  background: rgba(43, 245, 196, .1);
}

.chip--rank {
  color: var(--rank-soft);
  border-color: rgba(255, 138, 61, .42);
  background: rgba(255, 138, 61, .1);
}

.prose {
  max-width: 70ch;
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--slate);
}

.prose p { margin: 0 0 1.2em; }
.prose p:last-child { margin-bottom: 0; }
.prose h2,
.prose h3 { margin: 1.6em 0 .6em; color: var(--paper); letter-spacing: -.01em; line-height: 1.3; }
.prose h2 { font-size: clamp(20px, 2.4vw, 28px); }
.prose h3 { font-size: 18px; }
.prose strong { color: var(--paper); }
.prose a { color: var(--signal); text-decoration: none; border-bottom: 1px solid rgba(43, 245, 196, .4); }

.aside-note {
  padding: 2px 0 2px 14px;
  border-left: 2px solid var(--signal);
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
}

.aside-note__title {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--paper);
}

.stat {
  display: grid;
  gap: 4px;
}

.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-size: 11.5px;
  letter-spacing: .18em;
  color: var(--slate);
  text-transform: uppercase;
}

.stat__delta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--rank);
  font-variant-numeric: tabular-nums;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  color: var(--slate);
}

.data-table th,
.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.data-table th {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--slate);
}

.data-table .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}

/* ---------- 面包屑 ---------- */
.breadcrumb { margin: 0 0 18px; }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--slate);
}

.breadcrumb__item { display: inline-flex; align-items: center; gap: 8px; }

.breadcrumb__item:not(:last-child)::after {
  content: "/";
  color: var(--line);
}

.breadcrumb__link {
  color: var(--slate);
  text-decoration: none;
  transition: color .18s var(--ease);
}

.breadcrumb__link:hover { color: var(--signal); }

/* ---------- 筛选胶囊 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}

.filter-chip {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(16, 27, 51, .62);
  color: var(--slate);
  font-size: 13px;
  cursor: pointer;
  transition: color .18s var(--ease), background .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
}

.filter-chip:hover {
  color: var(--paper);
  border-color: rgba(43, 245, 196, .4);
  transform: translateY(-1px);
}

.filter-chip[aria-pressed="true"] {
  color: #04140F;
  border-color: transparent;
  background: linear-gradient(140deg, var(--signal) 0%, var(--signal-soft) 100%);
  box-shadow: 0 8px 20px rgba(43, 245, 196, .2);
}

.empty-state {
  margin: 0;
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--line);
  font-size: 14px;
  text-align: center;
  color: var(--slate);
}

/* ---------- 复制按钮 ---------- */
.copy-btn {
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(16, 27, 51, .72);
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
  transition: color .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}

.copy-btn:hover { border-color: rgba(43, 245, 196, .55); background: rgba(43, 245, 196, .1); }

.copy-btn[data-copied="true"] {
  color: var(--rank-soft);
  border-color: rgba(255, 138, 61, .5);
  background: rgba(255, 138, 61, .1);
}

/* ---------- 响应式图片容器 ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background:
    linear-gradient(150deg, #0B1424 0%, #0E1A2E 55%, #101F36 100%);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 120% at 50% 0%, transparent 38%, rgba(4, 8, 16, .66) 100%),
    linear-gradient(140deg, rgba(43, 245, 196, .08) 0%, transparent 46%);
}

.media-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame__caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--slate);
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }

.media-frame--cut {
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
}

/* =========================================================
   页脚
   ========================================================= */
.site-footer {
  margin-top: clamp(56px, 8vw, 110px);
  padding-top: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 27, 51, .18) 0%, rgba(16, 27, 51, .72) 42%, rgba(6, 11, 20, 1) 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1.25fr;
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(28px, 4vw, 48px);
}

.footer-brand { display: grid; gap: 10px; align-content: start; }

.footer-brand__mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--signal) 0%, var(--signal-soft) 100%);
  color: #04140F;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(43, 245, 196, .3), 0 10px 26px rgba(43, 245, 196, .2);
}

.footer-brand__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--paper);
}

.footer-brand__desc {
  max-width: 28ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
}

.footer-brand .btn { justify-self: start; margin-top: 4px; }

.footer-col { display: grid; gap: 10px; align-content: start; }

.footer-col__title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--signal);
}

.footer-col__title--sub { margin-top: 14px; color: var(--slate); }

.footer-col__list { display: grid; gap: 8px; }

.footer-col__link {
  font-size: 14px;
  color: var(--slate);
  text-decoration: none;
  transition: color .18s var(--ease), padding-left .18s var(--ease);
}

.footer-col__link:hover {
  color: var(--signal);
  padding-left: 4px;
}

.footer-rounds__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.footer-round {
  padding: 4px 9px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
  font-variant-numeric: tabular-nums;
}

.footer-round--current {
  border-color: transparent;
  background: linear-gradient(140deg, var(--signal) 0%, var(--signal-soft) 100%);
  color: #04140F;
  font-weight: 700;
}

.footer-address {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  font-style: normal;
}

.footer-address__line {
  display: grid;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--slate);
  word-break: break-word;
}

.footer-address__label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: .18em;
  color: rgba(195, 208, 232, .62);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 26px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--slate);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-legal__link {
  color: var(--slate);
  text-decoration: none;
  transition: color .18s var(--ease);
}

.footer-legal__link:hover { color: var(--signal); }

.footer-legal__sep { color: var(--line); }

.footer-icp {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(195, 208, 232, .78);
}

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1180px) {
  .primary-nav__link { padding: 7px 9px; font-size: 13px; }
  .nav-actions .btn--sm { padding: 6px 11px; font-size: 12px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  body {
    padding-left: 0;
    padding-bottom: 84px;
  }

  main { padding-top: clamp(88px, 18vw, 112px); }

  .brand-rail {
    inset: auto 12px 12px 12px;
    width: auto;
    height: 58px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border-right: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--glass);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    box-shadow: 0 18px 44px rgba(2, 6, 14, .55);
  }

  .rail-logo { flex-direction: row; gap: 8px; }
  .rail-logo__mark { width: 32px; height: 32px; border-radius: 11px; font-size: 12px; }
  .rail-logo__text { writing-mode: horizontal-tb; font-size: 12px; letter-spacing: .1em; }

  .rail-tick { display: none; }

  .rail-round {
    flex-direction: row;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
  }
  .rail-round__label { writing-mode: horizontal-tb; font-size: 11px; letter-spacing: .12em; }

  .rail-top { flex-direction: row; padding: 7px 10px; border-radius: 999px; }
  .rail-top__text { writing-mode: horizontal-tb; font-size: 11px; letter-spacing: .12em; }

  .nav-shell { left: 12px; right: 12px; top: 12px; }
  .nav-capsule { padding: 8px 10px; gap: 8px; }

  .nav-toggle { display: inline-flex; }

  .nav-brand,
  .site-header[data-scrolled] .nav-brand { display: none; }

  .nav-round { display: none; }

  .primary-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    padding: 10px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(10, 18, 34, .97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 26px 64px rgba(2, 6, 14, .62);
  }

  .site-header[data-open] .primary-nav { display: block; }

  .primary-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }

  .primary-nav__link {
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 15px;
    white-space: normal;
  }

  .grid--split,
  .grid--2 { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav-actions .btn--ghost { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section-head { align-items: flex-start; }
}

@media (max-width: 420px) {
  .nav-toggle__label { display: none; }
  .footer-address__line { font-size: 12px; }
}

/* ---------- 焦点与动效降级 ---------- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
