/* ============================================================
   V体育赛场 · 共享样式 /assets/site.css
   夜战墨绿底 / 玻璃浮岛 / 记分牌节奏 / 等宽数据索引
   ============================================================ */

:root {
  --ink: #071A14;
  --charcoal: #0B0D0C;
  --ink-layer: #0E2A20;
  --white: #F4F7F3;
  --mist: #A8B3AD;
  --lime: #C6FF3D;
  --orange: #FF6B1A;
  --grid: #3FE0B0;
  --line: #1C2420;
  --pale: #DDE4DF;

  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "IBM Plex Mono", "JetBrains Mono", Menlo, "SF Mono", Consolas, monospace;

  --maxw: 1240px;
  --gutter: 24px;
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 26px;
  --pill: 999px;
  --cut: 8deg;
  --ease: cubic-bezier(.22,.68,.3,1);
  --dur: 220ms;
  --header-h: 78px;
}

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

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

body {
  margin: 0;
  padding-top: calc(var(--header-h) + 24px);
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--white);
  background-color: var(--ink);
  background-image:
    radial-gradient(1100px 520px at 84% -10%, rgba(14, 42, 32, .95), transparent 72%),
    radial-gradient(760px 460px at -10% 26%, rgba(14, 42, 32, .62), transparent 70%),
    linear-gradient(180deg, #071A14 0%, #061310 58%, #08170F 100%);
  -webkit-font-smoothing: antialiased;
}

img, svg, video, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: .004em;
  color: var(--white);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: -.012em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.14rem, 1.7vw, 1.4rem); }
h4 { font-size: 1.02rem; letter-spacing: .04em; text-transform: uppercase; }

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

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

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

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 200;
  padding: 10px 20px;
  border-radius: var(--pill);
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  transition: top 180ms var(--ease);
}
.skip-link:focus { top: 14px; }

/* ---------- 顶部阅读进度 ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(244, 247, 243, .08);
  z-index: 140;
  pointer-events: none;
}
.scroll-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--grid) 0%, var(--lime) 70%, var(--orange) 100%);
}

/* ---------- 悬浮胶囊头部 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 120;
  padding: 14px 0 0;
  transition: padding 260ms var(--ease);
}
.site-header[data-scrolled] { padding-top: 8px; }

.header-inner {
  position: relative;
  width: min(var(--maxw), calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 9px 10px 9px 16px;
  border-radius: var(--pill);
  background: rgba(11, 13, 12, .74);
  border: 1px solid rgba(28, 36, 32, .95);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .38);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
  transition: background 260ms var(--ease), border-color 260ms var(--ease), box-shadow 260ms var(--ease);
}
.site-header[data-scrolled] .header-inner {
  background: rgba(7, 26, 20, .93);
  border-color: rgba(63, 224, 176, .2);
  box-shadow: 0 16px 44px rgba(0, 0, 0, .5);
}

/* 品牌 + 轮次刻度 */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: 0 0 auto;
  padding: 2px 6px 2px 2px;
  border-radius: var(--radius-s);
}
.brand-scale {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
  width: 28px;
  flex: 0 0 auto;
}
.brand-scale i {
  display: block;
  width: 2px;
  height: 8px;
  border-radius: 1px;
  background: var(--grid);
  opacity: .8;
}
.brand-scale i:nth-child(2) { height: 14px; }
.brand-scale i:nth-child(3) { height: 24px; background: var(--lime); opacity: 1; }
.brand-scale i:nth-child(4) { height: 13px; }
.brand-scale i:nth-child(5) { height: 6px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--white);
}
.brand-tagline {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--mist);
  text-transform: uppercase;
  margin-top: 3px;
}
.brand:hover .brand-name { color: var(--lime); }
.brand-name { transition: color 200ms var(--ease); }

