/* ============================================================
   幻影体育安装 · 共享样式 /assets/site.css
   夜间球场灯光 + 数据仪表盘
   ============================================================ */

/* ---------- 1. 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, ol, ul {
  margin: 0;
}

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

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

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; }

/* ---------- 2. Tokens ---------- */
:root {
  color-scheme: dark;

  --font-display: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC",
    "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", "PingFang SC", "Noto Sans SC", system-ui, -apple-system,
    "Segoe UI", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, "SFMono-Regular",
    "Cascadia Mono", Consolas, "Liberation Mono", monospace;

  /* 品牌原始色 */
  --brand: #6C2BD9;
  --brand-deep: #3F1580;
  --lilac: #C9B4F8;
  --cyan: #00E5FF;
  --teal: #008E9E;
  --snow: #F5F7FA;
  --paper: #FFFFFF;
  --ink: #0B0E14;
  --ink-soft: #161B26;
  --grey: #5A6270;
  --mist: #9AA3B2;
  --amber: #FFB020;
  --green: #22C55E;

  /* 语义层（深色为默认） */
  --bg: #0B0E14;
  --bg-soft: #10141d;
  --surface: #161B26;
  --surface-2: #1d2432;
  --surface-hover: rgba(108, 43, 217, .18);
  --line: rgba(154, 163, 178, .20);
  --line-cyan: rgba(0, 229, 255, .38);
  --line-brand: rgba(108, 43, 217, .42);
  --text: #E8EAF0;
  --text-2: #C9B4F8;
  --text-3: #9AA3B2;
  --data: #00E5FF;
  --data-glow: rgba(0, 229, 255, .34);
  --header-bg: rgba(11, 14, 20, .96);
  --card-border: rgba(108, 43, 217, .42);

  /* 形状 */
  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --cut: 16px;

  --shadow-card: 0 18px 44px -30px rgba(0, 0, 0, .95);
  --shadow-dock: 0 22px 60px -32px rgba(0, 0, 0, 1);

  /* 骨架 */
  --shell-max: 1240px;
  --gutter: 22px;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #F5F7FA;
  --bg-soft: #EDF1F7;
  --surface: #FFFFFF;
  --surface-2: #F0F3F9;
  --surface-hover: rgba(108, 43, 217, .10);
  --line: rgba(90, 98, 112, .22);
  --line-cyan: rgba(0, 142, 158, .48);
  --line-brand: rgba(108, 43, 217, .38);
  --text: #262B36;
  --text-2: #4B3A78;
  --text-3: #5A6270;
  --data: #008E9E;
  --data-glow: rgba(0, 142, 158, .22);
  --header-bg: rgba(255, 255, 255, .96);
  --card-border: rgba(108, 43, 217, .30);
  --shadow-card: 0 18px 42px -32px rgba(63, 21, 128, .55);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(920px 540px at 80% -10%, rgba(108, 43, 217, .30), transparent 62%),
    radial-gradient(720px 460px at 2% 2%, rgba(0, 229, 255, .10), transparent 60%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

html[data-theme="light"] body {
  background-image:
    radial-gradient(920px 540px at 82% -12%, rgba(108, 43, 217, .16), transparent 62%),
    radial-gradient(680px 440px at 0% 0%, rgba(0, 142, 158, .10), transparent 60%);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.22;
  color: var(--text);
}

strong { font-weight: 700; }

::selection {
  background: var(--brand);
  color: #fff;
}

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

/* ---------- 4. 布局骨架 ---------- */
.container {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(40px, 6vw, 78px);
}

.section--tight { padding-block: clamp(26px, 4vw, 46px); }

.section--soft {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.grid {
  display: grid;
  gap: 20px;
}

.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)); }
.grid--split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.grid--split-r { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.grid--aside { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); }

/* ---------- 5. 文字工具 ---------- */
.mono,
.num-glow {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.num-glow {
  font-weight: 800;
  color: var(--data);
  text-shadow: 0 0 16px var(--data-glow);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--data);
}

