/* ============================================================
   娱乐神殿会馆 · 共享站点样式 /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, h6,
p, figure, blockquote, dl, dd { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

a { color: inherit; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

/* ---------- 2. 设计变量 ---------- */
:root {
  /* 色板 */
  --ink: #0B0710;
  --ink-soft: #16101F;
  --violet: #3A1D5C;
  --violet-soft: #8B6BB8;
  --gold: #C9A227;
  --gold-line: #E8D9A0;
  --cyan: #4FB3C4;
  --crimson: #8C2B3A;
  --crimson-ink: #C4667A;
  --ivory: #F5F1E8;
  --stone: #6E6780;
  --ink-muted: #9C94AE;

  /* 线 */
  --hairline: rgba(232, 217, 160, 0.18);
  --hairline-strong: rgba(232, 217, 160, 0.38);
  --hairline-ink: rgba(11, 7, 16, 0.14);

  /* 尺寸 */
  --rail-w: 220px;
  --maxw: 1200px;
  --gutter: clamp(20px, 4vw, 56px);
  --bar-h: 56px;

  /* 字体 */
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 动效 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 160ms;
}

/* ---------- 3. 中文排版与基底 ---------- */
body {
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  padding-left: var(--rail-w);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

h1 { font-size: clamp(30px, 4.2vw, 52px); }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: clamp(19px, 2.2vw, 24px); }
h4 { font-size: 17px; font-weight: 700; }

p { text-wrap: pretty; }

strong, b { font-weight: 700; color: var(--gold-line); }

::selection { background: var(--violet); color: var(--gold-line); }

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

/* ---------- 4. 页头：框架式导航 ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: calc(var(--rail-w) + 12px);
  z-index: 200;
  padding: 10px 18px;
  background: var(--gold);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--ink);
  transform: translateY(-160%);
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 70; }

/* 阅读进度条 */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(232, 217, 160, 0.12);
  z-index: 90;
  pointer-events: none;
}
.read-progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--violet-soft) 55%, var(--gold) 100%);
  will-change: transform;
}

/* 移动端顶栏（桌面隐藏） */
.mobile-bar { display: none; }

.mobile-bar__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ivory);
}
.mobile-bar__seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.mobile-bar__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.04em;
}

.rail-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--hairline-strong);
  color: var(--ivory);
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.rail-toggle:hover { border-color: var(--gold); color: var(--gold-line); }
.rail-toggle[aria-expanded="true"] { border-color: var(--cyan); color: var(--cyan); }
.rail-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
}
.rail-toggle__bars::before,
.rail-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
}
.rail-toggle__bars::before { top: 0; }
.rail-toggle__bars::after { bottom: 0; }
.rail-toggle__text { line-height: 1; }

/* 左侧竖列导航 */
.rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  padding: 30px 18px 24px;
  background: var(--ink);
  border-right: 1px solid var(--hairline);
  z-index: 75;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.rail::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: repeating-linear-gradient(180deg, var(--hairline-strong) 0 6px, transparent 6px 18px);
  opacity: 0.55;
  pointer-events: none;
}

.rail__brand {
  display: grid;
  grid-template-columns: 38px 1fr;
  grid-template-areas:
    "seal word"
    "seal sub";
  column-gap: 12px;
  row-gap: 2px;
  align-items: center;
}
.rail__seal {
  grid-area: seal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(150deg, rgba(201, 162, 39, 0.16), transparent 70%);
}
.rail__wordmark {
  grid-area: word;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ivory);
  line-height: 1.3;
}
.rail__wordmark:hover { color: var(--gold); }
.rail__sub {
  grid-area: sub;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--stone);
  line-height: 1.2;
}

.rail__tagline {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--violet-soft);
}

.rail__nav { margin-top: 22px; }

.rail__list { display: block; }

.rail__link {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: baseline;
  gap: 8px;
  padding: 12px 8px 12px 10px;
  border-left: 2px solid transparent;
  text-decoration: none;
  color: var(--ivory);
  font-size: 15px;
  transition: color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}
.rail__link:hover {
  color: var(--gold-line);
  border-left-color: var(--gold);
  background: rgba(201, 162, 39, 0.07);
}
.rail__link[aria-current="page"] {
  color: var(--gold);
  border-left-color: var(--cyan);
  background: linear-gradient(90deg, rgba(79, 179, 196, 0.16), rgba(79, 179, 196, 0) 85%);
}
.rail__no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--violet-soft);
}
.rail__link[aria-current="page"] .rail__no { color: var(--gold); }
.rail__label { line-height: 1.45; }

.rail__foot {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
}
.rail__batch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(79, 179, 196, 0.45);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  text-decoration: none;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.rail__batch::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--cyan);
  flex: none;
}
.rail__batch:hover {
  background: rgba(79, 179, 196, 0.14);
  border-color: var(--cyan);
}
.rail__note {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--stone);
  line-height: 1.6;
}

