/* ============================================================
   凯运体育主站 · 共享样式 /assets/site.css
   轨道—赛场—数据层三层结构
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--band-h, 46px) + 18px);
}

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

/* ---------- 2. 变量 ---------- */
:root {
  --red: #E23A2E;
  --red-deep: #A81E17;
  --navy: #0B1B33;
  --ink: #050B14;
  --cyan: #22E0C8;
  --orange: #FF8A3D;
  --blue: #3D6BFF;
  --mist: #F3F7FC;
  --steel: #6F8199;
  --teal: #0D4B56;

  --rail-w: clamp(232px, 19vw, 276px);
  --band-h: 46px;
  --bar-h: 66px;

  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace;

  --scroll-progress: 0;
  --shadow-panel: 0 18px 46px rgba(5, 11, 20, .16);
  --line-steel: rgba(111, 129, 153, .28);
}

/* ---------- 3. 基础排版与画布 ---------- */
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
  color: var(--navy);
  background-color: var(--mist);
  background-image:
    radial-gradient(90% 60% at 100% 0%, rgba(34, 224, 200, .07), transparent 62%),
    radial-gradient(70% 40% at 0% 100%, rgba(61, 107, 255, .06), transparent 70%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-left: var(--rail-w);
  padding-top: var(--band-h);
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.012em;
  color: var(--navy);
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); }
h3 { font-size: clamp(1.14rem, 1.5vw, 1.45rem); line-height: 1.36; }
h4 { font-size: 1.02rem; line-height: 1.45; }

strong, b { font-weight: 700; }
::selection { background: rgba(226, 58, 46, .22); color: var(--ink); }

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

/* ---------- 4. 通用工具 ---------- */
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}

.visually-hidden {
  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;
}

.lead {
  font-size: clamp(1.02rem, 1.3vw, 1.16rem);
  line-height: 1.8;
  color: #33455f;
  max-width: 62ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: currentColor;
}
.eyebrow--light { color: var(--cyan); }

