/* ==========================================================================
   Exercises: visual, represented and animated (Volcano Loop stages)
   ========================================================================== */
.fx-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 500; }
.fx-ghost { position: fixed; z-index: 450; pointer-events: none; margin: 0; }
.fx-shake { animation: fxShake .45s cubic-bezier(.36, .07, .19, .97); }
@keyframes fxShake { 15%, 85% { transform: translateX(-2px); } 30%, 70% { transform: translateX(5px); } 45%, 55% { transform: translateX(-7px); } }
.fx-pop { animation: fxPop .45s var(--ease); }
@keyframes fxPop { 40% { transform: scale(1.06); } }
.fx-glow { animation: fxGlow 1.2s var(--ease); }
@keyframes fxGlow { 0% { box-shadow: 0 0 0 0 rgba(var(--ok-rgb), .55); } 100% { box-shadow: 0 0 0 18px rgba(var(--ok-rgb), 0); } }
.fx-w { transition: color .15s, background .15s; border-radius: 4px; }
.fx-w.on { color: var(--accent-ink); background: var(--accent-2); box-shadow: 0 0 0 2px var(--accent-2); }
.fx-w.done { color: var(--text); }
.reveal-up { animation: revealUp .55s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes revealUp { from { opacity: 0; transform: translateY(12px); } }

/* --- shared exercise shell --- */
.ex-visual { position: relative; border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; background: var(--bg-elev); }
.ex-dots { display: flex; gap: 8px; align-items: center; }
.ex-dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px dashed var(--line-strong); transition: all .4s var(--ease); position: relative; }
.ex-dot svg { width: 16px; height: 16px; opacity: .25; transition: all .4s var(--ease); color: var(--text-3); }
.ex-dot.current { border-style: solid; border-color: var(--accent-2); }
.ex-dot.lit { border: 1px solid transparent; background: radial-gradient(circle, rgba(var(--accent2-rgb), .35), transparent 70%); }
.ex-dot.lit svg { opacity: 1; color: var(--accent-2); transform: scale(1.15); filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), .8)); }
.ex-dot.ash svg { opacity: .5; color: var(--text-3); }
.ex-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--card-pad); position: relative; }

/* --- MCQ --- */
.mcq.fx button { position: relative; overflow: hidden; transition: border-color .2s, background .2s, transform .15s; }
.mcq.fx button:hover:not([disabled]) { transform: translateX(3px); }
.mcq.fx button.right::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--ok-rgb), .25), transparent); animation: sweepIn .6s var(--ease); }
@keyframes sweepIn { from { transform: translateX(-100%); } }
.mcq-progress { display: flex; gap: 4px; margin-bottom: 14px; }
.mcq-progress i { flex: 1; height: 3px; border-radius: 3px; background: var(--surface-3); transition: background .4s; }
.mcq-progress i.ok { background: var(--ok); } .mcq-progress i.no { background: var(--bad); } .mcq-progress i.cur { background: var(--accent-2); }

