/* =========================================================
   拼搏体育站 · 共享样式表 /assets/site.css
   夜场转播台：深墨蓝底 + 钢蓝刻度 + 荧光绿状态 + 电光橙事件
   ========================================================= */

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

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

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 { max-width: 100%; display: block; }

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

button { background: none; border: 0; cursor: pointer; }

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

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

[hidden] { display: none !important; }

/* ---------- 变量 ---------- */
:root {
  --ink: #070B18;
  --panel: #0D1730;
  --line: #1E2C4C;
  --text: #ECF2FA;
  --sub: #93A4C0;
  --volt: #B8FF3C;
  --volt-deep: #6FBF00;
  --surge: #FF7A1A;
  --live: #FF4D5E;
  --wash: #12251C;
  --pure: #FFFFFF;

  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-score: "Barlow Condensed", "Oswald", "Arial Narrow", "Helvetica Neue", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --rail-w: 96px;
  --nav-w: 264px;
  --frame-w: calc(var(--rail-w) + var(--nav-w));
  --top-h: 46px;
  --bar-h: 58px;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --gutter: 24px;
}

/* ---------- 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    radial-gradient(1200px 620px at 88% -10%, rgba(184, 255, 60, .07), transparent 62%),
    radial-gradient(900px 520px at 4% 104%, rgba(255, 122, 26, .06), transparent 66%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  padding-top: var(--top-h);
  padding-left: var(--frame-w);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 { font-size: clamp(30px, 4.2vw, 44px); margin-bottom: .55em; }
h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: .6em; }
h3 { font-size: clamp(18px, 1.8vw, 22px); margin-bottom: .7em; }
h4 { font-size: 16px; margin-bottom: .7em; }

p { margin-bottom: 1.2em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; color: var(--pure); }

small { font-size: 12px; }

::selection { background: var(--volt); color: #08120A; }

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

#main-content { scroll-margin-top: calc(var(--top-h) + 24px); }

/* 细滚动条 */
.site-nav::-webkit-scrollbar,
.score-ticker::-webkit-scrollbar { height: 6px; width: 6px; }
.site-nav::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }

/* ---------- 工具类 ---------- */
.container {
  width: min(100% - var(--gutter) * 2, 1180px);
  margin-inline: auto;
}

.page-shell {
  position: relative;
  z-index: 2;
  padding-top: clamp(28px, 4vw, 56px);
}

.section { margin-block: clamp(56px, 7vw, 104px); }

.section--tight { margin-block: clamp(36px, 4vw, 64px); }

.section__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--volt-deep);
  margin-bottom: 14px;
}

.section__title {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 16px;
}

.section__lead {
  color: var(--sub);
  max-width: 62ch;
  margin-bottom: 28px;
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--sub);
}

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

.grid {
  display: grid;
  gap: var(--gutter);
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(216px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1;
  white-space: nowrap;
  transition: transform .16s var(--ease), background-color .16s var(--ease),
              color .16s var(--ease), border-color .16s var(--ease);
}

.btn--volt {
  background: var(--volt);
  color: #08120A;
}
.btn--volt:hover { background: #CDFF6E; transform: translateY(-2px); }
.btn--volt:active { background: var(--volt-deep); transform: translateY(0); }

.btn--ghost {
  background: rgba(184, 255, 60, .06);
  color: var(--volt);
  border-color: rgba(184, 255, 60, .32);
}
.btn--ghost:hover {
  background: rgba(184, 255, 60, .14);
  border-color: var(--volt);
  transform: translateY(-2px);
}

.btn--quiet {
  background: transparent;
  color: var(--sub);
  border-color: var(--line);
}
.btn--quiet:hover { color: var(--text); border-color: var(--sub); }

.btn--sm { padding: 10px 16px; font-size: 13px; }

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--sub);
}

