/* ============================================================
   乐宝体育站 · 共享样式 /assets/site.css
   夜间球场指挥中心：煤黑基底、深草绿分区、荧光黄绿数据强调
   ============================================================ */

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

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

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

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

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

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

a { color: inherit; }

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

hr { border: 0; }

/* ---------- 2. 变量 ---------- */
:root {
  --black:        #0B0F0D;
  --night:        #0F1A14;
  --grass-deep:   #123A26;
  --grass-mid:    #1C5738;
  --volt:         #C6FF3D;
  --stand-red:    #E4463C;
  --cool-violet:  #6B5BD2;
  --lime-white:   #E9EFE8;
  --mist:         #9AA79C;
  --hairline:     #24312A;

  --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", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --header-h: 66px;
  --gutter: 20px;
  --dur: 140ms;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

@media (min-width: 768px) {
  :root { --header-h: 74px; --gutter: 32px; }
}
@media (min-width: 1200px) {
  :root { --header-h: 80px; --gutter: 48px; }
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--black);
  background-image:
    radial-gradient(1100px 620px at 82% -8%, rgba(28, 87, 56, .50), transparent 68%),
    radial-gradient(760px 460px at -6% 12%, rgba(107, 91, 210, .10), transparent 66%),
    repeating-linear-gradient(90deg, rgba(233, 239, 232, .018) 0 1px, transparent 1px 96px);
  background-repeat: no-repeat, no-repeat, repeat;
  color: var(--lime-white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.02em;
}

p { text-wrap: pretty; }

a { text-decoration: none; }

:where(a, button, [tabindex], summary):focus-visible {
  outline: 2px solid var(--volt);
  outline-offset: 3px;
}

body[data-nav-open="true"] { overflow: hidden; }

/* ---------- 4. 布局工具 ---------- */
.container {
  width: min(1360px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.section { padding: clamp(56px, 8vw, 116px) 0; }
.section--tight { padding: clamp(32px, 4.5vw, 60px) 0; }

.section-head {
  display: grid;
  gap: 12px;
  max-width: 780px;
  margin-bottom: clamp(26px, 3.6vw, 46px);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mist);
}
.section-kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--volt);
  flex: 0 0 auto;
}

.section-title {
  font-size: clamp(30px, 4.4vw, 54px);
  font-weight: 900;
  color: var(--lime-white);
}
.section-title em { font-style: normal; color: var(--volt); }

.lead {
  max-width: 34em;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.85;
  color: var(--mist);
}

.annotation {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mist);
}

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

.divider { height: 1px; background: var(--hairline); }

.surface {
  background: var(--night);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.surface--grass { background: var(--grass-deep); }

.prose {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.8;
  color: var(--lime-white);
}
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(22px, 2.6vw, 30px); margin-top: 1.8em; }
.prose h3 { font-size: 19px; font-weight: 700; letter-spacing: 0; margin-top: 1.5em; }
.prose p { color: rgba(233, 239, 232, .86); }
.prose ul { list-style: none; padding-left: 0; }
.prose li { position: relative; padding-left: 20px; }
.prose li + li { margin-top: .5em; }
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 10px;
  height: 1px;
  background: var(--volt);
}
.prose a {
  color: var(--volt);
  border-bottom: 1px solid rgba(198, 255, 61, .35);
  transition: border-color var(--dur) var(--ease);
}
.prose a:hover { border-bottom-color: var(--volt); }

/* ---------- 5. 网格 ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid > * { grid-column: 1 / -1; }

@media (min-width: 768px) {
  .grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .span-3  { grid-column: span 3; }
  .span-4  { grid-column: span 4; }
  .span-5  { grid-column: span 5; }
  .span-6  { grid-column: span 6; }
  .span-7  { grid-column: span 7; }
  .span-8  { grid-column: span 8; }
  .span-9  { grid-column: span 9; }
  .span-12 { grid-column: span 12; }
}

/* ---------- 6. 基础组件 ---------- */
.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--night);
  border: 1px solid var(--hairline);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.card:hover,
.card:focus-within { border-color: var(--volt); }

