/* ============================================================
   爱游戏体育 · 共享样式表 /assets/site.css
   夜场电子屏：墨绿底 + 荧光青柠（进行中）+ 电光橙（即将发生）
   ============================================================ */

/* ---------- 01. reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body, h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

/* ---------- 02. 变量 ---------- */
:root {
  --pitch: #050D0A;
  --stand: #0B1A14;
  --panel: #13271E;
  --line: #1E3A2E;
  --lime: #C9FF3F;
  --orange: #FF6A1F;
  --white: #FFFFFF;
  --mist: #A9B8B0;
  --data: #57E3C4;
  --paper: #F2F6F3;

  --line-soft: rgba(30, 58, 46, 0.72);
  --lime-veil: rgba(201, 255, 63, 0.12);
  --orange-veil: rgba(255, 106, 31, 0.1);
  --ink: #07120C;

  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-display: "Bebas Neue", "Archivo Black", Impact, "Haettenschweiler", "Arial Narrow", var(--font-body);
  --font-heading: "Oswald", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --step-1: 1rem;
  --step0: 1.3125rem;
  --step1: 1.75rem;
  --step2: 2.375rem;
  --step3: 3.125rem;
  --step4: 4.1875rem;
  --step5: 5.625rem;

  --wrap: 1200px;
  --cut: 12px;
  --header-h: 66px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- 03. 基础排版 ---------- */
body {
  position: relative;
  background: var(--pitch);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -8%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(58% 44% at 78% 6%, rgba(201, 255, 63, 0.09), transparent 62%),
    radial-gradient(46% 40% at 6% 94%, rgba(255, 106, 31, 0.07), transparent 60%),
    repeating-linear-gradient(90deg, rgba(30, 58, 46, 0.5) 0 1px, transparent 1px 92px),
    repeating-linear-gradient(0deg, rgba(30, 58, 46, 0.5) 0 1px, transparent 1px 92px);
  animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { opacity: 0.76; } 50% { opacity: 0.97; } }

main, #main-content { position: relative; z-index: 1; }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; color: var(--white); line-height: 1.16; }
p { text-wrap: pretty; }

.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(1.5rem, 3.2vw, 2.15rem); margin-top: 1.6em; }
.prose h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose ul li { list-style: none; position: relative; padding-left: 1em; margin-top: 0.5em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 2px; background: var(--lime); }
.prose ol { list-style: decimal; }
.prose ol li { margin-top: 0.5em; }
.prose strong { color: var(--white); }
.prose a { color: var(--lime); border-bottom: 1px solid rgba(201, 255, 63, 0.4); }

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

/* ---------- 04. 焦点与跳转 ---------- */
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.skip-link {
  position: absolute; left: 14px; top: -80px; z-index: 120;
  padding: 12px 20px; background: var(--lime); color: var(--ink);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em;
  transition: top 0.22s var(--ease);
}
.skip-link:focus { top: 10px; }

/* ---------- 05. 头部：紧凑命令栏 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: linear-gradient(180deg, rgba(5, 13, 10, 0.97), rgba(5, 13, 10, 0.84));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  transition: background 0.25s var(--ease);
}
.site-header[data-scrolled="true"] {
  background: linear-gradient(180deg, rgba(5, 13, 10, 0.99), rgba(5, 13, 10, 0.95));
  border-bottom-color: rgba(201, 255, 63, 0.32);
}
.header-inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(14px, 3vw, 28px);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  transition: min-height 0.25s var(--ease);
}
.site-header[data-scrolled="true"] .header-inner { min-height: 54px; }

/* 品牌铭牌 */
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark {
  width: 36px; height: 36px; flex: 0 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; align-items: end;
  padding: 5px;
  background: linear-gradient(160deg, var(--panel), var(--stand));
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}
.brand-mark-bar { display: block; width: 100%; background: var(--lime); }
.brand-mark-bar:nth-child(1) { height: 38%; opacity: 0.5; }
.brand-mark-bar:nth-child(2) { height: 100%; }
.brand-mark-bar:nth-child(3) { height: 66%; background: var(--orange); }
.brand-text { display: block; overflow: hidden; }
.brand-name {
  display: block; font-family: var(--font-heading); font-weight: 700;
  font-size: 1.05rem; letter-spacing: 0.05em; color: var(--white); line-height: 1.15;
}
.brand-subline {
  display: block; max-height: 22px; overflow: hidden;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em;
  color: rgba(169, 184, 176, 0.9); line-height: 1.5;
  transition: opacity 0.24s var(--ease), max-height 0.24s var(--ease);
}
.site-header[data-scrolled="true"] .brand-subline { opacity: 0; max-height: 0; }

