/* ==========================================================================
   8868赛事 · 共享外壳样式 /assets/site.css
   夜场看台色系：深藏青底 + 信号橙点光 + 荧光青数据线
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, p, ul, ol, li, figure, blockquote, dl, dd, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }
main { display: block; }

:root {
  --navy: #0B1A2E;
  --navy-2: #12263F;
  --teal: #0E3B45;
  --orange: #FF6A1A;
  --cyan: #38E1D0;
  --silver: #C7D0DA;
  --warm: #8A94A6;
  --cream: #E8E2D4;
  --brick: #C6451B;
  --mist: #E9EEF4;
  --line: rgba(199, 208, 218, .16);
  --line-strong: rgba(199, 208, 218, .32);
  --axis-w: 88px;
  --shell: 1320px;
  --gap: 24px;
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "Roboto Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --scroll: 0;
}

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--silver);
  background-color: var(--navy);
  background-image:
    radial-gradient(120% 60% at 8% -8%, rgba(56, 225, 208, .10), transparent 62%),
    radial-gradient(90% 52% at 96% 2%, rgba(255, 106, 26, .10), transparent 60%);
  background-repeat: no-repeat;
}

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
#main-content:focus { outline: none; }

.skip-link {
  position: absolute; left: 14px; top: -72px; z-index: 200;
  padding: 10px 18px; border-radius: 0 0 12px 12px;
  background: var(--orange); color: #0B1A2E;
  font-size: 14px; font-weight: 700; letter-spacing: .08em;
  transition: top 200ms ease;
}
.skip-link:focus { top: 0; }

.mono { font-family: var(--font-mono); letter-spacing: .02em; }

/* ---------- 刊头 ---------- */
.masthead {
  position: sticky; top: 0; z-index: 60;
  background: rgba(11, 26, 46, .97);
  border-bottom: 1px solid var(--line);
}
.masthead__bar { padding: 16px 0 12px; transition: padding 260ms ease; }
.masthead__inner {
  width: min(100% - 40px, var(--shell));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}
.masthead__quick { grid-column: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.quicklink {
  padding-left: 10px;
  border-left: 2px solid rgba(56, 225, 208, .45);
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .1em; color: var(--warm);
  transition: color 200ms ease, border-color 200ms ease;
}
.quicklink:hover { color: var(--cyan); border-color: var(--cyan); }

.brandmark { grid-column: 2; display: grid; justify-items: center; gap: 4px; text-align: center; }
.brandmark__glyph {
  width: 46px; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, var(--orange), #FF9A55 38%, var(--cyan));
  box-shadow: 0 0 18px rgba(56, 225, 208, .35);
}
.brandmark__name {
  font-size: clamp(26px, 3vw, 36px); font-weight: 800;
  letter-spacing: .06em; color: var(--mist); font-stretch: condensed;
}
.brandmark__line {
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: .22em; color: var(--warm);
}
.masthead__side { grid-column: 3; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }

.nav-toggle {
  display: none; align-items: center; gap: 8px;
  padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: 999px;
  color: var(--silver); transition: border-color 200ms ease, color 200ms ease;
}
.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan); }
.nav-toggle__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; }
.nav-toggle__bars { position: relative; display: block; width: 16px; height: 2px; background: var(--cyan); }
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: var(--cyan);
  transition: transform 200ms ease, opacity 200ms ease;
}
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

.nav { border-top: 1px solid var(--line); }
.nav__list {
  width: min(100% - 40px, var(--shell)); margin-inline: auto;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; padding: 6px 0;
}
.nav__link {
  position: relative; display: block; padding: 8px 15px;
  font-size: 15px; font-weight: 600; letter-spacing: .04em; color: var(--silver);
  border-radius: 999px;
  transition: color 200ms ease, background-color 200ms ease;
}
.nav__link:hover { color: var(--cyan); background: var(--teal); }
.nav__link[aria-current="page"] { color: var(--orange); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 3px;
  height: 2px; border-radius: 2px; background: var(--orange);
}
.nav__extra { display: none; }

.masthead[data-compact="true"] .masthead__bar { padding: 7px 0 6px; }
.masthead[data-compact="true"] .brandmark__line { display: none; }
.masthead[data-compact="true"] .brandmark__name { font-size: 22px; }
.masthead[data-compact="true"] .brandmark__glyph { width: 30px; height: 4px; }
.masthead[data-compact="true"] .nav__link { padding: 6px 14px; font-size: 14px; }

