/* ==========================================================================
   火狐体育中文官方站 · /assets/site.css
   共享外壳：reset / 变量 / 中文排版 / 侧边轨道导航 / 页脚 / 通用组件
   ========================================================================== */

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

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

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--mid);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

table { border-collapse: collapse; }

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

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

/* ---------- 变量 ---------- */
:root {
  --ink-900: #0F0F12;
  --ink-800: #16161C;
  --ink-700: #1E1E26;
  --line: #2A2A34;
  --mid: #B9BCC4;
  --dim: #75798A;
  --paper: #F2F3F5;
  --paper-2: #D6D8DE;
  --fox: #FF4D1C;
  --fox-soft: #FF7A4D;
  --cyan: #19E3D1;
  --violet-deep: #3B1E6E;
  --violet: #8A6BFF;
  --amber: #FFB03A;

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

  --rail-w: 88px;
  --shell-offset: 0px;
  --wrap-pad: 18px;
  --radius: 3px;
}

@media (min-width: 901px) {
  :root {
    --shell-offset: 96px;
    --wrap-pad: 32px;
  }
}

/* ---------- 排版基底 ---------- */
h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.14;
  color: var(--paper);
}

h1 { font-size: clamp(34px, 5.4vw, 68px); }
h2 { font-size: clamp(24px, 3.4vw, 40px); }
h3 { font-size: clamp(19px, 2.2vw, 24px); }
h4 { font-size: 17px; }

strong, b { color: var(--paper); font-weight: 700; }

.num,
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---------- 容器与页面骨架 ---------- */
.page-shell {
  position: relative;
  min-height: 60vh;
  padding-top: 8px;
  padding-bottom: 24px;
}

.wrap {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: calc(var(--wrap-pad) + var(--shell-offset));
  padding-right: var(--wrap-pad);
}

.prose { max-width: 42em; }
.prose p {
  max-width: 42em;
  line-height: 1.9;
  color: var(--mid);
}
.prose p + p { margin-top: 18px; }
.prose a { color: var(--fox); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { margin-top: 14px; }
.prose li {
  position: relative;
  padding-left: 20px;
  line-height: 1.85;
  color: var(--mid);
}
.prose li + li { margin-top: 8px; }
.prose li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.78em;
  width: 9px; height: 1px;
  background: var(--fox);
}

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 300;
  transform: translateY(-160%);
  background: var(--fox);
  color: #0F0F12;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 12px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.18s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 顶部滚动进度条 ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: rgba(242, 243, 245, 0.07);
  z-index: 130;
  pointer-events: none;
}
.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--fox) 0%, var(--fox-soft) 62%, var(--amber) 100%);
  transition: width 0.12s linear;
}

/* ---------- 移动顶栏 ---------- */
.topbar { display: none; }

/* ---------- 侧边轨道 ---------- */
.rail {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 24px 0 18px;
  background: var(--ink-800);
  border-right: 1px solid var(--line);
  z-index: 120;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.rail::-webkit-scrollbar { width: 4px; }
.rail::-webkit-scrollbar-thumb { background: var(--line); }

.rail__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.rail__mark {
  writing-mode: vertical-rl;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--paper);
  line-height: 1;
}
.rail__slogan {
  writing-mode: vertical-rl;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.34em;
  color: var(--dim);
  line-height: 1;
}

.rail__nav {
  position: relative;
  width: 100%;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 0 1 auto;
  min-height: 0;
}

.rail__indicator {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 0;
  background: var(--fox);
  box-shadow: 0 0 10px rgba(255, 77, 28, 0.6);
  transition: transform 0.22s ease, height 0.22s ease;
  pointer-events: none;
}

.rail__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 9px 4px;
  border-radius: 2px;
  color: var(--mid);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease;
}
.rail__num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--dim);
  transition: color 0.18s ease;
}
.rail__label { letter-spacing: 0.02em; }

.rail__link:hover {
  color: var(--paper);
  background: rgba(242, 243, 245, 0.05);
}
.rail__link:hover .rail__num { color: var(--fox-soft); }

.rail__link[aria-current="page"] {
  color: var(--paper);
  background: var(--ink-700);
}
.rail__link[aria-current="page"] .rail__num { color: var(--fox); }

.rail__foot {
  margin-top: auto;
  width: 100%;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 auto;
}
.rail__jump,
.rail__top {
  width: 100%;
  display: block;
  padding: 8px 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
.rail__jump {
  color: var(--fox);
  border: 1px solid rgba(255, 77, 28, 0.42);
  background: rgba(255, 77, 28, 0.07);
}
.rail__jump:hover {
  color: #0F0F12;
  background: var(--fox);
  border-color: var(--fox);
}
.rail__top {
  color: var(--dim);
  background: transparent;
  border: 1px solid var(--line);
}
.rail__top:hover {
  color: var(--paper);
  border-color: var(--mid);
}

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: 96px;
  background: var(--ink-800);
  border-top: 1px solid var(--line);
  color: var(--mid);
}
.site-footer__inner { padding-top: 64px; padding-bottom: 28px; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.footer__col { min-width: 0; }

.footer__brand {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--paper);
  line-height: 1.2;
}
.footer__slogan {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--fox);
}
.footer__note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--dim);
  max-width: 24em;
}

