/* ============================================================
   安博电竞主站 · 共享样式 /assets/site.css
   深夜赛场控制室：玻璃层承载导航，矿物实色层承载正文
   ============================================================ */

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

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

body {
  margin: 0;
  background-color: var(--ink-900);
  background-image:
    radial-gradient(78% 46% at 10% -6%, rgba(127, 233, 224, .075), transparent 62%),
    radial-gradient(66% 46% at 100% 0%, rgba(154, 107, 255, .10), transparent 64%);
  background-repeat: no-repeat;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

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

button { font: inherit; color: inherit; }

table { border-collapse: collapse; width: 100%; }

[hidden] { display: none !important; }

::selection { background: var(--cyan); color: var(--ink-900); }

/* ---------- tokens ---------- */
:root {
  --ink-900: #070B14;
  --ink-800: #0E1729;
  --panel: #131F35;
  --rock: #8C9AA8;
  --ivory: #EFE7DB;
  --paper: #E6F1F5;
  --cyan: #7FE9E0;
  --gold: #F2A03D;
  --acid: #A6F55C;
  --violet-a: #9A6BFF;
  --violet-b: #5B2BD9;
  --moss: #5E7A63;
  --clay: #B6724F;

  --line-soft: rgba(140, 154, 168, .18);
  --line: rgba(140, 154, 168, .30);
  --glass: rgba(19, 31, 53, .74);
  --glass-strong: rgba(14, 23, 41, .96);

  --rail-w: 88px;
  --top-h: 40px;
  --radius: 4px;

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

  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------- 焦点 ---------- */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(127, 233, 224, .22);
}

/* ---------- 中文排版工具 ---------- */
.t-display {
  font-size: clamp(2.4rem, 5.6vw, 5.2rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.02em;
  font-stretch: condensed;
  color: var(--paper);
}

.t-h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.015em;
  font-stretch: condensed;
}

.t-h3 {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.005em;
}

.t-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rock);
  line-height: 1.4;
}

.t-index {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  color: var(--rock);
  letter-spacing: .08em;
}

.data-num {
  font-family: var(--font-mono);
  font-size: 1.6em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

.data-num--acid { color: var(--acid); }

.lead {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--paper);
  max-width: 40ch;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), rgba(127, 233, 224, 0));
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 容器与章节 ---------- */
.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

.section { padding: 44px 0; }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}

/* ---------- 网格与卡片 ---------- */
.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
    border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.card--glass {
  background: linear-gradient(150deg, rgba(19, 31, 53, .82), rgba(14, 23, 41, .62));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--paper);
}

.card--ivory { background: var(--ivory); color: #11161E; border-color: rgba(239, 231, 219, .7); }
.card--moss { background: var(--moss); color: var(--ivory); border-color: rgba(94, 122, 99, .8); }
.card--clay { background: var(--clay); color: #1B0E06; border-color: rgba(182, 114, 79, .8); }

.card--hoverable:hover,
.card--hoverable:focus-within {
  transform: translateY(-4px);
  background-color: rgba(19, 31, 53, .9);
  border-color: rgba(127, 233, 224, .55);
  box-shadow: 0 14px 30px rgba(4, 8, 16, .55);
}

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rock);
  white-space: nowrap;
}

.tag--cyan { border-color: rgba(127, 233, 224, .5); color: var(--cyan); background: rgba(127, 233, 224, .08); }
.tag--gold { border-color: rgba(242, 160, 61, .5); color: var(--gold); background: rgba(242, 160, 61, .08); }
.tag--acid { border-color: rgba(166, 245, 92, .5); color: var(--acid); background: rgba(166, 245, 92, .08); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  text-align: center;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
    border-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}

.btn--primary { background: var(--cyan); border-color: var(--cyan); color: #04121A; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(127, 233, 224, .24); }

.btn--gold { background: var(--gold); border-color: var(--gold); color: #1A0E02; }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(242, 160, 61, .24); }

.btn--ghost { background: rgba(127, 233, 224, .06); border-color: rgba(127, 233, 224, .5); color: var(--cyan); }
.btn--ghost:hover { background: rgba(127, 233, 224, .15); transform: translateY(-2px); }

/* ---------- 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rock);
}

.breadcrumbs__sep { color: rgba(140, 154, 168, .5); }
.breadcrumbs a { min-height: 24px; display: inline-flex; align-items: center; }
.breadcrumbs a:hover { color: var(--cyan); }
.breadcrumbs [aria-current="page"] { color: var(--ivory); }

/* ---------- 图片容器 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--ink-800);
  background-image:
    radial-gradient(120% 90% at 18% 0%, rgba(127, 233, 224, .16), transparent 56%),
    radial-gradient(90% 80% at 100% 100%, rgba(154, 107, 255, .22), transparent 62%),
    linear-gradient(160deg, #0E1729, #070B14);
}

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

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(0deg, rgba(7, 11, 20, .68), rgba(7, 11, 20, 0) 62%);
}

.media-frame__noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .15;
  mix-blend-mode: screen;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(230, 241, 245, .12) 0 1px,
    rgba(230, 241, 245, 0) 1px 3px
  );
}

.media-frame__cap {
  position: absolute;
  z-index: 2;
  left: 12px;
  right: 12px;
  bottom: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ivory);
}

/* ---------- 时间线 ---------- */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: 24px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--violet-a), var(--violet-b) 45%, var(--cyan));
}

