/*
 * 极简暖纸网页演示样式（1920×1080 等比缩放）
 *
 * Refactoring UI Constraint Brief:
 * - Stack: Pure static HTML/CSS/JS, 1920×1080 scaled stage + responsive overview grid.
 * - Philosophy: True Swiss/Keynote minimalism. No outline kickers, no duration pills, no tag clutter,
 *   no boxed-card walls. Whitespace, scale contrast, and 1px hairlines carry the structure.
 * - Hierarchy:
 *     Primary   -> Slide headline (--ink, 700, 64–84px, tight leading 1.15) or reveal hero (128px)
 *     Secondary -> Key points (--ink 700 / --body2 500, 28–34px, leading 1.55)
 *     Tertiary  -> Quiet captions & bottom-right page number (--muted, 500, 20–22px)
 * - Typography: Strictly 2 weights (500 body, 700 headings); 3 warm neutral text colors + 1 accent.
 * - Spacing scale (>= 25% steps): 8 / 16 / 24 / 36 / 56 / 80 / 112 px; outer > inner grouping.
 * - Color: Warm cream paper default (#F8F4EC), all text pairs >= 4.7:1; zero grey text on tinted surfaces.
 * - Depth: Flat editorial typography; subtle light-from-above elevation (X=0, Y>0) only on photographic media mats.
 */

:root {
  --ease: cubic-bezier(0.2, 0.78, 0.24, 1);

  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 36px;
  --sp-5: 56px;
  --sp-6: 80px;
  --sp-7: 112px;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-pill: 999px;

  --shadow-media: 0 18px 44px rgba(36, 31, 27, 0.10), 0 3px 10px rgba(36, 31, 27, 0.05);
  --shadow-ctrl: 0 8px 24px rgba(36, 31, 27, 0.14);

  --f-head: "Newsreader", "Noto Serif SC", "Songti SC", Georgia, serif;
  --f-body: "Plus Jakarta Sans", "Noto Sans SC", "PingFang SC", -apple-system, sans-serif;
  --f-num: "Newsreader", "Noto Serif SC", Georgia, serif;
  --num-style: italic;
  --num-w: 600;
}

/* ================= 主题 1：暖纸（默认） ================= */
[data-theme="warm"] {
  --frame: hsl(36 16% 82%);
  --bg: hsl(38 42% 95%);
  --surface: hsl(36 30% 90%);
  --surface-white: hsl(40 60% 99%);
  --line: hsl(34 20% 82%);
  --line-strong: hsl(32 18% 70%);

  --ink: hsl(26 16% 13%);
  --body2: hsl(28 12% 32%);
  --muted: hsl(28 11% 38%);

  --accent: hsl(17 58% 39%);
  --accent-ink: hsl(17 62% 30%);
  --accent-soft: hsl(22 48% 91%);
  --on-accent: hsl(40 60% 99%);

  --toolbar-bg: rgba(36, 31, 27, 0.86);
  --toolbar-ink: hsl(38 42% 95%);
  --toolbar-muted: hsl(34 16% 76%);
  --toolbar-line: rgba(255, 253, 249, 0.16);
}

/* ================= 主题 2：极简白 ================= */
[data-theme="light"] {
  --frame: hsl(214 16% 90%);
  --bg: hsl(0 0% 100%);
  --surface: hsl(214 20% 96%);
  --surface-white: hsl(0 0% 100%);
  --line: hsl(214 18% 88%);
  --line-strong: hsl(214 14% 74%);

  --ink: hsl(222 32% 14%);
  --body2: hsl(217 16% 35%);
  --muted: hsl(215 12% 45%);

  --accent: hsl(18 64% 42%);
  --accent-ink: hsl(18 68% 32%);
  --accent-soft: hsl(22 64% 94%);
  --on-accent: hsl(0 0% 100%);

  --toolbar-bg: rgba(22, 30, 48, 0.88);
  --toolbar-ink: hsl(0 0% 100%);
  --toolbar-muted: hsl(215 16% 76%);
  --toolbar-line: rgba(255, 255, 255, 0.16);

  --f-head: "Plus Jakarta Sans", "Noto Sans SC", "PingFang SC", sans-serif;
  --f-num: "Plus Jakarta Sans", "Noto Sans SC", sans-serif;
  --num-style: normal;
  --num-w: 700;
}

/* ================= 主题 3：夜幕 ================= */
[data-theme="dark"] {
  --frame: hsl(24 12% 5%);
  --bg: hsl(24 12% 9%);
  --surface: hsl(26 10% 14%);
  --surface-white: hsl(26 10% 16%);
  --line: hsl(26 10% 22%);
  --line-strong: hsl(26 10% 34%);

  --ink: hsl(36 28% 94%);
  --body2: hsl(32 14% 75%);
  --muted: hsl(30 10% 58%);

  --accent: hsl(22 82% 64%);
  --accent-ink: hsl(26 86% 82%);
  --accent-soft: hsl(20 30% 18%);
  --on-accent: hsl(24 18% 10%);

  --shadow-media: 0 24px 56px rgba(0, 0, 0, 0.52);

  --toolbar-bg: rgba(28, 25, 22, 0.9);
  --toolbar-ink: hsl(36 28% 94%);
  --toolbar-muted: hsl(30 10% 66%);
  --toolbar-line: rgba(255, 255, 255, 0.14);

  --f-head: "Plus Jakarta Sans", "Noto Sans SC", "PingFang SC", sans-serif;
  --f-num: "Plus Jakarta Sans", "Noto Sans SC", sans-serif;
  --num-style: normal;
  --num-w: 700;
}