.footer__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--dim);
  text-transform: uppercase;
}

.footer__list { margin-top: 18px; }
.footer__list li + li { margin-top: 11px; }
.footer__list a {
  position: relative;
  font-size: 14px;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.18s ease;
}
.footer__list a::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  width: 8px;
  height: 1px;
  background: var(--fox);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.18s ease;
}
.footer__list a:hover { color: var(--fox); }
.footer__list a:hover::before { transform: scaleX(1); }

.footer__contact { margin-top: 18px; }
.footer__contact li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.7;
}
.footer__contact li + li { margin-top: 11px; }
.footer__key {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--dim);
}
.footer__val {
  color: var(--mid);
  overflow-wrap: anywhere;
}
.footer__val--fox {
  font-family: var(--mono);
  color: var(--fox);
  letter-spacing: 0.02em;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding-top: 22px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--dim);
}
.footer__icp {
  font-family: var(--mono);
  color: var(--fox);
}
.footer__status {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fox);
  box-shadow: 0 0 0 3px rgba(255, 77, 28, 0.18);
  animation: footer-pulse 2.4s ease-in-out infinite;
  flex: 0 0 auto;
}
@keyframes footer-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.32; }
}

/* ---------- 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--dim);
}
.crumbs a {
  color: var(--mid);
  text-decoration: none;
  transition: color 0.18s ease;
}
.crumbs a:hover { color: var(--fox); }
.crumbs__sep { color: var(--line); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--ink-700);
  color: var(--paper);
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn:hover {
  transform: translateY(-1px);
  border-color: var(--mid);
}
.btn--primary {
  background: var(--fox);
  border-color: var(--fox);
  color: #0F0F12;
}
.btn--primary:hover {
  background: var(--fox-soft);
  border-color: var(--fox-soft);
}
.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--mid);
}
.btn--ghost:hover {
  color: var(--paper);
  border-color: var(--fox);
}

/* ---------- 章节体系 ---------- */
.section {
  position: relative;
  padding: 72px 0;
}
.section + .section { border-top: 1px solid var(--line); }

.section__num {
  display: block;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(44px, 6.4vw, 92px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--fox);
}
.section__num--ghost {
  color: transparent;
  -webkit-text-stroke: 1px var(--line);
  text-shadow: none;
}
.section__title { margin-top: 14px; }
.section__lead {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.9;
  color: var(--mid);
  max-width: 40em;
}
.eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
}

.slice-band {
  background: var(--ink-800);
  clip-path: polygon(0 2.2%, 100% 0, 100% 97.8%, 0 100%);
  padding: 84px 0;
}
.slice-band--dim { background: var(--ink-700); }

/* ---------- 网格 ---------- */
.grid {
  display: grid;
  gap: 20px;
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- 资料卡 ---------- */
.card {
  position: relative;
  padding: 24px;
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 20px;
  height: 20px;
  background: var(--line);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  transition: background-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--fox);
  box-shadow: 0 20px 44px -28px rgba(255, 77, 28, 0.85);
}
.card:hover::after { background: var(--fox); }
.card__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--paper);
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.card__meta {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--dim);
}
.card__text {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--mid);
}

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.6;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--mid);
  background: transparent;
}
.tag--fox { color: var(--fox); }
.tag--cyan { color: var(--cyan); }
.tag--violet {
  color: var(--violet);
  background: rgba(59, 30, 110, 0.4);
  border-color: rgba(138, 107, 255, 0.45);
}
.tag--amber { color: var(--amber); }
.tag--plain {
  color: var(--dim);
  border-color: var(--line);
}

/* ---------- 标签页 ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid var(--line);
}
.tab {
  padding: 11px 15px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--dim);
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.tab:hover { color: var(--mid); }
.tab[aria-selected="true"] {
  color: var(--paper);
  border-bottom-color: var(--fox);
}
.tabpanel { padding-top: 22px; }
.tabpanel[hidden] { display: none; }

/* ---------- 数据表格 ---------- */
.dtable {
  width: 100%;
  font-size: 14px;
  text-align: left;
}
.dtable caption {
  padding-bottom: 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--dim);
  text-align: left;
}
.dtable th {
  padding: 12px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--dim);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.dtable td {
  padding: 13px 14px;
  color: var(--mid);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.dtable tbody tr:nth-child(even) { background: rgba(214, 216, 222, 0.04); }
.dtable tbody tr:hover { background: rgba(255, 77, 28, 0.08); }
.dtable .num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--paper);
  white-space: nowrap;
}

