/* Afters · underground (the design session's file): a dark warehouse at 4am under UV blacklight.
   Loaded after booth.css, it only re-skins: the purple is UV light (it glows on edges, active controls
   and focus), the base is deeper black with film grain over concrete, big titles are rave-flyer type, data is mono,
   corners are sharper and gradients fewer. Layout is untouched. Everything that moves is transform or opacity only,
   and stops under prefers-reduced-motion. The lights themselves are booth-lights.js; the score pops booth-pops.js. */

@font-face { font-family: 'Anton'; src: url(fonts/anton-latin-400.woff2) format('woff2'); font-display: swap; }   /* SIL OFL 1.1: fonts/ANTON-OFL.txt */

:root {
  --bg: #040306; --bg2: #09080c; --panel: rgba(10, 9, 13, .93); --panel-solid: #0a090d;
  --line: rgba(236, 235, 228, .09); --line2: rgba(236, 235, 228, .2);
  --ink: #f2f0ea; --muted: #a3a198; --faint: #6b6962;
  --uv: 176, 102, 255;                         /* --acid as an rgb triple, for glows */
  --uvB: 159, 216, 255;                        /* Deck B's cyan */
  --uv-edge: 0 0 0 1px rgba(var(--uv), .6), 0 0 12px rgba(var(--uv), .38), 0 0 32px rgba(var(--uv), .14);
  --uv-soft: 0 0 0 1px rgba(var(--uv), .3), 0 0 16px rgba(var(--uv), .12);
  --uv-text: 0 0 18px rgba(var(--uv), .38), 0 0 2px rgba(var(--uv), .5);
  --flyer: 'Anton', Impact, 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --r: 2px;
  /* the waveform's band colours (--band-low / --band-mid / --band-high, and --band-*-rgb for rgba()) are set on the page
     by booth-waves.js from its COL, the one source: never write them here (test/band-colours.test.js checks) */
}

/* ---------- the room: deep black, concrete underneath, film grain on top (behind the content) ---------- */
html, body { background-color: var(--bg); }
body { background: radial-gradient(1400px 520px at 50% -14%, rgba(70, 22, 130, .32), transparent 62%), var(--bg); }
/* concrete: a large, low-contrast mottle and a vignette; still. One texture stretched over the window, never tiled, so
   it has no edges to show (the old 420 px tile's noise didn't divide into it: straight seams every 420 px) */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 45%, transparent 55%, rgba(0, 0, 0, .55) 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1600' height='1000' viewBox='0 0 1600 1000' preserveAspectRatio='none'><filter id='c' x='0' y='0' width='1' height='1'><feTurbulence type='fractalNoise' baseFrequency='.006 .01' numOctaves='4' seed='7'/><feColorMatrix values='0 0 0 0 .8  0 0 0 0 .78  0 0 0 0 .86  0 0 0 .06 0'/></filter><rect width='1600' height='1000' filter='url(%23c)'/></svg>") 0 0 / 100% 100% no-repeat;
}
/* film grain: still (it used to jump 8 times a second, which read as flicker) and seamless: the noise's frequency is a
   whole number of cycles across the 128 px tile (1.125 × 128 = 144), so stitchTiles joins its edges exactly */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .055;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='128' height='128'><filter id='g' x='0' y='0' width='1' height='1'><feTurbulence type='fractalNoise' baseFrequency='1.125' numOctaves='1' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.6 -.5'/></filter><rect width='128' height='128' filter='url(%23g)'/></svg>");
}
.booth { position: relative; z-index: 1; }          /* the app sits above the room (the lights canvas, concrete and grain) */
.bh { background: rgba(4, 3, 6, .9); border-bottom: 1px solid rgba(var(--uv), .22); box-shadow: 0 1px 0 rgba(0, 0, 0, .8); }

/* ---------- type: flyer headings, mono data ---------- */
h1, h2, .hero-word, .hero-next b, .ft-big, .ft-intro h1, .add-music h2, .mdone h2 { font-family: var(--flyer); font-weight: 400; letter-spacing: .01em; }
h1 { font-size: 44px; line-height: .95; text-transform: uppercase; }
h2 { font-size: 26px; line-height: 1; }
h3 { font-weight: 800; letter-spacing: .08em; font-size: 14px; }
.hero-word { font-size: clamp(76px, 10vw, 150px); line-height: .82; letter-spacing: .005em; text-transform: uppercase; }
.hero-next b { font-size: 42px; letter-spacing: .01em; }
.ft-intro h1 { font-size: 64px; }
/* page titles: a faint UV halo and a slight print misregistration */
#screen > h1:first-child, #screen > header h1, .add-music h2 { text-shadow: none; }
/* ---------- the AFTERS wordmark (design/first-mix-style): flyer type, clean print. The old photocopy mask put specks
   over the letters and their halo (dirty dots); now the print texture sits inside the letters only (a ::before copy of
   the word with its toner noise clipped to its own glyphs, laid over the solid ink), the misregistration is one crisp
   pass of purple and cyan, the UV edge is a tight text-shadow under the ink, and the breathe is a pool of UV light on
   the wall behind the brand (.hero-brand::before: opacity only; still under reduced motion). html[data-wordmark] picks
   the other two options kept in the report: "register" (no texture, 1 px) and "neon" (no texture, no offset, a bright
   neon edge). The lesson's title (.ft-intro h1) gets the same ink and edge without the texture. ---------- */
.hero-word, .ft-intro h1 { color: var(--ink); text-shadow: none; }
.hero-word { position: relative; }
.hero-word::before {
  content: 'AFTERS'; position: absolute; left: 0; top: 0; pointer-events: none; color: transparent; text-shadow: none;   /* (text-shadow inherits: without this the copy's offsets paint over the ink) */
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='p' color-interpolation-filters='sRGB'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='1' seed='11' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .03  0 0 0 0 .02  0 0 0 0 .05  2.6 0 0 0 -1.75'/></filter><rect width='160' height='160' filter='url(%23p)'/></svg>");
  -webkit-background-clip: text; background-clip: text;   /* after the shorthand, which resets the clip */
}
.hero-word::after { position: relative; box-shadow: none; }
.hero-brand { position: relative; isolation: isolate; }
.hero-brand::before { content: ''; position: absolute; left: -10%; top: -36%; width: 76%; height: 130%; z-index: -1; pointer-events: none; opacity: .55; will-change: opacity; background: radial-gradient(closest-side, rgba(var(--uv), .2), rgba(var(--uv), .06) 55%, transparent 100%); animation: uv-breathe 7s ease-in-out infinite; }
@keyframes uv-breathe { 50% { opacity: 1; } }
html[data-wordmark="register"] .hero-word::before, html[data-wordmark="neon"] .hero-word::before { display: none; }
html[data-wordmark="register"] .hero-word { text-shadow: none; }
html[data-wordmark="neon"] .hero-word { color: #fbf8ff; text-shadow: none; }
html[data-wordmark="neon"] .hero-brand::before { opacity: .8; }
.hero-next b, .stage.now b, .ft-big { text-shadow: none; }
.eyebrow, .sect, .mlabel, .fs-k, .coach-k, .tag, .dk, .bnav a { font-family: var(--mono); }
.big, .mono, .fs-pts, .res-scores b, .stat b, .count, .coach-count, .hero-stats b, .stage-n, .grade, .sc-count { font-variant-numeric: tabular-nums; }
.sect { color: var(--muted); letter-spacing: .18em; }
.sect::before { content: '// '; color: rgba(var(--uv), .8); }

/* ---------- surfaces: flat, sharp, high contrast; UV on the edges that matter ---------- */
.panel, .mode, .setcard, .credit, .tp-needs, .mdone, .freebar { border-radius: var(--r); }
.panel, .mode { background: var(--panel); border-color: var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025); }
.mode:hover, .setcard:hover { border-color: rgba(var(--uv), .55); box-shadow: var(--uv-soft); }
.mode::after { display: none; }
.mode.star { border-color: rgba(var(--uv), .5); box-shadow: var(--uv-soft); }
.hero-next { background: var(--panel-solid); border-color: rgba(var(--uv), .85); box-shadow: var(--uv-edge); }
.hero-next::after { border-color: rgba(var(--uv), .35); box-shadow: 0 0 0 22px rgba(var(--uv), .05), 0 0 0 46px rgba(var(--uv), .03); }
.hero-next:hover { box-shadow: 0 0 0 1px var(--acid); }
.hero-go, .stage.now::after, .fs-combo, .stepok, .count { box-shadow: none; }
.hero-bar i, .stage-bar i, .progress .bar i, .sbar i { box-shadow: none; }
.stage { background: var(--panel-solid); }
.path li:first-child .stage, .path li:last-child .stage { border-radius: 0; }
.stage.now { background: rgba(var(--uv), .1); box-shadow: inset 0 0 0 1px var(--acid); }
.stage:hover { background: rgba(var(--uv), .07); }
.more-links a { border-radius: var(--r); }
.more-links a:hover { box-shadow: var(--uv-soft); }
.tag, .dk, .grade, .bbtn, .hc, .mrep, .count, .bnav a, .term-tip, .hear-box:not(:empty), .diagram, .wf, .lanes, .replaycv, .club, .drop-zone { border-radius: var(--r); }

/* controls: lit when they're on, glowing when you touch them */
.bbtn { background: rgba(236, 235, 228, .04); border-color: var(--line2); transition: box-shadow .12s, border-color .12s, background .12s; }
.bbtn:hover:not(.on):not(.primary):not(:disabled) { border-color: rgba(var(--uv), .8); background: rgba(var(--uv), .08); box-shadow: none; }
.bbtn.primary, .bbtn.on { box-shadow: var(--uv-edge); }
.bbtn.primary:hover { box-shadow: 0 0 0 1px #d1a6ff; }
.deckB .bbtn.on { box-shadow: 0 0 0 1px rgba(var(--uvB), .6); }
.hc.set { box-shadow: none; }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 2px; box-shadow: 0 0 0 4px rgba(var(--uv), .16); }
input[type="range"] { accent-color: var(--acid); }
.deckB input[type="range"], .mcol.deckB input[type="range"] { accent-color: var(--deckB); }
input[type="range"]:hover::-webkit-slider-thumb, input[type="range"]:active::-webkit-slider-thumb { box-shadow: 0 0 0 1px rgba(0, 0, 0, .8); }   /* design/calm-coach: the thumb brightens (a drop-shadow filter on the whole input made a blurred layer per hover) */
.deckB input[type="range"]:hover::-webkit-slider-thumb, .deckB input[type="range"]:active::-webkit-slider-thumb { box-shadow: 0 0 0 1px rgba(0, 0, 0, .8); }
.bnav a:hover { color: var(--ink); text-shadow: none; }
.bnav a[aria-current="page"] { text-shadow: none; box-shadow: inset 0 -2px 0 var(--acid); }
.logo-dot { box-shadow: none; }
.conn .led { box-shadow: 0 0 8px currentColor; }

/* the decks: a UV tube along the top edge of each, the club rig and waveforms in black glass */
.deckp { position: relative; }
.deckA.deckp { box-shadow: inset 0 2px 0 rgba(var(--uv), .85); }
.deckB.deckp { box-shadow: inset 0 2px 0 rgba(var(--uvB), .8); }
.mixer { box-shadow: inset 0 2px 0 rgba(236, 235, 228, .18); }
.club { background: #030206; border-color: rgba(var(--uv), .3); box-shadow: none; }
.wf { background: #030304; border-color: rgba(236, 235, 228, .14); }
.hud { border-color: rgba(var(--uv), .3); box-shadow: inset 0 2px 0 rgba(var(--uv), .55); }
.meter i { box-shadow: none; }
.jogd { box-shadow: none; }
.deckB .jogd { box-shadow: none; }

/* results and missions: UV stamp */
.grade.gS { box-shadow: 0 0 0 1px var(--acid); }
.result.panel { border-color: rgba(var(--uv), .35); }
.res-head h2 { font-family: var(--flyer); font-weight: 400; }
.mdone.won { background: rgba(var(--uv), .1); box-shadow: var(--uv-soft); }

/* ---------- score pops (booth-pops.js): one family, small to big, flying to the score ---------- */
.spop-layer { position: fixed; inset: 0; z-index: 30; pointer-events: none; overflow: hidden; contain: strict; }
.spop { position: absolute; left: 0; top: 0; display: flex; align-items: baseline; gap: 8px; white-space: nowrap; padding: 6px 12px 7px; background: rgba(4, 3, 6, .9); border: 1px solid rgba(var(--uv-room), .55); box-shadow: 0 0 18px rgba(var(--uv-room), .35); will-change: transform, opacity; opacity: 0; }
.spop-name { font: 400 20px/1 var(--flyer); text-transform: uppercase; letter-spacing: .03em; color: var(--acid); text-shadow: 0 0 14px rgba(var(--uv-room), .6); }
.spop-pts { font: 800 16px/1 var(--mono); font-style: normal; color: var(--ink); font-variant-numeric: tabular-nums; }
.spop-q { font: 700 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--ink); opacity: .85; }
.spop-sm { padding: 4px 9px 5px; gap: 6px; box-shadow: none; border-color: var(--line2); }
.spop-sm .spop-name { font-size: 14px; color: var(--ink); text-shadow: none; }
.spop-sm .spop-pts { font-size: 12px; }
.spop-lg { padding: 9px 18px 10px; gap: 12px; border-color: var(--acid); box-shadow: 0 0 0 1px rgba(var(--uv-room), .5), 0 0 28px rgba(var(--uv-room), .6), 0 0 70px rgba(var(--uv-room), .25); }
.spop-lg .spop-name { font-size: 40px; color: var(--ink); text-shadow: -2px 0 0 rgba(var(--uv-room), .8), 2px 1px 0 rgba(var(--uvB), .3), 0 0 24px rgba(var(--uv-room), .8); }
.spop-lg .spop-pts { font-size: 24px; color: var(--acid); text-shadow: 0 0 12px rgba(var(--uv-room), .7); }
.spop-qclose { border-color: rgba(255, 176, 0, .5); box-shadow: 0 0 16px rgba(255, 176, 0, .22); }
.spop-qclose .spop-name { color: var(--amber); text-shadow: 0 0 12px rgba(255, 176, 0, .45); }
.spop-qrough .spop-name { color: var(--muted); text-shadow: none; }
.spop-qrough .spop-q { color: var(--red); }
.fs-pts { display: inline-block; }   /* so the score can bump when points land */

@media (prefers-reduced-motion: reduce) {
  .bbtn { transition: none; }
  .hero-brand::before { animation: none; opacity: .8; }
}

/* ---------- waveforms v2 (booth-waves.js): taller lanes, the legend, EQ knobs that glow as a swap window opens ---------- */
.wf { height: 172px; background: #07050b; border-color: rgba(var(--uv), .18); }
.wfs { gap: 6px; position: relative; background: linear-gradient(#fff, #fff) 50% 0 / 2px 100% no-repeat; }   /* design/waveforms: one playhead through both lanes: the line shows through the gap between the canvases (each draws its own at its centre), so the kicks line up on one line */
.wv-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 0 0 6px; font: 700 12px/1 var(--mono); text-transform: lowercase; letter-spacing: .04em; color: var(--muted); }
.wv-k { display: inline-flex; align-items: center; gap: 6px; text-transform: none; letter-spacing: .04em; }
.wv-k i { width: 14px; height: 8px; display: inline-block; }
.wv-low { background: var(--band-low); box-shadow: 0 0 8px rgba(var(--band-low-rgb), .6); } .wv-mid { background: var(--band-mid); box-shadow: 0 0 8px rgba(var(--band-mid-rgb), .5); } .wv-high { background: var(--band-high); box-shadow: 0 0 8px rgba(var(--band-high-rgb), .7); }
.wv-voc { background: repeating-linear-gradient(180deg, rgb(var(--band-mid-rgb)) 0 2px, rgb(var(--band-vox-rgb)) 2px 3px); box-shadow: none; }   /* the vocals' layer (design/waveforms-2) */
.wv-phr { width: 3px !important; height: 12px !important; background: #d6aaff; }
.wv-k i.wv-z { height: 10px; opacity: .55; box-shadow: none; border-top: 2px solid currentColor; }
.wv-clash { background: rgba(255, 40, 48, .45); }
.wv-out { background: rgba(236, 235, 228, .5); }
.wv-vox { width: 8px !important; height: 8px !important; background: #ff3c3c; transform: rotate(45deg); }
.wv-sep { width: 1px; height: 14px; background: var(--line2); }
.wv-lvl { color: var(--acid); font-weight: 800; }
.wv-zoom { display: inline-flex; align-items: center; gap: 6px; }
.wv-zoom .bbtn.sm { padding: 2px 9px; min-width: 28px; }
.kn.wv-glow { position: relative; border-radius: var(--r); }
.kn.wv-glow-high { box-shadow: 0 0 0 1px rgba(var(--band-high-rgb), .45), 0 0 12px rgba(var(--band-high-rgb), .35); }
.kn.wv-glow-mid { box-shadow: 0 0 0 1px rgba(var(--band-mid-rgb), .4), 0 0 12px rgba(var(--band-mid-rgb), .25); }
.kn.wv-glow-bass { box-shadow: 0 0 0 1px rgba(var(--band-low-rgb), .45), 0 0 12px rgba(var(--band-low-rgb), .3); }
.kn.wv-glow.wv-open.wv-glow-high { box-shadow: 0 0 0 2px var(--band-high), 0 0 22px rgba(var(--band-high-rgb), .8); }
.kn.wv-glow.wv-open.wv-glow-mid { box-shadow: 0 0 0 2px var(--band-mid), 0 0 22px rgba(var(--band-mid-rgb), .6); }
.kn.wv-glow.wv-open.wv-glow-bass { box-shadow: 0 0 0 2px var(--band-low), 0 0 22px rgba(var(--band-low-rgb), .7); }
.kn.wv-glow.wv-guided.wv-open { animation: wv-knob 1s ease-in-out infinite; }
@keyframes wv-knob { 50% { filter: brightness(1.35); } }
/* a prep step's control (BoothHints next.prep: the incoming deck's LOW out, volume down, MID down) glows at once in its
   band's colour; the volume fader in off-white (the fade's colour on the lanes) */
.vf.wv-glow { position: relative; border-radius: var(--r); }
.vf.wv-glow-vol, .vf.wv-glow.wv-open.wv-glow-vol { box-shadow: 0 0 0 2px rgba(236, 235, 228, .85), 0 0 20px rgba(236, 235, 228, .35); }
.vf.wv-glow.wv-guided.wv-open { animation: wv-knob 1s ease-in-out infinite; }
/* the swap pops wear their band's colour, so a swap that lands matches the zone it was in */
.spop-k-swap { border-color: var(--band-low); box-shadow: 0 0 18px rgba(var(--band-low-rgb), .45); }
.spop-k-mid { border-color: var(--band-mid); box-shadow: 0 0 18px rgba(var(--band-mid-rgb), .35); }
.spop-k-high { border-color: var(--band-high); box-shadow: 0 0 18px rgba(var(--band-high-rgb), .5); }
.spop-k-swap.spop-qclean .spop-name { color: var(--band-low); text-shadow: 0 0 14px rgba(var(--band-low-rgb), .6); }
.spop-k-mid.spop-qclean .spop-name { color: var(--band-mid); text-shadow: 0 0 14px rgba(var(--band-mid-rgb), .5); }
.spop-k-high.spop-qclean .spop-name { color: var(--band-high); text-shadow: 0 0 14px rgba(var(--band-high-rgb), .8); }
.spop-lg.spop-k-swap .spop-name { color: var(--ink); text-shadow: -2px 0 0 rgba(var(--band-low-rgb), .9), 2px 1px 0 rgba(var(--uvB), .3), 0 0 24px rgba(var(--band-low-rgb), .8); }
@media (prefers-reduced-motion: reduce) { .kn.wv-glow.wv-guided.wv-open, .vf.wv-glow.wv-guided.wv-open { animation: none; } }

/* ---------- the laptop fit (QA M26): Free mix and every lesson screen (#play, Your first mix) keep the instruction,
   both waveforms and the mixer's EQs, filters and volume faders on screen without scrolling at 1280×800 and 1440×900
   (and as near as it goes at 1280×720). Layout only: the deck screens are the ones with .decks3 straight inside
   #screen (booth-waves.js marks them .decks-screen, and .decks-hud with a lesson's HUD: a :has() selector here made
   every frame's style pass slow); their rows become a grid so the beatmatch line can sit beside the waveform legend. ---------- */
@media (min-width: 1200px) {   /* the header in one row (it wrapped onto two below 1440 px) */
  .bh { flex-wrap: nowrap; padding: 7px 20px; gap: 14px; }
  .bnav { order: 0; flex: 1 1 auto; flex-basis: auto; min-width: 0; gap: 0; overflow: visible; }
  .bnav a { padding: 7px 9px; }
  .conn { white-space: nowrap; gap: 8px; }
}
@media (min-width: 1000px) {
  .screen.decks-screen { padding-top: 10px; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-content: start; }
  .screen.decks-screen > * { grid-column: 1 / -1; min-width: 0; }
  .screen.decks-screen > .wv-legend { grid-column: 1; margin-bottom: 4px; min-height: 22px; }
  /* the light rig and the crowd: a thin strip (thinner still while an instruction is up) */
  .screen.decks-screen > .club { height: 30px; margin-bottom: 6px; }
  body.instructing .screen.decks-screen > .club { height: 18px; }
  .screen.decks-screen > .freebar { padding: 3px 10px; margin-bottom: 6px; }
  .screen.decks-screen > .freebar .bbtn { padding-top: 5px; padding-bottom: 5px; }
  .screen.decks-screen > .mix-hints { margin: 0 0 6px; padding: 5px 12px; }
  /* the HUD: two columns, the step and its coach lines on the left, the controller drawing on the right */
  .screen.decks-screen > .hud { grid-template-columns: minmax(0, 1fr) 250px; column-gap: 18px; row-gap: 2px; padding: 8px 14px 8px; margin-bottom: 6px; }
  .screen.decks-screen > .hud > .hud-top { grid-column: 1; gap: 10px; flex-wrap: nowrap; }
  .screen.decks-screen > .hud > .hud-top > .grow { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; row-gap: 2px; min-width: 0; }
  .screen.decks-screen > .hud > .hud-top h2 { font-size: 21px; margin: 0; }
  .screen.decks-screen > .hud > .hud-main { display: contents; }
  .screen.decks-screen > .hud > .hud-main > .grow { grid-column: 1; min-width: 0; }
  .screen.decks-screen > .hud .hud-dia { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
  .screen.decks-screen > .hud .step { font-size: 21px; line-height: 1.2; min-height: 0; }
  .screen.decks-screen > .hud .coach-step { margin-top: 4px; gap: 2px; font-size: 13px; }
  .screen.decks-screen > .hud .hud-sub { margin-top: 2px; min-height: 0; font-size: 13px; }
  .screen.decks-screen > .hud .warn { min-height: 18px; font-size: 13px; }
  .screen.decks-screen > .hud .lanes { height: 96px; }
  .screen.decks-screen > .hud .ft-count { margin-top: 2px; gap: 12px; }
  .screen.decks-screen > .hud .ft-beats i { width: 28px; height: 28px; font-size: 13px; }
  .screen.decks-screen > .hud .coach-nav { margin-top: 0; }
  /* the waveforms grow into what's left of the window (never under 104 px, never over their full 172) */
  .screen.decks-screen .wf { height: clamp(104px, calc((100vh - 486px) / 2), 172px); }
  .screen.decks-hud .wf { height: clamp(104px, calc((100vh - 556px) / 2), 172px); }
  .screen.decks-screen > .wfs { gap: 4px; margin-bottom: 6px; }
  /* the mixer: each channel's knobs beside its volume fader (both faders meet in the middle), the crossfader under them */
  .decks3 { grid-template-columns: minmax(0, 1fr) 344px minmax(0, 1fr); gap: 12px; }
  .decks3 > .deckp { grid-template-columns: minmax(0, 1fr); min-width: 0; }   /* its one column was as wide as its widest row: Deck B ran off the page at 1280 */
  .decks3 .mixer { padding: 8px 10px 10px; gap: 6px; }
  .decks3 .mcols { gap: 10px; }
  .decks3 .mcol { grid-template-columns: minmax(0, 1fr) 30px 6px; column-gap: 5px; row-gap: 2px; align-items: center; }
  .decks3 .mcol > * { grid-column: 1; }
  .decks3 .mcol > .vf { grid-column: 2; grid-row: 1 / span 7; align-self: stretch; grid-template-rows: auto 1fr; gap: 2px; font-size: 12px; letter-spacing: .06em; }
  .decks3 .mcol > .meter { grid-column: 3; grid-row: 2 / span 6; height: auto; align-self: stretch; }
  .decks3 .mcol.deckB { grid-template-columns: 6px 30px minmax(0, 1fr); }
  .decks3 .mcol.deckB > * { grid-column: 3; }
  .decks3 .mcol.deckB > .vf { grid-column: 2; }
  .decks3 .mcol.deckB > .meter { grid-column: 1; }
  .decks3 .mcol > .dk { justify-self: start; padding: 0 8px; font-size: 12px; line-height: 15px; }
  .decks3 .mcol.deckB > .dk { justify-self: end; }
  .decks3 .kn { grid-template-columns: 42px minmax(0, 1fr); align-items: center; font-size: 12px; letter-spacing: .06em; }
  .decks3 .mcol.deckB .kn { grid-template-columns: minmax(0, 1fr) 42px; text-align: right; }
  .decks3 .mcol.deckB .kn input { order: -1; }
  .decks3 .kn input[type=range] { margin: 0; height: 16px; }
  .decks3 input.vert { height: 100%; min-height: 110px; width: 30px; }
  .decks3 .pfl { padding: 3px 6px; font-size: 12px; line-height: 1.15; margin-top: 2px; }
  .decks3 .slider.xf { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; align-items: center; gap: 2px 10px; font-size: 12px; }
  .decks3 .slider.xf > input { order: 1; }
  .decks3 .slider.xf > .tag { order: 2; grid-column: 1 / -1; font-size: 12px; line-height: 1.25; white-space: normal; justify-self: stretch; }
  .decks3 .mixer { grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; }
  .decks3 .mixer > * { grid-column: 1 / -1; }
  .decks3 .mixer > .row.small { grid-column: 1; font-size: 12px; gap: 8px; }
  .decks3 .mixer > .meter.wide { grid-column: 2; align-self: center; margin: 0; }
  /* the FX 1-4 strip made the mixer two rows taller (M26 again): the strip is one row of four; the crossfader's note is
     one line; the mixer and Deck B no longer drop 14 px below Deck A (booth.css's .panel + .panel margin) */
  .decks3 > .panel { margin-top: 0; }
  .decks3 .mixer { padding: 7px 10px 8px; gap: 5px; }
  .decks3 .slider.xf { row-gap: 1px; }
  .decks3 .slider.xf > .tag { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: none; font-family: inherit; font-size: 12px; font-weight: 600; line-height: 14px; letter-spacing: 0; padding: 0 6px; }
  .decks3 .mixer > .row.small { font-size: 12px; }
  /* the volume faders take the height of the knobs beside them (they were taller than the knobs at the range input's
     own 135 px: contain: size keeps the fader out of the row sizing, so it stretches to the knobs' rows) */
  .decks3 .mcol > .vf { contain: size; min-height: 0; }
  .decks3 input.vert { min-height: 96px; }
  .decks3 .pfl { padding: 2px 6px; font-size: 12px; }
}
/* a short window (1280×720): a lesson's waveforms may go a little shorter and the light strip thinner, so the mixer gets
   as near the bottom edge as it can */
@media (min-width: 1000px) and (max-height: 760px) {
  .screen.decks-hud .wf { height: clamp(92px, calc((100vh - 556px) / 2), 172px); }
  body.instructing .screen.decks-screen > .club { height: 10px; margin-bottom: 4px; }
}

/* ---------- nothing over a playhead, the mixer or the instruction (QA M3) ---------- */
/* the toast: top right, just under the header (on the deck screens that's over the light strip), one line */
.btoast { left: auto; right: 24px; top: 54px; bottom: auto; transform: translateY(-6px); max-width: min(680px, 55vw); padding: 6px 14px; font-size: 13px; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 8px 24px rgba(0, 0, 0, .55); }
.btoast.on { transform: none; }
/* the timing card (booth-timing.js) docks in a strip of its own under the header: the page moves down to make room for
   it (body.timing-up, set by booth-waves.js), so it covers no control */
#timingCard.timing { top: 54px; left: 24px; right: 24px; bottom: auto; width: auto; max-width: 1392px; margin: 0 auto; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 16px; row-gap: 6px; padding: 6px 12px; }
#timingCard.timing > h3 { margin: 0; white-space: nowrap; }
#timingCard.timing > p { margin: 0; font-size: 13px; line-height: 1.35; }
#timingCard.timing > .row { flex-wrap: nowrap; }
#timingCard.timing > .row ~ * { grid-column: 1 / -1; }
body.timing-up .screen { padding-top: 84px; }
body.timing-up .screen.decks-screen { padding-top: 74px; }
body.timing-up .btoast { top: 122px; }
@media (max-width: 1199px) { .btoast, #timingCard.timing { top: 116px; } body.timing-up .screen { padding-top: 92px; } body.timing-up .btoast { top: 184px; } }
/* the old impact pop (only without booth-pops.js): over the waveforms' right quarter, clear of both playheads */
.impact-pop { left: 78%; }

/* ---------- instructions first (playtest 1): on every screen with a lesson HUD (drills, tutorials, Set mode, Your first
   mix, the Academy, hip hop) the current instruction is the biggest, brightest text on screen, always in the same spot:
   a lead row above it (Step n of m, Start again, the ✓ Done tick) has a fixed height, so the instruction's top never
   moves. The title, the coach lines and the deck readouts step down; the why is behind "Why?" (BoothCoach). ---------- */
.coach-lead { display: flex; align-items: center; gap: 8px; min-height: 24px; flex-wrap: nowrap; }
.hud-top > .coach-lead { min-height: 0; }
/* the coach lines under the instruction: the control and the buttons (Why?, Back, Next, Hear it) share one line; the why
   (when opened) and your focus go on their own small lines under it */
.coach-step { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; row-gap: 3px; }
.coach-step > .coach-ctl { order: 0; flex: 0 1 auto; min-width: 0; }
.coach-step > .coach-nav { order: 1; margin: 0; flex: 0 0 auto; }
.coach-step > .coach-focus { order: 2; flex: 1 0 100%; }
.coach-step > .coach-why { order: 3; flex: 1 0 100%; }
.coach-lead .coach-count { font: 700 12px/1 var(--mono); letter-spacing: .04em; text-transform: lowercase; color: var(--acid); margin-right: 2px; }
.coach-lead .bbtn.sm { padding: 3px 10px; font-size: 12px; }
.coach-lead .stepok { margin: 0 0 0 auto; padding: 3px 8px; }
.hud .step { color: #fff; font-size: clamp(26px, 2.2vw, 30px); line-height: 1.16; font-weight: 800; letter-spacing: -.012em; text-shadow: none; max-width: 46ch; }
.hud .step .term { font-size: inherit; }
.coach-step { font-size: 13px; color: var(--muted); }
.coach-step .coach-ctl { color: #cfcbd8; }
.coach-step .coach-k { font-size: 12px; }
.coach-whyb[aria-expanded="true"] { border-color: var(--acid); color: var(--acid); }
.hud .hud-sub { font-size: 13px; }
.hud .hud-sub .count { font-size: 20px; }
@media (min-width: 1000px) {
  .screen.decks-screen > .hud > .hud-top h2 { font-size: 16px; letter-spacing: .03em; }
  .screen.decks-screen > .hud > .hud-top .eyebrow { font-size: 12px; }
  .screen.decks-screen > .hud .step { font-size: clamp(26px, 2.1vw, 30px); margin-top: 0; }
  .screen.decks-screen > .hud > .hud-top .bbtn { padding-top: 4px; padding-bottom: 4px; font-size: 13px; }
  .screen.decks-screen > .hud .hud-top > .coach-lead { min-height: 0; flex: 0 0 auto; }
  .screen.decks-screen > .hud .hud-top > .coach-lead:empty { display: none; }
  .screen.decks-screen > .hud .coach-step { margin-top: 5px; font-size: 12.5px; gap: 3px; }
  .screen.decks-screen > .hud .coach-nav .bbtn.sm { padding: 3px 10px; font-size: 12px; }
  /* a drill's ghost line (the lanes to follow) sits beside the instruction, not under it, so a running drill keeps
     the waveforms and the mixer on screen; with no lanes the instruction has the whole width */
  .screen.decks-screen > .hud .hud-main > .grow { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; }
  .screen.decks-screen > .hud .hud-main > .grow > * { grid-column: 1; min-width: 0; }
  .screen.decks-screen > .hud .hud-main > .grow > .lanes-wrap:not([hidden]) { grid-column: 2; grid-row: 1 / span 4; align-self: start; width: clamp(260px, 25vw, 440px); margin: 2px 0 0 16px; }
  /* Set mode: the coach step is the hint, so the old placeholder strip (#mixHints) would only repeat it word for word
     (the waveforms draw the hints); the Assist picker sits beside the instruction */
  .screen.decks-screen > .hud #mixHints { display: none; }
  .screen.decks-screen > .hud .hud-main > .grow > #hintStep:empty { display: none; }
  .screen.decks-screen > .hud .hud-main > .grow > #hintStep + .row { grid-column: 2; grid-row: 1; align-self: start; margin: 2px 0 0 16px; }
  /* the control's name needs no label on the deck screens (the instruction names the deck): one line with the buttons */
  .screen.decks-screen > .hud .coach-ctl > .coach-k { display: none; }
  /* the lines under the coach (Set mode's next track, a countdown, the tracks): small, and running text, not a flex row
     (a flex row broke "Next: <track> on Deck B…" after the name) */
  .screen.decks-screen > .hud .hud-sub { display: block; font-size: 12.5px; line-height: 1.3; }
  .screen.decks-screen > .hud .hud-sub .count { display: inline-block; font-size: 18px; padding: 0 6px; vertical-align: -2px; }
  .screen.decks-screen > .hud .lanes { height: 100px; }
  /* the decks' tempo readouts step down while a lesson's instruction is up, so nothing outshouts it */
  .screen.decks-hud .dstats .big { font-size: 24px; }
}

/* ---------- the bass hit on the decks (booth-lights.js halo): a glow behind the playing deck's panel that breathes out
   into the gap round it on each big bass; behind the panel (z-index -1 in .booth's stacking context), so never over a
   control; only its opacity changes ---------- */
.deckp > .bass-halo { position: absolute; inset: -2px; z-index: -1; pointer-events: none; opacity: 0; will-change: opacity; border-radius: var(--r); box-shadow: 0 0 26px 6px rgba(var(--uv-room), .75), 0 0 64px 10px rgba(var(--uv-room), .3); }
.deckB.deckp > .bass-halo { box-shadow: 0 0 26px 6px rgba(var(--uvB), .7), 0 0 64px 10px rgba(var(--uvB), .26); }

/* ---------- the FX 1-4 strip (controller/fx-target's hooks: booth-play.js centreStrip/syncCentre): one row of four in the
   mixer, each button its number over its effect, lit while on, with a tag per deck it's on in that deck's colour (Deck A
   purple, Deck B cyan; a SHIFT effect's tag outlined with ⇧) and a bar along its foot in the same colours, so which deck
   an effect is on reads at a glance. Disabled (a drill that locks FX): dashed, dim, no glow. ---------- */
.cfx.row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.bbtn.sm.cfx-b { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 3px; row-gap: 1px; min-width: 0; padding: 3px 4px 5px 5px; text-align: left; line-height: 1; overflow: hidden; background: rgba(236, 235, 228, .035); color: var(--ink); }
.cfx-n { grid-row: 1; grid-column: 1; font: 700 12px/13px var(--mono); letter-spacing: .06em; color: rgba(var(--uv), .95); white-space: nowrap; }
.cfx-on { grid-row: 1; grid-column: 2; display: flex; justify-content: flex-end; gap: 2px; min-width: 0; height: 13px; overflow: hidden; }
.cfx-l { grid-row: 2; grid-column: 1 / -1; font-size: 12px; font-weight: 700; line-height: 14px; letter-spacing: -.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cfx-tag { flex: none; min-width: 13px; height: 13px; padding: 0 2px; border-radius: 1px; font: 800 12px/13px var(--mono); font-style: normal; text-align: center; color: #0a0a08; }
.cfx-tag[data-deck="A"] { background: var(--deckA); box-shadow: none; }
.cfx-tag[data-deck="B"] { background: var(--deckB); box-shadow: none; }
.cfx-tag.cfx-shift { background: transparent; line-height: 11px; border: 1px solid currentColor; box-shadow: none; padding: 0 1px; }
.cfx-tag.cfx-shift[data-deck="A"] { color: #d6b3ff; }
.cfx-tag.cfx-shift[data-deck="B"] { color: var(--deckB); }
/* lit: a UV wash and edge (not booth.css's solid fill, so the tags still read), the number white */
.bbtn.sm.cfx-b.on { background: rgba(var(--uv), .2); color: #fff; border-color: rgba(var(--uv), .9); box-shadow: var(--uv-edge); }
.bbtn.sm.cfx-b.on .cfx-n { color: #fff; }
.bbtn.sm.cfx-b.on[data-on="B"] { background: rgba(var(--uvB), .14); border-color: rgba(var(--uvB), .85); box-shadow: 0 0 0 1px rgba(var(--uvB), .55); }
.cfx-b::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; opacity: 0; }
.cfx-b[data-on="A"]::after { opacity: 1; background: var(--deckA); }
.cfx-b[data-on="B"]::after { opacity: 1; background: var(--deckB); }
.cfx-b[data-on="A B"]::after, .cfx-b[data-on="B A"]::after { opacity: 1; background: linear-gradient(90deg, var(--deckA) 50%, var(--deckB) 50%); }
.bbtn.sm.cfx-b:disabled { opacity: .4; border-style: dashed; background: transparent; box-shadow: none; cursor: not-allowed; }
.bbtn.sm.cfx-b:disabled .cfx-n { color: var(--muted); }
/* the line by each deck's FX row ("FX 1-4 on Deck A: Echo ¾ (FX 2)"): in the deck's colour, plain case; the one
   introduction while nothing is on (.fx-intro, QA F1) is quiet: muted, no deck bar, no tint */
.fx-on.tag { text-transform: none; letter-spacing: .02em; border-radius: 1px; background: rgba(var(--uv), .12); color: #dcc2ff; box-shadow: inset 2px 0 0 var(--deckA); padding-left: 8px; }
.deckB .fx-on.tag { background: rgba(var(--uvB), .1); color: #c9ebff; box-shadow: inset 2px 0 0 var(--deckB); }
.fx-on.tag.fx-intro, .deckB .fx-on.tag.fx-intro { background: transparent; color: var(--faint); box-shadow: none; padding-left: 0; font-weight: 500; letter-spacing: 0; }
/* the FX 1-4 label (booth-pops.js): "Echo ¾ on Deck A" / "Echo ¾ off" for a second and a half just under the strip, over
   the crossfader's note (static help: no control, no readout there; design/first-mix-style moved it off the master
   readout, F3/F5), in the deck's colour; fades (opacity only), or just appears under reduced motion */
.mixer { position: relative; }
.cfx-say { position: absolute; left: 10px; right: 10px; z-index: 2; display: flex; justify-content: center; gap: 6px; pointer-events: none; opacity: 0; transition: opacity .16s ease-out; }
.cfx-say.up { opacity: 1; }
.cfx-say.still { transition: none; }
.cfx-say-i { min-width: 0; padding: 1px 9px; font-size: 12px; font-weight: 700; line-height: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); background: rgba(7, 5, 11, .96); border: 1px solid var(--line2); border-radius: var(--r); box-shadow: 0 4px 14px rgba(0, 0, 0, .6); }
.cfx-say-i.on[data-decks="A"] { border-color: rgba(var(--uv), .8); box-shadow: inset 3px 0 0 var(--deckA); }
.cfx-say-i.on[data-decks="B"] { border-color: rgba(var(--uvB), .75); box-shadow: inset 3px 0 0 var(--deckB); }
.cfx-say-i.on[data-decks="A B"], .cfx-say-i.on[data-decks="B A"] { border-color: rgba(var(--uv), .7); box-shadow: inset 3px 0 0 var(--deckA), inset -3px 0 0 var(--deckB); }
.cfx-say-i.off { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .cfx-say { transition: none; } }

/* ---------- focus mode (feature/first-mix-moment's hooks): the one control the step needs is the brightest thing on
   the decks: a UV tube round it that breathes (a ::before whose opacity pulses: the compositor's work, no repaint), its
   label in ink; everything the step doesn't use steps back to 42% (still readable, brighter under the mouse); the panels
   the lesson hasn't reached yet are gone (Main's display: none). The drawing lights the same control in UV. Reduced
   motion: lit, no breathing. ---------- */
body.focus #decks3 [data-focus="off"] { opacity: .42; transition: opacity .3s; }
body.focus #decks3 [data-focus="off"]:hover { opacity: .75; }
body.focus #decks3 [data-focus="on"] { transition: opacity .3s; }
/* design/calm-coach (fix/lesson-stutter's backlog item: a step change's restyle and repaint cost 117-167 ms at 4x, the blurred
   box-shadows and the drop-shadow filters on the lit controls the biggest part): the tube is a radial gradient (rasterised
   straight, no blur pass) with a solid 2 px ring (an outline inset into the halo's box), its colour one pair of variables
   (--lit, --lit-rgb: UV, the step's band, or the chip's tone), and no filter on any range input. The same look at 100%. */
body.focus #decks3 .is-needed { --lit: var(--acid); --lit-rgb: var(--uv); position: relative; z-index: 1; outline: 0; box-shadow: none; border-radius: var(--r); color: var(--ink); }
body.focus #decks3 .is-needed::before { content: ''; position: absolute; inset: -17px -19px; z-index: -1; border-radius: 15px; pointer-events: none; background: radial-gradient(ellipse at 50% 50%, rgba(var(--lit-rgb), .22) 0, rgba(var(--lit-rgb), .13) 34%, rgba(var(--lit-rgb), .05) 58%, transparent 76%); outline: 2px solid var(--lit); outline-offset: -12px; animation: uv-need 1.6s ease-in-out infinite; will-change: opacity; }
body.focus #decks3 label.is-needed { color: var(--ink); text-shadow: none; }
body.focus #decks3 .bbtn.is-needed { border-color: var(--acid); background: rgba(var(--uv), .14); }
body.focus #decks3 .is-needed input[type="range"] { filter: none; }
body.focus #decks3 .is-needed input[type="range"]::-webkit-slider-thumb { border-color: var(--lit); box-shadow: 0 0 0 1px rgba(0, 0, 0, .8), 0 0 10px rgba(var(--lit-rgb), .8); }
@keyframes uv-need { 50% { opacity: .5; } }
body.focus .diagram.mini .c:not(.focus) { opacity: .3; }
.diagram .c.focus .shape { stroke: var(--acid); fill: rgba(var(--uv), .85); animation: focus-uv 1.6s ease-in-out infinite; }
.diagram.mini .c.focus .shape { stroke: var(--acid); stroke-width: 8; fill: rgba(var(--uv), .5); }
@keyframes focus-uv { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }   /* design/calm-coach: opacity, not fill (a fill animation repainted the drawing every frame) */
.coach-all { font: 700 12px/1 var(--mono); letter-spacing: .04em; text-transform: lowercase; color: var(--muted); border-color: transparent; padding: 4px 8px; }
.coach-all:hover { color: var(--ink); border-color: var(--line2); }

/* ---------- "What's this?" (booth-coach.js whatIs): one sentence in a small dark card with a UV edge and a point
   towards the control, placed by tipPlace (below, above, right or left: never over the playheads or the step);
   it fades in (opacity only) and just appears under reduced motion ---------- */
.what-tip { max-width: 280px; padding: 7px 11px 8px; border-radius: var(--r); background: #07050b; border: 1px solid rgba(var(--uv), .75); box-shadow: 0 0 0 1px rgba(0, 0, 0, .7), 0 12px 30px rgba(0, 0, 0, .65); font-size: 13px; line-height: 1.4; color: var(--ink); animation: tip-in .14s ease-out; }
.what-tip::before { content: ''; position: absolute; width: 8px; height: 8px; background: #07050b; border: 1px solid rgba(var(--uv), .75); border-width: 1px 0 0 1px; transform: rotate(45deg); }
.what-tip[data-place="below"]::before { top: -5px; left: 14px; }
.what-tip[data-place="above"]::before { bottom: -5px; left: 14px; transform: rotate(225deg); }
.what-tip[data-place="right"]::before { left: -5px; top: 10px; transform: rotate(-45deg); }
.what-tip[data-place="left"]::before { right: -5px; top: 10px; transform: rotate(135deg); }
@keyframes tip-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  body.focus #decks3 .is-needed::before, .diagram .c.focus .shape, .what-tip { animation: none; }
  body.focus #decks3 [data-focus="off"], body.focus #decks3 [data-focus="on"] { transition: none; }
}

/* ---------- the hero moment (design/first-mix-style): a clean bass swap gets the biggest response in the game. The pop
   "BASS SWAP · CLEAN · 12 ms" is the hero size (spop-hero: flyer type at 54 px, the LOW band's red-orange ink with the
   crisp purple/cyan pass, a UV flood behind it); a late swap is small and honest ("late by 90 ms: aim for the 1"); a
   clash never pops. The incoming deck's panel rings out (a ::after ring: transform and opacity only), sized by quality;
   the floor bloom, the rig flood and the halo flare are booth-lights.js (through the flash gate: a swap on the 1 rides
   the beat's own flash). Everything is gone within a second. ---------- */
.spop-hero { padding: 12px 24px 13px; gap: 16px; background: rgba(4, 3, 6, .94); border-width: 2px; }
.spop-hero .spop-name { font-size: 54px; letter-spacing: .02em; }
.spop-hero .spop-pts { font-size: 28px; }
.spop-hero .spop-q { font-size: 14px; letter-spacing: .16em; }
.spop-fit .spop-name { font-size: 36px; }   /* a hero pop too wide for half a lane (a narrow window) steps down */
.spop-fit .spop-pts { font-size: 20px; }
.spop-hero.spop-k-swap { border-color: var(--band-low); box-shadow: 0 0 0 1px rgba(var(--band-low-rgb), .5), 0 0 34px rgba(var(--band-low-rgb), .55), 0 0 90px rgba(var(--uv-room), .35); }
.spop-hero.spop-k-swap .spop-name { color: #fff2ec; text-shadow: -2px 0 0 rgba(var(--band-low-rgb), .95), 2px 0 0 rgba(var(--uvB), .45), 0 0 28px rgba(var(--band-low-rgb), .8); }
.spop-hero.spop-k-swap .spop-q { color: var(--band-low); text-shadow: 0 0 10px rgba(var(--band-low-rgb), .6); opacity: 1; }
.spop-sm.spop-k-swap { border-color: rgba(255, 176, 0, .5); box-shadow: none; }
.spop-sm.spop-k-swap .spop-name { color: var(--amber); }
.spop-sm.spop-k-swap .spop-q { text-transform: none; letter-spacing: .02em; font-weight: 600; color: var(--ink); }
/* the panel's shockwave: no box-shadow animation (a repaint a frame); a ring that grows out and fades, bigger and
   brighter the cleaner the move; the panel itself holds a UV edge for the moment */
.deckp.impact { animation: none; }
.deckp.impact::after { border: 2px solid rgba(var(--uv-room), .9); box-shadow: 0 0 18px rgba(var(--uv-room), .6); will-change: transform, opacity; animation: uv-ring .7s cubic-bezier(.2, .8, .3, 1) forwards; }
.deckB.deckp.impact::after { border-color: rgba(var(--uvB), .9); box-shadow: none; }
.deckp.impact-q10::after { border-width: 3px; animation-duration: .85s; }
.deckp.impact-q6::after { border-color: rgba(255, 176, 0, .7); box-shadow: 0 0 12px rgba(255, 176, 0, .35); animation-duration: .55s; }
.deckp.impact-q3::after { border-color: var(--line2); box-shadow: none; animation-duration: .4s; }
@keyframes uv-ring { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.05); } }
.deckp.impact-q10::after { animation-name: uv-ring-big; }
@keyframes uv-ring-big { 0% { opacity: 1; transform: scale(.98); } 100% { opacity: 0; transform: scale(1.09); } }

/* ---------- the first mix moment: the count-in, the solo HUD, the graduation card, the swap row ---------- */
/* the count-in: 1, 2, 3, 4 in flyer type, each beat bigger and hotter than the last, the 4 white with the UV halo wide
   open (the step's box doesn't grow: the number sits on one line at a fixed height) */
#hudStep .ft-countin { --grow: 1; font-family: var(--flyer); font-weight: 400; font-size: 64px; line-height: .9; letter-spacing: .02em; color: #d6b3ff; text-shadow: none; display: inline-block; transform: scale(var(--grow)); transform-origin: 0 62%; will-change: transform, opacity; animation: countin .34s cubic-bezier(.2, 1.3, .4, 1) both; }   /* one 64 px line box on every beat: the bigger beats scale (no layout) */
#hudStep .ft-countin.wait { font-family: inherit; font-weight: 600; font-size: 22px; color: var(--muted); text-shadow: none; animation: none; letter-spacing: 0; transform: none; }
#hudStep .ft-countin[data-beat="2"] { --grow: 1.08; color: #c89cff; }
#hudStep .ft-countin[data-beat="3"] { --grow: 1.16; color: var(--acid); text-shadow: none; }
#hudStep .ft-countin[data-beat="4"] { --grow: 1.3; color: #fff; text-shadow: none; animation-duration: .4s; }
@keyframes countin { 0% { transform: scale(calc(var(--grow) * 1.5)); opacity: 0; } 55% { opacity: 1; } 100% { transform: scale(var(--grow)); opacity: 1; } }
/* a result card scrolled to (Main's scrollIntoView) clears the sticky header */
.result.panel, .ft-win { scroll-margin-top: 66px; }
.screen.decks-screen > .hud .step .ft-countin { line-height: .9; }
/* the solo go's HUD: the UV tube along its top edge burns brighter (nobody is telling you anything now) */
.hud.ft-solo { border-color: rgba(var(--uv), .6); box-shadow: inset 0 2px 0 var(--acid); }
/* the graduation card: lands with weight (one short settle: transform and opacity), the title in flyer type with the
   wordmark's crisp pass, the grade stamps (booth-impact), the score counts up, a UV bloom round the card */
.grad-card.result.panel { animation: grad-in .6s cubic-bezier(.2, 1.1, .3, 1) both; border-color: var(--acid); box-shadow: 0 0 0 1px rgba(var(--uv), .6), inset 0 2px 0 var(--acid); background: radial-gradient(900px 300px at 20% 0%, rgba(var(--uv), .14), transparent 70%), var(--panel-solid); }
@keyframes grad-in { 0% { transform: translateY(16px) scale(.97); opacity: 0; } 100% { transform: none; opacity: 1; } }
.grad-head { gap: 8px; }
.grad-head .eyebrow { color: var(--acid); }
.grad-title { font-family: var(--flyer); font-weight: 400; font-size: 64px; line-height: .95; letter-spacing: .01em; text-transform: uppercase; color: var(--ink); text-shadow: none; }
.grad-score { gap: 20px; margin-top: 6px; }
.grad-score .grade { width: 104px; height: 104px; font-size: 60px; font-family: var(--flyer); font-weight: 400; }
.grad-score .grade.gS, .grad-score .grade.gA { box-shadow: 0 0 0 1px var(--acid); }
.grad-score h2 { font-family: var(--mono); font-weight: 800; font-size: 32px; letter-spacing: -.01em; }
.grad-score .ft-lead { margin-top: 4px; }
/* the swap row (Try just the swap): the last five goes as chips, the best outlined in UV, the latest lit; a new chip
   snaps in (transform and opacity) */
.swap-chip { font-family: var(--mono); border-color: var(--line2); background: rgba(236, 235, 228, .03); }
.swap-chip b { font-size: 22px; font-weight: 800; }
.swap-chip i { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.swap-chip.best { border-color: var(--acid); box-shadow: 0 0 0 1px rgba(var(--uv), .35); }
.swap-chip.latest { background: rgba(var(--uv), .14); animation: chip-in .4s cubic-bezier(.2, 1.4, .4, 1) both; }
.swap-chip.gS b { color: #fff; text-shadow: none; }
@keyframes chip-in { 0% { transform: scale(.6); opacity: 0; } 100% { transform: none; opacity: 1; } }
.swap-best { font-family: var(--flyer); font-weight: 400; font-size: 20px; letter-spacing: .03em; text-transform: uppercase; text-shadow: none; }
.swap-card.result.panel { border-color: rgba(var(--uv), .5); }

/* ---------- more reward moments (design/first-mix-style), all scaled by real results ---------- */
/* the Free mix combo: the COMBO ×n chip heats up with the level (data-combo on #fscore, read by booth-pops.js): ×2 a
   purple chip, ×4 bigger with a glow, ×6 white-hot into cyan, ×8 the full tube with a slow breathe; it bumps on each
   step up (transform) and cracks when it breaks (fs-broke: the chip's ghost splits and falls, the bar shakes once) */
.fscore { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.fs-combo { transition: none; transform-origin: 50% 60%; will-change: transform; }
#fscore[data-combo="2"] .fs-combo { background: rgba(var(--uv), .35); color: #efe2ff; box-shadow: 0 0 0 1px rgba(var(--uv), .6); }
#fscore[data-combo="3"] .fs-combo { background: rgba(var(--uv), .6); color: #fff; box-shadow: 0 0 0 1px rgba(var(--uv), .8); }
#fscore[data-combo="4"] .fs-combo { font-size: 14px; background: var(--acid); color: #0a0a08; box-shadow: 0 0 0 1px var(--acid); }
#fscore[data-combo="5"] .fs-combo { font-size: 15px; background: #c48cff; color: #0a0a08; box-shadow: 0 0 0 1px #c48cff; }
#fscore[data-combo="6"] .fs-combo { font-size: 16px; background: linear-gradient(90deg, #c48cff, var(--deckB)); color: #0a0a08; box-shadow: 0 0 0 1px rgba(var(--uvB), .8); }
#fscore[data-combo="7"] .fs-combo { font-size: 17px; background: linear-gradient(90deg, #e3ccff, var(--deckB)); color: #0a0a08; box-shadow: 0 0 0 1px #fff; }
#fscore[data-combo="8"] .fs-combo { font-size: 18px; background: #fff; color: #0a0a08; box-shadow: 0 0 0 2px #fff; animation: combo-max 1.4s ease-in-out infinite; }
.fs-combo.up { animation: combo-up .42s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes combo-up { 0% { transform: scale(1.5); } 100% { transform: none; } }
@keyframes combo-max { 50% { transform: scale(1.06); } }
#fscore.fs-broke { animation: combo-crack .5s cubic-bezier(.3, .1, .3, 1); }
#fscore.fs-broke::after { content: 'COMBO ×' attr(data-broke) ' LOST'; position: absolute; left: calc(100% + 12px); top: 50%; transform: translateY(-50%); white-space: nowrap; font: 800 12px/1 var(--mono); letter-spacing: .08em; color: var(--red); text-decoration: line-through; pointer-events: none; will-change: transform, opacity; animation: combo-fall .9s ease-in both; }
@keyframes combo-crack { 0%, 100% { transform: none; } 15% { transform: translateX(-4px); } 35% { transform: translateX(4px); } 55% { transform: translateX(-2px); } 75% { transform: translateX(2px); } }
@keyframes combo-fall { 0% { transform: translateY(-50%); opacity: 1; } 100% { transform: translateY(calc(-50% + 14px)) rotate(-4deg); opacity: 0; } }
/* the near miss ("4 ms off clean"): amber, one honest line that pulls for one more go; the personal best: hero size in
   white with the UV tube; the combo lost: small, struck through */
.spop-k-near { border-color: rgba(255, 176, 0, .7); box-shadow: 0 0 18px rgba(255, 176, 0, .3); }
.spop-k-near .spop-name { color: var(--amber); text-shadow: 0 0 12px rgba(255, 176, 0, .5); }
.spop-k-near .spop-q { text-transform: none; letter-spacing: .02em; font-size: 13px; font-weight: 700; color: #fff; opacity: 1; }
.spop-hero.spop-k-best { border-color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 0 34px rgba(var(--uv-room), .8), 0 0 100px rgba(var(--uv-room), .4); }
.spop-hero.spop-k-best .spop-name { color: #fff; text-shadow: 0 0 2px #fff, -2px 0 0 rgba(var(--uv-room), .9), 2px 0 0 rgba(var(--uvB), .5), 0 0 30px rgba(var(--uv-room), .9); }
.spop-hero.spop-k-best .spop-q { color: var(--acid); text-transform: none; letter-spacing: .04em; font-size: 15px; opacity: 1; }
.spop-k-break { border-color: var(--line2); box-shadow: none; }
.spop-k-break .spop-name { color: var(--muted); text-decoration: line-through; text-shadow: none; }
.spop-k-break .spop-q { color: var(--red); }
.spop-hero.spop-k-grad { border-color: var(--acid); box-shadow: 0 0 0 1px rgba(var(--uv-room), .6), 0 0 34px rgba(var(--uv-room), .8), 0 0 100px rgba(var(--uv-room), .4); }
.spop-hero.spop-k-grad .spop-name { color: #fff; text-shadow: -2px 0 0 rgba(var(--uv-room), .9), 2px 0 0 rgba(var(--uvB), .5), 0 0 30px rgba(var(--uv-room), .9); }
.spop-hero.spop-k-grad .spop-q { text-transform: none; letter-spacing: .04em; font-size: 15px; color: var(--acid); opacity: 1; }
/* the lit control answers a touch (booth-pops.js ripple): its tube flashes up and a ring runs out (opacity and transform) */
body.focus #decks3 .is-needed.used::before { animation: uv-used .5s ease-out; }
@keyframes uv-used { 0% { opacity: 1; transform: scale(1); } 40% { opacity: 1; transform: scale(1.12); } 100% { opacity: .5; transform: scale(1); } }
body.focus #decks3 .is-needed.used { animation: uv-press .18s ease-out; }
@keyframes uv-press { 50% { transform: scale(.97); } }
/* the ✓ Done tick snaps in (overshoot), holds, and goes */
.stepok { font-family: var(--mono); border-radius: 1px; box-shadow: none; transform-origin: 50% 50%; will-change: transform, opacity; animation: stepok-snap 1.1s cubic-bezier(.2, 1.5, .4, 1) forwards; }
@keyframes stepok-snap { 0% { transform: scale(1.7); opacity: 0; } 14% { transform: scale(1); opacity: 1; } 75% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-4px); } }
/* a screen comes in (booth-pops.js screenIn): one short fade up; a result card lands the same way */
.screen.screen-in > * { animation: screen-in .28s ease-out both; }
@keyframes screen-in { from { opacity: 0; transform: translateY(6px); } }
.result.panel { animation: result-land .4s cubic-bezier(.2, 1, .3, 1) both; }
@keyframes result-land { from { transform: translateY(14px) scale(.985); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .deckp.impact::after, #hudStep .ft-countin, .grad-card.result.panel, .swap-chip.latest, .fs-combo.up, #fscore[data-combo="8"] .fs-combo, #fscore.fs-broke, #fscore.fs-broke::after, body.focus #decks3 .is-needed.used::before, body.focus #decks3 .is-needed.used, .stepok, .screen.screen-in > *, .result.panel { animation: none; }
  .deckp.impact::after { opacity: 0; }
}

/* ---------- Home (design/first-mix-style): Start here, the unlock, the progression ---------- */
/* the Start here path: a panel with the UV tube along its top; the step that's next is lit like a needed control (its
   tube breathes, its number a UV stamp), a done step ticks in purple and steps back, the later ones wait quietly */
.start-hero { align-items: center; }
.start-path { background: radial-gradient(600px 220px at 0% 0%, rgba(var(--uv), .18), transparent 70%), var(--panel-solid); border-color: rgba(var(--uv), .7); box-shadow: inset 0 2px 0 var(--acid), var(--uv-soft); border-radius: var(--r); }
.start-path > .eyebrow { color: var(--acid); font-family: var(--mono); letter-spacing: .18em; }
.start-path > .eyebrow::before { content: '// '; opacity: .8; }
.sp { position: relative; border-radius: var(--r); background: rgba(0, 0, 0, .3); transition: opacity .25s; }
.sp-n { font-family: var(--flyer); font-weight: 400; font-size: 20px; border-radius: 50%; }
.sp-body b { font-family: var(--flyer); font-weight: 400; font-size: 24px; letter-spacing: .02em; }
.sp.now { background: rgba(var(--uv), .08); border-color: var(--acid); box-shadow: 0 0 0 1px rgba(var(--uv), .5); }
.sp.now::before { content: ''; position: absolute; inset: -1px; border-radius: var(--r); pointer-events: none; box-shadow: 0 0 0 1px var(--acid); animation: uv-need 1.8s ease-in-out infinite; will-change: opacity; }
.sp.now .sp-n { box-shadow: none; }
.sp.now .sp-body b { color: #fff; text-shadow: none; }
.sp.done { opacity: .75; }
.sp.done .sp-n { background: rgba(var(--uv), .12); box-shadow: none; }
.sp.later, .sp.next { opacity: .6; }
.sp .bbtn.big { font-family: var(--flyer); font-weight: 400; font-size: 22px; letter-spacing: .03em; padding: 10px 24px; }
.menu-quiet { opacity: .5; transition: opacity .3s; }
.menu-quiet:hover, .menu-quiet:focus-within { opacity: 1; }
/* the unlock: a reward, not a notice. The note lands (transform and opacity), a UV sweep crosses it once, its tag and
   name glow; the card it points at carries the same tag. Locked = closed for now, not broken: dim, a dashed edge, its
   note in mono, still a button */
.unlocked { position: relative; overflow: hidden; border-radius: var(--r); border-color: var(--acid); background: linear-gradient(90deg, rgba(var(--uv), .22), rgba(var(--uv), .04) 60%, transparent), var(--panel-solid); box-shadow: 0 0 0 1px rgba(var(--uv), .4), inset 0 2px 0 var(--acid); animation: unlock-in .5s cubic-bezier(.2, 1.1, .3, 1) both; }
.unlocked::after { content: ''; position: absolute; top: -40%; bottom: -40%; left: 0; width: 120px; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .14), transparent); transform: translateX(-160px) skewX(-18deg); animation: unlock-sweep 1.4s .25s cubic-bezier(.3, .6, .3, 1) forwards; will-change: transform; }
@keyframes unlock-sweep { to { transform: translateX(1400px) skewX(-18deg); } }
@keyframes unlock-in { from { transform: translateY(10px) scale(.985); opacity: 0; } }
.unlocked > .tag.nexttag { font-family: var(--flyer); font-weight: 400; font-size: 15px; letter-spacing: .08em; padding: 3px 10px; background: var(--acid); color: #0a0a08; box-shadow: none; }
.unlocked > b { font-family: var(--flyer); font-weight: 400; font-size: 26px; letter-spacing: .02em; text-transform: uppercase; color: #fff; text-shadow: none; }
.mode.unlocked-now { border-color: var(--acid); box-shadow: var(--uv-edge); background: linear-gradient(135deg, rgba(var(--uv), .16), transparent 60%), var(--panel); }
.mode.unlocked-now .tag { background: var(--acid); color: #0a0a08; box-shadow: none; }
.mode.locked { opacity: .55; border-style: dashed; border-color: var(--line2); background: transparent; }
.mode.locked:hover { opacity: .8; border-color: rgba(var(--uv), .4); box-shadow: none; }
.mode.locked .tag { background: transparent; border: 1px solid var(--line2); color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; }
/* the progression on a card: the points in flyer type, the level bar fills from the left (a scaleX, not a width:
   nothing lays out), New best in UV; a level up turns the bar white and the tag stamps in */
.coach-xp { gap: 12px; align-items: center; }
.coach-xp .xp-gain { font-family: var(--flyer); font-weight: 400; font-size: 30px; line-height: 1; letter-spacing: .02em; text-shadow: none; }
.coach-best { font-family: var(--flyer); font-weight: 400; font-size: 20px; letter-spacing: .06em; text-shadow: none; animation: chip-in .45s cubic-bezier(.2, 1.4, .4, 1) both; }
.xp-level { font-family: var(--mono); letter-spacing: .04em; }
.xp-bar { height: 8px; border-radius: 1px; background: rgba(236, 235, 228, .07); box-shadow: inset 0 0 0 1px rgba(236, 235, 228, .06); overflow: hidden; }
.xp-bar i { transition: none; transform-origin: 0 50%; animation: xp-fill 1s .15s cubic-bezier(.2, .8, .3, 1) both; box-shadow: 0 0 2px #fff; }
@keyframes xp-fill { from { transform: scaleX(0); } }
.coach-xp.up .xp-bar i { background: #fff; box-shadow: none; }
.xp-up .tag.nexttag { font-family: var(--flyer); font-weight: 400; font-size: 14px; letter-spacing: .08em; background: #fff; color: #0a0a08; box-shadow: none; animation: chip-in .45s .3s cubic-bezier(.2, 1.4, .4, 1) both; }
/* Home's level and streak: the level in flyer type with its name, the day streak in Deck B's cyan; the XP bar as on the cards */
.hero-stats { gap: 32px; }
.hero-stats b { font-family: var(--flyer); font-weight: 400; font-size: 40px; letter-spacing: .01em; }
.hero-level b { color: #fff; text-shadow: none; }
.hero-level > span { color: #d6b3ff; }
.hero-streak b { color: var(--deckB); text-shadow: none; }
.hero-streak > span { color: #c9ebff; }
.hero-bar { height: 8px; border-radius: 1px; box-shadow: inset 0 0 0 1px rgba(236, 235, 228, .06); overflow: hidden; }
.hero-bar i { box-shadow: 0 0 2px #fff; }
.hero-bar.xp i { transition: none; transform-origin: 0 50%; animation: xp-fill 1s .2s cubic-bezier(.2, .8, .3, 1) both; }
.hero-bonus.tag.nexttag { background: rgba(var(--uv), .18); color: #e3ccff; border: 1px solid rgba(var(--uv), .5); }
@media (prefers-reduced-motion: reduce) {
  .sp.now::before, .unlocked, .unlocked::after, .coach-best, .xp-bar i, .xp-up .tag.nexttag, .hero-bar.xp i { animation: none; }
  .unlocked::after { display: none; }
  .sp, .menu-quiet { transition: none; }
}

/* ======================================================================================================================
   design/feel (reports/feature-feel-PLAN.md 2.1-2.4, D1-D3): the step banner over the lanes, the callout on the lit
   control, the HUD in one row, the quiet part after the swap, the title screen, the genre chips, the veil, Home at
   720, the move pops' tiers. Built against the contract: #hudBanner[data-deck] (.banner-text, .banner-ctl,
   .banner-why), [data-callout] on the lit control, body.quiet, #start, #likes, #veil, body.home, #screen[data-route],
   a ⛶ header button. booth-pops.js marks #screen.decks-banner while a #hudBanner is on it (the one-row HUD form keys
   off that, never :has()). Opacity and transform only; the one layout change is the fold at S, once.
   ====================================================================================================================== */

/* ---------- D1: the step banner: one place for the instruction, directly above the lanes, centred on the playhead ---------- */
#hudBanner { position: relative; display: grid; justify-items: center; align-content: center; row-gap: 5px; min-height: 80px; margin: 0 0 4px; padding: 7px 0 6px; text-align: center; user-select: none; -webkit-user-select: none; }
#hudBanner::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: linear-gradient(180deg, rgba(var(--uv), 0), rgba(var(--uv), .35) 30%, rgba(var(--uv), .35) 70%, rgba(var(--uv), 0)); opacity: .9; pointer-events: none; }   /* the playhead's line runs up into the banner: the eyes follow it down to the lanes */
#hudBanner > .banner-in { display: contents; }
.banner-text { position: relative; z-index: 1; max-width: 46ch; margin: 0; padding: 0 12px; font-size: clamp(28px, 2.1vw, 32px); line-height: 1.14; font-weight: 800; letter-spacing: -.012em; color: #fff; text-shadow: none; text-wrap: balance; }
.banner-text:empty { min-height: 1em; }
.banner-text .term { font-size: inherit; }
.banner-text.pop { animation: banner-pop .32s cubic-bezier(.2, 1.1, .3, 1) both; }
@keyframes banner-pop { 0% { opacity: 0; transform: translateY(6px) scale(.985); } 100% { opacity: 1; transform: none; } }
.banner-row { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 22px; }
/* the control chip: "DECK B · LOW" in the deck's colour, mono */
.banner-ctl { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px 2px 7px; border: 1px solid rgba(var(--uv), .7); border-radius: 1px; background: rgba(4, 3, 6, .85); font: 800 12px/16px var(--mono); letter-spacing: .04em; text-transform: lowercase; color: #e3ccff; box-shadow: inset 3px 0 0 var(--deckA); white-space: nowrap; }
.banner-ctl:empty { display: none; }
#hudBanner[data-deck="B"] .banner-ctl { border-color: rgba(var(--uvB), .7); color: #c9ebff; box-shadow: inset 3px 0 0 var(--deckB); }
#hudBanner[data-deck="AB"] .banner-ctl, #hudBanner[data-deck="both"] .banner-ctl { box-shadow: inset 3px 0 0 var(--deckA), inset -3px 0 0 var(--deckB); padding-right: 10px; }
/* each chip in its own deck's colour (Main's chips carry data-deck: the bass swap names both LOWs) */
#hudBanner .banner-ctl[data-deck="A"] { border-color: rgba(var(--uv), .7); color: #e3ccff; box-shadow: inset 3px 0 0 var(--deckA); }
#hudBanner .banner-ctl[data-deck="B"] { border-color: rgba(var(--uvB), .7); color: #c9ebff; box-shadow: inset 3px 0 0 var(--deckB); }
/* ♪ Hear it and the ⓘ (.banner-hear, .banner-info): small square outlines the chip's height, mono, quiet until hovered;
   never the browser's grey button (design/hud-fix: booth.css's .bbtn and the UA's button look are taken off) */
#hudBanner .banner-hear, #hudBanner .banner-info { appearance: none; -webkit-appearance: none; display: inline-grid; place-items: center; box-sizing: border-box; width: 22px; height: 22px; min-width: 22px; padding: 0; margin: 0; border: 1px solid rgba(236, 235, 228, .22); border-radius: var(--r); background: transparent; box-shadow: none; color: var(--muted); font: 700 13px/1 var(--mono); letter-spacing: 0; text-transform: none; cursor: pointer; transition: color .12s, border-color .12s, box-shadow .12s; }
#hudBanner .banner-hear:hover, #hudBanner .banner-info:hover, #hudBanner .banner-info[aria-expanded="true"] { color: var(--ink); border-color: rgba(var(--uv), .8); box-shadow: none; background: rgba(var(--uv), .08); }
#hudBanner .banner-info[aria-expanded="true"] { color: var(--acid); }
#hudBanner .banner-hear:focus-visible, #hudBanner .banner-info:focus-visible { outline: 1px solid var(--acid); outline-offset: 2px; }
/* the why, when opened (the ⓘ, or booth-coachWhy): one small line under the row, never moving the banner's top */
#hudBanner .banner-why, .banner-whytext { position: relative; z-index: 1; max-width: 80ch; margin: 0; padding: 0 12px; font-size: 13px; line-height: 1.35; color: var(--muted); animation: tip-in .14s ease-out; }
#hudBanner .banner-why[hidden], .banner-whytext[hidden] { display: none; }
#hudBanner .banner-why .coach-k { display: none; }
#hudBanner .banner-why .term, .banner-whytext .term { font-size: inherit; }
/* the coach's quiet note (o.note: "That's a mix."): one grey line under the row */
#hudBanner .banner-note { position: relative; z-index: 1; margin: 0; padding: 0 12px; font-size: 14px; font-weight: 600; color: var(--muted); }
/* the target inside the chip ("just under the middle"): plain case, white, after a thin rule; the chip says DECK B · MID */
.banner-ctl .banner-target { font-style: normal; text-transform: none; letter-spacing: .02em; color: #fff; font-weight: 700; padding-left: 7px; margin-left: 1px; border-left: 1px solid rgba(236, 235, 228, .25); }
#hudBanner .banner-row { flex-wrap: nowrap; }
#hudBanner .banner-ctl + .banner-ctl { margin-left: 2px; }
#hudBanner .banner-warn { position: relative; z-index: 1; max-width: 62ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 700; line-height: 22px; color: var(--amber); }   /* [main] in the chip's row, so a warning never moves the lanes */
#hudBanner .banner-warn:empty { display: none; }
/* the count-in's numbers in the banner's place (booth-first's drawCountIn, if it writes the banner): the same style as the step's */
#hudBanner .ft-countin { --grow: 1; font-family: var(--flyer); font-weight: 400; font-size: 64px; line-height: .9; letter-spacing: .02em; color: #d6b3ff; text-shadow: none; display: inline-block; transform: scale(var(--grow)); transform-origin: 50% 62%; will-change: transform, opacity; animation: countin .34s cubic-bezier(.2, 1.3, .4, 1) both; }
#hudBanner .ft-countin[data-beat="2"] { --grow: 1.08; color: #c89cff; }
#hudBanner .ft-countin[data-beat="3"] { --grow: 1.16; color: var(--acid); text-shadow: none; }
#hudBanner .ft-countin[data-beat="4"] { --grow: 1.3; color: #fff; text-shadow: none; animation-duration: .4s; }
#hudBanner .ft-countin.wait { font-family: inherit; font-weight: 600; font-size: 22px; color: var(--muted); text-shadow: none; animation: none; letter-spacing: 0; transform: none; }

/* ---------- the lesson HUD while the banner is up (#screen.decks-banner; design/hud-fix): one grid, three rows, nothing
   ever on top of anything else.
     row 1, the title row (34 px): the lesson and its tracks (an ellipsis and a tooltip when they don't fit) · Record ·
            Set mode's Assist · Step n of m, the restart, ✓ Done, Show everything · Back / Next / Hear it · Stop and leave
     row 2, the banner: the instruction (one line where it fits, two at most), the control chip and the ⓘ under it; the
            ghost line's lanes at its left end and the controller drawing at its right end, inside the row, with the
            banner's words kept clear of both
     row 3, the coach's sub-line (Set mode's next track, a countdown): small, centred, only when there is one
     row 4, the warning line (amber, quiet, one line, an ellipsis and a tooltip past the width): always there, so a
            warning coming and going never moves the lanes
   Anything else a mode puts in the HUD (the swap row, the Academy's feed, hip hop's phrase and tools) takes a row of its
   own under those. The chain .hud-top / .hud-main / .grow / #hudCoach is display: contents, so every piece is a cell of
   the one grid (no :has(), no markup change). ---------- */
@media (min-width: 1000px) {
  .screen.decks-screen.decks-banner > .hud { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) repeat(5, auto); grid-template-rows: 34px auto; grid-auto-rows: auto; align-items: center; column-gap: 0; row-gap: 0; padding: 2px 12px 4px; margin-bottom: 4px; min-height: 0; }
  .screen.decks-screen.decks-banner > .hud > .hud-top, .screen.decks-screen.decks-banner > .hud > .hud-main, .screen.decks-screen.decks-banner > .hud > .hud-main > .grow, .screen.decks-screen.decks-banner > .hud #hudCoach { display: contents; }
  .screen.decks-screen.decks-banner > .hud > .hud-main > .grow > *, .screen.decks-screen.decks-banner > .hud #hudCoach > * { grid-column: 1 / -1; min-width: 0; }
  /* row 1 */
  .screen.decks-screen.decks-banner > .hud > .hud-top > .grow { grid-row: 1; grid-column: 1; display: flex; flex-wrap: nowrap; align-items: baseline; column-gap: 10px; min-width: 0; overflow: hidden; }
  .screen.decks-screen.decks-banner > .hud > .hud-top > .grow > * { flex: 0 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; }
  .screen.decks-screen.decks-banner > .hud > .hud-top > .grow > .eyebrow { flex: none; font-size: 12px; }
  .screen.decks-screen.decks-banner > .hud > .hud-top h2 { font-size: 15px; line-height: 1.25; letter-spacing: .02em; flex: 0 1 auto; }
  .screen.decks-screen.decks-banner > .hud #hudMission:empty { display: none; }
  .screen.decks-screen.decks-banner > .hud #hudMission { flex: 0 2 auto; align-self: center; }
  .screen.decks-screen.decks-banner > .hud #hudMission .mlabel { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .screen.decks-screen.decks-banner > .hud > .hud-top > .recbar { grid-row: 1; grid-column: 2; margin-left: 12px; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
  .screen.decks-screen.decks-banner > .hud .hud-main > .grow > #hintStep + .row { grid-row: 1; grid-column: 3; margin: 0 0 0 12px; flex-wrap: nowrap; white-space: nowrap; }
  .screen.decks-screen.decks-banner > .hud > .hud-top > .coach-lead { grid-row: 1; grid-column: 4; margin-left: 12px; min-height: 0; flex-wrap: nowrap; white-space: nowrap; }
  .screen.decks-screen.decks-banner > .hud .coach-lead .stepok { margin: 0; }
  .screen.decks-screen.decks-banner > .hud #hudCoach > .coach-nav { grid-row: 1; grid-column: 5; margin: 0 0 0 8px; display: flex; flex-wrap: nowrap; gap: 6px; }
  .screen.decks-screen.decks-banner > .hud > .hud-top > .bbtn { grid-row: 1; grid-column: 6; margin-left: 12px; white-space: nowrap; }
  .screen.decks-screen.decks-banner > .hud .bbtn.sm, .screen.decks-screen.decks-banner > .hud > .hud-top > .bbtn { padding: 3px 10px; font-size: 12px; line-height: 18px; }
  .screen.decks-screen.decks-banner > .hud .coach-nav .coach-whyb, .screen.decks-screen.decks-banner > .hud #hudCoach > .coach-ctl, .screen.decks-screen.decks-banner > .hud #hudCoach > .coach-focus, .screen.decks-screen.decks-banner > .hud #hudCoach > .coach-why { display: none; }   /* the chip names the control; the why is behind the ⓘ */
  /* row 2: the banner across the whole HUD, its words clear of the drawing (right) and the ghost lanes (left) */
  .screen.decks-screen.decks-banner > .hud #hudBanner { grid-row: 2; grid-column: 1 / -1; padding-left: 176px; padding-right: 176px; margin-bottom: 0; }
  .screen.decks-screen.decks-banner > .hud .hud-main > .grow > .lanes-wrap:not([hidden]) ~ #hudBanner, .screen.decks-screen.decks-banner.hud-lanes > .hud #hudBanner { padding-left: 244px; padding-right: 244px; }
  .screen.decks-screen.decks-banner > .hud .hud-dia { grid-row: 2; grid-column: 1 / -1; justify-self: end; align-self: center; width: 156px; margin: 0; position: relative; z-index: 2; }
  .screen.decks-screen.decks-banner > .hud .hud-dia .diagram.mini { opacity: .9; display: block; max-height: 74px; }
  .screen.decks-screen.decks-banner > .hud .hud-main > .grow > .lanes-wrap:not([hidden]) { grid-row: 2; grid-column: 1 / -1; justify-self: start; align-self: center; width: 232px; margin: 0; position: relative; z-index: 2; }
  .screen.decks-screen.decks-banner > .hud .lanes { height: 72px; }
  /* row 3: the coach's sub-line; row 4: the warning line */
  .screen.decks-screen.decks-banner > .hud .hud-sub { grid-row: 3; justify-self: center; max-width: 100%; margin: 0; padding: 0 12px; font-size: 12.5px; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); text-align: center; }
  .screen.decks-screen.decks-banner > .hud .hud-sub:empty { display: none; }
  .screen.decks-screen.decks-banner > .hud .hud-sub .count { font-size: 14px; padding: 0 4px; vertical-align: 0; line-height: 16px; }
  .screen.decks-screen.decks-banner > .hud .warn { grid-row: 4; justify-self: center; max-width: 100%; min-height: 18px; margin: 0; padding: 0 12px; font-size: 12.5px; line-height: 18px; font-weight: 700; color: var(--amber); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
  .screen.decks-screen.decks-banner > .hud #hudBanner .banner-warn, .screen.decks-screen.decks-banner > .hud .step.legacy { display: none; }   /* [feature/arc-path's mirror of #hudWarn in the chip row, and its legacy step copy] the warning has its own line here: never twice */
  /* the rest of what a mode puts in the HUD: hidden when empty, else a row of its own, centred */
  .screen.decks-screen.decks-banner > .hud .step, .screen.decks-screen.decks-banner > .hud .ft-count, .screen.decks-screen.decks-banner > .hud #mixHints, .screen.decks-screen.decks-banner > .hud #hintStep:empty, .screen.decks-screen.decks-banner > .hud .coach-step:empty { display: none; }
  .screen.decks-screen.decks-banner > .hud .step:not(:empty) { display: block; justify-self: center; font-size: 13px; font-weight: 700; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: none; color: var(--muted); }   /* the old step, if a module still writes it: one quiet line, never two instructions */
  .screen.decks-screen.decks-banner > .hud .swap-hist, .screen.decks-screen.decks-banner > .hud .ac-feed:not(:empty), .screen.decks-screen.decks-banner > .hud .hh-phrase:not(:empty), .screen.decks-screen.decks-banner > .hud #hhTools:not(:empty) { justify-self: center; margin: 2px 0 0; }
  .screen.decks-screen.decks-banner > .hud .ac-feed:empty, .screen.decks-screen.decks-banner > .hud .hh-phrase:empty, .screen.decks-screen.decks-banner > .hud #hhTools:empty { display: none; }
  .screen.decks-screen.decks-banner > .wv-legend { margin-bottom: 3px; }
}

/* ---------- the callout on the lit control: a 13 px tag that repeats only the target ("fully left", "to the middle",
   "press"), on a short leader to the control, inside the panel (never over a playhead, the mixer's other controls'
   names or the step); the focus tube stays under it ---------- */
body.focus #decks3 [data-callout] { position: relative; }
body.focus #decks3 [data-callout]::after { content: attr(data-callout); position: absolute; left: 50%; bottom: calc(100% + 7px); transform: translateX(-50%); z-index: 3; padding: 2px 8px 3px; border: 1px solid var(--acid); border-radius: 1px; background: #07050b; color: #fff; font: 700 13px/16px var(--mono); letter-spacing: .02em; text-transform: none; white-space: nowrap; box-shadow: 0 0 0 1px rgba(0, 0, 0, .8); pointer-events: none; animation: callout-in .26s cubic-bezier(.2, 1.3, .4, 1) both; }
body.focus #decks3 [data-callout]::before { content: ''; position: absolute; left: 50%; bottom: 100%; width: 1px; height: 7px; margin-left: -.5px; background: var(--acid); z-index: 3; pointer-events: none; opacity: .9; }
body.focus #decks3 .deckB [data-callout]::after, body.focus #decks3 .mcol.deckB [data-callout]::after { border-color: var(--deckB); box-shadow: 0 0 0 1px rgba(0, 0, 0, .8); }
body.focus #decks3 .deckB [data-callout]::before, body.focus #decks3 .mcol.deckB [data-callout]::before { background: var(--deckB); }
/* a knob row: the tag sits over the slider, not over the name column */
body.focus #decks3 .kn[data-callout]::after { left: auto; right: 0; transform: none; }
body.focus #decks3 .kn[data-callout]::before { left: auto; right: 24px; }
body.focus #decks3 .mcol.deckB .kn[data-callout]::after { right: auto; left: 0; }
body.focus #decks3 .mcol.deckB .kn[data-callout]::before { right: auto; left: 24px; }
/* the vertical fader: the tag beside it, at its top (a leader across) */
body.focus #decks3 .vf[data-callout]::after { left: calc(100% + 10px); bottom: auto; top: 22px; transform: none; }
body.focus #decks3 .vf[data-callout]::before { left: 100%; bottom: auto; top: 30px; width: 10px; height: 1px; margin: 0; }
body.focus #decks3 .mcol.deckB .vf[data-callout]::after { left: auto; right: calc(100% + 10px); }
body.focus #decks3 .mcol.deckB .vf[data-callout]::before { left: auto; right: 100%; }
@keyframes callout-in { 0% { opacity: 0; transform: translateX(-50%) translateY(4px); } 100% { opacity: 1; transform: translateX(-50%); } }
body.focus #decks3 .kn[data-callout]::after, body.focus #decks3 .vf[data-callout]::after { animation-name: callout-in-flat; }
@keyframes callout-in-flat { 0% { opacity: 0; transform: translateY(4px); } 100% { opacity: 1; transform: none; } }

/* ---------- the quiet part (body.quiet, S to S+8): nobody is telling you anything. The banner's text fades out, the
   HUD's row stays, the old step area and the drawing fold away (transform and opacity, then one layout change at the
   end of the fold: max-height 0), the lanes grow into the gap (one height change, at the same moment), the callouts go,
   the focus tube rests. Main's one quiet line at S+4 ("That's a mix.") is drawn small and grey in the banner's place.
   The lights carry the moment (celebrate + the impact's flood, through the gate: nothing here flashes). ---------- */
body.quiet #hudBanner { min-height: 44px; padding: 6px 0; transition: min-height 0s .5s, padding 0s .5s; }
body.quiet #hudBanner::before { opacity: 0; transition: opacity .5s; }
body.quiet .banner-text { font-size: 16px; font-weight: 600; letter-spacing: .02em; color: var(--muted); text-shadow: none; animation: quiet-line .6s ease-out both; }
body.quiet .banner-text:empty { min-height: 0; animation: none; }
body.quiet .banner-row, body.quiet .banner-whytext, body.quiet #hudBanner .banner-why { display: none; }
@keyframes quiet-line { from { opacity: 0; } }
body.quiet .screen.decks-screen.decks-banner > .hud .hud-dia, body.quiet .screen.decks-screen.decks-banner > .hud .lanes-wrap { animation: hud-fold .5s ease-in both; }
body.quiet .screen.decks-screen:not(.decks-banner) > .hud > .hud-main { animation: hud-fold-block .5s ease-in both; overflow: hidden; }   /* the old HUD (no banner yet): its step block folds */
@keyframes hud-fold { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-10px) scaleY(.6); } }
@keyframes hud-fold-block { 0% { opacity: 1; transform: none; max-height: 400px; } 70% { opacity: 0; transform: translateY(-10px); max-height: 400px; } 100% { opacity: 0; transform: translateY(-10px); max-height: 0; } }
body.quiet .screen.decks-hud.decks-banner .wf { height: clamp(140px, calc((100vh - 420px) / 2), 200px); transition: height 0s .5s; }   /* one height change, at the end of the fold */
body.quiet #decks3 [data-callout]::after, body.quiet #decks3 [data-callout]::before { display: none; }
body.quiet.focus #decks3 .is-needed::before { animation: none; opacity: .35; }
body.quiet .screen.decks-screen > .club { height: 24px; transition: height 0s .5s; }   /* the strip comes back to its full height: the lights carry the moment */
body.quiet .hud { border-color: rgba(var(--uv), .15); box-shadow: inset 0 2px 0 rgba(var(--uv), .25); }
@media (prefers-reduced-motion: reduce) {
  .banner-text.pop, #hudBanner .ft-countin, .banner-whytext, #hudBanner .banner-why, body.focus #decks3 [data-callout]::after, body.quiet .banner-text { animation: none; }
  body.quiet .screen.decks-screen.decks-banner > .hud .hud-dia, body.quiet .screen.decks-screen.decks-banner > .hud .lanes-wrap { animation: none; opacity: 0; }
  body.quiet .screen.decks-screen:not(.decks-banner) > .hud > .hud-main { animation: none; opacity: 0; max-height: 0; }
  body.quiet #hudBanner, body.quiet #hudBanner::before, body.quiet .screen.decks-screen > .club, body.quiet .screen.decks-hud.decks-banner .wf { transition: none; }
}
#hudBanner { margin-left: var(--bshift, 0px); }   /* booth-pops.js bannerFit: centred on the lanes' middle (the playhead) wherever Main puts the banner */
/* Q3-M1: anything scrolled to (a result card, the Tracks panel, a mission's end, a settings panel) clears the sticky header */
.panel, .ft-win, .mdone, .tp { scroll-margin-top: 66px; }

/* ---------- design/first-session part 1: the title screen (#start, booth.js drawStart's real markup: .start-brand >
   .start-word + .start-sub, .start-what (the path in three), .start-go > .start-key, .start-fs, .start-note). The first
   thing every player sees: the wordmark huge over a breathing UV pool, the line, what Afters is in three steps (the path
   strip's own words), then ONE obvious action (the start key, lit and breathing) with the full screen question as a
   quiet pair under it and the controller note last. One column, centred, no scroll at 1280×720. Opacity only. ---------- */
#start.start { position: fixed; inset: 0; z-index: 40; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(16px, 3.4vh, 38px); padding: 3vh 24px 2vh; text-align: center; background: radial-gradient(1100px 600px at 50% 34%, rgba(var(--uv), .2), transparent 70%), radial-gradient(1400px 360px at 50% 112%, rgba(var(--uvB), .06), transparent 70%), var(--bg); cursor: pointer; user-select: none; -webkit-user-select: none; animation: start-in .5s ease-out both; }
#start.start.start-out { animation: start-out .45s ease-in both; pointer-events: none; }
@keyframes start-in { from { opacity: 0; } }
@keyframes start-out { to { opacity: 0; } }
#start .start-brand { position: relative; isolation: isolate; }
#start .start-brand::before { content: ''; position: absolute; z-index: -1; left: -22%; right: -22%; top: -46%; bottom: -30%; pointer-events: none; opacity: .75; background: radial-gradient(closest-side, rgba(var(--uv), .32), rgba(var(--uv), .09) 55%, transparent 100%); animation: uv-breathe 5s ease-in-out infinite; }
#start .start-word { font-size: clamp(116px, 14.5vw, 236px); line-height: .8; margin: 0; }
#start .start-word::after { display: none; }   /* booth.css's dot: the title stands alone */
#start .start-sub { margin: clamp(10px, 1.8vh, 20px) 0 0; font: 400 clamp(22px, 2.1vw, 32px)/1 var(--flyer); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-shadow: none; }
/* what Afters is: the path in three, joined by one line like the path strip (01 lit, the rest to come) */
#start .start-what { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, clamp(210px, 17vw, 280px))); align-items: start; }
#start .start-what li { display: grid; justify-items: start; align-content: start; gap: 3px; height: 100%; padding: 12px 16px 0; text-align: left; border-top: 2px solid rgba(var(--uv), .32); }
#start .start-what b { font-size: 12px; letter-spacing: .14em; color: var(--acid); }
#start .start-what span { font: 400 clamp(19px, 1.5vw, 24px)/1.05 var(--flyer); letter-spacing: .03em; text-transform: uppercase; color: var(--ink); }
#start .start-what i { font-style: normal; font-size: 13px; color: var(--muted); }
/* the one action */
#start .start-go { margin: clamp(4px, 1vh, 12px) 0 0; }
#start .start-key { position: relative; display: inline-block; padding: 16px 34px; border: 1px solid var(--acid); border-radius: var(--r); background: rgba(var(--uv), .14); color: #fff; font: 400 clamp(22px, 1.9vw, 30px)/1 var(--flyer); letter-spacing: .1em; text-transform: uppercase; text-shadow: none; box-shadow: var(--uv-edge); animation: none; }
#start .start-key::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; box-shadow: 0 0 0 1px rgba(var(--uv), .9); animation: start-breathe 2.4s ease-in-out infinite; }
#start:hover .start-key { background: rgba(var(--uv), .24); }
#start .start-fs { display: flex; align-items: center; gap: 10px; font: 700 12px/1 var(--mono); letter-spacing: .04em; text-transform: lowercase; color: var(--muted); animation: start-in .4s .2s ease-out both; }
#start .start-fs[hidden] { display: none; }
#start .start-fs .bbtn { font: 700 12px/1 var(--mono); letter-spacing: .04em; text-transform: lowercase; padding: 8px 16px; }
#start .start-fs .bbtn.primary { color: #fff; background: rgba(var(--uv), .3); border-color: var(--acid); }
#start .start-note { max-width: 560px; margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--faint); }
@media (max-height: 760px) { #start .start-word { font-size: clamp(104px, 12.5vw, 170px); } #start .start-what i { display: none; } #start .start-key { padding: 13px 28px; } }

/* ---------- the genre question (#likes, booth.js drawLikes: .eyebrow, h1, .sub, .chips > .chip[.on][.soon] > .chip-soon,
   #likesNote, .likes-go): one question, one screen. The title in the flyer face with the print misregistration, the
   chips a tidy grid of equal tiles that light in UV with a tick when picked ("coming soon" ones quieter, dashed, still
   pickable), then Continue as the one big action and Skip as a quiet text button. ---------- */
.likes { max-width: 980px; margin: clamp(28px, 9vh, 120px) auto 0; display: grid; gap: 12px; justify-items: start; }
.likes > .eyebrow { color: var(--acid); font-family: var(--mono); letter-spacing: .18em; }
.likes > .eyebrow::before { content: '// '; opacity: .8; }
.likes h1 { margin: 0; font-size: clamp(52px, 5.6vw, 88px); line-height: .92; text-transform: uppercase; text-shadow: none; }
.likes .sub { margin: 0 0 10px; font-size: 17px; color: var(--muted); max-width: 640px; }
.likes .chips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; width: 100%; }
.likes .chip { appearance: none; position: relative; min-height: 76px; padding: 14px 16px 12px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 4px; border: 1px solid var(--line2); border-radius: var(--r); background: linear-gradient(180deg, rgba(236, 235, 228, .05), rgba(236, 235, 228, .015)), var(--panel-solid); color: var(--ink); font: 400 22px/1 var(--flyer); letter-spacing: .04em; text-transform: uppercase; text-align: left; cursor: pointer; transition: border-color .12s, box-shadow .12s, background .12s, transform .12s; }
.likes .chip:hover { border-color: rgba(var(--uv), .8); background: rgba(var(--uv), .1); }
.likes .chip:active { transform: scale(.97); }
.likes .chip.on, .likes .chip[aria-pressed="true"] { border-color: var(--acid); background: linear-gradient(180deg, rgba(var(--uv), .34), rgba(var(--uv), .12)), var(--panel-solid); color: #fff; box-shadow: var(--uv-edge); text-shadow: none; }
.likes .chip::before { content: ''; position: absolute; top: 10px; right: 10px; width: 16px; height: 16px; border: 1px solid var(--line2); border-radius: var(--r); font: 800 12px/14px var(--mono); text-align: center; color: #0a0a08; }
.likes .chip.on::before, .likes .chip[aria-pressed="true"]::before { content: '✓'; background: var(--acid); border-color: var(--acid); box-shadow: none; }
.likes .chip.soon:not(.on) { border-style: dashed; background: transparent; color: var(--muted); }
.likes .chip .chip-soon { font: 700 12px/1 var(--mono); letter-spacing: .04em; text-transform: lowercase; color: var(--faint); text-shadow: none; }
.likes .chip.on .chip-soon { color: var(--amber); }
.likes-note { min-height: 1.4em; margin: 2px 0 0; color: var(--muted); }
.likes-go { margin-top: 8px; align-items: center; gap: 18px; }
.likes-go .bbtn.big { font-family: var(--flyer); font-weight: 400; font-size: 26px; letter-spacing: .04em; padding: 12px 40px; }
.likes-go .bbtn.ghost { border-color: transparent; background: transparent; color: var(--muted); font: 700 12px/1 var(--mono); letter-spacing: .04em; text-transform: lowercase; text-decoration: underline; text-underline-offset: 4px; }
.likes-go .bbtn.ghost:hover { color: var(--ink); }
@media (max-width: 1300px) { .likes .chips { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-height: 760px) { .likes { margin-top: 24px; } .likes .chip { min-height: 64px; } }

/* ---------- the veil (#veil, booth.js veil(): .dip / .dip-out for a frame on a route change; .wait + .veil-say while a
   lesson's tracks decode). design/first-session part 4: the wait state was never seen (#veil.veil's opacity 0 beat
   booth.css's .veil.wait), so a lesson that took ten seconds to decode looked frozen. Now: the screen dims, three bars
   in the band colours bounce (transform only; still under reduced motion), the line says what's happening and a quiet
   line under it what to do (nothing: it starts by itself). ---------- */
#veil.veil { position: fixed; inset: 0; z-index: 25; background: #000; opacity: 0; pointer-events: none; transition: opacity .2s ease-out; }
#veil.veil.dip, #veil.veil.up { opacity: .3; transition-duration: .12s; }
#veil.veil.wait { opacity: 1; pointer-events: auto; cursor: progress; background: radial-gradient(700px 300px at 50% 50%, rgba(var(--uv-room), .14), transparent 70%), rgba(0, 0, 0, .78); flex-direction: column; gap: 14px; transition: opacity .12s; }
#veil.veil.wait::before { content: ''; width: 34px; height: 30px; background: linear-gradient(var(--band-low), var(--band-low)) 0 100% / 8px 100% no-repeat, linear-gradient(var(--band-mid), var(--band-mid)) 13px 100% / 8px 100% no-repeat, linear-gradient(var(--band-high), var(--band-high)) 26px 100% / 8px 100% no-repeat; transform-origin: 50% 100%; animation: veil-eq .9s ease-in-out infinite alternate; }
@keyframes veil-eq { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
#veil.veil.wait .veil-say { font: 400 clamp(26px, 2.4vw, 36px)/1 var(--flyer); letter-spacing: .04em; text-transform: uppercase; color: #fff; text-shadow: var(--uv-text); }
#veil.veil.wait::after { content: 'The first time takes a few seconds. It starts by itself.'; font: 700 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Home (body.home) at a short window: fits 1280×720 with no scrolling: the stage blurbs drop, the
   path's cards shrink, More is one line, the brand's sub-line goes; the page never scrolls (overflow hidden) ---------- */
body.home { overflow: hidden; }
body.home .screen { padding-bottom: 24px; }
/* the build bar on Home: booth.css fixes it bottom right at 60% (feature/app-feel), out of the flow, so Home still fits 720 px; it is never hidden, so "Reload for the new version" can be seen and pressed between mixes (the smoke's service worker row) */
@media (min-width: 1000px) and (max-height: 680px) {   /* shorter still: the blurbs drop (each screen explains itself) */
  body.home .stage .small, body.home .modes.compact .mode .small { display: none; }
}
/* a laptop window between 760 and 920 px high (1536×864, 1440×900: design/waveforms): Home with the path's arc (feature/arc-path)
   ran 14-55 px past the bottom edge (the More row cut); the section gaps, the arc's cards and the modes tighten a little, More keeps no margin under it */
@media (min-width: 1000px) and (max-height: 920px) {
  body.home .hero { margin: 4px 0 8px; }
  body.home h3.sect, body.home .sect { margin: 12px 0 8px; }
  body.home .path-arc .arc-main .stage { min-height: 0; padding: 12px 14px; }
  body.home .path-arc .arc-more-h { margin: 10px 0 6px; }
  body.home .modes.compact .mode { padding: 12px 14px; }
  body.home .more-links { margin-bottom: 0; }
}
@media (min-width: 1000px) and (max-height: 760px) {
  body.home .screen { padding-top: 10px; }
  body.home .hero { margin: 0 0 6px; gap: 14px; }
  body.home .hero-word { font-size: clamp(64px, 8vw, 110px); }
  body.home .hero-brand .sub { margin: 6px 0 10px; font-size: 16px; }
  body.home .hero-stats b { font-size: 32px; }
  body.home .hero-next { padding: 14px 18px 52px; }
  body.home .hero-next b { font-size: 34px; }
  body.home .hero-go { bottom: 12px; }
  body.home .start-path { padding: 12px 18px; gap: 6px; }
  body.home .sp { padding: 8px 12px; gap: 12px; }
  body.home .sp-body b { font-size: 20px; }
  body.home .sp .bbtn.big { font-size: 19px; padding: 8px 20px; }
  body.home .sect { margin: 8px 0 6px; }
  body.home .stage { min-height: 0; padding: 10px 12px 12px; gap: 2px; }
  body.home .stage-n { font-size: 22px; margin-bottom: 8px; }
  body.home .stage b { font-size: 15px; }
  body.home .stage-bar { margin-top: 6px; }
  body.home .modes.compact .mode { padding: 10px 12px; }
  body.home .modes.compact .mode b { font-size: 14px; }
  body.home .more-links { margin-bottom: 0; flex-wrap: nowrap; overflow: hidden; }
  body.home .more-links a { padding: 4px 8px; font-size: 12px; white-space: nowrap; }
  body.home .unlocked { padding: 8px 14px; }
}

/* ---------- the ⛶ button in the header: a quiet mono glyph beside the controller LED; lit while full screen is on ---------- */
.fs-btn { font-size: 15px; line-height: 1; padding: 4px 8px; color: var(--muted); border-color: transparent; }
.fs-btn:hover { color: var(--ink); border-color: var(--line2); }
.fs-btn[aria-pressed="true"] { color: var(--acid); border-color: rgba(var(--uv), .5); box-shadow: var(--uv-soft); }
@media (display-mode: fullscreen), (display-mode: standalone) { .buildbar { position: fixed; right: 0; bottom: 0; padding: 4px 10px; z-index: 2; visibility: hidden; } .buildbar .report-btn, .buildbar .report-say { visibility: visible; } }   /* Report a problem stays (fix/tester-ready-2) */

/* the menu's light strip (booth-lights.js: while the menu loop's beat is on and no rig is on screen): 4 px of
   fixtures along the top edge, under nothing */
#lightsStrip.lights-strip { position: fixed; left: 0; top: 0; width: 100%; height: 4px; z-index: 11; pointer-events: none; display: block; opacity: 0; transition: opacity .6s; }
#lightsStrip.lights-strip.on { opacity: 1; }
/* a screen comes in only on a real route change (#screen[data-route], booth-pops.js) */
#screen[data-route] > * { animation: none; }
#screen[data-route].screen-in > * { animation: screen-in .28s ease-out both; }

@media (prefers-reduced-motion: reduce) {
  #start.start, #start.start.start-out, #start .start-brand::before, #start .start-key::after, #start .start-fs, .chip, #veil.veil, #veil.veil.wait::before, #lightsStrip.lights-strip { animation: none; transition: none; }
  #start .start-brand::before { opacity: .8; }
  #start.start.start-out, #veil.veil.up, #veil.veil.dip { opacity: 0; }
}

/* ---------- D3: the move pops (BoothPops.KINDS: mid, high, start, filter (out / sweep), blend (the smooth fade), lock),
   all md: in their band's or the deck's colour, under the hero swap. The hero swap hits a touch harder now it's rarer:
   a bigger name, a wider flood, a sharper landing. ---------- */
.spop-k-start { border-color: rgba(var(--uv-room), .8); box-shadow: 0 0 18px rgba(var(--uv-room), .4); }
.spop-k-start.spop-qclean .spop-name { color: #d6b3ff; text-shadow: 0 0 14px rgba(var(--uv-room), .7); }
.spop-k-filter { border-color: rgba(236, 235, 228, .6); box-shadow: 0 0 18px rgba(var(--uv-room), .3); }
.spop-k-filter.spop-qclean .spop-name { color: #fff; text-shadow: 0 0 12px rgba(var(--uv-room), .6); }
.spop-k-filter.spop-m-sweep.spop-qclean .spop-name { color: #c9ebff; text-shadow: 0 0 14px rgba(var(--uvB), .6); }
.spop-k-blend { border-color: rgba(236, 235, 228, .5); box-shadow: 0 0 16px rgba(236, 235, 228, .18); }
.spop-k-blend.spop-qclean .spop-name { color: var(--ink); text-shadow: 0 0 10px rgba(236, 235, 228, .4); }
.spop-k-blend .spop-q, .spop-k-lock .spop-q { color: var(--acid); opacity: 1; }
.spop-k-lock { border-color: rgba(var(--uvB), .7); box-shadow: 0 0 18px rgba(var(--uvB), .35); }
.spop-k-lock.spop-qclean .spop-name { color: var(--deckB); text-shadow: 0 0 14px rgba(var(--uvB), .6); }
.spop-md .spop-name { font-size: 22px; }
.spop-md .spop-pts { font-size: 17px; }
.spop-hero { padding: 10px 20px 11px; gap: 14px; }   /* trimmed so the full hero fits half a lane at 1280 (no spop-fit step-down there) */
.spop-hero .spop-name { font-size: 56px; }
.spop-hero.spop-k-swap { box-shadow: 0 0 0 1px rgba(var(--band-low-rgb), .55), 0 0 40px rgba(var(--band-low-rgb), .65), 0 0 120px rgba(var(--uv-room), .45); }

/* ---------- part 5: the controller drawing in the HUD is the Inpulse 500's, so it shows only for an Inpulse-based
   profile (body[data-dia="inpulse"], booth-pops.js diaCheck from BoothCoach.controllerName()); on any other controller
   a clean generic panel in its place: the controller's name small, the lit control's short name big, in the deck's colour ---------- */
body[data-dia="generic"] #hudDia > .diagram { display: none; }
.dia-generic { display: none; min-height: 64px; padding: 8px 12px 9px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel-solid); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025); }
body[data-dia="generic"] #hudDia > .dia-generic { display: grid; align-content: center; gap: 4px; }
.dia-generic .dg-name { font: 700 12px/1 var(--mono); letter-spacing: .04em; text-transform: lowercase; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dia-generic .dg-ctl { font: 400 22px/1 var(--flyer); letter-spacing: .02em; text-transform: uppercase; color: var(--ink); text-shadow: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dia-generic .dg-ctl:empty::before { content: '—'; color: var(--faint); text-shadow: none; }
.dia-generic[data-deck="A"] { border-color: rgba(var(--uv), .6); box-shadow: inset 3px 0 0 var(--deckA), var(--uv-soft); }
.dia-generic[data-deck="B"] { border-color: rgba(var(--uvB), .6); box-shadow: inset 3px 0 0 var(--deckB); }
.dia-generic[data-deck="B"] .dg-ctl { text-shadow: none; }
.dia-generic .dg-where { font-size: 12px; line-height: 1.3; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dia-generic .dg-where:empty { display: none; }
.screen.decks-screen.decks-banner > .hud .hud-dia > .dia-generic { min-height: 56px; }
body[data-dia="generic"] .screen.decks-screen.decks-banner > .hud .hud-dia { width: 236px; }   /* the generic panel is words, not a drawing: wider, still clear of the banner's text (46ch centred leaves 260 px a side at 1280) */

/* ---------- the lesson's lanes and decks fit the window (design/hud-fix): booth-waves.js's lanesFit sizes the lanes
   (--wf-h on #screen.lanes-fit) from what the window has left once the HUD and the decks have their height, so the
   decks are never cut and never scroll inside themselves (booth-play's fitLower capped them and scrolled them: the
   "127.00 BPM" row cut in half); the decks are compact enough at 720 for lanes of 110 px or more ---------- */
@media (min-width: 1000px) {
  #screen.decks-screen.lanes-fit .wf { height: var(--wf-h); }
  #screen.decks-hud #decks3 { max-height: none !important; overflow: visible !important; }
}
@media (min-width: 1000px) {
  /* Set mode and a lesson with Show everything (no focus: every panel is up): the decks scroll inside the window under
     the lanes, as Free mix's lower deck does; lanesFit gives them a fixed share (--decks-max), never a stale one */
  body:not(.focus) #screen.decks-hud.lanes-fit #decks3 { max-height: var(--decks-max) !important; overflow-y: auto !important; overscroll-behavior: contain; }
  /* the knob rows' sliders stay inside their column (they ran 2 px under the volume fader) */
  .decks3 .kn input[type=range] { width: 100%; min-width: 0; box-sizing: border-box; }
  /* a lesson's decks, compact: the readouts on one line, the tempo fader beside its name; the buttons keep main's layout
     (PLAY · CUE · START, then SYNC · Q · SLIP, as in Free mix: design/waveforms round 2 took out hud-fix's four-across row) */
  .screen.decks-hud .deckp { gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .screen.decks-hud .deckp > .row:first-child { min-height: 0; }
  .screen.decks-hud .deckp .ttl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .screen.decks-hud .dstats { flex-wrap: nowrap; gap: 14px; min-width: 0; white-space: nowrap; }
  .screen.decks-hud .dstats > div { flex: none; }
  .screen.decks-hud .dstats .jogd { width: 40px; height: 40px; }
  .screen.decks-hud .deckp > label.slider { grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; white-space: nowrap; }
  .screen.decks-hud .deckp > label.slider > .tiny { display: none; }   /* "(left slower, right faster)": the fader's own What's this? says it */
  .screen.decks-hud .deckp > label.slider > input { grid-column: 2; grid-row: 1; width: 100%; min-width: 0; }
}
/* a short window (760 px high or less): the deck buttons a little shorter on every deck screen, Free mix, lessons and Set
   mode alike (design/waveforms round 2: the same layout everywhere, PLAY · CUE · START then SYNC · Q · SLIP; the rows
   give the room the four-across row used to give a lesson at 1280×720 with the timing card docked) */
@media (min-width: 1000px) and (max-height: 760px) {
  .screen.decks-screen .dbtns { gap: 6px; }
  .screen.decks-screen .dbtns .tbtn { padding-top: 8px; padding-bottom: 8px; }
}
@media (min-width: 1000px) and (max-height: 820px) {
  body.focus .screen.decks-hud .jogd { display: none; }   /* a short window: the jog displays step out of a lesson's decks (focus mode dims them anyway) */
}
/* the callout on the lit control: since the banner's chip carries the target ("DECK B · MID | just under the middle"),
   the control itself only needs to be found: a UV marker at its edge, no words over the mixer's other rows or the
   deck's readouts (the words sat on TRIM and HIGH, and "press" on the BPM) */
body.focus #decks3 [data-callout]::after { content: ''; width: 0; height: 0; padding: 0; border: 0; background: none; box-shadow: none; }
body.focus #decks3 [data-callout]::before { left: auto; right: auto; bottom: auto; top: 50%; width: 6px; height: 6px; margin: -3px 0 0; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 2px rgba(0, 0, 0, .7); opacity: 1; }
body.focus #decks3 .kn[data-callout]::before { left: -9px; right: auto; }
body.focus #decks3 .mcol.deckB .kn[data-callout]::before { left: auto; right: -9px; }
body.focus #decks3 .vf[data-callout]::before { left: auto; right: -9px; top: 30px; width: 6px; height: 6px; }
body.focus #decks3 .mcol.deckB .vf[data-callout]::before { right: auto; left: -9px; }
body.focus #decks3 .deckB [data-callout]::before, body.focus #decks3 .mcol.deckB [data-callout]::before { background: var(--deckB); box-shadow: 0 0 0 2px rgba(0, 0, 0, .7); }
body.focus #decks3 button[data-callout]::before { left: 8px; top: 8px; margin: 0; }
@media (min-width: 1000px) {
  /* the volume fader sits square in its 30 px column (its 2 px margin and the vertical writing mode pushed it 7 px over the knobs' sliders) */
  .decks3 .mcol > .vf { justify-items: center; grid-template-columns: minmax(0, 1fr); }
  .decks3 .mcol > .vf > input.vert { margin: 0; width: 26px; justify-self: center; }
}
@media (min-width: 1000px) {
  /* the readouts give way before they run past the panel */
  .screen.decks-hud .dstats { overflow: hidden; }
  .screen.decks-hud .dstats > div:last-child { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  /* the coach's sub-line in Set mode is two pieces with a <br> ("Next: … PLAY on bar 65." and "Track 1 of 2 …"): one line, a dot between */
  .screen.decks-screen.decks-banner > .hud .hud-sub br { display: none; }
  .screen.decks-screen.decks-banner > .hud .hud-sub br + .small::before { content: '·'; margin: 0 8px; }
}
@media (min-width: 1000px) and (max-width: 1500px) {
  .screen.decks-hud .dstats .jogd { display: none; }   /* a laptop's width: the jog display steps out, the readouts stay on one line */
}
/* the toast on the deck screens: a 24 px line just under the header, over the light strip only, so it never covers the
   HUD's title row (Hear it, Stop and leave) or the banner */
@media (min-width: 1200px) {
  body[data-screen="play"] .btoast, body[data-screen="free"] .btoast { top: 48px; padding: 3px 12px; line-height: 18px; font-size: 12.5px; }
  body.timing-up[data-screen="play"] .btoast, body.timing-up[data-screen="free"] .btoast { top: 112px; }
}

/* ======================================================================================================================
   design/hud-fix part 3: the arc (reports/feature-arc-PLAN.md, Design D1). Styled against the contract's hooks (Main
   M1 feature/arc-path, M2 feature/first-set, M4 feature/come-back; static mocks in scripts/design-feel-mock.js until
   they land): .path-arc, body[data-stage], .swap-goal .ring[data-on], #unlockCard[data-move], .set-card[data-kind],
   .set-build with .set-link chips, .day-cards, .day-chip, .hero-new. Each move has one colour (--mv): the bass swap the
   LOW band's red-orange, the cut white, the EQ blend the MID band's yellow, the echo Deck B's cyan, the filter lilac.
   Opacity and transform only for motion; none under reduced motion; the lights only through BoothLights (the gate).
   ====================================================================================================================== */
[data-move="swap"], [data-move="bass"] { --mv: var(--band-low); --mv-rgb: var(--band-low-rgb); }   /* Main's set links and rows call the bass swap "bass" */
[data-move="cut"] { --mv: #f4f1ff; --mv-rgb: 230, 220, 255; }
[data-move="eq"] { --mv: var(--band-mid); --mv-rgb: var(--band-mid-rgb); }
[data-move="echo"] { --mv: var(--deckB); --mv-rgb: var(--uvB); }
[data-move="filter"], [data-move="set"] { --mv: #d6b3ff; --mv-rgb: var(--uv); }

/* ---------- 1. the path strip: the arc's four stages in one row, "More to learn" as a quieter second row ---------- */
.path-arc { margin: 0; }
.path-arc .arc-main { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.path-arc .arc-main .stage { min-height: 108px; }
.path-arc .stage.done { background: linear-gradient(180deg, rgba(var(--uv), .07), transparent 70%), var(--panel-solid); }
.path-arc .stage.done b { color: var(--ink); }
.path-arc .stage.done .stage-n { color: var(--acid); text-shadow: none; }
/* later: quiet, never broken: full-strength edges, the words in the muted ink (no fade to near-nothing, no dashes) */
.path-arc .stage.later b, .path-arc .stage.later .stage-n { opacity: 1; color: var(--muted); }
.path-arc .stage.later .small { color: var(--faint); }
.path-arc .stage.now { background: linear-gradient(180deg, rgba(var(--uv), .24), rgba(var(--uv), .05)), var(--panel-solid); }
.path-arc .stage.now b { font-family: var(--flyer); font-weight: 400; font-size: 22px; letter-spacing: .02em; text-shadow: none; }
/* the five moves as pips under "Five moves" */
.arc-pips { display: flex; gap: 4px; margin-top: 8px; }
.arc-pips i { flex: 1 1 0; max-width: 34px; height: 4px; background: rgba(236, 235, 228, .12); }
.arc-pips i.on { background: var(--acid); box-shadow: none; }
/* More to learn: one row of five small links */
.path-arc .arc-more-h { margin: 12px 0 6px; font-size: 12px; color: var(--faint); }
.arc-more { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.arc-more li { display: flex; min-width: 0; }
.arc-more .stage { min-height: 0; padding: 8px 12px; flex-direction: row; align-items: baseline; gap: 8px; border-left-width: 1px; border-radius: var(--r); background: rgba(236, 235, 228, .025); }
.arc-more .stage b { margin: 0; font-size: 13px; color: var(--ink); opacity: .85; white-space: nowrap; }
.arc-more .stage .small { font-size: 12px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.arc-more .stage:hover b { opacity: 1; }
@media (min-width: 1000px) and (max-height: 760px) {
  body.home .path-arc .arc-main .stage { min-height: 0; padding: 9px 12px 10px; }
  body.home .path-arc .stage.now b { font-size: 19px; }
  body.home .path-arc .arc-more-h { margin: 8px 0 4px; }
  body.home .arc-more .stage { padding: 6px 10px; }
}
/* body[data-stage]: the hero's Continue wears the stage's light (moves UV, the set magenta-UV, the week Deck B's cyan) */
body[data-stage="set"] .hero-next { border-color: #e070ff; box-shadow: 0 0 0 1px rgba(224, 112, 255, .4), 0 0 40px rgba(224, 112, 255, .25); }
body[data-stage="week"] .hero-next { border-color: var(--deckB); box-shadow: 0 0 0 1px rgba(var(--uvB), .35); }
body[data-stage="week"] .day-card { border-color: rgba(var(--uvB), .55); }

/* ---------- 2. the swap loop's goal: three rings that heat as the clean streak grows; each fills on a clean swap ---------- */
.swap-goal { display: inline-flex; align-items: center; gap: 12px; padding: 4px 12px; border: 1px solid var(--line2); border-radius: var(--r); background: rgba(4, 3, 6, .6); }
.swap-goal .goal-line { font: 700 12px/1 var(--mono); letter-spacing: .04em; text-transform: lowercase; color: var(--muted); white-space: nowrap; }
.goal-rings { display: inline-flex; gap: 8px; }
.goal-rings .ring { position: relative; display: block; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(236, 235, 228, .28); box-sizing: border-box; }
.goal-rings .ring[data-on="true"] { border-color: #c89cff; background: radial-gradient(circle, #c89cff 0 45%, rgba(200, 156, 255, .25) 46% 100%); box-shadow: none; animation: ring-fill .45s cubic-bezier(.2, 1.4, .4, 1) both; }
.goal-rings .ring[data-on="true"] + .ring[data-on="true"] { border-color: #e070ff; background: radial-gradient(circle, #e070ff 0 50%, rgba(224, 112, 255, .3) 51% 100%); box-shadow: 0 0 14px rgba(224, 112, 255, .75); }
.goal-rings .ring[data-on="true"] + .ring[data-on="true"] + .ring[data-on="true"] { border-color: #fff; background: radial-gradient(circle, #fff 0 55%, rgba(var(--uv), .5) 56% 100%); box-shadow: 0 0 0 2px rgba(var(--uv), .6); }
.goal-rings .ring[data-on="true"]::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid currentColor; color: #e070ff; opacity: 0; pointer-events: none; animation: ring-out .6s ease-out both; }
@keyframes ring-fill { 0% { transform: scale(.5); opacity: .2; } 100% { transform: none; opacity: 1; } }
@keyframes ring-out { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
/* the goal reached: the line lights white; good enough (8 goes): calm, never a failure: the line in plain ink, the empty rings dashed and quiet */
.swap-goal[data-state="done"] { border-color: var(--acid); box-shadow: 0 0 0 1px rgba(var(--uv), .4); }
.swap-goal[data-state="done"] .goal-line { color: #fff; text-shadow: none; }
.swap-goal[data-state="over"] .goal-line { color: var(--ink); }
.swap-goal[data-state="over"] .goal-line::before { content: '✓ '; color: var(--acid); }
.swap-goal[data-state="over"] .ring[data-on="false"] { border-style: dashed; border-color: rgba(236, 235, 228, .18); }
.swap-card .swap-goal { margin: 2px 0 8px; }

/* ---------- 3. the unlock card: lands with weight, the move's name huge in the flyer face, one UV sweep; the lights'
   celebrate goes through the gate (booth-pops.js unlockLand: once per card) ---------- */
#unlockCard { --mv: #d6b3ff; --mv-rgb: var(--uv); position: relative; overflow: hidden; text-align: left; padding: 22px 26px 20px; border-color: rgba(var(--mv-rgb), .85); background: radial-gradient(ellipse at 18% 0%, rgba(var(--mv-rgb), .18), transparent 60%), linear-gradient(180deg, rgba(var(--uv), .12), rgba(var(--uv), .02)), var(--panel-solid); box-shadow: 0 0 0 1px rgba(var(--mv-rgb), .45), 0 0 50px rgba(var(--mv-rgb), .3); animation: uc-land .62s cubic-bezier(.2, 1.15, .3, 1) both; }
#unlockCard[data-move="swap"], [data-move="bass"] { --mv: var(--band-low); --mv-rgb: var(--band-low-rgb); }   /* Main's set links and rows call the bass swap "bass" */
#unlockCard[data-move="cut"] { --mv: #f4f1ff; --mv-rgb: 230, 220, 255; }
#unlockCard[data-move="eq"] { --mv: var(--band-mid); --mv-rgb: var(--band-mid-rgb); }
#unlockCard[data-move="echo"] { --mv: var(--deckB); --mv-rgb: var(--uvB); }
#unlockCard::after { content: ''; position: absolute; top: -30%; bottom: -30%; left: 0; width: 160px; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .16), transparent); transform: translateX(-200px) skewX(-12deg); animation: uc-sweep 1.1s .35s ease-out both; }
#unlockCard .uc-eyebrow { display: inline-block; padding: 3px 10px; background: var(--mv); color: #0a0a08; font: 400 15px/1.1 var(--flyer); letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 0 18px rgba(var(--mv-rgb), .7); animation: chip-in .4s .18s cubic-bezier(.2, 1.4, .4, 1) both; }
#unlockCard .uc-move, #unlockCard h2 { margin: 10px 0 4px; font-family: var(--flyer); font-weight: 400; font-size: clamp(56px, 5.6vw, 84px); line-height: .92; letter-spacing: .01em; text-transform: uppercase; color: #fff; text-shadow: none; animation: uc-name .5s .12s cubic-bezier(.2, 1.3, .35, 1) both; }
#unlockCard .uc-line { margin: 0 0 14px; font-size: 17px; color: var(--ink); opacity: .9; }
#unlockCard .uc-acts { gap: 12px; align-items: center; }
#unlockCard .uc-acts .bbtn.big, #unlockCard .uc-acts .bbtn.primary { font-family: var(--flyer); font-weight: 400; font-size: 22px; letter-spacing: .03em; padding: 10px 26px; }
@keyframes uc-land { 0% { transform: translateY(22px) scale(.95); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes uc-name { 0% { transform: scale(1.18); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes uc-sweep { 0% { transform: translateX(-200px) skewX(-12deg); opacity: 1; } 100% { transform: translateX(1400px) skewX(-12deg); opacity: 0; } }

/* ---------- 4. the set's cards: the mini mix's (one transition, the move's line first), the rehearsal's, the first set's ---------- */
.set-card .set-line { margin: 2px 0 2px; font-family: var(--flyer); font-weight: 400; font-size: 24px; line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; color: #fff; text-shadow: none; }
.set-card .res-head h2 { font-size: 20px; margin: 0; }
.set-trs { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 4px; }
.set-tr { --mv: var(--acid); --mv-rgb: var(--uv); display: grid; grid-template-columns: 24px minmax(0, 1fr) auto 44px; align-items: baseline; column-gap: 12px; padding: 7px 12px; border: 1px solid var(--line); border-left: 3px solid var(--mv); background: rgba(var(--mv-rgb), .06); }
.set-tr .st-n { color: var(--faint); font-size: 12px; }
.set-tr .st-move { font-family: var(--flyer); font-weight: 400; font-size: 19px; letter-spacing: .02em; text-transform: uppercase; color: var(--mv); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.set-tr .st-word { font: 700 12px/1 var(--mono); letter-spacing: .06em; text-transform: lowercase; color: var(--ink); white-space: nowrap; }
.set-tr[data-q="late"] .st-word, .set-tr[data-q="early"] .st-word { color: var(--amber); }
.set-tr[data-q="clash"] .st-word, .set-tr[data-q="rough"] .st-word { color: var(--muted); }
.set-tr .st-score { font-size: 22px; text-align: right; color: #fff; }
.set-rec { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.set-rec .eyebrow { flex: 1 0 100%; }
.set-rec audio { flex: 1 1 220px; min-width: 0; height: 32px; }
.set-rec [data-clip] { border-color: var(--acid); color: #fff; box-shadow: var(--uv-soft); }
.set-rec [data-clip]::before { content: '◧ '; color: var(--acid); }
.set-card .sc-acts { margin-top: 10px; gap: 8px; }
/* the mini mix's and the rehearsal's cards: compact, under the lanes (the playheads stay in view), the move's line on top */
#resultSlot .set-card[data-kind="mini"], #resultSlot .set-card[data-kind="rehearsal"] { padding: 12px 16px 12px; }
#resultSlot .set-card[data-kind="mini"] .grade, #resultSlot .set-card[data-kind="rehearsal"] .grade { width: 52px; height: 52px; font-size: 30px; }
#resultSlot .set-card[data-kind="mini"] .set-rec, #resultSlot .set-card[data-kind="rehearsal"] .set-rec { flex-wrap: nowrap; }
#resultSlot .set-card[data-kind="mini"] .set-rec .eyebrow, #resultSlot .set-card[data-kind="rehearsal"] .set-rec .eyebrow { flex: none; }
#resultSlot .set-card .coach-xp { margin-top: 6px; display: flex; align-items: baseline; gap: 10px; }
/* the first set's card: wide, from under the header to the bottom edge (booth-pops marks #resultSlot.slot-set), two
   columns (the transitions and the points; the energy curve and the recording), the eyebrow and date clear of the header */
#resultSlot.slot-set:not(:empty) { top: 58px; bottom: 12px; width: min(1080px, calc(100% - 48px)); max-height: none; overflow: hidden; display: flex; }
#resultSlot.slot-set .set-card { flex: 1 1 auto; display: flex; flex-direction: column; margin: 0; padding: 22px 26px 18px; overflow: hidden; }
#resultSlot.slot-set .set-card .res-head { align-items: center; }
#resultSlot.slot-set .set-card .res-head .grade { width: 92px; height: 92px; font-size: 54px; font-family: var(--flyer); font-weight: 400; }
#resultSlot.slot-set .set-card .res-head h2 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1; margin-top: 4px; }
#resultSlot.slot-set .set-card .res-head .eyebrow time { color: var(--ink); }
.sc-cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; margin-top: 14px; min-height: 0; flex: 1 1 auto; }
.sc-main, .sc-side { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.sc-side .set-energy { flex: 1 1 auto; min-height: 90px; max-height: 200px; }
#resultSlot.slot-set .set-tr { padding: 10px 14px; }
#resultSlot.slot-set .set-tr .st-move { font-size: 22px; }
#resultSlot.slot-set .set-tr .st-score { font-size: 26px; }
#resultSlot.slot-set .sc-acts .bbtn.primary { font-family: var(--flyer); font-weight: 400; font-size: 20px; letter-spacing: .03em; padding: 8px 22px; }

/* ---------- 5. the set's build screen: three track cards and the two links between them, one screen at 720 ---------- */
.set-build > h1 { margin: 2px 0 4px; font-size: clamp(44px, 5vw, 72px); line-height: .95; text-transform: uppercase; text-shadow: none; }
.set-build > .sub { margin: 0 0 18px; color: var(--muted); font-size: 16px; }
.sb-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr) 150px minmax(0, 1fr); align-items: stretch; gap: 0; }
.sb-track { position: relative; display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 16px 18px 14px; min-width: 0; background: linear-gradient(180deg, rgba(var(--uv), .08), transparent 60%), var(--panel-solid); border-color: var(--line2); box-shadow: inset 0 2px 0 rgba(var(--uv), .6); }
.sb-track .sb-n { font: 400 40px/1 var(--flyer); color: var(--acid); text-shadow: none; }
.sb-track .sb-genre { position: absolute; top: 16px; right: 16px; font: 700 12px/1 var(--mono); letter-spacing: .04em; text-transform: lowercase; color: var(--muted); padding: 3px 6px; border: 1px solid var(--line2); }
.sb-track .sb-title { font-family: var(--flyer); font-weight: 400; font-size: 24px; line-height: 1.02; letter-spacing: .01em; text-transform: uppercase; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.04em; }
.sb-track .sb-artist { color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-track .sb-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink); }
.sb-track .sb-energy { position: relative; padding-bottom: 6px; }
.sb-track .sb-energy::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--e, 5) * 10%); background: var(--acid); box-shadow: none; }
.sb-track .sb-acts { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; flex-wrap: wrap; }
.set-link { position: relative; align-self: center; display: grid; justify-items: center; gap: 4px; margin: 0 -4px; padding: 12px 8px; text-align: center; z-index: 1; border: 1px solid rgba(var(--mv-rgb, var(--uv)), .7); border-radius: var(--r); background: #07050b; box-shadow: none; }
.set-link::before, .set-link::after { content: ''; position: absolute; top: 50%; width: 10px; height: 2px; background: rgba(var(--mv-rgb, var(--uv)), .8); }
.set-link::before { right: 100%; } .set-link::after { left: 100%; }
.set-link .sl-move { font-family: var(--flyer); font-weight: 400; font-size: 17px; line-height: 1.05; letter-spacing: .03em; text-transform: uppercase; color: var(--mv, var(--acid)); }
.set-link .sl-score { font-size: 28px; line-height: 1; color: #fff; }
.set-link .sl-info { appearance: none; width: 22px; height: 22px; padding: 0; border: 1px solid rgba(236, 235, 228, .22); border-radius: var(--r); background: transparent; color: var(--muted); font: 700 13px/1 var(--mono); cursor: pointer; }
.set-link .sl-info:hover { color: var(--ink); border-color: rgba(var(--uv), .8); }
.sb-go { margin-top: 20px; gap: 16px; align-items: center; }
.sb-go .bbtn.big { font-family: var(--flyer); font-weight: 400; font-size: 28px; letter-spacing: .04em; padding: 10px 40px; }
@media (max-height: 760px) { .set-build > .sub { margin-bottom: 12px; } .sb-go { margin-top: 14px; } .sb-track .sb-n { font-size: 32px; } }

/* ---------- 6. Home on Day n: the streak chip, today's new thing on the hero, the Daily and Weekly cards ---------- */
.hero.has-days > .day-cards { grid-column: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero.has-days > .hero-brand { grid-row: 1 / span 2; }
.day-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; padding: 10px 12px; text-align: left; font: inherit; color: var(--ink); cursor: pointer; border: 1px solid var(--line2); border-radius: var(--r); background: var(--panel-solid); box-shadow: inset 0 2px 0 rgba(var(--uv), .45); }
.day-card .eyebrow { font-size: 12px; }
.day-card > b { font-family: var(--flyer); font-weight: 400; font-size: 21px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.day-card .dc-state { font: 700 12px/1.2 var(--mono); letter-spacing: .04em; color: var(--acid); }
.day-card .dc-pair, .day-card .dc-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.day-card:hover { border-color: rgba(var(--uv), .8); box-shadow: inset 0 2px 0 var(--acid); }
.day-card[data-state="new"] { border-color: rgba(var(--uv), .7); }
.day-card[data-state="new"] .dc-state::before { content: '● '; }
.day-card[data-state="played"] .dc-state { color: var(--ink); }
.day-card[data-state="done"] { opacity: .75; box-shadow: none; }
.day-card[data-state="done"] .dc-state { color: var(--muted); }
.day-card.weekly { box-shadow: inset 0 2px 0 rgba(var(--uvB), .55); }
.day-card.weekly .dc-state { color: var(--deckB); }
.day-card.weekly[data-state="played"] .dc-state { color: #c9ebff; }
/* the streak chip: "Day 3" in Deck B's cyan beside the level, the first-go bonus small under it */
.hero-stats .day-chip b { color: var(--deckB); text-shadow: none; }
/* today's new thing: the hero's Continue with a NEW stamp in its corner */
.hero-next.hero-new::before { content: 'New today'; position: absolute; top: 14px; right: 14px; z-index: 1; padding: 3px 8px; background: #fff; color: #0a0a08; font: 400 13px/1.1 var(--flyer); letter-spacing: .1em; text-transform: uppercase; box-shadow: none; transform: rotate(3deg); }
@media (min-width: 1000px) and (max-height: 760px) {
  body.home .hero > .day-cards { gap: 8px; }
  body.home .day-card { padding: 7px 10px; gap: 2px; }
  body.home .day-card > b { font-size: 18px; }
  body.home .hero-next.hero-new { padding-bottom: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .goal-rings .ring[data-on="true"], .goal-rings .ring[data-on="true"]::after, #unlockCard, #unlockCard::after, #unlockCard .uc-eyebrow, #unlockCard .uc-move, #unlockCard h2 { animation: none; }
  #unlockCard::after { display: none; }
}
@media (min-width: 1000px) {
  /* Try just the swap in the HUD (design/hud-fix): the last five goes and the goal's rings on one compact line, the
     score and its word side by side in each chip (the chips' two lines plus the goal under them scrolled the page at 720) */
  .screen.decks-screen.decks-banner > .hud #swapHist { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 2px 0 0; flex-wrap: nowrap; }
  .screen.decks-screen.decks-banner > .hud #swapHist .swap-row { flex-wrap: nowrap; gap: 6px; }
  .screen.decks-screen.decks-banner > .hud #swapHist .swap-chip { display: inline-flex; align-items: baseline; gap: 6px; min-width: 0; padding: 3px 8px; }
  .screen.decks-screen.decks-banner > .hud #swapHist .swap-chip b { font-size: 16px; }
  .screen.decks-screen.decks-banner > .hud #swapHist .swap-chip i { font-size: 12px; }
  .screen.decks-screen.decks-banner > .hud #swapHist .swap-goal { padding: 3px 10px; }
  .screen.decks-screen.decks-banner > .hud #swapHist .goal-rings .ring { width: 16px; height: 16px; }
  .screen.decks-screen.decks-banner > .hud #swapHist .swap-row.small { padding: 4px 0; }
}
/* the build screen's title: two lines at most, ending in an ellipsis when it's longer (the clamp cut it with none) */
.sb-track .sb-title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-height: 0; }
/* (part 3, after the first shots) */
#unlockCard { display: block; }
#unlockCard .uc-eyebrow { width: max-content; }
.path-arc .arc-count { margin-left: 8px; font-family: var(--mono); font-size: 14px; letter-spacing: .04em; color: var(--acid); text-shadow: none; vertical-align: 2px; }
/* the set's cards stand on solid ground (the lanes under a see-through card read as clutter) */
#resultSlot .set-card { background: linear-gradient(180deg, rgba(var(--uv), .1), transparent 120px), #08060c; border-color: rgba(var(--uv), .55); box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 18px 50px rgba(0, 0, 0, .6); }
/* the mini mix's and the rehearsal's cards dock over the played half (left), so both playheads and the music still to come stay in view */
#resultSlot.slot-left:not(:empty) { left: 24px; transform: none; width: min(560px, calc(50% - 64px)); max-height: calc(100vh - 140px); }
/* the energy curve: one bar per track, the track's energy as its height, in UV with a bright cap; the numbers under */
.set-energy { display: flex; align-items: flex-end; gap: 10px; height: 120px; padding: 8px 4px 22px; border-bottom: 1px solid var(--line2); }
.set-energy > i { position: relative; flex: 1 1 0; min-height: 6px; background: linear-gradient(180deg, rgba(var(--uv), .7), rgba(var(--uv), .15)); box-shadow: inset 0 2px 0 #e3ccff; font-style: normal; }
.set-energy > i > span { position: absolute; left: 0; right: 0; top: auto; bottom: -20px; text-align: center; font-size: 12px; color: var(--muted); }
.sc-side .set-energy { height: auto; }

/* ---------- design/first-session part 2: Home on day one (booth.js drawMenu: .menu-rest.day-one, a new player who hasn't
   done Your first mix nor skipped it). Only the essentials are out: the AFTERS header, Start here (the Continue card of
   day one) and the path strip, at full strength and with their blurbs; More to learn, Play and practise and More sit
   behind one clear "Explore more" bar (details.explore > summary.explore-sum), nothing locked or lost. The rule is
   Main's markup's (dayOne = !firstDone && !firstSkipped); returning players and anyone who skipped see Home as before. ---------- */
.menu-rest.day-one { opacity: 1; }
@media (min-height: 921px) { body.home .menu-rest.day-one .path-arc .arc-main .stage { min-height: 124px; } .day-one .path-arc > .sect { margin-top: 30px; } }
.explore { margin-top: clamp(14px, 3vh, 32px); border-top: 1px solid var(--line); }
.explore > summary { list-style: none; display: flex; align-items: baseline; gap: 14px; width: max-content; max-width: 100%; padding: 14px 4px 6px 0; cursor: pointer; color: var(--muted); }
.explore > summary::-webkit-details-marker { display: none; }
.explore > summary b { font: 700 13px/1 var(--mono); letter-spacing: .04em; text-transform: lowercase; color: var(--ink); }
.explore > summary b::before { content: '+'; display: inline-block; width: 22px; height: 22px; margin-right: 10px; border: 1px solid rgba(var(--uv), .7); border-radius: var(--r); font: 700 15px/20px var(--mono); text-align: center; color: var(--acid); box-shadow: none; vertical-align: -6px; }
.explore[open] > summary b::before { content: '−'; }
.explore > summary .small { color: var(--faint); }
.explore > summary:hover b, .explore > summary:focus-visible b { color: #fff; text-shadow: none; }
.explore > summary:hover b::before { background: rgba(var(--uv), .16); }
.explore > summary:focus-visible { outline: 1px solid var(--acid); outline-offset: 3px; }
.explore .arc-more-h { margin: 10px 0 6px; font-size: 12px; color: var(--faint); }
body.home .explore .arc-more .stage { min-height: 0; }
/* a tall window on day one: the essentials sit lower and larger, not stuck to the top over an empty page */
@media (min-width: 1000px) and (min-height: 921px) {
  body.home.day-one .screen { padding-top: clamp(32px, 7vh, 96px); }
  body.home.day-one .start-hero .hero-word { font-size: clamp(110px, 10vw, 190px); }
  body.home.day-one .start-hero .hero-brand .sub { font-size: 22px; }
}
.explore[open] > :not(summary) { animation: screen-in .25s ease-out both; }
@media (prefers-reduced-motion: reduce) { .explore[open] > :not(summary) { animation: none; } }
@media (min-width: 1000px) and (max-height: 920px) { .explore { margin-top: 12px; } .explore > summary { padding: 10px 4px 2px 0; } body.home .explore[open] h3.sect { margin: 8px 0 6px; } }
@media (min-width: 1000px) and (max-height: 800px) { body.home .explore[open] .arc-more-h { margin-top: 6px; } body.home .explore[open] .modes.compact .mode .small { display: none; } }

/* ---------- design/first-session part 3: Your first set ----------
   The build screen (#set/first, booth-game.js paintFirstSet's real markup): three track cards in order with the two
   moves between them as clear transition markers (the move above a line in its colour that runs card to card with an
   arrowhead, the link's score and ⓘ under it), each card's facts as three quiet chips (BPM, key, energy with its bar), and
   Mix it the one big action. */
.set-build .sb-row { grid-template-columns: minmax(0, 1fr) 156px minmax(0, 1fr) 156px minmax(0, 1fr); }
.set-build .set-link { align-self: stretch; display: grid; grid-template-columns: 1fr auto auto 1fr; grid-template-rows: 1fr 2px 1fr; grid-template-areas: "mv mv mv mv" "ln ln ln ln" ". sc in ."; align-items: center; justify-items: center; column-gap: 6px; margin: 0; padding: 0 2px; border: 0; background: none; box-shadow: none; }
.set-build .set-link::before { content: ''; grid-area: ln; position: static; width: 100%; height: 2px; background: linear-gradient(90deg, rgba(var(--mv-rgb, var(--uv)), .25), var(--mv, var(--acid))); box-shadow: none; }
.set-build .set-link::after { content: ''; grid-area: ln; position: static; justify-self: end; align-self: center; width: 0; height: 0; margin-right: -2px; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid var(--mv, var(--acid)); background: none; filter: drop-shadow(0 0 4px rgba(var(--mv-rgb, var(--uv)), .8)); }
.set-build .set-link .sl-move { grid-area: mv; align-self: end; margin-bottom: 8px; padding: 0 6px; font-size: 17px; line-height: 1.05; text-shadow: none; }
.set-build .set-link .sl-score { grid-area: sc; align-self: start; margin-top: 8px; font-size: 24px; }
.set-build .set-link .sl-info { grid-area: in; align-self: start; margin-top: 10px; }
.set-build .sb-track { border-top: 2px solid rgba(var(--uv), .7); }
.set-build .sb-track .sb-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; font-size: 12px; }
.set-build .sb-track .sb-meta > span { padding: 4px 8px 5px; border: 1px solid var(--line2); border-radius: var(--r); color: var(--ink); letter-spacing: .04em; background: rgba(236, 235, 228, .03); }
.set-build .sb-track .sb-energy { padding-bottom: 7px; }
.set-build .sb-track .sb-energy::after { left: 8px; bottom: 3px; width: calc((100% - 16px) * var(--e, 5) / 10); height: 2px; }
.set-build .sb-track .sb-acts .bbtn:first-child { border-color: rgba(var(--uv), .6); }
.set-build .sb-go { padding-top: 18px; border-top: 1px solid var(--line); }
.set-build .sb-go .bbtn.big { padding: 12px 54px; font-size: 30px; }

/* The first set's card: the +300 milestone as an unlock-card-style reveal (.ms-reveal, put at the top of the card's side
   column by booth-pops.js from the card's own points line): a tag, the milestone's name huge in the flyer face with the
   print misregistration, the points, one UV sweep; it lands once (opacity and transform), still under reduced motion.
   The recording under it is "listen back": a lit panel with the player and Download; Another set and Home stay the
   card's foot. */
.ms-reveal { --mv: var(--acid); --mv-rgb: var(--uv); position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "eb pts" "nm pts" "ln ln"; align-items: center; column-gap: 14px; padding: 14px 18px 12px; border: 1px solid rgba(var(--uv), .85); border-radius: var(--r); background: radial-gradient(ellipse at 15% 0%, rgba(var(--uv), .26), transparent 65%), linear-gradient(180deg, rgba(var(--uv), .12), rgba(var(--uv), .02)), var(--panel-solid); box-shadow: 0 0 0 1px rgba(var(--uv), .4); animation: uc-land .62s .25s cubic-bezier(.2, 1.15, .3, 1) both; }
.ms-reveal::after { content: ''; position: absolute; top: -40%; bottom: -40%; left: 0; width: 120px; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .16), transparent); transform: translateX(-160px) skewX(-12deg); animation: uc-sweep 1.1s .6s ease-out both; }
.ms-reveal .ms-eyebrow { grid-area: eb; justify-self: start; padding: 3px 10px; background: var(--acid); color: #0a0a08; font: 400 14px/1.1 var(--flyer); letter-spacing: .12em; text-transform: uppercase; box-shadow: none; }
.ms-reveal .ms-name { grid-area: nm; margin-top: 6px; font: 400 clamp(32px, 3vw, 46px)/.95 var(--flyer); letter-spacing: .01em; text-transform: uppercase; color: #fff; text-shadow: none; }
.ms-reveal .ms-pts { grid-area: pts; font-size: clamp(34px, 3.2vw, 48px); font-weight: 800; color: var(--acid); text-shadow: none; }
.ms-reveal .ms-line { grid-area: ln; margin-top: 4px; font-size: 13px; color: var(--muted); }
#resultSlot.slot-set .set-card .sc-side { gap: 12px; }
#resultSlot.slot-set .set-card .set-rec { padding: 10px 12px 12px; border: 1px solid rgba(var(--uv), .45); border-radius: var(--r); background: rgba(var(--uv), .06); }
#resultSlot.slot-set .set-card .set-rec .eyebrow { color: var(--acid); }
#resultSlot.slot-set .set-card .set-rec .eyebrow::before { content: '▶ Listen back · '; color: var(--ink); }
#resultSlot.slot-set .set-card .set-rec audio { flex-basis: 260px; height: 36px; }
#resultSlot.slot-set .set-card .sc-acts { padding-top: 10px; border-top: 1px solid var(--line); }
@media (max-height: 800px) { .ms-reveal { padding: 10px 14px 9px; } .ms-reveal .ms-name { font-size: 30px; } .ms-reveal .ms-pts { font-size: 32px; } .ms-reveal .ms-line { display: none; } }
@media (prefers-reduced-motion: reduce) { .ms-reveal, .ms-reveal::after { animation: none; } .ms-reveal::after { display: none; } }

/* Home's path strip: every stage says its state the same way (01 Your first mix, 02 Five moves, 03 Your first set,
   04 Your week): Now (booth.css), Done (a UV outline tag beside the ✓) and Later (a quiet outline, never a lock: nothing is
   blocked). The first set done also lights its ✓ like 01's. */
.path-arc .arc-main .stage.done::after, .path-arc .arc-main .stage.later::after { position: absolute; top: 14px; right: 14px; padding: 2px 6px; font: 800 12px var(--mono); letter-spacing: .04em; text-transform: lowercase; border-radius: var(--r); }
.path-arc .arc-main .stage.done::after { content: 'Done'; color: var(--acid); border: 1px solid rgba(var(--uv), .7); box-shadow: none; }
.path-arc .arc-main .stage.later::after { content: 'Later'; color: var(--faint); border: 1px solid var(--line2); }
@media (min-width: 1000px) and (max-height: 920px) { .path-arc .arc-main .stage.done::after, .path-arc .arc-main .stage.later::after, .path-arc .arc-main .stage.now::after { top: 10px; right: 10px; } }

/* Recordings: the first set's recording carries a small badge (booth-game.js drawRecordings: .mixrow.mix-first > .rec-first) */
.mixrow.mix-first { border-left: 2px solid var(--acid); padding-left: 12px; background: linear-gradient(90deg, rgba(var(--uv), .08), transparent 40%); }
.rec-first { margin-left: 6px; padding: 2px 7px; background: var(--acid); color: #0a0a08; font: 400 12px/1.2 var(--flyer); letter-spacing: .1em; text-transform: uppercase; border-radius: var(--r); box-shadow: none; vertical-align: 2px; }
/* the set's rows in their move's colour (.set-tr's own --mv default came later in the file and won over [data-move]) */
.set-tr[data-move="bass"], .set-tr[data-move="swap"] { --mv: var(--band-low); --mv-rgb: var(--band-low-rgb); }
.set-tr[data-move="eq"] { --mv: var(--band-mid); --mv-rgb: var(--band-mid-rgb); }
.set-tr[data-move="echo"] { --mv: var(--deckB); --mv-rgb: var(--uvB); }
.set-tr[data-move="cut"] { --mv: var(--ink); --mv-rgb: var(--uvB); }

/* ---------- design/first-session part 4: the controller's state in the header, friendly. Not connected is fine (the
   mouse and keys work), so it is never red: a quiet ring and the next action, Connect controller, outlined in UV. Not
   found ("No controller found", Try again) is amber, not alarm red; a connection in progress breathes. The full story
   stays on hover (the pill's title). ---------- */
.conn.idle .led { background: transparent; border: 1.5px solid var(--faint); box-shadow: none; }
.conn.missing .led, .conn.busy .led { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.conn.connecting .led { animation: start-breathe 1.2s ease-in-out infinite; }
.conn.idle #connect, .conn.missing #connect { border-color: rgba(var(--uv), .75); color: #fff; box-shadow: none; }
.conn.idle #connect:hover, .conn.missing #connect:hover { background: rgba(var(--uv), .16); }
@media (prefers-reduced-motion: reduce) { .conn.connecting .led { animation: none; } }

/* ======================================================================================================================
   design/mixing-screen: the mixing screen's hierarchy (Dean and a first-time player, October 2026). One instruction
   zone, the waveforms as the hero, a mixer you can read at a glance, the decks' secondary controls quieter, the
   stacked top bars collapsed. Layout, markup hooks and display only: no logic, no timings, no scoring. Keys off the
   classes booth-waves.js sets on #screen (.decks-screen, .decks-hud, .decks-banner, and now .hints-up while Free mix's
   Guided step is on screen), never :has().
   ====================================================================================================================== */
@media (min-width: 1000px) {
  /* ---------- 1. Free mix's top: three rows, each with one job. The light strip (thin). One row of small print: the
     legend at the left, the score and the buttons at the right. Then the instruction, big and centred on the playhead
     (Guided's step), directly over the lanes as a lesson's banner is, with the beatmatch line small at its right end.
     Before: the strip, the score bar, the hint strip and a two-line legend, five bars of small text before the lanes.
     The score sits above the instruction so a pop never crosses it (booth-pops: with the instruction between the lanes
     and the score the pop rises and fades in place and the score takes the hit, QA M3). Every row above the lanes is a
     whole number of pixels tall, so the lanes sit on a whole css pixel without a snap (design/waveforms-2's crisp rows). ---------- */
  .screen.decks-screen:not(.decks-hud) { grid-template-rows: auto auto 46px; }   /* the instruction's row is always 46 px, with or without a step in it: a step coming or going moves nothing under it (and never scrolls the decks under the lanes) */
  .screen.decks-screen:not(.decks-hud) > .club { height: 22px; margin-bottom: 4px; }
  .screen.decks-screen:not(.decks-hud) > .mix-hints { grid-row: 3; grid-column: 1 / -1; justify-self: stretch; box-sizing: border-box; width: 100%; height: 46px; margin: 0; padding: 0 220px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; gap: 12px; white-space: nowrap; overflow: hidden; }
  .screen.decks-screen:not(.decks-hud) > .mix-hints[hidden], .screen.decks-screen:not(.decks-hud):not(.hints-up) > .mix-hints { display: none; }   /* only with a step in it (.hints-up): the Hints level's bar of marks is gone */
  .screen.decks-screen:not(.decks-hud) > .mix-hints > .mh-next { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.15; font-weight: 800; letter-spacing: -.012em; color: #fff; text-shadow: none; }
  .screen.decks-screen:not(.decks-hud) > .mix-hints > .mh-count { flex: none; display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 9px; border-radius: 1px; border: 1px solid rgba(var(--uv), .7); background: rgba(4, 3, 6, .85); font: 800 15px/1 var(--mono); letter-spacing: .06em; color: #e3ccff; box-shadow: inset 3px 0 0 var(--deckA); }
  .screen.decks-screen:not(.decks-hud) > .mix-hints > .mh-warn { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 13px; font-weight: 700; color: var(--amber); }
  .screen.decks-screen:not(.decks-hud) > .mix-hints > .mh-mark { display: none; }   /* the Hints level's little marks: the lanes carry every marker now */
  .screen.decks-screen:not(.decks-hud) > .freebar { grid-row: 2; grid-column: 1 / -1; justify-self: end; align-self: center; box-sizing: border-box; height: 30px; margin: 0 0 4px; padding: 0; background: transparent; border: 0; box-shadow: none; gap: 10px; flex-wrap: nowrap; white-space: nowrap; }
  .screen.decks-screen:not(.decks-hud) > .freebar .fscore { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
  .screen.decks-screen:not(.decks-hud) > .freebar .fs-pts { font-size: 20px; }
  .screen.decks-screen:not(.decks-hud) > .freebar .fs-k:last-child { display: none; }   /* "land a bass swap, cut or echo out on the 1 to score": the step above says what to do; the pops teach the scoring */
  .screen.decks-screen:not(.decks-hud) > .freebar .bbtn { padding-top: 4px; padding-bottom: 4px; }
  .screen.decks-screen:not(.decks-hud) > .freebar .assist { font-size: 12px; }
  .screen.decks-screen:not(.decks-hud) > .wv-legend { grid-row: 2; grid-column: 1 / -1; justify-self: start; align-self: center; max-width: calc(100% - 600px); min-height: 0; height: 22px; margin: 0 0 4px; }
  /* ---------- 2. the legend is one quiet line everywhere: the four colours, the phrase line, the level and the zoom.
     The hint keys (High swap, Fade out, Basslines overlap…) are gone: every zone and marker on the lanes carries its own
     name. 11.5 px, never two lines. ---------- */
  html .screen.decks-screen > .wv-legend, html .screen.decks-screen.decks-banner > .wv-legend { flex-wrap: nowrap; overflow: hidden; gap: 0 12px; font-size: 12px; min-height: 22px; }
  .screen.decks-screen > .wv-legend > .wv-k { flex: none; }
  .screen.decks-screen > .wv-legend > .grow { flex: 1 1 0; min-width: 0; }
  .screen.decks-screen > .wv-legend .wv-zoom .bbtn.sm { padding: 1px 8px; min-width: 26px; line-height: 16px; }
  /* ---------- 3. the lesson HUD's title row: the eyebrow, the title and the mission strip get the room; the record
     button is its dot until there's room for its words (under 1440 px), so "Bass swap" is never "BASS S…" beside a
     "1 LEARN IT · 2 FROM M…". The nav and lead cells keep their fixed slots (fix/echo-timing: nothing shifts). ---------- */
  .screen.decks-screen.decks-banner > .hud > .hud-top > .grow > .eyebrow { font-size: 12px; letter-spacing: .14em; }
  .screen.decks-screen.decks-banner > .hud > .hud-top h2 { flex: 1 1 auto; font-size: 15px; }
  .screen.decks-screen.decks-banner > .hud > .hud-top h2 { min-width: 7ch; }
  .screen.decks-screen.decks-banner > .hud #hudMission { flex: 0 1 auto; }
  /* the mission strip on one line in the title row (it wrapped its label under the boxes, 55 px in a 34 px row) */
  .screen.decks-screen.decks-banner > .hud #hudMission .mstrip { flex-wrap: nowrap; margin-top: 0; gap: 4px; }
  .screen.decks-screen.decks-banner > .hud #hudMission .mrep { min-width: 24px; height: 22px; font-size: 12px; }
  .screen.decks-screen.decks-banner > .hud #hudMission .mlabel { max-width: 150px; font-size: 12px; }
  /* the banner: the instruction is the biggest thing on screen (28-32 px); a little less air round it, so the lanes
     get the room (two lines' room is kept: a long step never moves the lanes) */
  html body:not(.quiet) .screen.decks-screen.decks-banner > .hud #hudBanner { padding-top: 4px; padding-bottom: 4px; min-height: calc(2 * 1.14 * clamp(28px, 2.1vw, 32px) + 38px); row-gap: 4px; }
  /* ---------- 4. the mixer: wider, with knobs and faders you can read at a glance. Each knob is a real slider (a
     round thumb on a track with a centre notch, in the deck's colour), its name 12 px; the volume faders the same;
     the crossfader's note and the master line no smaller than 11 px. The lessons teach the mixer: it reads as the
     instrument now, not the smallest part of the screen. ---------- */
  .decks3 { grid-template-columns: minmax(0, 1fr) clamp(380px, 31vw, 440px) minmax(0, 1fr); }
  .decks3 .mixer { padding: 8px 12px 9px; gap: 6px; }
  .decks3 .mcols { gap: 12px; }
  .decks3 .mcol { grid-template-columns: minmax(0, 1fr) 36px 7px; column-gap: 7px; row-gap: 3px; }
  .decks3 .mcol.deckB { grid-template-columns: 7px 36px minmax(0, 1fr); }
  .decks3 .mcol > .dk { font-size: 12px; line-height: 16px; }
  .decks3 .kn { grid-template-columns: 50px minmax(0, 1fr); font-size: 12px; letter-spacing: .08em; color: #cfcdc4; }
  .decks3 .mcol.deckB .kn { grid-template-columns: minmax(0, 1fr) 50px; }
  .decks3 .kn input[type=range] { height: 22px; }
  .decks3 .mcol > .vf { font-size: 12px; letter-spacing: .08em; color: #cfcdc4; }
  .decks3 input.vert { width: 38px; min-height: 120px; }
  .decks3 .pfl { padding: 3px 6px; font-size: 12px; }
  .decks3 .slider.xf { font-size: 12.5px; color: #cfcdc4; }
  .decks3 .slider.xf > input { height: 22px; }
  .decks3 .slider.xf > .tag { font-size: 12px; line-height: 15px; color: var(--muted); }
  .decks3 .mixer > .row.small { font-size: 12px; }
  .cfx-n { font-size: 12px; }
  .cfx-l { font-size: 12px; }
  /* the sliders: a 4 px track with the deck's colour up to the thumb's side of the centre, a notch at the middle, a 16 px
     round thumb with a UV edge (Deck B cyan). Chrome's own accent-color slider was 10 px of thumb on a hairline. */
  .decks3 .kn input[type=range], .decks3 .slider.xf > input[type=range] { -webkit-appearance: none; appearance: none; margin: 0; background: transparent; cursor: pointer; }
  .decks3 .kn input[type=range]::-webkit-slider-runnable-track, .decks3 .slider.xf > input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, rgba(236, 235, 228, .14), rgba(236, 235, 228, .14)) 0 0 / 100% 100% no-repeat, linear-gradient(90deg, transparent calc(50% - 1px), rgba(236, 235, 228, .55) calc(50% - 1px), rgba(236, 235, 228, .55) calc(50% + 1px), transparent calc(50% + 1px)); }
  .decks3 .kn input[type=range]::-webkit-slider-thumb, .decks3 .slider.xf > input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%; background: #1a1620; border: 2px solid var(--deckA); box-shadow: 0 0 0 1px rgba(0, 0, 0, .8); }
  .decks3 .mcol.deckB .kn input[type=range]::-webkit-slider-thumb { border-color: var(--deckB); box-shadow: 0 0 0 1px rgba(0, 0, 0, .8); }
  .decks3 .slider.xf > input[type=range]::-webkit-slider-thumb { border-color: #ecebe4; box-shadow: 0 0 0 1px rgba(0, 0, 0, .8), 0 0 8px rgba(236, 235, 228, .3); }
  .decks3 .kn input[type=range]:focus-visible, .decks3 .slider.xf > input[type=range]:focus-visible { outline: 1px solid var(--acid); outline-offset: 2px; }
  /* ---------- 5. the decks' secondary controls step back: PLAY · CUE · START and SYNC · Q · SLIP are plain buttons of a
     normal size (they were the biggest things on the decks), the readouts stay. ---------- */
  .screen.decks-screen .dbtns { gap: 6px; }
  .screen.decks-screen .dbtns .tbtn { padding: 9px 8px; font-size: 13px; font-weight: 700; }
  .screen.decks-screen .dstats .big { font-size: 28px; }
  .screen.decks-screen .dk { font-size: 12px; }
}
@media (min-width: 1000px) and (max-width: 1439px) {
  /* the record button as its dot (● / ■) in a lesson's title row: its words come back from 1440 px */
  html .screen.decks-screen.decks-banner > .hud .recbar #recBtn { min-width: 34px; width: 34px; padding-left: 0; padding-right: 0; font-size: 0; color: transparent; position: relative; }
  html .screen.decks-screen.decks-banner > .hud .recbar #recBtn::before { content: '●'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; color: var(--ink); }
  html .screen.decks-screen.decks-banner > .hud .recbar #recBtn.rec::before { content: '■'; color: #fff; }
}
/* a laptop window 768 px high or less (1366×768, 1280×720, the timing card docked): the mixer's rows back to their
   compact heights, so the lanes keep their least height and the page never scrolls (the layout guard's short sizes) */
@media (min-width: 1000px) and (max-height: 768px) {
  .decks3 .mixer { padding: 7px 10px 8px; gap: 5px; }
  .decks3 .mcol { row-gap: 2px; }
  .decks3 .mcol > .dk { line-height: 15px; }
  .decks3 .kn input[type=range] { height: 16px; }
  .decks3 .slider.xf > input { height: 16px; }
  .decks3 .slider.xf > .tag { line-height: 14px; }
  .decks3 .pfl { padding: 2px 6px; font-size: 12px; }
  .decks3 input.vert { min-height: 96px; }
  .decks3 .kn { font-size: 12px; }
  .decks3 .mcol > .vf { font-size: 12px; }
  .decks3 .slider.xf { font-size: 12px; }
  .decks3 .mixer > .row.small { font-size: 12px; }
  .screen.decks-screen .dbtns .tbtn { padding-top: 8px; padding-bottom: 8px; }
}
/* ---------- design/mixing-screen part 3: the related controls lit together (fix/playtest-regressions' hook: a step naming
   a band sets body[data-step-band="low|mid|high"]; BoothCoach.relatedOf lights both decks' knobs for it). Everything
   related wears that band's own colour, the one the legend and the waveform use (LOW red, MID yellow, HIGH pink): the
   knobs' tubes, a frame round the lanes, the legend's key and the drawing's knobs, all breathing together on one 1.6 s
   cycle (opacity only: 0.6 flashes a second, well under the 3 a second rule; still under reduced motion). The UV tube
   stays for a control that isn't a band (PLAY, a fader). ---------- */
/* design/mixing-perf: --step-band is set on the elements that read it (the lit knob row, the legend's band keys, the
   drawing's lit control), not on body: an inherited custom property changed on body restyled every element on the
   page at each step that names a band (56 ms of style at 4x CPU, the slowest frames of a lesson). The rules below that
   end in a tag or an attribute (input[type], a bare i) restyled every button, input and i on the page the same way, so
   each ends in a class here, matching exactly what it matched before */
body[data-step-band~="low"] #decks3 .kn.is-needed, body[data-step-band~="low"] .wv-legend .wv-low, body[data-step-band~="low"] #hudDia .c.focus { --step-band: var(--band-low-rgb); }
body[data-step-band~="mid"] #decks3 .kn.is-needed, body[data-step-band~="mid"] .wv-legend .wv-mid, body[data-step-band~="mid"] #hudDia .c.focus { --step-band: var(--band-mid-rgb); }
body[data-step-band~="high"] #decks3 .kn.is-needed, body[data-step-band~="high"] .wv-legend .wv-high, body[data-step-band~="high"] #hudDia .c.focus { --step-band: var(--band-high-rgb); }
body[data-step-band].focus #decks3 .kn.is-needed { --lit: rgb(var(--step-band)); --lit-rgb: var(--step-band); }   /* (design/calm-coach: the tube reads --lit) */
body[data-step-band].focus #decks3 label.kn.is-needed { color: #fff; text-shadow: none; }
/* (the knob row's slider: a slider under 1100 px wide; from 1100 px it lies transparent over the round knob, opacity 0
   (design/mixing-screen-overhaul), where a glow on it can't be seen, so these two apply under 1100 px only) */
@media (max-width: 999px) {
body[data-step-band].focus #decks3 .kn.is-needed input[type="range"] { filter: none; }
body[data-step-band].focus #decks3 .kn.is-needed input[type=range]::-webkit-slider-thumb { border-color: rgb(var(--step-band)); box-shadow: 0 0 0 1px rgba(0, 0, 0, .8), 0 0 10px rgba(var(--step-band), .7); }
}
/* the lanes: booth-waves.js draws a steady frame in the band's colour inside each lane (the lane's own paint: no extra
   layer over the canvases, which cost compositor frames at 4x CPU); booth.css's outline on the canvases goes */
body[data-step-band] .wfs canvas.wf { outline: none; }
/* the legend's key for that band: lit, the others quiet */
body[data-step-band] .wv-legend .wv-k > :where(.wv-low, .wv-mid, .wv-high, .wv-voc, .wv-phr):not(.wv-z) { opacity: .45; box-shadow: none; }   /* (the legend's five keys, booth-waves.js legend(): was "> i:not(.wv-z)"; a step under the band rule below either way) */
body[data-step-band~="low"] .wv-legend i.wv-low:not(.wv-z), body[data-step-band~="mid"] .wv-legend i.wv-mid:not(.wv-z), body[data-step-band~="high"] .wv-legend i.wv-high:not(.wv-z) { opacity: 1; box-shadow: 0 0 0 2px rgb(var(--step-band)), 0 0 12px rgba(var(--step-band), .9); animation: uv-need 1.6s ease-in-out infinite; }
/* (design/mixing-perf: the rule that lit the key's name white, "i.wv-low:not(.wv-z) + *", is gone: the name is a text node
   after the key (booth-waves.js legend()), so it never matched, and its universal sibling restyled the whole page on
   every band change) */
/* the drawing's lit knobs in the band's colour */
body[data-step-band] #hudDia .c.focus .shape { stroke: rgb(var(--step-band)); fill: rgba(var(--step-band), .45); animation: band-dia 1.6s ease-in-out infinite; }
@keyframes band-dia { 50% { fill-opacity: .55; opacity: .55; } }
@media (prefers-reduced-motion: reduce) { body[data-step-band] .wv-legend i, body[data-step-band] #hudDia .c.focus .shape { animation: none; } }
/* the timing card docked on a short window (under 780 px): the banner's two-line room goes, as booth.css has it (the
   room is given back here because the block above restates the banner's min-height after it) */
@media (min-width: 1000px) and (max-height: 779px) {
  html body.timing-up .screen.decks-screen.decks-banner > .hud #hudBanner { min-height: 0; }
  html body:not(.quiet):not(.timing-up) .screen.decks-screen.decks-banner > .hud #hudBanner { min-height: calc(2 * 1.04 * clamp(28px, 2.1vw, 32px) + 38px); }   /* design/calm-coach: +2 px, so a two-line step never adds a pixel at 720 */
}
/* Free mix's assist suggestion ("You're nailing these: try Hints?", BoothHints.scored, written into #hintStep after three
   strong mixes) used to take a row of its own under the instruction and push the lanes down 58 px mid-mix: a pop placed a
   moment before was left stranded over the instruction (the first-mix-style storm row). It is a card at the top right
   under the header now, where the toast goes: out of the flow, nothing moves. */
@media (min-width: 1000px) {
  .screen.decks-screen:not(.decks-hud) > #hintStep:not(:empty) { position: fixed; top: 56px; right: 24px; z-index: 26; max-width: 520px; margin: 0; padding: 0; }
  .screen.decks-screen:not(.decks-hud) > #hintStep > .hint-step { margin: 0; padding: 7px 12px; border: 1px solid rgba(var(--uv), .6); border-radius: var(--r); background: rgba(4, 3, 6, .92); color: var(--ink); font-size: 13px; line-height: 1.35; box-shadow: none; }
  .screen.decks-screen:not(.decks-hud) > #hintStep > .hint-step .bbtn { margin-left: 6px; padding: 2px 9px; }
}

/* ======================================================================================================================
   design/chapters (D1, docs/PLAN-first-session.md 6.3): a beginner can see what they hear and where they are. The live
   band meter, the two chapters on the title and Home, the two questions, the intro cards with their goal, the pass line
   that lands, the cards' two equal choices, the chapter cards (the one that opens a chapter, and Chapter 1's reward).
   Calm, not hurried: nothing here counts down to a decision. Main M1's hooks (feature/chapter-1; booth.css has its
   minimum): #likes .exp-pick > .mode.exp[data-exp].on, h1/h2.likes-q; .kn-intro[data-stage] (.ft-intro) with
   .goal-box.stage-goal; .pass-line[data-pass]; .kn-card[data-pass] (.res-scores, .coach-card > .coach-retry, .kn-next);
   .chapter-open[data-chapter] (.chapter-stages); .chapter-card[data-chapter] (.chapter-title, .chapter-ticks,
   .chapter-best, .chapter-level, .clip-box, .chapter-go); .path-chapters .chapter[data-chapter][data-done]
   (.chapter-h, .stage[data-stage][data-done][data-skipped]), #whereLine; .band-meter[data-deck] > i[data-band]
   (body[data-meter], a scaleX each frame); .mixer > .meter.wide[data-hot][data-lit]; .spop-k-band; #hudSub .said.
   Opacity and transform only; nothing moves under reduced motion.
   ====================================================================================================================== */

/* ---------- 1. the title screen's path: the two chapters (as many columns as there are items, centred) ---------- */
#start .start-what { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, clamp(250px, 21vw, 330px)); }

/* ---------- 2. the two questions on one screen (#likes): numbered 01 and 02, the experience as three big choices (Never
   lit by default), the genres under a thin rule; one screen at 1280×720, Continue in view ---------- */
.likes { counter-reset: likesq; gap: 10px; margin-top: clamp(18px, 5vh, 72px); }
.likes .likes-q { counter-increment: likesq; display: flex; align-items: baseline; gap: 14px; margin: 0; text-transform: uppercase; }
.likes .likes-q::before { content: '0' counter(likesq); flex: none; font: 700 13px/1 var(--mono); letter-spacing: .12em; color: var(--acid); text-shadow: none; transform: translateY(-.35em); }
.likes h1.likes-q { font-size: clamp(42px, 4.4vw, 66px); line-height: .95; }
.likes h2.likes-q { font: 400 clamp(26px, 2.4vw, 36px)/1 var(--flyer); letter-spacing: .02em; color: var(--ink); margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line2); width: 100%; }
.likes h2.likes-q::before { transform: translateY(-.2em); }
.likes .exp-pick { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 4px 0 0; }
.likes .exp-pick .mode.exp { appearance: none; position: relative; min-height: 0; display: grid; align-content: end; justify-items: start; gap: 6px; padding: 18px 18px 14px 50px; text-align: left; border: 1px solid var(--line2); border-radius: var(--r); background: linear-gradient(180deg, rgba(236, 235, 228, .05), rgba(236, 235, 228, .015)), var(--panel-solid); color: var(--ink); cursor: pointer; box-shadow: none; transition: border-color .15s, background-color .15s; }
.likes .exp-pick .mode.exp b { font: 400 clamp(24px, 2.1vw, 32px)/1 var(--flyer); letter-spacing: .03em; text-transform: uppercase; color: inherit; }
.likes .exp-pick .mode.exp .small { font-size: 14px; color: var(--muted); }
/* the radio: an empty ring, filled with UV when chosen */
.likes .exp-pick .mode.exp::before { content: ''; position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 2px solid rgba(236, 235, 228, .3); box-sizing: border-box; }
.likes .exp-pick .mode.exp:hover { border-color: rgba(var(--uv), .8); background-color: rgba(var(--uv), .08); }
.likes .exp-pick .mode.exp.on { border-color: var(--acid); background: linear-gradient(180deg, rgba(var(--uv), .3), rgba(var(--uv), .1)), var(--panel-solid); color: #fff; box-shadow: var(--uv-edge); text-shadow: none; }
.likes .exp-pick .mode.exp.on .small { color: #e4dcf2; }
.likes .exp-pick .mode.exp.on::before { border-color: #fff; background: radial-gradient(circle, #fff 0 35%, var(--acid) 38% 100%); box-shadow: none; }
.likes .exp-pick .mode.exp:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.likes .sub { font-size: 15px; margin: 0 0 4px; }
.likes .chips { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.likes .chip { min-height: 58px; padding: 10px 14px; font-size: 19px; }
.likes .chip::before { top: 8px; right: 8px; }
.likes-note:empty { display: none; }
.likes-go { margin-top: 6px; }
@media (max-height: 760px) { .likes { margin-top: 14px; gap: 8px; } .likes h1.likes-q { font-size: clamp(38px, 3.8vw, 54px); } .likes h2.likes-q { margin-top: 8px; padding-top: 12px; } .likes .exp-pick .mode.exp { padding: 14px 16px 12px 48px; } .likes .chip { min-height: 50px; } .likes-go .bbtn.big { padding: 10px 36px; } }

/* ---------- 3. the goal box on an intro (PR #19's .goal-box, a one-go stage's .stage-goal): GOAL as a small label, the
   goal itself in plain words (not a line of mono capitals), "70+ to pass" in mono on the right, what counts under it ---------- */
.goal-box.stage-goal { padding: 12px 16px; }
.goal-box.stage-goal .goal-top { align-items: center; flex-wrap: nowrap; gap: 16px; }
.goal-box.stage-goal .goal-line { flex: 1 1 auto; min-width: 0; font-size: 12px; letter-spacing: .16em; color: var(--acid); }
.goal-box.stage-goal .goal-line b { display: block; margin-top: 5px; font: 600 18px/1.25 'Helvetica Neue', Helvetica, Arial, ui-sans-serif, system-ui, sans-serif; letter-spacing: 0; text-transform: none; color: var(--ink); }
.goal-box.stage-goal .goal-rings { flex: none; }
.goal-box.stage-goal .goal-count { flex: none; margin-left: 0; font-size: 22px; color: #fff; text-shadow: none; }
.goal-box.stage-goal .goal-what { color: var(--muted); }
.goal-box.stage-goal.compact { padding: 6px 12px; }
.goal-box.stage-goal.compact .goal-line b { font-size: 15px; margin-top: 3px; }
.goal-box.stage-goal.compact .goal-count { font-size: 17px; }

/* ---------- 4. the intro cards (.kn-intro: The three knobs, Start on the 1): one screen at 1280×720, no scroll, one
   Start. The words, the goal and Start on the left; the controller drawing (LOW, MID, HIGH lit in turn) on the right ---------- */
.ft-intro.kn-intro { max-width: 1120px; margin: clamp(12px, 3vh, 40px) auto 0; padding: clamp(18px, 2.6vh, 28px) clamp(20px, 2.4vw, 34px); }
.ft-intro.kn-intro > .eyebrow { color: var(--acid); font-family: var(--mono); letter-spacing: .16em; }
.ft-intro.kn-intro h1 { margin: 2px 0 6px; font-size: clamp(44px, 4.6vw, 72px); line-height: .92; }
.ft-intro.kn-intro .ft-lead { margin: 0 0 6px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.35; color: var(--ink); }
.ft-intro.kn-intro > p:not(.ft-lead) { margin: 0 0 12px; font-size: 15px; line-height: 1.5; color: #cfccc4; max-width: 640px; }
.ft-intro.kn-intro .goal-box { margin: 4px 0 12px; }
.ft-intro.kn-intro #knTracks p { margin: 0 0 12px; }
.ft-intro.kn-intro > .row { gap: 12px; align-items: center; }
.ft-intro.kn-intro > .row .bbtn.big { font-family: var(--flyer); font-weight: 400; font-size: 26px; letter-spacing: .05em; padding: 11px 44px; }
.ft-intro.kn-intro .kn-dia { max-width: none; margin: 0; }
@media (min-width: 1000px) {
  .ft-intro.kn-intro[data-stage="knobs"] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr); column-gap: clamp(22px, 2.6vw, 40px); align-items: start; }
  .ft-intro.kn-intro[data-stage="knobs"] > * { grid-column: 1; }
  .ft-intro.kn-intro[data-stage="knobs"] > .kn-dia { grid-column: 2; grid-row: 1 / span 8; align-self: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(0, 0, 0, .35); }
  .ft-intro.kn-intro[data-stage="phrase"] { max-width: 860px; }
}
@media (max-height: 760px) { .ft-intro.kn-intro h1 { font-size: clamp(40px, 4vw, 58px); } .ft-intro.kn-intro > p:not(.ft-lead) { margin-bottom: 8px; font-size: 14px; } .ft-intro.kn-intro .goal-what { display: none; } }

/* ---------- 5. the pass line: lands first on every stage card. PASSED in the flyer face, white with the UV halo, the
   score and the goal in mono, a tick that draws in over 300 ms; NOT YET in amber, calm, no tick (never red, never
   "failed"). booth-pops.js splits Main's one line into its parts (passParts: .pl-word, .pl-score, .pl-tick), keeping
   the words exactly as written ---------- */
.pass-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0 0 12px; font: 400 clamp(40px, 3.6vw, 56px)/1 var(--flyer); letter-spacing: .02em; text-transform: uppercase; color: #fff; text-shadow: none; }
.pass-line .pl-word { position: relative; }
.pass-line .pl-sep { color: var(--faint); text-shadow: none; }
.pass-line .pl-score { font: 700 clamp(18px, 1.5vw, 22px)/1 var(--mono); letter-spacing: .04em; text-transform: none; color: var(--ink); text-shadow: none; }
.pass-line .pl-score b { font-size: 1.5em; color: #fff; }
.pass-line .pl-tick { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; align-self: center; border-radius: 50%; font: 900 22px/1 var(--mono); color: #0b0a0e; background: var(--acid); box-shadow: 0 0 0 3px rgba(var(--uv), .3); text-shadow: none; }
.pass-line .pl-sep { font-size: .6em; align-self: center; }
.pass-line[data-pass="true"], .pass-line[data-pass="yes"] { color: #fff; }
.pass-line[data-pass="false"], .pass-line[data-pass="no"] { color: var(--amber); text-shadow: none; }
.pass-line[data-pass="false"] .pl-score, .pass-line[data-pass="no"] .pl-score { color: #e8d6a8; }
/* design/nights: the night's card in NOT YET's amber, as the chapters' pass line (kept here, before design/menus' block, whose purple-only rule is the menus'): a NOT YET card's top edge and grade, the floor's part that cost the most */
body #screen .night-card[data-pass="false"] { box-shadow: inset 0 2px 0 var(--amber, #ffb000), 0 0 0 1px rgba(0, 0, 0, .6), 0 30px 80px -30px rgba(0, 0, 0, .95); }
body #screen .night-card[data-pass="false"] .nc-grade { background: transparent; color: var(--amber, #ffb000); border: 2px solid var(--amber, #ffb000); box-shadow: none; }
body #screen .night-card .nc-part[data-cost="true"] .nc-bar > i { background: var(--amber, #ffb000); box-shadow: 0 0 12px rgba(255, 176, 0, .4); }
body #screen .night-card .nc-part[data-cost="true"] .nc-n, body #screen .night-card .nc-part[data-cost="true"] .nc-line { color: var(--amber, #ffb000); }
body #screen .night-card .nc-part[data-cost="true"] .nc-ph::after { content: '  · cost the most'; color: var(--amber, #ffb000); }
body #screen .night-card .floor-cap { color: var(--amber, #ffb000); }   /* integrate/nights: a capped night's reason, amber as NOT YET (here, before the menus' purple-only block) */
body #screen .night-card .nc-flag { position: absolute; left: calc(var(--x) * 100%); bottom: calc(var(--y) * 100% + 6px); font: 700 12px/1 var(--mono); letter-spacing: .04em; text-transform: lowercase; color: var(--amber, #ffb000); white-space: nowrap; }
.pass-line[data-pass="false"] .pl-score b, .pass-line[data-pass="no"] .pl-score b { color: var(--amber); }
@media (prefers-reduced-motion: no-preference) {
  .pass-line .pl-word { animation: pl-land .42s cubic-bezier(.2, 1.3, .4, 1) both; }
  .pass-line .pl-score, .pass-line .pl-sep { animation: start-in .3s .18s ease-out both; }
  .pass-line .pl-tick { animation: pl-tick .3s .26s cubic-bezier(.3, 1.2, .5, 1) both; }
}
@keyframes pl-land { from { opacity: 0; transform: translateY(10px) scale(1.06); } }
/* the tick draws in: a wipe from its left edge (clip-path), as a pen would */
@keyframes pl-tick { from { opacity: 0; clip-path: inset(-12px 100% -12px -12px); } 30% { opacity: 1; } to { opacity: 1; clip-path: inset(-40px -40px -40px -40px); } }   /* (the clip's end leaves room for the glow) */
/* the stage card itself (.kn-card: the knobs and Start on the 1; booth-game's stage cards use .result's own layout) */
.kn-card { position: relative; background: var(--panel-solid); }   /* solid ground: the lanes under a see-through card read as clutter */
.kn-card[data-pass="true"] { border-color: rgba(var(--uv), .7); box-shadow: inset 0 2px 0 var(--acid), var(--uv-edge); }
.kn-card[data-pass="false"] { border-color: rgba(255, 176, 0, .35); box-shadow: inset 0 2px 0 rgba(255, 176, 0, .7); }
.kn-card > .ft-lead { margin: 0 0 12px; font-size: 18px; color: var(--ink); }
.kn-card .res-scores { margin: 0 0 14px; }

/* ---------- 6. the card's two equal choices: after a pass Next and Practise again side by side, the same size (Next
   primary in colour only); after a NOT YET, Again with help and Again on one row (the card's own retry and the row
   under it, laid out together), Home quiet at the end ---------- */
.result .coach-retry, .kn-card .coach-retry { gap: 10px; }
.result .coach-retry .bbtn, .kn-card .coach-retry .bbtn, .kn-card .kn-next .bbtn[data-kn="againOnly"], .card-next, .card-again { min-width: 210px; padding: 12px 22px; font-size: 16px; font-weight: 700; justify-content: center; text-align: center; }
.kn-card .coach-retry .bbtn:not(.primary), .kn-card .kn-next .bbtn[data-kn="againOnly"], .card-again { border-color: var(--line2); background: rgba(236, 235, 228, .04); color: var(--ink); }
.kn-card .coach-retry .bbtn:not(.primary):hover, .kn-card .kn-next .bbtn[data-kn="againOnly"]:hover { border-color: rgba(var(--uv), .8); background: rgba(var(--uv), .1); }
@media (min-width: 900px) {
  .kn-card[data-pass="false"] { display: grid; grid-template-columns: auto auto minmax(0, 1fr); grid-auto-flow: row dense; column-gap: 10px; align-items: center; }
  .kn-card[data-pass="false"] > *, .kn-card[data-pass="false"] > .coach-card > * { grid-column: 1 / -1; }
  .kn-card[data-pass="false"] > .coach-card { display: contents; }
  .kn-card[data-pass="false"] > .coach-card > * { margin-bottom: 10px; }
  .kn-card[data-pass="false"] > .coach-card > .coach-retry { grid-column: 1; margin: 0; }
  .kn-card[data-pass="false"] > .kn-next { grid-column: 2 / -1; margin: 0; }
  .kn-card[data-pass="false"] > .coach-card > .coach-more { margin-top: 10px; }
}
.kn-card .kn-next { gap: 10px; align-items: center; }
.kn-card .kn-next .bbtn.ghost { border-color: transparent; background: transparent; color: var(--muted); }

/* ---------- 7. the "Missed it: here it comes again." line (and the coach's other said lines): calm, the step's note
   style (one grey-white line, a small UV dot), never a warning ---------- */
#hudSub .said, .again-note { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: #e9e3f4; }
#hudSub .said::before, .again-note::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--acid); box-shadow: none; }

/* ---------- 8. a chapter opens (.chapter-open: #chapter/1, #chapter/2): one screen, no scroll at 1280×720, one Start.
   The chapter's name huge, its line, its stages as one numbered row joined like the path strip, Start ---------- */
.chapter-open { position: relative; max-width: 1080px; margin: clamp(20px, 7vh, 96px) auto 0; padding: clamp(24px, 4vh, 44px) clamp(24px, 3vw, 44px); text-align: left; overflow: hidden; border-color: rgba(var(--uv), .45); box-shadow: inset 0 2px 0 var(--acid), var(--uv-edge); }
.chapter-open::before { content: ''; position: absolute; right: -8%; top: -40%; width: 60%; height: 140%; pointer-events: none; background: radial-gradient(closest-side, rgba(var(--uv), .22), transparent 75%); }
.chapter-open > * { position: relative; }
.chapter-open > .eyebrow { font: 700 14px/1 var(--mono); letter-spacing: .22em; color: var(--acid); }
.chapter-open h1.ft-big { margin: 8px 0 12px; font: 400 clamp(64px, 7.4vw, 116px)/.86 var(--flyer); letter-spacing: .01em; text-transform: uppercase; color: #fff; text-shadow: none; }
.chapter-open .ft-lead { max-width: 720px; margin: 0 0 22px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.4; color: var(--ink); }
.chapter-open .chapter-stages { counter-reset: none; list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; }
.chapter-open .chapter-stages li { display: grid; gap: 6px; align-content: start; padding: 14px 16px 0 0; border-top: 2px solid rgba(var(--uv), .32); font: 400 clamp(18px, 1.6vw, 24px)/1.05 var(--flyer); letter-spacing: .03em; text-transform: uppercase; color: var(--ink); }
.chapter-open .chapter-stages li:first-child { border-top-color: var(--acid); box-shadow: none; }
.chapter-open .chapter-stages li b { font: 700 13px/1 var(--mono); letter-spacing: .12em; color: var(--acid); }
.chapter-open .row { gap: 12px; align-items: center; }
.chapter-open .row .bbtn.big { font-family: var(--flyer); font-weight: 400; font-size: 28px; letter-spacing: .05em; padding: 12px 56px; }
.chapter-open .row .bbtn.ghost { border-color: transparent; background: transparent; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) { .chapter-open .chapter-stages li { animation: start-in .4s ease-out both; } .chapter-open .chapter-stages li:nth-child(2) { animation-delay: .08s; } .chapter-open .chapter-stages li:nth-child(3) { animation-delay: .16s; } .chapter-open .chapter-stages li:nth-child(4) { animation-delay: .24s; } }

/* ---------- 9. the end of Chapter 1 (.chapter-card): the reward. "CHAPTER 1 ✓", THE BASICS. huge, the four ticks
   landing one by one, the best swap's ms as the biggest number, the level bar filling, Save your first clip as the
   biggest button, Carry on and Stop here equal under it. The lights' celebrate is Main's (through the gate) ---------- */
.chapter-card { position: relative; max-width: 1000px; margin: clamp(12px, 3.5vh, 48px) auto 0; padding: clamp(22px, 3.4vh, 38px) clamp(24px, 3vw, 44px); overflow: hidden; text-align: left; border-color: var(--acid); box-shadow: inset 0 3px 0 var(--acid), 0 0 0 1px rgba(var(--uv), .5); }
.chapter-card::before { content: ''; position: absolute; left: 50%; top: -60%; width: 120%; height: 120%; transform: translateX(-50%); pointer-events: none; background: radial-gradient(closest-side, rgba(var(--uv), .3), rgba(var(--uv), .08) 55%, transparent 80%); }
.chapter-card > * { position: relative; }
.chapter-card > .eyebrow { display: inline-block; padding: 5px 10px; border: 1px solid var(--acid); font: 700 13px/1 var(--mono); letter-spacing: .22em; color: #fff; background: rgba(var(--uv), .25); box-shadow: none; }
.chapter-card .chapter-title { margin: 12px 0 18px; font: 400 clamp(72px, 8.4vw, 132px)/.84 var(--flyer); letter-spacing: .01em; text-transform: uppercase; color: #fff; text-shadow: none; }
.chapter-card .chapter-ticks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.chapter-card .chapter-ticks li { display: flex; align-items: center; gap: 10px; padding: 12px 12px; border: 1px solid rgba(var(--uv), .45); border-radius: var(--r); background: rgba(var(--uv), .1); font: 400 clamp(16px, 1.35vw, 20px)/1.05 var(--flyer); letter-spacing: .03em; text-transform: uppercase; color: var(--ink); }
.chapter-card .chapter-ticks .tick { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font: 900 14px/1 var(--mono); color: #0b0a0e; background: var(--acid); box-shadow: none; }
.chapter-card .chapter-best { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 10px; font-size: 18px; color: var(--muted); }
.chapter-card .chapter-best b { font: 400 clamp(56px, 6vw, 92px)/.9 var(--flyer); letter-spacing: .01em; color: #fff; text-shadow: none; }
.chapter-card .chapter-level { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font: 700 12px/1 var(--mono); letter-spacing: .04em; text-transform: lowercase; color: var(--ink); }
.chapter-card .chapter-level .xp-bar { flex: 1 1 auto; max-width: 420px; height: 8px; display: block; background: rgba(236, 235, 228, .1); border-radius: 1px; overflow: hidden; }
.chapter-card .chapter-level .xp-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--acid), #e070ff); box-shadow: none; transform-origin: 0 50%; }
/* Save your first clip: the biggest button on the card */
.chapter-card .clip-box { margin: 0 0 14px; padding: 0; border: 0; background: none; }
.chapter-card .clip-box .clip-acts { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.chapter-card .clip-box .bbtn.primary, .chapter-card .clip-box [data-clip="make"] { font-family: var(--flyer); font-weight: 400; font-size: clamp(26px, 2.2vw, 34px); letter-spacing: .05em; padding: 16px 40px; color: #0b0a0e; background: linear-gradient(180deg, #d9b8ff, var(--acid)); border-color: #fff; box-shadow: 0 0 0 1px rgba(var(--uv), .9); }
.chapter-card .clip-box .small { font-size: 14px; }
/* Carry on and Stop here: equal, side by side (Carry on primary in colour only) */
.chapter-card .chapter-go { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 10px; margin: 0 0 8px; }
.chapter-card .chapter-go .bbtn.big { min-width: 0; width: 100%; justify-content: center; text-align: center; padding: 12px 16px; font: 700 17px/1.2 'Helvetica Neue', Helvetica, Arial, ui-sans-serif, system-ui, sans-serif; letter-spacing: 0; }
.chapter-card .chapter-go .bbtn.big:not(.primary) { border-color: var(--line2); background: rgba(236, 235, 228, .04); color: var(--ink); }
.chapter-card > .small.muted:last-child { margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .chapter-card .chapter-title { animation: pl-land .5s cubic-bezier(.2, 1.3, .4, 1) both; }
  .chapter-card .chapter-ticks li { animation: ch-tick .42s cubic-bezier(.2, 1.4, .4, 1) both; }
  .chapter-card .chapter-ticks li:nth-child(1) { animation-delay: .35s; }
  .chapter-card .chapter-ticks li:nth-child(2) { animation-delay: .55s; }
  .chapter-card .chapter-ticks li:nth-child(3) { animation-delay: .75s; }
  .chapter-card .chapter-ticks li:nth-child(4) { animation-delay: .95s; }
  .chapter-card .chapter-best { animation: start-in .45s 1.15s ease-out both; }
  .chapter-card .chapter-level .xp-bar i { animation: ch-fill .9s 1.3s cubic-bezier(.2, .8, .3, 1) both; }
  .chapter-card .clip-box, .chapter-card .chapter-go, .chapter-card > .small.muted:last-child { animation: start-in .4s 1.4s ease-out both; }
}
@keyframes ch-tick { from { opacity: 0; transform: translateY(8px) scale(.92); } }
@keyframes ch-fill { from { transform: scaleX(0); } }
@media (max-height: 760px) { .chapter-card .chapter-title { font-size: clamp(60px, 6.6vw, 100px); margin: 8px 0 12px; } .chapter-card .chapter-ticks { margin-bottom: 12px; } .chapter-card .chapter-ticks li { padding: 9px 10px; } .chapter-card .chapter-best b { font-size: clamp(48px, 5vw, 72px); } .chapter-card .chapter-level { margin-bottom: 12px; } .chapter-card .clip-box .bbtn.primary, .chapter-card .clip-box [data-clip="make"] { padding: 12px 34px; } }

/* ---------- 10. Home's path: two chapters, each with its stages ticked; a finished chapter carries its ✓ and steps back,
   the next stage is lit. On day one the Start here hero is the lit thing: the path's stage is outlined, not lit (O23-p2) ---------- */
.path-chapters .chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 1000px) { .path-chapters .chapters { grid-template-columns: minmax(0, 4fr) minmax(0, 3fr); gap: 18px; } .path-chapters .chapter .path.arc-main { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); } }
.path-chapters .chapter { min-width: 0; }
.path-chapters .chapter-h { display: flex; align-items: baseline; gap: 10px; margin: 0 0 6px; }
.path-chapters .chapter-h .eyebrow { font: 700 12px/1 var(--mono); letter-spacing: .18em; color: var(--acid); }
.path-chapters .chapter-h b { font: 400 20px/1 var(--flyer); letter-spacing: .03em; text-transform: uppercase; color: var(--ink); }
.path-chapters .chapter-h .mono { margin-left: auto; color: var(--muted); letter-spacing: .06em; }
.path-chapters .chapter[data-done="true"] .chapter-h .eyebrow { padding: 3px 6px; color: #0b0a0e; background: var(--acid); box-shadow: none; }
.path-chapters .chapter[data-done="true"] .chapter-h .mono { color: var(--acid); }
.path-chapters .stages.path.arc-main { margin: 0; }
.path-chapters .stage { min-height: 70px; }
.path-chapters .stage[data-done="true"] { border-color: rgba(var(--uv), .4); background: linear-gradient(180deg, rgba(var(--uv), .12), rgba(var(--uv), .03)); }
.path-chapters .stage[data-done="true"] .stage-n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #0b0a0e; background: var(--acid); font-size: 12px; box-shadow: none; }
.path-chapters .stage[data-skipped="true"] { opacity: 1; border-style: dashed; }
.path-chapters .stage[data-skipped="true"] b { color: var(--muted); }
#whereLine { margin: 4px 0 10px; font: 700 12px/1.3 var(--mono); letter-spacing: .06em; color: var(--ink); }
body.home.day-one .path-chapters .stage.now:not(:hover) { background: transparent; box-shadow: inset 0 0 0 1px rgba(var(--uv), .7); }
body.home.day-one .path-chapters .stage.now::after { display: none; }   /* one "now" on the page: Start here's lit step (O23-p2); the path's stage is outlined, its tag gone */
body.home.day-one .path-chapters .stage.now b { text-shadow: none; }
/* O23-p2: day one shows Connect controller once: Start here's step 1 has it, so the header's button steps down to its
   quiet state (the controller LED and words stay) */
body.home.day-one .bh .conn > .bbtn:not(.fs-btn) { display: none; }

/* ---------- 11. the live band meter (.band-meter: three thin bars, LOW red, MID yellow, HIGH pink from BoothWaves.COL,
   each band's level after its knob and the fader, from E.bandLevels). On the laptop's mixer each bar sits right under
   its own knob's slider (the meter spans the HIGH, MID and LOW rows' grid area, positioned absolutely: it takes no
   space, so nothing moves when it shows), growing towards the volume fader. A dim rail shows the empty meter; the fill
   is Main's scaleX with a 120 ms ease and a soft glow. Hidden by opacity until body[data-meter] ---------- */
.band-meter i { will-change: transform; }   /* (integrate/oct29, QA round 2 Polish 5: a .05 s ease; design/mixing-perf: the ease is booth-play's drawBandMeters now, frame by frame, as a CSS transition restarted on every bar every frame) */
@media (min-width: 1000px) {
  .decks3 .mcol { position: relative; }
  .decks3 .mcol > .band-meter, body[data-meter] .decks3 .mcol > .band-meter { --g: 3px; display: grid; position: absolute; grid-column: 1 / 2; grid-row: 3 / 6; left: 50px; right: 0; top: 0; bottom: 0; margin: 0; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: var(--g); pointer-events: none; opacity: 0; transition: opacity .2s; }
  .decks3 .mcol.deckB > .band-meter, body[data-meter] .decks3 .mcol.deckB > .band-meter { grid-column: 3 / 4; left: 0; right: 50px; }   /* (an absolutely placed grid item needs both lines: an auto end line is the padding edge) */
  body[data-meter] .decks3 .mcol > .band-meter { opacity: 1; }
  /* each bar in the row gap just under its own knob (the meter's rows and gap mirror the mixer's) */
  .decks3 .mcol > .band-meter i { grid-column: 1; height: var(--g); align-self: end; margin-bottom: calc(-1 * var(--g)); border-radius: 2px; transform-origin: 0 50%; }
  .decks3 .mcol.deckB > .band-meter i { transform-origin: 100% 50%; }
  .decks3 .mcol > .band-meter i[data-band="high"] { grid-row: 1; background: var(--band-high); box-shadow: 0 0 6px rgba(var(--band-high-rgb), .8); }
  .decks3 .mcol > .band-meter i[data-band="mid"] { grid-row: 2; background: var(--band-mid); box-shadow: 0 0 6px rgba(var(--band-mid-rgb), .7); }
  .decks3 .mcol > .band-meter i[data-band="low"] { grid-row: 3; background: var(--band-low); box-shadow: 0 0 6px rgba(var(--band-low-rgb), .8); }
  /* the rails: a dim line in each bar's place, drawn by the meter box itself (never scaled), so the empty meter reads */
  .decks3 .mcol > .band-meter::before { content: ''; position: absolute; left: 0; right: 0; top: 0; bottom: calc(-1 * var(--g)); background-size: 100% var(--g); background-repeat: no-repeat;
    background-image: linear-gradient(rgba(var(--band-high-rgb), .2), rgba(var(--band-high-rgb), .2)), linear-gradient(rgba(var(--band-mid-rgb), .17), rgba(var(--band-mid-rgb), .17)), linear-gradient(rgba(var(--band-low-rgb), .2), rgba(var(--band-low-rgb), .2));
    background-position: 0 calc((100% - 2 * var(--g)) / 3), 0 calc((200% - var(--g)) / 3), 0 100%; }
}
@media (min-width: 1000px) and (max-height: 768px) { .decks3 .mcol > .band-meter, body[data-meter] .decks3 .mcol > .band-meter { --g: 2px; } }

/* ---------- 12. the master meter's red (the levels step): the track always marks where red starts (-6 dB, the last
   eighth); the level is green, and red with a glow while it's in it ([data-hot]); while the levels steps are up
   ([data-lit]) the meter is lit and its red zone brighter. The lesson says "green is good, red is too loud", and this
   theme's --green is lilac, so the master meter has a signal green of its own (--meter-ok: the one place it's used) ---------- */
:root { --meter-ok: #3fd98a; --meter-ok-rgb: 63, 217, 138; }
.mixer > .meter.wide { position: relative; overflow: visible; background: linear-gradient(90deg, rgba(236, 235, 228, .08) 0 87.5%, rgba(255, 74, 46, .28) 87.5% 100%); }
.mixer > .meter.wide::after { content: ''; position: absolute; left: 87.5%; top: -3px; bottom: -3px; width: 1px; background: rgba(255, 74, 46, .75); pointer-events: none; }
.mixer > .meter.wide i { width: 100%; transform-origin: 0 50%; background: var(--meter-ok); box-shadow: 0 0 6px rgba(var(--meter-ok-rgb), .4); transition: background-color .1s; }
.mixer > .meter.wide[data-hot] i { background: var(--red); box-shadow: 0 0 12px rgba(255, 74, 46, .9); }
.mixer > .meter.wide[data-hot] { box-shadow: 0 0 0 1px rgba(255, 74, 46, .8), 0 0 14px rgba(255, 74, 46, .55); }
.mixer > .meter.wide[data-lit] { box-shadow: 0 0 0 1px rgba(var(--uv), .9); background: linear-gradient(90deg, rgba(236, 235, 228, .12) 0 87.5%, rgba(255, 74, 46, .55) 87.5% 100%); }
.mixer > .meter.wide[data-lit][data-hot] { box-shadow: 0 0 0 2px var(--red), 0 0 22px rgba(255, 74, 46, .8); }

/* ---------- 13. the band pop (BoothPops kind band: "BASS IN · CLEAN · 14 MS"): the move pops' family in the band's own
   colour; the big one (once a lesson) is the large size without the swap's flood, so the bass swap stays the biggest ---------- */
.spop-k-band { --mv: var(--band-low); --mv-rgb: var(--band-low-rgb); }
.spop-k-band.spop-band-mid { --mv: var(--band-mid); --mv-rgb: var(--band-mid-rgb); }
.spop-k-band.spop-band-high { --mv: var(--band-high); --mv-rgb: var(--band-high-rgb); }
.spop-k-band.spop-qclean .spop-name { color: #fff; text-shadow: -1px 0 0 rgba(var(--mv-rgb), .9), 0 0 14px rgba(var(--mv-rgb), .9); }
.spop-k-band .spop-q { color: var(--mv); }
.spop-k-band { border-color: var(--mv); box-shadow: 0 0 0 1px rgba(var(--mv-rgb), .5), 0 0 22px rgba(var(--mv-rgb), .45); }
.spop-k-band.spop-lg .spop-name { font-size: 34px; }   /* the big one: under the large size (40) and the swap's hero (54), never its flood */
.spop-k-band.spop-lg { box-shadow: 0 0 0 1px rgba(var(--mv-rgb), .55), 0 0 30px rgba(var(--mv-rgb), .5); }

/* ---------- 14. O23-m6: at 1280×720 and 1280×800 Home's cards kept their names and lost their one line (booth.css drops
   every blurb at 820 px or less), so Set mode greyed with no "After your first solo mix", a skipped stage read as just
   LATER. The one line comes back where Home still fits: Play and practise, More to learn (one line beside the name) and
   a chapter stage's "coming soon" / "skipped"; only under 680 px high do they drop again ---------- */
@media (min-width: 1000px) and (min-height: 681px) and (max-height: 820px) {
  body.home .modes.compact .mode .small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  body.home .arc-more .stage .small, body.home .path-chapters .stage .small { display: block; }
  body.home .arc-more .stage { flex: 1 1 auto; min-width: 0; overflow: hidden; }   /* the name and its line share the box: the line gives way with an ellipsis */
  body.home .arc-more .stage b { flex: none; }
  body.home .arc-more .stage .small { flex: 1 1 auto; }
  body.home .explore[open] .modes.compact .mode .small { display: block; }
}

/* =================================================================================================================
   design/title-reveal (Dean, 28 Oct): the title is a still screen. No intro, no light pass, no beat: the wordmark, the
   tagline, the two chapters and one clear start, in the Underground look, and nothing on it moves (the UV pool behind
   the brand and the start key's glow hold one level; booth.js's title markup unchanged). To be revisited with a proper
   reference. ================================================================================================================= */
#start .start-brand::before { animation: none; opacity: .75; }
#start .start-key::after { animation: none; }

/* =================================================================================================================
   design/chapter-1-feel: every success answers in its band's colour, and the cards land as rewards.
   - the lanes' frame flashes in the band the step named (booth-pops.js bandHit: .wfs.band-hit[data-hit-band], a
     ::after overlay, opacity only; a big one for the hero swap)
   - the said lines under the step: "Right on the 1 (18 ms)!" in the step's band colour, "Missed it: here it comes
     again." amber (BACKLOG Polish: .said-missed styled apart), never red
   - a result card scrolled to keeps its first line clear of the fixed header (QA Q3-M1)
   - Save a clip is the reward it is: UV on every card that offers it, the biggest button on the chapter card
     (booth-clip's button is .bbtn.clip-btn[data-clip]: the earlier rule named classes it never had)
   - the swap loop's intro fits 1280×800 with Start on screen (.wfs is already positioned) ================================================================================================================= */
.wfs::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: var(--r); opacity: 0; box-shadow: inset 0 0 0 2px rgba(var(--hit-rgb, var(--uv-room)), .95), inset 0 0 24px rgba(var(--hit-rgb, var(--uv-room)), .35), 0 0 18px rgba(var(--hit-rgb, var(--uv-room)), .45); }
.wfs[data-hit-band="low"] { --hit-rgb: var(--band-low-rgb); }
.wfs[data-hit-band="mid"] { --hit-rgb: var(--band-mid-rgb); }
.wfs[data-hit-band="high"] { --hit-rgb: var(--band-high-rgb); }
.wfs.band-hit::after { animation: band-hit .7s ease-out both; }
.wfs.band-hit-big::after { animation: band-hit-big 1.4s ease-out both; box-shadow: inset 0 0 0 3px rgba(var(--hit-rgb, var(--uv-room)), 1), inset 0 0 40px rgba(var(--hit-rgb, var(--uv-room)), .45), 0 0 28px rgba(var(--hit-rgb, var(--uv-room)), .6); }
@keyframes band-hit { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes band-hit-big { 0% { opacity: 1; } 55% { opacity: .8; } 100% { opacity: 0; } }
#hudSub .said-hit { --hit: var(--acid); --hit-rgb: var(--uv); color: var(--hit); font-weight: 700; animation: said-in .35s cubic-bezier(.2, 1.3, .4, 1) both; }
#hudSub .said-hit::before { background: var(--hit); box-shadow: 0 0 8px rgba(var(--hit-rgb), .8); }
body[data-step-band="low"] #hudSub .said-hit { --hit: var(--band-low); --hit-rgb: var(--band-low-rgb); }
body[data-step-band="mid"] #hudSub .said-hit { --hit: var(--band-mid); --hit-rgb: var(--band-mid-rgb); }
body[data-step-band="high"] #hudSub .said-hit { --hit: var(--band-high); --hit-rgb: var(--band-high-rgb); }
@keyframes said-in { from { opacity: 0; transform: translateY(4px); } }
#hudSub .said-missed { color: var(--amber); }
#hudSub .said-missed::before { background: var(--amber); box-shadow: 0 0 8px rgba(255, 176, 0, .7); }
#ftWin, #knWin, #resultSlot, .ft-win, #knWin .result, #resultSlot .result, .result-land { scroll-margin-top: 64px; }   /* the containers booth-first and booth-knobs scroll to, and the cards inside them */
.clip-box .clip-btn { color: #fff; border-color: var(--acid); background: rgba(var(--uv), .26); box-shadow: 0 0 0 1px rgba(var(--uv), .5); font-weight: 700; }
.clip-box .clip-btn:hover { background: rgba(var(--uv), .4); }
.chapter-card .clip-box .clip-btn { font-family: var(--flyer); font-weight: 400; font-size: clamp(26px, 2.2vw, 34px); letter-spacing: .05em; padding: 16px 40px; color: #0b0a0e; background: linear-gradient(180deg, #d4b3ff, var(--acid)); border-color: #fff; box-shadow: 0 0 0 1px rgba(var(--uv), .9); }
@media (max-height: 820px) { #swapIntro.ft-intro { padding-top: 14px; padding-bottom: 14px; } #swapIntro.ft-intro h1 { font-size: clamp(44px, 5vw, 64px); margin-bottom: 6px; } #swapIntro .goal-box { padding: 8px 12px; } #swapIntro p { margin: 6px 0; } }
@media (prefers-reduced-motion: reduce) { .wfs::after, #hudSub .said-hit { animation: none; } }
/* the step's confirm ("✓ Bass out", PR #23's 1.5 s line) in the band's colour, landing with a small snap */
#hudBanner[data-confirm] .banner-text { animation: said-in .35s cubic-bezier(.2, 1.3, .4, 1) both; }
#screen #hudBanner[data-confirm="low"] .banner-text, #screen #hudBanner[data-confirm="low"] .banner-text * { color: var(--band-low); text-shadow: none; }
#screen #hudBanner[data-confirm="mid"] .banner-text, #screen #hudBanner[data-confirm="mid"] .banner-text * { color: var(--band-mid); text-shadow: none; }
#screen #hudBanner[data-confirm="high"] .banner-text, #screen #hudBanner[data-confirm="high"] .banner-text * { color: var(--band-high); text-shadow: none; }
@media (prefers-reduced-motion: reduce) { #hudBanner[data-confirm] .banner-text { animation: none; } }
/* the banner's note sits in its row (booth-pops noteIntoRow), one line, cut with an ellipsis when the row is full */
#hudBanner .banner-row > .banner-note { flex: 0 1 auto; min-width: 0; margin-left: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#hudBanner > .banner-note { position: absolute; left: 0; right: 0; bottom: 4px; z-index: 1; }   /* out of flow until booth-pops moves it into the row (the frame in between grew the HUD by a row); the quiet part's note (no row) stays here, on screen */

/* ======================================================================================================================
   design/mixing-screen-overhaul: the mixing screen as pro DJ software that teaches (Dean and testers, 29 October 2026).
   One instruction zone, the waveforms as the hero, a mixer you read at a glance (round knobs like the controller's, in
   plain words), the decks' buttons quieter, no tiny type mid-mix. Display only: every hook other code reads is kept
   (data-step-band, the band meter's slots, the goal chip, the pass line, #hudBanner / #hudSub and the rest).
   The type scale on the mixing screen: the step clamp(30px, 2.4vw, 42px) · readouts 24-30 px · names and buttons 13-14 px ·
   small print 12 px and never under it.
   ====================================================================================================================== */
@media (min-width: 1000px) {
  /* ---------- 1. the whole width: a 1920 screen was 72% used (the page held at 1440) ---------- */
  html .screen.decks-screen { max-width: 1880px; }
  /* ---------- 2. the mixer: the middle of the screen and its biggest panel after the lanes ---------- */
  html .decks3 { grid-template-columns: minmax(0, 1fr) clamp(470px, 37vw, 620px) minmax(0, 1fr); }
  html .decks3 .mixer { --kr: 36px; --kd: 32px; --nw: 54px; padding: 8px 14px 10px; gap: 7px; }
  html .decks3 .mcols { gap: 18px; }
  html .decks3 .mcol { grid-template-columns: minmax(0, 1fr) 46px 8px; grid-template-rows: 18px repeat(5, var(--kr)) auto; column-gap: 8px; row-gap: 2px; align-items: center; }
  html .decks3 .mcol.deckB { grid-template-columns: 8px 46px minmax(0, 1fr); }
  html .decks3 .mcol > .dk { grid-row: 1; font: 800 12px/18px var(--mono); letter-spacing: .14em; padding: 0 8px; }
  html .decks3 .mcol > .vf { grid-row: 1 / 8; align-self: stretch; grid-template-rows: auto minmax(0, 1fr); gap: 4px; font: 700 12px/16px var(--mono); letter-spacing: .1em; color: #d9d6cc; }
  html .decks3 .mcol > .meter { grid-row: 2 / 8; align-self: stretch; height: auto; width: 8px; }
  html .decks3 .mcol > .pfl { grid-row: 7; margin-top: 4px; padding: 5px 8px; font-size: 13px; font-weight: 700; }
  /* a knob row: its plain name, the knob (the controller's round knob, turned by --v), room for the band meter */
  html .decks3 .kn { position: relative; height: var(--kr); display: grid; grid-template-columns: var(--nw) var(--kd) minmax(0, 1fr); grid-template-rows: var(--kr); column-gap: 10px; align-items: center; font: 800 14px/1 var(--mono); letter-spacing: .08em; color: #e4e1d8; text-align: left; }
  html .decks3 .mcol.deckB .kn { grid-template-columns: minmax(0, 1fr) var(--kd) var(--nw); text-align: right; }
  html .decks3 .kn > .kn-name { grid-area: 1 / 1; display: block; white-space: nowrap; }
  html .decks3 .mcol.deckB .kn > .kn-name { grid-area: 1 / 3; }
  html .decks3 .kn > .knob, html .decks3 .kn > input[type=range] { grid-area: 1 / 2; width: var(--kd); height: var(--kd); justify-self: center; }
  html .decks3 .kn > input[type=range] { position: relative; z-index: 2; margin: 0; padding: 0; opacity: 0; cursor: grab; -webkit-appearance: none; appearance: none; background: transparent; }
  html .decks3 .kn > input[type=range]:active { cursor: grabbing; }
  html .decks3 .kn > input[type=range]:disabled { cursor: default; }
  html body .decks3 .kn input[type="range"] { filter: none; }
  html body.plain-bands .decks3 .kn-sub { display: block; margin-top: 3px; font: 500 12px/1 var(--sans, system-ui); letter-spacing: 0; text-transform: none; color: #a9a6b4; }
  /* the knob: a dark cap with a white pointer, a grey ring for its travel (7 to 5 o'clock), the value lit from the top
     (the middle) to the pointer: in the band's own colour for HIGH, MID and LOW (pink, yellow, red, as on the lanes),
     the deck's colour for TRIM and FILTER. A notch marks the middle. */
  html .decks3 .kn { --kc: var(--deckA); --a1: max(0deg, calc((var(--v, .5) - .5) * 270deg)); --a2: min(360deg, calc(360deg + (var(--v, .5) - .5) * 270deg)); }
  html .decks3 .mcol.deckB .kn { --kc: var(--deckB); }
  html .decks3 .mcol .kn[data-kn="eqHigh"] { --kc: var(--band-high); }
  html .decks3 .mcol .kn[data-kn="eqMid"] { --kc: var(--band-mid); }
  html .decks3 .mcol .kn[data-kn="eqLow"] { --kc: var(--band-low); }
  html .decks3 .knob { position: relative; box-sizing: border-box; display: block; border-radius: 50%; padding: 4px; pointer-events: none;
    background: radial-gradient(circle at 50% 35%, #2e2836 0, #1a1620 55%, #0e0b13 100%) content-box, conic-gradient(var(--kc) 0 var(--a1), transparent 0 var(--a2), var(--kc) 0) padding-box, conic-gradient(from -135deg, rgba(236, 235, 228, .26) 0 270deg, transparent 0) padding-box;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .85), inset 0 0 0 1px rgba(0, 0, 0, .6); }
  html .decks3 .knob::before { content: ''; position: absolute; left: 50%; top: -3px; width: 2px; height: 3px; margin-left: -1px; background: rgba(236, 235, 228, .55); }   /* the middle's notch */
  html .decks3 .knob > i { position: absolute; left: 50%; top: 5px; bottom: 50%; width: 3px; margin-left: -1.5px; border-radius: 2px; background: #fff; transform-origin: 50% 100%; transform: rotate(calc((var(--v, .5) - .5) * 270deg)); box-shadow: 0 0 0 1px rgba(0, 0, 0, .5); }
  html .decks3 .kn:hover .knob { box-shadow: 0 0 0 1px rgba(236, 235, 228, .35), inset 0 0 0 1px rgba(0, 0, 0, .6); }
  html .decks3 .kn:focus-within .knob { box-shadow: 0 0 0 2px var(--acid), inset 0 0 0 1px rgba(0, 0, 0, .6); }
  html .decks3 .mcol.deckB .kn:focus-within .knob { box-shadow: 0 0 0 2px var(--deckB), inset 0 0 0 1px rgba(0, 0, 0, .6); }
  /* the swap window's glow (booth-waves knobGlow: .wv-glow-high|mid|bass, .wv-open) on the knob, not round the whole row */
  html body .decks3 .mcol > .kn.kn.wv-glow { box-shadow: none; animation: none; }
  html .decks3 .kn.wv-glow-high .knob { box-shadow: 0 0 0 2px rgba(var(--band-high-rgb), .55), 0 0 12px rgba(var(--band-high-rgb), .4); }
  html .decks3 .kn.wv-glow-mid .knob { box-shadow: 0 0 0 2px rgba(var(--band-mid-rgb), .5), 0 0 12px rgba(var(--band-mid-rgb), .3); }
  html .decks3 .kn.wv-glow-bass .knob { box-shadow: 0 0 0 2px rgba(var(--band-low-rgb), .55), 0 0 12px rgba(var(--band-low-rgb), .35); }
  html .decks3 .kn.wv-glow.wv-open .knob { box-shadow: 0 0 0 3px var(--kc), 0 0 20px var(--kc); }
  /* lit by a lesson (focus mode's .is-needed): the knob's ring and its name, in the step's band colour when it names a
     band (body[data-step-band]), else UV; the row's tube stays, quieter, so the eye lands on the knob */
  html body.focus #decks3 .kn.is-needed { color: #fff; }
  html body.focus #decks3 .kn.is-needed::before { --kx: calc(var(--nw) + 10px + var(--kd) / 2 + 14px); inset: -8px -14px; border-radius: 12px; outline-offset: -7px; background: radial-gradient(circle at var(--kx) 50%, rgba(var(--lit-rgb), .34) 0, rgba(var(--lit-rgb), .2) 14px, rgba(var(--lit-rgb), .09) 26px, rgba(var(--lit-rgb), .03) 40px, transparent 52px); }   /* design/calm-coach: the knob's glow is the tube's gradient centred on the knob (no blurred shadow); the ring on the knob is solid */
  html body.focus #decks3 .mcol.deckB .kn.is-needed::before { --kx: calc(100% - var(--nw) - 10px - var(--kd) / 2 - 14px); }
  html body.focus #decks3 .kn.is-needed .knob, html body[data-step-band].focus #decks3 .kn.is-needed .knob { box-shadow: 0 0 0 3px var(--lit); }
  /* the band meter: each band's bar in its own knob's row, beside the knob (towards the fader), a 5 px rail */
  html .decks3 .mcol > .band-meter, html body[data-meter] .decks3 .mcol > .band-meter { --g: 5px; grid-row: 3 / 6; left: calc(var(--nw) + var(--kd) + 20px); right: 2px; top: 0; bottom: 0; gap: 2px; }
  html .decks3 .mcol.deckB > .band-meter, html body[data-meter] .decks3 .mcol.deckB > .band-meter { left: 2px; right: calc(var(--nw) + var(--kd) + 20px); }
  html .decks3 .mcol > .band-meter i { align-self: center; margin: 0; height: var(--g); }
  html .decks3 .mcol > .band-meter::before { display: none; }
  html .decks3 .mcol > .band-meter i::before { content: none; }
  html .decks3 .mcol > .band-meter { background: none; }
  html .decks3 .mcol > .band-meter > i { box-shadow: none; }
  html .decks3 .mcol > .band-meter { --rail: rgba(236, 235, 228, .1); }
  html .decks3 .mcol > .band-meter::after { content: ''; position: absolute; inset: 0; z-index: -1; background:
    linear-gradient(var(--rail), var(--rail)) 0 calc(50% / 3 * 1 - 2.5px) / 100% 5px no-repeat,
    linear-gradient(var(--rail), var(--rail)) 0 50% / 100% 5px no-repeat,
    linear-gradient(var(--rail), var(--rail)) 0 calc(100% - 50% / 3 + 2.5px) / 100% 5px no-repeat; }
  /* the volume faders: a tall channel fader with a cap you can see */
  html .decks3 input.vert { width: 40px; min-height: 0; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; }
  html .decks3 input.vert::-webkit-slider-runnable-track { width: 6px; border-radius: 3px; background: linear-gradient(90deg, #050307, #19151f 50%, #050307); box-shadow: 0 0 0 1px rgba(236, 235, 228, .14); }
  html .decks3 input.vert::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; box-sizing: border-box; width: 34px; height: 16px; margin-left: -14px; border-radius: 2px; border: 1px solid rgba(0, 0, 0, .9); background: linear-gradient(180deg, #3a3442 0, #231e2a 45%, #ecebe4 45%, #ecebe4 55%, #231e2a 55%, #17131c 100%); box-shadow: 0 0 0 1px var(--deckA), 0 2px 6px rgba(0, 0, 0, .6); }
  html .decks3 .mcol.deckB input.vert::-webkit-slider-thumb { box-shadow: 0 0 0 1px var(--deckB), 0 2px 6px rgba(0, 0, 0, .6); }
  html .decks3 input.vert:focus-visible { outline: none; }
  html .decks3 input.vert:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--acid), 0 2px 6px rgba(0, 0, 0, .6); }
  /* the crossfader and its note on one line; the master; the FX 1-4 strip: names 13 px, small print 12 */
  html .decks3 .slider.xf { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; font: 700 13px/1.2 var(--mono); letter-spacing: .06em; color: #d9d6cc; }
  html .decks3 .slider.xf > input { grid-column: 2; grid-row: 1; height: 22px; }
  html .decks3 .slider.xf > .tag { grid-column: 1 / -1; grid-row: 2; justify-self: center; margin: 2px 0 0; padding: 0; border: 0; background: none; font: 400 12px/1.3 system-ui, sans-serif; letter-spacing: 0; color: #9d9aa8; text-transform: none; }
  html .decks3 .mixer > .row.small { font: 700 13px/1 var(--mono); letter-spacing: .06em; color: #d9d6cc; }
  html .decks3 .mixer > .row.small #mdb { font-size: 13px; color: #fff; flex: none; width: 9ch; overflow: hidden; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
  html .decks3 .mixer > .meter.wide { height: 8px; }
  html .decks3 .cfx-n { font-size: 12px; }
  html .decks3 .cfx-l { font-size: 13px; }
  /* ---------- 3. the decks: readouts big, the buttons a normal size, everything under them quieter ---------- */
  html .screen.decks-screen .deckp .dbtns { gap: 6px; }
  html .screen.decks-screen .deckp .dbtns .tbtn { min-height: 0; padding: 6px 6px; font-size: 13px; font-weight: 700; }
  html .screen.decks-screen .deckp .dstats { font-size: 14px; }
  html .screen.decks-screen .deckp .dstats .big { font-size: clamp(24px, 1.75vw, 32px); }   /* the BPM: big, never bigger than the step */
  html .screen.decks-screen .deckp .slider { font-size: 13px; }
  html .screen.decks-screen .deckp .slider .tiny { font-size: 12px; }
  html .screen.decks-screen .deckp .fx-on.fx-intro { font: 400 12px/1.4 system-ui, sans-serif; letter-spacing: 0; text-transform: none; }
}
/* a short window (768 px high or less): the knobs a little smaller, so the lanes keep their room */
@media (min-width: 1000px) and (max-height: 820px) {
  html .decks3 .mixer { --kr: 31px; --kd: 28px; --nw: 50px; padding: 6px 12px 7px; gap: 5px; }
  html .decks3 .mcol { grid-template-rows: 16px repeat(5, var(--kr)) auto; row-gap: 1px; }
  html .decks3 .mcol > .dk { line-height: 16px; }
  html .decks3 .kn { font-size: 13px; }
  html .decks3 .mcol > .pfl { margin-top: 2px; padding: 3px 8px; font-size: 12px; }
  html body.plain-bands .decks3 .kn-sub { margin-top: 2px; font-size: 12px; }
  html .decks3 .slider.xf > input { height: 18px; }
  html .screen.decks-screen .deckp .dbtns .tbtn { padding-top: 5px; padding-bottom: 5px; }
}
@media (min-width: 1000px) and (min-height: 980px) {
  html .decks3 .mixer { --kr: 44px; --kd: 40px; --nw: 60px; }
  html .decks3 .kn { font-size: 15px; }
}
@media (min-width: 1000px) {
  /* ---------- 4. the instruction zone: the lesson HUD is no longer a box of thin bars. The title row is quiet small print
     (the lesson, Step n of m, the buttons); the step is the headline, the biggest type on the screen, centred on the
     playheads; its chip says which control; the sub-line under it (Set mode's next track, a lesson's count) reads at
     14 px. The rows keep their fixed room (two lines for the step, one for the sub-line, one for a warning), so a step
     changing never moves the lanes (design-check --shift). ---------- */
  html .screen.decks-screen.decks-banner > .hud { --step-fs: clamp(30px, 2.35vw, 42px); background: transparent; border-color: transparent; border-bottom: 1px solid rgba(236, 235, 228, .08); box-shadow: none; padding-left: 0; padding-right: 0; }
  html .screen.decks-screen.decks-banner > .hud::before, html .screen.decks-screen.decks-banner > .hud::after { opacity: .35; }
  html .screen.decks-screen.decks-banner > .hud > .hud-top > .grow > .eyebrow { font: 700 12px/1 var(--mono); letter-spacing: .14em; }
  html .screen.decks-screen.decks-banner > .hud > .hud-top h2 { font-size: 15px; color: #d9d6cc; }
  html .screen.decks-screen.decks-banner > .hud .coach-lead .coach-count { font-size: 12px; }
  html .screen.decks-screen.decks-banner > .hud .bbtn.sm, html .screen.decks-screen.decks-banner > .hud > .hud-top > .bbtn { font-size: 12.5px; }
  html .screen.decks-screen.decks-banner > .hud .banner-text { font-size: var(--step-fs); line-height: 1.06; }
  html body:not(.quiet) .screen.decks-screen.decks-banner > .hud #hudBanner { min-height: calc(2 * 1.06 * var(--step-fs) + 52px); padding-top: 6px; padding-bottom: 4px; row-gap: 6px; }
  html .screen.decks-screen.decks-banner > .hud #hudBanner .banner-ctl { font-size: 13px; line-height: 20px; padding: 2px 10px 2px 8px; }
  html .screen.decks-screen.decks-banner > .hud #hudBanner .banner-hear, html .screen.decks-screen.decks-banner > .hud #hudBanner .banner-info { width: 26px; height: 26px; min-width: 26px; font-size: 14px; }
  html .screen.decks-screen.decks-banner > .hud #hudBanner .banner-note, html .screen.decks-screen.decks-banner > .hud #hudBanner .banner-why { font-size: 14px; }
  html .screen.decks-screen.decks-banner > .hud .hud-sub { font-size: 14px; line-height: 20px; height: 20px; color: #cfccc4; }
  html .screen.decks-screen.decks-banner > .hud .hud-sub b { color: #fff; }
  html .screen.decks-screen.decks-banner > .hud .hud-sub .small { font-size: 13px; }
  html .screen.decks-screen.decks-banner > .hud .warn { font-size: 13.5px; }
  /* Free mix's instruction row: the same headline size as a lesson's step */
  html .screen.decks-screen:not(.decks-hud) { grid-template-rows: auto auto 54px; }
  html .screen.decks-screen:not(.decks-hud) > .club { height: 12px; margin-bottom: 6px; }
  html .screen.decks-screen:not(.decks-hud) > .mix-hints { height: 54px; }
  html .screen.decks-screen:not(.decks-hud) > .mix-hints > .mh-next { font-size: clamp(26px, 2.2vw, 38px); }
  html .screen.decks-screen:not(.decks-hud) > .mix-hints > .mh-count { height: 34px; font-size: 17px; }
  html .screen.decks-screen:not(.decks-hud) > .mix-hints > .mh-warn { font-size: 14px; }
  /* the legend and the score row: small print at 12-13 px, never under */
  html .screen.decks-screen > .wv-legend, html .screen.decks-screen.decks-banner > .wv-legend { font-size: 12.5px; }
  html .screen.decks-screen:not(.decks-hud) > .freebar .fscore { font-size: 13px; }
  html .screen.decks-screen:not(.decks-hud) > .freebar .assist { font-size: 13px; }
}
@media (min-width: 1000px) and (max-height: 820px) {
  html .screen.decks-screen.decks-banner > .hud { --step-fs: clamp(28px, 2.3vw, 32px); }
  html body:not(.quiet) .screen.decks-screen.decks-banner > .hud #hudBanner { min-height: calc(2 * 1.06 * var(--step-fs) + 48px); row-gap: 4px; padding-top: 4px; }
  html .screen.decks-screen:not(.decks-hud) { grid-template-rows: auto auto 48px; }
  html .screen.decks-screen:not(.decks-hud) > .mix-hints { height: 48px; }
  html .screen.decks-screen:not(.decks-hud) > .mix-hints > .mh-next { font-size: clamp(24px, 2.1vw, 30px); }
}
@media (min-width: 1000px) and (max-height: 779px) {
  html body.timing-up .screen.decks-screen.decks-banner > .hud #hudBanner { min-height: 0; }
}
@media (min-width: 1000px) {
  /* Free mix's lanes take a tall window's room too (they stopped at 172 px with 140 px of nothing under the decks at 1080) */
  html .screen.decks-screen:not(.decks-hud) .wf { height: clamp(104px, calc((100vh - 486px) / 2), 250px); }
}
@media (min-width: 1000px) {
  /* the warning shares the sub-line's row (a warning replaces the sub-line in a lesson: the clarity rule), so the HUD
     keeps no empty row for it; nothing moves when one comes or goes (the row is always there) */
  html .screen.decks-screen.decks-banner > .hud .warn { grid-row: 3; align-self: stretch; position: relative; z-index: 2; min-height: 0; line-height: 20px; background: transparent; }
  html .screen.decks-screen.decks-banner > .hud .warn:not(:empty) { background: var(--bg, #08070b); }
  html .screen.decks-screen.decks-banner > .hud .hud-sub:empty { display: block; visibility: hidden; height: 20px; }
}
@media (min-width: 1000px) and (max-height: 820px) {
  /* a laptop window: the mixer's crossfader, its note and the master on fewer rows, the knobs a touch smaller, so the
     lanes keep their room (the waveforms are the hero) */
  html .decks3 .mixer { --kr: 29px; --kd: 26px; --nw: 50px; gap: 4px; }
  html .decks3 .mcol > .pfl { padding: 2px 8px; }
  html .decks3 .slider.xf { grid-template-columns: auto minmax(110px, 1fr) minmax(0, 1.5fr); grid-template-rows: auto; }
  html .decks3 .slider.xf > .tag { grid-column: 3; grid-row: 1; justify-self: stretch; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
  html .decks3 .mixer > .row.small { position: relative; z-index: 1; width: 140px; min-width: 0; margin-bottom: -18px; line-height: 18px; }
  html .decks3 .mixer > .row.small { height: 18px; }
  html .decks3 .mixer > .meter.wide { margin: 1px 0 6px 150px; }
}
@media (min-width: 1000px) and (max-height: 768px) {
  html .decks3 .mixer { --kr: 27px; --kd: 24px; }
  html .decks3 .kn { font-size: 12.5px; }
  html body.plain-bands .decks3 .kn-sub { font-size: 12px; margin-top: 1px; }
}
@media (min-width: 1000px) {
  /* a one-line step sits in the middle of its two-line room, not on top of an empty band */
  html body:not(.quiet) .screen.decks-screen.decks-banner > .hud #hudBanner { align-content: center; }
}
@media (min-width: 1000px) {
  /* the decks' readouts in two short lines beside the big BPM (the decks are narrower now the mixer is bigger: on one
     line the key was cut at 1280): +0.00% · SYNC over the key and the time left, no extra height */
  html .screen.decks-screen .deckp .dstats { display: grid; grid-template-columns: auto auto minmax(0, 1fr) 7ch; grid-template-rows: auto auto; column-gap: 14px; row-gap: 1px; align-items: center; overflow: visible; white-space: nowrap; }
  html .screen.decks-screen .deckp .dstats > .jogd { grid-column: 1; grid-row: 1 / 3; }
  html .screen.decks-screen .deckp .dstats > div:not(.jogd):not([id]) { grid-column: 2; grid-row: 1 / 3; }
  html .screen.decks-screen .deckp .dstats > [id^="pitch"] { grid-column: 3 / 5; grid-row: 1; font-size: 13.5px; line-height: 17px; overflow: hidden; text-overflow: ellipsis; }
  html .screen.decks-screen .deckp .dstats > [id^="key"] { grid-column: 3; grid-row: 2; font-size: 13.5px; line-height: 17px; overflow: hidden; text-overflow: ellipsis; }
  html .screen.decks-screen .deckp .dstats > [id^="time"] { grid-column: 4; grid-row: 2; text-align: right; font-variant-numeric: tabular-nums; font-size: 13.5px; line-height: 17px; }
  /* the timing card docked: the mixer on its compact rows, so the page still fits the window */
  html body.timing-up .decks3 .mixer { --kr: 27px; --kd: 24px; --nw: 50px; gap: 4px; }
  html body.timing-up .decks3 .mcol { grid-template-rows: 16px repeat(5, var(--kr)) auto; row-gap: 1px; }
  html body.timing-up .decks3 .kn { font-size: 12.5px; }
  html body.timing-up.plain-bands .decks3 .kn-sub { font-size: 12px; margin-top: 0; }
  html body.timing-up .decks3 .slider.xf { grid-template-columns: auto minmax(110px, 1fr) minmax(0, 1.5fr); grid-template-rows: auto; }
  html body.timing-up .decks3 .slider.xf > .tag { grid-column: 3; grid-row: 1; justify-self: stretch; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
  html body.timing-up .decks3 .mixer > .row.small { position: relative; z-index: 1; width: 140px; height: 18px; margin-bottom: -18px; line-height: 18px; }
  html body.timing-up .decks3 .mixer > .meter.wide { margin: 1px 0 6px 150px; }
  html body.timing-up .decks3 .mcol > .pfl { padding: 2px 8px; font-size: 12px; }
}
/* the timing card docked in a short window (1280×720, 1366×768): the tightest case. The A / B chip over each channel steps
   out (each channel's knobs are in its deck's colour and its VOLUME label stays), the knobs at 22 px */
@media (min-width: 1000px) and (max-height: 768px) {
  html body.timing-up .decks3 .mixer { --kr: 24px; --kd: 22px; }
  html body.timing-up .decks3 .mcol { grid-template-rows: repeat(5, var(--kr)) auto; row-gap: 0; }
  html body.timing-up .decks3 .mcol > .dk { display: none; }
  html body.timing-up .decks3 .mcol > .vf { grid-row: 1 / 7; }
  html body.timing-up .decks3 .mcol > .meter { grid-row: 1 / 7; }
  html body.timing-up .decks3 .mcol > .pfl { grid-row: 6; }
  html body.timing-up .decks3 .mcol > .band-meter { grid-row: 2 / 5; }
  html body.timing-up .screen.decks-screen .deckp .dbtns .tbtn { padding-top: 4px; padding-bottom: 4px; }
}
@media (min-width: 1000px) {
  html .screen.decks-screen .deckp .row > .dk { font-size: 12px; }   /* DECK A / DECK B: the type floor */
}
/* QA round 2: a lesson at 1280×720 gave its lanes too little (the beatmatch line's own row; its one home since
   design/no-overlaps: frame.css section 3) */
@media (min-width: 1000px) {
  html .screen.decks-hud { position: relative; }
}
@media (min-width: 1000px) and (max-height: 820px) {
  html .screen.decks-screen.decks-banner > .hud { --step-fs: clamp(28px, 2.15vw, 30px); grid-template-rows: 30px auto; }
  html body:not(.quiet) .screen.decks-screen.decks-banner > .hud #hudBanner { min-height: calc(2 * 1.06 * var(--step-fs) + 47px); row-gap: 3px; padding-top: 2px; padding-bottom: 2px; }   /* design/calm-coach: +2 px, so a two-line step never adds a pixel (the floor was 1 px short at 720) */
}
@media (min-width: 1000px) and (min-height: 980px) {
  html .decks3 .mixer { --kr: 41px; --kd: 37px; }
  html .screen.decks-screen:not(.decks-hud) .wf { height: clamp(104px, calc((100vh - 486px) / 2), 236px); }
}
@media (min-width: 1000px) and (max-width: 1500px) {
  html .screen.decks-screen .deckp .dstats > .jogd { display: none; }   /* QA round 3: Free mix too (the jog display squeezed the key to "7A · …" at 1280) */
}
/* the sub-line can hold a mode's buttons (the Academy's Watch the demo · Practise it · Take the test): a line of text keeps its
   20 px row (one line, nothing moves as it changes), buttons get the room they need; the warning sharing the row is one line
   at its top and never catches a click on what's under it (the smoke's Academy row) */
@media (min-width: 1000px) {
  html .screen.decks-screen.decks-banner > .hud .hud-sub { height: auto; min-height: 20px; max-height: none; }
  html .screen.decks-screen.decks-banner > .hud .hud-sub > .row { justify-content: center; margin: 4px 0; white-space: normal; }
  html .screen.decks-screen.decks-banner > .hud .warn { align-self: start; height: 20px; }
  html .screen.decks-screen.decks-banner > .hud .warn:empty { pointer-events: none; }
}


/* design/qa-round-4, part 3, QA round 4 Polish 7: the glossary's NEW badge sat after its word, so "bar 128 beat NEW 4" split "beat 4". It sits
   before the word now ("NEW beat 4"), raised as before, so a term and the number after it always read together. */
.term.new::after { content: none; }
.term.new::before { content: 'new'; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); margin-right: 3px; vertical-align: super; line-height: 0; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .term.new::before { color: var(--acid); }

/* ======================================================================================================================
   design/calm-coach (D1 of docs/PLAN-lessons-feel.md, parts 3.7, 4.4, 5.2, 6.4): the coaching system's look, on Main's hooks
   (feature/calm-coach, feature/chapter-2-calm, feature/knob-school; drawn first by scripts/design-feel-mock.js):
   - the chip's three tones: .banner-target[data-tone="ok"] green, "adjust" and "early" amber; the lit control answers in the
     same colour ([data-tone] on the control's host: its ring, its callout tag);
   - the stamp: [data-stamp="✓ Bass out"] on the control's host for 1.5 s (opacity and transform only, over the knob, the
     fader or the button), the lead's ✓ Done tick unchanged;
   - the ghost move: .kn[data-ghost="show"] with --ghost-to the target (0..1): a dotted trail sweeps from the knob's position to the
     target and comes back over 2 s (a registered --gp drives the arc); [data-ghost="miss"] is the miss's ghost, amber, held;
   - the moves board (#c2Board.moves-board, Chapter 2's moments as tiles), Knob School's score strip (#ksStrip), its calls'
     tiles (#ksTiles), its card (#ksCard), the join chips (#joinChips), Home's Challenges card (.challenges > .ch-tiles), the
     nights' row's +N later (.nights-more); the band flood per band call is booth-pops.js's (half the swap's, through the gate).
   integrate/calm-coach: every hook here is Main's as merged (the names above); the mocks in scripts/design-feel-mock.js draw
   the same markup and are no-ops where the real element is up.
   The banner's height never changes with the word or the stamp (the chip sits in the row's 22 px; the stamp is on the control).
   Reduced motion: every animation off, the state still shown. ================================================================ */
:root { --tone-ok: #3fd98a; --tone-ok-rgb: 63, 217, 138; --tone-warn: #ffb000; --tone-warn-rgb: 255, 176, 0; }
/* the chip's word */
#hudBanner .banner-ctl .banner-target[data-tone] { padding: 0 6px 0 7px; margin-right: -4px; border-radius: 1px; color: #fff; }
#hudBanner .banner-ctl .banner-target[data-tone="ok"] { color: var(--tone-ok); border-left-color: rgba(var(--tone-ok-rgb), .55); }
/* (no ✓ added here: Main's ok words carry their own, "✓ Bass out", "✓ On the 1": integrate/calm-coach) */
#hudBanner .banner-ctl .banner-target[data-tone="adjust"], #hudBanner .banner-ctl .banner-target[data-tone="early"] { color: var(--tone-warn); border-left-color: rgba(var(--tone-warn-rgb), .55); }
#hudBanner .banner-ctl[data-tone="ok"] { border-color: rgba(var(--tone-ok-rgb), .7); }
#hudBanner .banner-ctl[data-tone="adjust"], #hudBanner .banner-ctl[data-tone="early"] { border-color: rgba(var(--tone-warn-rgb), .7); }
#hudBanner .banner-ctl[data-tone] .banner-target { transition: color .16s; }
/* the control answers in the same colour: its callout tag, its tube and the knob's ring */
body.focus #decks3 [data-callout][data-tone="ok"]::after { border-color: var(--tone-ok); color: var(--tone-ok); }
body.focus #decks3 [data-callout][data-tone="ok"][data-tone]::before { background: var(--tone-ok); box-shadow: 0 0 0 2px rgba(0, 0, 0, .7), 0 0 10px rgba(var(--tone-ok-rgb), .9); }
body.focus #decks3 [data-callout][data-tone="adjust"]::after, body.focus #decks3 [data-callout][data-tone="early"]::after { border-color: var(--tone-warn); color: var(--tone-warn); }
body.focus #decks3 [data-callout][data-tone="adjust"][data-tone]::before, body.focus #decks3 [data-callout][data-tone="early"][data-tone]::before { background: var(--tone-warn); box-shadow: 0 0 0 2px rgba(0, 0, 0, .7), 0 0 10px rgba(var(--tone-warn-rgb), .9); }
body.focus #decks3 .is-needed[data-tone="ok"] { --lit: var(--tone-ok); --lit-rgb: var(--tone-ok-rgb); }
body.focus #decks3 .is-needed[data-tone="ok"]::before { animation: none; }
body.focus #decks3 .is-needed[data-tone="adjust"], body.focus #decks3 .is-needed[data-tone="early"] { --lit: var(--tone-warn); --lit-rgb: var(--tone-warn-rgb); }
body[data-step-band].focus #decks3 .kn.is-needed[data-tone="ok"] { --lit: var(--tone-ok); --lit-rgb: var(--tone-ok-rgb); }
body[data-step-band].focus #decks3 .kn.is-needed[data-tone="adjust"], body[data-step-band].focus #decks3 .kn.is-needed[data-tone="early"] { --lit: var(--tone-warn); --lit-rgb: var(--tone-warn-rgb); }
@media (min-width: 1000px) {
  html body.focus #decks3 .kn.is-needed[data-tone="early"] .knob { animation: tone-early 1s steps(2, jump-none) infinite; }
}
@keyframes tone-early { 50% { box-shadow: 0 0 0 3px rgba(var(--tone-warn-rgb), .35); } }
/* the stamp: over the control for 1.5 s (the callout steps aside while it's there), its ✓ snapping in and lifting away */
/* (the selectors repeat [data-stamp] so the stamp outranks the laptop layout's callout rules, which empty the tag at 1100 px and up) */
#decks3 [data-stamp] { position: relative; }
body #decks3 [data-stamp][data-stamp][data-stamp]::after { content: attr(data-stamp); position: absolute; left: 50%; top: 50%; z-index: 4; width: auto; height: auto; max-width: none; margin: 0; padding: 3px 9px 4px; border: 1px solid var(--tone-ok); border-radius: 1px; background: #07050b; color: var(--tone-ok); font: 800 13px/16px var(--mono); letter-spacing: .04em; text-transform: none; white-space: nowrap; box-shadow: 0 0 0 1px rgba(0, 0, 0, .85), 0 0 14px rgba(var(--tone-ok-rgb), .5); pointer-events: none; transform: translate(-50%, -50%); transform-origin: 50% 50%; will-change: transform, opacity; animation: stamp-life 1.5s cubic-bezier(.2, 1.4, .4, 1) both; bottom: auto; right: auto; }
body #decks3 [data-stamp][data-stamp][data-stamp]::before { display: none; }   /* the callout's leader (or its dot) gives way to the stamp */
/* a knob's stamp sits centred on the knob itself for its 1.5 s (the row is name · knob · meter: --nw, a 10 px gap, --kd; mirrored on Deck B): whole words, never cut (beside the knob it either covered the name or, capped to the meter's room, read "✓ Voic…") */
body #decks3 .kn[data-stamp][data-stamp][data-stamp]::after { left: calc(var(--nw, 50px) + 10px + var(--kd, 32px) / 2); right: auto; font-size: 12px; padding: 2px 7px 3px; }
body #decks3 .mcol.deckB .kn[data-stamp][data-stamp][data-stamp]::after { left: auto; right: calc(var(--nw, 50px) + 10px + var(--kd, 32px) / 2); transform: translate(50%, -50%); animation-name: stamp-life-r; }
@keyframes stamp-life-r { 0% { opacity: 0; transform: translate(50%, -50%) scale(1.6); } 12% { opacity: 1; transform: translate(50%, -50%) scale(1); } 78% { opacity: 1; transform: translate(50%, -50%); } 100% { opacity: 0; transform: translate(50%, calc(-50% - 6px)); } }
body #decks3 .mcol.deckB .kn[data-stamp][data-stamp][data-stamp][data-still]::after { animation: none; transform: translate(50%, -50%); }
body #decks3 .vf[data-stamp][data-stamp][data-stamp]::after { top: 36px; bottom: auto; left: 50%; right: auto; }
body #decks3 [data-stamp][data-stamp][data-stamp][data-still]::after { animation: none; opacity: 1; }   /* [data-still]: held for a shot (the mocks) */
@keyframes stamp-life { 0% { opacity: 0; transform: translate(-50%, -50%) scale(1.6); } 12% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 78% { opacity: 1; transform: translate(-50%, -50%); } 100% { opacity: 0; transform: translate(-50%, calc(-50% - 6px)); } }
/* the stamped knob's ring goes green for the stamp's life */
@media (min-width: 1000px) { html body #decks3 .kn[data-stamp] .knob, html body.focus #decks3 .kn.is-needed[data-stamp] .knob, html body[data-step-band].focus #decks3 .kn.is-needed[data-stamp] .knob { box-shadow: 0 0 0 3px var(--tone-ok); } }
body.focus #decks3 .is-needed[data-stamp] { --lit: var(--tone-ok); --lit-rgb: var(--tone-ok-rgb); }
/* the ghost move (Main's hook, integrate/calm-coach: .kn[data-ghost="show"|"miss"] with --ghost-to the target, BoothCoach.ghost): a dotted
   arc round the knob from where it is to the target, sweeping out and back (--gp 0 → 1 → 0, 2 s), in the knob's own colour; a
   miss's ghost (data-ghost="miss") sweeps to the target in amber and stays until the attribute goes */
@property --gp { syntax: '<number>'; inherits: false; initial-value: 0; }
@media (min-width: 1000px) {
  html .decks3 .kn[data-ghost] .knob::after { content: ''; position: absolute; inset: -13px; border-radius: 50%; pointer-events: none; z-index: 1; --gc: var(--kc, var(--acid));
    --av: calc((var(--v, .5) - .5) * 270deg); --ag: calc((var(--ghost-to, 0) - .5) * 270deg); --ae: calc(var(--av) + (var(--ag) - var(--av)) * var(--gp));
    --a0: min(var(--av), var(--ae)); --a1g: max(var(--av), var(--ae));
    background: repeating-conic-gradient(from var(--a0), var(--gc) 0 5deg, transparent 5deg 12deg);
    -webkit-mask: radial-gradient(circle, transparent calc(50% - 8px), #000 calc(50% - 7px), #000 calc(50% - 1px), transparent 50%), conic-gradient(from var(--a0), #000 0 calc(var(--a1g) - var(--a0)), transparent 0); -webkit-mask-composite: source-in; mask: radial-gradient(circle, transparent calc(50% - 8px), #000 calc(50% - 7px), #000 calc(50% - 1px), transparent 50%), conic-gradient(from var(--a0), #000 0 calc(var(--a1g) - var(--a0)), transparent 0); mask-composite: intersect;
    opacity: 0; animation: ghost-sweep 2s cubic-bezier(.4, 0, .3, 1) both; }
  html .decks3 .kn[data-ghost="miss"] .knob::after { --gc: var(--tone-warn); animation: ghost-hold .7s ease-out both; }
  /* the target's tick: a short line at the target angle, the same colour */
  html .decks3 .kn[data-ghost] .knob::before { background: var(--gc, var(--kc)); width: 2px; height: 6px; top: -13px; transform: rotate(calc((var(--ghost-to, 0) - .5) * 270deg)); transform-origin: 50% calc(50% + var(--kd, 32px) / 2 + 6px); opacity: .95; }
  html .decks3 .kn[data-ghost="miss"] .knob::before { --gc: var(--tone-warn); }
  /* the pointer itself turns to the target and back on the same clock (the value arc stays: it is the real value) */
  html .decks3 .kn[data-ghost] .knob > i { --av: calc((var(--v, .5) - .5) * 270deg); --ag: calc((var(--ghost-to, 0) - .5) * 270deg); animation: ghost-turn 2s cubic-bezier(.4, 0, .3, 1) both; }
  html .decks3 .kn[data-ghost="miss"] .knob > i { animation: none; }
}
@keyframes ghost-sweep { 0% { --gp: 0; opacity: 0; } 10% { opacity: .95; } 42% { --gp: 1; } 58% { --gp: 1; opacity: .95; } 92% { --gp: 0; opacity: .95; } 100% { --gp: 0; opacity: 0; } }
@keyframes ghost-hold { 0% { --gp: 0; opacity: 0; } 30% { opacity: .95; } 100% { --gp: 1; opacity: .95; } }
@keyframes ghost-turn { 0%, 100% { transform: rotate(var(--av)); } 42%, 58% { transform: rotate(var(--ag)); } }

/* ---------- the moves board (plan 3.4; integrate/calm-coach on Main's markup: ol#c2Board.moves-board[data-kind] in the HUD under the
   sub-line, booth-chapter2's drawBoard: li.mb-tile[data-key][data-state][data-band] > b (the name) + span.mono (its bar) + i.mono (its ms);
   the states are Main's: next (the one to do, lit), waiting (dim), done (✓), late and jumped (· amber), missed (✕)). The board is in
   the DOM from the screen's draw and keeps one height, so the lanes never move when its tiles fill. Knob School's calls are
   #ksTiles' own tiles below. ---------- */
#screen .moves-board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; height: auto; min-height: 54px; margin: 4px 0 2px; padding: 0 2px; overflow: visible; font-family: var(--mono); font-size: 12px; }
#screen .moves-board .mb-tile { --mc: var(--acid); --mc-rgb: var(--uv); position: relative; box-sizing: border-box; min-height: 54px; padding: 8px 14px 7px 16px; border: 1px solid rgba(236, 235, 228, .14); border-left: 4px solid rgba(236, 235, 228, .18); border-radius: var(--r); background: rgba(236, 235, 228, .03); display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; gap: 2px 8px; color: rgba(236, 235, 228, .5); opacity: 1; text-decoration: none; white-space: nowrap; }
#screen .moves-board .mb-tile[data-band="low"] { --mc: var(--band-low); --mc-rgb: var(--band-low-rgb); }
#screen .moves-board .mb-tile[data-band="mid"] { --mc: var(--band-mid); --mc-rgb: var(--band-mid-rgb); }
#screen .moves-board .mb-tile[data-band="high"] { --mc: var(--band-high); --mc-rgb: var(--band-high-rgb); }
#screen .moves-board .mb-tile[data-band="vox"] { --mc: var(--band-vox); --mc-rgb: var(--band-vox-rgb); }
#screen .moves-board .mb-tile > b { font: 900 17px/1.1 var(--mono); letter-spacing: .06em; text-transform: lowercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#screen .moves-board .mb-tile > span, #screen .moves-board .mb-tile > i { font: 500 12px/1.2 var(--mono); font-style: normal; letter-spacing: .02em; color: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#screen .moves-board .mb-tile > span + i::before { content: '· '; opacity: .6; }
#screen .moves-board .mb-tile[data-state="done"], #screen .moves-board .mb-tile[data-state="late"], #screen .moves-board .mb-tile[data-state="jumped"], #screen .moves-board .mb-tile[data-state="missed"] { border-left-color: rgba(var(--mc-rgb), .8); background: rgba(var(--mc-rgb), .07); color: rgba(236, 235, 228, .82); }
#screen .moves-board .mb-tile[data-state="done"] > b::before { content: '✓ '; color: var(--tone-ok); }
#screen .moves-board .mb-tile[data-state="late"] > b::before, #screen .moves-board .mb-tile[data-state="jumped"] > b::before { content: '· '; color: var(--tone-warn); }
#screen .moves-board .mb-tile[data-state="late"] > i, #screen .moves-board .mb-tile[data-state="jumped"] > i, #screen .moves-board .mb-tile[data-state="late"] > span, #screen .moves-board .mb-tile[data-state="jumped"] > span { color: var(--tone-warn); }
#screen .moves-board .mb-tile[data-state="missed"] { border-left-color: rgba(var(--tone-warn-rgb), .7); background: rgba(236, 235, 228, .03); color: rgba(236, 235, 228, .62); }
#screen .moves-board .mb-tile[data-state="missed"] > b::before { content: '✕ '; color: var(--tone-warn); }
#screen .moves-board .mb-tile[data-state="next"] { border-color: rgba(var(--mc-rgb), .9); border-left-color: var(--mc); background: rgba(var(--mc-rgb), .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(var(--mc-rgb), .6); }
#screen .moves-board .mb-tile[data-state="next"] > span, #screen .moves-board .mb-tile[data-state="next"] > i { color: var(--mc); }
/* a short window (720 and 768 high) and the 1536×864 laptop, where the lanes are at their minimum: the board one line, each tile's bar after its name, so the mixer's last row stays on screen (1280×800 and 1440×900 keep the two-line tiles) */
@media (max-height: 780px), (min-height: 801px) and (max-height: 880px) {
  #screen .moves-board { min-height: 28px; gap: 8px; margin: 2px 0 2px; }
  #screen .moves-board .mb-tile { min-height: 28px; padding: 3px 12px 3px 12px; grid-auto-flow: column; grid-template-columns: none; justify-content: start; align-items: baseline; gap: 8px; }
  #screen .moves-board .mb-tile > b { font-size: 14px; }
  #screen .moves-board .mb-tile > span, #screen .moves-board .mb-tile > i { font-size: 12px; }
  #screen .moves-board .mb-tile > span::before { content: '· '; opacity: .6; }
  #screen .ks-strip { min-height: 40px; margin: 0 0 4px; }
  #screen .ks-strip b { font-size: 26px; }
  #screen .ks-strip .ks-best b, #screen .ks-strip .ks-round b { font-size: 20px; }
}

/* ---------- Knob School (plan 5.2; integrate/calm-coach on Main's markup, booth-knobgame.js): the score strip #ksStrip.ks-strip in the
   HUD under the sub-line (.ks-score, .ks-streak, .ks-mult[data-on], .ks-points, .ks-best, .ks-round: each a .ks-k label over b.mono;
   the strip's data-mult heats the multiplier chip), the round's calls as tiles under the lanes (#ksTiles.ks-tiles > .ks-tiles-h +
   .ks-tile[data-i][data-state][data-band][data-dir] > b + span.small; Main's states todo now clean near late early missed boost void,
   eight a row), the round's box between rounds (#ksRoundBox.ks-box in the tiles' row) and the card (#ksCard.ks-card in #ksBox);
   body[data-knobschool] hides Deck B's lane: one deck, one lane ---------- */
#screen .ks-strip { display: flex; align-items: flex-end; gap: 10px 28px; margin: 4px 0 2px; padding: 0 2px; height: auto; min-height: 52px; overflow: visible; }
#screen .ks-strip > div { display: grid; gap: 4px; min-width: 0; }
#screen .ks-strip .ks-k { font: 700 12px/1 var(--mono); letter-spacing: .04em; text-transform: lowercase; color: #b4b1a9; white-space: nowrap; }
#screen .ks-strip b { font: 800 34px/1 var(--mono); letter-spacing: -.01em; color: #ecebe4; font-variant-numeric: tabular-nums; white-space: nowrap; }
#screen .ks-strip .ks-score b { color: #fff; text-shadow: none; }
#screen .ks-strip .ks-mult { align-self: end; padding: 6px 14px 7px; border: 1px solid rgba(var(--uv), .5); border-radius: 1px; color: #e3ccff; background: rgba(var(--uv), .1); font: 800 22px/1 var(--mono); }
#screen .ks-strip .ks-mult[data-on="true"] { color: #0a0610; background: var(--acid); border-color: var(--acid); box-shadow: none; }
#screen .ks-strip[data-mult="4"] .ks-mult { background: #fff; border-color: #fff; box-shadow: none; }
#screen .ks-strip .ks-best { margin-left: auto; text-align: right; }
#screen .ks-strip .ks-round { margin-left: 0; text-align: right; }
#screen .ks-strip .ks-best b, #screen .ks-strip .ks-round b { font-size: 26px; color: #d6b3ff; }
#screen .ks-strip .ks-best .ks-k { color: #cfa9ff; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
body[data-knobschool] .wfs > #wfB { display: none; }   /* Knob School (M3): one deck, one lane */
@media (max-height: 760px) { #screen .ks-strip { min-height: 44px; margin: 2px 0 2px; } #screen .ks-strip b { font-size: 28px; } #screen .ks-strip .ks-best b, #screen .ks-strip .ks-round b { font-size: 22px; } }
/* the calls' tiles: Main's eight a row (the page with the call to play), the same tiles as Chapter 2's board, small */
#screen .ks-tiles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-template-rows: auto 44px; gap: 6px; margin: 4px 0 6px; padding: 0 2px; min-height: 66px; contain: layout; }
#screen .ks-tiles .ks-tiles-h { grid-column: 1 / -1; font: 700 12px/1 var(--mono); letter-spacing: .04em; text-transform: lowercase; color: #b4b1a9; }
#screen .ks-tiles .ks-tiles-h b { color: #ecebe4; }
#screen .ks-tile { --mc: var(--acid); --mc-rgb: var(--uv); position: relative; box-sizing: border-box; min-height: 40px; padding: 6px 8px 6px 10px; border: 1px solid rgba(236, 235, 228, .14); border-left: 3px solid rgba(236, 235, 228, .18); border-radius: var(--r); background: rgba(236, 235, 228, .03); display: grid; align-content: center; gap: 2px; color: rgba(236, 235, 228, .5); opacity: 1; }
#screen .ks-tile[data-band^="low"] { --mc: var(--band-low); --mc-rgb: var(--band-low-rgb); }
#screen .ks-tile[data-band^="mid"] { --mc: var(--band-mid); --mc-rgb: var(--band-mid-rgb); }
#screen .ks-tile[data-band^="high"] { --mc: var(--band-high); --mc-rgb: var(--band-high-rgb); }
#screen .ks-tile > b { font: 900 12.5px/1.1 var(--mono); letter-spacing: .04em; text-transform: lowercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#screen .ks-tile > span { font: 500 12px/1.2 var(--mono); letter-spacing: .02em; color: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 1; }
#screen .ks-tile > span:empty::before { content: '\00a0'; }
#screen .ks-tile[data-state="clean"], #screen .ks-tile[data-state="near"], #screen .ks-tile[data-state="late"], #screen .ks-tile[data-state="early"], #screen .ks-tile[data-state="boost"] { border-left-color: rgba(var(--mc-rgb), .8); background: rgba(var(--mc-rgb), .07); color: rgba(236, 235, 228, .82); }
#screen .ks-tile[data-state="clean"] > b::before { content: '✓ '; color: var(--tone-ok); }
#screen .ks-tile[data-state="near"] > b::before, #screen .ks-tile[data-state="late"] > b::before, #screen .ks-tile[data-state="early"] > b::before, #screen .ks-tile[data-state="boost"] > b::before { content: '· '; color: var(--tone-warn); }
#screen .ks-tile[data-state="near"] > span, #screen .ks-tile[data-state="late"] > span, #screen .ks-tile[data-state="early"] > span, #screen .ks-tile[data-state="boost"] > span { color: var(--tone-warn); }
#screen .ks-tile[data-state="missed"] { border-left-color: rgba(var(--tone-warn-rgb), .7); color: rgba(236, 235, 228, .62); }
#screen .ks-tile[data-state="missed"] > b::before { content: '✕ '; color: var(--tone-warn); }
#screen .ks-tile[data-state="void"] { opacity: .45; }
#screen .ks-tile[data-state="now"] { border-color: rgba(var(--mc-rgb), .9); border-left-color: var(--mc); background: rgba(var(--mc-rgb), .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(var(--mc-rgb), .6); }
#screen .ks-tile[data-state="now"] > span { color: var(--mc); font-weight: 700; }
/* the round's box, in the tiles' row: the next round the primary, the same again beside it */
#screen .ks-tiles > .ks-box { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; margin: 0; padding: 0; }
#screen .ks-tiles > .ks-box .bbtn { min-height: 40px; }
@media (max-height: 780px), (min-height: 801px) and (max-height: 880px) {
  #screen .ks-tiles { grid-template-rows: auto 30px; min-height: 50px; gap: 4px 6px; margin: 2px 0 4px; }
  #screen .ks-tile { min-height: 28px; padding: 3px 6px 3px 8px; grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 6px; }
  #screen .ks-tile > b { font-size: 12px; }
  #screen .ks-tile > span::before { content: '· '; opacity: .6; }
  #screen .ks-tiles > .ks-box .bbtn { min-height: 30px; padding-top: 2px; padding-bottom: 2px; }
}
/* the card (mockup knob-game-card.png): the rounds as rows, the one that scored in green (Main's data-now), the boosts in amber, the buttons equal */
#screen .ks-card { max-width: 800px; margin: 12px auto 0; display: grid; gap: 18px; padding: 28px 60px 32px; }
#screen .ks-card .pass-line { text-align: center; }
#screen .ks-card .ft-lead { margin: 0; text-align: center; font-size: 17px; color: #d8d5cc; }
#screen .ks-card .res-scores { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
#screen .ks-card .res-scores > div { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; margin: 0; padding: 0; border: 0; background: none; font: 500 14px/1.3 var(--mono); color: #cfcdc4; text-align: left; }
#screen .ks-card .res-scores > div > b { font: 700 14px/1.3 var(--mono); color: #ecebe4; text-align: right; }
#screen .ks-card .res-scores > div[data-now] { color: var(--tone-ok); }
#screen .ks-card .res-scores > div[data-now] > b { color: var(--tone-ok); }
#screen .ks-card .res-scores > div[data-boosts]:not([data-boosts="0"]) > b { color: var(--tone-warn); }
#screen .ks-card .coach-card { display: grid; gap: 6px; }
#screen .ks-card .coach-card .coach-k { font: 700 12px/1 var(--mono); letter-spacing: .04em; text-transform: lowercase; color: #cfa9ff; margin-top: 6px; }
#screen .ks-card .coach-card p { margin: 0; font-size: 16px; }
#screen .ks-card .coach-xp { margin-top: 8px; color: #b4b1a9; }
#screen .ks-card .coach-retry, #screen .ks-card .kn-next { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
#screen .ks-card .coach-retry .bbtn, #screen .ks-card .kn-next .bbtn { min-height: 56px; }
#screen .ks-card .kn-next { margin-top: -6px; }

/* ---------- the join chips in a night's set (plan 7.2; integrate/calm-coach on Main's markup, booth-game's joinChipShow: #joinChips.join-chips
   under the sub-line > span.join-chip.mono[data-n][data-q] "JOIN 1 · clean · 12 ms · 94"): 1.4's chip shape, JOIN n in the verdict's colour ---------- */
#screen .hud .join-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 0; min-height: 0; }
#screen .hud .join-chips:empty { display: none; }
#screen .hud .join-chip { --jc: var(--acid); --jc-rgb: var(--uv); display: inline-flex; align-items: baseline; gap: 0; padding: 4px 10px 5px; border: 1px solid rgba(var(--jc-rgb), .55); border-left: 3px solid var(--jc); border-radius: 1px; background: rgba(4, 3, 6, .85); font: 600 12px/1 var(--mono); letter-spacing: .04em; color: #ecebe4; white-space: nowrap; animation: join-in .36s cubic-bezier(.2, 1.3, .4, 1) both; }
#screen .hud .join-chip::first-letter { color: var(--jc); }
#screen .hud .join-chip[data-q="clean"] { --jc: var(--tone-ok); --jc-rgb: var(--tone-ok-rgb); }
#screen .hud .join-chip[data-q="late"], #screen .hud .join-chip[data-q="early"], #screen .hud .join-chip[data-q="rough"] { --jc: var(--tone-warn); --jc-rgb: var(--tone-warn-rgb); }
#screen .hud .join-chip[data-q="clash"] { --jc: var(--red); --jc-rgb: 255, 74, 46; }
@keyframes join-in { 0% { opacity: 0; transform: translateY(4px); } 100% { opacity: 1; transform: none; } }

/* ---------- the Challenges card (plan 6.3; integrate/calm-coach on Main's markup, booth-challenges.js's html: section.panel.challenges
   (#challenges on Play → Challenges, #challengesCard.compact on Home) > h3.sect + ol.ch-tiles > li.ch-tile[data-key][data-open][data-new] >
   .ch-top (b.ch-name + .ch-n) + p.ch-line + p.ch-best (.ks-k + b.mono) + ol.ch-goes > li.ch-go[data-best] (the last five) + the Play
   button [data-chal], or .ch-mark "after 1.2" on a dashed card, never a lock; data-new: the newest go is a new best) ---------- */
#screen .challenges { display: grid; gap: 14px; }
#screen .challenges > .sect { margin: 0; }
#screen .challenges .ch-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
#screen .challenges .ch-tile { position: relative; box-sizing: border-box; min-height: 84px; padding: 14px 16px; border: 1px solid rgba(var(--uv), .35); border-radius: var(--r); background: rgba(236, 235, 228, .03); color: var(--ink); display: grid; align-content: start; gap: 8px; opacity: 1; transition: border-color .12s, box-shadow .12s; }
#screen .challenges .ch-tile[data-open="true"]:hover, #screen .challenges .ch-tile[data-open="true"]:focus-within { border-color: var(--acid); box-shadow: 0 0 0 1px rgba(var(--uv), .4); }
#screen .challenges .ch-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
#screen .challenges .ch-name { font-family: var(--flyer); font-weight: 400; font-size: 24px; line-height: 1; letter-spacing: .02em; color: #fff; }
#screen .challenges .ch-n { font: 600 12px/1 var(--mono); letter-spacing: .1em; color: #cfa9ff; }
#screen .challenges .ch-line { margin: 0; color: #b4b1a9; font-size: 12.5px; line-height: 1.3; }
#screen .challenges .ch-best { margin: 0; font: 600 12px/1.2 var(--mono); letter-spacing: .06em; text-transform: lowercase; color: #d6b3ff; display: flex; gap: 8px; align-items: baseline; }
#screen .challenges .ch-best .ks-k { font: inherit; color: #b4b1a9; }
#screen .challenges .ch-best b { color: #ecebe4; font-size: 15px; letter-spacing: 0; text-transform: none; }
#screen .challenges .ch-goes { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
#screen .challenges .ch-go { padding: 2px 7px; border: 1px solid rgba(236, 235, 228, .18); border-radius: 1px; font: 600 12px/1.3 var(--mono); color: #cfcdc4; }
#screen .challenges .ch-go[data-best="true"] { border-color: var(--acid); color: #fff; box-shadow: none; }
#screen .challenges .ch-goes-none { margin: 0; font: 500 12px/1.3 var(--mono); color: #b4b1a9; }
#screen .challenges .ch-tile > .bbtn, #screen .challenges .ch-tile > .ch-mark { margin-top: auto; justify-self: start; }
#screen .challenges .ch-tile[data-open="false"] { border-style: dashed; border-color: rgba(236, 235, 228, .22); background: transparent; }
#screen .challenges .ch-tile[data-open="false"] .ch-name { color: #cfcdc4; }
#screen .challenges .ch-mark { font: 600 12px/1.2 var(--mono); letter-spacing: .06em; text-transform: lowercase; color: #b4b1a9; }
#screen .challenges .ch-tile[data-new="true"] { border-color: rgba(var(--uv), .8); box-shadow: 0 0 0 1px rgba(var(--uv), .35); }
#screen .challenges .ch-tile[data-new="true"]::after { content: 'New best!'; position: absolute; top: -9px; right: 10px; padding: 2px 7px 3px; border: 1px solid var(--acid); border-radius: 1px; background: #0a090d; color: var(--acid); font: 800 12px/1 var(--mono); letter-spacing: .04em; text-transform: lowercase; }
/* Home's card (#challengesCard.compact) is one slim row, so Home keeps its height: the heading at the left, five chips (the name,
   the best or "after 2.1", Play), All challenges at the right */
#screen .challenges.compact { display: flex; flex-wrap: nowrap; align-items: center; gap: 14px; }
#screen .challenges.compact > .sect { margin: 0; white-space: nowrap; }
#screen .challenges.compact .ch-tiles { flex: 1 1 auto; min-width: 0; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
#screen .challenges.compact .ch-tile { min-height: 0; padding: 6px 10px; grid-auto-flow: column; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 8px; }
#screen .challenges.compact .ch-top { display: contents; }
#screen .challenges.compact .ch-n, #screen .challenges.compact .ch-goes, #screen .challenges.compact .ch-goes-none, #screen .challenges.compact .ch-line { display: none; }
#screen .challenges.compact .ch-name { font-size: 16px; grid-column: 1; grid-row: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#screen .challenges.compact .ch-best { grid-column: 1; grid-row: 2; font-size: 12px; gap: 6px; }
#screen .challenges.compact .ch-best b { font-size: 12px; }
#screen .challenges.compact .ch-tile > .bbtn, #screen .challenges.compact .ch-tile > .ch-mark { grid-column: 2; grid-row: 1 / span 2; margin: 0; align-self: center; }
#screen .challenges.compact .ch-tile > .bbtn { min-height: 30px; padding: 0 12px; font-size: 12px; }
#screen .challenges.compact .ch-mark { font-size: 12px; line-height: 1.25; max-width: 58px; white-space: normal; text-align: right; }
#screen .challenges.compact .ch-tile[data-new="true"]::after { top: -8px; right: 6px; }
#screen .challenges > p.small { margin: 0; white-space: nowrap; }
@media (max-width: 1180px) { #screen .challenges.compact .ch-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); } #screen .challenges.compact .ch-name { font-size: 15px; } }
@media (max-width: 1180px) { #screen .challenges .ch-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- the nights' row on Home (plan 7.4, acceptance 12; integrate/calm-coach on Main's markup, booth-nights' boardRowHtml: ol.nights.board.compact
   [data-shown="3"] with three nights and li.nights-more > a.night-more.mono[data-later="N"] "+N later", a dashed tile that opens the board) ---------- */
#screen .nights-row .nights.compact { grid-template-columns: repeat(3, minmax(0, 168px)) 124px; }
#screen .nights-row .nights-more { display: grid; }
#screen .nights-row .night-more { display: grid; align-content: center; justify-items: center; gap: 4px; box-sizing: border-box; height: 100%; min-height: 120px; padding: 14px 10px; border: 1px dashed rgba(236, 235, 228, .28); border-radius: var(--r); color: #cfcdc4; text-decoration: none; font-size: 0; line-height: 0; transition: border-color .12s, color .12s; }
#screen .nights-row .night-more:hover, #screen .nights-row .night-more:focus-visible { border-color: var(--acid); color: #fff; outline: none; }
#screen .nights-row .night-more::before { content: '+' attr(data-later); font-family: var(--flyer); font-size: 44px; line-height: 1; color: #fff; }
#screen .nights-row .night-more::after { content: 'later'; font: 600 12px/1 var(--mono); letter-spacing: .04em; text-transform: lowercase; }

@media (prefers-reduced-motion: reduce) {
  body #decks3 [data-stamp][data-stamp][data-stamp]::after { animation: none; opacity: 1; }
  html .decks3 .kn[data-ghost] .knob::after, html .decks3 .kn[data-ghost="miss"] .knob::after { animation: none; --gp: 1; opacity: .95; }
  html body.focus #decks3 .kn.is-needed[data-tone="early"] .knob { animation: none; }
  html .decks3 .kn[data-ghost] .knob > i { animation: none; }
  #screen .hud .join-chip { animation: none; }
}

/* =================================================================================================================
   design/menus: every menu screen one product, the same as the title screen and Home, and every page says what to do
   next. Sharpened, not replaced. The scope is every screen OUTSIDE the deck screens (#screen.decks-screen: Free mix,
   the lessons on #play, Set mode, Your first mix's go) and outside Your first set (#set/first, Main's): written below
   as #screen:not(.decks-screen):not([data-route^="set/first"]). Display-only helpers: booth-menus.js.
   1. one system: three buttons (primary, the hero for the ONE main action, secondary UV outline, ghost text), one
      heading system (Anton titles, mono UV "// LABEL" section heads, Inter caps card titles), one card shell, the
      form controls in the look, purple only for what you can press or what's next, an 8 px rhythm, no text under #9a9a9a
   2. what to do next: each practice card's state chip (NEW, LEARNING, DONE ✓ best, LOCKED and why), one "Next for
      you" per page, Home's More to learn as slim rows, Continue's stage number
   3. motion: the screen's fade and rise without the veil's blink, 80 ms hover glows, the one next action breathing
      on the menu music's beat (booth-lights.js sets --mn-beat), still under reduced motion
   ================================================================================================================= */
#screen:not(.decks-screen):not([data-route^="set/first"]) { --faint: #9d9b94; --mn-line: rgba(236, 235, 228, .13); --mn-gap: 40px; }

/* ---------- 1a. buttons ---------- */
/* secondary (the default .bbtn): a UV outline, Inter 600, 44 px */
#screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid rgba(var(--uv), .62); border-radius: var(--r); background: transparent; color: var(--ink); font: 600 14px/1.15 var(--pr-face); letter-spacing: .005em; text-transform: none; text-decoration: none; box-shadow: none; opacity: 1; cursor: pointer; transition: background-color .08s, border-color .08s, box-shadow .08s, color .08s; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn:hover:not(:disabled):not(.primary):not(.ghost) { background: rgba(var(--uv), .12); border-color: var(--acid); color: #fff; box-shadow: 0 0 0 1px rgba(var(--uv), .35); }
#screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn.sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
/* primary: solid UV, dark ink */
#screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn.primary { background: var(--acid); border-color: var(--acid); color: #0a0810; font-weight: 600; box-shadow: none; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn.primary:hover:not(:disabled) { background: #c48cff; border-color: #c48cff; color: #0a0810; box-shadow: 0 0 0 1px #d6b3ff; }
/* the hero: only the ONE main action on a screen (the questions' Continue, a chapter's or a lesson's Start, Start here's Play) */
#screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn.primary.big { min-height: 64px; padding: 0 44px; font: 400 28px/1 var(--flyer); letter-spacing: .05em; text-transform: uppercase; }
/* ghost: words only, underlined on hover (Back is always this) */
#screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn.ghost, #screen:not(.decks-screen):not([data-route^="set/first"]) a.bbtn.ghost { min-height: 44px; padding: 0 8px; border-color: transparent; background: transparent; color: var(--ink); box-shadow: none; text-underline-offset: 5px; text-decoration-thickness: 1px; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn.ghost.sm { min-height: 36px; padding: 0 6px; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn.ghost:hover:not(:disabled) { background: transparent; border-color: transparent; color: #fff; text-decoration: underline; text-decoration-color: var(--acid); box-shadow: none; }
/* a toggle that's on (Practice crate / My tracks, the Academy's aids, Live challenges): UV lit, never the primary's solid */
#screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn.on:not(.primary) { background: rgba(var(--uv), .2); border-color: var(--acid); color: #fff; box-shadow: inset 0 0 0 1px rgba(var(--uv), .45); }
/* disabled: readable, plainly not pressable */
#screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn:disabled, #screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn[aria-disabled="true"] { opacity: 1; cursor: default; color: #a19fa8; border-color: rgba(236, 235, 228, .2); background: transparent; box-shadow: none; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn.primary:disabled { background: rgba(var(--uv), .2); border-color: rgba(var(--uv), .35); color: #c9bedb; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn.ghost:disabled { border-color: transparent; }
#screen:not(.decks-screen):not([data-route^="set/first"]) label.bbtn.filebtn { cursor: pointer; }
/* the title screen keeps its own: the start key is the hero, Full screen's pair stays small */
#start .start-key { background: var(--acid); color: #0a0810; min-height: 64px; display: inline-flex; align-items: center; padding: 0 44px; font-size: 28px; letter-spacing: .05em; }
#start:hover .start-key { background: #c48cff; }
#start .start-fs .bbtn { min-height: 32px; padding: 0 14px; font: 700 12px/1 var(--mono); letter-spacing: .04em; text-transform: lowercase; }
#start .start-fs .bbtn.ghost { color: var(--muted); }
#start .start-note { color: #9d9b94; }
/* retire the mono "PLAY ▶": Home's Continue Play is the hero, a Next for you card's Play the primary; both sit in the
   card's flow (not pinned to its corner), so the card's height follows its words */
#screen:not(.decks-screen):not([data-route^="set/first"]) .hero-next { padding: 24px; gap: 8px; border-radius: var(--r); transition: box-shadow .08s, border-color .08s; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .hero-next .hero-go { position: static; align-self: flex-start; margin-top: 8px; display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: var(--r); background: var(--acid); color: #0a0810; font: 600 15px/1 var(--pr-face); letter-spacing: .01em; text-transform: none; box-shadow: none; transition: background-color .08s, box-shadow .08s; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .hero-next:hover .hero-go { background: #c48cff; box-shadow: 0 0 0 1px #d6b3ff; }
body.home #screen:not(.decks-screen):not([data-route^="set/first"]) .hero > .hero-next .hero-go { min-height: 64px; padding: 0 40px; font: 400 28px/1 var(--flyer); letter-spacing: .05em; text-transform: uppercase; }
body.home #screen:not(.decks-screen):not([data-route^="set/first"]) .hero > .hero-next { padding: 22px 24px 24px; }
/* the circle meant nothing: Continue's stage number, huge in Anton, in its place (booth-menus.js: data-n) */
#screen:not(.decks-screen):not([data-route^="set/first"]) .hero-next::after { content: none; display: none; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .hero-next[data-n]::after { content: attr(data-n); display: block; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); width: auto; height: auto; border: 0; border-radius: 0; box-shadow: none; font: 400 clamp(96px, 9vw, 150px)/.8 var(--flyer); letter-spacing: .01em; color: transparent; -webkit-text-stroke: 1px rgba(var(--uv), .55); text-shadow: none; pointer-events: none; }
/* Start here's Play: full strength even before the controller step is ticked (the step's words stay quiet, the button never) */
#screen:not(.decks-screen):not([data-route^="set/first"]) .sp.next, #screen:not(.decks-screen):not([data-route^="set/first"]) .sp.later { opacity: 1; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .sp.next .sp-body b, #screen:not(.decks-screen):not([data-route^="set/first"]) .sp.later .sp-body b { color: #c9c6be; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .sp .bbtn.primary.big { min-height: 64px; padding: 0 36px; font-size: 28px; }
body.home #screen:not(.decks-screen):not([data-route^="set/first"]) .sp .bbtn.primary.big { min-height: 56px; font-size: 26px; padding: 0 30px; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .sp .bbtn.sm { min-height: 40px; }

/* ---------- 1b. headings ---------- */
#screen:not(.decks-screen):not([data-route^="set/first"]) > h1, #screen:not(.decks-screen):not([data-route^="set/first"]) > .row > h1, #screen:not(.decks-screen):not([data-route^="set/first"]) .ctl-head h1 { font: 400 44px/.95 var(--flyer); letter-spacing: .01em; text-transform: uppercase; margin: 8px 0 8px; }
/* every section head: mono UV "// LABEL" (the Inter bold caps heads and Scratch School's small grey Anton ones retire) */
#screen:not(.decks-screen):not([data-route^="set/first"]) .sect, #screen:not(.decks-screen):not([data-route^="set/first"]) h2.sc-h, #screen:not(.decks-screen):not([data-route^="set/first"]) .panel > h3, #screen:not(.decks-screen):not([data-route^="set/first"]) section > h3, #screen:not(.decks-screen):not([data-route^="set/first"]) .panel > .row > h3, #screen:not(.decks-screen):not([data-route^="set/first"]) .keymap h3, #screen:not(.decks-screen):not([data-route^="set/first"]) details.panel > summary, #screen:not(.decks-screen):not([data-route^="set/first"]) .lib-empty > h3 {
  font: 600 12px/1.3 var(--mono); letter-spacing: .04em; text-transform: lowercase; color: #bdb9b1; text-shadow: none; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .sect::before, #screen:not(.decks-screen):not([data-route^="set/first"]) h2.sc-h::before, #screen:not(.decks-screen):not([data-route^="set/first"]) .panel > h3::before, #screen:not(.decks-screen):not([data-route^="set/first"]) section > h3::before, #screen:not(.decks-screen):not([data-route^="set/first"]) .panel > .row > h3::before, #screen:not(.decks-screen):not([data-route^="set/first"]) .keymap h3::before, #screen:not(.decks-screen):not([data-route^="set/first"]) .lib-empty > h3::before { content: '// '; color: rgba(var(--uv), .9); }
#screen:not(.decks-screen):not([data-route^="set/first"]) .sect, #screen:not(.decks-screen):not([data-route^="set/first"]) h2.sc-h { margin: var(--mn-gap) 0 16px; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .panel > h3, #screen:not(.decks-screen):not([data-route^="set/first"]) section > h3, #screen:not(.decks-screen):not([data-route^="set/first"]) .panel > .row > h3, #screen:not(.decks-screen):not([data-route^="set/first"]) .lib-empty > h3 { margin: 0 0 16px; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .panel > .row > h3 { margin: 0; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .keymap h3 { margin: 0 0 8px; }
#screen:not(.decks-screen):not([data-route^="set/first"]) details.panel > summary { cursor: pointer; color: var(--ink); }
#screen:not(.decks-screen):not([data-route^="set/first"]) details.panel > summary::marker { color: var(--acid); }
/* card titles stay Inter caps; the page's one line under its title */
#screen:not(.decks-screen):not([data-route^="set/first"]) .mode:not(.exp) b, #screen:not(.decks-screen):not([data-route^="set/first"]) .setcard > b { font: 700 17px/1.2 var(--pr-face); letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
#screen:not(.decks-screen):not([data-route^="set/first"]) > p.sub, #screen:not(.decks-screen):not([data-route^="set/first"]) > .ctl-head p.sub { margin: 0 0 32px; font-size: 16px; line-height: 1.45; color: #b9b6ae; }
/* the old intro, word for word, behind "How it works" under the one line */
#screen:not(.decks-screen):not([data-route^="set/first"]) > details.how { margin: -24px 0 32px; max-width: 76ch; }
#screen:not(.decks-screen):not([data-route^="set/first"]) > details.how > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font: 600 12px/1 var(--mono); letter-spacing: .04em; text-transform: lowercase; color: #bdb9b1; list-style: none; }
#screen:not(.decks-screen):not([data-route^="set/first"]) > details.how > summary::-webkit-details-marker { display: none; }
#screen:not(.decks-screen):not([data-route^="set/first"]) > details.how > summary::before { content: '+'; color: var(--acid); font-size: 15px; }
#screen:not(.decks-screen):not([data-route^="set/first"]) > details.how[open] > summary::before { content: '−'; }
#screen:not(.decks-screen):not([data-route^="set/first"]) > details.how > summary:hover { color: #fff; }
#screen:not(.decks-screen):not([data-route^="set/first"]) > details.how > p { margin: 8px 0 0; padding-left: 16px; border-left: 1px solid rgba(var(--uv), .45); font-size: 15px; line-height: 1.55; color: #c9c6be; }
#screen:not(.decks-screen):not([data-route^="set/first"]) > p.sel-score { margin: -16px 0 24px; color: #bdb9b1; }

/* ---------- 1c. one card shell: 1 px border, --r, 24 px inside, one hover glow ---------- */
#screen:not(.decks-screen):not([data-route^="set/first"]) .panel, #screen:not(.decks-screen):not([data-route^="set/first"]) .mode:not(.exp), #screen:not(.decks-screen):not([data-route^="set/first"]) .setcard { border: 1px solid var(--mn-line); border-radius: var(--r); background: var(--panel); padding: 24px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025); }
#screen:not(.decks-screen):not([data-route^="set/first"]) .mode, #screen:not(.decks-screen):not([data-route^="set/first"]) .setcard, #screen:not(.decks-screen):not([data-route^="set/first"]) .hero-next, #screen:not(.decks-screen):not([data-route^="set/first"]) .stage, #screen:not(.decks-screen):not([data-route^="set/first"]) .chip, #screen:not(.decks-screen):not([data-route^="set/first"]) .mode.exp { transition: border-color .08s, box-shadow .08s, background-color .08s; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .mode:not(.exp) { min-height: 140px; gap: 8px; text-decoration: none; color: var(--ink); }
#screen:not(.decks-screen):not([data-route^="set/first"]) a.mode, #screen:not(.decks-screen):not([data-route^="set/first"]) a.mode:visited { color: var(--ink); text-decoration: none; }
#screen:not(.decks-screen):not([data-route^="set/first"]) a.mode .small, #screen:not(.decks-screen):not([data-route^="set/first"]) .mode .small.muted, #screen:not(.decks-screen):not([data-route^="set/first"]) .mode > span.small { color: #a8a59d; text-decoration: none; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .mode:not(.exp):hover:not(.locked):not(:disabled), #screen:not(.decks-screen):not([data-route^="set/first"]) .setcard:hover { border-color: rgba(var(--uv), .6); box-shadow: 0 0 0 1px rgba(var(--uv), .25); }
#screen:not(.decks-screen):not([data-route^="set/first"]) .mode::after { display: none; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .modes { gap: 16px; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .panel + .panel, #screen:not(.decks-screen):not([data-route^="set/first"]) .panel + section, #screen:not(.decks-screen):not([data-route^="set/first"]) section + .panel, #screen:not(.decks-screen):not([data-route^="set/first"]) .panel + details.panel { margin-top: 24px; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .statgrid { gap: 16px; margin-bottom: 24px; align-items: stretch; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .statgrid > .panel + .panel { margin-top: 0; }   /* the fix for Stats' tiles: booth.css's .panel + .panel pushed tiles 2-4 down 14 px */
#screen:not(.decks-screen):not([data-route^="set/first"]) .stat { align-content: start; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .setcards { gap: 16px; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .setcard { padding: 20px; gap: 8px; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .setcard ol { color: #b5b2aa; }
/* a locked card: plainly locked (dashed edge, its reason), never a half-faded broken card */
#screen:not(.decks-screen):not([data-route^="set/first"]) .mode.locked, #screen:not(.decks-screen):not([data-route^="set/first"]) .mode[aria-disabled="true"] { opacity: 1; border-style: dashed; border-color: rgba(236, 235, 228, .2); background: rgba(10, 9, 13, .6); cursor: default; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .mode.locked b { color: #b3b0a8; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .mode.locked .small, #screen:not(.decks-screen):not([data-route^="set/first"]) .mode.locked .small.muted { color: #a19ea6; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .mode:disabled { opacity: 1; }
/* Home's Play and practise: Set mode before the first solo mix (04) */
body.home #screen:not(.decks-screen):not([data-route^="set/first"]) .modes.compact .mode.locked { background: rgba(10, 9, 13, .5); }
body.home #screen:not(.decks-screen):not([data-route^="set/first"]) .modes.compact .mode.locked > b::after { content: '  · locked'; font: 600 12px/1 var(--mono); letter-spacing: .14em; color: #a19ea6; }
body.home #screen:not(.decks-screen):not([data-route^="set/first"]) .modes.compact .mode.locked .small { color: #b9b6c0; }
body.home #screen:not(.decks-screen):not([data-route^="set/first"]) .modes.compact .mode.locked .small::before { content: '🔒 '; filter: grayscale(1) brightness(1.4); font-size: 12px; }

/* ---------- 1d. the form controls: 2 px corners, UV when on, never the system's blue ---------- */
#screen:not(.decks-screen):not([data-route^="set/first"]) select, #screen:not(.decks-screen):not([data-route^="set/first"]) input[type="text"], #screen:not(.decks-screen):not([data-route^="set/first"]) input[type="search"], #screen:not(.decks-screen):not([data-route^="set/first"]) input[type="number"], #screen:not(.decks-screen):not([data-route^="set/first"]) input[type="email"], #keyCard select {
  -webkit-appearance: none; appearance: none; min-height: 40px; padding: 0 12px; border: 1px solid rgba(236, 235, 228, .24); border-radius: var(--r); background-color: #0c0b10; color: var(--ink); font: 500 14px/1.2 var(--pr-face); color-scheme: dark; transition: border-color .08s, box-shadow .08s; }
#screen:not(.decks-screen):not([data-route^="set/first"]) select { padding-right: 34px; cursor: pointer; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' fill='none' stroke='%23b066ff' stroke-width='1.6'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; background-size: 12px 8px; }
#screen:not(.decks-screen):not([data-route^="set/first"]) select option { background: #0c0b10; color: var(--ink); }
#screen:not(.decks-screen):not([data-route^="set/first"]) select:hover, #screen:not(.decks-screen):not([data-route^="set/first"]) input[type="text"]:hover, #screen:not(.decks-screen):not([data-route^="set/first"]) input[type="search"]:hover, #screen:not(.decks-screen):not([data-route^="set/first"]) input[type="number"]:hover { border-color: rgba(var(--uv), .6); }
#screen:not(.decks-screen):not([data-route^="set/first"]) select:focus-visible, #screen:not(.decks-screen):not([data-route^="set/first"]) input[type="text"]:focus, #screen:not(.decks-screen):not([data-route^="set/first"]) input[type="search"]:focus, #screen:not(.decks-screen):not([data-route^="set/first"]) input[type="number"]:focus { outline: none; border-color: var(--acid); box-shadow: 0 0 0 3px rgba(var(--uv), .2); }
#screen:not(.decks-screen):not([data-route^="set/first"]) input::placeholder { color: #8f8c95; }
#screen:not(.decks-screen):not([data-route^="set/first"]) input[type="checkbox"], #screen:not(.decks-screen):not([data-route^="set/first"]) input[type="radio"] { -webkit-appearance: none; appearance: none; flex: none; display: inline-grid; place-content: center; width: 18px; height: 18px; margin: 0 2px 0 0; border: 1px solid rgba(236, 235, 228, .42); border-radius: var(--r); background: #0c0b10; cursor: pointer; vertical-align: -3px; transition: border-color .08s, box-shadow .08s, background-color .08s; }
#screen:not(.decks-screen):not([data-route^="set/first"]) input[type="radio"] { border-radius: 50%; }
#screen:not(.decks-screen):not([data-route^="set/first"]) input[type="checkbox"]::after { content: ''; width: 9px; height: 5px; margin-top: -3px; border: solid #0a0810; border-width: 0 0 2px 2px; transform: rotate(-45deg) scale(0); transition: transform .08s; }
#screen:not(.decks-screen):not([data-route^="set/first"]) input[type="radio"]::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .08s; }
#screen:not(.decks-screen):not([data-route^="set/first"]) input[type="checkbox"]:checked { background: var(--acid); border-color: var(--acid); box-shadow: none; }
#screen:not(.decks-screen):not([data-route^="set/first"]) input[type="checkbox"]:checked::after { transform: rotate(-45deg) scale(1); }
#screen:not(.decks-screen):not([data-route^="set/first"]) input[type="radio"]:checked { border-color: var(--acid); background: rgba(var(--uv), .35); box-shadow: none; }
#screen:not(.decks-screen):not([data-route^="set/first"]) input[type="radio"]:checked::after { transform: scale(1); }
#screen:not(.decks-screen):not([data-route^="set/first"]) input[type="checkbox"]:hover, #screen:not(.decks-screen):not([data-route^="set/first"]) input[type="radio"]:hover { border-color: var(--acid); }
#screen:not(.decks-screen):not([data-route^="set/first"]) input[type="checkbox"]:disabled, #screen:not(.decks-screen):not([data-route^="set/first"]) input[type="radio"]:disabled { opacity: .5; cursor: default; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .radio { gap: 12px; padding: 8px 0; font-size: 15px; }
#screen:not(.decks-screen):not([data-route^="set/first"]) label { cursor: pointer; }
#screen:not(.decks-screen):not([data-route^="set/first"]) details > summary { cursor: pointer; }
#screen:not(.decks-screen):not([data-route^="set/first"]) details > summary::marker { color: var(--acid); }

/* ---------- 1e. colour: purple is what you can press, or what's next; nothing else ---------- */
/* the glossary's words: off-white and bold (a dotted UV line under a term in running text still says "tap me") */
#screen:not(.decks-screen):not([data-route^="set/first"]) .glossary dt { color: #fff; font-weight: 700; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .glossary { gap: 12px 24px; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .term.new { border-bottom-style: solid; border-bottom-color: var(--acid); }
#screen:not(.decks-screen):not([data-route^="set/first"]) .term.new::after { color: var(--acid); }
/* a notice (the Daily's "None of your tracks pair up", Hip hop's NEED TRACKS, the Controller pages' "Plug in your
   controller"): off-white words on a dark notice with a 3 px UV rule on the left. Red is only for a real error. */
#screen:not(.decks-screen):not([data-route^="set/first"]) .alert, #screen:not(.decks-screen):not([data-route^="set/first"]) .note, #screen:not(.decks-screen):not([data-route^="set/first"]) p.warn:not(:empty), #screen:not(.decks-screen):not([data-route^="set/first"]) .mn-notice {
  display: block; margin: 0 0 24px; padding: 14px 18px 14px 18px; border: 1px solid var(--mn-line); border-left: 3px solid var(--acid); border-radius: var(--r); background: rgba(236, 235, 228, .035); color: var(--ink); font-weight: 500; font-size: 14px; line-height: 1.5; min-height: 0; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .panel p.warn:not(:empty) { margin: 8px 0 16px; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .alert a, #screen:not(.decks-screen):not([data-route^="set/first"]) .note a, #screen:not(.decks-screen):not([data-route^="set/first"]) .mn-notice a { color: var(--acid); }
#screen:not(.decks-screen):not([data-route^="set/first"]) .tag.warn { background: transparent; color: #fff; border: 1px solid rgba(var(--uv), .55); }
#screen:not(.decks-screen):not([data-route^="set/first"]) .warn:empty { display: none; }
/* small tags: NEW-style labels in UV, the Library's DEV ONLY and BUNDLED quiet grey, Drum mix plain */
#screen:not(.decks-screen):not([data-route^="set/first"]) .tag { border-radius: var(--r); padding: 3px 8px; font: 600 12px/1.2 var(--mono); letter-spacing: .1em; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .tag.dev, #screen:not(.decks-screen):not([data-route^="set/first"]) .tag.bundled, #screen:not(.decks-screen):not([data-route^="set/first"]) .tag.drum, #screen:not(.decks-screen):not([data-route^="set/first"]) .tag.warnt { background: rgba(236, 235, 228, .07); color: #b3b0a8; border: 0; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .tag.ok { background: rgba(var(--uv), .14); color: #e3d0ff; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .tag.bad, #screen:not(.decks-screen):not([data-route^="set/first"]) .tag.err { background: rgba(255, 74, 46, .14); color: #ff8a73; }
/* the Library's key and confidence: data, not a call to press (ink, and the sure dots in greys: full, half, ring) */
#screen:not(.decks-screen):not([data-route^="set/first"]) .trk .tk { color: var(--ink); }
#screen:not(.decks-screen):not([data-route^="set/first"]) .sure.c-sure { color: #e9e6df; } #screen:not(.decks-screen):not([data-route^="set/first"]) .sure.c-fairly-sure { color: #9d9b94; } #screen:not(.decks-screen):not([data-route^="set/first"]) .sure.c-unsure { color: transparent; -webkit-text-stroke: 1px #c9c6be; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .trk .te { color: #c9c6be; }
#screen:not(.decks-screen):not([data-route^="set/first"]) a:not(.bbtn):not(.mode) { color: var(--acid); text-underline-offset: 3px; }
#screen:not(.decks-screen):not([data-route^="set/first"]) a:not(.bbtn):not(.mode):hover { color: #d6b3ff; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .sc-ladder a:not(.bbtn):not(.mode), #screen:not(.decks-screen):not([data-route^="set/first"]) .sc-ladder a:not(.bbtn):not(.mode):visited { color: var(--ink); text-decoration: none; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .sc-ladder a:not(.bbtn):not(.mode):hover b { color: #fff; text-decoration: underline; text-decoration-color: var(--acid); }

/* ---------- 1f. readability: nothing under about #9a9a9a on the black ---------- */
#screen:not(.decks-screen):not([data-route^="set/first"]) .muted, #screen:not(.decks-screen):not([data-route^="set/first"]) .small.muted, #screen:not(.decks-screen):not([data-route^="set/first"]) .tiny.muted, #screen:not(.decks-screen):not([data-route^="set/first"]) .tiny, #screen:not(.decks-screen):not([data-route^="set/first"]) .coach-k { color: #a6a39b; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .stage.later b, #screen:not(.decks-screen):not([data-route^="set/first"]) .stage.later .small, #screen:not(.decks-screen):not([data-route^="set/first"]) .stage .small.muted { color: #a8a59d; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .arc-more .stage .small { color: #a8a59d; }
#screen:not(.decks-screen):not([data-route^="set/first"]) button:disabled { opacity: 1; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .radio.dis { opacity: 1; color: #a19ea6; }

/* ---------- 1g. spacing: an 8 px rhythm (24 inside cards, 40 between sections); short pages and intro cards capped ---------- */
#screen[data-route="recordings"], #screen[data-route="calibrate"], #screen[data-route="addmusic"], #screen[data-route="learn"], #screen[data-route="backup"], #screen[data-route="scratch/sounds"] { max-width: 928px; }
/* the lesson and chapter intro cards (06-10): one width, centred, the same Start and Back */
#screen:not(.decks-screen):not([data-route^="set/first"]) .chapter-open, #screen:not(.decks-screen):not([data-route^="set/first"]) .ft-intro, #screen:not(.decks-screen):not([data-route^="set/first"]) .ft-intro.kn-intro { max-width: 880px; margin: clamp(16px, 5vh, 56px) auto 0; padding: 40px; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .chapter-open h1.ft-big { font-size: clamp(64px, 6.4vw, 104px); }
#screen:not(.decks-screen):not([data-route^="set/first"]) .ft-intro h1, #screen:not(.decks-screen):not([data-route^="set/first"]) .ft-intro.kn-intro h1 { font-size: clamp(48px, 4.6vw, 68px); }
@media (min-width: 1000px) {
  #screen:not(.decks-screen):not([data-route^="set/first"]) .ft-intro.kn-intro[data-stage="knobs"] { grid-template-columns: minmax(0, 1fr) minmax(0, .72fr); column-gap: 28px; }
  #screen:not(.decks-screen):not([data-route^="set/first"]) .ft-intro.kn-intro[data-stage="phrase"] { max-width: 880px; }
}
#screen:not(.decks-screen):not([data-route^="set/first"]) .chapter-open .row, #screen:not(.decks-screen):not([data-route^="set/first"]) .ft-intro > .row, #screen:not(.decks-screen):not([data-route^="set/first"]) .ft-intro .row.wrap { gap: 16px; align-items: center; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .chapter-open .row .bbtn.big, #screen:not(.decks-screen):not([data-route^="set/first"]) .ft-intro.kn-intro > .row .bbtn.big, #screen:not(.decks-screen):not([data-route^="set/first"]) .ft-intro > .row .bbtn.big { min-height: 64px; padding: 0 48px; font: 400 28px/1 var(--flyer); letter-spacing: .05em; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .chapter-open .row .bbtn.ghost, #screen:not(.decks-screen):not([data-route^="set/first"]) .ft-intro .row .bbtn.ghost { color: var(--ink); }
#screen:not(.decks-screen):not([data-route^="set/first"]) .ft-intro > .row > .bbtn:not(.big):not(.ghost) { min-height: 44px; }

/* ---------- 1h. the keys card over any screen (the ? key, booth-learn.js #keyCard): a 60% black scrim behind it ---------- */
#keyCard.keycard { box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .6), 0 10px 30px rgba(0, 0, 0, .5); border-color: rgba(var(--uv), .4); border-radius: var(--r); }
#keyCard h3 { font: 600 12px/1.3 var(--mono); letter-spacing: .04em; text-transform: lowercase; color: #bdb9b1; }
#keyCard h3::before { content: '// '; color: rgba(var(--uv), .9); }
#keyCard .bbtn { min-height: 36px; border-color: transparent; background: transparent; }
#keyCard .bbtn:hover { text-decoration: underline; text-decoration-color: var(--acid); }

/* ---------- 2a. Home: More to learn as slim 56 px rows (05 had them at 95 px with one line in a corner), Play and
   practise compact ---------- */
#screen:not(.decks-screen):not([data-route^="set/first"]) .arc-more li { min-width: 0; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .arc-more .stage { width: 100%; min-width: 0; overflow: hidden; min-height: 48px; height: 48px; padding: 0 16px; flex-direction: row; align-items: center; gap: 10px; border: 1px solid var(--mn-line); }
#screen:not(.decks-screen):not([data-route^="set/first"]) .arc-more .stage b { font: 700 13px/1.1 var(--pr-face); letter-spacing: .04em; text-transform: uppercase; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .arc-more .stage:hover { border-color: rgba(var(--uv), .6); box-shadow: 0 0 0 1px rgba(var(--uv), .25); }
#screen:not(.decks-screen):not([data-route^="set/first"]) .modes.compact { gap: 12px; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .modes.compact .mode { min-height: 0; padding: 16px 20px; gap: 4px; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .modes.compact .mode b { font-size: 15px; }
/* the Library's line under its first card */
#screen:not(.decks-screen):not([data-route^="set/first"]) > .panel + p.sub, #screen:not(.decks-screen):not([data-route^="set/first"]) > section + p.sub { margin-top: 24px; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .arc-more .stage b { color: var(--ink); }
/* Home keeps its fit (one screen at 1280×720 on day one): its section heads sit closer than a page's */
body.home #screen:not(.decks-screen):not([data-route^="set/first"]) .sect { margin: 20px 0 10px; }

/* ---------- 2b. the state chip on every practice card (booth-menus.js: .tag.mn-chip[data-state]) in place of the grey
   START bar: NEW (UV outline: it's for you), LEARNING (UV), DONE ✓ with the best (quiet ink), LOCKED with its reason ---------- */
#screen:not(.decks-screen):not([data-route^="set/first"]) .mode > .tag.mn-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: var(--r); font: 600 12px/1.1 var(--mono); letter-spacing: .04em; text-transform: lowercase; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .mn-chip[data-state="new"] { background: transparent; color: #e3d0ff; border: 1px solid rgba(var(--uv), .6); }
#screen:not(.decks-screen):not([data-route^="set/first"]) .mn-chip[data-state="learning"] { background: rgba(var(--uv), .2); color: #fff; border: 1px solid rgba(var(--uv), .45); }
#screen:not(.decks-screen):not([data-route^="set/first"]) .mn-chip[data-state="done"] { background: rgba(236, 235, 228, .1); color: #e9e6df; border: 1px solid transparent; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .mn-chip[data-state="locked"] { background: transparent; color: #a8a5ad; border: 1px dashed rgba(236, 235, 228, .3); letter-spacing: .08em; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .mode[data-state="done"] > b { color: #d6d3cb; }
/* the one card that's next on this page: the UV edge Home's NOW stage wears, and a NEXT tag in its corner */
#screen:not(.decks-screen):not([data-route^="set/first"]) .mode.mn-next { border-color: var(--acid); background: rgba(var(--uv), .07); box-shadow: inset 0 0 0 1px var(--acid); }
#screen:not(.decks-screen):not([data-route^="set/first"]) .mode.mn-next:hover { box-shadow: inset 0 0 0 1px var(--acid); }
#screen:not(.decks-screen):not([data-route^="set/first"]) .mn-next-tag { position: absolute; top: 24px; right: 24px; padding: 3px 7px; border-radius: var(--r); background: var(--acid); color: #0a0810; font: 700 12px/1.1 var(--mono); letter-spacing: .04em; text-transform: lowercase; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .mode .mstar { align-self: flex-start; margin-top: auto; background: transparent; color: #c9c6be; padding: 0; letter-spacing: .2em; }

/* ---------- 2c. the Academy: a module with every move locked is one row that opens on a click ---------- */
#screen:not(.decks-screen):not([data-route^="set/first"]) details.mn-fold { margin: var(--mn-gap) 0 0; }
#screen:not(.decks-screen):not([data-route^="set/first"]) details.mn-fold > summary.sect { margin: 0; padding: 16px 24px; border: 1px dashed rgba(236, 235, 228, .2); border-radius: var(--r); list-style: none; display: flex; align-items: center; gap: 4px; color: #b7b4ac; }
#screen:not(.decks-screen):not([data-route^="set/first"]) details.mn-fold > summary.sect::-webkit-details-marker { display: none; }
#screen:not(.decks-screen):not([data-route^="set/first"]) details.mn-fold > summary.sect::after { content: '+'; margin-left: auto; font: 600 16px/1 var(--mono); color: var(--acid); }
#screen:not(.decks-screen):not([data-route^="set/first"]) details.mn-fold[open] > summary.sect::after { content: '−'; }
#screen:not(.decks-screen):not([data-route^="set/first"]) details.mn-fold > summary.sect:hover { border-color: rgba(var(--uv), .6); color: var(--ink); }
#screen:not(.decks-screen):not([data-route^="set/first"]) details.mn-fold[open] > .modes { margin-top: 16px; }

/* ---------- 2d. Set mode: a set shows its first 3 tracks and "+N more" ---------- */
#screen:not(.decks-screen):not([data-route^="set/first"]) .setcard > ol[data-more="closed"] > li:nth-child(n + 4) { display: none; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .setcard > .mn-more { align-self: flex-start; margin: -4px 0 4px; min-height: 32px; color: var(--acid); }

/* ---------- 2e. Scratch School: the ladder's 70 / 80 / 90 as a three-step bar per technique, passed steps lit ---------- */
#screen:not(.decks-screen):not([data-route^="set/first"]) .sc-ladder { gap: 4px; padding-left: 2em; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .sc-ladder > li { padding: 8px 12px; border: 1px solid transparent; border-radius: var(--r); }
#screen:not(.decks-screen):not([data-route^="set/first"]) .sc-ladder > li > span.mono { display: inline-flex; gap: 2px; margin-left: 12px; vertical-align: 2px; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .sc-ladder .sc-pass { margin: 0; width: 44px; height: 18px; padding: 0; display: inline-grid; place-items: center; border: 0; border-radius: 1px; background: rgba(236, 235, 228, .1); color: #a8a5ad; font: 600 12px/1 var(--mono); letter-spacing: .06em; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .sc-ladder .sc-pass:first-child { border-radius: var(--r) 1px 1px var(--r); }
#screen:not(.decks-screen):not([data-route^="set/first"]) .sc-ladder .sc-pass:last-child { border-radius: 1px var(--r) var(--r) 1px; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .sc-ladder .sc-pass.on { background: var(--acid); color: #0a0810; box-shadow: none; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .sc-ladder > li.locked .sc-pass { background: rgba(236, 235, 228, .05); color: #8f8c95; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .sc-ladder > li.locked > span.small.muted { margin-left: 8px; font: 600 12px/1 var(--mono); letter-spacing: .04em; text-transform: lowercase; color: #a19ea6; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .sc-ladder > li.mn-next { border-color: var(--acid); background: rgba(var(--uv), .07); box-shadow: inset 0 0 0 1px rgba(var(--uv), .6); }
#screen:not(.decks-screen):not([data-route^="set/first"]) .sc-ladder > li.mn-next::after { content: 'Next'; margin-left: 12px; padding: 3px 7px; border-radius: var(--r); background: var(--acid); color: #0a0810; font: 700 12px/1.1 var(--mono); letter-spacing: .04em; text-transform: lowercase; }

/* ---------- 2f. Scratch School's calibration (28): the step, its Why? and Start together; the bench's debug folded ---------- */
#screen:not(.decks-screen):not([data-route^="set/first"]) .hud.sc-cal { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 24px; min-height: 0; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .sc-cal #hudLead { order: -1; min-height: 0; margin: 0; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .sc-cal #hudStep:empty, #screen:not(.decks-screen):not([data-route^="set/first"]) .sc-cal .hud-sub:empty, #screen:not(.decks-screen):not([data-route^="set/first"]) .sc-cal .coach-why[hidden] { display: none; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .sc-cal #hudBanner { margin: 0; padding: 0; min-height: 0; text-align: left; justify-items: start; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .sc-cal #hudBanner .banner-text { text-align: left; font-size: clamp(24px, 2.2vw, 30px); }
#screen:not(.decks-screen):not([data-route^="set/first"]) .sc-cal #hudBanner .banner-row { justify-content: flex-start; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .sc-cal #hudCoach { margin: 0; justify-content: flex-start; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .sc-cal #calBody { margin-top: 4px; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .sc-cal #calBody .row { gap: 16px; }
#screen:not(.decks-screen):not([data-route^="set/first"]) details.sc-debug-box > summary { font: 600 12px/1.3 var(--mono); letter-spacing: .04em; text-transform: lowercase; color: #bdb9b1; }
#screen:not(.decks-screen):not([data-route^="set/first"]) details.sc-debug-box[open] > summary { margin-bottom: 16px; }

/* ---------- 4. motion ---------- */
/* a screen change: the fade and 6 px rise over a quarter of a second, and no black veil blinking with it */
#veil.veil.dip, #veil.veil.dip-out, #veil.veil.up { opacity: 0; transition: none; }
#screen[data-route].screen-in > * { animation-duration: .25s; }
/* the toast stays 4 s and holds while the mouse is over it (booth.js), so it takes the pointer while it's up */
.btoast.on { pointer-events: auto; }
/* fix/before-shoot (QA Q7-m5, Q7-p1): on a deck screen the toast sits in a free slot booth.js finds (the header's gap first) and
   never takes the pointer: every control under or near it stays clickable; it only fades (no slide from its old place) */
body.decks-on .btoast { transition: opacity .25s; }
body.decks-on .btoast.on { pointer-events: none; }
/* hover: the same 80 ms glow on buttons, cards, path stages and nav links */
.bnav a, .stage, .more-links a, .chip, .mode.exp { transition: color .08s, text-shadow .08s, box-shadow .08s, border-color .08s, background-color .08s; }
/* one moving thing: only the next action breathes, on the menu music's beat (booth-lights.js --mn-beat, 0..1);
   Home's UV pool and Start here's step outline stand still */
body.home .hero-brand::before { animation: none; opacity: .75; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .sp.now::before { animation: none; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .mn-breathe { --mn-beat: 0; }
@media (prefers-reduced-motion: no-preference) {
  #screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn.primary.mn-breathe, #screen:not(.decks-screen):not([data-route^="set/first"]) .hero-go.mn-breathe { box-shadow: 0 0 0 1px rgba(214, 179, 255, calc(.25 * var(--mn-beat))); }
  #screen:not(.decks-screen):not([data-route^="set/first"]) .mode.mn-breathe { box-shadow: inset 0 0 0 1px var(--acid); }
  #screen:not(.decks-screen):not([data-route^="set/first"]) .sc-ladder > li.mn-breathe { box-shadow: inset 0 0 0 1px rgba(var(--uv), calc(.6 + .4 * var(--mn-beat))); }
}
/* the loading veil's three bars bounce on the loading track's beat when it's known (booth-play.js --veil-beat, one beat) */
#veil.veil.wait::before { animation: veil-beat var(--veil-beat, .45s) ease-out infinite; }
@keyframes veil-beat { 0% { transform: scaleY(1); } 100% { transform: scaleY(.35); } }
@media (prefers-reduced-motion: reduce) {
  #screen:not(.decks-screen):not([data-route^="set/first"]) .mn-breathe { --mn-beat: 0 !important; }
  #veil.veil.wait::before { animation: none; transform: scaleY(.7); }
  #screen[data-route].screen-in > * { animation: none; }
  .bnav a, .stage, .more-links a, .chip, .mode.exp, #screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn, #screen:not(.decks-screen):not([data-route^="set/first"]) .mode, #screen:not(.decks-screen):not([data-route^="set/first"]) .setcard, #screen:not(.decks-screen):not([data-route^="set/first"]) .hero-next { transition: none; }
}
#screen:not(.decks-screen):not([data-route^="set/first"]) .sc-cal #hudBanner::before, #screen:not(.decks-screen):not([data-route^="set/first"]) .sc-cal #hudBanner::after { display: none; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .sc-cal #hudBanner .banner-text { padding: 0; margin: 0; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .sc-cal .coach-whyb { padding-left: 0; }
#screen:not(.decks-screen):not([data-route^="set/first"]) > .panel + .modes, #screen:not(.decks-screen):not([data-route^="set/first"]) > .modes + details, #screen:not(.decks-screen):not([data-route^="set/first"]) > .modes + .panel, #screen:not(.decks-screen):not([data-route^="set/first"]) > .row + .panel { margin-top: 16px; }
/* QA round 1: a link card's label (GUIDE, CULTURE, MODE, TOOLS, READ) is a quiet word, never a grey bar across the card */
#screen:not(.decks-screen):not([data-route^="set/first"]) .mode > .tag { align-self: flex-start; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .mode > .tag:not(.mn-chip):not(.mstar):not(.nexttag) { padding: 0; background: transparent; border: 0; color: #a8a5ad; font: 600 12px/1.2 var(--mono); letter-spacing: .14em; }

/* the layout guard: Home keeps its fit (no more scroll than before at 1280×720 to 1920×1080). A short laptop window
   (920 px high or less) gets Home's tighter cut: the rows 40 px, the hero's Play 48 px, the heads closer */
#screen:not(.decks-screen):not([data-route^="set/first"]) .arc-more .stage .small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-height: 920px) {
  body.home #screen:not(.decks-screen):not([data-route^="set/first"]) .sect { margin: 10px 0 6px; }
  body.home #screen:not(.decks-screen):not([data-route^="set/first"]) .arc-more .stage { min-height: 36px; height: 36px; }
  body.home #screen:not(.decks-screen):not([data-route^="set/first"]) .modes.compact .mode { padding: 8px 16px; }
  body.home #screen:not(.decks-screen):not([data-route^="set/first"]) .hero > .hero-next { padding: 16px 20px 18px; gap: 6px; }
  body.home #screen:not(.decks-screen):not([data-route^="set/first"]) .hero > .hero-next .hero-go { min-height: 48px; padding: 0 28px; font-size: 22px; margin-top: 4px; }
  body.home #screen:not(.decks-screen):not([data-route^="set/first"]) .hero > .hero-next[data-n]::after { font-size: 104px; }
}
#screen:not(.decks-screen):not([data-route^="set/first"]) > section.panel ~ section.panel { margin-top: 24px; }

/* ======================================================================================================================
   integrate/oct29 (Main, small; design-check --first-session): the chapters' intro cards in design/menus' 880 px shell fit
   a laptop window again (1.1's card scrolled 19 px at 1280×800 and 42 px at 1280×720): a tighter top and padding when short */
@media (max-height: 820px) {
  #screen:not(.decks-screen):not([data-route^="set/first"]) .ft-intro, #screen:not(.decks-screen):not([data-route^="set/first"]) .ft-intro.kn-intro { margin-top: 12px; padding: 24px 32px; }
  #screen:not(.decks-screen):not([data-route^="set/first"]) .ft-intro.kn-intro h1 { font-size: clamp(44px, 4vw, 56px); }
}

/* ===============================================================================================================
   design/mixing-perf: the mixing screen's frame cost, the look unchanged. What moves every frame is on a compositor layer
   of its own, so its transform is the compositor's work and the panel it sits in (the mixer with its ten round knobs, a
   deck) is not painted again every frame: the channel meters and the master meter (a scale each frame) and the jog
   display's record (a turn each frame). scripts/design-mixperf-probe.js measures it.
   ====================================================================================================================== */
.mcol .meter i, .mixer > .meter.wide i, .jogd i { will-change: transform; }
/* round 2: Free mix's decks and mixer are one scrolling layer (1833×999 at 1920), and a lesson's sit in the page's; anything
   inside that changes made the whole of it be recorded again that frame. On layers of their own: the master's dB
   readout (new text every frame) and the guided fader's brightness pulse (a filter animation: the compositor's with a
   layer, a repaint each frame without). (The knob faces and the volume faders on layers of their own were measured too:
   the layers that overlap them multiplied, 33 to 54-77, and Free mix with a hand on the EQ came out 1-2 ms a frame
   slower at 4x CPU, so they stay in the panel's paint) */
.decks3 #mdb { will-change: transform; }
.vf.wv-glow.wv-guided.wv-open { will-change: transform, filter; }
/* Free mix's browser: the track list (61 rows, 2979 px in a 320 px scroller) and the playlists beside it were painted again
   every frame something else in the decks' scrolling area changed (paint 3.5 of a 27 ms frame at 4x CPU, both decks
   playing). Contained, they're painted only when they change themselves. They clip their overflow already (scrollers),
   so nothing they show is cut */
.browser .tracks, .browser .bside { contain: layout paint style; }
/* =================================================================================================================
   design/polish-sleeves: the menu screens finished, and a record shop under UV light. Still: nothing here moves.
   1. purple means next: on Home and the practice pages (Transitions, the Academy, Hip hop, Scratch School) only the
      one next action is a filled primary (the page's Next for you, else the lit button on the card booth-menus marks
      next); every other card's button is the outline. Style only.
   2. breadcrumbs two levels deep at most: a room's own tab page hides its crumb (booth-rooms.js sets #roomBar[data-top])
   3. Home uses the screen: the wordmark smaller on a returning Home, Now playing (the menu music's sleeve) in the hero,
      day one's Start here and Now playing side by side, the page set in the window's height
   4. Scratch School's 70/80/90 steps: 12 px, #9a9a9a or brighter, passed steps lit
   5. the graduation card: the moves' names off-white with the band colour as a mark; the energy curve's track numbers
   6. the sleeves (web/booth-sleeves.js): .slv, a canvas in a box; on a deck a purple or cyan edge; DEV in a corner
   ================================================================================================================= */

/* ---------- 1. purple means next ---------- */
#screen:is([data-route^="transitions"], [data-route^="academy"], [data-route^="hiphop"], [data-route="scratch"], [data-route="menu"], [data-route="path"]) .mode:not(.mn-next) .bbtn.primary:not(.big),
#screen:is([data-route^="transitions"], [data-route^="academy"], [data-route^="hiphop"], [data-route="scratch"], [data-route="menu"], [data-route="path"]) > .next-for-you ~ * .mn-next .bbtn.primary:not(.big),
#screen[data-route="menu"] .unlocked .bbtn.primary {
  background: transparent; border-color: rgba(var(--uv), .62); color: var(--ink); box-shadow: none;
}
#screen:is([data-route^="transitions"], [data-route^="academy"], [data-route^="hiphop"], [data-route="scratch"], [data-route="menu"], [data-route="path"]) .mode:not(.mn-next) .bbtn.primary:not(.big):hover:not(:disabled),
#screen:is([data-route^="transitions"], [data-route^="academy"], [data-route^="hiphop"], [data-route="scratch"], [data-route="menu"], [data-route="path"]) > .next-for-you ~ * .mn-next .bbtn.primary:not(.big):hover:not(:disabled),
#screen[data-route="menu"] .unlocked .bbtn.primary:hover {
  background: rgba(var(--uv), .12); border-color: var(--acid); color: #fff; box-shadow: 0 0 0 1px rgba(var(--uv), .35);
}

/* ---------- 2. breadcrumbs: two levels deep at most ---------- */
#roomBar[data-top] #crumb { display: none; }

/* ---------- 3. Home uses the screen ---------- */
@media (min-width: 1000px) {
  body.home #screen[data-route="menu"] > * { flex: none; }
  /* returning: the wordmark smaller, Continue beside it, Now playing at the right */
  body.home:not(.day-one) #screen[data-route="menu"] .hero:not(.grad-hero) { grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); align-items: stretch; gap: 24px; margin: 0 0 clamp(8px, 2.4vh, 28px); }
  body.home:not(.day-one) #screen[data-route="menu"] .hero.np-on:not(.grad-hero) { grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr) minmax(250px, .62fr); }
  body.home:not(.day-one) #screen[data-route="menu"] .hero:not(.grad-hero) .hero-word { font-size: clamp(64px, 6.4vw, 112px); }
  body.home:not(.day-one) #screen[data-route="menu"] .hero:not(.grad-hero) .hero-brand .sub { margin: 8px 0 12px; font-size: 16px; }
  body.home:not(.day-one) #screen[data-route="menu"] .hero:not(.grad-hero) .hero-stats b { font-size: 34px; }
  body.home:not(.day-one) #screen[data-route="menu"] .hero:not(.grad-hero) .hero-next b { font-size: clamp(30px, 2.4vw, 42px); }
  body.home:not(.day-one) #screen[data-route="menu"] .hero:not(.grad-hero) .hero-next::after { display: none; }
  /* day one: Start here and Now playing side by side */
  body.home.day-one #screen[data-route="menu"] .hero.d1-hero.np-on { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 24px; max-width: none; align-items: stretch; }
}
/* the page set in the window's height and its rhythm following it (so a 1080 px window isn't half empty); a laptop's
   under 790 px keeps design/menus' tight cut, so Home with Explore open still fits */
@media (min-width: 1000px) and (min-height: 790px) {
  body.home #screen[data-route="menu"] { min-height: calc(100vh - 64px); display: flex; flex-direction: column; justify-content: safe center; box-sizing: border-box; padding-bottom: 24px; }
  body.home #screen[data-route="menu"] .menu-rest > .path-arc .arc-main .stage { min-height: clamp(96px, 12.5vh, 150px); }
  body.home #screen[data-route="menu"] .menu-rest .sect { margin-top: clamp(14px, 2.6vh, 34px); }
}
#screen[data-route="menu"] .now-playing { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line2); border-radius: var(--r); background: var(--panel-solid); min-width: 0; }
#screen[data-route="menu"] .now-playing[hidden] { display: none; }
#screen[data-route="menu"] .now-playing .np-words { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
#screen[data-route="menu"] .now-playing .np-words b { font: 600 15px/1.25 Inter, 'Helvetica Neue', sans-serif; color: var(--ink); overflow-wrap: anywhere; }
#screen[data-route="menu"] .now-playing .np-words .small { color: #b5b2aa; overflow-wrap: anywhere; }
#screen[data-route="menu"] .now-playing .np-cat { font-size: 12px; letter-spacing: .1em; color: #c9a8ff; }
#screen[data-route="menu"] .now-playing .eyebrow { color: #c9a8ff; }

/* ---------- 4. Scratch School's ladder steps ---------- */
#screen:not(.decks-screen) .sc-ladder .sc-pass { width: 48px; height: 22px; font: 600 12px/1 var(--mono); color: #b9b6bd; background: rgba(236, 235, 228, .12); }
#screen:not(.decks-screen) .sc-ladder > li.locked .sc-pass { color: #9a9a9a; background: rgba(236, 235, 228, .07); }
#screen:not(.decks-screen) .sc-ladder .sc-pass.on { background: var(--acid); color: #0a0810; }
#screen:not(.decks-screen) .sc-ladder > li.locked > span.small.muted { color: #a8a5ad; }

/* ---------- 5. the graduation card and the set cards ---------- */
.set-tr .st-move { color: var(--ink); display: flex; align-items: center; gap: 10px; }
.set-tr .st-move::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 1px; background: var(--mv); }
.set-tr { border-left-color: var(--line2); }
.set-energy.flat > i { height: 46% !important; }
.set-energy.flat > i > span { color: var(--ink); }
.set-energy > i > em { position: absolute; left: 0; right: 0; top: 6px; text-align: center; font: 600 12px/1 var(--mono); font-style: normal; color: #0a0810; }

/* ---------- 6. the sleeves ---------- */
.slv { position: relative; display: inline-block; flex: none; width: var(--slv); height: var(--slv); vertical-align: middle; line-height: 0; }
.slv-c { display: block; width: var(--slv); height: var(--slv); }
.slv[data-size="40"] .slv-c, .slv[data-size="96"] .slv-c { border-radius: 1px; }
.slv[data-size="40"] { background: #0a090d; }
.slv[data-deck="A"]::before, .slv[data-deck="B"]::before { content: ''; position: absolute; inset: -2px; border: 2px solid var(--deckA); border-radius: var(--r); pointer-events: none; }
.slv[data-deck="B"]::before { border-color: var(--deckB); }
.slv[data-dev]::after { content: 'DEV'; position: absolute; left: 2px; bottom: 2px; padding: 1px 3px 0; background: rgba(10, 9, 13, .86); color: #a3a198; font: 700 12px/1 var(--mono); letter-spacing: .08em; pointer-events: none; }
.slv[data-size="40"][data-dev]::after { left: auto; right: 0; bottom: 0; padding: 1px 2px 0; font-size: 12px; letter-spacing: .04em; }
/* where the sleeves sit */
.lib-rows .lib-row > .slv { margin-right: 4px; }
.lib-detail { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; column-gap: 32px; }
.lib-detail > * { grid-column: 1; }
.lib-detail > .ld-sleeve { grid-column: 2; grid-row: 1 / span 12; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.lib-detail .ld-cat { color: #c9a8ff; letter-spacing: .12em; }
.credit-sleeve { display: flex; gap: 18px; align-items: flex-start; }
.credit-sleeve > .credit { min-width: 0; }
.dev-credits ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px 20px; }
.dev-credits li.credit-sleeve { align-items: center; gap: 14px; }
.sb-track > .sb-sleeve { align-self: center; margin: 0 0 6px; }
.rel-shelf .mixrow { display: flex; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rel-shelf .mixrow:last-child { border-bottom: 0; }
.rel-shelf .mixrow .grow { min-width: 0; }
.rel-cat { display: block; margin-bottom: 4px; font-size: 12px; letter-spacing: .12em; color: #c9a8ff; }
.set-rec.has-sleeve { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; align-items: center; }
.set-rec.has-sleeve > .rel-sleeve { grid-row: 1 / span 4; }
.set-rec.has-sleeve > :not(.rel-sleeve) { grid-column: 2; }
/* the menu check's findings (design-check --menus): every word shown whole, by layout */
#screen:is([data-route^="transitions"], [data-route^="academy"], [data-route^="hiphop"], [data-route="scratch"], [data-route="path"]) > .next-for-you ~ * .bbtn.primary:not(.big) { background: transparent; border-color: rgba(var(--uv), .62); color: var(--ink); box-shadow: none; }
body.home #screen:not(.decks-screen):not([data-route^="set/first"]) .arc-more .stage { height: auto; min-height: 48px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding: 6px 14px; overflow: visible; }
body.home #screen:not(.decks-screen):not([data-route^="set/first"]) .arc-more .stage .small { white-space: normal; overflow: visible; text-overflow: clip; flex: none; }
.sb-track .sb-title, .sb-track .sb-artist { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; display: block; -webkit-line-clamp: none; }
.set-tr { background: rgba(236, 235, 228, .03); }
@media (min-width: 1000px) {
  body.home.day-one #screen[data-route="menu"] .hero.d1-hero.np-on { grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); }
  body.home.day-one #screen[data-route="menu"] .d1-hero .now-playing { flex-direction: column; align-items: flex-start; justify-content: center; }
}
/* Your first set's cards: the 240 sleeve over the card in a tall window (over 1000 px), the track's number stamped on its
   corner; in a shorter one the 96 beside the title, the number on its corner, so the page fits as it did */
.sb-track > .sb-sleeve-s { display: none; }
.set-build .sb-track > .sb-n { position: absolute; z-index: 1; padding: 2px 8px 0; background: rgba(10, 9, 13, .9); line-height: 1; }
@media (min-height: 1001px) { .set-build .sb-track > .sb-n { top: 24px; left: 26px; font-size: 30px; } .set-build .sb-track > .sb-sleeve { margin-bottom: 4px; } }
@media (max-height: 1100px) {
  .sb-track > .sb-sleeve { display: none; }
  .set-build .sb-track { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-content: start; }
  .set-build .sb-track > .sb-sleeve-s { display: inline-block; grid-column: 1; grid-row: 1 / span 3; align-self: start; }
  .set-build .sb-track > :not(.slv):not(.sb-genre) { grid-column: 2; }
  .set-build .sb-track > .sb-meta:not(.slv):not(.sb-genre), .set-build .sb-track > .sb-acts:not(.slv):not(.sb-genre) { grid-column: 1 / -1; }
  .set-build .sb-track > .sb-n:not(.slv):not(.sb-genre) { grid-column: auto; grid-row: auto; top: 84px; left: 14px; font-size: 22px; }   /* (out of the grid's areas: placed on the card) */
  .set-build .sb-track > .sb-artist:not(.slv):not(.sb-genre) { grid-column: 1 / -1; }
  .set-build .sb-track .sb-title { font-size: 20px; margin-top: 18px; min-height: 76px; }
}
/* a short window (760 px or less, the laptop at 1280×720): the 40 px print beside the number, in the row the number already has */
.sb-track > .sb-sleeve-xs { display: none; }
@media (max-height: 760px) {
  .set-build .sb-track > .sb-sleeve-s { display: none; }
  .set-build .sb-track { display: flex; }
  .set-build .sb-track > .sb-sleeve-xs { display: inline-block; position: absolute; top: 12px; left: 72px; }
  .set-build .sb-track > .sb-n:not(.slv):not(.sb-genre) { position: static; padding: 0; background: none; font-size: 32px; }
  .set-build .sb-track .sb-title { margin-top: 0; min-height: 0; }
}
@media (max-height: 900px) { #screen[data-route^="set/first"] { padding-bottom: 24px; } }   /* the cards' words are whole now (they wrap); the page's foot room gives way so it still fits */

/* ---------- design/end-cards: the graduation card (Your first set's card, #resultSlot.slot-set; booth-game's firstSetCard
   draws the markup). The card sits on a full-window veil (the slot's own shadow, 100vmax: nothing of the page shows at
   its sides), ends where its content ends (no empty third: it grew to the window's bottom before), scrolls inside itself
   only when a short window needs it, and the room bar steps aside while it is up (body.set-card-up, booth-pops' arcMarks):
   the breadcrumb never runs into the card's own label. Equal energies are one quiet line, "Energy held at 7", with a
   flat UV rule under it, never three identical bars (CSS only: the first bar's own number; the markup is firstSetCard's). */
#resultSlot.slot-set:not(:empty) { top: calc(50% + 28px); bottom: auto; transform: translate(-50%, -50%); animation: resInSet .18s ease-out; max-height: calc(100vh - 68px); overflow: visible; box-shadow: 0 0 0 100vmax #050407, 0 18px 50px rgba(0, 0, 0, .6); }
@keyframes resInSet { from { opacity: 0; transform: translate(-50%, calc(-50% + 12px)); } to { opacity: 1; transform: translate(-50%, -50%); } }
@media (prefers-reduced-motion: reduce) { #resultSlot.slot-set:not(:empty) { animation: none; } }
#resultSlot.slot-set .set-card { flex: 0 1 auto; max-height: calc(100vh - 68px); overflow-y: auto; overscroll-behavior: contain; }
#resultSlot.slot-set .set-card .sc-cols { flex: 0 0 auto; align-items: start; }
/* the two columns balanced (the graduated card only): the rows, the coach's notes and the energy line on the left; the
   +300 and the recording on the right (display: contents on the columns; the order and the words are firstSetCard's) */
#resultSlot.slot-set .set-card[data-graduated] .sc-cols { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-auto-flow: row dense; row-gap: 12px; }
#resultSlot.slot-set .set-card[data-graduated] .sc-main, #resultSlot.slot-set .set-card[data-graduated] .sc-side { display: contents; }
#resultSlot.slot-set .set-card[data-graduated] .sc-main > *, #resultSlot.slot-set .set-card[data-graduated] .set-energy { grid-column: 1; }
#resultSlot.slot-set .set-card[data-graduated] .sc-side > :not(.set-energy) { grid-column: 2; }
#resultSlot.slot-set .set-card[data-graduated] .set-trs { grid-row: 1; margin: 0; }
#resultSlot.slot-set .set-card[data-graduated] .ms-reveal { grid-row: 1; }
#resultSlot.slot-set .set-card[data-graduated] .coach-card { grid-row: 2; margin: 0; }
#resultSlot.slot-set .set-card[data-graduated] .set-rec { grid-row: 2 / span 2; align-self: start; }
#resultSlot.slot-set .set-card[data-graduated] .set-energy { grid-row: 3; }
#resultSlot.slot-set .set-card[data-graduated] .sc-side > .set-energy:not(.flat) { height: 96px; min-height: 0; max-height: none; flex: none; }
/* the recording: the sleeve, then Listen back, the player, Download and "Saved" on one row, the clip under them */
#resultSlot.slot-set .set-card .set-rec.has-sleeve { grid-template-columns: 96px auto minmax(0, 1fr); row-gap: 8px; align-content: start; }
#resultSlot.slot-set .set-card .set-rec.has-sleeve > .rel-sleeve { grid-row: 1 / span 3; align-self: start; }
#resultSlot.slot-set .set-card .set-rec.has-sleeve > .eyebrow, #resultSlot.slot-set .set-card .set-rec.has-sleeve > audio { grid-column: 2 / span 2; }
#resultSlot.slot-set .set-card .set-rec.has-sleeve > a.bbtn { grid-column: 2; justify-self: start; }
#resultSlot.slot-set .set-card .set-rec.has-sleeve > .small { grid-column: 3; }
#resultSlot.slot-set .set-card .set-rec.has-sleeve > .clip-box { grid-column: 1 / -1; margin: 4px 0 0; }
body.set-card-up #roomBar, body.set-card-up .buildbar { visibility: hidden; }   /* (the build badge sat over the card's corner at 720) */
#resultSlot .sc-side .set-energy.flat { display: block; height: auto; min-height: 0; max-height: none; flex: 0 0 auto; padding: 4px 2px 12px; border-bottom: 0; }
#resultSlot .set-energy.flat > i { display: none !important; }
#resultSlot .set-energy.flat > i:first-child { display: block !important; position: static; height: auto !important; min-height: 0; background: none; box-shadow: none; font: 600 12px/1.4 var(--mono); letter-spacing: .04em; text-transform: lowercase; color: #b9b6bd; }
#resultSlot .set-energy.flat > i:first-child::before { content: 'Energy held at '; }
#resultSlot .set-energy.flat > i:first-child > em { position: static; display: inline; font: 800 16px/1 var(--mono); letter-spacing: 0; color: var(--ink); }
#resultSlot .set-energy.flat > i:first-child > span { display: none; }
#resultSlot .set-energy.flat::after { content: ''; display: block; height: 2px; margin-top: 10px; background: linear-gradient(90deg, rgba(var(--uv), .2), rgba(var(--uv), .85) 50%, rgba(var(--uv), .2)); box-shadow: none; }
@media (max-height: 820px) {
  #resultSlot.slot-set .set-card[data-graduated] { padding: 16px 22px 14px; }
  #resultSlot.slot-set .set-card[data-graduated] .grad-title { font-size: clamp(42px, 4.4vw, 60px); }
  #resultSlot.slot-set .set-card[data-graduated] .grad-lead { margin-top: 4px; font-size: 16px; }
  #resultSlot.slot-set .set-card[data-graduated] .set-tr { padding: 7px 12px; }
  #resultSlot.slot-set .set-card[data-graduated] .sc-side > .set-energy:not(.flat) { height: 72px; }
  #resultSlot.slot-set .set-card[data-graduated] .grad-acts { padding-top: 8px; }
  #resultSlot.slot-set .set-card[data-graduated] .sc-acts .bbtn.grad-next { padding: 8px 20px; }
}
@media (max-height: 760px) {
  #resultSlot.slot-set .set-card[data-graduated] { padding: 12px 20px 10px; }
  #resultSlot.slot-set .set-card[data-graduated] .grad-title { font-size: 46px; }
  #resultSlot.slot-set .set-card[data-graduated] .sc-cols { margin-top: 6px; row-gap: 8px; }
  #resultSlot.slot-set .set-card[data-graduated] .set-tr { padding: 5px 12px; }
  #resultSlot.slot-set .set-card[data-graduated] .set-trs { gap: 4px; }
  #resultSlot.slot-set .set-card[data-graduated] .coach-card p { margin: 4px 0; }
  #resultSlot.slot-set .set-card[data-graduated] .coach-xp { margin-top: 2px; }
  #resultSlot.slot-set .set-card[data-graduated] .set-energy.flat { padding-bottom: 6px; }
  #resultSlot.slot-set .set-card[data-graduated] .grad-acts { margin-top: 6px; padding-top: 6px; }
  #resultSlot.slot-set .set-card[data-graduated] .sc-side > .set-energy:not(.flat) { height: 52px; padding-bottom: 18px; }
}

/* ---------- design/qa-round-4 (reports/design-qa-round-4-REPORT.md) ----------
   Part 1, QA round 4 Minor 14: the deck screens' scored cards (booth-game's Learn, Drill, Ghost line and stage cards,
   the Academy's and hip hop's: #resultSlot.slot-card, marked by booth-pops' arcMarks while the slot holds a .result with a
   .coach-card) get the stage card's treatment: solid ground (nothing of the lanes through it) over a veil, and two
   columns so the grade, the one thing done well, the fix and the retry are on screen without a scroll at 1280×720 and up.
   The headline, the goal box and the pass line span the card; then the left column is the grade, the parts and the
   points, the right one the coach's lines, the replay, the retry and More detail; the screen's own row of buttons spans
   the foot. Only the card scrolls, inside itself, when More detail is open or a window is shorter still. */
#resultSlot.slot-card:not(:empty) { top: auto; bottom: 12px; width: min(1060px, calc(100% - 48px)); max-height: calc(100vh - 70px); overflow-y: auto; box-shadow: 0 0 0 100vmax rgba(4, 3, 6, .7), 0 18px 50px rgba(0, 0, 0, .6); border-radius: var(--r); }
#resultSlot.slot-card > .result.panel { display: block; columns: 2; column-gap: 28px; column-fill: balance; padding: 18px 22px 14px; background: var(--panel-solid); border-color: rgba(var(--uv), .5); box-shadow: inset 0 2px 0 rgba(var(--uv), .75); }
#resultSlot.slot-card > .result.panel > *, #resultSlot.slot-card > .result.panel > .coach-card > * { margin: 0 0 12px; break-inside: avoid; }
#resultSlot.slot-card > .result.panel > .coach-card { display: contents; }
/* across the top: the news (a mission's headline), the goal box, a stage's pass line, a mission's ending; across the foot: the row */
#resultSlot.slot-card > .result.panel > .goal-news, #resultSlot.slot-card > .result.panel > .goal-box, #resultSlot.slot-card > .result.panel > .pass-line, #resultSlot.slot-card > .result.panel > .mdone,
#resultSlot.slot-card > .result.panel > .row, #resultSlot.slot-card > .result.panel > .set-sum, #resultSlot.slot-card > .result.panel > #dailyVs { column-span: all; }
#resultSlot.slot-card > .result.panel > .goal-news { font-size: 24px; line-height: 1.12; }
#resultSlot.slot-card > .result.panel > .goal-box { padding: 10px 14px; }
#resultSlot.slot-card > .result.panel > .row { margin: 4px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
#resultSlot.slot-card > .result.panel > .row:empty { display: none; }
/* the right column starts at the coach's first line */
#resultSlot.slot-card > .result.panel > .coach-card > .coach-good { break-before: column; }
#resultSlot.slot-card .res-head .grade { width: 64px; height: 64px; font-size: 36px; }
#resultSlot.slot-card .res-head h2 { font-size: 26px; line-height: 1.05; }
#resultSlot.slot-card .res-scores { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
#resultSlot.slot-card .res-scores > div { padding: 8px 10px; gap: 4px; }
#resultSlot.slot-card .res-scores > div:last-child:nth-child(odd) { grid-column: 1 / -1; }   /* the echo out's three parts: the third across */
#resultSlot.slot-card .res-scores b { font-size: 17px; }
#resultSlot.slot-card .coach-xp { display: flex; flex-wrap: wrap; row-gap: 6px; }
#resultSlot.slot-card .coach-xp .xp-bar { flex: 1 0 100%; }
#resultSlot.slot-card .coach-good, #resultSlot.slot-card .coach-fix { font-size: 15px; line-height: 1.45; }
#resultSlot.slot-card .coach-retry .bbtn { min-width: 0; }
#resultSlot.slot-card .replay .replaycv { height: 130px; }
#resultSlot.slot-card .coach-more ul { max-height: 40vh; overflow: auto; }
@media (max-height: 760px) {
  #resultSlot.slot-card > .result.panel { padding: 12px 18px 10px; }
  #resultSlot.slot-card > .result.panel > *, #resultSlot.slot-card > .result.panel > .coach-card > * { margin-bottom: 9px; }
  #resultSlot.slot-card > .result.panel > .goal-news { font-size: 21px; }
  #resultSlot.slot-card .res-head .grade { width: 54px; height: 54px; font-size: 30px; }
  #resultSlot.slot-card .replay .replaycv { height: 100px; }
}

/* Part 2, QA round 4 Minor 17: the explanation screen (a gate). booth-pops' gateOk puts the note in the banner's row with an
   OK of its own beside it (Main's 24 px chip in the title row is hidden while it does), the ⓘ last, never on the words. The
   row keeps its 22 px (the button sits 5 px into the gaps round it), so the lanes never move. */
#hudBanner.has-ok .banner-row { gap: 12px; }
#hudBanner.has-ok .banner-row > .banner-note { order: 1; margin-left: 0; }
#hudBanner.has-ok .banner-row > .banner-ok { order: 2; }
#hudBanner.has-ok .banner-row > .banner-info, #hudBanner.has-ok .banner-row > .banner-hear { order: 3; }
#hudBanner.has-ok .banner-row > .banner-warn:empty { display: none; }
#hudBanner .banner-ok { flex: none; min-width: 84px; height: 32px; margin: -5px 0; padding: 0 20px; font-size: 15px; font-weight: 800; letter-spacing: .04em; justify-content: center; box-shadow: 0 0 0 1px rgba(var(--uv), .9); }
#hudBanner.has-ok ~ #hudCoach [data-coach="next"] { display: none; }
/* the playhead's line ran up through the banner's words (round 3 Minor 12): the banner has none now; the lanes' own white
   line is still the playhead */
#hudBanner::before { display: none; }

/* Part 2 (BACKLOG, qa-chapter-1 Minor 7): the channel meter beside each volume fader. Its green-amber-red gradient was
   scaled with the bar, so a normal level read orange-red at its top. Now the master meter's language: green while it's
   fine, its top eighth marked as the red zone on the rail, the bar red only while booth-waves' chanHot marks it hot (the
   deck's peak at the top). Colour only: the bar still moves by booth-play's transform. */
.decks3 .mcol > .meter { background: linear-gradient(0deg, rgba(236, 235, 228, .08) 0 87.5%, rgba(255, 74, 46, .3) 87.5% 100%); }
.decks3 .mcol > .meter i { background: var(--meter-ok); box-shadow: 0 0 6px rgba(var(--meter-ok-rgb), .35); }
.decks3 .mcol > .meter[data-hot] i { background: var(--red); box-shadow: 0 0 10px rgba(255, 74, 46, .85); }

/* Part 2, QA round 4 Polish 2 (round 3 Polish 10): words cut on every lesson screen at 1280×800. Deck B's "Not used in this
   lesson" (the deck's title while it's empty) wraps to a second, quieter line in the title row's own height, and the
   crossfader's note ("held in the middle: mix with the volume faders (Sound settings)") takes two lines beside its slider
   in a laptop window instead of an ellipsis (the mixer grows 8 px; the lanes, which take what's left, give it). */
@media (min-width: 1000px) {
  .screen.decks-hud .deckp .ttl.empty { white-space: normal; overflow: visible; text-overflow: clip; font-size: 14px; line-height: 16px; font-weight: 600; color: var(--muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
}
@media (min-width: 1000px) and (max-height: 820px) {
  html .decks3 .slider.xf { grid-template-columns: auto minmax(104px, 1fr) minmax(0, 1.9fr); }
  html .decks3 .slider.xf > .tag:not([hidden]) { white-space: normal; overflow: hidden; text-overflow: clip; line-height: 13px; max-height: 26px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
}

/* Part 2, QA round 4 Minor 16 (round 3 Minor 11): Free mix's top row. The legend (left) and the score bar (right) share one
   row; at 4 digits with a combo the bar ran over "16 BEATS". Each now has its own share of the row (they can never meet:
   the legend at most what the bar leaves, the bar at most 640 px, its score line the part that gives, with an ellipsis),
   and under 1440 px wide Record this mix is its dot, as in a lesson's HUD (the words stay its label). The "You're nailing
   these: try Hints" suggestion sat over New mix, Assist and Record: it is one 26 px line over the light strip now, above
   the bar, never on it. */
@media (min-width: 1000px) {
  .screen.decks-screen:not(.decks-hud) > .freebar { max-width: 640px; }
  .screen.decks-screen:not(.decks-hud) > .freebar > .fscore { flex: 0 1 auto; min-width: 0; }
  .screen.decks-screen:not(.decks-hud) > .wv-legend { max-width: calc(100% - 656px); }
  .screen.decks-screen:not(.decks-hud) > #hintStep:not(:empty) { top: 49px; left: 24px; right: auto; }   /* fix/qa-nov11 (QA Q5-m6, a small change in Design's file): the left of the light strip, clear of the toasts and the score on the right */
  .screen.decks-screen:not(.decks-hud) > #hintStep > .hint-step { display: flex; align-items: center; gap: 8px; height: 26px; box-sizing: border-box; padding: 0 4px 0 12px; white-space: nowrap; line-height: 18px; }
  .screen.decks-screen:not(.decks-hud) > #hintStep > .hint-step .bbtn { margin-left: 4px; padding: 1px 9px; line-height: 18px; }
}
@media (min-width: 1600px) {   /* a wide window: the bar's score line has room for its best (from 1600 px: at 1440 the legend needs its 640 px share) */
  .screen.decks-screen:not(.decks-hud) > .freebar { max-width: 820px; }
  .screen.decks-screen:not(.decks-hud) > .wv-legend { max-width: calc(100% - 836px); }
}
@media (min-width: 1000px) and (max-width: 1799px) {   /* (design/green-main-nov27: to 1,799 px, was 1,439: at 1440 the bar's words ran into the lanes' key, "Goal" over "8 beats" and "Zoom in") */
  html .screen.decks-screen:not(.decks-hud) > .freebar #recBtn { min-width: 34px; width: 34px; height: 28px; padding: 0; overflow: hidden; white-space: nowrap; text-indent: 60px; color: transparent; position: relative; }   /* the words stay 13 px (design-check --mixer: no text under 12 px), pushed out of the box */
  html .screen.decks-screen:not(.decks-hud) > .freebar #recBtn::before { content: '●'; position: absolute; inset: 0; display: grid; place-items: center; text-indent: 0; font-size: 13px; line-height: 1; color: var(--ink); }
  html .screen.decks-screen:not(.decks-hud) > .freebar #recBtn.rec::before { content: '■'; color: #fff; }
}

/* Part 2, QA round 4 Polish 12 (round 3 Polish 11): the header was 90% opaque, so a page scrolled under it (the swap
   loop's chips in the HUD behind the chapter card and 1.4's card) showed through as ghost text. It is solid now; the
   lights' top wash still glows under its edge. */
html .bh, html body.lights-lite .bh { background: rgba(5, 5, 5, .94); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Part 3, QA round 4 Polish 1: on day one the nav shows only Library and Settings, so a breadcrumb naming the rooms it hides
   ("LEARN / PATH / 1.1 THE THREE KNOBS") pointed at nothing. In the Learn and Play rooms the crumb shows only where you are
   ("1.1 THE THREE KNOBS"); Library's and Settings' crumbs, whose rooms are in the nav, are whole. */
/* (Main, fix/beginner-play 23 Nov: retired with body.day-one-nav: all four rooms are in the nav from day one, so every crumb is whole) */

/* Part 3, QA round 4 Polish 6: Your first set's build screen wrote "BASS SWAP ON THE DROP" in the LOW band's red between the
   cards (red reads as wrong); as on the graduation card (design/polish-sleeves) the move's name is ink with a small square
   in its colour, and the link's line and arrow keep the colour */
.set-build .set-link .sl-move { color: var(--ink); text-shadow: none; }
.set-build .set-link .sl-move::before { content: ''; display: inline-block; width: 10px; height: 10px; margin: 0 8px 0 0; border-radius: 1px; background: var(--mv, var(--acid)); vertical-align: 1px; }

/* Part 3: the Camelot wheel (booth-menus: an ⓘ beside each key chip between two tracks in the set builder's lane opens
   #mnWheel, a small drawing of the wheel). The outgoing key lit in UV, the keys that mix with it lit softly, the incoming
   key ringed in Deck B's cyan; B outside, A inside, 12 at the top. */
.mn-wheel-i { appearance: none; -webkit-appearance: none; display: inline-grid; place-items: center; width: 22px; height: 22px; margin: 0 0 0 -2px; padding: 0; border: 1px solid rgba(236, 235, 228, .22); border-radius: var(--r); background: transparent; color: var(--muted); font: 700 13px/1 var(--mono); cursor: pointer; vertical-align: middle; }
.mn-wheel-i:hover, .mn-wheel-i[aria-expanded="true"] { color: var(--ink); border-color: rgba(var(--uv), .8); box-shadow: none; background: rgba(var(--uv), .08); }
.mn-wheel-i:focus-visible { outline: 1px solid var(--acid); outline-offset: 2px; }
.mn-wheel { position: fixed; z-index: 70; width: 252px; box-sizing: border-box; padding: 10px 14px 12px; border: 1px solid rgba(var(--uv), .65); border-radius: var(--r); background: var(--panel-solid); box-shadow: 0 14px 40px rgba(0, 0, 0, .65); animation: mw-in .14s ease-out both; }
@keyframes mw-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mn-wheel { animation: none; } }
.mn-wheel .mw-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 6px; }
.mn-wheel .mw-k { font: 700 12px/1 var(--mono); letter-spacing: .04em; text-transform: lowercase; color: #c9a8ff; }
.mn-wheel .mw-x { appearance: none; border: 0; background: transparent; color: var(--muted); font: 700 18px/1 var(--mono); cursor: pointer; padding: 0 2px; }
.mn-wheel .mw-x:hover { color: var(--ink); }
.mn-wheel .mw-svg { display: block; margin: 0 auto; }
.mw-seg path { fill: rgba(236, 235, 228, .04); stroke: rgba(236, 235, 228, .16); stroke-width: 1; }
.mw-seg text { font: 700 12px/1 var(--mono); fill: #a8a5ad; letter-spacing: .02em; }
.mw-seg.mw-near path { fill: rgba(var(--uv), .3); stroke: rgba(var(--uv), .7); }
.mw-seg.mw-near text { fill: #efe2ff; }
.mw-seg.mw-from path { fill: var(--acid); stroke: #e3ccff; }
.mw-seg.mw-from text { fill: #0a0810; }
.mw-seg.mw-to path { stroke: var(--deckB); stroke-width: 2.5; }
.mw-seg.mw-to.mw-off path { fill: rgba(var(--uvB), .14); }
.mw-seg.mw-to text { fill: #dff3ff; }
.mw-seg.mw-to.mw-from text { fill: #0a0810; }
.mn-wheel .mw-key { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 8px 0 0; font-size: 12px; line-height: 1.3; color: #c9c6cd; }
.mn-wheel .mw-key > span { display: inline-flex; align-items: center; gap: 6px; }
.mw-sw { display: inline-block; width: 12px; height: 12px; border-radius: 1px; }
.mw-sw.mw-from { background: var(--acid); }
.mw-sw.mw-near { background: rgba(var(--uv), .3); box-shadow: inset 0 0 0 1px rgba(var(--uv), .7); }
.mw-sw.mw-to { box-shadow: inset 0 0 0 2px var(--deckB); }

/* Part 3, QA round 4 Minor 15: the set builder at 1280×800. The set check and its buttons (about 180 px, sticky to the
   window's bottom) sat over the lane, so one of four track cards showed. The footer is tighter (its lines and the Swap
   button closer, the play row lower), and in a window 1100 px high or less it moves above the lane, under the curve, in
   the page's flow (the set's column is a flex column, the lane and what follows it ordered after the check): the check and
   Play are on screen at the top of the page (design-check --layout's set builder rows) and nothing ever covers a card;
   with the lane scrolled up all four cards of a 4-track set are in view. In a taller window it stays sticky under the
   lane as before. */
#screen:not(.decks-screen) .sb-foot .sb-check { margin: 6px 0 2px; padding: 5px 12px; }
#screen:not(.decks-screen) .sb-foot .sb-check p { margin: 2px 0; line-height: 1.4; }
#screen:not(.decks-screen) .sb-foot .sb-check .bbtn.sm { min-height: 0; padding: 2px 10px; margin-left: 6px; vertical-align: 1px; }
#screen:not(.decks-screen) .sb-foot .sb-play { margin: 6px 0 8px; }
@media (max-height: 1100px) {
  #screen:not(.decks-screen) .sb-set { display: flex; flex-direction: column; }
  #screen:not(.decks-screen) .sb-set > .sb-lane, #screen:not(.decks-screen) .sb-set > .sb-lane ~ :not(.sb-foot):not(.sb-swap) { order: 1; }
  #screen:not(.decks-screen) .sb-foot { position: static; margin: 0 -24px 12px; padding-top: 2px; border-top: 0; border-bottom: 1px solid var(--line); }
}

/* Part 3, QA round 4 Polish 7: the ghost line's chart in the HUD was 232×72 (four lines of 18 px: the labels sat on the
   playhead and on "bar N"). It is 272×100 now (25 px a line), the banner's words kept clear of it as before. booth-game
   sizes the canvas from this box. */
@media (min-width: 1000px) {
  .screen.decks-screen.decks-banner > .hud .hud-main > .grow > .lanes-wrap:not([hidden]) ~ #hudBanner, .screen.decks-screen.decks-banner.hud-lanes > .hud #hudBanner { padding-left: 284px; padding-right: 284px; }
  .screen.decks-screen.decks-banner > .hud .hud-main > .grow > .lanes-wrap:not([hidden]) { width: 272px; }
  .screen.decks-screen.decks-banner > .hud .lanes { height: 100px; }
}

/* =================================================================================================================
   design/nights: the nights read as nights (docs/PLAN-gameplay-loop.md 8.3). Display only, on Main's hooks (8.1):
   .night-brief (#night/<key>), the board's .night[data-night][data-done][data-now] (#nights; data-soon: not playable
   yet), Home's #nextNight (the Daily's card #dailyMove beside it, the board's row .nights-row under), .night-card
   [data-night][data-pass] and the flyers (.flyer: BoothSleeves.flyerHtml). The inner nb-* / nn-* / nc-* names are the
   design session's proposal for Main's markup (reports/design-nights-REPORT.md, For Main). The menus' system (buttons,
   headings, cards) already holds on these routes; this is the layout and the nights' own pieces.
   ================================================================================================================= */
/* ---------- the flyer: a print on the page (its own canvas: drawn for its size, scaled only down) ---------- */
.flyer { display: inline-block; position: relative; line-height: 0; flex: none; }
.flyer > canvas { display: block; aspect-ratio: 1 / 1.4; border-radius: 1px; box-shadow: 0 1px 0 rgba(255, 255, 255, .04), 0 18px 40px -18px rgba(0, 0, 0, .9), 0 0 0 1px rgba(236, 235, 228, .07); background: #0a090d; }
.flyer[data-size="480"] > canvas { box-shadow: 0 1px 0 rgba(255, 255, 255, .05), 0 30px 60px -24px rgba(0, 0, 0, .95), 0 0 0 1px rgba(236, 235, 228, .08); }

/* ---------- the brief (mockup 02): the flyer left, the brief right, one screen at 1280×720 ---------- */
/* the brief and the card are one screen: the page's foot room (60 px) gives way to them, the build bar stays under */
#screen[data-route^="night/"] { padding-bottom: 8px; }
#screen .night-brief { --nb-h: calc(100vh - 136px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 40px; align-items: start; max-width: 1320px; margin: 0 auto; }
#screen .night-brief > .nb-print { position: sticky; top: 72px; }
/* design/green-main-nov27 (full chain on main, 26 Nov: "nights: the brief fits one screen", scroll 18-41 px): the brief fits the
   window, but the footer (Report a problem, the build badge, fix/tester-ready-2) sat under it in the page's flow, with the
   screen's 8 px foot. On a night's brief the footer is the corner tag it is on Home and the deck screens, and the screen
   keeps no foot of its own: the page never scrolls. */
body[data-screen="night"] .buildbar { position: fixed; right: 0; bottom: 0; padding: 4px 10px; z-index: 2; }
body[data-screen="night"] #screen:has(> .night-brief) { padding-bottom: 0; }
#screen .night-brief > .nb-print .flyer > canvas { height: min(672px, var(--nb-h)) !important; width: auto !important; }
#screen .night-brief .nb-body { display: flex; flex-direction: column; gap: 12px; min-width: 0; max-width: 760px; }
#screen .night-brief .nb-body > .eyebrow { margin: 0; font: 600 12px/1 var(--mono); letter-spacing: .2em; color: var(--acid); }
#screen .night-brief .nb-title { margin: -2px 0 0; font: 400 60px/.92 var(--flyer); letter-spacing: .01em; text-transform: uppercase; color: var(--ink); text-shadow: none; }
#screen .night-brief .nb-venue { margin: 0; font-size: 17px; line-height: 1.4; color: #d4d1c9; max-width: 62ch; }
/* the arc, as the set builder draws it (its own svg: .sb-arc the brief's line, .sb-grid at 4 and 7) */
#screen .nb-arc { padding: 10px 14px 6px; border: 1px solid var(--mn-line, var(--line2)); border-radius: var(--r); background: rgba(10, 9, 13, .78); }
#screen .nb-arc-h, #screen .nc-curve-h { display: block; font: 600 12px/1.2 var(--mono); letter-spacing: .04em; text-transform: lowercase; color: #cfa9ff; }
#screen .nb-plot { position: relative; height: 74px; margin: 8px 18px 4px 0; }
#screen .nb-plot > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
#screen .nb-plot .sb-grid { stroke: rgba(236, 235, 228, .16); stroke-width: 1; stroke-dasharray: 2 4; }
#screen .nb-plot .sb-arc { fill: none; stroke: rgba(var(--uv), .55); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
#screen .nb-plot .nc-played { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
#screen .nb-plot .nb-ax { position: absolute; right: -18px; bottom: calc(var(--y) * 100% - 7px); font-size: 12px; color: #a8a59d; line-height: 14px; }
/* the rules: three plain lines on one UV rule */
#screen .nb-rules { list-style: none; margin: 2px 0 0; padding: 2px 0 2px 16px; border-left: 3px solid var(--acid); display: grid; gap: 6px; }
#screen .nb-rules > li { font-size: 16px; line-height: 1.35; color: var(--ink); }
/* the why: set apart, its own voice (cyan, the room's), easy to read */
#screen .nb-why { margin: 0; padding: 10px 14px; border: 1px solid rgba(var(--uvB), .28); border-left: 3px solid rgb(var(--uvB)); border-radius: var(--r); background: rgba(var(--uvB), .06); font-size: 15.5px; line-height: 1.45; color: #e6f4ff; }
#screen .nb-why-k { margin-right: 8px; font: 700 12px/1 var(--mono); letter-spacing: .04em; text-transform: lowercase; color: rgb(var(--uvB)); }
#screen .nb-floor { margin: -2px 0 0; color: #b4b1a9; font-size: 13.5px; }
/* the crate: the builder's rows, compact */
#screen .night-brief .nb-crate > h3.sect { margin: 6px 0 8px; }
#screen .night-brief .nb-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
#screen .night-brief .nb-rows > .sb-crow { cursor: default; min-height: 40px; padding: 4px 6px 4px 12px; background: rgba(10, 9, 13, .82); border-color: var(--mn-line, var(--line)); }
#screen .night-brief .nb-rows .sb-ct { flex-direction: row; align-items: baseline; gap: 14px; flex-wrap: nowrap; }
#screen .night-brief .nb-rows .sb-tl { flex: 0 1 40%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#screen .night-brief .nb-rows .sb-ct > .small.muted { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #b3b0a8; }
#screen .night-brief .nb-rows .sb-meta { color: #cfccc4; letter-spacing: .04em; }
#screen .night-brief .nb-rows .white-tag { margin-left: 8px; font: 700 12px/1 var(--mono); letter-spacing: .14em; padding: 3px 6px; border: 1px solid rgba(var(--uvB), .6); color: rgb(var(--uvB)); background: transparent; border-radius: var(--r); vertical-align: 1px; }
#screen .night-brief .nb-more { margin: 6px 0 0; color: #b4b1a9; }
#screen .night-brief .nb-acts { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
#screen .night-brief .nb-acts .bbtn:not(.big) { min-height: 64px; padding: 0 24px; gap: 10px; font-size: 16px; }
#screen .night-brief .nb-acts .bbtn:not(.big) .small { color: #b9b6ae; font-size: 13px; }
/* SYNC: quiet, a mark, never a third button */
#screen .nb-sync { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font: 600 12px/1 var(--mono); letter-spacing: .04em; text-transform: lowercase; color: #a8a59d; cursor: pointer; }
#screen .nb-sync input { accent-color: var(--acid); width: 16px; height: 16px; margin: 0; }
@media (max-height: 820px) {
  #screen .night-brief .nb-rows > .sb-crow:nth-child(n+3) { display: none; }   /* two rows of the crate up to 820 px high; "… N more" says the rest */
  #screen .night-brief .nb-title { font-size: 48px; }
  #screen .night-brief .nb-body { gap: 9px; }
  #screen .nb-plot { height: 56px; }
  #screen .nb-rules > li { font-size: 15px; }
  #screen .nb-why { padding: 8px 12px; font-size: 15px; }
}
@media (max-height: 760px) {
  #screen .night-brief .nb-title { font-size: 42px; }
  #screen .night-brief .nb-venue { font-size: 15.5px; }
  #screen .nb-plot { height: 44px; margin-top: 4px; }
  #screen .nb-rules { gap: 3px; }
  #screen .night-brief .nb-acts { margin-top: 2px; }
}
@media (min-width: 1700px) { #screen .night-brief { gap: 0 64px; } #screen .night-brief .nb-title { font-size: 72px; } }
@media (min-height: 1000px) { #screen .nb-plot { height: 92px; } #screen .night-brief .nb-body { gap: 14px; } }

/* ---------- the board (#nights): twelve flyers that wrap; the next lit and breathing; passed ones stamped; later ones marked ---------- */
#screen .nights-board { max-width: 1320px; margin: 0 auto; }
#screen .nights-board .nb-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
#screen .nights-board h1 { margin: 6px 0 8px; font: 400 52px/.95 var(--flyer); text-transform: uppercase; }
#screen .nights-board .sub { margin: 0; color: #c9c6be; font-size: 16px; }
#screen .nights-board .nb-count { margin: 0 0 6px; color: #cfa9ff; letter-spacing: .14em; text-transform: uppercase; }
#screen .nights { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); gap: 28px 20px; }
#screen .nights > li { display: block; min-width: 0; }
#screen .nights-board .night .flyer { width: 100%; max-width: 240px; }
#screen .nights-board .night .flyer > canvas { width: 100% !important; height: auto !important; }   /* 240's print, never scaled up */
#screen .night { display: flex; flex-direction: column; align-items: stretch; width: 100%; gap: 10px; padding: 0; border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer; font: inherit; border-radius: var(--r); }
#screen .night .night-cap { display: grid; gap: 3px; padding: 0 2px; }
#screen .night .night-n { font: 600 12px/1 var(--mono); letter-spacing: .18em; color: #a8a59d; }
#screen .night .night-name { font: 700 15px/1.2 var(--pr-face); letter-spacing: .01em; }
#screen .night .night-mark { font: 600 12px/1.2 var(--mono); letter-spacing: .04em; text-transform: lowercase; color: #b4b1a9; }
#screen .night .flyer > canvas { transition: box-shadow .08s, transform .12s; }
#screen .night:hover .flyer > canvas, #screen .night:focus-visible .flyer > canvas { box-shadow: 0 0 0 1px rgba(var(--uv), .7), 0 18px 40px -18px rgba(0, 0, 0, .9); transform: translateY(-2px); }
#screen .night:focus-visible { outline: none; }
/* passed: the grade on the flyer itself; the mark in UV */
#screen .night[data-done="true"] .night-mark { color: #d6b3ff; }
/* the next one: lit, a UV frame that breathes on the menu music's beat (booth-menus: .mn-breathe, --mn-beat) */
#screen .night[data-now="true"] { --mn-beat: 0; }
#screen .night[data-now="true"] .flyer > canvas { box-shadow: 0 0 0 2px var(--acid), 0 18px 40px -18px rgba(0, 0, 0, .9); }
#screen .night[data-now="true"] .night-n, #screen .night[data-now="true"] .night-mark { color: var(--acid); }
/* later: dimmed, the mark says what comes before it (never a lock); playable soon: dimmer still, its brief still opens */
#screen .night[data-done="false"][data-now="false"] .flyer > canvas { filter: saturate(.55) brightness(.62); }
#screen .night[data-done="false"][data-now="false"] .night-name { color: #c9c6be; }
#screen .night[data-soon="true"] .flyer > canvas { filter: saturate(.3) brightness(.42); }
#screen .night[data-soon="true"] .night-name, #screen .night[data-soon="true"] .night-mark { color: #a19ea6; }
#screen .night[data-done="false"][data-now="false"]:hover .flyer > canvas { filter: saturate(.8) brightness(.85); }

/* ---------- Home after graduating (mockup 01): the wordmark and level · Your next night · the Daily, the board's row under ---------- */
body.home:not(.day-one) #screen[data-route="menu"] .hero.night-hero:not(.grad-hero) { display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1.55fr) minmax(250px, .8fr); gap: 24px; align-items: stretch; margin-bottom: 28px; }
body.home:not(.day-one) #screen[data-route="menu"] .hero.night-hero:not(.grad-hero) > .hero-brand { align-self: start; padding-top: 10px; }
body.home:not(.day-one) #screen[data-route="menu"] .hero.night-hero:not(.grad-hero) .hero-word { font-size: clamp(64px, 6vw, 108px); }
#screen .next-night { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; padding: 22px 24px; border: 1px solid rgba(var(--uv), .55); box-shadow: 0 0 0 1px rgba(var(--uv), .18); background: rgba(10, 9, 13, .9); }
#screen .next-night .nn-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
#screen .next-night .eyebrow { margin: 0; font: 600 12px/1 var(--mono); letter-spacing: .2em; color: var(--acid); }
#screen .next-night .nn-title { margin: 2px 0 0; font: 400 46px/.95 var(--flyer); text-transform: uppercase; color: var(--ink); }
#screen .next-night .nn-line { margin: 0; font-size: 16px; line-height: 1.4; color: #d4d1c9; }
#screen .next-night .nn-want { color: #c9c6be; font-size: 14.5px; }
#screen .next-night .nn-go { margin-top: 8px; }
#screen .daily-move { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 22px 24px; margin: 0 !important; }
#screen .daily-move .eyebrow { margin: 0 0 4px; font: 600 12px/1.2 var(--mono); letter-spacing: .18em; color: #cfa9ff; }
#screen .daily-move .dm-move { font: 400 30px/1 var(--flyer); text-transform: uppercase; letter-spacing: .02em; }
#screen .daily-move p { margin: 0; }
#screen .daily-move .dm-where { color: #d4d1c9; font-size: 14.5px; }
#screen .daily-move .dm-best { color: #b4b1a9 !important; }
#screen .daily-move .bbtn { margin-top: 14px; align-self: flex-start; }
/* the board's row: twelve small flyers in one line, the next lit; the board page has them big */
#screen .nights-row { margin: 0 0 8px; }
#screen .nights-row .nr-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
#screen .nights-row .nr-h > .sect { margin: 0 0 14px; }
#screen .nights-row .nr-h > a { color: #cfa9ff; font: 600 12px/1 var(--mono); letter-spacing: .04em; text-transform: lowercase; text-decoration: none; }
#screen .nights-row .nr-h > a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--acid); }
#screen .nights-row .nights { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; flex-wrap: nowrap; }
#screen .nights-row .night { gap: 6px; }
#screen .nights-row .night .flyer { width: 100%; }
#screen .nights-row .night .flyer > canvas { width: 100% !important; height: auto !important; }
#screen .nights-row .night .night-name { font-size: 12.5px; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#screen .nights-row .night .night-n { font-size: 12px; }
#screen .nights-row .night .night-mark { font-size: 12px; letter-spacing: .06em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1360px) { body.home:not(.day-one) #screen[data-route="menu"] .hero.night-hero:not(.grad-hero) { grid-template-columns: minmax(250px, 290px) minmax(0, 1.5fr) minmax(230px, .75fr); gap: 20px; } #screen .next-night .nn-title { font-size: 40px; } #screen .next-night { gap: 20px; padding: 20px; } }
@media (min-width: 1700px) { #screen .nights-row .nights { gap: 18px; } #screen .next-night .nn-title { font-size: 56px; } #screen .daily-move .dm-move { font-size: 36px; } }

/* ---------- the night's card (mockup 03): solid like the stage cards; the pass line, the floor's three parts with their
   bars and lines (the part that cost most marked), the curve, the flyer stamped, the recording, Save a clip, three equal
   buttons. Fits 1280×720 to 1920×1080 without a scroll ---------- */
#screen .night-card { --nc-flyer: min(300px, calc(100vh - 420px)); position: relative; display: grid; gap: 16px; max-width: 1120px; margin: 0 auto; padding: 22px 28px 22px; background: var(--panel-solid) !important; border: 1px solid rgba(236, 235, 228, .14) !important; border-radius: var(--r); box-shadow: inset 0 2px 0 var(--acid), 0 0 0 1px rgba(0, 0, 0, .6), 0 30px 80px -30px rgba(0, 0, 0, .95); }
#screen .night-card .nc-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; }
#screen .night-card .nc-grade { display: grid; place-items: center; width: 84px; height: 84px; background: var(--acid); color: #0a0810; font: 400 54px/1 var(--flyer); border-radius: var(--r); box-shadow: none; }
#screen .night-card .nc-hw { display: grid; gap: 4px; min-width: 0; }
#screen .night-card .nc-hw > .eyebrow { margin: 0; font: 600 12px/1.2 var(--mono); letter-spacing: .04em; text-transform: lowercase; color: #cfa9ff; }
#screen .night-card .pass-line { margin: 0; font-size: clamp(38px, 3.2vw, 50px); }
#screen .night-card .pass-line .pl-tick { width: 34px; height: 34px; font-size: 19px; }
#screen .night-card .nc-sum { margin: 0; font-size: 16px; line-height: 1.4; color: #d4d1c9; }
#screen .night-card .nc-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: start; }
#screen .night-card .nc-left { display: grid; gap: 14px; min-width: 0; }
/* the floor's three parts: the label and weight, the bar, the number, the one line; the part that cost most in amber */
#screen .night-card .nc-parts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
#screen .night-card .nc-part { display: grid; grid-template-columns: minmax(0, 1fr) 44px; grid-template-areas: "h h" "bar n" "line line"; gap: 5px 14px; align-items: center; }
#screen .night-card .nc-ph { grid-area: h; font: 600 12px/1 var(--mono); letter-spacing: .04em; text-transform: lowercase; color: #bdb9b1; }
#screen .night-card .nc-bar { grid-area: bar; position: relative; height: 10px; background: rgba(236, 235, 228, .08); border-radius: 1px; overflow: hidden; }
#screen .night-card .nc-bar > i { position: absolute; inset: 0 auto 0 0; width: calc(var(--v, 0) * 100%); background: var(--acid); box-shadow: none; }
#screen .night-card .nc-n { grid-area: n; font: 700 20px/1 var(--mono); text-align: right; color: var(--ink); }
#screen .night-card .nc-line { grid-area: line; font-size: 15px; line-height: 1.35; color: #d4d1c9; }
/* the curve: the brief's arc faint (the builder's), the played energy solid, each track's number */
#screen .night-card .nc-curve { padding: 10px 14px 18px; border: 1px solid rgba(236, 235, 228, .12); border-radius: var(--r); background: rgba(4, 3, 6, .6); }
#screen .night-card .nc-plot { height: 104px; margin: 10px 18px 0 0; }
#screen .night-card .nc-plot .sb-arc { stroke: rgba(var(--uv), .38); stroke-width: 12; }
#screen .night-card .nc-tn { position: absolute; bottom: -18px; left: calc(var(--x) * 100%); transform: translateX(-50%); font-size: 12px; color: #a8a59d; }
#screen .night-card .nc-rec { display: flex; align-items: center; gap: 12px; margin: 0; }
#screen .night-card .nc-rec audio { flex: 1 1 auto; min-width: 0; height: 40px; }
/* the flyer stamped, its number on the shelf, Save a clip under it */
#screen .night-card .nc-right { display: grid; justify-items: start; gap: 8px; width: var(--nc-flyer); }
#screen .night-card .nc-right .flyer > canvas { width: var(--nc-flyer) !important; height: auto !important; }
#screen .night-card .nc-cat { color: #bdb9b1; letter-spacing: .08em; white-space: nowrap; font-size: 12px; }
#screen .night-card .nc-right .clip-box { margin: 0; padding: 0; border: 0; background: none; width: 100%; }
#screen .night-card .nc-right .clip-make { width: 100%; min-height: 44px; border-color: rgba(var(--uvB), .7); color: #e6f4ff; }
#screen .night-card .nc-right .clip-make:hover { background: rgba(var(--uvB), .1); border-color: rgb(var(--uvB)); box-shadow: none; }
/* three equal buttons: Next · Again · Again with help (the first is the primary in colour only) */
#screen .night-card .nc-acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
#screen .night-card .nc-acts .bbtn { min-height: 52px; width: 100%; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-height: 820px) {
  #screen .night-card { --nc-flyer: min(250px, calc(100vh - 530px)); padding: 18px 24px; gap: 12px; }
  #screen .night-card .pass-line { font-size: 40px; }
  #screen .night-card .nc-grade { width: 72px; height: 72px; font-size: 46px; }
  #screen .night-card .nc-parts { gap: 12px; }
  #screen .night-card .nc-plot { height: 80px; }
  #screen .night-card .nc-line { font-size: 14.5px; }
}
@media (max-height: 760px) {
  #screen .night-card { --nc-flyer: min(220px, calc(100vh - 520px)); padding: 14px 22px; gap: 10px; }
  #screen .night-card .nc-grade { width: 60px; height: 60px; font-size: 40px; }
  #screen .night-card .pass-line { font-size: 36px; }
  #screen .night-card .nc-head { gap: 16px; }
  #screen .night-card .nc-sum { font-size: 15px; }
  #screen .night-card .nc-plot { height: 62px; margin-top: 6px; }
  #screen .night-card .nc-curve { padding: 8px 12px 16px; }
  #screen .night-card .nc-acts .bbtn { min-height: 46px; }
  #screen .night-card .nc-parts { gap: 9px; }
}
@media (min-height: 1000px) { #screen .night-card { --nc-flyer: 340px; } #screen .night-card .nc-plot { height: 130px; } }

/* ---------- design/nights part 5: Swap the bass (Main's .swap-btn, QA round 4 M1; with no controller): clearly ONE action
   that swaps both basses, beside the two LOW chips in #hudBanner .banner-row and in Free mix's Guided strip (#mixHints).
   The LOW band's red-orange ink (the bass), Deck A's purple and Deck B's cyan at its two ends (the two decks it swaps),
   ⇄ before the words, the key in a key cap. Not the menus' solid purple: purple is "next", this is a move. ---------- */
.bbtn.swap-btn, .bbtn.sm.primary.swap-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; margin-left: 8px; padding: 0 5px 0 10px; border: 1px solid rgba(var(--band-low-rgb), .9); border-radius: 1px; background: linear-gradient(90deg, rgba(var(--uv), .2), rgba(var(--band-low-rgb), .26) 30%, rgba(var(--band-low-rgb), .26) 70%, rgba(var(--uvB), .2)), rgba(4, 3, 6, .92); color: #fff; font: 800 12px/1 var(--mono); letter-spacing: .04em; text-transform: lowercase; white-space: nowrap; box-shadow: inset 3px 0 0 var(--deckA, #b066ff), inset -3px 0 0 var(--deckB, #5fd3ff), 0 0 14px rgba(var(--band-low-rgb), .35); cursor: pointer; transition: background-color .08s, box-shadow .08s, transform .06s; }
.bbtn.swap-btn::before { content: '⇄'; font: 700 16px/1 system-ui, sans-serif; letter-spacing: 0; color: rgb(var(--band-low-rgb)); text-shadow: none; }
.bbtn.swap-btn .swap-key { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin: 0 0 0 2px; padding: 0 6px; border: 1px solid rgba(236, 235, 228, .6); border-bottom-width: 3px; border-radius: 3px; background: #0c0b10; color: #fff; opacity: 1; font: 800 12px/1 var(--mono); letter-spacing: 0; }
.bbtn.swap-btn:hover:not(:disabled), .bbtn.swap-btn:focus-visible { background: linear-gradient(90deg, rgba(var(--uv), .32), rgba(var(--band-low-rgb), .42) 30%, rgba(var(--band-low-rgb), .42) 70%, rgba(var(--uvB), .32)), rgba(4, 3, 6, .92); border-color: rgb(var(--band-low-rgb)); color: #fff; box-shadow: inset 3px 0 0 var(--deckA, #b066ff), inset -3px 0 0 var(--deckB, #5fd3ff), 0 0 0 1px rgba(var(--band-low-rgb), .5), 0 0 22px rgba(var(--band-low-rgb), .55); outline: none; }
.bbtn.swap-btn:active { transform: translateY(1px); }
.bbtn.swap-btn:active .swap-key { border-bottom-width: 1px; margin-top: 2px; }
/* in the step banner: the chips' height, sat right after the second LOW chip; in Free mix's one-line strip: its line */
#hudBanner .banner-row .swap-btn { align-self: center; }
.mix-hints .swap-btn, #mixHints .swap-btn { vertical-align: middle; margin: 0 8px; flex: none; }
@media (prefers-reduced-motion: reduce) { .bbtn.swap-btn { transition: none; } .bbtn.swap-btn:active { transform: none; } }
/* the chip's second line (controller/first-session: .banner-band, "HIGH" under a Pioneer's HI): a quiet word, never italic */
.banner-ctl .banner-band { font-style: normal; font-weight: 700; font-size: 12px; letter-spacing: .14em; color: #bdb9b1; padding-left: 6px; margin-left: 1px; border-left: 1px solid rgba(236, 235, 228, .2); }

/* ---------- integrate/nights (1 Nov): Main's night markup on design/nights' layout: the few pieces Main has that the
   mockups didn't (the slot line, the goal box on the brief, the floor's points, the sum, Home, the set folded under) ---------- */
#screen .night-brief .nb-slot { margin: -6px 0 0; color: #bdb9b1; letter-spacing: .04em; }
#screen .night-brief .goal-box { margin: 2px 0; }
#screen .night-brief .nb-crate > h3.sect { margin: 2px 0 8px; }
#screen .night-brief .nb-job { margin-top: 8px; }
#screen .night-card h2.nc-sum { margin: 0; font: 400 16px/1.4 var(--pr-face); letter-spacing: 0; text-transform: none; color: #d4d1c9; text-shadow: none; }
#screen .night-card .nc-ph .fp-pts { color: #d8d4cc; }
#screen .night-card .floor-cap { margin: -4px 0 0; }
#screen .night-card .floor-sum { margin: -6px 0 0; color: #a8a59d; }
#screen .night-card .nc-home { margin: -6px 0 0; text-align: center; }
#screen .night-card .nc-more { border-top: 1px solid rgba(236, 235, 228, .1); padding-top: 10px; }
#screen .night-card .nc-more > summary { cursor: pointer; font: 600 12px/1.2 var(--mono); letter-spacing: .04em; text-transform: lowercase; color: #cfa9ff; }
#screen .night-card .nc-more[open] > summary { margin-bottom: 12px; }
#screen .night-card .nc-right .clip-say { display: block; margin-top: 4px; font-size: 12px; color: #b4b1a9; }
/* Home after graduating: Free mix, Set mode and the Academy's advanced moves one short row under the board's row */
body.home #screen[data-route="menu"] .menu-rest > .grad-open { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 4px 0 24px; }
body.home #screen[data-route="menu"] .menu-rest > .grad-open > .mode, body.home #screen[data-route="menu"] .menu-rest > .grad-open > .adv-card { min-height: 0; margin: 0; padding: 14px 18px; gap: 4px; }
body.home #screen[data-route="menu"] .menu-rest > .grad-open > .adv-card { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
body.home #screen[data-route="menu"] .menu-rest > .grad-open > .adv-card > .eyebrow { flex-basis: 100%; margin: 0; }
/* the brief on one screen with Main's goal box: the crate shows two rows ("Plan the set shows all N" says the rest), the goal box's floor line folds away under 960 px high, its unlock line under 760 */
#screen .night-brief .nb-rows > .sb-crow:nth-child(n+3) { display: none; }
@media (min-height: 1000px) { #screen .night-brief .nb-rows > .sb-crow:nth-child(n+3) { display: flex; } }
@media (max-height: 960px) { #screen .night-brief .goal-box .goal-what, #screen .night-brief .goal-box .goal-next { display: none; } #screen .night-brief .goal-box { padding-top: 10px; padding-bottom: 10px; } }
@media (max-height: 820px) { #screen .night-brief .nb-body { gap: 7px; } #screen .night-brief .nb-slot { margin-top: -4px; } }
@media (max-height: 760px) { #screen .night-brief .goal-box { padding: 8px 14px; } #screen .night-brief .goal-box .goal-next { display: none; } #screen .night-brief .nb-body { gap: 7px; } #screen .night-brief .nb-title { font-size: 38px; } #screen .night-brief .nb-slot, #screen .night-brief .nb-more { display: none; }   /* (720 high: the flyer beside it prints the slot, the time and the length) */ #screen .night-brief .nb-acts .bbtn:not(.big) { min-height: 56px; } #screen .night-brief .nb-acts .bbtn.big { min-height: 56px; } }
/* the night's card on the deck screen (booth-pops marks #resultSlot.slot-night): the whole window under the header, as the first set's, scrolling only if a short window needs it */
#resultSlot.slot-night:not(:empty) { top: 58px; bottom: 12px; width: min(1160px, calc(100% - 48px)); max-height: none; overflow: auto; background: none; border: 0; box-shadow: none; padding: 0; }
#resultSlot.slot-night > .night-card { margin: 0 auto; min-height: 100%; align-content: start; }

/* ---------- design/club-lights: the first-time notice (booth-lights.js #lightsNotice) ----------
   A slim calm bar in the header's empty middle (between the nav and the full-screen button: a deck screen has no free
   corner), the first time the default Club lights get strong: one line and two one-tap ways down. Solid ground, no glow
   that moves, a short fade; over nothing but the header's own background. */
#lightsNotice.lights-notice { position: fixed; left: 50%; top: 7px; z-index: 55; display: flex; align-items: center; gap: 10px; max-width: min(470px, calc(100vw - 820px)); min-width: 0; height: 34px; padding: 0 4px 0 12px; background: rgb(12, 10, 17); border: 1px solid rgba(var(--uv-room), .45); border-left: 3px solid rgb(var(--uv-room)); border-radius: var(--r); box-shadow: 0 6px 20px rgba(0, 0, 0, .55); opacity: 0; transform: translate(-50%, -6px); transition: opacity .3s, transform .3s; white-space: nowrap; }
#lightsNotice.lights-notice.on { opacity: 1; transform: translate(-50%, 0); }
#lightsNotice p { margin: 0; font-size: 13px; line-height: 18px; color: #d8d4e2; overflow: hidden; text-overflow: ellipsis; }
#lightsNotice p b { color: #f4f1ff; font-weight: 700; }
#lightsNotice .ln-acts { display: flex; gap: 4px; flex: none; }
#lightsNotice .ln-acts .bbtn { min-height: 26px; height: 26px; padding: 0 10px; font-size: 12.5px; line-height: 24px; }
@media (prefers-reduced-motion: reduce) { #lightsNotice.lights-notice { transition: none; transform: translate(-50%, 0); } }

/* ---------- design/room-lights: the room behind the lanes and the mixer (docs/ROADMAP-lighting.md phase 0) ----------
   body.room-deep (booth-lights.js: Free mix, Set mode, the nights and #studio with a deck playing, Club or Dark room,
   never a lesson) makes the deck screen's blocks see-through, so the lights' page layer (under the app) shows behind
   them: the lanes' ground (booth-waves.js draws it see-through then, BoothWaves.ground) and the decks' and the mixer's
   panels. The light is behind every control and word (the layer's z-index 0, the app 1); how bright it may get there is
   capped in booth-lights.js (UNDER) and measured by design-check's room rows. A slow machine (body.slow-frames: no page
   layer) keeps its solid panels. */
/* (the plate itself lets the room through, at booth-lights.js UNDER.see .5: the look's own block, below; its sections have no ground of their own) */
/* (19 Nov, Dean) the lanes keep their near-black ground in the deep room: the room's colour glows round them, never through them (booth-lights.js UNDER.lanes 1) */
/* (no fade on the switch: a .5 s background transition repainted every panel for 30 frames, a 117 ms frame at 4x CPU; it switches as the deck starts) */
/* the legend (LOW · bass, MID, HIGH…) on its own solid ground: whatever the room does behind that row, the keys read
   (it washed out at a peak: the roadmap's phase 0) */
#screen.decks-screen > .wv-legend { background: rgba(4, 3, 6, .94); box-shadow: 0 0 0 4px rgba(4, 3, 6, .94); border-radius: var(--r); }
/* the controls keep their own solid ground in the deep room (as they looked on the solid panel): the light is under the
   panel, round its controls, never through one */
body.room-deep:not(.slow-frames) #screen.decks-screen .decks3 > .panel .bbtn:not(.on):not(.primary):not(:hover):not(:disabled) { background-color: rgb(18, 17, 21); }

/* ---------- feature/free-mix-goal: Free mix's goal on the top bar, and the quieter screen ----------
   The goal (#freeGoal, booth-freegoal.js): a fixed slot at the start of the score bar, two short lines (a small label with the
   count, the goal in the body face), so a new goal or a count never moves the bar; Hide a word, never an icon. Landing: the
   tick and the text land once (opacity and transform, 260 ms), then "Next goal" in the accent for a few seconds. The fold:
   More controls sits in the FX strip's slot at its height; while folded the mixer's LOW names lead (ink), the rest step back. */
.freebar .free-goal { flex: none; box-sizing: border-box; width: 208px; margin-right: -4px; height: 30px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 12px 16px; column-gap: 8px; row-gap: 1px; align-content: center; padding: 0 6px 0 0; border-right: 1px solid var(--line2); overflow: hidden; white-space: nowrap; }
.free-goal .fg-k { grid-row: 1; grid-column: 1; font: 700 12px/13px var(--mono); letter-spacing: .04em; text-transform: lowercase; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.free-goal .fg-n { letter-spacing: .02em; text-transform: none; color: var(--ink); }
.free-goal .fg-text { grid-row: 2; grid-column: 1 / -1; font-size: 13px; line-height: 16px; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; }
.free-goal .fg-hide { grid-row: 1; grid-column: 2; padding: 0; border: 0; background: none; font-family: inherit; font-size: 12px; line-height: 12px; font-weight: 600; color: var(--muted); cursor: pointer; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 2px; }
.free-goal .fg-hide:hover, .free-goal .fg-hide:focus-visible { color: var(--ink); text-decoration-color: currentColor; }
.free-goal[data-state="next"] .fg-k { color: var(--acid); }
.free-goal[data-state="done"] .fg-k { color: var(--ink); }
.free-goal[data-state="done"] .fg-text { color: #fff; animation: fg-land 260ms cubic-bezier(.2, .9, .3, 1.2) both; }
.free-goal .fg-tick { display: inline-block; color: var(--acid); }
.free-goal[data-state="hidden"] { width: auto; grid-template-columns: auto; grid-template-rows: 30px; border-right: 0; padding: 0; }
.free-goal[data-state="hidden"] .fg-show { align-self: center; }
@keyframes fg-land { from { opacity: 0; transform: translateY(6px) scale(1.06); } to { opacity: 1; transform: none; } }
.freebar .fg-key, .fold-more .fg-key { display: inline-block; min-width: 14px; padding: 0 4px; margin-left: 6px; border: 1px solid var(--line2); border-radius: 2px; font-size: 12px; line-height: 14px; text-align: center; color: var(--muted); }
/* More controls: the FX strip's slot (its height), a plain outline button; when everything is open it stays as Fewer controls */
.mixer > .fold-more { display: block; width: 100%; box-sizing: border-box; margin: 2px 0 4px; font-size: 12px; text-align: center; color: var(--muted); }
.mixer > .fold-more[data-open="false"] { min-height: 38px; color: var(--ink); }
.mixer > .fold-more:hover { color: var(--ink); }
/* while folded the LOWs lead: their names in ink, the other knobs' names a step back (no glow: words and weight only) */
body.fm-fold .decks3 .mixer .kn > .kn-name { color: var(--muted); }
body.fm-fold .decks3 .mixer .kn[data-kn="eqLow"] > .kn-name { color: var(--ink); font-weight: 800; }
@media (prefers-reduced-motion: reduce) { .free-goal[data-state="done"] .fg-text { animation: none; } }

/* ====================================================================================================================
   THE LOOK (design/look-v2-default, 18 Nov): look v2 is the look. It was built behind ?look=v2 as three stylesheets
   (design/new-look-options, design/look-v2: reports/design-look-v2-REPORT.md); this block is those three, moved here in
   one pass with their scope taken off. Everything under this line goes over everything above it.
     THE TITLE     the photocopied sleeve (#start): web/look/sleeve-front.webp (scripts/look-halftone.js, from a top-down
                   photo of the controller), the record peeping out (sleeve-vinyl.webp), the listing in Anton with its
                   small print in Barlow Condensed
     THE BOOTH     every deck screen: one black plate under one lamp (.decks3), the print small and lower case (B612),
                   the read-outs amber, the knobs and caps drawn, "this one" the lamp's pool; the pops in Lexend, a big
                   clean move a lit sign in the paper's white, the verdict in mono in a ruled frame
     THE HEADER    Dean's logo cut for 46 px (web/look/logo-mark.png), the nav and the controller's status in the print
     HOME, DAY ONE one block of violet to press; the path as a track listing (sides A and B)
   The rules of the print: violet is ink and only for what you press or what's next; the lit white (#f4ecdc) for what is
   on; nothing glows; nothing under 12 px or 4.5:1 (scripts/design-look-print.js); the room's lights are never dimmed.
   ==================================================================================================================== */
@font-face { font-family: 'Courier Prime'; font-weight: 400; font-display: block; src: url(fonts/courier-prime-400.woff2) format('woff2'); }
@font-face { font-family: 'Courier Prime'; font-weight: 700; font-display: block; src: url(fonts/courier-prime-700.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 500; font-display: block; src: url(fonts/barlow-condensed-500.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: block; src: url(fonts/barlow-condensed-600.woff2) format('woff2'); }
@font-face { font-family: 'B612'; font-weight: 400; font-display: block; src: url(fonts/b612-400.woff2) format('woff2'); }
@font-face { font-family: 'B612'; font-weight: 700; font-display: block; src: url(fonts/b612-700.woff2) format('woff2'); }
@font-face { font-family: 'Lexend'; font-weight: 700; font-display: block; src: url(fonts/lexend-700.woff2) format('woff2'); }
@font-face { font-family: 'Lexend'; font-weight: 800; font-display: block; src: url(fonts/lexend-800.woff2) format('woff2'); }

/* ====================================================================================================================
   THE PRINT (the look's base: every screen). The old theme's variables re-pointed, then one button, heading and card
   system. docs/LOOK.md is the spec.
     the faces    Anton for titles and the one thing to press; Courier Prime (--pr-type, bold, lower case, 14 px and
                  up) for the voice: lines to the player, the text and labels on cards, tape labels, the coach's
                  teach lines; B612 (--pr-face) for dense small print (settings, track rows, the plate, read-outs, keys);
                  Lexend for the pops; real mono (--num) only for a verdict's numbers
     paper        the key things on the menus are off-white paper cards (--paper, --paper-tex, --halftone) with
                  near-black print; tape labels and stamps for tags; the dark base everywhere else
     the colours  near-black; the print's grey (--pr-print), dimmer (--pr-dim), lit (--pr-lit), the paper's white
                  (--pr-paper); amber for read-outs; violet is INK and only for what you press or what's next
                  (--pr-violet on black, --pr-violet-paper on the paper's white); LED green, amber and red for states
     no glow      --uv-edge, --uv-soft and --uv-text are hairlines and nothing; the old rules' blurred UV halos were
                  taken out in place (the lights' own rules keep the room's purple as --uv-room)
   ==================================================================================================================== */
:root {
  --pr-type: 'Courier Prime', 'Courier New', monospace;
  --pr-face: 'B612', 'Verdana', sans-serif; --num: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;
  --pr-print: #bbb4a6; --pr-dim: #a59f92; --pr-lit: #f4ecdc; --pr-paper: #efeadf; --pr-amber: #ffe2b4;
  --pr-violet: #a77bff; --pr-violet-hi: #b88fff; --pr-violet-paper: #6a35d9;
  --paper: #efeadf; --paper-ink: #0b0a0c; --paper-dim: #4a463f; --paper-hair: rgba(11, 10, 12, .28); --paper-tex: url(look/paper.webp); --halftone: url(look/halftone.png);
  --band-low-ink: #0b0a0c; --band-mid-ink: #0b0a0c; --band-high-ink: #0b0a0c;   /* the print that reads on a band's own colour (the colours themselves are booth-waves.js's) */ --pr-warm: 255, 214, 170;
  --pr-rule: rgba(236, 235, 228, .16); --pr-rule2: rgba(236, 235, 228, .3); --pr-key: #0d0d0c; --pr-sheet: #0b0b0a;
  --pr-ok: #46e08f; --pr-warn: #f2ea78; --pr-bad: #f0484d;
  --deckA: #efeadf; --deckB: #9fd8ff;   /* a deck's own dot, edge and set pads: Deck A paper white, Deck B cyan (Dean, 19 Nov: purple is only press and bass) */
  /* the old theme's names, re-pointed at the print (every old rule that reads them follows) */
  --bg: #0b0a0c; --bg2: #121113; --panel: rgba(11, 11, 10, .94); --panel-solid: #0b0b0a;
  --line: rgba(236, 235, 228, .12); --line2: rgba(236, 235, 228, .24);
  --ink: #f4ecdc; --muted: #a59f92; --faint: #938e83;
  --acid: #f4ecdc; --pink: #f4ecdc; --green: #46e08f; --uv: 244, 236, 220; --uv-room: 176, 102, 255;
  --uv-edge: 0 0 0 1px rgba(236, 235, 228, .3); --uv-soft: 0 0 0 1px rgba(236, 235, 228, .16); --uv-text: none;
  --mono: var(--pr-face);
}
html, body { font-family: var(--pr-face); }
body { background: var(--bg); color: var(--pr-print); }
button, input, select, textarea { font-family: var(--pr-face); }
.mono, .count, .coach-count { font-family: var(--pr-face); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
body { --v2-print: var(--pr-print); --v2-dim: var(--pr-dim); --v2-lit: var(--pr-lit); --v2-ink: var(--pr-violet); --v2-warm: var(--pr-warm); --v2-face: var(--pr-face);
  --lm-print: var(--pr-print); --lm-dim: var(--pr-dim); --lm-lit: var(--pr-lit); --lm-amber: var(--pr-amber); --lm-warm: var(--pr-warm); --lm-face: var(--pr-face); --lm-led-g: var(--pr-ok); --lm-led-r: var(--pr-bad); --lm-led-a: var(--pr-warn); }
a { color: var(--pr-lit); text-decoration-color: rgba(244, 236, 220, .5); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid #fff; outline-offset: 2px; box-shadow: none; }
::selection { background: var(--pr-paper); color: #060606; }

/* ---------- one button ----------
   the key (.bbtn): unlit, a hairline, the print in lower case; lit when on (a line of light along its foot)
   the one thing to press (.bbtn.primary): a block of violet ink, Anton struck into it, a paper-white edge a hair off
   register; .big is the page's hero. Words only (.bbtn.ghost): every Back. */
#screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn, .bbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid rgba(var(--pr-warm), .24); border-radius: 3px; background: var(--pr-key); box-shadow: none; text-shadow: none; color: var(--pr-lit); font: 400 14px/1.15 var(--pr-face); letter-spacing: .02em; text-transform: lowercase; text-decoration: none; transition: background .08s, border-color .08s, color .08s, transform .08s, box-shadow .08s; animation: none; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn:hover:not(:disabled):not(.primary):not(.ghost), .bbtn:hover:not(:disabled):not(.primary):not(.ghost) { background: #1b1a19; border-color: rgba(var(--pr-warm), .5); color: #fff; box-shadow: none; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn.sm, .bbtn.sm { min-height: 32px; padding: 0 12px; font-size: 13px; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn.primary, .bbtn.primary { border: 0; border-radius: 0; background: var(--pr-violet); box-shadow: 3px 3px 0 var(--pr-paper); color: #0b0710; font: 400 19px/1 var(--flyer); letter-spacing: .05em; text-transform: uppercase; padding: 0 20px; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn.primary:hover:not(:disabled), .bbtn.primary:hover:not(:disabled) { background: var(--pr-violet-hi); border: 0; color: #0b0710; transform: translate(-1px, -1px); box-shadow: 4px 4px 0 #fff; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn.primary:active:not(:disabled), .bbtn.primary:active:not(:disabled) { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--pr-paper); }
#screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn.primary.sm, .bbtn.primary.sm { font-size: 16px; padding: 0 14px; box-shadow: 2px 2px 0 var(--pr-paper); }
#screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn.primary.big, .bbtn.primary.big { min-height: 64px; padding: 0 40px; font: 400 30px/1 var(--flyer); letter-spacing: .05em; text-transform: uppercase; box-shadow: 5px 5px 0 var(--pr-paper); }
#screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn.primary.big:hover:not(:disabled), .bbtn.primary.big:hover:not(:disabled) { box-shadow: 6px 6px 0 #fff; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn.ghost, #screen:not(.decks-screen):not([data-route^="set/first"]) a.bbtn.ghost, .bbtn.ghost { min-height: 40px; padding: 0 8px; border-color: transparent; background: transparent; box-shadow: none; color: var(--pr-print); text-underline-offset: 5px; text-decoration-thickness: 1px; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn.ghost.sm, .bbtn.ghost.sm { min-height: 32px; padding: 0 6px; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn.ghost:hover:not(:disabled), .bbtn.ghost:hover:not(:disabled) { background: transparent; border-color: transparent; color: #fff; text-decoration: underline; text-decoration-color: var(--pr-lit); box-shadow: none; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn.on:not(.primary), .bbtn.on:not(.primary) { background: #151514; border-color: rgba(var(--pr-warm), .24); color: #fff; box-shadow: inset 0 -2px 0 var(--pr-lit); }
#screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn:disabled, #screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn[aria-disabled="true"], .bbtn:disabled { opacity: 1; cursor: default; color: #8f8a7f; border-color: rgba(236, 235, 228, .12); background: transparent; box-shadow: none; transform: none; }
/* a primary that can't be pressed yet is no violet block: violet is only what you can press (docs/LOOK.md rule 1) */
#screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn.primary:disabled, .bbtn.primary:disabled { background: none; border: 1px solid rgba(236, 235, 228, .28); color: #a59f92; box-shadow: none; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .bbtn.ghost:disabled, .bbtn.ghost:disabled { border-color: transparent; }
kbd, .swap-key, .fg-key, .key-cap { text-transform: none; }

/* ---------- one heading system ----------
   a page's title: Anton, the paper's white, nothing behind it. A section's label: the print, lower case, dim, never
   slashes. A card's own title: Anton, smaller. */
#screen:not(.decks-screen):not([data-route^="set/first"]) > h1, #screen:not(.decks-screen):not([data-route^="set/first"]) > .row > h1, #screen:not(.decks-screen):not([data-route^="set/first"]) .ctl-head h1, #screen h1 { font: 400 44px/.95 var(--flyer); letter-spacing: .01em; text-transform: uppercase; color: var(--pr-paper); text-shadow: none; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .sect, #screen:not(.decks-screen):not([data-route^="set/first"]) h2.sc-h, #screen:not(.decks-screen):not([data-route^="set/first"]) .panel > h3, #screen:not(.decks-screen):not([data-route^="set/first"]) section > h3, #screen:not(.decks-screen):not([data-route^="set/first"]) .panel > .row > h3, .sect { font: 400 13px/1.3 var(--pr-face); letter-spacing: .06em; text-transform: lowercase; color: var(--pr-dim); text-shadow: none; }
.eyebrow, #screen:not(.decks-screen):not([data-route^="set/first"]) .eyebrow { font: 400 13px/1.3 var(--pr-face); letter-spacing: .06em; text-transform: lowercase; color: var(--pr-dim); text-shadow: none; }
.eyebrow::before, .sect::before { content: none; }
#screen:not(.decks-screen):not([data-route^="set/first"]) p.sub, p.sub { font: 400 15px/1.45 var(--pr-face); color: var(--pr-print); }
.small { color: var(--pr-dim); }

/* ---------- one card ----------
   a sheet: solid near-black, one hairline, square; hover lifts the hairline, never a glow. A tag is small print, not a box. */
#screen:not(.decks-screen):not([data-route^="set/first"]) .panel, #screen:not(.decks-screen):not([data-route^="set/first"]) .mode, .panel, .mode { background: var(--pr-sheet); border: 1px solid var(--pr-rule); border-radius: 2px; box-shadow: none; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .mode:hover, #screen:not(.decks-screen):not([data-route^="set/first"]) a.mode:focus-visible, .mode:hover { border-color: var(--pr-rule2); box-shadow: none; }
#screen:not(.decks-screen):not([data-route^="set/first"]) .mode b, .mode b { font-family: var(--flyer); font-weight: 400; letter-spacing: .03em; text-transform: uppercase; color: var(--pr-paper); }
/* notices: a rule down the left in the lit white (amber for a warning), no tint behind */
#screen:not(.decks-screen):not([data-route^="set/first"]) .alert, #screen:not(.decks-screen):not([data-route^="set/first"]) .note, #screen:not(.decks-screen):not([data-route^="set/first"]) .mn-notice { border: 0; border-left: 3px solid var(--pr-lit); border-radius: 0; background: var(--pr-sheet); box-shadow: none; color: var(--pr-print); }
#screen:not(.decks-screen):not([data-route^="set/first"]) p.warn, #screen:not(.decks-screen):not([data-route^="set/first"]) .alert.warn { border-left-color: var(--pr-warn); }

/* ---------- the typed voice ----------
   Courier Prime, bold, lower case where it is a label: a section's label, an eyebrow, a page's one line. */
#screen:not(.decks-screen):not([data-route^="set/first"]) .sect, #screen:not(.decks-screen):not([data-route^="set/first"]) h2.sc-h, #screen:not(.decks-screen):not([data-route^="set/first"]) .panel > h3, #screen:not(.decks-screen):not([data-route^="set/first"]) section > h3, #screen:not(.decks-screen):not([data-route^="set/first"]) .panel > .row > h3, .sect,
.eyebrow, #screen:not(.decks-screen):not([data-route^="set/first"]) .eyebrow { font: 700 14px/1.3 var(--pr-type); letter-spacing: .01em; text-transform: lowercase; }
#screen:not(.decks-screen):not([data-route^="set/first"]) p.sub, p.sub { font: 700 16px/1.4 var(--pr-type); letter-spacing: .005em; }

/* ---------- paper ----------
   The recipes every paper thing is built from (docs/LOOK.md). The tokens: --paper, --paper-ink, --paper-dim,
   --paper-hair, --paper-tex, --halftone, --pr-violet-paper.
   a tape label (.tag, and anything given the same recipe): a typed strip of the paper, a degree off square
   a stamp (.soon-tag, a grade): Anton capitals in the purple, a ruled frame, a few degrees off square */
.tag, #screen:not(.decks-screen):not([data-route^="set/first"]) .tag { display: inline-block; padding: 3px 8px 2px; border: 0; border-radius: 0; background: var(--paper-tex) 0 0 / 256px 256px, var(--paper); box-shadow: 0 1px 0 rgba(0, 0, 0, .45); font: 700 12.5px/1.2 var(--pr-type); letter-spacing: .01em; text-transform: lowercase; color: var(--paper-ink); transform: rotate(-1deg); }
.soon-tag, #screen:not(.decks-screen):not([data-route^="set/first"]) .soon-tag { display: inline-block; padding: 2px 8px 0; border: 2px solid currentColor; border-radius: 0; background: none; box-shadow: none; font: 400 14px/1.2 var(--flyer); letter-spacing: .04em; text-transform: uppercase; color: var(--pr-violet); transform: rotate(-3deg); white-space: nowrap; }

/* ---------- the form controls ---------- */
#screen input[type=text], #screen input[type=search], #screen input[type=number], #screen input[type=email], #screen input:not([type]), #screen select, #screen textarea { border: 1px solid rgba(var(--pr-warm), .24); border-radius: 3px; background: var(--pr-key); box-shadow: none; color: var(--pr-lit); font: 400 14px/1.3 var(--pr-face); }
#screen input[type=text]:focus, #screen input[type=search]:focus, #screen input[type=number]:focus, #screen input:not([type]):focus, #screen select:focus, #screen textarea:focus { outline: 1px solid var(--pr-lit); outline-offset: 0; border-color: var(--pr-lit); box-shadow: none; }
#screen input::placeholder, #screen textarea::placeholder { color: #8f8a7f; }
input[type=checkbox], input[type=radio] { accent-color: var(--pr-paper); }


/* ---------- the title: the photocopied sleeve ---------- */
#start.start { --sl: min(88vh, 52vw); --sx: 5vh; --sy: calc((100vh - var(--sl)) / 2); --peek: min(23vh, 12vw); --ink: #ecebe4; --small: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto auto auto auto auto; justify-items: start; align-items: end; gap: 0;
  padding: 8vh 4vw 7vh calc(var(--sx) + var(--sl) + var(--peek) + 5vh); text-align: left; background: #060606; overflow: hidden; }
/* the record first (under), then the sleeve over it */
#start.start::before { content: ''; position: absolute; z-index: 0; --rec: calc(var(--sl) * .955); width: var(--rec); height: var(--rec); left: calc(var(--sx) + var(--sl) + var(--peek) - var(--rec)); top: calc(var(--sy) + (var(--sl) - var(--rec)) / 2); background: url(look/sleeve-vinyl.webp) center / 100% 100% no-repeat; pointer-events: none; }
#start.start::after { content: ''; position: absolute; z-index: 1; width: var(--sl); height: var(--sl); left: var(--sx); top: var(--sy); background: url(look/sleeve-front.webp) center / 100% 100% no-repeat; box-shadow: 1.2vh 1vh 3vh rgba(0, 0, 0, .75), .2vh 0 0 rgba(0, 0, 0, .9); transform: rotate(-.7deg); pointer-events: none; }
#start.start > * { position: relative; z-index: 2; }

/* the wordmark is on the sleeve (the logo): the heading stays for a screen reader, off the page */
#start .start-brand { grid-row: 2; isolation: auto; margin: 0 0 3vh; }
#start .start-brand::before { display: none; }
#start .start-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#start .start-sub { margin: 0; font: 400 clamp(26px, 4.6vh, 50px)/.98 var(--flyer); letter-spacing: .02em; text-transform: uppercase; color: var(--ink); text-shadow: none; max-width: 11ch; }

#start .start-what { grid-row: 3; display: block; width: 100%; margin: 0 0 3.2vh; }
#start .start-what li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.4vh; row-gap: 0; align-items: baseline; height: auto; padding: 1.1vh 0 1vh; border: 0; border-top: 2px solid var(--ink); box-shadow: none; }
#start .start-what li:last-child { border-bottom: 2px solid var(--ink); }
#start .start-what b { grid-row: 1 / span 2; align-self: start; font: 400 clamp(26px, 4.4vh, 48px)/.9 var(--flyer); letter-spacing: 0; color: var(--ink); }
#start .start-what span { font: 400 clamp(17px, 2.5vh, 27px)/1.05 var(--flyer); letter-spacing: .03em; text-transform: uppercase; color: var(--ink); }
#start .start-what i { display: block; margin-top: .3vh; font: 500 clamp(16px, 2.15vh, 22px)/1.2 var(--small); font-style: normal; letter-spacing: .025em; color: #d2d0c8; }

/* the start: the listing's reversed bar, white with black type */
#start .start-go { grid-row: 4; margin: 0 0 2.4vh; width: 100%; }
#start .start-key { min-height: 0; display: block; padding: 1.7vh 1.6vh 1.5vh; border: 0; border-radius: 0; background: var(--ink); box-shadow: none; color: #060606; font: 400 clamp(17px, min(2.9vh, 1.6vw), 31px)/1.02 var(--flyer); letter-spacing: .04em; text-shadow: none; }
#start .start-key::after { display: none; }
#start:hover .start-key { background: #fff; }

#start .start-fs { grid-row: 5; gap: 1.2vh; margin: 0 0 1.6vh; font: 600 clamp(15px, 2vh, 20px)/1 var(--small); letter-spacing: .08em; text-transform: uppercase; color: #c9c7bf; animation: none; }
#screen #start .start-fs .bbtn { min-height: 0; box-shadow: none; text-shadow: none; padding: .5vh 1.1vh; border: 1px solid #c9c7bf; border-radius: 0; background: none; box-shadow: none; font: 600 clamp(15px, 2vh, 20px)/1 var(--small); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
#screen #start .start-fs .bbtn.primary { border-color: var(--ink); background: none; color: var(--ink); }
#screen #start .start-fs .bbtn.ghost { border-color: transparent; color: #c9c7bf; }
#screen #start .start-fs .bbtn:hover, #screen #start .start-fs .bbtn:focus-visible { background: var(--ink); color: #060606; outline: none; }
#start .start-note { grid-row: 6; max-width: none; font: 500 clamp(15px, 1.95vh, 19px)/1.34 var(--small); letter-spacing: .02em; color: #bcbab2; }

/* ---------- the booth: one plate under one lamp ---------- */
body.decks-on { --lm-print: #bbb4a6; --lm-dim: #a59f92; --lm-lit: #f4ecdc; --lm-amber: #ffe2b4; --lm-warm: 255, 214, 170; --lm-led-g: #46e08f; --lm-led-r: #f0484d; --lm-led-a: #f2ea78;
  --lm-face: 'B612', 'Verdana', sans-serif; --pl-pop: 'Lexend', 'Helvetica Neue', Arial, sans-serif; --room-1: 176, 102, 255; --room-2: 176, 102, 255; --room-i: 0; --room-p: 0;
  --v2-knob-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cdefs%3E%3ClinearGradient id='e' x1='1' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff3e0' stop-opacity='.78'/%3E%3Cstop offset='.3' stop-color='%23fff3e0' stop-opacity='.12'/%3E%3Cstop offset='1' stop-color='%23fff3e0' stop-opacity='0'/%3E%3C/linearGradient%3E%3CradialGradient id='t' cx='0.68' cy='.24' r='.82'%3E%3Cstop offset='0' stop-color='%233a3733'/%3E%3Cstop offset='.45' stop-color='%23191817'/%3E%3Cstop offset='1' stop-color='%23090909'/%3E%3C/radialGradient%3E%3ClinearGradient id='s' x1='1' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23e6ddcc'/%3E%3Cstop offset='.45' stop-color='%239a9488'/%3E%3Cstop offset='1' stop-color='%2357534c'/%3E%3C/linearGradient%3E%3ClinearGradient id='f' x1='1' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%2355514b'/%3E%3Cstop offset='.4' stop-color='%231f1e1c'/%3E%3Cstop offset='1' stop-color='%23111110'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cellipse cx='55' cy='71' rx='52' ry='48' fill='%23000' opacity='.7'/%3E%3Ccircle cx='60' cy='63.5' r='54' fill='url(%23s)'/%3E%3Ccircle cx='60' cy='57' r='50.5' fill='%23040404'/%3E%3Ccircle cx='60' cy='57' r='46' fill='none' stroke='url(%23f)' stroke-width='9' stroke-dasharray='8.03 8.03'/%3E%3Ccircle cx='60' cy='56' r='40.5' fill='url(%23t)'/%3E%3Ccircle cx='60' cy='56' r='40.5' fill='none' stroke='%23000' stroke-opacity='.7' stroke-width='1.5'/%3E%3Ccircle cx='60' cy='57' r='49.6' fill='none' stroke='url(%23e)' stroke-width='2.2'/%3E%3C/svg%3E");
  --v2-knob-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cdefs%3E%3ClinearGradient id='e' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff3e0' stop-opacity='.78'/%3E%3Cstop offset='.3' stop-color='%23fff3e0' stop-opacity='.12'/%3E%3Cstop offset='1' stop-color='%23fff3e0' stop-opacity='0'/%3E%3C/linearGradient%3E%3CradialGradient id='t' cx='0.32' cy='.24' r='.82'%3E%3Cstop offset='0' stop-color='%233a3733'/%3E%3Cstop offset='.45' stop-color='%23191817'/%3E%3Cstop offset='1' stop-color='%23090909'/%3E%3C/radialGradient%3E%3ClinearGradient id='s' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23e6ddcc'/%3E%3Cstop offset='.45' stop-color='%239a9488'/%3E%3Cstop offset='1' stop-color='%2357534c'/%3E%3C/linearGradient%3E%3ClinearGradient id='f' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%2355514b'/%3E%3Cstop offset='.4' stop-color='%231f1e1c'/%3E%3Cstop offset='1' stop-color='%23111110'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cellipse cx='65' cy='71' rx='52' ry='48' fill='%23000' opacity='.7'/%3E%3Ccircle cx='60' cy='63.5' r='54' fill='url(%23s)'/%3E%3Ccircle cx='60' cy='57' r='50.5' fill='%23040404'/%3E%3Ccircle cx='60' cy='57' r='46' fill='none' stroke='url(%23f)' stroke-width='9' stroke-dasharray='8.03 8.03'/%3E%3Ccircle cx='60' cy='56' r='40.5' fill='url(%23t)'/%3E%3Ccircle cx='60' cy='56' r='40.5' fill='none' stroke='%23000' stroke-opacity='.7' stroke-width='1.5'/%3E%3Ccircle cx='60' cy='57' r='49.6' fill='none' stroke='url(%23e)' stroke-width='2.2'/%3E%3C/svg%3E");
  --v2-metal-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cdefs%3E%3ClinearGradient id='m' x1='1' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23f1e9da'/%3E%3Cstop offset='.26' stop-color='%236d6962'/%3E%3Cstop offset='.55' stop-color='%2334322f'/%3E%3Cstop offset='1' stop-color='%231c1b19'/%3E%3C/linearGradient%3E%3CradialGradient id='t' cx='0.66' cy='.26' r='.8'%3E%3Cstop offset='0' stop-color='%232a2826'/%3E%3Cstop offset='1' stop-color='%23080808'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cellipse cx='55' cy='70' rx='54' ry='50' fill='%23000' opacity='.7'/%3E%3Ccircle cx='60' cy='60' r='55' fill='url(%23m)'/%3E%3Ccircle cx='60' cy='60' r='50.5' fill='none' stroke='%23000' stroke-opacity='.5' stroke-width='8' stroke-dasharray='1.7 2.27'/%3E%3Ccircle cx='60' cy='60' r='43' fill='url(%23t)'/%3E%3Ccircle cx='60' cy='60' r='43' fill='none' stroke='%23000' stroke-opacity='.75' stroke-width='1.4'/%3E%3Cg fill='none' stroke='%23fff3e0' stroke-opacity='.09' stroke-width='1'%3E%3Ccircle cx='60' cy='60' r='36'/%3E%3Ccircle cx='60' cy='60' r='29'/%3E%3Ccircle cx='60' cy='60' r='22'/%3E%3Ccircle cx='60' cy='60' r='15'/%3E%3Ccircle cx='60' cy='60' r='8'/%3E%3C/g%3E%3C/svg%3E");
  --v2-metal-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cdefs%3E%3ClinearGradient id='m' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23f1e9da'/%3E%3Cstop offset='.26' stop-color='%236d6962'/%3E%3Cstop offset='.55' stop-color='%2334322f'/%3E%3Cstop offset='1' stop-color='%231c1b19'/%3E%3C/linearGradient%3E%3CradialGradient id='t' cx='0.34' cy='.26' r='.8'%3E%3Cstop offset='0' stop-color='%232a2826'/%3E%3Cstop offset='1' stop-color='%23080808'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cellipse cx='65' cy='70' rx='54' ry='50' fill='%23000' opacity='.7'/%3E%3Ccircle cx='60' cy='60' r='55' fill='url(%23m)'/%3E%3Ccircle cx='60' cy='60' r='50.5' fill='none' stroke='%23000' stroke-opacity='.5' stroke-width='8' stroke-dasharray='1.7 2.27'/%3E%3Ccircle cx='60' cy='60' r='43' fill='url(%23t)'/%3E%3Ccircle cx='60' cy='60' r='43' fill='none' stroke='%23000' stroke-opacity='.75' stroke-width='1.4'/%3E%3Cg fill='none' stroke='%23fff3e0' stroke-opacity='.09' stroke-width='1'%3E%3Ccircle cx='60' cy='60' r='36'/%3E%3Ccircle cx='60' cy='60' r='29'/%3E%3Ccircle cx='60' cy='60' r='22'/%3E%3Ccircle cx='60' cy='60' r='15'/%3E%3Ccircle cx='60' cy='60' r='8'/%3E%3C/g%3E%3C/svg%3E");
  --v2-scale: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-72 -72 144 144'%3E%3Cg fill='%23cfc8ba'%3E%3Ccircle cx='0' cy='-65.5' r='2.9' fill-opacity='0.95' transform='rotate(-135)'/%3E%3Ccircle cx='0' cy='-65.5' r='1.9' fill-opacity='0.55' transform='rotate(-108)'/%3E%3Ccircle cx='0' cy='-65.5' r='1.9' fill-opacity='0.55' transform='rotate(-81)'/%3E%3Ccircle cx='0' cy='-65.5' r='1.9' fill-opacity='0.55' transform='rotate(-54)'/%3E%3Ccircle cx='0' cy='-65.5' r='1.9' fill-opacity='0.55' transform='rotate(-27)'/%3E%3Ccircle cx='0' cy='-65.5' r='2.9' fill-opacity='0.95' transform='rotate(0)'/%3E%3Ccircle cx='0' cy='-65.5' r='1.9' fill-opacity='0.55' transform='rotate(27)'/%3E%3Ccircle cx='0' cy='-65.5' r='1.9' fill-opacity='0.55' transform='rotate(54)'/%3E%3Ccircle cx='0' cy='-65.5' r='1.9' fill-opacity='0.55' transform='rotate(81)'/%3E%3Ccircle cx='0' cy='-65.5' r='1.9' fill-opacity='0.55' transform='rotate(108)'/%3E%3Ccircle cx='0' cy='-65.5' r='2.9' fill-opacity='0.95' transform='rotate(135)'/%3E%3C/g%3E%3C/svg%3E");
  --v2-scale-filter: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-72 -72 144 144'%3E%3Cg fill='%23cfc8ba' fill-opacity='.8'%3E%3Ccircle cx='0' cy='-66' r='1.40' transform='rotate(-135)'/%3E%3Ccircle cx='0' cy='-66' r='1.56' transform='rotate(-112.5)'/%3E%3Ccircle cx='0' cy='-66' r='1.72' transform='rotate(-90)'/%3E%3Ccircle cx='0' cy='-66' r='1.88' transform='rotate(-67.5)'/%3E%3Ccircle cx='0' cy='-66' r='2.04' transform='rotate(-45)'/%3E%3Ccircle cx='0' cy='-66' r='2.20' transform='rotate(-22.5)'/%3E%3Ccircle cx='0' cy='-66' r='2.36' transform='rotate(0)'/%3E%3Ccircle cx='0' cy='-66' r='2.52' transform='rotate(22.5)'/%3E%3Ccircle cx='0' cy='-66' r='2.68' transform='rotate(45)'/%3E%3Ccircle cx='0' cy='-66' r='2.84' transform='rotate(67.5)'/%3E%3Ccircle cx='0' cy='-66' r='3.00' transform='rotate(90)'/%3E%3Ccircle cx='0' cy='-66' r='3.16' transform='rotate(112.5)'/%3E%3Ccircle cx='0' cy='-66' r='3.32' transform='rotate(135)'/%3E%3C/g%3E%3C/svg%3E");
  --v2-screw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Ccircle cx='6' cy='6' r='5' fill='%23000'/%3E%3Ccircle cx='6' cy='6' r='4.2' fill='%23171716'/%3E%3Ccircle cx='6' cy='6' r='4.2' fill='none' stroke='%2333312e' stroke-width='.6'/%3E%3Cpath d='M2.6 6h6.8M6 2.6v6.8' stroke='%23020202' stroke-width='1.2'/%3E%3C/svg%3E");
}
/* the room: as bright as today's (Dean, 16 Nov: the lights stay as dramatic as they are with no look set; nothing here dims #lightsBg, the bass halo or a hit) */

/* ====================================================================================================================
   1. ONE PLATE: black, the lamp's one pool of light over the mixer reaching the decks' near sides, the room's colour
      as a thin line along its far edge
   ==================================================================================================================== */
#screen .decks3, #screen .decks3 .mixer, body.timing-up #screen .decks3 .mixer { --kd: clamp(42px, 6vh, 66px); --kr: clamp(60px, 8.5vh, 102px); --nw: 46px; --side: calc(var(--kd) * .86 + 26px); --fw: 54px; }
#screen .decks3 { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(560px, 49%) minmax(0, 1fr); gap: 0; align-items: stretch; border: 1px solid #000; border-radius: 5px; background-color: #070707;
  background-image:
    var(--v2-screw), var(--v2-screw), var(--v2-screw), var(--v2-screw),
    url(look/plate-grain.webp);
  background-position: 7px 7px, calc(100% - 7px) 7px, 7px calc(100% - 7px), calc(100% - 7px) calc(100% - 7px), 0 0;
  background-size: 10px 10px, 10px 10px, 10px 10px, 10px 10px, 256px 256px;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .7); }
/* (19 Nov) the room's colour on the plate, cheaply: booth-look.js writes --room-* on .decks3 up to 12 times a second. As
   ordinary custom properties they inherited, so each write restyled the plate's ~250 controls and repainted the whole
   plate (CI's mixperf at 4x CPU: 1.2 s of blocking a minute, against 0.09 s on main). Registered as not inherited, a write
   restyles .decks3 alone; the lamp's pool and the room's top line sit on .decks3::before (which takes them with inherit),
   its own layer, so only it repaints. */
@property --room-1 { syntax: '*'; inherits: false; initial-value: 176, 102, 255; }
@property --room-2 { syntax: '*'; inherits: false; initial-value: 176, 102, 255; }
@property --room-i { syntax: '<number>'; inherits: false; initial-value: 0; }
@property --room-p { syntax: '<number>'; inherits: false; initial-value: 0; }
#screen .decks3::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit; will-change: transform;
  --room-1: inherit; --room-i: inherit;
  background: radial-gradient(46% 92% at 50% 10%, rgba(var(--lm-warm), calc(.15 + .05 * var(--room-i))) 0, rgba(var(--lm-warm), calc(.075 + .025 * var(--room-i))) 40%, rgba(var(--lm-warm), .028) 72%, transparent 100%);
  box-shadow: inset 0 1px 0 rgba(var(--room-1), calc(.10 + .5 * var(--room-i))); }
#screen.decks-hud .decks3, #screen.decks-hud .decks3 .mixer, body.timing-up #screen.decks-hud .decks3 .mixer { --kr: clamp(52px, 7.3vh, 92px); }   /* a lesson's screen: the plate a little lower, so the lanes keep their height under the coach */
/* the sections: no boxes, an engraved line either side of the mixer (a dark cut, its lip catching the lamp), two screws on each */
#screen .decks3 > .panel { position: relative; margin: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
#screen .decks3 > .panel.mixer { background:
    var(--v2-screw) 6px 7px / 10px 10px no-repeat, var(--v2-screw) calc(100% - 6px) 7px / 10px 10px no-repeat, var(--v2-screw) 6px calc(100% - 7px) / 10px 10px no-repeat, var(--v2-screw) calc(100% - 6px) calc(100% - 7px) / 10px 10px no-repeat;
  box-shadow: inset 1px 0 0 #000, inset 2px 0 0 rgba(var(--lm-warm), .09), inset -1px 0 0 #000, inset -2px 0 0 rgba(var(--lm-warm), .09); }
/* the deep room (Club and Dark room, a deck playing on Free mix, Set mode, a night): the plate lets the room through as today's panels do (their ground .5), the sections staying boxless; Subtle and a slow machine keep it solid */
body.room-deep:not(.slow-frames) #screen.decks-screen .decks3 { background-color: rgba(7, 7, 7, .5); }
body.room-deep #screen.decks-screen .decks3 > .panel { background-color: transparent; }
/* design/lights-wow: the new room (booth-lights.js WOW, the switch booth-lightsWow; body.lights-wow switches with body.room-deep, never as a deck starts): the plate lets a little more of the room through (WOW.under.see .6); the light behind its words stays capped (WOW.under.lum: the labels keep 4.5:1, design-check --deep) */
body.room-deep.lights-wow:not(.slow-frames) #screen.decks-screen .decks3 { background-color: rgba(7, 7, 7, .4); }
/* its small print keeps 4.5:1 over the brighter room on its own solid ground (never by dimming the light): the knobs' and the readouts' muted names on a near-black chip (box-shadow, so nothing moves), the faders' labels (they wrap their controls) a step lighter in the print's colour */
body.room-deep.lights-wow:not(.slow-frames) #screen.decks-screen .decks3 > .panel :is(.kn-name, .muted.small, .tag, .grow:not(.ttl), .dk, .mono, .fg-end, .fg-key) { background-color: rgba(9, 8, 11, .92); box-shadow: 0 0 0 2px rgba(9, 8, 11, .92); }
body.room-deep.lights-wow:not(.slow-frames) #screen.decks-screen .decks3 > .panel :is(label.vf, label.slider) { color: #d2cbbd; }

/* ====================================================================================================================
   2. THE PRINT: small, lower case, just above the dark; the numbers lit amber
   ==================================================================================================================== */
#screen .decks3, #screen .decks3 .bbtn, #screen .decks3 .kn, #screen .decks3 .vf, #screen .decks3 .slider { font-family: var(--lm-face); }
#screen .decks3 .deckp .dk, #screen .decks3 .mcol > .dk { border: 0; border-radius: 0; background: none; box-shadow: none; padding: 0; font: 700 13px/18px var(--lm-face); letter-spacing: .06em; text-transform: lowercase; color: var(--lm-print); white-space: nowrap; }
#screen .decks3 .deckA .dk::before, #screen .decks3 .deckB .dk::before { content: ''; display: inline-block; width: 7px; height: 7px; margin: 0 7px 1px 0; border-radius: 50%; background: var(--deckA); box-shadow: 0 0 4px 0 var(--deckA); }
#screen .decks3 .deckB .dk::before { background: var(--deckB); box-shadow: 0 0 4px 0 var(--deckB); }
#screen .decks3 .deckp .ttl { font: 700 16px/21px var(--lm-face); letter-spacing: 0; color: var(--lm-lit); }
#screen .decks3 .deckp .ttl.empty { font-weight: 400; color: var(--lm-dim); }
#screen .decks3 .deckp .gridwarn { font: 400 12.5px/1.3 var(--lm-face); }

/* ====================================================================================================================
   3. A DECK: what a beginner touches. Its name and Load track; the track; the platter and the tempo read-out; three
      big keys; the tempo fader. START, Q, SLIP and the nudge row are behind the one fold (THE BOOTH: ONE FOLD, below).
   ==================================================================================================================== */
#screen .decks3 > .deckp { display: flex; flex-direction: column; gap: clamp(7px, 1.1vh, 14px); padding: 12px 20px 10px 22px; min-width: 0; }
#screen .decks3 > .deckp.deckB { padding: 12px 22px 10px 20px; }
#screen .decks3 > .deckp > .row:not(.wrap) { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; column-gap: 10px; row-gap: 3px; }
#screen .decks3 > .deckp > .row:not(.wrap) > .dk { grid-area: 1 / 1; justify-self: start; background: none; border: 0; padding: 0; font-size: 13px; }
#screen .decks3 > .deckp > .row:not(.wrap) .ldwrap { grid-area: 1 / 2; }
#screen .decks3 > .deckp > .row:not(.wrap) .ttl { grid-area: 2 / 1 / 3 / 3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#screen .decks3 .deckp .ldwrap .bbtn { min-height: 0; padding: 5px 10px 5px; font-size: 12.5px; line-height: 16px; }
/* the read-outs: the platter turning, the tempo big and amber with its change under it, the key and the time left at the right */
#screen .decks3 .deckp .dstats { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 12px; row-gap: 2px; align-items: center; font-family: var(--lm-face); color: #d9b98a; }
#screen .decks3 .deckp .dstats > .jogd { grid-area: 1 / 1 / 3 / 2; display: block; width: clamp(44px, 6.4vh, 70px); height: clamp(44px, 6.4vh, 70px); margin: 0; }
#screen .decks3 .deckp .dstats > div:nth-child(2) { grid-area: 1 / 2 / 2 / 3; white-space: nowrap; }
#screen .decks3 .deckp .dstats > [id^="pitch"] { grid-area: 2 / 2 / 3 / 3; justify-self: start; }
#screen .decks3 .deckp .dstats > [id^="key"] { grid-area: 1 / 3 / 2 / 4; align-self: end; }
#screen .decks3 .deckp .dstats > [id^="time"] { grid-area: 2 / 3 / 3 / 4; }
#screen .decks3 .deckp .dstats > div:nth-child(2) .big { font: 700 clamp(24px, 3.2vh, 34px)/1.08 var(--lm-face); letter-spacing: .01em; font-variant-numeric: tabular-nums; color: var(--lm-amber); text-shadow: 0 0 10px rgba(255, 200, 130, .28); }
#screen .decks3 .deckp .dstats > div:nth-child(2) .small { font: 400 12.5px/1 var(--lm-face); letter-spacing: .02em; text-transform: lowercase; color: var(--lm-dim); }
#screen .decks3 .deckp .dstats > .mono { justify-self: end; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 13px/17px var(--lm-face); letter-spacing: .03em; font-variant-numeric: tabular-nums; color: #d9b98a; }
#screen .decks3 .deckp .dstats > .mono:empty::before { content: '\00a0'; }
/* the keys: PLAY / PAUSE, CUE and SYNC, big; START, Q and SLIP a smaller row under them when More is open */
#screen .decks3 .deckp .dbtns { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); grid-auto-rows: auto; gap: 8px; }
#screen .decks3 .deckp .dbtns .tbtn { min-width: 0; min-height: 0; height: clamp(40px, 6.2vh, 62px); padding: 0 2px; font: 400 clamp(13.5px, 1.8vh, 16px)/1 var(--lm-face); letter-spacing: .02em; white-space: nowrap; }
#screen .decks3 .deckp .dbtns .tbtn[data-b$=".play"] { order: 1; }
#screen .decks3 .deckp .dbtns .tbtn[data-b$=".cue"] { order: 2; }
#screen .decks3 .deckp .dbtns .tbtn[data-b$=".sync"] { order: 3; }
#screen .decks3 .deckp .dbtns .tbtn[data-b$=".start"] { order: 4; }
#screen .decks3 .deckp .dbtns .tbtn[data-b$=".quant"] { order: 5; }
#screen .decks3 .deckp .dbtns .tbtn[data-b$=".slip"] { order: 6; }
#screen .decks3 .deckp .dbtns .tbtn[data-b$=".start"], #screen .decks3 .deckp .dbtns .tbtn[data-b$=".quant"], #screen .decks3 .deckp .dbtns .tbtn[data-b$=".slip"] { height: 30px; font-size: 13px; }
#screen .decks3 .deckp > .drow { gap: 6px; }
#screen .decks3 .deckp > .drow .bbtn { min-height: 0; padding: 4px 9px 4px; font-size: 12.5px; line-height: 16px; }
/* the tempo fader: its name printed over its slot, the way round as small print */
#screen .decks3 .deckp label.slider:not(.fxamt) { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 16px 26px; column-gap: 8px; row-gap: 2px; align-items: center; font: 400 13px/16px var(--lm-face); letter-spacing: .02em; text-transform: lowercase; color: var(--lm-print); }
#screen .decks3 .deckp label.slider:not(.fxamt) .tiny { justify-self: end; font: 400 12px/16px var(--lm-face); letter-spacing: 0; color: var(--lm-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
#screen .decks3 .deckp label.slider:not(.fxamt) > input[type=range] { grid-column: 1 / -1; grid-row: 2; width: 100%; height: 26px; margin: 0; }
#screen .decks3 .deckp .fx-on.fx-intro { font: 400 12px/1.35 var(--lm-face); color: var(--lm-dim); border: 0; background: none; }
#screen .decks3 .deckp .slider.fxamt { font: 400 12.5px/16px var(--lm-face); text-transform: lowercase; color: var(--lm-print); }

/* ====================================================================================================================
   4. THE MIXER: the middle of the plate, under the lamp. Each channel: TRIM and FILTER and the headphone key aside,
      HIGH over MID over LOW, the volume fader (tall), its meter; the master's meter stands between the two channels;
      the crossfader lies across the foot.
   ==================================================================================================================== */
#screen .decks3 > .mixer { display: grid; grid-template-columns: minmax(0, 1fr) clamp(170px, 15vw, 300px) minmax(0, 1fr); grid-template-rows: auto auto; grid-auto-rows: auto; column-gap: 10px; row-gap: 5px; align-content: start; padding: 10px 18px 8px; }
#screen .decks3 .mcols { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: auto auto; justify-content: center; column-gap: 50px; }
#screen .decks3 .mcol { position: relative; display: grid; grid-template-columns: var(--side) calc(var(--nw) + 10px + var(--kd)) var(--fw) 10px; grid-template-rows: repeat(3, var(--kr)); column-gap: clamp(8px, 1.1vw, 24px); row-gap: 0; align-items: center; }
#screen .decks3 .mcol.deckB { grid-template-columns: 10px var(--fw) calc(var(--nw) + 10px + var(--kd)) var(--side); }
/* the side column: the channel's letter, TRIM, FILTER, the headphone key (top to bottom) */
#screen .decks3 .mcol > .dk { grid-column: 1; grid-row: 1; align-self: start; justify-self: center; margin-top: -1px; font-size: 12.5px; line-height: 16px; }
#screen .decks3 .mcol.deckB > .dk { grid-column: 4; }
#screen .decks3 .mcol > .kn[data-kn="trim"] { grid-column: 1; grid-row: 1 / 3; align-self: start; margin-top: 21px; }
#screen .decks3 .mcol > .kn[data-kn="filter"] { grid-column: 1; grid-row: 2 / 4; align-self: end; margin-bottom: 38px; }
#screen .decks3 .mcol.deckB > .kn[data-kn="trim"], #screen .decks3 .mcol.deckB > .kn[data-kn="filter"] { grid-column: 4; }
#screen .decks3 .mcol > .pfl { grid-column: 1; grid-row: 3; align-self: end; justify-self: stretch; margin: 0; min-height: 0; padding: 3px 2px 3px; font: 400 12px/12.5px var(--lm-face); letter-spacing: 0; white-space: normal; }
#screen .decks3 .mcol.deckB > .pfl { grid-column: 4; }
/* the EQ: three rows, the name beside its knob (towards the outside), the knob towards the fader */
#screen .decks3 .mcol > .kn[data-kn="eqHigh"] { grid-column: 2; grid-row: 1; }
#screen .decks3 .mcol > .kn[data-kn="eqMid"] { grid-column: 2; grid-row: 2; }
#screen .decks3 .mcol > .kn[data-kn="eqLow"] { grid-column: 2; grid-row: 3; }
#screen .decks3 .mcol.deckB > .kn[data-kn^="eq"] { grid-column: 3; }
#screen .decks3 .mcol > .kn[data-kn^="eq"] { height: var(--kr); grid-template-columns: var(--nw) var(--kd); grid-template-rows: var(--kr); column-gap: 10px; justify-content: end; align-items: center; }
#screen .decks3 .mcol.deckB > .kn[data-kn^="eq"] { grid-template-columns: var(--kd) var(--nw); justify-content: start; }
#screen .decks3 .mcol > .kn[data-kn^="eq"] > .kn-name { grid-area: 1 / 1; }
#screen .decks3 .mcol > .kn[data-kn^="eq"] > .knob, #screen .decks3 .mcol > .kn[data-kn^="eq"] > input[type=range] { grid-area: 1 / 2; }
#screen .decks3 .mcol.deckB > .kn[data-kn^="eq"] > .kn-name { grid-area: 1 / 2; }
#screen .decks3 .mcol.deckB > .kn[data-kn^="eq"] > .knob, #screen .decks3 .mcol.deckB > .kn[data-kn^="eq"] > input[type=range] { grid-area: 1 / 1; }
/* TRIM and FILTER: the name over the knob, smaller */
#screen .decks3 .mcol > .kn[data-kn="trim"], #screen .decks3 .mcol > .kn[data-kn="filter"] { --kd2: calc(var(--kd) * .7); height: auto; grid-template-columns: minmax(0, 1fr); grid-template-rows: 16px calc(var(--kd2) + 14px); row-gap: 0; column-gap: 0; justify-items: center; text-align: center; }
#screen .decks3 .mcol > .kn[data-kn="filter"] { --kd2: calc(var(--kd) * .86); }
#screen .decks3 .mcol > .kn[data-kn="trim"] > .kn-name, #screen .decks3 .mcol > .kn[data-kn="filter"] > .kn-name, #screen .decks3 .mcol.deckB > .kn[data-kn="trim"] > .kn-name, #screen .decks3 .mcol.deckB > .kn[data-kn="filter"] > .kn-name { grid-area: 1 / 1; }
#screen .decks3 .mcol > .kn[data-kn="trim"] > .knob, #screen .decks3 .mcol > .kn[data-kn="filter"] > .knob, #screen .decks3 .mcol > .kn[data-kn="trim"] > input[type=range], #screen .decks3 .mcol > .kn[data-kn="filter"] > input[type=range] { grid-area: 2 / 1; width: var(--kd2); height: var(--kd2); align-self: center; }
/* the names: lower case, each band's LED dot beside it (the lanes' red, yellow and pink) */
#screen .decks3 .kn { font: 400 clamp(13.5px, 1.8vh, 16px)/1 var(--lm-face); letter-spacing: .02em; text-transform: lowercase; color: var(--lm-print); text-shadow: none; }
#screen .decks3 .kn[data-kn="trim"], #screen .decks3 .kn[data-kn="filter"] { font-size: 12px; color: var(--lm-dim); }
#screen .decks3 .mcol .kn[data-kn^="eq"] > .kn-name { padding: 0 0 0 12px; text-align: left; background: radial-gradient(circle at 3.5px 50%, var(--kc) 0 3px, transparent 3.6px) 0 0 / 9px 15px no-repeat; }
#screen .decks3 .mcol.deckB .kn[data-kn^="eq"] > .kn-name { padding: 0 12px 0 0; text-align: right; background: radial-gradient(circle at 5.5px 50%, var(--kc) 0 3px, transparent 3.6px) 100% 0 / 9px 15px no-repeat; }
body.plain-bands #screen .decks3 .kn-sub { display: block; margin-top: 4px; font: 400 12px/1 var(--lm-face); letter-spacing: 0; text-transform: lowercase; color: var(--lm-dim); }
body.fm-fold #screen .decks3 .mixer .kn[data-kn^="eq"] > .kn-name { color: var(--lm-print); }
body.fm-fold #screen .decks3 .mixer .kn[data-kn="eqLow"] > .kn-name { color: #fff; font-weight: 700; }
/* the channel strips: a printed hairline between each EQ column and its fader, the way the plate rules its sections */
#screen .decks3 .mcol.deckA { background: linear-gradient(rgba(var(--lm-warm), .13), rgba(var(--lm-warm), .13)) calc(100% - var(--fw) - 10px - clamp(8px, 1.1vw, 24px) * 1.5) 50% / 1px calc(100% - 16px) no-repeat; }
#screen .decks3 .mcol.deckB { background: linear-gradient(rgba(var(--lm-warm), .13), rgba(var(--lm-warm), .13)) calc(var(--fw) + 10px + clamp(8px, 1.1vw, 24px) * 1.5) 50% / 1px calc(100% - 16px) no-repeat; }

/* ====================================================================================================================
   5. THE KNOBS: black on black; an edge of light on the lamp's side, the pointer line the brightest thing on them,
      the scale printed on the plate as dots
   ==================================================================================================================== */
#screen .decks3 .kn > .knob, #screen .decks3 .kn > input[type=range] { width: var(--kd); height: var(--kd); justify-self: center; }
#screen .decks3 .knob { padding: 0; border-radius: 50%; overflow: visible; background: var(--v2-knob-a) center / 100% 100% no-repeat; box-shadow: none; }
#screen .decks3 .mcol.deckB .knob { background-image: var(--v2-knob-b); }
#screen .decks3 .kn[data-kn="filter"] .knob { background-image: var(--v2-metal-a); }
#screen .decks3 .mcol.deckB .kn[data-kn="filter"] .knob { background-image: var(--v2-metal-b); }
/* the hit area grows with the picture: the input lies over the knob and its printed scale */
#screen .decks3 .kn > input[type=range] { transform: scale(1.3); }
#screen .decks3 .kn:not([data-ghost]) .knob::before { content: ''; position: absolute; left: -17%; top: -19.5%; width: 134%; height: 134%; margin: 0; background: var(--v2-scale) center / 100% 100% no-repeat; opacity: .85; }
#screen .decks3 .kn[data-kn="filter"]:not([data-ghost]) .knob::before { left: -19%; top: -19%; width: 138%; height: 138%; background-image: var(--v2-scale-filter); }
/* the pointer: a white line moulded into the cap, from its edge a third of the way in, out over the skirt */
#screen .decks3 .knob > i { left: 50%; top: 3%; bottom: 53.3%; width: 8%; min-width: 3px; margin-left: -4%; border-radius: 1.5px; background: linear-gradient(180deg, #fff 0 68%, transparent 68%); box-shadow: none; }
#screen .decks3 .kn[data-kn="filter"] .knob > i { top: 12%; bottom: 50%; background: linear-gradient(180deg, #fff 0 80%, transparent 80%); }
#screen .decks3 .kn:hover .knob { filter: brightness(1.6); box-shadow: none; }
#screen .decks3 .kn:focus-within .knob, #screen .decks3 .mcol.deckB .kn:focus-within .knob { box-shadow: 0 0 0 2px #000, 0 0 0 3.5px var(--lm-lit); }
/* a band that is out: its LED goes dark with the knob (the dot's light follows the knob's first quarter) */
#screen .decks3 .mcol .kn[data-kn^="eq"] > .kn-name { --kled: color-mix(in srgb, var(--kc) calc(clamp(.2, var(--v, .5) * 4, 1) * 100%), #1c1b1a); background-image: radial-gradient(circle at 3.5px 50%, var(--kled) 0 3px, transparent 3.6px); }
#screen .decks3 .mcol.deckB .kn[data-kn^="eq"] > .kn-name { background-image: radial-gradient(circle at 5.5px 50%, var(--kled) 0 3px, transparent 3.6px); }

/* ====================================================================================================================
   6. THE FADERS: a black cap whose white line is what you see, in a slot, the ticks printed either side as dots
   ==================================================================================================================== */
#screen .decks3 .mcol > .vf { grid-column: 3; grid-row: 1 / 4; align-self: stretch; display: grid; grid-template-rows: 16px minmax(0, 1fr); gap: 4px; justify-items: center; padding: 2px 0 0; font: 400 12px/16px var(--lm-face); letter-spacing: .02em; text-transform: lowercase; color: var(--lm-dim); }
#screen .decks3 .mcol.deckB > .vf { grid-column: 2; }
#screen .decks3 input.vert { width: var(--fw); height: 100%; min-height: 0; margin: 0; background:
    radial-gradient(circle, #cfc8ba 0 1.6px, transparent 2.1px) 5px 11px / 6px 6px no-repeat, radial-gradient(circle, #cfc8ba 0 1.6px, transparent 2.1px) calc(100% - 5px) 11px / 6px 6px no-repeat,
    radial-gradient(circle, #cfc8ba 0 1.6px, transparent 2.1px) 5px 50% / 6px 6px no-repeat, radial-gradient(circle, #cfc8ba 0 1.6px, transparent 2.1px) calc(100% - 5px) 50% / 6px 6px no-repeat,
    radial-gradient(circle, #cfc8ba 0 1.6px, transparent 2.1px) 5px calc(100% - 11px) / 6px 6px no-repeat, radial-gradient(circle, #cfc8ba 0 1.6px, transparent 2.1px) calc(100% - 5px) calc(100% - 11px) / 6px 6px no-repeat,
    repeating-linear-gradient(180deg, rgba(207, 200, 186, .34) 0 1px, transparent 1px 10%) 12px 14px / 5px calc(100% - 27px) no-repeat, repeating-linear-gradient(180deg, rgba(207, 200, 186, .34) 0 1px, transparent 1px 10%) calc(100% - 12px) 14px / 5px calc(100% - 27px) no-repeat; }
#screen .decks3 input.vert::-webkit-slider-runnable-track { width: 6px; border-radius: 1px; background: #000; box-shadow: 0 0 0 1px rgba(var(--lm-warm), .14); }
#screen .decks3 input.vert::-webkit-slider-thumb, #screen .decks3 .mcol.deckB input.vert::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; box-sizing: border-box; width: 42px; height: 26px; margin-left: -18px; border: 0; border-radius: 2.5px;
  background: linear-gradient(180deg, #5a5650 0, #2a2826 10%, #141413 34%, #0d0d0d 44%, #fff 44%, #fff 56%, #0a0a0a 56%, #060606 84%, #1c1b19 100%);
  box-shadow: inset 1px 0 0 rgba(var(--lm-warm), .12), 0 0 0 1px #000, 0 6px 8px rgba(0, 0, 0, .85); }
#screen .decks3 input.vert:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1px #000, 0 0 0 3px var(--lm-lit); }
#screen .decks3 .vf.wv-glow, #screen .decks3 .vf.wv-glow.wv-open { box-shadow: none; animation: none; }
#screen .decks3 .vf.wv-glow input.vert::-webkit-slider-thumb { box-shadow: 0 0 0 1px #000, 0 0 0 3.5px var(--lm-lit); }
/* the crossfader (across the foot of the mixer) and the tempo faders: the same cap, upright in a sideways slot */
#screen .decks3 .mixer > .slider.xf { grid-column: 2 / 4; grid-row: 2; display: grid; grid-template-columns: clamp(170px, 15vw, 300px) minmax(0, 1fr); grid-template-rows: 13px 24px; column-gap: 10px; row-gap: 1px; align-items: center; justify-items: center; margin: 0; font: 400 12px/13px var(--lm-face); letter-spacing: .02em; text-transform: lowercase; color: var(--lm-dim); }
#screen .decks3 .mixer > .slider.xf > input[type=range] { grid-area: 2 / 1; width: 100%; height: 24px; margin: 0; }
#screen .decks3 .mixer > .slider.xf > .tag { grid-area: 1 / 2 / 3 / 3; justify-self: start; align-self: center; display: block; max-width: 100%; padding: 0; border: 0; background: none; overflow: visible; font: 400 12px/12.5px var(--lm-face); letter-spacing: 0; text-transform: none; color: var(--lm-dim); white-space: normal; text-overflow: clip; text-align: left; }
#screen .decks3 .slider.xf > input[type=range]::-webkit-slider-runnable-track, #screen .decks3 .deckp label.slider > input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 1px; background: #000; box-shadow: 0 0 0 1px rgba(var(--lm-warm), .14); }
#screen .decks3 .slider.xf > input[type=range], #screen .decks3 .deckp label.slider > input[type=range][data-r$=".pitch"] { -webkit-appearance: none; appearance: none; cursor: pointer; filter: none; background:
    radial-gradient(circle, #cfc8ba 0 1.6px, transparent 2.1px) 50% 0 / 6px 6px no-repeat, radial-gradient(circle, #cfc8ba 0 1.6px, transparent 2.1px) 50% 100% / 6px 6px no-repeat,
    repeating-linear-gradient(90deg, rgba(207, 200, 186, .3) 0 1px, transparent 1px 10%) 9px 0 / calc(100% - 17px) 4px no-repeat, repeating-linear-gradient(90deg, rgba(207, 200, 186, .3) 0 1px, transparent 1px 10%) 9px 100% / calc(100% - 17px) 4px no-repeat; }
#screen .decks3 .slider.xf > input[type=range]::-webkit-slider-thumb, #screen .decks3 .deckp label.slider > input[type=range][data-r$=".pitch"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 17px; height: 26px; margin-top: -10px; border: 0; border-radius: 2px; background: linear-gradient(90deg, #5a5650 0, #2a2826 12%, #0d0d0d 38%, #fff 38%, #fff 62%, #0a0a0a 62%, #060606 100%); box-shadow: 0 0 0 1px #000, 0 5px 6px rgba(0, 0, 0, .85); }
#screen .decks3 .slider.xf > input[type=range]:disabled::-webkit-slider-thumb { filter: brightness(.6); }
#screen .decks3 .slider.xf > input[type=range]:disabled { cursor: default; }

/* ====================================================================================================================
   7. THE METERS: LEDs, the brightest things in the booth after the lanes. Each channel's beside its fader; the
      master's between the two.
   ==================================================================================================================== */
#screen .decks3 .mcol > .meter { grid-column: 4; grid-row: 1 / 4; align-self: stretch; justify-self: center; width: 9px; height: auto; margin: 22px 0 6px; border-radius: 0; background: linear-gradient(0deg, rgba(70, 224, 143, .13) 0 87.5%, rgba(240, 72, 77, .3) 87.5% 100%); box-shadow: none; -webkit-mask-image: repeating-linear-gradient(0deg, #000 0 4px, transparent 4px 7px); mask-image: repeating-linear-gradient(0deg, #000 0 4px, transparent 4px 7px); }
#screen .decks3 .mcol.deckB > .meter { grid-column: 1; }
#screen .decks3 .mcol > .meter i { background: var(--lm-led-g); box-shadow: none; }
#screen .decks3 .mixer > .row.small { grid-area: 1 / 1 / 2 / -1; position: absolute; left: 50%; top: -1px; width: 60px; margin: 0 0 0 -30px; display: flex; flex-direction: column; align-items: center; gap: 1px; font: 400 12px/13px var(--lm-face); letter-spacing: .02em; text-transform: lowercase; color: var(--lm-dim); }
#screen .decks3 .mixer > .row.small > .grow { flex: none; }
#screen .decks3 .mixer > .row.small #mdb { font: 700 12.5px/14px var(--lm-face); letter-spacing: .01em; font-variant-numeric: tabular-nums; text-transform: none; color: var(--lm-amber); white-space: nowrap; }
#screen .decks3 .mixer > .meter.wide { --ml: calc(var(--kr) * 3 - 40px); grid-area: 1 / 1 / 2 / -1; position: absolute; left: 50%; top: calc(34px + var(--ml) / 2); width: var(--ml); height: 12px; margin: -6px 0 0 calc(var(--ml) / -2); transform: rotate(-90deg); border-radius: 0; overflow: hidden; background: linear-gradient(90deg, rgba(70, 224, 143, .13) 0 87.5%, rgba(240, 72, 77, .3) 87.5% 100%); box-shadow: none; -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 4px, transparent 4px 7px); mask-image: repeating-linear-gradient(90deg, #000 0 4px, transparent 4px 7px); }
#screen .decks3 .mixer > .meter.wide::after { display: none; }
#screen .decks3 .mixer > .meter.wide i { background: var(--lm-led-g); box-shadow: none; }
#screen .decks3 .mixer > .meter.wide[data-hot] i { background: var(--lm-led-r); box-shadow: none; }
#screen .decks3 .mixer > .meter.wide[data-hot], #screen .decks3 .mixer > .meter.wide[data-lit], #screen .decks3 .mixer > .meter.wide[data-lit][data-hot] { box-shadow: none; }
#screen .decks3 .mixer > .meter.wide[data-lit] { background: linear-gradient(90deg, rgba(70, 224, 143, .3) 0 87.5%, rgba(240, 72, 77, .6) 87.5% 100%); }
/* the lessons' band meter: each band's bar under its own name, beside its knob */
#screen .decks3 .mcol > .band-meter, body[data-meter] #screen .decks3 .mcol > .band-meter { --g: 5px; --rail: rgba(var(--lm-warm), .08); position: static; grid-column: 2; grid-row: 1 / 4; align-self: stretch; display: grid; grid-template-rows: repeat(3, var(--kr)); gap: 0; inset: auto; margin: 0; padding: 0 calc(var(--kd) + 10px) 0 0; pointer-events: none; background: none; }
#screen .decks3 .mcol.deckB > .band-meter, body[data-meter] #screen .decks3 .mcol.deckB > .band-meter { grid-column: 3; padding: 0 0 0 calc(var(--kd) + 10px); }
#screen .decks3 .mcol > .band-meter i { align-self: end; justify-self: end; width: var(--nw); height: var(--g); margin: 0 0 calc(var(--kr) / 2 - 28px); transform-origin: 0 50%; }
#screen .decks3 .mcol.deckB > .band-meter i { justify-self: start; transform-origin: 100% 50%; }
#screen .decks3 .mcol > .band-meter::before, #screen .decks3 .mcol > .band-meter::after { display: none; }
#screen .decks3 .mcol > .band-meter i[data-band="high"] { grid-row: 1; }
#screen .decks3 .mcol > .band-meter i[data-band="mid"] { grid-row: 2; }
#screen .decks3 .mcol > .band-meter i[data-band="low"] { grid-row: 3; }

/* ====================================================================================================================
   8. THE KEYS: unlit until they are on; then the legend is the light, a line of LED along the key's foot
   ==================================================================================================================== */
#screen .decks3 > .panel .bbtn, body.room-deep:not(.slow-frames) #screen.decks-screen .decks3 > .panel .bbtn:not(.on):not(.primary):not(:hover):not(:disabled) { border: 1px solid #000; border-radius: 4px; background: linear-gradient(180deg, #141413, #0b0b0b); box-shadow: inset 0 1px 0 rgba(var(--lm-warm), .08), 0 2px 3px rgba(0, 0, 0, .6); color: var(--lm-print); font-family: var(--lm-face); font-weight: 400; letter-spacing: .02em; text-transform: lowercase; text-shadow: none; }
#screen .decks3 > .panel .bbtn:hover:not(:disabled) { background: linear-gradient(180deg, #1d1c1b, #121211); color: var(--lm-lit); }
#screen .decks3 > .panel .bbtn:active:not(:disabled) { background: #050505; box-shadow: inset 0 2px 3px rgba(0, 0, 0, .9); transform: translateY(1px); }
#screen .decks3 > .panel .bbtn:disabled { color: #7d786e; }
#screen .decks3 > .panel .bbtn.on, #screen .decks3 > .deckB.panel .bbtn.on { background: linear-gradient(180deg, #151514, #0b0b0b); border-color: #000; color: #fff; text-shadow: 0 0 6px rgba(255, 255, 255, .4); box-shadow: inset 0 -2px 0 var(--lm-lit), 0 2px 3px rgba(0, 0, 0, .6); }
#screen .decks3 .deckp .dbtns .tbtn[data-b$=".play"] { box-shadow: inset 0 -2px 0 rgba(70, 224, 143, .4), inset 0 1px 0 rgba(var(--lm-warm), .08), 0 2px 3px rgba(0, 0, 0, .6); }
#screen .decks3 .deckp .dbtns .tbtn[data-b$=".play"].on { color: #c9ffe0; text-shadow: 0 0 6px rgba(70, 224, 143, .5); box-shadow: inset 0 -3px 0 var(--lm-led-g), 0 2px 3px rgba(0, 0, 0, .6); }
#screen .decks3 .deckp .dbtns .tbtn[data-b$=".cue"] { box-shadow: inset 0 -2px 0 rgba(240, 72, 77, .5), inset 0 1px 0 rgba(var(--lm-warm), .08), 0 2px 3px rgba(0, 0, 0, .6); }
#screen .decks3 .deckp .dbtns .tbtn[data-b$=".cue"]:active { box-shadow: inset 0 -3px 0 var(--lm-led-r); color: #ffe3e3; }
/* FX 1-4: four keys in a row under the crossfader */
#screen .decks3 .mixer > .cfx { grid-column: 1 / -1; grid-row: 3; margin: 2px 0 0; }
#screen .decks3 .cfx-b .cfx-n { font-family: var(--lm-face); font-weight: 700; font-size: 12px; letter-spacing: .04em; color: var(--lm-dim); }
#screen .decks3 .cfx-b .cfx-l { font-family: var(--lm-face); font-weight: 400; font-size: 12.5px; letter-spacing: 0; }

/* ====================================================================================================================
   9. THE PADS AND THE PLATTER
   ==================================================================================================================== */
#screen .decks3 .hc { border: 1px solid #000; border-radius: 4px; background: radial-gradient(120% 120% at 50% 40%, #161615 0, #0d0d0c 60%, #070707 100%); box-shadow: inset 0 1px 0 rgba(var(--lm-warm), .06), 0 2px 3px rgba(0, 0, 0, .6); color: var(--lm-dim); font-family: var(--lm-face); font-weight: 400; font-size: 12.5px; display: flex; align-items: flex-end; justify-content: flex-end; padding: 0 6px 5px; }
#screen .decks3 .hc.set { border-color: #000; background: radial-gradient(90% 90% at 50% 50%, #fffaf0 0, var(--deckA) 34%, #6f6b63 82%, #2a2926 100%); color: #0b0a0c; box-shadow: inset 0 0 6px rgba(0, 0, 0, .6), 0 2px 3px rgba(0, 0, 0, .6); }
#screen .decks3 .deckB .hc.set { background: radial-gradient(90% 90% at 50% 50%, #ecfcff 0, var(--deckB) 34%, #1d4a57 82%, #0c2229 100%); color: #06171c; }
/* the platter: a ring that catches the lamp on its near side; how far through the track as a line of light round it */
#screen .decks3 .jogd { border-radius: 50%; -webkit-mask-image: none; mask-image: none; box-shadow: 0 4px 6px rgba(0, 0, 0, .8); background:
    radial-gradient(circle, transparent 0 60%, #030303 60.5% 66%, transparent 66.5%),
    conic-gradient(from 0deg, var(--lm-amber) var(--p), transparent 0),
    conic-gradient(from 20deg, #b9b2a4, #3a3835 14%, #1c1b1a 34%, #141413 60%, #2a2927 84%, #b9b2a4); }
#screen .decks3 .deckB .jogd { box-shadow: 0 4px 6px rgba(0, 0, 0, .8); background:
    radial-gradient(circle, transparent 0 60%, #030303 60.5% 66%, transparent 66.5%),
    conic-gradient(from 0deg, var(--lm-amber) var(--p), transparent 0),
    conic-gradient(from -20deg, #b9b2a4, #2a2927 16%, #141413 40%, #1c1b1a 66%, #3a3835 86%, #b9b2a4); }
#screen .decks3 .jogd i { position: absolute; inset: 17%; border-radius: 50%; background: radial-gradient(circle, #c9c2b4 0 7%, #050505 8% 46%, rgba(201, 194, 180, .35) 46.5% 48.5%, #050505 49%); box-shadow: 0 0 0 1px #000; }
#screen .decks3 .jogd i::after, #screen .decks3 .deckA .jogd.spin i::after, #screen .decks3 .deckB .jogd.spin i::after { top: 6%; height: 20%; width: 2px; background: #fff; border-radius: 0; }

/* ====================================================================================================================
   10. "THIS ONE": it is the one in the lamp's light: a warm pool on the plate under it, the control fully lit, a thin
       ring in the band's colour, its legend white; the rest dims. Never a coloured halo.
   ==================================================================================================================== */
body.focus #screen #decks3 .is-needed::before, body.focus #screen #decks3 [data-callout]::before, body.focus #screen #decks3 [data-callout][data-tone][data-tone]::before { content: none; background: none; outline: 0; box-shadow: none; animation: none; }
body.focus #screen #decks3 .kn.is-needed::before, body.focus #screen #decks3 .kn.is-needed[data-callout]::before, body.focus #screen #decks3 .kn.is-needed[data-callout][data-tone][data-tone]::before { content: ''; position: absolute; z-index: 0; inset: -10px -16px; width: auto; height: auto; margin: 0; border-radius: 0; outline: 0; opacity: 1; box-shadow: none; animation: none; pointer-events: none; background: radial-gradient(ellipse calc(var(--kd) * 1.25) calc(var(--kd) * .95) at calc(100% - 16px - var(--kd) / 2) 50%, rgba(var(--lm-warm), .4) 0, rgba(var(--lm-warm), .2) 45%, rgba(var(--lm-warm), .06) 78%, transparent 100%); }
body.focus #screen #decks3 .mcol.deckB .kn.is-needed::before, body.focus #screen #decks3 .mcol.deckB .kn.is-needed[data-callout]::before, body.focus #screen #decks3 .mcol.deckB .kn.is-needed[data-callout][data-tone][data-tone]::before { background: radial-gradient(ellipse calc(var(--kd) * 1.25) calc(var(--kd) * .95) at calc(16px + var(--kd) / 2) 50%, rgba(var(--lm-warm), .4) 0, rgba(var(--lm-warm), .2) 45%, rgba(var(--lm-warm), .06) 78%, transparent 100%); }
body.focus #screen #decks3 .kn[data-kn="trim"].is-needed[data-callout]::before, body.focus #screen #decks3 .kn[data-kn="filter"].is-needed[data-callout]::before, body.focus #screen #decks3 .mcol.deckB .kn[data-kn="trim"].is-needed[data-callout][data-tone][data-tone]::before, body.focus #screen #decks3 .mcol.deckB .kn[data-kn="filter"].is-needed[data-callout][data-tone][data-tone]::before, body.focus #screen #decks3 .kn[data-kn="trim"].is-needed::before, body.focus #screen #decks3 .kn[data-kn="filter"].is-needed::before, body.focus #screen #decks3 .mcol.deckB .kn[data-kn="trim"].is-needed::before, body.focus #screen #decks3 .mcol.deckB .kn[data-kn="filter"].is-needed::before { background: radial-gradient(ellipse 60% 46% at 50% 62%, rgba(var(--lm-warm), .4) 0, rgba(var(--lm-warm), .2) 45%, rgba(var(--lm-warm), .06) 78%, transparent 100%); }
body.focus #screen #decks3 label.is-needed, body[data-step-band].focus #screen #decks3 label.kn.is-needed, body.focus #screen #decks3 .kn.is-needed { color: #fff; text-shadow: none; }
body.focus #screen #decks3 .kn.is-needed .knob, body[data-step-band].focus #screen #decks3 .kn.is-needed .knob { filter: brightness(2.4) contrast(.94); box-shadow: 0 0 0 2px #000, 0 0 0 4.5px var(--lit); animation: none; }
body #screen #decks3 .kn[data-stamp] .knob, body.focus #screen #decks3 .kn.is-needed[data-stamp] .knob, body[data-step-band].focus #screen #decks3 .kn.is-needed[data-stamp] .knob { box-shadow: 0 0 0 2px #000, 0 0 0 4.5px var(--tone-ok); }
#screen .decks3 .kn.wv-glow .knob, #screen .decks3 .kn.wv-glow.wv-open .knob { filter: brightness(2.1); box-shadow: 0 0 0 2px #000, 0 0 0 4px var(--kc); }
/* dimmed in a lesson: the drawing falls back into the dark, its name stays in the print's own grey (the lamp option's .4 on the whole control left small print unreadable: a beginner must still read every dimmed control's name) */
body.focus #screen #decks3 [data-focus="off"] { opacity: 1; color: var(--lm-dim); }
body.focus #screen #decks3 [data-focus="off"] .knob, body.focus #screen #decks3 [data-focus="off"]:not(.kn) > input[type=range] { opacity: .5; }   /* (never a knob's own input: it lies unseen over the knob) */
body.focus #screen #decks3 .bbtn[data-focus="off"], body.focus #screen #decks3 .hc[data-focus="off"] { color: var(--lm-dim); background: #0a0a0a; box-shadow: none; }
body.focus #screen #decks3 .mcol .kn[data-focus="off"] > .kn-name { background-image: none; }
body.focus #screen #decks3 .is-needed input.vert::-webkit-slider-thumb { background: linear-gradient(180deg, #a09a8e 0, #57534c 12%, #2e2c29 44%, #fff 44%, #fff 56%, #262422 56%, #171615 100%); box-shadow: 0 0 0 1px #000, 0 0 0 4px var(--lit), 0 6px 8px 3px rgba(0, 0, 0, .7); }
body.focus #screen #decks3 .bbtn.is-needed { border-color: #000; background: linear-gradient(180deg, #3a3733, #24221f); color: #fff; box-shadow: inset 0 -3px 0 var(--lit), 0 0 0 1px rgba(var(--lm-warm), .5), 0 2px 3px rgba(0, 0, 0, .6); }

/* ====================================================================================================================
   11. THE TOP OF THE SCREEN: the same small print; the lanes in the room's light, no boxes round them
   ==================================================================================================================== */
body.decks-on #screen.decks-screen .wf { border-color: transparent; }
body.decks-on #screen.decks-screen .wv-legend, body.decks-on #screen.decks-screen .wv-legend *, body.decks-on #screen.decks-screen .freebar, body.decks-on #screen.decks-screen #freeGoal, body.decks-on #screen.decks-screen #freeGoal * { font-family: var(--lm-face); letter-spacing: .01em; text-shadow: none; }
body.decks-on #screen.decks-screen .wv-legend { background: none; }
body.decks-on #screen.decks-screen #fscore, body.decks-on #screen.decks-screen #fscore * { font-family: var(--lm-face); letter-spacing: .02em; text-shadow: none; }
body.decks-on #screen.decks-screen #fscore .fs-pts { font-weight: 700; color: var(--lm-amber); }
body.decks-on #screen.decks-screen #guide.guide { font-family: var(--lm-face); font-weight: 400; letter-spacing: .02em; text-transform: lowercase; color: #cfc8ba; text-shadow: none; }
body.decks-on #screen.decks-screen .freebar .bbtn, body.decks-on #screen.decks-screen .hud .bbtn { border-radius: 3px; font-family: var(--lm-face); font-weight: 400; font-size: 12.5px; letter-spacing: .02em; text-transform: lowercase; box-shadow: none; }
/* the lanes' ring on a hit: a hard line in the band's colour, no bloom */
body.decks-on .wfs::after, body.decks-on .wfs.band-hit-big::after { box-shadow: inset 0 0 0 2px rgb(var(--hit-rgb, 244, 236, 220)); }

/* ====================================================================================================================
   12. THE COACH on a lesson screen: the same print; the step in the lit white, nothing glowing
   ==================================================================================================================== */
body.decks-on #screen.decks-screen .hud, body.decks-on #screen.decks-screen .hud .mono { font-family: var(--lm-face); letter-spacing: .02em; }
body.decks-on #screen.decks-screen #hudBanner .banner-text { font-family: var(--lm-face); font-weight: 700; letter-spacing: -.005em; text-shadow: none; color: var(--lm-lit); }

/* ====================================================================================================================
   13. THE POPS. A big, clean move is a lit sign: a panel of the paper's warm white, the brightest thing on the screen,
       the move's name struck on it in Lexend (bold capitals, a little tight), the points in mono beside the verdict,
       and the verdict stamped in the violet ink (a ruled frame a hair off square). The hero stacks (the name over the
       points and the verdict) and lands just past the playhead (booth-pops.js: its anchor under v2), so a 9:16 crop of
       the screen holds it. A smaller or a late pop is an unlit card: dark, its verdict in amber. Never a neon halo:
       the sign's only spill is the lamp's warm white on the lane behind it.
   ==================================================================================================================== */
body .spop, body .spop-lg, body .spop-hero, body .spop-hero.spop-k-swap, body .spop-hero.spop-k-best, body .spop-hero.spop-k-grad, body .spop-k-swap, body .spop-k-mid, body .spop-k-high, body .spop-k-near, body .spop-qclose { align-items: center; border: 0; border-radius: 2px; background: #0b0b0a; box-shadow: inset 0 0 0 1px rgba(255, 214, 170, .2), inset 5px 0 0 var(--pop-c, #f4ecdc), 0 10px 22px rgba(0, 0, 0, .7); }
body .spop-k-swap { --pop-c: var(--band-low); }
body .spop-k-mid { --pop-c: var(--band-mid); }
body .spop-k-high { --pop-c: var(--band-high); }
body .spop-k-near, body .spop-qclose, body .spop-sm.spop-k-swap { --pop-c: #f2ea78; }
body .spop .spop-name, body .spop-hero.spop-k-swap .spop-name, body .spop-lg.spop-k-swap .spop-name, body .spop-hero.spop-k-best .spop-name, body .spop-hero.spop-k-grad .spop-name, body .spop-k-swap.spop-qclean .spop-name, body .spop-k-mid.spop-qclean .spop-name, body .spop-k-high.spop-qclean .spop-name, body .spop-k-near .spop-name, body .spop-qclose .spop-name { font-family: 'Lexend', 'Helvetica Neue', Arial, sans-serif; font-weight: 800; letter-spacing: -.012em; text-transform: uppercase; color: #fff7ea; text-shadow: none; }
body .spop-sm .spop-name, body .spop-md .spop-name { font-weight: 700; }
body .spop .spop-pts, body .spop .spop-q, body .spop-hero.spop-k-swap .spop-q, body .spop-hero.spop-k-best .spop-q { font-family: var(--mono, ui-monospace, monospace); font-style: normal; text-shadow: none; }
body .spop .spop-pts { font-weight: 700; color: #ffe2b4; font-variant-numeric: tabular-nums; }
body .spop .spop-q, body .spop-hero.spop-k-swap .spop-q { padding: 3px 7px 2px; border: 1.5px solid currentColor; border-radius: 1px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #f4ecdc; opacity: 1; transform: rotate(-2.2deg); }
body .spop-qclean .spop-q { color: #c9a4ff; }
body .spop-qclose .spop-q, body .spop-k-near .spop-q, body .spop-qrough .spop-q { color: #f2ea78; }
/* the lit sign: a big pop of a clean move (the bass swap's hero first of all) */
body .spop-lg.spop-qclean, body .spop-hero, body .spop-hero.spop-k-swap, body .spop-hero.spop-k-best, body .spop-hero.spop-k-grad, body .spop-lg.spop-k-swap.spop-qclean { background: #f6efe0; box-shadow: inset 7px 0 0 var(--pop-c, #0b0a0c), 0 0 0 1px #000, 0 12px 26px rgba(0, 0, 0, .75), 0 0 46px rgba(255, 226, 180, .3); }
body .spop-lg.spop-qclean .spop-name, body .spop-hero .spop-name, body .spop-hero.spop-k-swap .spop-name, body .spop-hero.spop-k-best .spop-name, body .spop-hero.spop-k-grad .spop-name, body .spop-lg.spop-k-swap.spop-qclean .spop-name, body .spop-hero.spop-k-swap.spop-qclean .spop-name { color: #0b0a0c; }
body .spop-lg.spop-qclean .spop-pts, body .spop-hero .spop-pts { color: #0b0a0c; }
body .spop-lg.spop-qclean .spop-q, body .spop-hero .spop-q, body .spop-hero.spop-k-swap .spop-q, body .spop-hero.spop-k-swap.spop-qclean .spop-q, body .spop-hero.spop-k-best .spop-q { color: #5a22c8; border-width: 2px; }
/* the hero: the name over the points and the verdict */
body .spop-hero, body .spop-hero.spop-k-swap { display: grid; grid-template-columns: auto auto; justify-content: start; align-items: center; column-gap: 12px; row-gap: 6px; padding: 12px 20px 12px 24px; }
body .spop-hero .spop-name, body .spop-hero.spop-k-swap .spop-name { grid-column: 1 / -1; font-size: clamp(40px, 5.4vh, 54px); line-height: 1; }
body .spop-hero .spop-pts { justify-self: start; font-size: 24px; }
body .spop-hero .spop-q, body .spop-hero.spop-k-swap .spop-q { justify-self: start; font-size: 14px; }
#screen .decks3 .kn > .kn-name, #screen .decks3 .kn > .knob { position: relative; z-index: 1; }
/* a lesson's or a set's screen: the deck's name, its track and Load track on one line (the lanes keep their height under the coach) */
#screen.decks-hud .decks3 > .deckp > .row:not(.wrap) { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto; }
#screen.decks-hud .decks3 > .deckp > .row:not(.wrap) .ldwrap { grid-area: 1 / 3; }
#screen.decks-hud .decks3 > .deckp > .row:not(.wrap) .ttl { grid-area: 1 / 2; }
#screen.decks-hud .decks3 > .deckp { gap: clamp(6px, .9vh, 12px); padding-top: 10px; padding-bottom: 8px; }
#screen.decks-hud .decks3 .deckp .dbtns .tbtn { height: clamp(36px, 5.2vh, 56px); }
#screen.decks-hud .decks3 .deckp .dbtns .tbtn[data-b$=".start"], #screen.decks-hud .decks3 .deckp .dbtns .tbtn[data-b$=".quant"], #screen.decks-hud .decks3 .deckp .dbtns .tbtn[data-b$=".slip"] { height: 28px; }
/* a lesson's lower plate: TRIM and FILTER a size smaller, so the side column still holds them and the headphone key */
#screen.decks-hud .decks3 .mcol > .kn[data-kn="trim"] { --kd2: calc(var(--kd) * .6); grid-template-rows: 14px calc(var(--kd2) + 12px); margin-top: 16px; }
#screen.decks-hud .decks3 .mcol > .kn[data-kn="filter"] { --kd2: calc(var(--kd) * .74); grid-template-rows: 14px calc(var(--kd2) + 12px); margin-bottom: 31px; }
#screen .decks3 .fold-more .fg-key { font-size: 12px; line-height: 14px; }
#screen.decks-hud .decks3 > .deckp > .row:not(.wrap) .ttl.empty { grid-area: 2 / 1 / 3 / 4; display: block; white-space: normal; overflow: visible; font-size: 14px; line-height: 18px; -webkit-line-clamp: none; }   /* a deck a lesson leaves empty says so in full ("Not used in this lesson"), on a line of its own */

/* ---------- the header, the labels, Home on day one ---------- */

/* ====================================================================================================================
   THE HEADER (every screen)
   ==================================================================================================================== */
body .bh { position: sticky; flex-wrap: nowrap; gap: 14px; min-height: 46px; padding: 0 18px 0 12px; background: rgba(5, 5, 5, .94); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 1px solid rgba(var(--v2-warm), .1); box-shadow: none; }
/* the logo: Dean's, cut for the header; the word beside it is on the mark itself (the link keeps its name for a screen reader) */
body .bh .brand { flex: none; gap: 0; align-self: center; }
body .bh .brand .logo-dot { display: block; width: 80px; height: 46px; border-radius: 0; background: url(look/logo-mark.png) center / 80px 46px no-repeat; box-shadow: none; }
body .bh .brand > span:not(.logo-dot) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body .bh .brand:hover .logo-dot, body .bh .brand:focus-visible .logo-dot { filter: brightness(1.15); }
/* the nav: small lower-case print; the room you are in is lit and underlined in the lit white */
body .bh .bnav { order: 0; flex: 1 1 auto; flex-basis: auto; min-width: 0; align-self: stretch; display: flex; align-items: stretch; gap: 2px; overflow-x: auto; }
body .bh .bnav a { display: flex; align-items: center; padding: 0 12px; border: 0; border-radius: 0; background: none; box-shadow: inset 0 -2px 0 transparent; font: 400 13px/1 var(--v2-face); letter-spacing: .04em; text-transform: lowercase; text-shadow: none; color: var(--v2-print); }
body .bh .bnav a:hover { color: var(--v2-lit); background: none; }
body .bh .bnav a[aria-current], body .bh .bnav a.on, body .bh .bnav a.active { color: #fff; background: none; box-shadow: inset 0 -2px 0 var(--v2-lit); }
body .bh .bnav a::after, body .bh .bnav a::before { box-shadow: none; text-shadow: none; }
/* the keys in the header: unlit, a hairline, no glow */
body .bh .bbtn, body .bh .conn.idle #connect, body .bh .conn.missing #connect { min-height: 0; padding: 6px 11px; border: 1px solid rgba(var(--v2-warm), .22); border-radius: 3px; background: #0d0d0c; box-shadow: none; text-shadow: none; font: 400 12.5px/16px var(--v2-face); letter-spacing: .02em; text-transform: lowercase; color: var(--v2-lit); }
body .bh .bbtn:hover, body .bh .conn.idle #connect:hover, body .bh .conn.missing #connect:hover { background: #1b1a19; border-color: rgba(var(--v2-warm), .45); color: #fff; }
body .bh .fsbtn { flex: none; padding: 5px 9px; color: var(--v2-print); }
/* the controller's status: its LED (the words are one short line: THE HEADER'S STATUS, below) */
body .bh .conn { position: relative; flex: none; gap: 9px; white-space: nowrap; font: 400 12.5px/16px var(--v2-face); letter-spacing: .01em; color: var(--v2-print); }
body .bh .conn .led { flex: none; width: 8px; height: 8px; box-shadow: none; }
body .bh .conn.idle .led { border: 1.5px solid var(--v2-dim); }
body .bh .conn.ready .led { background: #46e08f; box-shadow: none; }
body .bh .conn.missing .led, body .bh .conn.busy .led, body .bh .conn.connecting .led { background: #f2ea78; box-shadow: none; }
body .bh .conn.denied .led, body .bh .conn.unsupported .led { background: #f0484d; box-shadow: none; }
body .bh #connText { display: block; max-width: clamp(150px, 17vw, 300px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ====================================================================================================================
   THE LABELS: no slashes in front of a heading (every screen)
   ==================================================================================================================== */
body .sect::before, body .start-path > .eyebrow::before, body .likes > .eyebrow::before, body #keyCard h3::before,
body #screen:not(.decks-screen):not([data-route^="set/first"]) .sect::before, body #screen:not(.decks-screen):not([data-route^="set/first"]) h2.sc-h::before, body #screen:not(.decks-screen):not([data-route^="set/first"]) .panel > h3::before, body #screen:not(.decks-screen):not([data-route^="set/first"]) section > h3::before { content: none; }

/* ====================================================================================================================
   HOME ON DAY ONE (a laptop or a desktop: from 1100 px wide), composed for the window
   ==================================================================================================================== */
@media (min-width: 1000px) {
  body.home.day-one #screen.screen { box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); grid-template-rows: 1fr auto; column-gap: clamp(44px, 6.5vw, 150px); row-gap: 0; align-items: center; max-width: 1760px; min-height: calc(100vh - 47px); margin: 0 auto; padding: clamp(18px, 3.4vh, 54px) clamp(36px, 5.6vw, 120px) clamp(34px, 4.6vh, 60px); }
  body.home.day-one #screen > .d1-hero, body.home.day-one #screen[data-route="menu"] > .hero.d1-hero.np-on { grid-column: 1; grid-row: 1; align-self: center; display: block; width: auto; max-width: none; min-width: 0; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
  body.home.day-one #screen > .menu-rest { grid-column: 2; grid-row: 1 / 3; align-self: center; min-width: 0; margin: 0; padding: 0; opacity: 1; }
  body.home.day-one #screen > #ownTracksLine { grid-column: 1; grid-row: 2; align-self: end; margin: 0; padding: 12px 0 0; border-top: 1px solid rgba(236, 235, 228, .16); font: 400 13px/1.4 var(--v2-face); color: var(--v2-dim); }
  body.home.day-one #screen > #ownTracksLine a { color: var(--v2-lit); text-decoration: underline; text-decoration-color: rgba(244, 236, 220, .5); text-underline-offset: 3px; }

  /* ---------- left: one object, one thing to press ---------- */
  body.home.day-one #screen #startPath.start-path { display: block; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
  body.home.day-one #screen #startPath::before, body.home.day-one #screen #startPath::after { content: none; }
  body.home.day-one #screen #startPath > .eyebrow { margin: 0 0 6px; font: 400 13px/1.2 var(--v2-face); letter-spacing: .06em; text-transform: lowercase; color: var(--v2-dim); text-shadow: none; }
  body.home.day-one #screen #startPath > #whereLine { margin: 0 0 clamp(14px, 2.6vh, 30px); font: 400 clamp(14px, 1.7vh, 17px)/1.35 var(--v2-face); letter-spacing: .01em; color: var(--v2-lit); }
  body.home.day-one #screen #startPath .sp-list { display: block; margin: 0; padding: 0; }
  /* the controller: one quiet line of print, its key at the end */
  body.home.day-one #screen #startPath li.sp.sp-connect { display: flex; align-items: center; gap: 12px; min-height: 0; height: auto; margin: 0 0 clamp(10px, 1.8vh, 18px); padding: 0 0 clamp(10px, 1.8vh, 18px); border: 0; border-bottom: 1px solid rgba(236, 235, 228, .16); border-radius: 0; background: none; box-shadow: none; }
  body.home.day-one #screen #startPath li.sp-connect .sp-n { flex: none; width: auto; height: auto; border: 0; border-radius: 0; background: none; box-shadow: none; font: 400 13px/1 var(--v2-face); color: var(--v2-dim); }
  body.home.day-one #screen #startPath li.sp-connect .sp-body { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
  body.home.day-one #screen #startPath li.sp-connect .sp-body b { font: 400 clamp(14px, 1.7vh, 17px)/1.3 var(--v2-face); letter-spacing: .01em; text-transform: none; color: var(--v2-lit); }
  body.home.day-one #screen #startPath li.sp-connect .sp-body .small { font: 400 13px/1.3 var(--v2-face); color: var(--v2-dim); }
  body.home.day-one #screen #startPath li.sp-connect .bbtn { flex: none; min-height: 0; padding: 6px 11px; border: 1px solid rgba(var(--v2-warm), .22); border-radius: 3px; background: #0d0d0c; box-shadow: none; font: 400 12.5px/16px var(--v2-face); letter-spacing: .02em; text-transform: lowercase; color: var(--v2-lit); }
  body.home.day-one #screen #startPath li.sp-connect .bbtn:hover { background: #1b1a19; border-color: rgba(var(--v2-warm), .45); }
  body.home.day-one #screen #startPath li.sp-connect.done .sp-n { color: #46e08f; }
  /* the next stage: the one block of violet ink, flyer type struck into it, a paper-white edge a hair off register */
  body.home.day-one #screen #startPath li.sp.sp-go { display: block; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
  body.home.day-one #screen #startPath .sp-play { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 20px; width: 100%; min-height: 0; height: auto; margin: 0; padding: clamp(18px, 3.3vh, 40px) clamp(18px, 1.7vw, 34px) clamp(14px, 2.6vh, 32px); border: 0; border-radius: 0; background: var(--v2-ink); box-shadow: 5px 5px 0 #ecebe4; text-shadow: none; color: #0b0710; text-align: left; animation: none; transition: transform .08s, box-shadow .08s; }
  body.home.day-one #screen #startPath .sp-play::before, body.home.day-one #screen #startPath .sp-play::after { content: none; }
  body.home.day-one #screen #startPath .sp-play b { display: block; min-width: 0; overflow: visible; white-space: normal; text-overflow: clip; font: 400 clamp(38px, 6vh, 78px)/.96 var(--flyer, 'Anton', sans-serif); letter-spacing: .005em; text-transform: uppercase; color: #0b0710; text-shadow: none; }
  body.home.day-one #screen #startPath .sp-play .sp-play-go { padding-bottom: .5vh; font: 400 clamp(20px, 3vh, 34px)/1 var(--flyer, 'Anton', sans-serif); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; color: #0b0710; }
  body.home.day-one #screen #startPath .sp-play:hover { background: #a970ff; transform: translate(-1px, -1px); box-shadow: 6px 6px 0 #fff; }
  body.home.day-one #screen #startPath .sp-play:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 #ecebe4; }
  body.home.day-one #screen #startPath .sp-play:focus-visible { outline: 2px solid #fff; outline-offset: 8px; }
  body.home.day-one #screen #startPath .sp-line { display: block; margin: clamp(14px, 2.2vh, 24px) 0 0; font: 400 clamp(14px, 1.7vh, 17px)/1.4 var(--v2-face); color: var(--v2-print); }
  /* what is playing behind the menu: its sleeve with its caption, no box round them */
  body.home.day-one #screen #nowPlaying.now-playing { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 16px; width: auto; min-height: 0; margin: clamp(22px, 4.2vh, 56px) 0 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
  body.home.day-one #screen #nowPlaying.now-playing[hidden] { display: none; }
  body.home.day-one #screen #nowPlaying .np-words { display: grid; gap: 3px; min-width: 0; }
  body.home.day-one #screen #nowPlaying .eyebrow { font: 400 12.5px/1.2 var(--v2-face); letter-spacing: .06em; text-transform: lowercase; color: var(--v2-dim); }
  body.home.day-one #screen #nowPlaying .eyebrow::before { content: none; }
  body.home.day-one #screen #nowPlaying b { font: 700 16px/1.25 var(--v2-face); color: var(--v2-lit); }
  body.home.day-one #screen #nowPlaying .small, body.home.day-one #screen #nowPlaying .np-cat { font: 400 13px/1.3 var(--v2-face); letter-spacing: .02em; color: var(--v2-dim); }

  /* ---------- right: the path as a track listing ---------- */
  body.home.day-one #screen .menu-rest .path-chapters { margin: 0; padding: 0; border: 0; background: none; }
  body.home.day-one #screen .menu-rest .path-chapters > h3.sect { margin: 0 0 clamp(8px, 1.4vh, 16px); padding: 0; border: 0; font: 400 13px/1.2 var(--v2-face); letter-spacing: .06em; text-transform: lowercase; color: var(--v2-dim); }
  body.home.day-one #screen .menu-rest ol.chapters { display: block; margin: 0; padding: 0; }
  /* a side: its letter big at the left, the chapter's name over its tracks */
  body.home.day-one #screen .menu-rest li.chapter { position: relative; display: block; margin: 0 0 clamp(14px, 2.6vh, 34px); padding: 0 0 0 clamp(64px, 6.2vw, 124px); border: 0; background: none; }
  body.home.day-one #screen .menu-rest li.chapter::before { position: absolute; left: 0; top: -.06em; font: 400 clamp(72px, 12.5vh, 150px)/.9 var(--flyer, 'Anton', sans-serif); color: #ecebe4; }
  body.home.day-one #screen .menu-rest li.chapter[data-chapter="1"]::before { content: 'A'; }
  body.home.day-one #screen .menu-rest li.chapter[data-chapter="2"]::before { content: 'B'; color: #4b4842; }
  body.home.day-one #screen .menu-rest .chapter-h { display: flex; align-items: baseline; gap: 12px; margin: 0; padding: 0 0 clamp(5px, .9vh, 10px); border: 0; border-bottom: 2px solid #ecebe4; }
  body.home.day-one #screen .menu-rest li.chapter[data-chapter="2"] .chapter-h { border-bottom-color: #6a665e; }
  body.home.day-one #screen .menu-rest .chapter-h .eyebrow { font: 400 12.5px/1 var(--v2-face); letter-spacing: .06em; text-transform: lowercase; color: var(--v2-dim); text-shadow: none; }
  body.home.day-one #screen .menu-rest .chapter-h b { flex: 1 1 auto; font: 400 clamp(22px, 3.3vh, 38px)/1 var(--flyer, 'Anton', sans-serif); letter-spacing: .02em; text-transform: uppercase; color: #ecebe4; text-shadow: none; }
  body.home.day-one #screen .menu-rest li.chapter[data-chapter="2"] .chapter-h b { color: #a39e93; }
  body.home.day-one #screen .menu-rest .chapter-h .mono { font: 400 12.5px/1 var(--v2-face); letter-spacing: .02em; color: var(--v2-dim); }
  body.home.day-one #screen .menu-rest ol.stages { display: block; margin: 0; padding: 0; border: 0; background: none; gap: 0; }
  body.home.day-one #screen .menu-rest ol.stages > li { display: block; margin: 0; padding: 0; border: 0; border-bottom: 1px solid rgba(236, 235, 228, .16); }
  /* a track: its number, its name, its tag, on one line */
  body.home.day-one #screen .menu-rest ol.stages .stage.arc-stage { position: relative; display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: clamp(10px, 1vw, 18px); width: 100%; min-height: 0; height: clamp(34px, 4.9vh, 54px); margin: 0; padding: 0 2px; border: 0; border-radius: 0; background: none; box-shadow: none; opacity: 1; text-align: left; color: var(--v2-dim); animation: none; }
  body.home.day-one #screen .menu-rest ol.stages .stage.arc-stage::before { content: none; }
  body.home.day-one #screen .menu-rest ol.stages .stage .stage-n { position: static; flex: none; min-width: 2.7em; margin: 0; padding: 3px 0 2px; font: 400 clamp(13px, 1.6vh, 16px)/1 var(--v2-face); letter-spacing: .04em; text-align: center; color: var(--v2-dim); text-shadow: none; }
  body.home.day-one #screen .menu-rest ol.stages .stage b { position: static; flex: 1 1 auto; min-width: 0; margin: 0; padding: .12em 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 clamp(17px, 2.5vh, 27px)/1 var(--flyer, 'Anton', sans-serif); letter-spacing: .03em; text-transform: uppercase; color: #a59f92; text-shadow: none; }
  body.home.day-one #screen .menu-rest ol.stages .stage .small { flex: none; font: 400 12px/1 var(--v2-face); color: var(--v2-dim); }
  /* the tags (Later, Out soon · est. 1 Dec): small print at the end of the line, never wrapped, never boxed */
  body.home.day-one #screen .menu-rest ol.stages .stage.later::after, body.home.day-one #screen .menu-rest ol.stages .stage.done::after { position: static; order: 9; flex: none; padding: 0; border: 0; border-radius: 0; background: none; font: 400 12px/1 var(--v2-face); letter-spacing: .04em; text-transform: lowercase; color: #a59f92; }
  body.home.day-one #screen .menu-rest ol.stages .stage .soon-tag { position: static; order: 8; flex: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font: 400 12px/1 var(--v2-face); letter-spacing: .04em; text-transform: lowercase; white-space: nowrap; color: #a59f92; }
  body.home.day-one #screen .menu-rest ol.stages .stage[data-soon]::after { content: none; }
  /* the next one: its number struck in the violet ink, its name in the paper white */
  body.home.day-one #screen .menu-rest ol.stages .stage.now { color: #ecebe4; border: 0; background: none; box-shadow: none; }
  body.home.day-one #screen .menu-rest ol.stages .stage.now .stage-n { background: var(--v2-ink); color: #0b0710; font-weight: 700; }
  body.home.day-one #screen .menu-rest ol.stages .stage.now b { color: #ecebe4; }
  body.home.day-one #screen .menu-rest ol.stages .stage.now::after { content: none; }
  body.home.day-one #screen .menu-rest ol.stages .stage[data-done="true"] b { color: #cfc8ba; }
  body.home.day-one #screen .menu-rest ol.stages .stage:hover b, body.home.day-one #screen .menu-rest ol.stages .stage:focus-visible b { color: #fff; }
  body.home.day-one #screen .menu-rest ol.stages .stage:focus-visible { outline: 1px solid #ecebe4; outline-offset: -1px; }
  /* Explore more: the listing's last line */
  body.home.day-one #screen .menu-rest #explore.explore { margin: 0 0 0 clamp(64px, 6.2vw, 124px); padding: 0; border: 0; border-top: 2px solid #6a665e; background: none; }
  body.home.day-one #screen .menu-rest #explore > summary { display: flex; align-items: baseline; gap: 12px; width: auto; min-height: 0; height: auto; padding: clamp(9px, 1.5vh, 16px) 2px; border: 0; background: none; box-shadow: none; }
  body.home.day-one #screen .menu-rest #explore > summary b::before { display: inline; width: auto; height: auto; margin: 0 .35em 0 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font: inherit; color: inherit; vertical-align: baseline; }
  body.home.day-one #screen .menu-rest #explore > summary b { font: 400 clamp(17px, 2.5vh, 27px)/1 var(--flyer, 'Anton', sans-serif); letter-spacing: .03em; text-transform: uppercase; color: #a39e93; }
  body.home.day-one #screen .menu-rest #explore > summary .small { font: 400 13px/1.2 var(--v2-face); color: var(--v2-dim); }
  body.home.day-one #screen .menu-rest #explore > summary:hover b { color: #fff; }
  /* Explore more, opened: the same listing, a line each (the name, its line, its tag), never today's boxes squeezed into the path's column */
  body.home.day-one #screen .menu-rest #explore h3.sect { margin: clamp(10px, 1.6vh, 18px) 0 2px; padding: 0; border: 0; background: none; font: 400 12.5px/1.2 var(--v2-face); letter-spacing: .06em; text-transform: lowercase; color: var(--v2-dim); text-shadow: none; }
  body.home.day-one #screen .menu-rest #explore ol.arc-more, body.home.day-one #screen .menu-rest #explore .modes.compact { display: block; margin: 0; padding: 0; gap: 0; }
  body.home.day-one #screen .menu-rest #explore ol.arc-more > li { display: block; min-width: 0; margin: 0; padding: 0; border: 0; }
  body.home.day-one #screen .menu-rest #explore .arc-more .stage, body.home.day-one #screen .menu-rest #explore .modes.compact .mode { position: relative; display: flex; flex-direction: row; align-items: center; gap: 14px; box-sizing: border-box; width: 100%; min-width: 0; min-height: 0; height: auto; margin: 0; padding: clamp(6px, 1vh, 10px) 2px; overflow: visible; border: 0; border-bottom: 1px solid rgba(236, 235, 228, .16); border-radius: 0; background: none; box-shadow: none; opacity: 1; text-align: left; color: var(--v2-dim); animation: none; transform: none; }
  body.home.day-one #screen .menu-rest #explore .arc-more .stage::before, body.home.day-one #screen .menu-rest #explore .arc-more .stage::after, body.home.day-one #screen .menu-rest #explore .modes.compact .mode::before, body.home.day-one #screen .menu-rest #explore .modes.compact .mode::after { content: none; }
  body.home.day-one #screen .menu-rest #explore .arc-more .stage b, body.home.day-one #screen .menu-rest #explore .modes.compact .mode b { flex: none; margin: 0; padding: .1em 0 0; white-space: nowrap; font: 400 clamp(15px, 2vh, 21px)/1 var(--flyer, 'Anton', sans-serif); letter-spacing: .03em; text-transform: uppercase; color: #cfc8ba; opacity: 1; text-shadow: none; }
  body.home.day-one #screen .menu-rest #explore .modes.compact .mode.locked > b::after { font: 400 12px/1 var(--v2-face); letter-spacing: .04em; text-transform: lowercase; color: var(--v2-dim); }
  /* opened, the listing is longer than the window: the footer (Report a problem) goes after it, at the page's end, never over a line of it */
  body.home.day-one:has(#explore[open]) .buildbar { position: relative; right: auto; bottom: auto; opacity: 1; }
  body.home.day-one #screen .menu-rest #explore .arc-more .stage .small, body.home.day-one #screen .menu-rest #explore .modes.compact .mode .small { display: block; flex: 1 1 auto; min-width: 0; margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 400 13px/1.2 var(--v2-face); color: var(--v2-dim); }
  body.home.day-one #screen .menu-rest #explore .soon-tag { position: static; order: 9; flex: none; margin: 0 0 0 auto; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; white-space: nowrap; font: 400 12px/1 var(--v2-face); letter-spacing: .04em; text-transform: lowercase; color: #a59f92; }
  body.home.day-one #screen .menu-rest #explore .arc-more .stage:hover b, body.home.day-one #screen .menu-rest #explore .modes.compact .mode:hover b, body.home.day-one #screen .menu-rest #explore .arc-more .stage:focus-visible b, body.home.day-one #screen .menu-rest #explore .modes.compact .mode:focus-visible b { color: #fff; }
  body.home.day-one #screen .menu-rest #explore .arc-more .stage:focus-visible, body.home.day-one #screen .menu-rest #explore .modes.compact .mode:focus-visible { outline: 1px solid #ecebe4; outline-offset: -1px; }
}

/* ====================================================================================================================
   THE COACH ON THE DECK SCREENS (Part 1)
   (built as the working partial look-part-coach.css, folded in here unchanged, in the order they were linked)
   ==================================================================================================================== */
/* ====================================================================================================================
   THE COACH ON THE DECK SCREENS, in the print (docs/LOOK.md). Display only: no id, word, hit area or slot size changes.
     the voice     what is said to the player is typed (Courier Prime bold, 14 px and up): the step's sentence, a teach
                   line's note and why, the sub-line's said lines, the tooltip's sentence, a note over the decks
     the dense     chips, counts, read-outs, keys: B612, lower case; a count or a read-out in the amber
     no boxes      a chip is an entry in the print (the deck's dot, the control, the word), never a boxed tag; a tile is a
                   line of a listing with its band's swatch at its head, never a tinted card
     the bands     LOW the purple (a halftone), MID the light grey (solid), HIGH the darker grey (a finer dot): a band's
                   swatch carries its texture, its NAME is always lit print beside it (never grey type on black)
     purple        only the one thing to press (Swap the bass, a card's Next) and the bass
     paper         only what comes up over the decks: Knob School's card and round box, the unplugged note
   Nothing here touches #lightsBg, the bass halo, a hit or what the strip draws.
   ==================================================================================================================== */
body.decks-on, #whatTip, #unplugNote, #tabNote {
  /* a band's swatch with its texture: LOW coarse dots, HIGH fine dots (two offset grids make the 45° screen), the vocals ruled */
  --sw-low: radial-gradient(circle, rgb(var(--band-low-rgb)) 0 1.25px, transparent 1.6px) 0 0 / 4px 4px, radial-gradient(circle, rgb(var(--band-low-rgb)) 0 1.25px, transparent 1.6px) 2px 2px / 4px 4px;
  --sw-high: radial-gradient(circle, rgb(var(--band-high-rgb)) 0 .7px, transparent 1px) 0 0 / 2px 2px;
  --sw-vox: repeating-linear-gradient(180deg, rgb(var(--band-mid-rgb)) 0 2px, rgb(var(--band-vox-rgb)) 2px 3px);   /* (19 Nov) the voice: the mids' orange ruled in the dark ink, as the lanes draw it */
  /* the chip's tones and the lit control's answer: the LEDs' green and amber (the old amber read as the mids' yellow) */
  --tone-ok: var(--pr-ok); --tone-ok-rgb: 70, 224, 143; --tone-warn: var(--pr-warn); --tone-warn-rgb: 242, 234, 120;
}

/* ---------- 1. the HUD's top row: the count, the tick, the keys ---------- */
body.decks-on #screen.decks-screen > .hud .hud-top .coach-lead .coach-count { font-family: var(--pr-face); font-weight: 400; letter-spacing: .03em; color: var(--pr-print); }
body.decks-on #screen.decks-screen > .hud .hud-top .coach-lead .stepok { border: 0; background: none; box-shadow: none; color: var(--pr-ok); font-family: var(--pr-face); font-weight: 700; letter-spacing: .03em; }
body.decks-on #screen.decks-screen .hud .bbtn.hear, body.decks-on #screen.decks-screen .hud .bbtn.sm.hear { border-color: rgba(var(--pr-warm), .24); background: var(--pr-key); color: var(--pr-lit); }
body.decks-on #screen.decks-screen .hud .bbtn.hear:hover { border-color: rgba(var(--pr-warm), .5); color: #fff; }
/* the light strip's frame: a hairline (its picture is the lights': untouched) */
body.decks-on #screen.decks-screen > .club { border-color: var(--pr-rule); border-radius: 0; box-shadow: none; }

/* ---------- 2. the step banner ---------- */
/* the step's sentence: the coach's voice, typed (Courier Prime bold, the lit white). Tried against B612 bold at 26-30 px on the
   real screens (reports/design-look-v2-default/part1): the typed line reads as well and is the slides' voice */
body.decks-on #screen.decks-screen #hudBanner .banner-text { font-family: var(--pr-type); font-weight: 700; letter-spacing: -.01em; color: var(--pr-lit); text-shadow: none; max-width: 52ch; }
body.decks-on #screen.decks-screen #hudBanner .banner-text .band-gloss { font-size: .62em; font-weight: 700; letter-spacing: 0; color: var(--pr-dim); }   /* (the typewriter face is wider than the old sans: with a new player's band names, "(the bass)", "(voice and melody)", at full size the swap's sentence took three lines and moved the lanes 26 px. The names quiet and smaller, the line 52ch: every step two lines at most) */
/* a term in the sentence: one dotted hairline under it */
body.decks-on #screen.decks-screen #hudBanner .banner-text .term { text-decoration: underline dotted; text-decoration-thickness: 1px; text-decoration-color: rgba(244, 236, 220, .5); text-underline-offset: .16em; border-bottom: 0; color: inherit; }
/* the chip: an entry in the print: the deck's dot, "deck b · low", a hairline, the word. No box */
body.decks-on #screen.decks-screen #hudBanner .banner-ctl, body.decks-on #screen.decks-screen #hudBanner .banner-ctl[data-deck="A"], body.decks-on #screen.decks-screen #hudBanner .banner-ctl[data-deck="B"], body.decks-on #screen.decks-screen #hudBanner[data-deck] .banner-ctl[data-tone] { gap: 8px; padding-left: 2px; padding-right: 2px; border: 0; border-top: 1px solid transparent; border-bottom: 1px solid var(--pr-rule2); border-radius: 0; background: none; box-shadow: none; color: var(--pr-print); font-family: var(--pr-face); font-weight: 400; letter-spacing: .03em; text-transform: lowercase; }
body.decks-on #screen.decks-screen #hudBanner .banner-ctl::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--deckA); }
body.decks-on #screen.decks-screen #hudBanner .banner-ctl[data-deck="B"]::before { background: var(--deckB); }
body.decks-on #screen.decks-screen #hudBanner .banner-ctl + .banner-ctl { margin-left: 14px; }
body.decks-on #screen.decks-screen #hudBanner .banner-ctl .banner-target, body.decks-on #screen.decks-screen #hudBanner .banner-ctl .banner-target[data-tone] { margin: 0; padding: 0 0 0 8px; border-left: 1px solid var(--pr-rule2); border-radius: 0; background: none; color: var(--pr-lit); font-family: var(--pr-face); font-weight: 700; font-style: normal; letter-spacing: .02em; }
body.decks-on #screen.decks-screen #hudBanner .banner-ctl .banner-target[data-tone="ok"] { color: var(--pr-ok); border-left-color: var(--pr-rule2); }
body.decks-on #screen.decks-screen #hudBanner .banner-ctl .banner-target[data-tone="adjust"], body.decks-on #screen.decks-screen #hudBanner .banner-ctl .banner-target[data-tone="early"] { color: var(--pr-warn); border-left-color: var(--pr-rule2); }
body.decks-on #screen.decks-screen #hudBanner .banner-ctl .banner-band { padding-left: 8px; border-left: 1px solid var(--pr-rule2); font-family: var(--pr-face); font-weight: 400; letter-spacing: .04em; text-transform: lowercase; color: var(--pr-dim); }
/* ♪ and ⓘ: small keys */
body.decks-on #screen.decks-screen #hudBanner .banner-hear, body.decks-on #screen.decks-screen #hudBanner .banner-info { border: 1px solid rgba(var(--pr-warm), .24); border-radius: 3px; background: var(--pr-key); box-shadow: none; color: var(--pr-lit); font-family: var(--pr-face); }
body.decks-on #screen.decks-screen #hudBanner .banner-hear:hover, body.decks-on #screen.decks-screen #hudBanner .banner-info:hover, body.decks-on #screen.decks-screen #hudBanner .banner-info[aria-expanded="true"] { border-color: rgba(var(--pr-warm), .5); background: #1b1a19; color: #fff; }
body.decks-on #screen.decks-screen #hudBanner .banner-info[aria-expanded="true"] { box-shadow: inset 0 -2px 0 var(--pr-lit); }
body.decks-on #screen.decks-screen #hudBanner .banner-hear:focus-visible, body.decks-on #screen.decks-screen #hudBanner .banner-info:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* the why and a note: the coach's voice, typed */
body.decks-on #screen.decks-screen #hudBanner .banner-why, body.decks-on #screen.decks-screen .banner-whytext { font-family: var(--pr-type); font-weight: 700; letter-spacing: 0; color: var(--pr-print); }
body.decks-on #screen.decks-screen #hudBanner .banner-note { font-family: var(--pr-type); font-weight: 700; letter-spacing: 0; color: var(--pr-print); }
/* Swap the bass: the one thing to press on its step: a block of the violet, Anton, a paper edge a hair off register; its key a
   cap in the paper's white */
body.decks-on #screen.decks-screen .bbtn.swap-btn, body.decks-on #screen.decks-screen .bbtn.sm.primary.swap-btn { border: 0; border-radius: 0; background: var(--pr-violet); box-shadow: 2px 2px 0 var(--pr-paper); color: var(--paper-ink); font-family: var(--flyer); font-weight: 400; font-size: 16px; letter-spacing: .05em; text-transform: uppercase; text-shadow: none; }
body.decks-on #screen.decks-screen .bbtn.swap-btn::before { color: var(--paper-ink); }
body.decks-on #screen.decks-screen .bbtn.swap-btn .swap-key { border: 0; border-radius: 2px; background: var(--paper); color: var(--paper-ink); font-family: var(--pr-face); font-weight: 700; opacity: 1; box-shadow: 0 1px 0 rgba(0, 0, 0, .5); }
body.decks-on #screen.decks-screen .bbtn.swap-btn:hover:not(:disabled), body.decks-on #screen.decks-screen .bbtn.swap-btn:focus-visible { background: var(--pr-violet-hi); border: 0; color: var(--paper-ink); box-shadow: 3px 3px 0 #fff; transform: translate(-1px, -1px); }
body.decks-on #screen.decks-screen .bbtn.swap-btn:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--pr-paper); }
body.decks-on #screen.decks-screen .bbtn.swap-btn:active .swap-key { border: 0; margin-top: 0; }

/* ---------- 3. the sub-line: what just landed, typed ---------- */
body.decks-on #screen.decks-screen #hudSub .said, body.decks-on #screen.decks-screen .again-note { font-family: var(--pr-type); font-weight: 700; letter-spacing: 0; color: var(--pr-lit); }
body.decks-on #screen.decks-screen #hudSub .said::before, body.decks-on #screen.decks-screen .again-note::before { background: var(--pr-lit); box-shadow: none; }
/* a hit: the line stays the lit white (a band's own colour is never type on black); the dot before it is the band's swatch */
body.decks-on #screen.decks-screen #hudSub .said-hit { color: var(--pr-lit); }
body.decks-on #screen.decks-screen #hudSub .said-hit::before { width: 8px; height: 8px; border-radius: 0; background: var(--pr-ok); box-shadow: none; }
body[data-step-band="low"].decks-on #screen.decks-screen #hudSub .said-hit::before { background: rgb(var(--band-low-rgb)); }
body[data-step-band="mid"].decks-on #screen.decks-screen #hudSub .said-hit::before { background: rgb(var(--band-mid-rgb)); }
body[data-step-band="high"].decks-on #screen.decks-screen #hudSub .said-hit::before { background: rgb(var(--band-high-rgb)); box-shadow: 0 0 0 1px var(--pr-rule2); }
body.decks-on #screen.decks-screen #hudSub .said-missed { color: var(--pr-warn); }
body.decks-on #screen.decks-screen #hudSub .said-missed::before { background: var(--pr-warn); box-shadow: none; }
body.decks-on #screen.decks-screen .streak-chip { padding: 0 0 0 8px; border: 0; border-left: 1px solid var(--pr-rule2); border-radius: 0; font-family: var(--pr-face); font-weight: 400; letter-spacing: .03em; color: var(--pr-amber); }
body.decks-on #screen.decks-screen .hold-dots i { background: rgba(244, 236, 220, .22); box-shadow: none; }
body.decks-on #screen.decks-screen .hold-dots i[data-on="true"] { background: var(--pr-lit); box-shadow: none; }

/* ---------- 4. Try just the swap's chips, the goal in the HUD ---------- */
body.decks-on #screen.decks-screen .hud .swap-chip { border: 0; border-top: 1px solid var(--pr-rule2); border-radius: 0; background: none; box-shadow: none; }
body.decks-on #screen.decks-screen .hud .swap-chip b { font-family: var(--pr-face); font-weight: 700; color: var(--pr-lit); font-variant-numeric: tabular-nums; }
body.decks-on #screen.decks-screen .hud .swap-chip i { font-family: var(--pr-face); color: var(--pr-dim); }
body.decks-on #screen.decks-screen .hud .swap-chip.best { border-top: 2px solid var(--pr-paper); box-shadow: none; }
body.decks-on #screen.decks-screen .hud .swap-chip.latest { background: rgba(236, 235, 228, .06); }
body.decks-on #screen.decks-screen .hud .swap-chip.gS b, body.decks-on #screen.decks-screen .hud .swap-chip.gA b { color: var(--pr-ok); }
body.decks-on #screen.decks-screen .hud .swap-chip.gC b, body.decks-on #screen.decks-screen .hud .swap-chip.gD b { color: var(--pr-warn); }
body.decks-on #screen.decks-screen .hud .swap-best { font-family: var(--pr-face); letter-spacing: .03em; text-transform: lowercase; color: var(--pr-amber); opacity: 1; }
body.decks-on #screen.decks-screen .hud .goal-box, body.decks-on #screen.decks-screen .hud .goal-box.swap-goal { border-color: var(--pr-rule); border-radius: 0; background: none; box-shadow: none; }
body.decks-on #screen.decks-screen .hud .goal-box .goal-line { font-family: var(--pr-type); font-weight: 700; letter-spacing: 0; color: var(--pr-lit); }
body.decks-on #screen.decks-screen .hud .goal-box .goal-count { font-family: var(--pr-face); color: var(--pr-amber); }
body.decks-on #screen.decks-screen .hud .goal-rings .ring { border-color: rgba(236, 235, 228, .4); box-shadow: none; }
body.decks-on #screen.decks-screen .hud .goal-rings .ring[data-on="true"] { border-color: var(--pr-lit); background: var(--pr-lit); box-shadow: none; }
body.decks-on #screen.decks-screen .hud #hudMission .mlabel { font-family: var(--pr-face); letter-spacing: .03em; text-transform: lowercase; color: var(--pr-dim); }
body.decks-on #screen.decks-screen .hud #hudMission .mrep { border-color: var(--pr-rule2); border-radius: 0; box-shadow: none; font-family: var(--pr-face); }

/* ---------- 5. Chapter 2's board: three lines of a listing side by side: the band's swatch at its head (its texture too),
   the move typed, its bar a read-out. Lit while it is the next one; no tinted cards ---------- */
body.decks-on #screen.decks-screen .moves-board { font-family: var(--pr-face); }
body.decks-on #screen.decks-screen .moves-board .mb-tile, body.decks-on #screen.decks-screen .moves-board .mb-tile[data-state] { --mc: var(--pr-paper); border: 0; border-left: 6px solid var(--mc); border-radius: 0; background: none; box-shadow: inset 0 1px 0 var(--pr-rule); color: var(--pr-dim); }
body.decks-on #screen.decks-screen .moves-board .mb-tile[data-band="low"] { --mc: rgb(var(--band-low-rgb)); }
body.decks-on #screen.decks-screen .moves-board .mb-tile[data-band="mid"] { --mc: rgb(var(--band-mid-rgb)); }
body.decks-on #screen.decks-screen .moves-board .mb-tile[data-band="high"] { --mc: rgb(var(--band-high-rgb)); }
body.decks-on #screen.decks-screen .moves-board .mb-tile[data-band="vox"] { --mc: rgb(var(--band-mid-rgb)); }
body.decks-on #screen.decks-screen .moves-board .mb-tile[data-band="vox"]::after { background: var(--sw-vox); }
/* the swatch's texture: a strip of the band's dots beside its solid edge (the bass coarse, the hats fine) */
body.decks-on #screen.decks-screen .moves-board .mb-tile[data-band="low"]::after, body.decks-on #screen.decks-screen .moves-board .mb-tile[data-band="high"]::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; pointer-events: none; }
body.decks-on #screen.decks-screen .moves-board .mb-tile[data-band="low"]::after { background: var(--sw-low); }
body.decks-on #screen.decks-screen .moves-board .mb-tile[data-band="high"]::after { background: var(--sw-high); width: 6px; }
body.decks-on #screen.decks-screen .moves-board .mb-tile > b { font-family: var(--pr-type); font-weight: 700; letter-spacing: 0; text-transform: lowercase; color: inherit; }
body.decks-on #screen.decks-screen .moves-board .mb-tile > span, body.decks-on #screen.decks-screen .moves-board .mb-tile > i { font-family: var(--pr-face); font-weight: 400; letter-spacing: .02em; color: var(--pr-dim); }
body.decks-on #screen.decks-screen .moves-board .mb-tile[data-state="next"] { box-shadow: inset 0 2px 0 var(--pr-paper); color: #fff; }
body.decks-on #screen.decks-screen .moves-board .mb-tile[data-state="next"] > span, body.decks-on #screen.decks-screen .moves-board .mb-tile[data-state="next"] > i { color: var(--pr-amber); }
body.decks-on #screen.decks-screen .moves-board .mb-tile[data-state="done"], body.decks-on #screen.decks-screen .moves-board .mb-tile[data-state="late"], body.decks-on #screen.decks-screen .moves-board .mb-tile[data-state="jumped"] { color: var(--pr-print); }
body.decks-on #screen.decks-screen .moves-board .mb-tile[data-state="done"] > b::before { color: var(--pr-ok); }
body.decks-on #screen.decks-screen .moves-board .mb-tile[data-state="late"] > b::before, body.decks-on #screen.decks-screen .moves-board .mb-tile[data-state="jumped"] > b::before, body.decks-on #screen.decks-screen .moves-board .mb-tile[data-state="missed"] > b::before { color: var(--pr-warn); }
body.decks-on #screen.decks-screen .moves-board .mb-tile[data-state="late"] > i, body.decks-on #screen.decks-screen .moves-board .mb-tile[data-state="jumped"] > i, body.decks-on #screen.decks-screen .moves-board .mb-tile[data-state="late"] > span, body.decks-on #screen.decks-screen .moves-board .mb-tile[data-state="jumped"] > span { color: var(--pr-warn); }
body.decks-on #screen.decks-screen .moves-board .mb-tile[data-state="missed"] { border-left-color: var(--mc); color: var(--pr-dim); }

/* ---------- 6. Knob School: the strip (read-outs), the calls' tiles (the board's lines, small) ---------- */
body.decks-on #screen.decks-screen .ks-strip .ks-k { font-family: var(--pr-face); font-weight: 400; letter-spacing: .03em; color: var(--pr-dim); }
body.decks-on #screen.decks-screen .ks-strip b, body.decks-on #screen.decks-screen .ks-strip .ks-score b { font-family: var(--pr-face); font-weight: 700; letter-spacing: 0; color: var(--pr-amber); text-shadow: none; }
body.decks-on #screen.decks-screen .ks-strip .ks-best b, body.decks-on #screen.decks-screen .ks-strip .ks-round b { color: var(--pr-print); }
body.decks-on #screen.decks-screen .ks-strip .ks-best .ks-k { color: var(--pr-dim); }
/* the multiplier: a stamp (Anton in the purple, a ruled frame, off square); ×4 is lit: the paper's white */
body.decks-on #screen.decks-screen .ks-strip .ks-mult { padding: 4px 12px 2px; border: 2px solid rgba(236, 235, 228, .3); border-radius: 0; background: none; box-shadow: none; color: var(--pr-dim); font-family: var(--flyer); font-weight: 400; font-size: 26px; letter-spacing: .04em; transform: rotate(-3deg); }
body.decks-on #screen.decks-screen .ks-strip .ks-mult[data-on="true"] { border-color: currentColor; background: none; color: var(--pr-violet); box-shadow: none; }
body.decks-on #screen.decks-screen .ks-strip[data-mult="4"] .ks-mult { border-color: var(--paper); background: var(--paper); color: var(--paper-ink); box-shadow: none; }
body.decks-on #screen.decks-screen .ks-tiles .ks-tiles-h { font-family: var(--pr-face); font-weight: 400; letter-spacing: .03em; color: var(--pr-dim); }
body.decks-on #screen.decks-screen .ks-tiles .ks-tiles-h b { color: var(--pr-lit); }
body.decks-on #screen.decks-screen .ks-tile, body.decks-on #screen.decks-screen .ks-tile[data-state] { --mc: var(--pr-paper); border: 0; border-left: 5px solid var(--mc); border-radius: 0; background: none; box-shadow: inset 0 1px 0 var(--pr-rule); color: var(--pr-dim); }
body.decks-on #screen.decks-screen .ks-tile[data-band^="low"] { --mc: rgb(var(--band-low-rgb)); }
body.decks-on #screen.decks-screen .ks-tile[data-band^="mid"] { --mc: rgb(var(--band-mid-rgb)); }
body.decks-on #screen.decks-screen .ks-tile[data-band^="high"] { --mc: rgb(var(--band-high-rgb)); }
body.decks-on #screen.decks-screen .ks-tile[data-band^="low"]::after, body.decks-on #screen.decks-screen .ks-tile[data-band^="high"]::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; pointer-events: none; }
body.decks-on #screen.decks-screen .ks-tile[data-band^="low"]::after { background: var(--sw-low); }
body.decks-on #screen.decks-screen .ks-tile[data-band^="high"]::after { background: var(--sw-high); width: 6px; }
body.decks-on #screen.decks-screen .ks-tile > b { font-family: var(--pr-face); font-weight: 700; letter-spacing: .02em; color: inherit; }
body.decks-on #screen.decks-screen .ks-tile > span { font-family: var(--pr-face); font-weight: 400; color: var(--pr-dim); }
body.decks-on #screen.decks-screen .ks-tile[data-state="clean"], body.decks-on #screen.decks-screen .ks-tile[data-state="near"], body.decks-on #screen.decks-screen .ks-tile[data-state="late"], body.decks-on #screen.decks-screen .ks-tile[data-state="early"], body.decks-on #screen.decks-screen .ks-tile[data-state="boost"] { color: var(--pr-print); }
body.decks-on #screen.decks-screen .ks-tile[data-state="clean"] > b::before { color: var(--pr-ok); }
body.decks-on #screen.decks-screen .ks-tile[data-state="near"] > b::before, body.decks-on #screen.decks-screen .ks-tile[data-state="late"] > b::before, body.decks-on #screen.decks-screen .ks-tile[data-state="early"] > b::before, body.decks-on #screen.decks-screen .ks-tile[data-state="boost"] > b::before, body.decks-on #screen.decks-screen .ks-tile[data-state="missed"] > b::before { color: var(--pr-warn); }
body.decks-on #screen.decks-screen .ks-tile[data-state="near"] > span, body.decks-on #screen.decks-screen .ks-tile[data-state="late"] > span, body.decks-on #screen.decks-screen .ks-tile[data-state="early"] > span, body.decks-on #screen.decks-screen .ks-tile[data-state="boost"] > span { color: var(--pr-warn); }
body.decks-on #screen.decks-screen .ks-tile[data-state="missed"] { border-left-color: var(--mc); }
body.decks-on #screen.decks-screen .ks-tile[data-state="now"] { box-shadow: inset 0 2px 0 var(--pr-paper); color: #fff; }
body.decks-on #screen.decks-screen .ks-tile[data-state="now"] > span { color: var(--pr-amber); }

/* ---------- 7. the join chips in a night's set: a line of print with an LED edge ---------- */
body.decks-on #screen.decks-screen .hud .join-chip { --jc: var(--pr-lit); border: 0; border-left: 3px solid var(--jc); border-radius: 0; background: none; box-shadow: none; font-family: var(--pr-face); font-weight: 400; letter-spacing: .03em; text-transform: lowercase; color: var(--pr-lit); }
body.decks-on #screen.decks-screen .hud .join-chip::first-letter { color: inherit; }
body.decks-on #screen.decks-screen .hud .join-chip[data-q="clean"] { --jc: var(--pr-ok); }
body.decks-on #screen.decks-screen .hud .join-chip[data-q="late"], body.decks-on #screen.decks-screen .hud .join-chip[data-q="early"], body.decks-on #screen.decks-screen .hud .join-chip[data-q="rough"] { --jc: var(--pr-warn); }
body.decks-on #screen.decks-screen .hud .join-chip[data-q="clash"] { --jc: var(--pr-bad); }

/* ---------- 8. the legend over the lanes: each band's swatch with its texture, the names in the print ---------- */
body.decks-on #screen.decks-screen .wv-legend .wv-k { font-family: var(--pr-face); font-weight: 400; letter-spacing: .03em; text-transform: lowercase; color: var(--pr-print); }
body.decks-on #screen.decks-screen .wv-legend .wv-k > i { border-radius: 0; box-shadow: none; }
body.decks-on #screen.decks-screen .wv-legend .wv-k > i.wv-low { background: var(--sw-low); }
body.decks-on #screen.decks-screen .wv-legend .wv-k > i.wv-mid { background: rgb(var(--band-mid-rgb)); }
body.decks-on #screen.decks-screen .wv-legend .wv-k > i.wv-high { background: var(--sw-high); }
body.decks-on #screen.decks-screen .wv-legend .wv-k > i.wv-voc { background: var(--sw-vox); }
body.decks-on #screen.decks-screen .wv-legend .wv-k > i.wv-phr { background: var(--pr-paper); }
/* a step about a band: its key stays lit (a ring in the print's white), the others step back; never a glow */
body[data-step-band~="low"].decks-on #screen.decks-screen .wv-legend i.wv-low:not(.wv-z), body[data-step-band~="mid"].decks-on #screen.decks-screen .wv-legend i.wv-mid:not(.wv-z), body[data-step-band~="high"].decks-on #screen.decks-screen .wv-legend i.wv-high:not(.wv-z) { opacity: 1; box-shadow: 0 0 0 2px #060606, 0 0 0 3px var(--pr-lit); animation: none; }
body.decks-on #screen.decks-screen .wv-legend .wv-lvl { color: var(--pr-lit); }
body.decks-on #screen.decks-screen .wv-legend .wv-zoom b { font-family: var(--pr-face); font-weight: 400; color: var(--pr-amber); }

/* the legend's own ground: solid and square (it can stand over the room's light), no box round it */
body.decks-on #screen.decks-screen > .wv-legend { border: 0; border-radius: 0; background: #060606; box-shadow: none; }
/* Free mix's and Set mode's Assist: a small key, so the score beside it is read whole */
body.decks-on #screen.decks-screen .freebar .assist select, body.decks-on #screen.decks-screen .hud .assist select { min-height: 30px; height: 30px; padding: 0 26px 0 8px; font-size: 13px; }
body.decks-on #screen.decks-screen .freebar .assist, body.decks-on #screen.decks-screen .hud .assist { font-family: var(--pr-face); letter-spacing: .03em; text-transform: lowercase; color: var(--pr-dim); }
/* Free mix's Guided strip: the step typed, its count a read-out; the warning the LED amber */
body.decks-on #screen.decks-screen .mix-hints .mh-next { font-family: var(--pr-type); font-weight: 700; letter-spacing: 0; color: var(--pr-lit); }
body.decks-on #screen.decks-screen .mix-hints .mh-count, body.decks-on #screen.decks-screen .mix-hints .mh-in { font-family: var(--pr-face); color: var(--pr-amber); }
body.decks-on #screen.decks-screen .mix-hints .mh-warn { font-family: var(--pr-type); font-weight: 700; color: var(--pr-warn); }

/* ---------- 9. the band meter: the bands' own tones (the bass the purple, the mids light, the hats dark on a paler rail) ---------- */
body.decks-on #screen.decks-screen .band-meter i[data-band="high"] { box-shadow: 0 0 0 1px rgba(236, 235, 228, .28); }

/* ---------- 10. "What's this?": a typed sentence on a dark sheet with a hairline, its point the same ---------- */
#whatTip.what-tip { border: 1px solid var(--pr-rule2); border-radius: 2px; background: var(--pr-sheet); box-shadow: 0 10px 24px rgba(0, 0, 0, .7); color: var(--pr-lit); font: 700 14px/1.4 var(--pr-type); letter-spacing: 0; }
#whatTip.what-tip::before { background: var(--pr-sheet); border-color: var(--pr-rule2); }

/* ---------- 11. notes over the decks ----------
   the unplugged note comes up over the decks and stops the lesson: a paper card (near-black type, typed), its button the key
   on paper; the other-tab note is a tape label at the foot of the window. (look-part-menus-b.css styles both as a dark notice at
   the same weight: these go over it, `body` in front; one of the two goes at the fold-in) */
body #unplugNote.unplug-note { border: 0; border-radius: 0; background: var(--paper-tex) 0 0 / 512px 512px, var(--paper); box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .85), 0 0 0 1px rgba(0, 0, 0, .6); color: var(--paper-ink); font: 700 15px/1.4 var(--pr-type); letter-spacing: 0; padding: 18px 26px 20px; }
body #unplugNote.unplug-note b { font: 400 26px/1 var(--flyer); letter-spacing: .02em; text-transform: uppercase; color: var(--paper-ink); }
body #unplugNote.unplug-note span { color: var(--paper-ink); }
body #unplugNote.unplug-note .bbtn { margin-top: 6px; font-family: var(--pr-face); }
body #unplugNote.unplug-note .bbtn:not(.primary) { background: none; border: 1.5px solid var(--paper-ink); color: var(--paper-ink); }
body #unplugNote.unplug-note .bbtn:not(.primary):hover { background: var(--paper-ink); color: var(--paper); }
body #unplugNote.unplug-note .bbtn.primary { box-shadow: 3px 3px 0 var(--paper-ink); }
body #unplugNote.unplug-note a { color: var(--paper-ink); }
body #tabNote.tab-note { border: 0; border-radius: 0; background: var(--paper-tex) 0 0 / 256px 256px, var(--paper); box-shadow: 0 1px 0 rgba(0, 0, 0, .45), 0 10px 22px rgba(0, 0, 0, .6); color: var(--paper-ink); font: 700 14px/1.3 var(--pr-type); letter-spacing: 0; }

/* ---------- 12. the wait before a lesson (the veil): the words typed ---------- */
.veil.wait .veil-text, .veil.wait p { font-family: var(--pr-type); font-weight: 700; letter-spacing: 0; }

/* ---------- 13. the stamp on a control ([data-stamp="✓ Voice out"], 1.5 s): a stamp: Anton capitals in a ruled frame a few
   degrees off square, in the LED green (done), on the dark so it reads over the knob. No glow. Its life is the old one's
   (snap in, hold, lift away) with the tilt kept ---------- */
body.decks-on #screen #decks3 [data-stamp][data-stamp][data-stamp]::after { padding: 3px 8px 1px; border: 2px solid currentColor; border-radius: 0; background: #0b0b0a; box-shadow: 0 0 0 2px #060606; color: var(--pr-ok); font: 400 15px/1.15 var(--flyer); letter-spacing: .05em; text-transform: uppercase; animation-name: co-stamp; }
body.decks-on #screen #decks3 .kn[data-stamp][data-stamp][data-stamp]::after { font-size: 14px; padding: 3px 7px 1px; }
body.decks-on #screen #decks3 .mcol.deckB .kn[data-stamp][data-stamp][data-stamp]::after { animation-name: co-stamp-r; }
body.decks-on #screen #decks3 [data-stamp][data-stamp][data-stamp][data-still]::after { animation: none; opacity: 1; transform: translate(-50%, -50%) rotate(-3deg); }
body.decks-on #screen #decks3 .mcol.deckB .kn[data-stamp][data-stamp][data-stamp][data-still]::after { animation: none; transform: translate(50%, -50%) rotate(-3deg); }
@keyframes co-stamp { 0% { opacity: 0; transform: translate(-50%, -50%) rotate(-3deg) scale(1.6); } 12% { opacity: 1; transform: translate(-50%, -50%) rotate(-3deg) scale(1); } 78% { opacity: 1; transform: translate(-50%, -50%) rotate(-3deg); } 100% { opacity: 0; transform: translate(-50%, calc(-50% - 6px)) rotate(-3deg); } }
@keyframes co-stamp-r { 0% { opacity: 0; transform: translate(50%, -50%) rotate(-3deg) scale(1.6); } 12% { opacity: 1; transform: translate(50%, -50%) rotate(-3deg) scale(1); } 78% { opacity: 1; transform: translate(50%, -50%) rotate(-3deg); } 100% { opacity: 0; transform: translate(50%, calc(-50% - 6px)) rotate(-3deg); } }
@media (prefers-reduced-motion: reduce) { body.decks-on #screen #decks3 [data-stamp][data-stamp][data-stamp]::after { animation: none; opacity: 1; transform: translate(-50%, -50%) rotate(-3deg); } body.decks-on #screen #decks3 .mcol.deckB .kn[data-stamp][data-stamp][data-stamp]::after { transform: translate(50%, -50%) rotate(-3deg); } }

/* ---------- 14. the lit control's ring in its band's own colour: the lit knob is drawn at brightness(2.4) (the lamp), which
   took its ring with it (the purple, the light grey and the dark grey all came out white, the amber yellow): the ring is
   mixed down by as much first, so what is seen is the band's colour (or the tone's) ---------- */
body.decks-on.focus #screen #decks3 .kn.is-needed .knob, body.decks-on[data-step-band].focus #screen #decks3 .kn.is-needed .knob { box-shadow: 0 0 0 2px #000, 0 0 0 4.5px color-mix(in srgb, var(--lit) 41.7%, #000); }
body.decks-on #screen #decks3 .kn[data-stamp] .knob, body.decks-on.focus #screen #decks3 .kn.is-needed[data-stamp] .knob, body.decks-on[data-step-band].focus #screen #decks3 .kn.is-needed[data-stamp] .knob { box-shadow: 0 0 0 2px #000, 0 0 0 4.5px color-mix(in srgb, var(--tone-ok) 41.7%, #000); }
body.decks-on #screen .decks3 .kn.wv-glow .knob, body.decks-on #screen .decks3 .kn.wv-glow.wv-open .knob { box-shadow: 0 0 0 2px #000, 0 0 0 4px color-mix(in srgb, var(--kc) 47.6%, #000); }

/* ---------- 15. Knob School's round box (between rounds, in the tiles' row): it comes up over the decks, so it is paper: a
   strip of the stock just round its two buttons, the next round the violet block with a near-black edge, the other the key
   on paper. The row's height is the tiles' own ---------- */
body.decks-on #screen.decks-screen .ks-tiles > .ks-box { justify-self: start; align-self: center; width: max-content; max-width: 100%; padding: 2px 12px 2px 10px; background: var(--paper-tex) 0 0 / 256px 256px, var(--paper); box-shadow: 0 12px 22px -12px rgba(0, 0, 0, .85); }
body.decks-on #screen.decks-screen .ks-tiles > .ks-box .bbtn.primary { box-shadow: 2px 2px 0 var(--paper-ink); }
body.decks-on #screen.decks-screen .ks-tiles > .ks-box .bbtn:not(.primary) { background: none; border: 1.5px solid var(--paper-ink); color: var(--paper-ink); }
body.decks-on #screen.decks-screen .ks-tiles > .ks-box .bbtn:not(.primary):hover { background: var(--paper-ink); color: var(--paper); }

/* ====================================================================================================================
   HOME, THE ROOMS, THE PAPER CARDS (Part 2a)
   (built as the working partial look-part-menus-a.css, folded in here unchanged, in the order they were linked)
   ==================================================================================================================== */
/* (Part 2a) the continue card
   and lesson intro cards, the two questions, Out soon, the access screen, the Tracks panel and Add music.
     paper     the key things are off-white paper cards (the recipe: --paper-tex over --paper, near-black print, a
               halftone at a corner, a soft black shadow, square, ONE violet button with a near-black edge): Home's
               continue card (Your next night's after graduating; day one's Start here), a room page's Next for you,
               the chapter cards, every lesson's intro card, Out soon, the access card; Transitions' moves are a paper
               sheet (slide 06)
     listings  everything else is print on the dark base: a line a thing, a hairline between, Anton names, typed lines
               (Courier Prime bold, 14 px and up), B612 for the dense small print, no boxes
   A working partial, linked after underground.css while the parts are built in parallel; folded into underground.css's
   last block before the PR. Display only. The selectors double #screen's id where an older rule (design/menus,
   design/polish-sleeves, design/nights, the day-one block) has to give way: when this is folded in those older rules
   can go and the ids can be single again. */


/* ====================================================================================================================
   THE PAPER CARD (docs/LOOK.md's recipe) on the cards that are sections: a lesson's intro card (.ft-intro: 1.1 to 2.2,
   Knob School, beatmatching, the tempo ride, 1.4's swap intro), the chapter cards (.chapter-open, .chapter-card), Out
   soon (#outSoon), Learn > Path's Continue (.path-next). Near-black print on the stock: an Anton title, typed lines,
   the goal as a ruled section, one violet button (a near-black edge off register), keys as ink outlines, Back as
   underlined typed words. Nothing on a card is rotated but a stamp.
   ==================================================================================================================== */
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) { position: relative; isolation: isolate; overflow: hidden; border: 0; border-radius: 0; background: var(--paper-tex) 0 0 / 512px 512px, var(--paper); box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .85); color: var(--paper-ink); text-shadow: none; animation: none; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music)::before { content: none; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music)::after { content: ''; position: absolute; z-index: -1; right: 0; bottom: 0; top: auto; left: auto; width: 250px; height: 250px; border: 0; border-radius: 0; box-shadow: none; pointer-events: none; background: var(--paper-ink); opacity: .2; -webkit-mask-image: var(--halftone), radial-gradient(circle at 100% 100%, #000 22%, transparent 66%); mask-image: var(--halftone), radial-gradient(circle at 100% 100%, #000 22%, transparent 66%); -webkit-mask-size: 190% 190%, 100% 100%; mask-size: 190% 190%, 100% 100%; -webkit-mask-position: left top, center; mask-position: left top, center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-composite: source-in; mask-composite: intersect; transform: none; animation: none; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .eyebrow { margin: 0 0 6px; padding: 0; border: 0; background: none; font: 700 14px/1.3 var(--pr-type); letter-spacing: .01em; text-transform: lowercase; color: var(--paper-dim); text-shadow: none; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) h1, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .ft-big, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) > b, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) h2 { margin: 0 0 clamp(6px, 1.2vh, 10px); font: 400 clamp(38px, 6.4vh, 72px)/.92 var(--flyer); letter-spacing: .005em; text-transform: uppercase; color: var(--paper-ink); text-shadow: none; -webkit-text-stroke: 0; background: none; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) h1::before, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) h1::after, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .ft-big::before, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .ft-big::after { content: none; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) p, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) li, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .small, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .muted, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) span.small { font-family: var(--pr-type); font-weight: 700; color: var(--paper-ink); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) p { margin: 0 0 clamp(5px, 1vh, 10px); font-size: 15px; line-height: 1.4; letter-spacing: 0; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) p.ft-lead { max-width: 56ch; font-size: clamp(16px, 2vh, 19px); line-height: 1.36; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .small, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .muted, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) p.small, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) p.muted { font-size: 14px; line-height: 1.4; color: var(--paper-dim); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) b, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) strong { color: var(--paper-ink); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) a:not(.bbtn) { color: var(--paper-ink); text-decoration: underline; text-decoration-color: var(--paper-ink); text-underline-offset: 3px; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .term { color: var(--paper-ink); border-bottom: 1.5px dotted var(--paper-ink); background: none; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .coach-k { display: inline; min-width: 0; margin: 0 10px 0 0; padding: 0; font: 700 14px/1.3 var(--pr-type); letter-spacing: .01em; text-transform: lowercase; color: var(--paper-dim); }
/* a tag on a card is typed words (a strip of paper does not show on paper) */
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .tag { display: inline; padding: 0; border: 0; background: none; box-shadow: none; transform: none; font: 700 14px/1.3 var(--pr-type); letter-spacing: 0; text-transform: lowercase; color: var(--paper-dim); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .term .new, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .term::before, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .term::after { color: var(--paper-dim); }
/* the one thing to press, the keys, Back */
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .bbtn.primary { border: 0; border-radius: 0; background: var(--pr-violet); box-shadow: 3px 3px 0 var(--paper-ink); color: var(--paper-ink); animation: none; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .bbtn.primary.big { box-shadow: 5px 5px 0 var(--paper-ink); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .bbtn.primary:hover:not(:disabled) { background: #b48dff; color: var(--paper-ink); box-shadow: 4px 4px 0 var(--paper-ink); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .bbtn.primary.big:hover:not(:disabled) { box-shadow: 6px 6px 0 var(--paper-ink); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .bbtn.primary:active:not(:disabled) { box-shadow: 1px 1px 0 var(--paper-ink); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .bbtn:not(.primary):not(.ghost) { border: 1.5px solid var(--paper-ink); border-radius: 0; background: none; box-shadow: none; font: 700 14px/1.15 var(--pr-type); letter-spacing: 0; text-transform: lowercase; color: var(--paper-ink); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .bbtn:not(.primary):not(.ghost):hover:not(:disabled) { border: 1.5px solid var(--paper-ink); background: var(--paper-ink); color: var(--paper); box-shadow: none; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .bbtn.ghost, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) a.bbtn.ghost { border-color: transparent; background: none; box-shadow: none; font: 700 14px/1.15 var(--pr-type); letter-spacing: 0; text-transform: lowercase; color: var(--paper-ink); text-decoration: underline; text-decoration-color: var(--paper-ink); text-underline-offset: 4px; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .bbtn.ghost:hover:not(:disabled) { background: none; border-color: transparent; color: var(--paper-ink); text-decoration-thickness: 2px; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) :focus-visible { outline: 2px solid var(--paper-ink); outline-offset: 2px; }
/* the goal: a ruled section of the card (3 px of ink over and under), the goal typed, what passes it a stamp */
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .goal-box { margin: clamp(8px, 1.6vh, 14px) 0 clamp(8px, 1.4vh, 12px); padding: clamp(6px, 1.1vh, 10px) 0 clamp(5px, 1vh, 9px); border: 0; border-top: 3px solid var(--paper-ink); border-bottom: 3px solid var(--paper-ink); border-radius: 0; background: none; box-shadow: none; color: var(--paper-ink); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .goal-box::before, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .goal-box::after { content: none; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .goal-box .goal-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .goal-box .goal-line { flex: 1 1 260px; min-width: 0; font: 700 14px/1.3 var(--pr-type); letter-spacing: .01em; text-transform: lowercase; color: var(--paper-dim); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .goal-box .goal-line b { display: block; margin-top: 2px; font: 700 clamp(16px, 2vh, 19px)/1.28 var(--pr-type); letter-spacing: 0; text-transform: none; color: var(--paper-ink); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .goal-box .goal-rings { display: inline-flex; gap: 6px; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .goal-box .goal-rings:has(> .ring:only-child) { display: none; }   /* one ring beside a pass mark says nothing: the stamp says it */
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .goal-box .ring { width: 14px; height: 14px; border: 2px solid var(--paper-ink); border-radius: 50%; background: none; box-shadow: none; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .goal-box .ring[data-on="true"] { background: var(--paper-ink); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .goal-box .goal-count { flex: none; display: inline-block; padding: 3px 9px 0; border: 2.5px solid currentColor; font: 400 clamp(17px, 2.3vh, 22px)/1.2 var(--flyer); letter-spacing: .04em; text-transform: uppercase; color: var(--pr-violet-paper); text-shadow: none; transform: rotate(-2deg); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .goal-box .goal-what { margin: 7px 0 0; font: 700 14px/1.4 var(--pr-type); color: var(--paper-dim); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .goal-box .goal-next { margin: 5px 0 0; font: 700 14px/1.4 var(--pr-type); color: var(--paper-dim); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .goal-box .goal-next b { color: var(--paper-ink); }
/* the controller's drawing: printed on the card in ink (an ink line drawing over a light dot screen, slide 02's sleeve),
   never a black screen laid on the paper. The lit control is the one violet ink: what you turn next */
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) :is(.hud-dia, .kn-dia) { position: relative; box-sizing: border-box; padding: 10px; border: 2.5px solid var(--paper-ink); border-radius: 0; box-shadow: none;
  background: radial-gradient(circle, rgba(11, 10, 12, .3) 0 1px, transparent 1.4px) 0 0 / 6px 6px, transparent; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) :is(.hud-dia, .kn-dia) .diagram { background: none; border: 0; border-radius: 0; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) :is(.hud-dia, .kn-dia) .diagram .c .shape { fill: var(--paper); stroke: var(--paper-ink); stroke-width: 5; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) :is(.hud-dia, .kn-dia) .diagram .c.hit .shape { fill: var(--paper); stroke: var(--paper-ink); filter: none; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) :is(.hud-dia, .kn-dia) .diagram .ind { stroke: var(--paper-ink); stroke-width: 6; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) :is(.hud-dia, .kn-dia) .diagram .cap { fill: var(--paper-ink); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) :is(.hud-dia, .kn-dia) .diagram .glight, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) :is(.hud-dia, .kn-dia) .diagram .glight.on { fill: none; stroke: var(--paper-ink); stroke-width: 3; filter: none; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) :is(.hud-dia, .kn-dia) .diagram .c.focus .shape, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) :is(.hud-dia, .kn-dia) .diagram.mini .c.focus .shape, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) :is(.hud-dia, .kn-dia) .diagram .c.lit .shape { fill: var(--pr-violet); stroke: var(--paper-ink); stroke-width: 7; animation: none; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) :is(.hud-dia, .kn-dia) .diagram .c.focus .ind { stroke: var(--paper-ink); }

/* ---------- a lesson's intro card: its place on the page ---------- */
body #screen#screen:not(.decks-screen) > .ft-intro { box-sizing: border-box; max-width: min(1040px, 100%); margin: clamp(4px, 1.6vh, 32px) auto 0; padding: clamp(16px, 3.2vh, 46px) clamp(26px, 3.2vw, 56px) clamp(16px, 3vh, 42px); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).ft-intro > h1 { margin-bottom: clamp(8px, 1.4vh, 16px); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).ft-intro .row.wrap, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).chapter-open .row.wrap, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).chapter-card .row.wrap, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music)#outSoon .row.wrap { align-items: center; gap: 12px 18px; margin-top: clamp(10px, 1.8vh, 18px); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).ft-intro #knTracks p, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).ft-intro #c2Tracks p, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).ft-intro #btTracks p, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).ft-intro #ksTrack p, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).ft-intro .ft-tracks p { margin: 8px 0 0; color: var(--paper-ink); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).ft-intro .ft-tracks .muted, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).ft-intro .ft-why-pair { color: var(--paper-dim); }
/* Knob School's rounds: three ruled lines (the round, its name, its calls) */
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .ks-rounds { display: block; margin: 12px 0; padding: 0; list-style: none; border-top: 3px solid var(--paper-ink); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .ks-rounds > li { display: flex; align-items: baseline; gap: 14px; margin: 0; padding: 7px 0 5px; border: 0; border-bottom: 1.5px solid var(--paper-ink); background: none; font: 700 16px/1.3 var(--pr-type); color: var(--paper-ink); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .ks-rounds > li b { order: -1; flex: none; min-width: 1.4em; font: 400 26px/1 var(--flyer); color: var(--pr-violet-paper); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .ks-rounds > li .small { margin-left: auto; }

/* ---------- a chapter's opening card: the chapter's name huge, its stages a numbered listing in ink ---------- */
body #screen#screen:not(.decks-screen) > .chapter-open { box-sizing: border-box; max-width: min(1040px, 100%); margin: clamp(16px, 5vh, 72px) auto 0; padding: clamp(28px, 4.6vh, 56px) clamp(28px, 3.4vw, 60px) clamp(26px, 4vh, 48px); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).chapter-open h1.ft-big { margin: 0 0 clamp(8px, 1.6vh, 18px); font-size: clamp(64px, 12vh, 132px); line-height: .88; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).chapter-open .chapter-stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; gap: 0 clamp(14px, 1.6vw, 28px); margin: clamp(12px, 2.2vh, 24px) 0 clamp(14px, 2.4vh, 26px); padding: 0; list-style: none; border-top: 4px solid var(--paper-ink); border-bottom: 4px solid var(--paper-ink); background: none; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).chapter-open .chapter-stages > li { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 10px 0 9px; border: 0; background: none; box-shadow: none; font: 400 clamp(18px, 2.5vh, 26px)/1.05 var(--flyer); letter-spacing: .02em; text-transform: uppercase; color: var(--paper-ink); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).chapter-open .chapter-stages > li::before, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).chapter-open .chapter-stages > li::after { content: none; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).chapter-open .chapter-stages > li b { order: -1; font: 400 clamp(26px, 3.8vh, 40px)/1 var(--flyer); letter-spacing: .01em; color: var(--pr-violet-paper); }

/* ---------- Chapter 1's reward (.chapter-card, over the decks): the same stock; its ticks and its best in ink ---------- */
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).chapter-card .chapter-title { font-size: clamp(48px, 9vh, 104px); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).chapter-card .mono, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).chapter-card .big { color: var(--paper-ink); }
/* the card's place: as wide as an intro card wherever it stands (over the decks, or a scene's mock on a grid page) */
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).chapter-card { box-sizing: border-box; width: min(1000px, 100%); max-width: 1000px; grid-column: 1 / -1; justify-self: center; margin: clamp(12px, 3vh, 40px) auto 0; padding: clamp(22px, 3.4vh, 38px) clamp(24px, 3vw, 44px); text-align: left; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).chapter-card > .eyebrow { display: block; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).chapter-card .chapter-title { margin: 4px 0 clamp(10px, 2vh, 18px); line-height: .86; }
/* the four stages: a track listing (slide 05), a line each, the tick in ink, a skipped one quiet */
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).chapter-card .chapter-ticks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(14px, 1.6vw, 28px); margin: 0 0 clamp(10px, 2vh, 18px); padding: 0; list-style: none; border-top: 3px solid var(--paper-ink); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).chapter-card .chapter-ticks li { display: flex; align-items: baseline; gap: 8px; margin: 0; padding: 9px 0 8px; border: 0; border-bottom: 1.5px solid var(--paper-ink); border-radius: 0; background: none; box-shadow: none; font: 400 clamp(17px, 1.5vw, 21px)/1.08 var(--flyer); letter-spacing: .01em; text-transform: uppercase; color: var(--paper-ink); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).chapter-card .chapter-ticks .tick { flex: none; display: inline; width: auto; height: auto; border-radius: 0; background: none; font: 700 16px/1 var(--pr-type); color: var(--paper-ink); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).chapter-card .chapter-ticks li[data-state="skipped"] { color: var(--paper-dim); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).chapter-card .chapter-ticks li .small.muted { font: 700 14px/1.2 var(--pr-type); text-transform: none; color: var(--paper-dim); }
/* the best swap: the biggest number, in ink */
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).chapter-card .chapter-best { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 8px; font: 700 16px/1.3 var(--pr-type); color: var(--paper-ink); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).chapter-card .chapter-best b { font: 400 clamp(52px, 8vh, 88px)/.9 var(--flyer); letter-spacing: .01em; color: var(--paper-ink); text-shadow: none; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).chapter-card .chapter-level { display: flex; align-items: center; gap: 12px; margin: 0 0 clamp(10px, 2vh, 18px); font: 700 14px/1.2 var(--pr-type); letter-spacing: 0; text-transform: lowercase; color: var(--paper-ink); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).chapter-card .chapter-level .xp-bar { flex: 1 1 auto; max-width: 420px; height: 6px; display: block; border-radius: 0; background: var(--paper-hair); overflow: hidden; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).chapter-card .chapter-level .xp-bar i { display: block; height: 100%; background: var(--paper-ink); box-shadow: none; }
/* Save your first clip: the one violet block, the biggest button; Carry on and Stop here equal ink keys under it */
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).chapter-card .clip-box { margin: 0 0 14px; padding: 0; border: 0; background: none; box-shadow: none; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).chapter-card .clip-box .bbtn.primary, body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).chapter-card .clip-box [data-clip="make"] { border: 0; border-radius: 0; background: var(--pr-violet); color: var(--paper-ink); box-shadow: 5px 5px 0 var(--paper-ink); font: 400 clamp(24px, 2.2vw, 32px)/1.1 var(--flyer); letter-spacing: .03em; padding: 14px 32px; text-transform: uppercase; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).chapter-card .chapter-go { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 12px; margin: 0 0 8px; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).chapter-card .chapter-go .bbtn.big { width: 100%; min-width: 0; justify-content: center; text-align: center; padding: 12px 16px; font: 700 16px/1.2 var(--pr-type); letter-spacing: 0; text-transform: lowercase; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).chapter-card .chapter-go .bbtn.big.primary { font: 400 22px/1.1 var(--flyer); text-transform: uppercase; letter-spacing: .03em; }

/* ---------- Out soon (the testers see it often): the feature's name, what it is, where to go; its date a stamp ---------- */
body #screen#screen > #outSoon.out-soon { box-sizing: border-box; max-width: min(920px, 100%); margin: clamp(16px, 5vh, 72px) auto 0; padding: clamp(28px, 4.4vh, 52px) clamp(28px, 3.4vw, 56px) clamp(26px, 4vh, 46px); opacity: 1; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music)#outSoon > .eyebrow { position: absolute; right: clamp(22px, 3vw, 48px); top: clamp(20px, 3.4vh, 40px); margin: 0; padding: 4px 12px 0; border: 3px solid currentColor; font: 400 clamp(20px, 3vh, 30px)/1.2 var(--flyer); letter-spacing: .04em; text-transform: uppercase; color: var(--pr-violet-paper); transform: rotate(-4deg); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music)#outSoon > h1 { max-width: calc(100% - 300px); color: var(--paper-ink); opacity: 1; }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music)#outSoon > p.ft-lead { color: var(--paper-ink); }


/* ====================================================================================================================
   HOME (from 1100 px wide). The continue card leads: a paper card (the next thing's name in Anton, one typed line, the
   page's one violet button). Beside it, small: what is playing, and the level on one line. Under it ONE quiet listing
   on the dark base, a line each, hairlines between, no boxes: the path as one compact line (the chapter, its stages,
   its count), the Challenges, Free mix, Set mode, the rest of Play and practise on one line, More to learn. After
   graduating the card is Your next night's, the Daily sits beside it and the nights are the listing's first line.
   The wordmark is off the page (the header carries the logo): the heading stays for a screen reader.
   ==================================================================================================================== */
@media (min-width: 1000px) {
  body.home:not(.day-one) #screen#screen[data-route="menu"] { --hl-name: clamp(190px, 16.5vw, 300px); --hl-h: clamp(38px, 5.3vh, 60px); box-sizing: border-box; display: grid; grid-template-columns: var(--hl-name) minmax(0, 1fr); grid-auto-rows: auto; column-gap: 0; row-gap: 0; align-content: safe center; align-items: stretch; justify-content: stretch; max-width: 1560px; min-height: calc(100vh - 47px); margin: 0 auto; padding: clamp(22px, 4vh, 60px) clamp(36px, 5.6vw, 120px) clamp(44px, 6vh, 70px); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] > * { min-width: 0; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] > .menu-rest, body.home:not(.day-one) #screen#screen[data-route="menu"] > .menu-rest > .path-chapters { display: contents; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] > #unlockNote { grid-column: 1 / -1; grid-row: 1; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] > .hero { grid-column: 1 / -1; grid-row: 2; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] > .menu-rest > .nights-row { grid-column: 1 / -1; grid-row: 3; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] > .menu-rest > .grad-open { grid-column: 1 / -1; grid-row: 4; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters > h3.sect:first-child { grid-column: 1; grid-row: 5; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters > ol.chapters { grid-column: 2; grid-row: 5; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] > .menu-rest > #challengesCard { grid-column: 1 / -1; grid-row: 6; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] > .menu-rest > .modes.compact { grid-column: 1 / -1; grid-row: 7; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters > h3.arc-more-h { grid-column: 1; grid-row: 8; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters > ol.arc-more { grid-column: 2; grid-row: 8; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] > #ownTracksLine { grid-column: 1 / -1; grid-row: 9; }
  /* "Play and practise" is said by its lines: the heading stays for a screen reader */
  body.home:not(.day-one) #screen#screen[data-route="menu"] > .menu-rest > h3.sect { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; }

  /* ---------- the top: the card, and beside it what is playing and the level ---------- */
  body.home:not(.day-one) #screen#screen[data-route="menu"] > .hero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); grid-template-rows: auto auto; column-gap: clamp(28px, 4vw, 84px); row-gap: clamp(10px, 1.8vh, 20px); align-items: center; width: auto; max-width: none; margin: 0 0 clamp(18px, 3.4vh, 48px); padding: 0; border: 0; background: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] > .hero > .hero-next, body.home:not(.day-one) #screen#screen[data-route="menu"] > .hero > .next-goal { grid-column: 1 / -1; grid-row: 1; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] > .hero > .hero-brand { grid-column: 1; grid-row: 2; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] > .hero > #nowPlaying { grid-column: 2; grid-row: 2; justify-self: end; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] > .hero.night-hero { grid-template-rows: 1fr auto; align-items: end; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] > .hero.night-hero > #nextNight { grid-column: 1; grid-row: 1 / 3; align-self: stretch; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] > .hero.night-hero > #dailyCard { grid-column: 2; grid-row: 1; align-self: end; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] > .hero.night-hero > .hero-brand { grid-column: 2; grid-row: 2; padding-top: 10px; border-top: 1px solid var(--pr-rule); }
  /* the wordmark and its line: off the page */
  body.home:not(.day-one) #screen#screen[data-route="menu"] .hero-brand { position: static; isolation: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin: 0; padding: 0; border: 0; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .hero-brand::before { content: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .hero-brand .hero-word, body.home:not(.day-one) #screen#screen[data-route="menu"] .hero-brand > .sub { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .hero-brand .hero-word::before, body.home:not(.day-one) #screen#screen[data-route="menu"] .hero-brand .hero-word::after { content: none; }
  /* the level, the stars, the days: one line of small print, the level's bar a thin rule after it */
  body.home:not(.day-one) #screen#screen[data-route="menu"] .hero-stats { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; margin: 0; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .hero-stats > div { display: flex; flex-direction: row; align-items: baseline; gap: 6px; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .hero-stats b, body.home:not(.day-one) #screen#screen[data-route="menu"] .hero .hero-stats b.mono { font: 700 14px/1.2 var(--pr-face); letter-spacing: 0; color: var(--pr-lit); text-shadow: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .hero-stats > div > span { margin: 0; font: 400 13px/1.2 var(--pr-face); letter-spacing: .03em; text-transform: lowercase; color: var(--pr-dim); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .hero-bar { flex: 1 1 80px; height: 2px; max-width: 200px; margin: 0; border-radius: 0; background: var(--pr-rule2); box-shadow: none; overflow: hidden; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .hero-bar i { display: block; height: 100%; background: var(--pr-lit); box-shadow: none; }
  /* what is playing behind the menu: its sleeve with its caption, no box */
  body.home:not(.day-one) #screen#screen[data-route="menu"] #nowPlaying .slv { --slv: 40px; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] #nowPlaying .slv .slv-c { width: 40px; height: 40px; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] #nowPlaying.now-playing { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 12px; width: auto; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] #nowPlaying.now-playing[hidden] { display: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] #nowPlaying .np-words { display: grid; gap: 2px; min-width: 0; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] #nowPlaying .eyebrow { font: 400 12.5px/1.2 var(--pr-face); letter-spacing: .06em; text-transform: lowercase; color: var(--pr-dim); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] #nowPlaying .np-words b { font: 700 14px/1.25 var(--pr-face); color: var(--pr-lit); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] #nowPlaying .np-words .small, body.home:not(.day-one) #screen#screen[data-route="menu"] #nowPlaying .np-cat { font: 400 13px/1.3 var(--pr-face); letter-spacing: .02em; color: var(--pr-dim); }

  /* ---------- the continue card: paper. Its label typed, the name in Anton, one typed line, the one violet button ---------- */
  body.home:not(.day-one) #screen#screen[data-route="menu"] .hero > .hero-next { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto auto; column-gap: 20px; row-gap: 0; align-items: end; width: 100%; min-height: clamp(200px, 30vh, 350px); margin: 0; padding: clamp(20px, 3.4vh, 44px) clamp(24px, 2.5vw, 48px) clamp(22px, 3.4vh, 42px); overflow: hidden; border: 0; border-radius: 0; background: var(--paper-tex) 0 0 / 512px 512px, var(--paper); box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .85); text-align: left; color: var(--paper-ink); text-shadow: none; animation: none; transition: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .hero > .hero-next::before { content: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .hero > .hero-next::after { content: ''; display: block; position: absolute; z-index: -1; right: 0; bottom: 0; top: auto; left: auto; width: 250px; height: 250px; border: 0; border-radius: 0; box-shadow: none; background: var(--paper-ink); opacity: .2; -webkit-mask-image: var(--halftone), radial-gradient(circle at 100% 100%, #000 22%, transparent 66%); mask-image: var(--halftone), radial-gradient(circle at 100% 100%, #000 22%, transparent 66%); -webkit-mask-size: 190% 190%, 100% 100%; mask-size: 190% 190%, 100% 100%; -webkit-mask-position: left top, center; mask-position: left top, center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-composite: source-in; mask-composite: intersect; transform: none; pointer-events: none; font-size: 0; -webkit-text-stroke: 0; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .hero > .hero-next > .eyebrow { grid-area: 1 / 1 / 2 / 3; align-self: start; margin: 0 0 clamp(8px, 1.4vh, 16px); font: 700 14px/1.3 var(--pr-type); letter-spacing: .01em; text-transform: lowercase; color: var(--paper-dim); text-shadow: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .hero > .hero-next > b { grid-area: 2 / 1 / 3 / 3; align-self: start; display: block; min-width: 0; margin: 0 0 clamp(10px, 1.8vh, 22px); padding: 0; font: 400 clamp(44px, 7.6vh, 96px)/.92 var(--flyer); letter-spacing: .005em; text-transform: uppercase; color: var(--paper-ink); text-shadow: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .hero > .hero-next > .small { grid-area: 3 / 1 / 4 / 2; display: block; max-width: none; margin: 0; font: 700 clamp(15px, 1.9vh, 18px)/1.36 var(--pr-type); color: var(--paper-ink); }
  /* "First go today: +25 points": a stamp */
  body.home:not(.day-one) #screen#screen[data-route="menu"] .hero > .hero-next > .hero-bonus { grid-area: 4 / 1 / 5 / 2; justify-self: start; margin: 10px 0 0 2px; padding: 3px 9px 0; border: 2.5px solid currentColor; border-radius: 0; background: none; box-shadow: none; font: 400 15px/1.25 var(--flyer); letter-spacing: .04em; text-transform: uppercase; color: var(--pr-violet-paper); transform: rotate(-2deg); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .hero > .hero-next > .hero-go { grid-area: 3 / 2 / 5 / 3; align-self: end; display: inline-flex; align-items: center; min-height: clamp(52px, 7.6vh, 78px); margin: 0 5px 5px 0; padding: 0 clamp(22px, 2.2vw, 40px); border: 0; border-radius: 0; background: var(--pr-violet); box-shadow: 5px 5px 0 var(--paper-ink); font: 400 clamp(24px, 3.6vh, 38px)/1 var(--flyer); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; color: var(--paper-ink); text-shadow: none; animation: none; transition: transform .08s, box-shadow .08s, background-color .08s; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .hero > .hero-next:hover > .hero-go { background: #b48dff; transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--paper-ink); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .hero > .hero-next:active > .hero-go { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--paper-ink); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .hero > .hero-next:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

  /* ---------- after graduating: Your next night is the card (its flyer laid on the stock, its words, the one Start) ---------- */
  body.home:not(.day-one) #screen#screen[data-route="menu"] #nextNight.next-night { position: relative; isolation: isolate; border: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(18px, 2.2vw, 36px); align-items: center; margin: 0; padding: clamp(18px, 3vh, 36px) clamp(22px, 2.4vw, 44px); overflow: hidden; border-radius: 0; background: var(--paper-tex) 0 0 / 512px 512px, var(--paper); box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .85); color: var(--paper-ink); }   /* (design/nights' 1 px frame cannot be taken off from here; in the lit white at .55 it is all but the stock's own colour) */
  body.home:not(.day-one) #screen#screen[data-route="menu"] #nextNight::after { content: ''; position: absolute; z-index: -1; right: 0; bottom: 0; width: 250px; height: 250px; background: var(--paper-ink); opacity: .2; -webkit-mask-image: var(--halftone), radial-gradient(circle at 100% 100%, #000 22%, transparent 66%); mask-image: var(--halftone), radial-gradient(circle at 100% 100%, #000 22%, transparent 66%); -webkit-mask-size: 190% 190%, 100% 100%; mask-size: 190% 190%, 100% 100%; -webkit-mask-position: left top, center; mask-position: left top, center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-composite: source-in; mask-composite: intersect; pointer-events: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] #nextNight .nn-print { align-self: center; box-shadow: 0 12px 20px -10px rgba(0, 0, 0, .7); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] #nextNight .nn-body { display: flex; flex-direction: column; gap: 0; min-width: 0; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] #nextNight .eyebrow { margin: 0 0 6px; font: 700 14px/1.3 var(--pr-type); letter-spacing: .01em; text-transform: lowercase; color: var(--paper-dim); text-shadow: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] #nextNight .nn-title { margin: 0 0 clamp(6px, 1.2vh, 12px); font: 400 clamp(36px, 6vh, 72px)/.92 var(--flyer); letter-spacing: .005em; text-transform: uppercase; color: var(--paper-ink); text-shadow: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] #nextNight .nn-line { margin: 0; font: 700 clamp(15px, 1.8vh, 17px)/1.36 var(--pr-type); color: var(--paper-ink); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] #nextNight .nn-want { margin-top: 4px; font-size: 14px; color: var(--paper-dim); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] #nextNight .nn-go { margin: clamp(12px, 2.2vh, 24px) 0 5px; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] #nextNight .nn-go .bbtn.primary.big { min-height: clamp(52px, 7.4vh, 76px); padding: 0 clamp(20px, 2vw, 36px); border: 0; background: var(--pr-violet); box-shadow: 5px 5px 0 var(--paper-ink); font-size: clamp(24px, 3.6vh, 38px); color: var(--paper-ink); animation: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] #nextNight .nn-go .bbtn.primary.big:hover:not(:disabled) { background: #b48dff; box-shadow: 6px 6px 0 var(--paper-ink); }
  /* the fallback's Next goal card: the same stock */
  body.home:not(.day-one) #screen#screen[data-route="menu"] .hero > .next-goal { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: clamp(20px, 3.4vh, 44px) clamp(24px, 2.5vw, 48px); }
  /* the Daily beside it: a listing entry on the dark base (its label, the move, the pair, today's best), a key at its end */
  body.home:not(.day-one) #screen#screen[data-route="menu"] #dailyCard.daily-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px; row-gap: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] #dailyCard > .eyebrow { grid-column: 1 / -1; margin: 0 0 clamp(6px, 1vh, 10px); padding: 0 0 clamp(5px, .8vh, 8px); border-bottom: 2px solid #6a665e; font: 700 14px/1.3 var(--pr-type); letter-spacing: .01em; text-transform: lowercase; color: var(--pr-dim); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] #dailyCard > .dm-move { grid-column: 1; margin: 0; font: 400 clamp(20px, 3vh, 32px)/1 var(--flyer); letter-spacing: .02em; text-transform: uppercase; color: var(--pr-paper); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] #dailyCard > .dm-where { grid-column: 1; margin: 5px 0 0; font: 700 14px/1.3 var(--pr-type); color: var(--pr-print); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] #dailyCard > .dm-best { grid-column: 1; margin: 2px 0 0; font: 400 13px/1.3 var(--pr-face); letter-spacing: .01em; color: var(--pr-dim); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] #dailyCard > .bbtn { grid-column: 2; grid-row: 2 / 5; align-self: center; margin: 0; min-height: 40px; padding: 0 16px; border: 1px solid rgba(var(--pr-warm), .24); border-radius: 3px; background: var(--pr-key); box-shadow: none; font: 400 14px/1.15 var(--pr-face); letter-spacing: .02em; text-transform: lowercase; color: var(--pr-lit); transform: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] #dailyCard > .bbtn:hover:not(:disabled) { background: #1b1a19; border: 1px solid rgba(var(--pr-warm), .5); color: #fff; box-shadow: none; transform: none; }

  /* ---------- a note that something opened: one typed line across the top, its key at the end (never a second violet) ---------- */
  body.home:not(.day-one) #screen#screen[data-route="menu"] > #unlockNote.unlocked { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 0 0 clamp(12px, 2.2vh, 24px); padding: 0 0 10px; overflow: visible; border: 0; border-bottom: 1px solid var(--pr-rule2); border-radius: 0; background: none; box-shadow: none; animation: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] > #unlockNote.unlocked::after { content: none; display: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] > #unlockNote > b { font: 400 22px/1 var(--flyer); letter-spacing: .03em; text-transform: uppercase; color: var(--pr-paper); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] > #unlockNote > .muted { flex: 1 1 auto; font: 700 14px/1.3 var(--pr-type); color: var(--pr-print); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] > #unlockNote .bbtn.primary { min-height: 32px; padding: 0 12px; border: 1px solid rgba(var(--pr-warm), .24); border-radius: 3px; background: var(--pr-key); box-shadow: inset 0 -2px 0 var(--pr-lit); font: 400 13px/1.15 var(--pr-face); letter-spacing: .02em; text-transform: lowercase; color: #fff; transform: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] > #unlockNote .bbtn.primary:hover:not(:disabled) { background: #1b1a19; border: 1px solid rgba(var(--pr-warm), .5); color: #fff; box-shadow: inset 0 -2px 0 #fff; transform: none; }

  /* ---------- THE LISTING: a line a thing. Its name in Anton in the first column, its words typed after it, a hairline under ---------- */
  /* a line that is one key (Free mix, Set mode, the open modes after graduating) */
  body.home:not(.day-one) #screen#screen[data-route="menu"] .modes.compact, body.home:not(.day-one) #screen#screen[data-route="menu"] .grad-open { display: flex; flex-wrap: wrap; margin: 0; padding: 0; gap: 0; border: 0; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .modes.compact > .mode, body.home:not(.day-one) #screen#screen[data-route="menu"] .grad-open > .mode { position: relative; flex: 1 1 100%; display: grid; grid-template-columns: var(--hl-name) minmax(0, 1fr) auto; align-items: center; column-gap: 0; box-sizing: border-box; width: auto; min-width: 0; min-height: var(--hl-h); height: auto; margin: 0; padding: 4px 2px; overflow: visible; border: 0; border-bottom: 1px solid var(--pr-rule); border-radius: 0; background: none; box-shadow: none; opacity: 1; text-align: left; color: var(--pr-print); animation: none; transform: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .modes.compact > .mode::before, body.home:not(.day-one) #screen#screen[data-route="menu"] .modes.compact > .mode::after, body.home:not(.day-one) #screen#screen[data-route="menu"] .grad-open > .mode::before, body.home:not(.day-one) #screen#screen[data-route="menu"] .grad-open > .mode::after { content: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .modes.compact > .mode > b, body.home:not(.day-one) #screen#screen[data-route="menu"] .grad-open > .mode > b, body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters > h3.sect, body.home:not(.day-one) #screen#screen[data-route="menu"] #challengesCard > h3.sect, body.home:not(.day-one) #screen#screen[data-route="menu"] .nights-row .nr-h > .sect, body.home:not(.day-one) #screen#screen[data-route="menu"] #advCard > .eyebrow { margin: 0; padding: 0 12px 0 0; border: 0; white-space: nowrap; font: 400 clamp(17px, 2.4vh, 27px)/1 var(--flyer); letter-spacing: .03em; text-transform: uppercase; color: #cfc8ba; opacity: 1; text-shadow: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .modes.compact > .mode > .small, body.home:not(.day-one) #screen#screen[data-route="menu"] .grad-open > .mode > .small { display: block; min-width: 0; margin: 0; font: 700 clamp(14px, 1.7vh, 16px)/1.3 var(--pr-type); letter-spacing: 0; color: var(--pr-print); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .modes.compact > .mode > .tag, body.home:not(.day-one) #screen#screen[data-route="menu"] .modes.compact > .mode > .soon-tag, body.home:not(.day-one) #screen#screen[data-route="menu"] .grad-open > .mode > .soon-tag { position: static; grid-column: 3; margin: 0; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .modes.compact > .mode:hover > b, body.home:not(.day-one) #screen#screen[data-route="menu"] .modes.compact > .mode:focus-visible > b, body.home:not(.day-one) #screen#screen[data-route="menu"] .grad-open > .mode:hover > b, body.home:not(.day-one) #screen#screen[data-route="menu"] .grad-open > .mode:focus-visible > b { color: #fff; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .modes.compact > .mode:focus-visible, body.home:not(.day-one) #screen#screen[data-route="menu"] .grad-open > .mode:focus-visible { outline: 1px solid var(--pr-paper); outline-offset: -1px; }
  /* the rest of Play and practise (the Daily, Transitions, Next track) share one line */
  body.home:not(.day-one) #screen#screen[data-route="menu"] .modes.compact > .mode:not([data-go="free"]):not([data-go="set"]) { flex: 1 1 0; grid-template-columns: auto minmax(0, 1fr) auto; padding-right: 14px; }
  /* (the lead, 19 Nov: that shared line is quiet: the three names typed in lower case like More to learn's, no blurbs: Free mix and Set mode are the two with a line each) */
  body.home:not(.day-one) #screen#screen[data-route="menu"] .modes.compact > .mode:not([data-go="free"]):not([data-go="set"]) > b { font: 700 clamp(14px, 1.7vh, 16px)/1.3 var(--pr-type); letter-spacing: 0; text-transform: lowercase; color: var(--pr-print); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .modes.compact > .mode:not([data-go="free"]):not([data-go="set"]) > .small { display: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .modes.compact > .mode:not([data-go="free"]):not([data-go="set"]):hover > b, body.home:not(.day-one) #screen#screen[data-route="menu"] .modes.compact > .mode:not([data-go="free"]):not([data-go="set"]):focus-visible > b { color: #fff; }
  /* a line with a name and things after it (the path, the Challenges, More to learn, the nights) */
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters > h3.sect, body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters > ol.chapters, body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters > ol.arc-more { display: flex; align-items: center; box-sizing: border-box; min-height: var(--hl-h); margin: 0; padding: 4px 2px; border: 0; border-bottom: 1px solid var(--pr-rule); background: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters > h3.sect:first-child, body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters > ol.chapters { border-top: 2px solid #6a665e; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] > .hero.night-hero ~ .menu-rest .path-chapters > h3.sect:first-child, body.home:not(.day-one) #screen#screen[data-route="menu"] > .hero.night-hero ~ .menu-rest .path-chapters > ol.chapters { border-top: 0; }

  /* the path, one compact line: a done chapter is its name and tick; the chapter being played shows its stages (the
     next one's number struck in the violet ink) and its count */
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters > ol.chapters { flex-wrap: wrap; gap: 2px clamp(14px, 1.6vw, 26px); list-style: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters li.chapter { position: static; display: flex; flex-wrap: wrap; align-items: center; gap: 2px clamp(12px, 1.3vw, 22px); min-height: 0; margin: 0; padding: 0; border: 0; background: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters li.chapter::before { content: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters li.chapter:has(.stage.now), body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters li.chapter:last-child { flex: 1 1 auto; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters .chapter-h { display: flex; align-items: baseline; gap: 8px; margin: 0; padding: 0; border: 0; background: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters .chapter-h .eyebrow { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font: 700 clamp(14px, 1.7vh, 16px)/1.3 var(--pr-type); letter-spacing: 0; text-transform: lowercase; color: var(--pr-print); text-shadow: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters li.chapter:has(.stage.now) .chapter-h .eyebrow { color: var(--pr-lit); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters .chapter-h b { font: 700 clamp(14px, 1.7vh, 16px)/1.3 var(--pr-type); letter-spacing: 0; text-transform: lowercase; color: var(--pr-print); text-shadow: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters li.chapter[data-done="true"] .chapter-h b, body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters li.chapter[data-done="true"] .chapter-h .mono, body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters li.chapter[data-done="true"] ol.stages { display: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters .chapter-h .mono { order: 9; font: 400 13px/1.3 var(--pr-face); letter-spacing: .02em; color: var(--pr-dim); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters li.chapter:not([data-done="true"]) { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters li.chapter:not([data-done="true"]) .chapter-h { display: contents; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters li.chapter:not([data-done="true"]) .chapter-h .eyebrow { grid-column: 1; grid-row: 1; margin-right: 8px; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters li.chapter:not([data-done="true"]) .chapter-h b { display: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters li.chapter:not([data-done="true"]) .chapter-h .mono { grid-column: 3; grid-row: 1; margin-left: 14px; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters li.chapter:not([data-done="true"]) ol.stages { grid-column: 2; grid-row: 1; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters ol.stages { display: flex; flex-wrap: wrap; align-items: center; gap: 2px clamp(12px, 1.4vw, 24px); margin: 0; padding: 0; border: 0; background: none; list-style: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters ol.stages > li { display: block; margin: 0; padding: 0; border: 0; background: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters ol.stages .stage.arc-stage { position: relative; display: inline-flex; flex-direction: row; align-items: center; gap: 7px; width: auto; min-height: 0; height: auto; margin: 0; padding: 4px 0; overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; opacity: 1; text-align: left; color: var(--pr-dim); animation: none; transform: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters ol.stages .stage.arc-stage::before, body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters ol.stages .stage.arc-stage::after { content: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters ol.stages .stage .stage-n { position: static; flex: none; width: auto; height: auto; min-width: 0; margin: 0; padding: 2px 5px 1px; border: 0; border-radius: 0; background: none; box-shadow: none; font: 400 13px/1.2 var(--pr-face); letter-spacing: .03em; color: var(--pr-dim); text-shadow: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters ol.stages .stage b { position: static; margin: 0; padding: 0; font: 700 clamp(14px, 1.7vh, 16px)/1.3 var(--pr-type); letter-spacing: 0; text-transform: none; color: var(--pr-dim); text-shadow: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters ol.stages .stage .small { margin: 0; font: 400 12.5px/1.2 var(--pr-face); color: var(--pr-dim); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters ol.stages .stage[data-done="true"] .stage-n { color: var(--pr-ok); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters ol.stages .stage[data-done="true"] b { color: var(--pr-print); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters ol.stages .stage.now .stage-n { background: var(--pr-violet); font-weight: 700; color: #0b0710; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters ol.stages .stage.now b { color: var(--pr-lit); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters ol.stages .stage:hover b, body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters ol.stages .stage:focus-visible b { color: #fff; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters ol.stages .stage:focus-visible { outline: 1px solid var(--pr-paper); outline-offset: 2px; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters ol.stages .stage .soon-tag { position: static; margin: 0 0 0 4px; font-size: 13px; }

  /* More to learn: its names after it, a key each */
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters > ol.arc-more { flex-wrap: wrap; gap: 2px clamp(16px, 1.9vw, 34px); list-style: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters ol.arc-more > li { display: block; min-width: 0; margin: 0; padding: 0; border: 0; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters .arc-more .stage { position: relative; display: inline-flex; align-items: center; gap: 8px; width: auto; min-height: 0; height: auto; margin: 0; padding: 4px 0; overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; opacity: 1; color: var(--pr-print); animation: none; transform: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters .arc-more .stage::before, body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters .arc-more .stage::after { content: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters .arc-more .stage b { margin: 0; padding: 0; font: 700 clamp(14px, 1.7vh, 16px)/1.3 var(--pr-type); letter-spacing: 0; text-transform: lowercase; white-space: nowrap; color: var(--pr-print); opacity: 1; text-shadow: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters .arc-more .stage .small { display: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters .arc-more .stage .soon-tag { position: static; margin: 0; font-size: 13px; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters .arc-more .stage:hover b, body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters .arc-more .stage:focus-visible b { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .path-chapters .arc-more .stage:focus-visible { outline: 1px solid var(--pr-paper); outline-offset: 2px; }

  /* the Challenges: their names after the line's own, a key each (its best beside it once there is one) */
  body.home #screen#screen[data-route="menu"] #challengesCard.challenges { display: grid; grid-template-columns: var(--hl-name) minmax(0, 1fr) auto; align-items: center; column-gap: 0; box-sizing: border-box; min-height: var(--hl-h); margin: 0; padding: 4px 2px; border: 0; border-bottom: 1px solid var(--pr-rule); border-radius: 0; background: none; box-shadow: none; }
  body.home #screen#screen[data-route="menu"] #challengesCard > .ch-tiles { display: flex; flex-wrap: wrap; align-items: center; gap: 2px clamp(16px, 1.9vw, 34px); margin: 0; padding: 0; list-style: none; }
  body.home #screen#screen[data-route="menu"] #challengesCard .ch-tile { display: inline-flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 8px; min-width: 0; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; opacity: 1; }
  body.home #screen#screen[data-route="menu"] #challengesCard .ch-top { display: contents; }
  body.home #screen#screen[data-route="menu"] #challengesCard .ch-name { font: 700 clamp(14px, 1.7vh, 16px)/1.3 var(--pr-type); letter-spacing: 0; text-transform: lowercase; white-space: nowrap; color: var(--pr-print); }
  body.home #screen#screen[data-route="menu"] #challengesCard .ch-tile[data-open="false"] .ch-name { color: var(--pr-dim); }
  body.home #screen#screen[data-route="menu"] #challengesCard .ch-n, body.home #screen#screen[data-route="menu"] #challengesCard .ch-line, body.home #screen#screen[data-route="menu"] #challengesCard .ch-goes-none, body.home #screen#screen[data-route="menu"] #challengesCard .ch-goes, body.home #screen#screen[data-route="menu"] #challengesCard .ch-tile:has(.ch-goes-none) .ch-best { display: none; }
  body.home #screen#screen[data-route="menu"] #challengesCard .ch-best { display: inline-flex; align-items: baseline; gap: 4px; margin: 0; white-space: nowrap; }
  body.home #screen#screen[data-route="menu"] #challengesCard .ch-best .ks-k { font: 400 12.5px/1.2 var(--pr-face); letter-spacing: .03em; text-transform: lowercase; color: var(--pr-dim); }
  body.home #screen#screen[data-route="menu"] #challengesCard .ch-best b { font: 400 13px/1.2 var(--num); color: var(--pr-amber); }
  body.home #screen#screen[data-route="menu"] #challengesCard .ch-tile .bbtn { flex: none; min-height: 26px; margin: 0; padding: 0 9px; font-size: 13px; }
  body.home #screen#screen[data-route="menu"] #challengesCard .ch-mark { margin: 0; font: 400 12.5px/1.2 var(--pr-face); letter-spacing: .03em; text-transform: lowercase; white-space: nowrap; color: var(--pr-dim); }
  body.home #screen#screen[data-route="menu"] #challengesCard > p.small { margin: 0 0 0 16px; font: 400 13px/1.2 var(--pr-face); }
  body.home #screen#screen[data-route="menu"] #challengesCard > p.small a { color: var(--pr-lit); white-space: nowrap; }

  /* after graduating, the listing's first line is the nights: its name and the board's count, then three small prints and what is later */
  body.home:not(.day-one) #screen#screen[data-route="menu"] .nights-row { display: grid; grid-template-columns: var(--hl-name) minmax(0, 1fr); align-items: center; margin: 0; padding: clamp(8px, 1.4vh, 16px) 2px; border-top: 2px solid #6a665e; border-bottom: 1px solid var(--pr-rule); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .nights-row .nr-h { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; margin: 0; padding: 0; border: 0; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .nights-row .nr-h > a { font: 400 13px/1.2 var(--pr-face); letter-spacing: .02em; text-transform: lowercase; color: var(--pr-lit); text-decoration: underline; text-decoration-color: rgba(244, 236, 220, .5); text-underline-offset: 3px; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .nights-row .nights.compact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: clamp(12px, 1.6vw, 28px); align-items: center; margin: 0; padding: 0; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .nights-row .night { display: grid; grid-template-columns: clamp(50px, 7.4vh, 78px) minmax(0, 1fr); align-items: center; gap: 12px; padding: 0; border: 0; background: none; box-shadow: none; animation: none; text-align: left; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .nights-row .night .night-cap { display: grid; gap: 2px; min-width: 0; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .nights-row .night .night-n, body.home:not(.day-one) #screen#screen[data-route="menu"] .nights-row .night .night-mark { font: 400 12.5px/1.25 var(--pr-face); letter-spacing: .03em; text-transform: lowercase; color: var(--pr-dim); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .nights-row .night .night-name { display: block; font: 700 14px/1.25 var(--pr-type); letter-spacing: 0; text-transform: none; color: var(--pr-print); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .nights-row .night[data-now="true"] .night-name, body.home:not(.day-one) #screen#screen[data-route="menu"] .nights-row .night[data-now="true"] .night-n { color: var(--pr-lit); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .nights-row .night:hover .night-name { color: #fff; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .nights-row .night-more { min-height: 0; height: auto; padding: 0 0 0 clamp(12px, 1.6vw, 28px); border: 0; border-left: 1px solid var(--pr-rule); border-radius: 0; background: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .nights-row .night-more::before { color: #a39e93; font-size: clamp(28px, 4.2vh, 44px); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .nights-row .night-more::after { font: 400 12px/1 var(--pr-face); letter-spacing: .04em; color: var(--pr-dim); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] .nights-row .night-more:hover::before, body.home:not(.day-one) #screen#screen[data-route="menu"] .nights-row .night-more:focus-visible::before { color: #fff; }
  /* the Academy's advanced moves: one more line (its name, the count typed, the next move's key, the Academy's link) */
  body.home:not(.day-one) #screen#screen[data-route="menu"] .grad-open > #advCard.adv-card { flex: 1 1 100%; display: grid; grid-template-columns: var(--hl-name) minmax(0, 1fr) auto auto; align-items: center; column-gap: 0; box-sizing: border-box; min-height: var(--hl-h); margin: 0; padding: 4px 2px; border: 0; border-bottom: 1px solid var(--pr-rule); border-radius: 0; background: none; box-shadow: none; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] #advCard > b { font: 700 clamp(14px, 1.7vh, 16px)/1.3 var(--pr-type); letter-spacing: 0; text-transform: none; color: var(--pr-print); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] #advCard > .bbtn { min-height: 28px; margin: 0 16px 0 0; padding: 0 10px; font-size: 13px; }
  body.home:not(.day-one) #screen#screen[data-route="menu"] #advCard > a { font: 400 13px/1.2 var(--pr-face); color: var(--pr-lit); }

  /* ---------- the foot: your own tracks, one line of small print ---------- */
  body.home:not(.day-one) #screen#screen[data-route="menu"] > #ownTracksLine { align-self: end; margin: clamp(10px, 1.8vh, 22px) 0 0; padding: 0; border: 0; font: 400 13px/1.4 var(--pr-face); color: var(--pr-dim); }
  body.home:not(.day-one) #screen#screen[data-route="menu"] > #ownTracksLine a { color: var(--pr-lit); text-decoration: underline; text-decoration-color: rgba(244, 236, 220, .5); text-underline-offset: 3px; }

  /* ====================================================================================================================
     HOME ON DAY ONE: the same idea. Start here is the paper card (the next stage's name in Anton, its typed line, the
     one violet button; the controller a ruled line in ink); the path keeps its quiet listing with sides A and B.
     ==================================================================================================================== */
  body.home.day-one #screen#screen[data-route="menu"] #startPath.start-path { position: relative; isolation: isolate; display: block; margin: 0; padding: clamp(20px, 3.4vh, 44px) clamp(24px, 2.4vw, 46px) clamp(22px, 3.4vh, 42px); overflow: hidden; border: 0; border-radius: 0; background: var(--paper-tex) 0 0 / 512px 512px, var(--paper); box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .85); color: var(--paper-ink); }
  body.home.day-one #screen#screen[data-route="menu"] #startPath.start-path::after { content: ''; position: absolute; z-index: -1; right: 0; bottom: 0; width: 250px; height: 250px; background: var(--paper-ink); opacity: .2; -webkit-mask-image: var(--halftone), radial-gradient(circle at 100% 100%, #000 22%, transparent 66%); mask-image: var(--halftone), radial-gradient(circle at 100% 100%, #000 22%, transparent 66%); -webkit-mask-size: 190% 190%, 100% 100%; mask-size: 190% 190%, 100% 100%; -webkit-mask-position: left top, center; mask-position: left top, center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-composite: source-in; mask-composite: intersect; pointer-events: none; }
  body.home.day-one #screen#screen[data-route="menu"] #startPath > .eyebrow { margin: 0 0 4px; font: 700 14px/1.3 var(--pr-type); letter-spacing: .01em; text-transform: lowercase; color: var(--paper-dim); }
  body.home.day-one #screen#screen[data-route="menu"] #startPath > #whereLine { margin: 0 0 clamp(12px, 2.2vh, 24px); font: 700 clamp(14px, 1.7vh, 16px)/1.36 var(--pr-type); letter-spacing: 0; color: var(--paper-ink); }
  body.home.day-one #screen#screen[data-route="menu"] #startPath li.sp.sp-connect { margin: 0 0 clamp(12px, 2vh, 22px); padding: 9px 0 8px; border: 0; border-top: 2px solid var(--paper-ink); border-bottom: 2px solid var(--paper-ink); }
  body.home.day-one #screen#screen[data-route="menu"] #startPath li.sp-connect .sp-n { font: 400 22px/1 var(--flyer); color: var(--pr-violet-paper); }
  body.home.day-one #screen#screen[data-route="menu"] #startPath li.sp-connect.done .sp-n { color: var(--paper-ink); }
  body.home.day-one #screen#screen[data-route="menu"] #startPath li.sp-connect .sp-body b { font: 700 clamp(15px, 1.8vh, 17px)/1.3 var(--pr-type); color: var(--paper-ink); }
  body.home.day-one #screen#screen[data-route="menu"] #startPath li.sp-connect .sp-body .small { font: 700 14px/1.3 var(--pr-type); color: var(--paper-dim); }
  body.home.day-one #screen#screen[data-route="menu"] #startPath li.sp-connect .bbtn { min-height: 0; padding: 6px 11px; border: 1.5px solid var(--paper-ink); border-radius: 0; background: none; box-shadow: none; font: 700 14px/16px var(--pr-type); letter-spacing: 0; text-transform: lowercase; color: var(--paper-ink); text-decoration: none; }
  body.home.day-one #screen#screen[data-route="menu"] #startPath li.sp-connect .bbtn:hover { background: var(--paper-ink); border-color: var(--paper-ink); color: var(--paper); }
  body.home.day-one #screen#screen[data-route="menu"] #startPath .sp-play { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 20px; width: 100%; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; color: var(--paper-ink); transform: none; }
  body.home.day-one #screen#screen[data-route="menu"] #startPath .sp-play b { font: 400 clamp(44px, 7.4vh, 92px)/.92 var(--flyer); letter-spacing: .005em; color: var(--paper-ink); }
  body.home.day-one #screen#screen[data-route="menu"] #startPath .sp-play .sp-play-go { display: inline-flex; align-items: center; min-height: clamp(52px, 7.6vh, 78px); margin: 0 5px 5px 0; padding: 0 clamp(20px, 2vw, 36px); background: var(--pr-violet); box-shadow: 5px 5px 0 var(--paper-ink); font: 400 clamp(24px, 3.6vh, 38px)/1 var(--flyer); letter-spacing: .05em; color: var(--paper-ink); transition: transform .08s, box-shadow .08s, background-color .08s; }
  body.home.day-one #screen#screen[data-route="menu"] #startPath .sp-play:hover { background: none; transform: none; box-shadow: none; }
  body.home.day-one #screen#screen[data-route="menu"] #startPath .sp-play:hover .sp-play-go { background: #b48dff; transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--paper-ink); }
  body.home.day-one #screen#screen[data-route="menu"] #startPath .sp-play:active { transform: none; box-shadow: none; }
  body.home.day-one #screen#screen[data-route="menu"] #startPath .sp-play:active .sp-play-go { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--paper-ink); }
  body.home.day-one #screen#screen[data-route="menu"] #startPath .sp-play:focus-visible { outline: 2px solid var(--paper-ink); outline-offset: 6px; }
  /* Explore more, opened: two more lines of the listing across the foot (a name, then its things), so the page still fits the window */
  body.home.day-one:has(#explore[open]) #screen#screen[data-route="menu"] { grid-template-rows: 1fr auto auto; min-height: calc(100vh - 47px - 44px); }
  body.home.day-one:has(#explore[open]) #screen#screen[data-route="menu"] > .menu-rest { display: contents; }
  body.home.day-one:has(#explore[open]) #screen#screen[data-route="menu"] > .menu-rest > .path-chapters { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  body.home.day-one:has(#explore[open]) #screen#screen[data-route="menu"] > .menu-rest > #explore { --hl-name: clamp(190px, 16.5vw, 300px); --hl-h: clamp(36px, 5vh, 58px); grid-column: 1 / -1; grid-row: 3; display: block; margin: clamp(8px, 1.6vh, 22px) 0 0; padding: 0; border: 0; border-top: 2px solid #6a665e; background: none; }
  body.home.day-one #screen#screen[data-route="menu"] #explore[open] > summary { padding: clamp(5px, .9vh, 12px) 2px; border-bottom: 1px solid var(--pr-rule); }
  body.home.day-one #screen#screen[data-route="menu"] #explore[open] > .arc-explore { display: block; margin: 0; padding: 0; }
  /* (a <details> cannot be a grid: the name floats in the first column, its things run beside it) */
  body.home.day-one #screen#screen[data-route="menu"] #explore[open] h3.sect { float: left; display: flex; align-items: center; box-sizing: border-box; width: var(--hl-name); min-height: var(--hl-h); margin: 0; padding: 4px 12px 4px 2px; border: 0; background: none; white-space: nowrap; font: 400 clamp(17px, 2.4vh, 27px)/1 var(--flyer); letter-spacing: .03em; text-transform: uppercase; color: #cfc8ba; }
  body.home.day-one #screen#screen[data-route="menu"] #explore[open] ol.arc-more, body.home.day-one #screen#screen[data-route="menu"] #explore[open] .modes.compact { display: flex; flex-wrap: wrap; align-items: center; gap: 0 clamp(16px, 1.9vw, 34px); box-sizing: border-box; min-height: var(--hl-h); margin: 0; padding: 4px 2px; border: 0; border-bottom: 1px solid var(--pr-rule); list-style: none; }
  body.home.day-one #screen#screen[data-route="menu"] #explore[open] ol.arc-more > li { display: block; margin: 0; padding: 0; border: 0; }
  body.home.day-one #screen#screen[data-route="menu"] #explore[open] .arc-more .stage, body.home.day-one #screen#screen[data-route="menu"] #explore[open] .modes.compact .mode { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; width: auto; min-height: 0; height: auto; margin: 0; padding: 4px 0; overflow: visible; border: 0; background: none; box-shadow: none; }
  body.home.day-one #screen#screen[data-route="menu"] #explore[open] .arc-more .stage b, body.home.day-one #screen#screen[data-route="menu"] #explore[open] .modes.compact .mode b { flex: none; margin: 0; padding: 0; font: 700 clamp(14px, 1.7vh, 16px)/1.3 var(--pr-type); letter-spacing: 0; text-transform: lowercase; white-space: nowrap; color: var(--pr-print); }
  body.home.day-one #screen#screen[data-route="menu"] #explore[open] .arc-more .stage .small, body.home.day-one #screen#screen[data-route="menu"] #explore[open] .modes.compact .mode .small { display: none; }
  body.home.day-one #screen#screen[data-route="menu"] #explore[open] .arc-more .stage .soon-tag, body.home.day-one #screen#screen[data-route="menu"] #explore[open] .modes.compact .mode .soon-tag, body.home.day-one #screen#screen[data-route="menu"] #explore[open] .modes.compact .mode .tag { position: static; margin: 0; font-size: 13px; }
  body.home.day-one #screen#screen[data-route="menu"] #explore[open] .arc-more .stage:hover b, body.home.day-one #screen#screen[data-route="menu"] #explore[open] .modes.compact .mode:hover b { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
  body.home.day-one #screen#screen[data-route="menu"] #startPath .sp-line { margin: clamp(12px, 2vh, 22px) 0 0; font: 700 clamp(15px, 1.8vh, 17px)/1.36 var(--pr-type); color: var(--paper-ink); }
}
/* the page is longer than the window after graduating: the footer goes after it, never over a line of it */
body.home:not(.day-one):has(#screen .night-hero) .buildbar { position: relative; right: auto; bottom: auto; opacity: 1; }


/* ====================================================================================================================
   THE PATH AS A TRACK LISTING (Learn > Path; slide 05): day one's listing, the same rules. A side is a
   chapter: its letter big at the left, its name over a 2 px rule, a line a stage (its number, its name, its tag). The
   next stage's number is struck in the violet ink. More to learn carries the listing on.
   ==================================================================================================================== */
@media (min-width: 1000px) {
  body #screen#screen[data-route="path"] .path-chapters { --pl-in: clamp(64px, 6.2vw, 124px); --pl-row: clamp(31px, 4.4vh, 50px); margin: 0; padding: 0; border: 0; background: none; }
  body #screen#screen[data-route="path"] .path-chapters > h3.sect:first-child { margin: 0 0 clamp(8px, 1.4vh, 16px); padding: 0; border: 0; font: 400 13px/1.2 var(--pr-face); letter-spacing: .06em; text-transform: lowercase; color: var(--pr-dim); }
  body #screen#screen[data-route="path"] .path-chapters ol.chapters { display: block; margin: 0; padding: 0; }
  body #screen#screen[data-route="path"] .path-chapters li.chapter { position: relative; display: block; min-height: clamp(66px, 11.4vh, 136px); margin: 0 0 clamp(12px, 2.2vh, 30px); padding: 0 0 0 var(--pl-in); border: 0; background: none; }
  body #screen#screen[data-route="path"] .path-chapters li.chapter::before { position: absolute; left: 0; top: -.06em; font: 400 clamp(72px, 12.5vh, 150px)/.9 var(--flyer); color: #4b4842; }
  body #screen#screen[data-route="path"] .path-chapters li.chapter[data-chapter="1"]::before { content: 'A'; }
  body #screen#screen[data-route="path"] .path-chapters li.chapter[data-chapter="2"]::before { content: 'B'; }
  /* the side being played is the lit one: its letter and its rule in the paper's white */
  body #screen#screen[data-route="path"] .path-chapters li.chapter:has(.stage.now)::before, body #screen#screen[data-route="path"] .path-chapters li.chapter[data-done="true"]::before { color: var(--pr-paper); }
  body #screen#screen[data-route="path"] .path-chapters .chapter-h { display: flex; align-items: baseline; gap: 12px; margin: 0; padding: 0 0 clamp(5px, .9vh, 10px); border: 0; border-bottom: 2px solid #6a665e; background: none; }
  body #screen#screen[data-route="path"] .path-chapters li.chapter:has(.stage.now) .chapter-h, body #screen#screen[data-route="path"] .path-chapters li.chapter[data-done="true"] .chapter-h { border-bottom-color: var(--pr-paper); }
  body #screen#screen[data-route="path"] .path-chapters .chapter-h .eyebrow { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font: 400 12.5px/1 var(--pr-face); letter-spacing: .06em; text-transform: lowercase; color: var(--pr-dim); text-shadow: none; }
  body #screen#screen[data-route="path"] .path-chapters .chapter-h b { flex: 1 1 auto; font: 400 clamp(22px, 3.3vh, 38px)/1 var(--flyer); letter-spacing: .02em; text-transform: uppercase; color: #a39e93; text-shadow: none; }
  body #screen#screen[data-route="path"] .path-chapters li.chapter:has(.stage.now) .chapter-h b, body #screen#screen[data-route="path"] .path-chapters li.chapter[data-done="true"] .chapter-h b { color: var(--pr-paper); }
  body #screen#screen[data-route="path"] .path-chapters .chapter-h .mono { font: 400 12.5px/1 var(--pr-face); letter-spacing: .02em; color: var(--pr-dim); }
  body #screen#screen[data-route="path"] .path-chapters ol.stages { display: block; margin: 0; padding: 0; border: 0; background: none; gap: 0; }
  body #screen#screen[data-route="path"] .path-chapters ol.stages > li { display: block; margin: 0; padding: 0; border: 0; border-bottom: 1px solid var(--pr-rule); background: none; }
  /* a track: its number, its name, its tag, on one line */
  body #screen#screen[data-route="path"] .path-chapters ol.stages .stage.arc-stage { position: relative; display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: clamp(10px, 1vw, 18px); width: 100%; min-height: 0; height: var(--pl-row); margin: 0; padding: 0 2px; overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; opacity: 1; text-align: left; color: var(--pr-dim); animation: none; transform: none; }
  body #screen#screen[data-route="path"] .path-chapters ol.stages .stage.arc-stage::before { content: none; }
  body #screen#screen[data-route="path"] .path-chapters ol.stages .stage .stage-n { position: static; flex: none; width: auto; height: auto; min-width: 2.7em; margin: 0; padding: 3px 0 2px; border: 0; border-radius: 0; background: none; box-shadow: none; font: 400 clamp(13px, 1.6vh, 16px)/1 var(--pr-face); letter-spacing: .04em; text-align: center; color: var(--pr-dim); text-shadow: none; }
  body #screen#screen[data-route="path"] .path-chapters ol.stages .stage b { position: static; flex: 0 1 auto; min-width: 0; margin: 0; padding: .12em 0 0; font: 400 clamp(17px, 2.5vh, 27px)/1 var(--flyer); letter-spacing: .03em; text-transform: uppercase; color: #a59f92; text-shadow: none; }
  body #screen#screen[data-route="path"] .path-chapters ol.stages .stage .small { flex: none; margin: 0 0 0 auto; font: 400 12px/1 var(--pr-face); letter-spacing: .04em; text-transform: lowercase; color: var(--pr-dim); }
  body #screen#screen[data-route="path"] .path-chapters ol.stages .stage.later::after, body #screen#screen[data-route="path"] .path-chapters ol.stages .stage.done::after, body #screen#screen[data-route="path"] .path-chapters ol.stages .stage.now::after { position: static; order: 9; flex: none; margin: 0 0 0 auto; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font: 400 12px/1 var(--pr-face); letter-spacing: .04em; text-transform: lowercase; color: var(--pr-dim); }
  body #screen#screen[data-route="path"] .path-chapters ol.stages .stage.now::after { content: none; }
  body #screen#screen[data-route="path"] .path-chapters ol.stages .stage .soon-tag { position: static; order: 8; flex: none; margin: 0 0 0 auto; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font: 400 12px/1 var(--pr-face); letter-spacing: .04em; text-transform: lowercase; white-space: nowrap; color: var(--pr-dim); }
  body #screen#screen[data-route="path"] .path-chapters ol.stages .stage[data-soon]::after, body #screen#screen[data-route="path"] .path-chapters ol.stages .stage[data-skipped]::after { content: none; }
  body #screen#screen[data-route="path"] .path-chapters ol.stages .stage[data-done="true"] .stage-n { color: var(--pr-ok); }
  body #screen#screen[data-route="path"] .path-chapters ol.stages .stage[data-done="true"] b { color: #cfc8ba; }
  body #screen#screen[data-route="path"] .path-chapters ol.stages .stage.now { color: var(--pr-paper); }
  body #screen#screen[data-route="path"] .path-chapters ol.stages .stage.now .stage-n { background: var(--pr-violet); color: #0b0710; font-weight: 700; }
  body #screen#screen[data-route="path"] .path-chapters ol.stages .stage.now b { color: var(--pr-paper); }
  body #screen#screen[data-route="path"] .path-chapters ol.stages .stage:hover b, body #screen#screen[data-route="path"] .path-chapters ol.stages .stage:focus-visible b { color: #fff; }
  body #screen#screen[data-route="path"] .path-chapters ol.stages .stage:focus-visible { outline: 1px solid var(--pr-paper); outline-offset: -1px; }

  /* More to learn: the listing's last lines (the name, its line, its tag) */
  body #screen#screen[data-route="path"] .path-chapters > h3.arc-more-h { margin: 0 0 0 var(--pl-in); padding: 0 0 clamp(5px, .8vh, 8px); border: 0; border-bottom: 2px solid #6a665e; font: 400 13px/1.2 var(--pr-face); letter-spacing: .06em; text-transform: lowercase; color: var(--pr-dim); }
  body #screen#screen[data-route="path"] .path-chapters ol.arc-more { display: block; margin: 0 0 0 var(--pl-in); padding: 0; gap: 0; }
  body #screen#screen[data-route="path"] .path-chapters ol.arc-more > li { display: block; min-width: 0; margin: 0; padding: 0; border: 0; }
  body #screen#screen[data-route="path"] .path-chapters .arc-more .stage { position: relative; display: flex; flex-direction: row; align-items: baseline; gap: 14px; box-sizing: border-box; width: 100%; min-width: 0; min-height: 0; height: auto; margin: 0; padding: clamp(6px, 1.05vh, 12px) 2px clamp(5px, .9vh, 10px); overflow: visible; border: 0; border-bottom: 1px solid var(--pr-rule); border-radius: 0; background: none; box-shadow: none; opacity: 1; text-align: left; color: var(--pr-dim); animation: none; transform: none; }
  body #screen#screen[data-route="path"] .path-chapters .arc-more .stage::before, body #screen#screen[data-route="path"] .path-chapters .arc-more .stage::after { content: none; }
  body #screen#screen[data-route="path"] .path-chapters .arc-more .stage b { flex: none; margin: 0; padding: 0; white-space: nowrap; font: 400 clamp(16px, 2.3vh, 24px)/1 var(--flyer); letter-spacing: .03em; text-transform: uppercase; color: #cfc8ba; opacity: 1; text-shadow: none; }
  body #screen#screen[data-route="path"] .path-chapters .arc-more .stage .small { display: block; flex: 1 1 auto; min-width: 0; margin: 0; font: 400 13px/1.25 var(--pr-face); letter-spacing: 0; text-transform: none; color: var(--pr-dim); }
  body #screen#screen[data-route="path"] .path-chapters .arc-more .stage .soon-tag { position: static; order: 9; flex: none; margin: 0 0 0 auto; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; white-space: nowrap; font: 400 12px/1.2 var(--pr-face); letter-spacing: .04em; text-transform: lowercase; color: var(--pr-dim); }
  body #screen#screen[data-route="path"] .path-chapters .arc-more .stage:hover b, body #screen#screen[data-route="path"] .path-chapters .arc-more .stage:focus-visible b { color: #fff; }
  body #screen#screen[data-route="path"] .path-chapters .arc-more .stage:focus-visible { outline: 1px solid var(--pr-paper); outline-offset: -1px; }

}


/* ====================================================================================================================
   THE ROOM BAR (under the header on every room page): the room's tabs in the header's own print (the one you are on
   lit, a line of light at its foot, nothing behind it), the breadcrumb a line of small print over the page's title.
   ==================================================================================================================== */
body #roomBar.room-bar { max-width: 1440px; margin: 0 auto; padding: 6px 24px 0; }
body #roomBar #roomTabs.room-tabs { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0 2px; border-bottom: 1px solid var(--pr-rule); }
body #roomBar #roomTabs a { display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 12px 11px; border: 0; border-radius: 0; background: none; box-shadow: inset 0 -2px 0 transparent; font: 400 13px/1 var(--pr-face); letter-spacing: .04em; text-transform: lowercase; text-decoration: none; text-shadow: none; color: var(--pr-print); }
body #roomBar #roomTabs a:hover { color: var(--pr-lit); background: none; }
body #roomBar #roomTabs a[aria-current] { color: #fff; background: none; box-shadow: inset 0 -2px 0 var(--pr-lit); }
body #roomBar #roomTabs a .soon-tag, body #roomBar #roomTabs a .tag, body #roomBar #roomTabs a .count { position: static; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font: 400 12px/1 var(--pr-face); letter-spacing: .02em; text-transform: lowercase; color: var(--pr-dim); transform: none; }
body #roomBar #crumb.crumb { margin: 12px 0 0; font: 400 12.5px/1.2 var(--pr-face); letter-spacing: .04em; text-transform: lowercase; color: var(--pr-dim); }
body #roomBar #crumb a { color: var(--pr-dim); text-decoration: none; }
body #roomBar #crumb a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
body #roomBar #crumb i { margin: 0 .5em; font-style: normal; color: #6a665e; }
body #roomBar #crumb span { color: var(--pr-lit); }

/* ====================================================================================================================
   THE ROOMS' LISTINGS (Learn: Transitions, the Academy, Scratch School, Hip hop; Play: Next track, Beatmatching): where
   a page lists things, it is a track listing, never a grid of boxes. A 2 px rule under the section's label; a line a
   thing: its name (Anton), its one line (the print), its keys, its state at the end as small print. The one marked
   next carries NEXT struck in the violet ink; the lit key of a row is the lit one (a line of light at its foot). The
   page's one block of violet is its Next for you (where there is none, the next row's lit key).
   ==================================================================================================================== */
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) > h1 { margin: 6px 0 8px; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) > p.sub { max-width: 76ch; margin: 0 0 18px; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) > details.how { margin: -8px 0 22px; max-width: 76ch; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) > details.how > summary { display: inline-flex; align-items: baseline; gap: 8px; min-height: 0; padding: 4px 0; font: 400 13px/1.2 var(--pr-face); letter-spacing: .04em; text-transform: lowercase; color: var(--pr-dim); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) > details.how > summary::before { color: var(--pr-lit); font-size: 14px; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) > details.how > summary:hover { color: #fff; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) > details.how > p { margin: 8px 0 0; padding-left: 16px; border-left: 1px solid var(--pr-rule2); font: 400 15px/1.55 var(--pr-face); color: var(--pr-print); }
/* a section's label: the print, over the listing's rule */
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .sect, body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) h2.sc-h, body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) section > h3, body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .panel > h3 { margin: clamp(22px, 3.6vh, 40px) 0 7px; padding: 0; border: 0; font: 400 13px/1.3 var(--pr-face); letter-spacing: .06em; text-transform: lowercase; color: var(--pr-dim); text-shadow: none; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes { display: block; margin: 0; padding: 0; gap: 0; border-top: 2px solid #6a665e; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes > .mode { position: relative; display: grid; grid-template-columns: minmax(200px, 25%) minmax(0, 1fr) auto 42px minmax(64px, auto); column-gap: clamp(14px, 1.6vw, 26px); row-gap: 2px; align-items: baseline; box-sizing: border-box; width: 100%; min-width: 0; min-height: 0; height: auto; margin: 0; padding: 12px 2px 10px; overflow: visible; border: 0; border-bottom: 1px solid var(--pr-rule); border-radius: 0; background: none; box-shadow: none; opacity: 1; text-align: left; color: var(--pr-print); animation: none; transform: none; transition: none; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes > .mode::before, body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes > .mode::after { content: none; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes > .mode > b { grid-column: 1; grid-row: 1; min-width: 0; margin: 0; padding: 0; font: 400 clamp(18px, 1.55vw, 23px)/1.08 var(--flyer); letter-spacing: .03em; text-transform: uppercase; color: #cfc8ba; opacity: 1; text-shadow: none; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes > .mode > .small { grid-column: 2; min-width: 0; margin: 0; font: 700 14px/1.4 var(--pr-type); letter-spacing: 0; text-transform: none; color: var(--pr-print); opacity: 1; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes > .mode > .small.mono { font: 400 13px/1.4 var(--pr-face); letter-spacing: .01em; color: var(--pr-dim); }
/* the state: small print at the end of the line, never a box */
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes > .mode > .tag, body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes > .mode > .tag.mn-chip, body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes > .mode > .soon-tag { grid-column: 5; grid-row: 1; position: static; align-self: baseline; justify-self: end; display: inline; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; white-space: nowrap; font: 400 12.5px/1.3 var(--pr-face); letter-spacing: .04em; text-transform: lowercase; color: var(--pr-dim); transform: none; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes > .mode > .mn-chip[data-state="done"], body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes > .mode > .mn-chip[data-state="learning"] { color: var(--pr-lit); }
/* next: the word struck in the violet ink, the name in the paper's white */
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes > .mode > .mn-next-tag { grid-column: 4; grid-row: 1; position: static; align-self: baseline; justify-self: end; margin: 0; padding: 2px 6px 1px; border: 0; border-radius: 0; background: var(--pr-violet); box-shadow: none; font: 700 12px/1.2 var(--pr-face); letter-spacing: .04em; text-transform: lowercase; color: #0b0710; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes > .mode.mn-next > b, body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes > .mode.now > b { color: var(--pr-paper); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes > .mode.locked > b, body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes > .mode.locked > .small { color: var(--pr-dim); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes > button.mode:hover > b, body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes > a.mode:hover > b, body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes > button.mode:focus-visible > b, body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes > a.mode:focus-visible > b { color: #fff; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes > .mode:focus-visible { outline: 1px solid var(--pr-paper); outline-offset: -1px; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes > a.mode { text-decoration: none; }
/* a row's keys (Learn, Drill, Ghost line): at the line's end; the lit one is the key that is on */
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes > .mode > .tr-acts { grid-column: 3; grid-row: 1 / span 2; align-self: center; display: flex; flex-wrap: nowrap; gap: 6px; width: auto; margin: 0; padding: 0; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes > .mode > .tr-acts .bbtn { flex: none; min-height: 32px; padding: 0 12px; border: 1px solid rgba(var(--pr-warm), .24); border-radius: 3px; background: var(--pr-key); box-shadow: none; font: 400 13px/1.15 var(--pr-face); letter-spacing: .02em; text-transform: lowercase; white-space: nowrap; color: var(--pr-print); transform: none; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes > .mode > .tr-acts .bbtn:hover:not(:disabled) { background: #1b1a19; border: 1px solid rgba(var(--pr-warm), .5); color: #fff; box-shadow: none; transform: none; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes > .mode > .tr-acts .bbtn.primary { background: #151514; color: #fff; box-shadow: inset 0 -2px 0 var(--pr-lit); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes > .mode > .tr-acts .bbtn.primary:hover:not(:disabled) { box-shadow: inset 0 -2px 0 #fff; }
/* with no Next for you on the page, the next row's lit key is the page's one block of violet */
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner):not([data-nfy]) .modes > .mode.mn-next > .tr-acts .bbtn.primary { border: 0; border-radius: 0; background: var(--pr-violet); box-shadow: 2px 2px 0 var(--pr-paper); font: 400 16px/1 var(--flyer); letter-spacing: .05em; text-transform: uppercase; color: #0b0710; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes > .mode.tr-move { cursor: default; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes > .mode.tr-move.tr-focus { border-color: var(--pr-rule); box-shadow: inset 2px 0 0 var(--pr-lit); padding-left: 12px; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes > .mode > .tr-bests { grid-column: 2; grid-row: 2; margin: 0; }

/* a folded group (the Academy's locked modules): one more line of the listing, opened on a click */
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) details.mn-fold { margin: clamp(22px, 3.6vh, 40px) 0 0; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) details.mn-fold > summary.sect { display: flex; align-items: baseline; gap: 8px; margin: 0; padding: 0 2px 7px; border: 0; border-bottom: 2px solid #6a665e; border-radius: 0; background: none; color: var(--pr-dim); cursor: pointer; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) details.mn-fold > summary.sect::after { content: '+'; margin-left: auto; font: 400 15px/1 var(--pr-face); color: var(--pr-lit); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) details.mn-fold[open] > summary.sect::after { content: '−'; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) details.mn-fold > summary.sect:hover { border-color: #6a665e; color: #fff; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) details.mn-fold[open] > .modes { margin-top: 0; border-top: 0; }

/* a notice: a rule down its left, no box (a warning's rule amber) */
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .mn-notice { margin: 0 0 8px; padding: 6px 0 6px 14px; border: 0; border-left: 3px solid var(--pr-warn); background: none; font: 400 14px/1.45 var(--pr-face); color: var(--pr-print); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .mn-notice .tag { margin-right: 6px; padding: 0; background: none; box-shadow: none; transform: none; font: 400 12.5px/1.3 var(--pr-face); color: var(--pr-warn); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .mn-notice a { color: var(--pr-lit); }

/* ---------- Transitions: Use my tracks, one quiet line ---------- */
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .tr-opts { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0; padding: 0; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .tr-opts .tr-mine { display: inline-flex; align-items: center; gap: 8px; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .tr-opts .tr-mine b { font: 700 14px/1.2 var(--pr-face); letter-spacing: 0; text-transform: none; color: var(--pr-lit); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .tr-opts .small { font: 400 13px/1.3 var(--pr-face); color: var(--pr-dim); }

/* ---------- the Academy: the advanced moves' goal over their two lines; the tools and the Free mix switch as sheets ---------- */
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #acAdvanced > h3.sect { margin-top: 0; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #acAdvanced .modes > .mode.adv-move > .tag { color: var(--pr-dim); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #acAdvanced .modes > .mode.adv-move.now > .tag { padding: 2px 6px 1px; background: var(--pr-violet); font-weight: 700; color: #0b0710; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes + .panel, body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .panel + .modes, body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes + details.panel { margin-top: 18px; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .ac-tools.panel { padding: 16px 18px; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .ac-tools .row { gap: 8px; }

/* ---------- Scratch School: the ladder is the listing (the number, the technique, its three tempos, its state) ---------- */
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner)[data-route="scratch"] > section.panel { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner)[data-route="scratch"] > section.panel > p.small { max-width: 76ch; margin: 0 0 12px; font: 400 14px/1.45 var(--pr-face); color: var(--pr-print); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner)[data-route="scratch"] > section.panel > .bbtn { margin: 0 0 4px; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .sc-ladder { display: block; margin: 0; padding: 0; gap: 0; list-style: none; counter-reset: sc; border-top: 2px solid #6a665e; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .sc-ladder > li { counter-increment: sc; display: flex; flex-wrap: nowrap; align-items: baseline; gap: clamp(12px, 1.4vw, 22px); margin: 0; padding: 9px 2px 7px; border: 0; border-bottom: 1px solid var(--pr-rule); border-radius: 0; background: none; box-shadow: none; animation: none; color: var(--pr-dim); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .sc-ladder > li::before { content: counter(sc, decimal-leading-zero); flex: none; min-width: 2.2em; padding: 2px 0 1px; font: 400 13px/1.2 var(--pr-face); letter-spacing: .04em; text-align: center; color: var(--pr-dim); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .sc-ladder > li > a, body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .sc-ladder > li > span:first-of-type { flex: 0 0 clamp(220px, 26%, 340px); min-width: 0; text-decoration: none; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .sc-ladder > li b { font: 400 clamp(17px, 1.45vw, 21px)/1.08 var(--flyer); letter-spacing: .03em; text-transform: uppercase; color: #cfc8ba; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .sc-ladder > li.locked b { color: var(--pr-dim); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .sc-ladder > li > span.mono { display: inline-flex; gap: 14px; margin: 0; vertical-align: baseline; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .sc-ladder .sc-pass, body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .sc-ladder > li.locked .sc-pass { display: inline; width: auto; height: auto; margin: 0; padding: 0 0 2px; border: 0; border-radius: 0; background: none; box-shadow: inset 0 -1px 0 var(--pr-rule2); font: 400 13px/1.2 var(--pr-face); letter-spacing: .04em; color: var(--pr-dim); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .sc-ladder .sc-pass.on { background: none; color: #fff; box-shadow: inset 0 -2px 0 var(--pr-ok); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .sc-ladder > li.locked > span.small.muted { margin: 0 0 0 auto; font: 400 12.5px/1.3 var(--pr-face); letter-spacing: .04em; text-transform: lowercase; color: var(--pr-dim); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .sc-ladder > li.mn-next { border-color: var(--pr-rule); background: none; box-shadow: none; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .sc-ladder > li.mn-next::before { background: var(--pr-violet); font-weight: 700; color: #0b0710; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .sc-ladder > li.mn-next b { color: var(--pr-paper); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .sc-ladder > li.mn-next::after { content: 'Next'; margin: 0 0 0 auto; padding: 0; border-radius: 0; background: none; font: 400 12.5px/1.3 var(--pr-face); letter-spacing: .04em; text-transform: lowercase; color: var(--pr-lit); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .sc-ladder > li a:hover b { color: #fff; text-decoration: none; }


/* ====================================================================================================================
   NEXT FOR YOU on a room page (.next-for-you): a strip of the paper (its label, the name in Anton, one typed line, the
   one violet button at its end). TRANSITIONS' MOVES: slide 06, a paper sheet: a purple number, the move's name, one
   typed line, 4 px ink rules; Learn, Drill and Ghost line are keys on the line (the lit one filled with ink); the row
   marked next carries the sheet's one violet action.
   ==================================================================================================================== */
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) > .next-for-you { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto; column-gap: 24px; row-gap: 0; align-items: center; box-sizing: border-box; width: 100%; margin: 6px 0 20px; padding: 16px clamp(20px, 2.2vw, 36px) 17px; overflow: hidden; border: 0; border-radius: 0; background: var(--paper-tex) 0 0 / 512px 512px, var(--paper); box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .85); text-align: left; color: var(--paper-ink); text-shadow: none; animation: none; transition: none; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) > .next-for-you::before { content: none; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) > .next-for-you::after { content: ''; display: block; position: absolute; z-index: -1; right: 0; bottom: 0; top: auto; left: auto; width: 250px; height: 250px; border: 0; border-radius: 0; box-shadow: none; background: var(--paper-ink); opacity: .2; -webkit-mask-image: var(--halftone), radial-gradient(circle at 100% 100%, #000 22%, transparent 66%); mask-image: var(--halftone), radial-gradient(circle at 100% 100%, #000 22%, transparent 66%); -webkit-mask-size: 190% 190%, 100% 100%; mask-size: 190% 190%, 100% 100%; -webkit-mask-position: left top, center; mask-position: left top, center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-composite: source-in; mask-composite: intersect; transform: none; pointer-events: none; font-size: 0; -webkit-text-stroke: 0; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) > .next-for-you > .eyebrow { grid-area: 1 / 1; margin: 0 0 4px; font: 700 14px/1.3 var(--pr-type); letter-spacing: .01em; text-transform: lowercase; color: var(--paper-dim); text-shadow: none; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) > .next-for-you > b { grid-area: 2 / 1; display: block; margin: 0 0 6px; padding: 0; font: 400 clamp(32px, 4.6vh, 48px)/.94 var(--flyer); letter-spacing: .005em; text-transform: uppercase; color: var(--paper-ink); text-shadow: none; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) > .next-for-you > .small { grid-area: 3 / 1; display: block; margin: 0; font: 700 15px/1.36 var(--pr-type); color: var(--paper-ink); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) > .next-for-you > .hero-go { grid-area: 1 / 2 / 4 / 3; align-self: center; display: inline-flex; align-items: center; min-height: 52px; margin: 0 4px 4px 0; padding: 0 26px; border: 0; border-radius: 0; background: var(--pr-violet); box-shadow: 4px 4px 0 var(--paper-ink); font: 400 24px/1 var(--flyer); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; color: var(--paper-ink); text-shadow: none; animation: none; transition: transform .08s, box-shadow .08s, background-color .08s; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) > .next-for-you:hover > .hero-go { background: #b48dff; transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--paper-ink); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) > .next-for-you:active > .hero-go { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--paper-ink); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) > .next-for-you:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* ---------- the moves: a paper sheet ---------- */
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes.tr-moves { position: relative; isolation: isolate; counter-reset: mv; margin: 0; padding: clamp(14px, 2vh, 22px) clamp(22px, 2.6vw, 44px) clamp(16px, 2.4vh, 26px); border: 0; background: var(--paper-tex) 0 0 / 512px 512px, var(--paper); box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .85); color: var(--paper-ink); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes.tr-moves::after { content: ''; position: absolute; z-index: -1; right: 0; bottom: 0; width: 250px; height: 250px; background: var(--paper-ink); opacity: .2; -webkit-mask-image: var(--halftone), radial-gradient(circle at 100% 100%, #000 22%, transparent 66%); mask-image: var(--halftone), radial-gradient(circle at 100% 100%, #000 22%, transparent 66%); -webkit-mask-size: 190% 190%, 100% 100%; mask-size: 190% 190%, 100% 100%; -webkit-mask-position: left top, center; mask-position: left top, center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-composite: source-in; mask-composite: intersect; pointer-events: none; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes.tr-moves > .mode.tr-move { counter-increment: mv; grid-template-columns: clamp(52px, 5vw, 78px) minmax(170px, 21%) minmax(0, 1fr) auto minmax(78px, auto); column-gap: clamp(12px, 1.4vw, 22px); align-items: center; padding: 11px 0 9px; border: 0; border-bottom: 4px solid var(--paper-ink); color: var(--paper-ink); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes.tr-moves > .mode.tr-move:first-child { border-top: 4px solid var(--paper-ink); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes.tr-moves > .mode.tr-move::before { content: counter(mv, decimal-leading-zero); grid-column: 1; grid-row: 1 / span 2; align-self: center; font: 400 clamp(38px, 5.4vh, 54px)/.9 var(--flyer); letter-spacing: 0; color: var(--pr-violet); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes.tr-moves > .mode.tr-move > b { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 800 clamp(18px, 1.6vw, 23px)/1.05 'Lexend', var(--pr-face); letter-spacing: -.005em; text-transform: uppercase; color: var(--paper-ink); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes.tr-moves > .mode.tr-move.mn-next > b { color: var(--paper-ink); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes.tr-moves > .mode.tr-move > .small { grid-column: 3; font: 700 15px/1.3 var(--pr-type); color: var(--paper-ink); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes.tr-moves > .mode.tr-move > .tr-bests { grid-column: 3; grid-row: 2; font: 700 14px/1.3 var(--pr-type); letter-spacing: 0; color: var(--paper-ink); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes.tr-moves > .mode.tr-move > .tr-acts { grid-column: 4; grid-row: 1 / span 2; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes.tr-moves > .mode.tr-move > .tr-acts .bbtn { min-height: 34px; padding: 0 12px; border: 1.5px solid var(--paper-ink); border-radius: 0; background: none; box-shadow: none; font: 700 14px/1.15 var(--pr-type); letter-spacing: 0; text-transform: lowercase; color: var(--paper-ink); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes.tr-moves > .mode.tr-move > .tr-acts .bbtn:hover:not(:disabled) { border: 1.5px solid var(--paper-ink); background: var(--paper-ink); color: var(--paper); box-shadow: none; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes.tr-moves > .mode.tr-move > .tr-acts .bbtn.primary { background: var(--paper-ink); color: var(--paper); box-shadow: none; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes.tr-moves > .mode.tr-move > .tr-acts .bbtn.primary:hover:not(:disabled) { background: #2a2730; box-shadow: none; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes.tr-moves > .mode.tr-move.mn-next > .tr-acts .bbtn.primary, body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner):not([data-nfy]) .modes.tr-moves > .mode.tr-move.mn-next > .tr-acts .bbtn.primary { margin: 0 3px 3px 0; padding: 0 14px; border: 0; background: var(--pr-violet); box-shadow: 3px 3px 0 var(--paper-ink); font: 400 17px/1 var(--flyer); letter-spacing: .05em; text-transform: uppercase; color: var(--paper-ink); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes.tr-moves > .mode.tr-move.mn-next > .tr-acts .bbtn.primary:hover:not(:disabled) { background: #b48dff; box-shadow: 4px 4px 0 var(--paper-ink); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes.tr-moves > .mode.tr-move > .tag.mn-chip { grid-column: 5; grid-row: 1 / span 2; align-self: center; font: 700 15px/1.3 var(--pr-type); letter-spacing: 0; color: var(--paper-ink); }   /* ink, not the quiet grey: Courier's thin strokes read light on the stock at 8:1 */
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes.tr-moves > .mode.tr-move > .mn-chip[data-state="done"], body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes.tr-moves > .mode.tr-move > .mn-chip[data-state="learning"] { color: var(--paper-ink); }
/* next: a stamp over the row's end */
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes.tr-moves > .mode.tr-move > .mn-next-tag { grid-column: 5; grid-row: 1; align-self: start; justify-self: end; margin: 6px 0 0 0; padding: 1px 6px 0; border: 2px solid currentColor; background: none; font: 400 13px/1.25 var(--flyer); letter-spacing: .05em; text-transform: uppercase; color: var(--pr-violet-paper); transform: rotate(-4deg); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes.tr-moves > .mode.tr-move.mn-next > .tag.mn-chip { align-self: end; grid-row: 2; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes.tr-moves > .mode.tr-move.tr-focus { padding-left: 0; box-shadow: none; background: rgba(11, 10, 12, .06); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .modes.tr-moves > .mode.tr-move:focus-visible { outline: 2px solid var(--paper-ink); }

/* ---------- Learn > Path: Continue is the paper card (left), the path the listing (right) ---------- */
@media (min-width: 1000px) {
  body #screen#screen[data-route="path"] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); column-gap: clamp(44px, 6vw, 130px); align-items: start; align-content: start; }
  body #screen#screen[data-route="path"] > h1, body #screen#screen[data-route="path"] > p.sub { grid-column: 1 / -1; }
  body #screen#screen[data-route="path"] > #pathNext { grid-column: 1; grid-row: 3; }
  body #screen#screen[data-route="path"] > .menu-rest { grid-column: 2; grid-row: 3; margin: 0; }
}
body #screen#screen[data-route="path"] > #pathNext.path-next { display: block; max-width: none; margin: 10px 0 0; padding: clamp(20px, 3.2vh, 40px) clamp(22px, 2.4vw, 40px) clamp(22px, 3.2vh, 38px); }
body #screen#screen[data-route="path"] > #pathNext > b { display: block; margin: 0 0 10px; }
body #screen#screen[data-route="path"] > #pathNext > .small { display: block; margin: 0 0 clamp(14px, 2.4vh, 26px); font: 700 15px/1.36 var(--pr-type); color: var(--paper-ink); }
body #screen#screen[data-route="path"] > #pathNext > .bbtn.primary { min-height: 52px; padding: 0 26px; font-size: 24px; box-shadow: 4px 4px 0 var(--paper-ink); }


/* ====================================================================================================================
   THE REST, on the dark base: a goal outside a paper card (the Academy, the Daily), the Challenges page as a listing,
   Scratch School's sections without their boxes, the two questions, Add music; and the access card (paper: the first
   thing a tester sees).
   ==================================================================================================================== */
/* a goal on the dark base: a ruled section (paper-white rules), the goal typed, its count a read-out */
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .goal-box:not(.ft-intro .goal-box):not(.chapter-open .goal-box) { margin: 12px 0; padding: 10px 0 9px; border: 0; border-top: 2px solid #6a665e; border-bottom: 2px solid #6a665e; border-radius: 0; background: none; box-shadow: none; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .goal-box:not(.ft-intro .goal-box) .goal-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .goal-box:not(.ft-intro .goal-box) .goal-line { flex: 1 1 260px; font: 700 14px/1.3 var(--pr-type); letter-spacing: .01em; text-transform: lowercase; color: var(--pr-dim); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .goal-box:not(.ft-intro .goal-box) .goal-line b { font: 700 16px/1.3 var(--pr-type); letter-spacing: 0; text-transform: none; color: var(--pr-lit); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .goal-box:not(.ft-intro .goal-box) .ring { border-color: var(--pr-dim); box-shadow: none; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .goal-box:not(.ft-intro .goal-box) .goal-count { font: 400 15px/1.2 var(--pr-face); letter-spacing: .01em; color: var(--pr-amber); text-shadow: none; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .goal-box:not(.ft-intro .goal-box) .goal-what, body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) .goal-box:not(.ft-intro .goal-box) .goal-next { margin: 6px 0 0; font: 700 14px/1.4 var(--pr-type); color: var(--pr-print); }

/* ---------- the Daily and Add music: each its page's one card, on the paper (the recipe above) ---------- */
body #screen#screen > .daily-page, body #screen#screen > .add-music { box-sizing: border-box; max-width: 920px; margin: 8px 0 0; padding: clamp(20px, 3.2vh, 38px) clamp(24px, 2.6vw, 44px) clamp(20px, 3vh, 36px); }
body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music).daily-page h2 { font-size: clamp(28px, 4vh, 40px); line-height: .96; }
body #screen#screen > .daily-page #dailyVs { margin: 0 0 4px; font: 700 14px/1.4 var(--pr-type); color: var(--paper-dim); }
body #screen#screen > .daily-page .row.wrap, body #screen#screen > .add-music .row.wrap { align-items: center; gap: 12px 16px; margin-top: 12px; }

/* ---------- the Challenges page: a line a challenge (its stage, its name, what it is, its best and last goes, its key) ---------- */
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #challenges.challenges { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #challenges > .ch-tiles { display: block; margin: 0; padding: 0; list-style: none; border-top: 2px solid #6a665e; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #challenges .ch-tile { display: grid; grid-template-columns: minmax(200px, 25%) minmax(0, 1fr) auto auto minmax(86px, auto); column-gap: clamp(14px, 1.6vw, 26px); align-items: center; min-height: 0; margin: 0; padding: 12px 2px 10px; border: 0; border-bottom: 1px solid var(--pr-rule); border-radius: 0; background: none; box-shadow: none; opacity: 1; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #challenges .ch-top { grid-column: 1; display: flex; justify-content: flex-start; align-items: baseline; gap: 12px; margin: 0; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #challenges .ch-n { order: -1; min-width: 2.2em; font: 400 13px/1.2 var(--pr-face); letter-spacing: .04em; color: var(--pr-dim); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #challenges .ch-name { font: 400 clamp(18px, 1.55vw, 23px)/1.08 var(--flyer); letter-spacing: .03em; text-transform: uppercase; color: #cfc8ba; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #challenges .ch-tile[data-open="false"] .ch-name { color: var(--pr-dim); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #challenges .ch-line { grid-column: 2; margin: 0; font: 700 14px/1.4 var(--pr-type); color: var(--pr-print); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #challenges .ch-best { grid-column: 3; display: inline-flex; align-items: baseline; gap: 6px; margin: 0; white-space: nowrap; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #challenges .ch-best .ks-k { font: 400 12.5px/1.2 var(--pr-face); letter-spacing: .04em; text-transform: lowercase; color: var(--pr-dim); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #challenges .ch-best b { font: 400 15px/1.2 var(--num); color: var(--pr-amber); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #challenges .ch-goes, body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #challenges .ch-goes-none { grid-column: 4; margin: 0; padding: 0; font: 400 12.5px/1.2 var(--pr-face); color: var(--pr-dim); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #challenges .ch-goes { display: flex; gap: 8px; list-style: none; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #challenges .ch-go { padding: 0; border: 0; background: none; font: 400 13px/1.2 var(--num); color: var(--pr-print); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #challenges .ch-go[data-best] { color: var(--pr-amber); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #challenges .ch-tile > .bbtn, body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #challenges .ch-mark { grid-column: 5; justify-self: end; margin: 0; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #challenges .ch-tile > .bbtn { min-height: 32px; padding: 0 14px; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #challenges .ch-mark { font: 400 12.5px/1.3 var(--pr-face); letter-spacing: .04em; text-transform: lowercase; color: var(--pr-dim); }

/* ---------- Scratch School: its sections are parts of the page, not boxes ---------- */
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner)[data-route="scratch"] > section.panel { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner)[data-route="scratch"] > section.panel > h3 { margin-top: clamp(14px, 2.4vh, 26px); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner)[data-route="scratch"] > section.panel > p.small { max-width: 76ch; margin: 0 0 12px; font: 700 14px/1.45 var(--pr-type); color: var(--pr-print); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner)[data-route="scratch"] > section.panel > .bbtn { margin: 0 0 4px; }

/* ---------- the two questions: the choices are three lines of a listing (a dot, the answer, its line), the genres keys ---------- */
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #likes.likes .exp-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(14px, 1.6vw, 26px); margin: 10px 0 0; border-top: 2px solid #6a665e; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #likes.likes .exp-pick > .mode.exp::before { left: 4px; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #likes.likes .exp-pick > .mode.exp { min-height: 0; padding: 14px 2px 12px 38px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; box-shadow: none; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #likes.likes .exp-pick > .mode.exp.on { border-bottom-color: var(--pr-lit); background: none; box-shadow: none; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #likes.likes .exp-pick > .mode.exp b { color: #a39e93; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #likes.likes .exp-pick > .mode.exp.on b { color: var(--pr-paper); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #likes.likes .exp-pick > .mode.exp .small { font: 700 14px/1.35 var(--pr-type); color: var(--pr-print); }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #likes.likes .chips .chip { border: 1px solid rgba(var(--pr-warm), .24); border-radius: 3px; background: var(--pr-key); box-shadow: none; }
body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #likes.likes .chips .chip.on, body:is([data-room="learn"]:not([data-screen="set"], [data-screen^="night"]), [data-screen="daily"], [data-screen="select"], [data-screen="challenges"], [data-screen="likes"], [data-screen="addmusic"]) #screen#screen:not(.decks-screen, .decks-banner) #likes.likes .chips .chip[aria-pressed="true"] { border-color: rgba(var(--pr-warm), .5); background: #151514; box-shadow: inset 0 -2px 0 var(--pr-lit); color: #fff; }

/* ---------- THE ACCESS CARD (the first thing a tester sees): paper. Two ruled steps, the code an ink-ruled field ---------- */
body #screen #access.access { position: relative; isolation: isolate; box-sizing: border-box; display: grid; gap: 12px; max-width: 800px; margin: clamp(22px, 7vh, 96px) auto 0; padding: clamp(26px, 4.4vh, 48px) clamp(26px, 3.4vw, 52px) clamp(24px, 4vh, 42px); overflow: hidden; border: 0; border-radius: 0; background: var(--paper-tex) 0 0 / 512px 512px, var(--paper); box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .85); color: var(--paper-ink); }
body #screen #access.access::after { content: ''; position: absolute; z-index: -1; right: 0; bottom: 0; width: 250px; height: 250px; background: var(--paper-ink); opacity: .2; -webkit-mask-image: var(--halftone), radial-gradient(circle at 100% 100%, #000 22%, transparent 66%); mask-image: var(--halftone), radial-gradient(circle at 100% 100%, #000 22%, transparent 66%); -webkit-mask-size: 190% 190%, 100% 100%; mask-size: 190% 190%, 100% 100%; -webkit-mask-position: left top, center; mask-position: left top, center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-composite: source-in; mask-composite: intersect; pointer-events: none; }
body #screen #access .eyebrow { margin: 0; font: 700 14px/1.3 var(--pr-type); letter-spacing: .01em; text-transform: lowercase; color: var(--paper-dim); }
body #screen #access .access-h { margin: 0; font: 400 clamp(40px, 6.4vh, 68px)/.92 var(--flyer); letter-spacing: .005em; text-transform: uppercase; color: var(--paper-ink); text-shadow: none; }
body #screen #access .sub, body #screen #access p { margin: 0; max-width: 60ch; font: 700 15px/1.42 var(--pr-type); color: var(--paper-ink); }
body #screen #access .small, body #screen #access .access-who, body #screen #access .access-ask p, body #screen #access .access-wait { font: 700 14px/1.4 var(--pr-type); color: var(--paper-dim); }
body #screen #access b { color: var(--paper-ink); }
body #screen #access .access-steps { display: block; margin: 6px 0 0; padding: 0; list-style: none; border-top: 3px solid var(--paper-ink); }
body #screen #access .access-step { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 12px; align-items: start; margin: 0; padding: 14px 0 14px; border: 0; border-bottom: 3px solid var(--paper-ink); background: none; opacity: 1; }
body #screen #access .access-step > b { padding: 0; font: 400 40px/.95 var(--flyer); letter-spacing: 0; color: var(--pr-violet); }
body #screen #access .access-step[data-done="true"] > b { color: var(--paper-dim); }
body #screen #access .access-step[data-step="2"][data-on="false"] { opacity: 1; }
body #screen #access .access-k { display: block; margin: 2px 0 10px; font: 700 17px/1.3 var(--pr-type); color: var(--paper-ink); }
body #screen #access .access-code { align-items: center; gap: 14px; }
body #screen #access .access-code input { min-width: 300px; padding: 8px 2px 6px; border: 0; border-bottom: 3px solid var(--paper-ink); border-radius: 0; background: none; box-shadow: none; outline: none; font: 700 22px/1.2 var(--pr-type); letter-spacing: .08em; text-transform: uppercase; color: var(--paper-ink); }
body #screen #access .access-code input::placeholder { color: var(--paper-dim); opacity: .75; }
body #screen #access .access-code input:focus { border-bottom-color: var(--pr-violet-paper); box-shadow: none; outline: none; }
body #screen #access .bbtn.primary { border: 0; border-radius: 0; background: var(--pr-violet); box-shadow: 3px 3px 0 var(--paper-ink); color: var(--paper-ink); }
body #screen #access .bbtn.primary:hover:not(:disabled) { background: #b48dff; box-shadow: 4px 4px 0 var(--paper-ink); color: var(--paper-ink); }
body #screen #access .bbtn:not(.primary):not(.ghost) { border: 1.5px solid var(--paper-ink); border-radius: 0; background: none; box-shadow: none; font: 700 14px/1.15 var(--pr-type); letter-spacing: 0; text-transform: lowercase; color: var(--paper-ink); }
body #screen #access .bbtn:not(.primary):not(.ghost):hover:not(:disabled) { background: var(--paper-ink); color: var(--paper); }
body #screen #access .bbtn.ghost { min-height: 0; padding: 0; border-color: transparent; background: none; font: 700 14px/1.3 var(--pr-type); letter-spacing: 0; text-transform: none; color: var(--paper-ink); text-decoration: underline; text-underline-offset: 3px; }
body #screen #access a:not(.bbtn) { color: var(--paper-ink); text-decoration: underline; text-underline-offset: 3px; }
/* a refusal: said plainly in ink, a bar of ink before it (amber does not read on the stock) */
body #screen #access .access-err { min-height: 1.4em; margin: 2px 0 0; font: 700 15px/1.4 var(--pr-type); color: var(--paper-ink); }
body #screen #access .access-err:not(:empty) { padding-left: 10px; border-left: 4px solid var(--paper-ink); }
body #screen #access .access-ask { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 4px; }
body #screen #access :focus-visible { outline: 2px solid var(--paper-ink); outline-offset: 2px; }

/* ====================================================================================================================
   THE RESULT CARDS AND THE DENSE PAGES (Part 2b)
   (built as the working partial look-part-menus-b.css, folded in here unchanged, in the order they were linked)
   ==================================================================================================================== */
/* ====================================================================================================================
   PART 2b. THE RESULT CARDS and THE PAGES (Library, Settings, the Controller pages, Stats, Recordings, Set mode and the
   set builder, Your first set, the nights, Free mix's goal, picker and browser, the toast and the footer), finished in
   the print (docs/LOOK.md). Display only. `#screen#screen` is the look's own weight over the older systems above
   (design/menus' `#screen:not(.decks-screen):not([data-route^="set/first"])`, the cards' `#resultSlot.slot-*`): one id
   more, so nothing here needs !important and Your first set (#set/first) is in the system too.
   ==================================================================================================================== */

/* ====================================================================================================================
   1. A RESULT IS A PAPER CARD (docs/LOOK.md rule 2; the reference is slide 06)
      the card        the off-white stock with its texture, square, a soft black shadow, a halftone at its foot's corner
      the title       Anton, near-black; the pass line printed on it: PASSED in Anton with an ink tick; NOT YET the same
                      word in a ruled frame a couple of degrees off square (a word and a stamp: never a colour)
      the grade       a stamp: Anton in the paper's purple, a ruled frame, off square (an S a double frame; a C or a D
                      the same stamp in grey ink)
      the numbers     real mono, near-black
      the parts       a listing under a 3 px ink rule: a hairline between, the name typed, the score at the line's end
      the coach       nice / fix this next: typed lines under 3 px ink rules, the label hung in the margin
      one violet      the card's one Next (or its one retry), an ink edge; the rest ink-outlined keys or underlined words
      on paper a state is a word or a stamp, never an LED's colour; nothing on a card but a stamp is rotated
   ==================================================================================================================== */
#screen#screen .result, #screen#screen .result.panel, #screen#screen .unlock-card, #screen#screen .grad-card.result.panel { position: relative; isolation: isolate; border: 0; border-radius: 0; background: var(--paper-tex) 0 0 / 512px 512px, var(--paper); box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .85), 0 0 0 1px rgba(0, 0, 0, .5); color: var(--paper-ink); animation: none; --ink: var(--paper-ink); --muted: var(--paper-dim); --faint: var(--paper-dim); --line: var(--paper-hair); --line2: var(--paper-hair); }
#screen#screen .result::before, #screen#screen .unlock-card::before { content: ''; position: absolute; z-index: -1; right: 0; bottom: 0; width: min(240px, 42%); aspect-ratio: 1; pointer-events: none; background: var(--paper-ink); opacity: .13; -webkit-mask: var(--halftone) right bottom / 100% 100% no-repeat; mask: var(--halftone) right bottom / 100% 100% no-repeat; }
#screen#screen .unlock-card::after { content: none; }
/* the night's card: an older rule holds its ground with !important, so the stock goes on two layers under its print */
#screen#screen .night-card { --panel-solid: var(--paper); box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .85), 0 0 0 1px rgba(0, 0, 0, .5); }
#screen#screen .night-card::after { content: ''; position: absolute; z-index: -2; inset: 0; pointer-events: none; background: var(--paper-tex) 0 0 / 512px 512px, var(--paper); }
/* the type on a card */
#screen#screen .result h2, #screen#screen .unlock-card h2, #screen#screen .result .ft-big, #screen#screen .unlock-card .ft-big, #screen#screen .unlock-card .uc-move, #screen#screen .grad-title { font-family: var(--flyer); font-weight: 400; letter-spacing: .01em; text-transform: uppercase; color: var(--paper-ink); text-shadow: none; }
#screen#screen .result h2, #screen#screen .unlock-card h2 { font-size: 28px; line-height: .98; }
#screen#screen .result .eyebrow, #screen#screen .unlock-card .eyebrow, #screen#screen .grad-card .grad-head .eyebrow { font: 700 14px/1.3 var(--pr-type); letter-spacing: .01em; text-transform: lowercase; color: var(--paper-dim); text-shadow: none; }
#screen#screen .result p:not(.pass-line):not(.goal-news), #screen#screen .unlock-card p, #screen#screen .result .ft-lead { font: 700 15px/1.4 var(--pr-type); letter-spacing: 0; color: var(--paper-ink); }
#screen#screen .result .small, #screen#screen .result p.small:not(.pass-line), #screen#screen .result .muted, #screen#screen .unlock-card .small { font: 400 13px/1.4 var(--pr-face); letter-spacing: .01em; color: var(--paper-dim); }
#screen#screen .result b, #screen#screen .result strong { color: var(--paper-ink); }
#screen#screen .result a:not(.bbtn) { color: var(--paper-ink); text-decoration-color: var(--paper-ink); }
#screen#screen .result .mono { font-family: var(--num); letter-spacing: 0; }
#screen#screen .result .nc-grade.mono { font-family: var(--flyer); }
#screen#screen .result :focus-visible { outline: 2px solid var(--paper-ink); outline-offset: 2px; }

/* ---------- the keys on a card: one violet block with an ink edge; a key is ruled in ink; Back and Home are underlined words ---------- */
#screen#screen .result .bbtn.primary, #screen#screen .unlock-card .bbtn.primary { box-shadow: 3px 3px 0 var(--paper-ink); color: #0b0710; }
#screen#screen .result .bbtn.primary:hover:not(:disabled), #screen#screen .unlock-card .bbtn.primary:hover:not(:disabled) { box-shadow: 4px 4px 0 var(--paper-ink); }
#screen#screen .result .bbtn.primary:active:not(:disabled) { box-shadow: 1px 1px 0 var(--paper-ink); }
#screen#screen .result .bbtn.primary.big, #screen#screen .unlock-card .bbtn.primary.big { box-shadow: 5px 5px 0 var(--paper-ink); }
#screen#screen .result .bbtn:not(.primary):not(.ghost), #screen#screen .unlock-card .bbtn:not(.primary):not(.ghost) { border: 1.5px solid var(--paper-ink); border-radius: 0; background: none; box-shadow: none; color: var(--paper-ink); font: 700 14px/1.15 var(--pr-type); letter-spacing: 0; text-transform: lowercase; text-shadow: none; }
#screen#screen .result .bbtn:not(.primary):not(.ghost):hover:not(:disabled), #screen#screen .unlock-card .bbtn:not(.primary):not(.ghost):hover:not(:disabled) { border-color: var(--paper-ink); background: var(--paper-ink); box-shadow: none; color: var(--paper); }
#screen#screen .result .bbtn.ghost, #screen#screen .result a.bbtn.ghost, #screen#screen .unlock-card .bbtn.ghost { border-color: transparent; background: none; box-shadow: none; color: var(--paper-ink); font: 700 14px/1.15 var(--pr-type); letter-spacing: 0; text-transform: lowercase; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
#screen#screen .result .bbtn.ghost:hover:not(:disabled), #screen#screen .unlock-card .bbtn.ghost:hover:not(:disabled) { background: none; border-color: transparent; color: var(--pr-violet-paper); text-decoration: underline; text-decoration-color: currentColor; }
#screen#screen .result .bbtn:disabled { border-color: var(--paper-hair); background: none; color: var(--paper-dim); }
#screen#screen .result .bbtn.primary .small, #screen#screen .result .bbtn.primary span, #screen#screen .result .bbtn.primary small { font: 400 13px/1.3 var(--pr-face); letter-spacing: .01em; text-transform: none; color: #0b0710; }

/* ---------- the grade: a stamp ---------- */
#screen#screen .grade, #screen#screen .nc-grade { box-sizing: border-box; border: 3px solid currentColor; border-radius: 0; background: none; box-shadow: none; color: var(--pr-violet-paper); font-family: var(--flyer); font-weight: 400; letter-spacing: 0; text-shadow: none; rotate: -3deg; }
#screen#screen .grade.gS, #screen#screen .nc-grade[data-grade="S"] { box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 5px currentColor; }
#screen#screen .grade.gC, #screen#screen .grade.gD, #screen#screen .nc-grade[data-grade="C"], #screen#screen .nc-grade[data-grade="D"] { color: var(--paper-dim); }
#screen#screen .grad-card .grad-score .grade, #screen#screen .grad-card .grad-score .grade.gA { box-shadow: none; }
#screen#screen .grad-card .grad-score .grade.gS { box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 5px currentColor; }

/* ---------- the pass line, printed ---------- */
#screen#screen .pass-line { text-shadow: none; color: var(--paper-ink); }
#screen#screen .pass-line .pl-word { font-family: var(--flyer); font-weight: 400; letter-spacing: .01em; color: var(--paper-ink); text-shadow: none; }
#screen#screen .pass-line .pl-sep { color: var(--paper-dim); }
#screen#screen .pass-line .pl-score { font-family: var(--num); font-weight: 700; letter-spacing: 0; color: var(--paper-dim); }
#screen#screen .pass-line .pl-score b { color: var(--paper-ink); }
#screen#screen .pass-line .pl-tick { border-radius: 50%; background: var(--paper-ink); box-shadow: none; color: var(--paper); font-family: var(--pr-face); }
#screen#screen .pass-line[data-pass="false"] .pl-word, #screen#screen .pass-line[data-pass="no"] .pl-word { padding: .06em .22em 0; border: 3px solid currentColor; color: var(--paper-ink); rotate: -2deg; }
#screen#screen .pass-line[data-pass="false"] .pl-score, #screen#screen .pass-line[data-pass="no"] .pl-score { color: var(--paper-dim); }
#screen#screen .pass-line[data-pass="false"] .pl-score b, #screen#screen .pass-line[data-pass="no"] .pl-score b { color: var(--paper-ink); }

/* ---------- the parts: a listing ---------- */
#screen#screen .res-scores { gap: 0 28px; border-top: 3px solid var(--paper-ink); }
#screen#screen .res-scores > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 6px 12px; padding: 9px 0 10px; border: 0; border-bottom: 1px solid var(--paper-hair); border-radius: 0; background: none; font: 700 14px/1.3 var(--pr-type); letter-spacing: 0; color: var(--paper-ink); }
#screen#screen .res-scores > div > b, #screen#screen .res-scores > div > b.mono { grid-column: 2; grid-row: 1; font: 700 17px/1 var(--num); letter-spacing: 0; color: var(--paper-ink); }
#screen#screen .res-scores > div > .sbar { grid-column: 1 / -1; grid-row: 2; }
#screen#screen .res-scores > div > .muted { grid-column: 2; grid-row: 1; font: 400 13px/1.3 var(--pr-face); color: var(--paper-dim); }
#screen#screen .result .sbar { height: 4px; border-radius: 0; background: var(--paper-hair); }
#screen#screen .result .sbar i { background: var(--paper-ink); }
#screen#screen .res-cap, #screen#screen .result p.res-cap { padding-left: 10px; border-left: 3px solid var(--paper-ink); font: 700 14px/1.4 var(--pr-type); color: var(--paper-ink); }

/* ---------- the coach's card: points, the level, the two typed lines, the replay, the retry ---------- */
#screen#screen .coach-xp { gap: 6px 12px; color: var(--paper-ink); }
#screen#screen .coach-xp .xp-gain { font: 700 22px/1 var(--num); letter-spacing: 0; color: var(--paper-ink); text-shadow: none; }
#screen#screen .coach-xp .small, #screen#screen .coach-xp .xp-level { font: 400 13px/1.3 var(--pr-face); color: var(--paper-dim); }
#screen#screen .coach-xp .xp-level .mono { font-family: var(--num); font-size: 12px; color: var(--paper-ink); }
#screen#screen .coach-xp .xp-up { font: 700 14px/1.3 var(--pr-type); color: var(--paper-ink); }
#screen#screen .xp-bar { height: 4px; border-radius: 0; background: var(--paper-hair); }
#screen#screen .xp-bar i, #screen#screen .coach-xp.up .xp-bar i { background: var(--paper-ink); box-shadow: none; }
/* Level up, New best!: stamps (Anton in the paper's purple, a ruled frame, off square) */
#screen#screen .result .xp-up .tag.nexttag, #screen#screen .result .coach-best:not(.ch-newbest), #screen#screen .result b.swap-best, #screen#screen .result .ch-newbest > b { display: inline-block; margin-right: 8px; padding: 2px 8px 0; border: 2px solid currentColor; border-radius: 0; background: none; box-shadow: none; font: 400 14px/1.2 var(--flyer); letter-spacing: .04em; text-transform: uppercase; color: var(--pr-violet-paper); text-shadow: none; transform: none; rotate: -3deg; animation: none; }
#screen#screen .result p.ch-newbest { display: block; padding: 0; border: 0; background: none; font: 700 14px/1.4 var(--pr-type); letter-spacing: 0; text-transform: none; color: var(--paper-ink); rotate: none; animation: none; }
/* the label hangs in the margin, the line beside it; a 3 px ink rule over each */
#screen#screen .coach-card p.coach-good, #screen#screen .coach-card p.coach-fix { padding: 8px 0 0 124px; border-top: 3px solid var(--paper-ink); text-indent: -124px; font: 700 15px/1.4 var(--pr-type); color: var(--paper-ink); }
#screen#screen .coach-k { display: inline-block; width: 115px; margin: 0; text-indent: 0; font: 700 14px/1.4 var(--pr-type); letter-spacing: 0; text-transform: lowercase; color: var(--paper-dim); }
#screen#screen .result .term { text-indent: 0; border-bottom: 1.5px dotted var(--paper-ink); color: inherit; }
#screen#screen .result .term.new { border-bottom: 1.5px dotted var(--paper-ink); }
#screen#screen .result .term.new::before { font: 400 12px/0 var(--pr-face); letter-spacing: .04em; text-transform: lowercase; color: var(--paper-dim); }
#screen#screen .coach-grid, #screen#screen .result p.warn, #screen#screen .result .small.warn { margin: 0; padding: 0 0 0 10px; border: 0; border-left: 3px solid var(--paper-ink); border-radius: 0; background: none; font: 700 14px/1.4 var(--pr-type); color: var(--paper-ink); }
#screen#screen .coach-more > summary, #screen#screen .result details > summary { font: 700 14px/1.3 var(--pr-type); letter-spacing: 0; text-transform: lowercase; color: var(--paper-ink); }
#screen#screen .result details > summary::marker { color: var(--paper-ink); }
#screen#screen .coach-more > summary:hover { color: var(--pr-violet-paper); }
#screen#screen .coach-more li { font: 700 14px/1.45 var(--pr-type); color: var(--paper-ink); }
/* the player: Chrome's own, printed on the stock (its light face multiplied into the paper, an ink rule round it, square) */
#screen#screen .result audio { height: 32px; border: 1.5px solid var(--paper-ink); border-radius: 0; color-scheme: light; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; }
#screen#screen .result audio::-webkit-media-controls-enclosure { border-radius: 0; background: transparent; }
#screen#screen .result audio::-webkit-media-controls-panel { background: transparent; }
/* the replay chart is drawn by the game in light inks for a dark ground (booth-game.js): on the card it is printed the
   other way round (inverted, its hues turned back, calmed), so its lines are dark ink on the paper */
#screen#screen .result .replaycv { border: 1.5px solid var(--paper-ink); border-radius: 0; background: none; filter: invert(1) hue-rotate(180deg) saturate(.55) contrast(1.25); }
#screen#screen .replay #scrubInfo { font: 400 12px/1.3 var(--num); letter-spacing: 0; color: var(--paper-dim); }
#screen#screen input#scrub { -webkit-appearance: none; appearance: none; height: 16px; margin: 0; background: linear-gradient(var(--paper-ink), var(--paper-ink)) 0 50% / 100% 2px no-repeat; accent-color: var(--paper-ink); }
#screen#screen input#scrub::-webkit-slider-runnable-track { height: 16px; background: none; }
#screen#screen input#scrub::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 7px; height: 16px; border: 0; border-radius: 0; background: var(--paper-ink); box-shadow: 0 0 0 2px var(--paper); }

/* ---------- the card's own headline (a goal's news), the goal box on a card, the mission's ending, the set's summary ---------- */
#screen#screen .result .goal-news { margin: 0; font: 400 clamp(24px, 2.2vw, 32px)/1 var(--flyer); letter-spacing: .01em; text-transform: uppercase; color: var(--paper-ink); text-shadow: none; }
#screen#screen .result .goal-news[data-kind="miss"], #screen#screen .result .goal-news[data-kind="reset"], #screen#screen .result .goal-news[data-kind="over"], #screen#screen .result .goal-news[data-kind="same"] { font: 700 16px/1.35 var(--pr-type); letter-spacing: 0; text-transform: none; }
/* (the goal box is the intro cards' primitive; inside a result it is printed on the card: ink rules, ink rings) */
#screen#screen .result .goal-box, #screen#screen .result .goal-box.swap-goal { padding: 8px 0 8px; border: 0; border-top: 3px solid var(--paper-ink); border-bottom: 1px solid var(--paper-hair); border-radius: 0; background: none; box-shadow: none; color: var(--paper-ink); }
#screen#screen .result .goal-box .goal-line { font: 700 14px/1.3 var(--pr-type); letter-spacing: 0; text-transform: lowercase; color: var(--paper-dim); text-shadow: none; }
#screen#screen .result .goal-box .goal-line b { font: 700 15px/1.3 var(--pr-type); letter-spacing: 0; color: var(--paper-ink); }
#screen#screen .result .goal-box .goal-count { font: 700 18px/1 var(--num); letter-spacing: 0; color: var(--paper-ink); }
#screen#screen .result .goal-box .goal-what, #screen#screen .result .goal-box .goal-next { font: 400 13px/1.4 var(--pr-face); color: var(--paper-dim); }
#screen#screen .result .goal-box .goal-next b { color: var(--paper-ink); }
#screen#screen .result .goal-rings .ring { border: 2px solid var(--paper-ink); background: none; box-shadow: none; animation: none; }
#screen#screen .result .goal-rings .ring[data-on="true"], #screen#screen .result .goal-rings .ring[data-on="true"] + .ring[data-on="true"], #screen#screen .result .goal-rings .ring[data-on="true"] + .ring[data-on="true"] + .ring[data-on="true"] { border-color: var(--paper-ink); background: var(--paper-ink); box-shadow: inset 0 0 0 2px var(--paper); }
#screen#screen .result .goal-rings .ring[data-on="true"]::after { content: none; }
#screen#screen .mdone, #screen#screen .mdone.won { padding: 0 0 14px; border: 0; border-bottom: 3px solid var(--paper-ink); border-radius: 0; background: none; box-shadow: none; }
#screen#screen .mdone .mstars i { font-style: normal; color: rgba(11, 10, 12, .22); text-shadow: none; }
#screen#screen .mdone .mstars i.on { color: var(--paper-ink); }
#screen#screen .set-sum { padding: 10px 0 0; border: 0; border-top: 3px solid var(--paper-ink); border-radius: 0; background: none; }
#screen#screen .set-sum h3 { margin: 0 0 4px; font: 700 14px/1.3 var(--pr-type); letter-spacing: 0; text-transform: lowercase; color: var(--paper-dim); }
#screen#screen .set-sum .mono, #screen#screen .set-sum b { font-family: var(--num); color: var(--paper-ink); }

/* ---------- Try just the swap: the last five goes as a strip of results (never five boxes) ---------- */
#screen#screen .result .swap-row { display: flex; flex-wrap: wrap; gap: 0; border-top: 3px solid var(--paper-ink); border-bottom: 1px solid var(--paper-hair); }
#screen#screen .result .swap-chip { display: grid; gap: 3px; min-width: 96px; padding: 8px 18px 8px 12px; border: 0; border-left: 1px solid var(--paper-hair); border-radius: 0; background: none; box-shadow: none; animation: none; }
#screen#screen .result .swap-chip:first-child { padding-left: 0; border-left: 0; }
#screen#screen .result .swap-chip b { justify-self: start; margin-left: -6px; padding: 2px 6px 1px; border: 2px solid transparent; font: 700 20px/1 var(--num); letter-spacing: 0; color: var(--paper-dim); text-shadow: none; }
#screen#screen .result .swap-chip i, #screen#screen .result .swap-chip span.mono { font: 400 12px/1.2 var(--pr-face); font-style: normal; letter-spacing: .02em; text-transform: lowercase; color: var(--paper-dim); }
#screen#screen .result .swap-chip.gC b, #screen#screen .result .swap-chip.gD b, #screen#screen .result .swap-chip.gS b { color: var(--paper-dim); }
#screen#screen .result .swap-chip.latest b { color: var(--paper-ink); }
#screen#screen .result .swap-chip.latest i, #screen#screen .result .swap-chip.latest span.mono { color: var(--paper-ink); }
#screen#screen .result .swap-chip.best b { margin-left: 0; border-color: currentColor; color: var(--pr-violet-paper); rotate: -3deg; }
#screen#screen .result .swap-row.small { padding: 8px 0; color: var(--paper-dim); }
/* the same strip in the HUD (the swap loop's compact goal, on the dark plate): small print, no boxes */
#screen#screen #swapHist .swap-chip { border: 0; border-left: 1px solid var(--pr-rule); border-radius: 0; background: none; box-shadow: none; animation: none; }
#screen#screen #swapHist .swap-chip b { font-family: var(--num); font-weight: 700; color: var(--pr-print); }
#screen#screen #swapHist .swap-chip i { font: 400 12px/1.2 var(--pr-face); font-style: normal; letter-spacing: .02em; text-transform: lowercase; color: var(--pr-dim); }
#screen#screen #swapHist .swap-chip.best b { color: #fff; }
#screen#screen #swapHist .swap-best { font: 400 12.5px/1.2 var(--num); color: var(--pr-amber); }

/* ---------- the first solo mix's card: the title, then the grade beside its score (booth.css's .grad-score column, made
   for the set's graduation head, had thrown this card's grade to the far right and its score under it) ---------- */
#screen#screen .grad-card .res-head.grad-score { flex-direction: row; align-items: center; gap: 20px; margin-top: 10px; }
#screen#screen .grad-card .grad-score h2 { font: 700 28px/1 var(--num); letter-spacing: 0; text-transform: none; color: var(--paper-ink); }
/* Save a clip on a card: a key and its line under a hairline, no box of its own */
#screen#screen .result .clip-box { padding: 10px 0 0; border: 0; border-top: 1px solid var(--paper-hair); border-radius: 0; background: none; box-shadow: none; }

/* ---------- the set's cards: the joins as a listing (number, the move, the verdict's words, the score), the recording
   with its sleeve, the energy as ink columns, the +300 as an ink block (the card's one reversed panel) ---------- */
#screen#screen .set-card .set-line { font: 700 16px/1.35 var(--pr-type); letter-spacing: 0; text-transform: none; color: var(--paper-ink); }
#screen#screen .result .set-trs { gap: 0; border-top: 3px solid var(--paper-ink); }
#screen#screen .result .set-tr { padding: 9px 2px 8px; border: 0; border-bottom: 1px solid var(--paper-hair); border-radius: 0; background: none; align-items: center; }
#screen#screen .result .set-tr .st-n { font: 400 13px/1 var(--num); color: var(--paper-dim); }
#screen#screen .result .set-tr .st-move { font: 400 20px/1.05 var(--flyer); letter-spacing: .02em; text-transform: uppercase; color: var(--paper-ink); }
#screen#screen .result .set-tr .st-move::before { width: 6px; height: 16px; border-radius: 0; outline: 1.5px solid var(--paper-ink); }
#screen#screen .result .set-tr .st-word, #screen#screen .result .set-tr[data-q] .st-word { font: 700 14px/1.25 var(--pr-type); letter-spacing: 0; text-transform: lowercase; color: var(--paper-ink); }
#screen#screen .result .set-tr .st-tags { font: 400 12.5px/1.25 var(--pr-face); color: var(--paper-dim); }
#screen#screen .result .set-tr .st-score { font: 700 20px/1 var(--num); letter-spacing: 0; color: var(--paper-ink); }
#screen#screen .result .set-link { padding: 0; border: 0; background: none; font: 700 14px/1.3 var(--pr-type); letter-spacing: 0; color: var(--paper-dim); }
#screen#screen .result .set-link::before, #screen#screen .result .set-link::after { content: none; }
#screen#screen .set-card .set-rec, #screen#screen #resultSlot.slot-set .set-card .set-rec { padding: 12px 0 0; border: 0; border-top: 3px solid var(--paper-ink); border-radius: 0; background: none; box-shadow: none; }
#screen#screen .set-card .set-rec .eyebrow, #screen#screen #resultSlot.slot-set .set-card .set-rec .eyebrow { color: var(--paper-dim); }
#screen#screen #resultSlot.slot-set .set-card .set-rec .eyebrow::before { color: var(--paper-ink); }
#screen#screen .set-rec [data-clip], #screen#screen .result .clip-box .clip-make, #screen#screen .night-card .nc-right .clip-make { border-color: var(--paper-ink); box-shadow: none; color: var(--paper-ink); }
#screen#screen .set-rec [data-clip]::before { content: none; }
#screen#screen .result .set-energy { border-bottom: 3px solid var(--paper-ink); }
#screen#screen .result .set-energy > i { background: rgba(11, 10, 12, .2); box-shadow: inset 0 3px 0 var(--paper-ink); }
#screen#screen .result .set-energy > i > span, #screen#screen .result .set-energy.flat > i > span { font: 400 12px/1 var(--num); color: var(--paper-dim); }
#screen#screen .result .set-energy > i > em { font: 700 12.5px/1 var(--pr-face); color: var(--paper-ink); }
#screen#screen .set-card .sc-acts, #screen#screen #resultSlot.slot-set .set-card .sc-acts { border-top: 3px solid var(--paper-ink); }
#screen#screen .ms-reveal { border: 0; border-radius: 0; background: var(--paper-ink); box-shadow: none; animation: none; }
#screen#screen .ms-reveal::after { content: none; }
#screen#screen .ms-reveal .ms-eyebrow { padding: 0; background: none; box-shadow: none; font: 700 14px/1.2 var(--pr-type); letter-spacing: 0; text-transform: lowercase; color: #cfc8ba; }
#screen#screen .ms-reveal .ms-name { color: var(--paper); text-shadow: none; }
#screen#screen .ms-reveal .ms-pts { font-family: var(--num); font-weight: 700; color: var(--paper); text-shadow: none; }
#screen#screen .ms-reveal .ms-line { font: 400 13px/1.35 var(--pr-face); color: #cfc8ba; }

/* ---------- the night's card: the same stock; the floor's three parts a listing, each with its ink rule (the one that
   cost most said in words and in weight, never amber); the curve drawn in ink; the flyer beside ---------- */
#screen#screen .night-card .nc-hw > .eyebrow { font: 700 14px/1.2 var(--pr-type); letter-spacing: 0; color: var(--paper-dim); }
#screen#screen .night-card h2.nc-sum, #screen#screen .night-card .nc-sum { font: 700 15px/1.4 var(--pr-type); letter-spacing: 0; text-transform: none; color: var(--paper-ink); }
#screen#screen .night-card .nc-ph { font: 700 14px/1.2 var(--pr-type); letter-spacing: 0; color: var(--paper-dim); }
#screen#screen .night-card .nc-ph .fp-name { color: var(--paper-ink); }
#screen#screen .night-card .nc-ph .fp-gloss { font: 400 13px/1.2 var(--pr-face); color: var(--paper-dim); }
#screen#screen .night-card .nc-ph .fp-pts { font-family: var(--num); font-weight: 400; color: var(--paper-dim); }
#screen#screen .night-card .nc-bar { height: 5px; border-radius: 0; background: var(--paper-hair); }
#screen#screen .night-card .nc-bar > i, #screen#screen .night-card .nc-part[data-cost="true"] .nc-bar > i { background: var(--paper-ink); }
#screen#screen .night-card .nc-n, #screen#screen .night-card .nc-part[data-cost="true"] .nc-n { font: 700 20px/1 var(--num); letter-spacing: 0; color: var(--paper-ink); }
#screen#screen .night-card .nc-line { font: 400 14px/1.35 var(--pr-face); color: var(--paper-dim); }
#screen#screen .night-card .nc-part[data-cost="true"] .nc-line { font: 700 14px/1.35 var(--pr-type); color: var(--paper-ink); }
#screen#screen .night-card .nc-part[data-cost="true"] .nc-ph::after { color: var(--paper-ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
#screen#screen .night-card .floor-sum { font-family: var(--num); color: var(--paper-dim); }
#screen#screen .night-card .floor-cap { padding-left: 10px; border-left: 3px solid var(--paper-ink); color: var(--paper-ink); }
#screen#screen .night-card .nc-curve { border: 0; border-top: 3px solid var(--paper-ink); border-radius: 0; background: none; }
#screen#screen .night-card .nc-curve-h { font: 700 14px/1.2 var(--pr-type); letter-spacing: 0; text-transform: lowercase; color: var(--paper-dim); }
#screen#screen .night-card .nc-plot .sb-grid { stroke: var(--paper-hair); }
#screen#screen .night-card .nc-plot .sb-arc { stroke: rgba(11, 10, 12, .2); }
#screen#screen .night-card .nc-plot polyline:not(.sb-arc), #screen#screen .night-card .nc-plot path { stroke: var(--paper-ink); }
#screen#screen .night-card .nc-tn, #screen#screen .night-card .nc-flag { font-family: var(--num); color: var(--paper-dim); }
#screen#screen .night-card .nc-cat { font: 400 13px/1.2 var(--pr-face); letter-spacing: .02em; text-transform: lowercase; color: var(--paper-dim); }
#screen#screen .night-card .nc-more { border-top: 3px solid var(--paper-ink); }
#screen#screen .night-card .nc-more > summary { font: 700 14px/1.2 var(--pr-type); letter-spacing: 0; color: var(--paper-ink); }

/* ====================================================================================================================
   2. THE PAGES
      a page is print: its title in Anton, its sections' labels in the small lower case, its lists as listings (a
      hairline between lines, the state or the number at the end), its sheets square with one hairline. One block of
      violet a page: the page's own main action. A thing every line of a list has (Add, Play, See why) is a key.
   ==================================================================================================================== */
/* ---------- the form: the chevron in the paper's white (it was the old UV), the same in the picker (outside #screen) ---------- */
#screen#screen select, #pickerHost select, #timingCard select { -webkit-appearance: none; appearance: none; min-height: 36px; padding: 0 30px 0 12px; border: 1px solid rgba(var(--pr-warm), .24); border-radius: 3px; background: var(--pr-key) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' fill='none' stroke='%23cfc8ba' stroke-width='1.4'/></svg>") right 10px center / 12px 8px no-repeat; box-shadow: none; color: var(--pr-lit); font: 400 14px/1.3 var(--pr-face); color-scheme: dark; }
#screen#screen select:hover, #pickerHost select:hover { border-color: rgba(var(--pr-warm), .5); }
#screen#screen select:focus-visible, #pickerHost select:focus-visible { outline: 1px solid var(--pr-lit); outline-offset: 0; border-color: var(--pr-lit); box-shadow: none; }
#pickerHost input[type=number], #pickerHost input[type=search], #pickerHost input[type=text] { min-height: 36px; padding: 0 10px; border: 1px solid rgba(var(--pr-warm), .24); border-radius: 3px; background: var(--pr-key); box-shadow: none; color: var(--pr-lit); font: 400 14px/1.3 var(--pr-face); color-scheme: dark; }
#pickerHost input::placeholder { color: #8f8a7f; }
#screen#screen input[type=checkbox]:checked { border-color: var(--pr-paper); background: var(--pr-paper); }
#screen#screen input[type=radio]:checked { border-color: var(--pr-paper); background: none; }
#screen#screen input[type=radio]:checked::after { background: var(--pr-paper); }
#screen#screen input[type=checkbox]:hover, #screen#screen input[type=radio]:hover { border-color: var(--pr-lit); }
/* a range on a page (the Controller test's settings): a rule with a paper cap, as the replay's scrub */
#screen#screen:not(.decks-screen) input[type=range] { -webkit-appearance: none; appearance: none; height: 18px; background: linear-gradient(var(--pr-rule2), var(--pr-rule2)) 0 50% / 100% 2px no-repeat; accent-color: var(--pr-paper); }
#screen#screen:not(.decks-screen) input[type=range]::-webkit-slider-runnable-track { height: 18px; background: none; }
#screen#screen:not(.decks-screen) input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 8px; height: 18px; border: 0; border-radius: 1px; background: var(--pr-paper); box-shadow: 0 0 0 1px #000; }

/* ---------- the keys every line of a list has: never the page's violet ---------- */
#screen#screen .bbtn.primary[data-sb="add"], #screen#screen .bbtn.primary[data-sb="use"], #screen#screen .bbtn.primary[data-sb="playSaved"], #screen#screen .sb-starter .bbtn.primary, #screen#screen .bbtn.primary[data-gset], #screen#screen .bbtn.primary[data-act="exportLib"], #screen#screen .bbtn.primary[data-act="exportProfile"], #screen#screen .bbtn.primary[data-act="cueSwap"], #screen#screen .bbtn.primary[data-act="walkUse"], #pickerHost .bbtn.primary { min-height: 40px; padding: 0 16px; border: 1px solid rgba(var(--pr-warm), .34); border-radius: 3px; background: var(--pr-key); box-shadow: inset 0 -2px 0 rgba(244, 236, 220, .55); color: #fff; font: 400 14px/1.15 var(--pr-face); letter-spacing: .02em; text-transform: lowercase; transform: none; }
#screen#screen .bbtn.sm.primary[data-sb="add"], #screen#screen .bbtn.sm.primary[data-sb="use"], #screen#screen .bbtn.sm.primary[data-sb="playSaved"], #screen#screen .bbtn.sm.primary[data-act="walkUse"] { min-height: 32px; padding: 0 12px; font-size: 13px; }
#screen#screen .bbtn.primary[data-sb="add"]:hover:not(:disabled), #screen#screen .bbtn.primary[data-sb="use"]:hover:not(:disabled), #screen#screen .bbtn.primary[data-sb="playSaved"]:hover:not(:disabled), #screen#screen .sb-starter .bbtn.primary:hover, #screen#screen .bbtn.primary[data-gset]:hover, #screen#screen .bbtn.primary[data-act="exportLib"]:hover, #screen#screen .bbtn.primary[data-act="exportProfile"]:hover, #screen#screen .bbtn.primary[data-act="cueSwap"]:hover, #screen#screen .bbtn.primary[data-act="walkUse"]:hover, #pickerHost .bbtn.primary:hover { border: 1px solid rgba(var(--pr-warm), .6); background: #1b1a19; box-shadow: inset 0 -2px 0 #fff; color: #fff; transform: none; }
#screen#screen .bbtn.primary[data-sb="playSaved"]:disabled { box-shadow: none; color: #8f8a7f; border-color: rgba(236, 235, 228, .12); background: transparent; }

/* ---------- in a dense row (the Library, the crate, the picker) a state stays small print at the line's end (dev only ·
   bundled · house); everywhere else a tag is the look's tape label ---------- */
#screen#screen .trk .tag, #screen#screen .sb-crow .tag, #screen#screen .sb-card .tag, #pickerHost .trk .tag { display: inline; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; transform: none; font: 400 12px/1.3 var(--pr-face); letter-spacing: .04em; text-transform: lowercase; color: var(--pr-dim); }
#screen#screen .trk .tag.ok, #pickerHost .trk .tag.ok { color: var(--pr-print); }
#screen#screen .trk .tag.bad, #screen#screen .trk .tag.err { color: var(--pr-bad); }
#screen#screen .trk .tag.warn, #screen#screen .trk .tag.warnt { color: var(--pr-warn); }
#screen#screen .trk .tag.nexttag { color: var(--pr-lit); }
#screen#screen .lr-tags { gap: 0; }
#screen#screen .lr-tags .tag + .tag::before { content: '\00a0\00b7\00a0'; color: var(--pr-dim); }

/* ---------- Library: a listing ---------- */
#screen#screen .lib-rows { border-top: 2px solid var(--pr-paper); }
#screen#screen .lib-rows .lib-row { padding: 9px 6px; border-bottom: 1px solid var(--pr-rule); border-radius: 0; }
#screen#screen .trk:hover { background: rgba(236, 235, 228, .04); }
#screen#screen .trk.on { background: rgba(236, 235, 228, .06); outline: 0; box-shadow: inset 2px 0 0 var(--pr-lit); }
#screen#screen .lib-row .lr-title { font: 700 15px/1.25 var(--pr-face); color: var(--pr-lit); }
#screen#screen .lib-row .lr-artist { font: 400 13px/1.25 var(--pr-face); color: var(--pr-print); }
#screen#screen .trk .tb, #screen#screen .trk .tk, #screen#screen .trk .tl { font-family: var(--pr-face); font-variant-numeric: tabular-nums; color: var(--pr-lit); }
#screen#screen .trk .tl, #screen#screen .trk .tg { color: var(--pr-dim); }
#screen#screen .trow-more[open] > summary { box-shadow: inset 0 -2px 0 var(--pr-lit); color: #fff; }
#screen#screen .trow-menu { padding: 6px; border: 1px solid var(--pr-rule2); border-radius: 2px; background: #0b0b0a; box-shadow: 0 12px 28px rgba(0, 0, 0, .75); }
#screen#screen .trow-menu .bbtn { justify-content: flex-start; min-height: 34px; padding: 0 10px; text-align: left; white-space: normal; }
#screen#screen .lib-drop { color: var(--pr-dim); }
#screen#screen .lib-detail { border: 0; border-bottom: 2px solid var(--pr-paper); border-radius: 0; background: #080808; box-shadow: none; }
#screen#screen .lib-detail .ld-k { font: 400 12.5px/1.3 var(--pr-face); letter-spacing: .06em; text-transform: lowercase; color: var(--pr-dim); }
#screen#screen .lib-detail .ld-cat { font-family: var(--num); letter-spacing: .04em; color: var(--pr-dim); }
#screen#screen .lib-detail .small.good, #screen#screen .small.good { color: var(--pr-ok); }

/* ---------- Stats: the four figures as one ruled line of read-outs, the techniques a listing ---------- */
#screen#screen .statgrid { gap: 0; border-top: 2px solid var(--pr-paper); border-bottom: 1px solid var(--pr-rule2); }
#screen#screen .statgrid > .panel, #screen#screen .statgrid > .stat { padding: 16px 20px 16px 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
#screen#screen .statgrid > .panel + .panel { padding-left: 20px; border-left: 1px solid var(--pr-rule); }
#screen#screen .stat > :first-child, #screen#screen .stat .eyebrow, #screen#screen .stat h3 { font: 400 12.5px/1.3 var(--pr-face); letter-spacing: .06em; text-transform: lowercase; color: var(--pr-dim); }
#screen#screen .stat b, #screen#screen .stat .big { font: 700 28px/1.1 var(--pr-face); font-variant-numeric: tabular-nums; letter-spacing: -.01em; color: var(--pr-amber); }
#screen#screen .stat i { font: 400 13px/1.3 var(--pr-face); color: var(--pr-dim); }
#screen#screen .techrow { border-bottom: 1px solid var(--pr-rule); }
#screen#screen .techrow .mono, #screen#screen .techrow b { font-family: var(--num); color: var(--pr-lit); }

/* ---------- Recordings: a shelf listing; the catalogue number in mono, never violet ---------- */
#screen#screen .mixrow { border-radius: 0; border-color: var(--pr-rule); background: none; box-shadow: none; }
#screen#screen .mixrow.mix-first, #screen#screen .mixrow.rec-first { background: none; box-shadow: inset 2px 0 0 var(--pr-paper); }
#screen#screen .mixrow .rel-cat, #screen#screen .mixrow .mix-cat, #screen#screen .rel-cat { font: 400 12px/1.3 var(--num); letter-spacing: .06em; color: var(--pr-dim); }
#screen#screen .mixrow b { font: 700 15px/1.3 var(--pr-face); color: var(--pr-lit); }

/* ---------- the toast, the footer, Report a problem, the reload badge (the other-tab note and the unplugged note are the coach part's) ---------- */
.btoast { border: 1px solid var(--pr-rule2); border-left: 3px solid var(--pr-lit); border-radius: 0; background: #0b0b0a; box-shadow: 0 10px 24px rgba(0, 0, 0, .7); color: var(--pr-lit); font: 400 13.5px/1.35 var(--pr-face); letter-spacing: .01em; text-shadow: none; }
.buildbar, .buildbar * { font-family: var(--pr-face); }
/* the footer: one slim line (the look's 32 px key had made it 58 px tall: a night's brief and other one-screen pages scrolled by 20 px for it) */
footer.buildbar { padding-top: 4px; padding-bottom: 6px; }
footer.buildbar .bbtn.report-btn, footer.buildbar #reportBtn.bbtn.ghost.sm { min-height: 0; padding: 2px 8px; font: 400 12.5px/16px var(--pr-face); }
.buildbar #buildBadge { font: 400 12px/1.3 var(--pr-face); letter-spacing: .02em; color: var(--pr-dim); }
.buildbar .report-btn { color: var(--pr-print); }
.buildbar .report-say { font: 400 12.5px/1.3 var(--pr-face); color: var(--pr-lit); }
#reportBox.report-box { border: 1px solid var(--pr-rule2); border-top: 2px solid var(--pr-paper); border-radius: 0; background: var(--pr-sheet); box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .6), 0 18px 40px rgba(0, 0, 0, .72); color: var(--pr-print); }
#reportBox textarea { border: 1px solid rgba(var(--pr-warm), .24); border-radius: 2px; background: #060606; color: var(--pr-lit); font: 400 12px/1.45 var(--num); }

/* ---------- no slashes in front of a heading (the three the look's own reset missed) ---------- */
#screen#screen .panel > .row > h3::before, #screen#screen .keymap h3::before, #screen#screen .lib-empty > h3::before, #keyCard h3::before { content: none; }
#screen#screen .panel > .row > h3, #screen#screen .keymap h3, #screen#screen .lib-empty > h3, #keyCard h3, #pickerHost .picker h3, #screen#screen .browser h3 { font: 700 14px/1.3 var(--pr-type); letter-spacing: .01em; text-transform: lowercase; color: var(--pr-print); text-shadow: none; }

/* ---------- Set mode: the sets as a listing (its name, its line and tracks, its keys at the end), not a grid of boxes ---------- */
#screen#screen .sb-sets, #screen#screen .setcards { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 2px solid var(--pr-paper); }
#screen#screen .sb-sets.sb-buildcol { border-top: 0; }
#screen#screen .setcard { display: grid; grid-template-columns: minmax(180px, 250px) minmax(0, 1fr) auto; column-gap: 24px; row-gap: 4px; align-items: start; padding: 14px 2px 14px; border: 0; border-bottom: 1px solid var(--pr-rule); border-radius: 0; background: none; box-shadow: none; }
#screen#screen .setcard:hover { border-color: var(--pr-rule2); box-shadow: none; }
#screen#screen .setcard > b { grid-column: 1; grid-row: 1; font: 400 22px/1.05 var(--flyer); letter-spacing: .02em; text-transform: uppercase; color: var(--pr-paper); }
#screen#screen .setcard > .small.mono { grid-column: 1; grid-row: 2; font: 400 12.5px/1.35 var(--pr-face); letter-spacing: .01em; color: var(--pr-dim); }
#screen#screen .setcard > .sb-sline, #screen#screen .setcard > .small.muted, #screen#screen .setcard > .small.warn { grid-column: 2; grid-row: 1; font: 700 14px/1.4 var(--pr-type); color: var(--pr-lit); }
#screen#screen .setcard > ol { grid-column: 2; grid-row: 2; margin: 0; padding-left: 22px; font: 400 13px/1.45 var(--pr-face); color: var(--pr-print); }
#screen#screen .setcard > ol b { font-weight: 700; color: var(--pr-lit); }
#screen#screen .setcard > ol .muted { color: var(--pr-dim); }
#screen#screen .setcard > .mn-more { grid-column: 2; grid-row: 3; justify-self: start; margin: 0; color: var(--pr-print); }
#screen#screen .setcard > .row { grid-column: 3; grid-row: 1 / span 3; align-self: center; margin: 0; flex-wrap: nowrap; }
#screen#screen .setcard .bbtn { margin-top: 0; }
/* Build a set: the page's one key thing, so it is the page's one paper card (the violet block on it, an ink edge) */
#screen#screen .setcard.sb-buildcard { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; border: 0; background: var(--paper-tex) 0 0 / 512px 512px, var(--paper); box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .85); color: var(--paper-ink); }
#screen#screen .setcard.sb-buildcard::before { content: ''; position: absolute; z-index: -1; right: 0; bottom: 0; width: min(200px, 70%); aspect-ratio: 1; pointer-events: none; background: var(--paper-ink); opacity: .13; -webkit-mask: var(--halftone) right bottom / 100% 100% no-repeat; mask: var(--halftone) right bottom / 100% 100% no-repeat; }
#screen#screen .setcard.sb-buildcard > b { font-size: 34px; line-height: .95; color: var(--paper-ink); }
#screen#screen .setcard.sb-buildcard > .small.muted { font: 700 14px/1.4 var(--pr-type); color: var(--paper-ink); }
#screen#screen .setcard.sb-buildcard > .row { flex-wrap: wrap; justify-content: flex-start; margin-top: 10px; }
#screen#screen .setcard.sb-buildcard .bbtn.primary { box-shadow: 3px 3px 0 var(--paper-ink); }
#screen#screen .setcard.sb-buildcard .bbtn:not(.primary) { border: 1.5px solid var(--paper-ink); border-radius: 0; background: none; box-shadow: none; color: var(--paper-ink); font: 700 14px/1.15 var(--pr-type); letter-spacing: 0; }
#screen#screen .sb-yours { margin-bottom: 8px; font: 400 13px/1.3 var(--pr-face); letter-spacing: .06em; text-transform: lowercase; color: var(--pr-dim); }
#screen#screen .sb-guidelines { font-style: normal; color: var(--pr-dim); }

/* ---------- the set builder: the crate and the lane as listings; a join's chips are small keys (an LED's colour for a
   warning), never bright boxes; the check and the note are ruled lines on the sheet ---------- */
#screen#screen .sb-guide li { border-color: transparent; border-radius: 0; box-shadow: none; color: var(--pr-dim); }
#screen#screen .sb-guide li[data-state="now"] { border-color: transparent; box-shadow: inset 0 -2px 0 var(--pr-lit); color: #fff; }
#screen#screen .sb-guide li[data-state="done"] { color: var(--pr-print); }
#screen#screen .sb-guide li[data-state="done"] .mono { color: var(--pr-ok); }
#screen#screen .sb-guide.done { border-left: 3px solid var(--pr-lit); background: var(--pr-sheet); }
#screen#screen .sb-briefs .mode.sb-brief.on { border-color: var(--pr-paper); box-shadow: inset 0 2px 0 var(--pr-paper); }
#screen#screen .sb-brief:not(.on) .sb-mini polyline { stroke: #6a665e; }
#screen#screen .sb-brief.on .sb-mini polyline { stroke: var(--pr-paper); }
#screen#screen .sb-crow { border-color: transparent transparent var(--pr-rule); border-radius: 0; background: none; }
#screen#screen .sb-crow:hover { background: rgba(236, 235, 228, .04); }
#screen#screen .sb-crow b, #screen#screen .sb-card .sb-tl b { font-weight: 700; color: var(--pr-lit); }
#screen#screen .sb-crate h5.sb-gh { font: 400 12.5px/1.3 var(--pr-face); letter-spacing: .06em; text-transform: lowercase; color: var(--pr-lit); }
#screen#screen .sb-group[data-empty] h5.sb-gh { color: var(--pr-dim); }
#screen#screen .sb-crate .sb-fits-h { font: 700 14px/1.3 var(--pr-face); letter-spacing: 0; text-transform: none; color: var(--pr-lit); }
#screen#screen .sb-card { border-color: var(--pr-rule2) transparent transparent; border-radius: 0; background: none; }
#screen#screen .sb-card[data-swapme] { border-color: var(--pr-warn); border-style: dashed; }
#screen#screen .sb-n { color: var(--pr-paper); }
#screen#screen .sb-meta, #screen#screen .sb-bpm { font-family: var(--pr-face); font-variant-numeric: tabular-nums; color: var(--pr-print); }
#screen#screen .sb-join::before { background: var(--pr-rule2); }
#screen#screen .sb-join[data-weak]::before { background: var(--pr-warn); }
#screen#screen .sb-join[data-weak] .sb-jlabel { color: var(--pr-warn); }
#screen#screen .sb-join[data-changed] { background: rgba(236, 235, 228, .05); }
#screen#screen .sb-join[data-changed]::before { background: var(--pr-paper); }
#screen#screen .sb-chip { padding: 3px 8px; border: 1px solid rgba(var(--pr-warm), .24); border-radius: 3px; background: var(--pr-key); font: 400 12px/1.3 var(--pr-face); letter-spacing: .02em; color: var(--pr-lit); }
#screen#screen .sb-chip[data-level="ok"] { border-color: rgba(var(--pr-warm), .24); }
#screen#screen .sb-chip[data-level="warn"] { border-color: rgba(242, 234, 120, .55); color: var(--pr-warn); }
#screen#screen .sb-chip[data-level="bad"] { border-color: rgba(240, 72, 77, .7); background: var(--pr-key); color: #ff8f92; }
#screen#screen .sb-chip.mini { padding: 1px 6px; }
#screen#screen .sb-chip:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
#screen#screen .sb-why li::before { background: var(--pr-dim); }
#screen#screen .sb-why li[data-level="warn"]::before { background: var(--pr-warn); }
#screen#screen .sb-why li[data-level="bad"]::before { background: var(--pr-bad); }
#screen#screen .sb-why-top { border-left: 3px solid var(--pr-lit); background: var(--pr-sheet); }
#screen#screen .sb-note { border-left-color: var(--pr-rule2); border-bottom-color: var(--pr-rule); background: #0b0b0a; color: var(--pr-lit); }
#screen#screen .sb-note[data-note="change"] { border-left-color: var(--pr-lit); }
#screen#screen .sb-note[data-note="hint"] { color: var(--pr-dim); }
#screen#screen .sb-foot { border-color: var(--pr-rule2); background: #0b0b0a; }
#screen#screen .sb-check { border-left: 3px solid var(--pr-lit); background: none; }
#screen#screen .sb-ck { font: 400 12.5px/1.3 var(--pr-face); letter-spacing: .06em; text-transform: lowercase; color: var(--pr-dim); }
#screen#screen .sb-cline[data-problem="true"] .sb-ck, #screen#screen .sb-fit[data-ok="false"] .sb-ck { color: var(--pr-warn); }
#screen#screen .sb-fit[data-ok="true"] .sb-ck { color: var(--pr-ok); }
#screen#screen .sb-slot { border-color: var(--pr-rule2); border-radius: 0; color: var(--pr-dim); }
#screen#screen .sb-legend { color: var(--pr-dim); }

/* ---------- the typed voice on the dark pages: the set's one line, the check's sentence, the note (14 px and up) ---------- */
#screen#screen .sb-why-top, #screen#screen .sb-why-top b { font: 700 15px/1.4 var(--pr-type); color: var(--pr-lit); }
#screen#screen .sb-why-top .small, #screen#screen .sb-why-top .muted { font: 400 13px/1.3 var(--pr-face); color: var(--pr-dim); }
#screen#screen .sb-check p { font: 700 14px/1.4 var(--pr-type); color: var(--pr-lit); }
#screen#screen .sb-note { font: 700 14px/1.45 var(--pr-type); }

/* ---------- the nights: the board is the flyers (the print is theirs) with a line of small print under each; a brief
   is typed beside its flyer: the rules under a paper rule, the why a typed line, the crate a listing ---------- */
#screen#screen .nights-board .nb-count { font: 400 13px/1.3 var(--pr-face); letter-spacing: .04em; text-transform: lowercase; color: var(--pr-dim); }
#screen#screen .night .night-n { font: 400 12px/1 var(--pr-face); letter-spacing: .06em; text-transform: lowercase; color: var(--pr-dim); }
#screen#screen .night .night-name { font: 700 15px/1.2 var(--pr-face); color: var(--pr-lit); }
#screen#screen .night .night-mark { font: 400 12px/1.2 var(--pr-face); letter-spacing: .04em; text-transform: none; color: var(--pr-dim); }
#screen#screen .night[data-done="true"] .night-mark { color: var(--pr-ok); }
#screen#screen .night[data-now="true"] .night-n, #screen#screen .night[data-now="true"] .night-mark { color: #fff; }
#screen#screen .night[data-done="false"][data-now="false"] .night-name, #screen#screen .night[data-soon="true"] .night-name, #screen#screen .night[data-soon="true"] .night-mark { color: var(--pr-dim); }
#screen#screen .nb-arc-h { font: 700 14px/1.2 var(--pr-type); letter-spacing: 0; text-transform: lowercase; color: var(--pr-dim); }
#screen#screen .night-brief .nb-arc { border: 0; border-top: 2px solid var(--pr-paper); border-radius: 0; background: none; }
#screen#screen .nb-plot .sb-arc { stroke: rgba(239, 234, 223, .32); }
#screen#screen .nb-plot .nb-ax { font: 400 12px/14px var(--pr-face); color: var(--pr-dim); }
#screen#screen .nb-rules { padding-left: 0; border-left: 0; border-top: 1px solid var(--pr-rule2); padding-top: 8px; }
#screen#screen .nb-rules > li { font: 700 15px/1.35 var(--pr-type); color: var(--pr-lit); }
#screen#screen .nb-why { padding: 8px 0 0; border: 0; border-top: 1px solid var(--pr-rule2); border-radius: 0; background: none; font: 400 14px/1.45 var(--pr-face); color: var(--pr-print); }
#screen#screen .nb-why-k { font: 700 14px/1 var(--pr-type); letter-spacing: 0; text-transform: lowercase; color: var(--pr-dim); }
#screen#screen .night-brief .nb-venue { font: 700 16px/1.35 var(--pr-type); color: var(--pr-lit); }
#screen#screen .night-brief .nb-slot { font: 400 13px/1.3 var(--pr-face); letter-spacing: .02em; color: var(--pr-dim); }
#screen#screen .night-brief .nb-rows > .sb-crow { border-color: transparent transparent var(--pr-rule); border-radius: 0; background: none; }
#screen#screen .night-brief .nb-rows { border-top: 2px solid var(--pr-paper); }
#screen#screen .night-brief .nb-soon { border: 0; border-left: 3px solid var(--pr-warn); border-radius: 0; background: none; color: var(--pr-lit); }

/* ---------- Free mix: the goal on the top bar (nothing under 12 px), the empty-deck card, the browser, the picker ---------- */
#screen#screen #freeGoal, #screen#screen #freeGoal * { font-family: var(--pr-face); text-shadow: none; }
#screen#screen #freeGoal .fg-k, #screen#screen #freeGoal .fg-hide { font-weight: 400; color: var(--pr-dim); }
#screen#screen #freeGoal .fg-n, #screen#screen #freeGoal[data-state="next"] .fg-k, #screen#screen #freeGoal[data-state="done"] .fg-k { color: var(--pr-lit); }
#screen#screen #freeGoal .fg-tick { color: var(--pr-ok); }
#screen#screen #freeGoal .fg-text { color: var(--pr-lit); }
#screen#screen #emptyCard.empty-card { border: 1px solid var(--pr-rule2); border-top: 2px solid var(--pr-paper); border-radius: 0; background: #0b0a0c; box-shadow: 0 18px 40px rgba(0, 0, 0, .72); }
#screen#screen #emptyCard .eyebrow { color: var(--pr-dim); }
#screen#screen .browser { border-radius: 0; }
#screen#screen .browser .bsi { border-radius: 0; font: 400 13px/1.3 var(--pr-face); color: var(--pr-print); }
#screen#screen .browser .bsi.on { background: none; box-shadow: inset 2px 0 0 var(--pr-lit); color: #fff; }
#screen#screen .browser .bsh { font: 400 12.5px/1.3 var(--pr-face); letter-spacing: .06em; text-transform: lowercase; color: var(--pr-dim); }
#screen#screen .browser .nextup { border: 0; border-top: 1px solid var(--pr-rule2); border-bottom: 1px solid var(--pr-rule2); border-radius: 0; background: none; }
#screen#screen .trk.next { background: none; outline: 0; box-shadow: inset 2px 0 0 var(--pr-violet); }
#pickerHost .picker.panel { border: 1px solid var(--pr-rule2); border-top: 2px solid var(--pr-paper); border-radius: 0; background: #0b0a0c; box-shadow: 0 18px 40px rgba(0, 0, 0, .8); }
#pickerHost .pk-group { margin: 14px 0 4px; padding-bottom: 4px; border-bottom: 2px solid var(--pr-paper); font: 700 14px/1.3 var(--pr-type); letter-spacing: 0; text-transform: lowercase; color: var(--pr-lit); }
#pickerHost .trk { border-bottom: 1px solid var(--pr-rule); border-radius: 0; }
#pickerHost .trk .tk, #pickerHost .trk .tb { font-family: var(--pr-face); font-variant-numeric: tabular-nums; color: var(--pr-lit); }
#pickerHost .trk .tg, #pickerHost .trk .tl { color: var(--pr-dim); }
#pickerHost .pk-cell { border-color: var(--pr-rule); border-radius: 0; }
#pickerHost .pk-cell.k-same { border-color: var(--pr-paper); background: rgba(239, 234, 223, .08); }
#pickerHost .pk-cell.k-good { border-color: var(--pr-rule2); }
#pickerHost .pk-cell.k-boost { border-color: var(--pr-warn); }
#pickerHost .pk-mini:hover, #pickerHost .pk-mini:focus-visible { color: #fff; }
#pickerHost .pk-pair { border: 0; border-bottom: 1px solid var(--pr-rule); }

/* ---------- the Controller test, the keys, Settings: sheets of small print; a state on them is an LED's word ---------- */
#screen#screen .keymap kbd, #keyCard kbd { border: 1px solid rgba(var(--pr-warm), .3); border-radius: 3px; background: var(--pr-key); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .6); color: var(--pr-lit); font: 400 12.5px/1.2 var(--pr-face); }
#keyCard.keycard { border: 1px solid var(--pr-rule2); border-top: 2px solid var(--pr-paper); border-radius: 0; background: #0b0a0c; }
#timingCard.timing { border: 1px solid var(--pr-rule2); border-left: 3px solid var(--pr-lit); border-radius: 0; background: #0b0a0c; box-shadow: 0 10px 24px rgba(0, 0, 0, .7); color: var(--pr-lit); }
#timingCard.timing > h3 { font: 700 14px/1.3 var(--pr-type); letter-spacing: 0; text-transform: lowercase; color: var(--pr-lit); }
#timingCard.timing > p { font: 400 13px/1.35 var(--pr-face); color: var(--pr-print); }

/* ---------- the player on a dark page (Recordings): Chrome's own, square and grey, no pill ---------- */
#screen#screen audio { height: 32px; border-radius: 2px; color-scheme: dark; filter: grayscale(1) contrast(.92); }
#screen#screen audio::-webkit-media-controls-enclosure { border-radius: 2px; }
#screen#screen audio::-webkit-media-controls-panel { background: #1b1a19; }
#screen#screen .result audio::-webkit-media-controls-enclosure { border-radius: 0; background: transparent; }
#screen#screen .result audio::-webkit-media-controls-panel { background: transparent; }
/* ---------- a track's sections in Details: a strip of greys (the drop the paper's white), their names small print
   beside a swatch, never coloured pills ---------- */
#screen#screen .secstrip { height: 8px; border-radius: 0; background: var(--pr-rule); }
#screen#screen .secstrip i.sec-intro, #screen#screen .secstrip i.sec-outro { background: #4b4842; }
#screen#screen .secstrip i.sec-build { background: #8f8a7f; }
#screen#screen .secstrip i.sec-main { background: #bbb4a6; }
#screen#screen .secstrip i.sec-breakdown { background: #6a665e; }
#screen#screen .secstrip i.sec-drop { background: var(--pr-paper); }
#screen#screen .secname { padding: 0; border-radius: 0; background: none; font-weight: 700; color: var(--pr-lit); }
#screen#screen .secname::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 5px; background: #4b4842; }
#screen#screen .secname.sec-build::before { background: #8f8a7f; }
#screen#screen .secname.sec-main::before { background: #bbb4a6; }
#screen#screen .secname.sec-breakdown::before { background: #6a665e; }
#screen#screen .secname.sec-drop::before { background: var(--pr-paper); }

/* ---------- the set builder in a short window (720 high): the curve and the steps a little shorter, so Play this set
   is in the window (design-check --layout's row) ---------- */
@media (max-height: 760px) {
  #screen#screen .sb-plot { height: 50px; }
  #screen#screen .sb-guide { margin-bottom: 6px; }
}
/* ---------- Knob School's card (#ksCard in #ksBox): the same paper; this round's line is said in weight and a rule,
   never an LED's green ---------- */
#screen#screen .ks-card .ft-lead { color: var(--paper-ink); }
#screen#screen .ks-card .res-scores { padding: 0; border-bottom: 0; }
#screen#screen .ks-card .res-scores > div { color: var(--paper-dim); }
#screen#screen .ks-card .res-scores > div > b { color: var(--paper-ink); }
#screen#screen .ks-card .res-scores > div[data-now] { padding-left: 10px; box-shadow: inset 4px 0 0 var(--paper-ink); color: var(--paper-ink); }
#screen#screen .ks-card .res-scores > div[data-now] > b, #screen#screen .ks-card .res-scores > div[data-boosts]:not([data-boosts="0"]) > b { color: var(--paper-ink); }
#screen#screen .ks-card .coach-card div.coach-k { display: block; width: auto; margin-top: 6px; color: var(--paper-dim); }
#screen#screen .ks-card .coach-card p { text-indent: 0; }
#screen#screen .ks-card .coach-xp { color: var(--paper-dim); }

/* ====================================================================================================================
   #REEL AND #STUDIO (Part 3's pages)
   (built as the working partial look-part-reel.css, folded in here unchanged, in the order they were linked)
   ==================================================================================================================== */

/* ====================================================================================================================
   DEAN'S OWN PAGES: #reel (the export chooser) and #studio (the pair, the moments, the takes, the take screen's cheat
   sheet). docs/LOOK.md: print on the dark base, the typed voice for labels and lines (Courier Prime bold, 14 px and
   up), B612 for the dense rows, listings before boxes, the one purple only for what's next. The cheat sheet (Dean's
   screen only, never in a clip) is a paper card with typed steps. Display only: no word, id or behaviour changes (the
   checks read textContent, which a text-transform never touches).
   ==================================================================================================================== */

/* ---------- #reel: the takes, the presets, the three groups of tick boxes, the count, the preview ---------- */
#screen .reel-list { gap: 0; margin: 0 0 16px; border-top: 2px solid var(--pr-paper); }
#screen .reel-list > li { padding: 9px 0; border-bottom: 1px solid var(--pr-rule); font: 400 14px/1.4 var(--pr-face); color: var(--pr-print); }
#screen .reel-list > li b { font: 700 15px/1.3 var(--pr-type); color: var(--pr-lit); }
#screen .reel-list > li .mono { font: 700 13px/1.3 var(--num); letter-spacing: .04em; color: var(--pr-lit); }
#screen .reel-list > li .small { font: 400 13px/1.4 var(--pr-face); color: var(--pr-dim); }
#screen .reel-presets { gap: 10px; margin: 10px 0 16px; }
#screen .reel-presets [aria-pressed="true"] { box-shadow: inset 0 -3px 0 var(--pr-lit); }             /* a key that is on: a line of light along its foot */
#screen .reel-presets .bbtn.primary[aria-pressed="true"] { box-shadow: 3px 3px 0 var(--pr-paper); }  /* the one violet block keeps its edge */
#screen .reel-groups { gap: 18px 28px; }
#screen .reel-g { border: 0; border-top: 2px solid var(--pr-paper); border-radius: 0; padding: 10px 0 0; min-width: 0; }
#screen .reel-g > legend { padding: 0 10px 0 0; font: 700 14px/1.2 var(--pr-type); letter-spacing: .01em; text-transform: lowercase; color: var(--pr-lit); }
#screen .reel-tick { padding: 6px 0; border-bottom: 1px solid var(--pr-rule); font: 400 14px/1.4 var(--pr-face); color: var(--pr-print); }
#screen .reel-tick:last-child { border-bottom: 0; }
#screen .reel-tick b { font-weight: 700; color: var(--pr-lit); }
#screen .reel-tick .small { font-size: 13px; color: var(--pr-dim); }
#screen .reel-tick[data-off="true"] { opacity: 1; }
#screen .reel-tick[data-off="true"] b { color: var(--pr-dim); text-decoration: line-through; text-decoration-thickness: 1px; }
#screen .reel-tick[data-off="true"] input { opacity: .4; }
#screen .reel-why { margin: 2px 0 0 22px; font: 700 14px/1.35 var(--pr-type); color: var(--pr-amber); }   /* why it is left out: typed, a read-out's amber */
#screen .reel-tag-pick { max-width: 100%; }
#screen .reel-acts { gap: 16px; margin: 20px 0 6px; padding-top: 14px; border-top: 2px solid var(--pr-paper); }
#screen .reel-count { font: 700 15px/1.4 var(--pr-type); color: var(--pr-print); }
#screen .reel-count b { color: var(--pr-lit); }
#screen #reelSay { font: 700 14px/1.4 var(--pr-type); color: var(--pr-print); min-height: 20px; }
#screen .reel-prev { margin: 16px 0; padding-top: 12px; border-top: 1px solid var(--pr-rule); }
#screen .reel-prev label { font: 700 14px/1.3 var(--pr-type); text-transform: lowercase; color: var(--pr-print); }
#screen .reel-pv-out { gap: 16px; margin-top: 12px; }
#screen .reel-pv-out canvas, #screen .reel-pv-out video { background: #0b0a0c; border: 0; box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .85), 0 0 0 1px var(--pr-rule); }
#screen .reel-made { max-height: 220px; padding-left: 26px; font: 400 13px/1.5 var(--pr-face); color: var(--pr-print); }

/* ---------- #studio: the pair, the top three, the takes ---------- */
#screen .st-pair { gap: 16px; margin: 12px 0 18px; }
#screen .st-deck { gap: 6px; font: 700 14px/1.3 var(--pr-type); text-transform: lowercase; color: var(--pr-print); }
#screen .st-deck select { text-transform: none; }
/* the moments: a listing (one line a moment, a paper rule at its head, hairlines between; no boxes) */
#screen .st-moments { gap: 0; border-top: 2px solid var(--pr-paper); }
#screen .st-moment { border: 0; border-bottom: 1px solid var(--pr-rule); border-radius: 0; padding: 12px 0 14px; }
#screen .st-moment[data-picked="true"] { border-color: var(--pr-rule); box-shadow: inset 4px 0 0 var(--pr-paper); padding-left: 16px; }
#screen .st-m-head { gap: 12px; font: 700 16px/1.3 var(--pr-type); color: var(--pr-lit); }
#screen .st-m-head .small { font: 400 13px/1.3 var(--pr-face); letter-spacing: .02em; text-transform: lowercase; color: var(--pr-dim); }
#screen .st-m-n { min-width: 22px; font: 400 30px/.9 var(--flyer); letter-spacing: 0; color: var(--pr-paper); }
#screen .st-moment[data-picked="true"] .st-m-n { color: var(--pr-violet); }                        /* the one that is next: its number in the purple */
#screen .st-why { margin: 6px 0 10px; font: 700 14px/1.4 var(--pr-type); color: var(--pr-print); }
#screen .st-own, #screen .st-routine { margin: 20px 0 8px; }
#screen .st-ownbox input[type=number] { width: 72px; font: 700 15px/1 var(--num); }
#screen .st-warns { margin: 0 0 12px; }
#screen .st-len { gap: 10px; margin: 10px 0; }
#screen .st-len-note, #screen .st-keys, #screen .st-none { font: 700 14px/1.4 var(--pr-type); color: var(--pr-dim); }
/* the takes: a listing; the best take lit, its word a tape label */
#screen .st-takes { gap: 0; margin: 8px 0 0; border-top: 2px solid var(--pr-paper); }
#screen .st-take { gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--pr-rule); font: 400 14px/1.3 var(--pr-face); color: var(--pr-print); }
#screen .st-take > b.mono { font: 700 14px/1.3 var(--pr-type); text-transform: lowercase; color: var(--pr-print); }
#screen .st-take > .mono, #screen .st-leg { font: 700 13px/1.3 var(--num); letter-spacing: .04em; }
#screen .st-take[data-best="true"], #screen .st-take[data-best="true"] > b.mono { color: var(--pr-lit); }
#screen .st-take[data-verdict="clean"] > .mono, #screen .st-leg[data-verdict="clean"] { color: var(--pr-lit); }
#screen .st-best { display: inline-block; padding: 3px 8px 2px; background: var(--paper-tex) 0 0 / 256px 256px, var(--paper); box-shadow: 0 1px 0 rgba(0, 0, 0, .45); font: 700 12.5px/1.2 var(--pr-type); text-transform: lowercase; color: var(--paper-ink); transform: rotate(-1deg); }
#screen .st-shoot { gap: 10px; margin: 6px 0 8px; }

/* the take screen: the corner's toggle, quiet print */
.st-corner { color: var(--pr-dim); font: 400 16px/1 var(--pr-face); }
.st-corner.on, .st-corner:focus-visible { opacity: .8; }

/* ---------- the cheat sheet (Dean's screen only): a paper card, the step typed, its moment a stamp ---------- */
body .st-cheat { width: min(410px, 31vw); padding: 14px 18px 18px; border: 0; border-radius: 0; background: var(--paper-tex) 0 0 / 512px 512px, var(--paper); color: var(--paper-ink); box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .85); }
body .st-cheat::after { content: ''; position: absolute; right: 0; bottom: 0; width: 150px; height: 150px; pointer-events: none; background: var(--paper-ink); opacity: .14; -webkit-mask: var(--halftone) right bottom / 100% 100% no-repeat; mask: var(--halftone) right bottom / 100% 100% no-repeat; }
body .st-cheat .sc-head { gap: 8px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 3px solid var(--paper-ink); font: 700 14px/1.2 var(--pr-type); text-transform: lowercase; color: var(--paper-dim); }
body .st-cheat .sc-head b { font: 400 34px/.92 var(--flyer); letter-spacing: .01em; text-transform: uppercase; color: var(--paper-ink); }
body .st-cheat .sc-now, body .st-cheat .sc-now[data-kind="swap"], body .st-cheat .sc-now[data-state="wait"] { position: relative; padding: 2px 0 10px; border-left: 0; background: none; }
body .st-cheat .sc-when { display: inline-block; margin: 2px 0 2px -1px; padding: 2px 8px 0; border: 2px solid currentColor; font: 400 15px/1.25 var(--flyer); letter-spacing: .04em; color: var(--paper-dim); transform: rotate(-2deg); }
body .st-cheat .sc-now[data-state="soon"] .sc-when, body .st-cheat .sc-now[data-state="now"] .sc-when { color: var(--pr-violet-paper); }   /* its moment: a stamp in the purple, on paper */
body .st-cheat .sc-hand { margin: 10px 0 0; padding: 2px 0 2px 10px; border-left: 4px solid var(--pr-violet-paper); font: 800 22px/1.25 var(--pr-type); color: var(--paper-ink); letter-spacing: 0; }   /* feature/film-mode: what the hands do, the biggest line (Main's markup, the paper's ink) */
body .st-cheat .sc-text { margin: 8px 0 10px; font: 700 21px/1.3 var(--pr-type); color: var(--paper-ink); }
body .st-cheat .sc-hand ~ .sc-text { font-size: 16px; }
body .st-cheat .sc-now[data-state="wait"] .sc-text { color: var(--paper-dim); }
body .st-cheat .sc-prog { height: 6px; background: var(--paper-hair); }
body .st-cheat .sc-prog i { background: var(--paper-ink); }
body .st-cheat .sc-now[data-kind="swap"] .sc-prog i { background: var(--pr-violet-paper); }
body .st-cheat .sc-next { margin-top: 12px; padding-top: 8px; border-top: 2px solid var(--paper-ink); font: 700 14px/1.2 var(--pr-type); text-transform: lowercase; color: var(--paper-dim); }
body .st-cheat .sc-next p { margin: 4px 0 0; font: 700 15px/1.35 var(--pr-type); text-transform: none; color: var(--paper-dim); }

/* ====================================================================================================================
   THE HEADER'S STATUS, THE ONE FOLD, THE FOOTER (Parts 4 and 5)
   (built as the working partial look-part-shell.css, folded in here unchanged, in the order they were linked)
   ==================================================================================================================== */

/* ====================================================================================================================
   THE HEADER: the controller's status is one short line (booth-midi's STATUS_SHORT, under 40 characters), whatever it
   says; the full sentence is on a small sheet one click away (#connMore: booth-look.js opens it; Escape closes it) and
   in the title. The header's row never moves or wraps.
   ==================================================================================================================== */
body .bh .conn #connText, body .bh .conn.busy #connText, body .bh .conn.denied #connText, body .bh .conn.unsupported #connText {
  display: block; -webkit-line-clamp: none; -webkit-box-orient: initial; appearance: none; -webkit-appearance: none; flex: none; width: auto; min-width: 0; max-width: clamp(150px, 20.5vw, 300px); max-height: none; height: 16px;
  margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-align: left;
  font: 400 12.5px/16px var(--pr-face); letter-spacing: .01em; text-transform: none; color: var(--pr-print); cursor: default;
}
body .bh .conn[data-more="true"] #connText { color: var(--pr-lit); cursor: pointer; text-decoration: underline dotted rgba(236, 235, 228, .5); text-underline-offset: 3px; }
body .bh .conn[data-more="true"] #connText:hover, body .bh .conn #connText[aria-expanded="true"] { color: #fff; text-decoration-color: var(--pr-lit); }
body .bh .conn #connText:focus { outline: none; }
body .bh .conn #connText:focus-visible { outline: 1px solid var(--pr-lit); outline-offset: 4px; }
/* the sheet: print on near-black, one hairline, square; it hangs under the header and takes no room in it */
body .bh .conn .conn-more { position: absolute; top: calc(100% + 9px); right: 0; z-index: 40; display: block; box-sizing: border-box; width: min(360px, calc(100vw - 32px)); margin: 0; padding: 11px 14px 12px; background: var(--pr-sheet); border: 1px solid var(--pr-rule2); border-radius: 0; box-shadow: 0 10px 28px rgba(0, 0, 0, .7); font: 400 13px/19px var(--pr-face); letter-spacing: .01em; text-transform: none; white-space: normal; color: var(--pr-lit); }
body .bh .conn .conn-more[hidden] { display: none; }

/* ====================================================================================================================
   THE BOOTH: ONE FOLD (design/look-v2-default; booth-freegoal.js's FOLD, the key is booth-play's markup).
   The folded groups are on the body, body[data-folded="pads fx loops deck"]:
     deck   each deck's START, Q, SLIP and its nudge row (nudge, the grid, the click)
     pads   the pad modes and the pads        fx   the decks' FX rows and the mixer's FX 1-4 strip        loops   the loop rows
   A lit control (.is-needed) is never hidden; while a lesson's focus mode is on (body.focus) focus mode folds its own way
   (booth.css's [data-focus="hide"]) and only START waits behind the fold; the key is away there.
   ==================================================================================================================== */
/* the one fold */
body[data-folded~="deck"] #screen .decks3 .deckp .dbtns .tbtn[data-b$=".start"]:not(.is-needed) { display: none; }
body[data-folded~="deck"]:not(.focus) #screen .decks3 .deckp .dbtns .tbtn[data-b$=".quant"]:not(.is-needed), body[data-folded~="deck"]:not(.focus) #screen .decks3 .deckp .dbtns .tbtn[data-b$=".slip"]:not(.is-needed) { display: none; }
body[data-folded~="deck"]:not(.focus) #screen .decks3 .deckp > .drow { display: none; }
body[data-folded~="pads"]:not(.focus) #screen .decks3 .deckp > .pm, body[data-folded~="pads"]:not(.focus) #screen .decks3 .deckp > .hot { display: none; }
body[data-folded~="fx"]:not(.focus) #screen .decks3 .deckp > .fxrow, body[data-folded~="fx"]:not(.focus) #screen .decks3 .mixer > .cfx { display: none; }
body[data-folded~="loops"]:not(.focus) #screen .decks3 .deckp > .loops { display: none; }
/* the key: one, in the mixer, left of the crossfader (the crossfader's own note is at its right): small print on a key's
   face that names what is folded, two or three short lines in the row the crossfader already has, so it is on screen
   wherever the crossfader is (under the crossfader it fell off a 1280×800 Set mode); the FX 1-4 strip is row 3. */
body.focus #screen .decks3 .mixer > .fold-more { display: none; }
#screen .decks3 .mixer > .fold-more { grid-column: 1; grid-row: 2; align-self: center; justify-self: start; display: block; width: auto; max-width: 100%; min-height: 0; margin: 0; padding: 1px 8px 2px; overflow: visible; white-space: normal; text-overflow: clip; text-align: left; font: 400 12px/13px var(--pr-face); letter-spacing: .01em; text-transform: lowercase; color: var(--pr-dim); }
#screen .decks3 .mixer > .fold-more:hover, #screen .decks3 .mixer > .fold-more:focus-visible { color: var(--pr-lit); }
#screen .decks3 .mixer > .fold-more .fg-end { white-space: nowrap; }
#screen .decks3 .mixer > .fold-more .fg-key { margin-left: 2px; font: 400 12px/13px var(--pr-face); color: var(--pr-print); }

/* ====================================================================================================================
   THE FOOTER: the build line and Report a problem are small print in the dimmest colour the look allows; booth.css
   also faded the whole bar to 60% on Home and the deck screens, which took them to 3.3-4.0:1 (design-look-print.js).
   The print's own dim colour is the quiet: no fade on top of it.
   ==================================================================================================================== */
body.home .buildbar, body[data-screen="free"] .buildbar, body[data-screen="play"] .buildbar { opacity: 1; }

/* ---------- Words (the glossary): a listing on the dark base, no box (docs/LOOK.md rule 9): the term lit, a hairline between ---------- */
body #screen#screen > section.panel:has(> dl.glossary) { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
body #screen#screen dl.glossary { gap: 0; border-top: 2px solid var(--pr-paper); }
body #screen#screen dl.glossary > dd { padding-left: 24px; }
body #screen#screen dl.glossary > dt, body #screen#screen dl.glossary > dd { margin: 0; padding: 8px 0 7px; border-bottom: 1px solid var(--pr-rule); }
body #screen#screen dl.glossary > dt { color: var(--pr-lit); }

/* ---------- the lanes' zoom keys sit inside the 22 px legend: the look's 32 px key height would be cut by it ---------- */
body.decks-on #screen.decks-screen > .wv-legend .wv-zoom .bbtn.sm, #screen.decks-screen > .wv-legend .wv-zoom .bbtn.sm { min-height: 0; height: 20px; padding: 0 8px; line-height: 18px; }

/* ---------- the deep room: the plate's small dim print over the light (the tempo fader's "(left slower, right faster)") gets its own
   solid ground, as the legend has: the look's quiet print is dimmer than the old labels the under-light was capped for ---------- */
body.room-deep #screen .decks3 .muted.tiny, body.room-deep #screen .decks3 .tiny { background: #0b0a0c; padding: 0 4px; border-radius: 0; color: var(--pr-lit); }

/* ---------- Home before Chapter 1 is done, with the Challenges open: the same one-line listing as the returning Home (it was the
   old boxed tiles, purple stage numbers, text running out of them), under the continue card in its column ---------- */
@media (min-width: 1000px) {
  body.home.day-one #screen#screen[data-route="menu"] #challengesCard.challenges { --hl-name: 120px; --hl-h: 40px; margin-top: 14px; border-top: 2px solid var(--pr-paper); grid-template-columns: var(--hl-name) minmax(0, 1fr); }
  body.home.day-one #screen#screen[data-route="menu"] #challengesCard > p.small { grid-column: 2; margin: 4px 0 0; }
}
@media (min-width: 1000px) {
  body.home #screen#screen[data-route="menu"] #challengesCard .ch-tile[data-new="true"] { position: relative; border: 0; box-shadow: none; }
  body.home #screen#screen[data-route="menu"] #challengesCard .ch-tile[data-new="true"]::after { position: static; order: 9; margin-left: 2px; padding: 1px 6px 0; border: 1px solid currentColor; background: none; color: var(--pr-amber); font: 400 12px/1.3 var(--pr-face); text-transform: lowercase; }
}

/* ---------- the print check's last few (design-look-print.js, 19 Nov) ---------- */
/* an out-soon night already prints in the quiet colour: booth.css's [data-soon] fade on top took it under 4.5:1 */
#screen .nights .night[data-soon], #screen .nights-row .night[data-soon], #screen #nightBoard .night[data-soon] { opacity: 1; }
/* Your first set's track number over its sleeve: its own dark ground */
#screen#screen .set-build .sb-track > .sb-n:not(.slv):not(.sb-genre) { background: #0b0a0c; padding: 0 6px; }
/* a night's card is paper: its recording's Download key and its catalogue line in ink */
#screen#screen .night-card .nc-rec a.bbtn.ghost, #screen#screen .night-card .set-rec a.bbtn.ghost { color: var(--paper-ink); text-decoration-color: var(--paper-ink); }
#screen#screen .night-card .nc-cat { color: var(--paper-ink); }
/* Report a problem sits over the plate's edge on the deck screens: its own solid ground */
body.decks-on footer.buildbar #reportBtn { background: #0b0a0c; }
/* Knob School's card: the halftone corner lighter, so the rows' numbers that run into it keep 4.5:1 */
body #screen#screen #ksBox #ksCard.ks-card::before, body #screen#screen #ksBox #ksCard.ks-card::after { opacity: .08; }
/* Your first set (2.3): the goal in the print (it kept the old sans box): a 2 px rule over it, the goal typed, 70+ an Anton count; the track numbers on their own ground */
#screen#screen .set-build > .goal-box.stage-goal { padding: 8px 0 6px; border: 0; border-top: 2px solid var(--pr-paper); border-bottom: 1px solid var(--pr-rule2); border-radius: 0; background: none; box-shadow: none; }
#screen#screen .set-build > .goal-box.stage-goal .goal-line { font: 700 14px/1.3 var(--pr-type); text-transform: lowercase; color: var(--pr-dim); }
#screen#screen .set-build > .goal-box.stage-goal .goal-line b { display: block; font: 700 17px/1.3 var(--pr-type); text-transform: none; color: var(--pr-lit); }
#screen#screen .set-build > .goal-box.stage-goal .goal-count { font: 400 22px/1.1 var(--flyer); letter-spacing: .02em; color: var(--pr-paper); }
#screen#screen .set-build > .goal-box.stage-goal :is(.goal-what, .goal-next) { font: 700 14px/1.35 var(--pr-type); color: var(--pr-dim); }
#screen#screen .set-build > .goal-box.stage-goal .goal-next b { font-family: var(--pr-type); color: var(--pr-lit); }
#screen#screen .set-build .sb-track > .sb-n:not(.slv):not(.sb-genre) { width: auto; height: auto; min-width: 0; line-height: 1.15; padding: 1px 6px 0; }
#screen#screen .night-card .clip-box .bbtn.clip-make { background: none; border: 1.5px solid var(--paper-ink); color: var(--paper-ink); box-shadow: none; }
#screen#screen .night-card .clip-box .bbtn.clip-make:hover:not(:disabled) { background: var(--paper-ink); color: var(--paper); }
/* a stage card's two choices are the same height (the violet block has no border, the ink key a 1.5 px one) */
#screen#screen .kn-card :is(.coach-retry, .kn-next) .bbtn:not(.ghost) { box-sizing: border-box; min-height: 42px; height: 42px; }

/* ---------- the light rig strip is gone (Dean, 19 Nov): the thin band of lamps under the header on every deck screen (#club,
   Main's canvas, kept in the markup and folded to nothing so the screens' grids keep their rows) and the menus' 4 px line of
   fixtures (#lightsStrip: booth-lights.js no longer makes it). The room's light behind the decks stays (#lightsBg). Its height
   goes back to the lanes: a lesson's lanes fit what's left by themselves (lanes-fit); Free mix's formula gives back the 18 px
   the strip and its margin took. The crowd's bar and "Try Hints?" have their own homes (below). ---------- */
#screen > canvas#club.club { height: 0; min-height: 0; margin: 0; border: 0; padding: 0; visibility: hidden; }
@media (min-width: 1000px) {
  html body .screen.decks-screen:not(.decks-hud) .wf { height: clamp(104px, calc((100vh - 468px) / 2), 250px); }
}
@media (min-width: 1000px) and (min-height: 980px) {
  html body .screen.decks-screen:not(.decks-hud) .wf { height: clamp(104px, calc((100vh - 468px) / 2), 236px); }
}
/* the crowd's meter (booth-lights.js #crowdMeter) in the header's empty middle on a deck screen: a slim bar in the room's
   colour and the crowd's word in small print. "Try Hints?" (Free mix's #hintStep, once in a while) sits in its own row
   under the top bar, at the left (it lived over the strip's left end) */
#crowdMeter.crowd-meter { position: fixed; top: 0; left: 50%; z-index: 41; height: 47px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; pointer-events: none; font: 400 12.5px/1 var(--pr-face); color: var(--pr-dim); white-space: nowrap; }
#crowdMeter.crowd-meter[hidden], body:not(.decks-on) #crowdMeter.crowd-meter, body.studio-clean #crowdMeter.crowd-meter { display: none; }
#crowdMeter .cm-k { color: var(--pr-dim); }
#crowdMeter .cm-bar { position: relative; width: 120px; height: 4px; overflow: hidden; background: rgba(236, 235, 228, .14); }
#crowdMeter .cm-bar > i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--e, 0)); background: var(--cm, var(--pr-paper)); }
#crowdMeter .cm-w { min-width: 9.5em; color: var(--pr-print); }
@media (max-width: 999px) { #crowdMeter.crowd-meter { display: none; } }
@media (min-width: 1000px) {
}
/* "Try Hints?" (Free mix's #hintStep): the left 216 px of the instruction row (Guided's step keeps 220 px clear each side;
   the guide's words take the right), two or three lines of small print, the key inline: nothing moves when it comes */
@media (min-width: 1000px) {
  body.decks-on #screen.decks-screen:not(.decks-hud) > #hintStep:not(:empty) { grid-row: 3; grid-column: 1 / -1; justify-self: start; align-self: center; position: static; top: auto; left: auto; right: auto; transform: none; z-index: 2; width: 216px; max-width: 216px; margin: 0; padding: 0; }
  body.decks-on #screen.decks-screen:not(.decks-hud) > #hintStep > .hint-step { display: block; height: auto; margin: 0; padding: 0; border: 0; background: none; white-space: normal; font: 400 12px/14px var(--pr-face); color: var(--pr-lit); opacity: 1; animation: none; }
  body.decks-on #screen.decks-screen:not(.decks-hud) > #hintStep > .hint-step .bbtn { display: inline-block; min-height: 0; height: 18px; margin: 0 0 0 4px; padding: 0 7px; font: 400 12px/16px var(--pr-face); color: var(--pr-lit); border: 1px solid var(--pr-rule2); vertical-align: baseline; }
}

/* ====================================================================================================================
   THE TRICKS PAGE (fix/before-shoot, QA Q7-m7): it was still the pre-look dark boxes. Each trick is a paper card (the
   recipe: the stock, a halftone at the corner, a soft black shadow, square), its name in Anton, its line typed, its
   levels a ruled listing (a line each, hairlines between, the number in Anton at the start, the state and the key at the
   end, no boxes). Purple only for the one next thing: the level marked next has its number in the paper's violet and its
   key the violet block; every other key an ink outline; a level not open yet is quieter and its key says "watch".
   Display only (booth-tricks.js's markup: .trick, .trick-levels > .trick-level[data-open][data-state][data-now]).
   ==================================================================================================================== */
body #screen#screen#screen section.panel.trick { position: relative; isolation: isolate; overflow: hidden; margin: 0 0 22px; padding: 26px 32px 22px; border: 0; border-radius: 0; background: var(--paper-tex) 0 0 / 512px 512px, var(--paper); color: var(--paper-ink); box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .85); }
body #screen#screen#screen section.panel.trick::before { content: none; }
body #screen#screen#screen section.panel.trick::after { content: ''; position: absolute; z-index: -1; right: 0; bottom: 0; width: 220px; height: 220px; pointer-events: none; background: var(--paper-ink); opacity: .16; -webkit-mask: var(--halftone) right bottom / 100% 100% no-repeat; mask: var(--halftone) right bottom / 100% 100% no-repeat; }
body #screen#screen#screen section.panel.trick > h2.sc-h { margin: 0 0 6px; padding: 0; border: 0; font: 400 clamp(34px, 4.2vw, 46px)/.95 var(--flyer); letter-spacing: .005em; text-transform: uppercase; color: var(--paper-ink); }
body #screen#screen#screen section.panel.trick > h2.sc-h::before, body #screen#screen#screen section.panel.trick > h2.sc-h::after { content: none; }
body #screen#screen#screen section.panel.trick > p.small { margin: 0 0 14px; max-width: 60ch; font: 700 15px/1.4 var(--pr-type); color: var(--paper-ink); }
body #screen#screen#screen section.panel.trick .trick-levels { display: block; margin: 0; padding: 0; border-top: 3px solid var(--paper-ink); }
body #screen#screen#screen section.panel.trick .trick-level { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto auto; align-items: center; gap: 16px; min-height: 52px; padding: 6px 0; border: 0; border-bottom: 1px solid var(--paper-hair); border-radius: 0; background: none; box-shadow: none; }
body #screen#screen#screen section.panel.trick .trick-level:last-child { border-bottom: 3px solid var(--paper-ink); }
body #screen#screen#screen section.panel.trick .trick-level .tl-n { font: 400 30px/1 var(--flyer); color: var(--paper-ink); }
body #screen#screen#screen section.panel.trick .trick-level[data-lead="true"] .tl-n { color: var(--pr-violet-paper); }
body #screen#screen#screen section.panel.trick .trick-level .tl-name { font: 700 15px/1.35 var(--pr-type); color: var(--paper-ink); }
body #screen#screen#screen section.panel.trick .trick-level .tl-name b { font: 400 21px/1 var(--flyer); letter-spacing: .01em; text-transform: uppercase; color: var(--paper-ink); margin-right: 2px; }
body #screen#screen#screen section.panel.trick .trick-level[data-open="false"] .tl-n, body #screen#screen#screen section.panel.trick .trick-level[data-open="false"] .tl-name, body #screen#screen#screen section.panel.trick .trick-level[data-open="false"] .tl-name b { color: var(--paper-dim); }
body #screen#screen#screen section.panel.trick .trick-level .tl-best { font: 400 14px/1.2 var(--num, var(--mono)); color: var(--paper-ink); white-space: nowrap; }
body #screen#screen#screen section.panel.trick .trick-level[data-state="done"] .tl-best::before { content: '✓ '; }
body #screen#screen#screen section.panel.trick .trick-level .tl-mark { font: 700 14px/1.3 var(--pr-type); text-transform: lowercase; color: var(--paper-dim); white-space: nowrap; }
body #screen#screen#screen section.panel.trick .trick-level .tl-acts .bbtn { min-width: 84px; justify-content: center; text-align: center; }
body #screen#screen#screen section.panel.trick .bbtn.primary { border: 0; border-radius: 0; background: var(--pr-violet); box-shadow: 3px 3px 0 var(--paper-ink); color: var(--paper-ink); font: 400 17px/1 var(--flyer); letter-spacing: .03em; text-transform: uppercase; animation: none; }
body #screen#screen#screen section.panel.trick .bbtn.primary:hover { background: #b48dff; box-shadow: 4px 4px 0 var(--paper-ink); }
body #screen#screen#screen section.panel.trick .bbtn:not(.primary) { border: 1.5px solid var(--paper-ink); border-radius: 0; background: none; box-shadow: none; font: 700 14px/1.15 var(--pr-type); text-transform: lowercase; color: var(--paper-ink); }
body #screen#screen#screen section.panel.trick .bbtn:not(.primary):hover { background: var(--paper-ink); color: var(--paper); }
body #screen#screen#screen section.panel.trick :focus-visible { outline: 2px solid var(--paper-ink); outline-offset: 2px; }
body #screen#screen#screen .tricks-after { max-width: 70ch; }
/* a level's card (#trickIntro, a paper .ft-intro): "On your …" typed in the paper's quiet ink, its moves a ruled listing */
body #screen#screen#screen .trick-intro h3.sect { margin: 14px 0 4px; padding: 0; border: 0; font: 700 14px/1.3 var(--pr-type); letter-spacing: .01em; text-transform: lowercase; color: var(--paper-dim); }
body #screen#screen#screen .trick-intro h3.sect::before { content: none; }
body #screen#screen#screen .trick-intro .trick-how { margin: 0 0 14px; padding: 0; list-style: none; gap: 0; border-top: 2px solid var(--paper-ink); }
body #screen#screen#screen .trick-intro .trick-how li { margin: 0; padding: 5px 0; border-bottom: 1px solid var(--paper-hair); font: 700 14.5px/1.35 var(--pr-type); color: var(--paper-ink); }
body #screen#screen#screen .trick-intro .trick-how li b { min-width: 104px; font: 400 15px/1.2 var(--flyer); letter-spacing: .03em; text-transform: uppercase; color: var(--paper-ink); }
body #screen#screen#screen section.panel.trick .trick-level .tl-acts .bbtn { margin: 0; }
/* QA Q7-p8: a goal with no count yet (a trick level before any best) shows no empty stamp box */
body #screen#screen#screen .goal-box .goal-count:empty { display: none; }

/* ====================================================================================================================
   HOME AFTER CHAPTER 1 (fix/before-shoot, QA Q7-M2, Q7-m6). The Tricks are one line of the listing (booth-tricks.js
   homeHtml: #homeTricks), under the Challenges: the name in Anton, the next level typed, one key. And every "out soon" on
   Home is ONE style, plain small print right after its own label (docs/LOOK.md rule 3: in a dense listing a state may stay
   plain small print), never a stamp between two labels, never above its row's rule.
   ==================================================================================================================== */
@media (min-width: 1000px) {
  body.home:not(.day-one) #screen#screen#screen[data-route="menu"] > .menu-rest > #challengesCard { grid-row: 6; }
  body.home:not(.day-one) #screen#screen#screen[data-route="menu"] > .menu-rest > #homeTricks { grid-column: 1 / -1; grid-row: 7; }
  body.home:not(.day-one) #screen#screen#screen[data-route="menu"] > .menu-rest > .modes.compact { grid-row: 8; }
  body.home:not(.day-one) #screen#screen#screen[data-route="menu"] .path-chapters > h3.arc-more-h { grid-row: 9; }
  body.home:not(.day-one) #screen#screen#screen[data-route="menu"] .path-chapters > ol.arc-more { grid-row: 9; }
  body.home:not(.day-one) #screen#screen#screen[data-route="menu"] > #ownTracksLine { grid-row: 10; }
}
body.home #screen#screen#screen[data-route="menu"] #homeTricks { display: grid; grid-template-columns: var(--hl-name, 190px) minmax(0, max-content) 1fr; align-items: center; box-sizing: border-box; min-height: var(--hl-h, 44px); margin: 0; padding: 4px 2px; border: 0; border-bottom: 1px solid var(--pr-rule); background: none; }
body.home #screen#screen#screen[data-route="menu"] #homeTricks > h3.sect { position: static; width: auto; height: auto; clip-path: none; opacity: 1; margin: 0; padding: 0 12px 0 0; border: 0; white-space: nowrap; font: 400 clamp(17px, 2.4vh, 27px)/1 var(--flyer); letter-spacing: .03em; text-transform: uppercase; color: #cfc8ba; }
body.home #screen#screen#screen[data-route="menu"] #homeTricks > h3.sect::before { content: none; }
body.home #screen#screen#screen[data-route="menu"] #homeTricks .ht-line { min-width: 0; margin: 0; font: 700 clamp(14px, 1.7vh, 16px)/1.3 var(--pr-type); color: var(--pr-print); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.home #screen#screen#screen[data-route="menu"] #homeTricks .ht-line .ht-k { font: 400 12.5px/1.3 var(--pr-face); letter-spacing: .04em; text-transform: lowercase; color: var(--pr-dim); margin-right: 6px; }
body.home #screen#screen#screen[data-route="menu"] #homeTricks .ht-line b { font-weight: 700; text-transform: lowercase; color: var(--pr-lit); }
body.home #screen#screen#screen[data-route="menu"] #homeTricks .ht-line .ht-what { margin-left: 4px; }
body.home #screen#screen#screen[data-route="menu"] #homeTricks > .bbtn { justify-self: start; margin: 0 0 0 12px; }
/* out soon, one style on Home: small print right after its own label */
body.home:not(.day-one) #screen#screen#screen[data-route="menu"] .soon-tag { position: static; display: inline; align-self: center; justify-self: start; margin: 0 0 0 10px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; transform: none; font: 400 12.5px/1.3 var(--pr-face); letter-spacing: .04em; text-transform: lowercase; white-space: nowrap; color: var(--pr-dim); }
body.home:not(.day-one) #screen#screen#screen[data-route="menu"] .modes.compact > .mode[data-soon] > .soon-tag { grid-column: 2; grid-row: 1; }
body.home:not(.day-one) #screen#screen#screen[data-route="menu"] .modes.compact > .mode[data-soon]:is([data-go="free"], [data-go="set"]) > .small { display: none; }
body.home:not(.day-one) #screen#screen#screen[data-route="menu"] .modes.compact > .mode[data-soon]:is([data-go="free"], [data-go="set"]) > .soon-tag { margin-left: 0; }
body.home:not(.day-one) #screen#screen#screen[data-route="menu"] .path-chapters .arc-more .stage { flex-direction: row; align-items: baseline; gap: 0; }
body.home:not(.day-one) #screen#screen#screen[data-route="menu"] .path-chapters ol.stages .stage .soon-tag { margin-left: 8px; }

/* ====================================================================================================================
   THE CHAPTER CARD IS ONE CARD (fix/before-shoot, QA Q7-m4, Q7-m3). 1.4's last go draws the chapter card inside its own
   result box (booth-first showWin): that box is no card of its own now (no paper, no shadow, no halftone), the goal's
   news under the title says what the card says (kept for a screen reader), the go that ended the chapter is folded inside
   the card (.ch-thisgo), and Save your first clip is the card's one violet button (Carry on and Stop here equal keys).
   The deck screen's header is solid, so nothing scrolled under it shows through.
   ==================================================================================================================== */
body #screen#screen#screen section.result.ft-win.chapter-end { padding: 0; background: none; box-shadow: none; border: 0; overflow: visible; }
body #screen#screen#screen section.result.ft-win.chapter-end::before, body #screen#screen#screen section.result.ft-win.chapter-end::after { content: none; display: none; }
body #screen#screen#screen section.result.ft-win.chapter-end > .goal-news { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body #screen#screen#screen .chapter-card { margin-top: 0; }
body #screen#screen#screen .chapter-card .clip-box { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 4px 0 18px; }
body #screen#screen#screen .chapter-card .clip-box .bbtn.primary.clip-btn { padding: 16px 34px; border: 0; border-radius: 0; background: var(--pr-violet); box-shadow: 5px 5px 0 var(--paper-ink); color: var(--paper-ink); font: 400 clamp(24px, 2.2vw, 32px)/1 var(--flyer); letter-spacing: .04em; text-transform: uppercase; animation: none; }
body #screen#screen#screen .chapter-card .clip-box .bbtn.primary.clip-btn:hover:not(:disabled) { background: #b48dff; box-shadow: 6px 6px 0 var(--paper-ink); }
body #screen#screen#screen .chapter-card .clip-box .clip-say { font: 700 14px/1.35 var(--pr-type); color: var(--paper-ink); }
body #screen#screen#screen .chapter-card .chapter-go .bbtn.big { border: 1.5px solid var(--paper-ink); border-radius: 0; background: none; box-shadow: none; color: var(--paper-ink); font: 700 15px/1.15 var(--pr-type); text-transform: lowercase; }
body #screen#screen#screen .chapter-card .chapter-go .bbtn.big:hover { background: var(--paper-ink); color: var(--paper); }
body #screen#screen#screen .chapter-card .ch-thisgo { margin: 14px 0 0; padding: 8px 0 0; border-top: 1px solid var(--paper-hair); }
body #screen#screen#screen .chapter-card .ch-thisgo > summary { cursor: pointer; font: 700 14px/1.3 var(--pr-type); text-transform: lowercase; color: var(--paper-dim); }
body #screen#screen#screen .chapter-card .ch-thisgo[open] > summary { margin-bottom: 10px; }
body.decks-on .bh { background: #050505; }   /* (its :has(~ #screen.decks-screen) twin restyled the header on every write under the screen: design/beginner-look-2 round 3) */
#screen .hud #swapHist[hidden] { visibility: hidden; }
/* a result card's row numbers never stand on its halftone corner (design-look-print: Knob School's Boosts "1" at 4.39:1) */
body #screen#screen#screen .result .res-scores > div > b { position: relative; z-index: 1; background: var(--paper-tex) 0 0 / 512px 512px, var(--paper); box-shadow: 0 0 0 3px var(--paper); }
/* the build badge on its own dark ground: over the room's light at the window's corner it fell to 3.8:1 (design-look-print, card-passed) */
footer.buildbar #buildBadge { background: #0b0a0c; padding: 1px 4px; }
/* the crowd's meter steps aside while a long toast has the header's middle (booth.js toastPlace: body.toast-over-crowd, 4 s) */
body.toast-over-crowd #crowdMeter.crowd-meter { visibility: hidden; }
/* the lanes' helper line ("tempo matched · beats lined up") never peeks out from behind the chapter card (self-QA round 2) */
body.ft-chapter-end #screen[data-route="first"] #guide { visibility: hidden; }   /* (Main, full chain 22 Nov: booth-first's class while Chapter 1's last card is up; the #screen:has(.chapter-end) it replaces cost 95 ms of style a second at 4x on every deck screen) */
/* ====================================================================================================================
   feature/every-move: THE CRAFT POPS (docs/PLAN-moves.md: a sorted clash, a clean prep, a loop, an effect with a reason).
   The small unlit card of the print (a dark card, the paper stripe at its left), never the lit sign: the bass swap stays
   the hero. Their verdict is a typed line in lower case (what the sound did: "Bass out first", "Vocals kept apart"), not a
   stamp; a prep's stripe is the bass band's (it's about the bass), the rest paper. booth-pops.js caps them at md.
   ==================================================================================================================== */
body .spop-k-eqfix, body .spop-k-loop, body .spop-k-fx { --pop-c: #f4ecdc; }
body .spop-k-prep { --pop-c: var(--band-low); }
body .spop-md.spop-k-eqfix .spop-name, body .spop-md.spop-k-prep .spop-name, body .spop-md.spop-k-loop .spop-name, body .spop-md.spop-k-fx .spop-name { font-size: 18px; }
body .spop-k-eqfix .spop-q, body .spop-k-prep .spop-q, body .spop-k-loop .spop-q, body .spop-k-fx .spop-q { text-transform: none; letter-spacing: .02em; transform: none; border-width: 1px; }

/* ====================================================================================================================
   THE BEGINNER'S LOOK (design/beginner-look, 21 Nov: docs/LOOK.md "The beginner's look"; reports/qa-beginner-clarity-REPORT.md)
   Every screen a beginner meets reads at a glance, bold and in one look: black and violet, Anton and the typed voice,
   big clear type; the thing to do next is the most obvious thing on the screen. Display only: no id, word, hit area
   or behaviour changes; the hooks are Main's (fix/beginner-first-session's contract), never renamed.
     Part 1  the lesson screen   the chip, the names' capitals, the stamp's place, the waiting state, the walk-through
                                 tag, the coach's first-named line (the target bar and the ruler are booth-waves.js's)
     Part 2  the cards and menus the black card (every paper card), the intro card's four lines and picture, the title,
                                 the questions, the graduation card, the footer, Plan the set, the nights' board and brief
     Part 3  the room            the room's meter by the lanes and the lesson's white burst (booth-lights.js)
   ==================================================================================================================== */

/* ---------- Part 1.1 · the chip (QA BC-09): what you press, so it gets the look's violet: a box, capitals, bold.
   "DECK A · LOW | FULLY LEFT": the lit white on near-black (16:1) inside a 2 px violet rule; the word after the rule is
   the target (its tones: done green, adjust and early the pale yellow). The row keeps its height (the ♪ and ⓘ keys') ---------- */
html body.decks-on #screen.decks-screen #hudBanner .banner-ctl, html body.decks-on #screen.decks-screen #hudBanner .banner-ctl[data-deck="A"], html body.decks-on #screen.decks-screen #hudBanner .banner-ctl[data-deck="B"], html body.decks-on #screen.decks-screen #hudBanner[data-deck] .banner-ctl[data-tone] {
  box-sizing: border-box; display: inline-flex; align-items: center; gap: 9px; min-height: 30px; padding: 0 12px; border: 2px solid var(--pr-violet); border-radius: 0; background: #0b0a0c; box-shadow: 3px 3px 0 color-mix(in srgb, var(--pr-violet) 38%, transparent); color: var(--pr-lit); font: 700 15px/1 var(--pr-face); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
html body.decks-on #screen.decks-screen #hudBanner .banner-ctl::before { width: 9px; height: 9px; }
html body.decks-on #screen.decks-screen #hudBanner .banner-ctl + .banner-ctl { margin-left: 16px; }
html body.decks-on #screen.decks-screen #hudBanner .banner-ctl .banner-target, html body.decks-on #screen.decks-screen #hudBanner .banner-ctl .banner-target[data-tone] { align-self: stretch; display: inline-flex; align-items: center; margin: 0 -12px 0 3px; padding: 0 12px; border-left: 2px solid var(--pr-violet); background: color-mix(in srgb, var(--pr-violet) 16%, transparent); color: #fff; font: 700 15px/1 var(--pr-face); font-style: normal; letter-spacing: .07em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
html body.decks-on #screen.decks-screen #hudBanner .banner-ctl .banner-target[data-tone="ok"] { color: var(--pr-ok); background: rgba(70, 224, 143, .1); }
html body.decks-on #screen.decks-screen #hudBanner .banner-ctl .banner-target[data-tone="adjust"], html body.decks-on #screen.decks-screen #hudBanner .banner-ctl .banner-target[data-tone="early"] { color: var(--pr-warn); background: rgba(242, 234, 120, .08); }
html body.decks-on #screen.decks-screen #hudBanner .banner-ctl .banner-band { padding-left: 9px; border-left: 2px solid color-mix(in srgb, var(--pr-violet) 50%, transparent); font: 700 13px/1 var(--pr-face); letter-spacing: .07em; text-transform: uppercase; color: var(--pr-print); }
html body.decks-on #screen.decks-screen #hudBanner .banner-ctl[data-onscreen]::after { color: var(--pr-print); }
@media (min-width: 1600px) {
  html body.decks-on #screen.decks-screen #hudBanner .banner-ctl, html body.decks-on #screen.decks-screen #hudBanner .banner-ctl .banner-target { font-size: 16px; }
}

/* ---------- Part 1.2 · LOW, MID and HIGH in capitals wherever they are a control's name (one name per control: the
   sentence writes LOW, so the knob and the chip do). The plate's other labels keep the print's lower case ---------- */
html body #screen .decks3 .mcol .kn[data-kn^="eq"] > .kn-name { text-transform: uppercase; font-weight: 700; letter-spacing: .06em; color: var(--lm-lit, #f4ecdc); }
html body #screen .decks3 .mcol .kn[data-kn^="eq"] > .kn-name > .kn-sub { text-transform: lowercase; font-weight: 400; letter-spacing: .02em; }
html body.focus #screen #decks3 .mcol .kn[data-kn^="eq"][data-focus="off"] > .kn-name { color: var(--lm-print, #bbb4a6); }

/* ---------- Part 1.3 · the stamp (QA BC-14): beside its own control, never over the next one, and gone the frame the
   next control lights. A knob's stamp starts at its OWN name's outer edge and runs towards its own knob (inside its own
   row: never over the knob above or below, the headphone cue or the fader), a fader's over its own "volume" label reaching
   towards the master read-out (never a neighbour's knob), a button's on the button. The moment another control is lit the words go; the knob's own green ring stays its
   1.5 s, so the move still lands ---------- */
html body.decks-on #screen #decks3 .mcol .kn[data-stamp][data-stamp][data-stamp]::after { left: 0; right: auto; top: 50%; padding: 2px 6px 1px; font-size: 12.5px; letter-spacing: .04em; transform: translate(0, -50%) rotate(-2deg); transform-origin: 0 50%; animation-name: bl-stamp; }
html body.decks-on #screen #decks3 .mcol.deckB .kn[data-stamp][data-stamp][data-stamp]::after { left: auto; right: 0; transform: translate(0, -50%) rotate(2deg); transform-origin: 100% 50%; animation-name: bl-stamp; }
html body.decks-on #screen #decks3 .mcol .kn[data-stamp][data-stamp][data-stamp][data-still]::after { animation: none; opacity: 1; transform: translate(0, -50%) rotate(-2deg); }
html body.decks-on #screen #decks3 .mcol.deckB .kn[data-stamp][data-stamp][data-stamp][data-still]::after { animation: none; opacity: 1; transform: translate(0, -50%) rotate(2deg); }
html body.decks-on #screen #decks3 .mcol .vf[data-stamp][data-stamp][data-stamp]::after { top: -2px; bottom: auto; left: 0; right: auto; transform: rotate(-2deg); transform-origin: 0 50%; animation-name: bl-stamp-v; }
html body.decks-on #screen #decks3 .mcol.deckB .vf[data-stamp][data-stamp][data-stamp]::after { left: auto; right: 0; transform: rotate(2deg); transform-origin: 100% 50%; animation-name: bl-stamp-v; }
html body.decks-on #screen #decks3 .mcol .vf[data-stamp][data-stamp][data-stamp][data-still]::after { animation: none; opacity: 1; }
@keyframes bl-stamp { 0% { opacity: 0; } 8% { opacity: 1; } 82% { opacity: 1; } 100% { opacity: 0; } }
@keyframes bl-stamp-v { 0% { opacity: 0; } 8% { opacity: 1; } 82% { opacity: 1; } 100% { opacity: 0; } }
/* gone the frame the next control lights: any lit control that isn't the stamped one */
html body.decks-on #screen #decks3.lit-other [data-stamp][data-stamp][data-stamp]::after { display: none; }   /* (.lit-other: booth-lights' hooks, design/beginner-look-2 round 3; it was #decks3:has(.is-needed:not([data-stamp]))) */

/* ---------- Part 1.4 · the sub-line: what just landed, big enough to read while playing (it was 12.5 px) ---------- */
@media (min-width: 1000px) {
  html body.decks-on .screen.decks-screen.decks-banner > .hud .hud-sub { height: 22px; font-size: 15px; line-height: 22px; }
  html body.decks-on .screen.decks-screen.decks-banner > .hud .hud-sub:empty { min-height: 22px; }   /* (the slot is always there, one size: a said line coming and going never moves the lanes) */
  html body.decks-on .screen.decks-screen.decks-banner > .hud .hud-sub .count { line-height: 22px; }
}

/* ---------- Part 1.5 · THE WAITING STATE (the what-now rule; Main's hooks: body[data-waiting="<what>"], the banner's
   .banner-text.wait-line, the one button .bbtn.primary.big.mn-breathe.wait-go). The wait line big in the banner, in the
   flyer face; the one button the biggest thing on the screen, breathing (its edge on the music's beat when the lights
   drive --mn-beat, a slow swell always; still under reduced motion); the lanes dimmed (the round is over: nothing to
   read there); nothing else lit ---------- */
html body[data-waiting] #screen.decks-screen #hudBanner .banner-text.wait-line, html body.decks-on #screen.decks-screen #hudBanner .banner-text.wait-line { max-width: none; font: 400 clamp(34px, 3.1vw, 52px)/1.02 var(--flyer); letter-spacing: .02em; text-transform: uppercase; color: var(--pr-paper); text-wrap: balance; }
html body[data-waiting] #screen.decks-screen #hudBanner .banner-row { margin-top: 12px; margin-bottom: 12px; gap: 18px; align-items: center; }
html body #screen .bbtn.primary.big.wait-go, html body.decks-on #screen.decks-screen .bbtn.primary.big.wait-go { --mn-beat: 0; min-height: 72px; padding: 0 44px; border: 0; border-radius: 0; background: var(--pr-violet); color: #0b0710; font: 400 clamp(30px, 2.6vw, 42px)/1 var(--flyer); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; box-shadow: calc(6px + 3px * var(--mn-beat)) calc(6px + 3px * var(--mn-beat)) 0 var(--pr-paper); }
html body #screen .bbtn.primary.big.wait-go:hover { background: var(--pr-violet-hi); }
html body #screen .bbtn.primary.big.wait-go .swap-key, html body #screen .bbtn.primary.big.wait-go kbd { margin-left: 14px; padding: 4px 10px 3px; border: 0; border-radius: 2px; background: #0b0710; color: var(--pr-paper); font: 700 15px/1 var(--pr-face); letter-spacing: .05em; text-transform: uppercase; opacity: 1; box-shadow: none; }
@media (prefers-reduced-motion: no-preference) {
  html body #screen .bbtn.primary.big.wait-go.mn-breathe { animation: bl-wait 1.9s ease-in-out infinite; }
}
@keyframes bl-wait { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.16) drop-shadow(0 0 12px rgba(176, 102, 255, .55)); } }   /* (fix/beginner-first-session: a glow, not a scale: the box stays still, so a click lands and Playwright sees it stable) */
html body[data-waiting] #screen.decks-screen .wfs { opacity: .32; filter: saturate(.35); transition: opacity .3s ease-out, filter .3s ease-out; }
html body[data-waiting] #screen.decks-screen .wv-legend { opacity: .32; }
html body[data-waiting].focus #screen #decks3 .is-needed { --lit: transparent; }
html body[data-waiting] #screen.decks-screen #hudSub { font-size: 16px; color: var(--pr-print); }

/* ---------- Part 1.6 · a walk-through (body[data-walk], .walk-tag in the HUD's lead): a stamp, so nobody mistakes the
   practice for the real go: "WALK-THROUGH · NOT SCORED" in the violet, ruled, a degree off square ---------- */
html body #screen .walk-tag { display: inline-block; flex: none; margin: 0 12px 0 0; padding: 3px 9px 1px; border: 2px solid var(--pr-violet); border-radius: 0; background: #0b0a0c; color: var(--pr-violet-hi); font: 400 14px/1.15 var(--flyer); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; transform: rotate(-1.5deg); }
html body[data-walk] #screen.decks-screen #hudBanner .banner-why:not([hidden]) { color: var(--pr-lit); }

/* ---------- Part 1.7 · the coach's first-named line (.coach-ctl[data-first]): where the control is on the controller,
   the first time it is named in a session: shown (the line is hidden otherwise since design/hud-fix), typed, lit, the
   "On your Inpulse 500" label in the print ---------- */
@media (min-width: 1000px) {
  html body .screen.decks-screen.decks-banner > .hud #hudCoach > .coach-ctl[data-first] { display: block; grid-row: 3; grid-column: 1 / -1; justify-self: center; align-self: center; max-width: 100%; margin: 0; padding: 0 12px; border-left: 3px solid var(--pr-violet); background: #0b0a0c; color: var(--pr-lit); font: 700 15px/22px var(--pr-type); letter-spacing: 0; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; position: relative; z-index: 1; }
  html body #screen#screen.decks-screen.decks-banner > .hud #hudCoach > .coach-ctl[data-first] > .coach-k { display: inline; position: static; float: none; width: auto; min-width: 0; text-indent: 0; margin: 0 10px 0 0; color: var(--pr-print); font: 400 13px/22px var(--pr-face); letter-spacing: .06em; text-transform: uppercase; }
  /* it shares the sub-line's row (so the lanes never move for it) and gives way to a said line: what just landed comes first */
  html body .screen.decks-screen.decks-banner > .hud.sub-up #hudCoach > .coach-ctl[data-first] { display: none; }   /* (.sub-up: booth-lights' hooks, design/beginner-look-2 round 3; it was .hud:has(#hudSub:not(:empty))) */
}
/* the why and a note under the chip: the coach's voice at a size to read while playing (15 px; it was 13) */
html body.decks-on #screen.decks-screen #hudBanner .banner-why, html body.decks-on #screen.decks-screen #hudBanner .banner-note { font-size: 15px; line-height: 1.35; }

/* ---------- Part 2.1 · THE BLACK CARD (21 Nov, Dean's brief: "a white box with small plain text" on the way in; one look,
   black and violet). Every card that was off-white paper is now the game's own black: a near-black sheet a step up from
   the page, a 6 px violet band along its top, the paper's white for its print and rules, the halftone corner in the
   violet, ONE violet button. Done through the paper's own tokens, set on the cards themselves, so every rule written
   for a paper card follows: --paper is the sheet, --paper-ink the lit print, --paper-dim the print's quiet grey (7:1 on
   the sheet), --paper-hair a light hairline, --pr-violet-paper the violet as it reads on black. A tape label on the dark base and
   the lit sign (the pops) stay the paper's white: small lit things on the dark, as on the deck screens. ---------- */
body #screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music, .hero-next, #nextNight, #startPath, .next-for-you, .modes.tr-moves, #access, .result, .unlock-card, .grad-card, .night-card, .sb-buildcard, section.panel.trick, .ks-box, .ks-card), body #unplugNote, body #tabNote, body .st-cheat {
  --paper: #131117; --paper-tex: linear-gradient(transparent, transparent); --paper-ink: #f4ecdc; --paper-dim: #a59f92; --paper-hair: rgba(244, 236, 220, .24); --pr-violet-paper: var(--pr-violet); --bc-edge: rgba(244, 236, 220, .14); }
/* (a tape label on a black card takes the card's tokens: typed words in the lit print, as the cards' own rules already make it) */
/* the sheet's edge: a hairline, the violet band on top (the card is the thing to read next), a hard black shadow */
html body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music, #access, .unlock-card, section.panel.trick), html body #screen#screen .result:not(.night-card), html body #screen#screen .sb-buildcard { box-shadow: inset 0 6px 0 var(--pr-violet), 0 0 0 1px var(--bc-edge), 0 26px 44px -18px #000; }
@media (min-width: 1000px) {
  html body.home #screen#screen[data-route="menu"] .hero > .hero-next, html body.home #screen#screen[data-route="menu"] #nextNight.next-night, html body.home #screen#screen[data-route="menu"] #startPath.start-path { box-shadow: inset 0 6px 0 var(--pr-violet), 0 0 0 1px var(--bc-edge), 0 26px 44px -18px #000; }
}
html body #unplugNote.unplug-note, html body .st-cheat { box-shadow: inset 0 6px 0 var(--pr-violet), 0 0 0 1px rgba(244, 236, 220, .2), 0 26px 44px -18px #000; }
html body #tabNote.tab-note { box-shadow: inset 4px 0 0 var(--pr-violet), 0 0 0 1px rgba(244, 236, 220, .2), 0 10px 22px rgba(0, 0, 0, .6); }
/* the halftone corner: the violet's ink (it was the paper's black) */
html body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music, #access, section.panel.trick)::after, html body #screen#screen .result::before, html body #screen#screen .unlock-card::before, html body #screen#screen .sb-buildcard::before, html body .st-cheat::after { background: var(--pr-violet); opacity: .34; }
@media (min-width: 1000px) {
  html body.home #screen#screen[data-route="menu"] .hero > .hero-next::after, html body.home #screen#screen[data-route="menu"] #nextNight::after, html body.home #screen#screen[data-route="menu"] #startPath.start-path::after { background: var(--pr-violet); opacity: .34; }
}
/* the one thing to press on a card: the violet block, near-black Anton, the paper's white edge off register (as on the page) */
html body #screen#screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music, .hero-next, #nextNight, #startPath, .next-for-you, .modes.tr-moves, #access, .result, .unlock-card, .grad-card, .night-card, .sb-buildcard, section.panel.trick, .ks-box, .ks-card) .bbtn.primary:not(:disabled), html body #unplugNote .bbtn.primary { color: #0b0710; box-shadow: 3px 3px 0 var(--pr-paper); }
html body #screen#screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music, .hero-next, #nextNight, #startPath, .next-for-you, .modes.tr-moves, #access, .result, .unlock-card, .grad-card, .night-card, .sb-buildcard, section.panel.trick, .ks-box, .ks-card) .bbtn.primary.big:not(:disabled) { box-shadow: 5px 5px 0 var(--pr-paper); }
html body #screen#screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music, .hero-next, #nextNight, #startPath, .next-for-you, .modes.tr-moves, #access, .result, .unlock-card, .grad-card, .night-card, .sb-buildcard, section.panel.trick, .ks-box, .ks-card) .bbtn.primary:hover:not(:disabled) { color: #0b0710; box-shadow: 4px 4px 0 #fff; }
/* what was printed on paper with a filter (the replay chart, the player) is on black now: no filter */
html body #screen#screen .result audio { color-scheme: dark; filter: grayscale(1) contrast(.92); mix-blend-mode: normal; }
html body #screen#screen .result .replaycv { filter: none; }

/* ---------- Part 2.2 · the cards' type: big and bold (it was 14-15 px typed print: "small plain text"). A card's body 17 px,
   its quiet lines 15 px, its eyebrow 15 px in the violet (which chapter, which stage: where you are) ---------- */
html body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) p { font-size: clamp(15px, 2.12vh, 17px); line-height: 1.4; }
html body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) p.ft-lead { font-size: clamp(18px, 2.3vh, 22px); line-height: 1.34; }
html body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) :is(.small, .muted, p.small, p.muted) { font-size: clamp(14px, 1.9vh, 15px); line-height: 1.4; }
html body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .eyebrow { font-size: clamp(14px, 1.9vh, 15px); letter-spacing: .04em; text-transform: uppercase; color: var(--pr-violet); }
html body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .coach-k { font-size: 15px; }
html body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .goal-box .goal-line { font-size: 15px; }
html body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .goal-box .goal-line b { font-size: clamp(18px, 2.3vh, 22px); }
html body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) .goal-box :is(.goal-what, .goal-next) { font-size: clamp(14px, 1.9vh, 15px); }
html body #screen#screen :is(.ft-intro, .chapter-open, .chapter-card, #outSoon, .path-next, .next-goal, .daily-page, .add-music) :is(.bbtn:not(.primary):not(.ghost), .bbtn.ghost, a.bbtn.ghost) { font-size: 15px; }
html body #screen#screen .chapter-open > p, html body #screen#screen .chapter-open .chapter-line { font-size: clamp(18px, 2.4vh, 22px); }

/* ---------- Part 2.3 · THE INTRO CARD'S FOUR LINES AND ITS PICTURE (Main's hooks: .intro-lines > .intro-line[data-k=
   "do|why|hear|use"] > b.intro-k + span, and .intro-pic). A ruled listing: each line's label in the flyer face in the
   violet, its words typed and big; the picture beside them: the mixer drawn still on the card, every control a plain
   print shape, the ones this lesson uses lit violet with their names in the paper's white, big enough to see which knob ---------- */
/* the card's two columns: the words down the left (the title, the four lines, then Start and the tracks); the picture
   and the goal down the right. Placed on the grid by row (no markup is moved): the picture beside the title and the lines
   (row 3 is the flexible one), the goal beside whatever follows them, so neither column leaves a hole and Start sits on
   the first screen at 1280×800 */
html body #screen#screen:not(.decks-screen) > .ft-intro.has-pic { max-width: min(1200px, 100%); }
html body #screen#screen .ft-intro.has-pic { display: grid; grid-template-columns: minmax(0, 1fr) clamp(340px, 36%, 430px); grid-template-rows: auto auto 1fr; grid-auto-rows: auto; column-gap: clamp(24px, 3vw, 52px); align-items: start; align-content: start; }
html body #screen#screen .ft-intro.has-pic > * { grid-column: 1; min-width: 0; }
html body #screen#screen .ft-intro.has-pic > .eyebrow { grid-row: 1; }
html body #screen#screen .ft-intro.has-pic > h1 { grid-row: 2; }
html body #screen#screen .ft-intro.has-pic > .intro-lines { grid-row: 3; }
html body #screen#screen .ft-intro > .intro-pic { grid-column: 2; grid-row: 1 / span 3; align-self: stretch; display: grid; align-content: center; }
html body #screen#screen .ft-intro.has-pic > .goal-box { grid-column: 2; grid-row: 4 / span 8; align-self: start; margin: clamp(6px, 1.2vh, 14px) 0 0; }
html body #screen#screen .ft-intro.has-pic > :is(.hud-dia, .kn-dia) { grid-column: 2; grid-row: 12 / span 3; margin-top: 12px; }
html body #screen#screen .ft-intro.has-pic > .row.wrap { margin-top: clamp(10px, 1.8vh, 20px); }
html body #screen#screen .ft-intro .intro-lines { display: grid; margin: clamp(2px, .8vh, 10px) 0 clamp(6px, 1.2vh, 12px); border-top: 3px solid var(--paper-ink); }
html body #screen#screen .ft-intro .intro-line { display: grid; grid-template-columns: clamp(104px, 9.5vw, 136px) minmax(0, 1fr); column-gap: 14px; align-items: baseline; padding: clamp(6px, 1.1vh, 11px) 0 clamp(5px, 1vh, 10px); border-bottom: 1.5px solid var(--paper-hair); }
html body #screen#screen .ft-intro .intro-line:last-child { border-bottom: 3px solid var(--paper-ink); }
html body #screen#screen .ft-intro .intro-line > .intro-k { font: 400 clamp(15px, 1.9vh, 18px)/1.15 var(--flyer); letter-spacing: .06em; text-transform: uppercase; color: var(--pr-violet); }
html body #screen#screen .ft-intro .intro-line > span { font: 700 clamp(16px, 2.05vh, 19px)/1.36 var(--pr-type); letter-spacing: 0; color: var(--paper-ink); }
html body #screen#screen .ft-intro .intro-line[data-k="do"] > span { font-size: clamp(17px, 2.3vh, 21px); }
html body #screen#screen .ft-intro .intro-line .bbtn.hear, html body #screen#screen .ft-intro .intro-line [data-hear] { display: inline-flex; min-height: 32px; margin: 4px 0 0; padding: 0 12px; vertical-align: middle; font-size: 15px; white-space: nowrap; }
/* the picture */
html body #screen#screen#screen#screen .intro-pic { position: relative; box-sizing: border-box; padding: 16px 18px 14px; border: 2.5px solid var(--paper-ink); background: #0b0a0c; pointer-events: none; -webkit-user-select: none; user-select: none; color: var(--paper-dim); }
html body #screen#screen#screen#screen .intro-pic .panel.mixer, html body #screen#screen#screen#screen .intro-pic .mixer { display: block; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
html body #screen#screen#screen#screen .intro-pic .mcols { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(14px, 1.6vw, 26px); }
html body #screen#screen#screen#screen .intro-pic .mcol { display: grid; grid-template-columns: minmax(0, 1fr) 46px; grid-template-rows: auto repeat(3, auto); column-gap: 10px; row-gap: 10px; align-items: center; margin: 0; padding: 0; border: 0; background: none; }
html body #screen#screen#screen#screen .intro-pic .mcol.deckB { grid-template-columns: 46px minmax(0, 1fr); }
html body #screen#screen#screen#screen .intro-pic .mcol > .dk { grid-column: 1 / -1; grid-row: 1; justify-self: start; display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 0; border: 0; background: none; font: 400 17px/1 var(--flyer); letter-spacing: .06em; color: var(--paper-ink); }
html body #screen#screen#screen#screen .intro-pic .mcol.deckB > .dk { justify-self: end; flex-direction: row-reverse; }
html body #screen#screen#screen#screen .intro-pic .mcol > .dk::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--deckA); }
html body #screen#screen#screen#screen .intro-pic .mcol.deckB > .dk::before { background: var(--deckB); }
html body #screen#screen#screen#screen .intro-pic :is(.kn[data-kn="trim"], .kn[data-kn="filter"], .pfl, .meter, .band-meter, .slider.xf, .row, .fold-more, .cfx, .cfx-strip, .centre-fx, .tag, input) { display: none; }
html body #screen#screen#screen#screen .intro-pic .kn { grid-column: 1; display: grid; grid-template-columns: minmax(46px, 1fr) 50px; column-gap: 12px; align-items: center; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; opacity: 1; }
html body #screen#screen#screen#screen .intro-pic .mcol.deckB .kn { grid-column: 2; grid-template-columns: 50px minmax(46px, 1fr); }
html body #screen#screen#screen#screen .intro-pic .mcol.deckB .kn > .knob { grid-column: 1; grid-row: 1; }
html body #screen#screen#screen#screen .intro-pic .mcol.deckB .kn > .kn-name { grid-column: 2; grid-row: 1; text-align: left; }
html body #screen#screen#screen#screen .intro-pic .kn[data-kn="eqHigh"] { grid-row: 2; }
html body #screen#screen#screen#screen .intro-pic .kn[data-kn="eqMid"] { grid-row: 3; }
html body #screen#screen#screen#screen .intro-pic .kn[data-kn="eqLow"] { grid-row: 4; }
html body #screen#screen#screen#screen .intro-pic .kn > .kn-name { padding: 0; background: none; text-align: right; font: 400 17px/1.05 var(--flyer); letter-spacing: .06em; text-transform: uppercase; color: var(--paper-dim); }
html body #screen#screen#screen#screen .intro-pic .kn > .kn-name > .kn-sub { display: block; margin-top: 2px; font: 700 12.5px/1.1 var(--pr-type); letter-spacing: 0; text-transform: lowercase; color: var(--paper-dim); }
html body #screen#screen#screen#screen .intro-pic .kn > .knob { position: relative; display: block; width: 50px; height: 50px; margin: 0; border: 2.5px solid #6f6a61; border-radius: 50%; background: #17161a; box-shadow: none; filter: none; transform: none; }
html body #screen#screen#screen#screen .intro-pic .kn > .knob::before, html body #screen#screen#screen#screen .intro-pic .kn > .knob::after { content: none; }
/* design/room-on-laptop (Dean, 24 Nov): the picture shows the setup a DJ starts from, never where the knobs happen to be.
   Its knobs followed --v (the mixer's live value: the controller's last positions, or the last lesson's), so they stood at
   random angles. Now every knob in the picture points to 12 o'clock, Deck A's volume fader is up (the track you hear as the
   lesson begins) and Deck B's is down. A lesson whose point is another position sets it on that control alone, in the
   picture's own terms (never --v): --pic-v on a .kn (0 fully left, .5 the middle, 1 fully right), --pic-f on a .vf (0 down,
   1 up); none does today. */
html body #screen#screen#screen#screen .intro-pic .kn > .knob > i { position: absolute; left: 50%; top: 4px; width: 3px; height: 15px; margin: 0 0 0 -1.5px; border-radius: 0; background: #6f6a61; transform-origin: 50% 18.5px; transform: rotate(calc((var(--pic-v, .5) - .5) * 270deg)); }
/* a fader: a track and its cap, drawn (the picture is still: the cap sits where a fader rests) */
html body #screen#screen#screen#screen .intro-pic .vf { grid-column: 2; grid-row: 2 / span 3; align-self: stretch; justify-self: center; position: relative; display: block; width: 46px; min-height: 150px; margin: 0; padding: 0; border: 0; background: linear-gradient(#6f6a61, #6f6a61) 50% 22px / 3px calc(100% - 26px) no-repeat; font: 700 10.5px/1 var(--pr-face); letter-spacing: 0; text-transform: uppercase; text-align: center; color: var(--paper-dim); overflow: visible; white-space: nowrap; }
html body #screen#screen#screen#screen .intro-pic .mcol.deckB .vf { grid-column: 1; }
html body #screen#screen#screen#screen .intro-pic .vf::after { content: ''; position: absolute; left: 50%; bottom: calc(10px + var(--pic-f, 0) * (100% - 45px)); width: 30px; height: 13px; margin-left: -15px; border: 2.5px solid #6f6a61; background: #17161a; box-sizing: border-box; }
html body #screen#screen#screen#screen .intro-pic .mcol.deckA .vf { --pic-f: 1; }   /* Deck A plays as every lesson begins: its fader up; Deck B's waits at the bottom */
/* the deck's keys, when the picture has them (PLAY, CUE): a key each */
html body #screen#screen#screen#screen .intro-pic :is(button, .bbtn)[data-b]:not(.pfl) { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 12px; border: 2.5px solid #6f6a61; border-radius: 0; background: #17161a; box-shadow: none; color: var(--paper-dim); font: 400 16px/1 var(--flyer); letter-spacing: .06em; text-transform: uppercase; }
html body #screen#screen#screen#screen .intro-pic .intro-keys { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(14px, 1.6vw, 26px); margin: 0 0 12px; }
/* lit: what this lesson uses. The violet block; its name in the paper's white */
html body #screen#screen#screen#screen .intro-pic .kn:is(.is-needed, [data-focus="on"], [data-lit], .lit) > .knob { border-color: var(--pr-violet); background: var(--pr-violet); box-shadow: 0 0 0 3px #0b0a0c, 0 0 0 5.5px var(--pr-violet); }
html body #screen#screen#screen#screen .intro-pic .kn:is(.is-needed, [data-focus="on"], [data-lit], .lit) > .knob > i { background: #0b0710; }
html body #screen#screen#screen#screen .intro-pic .kn:is(.is-needed, [data-focus="on"], [data-lit], .lit) > .kn-name { color: var(--paper-ink); }
html body #screen#screen#screen#screen .intro-pic .kn:is(.is-needed, [data-focus="on"], [data-lit], .lit) > .kn-name > .kn-sub { color: var(--paper-ink); }
html body #screen#screen#screen#screen .intro-pic .vf:is(.is-needed, [data-focus="on"], [data-lit], .lit) { color: var(--paper-ink); background-image: linear-gradient(var(--pr-violet), var(--pr-violet)); }
html body #screen#screen#screen#screen .intro-pic .vf:is(.is-needed, [data-focus="on"], [data-lit], .lit)::after { border-color: var(--pr-violet); background: var(--pr-violet); box-shadow: 0 0 0 3px #0b0a0c, 0 0 0 5.5px var(--pr-violet); }
html body #screen#screen#screen#screen .intro-pic :is(button, .bbtn)[data-b]:not(.pfl):is(.is-needed, [data-focus="on"], [data-lit], .lit) { border-color: var(--pr-violet); background: var(--pr-violet); color: #0b0710; box-shadow: 3px 3px 0 var(--pr-paper); }
/* a picture Main draws some other way (an svg, the controller's drawing): it keeps the frame and fills it */
html body #screen#screen#screen#screen .intro-pic > :is(svg, img, canvas) { display: block; width: 100%; height: auto; }
@media (max-width: 999px) {
  html body #screen#screen .ft-intro.has-pic { display: block; }
  html body #screen#screen .ft-intro > .intro-pic { max-width: 420px; margin: 10px 0; }
}

/* the goal's label, as the lines' labels: the flyer face in the violet */
html body #screen#screen#screen .ft-intro .goal-box .goal-line { font: 400 clamp(15px, 1.9vh, 18px)/1.15 var(--flyer); letter-spacing: .06em; text-transform: uppercase; color: var(--pr-violet); }
html body #screen#screen#screen .ft-intro .goal-box .goal-line b { margin-top: 4px; font: 700 clamp(17px, 2.2vh, 21px)/1.3 var(--pr-type); letter-spacing: 0; text-transform: none; color: var(--paper-ink); }

/* ---------- Part 2.4 · on the black card: what the flip left wrong ---------- */
/* the milestone (a reward): a black block ruled in the violet, its points the violet's biggest number (it was an ink block on paper) */
html body #screen#screen .ms-reveal { background: #0b0a0c; box-shadow: inset 0 0 0 3px var(--pr-violet); }
html body #screen#screen .ms-reveal .ms-eyebrow { color: var(--pr-violet); font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }
html body #screen#screen .ms-reveal .ms-name { color: var(--pr-paper); }
html body #screen#screen .ms-reveal .ms-pts { color: var(--pr-violet-hi); }
html body #screen#screen .ms-reveal .ms-line { color: var(--pr-print); font-size: 14px; }

/* ---------- Part 2.5 · THE GRADUATION CARD (QA BC-24): "YOU GRADUATED." in the flyer face at the card's top, the biggest
   words on it (it was small typed print under PASSED and +300); the set's energy curve at its height: three bars you
   can read, each with its number, or one clear line when the set held one energy (it was a grey strip with a lone 7) ---------- */
html body #screen#screen .set-card[data-graduated] .grad-head .eyebrow { margin: 0 0 6px; font: 700 15px/1.3 var(--pr-type); letter-spacing: .04em; text-transform: uppercase; color: var(--pr-violet); }
html body #screen#screen .set-card[data-graduated] .grad-title { margin: 0 0 clamp(6px, 1vh, 12px); font: 400 clamp(54px, 8.6vh, 112px)/.9 var(--flyer); letter-spacing: .01em; text-transform: uppercase; color: var(--pr-paper); }
html body #screen#screen .set-card[data-graduated] .grad-lead { margin: 0; font: 700 clamp(17px, 2.2vh, 22px)/1.3 var(--pr-type); color: var(--paper-ink); }
html body #screen#screen .set-card[data-graduated] .grad-score h2 { font-size: clamp(20px, 2.6vh, 30px); }
html body #screen#screen .result .set-energy:not(.flat), html body #resultSlot.slot-set .set-card[data-graduated] .sc-side > .set-energy:not(.flat) { display: flex; align-items: flex-end; gap: 12px; box-sizing: border-box; height: clamp(96px, 13vh, 132px); min-height: 96px; max-height: none; flex: none; padding: 8px 4px 24px; border-bottom: 3px solid var(--paper-ink); }
html body #screen#screen .result .set-energy:not(.flat) > i { min-height: 10px; background: color-mix(in srgb, var(--pr-violet) 34%, transparent); box-shadow: inset 0 4px 0 var(--pr-violet); }
html body #screen#screen .result .set-energy:not(.flat) > i > span { bottom: -22px; font: 700 15px/1 var(--num); color: var(--paper-ink); }
html body #screen#screen #resultSlot .set-energy.flat > i:first-child, html body #screen#screen .result .set-energy.flat > i:first-child { font: 700 15px/1.4 var(--pr-type); letter-spacing: 0; text-transform: none; color: var(--paper-dim); }
html body #screen#screen #resultSlot .set-energy.flat > i:first-child > em, html body #screen#screen .result .set-energy.flat > i:first-child > em { font: 400 26px/1 var(--flyer); color: var(--paper-ink); vertical-align: -2px; }
html body #screen#screen #resultSlot .set-energy.flat::after { height: 4px; margin-top: 8px; background: var(--pr-violet); }
/* the violet blocks that aren't a plain .bbtn.primary (Home's hero-go, Start here's play, the graduation's Next): near-black
   print on the violet, the paper's white edge; and the "primaries" a card draws as plain keys keep the card's print */
html body #screen#screen#screen :is(.hero-go, .sp-play-go, .grad-next), html body #screen#screen#screen #nextNight .nn-go .bbtn.primary.big { --paper-ink: #0b0710; --paper-dim: #2b2140; color: #0b0710; }
html body #screen#screen#screen :is(.hero-go, .sp-play-go), html body #screen#screen#screen #nextNight .nn-go .bbtn.primary.big { box-shadow: 5px 5px 0 var(--pr-paper); }
html body #screen#screen#screen .hero-next:hover > .hero-go, html body #screen#screen#screen #startPath .sp-play:hover .sp-play-go, html body #screen#screen#screen #nextNight .nn-go .bbtn.primary.big:hover:not(:disabled) { box-shadow: 6px 6px 0 #fff; }
html body #screen#screen#screen .grad-next :is(b, .small, span) { color: #0b0710; }
html body.home #screen#screen#screen[data-route="menu"] #startPath .sp-play:is(.bbtn, .bbtn.primary, .bbtn.primary.big) { color: var(--paper-ink); box-shadow: none; }
html body #screen#screen#screen#screen .chapter-card .chapter-go .bbtn.big:not(:hover) { color: var(--paper-ink); box-shadow: none; }
html body #screen#screen#screen#screen .chapter-card .chapter-go .bbtn.big:hover { color: var(--paper); box-shadow: none; }
/* Home's cards carry the band too (their own rules outrank the card list's) */
@media (min-width: 1000px) {
  html body.home #screen#screen#screen[data-route="menu"] .hero > .hero-next, html body.home #screen#screen#screen[data-route="menu"] #nextNight.next-night, html body.home #screen#screen#screen[data-route="menu"] #startPath.start-path { box-shadow: inset 0 6px 0 var(--pr-violet), 0 0 0 1px var(--bc-edge), 0 26px 44px -18px #000; }
  html body.home #screen#screen#screen[data-route="menu"] .hero > .hero-next::after, html body.home #screen#screen#screen[data-route="menu"] #nextNight::after, html body.home #screen#screen#screen[data-route="menu"] #startPath.start-path::after { background: var(--pr-violet); opacity: .34; }
}
html body #screen#screen .set-card[data-graduated] .grad-title { font-size: clamp(54px, 7.4vh, 84px); }

/* ---------- Part 2.6 · THE TITLE (the first screen: "a white box with small plain text"). The start is the one thing to
   press, so it is the violet block (it was a paper-white bar), bigger, its edge off register as every primary; the note
   under it is the typed voice in the lit print (it was 15 px condensed grey); the chapters' numbers in the violet
   (what's next) ---------- */
#start .start-key { padding: 2.1vh 1.8vh 1.9vh; background: var(--pr-violet); color: #0b0710; font-size: clamp(19px, min(3.3vh, 1.85vw), 36px); box-shadow: 5px 5px 0 var(--ink); }
#start:hover .start-key { background: var(--pr-violet-hi); box-shadow: 6px 6px 0 #fff; }
#start .start-go { width: calc(100% - 6px); margin-bottom: 3vh; }
#start .start-what b { color: var(--pr-violet); }
#start .start-what i { font: 700 clamp(15px, 2vh, 20px)/1.25 var(--pr-type); letter-spacing: 0; color: #e4e0d6; }
#start .start-note { font: 700 clamp(15px, 1.9vh, 18px)/1.4 var(--pr-type); letter-spacing: 0; color: #d2cec4; }
#start .start-fs { font-size: clamp(16px, 2.1vh, 21px); color: #e4e0d6; }
#screen #start .start-fs .bbtn { font-size: clamp(16px, 2.1vh, 21px); }
#screen #start .start-fs .bbtn.primary { border: 2px solid var(--pr-violet); color: var(--ink); }

/* ---------- Part 2.7 · THE TWO QUESTIONS (#likes): the answer you pick is what you press: the lit choice a violet block's
   edge and a violet dot, the questions' numbers in the violet, the typed lines at 17 px, a picked genre ticked in the violet ---------- */
html body #screen#screen#screen#screen #likes .eyebrow { font: 700 15px/1.3 var(--pr-type); letter-spacing: .04em; text-transform: uppercase; color: var(--pr-violet); }
html body #screen#screen#screen#screen #likes :is(h1, h2).likes-q::before { color: var(--pr-violet); font: 400 22px/1 var(--flyer); }
html body #screen#screen#screen#screen #likes .exp-pick > .mode.exp { padding-top: 14px; padding-bottom: 14px; }
html body #screen#screen#screen#screen #likes .exp-pick > .mode.exp b { font-size: clamp(28px, 3.6vh, 40px); }
html body #screen#screen#screen#screen #likes .exp-pick > .mode.exp :is(span, small, .small) { font: 700 16px/1.3 var(--pr-type); }
html body #screen#screen#screen#screen #likes .exp-pick > .mode.exp.on { box-shadow: inset 0 -5px 0 var(--pr-violet); background: color-mix(in srgb, var(--pr-violet) 12%, transparent); }
html body #screen#screen#screen#screen #likes .exp-pick > .mode.exp.on::before { background: var(--pr-violet); border-color: var(--pr-violet); box-shadow: 0 0 0 3px #0b0a0c, 0 0 0 5px var(--pr-violet); }
html body #screen#screen#screen#screen #likes .sub, html body #screen#screen#screen#screen #likes p { font-size: 17px; line-height: 1.4; }
html body #screen#screen#screen#screen #likes .chip { min-height: 60px; }
html body #screen#screen#screen#screen #likes .chip.on, html body #screen#screen#screen#screen #likes .chip[aria-pressed="true"] { border-color: var(--pr-violet); box-shadow: inset 0 -4px 0 var(--pr-violet); background: color-mix(in srgb, var(--pr-violet) 12%, transparent); }
html body #screen#screen#screen#screen #likes .chip.on::after, html body #screen#screen#screen#screen #likes .chip[aria-pressed="true"]::after { background-color: var(--pr-violet); border-color: var(--pr-violet); }

/* ---------- Part 2.8 · the footer clears the page's last row (QA BC-31: on Home at 1280×800 the footer's line sat on top
   of "More to learn"). Past day one Home is as long as the window or longer, so the footer goes after the page, at its
   end, never fixed over a line of it (as it already did once graduated and with Explore more open) ---------- */
body.home:not(.day-one) .buildbar { position: relative; right: auto; bottom: auto; opacity: 1; pointer-events: auto; box-sizing: border-box; height: 42px; padding: 6px 24px 14px; }
/* (self-QA round 3, the smoke's "Home fits the window": Home past day one can fill its window to the pixel (the menu's music
   playing adds the Now playing line), so there is no height to give a footer. It sits over the page's own empty bottom
   padding instead (44-48 px, measured), pulled up by its own height: the last line of the page, never over a row of it,
   and the page is not a pixel taller. A Home longer than its window scrolls and the footer is at its end.) */
body.home:not(.day-one) .buildbar { margin-top: -42px; }
@media (max-height: 790px) { body.home:not(.day-one) .buildbar { height: 29px; margin-top: -29px; padding: 3px 24px 4px; } }
#start .start-key { font-size: clamp(17px, min(2.9vh, 1.6vw), 31px); padding: 2.2vh 1.6vh 2vh; }

/* ---------- Part 2.9 · PLAN THE SET (the set builder: "a very basic design with small plain text"). The same clear, bold,
   one-colour-scheme treatment as the cards: its heads in the flyer face, the typed voice at 16-18 px, the violet for what
   you press (Add, Play this set) and what's next (the step you're on, the next slot, Fits after), a track's title the
   boldest thing on its row. Display only: every id, word and hit area is Main's ---------- */
html body #screen#screen#screen #setBuilder .sb-top h1 { font-size: clamp(44px, 5.6vh, 72px); line-height: .92; margin-bottom: 4px; }
html body #screen#screen#screen #setBuilder .sb-top p.sub { font: 700 clamp(16px, 2.05vh, 21px)/1.35 var(--pr-type); color: var(--pr-lit); max-width: none; }
html body #screen#screen#screen #setBuilder #sbGuidelines { margin-top: 2px; font: 700 clamp(13px, 1.8vh, 15px)/1.4 var(--pr-type); color: var(--pr-dim); }
html body #screen#screen#screen #setBuilder .sb-top .bbtn.ghost { font-size: 15px; }
/* the three steps: a numbered line, the one you're on in the violet */
html body #screen#screen#screen #setBuilder .sb-guide li { font: 700 clamp(14px, 1.9vh, 16px)/1.2 var(--pr-type); letter-spacing: 0; text-transform: none; }
html body #screen#screen#screen #setBuilder .sb-guide li .mono { font: 400 20px/1 var(--flyer); color: var(--pr-dim); }
html body #screen#screen#screen #setBuilder .sb-guide li[data-state="done"] .mono { color: var(--pr-ok); }
html body #screen#screen#screen #setBuilder .sb-guide li[data-state="now"] { box-shadow: inset 0 -4px 0 var(--pr-violet); color: #fff; }
html body #screen#screen#screen #setBuilder .sb-guide li[data-state="now"] .mono { color: var(--pr-violet); }
/* the night's brief over the builder: a ruled line, its label in the violet (it was a strip of paper) */
html body #screen#screen#screen #setBuilder .sb-night-brief { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin: 2px 0 clamp(4px, 1vh, 10px); padding: clamp(3px, .7vh, 7px) 0 clamp(2px, .6vh, 6px); border: 0; border-top: 3px solid var(--pr-paper); border-bottom: 1.5px solid var(--pr-rule2); background: none; }
html body #screen#screen#screen #setBuilder .sb-night-brief > * { width: auto; min-height: 0; }
html body #screen#screen#screen #setBuilder .tag.sb-btag { display: inline; padding: 0; border: 0; background: none; box-shadow: none; transform: none; font: 400 16px/1.15 var(--flyer); letter-spacing: .06em; text-transform: uppercase; color: var(--pr-violet); }
html body #screen#screen#screen #setBuilder .sb-night-brief > b { font: 400 clamp(20px, 2.6vh, 26px)/1.1 var(--flyer); letter-spacing: .02em; text-transform: uppercase; color: var(--pr-paper); }
html body #screen#screen#screen #setBuilder .sb-night-brief > .small { flex: 1 1 320px; font: 700 15px/1.35 var(--pr-type); color: var(--pr-print); }
html body #screen#screen#screen #setBuilder .sb-night-brief > svg { position: static; transform: none; align-self: center; flex: none; width: 120px; height: 34px; }   /* (self-QA round 3: it was still booth.css's absolute mini, its tip showing past the lane's edge) */
html body #screen#screen#screen #setBuilder .sb-night-brief .sb-mini polyline { stroke: var(--pr-violet); stroke-width: 3; }
/* the crate */
html body #screen#screen#screen #setBuilder .sb-crate > h3, html body #screen#screen#screen #setBuilder .sb-set > h3 { font: 400 clamp(18px, 2.6vh, 26px)/1 var(--flyer); letter-spacing: .03em; text-transform: uppercase; color: var(--pr-paper); margin-bottom: clamp(4px, 1vh, 10px); }
html body #screen#screen#screen #setBuilder .sb-crate :is(input, select) { font-size: 15px; }
html body #screen#screen#screen #setBuilder .sb-fits-h, html body #screen#screen#screen #setBuilder .sb-all > summary, html body #screen#screen#screen #setBuilder .sb-all > h4 { margin: clamp(4px, 1.3vh, 14px) 0 clamp(2px, .6vh, 6px); padding-top: clamp(4px, 1vh, 10px); border-top: 3px solid var(--pr-paper); font: 400 clamp(16px, 2.2vh, 20px)/1.1 var(--flyer); letter-spacing: .04em; text-transform: uppercase; color: var(--pr-violet); }
html body #screen#screen#screen #setBuilder .sb-all > summary, html body #screen#screen#screen #setBuilder .sb-all > h4 { color: var(--pr-paper); }
html body #screen#screen#screen #setBuilder .sb-gh { display: flex; align-items: baseline; gap: 10px; margin: clamp(4px, 1.2vh, 12px) 0 2px; }
html body #screen#screen#screen #setBuilder .sb-gh > b { font: 400 clamp(15px, 1.9vh, 17px)/1.1 var(--flyer); letter-spacing: .05em; text-transform: uppercase; color: var(--pr-paper); }
html body #screen#screen#screen #setBuilder .sb-gh > .mono { font: 700 15px/1 var(--num); color: var(--pr-violet); }
html body #screen#screen#screen #setBuilder .sb-gline, html body #screen#screen#screen #setBuilder .sb-gnone { font: 400 14px/1.4 var(--pr-face); color: var(--pr-print); }

html body #screen#screen#screen #setBuilder .sb-crow .sb-tl > b, html body #screen#screen#screen #setBuilder .sb-card .sb-tl > b { font: 700 17px/1.2 var(--pr-face); letter-spacing: 0; color: #fff; }
html body #screen#screen#screen #setBuilder .sb-crow .small.muted, html body #screen#screen#screen #setBuilder .sb-card .small.muted { font-size: 14px; color: var(--pr-print); }
html body #screen#screen#screen #setBuilder :is(.sb-crow, .sb-card) .sb-meta { font-size: 14px; color: var(--pr-lit); }
html body #screen#screen#screen #setBuilder .sb-crow .bbtn[data-sb="add"], html body #screen#screen#screen #setBuilder .sb-crow .bbtn[data-sb="use"] { min-height: 38px; padding: 0 16px; border: 2px solid var(--pr-violet); border-radius: 0; background: #0b0a0c; box-shadow: 2px 2px 0 color-mix(in srgb, var(--pr-violet) 45%, transparent); color: #fff; font: 400 17px/1 var(--flyer); letter-spacing: .06em; text-transform: uppercase; }
html body #screen#screen#screen #setBuilder .sb-crow .bbtn[data-sb="add"]:hover, html body #screen#screen#screen #setBuilder .sb-crow .bbtn[data-sb="use"]:hover { background: var(--pr-violet); color: #0b0710; }
/* the set: its name, its length, the curve (your energy the violet line and dots, the brief's arc the grey band) */
html body #screen#screen#screen #setBuilder .sb-shead .sb-name { font: 700 17px/1.2 var(--pr-face); min-height: 42px; }
html body #screen#screen#screen #setBuilder .sb-shead .sb-len .mono { font: 700 16px/1 var(--pr-face); color: var(--pr-lit); }
html body #screen#screen#screen #setBuilder .sb-plot .sb-en { stroke: var(--pr-violet); stroke-width: 3.5; }
html body #screen#screen#screen #setBuilder .sb-plot .sb-dot { width: 30px; height: 30px; margin: -15px 0 0 -15px; border: 0; background: var(--pr-violet); box-shadow: 0 0 0 3px #0b0a0c; color: #0b0710; font: 700 15px/30px var(--num); }
html body #screen#screen#screen #setBuilder .sb-plot .sb-dot.off { background: var(--pr-warn); }
html body #screen#screen#screen #setBuilder .sb-legend { font-size: 14px; color: var(--pr-print); }
html body #screen#screen#screen #setBuilder .sb-legend .lg.en::before { background: var(--pr-violet); }
html body #screen#screen#screen #setBuilder :is(.sb-bpm, .sb-num) { font-size: 13px; }
html body #screen#screen#screen #setBuilder .sb-note { border-left: 4px solid var(--pr-violet); font: 700 clamp(14px, 1.9vh, 16px)/1.4 var(--pr-type); color: var(--pr-lit); }
/* the lane: a track listing, each number in the flyer face; the next empty slot is what's next */

html body #screen#screen#screen #setBuilder :is(.sb-card, .sb-slot) > .sb-n { font: 400 26px/1 var(--flyer); color: var(--pr-paper); }
html body #screen#screen#screen #setBuilder .sb-slot > .sb-n { color: #8f8a7f; }
html body #screen#screen#screen #setBuilder .sb-slot .small { font: 700 15px/1.3 var(--pr-type); }
html body #screen#screen#screen #setBuilder .sb-lane > .sb-slot:not(.sb-slot ~ .sb-slot) { border: 2px dashed var(--pr-violet); background: color-mix(in srgb, var(--pr-violet) 8%, transparent); }
html body #screen#screen#screen #setBuilder .sb-lane > .sb-slot:not(.sb-slot ~ .sb-slot) > .sb-n { color: var(--pr-violet); }
html body #screen#screen#screen #setBuilder .sb-lane > .sb-slot:not(.sb-slot ~ .sb-slot) .small { color: var(--pr-lit); }
html body #screen#screen#screen #setBuilder .sb-why li { font: 700 15px/1.35 var(--pr-type); }
/* the check, and the one thing to press */
html body #screen#screen#screen #setBuilder #sbCheck p { font: 700 clamp(14px, 1.8vh, 15px)/1.36 var(--pr-type); color: var(--pr-lit); }
html body #screen#screen#screen #setBuilder #sbCheck p.small { font-size: clamp(14px, 1.8vh, 15px); color: var(--pr-print); }
html body #screen#screen#screen #setBuilder #sbCheck .sb-ck { margin-right: 10px; font: 400 15px/1 var(--flyer); letter-spacing: .06em; text-transform: uppercase; color: var(--pr-violet); }
html body #screen#screen#screen #setBuilder #sbCheck p[data-problem="true"] .sb-ck, html body #screen#screen#screen #setBuilder #sbCheck p.sb-fit[data-ok="false"] .sb-ck { color: var(--pr-warn); }
html body #screen#screen#screen #setBuilder .sb-play .bbtn.primary { min-height: clamp(40px, 5.2vh, 54px); padding: 0 30px; font-size: clamp(20px, 2.7vh, 28px); }
html body #screen#screen#screen #setBuilder .sb-play .bbtn.primary:not(:disabled) { box-shadow: 5px 5px 0 var(--pr-paper); }
html body #screen#screen#screen #setBuilder .sb-play .bbtn:not(.primary) { font-size: 15px; }
html body #screen#screen#screen #setBuilder .sb-how > summary { font: 700 16px/1.4 var(--pr-type); }
html body #screen#screen#screen #setBuilder .sb-how li { font-size: 15px; }
/* Set mode's page: the starter sets' cards and Your sets, the same heads */
html body #screen#screen#screen .setcard :is(h3, h4, b.sb-sname), html body #screen#screen#screen .sb-starter > b { font-family: var(--flyer); font-weight: 400; letter-spacing: .03em; text-transform: uppercase; }
html body #screen#screen#screen .setcard .sb-sline, html body #screen#screen#screen .setcard .sb-stracks { font-size: 15px; }

/* ---------- Part 2.10 · THE NIGHTS: the board and the brief, the same clear, bold treatment. The board: the next night ringed
   in the violet (what's next), its name the biggest caption. The brief: its eyebrow and goal in the violet, the room's arc
   the violet line (what the room wants), the rules typed and big where the window has the room (one screen from 1280×720
   still: the sizes grow with the window's height), and the shape line (Main's .nb-shape > .nb-shape-words +
   .nb-shape-nums): the shape in words, typed and lit, its numbers in the violet ---------- */
html body #screen#screen#screen .nights-board .nb-top h1 { font-size: clamp(48px, 7.4vh, 84px); }
html body #screen#screen#screen .nights-board .nb-top :is(p.sub, .sub) { font: 700 clamp(16px, 2.1vh, 20px)/1.35 var(--pr-type); color: var(--pr-lit); }
html body #screen#screen#screen .nights-board .nb-count { font: 700 15px/1.3 var(--pr-face); color: var(--pr-lit); }
html body #screen#screen#screen .nights-board .night .night-n { font: 400 15px/1.2 var(--flyer); letter-spacing: .06em; color: var(--pr-dim); }
html body #screen#screen#screen .nights-board .night .night-name { font: 700 clamp(16px, 2vh, 19px)/1.2 var(--pr-face); }
html body #screen#screen#screen .nights-board .night .night-mark { font: 700 14px/1.25 var(--pr-face); letter-spacing: .02em; }
html body #screen#screen#screen .nights-board .night[data-now="true"] > .flyer, html body #screen#screen#screen .nights-board .night[data-now="true"] .flyer { outline: 4px solid var(--pr-violet); outline-offset: 0; box-shadow: 6px 6px 0 var(--pr-paper); }
html body #screen#screen#screen .nights-board .night[data-now="true"] .night-n { color: var(--pr-violet); }
html body #screen#screen#screen .nights-board .night[data-now="true"] .night-mark { display: inline-block; justify-self: start; padding: 2px 8px 1px; background: var(--pr-violet); color: #0b0710; font: 400 15px/1.15 var(--flyer); letter-spacing: .06em; text-transform: uppercase; }
/* the brief */
html body #screen#screen#screen .night-brief .nb-body > .eyebrow { font: 700 clamp(14px, 1.75vh, 16px)/1.3 var(--pr-type); letter-spacing: .04em; text-transform: uppercase; color: var(--pr-violet); }
html body #screen#screen#screen .night-brief .nb-title { font-size: clamp(46px, 5.8vh, 92px); line-height: .92; }
html body #screen#screen#screen .night-brief .nb-venue { font: 700 clamp(16px, 2vh, 22px)/1.3 var(--pr-type); color: var(--pr-lit); }
html body #screen#screen#screen .night-brief .nb-slot { font: 400 clamp(13px, 1.7vh, 16px)/1.35 var(--pr-face); color: var(--pr-print); }
html body #screen#screen#screen .night-brief .goal-box .goal-line { font: 400 clamp(13px, 1.65vh, 17px)/1.1 var(--flyer); letter-spacing: .06em; text-transform: uppercase; color: var(--pr-violet); }
html body #screen#screen#screen .night-brief .goal-box .goal-line b { font: 700 clamp(17px, 2.2vh, 24px)/1.25 var(--pr-type); letter-spacing: 0; text-transform: none; color: #fff; }
html body #screen#screen#screen .night-brief .goal-box { border-color: var(--pr-paper); background: #0b0a0c; }
html body #screen#screen#screen .night-brief .nb-arc-h { font: 700 clamp(14px, 1.8vh, 17px)/1.3 var(--pr-type); letter-spacing: 0; color: var(--pr-lit); }
html body #screen#screen#screen .night-brief .nb-plot polyline { stroke: var(--pr-violet); stroke-width: 5; }
html body #screen#screen#screen .night-brief .nb-ax { font: 700 13px/1 var(--num); color: var(--pr-lit); }
html body #screen#screen#screen .night-brief .nb-rules > li { font: 700 clamp(15px, 1.85vh, 19px)/1.34 var(--pr-type); color: var(--pr-lit); }
html body #screen#screen#screen .night-brief .nb-why { font-size: clamp(14px, 1.8vh, 17px); color: var(--pr-print); }
html body #screen#screen#screen .night-brief .nb-why-k { margin-right: 8px; font: 400 clamp(14px, 1.8vh, 17px)/1 var(--flyer); letter-spacing: .06em; text-transform: uppercase; color: var(--pr-violet); }
html body #screen#screen#screen .night-brief .nb-crate > h3 { font: 400 clamp(14px, 1.75vh, 19px)/1.15 var(--flyer); letter-spacing: .06em; text-transform: uppercase; color: var(--pr-paper); }
html body #screen#screen#screen .night-brief .nb-track .sb-tl > b { font: 700 clamp(15px, 1.8vh, 18px)/1.2 var(--pr-face); color: #fff; }
html body #screen#screen#screen .night-brief .nb-track :is(.small, .sb-meta) { font-size: clamp(13px, 1.7vh, 15px); color: var(--pr-print); }
html body #screen#screen#screen .night-brief .nb-more { font-size: clamp(13px, 1.7vh, 15px); }
html body #screen#screen#screen .night-brief .nb-acts .bbtn:not(.primary) { font: 400 clamp(18px, 2.4vh, 24px)/1 var(--flyer); letter-spacing: .05em; text-transform: uppercase; color: var(--pr-paper); border: 2px solid var(--pr-paper); border-radius: 0; background: none; }
html body #screen#screen#screen .night-brief .nb-acts .bbtn:not(.primary) .small { font: 400 13px/1.2 var(--pr-face); letter-spacing: .02em; text-transform: none; color: var(--pr-print); }
html body #screen#screen#screen .night-brief .nb-acts .bbtn:not(.primary):hover { background: var(--pr-paper); color: #0b0a0c; }
html body #screen#screen#screen .night-brief .nb-acts .bbtn:not(.primary):hover .small { color: #0b0a0c; }
/* the shape line */
html body #screen#screen#screen .night-brief .nb-shape { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; margin: clamp(2px, .6vh, 8px) 0; min-width: 0; }
html body #screen#screen#screen .night-brief .nb-shape-words { font: 700 clamp(15px, 2vh, 20px)/1.3 var(--pr-type); letter-spacing: 0; color: #fff; }
html body #screen#screen#screen .night-brief .nb-shape-nums { font: 700 clamp(15px, 2vh, 20px)/1.3 var(--num); letter-spacing: .02em; font-variant-numeric: tabular-nums; color: var(--pr-violet); white-space: nowrap; }
html body #screen#screen#screen .night-brief:has(.nb-shape) .nb-plot { height: clamp(36px, 5.4vh, 64px); }
html body #screen#screen#screen .night-brief:has(.nb-shape) .nb-plot svg { height: 100%; }

/* ---------- Part 3.1 · THE ROOM'S METER (#roomMeter, booth-lights.js: on a night and in Set mode). A tall meter at the lanes'
   right edge, in the eye-line while mixing (it was a slim bar in the header: "too small, a player forgets it's there").
   The room's energy now is its fill; where the brief wants it is the violet line across it (violet: what's wanted next);
   on the line the fill is the LED green, over it the pale yellow, under it the paper's white. The big number is the room's
   energy, the small one on the violet tag the brief's. Under it the night's running floor. Transform and opacity only ---------- */
body[data-room-meter] #screen.decks-screen > .wfs { margin-right: clamp(58px, 4.6vw, 84px); }
#screen.decks-screen > .wfs > #roomMeter.room-meter { --rm-w0: clamp(50px, 4vw, 74px); position: absolute; z-index: 2; top: 0; bottom: 0; right: calc(-1 * clamp(58px, 4.6vw, 84px)); width: var(--rm-w0); box-sizing: border-box; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; justify-items: center; row-gap: 5px; padding: 6px 0 5px; background: #0b0a0c; box-shadow: 0 0 0 1px var(--pr-rule2); pointer-events: none; -webkit-user-select: none; user-select: none; }
#roomMeter .rm-k { font: 400 clamp(13px, 1.1vw, 17px)/1 var(--flyer); letter-spacing: .08em; text-transform: uppercase; color: var(--pr-paper); }
#roomMeter .rm-col { position: relative; width: clamp(20px, 1.7vw, 30px); min-height: 0; height: 100%; box-sizing: border-box; border: 2px solid #8b857a; background: repeating-linear-gradient(0deg, transparent 0 calc(10% - 1px), rgba(244, 236, 220, .28) calc(10% - 1px) 10%), #17161a; }
#roomMeter .rm-fill { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; transform-origin: 50% 100%; transform: scaleY(var(--rm-e, 0)); background: var(--pr-paper); transition: transform .35s ease-out, background-color .3s; }
#roomMeter[data-state="on"] .rm-fill { background: var(--pr-ok); }
#roomMeter[data-state="over"] .rm-fill { background: var(--pr-warn); }
#roomMeter .rm-want { position: absolute; left: -11px; right: -11px; bottom: 0; height: 100%; pointer-events: none; transform: translateY(calc((1 - var(--rm-w, 0)) * 100%)); transition: transform .6s ease-out; }
#roomMeter .rm-want::before { content: ''; position: absolute; left: 0; right: 0; top: -3px; height: 6px; background: var(--pr-violet); box-shadow: 0 0 0 2px #0b0a0c; }
#roomMeter .rm-want > b { position: absolute; left: 50%; top: -3px; transform: translate(-50%, -100%); min-width: 20px; padding: 2px 4px 1px; background: var(--pr-violet); color: #0b0710; font: 700 clamp(13px, 1.05vw, 16px)/1 var(--num); text-align: center; box-shadow: 0 0 0 2px #0b0a0c; }
#roomMeter[data-brief="false"] .rm-want { display: none; }
#roomMeter .rm-n { min-height: 1em; font: 400 clamp(26px, 2.3vw, 40px)/.95 var(--flyer); color: var(--pr-paper); }
#roomMeter[data-state="on"] .rm-n { color: var(--pr-ok); }
#roomMeter[data-state="over"] .rm-n { color: var(--pr-warn); }
#roomMeter .rm-floor { display: grid; justify-items: center; row-gap: 1px; padding-top: 4px; border-top: 2px solid var(--pr-rule2); width: 100%; }
#roomMeter .rm-floor > span { font: 400 12px/1 var(--flyer); letter-spacing: .08em; text-transform: uppercase; color: var(--pr-print); }
#roomMeter .rm-floor > b { font: 700 clamp(14px, 1.15vw, 18px)/1 var(--num); color: var(--pr-lit); }
#roomMeter[data-floor="pass"] .rm-floor > b { color: var(--pr-ok); }
#roomMeter[data-floor="low"] .rm-floor > b { color: var(--pr-warn); }
#roomMeter[data-floor="none"] .rm-floor { display: none; }
@media (prefers-reduced-motion: reduce) { #roomMeter .rm-fill, #roomMeter .rm-want { transition: none; } }
/* filming and the clean studio screen never show it */
body.film #roomMeter, body.studio-clean #roomMeter { display: none; }
body.film[data-room-meter] #screen.decks-screen > .wfs { margin-right: 0; }

/* ---------- Part 2.11 · the result cards' type on the black card: the two lines that matter (what went well, the one fix)
   at 17 px with their labels in the violet; NOT YET in the pale yellow (never red, and no longer the print's white); the
   rows' labels 15 px ---------- */
html body #screen#screen#screen .coach-card p.coach-good, html body #screen#screen#screen .coach-card p.coach-fix { padding-left: 150px; text-indent: -150px; font: 700 17px/1.4 var(--pr-type); }
html body #screen#screen#screen .coach-card p.coach-good > .coach-k, html body #screen#screen#screen .coach-card p.coach-fix > .coach-k { width: 150px; font: 400 16px/1.3 var(--flyer); letter-spacing: .06em; text-transform: uppercase; color: var(--pr-violet); }
html body #screen#screen#screen .pass-line[data-pass="false"] .pl-word, html body #screen#screen#screen .pass-line[data-pass="no"] .pl-word { color: var(--pr-warn); }
html body #screen#screen#screen .res-scores > div { font-size: 15px; }
html body #screen#screen#screen .result > p:not(.pass-line):not(.grad-title), html body #screen#screen#screen .result .res-line, html body #screen#screen#screen .kn-card > p:not(.pass-line) { font-size: 17px; }
html body #screen#screen#screen .result .coach-xp, html body #screen#screen#screen .result .coach-xp .xp-up { font-size: 15px; }
/* the night's card: its parts' labels and lines */
html body #screen#screen#screen .night-card .nc-ph, html body #screen#screen#screen .night-card .fp-name { font: 400 16px/1.2 var(--flyer); letter-spacing: .06em; text-transform: uppercase; color: var(--pr-violet); }
html body #screen#screen#screen .night-card .nc-part[data-cost="true"] .fp-name { color: var(--pr-warn); }
html body #screen#screen#screen .night-card .nc-line { font-size: 15px; }
html body #screen#screen#screen .night-card .nc-sum { font-size: clamp(16px, 2.1vh, 20px); }
html body #screen#screen#screen .night-card .nc-curve polyline:first-of-type, html body #screen#screen#screen .night-card .nc-curve .nc-arc { stroke: var(--pr-violet); opacity: .8; }
/* Your first set's build screen (2.3): the same heads and sizes as the cards */
html body #screen#screen[data-route^="set/first"] .eyebrow { font: 700 15px/1.3 var(--pr-type); letter-spacing: .04em; text-transform: uppercase; color: var(--pr-violet); }
html body #screen#screen[data-route^="set/first"] .goal-box .goal-line { font: 400 clamp(15px, 1.9vh, 18px)/1.15 var(--flyer); letter-spacing: .06em; text-transform: uppercase; color: var(--pr-violet); }
html body #screen#screen[data-route^="set/first"] .goal-box .goal-line b { font: 700 clamp(18px, 2.3vh, 22px)/1.3 var(--pr-type); letter-spacing: 0; text-transform: none; color: #fff; }
html body #screen#screen[data-route^="set/first"] :is(p.sub, .sb-first-line, .set-build > p) { font-size: 17px; line-height: 1.4; color: var(--pr-lit); }
/* (the chip while it answers the hand: its off-register edge gives way, so the calm coach's own ring is the only thing that moves
   round it; the box stays the violet: it is still what you press, only its word takes the tone) */
html body.decks-on #screen.decks-screen #hudBanner .banner-ctl[data-tone="adjust"], html body.decks-on #screen.decks-screen #hudBanner .banner-ctl[data-tone="early"], html body.decks-on #screen.decks-screen #hudBanner .banner-ctl:has(> .banner-target[data-tone="adjust"]), html body.decks-on #screen.decks-screen #hudBanner .banner-ctl:has(> .banner-target[data-tone="early"]) { box-shadow: none; }
/* Knob School's tiles' head over the room's light: the lit print (the quiet grey read 4.48:1 on a warm room) */
html body.decks-on #screen.decks-screen #ksTiles .ks-tiles-h { color: var(--pr-lit); }

/* ---------- self-QA round 1 ---------- */
/* a teach gate's OK: the one thing to press while the lesson waits, so it reads as one: the violet block, the flyer face
   in capitals, the paper's edge, and it breathes (as the waiting state's button does; still under reduced motion) */
html body.decks-on #screen.decks-screen #hudBanner .banner-ok { height: 28px; min-width: 96px; margin: -1px 0 -5px; padding: 0 22px; border: 0; border-radius: 0; background: var(--pr-violet); color: #0b0710; font: 400 17px/1 var(--flyer); letter-spacing: .06em; text-transform: uppercase; box-shadow: 2px 2px 0 var(--pr-paper); }
html body.decks-on #screen.decks-screen #hudBanner .banner-ok:hover { background: var(--pr-violet-hi); box-shadow: 4px 4px 0 #fff; }
@media (prefers-reduced-motion: no-preference) { html body.decks-on #screen.decks-screen #hudBanner .banner-ok { animation: bl-wait 1.9s ease-in-out infinite; } }
/* the intro card's picture grows with the window (its frame is as tall as the title and the lines beside it) */
html body #screen#screen#screen#screen .intro-pic .kn > .knob { width: clamp(50px, 6.6vh, 78px); height: clamp(50px, 6.6vh, 78px); }
html body #screen#screen#screen#screen .intro-pic .kn { grid-template-columns: minmax(46px, 1fr) clamp(50px, 6.6vh, 78px); }
html body #screen#screen#screen#screen .intro-pic .mcol.deckB .kn { grid-template-columns: clamp(50px, 6.6vh, 78px) minmax(46px, 1fr); }
html body #screen#screen#screen#screen .intro-pic .kn > .knob > i { top: 8%; height: 30%; transform-origin: 50% 140%; }
html body #screen#screen#screen#screen .intro-pic .mcol { row-gap: clamp(10px, 1.6vh, 20px); }
html body #screen#screen#screen#screen .intro-pic .kn > .kn-name { font-size: clamp(17px, 2.2vh, 24px); }
html body #screen#screen#screen#screen .intro-pic .kn > .kn-name > .kn-sub { font-size: clamp(12.5px, 1.5vh, 15px); }
html body #screen#screen#screen#screen .intro-pic .mcol > .dk { font-size: clamp(17px, 2.2vh, 24px); }
/* (a short window, 720-760 high: the chip two pixels a side shorter, so a two-line sentence over it still fits the banner's own room and the lanes never move) */
@media (max-height: 760px) {
  html body.decks-on #screen.decks-screen #hudBanner .banner-ctl, html body.decks-on #screen.decks-screen #hudBanner .banner-ctl[data-deck="A"], html body.decks-on #screen.decks-screen #hudBanner .banner-ctl[data-deck="B"], html body.decks-on #screen.decks-screen #hudBanner[data-deck] .banner-ctl[data-tone] { min-height: 26px; font-size: 14px; }
  html body.decks-on #screen.decks-screen #hudBanner .banner-ctl .banner-target, html body.decks-on #screen.decks-screen #hudBanner .banner-ctl .banner-target[data-tone] { font-size: 14px; }
}
/* Knob School's card: its two lines' labels as every result card's (the violet, the flyer face), the lines at 17 px */
html body #screen#screen#screen .ks-card .coach-card div.coach-k, html body #screen#screen#screen .ks-card .coach-card .coach-k { font: 400 16px/1.3 var(--flyer); letter-spacing: .06em; text-transform: uppercase; color: var(--pr-violet); }
html body #screen#screen#screen .ks-card .coach-card p, html body #screen#screen#screen .ks-card .coach-card .coach-good, html body #screen#screen#screen .ks-card .coach-card .coach-fix { font-size: 17px; }

/* design/beginner-look, self-QA round 2 (design-check --deep, the labels row: 4.3:1 behind "Tempo fader" as an impact's
   white lands on a glowing room, on main too): the tempo row stands on its own near-black ground in the deep room, as the
   knobs' names and the tags already do, so its words keep their contrast whatever the room does. */
body.room-deep:not(.slow-frames) #screen.decks-screen .decks3 > .panel label.slider { background-color: rgba(9, 8, 11, .78); box-shadow: 0 0 0 3px rgba(9, 8, 11, .78); }
/* self-QA round 2: the energy bars on a set's card had no name on screen (a beginner saw three bars and a 7, 7, 6): the
   curve's own aria-label (Main's words: "The set's energy, track by track") is shown in the label column beside it, as NICE and
   FIX THIS NEXT are; at 760 px high or less the curve is main's height again, so the card's buttons stay on the first screen. */
html body #screen#screen .result .set-energy:not(.flat), html body #resultSlot.slot-set .set-card[data-graduated] .sc-side > .set-energy:not(.flat) { position: relative; padding-left: 158px; }
html body #screen#screen .result .set-energy:not(.flat)::before { content: attr(aria-label); position: absolute; left: 0; top: 8px; width: 140px; font: 400 15px/1.2 var(--flyer); letter-spacing: .06em; text-transform: uppercase; color: var(--pr-violet); white-space: normal; }
@media (max-height: 760px) { html body #screen#screen .result .set-energy:not(.flat), html body #resultSlot.slot-set .set-card[data-graduated] .sc-side > .set-energy:not(.flat) { height: 50px; min-height: 0; margin-top: -8px; padding-top: 2px; padding-bottom: 20px; } html body #screen#screen .result .set-energy:not(.flat)::before { top: 2px; font-size: 14px; } }
/* self-QA round 3: Chapter 1's two ways on are equal (Carry on · Stop here: "a reward and a place to stop"): one size, one
   face. The first had kept the big button's flyer face and height, the second the typed line (on main too). */
html body #screen#screen#screen#screen .chapter-card .chapter-go { align-items: stretch; }
html body #screen#screen#screen#screen .chapter-card .chapter-go .bbtn.big { min-height: 58px; padding: 10px 16px; font: 400 22px/1.1 var(--flyer); letter-spacing: .04em; text-transform: uppercase; }

/* ====================================================================================================================
   THE BEGINNER'S LOOK, PASS 2 (design/beginner-look-2, 21 Nov 2026: Dean rated pass 1 7/10: "the screens still don't
   read at a glance"). Main's real markup, readable sentences, the room's energy, the pages. docs/LOOK.md's first
   section is the spec; each part below has its own block, in this order:
     P2·0  the reading face (Lexend for every sentence; the typewriter for small labels, numbers and tags)
     P2·1  the look on Main's real markup (the waits, the intro card, the walk-through, the new hooks)
     P2·2  readable sentences (the sweep: every instruction and line in the reading face, 13 px and up; the mixer's
           labels; the lesson screen's gap)
     P2·3  the room's energy (THE ROOM strip, the brief's blocks)
     P2·4  the pages and words (Plan the set, Free mix's strip, a goal reached, the set's card, the title, Home)
     P2·5  the lights (a slow laptop's cheap room, the lane frames' flood, the notice)
     P2·6  the self-QA's fixes
   ==================================================================================================================== */

/* ---------- P2·0 · THE READING FACE (Dean's decision, 21 Nov): every instruction and sentence a player reads is Lexend
   (made for reading: wide open letters, in any first language). The look's "typed voice" token (--pr-type) is
   re-pointed to it, so every line written for the voice follows. 'Afters Read' is Lexend under the voice's weights:
   the voice was Courier Prime BOLD (700) because a typewriter face needs the weight to hold on black; Lexend at 700
   shouts, so the voice's 700 is Lexend SemiBold (600) and its 800 Lexend Bold. 400 and 500 are themselves.
   The typewriter (--pr-typed: Courier Prime) stays for small labels, numbers and tags only; Anton for headings. ---------- */
@font-face { font-family: 'Lexend'; font-weight: 400; font-display: block; src: url(fonts/lexend-400.woff2) format('woff2'); }
@font-face { font-family: 'Lexend'; font-weight: 500; font-display: block; src: url(fonts/lexend-500.woff2) format('woff2'); }
@font-face { font-family: 'Lexend'; font-weight: 600; font-display: block; src: url(fonts/lexend-600.woff2) format('woff2'); }
@font-face { font-family: 'Afters Read'; font-weight: 400; font-display: block; src: url(fonts/lexend-400.woff2) format('woff2'); }
@font-face { font-family: 'Afters Read'; font-weight: 500; font-display: block; src: url(fonts/lexend-500.woff2) format('woff2'); }
@font-face { font-family: 'Afters Read'; font-weight: 600 700; font-display: block; src: url(fonts/lexend-600.woff2) format('woff2'); }
@font-face { font-family: 'Afters Read'; font-weight: 800; font-display: block; src: url(fonts/lexend-700.woff2) format('woff2'); }
:root {
  --read: 'Afters Read', 'Lexend', 'Helvetica Neue', Arial, sans-serif;      /* every sentence a player reads */
  --pr-typed: 'Courier Prime', 'Courier New', monospace;                     /* the typewriter: small labels, numbers, tags */
  --pr-type: var(--read);                                                    /* the voice follows */
}

/* ---------- P2·1 · THE LOOK ON MAIN'S REAL MARKUP ---------- */
/* Pass 1 styled these hooks on stand-ins; Main has built them (fix/beginner-first-session). Each rule below is on Main's
   own markup, shot for real by scripts/design-beginner-scenes/p1-markup.js. Nothing renamed, no word changed. */

/* --- the waits (body[data-waiting]): the calls dim with the lanes (Knob School's tiles are the calls' row: the round is
   over, nothing to read there); the round's own line under the button stays lit --- */
html body[data-waiting] #screen.decks-screen #ksTiles { opacity: .32; filter: saturate(.35); transition: opacity .3s ease-out, filter .3s ease-out; }
html body[data-waiting] #screen.decks-screen #ksStrip { opacity: .5; }
html body[data-waiting] #screen.decks-screen #hudSub .said { color: var(--pr-lit); }
/* the wait keeps the lesson's own height where it can, so the lanes and the decks don't jump when a wait starts or ends
   (on the real markup a two-line wait line with the 72 px button pushed the mixer 32 px under an 800 px window in 1.3):
   the banner's side room (kept clear for the controller's drawing, hidden while waiting) goes to the line, so "That was
   the walk-through. Press Space for the real mix. Waiting for you." is one line at 1280; the button 60 px */
html body[data-waiting] #screen.decks-screen #hudBanner { padding-left: 12px; padding-right: 12px; }
html body[data-waiting] #screen.decks-screen #hudDia { visibility: hidden; }
html body[data-waiting] #screen.decks-screen #hudBanner .banner-text.wait-line, html body[data-waiting].decks-on #screen.decks-screen #hudBanner .banner-text.wait-line { font-size: clamp(28px, 2.7vw, 44px); }
html body[data-waiting] #screen.decks-screen #hudBanner .banner-row { margin-top: 8px; margin-bottom: 6px; }
html body[data-waiting] #screen .bbtn.primary.big.wait-go, html body[data-waiting].decks-on #screen.decks-screen #hudBanner .bbtn.primary.big.wait-go { min-height: 60px; font-size: clamp(26px, 2.3vw, 38px); }
/* "Round 1 again" beside the one button (.wait-again, Main's small key): words only, underlined, big enough to read and
   to hit, never a second button shape beside the go */
html body #screen#screen .bbtn.wait-again, html body.decks-on #screen#screen.decks-screen #hudBanner .bbtn.wait-again { min-height: 44px; padding: 0 6px; border: 0; background: none; box-shadow: none; color: var(--pr-lit); font: 600 16px/1.2 var(--read); letter-spacing: 0; text-transform: none; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; white-space: nowrap; }
html body #screen#screen .bbtn.wait-again:hover { color: #fff; text-decoration-color: var(--pr-violet); }
/* a card that waits: the card's own primary is the go (Main adds .wait-go to it). It keeps the card's button size (the
   banner's 72 px block is the banner's), breathing as the banner's does */
html body #screen#screen :is(.result, .kn-card, .ks-card, .ft-win, .set-card, .chapter-card, .ft-intro, #swapIntro) .bbtn.primary.big.wait-go { min-height: 58px; padding: 0 30px; font: 400 clamp(24px, 2.1vw, 32px)/1 var(--flyer); }

/* --- Knob School's own introduction (#ksIntroBox.ks-intro-box in #ksBox, while data-waiting="intro"): a black card laid
   OVER the dimmed lanes and the calls' row (it was a plain box in the flow that pushed the mixer off the window). #ksBox
   keeps no height, so nothing under it moves when the box comes or goes. Its four lines are numbered, two by two, in the
   reading face --- */
html body #screen#screen.decks-screen #ksBox.ks-intro-up { position: relative; z-index: 6; height: 0; margin: 0; padding: 0; overflow: visible; }
html body #screen#screen.decks-screen #ksIntroBox.ks-intro-box { position: absolute; left: 0; right: 0; bottom: 8px; box-sizing: border-box; margin: 0; padding: 20px 26px 16px; border: 0; border-radius: 0; background: #131117; color: var(--pr-lit); box-shadow: inset 0 6px 0 var(--pr-violet), 0 0 0 1px rgba(244, 236, 220, .14), 0 26px 44px -18px #000; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); column-gap: 30px; row-gap: 10px; align-items: start; counter-reset: ksi; }
html body #screen#screen.decks-screen #ksIntroBox > h3.sect { grid-column: 1; grid-row: 1 / span 2; align-self: center; margin: 0; padding: 0 26px 0 0; border: 0; border-right: 2px solid var(--pr-paper); color: var(--pr-paper); font: 400 clamp(30px, 2.6vw, 44px)/.95 var(--flyer); letter-spacing: .02em; text-transform: uppercase; max-width: 4.6em; }
html body #screen#screen.decks-screen #ksIntroBox > h3.sect::before { content: none; }
html body #screen#screen.decks-screen #ksIntroBox > p { position: relative; margin: 0; padding: 2px 0 2px 38px; color: var(--pr-lit); font: 500 clamp(15px, 1.2vw, 19px)/1.38 var(--read); letter-spacing: 0; text-wrap: pretty; counter-increment: ksi; }
html body #screen#screen.decks-screen #ksIntroBox > p::before { content: counter(ksi); position: absolute; left: 0; top: -1px; color: var(--pr-violet); font: 400 clamp(24px, 1.9vw, 30px)/1 var(--flyer); }
html body #screen#screen.decks-screen #ksIntroBox > p:last-child { color: var(--pr-warn); }   /* "The first four calls are practice. No score.": the line that takes the worry away */

/* --- 1.3's board in the HUD (#ftBoard.moves-board[data-kind="first"]): 2.1's board, as it is (the same class); the lanes'
   status line ("tempo matched · beats lined up") lives on the lanes since design/no-overlaps (frame.css section 3) --- */
html body #screen.decks-screen .moves-board .mb-tile > b { font: 800 17px/1.1 var(--read); letter-spacing: .02em; }

/* --- the walk-through tag (.walk-tag in #hudLead, Main's words): pass 1's stamp, in the typewriter (a tag), never under
   the track's toast (booth.js's toastPlace now counts the lead's tag and count as text to stay clear of) --- */
html body #screen .walk-tag { font: 400 15px/1.15 var(--flyer); padding: 4px 10px 2px; }

/* --- 2.3's walk-through card (.set-card[data-walk]): its headline is a whole sentence (Main's words), so it is set as one:
   the reading face, sentence case, not the flyer's capitals; the eyebrow says what this was, in the violet --- */
html body #screen#screen #resultSlot .set-card[data-walk] { max-width: 880px; margin-inline: auto; padding: 34px 38px 30px; }
html body #screen#screen #resultSlot .set-card[data-walk] > .eyebrow { margin: 0 0 12px; color: var(--pr-violet); font: 400 17px/1 var(--flyer); letter-spacing: .08em; text-transform: uppercase; }
html body #screen#screen #resultSlot .set-card[data-walk] > h2 { max-width: 30em; margin: 0 0 22px; padding: 0 0 22px; border-bottom: 3px solid var(--pr-paper); color: var(--pr-lit); font: 600 clamp(22px, 2vw, 30px)/1.3 var(--read); letter-spacing: 0; text-transform: none; text-wrap: balance; }
html body #screen#screen #resultSlot .set-card[data-walk] .sc-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 0; padding: 0; border: 0; }

/* --- 2.3's build screen: the line beside the two buttons (.sb-walk-line): a sentence, lit, in the reading face --- */
html body #screen#screen .sb-go .sb-walk-line { flex: 1 1 18em; max-width: 34em; margin: 0 0 0 6px; color: var(--pr-lit); font: 500 16px/1.4 var(--read); letter-spacing: 0; text-wrap: pretty; }

/* --- the two questions: "More music is on its way." (.likes-more): a quiet line, never smaller than the print's floor --- */
html body #screen#screen .likes-more { margin: 8px 0 0; color: var(--pr-print); font: 500 15px/1.4 var(--read); letter-spacing: 0; }

/* --- a NOT YET card's points (.coach-xp.quiet[data-notyet]): one quiet line, nothing that reads as a prize --- */
html body #screen#screen .coach-xp.quiet[data-notyet] { display: block; margin: 8px 0 0; color: var(--paper-dim, var(--pr-print)); font: 500 15px/1.4 var(--read); letter-spacing: 0; }
html body #screen#screen .coach-xp.quiet[data-notyet] .xp-gain { margin-right: .3em; color: inherit; font: 600 15px/1.4 var(--read); letter-spacing: 0; }

/* --- the night's brief: the energy line under the shape (.nb-energy-line): the shape's own explanation, on its own
   line, in the reading face --- */
html body #screen#screen .night-brief .nb-shape .nb-energy-line { flex: 1 0 100%; margin: 4px 0 0; color: var(--pr-print); font: 500 15px/1.4 var(--read); letter-spacing: 0; }
/* (P2·1 rules go above this line) */



/* ---------- P2·2 · READABLE SENTENCES ---------- */
/* --- the lesson screen's dead gap (Dean: "the gap between the instruction and the lanes closes; the lanes take the
   room"). It was 1.1's teach: Knob School's score strip (58 px in the HUD) and its calls' row (76 px under the lanes)
   were held empty from the screen's first draw. While the teach runs (body[data-walk="teach"], Main's hook) they are
   out of the flow, and booth-waves' lanesFit gives the room to the lane (164 -> 298 px at 1280×800). They come back at
   the hand-over, which is a wait (Knob School's intro box over the dimmed lanes, the music dipped): one change, at a
   moment the player is reading a card, never under a step. Every other lesson already fills its window. --- */
html body[data-walk="teach"] #screen.decks-screen #ksStrip, html body[data-walk="teach"] #screen.decks-screen #ksTiles { display: none; }

/* --- THE MIXER'S OWN LABELS (Dean: "play / pause", "load track", "headphone cue", "tempo fader" read at 1280×800:
   bigger, capitals where they name a control, as LOW / MID / HIGH already are). Every control's name on the plate is
   B612 bold capitals at 13 px or more (they were 12-12.5 px lower case): the keys PLAY / PAUSE · CUE · SYNC 14 px, LOAD
   TRACK, HEADPHONE CUE, TEMPO FADER, CROSSFADER, VOLUME, TRIM, FILTER, MASTER 13 px; the bands' plain words under LOW /
   MID / HIGH 13 px. The mixer's inner gaps go from 14 to 8 px so HEADPHONE fits its key on one line at 1280. --- */
html body #screen#screen#screen.decks-screen .decks3 .dbtns .bbtn.tbtn { font: 700 14px/1 var(--pr-face); letter-spacing: .03em; text-transform: uppercase; }
html body #screen#screen#screen.decks-screen .decks3 .ldwrap > .bbtn.sm { font: 700 13px/1 var(--pr-face); letter-spacing: 0; text-transform: uppercase; padding-left: 5px; padding-right: 5px; white-space: nowrap; }
html body #screen#screen#screen.decks-screen .decks3 .deckp > .row > .dk { letter-spacing: .02em; }   /* (the room LOAD TRACK's capitals took is given back to the track's name: "Virtual Acid" whole at 1280) */
html body #screen#screen#screen.decks-screen .decks3 .deckp > .row { column-gap: 6px; }
html body #screen#screen#screen.decks-screen .decks3 .bbtn.sm.pfl { font: 700 13px/1.12 var(--pr-face); letter-spacing: 0; text-transform: uppercase; padding-left: 1px; padding-right: 1px; }
html body #screen#screen#screen.decks-screen .decks3 .mcol { --p2-gap: calc(clamp(8px, 1.1vw, 24px) - 6px); --side: max(84px, calc(var(--kd) * .86 + 44px)); column-gap: var(--p2-gap); }   /* the 18 px the three gaps give up is the side column's: the mixer is as wide as it was */
html body #screen#screen#screen.decks-screen .decks3 .mcol.deckA { background-position: calc(100% - var(--fw) - 10px - var(--p2-gap) * 1.5) 50%; }
html body #screen#screen#screen.decks-screen .decks3 .mcol.deckB { background-position: calc(var(--fw) + 10px + var(--p2-gap) * 1.5) 50%; }
html body #screen#screen#screen.decks-screen .decks3 .deckp > .row > .dk, html body #screen#screen#screen.decks-screen .decks3 .mcol > .dk { text-transform: uppercase; }
html body #screen#screen#screen.decks-screen .decks3 label.kn > .kn-name { font-size: 13px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
html body #screen#screen#screen.decks-screen .decks3 label.kn > .kn-name > .kn-sub { font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: lowercase; }
html body #screen#screen#screen.decks-screen .decks3 label.kn[data-kn="eqHigh"] > .kn-name, html body #screen#screen#screen.decks-screen .decks3 label.kn[data-kn="eqMid"] > .kn-name, html body #screen#screen#screen.decks-screen .decks3 label.kn[data-kn="eqLow"] > .kn-name { font-size: 15px; letter-spacing: .06em; }
html body #screen#screen#screen.decks-screen .decks3 label.vf, html body #screen#screen#screen.decks-screen .decks3 label.slider, html body #screen#screen#screen.decks-screen .decks3 .mixer .row.small > .grow { font-size: 13px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
html body #screen#screen#screen.decks-screen .decks3 .mixer .row.small > .mono, html body #screen#screen#screen.decks-screen .decks3 .mcol > .dk { font-size: 13px; }
html body #screen#screen#screen.decks-screen .decks3 .deckp .muted.small { font-size: 13px; text-transform: uppercase; letter-spacing: .03em; }
/* the crossfader's note ("held in the middle: mix with the volume faders [Sound settings]") is a sentence: the reading face, 13 px */
html body #screen#screen#screen.decks-screen .decks3 #xfTag.tag { font: 500 13px/1.15 var(--read); letter-spacing: 0; text-transform: none; }

/* --- THE SWEEP, 1: sentences that were still in B612 (the dense print) go to the reading face. On every page but the
   deck screens, Home and the set pages (P2·4a's), a paragraph, a list line, a definition, a radio's line, a summary and
   an alert are prose: the print's token is re-pointed ON them (so every older rule written with var(--pr-face) for one
   of them follows, at its own size and weight) and the face set for the ones that only inherited it. What stays B612:
   anything .mono (numbers, keys, BPM, catalogue numbers), the keys (.bbtn), the header and the plate. --- */
html body #screen:not(.decks-screen):not([data-route="menu"]):not([data-route="set"]):not([data-route^="set/"]) :is(p, dd, dt, li, label, summary, .alert, figcaption, .sub, .lr-title, .lr-artist):not(.mono):not(.crumb):not(.kn):not(.vf):not(.slider) { --pr-face: var(--read); --mono: var(--read); --lm-face: var(--read); font-family: var(--read); }
html body #screen:not(.decks-screen):not([data-route="menu"]):not([data-route="set"]):not([data-route^="set/"]) :is(p, dd, dt, li, label, summary, .alert) :is(.mono, kbd, .bbtn, .tag, select, input) { --pr-face: 'B612', 'Verdana', sans-serif; --mono: 'B612', 'Verdana', sans-serif; --lm-face: 'B612', 'Verdana', sans-serif; }
/* a night's brief: its slot line is a sentence too ("11 till half past, before the headliner · 4 tracks, about 15 minutes of music") */
html body #screen#screen .night-brief .nb-slot { font-family: var(--read); letter-spacing: 0; }
/* a card over the decks (a result, the night's card, Knob School's, the chapter's): its lines too */
html body #screen :is(#resultSlot, #knWin, #ftWin, .result, .ks-card, .kn-card, .chapter-card, .night-card) :is(p, li, dd, .nc-line, .coach-xp, .st-word):not(.mono) { --pr-face: var(--read); --mono: var(--read); --lm-face: var(--read); font-family: var(--read); }
html body #screen :is(#resultSlot, #knWin, #ftWin, .result, .ks-card, .kn-card, .chapter-card, .night-card) :is(p, li, dd, .nc-line, .coach-xp, .st-word) :is(.mono, kbd, .bbtn, .tag) { --pr-face: 'B612', 'Verdana', sans-serif; --mono: 'B612', 'Verdana', sans-serif; --lm-face: 'B612', 'Verdana', sans-serif; }
html body #screen#screen :is(.result, .night-card, .ks-card) .coach-xp { font-family: var(--read); letter-spacing: 0; }
html body #screen#screen :is(.result, .night-card, .ks-card) .coach-xp .mono, html body #screen#screen :is(.result, .night-card, .ks-card) .coach-xp.mono b { font-family: var(--num); }
/* the plate's two sentences: an empty deck's line, the tempo fader's hint */
html body #screen#screen#screen.decks-screen .decks3 .deckp .ttl.empty { font: 500 14px/1.3 var(--read); letter-spacing: 0; }
html body #screen#screen#screen.decks-screen .decks3 label.slider > .muted.tiny { font: 500 13px/1.2 var(--read); letter-spacing: 0; text-transform: none; }
/* the toast: a sentence said to the player (it was 12.5 px B612) */
html body #btoast#btoast.btoast { font: 500 14px/1.3 var(--read); letter-spacing: 0; }

/* --- THE SWEEP, 2: the typewriter keeps its small jobs (Dean: "only for small labels, numbers and tags"): a tape
   label and an eyebrow's tag on the dark base are typed, as the look's tape recipe has them --- */
html body .tag:not(.walk-tag), html body #screen:not(.decks-screen):not([data-route^="set/first"]) .tag { font-family: var(--pr-typed); }

/* --- THE SWEEP, 3: nothing under 13 px anywhere a player reads (it was 12; scripts/design-look-print.js). The page's
   chrome, the lesson's lead, the menus' marks, the dense pages' small print: each was 12 or 12.5 px --- */
html body #booth#booth#booth#booth#booth#booth :is(footer.buildbar #reportBtn, footer.buildbar #buildBadge, footer.buildbar .report-say, footer.buildbar .analytics-note, #conn #connText, #conn #connect, #crumb, #crumb > *, .room-tabs .soon-tag) { font-size: 13px; }
html body #booth#booth#booth#booth#booth#booth #screen.decks-screen :is(.hud-top .eyebrow, .hud-top > .bbtn.sm, #hudLead .coach-count, #hudLead > .bbtn.sm, .coach-nav .bbtn.sm, .wv-legend > .wv-k, .wv-zoom > b, .cfx-b > .cfx-n, .cfx-b > .cfx-l, .mixer > .bbtn.sm, .mixer > .bbtn.sm .fg-end, .mixer > .bbtn.sm .fg-key) { font-size: 13px; }
html body #booth#booth#booth#booth#booth#booth #screen :is(.intro-pic .kn-sub, .intro-pic label.vf, .intro-pic .kn-name) { font-size: 13px; }
html body #booth#booth#booth#booth#booth#booth #screen :is(.ch-tile > .ch-mark, .night-cap .night-n, .night-cap .night-mark, .chapter-h > .eyebrow, .chapter-h > .small, .arc-stage > .small, .ch-best > .ks-k, .hero-level > span, .nr-h > a.small, .mode > .tag, .tag.mn-chip, .mn-next-tag, li.locked > .small, .mn-notice > .tag, .lr-tags > .tag, details > summary, .rel-cat, .tag.rec-first, h3 > .tag, p.small > .tag, .it > .tag, .panel.stat > span, .panel.stat > i, .tiny, .cal-hint, #log p, .checklist > .grp, .krow > kbd, .nc-plot > .nc-tn, .nc-plot > .nc-flag, .sb-meta > span, .sb-track > .sb-genre) { font-size: 13px; }
html body #booth#booth#booth#booth#booth#booth #screen svg#diagram text { font-size: 13px; letter-spacing: -.045em; }   /* (a touch tighter, so a 13 px name keeps to its own key: "LOAD B" ran onto BROWSE) */
/* the deck's own keys under the fold (Nudge back / forward, Fix the beat grid, Click on beats): 13 px */
html body #booth#booth#booth#booth#booth#booth #screen.decks-screen .decks3 .deckp .drow > .bbtn.sm { font-size: 13px; }/* (P2·2 rules go above this line) */



/* ---------- P2·3 · THE ROOM'S ENERGY ---------- */
/* THE ROOM strip (#roomStrip, booth-lights.js; QA BP-05: the crowd's meter was 12.5 px print and a 120 × 4 px bar in the page
   header, and not the room's energy at all). One strip in the row under the instruction, on its own solid ground (the deep
   room glows behind it), never dimmed with the instruction: its name (the flyer face), the night's blocks with NOW under the
   one playing, WANTS · PLAYING as its biggest words (16 px and up, Lexend), what comes next under them, the crowd's one
   word at its right end. On a set's screen it shares the legend's row (the legend moves to the right; the lanes give 18 px);
   in Free mix it has a row of its own, 36 px, taken from the lanes (18 px each), so the decks never move.
   The contract's names (Main may build it): #roomStrip[data-mode="night|crowd|bedroom"] > .rs-name + .rs-blocks >
   .rs-block[data-i][data-word][data-now][data-played][data-join="clean|clash"] + .rs-wants + .rs-next + .rs-mood. */
#crowdMeter.crowd-meter { display: none !important; }   /* the crowd's meter left the page header */
body.studio-clean #roomStrip.room-strip { display: none; }   /* (the filming page's clean screen: as the old meter was) */
#roomStrip.room-strip { --rs-rgb: 239, 234, 223; --rs-h: 44px; position: relative; z-index: 3; box-sizing: border-box; display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; grid-template-areas: "name blocks wants wants" "name blocks next mood"; grid-template-rows: auto auto; align-content: center; align-items: center; column-gap: clamp(12px, 1.1vw, 20px); row-gap: 1px; min-width: 320px; height: var(--rs-h); min-height: 32px; margin: 0 0 4px; padding: 0 14px 0 0; background: #0b0a0c; border: 1px solid rgba(236, 235, 228, .34); border-left: 0; box-shadow: inset 5px 0 0 rgb(var(--rs-rgb)); opacity: 1 !important; filter: none !important; white-space: nowrap; overflow: hidden; color: var(--pr-lit); font: 600 16px/1.15 var(--read); }
#roomStrip .rs-name { grid-area: name; padding-left: 17px; font: 400 clamp(15px, 1.15vw, 19px)/1 var(--flyer); letter-spacing: .08em; text-transform: uppercase; color: var(--pr-paper); }
#roomStrip .rs-blocks { grid-area: blocks; align-self: center; display: flex; align-items: stretch; gap: 4px; box-sizing: border-box; height: calc(var(--rs-h) - 2px); padding: 3px 0 15px; }
#roomStrip .rs-block { height: 100%; }
#roomStrip .rs-blocks:empty { display: none; }
#roomStrip .rs-block { position: relative; flex: none; width: clamp(30px, 2.5vw, 40px); font-style: normal; }
#roomStrip .rs-block::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; box-sizing: border-box; height: calc((var(--e, 5) - 3) * 16.67%); min-height: 5px; max-height: 100%; border: 2px solid #8b857a; background: rgba(239, 234, 223, .07); }
#roomStrip .rs-block > .rs-fill { position: absolute; left: 2px; right: 2px; bottom: 2px; height: calc((var(--h, 3) - 3) * 16.67% - 2px); max-height: calc(100% - 2px); min-height: 2px; background: var(--pr-paper); transition: height .6s ease; }
#roomStrip .rs-block[data-played]::before { border-color: #8b857a; }
#roomStrip .rs-block[data-played] > .rs-fill { background: #b9b2a4; }
#roomStrip .rs-block[data-now]::before { border-color: var(--pr-violet); background: color-mix(in srgb, var(--pr-violet) 16%, transparent); }
#roomStrip .rs-block > .rs-now { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 1px; font: 800 13px/13px var(--read); letter-spacing: .04em; color: var(--pr-violet); }
#roomStrip .rs-block[data-join]::after { content: ''; position: absolute; left: -4px; top: 0; bottom: 0; width: 4px; background: rgb(var(--rs-rgb)); }
#roomStrip .rs-block[data-join="clash"]::after { background: #8fa4cf; }
#roomStrip .rs-wants { grid-area: wants; min-width: 0; overflow: hidden; text-overflow: ellipsis; font: 500 clamp(16px, 1.25vw, 21px)/1.12 var(--read); letter-spacing: .01em; color: var(--pr-lit); }
#roomStrip .rs-wants .rs-k { font-weight: 500; color: var(--pr-print); }
#roomStrip .rs-wants b { font-weight: 800; color: #fff; }
#roomStrip .rs-wants .rs-dot { color: var(--pr-dim); }
#roomStrip .rs-wants .rs-ok { font-style: normal; font-weight: 800; color: var(--pr-ok); }
#roomStrip .rs-next { grid-area: next; min-width: 0; overflow: hidden; text-overflow: ellipsis; font: 800 clamp(14px, 1.1vw, 18px)/1.12 var(--read); letter-spacing: .03em; color: var(--pr-violet); }
#roomStrip .rs-wants:empty, #roomStrip .rs-next:empty { display: none; }
#roomStrip[data-mode="night"][data-join="clean"] .rs-next { color: #fff; }
#roomStrip[data-mode="night"][data-join="clean"] .rs-next::before { content: ''; display: inline-block; width: .62em; height: .62em; margin-right: .45em; background: rgb(var(--rs-rgb)); }
#roomStrip[data-join="clash"] .rs-next, #roomStrip[data-mode="crowd"][data-join="clash"] .rs-mood { color: #a9bade; }   /* the steel blue (the crowd bar's own cool for a clash): never red */
#roomStrip[data-join="clash"] { box-shadow: inset 5px 0 0 #8fa4cf; }
#roomStrip .rs-mood { grid-area: mood; justify-self: end; display: inline-flex; align-items: center; gap: .5em; font: 800 clamp(16px, 1.25vw, 21px)/1.12 var(--read); letter-spacing: .04em; color: #fff; }
#roomStrip .rs-wants:empty ~ .rs-mood { grid-row: 1 / -1; }
#roomStrip .rs-mood:empty { display: none; }
#roomStrip .rs-mood::before { content: ''; flex: none; width: .62em; height: .62em; background: rgb(var(--rs-rgb)); }
#roomStrip[data-mood="quiet"] .rs-mood { color: var(--pr-print); }
#roomStrip[data-mood="quiet"] .rs-mood::before { background: none; box-shadow: inset 0 0 0 2px #8b857a; }
#roomStrip[data-mode="bedroom"] .rs-mood::before { display: none; }
#roomStrip[data-mode="bedroom"] .rs-mood { color: var(--pr-lit); }
#roomStrip[data-mode="bedroom"][data-join="clean"] .rs-mood { color: var(--pr-ok); }
#roomStrip[data-mode="bedroom"] .rs-next { color: var(--pr-violet); }
/* Free mix and a set with no night: THE CROWD, a bar 200 × 8 px, the one word */
#roomStrip[data-mode="crowd"] { --rs-h: 36px; grid-template-columns: auto auto auto; grid-template-areas: "name blocks mood"; grid-template-rows: auto; justify-self: start; width: max-content; }
#roomStrip[data-mode="crowd"] .rs-blocks { align-self: center; height: auto; padding: 0; }
#roomStrip[data-mode="crowd"] .rs-mood { justify-self: start; min-width: 7.2em; }
#roomStrip[data-mode="crowd"] .rs-mood::before { display: none; }
#roomStrip .rs-bar { position: relative; display: block; width: 200px; height: 8px; overflow: hidden; background: rgba(236, 235, 228, .16); }
#roomStrip .rs-bar > i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--rs-e, 0)); background: rgb(var(--rs-rgb)); transition: transform .3s linear; }
#roomStrip[data-join="clash"] .rs-bar > i { background: #8fa4cf; }
@media (prefers-reduced-motion: reduce) { #roomStrip .rs-bar > i, #roomStrip .rs-block > .rs-fill { transition: none; } }
/* its place: a set's screen (the HUD above): the legend's row, the strip on the left, the legend moved right */
@media (min-width: 1000px) {
  html body #screen.decks-screen.decks-hud > #roomStrip.room-strip { grid-column: 1; align-self: center; }
  html body #screen.decks-screen.decks-hud.rs-up > .wv-legend { grid-column: 2; justify-self: end; align-self: center; margin-bottom: 4px; }
  html body #screen.decks-screen.decks-hud.rs-up > .wv-legend > .grow { display: none; }
  /* Free mix (no HUD): a row of its own under the instruction's row; its 36 px + 4 come out of the lanes (20 px each), so nothing under them moves */
  html body #screen.decks-screen:not(.decks-hud) > #roomStrip.room-strip { grid-row: 4; grid-column: 1 / -1; }
  html body #screen#screen.decks-screen:not(.decks-hud).rs-up .wf { height: clamp(96px, calc((100vh - 508px) / 2), 250px); }
}
@media (min-width: 1000px) and (min-height: 980px) {
  html body #screen#screen.decks-screen:not(.decks-hud).rs-up .wf { height: clamp(96px, calc((100vh - 508px) / 2), 236px); }
}
@media (min-width: 1000px) and (max-height: 760px) { #roomStrip.room-strip { --rs-h: 40px; } #roomStrip[data-mode="crowd"] { --rs-h: 32px; } #roomStrip .rs-blocks { padding: 3px 0 15px; } }
@media (min-width: 1700px) { #roomStrip.room-strip { --rs-h: 54px; } #roomStrip[data-mode="crowd"] { --rs-h: 40px; } #roomStrip .rs-blocks { padding: 5px 0 18px; } #roomStrip .rs-block > .rs-now { font-size: 14px; } #roomStrip .rs-bar { width: 260px; height: 10px; } }

/* THE BRIEF'S BLOCKS (QA BP-06: "a row of numbers and a faint band"; the contract's names, Main may write them: .nb-blocks >
   .nb-block[data-word][style="--e:7"] > .nb-block-word + .nb-block-n). One block per track, as tall as the energy the night
   wants there (3 at the floor, 9 and over at the top: the nights ask for 4 to 9, so a step is easy to see), its word under it ("TRACK 3 · busy"), the number small in its corner. The
   blocks are the wanted energy, so they are the violet as print (the darker one: the page's one violet button stays the
   brightest thing). Night 1 has no blocks: two join marks. On a night's brief they take the faint band's place. */
.nb-blocks { --nb-h: 84px; --nb-word: 20px; position: relative; box-sizing: border-box; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); align-items: end; column-gap: 6px; height: var(--nb-h); padding: 0 0 var(--nb-word); margin: 4px 0; }
.nb-blocks > .nb-block { position: relative; box-sizing: border-box; height: calc((var(--e, 5) - 3) * 16.67%); min-height: 8px; max-height: 100%; background: var(--pr-violet-paper); border-top: 3px solid var(--pr-violet); }
.nb-blocks > .nb-block > .nb-block-word { position: absolute; left: 0; right: 0; top: 100%; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 15px/var(--nb-word) var(--read); letter-spacing: .01em; color: var(--pr-lit); }
.nb-blocks > .nb-block > .nb-block-n { position: absolute; top: 1px; right: 6px; font: 700 13px/16px var(--num); color: #fff; }
.nb-blocks > .nb-block[style*="--e:2"] > .nb-block-n, .nb-blocks > .nb-block[style*="--e:3"] > .nb-block-n, .nb-blocks > .nb-block[style*="--e:4"] > .nb-block-n { top: -19px; }
.nb-blocks[data-n="5"], .nb-blocks[data-n="6"] { column-gap: 4px; }
.nb-blocks > .nb-block:first-child:nth-last-child(n+5) ~ .nb-block > .nb-block-word, .nb-blocks > .nb-block:first-child:nth-last-child(n+5) > .nb-block-word, html body #screen#screen#screen .night-brief .nb-blocks > .nb-block:first-child:nth-last-child(n+5) > .nb-block-word, html body #screen#screen#screen .night-brief .nb-blocks > .nb-block:first-child:nth-last-child(n+5) ~ .nb-block > .nb-block-word { font-size: clamp(13px, 1.02vw, 19px); letter-spacing: -.01em; }
.nb-blocks.nb-joins { display: flex; align-items: center; height: auto; min-height: 34px; padding: 0; column-gap: 0; }
.nb-blocks.nb-joins::before, .nb-blocks.nb-joins::after, .nb-blocks.nb-joins > .nb-join + .nb-join::before { content: ''; flex: 1 1 0; height: 0; border-top: 3px solid #8b857a; }
.nb-blocks.nb-joins > .nb-join + .nb-join { flex: 1 1 0; display: flex; align-items: center; }
.nb-blocks.nb-joins > .nb-join > b { flex: none; display: inline-block; padding: 5px 12px 4px; border: 2px solid var(--pr-violet); background: #0b0a0c; font: 800 15px/1 var(--read); letter-spacing: .05em; color: #fff; }
/* on a night's brief: the blocks are the drawing (the faint band and its two grid numbers go); the sizes follow the window's height, so the brief still fits one screen */
html body #screen#screen#screen .night-brief .nb-blocks { --nb-h: clamp(48px, 7vh, 100px); --nb-word: clamp(17px, 2.3vh, 24px); margin: clamp(1px, .3vh, 6px) 0 clamp(3px, .6vh, 8px); }
html body #screen#screen#screen .night-brief .nb-blocks > .nb-block > .nb-block-word { font-size: clamp(14px, 1.9vh, 19px); }
html body #screen#screen#screen .night-brief .nb-blocks > .nb-block > .nb-block-n { font-size: clamp(13px, 1.6vh, 16px); }
html body #screen#screen#screen .night-brief .nb-curve:has(> .nb-blocks) > .nb-plot { display: none; }
html body #screen#screen#screen .night-brief .nb-blocks.nb-joins { margin: clamp(4px, .8vh, 10px) 0; }
/* Plan the set for a night: the blocks once in the brief's own row (the mini curve goes), and once, faint, behind the energy
   curve: the curve's own columns and scale (energy 1 at its foot, 10 at its top), so your line is read against them */
html body #screen#screen#screen #setBuilder .sb-night-brief > .nb-blocks { flex: 1 0 100%; --nb-h: 62px; --nb-word: 19px; margin: 6px 0 2px; }
html body #screen#screen#screen #setBuilder .sb-night-brief:has(> .nb-blocks) > .sb-mini { display: none; }
html body #screen#screen#screen #setBuilder .sb-curve > .sb-plot { position: relative; }
html body #screen#screen#screen #setBuilder .sb-curve > .sb-plot > .nb-blocks.nb-behind { position: absolute; inset: 0; z-index: 0; height: auto; margin: 0; padding: 0; column-gap: 0; pointer-events: none; }
html body #screen#screen#screen #setBuilder .sb-curve > .sb-plot > .nb-blocks.nb-behind > .nb-block { height: calc((var(--e, 5) - 1) / 9 * 100%); margin: 0 3px; background: color-mix(in srgb, var(--pr-violet) 15%, transparent); border-top: 2px solid color-mix(in srgb, var(--pr-violet) 60%, transparent); }
html body #screen#screen#screen #setBuilder .sb-curve > .sb-plot > .nb-blocks.nb-behind > .nb-block > :is(.nb-block-word, .nb-block-n) { display: none; }
html body #screen#screen#screen #setBuilder .sb-curve > .sb-plot > :is(svg, .sb-dot) { z-index: 1; }
html body #screen#screen#screen #setBuilder .sb-curve > .sb-plot > svg { position: relative; }
/* a night's card: the blocks under its curve, compact */
html body .night-card .nb-blocks { --nb-h: 58px; --nb-word: 19px; margin: 2px 0 6px; }
html body .night-card .nb-blocks > .nb-block > .nb-block-word { font-size: 14px; color: var(--pr-lit); }
/* (P2·3 rules go above this line) */



/* ---------- P2·4a · THE PAGES (Plan the set, Build a set, a starter set, the set's card, the title, Home, Night 1's button) ---------- */
/* ---------- P2·4a.1 · THE SET BUILDER (QA BP-07: Plan the set, Build a set, a starter set's page). The Tricks page's
   clarity: THE SET IS THE ONE CARD (the black card: the brief its header, then the set's name, the curve, the tracks,
   and at its foot the checks and the one violet PLAY THIS SET); the crate stays the dark list beside it. Display only:
   every id, word and hit area is Main's. The frame is one grid over #sbBody (.sb-main's two columns flattened into it
   with display: contents), so the brief strip sits on top of the set's column and reads as the card's own header
   without a node moved. ---------- */
html body #screen#screen#screen #setBuilder #sbBody:has(> .sb-main) { display: grid; grid-template-columns: minmax(320px, 400px) minmax(0, 1fr); column-gap: 16px; align-items: start; }
html body #screen#screen#screen #setBuilder #sbBody:has(> .sb-main) > .sb-guide { grid-column: 1 / -1; grid-row: 1; margin-bottom: clamp(4px, 1.1vh, 12px); }
html body #screen#screen#screen #setBuilder #sbBody > .sb-main { display: contents; }
html body #screen#screen#screen #setBuilder #sbBody:has(> .sb-main) > .sb-briefs { grid-column: 2; grid-row: 2; }
html body #screen#screen#screen #setBuilder #sbBody > .sb-main > .sb-crate { grid-column: 1; grid-row: 2 / span 2; }
html body #screen#screen#screen #setBuilder #sbBody > .sb-main > .sb-set { grid-column: 2; grid-row: 3; }
@media (max-width: 1180px) { html body #screen#screen#screen #setBuilder #sbBody:has(> .sb-main) { grid-template-columns: minmax(300px, 340px) minmax(0, 1fr); } }
/* the lead: a night's lead line repeats the brief that is the card's header now (the brief once) */
html body #screen#screen#screen #setBuilder[data-night] .sb-top p.sub { display: none; }
html body #screen#screen#screen #setBuilder .sb-top { margin-bottom: clamp(4px, 1vh, 10px); }
html body #screen#screen#screen #setBuilder #sbGuidelines { font: 500 clamp(14px, 1.85vh, 16px)/1.4 var(--read); color: var(--pr-print); }
html body #screen#screen#screen #setBuilder .sb-guide li { color: var(--pr-print); }
html body #screen#screen#screen #setBuilder .sb-guide li[data-state="now"] { color: var(--pr-lit); }
html body #screen#screen#screen #setBuilder .sb-guide .bbtn.ghost.sm { font-size: 14px; }

/* the card's header: the brief, once. The sheet starts here (the violet band on top) and runs on into .sb-set under it */
html body #screen#screen#screen #setBuilder #sbBody:has(> .sb-main) > .sb-briefs { position: relative; z-index: 1; box-sizing: border-box; margin: 0; padding: clamp(14px, 2.2vh, 22px) 24px clamp(8px, 1.2vh, 12px); border: 1px solid rgba(244, 236, 220, .14); border-bottom: 0; border-radius: 0; background: #131117; box-shadow: inset 0 6px 0 var(--pr-violet); }
html body #screen#screen#screen #setBuilder #sbBody > .sb-main > .sb-set { margin: 0; padding: 0 24px clamp(10px, 1.6vh, 18px); border: 1px solid rgba(244, 236, 220, .14); border-top: 0; border-radius: 0; background: #131117; box-shadow: 0 26px 44px -18px #000; }
html body #screen#screen#screen #setBuilder .tag.sb-btag { font: 400 clamp(15px, 2vh, 18px)/1.15 var(--flyer); letter-spacing: .08em; color: var(--pr-violet); }
/* (a) a night's brief: THE BRIEF, the night's name huge, its line in the reading face; the small arc gives way to the blocks */
html body #screen#screen#screen #setBuilder .sb-night-brief { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; border-top: 1px solid rgba(244, 236, 220, .14); }
html body #screen#screen#screen #setBuilder .sb-night-brief > b { font: 400 clamp(26px, 3.9vh, 40px)/1 var(--flyer); letter-spacing: .02em; text-transform: uppercase; color: var(--pr-paper); }
html body #screen#screen#screen #setBuilder .sb-night-brief > .small { flex: 1 1 100%; order: 3; font: 600 clamp(15px, 2.05vh, 18px)/1.35 var(--read); color: var(--pr-lit); }
html body #screen#screen#screen #setBuilder .sb-night-brief > svg.sb-mini { order: 2; margin-left: auto; width: 132px; height: clamp(24px, 3.6vh, 36px); }
html body #screen#screen#screen #setBuilder .sb-night-brief:has(.nb-blocks) > svg.sb-mini { display: none; }
html body #screen#screen#screen #setBuilder .sb-night-brief > .nb-blocks { order: 4; flex: 1 1 100%; }
/* (b) Build a set: the three briefs are the header's three choices; the one picked is lit, with the violet under it */
html body #screen#screen#screen #setBuilder .sb-briefs[role="radiogroup"] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; }
html body #screen#screen#screen#screen #setBuilder #sbBody > .sb-briefs[role="radiogroup"] { padding-top: clamp(12px, 1.9vh, 18px); padding-bottom: clamp(4px, .8vh, 8px); }
html body #screen#screen#screen #setBuilder .sb-briefs[role="radiogroup"]::before { content: attr(aria-label); grid-column: 1 / -1; margin-bottom: 2px; font: 400 clamp(15px, 2vh, 18px)/1.15 var(--flyer); letter-spacing: .08em; text-transform: uppercase; color: var(--pr-violet); }
html body #screen#screen#screen#screen #setBuilder .sb-briefs .mode.sb-brief { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-height: 0; padding: clamp(4px, .8vh, 8px) 0 clamp(5px, .9vh, 9px) 0; border: 0; border-radius: 0; border-bottom: 4px solid rgba(244, 236, 220, .16); background: none; box-shadow: none; text-align: left; }
html body #screen#screen#screen#screen #setBuilder .sb-briefs .mode.sb-brief > b { padding-right: 72px; font: 400 clamp(20px, 2.9vh, 28px)/1.05 var(--flyer); letter-spacing: .03em; text-transform: uppercase; color: var(--pr-print); }
html body #screen#screen#screen#screen #setBuilder .sb-briefs.none-on .mode.sb-brief > b { color: var(--pr-paper); }   /* (Main, full chain 22 Nov: booth-setbuild's class for no brief chosen; the :not(:has()) it replaces cost 38 ms of style a second at 4x on every screen) */
html body #screen#screen#screen#screen #setBuilder .sb-briefs .mode.sb-brief > .small { font: 500 clamp(13px, 1.75vh, 15px)/1.3 var(--read); color: var(--pr-print); }
html body #screen#screen#screen#screen #setBuilder .sb-briefs .mode.sb-brief > .small.mono { font: 700 13px/1.3 var(--pr-face); letter-spacing: 0; white-space: nowrap; color: var(--pr-dim); }
html body #screen#screen#screen#screen #setBuilder .sb-briefs .mode.sb-brief > svg.sb-mini { position: absolute; right: 4px; top: clamp(4px, .8vh, 8px); width: 60px; height: 24px; transform: none; }
html body #screen#screen#screen#screen #setBuilder .sb-briefs .mode.sb-brief.on { border-bottom-color: var(--pr-violet); }
html body #screen#screen#screen#screen #setBuilder .sb-briefs .mode.sb-brief.on > b { color: var(--pr-paper); }
html body #screen#screen#screen#screen #setBuilder .sb-briefs .mode.sb-brief.on > .small:not(.mono) { color: var(--pr-lit); }
html body #screen#screen#screen#screen #setBuilder .sb-briefs .mode.sb-brief.on .sb-mini polyline { stroke: var(--pr-violet); stroke-width: 3; }
html body #screen#screen#screen#screen #setBuilder .sb-briefs .mode.sb-brief:hover > b { color: var(--pr-paper); }
/* (c) a starter set: STARTER SET, then the set's own line, big */
html body #screen#screen#screen #setBuilder .sb-briefs.sb-why-top { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
html body #screen#screen#screen #setBuilder .sb-why-top > #sbSetLine { display: block; min-height: calc(2.7em + 6px); font: 600 clamp(15px, 2.05vh, 18px)/1.35 var(--read); color: var(--pr-lit); }   /* (two lines kept: the line changes as a track is moved, and the tracks under it must not move with it) */

/* the set's name and length: one slim row; the brief's name beside it was the brief again */
html body #screen#screen#screen #setBuilder .sb-shead { gap: 10px; }
html body #screen#screen#screen #setBuilder .sb-shead > .tag.sb-btag { display: none; }
html body #screen#screen#screen #setBuilder .sb-shead .sb-name { min-height: clamp(34px, 4.6vh, 42px); font: 600 16px/1.2 var(--read); color: var(--pr-lit); background: #0b0a0c; }
html body #screen#screen#screen #setBuilder .sb-shead .sb-len .mono { font: 700 15px/1 var(--pr-face); letter-spacing: 0; color: var(--pr-lit); }
html body #screen#screen#screen #setBuilder .sb-shead .sb-len .bbtn { font-size: 18px; color: var(--pr-lit); }

/* the curve is the page's picture: twice its height (112 → 224; a laptop's 80 → 160; a 720 window's 50 → 100), the
   brief's blocks behind it (fork B's .nb-blocks in .sb-plot), your energy the violet line and dots over them */
html body #screen#screen#screen #setBuilder .sb-curve { margin: 0 0 clamp(2px, .8vh, 10px); }
html body #screen#screen#screen#screen #setBuilder .sb-plot { height: 224px; margin: 0 6px; border-bottom: 2px solid rgba(244, 236, 220, .3); }
@media (max-height: 860px) { html body #screen#screen#screen#screen #setBuilder .sb-plot { height: 160px; } }
@media (max-height: 760px) { html body #screen#screen#screen#screen #setBuilder .sb-plot { height: 100px; } }
html body #screen#screen#screen #setBuilder .sb-plot .sb-grid { stroke: rgba(244, 236, 220, .12); }
html body #screen#screen#screen #setBuilder .sb-plot .sb-arc { stroke: rgba(244, 236, 220, .2); stroke-width: 14; }
html body #screen#screen#screen #setBuilder .sb-plot:has(.nb-blocks) .sb-arc { stroke: rgba(244, 236, 220, .3); stroke-width: 3; }
html body #screen#screen#screen #setBuilder .sb-plot .sb-en { stroke: var(--pr-violet); stroke-width: 4; }
html body #screen#screen#screen #setBuilder .sb-plot .sb-dot { width: 34px; height: 34px; margin: 0; border: 0; background: var(--pr-violet); box-shadow: 0 0 0 3px #131117; color: #0b0710; font: 700 17px/34px var(--num); }
html body #screen#screen#screen #setBuilder .sb-plot .sb-dot.off { background: var(--pr-warn); }
html body #screen#screen#screen #setBuilder .sb-plot .sb-empty { font: 600 clamp(15px, 2vh, 17px)/1.4 var(--read); color: var(--pr-print); }
html body #screen#screen#screen #setBuilder .sb-tline { height: 22px; margin-top: 2px; }
html body #screen#screen#screen #setBuilder .sb-tline .sb-tempo { stroke: var(--deckB, #9fd8ff); }
html body #screen#screen#screen #setBuilder .sb-bpm { background: #131117; font: 700 13px/1 var(--pr-face); letter-spacing: 0; color: var(--pr-print); }
html body #screen#screen#screen #setBuilder .sb-nums { height: 20px; }
html body #screen#screen#screen #setBuilder .sb-num { font: 400 17px/1 var(--flyer); color: var(--pr-print); }
html body #screen#screen#screen #setBuilder .sb-legend { gap: 6px 18px; margin: 2px 0 0; font: 500 14px/1.3 var(--read); color: var(--pr-print); }
html body #screen#screen#screen #setBuilder .sb-legend .lg.arc::before { background: rgba(244, 236, 220, .3); }

/* the note: what a move changed, in the reading face, on the card's own sheet */
html body #screen#screen#screen #setBuilder .sb-note { background: #131117; border-left: 4px solid var(--pr-violet); border-bottom: 0; font: 600 15px/1.45 var(--read); color: var(--pr-lit); }
html body #screen#screen#screen #setBuilder .sb-note[data-note="hint"] { border-left-color: rgba(244, 236, 220, .24); color: var(--pr-print); }
html body #screen#screen#screen #setBuilder .sb-note .sb-ck { font: 400 15px/1 var(--flyer); letter-spacing: .06em; color: var(--pr-violet); }

/* the card's order in every window: the picture, the two checks right under it (they are about it), the note, the
   tracks, the set's name and length (beside Save, where a name is wanted), and at the card's foot the one row that
   never leaves the window: PLAY THIS SET (QA round 4's Minor 15 kept: Play is always in view). .sb-foot's two parts
   are laid out on their own (display: contents), so only the play row holds the window's bottom edge and the tracks
   get the room. A starter set keeps Main's teaching order (the why lines first, its curve after them). */
html body #screen#screen#screen #setBuilder .sb-set { display: flex; flex-direction: column; }
html body #screen#screen#screen#screen #setBuilder:not([data-starter]) .sb-set > .sb-foot { display: contents; }
html body #screen#screen#screen#screen #setBuilder:not([data-starter]) .sb-set > .sb-curve { order: 0; }
html body #screen#screen#screen#screen #setBuilder:not([data-starter]) .sb-set > .sb-foot > .sb-check { order: 1; }
html body #screen#screen#screen#screen #setBuilder:not([data-starter]) .sb-set > .sb-swap { order: 1; }
html body #screen#screen#screen#screen #setBuilder:not([data-starter]) .sb-set > .sb-note { order: 2; position: static; z-index: auto; min-height: 0; margin: 0 -24px clamp(2px, .6vh, 8px); padding: 4px 24px 4px 20px; }
html body #screen#screen#screen#screen #setBuilder:not([data-starter]) .sb-set > .sb-lane { order: 3; }
html body #screen#screen#screen#screen #setBuilder:not([data-starter]) .sb-set > .sb-shead { order: 4; }
html body #screen#screen#screen#screen #setBuilder:not([data-starter]) .sb-set > .sb-foot > .sb-play { order: 5; }
html body #screen#screen#screen#screen #setBuilder:not([data-starter]) .sb-set > .sb-how { order: 6; }
/* (a starter set: the note, the tracks and their why lines first; the checks stay with PLAY in the foot on the window's
   bottom edge, as Main had them: they change as a track is moved, and nothing above the tracks may move when they do) */
html body #screen#screen#screen#screen #setBuilder[data-starter] .sb-set > .sb-note { order: 1; }
html body #screen#screen#screen#screen #setBuilder[data-starter] .sb-set > .sb-lane { order: 2; }
html body #screen#screen#screen#screen #setBuilder[data-starter] .sb-set > .sb-shead { order: 3; }
html body #screen#screen#screen#screen #setBuilder[data-starter] .sb-set > .sb-foot { order: 4; position: sticky; bottom: 0; z-index: 3; margin: clamp(6px, 1.2vh, 12px) -24px 0; padding: clamp(4px, .8vh, 8px) 24px clamp(10px, 1.6vh, 14px); border: 0; border-top: 3px solid var(--pr-paper); background: #131117; box-shadow: 0 -14px 18px -8px rgba(0, 0, 0, .7); }
html body #screen#screen#screen#screen #setBuilder[data-starter] .sb-set > .sb-swap { order: 5; }
html body #screen#screen#screen#screen #setBuilder[data-starter] .sb-set > .sb-curve { order: 6; margin-top: 14px; }
html body #screen#screen#screen#screen #setBuilder[data-starter] .sb-set > .sb-how { order: 7; }
html body #screen#screen#screen#screen #setBuilder[data-starter] .sb-foot .sb-check { border-top: 0; padding-top: 0; }
html body #screen#screen#screen#screen #setBuilder[data-starter] .sb-foot .sb-play { margin: 0; gap: 8px 12px; align-items: center; }
html body #screen#screen#screen#screen #setBuilder:not([data-starter]) .sb-set > .sb-foot > .sb-play { position: sticky; bottom: 0; z-index: 3; margin: clamp(6px, 1.2vh, 12px) -24px 0; padding: clamp(8px, 1.3vh, 12px) 24px clamp(10px, 1.6vh, 14px); border-top: 3px solid var(--pr-paper); background: #131117; box-shadow: 0 -14px 18px -8px rgba(0, 0, 0, .7); gap: 8px 12px; align-items: center; }
html body #screen#screen#screen#screen #setBuilder .sb-set > .sb-shead { margin: clamp(8px, 1.4vh, 14px) 0 0; padding-top: clamp(8px, 1.4vh, 14px); border-top: 2px solid rgba(244, 236, 220, .3); }

/* the tracks: a listing as the Tricks page's levels are. The number and the name in the flyer face (the name 22 px), the
   artist and the read-outs beside it, the join's line under it in the reading face at 15 px */
html body #screen#screen#screen #setBuilder .sb-lane > .sb-card { gap: 14px; padding: clamp(6px, 1.1vh, 11px) 4px; border: 0; border-top: 2px solid rgba(244, 236, 220, .3); background: none; }
html body #screen#screen#screen #setBuilder .sb-lane > .sb-card:first-child { border-top: 3px solid var(--pr-paper); }
html body #screen#screen#screen #setBuilder .sb-lane > .sb-card[data-swapme] { border-top: 3px dashed var(--pr-warn); }
html body #screen#screen#screen #setBuilder :is(.sb-card, .sb-slot) > .sb-n { flex: none; min-width: 26px; font: 400 clamp(26px, 3.6vh, 34px)/1 var(--flyer); color: var(--pr-paper); }
html body #screen#screen#screen#screen #setBuilder .sb-card .sb-tl > b { font: 400 22px/1.12 var(--flyer); letter-spacing: .02em; text-transform: uppercase; color: var(--pr-paper); }
html body #screen#screen#screen#screen #setBuilder .sb-card .sb-ct > .small.muted { font: 500 14px/1.3 var(--read); color: var(--pr-print); }
html body #screen#screen#screen#screen #setBuilder :is(.sb-crow, .sb-card) .sb-meta { font: 700 14px/1.3 var(--pr-face); letter-spacing: 0; color: var(--pr-lit); }
html body #screen#screen#screen #setBuilder .sb-card .sb-acts .bbtn { min-width: 32px; min-height: 32px; font-size: 16px; color: var(--pr-print); }
html body #screen#screen#screen #setBuilder .sb-card .sb-acts .bbtn:hover:not(:disabled) { color: var(--pr-lit); }
html body #screen#screen#screen#screen #setBuilder :is(.sb-crow, .sb-card) .tag { font-size: 13px; color: var(--pr-dim); }
html body #screen#screen#screen #setBuilder .sb-lane > .sb-join { gap: 6px 8px; padding: 4px 0 clamp(6px, 1vh, 10px) 44px; }
html body #screen#screen#screen #setBuilder .sb-join .sb-jlabel { font: 700 13px/1.3 var(--pr-face); letter-spacing: 0; color: var(--pr-print); }
html body #screen#screen#screen#screen #setBuilder .sb-chip { padding: 3px 8px; border-radius: 0; font: 700 13px/1.3 var(--pr-face); }
html body #screen#screen#screen#screen #setBuilder .sb-chip.mini { padding: 1px 6px; font-size: 13px; }
html body #screen#screen#screen #setBuilder .sb-why { flex: 1 1 100%; }
html body #screen#screen#screen #setBuilder .sb-why li { font: 500 15px/1.4 var(--read); color: var(--pr-lit); }
html body #screen#screen#screen #setBuilder .sb-lane > .sb-slot { margin-top: 0; padding: clamp(6px, 1.1vh, 11px) 4px; gap: 14px; border: 0; border-top: 2px solid rgba(244, 236, 220, .16); border-radius: 0; background: none; }
html body #screen#screen#screen #setBuilder .sb-slot > .sb-n { color: rgba(244, 236, 220, .3); }
html body #screen#screen#screen #setBuilder .sb-slot .small { font: 500 15px/1.3 var(--read); color: var(--pr-dim); }
html body #screen#screen#screen #setBuilder .sb-slot .mono.small { flex: none; font: 700 13px/1.3 var(--pr-face); letter-spacing: 0; color: var(--pr-dim); }
/* the next empty slot is what's next: the violet number, a dashed violet rule, its line lit */
html body #screen#screen#screen#screen #setBuilder .sb-lane > .sb-slot:not(.sb-slot ~ .sb-slot) { border: 0; border-top: 2px dashed var(--pr-violet); background: none; }
html body #screen#screen#screen#screen #setBuilder .sb-lane > .sb-slot:not(.sb-slot ~ .sb-slot) > .sb-n { color: var(--pr-violet); }
html body #screen#screen#screen#screen #setBuilder .sb-lane > .sb-slot:not(.sb-slot ~ .sb-slot) .small:not(.mono) { font-weight: 600; color: var(--pr-lit); }

/* the card's foot: the two checks as lines, then the ONE violet thing on the page: PLAY THIS SET, 30 px where the
   window allows. With too few tracks it is an outline in the violet, never a grey block, and says what is missing
   (booth-menus.js writes the count on it: data-need="Add 2 tracks to play"; the button's own words stay Main's) */
html body #screen#screen#screen#screen #setBuilder .sb-foot .sb-check { margin: 0 0 clamp(4px, .8vh, 8px); padding: clamp(4px, .8vh, 8px) 0 0; border: 0; border-top: 2px solid rgba(244, 236, 220, .3); background: none; }
html body #screen#screen#screen#screen #setBuilder #sbCheck p { margin: 2px 0; font: 600 clamp(14px, 1.9vh, 16px)/1.45 var(--read); color: var(--pr-lit); }
html body #screen#screen#screen#screen #setBuilder #sbCheck p.small { font-size: clamp(14px, 1.8vh, 15px); font-weight: 500; color: var(--pr-print); }
html body #screen#screen#screen#screen #setBuilder #sbCheck .sb-ck { display: inline-block; min-width: 92px; margin-right: 6px; vertical-align: top; font: 400 15px/18px var(--flyer); letter-spacing: .06em; text-transform: uppercase; color: var(--pr-violet); }
html body #screen#screen#screen #setBuilder #sbCheck .bbtn.sm { font-size: 14px; }
html body #screen#screen#screen#screen #setBuilder .sb-play > .bbtn.primary[data-sb="play"] { order: -1; min-height: clamp(44px, 6.6vh, 60px); padding: 0 clamp(22px, 2.4vw, 36px); border-radius: 0; font: 400 clamp(22px, 3.7vh, 30px)/1 var(--flyer); letter-spacing: .04em; text-transform: uppercase; }
html body #screen#screen#screen#screen #setBuilder .sb-play > .bbtn.primary[data-sb="play"]:not(:disabled) { background: var(--pr-violet); color: #0b0710; box-shadow: 5px 5px 0 var(--pr-paper); }
html body #screen#screen#screen#screen #setBuilder .sb-play > .bbtn.primary[data-sb="play"]:disabled { opacity: 1; border: 2px solid var(--pr-violet); background: none; box-shadow: none; color: var(--pr-violet); cursor: default; }
html body #screen#screen#screen#screen #setBuilder .sb-play > .bbtn.primary[data-sb="play"][data-need]:disabled { font-size: 0; letter-spacing: 0; }
html body #screen#screen#screen#screen #setBuilder .sb-play > .bbtn.primary[data-sb="play"][data-need]:disabled::after { content: attr(data-need); font: 400 clamp(20px, 3.2vh, 26px)/1 var(--flyer); letter-spacing: .04em; text-transform: uppercase; color: var(--pr-lit); }
html body #screen#screen#screen #setBuilder .sb-play .sb-assist { margin: 0 0 0 4px; gap: 2px; }
html body #screen#screen#screen#screen #setBuilder .sb-play .bbtn:not(.primary) { min-height: 34px; font-size: 14px; }

/* the crate: the dark list beside the card. A name 15 px, its details 13 px and never smaller; "add" is an outline key
   (the violet is the one thing to press next: PLAY THIS SET) */
html body #screen#screen#screen #setBuilder #sbBody > .sb-main > .sb-crate { top: 8px; max-height: calc(100vh - 16px); padding-top: clamp(10px, 1.8vh, 18px); background: #0b0a0c; }
html body #screen#screen#screen#screen #setBuilder .sb-crow .sb-tl > b { font: 600 15px/1.25 var(--read); letter-spacing: 0; color: var(--pr-lit); }
html body #screen#screen#screen#screen #setBuilder .sb-crow .sb-ct > .small.muted { font: 500 13.5px/1.3 var(--read); color: var(--pr-print); }
html body #screen#screen#screen#screen #setBuilder .sb-crow .sb-meta { font-size: 13.5px; color: var(--pr-print); }
html body #screen#screen#screen#screen #setBuilder .sb-crow .bbtn[data-sb="add"], html body #screen#screen#screen#screen #setBuilder .sb-crow .bbtn[data-sb="use"] { min-height: 36px; padding: 0 14px; border: 1.5px solid rgba(244, 236, 220, .62); border-radius: 0; background: none; box-shadow: none; color: var(--pr-lit); font: 400 16px/1 var(--flyer); letter-spacing: .06em; text-transform: uppercase; }
html body #screen#screen#screen#screen #setBuilder .sb-crow .bbtn[data-sb="add"]:hover:not(:disabled), html body #screen#screen#screen#screen #setBuilder .sb-crow .bbtn[data-sb="use"]:hover { border-color: var(--pr-lit); background: var(--pr-lit); color: #0b0a0c; }
html body #screen#screen#screen #setBuilder .sb-crow .sb-listen { font-size: 15px; color: var(--pr-print); }
html body #screen#screen#screen #setBuilder .sb-gline, html body #screen#screen#screen #setBuilder .sb-gnone { font: 500 14px/1.4 var(--read); color: var(--pr-print); }
html body #screen#screen#screen #setBuilder .sb-gh > .mono { color: var(--pr-print); }
html body #screen#screen#screen #setBuilder .sb-all > summary .mono, html body #screen#screen#screen #setBuilder .sb-all > h4 .mono { font-size: 14px; color: var(--pr-print); }
html body #screen#screen#screen #setBuilder .sb-crate .bbtn.ghost.sm { font-size: 14px; }
html body #screen#screen#screen #setBuilder .sb-crate li.muted.small { font: 500 14px/1.4 var(--read); color: var(--pr-print); }
html body #screen#screen#screen #setBuilder .sb-swap p.small { font: 600 15px/1.4 var(--read); color: var(--pr-lit); }
html body #screen#screen#screen #setBuilder .sb-how > summary { font: 600 15px/1.4 var(--read); color: var(--pr-print); }
html body #screen#screen#screen #setBuilder .sb-how li { font: 500 15px/1.45 var(--read); color: var(--pr-print); }

/* Set mode's own page (#set: the starter sets, Build a set, Your sets): nothing under 13 px (each set's count line and
   "How it works" were 12-12.5 px); Home's tricks line: its "next" the same */
html body #screen#screen#screen .setcard .small.mono { font: 700 13.5px/1.35 var(--pr-face); letter-spacing: 0; color: var(--pr-print); }
html body #screen#screen#screen[data-route^="set"] details.how > summary { font-size: 14px; }
html body #screen#screen#screen[data-route^="set"] details.how p { font: 500 15px/1.45 var(--read); }
html body.home #screen#screen#screen .ht-line .ht-k { font-size: 13px; }

/* ---------- P2·4a.2 · THE SET'S CARD (QA BP-18: 1,275 px tall in an 800 px window, Keep playing and Done under the fold).
   The card fits its first screen with its buttons in it: the two tables, the plan's drawing and its small print fold
   under the coach's own "More detail" (the lessons' control: the same <details>, the same words), opened by the same
   press. Folded, the card keeps what it says at a glance: the grade and the set's score, what went well, the one fix,
   the set's energy track by track, the plan's one sentence, and the buttons. No node is moved and no word changed: the
   fold is the stylesheet reading whether that <details> is open. A card with no More detail (a set ended before a
   second join) shows everything, as before. A night's card is not this card (its three parts are Main's, BP-09). ---------- */
/* (Round 3, 23 Nov, QA finding 10 / M1A-05: the stylesheet's fold of this card is gone (it hid what Main's own <details class="set-more"> now holds, keyed on the coach's other fold: two "more detail"s and no energy bars). One fold, Main's; and its heading, "Energy, track by track", shows.) */
html body #screen#screen#screen #resultSlot .result .set-sum { margin: clamp(6px, 1.2vh, 12px) 0 0; padding-top: clamp(6px, 1.2vh, 12px); }
html body #screen#screen#screen #resultSlot .result:not(.night-card) #sbReview { column-span: all; max-width: none; margin: clamp(6px, 1.2vh, 12px) 0 0; padding: clamp(6px, 1.2vh, 12px) 0 0; border: 0; border-top: 2px solid var(--paper-hair); border-radius: 0; background: none; }
html body #screen#screen#screen #resultSlot .result:not(.night-card) #sbReview > h3 { margin: 0 0 2px; font: 400 clamp(15px, 2vh, 18px)/1.15 var(--flyer); letter-spacing: .06em; text-transform: uppercase; color: var(--pr-violet); }
html body #screen#screen#screen #resultSlot .result:not(.night-card) #sbReview > .sb-rline { margin: 0; font: 600 clamp(15px, 2.1vh, 17px)/1.4 var(--read); color: var(--paper-ink); }
html body #screen#screen#screen #resultSlot .result:not(.night-card) #sbReview > .sb-rline b { font-weight: 600; }
html body #screen#screen#screen #resultSlot .result :is(.set-rows, .sb-rrows) :is(th, td) { font: 500 14px/1.35 var(--read); color: var(--paper-ink); }
html body #screen#screen#screen #resultSlot .result :is(.set-rows, .sb-rrows) th { font: 400 14px/1.2 var(--flyer); letter-spacing: .06em; text-transform: uppercase; color: var(--paper-dim); }
html body #screen#screen#screen #resultSlot .result :is(.set-rows, .sb-rrows) td.mono { font: 700 14px/1.35 var(--pr-face); letter-spacing: 0; }
html body #screen#screen#screen #resultSlot .result .set-sum > p.small, html body #screen#screen#screen #resultSlot .result #sbReview > p.small { font: 500 14px/1.4 var(--read); color: var(--paper-ink); }
html body #screen#screen#screen #resultSlot .result .set-sum > p.small b { font: 700 14px/1.4 var(--read); letter-spacing: 0; }
html body #screen#screen#screen #resultSlot .result #sbReview .sb-legend { font: 500 14px/1.3 var(--read); color: var(--paper-dim); }
html body #screen#screen#screen #resultSlot .result #sbReview .sb-night i { font: 700 13px/1 var(--num); }
html body #screen#screen#screen #resultSlot .result #sbReview .sb-chip { font: 700 13px/1.3 var(--pr-face); border-radius: 0; }
/* the card's own buttons (Keep playing · Done): the card's last row, under a rule, inside the first screen */
html body #screen#screen#screen #resultSlot .result:not(.night-card):not(.set-card) > .row.wrap:last-child { margin-top: clamp(8px, 1.4vh, 14px); padding-top: clamp(8px, 1.4vh, 14px); border-top: 2px solid var(--paper-hair); gap: 12px; }
html body #screen#screen#screen #resultSlot .result:not(.night-card):not(.set-card) > .row.wrap:last-child .bbtn { min-height: 42px; font-size: 15px; }

/* ---------- P2·4a.3 · A NIGHT'S BRIEF: the two ways in (QA BP-21: on the violet JUST PLAY, "3 picked for you" was pale
   violet on violet). The second line is a real second line under the first, in the reading face: the ink colour on the
   violet block (11:1), the lit print on the outlined one. Every night's Plan the set / Just play. ---------- */
html body #screen#screen#screen .night-brief .nb-acts .bbtn[data-nt] { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; text-align: left; }
html body #screen#screen#screen#screen .night-brief .nb-acts .bbtn[data-nt] > .small { display: block; margin: 0; font: 600 clamp(14px, 1.9vh, 16px)/1.2 var(--read); letter-spacing: 0; text-transform: none; opacity: 1; }
html body #screen#screen#screen#screen .night-brief .nb-acts .bbtn.primary[data-nt] > .small { color: #0b0710; }
html body #screen#screen#screen#screen .night-brief .nb-acts .bbtn:not(.primary)[data-nt] > .small { color: var(--pr-lit); }
html body #screen#screen#screen#screen .night-brief .nb-acts .bbtn:not(.primary)[data-nt]:hover > .small { color: #0b0a0c; }
/* (fix/beginner-play, Main, full chain 22 Nov: with PLAY · EVERY STEP SHOWN leading, the three ways in stay on one row, the two
   small ones taking what's left and wrapping their own words, so Plan the set never drops to a second row under the window) */
html body #screen#screen#screen .night-brief .nb-acts[data-lead="help"] { flex-wrap: nowrap; gap: 12px; }
html body #screen#screen#screen#screen .night-brief .nb-acts[data-lead="help"] .bbtn:not(.primary)[data-nt] { flex: 0 1 auto; min-width: 0; padding: 4px 14px; white-space: normal; line-height: 1.05; }
html body #screen#screen#screen#screen .night-brief .nb-acts[data-lead="help"] .bbtn.primary[data-nt] { flex: none; }
/* the line under the ways in sits close under them; with the crate's rows folded away, "Plan the set shows all N." joins its heading's line */
html body #screen#screen#screen .night-brief .nb-acts + p.small { margin: 2px 0 0; }
html body #screen#screen#screen .night-brief .nb-crate { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 14px; }
html body #screen#screen#screen .night-brief .nb-crate > :not(h3):not(.nb-more) { flex: 1 0 100%; }
/* (Main, combined QA of 23 Nov: the crate's warning now sits in the crate's block, above the buttons, on the head's row: Night 5's brief fits) */
html body #screen#screen#screen .night-brief .nb-crate > p.nb-energy { flex: 1 1 0; min-width: 300px; margin: 0; }
html body #screen#screen#screen#screen .night-brief :is(.nb-picked > .bbtn[data-nt], .nb-cut-teach > .bbtn) { min-height: 0; height: auto; margin: 0 0 0 4px; padding: 0 6px; line-height: inherit; vertical-align: baseline; }   /* (Skip this night in the line under the buttons, Hear it and Try one cut first in the rules' first line: the line's own height) */   /* (on the YOUR TRACKS row, beside the head: it is about these tracks) */
@media (max-height: 760px) { html body #screen#screen#screen#screen .night-brief .nb-acts .bbtn[data-nt] { min-height: 52px; } }
html body #screen#screen#screen#screen .night-brief .nb-shape .nb-energy-line { flex: 1 1 auto; margin: 0; font-size: 14px; line-height: 22px; }   /* (Main: the energy line beside THE SHAPE OF THE NIGHT, not a paragraph of its own under the blocks) */
html body #screen#screen#screen .night-brief .nb-shape .nb-shape-words { flex: 1 0 100%; }

/* ---------- P2·4a.4 · THE TITLE (#start): as clear and bold as the intro cards, not just a violet button. What was weak:
   the words stood in a 330 px column beside a 665 px sleeve, the headline at 37 px, the two chapters at 21 px with
   their lines at 17. Now the sleeve gives the words a third more room, the headline is the biggest thing on the screen
   (as a card's title is), the list is labelled (YOUR PATH: the list's own aria-label) in the violet as a card's lines
   are, each chapter is a flyer line with its sentence in the reading face at 17 px and up, and the start is the same
   violet block, bigger. Sizes follow the window's height and width, so 1280×720 and 1920×1080 keep the same picture. ---------- */
html body #screen #start.start { --sl: min(84vh, 45vw); --peek: min(15vh, 7.5vw); padding-top: 6vh; padding-bottom: 6vh; padding-right: 3.6vw; }
html body #screen #start .start-brand { margin: 0 0 2.6vh; }
html body #screen #start .start-sub { max-width: none; font-size: clamp(38px, min(8.4vh, 5.3vw), 104px); line-height: .94; letter-spacing: .01em; color: var(--pr-paper); }
html body #screen #start .start-what { margin: 0 0 2.8vh; }
html body #screen #start .start-what::before { content: attr(aria-label); display: block; margin: 0 0 .8vh; font: 400 clamp(15px, min(2.3vh, 1.45vw), 24px)/1.1 var(--flyer); letter-spacing: .1em; text-transform: uppercase; color: var(--pr-violet); }
html body #screen #start .start-what li { column-gap: 1.8vh; padding: 1.2vh 0 1.1vh; border-top-width: 3px; }
html body #screen #start .start-what li:last-child { border-bottom-width: 3px; }
html body #screen #start .start-what b { font-size: clamp(30px, min(5.6vh, 3.5vw), 62px); color: var(--pr-violet); }
html body #screen #start .start-what span { font-size: clamp(20px, min(3.4vh, 2.1vw), 38px); color: var(--pr-paper); }
html body #screen #start .start-what i { margin-top: .4vh; font: 500 clamp(16px, min(2.3vh, 1.45vw), 24px)/1.25 var(--read); letter-spacing: 0; color: var(--pr-lit); }
html body #screen #start .start-go { width: calc(100% - 7px); margin: 0 0 2.6vh; }
html body #screen #start .start-key { padding: 2.3vh 2vh 2.1vh; font-size: clamp(20px, min(4vh, 2.35vw), 44px); box-shadow: 7px 7px 0 var(--pr-paper); }
html body #screen #start:hover .start-key { box-shadow: 8px 8px 0 #fff; }
html body #screen #start .start-fs { margin: 0 0 1.6vh; font: 400 clamp(16px, min(2.3vh, 1.45vw), 24px)/1 var(--flyer); letter-spacing: .08em; color: var(--pr-lit); }
html body #screen #start .start-fs .bbtn { font: 400 clamp(16px, min(2.3vh, 1.45vw), 24px)/1 var(--flyer); letter-spacing: .08em; }
html body #screen #start .start-fs .bbtn.ghost { color: var(--pr-print); }
html body #screen #start .start-note { font: 500 clamp(15px, min(2.05vh, 1.3vw), 20px)/1.4 var(--read); letter-spacing: 0; color: var(--pr-print); }

/* ---------- P2·4a.5 · HOME: the cards say what they are in the cards' own voice (an intro card's labels are the flyer
   face in the violet, capitals; Home's said "start here", "continue", "your next night" in 14 px lower-case grey), and
   every line a player reads on them is the reading face at 17 px. The listing under the card: its labels 14 px and up.
   Nothing is added and nothing grows past its own slot's clamp, so Home still fits its window (BC-31's footer holds). ---------- */
@media (min-width: 1000px) {
  html body.home #screen#screen#screen[data-route="menu"] :is(#startPath, .hero > .hero-next, #nextNight) .eyebrow { font: 400 clamp(16px, 2.2vh, 20px)/1.15 var(--flyer); letter-spacing: .1em; text-transform: uppercase; color: var(--pr-violet); }
  html body.home.day-one #screen#screen#screen[data-route="menu"] #startPath .where-line { font: 600 clamp(15px, 2.05vh, 18px)/1.35 var(--read); color: var(--paper-ink); }
  html body.home.day-one #screen#screen#screen[data-route="menu"] #startPath .sp-line { font: 600 clamp(16px, 2.1vh, 19px)/1.36 var(--read); color: var(--paper-ink); }
  html body.home:not(.day-one) #screen#screen#screen[data-route="menu"] .hero > .hero-next > .small { font: 600 clamp(16px, 2.1vh, 19px)/1.36 var(--read); color: var(--paper-ink); }
  html body.home.day-one #screen#screen#screen[data-route="menu"] #startPath li.sp-connect .sp-body b { font: 600 clamp(16px, 2.05vh, 18px)/1.3 var(--read); }
  html body.home.day-one #screen#screen#screen[data-route="menu"] #startPath li.sp-connect .sp-body .small { font: 500 15px/1.3 var(--read); }
  html body.home.day-one #screen#screen#screen[data-route="menu"] #startPath li.sp-connect .bbtn { font: 600 15px/18px var(--read); }
  html body.home.day-one #screen#screen#screen[data-route="menu"] .path-arc > h3.sect { font: 400 clamp(16px, 2.2vh, 20px)/1.15 var(--flyer); letter-spacing: .1em; text-transform: uppercase; color: var(--pr-violet); }
}

/* (P2·4a rules go above this line) */



/* ---------- P2·4b · FREE MIX AND THE WORDS (the strip, the top bar, a goal reached, the deck panels' fit, the lanes' and pops' words) ---------- */
/* P2·4b.1 · FREE MIX'S STRIP (QA BP-02: "On the 1 of bar 169: Deck A LOW ful…"). The sentence is never cut: it may run to
   two lines, and the row keeps room for both always, so a longer sentence moves nothing under it. Below 1,500 px wide
   the count sits UNDER the sentence (never beside it, where it took the sentence's width); from 1,500 it is beside it.
   The sentence stands on its row's foot (a short one leaves its spare line above), so the count never moves.
   The count's line is the room's row (Part 3's #roomStrip, the row under the instruction): THE CROWD at its left, the
   count in the middle under the sentence, "tempo matched" at its right end, so the two share one row and the lanes
   give up one row's height, not two. A count line too wide for the middle (the mouse's Swap the bass, the count and a
   warning together) keeps clear of the room's strip: it starts no further left than 250 px into the sentence's column.
   With no room strip on the screen the count has a line of its own in the sentence's row, and the lanes give that back
   (--mh-grow). Measured at 1280×720, 1280×800, 1366×768, 1440×900 and 1920×1080: p4-free's FIT notes. */
@media (min-width: 1000px) {
  /* (whole pixels: the sentence 22 px on 27 px lines; every row above the lanes a whole number of px tall) */
  html body #screen#screen.decks-screen:not(.decks-hud) { --mh-fs: 22px; --mh-lh: 27px; --mh-line: 28px; --mh-h: calc(2 * var(--mh-lh) + var(--mh-line) + 4px); --mh-grow: 46px; grid-template-rows: auto auto var(--mh-h); }
  html body #screen#screen.decks-screen:not(.decks-hud) > .mix-hints { height: var(--mh-h); box-sizing: border-box; padding: 4px 220px 0; display: flex; flex-wrap: wrap; align-items: center; align-content: flex-start; justify-content: center; column-gap: 12px; row-gap: 2px; white-space: normal; overflow: visible; pointer-events: none; }
  html body #screen#screen.decks-screen:not(.decks-hud) > .mix-hints > * { pointer-events: auto; }
  html body #screen#screen.decks-screen:not(.decks-hud) > .mix-hints[hidden], html body #screen#screen.decks-screen:not(.decks-hud):not(.hints-up) > .mix-hints { display: none; }
  html body.decks-on #screen#screen.decks-screen:not(.decks-hud) > .mix-hints > .mh-next { order: 0; flex: 0 0 100%; box-sizing: border-box; min-width: 0; min-height: calc(2 * var(--mh-lh)); display: flex; align-items: flex-end; justify-content: center; overflow: visible; text-overflow: clip; white-space: normal; text-align: center; text-wrap: balance; font: 600 var(--mh-fs)/var(--mh-lh) var(--read); letter-spacing: 0; color: var(--pr-lit); }
  html body #screen#screen.decks-screen:not(.decks-hud) > .mix-hints > :not(.mh-next) { order: 2; }
  html body.decks-on #screen#screen.decks-screen:not(.decks-hud) > .mix-hints > .mh-count { flex: none; height: 26px; min-width: 0; padding: 0 10px; font: 700 15px/26px var(--pr-face); letter-spacing: .02em; }
  html body.decks-on #screen#screen.decks-screen:not(.decks-hud) > .mix-hints > .mh-warn { flex: 0 1 auto; min-width: 0; max-width: 300px; overflow: visible; text-overflow: clip; white-space: normal; font: 600 13px/14px var(--read); color: var(--pr-warn); }
  html body #screen#screen.decks-screen:not(.decks-hud) > .mix-hints .swap-btn { margin: 0; height: 26px; min-height: 0; }
  /* the lanes: Free mix's formula less what the row grew by (with the room's strip up, Part 3's own formula stands: the row grew 9 px, inside what the decks had spare) */
  html body #screen#screen#screen.decks-screen:not(.decks-hud) .wf { height: clamp(96px, calc((100vh - 468px - var(--rs-row, 0px) - var(--mh-grow, 0px)) / 2), 250px); }
  html body #screen#screen.decks-screen:not(.decks-hud).rs-up { --rs-row: 40px; }   /* the room's strip's own row (Part 3: 36 px and its 4 px margin), as its own formula took it */
  /* "Try Hints?" (#hintStep) at the row's top left, 13 px (it was 12) */
  html body.decks-on #screen#screen.decks-screen:not(.decks-hud) > #hintStep:not(:empty) { align-self: start; margin-top: 4px; }
  html body.decks-on #screen#screen.decks-screen:not(.decks-hud) > #hintStep > .hint-step { font: 400 13px/16px var(--read); }
  html body.decks-on #screen#screen.decks-screen:not(.decks-hud) > #hintStep > .hint-step .bbtn { height: 20px; font: 400 13px/18px var(--pr-face); }
}
/* what the lanes give back (--mh-grow): the row's growth less what the decks had spare at that height (19 px at 800, 39 at 720; at 900 they were 5 px past the footer already, taken back here) */
@media (min-width: 1000px) and (max-height: 820px) { html body #screen#screen.decks-screen:not(.decks-hud) { --mh-grow: 26px; } }
@media (min-width: 1000px) and (max-height: 760px) { html body #screen#screen.decks-screen:not(.decks-hud) { --mh-grow: 6px; } }
@media (min-width: 1000px) and (min-height: 980px) { html body #screen#screen#screen.decks-screen:not(.decks-hud) .wf { height: clamp(96px, calc((100vh - 468px - var(--rs-row, 0px) - var(--mh-grow, 0px)) / 2), 236px); } }
/* the count's line in the room's row (below 1,500 px wide, the room's strip on the screen) */
@media (min-width: 1000px) and (max-width: 1499px) {
  html body #screen#screen.decks-screen:not(.decks-hud).rs-up { --mh-h: calc(2 * var(--mh-lh) + 4px); --mh-pad: 5px; --mh-grow: 22px; }
  /* (the strip spans its own row and the room's: the sentence fills the first, the count's line starts --mh-pad into the second, level with the room's strip's middle) */
  html body #screen#screen.decks-screen:not(.decks-hud).rs-up > .mix-hints { grid-row: 3 / span 2; align-self: stretch; height: auto; z-index: 4; row-gap: var(--mh-pad); }
  /* (two spacers that grow alike keep the count in the middle; the left one is never under 238 px, so a wide line moves right, clear of the room's strip, and never wraps) */
  html body #screen#screen.decks-screen:not(.decks-hud).rs-up > .mix-hints::before { content: ''; order: 1; flex: 1 1 0px; min-width: 238px; height: 1px; }
  html body #screen#screen.decks-screen:not(.decks-hud).rs-up > .mix-hints::after { content: ''; order: 3; flex: 1 1 0px; min-width: 0; height: 1px; }
  /* (fix/beginner-play, Main, one line: the "came in early" warning keeps to the count's line, cut with … where it's short, never a line of its own: it grew the strip 24 px under the count and moved the lanes) */
  html body #screen#screen.decks-screen:not(.decks-hud).rs-up > .mix-hints > .mh-warn { order: 2; flex: 1 1 0px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (min-width: 1000px) and (max-width: 1499px) and (max-height: 820px) { html body #screen#screen.decks-screen:not(.decks-hud).rs-up { --mh-grow: 0px; } }
@media (min-width: 1000px) and (max-width: 1499px) and (max-height: 760px) { html body #screen#screen.decks-screen:not(.decks-hud).rs-up { --mh-pad: 3px; } }
/* from 1,500 px wide the count sits beside the sentence, on its last line; the row is the sentence's two lines */
@media (min-width: 1500px) {
  html body #screen#screen.decks-screen:not(.decks-hud) { --mh-fs: 28px; --mh-lh: 34px; --mh-h: calc(2 * var(--mh-lh) + 6px); --mh-grow: 32px; }
  html body #screen#screen.decks-screen:not(.decks-hud) > .mix-hints { flex-wrap: nowrap; align-items: flex-end; align-content: normal; padding-top: 0; padding-bottom: 3px; }
  html body.decks-on #screen#screen.decks-screen:not(.decks-hud) > .mix-hints > .mh-next { flex: 0 1 auto; max-width: min(1040px, 64%); }   /* (a long sentence's two lines stay a column the count can stand beside) */
  html body.decks-on #screen#screen.decks-screen:not(.decks-hud) > .mix-hints > .mh-count { height: 34px; font-size: 17px; line-height: 34px; margin-bottom: 2px; }
  html body #screen#screen.decks-screen:not(.decks-hud) > .mix-hints .swap-btn { height: 34px; margin-bottom: 2px; }
}
@media (min-width: 1700px) { html body #screen#screen.decks-screen:not(.decks-hud) { --mh-fs: 32px; --mh-lh: 38px; --mh-grow: 34px; } }
@media (min-width: 1900px) { html body #screen#screen.decks-screen:not(.decks-hud) { --mh-fs: 34px; --mh-lh: 40px; --mh-grow: 38px; } }

/* P2·4b.2 · THE TOP BAR (QA BP-22: "350 points · bes"). The score is never cut: it takes the width its words need and
   nothing in the bar shrinks under it. Below 1,400 px wide the word "points" and the word "assist" go (the number and
   its "best" say it; the menu says Guided), which is the room a five-figure score with a combo needs at 1280.
   The goal is a sentence, so it is in the reading face, 13 px and up (its label and Hide were 12). */
@media (min-width: 1000px) {
  html body #screen#screen.decks-screen:not(.decks-hud) > .freebar { max-width: none; }
  html body #screen#screen.decks-screen:not(.decks-hud) > .freebar > .fscore { flex: none; min-width: 0; overflow: visible; text-overflow: clip; white-space: nowrap; }
  /* "· best 5,620" always shows (an older rule hid the bar's last small word, meant for the opening hint "land a bass swap… to score": once a move had scored, the last one was the best); the hint is the third small word, and only it goes */
  html body #screen#screen.decks-screen:not(.decks-hud) > .freebar #fscore > .fs-k:last-child { display: inline; }
  html body #screen#screen.decks-screen:not(.decks-hud) > .freebar #fscore > .fs-k ~ .fs-k ~ .fs-k { display: none; }
  html body #screen#screen.decks-screen:not(.decks-hud) > .freebar .free-goal { width: 214px; grid-template-rows: 14px 16px; row-gap: 0; }
}
@media (min-width: 1000px) and (max-width: 1399px) {
  html body #screen#screen.decks-screen:not(.decks-hud) > .freebar #fscore > .fs-pts + .fs-k { display: none; }  html body.decks-on #screen#screen.decks-screen:not(.decks-hud) > .freebar .assist { font-size: 0; letter-spacing: 0; }
  html body.decks-on #screen#screen.decks-screen:not(.decks-hud) > .freebar .assist select { font-size: 13px; }
  /* the combo's chip in its short form ("×4": booth-pops writes it on the chip as data-x), so a five-figure score with a combo and its best still clears the lanes' key */
  html body.decks-on #screen#screen.decks-screen:not(.decks-hud) > .freebar #fscore .fs-combo[data-x] { font-size: 0 !important; }
  html body.decks-on #screen#screen.decks-screen:not(.decks-hud) > .freebar #fscore .fs-combo[data-x]::after { content: attr(data-x); font-size: 14px; }
}
/* design/green-main-nov27 (full chain on main, 26 Nov: "layout, free 1440×900": the goal's "Goal" and its sentence over the
   lanes' key, "8 beats" and "Zoom in"). The bar and the key share the row, so the bar keeps to its share whatever it holds
   (a five-figure score with a combo and a note, the goal, Snap cuts). A note ("+1,800 ×6", "Bass clash: combo lost") takes
   the best's place while it shows (the best is back with the next score). Under 1,800 px the word "assist" goes as it does
   under 1,400 (the menu says Guided), Record is its dot (above), the word "points" goes, the combo is its short form
   ("×6"), Snap cuts keeps two words of its label (it was a bare checkbox under 1,400) and the key leaves out the assist
   level (the bar's menu beside it says it). Under 1,400 the bar's gaps are 8 px, the key's 9 and a long note ends in an ellipsis. */
@media (min-width: 1000px) {
  html body #screen#screen.decks-screen:not(.decks-hud) > .freebar #fscore:has(> .fs-note) > .fs-k { display: none; }
}
@media (min-width: 1000px) and (max-width: 1799px) {
  html body.decks-on #screen#screen.decks-screen:not(.decks-hud) > .freebar .assist:not(.snapcuts) { font-size: 0; letter-spacing: 0; }
  html body.decks-on #screen#screen.decks-screen:not(.decks-hud) > .freebar .assist:not(.snapcuts) select { font-size: 13px; }
  html body #screen#screen.decks-screen:not(.decks-hud) > .freebar #fscore > .fs-pts + .fs-k { display: none; }
  html body.decks-on #screen#screen.decks-screen:not(.decks-hud) > .freebar #fscore .fs-combo[data-x] { font-size: 0 !important; }
  html body.decks-on #screen#screen.decks-screen:not(.decks-hud) > .freebar #fscore .fs-combo[data-x]::after { content: attr(data-x); font-size: 14px; }
  html body.decks-on #screen#screen.decks-screen:not(.decks-hud) > .freebar .assist.snapcuts { font-size: 0; letter-spacing: 0; white-space: nowrap; }
  html body.decks-on #screen#screen.decks-screen:not(.decks-hud) > .freebar .assist.snapcuts::after { content: 'snap cuts'; margin-left: 6px; font-size: 13px; letter-spacing: .03em; }
  html body.decks-on #screen#screen.decks-screen:not(.decks-hud):has(> .freebar [data-assist]) > .wv-legend :is(.wv-lvl, .wv-sep) { display: none; }
}
@media (min-width: 1000px) and (max-width: 1399px) {
  html body #screen#screen.decks-screen:not(.decks-hud) > .freebar { gap: 8px; }
  html body #screen#screen.decks-screen:not(.decks-hud) > .wv-legend { column-gap: 9px; }
  html body #screen#screen.decks-screen:not(.decks-hud) > .freebar #fscore > .fs-note { display: inline-block; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
}
html body #screen#screen #freeGoal .fg-k, html body #screen#screen #freeGoal .fg-hide { font-size: 13px; line-height: 14px; }
html body #screen#screen #freeGoal .fg-text { font: 600 13px/16px var(--read); letter-spacing: 0; }
html body #screen#screen #freeGoal .fg-hide { color: var(--pr-print); }
#fscore.fs-broke::after { content: 'COMBO ×' attr(data-broke) ' OVER'; text-decoration: none; color: var(--pr-warn); font: 700 13px/1 var(--pr-face); }   /* "combo over (×4)" (the plain words: never "lost", never struck through in red) */

/* P2·4b.3 · A GOAL REACHED (QA BP-14: "✓ goal reached" was 12 px of print over the old goal's words). While Main's
   #freeGoal[data-state="done"] is up the goal box IS the card: the black card with its violet band, grown from the box
   to the left along the top bar's row (over the lanes' key; never over the instruction or the score: the header above
   it is its own layer, so the card can't rise into it), 46 px tall: GOAL ✓ in the flyer face, the goal's words big in
   the reading face, its points (.fg-pts, when Main writes them) the amber read-out at its end. The score keeps its
   place beside it (the box leaves the bar's row, so the next item takes a margin its width). Then the box is back
   with NEXT GOAL on a violet block for as long as Main shows it. */
@media (min-width: 1000px) {
  html body #screen#screen.decks-screen:not(.decks-hud) > .freebar { position: relative; }
  html body #screen#screen.decks-screen:not(.decks-hud) > .freebar > #freeGoal[data-state="done"] { position: absolute; z-index: 60; left: auto; right: calc(100% - 214px); top: -8px; bottom: -8px; width: max-content; min-width: 420px; max-width: calc(100vw - 380px); height: auto; margin: 0; box-sizing: border-box; padding: 6px 18px 0 16px; display: flex; align-items: center; gap: clamp(14px, 1.3vw, 24px); overflow: visible; white-space: nowrap; border: 0; background: #131117; box-shadow: inset 0 5px 0 var(--pr-violet), 0 0 0 1px rgba(244, 236, 220, .16), 0 18px 30px -14px #000; transform-origin: 100% 50%; animation: fg-card 220ms cubic-bezier(.2, .9, .3, 1.15) both; }
  html body #screen#screen.decks-screen:not(.decks-hud) > .freebar > #freeGoal[data-state="done"] + * { margin-left: 220px; }
  html body #screen#screen #freeGoal[data-state="done"] .fg-k { flex: none; overflow: visible; font: 400 clamp(24px, 1.9vw, 32px)/1 var(--flyer); letter-spacing: .04em; text-transform: uppercase; color: var(--pr-violet); }
  html body #screen#screen #freeGoal[data-state="done"] .fg-tick { margin-right: 4px; color: var(--pr-ok); font: 700 .8em/1 var(--pr-face); vertical-align: .08em; }
  html body #screen#screen #freeGoal[data-state="done"] .fg-text { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: clip; white-space: nowrap; font: 600 clamp(20px, 1.65vw, 28px)/1.2 var(--read); color: var(--pr-lit); animation: none; }
  html body #screen#screen #freeGoal[data-state="done"] .fg-pts { flex: none; margin-left: auto; font: 700 clamp(20px, 1.65vw, 28px)/1 var(--num); color: var(--pr-amber); }
}
html body #screen#screen #freeGoal[data-state="next"] .fg-k { justify-self: start; padding: 0 6px; background: var(--pr-violet); color: #0b0a0c; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
html body #screen#screen #freeGoal[data-state="next"] .fg-k .fg-n { color: #0b0a0c; }
@keyframes fg-card { from { opacity: 0; transform: scale(.72); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html body #screen#screen #freeGoal[data-state="done"] { animation: none !important; } }

/* P2·4b.4 · FREE MIX'S DECK PANELS FIT (docs/BACKLOG.md, fix/qa-nov11: with no controller at 1280×720 and 1280×800 each
   deck panel's last row, Fix the beat grid and Click on beats, sat past the window's bottom: 742 px at 720, 822 at 800).
   The deck's own row (nudge, the grid, the click) is the deck's, so it sits with the deck's buttons straight under the
   tempo fader, before the pads, the FX row and the loops (they follow, and scroll with the pane as they did). On a short
   window (960 px or less) a deck with that row open is set tighter so the row is in the window: the title and Load
   track on one line, PLAY, CUE and SYNC 40 px tall, the tempo fader's name beside it, the row's four keys two by two.
   Folded (the day-one deck) nothing changes. Measured: p4-free's free-nocontroller notes. */
@media (min-width: 1000px) {
  html body #screen#screen.decks-screen:not(.decks-hud) .decks3 > .deckp > :is(.pm, .hot, .fxrow, .loops) { order: 2; }
}
@media (min-width: 1000px) and (max-height: 960px) {
  html body:not([data-folded~="deck"]):not(.focus) #screen#screen.decks-screen:not(.decks-hud) .decks3 > .deckp { gap: 5px; padding-top: 8px; padding-bottom: 4px; }
  html body:not([data-folded~="deck"]):not(.focus) #screen#screen.decks-screen:not(.decks-hud) .decks3 > .deckp > .row:not(.wrap) { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto; row-gap: 0; }
  html body:not([data-folded~="deck"]):not(.focus) #screen#screen.decks-screen:not(.decks-hud) .decks3 > .deckp > .row:not(.wrap) .ldwrap { grid-area: 1 / 3; }
  html body:not([data-folded~="deck"]):not(.focus) #screen#screen.decks-screen:not(.decks-hud) .decks3 > .deckp > .row:not(.wrap) .ttl { grid-area: 1 / 2; }
  html body:not([data-folded~="deck"]):not(.focus) #screen#screen.decks-screen:not(.decks-hud) .decks3 .deckp .dbtns { gap: 5px; }
  html body:not([data-folded~="deck"]):not(.focus) #screen#screen.decks-screen:not(.decks-hud) .decks3 .deckp .dbtns .tbtn:is([data-b$=".play"], [data-b$=".cue"], [data-b$=".sync"]) { height: 40px; }
  html body:not([data-folded~="deck"]):not(.focus) #screen#screen.decks-screen:not(.decks-hud) .decks3 > .deckp > label.slider { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; white-space: nowrap; }
  html body:not([data-folded~="deck"]):not(.focus) #screen#screen.decks-screen:not(.decks-hud) .decks3 > .deckp > label.slider > .tiny { display: none; }
  html body:not([data-folded~="deck"]):not(.focus) #screen#screen.decks-screen:not(.decks-hud) .decks3 > .deckp > label.slider > input { grid-column: 2; grid-row: 1; width: 100%; min-width: 0; }
  html body:not([data-folded~="deck"]):not(.focus) #screen#screen.decks-screen:not(.decks-hud) .decks3 > .deckp > .drow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 6px; }
  html body:not([data-folded~="deck"]):not(.focus) #screen#screen.decks-screen:not(.decks-hud) .decks3 > .deckp > .drow .bbtn { min-height: 0; height: 24px; padding: 0 6px; font-size: 13px; line-height: 22px; white-space: nowrap; }
}
/* (a taller window, 961 to 1100 px: the title on one line and the tempo fader's name beside it are enough for the row to end inside the pane; PLAY keeps its height) */
@media (min-width: 1000px) and (min-height: 961px) and (max-height: 1100px) {
  html body:not([data-folded~="deck"]):not(.focus) #screen#screen.decks-screen:not(.decks-hud) .decks3 > .deckp > .row:not(.wrap) { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto; row-gap: 0; }
  html body:not([data-folded~="deck"]):not(.focus) #screen#screen.decks-screen:not(.decks-hud) .decks3 > .deckp > .row:not(.wrap) .ldwrap { grid-area: 1 / 3; }
  html body:not([data-folded~="deck"]):not(.focus) #screen#screen.decks-screen:not(.decks-hud) .decks3 > .deckp > .row:not(.wrap) .ttl { grid-area: 1 / 2; }
  html body:not([data-folded~="deck"]):not(.focus) #screen#screen.decks-screen:not(.decks-hud) .decks3 > .deckp > label.slider { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; white-space: nowrap; }
  html body:not([data-folded~="deck"]):not(.focus) #screen#screen.decks-screen:not(.decks-hud) .decks3 > .deckp > label.slider > .tiny { display: none; }
  html body:not([data-folded~="deck"]):not(.focus) #screen#screen.decks-screen:not(.decks-hud) .decks3 > .deckp > label.slider > input { grid-column: 2; grid-row: 1; width: 100%; min-width: 0; }
  html body:not([data-folded~="deck"]):not(.focus) #screen#screen.decks-screen:not(.decks-hud) .decks3 > .deckp > .drow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 6px; }
  html body:not([data-folded~="deck"]):not(.focus) #screen#screen.decks-screen:not(.decks-hud) .decks3 > .deckp { gap: 6px; padding-bottom: 6px; }
}

/* P2·4b.5 · THE BROWSER NEVER PEEKS, CUT (QA Q7-p3: its header's top showed in a sliver under the decks, under Report a
   problem). The pane under the lanes (#deckLower, as tall as the room booth-play's fitLower gives it) is a container, and
   while it is too short to show the browser's header and a row of tracks whole (under 380 px), the decks fill it: the
   browser starts just under the fold, a wheel or the scroll bar away, as before. A taller pane shows the browser as it did. */
@media (min-width: 1000px) {
  html body #screen#screen.decks-screen:not(.decks-hud) > #deckLower.deck-lower.fit { height: 100vh; container: lower / size; }
}
@container lower (max-height: 380px) {
  html body #screen#screen.decks-screen:not(.decks-hud) > #deckLower > .decks3 { min-height: 100cqh; box-sizing: border-box; margin-bottom: 14px; }
}

/* P2·4b.6 · FREE MIX'S FIRST-TIME CARD (the contract with fix/beginner-play: .free-intro > .fi-line[data-k="what|goal|help"]
   + .fi-help buttons; QA BP-16). The black card over the lanes, before the first PLAY: three ruled lines, each label in
   the flyer face in the violet, its sentence in the reading face at 17 px and up; under them the three ways to play,
   the first the one violet block. The lanes behind it are dimmed while it is up. Wherever Main puts it in the deck
   screen it sits over the lanes: best inside .wfs (it is centred on them); as #screen's own child it is fixed under
   the top rows. */
#screen .free-intro { --paper: #131117; position: absolute; z-index: 30; left: 50%; top: 50%; transform: translate(-50%, -50%); box-sizing: border-box; width: min(760px, calc(100% - 48px)); padding: clamp(20px, 2.6vh, 30px) clamp(22px, 2.2vw, 34px) clamp(16px, 2.2vh, 26px); background: #131117; color: var(--pr-lit); box-shadow: inset 0 6px 0 var(--pr-violet), 0 0 0 1px rgba(244, 236, 220, .16), 0 26px 44px -18px #000; text-align: left; white-space: normal; }
#screen.decks-screen > .free-intro { position: fixed; top: clamp(200px, 40vh, 420px); }
#screen .free-intro > .fi-line { display: grid; grid-template-columns: clamp(104px, 9.5vw, 150px) minmax(0, 1fr); column-gap: 16px; align-items: baseline; margin: 0; padding: clamp(8px, 1.2vh, 13px) 0; border-top: 1px solid rgba(244, 236, 220, .24); font: 500 clamp(17px, 1.35vw, 21px)/1.36 var(--read); color: var(--pr-lit); }
#screen .free-intro > .fi-line:first-child { border-top: 0; padding-top: 0; }
#screen .free-intro > .fi-line > b:first-child { font: 400 clamp(20px, 1.6vw, 26px)/1.05 var(--flyer); letter-spacing: .04em; text-transform: uppercase; color: var(--pr-violet); }
#screen .free-intro > .fi-help { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px 12px; margin: clamp(8px, 1.2vh, 14px) 0 0; padding-top: clamp(12px, 1.6vh, 18px); border-top: 3px solid var(--pr-lit); }
#screen .free-intro > .fi-help .bbtn { min-height: 46px; padding: 0 20px; font: 400 clamp(18px, 1.45vw, 23px)/1 var(--flyer); letter-spacing: .04em; text-transform: uppercase; }
#screen .free-intro > .fi-help .bbtn:not(.primary) { background: none; border: 2px solid rgba(244, 236, 220, .7); color: var(--pr-lit); box-shadow: none; }
#screen .free-intro > .fi-help .bbtn.primary { box-shadow: 3px 3px 0 var(--pr-paper); }
#screen .wfs.fi-under > :not(.free-intro) { opacity: .28; }   /* (Main, full chain 22 Nov: a class booth-play sets while the card is up; the :has() it replaces cost 195 ms of style a second at 4x CPU) */

/* P2·4b.7 · MIX SOONER AND SKIP AHEAD (the contract: .mix-sooner, .skip-ahead, small buttons beside the wait line; QA
   BP-03). Outline keys in the lit print, 13 px, never the violet (the wait line is "listen": these are the player's own
   way to move on, not what the screen asks for). In Free mix's strip they stand on the count's line; in a set's banner
   beside the chip. */
#screen :is(.mix-sooner, .skip-ahead) { flex: none; box-sizing: border-box; min-height: 0; height: 26px; margin: 0; padding: 0 12px; background: #0b0a0c; border: 1.5px solid rgba(244, 236, 220, .7); border-radius: 2px; box-shadow: none; font: 700 13px/23px var(--pr-face); letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; color: var(--pr-lit); cursor: pointer; }
#screen :is(.mix-sooner, .skip-ahead):hover, #screen :is(.mix-sooner, .skip-ahead):focus-visible { background: var(--pr-lit); color: #0b0a0c; }
#screen #hudBanner .banner-row > :is(.mix-sooner, .skip-ahead) { align-self: center; margin-left: 10px; }
@media (min-width: 1500px) { #screen.decks-screen:not(.decks-hud) > .mix-hints > :is(.mix-sooner, .skip-ahead) { height: 34px; line-height: 31px; font-size: 14px; margin-bottom: 2px; } }

/* (P2·4b rules go above this line) */



/* ---------- P2·5 · THE LIGHTS ---------- */
/* A SLOW LAPTOP KEEPS A CHEAP ROOM (QA BP-08: body.slow-frames took the whole light layer away, so the playtest's laptop saw
   a black screen). While it is on, booth-lights.js writes ONE number, --cheap (0..1: the beat's breath × how lit the room
   is, in tenths) and the room's colour (--cheap-rgb) on three things, and they carry the room: the lanes' frame, the deck
   panels' top edge and the room strip's surround. A colour and an opacity, no canvas, no blur, no filter; registered and
   not inherited, so a write restyles those boxes alone. */
@property --cheap { syntax: '<number>'; inherits: false; initial-value: 0; }
@property --cheap-rgb { syntax: '*'; inherits: false; }
/* (design/beginner-look-2, round 3: the rings are drawn once on a layer of their own, i.cheap-glow, the last child of the lanes'
   box and of each deck panel, and the beat moves only that layer's opacity: the compositor's work, no repaint. Writing the
   box-shadows on the panels themselves repainted the three panels and the lanes on every write, and an unregistered
   --cheap-rgb restyled the 280 elements under them: style passes of 40-108 ms at 4x CPU, the slow laptop's lost frames.) */
/* (Main, the frame-rate pass of 23 Nov: the rings hang on body[data-cheap-room], which booth-lights.js sets whenever the room is cheap: slow-frames, or a deck screen whose page layer hasn't earned its place yet, booth-play's pageLayerOff) */
#screen.decks-screen i.cheap-glow { position: absolute; inset: 0; z-index: 0; display: block; pointer-events: none; border-radius: inherit; opacity: 0; will-change: opacity; }
/* design/room-on-laptop (24 Nov): THE CHEAP ROOM LOOKS MEANT. Three hard rings round the lanes and a line on each panel read
   as lights that had failed. It is now the full room in three plain layers, so the full room grows out of it when it comes
   up: (1) the window's left and right edges in the room's two colours (#cheapEdges > .ce-l, .ce-r: the full room's edge
   glows, the same width), (2) a glow from the floor that is the room's warmth (.ce-f: it wells up after a clean move and
   holds for the bars the warmth holds; a cooled room has none), (3) the lanes' rim, soft, fading out over 22 px (10 above,
   where the row is text) and each panel's top edge fading down over 12 px. Each is a gradient drawn once on a layer of its
   own; only its opacity moves (the compositor's work), written every 150 ms at most with a short ease between: still no
   canvas, no blur, no filter. #cheapEdges sits under the app (z-index 0, after the lights' canvas): never over a word or a
   control; its edges start at the lanes' top (--ce-top), so the rows of words above them (the header, the step) are never lit; behind the deep room's see-through panels its light keeps to the full room's cap (booth-lights.js cheapLook). */
#cheapEdges { position: fixed; inset: 0; z-index: 0; pointer-events: none; display: none; contain: strict; }
body[data-cheap-room] #cheapEdges { display: block; }
#cheapEdges > i { position: absolute; display: block; opacity: 0; will-change: opacity; transition: opacity .16s linear; }
#cheapEdges > .ce-l { left: 0; top: 0; bottom: 0; width: 18vw; min-width: 80px; background-image: linear-gradient(to bottom, rgb(11, 10, 12), rgba(11, 10, 12, 0)), linear-gradient(to right, rgb(var(--ce1, var(--band-low-rgb))), rgba(var(--ce1, var(--band-low-rgb)), 0)); }   /* (self-QA round 1: the edge's top eased into the page's own ground over 44 px, where it was a straight cut at the lanes' top) */
#cheapEdges > .ce-r { right: 0; top: 0; bottom: 0; width: 18vw; min-width: 80px; background-image: linear-gradient(to bottom, rgb(11, 10, 12), rgba(11, 10, 12, 0)), linear-gradient(to left, rgb(var(--ce2, var(--band-low-rgb))), rgba(var(--ce2, var(--band-low-rgb)), 0)); }
/* (the edges start at the lanes' top by where their picture is drawn, never by moving the box: a box that moves is a layout shift, design-check --shift's G1 rows) */
#cheapEdges > .ce-l, #cheapEdges > .ce-r { background-repeat: no-repeat; background-position: 0 var(--ce-top, 0px); background-size: 100% 44px, 100% 100%; }
#cheapEdges > .ce-f { left: 0; right: 0; bottom: 0; height: 40vh; background-image: linear-gradient(to top, rgb(var(--cew, var(--band-low-rgb))), rgba(var(--cew, var(--band-low-rgb)), .35) 45%, rgba(var(--cew, var(--band-low-rgb)), 0)); transition-duration: .5s; }   /* (the warmth eases: it is never a flash) */
@media (prefers-reduced-motion: reduce) { #cheapEdges > i { transition: none; } }
body[data-cheap-room] #screen.decks-screen > .wfs > i.cheap-glow { inset: -10px -22px -22px -22px; border-radius: 0;
  background-image: linear-gradient(to top, rgba(var(--cheap-rgb, var(--band-low-rgb)), .85), rgba(var(--cheap-rgb, var(--band-low-rgb)), 0)), linear-gradient(to bottom, rgba(var(--cheap-rgb, var(--band-low-rgb)), .85), rgba(var(--cheap-rgb, var(--band-low-rgb)), 0)), linear-gradient(to left, rgba(var(--cheap-rgb, var(--band-low-rgb)), .85), rgba(var(--cheap-rgb, var(--band-low-rgb)), 0)), linear-gradient(to right, rgba(var(--cheap-rgb, var(--band-low-rgb)), .85), rgba(var(--cheap-rgb, var(--band-low-rgb)), 0));
  background-repeat: no-repeat; background-size: calc(100% - 44px) 10px, calc(100% - 44px) 22px, 22px calc(100% - 32px), 22px calc(100% - 32px); background-position: 22px 0, 22px 100%, 0 10px, 100% 10px; }   /* (outside the lanes' box on every side: above, below, left, right; nothing over the lanes) */
body[data-cheap-room] #screen.decks-screen .decks3 > .panel > i.cheap-glow { bottom: auto; height: 12px; background-image: linear-gradient(to bottom, rgba(var(--cheap-rgb, var(--band-low-rgb)), .9), rgba(var(--cheap-rgb, var(--band-low-rgb)), 0)); }   /* (the panel's top edge only: over its top padding, never its words) */
body[data-cheap-room] #screen.decks-screen > .wfs { box-shadow: 0 0 0 1px rgba(var(--band-low-rgb), .45); }   /* (the frame's resting line under the layer's pulse: a hairline now) */
body[data-cheap-room] #screen.decks-screen .decks3 > .panel { box-shadow: inset 0 2px 0 rgba(var(--band-low-rgb), .4); }
body[data-cheap-room] #roomStrip.room-strip { border-color: rgba(var(--cheap-rgb, 239, 234, 223), calc(.5 + .5 * var(--cheap))); box-shadow: inset 5px 0 0 rgb(var(--rs-rgb)), 0 0 0 3px rgba(var(--cheap-rgb, 239, 234, 223), calc(.1 + .5 * var(--cheap))); }
body[data-cheap-room] #roomStrip.room-strip[data-join="clash"] { box-shadow: inset 5px 0 0 #8fa4cf; }
/* THE LANE FRAMES' FLOOD: a clean move, a goal or a pass floods the lanes' frames in the band's colour for 300 ms, whatever
   the frame rate (booth-lights.js sets .wfs[data-flood="low|mid|high|ok"] through the flash gate; never under reduced
   motion). An outline drawn inside each lane's own box: nothing moves, nothing blurs. The two names restart it. */
#screen.decks-screen > .wfs[data-flood] { --flood: var(--band-low-rgb); }
#screen.decks-screen > .wfs[data-flood="mid"] { --flood: var(--band-mid-rgb); }
#screen.decks-screen > .wfs[data-flood="high"] { --flood: var(--band-high-rgb); }
#screen.decks-screen > .wfs[data-flood="ok"] { --flood: 70, 224, 143; }
#screen.decks-screen > .wfs[data-flood] > .wf { outline: clamp(6px, .55vw, 10px) solid rgba(var(--flood), 0); outline-offset: calc(-1 * clamp(6px, .55vw, 10px)); animation: p2-flood-a .3s ease-out both; }
#screen.decks-screen > .wfs[data-flood][data-flood-n="1"] > .wf { animation-name: p2-flood-b; }
@keyframes p2-flood-a { 0% { outline-color: rgba(var(--flood), .95); } 60% { outline-color: rgba(var(--flood), .7); } 100% { outline-color: rgba(var(--flood), 0); } }
@keyframes p2-flood-b { 0% { outline-color: rgba(var(--flood), .95); } 60% { outline-color: rgba(var(--flood), .7); } 100% { outline-color: rgba(var(--flood), 0); } }
@media (prefers-reduced-motion: reduce) { #screen.decks-screen > .wfs[data-flood] > .wf { animation: none; outline: 0; } }
/* THE LIGHTS NOTICE (QA BP-08): one slim line at the window's bottom left, under Deck A's panel, never over the room strip or
   the header: "The lights follow your mix." Keep first, the violet one; Calmer and Off plain keys. It answers itself after
   10 s (Keep). Its own solid ground. */
html body #lightsNotice.lights-notice { left: 24px; right: auto; top: auto; bottom: 3px; z-index: 56; gap: 12px; max-width: calc(100vw - 420px); height: 32px; padding: 0 5px 0 12px; background: #0b0a0c; border: 1px solid rgba(236, 235, 228, .34); border-left: 4px solid var(--pr-violet); border-radius: 0; box-shadow: 0 0 0 3px #0b0a0c; transform: translateY(6px); }
html body #lightsNotice.lights-notice.on { transform: none; }
html body #lightsNotice p { font: 600 15px/1 var(--read); letter-spacing: 0; color: var(--pr-lit); }
html body #lightsNotice .ln-acts { gap: 6px; }
html body #lightsNotice .ln-acts .bbtn { min-height: 24px; height: 24px; padding: 0 12px; font: 400 13px/22px var(--pr-face); text-transform: none; letter-spacing: .02em; border-radius: 0; box-shadow: none; }
html body #lightsNotice .ln-acts .bbtn.primary { font: 400 15px/24px var(--flyer); letter-spacing: .06em; text-transform: uppercase; background: var(--pr-violet); color: #0b0710; border-color: var(--pr-violet); box-shadow: 2px 2px 0 var(--pr-paper); }
@media (prefers-reduced-motion: reduce) { html body #lightsNotice.lights-notice { transform: none; } }
/* (P2·5 rules go above this line) */



/* ---------- P2·6 · THE SELF-QA'S FIXES ---------- */
/* round 1: the title's headline is a heading, so it is Anton (the voice's re-point had made it thin Lexend capitals) */
html body #screen #start .start-sub { font-family: var(--flyer); font-weight: 400; text-transform: uppercase; font-size: clamp(44px, min(10.4vh, 6.4vw), 128px); line-height: .96; letter-spacing: .012em; }
/* round 1: the wait line is a sentence a player reads, so it is the reading face (Dean's list names the wait lines): Lexend
   Bold, sentence case, as big as the capitals were wide */
html body[data-waiting] #screen.decks-screen #hudBanner .banner-text.wait-line, html body[data-waiting].decks-on #screen.decks-screen #hudBanner .banner-text.wait-line { font: 800 clamp(26px, 2.5vw, 42px)/1.12 var(--read); letter-spacing: 0; text-transform: none; }
/* round 1: a night's brief on one screen again (design-check --nights: 38-67 px past the window after the sweep's taller
   lines and the blocks). With the blocks up, the arc's corner numbers ("energy 5 → 7 → 6 → 7") go: the blocks carry the
   numbers the card uses, one per track, and the two rows disagreed (QA BP-06). The crate's preview is one row, and under 1,100 px
   high its count and its line alone ("the crate · 10 fit", "Plan the set shows all 10."). */
html body #screen#screen#screen .night-brief .nb-arc:has(.nb-blocks) .nb-shape-nums { display: none; }
@media (max-height: 1300px) { html body #screen#screen#screen .night-brief .nb-tracks > :nth-child(n+2) { display: none; } }
@media (max-height: 1100px) { html body #screen#screen#screen .night-brief .nb-tracks { display: none; } }
html body #screen#screen#screen .night-brief .nb-arc:has(.nb-blocks) { padding-top: clamp(4px, .8vh, 10px); }
html body #screen#screen#screen .night-brief .nb-rules { gap: clamp(1px, .3vh, 6px); padding-top: clamp(4px, .7vh, 10px); }
html body #screen#screen#screen .night-brief .nb-floor { line-height: 1.3; }
/* …and the room that frees goes to the blocks: they are the brief's picture, so they stand tall enough to read a step
   between two tracks at a glance (they were 12 and 24 px for a 5 and a 7 at 1280×800) */
html body #screen#screen#screen .night-brief .nb-blocks:not(.nb-joins) { --nb-h: clamp(58px, 8.4vh, 108px); }
/* round 1: the night's card fits again (design-check --nights: 62 px past a 720 window with the blocks as a row of their
   own). The blocks stand BEHIND the card's own curve, on its scale (3 to 9, as arcSvg's), so what the room heard is read
   against what each track was asked for; each block's word sits under the plot, its number in its corner. */
html body .night-card .nc-plot { position: relative; }
html body .night-card .nc-plot > svg { position: relative; z-index: 1; }
html body .night-card .nc-plot > .nb-blocks.nb-behind { position: absolute; inset: 0; z-index: 0; height: auto; margin: 0; padding: 0; column-gap: 0; pointer-events: none; }
html body .night-card .nc-plot > .nb-blocks.nb-behind > .nb-block { margin: 0 3px; background: color-mix(in srgb, var(--pr-violet) 34%, transparent); border-top: 3px solid var(--pr-violet); }
html body .night-card .nc-plot:has(> .nb-blocks) > .nc-tn { display: none; }   /* (each block's word names its track) */
html body .night-card .nc-plot > .nb-blocks.nb-behind > .nb-block > .nb-block-word { margin-top: 4px; font: 600 13px/16px var(--read); color: var(--pr-lit); }
html body .night-card .nc-plot > .nb-blocks.nb-behind > .nb-block > .nb-block-n { color: var(--pr-lit); }
html body #screen#screen#screen .night-card .nc-curve:has(.nb-blocks) { padding-bottom: 28px; }
/* round 1: THE ROOM on a night, bolder (it read as one more row of small print under the instruction): a taller strip, the
   blocks wide enough to be a picture, WANTS · PLAYING the biggest words in the row, a 2 px lit edge. The lanes give 4 px each. */
@media (min-width: 1000px) and (min-height: 761px) {
  #roomStrip.room-strip[data-mode="night"], #roomStrip.room-strip[data-mode="bedroom"] { --rs-h: 54px; border-width: 2px; border-color: rgba(239, 234, 223, .6); box-shadow: inset 6px 0 0 rgb(var(--rs-rgb)); }
  #roomStrip[data-mode="night"] .rs-blocks { padding: 4px 0 16px; gap: 5px; }
  #roomStrip[data-mode="night"] .rs-block { width: clamp(38px, 3.1vw, 50px); }
  #roomStrip[data-mode="night"] .rs-wants, #roomStrip[data-mode="bedroom"] .rs-wants { font-size: clamp(19px, 1.55vw, 26px); }
  #roomStrip[data-mode="night"] .rs-mood, #roomStrip[data-mode="bedroom"] .rs-mood { font-size: clamp(18px, 1.45vw, 24px); }
  #roomStrip[data-mode="night"] .rs-name, #roomStrip[data-mode="bedroom"] .rs-name { font-size: clamp(18px, 1.45vw, 24px); }
}
/* (under 1,500 px wide the strip shares its row with the legend: the blocks a little narrower and WANTS · PLAYING at 18 px, so
   its longest line, "WANTS: MEDIUM · PLAYING: MEDIUM ✓", is never cut; five tracks: narrower blocks still) */
@media (min-width: 1000px) and (max-width: 1499px) and (min-height: 761px) {
  #roomStrip[data-mode="night"] .rs-block { width: 30px; }
  #roomStrip[data-mode="night"] .rs-blocks { gap: 4px; }
  #roomStrip[data-mode="night"] .rs-blocks:is([data-n="5"], [data-n="6"], [data-n="7"], [data-n="8"]) .rs-block { width: 24px; }
  #roomStrip[data-mode="night"] .rs-wants, #roomStrip[data-mode="bedroom"] .rs-wants { font-size: 18px; letter-spacing: 0; }
  #roomStrip.room-strip[data-mode="night"] { column-gap: 11px; padding-right: 10px; }
}
@media (min-width: 1700px) { #roomStrip.room-strip[data-mode="night"], #roomStrip.room-strip[data-mode="bedroom"] { --rs-h: 64px; } #roomStrip[data-mode="night"] .rs-blocks { padding: 5px 0 19px; } }
/* round 1: Plan the set at 1280×800 showed the brief, the curve and the checks, and not one track of the set (they began
   under PLAY THIS SET). Each block behind the curve now says its own word and number ("MEDIUM 5"), so under 900 px high
   the header's second row of blocks goes and the curve is a little shorter: the set's first track is on the first screen. */
html body #screen#screen#screen #setBuilder .sb-curve > .sb-plot > .nb-blocks.nb-behind > .nb-block::before { content: attr(data-word); position: absolute; left: 7px; top: 4px; font: 700 13px/16px var(--read); letter-spacing: .05em; text-transform: uppercase; color: var(--pr-lit); }
html body #screen#screen#screen #setBuilder .sb-curve > .sb-plot > .nb-blocks.nb-behind > .nb-block > .nb-block-n { display: block; top: 4px; right: 7px; font: 700 13px/16px var(--num); color: var(--pr-lit); }
@media (max-height: 899px) {
  html body #screen#screen#screen #setBuilder .sb-night-brief > .nb-blocks { display: none; }
  html body #screen#screen#screen#screen #setBuilder .sb-plot { height: 132px; }
}
@media (max-height: 760px) { html body #screen#screen#screen#screen #setBuilder .sb-plot { height: 100px; } }
/* round 1: the crossfader's note ("held in the middle: mix with the volume faders (Sound settings)") is three lines in the
   reading face; its box was held to two, so the third ran under the mixer's bottom edge on a night. It takes its three
   lines and stands on the cell's foot, growing upwards into the empty plate. */
html body #screen#screen#screen.decks-screen .decks3 .mixer > .slider.xf > #xfTag.tag:not([hidden]) { display: block; align-self: end; max-height: none; -webkit-line-clamp: unset; overflow: visible; margin: 0 0 1px; line-height: 14px; }
/* round 1: Free mix's sentence at 26 px under 1,500 px wide (design-check --layout's plate rows hold a step to 26 px or more; it
   was 22). Still two lines, never cut: the row is 6 px taller and each lane gives 3 px. */
@media (min-width: 1000px) and (max-width: 1499px) {
  html body #screen#screen.decks-screen:not(.decks-hud) { --mh-fs: 26px; --mh-lh: 30px; }
  html body #screen#screen#screen#screen.decks-screen:not(.decks-hud) .wf { height: clamp(96px, calc((100vh - 474px - var(--rs-row, 0px) - var(--mh-grow, 0px)) / 2), 250px); }
}
@media (min-width: 1000px) and (max-width: 1499px) and (min-height: 980px) { html body #screen#screen#screen#screen.decks-screen:not(.decks-hud) .wf { height: clamp(96px, calc((100vh - 474px - var(--rs-row, 0px) - var(--mh-grow, 0px)) / 2), 236px); } }
/* round 1: the intro cards fit their window again (design-check --first-session: 1.1's and 1.2's cards scrolled 54-109 px on
   Main's real four lines). The picture was stretched to the text's height with the goal box under it, so the card was
   the text PLUS the goal. Now the right column is its own stack inside the left column's height: the picture at its top
   at its own height, the goal box at its foot (the picture's bottom margin keeps the goal's room, so the two never
   touch on a short card), and the card is as tall as its words and its button. */
html body #screen#screen#screen .ft-intro > .intro-pic { grid-row: 1 / span 11; align-self: start; align-content: start; }
html body #screen#screen#screen .ft-intro.has-pic > .intro-pic { margin-bottom: clamp(176px, 23.5vh, 226px); }
html body #screen#screen#screen .ft-intro.has-pic > .goal-box { grid-row: 1 / span 11; align-self: end; margin: 0; }
/* …and under 960 px high the words get more of the card (a narrower picture column, a narrower label column), on
   lines a touch tighter, so 1.2's, 1.3's and Chapter 2's longer lines fit too */
html body #screen#screen#screen .ft-intro .intro-line > span { line-height: 1.32; }
@media (max-height: 960px) {
  html body #screen#screen#screen .ft-intro.has-pic > .ft-tracks { margin-top: clamp(4px, 1vh, 10px); }
  html body #screen#screen#screen .ft-intro.has-pic > .row.wrap { margin-top: clamp(6px, 1.2vh, 12px); }
  html body #screen#screen#screen .ft-intro.has-pic > h1 { margin-bottom: clamp(4px, .9vh, 9px); }
  html body #screen#screen#screen .ft-intro.has-pic { grid-template-columns: minmax(0, 1fr) clamp(344px, 30%, 380px); column-gap: clamp(20px, 2.2vw, 36px); }
  /* (the picture in the narrower column: 44 px knobs, a 40 px fader column, and each VOLUME over its own fader on the
     decks' A · B row, clear of the knobs: at 13 px the word is wider than its fader) */
  html body #screen#screen#screen#screen#screen .intro-pic { padding: 12px 14px; }
  html body #screen#screen#screen#screen#screen .intro-pic .mcols { column-gap: 26px; }
  html body #screen#screen#screen#screen#screen .intro-pic .mcol { grid-template-columns: minmax(0, 1fr) 40px; column-gap: 8px; row-gap: 8px; }
  html body #screen#screen#screen#screen#screen .intro-pic .mcol.deckB { grid-template-columns: 40px minmax(0, 1fr); }
  html body #screen#screen#screen#screen#screen .intro-pic .kn { grid-template-columns: minmax(40px, 1fr) 44px; column-gap: 8px; }
  html body #screen#screen#screen#screen#screen .intro-pic .mcol.deckB .kn { grid-template-columns: 44px minmax(40px, 1fr); }
  html body #screen#screen#screen#screen#screen .intro-pic .kn > .knob { width: 44px; height: 44px; }
  html body #screen#screen#screen#screen#screen .intro-pic .kn > .knob > i { height: 13px; transform-origin: 50% 15.5px; }
  html body #screen#screen#screen#screen#screen .intro-pic .vf { width: 40px; }
  html body #screen#screen#screen .ft-intro .intro-line { grid-template-columns: clamp(96px, 8.4vw, 124px) minmax(0, 1fr); column-gap: 12px; padding: clamp(4px, .8vh, 8px) 0 clamp(4px, .7vh, 7px); }
  html body #screen#screen#screen .ft-intro .intro-line > span { font-size: clamp(15px, 2vh, 17px); }
  html body #screen#screen#screen .ft-intro .intro-line[data-k="do"] > span { font-size: clamp(16px, 2.15vh, 18px); }
  html body #screen#screen#screen .ft-intro.has-pic > .intro-pic { margin-bottom: clamp(160px, 22vh, 190px); }
}
@media (max-height: 740px) { html body #screen#screen#screen .ft-intro.has-pic .intro-line { padding: 3px 0; } }
/* round 1: a two-line step never moves the lanes (design-check --shift: 14 px). The banner's floor was two lines of the
   sentence, the chip's row and 47 px; with the why open under the chip (Main's BC-23: open by default in Chapter 1) and
   the chip at 30 px, a two-line step stood 14 px over it. The floor holds all three rows now. */
/* (not where THE ROOM's strip is up: a set and a night keep the old floor, their lanes need the room and their why is
   folded unless the player opens it. The strip is never up in a lesson, a trick or Your first set.) */
html body[data-why-open]:not(.quiet):not(.timing-up) #screen.screen.decks-screen.decks-banner:not(.rs-up) > .hud #hudBanner { min-height: calc(2 * 1.06 * var(--step-fs) + 66px); }   /* (Main, full chain 22 Nov: only while the why is kept open, body[data-why-open] from BoothCoach; closed, the floor above holds and the lanes keep 120 px at 1280×720) */
@media (min-width: 1400px) { html body[data-why-open]:not(.quiet):not(.timing-up) #screen.screen.decks-screen.decks-banner:not(.rs-up) > .hud #hudBanner { min-height: calc(2 * 1.06 * var(--step-fs) + 76px); } }
/* (the picture's VOLUME labels sit on the decks' own row, over their faders, at every size: never on a knob) */
html body #screen#screen#screen#screen#screen .intro-pic .vf { grid-row: 1 / span 4; white-space: nowrap; overflow: visible; }
/* the print check's finds on the intro card: the goal's quiet line over the halftone corner (4.48:1) takes the print's grey */
html body #screen#screen#screen .ft-intro .goal-box .goal-what { color: var(--pr-print); }
/* the print check's other finds (13 px and 4.5:1): Home's "next" on the tricks line, Free mix's top bar (the score's small
   words, New mix, Record this mix), the builder's empty slots' numbers (they were the paper at 30%), and a block's number
   behind the night card's curve (the curve's violet line ran under it: its own dark ground) */
body.home #screen#screen#screen#screen[data-route="menu"] #homeTricks .ht-line .ht-k { font-size: 13px; }
html body #screen#screen#screen.decks-screen > .freebar :is(#fscore .fs-k, .bbtn.sm, #recBtn) { font-size: 13px; }
html body #screen#screen#screen #setBuilder .sb-slot > .sb-n { color: var(--pr-dim); }
html body #screen#screen#screen#screen#screen #setBuilder .sb-lane > .sb-slot:not(.sb-slot ~ .sb-slot) > .sb-n { color: var(--pr-violet); }
html body .night-card .nc-plot > .nb-blocks.nb-behind > .nb-block > .nb-block-n { top: 100%; bottom: auto; right: 4px; margin-top: 4px; padding: 0; background: none; font: 700 13px/16px var(--num); color: var(--pr-lit); }   /* (under the plot at its word's line's end: the curve's lines are drawn over the blocks) */
/* a card's NICE and NEXT lines: the first line started a space further in than the second (the space after the label) */
html body #screen#screen#screen .coach-card p.coach-good > .coach-k, html body #screen#screen#screen .coach-card p.coach-fix > .coach-k { margin-right: -.27em; }
/* round 1, the faces: the last sentences still in the dense print (design-look-print --faces): quiet lines and notes on
   the menus and the deck screens. Keys, tags, track names and read-outs keep B612. */
html body #screen :is(p.small, span.small.muted, span.tiny.muted, .explore-sum > .small, .dc-best):not(.mono:not(.dc-best)), html body #screen #ownTracksLine { font-family: var(--read); letter-spacing: 0; }
/* (fix/beginner-play, Main, full chain 22 Nov: Your first mix's moves board (#ftBoard, new with the warm-ups) took a row of its
   own under the said line and the lanes fell to 96 px at 1280×720 (design-check feel: 120). On a short screen it shares the
   said line's row, the said line on the left, the board on the right: one row less, the lanes back over 120.) */
@media (max-height: 760px) {
  html body .screen.decks-screen.decks-banner > .hud.ft-hud .hud-sub { grid-column: 1 / 4; }
  html body .screen.decks-screen.decks-banner > .hud.ft-hud #ftBoard { grid-row: 3; grid-column: 4 / -1; align-self: center; min-height: 0; margin: 0 0 0 12px; }
  html body .screen.decks-screen.decks-banner > .hud.ft-hud #ftBoard .mb-tile { min-height: 24px; padding-top: 2px; padding-bottom: 2px; }
}
/* (fix/beginner-play, Main, full chain 22 Nov: on a short screen a short why sits beside the chip (#hudBanner.why-side, set by BoothCoach
   when the chip's row has nothing else in it), not a row under it, so the
   banner's floor is two rows of the sentence and one of the chip again and the lanes keep 120 px at 1280×720 with Chapter 1's
   why open) */
@media (max-height: 760px) {
  html body.decks-on .screen.decks-screen.decks-banner > .hud #hudBanner.why-side { grid-template-columns: minmax(0, .45fr) auto minmax(0, 1.55fr); column-gap: 14px; }   /* (the why gets the wide side: one line, two at most) */
  html body.decks-on .screen.decks-screen.decks-banner > .hud #hudBanner.why-side > :not(.banner-row):not(.banner-why) { grid-column: 1 / -1; }
  html body.decks-on .screen.decks-screen.decks-banner > .hud #hudBanner.why-side > .banner-row { grid-column: 2; grid-row: 2; }
  html body.decks-on .screen.decks-screen.decks-banner > .hud #hudBanner.why-side > .banner-why { grid-column: 3; grid-row: 2; justify-self: start; align-self: center; max-width: 100%; margin: 0; text-align: left; font-size: 13px; line-height: 1.25; }
  html body[data-why-open]:not(.quiet):not(.timing-up) #screen.screen.decks-screen.decks-banner:not(.rs-up) > .hud #hudBanner { min-height: calc(2 * 1.04 * var(--step-fs) + 40px); }   /* (two rows of the sentence, 59 px, the chip's row and its why, 26, the gap and padding: 96) */
}
/* ---------- Round 3, 23 Nov (qa/combined-before-merge) ---------- */
/* Finding 1 (M1A-04) · a night's brief on Main's latest markup (booth-nights: <ol class="nb-blocks"> with li.nb-block, "TRACK 3"
   in a <b> before the block's word, the energy line beside THE SHAPE OF THE NIGHT, three ways in, .nb-picked and .nb-help-note):
   no list numbers; each block's word whole (TRACK 3 on one line, its word under it); the shape's label the violet head every
   label on a card is; the energy line and the notes in the lit print at 14 px; the big button beside the two small ones stacked. */
.nb-blocks { list-style: none; padding-left: 0; }
.nb-blocks > .nb-block { list-style: none; }
.nb-blocks > .nb-block::marker { content: none; }
html body #screen#screen#screen .night-brief .nb-blocks:not(.nb-joins) { --nb-word: clamp(34px, 4.4vh, 42px); --nb-h: clamp(62px, 8.6vh, 112px); }
html body #screen#screen#screen#screen .night-brief .nb-blocks > .nb-block > .nb-block-word { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.15; font-size: clamp(13px, 1.75vh, 16px); font-weight: 500; }
html body #screen#screen#screen#screen .night-brief .nb-blocks > .nb-block > .nb-block-word > b { display: block; font-weight: 800; letter-spacing: .02em; }
html body #screen#screen#screen#screen .night-brief .nb-shape .nb-shape-k { font: 400 15px/22px var(--flyer); letter-spacing: .08em; text-transform: uppercase; color: var(--pr-violet); }
html body #screen#screen#screen#screen .night-brief :is(.nb-energy-line, .nb-picked, .nb-help-note, .nb-cut-teach) { font: 500 14px/1.4 var(--read); letter-spacing: 0; color: var(--pr-lit); }
html body #screen#screen#screen#screen .night-brief .nb-shape .nb-energy-line { line-height: 22px; }
html body #screen#screen#screen#screen .night-brief :is(.nb-picked, .nb-help-note) { margin: 4px 0 0; }
html body #screen#screen#screen#screen .night-brief .nb-acts { display: grid; grid-template-columns: auto auto 1fr; grid-auto-flow: column; column-gap: 12px; row-gap: 4px; align-items: stretch; justify-content: start; }
html body #screen#screen#screen#screen .night-brief .nb-acts > .bbtn.primary[data-nt] { grid-column: 1; grid-row: 1 / span 2; }
html body #screen#screen#screen#screen .night-brief .nb-acts > .bbtn:not(.primary)[data-nt] { grid-column: 2; min-height: 0; height: auto; padding: 3px 14px; white-space: nowrap; font-size: clamp(16px, 2.15vh, 20px); line-height: 1.1; justify-content: center; }
html body #screen#screen#screen#screen .night-brief .nb-acts > .bbtn.primary[data-nt] { min-height: 0; }
html body #screen#screen#screen#screen .night-brief .nb-acts > .nb-sync { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
@media (max-height: 760px) { html body #screen#screen#screen#screen .night-brief :is(.nb-picked, .nb-help-note) { margin-top: 1px; } html body #screen#screen#screen#screen .night-brief .nb-acts { margin-top: 0; } html body #screen#screen#screen#screen .night-brief .nb-body { gap: 5px; } }   /* (fix/main-red-dec2: 2 px less between the brief's ten blocks: 18 px of room at 1280×720, where CI's runner drew it 5 px taller than here and the last line ended on 721) */
/* C1F-06 · the header's "try again" beside a connected controller: the look's button rule (display: inline-flex) beat the
   [hidden] attribute booth.js sets once a controller is ready */
#connect[hidden], .bh .bbtn[hidden] { display: none !important; }
/* M2-06 · at 961 px high or more the goal box shows the score's sentence in full: its second copy under the box goes */
@media (min-height: 961px) { html body #screen#screen#screen .night-brief .nb-floor { display: none; } }
/* (P2·6 rules go above this line) */

/* Main, fix/beginner-play (Dean, 23 Nov: Try just the swap's primary "Again" showed its [Space] key cap as a solid black bar,
   the key's text dark on dark: a card's button ink reached the cap). A key cap on any button (primary, big, the waiting one,
   outline, ghost, small; on the page or a card) reads as one: the dark cap, its key in the lit paper, a light hairline round
   it (17:1). design-check --keycaps measures every button type. */
html body #screen#screen#screen#screen .bbtn :is(.wait-key, kbd), html body #screen#screen#screen#screen .bbtn.wait-go .swap-key { background: #0b0710; color: #f4ecdc; border: 1px solid rgba(244, 236, 220, .45); opacity: 1; text-shadow: none; }
/* G2 (Main, 23 Nov: one small rule in Design's file): the FILTER waiting after an effect goes off: a small mark under the knob,
   "back to the middle", until the knob comes back through it (booth-play.js filterMark). Restyle as you like. */
[data-filter-wait] { position: relative; }
[data-filter-wait] > .kn-back { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); white-space: nowrap; font: 600 10px/12px var(--mono, ui-monospace, monospace); letter-spacing: .04em; color: #f2ea78; background: rgba(11, 10, 12, .9); padding: 0 4px; pointer-events: none; }
/* G1 (Main, 23 Nov: Dean's step "Swap the bass, on the 1. Deck A MID up too." spread its chips across the HUD; one block in
   Design's file, restyle as you like): on a deck screen the step is one line and its chips (three at most, the count one of
   them, the rest "+N": booth-coach.js) one compact row that never wraps; the HUD's height never changes with the step. */
html body.decks-on #screen#screen.decks-screen #hudBanner .banner-text { white-space: nowrap; justify-self: center; max-width: 100%; grid-column: 1 / -1; }
html body.decks-on #screen#screen.decks-screen #hudBanner .banner-text.banner-long { white-space: normal; text-wrap: balance; }   /* a line too long for one (booth-coach marks it) wraps: never past the window (the full chain on #178) */
html body.decks-on #screen#screen.decks-screen #hudBanner .banner-row { flex-wrap: nowrap; justify-content: center; gap: 8px; max-width: 100%; }
html body.decks-on #screen#screen.decks-screen #hudBanner .banner-ctl { font-size: 13px; padding-top: 3px; padding-bottom: 3px; white-space: nowrap; flex: 0 1 auto; min-width: 0; }
html body.decks-on #screen#screen.decks-screen #hudBanner .banner-ctl .banner-target { font-size: 12px; }
html body.decks-on #screen#screen.decks-screen #hudBanner .banner-ctl.banner-more { padding-left: 8px; padding-right: 8px; letter-spacing: .04em; }
html body.decks-on #screen#screen.decks-screen #hudBanner { grid-template-columns: minmax(0, 1fr); }   /* the banner's column never wider than the banner: nothing spills past the window */
html body.decks-on #screen#screen.decks-screen #hudBanner .banner-row > * { flex-shrink: 0; }
html body.decks-on #screen#screen.decks-screen #hudBanner > .banner-note { grid-column: 1 / -1; justify-self: center; margin: 0; white-space: nowrap; max-width: 100%; }   /* the note on the why's line, under the chips (never beside them) */
html body.decks-on #screen#screen.decks-screen #hudBanner:has(> .banner-note) > .banner-why { display: none; }   /* (a note up: the why waits behind its ⓘ) */

/* ====================================================================================================================
   feature/craft-lessons (docs/PLAN-moves.md "Making it feel good"; this run owns its styling)
   THE CRAFT POPS, second pass: each kind reads at a glance by a small typed tag before its name (EQ · PREP · LOOP · FX), in
   its own ink (EQ paper, a prep the bass band, a loop cyan as Deck B's lane, FX amber), on the print's dark unlit card. They
   stay under the bass swap: never past md, 16-18 px names (the hero is 40-54 px), no glow, no lit sign, no flood.
   THE CRAFT ROW in Stats: one ruled line of five read-outs, as the four figures above it; the sentence in Lexend.
   ==================================================================================================================== */
body .spop-k-loop { --pop-c: #66e3f0; }
body .spop-k-fx { --pop-c: #ffe2b4; }
body .spop:is(.spop-k-eqfix, .spop-k-prep, .spop-k-loop, .spop-k-fx) { background: #0b0b0a; border: 1px solid rgba(236, 235, 228, .3); border-left: 3px solid var(--pop-c); border-radius: 2px; box-shadow: 0 6px 16px rgba(0, 0, 0, .6); filter: none; }
body .spop:is(.spop-k-eqfix, .spop-k-prep, .spop-k-loop, .spop-k-fx) .spop-name { color: #f4ecdc; font-size: 16px; text-shadow: none; }
body .spop-md:is(.spop-k-eqfix, .spop-k-prep, .spop-k-loop, .spop-k-fx) .spop-name { font-size: 18px; }
body .spop:is(.spop-k-eqfix, .spop-k-prep, .spop-k-loop, .spop-k-fx) .spop-name::before { display: inline-block; margin-right: 8px; padding: 1px 5px 0; border: 1px solid var(--pop-c); border-radius: 2px; color: var(--pop-c); font: 700 11px/1.35 var(--num, ui-monospace, monospace); letter-spacing: .08em; vertical-align: 3px; }
body .spop.spop-k-eqfix .spop-name::before { content: 'EQ'; }
body .spop.spop-k-prep .spop-name::before { content: 'PREP'; }
body .spop.spop-k-loop .spop-name::before { content: 'LOOP'; }
body .spop.spop-k-fx .spop-name::before { content: 'FX'; }
body .spop:is(.spop-k-eqfix, .spop-k-prep, .spop-k-loop, .spop-k-fx) .spop-q { color: #bbb4a6; font: 400 13px/1.3 var(--pr-face, inherit); background: none; }
body .spop:is(.spop-k-eqfix, .spop-k-prep, .spop-k-loop, .spop-k-fx) .spop-pts { color: var(--pop-c); }

#screen#screen .craft-row { margin: 0 0 24px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
#screen#screen .craft-row > h3 { margin: 0 0 4px; }
#screen#screen .craft-row .craft-note { margin: 0 0 10px; font: 700 15px/1.45 'Lexend', 'Helvetica Neue', Arial, sans-serif; letter-spacing: 0; color: var(--pr-lit, #f4ecdc); max-width: 72ch; }
#screen#screen .craft-cells { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--pr-paper, #efeadf); border-bottom: 1px solid var(--pr-rule2, rgba(236, 235, 228, .3)); }
#screen#screen .craft-cell { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 14px 0; min-width: 0; }
#screen#screen .craft-cell + .craft-cell { padding-left: 16px; border-left: 1px solid var(--pr-rule, rgba(236, 235, 228, .16)); }
#screen#screen .craft-cell > span { font: 400 13px/1.3 var(--pr-face, inherit); letter-spacing: .06em; text-transform: lowercase; color: var(--pr-dim, #a59f92); }
#screen#screen .craft-cell > b { font: 700 28px/1.1 var(--pr-face, inherit); font-variant-numeric: tabular-nums; color: var(--pr-amber, #ffe2b4); }
#screen#screen .craft-cell[data-today="0"] > b { color: var(--pr-dim, #a59f92); }
#screen#screen .craft-cell > i { font: 400 13px/1.3 var(--pr-face, inherit); font-style: normal; color: var(--pr-dim, #a59f92); }
/* the lesson card's craft line: a quiet line under Nice, never a second headline */
html body #screen#screen#screen .coach-card p.coach-craft { margin: 0; padding: 4px 0 8px 150px; text-indent: -150px; border: 0; font: 700 15px/1.45 'Lexend', 'Helvetica Neue', Arial, sans-serif; color: var(--pr-lit, #f4ecdc); }
html body #screen#screen#screen .coach-card p.coach-craft > .coach-k { display: inline-block; width: 150px; margin-right: -.27em; text-indent: 0; font: 400 14px/1.3 var(--flyer); letter-spacing: .06em; text-transform: uppercase; color: var(--pr-violet, #b066ff); opacity: .85; }
/* a craft pop never covers the hero: it sits under the bass swap's pop when they meet (craft-shots' pops-1280x800) */
body .spop:is(.spop-k-eqfix, .spop-k-prep, .spop-k-loop, .spop-k-fx) { z-index: 1; }
body .spop.spop-k-swap, body .spop.spop-lg, body .spop.spop-hero { z-index: 3; }

/* THE CROWD (feature/crowd, docs/PLAN-crowd.md; the crowd session's block in Design's file). THE ROOM strip carries the crowd:
   its word follows the mood (#roomStrip[data-floor="fire|warm|cooling|cold|empty"] .rs-mood: ON FIRE · WARM · COOLING · COLD ·
   EMPTY), its bar is the warmth, its line (.rs-say) takes the NEXT slot (a line asking for a way back first, else NEXT first),
   and while the ways back are up (#roomStrip[data-opts]) one compact row of at most three (.rs-opts > .rs-opt[data-floor-opt]
   > kbd + .rs-opt-name + .rs-opt-what + .rs-opt-cost) replaces the wants, NEXT and the line: the strip keeps its height, so
   nothing under it moves (design-check --shift). A cold floor greys to the steel blue, an empty one dims: never red. */
#roomStrip .rs-say { grid-area: next; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 600 clamp(14px, 1.1vw, 18px)/1.12 var(--read); color: var(--pr-lit); }
#roomStrip .rs-say:empty, #roomStrip .rs-opts:empty { display: none; }
#roomStrip:not([data-say-help]) .rs-next:not(:empty) ~ .rs-say { display: none; }
#roomStrip[data-say-help] .rs-next { display: none; }
#roomStrip[data-floor="cooling"] .rs-say, #roomStrip[data-floor="cold"] .rs-say { color: #c7d2ea; }
#roomStrip[data-floor="empty"] .rs-say { color: var(--pr-dim); }
#roomStrip .rs-opts { grid-area: next; display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; }
#roomStrip[data-opts] .rs-wants, #roomStrip[data-opts] .rs-next { display: none; }
#roomStrip[data-opts] .rs-say { grid-area: wants; display: block; }   /* while the ways back are up: the line on the first row, the ways back on the second */
#roomStrip .rs-opt { all: unset; box-sizing: border-box; flex: none; display: inline-flex; align-items: center; gap: 6px; height: 19px; padding: 0 8px 0 0; border: 2px solid var(--pr-violet); background: rgba(14, 12, 18, .82); color: var(--pr-lit); white-space: nowrap; cursor: pointer; }
#roomStrip .rs-opt:hover, #roomStrip .rs-opt:focus-visible { background: color-mix(in srgb, var(--pr-violet) 22%, rgba(14, 12, 18, .9)); outline: none; }
#roomStrip .rs-opt[data-chosen] { background: var(--pr-violet); color: #fff; }
#roomStrip .rs-opt > kbd { display: inline-grid; place-items: center; align-self: stretch; min-width: 17px; font: 700 12px/1 var(--mono); color: #0e0c12; background: var(--pr-violet-hi); }
#roomStrip .rs-opt[data-chosen] > kbd { background: #fff; }
#roomStrip .rs-opt-name { font: 800 13px/1 var(--read); }
#roomStrip .rs-opt-what { display: none; }
#roomStrip .rs-opt-cost { font: italic 500 12px/1 var(--read); color: var(--pr-print); }
#roomStrip .rs-opt-cost::before { content: '· '; font-style: normal; }
#roomStrip .rs-opt[data-chosen] .rs-opt-cost { color: #efe6ff; }
#roomStrip[data-floor="fire"] .rs-mood { color: #fff; }
#roomStrip[data-floor="warm"] .rs-mood { color: var(--pr-lit); }
#roomStrip[data-floor="cooling"] .rs-mood { color: #c7d2ea; }
#roomStrip[data-floor="cold"] .rs-mood { color: #a9bade; }
#roomStrip[data-floor="empty"] .rs-mood { color: var(--pr-dim); }
#roomStrip[data-floor="empty"] { filter: saturate(.55) brightness(.85); }
/* a set with no night (the strip beside the legend): one row, THE CROWD · the bar · the word · the line */
#roomStrip[data-mode="crowd"][data-floor] { grid-template-columns: auto auto auto minmax(0, auto); grid-template-areas: "name blocks mood say"; }
#roomStrip[data-mode="crowd"] .rs-say { grid-area: say; max-width: 44ch; padding-right: 12px; }
#roomStrip[data-mode="crowd"] .rs-mood { min-width: 6.4em; }
#roomStrip[data-mode="crowd"][data-opts] { grid-template-columns: auto auto auto; grid-template-rows: auto auto; grid-template-areas: "name mood say" "name mood opts"; align-content: center; row-gap: 2px; }
#roomStrip[data-mode="crowd"][data-opts] .rs-blocks { display: none; }
#roomStrip[data-mode="crowd"][data-opts] .rs-say { grid-area: say; font-size: 13px; line-height: 14px; }
#roomStrip[data-mode="crowd"] .rs-opts { grid-area: opts; padding-right: 10px; }
#roomStrip[data-mode="crowd"] .rs-opt { height: 17px; }
/* Free mix (no HUD): the strip shares its row with Guided's count line (centred, never further left than 250 px into the
   sentence's column), so it keeps its width: the line goes on a second, smaller row inside the same 36 px, and the ways
   back (#crowdOpts) go up to the legend's row while they're up, the legend hidden (its box kept: nothing moves) */
@media (min-width: 1000px) {
  html body #screen.decks-screen:not(.decks-hud) > #roomStrip[data-mode="crowd"][data-say] { grid-template-columns: auto auto auto; grid-template-rows: auto auto; grid-template-areas: "name blocks mood" "name say say"; row-gap: 1px; align-content: center; }
  html body #screen.decks-screen:not(.decks-hud) > #roomStrip[data-mode="crowd"][data-say] .rs-blocks { display: flex; }
  html body #screen.decks-screen:not(.decks-hud) > #roomStrip[data-mode="crowd"][data-say] .rs-bar { height: 6px; }
  html body #screen.decks-screen:not(.decks-hud) > #roomStrip[data-mode="crowd"][data-say] .rs-mood { grid-row: 1; font-size: 14px; line-height: 15px; }
  html body #screen.decks-screen:not(.decks-hud) > #roomStrip[data-mode="crowd"] .rs-say { max-width: 330px; padding-right: 0; font-size: 12.5px; line-height: 14px; }
  html body #screen.decks-screen:not(.decks-hud).rs-opts-up > .wv-legend { visibility: hidden; }
  html body #screen.decks-screen:not(.decks-hud) > #crowdOpts { grid-row: 2; grid-column: 1 / -1; justify-self: start; align-self: center; position: relative; z-index: 4; display: flex; gap: 6px; max-width: calc(100% - 580px); overflow: hidden; }
}
#crowdOpts .rs-opt { all: unset; box-sizing: border-box; flex: none; display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px 0 0; border: 2px solid var(--pr-violet); background: rgba(14, 12, 18, .9); color: var(--pr-lit); white-space: nowrap; cursor: pointer; }
#crowdOpts .rs-opt:hover, #crowdOpts .rs-opt:focus-visible { background: color-mix(in srgb, var(--pr-violet) 22%, rgba(14, 12, 18, .9)); outline: none; }
#crowdOpts .rs-opt[data-chosen] { background: var(--pr-violet); color: #fff; }
#crowdOpts .rs-opt > kbd { display: inline-grid; place-items: center; align-self: stretch; min-width: 18px; font: 700 12px/1 var(--mono); color: #0e0c12; background: var(--pr-violet-hi); }
#crowdOpts .rs-opt[data-chosen] > kbd { background: #fff; }
#crowdOpts .rs-opt-name { font: 800 13px/1 var(--read); }
#crowdOpts .rs-opt-what { display: none; }
#crowdOpts .rs-opt-cost { font: italic 500 12px/1 var(--read); color: var(--pr-print); }
#crowdOpts .rs-opt-cost::before { content: '· '; font-style: normal; }
#crowdOpts .rs-opt[data-chosen] .rs-opt-cost { color: #efe6ff; }
@media (min-width: 1700px) { #roomStrip .rs-opt { height: 22px; } #roomStrip .rs-opt-name { font-size: 15px; } #roomStrip .rs-opt-cost { font-size: 13px; } #roomStrip[data-mode="crowd"] .rs-opt { height: 19px; } #roomStrip[data-mode="crowd"][data-opts] .rs-say { font-size: 14px; line-height: 16px; } }
/* a set's or a night's screen (the strip beside the lanes' legend): while the ways back are up the legend steps aside (hidden,
   its box kept: the row's height and the lanes stay put) and the strip runs over its place, as wide as the ways back need */
@media (min-width: 1000px) {
  html body #screen.decks-screen.decks-hud.rs-opts-up > .wv-legend { visibility: hidden; }
  html body #screen.decks-screen.decks-hud.rs-opts-up > #roomStrip.room-strip[data-opts] { justify-self: start; width: max-content; max-width: calc(100vw - 64px); z-index: 4; }
}
/* the night's card: the crowd's story under the floor's parts (.nc-crowd > .nc-crowd-h + .nc-crowd-line), short and quiet; a room won back inside 32 bars gets the violet edge */
#screen#screen .night-card .nc-crowd { margin: 8px 0 4px; padding: 6px 0 6px 12px; border-left: 3px solid var(--pr-dim); }
#screen#screen .night-card .nc-crowd[data-won] { border-left-color: var(--pr-violet); }
#screen#screen .night-card .nc-crowd[data-end="cold"], #screen#screen .night-card .nc-crowd[data-end="empty"] { border-left-color: #8fa4cf; }
#screen#screen .night-card .nc-crowd-h { display: block; margin-bottom: 2px; font: 700 14px/1.2 var(--pr-type); letter-spacing: 0; text-transform: lowercase; color: var(--paper-dim); }
#screen#screen .night-card .nc-crowd-line { margin: 0; font: 500 15px/1.4 var(--read); color: var(--pr-lit); }
/* end THE CROWD */

/* ======================================================================================================================
   design/no-overlaps (the beginner audit of 30 Nov, MI-6): no words on other words
   ====================================================================================================================== */
/* ---------- 1 · a control's stamp ("✓ Bass out", "✓ Deck B up") in its OWN label's place, the label giving way for the
   stamp's 1.5 s, never reaching a neighbour's label or the master read-out. On 30 Nov "✓ BASS OUT" lay half over 1.1's
   LOW (A-006), "✓ DECK A: EVERY KNOB IN THE MIDDLE" ran from LOW over the fader and the meter (A-023) and "✓ DECK B UP"
   over MASTER (A-056). Now:
   - a knob: from its name's outer edge across its own knob, at most the name's column and the knob wide (a longer
     stamp wraps, inside its own row's height); the name hidden while it shows;
   - a volume fader: in its "volume" label's place, reaching AWAY from the master (Deck A's to the left, Deck B's to the
     right, over the top of its own deck's HIGH knob at most); "volume" hidden while it shows;
   - a button (PLAY, CUE, SYNC, headphone cue): on the button, the button's own words hidden;
   - the tempo fader and the crossfader: on their own track, clear of their names and the crossfader's held tag.
   design-check's "stamps clear" rows stamp every control in turn and read the words (scripts/design-text-overlap.js). */
html body.decks-on #screen#screen #decks3 [data-stamp][data-stamp][data-stamp]::after { animation-name: bl-stamp; white-space: normal; text-align: center; line-height: 1.1; overflow-wrap: anywhere; box-sizing: border-box; }
html body.decks-on #screen#screen #decks3 [data-stamp][data-stamp][data-stamp][data-still]::after { animation: none; opacity: 1; }
/* a knob (LOW, MID, HIGH, TRIM, FILTER) */
html body.decks-on #screen#screen #decks3 .kn[data-stamp] > .kn-name { visibility: hidden; }
html body.decks-on #screen#screen #decks3 .mcol .kn[data-stamp][data-stamp][data-stamp]::after { left: 0; right: auto; top: 50%; width: max-content; max-width: calc(var(--nw, 50px) + 10px + var(--kd, 46px)); transform: translate(0, -50%) rotate(-2deg); transform-origin: 0 50%; }
html body.decks-on #screen#screen #decks3 .mcol.deckB .kn[data-stamp][data-stamp][data-stamp]::after { left: auto; right: 0; transform: translate(0, -50%) rotate(2deg); transform-origin: 100% 50%; }
html body.decks-on #screen#screen #decks3 .mcol .kn:is([data-kn="trim"], [data-kn="filter"])[data-stamp][data-stamp][data-stamp]::after { left: 50%; right: auto; max-width: calc(var(--side, 76px) + 8px); transform: translate(-50%, -50%) rotate(-2deg); transform-origin: 50% 50%; }
/* a volume fader */
html body.decks-on #screen#screen #decks3 .mcol .vf[data-stamp] { color: transparent; }
html body.decks-on #screen#screen #decks3 .mcol .vf[data-stamp][data-stamp][data-stamp]::after { top: -2px; bottom: auto; left: auto; right: 0; width: max-content; max-width: calc(100% + var(--kd, 46px) + 4px); transform: rotate(-2deg); transform-origin: 100% 50%; }
html body.decks-on #screen#screen #decks3 .mcol.deckB .vf[data-stamp][data-stamp][data-stamp]::after { left: 0; right: auto; transform: rotate(2deg); transform-origin: 0 50%; }
/* a button */
html body.decks-on #screen#screen #decks3 .bbtn[data-stamp] { color: transparent; text-shadow: none; }
html body.decks-on #screen#screen #decks3 .bbtn[data-stamp][data-stamp][data-stamp]::after { left: 50%; right: auto; top: 50%; bottom: auto; width: max-content; max-width: calc(100% + 16px); transform: translate(-50%, -50%) rotate(-2deg); transform-origin: 50% 50%; }
/* the tempo fader and the crossfader: on the track */
html body.decks-on #screen#screen #decks3 .slider.xf[data-stamp] > #xfTag { visibility: hidden; }   /* (the label's box runs on under its held tag: the stamp reaches it) */
html body.decks-on #screen#screen #decks3 .slider[data-stamp][data-stamp][data-stamp]::after { top: auto; bottom: 0; left: 50%; right: auto; width: max-content; max-width: 70%; transform: translate(-50%, 0) rotate(-2deg); transform-origin: 50% 50%; }

/* a fader's callout at Guided ("take 8 bars", booth-hints: level with the fader's cap, beside it towards the master):
   with the cap near the top it lay on the master read-out ("-19.2 dB" under "take 8 bars", Night 1 on 1 Dec). It follows
   the cap as before, never higher than the read-out's foot */
html body:not(.focus) #screen#screen .decks3 .vf.mh-callout[data-callout]::after { top: max(calc(var(--cap-top, 20px) + 26px), calc(var(--cap-top, 20px) + (1 - var(--v, .5)) * var(--cap-h, 100px))); }

/* ---------- 2 · the step count's ✓ Done ("ste✓ done of 16" on 30 Nov: A-006, A-036, B-035): a tag of the strip's dark
   over the whole count, all there from its first frame and gone in one (no fade through the count's words) ---------- */
html body #screen#screen #hudLead .coach-count > .stepok { position: absolute; left: -5px; right: -5px; top: -4px; bottom: -4px; margin: 0 !important; padding: 0 5px !important; display: flex; align-items: center; justify-content: flex-start; background: #0b0b0a !important; color: var(--pr-ok, #6fe0a0); white-space: nowrap; overflow: hidden; animation: stepok-cut 1.1s ease-out forwards !important; }
@keyframes stepok-cut { 0% { opacity: 1; transform: scale(1.12); } 12% { opacity: 1; transform: none; } 84% { opacity: 1; } 85%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { html body #screen#screen #hudLead .coach-count > .stepok { animation: stepok-cut-still 1.1s step-end forwards !important; } }
@keyframes stepok-cut-still { 0%, 84% { opacity: 1; } 85%, 100% { opacity: 0; } }
/* ---------- 3 · a card's go button (MI-7): its words always inside it. Knob School's card put "NEXT: 1.2 START ON THE 1"
   and its PLAY key (the what-now rule's .wait-go: the flyer face at 24-32 px) in one of two 332 px columns at 1366×768,
   and the words ran out past the button's left edge (A-021). The go takes the card's whole row there, and on any card a
   go too long for its row wraps inside itself (its key chip with it), never past its edges ---------- */
html body #screen#screen :is(.result, .kn-card, .ks-card, .ft-win, .set-card, .chapter-card, .night-card, .ft-intro, #swapIntro) .bbtn.primary.wait-go { box-sizing: border-box; max-width: 100%; min-width: 0; height: auto; flex-wrap: wrap; row-gap: 6px; white-space: normal; overflow-wrap: anywhere; text-align: center; }
html body #screen#screen .ks-card .coach-retry > .bbtn.primary.wait-go { grid-column: 1 / -1; }
/* (the go's own row made Knob School's card 58 px taller: on a laptop at full screen, 800 px high or less, its rows and gaps
   a little tighter, so "Knob School: all rounds" and Home stay above the fold with the go) */
@media (min-width: 1000px) and (max-height: 800px) {
  html body #screen#screen .ks-card { row-gap: 12px; padding-bottom: 22px; }   /* (the top padding stays 28: the flyer type of PASSED needs it when the card is scrolled to the window's top) */
  html body #screen#screen .ks-card .res-scores > div { min-height: 0; padding-top: 5px; padding-bottom: 5px; }
  html body #screen#screen .ks-card .coach-card { row-gap: 4px; }
}

/* ---------- 4 · a night's deck screen on a laptop at full screen (MI-8): 1366×768 is the most common laptop screen, and a
   night's decks (a graduate's: SPINBACK and BRAKE over CUE and SYNC) ran 15 px under the footer with THE ROOM's night
   strip at its tall 54 px (A-084: the tempo faders and the crossfader cut). Up to 800 px high the night strip keeps the
   laptop window's 40 px, as under 760, and its blocks the same padding; the lanes keep their 96 px ---------- */
@media (min-width: 1000px) and (min-height: 761px) and (max-height: 800px) {
  #roomStrip.room-strip[data-mode="night"], #roomStrip.room-strip[data-mode="bedroom"] { --rs-h: 40px; }
  #roomStrip[data-mode="night"] .rs-blocks { padding: 3px 0 15px; }
}
/* a night's transition chips ("TRANSITION 1 · clean · 57 ms · 98", booth-game's joinChipShow: #joinChips after the sub-line)
   took a fourth row in the HUD after the first join: mid-set, with the lanes locked, the decks lost 25 px and the tempo
   faders went under the footer again (this branch's walk, Night 1 at 1366×768). They sit in the title row instead, right
   of the night's name and left of the record button, the newest two (one under 1,280 px wide; every one is on the card) */
@media (min-width: 1000px) {
  html body #screen#screen.decks-screen.decks-hud > .hud #joinChips.join-chips { grid-row: 1 !important; grid-column: 1 !important; justify-self: end; align-self: center; flex-wrap: nowrap; max-width: 52%; min-width: 0; overflow: hidden; margin: 0 12px 0 0 !important; }
  html body #screen#screen.decks-screen.decks-hud > .hud #joinChips > .join-chip { flex: 0 0 auto; white-space: nowrap; }
  html body #screen#screen.decks-screen.decks-hud > .hud #joinChips > .join-chip:nth-last-child(n+3) { display: none; }
}
@media (min-width: 1000px) and (max-width: 1279px) {
  html body #screen#screen.decks-screen.decks-hud > .hud #joinChips > .join-chip:nth-last-child(n+2) { display: none; }
}
/* (the decks' bass glow box sat 2 px outside each deck's panel: inside the decks' scroll box that made them scroll by 2 px, a
   scrollbar on Windows, with every control on screen. Its glow is a box-shadow, which never scrolls: the box itself fits) */
html body #screen#screen #decks3.decks-scroll .deckp > .bass-halo { inset: 0; }
/* end design/no-overlaps */
/* fix/main-red-dec2 (feature/pick-your-move's move chip with design/no-overlaps' transition chips): the move chip takes the
   title row's middle from a set's first beat, so under 1,680 px wide the night's name, its eyebrow and the two newest
   transition chips no longer fit beside it: the chips ran over the name ("TRANSITION 2 · late · 64 ms · 81" on "Night 1 ·
   Your bedroom", design-check's "a night fits after three transitions" at 1280×800 to 1440×900). There: the newest chip
   only (every one is on the night's card) and no eyebrow (the record button says it's recording); from the first beat, so
   nothing moves mid-set */
@media (min-width: 1000px) and (max-width: 1679px) {
  html body #screen#screen.decks-screen.decks-hud > .hud:has(.mv-chip) > .hud-top > .grow > .eyebrow { display: none; }
  html body #screen#screen.decks-screen.decks-hud > .hud:has(.mv-chip) #joinChips > .join-chip:nth-last-child(n+2) { display: none; }
}