/* ================= 主题 4：报刊 ================= */
[data-theme="editorial"] {
  --frame: hsl(34 14% 78%);
  --bg: hsl(38 30% 93%);
  --surface: hsl(36 22% 88%);
  --surface-white: hsl(40 40% 98%);
  --line: hsl(30 14% 76%);
  --line-strong: hsl(28 14% 58%);

  --ink: hsl(24 16% 12%);
  --body2: hsl(26 12% 28%);
  --muted: hsl(28 11% 37%);

  --accent: hsl(10 66% 42%);
  --accent-ink: hsl(10 70% 31%);
  --accent-soft: hsl(12 44% 90%);
  --on-accent: hsl(40 50% 98%);

  --f-head: "LXGW WenKai", "Newsreader", "Noto Serif SC", serif;
  --f-body: "Plus Jakarta Sans", "Noto Serif SC", "Songti SC", serif;
  --f-num: "Newsreader", "Noto Serif SC", serif;
  --num-style: italic;
  --num-w: 600;
  --toolbar-bg: rgba(34, 28, 24, 0.88);
  --toolbar-ink: hsl(38 30% 94%);
  --toolbar-muted: hsl(34 14% 74%);
  --toolbar-line: rgba(255, 255, 255, 0.16);
}

/* ================= 重置与基础 ================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  overflow: hidden;
  background: var(--frame);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 400;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s var(--ease);
}

ol,
ul {
  list-style: none;
}

em {
  font-style: normal;
  color: var(--accent);
}

b,
strong {
  font-weight: 700;
}

button,
input,
select {
  font: inherit;
}

/* ================= 舞台与翻页 ================= */
.stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1920px;
  height: 1080px;
  transform: translate(-50%, -50%);
  background: var(--bg);
  overflow: hidden;
  box-shadow: var(--shadow-media);
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 104px 136px 96px;
  background: var(--bg);
  color: var(--ink);
  font-size: 30px;
  line-height: 1.55;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateX(44px);
  transition:
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease),
    visibility 0s linear 0.45s;
}

.slide.past {
  transform: translateX(-44px);
}

.slide.active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease),
    visibility 0s;
}

@keyframes rise {
  from {
    opacity: 0;
    translate: 0 20px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

.slide.active .a:not(.frag),
.slide.active .st > *:not(.frag) {
  animation: rise 0.55s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 60ms + 70ms);
}

/* 分步揭晓（按一次翻页键平滑浮现） */
.frag {
  opacity: 0;
  transform: translateY(22px);
  pointer-events: none;
  transition: opacity 0.48s var(--ease), transform 0.48s var(--ease);
}

.frag.on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .slide,
  .frag,
  .slide.active .a,
  .slide.active .st > * {
    animation: none !important;
    transition: none !important;
  }
}

/* ================= 极简页眉与页码 ================= */
.slide-title {
  font-family: var(--f-head);
  font-size: 64px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: var(--sp-5);
  flex: none;
}

.body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

/* ================= 三案例定位条（仅案例页显示，无框纯文字） ================= */
.slide[data-case] {
  padding-top: 104px;
  padding-bottom: 88px;
}

.slide[data-case] .slide-title {
  margin-bottom: 40px;
}

.slide[data-case] .pipe-line {
  margin-top: -20px;
  margin-bottom: 40px;
}

.case-nav {
  position: absolute;
  top: 44px;
  right: 136px;
  display: flex;
  align-items: baseline;
  gap: 36px;
  z-index: 5;
}

.case-tab {
  border: 0;
  background: transparent;
  padding: 0 0 8px;
  border-bottom: 2px solid transparent;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.18s var(--ease);
}

.case-tab span {
  font-family: var(--f-num);
  font-style: normal;
  font-variant-numeric: tabular-nums;
  font-size: 19px;
  font-weight: 700;
}

.case-tab:hover {
  color: var(--ink);
}

.case-tab[aria-current="step"] {
  color: var(--accent);
  font-weight: 700;
  border-bottom-color: var(--accent);
}

/* 极简右下角页码（无横线、无重复署名；有待揭晓步骤时左侧亮一个轻提示点） */
.slide > .pg-num {
  position: absolute;
  right: 136px;
  bottom: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-num);
  font-style: normal;
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.slide > .pg-num[data-more="true"]::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ================= 01 封面（只放标题、简介、主图） ================= */
.cover-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: var(--sp-6);
  align-items: center;
}

.cover-left {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.cover-title {
  font-family: var(--f-head);
  font-size: 80px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.cover-byline {
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cover-byline .name {
  font-size: 34px;
  font-weight: 700;
  color: var(--ink);
}

.cover-byline .role {
  font-size: 25px;
  line-height: 1.5;
  color: var(--body2);
}

.cover-photo {
  width: 100%;
  max-width: 680px;
  justify-self: center;
  background: var(--surface-white);
  padding: var(--sp-2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-media);
}

.cover-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: var(--r-md);
}

/* ================= 02 成长与周末点阵（Refactoring UI 约束） =================
 * Constraint Brief (Workflow C · Refine):
 * - Hierarchy:
 *     Primary   -> Slide headline (--ink 700, 64px) + remaining weekends "272个" (--accent 700, 56px) + active dots (--accent)
 *     Secondary -> Baseline totals 516/244 (46px, --ink/--body2) + stage labels + compact swatch legend (16px, --body2)
 *     Tertiary  -> Methodology footnote (14px, --muted) + bottom blockquote citation (--surface + 3px --line-strong, zero competing accent)
 * - Typography: Strictly 2 weights (500/700), 3 text colors (--ink / --body2 / --muted) + --accent / --accent-ink.
 * - Spacing: 8 / 16 / 24 / 36 / 56 / 80 scale; blockquote outer margin 16px > inner legend/footnote gap 8px.
 */
.life-slide .slide-title {
  margin-bottom: var(--sp-3);
}

.life-grid {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.week-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.week-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-4);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  align-items: end;
}

.week-stat {
  display: flex;
  flex-direction: column;
}

.week-label {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--muted);
}