.timeline__node { position: relative; }

.timeline__node::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 7px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--violet-a);
  border-radius: 50%;
  background: var(--ink-900);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.timeline__node.is-visible::before {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(127, 233, 224, .6);
}

/* ---------- 页内索引轨道 ---------- */
.index-track {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.index-track a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  font-size: 13px;
  color: var(--rock);
  transition: color .18s var(--ease), transform .18s var(--ease);
}

.index-track a:hover { color: var(--paper); transform: translateX(3px); }

.index-track a[aria-current="true"] {
  color: var(--cyan);
  font-weight: 700;
}

/* ---------- 显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

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

/* ============================================================
   头部
   ============================================================ */
.site-header { position: relative; z-index: 80; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 2px;
  background: var(--cyan);
  color: var(--ink-900);
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-170%);
  transition: transform .18s var(--ease);
}

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

/* 转播窄条 */
.site-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  height: var(--top-h);
  background: rgba(7, 11, 20, .88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  padding: 0 10px;
}

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 1 auto;
  min-width: 0;
}

.brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--violet-a) 55%, var(--gold) 100%);
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 1px;
  background: var(--ink-900);
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.1;
}

.brand__line {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand__sub {
  display: none;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rock);
}

/* 最近回放 */
.replay-strip {
  display: none;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  min-width: 0;
  overflow: hidden;
}

.replay-strip__label {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rock);
}

.replay-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  height: 24px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(19, 31, 53, .6);
  font-size: 11.5px;
  color: var(--paper);
  white-space: nowrap;
  transition: border-color .18s var(--ease), background-color .18s var(--ease),
    transform .18s var(--ease);
}

.replay-chip:hover {
  border-color: rgba(127, 233, 224, .7);
  background: rgba(127, 233, 224, .10);
  transform: translateY(-1px);
}

.replay-chip__time { font-family: var(--font-mono); font-size: 10.5px; color: var(--gold); }
.replay-chip__name { font-weight: 600; }

/* 赛季阶段标签 */
.season-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  margin-left: auto;
  padding: 4px 10px;
  border: 1px solid rgba(242, 160, 61, .42);
  border-radius: 2px;
  background: rgba(242, 160, 61, .10);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: .06em;
  white-space: nowrap;
}

.season-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 160, 61, .18);
  animation: badge-pulse 2.6s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

/* 抽屉按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  height: 100%;
  min-width: 44px;
  padding: 0 8px 0 12px;
  border: 0;
  border-left: 1px solid var(--line-soft);
  background: transparent;
  cursor: pointer;
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--cyan);
  transition: transform .2s var(--ease);
}

.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

.nav-toggle__text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--paper);
}

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  z-index: 2;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet-a) 55%, var(--gold));
  transition: width .12s linear;
}

/* 轨道 / 抽屉 */
.site-rail {
  position: fixed;
  top: var(--top-h);
  right: 0;
  bottom: 0;
  z-index: 65;
  display: flex;
  flex-direction: column;
  width: min(320px, 84vw);
  overflow-y: auto;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-left: 1px solid var(--line);
  transform: translateX(102%);
  transition: transform .26s var(--ease);
}

.site-rail[data-open] { transform: translateX(0); }

.rail-label { display: none; }

.rail-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 8px;
}

.rail-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 3px;
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}

.rail-link:hover { background: rgba(127, 233, 224, .09); color: #FFFFFF; }

.rail-link__icon {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .85;
}

.rail-link[aria-current="page"] {
  background: rgba(127, 233, 224, .12);
  color: #FFFFFF;
}

.rail-link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 22px;
  border-radius: 2px;
  background: var(--gold);
  transform: translateY(-50%);
}

.rail-link[aria-current="page"] .rail-link__icon { color: var(--cyan); opacity: 1; }

.rail-foot {
  margin-top: auto;
  padding: 12px 8px 18px;
  border-top: 1px solid var(--line-soft);
}

