/* Trial look "Night" for the start and account screens (log in, welcome, first song, sound check, unlock, family) (16 Nov 2026). No mockup: follows the language set in
   look-night-base.css and the matched screens. Only with html.look-night. Colours hold on every width since 21 Nov 2026 (the laptop
   welcome was still teal); only the phone layouts stay inside the (max-width: 759px) blocks. */

  /* ---------- The welcome's card system (voice-flow.js; welcome.css: qa-card, task, s-sound, crunch, rd-card) ---------- */
  /* The blurred Home behind the cards, in night colours. */
  html.look-night .ob-shell {
    --rd-page: #09132b; --rd-scrim: rgba(9, 19, 43, 0.5); --rd-line: #2c3b74; --rd-tabs: #081024; --rd-tab: #3b4c94; --rd-link: #8fd8ff; --rd-shadow: rgba(0, 0, 0, 0.5);
    --rd-teal: #1a3a86; --rd-hero: #0a4a9a; --rd-coral: #1c4fa0; --rd-sun: #fddc52; --rd-violet: #4a3aa8; --rd-aqua: #0e6f80; --rd-cream: #112351; --rd-ink: #ffffff;
  }
  html.look-night .rd-hero { background: linear-gradient(160deg, #035f8c 0%, #04437e 55%, #0b2156 100%); }

  /* The cards: indigo glass with a lit rim and a soft blue glow under them. */
  html.look-night .ob-shell.ob-question :is(.qa-card, .s-sound, .crunch), html.look-night .rd-card {
    color: #fff; border: 1.5px solid transparent;
    background: linear-gradient(160deg, #1b3a86 0%, #172f72 45%, #1a2964 100%) padding-box,
                linear-gradient(180deg, #5868b9 0%, #3b4aa6 50%, #3579db 100%) border-box;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45), 0 10px 30px -14px rgba(53, 121, 219, 0.8);
  }
  /* Bud's disc on top of the card: the mockups' own Bud. */
  html.look-night :is(.qa-bud, .rd-bud) {
    background: url("../media/bud-disc.webp") 50% 50% / cover no-repeat, #0a4a9a; border: 0;
    box-shadow: 0 0 0 3px #22eef2, 0 0 22px rgba(34, 238, 242, 0.45), 0 10px 22px rgba(0, 0, 0, 0.4);
  }
  html.look-night :is(.qa-bud, .rd-bud) > svg { display: none; }

  /* Words: white titles, lavender hints. */
  html.look-night .ob-shell.ob-question .qa :is(.ob-title, .rd-title), html.look-night .rd-title { color: #fff; }
  html.look-night .ob-shell.ob-question .qa .ob-hint, html.look-night .ob-shell.ob-question .task.qa .ob-hint, html.look-night .ob-shell.ob-question .qa.mic .ob-hint { color: #bacdfb; }

  /* Progress row above the card. */
  html.look-night .qa-back { background: #16316e; color: #fff; box-shadow: 0 0 0 1.5px #3b4c94; }
  html.look-night .qa-track { background: #24356f; }
  html.look-night .qa-track i { background: #22eef2; box-shadow: 0 0 10px rgba(34, 238, 242, 0.5); }
  html.look-night .qa-count { color: #bacdfb; }

  /* Choices: deep indigo tiles with an icon disc; the chosen one gets the cyan rim and glow. */
  html.look-night .ob-shell.ob-question .qa .opt-card, html.look-night .ob-shell.ob-question .qa .mic-tasks li,
  html.look-night .ob-shell.ob-question .s-sound .sc-choice, html.look-night .rd-step {
    color: #fff; border: 0; border-radius: 16px; background: rgba(9, 19, 50, 0.42); box-shadow: inset 0 0 0 1.5px rgba(88, 104, 185, 0.45);
  }
  html.look-night .ob-shell.ob-question .qa .opt-card:hover, html.look-night .ob-shell.ob-question .s-sound .sc-choice:hover { background: rgba(9, 19, 50, 0.6); box-shadow: inset 0 0 0 1.5px #5868b9; }
  html.look-night .ob-shell.ob-question .qa .opt input:checked + .opt-card,
  html.look-night .ob-shell.ob-question .s-sound .sc-choice.is-on, html.look-night .ob-shell.ob-question .s-sound .sc-choice[aria-pressed="true"] {
    color: #fff !important; background: linear-gradient(90deg, #1d4fa8 0%, #1b3372 100%) !important;
    box-shadow: inset 0 0 0 2px #22eef2, 0 0 16px rgba(34, 238, 242, 0.3) !important;
  }
  html.look-night .ob-shell.ob-question .s-sound .sc-choice.is-on :is(b, span, small), html.look-night .ob-shell.ob-question .s-sound .sc-choice[aria-pressed="true"] :is(b, span, small) { color: #fff; }
  html.look-night .ob-shell.ob-question .qa .opt .opt-icon, html.look-night .ob-shell.ob-question .qa .mic-tasks .mic-task-ic, html.look-night .rd-num {
    border-radius: 50% !important; background: #1b2a66 !important; box-shadow: inset 0 0 0 1.5px #3b4c94;
  }
  html.look-night .ob-shell.ob-question .qa .opt .opt-icon .ic, html.look-night .ob-shell.ob-question .qa .mic-tasks .mic-task-ic .ic, html.look-night .ob-shell.ob-question .s-sound .sc-choice .ic { color: #22eef2; }
  html.look-night .ob-shell.ob-question .qa .opt input:checked + .opt-card .opt-icon { background: #22eef2 !important; box-shadow: none; }
  html.look-night .ob-shell.ob-question .qa .opt input:checked + .opt-card .opt-icon .ic { color: #0b1433; }
  html.look-night .ob-shell.ob-question .qa .opt-meter i { background: rgba(186, 205, 251, 0.3); }
  html.look-night .ob-shell.ob-question .qa .opt-meter i.on { background: #22eef2; }
  html.look-night .ob-shell.ob-question .qa .opt input:checked + .opt-card .opt-meter i { background: rgba(11, 20, 51, 0.3); }
  html.look-night .ob-shell.ob-question .qa .opt input:checked + .opt-card .opt-meter i.on { background: #0b1433; }
  html.look-night .ob-shell.ob-question .qa .privacy-line { color: #bacdfb; }
  html.look-night .ob-shell.ob-question .qa .privacy-line .ic { color: #22eef2; }

  /* One yellow main button per card; second buttons white; links light blue. */
  html.look-night .ob-shell.ob-question :is(.qa .ob-continue, .qa .ob-actions .btn-primary, .task.qa .task-actions .btn-primary, .s-sound .btn-primary), html.look-night .rd-cta {
    border: 0; border-radius: 999px; color: #10163a !important;
    background: linear-gradient(180deg, #fff3a0 0%, #ffe46a 35%, #fdd33f 100%) !important;
    box-shadow: 0 2px 0 rgba(180, 120, 10, 0.55), 0 6px 18px -4px rgba(253, 211, 63, 0.45) !important;
  }
  html.look-night .ob-shell.ob-question :is(.qa .ob-continue, .qa .ob-actions .btn-primary):disabled { opacity: 0.45; }
  html.look-night .ob-shell.ob-question :is(.task.qa .task-actions .btn-secondary, .s-sound .btn-secondary) {
    border: 0; border-radius: 999px; color: #0b1433 !important; background: linear-gradient(180deg, #ffffff 0%, #e4e9fb 100%) !important; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.45) !important;
  }
  html.look-night .ob-shell.ob-question :is(.qa .ob-actions .btn-link, .task.qa .task-actions .btn-link, .s-sound .btn-link), html.look-night .rd-later.btn-link { color: #8fd8ff; }
  /* "Play it again" while copying Bud (owner, 30 Nov 2026: "looks super bad"): three rules fought over it (a white
     second button, an underlined link, an outline) and it came out a white pill with underlined text. One look now: a
     quiet outlined pill with the replay icon, beside the "Skip this one" link. */
  html.look-night .ob-shell.ob-question .task.qa :is(.task-links, .task-actions) [data-act="replay"] {
    display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 16px; border-radius: 999px;
    background: rgba(34, 238, 242, 0.08) !important; color: #e8fdff !important; border: 1.5px solid rgba(34, 238, 242, 0.55) !important;
    box-shadow: none !important; text-decoration: none; font: 700 0.95rem var(--font-body);
  }
  html.look-night .ob-shell.ob-question .task.qa :is(.task-links, .task-actions) [data-act="replay"] .ic { width: 16px; height: 16px; color: #22eef2; }

  /* The chart panel in the voice tasks, the range strip, the room meter, the thinking dots. */
  html.look-night .ob-shell.ob-question .task.qa .task-stage { background: #0c1838; color: #fff; box-shadow: inset 0 0 0 1.5px #2e3d7c; }
  html.look-night .ob-shell.ob-question .task.qa .task-status { color: #fff; }
  html.look-night .rs-row { color: #bacdfb; }
  html.look-night .rs-track { background-color: rgba(9, 19, 50, 0.55); }
  html.look-night .rs-band { background: #22eef2; box-shadow: 0 0 10px rgba(34, 238, 242, 0.5); }
  html.look-night .ob-shell.ob-question .s-sound .sc-meter i { background: rgba(186, 205, 251, 0.3); }
  html.look-night .ob-shell.ob-question .s-sound .sc-meter i.on { background: #22eef2; }
  html.look-night .ob-shell.ob-question .crunch .crunch-dots i { background: #22eef2; }

  /* "That's your note": the found note glows in the chart panel; the tick is a cyan disc. */
  html.look-night .ob-shell.ob-question .task.qa .found {
    background: radial-gradient(70% 90% at 50% 40%, #1d4fa8 0%, #112351 100%) !important; color: #fff !important; box-shadow: inset 0 0 0 1.5px #3b4c94 !important;
  }
  html.look-night .ob-shell.ob-question .task.qa .found-kicker, html.look-night .ob-shell.ob-question .found-kicker { color: #22eef2 !important; }
  html.look-night .ob-shell.ob-question .task.qa .found-note, html.look-night .ob-shell.ob-question .found-note { color: #fff !important; text-shadow: 0 0 18px rgba(34, 238, 242, 0.35); }
  html.look-night .ob-shell.ob-question .task.qa .found-body, html.look-night .ob-shell.ob-question .found-body { color: #bacdfb !important; }
  html.look-night .task-tick { background: #22eef2; color: #0b1433; box-shadow: 0 0 18px rgba(34, 238, 242, 0.45); }
  html.look-night .ob-shell .meter i { background: #24356f; }
  html.look-night .ob-shell .meter i.on { background: #22eef2; }
  html.look-night .ob-shell .task-pips li.now { background: #fddc52; }
  html.look-night .ob-shell .task-pips li.done { background: #22eef2; }
  /* "No voice heard": the same deep panel, a soft coral disc, white words. */
  html.look-night .ob-shell .novoice { background: #112351; color: #fff; box-shadow: inset 0 0 0 1.5px #3b4c94; }
  html.look-night .ob-shell .novoice p { color: #bacdfb; }
  html.look-night .ob-shell .nv-tips { background: rgba(9, 19, 50, 0.5); }

  /* "Your comfortable notes": Home's range card, deep indigo with the cyan-lit keyboard. */
  html.look-night .wn-panel { background: #112351 !important; color: #fff !important; box-shadow: inset 0 0 0 1.5px #3b4c94; }
  html.look-night .wn-label { color: #c6d4fd !important; letter-spacing: 0.14em; }
  html.look-night :is(.wn-range, .wn-near) { color: #fff !important; }
  html.look-night .wn-range em { color: #22eef2 !important; }
  html.look-night .wn-panel .piano .k-w { fill: #eef1fb !important; stroke: #0b1433 !important; }
  html.look-night .wn-panel .piano .k-b { fill: #0b0f22 !important; }
  html.look-night .wn.is-in .wn-panel .piano .k-w.on { fill: #22eef2 !important; }
  html.look-night .wn.is-in .wn-panel .piano .k-b.on { fill: #14a3ab !important; }
  html.look-night .wn-panel .piano .k-label { fill: #5b6a99 !important; }
  html.look-night .wn-note { color: #bacdfb; }
  html.look-night .wn-links button { color: #8fd8ff; }

  /* The three steps to the song. */
  html.look-night .rd-step.is-now { background: linear-gradient(90deg, #1d4fa8 0%, #1b3372 100%); box-shadow: inset 0 0 0 2px #22eef2, 0 0 16px rgba(34, 238, 242, 0.3); }
  html.look-night .rd-step.is-now .rd-num { background: #22eef2 !important; color: #0b1433; box-shadow: none; }
  html.look-night .rd-step.is-later { background: rgba(9, 19, 50, 0.25); }
  html.look-night .rd-text small { color: #bacdfb; opacity: 1; }
  html.look-night .rd-hint { color: #bacdfb; opacity: 1; }

@media (max-width: 759px) {
  /* ---------- The welcome's first screen (hello, voice-first): laid out like the Songs mockup ---------- */
  /* The top is the Songs mockup's own picture (Bud, notes, waves); the words sit on its left. */
  html.look-night .hello.hv { text-align: left; background: url("../media/songs-hero.jpg") 50% -6px / calc(100% + 2 * var(--gutter)) auto no-repeat; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); }
  html.look-night .hv-hero {
    box-sizing: border-box; min-height: 166px; margin: -6px calc(-1 * var(--gutter)) 0; padding: 28.2px 0 14px 25px;
    background: none; border-radius: 0; overflow: visible;
  }
  html.look-night .hv-hero > :is(.hv-dot, .hv-note, .hv-bud) { display: none; }
  html.look-night .hv-title {
    position: relative; width: 160px; margin: 0; padding: 0; text-align: left;
    font: 800 26.3px/25.2px var(--font-head); letter-spacing: 0.1px; color: #fff; text-shadow: none;
  }
  html.look-night .hv-title::first-line { color: #d6fbff; font-size: 24.1px; }
  html.look-night .hv-title .squiggle > svg, html.look-night .hv-title .squiggle-line { display: none; }
  html.look-night .hv-title::after {
    content: ''; position: absolute; left: -0.4px; top: 52.2px; width: 141px; height: 12px; pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 142 12'%3E%3Cdefs%3E%3ClinearGradient id='u' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%2368f7fe'/%3E%3Cstop offset='.64' stop-color='%2372fbfe'/%3E%3Cstop offset='.68' stop-color='%2347d3ec' stop-opacity='.7'/%3E%3Cstop offset='1' stop-color='%2347d3ec' stop-opacity='.15'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M2.4 4.6 C30 1.8 68 1.3 100 2.8 C118 3.8 131 6.4 140.5 10.4 C130 8.9 117 7.4 100 6.8 C68 5.7 31 6.4 3.4 8.4 A1.9 1.9 0 0 1 2.4 4.6 Z' fill='url(%23u)'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
  }
  html.look-night .hv-sub {
    width: 180px; max-width: none; margin: 19.9px 0 0; padding: 0; text-align: left;
    font: 500 14.9px/18.1px var(--font-head); letter-spacing: -0.42px; color: #a5feff;
  }
}

/* The rest of the first screen is colour only, so it holds on laptops too (21 Nov 2026). */
  /* "How it works": an indigo card with a lit rim; step 1 is the yellow "you're here" disc. */
  html.look-night .hv-how {
    margin: 4px 0 0; max-width: none; color: #fff; border: 1.5px solid transparent; border-radius: 22px; padding: 14px 16px 16px;
    background: linear-gradient(120deg, #16316e 0%, #1b3372 55%, #1a2964 100%) padding-box, linear-gradient(180deg, #5868b9 0%, #3b4aa6 50%, #3579db 100%) border-box;
    box-shadow: 0 10px 24px -16px rgba(53, 121, 219, 0.55);
  }
  html.look-night .hv-how-label { color: #c6d4fd; letter-spacing: 0.14em; }
  html.look-night .hv-num { border: 0; color: #fff; background: #1b2a66 !important; box-shadow: inset 0 0 0 1.5px #3b4c94; }
  html.look-night .hv-how-steps li:first-child .hv-num { color: #10163a; background: linear-gradient(180deg, #fff3a0 0%, #fdea7e 50%, #f9dc5a 100%) !important; box-shadow: 0 1.5px 0 rgba(150, 110, 10, 0.55); }
  html.look-night .hv-how-steps li:not(:last-child)::after { border-left-color: rgba(186, 205, 251, 0.35); }
  html.look-night .hv-how-txt b { color: #fff; }
  html.look-night .hv-how-txt small { color: #bacdfb; }
  html.look-night .hv-chat-bud { width: 34px; height: 34px; border-radius: 50%; background: url("../media/bud-disc.webp") 50% 40% / 122% auto no-repeat, #0a4a9a; box-shadow: 0 0 0 1.5px #22eef2; }
  html.look-night .hv-chat-bud > svg { display: none; }
  html.look-night .hv-bubble { color: #fff; border: 0; background: #112351; box-shadow: inset 0 0 0 1.5px #3b4c94; }
  html.look-night .hv-typing i { background: #22eef2; }
  html.look-night .hello.hv .hv-private { color: #bacdfb; }
  html.look-night .hello.hv .hv-private .ic { color: #22eef2; }
  html.look-night .hv .hello-free { color: #bacdfb; }
  /* The button stays in thumb reach, on the navy. */
  html.look-night .hello-cta { background: linear-gradient(180deg, rgba(9, 19, 43, 0) 0%, #09132b 40%) !important; box-shadow: none !important; }
  html.look-night .hv .hello-cta .btn { border: 0; box-shadow: 0 2px 0 rgba(180, 120, 10, 0.55), 0 6px 18px -4px rgba(253, 211, 63, 0.45); }

  /* ---------- The sound check (soundcheck.js), wherever it opens: the welcome card, the first session, Profile's sheet ---------- */
  html.look-night .sc .sc-title { color: #fff; }
  html.look-night .sc :is(.sc-body, .sc-status, .sc-note, .sc-summary, .sc-help, .card-note) { color: #bacdfb; }
  html.look-night .sc .sc-status.is-error { color: #ff9d92; }
  html.look-night .sc .eyebrow { color: #22eef2; }
  html.look-night .sc .sc-choice {
    color: #fff; border: 0; border-radius: 16px; background: rgba(9, 19, 50, 0.42); box-shadow: inset 0 0 0 1.5px rgba(88, 104, 185, 0.45);
  }
  html.look-night .sc .sc-choice:hover:not(:disabled) { background: rgba(9, 19, 50, 0.6); box-shadow: inset 0 0 0 1.5px #5868b9; }
  html.look-night .sc .sc-choice :is(b, span) { color: #fff; }
  html.look-night .sc .sc-choice small { color: #bacdfb; opacity: 1; }
  html.look-night .sc .sc-choice > .ic { color: #22eef2; }
  html.look-night .sc .sc-choice > .ic .ic-fill { fill: currentColor; fill-opacity: 0.25; }
  html.look-night .sc .sc-meter i { background: #24356f; }
  html.look-night .sc .sc-meter i.on { background: #22eef2; box-shadow: 0 0 8px rgba(34, 238, 242, 0.45); }
  html.look-night .sc .sc-actions .btn-link, html.look-night .sc .sc-skip { color: #8fd8ff; }
  /* Every step after the first (16 Nov 2026): the level meter centred under the words (it was pinned to the sheet's
     corner), "heard you" lines in cyan, the not-heard tips in a navy well, the tap target a glowing disc, and the
     summary rows as small cards with cyan icon discs. One full-width main button. */
  html.look-night .sc .sc-meter { position: static; display: flex; justify-content: center; align-items: flex-end; gap: 6px; height: 48px; margin: 18px auto 6px; padding: 0; background: none !important; box-shadow: none !important; }
  html.look-night .sc :is(.sc-note, .sc-status).is-good { color: #22eef2; }
  html.look-night .sc .sc-note .ic { color: #22eef2; }
  html.look-night .sc .sc-help { color: #fff; background: rgba(9, 19, 50, 0.5); box-shadow: inset 0 0 0 1.5px rgba(88, 104, 185, 0.45); border-radius: 18px; }
  html.look-night .sc .sc-help :is(p, li) { color: #bacdfb; }
  html.look-night .sc .sc-help p b { color: #fff; }
  html.look-night .sc .sc-tap {
    width: 156px; height: 156px; color: #fff; font: 800 1.35rem var(--font-head);
    background: radial-gradient(circle at 50% 38%, #1f4fa8 0%, #13306f 60%, #0d1f4f 100%);
    box-shadow: 0 0 0 3px #22eef2, 0 0 28px rgba(34, 238, 242, 0.38), 0 14px 30px rgba(0, 0, 0, 0.45);
  }
  html.look-night .sc .sc-tap.is-hit { box-shadow: 0 0 0 4px #fddc52, 0 0 34px rgba(253, 220, 82, 0.55), 0 14px 30px rgba(0, 0, 0, 0.45); }
  html.look-night .sc .sc-summary li {
    gap: 12px; padding: 10px 14px 10px 10px; border-radius: 18px; color: #fff;
    background: linear-gradient(120deg, #16316e 0%, #1b3372 55%, #1a2964 100%) padding-box, linear-gradient(180deg, #3b4c94, #2e3d7c) border-box; border: 1.5px solid transparent;
  }
  html.look-night .sc .sc-summary li > .ic {
    width: 34px; height: 34px; padding: 7px; box-sizing: border-box; border-radius: 50%; color: #22eef2; background: #0b1a40; box-shadow: inset 0 0 0 1.5px rgba(34, 238, 242, 0.45);
  }
  html.look-night .sc .sc-summary li > .ic .ic-fill { fill: currentColor; fill-opacity: 0.25; }
  html.look-night .sc .sc-actions { display: grid; grid-template-columns: 1fr; gap: 10px; justify-content: stretch; justify-items: stretch; width: 100%; }
  html.look-night .sc .sc-actions .btn-primary, html.look-night .sc .sc-actions .btn-secondary { width: 100%; min-height: 52px; }
  /* Before the first session the check has no card of its own: it gets the welcome's card. */
  html.look-night .s-sound:not(.ob-sound) {
    padding: 22px 18px; border: 1.5px solid transparent; border-radius: 26px; color: #fff;
    background: linear-gradient(160deg, #1b3a86 0%, #172f72 45%, #1a2964 100%) padding-box, linear-gradient(180deg, #5868b9 0%, #3b4aa6 50%, #3579db 100%) border-box;
    box-shadow: 0 10px 30px -14px rgba(53, 121, 219, 0.8);
  }

  /* ---------- The welcome's guide, results and plan (voice-flow.js: ob-guide, results, planview) ---------- */
  /* Bud the guide: the mockups' Bud in a cyan-ringed disc; his line in an indigo bubble. */
  html.look-night .ob-shell .ob-guide-bud {
    width: 52px; height: 52px; border-radius: 50%; flex: none;
    background: url("../media/bud-disc.webp") 50% 40% / 122% auto no-repeat, #0a4a9a; box-shadow: 0 0 0 2px #22eef2, 0 0 14px rgba(34, 238, 242, 0.35);
  }
  html.look-night .ob-shell .ob-guide-bud > svg { display: none; }
  html.look-night .ob-shell .ob-bubble { color: #fff; background: #112351; border: 0; box-shadow: inset 0 0 0 1.5px #3b4c94; }
  html.look-night .ob-shell .ob-bubble::before, html.look-night .ob-shell .ob-bubble::after { border-color: transparent; background: none; }
  /* Titles: the brush stroke in cyan; the level number a cyan disc, as on Your path. */
  html.look-night .ob-shell :is(.results-title, .plan-title) .squiggle-line path { stroke: #22eef2; }
  html.look-night .ob-shell :is(.results, .planview) .level-badge { color: #0b1433; background: #22eef2; box-shadow: 0 0 14px rgba(34, 238, 242, 0.4); }
  html.look-night .ob-shell :is(.results, .planview) .piano .k-w { fill: #eef1fb; stroke: #0b1433; }
  html.look-night .ob-shell :is(.results, .planview) .piano .k-b { fill: #0b0f22; }
  html.look-night .ob-shell .results.is-in .piano .k-w.on { fill: #22eef2; }
  html.look-night .ob-shell .results.is-in .piano .k-b.on { fill: #14a3ab; }
  html.look-night .ob-shell :is(.results, .planview) .piano .k-label { fill: #5b6a99; }
  html.look-night .ob-shell :is(.results, .planview) .est { color: #0b1433; background: #fddc52; }
  html.look-night .ob-shell .share-card .toast { background: none; box-shadow: none; }
  /* The plan's level path: your level a cyan disc, the rest indigo rings; "You start here" in yellow. */
  html.look-night .planview .lvl-dot { color: #fff; background: #1b2a66; box-shadow: inset 0 0 0 1.5px #3b4c94; border-color: transparent; }
  html.look-night .planview .lvl.now .lvl-dot { color: #0b1433; background: #22eef2; box-shadow: 0 0 14px rgba(34, 238, 242, 0.45); }
  html.look-night .planview .lvl-flag { color: #fddc52; }
  html.look-night .planview .lvl-name { color: #bacdfb; }
  html.look-night .planview .lvl.now .lvl-name { color: #fff; }
  html.look-night .planview :is(.focus-list li, .session-parts li) { background: rgba(9, 19, 50, 0.42); box-shadow: inset 0 0 0 1.5px rgba(88, 104, 185, 0.45); border: 0; }
  html.look-night .planview .goal-icon { color: #22eef2; background: #1b2a66; }
  html.look-night .planview .zone-chip { color: #0b1433; background: #22eef2; }
  /* The progress row in the top bar. */
  html.look-night .ob-shell .ob-seg-track { background: #24356f; }
  html.look-night .ob-shell .ob-seg-fill { background: #22eef2; box-shadow: 0 0 8px rgba(34, 238, 242, 0.45); }
  html.look-night .ob-shell :is(.results, .planview) .skill-fill { background: #22eef2; }
  html.look-night .ob-shell :is(.results, .planview) .skill-bar { background: #24356f; }
  html.look-night .ob-shell .ob-seg-label { color: #bacdfb; }

  /* ---------- Every other welcome question (goals, background, time, song): the same tiles and discs ---------- */
  html.look-night .ob-shell .opt .opt-card { color: #fff; background: rgba(9, 19, 50, 0.42); box-shadow: inset 0 0 0 1.5px rgba(88, 104, 185, 0.45); border: 0; }
  html.look-night .ob-shell .opt .opt-card:hover { box-shadow: inset 0 0 0 1.5px #5868b9; }
  html.look-night .ob-shell .opt input:checked + .opt-card { background: linear-gradient(90deg, #1d4fa8 0%, #1b3372 100%); box-shadow: inset 0 0 0 2px #22eef2, 0 0 16px rgba(34, 238, 242, 0.3); }
  html.look-night .ob-shell .opt .opt-icon, html.look-night .ob-shell .mic-tasks li .mic-task-ic { border-radius: 50%; background: #1b2a66 !important; box-shadow: inset 0 0 0 1.5px #3b4c94; }
  html.look-night .ob-shell .opt .opt-icon .ic, html.look-night .ob-shell .mic-tasks li .mic-task-ic .ic { color: #22eef2 !important; }
  html.look-night .ob-shell .opt input:checked + .opt-card .opt-icon { background: #22eef2 !important; box-shadow: none; }
  html.look-night .ob-shell .opt input:checked + .opt-card .opt-icon .ic { color: #0b1433 !important; }
  html.look-night .ob-shell .opt-badge { border-color: #5868b9; background: transparent; }
  html.look-night .ob-shell .opt input:checked + .opt-card .opt-badge { border-color: #22eef2; background: #22eef2; }
  html.look-night .ob-shell .opt input:checked + .opt-card .opt-check { stroke: #0b1433; }
  html.look-night .ob-shell .opt-tag { color: #bacdfb; }
  html.look-night .ob-shell .opt.is-main input:checked + .opt-card .opt-tag { color: #fddc52; }
  html.look-night .ob-shell .chip-opt span, html.look-night .ob-shell .tile { color: #fff; }
  html.look-night .ob-shell .tile .tile-card { color: #fff; background: rgba(9, 19, 50, 0.42); box-shadow: inset 0 0 0 1.5px rgba(88, 104, 185, 0.45); border: 0; }
  html.look-night .ob-shell .tile input:checked + .tile-card { background: linear-gradient(180deg, #1d4fa8 0%, #1b3372 100%); box-shadow: inset 0 0 0 2px #22eef2, 0 0 16px rgba(34, 238, 242, 0.3); }
  html.look-night .ob-shell .tile .tile-tag { color: #bacdfb; }
  html.look-night .ob-shell .tile input:checked + .tile-card .tile-tag { color: #22eef2; }
  html.look-night .ob-shell .chip-opt input:checked + span { color: #0b1433; background: #22eef2; box-shadow: 0 0 14px rgba(34, 238, 242, 0.4); }
  html.look-night .ob-shell .ob-actions { background: linear-gradient(180deg, rgba(9, 19, 43, 0) 0%, #09132b 40%); box-shadow: none; }

  /* ---------- Log in, first screen (login.js): the mockups' Bud in a glowing disc, white words, the yellow button ---------- */
  html.look-night .login { background: radial-gradient(90% 55% at 50% 30%, #0f2a78 0%, rgba(15, 42, 120, 0) 70%), #09132b; color: #fff; }
  html.look-night .login-brand { color: #fff; }
  html.look-night .login-sun {
    background: radial-gradient(circle, rgba(42, 118, 255, 0.45) 0%, rgba(42, 118, 255, 0) 70%);
    box-shadow: none;
  }
  html.look-night .login-bud { aspect-ratio: 1; width: min(56vw, 32svh, 240px); border-radius: 50%;
    background: url("../media/bud-disc.webp") 50% 50% / cover no-repeat, #0a4a9a;
    box-shadow: 0 0 0 3px #22eef2, 0 0 34px rgba(34, 238, 242, 0.45), 0 18px 40px rgba(0, 0, 0, 0.45);
  }
  html.look-night .login-bud > svg { display: none; }
  html.look-night .login-note { fill: #3fd8ff; }
  html.look-night .login-note.n3 { fill: #fddc52; }
  html.look-night .login-note.n4 { fill: #8fd8ff; }
  html.look-night .login-title { color: #fff; }
  html.look-night .login-title .squiggle-line path { stroke: #22eef2; }
  html.look-night :is(.login-lede, .login-have) { color: #bacdfb; }
  html.look-night .login-have { color: #8fd8ff; }

  /* Log in page for returning people on the web (mountLogInPage): one indigo card. */
  html.look-night .logpage { background: radial-gradient(90% 55% at 50% 25%, #0f2a78 0%, rgba(15, 42, 120, 0) 70%), #09132b; color: #fff; }
  html.look-night .logpage-card {
    border: 1.5px solid transparent; border-radius: 26px; color: #fff;
    background: linear-gradient(160deg, #1b3a86 0%, #172f72 45%, #1a2964 100%) padding-box, linear-gradient(180deg, #5868b9 0%, #3b4aa6 50%, #3579db 100%) border-box;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45), 0 10px 30px -14px rgba(53, 121, 219, 0.8);
  }
  html.look-night .logpage-title { color: #fff; }
  html.look-night .logpage-mark { content: url("../media/bud-disc.webp"); object-fit: cover; object-position: 50% 50%; border-radius: 50%; box-shadow: 0 0 0 2.5px #22eef2, 0 0 22px rgba(34, 238, 242, 0.4); }
  html.look-night :is(.logpage-lede, .logpage-note, .logpage-status) { color: #bacdfb; }
  html.look-night .logpage-other { color: #8fd8ff; }
  html.look-night .logpage-card :is(.em-label) { color: #fff; }
  html.look-night .logpage-card :is(.em-hint, .em-say, .em-switch, .em-back) { color: #bacdfb; }
  html.look-night .logpage-card :is(.em-link, .em-forgot, .em-say a) { color: #8fd8ff; }
  html.look-night .logpage-card .em-input { border-color: transparent; }
  html.look-night .logpage-card .em-input:focus { box-shadow: 0 0 0 3px rgba(34, 238, 242, 0.55); }
  html.look-night .logpage-card .em-msg { color: #bacdfb; }
  html.look-night .logpage-card .em-msg.is-bad, html.look-night .logpage-status[style*="danger"] { color: #ffb4ab !important; }

  /* ---------- Unlock (unlock.js): Bud with the microphone, one kind of row, the buy bar on the navy ---------- */
  html.look-night .unlock.ul { background: radial-gradient(90% 40% at 50% 8%, #0f2a78 0%, rgba(15, 42, 120, 0) 70%), #09132b; }
  html.look-night .ul-sun { background: radial-gradient(circle, rgba(42, 118, 255, 0.45) 0%, rgba(42, 118, 255, 0) 70%); box-shadow: none; }
  /* The new Bud pose in the disc, like the app icon and the welcome-back offer, not the old drawn picture
     (owner, 22 Nov 2026: two different Buds on one screen with Apple's purchase sheet). */
  html.look-night .ul .unlock-bud { aspect-ratio: 1; width: 132px; border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, #1f5fc4 0%, #0a2a6a 75%);
    box-shadow: 0 0 0 3px #22eef2, 0 0 30px rgba(34, 238, 242, 0.45), 0 14px 32px rgba(0, 0, 0, 0.45);
  }
  html.look-night .ul .unlock-bud > svg, html.look-night .ul .unlock-bud > img { display: block; width: 84%; height: 84%; margin: 8%; object-fit: contain; }
  html.look-night .ul-note { color: #3fd8ff !important; }
  html.look-night .ul-note-2 { color: #fddc52 !important; }
  html.look-night .ul .eyebrow { color: #22eef2; }
  html.look-night .unlock-title { color: #fff; }
  html.look-night .unlock-title .squiggle-line path { stroke: #22eef2; }
  html.look-night .unlock-lede { color: #bacdfb; }
  html.look-night .ul-trust { color: #bacdfb; }
  html.look-night .ul-trust .ic { stroke: #22eef2; }
  /* Every row of what you unlock looks the same: a deep tile with a cyan icon disc. */
  html.look-night .get-grid li { background: rgba(9, 19, 50, 0.42); box-shadow: inset 0 0 0 1.5px rgba(88, 104, 185, 0.4); color: #fff; }
  html.look-night .get-grid li.is-why { box-shadow: inset 0 0 0 2px #22eef2, 0 0 16px rgba(34, 238, 242, 0.25); }
  html.look-night .get-grid li :is(small, p) { color: #bacdfb; }
  html.look-night .get-icon { border-radius: 50%; background: #1b2a66 !important; box-shadow: inset 0 0 0 1.5px #3b4c94; color: #22eef2; }
  html.look-night .get-icon .ic { color: #22eef2; }
  html.look-night .ul-get .is-big .get-icon { border-radius: 50%; }
  html.look-night .unlock-free { color: #bacdfb; }
  html.look-night .unlock-free .ic { color: #22eef2; }
  /* The week ahead, the proof, the comparison, the questions. */
  html.look-night .week-list li { background: rgba(9, 19, 50, 0.42); box-shadow: inset 0 0 0 1.5px rgba(88, 104, 185, 0.4); }
  html.look-night .week-day { color: #22eef2; }
  html.look-night .ul-proof-icon { border-radius: 50%; background: #1b2a66 !important; color: #22eef2; }
  html.look-night .cmp-bar { background: #24356f; }
  html.look-night .cmp-bar span { background: #8a96c4; opacity: 0.55; color: #0b1433; }
  html.look-night .cmp .is-us .cmp-bar span { background: #fddc52; opacity: 1; }
  html.look-night .cmp .is-us .cmp-cost { color: #fddc52; }
  html.look-night .cmp .is-us { border-top-color: #2c3b74; }
  html.look-night .ul-once-price { color: #10163a; background: linear-gradient(180deg, #fff3a0 0%, #fdea7e 50%, #f9dc5a 100%); box-shadow: 0 2px 0 rgba(150, 110, 10, 0.55), 0 6px 14px rgba(0, 0, 0, 0.3); }
  html.look-night .vs .vs-us { background: rgba(34, 238, 242, 0.1); }
  html.look-night .vs-yes { color: #22eef2; }
  html.look-night .faq { background: rgba(9, 19, 50, 0.42); box-shadow: inset 0 0 0 1.5px rgba(88, 104, 185, 0.4); border: 0; }
  html.look-night .faq-icon { background: #1b2a66; }
  html.look-night .faq-icon::before, html.look-night .faq-icon::after { background: #22eef2; }
  html.look-night .demo-note { color: #bacdfb; background: rgba(9, 19, 50, 0.42); box-shadow: inset 0 0 0 1.5px rgba(88, 104, 185, 0.4); }
  html.look-night .ul-sticky { background: rgba(8, 16, 36, 0.94); box-shadow: 0 -1px 0 rgba(120, 140, 220, 0.18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  html.look-night .ul-sticky-price b { color: #fff; }
  html.look-night .ul-sticky-price small { color: #bacdfb; }
  html.look-night .unlock-top .ob-icon-btn { color: #fff; background: rgba(22, 49, 110, 0.85); box-shadow: 0 0 0 1.5px #3b4c94; }

  /* ---------- The upgrade offer that slides up (offer.js): the unlock page's language in a sheet ---------- */
  html.look-night .of-panel {
    color: #fff; background: linear-gradient(180deg, #16316e 0%, #0d1b44 100%);
    box-shadow: 0 -1.5px 0 #5868b9, 0 -18px 40px -20px rgba(0, 0, 0, 0.7);
  }
  html.look-night .of-bud { aspect-ratio: 1; width: 104px; margin: 0 auto 14px; border-radius: 50%;
    background: url("../media/start-bud-mic.jpg") 50% 50% / cover no-repeat, #0a4a9a; box-shadow: 0 0 0 3px #22eef2, 0 0 26px rgba(34, 238, 242, 0.45); }
  html.look-night .of-bud > svg { display: none; }
  html.look-night .of-eyebrow { color: #22eef2; }
  html.look-night .of-title { color: #fff; }
  html.look-night :is(.of-sub, .of-compare, .of-demo) { color: #bacdfb; }
  html.look-night .of-free { color: #8ff6ff; background: rgba(34, 238, 242, 0.12); box-shadow: inset 0 0 0 1.5px rgba(34, 238, 242, 0.3); }
  html.look-night .of-dots i { background: #24356f; }
  html.look-night .of-dots i.on { background: #22eef2; }
  html.look-night .of-x { color: #fff; background: rgba(9, 19, 50, 0.5); box-shadow: inset 0 0 0 1.5px #3b4c94; }
  html.look-night .of-list li { background: rgba(9, 19, 50, 0.42); box-shadow: inset 0 0 0 1.5px rgba(88, 104, 185, 0.4); color: #fff; }
  html.look-night .of-list small { color: #bacdfb; }
  html.look-night .of-ic { border-radius: 50%; background: #1b2a66; color: #22eef2; box-shadow: inset 0 0 0 1.5px #3b4c94; }
  /* The tag stays yellow, so its words are dark (owner, 23 Nov 2026: a yellow price on the yellow tag read as empty). */
  html.look-night .of-tag b { color: #0f1a3d; }
  html.look-night .of-tag span { color: #2a3a6b; }
  html.look-night .of-points .ic { color: #22eef2; stroke: #22eef2; }
  html.look-night .of-btn.go {
    border: 0; border-radius: 999px; color: #10163a; background: linear-gradient(180deg, #fff3a0 0%, #ffe46a 35%, #fdd33f 100%);
    box-shadow: 0 2px 0 rgba(180, 120, 10, 0.55), 0 6px 18px -4px rgba(253, 211, 63, 0.45);
  }
  html.look-night .of-btn.go .ic { color: #10163a; }
  html.look-night .of-free-btn { color: #8fd8ff; }

/* The welcome's "What are you listening on?" card fits on one phone screen, no scrolling (owner, 16 Nov 2026):
   a smaller Bud disc, tighter title and tiles, the same words and sizes to read. */
@media (max-width: 759px) {
  html.look-night .ob-shell.ob-question .s-sound.ob-sound { padding-top: 48px; padding-bottom: 18px; }
  html.look-night .ob-shell.ob-question .s-sound.ob-sound .qa-bud { width: 84px !important; height: 84px !important; top: -42px !important; }
  html.look-night .ob-shell.ob-question .s-sound.ob-sound .sc-title { margin: 0; font-size: 1.5rem; line-height: 1.15; }
  html.look-night .ob-shell.ob-question .s-sound.ob-sound .sc-body { margin: 6px auto 12px; font-size: 0.95rem; line-height: 1.4; }
  html.look-night .ob-shell.ob-question .s-sound.ob-sound .sc-choices { gap: 8px; }
  html.look-night .ob-shell.ob-question .s-sound.ob-sound .sc-choice { min-height: 0; padding: 9px 14px; gap: 12px; }
  html.look-night .ob-shell.ob-question .s-sound.ob-sound .sc-choice b { line-height: 1.25; }
  html.look-night .ob-shell.ob-question .s-sound.ob-sound .sc-choice small { font-size: 0.84rem; line-height: 1.3; }
  html.look-night .ob-shell.ob-question .s-sound.ob-sound .sc-actions, html.look-night .ob-shell.ob-question .s-sound.ob-sound .sc-skip { margin-top: 12px; }
}

/* Laptops: the Night tiles carry an icon disc, so the card is a little wider and every answer keeps to one line. */
@media (min-width: 900px) {
  html.look-night .ob-shell.ob-question .ob-stage { max-width: 740px; }
}

/* The Log in sheet in the Night look: Bud's disc on top (the app icon's Bud, media/bud-disc.webp), the card's lit rim. */
html.look-night .sheet-signin .sheet-art { display: block; width: auto; margin: 2px auto 10px; }
html.look-night .signin-bud {
  display: block; width: 76px; height: 76px; margin: 0 auto; border-radius: 50%;
  background: url("../media/bud-disc.webp") 50% 50% / cover no-repeat, #0a4a9a;
  box-shadow: 0 0 0 3px #22eef2, 0 0 22px rgba(34, 238, 242, 0.4), 0 10px 22px rgba(0, 0, 0, 0.4);
}
html.look-night .sheet-signin {
  border: 1.5px solid transparent;
  background: linear-gradient(160deg, #1b3a86 0%, #172f72 45%, #1a2964 100%) padding-box,
              linear-gradient(180deg, #5868b9 0%, #3b4aa6 50%, #3579db 100%) border-box;
}
html.look-night .sheet-signin .sheet-body > p:first-child { color: #bacdfb; }
html.look-night .sheet-signin .card-note[data-msg] { color: #bacdfb; }
html.look-night .sheet-signin .sheet-actions .btn-link { color: #8fd8ff; }

/* Back on the Log in page (login.js), in the same light blue as the card's quiet links. */
html.look-night .logpage-back { color: #8fd8ff; }