/* ---------- 坐标轴 ---------- */
.axis {
  position: fixed; left: 0; top: 0; z-index: 70;
  width: var(--axis-w); height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 24px 0; overflow: hidden;
  background: linear-gradient(180deg, rgba(18, 38, 63, .96), rgba(9, 19, 32, .99));
  border-right: 1px solid var(--line);
}
.axis::after {
  content: ""; position: absolute; top: 0; right: -1px; width: 2px; height: 100%;
  background: linear-gradient(180deg, var(--cyan), var(--orange));
  transform: scaleY(calc(var(--scroll) / 100)); transform-origin: top;
  pointer-events: none;
}
.axis__label {
  writing-mode: vertical-rl; font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .3em; color: var(--warm); opacity: .75;
}
.axis__list { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.axis__tick { display: grid; justify-items: center; gap: 5px; padding: 6px 0; color: var(--warm); }
.axis__node { display: block; width: 20px; height: 2px; background: rgba(199, 208, 218, .32); transition: width 200ms ease, background-color 200ms ease; }
.axis__code { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .06em; }
.axis__text { writing-mode: vertical-rl; font-size: 11px; letter-spacing: .18em; }
.axis__tick:hover .axis__node { width: 30px; background: var(--cyan); }
.axis__tick:hover .axis__text { color: var(--cyan); }
.axis__tick[aria-current="page"] .axis__node { width: 30px; background: var(--orange); }
.axis__tick[aria-current="page"] .axis__text,
.axis__tick[aria-current="page"] .axis__code { color: var(--orange); }

/* ---------- 页脚 ---------- */
.site-foot {
  position: relative; margin-top: 88px;
  background: linear-gradient(180deg, #0A1727, #08111D);
  border-top: 1px solid var(--line);
}
.site-foot__ruler {
  height: 12px; opacity: .7;
  border-bottom: 1px solid var(--line);
  background-image: repeating-linear-gradient(90deg, rgba(56, 225, 208, .35) 0 1px, transparent 1px 26px);
}
.site-foot__inner {
  width: min(100% - 40px, var(--shell)); margin-inline: auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px;
  padding: 52px 0 44px;
}
.foot__brand { display: flex; flex-direction: column; align-items: flex-start; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; }
.foot-brand__mark { width: 26px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--orange), var(--cyan)); }
.foot-brand__name { font-size: 24px; font-weight: 800; letter-spacing: .06em; color: var(--mist); }
.foot-brand__line { margin-top: 12px; font-size: 14px; color: var(--warm); max-width: 30ch; }
.foot-stats { display: flex; flex-wrap: wrap; gap: 20px; margin: 20px 0 22px; }
.foot-stats__item dt { font-size: 11.5px; letter-spacing: .14em; color: var(--warm); }
.foot-stats__item dd { margin-top: 2px; font-family: var(--font-mono); font-size: 20px; color: var(--cyan); }
.foot__cta { align-self: flex-start; }
.foot__col { display: flex; flex-direction: column; gap: 14px; }
.foot__title {
  padding-top: 10px; border-top: 2px solid rgba(56, 225, 208, .35);
  font-size: 12.5px; font-weight: 700; letter-spacing: .2em; color: var(--cyan);
}
.foot__list { display: flex; flex-direction: column; gap: 10px; }
.foot__list a { font-size: 15px; color: var(--silver); transition: color 200ms ease, padding-left 200ms ease; }
.foot__list a:hover { color: var(--orange); padding-left: 6px; }
.site-foot__base {
  width: min(100% - 40px, var(--shell)); margin-inline: auto;
  border-top: 1px solid var(--line);
  padding: 20px 0 34px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px;
  font-size: 13px; color: var(--warm);
}
.foot__legal { color: var(--silver); }
.foot__contact, .foot__addr, .foot__copy { color: var(--warm); }

/* ---------- 通用容器与网格 ---------- */
.shell { width: min(100% - 40px, var(--shell)); margin-inline: auto; }
.shell--wide { width: min(100% - 40px, 1560px); }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-12 { grid-column: 1 / -1; }

