/* ==========================================================================
   Warm Minimal Keynote Layout System — All 17 Workshop Slides
   English-Primary + Concise Chinese Anchors · Strict >= 1.25cqw Floor
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--outer-bg);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

.deck-viewport {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  position: relative;
}

:fullscreen .deck-viewport {
  padding: 0;
  background: var(--stage-bg);
}

/* Pure 16:9 Stage Canvas */
.slide-stage {
  width: min(calc(100vw - 36px), calc((100vh - 36px) * 16 / 9));
  aspect-ratio: 16 / 9;
  container-type: size;
  background-color: var(--stage-bg);
  border-radius: 0.6cqw;
  box-shadow: 0 24px 60px rgba(40, 30, 18, 0.12);
  position: relative;
  overflow: hidden;
}

:fullscreen .slide-stage {
  width: min(100vw, calc(100vh * 16 / 9));
  border-radius: 0;
  box-shadow: none;
}

.slide-canvas {
  width: 100%;
  height: 100%;
  padding: 3.8cqw 4.8cqw 3.4cqw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  view-transition-name: slide-content;
}

/* Subtle Bottom Progress Hairline */
.deck-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.28cqw;
  background: rgba(30, 26, 22, 0.06);
  z-index: 20;
}

.deck-progress-fill {
  height: 100%;
  background: var(--focal);
  width: 0%;
  transition: width 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Shared Slide Header (English Hero + Concise Chinese Anchor + Step Dots)
   ========================================================================== */
.slide-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2cqw;
  flex-shrink: 0;
}

.title-block {
  display: flex;
  flex-direction: column;
  gap: 0.55cqw;
}

.slide-kicker {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 1.25cqw;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ink-secondary);
  background: var(--node-fill-subtle);
  padding: 0.32cqw 0.95cqw;
  border-radius: 999px;
}

.slide-kicker.is-hot {
  background: var(--focal-soft);
  color: var(--focal);
}

.title-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1.3cqw;
}

.slide-title {
  font-size: 3cqw;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink-primary);
}

.slide-subtitle-zh {
  font-size: 1.55cqw;
  font-weight: 700;
  color: var(--ink-secondary);
}

.slide-meta-right {
  display: flex;
  align-items: center;
  gap: 1.1cqw;
  flex-shrink: 0;
  padding-top: 0.35cqw;
}

.step-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.45cqw;
}

.step-dot {
  width: 0.72cqw;
  height: 0.72cqw;
  border-radius: 50%;
  background: var(--line-muted);
  transition: background-color 0.28s ease, transform 0.28s ease;
}

.step-dot.is-active {
  background: var(--focal);
  transform: scale(1.25);
}

.step-dot.is-done {
  background: var(--ink-secondary);
}