.section-label::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .75;
}

.lede {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--text-2);
  max-width: 62ch;
}

.note {
  font-size: .8rem;
  letter-spacing: .04em;
  color: var(--text-3);
}

.side-note {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-3);
}

.corner-cut {
  clip-path: polygon(
    0 0,
    calc(100% - var(--cut)) 0,
    100% var(--cut),
    100% 100%,
    0 100%
  );
}

.prose {
  max-width: 68ch;
  color: var(--text);
}

.prose > * + * { margin-top: 1.05em; }

.prose h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  margin-top: 1.9em;
}

.prose h3 {
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  margin-top: 1.6em;
  color: var(--text-2);
}

.prose ul,
.prose ol {
  padding-left: 1.25em;
  list-style: disc;
}

.prose ol { list-style: decimal; }

.prose li + li { margin-top: .38em; }

.prose a {
  color: var(--data);
  border-bottom: 1px solid currentColor;
}

.prose code {
  font-family: var(--font-mono);
  font-size: .9em;
  padding: .1em .42em;
  border-radius: var(--radius-xs);
  background: var(--surface-2);
  border: 1px solid var(--line);
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease,
    background-color .2s ease, border-color .2s ease, color .2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(0, 229, 255, .28), 0 16px 34px -22px rgba(108, 43, 217, 1);
}

.btn--primary:hover {
  box-shadow: 0 0 0 1px rgba(0, 229, 255, .62), 0 20px 42px -20px rgba(108, 43, 217, 1);
}

.btn--cyan {
  background: var(--data);
  color: #04121A;
  box-shadow: 0 0 26px var(--data-glow);
}

.btn--cyan:hover { box-shadow: 0 0 36px var(--data-glow); }

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

.btn--ghost:hover {
  border-color: var(--line-cyan);
  color: var(--data);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 7. 卡片 / 面板 / 标签 ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.card:hover {
  border-color: var(--line-cyan);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card), 0 0 28px rgba(0, 229, 255, .14);
}

.card--flat {
  box-shadow: none;
  transform: none;
}

.card--flat:hover {
  transform: none;
  border-color: var(--line-cyan);
  box-shadow: none;
}

.panel {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--text-3);
  background: var(--surface-2);
  border: 1px solid var(--line);
  white-space: nowrap;
}

.chip--live { color: var(--data); border-color: var(--line-cyan); }
.chip--warn { color: var(--amber); border-color: rgba(255, 176, 32, .42); }
.chip--done { color: var(--green); border-color: rgba(34, 197, 94, .42); }

.chip--brand {
  color: #fff;
  background: var(--brand);
  border-color: transparent;
}

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

/* ---------- 8. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-block: 20px 4px;
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--text-3);
}

.breadcrumb a {
  color: var(--text-2);
  transition: color .2s ease;
}

.breadcrumb a:hover { color: var(--data); }

.breadcrumb__sep {
  color: var(--line-cyan);
}

.breadcrumb [aria-current="page"] {
  color: var(--text);
  font-weight: 700;
}

/* ---------- 9. 图像容器 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(150deg, var(--surface-2) 0%, var(--surface) 100%);
}

.media-frame > img,
.media-frame > picture > img,
.media-frame > svg,
.media-frame > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 229, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, .07) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .75;
}

.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;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 16px 18px 14px;
  font-size: .76rem;
  letter-spacing: .04em;
  color: #E8EAF0;
  background: linear-gradient(0deg, rgba(11, 14, 20, .94), rgba(11, 14, 20, 0));
}

/* ---------- 10. 特效 ---------- */
.scanlines { position: relative; }

.scanlines::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(201, 180, 248, .055) 0px,
    rgba(201, 180, 248, .055) 1px,
    transparent 1px,
    transparent 4px
  );
  background-size: 100% 220%;
  animation: scan-drift 12s linear infinite;
}