/* 导航 */
.nav-wrap { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-link {
  display: inline-block;
  padding: 8px 13px;
  border-radius: var(--pill);
  color: var(--mist);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 200ms var(--ease), background 200ms var(--ease), transform 200ms var(--ease);
}
.nav-link:hover,
.nav-link:focus-visible {
  color: var(--lime);
  background: rgba(198, 255, 61, .08);
  transform: translateY(-2px);
}
.nav-link[aria-current="page"] {
  color: var(--ink);
  background: var(--lime);
  font-weight: 700;
  transform: none;
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 14px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: rgba(14, 42, 32, .65);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 200ms var(--ease), color 200ms var(--ease);
}
.nav-toggle:hover { border-color: var(--lime); color: var(--lime); }
.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 16px;
  height: 14px;
}
.nav-toggle-bars i {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: currentColor;
  transition: transform 220ms var(--ease), opacity 220ms var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.header-cta { flex: 0 0 auto; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 200ms var(--ease), background 200ms var(--ease),
              color 200ms var(--ease), border-color 200ms var(--ease);
}
.btn--primary { background: var(--lime); color: var(--ink); }
.btn--primary:hover { background: #d9ff77; transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--line);
}
.btn--ghost:hover {
  color: var(--lime);
  border-color: var(--lime);
  transform: translateY(-2px);
}

/* ---------- 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}
.section { padding-block: clamp(54px, 7vw, 104px); }
.section--tight { padding-block: clamp(30px, 4vw, 56px); }

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

.measure { max-width: 68ch; }

/* ---------- 文字与索引 ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--lime);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--lime);
}
.eyebrow--orange { color: var(--orange); }
.eyebrow--orange::before { background: var(--orange); }

.lede {
  max-width: 66ch;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.85;
  color: var(--mist);
}

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

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--mist);
  text-decoration: none;
  white-space: nowrap;
  transition: color 200ms var(--ease), border-color 200ms var(--ease), transform 200ms var(--ease);
}
.tag:hover { color: var(--lime); border-color: var(--lime); transform: translateY(-2px); }
.tag--lime { color: var(--ink); background: var(--lime); border-color: var(--lime); font-weight: 700; }
.tag--orange { color: var(--orange); border-color: rgba(255, 107, 26, .42); }

/* ---------- 玻璃层 ---------- */
.glass {
  background: rgba(14, 42, 32, .58);
  border: 1px solid rgba(63, 224, 176, .18);
  border-radius: var(--radius-m);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--mist);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--line); }
.breadcrumb a { color: var(--mist); text-decoration: none; }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb [aria-current="page"] { color: var(--white); }

/* ---------- 记分牌节奏带 ---------- */
.score-band {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(14, 42, 32, .9) 0%, rgba(11, 13, 12, .92) 55%, rgba(14, 42, 32, .6) 100%);
  overflow: hidden;
}
.score-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: clamp(18px, 4vw, 56px);
  padding-block: clamp(20px, 3vw, 34px);
}
.score-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: clamp(18px, 4vw, 56px);
  border-right: 1px solid var(--line);
}
.score-item:last-child { border-right: 0; padding-right: 0; }
.score-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1;
  color: var(--lime);
}
.score-value--orange { color: var(--orange); }
.score-value--grid { color: var(--grid); }
.score-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mist);
}

