/* ============================================================
   加加体育主站 / assets/site.css
   共享层：reset + 变量 + 中文排版 + 头部 + 页脚 + 基础组件
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
}

body,
h1, h2, h3, h4, h5, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; }

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

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

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

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

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

[hidden] { display: none !important; }

/* ---------- 2. 变量 ---------- */
:root {
  --night: #060A13;
  --panel: #0E1626;
  --glass: #16233A;
  --moon: #F3F6FA;
  --steel: #9DAFC6;
  --orange: #FF7A2F;
  --jade: #12C2A0;
  --crimson: #D8293F;
  --amber: #FFC752;
  --link: #4B8CFF;

  --line: rgba(157, 175, 198, 0.16);
  --line-strong: rgba(157, 175, 198, 0.30);
  --glass-fill: rgba(22, 35, 58, 0.72);
  --shadow-deep: 0 18px 48px rgba(3, 6, 14, 0.55);

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 26px;
  --radius-pill: 999px;

  --container: 1180px;
  --container-wide: 1440px;

  --font-sans: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --font-num: 'DIN Alternate', 'Roboto Condensed', 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --ease: ease-out;
}

/* ---------- 3. 基础与中文排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--night);
  background-image:
    radial-gradient(720px 420px at 8% -6%, rgba(75, 140, 255, 0.16), transparent 62%),
    radial-gradient(620px 380px at 96% 3%, rgba(18, 194, 160, 0.11), transparent 60%),
    radial-gradient(900px 520px at 46% 104%, rgba(255, 122, 47, 0.09), transparent 64%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--moon);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--orange); color: #070C16; }

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

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

.display {
  font-weight: 300;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.display em { font-style: normal; color: var(--orange); }

.heading {
  font-weight: 800;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.24;
  letter-spacing: -0.01em;
}

.subheading {
  font-weight: 800;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.35;
}

.lede {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.8;
  color: var(--steel);
  max-width: 66ch;
}

.body-copy { max-width: 66ch; color: rgba(243, 246, 250, 0.86); }

.num {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0.01em;
}

.label {
  display: inline-block;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}

/* ---------- 4. 布局 ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container-wide { width: min(100% - 2.5rem, var(--container-wide)); margin-inline: auto; }

.section { padding-block: clamp(44px, 6.5vw, 96px); }
.section--tight { padding-block: clamp(28px, 4vw, 56px); }

.stack { display: flex; flex-direction: column; gap: clamp(12px, 1.6vw, 20px); }

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

.split {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(20px, 3vw, 52px);
  align-items: center;
}
.split--reverse { grid-template-columns: 4fr 8fr; }

/* ---------- 5. 面板 / 卡片 / 数据元件 ---------- */
.panel {
  background: linear-gradient(180deg, rgba(14, 22, 38, 0.96), rgba(10, 16, 29, 0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(18px, 2.6vw, 34px);
}

.panel--glass {
  background: var(--glass-fill);
  border-color: var(--line-strong);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}

.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: clamp(14px, 2vw, 24px);
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(16px, 2vw, 24px);
  background: rgba(14, 22, 38, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  transition: border-color 180ms var(--ease), transform 180ms var(--ease);
}
.card:hover { border-color: rgba(255, 122, 47, 0.45); }

.card-title { font-size: 18px; font-weight: 800; line-height: 1.35; }

.card-meta {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--steel);
  font-family: var(--font-num);
}

.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.05;
}
.stat-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

.delta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 6px;
  font-family: var(--font-num);
  font-size: 12px;
  line-height: 1.6;
}
.delta--up { color: #04231C; background: var(--jade); }
.delta--down { color: #FFFFFF; background: var(--crimson); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
}
.tag--orange { color: var(--orange); border-color: rgba(255, 122, 47, 0.5); background: rgba(255, 122, 47, 0.10); }
.tag--jade { color: var(--jade); border-color: rgba(18, 194, 160, 0.45); background: rgba(18, 194, 160, 0.08); }
.tag--crimson { color: #FF7D8C; border-color: rgba(216, 41, 63, 0.5); background: rgba(216, 41, 63, 0.12); }
.tag--amber { color: var(--amber); border-color: rgba(255, 199, 82, 0.45); background: rgba(255, 199, 82, 0.08); }

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease),
    color 180ms var(--ease), transform 180ms var(--ease);
}
.btn:hover { text-decoration: none; }

