/* === Imprint Mode — Mobile immersive chapter experience === */
/* All rules scoped under body.imprint-mode (toggled at ≤768px) */

/* ─── Segmented progress bar ─────────────────────────────────── */
body.imprint-mode .imprint-progress {
  display: flex;
  gap: 3px;
  padding: 10px 12px 6px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(to bottom, rgba(10,10,26,0.95) 60%, transparent);
}

body.imprint-mode .imprint-seg {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.15);
  overflow: hidden;
  position: relative;
}

body.imprint-mode .imprint-seg.seg-done {
  background: var(--chapter-accent, #00d4ff);
}

body.imprint-mode .imprint-seg.seg-active {
  background: rgba(255,255,255,0.15);
}

body.imprint-mode .imprint-seg.seg-active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--chapter-accent, #00d4ff);
  animation: seg-fill 0.4s ease-out forwards;
}

@keyframes seg-fill {
  from { transform: scaleX(0); transform-origin: left; }
  to   { transform: scaleX(1); transform-origin: left; }
}

/* Hide dots and bottom nav */
body.imprint-mode #slide-indicator {
  display: none;
}

body.imprint-mode #slide-nav {
  display: none;
}

/* Hide progress bar (segmented bar replaces it) */
body.imprint-mode #progress-bar-container {
  display: none !important;
}

/* ─── Global layout ──────────────────────────────────────────── */
body.imprint-mode #app-header {
  display: none;
}

body.imprint-mode #app-content {
  padding-top: 0;
}

body.imprint-mode #chapter-screen {
  height: 100dvh;
  height: 100vh;
  padding: 0;
}

body.imprint-mode #chapter-screen.screen {
  padding: 0;
}

body.imprint-mode .slide-viewport {
  height: calc(100dvh - 28px);
  height: calc(100vh - 28px);
}

body.imprint-mode .slide {
  padding: 1.25rem 1rem;
  max-width: 100%;
}

/* ─── Slide counter overlay ──────────────────────────────────── */
body.imprint-mode .imprint-counter {
  position: absolute;
  top: 28px;
  right: 12px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  z-index: 15;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

/* ─── Title card — immersive hero ────────────────────────────── */
body.imprint-mode .slide.slide-title {
  padding: 0;
  overflow: visible;
}

body.imprint-mode .slide-content.slide-title {
  max-height: none;
  justify-content: flex-end;
  min-height: 100%;
}

body.imprint-mode .slide-title[data-has-hero="true"] {
  padding: 0;
}

body.imprint-mode .slide-title[data-has-hero="true"] .chapter-hero-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 65%;
  object-fit: cover;
  object-position: center top;
  max-height: none;
  max-width: none;
  border-radius: 0;
  border: none;
  margin: 0;
  flex: none;
  box-shadow: none;
  z-index: 0;
}

body.imprint-mode .slide-title[data-has-hero="true"] .slide-content.slide-title {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding: 1.5rem;
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  background: linear-gradient(
    to top,
    rgba(10,10,26,0.95) 0%,
    rgba(10,10,26,0.85) 30%,
    rgba(10,10,26,0.4) 55%,
    transparent 65%
  );
}

body.imprint-mode .slide-title .chapter-hero-caption {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

/* Hide chapter tree on title card */
body.imprint-mode .slide-title .chapter-tree-wrap {
  display: none;
}

body.imprint-mode .slide-title .chapter-num {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.7;
}

body.imprint-mode .slide-title .chapter-heading {
  font-size: 1.8rem;
  line-height: 1.15;
  margin-top: 0.25rem;
}

/* ─── Scene cards ────────────────────────────────────────────── */
body.imprint-mode .block-scene {
  border-left: none;
  text-align: left;
  line-height: 1.7;
  padding: 0.5rem 0.25rem;
}

body.imprint-mode .scene-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 0.75rem;
}

body.imprint-mode .scene-badge {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.85);
}

/* ─── Beat indicator — mini segment bar ──────────────────────── */
body.imprint-mode .beat-indicator {
  font-size: 0;
  display: flex;
  gap: 3px;
  margin-top: 0.75rem;
  justify-content: center;
}

