/* ═══════════════════════════════════════════════════════════
   Interactive Research Report · base theme (copy verbatim as css/style.css)
   White surface / deep-navy ink / electric-blue accent.
   Editorial quote/note system (no left-border cards), magazine
   term columns, borderless right rail, tightened per-chart palette.
   ═══════════════════════════════════════════════════════════ */
:root {
  /* 疗愈暖调 · 米白纸面 / 深咖墨 / 焦糖强调（用户指定暖调，覆盖原生纸白墨蓝） */
  --paper: #faf5ec;
  --paper-hi: #f4ecdc;      /* panel */
  --ink: #3a2c22;           /* deep coffee ink */
  --ink-md: #6f5c4b;
  --ink-lo: #a89478;
  --line: #e4d8c3;
  --line-lo: #f0e8d8;
  --red: #b26a2e;           /* LEGACY ACCENT SLOT → caramel */
  --red-hi: #8a4d1c;
  --blue: #8a4d1c;          /* deep caramel (links, secondary emphasis) */
  --blue-soft: #d9a86c;     /* light caramel (tertiary series) */
  --copper: #b07a10;
  --green: #5d7d5a;
  --gold: #b07a10;
  --neg: #b04a3a;           /* semantic negative — 陶土红：declines, risk, missing */
  --serif: "et-book", "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "Noto Serif SC", "SimSun", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "et-book", "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "Noto Serif SC", "SimSun", "Iowan Old Style", Palatino, Georgia, serif;
  --mono: Menlo, Consolas, "SF Mono", "Liberation Mono", "DejaVu Sans Mono", ui-monospace, "Songti SC", monospace;
  --shadow: 0 1px 2px rgba(58,44,34,.05), 0 8px 28px rgba(58,44,34,.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  --railw: 460px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  letter-spacing: 0.001em;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(178,106,46,.18); }
b, strong { font-weight: 700; }
em { font-style: normal; color: var(--red); font-weight: 700; }
a { color: var(--blue); }

/* ── Era progress rail (top) ── */
#era-rail {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 22px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  pointer-events: none;
  visibility: hidden; transform: translateY(-110%);
  transition: transform .4s ease, visibility 0s linear .4s;
}
#era-rail.on { visibility: visible; transform: none; transition: transform .4s ease; }
.rail-year {
  font-family: var(--mono); font-weight: 700; font-size: 14px;
  border: 1.5px solid var(--ink); border-radius: 4px;
  padding: 2px 10px; background: var(--paper);
  font-variant-numeric: tabular-nums;
}
.rail-track { flex: 1; height: 18px; position: relative; }
.rail-track .seg {
  position: absolute; top: 8px; height: 2px; background: var(--line);
  pointer-events: auto; cursor: pointer;
}
.rail-track .seg.active { background: var(--red); height: 4px; top: 7px; }
.rail-track .seg .seg-label {
  position: absolute; top: -14px; left: 0; font-family: var(--mono);
  font-size: 9px; color: var(--ink-lo); white-space: nowrap; letter-spacing: .04em;
}
.rail-track .seg.active .seg-label { color: var(--red); font-weight: 700; }

/* ── Cover ── */
#cover { position: relative; min-height: 100vh; overflow: hidden; }
#cover-canvas, #cover-canvas-x, #cover-canvas-w { position: absolute; inset: 0; width: 100%; height: 100%; }