.week-stat.is-accent .week-label {
  color: var(--accent-ink);
  font-weight: 700;
}

.week-num {
  margin-top: 4px;
  font-family: var(--f-num);
  font-style: normal;
  font-variant-numeric: tabular-nums;
  font-size: 46px;
  line-height: 1.06;
  font-weight: 700;
  color: var(--ink);
}

.week-num.is-past {
  color: var(--body2);
}

.week-stat.is-accent .week-num {
  font-size: 56px;
  color: var(--accent);
}

.week-unit {
  margin-left: 4px;
  font-family: var(--f-body);
  font-size: 20px;
  font-weight: 500;
  color: var(--muted);
}

.week-stat.is-accent .week-unit {
  color: var(--accent);
  font-weight: 700;
}

.week-sub {
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--muted);
}

.week-stat.is-accent .week-sub {
  color: var(--body2);
}

.dot-chart-wrap {
  width: 100%;
}

.dot-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.dot-past {
  fill: var(--muted);
  opacity: 0.72;
}

.dot-left {
  fill: var(--accent);
}

.dot-apart {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1.4;
  opacity: 0.85;
}

.dot-divider {
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-dasharray: 5 5;
  opacity: 0.72;
}

.dot-divider-adult {
  stroke: var(--line-strong);
  stroke-width: 1.25;
  stroke-dasharray: 4 4;
  opacity: 0.75;
}

.dot-fade-1 { opacity: 0.72; }
.dot-fade-2 { opacity: 0.44; }
.dot-fade-3 { opacity: 0.22; }

.dot-now {
  fill: var(--accent);
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 700;
}

.dot-stage {
  fill: var(--ink);
  font-family: var(--f-body);
  font-size: 18px;
  font-weight: 700;
}

.dot-stage.is-past {
  fill: var(--muted);
}

.dot-stage.is-accent {
  fill: var(--accent);
}

.dot-sub {
  fill: var(--muted);
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 500;
}

.dot-count {
  fill: var(--accent);
  font-family: var(--f-num);
  font-variant-numeric: tabular-nums;
  font-size: 18px;
  font-weight: 700;
}

.dot-count.is-past {
  fill: var(--muted);
}

.dot-legend {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.dot-legend-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
}

.dot-legend-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--body2);
}

.dot-legend-items span {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
}

.swatch {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex: none;
}

.swatch-past {
  background: var(--muted);
  opacity: 0.72;
}

.swatch-left {
  background: var(--accent);
}

.swatch-apart {
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--line-strong);
  background: transparent;
}

.dot-footnote {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--muted);
}

.dot-cite {
  margin: 0;
  padding: 10px 16px;
  background: var(--surface);
  border-left: 3px solid var(--line-strong);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
}

.dot-cite-meta {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.dot-cite-tag {
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--body2);
}

.dot-cite-author {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
}

.dot-cite-link {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--body2);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.dot-cite-link:hover {
  color: var(--accent-ink);
  border-bottom-color: currentColor;
}

/* ================= 03 互动（先图+问，再揭晓超大答案） ================= */
.interact-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: var(--sp-6);
  align-items: center;
}

.post-shot {
  background: var(--surface-white);
  padding: 14px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-media);
}

.post-shot img {
  display: block;
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  border-radius: var(--r-md);
}

.interact-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.interact-answer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.interact-answer .big-word {
  font-family: var(--f-head);
  font-size: 124px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-align: center;
}

/* ================= 04 本次大纲（极简纯排版列表） ================= */
.slide.agenda-slide .slide-title {
  margin-bottom: var(--sp-4);
}

.agenda-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.agenda-row {
  display: grid;
  grid-template-columns: 120px 220px minmax(0, 1fr);
  gap: var(--sp-4);
  align-items: baseline;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.agenda-row .no {
  font-family: var(--f-num);
  font-style: var(--num-style);
  font-variant-numeric: tabular-nums;
  font-size: 34px;
  font-weight: var(--num-w);
  color: var(--accent);
}

.agenda-row .dim {
  font-family: var(--f-head);
  font-size: 44px;
  font-weight: 700;
  color: var(--ink);
}

.agenda-row .desc {
  font-size: 34px;
  line-height: 1.45;
  color: var(--body2);
}

/* ================= 05 场景一：问题与需求推导方案（Refactoring UI 约束） =================
 * Constraint Brief (Workflow C · Refine):
 * - Hierarchy:
 *     Primary   -> Slide headline (--ink 700, 64px) + converged solution title (--ink 700, 46px on --accent-soft + 3px --accent top border)
 *     Secondary -> Origin context bar (.derive-origin: --surface + 4px --line-strong, zero competing accent; tag 20px --body2, text 28px --ink)
 *                  + top comparison nodes: 以前方案的问题 (--body2/--muted, 2px --line) + 需要优化 (--ink/--body2, 2px --line-strong)
 *     Tertiary  -> Kicker "推导出的方案" (22px, --accent-ink); zero grey text on --accent-soft
 * - Typography: Strictly 2 weights (500/700); max 3 neutral text colors (--ink / --body2 / --muted) + --accent / --accent-ink.
 * - Spacing: 8 / 16 / 24 / 36 / 56 / 80 scale; origin outer margin 56px > inner padding 16px; 80px horizontal column gap matches SVG centers at x=392 and x=1256 across 1648px body.
 */
.derive-layout {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.derive-origin {
  align-self: center;
  display: inline-flex;
  align-items: baseline;
  gap: var(--sp-3);
  max-width: 100%;
  margin-bottom: var(--sp-5);
  padding: var(--sp-2) var(--sp-4);
  background: var(--surface);
  border-left: 4px solid var(--line-strong);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.derive-origin-tag {
  flex: none;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--body2);
}

.derive-origin-text {
  font-family: var(--f-head);
  font-size: 28px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--ink);
}

.derive-top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-6);
  align-items: start;
}

