/* =========================================================
   完美体育赛事 · /assets/site.css
   共享外壳：reset / 变量 / 排版 / 站头轨道 / 页脚 / 基础组件
   ========================================================= */

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

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

body,
h1, h2, h3, h4, h5, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; }

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

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

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

a { color: inherit; text-decoration: none; }

input, textarea, select { font: inherit; }

/* ---------- 02 变量 ---------- */
:root {
  --ink: #0A1020;
  --panel: #121B2E;
  --steel: #1C2A45;
  --paper: #F3EFE4;
  --mist: #93A2BC;
  --neon: #3BFF8F;
  --blaze: #FF5A2B;
  --signal: #FFC24B;
  --glass-green: #0F3B31;
  --glass-hi: rgba(243, 239, 228, 0.06);

  --rail-w: 272px;
  --topbar-h: 58px;
  --maxw: 1180px;
  --gap: 22px;
  --radius: 3px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
}

/* ---------- 03 基础排版 ---------- */
html { scroll-behavior: smooth; }

body {
  min-height: 100%;
  background-color: var(--ink);
  background-image:
    linear-gradient(to right, rgba(28, 42, 69, 0.55) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(28, 42, 69, 0.55) 1px, transparent 1px);
  background-size: 48px 48px;
  background-attachment: fixed;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.78;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main { display: block; }

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

::selection { background: var(--neon); color: #04160C; }

/* ---------- 04 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--neon);
  color: #04160C;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}

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

/* ---------- 05 侧边轨道站头 ---------- */
.rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 70;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 26px 20px 20px;
  background: linear-gradient(180deg, #0E1729 0%, #101A2C 58%, #0B1322 100%);
  border-right: 1px solid var(--steel);
  overflow: hidden;
}

.rail::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.05;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--paper) 1px, transparent 1px),
    linear-gradient(to bottom, var(--paper) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: railDrift 40s linear infinite;
}

@keyframes railDrift {
  from { background-position: 0 0; }
  to { background-position: 48px 48px; }
}

.rail__top,
.rail__body {
  position: relative;
  z-index: 1;
}

.rail__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rail__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.rail__mark {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--neon);
  background: rgba(59, 255, 143, 0.09);
}

.rail__mark::before {
  content: "";
  position: absolute;
  inset: 7px;
  background: var(--neon);
  clip-path: polygon(0 100%, 0 58%, 58% 0, 100% 0, 100% 42%, 42% 100%);
}

.rail__brandtext {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.rail__name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--paper);
}

.rail__sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--mist);
  white-space: nowrap;
}

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  background: var(--glass-hi);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}

.nav-toggle:hover { border-color: var(--neon); }

.nav-toggle__bar {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  background: var(--neon);
  transition: background 0.2s var(--ease);
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--neon);
  transition: transform 0.22s var(--ease);
}

.nav-toggle__bar::before { top: -5px; }
.nav-toggle__bar::after { top: 5px; }

.rail[data-open] .nav-toggle__bar { background: transparent; }
.rail[data-open] .nav-toggle__bar::before { transform: translateY(5px) rotate(45deg); }
.rail[data-open] .nav-toggle__bar::after { transform: translateY(-5px) rotate(-45deg); }

/* 轨道主体 */
.rail__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 22px;
  min-height: 0;
}

.rail__label {
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--mist);
}

.switch {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  background: var(--glass-hi);
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}

.switch:hover {
  border-color: rgba(59, 255, 143, 0.55);
  background: rgba(15, 59, 49, 0.4);
}

.switch__dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 4px rgba(59, 255, 143, 0.14);
}

.switch__name {
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.rail__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rail__link {
  position: relative;
  display: block;
  padding: 9px 12px 9px 16px;
  border-radius: var(--radius);
  color: var(--mist);
  font-size: 15px;
  font-weight: 600;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.rail__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  background: var(--neon);
  transform: translateY(-50%);
  transition: height 0.22s var(--ease);
}

.rail__link:hover {
  color: var(--paper);
  background: var(--glass-hi);
}

.rail__link[aria-current="page"] {
  color: var(--paper);
  background: rgba(59, 255, 143, 0.08);
}

.rail__link[aria-current="page"]::before { height: 62%; }

.rail__foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--steel);
}

.rail__tick {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--signal);
}

.rail__cta {
  display: flex;
  width: 100%;
  justify-content: center;
}