@keyframes scan-drift {
  from { background-position: 0 0; }
  to { background-position: 0 220%; }
}

.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22, .68, 0, 1);
}

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

.progress-rail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 100;
  pointer-events: none;
  background: rgba(108, 43, 217, .18);
}

.progress-rail__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--brand), var(--cyan));
  box-shadow: 0 0 14px var(--data-glow);
  transition: width .12s linear;
}

/* ---------- 11. 头部 ---------- */
.skip-link {
  position: absolute;
  left: 14px;
  top: -70px;
  z-index: 130;
  padding: 11px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: var(--cyan);
  color: #04121A;
  font-size: .88rem;
  font-weight: 700;
  transition: top .2s ease;
}

.skip-link:focus { top: 0; }

.site-header {
  position: relative;
  z-index: 60;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-cyan), transparent);
  opacity: .8;
  pointer-events: none;
}

.header-shell {
  padding-block: 14px 12px;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark__glyph {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: linear-gradient(150deg, var(--brand) 0%, var(--brand-deep) 100%);
  box-shadow: 0 0 30px rgba(108, 43, 217, .55);
}

.brand-mark__glyph::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1.5px solid var(--cyan);
  border-radius: 4px;
  clip-path: polygon(0 0, 100% 0, 100% 58%, 58% 100%, 0 100%);
  opacity: .92;
}

.brand-mark__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-mark__name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--text);
  line-height: 1.2;
}

.brand-mark__sig {
  font-size: .7rem;
  letter-spacing: .12em;
  color: var(--text-3);
  line-height: 1.3;
}

.brand-tagline {
  padding-left: 16px;
  font-size: .78rem;
  letter-spacing: .08em;
  line-height: 1.5;
  color: var(--text-3);
  border-left: 1px solid var(--line);
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.version-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line);
}

.version-chip__label {
  font-size: .66rem;
  letter-spacing: .14em;
  color: var(--text-3);
}

.version-chip__num {
  font-family: var(--font-mono);
  font-size: .84rem;
  font-weight: 700;
  color: var(--data);
  font-variant-numeric: tabular-nums;
}

.link-quiet {
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-size: .82rem;
  color: var(--text-2);
  transition: background-color .2s ease, color .2s ease;
}

.link-quiet:hover {
  background: var(--surface-hover);
  color: var(--text);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-2);
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.icon-btn:hover {
  border-color: var(--line-cyan);
  color: var(--text);
}

.icon-btn__dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px rgba(255, 176, 32, .7);
  transition: background-color .2s ease, box-shadow .2s ease;
}

.icon-btn[aria-pressed="true"] .icon-btn__dot {
  background: var(--cyan);
  box-shadow: 0 0 14px var(--data-glow);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: var(--brand);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 1px rgba(0, 229, 255, .3);
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle__bar {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

/* 主导航 */
.header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.nav-heading {
  flex: none;
  font-size: .68rem;
  letter-spacing: .2em;
  color: var(--text-3);
  white-space: nowrap;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-2);
  transition: color .2s ease, background-color .2s ease,
    border-color .2s ease, box-shadow .2s ease;
}

.nav-link:hover {
  background: var(--surface-hover);
  color: var(--text);
}

.nav-link[aria-current="page"] {
  color: #fff;
  background: var(--brand);
  border-color: var(--cyan);
  box-shadow: inset 0 0 0 1px rgba(0, 229, 255, .35), 0 0 20px rgba(108, 43, 217, .5);
}

.nav-standings { display: none; }

.nav-standings__title {
  margin-bottom: 10px;
  font-size: .68rem;
  letter-spacing: .18em;
  color: var(--data);
}

.nav-standings__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.standings-row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 10px;
  font-size: .86rem;
}

.standings-row__pos {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--data);
  font-variant-numeric: tabular-nums;
}

.standings-row__name { color: var(--text); }

.standings-row__pts {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

/* ---------- 12. 悬浮比分条 ---------- */
.score-dock {
  position: fixed;
  z-index: 70;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line-cyan);
  box-shadow: var(--shadow-dock), 0 0 26px rgba(0, 229, 255, .12);
}

