/* ==========================================================================
   盈嘉体育看台 · /assets/site.css
   共享外壳：页头 / 页脚 / 基础组件
   语言：技术蓝图网格 + 夜间看台霓虹 + 锐利直角细线
   ========================================================================== */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; }
ul[class], ol[class] { list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }
summary { cursor: pointer; }

/* ---------- 2. 变量 ---------- */
:root {
  /* 色彩体系 */
  --ink: #061A15;
  --panel: #0D2B23;
  --moss: #17463A;
  --paper: #F2EBDD;
  --rock: #A7B5AE;
  --cyan: #3DF5D4;
  --orange: #FF9A3C;
  --rose: #FF4D8D;
  --clay: #C46A4A;
  --mist: #6C8F84;

  /* 线与面 */
  --line: rgba(167, 181, 174, 0.20);
  --line-strong: rgba(167, 181, 174, 0.36);
  --line-cyan: rgba(61, 245, 212, 0.42);
  --grid-line: rgba(167, 181, 174, 0.055);
  --shadow-pop: 0 28px 56px -28px rgba(0, 0, 0, 0.92);

  /* 字体 */
  --font-display: "Haettenschweiler", "Arial Narrow", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "Helvetica Neue", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace;

  /* 尺寸 */
  --wrap-w: min(1320px, 100% - 3rem);
  --r: 2px;
  --sp-section: clamp(64px, 9vw, 112px);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.98rem + 0.18vw, 1.0625rem);
  line-height: 1.75;
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 72% at 50% -12%, rgba(23, 70, 58, 0.92), rgba(6, 26, 21, 0) 60%),
    radial-gradient(58% 38% at 94% 6%, rgba(61, 245, 212, 0.10), rgba(6, 26, 21, 0) 72%),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(0deg, var(--grid-line) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--cyan); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.012em;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.site-main { display: block; outline: none; }
#main-content:focus { outline: none; }

/* ---------- 4. 布局工具 ---------- */
.wrap {
  width: var(--wrap-w);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.stack { display: flex; flex-direction: column; gap: clamp(0.75rem, 1.6vw, 1.25rem); }

.grid { display: grid; gap: clamp(1rem, 2.2vw, 2rem); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.split-7-5,
.split-5-7,
.split-6-6 {
  display: grid;
  gap: clamp(1.25rem, 2.6vw, 2.5rem);
  align-items: start;
}
.split-7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split-5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split-6-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- 5. 排版工具类 ---------- */
.display-xl {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.022em;
}
.display-lg {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.018em;
}
.label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist);
}
.lede {
  font-size: clamp(1rem, 1.35vw, 1.1875rem);
  line-height: 1.72;
  color: rgba(242, 235, 221, 0.86);
  max-width: 62ch;
}
.mono, .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* ---------- 6. 章节体系 ---------- */
.chapter {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
}
.chapter-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.45rem 1.25rem;
  align-items: start;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.chapter-num {
  grid-row: span 2;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 0.86;
  letter-spacing: -0.02em;
  color: var(--cyan);
}
.chapter-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.9vw, 2.3rem);
  line-height: 1.04;
  color: var(--paper);
}
.chapter-note {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--rock);
  max-width: 58ch;
}

/* ---------- 7. 按钮与链接 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: transparent;
  color: var(--paper);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.4;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
.btn:hover { border-color: var(--cyan); color: var(--cyan); }
.btn--primary {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
}
.btn--primary:hover {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
}
.btn--ghost {
  border-color: rgba(23, 70, 58, 0.9);
  color: var(--rock);
}
.btn--ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid var(--line-cyan);
  font-size: 0.8125rem;
  letter-spacing: 0.09em;
  color: var(--cyan);
  transition: color 0.18s ease, border-color 0.18s ease;
}
.link-arrow::after { content: "→"; transition: transform 0.2s ease; }
.link-arrow:hover { color: var(--orange); border-color: rgba(255, 154, 60, 0.5); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- 8. 标签色带 ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.22rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  line-height: 1.5;
  color: var(--rock);
  background: rgba(13, 43, 35, 0.6);
}
.tag--cyan { color: var(--cyan); border-color: rgba(61, 245, 212, 0.42); background: rgba(61, 245, 212, 0.08); }
.tag--orange { color: var(--orange); border-color: rgba(255, 154, 60, 0.42); background: rgba(255, 154, 60, 0.08); }
.tag--rose { color: var(--rose); border-color: rgba(255, 77, 141, 0.42); background: rgba(255, 77, 141, 0.08); }
.tag--clay { color: #E5A88F; border-color: rgba(196, 106, 74, 0.5); background: rgba(196, 106, 74, 0.12); }
.tag--moss { color: var(--rock); border-color: rgba(23, 70, 58, 1); background: rgba(23, 70, 58, 0.55); }

/* ---------- 9. 框景与面板 ---------- */
.frame {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(13, 43, 35, 0.74), rgba(6, 26, 21, 0.58));
  padding: clamp(1rem, 2.4vw, 2rem);
}
.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--cyan);
  opacity: 0.85;
  pointer-events: none;
}
.frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.frame-label {
  position: absolute;
  top: -0.6rem;
  left: clamp(1rem, 2.4vw, 2rem);
  padding: 0 0.45rem;
  background: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  color: var(--cyan);
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(13, 43, 35, 0.62);
  padding: clamp(1rem, 2vw, 1.5rem);
}

