/* ==========================================================================
   欧宝体育看台 · 共享样式表 /assets/site.css
   框架式导航 + 看台式分区 + 数据颗粒感
   ========================================================================== */

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

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

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

table { border-collapse: collapse; border-spacing: 0; }

hr { border: 0; }

/* ---------- 变量 ---------- */
:root {
  --c-base: #0A1E19;
  --c-home: #14483A;
  --c-turf: #2C7A55;
  --c-neon: #3EE0C0;
  --c-data: #4FA8FF;
  --c-orange: #FF6B35;
  --c-orange-deep: #B8431C;
  --c-concrete: #9AA3A0;
  --c-mist: #DDE3DF;
  --c-paper: #F3F1EA;
  --c-ink: #0A1E19;

  --c-text: #EAF2EE;
  --c-text-dim: rgba(234, 242, 238, 0.62);
  --c-line: rgba(154, 163, 160, 0.28);
  --c-line-soft: rgba(154, 163, 160, 0.14);

  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --rail-x: clamp(10px, 2.2vw, 30px);
  --shell-pad: calc(var(--rail-x) + 18px);

  --radius-s: 4px;
  --radius-m: 8px;
  --radius-l: 10px;

  --dur-fast: 140ms;
  --dur: 200ms;
  --nav-pad: 96px;
}

/* ---------- 中文排版基线 ---------- */
body {
  background-color: var(--c-base);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (min-width: 1200px) {
  body { font-size: 17px; }
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

p { max-width: 46em; }

.num,
[data-mono] { font-family: var(--font-mono); }

/* ---------- 通用容器与栅格 ---------- */
.shell {
  width: min(1320px, calc(100% - 2 * var(--shell-pad)));
  margin-inline: auto;
}

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

.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-12 { grid-column: span 12; }

.stack > * + * { margin-top: var(--stack-gap, 16px); }

.divider {
  height: 1px;
  background: var(--c-line-soft);
  border: 0;
  margin-block: clamp(20px, 3vw, 36px);
}

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

#main-content { display: block; outline: none; }

/* ---------- 分区背景（色彩节奏） ---------- */
.section {
  padding-block: clamp(44px, 7vw, 96px);
  background-color: var(--c-base);
  color: var(--c-text);
}

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

.section--home {
  background-image:
    radial-gradient(120% 90% at 12% 0%, rgba(44, 122, 85, 0.55), transparent 62%),
    linear-gradient(160deg, var(--c-home), var(--c-base) 70%);
}

.section--mist {
  background-color: var(--c-mist);
  color: #14231F;
}

.section--paper {
  background-color: var(--c-paper);
  color: #14231F;
}

.section--mist .section__lead,
.section--paper .section__lead,
.section--mist .card__meta { color: rgba(10, 30, 25, 0.68); }

.section--mist .eyebrow,
.section--paper .eyebrow { color: var(--c-orange-deep); }

.section__head { max-width: 820px; margin-bottom: clamp(24px, 4vw, 44px); }

.section__title {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  margin-bottom: 12px;
}

.section__lead {
  color: var(--c-text-dim);
  max-width: 42em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-neon);
  margin-bottom: 10px;
}

.prose {
  max-width: 46em;
  color: var(--c-text-dim);
}

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

.prose strong { color: var(--c-text); }

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: var(--rail-x);
  top: -80px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--c-neon);
  color: #06231B;
  font-weight: 800;
  font-size: 14px;
  border-radius: 0 0 var(--radius-s) var(--radius-s);
  transition: top var(--dur) ease;
}

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

/* ---------- 焦点可见 ---------- */
:focus-visible {
  outline: 2px solid var(--c-neon);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- 外框边线（导航即边框） ---------- */
.rail {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 1px;
  z-index: 40;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(62, 224, 192, 0.50) 0%,
    rgba(154, 163, 160, 0.18) 32%,
    rgba(154, 163, 160, 0.10) 68%,
    rgba(255, 107, 53, 0.32) 100%
  );
}

.rail--start { left: var(--rail-x); }
.rail--end { right: var(--rail-x); }