.score-dock__rail {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
}

.score-dock[data-open="false"] .score-dock__rail { display: none; }

.score-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
}

.live-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--data);
  animation: pulse-dot 2.4s ease-out infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, .55); }
  70% { box-shadow: 0 0 0 10px rgba(0, 229, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

.live-label {
  font-size: .64rem;
  letter-spacing: .16em;
  color: var(--data);
}

.live-clock {
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 700;
  color: var(--data);
  font-variant-numeric: tabular-nums;
}

.score-teams {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.score-team {
  font-size: .74rem;
  color: var(--text-3);
  white-space: nowrap;
}

.score-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--data);
  text-shadow: 0 0 14px var(--data-glow);
  font-variant-numeric: tabular-nums;
}

.score-sep {
  font-family: var(--font-mono);
  color: var(--text-3);
}

.score-note {
  display: none;
  font-size: .68rem;
  letter-spacing: .06em;
  color: var(--text-3);
}

.score-dock__toggle {
  flex: none;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--text-3);
  transition: color .2s ease, border-color .2s ease;
}

.score-dock__toggle:hover {
  color: var(--text);
  border-color: var(--line-cyan);
}

/* ---------- 13. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  color: #E8EAF0;
  background: #0B0E14;
  border-top: 1px solid var(--line-cyan);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 240px;
  pointer-events: none;
  background:
    radial-gradient(620px 240px at 14% 0%, rgba(108, 43, 217, .34), transparent 70%),
    radial-gradient(520px 220px at 88% 0%, rgba(0, 229, 255, .10), transparent 70%);
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px 28px;
  padding-block: clamp(40px, 6vw, 68px) 44px;
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #FFFFFF;
}

.footer-sig {
  margin-top: 6px;
  font-size: .7rem;
  letter-spacing: .14em;
  color: #9AA3B2;
}

.footer-tagline {
  margin-top: 16px;
  max-width: 30ch;
  font-size: .92rem;
  line-height: 1.7;
  color: #C9B4F8;
}

.footer-note {
  margin-top: 14px;
  max-width: 34ch;
  font-size: .78rem;
  line-height: 1.75;
  color: #9AA3B2;
}

.footer-heading {
  margin-bottom: 14px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: #C9B4F8;
}

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

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  font-size: .9rem;
  color: rgba(232, 234, 240, .78);
  transition: color .2s ease, gap .2s ease;
}

.footer-link::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: .45;
  transition: opacity .2s ease, box-shadow .2s ease;
}

.footer-link:hover {
  color: #FFFFFF;
  gap: 12px;
}

.footer-link:hover::before {
  opacity: 1;
  box-shadow: 0 0 10px var(--cyan);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-item__key {
  font-size: .66rem;
  letter-spacing: .16em;
  color: #9AA3B2;
}

.contact-item__val {
  font-size: .88rem;
  line-height: 1.65;
  color: rgba(232, 234, 240, .9);
  word-break: break-word;
}

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

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: .84rem;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(0, 229, 255, .34);
  transition: box-shadow .2s ease;
}

.footer-cta:hover {
  box-shadow: 0 0 0 1px var(--cyan), 0 0 24px rgba(0, 229, 255, .32);
}

/* 版本更新横条 */
.version-bar {
  position: relative;
  border-top: 1px solid rgba(201, 180, 248, .16);
  background: linear-gradient(90deg, rgba(108, 43, 217, .26), rgba(11, 14, 20, 0) 62%);
}

.version-bar__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-block: 14px;
}

.version-bar__tag {
  flex: none;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 229, 255, .38);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--cyan);
}

.version-bar__title {
  font-size: .86rem;
  color: rgba(232, 234, 240, .82);
}

.version-bar__title .mono {
  color: var(--cyan);
  font-weight: 700;
}