/* ---------- 5. 布局骨架 ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(20px, 3.4vw, 52px);
}

.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(32px, 4vw, 56px); }

.grid {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
}
.grid--7-5 { grid-template-columns: 7fr 5fr; }
.grid--8-4 { grid-template-columns: 8fr 4fr; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 44px;
  padding: 12px 24px;
  font-size: .94rem;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.2;
  border-radius: 2px;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  color: #fff;
  background: var(--red);
  clip-path: polygon(11px 0, 100% 0, calc(100% - 11px) 100%, 0 100%);
}
.btn--primary:hover { background: var(--red-deep); }

.btn--ghost {
  color: var(--cyan);
  border: 1px solid rgba(34, 224, 200, .48);
  background: rgba(34, 224, 200, .04);
}
.btn--ghost:hover {
  color: #fff;
  background: rgba(34, 224, 200, .16);
  border-color: rgba(34, 224, 200, .8);
}

.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 9px 16px; font-size: .82rem; }

/* ---------- 7. 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.6;
  border-radius: 2px;
  color: var(--red-deep);
  background: rgba(226, 58, 46, .12);
}
.tag--live { color: #0a3a37; background: rgba(34, 224, 200, .3); }
.tag--warm { color: #7a3a08; background: rgba(255, 138, 61, .22); }
.tag--cool { color: #1b3aa8; background: rgba(61, 107, 255, .16); }

/* ---------- 8. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: var(--steel);
}
.breadcrumb a { transition: color .18s ease; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb__sep { color: rgba(111, 129, 153, .55); }

/* ---------- 9. 图片容器基础 ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  isolation: isolate;
  border-radius: 2px;
  background:
    radial-gradient(70% 60% at 72% 18%, rgba(34, 224, 200, .32), transparent 68%),
    radial-gradient(80% 70% at 12% 92%, rgba(226, 58, 46, .28), transparent 66%),
    linear-gradient(158deg, #0D4B56 0%, #0B1B33 56%, #050B14 100%);
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(243, 247, 252, .07) 0 1px, transparent 1px 15px);
  pointer-events: none;
}
.media-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-frame__caption {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; bottom: 0;
  padding: 16px 18px;
  font-size: .8rem;
  line-height: 1.6;
  color: rgba(243, 247, 252, .88);
  background: linear-gradient(180deg, rgba(5, 11, 20, 0), rgba(5, 11, 20, .82));
}

/* ---------- 10. 数据面板 ---------- */
.panel {
  position: relative;
  padding: clamp(20px, 2.4vw, 32px);
  border: 1px solid rgba(11, 27, 51, .08);
  border-radius: 2px;
  background: rgba(255, 255, 255, .76);
  box-shadow: var(--shadow-panel);
}
.panel--dark {
  color: rgba(243, 247, 252, .86);
  border-color: rgba(34, 224, 200, .2);
  background: linear-gradient(150deg, rgba(11, 27, 51, .94) 0%, rgba(5, 11, 20, .97) 100%);
}
.panel--dark h2,
.panel--dark h3,
.panel--dark h4 { color: #fff; }

/* ---------- 11. 正文模块 ---------- */
.prose > * + * { margin-top: 1.1em; }
.prose p { max-width: 68ch; line-height: 1.85; color: #24334a; }
.prose h2, .prose h3 { margin-top: 2em; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 12. 滚动显现 ---------- */
[data-reveal].is-pending {
  opacity: 0;
  transform: translateY(20px);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  transition:
    opacity .5s ease var(--d, 0ms),
    transform .5s cubic-bezier(.22, .75, .3, 1) var(--d, 0ms);
}

/* ---------- 13. 跳至主要内容 ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 50%;
  z-index: 999;
  padding: 10px 20px;
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--ink);
  background: var(--cyan);
  border-radius: 2px;
  transform: translate(-50%, -180%);
  transition: transform .22s ease;
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ---------- 14. 侧轨道头部 ---------- */
.site-header {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 130;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  padding: 26px 18px 20px;
  color: #F3F7FC;
  background:
    radial-gradient(130% 55% at 0% 0%, rgba(34, 224, 200, .14), transparent 62%),
    radial-gradient(90% 45% at 100% 102%, rgba(13, 75, 86, .6), transparent 70%),
    linear-gradient(180deg, #0B1B33 0%, #071427 52%, #050B14 100%);
  border-right: 1px solid rgba(34, 224, 200, .18);
}
.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  height: 172px;
  background: linear-gradient(180deg, var(--red) 0%, rgba(226, 58, 46, 0) 100%);
  pointer-events: none;
}

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

.brand { display: flex; align-items: center; gap: 11px; }

.brand__glyph {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px; height: 44px;
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%);
  box-shadow: inset 0 -8px 16px rgba(5, 11, 20, .3);
}

.brand__text { display: flex; flex-direction: column; gap: 1px; }
.brand__name { font-size: 1.04rem; font-weight: 800; letter-spacing: .08em; }
.brand__tag { font-size: .66rem; letter-spacing: .3em; color: var(--cyan); }

/* 导航 */
.rail-nav {
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 34px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.rail-nav__label {
  margin-bottom: 14px;
  padding-left: 17px;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .34em;
  color: rgba(111, 129, 153, .95);
}
.rail-nav__list { display: flex; flex-direction: column; gap: 2px; }

.rail-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 34px 9px 17px;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(243, 247, 252, .7);
  border-left: 2px solid rgba(111, 129, 153, .3);
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.rail-nav__link::before {
  content: "";
  width: 6px; height: 6px;
  margin-right: 11px;
  border-radius: 50%;
  background: rgba(111, 129, 153, .62);
  transition: background-color .2s ease, box-shadow .2s ease;
}
.rail-nav__link::after {
  content: "";
  position: absolute;
  right: 12px;
  width: 18px; height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .25s ease;
}
.rail-nav__link:hover {
  color: #fff;
  background: rgba(243, 247, 252, .06);
  border-left-color: rgba(34, 224, 200, .72);
}
.rail-nav__link:hover::before { background: var(--cyan); }
.rail-nav__link:hover::after { transform: scaleX(1); }

.rail-nav__link[aria-current="page"] {
  color: #fff;
  border-left-color: var(--red);
  background: linear-gradient(90deg, rgba(226, 58, 46, .32) 0%, rgba(226, 58, 46, 0) 92%);
}
.rail-nav__link[aria-current="page"]::before {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(226, 58, 46, .22);
}
.rail-nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* 轨道底部 */
.rail-foot {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(111, 129, 153, .22);
}
.rail-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: #fff;
  background: var(--red);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background-color .2s ease, transform .2s ease;
}
.rail-cta:hover { background: var(--red-deep); transform: translateX(2px); }
.rail-foot__note {
  margin-top: 12px;
  font-size: .7rem;
  line-height: 1.7;
  color: var(--steel);
}

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  position: relative;
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border: 1px solid rgba(34, 224, 200, .38);
  border-radius: 2px;
  transition: background-color .2s ease, border-color .2s ease;
}
.nav-toggle:hover { background: rgba(34, 224, 200, .1); }
.nav-toggle__bar {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transition: transform .26s ease, opacity .18s ease;
}
.nav-toggle__bar:nth-child(1) { top: 16px; }
.nav-toggle__bar:nth-child(2) { top: 22px; }
.nav-toggle__bar:nth-child(3) { top: 28px; }

.site-header[data-open] .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 15. 顶部比分带 ---------- */
.score-band {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  right: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 18px;
  height: var(--band-h);
  padding: 0 22px;
  overflow: hidden;
  color: #E6EEF9;
  background: linear-gradient(90deg, #06101f 0%, #0B1B33 38%, #0d2941 100%);
  border-bottom: 1px solid rgba(34, 224, 200, .22);
}

.score-band__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .22em;
  color: var(--cyan);
}

.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  animation: live-pulse 2.1s ease-out infinite;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 224, 200, .6); }
  70%  { box-shadow: 0 0 0 9px rgba(34, 224, 200, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 224, 200, 0); }
}