/* ---------- 06 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  background: rgba(15, 59, 49, 0.5);
  color: var(--paper);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease),
    background 0.18s var(--ease), color 0.18s var(--ease);
}

.btn:hover {
  border-color: var(--neon);
  color: var(--neon);
  transform: translateY(-2px);
}

.btn--neon {
  background: var(--neon);
  border-color: var(--neon);
  color: #04160C;
}

.btn--neon:hover {
  background: #6BFFAB;
  border-color: #6BFFAB;
  color: #04160C;
}

.btn--ghost { background: transparent; }

/* ---------- 07 页脚 ---------- */
.foot {
  position: relative;
  margin-top: 96px;
  border-top: 1px solid var(--steel);
  background: linear-gradient(180deg, rgba(18, 27, 46, 0) 0%, #0C1424 42%, #090F1C 100%);
}

.foot__inner {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1.35fr;
  gap: 40px;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 24px 34px;
}

.foot__col { min-width: 0; }

.foot__brand {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.foot__line {
  max-width: 26em;
  margin-bottom: 14px;
  color: var(--mist);
  font-size: 14.5px;
  line-height: 1.75;
}

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

.foot__head {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.24em;
  color: var(--signal);
}

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

.foot__list--cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 18px;
}

.foot__link {
  color: var(--mist);
  font-size: 14.5px;
  transition: color 0.18s var(--ease), padding-left 0.18s var(--ease);
}

.foot__link:hover {
  color: var(--neon);
  padding-left: 4px;
}

.foot__row {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.65;
}

.foot__kv {
  flex: 0 0 5.2em;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--mist);
  padding-top: 2px;
}

.foot__val {
  min-width: 0;
  color: var(--paper);
  word-break: break-word;
}

.foot__tip {
  margin: 16px 0 18px;
  padding-left: 12px;
  border-left: 2px solid var(--neon);
  color: var(--mist);
  font-size: 13.5px;
  line-height: 1.7;
}

.foot__cta { justify-content: center; }

.foot__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px 30px;
  border-top: 1px solid var(--steel);
}

.foot__copy,
.foot__note {
  font-size: 12.5px;
  color: var(--mist);
}

/* ---------- 08 布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.page { padding: 46px 0 0; }

.section { padding: 52px 0; }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 18px;
  margin-bottom: 26px;
}

.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--dash { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.grid--rail {
  grid-template-columns: 244px minmax(0, 1fr);
  align-items: start;
}

/* ---------- 09 排版组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.24em;
  color: var(--neon);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--neon);
}

.h-display {
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 92px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-stretch: 88%;
}

.h2 {
  margin-bottom: 14px;
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.h3 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.lede {
  max-width: 34em;
  margin-bottom: 20px;
  color: var(--mist);
  font-size: 17.5px;
}

.prose {
  max-width: 36em;
  font-size: 17px;
  line-height: 1.78;
}

.prose p { margin-bottom: 0.9em; }
.prose p:last-child { margin-bottom: 0; }

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

.rule {
  height: 1px;
  margin: 30px 0;
  border: 0;
  background: linear-gradient(90deg, var(--neon) 0 72px, var(--steel) 72px 100%);
}

.note {
  padding: 2px 0 2px 14px;
  border-left: 2px solid var(--neon);
  color: var(--mist);
  font-size: 14px;
  line-height: 1.72;
}

/* ---------- 10 面包屑 ---------- */
.breadcrumbs {
  margin-bottom: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumbs li { display: inline-flex; align-items: center; }

.breadcrumbs li::after {
  content: "/";
  margin-left: 8px;
  color: var(--steel);
}

.breadcrumbs li:last-child::after { content: ""; margin: 0; }

.breadcrumbs a { color: var(--mist); }
.breadcrumbs a:hover { color: var(--neon); }
.breadcrumbs [aria-current="page"] { color: var(--paper); }

/* ---------- 11 卡片 ---------- */
.card {
  position: relative;
  padding: 20px;
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  background: var(--panel);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.card:hover {
  border-color: rgba(59, 255, 143, 0.4);
  transform: translateY(-2px);
}

.card--glass {
  background: rgba(15, 59, 49, 0.34);
  border-color: rgba(59, 255, 143, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.card__title {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.card__meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

/* ---------- 12 统计 ---------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.stat__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--paper);
  transition: opacity 0.15s var(--ease), transform 0.15s var(--ease);
}

.stat__value.is-rolling {
  opacity: 0.35;
  transform: translateY(-4px);
}

.stat__label {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.stat--up .stat__value { color: var(--neon); }
.stat--alert .stat__value { color: var(--blaze); }

/* ---------- 13 标签与筛选 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--steel);
  border-radius: 2px;
  background: var(--glass-hi);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.tag--neon { color: var(--neon); border-color: rgba(59, 255, 143, 0.42); }
.tag--signal { color: var(--signal); border-color: rgba(255, 194, 75, 0.42); }
.tag--blaze { color: var(--blaze); border-color: rgba(255, 90, 43, 0.46); }

.chipset {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 5px 13px;
  border: 1px solid var(--steel);
  border-radius: 999px;
  background: transparent;
  color: var(--mist);
  font-size: 13px;
  cursor: pointer;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease),
    background 0.18s var(--ease);
}

.chip:hover { color: var(--paper); border-color: var(--mist); }

.chip.is-active,
.chip[aria-pressed="true"] {
  background: var(--neon);
  border-color: var(--neon);
  color: #04160C;
  font-weight: 700;
}

/* ---------- 14 折叠面板 ---------- */
.accordion { border-top: 1px solid var(--steel); }

.accordion__item { border-bottom: 1px solid var(--steel); }

.accordion__trigger {
  display: flex;
  align-items: baseline;
  gap: 14px;
  width: 100%;
  padding: 18px 4px;
  color: var(--paper);
  font-size: 17px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: color 0.18s var(--ease);
}

.accordion__trigger:hover { color: var(--neon); }

.accordion__sign {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--neon);
}

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease);
}

.accordion__panel.is-open { grid-template-rows: 1fr; }

.accordion__inner {
  overflow: hidden;
  min-height: 0;
}

.accordion__inner > * { padding-bottom: 18px; }

/* ---------- 15 图片容器 ---------- */
.media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #101A2C 0%, #0C1424 60%, #0F3B31 140%);
}

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

.media__frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
  background-image:
    linear-gradient(to right, rgba(59, 255, 143, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(59, 255, 143, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
}

.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 3 / 4; }
.media--wide { aspect-ratio: 21 / 9; }

/* ---------- 16 滚动与显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.42s var(--ease), transform 0.42s var(--ease);
}

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  right: 0;
  z-index: 80;
  height: 2px;
  background: rgba(28, 42, 69, 0.6);
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: var(--neon);
  box-shadow: 0 0 10px rgba(59, 255, 143, 0.55);
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 55;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--steel);
  border-radius: 50%;
  background: var(--panel);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease),
    border-color 0.24s var(--ease), color 0.24s var(--ease);
}

.to-top.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.to-top:hover {
  border-color: var(--neon);
  color: var(--neon);
}

/* ---------- 17 响应式 ---------- */
@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }
}