/* ---------- 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--c-base);
  border-bottom: 1px solid var(--c-line-soft);
  transition: box-shadow var(--dur) ease, background-color var(--dur) ease;
}

.site-header[data-scrolled="true"] {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
  background: #081713;
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(154, 163, 160, 0.14);
  overflow: hidden;
}

.scroll-progress__fill {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--c-neon), var(--c-orange));
}

.header-shell { position: relative; }

.header-top {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 28px);
  padding-block: clamp(10px, 1.3vw, 16px);
  border-bottom: 1px solid var(--c-line-soft);
  transition: padding var(--dur) ease;
}

.site-header[data-scrolled="true"] .header-top { padding-block: 8px; }

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand__mark {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 26px;
}

.brand__mark span {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: var(--c-concrete);
}

.brand__mark span:nth-child(1) { width: 100%; background: var(--c-orange); }
.brand__mark span:nth-child(2) { width: 72%; background: var(--c-neon); }
.brand__mark span:nth-child(3) { width: 44%; background: var(--c-turf); }

.brand__mark--lg { width: 42px; gap: 4px; }
.brand__mark--lg span { height: 7px; }

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(15px, 1.2vw, 18px);
  letter-spacing: 0.02em;
  color: var(--c-text);
  transition: color var(--dur) ease;
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--c-concrete);
}

.brand:hover .brand__name { color: var(--c-neon); }

/* 赛季滑轨入口 */
.season-rail {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 12px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-s);
  background: linear-gradient(90deg, rgba(20, 72, 58, 0.60), rgba(20, 72, 58, 0.12));
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-text-dim);
  transition: border-color var(--dur) ease, color var(--dur) ease;
}

.season-rail:hover {
  border-color: var(--c-neon);
  color: var(--c-text);
}

.season-rail__label { white-space: nowrap; letter-spacing: 0.14em; }

.season-rail__range {
  color: var(--c-neon);
  font-weight: 700;
  white-space: nowrap;
}

.season-rail__ticks {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 14px;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.season-rail__tick {
  flex: 1 1 auto;
  max-width: 12px;
  width: 2px;
  height: 5px;
  border-radius: 1px;
  background: rgba(154, 163, 160, 0.45);
}

.season-rail__tick:nth-child(3n) { height: 11px; background: rgba(62, 224, 192, 0.55); }
.season-rail__tick:nth-child(5n) { height: 13px; background: rgba(255, 107, 53, 0.60); }

/* 头部动作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-s);
  background: rgba(243, 241, 234, 0.04);
  color: var(--c-text);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  transition: border-color var(--dur) ease, color var(--dur) ease;
}

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

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

.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform var(--dur) ease, opacity var(--dur) 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); }

/* 主导航 */
.main-nav { display: block; }

.main-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.main-nav__link {
  position: relative;
  display: block;
  padding: 12px 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--c-text-dim);
  transition: color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}

.main-nav__link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 7px;
  height: 2px;
  background: transparent;
  transition: background-color var(--dur-fast) ease;
}

.main-nav__link:hover {
  color: var(--c-text);
  background: rgba(44, 122, 85, 0.20);
}

.main-nav__link:hover::after { background: rgba(62, 224, 192, 0.5); }

.main-nav__link[aria-current="page"] { color: var(--c-orange); }
.main-nav__link[aria-current="page"]::after { background: var(--c-orange); }

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  padding: clamp(40px, 6vw, 76px) 0 28px;
  background-color: var(--c-base);
  border-top: 1px solid var(--c-line);
  color: var(--c-text-dim);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(120% 90% at 10% 0%, rgba(44, 122, 85, 0.30), transparent 60%),
    radial-gradient(90% 80% at 92% 8%, rgba(255, 107, 53, 0.14), transparent 66%),
    repeating-linear-gradient(90deg, rgba(154, 163, 160, 0.05) 0 1px, transparent 1px 96px);
}

.footer-shell { position: relative; z-index: 1; }

.footer-top {
  display: grid;
  grid-template-columns: minmax(230px, 1.2fr) repeat(3, minmax(140px, 0.8fr));
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--c-line-soft);
}

.footer-brand__name {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  letter-spacing: -0.01em;
  color: var(--c-text);
}

.footer-brand__line {
  margin-top: 6px;
  color: var(--c-text-dim);
  font-size: 15px;
}

.footer-brand__meta {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--c-neon);
}

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

.footer-col__title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-concrete);
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--c-line-soft);
  max-width: none;
}

.footer-list li + li { margin-top: 2px; }

.footer-list a,
.footer-mail {
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  color: var(--c-text-dim);
  transition: color var(--dur-fast) ease, transform var(--dur-fast) ease;
}

.footer-list a:hover {
  color: var(--c-neon);
  transform: translateX(3px);
}

