/* ==========================================================================
   三亿体育 CN · V3.1 品牌通道 — 共享样式表 /assets/site.css
   夜间赛场指挥中心：玻璃胶囊外壳 + 实色内容层
   ========================================================================== */

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

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

body { margin: 0; }

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

button { font: inherit; color: inherit; background: none; border: 0; }

a { color: inherit; }

/* ---------- 2. Tokens ---------- */
:root {
  /* 色彩 */
  --c-void: #060A12;
  --c-night: #0D1524;
  --c-carbon: #16233A;
  --c-orange: #FF6A1A;
  --c-orange-soft: #FFB27A;
  --c-cyan: #25E6D6;
  --c-cyan-deep: #0E8F8B;
  --c-silver: #C3CCD8;
  --c-stone: #6F7887;
  --c-clay: #B4693F;
  --c-cream: #F5F0E6;
  --glass: rgba(20, 32, 52, 0.55);
  --glass-solid: rgba(13, 21, 36, 0.96);

  /* 边界 */
  --line-soft: rgba(195, 204, 216, 0.12);
  --line-mid: rgba(195, 204, 216, 0.2);
  --line-glass: rgba(195, 204, 216, 0.16);
  --line-cyan: rgba(37, 230, 214, 0.35);

  /* 字体 */
  --font-body: "Source Han Sans SC", "Noto Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system,
    "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace,
    "Cascadia Mono", "Roboto Mono", Consolas, monospace;

  /* 尺寸 */
  --shell-max: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius-card: 4px;
  --radius-pill: 999px;

  /* 动效 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. 中文排版与页面底色 ---------- */
body {
  min-height: 100%;
  background-color: var(--c-void);
  background-image:
    radial-gradient(900px 520px at 12% -8%, rgba(255, 106, 26, 0.12), transparent 62%),
    radial-gradient(820px 520px at 92% 0%, rgba(37, 230, 214, 0.09), transparent 64%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--c-cream);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 1000px) {
  body { font-size: 16.5px; }
}

p { max-width: 68ch; }

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.22;
  color: var(--c-cream);
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--c-orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 4. 布局工具 ---------- */
.container {
  width: min(var(--shell-max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.site-main { display: block; padding-bottom: clamp(24px, 4vw, 40px); }

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

.section-head { max-width: 72ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-cyan);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--c-orange);
  flex: none;
}

.section-title {
  margin-top: 12px;
  font-size: clamp(24px, 3.4vw, 40px);
}

.section-note {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-silver);
}

.rule {
  height: 1px;
  border: 0;
  margin: clamp(20px, 3vw, 32px) 0;
  background: linear-gradient(90deg, rgba(37, 230, 214, 0.5), rgba(195, 204, 216, 0.06));
}

.num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* 网格与非对称分屏 */
.grid { display: grid; gap: clamp(14px, 2.4vw, 26px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
}

.split--flip { grid-template-columns: minmax(0, 62fr) minmax(0, 38fr); }

/* ---------- 5. 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--c-orange);
  color: var(--c-void);
  box-shadow: 0 14px 30px -18px rgba(255, 106, 26, 0.95);
}

.btn-primary:hover { background: var(--c-orange-soft); }

.btn-ghost {
  background: rgba(195, 204, 216, 0.05);
  border-color: var(--line-mid);
  color: var(--c-cream);
}

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

.btn-cyan {
  background: transparent;
  border-color: var(--line-cyan);
  color: var(--c-cyan);
}

.btn-cyan:hover { background: rgba(37, 230, 214, 0.12); }

/* ---------- 6. 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: clamp(14px, 2vw, 22px);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--c-stone);
}

.breadcrumb-link {
  color: var(--c-silver);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.breadcrumb-link:hover {
  color: var(--c-cream);
  border-bottom-color: var(--c-cyan);
}

.breadcrumb-sep { color: var(--c-cyan-deep); }

.breadcrumb-current { color: var(--c-cream); }

/* ---------- 7. 卡片与标签 ---------- */
.card {
  background: var(--c-carbon);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  padding: clamp(16px, 2.2vw, 22px);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.6;
  white-space: nowrap;
}

.tag--home { background: var(--c-orange); color: var(--c-void); }
.tag--away { background: var(--c-cyan); color: var(--c-void); }

.tag--neutral {
  border: 1px solid var(--line-mid);
  color: var(--c-silver);
  background: rgba(195, 204, 216, 0.04);
}

/* ---------- 8. 视觉容器基础规则（页面阶段放入图片占位） ---------- */
.media-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(255, 106, 26, 0.16), transparent 58%),
    radial-gradient(110% 90% at 92% 100%, rgba(37, 230, 214, 0.14), transparent 60%),
    linear-gradient(160deg, #16233A 0%, #0D1524 100%);
}

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

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 3px 8px;
  border-radius: 3px;
  background: var(--c-orange);
  color: var(--c-void);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

/* ---------- 9. 头部外壳 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 14px var(--gutter) 0;
  background: linear-gradient(180deg, rgba(6, 10, 18, 0.94) 0%, rgba(6, 10, 18, 0) 100%);
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -80px;
  transform: translateX(-50%);
  z-index: 120;
  padding: 10px 20px;
  border-radius: 0 0 10px 10px;
  background: var(--c-orange);
  color: var(--c-void);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: top 0.18s var(--ease);
}

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

.header-shell {
  position: relative;
  width: min(var(--shell-max), 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  padding: 9px 12px 9px 16px;
  background: var(--glass);
  border: 1px solid var(--line-glass);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 18px 44px -30px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(245, 240, 230, 0.06);
  transition: padding 0.22s var(--ease), border-color 0.22s var(--ease);
}

.site-header[data-stuck="true"] .header-shell {
  padding: 5px 10px 5px 12px;
  border-color: rgba(37, 230, 214, 0.24);
}

/* 品牌署名 */
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.brand-glyph {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  background: linear-gradient(155deg, var(--c-orange) 0%, #B4430A 100%);
  color: var(--c-void);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 0 0 1px rgba(255, 178, 122, 0.35),
    0 10px 20px -12px rgba(255, 106, 26, 0.9);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.brand-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-cream);
  white-space: nowrap;
}

.brand-sub {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--c-stone);
  white-space: nowrap;
}

