/* ===========================================================
   /assets/site.css — 安博体育 共享样式
   夜间战术板 · 侧边轨道导航 · 印刷叠层语言
   =========================================================== */

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

html { -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { width: 100%; border-collapse: collapse; }
hr { border: 0; }

:focus-visible {
  outline: 2px solid #27E6D6;
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: rgba(39, 230, 214, .28); color: #F2F7F4; }

/* ---------- 变量 ---------- */
:root {
  --ink: #070B0E;
  --turf: #0D1A14;
  --green: #2FBF71;
  --cyan: #27E6D6;
  --amber: #FF5A36;
  --lime: #9BFF57;
  --blue: #3FA9FF;
  --paper: #F2F7F4;
  --mist: #93A39B;
  --rule: #26352E;

  --panel-bg: rgba(13, 26, 20, .92);
  --rail-w: 272px;
  --topbar-h: 60px;
  --gutter: clamp(16px, 4vw, 40px);

  --font-sans: "Noto Sans SC", system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --grad-cool: linear-gradient(90deg, var(--lime), var(--green) 34%, var(--cyan) 66%, var(--blue));
}

/* ---------- 基础排版 ---------- */
body {
  min-height: 100vh;
  padding-top: var(--topbar-h);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  color: var(--paper);
  background-color: var(--ink);
  background-image:
    radial-gradient(820px 560px at 86% -8%, rgba(47, 191, 113, .20), transparent 62%),
    radial-gradient(700px 520px at 4% 104%, rgba(63, 169, 255, .13), transparent 58%),
    linear-gradient(180deg, #09120F 0%, #070B0E 48%, #06090B 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.01em;
  text-wrap: balance;
}

h1 { font-size: clamp(34px, 5.4vw, 68px); font-weight: 900; }
h2 { font-size: clamp(26px, 3.4vw, 44px); font-weight: 900; }
h3 { font-size: clamp(19px, 2vw, 24px); font-weight: 700; line-height: 1.35; }

p { text-wrap: pretty; }

/* ---------- 跳过链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #04110E;
  background: var(--cyan);
  border-radius: 2px;
  transform: translateY(-160%);
  transition: transform .18s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); outline-offset: 2px; }

/* ===========================================================
   头部 / 侧边轨道
   =========================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(13, 26, 20, .98), rgba(7, 11, 14, .98));
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(10px);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--topbar-h);
  padding: 6px 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  min-height: 44px;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
  border: 1px solid rgba(39, 230, 214, .45);
  border-radius: 2px;
  background: linear-gradient(150deg, rgba(39, 230, 214, .18), rgba(47, 191, 113, .10));
}

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

.brand__name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.3;
}

.brand__tagline {
  display: none;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .06em;
  color: var(--mist);
}

.version-badge {
  flex: none;
  padding: 3px 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.4;
  color: var(--amber);
  border: 1px solid rgba(255, 90, 54, .55);
  border-radius: 2px;
  background: rgba(255, 90, 54, .08);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 13px;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 2px;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.nav-toggle:hover { color: var(--cyan); border-color: rgba(39, 230, 214, .6); }

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: background-color .2s var(--ease);
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform .2s var(--ease);
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.site-header[data-open] .nav-toggle__bars { background: transparent; }
.site-header[data-open] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.nav-toggle__label { line-height: 1; }

/* ---------- 移动抽屉导航 ---------- */
.site-nav {
  position: fixed;
  top: var(--topbar-h);
  bottom: 0;
  left: 0;
  z-index: 59;
  width: min(88vw, 344px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 18px 32px;
  overflow-y: auto;
  background: linear-gradient(180deg, #0C1712, #080D10 72%);
  border-right: 1px solid var(--rule);
  box-shadow: 24px 0 60px -30px rgba(0, 0, 0, .92);
  transform: translateX(-102%);
  visibility: hidden;
  transition: transform .28s var(--ease), visibility 0s linear .28s;
}

.site-header[data-open] .site-nav {
  transform: translateX(0);
  visibility: visible;
  transition: transform .28s var(--ease), visibility 0s;
}

.nav-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  line-height: 1.6;
  color: var(--mist);
}
.nav-kicker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(39, 230, 214, .6), transparent);
}

.nav-list { display: flex; flex-direction: column; gap: 2px; }
.nav-list__item { display: block; }

.nav-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-height: 44px;
  padding: 10px 10px 10px 12px;
  border-left: 2px solid transparent;
  color: rgba(242, 247, 244, .86);
  transition: color .16s var(--ease), background-color .16s var(--ease), border-color .16s var(--ease);
}
.nav-link:hover {
  color: var(--paper);
  background: rgba(39, 230, 214, .07);
  border-left-color: rgba(39, 230, 214, .55);
}

.nav-link__num {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--mist);
}

