:root {
  --night: #0B1F2A;
  --turf: #123A2E;
  --graphite: #1A1F24;
  --amber: #E8A33D;
  --lime: #D8F34A;
  --pulse: #FF5A36;
  --mist: #E8EDF0;
  --line: #2E3A42;
  --dust: #8C9AA3;
  --turf-hi: #4FA37C;

  --header-h: 78px;
  --wrap: 1320px;
  --gutter: clamp(16px, 3.4vw, 48px);

  --font-display: "Helvetica Neue", "Arial Narrow", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "Roboto Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(.2, .7, .3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

html.nav-open { overflow: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  background-color: var(--night);
  background-image:
    repeating-linear-gradient(90deg, rgba(79, 163, 124, .045) 0 2px, transparent 2px 88px),
    radial-gradient(1100px 560px at 84% -10%, rgba(18, 58, 46, .85), transparent 66%),
    radial-gradient(900px 520px at -8% 44%, rgba(18, 58, 46, .42), transparent 72%);
  background-repeat: repeat, no-repeat, no-repeat;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--mist);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 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; }

::selection { background: var(--lime); color: var(--night); }

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

/* ============ 排版工具 ============ */
.num,
.stat__value,
.data-table .is-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber);
}

.lead {
  max-width: 62ch;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.7;
  color: #C7D2D9;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--dust);
}

.tag--live { border-color: rgba(255, 90, 54, .55); color: var(--pulse); }

/* ============ 布局 ============ */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap--wide { max-width: 1560px; }

.grid { display: grid; gap: clamp(18px, 2.4vw, 32px); }

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

.stack > * + * { margin-top: clamp(16px, 2vw, 26px); }

/* ============ SKIP LINK ============ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--lime);
  color: var(--night);
  font-size: 14px;
  font-weight: 700;
  border-radius: 0 0 2px 0;
}

.skip-link:focus {
  left: 0;
  outline-offset: 0;
}

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--mist);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: background-color .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
}

.btn--primary {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--night);
}

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

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

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(11, 31, 42, .88);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(14px, 2vw, 34px);
  min-height: var(--header-h);
}

/* 品牌 */
.brand { display: flex; align-items: center; }

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-glyph {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: linear-gradient(155deg, rgba(18, 58, 46, .95), rgba(11, 31, 42, .95));
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
}

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

.brand-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.25;
  color: var(--mist);
}

.brand-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--dust);
  white-space: nowrap;
}

/* 头部赛季状态带 */
.header-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--dust);
  white-space: nowrap;
  overflow: hidden;
}

.status-dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(216, 243, 74, .14);
  animation: pulse-dot 2.4s var(--ease) infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

.status-label { color: var(--mist); }

.status-sep { color: #3D4A53; }

.status-value { overflow: hidden; text-overflow: ellipsis; }

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 24px);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 8px 2px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dust);
  transition: color .2s var(--ease);
}

.nav-link:hover { color: var(--mist); }

.nav-num {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .08em;
  color: #46555E;
  transition: color .2s var(--ease);
}

.nav-link:hover .nav-num { color: var(--turf-hi); }

.nav-link[aria-current="page"] {
  color: var(--mist);
  font-weight: 600;
}

.nav-link[aria-current="page"] .nav-num { color: var(--amber); }

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--lime);
}

.nav-cta { margin-left: 4px; }

/* 移动端按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--mist);
  transition: border-color .22s var(--ease);
}

.nav-toggle:hover { border-color: var(--turf-hi); }

.nav-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 16px;
}

.nav-toggle-bars span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--lime);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:first-child {
  transform: translateY(5.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:last-child {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--turf-hi) 0%, var(--lime) 58%, var(--amber) 100%);
}

/* ============ FOOTER ============ */
.site-footer {
  margin-top: clamp(64px, 9vw, 132px);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(18, 58, 46, .42) 0%, rgba(11, 31, 42, 0) 42%),
    var(--graphite);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.55fr) repeat(4, minmax(0, 1fr));
  gap: clamp(26px, 3vw, 52px);
  padding: clamp(48px, 6.5vw, 88px) 0 clamp(34px, 4vw, 52px);
}

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

.footer-lead {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--dust);
}

.footer-facts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.footer-facts li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 12.5px;
  color: var(--dust);
}

.footer-facts .num { color: var(--amber); font-size: 14px; }

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

.footer-col__title {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mist);
}

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

.footer-list li {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--dust);
}

.footer-list a {
  color: var(--dust);
  transition: color .2s var(--ease);
}

.footer-list a:hover { color: var(--lime); }

.footer-list--contact li {
  font-family: var(--font-mono);
  font-size: 12.5px;
  word-break: break-word;
}

.footer-text { font-size: 13.5px; line-height: 1.7; color: var(--dust); }