/* ---------- 图片容器基础（供页面阶段放置素材） ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(14, 42, 32, .95), transparent 60%),
    linear-gradient(150deg, #0E2A20 0%, #0B0D0C 100%);
}
.media-frame img,
.media-frame picture > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.06) brightness(.94);
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(63, 224, 176, .14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63, 224, 176, .14) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .34;
  mix-blend-mode: screen;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 4px 11px;
  border-radius: var(--pill);
  background: rgba(7, 26, 20, .82);
  border: 1px solid rgba(63, 224, 176, .28);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grid);
}
.media-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--mist);
}

/* ---------- 目录高亮 ---------- */
.toc { list-style: none; }
.toc a {
  display: block;
  padding: 7px 0 7px 14px;
  border-left: 2px solid var(--line);
  color: var(--mist);
  font-size: 14px;
  text-decoration: none;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
.toc a:hover { color: var(--white); }
.toc a[aria-current="true"] {
  color: var(--lime);
  border-left-color: var(--lime);
  font-weight: 600;
}

/* ---------- 滚动显现 ---------- */
.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 480ms var(--ease), transform 480ms var(--ease);
}
.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 110px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(14, 42, 32, .6) 0%, rgba(11, 13, 12, 1) 46%),
    var(--charcoal);
  color: var(--mist);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    var(--lime) 0 17%,
    var(--grid) 17% 33%,
    var(--orange) 33% 41%,
    var(--line) 41% 100%);
}
.site-footer::after {
  content: "";
  position: absolute;
  left: -10%; right: -10%; bottom: -70%;
  height: 80%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(63, 224, 176, .1), transparent 72%);
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(44px, 6vw, 76px) clamp(16px, 4vw, 32px) 26px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.footer-brand { min-width: 0; }
.footer-brand-link {
  display: inline-block;
  margin-bottom: 12px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--white);
  text-decoration: none;
  transition: color 200ms var(--ease);
}
.footer-brand-link:hover { color: var(--lime); }
.footer-summary {
  max-width: 34ch;
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--mist);
}
.footer-scale {
  display: block;
  width: 168px;
  height: 14px;
  background-image: repeating-linear-gradient(90deg,
    var(--grid) 0 2px,
    transparent 2px 10px);
  opacity: .5;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.footer-col-title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--grid);
}
.footer-links { list-style: none; }
.footer-links li + li { margin-top: 8px; }
.footer-links a {
  display: inline-block;
  font-size: 15px;
  color: var(--mist);
  text-decoration: none;
  transition: color 200ms var(--ease), transform 200ms var(--ease);
}
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--lime);
  transform: translateY(-2px);
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(30px, 4vw, 48px);
  padding-top: clamp(24px, 3vw, 34px);
  border-top: 1px solid var(--line);
}
.footer-contact-item { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.footer-contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mist);
}
.footer-contact-value {
  font-size: 15px;
  line-height: 1.7;
  color: var(--white);
  word-break: break-word;
}

.footer-note {
  margin: 18px 0 0;
  padding-left: 12px;
  border-left: 2px solid var(--line);
  font-size: 13px;
  line-height: 1.8;
  color: var(--mist);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: clamp(26px, 4vw, 40px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--mist);
}
.footer-copy, .footer-legal { margin: 0; }
.footer-legal { color: var(--mist); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .brand-tagline { display: none; }
  .nav-link { padding: 8px 10px; font-size: 14px; }
  .btn { padding: 11px 18px; font-size: 12px; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }

  .nav-toggle { display: inline-flex; }
  .nav-wrap {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    margin-left: 0;
    display: none;
    padding: 12px;
    border-radius: var(--radius-m);
    border: 1px solid var(--line);
    background: rgba(9, 20, 16, .97);
    box-shadow: 0 26px 64px rgba(0, 0, 0, .6);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    max-height: min(72vh, 520px);
    overflow: auto;
  }
  .site-header[data-open] .nav-wrap {
    display: block;
    animation: navIn 220ms var(--ease);
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-link {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 16px;
  }
  .nav-link:hover, .nav-link:focus-visible { transform: none; }
  .nav-link[aria-current="page"] { border-radius: 12px; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-summary { max-width: 46ch; }
  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
}

@keyframes navIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .footer-contact { grid-template-columns: 1fr; gap: 14px; }
  .score-item {
    flex: 1 1 42%;
    padding-right: 0;
    border-right: 0;
  }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .header-inner { gap: 10px; padding: 8px 8px 8px 12px; }
  .brand-name { font-size: 15px; }
  .brand-scale { height: 20px; width: 24px; }
  .header-cta { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-12 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .media-frame, .media-frame--wide { aspect-ratio: 4 / 3; }
}

/* ---------- 减少动态偏好 ---------- */
@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;
  }
  .js-ready [data-reveal] { opacity: 1; transform: none; }
  .nav-link:hover, .tag:hover, .btn:hover, .footer-links a:hover { transform: none; }
}