.nav-link__label {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.35;
}

.nav-link[aria-current="page"] {
  color: var(--paper);
  border-left-color: var(--cyan);
  background: linear-gradient(90deg, rgba(39, 230, 214, .15), rgba(39, 230, 214, 0));
}
.nav-link[aria-current="page"] .nav-link__num { color: var(--cyan); }
.nav-link[aria-current="page"] .nav-link__label { font-weight: 800; }

.nav-foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--rule);
}

.nav-foot__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  line-height: 1.6;
  color: var(--mist);
}

.nav-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; }

.nav-shortcut {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 13px;
  letter-spacing: .02em;
  color: rgba(242, 247, 244, .82);
  border: 1px solid var(--rule);
  border-radius: 2px;
  transition: color .16s var(--ease), border-color .16s var(--ease), background-color .16s var(--ease);
}
.nav-shortcut:hover {
  color: var(--cyan);
  border-color: rgba(39, 230, 214, .6);
  background: rgba(39, 230, 214, .08);
}

.header-utility {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 20px;
  border-top: 1px solid var(--rule);
}

.header-utility__note {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .02em;
  color: var(--mist);
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--cyan);
  border: 1px solid rgba(39, 230, 214, .42);
  border-radius: 2px;
  background: rgba(39, 230, 214, .06);
  transition: background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease);
}
.ghost-btn:hover {
  color: #EAFFFB;
  border-color: var(--cyan);
  background: rgba(39, 230, 214, .15);
}

.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  background: rgba(38, 53, 46, .65);
}

.header-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--grad-cool);
  transform: scaleX(0);
  transform-origin: left center;
}

.nav-scrim {
  position: fixed;
  inset: var(--topbar-h) 0 0 0;
  z-index: 55;
  background: rgba(4, 8, 6, .68);
  backdrop-filter: blur(3px);
}
.nav-scrim[hidden] { display: none; }

/* ---------- 桌面：竖立轨道 ---------- */
@media (min-width: 1024px) {
  body {
    padding-top: 0;
    padding-left: var(--rail-w);
  }

  .site-header {
    right: auto;
    bottom: 0;
    width: var(--rail-w);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 0;
    border-right: 1px solid var(--rule);
    background: linear-gradient(180deg, #0B1512 0%, #070B0E 64%, #06090B 100%);
  }

  .site-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--lime), var(--green) 28%, var(--cyan) 62%, var(--blue));
    opacity: .78;
  }

  .header-bar {
    flex: none;
    align-items: flex-start;
    padding: 26px 20px 18px;
    border-bottom: 1px dashed var(--rule);
  }

  .brand { align-items: flex-start; }

  .brand__tagline { display: block; }

  .nav-toggle { display: none; }

  .site-nav {
    position: static;
    transform: none;
    visibility: visible;
    width: auto;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    gap: 14px;
    padding: 18px 12px 14px;
    background: transparent;
    border-right: 0;
    box-shadow: none;
    transition: none;
  }

  .nav-kicker { font-size: 10px; }

  .nav-foot { margin-top: 18px; }

  .header-utility { display: flex; }

  .header-progress {
    position: relative;
    bottom: auto;
    height: 3px;
    border-top: 1px solid var(--rule);
  }

  .nav-scrim { display: none; }
}

/* ===========================================================
   页脚
   =========================================================== */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  padding: clamp(28px, 5vw, 52px) var(--gutter) 26px;
  border-top: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(13, 26, 20, .94), rgba(6, 9, 11, 1));
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-cool);
  opacity: .72;
}

.footer-grid {
  display: grid;
  gap: 30px;
  max-width: 1180px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 32px 40px;
  }
}

.footer-col { display: flex; flex-direction: column; }