/* 移动按钮 */
.nav-toggle {
  display: none; align-items: center; gap: 9px; margin-left: auto;
  padding: 9px 13px;
  background: var(--panel); border: 1px solid var(--line); color: var(--white);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}
.nav-toggle[aria-expanded="true"] { border-color: var(--lime); color: var(--lime); background: rgba(201, 255, 63, 0.08); }
.nav-toggle-bars { display: grid; gap: 3px; width: 16px; }
.nav-toggle-bars span { display: block; height: 2px; background: currentColor; }
.nav-toggle-bars span:nth-child(2) { width: 66%; }
.nav-toggle-label { display: inline-block; }

/* 导航 */
.primary-nav { flex: 1 1 auto; margin-left: clamp(6px, 1.6vw, 20px); }
.nav-list { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(2px, 0.8vw, 10px); }
.nav-item { display: block; }
.nav-link {
  position: relative; display: inline-flex; align-items: baseline; gap: 6px;
  padding: 8px 10px 10px; color: var(--mist); font-size: 15px; letter-spacing: 0.02em;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-link::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 3px;
  background: var(--lime); transform: scaleX(0) skewX(-24deg); transform-origin: 0 50%;
  transition: transform 0.24s var(--ease);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { transform: scaleX(1) skewX(-24deg); }
.nav-index { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; color: rgba(201, 255, 63, 0.5); transition: color 0.2s var(--ease); }
.nav-link:hover .nav-index { color: var(--lime); }
.nav-link[aria-current="page"] { color: var(--white); background: var(--lime-veil); }
.nav-link[aria-current="page"] .nav-index { color: var(--lime); }
.nav-link[aria-current="page"]::after { transform: scaleX(1) skewX(-24deg); }

/* 状态区 */
.header-status { margin-left: auto; display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--lime);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 255, 63, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(201, 255, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 255, 63, 0); }
}
.status-text { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--mist); }
.fav-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; background: var(--panel); border: 1px solid var(--line); color: var(--white);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.fav-chip:hover { border-color: var(--lime); color: var(--lime); }
.fav-dot { width: 6px; height: 6px; background: var(--orange); transform: skewX(-20deg); }

/* 滚动进度 */
.scroll-progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: rgba(30, 58, 46, 0.7); overflow: hidden;
}
.scroll-progress-bar {
  display: block; height: 100%; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--lime), var(--data));
}

/* ---------- 06. 底部悬浮快捷条 ---------- */
.quickbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: linear-gradient(180deg, rgba(11, 26, 20, 0.96), rgba(5, 13, 10, 0.99));
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.quickbar-link {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  padding: 10px 6px; color: var(--mist); border-right: 1px solid rgba(30, 58, 46, 0.6);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.quickbar-link:last-child { border-right: 0; }
.quickbar-link:hover, .quickbar-link:focus-visible { color: var(--lime); background: rgba(201, 255, 63, 0.06); }
.quickbar-key { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; color: var(--lime); }
.quickbar-label { font-size: 12px; letter-spacing: 0.04em; }

@media (max-width: 1023px) {
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
}

/* ---------- 07. 页脚 ---------- */
.site-footer {
  position: relative; z-index: 2;
  margin-top: clamp(56px, 9vw, 130px);
  background: linear-gradient(180deg, var(--stand), var(--pitch) 78%);
  border-top: 1px solid var(--line);
}
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--lime), var(--data) 38%, var(--orange) 62%, transparent);
}
.footer-grid {
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(36px, 6vw, 68px) clamp(14px, 3vw, 28px) clamp(24px, 4vw, 40px);
  display: grid; gap: clamp(26px, 4vw, 42px);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.35fr 0.85fr 1.15fr 1.3fr 0.95fr; } }

.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-tagline { color: var(--white); font-size: 17px; line-height: 1.6; max-width: 26ch; }
.footer-note { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; line-height: 1.9; color: rgba(169, 184, 176, 0.85); }