.slide-num {
  font-family: var(--font-mono);
  font-size: 1.25cqw;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

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

/* ==========================================================================
   S1 · COVER (GEF Global Educational Forum + School Logo + Replay Button)
   ========================================================================== */
.s1-wrap {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.4cqw 2.4cqw 1cqw;
}

.s1-brand-bar {
  display: inline-flex;
  align-items: center;
  gap: 1.4cqw;
}

.s1-logo-slot {
  height: 6.4cqw;
  min-width: 9.5cqw;
  padding: 0 1.2cqw;
  border-radius: 0.7cqw;
  border: 2px dashed var(--line-muted);
  background: var(--node-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.s1-logo-slot.has-media {
  border: none;
  background: transparent;
  padding: 0;
  min-width: 0;
}

.s1-logo-slot img {
  height: 100%;
  width: auto;
  max-width: 18cqw;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.s1-logo-placeholder {
  font-family: var(--font-mono);
  font-size: 1.25cqw;
  font-weight: 800;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

.s1-brand-divider {
  width: 2px;
  height: 2.6cqw;
  background: var(--line-muted);
}

.s1-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.65cqw 1.45cqw;
  border-radius: 999px;
  background: var(--focal-soft);
  color: var(--focal);
  font-size: 1.5cqw;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.s1-hero-block {
  display: flex;
  flex-direction: column;
  gap: 1.8cqw;
}

.s1-title-en {
  font-size: 5.5cqw;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.06;
  color: var(--ink-primary);
}

.s1-title-en .accent {
  color: var(--focal);
}

.s1-title-zh {
  font-size: 2.35cqw;
  font-weight: 700;
  color: var(--ink-secondary);
}

.s1-footer-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2cqw;
}

.s1-speaker {
  display: flex;
  flex-direction: column;
  gap: 1.1cqw;
}

.s1-speaker-lines {
  display: flex;
  flex-direction: column;
  gap: 0.3cqw;
}

.s1-speaker-name {
  font-size: 1.85cqw;
  font-weight: 900;
  color: var(--ink-primary);
}

.s1-speaker-title {
  font-size: 1.48cqw;
  font-weight: 700;
  color: var(--ink-secondary);
}

.s1-speaker-zh {
  font-size: 1.38cqw;
  font-weight: 700;
  color: var(--ink-muted);
  margin-left: 0.65cqw;
}

.s1-rule {
  width: 8cqw;
  height: 0.42cqw;
  background: var(--focal);
  border-radius: 999px;
}

.s1-replay-chip {
  appearance: none;
  border: 2px solid var(--line-muted);
  background: var(--node-surface);
  color: var(--ink-secondary);
  font-family: var(--font-mono);
  font-size: 1.25cqw;
  font-weight: 700;
  padding: 0.55cqw 1.35cqw;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.s1-replay-chip:hover {
  border-color: var(--focal);
  color: var(--focal);
}

/* ==========================================================================
   S2 · TODAY'S ROADMAP (4 Bold Pillar Cards + Talk / Hands-On Brackets)
   ========================================================================== */
.s2-board {
  display: flex;
  flex-direction: column;
  gap: 2.2cqw;
}

.s2-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2cqw;
}

.s2-card {
  height: 24.5cqw;
  background: var(--node-surface);
  border: 2.2px solid var(--line-muted);
  border-radius: 1.2cqw;
  padding: 2.4cqw 2.1cqw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 26px rgba(30, 26, 22, 0.05);
}

.s2-card--focal {
  background: var(--focal);
  border-color: var(--focal);
  color: #ffffff;
  box-shadow: 0 18px 40px var(--focal-halo), 0 0 0 0.45cqw var(--focal-soft);
}

.s2-card-num {
  font-family: var(--font-mono);
  font-size: 1.65cqw;
  font-weight: 900;
  color: var(--focal);
}

.s2-card--focal .s2-card-num {
  color: rgba(255, 255, 255, 0.88);
}

.s2-card-en {
  font-size: 2.65cqw;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink-primary);
}

.s2-card--focal .s2-card-en {
  color: #ffffff;
}

.s2-card-zh {
  font-size: 1.45cqw;
  font-weight: 700;
  color: var(--ink-secondary);
}

.s2-card--focal .s2-card-zh {
  color: rgba(255, 255, 255, 0.92);
}

.s2-brackets {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 2cqw;
}

.s2-bracket {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75cqw;
}

.s2-bracket-line {
  width: 100%;
  height: 1.1cqw;
  border: 2.5px solid var(--line-dark);
  border-top: none;
  border-radius: 0 0 0.7cqw 0.7cqw;
}

.s2-bracket--handson .s2-bracket-line {
  border-color: var(--focal);
}

.s2-bracket-label {
  font-size: 1.45cqw;
  font-weight: 800;
  color: var(--ink-secondary);
}

.s2-bracket--handson .s2-bracket-label {
  color: var(--focal);
}

/* ==========================================================================
   S3 · WHAT IS AN AI AGENT? (2-Step Clicker Focus: Chatbot -> Agent)
   ========================================================================== */
.s3-split {
  display: grid;
  grid-template-columns: 42fr 8fr 50fr;
  align-items: stretch;
  gap: 0.8cqw;
}

.s3-card {
  border-radius: 1.4cqw;
  padding: 3.2cqw 3cqw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.3cqw;
  background: var(--node-surface);
  border: 2.5px solid var(--line-muted);
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
}

.s3-kicker {
  font-family: var(--font-mono);
  font-size: 1.35cqw;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.s3-big-en {
  font-size: 3.35cqw;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink-primary);
}

.s3-big-zh {
  font-size: 1.7cqw;
  font-weight: 700;
  color: var(--ink-secondary);
}

.s3-chat-hint {
  margin-top: 0.8cqw;
  padding-top: 1.2cqw;
  border-top: 1.8px solid var(--line-muted);
  font-size: 1.42cqw;
  font-weight: 600;
  color: var(--ink-secondary);
}

.s3-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 2.4cqw;
  font-weight: 900;
  color: var(--line-dark);
}

.s3-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1cqw;
  margin-top: 0.8cqw;
  padding-top: 1.6cqw;
  border-top: 1.8px solid var(--line-muted);
}

.s3-pillar {
  display: flex;
  align-items: center;
  gap: 0.65cqw;
  font-size: 1.48cqw;
  font-weight: 800;
  color: var(--ink-primary);
}

.s3-dot {
  width: 0.78cqw;
  height: 0.78cqw;
  border-radius: 50%;
  background: var(--focal);
  flex-shrink: 0;
}

/* Step 0: Highlight Chatbot (Left), Dim Agent (Right) */
.slide-canvas[data-slide-id="S3"][data-step="0"] .s3-card--chatbot {
  border-color: var(--focal);
  box-shadow: 0 18px 42px var(--focal-halo);
  transform: scale(1.02);
}

.slide-canvas[data-slide-id="S3"][data-step="0"] .s3-card--chatbot .s3-kicker {
  color: var(--focal);
}

.slide-canvas[data-slide-id="S3"][data-step="0"] .s3-card--agent {
  opacity: 0.26;
  filter: grayscale(0.75);
  transform: scale(0.97);
}

/* Step 1: Dim Chatbot (Left), Highlight AI Agent (Right) */
.slide-canvas[data-slide-id="S3"][data-step="1"] .s3-card--chatbot {
  opacity: 0.42;
  border-style: dashed;
  transform: scale(0.97);
}

.slide-canvas[data-slide-id="S3"][data-step="1"] .s3-card--chatbot .s3-big-en {
  text-decoration: line-through;
  text-decoration-color: var(--line-dark);
}

.slide-canvas[data-slide-id="S3"][data-step="1"] .s3-card--agent {
  opacity: 1;
  border-color: var(--focal);
  box-shadow: 0 22px 48px var(--focal-halo);
  transform: scale(1.02);
}

.slide-canvas[data-slide-id="S3"][data-step="1"] .s3-card--agent .s3-kicker {
  color: var(--focal);
}

/* ==========================================================================
   S4 · REAL CLASSROOM CASE (16:9 Video + Enlarged Human vs AI Split)
   ========================================================================== */
.s4-grid {
  display: grid;
  grid-template-columns: 54fr 46fr;
  gap: 3cqw;
  align-items: center;
}

.s4-media-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #1e1a16;
  border-radius: 1.1cqw;
  overflow: hidden;
  border: 2.5px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(30, 26, 22, 0.14);
}

.s4-media-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.s4-poster {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2cqw;
  color: #faf6ee;
  padding: 2cqw;
}

.s4-play-ring {
  width: 5.8cqw;
  height: 5.8cqw;
  border-radius: 50%;
  background: var(--focal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.s4-poster-title {
  font-size: 1.85cqw;
  font-weight: 800;
}

.s4-poster-sub {
  font-family: var(--font-mono);
  font-size: 1.25cqw;
  color: #cfc5b4;
}

.s4-division {
  display: flex;
  flex-direction: column;
  gap: 1.9cqw;
}

.s4-role {
  padding: 2.2cqw 2.4cqw;
  border-radius: 1.15cqw;
  display: flex;
  flex-direction: column;
  gap: 1.05cqw;
}

.s4-role--human {
  background: var(--focal);
  color: #ffffff;
  box-shadow: 0 14px 32px var(--focal-halo);
}

.s4-role--agent {
  background: var(--node-surface);
  border: 2.4px solid var(--ink-primary);
  color: var(--ink-primary);
}

.s4-role-kicker {
  font-family: var(--font-mono);
  font-size: 1.28cqw;
  font-weight: 800;
  letter-spacing: 0.05em;
  opacity: 0.92;
}

.s4-role-title {
  font-size: 2.35cqw;
  font-weight: 900;
  line-height: 1.1;
}

.s4-role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75cqw;
}

.s4-tag {
  font-size: 1.38cqw;
  font-weight: 800;
  padding: 0.45cqw 1cqw;
  border-radius: 999px;
}

.s4-role--human .s4-tag {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.s4-role--agent .s4-tag {
  background: var(--node-fill-subtle);
  color: var(--ink-primary);
}

/* ==========================================================================
   S5 · WHAT IS MCP? (Single Central Agent Hub + Physical Socket Ports -> 3 Tools)
   ========================================================================== */
.s5-hub-layout {
  display: grid;
  grid-template-columns: 31fr 22fr 47fr;
  align-items: center;
  height: 31cqw;
}

.s5-agent-hub {
  height: 27cqw;
  background: var(--node-surface);
  border: 2.8px solid var(--ink-primary);
  border-radius: 1.3cqw;
  display: grid;
  grid-template-columns: 1fr 3.6cqw;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(30, 26, 22, 0.08);
}

.s5-agent-core {
  padding: 2.4cqw 2cqw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1cqw;
}

.s5-agent-tag {
  font-family: var(--font-mono);
  font-size: 1.25cqw;
  font-weight: 800;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
}

.s5-agent-name {
  font-size: 3.1cqw;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--ink-primary);
}

.s5-agent-cap {
  font-size: 1.48cqw;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-secondary);
}