.legal-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding: 20px 0 40px;
  border-top: 1px solid var(--line);
}

.legal-item {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .05em;
  color: var(--dust);
}

.legal-links { display: flex; flex-wrap: wrap; gap: 20px; }

.legal-links a {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .05em;
  color: var(--dust);
  transition: color .2s var(--ease);
}

.legal-links a:hover { color: var(--lime); }

/* ============ 面包屑 ============ */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 26px 0 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .07em;
  color: var(--dust);
}

.breadcrumbs li { display: inline-flex; align-items: center; gap: 10px; }

.breadcrumbs li + li::before {
  content: "/";
  color: #3D4A53;
}

.breadcrumbs a:hover { color: var(--lime); }

.breadcrumbs [aria-current="page"] { color: var(--mist); }

/* ============ 堆叠面板 ============ */
.panel {
  position: relative;
  padding: clamp(30px, 4.2vw, 60px) 0;
  border-top: 1px solid var(--line);
}

.panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  margin-bottom: clamp(20px, 2.6vw, 34px);
}

.panel__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--amber);
}

.panel__label {
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dust);
}

.panel__body { min-width: 0; }

/* ============ 数值锚点 ============ */
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.stat__value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 700;
  line-height: 1;
  color: var(--amber);
}

.stat__unit {
  font-size: .42em;
  letter-spacing: .06em;
  color: var(--dust);
}

.stat__label {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--dust);
}

/* ============ 数据表 ============ */
.data-table {
  width: 100%;
  font-size: 14px;
  text-align: left;
}

.data-table th {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dust);
  white-space: nowrap;
}

.data-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(46, 58, 66, .6);
  color: var(--mist);
  vertical-align: baseline;
}

.data-table tbody tr { transition: background-color .18s var(--ease); }

.data-table tbody tr:hover { background: rgba(216, 243, 74, .045); }

.data-table caption {
  padding: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-align: left;
  color: var(--dust);
}

/* ============ 图片容器 ============ */
.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: linear-gradient(150deg, var(--turf) 0%, var(--night) 78%);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.86) contrast(1.08) brightness(.94);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(11, 31, 42, .16) 0 22px, transparent 22px 44px),
    linear-gradient(180deg, rgba(11, 31, 42, 0) 42%, rgba(11, 31, 42, .72) 100%);
}

.media-frame--21x9 { aspect-ratio: 21 / 9; }
.media-frame--16x9 { aspect-ratio: 16 / 9; }
.media-frame--4x3 { aspect-ratio: 4 / 3; }
.media-frame--3x4 { aspect-ratio: 3 / 4; }
.media-frame--1x1 { aspect-ratio: 1 / 1; }

.media-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  line-height: 1.6;
  color: var(--dust);
}

/* ============ 侧边章节索引 ============ */
.toc {
  position: sticky;
  top: calc(var(--header-h) + 30px);
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.toc__title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mist);
}

.toc__link {
  display: block;
  padding: 7px 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--dust);
  transition: color .2s var(--ease);
}

.toc__link:hover { color: var(--mist); }

.toc__link.is-active,
.toc__link[aria-current="true"] { color: var(--lime); }

/* ============ 滚动进场 ============ */
[data-reveal] {
  transition: opacity .42s var(--ease), transform .42s var(--ease);
}

html.reveal-ready [data-reveal]:not(.is-revealed) {
  opacity: 0;
  transform: translateY(18px);
}

/* ============ 响应式 ============ */
@media (max-width: 1240px) {
  .header-status { display: none; }
  .header-inner { grid-template-columns: auto minmax(0, 1fr) auto; }
  .site-nav { justify-content: flex-end; }
}

@media (max-width: 1023px) {
  :root { --header-h: 64px; }

  .header-inner { grid-template-columns: minmax(0, 1fr) auto; }

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

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 79;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    padding: 6px var(--gutter) 28px;
    overflow-y: auto;
    background: var(--night);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(0, 0, 0, .45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s linear;
  }

  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link {
    padding: 16px 4px;
    font-size: 16px;
    border-bottom: 1px solid rgba(46, 58, 66, .65);
  }

  .nav-link[aria-current="page"]::after {
    left: 4px;
    right: auto;
    bottom: -1px;
    width: 30px;
  }

  .nav-cta {
    margin: 20px 0 0;
    padding: 15px 20px;
    justify-content: center;
  }

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

  .grid--12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

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

  .header-inner { gap: 12px; }

  .brand-meta { display: none; }

  .nav-toggle-text { display: none; }

  .nav-toggle { padding: 10px 12px; }

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

  .footer-brand { gap: 14px; }

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

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

  .breadcrumbs { padding-top: 20px; }
}

/* ============ 动效偏好 ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

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

  .status-dot { animation: none; }
}
