/* ==========================================================================
   杏彩体育 · 共享站套件 /assets/site.css
   深夜底 + 荧光绿 / 电光蓝 / 琥珀橙 · 居中刊头 · 左侧战术条
   仅负责 reset、变量、排版、页头页脚、通用组件与响应式
   ========================================================================== */

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

html {
  background: #0A0E0D;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body,
h1, h2, h3, h4, p, figure, blockquote,
dl, dd, dt, ul, ol, fieldset {
  margin: 0;
}

ul[class],
ol[class] {
  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;
}

::selection {
  background: #B8FF2E;
  color: #0A0E0D;
}

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #0A0E0D;
  --panel: #121816;
  --line: #2B3531;
  --volt: #B8FF2E;
  --volt-soft: rgba(184, 255, 46, 0.16);
  --blue: #2E6BFF;
  --blue-deep: #0E2C66;
  --amber: #FFB020;
  --fog: #F6F8F4;
  --mist: #9AA6A0;
  --white: #FFFFFF;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --maxw: 1360px;
  --gutter: clamp(18px, 4vw, 48px);
  --rail: 86px;
  --head-h: 132px;

  --font-display: "Barlow Condensed", "Arial Narrow", "Noto Sans SC", system-ui, sans-serif;
  --font-head: "Noto Sans SC", system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  margin: 0;
  background: var(--ink);
  color: var(--fog);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
}

strong { font-weight: 700; }

p { text-wrap: pretty; }

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

#main-content { scroll-margin-top: calc(var(--head-h) + 8px); }

/* ---------- 4. 工具类与通用组件 ---------- */
.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;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.h-xl {
  font-size: clamp(40px, 7vw, 88px);
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.h-lg {
  font-size: clamp(30px, 4.4vw, 54px);
  letter-spacing: -0.01em;
  line-height: 1.08;
}

.h-md {
  font-size: clamp(21px, 2.5vw, 30px);
  line-height: 1.22;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--volt);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.num--xl {
  font-size: clamp(44px, 9vw, 104px);
  line-height: 0.9;
}

.prose {
  max-width: 68ch;
  color: var(--fog);
}

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

.prose h2,
.prose h3 {
  margin-top: 1.6em;
  color: var(--fog);
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
  list-style: disc;
}

.prose li + li { margin-top: 0.4em; }

.prose a {
  color: var(--volt);
  border-bottom: 1px solid var(--volt-soft);
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 2.4vw, 32px);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease);
}

.panel:hover {
  transform: translateY(-2px);
  border-color: rgba(184, 255, 46, 0.35);
}

.panel--flat {
  background: transparent;
  border-radius: var(--radius-md);
}

.hairline {
  height: 1px;
  border: 0;
  margin-block: clamp(28px, 4vw, 48px);
  background: var(--line);
}

.hairline--short {
  width: 72px;
  height: 3px;
  border-radius: 2px;
  background: var(--volt);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--panel);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mist);
  white-space: nowrap;
}

.tag--volt { background: var(--volt); border-color: var(--volt); color: #0A0E0D; }
.tag--amber { background: var(--amber); border-color: var(--amber); color: #0A0E0D; }
.tag--blue { background: var(--blue); border-color: var(--blue); color: var(--white); }
.tag--live { background: transparent; border-color: rgba(255, 176, 32, 0.55); color: var(--amber); }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.crumbs__link { color: var(--mist); transition: color 160ms var(--ease); }
.crumbs__link:hover { color: var(--volt); }
.crumbs__sep { color: var(--line); }
.crumbs__current { color: var(--fog); }

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--fog);
  --btn-bd: var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: transform 180ms var(--ease), background-color 180ms var(--ease),
              color 180ms var(--ease), border-color 180ms var(--ease);
}

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

.btn--volt { --btn-bg: var(--volt); --btn-fg: #0A0E0D; --btn-bd: var(--volt); }
.btn--volt:hover { --btn-bg: #CCFF5E; --btn-bd: #CCFF5E; }

.btn--blue { --btn-bg: var(--blue); --btn-fg: var(--white); --btn-bd: var(--blue); }
.btn--blue:hover { --btn-bg: #4A80FF; --btn-bd: #4A80FF; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--fog); --btn-bd: var(--line); }
.btn--ghost:hover { --btn-fg: var(--volt); --btn-bd: var(--volt); }

.btn--sm {
  min-height: 34px;
  padding: 0 14px;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.grid {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
}

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

.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-12 { grid-column: span 12; }

/* 图片容器基础规则：页面阶段放入 <img> 并补 alt */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
}

.media-frame img,
.media-frame svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.media-frame--empty::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    rgba(46, 107, 255, 0.14) 0 12px,
    transparent 12px 24px
  );
}

.media-frame__tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--volt);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}

/* ---------- 5. 页头 ---------- */
.skip-link {
  position: fixed;
  top: -90px;
  left: 16px;
  z-index: 300;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: var(--volt);
  color: #0A0E0D;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: top 160ms var(--ease);
}

.skip-link:focus {
  top: 12px;
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #0A0E0D;
  border-bottom: 1px solid var(--line);
}

.site-head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--volt) 0 30%,
    var(--blue) 30% 70%,
    var(--amber) 70% 100%
  );
}

.read-bar {
  position: relative;
  height: 3px;
  background: rgba(43, 53, 49, 0.85);
  overflow: hidden;
}

.read-bar__fill {
  display: block;
  height: 100%;
  background: var(--volt);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 90ms linear;
}

.masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding-block: 14px;
}

.masthead__meta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-self: start;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 176, 32, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  justify-self: center;
  color: var(--fog);
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--volt);
  color: #0A0E0D;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__name {
  font-family: var(--font-head);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.1em;
}