.footer-eyebrow {
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  line-height: 1.6;
  color: var(--mist);
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.3;
  color: var(--paper);
}

.footer-line {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(242, 247, 244, .8);
}

.footer-note {
  margin-top: 10px;
  max-width: 40ch;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .02em;
  color: var(--mist);
}

.footer-title {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  line-height: 1.6;
  color: var(--cyan);
}

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

.footer-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  line-height: 1.65;
}

.footer-list__key {
  flex: none;
  min-width: 34px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--mist);
}

.footer-list__value {
  color: rgba(242, 247, 244, .9);
  word-break: break-word;
}

.footer-legal { display: flex; flex-direction: column; gap: 0; }

.footer-legal__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 44px;
  font-size: 14px;
  color: rgba(242, 247, 244, .86);
  border-bottom: 1px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.footer-legal__link::before {
  content: "§";
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
}
.footer-legal__link:hover {
  color: var(--cyan);
  border-bottom-color: rgba(39, 230, 214, .6);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  max-width: 1180px;
  margin: 26px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .03em;
  line-height: 1.7;
  color: var(--mist);
}

.footer-icp { color: rgba(147, 163, 155, .95); }
.footer-copy { color: var(--mist); }

/* ===========================================================
   通用组件
   =========================================================== */
.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.display {
  font-size: clamp(38px, 6vw, 84px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.02em;
}

.display--slant {
  transform: rotate(-1.6deg);
  transform-origin: left center;
}

.serif-title {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.35;
}

.lede {
  max-width: 62ch;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.8;
  color: rgba(242, 247, 244, .86);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  line-height: 1.6;
  color: var(--mist);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--grad-cool);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 16px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  line-height: 1.7;
  color: var(--mist);
}
.breadcrumb a { color: var(--mist); transition: color .16s var(--ease); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb__sep { color: rgba(147, 163, 155, .5); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  line-height: 1.7;
  color: var(--mist);
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: rgba(13, 26, 20, .7);
}
.tag--cyan {
  color: var(--cyan);
  border-color: rgba(39, 230, 214, .45);
  background: rgba(39, 230, 214, .08);
}
.tag--amber {
  color: var(--amber);
  border-color: rgba(255, 90, 54, .45);
  background: rgba(255, 90, 54, .08);
}

.num {
  font-family: var(--font-mono);
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}

.num__unit {
  margin-left: 4px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--mist);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: transform .16s var(--ease), background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease);
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  color: #0A0503;
  background: var(--amber);
  border-color: var(--amber);
  font-weight: 800;
}
.btn--primary:hover { background: #FF7355; border-color: #FF7355; }

.btn--ghost {
  color: var(--paper);
  background: transparent;
  border-color: var(--rule);
}
.btn--ghost:hover { color: var(--cyan); border-color: rgba(39, 230, 214, .6); }

.paper-card {
  position: relative;
  padding: clamp(16px, 2.4vw, 26px);
  background: linear-gradient(180deg, rgba(13, 26, 20, .96), rgba(9, 15, 18, .96));
  border: 1px solid var(--rule);
  border-radius: 2px;
  box-shadow: 7px 7px 0 -1px #0A110D, 7px 7px 0 0 var(--rule);
}

.panel {
  position: relative;
  padding: clamp(16px, 2.2vw, 24px);
  background: rgba(11, 21, 17, .78);
  border: 1px solid var(--rule);
  border-radius: 2px;
}

.grid { display: grid; gap: clamp(14px, 2vw, 24px); }
@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- 可复用图片容器 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background:
    linear-gradient(150deg, rgba(47, 191, 113, .16), rgba(7, 11, 14, .2) 46%, rgba(63, 169, 255, .14)),
    var(--turf);
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(7, 11, 14, .82));
  pointer-events: none;
}

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

.media-frame__caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  line-height: 1.6;
  color: rgba(242, 247, 244, .82);
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .site-nav,
  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after,
  .header-progress__bar,
  .btn,
  .skip-link {
    transition-duration: .001ms;
  }
  .btn:hover { transform: none; }
}

/* ---------- 中等屏补强 ---------- */
@media (min-width: 480px) and (max-width: 1023px) {
  .brand__tagline { display: block; }
}
