/* =========================================================
   九游体育看台 · /assets/site.css
   夜间球场框架外壳 + 共享组件
   ========================================================= */

/* ---------- 1. 设计变量 ---------- */
:root {
  --c-deep: #061A2E;
  --c-indigo: #0B2447;
  --c-cyan: #22E0D0;
  --c-coral: #FF6B4A;
  --c-turf: #3FD17A;
  --c-wine: #6E1F3A;
  --c-teal: #063B3B;
  --c-mist: #8FA9BF;
  --c-ice: #F3FAFF;
  --c-glass: #EAF6FF;
  --c-amber: #FFC857;

  --ink: #F3FAFF;
  --ink-dim: #8FA9BF;
  --line: rgba(143, 169, 191, 0.24);
  --line-cyan: rgba(34, 224, 208, 0.32);

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

  --rail-w: 150px;
  --top-h: 78px;
  --top-h-sm: 62px;
  --measure: 1220px;
  --gutter: clamp(18px, 3vw, 34px);
  --gap: clamp(16px, 2.4vw, 28px);
  --section-y: clamp(64px, 8vw, 132px);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 26px;
  --slant: -6deg;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow-lift: 0 18px 44px rgba(2, 10, 20, 0.45);
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  padding-top: var(--top-h-sm);
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink);
  background-color: var(--c-deep);
  background-image:
    radial-gradient(1100px 620px at 84% -8%, rgba(34, 224, 208, 0.16), transparent 62%),
    radial-gradient(900px 520px at 2% 106%, rgba(110, 31, 58, 0.42), transparent 62%),
    linear-gradient(180deg, #04121F 0%, #061A2E 44%, #05202C 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; 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; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.2; }
h4 { font-size: 1.15rem; line-height: 1.3; }

#main-content {
  display: block;
  scroll-margin-top: calc(var(--top-h-sm) + 16px);
}

/* ---------- 3. 焦点与可访问性 ---------- */
:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--c-cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 400;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--c-cyan);
  color: #032027;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transform: translateY(-220%);
  transition: transform 0.22s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- 4. 顶部状态条 ---------- */
.site-header { position: relative; z-index: 60; }

.frame-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--top-h-sm);
  background: linear-gradient(180deg, rgba(4, 18, 31, 0.97), rgba(8, 28, 52, 0.93));
  border-bottom: 1px solid var(--line-cyan);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.frame-top__inner {
  height: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 clamp(14px, 2.4vw, 30px);
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
}

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

.brand__mark {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--c-cyan);
  border: 1.5px solid var(--line-cyan);
  border-radius: 14px 4px 14px 4px;
  background: linear-gradient(140deg, rgba(34, 224, 208, 0.22), rgba(34, 224, 208, 0.02));
  box-shadow: inset 0 0 18px rgba(34, 224, 208, 0.18);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
  white-space: nowrap;
}

.brand__tagline {
  font-size: 10.5px;
  letter-spacing: 0.24em;
  line-height: 1.4;
  color: var(--c-mist);
  white-space: nowrap;
}

.frame-top__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--c-coral), #FF9166);
  color: #2B0D05;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(255, 107, 74, 0.3);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.live-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255, 107, 74, 0.42);
}

.live-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3A0F06;
  animation: live-pulse 1.8s ease-in-out infinite;
}

.live-chip__label { line-height: 1; }

@keyframes live-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.75); opacity: 0.35; }
}

.utility-link {
  display: none;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--c-mist);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.utility-link:hover {
  color: var(--c-cyan);
  border-color: rgba(34, 224, 208, 0.38);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--line-cyan);
  border-radius: 999px;
  background: rgba(34, 224, 208, 0.08);
  color: var(--c-ice);
  font-size: 13px;
  letter-spacing: 0.1em;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] {
  background: var(--c-cyan);
  color: #032027;
  border-color: var(--c-cyan);
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 16px;
}
.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--c-cyan);
  transition: transform 0.24s var(--ease), opacity 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span { background: #032027; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav-toggle__text { line-height: 1; }

/* ---------- 5. 左侧导航轨（框架） ---------- */
.site-nav {
  position: fixed;
  top: var(--top-h-sm);
  left: 0;
  bottom: 0;
  z-index: 110;
  width: min(82vw, 330px);
  display: flex;
  flex-direction: column;
  padding: 20px 16px 26px;
  background: linear-gradient(180deg, #04121F 0%, #062338 46%, #063B3B 100%);
  border-right: 1px solid rgba(34, 224, 208, 0.22);
  box-shadow: 26px 0 70px rgba(0, 0, 0, 0.55);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(-104%);
  transition: transform 0.34s var(--ease);
}
.site-nav[data-open] { transform: translateX(0); }

.site-nav__cap {
  padding: 0 6px 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(34, 224, 208, 0.22);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.34em;
  color: var(--c-cyan);
  text-transform: uppercase;
}

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

.site-nav__item { list-style: none; }

.site-nav__link {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--c-ice);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.site-nav__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 3px;
  background: var(--c-cyan);
  transform: translateY(-50%);
  transition: height 0.24s var(--ease);
}
.site-nav__link:hover {
  background: rgba(34, 224, 208, 0.1);
  border-color: rgba(34, 224, 208, 0.28);
  transform: translateX(2px);
}
.site-nav__link:hover::before { height: 58%; }

.site-nav__index {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--c-mist);
}