.version-badge {
  flex: none;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-cyan);
  background: rgba(37, 230, 214, 0.08);
  color: var(--c-cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.7;
}

/* 主导航 */
.primary-nav { margin-left: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item { display: block; }

.nav-link {
  display: block;
  padding: 7px 11px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--c-silver);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.nav-link:hover {
  color: var(--c-cream);
  background: rgba(195, 204, 216, 0.1);
}

.nav-link[aria-current="page"] {
  background: var(--c-orange);
  color: var(--c-void);
  font-weight: 700;
}

.nav-link[aria-current="page"]:hover {
  background: var(--c-orange-soft);
  color: var(--c-void);
}

/* 头部工具区 */
.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-cyan);
  background: rgba(37, 230, 214, 0.08);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.filter-pill:hover {
  background: rgba(37, 230, 214, 0.16);
  border-color: var(--c-cyan);
}

.filter-pill-key { color: var(--c-stone); }

.filter-pill-value {
  font-weight: 700;
  color: var(--c-cyan);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-mid);
  background: rgba(195, 204, 216, 0.06);
  color: var(--c-silver);
  font-size: 12px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.nav-toggle:hover { color: var(--c-cream); border-color: var(--c-cyan); }

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 14px;
  flex: none;
}

.nav-toggle-bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

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

/* 分区轨道 */
.league-track-wrap {
  width: min(var(--shell-max), 100%);
  margin: 6px auto 0;
  padding-inline: clamp(4px, 1.4vw, 12px);
}

.league-track {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 5px 2px 7px;
  border-bottom: 1px solid var(--line-soft);
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(37, 230, 214, 0.35) transparent;
}

.league-track::-webkit-scrollbar { height: 3px; }

.league-track::-webkit-scrollbar-thumb {
  background: rgba(37, 230, 214, 0.32);
  border-radius: 3px;
}

.league-chip {
  flex: none;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 5px 10px 7px;
  border-radius: 8px 8px 4px 4px;
  border-bottom: 2px solid transparent;
  color: var(--c-stone);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  scroll-snap-align: start;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

.league-chip-num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--c-cyan-deep);
}

.league-chip-label { line-height: 1.4; }

.league-chip:hover {
  color: var(--c-cream);
  background: rgba(195, 204, 216, 0.06);
}

.league-chip.is-active {
  color: var(--c-cream);
  border-bottom-color: var(--c-cyan);
  background: rgba(37, 230, 214, 0.07);
}

.league-chip.is-active .league-chip-num { color: var(--c-cyan); }