.derive-node {
  padding-top: var(--sp-4);
  border-top: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-3);
}

.derive-node.is-need {
  border-top-color: var(--line-strong);
}

.derive-node h3 {
  font-family: var(--f-head);
  font-size: 38px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--body2);
}

.derive-node.is-need h3 {
  color: var(--ink);
}

.clean-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.clean-list li {
  font-size: 30px;
  line-height: 1.55;
  color: var(--muted);
  padding-left: 26px;
  position: relative;
}

.derive-node.is-need .clean-list li {
  color: var(--body2);
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}

.derive-node .clean-list {
  align-items: center;
}

.derive-node .clean-list li {
  padding-left: 0;
  text-align: center;
}

.derive-node .clean-list li::before {
  display: none;
}

.derive-merge {
  width: 100%;
  margin: var(--sp-2) 0;
}

.derive-merge svg {
  display: block;
  width: 100%;
  height: 72px;
}

.derive-merge path {
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.72;
}

.derive-solution {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 56px;
  background: var(--accent-soft);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--r-md) var(--r-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.derive-kicker {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-ink);
}

.derive-title {
  font-family: var(--f-head);
  font-size: 46px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
}

/* ================= 05 场景一：爸爸读题（大引语 + 三行节奏） ================= */
.prompt-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: var(--sp-6);
  align-items: center;
}

.quote-surface {
  background: var(--accent-soft);
  border-radius: var(--r-lg);
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.quote-surface .q-text {
  font-family: var(--f-head);
  font-size: 58px;
  line-height: 1.26;
  font-weight: 700;
  color: var(--ink);
  text-indent: -0.5em;
}

.quote-surface .q-note {
  font-size: 26px;
  line-height: 1.55;
  color: var(--accent-ink);
}

/* ================= 05 场景一：Stageshow 动画演示舞台 ================= */
.demo-stage-wrap {
  width: 1110px;
  max-width: 100%;
  margin: 0 auto;
  background: var(--surface-white);
  padding: 12px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-media);
}

.demo-stage-wrap video {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--r-md);
  background: #f8f4ed;
}

/* ================= 13 场景三：Bot 使用演示 + 右侧生成成品 ================= */
.draw-use-layout {
  width: 100%;
  max-width: 1472px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 324px;
  gap: 48px;
  align-items: center;
}

.draw-use-layout .demo-stage-wrap {
  width: 100%;
  margin: 0;
}

.draw-out-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.draw-out-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.draw-out-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--surface);
}

.draw-out-frame img,
.draw-out-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.draw-out-item .evo-cap {
  font-size: 22px;
}

.draw-out-item .evo-cap span {
  font-size: 20px;
}

.step-lines {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.step-line {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: var(--sp-3);
  align-items: baseline;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.step-line .no {
  font-family: var(--f-num);
  font-style: var(--num-style);
  font-variant-numeric: tabular-nums;
  font-size: 30px;
  font-weight: var(--num-w);
  color: var(--accent);
}

.step-line h3 {
  font-family: var(--f-head);
  font-size: 38px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--ink);
}

/* ================= 07 场景一：拉伸区与专用 Bot ================= */
.stretch-top {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--line);
}

.stretch-item h3 {
  font-family: var(--f-head);
  font-size: 44px;
  font-weight: 700;
  color: var(--ink);
}

.stretch-item.accent h3 {
  color: var(--accent);
}

.stretch-arrow {
  text-align: center;
  font-size: 44px;
  font-weight: 700;
  color: var(--accent);
}

.bot-split {
  margin-top: var(--sp-5);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: var(--sp-6);
  align-items: center;
}

.bot-split h3 {
  font-family: var(--f-head);
  font-size: 38px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--sp-3);
}

.bot-split .clean-list li {
  color: var(--body2);
}

.bot-split .clean-list li::before {
  background: var(--accent);
}

.media-mat {
  background: var(--surface-white);
  padding: 12px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-media);
}

.media-mat img {
  display: block;
  width: 100%;
  border-radius: var(--r-md);
}

/* ================= 08 场景二：家里的玩偶（三段式递进） ================= */
.toy-stage {
  display: grid;
  grid-template-columns: 800px 360px 416px;
  gap: var(--sp-4);
  align-items: start;
  min-height: 0;
}

.toy-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.toy-mat {
  background: var(--surface-white);
  padding: 14px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-media);
  border: 2px solid transparent;
}

.toy-col.hero .toy-mat {
  border-color: var(--accent);
}

.toy-collage {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 496px;
}

