/* Trial look "Night" on phones for the song screens (16 Nov 2026): a picked song's page, key choice, the ways to bring
   a song, the listening and "here's what I heard" screens, the take (stage, lane, results chat), practice parts,
   the words sheets, sing-along and teach. No mockup: follows the language in look-night-base.css and the matched
   screens (navy page, indigo cards with a lit rim, one yellow main button, white second buttons, cyan accents,
   lavender small text, the night Bud picture). The Songs list itself (.sc-home) is matched in look-night.css.
   Only with html.look-night; phones only. */

  /* ---------- Page: plain night navy behind every song screen (the song's own picture glow stays, dimmed) ---------- */
  /* See-through, so what's behind shows across the whole screen: the song picture's glow on its page, and the stage
     (lights, the crowd video) while singing. The navy is the page behind (app-main), not a box over it (owner,
     16 Nov 2026: "something is off with the background... the animation video from before"). */
  html.look-night .sc-shell:not(:has(.sc-home)), html.look-night .sc-shell:not(:has(.sc-home)) .sc-main { background: transparent !important; }
  html.look-night .sc-shell:not(.sc-embedded):not(:has(.at-glow)):not(:has(.at-stage)) { background: var(--nb-page) !important; }
  html.look-night body:has(.sc-shell:not(:has(.sc-home))) .app-main { background: var(--nb-page) !important; }
  html.look-night .sc-shell > .at-glow { opacity: 0.45; }
  html.look-night .sc-shell:not(:has(.sc-home)) .ob-top { background: rgba(9, 19, 43, 0.92) !important; }
  html.look-night .sc-shell .ob-icon-btn { color: #fff; background: #16316e; box-shadow: inset 0 0 0 1.5px #3b4c94; }
  html.look-night .sc-backbar, html.look-night .sc-back { color: #8fd8ff !important; }
  html.look-night .sc-backbar .ic { color: #8fd8ff; }

  /* Words */
  html.look-night .sc-stage :is(h1, h2, h3, .ob-title, .card-title) { color: #fff; }
  html.look-night .sc-stage .ob-hint, html.look-night .sc-stage .sc-sub, html.look-night .sc-stage small { color: var(--nb-soft); }
  html.look-night .sc-stage .eyebrow, html.look-night .ot .eyebrow, html.look-night .tc .eyebrow { color: var(--nb-cyan-2) !important; }
  html.look-night .sc-stage .btn-link, html.look-night .ot .btn-link { color: #8fd8ff; }
  html.look-night .sc-stage .squiggle-line path { stroke: var(--nb-cyan) !important; }

  /* ---------- Bud: the night Bud picture (from the owner's mockups), faded into the navy ---------- */
  html.look-night :is(.sc-stage > :not(.sc-home) .sc-hero-bud, .ot-bud, .sa-bud, .at-few-bud, .sl-bud) {
    background: url("../media/song-bud.jpg") center / cover no-repeat;
    -webkit-mask: radial-gradient(closest-side, #000 62%, transparent 100%); mask: radial-gradient(closest-side, #000 62%, transparent 100%);
    aspect-ratio: 300 / 262;
  }
  html.look-night :is(.sc-stage > :not(.sc-home) .sc-hero-bud, .ot-bud, .sa-bud, .at-few-bud, .sl-bud) > :is(svg, .sc-notes) { visibility: hidden; }
  html.look-night :is(.sc-stage > :not(.sc-home) .sc-hero-bud, .ot-bud, .sa-bud, .at-few-bud, .sl-bud)::before { display: none !important; }

  /* ---------- Cards and panels used across the song screens ---------- */
  html.look-night :is(.ot .tk-card, .sc-stage .tk-card, .sc-fit, .sc-key, .sc-wave, .ot-wave, .sc-plan-card, .sc-mine-list li, .at-tips li, .ot-last, .ot-best, .sc-lyrics) {
    color: #fff; border: 1.5px solid transparent !important; border-radius: 22px;
    background: linear-gradient(120deg, #16316e 0%, #1b3372 55%, #1a2964 100%) padding-box,
                linear-gradient(180deg, #5868b9 0%, #3b4aa6 50%, #3579db 100%) border-box !important;
    box-shadow: 0 10px 24px -16px rgba(53, 121, 219, 0.55) !important;
  }

  /* ---------- Buttons inside the song screens ---------- */
  html.look-night :is(.tk-btn.sun, .ot .btn-primary, .sc-stage .btn-primary) {
    border: 0 !important; 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 :is(.tk-btn.sun, .ot .btn-primary, .sc-stage .btn-primary) .ic { color: #10163a !important; }
  html.look-night :is(.tk-btn.go, .tk-btn.ghost, .ot .btn-secondary, .sc-stage .btn-secondary) {
    border: 0 !important; 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 :is(.tk-btn.go, .tk-btn.ghost, .ot .btn-secondary, .sc-stage .btn-secondary) .ic { color: #0b1433 !important; }

  /* ---------- The results chat: its plain-colour tokens, re-pointed to the night palette ---------- */
  html.look-night .tc-chat {
    --tc-bg: #0d1a42; --tc-bubble: #1c2f6a; --tc-bubble-ink: #fff; --tc-inset: #13265a; --tc-me-blue: #2a76ff; --tc-me: #2a76ff;
    --tc-bar: #13265a; --tc-bar-ink: #fff; --tc-sub: #a8b5dd; --tc-line: rgba(92, 140, 255, 0.32); --tc-avbg: #1b2f68;
    background: var(--tc-bg) !important; border: 1.5px solid rgba(92, 140, 255, 0.32) !important;
  }
  html.look-night .tc.is-playful .tc-row.tc-tint-pass { --tc-bubble: #243f8f; }
  html.look-night .tc.is-playful .tc-row.tc-tint-mid { --tc-bubble: #17405a; }
  html.look-night .tc.is-playful .tc-drillrow .tk-card-h { background: linear-gradient(120deg, #0d6f9e 0%, #15489e 55%, #3b2f7a 100%) !important; }
  html.look-night .tc-thread .tc-msg .tk-card { background: var(--tc-inset) !important; border-color: rgba(92, 140, 255, 0.3) !important; box-shadow: none !important; }
  html.look-night .tc-voice { background: #13265a !important; }
  html.look-night .tc-chat .tc-reply:not(.is-again) { color: #fff !important; background: #16316e !important; box-shadow: inset 0 0 0 1.5px #3b4c94 !important; }
  html.look-night .tc-chat .tc-reply.is-again { 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) !important; }
  html.look-night .tc-sticker-tag { background: #fddc52 !important; color: #10163a !important; box-shadow: 0 0 0 2px #0d1a42, 0 4px 10px rgba(0, 0, 0, 0.35) !important; }

  /* ---------- The full report (tk-panel): the night band on top, cards with a lit rim, one yellow "Sing it again" ---------- */
  html.look-night .tk-wrap .tk-panel { background: var(--nb-page) !important; }
  html.look-night .tk-wrap .tk-scrim { background: rgba(4, 9, 26, 0.6) !important; }
  html.look-night .tk-hero {
    background: radial-gradient(55% 75% at 92% 24%, rgba(20, 136, 245, 0.75) 0%, rgba(20, 136, 245, 0) 72%),
                radial-gradient(80% 90% at 0% 0%, rgba(0, 172, 200, 0.85) 0%, rgba(0, 172, 200, 0) 72%),
                linear-gradient(180deg, #035f8c 0%, #04437e 45%, #0a3274 78%, #0d2558 100%) !important;
    border-radius: 0 0 26px 26px !important; box-shadow: 0 1.5px 0 #3579db !important;
  }
  html.look-night .tk-hero .tk-dot { display: none !important; }
  html.look-night .tk-hero-bud { background: url("../media/song-bud.jpg") center / cover no-repeat; aspect-ratio: 300 / 262; -webkit-mask: radial-gradient(closest-side, #000 62%, transparent 100%); mask: radial-gradient(closest-side, #000 62%, transparent 100%); }
  html.look-night .tk-hero-bud > svg { visibility: hidden; }
  html.look-night .tk-hero .tk-x { background: rgba(9, 19, 43, 0.45) !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.25) !important; }
  html.look-night .tk-score { background: #0d1a42 !important; box-shadow: 0 0 0 2px var(--nb-cyan), 0 0 18px rgba(34, 238, 242, 0.35) !important; border: 0 !important; }
  html.look-night .tk-badge.y { background: linear-gradient(180deg, #fff3a0 0%, #fdea7e 50%, #f9dc5a 100%) !important; color: #10163a !important; box-shadow: 0 1.5px 0 rgba(150, 110, 10, 0.55) !important; }
  html.look-night .tk-badge.w { background: #13265a !important; color: #fff !important; box-shadow: inset 0 0 0 1.5px #3b4c94 !important; }
  html.look-night :is(.tk-line, .tk-wrap .tk-card) {
    border: 1.5px solid transparent !important; border-radius: 22px !important; color: #fff;
    background: linear-gradient(120deg, #16316e 0%, #1b3372 55%, #1a2964 100%) padding-box,
                linear-gradient(180deg, #5868b9 0%, #3b4aa6 50%, #3579db 100%) border-box !important;
    box-shadow: 0 10px 24px -16px rgba(53, 121, 219, 0.55) !important;
  }
  html.look-night .tk-num { background: #0d1a42 !important; color: var(--nb-cyan) !important; box-shadow: inset 0 0 0 1.5px var(--nb-cyan) !important; }
  html.look-night .tk-lane { background: #0d1a42 !important; box-shadow: inset 0 0 0 1.5px #2e3d7c !important; }
  html.look-night .tk-wrap .tk-btn:not(.sun):not(.go):not(.big), html.look-night .tk-chip {
    color: #fff !important; background: #0b1530 !important; border: 0 !important; box-shadow: inset 0 0 0 1.5px #46536f !important;
  }
  html.look-night .tk-foot { background: rgba(9, 19, 43, 0.94) !important; box-shadow: 0 -1.5px 0 #2e3d7c !important; border: 0 !important; }
  html.look-night .tk-btn.big.go {
    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 .tk-btn.big.go .ic { color: #10163a !important; }
  html.look-night .tk-btn.big.round { color: #fff !important; background: #16316e !important; box-shadow: inset 0 0 0 1.5px #3b4c94 !important; border: 0 !important; }

  /* ---------- A song's page (ot-page) ---------- */
  /* The sticky actions under the song: no lighter box, just the navy fading in behind the buttons. */
  html.look-night :is(.sc-shell, .tk-wrap) .ob-actions, html.look-night .ot-actions { background: linear-gradient(180deg, rgba(9, 19, 43, 0) 0, var(--nb-page) 22px) !important; box-shadow: none !important; }
  /* Which video and which key: dark pills with a grey rim, the chosen one cyan (as the Songs chips). */
  html.look-night :is(.ot-vswitch, .ot-kswitch) { background: #0b1530 !important; box-shadow: inset 0 0 0 1.5px #46536f !important; }
  html.look-night :is(.ot-vswitch, .ot-kswitch) button:not([aria-pressed="true"]):not(.is-on) { color: #fff !important; }
  /* Remove the singer: a card row, its switch cyan when on. */
  html.look-night .switch-row.ot-singer {
    border: 1.5px solid transparent !important; border-radius: 18px !important;
    background: linear-gradient(90deg, #112351, #13265d) padding-box, linear-gradient(180deg, #2e3d7c, #24356f) border-box !important;
  }
  html.look-night .switch-row input:checked + .switch-knob, html.look-night .switch-row .switch-knob { background: #24356f !important; }
  html.look-night .switch-row input:checked + .switch-knob { background: #0e8fae !important; box-shadow: inset 0 0 0 1.5px var(--nb-cyan) !important; }
  /* Play discs: the blue disc with a white triangle from Home's "Today's practice". */
  html.look-night .sc-round { color: #fff !important; background: radial-gradient(circle at 35% 30%, #3fb6ff 0%, #1a7fe0 55%, #0d4fb0 100%) !important; box-shadow: 0 0 0 1.5px rgba(120, 200, 255, 0.45), 0 6px 14px -6px rgba(26, 127, 224, 0.8) !important; border: 0 !important; }
  html.look-night .sc-round .ic { color: #fff !important; }
  html.look-night .sc-mapcard .l-sing { background: var(--nb-cyan) !important; }
  /* "Need more than 60s of feedback?" (owner, 17 Nov 2026: the muddy gold-to-violet band didn't look good, its crown
     was lost): the same card as Home's upgrade, deep indigo with a gold rim, the crown in a lit gold disc, a gold pill. */
  html.look-night .ot-freebar {
    display: flex !important; align-items: center; gap: 12px !important; padding: 9px 10px 9px 11px !important; color: #fff !important; text-decoration: none;
    border: 1.5px solid transparent !important; border-radius: 22px !important;
    background: radial-gradient(120% 140% at 0% 0%, rgba(253, 220, 82, 0.2) 0%, rgba(253, 220, 82, 0) 55%) padding-box,
                linear-gradient(115deg, #2a2160 0%, #1a2462 50%, #101a4a 100%) padding-box,
                linear-gradient(120deg, #fff1a0 0%, #f5c044 35%, #8a5a1a 65%, #f5c044 100%) border-box !important;
    box-shadow: 0 10px 28px -14px rgba(253, 200, 70, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  }
  html.look-night .ot-freebar b, html.look-night .ot-freebar span:not([class]) { color: #fff !important; }
  html.look-night .ot-freebar-text b { font: 800 15px/1.2 var(--font-head) !important; letter-spacing: -0.01em; }
  html.look-night .ot-freebar .ot-freebar-ic {
    width: 36px !important; height: 36px !important; color: #4a2a05 !important;
    background: radial-gradient(circle at 35% 30%, #fff6c4 0%, #ffd95a 45%, #e39a2b 100%) !important;
    box-shadow: 0 0 0 2px rgba(255, 241, 160, 0.35), 0 0 16px rgba(253, 200, 70, 0.5) !important;
  }
  html.look-night .ot-freebar .ot-freebar-ic .ic { width: 19px !important; height: 19px !important; color: #4a2a05 !important; }
  html.look-night .ot-freebar .ot-freebar-ic .ic .ic-fill { fill: #4a2a05 !important; }
  html.look-night .ot-freebar-cta {
    display: inline-flex; align-items: center; height: 34px; box-sizing: border-box; padding: 0 15px !important; border-radius: 999px !important;
    font: 800 14px/1 var(--font-head) !important; color: #2a1a02 !important;
    background: linear-gradient(180deg, #fff3a0 0%, #ffe46a 35%, #f5c044 100%) !important;
    box-shadow: 0 2px 0 rgba(150, 95, 10, 0.6), 0 6px 16px -6px rgba(253, 200, 70, 0.7) !important;
  }
  html.look-night .ot-freebar:active { transform: scale(0.985); }
  html.look-night .ot-last .tk-score { background: #0d1a42 !important; }

  /* ---------- Practising a part (sc-run): steps, coach line, lane, mix, the big play disc ---------- */
  html.look-night .sc-step { color: var(--nb-soft) !important; }
  html.look-night .sc-step.is-on {
    color: #fff !important; border: 1.5px solid transparent !important; box-shadow: none !important;
    background: linear-gradient(120deg, #16316e, #1b3372) padding-box, linear-gradient(180deg, #5868b9, #3579db) border-box !important;
  }
  html.look-night .sc-step-ic { background: #13265a !important; color: var(--nb-cyan) !important; box-shadow: inset 0 0 0 1.5px #3b4c94 !important; }
  html.look-night .sc-step-ic .ic-fill { fill: rgba(34, 238, 242, 0.25) !important; }
  html.look-night .sc-step.is-on .sc-step-ic { background: var(--nb-cyan) !important; color: #06213a !important; box-shadow: 0 0 14px rgba(34, 238, 242, 0.45) !important; }
  html.look-night .sc-step.is-on .sc-step-ic .ic-fill { fill: rgba(6, 33, 58, 0.25) !important; }
  html.look-night .sc-step-check { background: var(--nb-cyan) !important; color: #06213a !important; }
  html.look-night .sc-mini i.is-now { background: var(--nb-cyan) !important; }
  html.look-night .sc-mini i.is-done { background: #2a76ff !important; }
  html.look-night :is(.sc-lanebox, .sc-mix, .sc-slower, .sc-result, .sc-seg, .sc-coach-text) {
    border: 1.5px solid transparent !important; box-shadow: none !important;
    background: linear-gradient(120deg, #16316e 0%, #1b3372 55%, #1a2964 100%) padding-box, linear-gradient(180deg, #4a5bb0 0%, #3b4aa6 50%, #3579db 100%) border-box !important;
  }
  html.look-night :is(.sc-count, .sc-readout) { background: transparent !important; }
  html.look-night .sc-mix input[type="range"] { accent-color: var(--nb-cyan); }
  html.look-night .sc-mix-mute { background: var(--nb-cyan) !important; color: #06213a !important; }
  html.look-night .sc-seg-b.is-on { background: var(--nb-cyan) !important; color: #06213a !important; }
  html.look-night .sc-go { color: #fff !important; background: radial-gradient(circle at 35% 30%, #3fb6ff 0%, #1a7fe0 55%, #0d4fb0 100%) !important; box-shadow: 0 0 0 2px rgba(120, 200, 255, 0.45), 0 10px 24px -8px rgba(26, 127, 224, 0.85) !important; }
  html.look-night .sc-go .ic { color: #fff !important; }
  html.look-night .sc-repeat { color: #fff !important; }
  html.look-night .sc-prog { background: #24356f !important; }

  /* ---------- The first-use song list (#/coach?learn): the Songs tab's look (it gets .sc-home at night) ---------- */
  /* "Last step" sticker: the yellow sticker over the title; the hero grows by its height. */
  @media (max-width: 759px) { html.look-night .sc-learn.sc-home .sc-ask-top:has(> .sc-laststep) { height: calc(152.9px + 31px + var(--safe-t, 0px)) !important; } }
  html.look-night .sc-learn.sc-home .sc-ask-top > .sc-laststep {
    display: inline-block !important; height: 24.7px; box-sizing: border-box; margin: 0 0 6px !important; padding: 0 9.4px !important; border-radius: 999px; transform: none !important;
    font: 700 12px/24.7px var(--font-head) !important; letter-spacing: 0.02em; color: #10163a !important;
    background: linear-gradient(180deg, #fff3a0 0%, #fdea7e 50%, #f9dc5a 100%) !important; box-shadow: 0 1.5px 0 rgba(150, 110, 10, 0.55), 0 3px 8px rgba(0, 0, 0, 0.25) !important;
  }
  html.look-night .sc-learn .sc-yterr { color: #ffb4a8; }
  /* "Sing it now" / "No song yet": a card row with a cyan icon disc. */
  html.look-night .sc-now-card {
    color: #fff !important; border: 1.5px solid transparent !important; border-radius: 22px !important;
    background: linear-gradient(120deg, #16316e 0%, #1b3372 55%, #1a2964 100%) padding-box, linear-gradient(180deg, #5868b9 0%, #3b4aa6 50%, #3579db 100%) border-box !important;
    box-shadow: 0 10px 24px -16px rgba(53, 121, 219, 0.55) !important;
  }
  html.look-night .sc-now-card.is-soft { background: linear-gradient(90deg, #112351, #13265d) padding-box, linear-gradient(180deg, #2e3d7c, #24356f) border-box !important; box-shadow: none !important; }
  html.look-night .sc-now-card small { color: var(--nb-soft) !important; }
  html.look-night .sc-now-ic { background: rgba(42, 118, 255, 0.22) !important; color: var(--nb-cyan) !important; box-shadow: none !important; }
  html.look-night .sc-or { color: var(--nb-soft); }

  /* ---------- Numbered steps and small discs: cyan with navy figures (the old teal has no place at night) ---------- */
  html.look-night :is(.sc-any-n, .sc-step-n, .sa-step-n, .sc-num) { background: var(--nb-cyan) !important; color: #06213a !important; box-shadow: 0 0 10px rgba(34, 238, 242, 0.35) !important; }

  /* ---------- A song's plan (sc-over): parts, line nodes, the whole song, the key card ---------- */
  html.look-night .sc-part {
    border: 1.5px solid transparent !important; border-radius: 22px !important;
    background: linear-gradient(120deg, #16316e 0%, #1b3372 55%, #1a2964 100%) padding-box, linear-gradient(180deg, #5868b9 0%, #3b4aa6 50%, #3579db 100%) border-box !important;
  }
  html.look-night .sc-part:not(.is-now) { background: linear-gradient(90deg, #112351, #13265d) padding-box, linear-gradient(180deg, #2e3d7c, #24356f) border-box !important; }
  html.look-night .sc-part-n { background: var(--nb-cyan) !important; color: #06213a !important; }
  html.look-night .sc-part-prog { background: #24356f !important; }
  html.look-night .sc-node a { color: #fff; }
  html.look-night .sc-node a:hover { background: rgba(255, 255, 255, 0.05) !important; }
  html.look-night .sc-node-ic { background: #0d1a42 !important; color: var(--nb-cyan) !important; border-color: #3b4c94 !important; }
  html.look-night .sc-node.is-done .sc-node-ic { background: #2a76ff !important; border-color: #2a76ff !important; color: #fff !important; }
  html.look-night .sc-node.is-next .sc-node-ic { border-color: var(--nb-cyan) !important; color: var(--nb-cyan) !important; box-shadow: 0 0 14px rgba(34, 238, 242, 0.45) !important; }
  html.look-night .sc-node.is-next a { border: 1.5px solid rgba(34, 238, 242, 0.55) !important; background: rgba(34, 238, 242, 0.06) !important; }
  html.look-night .sc-node.is-next :is(small, .sc-node-next, em) { color: #fddc52 !important; }
  html.look-night .sc-node.t-full .sc-node-ic { background: #13265a !important; border-color: #fddc52 !important; color: #fddc52 !important; }
  html.look-night .sc-ring-sm { background: conic-gradient(var(--nb-cyan) calc(var(--p) * 360deg), #24356f 0) !important; }
  html.look-night .sc-ring-sm::before { background: #0d1a42 !important; }
  /* The keyboard itself (.sb-piano) is styled in songcoach.css for every look; the key card's bands in the night colours. */
  html.look-night .sc-key-band.is-you { background: rgba(34, 238, 242, 0.22) !important; border-color: var(--nb-cyan) !important; }
  html.look-night .sc-key-band.is-yours { background: #2a76ff !important; border-color: #2a76ff !important; }
  html.look-night .sc-key-band.is-singer { border-color: rgba(186, 205, 251, 0.45) !important; }
  html.look-night .sc-key-band em { color: #fff !important; }

  /* Tick lists (teach, sing-along, the ways): a cyan disc behind the tick, not navy on navy. */
  html.look-night :is(.sa-shell, .sc-shell, .tk-wrap) .tick-list li::before { background-color: var(--nb-cyan) !important; box-shadow: 0 0 10px rgba(34, 238, 242, 0.3); }

  /* ---------- Matching the words to the lines (sc-match) ---------- */
  html.look-night .sc-match-bar { background: #24356f !important; }
  html.look-night .sc-match-play { border: 1.5px solid transparent !important; box-shadow: none !important; background: linear-gradient(120deg, #16316e, #1b3372) padding-box, linear-gradient(180deg, #5868b9, #3579db) border-box !important; }
  html.look-night :is(.sc-line-play, .sc-match-play .sc-round) { color: #fff !important; background: radial-gradient(circle at 35% 30%, #3fb6ff 0%, #1a7fe0 55%, #0d4fb0 100%) !important; }
  html.look-night .sc-match-line { background: #112351 !important; box-shadow: inset 0 0 0 1.5px #24356f !important; }
  html.look-night .sc-match-line.is-on { background: #16316e !important; color: #fff !important; box-shadow: inset 0 0 0 1.5px var(--nb-cyan), 0 0 14px rgba(34, 238, 242, 0.25) !important; }

  /* You and the original in the chat: you in the night blue, the original in cyan (the old teal is gone). */
  html.look-night .tc-voice[data-who="you"] .tc-voice-play { background: #2a76ff !important; }
  html.look-night .tc-voice[data-who="orig"] .tc-voice-play { background: var(--nb-cyan) !important; color: #06213a !important; }
  html.look-night .tc-voice[data-who="orig"] .tc-voice-play .ic { color: #06213a !important; }
  html.look-night .tc-voice[data-who="you"] .tc-voice-wave i.on { background: #6fb0ff !important; }

  /* "Finish matching the words": a quiet card with a white button, so the page keeps one yellow main action. */
  html.look-night .sc-heard-card {
    color: #fff; border: 1.5px solid transparent !important; border-radius: 20px !important; box-shadow: none !important;
    background: linear-gradient(90deg, #112351, #13265d) padding-box, linear-gradient(180deg, #2e3d7c, #24356f) border-box !important;
  }
  html.look-night .sc-heard-card small { color: var(--nb-soft) !important; }
  html.look-night .sc-heard-card .btn-primary {
    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 .sc-heard-ic { color: var(--nb-cyan) !important; }
  html.look-night .sc-heard-bar { background: #24356f !important; }
  html.look-night .sc-heard-bar i { background: var(--nb-cyan) !important; }

  /* ---------- The singing stage (is-stage): the lights and crowd stay; panels are night glass over them ---------- */
  html.look-night .sc-shell.is-stage .sc-lanebox {
    background: linear-gradient(160deg, rgba(28, 52, 132, 0.55), rgba(16, 28, 78, 0.6)) padding-box, linear-gradient(180deg, rgba(120, 140, 255, 0.6), rgba(53, 121, 219, 0.7)) border-box !important;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  }
  html.look-night .sc-shell.is-stage .ob-actions { background: none !important; }
  html.look-night .sc-shell.is-stage .ot-track { background: rgba(255, 255, 255, 0.16) !important; }

/* Chat with Bud (the take feedback, js/take-chat.js; also #/budlab), 16 Nov 2026: Bud is the mockups' Bud everywhere
   in the chat (the avatar, the drill card, the "Your turn!" sticker), the score bubble is indigo with a cyan rim
   rather than grey-teal, and the landed-note dots are cyan. */
html.look-night .tc-chat :is(.tc-av, .tc-mav), html.look-night .tk-card-bud {
  border: 0 !important; border-radius: 50%;
  background: url("../media/bud-disc.webp") 50% 40% / 122% auto no-repeat, #0a4a9a !important;
  box-shadow: 0 0 0 1.5px #22eef2, 0 0 10px rgba(34, 238, 242, 0.3);
}
html.look-night .tc-chat :is(.tc-av, .tc-mav) > svg, html.look-night .tk-card-bud > svg { display: none !important; }
html.look-night .tk-card-bud { width: 46px; height: 46px; }
html.look-night .tc-chat .tc-av i { background: #34c759; border-color: #0d1a42 !important; }
/* The online dot sits on the avatar's rim, not inside the picture. */
html.look-night .tc.is-playful .tc-thread .tc-row.has-face .tc-mav { background: url("../media/bud-disc.webp") 50% 40% / 122% auto no-repeat, #0a4a9a !important; }

html.look-night .tc.is-playful .tc-row.tc-tint-mid { --tc-bubble: #173a7c; }
html.look-night .tc.is-playful .tc-row.tc-tint-pass { --tc-bubble: #243f8f; }
html.look-night .tc-row.tc-tint-mid .tc-msg, html.look-night .tc-row.tc-tint-pass .tc-msg { box-shadow: inset 0 0 0 1.5px rgba(34, 238, 242, 0.28); }
html.look-night .tc-dots i { background: rgba(150, 175, 255, 0.22); }
html.look-night .tc-dots i.on { background: #22eef2; box-shadow: 0 0 6px rgba(34, 238, 242, 0.55); }
html.look-night .tc-dots i.q { background: transparent; box-shadow: inset 0 0 0 2px rgba(150, 175, 255, 0.35); }

/* "Your turn!": the mockups' Bud in the glowing disc, the sparkles in the night colours. */
html.look-night .tc-sticker-bud {
  inset: 22px; border-radius: 50%; transform: none !important; filter: none !important;
  background: url("../media/bud-disc.webp") 50% 50% / cover no-repeat, #0a4a9a;
  box-shadow: 0 0 0 3px #22eef2, 0 0 24px rgba(34, 238, 242, 0.42), 0 10px 22px rgba(0, 0, 0, 0.4);
}
html.look-night .tc-sticker-bud > svg { display: none; }
html.look-night .tc-sticker-fx .fx-star { fill: #fddc52; }
html.look-night .tc-sticker-fx .fx-note { fill: #3fd8ff; stroke: #3fd8ff; }
html.look-night .tc-sticker-fx path.fx-note { fill: none; }
html.look-night .tc-sticker-fx .fx-dot { fill: #ff7d9c; }

/* ---------- The screens reached last (16 Nov 2026): a pasted-link song, a file's analysis, recording from another
   app, and the old "My song" layout of the Songs tab ---------- */
  /* A pasted-link song's page: the Sing button's pulse is gold, not the old teal. */
  html.look-night .ot-page.is-yt .ot-actions .btn-primary { animation-name: nt-ot-ring; }
  @keyframes nt-ot-ring { 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; } }

  /* Its results: the moment buttons are the night chips (navy, grey rim), only "Practise it" is yellow. */
  html.look-night .ot .tk-btn:not(.sun):not(.go):not(.big) {
    color: #fff !important; background: #0b1530 !important; border: 0 !important; box-shadow: inset 0 0 0 1.5px #46536f !important;
  }
  html.look-night .ot .tk-btn:not(.sun):not(.go):not(.big) .ic { color: #fff !important; }
  html.look-night .at-results .at-dim small, html.look-night .at-results .ot-sub, html.look-night .at-results .ot-scoreline { color: var(--nb-soft); }
  html.look-night .at-bar { background: #24356f !important; }
  html.look-night .at-bar i { background: var(--nb-cyan) !important; box-shadow: 0 0 8px rgba(34, 238, 242, 0.45); }


  /* Listening to a file: Bud's bubble, the wave card, the bar and the four steps in the night language. */
  html.look-night .sl-say { color: #fff !important; border: 0 !important; background: #1c2f6a !important; box-shadow: inset 0 0 0 1.5px #3b4c94 !important; }
  html.look-night .sl-card {
    border: 1.5px solid transparent !important; box-shadow: 0 10px 24px -16px rgba(53, 121, 219, 0.55) !important;
    background: linear-gradient(120deg, #16316e 0%, #1b3372 55%, #1a2964 100%) padding-box, linear-gradient(180deg, #5868b9 0%, #3b4aa6 50%, #3579db 100%) border-box !important;
  }
  html.look-night .sl-wave { background: #0d1a42 !important; }
  html.look-night .sl-pct { color: #10163a !important; border: 0 !important; background: linear-gradient(180deg, #fff3a0 0%, #ffe46a 35%, #fdd33f 100%) !important; }
  html.look-night .sl-bar { background: #0d1a42 !important; border: 0 !important; box-shadow: inset 0 0 0 1.5px #2e3d7c !important; }
  html.look-night .sl-bar i { background: repeating-linear-gradient(-45deg, #22eef2 0 10px, #14a3ab 10px 20px) !important; box-shadow: 0 0 10px rgba(34, 238, 242, 0.45); }
  html.look-night .sl-steps li { color: var(--nb-soft) !important; border: 1.5px solid #2e3d7c !important; background: #112351 !important; box-shadow: none !important; }
  html.look-night .sl-steps li.is-now { color: #fff !important; border-color: var(--nb-cyan) !important; background: #16316e !important; box-shadow: 0 0 14px rgba(34, 238, 242, 0.25) !important; }
  html.look-night .sl-steps li.is-done { color: #fff !important; border-color: #3b4c94 !important; background: #16316e !important; }
  html.look-night .sl-ic { background: #0d1a42 !important; color: var(--nb-soft); filter: none !important; opacity: 1 !important; box-shadow: inset 0 0 0 1.5px #3b4c94; }
  html.look-night .sl-steps li.is-now .sl-ic { background: var(--nb-cyan) !important; color: #06213a !important; box-shadow: 0 0 12px rgba(34, 238, 242, 0.45); }
  html.look-night .sl-steps li.is-done .sl-ic { background: #2a76ff !important; color: #fff !important; box-shadow: none; }
  html.look-night .sl-steps li.is-done .sl-ic::after { border-color: #fff !important; }
  html.look-night .sl-left { color: var(--nb-soft); }

  /* Recording from another app: the meter in a lit card with cyan bars, the recording dot Bud's pink. */
  html.look-night .sc-capmeter {
    border: 1.5px solid transparent !important; border-radius: 22px;
    background: linear-gradient(120deg, #16316e 0%, #1b3372 55%, #1a2964 100%) padding-box, linear-gradient(180deg, #5868b9 0%, #3b4aa6 50%, #3579db 100%) border-box !important;
  }
  html.look-night .sc-capmeter i { background: var(--nb-cyan) !important; box-shadow: 0 0 6px rgba(34, 238, 242, 0.4); }
  html.look-night .sc-rec { color: #fff !important; background: #13265a !important; box-shadow: inset 0 0 0 1.5px #3b4c94; }
  html.look-night .sc-ytcap.is-rec .sc-rec { color: #ff9db4 !important; }
  html.look-night .sc-ytcap.is-rec .sc-rec i { background: #ff7d9c !important; box-shadow: 0 0 8px rgba(255, 125, 156, 0.7); }
  html.look-night .sc-captime { color: #fff; }
  html.look-night .sc-capstatus { color: #fff; }
  html.look-night .sc-yttip { color: var(--nb-soft); }
  html.look-night .sc-yttip .ic { color: var(--nb-cyan); }

  /* The old "My song" layout (shown when the song list is off): the mockups' Bud in the card's disc. */
  html.look-night .page.songs .bring-bud {
    flex: none; width: 54px; height: 54px; border-radius: 50%;
    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 .page.songs .bring-bud > svg { display: none; }

  /* After recording: the trim card (17 Nov 2026). */
  html.look-night .sc-trimwave::before, html.look-night .sc-trimwave::after { background: rgba(5, 10, 30, 0.45); }
  html.look-night .sc-trimh::before, html.look-night .sc-trimh i { background: #fddc52; }
  html.look-night .sc-trimh i::before { border-color: rgba(9, 19, 43, 0.7); }
  html.look-night .sc-trimkept { color: var(--nb-soft); }
