/* ==========================================================
   瑞祥真人 · 乐动赛场数据台
   共享样式表 /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, p, ul, ol, li, figure, figcaption, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}

ul, ol { list-style: none; }

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

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

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

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

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

/* ---------- 2. tokens ---------- */
:root {
  --ink-950: #070C18;
  --indigo-900: #101A47;
  --indigo-600: #2B3D9B;
  --cyan-400: #2FE3E0;
  --orange-500: #FF6B1A;
  --grass-500: #38B36B;
  --amber-400: #FFC63D;
  --paper-100: #F5F0E6;
  --paper-300: #DED5C4;
  --slate-500: #5A6478;
  --slate-100: #EDF1F7;
  --rose-500: #E5484D;

  --ink-text: #E8EDF7;
  --paper-text: #2C3444;

  --font-display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-editorial: "Songti SC", "Source Han Serif SC", "Noto Serif SC", STSong, SimSun, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, "Courier New", monospace;

  --fs-h1: clamp(2.4rem, 5.2vw, 4rem);
  --fs-h2: clamp(1.5rem, 2.6vw, 2.125rem);
  --fs-h3: 1.25rem;

  --gutter: clamp(20px, 4vw, 64px);
  --max-w: 1440px;
  --radius: 2px;

  --line-dark: rgba(47, 227, 224, 0.2);
  --line-soft: rgba(255, 255, 255, 0.08);
  --line-paper: rgba(44, 52, 68, 0.14);
}

/* ---------- 3. base ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--paper-text);
  background: var(--paper-100);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--indigo-900);
}

h1 { font-size: var(--fs-h1); font-weight: 900; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.38; }
h4 { font-size: 1.0625rem; line-height: 1.45; }

p { overflow-wrap: break-word; }

:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(255, 107, 26, 0.22);
  border-radius: var(--radius);
}

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

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

/* ---------- 4. skip link ---------- */
.skip-link {
  position: fixed;
  left: 12px;
  top: -120px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--amber-400);
  color: var(--ink-950);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.8);
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 12px;
  color: var(--ink-950);
}

/* ---------- 5. 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: 900px; }

.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(28px, 4vw, 52px); }

/* ---------- 6. 画布分区 ---------- */
.surface-ink {
  background: var(--ink-950);
  color: var(--ink-text);
}

.surface-indigo {
  background: var(--indigo-900);
  color: var(--paper-100);
}

.surface-paper {
  background: var(--paper-100);
  color: var(--paper-text);
}

.surface-panel {
  background: var(--slate-100);
  color: var(--indigo-900);
}

.surface-ink h1, .surface-ink h2, .surface-ink h3, .surface-ink h4,
.surface-indigo h1, .surface-indigo h2, .surface-indigo h3, .surface-indigo h4 {
  color: #fff;
}

/* ---------- 7. 文本组件 ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo-600);
}

.surface-ink .eyebrow,
.surface-indigo .eyebrow {
  color: var(--cyan-400);
}

.lede {
  font-family: var(--font-editorial);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.78;
  color: var(--indigo-900);
}

.surface-ink .lede,
.surface-indigo .lede {
  color: rgba(232, 237, 247, 0.84);
}

.prose {
  max-width: 42em;
  font-size: 17px;
  line-height: 1.75;
}

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

.prose h2, .prose h3 { margin-top: 1.8em; margin-bottom: 0.6em; }

.prose strong { color: var(--indigo-900); }

.surface-ink .prose strong,
.surface-indigo .prose strong { color: var(--amber-400); }

.link-inline {
  color: var(--indigo-600);
  border-bottom: 1px solid rgba(43, 61, 155, 0.35);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.link-inline:hover {
  color: var(--orange-500);
  border-bottom-color: currentColor;
}

.surface-ink .link-inline,
.surface-indigo .link-inline {
  color: var(--cyan-400);
  border-bottom-color: rgba(47, 227, 224, 0.4);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 52rem;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.section-head__rule {
  width: 64px;
  height: 2px;
  background: var(--cyan-400);
}

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: transparent;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn--primary {
  background: var(--orange-500);
  border-color: var(--orange-500);
  color: #1A0B02;
  box-shadow: 0 12px 26px -16px rgba(255, 107, 26, 0.95);
}

.btn--primary:hover {
  background: #FF7F38;
  border-color: #FF7F38;
}

.btn--ghost {
  background: rgba(47, 227, 224, 0.06);
  border-color: rgba(47, 227, 224, 0.45);
  color: var(--cyan-400);
}

.btn--ghost:hover {
  background: rgba(47, 227, 224, 0.14);
  border-color: var(--cyan-400);
  color: #fff;
}

.btn--sm {
  padding: 9px 15px;
  font-size: 13px;
}

/* ---------- 9. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ink-950);
  color: var(--ink-text);
  border-bottom: 1px solid var(--line-dark);
  box-shadow: 0 20px 44px -34px rgba(7, 12, 24, 0.98);
}

/* 9.1 状态带 */
.header-rail {
  background: linear-gradient(90deg, var(--indigo-900) 0%, #0C1436 55%, var(--ink-950) 100%);
  border-bottom: 1px solid var(--line-soft);
}

.header-rail__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 32px);
  max-width: var(--max-w);
  min-height: 40px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.rail-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(232, 237, 247, 0.55);
  white-space: nowrap;
}

