/* ============================================================
   AB赛事 · 共享样式表 /assets/site.css
   夜场深蓝 + 荧光绿 + 暖橙，框架式竖向导航轨道
   ============================================================ */

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

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

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

ul, ol { list-style: none; }
img, svg, video, canvas { display: block; max-width: 100%; }
table { border-collapse: collapse; width: 100%; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
hr { border: 0; }

/* ---------- 2. 变量 ---------- */
:root {
  --bg: #061726;
  --bg-layer: #0D2740;
  --glass: rgba(255, 255, 255, .06);
  --glass-line: rgba(255, 255, 255, .12);
  --brand: #3BFF9E;
  --brand-deep: #12B874;
  --warm: #FF7A2F;
  --alert: #FF4D63;
  --text: #EAF4FF;
  --text-dim: #9BB2C9;
  --line: #1E4363;

  --rail-w: 88px;
  --topbar-h: 72px;
  --maxw: 1280px;
  --pad: clamp(18px, 4vw, 48px);
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font-display: "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-num: "JetBrains Mono", "Roboto Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
}

/* ---------- 3. 基底 ---------- */
body {
  min-height: 100vh;
  padding-left: var(--rail-w);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(30, 67, 99, .22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 67, 99, .16) 1px, transparent 1px),
    radial-gradient(880px 520px at 8% -10%, rgba(59, 255, 158, .12), transparent 62%),
    radial-gradient(760px 460px at 96% 2%, rgba(255, 122, 47, .10), transparent 60%),
    radial-gradient(1100px 700px at 50% 118%, rgba(18, 184, 116, .12), transparent 66%);
  background-size: 120px 120px, 120px 120px, auto, auto, auto;
  background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat;
  background-attachment: fixed, fixed, fixed, fixed, fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(59, 255, 158, .3); color: #04121F; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #081E31; }
::-webkit-scrollbar-thumb { background: #1E4363; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-deep); }

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

/* ---------- 4. 跳过链接 ---------- */
.skip-link {
  position: absolute;
  left: 14px;
  top: -70px;
  z-index: 200;
  padding: 11px 18px;
  border-radius: 0 0 12px 12px;
  background: var(--brand);
  color: #04201A;
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- 5. 头部外壳 ---------- */
.site-header {
  position: relative;
  z-index: 60;
}

/* ---- 左侧竖向导航轨道 ---- */
.rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 70;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 26px;
  background: linear-gradient(180deg, #04121F 0%, #08202F 48%, #04121F 100%);
  border-right: 1px solid var(--line);
}
.rail::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  width: 1px;
  height: 130px;
  background: linear-gradient(180deg, var(--brand), transparent);
  opacity: .85;
}

.rail__pulse {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border-radius: 3px;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(59, 255, 158, .10);
  animation: railPulse 2.6s var(--ease) infinite;
}
@keyframes railPulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(59, 255, 158, .10); }
  50%      { box-shadow: 0 0 0 12px rgba(59, 255, 158, .02); }
}

.rail__nav {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 0;
  overflow: auto;
  scrollbar-width: none;
}
.rail__nav::-webkit-scrollbar { display: none; }

.rail__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.rail__list a {
  position: relative;
  display: block;
  padding: 11px 0;
  writing-mode: vertical-rl;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--text-dim);
  border-radius: 8px;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.rail__list a::after {
  content: "";
  position: absolute;
  left: -11px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  transform: translate(-50%, -50%) scale(0);
  transition: transform .22s var(--ease);
}
.rail__list a:hover {
  color: var(--text);
  background: var(--glass);
}
.rail__list a[aria-current="page"] {
  color: var(--brand);
  background: linear-gradient(180deg, rgba(59, 255, 158, .16), rgba(59, 255, 158, .03));
}
.rail__list a[aria-current="page"]::after { transform: translate(-50%, -50%) scale(1); }

.rail__gauge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 22px;
  flex: 0 0 auto;
}
.rail__gauge span { display: block; height: 1px; background: var(--line); }
.rail__gauge span:nth-child(1) { width: 100%; background: var(--brand); }
.rail__gauge span:nth-child(2) { width: 72%; background: var(--brand-deep); }
.rail__gauge span:nth-child(3) { width: 88%; }
.rail__gauge span:nth-child(4) { width: 56%; }
.rail__gauge span:nth-child(5) { width: 76%; }
.rail__gauge span:nth-child(6) { width: 40%; }

/* ---- 顶部常驻操作条 ---- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 26px);
  min-height: var(--topbar-h);
  padding: 10px var(--pad);
  background: linear-gradient(180deg, rgba(6, 23, 38, .96), rgba(6, 23, 38, .76));
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line);
}

/* ---- 品牌 ---- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--brand);
  color: #04121F;
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0;
}
.brand__meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--text);
}
.brand__tagline {
  font-family: var(--font-num);
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--text-dim);
}
.brand:hover .brand__name { color: var(--brand); }

.topbar__brand { flex: 0 0 auto; }

/* ---- 联赛切换器 ---- */
.topbar__leagues {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.topbar__label {
  flex: 0 0 auto;
  padding-right: 10px;
  border-right: 1px solid var(--line);
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--text-dim);
}
.league-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.league-switch::-webkit-scrollbar { display: none; }
.league-switch__item {
  flex: 0 0 auto;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .05em;
  white-space: nowrap;
  color: var(--text-dim);
  transition: color .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}