.site-nav__label {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.site-nav__link[aria-current="page"] {
  background: linear-gradient(120deg, rgba(34, 224, 208, 0.95), rgba(63, 209, 122, 0.85));
  color: #032027;
  border-color: transparent;
}
.site-nav__link[aria-current="page"] .site-nav__index { color: rgba(3, 32, 39, 0.72); }
.site-nav__link[aria-current="page"]::before { height: 68%; background: #032027; }

.site-nav__note {
  margin-top: auto;
  padding-top: 18px;
  font-size: 11px;
  letter-spacing: 0.14em;
  line-height: 1.7;
  color: var(--c-mist);
}

/* ---------- 6. 遮罩与进度条 ---------- */
.nav-scrim { display: none; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 130;
  background: rgba(34, 224, 208, 0.12);
  pointer-events: none;
}
.scroll-progress__fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--c-cyan), var(--c-amber) 55%, var(--c-coral));
  transition: width 0.12s linear;
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: var(--section-y);
  overflow: hidden;
  color: var(--ink);
  border-top: 1px solid rgba(34, 224, 208, 0.3);
  background:
    radial-gradient(720px 320px at 88% 0%, rgba(34, 224, 208, 0.14), transparent 68%),
    linear-gradient(180deg, #04121F 0%, #062338 52%, #063B3B 100%);
}

.footer-beam {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-coral), var(--c-amber) 30%, var(--c-cyan) 64%, var(--c-turf));
  opacity: 0.92;
}

.site-footer__inner {
  position: relative;
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 80px) var(--gutter) clamp(28px, 4vw, 46px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}

.footer-brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

.footer-brand__link {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
  color: var(--c-ice);
  border-bottom: 2px solid var(--c-cyan);
  padding-bottom: 4px;
}

.footer-brand__line {
  max-width: 36ch;
  font-size: 14.5px;
  line-height: 1.75;
  color: #CFE4F2;
}

.footer-title {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: 0.32em;
  color: var(--c-cyan);
  text-transform: uppercase;
}

.footer-nav__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav__list a {
  font-size: 14.5px;
  color: rgba(243, 250, 255, 0.86);
  transition: color 0.18s var(--ease), padding-left 0.18s var(--ease);
}
.footer-nav__list a:hover {
  color: var(--c-cyan);
  padding-left: 5px;
}

.footer-contact__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact__item {
  display: grid;
  gap: 3px;
  padding-left: 14px;
  border-left: 2px solid rgba(34, 224, 208, 0.32);
}

.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--c-mist);
}

.footer-contact__value {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(243, 250, 255, 0.92);
  word-break: break-word;
}

.footer-contact__value--num {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-cyan);
}

.footer-base {
  position: relative;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 16px var(--gutter) 24px;
  border-top: 1px solid rgba(143, 169, 191, 0.22);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  font-size: 12.5px;
  color: var(--c-mist);
}

.footer-copy { margin: 0; }