.footer-mail {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-concrete);
  word-break: break-all;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  padding-top: clamp(20px, 3vw, 32px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(154, 163, 160, 0.85);
}

.footer-legal { color: var(--c-mist); }
.footer-note { flex: 1 1 340px; }
.footer-contact { flex: 1 1 420px; }
.footer-copy { margin-left: auto; color: var(--c-neon); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-align: center;
  transition: transform var(--dur-fast) ease, background-color var(--dur) ease,
              border-color var(--dur) ease, color var(--dur) ease;
}

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

.btn--primary {
  background: var(--c-orange);
  color: #1A0B04;
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.20);
}

.btn--primary:hover { background: #FF7D4D; }
.btn--primary:active { background: var(--c-orange-deep); color: #FFF1EA; }

.btn--ghost {
  border-color: rgba(62, 224, 192, 0.55);
  background: rgba(62, 224, 192, 0.06);
  color: var(--c-neon);
}

.btn--ghost:hover { background: rgba(62, 224, 192, 0.15); }

.btn--quiet {
  border-color: var(--c-line);
  background: rgba(243, 241, 234, 0.04);
  color: var(--c-text-dim);
}

.btn--quiet:hover { border-color: var(--c-neon); color: var(--c-text); }

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

/* ---------- 标签（展览说明牌） ---------- */
.label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-s);
  background: rgba(243, 241, 234, 0.04);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--c-concrete);
}

.label--neon { border-color: rgba(62, 224, 192, 0.5); color: var(--c-neon); }
.label--orange { border-color: rgba(255, 107, 53, 0.5); color: var(--c-orange); }
.label--data { border-color: rgba(79, 168, 255, 0.5); color: var(--c-data); }

.section--mist .label,
.section--paper .label {
  border-color: rgba(10, 30, 25, 0.18);
  color: rgba(10, 30, 25, 0.72);
  background: rgba(10, 30, 25, 0.03);
}

/* ---------- 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-concrete);
  padding-block: 14px;
}

.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: rgba(154, 163, 160, 0.5); }
.crumbs a { color: var(--c-text-dim); transition: color var(--dur-fast) ease; }
.crumbs a:hover { color: var(--c-neon); }
.crumbs [aria-current="page"] { color: var(--c-orange); }

/* ---------- 图片容器 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius-m);
  background-color: #0C241E;
  background-image: linear-gradient(140deg, rgba(20, 72, 58, 0.85), rgba(10, 30, 25, 0.96));
  aspect-ratio: 16 / 10;
}

.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }

.media__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.05);
}

.media[data-media-label]::before {
  content: attr(data-media-label);
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(221, 227, 223, 0.55);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(44, 122, 85, 0.20) 0 12px,
    rgba(10, 30, 25, 0.30) 12px 24px
  );
}

.media__caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: var(--radius-s);
  background: rgba(10, 30, 25, 0.80);
  color: var(--c-mist);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
}

/* ---------- 卡片 ---------- */
.card {
  position: relative;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius-m);
  background-image: linear-gradient(160deg, rgba(20, 72, 58, 0.62), rgba(10, 30, 25, 0.92));
  transition: transform var(--dur) ease, border-color var(--dur) ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(62, 224, 192, 0.45);
}

.card--offset { margin-top: 18px; }

.card--paper {
  background-image: none;
  background-color: var(--c-paper);
  border-color: rgba(10, 30, 25, 0.14);
  color: #14231F;
}

.card__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.card__meta {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-concrete);
}

/* ---------- 数据表 ---------- */
.table-wrap {
  overflow: auto;
  max-height: min(70vh, 640px);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius-m);
  background: rgba(10, 30, 25, 0.55);
}

.stat-table {
  width: 100%;
  min-width: 520px;
  font-size: 14px;
}

.stat-table caption {
  caption-side: top;
  padding: 12px 14px 0;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--c-concrete);
}

.stat-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 10px 14px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  color: var(--c-mist);
  background: #0F2A23;
  border-bottom: 1px solid var(--c-line);
  white-space: nowrap;
}

.stat-table th[data-sort] { cursor: pointer; user-select: none; }

.stat-table th[data-sort]::after {
  content: "◇";
  margin-left: 6px;
  font-size: 10px;
  color: rgba(154, 163, 160, 0.7);
}

.stat-table th[data-sort="asc"]::after { content: "▲"; color: var(--c-data); }
.stat-table th[data-sort="desc"]::after { content: "▼"; color: var(--c-data); }

