/* Trial look "Night" for the Songs tab (16 Nov 2026, from the owner's generated mockups): a teal-to-blue band
   with layered waves behind Bud, a navy page, glassy song cards, a cyan "All" chip and a matching tab bar.
   Home, Practice and Your path get their own files (look-night-home.css, -practice.css, -path.css); the tab bar
   and page colour here are shared by all four. Off unless switched on: #/songs?look=night turns it on, #/songs?look=old turns it off (kept in localStorage,
   see lookFromRoute in js/app.js). Only the Songs list (.sc-home) changes; every other screen keeps its look.
   Dark-only on purpose for the trial: it ignores the Light/Dark/Auto setting. */

html.look-night {
  --nt-bg: #010e30; --nt-bg-2: #0a1532; --nt-card: rgba(50, 58, 168, 0.5); --nt-card-2: rgba(24, 50, 132, 0.42);
  --nt-edge: rgba(112, 124, 255, 0.45); --nt-sep: rgba(255, 255, 255, 0.08);
  --nt-ink: #f3f6ff; --nt-soft: #a8b5dd; --nt-cyan: #3fd8ff; --nt-blue: #2a76ff;
}

/* ---------- Page and tab bar ---------- */
html.look-night, html.look-night body {
  background: var(--nt-bg); color: var(--nt-ink); color-scheme: dark;
}
html.look-night body:has(.sc-home) .app-main {
  background: url("../media/night-bg.webp") center var(--nt-bg-y, 0px) / 100% auto no-repeat, #010e30;
  min-height: 100svh;
}
html.look-night body:has(.sc-home) .app-main::before { display: none; }
html.look-night body .ob-top { background: rgba(6, 11, 31, 0.9); color: var(--nt-ink); }
html.look-night body .tabs {
  background: rgba(9, 18, 45, 0.97); border-top: 1px solid rgba(120, 140, 220, 0.14); box-shadow: none;
}
html.look-night body .tab { color: var(--nt-soft); }
html.look-night body .tab .ic { background: none !important; box-shadow: none !important; }
html.look-night body .tab .ic .ic-fill { fill: rgba(168, 181, 221, 0.25); }
html.look-night body .tab.is-on, html.look-night body .tab.is-on .ic { color: var(--nt-cyan) !important; }
html.look-night body .tab.is-on .ic .ic-fill { fill: rgba(63, 216, 255, 0.3); }
@media (max-width: 959px) {
  html.look-night body .tab { border-radius: 18px; margin: 3px 2px 6px; padding: 3px 4px 4px; min-height: calc(var(--tab-h) - 10px); }
  html.look-night body .tab.is-on { background: linear-gradient(180deg, rgba(42, 118, 255, 0.28), rgba(42, 118, 255, 0.12)); box-shadow: inset 0 0 0 1px rgba(63, 216, 255, 0.45); }
}
@media (min-width: 960px) {
  html.look-night body .tabs { border-top: 0; border-right: 1px solid var(--nt-sep); }
  html.look-night body .rail-brand, html.look-night body .rail-user { color: var(--nt-ink); }
  html.look-night body .rail-user small { color: var(--nt-soft); }
  html.look-night body .rail-user { background: var(--nt-card) !important; box-shadow: inset 0 0 0 1px var(--nt-edge) !important; }
  html.look-night body .rail-user b { color: var(--nt-ink) !important; }
  html.look-night body .rail-user small { color: var(--nt-soft) !important; }
  html.look-night body .tab:hover { background: rgba(255, 255, 255, 0.05); }
  html.look-night body .tab.is-on, html.look-night body .tab.is-on:hover { background: rgba(42, 118, 255, 0.2); box-shadow: inset 0 0 0 1px rgba(63, 216, 255, 0.4); }
  html.look-night body .rail-up { background: var(--nt-card); box-shadow: inset 0 0 0 1px var(--nt-edge); color: var(--nt-ink); }
  html.look-night body .rail-up small { color: var(--nt-soft); }
}