.toy-row-top {
  display: grid;
  grid-template-columns: 504px minmax(0, 1fr);
  gap: 12px;
  height: 252px;
  min-height: 0;
}

.toy-row-bottom {
  display: grid;
  grid-template-columns: 324px minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  height: 232px;
  min-height: 0;
}

.toy-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-sm);
  display: block;
  min-height: 0;
}

.toy-tall {
  height: 496px;
  border-radius: var(--r-md);
}

.toy-pos-row { object-position: center 50%; }
.toy-pos-dog { object-position: center 60%; }
.toy-pos-bear { object-position: center 45%; }
.toy-pos-pig { object-position: center 52%; }
.toy-pos-pika { object-position: center 36%; }
.toy-pos-bin { object-position: center 50%; }
.toy-pos-tiger { object-position: center 52%; }

.toy-cap {
  padding: 6px 4px 0;
  text-align: center;
}

.toy-cap h3 {
  font-family: var(--f-head);
  font-size: 36px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
}

.toy-col:nth-child(2) .toy-cap h3 {
  color: var(--body2);
}

.toy-col.hero .toy-cap h3 {
  color: var(--accent);
}

.toy-bridge {
  margin-top: 26px;
  padding: 18px 28px;
  background: var(--accent-soft);
  border-left: 5px solid var(--accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.toy-bridge-kicker {
  flex: none;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-ink);
}

.toy-bridge-text {
  font-family: var(--f-head);
  font-size: 29px;
  line-height: 1.38;
  font-weight: 700;
  color: var(--ink);
}

.toy-bridge-text em {
  font-style: normal;
  color: var(--accent-ink);
}

/* ================= 10 场景二：英语动画（左 Stageshow 用法演示 + 右 9:16 成片） ================= */
.portrait-layout {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 48px;
  align-items: center;
  min-height: 0;
}

.portrait-layout .demo-stage-wrap {
  width: 100%;
  margin: 0;
}

.portrait-box {
  background: var(--surface-white);
  padding: 12px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-media);
}

.portrait-frame {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait-frame video,
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slot-empty {
  width: 100%;
  height: 100%;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  background: var(--surface);
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-md);
}

.slot-title {
  font-size: 25px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.slot-path {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 16px;
  color: var(--muted);
  word-break: break-all;
}

.slot-pick {
  margin-top: 4px;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}

.slot-pick:hover {
  background: var(--accent);
  color: var(--on-accent);
}

/* ================= 09 场景二：流程与踩坑修正 ================= */
.pipe-line {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: -32px;
  padding-bottom: var(--sp-4);
  margin-bottom: var(--sp-5);
  border-bottom: 1px solid var(--line);
  font-size: 27px;
  font-weight: 700;
  color: var(--body2);
  flex: none;
}

.pipe-line span {
  color: var(--muted);
  font-weight: 500;
}

/*
 * Refactoring UI 约束（第 10 页等宽双栏）：
 * - 左右两栏等宽（repeat(2, minmax(0, 1fr))，gap 72px）且上下齐平（align-items: stretch + .process-note margin-top: auto），使两栏小标题与下边界均对齐。
 * - 左栏底部总结区：主结论 24px 700 --accent-ink，自然语言示例 22px 500 --ink，全部避开彩底灰字。
 * - 右栏对比图限制在 500px 居中，整体高度控制在 .body 可视区安全范围内，与底部页码及工具栏留足边距。
 */
.iter-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px;
  align-items: stretch;
  width: 100%;
  min-height: 0;
}

.iter-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.iter-kicker {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding-bottom: 14px;
  border-bottom: 2px solid var(--line);
}

.iter-kicker.is-accent {
  color: var(--accent-ink);
  border-bottom-color: var(--accent);
}

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.process-step {
  display: grid;
  grid-template-columns: 52px 172px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.process-step .no {
  font-family: var(--f-num);
  font-style: var(--num-style);
  font-variant-numeric: tabular-nums;
  font-size: 25px;
  font-weight: var(--num-w);
  color: var(--accent);
}

.process-step h3 {
  font-family: var(--f-head);
  font-size: 32px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
}

.process-step p {
  font-size: 24px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--body2);
}

.process-note {
  margin-top: auto;
  padding: 18px 22px;
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.process-note-lead {
  font-size: 23px;
  line-height: 1.38;
  font-weight: 700;
  color: var(--accent-ink);
}

.process-note-ex {
  font-size: 20px;
  line-height: 1.48;
  font-weight: 500;
  color: var(--ink);
}

.compare-figs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.iter-issues .compare-figs {
  width: 100%;
  max-width: 500px;
  margin: 22px auto 0;
  gap: 22px;
}

.bear-figure {
  background: var(--surface-white);
  padding: 12px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-media);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.iter-issues .bear-figure {
  padding: 10px;
  gap: 10px;
}

.bear-figure img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--r-md);
  display: block;
}

.bear-figure figcaption {
  font-size: 19px;
  line-height: 1.35;
  color: var(--muted);
  text-align: center;
}

.bear-figure.after figcaption {
  color: var(--accent);
  font-weight: 700;
}

.issue-list {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.issue-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.issue-item .no {
  font-family: var(--f-num);
  font-style: var(--num-style);
  font-variant-numeric: tabular-nums;
  font-size: 22px;
  font-weight: var(--num-w);
  color: var(--accent);
}

.issue-item h3 {
  font-family: var(--f-head);
  font-size: 26px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--ink);
}

/* ================= 11 场景三：3 步作品演进（水平三连 + 箭头） ================= */
.evo-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) 44px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.evo-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 38px;
}