/* ---------- 10. 数据表 ---------- */
.data-table { font-variant-numeric: tabular-nums; }
.data-table th {
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-align: left;
  color: var(--mist);
  white-space: nowrap;
}
.data-table td {
  padding: 0.68rem 0.5rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
  vertical-align: baseline;
}
.data-table tr:hover td { background: rgba(23, 70, 58, 0.4); }

/* ---------- 11. 折叠面板 ---------- */
.fold {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(13, 43, 35, 0.48);
}
.fold + .fold { margin-top: 0.5rem; }
.fold summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  font-size: 0.9375rem;
  color: var(--paper);
  list-style: none;
  transition: color 0.18s ease;
}
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--cyan);
}
.fold summary:hover { color: var(--cyan); }
.fold[open] summary {
  color: var(--cyan);
  border-bottom: 1px solid var(--line);
}
.fold[open] summary::after { content: "–"; }
.fold-body {
  padding: 1rem;
  font-size: 0.9375rem;
  line-height: 1.72;
  color: var(--rock);
}

/* ---------- 12. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--moss);
}
.media-frame img,
.media-frame picture,
.media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-placeholder {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 1rem;
  background-color: var(--moss);
  background-image: repeating-linear-gradient(135deg, rgba(167, 181, 174, 0.07) 0 8px, transparent 8px 16px);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-align: center;
}
.media-caption {
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--mist);
}

/* ---------- 13. 面包屑 ---------- */
.breadcrumbs {
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--line);
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--mist);
}
.breadcrumb-item { display: inline-flex; align-items: center; gap: 0.5rem; }
.breadcrumb-item + .breadcrumb-item::before { content: "/"; color: var(--moss); }
.breadcrumb-item a { color: var(--rock); transition: color 0.18s ease; }
.breadcrumb-item a:hover { color: var(--cyan); }
.breadcrumb-item[aria-current="page"] { color: var(--paper); }

/* ---------- 14. 正文与纸面 ---------- */
.prose {
  max-width: 68ch;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(242, 235, 221, 0.93);
}
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  margin-top: 2em;
  color: var(--paper);
}
.prose h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  margin-top: 1.6em;
  color: var(--cyan);
}
.prose p { max-width: 68ch; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.45em; }
.prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose a:hover { color: var(--orange); }
.prose strong { color: var(--paper); }
.prose blockquote {
  border-left: 2px solid var(--cyan);
  padding-left: 1rem;
  color: var(--rock);
}

.paper-frame {
  background: var(--paper);
  color: #1C2A25;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: clamp(1.25rem, 4vw, 3.5rem);
}
.paper-frame .prose { color: #23332D; max-width: none; }
.paper-frame .prose h2,
.paper-frame .prose h3,
.paper-frame .prose strong { color: #0B211B; }
.paper-frame .prose h3 { color: #17463A; }
.paper-frame .prose a {
  color: #17463A;
  text-decoration-color: rgba(23, 70, 58, 0.5);
}
.paper-frame .prose a:hover { color: #C46A4A; }

/* ==========================================================================
   15. 页头
   ========================================================================== */
.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, -140%);
  z-index: 200;
  padding: 0.6rem 1.1rem;
  background: var(--cyan);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 0 0 var(--r) var(--r);
  transition: transform 0.2s ease;
}
.skip-link:focus,
.skip-link:focus-visible { transform: translate(-50%, 0); outline-offset: -4px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  color: var(--paper);
  border-bottom: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(6, 26, 21, 0.98), rgba(6, 26, 21, 0.90));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-scale {
  height: 9px;
  border-bottom: 1px solid var(--line);
  background-image: repeating-linear-gradient(90deg, rgba(167, 181, 174, 0.42) 0 1px, transparent 1px 26px);
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: auto 5px;
  opacity: 0.7;
}

.header-inner {
  width: var(--wrap-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
  padding-block: 0.8rem;
}

/* 品牌 */
.brand-block {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}
.brand-mark {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: linear-gradient(135deg, rgba(61, 245, 212, 0.16), rgba(6, 26, 21, 0) 62%);
  transition: border-color 0.2s ease;
}
.brand-mark::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid var(--line-cyan);
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 13px;
  background: var(--orange);
}
.brand:hover .brand-mark { border-color: var(--cyan); }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--paper);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.brand:hover .brand-name { color: var(--cyan); }
.brand-tagline {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: var(--mist);
  white-space: nowrap;
}
.brand-coord {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  color: rgba(108, 143, 132, 0.9);
  padding-left: 0.1rem;
}

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1rem, 2vw, 2rem);
  min-width: 0;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 1.7vw, 1.6rem);
}
.nav-list li { display: flex; }
.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.35rem 0;
  font-size: 0.8125rem;
  letter-spacing: 0.11em;
  color: var(--rock);
  white-space: nowrap;
  transition: color 0.18s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}
