/* =========================================================
   /assets/site.css · 八方体育站 共享外壳样式
   夜间赛事控制室 · 框架式侧轨导航 · 记分牌网格
   ========================================================= */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body, h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote, dl, dd, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
p { text-wrap: pretty; }

:root {
  /* 色彩 */
  --pitch-ink: #061713;
  --tunnel-green: #0B2A20;
  --board-green: #123B2E;
  --grid-mint: #1E5A45;
  --lime-signal: #C9FF3F;
  --lime-soft: #E6FFA3;
  --amber-card: #FFB020;
  --red-card: #FF4D4D;
  --chalk-white: #F3FFF9;
  --mist-slate: #9DB8AC;

  /* 结构 */
  --rail-w: 88px;
  --topbar-h: 66px;
  --pad-x: clamp(18px, 4vw, 56px);
  --gap: clamp(16px, 2vw, 28px);
  --maxw: 1180px;

  /* 圆角 */
  --r-lg: 28px;
  --r-md: 16px;
  --r-sm: 10px;
  --r-pill: 999px;

  /* 线 */
  --line: 1px solid rgba(30, 90, 69, 0.9);
  --line-soft: 1px solid rgba(30, 90, 69, 0.55);

  /* 字体 */
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 动效 */
  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
}

/* ---------------- 页面基底 ---------------- */

body {
  min-height: 100vh;
  padding-left: var(--rail-w);
  background-color: var(--pitch-ink);
  background-image:
    radial-gradient(900px 480px at 84% -8%, rgba(201, 255, 63, 0.10), transparent 62%),
    radial-gradient(760px 540px at 4% 108%, rgba(30, 90, 69, 0.42), transparent 66%),
    linear-gradient(rgba(30, 90, 69, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 90, 69, 0.16) 1px, transparent 1px);
  background-size: auto, auto, 96px 96px, 96px 96px;
  background-attachment: fixed, fixed, scroll, scroll;
  color: var(--chalk-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--chalk-white);
}
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.06; }
h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.16; }
h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.3; }

::selection { background: var(--lime-signal); color: var(--pitch-ink); }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--lime-signal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------- 通用容器 ---------------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.main { display: block; }

.section { padding-block: clamp(44px, 6vw, 88px); }

.prose { max-width: 68ch; color: #D6E9E0; }
.prose p + p { margin-top: 18px; }
.prose h2 { margin-top: 40px; margin-bottom: 14px; }
.prose h3 { margin-top: 28px; margin-bottom: 10px; }
.prose ul { margin-top: 16px; display: grid; gap: 10px; }
.prose li { padding-left: 20px; position: relative; }
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 1px;
  background: var(--lime-signal);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.rule {
  display: block;
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--lime-signal), rgba(30, 90, 69, 0.2) 70%, transparent);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime-signal);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

/* ---------------- 栅格 ---------------- */

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ---------------- 按钮 ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease),
    border-color 0.16s var(--ease), transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.btn--lime {
  background: var(--lime-signal);
  color: var(--pitch-ink);
  box-shadow: 0 8px 24px rgba(201, 255, 63, 0.16);
}
.btn--lime:hover { background: var(--lime-soft); transform: translateY(-2px); }
.btn--ghost {
  border-color: var(--grid-mint);
  color: var(--chalk-white);
}
.btn--ghost:hover { border-color: var(--lime-signal); color: var(--lime-signal); }
.btn--quiet { color: var(--lime-soft); padding-inline: 0; }
.btn--quiet:hover { color: var(--lime-signal); }

/* ---------------- 状态胶囊 ---------------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  border: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  white-space: nowrap;
}
.pill--live { color: var(--lime-signal); }
.pill--soon { color: var(--amber-card); }
.pill--risk { color: var(--red-card); }
.pill--muted { color: var(--mist-slate); }

/* ---------------- 面包屑 ---------------- */

