/* ==========================================================================
   PG俱乐部 · 共享样式表 /assets/site.css
   夜航控制台：深海蓝机身 / 霓虹青轨道 / 暖金操作口 / 米白阅读区
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

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

ul, ol { padding: 0; }
ul[class], ol[class] { list-style: none; }

img, svg, video { display: block; max-width: 100%; }

button, input, select, textarea { font: inherit; color: inherit; }

a { color: inherit; }

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

/* --- 2. 变量 ------------------------------------------------------------ */
:root {
  --abyss-950: #04121E;
  --abyss-800: #0A2135;
  --hull-700: #123A55;
  --neon-400: #46E0C8;
  --neon-200: #A6F5E6;
  --gold-400: #E9B44C;
  --moss-500: #6F8F63;
  --clay-500: #B4735A;
  --paper-100: #F4F1E8;
  --ink-900: #10161C;
  --stone-300: #A9B7C0;

  --line-neon: rgba(166, 245, 230, 0.16);
  --line-soft: rgba(169, 183, 192, 0.24);
  --glass-soft: rgba(10, 33, 53, 0.62);
  --glass-strong: rgba(4, 18, 30, 0.88);

  --shell-max: 1440px;
  --gutter: 32px;
  --gap: 24px;
  --r-card: 24px;
  --r-media: 32px;
  --r-pill: 999px;

  --font-sans: "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(.2, .7, .3, 1);
  --t-fast: 160ms;
  --t-base: 240ms;

  --header-h: 84px;
  --header-h-sm: 62px;
}

/* --- 3. 基础排版 -------------------------------------------------------- */
body {
  min-height: 100vh;
  background-color: var(--abyss-950);
  background-image:
    radial-gradient(1100px 640px at 84% -14%, rgba(70, 224, 200, 0.14), transparent 62%),
    radial-gradient(880px 520px at 2% 6%, rgba(233, 180, 76, 0.08), transparent 60%),
    linear-gradient(180deg, #04121E 0%, #061A2A 46%, #04121E 100%);
  color: var(--paper-100);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  padding-top: calc(var(--header-h) + 38px);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#main-content { display: block; scroll-margin-top: 128px; }

::selection { background: rgba(70, 224, 200, 0.3); color: var(--paper-100); }

/* --- 4. 布局骨架 -------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}
.grid > * { min-width: 0; }

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

.section { padding-block: clamp(56px, 8vw, 120px); }
.section--tight { padding-block: clamp(32px, 5vw, 64px); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: clamp(24px, 4vw, 48px);
}

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--line-soft) 12%, var(--line-soft) 88%, transparent);
}

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

/* --- 5. 文字层级 -------------------------------------------------------- */
.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neon-200);
}

.index-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--neon-200);
}
.index-label::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.display {
  font-size: clamp(40px, 7vw, 104px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--paper-100);
}

.h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}

.lede {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.7;
  color: var(--stone-300);
  max-width: 30em;
}

.mono {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
}