.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li::after { content: "/"; color: var(--line); }
.breadcrumb li:last-child::after { content: none; }
.breadcrumb a:hover { color: var(--volt); }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* ---------- 数据指标 ---------- */
.stat__value {
  display: block;
  font-family: var(--font-score);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--pure);
}

.stat__value em {
  font-style: normal;
  font-size: .5em;
  color: var(--sub);
  margin-left: 4px;
}

.stat__label {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--sub);
}

/* ---------- 研究板 ---------- */
.panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 26px 24px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.panel[data-fav="true"] {
  border-color: rgba(184, 255, 60, .34);
  box-shadow: 0 0 0 1px rgba(184, 255, 60, .12);
}

.panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.panel__title {
  font-size: 19px;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.panel__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--sub);
}

.panel__body { color: var(--sub); font-size: 15px; }

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(30, 44, 76, .35);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.2;
  color: var(--sub);
}

.tag--volt {
  color: var(--volt);
  border-color: rgba(184, 255, 60, .3);
  background: rgba(184, 255, 60, .07);
}

.tag--surge {
  color: var(--surge);
  border-color: rgba(255, 122, 26, .3);
  background: rgba(255, 122, 26, .07);
}

/* ---------- 筛选 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-btn {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--sub);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.2;
  transition: color .16s var(--ease), border-color .16s var(--ease),
              background-color .16s var(--ease);
}

.filter-btn:hover { color: var(--text); border-color: var(--sub); }

.filter-btn[aria-pressed="true"] {
  background: rgba(255, 122, 26, .12);
  border-color: var(--surge);
  color: var(--surge);
}

.filter-status {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--sub);
}

/* ---------- 收藏按钮 ---------- */
.fav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--sub);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  transition: color .16s var(--ease), border-color .16s var(--ease),
              background-color .16s var(--ease);
}

.fav-toggle:hover { color: var(--text); border-color: var(--sub); }

.fav-toggle__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  transition: background-color .16s var(--ease), box-shadow .16s var(--ease);
}

.fav-toggle[aria-pressed="true"] {
  color: var(--volt);
  border-color: rgba(184, 255, 60, .42);
  background: rgba(184, 255, 60, .1);
}

.fav-toggle[aria-pressed="true"] .fav-toggle__dot {
  background: var(--volt);
  box-shadow: 0 0 0 4px rgba(184, 255, 60, .16);
}

/* ---------- 图片容器 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: #080D1C;
  background-image:
    linear-gradient(rgba(30, 44, 76, .55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 44, 76, .55) 1px, transparent 1px),
    linear-gradient(140deg, #101C33, #070C18 68%);
  background-size: 44px 44px, 44px 44px, 100% 100%;
}

.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;
  transition: transform .5s var(--ease);
}

.media-frame:hover .media-frame__img { transform: scale(1.03); }

.media-frame__caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(7, 11, 24, .74);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .04em;
  color: var(--sub);
}

/* ---------- 显现 ---------- */
.reveal { transition: opacity .5s var(--ease), transform .5s var(--ease); }

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
}

.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.is-hidden { display: none !important; }

/* =========================================================
   HEADER
   ========================================================= */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--volt);
  color: #08120A;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transform: translateY(-180%);
  transition: transform .2s var(--ease);
}

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

.site-header { position: relative; z-index: 80; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 92;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--volt), var(--surge));
  transition: width .1s linear;
}

/* --- 比分带 --- */
.score-ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 88;
  display: flex;
  align-items: center;
  height: var(--top-h);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #05080F, #0B1428 55%, #05080F);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.score-ticker::-webkit-scrollbar { display: none; }

.score-ticker__badge {
  position: sticky;
  left: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  height: 100%;
  padding: 0 16px;
  border-right: 1px solid var(--line);
  background: #05080F;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--live);
}

.score-ticker__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  animation: sp-pulse 2s ease-in-out infinite;
}

.score-ticker__track {
  display: flex;
  align-items: center;
  min-width: max-content;
  padding-right: 16px;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: var(--top-h);
  padding: 0 18px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}