/* cover artwork variant switch */
.cover-mode { margin-top: 22px; display: flex; gap: 8px; align-items: center; }
.cover-mode::before {
  content: "COVER"; font-family: var(--mono); font-size: 9px;
  letter-spacing: .22em; color: var(--ink-lo); margin-right: 4px;
}
.cover-mode button {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em;
  color: var(--ink-md); background: rgba(255,255,255,.7);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 13px;
  cursor: pointer; transition: border-color .15s, color .15s;
}
.cover-mode button.on { border-color: var(--red); color: var(--red); }
.cover-mode button:hover { border-color: var(--ink); color: var(--ink); }
.cover-inner {
  position: relative; z-index: 2; max-width: 1120px;
  margin: 0 auto; padding: 11vh 24px 60px;
}
.cover-kicker {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .28em;
  color: var(--red); margin-bottom: 26px; text-transform: uppercase;
}
.cover-title {
  font-size: clamp(44px, 6.6vw, 78px); font-weight: 700;
  line-height: 1.08; letter-spacing: -0.008em;
}
.cover-title .cover-num { color: var(--red); display: inline-block; font-size: .52em; letter-spacing: .02em; white-space: nowrap; margin-top: .18em; }
.cover-sub {
  font-size: clamp(18px, 2.2vw, 26px); font-weight: 700; color: var(--ink-md);
  margin: 20px 0 26px; letter-spacing: 0; max-width: 620px;
}
.cover-lede { max-width: 620px; font-size: 16.5px; color: var(--ink-md); line-height: 1.75; }
@media (max-width: 1450px) {
  .cover-sub { max-width: 540px; }
  .cover-lede { max-width: 540px; }
}
.chain {
  font-family: var(--mono); font-size: 13.5px; font-weight: 700; color: var(--ink);
  background: var(--paper-hi); border: 1px solid var(--line); border-radius: 4px;
  padding: 1px 8px; white-space: nowrap;
}
.cover-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 26px; }
.chip {
  font-family: var(--sans); font-size: 13.5px; font-weight: 700;
  color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--ink); border-radius: 6px; padding: 8px 18px; cursor: pointer;
  transition: all .15s;
}
.chip:hover { background: var(--red); border-color: var(--red); color: #fff; }
.cover-anchor { font-size: 12.5px; color: var(--ink-lo); font-family: var(--mono); letter-spacing: .01em; display: block; max-width: 660px; }
.scroll-hint {
  margin-top: 7vh; font-family: var(--mono); font-size: 11px; color: var(--ink-lo);
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; letter-spacing: .3em;
  width: max-content;
}
.scroll-hint span { margin-left: 22px; }
.scroll-hint span {
  display: block; width: 1px; height: 44px;
  background: linear-gradient(var(--red), transparent);
}

/* ── Section band ── */
.band { padding: 72px 0 64px; border-top: 1px solid var(--line-lo); }
.prose {
  max-width: 692px;
  margin: 0 auto;
  padding: 0 28px;
}
.wide {
  /* symmetric figure bleed around the 692px prose column (V3 pattern) */
  max-width: 800px;
  margin: 36px auto;
  padding: 0 28px;
}
.wide.xl { max-width: 924px; }
.sec-no {
  font-family: var(--mono); font-size: 11px; letter-spacing: .26em;
  color: var(--red); margin-bottom: 14px; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.sec-no::before {
  content: ""; flex: 0 0 26px; height: 3px;
  background: var(--red);
}
.season-band .sec-no, .band.s-s1 .sec-no, .band.s-s2 .sec-no, .band.s-s3 .sec-no { color: var(--season); }
.season-band .sec-no::before, .band.s-s1 .sec-no::before, .band.s-s2 .sec-no::before, .band.s-s3 .sec-no::before { background: var(--season); }
h2 { font-family: var(--sans); font-size: clamp(27px, 3.1vw, 38px); font-weight: 700; line-height: 1.22; letter-spacing: -0.005em; margin-bottom: 22px; max-width: 20em; }
.band.s-s1 h2, .band.s-s2 h2, .band.s-s3 h2 { color: var(--season); }
h3 { font-family: var(--sans); font-size: 21px; font-weight: 700; line-height: 1.4; letter-spacing: -0.01em; margin-bottom: 14px; }
.sub-h { margin-top: 26px; }
.prose p { margin-bottom: 18px; }
.muted { color: var(--ink-lo); font-size: 14px; }
.hint-click { font-size: 13px; color: var(--blue); border-bottom: 1px dashed var(--blue); white-space: nowrap; }
.era-tag {
  display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
  color: var(--red); margin-bottom: 8px; font-weight: 400; text-transform: uppercase;
  padding-left: 14px; position: relative;
}
.era-tag::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; background: var(--red);
}
.laws { list-style: none; margin: 8px 0 16px; }
.laws li {
  padding: 11px 0; border-bottom: 1px solid var(--line-lo);
  margin: 0;
}
.laws li:first-child { border-top: 1px solid var(--line-lo); }

/* ── Analyst note · editorial rules, no card chrome ── */
.note-box {
  border: 0; background: transparent; box-shadow: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 30px 0 26px;
  padding: 14px 0 16px;
  font-size: 13.5px; color: var(--ink-md); line-height: 1.8;
}
.note-box::before {
  content: "Analyst note";
  display: block;
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-lo); margin-bottom: 8px;
}
.note-box p { margin-bottom: 10px; }
.note-box p:last-child { margin-bottom: 0; }
.degrade-note {
  font-family: var(--mono); font-size: 12px; color: var(--neg);
  border: 1px dashed var(--neg); border-radius: 4px; padding: 8px 12px; background: rgba(176,74,58,.05);
}