.evo-arrow svg {
  width: 44px;
  height: 24px;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.evo-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.evo-media {
  background: var(--surface-white);
  padding: 8px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-media);
}

.evo-media-inner {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--surface);
}

.evo-media-inner img,
.evo-media-inner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.evo-media-inner img.evo-raw {
  object-position: 42% center;
}

.evo-media-inner .slot-empty {
  padding: 14px;
  gap: 8px;
}

.evo-media-inner .slot-title {
  font-size: 20px;
}

.evo-media-inner .slot-path {
  font-size: 14px;
}

.evo-media-inner .slot-pick {
  font-size: 16px;
  padding: 5px 12px;
}

.evo-cap {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 0 4px;
  font-size: 23px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
}

.evo-cap span {
  font-family: var(--f-num);
  font-style: var(--num-style);
  font-variant-numeric: tabular-nums;
  font-size: 21px;
  font-weight: var(--num-w);
  color: var(--accent);
}

/* ================= 13 场景三：孩子深度参与制作（Refactoring UI 约束） =================
 * Constraint Brief (Workflow C · Refine):
 * - Hierarchy:
 *     Primary   -> Slide headline (--ink 700, 64px) + right-column demand quote (.co-demand: --accent-soft + 4px --accent left bar, 27px --ink) + v2 magnifier focus
 *     Secondary -> Left column process steps (01–03, 32px --ink / 24px --body2) + quiet bottom extension (.co-extend: neutral --surface + 4px --line-strong, zero competing accent)
 *     Tertiary  -> Section kickers (22px) + 4-stage captions (20px --ink / 18px --accent); zero grey text on --accent-soft
 * - Layout & Spacing:
 *     600px left + 56px gap + 992px right = 1648px body; align-items: stretch aligns left .co-extend flush with right caption baseline.
 *     4 image mats strictly 3:4 (226x296 outer, 8px pad -> 210x280 image) so SVG magnifier at (687, 251) locks onto bottom-right cat and projects cleanly to card 4 (766, 6..290).
 */
.co-layout {
  display: grid;
  grid-template-columns: 600px minmax(0, 1fr);
  gap: var(--sp-5);
  align-items: stretch;
  width: 100%;
  min-height: 0;
}

.co-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.co-steps {
  list-style: none;
  margin: 0 0 var(--sp-3);
  padding: 0;
  display: flex;
  flex-direction: column;
}

.co-step {
  display: grid;
  grid-template-columns: 44px 128px minmax(0, 1fr);
  gap: var(--sp-2);
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.co-step .no {
  font-family: var(--f-num);
  font-style: var(--num-style);
  font-variant-numeric: tabular-nums;
  font-size: 25px;
  font-weight: var(--num-w);
  color: var(--accent);
}

.co-step h3 {
  font-family: var(--f-head);
  font-size: 32px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
}

.co-step p {
  font-size: 24px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--body2);
}

.co-extend {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  padding: var(--sp-2) var(--sp-3);
  background: var(--surface);
  border-left: 4px solid var(--line-strong);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.co-extend-tag {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--body2);
}

.co-extend-text {
  font-size: 22px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--ink);
}

.co-demand {
  margin-top: var(--sp-3);
  margin-bottom: var(--sp-3);
  padding: var(--sp-2) var(--sp-3);
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
}

.co-ex-tag {
  flex: none;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-ink);
}

.co-ex-quote {
  font-family: var(--f-head);
  font-size: 27px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--ink);
}

.cat-evo-wrap {
  position: relative;
  width: 100%;
}

.cat-evo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr) 40px minmax(0, 1fr);
  align-items: start;
}

.cat-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.cat-card-frame {
  background: var(--surface-white);
  padding: var(--sp-1);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-media);
}

.cat-card-frame.is-zoom {
  box-shadow: 0 0 0 2px var(--accent), var(--shadow-media);
}

.cat-card-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--r-sm);
}

.cat-evo-arrow {
  height: 296px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-evo-arrow svg {
  width: 18px;
  height: 18px;
}

.cat-evo-arrow path {
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.72;
}

.cat-evo-spacer {
  height: 296px;
}

.cat-evo-cap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 0 2px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
}

.cat-evo-cap span {
  font-family: var(--f-num);
  font-style: var(--num-style);
  font-variant-numeric: tabular-nums;
  font-size: 18px;
  font-weight: var(--num-w);
  color: var(--accent);
}

.cat-zoom-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 296px;
  pointer-events: none;
  overflow: visible;
  z-index: 2;
}

.cat-zoom-beam {
  fill: var(--accent);
  fill-opacity: 0.08;
}

.cat-zoom-ray {
  stroke: var(--accent);
  stroke-width: 1.75;
  stroke-dasharray: 5 4;
  stroke-linecap: round;
  opacity: 0.85;
}

.cat-zoom-ring-halo,
.cat-zoom-handle-halo {
  stroke: var(--surface-white);
  stroke-linecap: round;
}

.cat-zoom-ring-halo {
  stroke-width: 5.5;
}

.cat-zoom-handle-halo {
  stroke-width: 7;
}

.cat-zoom-ring,
.cat-zoom-handle {
  stroke: var(--accent);
  stroke-linecap: round;
}

.cat-zoom-ring {
  stroke-width: 2.75;
}

.cat-zoom-handle {
  stroke-width: 4;
}

/* ================= 14 共识：什么是高质量陪伴？ =================
 * Refactoring UI 约束：
 * - 层级：仅保留 2 条核心定义（01/02，48px 700 --ink + 34px --accent 编号），水平居中舒展呈现。
 */