.s5-port-rail {
  background: var(--node-fill-subtle);
  border-left: 2px solid var(--line-muted);
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding: 1.8cqw 0;
}

.s5-socket {
  width: 2.1cqw;
  height: 3.2cqw;
  border-radius: 0.45cqw;
  background: #ffffff;
  border: 2.2px solid var(--focal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.s5-socket-pin {
  width: 0.85cqw;
  height: 0.85cqw;
  border-radius: 50%;
  background: var(--focal);
}

.s5-cables {
  position: relative;
  height: 27cqw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s5-cable-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.s5-mcp-pill {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--focal);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 1.38cqw;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 0.42cqw 1.15cqw;
  border-radius: 999px;
  box-shadow: 0 8px 18px var(--focal-halo), 0 0 0 0.35cqw var(--stage-bg);
  white-space: nowrap;
}

.s5-mcp-pill--1 { top: 16.67%; }
.s5-mcp-pill--2 { top: 50%; }
.s5-mcp-pill--3 { top: 83.33%; }

.s5-tools {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 27cqw;
  gap: 1.4cqw;
}

.s5-tool-card {
  flex: 1;
  background: var(--node-surface);
  border: 2.2px solid var(--line-muted);
  border-left: 0.55cqw solid var(--focal);
  border-radius: 1cqw;
  padding: 1.3cqw 2cqw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4cqw;
}

.s5-tool-name {
  font-size: 2.05cqw;
  font-weight: 900;
  color: var(--ink-primary);
}

.s5-tool-action {
  font-size: 1.38cqw;
  font-weight: 700;
  color: var(--ink-secondary);
}

/* ==========================================================================
   S6 · PART 02 · WHAT IS A SKILL?
   ========================================================================== */
.s6-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.2cqw;
}

.s6-formula {
  font-size: 5.2cqw;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
}

.s6-formula .accent {
  color: var(--focal);
}

.s6-sub-en {
  font-size: 2.1cqw;
  font-weight: 700;
  color: var(--ink-primary);
}

.s6-sub-zh {
  font-size: 1.55cqw;
  font-weight: 700;
  color: var(--ink-secondary);
  margin-top: -1.1cqw;
}

.s6-loop {
  display: flex;
  align-items: center;
  gap: 1.8cqw;
  margin-top: 1cqw;
}

.s6-pill {
  padding: 1.15cqw 2.2cqw;
  border-radius: 999px;
  font-size: 1.55cqw;
  font-weight: 900;
}

.s6-pill--focal {
  background: var(--focal);
  color: #ffffff;
  box-shadow: 0 12px 26px var(--focal-halo);
}

.s6-pill--plain {
  background: var(--node-surface);
  border: 2.2px solid var(--ink-primary);
  color: var(--ink-primary);
}

.s6-arrow {
  font-family: var(--font-mono);
  font-size: 2cqw;
  font-weight: 900;
  color: var(--line-dark);
}

/* ==========================================================================
   S7 · PRINCIPLE 01 · SYSTEMATIC THINKING (3-Step Decompose & Reassemble)
   ========================================================================== */
.s7-stage {
  display: flex;
  flex-direction: column;
  gap: 2.4cqw;
}

.s7-diagram {
  display: grid;
  grid-template-columns: 28fr 5fr 33fr 5fr 29fr;
  align-items: center;
}

.s7-phase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1cqw;
  transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.s7-cloud-card {
  width: 100%;
  padding: 2.4cqw 2cqw;
  border-radius: 1.3cqw;
  background: var(--node-surface);
  border: 2.5px dashed var(--line-dark);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.9cqw;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.s7-cloud-en {
  font-size: 1.85cqw;
  font-weight: 900;
  line-height: 1.25;
  color: var(--ink-primary);
}

.s7-cloud-zh {
  font-size: 1.42cqw;
  font-weight: 700;
  color: var(--ink-secondary);
}

.s7-conn {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 2.2cqw;
  font-weight: 900;
  color: var(--focal);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.s7-blocks-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1cqw;
  padding: 1.5cqw;
  border-radius: 1.2cqw;
  background: var(--focal-soft);
  border: 2.5px solid var(--focal);
}

.s7-block {
  background: #ffffff;
  border: 2px solid var(--focal);
  border-radius: 0.7cqw;
  padding: 1.15cqw 0.8cqw;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.25cqw;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}

.s7-block strong {
  font-size: 1.48cqw;
  font-weight: 900;
  color: var(--focal-deep);
}

.s7-block span {
  font-size: 1.25cqw;
  font-weight: 700;
  color: var(--ink-secondary);
}

.s7-phase-caption {
  font-size: 1.38cqw;
  font-weight: 800;
  color: var(--ink-secondary);
}

.s7-phase-caption.is-hot {
  color: var(--focal);
}

.s7-towers {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.2cqw;
  height: 15.5cqw;
}

.s7-tower {
  display: flex;
  flex-direction: column;
  gap: 0.45cqw;
  align-items: center;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}

.s7-mini-b {
  width: 6.2cqw;
  height: 2.6cqw;
  border-radius: 0.45cqw;
  border: 2px solid var(--ink-primary);
  background: var(--node-surface);
  font-family: var(--font-mono);
  font-size: 1.25cqw;
  font-weight: 800;
  color: var(--ink-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.s7-mini-b.hot {
  background: var(--focal);
  border-color: var(--focal);
  color: #ffffff;
}

.s7-tower-lbl {
  font-family: var(--font-mono);
  font-size: 1.25cqw;
  font-weight: 800;
  color: var(--ink-secondary);
  margin-top: 0.35cqw;
}

.s7-takeaway,
.s8-takeaway {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5cqw;
  padding: 1.35cqw 2.4cqw;
  border-radius: 1.1cqw;
  background: var(--focal);
  color: #ffffff;
  box-shadow: 0 14px 32px var(--focal-halo);
  transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  text-align: center;
}

.s7-takeaway-top {
  display: inline-flex;
  align-items: center;
  gap: 1.1cqw;
}

.s7-takeaway-pill {
  font-family: var(--font-mono);
  font-size: 1.55cqw;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 0.32cqw 1.05cqw;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.s7-takeaway-en {
  font-size: 2.35cqw;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.s7-takeaway-sub {
  font-size: 1.52cqw;
  font-weight: 700;
  line-height: 1.3;
}

.s7-takeaway-zh {
  font-size: 1.4cqw;
  font-weight: 700;
  opacity: 0.92;
}

/* S7 Sub-Step Choreography */
.slide-canvas[data-slide-id="S7"][data-step="0"] .s7-cloud-card {
  border-color: var(--focal);
  box-shadow: 0 14px 32px var(--focal-halo);
}

.slide-canvas[data-slide-id="S7"][data-step="0"] .s7-conn--1,
.slide-canvas[data-slide-id="S7"][data-step="0"] .s7-phase--1,
.slide-canvas[data-slide-id="S7"][data-step="0"] .s7-conn--2,
.slide-canvas[data-slide-id="S7"][data-step="0"] .s7-phase--2 {
  opacity: 0.14;
  transform: translateX(-12px) scale(0.95);
}

.slide-canvas[data-slide-id="S7"][data-step="0"] .s7-block {
  opacity: 0;
  transform: translateX(-10px) scale(0.88);
}

.slide-canvas[data-slide-id="S7"][data-step="0"] .s7-tower,
.slide-canvas[data-slide-id="S7"][data-step="1"] .s7-tower {
  opacity: 0;
  transform: translateY(14px) scale(0.92);
}

.slide-canvas[data-slide-id="S7"][data-step="0"] .s7-takeaway,
.slide-canvas[data-slide-id="S7"][data-step="1"] .s7-takeaway {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
}

/* Step 1: Decompose blocks spring apart into place */
.slide-canvas[data-slide-id="S7"][data-step="1"] .s7-phase--0 {
  opacity: 0.72;
}

.slide-canvas[data-slide-id="S7"][data-step="1"] .s7-b1 { transition-delay: 0.04s; }
.slide-canvas[data-slide-id="S7"][data-step="1"] .s7-b2 { transition-delay: 0.12s; }
.slide-canvas[data-slide-id="S7"][data-step="1"] .s7-b3 { transition-delay: 0.20s; }
.slide-canvas[data-slide-id="S7"][data-step="1"] .s7-b4 { transition-delay: 0.28s; }

.slide-canvas[data-slide-id="S7"][data-step="1"] .s7-conn--2,
.slide-canvas[data-slide-id="S7"][data-step="1"] .s7-phase--2 {
  opacity: 0.08;
  transform: translateX(-12px) scale(0.95);
}

/* Step 2: Reassemble into Class A/B/C + Illuminate Principle 01 */
.slide-canvas[data-slide-id="S7"][data-step="2"] .s7-phase--0 {
  opacity: 0.72;
}

.slide-canvas[data-slide-id="S7"][data-step="2"] .s7-t1 { transition-delay: 0.05s; }
.slide-canvas[data-slide-id="S7"][data-step="2"] .s7-t2 { transition-delay: 0.15s; }
.slide-canvas[data-slide-id="S7"][data-step="2"] .s7-t3 { transition-delay: 0.25s; }

/* ==========================================================================
   S8 · PRINCIPLE 02 · HUMAN IN THE LOOP (2-Step Focus Switch)
   ========================================================================== */
.s8-tracks {
  display: flex;
  flex-direction: column;
  gap: 1.35cqw;
}

.s8-track {
  background: var(--node-surface);
  border: 2.4px solid var(--line-muted);
  border-radius: 1.15cqw;
  padding: 1.25cqw 2.2cqw 1cqw;
  display: flex;
  flex-direction: column;
  gap: 0.4cqw;
  transition: opacity 0.42s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
}

.s8-track-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5cqw;
}

.s8-track-tag {
  font-family: var(--font-mono);
  font-size: 1.48cqw;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--ink-primary);
}

.s8-track--hitl .s8-track-tag {
  color: var(--focal);
}

.s8-track-zh {
  font-size: 1.38cqw;
  font-weight: 700;
  color: var(--ink-secondary);
}

.s8-svg {
  width: 100%;
  max-height: 9.2cqw;
  display: block;
  overflow: visible;
}

.s8-track--vending {
  color: var(--ink-secondary);
}

/* Step 0: Spotlight Vending Machine, Dim Human in the Loop & Hide Bottom Banner */
.slide-canvas[data-slide-id="S8"][data-step="0"] .s8-track--vending {
  border-color: var(--focal);
  color: var(--focal);
  box-shadow: 0 14px 32px var(--focal-halo);
  transform: scale(1.01);
}

.slide-canvas[data-slide-id="S8"][data-step="0"] .s8-track--vending .s8-track-tag {
  color: var(--focal);
}

.slide-canvas[data-slide-id="S8"][data-step="0"] .s8-track--hitl {
  opacity: 0.22;
  filter: grayscale(0.8);
  transform: scale(0.985);
}

.slide-canvas[data-slide-id="S8"][data-step="0"] .s8-takeaway {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

/* Step 1: Dim Vending Machine, Ignite Human in the Loop + Reveal Principle 02 Banner */
.slide-canvas[data-slide-id="S8"][data-step="1"] .s8-track--vending {
  opacity: 0.36;
  border-style: dashed;
  transform: scale(0.985);
}

.slide-canvas[data-slide-id="S8"][data-step="1"] .s8-track--hitl {
  opacity: 1;
  border-color: var(--focal);
  box-shadow: 0 18px 40px var(--focal-halo);
  transform: scale(1.01);
}

/* ==========================================================================
   S9 · CASE STUDY: PRINCIPLE 01 IN MY TRANSLATION SKILL (5-Step SOP)
   ========================================================================== */
.s9-wrap {
  display: flex;
  flex-direction: column;
  gap: 2.6cqw;
}

.s9-anti {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 1cqw;
  padding: 0.95cqw 1.75cqw;
  border-radius: 0.95cqw;
  background: var(--node-surface);
  border: 2.4px solid var(--line-muted);
  font-size: 1.55cqw;
  font-weight: 800;
  color: var(--ink-primary);
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
}

.s9-anti-x {
  text-decoration: none;
  font-weight: 900;
  color: var(--focal);
}

.s9-anti-zh {
  font-size: 1.35cqw;
  color: var(--ink-secondary);
}

.s9-pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0.8cqw;
  transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
}

.s9-step {
  height: 15.5cqw;
  background: var(--node-surface);
  border: 2.2px solid var(--ink-primary);
  border-radius: 1.05cqw;
  padding: 1.8cqw 1.3cqw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 22px rgba(30, 26, 22, 0.06);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

/* S9 2-Step Clicker Focus: Step 0 = One-Shot Anti-Pattern -> Step 1 = 5-Step SOP */
.slide-canvas[data-slide-id="S9"][data-step="0"] .s9-anti {
  border-color: var(--focal);
  box-shadow: 0 14px 32px var(--focal-halo);
  transform: scale(1.02);
}

.slide-canvas[data-slide-id="S9"][data-step="0"] .s9-pipeline {
  opacity: 0.16;
  filter: grayscale(0.8);
  transform: translateY(10px) scale(0.98);
}

.slide-canvas[data-slide-id="S9"][data-step="1"] .s9-anti {
  opacity: 0.45;
  background: var(--node-fill-subtle);
  border-style: dashed;
  color: var(--ink-secondary);
  text-decoration: line-through;
}

.slide-canvas[data-slide-id="S9"][data-step="1"] .s9-step {
  border-color: var(--focal);
  box-shadow: 0 12px 26px var(--focal-halo);
}

.s9-step-num {
  font-family: var(--font-mono);
  font-size: 1.35cqw;
  font-weight: 900;
  color: var(--focal);
}

.s9-step-en {
  font-size: 1.78cqw;
  font-weight: 900;
  line-height: 1.15;
  color: var(--ink-primary);
}

.s9-step-zh {
  font-size: 1.32cqw;
  font-weight: 700;
  color: var(--ink-secondary);
}

.s9-arrow {
  font-family: var(--font-mono);
  font-size: 1.8cqw;
  font-weight: 900;
  color: var(--focal);
}

.s9-focal-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 1cqw;
  padding: 1.3cqw 2cqw;
  border-radius: 1cqw;
  background: var(--focal);
  color: #ffffff;
  font-size: 1.62cqw;
  font-weight: 700;
  box-shadow: 0 14px 30px var(--focal-halo);
}

.s9-focal-pill {
  font-family: var(--font-mono);
  font-size: 1.42cqw;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 0.3cqw 0.95cqw;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.s9-focal-bar strong {
  font-size: 1.85cqw;
  font-weight: 900;
}

/* ==========================================================================
   S10 · CASE STUDY: PRINCIPLE 02 + SELF-ITERATING MEMORY LOOP
   ========================================================================== */
.s10-stack {
  display: flex;
  flex-direction: column;
  gap: 1.8cqw;
}

.s10-flow-grid {
  display: grid;
  grid-template-columns: 16fr 4fr 22fr 21fr 22fr 4fr 15fr;
  align-items: center;
  height: 19.5cqw;
}

.s10-simple-node {
  background: var(--node-surface);
  border: 2.2px solid var(--line-dark);
  border-radius: 1.05cqw;
  padding: 1.8cqw 1.1cqw;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55cqw;
}

.s10-simple-node--ship {
  border-color: var(--ink-primary);
}

.s10-node-tag {
  font-family: var(--font-mono);
  font-size: 1.25cqw;
  font-weight: 800;
  color: var(--ink-muted);
}

.s10-simple-node strong {
  font-size: 1.65cqw;
  font-weight: 900;
  color: var(--ink-primary);
  line-height: 1.15;
}

.s10-node-zh {
  font-size: 1.3cqw;
  font-weight: 700;
  color: var(--ink-secondary);
}

.s10-conn {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 1.9cqw;
  font-weight: 900;
  color: var(--line-dark);
}

.hero-gate {
  height: 18.8cqw;
  background: var(--focal);
  color: #ffffff;
  border-radius: 1.15cqw;
  padding: 1.25cqw 1.1cqw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  box-shadow: 0 18px 38px var(--focal-halo), 0 0 0 0.45cqw var(--focal-soft);
}

.gate-step-num {
  font-family: var(--font-mono);
  font-size: 1.25cqw;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.25cqw 0.85cqw;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.gate-icon-wrap {
  width: 4.5cqw;
  height: 4.5cqw;
  border-radius: 50%;
  background: #ffffff;
  color: var(--focal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gate-icon-wrap svg {
  width: 2.35cqw;
  height: 2.35cqw;
}

.gate-main-title {
  font-size: 2.05cqw;
  font-weight: 900;
  line-height: 1.1;
}

.gate-sub-zh {
  font-size: 1.35cqw;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.25cqw;
}

.gate-rule-pill {
  width: 100%;
  padding: 0.55cqw 0.6cqw;
  border-radius: 0.55cqw;
  background: var(--focal-deep);
  font-size: 1.28cqw;
  font-weight: 800;
  color: #ffffff;
}

.parallel-zone {
  height: 18.8cqw;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.parallel-svg {
  width: 100%;
  height: 14.5cqw;
  overflow: visible;
}

.parallel-count-pill {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--stage-bg);
  border: 2.2px solid var(--ink-primary);
  border-radius: 999px;
  padding: 0.4cqw 1cqw;
  font-family: var(--font-mono);
  font-size: 1.28cqw;
  font-weight: 900;
  color: var(--ink-primary);
  white-space: nowrap;
}

.s10-iterate-bar {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 1.3cqw;
  padding: 1.1cqw 1.8cqw;
  border-radius: 1cqw;
  background: var(--focal-soft);
  border: 2.2px solid var(--focal);
  color: var(--ink-primary);
}

.s10-iterate-icon {
  width: 3.1cqw;
  height: 3.1cqw;
  border-radius: 50%;
  background: var(--focal);
  color: #ffffff;
  font-size: 1.8cqw;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.s10-iterate-copy {
  font-size: 1.45cqw;
  font-weight: 700;
  line-height: 1.35;
}

.s10-iterate-copy strong {
  color: var(--focal-deep);
  font-weight: 900;
}

/* ==========================================================================
   S11 · BEHIND THE SCENES (Cropped Screenshot + Vermilion Highlight + EN Translation)
   ========================================================================== */
.s11-showcase {
  display: grid;
  grid-template-columns: 58fr 42fr;
  gap: 2.8cqw;
  align-items: center;
}

.s11-shot-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 976 / 512;
  border-radius: 1.1cqw;
  overflow: hidden;
  border: 2.4px solid var(--line-dark);
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(30, 26, 22, 0.12);
}

.s11-screenshot-frame {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s11-screenshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Pixel-aligned Vermilion Highlight Box around "总导演已向 7 位文学翻译副总监下达指导并启动并发重译：" */
.s11-hl-box {
  position: absolute;
  top: 29.2%;
  left: 1.8%;
  width: 74.2%;
  height: 11.2%;
  border: 3.5px solid var(--focal);
  border-radius: 0.55cqw;
  background: rgba(200, 67, 31, 0.12);
  box-shadow: 0 0 0 0.35cqw rgba(200, 67, 31, 0.18);
  pointer-events: none;
}

.s11-placeholder {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1cqw;
}

.s11-ph-badge {
  font-family: var(--font-mono);
  font-size: 1.3cqw;
  font-weight: 800;
  padding: 0.4cqw 1.1cqw;
  border-radius: 999px;
  background: var(--focal-soft);
  color: var(--focal);
}

.s11-ph-title {
  font-size: 1.6cqw;
  font-weight: 800;
  color: var(--ink-muted);
}

.s11-callout {
  background: var(--node-surface);
  border: 2.6px solid var(--focal);
  border-left-width: 0.65cqw;
  border-radius: 1.2cqw;
  padding: 2.4cqw 2.4cqw;
  display: flex;
  flex-direction: column;
  gap: 1.5cqw;
  box-shadow: 0 16px 38px var(--focal-halo);
}

.s11-callout-kicker {
  font-family: var(--font-mono);
  font-size: 1.25cqw;
  font-weight: 900;
  color: var(--focal);
  letter-spacing: 0.05em;
}

.s11-callout-en {
  font-family: var(--font-serif);
  font-size: 1.95cqw;
  font-weight: 700;
  line-height: 1.38;
  color: var(--ink-primary);
}

.s11-callout-en .accent {
  color: var(--focal);
  font-weight: 900;
}

.s11-callout-foot {
  padding-top: 1.2cqw;
  border-top: 1.8px solid var(--line-muted);
  display: flex;
  flex-direction: column;
  gap: 0.35cqw;
}

.s11-callout-punch {
  font-size: 1.48cqw;
  font-weight: 800;
  color: var(--ink-primary);
}

.s11-callout-zh {
  font-size: 1.32cqw;
  font-weight: 700;
  color: var(--ink-secondary);
}

/* ==========================================================================
   S12 · EQUAL-WEIGHT TRANSLATION OUTPUT + COMPACT TRANSFERABLE BAR
   ========================================================================== */
.s12-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.8cqw;
}

.s12-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2cqw;
}

.s12-pane {
  background: var(--node-surface);
  border-radius: 1.1cqw;
  padding: 2cqw 2.2cqw;
  border: 2.2px solid var(--line-dark);
  border-top: 0.45cqw solid var(--focal);
  display: flex;
  flex-direction: column;
  gap: 0.9cqw;
  box-shadow: 0 10px 26px rgba(30, 26, 22, 0.06);
}

.s12-pane-tag {
  font-family: var(--font-mono);
  font-size: 1.28cqw;
  font-weight: 900;
  color: var(--focal);
}

.s12-quote {
  font-family: var(--font-serif);
  font-size: 1.62cqw;
  line-height: 1.5;
  color: var(--ink-primary);
}

.s12-transfer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4cqw;
  background: var(--node-surface);
  border: 2.2px solid var(--focal);
  border-radius: 1cqw;
  padding: 1.05cqw 1.8cqw;
  box-shadow: 0 10px 24px var(--focal-halo);
}

.s12-transfer-label {
  font-size: 1.48cqw;
  font-weight: 900;
  color: var(--focal);
  white-space: nowrap;
}

.s12-scenarios {
  display: flex;
  align-items: center;
  gap: 1cqw;
  flex-wrap: wrap;
}

.s12-scene {
  padding: 0.55cqw 1.15cqw;
  border-radius: 999px;
  background: var(--node-fill-subtle);
  border: 1.8px solid var(--line-muted);
  font-size: 1.35cqw;
  font-weight: 800;
  color: var(--ink-primary);
  white-space: nowrap;
}

.s12-scene--hot {
  background: var(--focal-soft);
  border-color: var(--focal);
  color: var(--focal-deep);
}

/* ==========================================================================
   S13 · SKILLS MARKETPLACES (3 Side-by-Side Slots) + SAFETY BOTTOM LINE
   ========================================================================== */
.s13-wrap {
  display: flex;
  flex-direction: column;
  gap: 2.2cqw;
}

.s13-markets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2cqw;
}

.s13-market-card {
  background: var(--node-surface);
  border: 2px solid var(--line-muted);
  border-radius: 1.1cqw;
  padding: 1.2cqw;
  display: flex;
  flex-direction: column;
  gap: 1cqw;
}

.s13-shot-slot {
  aspect-ratio: 16 / 10;
  width: 100%;
  border-radius: 0.75cqw;
  border: 2px dashed var(--line-muted);
  background: var(--node-fill-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.s13-shot-slot.has-media {
  border-style: solid;
  background: #ffffff;
}

.s13-shot-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.s13-shot-ph {
  font-family: var(--font-mono);
  font-size: 1.25cqw;
  font-weight: 700;
  color: var(--ink-muted);
  line-height: 1.45;
}

.s13-market-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25cqw;
  padding: 0 0.3cqw;
}

.s13-market-meta strong {
  font-size: 1.62cqw;
  font-weight: 900;
  color: var(--ink-primary);
}

.s13-market-meta span {
  font-size: 1.28cqw;
  font-weight: 600;
  color: var(--ink-secondary);
}

.s13-safety {
  background: var(--focal);
  color: #ffffff;
  border-radius: 1.15cqw;
  padding: 1.65cqw 2.4cqw;
  display: flex;
  flex-direction: column;
  gap: 0.65cqw;
  box-shadow: 0 16px 36px var(--focal-halo);
}

.s13-safety-badge {
  font-family: var(--font-mono);
  font-size: 1.28cqw;
  font-weight: 900;
  letter-spacing: 0.06em;
  opacity: 0.92;
}

.s13-safety-text {
  font-size: 1.72cqw;
  font-weight: 700;
  line-height: 1.35;
}

.s13-safety-zh {
  display: inline-block;
  margin-left: 0.8cqw;
  font-size: 1.42cqw;
  opacity: 0.92;
}

/* ==========================================================================
   S14 · BUILD YOUR OWN: PLAN MODE ∥ /grill-me (Parallel Twins + Easter Egg)
   ========================================================================== */
.s14-wrap {
  display: flex;
  flex-direction: column;
  gap: 2.6cqw;
}

.s14-main-row {
  display: grid;
  grid-template-columns: 70fr 6fr 24fr;
  align-items: center;
}

.s14-twins {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.4cqw;
}

.s14-twin-card {
  height: 21cqw;
  background: var(--focal);
  color: #ffffff;
  border-radius: 1.3cqw;
  padding: 2.4cqw 2.2cqw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 18px 40px var(--focal-halo), 0 0 0 0.45cqw var(--focal-soft);
}

.s14-twin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1cqw;
}

.s14-cmd {
  font-family: var(--font-mono);
  font-size: 2.45cqw;
  font-weight: 900;
}

.s14-toggle {
  width: 4.4cqw;
  height: 2.35cqw;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid #ffffff;
  padding: 0.25cqw;
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
}

.s14-toggle-knob {
  width: 1.65cqw;
  height: 1.65cqw;
  border-radius: 50%;
  background: #ffffff;
}

.s14-builtin-tag {
  font-family: var(--font-mono);
  font-size: 1.25cqw;
  font-weight: 900;
  padding: 0.3cqw 0.8cqw;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.s14-twin-en {
  font-size: 1.75cqw;
  font-weight: 800;
  line-height: 1.28;
}

.s14-twin-zh {
  font-size: 1.38cqw;
  font-weight: 700;
  opacity: 0.92;
}

.s14-parallel-sep {
  font-family: var(--font-mono);
  font-size: 2.8cqw;
  font-weight: 900;
  color: var(--focal);
}

.s14-merge-arrow {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 2.3cqw;
  font-weight: 900;
  color: var(--line-dark);
}

.s14-outcome {
  height: 21cqw;
  background: var(--node-surface);
  border: 2.6px solid var(--ink-primary);
  border-radius: 1.3cqw;
  padding: 2.2cqw 1.6cqw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.8cqw;
}

.s14-outcome strong {
  font-size: 2.2cqw;
  font-weight: 900;
  color: var(--ink-primary);
}

.s14-outcome span {
  font-size: 1.45cqw;
  font-weight: 700;
  color: var(--ink-secondary);
}

.s14-easter-egg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2cqw;
  padding: 1.25cqw 2.2cqw;
  border-radius: 1cqw;
  background: var(--node-surface);
  border: 2px solid var(--line-muted);
  font-size: 1.52cqw;
  font-weight: 700;
  color: var(--ink-primary);
}

.s14-egg-tag {
  font-family: var(--font-mono);
  font-size: 1.25cqw;
  font-weight: 900;
  padding: 0.32cqw 0.9cqw;
  border-radius: 999px;
  background: var(--focal-soft);
  color: var(--focal);
}

.s14-easter-egg strong {
  color: var(--focal);
  font-family: var(--font-mono);
}

/* ==========================================================================
   S15 · CLOSING: TWO PRINCIPLES AS DOMINANT FOCAL HEROES
   ========================================================================== */
.s15-wrap {
  display: flex;
  flex-direction: column;
  gap: 2.6cqw;
}

.s15-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.8cqw;
}

.s15-principle {
  background: var(--node-surface);
  border: 2.8px solid var(--focal);
  border-top: 0.75cqw solid var(--focal);
  border-radius: 1.3cqw;
  padding: 3cqw 2.8cqw;
  display: flex;
  flex-direction: column;
  gap: 1.1cqw;
  box-shadow: 0 18px 40px var(--focal-halo);
}

.s15-num {
  font-family: var(--font-mono);
  font-size: 1.48cqw;
  font-weight: 900;
  color: var(--focal);
}

.s15-en {
  font-size: 3.25cqw;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--ink-primary);
}

.s15-desc {
  font-size: 1.65cqw;
  font-weight: 700;
  color: var(--ink-primary);
  line-height: 1.3;
}

.s15-zh {
  font-size: 1.45cqw;
  font-weight: 700;
  color: var(--ink-secondary);
}

.s15-transition {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 1cqw;
  padding: 0.85cqw 2cqw;
  border-radius: 999px;
  border: 2px solid var(--line-muted);
  background: var(--node-fill-subtle);
  color: var(--ink-secondary);
  font-size: 1.48cqw;
  font-weight: 800;
}

.s15-transition-arrow {
  color: var(--focal);
  font-weight: 900;
}

/* ==========================================================================
   S16 · 20-MIN HANDS-ON GUIDE (10s Auto-Cycle + 20:00 Live Timer)
   ========================================================================== */
.s16-header-timer {
  display: inline-flex;
  align-items: center;
  gap: 0.85cqw;
}

.timer-pill {
  appearance: none;
  border: 2.2px solid var(--focal);
  background: var(--focal-soft);
  color: var(--focal-deep);
  font-family: var(--font-mono);
  font-size: 1.75cqw;
  font-weight: 900;
  padding: 0.35cqw 1.25cqw;
  border-radius: 999px;
  cursor: pointer;
}

.timer-pill.is-running {
  background: var(--focal);
  color: #ffffff;
}

.timer-reset {
  appearance: none;
  border: 2px solid var(--line-muted);
  background: var(--node-surface);
  color: var(--ink-secondary);
  font-family: var(--font-mono);
  font-size: 1.25cqw;
  font-weight: 700;
  padding: 0.35cqw 0.95cqw;
  border-radius: 999px;
  cursor: pointer;
}

.s16-grid {
  display: grid;
  grid-template-columns: 64fr 36fr;
  gap: 3cqw;
  align-items: center;
}

.s16-steps {
  display: flex;
  flex-direction: column;
  gap: 1.15cqw;
}

.s16-row {
  display: grid;
  grid-template-columns: 3.2cqw 18.5cqw 1fr;
  align-items: center;
  gap: 1.4cqw;
  padding: 0.95cqw 1.6cqw;
  border-radius: 0.95cqw;
  background: var(--node-surface);
  border: 2px solid var(--line-muted);
  cursor: pointer;
  transition: background-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.45s ease, color 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

.s16-row.is-active {
  background: var(--focal);
  border-color: var(--focal);
  color: #ffffff;
  transform: translateX(0.6cqw);
  box-shadow: 0 14px 28px var(--focal-halo);
}

.s16-step-n {
  font-family: var(--font-mono);
  font-size: 1.45cqw;
  font-weight: 900;
  color: var(--focal);
}

.s16-row.is-active .s16-step-n {
  color: rgba(255, 255, 255, 0.9);
}

.s16-step-main {
  display: flex;
  flex-direction: column;
  gap: 0.18cqw;
  min-width: 0;
}

.s16-step-main strong {
  font-size: 1.62cqw;
  font-weight: 900;
  line-height: 1.15;
}

.s16-step-zh {
  font-size: 1.25cqw;
  font-weight: 700;
  color: var(--ink-muted);
  line-height: 1.15;
}

.s16-row.is-active .s16-step-zh {
  color: rgba(255, 255, 255, 0.88);
}

.s16-step-hint {
  font-size: 1.38cqw;
  font-weight: 600;
  color: var(--ink-secondary);
}

.s16-row.is-active .s16-step-hint {
  color: #ffffff;
}

.s16-tips {
  border-left: 3px solid var(--line-muted);
  padding-left: 2.2cqw;
  display: flex;
  flex-direction: column;
  gap: 1.55cqw;
}

.s16-tips-kicker {
  font-family: var(--font-mono);
  font-size: 1.32cqw;
  font-weight: 900;
  color: var(--focal);
  letter-spacing: 0.06em;
}

.s16-tip-item {
  font-size: 1.58cqw;
  font-weight: 800;
  color: var(--ink-primary);
  line-height: 1.3;
}

.s16-tip-item strong {
  color: var(--focal);
}

.s16-no-install {
  font-size: 1.3cqw;
  font-weight: 700;
  color: var(--ink-secondary);
  padding-top: 0.6cqw;
  border-top: 1.5px solid var(--line-muted);
}

/* ==========================================================================
   S17 · THANK YOU & WORKSHOP HANDOUT
   ========================================================================== */
.s17-grid {
  display: grid;
  grid-template-columns: 52fr 48fr;
  gap: 3.6cqw;
  align-items: center;
}

.s17-left {
  display: flex;
  flex-direction: column;
  gap: 1.2cqw;
}

.s17-forum-tag {
  align-self: flex-start;
  font-size: 1.38cqw;
  font-weight: 800;
  padding: 0.45cqw 1.2cqw;
  border-radius: 999px;
  background: var(--focal-soft);
  color: var(--focal);
}

.s17-thanks {
  font-size: 6cqw;
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--ink-primary);
  line-height: 1.02;
}

.s17-thanks span {
  color: var(--focal);
}

.s17-thanks-zh {
  font-size: 2.35cqw;
  font-weight: 800;
  color: var(--ink-secondary);
}

.s17-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2cqw;
  color: var(--ink-primary);
  margin-top: 0.6cqw;
}

.s17-handout {
  background: var(--node-surface);
  border: 2.4px solid var(--line-muted);
  border-radius: 1.35cqw;
  padding: 2.4cqw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6cqw;
  box-shadow: 0 16px 36px rgba(30, 26, 22, 0.08);
}

.s17-handout-kicker {
  font-family: var(--font-mono);
  font-size: 1.32cqw;
  font-weight: 900;
  color: var(--focal);
  letter-spacing: 0.06em;
}

.s17-qr-box {
  width: 14.5cqw;
  height: 14.5cqw;
  border-radius: 0.95cqw;
  border: 2.2px dashed var(--line-muted);
  background: var(--node-fill-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.25cqw;
  font-weight: 700;
  color: var(--ink-muted);
  text-align: center;
  overflow: hidden;
  padding: 0.8cqw;
}

.s17-qr-box.has-media {
  border-style: solid;
  background: #ffffff;
  padding: 0.4cqw;
}

.s17-qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.s17-tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85cqw;
  width: 100%;
}

.s17-tag {
  padding: 0.65cqw 0.9cqw;
  border-radius: 0.65cqw;
  background: var(--node-fill-subtle);
  font-size: 1.28cqw;
  font-weight: 800;
  color: var(--ink-primary);
  text-align: center;
}

/* ==========================================================================
   Speaker Notes Drawer [N] & Slide Overview Grid [G] (Hidden by Default)
   ========================================================================== */
.notes-drawer {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(820px, calc(100vw - 40px));
  background: #ffffff;
  border: 2px solid var(--ink-primary);
  border-radius: 12px;
  padding: 14px 20px;
  box-shadow: 0 18px 44px rgba(30, 26, 22, 0.22);
  z-index: 60;
  display: none;
}

.notes-drawer.is-open {
  display: block;
}

.notes-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--focal);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.notes-body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-primary);
}

.overview-modal {
  position: fixed;
  inset: 0;
  background: rgba(30, 26, 22, 0.72);
  backdrop-filter: blur(8px);
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.overview-modal.is-open {
  display: flex;
}

.overview-panel {
  width: min(1060px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--stage-bg);
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.overview-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.overview-top h3 {
  font-size: 18px;
  font-weight: 800;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 12px;
}

.overview-card {
  appearance: none;
  text-align: left;
  background: #ffffff;
  border: 1.8px solid var(--line-muted);
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.overview-card:hover,
.overview-card.is-current {
  border-color: var(--focal);
  background: var(--focal-soft);
}

.overview-card-id {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: var(--focal);
}

.overview-card-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-primary);
}

.overview-card-time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
}