/* ── Rail cross-reference note (hidden when the rail is hidden) ── */
.rail-note {
  font-family: var(--mono); font-size: 11px; color: var(--ink-lo);
  line-height: 1.7; letter-spacing: .02em;
  margin: 22px 0 18px; padding-left: 16px; position: relative;
}
.rail-note::before { content: "→"; position: absolute; left: 0; color: var(--red); }
@media (max-width: 1180px) { .rail-note { display: none; } }

/* Chart containers */
.chart-frame {
  background: transparent; border: 0; box-shadow: none;
  padding: 8px 0 4px; position: relative;
}
.chart-title { font-weight: 700; font-size: 17.5px; letter-spacing: -0.01em; margin: 0 0 3px 0; }
.chart-sub { font-family: var(--mono); font-size: 10.5px; color: var(--ink-lo); margin: 0 0 14px 0; letter-spacing: .04em; padding-bottom: 8px; border-bottom: 1px solid var(--line-lo); }
.chart-src { font-family: var(--mono); font-size: 10px; color: var(--ink-lo); margin: 10px 0 4px; }
.chart-frame svg text { font-family: var(--mono); }

/* metric strip */
.metric-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  margin-top: 14px; box-shadow: var(--shadow);
}
.metric-strip .m {
  background: var(--paper); padding: 14px 16px; cursor: pointer; transition: background .15s;
}
.metric-strip .m:hover { background: var(--paper-hi); }
.metric-strip .m .v { font-family: var(--mono); font-size: 20px; font-weight: 700; color: var(--red); font-variant-numeric: tabular-nums; }
.metric-strip .m .k { font-size: 12px; color: var(--ink-md); margin-top: 3px; line-height: 1.5; }

/* source button ◆ */
.src {
  border: 0; background: none; color: var(--red); cursor: pointer;
  font-size: 10px; vertical-align: super; padding: 0 2px; font-family: var(--mono);
}
.src:hover { color: var(--red-hi); }

/* ── Chronicle sticky layout ── */
#chronicle { position: relative; border-top: 1px solid var(--line-lo); }
.chron-grid {
  display: grid; grid-template-columns: minmax(380px, 44%) 1fr;
  max-width: 1440px; margin: 0 auto; gap: 0;
}
.chron-text { padding: 40px 20px 40px 40px; }
.step { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; padding: 44px 24px 44px 0; max-width: 620px; }
.step.active-step h3 { color: var(--ink); }
.chron-dash { position: relative; }
.dash-inner {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 28px;
}

/* Chronicle inline mini-charts */
.inline-chart {
  margin: 20px 0; background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: var(--shadow); padding: 14px 12px 8px;
}
.inline-chart svg text { font-family: var(--mono); }
.inline-chart .ic-title { font-weight: 700; font-size: 13.5px; margin: 0 0 2px 4px; font-family: var(--sans); }
.inline-chart .ic-src { font-family: var(--mono); font-size: 9.5px; color: var(--ink-lo); margin: 6px 4px 2px; }

/* ── Pull-quote · editorial (heavy top rule, hairline bottom — no tinted card) ── */
.quote-card {
  margin: 46px 0 40px; position: relative;
  background: transparent;
  border: 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 24px 2px 20px;
  transform: none;
}
.quote-card::after { content: none; }
.quote-card::before {
  content: "From the record";
  display: block;
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-lo); margin-bottom: 14px;
}
.quote-card:nth-of-type(even) { transform: none; }
.quote-card .q-mark { display: none; }
.quote-card .q-badges { display: none; }
.quote-card .q-zh { display: none; }
.quote-card .q-text {
  font-size: 22px; font-style: italic;
  font-family: var(--serif); color: var(--ink);
  line-height: 1.52; margin-bottom: 14px; letter-spacing: -0.005em;
  text-wrap: balance;
}
.quote-card .q-who {
  font-family: var(--sans); font-size: 12px; color: var(--ink-md);
  text-transform: uppercase; letter-spacing: .08em;
}
.quote-card .q-who b { color: var(--ink); font-weight: 700; }
.quote-card .q-why {
  margin-top: 14px; padding-top: 12px; border-top: 1px dotted var(--line);
  font-size: 13px; color: var(--ink-md); line-height: 1.7; display: block;
}
.quote-card .q-lab {
  font-family: var(--mono); font-size: 9.5px; color: var(--ink-lo);
  margin-right: 6px; letter-spacing: .12em; text-transform: uppercase;
}
.quote-card .q-lab.why { color: var(--red); margin-left: 10px; }
.quote-card .q-src { font-family: var(--mono); font-size: 10px; color: var(--ink-lo); margin-left: 8px; }

