/* ==========================================================================
   竞猜软件指南 · /assets/site.css
   夜场数据台：深海蓝底 / 草坪绿面板 / 灯光金数据 / 信号橙状态 / 灰蓝归档
   ========================================================================== */

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

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

ul, ol { list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

/* 2. Design tokens -------------------------------------------------------- */
:root {
  --sea: #0A1B2E;
  --sea-deep: #071726;
  --pitch: #123D2F;
  --pitch-lite: #1E5C46;
  --gold: #E8C46A;
  --orange: #F2703A;
  --stone: #7B8896;
  --moss: #55704C;
  --clay: #B96A45;
  --archive: #8AA0B4;
  --cream: #F2EEE4;
  --ink: #050B14;

  --line-gold: rgba(232, 196, 106, 0.26);
  --line-cool: rgba(138, 160, 180, 0.2);
  --text-soft: rgba(242, 238, 228, 0.78);
  --text-mute: rgba(242, 238, 228, 0.6);

  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --rail-w: 300px;
  --shell: 1180px;
  --pad: clamp(16px, 4vw, 40px);

  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --shadow-panel: 0 24px 54px -30px rgba(5, 11, 20, 0.95);
  --ease: cubic-bezier(0.22, 0.7, 0.28, 1);

  color-scheme: dark;
}

/* 3. 中文排版与全局氛围 ---------------------------------------------------- */
html {
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 55% at 50% -12%, rgba(30, 92, 70, 0.5), rgba(5, 11, 20, 0) 62%),
    radial-gradient(70% 42% at 100% 0%, rgba(232, 196, 106, 0.09), rgba(5, 11, 20, 0) 70%),
    linear-gradient(180deg, #0A1B2E 0%, #071726 46%, #050B14 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  min-height: 100vh;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.35; color: var(--cream); }
h1 { font-family: var(--font-display); font-size: clamp(30px, 5.2vw, 46px); letter-spacing: -0.02em; line-height: 1.22; }
h2 { font-family: var(--font-display); font-size: clamp(23px, 3.4vw, 31px); letter-spacing: -0.01em; }
h3 { font-size: clamp(18px, 2.4vw, 21px); font-weight: 600; }
h4 { font-size: 16px; letter-spacing: 0.02em; }
p { color: var(--text-soft); }
p + p { margin-top: 1.2em; }
strong { color: var(--cream); font-weight: 600; }
small { font-size: 12.5px; }

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

::selection { background: rgba(232, 196, 106, 0.28); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

/* 4. 跳转与滚动进度 -------------------------------------------------------- */
.skip-link {
  position: fixed;
  left: 14px;
  top: -70px;
  z-index: 130;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: #0A1B2E;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: top 0.22s var(--ease);
}
.skip-link:focus { top: 14px; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 95;
  pointer-events: none;
}
.scroll-progress-bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--pitch-lite), var(--gold) 62%, var(--orange));
  transition: transform 0.12s linear;
}

/* 5. 布局容器 -------------------------------------------------------------- */
.shell {
  width: min(var(--shell), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(42px, 7vw, 84px);
}
.section-tight { padding-block: clamp(20px, 3.2vw, 34px); }
.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: clamp(18px, 3vw, 32px);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.lede {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--text-soft);
  max-width: 62ch;
}

.split { display: grid; gap: clamp(18px, 3vw, 34px); grid-template-columns: 1fr; }
.split-wide { display: grid; gap: clamp(18px, 3vw, 34px); grid-template-columns: 1fr; }

@media (min-width: 900px) {
  .split { grid-template-columns: minmax(210px, 270px) minmax(0, 1fr); }
  .split-wide { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
}

.card-grid {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.metric-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* 6. 面板与卡片 ------------------------------------------------------------ */
.panel {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(30, 92, 70, 0.6);
  background: linear-gradient(160deg, rgba(18, 61, 47, 0.9), rgba(10, 27, 46, 0.92));
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(232, 196, 106, 0) 72%);
}
.panel-head {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
  justify-content: space-between;
  padding: clamp(16px, 3vw, 28px);
  border-bottom: 1px solid var(--line-cool);
}
.panel-body { padding: clamp(16px, 3vw, 28px); }
.panel-title { font-family: var(--font-display); font-size: clamp(19px, 2.4vw, 24px); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(16px, 2.4vw, 24px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(30, 92, 70, 0.55);
  background: linear-gradient(165deg, rgba(18, 61, 47, 0.7), rgba(10, 27, 46, 0.88));
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 196, 106, 0.42);
  box-shadow: 0 28px 50px -34px rgba(5, 11, 20, 0.98);
}
.card-title { font-family: var(--font-display); font-size: 20px; line-height: 1.4; }
.card-meta { font-size: 12.5px; letter-spacing: 0.14em; color: var(--stone); }
.card-body { font-size: 15px; color: var(--text-soft); }
.card-foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line-cool);
}