/* --- Rekindle: embers --- */
.rekindle-hero { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; margin-bottom: 20px; background: radial-gradient(120% 140% at 0% 100%, rgba(var(--accent-rgb), .12), transparent 60%), var(--bg-elev); }
.ember-row { display: flex; gap: 16px; }
@media (max-width: 600px) { .rekindle-hero { flex-direction: column; align-items: flex-start; } .ember-row { flex-wrap: wrap; gap: 12px; } .ember { width: 28px; height: 38px; } }
.ember { width: 34px; height: 46px; position: relative; color: var(--text-3); }
.ember svg { width: 100%; height: 100%; overflow: visible; }
.ember .flame path { fill: transparent; stroke: currentColor; stroke-width: 1.3; stroke-dasharray: 3 3; transition: fill .5s var(--ease), stroke .3s; }
.ember.lit .flame path { fill: var(--accent); stroke: var(--accent); stroke-dasharray: none; }
.ember.lit .flame path:nth-child(2) { fill: #d9a066; stroke: #d9a066; }
.ember.lit .flame path:nth-child(3) { fill: #8a9bb4; stroke: #8a9bb4; }
html.theme-dark .ember .flame path { stroke: rgba(var(--fg-rgb), .4); }
.ember.ash .flame path { stroke-opacity: .5; }
.prompt-big { font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.2; margin: 6px 0 18px; }

/* --- Story: scene --- */
.scene { position: relative; aspect-ratio: 800 / 340; width: 100%; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #140f0d; }
.scene-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--bg-rgb), 0) 40%, rgba(var(--bg-rgb), .78) 100%); pointer-events: none; }
.standees { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: clamp(10px, 4vw, 48px); z-index: 2; }
.standee { display: flex; flex-direction: column; align-items: center; gap: 8px; transition: transform .45s var(--ease), opacity .45s, filter .45s; opacity: .55; filter: saturate(.6); }
.standee .avatar { width: clamp(46px, 7vw, 66px); height: clamp(46px, 7vw, 66px); border-radius: 50%; box-shadow: 0 10px 24px -8px rgba(var(--shadow-rgb), .9); }
.standee .avatar .mono-av { font-size: clamp(1rem, 2vw, 1.4rem); }
.standee .nm { font: 500 var(--fs-xs)/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); background: rgba(var(--bg-rgb), .7); padding: 4px 7px; border-radius: 5px; }
.standee.speaking { opacity: 1; filter: none; transform: translateY(-8px) scale(1.06); }
.standee.speaking .avatar { box-shadow: 0 0 0 2px var(--accent-2), 0 0 30px rgba(var(--accent2-rgb), .55); }
.bubble { position: absolute; z-index: 3; max-width: min(78%, 520px); left: 50%; top: 14%; transform: translateX(-50%); padding: 14px 18px; border-radius: 16px; background: rgba(251, 247, 240, .97); color: #1b120d; font: 400 clamp(1.05rem, 2.2vw, 1.35rem)/1.35 var(--serif); box-shadow: 0 18px 40px -16px rgba(var(--shadow-rgb), .9); transition: left .45s var(--ease); }
.bubble::after { content: ''; position: absolute; bottom: -9px; left: var(--tail, 50%); width: 18px; height: 18px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 3px; }
.bubble .who { display: block; font: 600 var(--fs-xs)/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #a24b1f; margin-bottom: 6px; }
.bubble .l1b { display: block; font: 400 13px/1.4 var(--sans); color: #6e5a4c; margin-top: 6px; }
.bubble.enter { animation: bubbleIn .4s var(--ease); }
@keyframes bubbleIn { from { opacity: 0; transform: translate(-50%, 10px) scale(.96); } }
.bubble .fx-w.on { color: var(--accent-ink); background: var(--accent-2); box-shadow: 0 0 0 2px var(--accent-2); }
.scene-controls { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 14px 0 6px; }
.scene-controls .counter { font: 500 var(--fs-xs)/1 var(--mono); color: var(--text-3); letter-spacing: .1em; }
.sc-sway { animation: sway 5s ease-in-out infinite; }
@keyframes sway { 50% { transform: rotate(2.2deg); } }
.sc-flicker { animation: scFlicker 3.4s ease-in-out infinite; }
@keyframes scFlicker { 40% { opacity: .75; } 45% { opacity: .55; } 50% { opacity: .85; } }
.sc-twinkle { animation: scTw 3s ease-in-out infinite; }
@keyframes scTw { 50% { opacity: .2; } }
.sc-steam path { animation: steam 2.6s ease-in-out infinite; }
@keyframes steam { 0% { opacity: 0; transform: translateY(6px); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateY(-14px); } }
.sc-wave { animation: wave 6s ease-in-out infinite; }
@keyframes wave { 50% { transform: translateX(-24px); } }
.sc-tick { animation: tick 60s steps(60) infinite; }
@keyframes tick { to { transform: rotate(360deg); } }
.sc-drive { animation: drive 14s linear infinite; }
@keyframes drive { from { transform: translateX(-520px); } to { transform: translateX(560px); } }
.story-line.speaking .en .fx-w.on { color: var(--accent-ink); }

/* --- Chunks: flip cards with word tiles --- */
.flip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.flip { perspective: 1200px; min-height: 184px; animation: revealUp .5s var(--ease) both; animation-delay: var(--d, 0s); }
.flip-inner { position: relative; height: 100%; min-height: 184px; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.flip.flipped .flip-inner { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: var(--r); border: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; gap: 12px;
  background: radial-gradient(130% 120% at 100% 0%, rgba(var(--accent-rgb), .1), transparent 55%), var(--surface); }
.flip-face.back { transform: rotateY(180deg); background: radial-gradient(130% 120% at 0% 100%, rgba(143, 134, 255, .12), transparent 55%), var(--surface-2); }
.flip.cooled .flip-face.front { border-color: rgba(var(--ok-rgb), .45); }
.tiles { display: flex; flex-wrap: wrap; gap: 8px; }
.tile { font: 400 1.35rem/1 var(--serif); padding: 9px 11px 10px; border-radius: 9px; background: var(--surface-3); border: 1px solid var(--line-strong); animation: tileIn .5s var(--ease) both; animation-delay: var(--d, 0s); transition: background .3s, border-color .3s, color .3s; }
@keyframes tileIn { from { opacity: 0; transform: translateY(-14px) rotate(-4deg); } }
.tile.hit { background: rgba(var(--ok-rgb), .16); border-color: rgba(var(--ok-rgb), .55); }
.tile.miss { background: rgba(var(--bad-rgb), .12); border-color: rgba(var(--bad-rgb), .5); }
.flip .meta-row { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.flip .hint { font: 500 var(--fs-xs)/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.flip-face.back .l1-big { font: 400 1.6rem/1.2 var(--serif); color: var(--text); }
.bars { display: none; align-items: center; gap: 3px; height: 30px; }
.bars.on { display: flex; }
.bars i { width: 3px; height: 100%; border-radius: 3px; background: var(--accent); transform: scaleY(.12); transition: transform .08s; }

/* --- Sound: rhythm strip --- */
.rhythm { position: relative; padding: 20px 18px 16px; border-radius: var(--r-sm); background: var(--bg-elev); border: 1px solid var(--line); overflow: hidden; }
.rhythm .words { display: flex; flex-wrap: wrap; gap: 4px 16px; position: relative; z-index: 1; font: 400 1.6rem/1.2 var(--serif); }
.rhythm svg.links { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.rhythm svg.links path { stroke: var(--accent-2); stroke-width: 1.6; fill: none; stroke-dasharray: 120; stroke-dashoffset: 120; animation: drawArc 1s var(--ease) forwards; animation-delay: var(--d, .2s); opacity: .85; }
@keyframes drawArc { to { stroke-dashoffset: 0; } }
.beats { display: flex; align-items: flex-end; gap: 12px; margin-top: 16px; min-height: 52px; }
.beat { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.beat i { display: block; border-radius: 50%; background: var(--surface-3); transition: background .2s, transform .2s, box-shadow .2s; }
.beat.s i { width: 26px; height: 26px; } .beat.w i { width: 12px; height: 12px; }
.beat span { font: 500 12px/1 var(--mono); color: var(--text-2); letter-spacing: .02em; }
.beat.s span { color: var(--accent-2); font-weight: 600; }
.beat.on i { background: var(--accent); transform: scale(1.25); box-shadow: 0 0 18px rgba(var(--accent-rgb), .8); }
.beat.done i { background: rgba(var(--accent2-rgb), .55); }

/* --- Pattern: formula tokens & gap slot --- */
.formula { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 6px 0 4px; }
.tok { font: 500 15px/1 var(--mono); padding: 10px 12px; border-radius: 10px; border: 1px solid; animation: tokIn .55s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes tokIn { from { opacity: 0; transform: translateY(16px) scale(.9); } }
.tok.plus { border: 0; padding: 0 2px; color: var(--text-3); }
.contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); }
.contrast > div { background: var(--surface); padding: 14px 16px; }
@media (max-width: 600px) { .contrast { grid-template-columns: 1fr; } }
.gap-line { font: 400 clamp(1.4rem, 3vw, 1.9rem)/1.4 var(--serif); margin: 8px 0 20px; }
.slot { display: inline-flex; min-width: 92px; height: 1.35em; vertical-align: -0.2em; border-bottom: 2px dashed var(--accent-2); margin: 0 6px; justify-content: center; align-items: center; padding: 0 8px; border-radius: 6px 6px 0 0; transition: background .3s, border-color .3s; }
.slot.filled { border-bottom-style: solid; }
.slot.ok { background: rgba(var(--ok-rgb), .15); border-color: var(--ok); }
.slot.no { background: rgba(var(--bad-rgb), .12); border-color: var(--bad); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 400 1.15rem/1 var(--serif); padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--bg-elev); color: var(--text); cursor: pointer; transition: transform .15s, border-color .2s, opacity .3s; }
.chip:hover:not([disabled]) { transform: translateY(-2px); border-color: var(--accent-2); }
.chip[disabled] { opacity: .35; cursor: default; }
.chip.right { border-color: var(--ok); background: rgba(var(--ok-rgb), .12); opacity: 1; }

/* --- Lava Drill: crater gauge --- */
.drill-wrap { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center; }
@media (max-width: 600px) { .drill-wrap { grid-template-columns: 1fr; } .gauge { width: 100%; height: 64px !important; } }
.gauge { position: relative; height: 230px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); background: linear-gradient(180deg, #c9b8d6, #efe2dc); }
.gauge .lava { position: absolute; left: 0; right: 0; bottom: 0; height: 0%; background: linear-gradient(0deg, #c8735a, #d9a066 55%, #f1d3b0); transition: height .1s linear; }
@keyframes bubble { 50% { transform: translateY(3px) scaleX(.96); } }
.gauge .lbl { position: absolute; left: 0; right: 0; top: 10px; text-align: center; font: 600 22px/1 var(--mono); color: #1d2129; z-index: 1; }

@keyframes hot { to { filter: brightness(1.3); } }
.combo { font: 600 var(--fs-xs)/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); display: inline-flex; gap: 8px; align-items: center; }
.combo b { font: 400 1.8rem/1 var(--serif); color: var(--text); letter-spacing: 0; }
.cue-card { font-family: var(--serif); font-size: clamp(1.8rem, 4.6vw, 2.7rem); line-height: 1.15; padding: 8px 0 16px; animation: cueIn .45s var(--ease); }
@keyframes cueIn { from { opacity: 0; transform: translateX(26px); filter: blur(4px); } }

/* --- Read: artefact --- */
.artefact { position: relative; background: #f3ebe0; color: #23170f; padding: clamp(26px, 4vw, 44px); border-radius: 6px; box-shadow: 0 40px 80px -40px rgba(var(--shadow-rgb), .95), 0 2px 0 rgba(var(--shadow-rgb), .2); transform: rotate(-.6deg); animation: paperIn .7s var(--ease); font: 400 1.22rem/1.75 var(--serif); white-space: pre-wrap;
  background-image: repeating-linear-gradient(0deg, transparent 0 31px, rgba(35, 23, 15, .05) 31px 32px); }
@keyframes paperIn { from { opacity: 0; transform: rotate(-3deg) translateY(30px); } }
.artefact::before { content: ''; position: absolute; top: -10px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff8a5a, #c2401f); box-shadow: 0 3px 6px rgba(var(--shadow-rgb), .5); }
.artefact h3 { font-size: 1.6rem; margin-bottom: .6em; color: #23170f; white-space: normal; }
.artefact mark { background: linear-gradient(transparent 55%, rgba(var(--accent-rgb), .45) 55%) no-repeat 0 0 / 0% 100%; color: inherit; animation: marker .8s var(--ease) forwards; animation-delay: var(--d, .3s); }
@keyframes marker { to { background-size: 100% 100%; } }

/* --- Write: chunk tracker & word ring --- */
.tracker { display: flex; flex-wrap: wrap; gap: 8px; }
.tracker span { font-size: 13.5px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-3); transition: all .35s var(--ease); }
.tracker span.used { color: var(--accent-ink); background: var(--accent-2); border-color: var(--accent-2); transform: scale(1.04); }
.ring { width: 64px; height: 64px; position: relative; flex: 0 0 64px; }
.ring svg { transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; }
.ring .bg { stroke: var(--surface-3); } .ring .fg { stroke: var(--accent-2); stroke-linecap: round; transition: stroke-dashoffset .4s var(--ease), stroke .3s; }
.ring.full .fg { stroke: var(--ok); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 600 13px/1 var(--mono); }
.fix-anim s { color: var(--bad); text-decoration-thickness: 2px; animation: strike .5s var(--ease) both; }
@keyframes strike { from { text-decoration-color: transparent; } }
.fix-anim b { color: var(--ok); animation: revealUp .5s var(--ease) both .25s; display: inline-block; }

/* --- Mission: summit path --- */
.summit { position: relative; display: flex; justify-content: space-between; align-items: flex-end; padding: 18px 10px 6px; }
.summit svg.path { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.summit svg.path path { stroke: var(--line-strong); stroke-width: 2; fill: none; stroke-dasharray: 4 6; }
.summit svg.path path.done { stroke: var(--accent-2); stroke-dasharray: none; transition: stroke-dashoffset .8s var(--ease); }
.camp-node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 33%; text-align: center; }
.camp-node .pin { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--bg-elev); display: grid; place-items: center; transition: all .5s var(--ease); }
.camp-node .pin svg { width: 14px; height: 14px; opacity: 0; transition: opacity .3s; }
.camp-node.met .pin { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 22px rgba(var(--accent-rgb), .7); color: var(--accent-ink); }
.camp-node.met .pin svg { opacity: 1; }
.camp-node small { font-size: 12.5px; color: var(--text-2); line-height: 1.35; }
.camp-node.met small { color: var(--text); }
.mission-scene { aspect-ratio: 800 / 260; }
.mission-scene .bubble { top: 10%; }

/* --- Cool Down: cooling blobs --- */
.cooling { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.cool-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.blob { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 46% 54% 50% 50% / 55% 45% 55% 45%; background: #c8735a; animation: settle 3.2s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes settle { 0% { background: #c8735a; transform: scale(.85); } 35% { background: #d9a066; transform: scale(1); } 70% { background: #8a9bb4; } 100% { background: #4f6f9a; } }
@keyframes morph { 50% { border-radius: 55% 45% 40% 60% / 45% 55% 45% 55%; } }

/* --- Review: 3D memory card --- */
.mem-card { perspective: 1400px; width: 100%; max-width: 620px; margin: 0 auto; }
.mem-inner { position: relative; min-height: 460px; transform-style: preserve-3d; transition: transform .75s cubic-bezier(.2, .8, .2, 1); }
.mem-card.flipped .mem-inner { transform: rotateY(180deg); }
.mem-face { position: absolute; inset: 0; overflow-y: auto; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 20px; border: 1px solid var(--line-strong); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 28px; text-align: center;
  background: radial-gradient(120% 100% at 50% 0%, var(--glow, rgba(var(--accent-rgb), .14)), transparent 60%), var(--surface); }
.mem-face.back { transform: rotateY(180deg); }
.mem-crystal { width: 72px; height: 72px; transition: transform .6s var(--ease); }
.mem-crystal svg { width: 100%; height: 100%; }
.mem-crystal.morph { animation: crystal 1s var(--ease); }
@keyframes crystal { 40% { transform: scale(1.35) rotate(12deg); filter: brightness(1.6); } }
.state-track { display: flex; align-items: center; gap: 8px; }
.state-track i { width: 34px; height: 4px; border-radius: 4px; background: var(--surface-3); transition: background .5s; }
.state-track i.on { background: var(--c); }

/* --- Placement altitude --- */
.altimeter { display: flex; gap: 3px; align-items: flex-end; height: 40px; }
.altimeter i { width: 10px; border-radius: 3px 3px 0 0; background: var(--surface-3); transition: background .4s, height .4s; }
.altimeter i.on { background: var(--c); }

@media (prefers-reduced-motion: reduce) {
  .flip-inner, .mem-inner { transition: none; }
  .blob { animation: none; background: #4f6f9a; }
  .artefact mark { background-size: 100% 100%; animation: none; }
}

/* ---------- New-format Blocks: cold open, "You" lines, basics, then-and-now, goal versions ---------- */
.sc-plane { animation: scPlane 14s linear infinite; }
@keyframes scPlane { from { transform: translate(-40px, 10px); opacity: 0; } 15% { opacity: .85; } 85% { opacity: .85; } to { transform: translate(260px, -40px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sc-plane { animation: none; } }
.co-scene .bubble { left: 72%; top: 8%; max-width: min(46%, 380px); }
@media (max-width: 640px) { .co-scene .bubble { left: 50%; top: auto; bottom: 5%; max-width: 86%; font-size: 1rem; padding: 10px 14px; } .co-scene .bubble::after { display: none; } }
.co-card { margin-top: 16px; }
.co-text { font: 400 1.15rem/1.5 var(--serif); margin: 0 0 6px; }
.co-l1 { color: var(--text-3); font-size: .92rem; margin: 0 0 10px; }
.co-l1.hidden { display: none; }
.co-q { margin: 16px 0 4px; } /* the same size as every other h3 in a Stage */
.story-line.you .who { color: #587060; }
.story-line.you { background: rgba(110, 133, 116, .07); border-radius: 12px; }
.drill-wrap.calm { grid-template-columns: 1fr; }
.basics .basics-k { font: 600 var(--fs-xs)/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin: 18px 0 8px; }
.spell-row { display: flex; flex-wrap: wrap; gap: 8px; }
.spell-l { display: inline-flex; flex-direction: column; align-items: center; min-width: 46px; padding: 8px 8px 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.spell-l b { font: 600 1.3rem/1 var(--serif); }
.spell-l i { font: 400 var(--fs-xs)/1.4 var(--mono); color: var(--text-3); font-style: normal; margin-top: 4px; }
.date-list { display: grid; gap: 12px; }
.date-row { display: grid; grid-template-columns: 70px 1fr; gap: 8px 12px; align-items: center; }
.date-row .date-fb { grid-column: 2; }
.date-row .date-fb .feedback { margin: 0; }
.date-w { font: 600 1.2rem/1 var(--mono); }
.basics select { min-height: 38px; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--text); font: 500 14px/1.2 var(--sans); }
.bd-out { font: 400 1.1rem/1.4 var(--serif); margin: 12px 0 6px; min-height: 1.4em; }
.pill-sage { background: rgba(110, 133, 116, .16); color: #587060; }
.firsttry { margin-bottom: 14px; }
.ft-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ft-grid > div { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.ft-grid > div:last-child { border-color: rgba(110, 133, 116, .45); background: rgba(110, 133, 116, .07); }
.ft-k { font: 600 var(--fs-xs)/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin: 0 0 6px; }
.ft-t { font: 400 1.08rem/1.45 var(--serif); margin: 0; }
@media (max-width: 640px) { .ft-grid { grid-template-columns: 1fr; } }
.theme-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 16px; }
.theme-bar > span { margin-right: 4px; }
.theme-note { margin: 0 0 12px; }
:root[data-theme="dark"] .story-line.you .who, :root[data-theme="dark"] .pill-sage { color: #9db8a4; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .story-line.you .who, :root:not([data-theme="light"]) .pill-sage { color: #9db8a4; } }
.basics-tbl { width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: .95rem; }
.basics-tbl th { text-align: left; font: 600 var(--fs-xs)/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); padding: 6px 8px; border-bottom: 1px solid var(--line); }
.basics-tbl td { padding: 6px 8px; border-bottom: 1px solid var(--line); }
.basics-tbl td:last-child { width: 1%; }
/* "Today's Stage begins": the label above the try-first scene, with a trail blaze (the recap above it is "Previously on your path…") */
.co-ep { display: flex; align-items: center; gap: 8px; margin: 18px 0 10px; font: 700 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.co-ep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.co-ep-dot { width: 22px; height: 14px; border-radius: 2px; flex: none; background: linear-gradient(#F6F2EA 0 33%, #D2342C 33% 67%, #F6F2EA 67%); box-shadow: 0 0 0 1px rgba(0,0,0,.18); } /* a trail blaze, the painted hiking marker */