/* ---------- Hero: see-through; the owner's background picture (media/night-bg.webp) carries the glow and the wave ---------- */
html.look-night .sc-home .sc-ask-top { background: none !important; border-radius: 0 !important; box-shadow: none !important; }
html.look-night .sc-home .sc-ask-top::after { content: none !important; }
/* The hero runs on under the search box, so the picture's wave sits between the words and the search. */
@media (max-width: 759px) {
  html.look-night .sc-learn.sc-home .sc-ask-top { min-height: calc(var(--hero-h) + 52px + var(--safe-t, 0px)) !important; padding-bottom: 66px !important; margin-bottom: -26px !important; }
  html.look-night body:has(.sc-home) { --nt-bg-y: calc(40px + var(--safe-t, 0px)); }
  html.look-night .sc-learn.sc-home .sc-find { position: relative; z-index: 2; }
}
html.look-night .sc-home .sc-ask-top .ph-dot { display: none; }
html.look-night .sc-home .sc-ask-top .ph-note, html.look-night .sc-home .sc-ask-top .sc-notes i { color: var(--nt-cyan) !important; text-shadow: 0 0 12px rgba(63, 216, 255, 0.6); }
html.look-night .sc-home .sc-hero-bud::before { background: radial-gradient(circle, rgba(63, 216, 255, 0.28), rgba(63, 216, 255, 0) 70%) !important; }
html.look-night .sc-home .sc-hero-bud svg { filter: drop-shadow(0 6px 18px rgba(42, 118, 255, 0.55)) !important; }
html.look-night .sc-home .ob-title { color: #fff !important; text-shadow: 0 2px 14px rgba(0, 40, 110, 0.45); }
@supports (-webkit-background-clip: text) {
  html.look-night .sc-home .ob-title { background: linear-gradient(180deg, #a6f4ff 0%, #ffffff 60%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; }
}
html.look-night .sc-home .ob-title .squiggle-line path { stroke: var(--nt-cyan) !important; }
html.look-night .sc-home .ob-hint { color: #8fe9ff !important; }
@media (max-width: 759px) {
  html.look-night .sc-learn.sc-home .sc-ask-top > .sc-hero-bud { width: 104px; top: calc(2px + var(--safe-t, 0px)); }
  html.look-night .sc-learn.sc-home .sc-ask-top > .ob-title { padding-right: 100px; font-size: 1.7rem; }
}

/* ---------- Search: a glowing pill ---------- */
html.look-night .sc-home .sc-find-field .input {
  background: linear-gradient(90deg, rgba(42, 52, 150, 0.7), rgba(28, 46, 128, 0.6)) !important; color: var(--nt-ink) !important; border: 2px solid #5b63ea !important;
  border-radius: 999px !important; box-shadow: 0 0 22px -4px rgba(91, 99, 234, 0.65) !important;
}
html.look-night .sc-home .sc-find-field .input::placeholder { color: var(--nt-soft); opacity: 1; }
html.look-night .sc-home .sc-find-field .input:focus { border-color: var(--nt-cyan) !important; }
html.look-night .sc-home .sc-find-field > .ic { color: var(--nt-ink) !important; }

/* ---------- Section headings, each with a small cyan picture ---------- */
html.look-night .sc-home .sc-find-label, html.look-night .sc-home .sc-find-or, html.look-night .sc-home .card-title {
  color: var(--nt-ink) !important; font: 800 1.2rem/1.2 var(--font-head) !important;
}
html.look-night .sc-home .sc-find-label { display: flex; align-items: center; gap: 9px; margin-top: 26px; }
html.look-night .sc-home .sc-find-label::before {
  content: ''; flex: none; width: 22px; height: 22px; background: linear-gradient(180deg, var(--nt-cyan), var(--nt-blue));
  -webkit-mask: var(--nt-mark) center / contain no-repeat; mask: var(--nt-mark) center / contain no-repeat;
}
html.look-night .sc-home [data-recentlabel] { --nt-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3.2 2'/%3E%3C/svg%3E"); }
html.look-night .sc-home [data-poplabel] { --nt-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.5 2c.6 3.6 4.9 5.6 4.9 11a5.4 5.4 0 0 1-10.8 0c0-2.3 1.1-3.9 2.3-5 .1 2.1 1 3.2 2.1 3.4-.4-3.1.1-6.4 1.5-9.4z'/%3E%3C/svg%3E"); }
@media (min-width: 760px) {
  html.look-night .sc-learn.sc-has-find.sc-home .sc-find > [data-recentlabel] { justify-content: center; font: 600 0.92rem/1.2 var(--font-body) !important; color: var(--nt-soft) !important; }
  html.look-night .sc-learn.sc-has-find.sc-home .sc-find > [data-recentlabel]::before { width: 16px; height: 16px; }
}

/* ---------- Chips: cyan when chosen, outlined otherwise ---------- */
html.look-night .sc-home .sc-chips button {
  background: rgba(14, 24, 56, 0.7) !important; color: var(--nt-ink) !important; box-shadow: inset 0 0 0 1.5px rgba(150, 160, 210, 0.35) !important;
}
html.look-night .sc-home .sc-chips button:hover { background: rgba(42, 118, 255, 0.18) !important; }
html.look-night .sc-home .sc-chips button[aria-pressed="true"] {
  background: linear-gradient(180deg, #2ff0ff, #0cc8ee) !important; color: #041030 !important;
  box-shadow: 0 0 18px rgba(63, 216, 255, 0.45) !important;
}

/* ---------- Song cards: glass panels, rows split by a hairline ---------- */
html.look-night .sc-home .way-rows {
  background: linear-gradient(120deg, var(--nt-card), var(--nt-card-2)) !important; border: 1px solid var(--nt-edge) !important;
  border-radius: 22px !important; box-shadow: inset 0 -1.5px 0 rgba(63, 216, 255, 0.55), 0 14px 34px -18px rgba(63, 160, 255, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}
html.look-night .sc-home .way-row { color: var(--nt-ink) !important; background: none !important; }
html.look-night .sc-home .way-row + .way-row { border-top: 1px solid var(--nt-sep) !important; }
html.look-night .sc-home .way-row:hover { background: rgba(255, 255, 255, 0.04) !important; }
html.look-night .sc-home .way-text b { color: var(--nt-ink) !important; font-family: var(--font-head); font-weight: 800; }
html.look-night .sc-home .way-text small { color: var(--nt-soft) !important; }
html.look-night .sc-home .way-row > .ic { color: var(--nt-soft) !important; }
html.look-night .sc-home .way-row .way-ic { box-shadow: none !important; }
html.look-night .sc-home .way-rows:not(.sc-ready) .way-row .way-ic { background: rgba(42, 118, 255, 0.22) !important; color: var(--nt-cyan) !important; }
/* The song's picture, a little bigger, with a navy play disc ringed in cyan. */
@media (max-width: 759px) {
  html.look-night .sc-home .sc-ready .way-row.sc-ready-row { grid-template-columns: 64px 1fr auto 18px; gap: 14px; min-height: 80px; padding: 10px 14px 10px 12px; }
  html.look-night .sc-home .sc-ready .way-ic.sc-art { width: 64px !important; height: 64px !important; border-radius: 14px !important; }
}
html.look-night .sc-home .sc-ready .way-ic.sc-art { background: #0d1a44 !important; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) !important; }
html.look-night .sc-home .sc-art-play { background: rgba(6, 14, 44, 0.85) !important; box-shadow: 0 0 0 1.5px var(--nt-cyan), 0 0 10px rgba(63, 216, 255, 0.5); }
html.look-night .sc-home .sc-art-play .ic { color: #fff !important; }
html.look-night .sc-home .sc-ready .sc-fit { background: rgba(255, 255, 255, 0.07) !important; color: var(--nt-soft) !important; }
html.look-night .sc-home .sc-ready .sc-fit[data-fit="fits"] { background: rgba(63, 216, 255, 0.14) !important; color: var(--nt-cyan) !important; }

/* Wide screens: no frames around the grid, as today; the recent pills go glassy. */
@media (min-width: 760px) {
  html.look-night .sc-home .sc-find .sc-ready:not(.sc-recent) { background: none !important; border: 0 !important; box-shadow: none !important; }
  html.look-night .sc-home .sc-find .sc-ready:not(.sc-recent) .way-row + .way-row { border-top: 0 !important; }
  html.look-night .sc-home .sc-find .sc-ready:not(.sc-recent) .way-ic.sc-art { box-shadow: 0 14px 30px -16px rgba(42, 118, 255, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.08) !important; }
  html.look-night .sc-home .sc-find .sc-ready.sc-recent { background: none !important; border: 0 !important; box-shadow: none !important; }
  html.look-night .sc-home .sc-find .sc-ready.sc-recent .way-row.sc-ready-row { background: var(--nt-card) !important; box-shadow: inset 0 0 0 1px var(--nt-edge) !important; }
  html.look-night .sc-home .sc-find .sc-ready.sc-recent .way-row + .way-row { border-top: 0 !important; }
  /* The header has no box of its own here (display: contents), so the band is the page's top glow instead. */
  html.look-night .sc-home .sc-ask-top::after { display: none; }
  html.look-night .sc-ask.sc-learn.sc-has-find.sc-home::before { display: none; }
  html.look-night body:has(.sc-home) .app-main { background: url("../media/night-bg.webp") center top / 100% 1100px no-repeat, #010e30 !important; }
  html.look-night .sc-home .sc-fan img { border-color: #13235a !important; }
  html.look-night .sc-ask.sc-has-find.sc-home .sc-ways { background: none !important; border: 0 !important; box-shadow: none !important; }
  html.look-night .sc-ask.sc-has-find.sc-home .sc-ways .way-row, html.look-night .sc-ask.sc-has-find.sc-home .sc-ways .way-row + .way-row {
    background: linear-gradient(120deg, var(--nt-card), var(--nt-card-2)) !important; border: 1px solid var(--nt-edge) !important;
  }
}

/* ---------- The rest of the page: show more, your own songs, the demo link ---------- */
html.look-night .sc-home .sc-find-all {
  background: rgba(14, 26, 74, 0.6) !important; color: var(--nt-ink) !important; border: 1px solid var(--nt-edge) !important; box-shadow: none !important;
}
html.look-night .sc-home .sc-find-none { color: var(--nt-soft) !important; }
html.look-night .sc-home .sc-mine-list .sc-song, html.look-night .sc-home .sc-mine-list li {
  background: var(--nt-card) !important; color: var(--nt-ink) !important; box-shadow: inset 0 0 0 1px var(--nt-edge) !important; border: 0 !important;
}
html.look-night .sc-home .sc-mine-list small { color: var(--nt-soft) !important; }
html.look-night .sc-home .sc-del { color: var(--nt-soft) !important; }
html.look-night .sc-home .sc-demo, html.look-night .sc-home .btn-link { color: var(--nt-cyan) !important; }
html.look-night .sc-home .sc-demo .ic { stroke: var(--nt-cyan); }

/* =====================================================================================================
   Phones: matched to the owner's third mockup (16 Nov 2026), measured at 375px wide (1 css px = 2.2693
   mockup px). The top of the mockup itself (Bud, the notes and the waves, words erased) is the picture
   media/songs-hero.jpg; the words, search, cards and chips are the app's own, placed to the mockup's pixels.
   ===================================================================================================== */
@media (max-width: 759px) {
  html.look-night body:has(.sc-home) .app-main {
    background: url("../media/songs-hero.jpg") 50% var(--safe-t, 0px) / 100% auto no-repeat, linear-gradient(180deg, #09142e 0%, #081228 100%) !important;
  }
  html.look-night body:has(.sc-home) .app-main::after { content: ''; position: fixed; left: 0; right: 0; top: 0; height: var(--safe-t, 0px); background: #091734; z-index: 25; pointer-events: none; }

  /* Hero: words only; the picture carries Bud and the waves. */
  html.look-night .sc-learn.sc-home .sc-ask-top {
    display: block !important; box-sizing: border-box; height: calc(152.9px + var(--safe-t, 0px)) !important; min-height: 0 !important;
    margin: calc(-14px - var(--safe-t, 0px)) calc(-1 * var(--gutter)) 0 !important; padding: calc(22.2px + var(--safe-t, 0px)) 0 0 25px !important;
    background: none !important; overflow: visible !important; text-align: left !important;
  }
  html.look-night .sc-learn.sc-home .sc-ask-top > .sc-hero-bud, html.look-night .sc-learn.sc-home .sc-ask-top > .ph-deco, html.look-night .sc-learn.sc-home .sc-fan { display: none !important; }
  html.look-night .sc-learn.sc-home .sc-ask-top > .ob-title {
    position: relative; width: 200px; margin: 0 !important; padding: 0 !important;
    font: 800 26.3px/25.2px var(--font-head) !important; letter-spacing: 0.1px !important; text-align: left !important;
    color: #fff !important; background: none !important; -webkit-text-fill-color: currentColor !important; text-shadow: none !important;
  }
  html.look-night .sc-learn.sc-home .sc-ask-top > .ob-title::first-line { color: #d6fbff; font-size: 24.1px; }
  html.look-night .sc-learn.sc-home .sc-ask-top > .ob-title .squiggle > svg, html.look-night .sc-learn.sc-home .sc-ask-top > .ob-title .squiggle-line { display: none !important; }
  /* The mockup's brush stroke under the second line: bright cyan, fading out to the right. */
  html.look-night .sc-learn.sc-home .sc-ask-top > .ob-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 .sc-learn.sc-home .sc-ask-top > .ob-hint {
    width: 190px; margin: 19.9px 0 0 !important; padding: 0 !important;
    font: 500 14.9px/18.1px var(--font-head) !important; color: #a5feff !important; text-align: left !important; letter-spacing: -0.42px !important;
  }

  /* Search: 340 x 46 pill, 17.6px in from each side, a blue-to-violet rim and a soft glow. */
  html.look-night .sc-learn.sc-home .sc-find { margin: 0 !important; }
  html.look-night .sc-learn.sc-home .sc-find .sc-find-field { display: block; margin: 0 calc(17.6px - var(--gutter)) !important; }
  html.look-night .sc-learn.sc-home .sc-find .sc-find-field .input {
    box-sizing: border-box; height: 46.1px; min-height: 0 !important; padding: 0 16px 0 50px !important; border: 2.3px solid transparent !important; border-radius: 999px !important;
    background: linear-gradient(90deg, #222e7e, #1d2a74) padding-box, linear-gradient(180deg, #3d9bf8 0%, #6165f6 32%, #6165f6 68%, #468be8 100%) border-box !important;
    box-shadow: 0 0 5px rgba(78, 96, 238, 0.45) !important;
    font: 500 17.5px/1 var(--font-head) !important; color: #fff !important;
  }
  html.look-night .sc-learn.sc-home .sc-find .sc-find-field .input::placeholder { color: #c6cdf4; }
  html.look-night .sc-learn.sc-home .sc-find .sc-find-field > .ic { left: 17.4px !important; width: 23.5px !important; height: 23.5px !important; color: #fff !important; }

  /* Section headings: a 21px cyan picture, then the words 30px further in. */
  html.look-night .sc-learn.sc-home .sc-find-label {
    position: relative; display: block !important; margin: 15.4px 0 0 !important; padding-left: 30.6px; height: 24px;
    font: 700 18.1px/24px var(--font-head) !important; color: #fff !important;
  }
  html.look-night .sc-learn.sc-home .sc-find-label::before { position: absolute; left: 0.4px; top: 2.1px; width: 21.8px; height: 21.8px; background: #2beff8; }
  /* The mockup's pictures: a clock with a turning-back arrow, and a two-tongued flame. */
  html.look-night .sc-learn.sc-home [data-recentlabel] { --nt-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.6 12a8.6 8.6 0 1 0 2.7-6.3'/%3E%3Cpath d='M3.2 3.6v4.6h4.6'/%3E%3Cpath d='M12 7.4v5l3.3 2'/%3E%3C/svg%3E"); }
  html.look-night .sc-learn.sc-home [data-poplabel] { --nt-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.2 1.6c.5 3.4 3.3 5 5.2 8 1.6 2.4 1.9 5.6.4 8.2a8 8 0 0 1-13.6.4c-1.6-2.6-1.4-6 .4-8.6.4 1.7 1.3 2.9 2.6 3.6-.6-4.3 1.1-8.6 5-11.6zm-1.2 11.2c-1.8 1.6-2.6 3.4-2.1 5.3.4 1.6 1.7 2.6 3.2 2.6 1.9 0 3.3-1.6 3.1-3.6-.2-1.7-1.5-2.7-2.7-3.9-.6 1-1.2 1.4-2 1.6.3-.6.5-1.2.5-2z' fill-rule='evenodd'/%3E%3C/svg%3E"); }
  html.look-night .sc-learn.sc-home [data-poplabel] { margin-top: 16.1px !important; }
  html.look-night .sc-learn.sc-home .sc-seeall { height: 24px; margin: -24px calc(16.5px - var(--gutter)) 0 auto !important; padding: 0 !important; gap: 2.5px; font: 600 14.6px/24px var(--font-head) !important; color: #b9cdfd !important; text-decoration: none; }
  html.look-night .sc-learn.sc-home .sc-seeall .ic { width: 15px; height: 15px; color: #b9cdfd; }
  html.look-night .sc-learn.sc-home [data-poplabel]::before { left: -0.6px; top: 0.4px; width: 24px; height: 24px; }

  /* Cards: 340px wide, an indigo-to-violet fill, a rim lit from the left and along the bottom. */
  html.look-night .sc-learn.sc-home .sc-find .way-rows.sc-ready {
    margin: 9.3px calc(17.6px - var(--gutter)) 0 !important; border: 1.6px solid transparent !important; border-radius: 22px !important;
    background: linear-gradient(180deg, rgba(20, 62, 128, 0) 72%, rgba(20, 66, 140, 0.55) 100%) padding-box,
                linear-gradient(90deg, #16316e 0%, #1b3372 55%, #1a2964 100%) padding-box,
                linear-gradient(180deg, #5868b9 0%, #3b4aa6 50%, #3579db 100%) border-box !important;
    box-shadow: 0 1px 3px rgba(53, 121, 219, 0.35) !important;
  }
  html.look-night .sc-learn.sc-home .sc-find .way-rows.sc-ready:not(.sc-recent) {
    background: linear-gradient(90deg, #112351 0%, #13265d 100%) padding-box, linear-gradient(180deg, #2e3d7c 0%, #24356f 100%) border-box !important;
  }
  html.look-night .sc-learn.sc-home .sc-ready .way-row.sc-ready-row {
    position: relative; grid-template-columns: 55.3px minmax(0, 1fr) 18px !important; gap: 0 14.6px !important; min-height: 65.3px !important; padding: 10px 11.7px 10px 18.5px !important; align-items: center !important;
  }
  html.look-night .sc-learn.sc-home .sc-ready .way-row.sc-ready-row > span:empty { display: none; }
  html.look-night .sc-learn.sc-home .sc-ready .way-row + .way-row { border-top: 0 !important; }
  html.look-night .sc-learn.sc-home .sc-ready .way-row + .way-row::before { content: ''; position: absolute; left: 17.7px; right: 15.4px; top: 0; height: 1.4px; background: #3d4f7b; }
  html.look-night .sc-learn.sc-home .sc-ready .way-row > .way-text { justify-self: start; max-width: 170px; }
  html.look-night .sc-learn.sc-home .sc-ready .way-row > .ic { justify-self: end; align-self: center; position: relative; top: 1.4px; }
  html.look-night .sc-learn.sc-home .sc-ready .way-ic.sc-art {
    width: 55.3px !important; height: 47px !important; position: relative; top: 1.25px; border-radius: 12px !important; box-shadow: 0 0 0 1.5px #8e97dd !important;
  }
  html.look-night .sc-learn.sc-home .sc-art-play {
    right: 2.6px !important; bottom: 0.9px !important; width: 22px !important; height: 22px !important;
    background: #0b1a40 !important; box-shadow: 0 0 0 1.8px #cdf5ff !important;
  }
  html.look-night .sc-learn.sc-home .sc-ready .way-ic.sc-art { overflow: visible !important; }
  html.look-night .sc-learn.sc-home .sc-ready .way-ic.sc-art img { border-radius: 12px; }
  html.look-night .sc-learn.sc-home .sc-art-play .ic { width: 11.5px !important; height: 11.5px !important; margin-left: 1.5px; color: #d6f8ff !important; }
  html.look-night .sc-learn.sc-home .sc-art-play .ic, html.look-night .sc-learn.sc-home .sc-art-play .ic * { fill: #d6f8ff !important; stroke: #d6f8ff !important; }
  html.look-night .sc-learn.sc-home .sc-ready .way-text b { font: 700 16.6px/21px var(--font-head) !important; letter-spacing: -0.6px; color: #fff !important; }
  html.look-night .sc-learn.sc-home .sc-ready .way-text small { font: 400 13.6px/15.4px var(--font-head) !important; color: #bacdfb !important; margin-top: 4px; }
  html.look-night .sc-learn.sc-home .sc-ready .way-row > .ic { width: 18px !important; height: 18px !important; color: #c0cefe !important; }

  /* Chips: 34.8px tall pills; All filled cyan, the others a grey rim on navy. */
  html.look-night .sc-learn.sc-home .sc-chips { margin: 10.6px calc(-1 * var(--gutter)) 0 !important; padding: 0 0 0 20.3px !important; gap: 11.3px !important; align-items: center; }
  html.look-night .sc-learn.sc-home .sc-chips button {
    height: 34.8px; min-height: 0 !important; padding: 0 17.65px !important; font: 600 13.1px/1 var(--font-head) !important;
    background: #0b1530 !important; color: #fff !important; box-shadow: inset 0 0 0 1.6px #46536f !important;
  }
  /* The picked chip fits its words ("Easy to start" was cut at the mockup's 59px, owner on an iPhone, 21 Nov 2026). */
  html.look-night .sc-learn.sc-home .sc-chips button[aria-pressed="true"] { width: auto; min-width: 59.1px; flex: none; height: 33px; padding: 0 17.65px !important; background: #08f0f6 !important; color: #04111c !important; box-shadow: 0 0 14px rgba(8, 240, 246, 0.45) !important; }
  html.look-night .sc-learn.sc-home .sc-find .sc-chips + .way-rows.sc-ready { margin-top: 14.5px !important; }

  /* Tab bar: 74.5px, a soft lit top edge, light lavender icons and words; Songs in a 66 x 56 navy pill, cyan. */
  html.look-night body .tabs {
    background: linear-gradient(180deg, #172a5a 0, #0e1c40 3.5px, #081024 5px) !important; border-top: 0 !important; box-shadow: none !important;
  }
  html.look-night body .tab-list { padding: 8.3px 1.4px 10.2px 3.4px !important; }
  html.look-night body .tab {
    min-height: 56px !important; margin: 0 3.9px !important; padding: 2.7px 0 0 !important; gap: 2.6px !important; justify-content: flex-start !important;
    border-radius: 16px !important; color: #c4d2fe !important; font-size: 12.5px !important; line-height: 16px !important;
  }
  html.look-night body .tab .ic { padding: 1px 14px !important; color: #c4d2fe !important; }
  html.look-night body .tab .ic .ic-fill { fill: none !important; }
  html.look-night body .tab span { line-height: 16px; }
  html.look-night body .tab.is-on { background: #122857 !important; box-shadow: inset 0 0 0 1px rgba(84, 112, 190, 0.28) !important; color: #83cffe !important; }
  html.look-night body .tab.is-on .ic { color: #5af0fd !important; }
}

/* Songs: Bud sat higher than on Home and the other tabs (owner, 26 Nov 2026: "too high compared to other screens"):
   the picture has him painted at its very top. It moves down 22px, and the strip above takes the picture's own top
   colours, sampled from its first row, so there's no seam. */
@media (max-width: 759px) {
  html.look-night body:has(.sc-home) .app-main {
    background: url("../media/songs-hero.jpg") 50% calc(var(--safe-t, 0px) + 22px) / 100% auto no-repeat,
                linear-gradient(90deg, #0c6b95 0%, #074b7c 25%, #032e69 50%, #04256f 75%, #084da6 100%) 0 var(--safe-t, 0px) / 100% 23px no-repeat,
                linear-gradient(180deg, #09142e 0%, #081228 100%) !important;
  }
}
