/* ===========================================================
   万博赛场 · MANBETX 数据舱  —  共享样式 /assets/site.css
   深墨绿看台 + 灯光金数据 + 草皮斜纹 + 玻璃浮岛
   =========================================================== */

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

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

body {
  margin: 0;
  color: #F4EFE4;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  background-color: #0B2B23;
  background-image:
    repeating-linear-gradient(112deg, rgba(31, 92, 74, 0.30) 0 2px, rgba(31, 92, 74, 0) 2px 15px),
    radial-gradient(1200px 620px at 82% -10%, rgba(232, 180, 74, 0.12), rgba(232, 180, 74, 0) 62%),
    linear-gradient(180deg, #0B2B23 0%, #08211B 58%, #0B2B23 100%);
  background-attachment: scroll, fixed, scroll;
}

body::after {
  content: "";
  position: fixed;
  inset: auto 0 0 0;
  height: 46vh;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 29, 24, 0), rgba(7, 29, 24, 0.55));
  z-index: 0;
}

img, svg { max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

:where(a, button, input, summary, [tabindex]):focus-visible {
  outline: 2px solid #E8B44A;
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- 2. 变量 ---------- */
:root {
  --ink-deep: #071D18;
  --ink: #0B2B23;
  --ink-2: #123A31;
  --pitch: #1F5C4A;
  --gold: #E8B44A;
  --amber: #A97B2E;
  --paper: #F4EFE4;
  --paper-2: #EFE6D5;
  --graphite: #20302B;
  --crimson: #C0392B;
  --mist: #9FB0A9;

  --line-dark: rgba(244, 239, 228, 0.14);
  --line-soft: rgba(244, 239, 228, 0.08);
  --line-gold: rgba(232, 180, 74, 0.38);
  --glass: rgba(244, 239, 228, 0.07);
  --blur: blur(14px) saturate(125%);

  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", "Roboto Mono", Consolas, "Courier New", monospace;

  --radius-pill: 999px;
  --radius-card: 18px;
  --radius-sm: 10px;

  --shell: 1440px;
  --gap: 24px;
  --shadow-float: 0 18px 40px -22px rgba(0, 0, 0, 0.8);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. 排版 ---------- */
h1, h2, h3, h4, h5, h6 { margin: 0 0 0.5em; line-height: 1.2; font-weight: 700; }

h1 { font-size: clamp(34px, 5.4vw, 72px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.02; }
h2 { font-size: clamp(24px, 3vw, 36px); letter-spacing: -0.01em; }
h3 { font-size: clamp(19px, 2vw, 26px); }
h4 { font-size: 17px; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.display {
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.98;
  font-variant-numeric: tabular-nums;
}

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.lede {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
  color: rgba(244, 239, 228, 0.82);
  max-width: 60ch;
}

.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose strong { color: var(--gold); }

hr, .rule {
  height: 1px;
  border: 0;
  margin: 32px 0;
  background: var(--line-dark);
}

/* ---------- 4. 布局容器 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 32px);
}

.section { padding: clamp(40px, 6vw, 88px) 0; position: relative; }
.section--deep { background: linear-gradient(180deg, rgba(7, 29, 24, 0.9), rgba(11, 43, 35, 0.4)); }
.section--paper { background: var(--paper); color: var(--graphite); }
.section--paper .eyebrow { color: var(--amber); }
.section--paper .lede { color: rgba(32, 48, 43, 0.78); }
.section--paper .rule { background: rgba(32, 48, 43, 0.16); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 24px;
  padding-bottom: 14px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line-dark);
}
.section--paper .section__head { border-bottom-color: rgba(32, 48, 43, 0.16); }
.section__head h2 { margin: 0; }

.grid--12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}
.c3 { grid-column: span 3; }
.c4 { grid-column: span 4; }
.c6 { grid-column: span 6; }
.c8 { grid-column: span 8; }
.c9 { grid-column: span 9; }
.c12 { grid-column: span 12; }

#main-content { scroll-margin-top: 150px; }

/* ---------- 5. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--gold);
  color: #16190B;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.18s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 6. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: clamp(9px, 1.2vw, 14px) 0 10px;
  background: linear-gradient(180deg, rgba(8, 33, 28, 0.96), rgba(8, 33, 28, 0.76));
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  transition: padding 0.24s var(--ease);
}
.site-header[data-condensed] { padding-top: 5px; padding-bottom: 5px; }

.header-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 9px;
  border-radius: var(--radius-pill);
  background: var(--glass);
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-float);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  transition: padding 0.24s var(--ease);
}
.site-header[data-condensed] .header-shell { padding: 4px 7px; }

/* 品牌浮岛 */
.brand-island {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 5px 14px 5px 6px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--paper);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.brand-island:hover,
.brand-island:focus-visible {
  border-color: var(--line-gold);
  background: rgba(232, 180, 74, 0.09);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--gold);
  background: radial-gradient(circle at 30% 25%, rgba(232, 180, 74, 0.30), rgba(232, 180, 74, 0.04));
  box-shadow: inset 0 0 0 1px rgba(232, 180, 74, 0.35);
  transition: width 0.24s var(--ease), height 0.24s var(--ease);
}
.site-header[data-condensed] .brand-mark { width: 32px; height: 32px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 16px; font-weight: 900; letter-spacing: 0.04em; }
.brand-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}
.site-header[data-condensed] .brand-sub { display: none; }

/* 主导航 */
.primary-nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.nav-list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-list__item { display: block; }
.nav-link {
  display: inline-block;
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(244, 239, 228, 0.84);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.nav-link:hover { color: var(--paper); background: rgba(244, 239, 228, 0.09); }
.nav-link[aria-current="page"] {
  color: #14190B;
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 800;
}

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

.tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(244, 239, 228, 0.16);
  background: rgba(244, 239, 228, 0.05);
  color: rgba(244, 239, 228, 0.9);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.tool-btn:hover {
  color: var(--gold);
  border-color: var(--line-gold);
  background: rgba(232, 180, 74, 0.10);
}
.tool-btn--accent {
  color: var(--gold);
  border-color: var(--line-gold);
  background: rgba(232, 180, 74, 0.14);
}
.tool-btn--accent:hover { background: var(--gold); color: #16190B; }
.tool-btn__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 180, 74, 0.18);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-gold);
  background: rgba(232, 180, 74, 0.10);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.nav-toggle[aria-expanded="true"] { background: var(--gold); color: #16190B; border-color: var(--gold); }
.nav-toggle__bars {
  position: relative;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { box-shadow: none; }

/* 检索抽屉 */
.search-drawer {
  position: absolute;
  top: calc(100% + 10px);
  right: 8px;
  width: min(380px, calc(100vw - 40px));
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(10, 36, 30, 0.98), rgba(8, 29, 24, 0.99));
  border: 1px solid rgba(244, 239, 228, 0.14);
  box-shadow: var(--shadow-float);
  z-index: 90;
}
.search-drawer__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist);
}
.search-drawer__input {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-dark);
  background: rgba(244, 239, 228, 0.06);
  color: var(--paper);
  font-size: 14px;
}
.search-drawer__input::placeholder { color: rgba(159, 176, 169, 0.8); }
.search-drawer__input:focus { border-color: var(--line-gold); }

.quick-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.quick-list__item { display: block; }
.quick-list__link {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  font-size: 13.5px;
  color: rgba(244, 239, 228, 0.86);
  text-decoration: none;
  transition: background 0.16s var(--ease), border-color 0.16s var(--ease), color 0.16s var(--ease);
}
.quick-list__link:hover {
  color: var(--gold);
  background: rgba(232, 180, 74, 0.09);
  border-left-color: var(--gold);
}
.search-drawer__empty {
  margin: 0;
  padding: 8px 12px;
  font-size: 12.5px;
  color: var(--mist);
  border-left: 2px solid var(--crimson);
  background: rgba(192, 57, 43, 0.10);
  border-radius: var(--radius-sm);
}

/* 联赛带 */
.league-shell { margin-top: 8px; }
.league-band {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(18, 58, 49, 0.62);
  border: 1px solid var(--line-soft);
  overflow-x: auto;
  scrollbar-width: none;
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}
.league-band::-webkit-scrollbar { display: none; }
.league-band__caption {
  flex: 0 0 auto;
  padding: 0 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist);
  white-space: nowrap;
}
.league-chip {
  flex: 0 0 auto;
  padding: 6px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(244, 239, 228, 0.14);
  background: rgba(244, 239, 228, 0.04);
  color: rgba(244, 239, 228, 0.82);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.16s var(--ease), color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.league-chip:hover { color: var(--gold); border-color: var(--line-gold); }
.league-chip[aria-pressed="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: #14190B;
  font-weight: 800;
}

/* 阅读进度 */
.read-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(244, 239, 228, 0.07);
}
.read-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--amber), var(--gold));
  box-shadow: 0 0 12px rgba(232, 180, 74, 0.45);
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(48px, 7vw, 96px);
  padding: clamp(36px, 5vw, 64px) 0 26px;
  background: linear-gradient(180deg, #08211B, #061915);
  border-top: 1px solid var(--line-soft);
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(244, 239, 228, 0.10);
}