.nav-link:hover { color: var(--paper); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--cyan); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding-left: clamp(0.6rem, 1.4vw, 1.2rem);
  border-left: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  color: var(--mist);
  white-space: nowrap;
}
.status-dot {
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--rose);
  box-shadow: 0 0 0 0 rgba(255, 77, 141, 0.55);
  animation: status-pulse 3.2s ease-in-out infinite;
}
@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 77, 141, 0.5); }
  55% { box-shadow: 0 0 0 5px rgba(255, 77, 141, 0); }
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan); }
.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--paper);
  transition: background-color 0.18s ease;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--paper);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.site-header[data-open="true"] .nav-toggle { border-color: var(--cyan); color: var(--cyan); }
.site-header[data-open="true"] .nav-toggle-bars { background: transparent; }
.site-header[data-open="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); background: var(--cyan); }
.site-header[data-open="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); background: var(--cyan); }

/* 场馆入口 */
.venue-entry {
  position: relative;
  justify-self: end;
}
.venue-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line-cyan);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(61, 245, 212, 0.12), rgba(61, 245, 212, 0.02));
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.venue-toggle:hover { background: rgba(61, 245, 212, 0.2); }
.venue-toggle-label { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.08em; }
.venue-toggle-code { color: var(--mist); transition: color 0.2s ease; }
.venue-entry[data-venue-open="true"] .venue-toggle {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
}
.venue-entry[data-venue-open="true"] .venue-toggle-code { color: rgba(6, 26, 21, 0.62); }

.venue-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 80;
  width: min(300px, calc(100vw - 3rem));
  padding: 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--panel);
  box-shadow: var(--shadow-pop);
}
.venue-panel[hidden] { display: none; }
.venue-panel-head {
  padding-bottom: 0.55rem;
  margin-bottom: 0.35rem;
  border-bottom: 1px dashed var(--line-strong);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: var(--mist);
}
.venue-list { margin: 0; padding: 0; list-style: none; }
.venue-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.42rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
}
.venue-row-key { color: var(--mist); letter-spacing: 0.1em; }
.venue-row-val {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}
.venue-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.8rem;
  padding-bottom: 0.12rem;
  border-bottom: 1px solid var(--line-cyan);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
  transition: color 0.18s ease, border-color 0.18s ease;
}
.venue-link:hover { color: var(--orange); border-color: rgba(255, 154, 60, 0.5); }

/* 阅读进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--orange) 78%, var(--rose) 100%);
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
  transition: transform 0.12s linear;
  pointer-events: none;
}

/* ==========================================================================
   16. 页脚
   ========================================================================== */
.site-footer {
  position: relative;
  margin-top: var(--sp-section);
  border-top: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, rgba(13, 43, 35, 0.92), rgba(6, 26, 21, 0.99)),
    var(--ink);
  color: var(--paper);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--orange), var(--rose), var(--clay), var(--mist), var(--moss));
}
.footer-ticks {
  height: 10px;
  border-bottom: 1px solid var(--line);
  background-image: repeating-linear-gradient(90deg, rgba(167, 181, 174, 0.34) 0 1px, transparent 1px 22px);
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: auto 6px;
  opacity: 0.65;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr) minmax(0, 0.7fr) minmax(0, 1.15fr);
  gap: clamp(1.6rem, 3vw, 3rem);
  padding-block: clamp(2.25rem, 4.6vw, 3.75rem);
  border-bottom: 1px solid var(--line);
}