.rail-meta--end { margin-left: auto; }

.rail-dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grass-500);
  box-shadow: 0 0 0 3px rgba(56, 179, 107, 0.18);
}

.rail-current {
  color: var(--amber-400);
  font-weight: 700;
}

/* 9.2 联赛层级切换 */
.league-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline: auto;
  padding: 3px;
  border: 1px solid rgba(47, 227, 224, 0.18);
  background: rgba(7, 12, 24, 0.55);
  border-radius: var(--radius);
}

.league-switch__btn {
  padding: 5px 13px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: rgba(232, 237, 247, 0.6);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.league-switch__btn:hover {
  color: var(--cyan-400);
  background: rgba(47, 227, 224, 0.08);
}

.league-switch__btn[aria-pressed="true"] {
  background: var(--amber-400);
  border-color: var(--amber-400);
  color: var(--ink-950);
  box-shadow: 0 8px 20px -12px rgba(255, 198, 61, 0.95);
}

/* 9.3 主行 */
.header-main {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 32px);
  max-width: var(--max-w);
  min-height: 70px;
  margin-inline: auto;
  padding: 12px var(--gutter);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  color: inherit;
}

.brand__mark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  flex: none;
  width: 34px;
  height: 34px;
  padding: 0 7px;
  border: 1px solid rgba(47, 227, 224, 0.45);
  background: rgba(47, 227, 224, 0.07);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.brand__mark i {
  display: block;
  height: 2px;
  background: var(--cyan-400);
}

.brand__mark i:nth-child(1) { width: 100%; }
.brand__mark i:nth-child(2) { width: 62%; background: var(--amber-400); }
.brand__mark i:nth-child(3) { width: 84%; }

.brand:hover .brand__mark {
  border-color: var(--cyan-400);
  background: rgba(47, 227, 224, 0.14);
}

.brand__text {
  display: block;
  min-width: 0;
}

.brand__name {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
}

.brand__tagline {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--cyan-400);
  white-space: nowrap;
}

/* 9.4 移动开关 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 12px;
  border: 1px solid rgba(47, 227, 224, 0.35);
  border-radius: var(--radius);
  background: rgba(47, 227, 224, 0.06);
  color: var(--ink-text);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.nav-toggle__bars i {
  display: block;
  height: 2px;
  background: var(--cyan-400);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle__text { white-space: nowrap; }

.site-header[data-open] .nav-toggle__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 9.5 导航面板 */
.header-panel {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  min-width: 0;
  margin-left: auto;
}

.site-nav { display: block; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 22px);
}

.site-nav__list a {
  position: relative;
  display: block;
  padding: 8px 2px;
  color: rgba(232, 237, 247, 0.76);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.18s ease;
}

.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 2px;
  background: var(--cyan-400);
  transition: right 0.24s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.site-nav__list a:hover { color: #fff; }
.site-nav__list a:hover::after { right: 0; }

.site-nav__list a[aria-current="page"] { color: var(--cyan-400); }

.site-nav__list a[aria-current="page"]::after {
  right: 0;
  background: var(--amber-400);
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

/* ---------- 10. 页脚 ---------- */
.site-footer {
  position: relative;
  background: var(--ink-950);
  color: rgba(232, 237, 247, 0.72);
  border-top: 1px solid rgba(47, 227, 224, 0.28);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 72px);
}

.site-footer__inner {
  position: relative;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: clamp(44px, 6vw, 76px) var(--gutter) 0;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.75fr);
  gap: clamp(32px, 5vw, 80px);
  padding-bottom: clamp(30px, 4vw, 48px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 32rem;
}

.footer-brand__closing {
  font-family: var(--font-editorial);
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(245, 240, 230, 0.86);
}

.footer-brand__note {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(232, 237, 247, 0.52);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

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

.footer-col__title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-400);
}

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

.footer-list a {
  position: relative;
  display: inline-block;
  font-size: 14.5px;
  color: rgba(232, 237, 247, 0.72);
  transition: color 0.18s ease, padding-left 0.2s ease;
}

.footer-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--cyan-400);
  transform: translateY(-50%);
  transition: width 0.2s ease;
}

.footer-list a:hover {
  color: #fff;
  padding-left: 14px;
}

.footer-list a:hover::before { width: 9px; }

.footer-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px clamp(20px, 3vw, 40px);
  padding: clamp(26px, 3vw, 36px) 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

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

.footer-contact__label {
  margin-bottom: 7px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(232, 237, 247, 0.45);
}

.footer-contact__value {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--slate-100);
  overflow-wrap: break-word;
}