.brand__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.3em;
  color: var(--volt);
}

.masthead__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.masthead__cta {
  min-height: 40px;
  padding: 0 18px;
  font-size: 13px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--fog);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: background-color 160ms var(--ease), color 160ms var(--ease),
              border-color 160ms var(--ease);
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}

.nav-toggle[aria-expanded="true"] {
  background: var(--volt);
  border-color: var(--volt);
  color: #0A0E0D;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(6px) 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(-6px) rotate(-45deg);
}

.nav-drawer {
  display: grid;
  grid-template-rows: 0fr;
  border-top: 1px solid var(--line);
  transition: grid-template-rows 300ms var(--ease);
}

.nav-drawer__inner {
  min-height: 0;
  overflow: hidden;
}

.nav-drawer[data-open] {
  grid-template-rows: 1fr;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px clamp(12px, 2.2vw, 30px);
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 8px var(--gutter) 12px;
}

.nav-list__item { display: block; }

.nav-list__link {
  position: relative;
  display: inline-block;
  padding: 8px 2px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--mist);
  transition: color 160ms var(--ease);
}

.nav-list__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--volt);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 180ms var(--ease);
}

.nav-list__link:hover { color: var(--fog); }
.nav-list__link:hover::after { transform: scaleX(1); }

.nav-list__link[aria-current="page"] {
  color: var(--volt);
}

.nav-list__link[aria-current="page"]::after {
  transform: scaleX(1);
}

/* 左侧战术条 */
.tactic-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 60;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: var(--rail);
  padding: 22px 0 26px;
  background: var(--panel);
  border-right: 1px solid var(--line);
}

.tactic-rail__label {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.34em;
  color: var(--mist);
}

.tactic-rail__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tactic-rail__link {
  display: block;
  min-width: 62px;
  padding: 10px 4px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  text-align: center;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
  color: var(--mist);
  transition: color 160ms var(--ease), background-color 160ms var(--ease),
              border-color 160ms var(--ease);
}

.tactic-rail__link:hover {
  background: var(--volt);
  border-color: var(--volt);
  color: #0A0E0D;
}

.tactic-rail__link[aria-current="page"] {
  border-color: var(--line);
  color: var(--volt);
}

.tactic-rail__mark {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--blue);
}

/* ---------- 6. 页脚 ---------- */
.site-foot {
  margin-top: clamp(56px, 8vw, 104px);
  background: var(--panel);
  border-top: 1px solid var(--line);
  color: var(--fog);
}

.foot-inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(40px, 6vw, 72px);
}

.foot-lead { display: block; }

.brand--foot {
  justify-self: start;
  align-items: flex-start;
}

.foot-summary {
  max-width: 34ch;
  margin: 18px 0 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--mist);
}

.foot-cta { min-height: 40px; font-size: 13px; }

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

.foot-col__title {
  margin-bottom: 16px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--volt);
}

.foot-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-list__link {
  font-size: 15px;
  color: var(--mist);
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
  border-bottom: 1px solid transparent;
}

.foot-list__link:hover {
  color: var(--fog);
  border-bottom-color: var(--volt);
}

.foot-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.foot-contact__row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(43, 53, 49, 0.7);
}

.foot-contact__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--mist);
}

.foot-contact__value {
  font-size: 14px;
  line-height: 1.5;
  color: var(--fog);
  overflow-wrap: anywhere;
}

.foot-contact__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--amber);
  letter-spacing: 0.04em;
}

.foot-note {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--mist);
}

.foot-base {
  background: #0A0E0D;
  border-top: 1px solid var(--line);
}

.foot-base__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 18px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--mist);
}

.foot-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }

.foot-legal__link,
.foot-version__link {
  color: var(--fog);
  border-bottom: 1px solid var(--line);
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.foot-legal__link:hover,
.foot-version__link:hover {
  color: var(--volt);
  border-bottom-color: var(--volt);
}

.foot-version {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.foot-version__num { color: var(--amber); font-weight: 700; }

/* ---------- 7. 响应式 ---------- */
@media (min-width: 1240px) {
  body { padding-left: var(--rail); }
  .tactic-rail { display: flex; }
}

@media (max-width: 1023px) {
  .grid--12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

  .span-4,
  .span-5,
  .span-6,
  .span-7,
  .span-8,
  .span-12 { grid-column: span 6; }

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

@media (max-width: 899px) {
  :root { --head-h: 168px; }

  .masthead {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 12px;
    padding-block: 12px;
  }

  .masthead__meta { display: none; }

  .brand { justify-self: start; }

  .brand__mark { width: 34px; height: 34px; border-radius: 11px; font-size: 16px; }

  .masthead__actions { justify-self: end; }

  .nav-drawer { border-top: 1px solid var(--line); }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px var(--gutter) 18px;
  }

  .nav-list__link {
    display: block;
    padding: 14px 6px;
    font-size: 17px;
    border-bottom: 1px solid var(--line);
  }

  .nav-list__link::after { display: none; }

  .nav-list__link[aria-current="page"] {
    color: var(--fog);
    background: rgba(184, 255, 46, 0.08);
    border-bottom-color: var(--volt);
  }

  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-col--contact { grid-column: 1 / -1; }
}

@media (max-width: 639px) {
  body { font-size: 16px; }

  .masthead__cta { display: none; }

  .brand__name { font-size: 18px; letter-spacing: 0.08em; }

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

  .foot-base__row { flex-direction: column; align-items: flex-start; }

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

  .span-4,
  .span-5,
  .span-6,
  .span-7,
  .span-8,
  .span-12 { grid-column: 1 / -1; }

  .btn { min-height: 42px; padding: 0 18px; }
}

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

  .btn:hover,
  .panel:hover { transform: none; }
}