.footer-brand { grid-column: span 4; display: flex; flex-direction: column; gap: 14px; }
.brand-island--footer {
  align-self: flex-start;
  padding-left: 6px;
  border-color: rgba(244, 239, 228, 0.12);
  background: rgba(244, 239, 228, 0.04);
}
.footer-tagline {
  margin: 0;
  max-width: 42ch;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(244, 239, 228, 0.68);
}
.footer-meta { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.footer-meta__item { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; }
.footer-meta__label {
  flex: 0 0 auto;
  min-width: 64px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}
.footer-meta__value { color: rgba(244, 239, 228, 0.86); }

.footer-col { grid-column: span 2; }
.footer-col__title {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-links { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-links__item { display: block; }
.footer-links__item a {
  display: inline-block;
  font-size: 13.5px;
  color: rgba(244, 239, 228, 0.78);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.footer-links__item a:hover { color: var(--gold); border-bottom-color: var(--line-gold); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  padding-top: 20px;
}
.footer-legal {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(244, 239, 228, 0.9);
}
.footer-update,
.footer-copy {
  margin: 0;
  font-size: 12px;
  color: var(--mist);
}
.footer-service {
  margin: 0;
  font-size: 12.5px;
  color: var(--mist);
}
.footer-service__mail { color: var(--gold); }

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-gold);
  background: rgba(232, 180, 74, 0.08);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.to-top::before { content: "↑"; font-family: var(--font-mono); }
.to-top:hover { background: var(--gold); color: #16190B; }

/* ---------- 8. 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.btn--gold { background: var(--gold); border-color: var(--gold); color: #14190B; }
.btn--gold:hover { background: #F3C566; }
.btn--ghost { border-color: var(--line-dark); color: var(--paper); }
.btn--ghost:hover { border-color: var(--line-gold); color: var(--gold); background: rgba(232, 180, 74, 0.08); }
.btn--paper { background: var(--graphite); border-color: var(--graphite); color: var(--paper); }
.btn--paper:hover { background: #16241F; }
.btn--sm { padding: 7px 14px; font-size: 13px; }

/* ---------- 9. 面包屑 ---------- */
.breadcrumb { margin: 22px 0 0; }
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--mist);
}
.breadcrumb__link {
  color: var(--mist);
  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(--gold); border-bottom-color: var(--line-gold); }
.breadcrumb__sep { color: rgba(159, 176, 169, 0.5); }
.breadcrumb__current { color: var(--paper); }
.breadcrumb__current[aria-current="page"] { color: var(--gold); }

/* ---------- 10. 资料卡 / 标签 / 数据 ---------- */
.card {
  position: relative;
  padding: 20px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line-dark);
  background: rgba(18, 58, 49, 0.52);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}
.card__title { margin: 0 0 6px; font-size: 20px; font-weight: 700; line-height: 1.3; }
.card__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}
.card--paper {
  background: var(--paper-2);
  color: var(--graphite);
  border-color: rgba(32, 48, 43, 0.14);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.card--paper .card__meta { color: #6B7A72; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-gold);
  background: rgba(232, 180, 74, 0.09);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
}
.tag--live {
  border-color: rgba(192, 57, 43, 0.6);
  background: rgba(192, 57, 43, 0.16);
  color: #F7D9D2;
}

.stat { display: flex; flex-direction: column; gap: 3px; }
.stat__value {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 13.5px;
}
.data-table th,
.data-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line-dark);
}
.data-table thead th {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
  font-weight: 600;
}
.data-table tbody tr:hover { background: rgba(232, 180, 74, 0.06); }