.footer-contact__hint {
  grid-column: 1 / -1;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(232, 237, 247, 0.48);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  padding: 20px 0 28px;
  font-size: 12.5px;
  color: rgba(232, 237, 247, 0.46);
}

.footer-legal__line {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* ---------- 11. 通用组件 ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
}

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

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 0 16px 16px;
  border-left: 2px solid var(--paper-300);
}

.surface-ink .stat,
.surface-indigo .stat { border-left-color: var(--cyan-400); }

.stat__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--indigo-900);
}

.surface-ink .stat__value,
.surface-indigo .stat__value { color: #fff; }

.stat__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-500);
}

.surface-ink .stat__label,
.surface-indigo .stat__label { color: rgba(232, 237, 247, 0.6); }

.stat--accent .stat__value { color: var(--orange-500); }
.stat--positive .stat__value { color: var(--grass-500); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag--cyan { color: var(--cyan-400); }
.tag--amber { color: var(--amber-400); }
.tag--grass { color: var(--grass-500); }
.tag--rose { color: var(--rose-500); }

.panel {
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line-paper);
  border-radius: var(--radius);
  background: var(--slate-100);
}

.surface-ink .panel,
.surface-indigo .panel {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-dark);
}

/* 图片容器基础规则 */
.figure {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.figure__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-dark);
  background: linear-gradient(160deg, var(--indigo-900), var(--ink-950));
}

.figure__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.06) saturate(0.9) brightness(0.86);
}

.figure__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(47, 227, 224, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 227, 224, 0.09) 1px, transparent 1px);
  background-size: 48px 48px;
}

.figure__media[data-placeholder]::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 22%, rgba(47, 227, 224, 0.18), transparent 60%),
    radial-gradient(circle at 76% 82%, rgba(255, 107, 26, 0.16), transparent 58%);
}

.figure--wide .figure__media { aspect-ratio: 21 / 9; }
.figure--square .figure__media { aspect-ratio: 1 / 1; }
.figure--portrait .figure__media { aspect-ratio: 3 / 4; }

.figure__caption {
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate-500);
}

.surface-ink .figure__caption,
.surface-indigo .figure__caption { color: rgba(232, 237, 247, 0.62); }

/* 面包屑 */
.breadcrumbs {
  padding-block: 14px;
  font-size: 13px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--slate-500);
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--paper-300);
}

.breadcrumbs a {
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.breadcrumbs a:hover {
  color: var(--indigo-600);
  border-bottom-color: currentColor;
}

.breadcrumbs [aria-current="page"] {
  color: var(--indigo-900);
  font-weight: 600;
}

/* ---------- 12. 滚动显现 / 进度 ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.36s ease-out var(--reveal-delay, 0ms),
    transform 0.36s ease-out var(--reveal-delay, 0ms);
}

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 90;
  pointer-events: none;
  background: linear-gradient(90deg, var(--cyan-400), var(--amber-400));
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

/* ---------- 13. 响应式 ---------- */
@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }

  .header-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 4px var(--gutter) 20px;
    background: var(--indigo-900);
    border-top: 1px solid rgba(47, 227, 224, 0.22);
    border-bottom: 1px solid rgba(47, 227, 224, 0.3);
    box-shadow: 0 28px 56px -28px rgba(0, 0, 0, 0.85);
  }

  .site-header[data-open] .header-panel {
    display: flex;
    animation: panel-drop 0.24s ease-out;
  }

  @keyframes panel-drop {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
  }

  .site-nav { width: 100%; }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__list a {
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 16px;
  }

  .site-nav__list a::after { display: none; }

  .site-nav__list a[aria-current="page"] {
    padding-left: 12px;
    border-left: 3px solid var(--amber-400);
  }

  .site-nav__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 18px;
  }

  .site-nav__actions .btn {
    width: 100%;
    padding: 13px 18px;
  }

  .header-rail__inner {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .header-rail__inner::-webkit-scrollbar { display: none; }

  .league-switch { margin-inline: auto; }
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-brand { max-width: none; }
}

@media (max-width: 720px) {
  .header-rail__inner .rail-meta { display: none; }

  .league-switch {
    width: 100%;
    margin-inline: 0;
    justify-content: space-between;
  }

  .league-switch__btn {
    flex: 1 1 auto;
    padding: 6px 8px;
    text-align: center;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 640px) {
  body { font-size: 16px; }

  .header-main {
    min-height: 62px;
    padding-block: 10px;
  }

  .brand__mark { width: 30px; height: 30px; }
  .brand__name { font-size: 17px; }
  .brand__tagline { font-size: 9px; letter-spacing: 0.12em; }

  .nav-toggle__text { display: none; }

  .footer-contact { grid-template-columns: 1fr; }

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

  .stat__value { font-size: clamp(1.7rem, 8vw, 2.4rem); }
}

/* ---------- 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;
    transition-delay: 0ms !important;
  }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .btn:hover { transform: none; }
}