.companion-layout {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
}

.companion-points {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.companion-point {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: var(--sp-3);
  align-items: baseline;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.companion-point .no {
  font-family: var(--f-num);
  font-style: var(--num-style);
  font-variant-numeric: tabular-nums;
  font-size: 34px;
  font-weight: var(--num-w);
  color: var(--accent);
}

.companion-point h3 {
  font-family: var(--f-head);
  font-size: 48px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--ink);
}

/* ================= 15 总结：Grok Bot 优势与高质量陪伴 =================
 * Refactoring UI 约束：
 * - 层级：1/2/3 竖向细线排版（01/02/03 编号 30px --accent + 标题 38px 700 --ink + 描述 22px 500 --body2，字号比 ~1.73x）+ 底部核心收束条。
 * - 间距：行内标题与描述间距 6px < 行间内边距 26px < 列表与底部结语外距 44px（outer > inner）；彩底内无灰字。
 */
.adv-layout {
  width: 100%;
  max-width: 1320px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.adv-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.adv-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: var(--sp-3);
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.adv-item .no {
  font-family: var(--f-num);
  font-style: var(--num-style);
  font-variant-numeric: tabular-nums;
  font-size: 30px;
  font-weight: var(--num-w);
  color: var(--accent);
}

.adv-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.adv-copy h3 {
  font-family: var(--f-head);
  font-size: 38px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
}

.adv-copy p {
  font-size: 22px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--body2);
}

.adv-closing {
  padding: 24px 36px;
  background: var(--accent-soft);
  border-left: 5px solid var(--accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

.adv-closing-text {
  font-family: var(--f-head);
  font-size: 36px;
  line-height: 1.38;
  font-weight: 700;
  color: var(--ink);
}

.adv-closing-text em {
  font-style: normal;
  color: var(--accent-ink);
}

/* ================= 14 收尾：从一个小场景开始 ================= */
.end-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--sp-6);
  align-items: center;
}

.end-layout .step-line {
  padding: 30px 0;
}

.end-right {
  background: var(--accent-soft);
  border-radius: var(--r-lg);
  padding: 72px 52px;
  min-height: 448px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.end-closing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.end-closing-sub {
  font-family: var(--f-head);
  font-size: 32px;
  line-height: 1.65;
  font-weight: 700;
  color: var(--ink);
}

.end-closing-main {
  font-family: var(--f-head);
  font-size: 46px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--accent-ink);
}

/* ================= 15 自我介绍：龙海 =================
 * Refactoring UI Constraint Brief (Workflow B):
 * - Ranking: Primary = 自我介绍 (64px, 700, --ink) & X follow link (34px, 700, --accent);
 *            Secondary = 4 bio rows (姓名/经历/目标/产品, 32px, 500, --ink);
 *            Tertiary = left dt labels (21px, 500, --muted) & contact note (25px, 400, --muted).
 * - Spacing: inner row padding 28px / CTA inner gap 14px < outer group gap 56px (--sp-5).
 * - Tokens: --f-head, --f-body, --ink, --muted, --accent, --line, --sp-4, --sp-5 (zero grey on tinted bg).
 */
.about-layout {
  width: 100%;
  max-width: 1380px;
  display: flex;
  flex-direction: column;
}

.about-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.about-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: var(--sp-4);
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.about-row dt {
  font-size: 21px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.about-row dd {
  font-size: 32px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--ink);
}

.about-sep {
  color: var(--line-strong);
  margin: 0 4px;
  font-weight: 400;
}

.about-cta {
  margin-top: var(--sp-5);
  padding: 6px 0 6px 28px;
  border-left: 4px solid var(--accent);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-follow {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 18px;
  font-size: 34px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--ink);
}

.about-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  transition: opacity 0.16s var(--ease);
}

.about-link:hover {
  opacity: 0.78;
}

.about-contact {
  font-size: 25px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--muted);
}

/* ================= 极简进度条与悬浮工具栏 ================= */
.progress {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  z-index: 30;
  pointer-events: none;
}

.progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 0.35s var(--ease);
}

.toolbar {
  position: fixed;
  bottom: 14px;
  left: 20px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: var(--toolbar-bg);
  color: var(--toolbar-ink);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-ctrl);
  font-family: var(--f-body);
  font-size: 13px;
  transition: opacity 0.25s var(--ease);
}

body.idle:not(.overview):not(.drawing):not(.jumping) .toolbar,
body.idle:not(.overview):not(.drawing) .drawing-options {
  opacity: 0;
  pointer-events: none;
}

.toolbar button {
  border: 0;
  background: transparent;
  color: var(--toolbar-muted);
  padding: 5px 10px;
  border-radius: var(--r-pill);
  cursor: pointer;
  font-weight: 700;
  transition: background 0.16s, color 0.16s;
  white-space: nowrap;
}

.toolbar .counter-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--toolbar-ink);
}

.toolbar .counter-btn::after {
  content: '▾';
  font-size: 10px;
  opacity: 0.72;
}

.toolbar button:hover {
  color: var(--toolbar-ink);
  background: rgba(255, 255, 255, 0.1);
}

.toolbar button[aria-pressed="true"],
.toolbar .counter-btn[aria-expanded="true"] {
  background: var(--accent);
  color: var(--on-accent);
}

.toolbar .sep {
  width: 1px;
  height: 14px;
  background: var(--toolbar-line);
  margin: 0 3px;
}