/* ---------- 跑马灯 ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  background: var(--ink-800);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  padding: 13px 0;
  animation: marquee-run 28s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--mid);
  white-space: nowrap;
}
.marquee__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fox);
  flex: 0 0 auto;
}
@keyframes marquee-run {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 仪表数字 ---------- */
.stat {
  padding-left: 15px;
  border-left: 2px solid var(--fox);
}
.stat__value {
  display: block;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--paper);
}
.stat__label {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--dim);
}

/* ---------- 图片容器 ---------- */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }
.media--wide { aspect-ratio: 21 / 9; }
.media__cap {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 100%;
  padding: 8px 13px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--paper);
  background: rgba(15, 15, 18, 0.74);
}

/* ---------- 亮底纸张 ---------- */
.paper {
  background: var(--paper);
  color: var(--ink-900);
  border-radius: var(--radius);
  padding: 28px;
}
.paper h2,
.paper h3,
.paper h4 { color: var(--ink-900); }
.paper p {
  color: #3A3C44;
  max-width: 42em;
}
.paper a { color: #C6320A; }

/* ---------- 显现动画 ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 平板 ---------- */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 移动端 ---------- */
@media (max-width: 900px) {
  body { padding-top: 64px; }

  .topbar {
    position: fixed;
    top: 4px;
    left: 0;
    right: 0;
    height: 56px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    background: rgba(22, 22, 28, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    z-index: 125;
  }
  .topbar__brand {
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 0.06em;
    color: var(--paper);
    flex: 0 0 auto;
  }
  .topbar__slogan {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    color: var(--fox);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1 1 auto;
  }
  .topbar__toggle {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 2px;
    cursor: pointer;
    transition: border-color 0.18s ease;
  }
  .topbar__toggle:hover { border-color: var(--fox); }
  .topbar__bars {
    position: relative;
    display: block;
    width: 16px;
    height: 2px;
    background: var(--paper);
    transition: background-color 0.2s ease;
  }
  .topbar__bars::before,
  .topbar__bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 16px;
    height: 2px;
    background: var(--paper);
    transition: transform 0.2s ease, top 0.2s ease;
  }
  .topbar__bars::before { top: -5px; }
  .topbar__bars::after { top: 5px; }
  .topbar__toggle[aria-expanded="true"] .topbar__bars { background: transparent; }
  .topbar__toggle[aria-expanded="true"] .topbar__bars::before { top: 0; transform: rotate(45deg); }
  .topbar__toggle[aria-expanded="true"] .topbar__bars::after { top: 0; transform: rotate(-45deg); }

  .rail {
    top: 60px;
    left: 0;
    bottom: 0;
    width: min(84vw, 320px);
    align-items: stretch;
    gap: 14px;
    padding: 20px 16px 20px;
    border-right: 1px solid var(--line);
    transform: translateX(-104%);
    visibility: hidden;
    transition: transform 0.22s ease, visibility 0.22s ease;
    z-index: 124;
  }
  .rail[data-open="true"] {
    transform: none;
    visibility: visible;
  }

  .rail__brand {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
  }
  .rail__mark,
  .rail__slogan { writing-mode: horizontal-tb; }
  .rail__mark { font-size: 18px; letter-spacing: 0.06em; }
  .rail__slogan { font-size: 10px; letter-spacing: 0.2em; }

  .rail__nav {
    width: 100%;
    padding: 0;
    gap: 0;
    flex: 0 0 auto;
  }
  .rail__indicator { display: none; }
  .rail__link {
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    gap: 12px;
    padding: 14px 10px;
    font-size: 15px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .rail__num { font-size: 11px; }
  .rail__link[aria-current="page"] {
    background: var(--ink-700);
    box-shadow: inset 3px 0 0 var(--fox);
  }

  .rail__foot {
    flex-direction: row;
    gap: 10px;
    width: 100%;
    margin-top: 18px;
    padding: 0;
  }
  .rail__jump,
  .rail__top {
    flex: 1 1 0;
    width: auto;
    padding: 11px 8px;
    font-size: 12px;
  }

  .section { padding: 52px 0; }
  .slice-band { padding: 56px 0; clip-path: polygon(0 1.1%, 100% 0, 100% 98.9%, 0 100%); }

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

  .site-footer { margin-top: 64px; }
  .site-footer__inner { padding-top: 48px; }
  .footer__grid { gap: 30px; padding-bottom: 34px; }
  .footer__status { margin-left: 0; }

  .dtable thead { display: none; }
  .dtable,
  .dtable tbody,
  .dtable tr,
  .dtable td { display: block; width: 100%; }
  .dtable tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .dtable td {
    padding: 4px 0;
    border: 0;
  }
}

@media (max-width: 620px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .media--wide { aspect-ratio: 16 / 9; }
}

/* ---------- 减少动效 ---------- */
@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;
  }
  .marquee__track { animation: none; }
  .footer__pulse { animation: none; }
  .scroll-progress__bar { transition: none; }
  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}