/* drill card */
#drill-card {
  position: fixed; z-index: 200; min-width: 240px; max-width: 340px;
  background: var(--ink); color: #eef2f6; padding: 14px 18px; border-radius: 6px;
  box-shadow: 0 12px 40px rgba(5,28,44,.4); font-size: 13px; line-height: 1.65;
  border-top: 3px solid var(--red);
}
#drill-card .d-title { font-family: var(--mono); font-size: 10.5px; color: #9fb0c0; letter-spacing: .08em; text-transform: uppercase; }
#drill-card .d-val { font-family: var(--mono); font-size: 25px; font-weight: 700; color: #fff; margin: 2px 0; font-variant-numeric: tabular-nums; }
#drill-card .d-val .pos { color: #6fd0b2; } #drill-card .d-val .neg { color: #ef9aae; }
#drill-card .d-sub { color: #c6d1db; font-size: 12.5px; }
#drill-card .d-src { font-family: var(--mono); font-size: 10px; color: #8595a6; margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.14); }
#drill-card .d-close { position: absolute; top: 6px; right: 10px; color: #8595a6; cursor: pointer; background: none; border: 0; font-size: 14px; }

/* appendix */
#sec-sources { padding: 100px 0 80px; border-top: 1px solid var(--line-lo); }
#source-list { margin-top: 4px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; align-items: start; }
@media (max-width: 1420px) { #source-list { grid-template-columns: 1fr; } }
.src-row { display: block; padding: 10px 0 11px; border-bottom: 1px solid var(--line-lo); font-size: 13px; }
.src-row .s-fact { display: block; color: var(--ink); line-height: 1.55; }
.src-row .s-cite { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--ink-md); margin-top: 4px; line-height: 1.6; }
.colophon { margin-top: 40px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-lo); line-height: 2; }
@media (max-width: 900px) { #source-list { column-count: 1; } }

/* source-category badge (four-source rule) */
.src-cat {
  display: inline-block; font-family: var(--mono); font-size: 9px;
  letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 3px;
  padding: 0 5px; margin-right: 6px; color: var(--ink-md); vertical-align: 1px;
}
.src-cat.kimi { border-color: var(--red); color: var(--red); }
.src-cat.broker { border-color: var(--copper); color: var(--copper); }
.src-cat.company { border-color: var(--green); color: var(--green); }
.src-cat.industry { border-color: var(--blue); color: var(--blue); }

/* data tables (lineage, comparisons) */
table.dt {
  border-collapse: collapse; width: 100%;
  font-family: var(--sans); font-size: 13px; line-height: 1.55;
}
table.dt th {
  font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-md); text-align: left; padding: 7px 12px 7px 0;
  border-bottom: 1.5px solid var(--ink); white-space: nowrap;
}
table.dt td { padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line-lo); vertical-align: top; }
table.dt td.num { font-family: var(--mono); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.dt tr:hover td { background: var(--paper-hi); }
table.dt tr.hl td { background: rgba(178,106,46,.06); }

/* ── §0.5 three terms · magazine columns (no cards, hover to unfold) ── */
.term-mag {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
}
.term-mag .term {
  padding: 6px 26px 14px;
  cursor: default; outline: none;
}
.term-mag .term + .term { border-left: 1px solid var(--line-lo); }
.term-mag .term:first-child { padding-left: 2px; }
.term-mag .t-abbr {
  font-family: var(--serif); font-weight: 700; font-size: 34px;
  letter-spacing: -0.01em; color: var(--ink); line-height: 1.1;
  transition: color .2s ease;
}
.term-mag .term:hover .t-abbr, .term-mag .term:focus-within .t-abbr { color: var(--red); }
.term-mag .t-full {
  font-family: var(--mono); font-size: 10px; color: var(--ink-lo);
  text-transform: uppercase; letter-spacing: .1em; margin: 6px 0 12px;
  padding-bottom: 10px; border-bottom: 1px solid var(--line-lo);
}
.term-mag .t-gist { font-size: 14px; color: var(--ink); line-height: 1.65; margin: 0; }
.term-mag .term { position: relative; }
.term-mag .t-more {
  /* Desktop: overlay expansion, never pushes content below (QA: hover once made the whole section twitch +217px) */
  position: absolute; left: 26px; right: 26px; top: 100%; z-index: 6;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 10px 0 16px;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .4s cubic-bezier(.25,.7,.3,1), opacity .3s ease .05s;
  pointer-events: none;
}
.term-mag .term:first-child .t-more { left: 2px; }
.term-mag .term:hover .t-more, .term-mag .term:focus-within .t-more,
.term-mag .term.open .t-more { max-height: 340px; opacity: 1; pointer-events: auto; }
.term-mag .t-more p { font-size: 13px; color: var(--ink-md); line-height: 1.72; margin: 0; }
.term-mag .t-hint {
  font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-lo); margin-top: 12px; transition: opacity .25s ease;
}
.term-mag .term:hover .t-hint, .term-mag .term:focus-within .t-hint, .term-mag .term.open .t-hint { opacity: 0; }
@media (max-width: 760px) {
  .term-mag { grid-template-columns: 1fr; }
  .term-mag .term { padding: 18px 2px; border-left: 0 !important; border-top: 1px solid var(--line-lo); }
  .term-mag .term:first-child { border-top: 0; }
  .term-mag .t-more { position: static; max-height: none; opacity: 1; margin-top: 10px; padding: 0; border-bottom: 0; pointer-events: auto; }
  .term-mag .t-hint { display: none; }
}

