/* DopaMinute walkthrough: animated phone + numbered steps, embedded on /dopaminute/.
   Everything is scoped under .dm-walk / .walkcard so it can't leak into the page.
   Single dark theme on purpose, matching the app. The phone screens are drawn in
   HTML/CSS (no images), rebuilt from the app's own screens. Script: walkthrough.js. */

.walkcard{background:#12050d;padding:56px 48px 52px;margin-bottom:22px}
@media (max-width:760px){.walkcard{padding:40px 18px 36px}}

.dm-walk {
  --dm-bg: #12050d;
  --dm-surface: #22101a;
  --dm-fg: #f7f1f4;
  --dm-muted: #a8939e;
  --dm-line: #3a2230;
  --dm-accent: #ec6b91;
  --dm-accent-soft: rgba(236, 107, 145, 0.18);
  --dm-flame: #f0923a;
  --dm-green: #68ce69;
  --dm-sheet: #1c1c1e;
  --dm-group: #2c2c2e;
  --dm-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
  max-width: 920px; margin: 0 auto; font-family: var(--dm-font); color: var(--dm-fg);
}
.dm-head { display: grid; gap: 10px; margin-bottom: 40px; max-width: 34ch; }
.dm-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dm-accent); }
.dm-title { margin: 0; font-size: clamp(30px, 5vw, 44px); line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
.dm-sub { margin: 0; font-size: 17px; line-height: 1.5; color: var(--dm-muted); }

.dm-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }

/* Phone */
.dm-phone {
  position: relative; width: clamp(230px, 30vw, 300px); max-width: 100%;
  padding: 9px; border-radius: 48px;
  background: linear-gradient(160deg, #3a2a33, #120a0f 45%, #2a1a24);
  box-shadow: 0 0 0 1px #3d2b36 inset, 0 30px 80px -20px rgba(236, 107, 145, 0.35), 0 20px 40px -10px rgba(0, 0, 0, 0.7);
}
.dm-screen {
  position: relative; aspect-ratio: 1206 / 2622; max-width: 100%;
  border-radius: 39px; overflow: hidden; isolation: isolate;
  container-type: inline-size;
  background: #160611;
  font-family: var(--dm-font);
  -webkit-font-smoothing: antialiased;
}
.dm-layer { position: absolute; inset: 0; transition: transform 560ms cubic-bezier(0.32, 0.72, 0, 1), opacity 420ms ease; }

/* Status bar */
.dm-status { position: absolute; z-index: 4; left: 0; right: 0; top: 1.6%; display: flex; justify-content: space-between; padding: 0 9cqw 0 12cqw; font-size: 3.7cqw; font-weight: 600; color: #fff; }
.dm-status b { display: inline-flex; gap: 1.4cqw; align-items: center; }
.dm-status i { display: inline-block; width: 6.4cqw; height: 3cqw; border-radius: 1cqw; border: 0.3cqw solid rgba(255,255,255,0.6); position: relative; }
.dm-status i::after { content: ""; position: absolute; inset: 0.4cqw; right: 1.6cqw; border-radius: 0.5cqw; background: #fff; }

/* Home screen */
.dm-home {
  background:
    radial-gradient(70% 45% at 10% 32%, rgba(118, 30, 140, 0.55), transparent 70%),
    radial-gradient(70% 50% at 70% 45%, rgba(150, 28, 42, 0.55), transparent 70%),
    radial-gradient(80% 40% at 100% 95%, rgba(90, 20, 110, 0.45), transparent 70%),
    linear-gradient(180deg, #1a0716 0%, #2a0a1c 45%, #1c0715 100%);
}
.dm-gear { position: absolute; left: 4.2%; top: 7.3%; width: 10.4cqw; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,0.1); box-shadow: 0 0 0 0.25cqw rgba(255,255,255,0.12) inset; display: grid; place-items: center; }
.dm-gear svg { width: 5.6cqw; height: 5.6cqw; stroke: #fff; fill: none; stroke-width: 1.8; }
.dm-appname { position: absolute; left: 0; right: 0; top: 8.4%; text-align: center; font-size: 3.9cqw; font-weight: 600; color: #fff; }

.dm-card { position: absolute; top: 15.1%; height: 7.6%; width: 44%; box-sizing: border-box; padding: 0 3.6cqw; border-radius: 4cqw; background: rgba(255,255,255,0.07); box-shadow: 0 0 0 0.25cqw rgba(255,255,255,0.08) inset; display: grid; align-content: center; gap: 0.8cqw; }
.dm-card.streak { left: 4%; }
.dm-card.tasks { right: 4%; }
.dm-card-t { display: flex; align-items: center; gap: 2cqw; font-size: 3.5cqw; font-weight: 700; white-space: nowrap; }
.dm-card-s { font-size: 2.55cqw; color: rgba(255,255,255,0.55); white-space: nowrap; }
.streak .dm-card-t { color: var(--dm-flame); }
.tasks .dm-card-t { color: rgba(255,255,255,0.85); }
.dm-card svg { width: 3.8cqw; height: 3.8cqw; flex: none; }
.dm-pop { animation: dm-pop 600ms cubic-bezier(0.3, 1.6, 0.5, 1); }
@keyframes dm-pop { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }

.dm-q { position: absolute; left: 0; right: 0; top: 39.5%; height: 12%; display: grid; place-items: center; text-align: center; }
.dm-q-text { font-size: 8.4cqw; line-height: 1.12; font-weight: 700; color: #fff; letter-spacing: -0.01em; transition: opacity 300ms ease, transform 300ms ease; }
.dm-dial { position: absolute; left: 0; right: 0; top: 54.4%; height: 6.2%; overflow: hidden; }
.dm-track { position: absolute; top: 0; bottom: 0; left: 50%; display: flex; gap: 4.5cqw; transition: transform 650ms cubic-bezier(0.25, 1, 0.3, 1); }
.dm-pill { flex: none; width: 23cqw; height: 100%; border-radius: 99px; background: rgba(255,255,255,0.06); display: grid; place-items: center; font-size: 4cqw; font-weight: 600; color: rgba(255,255,255,0.35); transition: all 400ms ease; }
.dm-pill.is-on { width: 27.5cqw; background: rgba(236, 107, 145, 0.32); color: #fff; font-size: 4.7cqw; }

.dm-spin { position: absolute; left: 8%; right: 8%; top: 81%; height: 6.4%; border-radius: 99px; background: var(--dm-accent); display: flex; align-items: center; justify-content: center; gap: 2.4cqw; font-size: 4.7cqw; font-weight: 700; color: #fff; box-shadow: 0 2cqw 8cqw -2cqw rgba(236, 107, 145, 0.7); }
.dm-spin svg { width: 5.4cqw; height: 5.4cqw; stroke: #fff; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dm-screen.is-spinning .dm-spin svg { animation: dm-rot 500ms linear infinite; }
@keyframes dm-rot { to { transform: rotate(360deg); } }
.dm-buddy { position: absolute; left: 29%; right: 29%; top: 90.6%; height: 3.4%; border-radius: 99px; background: rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: center; gap: 1.4cqw; font-size: 2.6cqw; color: rgba(236, 107, 145, 0.85); white-space: nowrap; }
.dm-buddy svg { width: 3cqw; height: 3cqw; stroke: currentColor; fill: none; stroke-width: 2; }

/* Task chips that drop into the pool */
.dm-chip { position: absolute; z-index: 3; right: 8%; top: 30%; padding: 1.6cqw 3.2cqw; border-radius: 99px; background: rgba(255,255,255,0.14); backdrop-filter: blur(6px); font-size: 3cqw; font-weight: 600; color: #fff; white-space: nowrap; opacity: 0; pointer-events: none; }

/* Coach card (the app's own tip style) */
.dm-coach { position: absolute; z-index: 3; left: 4%; right: 4%; top: 23.8%; padding: 4.4cqw 4.6cqw 4cqw; border-radius: 5cqw; background: #2a2a2c; box-shadow: 0 4cqw 12cqw rgba(0,0,0,0.6); opacity: 0; transform: translateY(-3%); transition: opacity 300ms ease, transform 300ms ease; }
.dm-coach.is-on { opacity: 1; transform: none; }
.dm-coach h3 { margin: 0 0 2cqw; font-size: 4.3cqw; font-weight: 700; display: flex; align-items: center; gap: 2cqw; }
.dm-coach h3 svg { width: 3.8cqw; height: 3.8cqw; stroke: var(--dm-accent); fill: none; stroke-width: 2.4; stroke-linecap: round; }
.dm-coach p { margin: 0; font-size: 3.1cqw; line-height: 1.45; color: rgba(255,255,255,0.72); }
.dm-dim { position: absolute; z-index: 2; inset: 0; background: rgba(8, 2, 6, 0.55); opacity: 0; transition: opacity 300ms ease; pointer-events: none; }
.dm-dim.is-on { opacity: 1; }

/* Sheets (Task pool, Routines): the app's iOS sheet over a dimmed home screen */
.dm-sheet { transform: translateY(102%); }
.dm-sheet::before { content: ""; position: absolute; left: 0; right: 0; top: 6.5%; bottom: 0; border-radius: 6.5cqw 6.5cqw 0 0; background: var(--dm-sheet); }
.dm-sheet > * { position: absolute; }
.dm-screen[data-scene="pool"] .dm-pool, .dm-screen[data-scene="routines"] .dm-routines { transform: translateY(0); }
.dm-screen[data-scene="pool"] .dm-home, .dm-screen[data-scene="routines"] .dm-home { transform: scale(0.94); opacity: 0.4; }
.dm-s-title { left: 0; right: 0; top: 8.6%; height: 4.5%; display: grid; place-items: center; font-size: 3.7cqw; font-weight: 700; color: #fff; }
.dm-s-btn { top: 8.6%; height: 4.5%; padding: 0 2.9cqw; border-radius: 99px; background: rgba(255,255,255,0.05); box-shadow: 0 0 0 0.25cqw rgba(255,255,255,0.1) inset; display: grid; place-items: center; font-size: 3.5cqw; color: var(--dm-accent); }
.dm-s-btn.left { left: 4.6%; }
.dm-s-btn.right { right: 4.6%; }
.dm-s-icon { right: 4.7%; top: 8.6%; width: 9.8cqw; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,0.05); box-shadow: 0 0 0 0.25cqw rgba(255,255,255,0.1) inset; display: grid; place-items: center; }
.dm-s-icon svg { width: 4.6cqw; height: 4.6cqw; stroke: var(--dm-accent); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dm-group { left: 4.6%; right: 4.7%; border-radius: 4.6cqw; background: var(--dm-group); overflow: hidden; }
.dm-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 3cqw; height: 15.4cqw; padding: 0 4.6cqw; }
.dm-row::after { content: ""; position: absolute; left: 4.6cqw; right: 4.6cqw; bottom: 0; height: 0.15cqw; background: rgba(255,255,255,0.1); }
.dm-row:last-child::after { display: none; }
.dm-row-t { font-size: 3.7cqw; line-height: 1.2; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-row-s { margin-top: 0.8cqw; display: flex; align-items: center; font-size: 2.8cqw; color: rgba(255,255,255,0.5); white-space: nowrap; }

/* Task pool */
.dm-seg { left: 4.6%; right: 4.7%; top: 17.9%; height: 6.4%; border-radius: 4.6cqw; background: var(--dm-group); }
.dm-seg-track { position: absolute; left: 4.6cqw; right: 4.6cqw; top: 25%; bottom: 23.5%; border-radius: 99px; background: #3a3a3c; display: grid; grid-template-columns: 1fr 1fr; padding: 0.4cqw; }
.dm-seg-track span { display: grid; place-items: center; border-radius: 99px; font-size: 3cqw; font-weight: 600; color: #fff; }
.dm-seg-track .is-on { background: #6c6c70; }
.dm-pool .dm-group { top: 27.9%; }
.dm-pool .dm-row::after { left: 13.7cqw; }
.dm-src { flex: none; width: 9.1cqw; display: grid; align-items: center; }
.dm-src svg { width: 3.6cqw; height: 3.6cqw; stroke: rgba(255,255,255,0.5); fill: none; stroke-width: 1.8; stroke-linecap: round; }
.dm-mins { padding: 1.3cqw 2.4cqw; border-radius: 99px; background: rgba(236, 107, 145, 0.18); font-size: 2.8cqw; font-weight: 700; color: var(--dm-accent); white-space: nowrap; }
.dm-fab { left: 50%; top: 94.6%; width: 10.8cqw; aspect-ratio: 1; margin: -5.4cqw 0 0 -5.4cqw; border-radius: 50%; background: var(--dm-group); box-shadow: 0 0 0 0.25cqw rgba(255,255,255,0.1) inset; display: grid; place-items: center; }
.dm-fab i { width: 4.8cqw; height: 4.8cqw; border-radius: 50%; background: var(--dm-accent); display: grid; place-items: center; font-style: normal; font-size: 4.2cqw; font-weight: 700; line-height: 1; color: #fff; }
.dm-screen[data-scene="pool"] .dm-pool .dm-row { animation: dm-row-in 450ms cubic-bezier(0.3, 1.2, 0.5, 1) var(--d, 0ms) both; }
.dm-screen[data-scene="pool"] .dm-pool .dm-mins { animation: dm-est 500ms cubic-bezier(0.3, 1.6, 0.5, 1) var(--d2, 0ms) both; }
/* Rows stagger in; on the pool, each time estimate pops in after its row */
.dm-sheet .dm-row:nth-child(1) { --d: 350ms; --d2: 1000ms; }
.dm-sheet .dm-row:nth-child(2) { --d: 480ms; --d2: 1150ms; }
.dm-sheet .dm-row:nth-child(3) { --d: 610ms; --d2: 1300ms; }
.dm-sheet .dm-row:nth-child(4) { --d: 740ms; }
@keyframes dm-row-in { from { opacity: 0; transform: translateY(2cqw); } to { opacity: 1; transform: none; } }
@keyframes dm-est { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }

/* Routines */
.dm-s-label { left: 9.1%; top: 14.6%; font-size: 3.7cqw; font-weight: 600; color: #8e8e93; }
.dm-routines .dm-group { top: 18.5%; }
.dm-routines .dm-row { height: 15.2cqw; }
.dm-routines .dm-row.add { height: 11.8cqw; grid-template-columns: auto minmax(0, 1fr); gap: 0; font-size: 3.7cqw; color: var(--dm-accent); }
.dm-routines .dm-row.add svg { width: 5cqw; height: 5cqw; margin-right: 4.1cqw; stroke: var(--dm-accent); fill: none; stroke-width: 1.8; stroke-linecap: round; }
.dm-screen[data-scene="routines"] .dm-routines .dm-row { animation: dm-row-in 450ms cubic-bezier(0.3, 1.2, 0.5, 1) var(--d, 0ms) both; }
.dm-tog { position: relative; width: 14.1cqw; height: 6.2cqw; border-radius: 99px; background: rgba(120, 120, 128, 0.32); transition: background 250ms ease; }
.dm-tog::after { content: ""; position: absolute; top: 0.6cqw; left: 0.6cqw; width: 8.4cqw; height: 5cqw; border-radius: 99px; background: #fff; box-shadow: 0 0.6cqw 1.6cqw rgba(0,0,0,0.25); transition: transform 300ms cubic-bezier(0.3, 1.3, 0.5, 1); }
.dm-tog.is-on { background: #f2668b; }
.dm-tog.is-on::after { transform: translateX(4.5cqw); }
.dm-note { left: 9.1%; right: 9%; top: 45.6%; font-size: 2.8cqw; line-height: 1.32; color: rgba(255,255,255,0.5); }

/* Result screen ("Your one thing") */
.dm-result {
  transform: translateY(102%);
  background:
    linear-gradient(90deg, rgba(14, 27, 63, 0.9) 0%, rgba(14, 27, 63, 0) 30%, rgba(14, 27, 63, 0) 70%, rgba(10, 32, 64, 0.9) 100%),
    radial-gradient(40% 70% at 50% 30%, rgba(60, 8, 62, 0.95), transparent 80%),
    radial-gradient(60% 30% at 0% 100%, rgba(60, 10, 62, 0.8), transparent 80%),
    linear-gradient(180deg, #1d1140 0%, #231236 50%, #1a103e 100%);
}
.dm-r-cancel { position: absolute; left: 3.5%; top: 8.3%; height: 3.4%; padding: 0 2.6cqw; border-radius: 99px; background: rgba(255,255,255,0.05); box-shadow: 0 0 0 0.25cqw rgba(255,255,255,0.1) inset; display: grid; place-items: center; font-size: 3.7cqw; color: var(--dm-accent); }
.dm-r-label { position: absolute; left: 0; right: 0; top: 34.4%; text-align: center; font-size: 3.6cqw; font-weight: 500; color: rgba(255,255,255,0.6); }
.dm-r-card { position: absolute; left: 3.6%; right: 3.6%; top: 39.2%; height: 17.2%; border-radius: 6cqw; background: rgba(20, 22, 50, 0.75); box-shadow: 0 0 0 0.25cqw rgba(120, 90, 220, 0.35) inset; display: grid; place-items: center; font-size: 6.4cqw; font-weight: 700; color: #fff; }
.dm-r-start { position: absolute; left: 0; right: 0; top: 59%; text-align: center; font-size: 3.4cqw; color: rgba(255,255,255,0.55); font-variant-numeric: tabular-nums; }
.dm-r-go { position: absolute; left: 3.6%; right: 3.6%; top: 83.6%; height: 6.1%; border-radius: 99px; background: #ec668d; display: flex; align-items: center; justify-content: center; gap: 2.4cqw; font-size: 4.4cqw; font-weight: 700; color: #fff; }
.dm-r-go svg { width: 4cqw; height: 4cqw; fill: #fff; }
.dm-r-again { position: absolute; left: 33.2%; right: 33.2%; top: 91.2%; height: 3.6%; border-radius: 99px; background: rgba(255,255,255,0.04); box-shadow: 0 0 0 0.25cqw rgba(255,255,255,0.12) inset; display: grid; place-items: center; font-size: 3.6cqw; color: var(--dm-accent); white-space: nowrap; }
.dm-screen[data-scene="result"] .dm-result { transform: translateY(0); }
.dm-screen[data-scene="result"] .dm-home { transform: scale(0.94); opacity: 0.4; }
.dm-screen[data-scene="result"] .dm-r-card { animation: dm-reveal 700ms cubic-bezier(0.3, 1.4, 0.5, 1) 250ms both; }
@keyframes dm-reveal { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: none; } }

/* Timer screen */
.dm-timer {
  opacity: 0; transform: scale(1.04);
  background:
    radial-gradient(60% 40% at 50% 50%, rgba(20, 52, 58, 0.9), transparent 80%),
    linear-gradient(90deg, #16333e 0%, #142a35 45%, #0b223f 100%);
}
.dm-screen[data-scene="timer"] .dm-timer { opacity: 1; transform: none; }
.dm-screen[data-scene="timer"] .dm-home, .dm-screen[data-scene="timer"] .dm-result { opacity: 0; }
.dm-t-card { position: absolute; left: 3.6%; right: 3.6%; top: 25%; height: 8.4%; border-radius: 6cqw; background: rgba(22, 42, 49, 0.9); box-shadow: 0 0 0 0.25cqw rgba(80, 140, 170, 0.3) inset; display: grid; place-items: center; font-size: 4.6cqw; font-weight: 700; color: #fff; }
.dm-t-dial { position: absolute; left: 50%; top: 36.6%; width: 60.4cqw; aspect-ratio: 1; margin-left: -30.2cqw; }
.dm-t-dial svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.dm-t-dial circle { fill: none; stroke-width: 9.5; }
.dm-t-track { stroke: rgba(255,255,255,0.05); }
.dm-t-prog { stroke: url(#dm-ring-grad); stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(100, 200, 248, 0.75)); }
.dm-t-num { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12.8cqw; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.dm-t-done { position: absolute; left: 3.6%; right: 3.6%; top: 84.2%; height: 5.9%; border-radius: 99px; background: #67ce66; display: flex; align-items: center; justify-content: center; gap: 2.4cqw; font-size: 4.4cqw; font-weight: 700; color: #fff; }
.dm-t-done svg { width: 4.6cqw; height: 4.6cqw; stroke: #fff; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.dm-t-abandon { position: absolute; left: 0; right: 0; top: 92.9%; text-align: center; font-size: 2.9cqw; color: rgba(255,255,255,0.35); }
.dm-burst { position: absolute; left: 50%; top: 87.1%; width: 0; height: 0; z-index: 4; pointer-events: none; }
.dm-burst i { position: absolute; width: 1.8cqw; height: 1.8cqw; border-radius: 0.4cqw; opacity: 0; }

/* Tap and highlight marks */
.dm-tap { position: absolute; z-index: 6; pointer-events: none; width: 15%; aspect-ratio: 1; margin: -7.5% 0 0 -7.5%; border-radius: 50%; background: rgba(255,255,255,0.28); border: 2px solid rgba(255,255,255,0.85); opacity: 0; }
.dm-ring { position: absolute; z-index: 6; pointer-events: none; border-radius: 12px; border: 2px solid var(--dm-accent); box-shadow: 0 0 0 4px var(--dm-accent-soft); opacity: 0; }

/* Steps */
.dm-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.dm-step button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 4px 14px; width: 100%; padding: 14px 16px; border-radius: 14px; transition: background 200ms ease; }
.dm-step button:hover { background: rgba(255,255,255,0.04); }
.dm-step button:focus-visible { outline: 2px solid var(--dm-accent); outline-offset: 2px; }
.dm-num { grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--dm-muted); border: 1px solid var(--dm-line); transition: background 250ms ease, color 250ms ease, border-color 250ms ease; }
.dm-step-title { font-size: 17px; font-weight: 600; line-height: 32px; color: var(--dm-muted); transition: color 250ms ease; }
.dm-step-text { font-size: 15px; line-height: 1.45; color: var(--dm-muted); max-height: 0; overflow: hidden; opacity: 0; transition: max-height 350ms ease, opacity 300ms ease; }
.dm-bar { grid-column: 2; height: 2px; border-radius: 2px; background: var(--dm-line); overflow: hidden; opacity: 0; margin-top: 6px; }
.dm-bar i { display: block; height: 100%; width: 100%; background: var(--dm-accent); transform-origin: left; transform: scaleX(0); }
.dm-step.is-active button { background: var(--dm-surface); }
.dm-step.is-active .dm-num { background: var(--dm-accent); border-color: var(--dm-accent); color: #fff; }
.dm-step.is-active .dm-step-title { color: var(--dm-fg); }
.dm-step.is-active .dm-step-text { max-height: 6em; opacity: 1; }
.dm-step.is-active .dm-bar { opacity: 1; }
.dm-walk.is-playing .dm-step.is-active .dm-bar i { animation: dm-fill var(--dm-dur, 3s) linear forwards; }
@keyframes dm-fill { to { transform: scaleX(1); } }

.dm-controls { margin-top: 16px; padding-left: 16px; }
.dm-toggle { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--dm-muted); padding: 6px 10px; margin-left: -10px; border-radius: 8px; }
.dm-toggle:hover { color: var(--dm-fg); }
.dm-toggle:focus-visible { outline: 2px solid var(--dm-accent); }
.dm-toggle svg { width: 14px; height: 14px; fill: currentColor; }

@media (max-width: 720px) {
  .dm-body { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .dm-head { margin-inline: auto; text-align: center; margin-bottom: 32px; }
  .dm-side { width: 100%; max-width: 440px; }
  .dm-phone { width: min(280px, 72vw); }
}
@media (prefers-reduced-motion: reduce) {
  .dm-layer, .dm-track, .dm-step-text, .dm-num, .dm-step-title, .dm-coach, .dm-q-text, .dm-tog, .dm-tog::after { transition: none; }
  .dm-screen.is-spinning .dm-spin svg, .dm-screen[data-scene="result"] .dm-r-card,
  .dm-screen[data-scene] .dm-sheet .dm-row, .dm-screen[data-scene] .dm-sheet .dm-mins { animation: none; }
  .dm-walk.is-playing .dm-step.is-active .dm-bar i { animation: none; transform: scaleX(1); }
}
.dm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
