/* The voice-first welcome, refreshed (Nov 2026): the hello hero with "How it works", the question
   screens, and the reveal. Same sticker style as "Your take" (css/take.css): ink outlines, solid offset
   shadows, bright teal, sun and coral. Loaded after css/theme.css. */

:root {
  --wl-ink: #111640; --wl-teal: #17b6c2; --wl-deep: #0b7f8a; --wl-wash: #e4f8fa; --wl-coral: #f4594b;
  --wl-sun: #ffd65a; --wl-sunwash: #fff4cf; --wl-good: #dff7f3; --wl-good-ink: #065a62; --wl-blush: #ffe3df;
}

/* ---------- Hello ---------- */
.hv { text-align: center; }
.hv-hero {
  position: relative; overflow: hidden; color: #fff;
  margin: -6px calc(-1 * var(--gutter)) 0; padding: 10px var(--gutter) 46px;
  background: radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.16) 0 22%, transparent 23%),
              radial-gradient(circle at 92% 80%, rgba(255, 214, 90, 0.28) 0 18%, transparent 19%),
              linear-gradient(160deg, #0b7f8a 0%, #17b6c2 100%);
  border-radius: 0 0 36px 36px;
}
.hv-bud { width: 128px; margin: 0 auto 2px; filter: drop-shadow(0 6px 0 rgba(17, 22, 64, 0.18)); }
.hv-title { color: #fff; font-size: clamp(2.05rem, 1.6rem + 2.4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; }
.hv-title .squiggle-line path { stroke: var(--wl-sun); }
.hv-sub { color: rgba(255, 255, 255, 0.95); margin: 8px auto 0; max-width: 30ch; font-size: 1.02rem; line-height: 1.45; }
.hv-dot, .hv-note { position: absolute; pointer-events: none; }
.hv-dot { border-radius: 50%; }
.hv-dot.d1 { width: 12px; height: 12px; background: var(--wl-sun); left: 12%; top: 26%; }
.hv-dot.d2 { width: 8px; height: 8px; background: #fff; opacity: 0.7; right: 16%; top: 14%; }
.hv-dot.d3 { width: 14px; height: 14px; background: var(--wl-coral); right: 9%; bottom: 22%; }
.hv-note { color: rgba(255, 255, 255, 0.55); font-size: 1.5rem; animation: hv-float 4s ease-in-out infinite; }
.hv-note.n1 { left: 9%; top: 9%; }
.hv-note.n2 { right: 22%; top: 34%; animation-delay: -2s; }
@keyframes hv-float { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-10px) rotate(6deg); } }

.hv-copy { position: relative; z-index: 1; }
/* "How it works": three numbered steps in one sticker card that overlaps the hero's curved bottom. The last
   step shows a reply from Bud, typed in like a chat. */