body.imprint-mode .beat-seg {
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: rgba(255,255,255,0.15);
}

body.imprint-mode .beat-seg.beat-current {
  background: var(--chapter-accent, #00d4ff);
}

/* ─── Visual cards (diagram/interactive) ─────────────────────── */
body.imprint-mode .block-diagram {
  background: none;
  border: none;
  padding: 0;
}

body.imprint-mode .diagram-svg-wrap {
  max-height: 65vh;
  width: 100%;
}

body.imprint-mode .diagram-svg-wrap svg {
  max-height: 65vh;
  width: 100%;
}

body.imprint-mode .block-interactive {
  background: none;
  border: none;
  padding: 0;
}

body.imprint-mode .interactive-instruction {
  position: relative;
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  text-align: center;
}

/* ─── Composite slides (text + visual) ───────────────────────── */
body.imprint-mode .slide-composite-layout {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
}

body.imprint-mode .slide-composite-layout .slide-visual {
  order: -1;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.imprint-mode .slide-composite-layout .slide-context {
  max-height: 30vh;
  overflow-y: auto;
  padding: 0.75rem 0.25rem;
  -webkit-overflow-scrolling: touch;
}

body.imprint-mode .slide-composite-layout .slide-context .block-scene {
  font-size: 0.9rem;
}

/* ─── Hook card ──────────────────────────────────────────────── */
body.imprint-mode .hook-question {
  font-size: 1.6rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}

body.imprint-mode .hook-context {
  color: rgba(255,255,255,0.55);
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

body.imprint-mode .hook-recap {
  text-align: center;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
}

/* ─── Quiz slides — ensure taps pass through ─────────────────── */
body.imprint-mode .quiz-slide-container {
  pointer-events: auto;
}

body.imprint-mode .quiz-option {
  pointer-events: auto;
}

/* ─── Completion slide ───────────────────────────────────────── */
body.imprint-mode .quiz-completion {
  text-align: center;
}

/* ─── Key concept / explanation ───────────────────────────────── */
body.imprint-mode .block-key-concept {
  border-radius: 12px;
  padding: 1rem;
}

body.imprint-mode .block-explanation {
  line-height: 1.7;
}

/* ─── Observation ────────────────────────────────────────────── */
body.imprint-mode .block-observation {
  line-height: 1.7;
  padding: 0.5rem 0.25rem;
  border-left: none;
}

/* ═══════════════════════════════════════════════════════════════
   Phase 2 — Visual-First Slides ("Whiteboard Not Book")
   Every slide is visual-first. Text supports visuals.
   ═══════════════════════════════════════════════════════════════ */

/* ─── Foundation: slides breathe ───────────────────────────── */
body.imprint-mode .slide {
  padding: 2rem 1.25rem;
}

body.imprint-mode .slide-content {
  max-width: 100%;
}

/* Single-block slides: narrative centered in full viewport */
body.imprint-mode .slide-content-block .slide-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* ─── 1. Scene — "Narrator with a backdrop" ────────────────── */
body.imprint-mode .block-scene {
  text-align: center;
  line-height: 1.9;
  padding: 2rem 1rem;
  border-left: none;
  border: none;
  background: radial-gradient(ellipse at 50% 20%,
    color-mix(in srgb, var(--chapter-accent, #00d4ff) 15%, transparent),
    transparent 70%);
}

body.imprint-mode .scene-meta {
  justify-content: center;
  gap: 10px;
  margin-bottom: 1.5rem;
}

body.imprint-mode .scene-badge {
  font-size: 0.95rem;
  padding: 0.5rem 1.1rem;
  color: var(--chapter-accent, #00d4ff);
  border-color: color-mix(in srgb, var(--chapter-accent, #00d4ff) 35%, transparent);
  background: color-mix(in srgb, var(--chapter-accent, #00d4ff) 12%, transparent);
  border-radius: 24px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

body.imprint-mode .scene-narrative {
  max-width: 36ch;
  margin: 0 auto;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.92);
}

/* ─── 2. Observation / Explanation — "Professor's note" ────── */
body.imprint-mode .block-observation,
body.imprint-mode .block-explanation {
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.95;
  max-width: 34ch;
  margin: 0 auto;
  padding: 1.75rem 1.25rem;
  border-left: none;
  border: none;
  background: rgba(255,255,255,0.06);
  border-radius: 16px;
  color: rgba(255,255,255,0.92);
}

body.imprint-mode .block-observation strong,
body.imprint-mode .block-explanation strong {
  color: var(--chapter-accent, #00d4ff);
  font-weight: 600;
}

/* ─── 3. Key Concept — "Pinned card on the board" ──────────── */
body.imprint-mode .block-key-concept {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.85;
  max-width: 32ch;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  border: 2px solid color-mix(in srgb, var(--chapter-accent, #00d4ff) 50%, transparent);
  border-radius: 20px;
  background: color-mix(in srgb, var(--chapter-accent, #00d4ff) 10%, rgba(10,10,26,0.5));
  color: rgba(255,255,255,0.95);
  box-shadow: 0 0 40px color-mix(in srgb, var(--chapter-accent, #00d4ff) 8%, transparent);
}

body.imprint-mode .block-key-concept strong {
  color: var(--chapter-accent, #00d4ff);
}

/* ─── 4. Analogy — "Visual metaphor" ──────────────────────── */
body.imprint-mode .block-analogy {
  text-align: center;
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.9;
  max-width: 30ch;
  margin: 0 auto;
  padding: 2rem 1rem;
  border: none;
  background: none;
  color: rgba(255,255,255,0.88);
}

body.imprint-mode .block-analogy::before {
  content: '\201C';
  display: block;
  font-size: 3rem;
  line-height: 1;
  color: var(--chapter-accent, #00d4ff);
  opacity: 0.4;
  margin-bottom: 0.5rem;
  font-style: normal;
}

body.imprint-mode .block-analogy.analogy-illustrated {
  font-style: normal;
  max-width: 100%;
  padding: 0;
}

body.imprint-mode .block-analogy.analogy-illustrated::before {
  display: none;
}

body.imprint-mode .block-analogy.analogy-illustrated .analogy-illustration {
  order: -1;
  margin-bottom: 1rem;
}

body.imprint-mode .block-analogy.analogy-illustrated .analogy-text {
  font-size: 0.95rem;
  max-width: 32ch;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.06);
  border-radius: 14px;
  font-style: italic;
}

/* ─── 5. Diagram — "The whiteboard drawing" ────────────────── */
body.imprint-mode .slide-content-block:has(.block-diagram) {
  padding: 0.5rem 0;
}

body.imprint-mode .block-diagram {
  padding: 0;
  background: none;
  border: none;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

body.imprint-mode .diagram-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.imprint-mode .diagram-svg-wrap {
  max-height: calc(100dvh - 56px);
  max-height: calc(100vh - 56px);
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.imprint-mode .diagram-svg-wrap svg {
  max-height: calc(100dvh - 56px);
  max-height: calc(100vh - 56px);
  width: 100%;
}

body.imprint-mode .diagram-caption {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
  background: rgba(10,10,26,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  z-index: 2;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.1);
}

/* ─── 6. Interactive — "Hands-on the board" ────────────────── */
body.imprint-mode .slide-content-block:has(.block-interactive) {
  padding: 0.5rem 0;
}

body.imprint-mode .block-interactive {
  padding: 0;
  background: none;
  border: none;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.imprint-mode .interactive-container {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

body.imprint-mode .interactive-canvas {
  max-width: 100%;
  max-height: calc(100dvh - 56px);
  max-height: calc(100vh - 56px);
  width: auto !important;
  height: auto !important;
}

body.imprint-mode .interactive-instruction {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.45rem 1.1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.9);
  background: rgba(10,10,26,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  z-index: 2;
  max-width: 90%;
  text-align: center;
  white-space: nowrap;
}

/* ─── 7. Composite — "Look at this, read the note" ─────────── */
body.imprint-mode .slide-composite-layout .slide-visual {
  max-height: 70vh;
}

body.imprint-mode .slide-composite-layout .slide-context {
  max-height: 25vh;
  padding: 0.85rem 0.75rem;
  background: rgba(255,255,255,0.05);
  border-radius: 14px 14px 0 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

body.imprint-mode .slide-composite-layout .slide-context .block-scene {
  text-align: left;
  font-size: 0.85rem;
  line-height: 1.6;
  background: none;
  max-width: none;
  padding: 0;
}

body.imprint-mode .slide-composite-layout .slide-context .block-scene .scene-narrative {
  max-width: none;
}

body.imprint-mode .slide-composite-layout .slide-context .block-observation,
body.imprint-mode .slide-composite-layout .slide-context .block-explanation {
  text-align: left;
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: none;
  padding: 0;
  background: none;
  border-radius: 0;
}

/* ─── 8. Quiz — "Professor asks the class" ─────────────────── */
body.imprint-mode .quiz-slide-container {
  width: 100%;
}

body.imprint-mode .slide-quiz-counter {
  font-size: 0.7rem;
  text-align: center;
  opacity: 0.45;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body.imprint-mode .quiz-question {
  font-size: 1.4rem;
  text-align: center;
  max-width: 28ch;
  margin: 0 auto 1.5rem;
  line-height: 1.35;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
}

body.imprint-mode .quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

body.imprint-mode .quiz-option {
  width: 100%;
  font-size: 1.05rem;
  min-height: 58px;
  padding: 1rem 1.15rem;
  border: 2px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  text-align: left;
  color: rgba(255,255,255,0.92);
  transition: transform 0.15s ease, background 0.25s ease,
              border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  align-items: center;
}

body.imprint-mode .quiz-option:active {
  transform: scale(0.97);
  background: rgba(255,255,255,0.09);
}

body.imprint-mode .quiz-option.correct {
  background: rgba(74,222,128,0.15);
  border-color: rgba(74,222,128,0.5);
  box-shadow: 0 0 20px rgba(74,222,128,0.1);
  transform: scale(1.02);
  color: #fff;
}

body.imprint-mode .quiz-option.incorrect {
  background: rgba(248,113,113,0.15);
  border-color: rgba(248,113,113,0.5);
  box-shadow: 0 0 20px rgba(248,113,113,0.08);
}

body.imprint-mode .quiz-feedback {
  border-radius: 16px;
  border: 2px solid rgba(255,255,255,0.1);
  padding: 1rem 1.15rem;
  text-align: center;
  margin-top: 1rem;
  background: rgba(255,255,255,0.04);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ─── 9. Hook — "The opening question" ─────────────────────── */
body.imprint-mode .hook-question {
  font-size: 2rem;
  max-width: 16ch;
  margin: 0 auto;
  line-height: 1.2;
  font-weight: 700;
  color: rgba(255,255,255,0.97);
}

body.imprint-mode .hook-context {
  font-size: 0.9rem;
  max-width: 30ch;
  margin: 1.25rem auto 0;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

body.imprint-mode .hook-recap {
  max-width: 30ch;
  margin: 0 auto 1.25rem;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.06);
  border-radius: 14px;
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.08);
}

/* ─── 10. Completion — "Final applause" ────────────────────── */
body.imprint-mode .quiz-completion {
  text-align: center;
  width: 100%;
}

body.imprint-mode .completion-icon {
  font-size: 4.5rem;
  display: block;
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1;
}

body.imprint-mode .completion-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: rgba(255,255,255,0.95);
}

body.imprint-mode .completion-score {
  font-size: 1.15rem;
  text-align: center;
  margin: 0.75rem 0 1.5rem;
  color: rgba(255,255,255,0.7);
}

body.imprint-mode .quiz-completion .btn {
  width: 100%;
  min-height: 58px;
  border-radius: 16px;
  font-size: 1.05rem;
  font-weight: 500;
  border: 2px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
}

body.imprint-mode .completion-choices {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

/* ─── 11. Epiphany cards — mobile ────────────────────────────── */
body.imprint-mode .block-epiphany {
  text-align: center;
  padding: 1.5rem 1rem;
}

body.imprint-mode .epiphany-prompt {
  font-size: 1.4rem;
  max-width: 20ch;
  margin: 0 auto 1.5rem;
  line-height: 1.3;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
}

body.imprint-mode .epiphany-cards {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 100%;
}

body.imprint-mode .epiphany-card {
  padding: 1.25rem 0.75rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.14);
}

body.imprint-mode .epiphany-card:active:not(:disabled) {
  transform: scale(0.97);
  background: rgba(255,255,255,0.09);
}

body.imprint-mode .epiphany-icon {
  font-size: 2.5rem;
}

body.imprint-mode .epiphany-label {
  font-size: 1.05rem;
}

body.imprint-mode .epiphany-flavor {
  font-size: 0.8rem;
}

body.imprint-mode .epiphany-reaction {
  font-size: 1.15rem;
}

body.imprint-mode .epiphany-story {
  font-size: 0.95rem;
  max-width: 30ch;
  margin: 0 auto;
}

/* ─── 12. Dig Deeper sheet — mobile ──────────────────────────── */
body.imprint-mode .dig-panel {
  max-height: 50vh;
  border-radius: 20px 20px 0 0;
  padding: 1.25rem 1.25rem 1.5rem;
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
}

body.imprint-mode .dig-term {
  font-size: 1.15rem;
}

body.imprint-mode .dig-text {
  font-size: 0.9rem;
  line-height: 1.7;
}

body.imprint-mode .dig-link {
  text-decoration-color: var(--accent-electric);
}

/* ─── 13. Scene Focal — visual concept anchor ────────────────── */
body.imprint-mode .scene-focal {
  margin-bottom: 1.5rem;
}

body.imprint-mode .scene-focal-icon {
  font-size: 3.5rem;
  filter: drop-shadow(0 0 20px rgba(255,170,0,0.4));
}

body.imprint-mode .scene-focal-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

/* ─── 14. Visual Quiz — icon-tagged options ──────────────────── */
body.imprint-mode .quiz-option-visual {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
}

body.imprint-mode .quiz-option-icon {
  font-size: 1.6rem;
  width: 2.2rem;
  flex-shrink: 0;
  text-align: center;
}

/* ─── Timeline: horizontal strip on mobile ─────────────────────── */
body.imprint-mode .chapter-timeline {
  position: fixed;
  left: 0;
  right: 0;
  top: auto !important;
  bottom: env(safe-area-inset-bottom, 0);
  width: 100%;
  height: 36px;
  padding: 0 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  background: linear-gradient(to top, rgba(10,10,15,0.95), rgba(10,10,15,0));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: auto;
}

body.imprint-mode .timeline-line {
  flex-direction: row;
  width: max-content;
  min-width: 100%;
  height: 2px;
  margin: 16px 0.5rem;
  padding: 0;
  align-items: center;
}

body.imprint-mode .timeline-line::before {
  top: 50%;
  left: 0;
  right: 0;
  bottom: auto;
  transform: translateY(-50%);
  width: 100%;
  height: 2px;
}

body.imprint-mode .timeline-line::after {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: var(--timeline-fill, 0%);
  height: 2px;
}

body.imprint-mode .timeline-dot {
  margin: 0 6px;
  min-width: 6px;
  min-height: 6px;
  width: 6px;
  height: 6px;
}

body.imprint-mode .timeline-dot.timeline-current {
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
}

body.imprint-mode .timeline-dot.timeline-active {
  width: 10px;
  height: 10px;
  min-width: 10px;
  min-height: 10px;
}

body.imprint-mode .timeline-year {
  left: 50%;
  transform: translateX(-50%) translateY(-2px);
  top: -14px;
  font-size: 0.5rem;
}

body.imprint-mode .timeline-label {
  display: none;
}

body.imprint-mode .timeline-dot.timeline-current.timeline-lit .timeline-year,
body.imprint-mode .timeline-dot:hover .timeline-year,
body.imprint-mode .timeline-dot.timeline-active .timeline-year {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