/* ---------- 10. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  padding: clamp(36px, 6vw, 68px) 0 28px;
  background: linear-gradient(180deg, rgba(13, 21, 36, 0) 0%, #0D1524 16%, #0A121F 100%);
  border-top: 1px solid var(--line-soft);
  color: var(--c-silver);
}

.footer-shell {
  width: min(var(--shell-max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

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

.footer-brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-cream);
  max-width: none;
}

.footer-brand-tag {
  display: inline-block;
  margin-left: 7px;
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-cyan);
  color: var(--c-cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

.footer-brand-note {
  margin-top: 9px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--c-silver);
  max-width: none;
}

.footer-brand-meta {
  margin-top: 10px;
  max-width: 34ch;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--c-stone);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 32px);
}

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

.footer-col-title {
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-cyan);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-link {
  display: inline-block;
  padding-bottom: 1px;
  font-size: 13.5px;
  color: var(--c-silver);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.footer-link:hover {
  color: var(--c-cream);
  border-bottom-color: var(--c-cyan);
}

/* 联系信息带 */
.footer-contact {
  margin-top: clamp(28px, 4vw, 44px);
  padding: 20px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px 26px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}

.contact-label {
  flex: none;
  margin-top: 1px;
  padding: 2px 6px;
  border: 1px solid var(--line-mid);
  border-radius: 3px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--c-stone);
  line-height: 1.7;
}

.contact-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--c-cream);
  overflow-wrap: anywhere;
}

.copy-btn {
  flex: none;
  margin-left: auto;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-cyan);
  color: var(--c-cyan);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.7;
  cursor: pointer;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease),
    border-color 0.16s var(--ease);
}

.copy-btn:hover { background: rgba(37, 230, 214, 0.14); }

.copy-btn.is-copied {
  background: var(--c-cyan);
  border-color: var(--c-cyan);
  color: var(--c-void);
}

/* 法务底栏 */
.footer-base {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  font-size: 12px;
  color: var(--c-stone);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.legal-link {
  font-size: 12px;
  color: var(--c-silver);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.legal-link:hover {
  color: var(--c-cream);
  border-bottom-color: var(--c-cyan);
}

.legal-dot { color: rgba(111, 120, 135, 0.6); }

.footer-icp {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--c-stone);
  max-width: none;
}

.footer-copyright {
  font-size: 11.5px;
  color: var(--c-stone);
  max-width: none;
}

.footer-feedback {
  margin-left: auto;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 106, 26, 0.45);
  color: var(--c-orange-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease),
    border-color 0.16s var(--ease);
}

.footer-feedback:hover {
  background: rgba(255, 106, 26, 0.14);
  border-color: var(--c-orange);
  color: var(--c-cream);
}

/* ---------- 11. 注入式交互元素 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--c-orange) 0%, var(--c-cyan) 100%);
}

.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 80;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-cyan);
  background: var(--c-carbon);
  color: var(--c-cream);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  box-shadow: 0 16px 30px -16px rgba(0, 0, 0, 0.9);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
    visibility 0.22s var(--ease), border-color 0.18s var(--ease),
    color 0.18s var(--ease);
}

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

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

.to-top svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 12. 显现动效 ---------- */
[data-reveal] { transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }

html[data-reveal="on"] [data-reveal]:not(.is-revealed) {
  opacity: 0;
  transform: translateY(12px);
}

/* ---------- 13. 响应式 ---------- */
@media (max-width: 1080px) {
  .nav-link { padding: 7px 9px; font-size: 13px; }
  .filter-pill-key { display: none; }
}

@media (max-width: 900px) {
  .site-header { padding-top: 10px; }

  .header-shell {
    gap: 10px;
    padding: 8px 10px 8px 12px;
  }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    margin-left: 0;
    padding: 10px;
    display: none;
    background: var(--glass-solid);
    border: 1px solid var(--line-glass);
    border-radius: 18px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 26px 52px -28px rgba(0, 0, 0, 0.95);
  }

  .primary-nav[data-open="true"] { display: block; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-link {
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 15px;
  }

  .header-tools { margin-left: auto; }

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

  .split,
  .split--flip { grid-template-columns: minmax(0, 1fr); }

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

@media (max-width: 720px) {
  .brand-sub { display: none; }

  .grid--2,
  .grid--3 { grid-template-columns: minmax(0, 1fr); }

  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-base { gap: 8px 16px; }

  .footer-feedback { margin-left: 0; }

  .league-track { padding-bottom: 6px; }
}

@media (max-width: 520px) {
  .brand-glyph { width: 30px; height: 30px; font-size: 15px; }
  .brand-name { font-size: 14px; }
  .version-badge { display: none; }

  .filter-pill { padding: 4px 9px; font-size: 10.5px; }

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

  .to-top { width: 42px; height: 42px; }
}

/* ---------- 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;
    scroll-behavior: auto !important;
  }

  html[data-reveal="on"] [data-reveal]:not(.is-revealed) {
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .to-top { transform: none; }
}
