/* Trial look "Night" for Others, Games, Programs, Song library, Progress, Profile and Home's other states (16 Nov 2026). No mockup: follows the language set in
   look-night-base.css and the matched screens. Only with html.look-night. */

  /* ---------- Shared on these pages: the matched screens' rows, discs, labels and pills ---------- */
  html.look-night .page:is(.others, .games, .programs, .program, .songs, .progress, .profile, .home) {
    --nt-row: #182850; --nt-row-rim: #465d90; --nt-disc: #121f47; --nt-disc-rim: #3b4a7b; --nt-icon: #3fe6f5;
    --nt-label: #a9b5f0; --nt-soft: #bacdfb; --nt-chev: #c0cefe;
  }
  /* Group labels: the range card's small spaced capitals. */
  html.look-night .page .others-h, html.look-night .page .st-label, html.look-night .page .card-head .card-meta {
    margin: 22px 2px 10px; font: 600 11.5px/14px var(--font-head); letter-spacing: 0.13em; text-transform: uppercase; color: var(--nt-label);
  }
  html.look-night .page .card-head .card-meta { margin: 0; letter-spacing: 0.04em; text-transform: none; font-size: 12.5px; color: var(--nt-icon); }
  /* Rows: white 15.7px names, lavender 13.4px lines, an icon in a navy disc, a lavender chevron. */
  html.look-night .page:is(.others, .programs, .songs, .profile, .progress, .home) .way-row { min-height: 64px; padding: 10px 14px 10px 12px; gap: 14px; }
  html.look-night .page:is(.others, .programs, .songs, .profile, .progress, .home) .way-row .way-ic,
  html.look-night .page:is(.others, .programs, .songs, .profile, .progress, .home) .way-rows .way-row:nth-child(n) .way-ic {
    width: 40px; height: 40px; border-radius: 50%; background: var(--nt-disc); box-shadow: inset 0 0 0 1.5px var(--nt-disc-rim); color: var(--nt-icon);
  }
  html.look-night .page .way-row .way-ic .ic { width: 20px; height: 20px; color: var(--nt-icon); }
  html.look-night .page .way-row .way-ic .ic .ic-fill { fill: rgba(63, 230, 245, 0.18); }
  html.look-night .page .way-row .way-text b, html.look-night .page .way-row > b { font: 700 15.7px/19px var(--font-head); color: #fff; }
  html.look-night .page .way-row .way-text small, html.look-night .page .way-row small { margin-top: 2px; font: 400 13.4px/16.4px var(--font-head); color: var(--nt-soft); }
  html.look-night .page .way-row > .ic { color: var(--nt-chev); }
  /* Cards: titles in white 17px, notes in lavender. */
  html.look-night .page:is(.others, .games, .programs, .program, .songs, .progress, .profile) :is(.card, .hcard) { padding: 16px 16px 17px; border-radius: 24px; }
  html.look-night .page :is(.card, .hcard) :is(.card-title, h2) { font: 700 17.4px/22px var(--font-head); color: #fff; }
  html.look-night .page :is(.card, .hcard) .card-note { font: 400 13.6px/18px var(--font-head); color: var(--nt-soft); }
  /* Profile: the name in white like the card titles, the line under it in lavender (29 Nov 2026). */
  html.look-night .page .user-card .user-name { color: #fff; }
  html.look-night .page .user-card .user-sub { margin-top: 4px; font: 400 13.6px/18px var(--font-head); color: var(--nt-soft); }
  /* Small buttons in cards: the matched screens' pills. */
  html.look-night .page :is(.card, .hcard) .btn-sm { min-height: 36px; padding: 0 16px; font: 700 14px/1 var(--font-head); }
  /* Back links at the top of a band: white with a white arrow. */
  html.look-night .page .pg-back, html.look-night .page a.others-back { color: #fff; font: 600 14.5px/1 var(--font-head); text-decoration-color: rgba(255, 255, 255, 0.5); }
  html.look-night .page .pg-back .ic, html.look-night .page a.others-back .ic { color: #fff; stroke: #fff; }
  /* The bands themselves are phone pictures; laptops get their own band (look-night-wide.css). */
  @media (max-width: 759px) {
  /* Pages with a back link above the sticker: the link sits on the band's top line. */
  html.look-night .page > .page-hero .others-back { display: flex; width: max-content; margin: 0 0 9px; }
  /* Bands without a switch end over the picture's waves, the way Songs' search sits on them. */
  html.look-night .page:is(.others, .games, .programs, .songs) > .page-hero:not(:has(.seg-switch)) { min-height: calc(134px + var(--safe-t, 0px)); margin-bottom: 4px; }
  html.look-night .page.others > .others-group:first-of-type .others-h, html.look-night .page.others > .page-hero + * .others-h { margin-top: 10px; }

  /* ---------- A band for headers that aren't tab heroes (a program's page, My song): the Your path picture ---------- */
  html.look-night body:has(.page > .nt-band) .app-main { background: url("../media/practice-hero.jpg") 50% var(--safe-t, 0px) / 100% auto no-repeat, var(--nb-page); }
  html.look-night body:has(.page > .nt-band) .app-main::before { display: none; }
  /* You (Progress and Profile): the same band with the owner's thumbs-up Bud (17 Nov 2026; Others keeps the Practice Bud). */
  html.look-night body:has(.page:is(.progress, .profile):not(.practice):not(.path) > .page-hero) .app-main { background-image: url("../media/you-hero.jpg"), none; }
  html.look-night .page > .nt-band {
    box-sizing: border-box; min-height: calc(134px + var(--safe-t, 0px)); margin: calc(-14px - var(--safe-t, 0px)) calc(-1 * var(--gutter)) 0; padding: calc(13.7px + var(--safe-t, 0px)) 21.2px 12px;
  }
  html.look-night .page > .nt-band .pg-back { display: flex; width: max-content; margin: 0 0 9px; }
  html.look-night .page > .nt-band .eyebrow {
    display: inline-block; height: 24.7px; box-sizing: border-box; margin: 0; padding: 0 9.4px; border-radius: 999px;
    font: 700 12.6px/24.7px var(--font-head); letter-spacing: 0.03em; text-transform: uppercase; color: #10163a;
    background: linear-gradient(180deg, #fff3a0 0%, #fdea7e 50%, #f9dc5a 100%); box-shadow: 0 1.5px 0 rgba(150, 110, 10, 0.55), 0 3px 8px rgba(0, 0, 0, 0.25);
  }
  html.look-night .page > .nt-band .page-title { position: relative; max-width: 205px; margin: 3.2px 0 0; padding: 0 0 9px; color: #fff; font: 800 24px/27.5px var(--font-head); letter-spacing: 0; }
  html.look-night .page > .nt-band .page-title::after {
    content: ''; position: absolute; left: -3.9px; bottom: -1px; width: 145px; height: 10px; pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 9'%3E%3Cdefs%3E%3ClinearGradient id='u' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%2346e4f8'/%3E%3Cstop offset='.63' stop-color='%2368f6ff'/%3E%3Cstop offset='.76' stop-color='%2346d4f0' stop-opacity='.55'/%3E%3Cstop offset='1' stop-color='%2346d4f0' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M2.4 6.2 C30 3.2 70 1.8 100 2.0 C112 2.1 124 2.9 131 4.0 C123 4.8 112 5.5 100 5.9 C70 6.6 32 7.6 3.4 9.2 A1.5 1.5 0 0 1 2.4 6.2 Z' fill='url(%23u)'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
  }
  html.look-night .page > .nt-lede { margin: 14px 2px 16px; max-width: none; font: 400 14.6px/20px var(--font-head); color: var(--nt-soft, #bacdfb); }
  }

  /* ---------- A program's page ---------- */
  html.look-night .page.program .pg-grid { gap: 14px; }
  html.look-night .page.program .pg-next { gap: 6px; }
  html.look-night .page.program .pg-next .eyebrow { font: 700 11.5px/14px var(--font-head); letter-spacing: 0.12em; color: var(--nt-label, #a9b5f0); }
  html.look-night .page.program .pg-next h2 { font: 700 20px/25px var(--font-head); }
  html.look-night .page.program .pg-next .btn { margin-top: 8px; }
  /* The days: the Your path lesson rows; today's day glows cyan, as the next lesson does there. */
  html.look-night .page.program .pg-days ol { gap: 6px; grid-template-columns: 1fr 1fr; }
  html.look-night .page.program .pg-day {
    min-height: 46px; padding: 6px 12px 6px 8px; gap: 10px; border-radius: 16px; color: #fff; background: #182850; box-shadow: inset 0 0 0 1.3px #465d90; outline: 0;
    font: 600 14.4px/1.2 var(--font-head);
  }
  html.look-night .page.program .pg-day-icon { width: 30px; height: 30px; background: #121f47; box-shadow: inset 0 0 0 1.5px #3b4a7b; }
  html.look-night .page.program .pg-day-icon .ic { width: 14px; height: 14px; color: #d1e0ff; }
  html.look-night .page.program .pg-day-icon .ic .ic-fill { fill: #d1e0ff; }
  html.look-night .page.program .pg-day.is-done .pg-day-icon { background: #0d4f7a; box-shadow: inset 0 0 0 1.5px #19d7f2; }
  html.look-night .page.program .pg-day.is-done .pg-day-icon .ic { color: #2fe4f6; }
  html.look-night .page.program .pg-day.is-next {
    background: linear-gradient(90deg, #015888 0%, #024d7a 50%, #00659c 100%); box-shadow: inset 0 0 0 2px #9ffcff, 0 0 12px rgba(70, 230, 255, 0.45);
  }
  html.look-night .page.program .pg-day.is-next .pg-day-icon { background: rgba(0, 40, 80, 0.35); box-shadow: inset 0 0 0 2px #12d8f4; }
  html.look-night .page.program .pg-day.is-next .pg-day-icon .ic, html.look-night .page.program .pg-day.is-next .pg-day-icon .ic .ic-fill { color: #fff; fill: #fff; }

/* Profile, any width: the Night look is dark only, so the Appearance choice is set aside (kept) while it's on. */
html.look-night .nt-theme-off .seg-ctl { opacity: 0.45; pointer-events: none; }
html.look-night .nt-theme-off .card-note:not(.nt-theme-note) { display: none; }
html.look-night .nt-theme-note { margin-top: 10px; }

  /* Progress: Bud's line in an indigo bubble with a cyan rim, like the matched cards. */
  html.look-night .page .bud-says-bubble {
    background: linear-gradient(120deg, #16316e 0%, #1b3372 100%); color: #fff; font: 600 15px/20px var(--font-head);
    box-shadow: inset 0 0 0 1.5px #3fe6f5, 0 8px 20px -12px rgba(63, 230, 245, 0.6);
  }
  /* Settings controls: the chips' navy wells with a cyan ring on the choice. */
  html.look-night .page .seg-ctl { padding: 4px; border-radius: 16px; background: #0c1838; box-shadow: inset 0 0 0 1.3px #2e3d7c; }
  html.look-night .page .seg-ctl span { border-radius: 12px; font: 600 14.4px/1 var(--font-head); color: #dfe5ff; }
  html.look-night .page .seg-ctl input:checked + span { background: #16316e; color: #fff; box-shadow: inset 0 0 0 1.8px #3fe6f5; }

@media (max-width: 759px) {
  /* ---------- Home's other states (done for today, locked, a song in progress): the night Home's top, its words ---------- */
  html.look-night body:has(.page.home:not(.nt-home)) .app-main { background: var(--nb-page); }
  html.look-night body:has(.page.home:not(.nt-home)) .app-main::before { display: none; }
  html.look-night .page.home:not(.nt-home) .st-home > .st-hero:first-child,
  html.look-night .page.home:not(.nt-home) .st-home > .st-singer + .st-hero {
    position: relative; isolation: isolate; display: block; min-height: 0; margin: calc(-14px - var(--safe-t, 0px)) calc(-1 * var(--gutter)) 4px; padding: calc(18.4px + var(--safe-t, 0px)) 21.3px 6px;
    border: 0; border-radius: 0; background: none; box-shadow: none; color: #fff;
  }
  /* The night Home's own picture above its button (Bud with the microphone, notes, waves), faded into the navy. */
  html.look-night .page.home:not(.nt-home) .st-home > .st-hero::before {
    content: ''; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: calc(126.9 * 100vw / 375 + var(--safe-t, 0px)); pointer-events: none;
    background: url("../media/tabs-home-hero.jpg") 0 var(--safe-t, 0px) / 100% auto no-repeat, #091734;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  }
  html.look-night .page.home:not(.nt-home) .st-hero > .ph-deco, html.look-night .page.home:not(.nt-home) .st-hero .st-bud { display: none !important; }
  html.look-night .page.home:not(.nt-home) .st-hero .eyebrow { max-width: 190px; margin: 0; font: 600 14px/20px var(--font-head); letter-spacing: 0; text-transform: none; color: #a6f0ff; }
  html.look-night .page.home:not(.nt-home) .st-hero .page-title { max-width: 205px; margin: 6px 0 0; font: 700 27.9px/29px var(--font-head); letter-spacing: 0; color: #fff; }
  html.look-night .page.home:not(.nt-home) .st-hero .st-heard { display: block; max-width: 205px; margin: 8px 0 0; font: 500 14px/19px var(--font-head); color: #dfe5ff; }
  html.look-night .page.home:not(.nt-home) .st-hero .st-pitch, html.look-night .page.home:not(.nt-home) .st-hero .st-legend { display: none; }
  html.look-night .page.home:not(.nt-home) .st-hero .st-hero-foot { margin-top: 20px; }
  html.look-night .page.home:not(.nt-home) .st-hero .st-hero-actions { gap: 10px; }
  /* The main button: the night Home's 335 x 55 yellow pill. */
  html.look-night .page.home:not(.nt-home) .st-hero .btn-lg, html.look-night .page.home:not(.nt-home) .st-hero .st-hero-actions .btn {
    min-height: 54.7px; border-radius: 999px; font: 700 19px/1 var(--font-head);
  }
  html.look-night .page.home:not(.nt-home) .st-hero .btn-link { color: #8fd8ff; font: 600 15px/1 var(--font-head); }
  /* The unlock card: the night Home's own (media/home-unlock.jpg: crown, line, chevron), our words on it. */
  html.look-night .page.home:not(.nt-home) .home-up {
    position: relative; display: block; box-sizing: border-box; height: calc(60.8 * 100vw / 375); padding: 0; border: 0; border-radius: calc(24 * 100vw / 375);
    background: url("../media/home-unlock.jpg") 0 0 / 100% 100% no-repeat; box-shadow: none; color: #fff;
  }
  html.look-night .page.home:not(.nt-home) .home-up > .home-up-ic, html.look-night .page.home:not(.nt-home) .home-up > .ic { display: none; }
  html.look-night .page.home:not(.nt-home) .home-up b { position: absolute; left: calc(72.6 * 100vw / 375); top: calc(7.7 * 100vw / 375); font: 700 calc(17.4 * 100vw / 375)/calc(24 * 100vw / 375) var(--font-head); color: #fff; white-space: nowrap; }
  html.look-night .page.home:not(.nt-home) .home-up small { position: absolute; left: calc(72.2 * 100vw / 375); top: calc(33.3 * 100vw / 375); font: 500 calc(13.45 * 100vw / 375)/calc(17 * 100vw / 375) var(--font-head); color: #e6e9ff; white-space: nowrap; }
  /* Everything else on Home in these states: the night Home's lower cards. */
  html.look-night .page.home:not(.nt-home) .st-home { gap: 14px; }
  html.look-night .page.home:not(.nt-home) :is(.st-card:not(.st-hero), .hcard:not(.home-up)) {
    background: linear-gradient(160deg, rgba(40, 58, 150, 0.55), rgba(22, 36, 90, 0.6)); color: #fff; border: 1px solid rgba(110, 124, 230, 0.4); box-shadow: none;
  }
  html.look-night .page.home:not(.nt-home) .stat-grid > li { background: none; border: 0; }
  html.look-night .page.home:not(.nt-home) .stat-tile { background: linear-gradient(160deg, rgba(40, 58, 150, 0.55), rgba(22, 36, 90, 0.6)); border: 1px solid rgba(110, 124, 230, 0.4); box-shadow: none; }
  html.look-night .page.home:not(.nt-home) :is(.stat-icon, .stat-label) { color: #8fe9ff; }
  html.look-night .page.home:not(.nt-home) .stat-icon { background: rgba(63, 216, 255, 0.14); box-shadow: none; }
  html.look-night .page.home:not(.nt-home) :is(.st-card:not(.st-hero), .hcard:not(.home-up)) :is(p, small) { color: #c6d0f5; }
  html.look-night .page.home:not(.nt-home) :is(.st-card:not(.st-hero), .hcard:not(.home-up)) :is(b, h2, h3, strong) { color: #fff; }
  /* The keyboard in the range card: white and black keys, the comfortable ones cyan, as on the night Home. */
  html.look-night .page.home:not(.nt-home) .st-keys .st-kw { fill: #eef1fb; stroke: #0b0f22; }
  html.look-night .page.home:not(.nt-home) .st-keys .st-kw.on { fill: #22eef2; stroke: #22eef2; }
  html.look-night .page.home:not(.nt-home) .st-keys .st-kb { fill: #0b0f22; }
  html.look-night .page.home:not(.nt-home) .st-keys .st-kb.on { fill: #14a3ab; }
  html.look-night .page.home:not(.nt-home) .st-range { color: #fff; }
}

  /* Programs: each program a night card, its icon in the navy disc, its days in cyan. */
  html.look-night .page.programs .pg-card {
    border: 1.5px solid transparent; border-radius: 24px; 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;
    box-shadow: 0 10px 24px -16px rgba(53, 121, 219, 0.55);
  }
  html.look-night .page.programs .pg-icon { width: 42px; height: 42px; border-radius: 50%; background: #121f47; box-shadow: inset 0 0 0 1.5px #3b4a7b; color: #3fe6f5; }
  html.look-night .page.programs .pg-icon .ic { color: #3fe6f5; }
  html.look-night .page.programs .pg-text b { font: 700 17px/22px var(--font-head); color: #fff; }
  html.look-night .page.programs .pg-text small { color: #bacdfb; }

  /* The Song library: the Songs tab's pill search and chips (All filled cyan, the rest a grey rim on navy). */
  html.look-night .page.songs .songs-search .input {
    min-height: 46px; border-radius: 999px; padding-left: 20px; border: 2.3px solid transparent;
    background: linear-gradient(90deg, #222e7e, #1d2a74) padding-box, linear-gradient(180deg, #3d9bf8 0%, #6165f6 32%, #6165f6 68%, #468be8 100%) border-box;
    box-shadow: 0 0 5px rgba(78, 96, 238, 0.45); font: 500 16.5px/1 var(--font-head);
  }
  html.look-night .page .chips .chip {
    height: 34.8px; min-height: 0; padding: 0 17.6px; border: 0; border-radius: 999px; color: #fff; font: 600 13.6px/1 var(--font-head);
    background: #0b1530; box-shadow: inset 0 0 0 1.6px #46536f;
  }
  html.look-night .page .chips .chip[aria-pressed="true"] { background: #08f0f6; color: #04111c; box-shadow: 0 0 14px rgba(8, 240, 246, 0.45); }
  /* Song rows: the play disc yellow where it's free (the one bright thing), the lock in the navy disc. */
  html.look-night .page.songs .lib-main { color: #fff; }

@media (max-width: 759px) {
  /* The shared tab bar (css/look-night.css) lists only the four matched pages; the same bar on these pages. */
  html.look-night body:has(.page:is(.others, .games, .programs, .program, .songs, .progress, .profile)) .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:has(.page:is(.others, .games, .programs, .program, .songs, .progress, .profile)) .tab-list { padding: 8.3px 1.4px 10.2px 3.4px !important; }
  html.look-night body:has(.page:is(.others, .games, .programs, .program, .songs, .progress, .profile)) .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:has(.page:is(.others, .games, .programs, .program, .songs, .progress, .profile)) .tab .ic { padding: 1px 14px !important; color: #c4d2fe !important; }
  html.look-night body:has(.page:is(.others, .games, .programs, .program, .songs, .progress, .profile)) .tab .ic .ic-fill { fill: none !important; }
  html.look-night body:has(.page:is(.others, .games, .programs, .program, .songs, .progress, .profile)) .tab span { line-height: 16px; }
  html.look-night body:has(.page:is(.others, .games, .programs, .program, .songs, .progress, .profile)) .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:has(.page:is(.others, .games, .programs, .program, .songs, .progress, .profile)) .tab.is-on .ic { color: #5af0fd !important; }
}

/* "Your latest feedback" on You → Progress, in the Night look (owner, 17 Nov 2026). */
html.look-night .yf-main { background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1.5px rgba(90, 240, 253, 0.35); }
html.look-night .yf-score { background: radial-gradient(circle at 35% 30%, #1d3a7a 0%, #0e2154 70%); color: #fff; box-shadow: inset 0 0 0 2.5px #5af0fd, 0 0 14px rgba(90, 240, 253, 0.25); }
html.look-night .yf-text b { color: #fff; }
html.look-night .yf-text small { color: #c4d2fe; }
html.look-night .yf-go, html.look-night .yf-main > .ic { color: #5af0fd; }
html.look-night .yf-sub { color: #8fa3d6; }
html.look-night .yf-mini { color: #5af0fd; }
html.look-night .yf-list span { color: #fff; }
html.look-night .yf-list small, html.look-night .yf-list .ic { color: #8fa3d6; }