.btn-primary { background: var(--orange); color: #070C16; }
.btn-primary:hover { background: #FF9557; }

.btn-ghost {
  background: rgba(22, 35, 58, 0.6);
  border-color: var(--line-strong);
  color: var(--moon);
}
.btn-ghost:hover { border-color: rgba(255, 122, 47, 0.55); color: var(--orange); }

.btn-sm { padding: 8px 14px; font-size: 12.5px; }

/* ---------- 7. 图像容器（页面阶段放入 img） ---------- */
.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: linear-gradient(150deg, #16233A 0%, #0A1220 58%, #101B2E 100%);
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 10, 19, 0) 40%, rgba(6, 10, 19, 0.6) 100%);
}
.media-frame img,
.media-frame picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--portrait { aspect-ratio: 3 / 4; }
.media-frame--hero { aspect-ratio: 4 / 5; border-radius: var(--radius-l); }

.media-caption {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--steel);
}

/* ---------- 8. 面包屑 / 章节目录 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--steel);
}
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; color: rgba(157, 175, 198, 0.5); }
.breadcrumbs a { color: var(--steel); }
.breadcrumbs a:hover { color: var(--moon); }
.breadcrumbs [aria-current="page"] { color: var(--amber); }

.section-index {
  position: sticky;
  top: 118px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.section-index a {
  display: block;
  padding: 8px 12px;
  border-left: 2px solid var(--line);
  color: var(--steel);
  font-size: 13px;
  text-decoration: none;
  transition: color 160ms var(--ease), border-color 160ms var(--ease), background-color 160ms var(--ease);
}
.section-index a:hover { color: var(--moon); border-color: var(--line-strong); }
.section-index a[aria-current="true"] {
  color: var(--orange);
  border-color: var(--orange);
  background: linear-gradient(90deg, rgba(255, 122, 47, 0.14), transparent);
}

/* ---------- 9. 头部：悬浮玻璃胶囊 ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--orange);
  color: #070C16;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 200ms var(--ease);
}
.skip-link:focus { transform: translateY(0); text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  padding: 12px clamp(12px, 2.4vw, 28px) 0;
}

.progress-rail {
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  overflow: hidden;
  background: rgba(157, 175, 198, 0.12);
}
.progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--jade), var(--amber) 55%, var(--orange));
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding: 9px 12px 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, rgba(22, 35, 58, 0.94), rgba(11, 18, 33, 0.9));
  box-shadow: 0 16px 40px rgba(3, 6, 14, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  transition: padding 200ms var(--ease), background 200ms var(--ease);
}
.site-header[data-header][data-scrolled] .header-inner {
  padding-block: 6px;
  background: linear-gradient(180deg, rgba(22, 35, 58, 0.98), rgba(8, 13, 24, 0.95));
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: var(--moon);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--orange), #E2542F 55%, var(--crimson));
  color: #0A0F1A;
  box-shadow: 0 6px 18px rgba(255, 122, 47, 0.3);
}
.brand-mark svg { width: 20px; height: 20px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 16px; font-weight: 800; letter-spacing: 0.04em; }
.brand-suffix {
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--steel);
}

.brand-tagline {
  margin-left: 4px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--steel);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(157, 175, 198, 0.1);
  color: var(--moon);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
}
.nav-toggle:hover { border-color: rgba(255, 122, 47, 0.5); }
.nav-toggle[aria-expanded="true"] {
  background: rgba(255, 122, 47, 0.18);
  border-color: rgba(255, 122, 47, 0.6);
  color: var(--orange);
}

.nav-toggle-lines { display: flex; flex-direction: column; gap: 4px; }
.nav-toggle-lines span {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.site-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(8px, 1.4vw, 18px);
  min-width: 0;
}

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

.nav-link {
  display: inline-block;
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  color: var(--steel);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-decoration: none;
  transition: color 160ms var(--ease), background-color 160ms var(--ease);
}
.nav-link:hover { color: var(--moon); background: rgba(157, 175, 198, 0.14); text-decoration: none; }
.nav-link[aria-current="page"] {
  color: #070C16;
  background: var(--orange);
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(255, 122, 47, 0.28);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.league-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 4px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(6, 10, 19, 0.55);
  scrollbar-width: none;
}
.league-switch::-webkit-scrollbar { display: none; }

.league-chip {
  padding: 5px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--steel);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: color 160ms var(--ease), background-color 160ms var(--ease), border-color 160ms var(--ease);
}
.league-chip:hover { color: var(--moon); background: rgba(157, 175, 198, 0.14); }
.league-chip[aria-pressed="true"] {
  color: var(--moon);
  background: rgba(255, 122, 47, 0.18);
  border-color: rgba(255, 122, 47, 0.6);
}

.version-tag {
  padding: 3px 7px;
  border: 1px solid rgba(255, 199, 82, 0.45);
  border-radius: 6px;
  background: rgba(255, 199, 82, 0.08);
  color: var(--amber);
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.header-cta { white-space: nowrap; }

/* ---------- 10. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 120px);
  padding-block: clamp(40px, 5.5vw, 72px) clamp(84px, 8vw, 112px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 22, 38, 0.85), rgba(6, 10, 19, 0.98) 58%);
}

.footer-inner { width: min(100% - 2.5rem, var(--container-wide)); margin-inline: auto; }

.footer-top {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(0, 2.3fr);
  gap: clamp(28px, 4vw, 72px);
}

.footer-brand { display: flex; flex-direction: column; gap: 13px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.footer-logo-mark {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(140deg, var(--orange), var(--crimson));
  box-shadow: 0 0 0 4px rgba(255, 122, 47, 0.12);
}
.footer-logo-suffix {
  font-family: var(--font-num);
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--steel);
}

.footer-tagline { font-size: 12px; letter-spacing: 0.14em; color: var(--amber); }
.footer-lede { max-width: 34ch; font-size: 14px; line-height: 1.8; color: var(--steel); }

.flag-bar { display: flex; gap: 5px; }
.flag-bar span { width: 26px; height: 4px; border-radius: 2px; background: var(--steel); }
.flag-bar span:nth-child(1) { background: var(--orange); }
.flag-bar span:nth-child(2) { background: var(--jade); }
.flag-bar span:nth-child(3) { background: var(--amber); }
.flag-bar span:nth-child(4) { background: var(--link); }
.flag-bar span:nth-child(5) { background: var(--crimson); }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr);
  gap: clamp(20px, 2.6vw, 36px);
}

.footer-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

.footer-col-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moon);
}

.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-link {
  color: var(--steel);
  font-size: 14px;
  text-decoration: none;
  transition: color 160ms var(--ease);
}
.footer-link:hover { color: var(--moon); text-decoration: underline; text-underline-offset: 3px; }

.contact-list { display: flex; flex-direction: column; gap: 10px; }
.contact-line { display: flex; align-items: baseline; gap: 10px; font-size: 13px; }
.contact-label {
  flex: 0 0 38px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--steel);
}
.contact-value { color: var(--moon); word-break: break-word; }
.contact-value--num { font-family: var(--font-num); letter-spacing: 0.02em; }

.contact-note {
  margin-top: 4px;
  padding-left: 10px;
  border-left: 2px solid rgba(255, 199, 82, 0.5);
  font-size: 12px;
  line-height: 1.7;
  color: rgba(157, 175, 198, 0.85);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--steel);
}
.footer-legal { font-family: var(--font-num); }
.footer-copyright { color: rgba(157, 175, 198, 0.85); }

.to-top {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 28px);
  z-index: 130;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(22, 35, 58, 0.88);
  color: var(--moon);
  font-size: 12px;
  letter-spacing: 0.12em;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease);
}
.to-top[data-visible] { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: rgba(255, 122, 47, 0.6); color: var(--orange); }
.to-top-arrow { font-family: var(--font-num); }

/* ---------- 11. 进场动效 ---------- */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 260ms var(--ease), transform 260ms var(--ease);
}
.has-js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 12. 响应式 ---------- */
@media (max-width: 1360px) {
  .brand-tagline { display: none; }
}