.card--accent::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 3px;
  height: calc(100% + 2px);
  background: var(--volt);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--lime-white);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn--volt {
  background: var(--volt);
  border-color: var(--volt);
  color: var(--black);
}
.btn--volt:hover { background: #d8ff72; border-color: #d8ff72; }
.btn--ghost { background: rgba(15, 26, 20, .66); }
.btn--ghost:hover { color: var(--volt); border-color: var(--volt); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--hairline);
  background: rgba(15, 26, 20, .72);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mist);
  white-space: nowrap;
}
.tag--volt { color: var(--volt); border-color: rgba(198, 255, 61, .42); }
.tag--violet { color: #a99cf0; border-color: rgba(107, 91, 210, .5); }
.tag--red { color: #f4867e; border-color: rgba(228, 70, 60, .5); }

.segmented {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 3px;
  padding: 3px;
  background: var(--night);
  border: 1px solid var(--hairline);
}
.segmented-item {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--mist);
  padding: 8px 14px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.segmented-item:hover { color: var(--lime-white); background: rgba(198, 255, 61, .08); }
.segmented-item[data-active="true"],
.segmented-item[aria-selected="true"] {
  background: var(--volt);
  color: var(--black);
}

.data-table {
  width: 100%;
  font-size: 14px;
  line-height: 1.5;
}
.data-table th {
  padding: 10px 12px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mist);
  border-bottom: 1px solid var(--hairline);
  white-space: nowrap;
}
.data-table td {
  padding: 12px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: middle;
}
.data-table tbody tr { transition: background-color var(--dur) var(--ease); }
.data-table tbody tr:hover { background: var(--night); }

/* ---------- 7. 面包屑 ---------- */
.breadcrumb { padding-top: 4px; }
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--mist);
}
.breadcrumb-item { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb-item::after { content: "/"; color: var(--hairline); }
.breadcrumb-item:last-child::after { content: ""; }
.breadcrumb-link {
  color: var(--mist);
  transition: color var(--dur) var(--ease);
}
.breadcrumb-link:hover { color: var(--volt); }
.breadcrumb-current { color: var(--lime-white); }

/* ---------- 8. 图片容器 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(150deg, var(--grass-deep), var(--black) 72%);
  border: 1px solid var(--hairline);
}
.media-frame img,
.media-frame video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 15, 13, 0) 42%, rgba(11, 15, 13, .74) 100%);
}
.media-frame--pitch::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: repeating-linear-gradient(90deg, rgba(233, 239, 232, .05) 0 1px, transparent 1px 64px);
}
.media-frame--map {
  aspect-ratio: 4 / 3;
  background: radial-gradient(120% 92% at 28% 8%, var(--grass-deep), var(--black) 76%);
}
.media-frame--map::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(198, 255, 61, .24) 1px, transparent 1.6px);
  background-size: 26px 26px;
}
.media-frame--board {
  aspect-ratio: 3 / 2;
  background: linear-gradient(120deg, var(--night), var(--grass-deep) 60%, var(--black));
}
.media-frame--board::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: repeating-linear-gradient(135deg, rgba(198, 255, 61, .07) 0 1px, transparent 1px 22px);
}

/* ---------- 9. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.site-header[data-scrolled="true"] {
  background: rgba(11, 15, 13, .97);
  border-bottom-color: var(--hairline);
}

.header-inner {
  width: min(1360px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--lime-white);
}
.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: var(--grass-deep);
  border: 1px solid var(--grass-mid);
  color: var(--volt);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 0 100%);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 17px; font-weight: 900; letter-spacing: .04em; }
.brand-tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--mist);
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -80px;
  transform: translateX(-50%);
  z-index: 200;
  padding: 10px 18px;
  background: var(--volt);
  color: var(--black);
  font-weight: 700;
  font-size: 14px;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 10px; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--lime-white);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-toggle:hover { border-color: var(--volt); color: var(--volt); }
.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease);
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle-label { line-height: 1; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 10px 10px 9px;
  border: 1px solid transparent;
  color: var(--mist);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav-index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--hairline);
  transition: color var(--dur) var(--ease);
}
.nav-link:hover {
  color: var(--lime-white);
  background: var(--night);
  border-color: var(--hairline);
}
.nav-link:hover .nav-index { color: var(--volt); }
.nav-link[aria-current="page"] {
  color: var(--volt);
  background: rgba(198, 255, 61, .06);
  border-color: rgba(198, 255, 61, .28);
}
.nav-link[aria-current="page"] .nav-index { color: var(--volt); }

@media (max-width: 1139.98px) {
  .primary-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    display: grid;
    gap: 4px;
    padding: 18px var(--gutter) 30px;
    background: var(--black);
    border-top: 1px solid var(--hairline);
    border-bottom: 2px solid var(--volt);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .primary-nav[data-open="true"] {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav-list { display: grid; gap: 3px; }
  .nav-link {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
    padding: 15px 16px;
    font-size: 16px;
    background: var(--night);
    border-color: var(--hairline);
  }
  .nav-index { font-size: 11px; }
  .nav-label { flex: 1 1 auto; }
  .nav-actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
  }
  .nav-actions .btn { width: 100%; padding: 14px 20px; }
}

@media (min-width: 1140px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.4vw, 24px);
  }
  .nav-list { display: flex; align-items: center; gap: 2px; }
  .nav-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
  .nav-actions .btn { padding: 10px 16px; font-size: 13px; }
}

.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
  background: transparent;
}
.scroll-meter-fill {
  display: block;
  width: 0;
  height: 100%;
  background: var(--volt);
  box-shadow: 0 0 12px rgba(198, 255, 61, .45);
  transition: width .08s linear;
}

/* ---------- 10. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 108px);
  background: var(--grass-deep);
  border-top: 1px solid var(--hairline);
}
.site-footer::before {
  content: "";
  position: absolute;
  left: var(--gutter);
  top: -1px;
  width: 120px;
  height: 2px;
  background: var(--volt);
}

.footer-inner {
  display: grid;
  gap: 40px;
  padding: clamp(44px, 5.5vw, 72px) 0 clamp(32px, 4vw, 48px);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: 1.05fr 2fr; gap: 56px; }
}

.footer-lead { display: grid; gap: 18px; align-content: start; }
.footer-note {
  max-width: 30em;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(233, 239, 232, .72);
}

.footer-nav {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

.footer-col-title {
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .1em;
  color: var(--mist);
}

.footer-links { display: grid; gap: 2px; }

.footer-link {
  position: relative;
  display: inline-block;
  padding: 5px 0;
  font-size: 15px;
  color: var(--lime-white);
  transition: color var(--dur) var(--ease);
}
.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s var(--ease);
}
.footer-link:hover { color: var(--volt); }
.footer-link:hover::after { transform: scaleX(1); }

.footer-base {
  background: rgba(11, 15, 13, .58);
  border-top: 1px solid var(--hairline);
}
.footer-base-inner {
  display: grid;
  gap: 20px;
  padding: 26px 0 34px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .footer-base-inner {
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 32px;
  }
}

.footer-meta { display: grid; gap: 8px; }
.footer-contact {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.9;
  letter-spacing: .04em;
  color: var(--mist);
}
.footer-service {
  max-width: 60em;
  font-size: 12px;
  line-height: 1.9;
  color: rgba(154, 167, 156, .78);
}
.footer-legal {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(154, 167, 156, .78);
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: start;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.to-top:hover { color: var(--volt); border-color: var(--volt); }
.to-top-arrow { font-size: 14px; line-height: 1; }

/* ---------- 11. 锚点标签 ---------- */
.anchor-tabs {
  position: sticky;
  top: var(--header-h);
  z-index: 60;
  display: flex;
  gap: 2px;
  overflow-x: auto;
  background: rgba(11, 15, 13, .94);
  border-bottom: 1px solid var(--hairline);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.anchor-tabs::-webkit-scrollbar { display: none; }

.anchor-tab {
  flex: 0 0 auto;
  padding: 14px 16px;
  border-bottom: 2px solid transparent;
  color: var(--mist);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.anchor-tab:hover { color: var(--lime-white); }
.anchor-tab[aria-current] {
  color: var(--volt);
  border-bottom-color: var(--volt);
}

/* ---------- 12. 无障碍 / 动效收敛 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