/* 7. 刻度与框景 ------------------------------------------------------------ */
.tick-rule {
  height: 12px;
  background-image: repeating-linear-gradient(90deg, rgba(232, 196, 106, 0.42) 0 1px, rgba(0, 0, 0, 0) 1px 22px);
}
.rule-gold {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, rgba(232, 196, 106, 0), rgba(232, 196, 106, 0.62), rgba(232, 196, 106, 0));
}
.frame {
  position: relative;
  padding: clamp(10px, 2vw, 18px);
  border-radius: calc(var(--radius-lg) + 8px);
  border: 1px solid var(--line-gold);
  background: rgba(5, 11, 20, 0.45);
}
.frame::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(138, 160, 180, 0.18);
  border-radius: calc(var(--radius-lg) + 2px);
  pointer-events: none;
}

/* 8. 按钮、芯片、标签、数据块 ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 46px;
  padding: 0.62em 1.4em;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
    border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn-gold {
  background: linear-gradient(120deg, var(--gold), #f4d99a);
  color: #0A1B2E;
}
.btn-gold:hover { transform: translateY(-2px); }
.btn-ghost {
  border-color: rgba(232, 196, 106, 0.45);
  background: rgba(232, 196, 106, 0.06);
  color: var(--cream);
}
.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(232, 196, 106, 0.14);
}
.btn-block { width: 100%; }
.btn:active { transform: translateY(1px); }

.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(138, 160, 180, 0.32);
  background: rgba(19, 37, 55, 0.72);
  color: var(--text-soft);
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.chip:hover { border-color: rgba(232, 196, 106, 0.55); color: var(--cream); }
.chip[aria-pressed="true"],
.chip.is-active {
  border-color: var(--gold);
  background: rgba(232, 196, 106, 0.14);
  color: var(--gold);
}
.chip-static {
  cursor: default;
  border-color: var(--line-cool);
  color: var(--stone);
}
.chip-static:hover { border-color: var(--line-cool); color: var(--stone); }
.chip-archive {
  border-color: rgba(138, 160, 180, 0.42);
  background: rgba(138, 160, 180, 0.1);
  color: var(--archive);
}
.chip-archive:hover { border-color: var(--archive); color: var(--archive); }

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-cool);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--stone);
}
.tag-gold { border-color: rgba(232, 196, 106, 0.42); color: var(--gold); }
.tag-clay { border-color: rgba(185, 106, 69, 0.5); color: var(--clay); }
.tag-moss { border-color: rgba(85, 112, 76, 0.65); color: #9dbf8f; }
.tag-archive { border-color: rgba(138, 160, 180, 0.42); color: var(--archive); }

.metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-cool);
  background: rgba(5, 11, 20, 0.55);
}
.metric-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.05;
  color: var(--gold);
}
.metric-label { font-size: 12px; letter-spacing: 0.16em; color: var(--stone); }

/* 9. 索引列表 -------------------------------------------------------------- */
.index-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 16px;
}
.index-list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(232, 196, 106, 0.42), rgba(138, 160, 180, 0.16));
}
.index-list a {
  position: relative;
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-soft);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.index-list a::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: rgba(138, 160, 180, 0.42);
}
.index-list a:hover { background: rgba(30, 92, 70, 0.34); color: var(--cream); }
.index-list a[aria-current="page"] { color: var(--gold); }
.index-list a[aria-current="page"]::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(232, 196, 106, 0.16); }

/* 10. 展开组（问答 / 索引） ------------------------------------------------ */
.disclosure {
  border-radius: var(--radius-md);
  border: 1px solid var(--line-cool);
  background: rgba(5, 11, 20, 0.42);
  overflow: hidden;
}
.disclosure + .disclosure { margin-top: 10px; }
.disclosure-toggle {
  width: 100%;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--cream);
  transition: background-color 0.25s var(--ease);
}
.disclosure-toggle:hover { background: rgba(30, 92, 70, 0.3); }
.disclosure-icon {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(232, 196, 106, 0.5);
}
.disclosure-icon::before,
.disclosure-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 1px;
  background: var(--gold);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.disclosure-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.disclosure.is-open .disclosure-icon::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }
.disclosure.is-open .disclosure-icon { background: rgba(232, 196, 106, 0.16); }
.disclosure-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease);
}
.disclosure-inner { overflow: hidden; }
.disclosure-body {
  padding: 0 18px 18px;
  font-size: 15px;
  color: var(--text-soft);
}
.disclosure.is-open .disclosure-panel { grid-template-rows: 1fr; }

/* 11. 正文容器与面包屑 ----------------------------------------------------- */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul li,
.prose ol li { position: relative; padding-left: 1.25em; margin-top: 0.5em; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--moss);
}
.prose ol { counter-reset: prose-ol; }
.prose ol li::before {
  counter-increment: prose-ol;
  content: counter(prose-ol, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
}
.prose a {
  color: var(--gold);
  border-bottom: 1px solid rgba(232, 196, 106, 0.4);
}
.prose a:hover { border-bottom-color: var(--gold); }
.prose blockquote {
  padding: 14px 18px;
  border-left: 2px solid var(--gold);
  background: rgba(5, 11, 20, 0.42);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--text-soft);
}

.breadcrumb { padding-top: clamp(16px, 3vw, 28px); }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--stone);
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(138, 160, 180, 0.5);
}
.breadcrumb a { color: var(--text-mute); transition: color 0.2s var(--ease); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current="page"] { color: var(--gold); }

/* 12. 图片容器 ------------------------------------------------------------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-cool);
  background: linear-gradient(150deg, var(--pitch), var(--ink));
}
.media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(232, 196, 106, 0.12), rgba(5, 11, 20, 0) 65%),
    linear-gradient(180deg, rgba(5, 11, 20, 0.12), rgba(5, 11, 20, 0.74));
}
.media-16x9 { aspect-ratio: 16 / 9; }
.media-4x3 { aspect-ratio: 4 / 3; }
.media-3x2 { aspect-ratio: 3 / 2; }
.media-1x1 { aspect-ratio: 1 / 1; }
.media-tall { aspect-ratio: 3 / 4; }
.media-caption {
  display: block;
  margin-top: 10px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--stone);
}

/* 13. 页头：侧边轨道导航（移动端抽屉） ------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
}

.rail {
  position: relative;
  padding: 12px var(--pad);
  border-bottom: 1px solid var(--line-gold);
  background: linear-gradient(180deg, rgba(10, 27, 46, 0.98), rgba(7, 23, 38, 0.95));
  backdrop-filter: blur(10px);
}

.rail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  grid-template-columns: repeat(3, 4px);
  align-items: end;
  gap: 3px;
  height: 26px;
}
.brand-mark i {
  display: block;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold), var(--pitch-lite));
}
.brand-mark i:nth-child(1) { height: 12px; }
.brand-mark i:nth-child(2) { height: 22px; }
.brand-mark i:nth-child(3) { height: 16px; }
.brand-text { display: block; }
.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--cream);
}
.brand-sub {
  display: block;
  margin-top: 2px;
  max-width: 36ch;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.14em;
  color: var(--stone);
}
.brand-lg .brand-name { font-size: 21px; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(232, 196, 106, 0.42);
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.16em;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.nav-toggle:hover { background: rgba(232, 196, 106, 0.14); }
.nav-toggle-bars { display: grid; gap: 3px; }
.nav-toggle-bars i {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--gold);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) { opacity: 0; }

.site-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 14px;
}
.nav-caption {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--stone);
}

.nav-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 16px;
}
.nav-track::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(232, 196, 106, 0.42), rgba(138, 160, 180, 0.18) 62%, rgba(138, 160, 180, 0));
}
.nav-item { position: relative; }
.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px 13px 8px;
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  font-size: 16px;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.nav-index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(138, 160, 180, 0.75);
}
.nav-label { display: inline-block; }
.nav-tick {
  position: absolute;
  left: -15px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: rgba(138, 160, 180, 0.45);
  transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav-link:hover { background: rgba(30, 92, 70, 0.34); color: var(--cream); }
.nav-link:hover .nav-tick { background: var(--gold); transform: scale(1.18); }
.nav-link[aria-current="page"] {
  color: var(--gold);
  background: linear-gradient(90deg, rgba(232, 196, 106, 0.16), rgba(232, 196, 106, 0));
}
.nav-link[aria-current="page"] .nav-tick {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(232, 196, 106, 0.18);
}
.nav-link[aria-current="page"] .nav-index { color: rgba(232, 196, 106, 0.8); }

.nav-foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px dashed rgba(138, 160, 180, 0.25);
}
.anchor-archive {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(138, 160, 180, 0.28);
  background: rgba(138, 160, 180, 0.08);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.anchor-archive:hover {
  border-color: var(--archive);
  background: rgba(138, 160, 180, 0.16);
}
.anchor-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--archive);
}
.anchor-meta { font-size: 12px; letter-spacing: 0.08em; color: var(--text-mute); }

.rail-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--stone);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(242, 112, 58, 0.18);
  animation: dot-breath 2.4s ease-in-out infinite;
}
@keyframes dot-breath {
  0%, 100% { opacity: 0.55; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.06); }
}

/* 移动端抽屉状态 */
@media (max-width: 1079px) {
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    margin-top: 0;
    padding: 84px var(--pad) 34px;
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(7, 23, 38, 0.99), rgba(5, 11, 20, 0.99));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s linear;
  }
  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .rail-top { position: relative; z-index: 2; }
  .nav-link { border-bottom: 1px solid rgba(138, 160, 180, 0.12); }
  .nav-foot { margin-top: 22px; }
  body.nav-open { overflow: hidden; }
}