.footer-brand { display: flex; flex-direction: column; gap: 0.85rem; min-width: 0; }
.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.375rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.footer-summary {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--rock);
  max-width: 34ch;
}
.footer-spectrum {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem 0.8rem;
  margin-top: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  color: var(--mist);
}
.footer-spectrum li { display: flex; align-items: center; gap: 0.4rem; }
.spectrum-chip { width: 14px; height: 3px; flex: none; background: var(--mist); }
.footer-spectrum li:nth-child(1) .spectrum-chip { background: var(--cyan); }
.footer-spectrum li:nth-child(2) .spectrum-chip { background: var(--orange); }
.footer-spectrum li:nth-child(3) .spectrum-chip { background: var(--rose); }
.footer-spectrum li:nth-child(4) .spectrum-chip { background: var(--clay); }
.footer-spectrum li:nth-child(5) .spectrum-chip { background: var(--paper); }
.footer-spectrum li:nth-child(6) .spectrum-chip { background: var(--mist); }

.footer-col { display: flex; flex-direction: column; gap: 0.7rem; min-width: 0; }
.footer-col-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--mist);
}
.footer-col-title::before {
  content: "";
  width: 14px;
  height: 1px;
  flex: none;
  background: var(--cyan);
}
.footer-list {
  counter-reset: fl;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.footer-list li {
  counter-increment: fl;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.footer-list li::before {
  content: counter(fl, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  color: rgba(108, 143, 132, 0.85);
}
.footer-link {
  font-size: 0.875rem;
  color: var(--rock);
  transition: color 0.18s ease;
}
.footer-link:hover { color: var(--cyan); }

.footer-contact { gap: 0.55rem; }
.contact-line {
  display: grid;
  grid-template-columns: 3.1rem minmax(0, 1fr);
  gap: 0.6rem;
  align-items: baseline;
  font-size: 0.8125rem;
  line-height: 1.6;
}
.contact-key {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  color: var(--mist);
}
.contact-val { color: var(--paper); word-break: break-word; }
.contact-note {
  margin-top: 0.35rem;
  padding-left: 0.75rem;
  border-left: 2px solid var(--clay);
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--rock);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 1.15rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--mist);
}
.footer-legal { font-variant-numeric: tabular-nums; }
.footer-legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.footer-legal-links li + li::before {
  content: "/";
  margin-right: 1rem;
  color: rgba(23, 70, 58, 1);
}
.footer-legal-link { color: var(--rock); transition: color 0.18s ease; }
.footer-legal-link:hover { color: var(--cyan); }

/* ==========================================================================
   17. 显现（可选，页面用 data-reveal 启用）
   ========================================================================== */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.has-js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* ==========================================================================
   18. 响应式
   ========================================================================== */
@media (max-width: 1240px) {
  .nav-status { display: none; }
}

@media (max-width: 1080px) {
  .brand-coord { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --wrap-w: min(1320px, 100% - 2.5rem); }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.75rem;
    padding-block: 0.7rem;
  }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0.35rem clamp(1.25rem, 5vw, 2rem) 1rem;
    background: var(--panel);
    border-bottom: 1px solid var(--line-strong);
    box-shadow: var(--shadow-pop);
  }
  .site-header[data-open="true"] .site-nav { display: flex; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-link {
    display: block;
    padding: 0.85rem 0;
    font-size: 0.9375rem;
    letter-spacing: 0.06em;
    color: var(--paper);
  }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] {
    color: var(--cyan);
    border-left: 2px solid var(--cyan);
    padding-left: 0.7rem;
    margin-left: -0.7rem;
  }
  .nav-status {
    display: inline-flex;
    margin-top: 0.9rem;
    padding-left: 0;
    border-left: 0;
  }

  .scroll-progress { height: 2px; }
  .venue-toggle-code { display: none; }
  .footer-spectrum { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split-7-5,
  .split-5-7,
  .split-6-6 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 700px) {
  .display-xl { font-size: clamp(2.1rem, 9vw, 3rem); }
  .chapter-head { grid-template-columns: auto minmax(0, 1fr); gap: 0.35rem 0.9rem; }
  .footer-grid { padding-block: 2rem; }
  .footer-summary { max-width: none; }
}

@media (max-width: 560px) {
  :root { --wrap-w: min(1320px, 100% - 2rem); }
  .brand-tagline { display: none; }
  .brand-name { font-size: 1rem; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-mark::before { inset: 6px; }
  .brand-mark::after { inset: 11px; }
  .nav-toggle-text { display: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-brand,
  .footer-contact { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .chart, .data-table { font-size: 0.8125rem; }
}

/* ==========================================================================
   19. 动效偏好
   ========================================================================== */
@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;
  }
  .status-dot { animation: none; box-shadow: none; }
  .scroll-progress { transition: none; }
  .has-js [data-reveal] { opacity: 1; transform: none; }
  .link-arrow:hover::after { transform: none; }
}