.rail-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 8px;
  border: 1px solid rgba(127, 233, 224, .5);
  border-radius: 3px;
  background: linear-gradient(135deg, rgba(127, 233, 224, .16), rgba(154, 107, 255, .20));
  color: var(--cyan);
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  transition: background-color .18s var(--ease), transform .18s var(--ease);
}

.rail-cta:hover { transform: translateY(-2px); background-color: rgba(127, 233, 224, .12); }

.nav-scrim {
  position: fixed;
  top: var(--top-h);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  background: rgba(7, 11, 20, .62);
}

/* 主体偏移 */
#main-content {
  display: block;
  padding-top: var(--top-h);
}

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: 40px;
  padding-top: 44px;
  background: linear-gradient(180deg, #070B14 0%, #0A1120 58%, #070B14 100%);
  border-top: 1px solid var(--line-soft);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  opacity: .6;
  background: linear-gradient(90deg, var(--cyan), var(--violet-a) 45%, var(--gold));
}

.footer-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 26px;
}

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

.footer-brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--violet-a) 55%, var(--gold) 100%);
}

.footer-brand__mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 1px;
  background: var(--ink-900);
}

.footer-brand__text { min-width: 0; }

.footer-brand__name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.35;
}

.footer-brand__desc {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--rock);
  line-height: 1.5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px 20px;
  margin-top: 28px;
}

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

.footer-col__title {
  padding-bottom: 9px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rock);
}

.footer-links { display: flex; flex-direction: column; }

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--paper);
  transition: color .18s var(--ease), transform .18s var(--ease);
}

.footer-links a:hover { color: var(--cyan); transform: translateX(3px); }

.footer-contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px 26px;
  margin-top: 30px;
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(19, 31, 53, .86), rgba(14, 23, 41, .7));
}

.footer-contact__item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.footer-contact__key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rock);
}

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

.footer-contact__val--mono {
  font-family: var(--font-mono);
  color: var(--cyan);
  letter-spacing: .01em;
}

.footer-note {
  margin-top: 16px;
  max-width: 66ch;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--rock);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 22px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.footer-legal__line {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--rock);
}

.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.footer-legal__links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 12.5px;
  color: var(--rock);
  transition: color .18s var(--ease);
}

.footer-legal__links a:hover { color: var(--cyan); }

/* ============================================================
   响应式
   ============================================================ */
@media (min-width: 480px) {
  .topbar-inner { padding: 0 14px; }
  .brand__line { font-size: 13.5px; }
}

@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wrap { padding: 0 22px; }
  .footer-inner { padding: 0 22px 28px; }
}

@media (min-width: 768px) {
  .footer-contact { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 24px 26px; }
}

@media (min-width: 900px) {
  .brand__sub { display: block; }
  .replay-strip { display: flex; }
  .nav-toggle { display: none; }

  .site-topbar { padding-left: 0; }
  .topbar-inner { padding: 0 22px 0 14px; gap: 16px; }

  .site-rail {
    top: var(--top-h);
    left: 0;
    right: auto;
    bottom: 0;
    width: var(--rail-w);
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(14, 23, 41, .92), rgba(7, 11, 20, .94));
    border-left: 0;
    border-right: 1px solid var(--line-soft);
    transform: none;
    transition: none;
  }

  .site-rail[data-open] { transform: none; }

  .rail-label {
    display: block;
    padding: 14px 6px 8px;
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-align: center;
    color: var(--rock);
    line-height: 1.5;
  }

  .rail-list { flex: 1 1 auto; padding: 4px 8px; gap: 6px; }

  .rail-link {
    flex-direction: column;
    gap: 6px;
    min-height: 0;
    padding: 10px 3px;
    font-size: 10.5px;
    line-height: 1.3;
    text-align: center;
  }

  .rail-link__icon { width: 18px; height: 18px; }

  .rail-link__text {
    display: block;
    width: 100%;
    word-break: break-word;
    letter-spacing: .01em;
  }

  .rail-link:hover { transform: translateY(-1px); }

  .rail-link[aria-current="page"]::before {
    left: 0;
    width: 3px;
    height: 30px;
  }

  .rail-foot { padding: 12px 8px 18px; }
  .rail-cta { font-size: 11px; letter-spacing: .02em; }

  .nav-scrim { display: none !important; }

  #main-content { margin-left: var(--rail-w); }
  .site-footer { margin-left: var(--rail-w); }

  .section { padding: 68px 0; }
  .wrap { padding: 0 32px; }
  .footer-inner { padding: 0 32px 32px; }
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 26px; }
  .footer-links a { min-height: 38px; }
}

@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid { gap: 20px; }
  .grid--2 { gap: 20px; }
}

/* ============================================================
   动效偏好
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .card--hoverable:hover { transform: none; }
  .scroll-progress { transition: none; }
}