/* --- 6. 正文阅读区 ------------------------------------------------------ */
.prose { font-size: 17px; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose p { max-width: 34em; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 500; line-height: 1.25; }
.prose h3 { font-size: 20px; font-weight: 500; }
.prose ul { display: grid; gap: 0.5em; padding-left: 1.1em; list-style: disc; }
.prose a { color: var(--neon-200); text-underline-offset: 3px; }

.reading-block {
  background: var(--paper-100);
  color: var(--ink-900);
  border-radius: var(--r-card);
  padding: clamp(24px, 3.4vw, 48px);
  box-shadow: 0 26px 64px rgba(4, 18, 30, 0.5);
}
.reading-block .prose a { color: #0B5A50; }
.reading-block .eyebrow { color: #3D6B5E; }
.reading-block .index-label { color: #2F6B5C; }

/* --- 7. 按钮 / 胶囊 / 标签 ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition:
    background var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}

.btn--gold {
  background: var(--gold-400);
  color: var(--ink-900);
  box-shadow: 0 12px 30px rgba(233, 180, 76, 0.22);
}
.btn--gold:hover { background: #F3C566; box-shadow: 0 16px 38px rgba(233, 180, 76, 0.34); }

.btn--neon { background: var(--neon-400); color: var(--ink-900); }
.btn--neon:hover { background: var(--neon-200); }

.btn--ghost {
  background: rgba(18, 58, 85, 0.35);
  color: var(--paper-100);
  border-color: rgba(166, 245, 230, 0.28);
}
.btn--ghost:hover {
  border-color: rgba(166, 245, 230, 0.68);
  background: rgba(18, 58, 85, 0.62);
}

.btn--sm { padding: 9px 16px; font-size: 13px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: rgba(18, 58, 85, 0.5);
  border: 1px solid rgba(166, 245, 230, 0.18);
  font-size: 13px;
  color: var(--stone-300);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.pill:hover { color: var(--neon-200); border-color: rgba(166, 245, 230, 0.5); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(70, 224, 200, 0.3);
  background: rgba(70, 224, 200, 0.14);
  color: var(--neon-200);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tag--clay {
  background: rgba(180, 115, 90, 0.18);
  border-color: rgba(180, 115, 90, 0.5);
  color: #E7B49F;
}
.tag--moss {
  background: rgba(111, 143, 99, 0.2);
  border-color: rgba(111, 143, 99, 0.55);
  color: #C6D9BC;
}

/* --- 8. 面包屑 ---------------------------------------------------------- */
.breadcrumbs { margin-bottom: 24px; }
.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--stone-300);
}
.breadcrumbs__item { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  color: rgba(166, 245, 230, 0.5);
}
.breadcrumbs__link { color: var(--stone-300); text-decoration: none; }
.breadcrumbs__link:hover { color: var(--neon-200); }
.breadcrumbs__current { color: var(--neon-200); }

/* --- 9. 图像容器（供页面阶段放置占位） ---------------------------------- */
.media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line-neon);
  border-radius: var(--r-media);
  background:
    radial-gradient(120% 130% at 12% -10%, rgba(70, 224, 200, 0.2), transparent 58%),
    radial-gradient(90% 90% at 100% 110%, rgba(233, 180, 76, 0.14), transparent 60%),
    linear-gradient(158deg, #0A2135 0%, #04121E 72%);
}
.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }

.media__img,
.media > img,
.media > svg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--grid::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(166, 245, 230, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(166, 245, 230, 0.1) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(72% 72% at 50% 45%, #000 30%, transparent 100%);
  mask-image: radial-gradient(72% 72% at 50% 45%, #000 30%, transparent 100%);
}

.media__plate {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 14px;
  border: 1px solid rgba(166, 245, 230, 0.22);
  border-radius: 14px;
  background: rgba(4, 18, 30, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.media__plate-index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--neon-200);
}
.media__plate-text { font-size: 13px; color: var(--paper-100); }

.media__caption {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(169, 183, 192, 0.85);
}

.orbit-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(166, 245, 230, 0.14);
  border-radius: 50%;
}
.orbit-art::before,
.orbit-art::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(166, 245, 230, 0.14);
  border-radius: 50%;
}
.orbit-art::before { inset: 14%; }
.orbit-art::after { inset: 30%; border-color: rgba(233, 180, 76, 0.24); }
.orbit-art__core {
  width: 12%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--neon-400);
  box-shadow: 0 0 44px rgba(70, 224, 200, 0.6);
  animation: orbitPulse 7s ease-in-out infinite;
}
@keyframes orbitPulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