.footer-col { display: grid; gap: 12px; align-content: start; }
.footer-col-title {
  font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.18em;
  color: var(--lime); padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.footer-list { display: grid; gap: 9px; }
.footer-list li { display: block; }
.footer-link {
  font-size: 14.5px; color: var(--mist); line-height: 1.6;
  border-bottom: 1px solid transparent; transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-link:hover { color: var(--white); border-bottom-color: var(--lime); }
.footer-text { display: block; font-size: 13.5px; line-height: 1.7; color: rgba(169, 184, 176, 0.92); word-break: break-word; }

.footer-legal {
  max-width: var(--wrap); margin: 0 auto;
  padding: 18px clamp(14px, 3vw, 28px) clamp(26px, 4vw, 36px);
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em;
}
.legal-copy { color: rgba(169, 184, 176, 0.82); }
.legal-links { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.legal-link { color: rgba(169, 184, 176, 0.82); transition: color 0.2s var(--ease); }
.legal-link:hover { color: var(--lime); }
@media (min-width: 768px) { .legal-links { margin-left: auto; } }

/* ---------- 08. 容器与章节 ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(14px, 3vw, 28px); }
.wrap-narrow { max-width: 860px; }
.section { position: relative; padding: clamp(40px, 7vw, 96px) 0; }
.section-narrow { max-width: 760px; }
.section-band {
  background: linear-gradient(180deg, rgba(11, 26, 20, 0.94), rgba(5, 13, 10, 0.4));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.section-head { display: grid; gap: 14px; max-width: 68ch; margin-bottom: clamp(22px, 3.4vw, 40px); }
.section-index {
  justify-self: start;
  display: inline-block; padding: 3px 11px;
  background: var(--lime); color: var(--ink);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em;
  transform: skewX(-8deg);
}
.section-title { font-size: clamp(1.75rem, 4.4vw, 3.1rem); letter-spacing: 0.01em; }
.section-lead { font-size: 1.0625rem; color: var(--mist); }
.kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; color: var(--data); }
.divider { height: 1px; border: 0; background: linear-gradient(90deg, var(--line), transparent); margin: clamp(24px, 4vw, 48px) 0; }
.aside-note {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; line-height: 1.9;
  color: rgba(169, 184, 176, 0.78); border-left: 2px solid var(--line); padding-left: 14px;
}

/* ---------- 09. 栅格 ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid-2, .grid-3, .grid-aside { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-aside { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
}
.stack { display: grid; gap: clamp(12px, 2vw, 22px); }
.flow > * + * { margin-top: 1.1rem; }

/* ---------- 10. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border: 1px solid transparent;
  font-family: var(--font-heading); font-weight: 700; font-size: 15px; letter-spacing: 0.05em;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: #DAFF77; transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--white); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }
.btn-orange { background: var(--orange); color: #170700; }
.btn-orange:hover { background: #FF833F; transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 11. 面包屑 ---------- */
.breadcrumb { padding-top: 16px; }
.breadcrumb-list {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em;
  color: rgba(169, 184, 176, 0.75);
}
.breadcrumb-item { display: inline-flex; align-items: center; }
.breadcrumb-item + .breadcrumb-item::before { content: "/"; margin-right: 8px; color: rgba(169, 184, 176, 0.35); }
.breadcrumb-link { transition: color 0.2s var(--ease); }
.breadcrumb-link:hover { color: var(--lime); }
.breadcrumb-item[aria-current="page"], .breadcrumb-item[aria-current="page"] .breadcrumb-link { color: var(--lime); }

/* ---------- 12. 切角卡片与展签 ---------- */
.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  background: linear-gradient(160deg, var(--panel), rgba(11, 26, 20, 0.92));
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.card:hover { border-color: rgba(201, 255, 63, 0.42); transform: translateY(-3px); }
.card-label {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--lime);
}
.card-title { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.35; color: var(--white); }
.card-meta { margin-top: 10px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; color: rgba(169, 184, 176, 0.82); }

.panel-paper {
  padding: clamp(22px, 4vw, 48px);
  background: var(--paper); color: #24312B;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}
.panel-paper h2, .panel-paper h3, .panel-paper .card-title { color: var(--ink); }
.panel-paper p { color: #2C3A33; }
.panel-paper .kicker, .panel-paper .section-index, .panel-paper .card-label { color: #1D5B3E; }
.panel-paper .section-index { background: var(--ink); color: var(--lime); }

/* ---------- 13. 比分与倒计时锚点 ---------- */
.score-card {
  display: grid; gap: 12px;
  padding: clamp(18px, 3vw, 32px);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(201, 255, 63, 0.1), transparent 60%),
    linear-gradient(160deg, var(--panel), var(--stand));
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}
.score-value {
  display: flex; align-items: baseline; gap: 0.1em;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3rem, 15vw, 7.5rem); line-height: 0.86; letter-spacing: -0.02em;
  color: var(--white); font-variant-numeric: tabular-nums;
}
.score-sep { color: var(--lime); font-size: 0.46em; }
.score-team { font-family: var(--font-heading); font-size: 1rem; color: var(--white); letter-spacing: 0.04em; }
.score-status { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--mist); }
.score-status[data-state="live"] { color: var(--lime); }
.score-status[data-state="upcoming"] { color: var(--orange); }

.clock { display: grid; gap: 4px; }
.clock-value {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 9vw, 4.5rem); line-height: 0.9; letter-spacing: -0.01em;
  color: var(--orange); font-variant-numeric: tabular-nums;
}
.clock-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--mist); }