.hv-how {
  position: relative; margin: -30px auto 0; max-width: 380px; text-align: left; background: #fff; color: var(--wl-ink);
  border: 2.5px solid var(--wl-ink); box-shadow: 4px 4px 0 var(--wl-ink); border-radius: 22px; padding: 12px 14px 14px;
}
.hv-how-label { margin: 0 0 10px; font: 800 0.76rem/1 var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-text, #c2412f); }
.hv-how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hv-how-steps li { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 11px; align-items: start; }
.hv-how-steps li:not(:last-child)::after { content: ''; position: absolute; left: 14px; top: 34px; bottom: -10px; border-left: 2px dashed #c5cbe0; }
.hv-num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 900 0.95rem/1 var(--font-head);
  background: var(--wl-sun); border: 2px solid var(--wl-ink); box-shadow: 1.5px 1.5px 0 var(--wl-ink); }
.hv-how-steps li:nth-child(2) .hv-num { background: #bdf0f3; }
.hv-how-steps li:nth-child(3) .hv-num { background: #ffc9c2; }
.hv-how-txt b { display: block; font: 800 1rem/1.25 var(--font-head); padding-top: 4px; }
.hv-how-txt small { display: block; margin-top: 1px; color: #4a5178; font-size: 0.86rem; line-height: 1.3; }
.hv-chat { grid-column: 2; display: flex; gap: 7px; align-items: flex-end; margin-top: 8px; }
.hv-chat-bud { flex: none; width: 34px; }
.hv-chat-bud svg { width: 100%; height: auto; display: block; }
.hv-bubble { position: relative; padding: 8px 11px; border-radius: 15px 15px 15px 4px; background: var(--wl-wash); border: 2px solid var(--wl-ink);
  font-size: 0.88rem; line-height: 1.35; font-weight: 600; }
.hv-msg { display: block; animation: hv-msg 300ms ease 1.9s both; }
.hv-typing { position: absolute; left: 12px; top: 50%; translate: 0 -50%; display: flex; gap: 4px; animation: hv-hide 150ms ease 1.85s both; }
.hv-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--wl-deep); animation: hv-dot 900ms ease-in-out infinite; }
.hv-typing i:nth-child(2) { animation-delay: 150ms; }
.hv-typing i:nth-child(3) { animation-delay: 300ms; }
@keyframes hv-msg { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes hv-hide { to { opacity: 0; visibility: hidden; } }
@keyframes hv-dot { 0%, 60%, 100% { opacity: 0.35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

.hello.hv .hv-private { margin-top: 12px; padding: 8px 12px; font-size: 0.86rem; background: none; justify-content: center; color: #4a5178; }
.hello.hv .hv-private .ic { width: 16px; height: 16px; }
.hv .hello-cta .btn { border: 2.5px solid var(--wl-ink); box-shadow: 4px 4px 0 var(--wl-ink); font-size: 1.12rem; }
.hv .hello-cta .btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--wl-ink); }
.hv .hello-free { font-weight: 600; color: #4a5178; }

/* Phones: the hero takes the top, "How it works" overlaps it, the button stays in thumb reach. */
@media (max-width: 759px) {
  .hello.hv { display: flex; flex-direction: column; }
  .hv-copy { flex: 1; display: flex; flex-direction: column; }
  .hv-copy > .hello-cta { margin-top: auto; padding-top: 14px; }
}
@media (max-width: 759px) and (max-height: 700px) {
  .hv-bud { width: 96px; }
  .hv-hero { padding-bottom: 40px; }
  .hv-title { font-size: 1.85rem; }
  .hv-sub { font-size: 0.95rem; }
  .hv-how { padding: 10px 12px 12px; }
  .hv-how-steps { gap: 9px; }
  .hv-how-txt small { font-size: 0.82rem; }
  .hello.hv .hv-private { display: none; }
}

/* Wide screens: the hero on the left, "How it works" and the button on the right. */
@media (min-width: 760px) {
  .hello.hv { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: stretch; min-height: calc(100svh - var(--top-h)); text-align: left; }
  .hv-hero { margin: 0; border-radius: 0 44px 44px 0; padding: 48px clamp(32px, 5vw, 88px); display: flex; flex-direction: column; justify-content: center; }
  .hv-bud { width: clamp(150px, 16vw, 220px); margin: 0 0 12px; }
  .hv-title { font-size: clamp(3rem, 1.6rem + 3vw, 4.6rem); }
  .hv-sub { margin: 14px 0 0; font-size: 1.2rem; max-width: 26ch; }
  .hv-copy { align-self: center; justify-self: center; width: 100%; max-width: 480px; padding: 40px clamp(24px, 4vw, 56px); }
  .hv-how { margin: 0; max-width: none; padding: 18px 20px 20px; }
  .hv-how-steps { gap: 16px; }
  .hello.hv .hv-private { justify-content: flex-start; padding-left: 0; }
  .hv .hello-cta { margin-top: 20px; justify-items: stretch; }
  .hv .hello-cta .btn { min-width: 0; width: 100%; }
  .hv .hello-free { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hv-note, .hv-msg, .hv-typing i { animation: none !important; }
  .hv-typing { display: none; }
}

/* ---------- Question screens in the voice-first welcome: sticker cards ---------- */
.ob-voicefirst .opt-card { border: 0; box-shadow: var(--sh-card); border-radius: 18px; min-height: 64px; background: #fff; }
@media (hover: hover) and (pointer: fine) { .ob-voicefirst .opt-card:hover { transform: translate(-1px, -1px); box-shadow: 0 0 0 2px var(--ink-line), 4px 4px 0 var(--ink-line); } }
.ob-voicefirst .opt input:checked + .opt-card { background: var(--wl-sunwash); box-shadow: var(--sh-card); }
.ob-voicefirst .opt input:checked + .opt-card .opt-badge { background: var(--wl-ink); border-color: var(--wl-ink); }
.ob-voicefirst .opt-card:active { transform: translate(1px, 1px); }
.ob-voicefirst .opt:nth-child(5n+1) .opt-icon { background: var(--wl-sunwash); }
.ob-voicefirst .opt:nth-child(5n+2) .opt-icon { background: var(--wl-wash); }
.ob-voicefirst .opt:nth-child(5n+3) .opt-icon { background: var(--wl-blush); }
.ob-voicefirst .opt:nth-child(5n+4) .opt-icon { background: #ece7ff; }
.ob-voicefirst .opt:nth-child(5n+5) .opt-icon { background: var(--wl-good); }
/* The tick in a chosen answer shows (the shared icon rule was turning it the badge's own colour). */
.opt-badge svg.opt-check { stroke: #fff; }
/* Wide screens: two columns, with an odd last answer across both (no card left on its own), a title that
   fits, the stage names lined up the same way, and the Continue button above the fold on short windows. */
@media (min-width: 900px) {
  .ob-voicefirst .ob-screen:has(.opts[role="radiogroup"]) { max-width: 880px; }
  .ob-voicefirst .opts[role="radiogroup"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ob-voicefirst .opts[role="radiogroup"] > .opt:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .ob-voicefirst .ob-title { font-size: clamp(2rem, 1.3rem + 1.1vw, 2.5rem); letter-spacing: -0.015em; line-height: 1.12; }
  .ob-voicefirst .ob-continue { min-width: 240px; }
  .ob-voicefirst .ob-seg:last-child .ob-seg-label { direction: ltr; }
}
/* The same page as the rest of the app: near-white with the pale teal wash across the top. */
.ob-voicefirst .ob-stage { position: relative; isolation: isolate; }
.ob-voicefirst .ob-stage::before { content: ''; position: absolute; z-index: -1; pointer-events: none; left: 0; right: 0; top: 0; height: 230px;
  background: linear-gradient(180deg, var(--wave-2) 0%, rgba(232, 251, 253, 0) 100%); }
/* The spacing follows the window's height: roomy when there's room, tighter only on a short window, so
   Continue stays in view without the page feeling packed. */
@media (min-width: 900px) {
  .ob-voicefirst .ob-stage { padding-top: clamp(14px, 4.5vh, 48px); }
  .ob-voicefirst .ob-title { font-size: clamp(1.7rem, 0.9rem + 2.4vh, 2.5rem); }
  .ob-voicefirst .ob-screen:has(.opts[role="radiogroup"]) .ob-hint { margin-top: clamp(2px, 1vh, 10px); }
  .ob-voicefirst .opts[role="radiogroup"] { gap: clamp(10px, 1.9vh, 18px); margin-top: clamp(14px, 4vh, 36px); }
  .ob-voicefirst .opt-card { min-height: clamp(52px, 8.5vh, 76px); padding: 8px 16px; }
  .ob-voicefirst .ob-actions { margin-top: clamp(16px, 4.5vh, 40px); }
}
/* A narrow laptop window: smaller answer text so each answer keeps to one line. */
@media (min-width: 900px) and (max-width: 1180px) {
  .ob-voicefirst .opt-card { gap: 12px; }
  .ob-voicefirst .opt-text, .ob-voicefirst .opt-label { font-size: 0.98rem; }
  .ob-voicefirst .opt-icon { width: 38px; height: 38px; }
}
@media (min-width: 900px) and (max-height: 520px) {
  .ob-voicefirst .ob-screen:has(.opts[role="radiogroup"]) .ob-hint { display: none; }
}
.opt-emoji { font-size: 1.45rem; line-height: 1; }
@media (hover: hover) and (pointer: fine) {
  .ob-voicefirst .opt-card:hover { border-color: var(--wl-teal); transform: translateY(-1px); }
}

/* The song question: a big friendly field, a cheer when Bud knows the song, idea chips. */
.dream-field .input { font-size: 1.1rem; min-height: 56px; border-width: 2px; }
.dream-known { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 10px 14px; border-radius: 16px;
  background: var(--wl-sun); color: var(--wl-ink); font-weight: 700; border: 2.5px solid var(--wl-ink); box-shadow: 3px 3px 0 var(--wl-ink);
  animation: dream-pop 380ms cubic-bezier(.3, 1.6, .5, 1); }
.dream-known[hidden] { display: none; }
@keyframes dream-pop { from { transform: scale(0.7); opacity: 0; } to { transform: none; opacity: 1; } }
.dream-ideas { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dream-idea { padding: 9px 14px; border-radius: 99px; border: 2px dashed var(--wl-teal); background: #fff; color: var(--wl-deep);
  font: 700 0.9rem var(--font-head); cursor: pointer; transition: transform 120ms ease, background-color 160ms ease; }
.dream-idea:hover { background: var(--wl-wash); }
.dream-idea:active { transform: scale(0.96); }

/* The mic screen: the five tasks to come. */
.mic-tasks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mic-tasks li { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 18px; background: #fff;
  border: 2px solid #e3e8f1; animation: mic-in 420ms cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: calc(250ms + var(--i) * 90ms); }
.mic-tasks li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.mic-tasks b { font-family: var(--font-head); font-size: 0.95rem; line-height: 1.2; }
.mic-task-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: var(--wl-sunwash); }
.mic-tasks li:nth-child(2) .mic-task-ic { background: var(--wl-wash); }
.mic-tasks li:nth-child(3) .mic-task-ic { background: var(--wl-blush); }
.mic-tasks li:nth-child(4) .mic-task-ic { background: #ece7ff; }
.mic-tasks li:nth-child(5) .mic-task-ic { background: var(--wl-good); }
.mic-task-n { position: absolute; top: -8px; left: -6px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wl-ink); color: #fff; font: 800 0.72rem var(--font-head); }
@keyframes mic-in { from { opacity: 0; transform: translateY(10px) scale(0.95); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mic-tasks li, .dream-known { animation: none; } }

/* ---------- The reveal ---------- */
.win.reveal { max-width: 560px; }
.rv-hero { position: relative; overflow: hidden; color: #fff; border-radius: 26px; padding: 18px 18px 20px;
  background: linear-gradient(160deg, #0b7f8a 0%, #17b6c2 100%); border: 3px solid var(--wl-ink); box-shadow: 5px 5px 0 var(--wl-ink); }
.rv-eyebrow { margin: 0; font: 800 0.74rem var(--font-head); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }
.rv-hero-row { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.rv-badge { flex: none; width: 88px; height: 88px; border-radius: 50%; background: #fff; color: var(--wl-ink); display: grid; place-content: center; text-align: center;
  border: 3px solid var(--wl-ink); box-shadow: 4px 4px 0 var(--wl-ink); }
.rv-badge b { display: block; font: 900 1.9rem/1 var(--font-head); letter-spacing: -0.02em; }
.rv-badge small { font-size: 0.68rem; font-weight: 700; color: #4a5178; }
.rv-title { color: #fff; font-size: clamp(1.35rem, 1.1rem + 1.4vw, 1.9rem); line-height: 1.18; margin: 0; }
.rv-title .squiggle-line path { stroke: var(--wl-sun); }
.rv-why { margin: 12px 0 0; padding: 8px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.16); font-weight: 600; font-size: 0.92rem; }
.rv-dot { position: absolute; border-radius: 50%; }
.rv-dot.d1 { width: 12px; height: 12px; background: var(--wl-sun); right: 18%; top: 12px; }
.rv-dot.d2 { width: 8px; height: 8px; background: #fff; opacity: 0.7; right: 8%; top: 40%; }
.rv-dot.d3 { width: 14px; height: 14px; background: var(--wl-coral); right: 26%; bottom: 14px; }
.win.reveal.is-in .rv-badge { animation: rv-pop 520ms cubic-bezier(.3, 1.6, .5, 1) 200ms both; }
@keyframes rv-pop { from { transform: scale(0.3) rotate(-12deg); } to { transform: none; } }

.rv-card { margin-top: 14px; padding: 14px 16px; border-radius: 22px; background: #fff; border: 2.5px solid var(--wl-ink); box-shadow: 4px 4px 0 var(--wl-ink); }
.rv-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rv-card h2 { margin: 0; font: 800 1.02rem var(--font-head); }
.rv-link { border: 0; background: none; padding: 4px 0; color: var(--wl-deep); font: 700 0.84rem var(--font-head); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rv-range { margin: 6px 0 10px; font: 900 1.7rem/1.1 var(--font-head); letter-spacing: -0.02em; }
.rv-note { margin: 10px 0 0; font-size: 0.86rem; color: #4a5178; }
.rv-singer-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.rv-singer-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 16px; background: #f6f9fb;
  animation: mic-in 420ms cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: calc(500ms + var(--i) * 110ms); }
.rv-av { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font: 900 0.9rem var(--font-head); color: var(--wl-ink); border: 2px solid var(--wl-ink); }
.rv-singer-text b { display: block; font-family: var(--font-head); }
.rv-singer-text small { display: block; color: #4a5178; font-size: 0.84rem; }
.rv-level { display: inline-flex; align-items: center; gap: 8px; font: 800 0.95rem var(--font-head); }
.rv-level b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--wl-deep); color: #fff; }
.rv-skills { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.rv-skills li { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name word" "bar bar"; gap: 4px; }
.rv-skill-name { grid-area: name; font-weight: 700; font-size: 0.86rem; }
.rv-skill-word { grid-area: word; font-size: 0.74rem; font-weight: 700; color: var(--wl-deep); }
.rv-skill-bar { grid-area: bar; height: 9px; border-radius: 5px; background: #eef1f6; overflow: hidden; }
.rv-skill-bar i { display: block; height: 100%; width: 0; border-radius: 5px; background: linear-gradient(90deg, var(--wl-teal), var(--wl-deep)); transition: width 700ms cubic-bezier(.2, .8, .2, 1); transition-delay: calc(700ms + var(--i, 0) * 90ms); }
.win.reveal.is-in .rv-skill-bar i { width: calc(var(--v) * 100%); }
.rv-next { display: flex; align-items: center; gap: 12px; background: var(--wl-sunwash); }
.rv-next-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; background: var(--wl-sun); border: 2px solid var(--wl-ink); }
.rv-next small { display: block; font: 800 0.66rem var(--font-head); letter-spacing: 0.1em; color: #6a4b00; }
.rv-next b { display: block; font: 800 1rem/1.25 var(--font-head); }
.rv-share { display: inline-flex; align-items: center; gap: 6px; margin: 14px auto 0; padding: 8px 14px; border-radius: 99px; border: 2px dashed var(--wl-teal);
  background: #fff; color: var(--wl-deep); font: 700 0.88rem var(--font-head); cursor: pointer; }
.rv-share .ic { width: 16px; height: 16px; }
.win.reveal { display: flex; flex-direction: column; }
.win.reveal .rv-share { align-self: center; }
.win.reveal .ob-actions .btn { border: 2.5px solid var(--wl-ink); box-shadow: 4px 4px 0 var(--wl-ink); }
.win.reveal .piano { width: 100%; height: auto; }
@media (max-width: 380px) { .rv-skills { grid-template-columns: 1fr; } .rv-badge { width: 76px; height: 76px; } .rv-badge b { font-size: 1.6rem; } }
@media (prefers-reduced-motion: reduce) { .rv-singer-list li, .win.reveal.is-in .rv-badge { animation: none; } .rv-skill-bar i { transition: none; } }

/* ---------- "Which song?" in the same style ---------- */
.sc-ask .way-rows { border: 2.5px solid var(--wl-ink); box-shadow: 4px 4px 0 var(--wl-ink); border-radius: 22px; overflow: hidden; background: #fff; }
.sc-ask .way-row .way-ic { border-radius: 12px; }
.sc-ask .way-row:nth-child(1) .way-ic { background: var(--wl-sunwash); }
.sc-ask .way-row:nth-child(2) .way-ic { background: var(--wl-wash); }
.sc-ask .way-row:nth-child(3) .way-ic { background: var(--wl-blush); }
.sc-now-card { display: flex; align-items: center; gap: 12px; width: 100%; margin: 18px 0 0; padding: 14px 16px; text-align: left; cursor: pointer;
  border-radius: 22px; border: 2.5px solid var(--wl-ink); box-shadow: 4px 4px 0 var(--wl-ink); background: var(--wl-sun); color: var(--wl-ink); font: inherit;
  transition: transform 90ms ease-out, box-shadow 90ms ease-out; }
.sc-now-card:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--wl-ink); }
.sc-now-card > span:nth-child(2) { flex: 1; min-width: 0; }
.sc-now-card b { display: block; font: 800 1.08rem var(--font-head); }
.sc-now-card small { display: block; font-size: 0.86rem; color: #3f3a1a; margin-top: 2px; }
.sc-now-card > .ic { flex: none; width: 22px; height: 22px; }
.sc-now-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; background: #fff; border: 2px solid var(--wl-ink); }
.sc-now-card.is-soft { background: #fff; border-style: dashed; box-shadow: none; margin-top: 16px; }
.sc-now-card.is-soft small { color: #4a5178; }
.sc-now-card.is-soft .sc-now-ic { background: var(--wl-good); border-color: transparent; }
.sc-or { margin: 16px 0 0; text-align: center; font: 700 0.82rem var(--font-head); color: #4a5178; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- The offer (js/offer.js) ---------- */
.of-wrap { position: fixed; inset: 0; z-index: 95; display: flex; align-items: flex-end; justify-content: center; font-family: var(--font-body); color: var(--wl-ink); }
.of-scrim { position: absolute; inset: 0; background: rgba(17, 22, 64, 0.55); opacity: 0; transition: opacity 220ms ease; }
.of-wrap.is-in .of-scrim { opacity: 1; }
.of-panel { position: relative; width: 100%; max-width: 460px; max-height: 94svh; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: 30px 30px 0 0; border: 3px solid var(--wl-ink); border-bottom: 0;
  transform: translateY(100%); transition: transform 420ms cubic-bezier(.2, .9, .3, 1.1); }
.of-wrap.is-in .of-panel { transform: none; }
.of-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 4px; }
.of-dots { display: flex; gap: 6px; }
.of-dots i { width: 26px; height: 6px; border-radius: 3px; background: #e3e8f1; transition: background-color 200ms ease; }
.of-dots i.on { background: var(--wl-deep); }
.of-x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--wl-wash); color: var(--wl-ink); display: grid; place-items: center; cursor: pointer; }
.of-x .ic { width: 18px; height: 18px; }
.of-track { display: flex; transition: transform 380ms cubic-bezier(.2, .8, .2, 1); touch-action: pan-y; }
.of-card { flex: 0 0 100%; padding: 8px 22px 6px; text-align: center; min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.of-bud { width: 120px; }
.of-bud svg { width: 100%; height: auto; display: block; }
.of-eyebrow { margin: 6px 0 0; font: 800 0.72rem var(--font-head); letter-spacing: 0.12em; color: var(--wl-coral); }
.of-title { margin: 6px 0 0; font: 900 1.7rem/1.15 var(--font-head); letter-spacing: -0.02em; outline: 0; }
.of-sub { margin: 8px 0 0; color: #4a5178; line-height: 1.45; max-width: 30ch; }
.of-free { display: inline-flex; align-items: center; gap: 6px; margin: 16px 0 0; padding: 8px 14px; border-radius: 99px; background: var(--wl-good); color: var(--wl-good-ink); font-weight: 700; font-size: 0.9rem; }
.of-free .ic { width: 18px; height: 18px; stroke-width: 3; }
.of-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; width: 100%; text-align: left; }
.of-list li { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 16px; background: #f6f9fb; }
.of-card.is-seen .of-list li { animation: mic-in 380ms cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: calc(80ms + var(--i) * 70ms); }
.of-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.25rem; background: var(--wl-sunwash); }
.of-list li:nth-child(2) .of-ic { background: var(--wl-wash); }
.of-list li:nth-child(3) .of-ic { background: var(--wl-blush); }
.of-list li:nth-child(4) .of-ic { background: #ece7ff; }
.of-list li:nth-child(5) .of-ic { background: var(--wl-good); }
.of-list b { display: block; font-family: var(--font-head); font-size: 0.98rem; }
.of-list small { display: block; color: #4a5178; font-size: 0.82rem; }
.of-tag { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; padding: 14px 26px; border-radius: 26px; background: var(--wl-sun); border: 3px solid var(--wl-ink); box-shadow: 5px 5px 0 var(--wl-ink); transform: rotate(-2deg); }
.of-tag b { font: 900 3.4rem/1 var(--font-head); letter-spacing: -0.03em; }
.of-tag span { font: 800 1.1rem var(--font-head); }
.of-points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 6px; text-align: left; }
.of-points li { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.of-points .ic { width: 20px; height: 20px; color: var(--wl-deep); stroke-width: 3; }
.of-compare { margin: 12px 0 0; color: #4a5178; font-size: 0.9rem; }
.of-refund { margin: 4px 0 0; color: #4a5178; font-size: 0.82rem; }
.of-demo { margin: 8px 0 0; font-size: 0.76rem; color: #9aa5bd; }
.of-foot { display: grid; gap: 6px; padding: 12px 18px calc(16px + env(safe-area-inset-bottom)); }
.of-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 56px; border-radius: 18px; cursor: pointer;
  border: 2.5px solid var(--wl-ink); box-shadow: 4px 4px 0 var(--wl-ink); background: #fff; color: var(--wl-ink); font: 800 1.08rem var(--font-head);
  transition: transform 90ms ease-out, box-shadow 90ms ease-out; }
.of-btn.go { background: var(--wl-deep); color: #fff; }
.of-btn .ic { width: 20px; height: 20px; }
.of-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--wl-ink); }
.of-btn[hidden] { display: none; }
.of-free-btn { border: 0; background: none; padding: 10px; color: #4a5178; font: 700 0.92rem var(--font-head); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (min-width: 700px) {
  .of-wrap { align-items: center; }
  .of-panel { border-radius: 30px; border-bottom: 3px solid var(--wl-ink); box-shadow: 8px 8px 0 rgba(17, 22, 64, 0.85); transform: scale(0.94); opacity: 0; transition: transform 300ms cubic-bezier(.2, .9, .3, 1.2), opacity 200ms ease; }
  .of-wrap.is-in .of-panel { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .of-panel, .of-track { transition: none; } .of-card.is-seen .of-list li { animation: none; } }

/* Phones: on the hello screen the top bar is empty, so the hero starts at the very top. */
@media (max-width: 759px) {
  .ob-shell.ob-voicefirst.ob-at-hello .ob-top { display: none; }
  .ob-shell.ob-voicefirst.ob-at-hello .hv-hero { padding-top: max(16px, env(safe-area-inset-top)); }
}
@media (max-width: 759px) {
  .ob-shell.ob-voicefirst.ob-at-hello .ob-main { padding-top: 0; }
  .ob-shell.ob-voicefirst.ob-at-hello .hv-hero { margin-top: 0; }
}

/* Drawn icons in the welcome's coloured tiles (they were emoji). The tiles stay light in the dark theme, so the ink stays dark. */
.opt-emoji { display: grid; place-items: center; }
.ob-voicefirst .opt-icon .ic, .mic-task-ic .ic, .rv-next-ic .ic { width: 24px; height: 24px; color: var(--wl-ink); }

.sc-now-ic .ic, .of-ic .ic { width: 24px; height: 24px; color: var(--wl-ink); }
.dream-known .ic { width: 18px; height: 18px; vertical-align: -3px; margin-right: 4px; }

/* The welcome's questions on a wide screen: one centred column, like the rest of the app. Bud's line sits
   above the question (no side panel repeating the progress bar), and the block sits in the middle of the
   window, so a tall window has calm space around it, not a gap underneath. */
@media (min-width: 900px) {
  .ob-shell.ob-question .ob-main { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: calc(100svh - var(--top-h)); padding: clamp(14px, 4vh, 48px) var(--pad-x); }
  .ob-shell.ob-question .ob-main::before { content: ''; position: absolute; z-index: -1; pointer-events: none; left: 0; right: 0; top: 0; height: 260px;
    background: linear-gradient(180deg, var(--wave-2) 0%, rgba(232, 251, 253, 0) 100%); }
  .ob-shell.ob-question .ob-stage::before { display: none; }
  .ob-shell.ob-question .ob-guide { position: static; height: auto; overflow: visible; width: 100%; max-width: 760px; margin: 0 0 clamp(12px, 3vh, 28px);
    flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; padding: 0; background: none; box-shadow: none; }
  .ob-shell.ob-question .ob-guide-bud { width: clamp(58px, 9vh, 76px) !important; align-self: center; flex: none; }
  .ob-shell.ob-question .ob-guide .ob-bubble { width: auto; max-width: none; margin: 0; text-align: left; font-size: 1rem; padding: 10px 16px; }
  .ob-shell.ob-question .ob-guide .ob-bubble::before { left: -7px; top: 50%; transform: translateY(-50%) rotate(45deg); }
  .ob-shell.ob-question .ob-side { display: none; }
  .ob-shell.ob-question .ob-stage { min-height: 0; width: 100%; max-width: 760px; padding: 0; }
  .ob-shell.ob-question .ob-stage > .ob-screen, .ob-voicefirst.ob-question .ob-screen:has(.opts[role="radiogroup"]) { max-width: 760px; margin: 0; }
  .ob-shell.ob-question .opts[role="radiogroup"] { gap: clamp(12px, 2.2vh, 20px); }
}
@media (min-width: 900px) {
  .ob-shell.ob-voicefirst.ob-question .ob-stage { padding: 0; }
}
@media (min-width: 900px) and (max-height: 640px) {
  .ob-shell.ob-question .ob-main { padding-top: 10px; padding-bottom: 10px; }
  .ob-shell.ob-question .ob-guide { margin-bottom: 10px; }
  .ob-shell.ob-question .ob-guide-bud { width: 46px !important; }
  .ob-shell.ob-question .ob-guide .ob-bubble { font-size: 0.92rem; padding: 7px 12px; }
  .ob-shell.ob-question .opts[role="radiogroup"] { margin-top: 12px; gap: 10px; }
  .ob-shell.ob-question .ob-actions { margin-top: 14px; padding-top: 0; }
}

/* Direction A (owner's pick, 10 Nov 2026): the welcome's questions on the same teal card as the three steps.
   A back arrow, one bar and "Step 1 of 2" above it; Bud on top of the card; answers as soft rows inside it,
   the chosen one cream. The shell's top bar and Bud's side panel are hidden on these screens. The card looks
   the same in both themes; only the page behind it follows the theme. */
.ob-shell.ob-question .ob-top, .ob-shell.ob-question .ob-guide { display: none !important; }
.ob-shell.ob-question .ob-main { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: calc(18px + var(--safe-t, 0px)) 16px calc(24px + var(--safe-b, 0px)); position: relative; isolation: isolate; }
.ob-shell.ob-question .ob-stage { width: 100%; max-width: 480px; min-height: 0; padding: 0 !important; }
.ob-shell.ob-question .ob-stage > .ob-screen { max-width: none; margin: 0; }
.ob-shell.ob-question .ob-stage::before { display: none; }
.qa-progress { display: flex; align-items: center; gap: 12px; margin: 0 0 clamp(36px, 7vh, 64px); }
.qa-back { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer;
  background: #fff; color: var(--wl-ink); box-shadow: 0 0 0 1.5px #d6dde9; }
.qa-back.is-empty { visibility: hidden; }
.qa-back svg { width: 20px; height: 20px; }
/* The language button on the first question (24 Nov 2026): a pill with the globe and the language's code, e.g. "PT". */
.qa-back.qa-lang { width: auto; padding: 0 12px 0 9px; border-radius: 99px; gap: 5px; display: inline-flex; align-items: center; font: inherit; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.05em; }
.qa-back.qa-lang svg { width: 18px; height: 18px; }
.qa-track { flex: 1; height: 7px; border-radius: 99px; background: #dbe4ef; overflow: hidden; }
.qa-track i { display: block; height: 100%; border-radius: inherit; background: #0b7f8a; transition: width 500ms ease; }
.qa-count { flex: none; font-size: 0.85rem; font-weight: 700; color: #4a5178; }
.ob-shell.ob-question .qa-card { position: relative; background: #0b7f8a; border-radius: 26px; padding: 56px 18px 18px; text-align: center;
  box-shadow: 0 22px 50px rgba(16, 32, 58, 0.22); }
.qa-bud { position: absolute; left: 50%; top: -48px; width: 96px; height: 96px; transform: translateX(-50%); display: grid; place-items: center;
  border-radius: 50%; background: #fff7e6; border: 4px solid #0b7f8a; }
.qa-bud svg { width: 72px; height: 72px; }
.ob-shell.ob-question .qa .ob-head { margin: 0 0 16px; }
.ob-shell.ob-question .qa .ob-title { color: #fff; font-size: clamp(1.4rem, 0.95rem + 1.6vh, 1.85rem); line-height: 1.18; letter-spacing: -0.015em; text-wrap: balance; }
.ob-shell.ob-question .qa .ob-hint { color: rgba(255, 255, 255, 0.85); margin-top: 6px; }
.ob-shell.ob-question .qa .opts[role="radiogroup"] { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 0; text-align: left; }
.ob-shell.ob-question .qa .opt-card { min-height: 52px; padding: 8px 14px; gap: 12px; border: 0; border-radius: 16px; background: rgba(255, 255, 255, 0.13);
  box-shadow: none; color: #fff; transform: none; }
.ob-shell.ob-question .qa .opt-card:hover { background: rgba(255, 255, 255, 0.2); box-shadow: none; transform: none; }
.ob-shell.ob-question .qa .opt input:checked + .opt-card { background: #fff7e6; color: #10203a; box-shadow: 0 4px 0 rgba(4, 50, 58, 0.45); }
.ob-shell.ob-question .qa .opt input:focus-visible + .opt-card { outline: 3px solid #ffd65a; outline-offset: 2px; }
.ob-shell.ob-question .qa .opt-label { color: inherit; font-weight: 700; }
.ob-shell.ob-question .qa .opt .opt-icon { width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, 0.16) !important; }
.ob-shell.ob-question .qa .opt .opt-icon .ic { width: 20px; height: 20px; color: #fff; }
.ob-shell.ob-question .qa .opt .opt-icon .ic .ic-fill { fill: currentColor; fill-opacity: 0.3; }
.ob-shell.ob-question .qa .opt input:checked + .opt-card .opt-icon { background: #0b7f8a !important; }
.ob-shell.ob-question .qa .opt-meter i { background: rgba(255, 255, 255, 0.35); }
.ob-shell.ob-question .qa .opt-meter i.on { background: #fff; }
.ob-shell.ob-question .qa .opt-badge { display: none; }
.ob-shell.ob-question .qa .ob-actions { margin-top: 16px; padding: 0; background: none; box-shadow: none; justify-content: center; }
.ob-shell.ob-question .qa .ob-continue { width: 100%; min-width: 0; border-radius: 999px; background: #fff7e6; color: #10203a; box-shadow: 0 5px 0 rgba(4, 50, 58, 0.55); }
.ob-shell.ob-question .qa .ob-actions .btn-link { color: #fff; }
/* The mic screen on the same card: the five tasks as soft rows, the privacy line in white, one cream button. */
.ob-shell.ob-question .qa .eyebrow { display: none; }
.ob-shell.ob-question .qa.mic .ob-title { margin-bottom: 8px; }
.ob-shell.ob-question .qa.mic .ob-hint { margin-bottom: 14px; color: rgba(255, 255, 255, 0.85); }
.ob-shell.ob-question .qa .mic-tasks { margin: 0 0 14px; gap: 8px; text-align: left; }
.ob-shell.ob-question .qa .mic-tasks li { background: rgba(255, 255, 255, 0.13); border: 0; box-shadow: none; color: #fff; padding: 8px 12px; min-height: 48px; }
.ob-shell.ob-question .qa .mic-tasks .mic-task-ic { width: 32px; height: 32px; border-radius: 10px; background: rgba(255, 255, 255, 0.16) !important; }
.ob-shell.ob-question .qa .mic-tasks .mic-task-ic .ic { width: 18px; height: 18px; color: #fff; }
.ob-shell.ob-question .qa .mic-tasks .mic-task-n { display: none; }
.ob-shell.ob-question .qa .privacy-line { justify-content: center; text-align: left; margin: 0 auto; max-width: 420px; padding: 0; background: none; color: rgba(255, 255, 255, 0.92); font-size: 0.88rem; }
.ob-shell.ob-question .qa .privacy-line .ic { color: #fff7e6; }
.ob-shell.ob-question .qa .ob-actions .btn-primary { width: 100%; min-width: 0; border-radius: 999px; background: #fff7e6; color: #10203a; box-shadow: 0 5px 0 rgba(4, 50, 58, 0.55); }
.ob-shell.ob-question .qa .mic-status { color: #fff; }
/* The range strip: low to high, with what Bud has heard so far lit up. */
.rs { margin: 0 0 14px; }
.rs-row { display: flex; align-items: center; gap: 10px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); }
.rs-track { position: relative; flex: 1; height: 14px; border-radius: 99px; background: rgba(255, 255, 255, 0.16);
  background-image: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(255, 255, 255, 0.25) calc(25% - 1px) 25%); }
.rs-band { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: #fff7e6; box-shadow: 0 0 0 2px rgba(255, 247, 230, 0.35); transition: left 600ms ease, width 600ms ease; }
.rs-band.is-dot { background: #ffd65a; box-shadow: 0 0 0 2px rgba(255, 214, 90, 0.35); }
.rs-text { margin: 8px 0 0; font-size: 0.9rem; font-weight: 700; color: #fff; }
/* The five voice tasks on the same card: the title and hint in white, the chart on a cream panel, cream buttons. */
.ob-shell.ob-question .task.qa .task-top { display: none; }
.ob-shell.ob-question .task.qa .ob-title { margin-bottom: 6px; }
.ob-shell.ob-question .task.qa .ob-hint { margin: 0 0 12px; color: rgba(255, 255, 255, 0.85); }
.ob-shell.ob-question .task.qa .task-stage { background: #fff7e6; border: 0; border-radius: 18px; box-shadow: none; color: #10203a; }
.ob-shell.ob-question .task.qa .task-status { color: #fff; font-weight: 800; min-height: 1.5em; margin: 10px 0 0; }
.ob-shell.ob-question .task.qa .task-actions { position: static; margin-top: 10px; padding: 0; background: none; box-shadow: none; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ob-shell.ob-question .task.qa canvas.pitch:not(.pitch-lane) { height: clamp(110px, calc(100svh - 530px), 240px); }
.ob-shell.ob-question .task.qa .task-status { font-size: 1.05rem !important; margin-top: 8px !important; }
.ob-shell.ob-question .task.qa .rs { margin-bottom: 10px; }
.ob-shell.ob-question .task.qa .task-actions .btn-link { padding: 6px 14px; min-height: 0; }
.ob-shell.ob-question .task.qa .task-actions .btn-primary { width: 100%; border-radius: 999px; background: #fff7e6; color: #10203a; box-shadow: 0 5px 0 rgba(4, 50, 58, 0.55); }
.ob-shell.ob-question .task.qa .task-actions .btn-secondary { background: rgba(255, 255, 255, 0.16); color: #fff; box-shadow: none; }
.ob-shell.ob-question .task.qa .task-actions .btn-link { color: #fff; }
/* The room check between the mic and the first task: the same card, white words. */
.ob-shell.ob-question .s-sound { background: #0b7f8a; border-radius: 26px; padding: 30px 18px 22px; text-align: center; color: #fff; box-shadow: 0 22px 50px rgba(16, 32, 58, 0.22); }
/* Only the card's own words are white; the answer buttons keep their dark text on their own surfaces. */
.ob-shell.ob-question .s-sound :is(.sc-title, .sc-body, .sc-status, .sc-note, .eyebrow, .card-note, .sc-summary, .sc-help) { color: #fff; }
.ob-shell.ob-question .s-sound .sc-choices { display: grid; gap: 10px; text-align: left; }
.ob-shell.ob-question .s-sound .sc-choice { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 16px; border: 0; border-radius: 16px;
  background: rgba(255, 255, 255, 0.13); color: #fff; box-shadow: none; font: inherit; font-weight: 700; cursor: pointer; }
.ob-shell.ob-question .s-sound .sc-choice :is(b, span, small) { color: #fff; }
.ob-shell.ob-question .s-sound .sc-choice small { opacity: 0.85; font-weight: 600; }
.ob-shell.ob-question .s-sound .sc-choice:hover { background: rgba(255, 255, 255, 0.22); }
.ob-shell.ob-question .s-sound .sc-choice.is-on, .ob-shell.ob-question .s-sound .sc-choice[aria-pressed="true"] { background: #fff7e6; color: #10203a; }
.ob-shell.ob-question .s-sound .sc-choice.is-on :is(b, span, small), .ob-shell.ob-question .s-sound .sc-choice[aria-pressed="true"] :is(b, span, small) { color: #10203a; }
.ob-shell.ob-question .s-sound .sc-choice .ic { flex: none; width: 24px; height: 24px; color: inherit; }
.ob-shell.ob-question .s-sound .sc-choice .ic .ic-fill { fill: currentColor; fill-opacity: 0.3; }
.ob-shell.ob-question .s-sound .sc-title { font-size: clamp(1.4rem, 0.95rem + 1.6vh, 1.85rem); margin: 0 0 6px; }
.ob-shell.ob-question .s-sound .sc-body { margin: 0 0 16px; opacity: 0.9; }
.ob-shell.ob-question .s-sound .sc-skip { margin-top: 14px; }
.ob-shell.ob-question .s-sound .btn-primary { border-radius: 999px; background: #fff7e6; color: #10203a; box-shadow: 0 5px 0 rgba(4, 50, 58, 0.55); }
.ob-shell.ob-question .s-sound .btn-secondary { background: rgba(255, 255, 255, 0.16); color: #fff; box-shadow: none; }
.ob-shell.ob-question .s-sound .sc-meter i { background: rgba(255, 255, 255, 0.3); }
.ob-shell.ob-question .s-sound .sc-meter i.on { background: #fff7e6; }
.ob-shell.ob-question .s-sound .btn-link { color: #fff; }
.ob-shell.ob-question .crunch { background: #0b7f8a; border-radius: 26px; padding: 44px 20px; text-align: center; box-shadow: 0 22px 50px rgba(16, 32, 58, 0.22); }
.ob-shell.ob-question .crunch .ob-title { color: #fff; }
.ob-shell.ob-question .crunch .crunch-dots i { background: #fff7e6; }
@media (min-width: 900px) {
  .ob-shell.ob-question .ob-stage { max-width: 680px; }
  .ob-shell.ob-question .qa-card { padding: 58px 26px 24px; }
  .ob-shell.ob-question .qa .opts[role="radiogroup"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ob-shell.ob-question .qa .opts[role="radiogroup"] > .opt:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .ob-shell.ob-question .qa .ob-continue, .ob-shell.ob-question .qa .ob-actions .btn-primary, .ob-shell.ob-question .task.qa .task-actions .btn-primary { width: auto; min-width: 260px; }
}
@media (max-height: 640px) {
  .qa-progress { margin-bottom: 40px; }
  .ob-shell.ob-question .qa-card { padding-top: 42px; }
  .qa-bud { top: -36px; width: 72px; height: 72px; } .qa-bud svg { width: 54px; height: 54px; }
  .ob-shell.ob-question .qa .opt-card { min-height: 44px; padding-top: 6px; padding-bottom: 6px; }
  .ob-shell.ob-question .qa .ob-head { margin-bottom: 12px; }
}
@media (max-height: 520px) { .ob-shell.ob-question .qa .ob-hint { display: none; } .ob-shell.ob-question .qa .mic-tasks li { min-height: 40px; padding-top: 4px; padding-bottom: 4px; } .ob-shell.ob-question .qa .privacy-line { font-size: 0.8rem; } .qa-progress { margin-bottom: 34px; } }

/* The three steps to the song (voice-flow.js readyScreen): a welcome card over a soft, blurred Home that is
   about to open. It follows the theme. Colours are names so the dark-theme generator leaves the screen alone. */
.ob-shell { --rd-page: #eaf7f9; --rd-scrim: rgba(255, 255, 255, 0.5); --rd-line: #b9c6d8; --rd-tabs: #ffffff; --rd-tab: #9fb0c6; --rd-link: #0a7580; --rd-shadow: rgba(16, 32, 58, 0.22);
  --rd-teal: #0b7f8a; --rd-hero: #1fb5c1; --rd-coral: #ff8a7a; --rd-sun: #ffd65a; --rd-violet: #8f7bf0; --rd-aqua: #39c9d4; --rd-cream: #fff7e6; --rd-ink: #10203a; }
html[data-theme="dark"] .ob-shell { --rd-page: #0a2233; --rd-scrim: rgba(7, 26, 40, 0.5); --rd-line: #56728a; --rd-tabs: #0d2c40; --rd-tab: #cfe6ee; --rd-link: #bfeef2; --rd-shadow: rgba(0, 0, 0, 0.45); }
.ob-at-ready { position: relative; background: var(--rd-page); }
.ob-shell.ob-at-ready .ob-top { position: relative; z-index: 2; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.ob-shell.ob-at-ready .ob-top::after { display: none !important; }
.ob-shell.ob-at-ready .ob-brand, .ob-shell.ob-at-ready .ob-progress { opacity: 0 !important; pointer-events: none; }
.ob-at-ready .ob-main { position: relative; z-index: 1; background: transparent; }
.rd-back { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: var(--rd-page); }
.rd-back::after { content: ''; position: absolute; inset: 0; background: var(--rd-scrim); }
/* The same blurred Home behind the question, mic, sound-check and range screens (voice-flow.js, ob-blur). */
.ob-shell.ob-blur.ob-question { position: relative; background: var(--rd-page) !important; }
.ob-shell.ob-blur.ob-question .ob-main { position: relative; z-index: 1; background: transparent !important; }
.ob-shell.ob-blur.ob-question .ob-main::before { display: none !important; }
.rd-home { position: absolute; inset: 0 0 64px; max-width: 560px; margin: 0 auto; padding: 70px 20px 0; display: grid; align-content: start; gap: 16px; filter: blur(9px); }
.rd-home i { display: block; border-radius: 18px; }
.rd-h1 { width: 55%; height: 26px; background: var(--rd-line); border-radius: 10px !important; }
.rd-hero { height: 150px; background: var(--rd-hero); }
.rd-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rd-tiles i { aspect-ratio: 1; }
.rd-tiles i:nth-child(1) { background: var(--rd-coral); }
.rd-tiles i:nth-child(2) { background: var(--rd-sun); }
.rd-tiles i:nth-child(3) { background: var(--rd-violet); }
.rd-h2 { width: 42%; height: 22px; background: var(--rd-line); border-radius: 10px !important; }
.rd-list { display: grid; gap: 12px; }
.rd-list i { height: 62px; background: linear-gradient(90deg, var(--rd-aqua) 0 62px, transparent 62px 76px, var(--rd-line) 76px 70%, transparent 70%); border-radius: 14px !important; }
.rd-list i:nth-child(2n) { background: linear-gradient(90deg, var(--rd-coral) 0 62px, transparent 62px 76px, var(--rd-line) 76px 55%, transparent 55%); }
.rd-tabs { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; display: flex; justify-content: space-around; align-items: center; background: var(--rd-tabs); filter: blur(5px); }
.rd-tabs i { width: 30px; height: 30px; border-radius: 10px; background: var(--rd-tab); opacity: 0.8; }
.rd-screen { position: relative; padding: 0 0 24px; }
.rd-card { position: relative; max-width: 420px; margin: 64px auto 0; padding: 56px 18px 18px; border-radius: 26px; background: var(--rd-teal); box-shadow: 0 22px 50px var(--rd-shadow); text-align: center; }
.rd-bud { position: absolute; left: 50%; top: -52px; width: 104px; height: 104px; transform: translateX(-50%); display: grid; place-items: center; border-radius: 50%; background: var(--rd-cream); border: 4px solid var(--rd-teal); }
.rd-bud svg { width: 78px; height: 78px; }
.rd-title { margin: 0 0 16px; font-size: 1.5rem; line-height: 1.2; color: #fff; }
.rd-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; text-align: left; }
.rd-step { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.1); color: #fff;
  animation: mic-in 420ms cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: calc(120ms + var(--i) * 90ms); }
.rd-num { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 900; font-size: 0.95rem; background: rgba(255, 255, 255, 0.2); color: #fff; }
.rd-num svg { width: 18px; height: 18px; }
.rd-text { flex: 1; min-width: 0; display: grid; gap: 1px; }
.rd-text b { font-family: var(--font-head); font-size: 1.02rem; line-height: 1.2; }
.rd-text small { font-size: 0.86rem; font-weight: 600; color: #fff; opacity: 0.88; }
.rd-step.is-done { color: rgba(255, 255, 255, 0.8); }
.rd-step.is-done b { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(255, 255, 255, 0.75); }
.rd-step.is-done .rd-num { background: rgba(255, 255, 255, 0.2); }
.rd-step.is-now { background: rgba(255, 255, 255, 0.22); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85); }
.rd-step.is-now .rd-num { background: var(--rd-cream); color: var(--rd-teal); }
.rd-step.is-later { background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.75); }
.rd-cta { width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--rd-cream); color: var(--rd-ink); font: 800 1.08rem/1.1 var(--font-head); box-shadow: 0 5px 0 rgba(4, 50, 58, 0.55); }
.rd-cta svg { width: 20px; height: 20px; }
.rd-cta:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(4, 50, 58, 0.55); }
.rd-cta:focus-visible { outline: 3px solid var(--rd-sun); outline-offset: 3px; }
.rd-hint { margin: 12px 0 0; font-size: 0.9rem; font-weight: 600; color: #fff; opacity: 0.9; }
.rd-later.btn-link { display: block; margin: 16px auto 0; color: var(--rd-link); }
@media (max-height: 700px) { .rd-card { margin-top: 44px; padding-top: 44px; } .rd-bud { top: -40px; width: 80px; height: 80px; } .rd-bud svg { width: 60px; height: 60px; } .rd-step { min-height: 46px; } .rd-steps { margin-bottom: 14px; } }
@media (prefers-reduced-motion: reduce) { .rd-step { animation: none; } }
/* A very short window (under 480px tall): Bud's line goes, so the question and Continue still fit. */
@media (min-width: 900px) and (max-height: 480px) {
  .ob-shell.ob-question .ob-guide { display: none; }
}

/* "Need an idea?" on the bring-a-song screen: a row of song stickers, titles only. */
.sc-ideas { margin: 26px 0 0; text-align: left; }
.sc-ideas-title { margin: 0; font: 800 1.05rem/1.2 var(--font-head); color: var(--wl-ink); }
.sc-ideas-sub { margin: 4px 0 12px; font-size: 0.9rem; color: #4a5178; }
.sc-ideas-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sc-idea { width: 100%; display: grid; gap: 2px; padding: 10px 12px; text-align: left; cursor: pointer; border: 0; border-radius: 14px; background: #fff;
  box-shadow: 0 0 0 2px var(--ink-line), 3px 3px 0 var(--ink-line); color: var(--wl-ink); font: inherit; }
.sc-idea { display: flex !important; align-items: center; gap: 10px; }
.sc-idea-text { display: grid; gap: 2px; min-width: 0; }
.sc-idea b { font: 800 0.95rem/1.2 var(--font-head); }
.sc-idea small { font-size: 0.8rem; color: #4a5178; }
.sc-idea:active { transform: translate(2px, 2px); box-shadow: 0 0 0 2px var(--ink-line), 1px 1px 0 var(--ink-line); }
@media (min-width: 720px) { .sc-ideas-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Opened for the ideas: they sit right under the heading, above the ways to bring a song. */
.sc-ask.ideas-first { display: flex; flex-direction: column; }
.sc-ask.ideas-first > .sc-ideas { order: 1; margin-top: 18px; }
.sc-ask.ideas-first > .way-rows { order: 2; margin-top: 22px; }
.sc-ask.ideas-first > .sc-now-card, .sc-ask.ideas-first > .sc-or { order: 3; }

/* Song idea tiles: every tile in the grid is the same height (a long title no longer makes one tile taller
   than its row), the text is centred against the initials, and long titles stop at two lines. */
.sc-ideas-list { grid-auto-rows: 1fr; gap: 12px; }
.sc-ideas-list li { display: flex; min-width: 0; }
.sc-idea { height: 100%; min-height: 64px; padding: 10px 14px; gap: 12px; }
.sc-idea-text { flex: 1; align-content: center; }
.sc-idea b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; text-wrap: balance; }
.sc-idea small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-idea-av { width: 38px; height: 38px; }

/* The voice type under the range on the result screen */
.rv-type { margin: 4px 0 10px; font-size: 0.9rem; font-weight: 700; color: var(--wl-deep, #0b7f8a); }
.ob-shell.ob-question .ob-stage > .ob-screen.s-sound:not(.is-leaving) { flex: none; }

/* The mic screen, pared down: a question, one line, the button, and a small private note under it. */
.ob-shell.ob-question .qa.mic .ob-hint { margin-bottom: 20px; font-size: 1.05rem; }
.qa-fine { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; font-size: 0.82rem; font-weight: 600; color: rgba(255, 255, 255, 0.82); }
.qa-fine .ic { width: 14px; height: 14px; flex: none; }

/* The mic screen with its picture back: the empty range strip between the line and the button. */
.ob-shell.ob-question .qa.mic .ob-hint { margin-bottom: 18px; }
.ob-shell.ob-question .qa.mic .rs { margin: 0 auto 20px; max-width: 460px; }
.ob-shell.ob-question .s-sound .sc-choice > span { display: grid; gap: 2px; min-width: 0; }

/* The mic on the voice tasks shows only while Bud is recording the user: a yellow mic with pulsing rings and
   "Recording. Hum now". Start is an ordinary button. The first time it comes on, a tooltip says what it means. */
.orb-wrap { position: relative; display: grid; justify-items: center; gap: 6px; }
.orb-wrap[hidden] { display: none; }
.orb { position: relative; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #ffd65a; color: #10203a; }
.orb .ic { position: relative; z-index: 1; width: 28px; height: 28px; }
.orb .ic .ic-fill { fill: currentColor; fill-opacity: 0.25; }
.orb-ring { position: absolute; inset: 0; border-radius: 50%; background: rgba(255, 247, 230, 0.4); pointer-events: none; animation: orb-pulse 1.6s ease-out infinite; }
.orb-ring.r2 { animation-delay: 0.8s; }
@keyframes orb-pulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.9); opacity: 0; } }
.orb-hint { font-size: 0.86rem; font-weight: 800; color: #fff; }
.orb-tip { display: none; }
.task.qa.is-teach .orb-tip { display: block; position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translateX(-50%); white-space: nowrap; z-index: 3;
  padding: 8px 14px; border-radius: 12px; background: #fff7e6; color: #10203a; font: 800 0.9rem/1.2 var(--font-head); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); animation: orb-tip 400ms ease-out both; }
.task.qa.is-teach .orb-tip::after { content: ''; position: absolute; left: 50%; top: 100%; width: 12px; height: 12px; background: #fff7e6; transform: translate(-50%, -6px) rotate(45deg); }
@keyframes orb-tip { from { opacity: 0; transform: translate(-50%, 6px); } to { opacity: 1; transform: translate(-50%, 0); } }
.ob-shell.ob-question .task.qa .task-actions { min-height: 96px; justify-content: center; }
.ob-shell.ob-question .task.qa canvas.pitch:not(.pitch-lane) { height: clamp(100px, calc(100svh - 580px), 230px); }
.ob-shell.ob-question .task.qa .task-status { min-height: 1.3em; }
@media (prefers-reduced-motion: reduce) { .orb-ring { animation: none; opacity: 0.5; transform: scale(1.25); } }

/* Recording is red: the mic that shows while Bud records the user. */
.orb { background: #e5484d; color: #fff; }
.orb-ring { background: rgba(229, 72, 77, 0.45); }
.orb-hint::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #ff6b6f; vertical-align: 1px; }

/* The room and echo checks in the welcome: the same card as the rest, with Bud on top, a narrower column
   and bigger level bars, so the card isn't a wide empty box. */
.ob-shell.ob-question .s-sound:not(.is-leaving) { position: relative; }
.ob-shell.ob-question .s-sound { max-width: 460px; margin-left: auto; margin-right: auto; margin-top: 48px; padding: 58px 22px 26px; }
.ob-shell.ob-question .s-sound .qa-bud { top: -48px; }
.ob-shell.ob-question .s-sound .sc-meter { height: 56px; gap: 7px; margin: 18px auto 14px; }
.ob-shell.ob-question .s-sound .sc-meter i { width: 12px; border-radius: 6px; }
.ob-shell.ob-question .s-sound .sc-note { margin: 0 auto; max-width: 30ch; font-size: 0.95rem; font-weight: 700; line-height: 1.4; min-height: 2.8em; }
.ob-shell.ob-question .s-sound .sc-body { max-width: 30ch; margin-left: auto; margin-right: auto; }
.ob-shell.ob-question .s-sound .sc-choices + .sc-status:empty { display: none; }

/* Hold task on the card: the chart fills the panel and the timer ring sits at its right edge, at every width
   (the old wide layout left a narrow chart beside a ring floating in empty space). */
.ob-shell.ob-question .task.qa .hold-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px 16px 10px 0; }
.ob-shell.ob-question .task.qa .hold-wrap canvas.pitch { grid-column: 1; grid-row: 1; width: 100%; order: 0; }
.ob-shell.ob-question .task.qa .hold-wrap .ring { grid-column: 2; grid-row: 1; width: clamp(88px, 14vh, 120px); height: clamp(88px, 14vh, 120px); margin: 0; order: 0; }
.ob-shell.ob-question .task.qa .hold-wrap .ring-num { font-size: clamp(1.5rem, 3.4vh, 2rem); }

/* The voice check's result on the same teal card: headline, the notes on a cream panel, one button. */
.wn .wn-title { color: #fff; margin: 0 0 14px; font-size: clamp(1.25rem, 0.9rem + 1.3vh, 1.6rem); line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance; }
.wn-panel { background: var(--rd-cream); color: var(--rd-ink); border-radius: 18px; padding: 12px 14px 12px; text-align: left; }
.wn-label { margin: 0; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rd-teal); }
.wn-range { margin: 2px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font: 900 1.6rem/1.15 var(--font-head); letter-spacing: -0.02em; color: var(--rd-ink); }
.wn-range em { font: 700 0.88rem/1.2 var(--font-body); font-style: normal; letter-spacing: 0; color: var(--rd-teal); }
.wn-panel .piano { display: block; width: 100%; max-height: 74px; margin-top: 8px; }
.wn-panel .piano .k-w { fill: #fff; stroke: var(--rd-ink); }
.wn-panel .piano .k-b { fill: var(--rd-ink); }
.wn.is-in .wn-panel .piano .k-w.on { fill: var(--rd-hero); }
.wn.is-in .wn-panel .piano .k-b.on { fill: var(--rd-teal); }
.wn-near { margin: 8px 0 0; font-size: 0.84rem; font-weight: 600; line-height: 1.35; color: var(--rd-ink); opacity: 0.8; }
.wn-note { margin: 12px 0 0; font-size: 0.98rem; font-weight: 600; color: #fff; }
.ob-shell.ob-question .wn .ob-actions { margin-top: 14px; position: static; }
.wn-links { margin: 12px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 22px; }
.wn-links button { border: 0; background: none; padding: 4px 2px; cursor: pointer; font: 700 0.86rem var(--font-body); color: #fff; opacity: 0.9; text-decoration: underline; text-underline-offset: 3px; }
.wn-links button:hover { opacity: 1; }
@media (max-height: 640px) { .wn-near { display: none; } .wn-panel .piano { max-height: 56px; } .wn .wn-title { margin-bottom: 10px; } }

/* The task card keeps one height while it runs: the mic and the Start button share one fixed slot, so the
   mic coming on and off doesn't push the card (and the page) up and down. "Play it again" and "Skip" sit
   on one row of small links under it. The status line is one line. */
.ob-shell.ob-question .task.qa .task-actions { min-height: 0; gap: 0; margin-top: 6px; }
.task-slot { display: grid; place-items: center; width: 100%; height: 96px; }
.task-slot > * { grid-area: 1 / 1; }
.task-slot .orb-wrap { gap: 4px; }
.ob-shell.ob-question .task.qa .task-slot .btn-primary { align-self: center; }
.task-links { display: flex; justify-content: center; align-items: center; flex-wrap: nowrap; gap: 6px 18px; min-height: 36px; }
.ob-shell.ob-question .task.qa .task-links .btn-secondary { min-height: 0; padding: 6px 4px; border: 0; background: none !important; box-shadow: none !important; color: #fff;
  font: 700 0.92rem var(--font-body); text-decoration: underline; text-underline-offset: 3px; }
/* "Play it again" (every look): an outlined pill with its icon, not an underlined link. */
.ob-shell.ob-question .task.qa .task-links [data-act="replay"] { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 16px;
  border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.55); text-decoration: none; }
.ob-shell.ob-question .task.qa .task-links [data-act="replay"] .ic { width: 16px; height: 16px; }
.ob-shell.ob-question .task.qa .task-status { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; height: 1.4em; line-height: 1.4; min-height: 0; }
@media (max-height: 640px) { .task-slot { height: 88px; } .task-slot .orb { width: 54px; height: 54px; } }
/* The sound check has no progress row above it, so it leaves room for Bud on top of the card. */
.ob-shell.ob-question .ob-stage > .ob-screen.s-sound { margin: 56px auto 0; }
.ob-shell.ob-question .task.qa .hold-wrap { padding-top: 6px; padding-bottom: 6px; }

/* "That's your note" on the welcome card: it fills the cream stage, with no frame of its own, and a tick
   takes the mic's place below. */
.ob-shell.ob-question .task.qa .found { inset: 0; left: 0; top: 0; translate: none; min-width: 0; display: grid; align-content: center; justify-items: center; gap: 2px;
  padding: 10px 16px; border: 0 !important; border-radius: inherit; box-shadow: none !important; background: #fff7e6; color: #10203a; }
.ob-shell.ob-question .task.qa .found-kicker { margin: 0; color: #0b7f8a; }
.ob-shell.ob-question .task.qa .found-note { margin: 0; color: #10203a; font-size: clamp(2.6rem, 6vh, 3.4rem); }
.ob-shell.ob-question .task.qa .found-body { margin: 0; color: #4a5178; }
.ob-shell.ob-question .task.qa.is-found .task-status { visibility: hidden; }
.task-tick { display: none; width: 64px; height: 64px; border-radius: 50%; place-items: center; background: #fff7e6; color: #0b7f8a; }
.task-tick .ic { width: 32px; height: 32px; stroke-width: 3; }
.ob-shell.ob-question .task.qa.is-found .task-tick { display: grid; animation: tick-pop 420ms cubic-bezier(.3, 1.6, .5, 1) both; }
.ob-shell.ob-question .task.qa.is-found .task-actions.is-done { opacity: 1; }
.ob-shell.ob-question .task.qa.is-found .task-links { visibility: hidden; }
@keyframes tick-pop { from { transform: scale(0.5); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ob-shell.ob-question .task.qa.is-found .task-tick { animation: none; } }

/* The offer in dark mode (owner, 13 Nov 2026): a darker, blurred backdrop so the page behind steps back, a panel with
   an edge, progress dashes that show, and the free note readable. A shorter card, without the empty band. */
.of-card { min-height: 300px; }
html[data-theme="dark"] .of-scrim { background: rgba(4, 6, 18, 0.78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
html[data-theme="dark"] .of-panel { background: #121a38; box-shadow: 0 0 0 1px #2a3560, 0 30px 70px -20px rgba(0, 0, 0, 0.8); }
html[data-theme="dark"] .of-dots i { background: #2a3560; }
html[data-theme="dark"] .of-dots i.on { background: #39e6ee; }
html[data-theme="dark"] .of-free { background: rgba(57, 230, 238, 0.12); color: #8ff6ff; }
html[data-theme="dark"] .of-x { background: rgba(255, 255, 255, 0.08); }
html[data-theme="dark"] .of-free-btn { color: #c9d1ec; }
/* Q1 with "I already have an account" under Continue (19 Nov 2026): the owner wants no scrolling on this screen,
   so short screens (most Android phones) tighten the card to make room for the link. */
.ob-shell.ob-question .qa.has-have .goals-have { margin: 6px auto 0; min-height: 40px; padding: 6px 16px; color: rgba(255, 255, 255, 0.9); text-decoration: underline; text-underline-offset: 3px; }
/* .is-tight (24 Nov 2026): the same tightening in Spanish, German and Portuguese, whose answers run longer and wrap. */
/* On short phones their longer answers still overflow by a line, so the one-line subtitle under the question goes. */
@media (max-height: 700px) { .ob-shell.ob-question .qa.is-tight .ob-hint { display: none; } }
@media (max-height: 780px) {
  .ob-main:has(.qa.has-have), .ob-main:has(.qa.is-tight) { padding-bottom: 8px; }
  .qa.has-have .qa-progress, .qa.is-tight .qa-progress { margin-bottom: 26px; }
  .ob-shell.ob-question .qa.has-have .ob-head, .ob-shell.ob-question .qa.is-tight .ob-head { margin-bottom: 10px; }
  .ob-shell.ob-question .qa.has-have .opts[role="radiogroup"], .ob-shell.ob-question .qa.is-tight .opts[role="radiogroup"] { gap: 6px; }
  .ob-shell.ob-question .qa.has-have .opt-card, .ob-shell.ob-question .qa.is-tight .opt-card { min-height: 48px; padding-top: 6px; padding-bottom: 6px; }
  .ob-shell.ob-question .qa.has-have .goals-have { margin-top: 2px; min-height: 36px; padding: 4px 16px; }
  .ob-shell.ob-question .qa.has-have .qa-card, .ob-shell.ob-question .qa.is-tight .qa-card { padding-bottom: 10px; }
}
/* Wide screens lay the actions out in a row; with the link, keep Continue centred and the link under it. */
.ob-shell.ob-question .qa.has-have .ob-actions { flex-direction: column; align-items: center; }
/* "What are you listening on?" inside the welcome: the icon tile and chevron (19 Nov 2026, see css/app.css). */
.ob-shell.ob-question .s-sound .sc-choice > .ic:first-child { width: 34px; height: 34px; padding: 7px; box-sizing: border-box; border-radius: 12px; background: rgba(255, 255, 255, 0.16); }
.ob-shell.ob-question .s-sound .sc-choice > .ic.sc-chev { width: 20px; height: 20px; margin-left: auto; padding: 0; background: none; opacity: 0.75; }
html.look-night .ob-shell.ob-question .s-sound .sc-choice > .ic:first-child { background: rgba(34, 238, 242, 0.14); color: #22eef2; }
html.look-night .ob-shell.ob-question .s-sound .sc-choice > .ic.sc-chev { color: #fff; }
html.look-night .ob-shell.ob-question .s-sound .sc-choice.sc-choice { background: rgba(22, 40, 100, 0.55); box-shadow: inset 0 0 0 1.5px rgba(88, 104, 185, 0.6), 0 3px 0 rgba(3, 8, 30, 0.45); }
.ob-shell.ob-question .s-sound .sc-choice.sc-choice { padding: 10px 12px 10px 12px; gap: 10px; }

/* "Creating your vocal plan…" (voice-flow.js makingPlan, 19 Nov 2026; richer pass the same day). Bud in a glowing
   ring that fills step by step; under the title one picture per step, all from the voice check: the piano sweeps and
   lights the comfortable notes, singer names flick and settle on the three nearest, the first week's days light up.
   Then the ring completes, confetti, and the one login ask. */
.ob-shell.ob-question .ob-screen.crunch.pm { flex: 0 0 auto; margin-top: auto; margin-bottom: auto; display: block; width: 100%; padding: 22px 20px 22px; overflow: hidden; }
.pm-orb { position: relative; width: 132px; height: 132px; margin: 0 auto 8px; }
/* No filter: blur here: on top of the blurred page it drew a square box around Bud (owner's screenshot, 21 Nov 2026). The wider gradient gives the same soft glow. */
.pm-glow { position: absolute; inset: -6px; border-radius: 50%; background: radial-gradient(circle closest-side, rgba(34, 238, 242, 0.45), rgba(34, 238, 242, 0.12) 60%, rgba(34, 238, 242, 0) 100%); animation: pm-breathe 2.2s ease-in-out infinite; }
@keyframes pm-breathe { 0%, 100% { transform: scale(0.92); opacity: 0.7; } 50% { transform: scale(1.12); opacity: 1; } }
.pm-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.pm-ring circle { fill: none; stroke-width: 6; }
.pm-ring-bg { stroke: rgba(255, 255, 255, 0.16); }
.pm-ring-fg { stroke: #ffd65a; stroke-linecap: round; transition: stroke-dashoffset 0.9s cubic-bezier(0.23, 1, 0.32, 1); filter: drop-shadow(0 0 6px rgba(255, 214, 90, 0.7)); }
.pm-orbit { position: absolute; inset: 0; animation: pm-orbit 3.2s linear infinite; }
.pm-orbit i { position: absolute; left: 50%; top: -2px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff; }
.pm-orbit i:nth-child(2) { transform: rotate(120deg); transform-origin: 4px 68px; background: #22eef2; box-shadow: 0 0 10px #22eef2; }
.pm-orbit i:nth-child(3) { transform: rotate(240deg); transform-origin: 4px 68px; background: #ffd65a; box-shadow: 0 0 10px #ffd65a; }
@keyframes pm-orbit { to { transform: rotate(360deg); } }
.ob-shell.ob-question .pm .pm-face.qa-bud { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; transform: translate(-50%, -50%); }
.pm .pm-face svg { width: 74px; height: 74px; }
.pm .pm-face { animation: pm-bob 2.6s ease-in-out infinite; }
@keyframes pm-bob { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, -54%); } }
.pm.is-complete .pm-ring-fg { stroke: #22eef2; filter: drop-shadow(0 0 8px rgba(34, 238, 242, 0.9)); }
.pm.is-complete .pm-orbit { animation-duration: 1.2s; }
.pm.is-complete .pm-face { animation: pm-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
@keyframes pm-pop { 0% { transform: translate(-50%, -50%) scale(1); } 40% { transform: translate(-50%, -50%) scale(1.14); } 100% { transform: translate(-50%, -50%) scale(1); } }
.pm .ob-title { font-size: clamp(1.35rem, 5.6vw, 1.7rem); margin: 0; }
.pm.is-ready .ob-title { animation: pm-title 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
@keyframes pm-title { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } }

/* The stage: the three pictures share one box, so nothing jumps. */
.pm-stage { position: relative; height: 92px; margin: 14px auto 6px; max-width: 320px; }
.pm-panel { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; opacity: 0; transform: translateY(10px) scale(0.98); transition: opacity 0.35s, transform 0.45s cubic-bezier(0.23, 1, 0.32, 1); pointer-events: none; }
.pm-panel.is-on { opacity: 1; transform: none; }
.pm-cap { font-weight: 800; color: #fff; letter-spacing: 0.01em; }
.pm-piano { display: flex; gap: 2px; width: 100%; height: 48px; }
.pm-piano i { flex: 1; border-radius: 0 0 4px 4px; background: rgba(255, 255, 255, 0.92); }
.pm-keys.is-on .pm-piano i { animation: pm-sweep 0.5s ease-out both; animation-delay: var(--d); }
.pm-keys.is-on .pm-piano i.in { animation: pm-sweep 0.5s ease-out both, pm-light 0.4s ease-out forwards; animation-delay: var(--d), calc(var(--d) + 520ms); }
@keyframes pm-sweep { 0% { background: rgba(255, 255, 255, 0.92); } 35% { background: #ffd65a; transform: translateY(3px); } 100% { background: rgba(255, 255, 255, 0.92); transform: none; } }
@keyframes pm-light { to { background: #22eef2; box-shadow: 0 0 10px rgba(34, 238, 242, 0.8); } }
.pm-keys .pm-cap { opacity: 0; transition: opacity 0.3s 1.1s; }
.pm-keys.is-on .pm-cap { opacity: 1; }
.pm-tick-name { font: 800 1.15rem/1.2 var(--font-head, inherit); color: #fff; min-height: 1.4em; }
.pm-tick-name.flip { animation: pm-flip 0.085s ease-out; }
@keyframes pm-flip { from { transform: translateY(-40%); opacity: 0.2; } to { transform: none; opacity: 1; } }
.pm-singers.settled .pm-tick-name { display: none; }
.pm-chips { display: none; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pm-singers.settled .pm-chips { display: flex; }
.pm-chips span { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1.5px rgba(34, 238, 242, 0.55); color: #fff; font-weight: 700; font-size: 0.9rem; animation: pm-chip 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both; animation-delay: calc(var(--i) * 110ms); }
@keyframes pm-chip { from { opacity: 0; transform: scale(0.6) translateY(6px); } to { opacity: 1; transform: none; } }
.pm-wave { display: flex; align-items: center; gap: 5px; height: 48px; }
.pm-wave i { width: 6px; height: 100%; border-radius: 3px; background: #22eef2; animation: pm-wave 0.9s ease-in-out infinite; }
.pm-wave i:nth-child(2n) { animation-delay: -0.3s; } .pm-wave i:nth-child(3n) { animation-delay: -0.6s; }
@keyframes pm-wave { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }
.pm-days { display: flex; gap: 6px; }
.pm-days span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: rgba(255, 255, 255, 0.5); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.25); }
.pm-week.is-on .pm-days span { animation: pm-day 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; animation-delay: calc(var(--i) * 140ms + 100ms); }
@keyframes pm-day { 0% { transform: scale(0.7); } 100% { transform: none; background: #ffd65a; color: #10203a; box-shadow: 0 4px 12px rgba(255, 214, 90, 0.4); } }

/* The three steps under the stage. */
.pm-steps { list-style: none; margin: 8px auto 0; padding: 0; max-width: 320px; display: grid; gap: 8px; text-align: left; }
.pm-steps li { display: flex; align-items: center; gap: 12px; font-weight: 700; color: #fff; opacity: 0.4; transition: opacity 0.3s; font-size: 0.95rem; }
.pm-steps li.is-on { opacity: 1; }
.pm-tick { position: relative; flex: none; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35); display: grid; place-items: center; transition: background 0.25s, box-shadow 0.25s; }
.pm-tick .ic { width: 14px; height: 14px; color: #0b2a33; opacity: 0; transform: scale(0.4); transition: opacity 0.2s, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.pm-spin { position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; border-top-color: #fff; opacity: 0; }
.pm-steps li.is-on:not(.is-done) .pm-spin { opacity: 1; animation: pm-spin 0.8s linear infinite; }
.pm-steps li.is-done .pm-tick { background: #ffd65a; box-shadow: none; }
.pm-steps li.is-done .pm-tick .ic { opacity: 1; transform: none; }
@keyframes pm-spin { to { transform: rotate(360deg); } }

/* Ready: the stage folds away, the steps stay as a short list of ticks, and the login ask rises in. */
.pm.is-ready .pm-stage { display: none; }
.pm.is-ready .pm-steps { margin-top: 14px; gap: 6px; }
.pm-ready { margin-top: 16px; animation: pm-rise 0.45s cubic-bezier(0.23, 1, 0.32, 1) both; }
@keyframes pm-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pm-body { margin: 0 0 12px; color: rgba(255, 255, 255, 0.9); font-size: 1.05rem; }
.pm .ob-actions { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pm .ob-actions .btn { width: 100%; max-width: 340px; }
.pm-skip { min-height: 44px; padding: 8px 16px; color: rgba(255, 255, 255, 0.9); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.pm-status:empty { display: none; }
/* The sign-in ask (owner's mockup, 21 Nov 2026): the reason, the two sign-in buttons on the card, the privacy line.
   The steps that built the plan step aside, so the card holds one message and one choice. */
.pm.is-ready .pm-steps { display: none; }
.pm.is-ready .pm-body { margin: 6px auto 16px; max-width: 34ch; text-wrap: balance; }
.pm-signin { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 340px; min-height: 44px; margin: 0 auto; }
.pm-signin [data-g] iframe { color-scheme: light; }
.pm-keeps { margin: 14px auto 0; max-width: 34ch; font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); }
html.look-night .pm-keeps { color: #bacdfb; }
.pm-ready .pm-status { margin: 10px auto 0; max-width: 34ch; }
html.look-night .pm-steps li.is-done .pm-tick { background: #22eef2; }
html.look-night .pm-tick .ic { color: #06121c; }
html.look-night .pm .pm-face.qa-bud { box-shadow: 0 0 0 3px rgba(34, 238, 242, 0.9), 0 0 26px rgba(34, 238, 242, 0.5); }
@media (prefers-reduced-motion: reduce) {
  .pm-glow, .pm-orbit, .pm .pm-face, .pm-spin, .pm-ready, .pm.is-ready .ob-title { animation: none !important; }
  .pm-panel, .pm-ring-fg, .pm-steps li, .pm-tick, .pm-tick .ic { transition: none; }
  .pm-keys.is-on .pm-piano i, .pm-keys.is-on .pm-piano i.in, .pm-week.is-on .pm-days span, .pm-chips span { animation-duration: 0.01ms; animation-delay: 0ms; }
}
@media (max-height: 600px) { .pm-orb { width: 100px; height: 100px; } .ob-shell.ob-question .pm .pm-face.qa-bud { width: 72px; height: 72px; } .pm .pm-face svg { width: 56px; height: 56px; } .pm-stage { height: 76px; margin-top: 8px; } .pm-orbit i:nth-child(n+2) { transform-origin: 4px 52px; } }

/* Short screens (360x640, 23 Nov 2026): "Keep going free" fell below the edge. The cards give way and scroll inside;
   the buttons always show. */
.of-track { flex: 1 1 auto; min-height: 0; }
.of-card { overflow-y: auto; justify-content: safe center; }
@media (max-height: 700px) {
  .of-card { min-height: 0; }
  .of-bud, html.look-night .of-bud { width: 84px; margin-bottom: 8px; }
}


/* "Start the voice check", "Find my vocal range" and each voice-check task's Start (owner, 26 Nov 2026): the same pulsing ring as the song page's "Sing it", so it reads
   as "tap here to begin". Teal on the light looks, gold on the night look, like Sing it. The button hides while a task
   runs, so the ring only shows while it waits for a tap. Off for reduced motion. */
.task-actions [data-act="start"], .rd-cta, .mic .ob-actions [data-mic] { animation: vc-start-ring 2.4s ease-out infinite; }
html.look-night :is(.task-actions [data-act="start"], .rd-cta, .mic .ob-actions [data-mic]) { animation-name: vc-start-ring-gold; }
@keyframes vc-start-ring { 0% { outline: 3px solid rgba(23, 182, 194, 0.55); outline-offset: 0; } 70%, 100% { outline: 3px solid rgba(23, 182, 194, 0); outline-offset: 12px; } }
@keyframes vc-start-ring-gold { 0% { outline: 3px solid rgba(253, 220, 82, 0.6); outline-offset: 0; } 70%, 100% { outline: 3px solid rgba(253, 220, 82, 0); outline-offset: 12px; } }
@media (prefers-reduced-motion: reduce) { .task-actions [data-act="start"], .rd-cta, .mic .ob-actions [data-mic] { animation: none; } }

/* "When are you usually free to sing?" (phones, 2 Dec 2026): Bud on the couch, three quick times, a big time that opens
   the phone's picker, and the line that says the phone's own prompt comes next. */
html .qa-card .qa-bud.is-scene { display: block !important; width: 124px !important; height: 90px !important; top: -44px !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; border: 0 !important; overflow: visible !important; }
html .qa-card:has(> .qa-bud.is-scene) { padding-top: 58px !important; }
html .qa-card .qa-bud.is-scene::before, html .qa-card .qa-bud.is-scene::after { display: none !important; }
html .qa-card .qa-bud.is-scene img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 10px 18px rgba(4, 8, 40, 0.45)); }
.when-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.when-chip { display: grid; justify-items: center; gap: 4px; padding: 10px 4px 9px; border: 0; border-radius: 16px; cursor: pointer; font: 700 .9rem/1.15 var(--font-head, system-ui);
  background: rgba(255, 255, 255, 0.06); color: #dfe6ff; box-shadow: inset 0 0 0 1.5px rgba(160, 180, 255, 0.28); transition: background .15s, box-shadow .15s, transform .1s; }
.when-chip .ic { width: 22px; height: 22px; color: #7fe9ee; }
.when-chip.is-on { background: rgba(255, 216, 77, 0.16); color: #fff; box-shadow: inset 0 0 0 2px #ffd84d; }
.when-chip.is-on .ic { color: #ffd84d; }
.when-chip:active { transform: scale(.97); }
.when-time { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; margin: 12px 0 0; padding: 12px 16px; border-radius: 18px; cursor: pointer;
  background: rgba(8, 12, 48, 0.45); box-shadow: inset 0 0 0 1.5px rgba(160, 180, 255, 0.3); }
.when-time-show { font: 800 2.1rem/1 var(--font-head, system-ui); letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; }
.when-time-edit { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: #c9d3ff; }
.when-time-edit .ic { width: 16px; height: 16px; }
/* The real time field covers the whole box, invisible: a tap opens the phone's own time picker. */
.when-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; margin: 0; -webkit-appearance: none; appearance: none; }
.when-note { display: flex; align-items: flex-start; gap: 8px; margin: 12px 2px 0; font-size: .84rem; line-height: 1.35; color: #c3cff5; text-align: left; }
.when-note .ic { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.ob-q.is-when .ob-actions [data-skip] { margin-top: 2px; }

/* Every welcome card runs the full height of the phone (owner, 2 Dec 2026: "the only screen that doesn't spread all
   the way", "make sure they look amazing on all screens"): the questions, the mic step and the result. The content
   sits at the top, the button and its small print at the bottom; the mic step's range bar sits in the middle. The
   singing tasks keep their own layout. The notch and the home bar are taken off on iPhone. */
@media (max-width: 759px) {
  html .ob-q.qa .qa-card, html .mic.qa .qa-card, html .win.qa .qa-card {
    display: flex; flex-direction: column;
    min-height: calc(100vh - 140px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    min-height: calc(100svh - 140px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  }
  html .ob-q.qa .qa-card > .ob-actions, html .win.qa .qa-card > .ob-actions { margin-top: auto !important; }
  html .ob-q.qa .qa-card > .ob-actions, html .win.qa .qa-card > .ob-actions, html .mic.qa .qa-card > .ob-actions { padding-top: 12px; }
  html .qa-card .qa-bud.is-scene { width: 112px !important; height: 81px !important; top: -40px !important; }
  html .qa-card:has(> .qa-bud.is-scene) { padding-top: 52px !important; }
  html .mic.qa .qa-card > .rs { margin-top: auto !important; margin-bottom: auto !important; }
  /* The answers sit in the middle of the space between the title and the button, not stuck under the title. */
  html .ob-q.qa .qa-card > .opts { margin-top: auto !important; margin-bottom: auto !important; }
  html .ob-q.qa.is-when .qa-card > .when-chips { margin-top: auto !important; }
  html .ob-q.qa.is-when .qa-card > .when-note { margin-bottom: auto !important; }
  html .win.qa .qa-card > .wn-panel { margin-top: auto !important; margin-bottom: auto !important; }
}
/* Taller phones (most iPhones, big Androids): a slightly bigger scene of Bud, with the room it needs. */
@media (max-width: 759px) and (min-height: 760px) {
  html .qa-card .qa-bud.is-scene { width: 150px !important; height: 108px !important; top: -52px !important; }
  html .qa-card:has(> .qa-bud.is-scene) { padding-top: 74px !important; }
}
/* Laptops and tablets: the card is wide, so Bud's scene is bigger. */
@media (min-width: 760px) {
  html .qa-card .qa-bud.is-scene { width: 200px !important; height: 145px !important; top: -56px !important; }
  html .qa-card:has(> .qa-bud.is-scene) { padding-top: 102px !important; }
}
/* Short phones (360x640 and the like): a smaller scene, a tighter time picker, and the card height tuned. */
@media (max-width: 759px) and (max-height: 680px) {
  html .qa-card .qa-bud.is-scene { width: 108px !important; height: 78px !important; top: -40px !important; }
  html .qa-card:has(> .qa-bud.is-scene) { padding-top: 46px !important; }
  html .ob-q.qa .qa-card, html .mic.qa .qa-card, html .win.qa .qa-card {
    min-height: calc(100vh - 122px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)) !important;
    min-height: calc(100svh - 122px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)) !important;
  }
  .ob-q.is-when .when-chip { padding: 8px 4px 7px; }
  .ob-q.is-when .when-time { margin-top: 10px; padding: 9px 14px; }
  .ob-q.is-when .when-time-show { font-size: 1.85rem; }
}
/* The result's score badge (2 Dec 2026). */
.wn-score { display: flex; align-items: center; justify-content: center; gap: 6px; width: fit-content; margin: 0 auto 10px; padding: 6px 12px; border-radius: 999px;
  background: rgba(95, 227, 232, 0.12); box-shadow: inset 0 0 0 1.5px rgba(95, 227, 232, 0.45); color: #8ff0f3; font: 700 .9rem/1 var(--font-head, system-ui); }
.wn-score .ic { width: 15px; height: 15px; }