/* --- 10. 卡片 / 数据 / 步骤 / 展开行 ------------------------------------ */
.card {
  border: 1px solid var(--line-neon);
  border-radius: var(--r-card);
  padding: clamp(20px, 2.6vw, 32px);
  background: linear-gradient(160deg, rgba(18, 58, 85, 0.55), rgba(4, 18, 30, 0.85));
}
.card--focus {
  border-color: rgba(70, 224, 200, 0.45);
  box-shadow: 0 30px 70px rgba(4, 18, 30, 0.6), inset 0 0 0 1px rgba(70, 224, 200, 0.12);
}
.card--index { background: rgba(10, 33, 53, 0.5); }

.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--neon-200);
}
.stat__label { font-size: 13px; color: var(--stone-300); }

.steps { counter-reset: step; display: grid; gap: 16px; }
.steps__item {
  position: relative;
  padding-left: 46px;
  font-size: 16px;
  color: var(--stone-300);
}
.steps__item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(166, 245, 230, 0.3);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon-200);
}

.disclosure {
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}
.disclosure[open] {
  border-left: 2px solid var(--clay-500);
  padding-left: 18px;
}
.disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--neon-200);
}
.disclosure[open] summary::after { content: "–"; }
.disclosure__body {
  margin-top: 12px;
  max-width: 34em;
  font-size: 16px;
  color: var(--stone-300);
}

/* --- 11. 分段切换 ------------------------------------------------------- */
.tabs { display: flex; flex-direction: column; gap: 24px; }
.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  padding: 6px;
  border: 1px solid var(--line-neon);
  border-radius: var(--r-pill);
  background: rgba(10, 33, 53, 0.7);
}
.tabs__tab {
  appearance: none;
  border: 0;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--stone-300);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.tabs__tab:hover { color: var(--neon-200); }
.tabs__tab[aria-selected="true"] {
  background: var(--neon-400);
  color: var(--ink-900);
}
.tabs__panel { animation: panelIn var(--t-base) var(--ease) both; }
.tabs__panel[hidden] { display: none; }

@keyframes panelIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* --- 12. 显现动效 ------------------------------------------------------- */
[data-reveal].reveal-armed {
  opacity: 0;
  transform: translateY(12px);
}
[data-reveal] {
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* --- 13. 页头 ----------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: 8px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--gold-400);
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform var(--t-base) var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  padding: 12px clamp(12px, 3vw, 32px) 0;
}

.header__shell {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  width: 100%;
  max-width: var(--shell-max);
  min-height: var(--header-h);
  margin-inline: auto;
  padding: 10px clamp(14px, 2vw, 26px);
  border: 1px solid rgba(166, 245, 230, 0.1);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(10, 33, 53, 0.78), rgba(4, 18, 30, 0.66));
  box-shadow: 0 18px 50px rgba(4, 18, 30, 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  transition:
    min-height var(--t-base) var(--ease),
    border-radius var(--t-base) var(--ease),
    background var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease);
}

.site-header[data-compact] .header__shell {
  min-height: var(--header-h-sm);
  border-radius: var(--r-pill);
  border-color: rgba(166, 245, 230, 0.22);
  background: rgba(4, 18, 30, 0.88);
  box-shadow: 0 14px 40px rgba(4, 18, 30, 0.72);
}
.site-header[data-compact] .brand__latin,
.site-header[data-compact] .header__status {
  opacity: 0;
  visibility: hidden;
}
.site-header[data-compact] .site-nav__index { display: none; }

.header__left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper-100);
  text-decoration: none;
}
.brand__mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(70, 224, 200, 0.4);
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(70, 224, 200, 0.22), rgba(18, 58, 85, 0.6));
}
.brand__glyph { width: 20px; height: 20px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand__latin {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--neon-200);
  transition: opacity var(--t-fast) var(--ease), visibility var(--t-fast) var(--ease);
}

.header__home-anchor {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 16px;
  font-size: 13px;
  color: var(--stone-300);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease);
}
.header__home-anchor::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 22px;
  background: var(--line-soft);
  transform: translateY(-50%);
}
.header__home-anchor:hover { color: var(--neon-200); }
.header__home-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-400);
  box-shadow: 0 0 0 4px rgba(70, 224, 200, 0.15);
}