.breadcrumbs { padding-block: 24px 0; }
.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist-slate);
}
.breadcrumbs__item { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  color: var(--grid-mint);
}
.breadcrumbs__link { color: var(--mist-slate); transition: color 0.16s var(--ease); }
.breadcrumbs__link:hover { color: var(--lime-signal); }
.breadcrumbs__current { color: var(--chalk-white); }

/* ---------------- 图片容器 ---------------- */

.figure {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--board-green);
  border: 1px solid var(--grid-mint);
}
.figure__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--board-green), var(--tunnel-green) 70%),
    var(--board-green);
}
.figure__media img { width: 100%; height: 100%; object-fit: cover; }
.figure__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 23, 19, 0) 38%, rgba(6, 23, 19, 0.78));
}
.figure__caption {
  padding: 14px 18px;
  border-top: 1px solid rgba(30, 90, 69, 0.6);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--mist-slate);
}
.figure--wide .figure__media { aspect-ratio: 21 / 9; }
.figure--tall .figure__media { aspect-ratio: 4 / 5; }

/* =========================================================
   头部外壳
   ========================================================= */

.site-header { position: relative; z-index: 100; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 200;
  padding: 11px 22px;
  border-radius: var(--r-pill);
  background: var(--lime-signal);
  color: var(--pitch-ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transform: translate(-50%, -180%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

.scroll-progress {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  right: 0;
  height: 3px;
  width: 0;
  z-index: 130;
  pointer-events: none;
  background: linear-gradient(90deg, var(--lime-signal), var(--lime-soft));
  box-shadow: 0 0 16px rgba(201, 255, 63, 0.55);
  transition: width 0.1s linear;
}

/* --- 回访提示条 --- */

.returning-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px var(--pad-x);
  background: linear-gradient(90deg, rgba(201, 255, 63, 0.16), rgba(11, 42, 32, 0.92) 42%, rgba(11, 42, 32, 0.96));
  border-bottom: 1px solid rgba(201, 255, 63, 0.3);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--lime-soft);
}
.returning-bar[hidden] { display: none; }

.returning-bar__ping {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber-card);
  box-shadow: 0 0 0 0 rgba(255, 176, 32, 0.7);
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(255, 176, 32, 0.65); }
  70% { box-shadow: 0 0 0 8px rgba(255, 176, 32, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 176, 32, 0); }
}

.returning-bar__text { flex: 1 1 auto; min-width: 0; }

.returning-bar__cta {
  flex: 0 0 auto;
  color: var(--lime-signal);
  border-bottom: 1px solid rgba(201, 255, 63, 0.55);
  padding-bottom: 1px;
}
.returning-bar__cta:hover { color: var(--chalk-white); border-color: var(--chalk-white); }

.returning-bar__close {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(201, 255, 63, 0.35);
  color: var(--lime-soft);
  font-size: 11px;
  line-height: 1;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease);
}
.returning-bar__close:hover { background: var(--lime-signal); color: var(--pitch-ink); }

/* --- 顶部框架导航 --- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(6, 23, 19, 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: var(--line);
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 24px);
  height: var(--topbar-h);
  padding-inline: var(--pad-x);
  max-width: calc(var(--maxw) + var(--pad-x) * 2);
  margin-inline: auto;
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.topbar__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--lime-signal);
  color: var(--pitch-ink);
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  box-shadow: 0 0 0 1px rgba(201, 255, 63, 0.35), 0 6px 18px rgba(201, 255, 63, 0.16);
}

.topbar__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.topbar__wordmark-sub {
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--mist-slate);
  margin-top: 4px;
}

/* --- 主导航 --- */

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

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

.nav__link {
  display: block;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--mist-slate);
  white-space: nowrap;
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease);
}
.nav__link:hover { color: var(--chalk-white); background: rgba(30, 90, 69, 0.62); }
.nav__link[aria-current="page"] {
  background: var(--lime-signal);
  color: var(--pitch-ink);
  font-weight: 700;
}