.version-bar__link {
  margin-left: auto;
  padding-bottom: 2px;
  font-size: .84rem;
  font-weight: 700;
  color: #FFFFFF;
  border-bottom: 1px solid rgba(0, 229, 255, .55);
  transition: color .2s ease, border-color .2s ease;
}

.version-bar__link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

/* 法律行 */
.legal-row {
  display: flex;
  align-items: center;
  gap: 10px 22px;
  flex-wrap: wrap;
  padding-block: 20px 28px;
  border-top: 1px solid rgba(201, 180, 248, .14);
  font-size: .78rem;
  color: #9AA3B2;
}

.legal-copy { letter-spacing: .02em; }

.legal-list {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.legal-link {
  color: #C9B4F8;
  transition: color .2s ease;
}

.legal-link:hover { color: #FFFFFF; }

.icp {
  margin-left: auto;
  font-family: var(--font-mono);
  letter-spacing: .02em;
}

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1180px) {
  .score-dock {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  body { padding-bottom: 84px; }
}

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

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }

  .brand-tagline { display: none; }

  .header-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 95;
    width: min(348px, 88vw);
    display: block;
    margin: 0;
    padding: 26px 20px calc(26px + env(safe-area-inset-bottom, 0px));
    border-top: 0;
    border-left: 1px solid var(--line-cyan);
    background: var(--bg);
    box-shadow: -30px 0 70px -34px rgba(0, 0, 0, .95);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(103%);
    opacity: 0;
    visibility: hidden;
    transition: transform .32s cubic-bezier(.22, .68, 0, 1),
      opacity .32s ease, visibility .32s;
  }

  .header-nav[data-open="true"] {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-heading {
    display: block;
    margin-bottom: 14px;
    font-size: .68rem;
    letter-spacing: .22em;
  }

  .nav-standings {
    display: block;
    margin-bottom: 20px;
    padding: 16px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--line);
  }

  .nav-list {
    flex-direction: column;
    gap: 4px;
    width: 100%;
  }

  .nav-item { width: 100%; }

  .nav-link {
    width: 100%;
    min-height: 50px;
    justify-content: flex-start;
    padding: 0 16px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
  }

  body.nav-open { overflow: hidden; }
}

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

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .legal-row { padding-bottom: 32px; }
  .icp { margin-left: 0; }
}

@media (max-width: 700px) {
  .header-top { gap: 12px; }
  .brand-mark__name { font-size: 1rem; }
  .brand-mark__sig { font-size: .64rem; letter-spacing: .06em; }
  .header-meta .link-quiet { display: none; }
  .version-chip { display: none; }

  .score-note { display: none; }
  .score-num { font-size: 1.28rem; }
  .score-dock { padding: 8px 8px 8px 14px; }
  .score-dock__toggle { padding: 8px 12px; }

  .version-bar__link { margin-left: 0; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; }

  body { font-size: 16px; }

  .nav-toggle__label { display: none; }

  .score-dock__rail { gap: 8px; }
  .live-label { display: none; }
  .score-team { font-size: .68rem; }
}

/* 桌面端比分条：常驻右侧 */
@media (min-width: 1181px) {
  .score-dock {
    top: 50%;
    right: 20px;
    bottom: auto;
    left: auto;
    width: 178px;
    transform: translateY(-50%);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 16px 14px;
    border-radius: var(--radius);
  }

  .score-dock__rail {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .score-teams {
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
  }

  .score-num { font-size: 2.05rem; }
  .score-team { font-size: .7rem; width: 100%; }
  .score-note { display: block; }

  .score-dock__toggle {
    margin-top: 14px;
    width: 100%;
    text-align: center;
  }

  body { padding-bottom: 0; }
}

/* ---------- 15. 无障碍与降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .scanlines::before { animation: none; opacity: .45; }
  .live-dot { animation: none; }
  .has-reveal [data-reveal] { opacity: 1; transform: none; }
  .btn:hover { transform: none; }
  .card:hover { transform: none; }
}
