/* Calmer tab screens: Home, Practice, You, Others, Unlock (21 Nov 2026). Prefix cm-. */

/* ---------- Home (A3, L4) ---------- */
@media (max-width: 759px) {
  /* The main button names the song being learnt and its next step, on the mockup's yellow pill. */
  html.look-night .nt-pick.cm-pick { padding: 0 calc(22 * var(--u)) calc(4 * var(--u)); }
  html.look-night .cm-pick-text { display: grid; justify-items: center; gap: calc(2 * var(--u)); min-width: 0; max-width: 100%; text-align: center; }
  html.look-night .cm-pick-text b { font: 800 calc(18 * var(--u))/1.1 var(--font-head); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html.look-night .cm-pick-text small { font: 700 calc(12.6 * var(--u))/1.1 var(--font-head); color: #3b3410; letter-spacing: 0.01em; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html.look-night .nt-pick.cm-pick > .ic { flex: none; }
  html.look-night .nt-pick.cm-pick .cm-pick-text { flex: 1 1 auto; }

  /* Today's practice as one slim row. */
  html.look-night .nt-today.cm-slim {
    height: auto; min-height: calc(60 * var(--u)); margin-top: calc(8 * var(--u));
    display: flex; align-items: center; gap: calc(12 * var(--u)); padding: calc(10 * var(--u)) calc(16 * var(--u));
    border-radius: calc(20 * var(--u)); background-image: linear-gradient(120deg, #3540b4 0%, #4a2fa0 100%) !important;
    border: 1px solid rgba(150, 160, 255, 0.35); box-shadow: 0 6px 18px rgba(6, 10, 40, 0.35);
  }
  html.look-night .cm-slim .nt-today-ic { display: grid !important; place-items: center; flex: none; width: calc(38 * var(--u)); height: calc(38 * var(--u)); border-radius: calc(12 * var(--u)); background: rgba(255, 255, 255, 0.13); color: #a6f0ff; }
  html.look-night .cm-slim .nt-today-ic .ic { width: calc(20 * var(--u)); height: calc(20 * var(--u)); }
  html.look-night .cm-slim .nt-today-title { position: static; flex: 1; min-width: 0; white-space: normal; font-size: calc(16.5 * var(--u)); line-height: 1.2; }
  html.look-night .cm-slim .nt-chip { position: static; flex: none; padding: calc(4 * var(--u)) calc(9 * var(--u)); border-radius: 999px; background: rgba(255, 255, 255, 0.14); }
  html.look-night .cm-slim .nt-today-body, html.look-night .cm-slim .nt-play { display: none !important; }
  html.look-night .cm-slim .nt-start { position: static; width: auto; height: auto; padding: 0; flex: none; }
  html.look-night .cm-slim .nt-start span { display: none; }
  html.look-night .cm-slim .nt-start .ic { display: block !important; width: calc(18 * var(--u)); height: calc(18 * var(--u)); color: #fff; }
  html.look-night .nt-today.cm-slim + .nt-up { margin-top: calc(10 * var(--u)); }
  /* The cards under the upgrade line up with the ones above it. */
  html.look-night .nt-home .nt-more { margin-left: calc(11 * var(--u) - var(--gutter)); width: calc(353.4 * var(--u)); }
}
/* "Your week": the week, the streak, the level and the next check-up, in one card that opens You. */
.cm-week { display: grid !important; gap: 8px; padding: 14px 16px; text-decoration: none; color: inherit; }
.cm-week-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cm-week-top .ic { width: 18px; height: 18px; opacity: 0.8; }
.cm-week p { margin: 0; }
.cm-week .st-days { margin: 0; max-width: none; flex-basis: auto; }
.cm-week .cm-week-facts { font-size: 0.82rem; }

/* ---------- Practice (A6) ---------- */
/* The exercise name and its level open the exercise's sheet (where the level is picked). */
.cm-px-name, .cm-px-level { border: 0; background: none; padding: 0; margin: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.cm-px-level { color: var(--teal-ink, #0f8e98); text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }
html.look-night .cm-px-level { color: #43bafd; }
/* The level picker at the top of the exercise's sheet. */
.cm-how-levels { display: flex; width: max-content; max-width: 100%; margin: 4px 0 14px; }
.cm-how-levels button { min-height: 36px; padding: 6px 14px; font-size: 0.9rem; }
html.look-night .cm-how-levels { background: #0f2254; border-color: #2a3f78; }
html.look-night .cm-how-levels button { color: #c4d2fe; }
html.look-night .cm-how-levels button[aria-pressed="true"] { background: #fedf4e; color: #181d17; }
/* "Good to know" as one row. */
.cm-know { margin: 24px 0 8px; }
.cm-know-row .px-cat-icon { flex: none; }
.cm-know-sheet .px-know-list { margin-top: 0; }
@media (max-width: 759px) {
  /* With no "For you" pick, the five-minute warm-up is the one card up top, full width, its reason showing. */
  html.look-night .page.practice .cm-px-one { grid-template-columns: 1fr; }
  html.look-night .page.practice .cm-px-one .px-hero {
    display: flex !important; align-items: center; gap: 12px; height: auto; padding: 12px 40px 12px 14px !important;
  }
  html.look-night .page.practice .cm-px-one .due-icon { position: static; flex: none; width: 34px; height: 34px; }
  html.look-night .page.practice .cm-px-one .px-hero-text { position: static; width: auto; display: grid; gap: 2px; }
  html.look-night .page.practice .cm-px-one .px-hero-text b { font: 700 17px/20px var(--font-head) !important; letter-spacing: -0.4px !important; }
  html.look-night .page.practice .cm-px-one .px-hero-text small { display: block !important; font: 400 13.5px/18px var(--font-head) !important; color: #b9d3f5 !important; }
  html.look-night .page.practice .cm-px-one .px-hero-chev { top: 50%; margin-top: -12px; }
  /* "For you" now opens the page, so it sits where the two quick cards were. */
  html.look-night .page.practice .page-hero + .px-foryou { margin-top: 16.8px !important; }
  html.look-night .page.practice .cm-know-row { 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); color: #fff; }
  html.look-night .page.practice .cm-know-row small { color: #c6d0f5; }
}

/* ---------- You (A7, L4) ---------- */
.cm-songs-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.cm-song { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "text next" "meter meter"; align-items: center; gap: 6px 12px;
  padding: 12px 14px; border-radius: 14px; background: rgba(127, 140, 255, 0.08); text-decoration: none; color: inherit; }
.cm-song-text { grid-area: text; display: grid; gap: 2px; min-width: 0; }
.cm-song-text b { font-family: var(--font-head); font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-song-text small { font-size: 0.85rem; opacity: 0.8; }
.cm-song-next { grid-area: next; display: inline-flex; align-items: center; gap: 4px; font: 700 0.85rem var(--font-head); color: var(--teal-ink, #0f8e98); white-space: nowrap; }
.cm-song-next .ic { width: 16px; height: 16px; }
.cm-song-meter { grid-area: meter; display: block; height: 5px; border-radius: 9px; background: rgba(127, 140, 255, 0.2); overflow: hidden; }
.cm-song-meter i { display: block; height: 100%; width: calc(var(--v) * 100%); border-radius: inherit; background: var(--teal, #22d3e0); }
html.look-night .cm-song-next { color: #5fe6f2; }
/* "Your voice over time" (js/voice-time.js, 22 Nov 2026): songs take by take, the notes you land, minutes this week. */
.vt-sub { margin: 2px 0 0; }
.vt-songs { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.vt-song { display: grid; grid-template-columns: minmax(0, 1fr) 96px 46px; align-items: center; gap: 10px; padding: 10px 12px 10px 14px; border-radius: 14px; background: rgba(127, 140, 255, 0.08); }
.vt-song-text { display: grid; gap: 2px; min-width: 0; }
.vt-song-text b { font-family: var(--font-head); font-size: 0.98rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-song-text small { font-size: 0.82rem; opacity: 0.8; }
.vt-spark { width: 96px; height: 32px; overflow: visible; }
.vt-spark path { fill: none; stroke: var(--teal, #22d3e0); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.vt-spark circle { fill: var(--teal, #22d3e0); }
.vt-gain { justify-self: end; font: 800 1.05rem var(--font-head); color: #1f9d55; font-variant-numeric: tabular-nums; }
.vt-gain.is-flat { color: inherit; opacity: 0.75; }
.vt-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 18px 0 8px; font: 700 0.98rem var(--font-head); }
.vt-h span { font: 600 0.85rem var(--font-body, inherit); opacity: 0.8; }
.vt-keys { display: block; width: 100%; max-width: 520px; height: auto; margin: 0 auto; }
.vt-kw { fill: #f4f6ff; stroke: rgba(16, 22, 58, 0.25); stroke-width: 0.8; }
.vt-kw.is-sung { fill: #e4fbfd; }
.vt-kb { fill: #1b2350; }
.vt-kl { font: 600 8px var(--font-body, sans-serif); text-anchor: middle; fill: currentColor; opacity: 0.7; }
.vt-nb.is-good, .vt-legend .is-good { fill: #2fc77a; background: #2fc77a; }
.vt-nb.is-mid, .vt-legend .is-mid { fill: #f5c542; background: #f5c542; }
.vt-nb.is-low, .vt-legend .is-low { fill: #ff8a7a; background: #ff8a7a; }
.vt-legend { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 6px; margin: 8px 0 0; font-size: 0.8rem; opacity: 0.85; }
.vt-legend span { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-left: 8px; }
.vt-legend span:first-child { margin-left: 0; }
.vt-notes .card-note { margin-top: 6px; text-align: center; }
.vt-bars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.vt-bars li { display: grid; justify-items: center; gap: 3px; }
.vt-bar { display: flex; align-items: flex-end; width: 100%; max-width: 34px; height: 56px; border-radius: 8px; background: rgba(127, 140, 255, 0.12); overflow: hidden; }
.vt-bar i { display: block; width: 100%; height: calc(var(--v) * 100%); border-radius: 8px; background: var(--teal, #22d3e0); }
.vt-bars b { font: 700 0.78rem var(--font-head); min-height: 1em; font-variant-numeric: tabular-nums; }
.vt-bars small { font-size: 0.75rem; opacity: 0.7; }
.vt-bars li.is-today small { opacity: 1; font-weight: 700; }
html.look-night .vt-song { background: rgba(127, 150, 255, 0.1); }
html.look-night .vt-song-text small, html.look-night .vt-h span { color: #bacdfb; opacity: 1; }
html.look-night .vt-spark path { stroke: #22eef2; }
html.look-night .vt-spark circle { fill: #22eef2; }
html.look-night .vt-gain { color: #3ee08f; }
html.look-night .vt-kw { fill: #e8ecff; stroke: rgba(9, 19, 43, 0.6); }
html.look-night .vt-kw.is-sung { fill: #d9fbff; }
html.look-night .vt-kb { fill: #0b1433; }
html.look-night .vt-kl { fill: #bacdfb; opacity: 1; }
html.look-night .vt-bar { background: rgba(127, 150, 255, 0.14); }
html.look-night .vt-bar i { background: linear-gradient(180deg, #22eef2, #1d8fe0); }
@media (max-width: 380px) { .vt-song { grid-template-columns: minmax(0, 1fr) 72px 40px; gap: 8px; } .vt-spark { width: 72px; } }
/* "Voice details": one row that opens the skill profile, history and check-ups. */
.cm-voice > summary { list-style: none; display: flex; align-items: center; gap: 12px; cursor: pointer; }
.cm-voice > summary::-webkit-details-marker { display: none; }
.cm-voice-text { flex: 1; display: grid; gap: 2px; min-width: 0; }
.cm-voice-text b { font-family: var(--font-head); font-size: 1rem; }
.cm-voice-text small { font-size: 0.85rem; opacity: 0.8; }
.cm-voice > summary > .ic { width: 18px; height: 18px; flex: none; transition: transform 0.2s; }
.cm-voice[open] > summary > .ic { transform: rotate(90deg); }
.cm-voice[open] > summary { margin-bottom: 14px; }
@media (prefers-reduced-motion: reduce) { .cm-voice > summary > .ic { transition: none; } }

/* ---------- Voice check result (A10) ---------- */
/* What the lit keys mean, in words, in place of the note letters; the keyboard drops its letters too. */
.wn-range.cm-wn-range { font-size: 1.02rem !important; line-height: 1.35 !important; font-weight: 600 !important; letter-spacing: 0 !important; }
.wn-panel .piano .k-label { display: none; }
@media (max-width: 759px) { html.look-night .nt-pick.cm-pick .cm-pick-text { padding-inline: calc(34 * var(--u)) calc(16 * var(--u)); box-sizing: border-box; } }

/* Home, even spacing (owner on the Galaxy, 22 Nov 2026: "something with the spaces looks off"). Every block now
   shares one width and edges (the cards' 353.4 units, centered) and one gap (12 units), so the song button lines
   up with the cards under it and the gap above Quiet practice is no longer double. Units scale with the phone's
   width, so a Galaxy, an iPhone SE and a Pro Max all keep the same rhythm. */
@media (max-width: 759px) {
  html.look-night .nt-home .nt-pick.cm-pick { left: calc(11 * var(--u)); width: calc(353.4 * var(--u)); box-sizing: border-box; }
  html.look-night .nt-home .nt-today.cm-slim { margin-top: calc(12 * var(--u)); }
  html.look-night .nt-home .nt-today.cm-slim + .nt-up { margin-top: calc(12 * var(--u)); }
  html.look-night .nt-home .nt-more { margin-top: calc(12 * var(--u)); gap: calc(12 * var(--u)); }
  html.look-night .nt-home .nt-more > :first-child { margin-top: 0; }
}
@media (max-width: 759px) {
  /* The song button: a real button now. The yellow pill, its note and its arrow were painted into the header
     picture (home-hero.jpg) at fixed spots, narrower than the cards, so a longer song name ran into the painted
     arrow. This pill covers the painted one: the cards' width, the app's yellow, its own note pinned left and arrow
     pinned right, the song and its step centered between them. */
  html.look-night .nt-home .nt-pick.cm-pick { border-radius: 999px; color: #1b1c2b;
    background: linear-gradient(180deg, #fff3a0 0%, #ffe46a 35%, #f5c044 100%);
    box-shadow: 0 2px 0 rgba(150, 95, 10, 0.6), 0 10px 22px -10px rgba(253, 200, 70, 0.75); }
  html.look-night .nt-home .nt-pick.cm-pick > .ic { display: block !important; width: calc(24 * var(--u)); height: calc(24 * var(--u)); color: #1b1c2b; }
  html.look-night .nt-home .nt-pick.cm-pick { display: grid; grid-template-columns: calc(26 * var(--u)) minmax(0, 1fr) calc(20 * var(--u)); align-items: center; column-gap: calc(10 * var(--u)); padding: 0 calc(18 * var(--u)); }
  html.look-night .nt-home .nt-pick.cm-pick .cm-pick-text { grid-column: 2; grid-row: 1; padding-inline: 0; }
  html.look-night .nt-home .nt-pick.cm-pick > .ic { position: static !important; inset: auto !important; transform: none !important; margin: 0 !important; grid-row: 1; }
  html.look-night .nt-home .nt-pick.cm-pick > .ic:first-child { grid-column: 1; justify-self: start; }
  html.look-night .nt-home .nt-pick.cm-pick > .ic:last-child { grid-column: 3; justify-self: end; }
}
/* "Can't sing out loud right now?" then "Try quiet practice": always two lines. */
.home-quiet .home-quiet-l { display: block; }

/* Profile photos (22 Nov 2026): the Google picture fills the round avatar (Profile, the singers list, the side rail).
   Apple never shares a photo, so Apple and email accounts keep their initials. */
.avatar.has-pic, .hh-av.has-pic { overflow: hidden; padding: 0; background: #dfe5ff; }
.avatar.has-pic img, .hh-av.has-pic img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.avatar-lg.has-pic { box-shadow: 0 0 0 3px rgba(34, 238, 242, 0.55); }

/* A finished step (owner's iPhone, 22 Nov 2026: "Hum an easy note" done looked broken): no collapsed lane line under
   the title, the heading centered over a centered result, a check mark, no repeated "Done.", and "Try again" readable. */
.task.is-finished .task-stage:not(:has(.ex-listen:not([hidden]))) { display: none; }
.task.is-finished .task-top, .task.is-finished > .ob-title { text-align: center; justify-content: center; }
.task.is-finished .task-status:not(:empty) { margin-top: 18px !important; position: relative; text-align: center; }
.task.is-finished .task-status.is-good:not(:empty) { padding-top: 64px; }
.task.is-finished .task-status.is-good:not(:empty)::before {
  content: ''; position: absolute; left: 50%; top: 0; width: 52px; height: 52px; margin-left: -26px; border-radius: 50%;
  background: rgba(62, 224, 143, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ee08f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 28px no-repeat;
  box-shadow: inset 0 0 0 2px rgba(62, 224, 143, 0.5);
}
.task.is-finished .task-status:not(:empty) ~ .ex-result .ex-score.is-nice { display: none; }
.task.is-finished .ex-result-actions { width: 100%; max-width: 420px !important; margin-top: 20px; gap: 6px; }
.task.is-finished .ex-result-actions .btn-primary { width: 100%; }
.task.is-finished .ex-result-actions [data-act="again"] { background: none !important; box-shadow: none !important; border: 0 !important; color: var(--teal-ink, #0f8e98) !important; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; }
html.look-night .task.is-finished .ex-result-actions [data-act="again"], html.look-night .task.is-finished .ex-result-actions [data-act="again"] span { color: #22eef2 !important; }
html.look-night .task.is-finished .task-status:not(:empty) { color: #e8eeff; }

/* Exercise lanes on phones (owner's iPhone, 22 Nov 2026: Echo Bud's tune cut off "Play it again" and the buttons). The
   phone rule in app.css lost to the general one after it, so the lane was always 360px; this sizes it to the screen,
   less the notch and the home bar. */
@media (max-width: 600px) {
  .task canvas.pitch:not(.pitch-lane) { height: clamp(140px, calc(100svh - 570px - var(--safe-t, 0px) - var(--safe-b, 0px)), 360px); }
}
/* "Play it again" while copying Bud: a quiet outlined button, not a second white main button. */
.task [data-act="replay"]:not([hidden]) { min-height: 44px; }
html.look-night .task [data-act="replay"] { background: rgba(34, 238, 242, 0.08) !important; color: #e8fdff !important; border: 1.5px solid rgba(34, 238, 242, 0.5) !important; box-shadow: none !important; }

/* Home, calmer (owner, 26 Nov 2026: "isn't that screen over crowded?" / "calm it"). The song is the one loud thing:
   Today's practice is a quiet dark row, and the upgrade card is slimmer, with a thin gold edge and no glow or sweep.
   The upgrade card still shows without scrolling at 360x640. */
@media (max-width: 759px) {
  html.look-night .nt-home .nt-today.cm-slim {
    min-height: calc(54 * var(--u)); background-image: none !important; background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(160, 175, 255, 0.2); box-shadow: none;
  }
  html.look-night .nt-home .cm-slim .nt-today-ic { width: calc(34 * var(--u)); height: calc(34 * var(--u)); background: rgba(255, 255, 255, 0.07); color: #9fe7ef; }
  html.look-night .nt-home .cm-slim .nt-today-title { font-size: calc(15.5 * var(--u)); font-weight: 700; }
  html.look-night .nt-home .cm-slim .nt-chip { background: rgba(255, 255, 255, 0.08); color: #c9d2ff; }
  html.look-night .nt-home .cm-slim .nt-start .ic { color: #c9d2ff; }
  html.look-night .nt-home .nt-up {
    min-height: calc(52 * var(--u)); padding: calc(6 * var(--u)) calc(8 * var(--u)) calc(6 * var(--u)) calc(10 * var(--u)); gap: calc(10 * var(--u));
    border-width: 1px; border-radius: calc(20 * var(--u));
    background: linear-gradient(115deg, #1d1f55 0%, #161d4e 100%) padding-box,
                linear-gradient(120deg, rgba(245, 192, 68, 0.75) 0%, rgba(138, 90, 26, 0.6) 60%, rgba(245, 192, 68, 0.75) 100%) border-box !important;
    box-shadow: none;
  }
  html.look-night .nt-home .nt-up-crown { width: calc(32 * var(--u)); height: calc(32 * var(--u)); box-shadow: none; background: rgba(253, 217, 90, 0.16); }
  html.look-night .nt-home .nt-up-crown .ic { width: calc(17 * var(--u)); height: calc(17 * var(--u)); color: #f5c044; }
  html.look-night .nt-home .nt-up-crown .ic .ic-fill { fill: #f5c044; }
  html.look-night .nt-home .nt-up-text b { font-size: calc(15 * var(--u)) !important; }
  html.look-night .nt-home .nt-up-text small { font-size: calc(12.5 * var(--u)) !important; color: #d9c789 !important; }
  html.look-night .nt-home .nt-up-cta { height: calc(30 * var(--u)); font-size: calc(13 * var(--u)); box-shadow: none; background: #f5c044; }
  html.look-night .nt-home .nt-up-shine { display: none; }
}
/* "Keep your plan safe" on Home (owner, 26 Nov 2026: "the bottom part looks weird now"): the same quiet card as the
   rows above it, smaller lock and type, the buttons on one line, the same gap as every other card. */
@media (max-width: 759px) {
  html.look-night .nt-home .nt-more .hh-guest {
    margin: 0; grid-template-columns: calc(32 * var(--u)) 1fr; gap: calc(12 * var(--u)); align-items: start;
    padding: calc(14 * var(--u)) calc(16 * var(--u)); border-radius: calc(20 * var(--u));
    background: rgba(255, 255, 255, 0.05) !important; border: 1px solid rgba(160, 175, 255, 0.2); box-shadow: none;
  }
  html.look-night .nt-home .nt-more .st-full:has(> .hh-guest) { margin: 0; padding: 0; }
  html.look-night .nt-home .hh-guest-ic { width: calc(32 * var(--u)); height: calc(32 * var(--u)); background: rgba(255, 255, 255, 0.07); color: #9fe7ef; }
  html.look-night .nt-home .hh-guest-ic .ic { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }
  html.look-night .nt-home .hh-guest .card-title { font-size: calc(15.5 * var(--u)); line-height: 1.25; margin: 0; }
  html.look-night .nt-home .hh-guest .card-note { font-size: calc(13 * var(--u)); line-height: 1.4; margin-top: calc(3 * var(--u)); color: #c9d2ff; }
  html.look-night .nt-home .hh-guest-btns { margin-top: calc(10 * var(--u)); gap: calc(14 * var(--u)); flex-wrap: nowrap; }
  html.look-night .nt-home .hh-guest-btns .btn { min-height: calc(34 * var(--u)); padding: 0 calc(16 * var(--u)); font-size: calc(14 * var(--u)); }
  html.look-night .nt-home .hh-guest-btns .btn-link { font-size: calc(14 * var(--u)); }
}
/* Home, one card family (owner, 26 Nov 2026: "something with the design colors looks off": the practice row was see-
   through grey, the upgrade card purple and Your week royal blue). Every card on Home sits on the app's shared card
   surface (look-night-base.css: indigo glass, lit rim); the upgrade card keeps only a gold rim to mark it. */
@media (max-width: 759px) {
  html.look-night .nt-home .nt-today.cm-slim, html.look-night .nt-home .nt-more .hh-guest {
    border: 1.5px solid transparent !important;
    background: linear-gradient(120deg, var(--nb-card, #16316e) 0%, var(--nb-card-2, #1b3372) 55%, var(--nb-card-3, #1a2964) 100%) padding-box,
                linear-gradient(180deg, var(--nb-rim-lit, #5868b9) 0%, #3b4aa6 50%, #3579db 100%) border-box !important;
    box-shadow: 0 10px 24px -16px var(--nb-glow, rgba(53, 121, 219, 0.55));
  }
  html.look-night .nt-home .nt-up {
    border: 1.5px solid transparent !important;
    background: linear-gradient(120deg, var(--nb-card, #16316e) 0%, var(--nb-card-2, #1b3372) 55%, var(--nb-card-3, #1a2964) 100%) padding-box,
                linear-gradient(180deg, #f7d978 0%, #c99a3a 55%, #f5c044 100%) border-box !important;
    box-shadow: 0 10px 24px -16px var(--nb-glow, rgba(53, 121, 219, 0.55));
  }
  html.look-night .nt-home .nt-up-crown { background: rgba(253, 217, 90, 0.14); }
  html.look-night .nt-home .cm-slim .nt-today-ic, html.look-night .nt-home .hh-guest-ic { background: rgba(255, 255, 255, 0.1); }
}