.nav__sticky-first {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 10px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(201, 255, 63, 0.5);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: var(--lime-soft);
  white-space: nowrap;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.nav__sticky-first::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber-card);
  flex: 0 0 auto;
}
.nav__sticky-first:hover {
  background: rgba(201, 255, 63, 0.14);
  border-color: var(--lime-signal);
  color: var(--lime-signal);
}

.topbar__aux { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }

/* --- 移动导航按钮 --- */

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  border: 1px solid var(--grid-mint);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--lime-soft);
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease);
}
.nav-toggle:hover { border-color: var(--lime-signal); color: var(--lime-signal); }

.nav-toggle__bars { display: grid; gap: 3px; width: 16px; }
.nav-toggle__bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s var(--ease), opacity 0.18s var(--ease);
}
.site-header[data-open] .nav-toggle__bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle__bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav-toggle__label { line-height: 1; }

/* --- 左侧品牌轨道 --- */

.rail {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--rail-w);
  z-index: 115;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 18px 0 22px;
  background: linear-gradient(180deg, var(--tunnel-green), var(--pitch-ink) 72%);
  border-right: var(--line);
}
.rail::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -1px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--lime-signal), transparent);
  opacity: 0.55;
}

.rail__logo {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--lime-signal);
  color: var(--pitch-ink);
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
  box-shadow: 0 0 0 1px rgba(201, 255, 63, 0.3), 0 10px 26px rgba(201, 255, 63, 0.16);
}

.rail__oct { display: block; }

.rail__name {
  writing-mode: vertical-rl;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.42em;
  color: var(--chalk-white);
  line-height: 1;
}

.rail__rule {
  display: block;
  width: 1px;
  flex: 1 1 auto;
  min-height: 24px;
  background: linear-gradient(180deg, var(--grid-mint), transparent);
}

.rail__section {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  line-height: 1;
  color: var(--lime-signal);
  padding-top: 14px;
  border-top: 1px solid var(--grid-mint);
  max-height: 190px;
  overflow: hidden;
}

/* --- 移动端底部快捷条 --- */

.thumb-bar { display: none; }

/* =========================================================
   页脚
   ========================================================= */

.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 120px);
  background: linear-gradient(180deg, var(--tunnel-green), #041210 78%);
  border-top: 1px solid rgba(201, 255, 63, 0.35);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--lime-signal), rgba(201, 255, 63, 0) 62%);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.35fr 0.9fr;
  gap: clamp(24px, 3vw, 48px);
  padding: clamp(40px, 5vw, 64px) var(--pad-x) clamp(28px, 3vw, 40px);
  max-width: calc(var(--maxw) + var(--pad-x) * 2);
  margin-inline: auto;
}

.footer__col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer__mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--lime-signal);
  color: var(--pitch-ink);
  font-weight: 900;
  font-size: 17px;
  line-height: 1;
}
.footer__brand-text {
  display: flex;
  flex-direction: column;
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.footer__brand-sub {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--mist-slate);
  margin-top: 5px;
}

.footer__note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist-slate);
}
.footer__fill {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--grid-mint);
}

.footer__title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime-signal);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(30, 90, 69, 0.7);
}

.footer__list { display: grid; gap: 9px; }
.footer__item { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; min-width: 0; }

.footer__key {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--grid-mint);
}

.footer__link {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--mist-slate);
  transition: color 0.16s var(--ease);
}
.footer__link:hover { color: var(--lime-signal); }

.footer__value {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.75;
  color: #C4DBCF;
  word-break: break-word;
}
.footer__value--wrap { font-family: var(--font-body); font-size: 13px; max-width: 24ch; }