.league-switch__item:hover {
  color: var(--text);
  background: var(--glass);
  border-color: var(--line);
}
.league-switch__item[aria-pressed="true"] {
  color: var(--brand);
  background: rgba(59, 255, 158, .10);
  border-color: rgba(59, 255, 158, .42);
}

/* ---- 操作区 ---- */
.topbar__actions {
  margin-left: auto;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---- 按钮 ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--warm { background: var(--warm); color: #0A1A26; }
.btn--warm:hover { background: #FF9152; }
.btn--brand { background: var(--brand); color: #04201A; }
.btn--brand:hover { background: #5FFFB0; }
.btn--ghost {
  background: var(--glass);
  border-color: var(--line);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--sm { padding: 9px 14px; font-size: 12px; }

/* ---- 移动导航按钮 ---- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.nav-toggle:hover { border-color: var(--brand); color: var(--brand); }
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background-color .2s var(--ease);
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .22s var(--ease), top .22s var(--ease);
}
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }
.site-header[data-open="true"] .nav-toggle__bars { background: transparent; }
.site-header[data-open="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.site-header[data-open="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }
.nav-toggle__text { display: inline; }

/* ---- 抽屉遮罩 ---- */
.nav-scrim {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(4, 18, 31, .72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s var(--ease), visibility .28s;
}
.site-header[data-open="true"] .nav-scrim { opacity: 1; visibility: visible; }

/* ---- 滚动进度 ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  right: 0;
  z-index: 68;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--warm));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ---------- 6. 版式容器 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: clamp(56px, 9vw, 112px); }
.section--tight { padding-block: clamp(32px, 5vw, 56px); }
.section--layer {
  position: relative;
  background: var(--bg-layer);
  border-block: 1px solid var(--line);
}

.page-head {
  padding: clamp(28px, 5vw, 60px) 0 clamp(20px, 3vw, 38px);
  border-bottom: 1px solid var(--line);
}
.page-head__title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -.02em;
}
.page-head__lede {
  margin-top: 14px;
  max-width: 64ch;
  font-size: 17px;
  color: var(--text-dim);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.h-display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -.02em;
}
.h-section {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3.6vw, 38px);
  line-height: 1.14;
  letter-spacing: -.01em;
}
.h-card {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.32;
}

.lede {
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.65;
  color: var(--text);
}

.prose {
  max-width: 64ch;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-dim);
}
.prose p + p { margin-top: 1em; }
.prose strong { color: var(--text); font-weight: 700; }
.prose a {
  color: var(--brand);
  border-bottom: 1px solid rgba(59, 255, 158, .4);
}
.prose a:hover { border-bottom-color: var(--brand); }

.num {
  font-family: var(--font-num);
  font-weight: 700;
  letter-spacing: .02em;
}

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

/* ---------- 7. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--text-dim);
}
.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb li + li::before {
  content: "/";
  color: var(--line);
}
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* ---------- 8. 卡片与标签 ---------- */
.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-layer);
}
.card--glass {
  background: var(--glass);
  border-color: var(--glass-line);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.card--accent { border-top: 3px solid var(--brand); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--text-dim);
}
.tag--brand {
  color: var(--brand);
  border-color: rgba(59, 255, 158, .45);
  background: rgba(59, 255, 158, .08);
}
.tag--warm {
  color: var(--warm);
  border-color: rgba(255, 122, 47, .45);
  background: rgba(255, 122, 47, .08);
}
.tag--alert {
  color: var(--alert);
  border-color: rgba(255, 77, 99, .45);
  background: rgba(255, 77, 99, .08);
}

/* ---------- 9. 价格与数据 ---------- */
.price-tag {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 122, 47, .5);
  border-radius: 10px;
  background: rgba(255, 122, 47, .12);
}
.price-tag__num {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.1;
  color: var(--warm);
}
.price-tag__note {
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-dim);
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(22px, 4vw, 54px);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat__num {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  color: var(--brand);
}
.stat__label {
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--text-dim);
}

/* ---------- 10. 时间轴基座 ---------- */
.timeline {
  position: relative;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.timeline__item {
  position: relative;
  padding: 0 0 28px 16px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--brand);
  transform: translateX(-50%);
}
.timeline__time {
  display: block;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--brand);
}
.timeline__body {
  margin-top: 6px;
  font-size: 15px;
  color: var(--text-dim);
}

/* ---------- 11. 网格 ---------- */
.grid {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
}
.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)); }