.header__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(166, 245, 230, 0.7);
  transition: opacity var(--t-fast) var(--ease), visibility var(--t-fast) var(--ease);
}
.header__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-400);
  animation: statusPulse 2.6s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.site-nav { justify-self: center; min-width: 0; }
.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.site-nav__item { display: inline-flex; }
.site-nav__link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px transparent;
  color: var(--stone-300);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color var(--t-fast) var(--ease),
    background var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}
.site-nav__link:hover {
  color: var(--neon-200);
  background: rgba(70, 224, 200, 0.06);
  box-shadow: inset 0 0 0 1px rgba(70, 224, 200, 0.32);
}
.site-nav__link[aria-current="page"] {
  background: var(--neon-400);
  color: var(--abyss-950);
  box-shadow: 0 6px 20px rgba(70, 224, 200, 0.28);
}
.site-nav__index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  opacity: 0.72;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}
.header__cta { white-space: nowrap; }
.header__cta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--abyss-950);
  opacity: 0.75;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(166, 245, 230, 0.35);
  border-radius: 50%;
  background: rgba(18, 58, 85, 0.55);
  color: var(--paper-100);
  cursor: pointer;
}
.nav-toggle__bars { position: absolute; inset: 0; display: block; }
.nav-toggle__bars span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 15px; }
.nav-toggle__bars span:nth-child(2) { top: 22px; opacity: 0.75; }
.nav-toggle__bars span:nth-child(3) { top: 29px; }

.header__rail {
  position: absolute;
  left: clamp(14px, 2vw, 26px);
  right: clamp(14px, 2vw, 26px);
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: rgba(166, 245, 230, 0.1);
  overflow: hidden;
  pointer-events: none;
}
.header__rail-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--neon-400), var(--gold-400));
  opacity: 0;
  transition: width 120ms linear, opacity var(--t-base) var(--ease);
}

/* --- 14. 页脚 ----------------------------------------------------------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 120px);
  padding: clamp(48px, 6vw, 88px) 0 32px;
  border-top: 1px solid var(--line-neon);
  background:
    radial-gradient(760px 320px at 82% 0%, rgba(70, 224, 200, 0.12), transparent 62%),
    linear-gradient(180deg, #04121E 0%, #0A2135 62%, #04121E 100%);
  color: var(--stone-300);
  font-size: 15px;
}

.footer__shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 46ch;
}
.footer__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--neon-200);
}
.footer__name {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--paper-100);
}
.footer__tagline {
  max-width: 24em;
  font-size: 15px;
  color: var(--stone-300);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.footer__contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.footer__contact-row--wide { align-items: flex-start; }
.footer__label {
  flex: none;
  min-width: 62px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(169, 183, 192, 0.8);
}
.footer__value {
  color: var(--paper-100);
  border-bottom: 1px solid rgba(166, 245, 230, 0.22);
  word-break: break-word;
}
.footer__copybtn {
  padding: 4px 10px;
  border: 1px solid rgba(166, 245, 230, 0.28);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--neon-200);
  font-family: var(--font-mono);
  font-size: 11px;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.footer__copybtn:hover { border-color: rgba(166, 245, 230, 0.7); }
.footer__copybtn[data-copied="true"] {
  border-color: var(--gold-400);
  color: var(--gold-400);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-content: start;
}
.footer__col { min-width: 0; }
.footer__coltitle {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(166, 245, 230, 0.75);
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  color: var(--stone-300);
  font-size: 15px;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.footer__links a:hover { color: var(--neon-200); }

.footer__note {
  grid-column: 1 / -1;
  max-width: 70ch;
  padding-top: 4px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(169, 183, 192, 0.8);
}

.footer__bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line-neon);
}
.footer__closing,
.footer__legal {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(169, 183, 192, 0.78);
}

/* --- 15. 响应式 --------------------------------------------------------- */
@media (max-width: 1280px) {
  .header__status { display: none; }
}