.section { padding: 64px 0; }
.section--tight { padding: 36px 0; }
.section--panel { background: var(--navy-2); }
.section--teal { background: var(--teal); }
.section--cream { background: var(--cream); color: #16233A; }
.section--cream .h1, .section--cream .h2, .section--cream .h3 { color: #0B1A2E; }
.section--cream .eyebrow { color: #0E3B45; }
.section--cream .lede, .section--cream .prose p { color: #22314A; }
.section--cream .card { background: #F2EEE4; border-color: rgba(11, 26, 46, .14); }
.section--cream .card__title { color: #0B1A2E; }
.section--cream .card__text { color: #4A5769; }
.section--cream .section__head { border-color: rgba(11, 26, 46, .18); }
.section--teal .h2, .section--teal .h3 { color: var(--mist); }
.section__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px;
  padding-bottom: 14px; margin-bottom: 28px; border-bottom: 1px solid var(--line);
}

/* ---------- 文字 ---------- */
.h1 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.14; font-weight: 800; letter-spacing: -.01em; color: var(--mist); font-stretch: condensed; }
.h2 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; font-weight: 800; letter-spacing: -.005em; color: var(--mist); }
.h3 { font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--mist); }
.lede { max-width: 62ch; font-size: 18px; line-height: 1.8; color: var(--silver); }
.prose p { max-width: 68ch; margin-bottom: 1em; }
.prose p:last-child { margin-bottom: 0; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--cyan); }

/* ---------- 组件 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border: 1px solid transparent; border-radius: 999px;
  font-size: 14px; font-weight: 700; letter-spacing: .06em;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn--signal { background: var(--orange); color: #0B1A2E; }
.btn--signal:hover { background: #FF8340; }
.btn--ghost { border-color: rgba(56, 225, 208, .45); color: var(--cyan); }
.btn--ghost:hover { background: rgba(56, 225, 208, .12); }
.btn--quiet { border-color: var(--line-strong); color: var(--silver); }
.btn--quiet:hover { border-color: var(--orange); color: var(--orange); }

.card {
  padding: 22px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--navy-2);
  transition: border-color 200ms ease, background-color 200ms ease;
}
.card:hover { border-color: rgba(255, 106, 26, .55); }
.card__label { display: block; margin-bottom: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); }
.card__title { margin-bottom: 8px; font-size: 20px; font-weight: 700; color: var(--mist); }
.card__text { font-size: 15px; line-height: 1.7; color: var(--warm); }

.panel { padding: 26px; border: 1px solid rgba(56, 225, 208, .18); border-radius: var(--r-lg); background: var(--teal); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; color: var(--silver);
}
.chip--signal { border-color: rgba(255, 106, 26, .5); color: var(--orange); }
.chip--cyan { border-color: rgba(56, 225, 208, .5); color: var(--cyan); }
.chip--archive { border-color: rgba(198, 69, 27, .6); color: #E08163; }
.tag { display: inline-block; padding: 3px 8px; border-radius: 6px; background: rgba(56, 225, 208, .12); font-family: var(--font-mono); font-size: 12px; color: var(--cyan); }

.stats { display: flex; flex-wrap: wrap; gap: 28px; }
.stat__num { font-family: var(--font-mono); font-size: clamp(28px, 3.4vw, 42px); line-height: 1; letter-spacing: .01em; color: var(--cyan); }
.stat__label { margin-top: 8px; font-size: 12.5px; letter-spacing: .16em; color: var(--warm); }

.breadcrumbs { padding-top: 14px; font-size: 13px; color: var(--warm); }
.breadcrumbs__list { display: flex; flex-wrap: wrap; align-items: center; }
.breadcrumbs__item { display: flex; align-items: center; }
.breadcrumbs__item + .breadcrumbs__item::before { content: "/"; margin: 0 10px; color: var(--warm); opacity: .6; }
.breadcrumbs__list a:hover { color: var(--cyan); }
.breadcrumbs__item--current { color: var(--mist); }

.rule { height: 1px; margin: 32px 0; border: 0; background: var(--line); }
.rule--ticks { height: 8px; background-color: transparent; background-image: repeating-linear-gradient(90deg, rgba(199, 208, 218, .28) 0 1px, transparent 1px 16px); }

/* ---------- 图片容器 ---------- */
.media {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: linear-gradient(150deg, var(--navy-2), #0A1524 70%);
}
.media__img { width: 100%; height: 100%; object-fit: cover; }
.media__ph {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(56, 225, 208, .14) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(0deg, rgba(255, 106, 26, .10) 0 1px, transparent 1px 44px);
}
.media__ph::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 38%, rgba(56, 225, 208, .16) 50%, transparent 62%);
}
.media__scrim {
  position: absolute; inset: auto 0 0 0; padding: 16px 18px;
  background: linear-gradient(180deg, rgba(11, 26, 46, 0), rgba(11, 26, 46, .92));
  font-size: 14px; color: var(--mist);
}
.media__cap { margin-top: 10px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--warm); }
.media--wide { aspect-ratio: 21 / 9; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 3 / 4; }