@media (max-width: 1023px) {
  body { padding-top: var(--topbar-h); }

  .rail {
    bottom: auto;
    width: 100%;
    height: var(--topbar-h);
    flex-direction: row;
    align-items: center;
    gap: 0;
    padding: 0 16px;
    border-right: 0;
    border-bottom: 1px solid var(--steel);
  }

  .rail::after { display: none; }

  .rail__top {
    width: 100%;
    justify-content: space-between;
  }

  .rail__mark {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
  }

  .rail__mark::before { inset: 6px; }

  .rail__name { font-size: 15.5px; }
  .rail__sub { display: none; }

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

  .rail__body {
    position: fixed;
    top: var(--topbar-h);
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    flex-direction: column;
    gap: 20px;
    padding: 22px 16px 44px;
    overflow-y: auto;
    background: #0B1322;
    border-top: 1px solid var(--steel);
    -webkit-overflow-scrolling: touch;
  }

  .rail[data-open] .rail__body { display: flex; }

  .rail__foot {
    margin-top: 12px;
    padding-top: 18px;
  }

  .scroll-progress {
    top: var(--topbar-h);
    left: 0;
  }

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

@media (max-width: 900px) {
  .grid--2,
  .grid--3,
  .grid--dash { grid-template-columns: minmax(0, 1fr); }

  .foot__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 44px 20px 26px;
  }

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

@media (max-width: 767px) {
  body {
    font-size: 16px;
    padding-bottom: 78px;
  }

  .wrap { padding: 0 18px; }

  .page { padding-top: 30px; }

  .section { padding: 38px 0; }

  .foot { margin-top: 64px; }

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

  .foot__cta {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 56;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  }

  .foot__base { padding: 16px 18px 70px; }

  .to-top {
    right: 16px;
    bottom: 84px;
  }

  .breadcrumbs { margin-bottom: 20px; }
}

@media (max-width: 420px) {
  .rail__name { font-size: 14.5px; }
  .nav-toggle__text { display: none; }
  .stat__value { font-size: 30px; }
}

/* ---------- 18 力量减弱偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.12s !important;
  }

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

  .stat__value.is-rolling {
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .card:hover,
  .to-top { transform: none; }
}