.score-strip {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.score-item {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  font-size: .8rem;
  white-space: nowrap;
  transition: opacity .3s ease, transform .3s ease;
}
.score-item.is-leaving { opacity: 0; transform: translateX(-10px); }

.score-item__meta {
  font-size: .66rem;
  letter-spacing: .12em;
  color: var(--orange);
}
.score-item__team { color: rgba(243, 247, 252, .82); }
.score-item__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.06rem;
  font-weight: 700;
  color: #fff;
}
.score-item__colon { color: var(--steel); }
.score-item__state {
  margin-left: 5px;
  padding: 1px 7px;
  font-size: .64rem;
  letter-spacing: .1em;
  color: var(--cyan);
  background: rgba(34, 224, 200, .14);
  border-radius: 2px;
}

.score-band__cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 16px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: #fff;
  background: var(--red);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: background-color .2s ease;
}
.score-band__cta:hover { background: var(--red-deep); }

.score-band__progress {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--orange) 58%, var(--red) 100%);
  transform: scaleX(var(--scroll-progress));
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ---------- 16. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  color: rgba(243, 247, 252, .78);
  background:
    radial-gradient(85% 60% at 6% 0%, rgba(13, 75, 86, .6), transparent 66%),
    radial-gradient(70% 50% at 96% 8%, rgba(61, 107, 255, .16), transparent 70%),
    linear-gradient(180deg, #08162b 0%, #050B14 74%);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    var(--red) 0 18%,
    transparent 18% 22%,
    var(--orange) 22% 30%,
    transparent 30% 34%,
    var(--cyan) 34% 52%,
    transparent 52% 56%,
    rgba(61, 107, 255, .85) 56% 74%,
    transparent 74% 78%,
    rgba(34, 224, 200, .45) 78% 100%);
}

.footer-wrap {
  display: grid;
  grid-template-columns: 1.5fr .85fr .85fr 1.35fr;
  gap: clamp(26px, 3.4vw, 52px);
  max-width: 1240px;
  margin-inline: auto;
  padding: clamp(44px, 5.5vw, 72px) clamp(20px, 4vw, 56px) clamp(36px, 4.5vw, 56px);
}