/* tooltip */
.tip {
  position: fixed; z-index: 150; pointer-events: none;
  background: var(--ink); color: #fff; font-family: var(--mono); font-size: 11px;
  padding: 5px 10px; border-radius: 4px; opacity: 0; transition: opacity .12s; white-space: nowrap;
}

@media (max-width: 980px) {
  .chron-grid { grid-template-columns: 1fr; }
  .chron-dash { display: none; }
  .step { min-height: 0; }
}

/* ── Narrative column yields to right rail ── */
main, footer#sec-sources { margin-right: var(--railw); }
#cover { margin-right: 0; }
.cover-inner { max-width: 1180px; margin: 0 auto; }
#era-rail { right: var(--railw); }

/* ── Persistent dashboard rail · borderless, part of the page surface ── */
#dash-rail {
  position: fixed; top: 0; right: 0; bottom: 0; width: var(--railw);
  border: 0;
  background: transparent;
  z-index: 60;
  /* fully hidden on the cover; slides in after the reader enters the chapters */
  opacity: 0; visibility: hidden; transform: translateX(24px);
  transition: opacity .55s ease, transform .55s ease, visibility 0s linear .55s;
}
#dash-rail.on { opacity: 1; visibility: visible; transform: none; transition: opacity .55s ease, transform .55s ease; }
#dash-rail canvas { width: 100%; height: 100%; display: block; cursor: crosshair; }
#dash-rail #dash-canvas {
  max-height: none; border: 0; border-radius: 0; box-shadow: none;
  background: transparent;
}

/* ── dek · italic serif deck, no border chrome ── */
.dek {
  font-family: var(--serif); font-style: italic;
  font-size: 19px; line-height: 1.62; color: var(--ink-md);
  margin: -2px 0 28px; max-width: 600px;
  border: 0; padding: 0;
}
.dek strong, .dek b { color: var(--ink); font-style: normal; }

/* chronicle single-column */
.chron-text { max-width: 760px; margin: 0 auto; padding: 40px 24px; }
.step { min-height: 78vh; }

@media (max-width: 1180px) {
  body { --railw: 0px; }
  #dash-rail { display: none; }
}

/* section hairline */
hr.sep { border: 0; height: 1px; background: var(--line); margin: 0 auto; max-width: 860px; }

/* ═══ 词条排版（词典式 · 编辑组件扩展）═══ */
.entries { margin-top: 8px; }
.entry { padding: 44px 0 30px; border-top: 1px solid var(--line); }
.entry:first-child { border-top: 0; padding-top: 18px; }
.e-kicker {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em;
  color: var(--red); text-transform: uppercase; margin-bottom: 10px;
}
.e-word {
  font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: .01em;
  line-height: 1.25; margin-bottom: 20px;
}
.e-word .e-sub {
  display: block; font-size: 16px; font-weight: 400; font-style: italic;
  color: var(--ink-md); margin-top: 6px; letter-spacing: 0;
}
.e-block { margin-bottom: 16px; }
.e-block h4 {
  font-size: 15.5px; font-weight: 700; color: var(--ink); margin-bottom: 5px;
  display: flex; align-items: center; gap: 8px;
}
.e-block h4::before { content: ""; flex: 0 0 14px; height: 2px; background: var(--red); }
.e-block p { font-size: 15.5px; color: var(--ink-md); line-height: 1.85; margin: 0; }