/* ---------- 14. 数据块 ---------- */
.stat-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); }
.stat {
  display: grid; gap: 4px; padding: 16px 18px;
  background: rgba(19, 39, 30, 0.6);
  border: 1px solid var(--line); border-left: 2px solid var(--lime);
}
.stat[data-tone="orange"] { border-left-color: var(--orange); }
.stat[data-tone="data"] { border-left-color: var(--data); }
.stat-value {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1; color: var(--white); font-variant-numeric: tabular-nums;
}
.stat-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--mist); }

/* ---------- 15. 时间轴 ---------- */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(180deg, var(--lime), rgba(30, 58, 46, 0.25));
}
.timeline-item { position: relative; padding-bottom: 22px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -28px; top: 7px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--pitch); border: 2px solid var(--lime);
}
.timeline-item[data-state="past"] .timeline-dot { border-color: var(--line); }
.timeline-item[data-state="next"] .timeline-dot { border-color: var(--orange); }
.timeline-item.is-in .timeline-dot { animation: dotPulse 0.9s var(--ease) 1; }
@keyframes dotPulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 255, 63, 0.6); }
  100% { box-shadow: 0 0 0 12px rgba(201, 255, 63, 0); }
}
.timeline-time { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em; color: var(--data); }
.timeline-text { color: var(--mist); }

/* ---------- 16. 分段切换 ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.tab {
  padding: 9px 16px; border: 1px solid transparent; color: var(--mist);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.tab:hover { color: var(--white); border-color: var(--line); }
.tab[aria-selected="true"] { background: var(--lime); color: var(--ink); }
.tab-panel { display: none; padding-top: 22px; }
.tab-panel[data-active="true"] { display: block; }

/* ---------- 17. 标签 ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px;
  background: rgba(19, 39, 30, 0.7); border: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--mist);
}
.tag-live { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.tag-soon { background: var(--orange); border-color: var(--orange); color: #170700; }
.tag-data { background: transparent; border-color: rgba(87, 227, 196, 0.45); color: var(--data); }
.badge-version {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px;
  border: 1px dashed rgba(87, 227, 196, 0.5);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--data);
}

/* ---------- 18. 图片容器（页面阶段放占位图） ---------- */
.media {
  position: relative; display: block; overflow: hidden;
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(201, 255, 63, 0.12), transparent 62%),
    linear-gradient(180deg, var(--panel), var(--stand));
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(115deg, rgba(201, 255, 63, 0.05) 0 2px, transparent 2px 9px);
}
.media-16x9 { aspect-ratio: 16 / 9; }
.media-4x3 { aspect-ratio: 4 / 3; }
.media-1x1 { aspect-ratio: 1 / 1; }
.media-3x4 { aspect-ratio: 3 / 4; }
.media-hero { aspect-ratio: 16 / 10; }
@media (max-width: 600px) { .media-3x4 { aspect-ratio: 4 / 5; } }
.media-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.media-caption {
  margin-top: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  color: rgba(169, 184, 176, 0.85);
}

/* ---------- 19. 显现 ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 20. 响应式头部 / 快捷条 ---------- */
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .header-status .status-text { display: none; }
  .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: block;
    padding: 14px clamp(14px, 4vw, 24px) 22px;
    background: linear-gradient(180deg, var(--stand), var(--pitch));
    border-top: 1px solid var(--line);
    border-bottom: 2px solid var(--lime);
    box-shadow: 0 26px 46px rgba(0, 0, 0, 0.6);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s var(--ease);
  }
  .primary-nav[data-open] { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link {
    justify-content: flex-start; padding: 13px 10px; font-size: 16px;
    border-bottom: 1px solid rgba(30, 58, 46, 0.7);
  }
  .nav-link::after { left: 10px; right: auto; width: 26px; bottom: 6px; }
  .nav-link[aria-current="page"] { background: var(--lime-veil); }
}

@media (max-width: 900px) { .brand-subline { display: none; } }
@media (max-width: 640px) { .fav-chip { display: none; } }

@media (min-width: 1024px) {
  .quickbar {
    left: auto; right: clamp(18px, 3vw, 36px); bottom: clamp(18px, 3vw, 30px);
    width: auto; grid-template-columns: repeat(3, auto);
    border: 1px solid var(--line);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.5);
  }
  .quickbar-link { flex-direction: row; gap: 8px; padding: 12px 16px; border-right-color: var(--line); }
  .quickbar-label { font-size: 12.5px; letter-spacing: 0.06em; color: var(--white); }
}

/* ---------- 21. 减动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  body::before { animation: none; opacity: 0.85; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .nav-link::after { transform: scaleX(1) skewX(-24deg); }
  .card:hover, .btn:hover { transform: none; }
}
