/* ============================================================
   B体育看台 · /assets/site.css
   共享外壳：侧边轨道导航、深色看台页脚、基础排版与组件
   ============================================================ */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body { margin: 0; }

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a { color: inherit; }

/* ---------- 2. 设计变量 ---------- */
:root {
  --paper: #F4EFE2;
  --ink: #141816;
  --forest: #0E2A22;
  --field: #15382D;
  --lime: #C8FF4D;
  --orange: #FF7A2F;
  --cream: #FFF9EC;
  --mist: #8BA295;
  --brick: #D94D32;
  --glass: rgba(200, 255, 77, 0.12);

  --line: rgba(20, 24, 22, 0.16);
  --line-soft: rgba(20, 24, 22, 0.08);
  --line-light: rgba(255, 249, 236, 0.16);

  --rail-w: 88px;
  --topbar-h: 60px;
  --shell: 1440px;
  --gutter: clamp(20px, 3.6vw, 56px);

  --font-sans: "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 26px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --sp: 0;
}

/* ---------- 3. 基础排版 ---------- */
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.85;
  min-height: 100vh;
  padding-left: var(--rail-w);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(38px, 4.6vw, 68px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.14; }
h3 { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.3; }
h4 { font-size: 18px; line-height: 1.4; }

strong { font-weight: 700; }

.mono {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---------- 4. 无障碍 ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: calc(var(--rail-w) + 12px);
  z-index: 300;
  transform: translateY(-200%);
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
  border-radius: 4px;
  box-shadow: 0 0 0 5px rgba(14, 42, 34, 0.5);
}

/* ---------- 5. 布局骨架 ---------- */
.container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.page-shell {
  padding-block: clamp(30px, 4.5vw, 64px) clamp(56px, 7vw, 110px);
}

.prose { max-width: 760px; }

.prose p {
  margin-bottom: 1.2em;
  color: rgba(20, 24, 22, 0.86);
}

.prose h2 { margin: 2em 0 0.6em; }
.prose h3 { margin: 1.6em 0 0.5em; }

.prose ul,
.prose ol {
  list-style: disc;
  padding-left: 1.3em;
  margin-bottom: 1.2em;
}

.prose li { margin-bottom: 0.5em; }

.prose a {
  color: var(--brick);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 30px);
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-rail { grid-template-columns: minmax(200px, 1fr) minmax(0, 2.4fr); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(18px, 2.4vw, 30px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
}

.breadcrumb li { display: flex; align-items: center; gap: 8px; }

.breadcrumb li + li::before {
  content: "/";
  color: var(--mist);
  opacity: 0.6;
}

.breadcrumb a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.breadcrumb a:hover {
  color: var(--ink);
  border-bottom-color: var(--orange);
}

.rule {
  height: 1px;
  border: 0;
  background: var(--line);
  margin: 0;
}

/* ---------- 6. 通用组件 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease),
    color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: #d9ff74; }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255, 249, 236, 0.34);
}

.btn-ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.btn-quiet {
  background: rgba(20, 24, 22, 0.06);
  color: var(--ink);
  border-color: var(--line);
}

.btn-quiet:hover { background: rgba(20, 24, 22, 0.12); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brick);
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  background: currentColor;
}

.panel .eyebrow { color: var(--orange); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(200, 255, 77, 0.55);
  background: rgba(200, 255, 77, 0.18);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.status-pill--dark {
  background: rgba(200, 255, 77, 0.1);
  border-color: rgba(200, 255, 77, 0.5);
  color: var(--lime);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(20, 24, 22, 0.78);
  background: rgba(255, 249, 236, 0.5);
}

.panel {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 40px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 249, 236, 0.1);
  background: var(--forest);
  color: var(--cream);
}

.panel--field { background: var(--field); }
.panel--ink { background: var(--ink); }

.panel--glass {
  background: rgba(255, 249, 236, 0.08);
  border-color: rgba(255, 249, 236, 0.18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.panel h2,
.panel h3,
.panel h4 { color: var(--cream); }

.panel p {
  max-width: 56ch;
  color: rgba(255, 249, 236, 0.8);
}

.panel a:not(.btn) { color: var(--lime); }

.glass {
  border: 1px solid rgba(255, 249, 236, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 249, 236, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.data-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--orange);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: gap 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.link-arrow::after {
  content: "\2192";
  font-family: var(--font-mono);
}

.link-arrow:hover {
  gap: 14px;
  color: var(--brick);
  border-bottom-color: var(--brick);
}

.panel .link-arrow {
  color: var(--lime);
  border-bottom-color: rgba(200, 255, 77, 0.5);
}

.panel .link-arrow:hover { color: var(--orange); border-bottom-color: var(--orange); }

.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 249, 236, 0.12);
  border-radius: var(--radius-md);
  background: var(--field);
  aspect-ratio: 16 / 10;
}

.media-frame img,
.media-frame svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.media-frame--light {
  background: #e7dfcd;
  border-color: var(--line);
}

/* ---------- 7. 显现动效 ---------- */
[data-reveal] {
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

html[data-reveal-ready] [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}

html[data-reveal-ready] [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 8. 头部 · 侧边轨道 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail-w);
  z-index: 90;
}

.rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  height: 100%;
  padding: 22px 0 18px;
  color: var(--cream);
  background:
    linear-gradient(180deg, rgba(200, 255, 77, 0.07), transparent 26%),
    var(--forest);
  border-right: 1px solid var(--line-light);
  box-shadow: 8px 0 28px rgba(14, 42, 34, 0.16);
}