/* 行动三步（编辑级编号列，非卡片） */
.e-actions { margin: 20px 0 4px; }
.e-act-title {
  font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-lo);
  border-top: 1px solid var(--line-lo); padding-top: 14px; margin-bottom: 4px;
}
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; }
.step-item { display: flex; gap: 12px; padding: 14px 18px 10px 0; }
.step-item + .step-item { border-left: 1px solid var(--line-lo); padding-left: 18px; }
.step-no {
  flex: 0 0 26px; height: 26px; border: 1.5px solid var(--red); border-radius: 50%;
  font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--red);
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.step-body b { font-size: 14.5px; color: var(--ink); display: block; margin-bottom: 4px; line-height: 1.5; }
.step-body p { font-size: 13px; color: var(--ink-md); line-height: 1.7; margin: 0; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .step-item + .step-item { border-left: 0; border-top: 1px solid var(--line-lo); padding-left: 0; }
}
.e-quote { margin: 24px 0 2px; }
.e-quote .q-text { font-size: 19px; }

/* 入场动画（IO 触发一次；reduced-motion 静态） */
.band .prose, .band .wide, .band .wide.xl { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.band.in .prose, .band.in .wide, .band.in .wide.xl { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .band .prose, .band .wide, .band .wide.xl { opacity: 1; transform: none; transition: none; }
}

/* 阅读锚点偏移 */
section.band, .entry { scroll-margin-top: 24px; }

/* ── 季分隔带 ── */
/* 三季专属色：第一季焦糖（向内·原色）/ 第二季赭红（向深处）/ 第三季苔绿（收官·安顿） */
.s-s1 { --season: #b26a2e; }
.s-s2 { --season: #9c4a38; }
.s-s3 { --season: #5f7a5f; }
.season-band { padding-top: 88px; }
.season-div { display: flex; align-items: baseline; gap: 18px; margin: 6px 0 20px; flex-wrap: wrap; }
.season-big {
  font-family: var(--serif); font-weight: 700; color: var(--season, var(--red));
  font-size: clamp(54px, 7vw, 96px); line-height: 1; letter-spacing: .02em;
}
.season-meta { font-family: var(--mono); font-size: 11.5px; color: var(--ink-lo); letter-spacing: .12em; }

/* ── 编辑补写词条（讲义原收录金句，精讲为补写）── */
.badge-supp {
  display: inline-block; margin-left: 10px; vertical-align: 2px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .1em;
  color: var(--red); border: 1px dashed var(--red); border-radius: 3px; padding: 1px 7px;
}
/* 补写词条的意象插图：右侧浮动小图，与书脊同属一个意象 */
.e-illo {
  float: right; width: clamp(120px, 22%, 168px); margin: 2px 0 14px 22px;
  border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(58,44,34,.04), 0 10px 24px -18px rgba(58,44,34,.35);
}
.e-illo img { display: block; width: 100%; height: auto; }
.entry-supp .e-block, .entry-supp .e-actions { overflow: hidden; }
.entry-supp .e-quote { clear: both; }
@media (max-width: 560px) {
  .e-illo { float: none; width: 148px; margin: 0 0 12px; }
}

/* ── 回到顶部 ── */
.to-top {
  position: fixed; right: calc(var(--railw) + 22px); bottom: 26px; z-index: 80;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper); color: var(--red);
  font-family: var(--serif); font-size: 19px; line-height: 1; cursor: pointer;
  box-shadow: 0 6px 18px rgba(88, 60, 30, .14);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s,
              background .2s ease, color .2s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; transition: opacity .35s ease, transform .35s ease, background .2s ease, color .2s ease; }
.to-top:hover { background: var(--red); color: var(--paper); }
.to-top-label {
  position: absolute; right: 56px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--ink-lo);
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
  padding: 4px 9px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.to-top:hover .to-top-label { opacity: 1; }
@media (max-width: 1180px) { .to-top { right: 20px; } }
@media (max-width: 560px) { .to-top { width: 42px; height: 42px; bottom: 18px; } .to-top-label { display: none; } }
@media (prefers-reduced-motion: reduce) { .to-top, .to-top.show { transition: none; } }

/* 封面季节按钮：三季专属色 */
.chip-s1 { border-color: #b26a2e; color: #b26a2e; }
.chip-s2 { border-color: #9c4a38; color: #9c4a38; }
.chip-s3 { border-color: #5f7a5f; color: #5f7a5f; }
.chip-s1:hover { background: #b26a2e; border-color: #b26a2e; color: #fff; }
.chip-s2:hover { background: #9c4a38; border-color: #9c4a38; color: #fff; }
.chip-s3:hover { background: #5f7a5f; border-color: #5f7a5f; color: #fff; }

/* ── 阅读记忆：续读卡片 + 已读标记 ── */
.entry-read .e-kicker::after {
  content: "已读 ✓"; margin-left: 10px;
  font-size: 10px; letter-spacing: .08em; color: #5f7a5f;
  border: 1px solid rgba(95,122,95,.45); border-radius: 3px; padding: 1px 6px;
  vertical-align: 1px;
}
.resume-card {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 18px);
  z-index: 300; display: flex; align-items: center; gap: 20px;
  background: var(--paper-hi, #fffaf2); border: 1px solid var(--line);
  border-left: 3px solid var(--red); border-radius: 10px;
  padding: 14px 16px 14px 20px; box-shadow: 0 14px 40px rgba(88,60,30,.18);
  max-width: min(480px, calc(100vw - 32px));
  opacity: 0; visibility: hidden;
  transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s;
}
.resume-card.on { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .45s ease, transform .45s ease; }
.resume-kicker {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .22em;
  color: var(--red); margin: 0 0 5px; text-transform: uppercase;
}
.resume-main { font-family: var(--serif); font-weight: 700; font-size: 17px; color: var(--ink); margin: 0; }
.resume-main span { font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--ink-lo); margin-left: 8px; letter-spacing: .04em; }
.resume-progress { font-family: var(--mono); font-size: 11px; color: var(--ink-lo); margin: 5px 0 0; }
.resume-ops { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.resume-go {
  font-family: var(--sans); font-size: 13px; font-weight: 700; white-space: nowrap;
  background: var(--red); color: #fff; border: 0; border-radius: 6px;
  padding: 9px 16px; cursor: pointer; transition: background .15s;
}
.resume-go:hover { background: #9c5a24; }
.resume-x {
  background: none; border: 0; color: var(--ink-lo); font-size: 13px;
  cursor: pointer; padding: 6px; line-height: 1;
}
.resume-x:hover { color: var(--ink); }
@media (max-width: 560px) {
  .resume-card {
    bottom: 74px; flex-direction: column; align-items: stretch; gap: 10px;
    width: calc(100vw - 48px); padding: 14px 16px;
  }
  .resume-main { font-size: 16px; }
  .resume-main span { display: block; margin: 3px 0 0; }
  .resume-ops { display: flex; gap: 10px; }
  .resume-go { flex: 1; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .resume-card, .resume-card.on { transition: none; } }

/* ── 词条索引：左下角悬浮按钮 + 滑出面板 ── */
#toc-btn {
  position: fixed; left: 22px; bottom: 26px; z-index: 290;
  display: flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--paper);
  border: 0; border-radius: 999px; padding: 11px 18px; cursor: pointer;
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  box-shadow: 0 8px 22px rgba(60,40,20,.22);
  transition: background .2s ease, transform .2s ease;
}
#toc-btn:hover { background: var(--red); transform: translateY(-2px); }
#toc-btn.active { background: var(--red); }
#toc-btn span { letter-spacing: .06em; }

#toc-panel {
  position: fixed; left: 0; top: 0; bottom: 0; z-index: 300;
  width: min(360px, 88vw);
  background: var(--paper-hi, #fffaf2);
  border-right: 1px solid var(--line);
  box-shadow: 18px 0 50px rgba(60,40,20,.14);
  transform: translateX(-102%);
  transition: transform .35s cubic-bezier(.32,.72,.28,1);
  display: flex; flex-direction: column;
}
#toc-panel.on { transform: none; }
.toc-head { padding: 22px 20px 14px; border-bottom: 1px solid var(--line); position: relative; }
.toc-title {
  font-family: var(--serif); font-weight: 700; font-size: 21px; color: var(--ink); margin: 0 0 12px;
}
.toc-title span { font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--ink-lo); letter-spacing: .08em; }
#toc-search {
  width: 100%; box-sizing: border-box;
  font-family: var(--sans); font-size: 14px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
  padding: 10px 13px; outline: none; transition: border-color .15s;
}
#toc-search:focus { border-color: var(--red); }
#toc-close {
  position: absolute; top: 20px; right: 16px;
  background: none; border: 0; color: var(--ink-lo); font-size: 14px; cursor: pointer; padding: 6px;
}
#toc-close:hover { color: var(--ink); }

#toc-list { flex: 1; overflow-y: auto; padding: 10px 12px 40px; }
.toc-season {
  font-family: var(--serif); font-weight: 700; font-size: 17px;
  margin: 20px 8px 4px; display: flex; align-items: baseline; gap: 10px;
}
.toc-season:first-child { margin-top: 8px; }
.toc-season span { font-family: var(--mono); font-weight: 400; font-size: 10px; color: var(--ink-lo); letter-spacing: .1em; }
.toc-module {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--ink-lo);
  margin: 14px 8px 4px;
}
.toc-entry {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 10px; border-radius: 8px; cursor: pointer;
  transition: background .12s ease;
}
.toc-entry:hover { background: rgba(178,106,46,.08); }
.toc-no {
  font-family: var(--mono); font-size: 10.5px; color: var(--ink-lo);
  flex: 0 0 22px; text-align: right;
}
.toc-word { font-family: var(--serif); font-weight: 700; font-size: 15.5px; color: var(--ink); flex: 1; min-width: 0; }
.toc-word i {
  font-style: normal; font-family: var(--sans); font-weight: 400;
  font-size: 11.5px; color: var(--ink-lo); margin-left: 8px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.toc-tick {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em; color: #5f7a5f;
  border: 1px solid rgba(95,122,95,.4); border-radius: 3px; padding: 1px 5px; flex-shrink: 0;
}
.toc-empty { padding: 30px 14px; color: var(--ink-lo); font-size: 13px; }
@media (max-width: 560px) {
  #toc-btn { left: 14px; bottom: 16px; padding: 10px 15px; }
  #toc-btn span { display: none; }
}
@media (prefers-reduced-motion: reduce) { #toc-panel, #toc-btn { transition: none; } }

/* ═══ 学员权限门 ═══ */
.dict-locked #cover,
.dict-locked #module-mount,
.dict-locked #sec-finale,
.dict-locked #sec-sources,
.dict-locked #toc-btn,
.dict-locked #toc-panel,
.dict-locked #dash-rail { display: none !important; }

/* 返回主页 */
.back-home {
  position: fixed; top: 20px; left: 22px; z-index: 120;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; font-size: 14px; font-weight: 700; text-decoration: none;
  color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--ink); border-radius: 999px;
  box-shadow: 0 2px 10px rgba(58,44,34,.08);
  transition: all .2s;
}
.back-home:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 560px) {
  .back-home { top: 14px; left: 14px; padding: 8px 13px; font-size: 13px; }
}

.dict-gate { border-top: 1px solid var(--line); }
.gate-box {
  margin-top: 26px; padding: 26px 26px 20px;
  background: var(--paper-hi); border: 1px solid var(--line); border-radius: 10px;
  max-width: 520px;
}
.gate-lab {
  display: block; font-size: 13px; letter-spacing: .18em;
  color: var(--ink-md); margin-bottom: 10px; font-weight: 700;
}
.gate-row { display: flex; gap: 10px; }
.gate-row input {
  flex: 1; min-width: 0; padding: 12px 14px; font-size: 16px;
  border: 1.5px solid var(--ink); border-radius: 6px;
  background: var(--paper); color: var(--ink); outline: none;
}
.gate-row input:focus { border-color: var(--red); }
.gate-row button {
  padding: 12px 26px; font-size: 16px; font-weight: 700; cursor: pointer;
  border: 1.5px solid var(--ink); border-radius: 6px;
  background: var(--ink); color: var(--paper); transition: all .2s;
}
.gate-row button:hover { background: var(--red); border-color: var(--red); }
.gate-hint { margin-top: 12px; font-size: 13px; color: var(--ink-lo); }
.gate-hint.err { color: #a33; }
.gate-hint.ok  { color: #4a7a3a; }
.gate-cta { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--ink-md); }
.gate-cta b { color: var(--red); }

.dict-gate.shake .gate-box { animation: gate-shake .45s; }
@keyframes gate-shake {
  0%,100% { transform: translateX(0); }
  20% { transform: translateX(-8px); } 40% { transform: translateX(7px); }
  60% { transform: translateX(-5px); } 80% { transform: translateX(3px); }
}
@media (max-width: 560px) {
  .gate-box { padding: 20px 18px 16px; }
  .gate-row { flex-direction: column; }
  .gate-row button { padding: 12px; }
}