/* ---------- 5. 页脚 ---------- */
.site-footer {
  position: relative;
  background: var(--ink);
  border-top: 1px solid var(--hairline-strong);
  padding: clamp(40px, 5vw, 64px) var(--gutter) 28px;
  color: var(--ivory);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(232, 217, 160, 0.05) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(232, 217, 160, 0.04) 0 1px, transparent 1px 96px);
  opacity: 0.7;
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  max-width: var(--maxw);
  margin: 0 auto;
}

.footer-brand__mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.04em;
}
.footer-brand__seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}
.footer-brand__line {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--stone);
  line-height: 1.9;
}
.footer-brand__cta {
  display: inline-block;
  margin-top: 18px;
  padding: 9px 16px;
  border: 1px solid var(--violet-soft);
  color: var(--gold-line);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: border-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}
.footer-brand__cta:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 162, 39, 0.08);
}

.footer-col__title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline);
}
.footer-links { margin-top: 14px; display: grid; gap: 9px; }
.footer-links a {
  font-size: 14px;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
  border-left: 1px solid transparent;
  padding-left: 0;
  display: inline-block;
}
.footer-links a:hover {
  color: var(--gold-line);
  border-left: 1px solid var(--gold);
  padding-left: 8px;
}

.footer-meta {
  position: relative;
  max-width: var(--maxw);
  margin: clamp(32px, 4vw, 48px) auto 0;
  padding-top: 26px;
  border-top: 1px dashed var(--hairline);
  display: grid;
  gap: 10px;
}

.footer-contact { display: grid; gap: 8px; }
.footer-contact__line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.footer-contact__key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--stone);
  min-width: 4.5em;
}
.footer-contact__val {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--gold-line);
  word-break: break-all;
}
.footer-contact__line--note {
  font-size: 12px;
  color: var(--stone);
  letter-spacing: 0.04em;
}

.copy-btn {
  padding: 3px 9px;
  border: 1px solid var(--hairline-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--violet-soft);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.copy-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.copy-btn[data-copy-state="done"] { border-color: var(--cyan); color: var(--cyan); }
.copy-btn[data-copy-state="fail"] { border-color: var(--crimson-ink); color: var(--crimson-ink); }
.copy-btn__label { pointer-events: none; }

.footer-address,
.footer-legal,
.footer-copy {
  font-size: 12px;
  line-height: 1.8;
  color: var(--stone);
  letter-spacing: 0.03em;
}
.footer-legal {
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

/* ---------- 6. 布局与容器 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.measure { max-width: 44rem; }

.stack { display: flex; flex-direction: column; gap: clamp(16px, 2vw, 24px); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.band { padding-block: clamp(48px, 7vw, 96px); }
.band--dark { background: var(--ink); color: var(--ivory); }
.band--violet { background: var(--violet); color: var(--ivory); }
.band--paper { background: var(--ivory); color: var(--ink); }

.band--paper .lede { color: #3d3650; }
.band--paper .kicker { color: var(--stone); }
.band--paper .rule {
  background: linear-gradient(90deg, rgba(11, 7, 16, 0.28), rgba(11, 7, 16, 0));
}
.band--paper .chapter { border-top-color: var(--hairline-ink); }
.band--paper .chapter__no { color: var(--stone); }
.band--paper .chapter__intro { color: var(--stone); }
.band--paper .plate {
  background: #FFFFFF;
  border-color: rgba(11, 7, 16, 0.14);
}
.band--paper .plate__head {
  color: var(--violet);
  border-bottom-color: rgba(11, 7, 16, 0.12);
}
.band--paper .plate__body { color: #443c56; }
.band--paper .plate__foot {
  border-top-color: rgba(11, 7, 16, 0.14);
  color: var(--stone);
}

/* ---------- 7. 叙事文字件 ---------- */
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--violet-soft);
  line-height: 1.4;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

.lede {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.8;
  color: var(--gold-line);
  max-width: 46rem;
  letter-spacing: 0.01em;
}

.rule {
  height: 1px;
  border: 0;
  margin-block: clamp(24px, 3vw, 40px);
  background: linear-gradient(90deg, var(--hairline-strong), rgba(232, 217, 160, 0));
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--stone);
}
.breadcrumb a {
  color: var(--violet-soft);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb__sep { color: var(--hairline-strong); }
.breadcrumb [aria-current="page"] { color: var(--gold-line); }

/* ---------- 8. 章节 ---------- */
.chapter {
  position: relative;
  padding-block: clamp(40px, 6vw, 80px);
  border-top: 1px solid var(--hairline);
}
.chapter__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--violet-soft);
  transition: color 400ms var(--ease);
}
.chapter[data-revealed] .chapter__no { color: var(--gold); }
.chapter__title { margin-top: 10px; }
.chapter__intro {
  margin-top: 14px;
  max-width: 46rem;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-muted);
}