.ticker-item__league {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--sub);
}

.ticker-item__team {
  font-size: 13px;
  color: var(--text);
}

.ticker-item__score {
  font-family: var(--font-score);
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--pure);
}

.ticker-item__sep { color: var(--sub); font-weight: 400; margin: 0 2px; }

.ticker-item__state {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--sub);
}

.ticker-item__state.is-live { color: var(--live); }

.ticker-item__state.is-live::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--live);
  vertical-align: middle;
  animation: sp-pulse 2s ease-in-out infinite;
}

/* --- 左侧导轨 --- */
.nav-rail {
  position: fixed;
  top: var(--top-h);
  left: 0;
  bottom: 0;
  z-index: 84;
  width: var(--frame-w);
  display: grid;
  grid-template-columns: var(--rail-w) 1fr;
  grid-template-rows: 1fr auto;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #080D1C, #05080F 72%);
}

.brand-mark {
  grid-column: 1;
  grid-row: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0 22px;
  border-right: 1px solid var(--line);
  color: var(--text);
  transition: background-color .18s var(--ease);
}

.brand-mark:hover { background: rgba(184, 255, 60, .04); }

.brand-mark__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 0 5px rgba(184, 255, 60, .14);
  animation: sp-pulse 2s ease-in-out infinite;
}

.brand-mark__name {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .3em;
  color: var(--text);
}

.brand-mark__tag {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--sub);
}

/* --- 主导航 --- */
.site-nav {
  grid-column: 2;
  grid-row: 1;
  overflow-y: auto;
  padding: 26px 20px 0;
}

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

.site-nav__link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 12px 11px 16px;
  border-radius: var(--radius-sm);
  color: var(--sub);
  font-size: 15px;
  line-height: 1.4;
  transition: color .16s var(--ease), background-color .16s var(--ease);
}

.site-nav__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 22px;
  border-radius: 2px;
  background: var(--volt);
  opacity: 0;
  transform: translateY(-50%) scaleY(.35);
  transition: opacity .16s var(--ease), transform .16s var(--ease);
}

.site-nav__link:hover {
  color: var(--text);
  background: rgba(184, 255, 60, .06);
}

.site-nav__link[aria-current="page"] {
  color: var(--text);
  background: var(--wash);
}

.site-nav__link[aria-current="page"]::before {
  opacity: 1;
  transform: translateY(-50%) scaleY(1);
}

.site-nav__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--volt-deep);
}

.site-nav__link[aria-current="page"] .site-nav__idx { color: var(--volt); }

.site-nav__label { flex: 1 1 auto; }

/* --- 导轨底部工具 --- */
.rail-utility {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px 22px;
  border-top: 1px solid var(--line);
}

.rail-utility__fav {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  max-width: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--sub);
}

.rail-utility__num {
  font-family: var(--font-score);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--volt);
}

.rail-utility__ios {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border: 1px solid rgba(184, 255, 60, .3);
  border-radius: 999px;
  background: rgba(184, 255, 60, .07);
  color: var(--volt);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  transition: background-color .16s var(--ease), border-color .16s var(--ease);
}

.rail-utility__ios:hover {
  background: rgba(184, 255, 60, .16);
  border-color: var(--volt);
}