.brand {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 4px rgba(200, 255, 77, 0.14);
  transition: background-color 0.2s var(--ease);
}

.brand-name {
  writing-mode: vertical-rl;
  padding-top: 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: rgba(255, 249, 236, 0.9);
  transition: color 0.2s var(--ease);
}

.brand:hover .brand-mark { background: #d9ff74; }
.brand:hover .brand-name { color: var(--lime); }

.site-nav {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar { display: none; }

.nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
}

.nav-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  border-radius: 9px;
  writing-mode: vertical-rl;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255, 249, 236, 0.68);
  text-decoration: none;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.nav-list a:hover {
  color: var(--cream);
  background-color: rgba(255, 249, 236, 0.07);
  box-shadow: inset -2px 0 0 var(--orange);
}

.nav-list a[aria-current="page"] {
  color: var(--ink);
  background-color: var(--lime);
  font-weight: 700;
  box-shadow: none;
}

.rail-foot {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.rail-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--lime);
  text-align: center;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(200, 255, 77, 0.16);
  animation: status-pulse 3.2s var(--ease) infinite;
}

@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(200, 255, 77, 0.16); }
  50% { box-shadow: 0 0 0 7px rgba(200, 255, 77, 0.05); }
}

.rail-status-version {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.rail-status-note {
  writing-mode: vertical-rl;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: rgba(200, 255, 77, 0.8);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 249, 236, 0.22);
  background: rgba(255, 249, 236, 0.08);
  color: var(--cream);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav-toggle:hover {
  background: rgba(255, 249, 236, 0.14);
  border-color: rgba(200, 255, 77, 0.6);
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background-color 0.2s var(--ease);
}

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

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.rail-progress {
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  height: 100%;
  background: rgba(255, 249, 236, 0.1);
  pointer-events: none;
}

.rail-progress-bar {
  display: block;
  width: 100%;
  height: calc(var(--sp) * 100%);
  background: linear-gradient(180deg, var(--lime) 0%, var(--lime) 55%, var(--orange) 100%);
  transition: height 0.12s linear;
}

/* ---------- 9. 页脚 · 看台断面 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 5.5vw, 84px) var(--gutter) 30px;
  background: var(--forest);
  color: var(--cream);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -8%;
  width: min(560px, 70vw);
  height: min(560px, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 255, 77, 0.1), transparent 66%);
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 54px;
  background: repeating-linear-gradient(90deg, rgba(255, 249, 236, 0.07) 0 2px, transparent 2px 52px);
  opacity: 0.7;
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.footer-lede {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  text-decoration: none;
}

.footer-brand .brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  font-size: 21px;
  box-shadow: none;
}

.footer-brand:hover .brand-mark { background: #d9ff74; }

.footer-brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.footer-col { min-width: 0; }
.footer-col--contact { min-width: 0; }

.footer-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
}

.footer-col-title::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--orange);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-list a {
  display: inline-block;
  font-size: 15px;
  color: rgba(255, 249, 236, 0.76);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-list a:hover {
  color: var(--lime);
  border-bottom-color: rgba(200, 255, 77, 0.6);
  transform: translateX(3px);
}

.footer-list--plain li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}

.footer-value {
  font-size: 14.5px;
  color: var(--cream);
  word-break: break-word;
}

.footer-note {
  max-width: 24ch;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--mist);
}

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: clamp(10px, 2vw, 22px);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 249, 236, 0.16);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.footer-legal p { margin: 0; }

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

.footer-legal-links a {
  color: rgba(255, 249, 236, 0.8);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-legal-links a:hover {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

.footer-icp { margin-left: auto; }

/* ---------- 10. 响应式 ---------- */
@media (min-width: 960px) and (max-width: 1180px) {
  .brand-name { font-size: 12px; letter-spacing: 0.22em; }
  .nav-list a { font-size: 12.5px; padding: 12px 7px; }
}

@media (min-width: 960px) and (max-height: 760px) {
  .rail { gap: 14px; padding: 16px 0 14px; }
  .brand-name,
  .rail-status-note { display: none; }
  .nav-list a { padding: 10px 7px; font-size: 12.5px; letter-spacing: 0.14em; }
  .rail-status { font-size: 10px; }
}

@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 959px) {
  body {
    padding-left: 0;
    padding-top: var(--topbar-h);
    font-size: 16px;
    line-height: 1.75;
  }

  .skip-link { left: 12px; }

  .site-header {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
  }

  .rail {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    height: var(--topbar-h);
    padding: 0 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
    box-shadow: 0 6px 22px rgba(14, 42, 34, 0.18);
  }

  .brand { flex-direction: row; gap: 10px; }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    font-size: 18px;
    box-shadow: none;
  }

  .brand-name {
    writing-mode: horizontal-tb;
    font-size: 13px;
    letter-spacing: 0.16em;
  }

  .rail-foot {
    flex-direction: row;
    width: auto;
    gap: 10px;
  }

  .rail-status {
    flex-direction: row;
    align-items: center;
    gap: 6px;
    font-size: 10px;
  }

  .rail-status-note {
    writing-mode: horizontal-tb;
    letter-spacing: 0.12em;
    display: none;
  }

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

  .site-nav {
    position: fixed;
    top: var(--topbar-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: block;
    padding: 20px 20px 48px;
    overflow-y: auto;
    background:
      radial-gradient(140% 70% at 100% 0%, rgba(200, 255, 77, 0.14), transparent 62%),
      var(--forest);
    border-top: 1px solid var(--line-light);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s var(--ease), transform 0.24s var(--ease), visibility 0.24s linear;
  }

  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-list a {
    writing-mode: horizontal-tb;
    justify-content: space-between;
    padding: 15px 6px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 249, 236, 0.12);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--cream);
  }

  .nav-list a:hover {
    background-color: rgba(255, 249, 236, 0.05);
    box-shadow: none;
  }

  .nav-list a[aria-current="page"] {
    background-color: transparent;
    color: var(--lime);
  }

  .nav-list a[aria-current="page"]::after {
    content: "当前";
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--lime);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
  }

  .rail-progress {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 3px;
  }

  .rail-progress-bar {
    height: 100%;
    width: calc(var(--sp) * 100%);
    background: linear-gradient(90deg, var(--lime) 0%, var(--orange) 100%);
    transition: width 0.12s linear;
  }

  .panel { border-radius: var(--radius-md); }
}

@media (max-width: 820px) {
  .grid-2,
  .grid-3,
  .grid-rail { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col--contact { grid-column: 1 / -1; }
  .footer-icp { margin-left: 0; }
}

@media (max-width: 420px) {
  .footer-nav { grid-template-columns: 1fr; }
  .btn { padding: 11px 18px; font-size: 14px; }
}

/* ---------- 11. 减少动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .status-dot { animation: none; }

  [data-reveal],
  html[data-reveal-ready] [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