/* ---------- 12. 图片容器基座 ---------- */
.media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, #0D2740 0%, #061726 60%, #0A2032 100%);
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(30, 67, 99, .28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 67, 99, .2) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .55;
}
.media img,
.media video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }
.media--band { aspect-ratio: 21 / 9; }
.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 14px 16px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--text);
  background: linear-gradient(180deg, transparent, rgba(6, 23, 38, .92));
}

/* ---------- 13. 页脚 ---------- */
.site-footer {
  margin-top: clamp(56px, 8vw, 110px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 39, 64, .68), #04121F 72%);
}

.site-footer__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 76px) var(--pad) clamp(30px, 4vw, 48px);
  display: grid;
  gap: clamp(26px, 3.4vw, 48px);
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(110px, .8fr)) minmax(230px, 1.3fr);
}

.foot-lead__text {
  margin-top: 16px;
  max-width: 40ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-dim);
}
.foot-lead__meter {
  display: flex;
  gap: 5px;
  margin-top: 20px;
  max-width: 190px;
}
.foot-lead__meter span {
  display: block;
  flex: 1 1 auto;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
}
.foot-lead__meter span:nth-child(1) { background: var(--brand); }
.foot-lead__meter span:nth-child(2) { background: var(--brand-deep); }

.foot-col__title {
  margin-bottom: 16px;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text);
}
.foot-col__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot-col__list a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color .2s var(--ease);
}
.foot-col__list a:hover { color: var(--brand); }

.foot-contact__item {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dim);
}
.foot-contact__item .num { color: var(--text); }
.foot-contact__note {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-dim);
  opacity: .85;
}

.site-footer__base {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 18px var(--pad) 30px;
  border-top: 1px solid rgba(30, 67, 99, .7);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--text-dim);
}
.foot-base__icp { color: var(--text); }
.foot-base__note { margin-left: auto; opacity: .8; }

/* ---------- 14. 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 28px);
  z-index: 65;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(6, 23, 38, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-dim);
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease),
              visibility .25s, color .2s var(--ease), border-color .2s var(--ease);
}
.to-top.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover {
  color: var(--brand);
  border-color: var(--brand);
}

/* ---------- 15. 显现 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 16. 平板 ---------- */
@media (max-width: 1080px) {
  .site-footer__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .foot-lead { grid-column: 1 / -1; }
  .foot-contact { grid-column: 1 / -1; }
}

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

/* ---------- 17. 移动端：轨道折叠为抽屉 ---------- */
@media (max-width: 900px) {
  :root {
    --rail-w: 0px;
    --topbar-h: 64px;
  }

  body { padding-left: 0; }

  .rail {
    width: min(320px, 84vw);
    align-items: stretch;
    justify-content: flex-start;
    padding: 24px 18px 28px;
    background: #061726;
    border-right: 1px solid var(--line);
    overflow-y: auto;
    transform: translateX(-102%);
    visibility: hidden;
    transition: transform .3s var(--ease), visibility .3s;
  }
  .site-header[data-open="true"] .rail {
    transform: none;
    visibility: visible;
  }
  .rail::after { display: none; }

  .rail__pulse { margin-bottom: 22px; }

  .rail__nav {
    flex: 0 0 auto;
    display: block;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    overflow: visible;
  }
  .rail__list {
    align-items: stretch;
    gap: 0;
  }
  .rail__list a {
    writing-mode: horizontal-tb;
    padding: 15px 12px;
    font-size: 15px;
    letter-spacing: .06em;
    border-bottom: 1px solid rgba(30, 67, 99, .55);
    border-radius: 0;
    background: none;
  }
  .rail__list a::after { display: none; }
  .rail__list a:hover { background: var(--glass); }
  .rail__list a[aria-current="page"] {
    background: linear-gradient(90deg, rgba(59, 255, 158, .16), transparent);
    box-shadow: inset 3px 0 0 var(--brand);
  }

  .rail__gauge { display: none; }

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

  .topbar {
    flex-wrap: wrap;
    gap: 10px 12px;
    padding: 10px 16px;
  }
  .topbar__brand { flex: 1 1 auto; min-width: 0; }
  .topbar__leagues {
    order: 3;
    flex: 1 0 100%;
    padding-top: 8px;
    border-top: 1px solid rgba(30, 67, 99, .6);
  }
  .topbar__label { display: none; }
  .league-switch { width: 100%; }
  .topbar__actions { margin-left: 0; }
  .topbar__actions .btn--ghost { display: none; }

  .scroll-progress { left: 0; }

  .foot-base__note { margin-left: 0; }
}

/* ---------- 18. 手机 ---------- */
@media (max-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: minmax(0, 1fr); }

  .site-footer__inner { grid-template-columns: minmax(0, 1fr); }
  .foot-lead,
  .foot-contact { grid-column: auto; }

  .stat-row { gap: 22px; }
}

@media (max-width: 420px) {
  .brand__tagline { display: none; }
  .btn { padding: 11px 15px; font-size: 12px; }
  .brand__mark { width: 32px; height: 32px; font-size: 12px; }
  .brand__name { font-size: 15px; }
}

/* ---------- 19. 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .to-top { transform: none; }
}