.brand--footer .brand__glyph { width: 40px; height: 40px; font-size: 1.18rem; }
.brand--footer .brand__name { color: #fff; }

.footer-brand__note {
  margin-top: 18px;
  max-width: 30ch;
  font-size: .88rem;
  line-height: 1.8;
  color: rgba(243, 247, 252, .66);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.footer-badges li {
  padding: 4px 10px;
  font-size: .66rem;
  letter-spacing: .1em;
  color: rgba(34, 224, 200, .92);
  border: 1px solid rgba(34, 224, 200, .3);
  border-radius: 2px;
}

.footer-title {
  margin-bottom: 16px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .26em;
  color: var(--cyan);
}

.footer-list li + li { margin-top: 10px; }
.footer-list a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  font-size: .9rem;
  color: rgba(243, 247, 252, .74);
  transition: color .18s ease, transform .18s ease;
}
.footer-list a:hover { color: #fff; transform: translateX(3px); }

.footer-contact__list li { margin-bottom: 14px; }
.footer-contact__k {
  display: block;
  font-size: .66rem;
  letter-spacing: .2em;
  color: var(--steel);
}
.footer-contact__v {
  display: block;
  font-size: .88rem;
  line-height: 1.6;
  color: rgba(243, 247, 252, .88);
  word-break: break-word;
}
.footer-contact__v--mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .03em;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  max-width: 1240px;
  margin-inline: auto;
  padding: 20px clamp(20px, 4vw, 56px) 30px;
  border-top: 1px solid rgba(111, 129, 153, .22);
  font-size: .74rem;
  color: var(--steel);
}
.footer-base__icp { letter-spacing: .04em; color: rgba(111, 129, 153, .95); }

.to-top {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--cyan);
  border: 1px solid rgba(34, 224, 200, .34);
  border-radius: 2px;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.to-top:hover {
  color: #fff;
  background: rgba(34, 224, 200, .14);
  border-color: rgba(34, 224, 200, .62);
}

/* ---------- 17. 响应式 ---------- */
@media (max-width: 1080px) {
  .footer-wrap { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .grid--7-5,
  .grid--8-4 { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 959px) {
  :root { --band-h: 44px; }

  html { scroll-padding-top: calc(var(--bar-h) + var(--band-h) + 16px); }

  body {
    padding-left: 0;
    padding-top: calc(var(--bar-h) + var(--band-h));
  }

  .site-header {
    inset: 0 0 auto 0;
    width: 100%;
    height: var(--bar-h);
    flex-direction: row;
    align-items: center;
    padding: 0 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(34, 224, 200, .2);
    overflow: visible;
  }
  .site-header::before {
    top: auto;
    bottom: 0;
    right: 0;
    width: 132px;
    height: 2px;
    background: linear-gradient(90deg, rgba(226, 58, 46, 0), var(--red) 100%);
  }

  .rail-head { width: 100%; }
  .nav-toggle { display: inline-flex; }

  .rail-nav {
    position: absolute;
    top: var(--bar-h);
    left: 0;
    right: 0;
    display: none;
    flex: 0 0 auto;
    margin: 0;
    max-height: calc(100vh - var(--bar-h));
    overflow-y: auto;
    padding: 12px 16px 24px;
    background: linear-gradient(180deg, #0B1B33 0%, #050B14 100%);
    border-bottom: 1px solid rgba(34, 224, 200, .24);
    box-shadow: 0 26px 44px rgba(5, 11, 20, .6);
  }

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

  .rail-nav__label { padding-left: 15px; }
  .rail-foot { display: none; }

  .score-band {
    top: var(--bar-h);
    left: 0;
    gap: 14px;
    padding: 0 14px;
  }
  .score-item__meta { display: none; }
  .score-band__cta { padding: 0 12px; }

  .footer-wrap { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
}

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

  .footer-wrap { grid-template-columns: 1fr; }
  .footer-base {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .to-top { margin-left: 0; margin-top: 8px; }

  .score-band__live { letter-spacing: .12em; }
  .score-band__cta { display: none; }
}

/* ---------- 18. 动效降级 ---------- */
@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;
  }

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

  .score-item.is-leaving { opacity: 1; transform: none; }
  .rail-nav__link:hover { background: rgba(243, 247, 252, .06); }
  .rail-cta:hover { transform: none; }
  .footer-list a:hover { transform: none; }
}