.toolbar .hint {
  padding: 0 6px;
  color: var(--toolbar-muted);
  font-size: 12px;
  white-space: nowrap;
}

.toolbar [data-theme-next] {
  display: none;
}

/* ================= 画笔选项条 ================= */
.drawing-options {
  position: fixed;
  bottom: 58px;
  left: 20px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--toolbar-bg);
  color: var(--toolbar-ink);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-ctrl);
  font-size: 13px;
}

.drawing-options[hidden] {
  display: none;
}

.drawing-options button,
.drawing-options select {
  border: 1px solid var(--toolbar-line);
  background: transparent;
  color: var(--toolbar-ink);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  cursor: pointer;
  font-weight: 700;
}

.drawing-options button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.drawing-options label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--toolbar-muted);
}

.drawing-options input[type="color"] {
  width: 22px;
  height: 22px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.drawing-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 20;
  pointer-events: none;
}

/* ================= 快速跳页面板（G 键 / 点击页码） ================= */
.jump-menu {
  position: fixed;
  bottom: 58px;
  left: 20px;
  z-index: 45;
  width: 312px;
  padding: 12px;
  border-radius: var(--r-md);
  background: linear-gradient(var(--toolbar-bg), var(--toolbar-bg)), #18181b;
  border: 1px solid var(--toolbar-line);
  color: var(--toolbar-ink);
  box-shadow: var(--shadow-ctrl);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--f-body);
}

.jump-menu[hidden] {
  display: none;
}

.jump-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--toolbar-line);
}

.jump-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--toolbar-muted);
  white-space: nowrap;
}

.jump-input {
  width: 68px;
  min-width: 0;
  padding: 5px 8px;
  border-radius: 8px;
  border: 1px solid var(--toolbar-line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--toolbar-ink);
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  outline: none;
}

.jump-input:focus {
  border-color: var(--accent);
}

.jump-input::placeholder {
  color: var(--toolbar-muted);
  font-weight: 400;
}

.jump-input::-webkit-inner-spin-button,
.jump-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.jump-total {
  font-size: 12px;
  color: var(--toolbar-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.jump-go {
  margin-left: auto;
  border: 0;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.16s;
}

.jump-go:hover {
  opacity: 0.9;
}

.jump-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: min(340px, 46vh);
  overflow-y: auto;
  padding-right: 2px;
}

.jump-item {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--toolbar-ink);
  padding: 7px 9px;
  border-radius: 9px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  text-align: left;
  font-family: var(--f-body);
  font-size: 13px;
  line-height: 1.35;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}

.jump-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.jump-item .no {
  font-family: var(--f-num);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 700;
  color: var(--toolbar-muted);
}

.jump-item .title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jump-item.is-cur {
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
}

.jump-item.is-cur .no {
  color: var(--on-accent);
  opacity: 0.9;
}

.jump-item.is-cur:hover {
  background: var(--accent);
}

body.drawing .slide.active .drawing-canvas {
  pointer-events: auto;
  cursor: crosshair;
}

/* ================= 总览模式（O 键） ================= */
body.overview {
  overflow-y: auto;
  background: var(--frame);
}

body.overview .progress,
body.overview .drawing-options {
  display: none;
}

body.overview .stage {
  position: static;
  left: auto;
  top: auto;
  width: min(1440px, 100%);
  height: auto;
  margin: 0 auto;
  padding: 48px 36px 88px;
  transform: none !important;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

body.overview .ov-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  min-width: 0;
}

body.overview .ov-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--bg);
  box-shadow: var(--shadow-media);
  border: 3px solid transparent;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

body.overview .ov-item:hover .ov-frame {
  transform: translateY(-3px);
}

body.overview .ov-item.is-cur .ov-frame {
  border-color: var(--accent);
}

body.overview .ov-label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  padding: 0 4px;
}

body.overview .ov-label span {
  font-family: var(--f-num);
  font-style: var(--num-style);
  font-variant-numeric: tabular-nums;
  font-weight: var(--num-w);
  color: var(--accent);
}

body.overview .slide {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 1080px;
  transform-origin: top left;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none;
  transition: none !important;
}

body.overview .frag {
  opacity: 1 !important;
  transform: none !important;
}

/* ================= 移动端适配 ================= */
@media (max-width: 768px) {
  .toolbar {
    top: auto;
    bottom: 8px;
    right: 8px;
    left: 8px;
    justify-content: space-between;
    gap: 2px;
    padding: 5px 8px;
  }

  .toolbar .hint,
  .toolbar .sep,
  .toolbar [data-t],
  .toolbar [data-fs],
  .toolbar [data-pen] {
    display: none;
  }

  .toolbar [data-theme-next] {
    display: inline-flex;
  }

  .toolbar [data-counter] {
    display: inline-flex;
    padding: 5px 8px;
    font-size: 12px;
  }

  .jump-menu {
    left: 8px;
    right: 8px;
    bottom: 56px;
    width: auto;
  }

  .drawing-options {
    display: none !important;
  }

  body.overview .stage {
    grid-template-columns: 1fr;
    padding: 72px 14px 36px;
    gap: 18px;
  }
}

@media print {
  body {
    overflow: visible;
    background: #fff;
  }
  .toolbar,
  .drawing-options,
  .jump-menu,
  .progress {
    display: none !important;
  }
  .stage {
    position: static;
    transform: none !important;
    width: auto;
    height: auto;
    box-shadow: none;
  }
  .slide {
    position: relative;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    page-break-after: always;
    break-after: page;
  }
  .frag {
    opacity: 1 !important;
    transform: none !important;
  }
}