.footer-icp {
  margin: 0;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-left: auto;
}
.footer-legal a {
  color: var(--c-mist);
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.footer-legal a:hover {
  color: var(--c-cyan);
  border-bottom-color: var(--c-cyan);
}

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: linear-gradient(135deg, var(--c-cyan), #6FF3E6);
  color: #032027;
  box-shadow: 0 12px 30px rgba(34, 224, 208, 0.24);
}
.btn--primary:hover { box-shadow: 0 16px 38px rgba(34, 224, 208, 0.34); }

.btn--coral {
  background: linear-gradient(135deg, var(--c-coral), #FF9166);
  color: #2B0D05;
  box-shadow: 0 12px 30px rgba(255, 107, 74, 0.28);
}
.btn--coral:hover { box-shadow: 0 16px 38px rgba(255, 107, 74, 0.4); }

.btn--ghost {
  border-color: rgba(34, 224, 208, 0.45);
  background: rgba(34, 224, 208, 0.06);
  color: var(--c-ice);
}
.btn--ghost:hover { background: rgba(34, 224, 208, 0.16); }

/* ---------- 9. 布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  position: relative;
  padding: var(--section-y) 0;
}

.section__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 64ch;
  margin-bottom: clamp(22px, 3vw, 40px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.32em;
  color: var(--c-cyan);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--c-cyan);
  display: inline-block;
}

.section-title { font-size: clamp(1.8rem, 3.2vw, 2.9rem); }

.lead {
  max-width: 62ch;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.75;
  color: #CFE4F2;
}

.prose { max-width: 70ch; }
.prose p + p { margin-top: 1em; }
.prose ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 0;
}
.prose li {
  position: relative;
  padding-left: 20px;
}
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 8px;
  height: 2px;
  background: var(--c-cyan);
}

.grid {
  display: grid;
  gap: var(--gap);
}
.grid--split { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }

.divider-slant {
  height: 3px;
  margin: clamp(28px, 5vw, 64px) 0;
  background: linear-gradient(90deg, var(--c-cyan), rgba(34, 224, 208, 0));
  transform: skewY(-2deg);
  opacity: 0.55;
}

/* ---------- 10. 面板 / 标签 / 数据 ---------- */
.panel {
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid rgba(143, 169, 191, 0.2);
  border-radius: var(--r-md);
  background: rgba(11, 36, 71, 0.55);
}

.panel--glass {
  background: linear-gradient(150deg, rgba(234, 246, 255, 0.1), rgba(34, 224, 208, 0.05));
  border-color: rgba(234, 246, 255, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lift);
}

.panel--solid {
  background: var(--c-ice);
  color: #08202F;
  border-color: transparent;
}
.panel--solid h2,
.panel--solid h3,
.panel--solid h4 { color: #062531; }
.panel--solid p { color: #123A4E; }

.panel--wine {
  background: linear-gradient(150deg, var(--c-wine), #4A1428);
  border-color: rgba(255, 107, 74, 0.28);
}

.panel--teal {
  background: linear-gradient(150deg, var(--c-teal), #042A2A);
  border-color: rgba(34, 224, 208, 0.26);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid rgba(34, 224, 208, 0.38);
  border-radius: 999px;
  background: rgba(34, 224, 208, 0.08);
  color: var(--c-cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
.tag--up { color: #04240F; background: var(--c-turf); }
.tag--down { color: #2B0707; background: #FF7B7B; }
.tag--hot { color: #2B0D05; background: var(--c-coral); }

.stat-num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-cyan);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--c-mist);
  text-transform: uppercase;
}

/* ---------- 11. 面包屑 / 表格 / 图片容器 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 18px;
  font-size: 13px;
  color: var(--c-mist);
}
.breadcrumb a {
  color: var(--c-mist);
  transition: color 0.18s var(--ease);
}
.breadcrumb a:hover { color: var(--c-cyan); }
.breadcrumb__sep { color: rgba(143, 169, 191, 0.6); }
.breadcrumb [aria-current="page"] { color: var(--c-ice); }

.table {
  width: 100%;
  font-size: 14.5px;
}
.table caption {
  padding-bottom: 10px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--c-mist);
}
.table th,
.table td {
  padding: 11px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(143, 169, 191, 0.2);
}
.table thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--c-mist);
  text-transform: uppercase;
  border-bottom-color: rgba(34, 224, 208, 0.35);
}
.table tbody tr:hover { background: rgba(34, 224, 208, 0.07); }
.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
.table .num { text-align: right; }

.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(234, 246, 255, 0.18);
  border-radius: var(--r-md);
  background: linear-gradient(140deg, #062338, #063B3B);
}
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame__img,
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: #DFF2FB;
  background: linear-gradient(180deg, transparent, rgba(3, 12, 22, 0.86));
}

/* ---------- 12. 滚动显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.62s var(--ease), transform 0.62s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
[data-reveal][data-revealed] {
  opacity: 1;
  transform: none;
}

/* ---------- 13. 响应式 ---------- */
@media (max-width: 380px) {
  .brand__tagline { display: none; }
  .live-chip { padding: 8px 12px; font-size: 13px; }
}

@media (max-width: 1023px) {
  html[data-nav-open] { overflow: hidden; }

  .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 98;
    background: rgba(3, 12, 22, 0.66);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.26s var(--ease);
  }
  .nav-scrim[data-visible] {
    opacity: 1;
    pointer-events: auto;
  }

  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (min-width: 720px) {
  .utility-link { display: inline-block; }
}

@media (min-width: 900px) {
  .grid--split { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__inner {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
  .footer-brand { grid-column: auto; }
}

@media (min-width: 1024px) {
  body {
    padding-top: var(--top-h);
    padding-left: var(--rail-w);
  }

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

  .frame-top {
    left: var(--rail-w);
    height: var(--top-h);
  }

  .scroll-progress { left: var(--rail-w); }

  .site-nav {
    top: 0;
    width: var(--rail-w);
    padding: 24px 14px 22px;
    box-shadow: none;
    transform: none;
  }

  .site-nav__link {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 11px 12px 11px 14px;
  }

  .site-nav__label { font-size: 15px; }

  .nav-toggle { display: none; }
}

@media (min-width: 1280px) {
  .brand__name { font-size: 20px; }
  .site-nav__link { padding: 12px 12px 12px 16px; }
  .site-nav__label { font-size: 15.5px; }
}

/* ---------- 14. 降低动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .live-chip__dot { animation: none; }
  .scroll-progress__fill { transition: none; }
}