/* ---------- 9. 专题研究板 ---------- */
.plate-layout {
  display: grid;
  gap: clamp(14px, 2vw, 20px);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.plate {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 16px;
  background: var(--ink-soft);
  border: 1px solid var(--hairline);
  text-align: left;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.plate:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}
.plate__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}
.plate__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ivory);
}
.plate__body {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-muted);
}
.plate__foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--hairline);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--violet-soft);
}

/* ---------- 10. 镜像对照台 ---------- */
.mirror {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  background: var(--ink-soft);
  border: 1px solid var(--hairline);
}
.mirror__col { padding: 22px clamp(16px, 2.4vw, 28px); min-width: 0; }
.mirror__divider {
  background: linear-gradient(180deg, transparent, var(--gold) 18%, var(--gold) 82%, transparent);
  opacity: 0.75;
}
.mirror__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold-line);
}

/* ---------- 11. 标签与按钮 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.tag--cyan { color: var(--cyan); background: rgba(79, 179, 196, 0.1); }
.tag--crimson { color: var(--crimson-ink); background: rgba(140, 43, 58, 0.16); }
.tag--gold { color: var(--gold); background: rgba(201, 162, 39, 0.1); }
.tag--violet { color: var(--violet-soft); background: rgba(139, 107, 184, 0.12); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--violet);
  border-color: var(--violet);
  color: var(--ivory);
}
.btn--primary:hover {
  background: #4a2570;
  border-color: var(--gold);
  color: var(--gold-line);
}
.btn--ghost {
  background: transparent;
  border-color: var(--hairline-strong);
  color: var(--gold-line);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 162, 39, 0.08);
}
.band--paper .btn--ghost {
  border-color: rgba(58, 29, 92, 0.4);
  color: var(--violet);
}
.band--paper .btn--ghost:hover {
  border-color: var(--violet);
  background: rgba(58, 29, 92, 0.06);
  color: var(--violet);
}

/* ---------- 12. 索引清单 ---------- */
.index-list { border-top: 1px solid var(--hairline); }
.index-list li { border-bottom: 1px solid var(--hairline); }
.index-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 4px;
  font-size: 15px;
  color: var(--ivory);
  text-decoration: none;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.index-list a:hover {
  color: var(--gold);
  background: rgba(201, 162, 39, 0.07);
}
.index-list__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--violet-soft);
  white-space: nowrap;
}
.band--paper .index-list { border-top-color: var(--hairline-ink); }
.band--paper .index-list li { border-bottom-color: var(--hairline-ink); }
.band--paper .index-list a { color: var(--ink); }
.band--paper .index-list a:hover { color: var(--violet); background: rgba(58, 29, 92, 0.06); }
.band--paper .index-list__meta { color: var(--stone); }

/* ---------- 13. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(150deg, var(--violet) 0%, var(--ink-soft) 58%, var(--ink) 100%);
  border: 1px solid var(--hairline);
}
.media-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.06);
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(11, 7, 16, 0.3) 0 1px, transparent 1px 3px);
  opacity: 0.5;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-frame__label {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 4px 10px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.media-frame__caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--violet-soft);
  line-height: 1.7;
}
.band--paper .media-frame__caption { color: var(--stone); }
.band--paper .media-frame { border-color: var(--hairline-ink); }

/* ---------- 14. 显现动效 ---------- */
html.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}
html.js-reveal [data-reveal][data-revealed] {
  opacity: 1;
  transform: none;
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}

/* ---------- 15. 平板 ---------- */
@media (max-width: 1100px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- 16. 移动端：抽屉导航 ---------- */
@media (max-width: 900px) {
  body {
    padding-left: 0;
    padding-top: var(--bar-h);
  }

  .skip-link { left: 12px; }

  .mobile-bar {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--bar-h);
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
    background: var(--ink);
    border-bottom: 1px solid var(--hairline-strong);
    z-index: 85;
  }

  .rail {
    width: min(84vw, 320px);
    padding-top: calc(var(--bar-h) + 20px);
    transform: translateX(-100%);
    transition: transform 240ms var(--ease);
    box-shadow: 0 0 0 1px var(--hairline);
  }
  .rail[data-open] { transform: translateX(0); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (min-width: 901px) {
  .rail[data-open] { transform: none; }
}

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

  .mirror {
    grid-template-columns: minmax(0, 1fr);
  }
  .mirror__divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
  }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .plate { padding: 16px 16px 14px; }
  .chapter { padding-block: 34px; }
}

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

  html.js-reveal [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

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