.footer__copy {
  flex: 0 0 auto;
  padding: 2px 9px;
  border-radius: var(--r-pill);
  border: 1px solid var(--grid-mint);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: var(--mist-slate);
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease), background-color 0.16s var(--ease);
}
.footer__copy:hover { border-color: var(--lime-signal); color: var(--lime-signal); }
.footer__copy[data-copied] { background: var(--lime-signal); border-color: var(--lime-signal); color: var(--pitch-ink); }

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 18px var(--pad-x) 26px;
  max-width: calc(var(--maxw) + var(--pad-x) * 2);
  margin-inline: auto;
  border-top: 1px solid rgba(30, 90, 69, 0.55);
}
.footer__meta-text {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--mist-slate);
}
.footer__meta-text--mono { color: var(--grid-mint); }

/* --- 返回顶部 --- */

.to-top {
  position: fixed;
  right: clamp(14px, 2vw, 30px);
  bottom: clamp(14px, 2vw, 30px);
  z-index: 95;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--board-green);
  border: 1px solid var(--grid-mint);
  color: var(--lime-signal);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s var(--ease),
    border-color 0.16s var(--ease), background-color 0.16s var(--ease);
}
.to-top[data-visible] { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--lime-signal); color: var(--pitch-ink); border-color: var(--lime-signal); }
.to-top__glyph { font-family: var(--font-mono); font-size: 17px; line-height: 1; }

/* =========================================================
   响应式
   ========================================================= */

@media (max-width: 1080px) {
  .nav__link { padding: 8px 9px; font-size: 13px; }
  .nav__sticky-first { padding: 7px 12px; font-size: 11px; margin-left: 6px; }
  .topbar__wordmark { font-size: 14px; }
  .footer__top { grid-template-columns: 1.2fr 1fr 1.2fr; }
  .footer__col--support { grid-column: 3; }
}

@media (max-width: 900px) {
  :root { --rail-w: 0px; --topbar-h: 58px; }

  body {
    padding-left: 0;
    padding-bottom: 74px;
    background-attachment: scroll, scroll, scroll, scroll;
  }

  .rail { display: none; }
  .scroll-progress { left: 0; }

  .topbar__inner { gap: 10px; }
  .topbar__wordmark { display: none; }
  .topbar__aux { margin-left: auto; }

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

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px var(--pad-x) 22px;
    background: linear-gradient(180deg, var(--tunnel-green), #071C15);
    border-bottom: 1px solid var(--grid-mint);
    box-shadow: 0 28px 44px rgba(0, 0, 0, 0.5);
    max-height: calc(100vh - var(--topbar-h));
    overflow-y: auto;
  }
  .site-header[data-open] .nav { display: flex; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__item { display: block; }
  .nav__link { padding: 14px 14px; border-radius: 12px; font-size: 15.5px; }
  .nav__sticky-first {
    margin: 14px 0 0;
    justify-content: center;
    padding: 13px 16px;
    font-size: 12.5px;
  }

  .returning-bar { font-size: 11.5px; gap: 9px; }
  .returning-bar__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  .thumb-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 118;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    background: rgba(6, 23, 19, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: var(--line);
  }
  .thumb-bar__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 7px 4px;
    border-radius: 12px;
    color: var(--mist-slate);
    transition: color 0.16s var(--ease), background-color 0.16s var(--ease);
  }
  .thumb-bar__link:hover { color: var(--lime-signal); background: rgba(30, 90, 69, 0.5); }
  .thumb-bar__glyph {
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1;
    color: var(--lime-signal);
  }
  .thumb-bar__label { font-size: 11px; line-height: 1.3; letter-spacing: 0.04em; }

  .to-top { bottom: calc(70px + 12px); right: 14px; width: 44px; height: 44px; }

  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__col--brand { grid-column: 1 / -1; }
  .footer__col--support { grid-column: auto; }
  .footer__value--wrap { max-width: none; }

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

@media (max-width: 560px) {
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .footer__item { align-items: center; }
  .footer__meta { flex-direction: column; align-items: flex-start; }
  .btn { padding: 12px 20px; font-size: 12.5px; }
  .returning-bar__cta { display: none; }
}

/* =========================================================
   减少动效偏好
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .returning-bar__ping { animation: none; }
  .to-top { transform: none; }
}