/* ---------- 显现 ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(16px);
  transition:
    opacity 520ms ease var(--reveal-delay, 0ms),
    transform 520ms cubic-bezier(.22, .61, .36, 1) var(--reveal-delay, 0ms),
    border-color 200ms ease 0ms,
    background-color 200ms ease 0ms,
    color 200ms ease 0ms;
}
[data-reveal].is-in { opacity: 1; transform: none; }

.bleed { }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (min-width: 1025px) {
  body { padding-left: var(--axis-w); }
  .bleed { margin-left: calc(var(--axis-w) * -1); }
}
@media (min-width: 769px) {
  .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; }
}

@media (max-width: 1024px) {
  .masthead__quick { display: none; }
  .axis {
    position: static; width: 100%; height: auto;
    flex-direction: row; align-items: center; justify-content: flex-start; gap: 2px;
    padding: 0 10px; overflow-x: auto;
    background: transparent; border-right: 0; border-top: 1px solid var(--line);
  }
  .axis::after {
    right: auto; left: 0; bottom: 0; top: auto; width: 100%; height: 2px;
    transform: scaleX(calc(var(--scroll) / 100)); transform-origin: left;
  }
  .axis__label { display: none; }
  .axis__list { flex-direction: row; align-items: center; gap: 2px; }
  .axis__tick { display: flex; align-items: center; gap: 6px; padding: 8px 10px; white-space: nowrap; }
  .axis__node { width: 6px; height: 6px; border-radius: 50%; }
  .axis__tick:hover .axis__node,
  .axis__tick[aria-current="page"] .axis__node { width: 6px; height: 6px; }
  .axis__tick[aria-current="page"] .axis__node { background: var(--orange); }
  .axis__text { writing-mode: horizontal-tb; font-size: 12px; letter-spacing: .08em; }
  .site-foot__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .masthead__bar { padding: 12px 0 10px; }
  .masthead__inner {
    width: min(100% - 28px, var(--shell));
    grid-template-columns: 1fr auto; gap: 10px;
  }
  .brandmark { grid-column: 1; justify-items: start; text-align: left; gap: 2px; }
  .brandmark__glyph { width: 34px; height: 5px; }
  .brandmark__name { font-size: 24px; }
  .brandmark__line { font-size: 10px; letter-spacing: .14em; }
  .masthead__side { grid-column: 2; }
  .masthead__cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; background: rgba(9, 19, 32, .99); }
  .nav[data-open="true"] { display: block; }
  .nav__list { width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 12px; }
  .nav__link { padding: 13px 14px; border-radius: 12px; font-size: 16px; }
  .nav__link[aria-current="page"]::after { left: 14px; right: auto; bottom: 9px; width: 24px; }
  .nav__extra { display: flex; flex-wrap: wrap; gap: 10px; padding: 4px 14px 16px; }
  .grid12 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-12 { grid-column: 1 / -1; }
  .section { padding: 48px 0; }
  .section--tight { padding: 28px 0; }
  .shell, .shell--wide, .site-foot__inner, .site-foot__base, .masthead__inner { width: min(100% - 28px, var(--shell)); }
  .site-foot { margin-top: 64px; }
}

@media (max-width: 560px) {
  .site-foot__inner { grid-template-columns: 1fr; padding: 40px 0 32px; }
  .site-foot__base { flex-direction: column; align-items: flex-start; }
  .stats { gap: 20px; }
}

@media (max-height: 740px) and (min-width: 1025px) {
  .axis { gap: 8px; }
  .axis__tick { gap: 3px; padding: 3px 0; }
  .axis__text { font-size: 10px; letter-spacing: .12em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