.stat-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--c-line-soft);
  color: var(--c-text-dim);
}

.stat-table tbody tr:nth-child(odd) { background: rgba(154, 163, 160, 0.07); }
.stat-table tbody tr:hover { background: rgba(44, 122, 85, 0.28); }
.stat-table tbody td:first-child { color: var(--c-text); font-weight: 700; }

.stat-table .num,
.stat-table th.num {
  text-align: right;
  font-family: var(--font-mono);
}

.stat-table td.num { color: var(--c-data); }

/* ---------- 筛选 chips ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 6px 13px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: rgba(243, 241, 234, 0.03);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--c-text-dim);
  transition: background-color var(--dur) ease, border-color var(--dur) ease, color var(--dur) ease;
}

.chip:hover { border-color: var(--c-neon); color: var(--c-text); }

.chip[aria-pressed="true"],
.chip[data-active="true"] {
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: #1A0B04;
  font-weight: 700;
}

/* ---------- 分段标签 ---------- */
.tabs { display: block; }

.tabs__list {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: rgba(20, 72, 58, 0.35);
}

.tab {
  flex: 1 1 0;
  min-width: 130px;
  padding: 12px 16px;
  border-right: 1px solid var(--c-line-soft);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--c-text-dim);
  transition: background-color var(--dur) ease, color var(--dur) ease;
}

.tab:last-child { border-right: 0; }
.tab:hover { color: var(--c-text); background: rgba(62, 224, 192, 0.08); }

.tab[aria-selected="true"] {
  color: var(--c-neon);
  background: rgba(62, 224, 192, 0.14);
  box-shadow: inset 0 -2px 0 var(--c-neon);
}

.tabpanel { padding-top: clamp(16px, 2.4vw, 28px); }
.tabpanel[hidden] { display: none; }

/* ---------- 渐显 ---------- */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 260ms ease, transform 260ms ease;
}

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

body.nav-open { overflow: hidden; }

/* ---------- 响应式：平板 ---------- */
@media (max-width: 1000px) {
  :root { --nav-pad: 100px; }

  .grid-12 { gap: 18px; }
  .col-3, .col-4, .col-5 { grid-column: span 6; }
  .col-7, .col-8, .col-9 { grid-column: span 12; }

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

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 70;
    padding: var(--nav-pad) clamp(22px, 6vw, 52px) 48px;
    overflow-y: auto;
    background-image: linear-gradient(180deg, #0A1E19 0%, #0C2620 100%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--dur) ease, transform var(--dur) ease, visibility var(--dur) ease;
  }

  .main-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .main-nav__list { flex-direction: column; gap: 0; }

  .main-nav__link {
    padding: 16px 2px;
    font-size: clamp(20px, 5vw, 28px);
    font-weight: 900;
    color: var(--c-text);
    border-bottom: 1px solid var(--c-line-soft);
  }

  .main-nav__link::after {
    left: 2px;
    right: auto;
    bottom: 10px;
    width: 26px;
  }

  .main-nav__link:hover { background: none; color: var(--c-neon); }

  .section--home { padding-block: clamp(52px, 9vw, 96px); }

  .footer-top { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-copy { margin-left: 0; }
}

/* ---------- 响应式：手机 ---------- */
@media (max-width: 640px) {
  :root {
    --rail-x: 9px;
    --shell-pad: 26px;
    --nav-pad: 138px;
  }

  .grid-12 { gap: 14px; }
  .col-3, .col-4, .col-5, .col-6 { grid-column: span 12; }

  .header-top { flex-wrap: wrap; gap: 10px 12px; }

  .season-rail {
    order: 3;
    flex-basis: 100%;
    justify-content: space-between;
  }

  .season-rail__label { display: none; }
  .season-rail__ticks { flex: 1 1 auto; }

  .header-actions { margin-left: auto; }
  .btn--primary.btn--sm { padding: 8px 12px; font-size: 12px; }

  .section { padding-block: clamp(36px, 9vw, 64px); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { font-size: 11.5px; letter-spacing: 0.02em; }
  .footer-note, .footer-contact { flex-basis: 100%; }

  .stat-table { min-width: 460px; font-size: 13px; }
  .tab { min-width: 100px; font-size: 13px; padding: 11px 12px; }
}

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

  .btn:hover,
  .card:hover,
  .footer-list a:hover { transform: none; }
}