@media (max-width: 1279px) {
  .version-tag { display: none; }
  .site-nav { gap: 8px; }
  .nav-link { padding: 8px 10px; font-size: 13.5px; }
}

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

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    max-height: min(74vh, 640px);
    padding: 16px;
    overflow-y: auto;
    border: 1px solid var(--line-strong);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(22, 35, 58, 0.98), rgba(10, 16, 29, 0.98));
    box-shadow: var(--shadow-deep);
  }
  .site-nav[data-open] { display: flex; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-link {
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-size: 16px;
  }
  .nav-link[aria-current="page"] { border-radius: 14px; }

  .nav-tools {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-left: 0;
    padding-top: 14px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .league-switch { justify-content: flex-start; }
  .header-cta { align-self: flex-start; }
}

@media (max-width: 1080px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-index { position: static; flex-direction: row; flex-wrap: wrap; overflow-x: auto; }
  .section-index a { border-left: 0; border-bottom: 2px solid var(--line); }
  .section-index a[aria-current="true"] { background: none; border-color: var(--orange); }
}

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

@media (max-width: 620px) {
  .container,
  .container-wide,
  .footer-inner { width: min(100% - 1.75rem, var(--container)); }
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .panel { border-radius: var(--radius-m); }
  .display { line-height: 1.08; }
}

/* ---------- 13. 减弱动效 ---------- */
@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;
  }

  .has-js [data-reveal] { opacity: 1; transform: none; }
  .to-top { transition: opacity 0.001ms, color 0.001ms, border-color 0.001ms; }
}