/* 桌面端：固定左侧轨道 */
@media (min-width: 1080px) {
  body { padding-left: var(--rail-w); }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--rail-w);
  }
  .site-header::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 10px;
    pointer-events: none;
    background-image: repeating-linear-gradient(180deg, rgba(232, 196, 106, 0.3) 0 1px, rgba(0, 0, 0, 0) 1px 14px);
  }
  .rail {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 28px 24px 24px;
    border-bottom: 0;
    border-right: 1px solid rgba(232, 196, 106, 0.18);
    background: linear-gradient(180deg, #0A1B2E 0%, #071726 52%, #050B14 100%);
    overflow-y: auto;
  }
  .rail-top { align-items: flex-start; }
  .nav-toggle { display: none; }
  .site-nav { flex: 1 1 auto; gap: 18px; margin-top: 4px; }
  .nav-caption { display: block; }
  .nav-foot { margin-top: auto; }
  .scroll-progress { left: var(--rail-w); }
}

/* 14. 页脚 ---------------------------------------------------------------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 92px);
  border-top: 1px solid rgba(232, 196, 106, 0.28);
  background: linear-gradient(180deg, #071726 0%, #050B14 62%);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background-image: repeating-linear-gradient(90deg, rgba(232, 196, 106, 0.5) 0 2px, rgba(0, 0, 0, 0) 2px 22px);
}

.footer-inner {
  width: min(var(--shell), calc(100% - var(--pad) * 2));
  margin-inline: auto;
  display: grid;
  gap: clamp(26px, 4vw, 44px);
  grid-template-columns: 1fr;
  padding: clamp(34px, 6vw, 62px) 0 clamp(20px, 3vw, 34px);
}
@media (min-width: 860px) {
  .footer-inner {
    grid-template-columns: minmax(220px, 1.1fr) minmax(0, 1.3fr) minmax(230px, 1.15fr);
  }
}

.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-note {
  padding-left: 12px;
  border-left: 2px solid rgba(232, 196, 106, 0.5);
  font-size: 14px;
  color: var(--text-mute);
}
.anchor-archive-footer { align-self: flex-start; width: 100%; max-width: 280px; }

.footer-cols {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.footer-title {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-list { display: flex; flex-direction: column; gap: 9px; }
.footer-list a {
  font-size: 15px;
  color: var(--text-soft);
  transition: color 0.2s var(--ease);
}
.footer-list a:hover { color: var(--gold); }

.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.contact-list { display: flex; flex-direction: column; gap: 10px; }
.contact-list li { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.contact-key {
  flex: 0 0 auto;
  min-width: 42px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--stone);
}
.contact-value {
  font-size: 14.5px;
  color: var(--cream);
  word-break: break-word;
}
.contact-note { font-size: 12.5px; line-height: 1.8; color: var(--stone); }

.to-top {
  align-self: flex-start;
  margin-top: 4px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(232, 196, 106, 0.42);
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.16em;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.to-top:hover { background: rgba(232, 196, 106, 0.14); border-color: var(--gold); }

.footer-base {
  width: min(var(--shell), calc(100% - var(--pad) * 2));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding: 20px 0 30px;
  border-top: 1px solid var(--line-cool);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--stone);
}
.footer-copyright { font-family: var(--font-mono); color: var(--text-mute); }
.footer-icp { color: var(--archive); }
.footer-legal {
  flex: 1 1 300px;
  min-width: 220px;
  color: rgba(138, 160, 180, 0.85);
}
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-legal-links a { color: var(--archive); transition: color 0.2s var(--ease); }
.footer-legal-links a:hover { color: var(--gold); }

/* 15. 入场与动效 ----------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@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;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .status-dot { animation: none; }
}