/* ---------- 11. 图片容器（页面阶段放置图片） ---------- */
.img-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-card);
  background-color: #0E3229;
  background-image: linear-gradient(135deg, rgba(31, 92, 74, 0.9), rgba(7, 29, 24, 0.96));
}
.img-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.06);
}
.img-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(115deg, rgba(244, 239, 228, 0.09) 0 1px, rgba(244, 239, 228, 0) 1px 17px),
    linear-gradient(180deg, rgba(7, 29, 24, 0) 52%, rgba(7, 29, 24, 0.76));
}
.img-frame__caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: rgba(244, 239, 228, 0.86);
}
.img-frame--wide { aspect-ratio: 16 / 9; }
.img-frame--tall { aspect-ratio: 3 / 4; }
.img-frame--square { aspect-ratio: 1 / 1; }

/* ---------- 12. 显现动效 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 13. 响应式 ---------- */
@media (max-width: 1400px) {
  .nav-link { padding: 8px 11px; font-size: 13px; }
}

@media (max-width: 1200px) {
  .tool-btn--ghost { display: none; }
}

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    padding: 14px;
    border-radius: 20px;
    border: 1px solid rgba(244, 239, 228, 0.14);
    background: linear-gradient(180deg, rgba(10, 36, 30, 0.99), rgba(8, 29, 24, 0.99));
    box-shadow: var(--shadow-float);
    max-height: calc(100vh - 170px);
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s linear;
  }
  .primary-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-link { display: block; padding: 12px 15px; font-size: 15px; border-radius: 14px; }
  .nav-link[aria-current="page"] { border-radius: 14px; }

  .footer-brand { grid-column: span 6; }
  .footer-col { grid-column: span 3; }
}

@media (max-width: 860px) {
  .grid--12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .c3 { grid-column: span 3; }
  .c4, .c6, .c8, .c9, .c12 { grid-column: span 6; }
}

@media (max-width: 768px) {
  .brand-sub { display: none; }
  .header-shell { gap: 8px; }
  .tool-btn { padding: 8px 12px; font-size: 12.5px; }
  .tool-btn--accent { padding: 8px 12px; }
  .search-drawer { right: 0; left: 0; width: auto; }
  .league-band__caption { display: none; }

  .footer-brand { grid-column: span 12; }
  .footer-col { grid-column: span 6; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .to-top { margin-left: 0; }
}

@media (max-width: 480px) {
  .grid--12 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c3, .c4, .c6, .c8, .c9, .c12 { grid-column: span 2; }
  .footer-col { grid-column: span 12; }
  .img-frame--wide { aspect-ratio: 4 / 3; }
  .stat__value { font-size: clamp(28px, 9vw, 40px); }
}

/* ---------- 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; transform: none; }
}