@media (max-width: 1100px) {
  :root { --gutter: 24px; }
  .site-nav__link { padding: 8px 10px; font-size: 13.5px; }
  .site-nav__index { display: none; }
}

@media (max-width: 1000px) {
  .footer__shell { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  :root { --gutter: 18px; }

  body {
    padding-top: calc(var(--header-h-sm) + 30px);
    padding-bottom: 108px;
  }

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

  .site-header { padding: 0; }

  .header__shell {
    grid-template-columns: minmax(0, 1fr);
    min-height: var(--header-h-sm);
    padding: 12px 16px;
    border-width: 0 0 1px;
    border-radius: 0 0 22px 22px;
    background: rgba(4, 18, 30, 0.9);
  }
  .site-header[data-compact] .header__shell { border-radius: 0 0 22px 22px; }
  .site-header[data-compact] .brand__latin { opacity: 1; visibility: visible; }

  .header__actions { display: contents; }
  .header__status { display: none; }

  .header__cta {
    position: fixed;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 140;
    padding: 12px 18px;
    font-size: 13.5px;
    box-shadow: 0 14px 34px rgba(233, 180, 76, 0.34);
  }

  .nav-toggle {
    display: block;
    position: fixed;
    left: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 140;
    background: rgba(10, 33, 53, 0.92);
  }

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 130;
    max-height: 76vh;
    overflow-y: auto;
    padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(166, 245, 230, 0.16);
    background: linear-gradient(180deg, rgba(4, 18, 30, 0.72), rgba(4, 18, 30, 0.97) 45%);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    transition: padding var(--t-base) var(--ease);
  }

  .site-nav__list {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    padding: 0 12px 0 66px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x proximity;
  }
  .site-nav__list::-webkit-scrollbar { display: none; }
  .site-nav__list::after {
    content: "";
    flex: 0 0 118px;
  }
  .site-nav__link {
    padding: 11px 16px;
    border-radius: var(--r-pill);
    background: rgba(18, 58, 85, 0.6);
    box-shadow: inset 0 0 0 1px rgba(166, 245, 230, 0.12);
    scroll-snap-align: start;
    font-size: 14px;
  }
  .site-nav__index { display: none; }

  .site-header[data-open] .site-nav { padding-top: 54px; }
  .site-header[data-open] .site-nav::before {
    content: "栏目索引";
    position: absolute;
    top: 18px;
    left: 20px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--neon-200);
  }
  .site-header[data-open] .site-nav__list {
    flex-wrap: wrap;
    padding: 0 16px;
    gap: 10px;
    overflow: visible;
    scroll-snap-type: none;
  }
  .site-header[data-open] .site-nav__list::after { display: none; }
  .site-header[data-open] .site-nav__link {
    flex: 0 0 calc(50% - 5px);
    justify-content: flex-start;
    padding: 14px 16px;
  }
  .site-header[data-open] .site-nav__index { display: inline; }
  .site-header[data-open] .nav-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header[data-open] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
  .site-header[data-open] .nav-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .header__rail { left: 16px; right: 16px; bottom: 4px; }

  .media { border-radius: 24px; }

  .tabs__list { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .tabs__tab { white-space: nowrap; }
}

@media (max-width: 720px) {
  .header__home-anchor { display: none; }
  .brand__name { font-size: 17px; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__contact-row--wide { flex-direction: column; gap: 4px; }
}

@media (max-width: 420px) {
  .footer__cols { grid-template-columns: minmax(0, 1fr); }
  .header__cta { padding: 11px 14px; font-size: 12.5px; }
}

/* --- 16. 减弱动效 ------------------------------------------------------- */
@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].reveal-armed,
  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .header__rail-fill { transition: none; }
}