/* --- 汉堡按钮 --- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--sub);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}

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

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

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

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.site-header[data-open] .nav-toggle { color: var(--volt); border-color: rgba(184, 255, 60, .4); }
.site-header[data-open] .nav-toggle__bars { background: transparent; }
.site-header[data-open] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* --- 返回顶部 --- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 86;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(13, 23, 48, .92);
  color: var(--sub);
  font-size: 17px;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s var(--ease), transform .2s var(--ease),
              color .2s var(--ease), border-color .2s var(--ease), visibility .2s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

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

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  position: relative;
  z-index: 6;
  margin-top: clamp(64px, 8vw, 112px);
  padding: clamp(48px, 6vw, 76px) 0 36px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #070B18, #04060D 90%);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(120px, 1fr));
  gap: 40px 32px;
}

.footer-brand__name {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--text);
  max-width: none;
}

.footer-brand__line {
  margin-bottom: 22px;
  max-width: 22ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--sub);
}

.footer-brand__cta { margin-top: 2px; }

.footer-col__title {
  margin-bottom: 16px;
  max-width: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--volt-deep);
}

.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col__list a {
  font-size: 14px;
  line-height: 1.6;
  color: var(--sub);
  transition: color .16s var(--ease);
}

.footer-col__list a:hover { color: var(--volt); }

.footer-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px 40px;
  margin-top: 52px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.footer-contact__row {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--surge);
}

.footer-contact__value {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.footer-contact__note {
  margin: 0;
  max-width: 40ch;
  font-size: 13px;
  line-height: 1.75;
  color: var(--sub);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 26px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--sub);
}

.footer-legal__icp { margin: 0; max-width: none; }
.footer-legal__year { margin: 0; max-width: none; }

.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.footer-legal__links a { transition: color .16s var(--ease); }
.footer-legal__links a:hover { color: var(--volt); }

/* =========================================================
   动效
   ========================================================= */
@keyframes sp-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.68); }
}

/* =========================================================
   响应式
   ========================================================= */
@media (min-width: 1024px) and (max-width: 1199px) {
  :root {
    --rail-w: 78px;
    --nav-w: 238px;
    --gutter: 20px;
  }
}

@media (max-width: 1023px) {
  :root {
    --top-h: 44px;
    --gutter: 16px;
  }

  body {
    padding-left: 0;
    padding-bottom: 86px;
    font-size: 15.5px;
  }

  .nav-rail {
    top: var(--top-h);
    left: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: var(--bar-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 11, 24, .95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .brand-mark {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 0;
    border-right: 0;
  }

  .brand-mark__dot { width: 8px; height: 8px; box-shadow: 0 0 0 4px rgba(184, 255, 60, .12); }

  .brand-mark__name {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    font-size: 17px;
    letter-spacing: .04em;
  }

  .brand-mark__tag {
    writing-mode: horizontal-tb;
    padding: 4px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    letter-spacing: .1em;
    font-size: 10px;
  }

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

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: calc(var(--top-h) + var(--bar-h));
    z-index: 82;
    max-height: calc(100vh - var(--top-h) - var(--bar-h) - 86px);
    padding: 16px 16px 20px;
    border-bottom: 1px solid var(--line);
    background: #08101F;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
  }

  .site-header[data-open] .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav__list { gap: 4px; }

  .site-nav__link {
    padding: 14px 14px 14px 18px;
    font-size: 16px;
  }

  .rail-utility {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 84;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-top: 1px solid var(--line);
    background: rgba(8, 13, 26, .96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .rail-utility__fav { font-size: 11px; }
  .rail-utility__num { font-size: 20px; }
  .rail-utility__ios { padding: 10px 16px; }

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

  .ticker-item { padding: 0 14px; gap: 8px; }
  .ticker-item__team { font-size: 12px; }
  .ticker-item__score { font-size: 19px; }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 24px;
  }

  .footer-brand { grid-column: 1 / -1; }

  .footer-legal { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { grid-column: auto; }
  .footer-contact { gap: 20px; }

  .brand-mark__tag { display: none; }
  .nav-toggle__text { display: none; }

  .media-frame { border-radius: var(--radius-md); }
  .panel { padding: 20px 18px; border-radius: var(--radius-md); }
}

/* =========================================================
   无障碍：减弱动效
   ========================================================= */
@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;
  }

  .score-ticker__pulse,
  .ticker-item__state.is-live::before,
  .brand-mark__dot { animation: none; }

  .js-reveal .reveal { opacity: 1; transform: none; }

  .media-frame:hover .media-frame__img { transform: none; }
}
