/* frap.css — Frappuccino's one stylesheet for the shell: tokens, the material, the components,
   the screens. The drill has its own sheet (frap-drill.css) on these tokens.

   THE MATERIAL IS GLASS WITH A LIGHT ON IT (PLAN.md, 4). Five layers, on .glass:
     frost     backdrop-filter over the moving field, and a thin warm fill
     edge      ::before, a 1px gradient border, bright at the top-left, gone at the bottom-right
     specular  ::after, a spot that follows the finger or the pointer (--px, --py, set by
               frap-glass.js), and on [data-live] a slow band that drifts at rest
     depth     an inner shade at the bottom, a soft cast below
     (no grain: «Graininess is undesirable», 2026-10-02, and again 2026-11-18, «modern, stylish frosted glass rather
      than a variety of weird looking backgrounds»: --grain and --key-grain are never set, and read as none)
   ::before and ::after of a .glass element belong to the material: draw nothing else with them.

   TWO REGISTERS, ONE SET OF TOKENS. The dark's tokens are :root's. «Milk» is the light one, and the
   default (html[data-look="milk"], set by frap-app.js from the learner's choice: Light, Dark or Auto):
   it redefines the tokens and nothing else, so a rule written on the tokens is written twice.
     --tint   a wash: lighter than the surface on the dark, darker on Milk  rgba(var(--tint), a)
     --shade  what a shadow is made of, and --sk how strong it is            rgba(var(--shade), calc(a * var(--sk)))
   A literal white is a LIGHT (an edge, a sheen, a highlight) and is white in both.

   CONTRAST-CONTRACT (scripts/verify_contrast.py reads these lines and the tokens they name, and
   holds every line in BOTH registers). What a surface is, for the gate:
     field          the field at its worst for the ink: under the dark its brightest colour
                    (--field-max), under Milk its darkest (--field-min). Neither is taken on
                    trust: the shader in frap-glass.js limits its own picture (Ymax, Ymilk), the
                    gate reads those numbers and holds each token to its own.
     glass          --glass-fill over the field: a glass at its worst
     glass-top      glass under --glass-top, the light at a glass's top edge
     glass-strong   --glass-strong-fill over the field
     glass-spot     glass under --spot, the specular at its peak (under the finger, or the pointer)
   Text straight on the field is --ink or --ink-2 only; --ink-3 is for glass.
     --ink       on field          >= 7
     --ink-2     on field          >= 4.5
     --acc-ink   on field          >= 4.5
     --ink       on glass          >= 7
     --ink-2     on glass          >= 7
     --ink-3     on glass          >= 4.5
     --ink-3     on glass-top      >= 4.5
     --ink       on glass-spot     >= 4.5
     --ink-2     on glass-spot     >= 4.5
     --ink       on glass-strong   >= 7
     --ink-3     on glass-strong   >= 4.5
     --acc-ink   on glass          >= 4.5
     --acc-ink   on glass-top      >= 4.5
     --acc-ink   on glass-strong   >= 4.5
     --wrong-ink on glass          >= 4.5
     --wrong-ink on glass-top      >= 4.5
     --on-acc    on --acc-1        >= 4.5
     --on-acc    on --acc-2        >= 7
     --on-acc    on --acc-3        >= 4.5
     --on-acc    on --acc-4        >= 4.5
     --on-rwd    on --rwd-1        >= 4.5
     --on-rwd    on --rwd-2        >= 4.5
     --on-rwd    on --rwd-3        >= 4.5
     --on-rwd    on --rwd-4        >= 4.5
     --on-btn    on --btn-1        >= 4.5
     --on-btn    on --btn-2        >= 4.5
     --gauge-ink on field          >= 3
   And on a fill, the cascade (verify_contrast.py, ON FILL): a text laid on the fill keeps its ink.
     ON-FILL: --acc : --on-acc
     ON-FILL: --btn-fill : --on-btn
*/

/* ── tokens ─────────────────────────────────────────────────────────────────────────── */
/* THREE PALETTES × TWO REGISTERS, ONE SET OF SEMANTIC TOKENS (ROUND3.md, 2.1). Opal is the
   default (:root, and Milk's block); Rose gold and Graphite redefine the same tokens in their own
   blocks. No rule below the tokens names a palette's colour: it names what the colour is FOR.
     accent   state and progress: rings, the progress bar, a switch on, a chosen disc or row,
              the next stop, the badges          --acc-1…4, --acc (the gradient), --acc-ink (its
              text on glass), --on-acc (ink on its fill), --acc-rgb (a wash), --sel-wash, --glow
     reward   success only: a right answer, a clean round        --rwd-1…4, --rwd, --on-rwd, --rwd-glow
     button   the primary capsule (white on the dark and black on Milk, in Opal and Graphite;
              the rose gold in Rose gold)                         --btn-1, --btn-2, --btn-fill, --on-btn
     seg      the segmented control's thumb                       --seg-fill, --on-seg
   «--accent» and «--on-accent» are the engine base's own names (frap-drill.css maps them onto
   these), so the palette's are --acc and --on-acc. */
:root {
  color-scheme: dark;
  /* ground and ink: Opal is a cool near-black */
  --ground: #060708;
  --ground-rgb: 6, 7, 8;
  --field-max: #405068;
  --ink: #f4f6f7;
  --ink-2: #d3d9dd;
  --ink-3: #aeb6bc;
  --line: rgba(var(--tint), .10);
  /* the accent: mint, sky, lilac */
  --acc-1: #c9fbea;
  --acc-2: #93ebd3;
  --acc-3: #92b8ff;
  --acc-4: #c6a6ff;
  --acc: linear-gradient(135deg, var(--acc-1) 0%, var(--acc-2) 34%, var(--acc-3) 66%, var(--acc-4) 100%);
  --acc-ink: #9debd5;
  --on-acc: #07130f;
  --acc-rgb: 147, 235, 211;
  --acc-deep: rgba(30, 70, 90, .35);
  --sel-wash: color-mix(in srgb, var(--acc-2) 12%, transparent);
  --glow: rgba(147, 235, 211, .42);
  --ring-1: var(--acc-1);
  --ring-2: var(--acc-2);
  --ring-3: var(--acc-3);
  --ring-4: var(--acc-4);
  --gauge-num: linear-gradient(135deg, var(--acc-1), var(--acc-2) 40%, var(--acc-3));
  --gauge-ink: #92b8ff;
  /* the reward: the accent's iridescence, with a blush of rose */
  --rwd-1: #cffbea;
  --rwd-2: #9edcff;
  --rwd-3: #c9b2ff;
  --rwd-4: #f6c3b5;
  --rwd: linear-gradient(135deg, var(--rwd-1) 0%, var(--rwd-2) 34%, var(--rwd-3) 66%, var(--rwd-4) 100%);
  --on-rwd: #0b0e12;
  --rwd-glow: rgba(158, 220, 255, .5);
  /* the primary button: a white capsule */
  --btn-1: #ffffff;
  --btn-2: #e6ebee;
  --btn-fill: linear-gradient(180deg, var(--btn-1), var(--btn-2));
  --on-btn: #0b0e12;
  --btn-rim: rgba(255, 255, 255, .9);
  --btn-deep: rgba(60, 80, 96, .22);
  --btn-sheen: rgba(255, 255, 255, .55);
  /* the segmented control's thumb: a bright neutral */
  --seg-fill: rgba(255, 255, 255, .9);
  --on-seg: #0b0e12;
  --seg-glow: rgba(0, 0, 0, .35);
  /* a settings row's icon: neutral */
  --ic-ink: var(--ink-2);
  --ic-rgb: var(--tint);
  --wrong-ink: #ff9d8f;
  --wrong: #e5604e;
  /* the glass: cooler, and barely there */
  --glass-fill: rgba(20, 22, 25, .50);
  --glass-top: rgba(255, 255, 255, .085);
  --glass-strong-fill: rgba(14, 16, 18, .76);
  --glass-blur: 28px;
  --glass-sat: 170%;
  --rim: rgba(255, 255, 255, .50);
  --rim-soft: rgba(255, 255, 255, .09);
  --glass-thin-fill: rgba(24, 27, 30, .40);
  --glass-ghost: rgba(20, 22, 25, .22);
  --hi: rgba(255, 255, 255, .16);
  --rim-far: rgba(255, 255, 255, .14);
  --cast: 0 18px 44px -14px rgba(0, 0, 0, .62), 0 2px 6px rgba(0, 0, 0, .28);
  --cast-answer: 0 12px 28px -14px rgba(0, 0, 0, .6);
  --cast-sheet: 0 22px 50px -16px rgba(0, 0, 0, .75);
  --spot: rgba(255, 255, 255, .14);
  --sheen: rgba(255, 255, 255, .075);
  --scrim: rgba(2, 3, 4, .5);
  --thumb: rgba(255, 255, 255, .13);
  --thumb-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(255, 255, 255, .05);
  /* a wash (lighter on the dark, darker on Milk) and a shade, each register's own */
  --tint: 255, 255, 255;
  --shade: 0, 0, 0;
  --sk: 1;
  /* where the browser cannot frost: what a glass is made of instead */
  --frost-off: #14171a;
  --frost-off-strong: #0f1113;
  --frost-off-thin: #191c1f;
  /* Settings' pictures of each register, in this palette (they show THEIR register, whatever the page wears) */
  --pv-d1: #1d5a4e; --pv-d2: #2b3a7a; --pv-dg: #060708; --pv-db: #ffffff;
  --pv-l1: #c8efe3; --pv-l2: #ddd5fb; --pv-lg: #f2f5f6; --pv-lb: #111418;
  /* THE GROUND's plate, still (frap-glass.js twin() puts the hero's scene, blurred deep, on <html>), and the palette's
     lights for the wallpapers' thumbnails (punk.css .lk-wall); these stand in until it has */
  --ground-plate: none;
  --fld-1: var(--ground); --fld-2: var(--ground); --fld-3: var(--ground);
  /* shape */
  --r-sheet: 34px;
  --r-card: 28px;
  --r-tile: 22px;
  --r-answer: 20px;
  --r-row: 18px;
  --gutter: 20px;
  /* type: the platform's face for the chrome */
  --face: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, "Segoe UI", Roboto, "Inter", sans-serif;
  /* type: the card's «Default» (TYPE.md call T2), the face that holds a stress accent over its vowel in this engine:
     Inter (already loaded as the skins' text face) where the platform face is unmeasured or sets it beside; the
     platform face in WebKit (html.wk, frap-app.js), where it holds */
  --card-face: "Inter DEF", "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  /* motion: a spring, where the browser can say one; an overshooting curve where it cannot */
  --spring: cubic-bezier(.2, .9, .25, 1.18);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: .18s;
  --t: .36s;
  --t-slow: .62s;
  /* safe areas */
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
  --sar: env(safe-area-inset-right, 0px);
  --tabbar-h: 62px;
}
html.wk { --card-face: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; }
/* THE STRESS THE SHELL MARKS (frap-stress.js, STRESS.md): a stressed vowel is a span. The face sets the U+0301 it keeps
   over it (.stress--n); where the face's own accent moves the pen (PT Serif, PT Sans) or stands beside (a platform face
   outside WebKit), the mark is drawn over it instead: the engine's .vk-acc, the same rule and the same marks */
.stress { position: relative; }
.stress::after { content: "\02CA"; content: "\02CA" / ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); pointer-events: none; }
.stress--up::after { top: -.2em; }
.stress--n::after { content: none; }
/* EMBER (THUD DEF, 2026-10-03): grace under fire. A blue-black ground; Ukraine's blue as cold light
   for state and progress (the accent), its yellow as molten gold for a right answer and for the one
   primary (the reward, the button). The field burns low and warm under it (frap-glass.js). Tokens
   only; the brighter P3 gold and blue are LIGHTS in thud-def.css (sparks, glows, strokes), never a
   ground for text. */
html[data-palette="ember"] {
  --ground: #05070d;
  --ground-rgb: 5, 7, 13;
  --field-max: #5d4c35;
  --ink: #f3f5f8;
  --ink-2: #d7dce4;
  --ink-3: #b6bec9;
  --acc-1: #d6e4ff;
  --acc-2: #a3c0ff;
  --acc-3: #6f9bff;
  --acc-4: #4a7ff2;
  --acc-ink: #a9c5ff;
  --on-acc: #040a1c;
  --acc-rgb: 120, 160, 255;
  --acc-deep: rgba(20, 50, 140, .45);
  --sel-wash: color-mix(in srgb, var(--acc-3) 14%, transparent);
  --glow: rgba(111, 155, 255, .45);
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #f3f5f8;
  --rwd-1: #fff1c4;
  --rwd-2: #ffd66e;
  --rwd-3: #f5b13a;
  --rwd-4: #e08f23;
  --on-rwd: #1a1003;
  --rwd-glow: rgba(255, 190, 70, .6);
  --btn-1: #ffe39a;
  --btn-2: #f0a93a;
  --btn-fill: linear-gradient(180deg, var(--btn-1), var(--btn-2));
  --on-btn: #1a1003;
  --btn-rim: rgba(255, 245, 210, .85);
  --btn-deep: rgba(140, 80, 10, .55);
  --btn-sheen: rgba(255, 255, 255, .55);
  --seg-fill: var(--acc);
  --on-seg: #040a1c;
  --seg-glow: rgba(111, 155, 255, .5);
  --ic-ink: var(--acc-ink);
  --ic-rgb: 120, 160, 255;
  --glass-fill: rgba(9, 13, 24, .52);
  --glass-strong-fill: rgba(7, 10, 19, .78);
  --glass-thin-fill: rgba(12, 17, 30, .42);
  --glass-ghost: rgba(9, 13, 24, .24);
  --scrim: rgba(1, 2, 6, .6);
  --frost-off: #0c111d;
  --frost-off-strong: #090d17;
  --frost-off-thin: #101624;
  --pv-d1: #1f3f9a; --pv-d2: #e08f23; --pv-dg: #05070d; --pv-db: linear-gradient(135deg, #ffe39a, #f0a93a);
  --pv-l1: #d3ddf3; --pv-l2: #f5d68e; --pv-lg: #eef1f5; --pv-lb: linear-gradient(135deg, #ffd979, #f0a93a);
}
/* THUD CORE's two skins beside Ember (Dieselpunk), ported from Matcha Edition's Steampunk and Cyberpunk
   (app/tokens.css there, from its Figma file) onto THUD's roles: the accent is state and progress, the reward a
   right answer and the one primary. Ukraine's blue and yellow stay LIGHT in both: Steampunk's accent is blued
   steel (a watch hand's tempered blue) and its reward brass; Cyberpunk's accent is cyan neon and its reward
   sodium-yellow neon, its magenta only a lit edge (punk-cyber.css). Tokens only; the material is in punk-*.css. */
/* STEAMPUNK by night: lamplight on brass, walnut and leather in the shadows. */
html[data-palette="steam"] {
  --ground: #0d0907;
  --ground-rgb: 13, 9, 7;
  --field-max: #604a33;
  --ink: #f8f1e2;
  --ink-2: #dccdb1;
  --ink-3: #bfae8f;
  --acc-1: #dce8fb;
  --acc-2: #a9c4ee;
  --acc-3: #7ea4de;
  --acc-4: #5c86cc;
  --acc-ink: #a6c2ec;
  --on-acc: #08111f;
  --acc-rgb: 126, 164, 222;
  --acc-deep: rgba(30, 55, 110, .45);
  --sel-wash: color-mix(in srgb, var(--acc-3) 14%, transparent);
  --glow: rgba(126, 164, 222, .42);
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #f8f1e2;
  --rwd-1: #fff0c9;
  --rwd-2: #f2d07c;
  --rwd-3: #ddb158;
  --rwd-4: #c4943c;
  --on-rwd: #1b1106;
  --rwd-glow: rgba(240, 190, 90, .55);
  --btn-1: #f4d98f;
  --btn-2: #c99a45;
  --btn-fill: linear-gradient(180deg, var(--btn-1), var(--btn-2));
  --on-btn: #1b1106;
  --btn-rim: rgba(255, 240, 200, .8);
  --btn-deep: rgba(110, 70, 20, .55);
  --btn-sheen: rgba(255, 250, 230, .5);
  --seg-fill: var(--acc);
  --on-seg: #08111f;
  --seg-glow: rgba(126, 164, 222, .45);
  --ic-ink: var(--acc-ink);
  --ic-rgb: 126, 164, 222;
  --glass-fill: rgba(28, 20, 13, .55);
  --glass-strong-fill: rgba(22, 16, 10, .80);
  --glass-thin-fill: rgba(32, 23, 15, .45);
  --glass-ghost: rgba(28, 20, 13, .24);
  --scrim: rgba(6, 4, 2, .6);
  --frost-off: #1a130d;
  --frost-off-strong: #140f0a;
  --frost-off-thin: #1f1710;
  --pv-d1: #5c86cc; --pv-d2: #c4943c; --pv-dg: #0d0907; --pv-db: linear-gradient(135deg, #f4d98f, #c99a45);
  --pv-l1: #c2d4f0; --pv-l2: #f2d58a; --pv-lg: #f3ead8; --pv-lb: linear-gradient(135deg, #f2d58a, #c99a45);
}
/* CYBERPUNK by night: smoked glass over a neon city in the rain. */
html[data-palette="cyber"] {
  --ground: #04060c;
  --ground-rgb: 4, 6, 12;
  --field-max: #404d72;
  --ink: #eef2fa;
  --ink-2: #c3cbdd;
  --ink-3: #a3adc4;
  --acc-1: #d2f7ff;
  --acc-2: #8deeff;
  --acc-3: #45e3ff;
  --acc-4: #14bde6;
  --acc-ink: #7ee9ff;
  --on-acc: #01131a;
  --acc-rgb: 69, 227, 255;
  --acc-deep: rgba(0, 110, 150, .45);
  --sel-wash: color-mix(in srgb, var(--acc-3) 14%, transparent);
  --glow: rgba(69, 227, 255, .45);
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #eef2fa;
  --rwd-1: #fffbd0;
  --rwd-2: #fff27e;
  --rwd-3: #ffe24d;
  --rwd-4: #f2c200;
  --on-rwd: #151100;
  --rwd-glow: rgba(255, 226, 77, .55);
  --btn-1: #fff27e;
  --btn-2: #ffc928;
  --btn-fill: linear-gradient(180deg, var(--btn-1), var(--btn-2));
  --on-btn: #151100;
  --btn-rim: rgba(255, 255, 220, .85);
  --btn-deep: rgba(140, 100, 0, .5);
  --btn-sheen: rgba(255, 255, 255, .5);
  --seg-fill: var(--acc);
  --on-seg: #01131a;
  --seg-glow: rgba(69, 227, 255, .5);
  --ic-ink: var(--acc-ink);
  --ic-rgb: 69, 227, 255;
  --glass-fill: rgba(8, 11, 22, .55);
  --glass-strong-fill: rgba(6, 8, 17, .80);
  --glass-thin-fill: rgba(10, 14, 27, .45);
  --glass-ghost: rgba(8, 11, 22, .24);
  --scrim: rgba(1, 2, 6, .62);
  --frost-off: #0b0f1c;
  --frost-off-strong: #080b15;
  --frost-off-thin: #0e1322;
  --pv-d1: #14bde6; --pv-d2: #ff5ad9; --pv-dg: #04060c; --pv-db: linear-gradient(135deg, #fff27e, #ffc928);
  --pv-l1: #a8ecfa; --pv-l2: #ffd6f4; --pv-lg: #e8ecf4; --pv-lb: linear-gradient(135deg, #ffe866, #f5c518);
}
/* RAYPUNK by night (run 2, 2026-10-15): the atomic age's starfield from a chrome cockpit. Its accent atomic teal (state and
   progress), its reward an amber dial-light (a right answer, the one primary): Ukraine's blue and yellow kept LIGHT, as in
   the other skins. Cherry red is enamel trim only (punk-ray.css), never a state: red stays the wrong answer's. */
html[data-palette="ray"] {
  --ground: #050a0e;
  --ground-rgb: 5, 10, 14;
  --field-max: #375454;
  --ink: #f7f1e3;
  --ink-2: #d9d3c4;
  --ink-3: #bab4a4;
  --acc-1: #d2fbf3;
  --acc-2: #96f0e0;
  --acc-3: #52dcc6;
  --acc-4: #23bfa9;
  --acc-ink: #86ecda;
  --on-acc: #02150f;
  --acc-rgb: 82, 220, 198;
  --acc-deep: rgba(0, 110, 96, .45);
  --sel-wash: color-mix(in srgb, var(--acc-3) 14%, transparent);
  --glow: rgba(82, 220, 198, .45);
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #f7f1e3;
  --rwd-1: #fff1cc;
  --rwd-2: #ffd27c;
  --rwd-3: #ffb14a;
  --rwd-4: #f28f2c;
  --on-rwd: #1c0f02;
  --rwd-glow: rgba(255, 176, 74, .55);
  --btn-1: #ffe6ad;
  --btn-2: #f6a845;
  --btn-fill: linear-gradient(180deg, var(--btn-1), var(--btn-2));
  --on-btn: #1c0f02;
  --btn-rim: rgba(255, 248, 225, .85);
  --btn-deep: rgba(150, 80, 10, .5);
  --btn-sheen: rgba(255, 255, 255, .55);
  --seg-fill: var(--acc);
  --on-seg: #02150f;
  --seg-glow: rgba(82, 220, 198, .5);
  --ic-ink: var(--acc-ink);
  --ic-rgb: 82, 220, 198;
  --glass-fill: rgba(8, 16, 20, .55);
  --glass-strong-fill: rgba(6, 12, 16, .80);
  --glass-thin-fill: rgba(10, 19, 24, .45);
  --glass-ghost: rgba(8, 16, 20, .24);
  --scrim: rgba(1, 4, 6, .6);
  --frost-off: #0c171c;
  --frost-off-strong: #09131a;
  --frost-off-thin: #101c22;
  --pv-d1: #23bfa9; --pv-d2: #f28f2c; --pv-dg: #050a0e; --pv-db: linear-gradient(135deg, #ffe6ad, #f6a845);
  --pv-l1: #b5ece2; --pv-l2: #ffd9a0; --pv-lg: #f4eee0; --pv-lb: linear-gradient(135deg, #ffd78a, #f0a040);
}
/* WEIRD WEST by night (run 4, 2026-10-19; the owner: «one with steampunk and wild west»): brass on the frontier under the
   Milky Way. Its accent desert turquoise (state and progress), its reward lamplit brass (a right answer, the one primary):
   Ukraine's blue and yellow kept LIGHT, as in the other skins. Copper and red rock are trim only (punk-west.css), never a
   state: red stays the wrong answer's. */
html[data-palette="west"] {
  --ground: #0b0806;
  --ground-rgb: 11, 8, 6;
  --field-max: #5c4c3e;
  --ink: #fdf6ea;
  --ink-2: #e2d6c3;
  --ink-3: #bfae97;
  --acc-1: #d4f7f0;
  --acc-2: #9ee6d8;
  --acc-3: #4fcab6;
  --acc-4: #23a892;
  --acc-ink: #8ee3d3;
  --on-acc: #02140f;
  --acc-rgb: 79, 202, 182;
  --acc-deep: rgba(0, 105, 90, .45);
  --sel-wash: color-mix(in srgb, var(--acc-3) 14%, transparent);
  --glow: rgba(79, 202, 182, .45);
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #fdf6ea;
  --rwd-1: #fff0c8;
  --rwd-2: #f6cf7c;
  --rwd-3: #e6a948;
  --rwd-4: #c9822c;
  --on-rwd: #1d1003;
  --rwd-glow: rgba(230, 169, 72, .55);
  --btn-1: #ffe3a6;
  --btn-2: #e9a24a;
  --btn-fill: linear-gradient(180deg, var(--btn-1), var(--btn-2));
  --on-btn: #1d1003;
  --btn-rim: rgba(255, 246, 222, .85);
  --btn-deep: rgba(140, 70, 15, .5);
  --btn-sheen: rgba(255, 255, 255, .5);
  --seg-fill: var(--acc);
  --on-seg: #02140f;
  --seg-glow: rgba(79, 202, 182, .5);
  --ic-ink: var(--acc-ink);
  --ic-rgb: 79, 202, 182;
  --glass-fill: rgba(22, 14, 9, .55);
  --glass-strong-fill: rgba(16, 10, 7, .80);
  --glass-thin-fill: rgba(26, 17, 11, .45);
  --glass-ghost: rgba(22, 14, 9, .24);
  --scrim: rgba(5, 3, 2, .6);
  --frost-off: #1a120c;
  --frost-off-strong: #140e09;
  --frost-off-thin: #20160f;
  --pv-d1: #23a892; --pv-d2: #c9822c; --pv-dg: #0b0806; --pv-db: linear-gradient(135deg, #ffe3a6, #e9a24a);
  --pv-l1: #b8ebe2; --pv-l2: #f7d3a0; --pv-lg: #f4e8d6; --pv-lb: linear-gradient(135deg, #ffd88f, #e6983e);
}
/* SILKPUNK by night (run 4, 2026-10-19; the owner: «and one with silkpunk»): bamboo, silk and bronze among karst peaks
   under the moon. Its accent jade (state and progress), its reward gold leaf (a right answer, the one primary): Ukraine's
   blue and yellow kept LIGHT. Vermilion lacquer and lapis are trim only (punk-silk.css), never a state. */
html[data-palette="silk"] {
  --ground: #07080b;
  --ground-rgb: 7, 8, 11;
  --field-max: #3c535d;
  --ink: #fcf8ee;
  --ink-2: #e3dccc;
  --ink-3: #bfb6a2;
  --acc-1: #d6f6e6;
  --acc-2: #9fe6c4;
  --acc-3: #55c99a;
  --acc-4: #2ea67a;
  --acc-ink: #8fe0bb;
  --on-acc: #02140c;
  --acc-rgb: 85, 201, 154;
  --acc-deep: rgba(0, 100, 70, .45);
  --sel-wash: color-mix(in srgb, var(--acc-3) 14%, transparent);
  --glow: rgba(85, 201, 154, .45);
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #fcf8ee;
  --rwd-1: #fff2c6;
  --rwd-2: #f7d77e;
  --rwd-3: #e9b64a;
  --rwd-4: #cf9530;
  --on-rwd: #1c1203;
  --rwd-glow: rgba(233, 182, 74, .55);
  --btn-1: #ffe9b0;
  --btn-2: #e8b24c;
  --btn-fill: linear-gradient(180deg, var(--btn-1), var(--btn-2));
  --on-btn: #1c1203;
  --btn-rim: rgba(255, 248, 226, .85);
  --btn-deep: rgba(140, 90, 15, .5);
  --btn-sheen: rgba(255, 255, 255, .5);
  --seg-fill: var(--acc);
  --on-seg: #02140c;
  --seg-glow: rgba(85, 201, 154, .5);
  --ic-ink: var(--acc-ink);
  --ic-rgb: 85, 201, 154;
  --glass-fill: rgba(10, 13, 19, .55);
  --glass-strong-fill: rgba(8, 10, 15, .80);
  --glass-thin-fill: rgba(12, 15, 22, .45);
  --glass-ghost: rgba(10, 13, 19, .24);
  --scrim: rgba(2, 3, 5, .6);
  --frost-off: #10141c;
  --frost-off-strong: #0c1017;
  --frost-off-thin: #141a23;
  --pv-d1: #2ea67a; --pv-d2: #cf9530; --pv-dg: #07080b; --pv-db: linear-gradient(135deg, #ffe9b0, #e8b24c);
  --pv-l1: #bfeedb; --pv-l2: #f8dc9c; --pv-lg: #f5efe1; --pv-lb: linear-gradient(135deg, #ffe08f, #e3a83c);
}
/* MOSSPUNK by night (V3, 2026-11-19; the owner: «Mosspunk»): gardens on glass towers, moss and ferns, glowing caps by a
   still lake under the moon. Its accent leaf green (state and progress), its reward gold (a right answer, the one primary):
   Ukraine's blue and yellow kept LIGHT. The caps' violet is trim only (punk-moss.css), never a state. A skin in the making
   (scripts/owed.json): its colours first drawn from Silkpunk's, turned to its own green; its pictures to come. */
html[data-palette="moss"] {
  --ground: #06090a;
  --ground-rgb: 6, 9, 10;
  --field-max: #3c535d;
  --ink: #fcf8ee;
  --ink-2: #e3dccc;
  --ink-3: #bfb6a2;
  --acc-1: #e1f6d6;
  --acc-2: #b7e69f;
  --acc-3: #7cc955;
  --acc-4: #56a62e;
  --acc-ink: #aae08f;
  --on-acc: #081402;
  --acc-rgb: 124, 201, 85;
  --acc-deep: rgba(33, 100, 0, .45);
  --sel-wash: color-mix(in srgb, var(--acc-3) 14%, transparent);
  --glow: rgba(124, 201, 85, .45);
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #fcf8ee;
  --rwd-1: #fff2c6;
  --rwd-2: #f7d77e;
  --rwd-3: #e9b64a;
  --rwd-4: #cf9530;
  --on-rwd: #1c1203;
  --rwd-glow: rgba(233, 182, 74, .55);
  --btn-1: #ffe9b0;
  --btn-2: #e8b24c;
  --btn-fill: linear-gradient(180deg, var(--btn-1), var(--btn-2));
  --on-btn: #1c1203;
  --btn-rim: rgba(255, 248, 226, .85);
  --btn-deep: rgba(140, 90, 15, .5);
  --btn-sheen: rgba(255, 255, 255, .5);
  --seg-fill: var(--acc);
  --on-seg: #081402;
  --seg-glow: rgba(124, 201, 85, .5);
  --ic-ink: var(--acc-ink);
  --ic-rgb: 124, 201, 85;
  --glass-fill: rgba(10, 13, 19, .55);
  --glass-strong-fill: rgba(8, 10, 15, .80);
  --glass-thin-fill: rgba(12, 15, 22, .45);
  --glass-ghost: rgba(10, 13, 19, .24);
  --scrim: rgba(2, 3, 5, .6);
  --frost-off: #10141c;
  --frost-off-strong: #0c1017;
  --frost-off-thin: #141a23;
  --pv-d1: #56a62e; --pv-d2: #cf9530; --pv-dg: #06090a; --pv-db: linear-gradient(135deg, #ffe9b0, #e8b24c);
  --pv-l1: #cfeebf; --pv-l2: #f8dc9c; --pv-lg: #f1f2e4; --pv-lb: linear-gradient(135deg, #ffe08f, #e3a83c);
  --fld-1: rgba(113, 200, 70, .18); --fld-2: rgba(160, 40, 220, .12); --fld-3: rgba(30, 48, 110, .30); --fld-4: rgba(255, 200, 90, .08);
}
/* AQUAPUNK by night (V4, 2026-11-19; the owner: «Aquapunk»): the sunken ruins of Atlantis, white and gold stone under
   the sea, a whale gliding above. Its accent aqua (state and progress), its reward gold, orichalcum's (a right answer,
   the one primary): Ukraine's blue and yellow kept LIGHT. Coral is trim only (punk-aqua.css), never a state. A skin in
   the making (scripts/owed.json): its colours first drawn from Silkpunk's, turned to its own aqua; its pictures to come. */
html[data-palette="aqua"] {
  --ground: #04080d;
  --ground-rgb: 4, 8, 13;
  --field-max: #3c535d;
  --ink: #fcf8ee;
  --ink-2: #e3dccc;
  --ink-3: #bfb6a2;
  --acc-1: #d6f5f6;
  --acc-2: #9fe4e6;
  --acc-3: #55c5c9;
  --acc-4: #2ea2a6;
  --acc-ink: #8fdde0;
  --on-acc: #021314;
  --acc-rgb: 85, 197, 201;
  --acc-deep: rgba(0, 97, 100, .45);
  --sel-wash: color-mix(in srgb, var(--acc-3) 14%, transparent);
  --glow: rgba(85, 197, 201, .45);
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #fcf8ee;
  --rwd-1: #fff2c6;
  --rwd-2: #f7d77e;
  --rwd-3: #e9b64a;
  --rwd-4: #cf9530;
  --on-rwd: #1c1203;
  --rwd-glow: rgba(233, 182, 74, .55);
  --btn-1: #ffe9b0;
  --btn-2: #e8b24c;
  --btn-fill: linear-gradient(180deg, var(--btn-1), var(--btn-2));
  --on-btn: #1c1203;
  --btn-rim: rgba(255, 248, 226, .85);
  --btn-deep: rgba(140, 90, 15, .5);
  --btn-sheen: rgba(255, 255, 255, .5);
  --seg-fill: var(--acc);
  --on-seg: #021314;
  --seg-glow: rgba(85, 197, 201, .5);
  --ic-ink: var(--acc-ink);
  --ic-rgb: 85, 197, 201;
  --glass-fill: rgba(10, 13, 19, .55);
  --glass-strong-fill: rgba(8, 10, 15, .80);
  --glass-thin-fill: rgba(12, 15, 22, .45);
  --glass-ghost: rgba(10, 13, 19, .24);
  --scrim: rgba(2, 3, 5, .6);
  --frost-off: #10141c;
  --frost-off-strong: #0c1017;
  --frost-off-thin: #141a23;
  --pv-d1: #2ea2a6; --pv-d2: #cf9530; --pv-dg: #04080d; --pv-db: linear-gradient(135deg, #ffe9b0, #e8b24c);
  --pv-l1: #bfecee; --pv-l2: #f8dc9c; --pv-lg: #eaf3f2; --pv-lb: linear-gradient(135deg, #ffe08f, #e3a83c);
  --fld-1: rgba(70, 196, 200, .18); --fld-2: rgba(220, 64, 40, .12); --fld-3: rgba(30, 48, 110, .30); --fld-4: rgba(255, 200, 90, .08);
}
/* SOLARPUNK by night (V6, 2026-11-23; the owner: «a Solarpunk skin, seperate of Mosspunk»): a garden city of white
   stone and honey timber on terraces, sunflowers, solar petals folded for the night, lanterns and a low moon. Its accent
   the sky's blue (state and progress), its reward the sunflower's gold (a right answer, the one primary): Ukraine's blue
   and yellow, the field and the sky. A skin in the making (scripts/owed.json): its colours first drawn from Mosspunk's. */
html[data-palette="solar"] {
  --ground: #05080f;
  --ground-rgb: 5, 8, 15;
  --field-max: #3c5069;
  --ink: #fdf9ee;
  --ink-2: #e6dfcd;
  --ink-3: #c2b9a4;
  --acc-1: #dcefff;
  --acc-2: #a9d6ff;
  --acc-3: #5eb0f2;
  --acc-4: #3a8ad6;
  --acc-ink: #9fd0ff;
  --on-acc: #04101e;
  --acc-rgb: 94, 176, 242;
  --acc-deep: rgba(10, 70, 150, .45);
  --sel-wash: color-mix(in srgb, var(--acc-3) 14%, transparent);
  --glow: rgba(94, 176, 242, .45);
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #fdf9ee;
  --rwd-1: #fff3c2;
  --rwd-2: #ffd966;
  --rwd-3: #f5b82e;
  --rwd-4: #d9961a;
  --on-rwd: #1c1203;
  --rwd-glow: rgba(245, 184, 46, .55);
  --btn-1: #ffeaa8;
  --btn-2: #f2b93c;
  --btn-fill: linear-gradient(180deg, var(--btn-1), var(--btn-2));
  --on-btn: #1c1203;
  --btn-rim: rgba(255, 250, 228, .85);
  --btn-deep: rgba(150, 100, 10, .5);
  --btn-sheen: rgba(255, 255, 255, .5);
  --seg-fill: var(--acc);
  --on-seg: #04101e;
  --seg-glow: rgba(94, 176, 242, .5);
  --ic-ink: var(--acc-ink);
  --ic-rgb: 94, 176, 242;
  --glass-fill: rgba(10, 13, 20, .55);
  --glass-strong-fill: rgba(8, 10, 16, .80);
  --glass-thin-fill: rgba(12, 15, 23, .45);
  --glass-ghost: rgba(10, 13, 20, .24);
  --scrim: rgba(2, 3, 6, .6);
  --frost-off: #10141d;
  --frost-off-strong: #0c1018;
  --frost-off-thin: #141a24;
  --pv-d1: #3a8ad6; --pv-d2: #d9961a; --pv-dg: #05080f; --pv-db: linear-gradient(135deg, #ffeaa8, #f2b93c);
  --pv-l1: #cfe6fb; --pv-l2: #ffe39a; --pv-lg: #f5f3ea; --pv-lb: linear-gradient(135deg, #ffe08f, #eaa934);
  --fld-1: rgba(94, 176, 242, .18); --fld-2: rgba(255, 196, 60, .12); --fld-3: rgba(30, 48, 110, .30); --fld-4: rgba(255, 220, 120, .10);
}
/* PETRYKIVKA by night (PETRYK.md, 2026-11-05; the owner: «This one must be excellent and the default»): the painted
   village under the moon, limewash and indigo, moonlight the only light. Its accent cornflower (state and progress), its
   reward wheat gold (a right answer): Ukraine's blue and gold are the point here. The primary key cobalt lacquer, its
   label limewash. Kalyna red and the leaf's green are trim only (punk-petryk.css), never a state: red is the wrong
   answer's. Never a black ground (PETRYK.md §1: Petrykivka on black is Zhostovo's tray, Russia's own). */
html[data-palette="petryk"] {
  --ground: #0f1528;
  --ground-rgb: 15, 21, 40;
  --field-max: #3b4c81;
  --ink: #f3eee3;
  --ink-2: #dcd8cf;
  --ink-3: #b9b8c4;
  --acc-1: #e3ebff;
  --acc-2: #bccfff;
  --acc-3: #93b2ff;
  --acc-4: #7397f2;
  --acc-ink: #a9c3ff;
  --on-acc: #081230;
  --acc-rgb: 147, 178, 255;
  --acc-deep: rgba(25, 50, 140, .45);
  --sel-wash: color-mix(in srgb, var(--acc-3) 14%, transparent);
  --glow: rgba(147, 178, 255, .45);
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #f3eee3;
  --rwd-1: #fff1c8;
  --rwd-2: #f4da92;
  --rwd-3: #e6c15c;
  --rwd-4: #cfa23c;
  --on-rwd: #1c1405;
  --rwd-glow: rgba(230, 193, 92, .55);
  --btn-1: #4468d8;
  --btn-2: #2546a6;
  --btn-fill: linear-gradient(180deg, var(--btn-1), var(--btn-2));
  --on-btn: #fbf8f0;
  --btn-rim: rgba(214, 226, 255, .6);
  --btn-deep: rgba(8, 18, 70, .55);
  --btn-sheen: rgba(255, 255, 255, .35);
  --seg-fill: var(--acc);
  --on-seg: #081230;
  --seg-glow: rgba(147, 178, 255, .5);
  --ic-ink: var(--acc-ink);
  --ic-rgb: 147, 178, 255;
  --glass-fill: rgba(26, 35, 66, .58);
  --glass-strong-fill: rgba(22, 30, 58, .84);
  --glass-thin-fill: rgba(26, 35, 66, .46);
  --glass-ghost: rgba(26, 35, 66, .24);
  --scrim: rgba(5, 8, 20, .6);
  --frost-off: #1a2342;
  --frost-off-strong: #151d38;
  --frost-off-thin: #1f2a4c;
  --pv-d1: #7397f2; --pv-d2: #cfa23c; --pv-dg: #0f1528; --pv-db: linear-gradient(135deg, #4468d8, #2546a6);
  --pv-l1: #c9d7ff; --pv-l2: #f4da92; --pv-lg: #f5f0e5; --pv-lb: linear-gradient(135deg, #3556c0, #1f3c94);
}
/* MATCHA (THUD CUP, CALM.md §4; the owner, 2026-10-27): Chasen's room, by the clock. The evening is the night register,
   the lamp lit and the curtain drawn (Chasen's evening paper and inks); the morning and the afternoon are Milk (below).
   Paper, not glass (CALM.md call 16): the cards are nearly opaque, the room's own paper. One accent, matcha's green, never
   red (call 10); the lamp's gold is the reward's. No sparks in the field (frap-glass.js PALETTES matcha: e 0). */
html[data-palette="matcha"] {
  --ground: #0b1230;
  --ground-rgb: 11, 18, 48;
  --field-max: #3e4e7c;
  --ink: #f5f1e6;
  --ink-2: #d2d3df;
  --ink-3: #a9aec3;
  --acc-1: #e4f2d6;
  --acc-2: #c3e2a8;
  --acc-3: #9cc97c;
  --acc-4: #79ad58;
  --acc-ink: #b6db9b;
  --on-acc: #0b1a08;
  --acc-rgb: 156, 201, 124;
  --acc-deep: rgba(40, 80, 30, .45);
  --sel-wash: color-mix(in srgb, var(--acc-3) 14%, transparent);
  --glow: rgba(156, 201, 124, .40);
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #f5f1e6;
  --rwd-1: #fff0cc;
  --rwd-2: #f6d58f;
  --rwd-3: #e8b25a;
  --rwd-4: #d49a3e;
  --on-rwd: #1c1203;
  --rwd-glow: rgba(232, 178, 90, .50);
  --btn-1: #d4eabf;
  --btn-2: #9cc97c;
  --btn-fill: linear-gradient(180deg, var(--btn-1), var(--btn-2));
  --on-btn: #0b1a08;
  --btn-rim: rgba(241, 250, 232, .80);
  --btn-deep: rgba(40, 80, 30, .50);
  --btn-sheen: rgba(255, 255, 255, .45);
  --seg-fill: var(--acc);
  --on-seg: #0b1a08;
  --seg-glow: rgba(156, 201, 124, .45);
  --ic-ink: var(--acc-ink);
  --ic-rgb: 156, 201, 124;
  --glass-fill: rgba(20, 29, 66, .84);
  --glass-strong-fill: rgba(17, 26, 58, .90);
  --glass-thin-fill: rgba(26, 36, 78, .80);
  --glass-ghost: rgba(20, 29, 66, .40);
  --scrim: rgba(4, 7, 20, .62);
  --frost-off: #141d42;
  --frost-off-strong: #111a3a;
  --frost-off-thin: #1a244e;
  --pv-d1: #79ad58; --pv-d2: #d49a3e; --pv-dg: #0b1230; --pv-db: linear-gradient(135deg, #d4eabf, #9cc97c);
  --pv-l1: #d9ecc8; --pv-l2: #f6e3b8; --pv-lg: #f4f0e7; --pv-lb: linear-gradient(135deg, #4d7d35, #3b6627);
}
/* COFFEE (THUD CUP's past, CALM.md §4, calls 10 and 16): a Lviv coffee house of about 1900 at its lace-curtained window.
   The evening is the night register: the walnut room lamp-lit, the square in blue dusk beyond the glass; the paper a dark
   walnut plate, the inks the lace's cream. One accent, the cup's gilt (call 10); the reward is the crema's warmer amber.
   No sparks in the field (frap-glass.js PALETTES coffee: e 0). Its morning and afternoon are Milk (below). */
html[data-palette="coffee"] {
  --ground: #120c08;
  --ground-rgb: 18, 12, 8;
  --field-max: #644b36;
  --ink: #f8f1e4;
  --ink-2: #d9ccb6;
  --ink-3: #b2a48e;
  --acc-1: #f8e8bc;
  --acc-2: #eed08a;
  --acc-3: #ddb561;
  --acc-4: #c49b47;
  --acc-ink: #e9ca7e;
  --on-acc: #1b1306;
  --acc-rgb: 221, 181, 97;
  --acc-deep: rgba(90, 62, 20, .45);
  --sel-wash: color-mix(in srgb, var(--acc-3) 14%, transparent);
  --glow: rgba(221, 181, 97, .38);
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #f8f1e4;
  --rwd-1: #fde4c4;
  --rwd-2: #f4c590;
  --rwd-3: #e7a967;
  --rwd-4: #d08c49;
  --on-rwd: #1d1005;
  --rwd-glow: rgba(231, 169, 103, .48);
  --btn-1: #f1d692;
  --btn-2: #ddb561;
  --btn-fill: linear-gradient(180deg, var(--btn-1), var(--btn-2));
  --on-btn: #1b1306;
  --btn-rim: rgba(252, 242, 214, .80);
  --btn-deep: rgba(90, 62, 20, .50);
  --btn-sheen: rgba(255, 255, 255, .45);
  --seg-fill: var(--acc);
  --on-seg: #1b1306;
  --seg-glow: rgba(221, 181, 97, .45);
  --ic-ink: var(--acc-ink);
  --ic-rgb: 221, 181, 97;
  --glass-fill: rgba(33, 23, 15, .84);
  --glass-strong-fill: rgba(28, 19, 13, .90);
  --glass-thin-fill: rgba(41, 29, 20, .80);
  --glass-ghost: rgba(33, 23, 16, .40);
  --scrim: rgba(10, 6, 3, .62);
  --frost-off: #21170f;
  --frost-off-strong: #1c130d;
  --frost-off-thin: #291d14;
  --pv-d1: #c49b47; --pv-d2: #d08c49; --pv-dg: #120c08; --pv-db: linear-gradient(135deg, #f1d692, #ddb561);
  --pv-l1: #f0e1bb; --pv-l2: #f6dcc0; --pv-lg: #f6f0e6; --pv-lb: linear-gradient(135deg, #8a6a22, #6e5212);
}
/* TEA (THUD CUP's future, CALM.md §4, calls 10 and 16): a whitewashed country house in summer, its window open on a cherry
   orchard. The evening is the night register: the orchard under the moon, deep blue; the paper the night's linen. One
   accent, summer's blue (the painted window frames of a Ukrainian house, call 10); the reward is linden honey. No sparks
   (frap-glass.js PALETTES tea: e 0). Its morning and afternoon are Milk (below). */
html[data-palette="tea"] {
  --ground: #0a1320;
  --ground-rgb: 10, 19, 32;
  --field-max: #34507a;
  --ink: #f2f4f7;
  --ink-2: #cdd5e0;
  --ink-3: #a4b0c1;
  --acc-1: #dce9fb;
  --acc-2: #b6d2f5;
  --acc-3: #8eb8ec;
  --acc-4: #6c9edf;
  --acc-ink: #aaccf4;
  --on-acc: #06142a;
  --acc-rgb: 142, 184, 236;
  --acc-deep: rgba(24, 52, 96, .45);
  --sel-wash: color-mix(in srgb, var(--acc-3) 14%, transparent);
  --glow: rgba(142, 184, 236, .38);
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #f2f4f7;
  --rwd-1: #fbefc6;
  --rwd-2: #f2d683;
  --rwd-3: #e3b84b;
  --rwd-4: #ca9a31;
  --on-rwd: #1c1403;
  --rwd-glow: rgba(227, 184, 75, .48);
  --btn-1: #d0e3fa;
  --btn-2: #8eb8ec;
  --btn-fill: linear-gradient(180deg, var(--btn-1), var(--btn-2));
  --on-btn: #06142a;
  --btn-rim: rgba(236, 244, 254, .80);
  --btn-deep: rgba(24, 52, 96, .50);
  --btn-sheen: rgba(255, 255, 255, .45);
  --seg-fill: var(--acc);
  --on-seg: #06142a;
  --seg-glow: rgba(142, 184, 236, .45);
  --ic-ink: var(--acc-ink);
  --ic-rgb: 142, 184, 236;
  --glass-fill: rgba(17, 29, 47, .84);
  --glass-strong-fill: rgba(14, 24, 40, .90);
  --glass-thin-fill: rgba(22, 36, 57, .80);
  --glass-ghost: rgba(17, 29, 47, .40);
  --scrim: rgba(3, 7, 14, .62);
  --frost-off: #111d2f;
  --frost-off-strong: #0e1828;
  --frost-off-thin: #162439;
  --pv-d1: #6c9edf; --pv-d2: #ca9a31; --pv-dg: #0a1320; --pv-db: linear-gradient(135deg, #d0e3fa, #8eb8ec);
  --pv-l1: #d6e5f7; --pv-l2: #f7e7b4; --pv-lg: #f5f6f3; --pv-lb: linear-gradient(135deg, #2f65ad, #23508f);
}
/* COCOA (ROUNDS.md §C; the owner, 2026-11-27: «Cocoa and Mint»): a window seat in a top-floor Kyiv flat in winter, snow
   on the roofs and the Dnipro frozen below. The evening is the night register: the blue dusk at the glass, the seat warm
   in its lamp; the paper the night's wool. One accent, cocoa's rose (the cream on the cup, the wool's warm thread); the
   reward is caramel. No sparks (frap-glass.js PALETTES cocoa: e 0). Its morning and afternoon are Milk (below). */
html[data-palette="cocoa"] {
  --ground: #140e0d;
  --ground-rgb: 20, 14, 13;
  --field-max: #624943;
  --ink: #f7efe9;
  --ink-2: #d9c9c0;
  --ink-3: #b3a198;
  --acc-1: #f7e0d6;
  --acc-2: #eebfab;
  --acc-3: #e09d84;
  --acc-4: #c98066;
  --acc-ink: #ebb7a2;
  --on-acc: #24100a;
  --acc-rgb: 224, 157, 132;
  --acc-deep: rgba(96, 44, 28, .45);
  --sel-wash: color-mix(in srgb, var(--acc-3) 14%, transparent);
  --glow: rgba(224, 157, 132, .38);
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #f7efe9;
  --rwd-1: #fbe7c8;
  --rwd-2: #f1cb92;
  --rwd-3: #e2ac62;
  --rwd-4: #c98f43;
  --on-rwd: #1e1205;
  --rwd-glow: rgba(226, 172, 98, .48);
  --btn-1: #f2cdbd;
  --btn-2: #e09d84;
  --btn-fill: linear-gradient(180deg, var(--btn-1), var(--btn-2));
  --on-btn: #24100a;
  --btn-rim: rgba(253, 238, 231, .80);
  --btn-deep: rgba(96, 44, 28, .50);
  --btn-sheen: rgba(255, 255, 255, .45);
  --seg-fill: var(--acc);
  --on-seg: #24100a;
  --seg-glow: rgba(224, 157, 132, .45);
  --ic-ink: var(--acc-ink);
  --ic-rgb: 224, 157, 132;
  --glass-fill: rgba(36, 26, 24, .84);
  --glass-strong-fill: rgba(30, 21, 19, .90);
  --glass-thin-fill: rgba(45, 33, 30, .80);
  --glass-ghost: rgba(36, 26, 24, .40);
  --scrim: rgba(10, 6, 5, .62);
  --frost-off: #241a18;
  --frost-off-strong: #1e1513;
  --frost-off-thin: #2d211e;
  --pv-d1: #c98066; --pv-d2: #c98f43; --pv-dg: #140e0d; --pv-db: linear-gradient(135deg, #f2cdbd, #e09d84);
  --pv-l1: #f3ddd3; --pv-l2: #f7e2c4; --pv-lg: #f8f5f2; --pv-lb: linear-gradient(135deg, #9a4a32, #7f3b27);
}
/* MINT (ROUNDS.md §C, 2026-11-27): a glasshouse of white wrought iron and old glass in a Kyiv botanical garden, green all
   year. The evening is the night register: the palms in teal shadow under the glass roof, the moon on the leaves; the
   paper the night's glass. One accent, fresh mint (bluer than matcha's leaf, so the two are never mistaken); the reward
   is jasmine honey. No sparks (frap-glass.js PALETTES mint: e 0). Its morning and afternoon are Milk (below). */
html[data-palette="mint"] {
  --ground: #071614;
  --ground-rgb: 7, 22, 20;
  --field-max: #2d5a53;
  --ink: #eef6f3;
  --ink-2: #c8dcd6;
  --ink-3: #9fb9b2;
  --acc-1: #dcf6ee;
  --acc-2: #b2ead9;
  --acc-3: #84d7bf;
  --acc-4: #5dbea3;
  --acc-ink: #9ee3cd;
  --on-acc: #04201a;
  --acc-rgb: 132, 215, 191;
  --acc-deep: rgba(20, 84, 68, .45);
  --sel-wash: color-mix(in srgb, var(--acc-3) 14%, transparent);
  --glow: rgba(132, 215, 191, .38);
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #eef6f3;
  --rwd-1: #fdf1c9;
  --rwd-2: #f4da8a;
  --rwd-3: #e6bd52;
  --rwd-4: #cd9f35;
  --on-rwd: #1c1403;
  --rwd-glow: rgba(230, 189, 82, .48);
  --btn-1: #c6eee1;
  --btn-2: #84d7bf;
  --btn-fill: linear-gradient(180deg, var(--btn-1), var(--btn-2));
  --on-btn: #04201a;
  --btn-rim: rgba(236, 251, 246, .80);
  --btn-deep: rgba(20, 84, 68, .50);
  --btn-sheen: rgba(255, 255, 255, .45);
  --seg-fill: var(--acc);
  --on-seg: #04201a;
  --seg-glow: rgba(132, 215, 191, .45);
  --ic-ink: var(--acc-ink);
  --ic-rgb: 132, 215, 191;
  --glass-fill: rgba(14, 36, 32, .84);
  --glass-strong-fill: rgba(11, 30, 27, .90);
  --glass-thin-fill: rgba(19, 45, 40, .80);
  --glass-ghost: rgba(14, 36, 32, .40);
  --scrim: rgba(2, 9, 8, .62);
  --frost-off: #0e2420;
  --frost-off-strong: #0b1e1b;
  --frost-off-thin: #132d28;
  --pv-d1: #5dbea3; --pv-d2: #cd9f35; --pv-dg: #071614; --pv-db: linear-gradient(135deg, #c6eee1, #84d7bf);
  --pv-l1: #d5f1e8; --pv-l2: #f7e7b4; --pv-lg: #f2f7f4; --pv-lb: linear-gradient(135deg, #1f7560, #185d4c);
}
/* LEMON (ROUNDS.md §C, 2026-11-27): a white room by the sea in Odesa in summer, pale green shutters open onto the Black
   Sea, a glass of black tea with a slice of lemon. The evening is the night register: the sea under the blue dusk, the
   moon on the water; the paper the night's glass. One accent, the lemon (greener and paler than coffee's amber, so the
   two are never mistaken); the reward is the sea's blue, kept light so its red holds its edge under Field mode's red
   veil. No sparks (frap-glass.js PALETTES lemon: e 0). Its morning and afternoon are Milk (below). */
html[data-palette="lemon"] {
  --ground: #08121c;
  --ground-rgb: 8, 18, 28;
  --field-max: #38536d;
  --ink: #eef3f8;
  --ink-2: #c9d5e1;
  --ink-3: #a0b1c2;
  --acc-1: #fffbe0;
  --acc-2: #fbf0a6;
  --acc-3: #f0dc6a;
  --acc-4: #d9c240;
  --acc-ink: #f2e07c;
  --on-acc: #1e1c02;
  --acc-rgb: 240, 220, 106;
  --acc-deep: rgba(110, 96, 10, .45);
  --sel-wash: color-mix(in srgb, var(--acc-3) 14%, transparent);
  --glow: rgba(240, 220, 106, .36);
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #eef3f8;
  --rwd-1: #e4f5fb;
  --rwd-2: #c0e7f5;
  --rwd-3: #9ad6ee;
  --rwd-4: #7cc3e3;
  --on-rwd: #03202b;
  --rwd-glow: rgba(124, 203, 232, .46);
  --btn-1: #f8eeac;
  --btn-2: #f0dc6a;
  --btn-fill: linear-gradient(180deg, var(--btn-1), var(--btn-2));
  --on-btn: #1e1c02;
  --btn-rim: rgba(255, 252, 230, .80);
  --btn-deep: rgba(110, 96, 10, .50);
  --btn-sheen: rgba(255, 255, 255, .45);
  --seg-fill: var(--acc);
  --on-seg: #1e1c02;
  --seg-glow: rgba(240, 220, 106, .42);
  --ic-ink: var(--acc-ink);
  --ic-rgb: 240, 220, 106;
  --glass-fill: rgba(14, 28, 42, .84);
  --glass-strong-fill: rgba(11, 23, 35, .90);
  --glass-thin-fill: rgba(19, 36, 53, .80);
  --glass-ghost: rgba(14, 28, 42, .40);
  --scrim: rgba(2, 6, 11, .62);
  --frost-off: #0e1c2a;
  --frost-off-strong: #0b1723;
  --frost-off-thin: #132435;
  --pv-d1: #d9c240; --pv-d2: #7cc3e3; --pv-dg: #08121c; --pv-db: linear-gradient(135deg, #f8eeac, #f0dc6a);
  --pv-l1: #fbf3c4; --pv-l2: #cdeaf6; --pv-lg: #f6f8f7; --pv-lb: linear-gradient(135deg, #f0dc6a, #e2c94a);
}
/* SEA BUCKTHORN (ROUNDS.md §C, 2026-11-27): a Carpathian lodge of pale spruce in autumn, a wide window onto golden
   larches, dark spruce and misty blue mountains, a glass cup of sea-buckthorn tea and a sprig of its berries on the
   ledge, a red and black woven wool blanket. The evening is the night register: the mountains under the blue dusk, the
   room in blue shadow; the paper the night's glass. One accent, the berry's orange (hotter and redder than coffee's
   amber, so the two are never mistaken); the reward the spruce's green, kept light so its red holds its edge under
   Field mode's red veil. No sparks (frap-glass.js PALETTES buckthorn). Its morning and afternoon are Milk (below). */
html[data-palette="buckthorn"] {
  --ground: #0b1119;
  --ground-rgb: 11, 17, 25;
  --field-max: #405166;
  --ink: #f4efe8;
  --ink-2: #d8d0c5;
  --ink-3: #b2a79a;
  --acc-1: #fff0de;
  --acc-2: #ffd09c;
  --acc-3: #f6a352;
  --acc-4: #e5843a;
  --acc-ink: #fbb874;
  --on-acc: #2a1200;
  --acc-rgb: 246, 163, 82;
  --acc-deep: rgba(130, 56, 0, .45);
  --sel-wash: color-mix(in srgb, var(--acc-3) 14%, transparent);
  --glow: rgba(246, 163, 82, .36);
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #f4efe8;
  --rwd-1: #e8f5ea;
  --rwd-2: #c7e6cd;
  --rwd-3: #a3d4ad;
  --rwd-4: #88c495;
  --on-rwd: #062011;
  --rwd-glow: rgba(136, 196, 149, .46);
  --btn-1: #fdc890;
  --btn-2: #f6a352;
  --btn-fill: linear-gradient(180deg, var(--btn-1), var(--btn-2));
  --on-btn: #2a1200;
  --btn-rim: rgba(255, 240, 222, .80);
  --btn-deep: rgba(130, 56, 0, .50);
  --btn-sheen: rgba(255, 255, 255, .45);
  --seg-fill: var(--acc);
  --on-seg: #2a1200;
  --seg-glow: rgba(246, 163, 82, .42);
  --ic-ink: var(--acc-ink);
  --ic-rgb: 246, 163, 82;
  --glass-fill: rgba(18, 26, 37, .84);
  --glass-strong-fill: rgba(14, 21, 31, .90);
  --glass-thin-fill: rgba(24, 33, 46, .80);
  --glass-ghost: rgba(18, 26, 37, .40);
  --scrim: rgba(3, 6, 10, .62);
  --frost-off: #121a25;
  --frost-off-strong: #0e151f;
  --frost-off-thin: #18212e;
  --pv-d1: #e5843a; --pv-d2: #88c495; --pv-dg: #0b1119; --pv-db: linear-gradient(135deg, #fdc890, #f6a352);
  --pv-l1: #ffe2c2; --pv-l2: #d3ecd8; --pv-lg: #f7f4ef; --pv-lb: linear-gradient(135deg, #f6a352, #e5843a);
}
/* ROSEHIP (ROUNDS.md §C, 2026-11-27): a reading room in a Kharkiv library in autumn rain, an arched window onto maples
   turned red and gold, shelves of leather-bound books, a dark green leather armchair, a glass teapot of ruby rosehip
   tea on the walnut desk. The evening is the night register: the rain's blue dusk at the window, the room in shadow; the
   paper the night's glass. One accent, the rosehip's red (a rose, not cocoa's terracotta); the reward the books' gilt.
   No sparks (frap-glass.js PALETTES rosehip). Its morning and afternoon are Milk (below). */
html[data-palette="rosehip"] {
  --ground: #0c1311;
  --ground-rgb: 12, 19, 17;
  --field-max: #3b544f;
  --ink: #f3efe9;
  --ink-2: #d7cfc6;
  --ink-3: #b1a79c;
  --acc-1: #ffe6e7;
  --acc-2: #ffbfc4;
  --acc-3: #f08a93;
  --acc-4: #dd6672;
  --acc-ink: #f8b0b6;
  --on-acc: #2b060b;
  --acc-rgb: 240, 138, 147;
  --acc-deep: rgba(120, 22, 36, .45);
  --sel-wash: color-mix(in srgb, var(--acc-3) 14%, transparent);
  --glow: rgba(240, 138, 147, .36);
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #f3efe9;
  --rwd-1: #fbf1d8;
  --rwd-2: #f2dba4;
  --rwd-3: #e6c06c;
  --rwd-4: #d8a84e;
  --on-rwd: #251700;
  --rwd-glow: rgba(216, 168, 78, .46);
  --btn-1: #f4a2aa;
  --btn-2: #e67884;
  --btn-fill: linear-gradient(180deg, var(--btn-1), var(--btn-2));
  --on-btn: #2b060b;
  --btn-rim: rgba(255, 230, 231, .80);
  --btn-deep: rgba(120, 22, 36, .50);
  --btn-sheen: rgba(255, 255, 255, .45);
  --seg-fill: var(--acc);
  --on-seg: #2b060b;
  --seg-glow: rgba(240, 138, 147, .42);
  --ic-ink: var(--acc-ink);
  --ic-rgb: 240, 138, 147;
  --glass-fill: rgba(17, 27, 24, .84);
  --glass-strong-fill: rgba(13, 22, 19, .90);
  --glass-thin-fill: rgba(23, 34, 30, .80);
  --glass-ghost: rgba(17, 27, 24, .40);
  --scrim: rgba(3, 7, 6, .62);
  --frost-off: #111b18;
  --frost-off-strong: #0d1613;
  --frost-off-thin: #17221e;
  --pv-d1: #dd6672; --pv-d2: #e6c06c; --pv-dg: #0c1311; --pv-db: linear-gradient(135deg, #f4a2aa, #e67884);
  --pv-l1: #ffdfe1; --pv-l2: #f6e6bf; --pv-lg: #f6f1ea; --pv-lb: linear-gradient(135deg, #f08a93, #dd6672);
}
/* ELDERFLOWER (ROUNDS.md §C, 2026-11-27): a painted wooden balcony over a green Kyiv courtyard in May, white elderflowers
   and purple lilac in bloom, a white table with a jug of pale elderflower cordial and a bowl of strawberries, a striped
   deckchair, a tall glass door with a white curtain. The evening is the night register: May's short blue dusk over the
   courtyard, the balcony in shadow; the paper the night's glass. One accent, the lilac's violet; the reward the
   cordial's pale gold. No sparks (frap-glass.js PALETTES elderflower). Its morning and afternoon are Milk (below). */
html[data-palette="elderflower"] {
  --ground: #0f0f1a;
  --ground-rgb: 15, 15, 26;
  --field-max: #4d4c68;
  --ink: #f2f0f5;
  --ink-2: #d5d1dd;
  --ink-3: #aca7b7;
  --acc-1: #f1e9ff;
  --acc-2: #dccbfb;
  --acc-3: #b89ae8;
  --acc-4: #9a78d6;
  --acc-ink: #d0bcf6;
  --on-acc: #1d0d33;
  --acc-rgb: 184, 154, 232;
  --acc-deep: rgba(60, 30, 110, .45);
  --sel-wash: color-mix(in srgb, var(--acc-3) 14%, transparent);
  --glow: rgba(184, 154, 232, .36);
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #f2f0f5;
  --rwd-1: #fdf8e0;
  --rwd-2: #f5e7a8;
  --rwd-3: #e9d272;
  --rwd-4: #d9bb4e;
  --on-rwd: #241c00;
  --rwd-glow: rgba(217, 187, 78, .46);
  --btn-1: #d9c8fa;
  --btn-2: #b89ae8;
  --btn-fill: linear-gradient(180deg, var(--btn-1), var(--btn-2));
  --on-btn: #1d0d33;
  --btn-rim: rgba(241, 233, 255, .80);
  --btn-deep: rgba(60, 30, 110, .50);
  --btn-sheen: rgba(255, 255, 255, .45);
  --seg-fill: var(--acc);
  --on-seg: #1d0d33;
  --seg-glow: rgba(184, 154, 232, .42);
  --ic-ink: var(--acc-ink);
  --ic-rgb: 184, 154, 232;
  --glass-fill: rgba(20, 19, 32, .84);
  --glass-strong-fill: rgba(16, 15, 26, .90);
  --glass-thin-fill: rgba(26, 25, 40, .80);
  --glass-ghost: rgba(20, 19, 32, .40);
  --scrim: rgba(4, 4, 9, .62);
  --frost-off: #14131f;
  --frost-off-strong: #100f1a;
  --frost-off-thin: #1a1927;
  --pv-d1: #9a78d6; --pv-d2: #e9d272; --pv-dg: #0f0f1a; --pv-db: linear-gradient(135deg, #d9c8fa, #b89ae8);
  --pv-l1: #ece3fd; --pv-l2: #f8efc6; --pv-lg: #f7f6f2; --pv-lb: linear-gradient(135deg, #b89ae8, #9a78d6);
}
/* MILK: the light register. The same shapes, the same light; a cool white for the ground in Opal
   (cream in Rose gold), near-black ink, and the accent a shade deeper so it holds its edge on a
   pale field. */
html[data-look="milk"] {
  color-scheme: light;
  --ground: #f2f5f6;
  --ground-rgb: 242, 245, 246;
  --field-min: #bac4c9;
  --ink: #11161a;
  --ink-2: #2e373d;
  --ink-3: #4c565e;
  --acc-1: #7fe0c6;
  --acc-2: #6fa8f5;
  --acc-3: #a58cf0;
  --acc-4: #c6a6ff;
  --acc-ink: #065444;
  --gauge-num: linear-gradient(var(--acc-ink), var(--acc-ink));
  --gauge-ink: #065444;
  --on-acc: #03140f;
  --acc-rgb: 30, 150, 125;
  --acc-deep: rgba(40, 70, 120, .25);
  --sel-wash: color-mix(in srgb, var(--acc-2) 14%, transparent);
  --glow: rgba(63, 140, 232, .28);
  --rwd-glow: rgba(111, 168, 245, .42);
  --btn-1: #1a1e22;
  --btn-2: #050607;
  --on-btn: #ffffff;
  --btn-rim: rgba(255, 255, 255, .22);
  --btn-deep: rgba(0, 0, 0, .4);
  --btn-sheen: rgba(255, 255, 255, .2);
  --seg-fill: #ffffff;
  --on-seg: #11161a;
  --seg-glow: rgba(40, 56, 70, .22);
  --wrong-ink: #a52c1c;
  --wrong: #c8452f;
  --glass-fill: rgba(252, 253, 254, .80);
  --glass-top: rgba(255, 255, 255, 0);
  --glass-strong-fill: rgba(252, 253, 254, .92);
  --glass-thin-fill: rgba(252, 253, 254, .66);
  --glass-ghost: rgba(250, 252, 253, .22);
  --glass-sat: 150%;
  --rim: rgba(255, 255, 255, .75);
  --rim-soft: rgba(255, 255, 255, .25);
  --rim-far: rgba(70, 90, 110, .12);
  --hi: rgba(255, 255, 255, .7);
  --cast: 0 10px 30px -18px rgba(40, 56, 70, .22), 0 1px 2px rgba(40, 56, 70, .06);
  --cast-answer: 0 8px 20px -14px rgba(40, 56, 70, .20);
  --cast-sheet: 0 18px 44px -20px rgba(40, 56, 70, .30);
  --spot: rgba(255, 255, 255, .35);
  --sheen: rgba(255, 255, 255, .30);
  --scrim: rgba(24, 32, 40, .28);
  --thumb: rgba(255, 255, 255, .82);
  --thumb-shadow: inset 0 1px 0 #fff, 0 2px 8px -3px rgba(40, 56, 70, .16);
  --tint: 30, 44, 56;
  --shade: 40, 56, 70;
  --sk: .24;   /* matte: the shades under and inside a surface, quieter (round four) */
  --frost-off: #f5f7f8;
  --frost-off-strong: #fbfcfc;
  --frost-off-thin: #eef1f3;
}
/* EMBER UNDER MILK: Dawn. A cool steel-white ground, near-black ink; the accent's blues lifted so
   their dark ink holds on every stop; the gold primary as it is in the dark. */
html[data-look="milk"][data-palette="ember"] {
  --ground: #eef1f5;
  --ground-rgb: 238, 241, 245;
  --field-min: #b9c3d3;
  --ink: #0b1220;
  --ink-2: #263046;
  --ink-3: #414c63;
  --acc-1: #b9cfff;
  --acc-2: #8aa9f8;
  --acc-3: #6e93f0;
  --acc-4: #5a82ea;
  --acc-ink: #163c9e;
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #0b1220;
  --on-acc: #04102e;
  --acc-rgb: 61, 107, 224;
  --acc-deep: rgba(20, 50, 140, .35);
  --sel-wash: color-mix(in srgb, var(--acc-3) 14%, transparent);
  --glow: rgba(61, 107, 224, .40);
  --ring-1: #6e93f0;
  --ring-2: #5a82ea;
  --ring-3: #3d6be0;
  --ring-4: #2350c2;
  --rwd-1: #ffe7a6;
  --rwd-2: #ffd06a;
  --rwd-3: #f4b544;
  --rwd-4: #e39e2c;
  --on-rwd: #1a1003;
  --rwd-glow: rgba(240, 160, 40, .5);
  --btn-1: #ffd979;
  --btn-2: #f0a93a;
  --on-btn: #1a1003;
  --btn-rim: rgba(255, 255, 255, .85);
  --btn-deep: rgba(140, 80, 10, .45);
  --btn-sheen: rgba(255, 255, 255, .6);
  --seg-fill: var(--acc);
  --on-seg: #04102e;
  --seg-glow: rgba(61, 107, 224, .45);
  --glass-fill: rgba(255, 255, 255, .80);
  --glass-strong-fill: rgba(255, 255, 255, .92);
  --glass-thin-fill: rgba(255, 255, 255, .66);
  --glass-ghost: rgba(255, 255, 255, .22);
  --rim-far: rgba(20, 32, 64, .12);
  --cast: 0 10px 30px -18px rgba(20, 32, 64, .26), 0 1px 2px rgba(20, 32, 64, .06);
  --cast-answer: 0 8px 20px -14px rgba(20, 32, 64, .22);
  --cast-sheet: 0 18px 44px -20px rgba(20, 32, 64, .32);
  --scrim: rgba(10, 16, 32, .32);
  --thumb-shadow: inset 0 1px 0 #fff, 0 2px 8px -3px rgba(20, 32, 64, .16);
  --tint: 20, 32, 64;
  --shade: 20, 32, 64;
  --frost-off: #f4f6f9;
  --frost-off-strong: #fafbfd;
  --frost-off-thin: #e8ecf2;
}
/* Steampunk by day: the workshop in morning sun, parchment and walnut ink, blued steel a shade deeper. */
html[data-look="milk"][data-palette="steam"] {
  --ground: #f3ead8;
  --ground-rgb: 243, 234, 216;
  --field-min: #c8b693;
  --ink: #23180f;
  --ink-2: #47372a;
  --ink-3: #5e4b39;
  --acc-1: #c2d4f0;
  --acc-2: #93b2e3;
  --acc-3: #6f95d6;
  --acc-4: #5781c9;
  --acc-ink: #24467f;
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #23180f;
  --on-acc: #08111f;
  --acc-rgb: 60, 100, 170;
  --acc-deep: rgba(30, 55, 110, .30);
  --sel-wash: color-mix(in srgb, var(--acc-3) 14%, transparent);
  --glow: rgba(60, 100, 170, .35);
  --ring-1: #6f95d6;
  --ring-2: #5781c9;
  --ring-3: #3f6bb7;
  --ring-4: #2b549c;
  --rwd-1: #ffe8b0;
  --rwd-2: #f3cd78;
  --rwd-3: #ddae55;
  --rwd-4: #c4943c;
  --on-rwd: #1b1106;
  --rwd-glow: rgba(200, 140, 40, .45);
  --btn-1: #f2d58a;
  --btn-2: #c99a45;
  --on-btn: #1b1106;
  --btn-rim: rgba(255, 250, 235, .85);
  --btn-deep: rgba(110, 70, 20, .45);
  --btn-sheen: rgba(255, 255, 255, .55);
  --seg-fill: var(--acc);
  --on-seg: #08111f;
  --seg-glow: rgba(60, 100, 170, .40);
  --glass-fill: rgba(253, 248, 238, .80);
  --glass-strong-fill: rgba(253, 248, 238, .93);
  --glass-thin-fill: rgba(253, 248, 238, .66);
  --glass-ghost: rgba(253, 248, 238, .22);
  --rim-far: rgba(70, 45, 20, .14);
  --cast: 0 10px 30px -18px rgba(60, 38, 16, .30), 0 1px 2px rgba(60, 38, 16, .08);
  --cast-answer: 0 8px 20px -14px rgba(60, 38, 16, .24);
  --cast-sheet: 0 18px 44px -20px rgba(60, 38, 16, .34);
  --scrim: rgba(40, 26, 12, .30);
  --thumb-shadow: inset 0 1px 0 #fff, 0 2px 8px -3px rgba(60, 38, 16, .18);
  --tint: 60, 38, 16;
  --shade: 60, 38, 16;
  --frost-off: #f8f1e3;
  --frost-off-strong: #fcf8ef;
  --frost-off-thin: #f1e8d6;
}
/* Cyberpunk by day: the same city on an overcast morning, frosted glass, the neon a shade deeper. */
html[data-look="milk"][data-palette="cyber"] {
  --ground: #e8ecf4;
  --ground-rgb: 232, 236, 244;
  --field-min: #b6bfd0;
  --ink: #0b0f1c;
  --ink-2: #283048;
  --ink-3: #414a64;
  --acc-1: #a8ecfa;
  --acc-2: #62d6f0;
  --acc-3: #1fb7da;
  --acc-4: #0e9cc0;
  --acc-ink: #00495a;
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #0b0f1c;
  --on-acc: #01131a;
  --acc-rgb: 0, 140, 175;
  --acc-deep: rgba(0, 90, 120, .30);
  --sel-wash: color-mix(in srgb, var(--acc-3) 14%, transparent);
  --glow: rgba(0, 150, 190, .35);
  --ring-1: #1fb7da;
  --ring-2: #0e9cc0;
  --ring-3: #007f9f;
  --ring-4: #006580;
  --rwd-1: #fff3a8;
  --rwd-2: #ffe066;
  --rwd-3: #f5c518;
  --rwd-4: #e0aa00;
  --on-rwd: #151100;
  --rwd-glow: rgba(230, 180, 0, .45);
  --btn-1: #ffe866;
  --btn-2: #f5c518;
  --on-btn: #151100;
  --btn-rim: rgba(255, 255, 240, .85);
  --btn-deep: rgba(140, 100, 0, .40);
  --btn-sheen: rgba(255, 255, 255, .6);
  --seg-fill: var(--acc);
  --on-seg: #01131a;
  --seg-glow: rgba(0, 150, 190, .40);
  --glass-fill: rgba(250, 252, 255, .80);
  --glass-strong-fill: rgba(250, 252, 255, .92);
  --glass-thin-fill: rgba(250, 252, 255, .66);
  --glass-ghost: rgba(250, 252, 255, .22);
  --rim-far: rgba(14, 20, 40, .12);
  --cast: 0 10px 30px -18px rgba(14, 20, 40, .26), 0 1px 2px rgba(14, 20, 40, .06);
  --cast-answer: 0 8px 20px -14px rgba(14, 20, 40, .22);
  --cast-sheet: 0 18px 44px -20px rgba(14, 20, 40, .32);
  --scrim: rgba(8, 12, 26, .32);
  --thumb-shadow: inset 0 1px 0 #fff, 0 2px 8px -3px rgba(14, 20, 40, .16);
  --tint: 14, 20, 40;
  --shade: 14, 20, 40;
  --frost-off: #f3f5fa;
  --frost-off-strong: #fafbfd;
  --frost-off-thin: #e6eaf2;
}
/* Raypunk by day: the World's Fair in sunshine, cream enamel and a sky of pale teal, the teal a shade deeper. */
html[data-look="milk"][data-palette="ray"] {
  --ground: #f4eee0;
  --ground-rgb: 244, 238, 224;
  --field-min: #c0bca8;
  --ink: #13191c;
  --ink-2: #2f3a3e;
  --ink-3: #46535a;
  --acc-1: #b5ece2;
  --acc-2: #74d8c8;
  --acc-3: #2fbca8;
  --acc-4: #1ba08e;
  --acc-ink: #005248;
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #13191c;
  --on-acc: #02150f;
  --acc-rgb: 0, 140, 124;
  --acc-deep: rgba(0, 95, 85, .30);
  --sel-wash: color-mix(in srgb, var(--acc-3) 14%, transparent);
  --glow: rgba(0, 150, 132, .35);
  --ring-1: #2fbca8;
  --ring-2: #1ba08e;
  --ring-3: #068573;
  --ring-4: #006a5c;
  --rwd-1: #ffe9b8;
  --rwd-2: #ffcf7a;
  --rwd-3: #f6ab45;
  --rwd-4: #e48a22;
  --on-rwd: #1c0f02;
  --rwd-glow: rgba(220, 130, 30, .45);
  --btn-1: #ffd78a;
  --btn-2: #f0a040;
  --on-btn: #1c0f02;
  --btn-rim: rgba(255, 252, 240, .85);
  --btn-deep: rgba(150, 80, 10, .40);
  --btn-sheen: rgba(255, 255, 255, .6);
  --seg-fill: var(--acc);
  --on-seg: #02150f;
  --seg-glow: rgba(0, 150, 132, .40);
  --glass-fill: rgba(255, 252, 244, .80);
  --glass-strong-fill: rgba(255, 252, 244, .93);
  --glass-thin-fill: rgba(255, 252, 244, .66);
  --glass-ghost: rgba(255, 252, 244, .22);
  --rim-far: rgba(20, 40, 44, .12);
  --cast: 0 10px 30px -18px rgba(16, 36, 40, .28), 0 1px 2px rgba(16, 36, 40, .07);
  --cast-answer: 0 8px 20px -14px rgba(16, 36, 40, .22);
  --cast-sheet: 0 18px 44px -20px rgba(16, 36, 40, .32);
  --scrim: rgba(10, 24, 28, .30);
  --thumb-shadow: inset 0 1px 0 #fff, 0 2px 8px -3px rgba(16, 36, 40, .16);
  --tint: 16, 36, 40;
  --shade: 16, 36, 40;
  --frost-off: #f8f3e8;
  --frost-off-strong: #fcf9f2;
  --frost-off-thin: #efe8d8;
}
/* Weird West by day: a golden morning in the canyon, sand and adobe, the turquoise a shade deeper. */
html[data-look="milk"][data-palette="west"] {
  --ground: #f6ecdc;
  --ground-rgb: 246, 236, 220;
  --field-min: #c8b9a0;
  --ink: #1c140d;
  --ink-2: #3a2c20;
  --ink-3: #54432f;
  --acc-1: #bfeee5;
  --acc-2: #7dd9c8;
  --acc-3: #2fb4a0;
  --acc-4: #179683;
  --acc-ink: #004c42;
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #1c140d;
  --on-acc: #02140f;
  --acc-rgb: 0, 138, 120;
  --acc-deep: rgba(0, 95, 82, .30);
  --sel-wash: color-mix(in srgb, var(--acc-3) 14%, transparent);
  --glow: rgba(0, 146, 128, .35);
  --ring-1: #2fb4a0;
  --ring-2: #179683;
  --ring-3: #077e6c;
  --ring-4: #00675a;
  --rwd-1: #ffe9b8;
  --rwd-2: #f8cc7a;
  --rwd-3: #eaa645;
  --rwd-4: #d28426;
  --on-rwd: #1d1003;
  --rwd-glow: rgba(210, 130, 40, .45);
  --btn-1: #ffd68a;
  --btn-2: #ea9c40;
  --on-btn: #1d1003;
  --btn-rim: rgba(255, 251, 238, .85);
  --btn-deep: rgba(150, 75, 10, .40);
  --btn-sheen: rgba(255, 255, 255, .6);
  --seg-fill: var(--acc);
  --on-seg: #02140f;
  --seg-glow: rgba(0, 146, 128, .40);
  --glass-fill: rgba(255, 250, 241, .80);
  --glass-strong-fill: rgba(255, 250, 241, .93);
  --glass-thin-fill: rgba(255, 250, 241, .66);
  --glass-ghost: rgba(255, 250, 241, .22);
  --rim-far: rgba(48, 30, 16, .12);
  --cast: 0 10px 30px -18px rgba(48, 30, 16, .28), 0 1px 2px rgba(48, 30, 16, .07);
  --cast-answer: 0 8px 20px -14px rgba(48, 30, 16, .22);
  --cast-sheet: 0 18px 44px -20px rgba(48, 30, 16, .32);
  --scrim: rgba(30, 18, 8, .30);
  --thumb-shadow: inset 0 1px 0 #fff, 0 2px 8px -3px rgba(48, 30, 16, .16);
  --tint: 48, 30, 16;
  --shade: 48, 30, 16;
  --frost-off: #f9f1e5;
  --frost-off-strong: #fcf8f1;
  --frost-off-thin: #f0e5d3;
}
/* Silkpunk by day: a misty morning among the peaks, silk cream and celadon, the jade a shade deeper. */
html[data-look="milk"][data-palette="silk"] {
  --ground: #f5efe1;
  --ground-rgb: 245, 239, 225;
  --field-min: #bdbcae;
  --ink: #16161a;
  --ink-2: #2f3036;
  --ink-3: #474a52;
  --acc-1: #bfeedb;
  --acc-2: #7fd8b2;
  --acc-3: #34b585;
  --acc-4: #1e9668;
  --acc-ink: #004c32;
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #16161a;
  --on-acc: #02140c;
  --acc-rgb: 0, 140, 96;
  --acc-deep: rgba(0, 95, 66, .30);
  --sel-wash: color-mix(in srgb, var(--acc-3) 14%, transparent);
  --glow: rgba(0, 150, 104, .35);
  --ring-1: #34b585;
  --ring-2: #1e9668;
  --ring-3: #0a7e54;
  --ring-4: #006843;
  --rwd-1: #ffeebb;
  --rwd-2: #f8d47e;
  --rwd-3: #ebb447;
  --rwd-4: #d4932a;
  --on-rwd: #1c1203;
  --rwd-glow: rgba(212, 147, 42, .45);
  --btn-1: #ffdf92;
  --btn-2: #e8aa42;
  --on-btn: #1c1203;
  --btn-rim: rgba(255, 252, 240, .85);
  --btn-deep: rgba(150, 95, 10, .40);
  --btn-sheen: rgba(255, 255, 255, .6);
  --seg-fill: var(--acc);
  --on-seg: #02140c;
  --seg-glow: rgba(0, 150, 104, .40);
  --glass-fill: rgba(255, 252, 245, .80);
  --glass-strong-fill: rgba(255, 252, 245, .93);
  --glass-thin-fill: rgba(255, 252, 245, .66);
  --glass-ghost: rgba(255, 252, 245, .22);
  --rim-far: rgba(20, 26, 40, .12);
  --cast: 0 10px 30px -18px rgba(20, 26, 40, .28), 0 1px 2px rgba(20, 26, 40, .07);
  --cast-answer: 0 8px 20px -14px rgba(20, 26, 40, .22);
  --cast-sheet: 0 18px 44px -20px rgba(20, 26, 40, .32);
  --scrim: rgba(10, 14, 26, .30);
  --thumb-shadow: inset 0 1px 0 #fff, 0 2px 8px -3px rgba(20, 26, 40, .16);
  --tint: 20, 26, 40;
  --shade: 20, 26, 40;
  --frost-off: #f8f4ea;
  --frost-off-strong: #fcfaf4;
  --frost-off-thin: #eee8d9;
}
/* Mosspunk by day: a bright garden morning, pale leaf and cream, the green a shade deeper. */
html[data-look="milk"][data-palette="moss"] {
  --ground: #f1f2e4;
  --ground-rgb: 241, 242, 228;
  --field-min: #bdbcae;
  --ink: #16161a;
  --ink-2: #2f3036;
  --ink-3: #474a52;
  --acc-1: #cfeebf;
  --acc-2: #9dd87f;
  --acc-3: #5fb534;
  --acc-4: #46961e;
  --acc-ink: #194c00;
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #16161a;
  --on-acc: #081402;
  --acc-rgb: 47, 140, 0;
  --acc-deep: rgba(32, 95, 0, .30);
  --sel-wash: color-mix(in srgb, var(--acc-3) 14%, transparent);
  --glow: rgba(50, 150, 0, .35);
  --ring-1: #5fb534;
  --ring-2: #46961e;
  --ring-3: #317e0a;
  --ring-4: #236800;
  --rwd-1: #ffeebb;
  --rwd-2: #f8d47e;
  --rwd-3: #ebb447;
  --rwd-4: #d4932a;
  --on-rwd: #1c1203;
  --rwd-glow: rgba(212, 147, 42, .45);
  --btn-1: #ffdf92;
  --btn-2: #e8aa42;
  --on-btn: #1c1203;
  --btn-rim: rgba(255, 252, 240, .85);
  --btn-deep: rgba(150, 95, 10, .40);
  --btn-sheen: rgba(255, 255, 255, .6);
  --seg-fill: var(--acc);
  --on-seg: #081402;
  --seg-glow: rgba(50, 150, 0, .40);
  --glass-fill: rgba(255, 252, 245, .80);
  --glass-strong-fill: rgba(255, 252, 245, .93);
  --glass-thin-fill: rgba(255, 252, 245, .66);
  --glass-ghost: rgba(255, 252, 245, .22);
  --rim-far: rgba(20, 26, 40, .12);
  --cast: 0 10px 30px -18px rgba(20, 26, 40, .28), 0 1px 2px rgba(20, 26, 40, .07);
  --cast-answer: 0 8px 20px -14px rgba(20, 26, 40, .22);
  --cast-sheet: 0 18px 44px -20px rgba(20, 26, 40, .32);
  --scrim: rgba(10, 14, 26, .30);
  --thumb-shadow: inset 0 1px 0 #ffffff, 0 2px 8px -3px rgba(20, 26, 40, .16);
  --tint: 20, 26, 40;
  --shade: 20, 26, 40;
  --frost-off: #f8f4ea;
  --frost-off-strong: #fcfaf4;
  --frost-off-thin: #eee8d9;
  --fld-1: rgba(205, 236, 190, .85); --fld-2: rgba(229, 190, 248, .45); --fld-3: rgba(200, 212, 236, .80); --fld-4: rgba(255, 236, 196, .80);
}
/* Aquapunk by day: sunlight through clear water, pale aqua and sand, the aqua a shade deeper. */
html[data-look="milk"][data-palette="aqua"] {
  --ground: #eaf3f2;
  --ground-rgb: 234, 243, 242;
  --field-min: #bdbcae;
  --ink: #16161a;
  --ink-2: #2f3036;
  --ink-3: #474a52;
  --acc-1: #bfecee;
  --acc-2: #7fd5d8;
  --acc-3: #34b1b5;
  --acc-4: #1e9296;
  --acc-ink: #00494c;
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #16161a;
  --on-acc: #021314;
  --acc-rgb: 0, 135, 140;
  --acc-deep: rgba(0, 92, 95, .30);
  --sel-wash: color-mix(in srgb, var(--acc-3) 14%, transparent);
  --glow: rgba(0, 145, 150, .35);
  --ring-1: #34b1b5;
  --ring-2: #1e9296;
  --ring-3: #0a7a7e;
  --ring-4: #006568;
  --rwd-1: #ffeebb;
  --rwd-2: #f8d47e;
  --rwd-3: #ebb447;
  --rwd-4: #d4932a;
  --on-rwd: #1c1203;
  --rwd-glow: rgba(212, 147, 42, .45);
  --btn-1: #ffdf92;
  --btn-2: #e8aa42;
  --on-btn: #1c1203;
  --btn-rim: rgba(255, 252, 240, .85);
  --btn-deep: rgba(150, 95, 10, .40);
  --btn-sheen: rgba(255, 255, 255, .6);
  --seg-fill: var(--acc);
  --on-seg: #021314;
  --seg-glow: rgba(0, 145, 150, .40);
  --glass-fill: rgba(255, 252, 245, .80);
  --glass-strong-fill: rgba(255, 252, 245, .93);
  --glass-thin-fill: rgba(255, 252, 245, .66);
  --glass-ghost: rgba(255, 252, 245, .22);
  --rim-far: rgba(20, 26, 40, .12);
  --cast: 0 10px 30px -18px rgba(20, 26, 40, .28), 0 1px 2px rgba(20, 26, 40, .07);
  --cast-answer: 0 8px 20px -14px rgba(20, 26, 40, .22);
  --cast-sheet: 0 18px 44px -20px rgba(20, 26, 40, .32);
  --scrim: rgba(10, 14, 26, .30);
  --thumb-shadow: inset 0 1px 0 #ffffff, 0 2px 8px -3px rgba(20, 26, 40, .16);
  --tint: 20, 26, 40;
  --shade: 20, 26, 40;
  --frost-off: #f8f4ea;
  --frost-off-strong: #fcfaf4;
  --frost-off-thin: #eee8d9;
  --fld-1: rgba(190, 234, 236, .85); --fld-2: rgba(248, 198, 190, .45); --fld-3: rgba(200, 212, 236, .80); --fld-4: rgba(255, 236, 196, .80);
}
/* Solarpunk by day: white stone in high sun, sky and sunflower, the blue a shade deeper. */
html[data-look="milk"][data-palette="solar"] {
  --ground: #f5f3ea;
  --ground-rgb: 245, 243, 234;
  --field-min: #bcbbb0;
  --ink: #16161a;
  --ink-2: #2f3036;
  --ink-3: #474a52;
  --acc-1: #d2e8fb;
  --acc-2: #9ccbf3;
  --acc-3: #4d9ad9;
  --acc-4: #3887cb;
  --acc-ink: #0c3f73;
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #16161a;
  --on-acc: #04101e;
  --acc-rgb: 20, 100, 180;
  --acc-deep: rgba(10, 70, 150, .30);
  --sel-wash: color-mix(in srgb, var(--acc-3) 14%, transparent);
  --glow: rgba(20, 100, 180, .35);
  --ring-1: #4d9ad9;
  --ring-2: #2f7cc0;
  --ring-3: #1d66a8;
  --ring-4: #12528c;
  --rwd-1: #fff0b8;
  --rwd-2: #ffd56e;
  --rwd-3: #f2b437;
  --rwd-4: #d8931c;
  --on-rwd: #1c1203;
  --rwd-glow: rgba(216, 147, 28, .45);
  --btn-1: #ffe08c;
  --btn-2: #edaa34;
  --on-btn: #1c1203;
  --btn-rim: rgba(255, 252, 240, .85);
  --btn-deep: rgba(150, 95, 10, .40);
  --btn-sheen: rgba(255, 255, 255, .6);
  --seg-fill: var(--acc);
  --on-seg: #04101e;
  --seg-glow: rgba(20, 100, 180, .40);
  --glass-fill: rgba(255, 253, 247, .80);
  --glass-strong-fill: rgba(255, 253, 247, .93);
  --glass-thin-fill: rgba(255, 253, 247, .66);
  --glass-ghost: rgba(255, 253, 247, .22);
  --rim-far: rgba(20, 26, 40, .12);
  --cast: 0 10px 30px -18px rgba(20, 26, 40, .28), 0 1px 2px rgba(20, 26, 40, .07);
  --cast-answer: 0 8px 20px -14px rgba(20, 26, 40, .22);
  --cast-sheet: 0 18px 44px -20px rgba(20, 26, 40, .32);
  --scrim: rgba(10, 14, 26, .30);
  --thumb-shadow: inset 0 1px 0 #ffffff, 0 2px 8px -3px rgba(20, 26, 40, .16);
  --tint: 20, 26, 40;
  --shade: 20, 26, 40;
  --frost-off: #faf7ee;
  --frost-off-strong: #fdfbf5;
  --frost-off-thin: #efebdd;
  --fld-1: rgba(200, 226, 248, .85); --fld-2: rgba(255, 228, 150, .55); --fld-3: rgba(200, 212, 236, .80); --fld-4: rgba(255, 240, 200, .80);
}
/* Petrykivka by day: the white wall in the morning sun, limewash and indigo ink, the state cobalt, the reward ochre. */
html[data-look="milk"][data-palette="petryk"] {
  --ground: #f5f0e5;
  --ground-rgb: 245, 240, 229;
  --field-min: #cbc6b9;
  --ink: #1c2242;
  --ink-2: #2f3554;
  --ink-3: #474c66;
  --acc-1: #d3dfff;
  --acc-2: #a6bdf7;
  --acc-3: #7a9bec;
  --acc-4: #5d82e2;
  --acc-ink: #2546a6;
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #1c2242;
  --on-acc: #0b1433;
  --acc-rgb: 37, 70, 166;
  --acc-deep: rgba(25, 50, 140, .30);
  --sel-wash: color-mix(in srgb, var(--acc-3) 14%, transparent);
  --glow: rgba(37, 70, 166, .30);
  --ring-1: #5d82e2;
  --ring-2: #3f63cf;
  --ring-3: #2c4fb6;
  --ring-4: #2546a6;
  --rwd-1: #ffefc2;
  --rwd-2: #f6d88a;
  --rwd-3: #e9bb52;
  --rwd-4: #d29a2c;
  --on-rwd: #1c1405;
  --rwd-glow: rgba(150, 102, 15, .40);
  --btn-1: #3556c0;
  --btn-2: #1f3c94;
  --on-btn: #fbf8f0;
  --btn-rim: rgba(255, 255, 255, .7);
  --btn-deep: rgba(20, 40, 110, .35);
  --btn-sheen: rgba(255, 255, 255, .45);
  --seg-fill: var(--acc);
  --on-seg: #0b1433;
  --seg-glow: rgba(37, 70, 166, .35);
  --glass-fill: rgba(249, 246, 238, .84);
  --glass-strong-fill: rgba(252, 250, 245, .90);
  --glass-thin-fill: rgba(239, 233, 220, .80);
  --glass-ghost: rgba(251, 248, 240, .22);
  --rim-far: rgba(28, 34, 66, .12);
  --cast: 0 10px 30px -18px rgba(28, 34, 66, .28), 0 1px 2px rgba(28, 34, 66, .07);
  --cast-answer: 0 8px 20px -14px rgba(28, 34, 66, .22);
  --cast-sheet: 0 18px 44px -20px rgba(28, 34, 66, .32);
  --scrim: rgba(12, 16, 36, .30);
  --thumb-shadow: inset 0 1px 0 #fff, 0 2px 8px -3px rgba(28, 34, 66, .16);
  --tint: 28, 34, 66;
  --shade: 28, 34, 66;
  --frost-off: #f9f6ee;
  --frost-off-strong: #fcfaf5;
  --frost-off-thin: #efe9dc;
}
/* MATCHA BY DAY: the morning (Chasen's morning paper, its cool ink, matcha's deep green), and the afternoon's own paper
   (html[data-part="afternoon"], frap-app.js: «Own afternoon paper», Chasen's, 2026-10-08), warm plaster and honey light. */
html[data-look="milk"][data-palette="matcha"] {
  --ground: #f4f0e7;
  --ground-rgb: 244, 240, 231;
  --field-min: #c4beae;
  --ink: #1f2a36;
  --ink-2: #3d4854;
  --ink-3: #525c68;
  --acc-1: #d9ecc8;
  --acc-2: #b5d89a;
  --acc-3: #8dbf6c;
  --acc-4: #6fa64f;
  --acc-ink: #2c4f1c;
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #1f2a36;
  --on-acc: #0f2108;
  --acc-rgb: 59, 102, 39;
  --acc-deep: rgba(40, 80, 30, .28);
  --sel-wash: color-mix(in srgb, var(--acc-3) 16%, transparent);
  --glow: rgba(96, 142, 62, .30);
  --ring-1: #8dbf6c;
  --ring-2: #6fa64f;
  --ring-3: #4d7d35;
  --ring-4: #3b6627;
  --rwd-1: #ffeebb;
  --rwd-2: #f8d47e;
  --rwd-3: #ebb447;
  --rwd-4: #d4932a;
  --on-rwd: #1c1203;
  --rwd-glow: rgba(212, 147, 42, .40);
  --btn-1: #4d7d35;
  --btn-2: #3b6627;
  --on-btn: #fffdf8;
  --btn-rim: rgba(255, 253, 248, .55);
  --btn-deep: rgba(30, 60, 20, .40);
  --btn-sheen: rgba(255, 255, 255, .35);
  --seg-fill: var(--acc);
  --on-seg: #0f2108;
  --seg-glow: rgba(96, 142, 62, .35);
  --glass-fill: rgba(255, 253, 248, .84);
  --glass-strong-fill: rgba(255, 255, 255, .90);
  --glass-thin-fill: rgba(247, 243, 234, .80);
  --glass-ghost: rgba(255, 253, 248, .40);
  --rim-far: rgba(31, 42, 54, .12);
  --cast: 0 10px 30px -18px rgba(31, 42, 54, .26), 0 1px 2px rgba(31, 42, 54, .07);
  --cast-answer: 0 8px 20px -14px rgba(31, 42, 54, .20);
  --cast-sheet: 0 18px 44px -20px rgba(31, 42, 54, .30);
  --scrim: rgba(31, 42, 54, .42);
  --thumb-shadow: inset 0 1px 0 #fff, 0 2px 8px -3px rgba(31, 42, 54, .16);
  --tint: 31, 42, 54;
  --shade: 31, 42, 54;
  --frost-off: #fffdf8;
  --frost-off-strong: #ffffff;
  --frost-off-thin: #f7f3ea;
}
html[data-look="milk"][data-palette="matcha"][data-part="afternoon"] {
  --ground: #f7eedc;
  --ground-rgb: 247, 238, 220;
  --field-min: #c8b99c;
  --ink: #2b2116;
  --ink-2: #45372a;
  --ink-3: #5c4b37;
  --acc-ink: #34471a;
  --gauge-ink: #2b2116;
  --btn-1: #55702b;
  --btn-2: #46601f;
  --on-btn: #fffaf0;
  --glass-fill: rgba(255, 250, 240, .84);
  --glass-strong-fill: rgba(255, 255, 255, .90);
  --glass-thin-fill: rgba(249, 241, 224, .80);
  --glass-ghost: rgba(255, 250, 240, .40);
  --rim-far: rgba(43, 33, 22, .12);
  --cast: 0 10px 30px -18px rgba(43, 33, 22, .26), 0 1px 2px rgba(43, 33, 22, .07);
  --cast-answer: 0 8px 20px -14px rgba(43, 33, 22, .20);
  --cast-sheet: 0 18px 44px -20px rgba(43, 33, 22, .30);
  --scrim: rgba(43, 33, 22, .42);
  --tint: 43, 33, 22;
  --shade: 43, 33, 22;
  --frost-off: #fffaf0;
  --frost-off-thin: #f9f1e0;
}
/* COFFEE BY DAY: the morning (the lace's light on the marble: cream paper, espresso ink, the gilt deepened to old gold for
   words and buttons), and the afternoon's own warmer paper (html[data-part="afternoon"]), honey on the marble. */
html[data-look="milk"][data-palette="coffee"] {
  --ground: #f6f0e6;
  --ground-rgb: 246, 240, 230;
  --field-min: #c8bba6;
  --ink: #2a1d13;
  --ink-2: #4a3a2c;
  --ink-3: #5f4f41;
  --acc-1: #f3e3b8;
  --acc-2: #e4c680;
  --acc-3: #c9a34b;
  --acc-4: #a8842f;
  --acc-ink: #5a420c;
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #2a1d13;
  --on-acc: #1f1606;
  --acc-rgb: 138, 104, 34;
  --acc-deep: rgba(90, 64, 20, .28);
  --sel-wash: color-mix(in srgb, var(--acc-3) 16%, transparent);
  --glow: rgba(168, 132, 47, .30);
  --ring-1: #c9a34b;
  --ring-2: #a8842f;
  --ring-3: #8a6a22;
  --ring-4: #6c5112;
  --rwd-1: #ffe7c6;
  --rwd-2: #f6c991;
  --rwd-3: #e7aa61;
  --rwd-4: #cf8b47;
  --on-rwd: #1d1005;
  --rwd-glow: rgba(207, 139, 71, .40);
  --btn-1: #84651e;   /* its crown of light under a small key's label read 4.3:1 (2026-11-24) */
  --btn-2: #6c5112;
  --on-btn: #fffaf0;
  --btn-rim: rgba(255, 250, 240, .55);
  --btn-deep: rgba(70, 50, 14, .40);
  --btn-sheen: rgba(255, 255, 255, .35);
  --seg-fill: var(--acc);
  --on-seg: #1f1606;
  --seg-glow: rgba(168, 132, 47, .35);
  --glass-fill: rgba(255, 252, 246, .84);
  --glass-strong-fill: rgba(255, 255, 255, .90);
  --glass-thin-fill: rgba(248, 242, 232, .80);
  --glass-ghost: rgba(255, 252, 246, .40);
  --rim-far: rgba(42, 29, 19, .12);
  --cast: 0 10px 30px -18px rgba(42, 29, 19, .26), 0 1px 2px rgba(42, 29, 19, .07);
  --cast-answer: 0 8px 20px -14px rgba(42, 29, 19, .20);
  --cast-sheet: 0 18px 44px -20px rgba(42, 29, 19, .30);
  --scrim: rgba(42, 29, 19, .42);
  --thumb-shadow: inset 0 1px 0 #fff, 0 2px 8px -3px rgba(42, 29, 19, .16);
  --tint: 42, 29, 19;
  --shade: 42, 29, 19;
  --frost-off: #fffcf6;
  --frost-off-strong: #ffffff;
  --frost-off-thin: #f8f2e8;
}
html[data-look="milk"][data-palette="coffee"][data-part="afternoon"] {
  --ground: #f7ead5;
  --ground-rgb: 247, 234, 213;
  --field-min: #cbb594;
  --ink: #2c1c0e;
  --ink-2: #4a3421;
  --ink-3: #5f4631;
  --acc-ink: #563d0b;
  --gauge-ink: #2c1c0e;
  --btn-1: #82621b;
  --btn-2: #684c10;
  --on-btn: #fff8ea;
  --glass-fill: rgba(255, 248, 236, .84);
  --glass-strong-fill: rgba(255, 255, 255, .90);
  --glass-thin-fill: rgba(249, 238, 220, .80);
  --glass-ghost: rgba(255, 248, 236, .40);
  --rim-far: rgba(44, 28, 14, .12);
  --cast: 0 10px 30px -18px rgba(44, 28, 14, .26), 0 1px 2px rgba(44, 28, 14, .07);
  --cast-answer: 0 8px 20px -14px rgba(44, 28, 14, .20);
  --cast-sheet: 0 18px 44px -20px rgba(44, 28, 14, .30);
  --scrim: rgba(44, 28, 14, .42);
  --tint: 44, 28, 14;
  --shade: 44, 28, 14;
  --frost-off: #fff8ec;
  --frost-off-thin: #f9eedc;
}
/* TEA BY DAY: the morning (whitewash and linen, cool clean ink, the window frames' blue for words and buttons), and the
   afternoon's own paper (html[data-part="afternoon"]): the orchard's honey light on the white wall. */
html[data-look="milk"][data-palette="tea"] {
  --ground: #f5f6f3;
  --ground-rgb: 245, 246, 243;
  --field-min: #c2c7c4;
  --ink: #1c2633;
  --ink-2: #3a4553;
  --ink-3: #4f5a69;
  --acc-1: #d7e6f8;
  --acc-2: #aac9ef;
  --acc-3: #7eaae3;
  --acc-4: #5a8fd3;
  --acc-ink: #23508f;
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #1c2633;
  --on-acc: #071a33;
  --acc-rgb: 47, 95, 158;
  --acc-deep: rgba(24, 52, 96, .28);
  --sel-wash: color-mix(in srgb, var(--acc-3) 16%, transparent);
  --glow: rgba(75, 128, 198, .30);
  --ring-1: #709fde;
  --ring-2: #4b80c6;
  --ring-3: #2f65ad;
  --ring-4: #23508f;
  --rwd-1: #fff0c4;
  --rwd-2: #f7da89;
  --rwd-3: #e9be53;
  --rwd-4: #d19f32;
  --on-rwd: #1c1403;
  --rwd-glow: rgba(209, 159, 50, .40);
  --btn-1: #2f65ad;
  --btn-2: #23508f;
  --on-btn: #ffffff;
  --btn-rim: rgba(255, 255, 255, .55);
  --btn-deep: rgba(20, 44, 86, .40);
  --btn-sheen: rgba(255, 255, 255, .35);
  --seg-fill: var(--acc);
  --on-seg: #071a33;
  --seg-glow: rgba(75, 128, 198, .35);
  --glass-fill: rgba(255, 255, 253, .84);
  --glass-strong-fill: rgba(255, 255, 255, .90);
  --glass-thin-fill: rgba(246, 247, 244, .80);
  --glass-ghost: rgba(255, 255, 253, .40);
  --rim-far: rgba(28, 38, 51, .12);
  --cast: 0 10px 30px -18px rgba(28, 38, 51, .26), 0 1px 2px rgba(28, 38, 51, .07);
  --cast-answer: 0 8px 20px -14px rgba(28, 38, 51, .20);
  --cast-sheet: 0 18px 44px -20px rgba(28, 38, 51, .30);
  --scrim: rgba(28, 38, 51, .42);
  --thumb-shadow: inset 0 1px 0 #fff, 0 2px 8px -3px rgba(28, 38, 51, .16);
  --tint: 28, 38, 51;
  --shade: 28, 38, 51;
  --frost-off: #fffffd;
  --frost-off-strong: #ffffff;
  --frost-off-thin: #f6f7f4;
}
html[data-look="milk"][data-palette="tea"][data-part="afternoon"] {
  --ground: #f8f1e1;
  --ground-rgb: 248, 241, 225;
  --field-min: #cdbf9f;
  --ink: #2a2318;
  --ink-2: #463c2e;
  --ink-3: #5c5040;
  --acc-ink: #1f4679;
  --gauge-ink: #2a2318;
  --btn-1: #2c5f9f;
  --btn-2: #224f88;
  --on-btn: #fffdf6;
  --glass-fill: rgba(255, 251, 242, .84);
  --glass-strong-fill: rgba(255, 255, 255, .90);
  --glass-thin-fill: rgba(249, 242, 227, .80);
  --glass-ghost: rgba(255, 251, 242, .40);
  --rim-far: rgba(42, 35, 24, .12);
  --cast: 0 10px 30px -18px rgba(42, 35, 24, .26), 0 1px 2px rgba(42, 35, 24, .07);
  --cast-answer: 0 8px 20px -14px rgba(42, 35, 24, .20);
  --cast-sheet: 0 18px 44px -20px rgba(42, 35, 24, .30);
  --scrim: rgba(42, 35, 24, .42);
  --tint: 42, 35, 24;
  --shade: 42, 35, 24;
  --frost-off: #fffbf2;
  --frost-off-thin: #f9f2e3;
}
/* COCOA BY DAY: the morning (the snow's light on white paint and cream wool, cocoa's ink, its rose for words and
   buttons), and the afternoon's own paper: the low winter sun's honey on the wall. */
html[data-look="milk"][data-palette="cocoa"] {
  --ground: #f8f5f2;
  --ground-rgb: 248, 245, 242;
  --field-min: #cbc2bc;
  --ink: #2b1d18;
  --ink-2: #4a3a33;
  --ink-3: #5f4f47;
  --acc-1: #f6ddd2;
  --acc-2: #eab9a5;
  --acc-3: #d9967c;
  --acc-4: #c27458;
  --acc-ink: #823b25;
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #2b1d18;
  --on-acc: #2a0f06;
  --acc-rgb: 154, 74, 50;
  --acc-deep: rgba(96, 44, 28, .28);
  --sel-wash: color-mix(in srgb, var(--acc-3) 16%, transparent);
  --glow: rgba(194, 116, 88, .30);
  --ring-1: #d48b70;
  --ring-2: #bd6f53;
  --ring-3: #9a4a32;
  --ring-4: #7f3b27;
  --rwd-1: #fdeccf;
  --rwd-2: #f4d098;
  --rwd-3: #e5b066;
  --rwd-4: #cc9244;
  --on-rwd: #1e1205;
  --rwd-glow: rgba(204, 146, 68, .40);
  --btn-1: #9a4a32;
  --btn-2: #7f3b27;
  --on-btn: #ffffff;
  --btn-rim: rgba(255, 255, 255, .55);
  --btn-deep: rgba(80, 34, 20, .40);
  --btn-sheen: rgba(255, 255, 255, .35);
  --seg-fill: var(--acc);
  --on-seg: #2a0f06;
  --seg-glow: rgba(194, 116, 88, .35);
  --glass-fill: rgba(255, 253, 251, .84);
  --glass-strong-fill: rgba(255, 255, 255, .90);
  --glass-thin-fill: rgba(248, 245, 242, .80);
  --glass-ghost: rgba(255, 253, 251, .40);
  --rim-far: rgba(43, 29, 24, .12);
  --cast: 0 10px 30px -18px rgba(43, 29, 24, .26), 0 1px 2px rgba(43, 29, 24, .07);
  --cast-answer: 0 8px 20px -14px rgba(43, 29, 24, .20);
  --cast-sheet: 0 18px 44px -20px rgba(43, 29, 24, .30);
  --scrim: rgba(43, 29, 24, .42);
  --thumb-shadow: inset 0 1px 0 #fff, 0 2px 8px -3px rgba(43, 29, 24, .16);
  --tint: 43, 29, 24;
  --shade: 43, 29, 24;
  --frost-off: #fffdfb;
  --frost-off-strong: #ffffff;
  --frost-off-thin: #f8f5f2;
}
html[data-look="milk"][data-palette="cocoa"][data-part="afternoon"] {
  --ground: #f8efe3;
  --ground-rgb: 248, 239, 227;
  --field-min: #cfbfa6;
  --ink: #2d2017;
  --ink-2: #4a3b2e;
  --ink-3: #5f4f3f;
  --acc-ink: #803923;
  --gauge-ink: #2d2017;
  --btn-1: #934530;
  --btn-2: #7a3824;
  --on-btn: #fffdf8;
  --glass-fill: rgba(255, 250, 243, .84);
  --glass-strong-fill: rgba(255, 255, 255, .90);
  --glass-thin-fill: rgba(249, 241, 229, .80);
  --glass-ghost: rgba(255, 250, 243, .40);
  --rim-far: rgba(45, 32, 23, .12);
  --cast: 0 10px 30px -18px rgba(45, 32, 23, .26), 0 1px 2px rgba(45, 32, 23, .07);
  --cast-answer: 0 8px 20px -14px rgba(45, 32, 23, .20);
  --cast-sheet: 0 18px 44px -20px rgba(45, 32, 23, .30);
  --scrim: rgba(45, 32, 23, .42);
  --tint: 45, 32, 23;
  --shade: 45, 32, 23;
  --frost-off: #fffaf3;
  --frost-off-thin: #f9f1e5;
}
/* MINT BY DAY: the morning (white iron and clear glass, green shade, the leaf's deep ink, mint for words and buttons),
   and the afternoon's own paper: the old panes' gold light on the leaves. */
html[data-look="milk"][data-palette="mint"] {
  --ground: #f2f7f4;
  --ground-rgb: 242, 247, 244;
  --field-min: #bcc8c2;
  --ink: #142b25;
  --ink-2: #304841;
  --ink-3: #455d56;
  --acc-1: #d6f1e7;
  --acc-2: #a8e2d0;
  --acc-3: #74c9b0;
  --acc-4: #48ad91;
  --acc-ink: #155b48;
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #142b25;
  --on-acc: #032119;
  --acc-rgb: 31, 117, 96;
  --acc-deep: rgba(20, 84, 68, .28);
  --sel-wash: color-mix(in srgb, var(--acc-3) 16%, transparent);
  --glow: rgba(72, 173, 145, .30);
  --ring-1: #5fbfa3;
  --ring-2: #3aa384;
  --ring-3: #1f7560;
  --ring-4: #185d4c;
  --rwd-1: #fff0c4;
  --rwd-2: #f7da89;
  --rwd-3: #e9be53;
  --rwd-4: #d19f32;
  --on-rwd: #1c1403;
  --rwd-glow: rgba(209, 159, 50, .40);
  --btn-1: #1f7560;
  --btn-2: #185d4c;
  --on-btn: #ffffff;
  --btn-rim: rgba(255, 255, 255, .55);
  --btn-deep: rgba(14, 60, 48, .40);
  --btn-sheen: rgba(255, 255, 255, .35);
  --seg-fill: var(--acc);
  --on-seg: #032119;
  --seg-glow: rgba(72, 173, 145, .35);
  --glass-fill: rgba(253, 255, 254, .84);
  --glass-strong-fill: rgba(255, 255, 255, .90);
  --glass-thin-fill: rgba(242, 247, 244, .80);
  --glass-ghost: rgba(253, 255, 254, .40);
  --rim-far: rgba(20, 43, 37, .12);
  --cast: 0 10px 30px -18px rgba(20, 43, 37, .26), 0 1px 2px rgba(20, 43, 37, .07);
  --cast-answer: 0 8px 20px -14px rgba(20, 43, 37, .20);
  --cast-sheet: 0 18px 44px -20px rgba(20, 43, 37, .30);
  --scrim: rgba(20, 43, 37, .42);
  --thumb-shadow: inset 0 1px 0 #fff, 0 2px 8px -3px rgba(20, 43, 37, .16);
  --tint: 20, 43, 37;
  --shade: 20, 43, 37;
  --frost-off: #fdfffe;
  --frost-off-strong: #ffffff;
  --frost-off-thin: #f2f7f4;
}
html[data-look="milk"][data-palette="mint"][data-part="afternoon"] {
  --ground: #f6f4e6;
  --ground-rgb: 246, 244, 230;
  --field-min: #c9c4a2;
  --ink: #1f2a1f;
  --ink-2: #3b4636;
  --ink-3: #505c4a;
  --acc-ink: #155a47;
  --gauge-ink: #1f2a1f;
  --btn-1: #1c6d59;
  --btn-2: #165846;
  --on-btn: #fffef8;
  --glass-fill: rgba(254, 253, 245, .84);
  --glass-strong-fill: rgba(255, 255, 255, .90);
  --glass-thin-fill: rgba(247, 245, 232, .80);
  --glass-ghost: rgba(254, 253, 245, .40);
  --rim-far: rgba(31, 42, 31, .12);
  --cast: 0 10px 30px -18px rgba(31, 42, 31, .26), 0 1px 2px rgba(31, 42, 31, .07);
  --cast-answer: 0 8px 20px -14px rgba(31, 42, 31, .20);
  --cast-sheet: 0 18px 44px -20px rgba(31, 42, 31, .30);
  --scrim: rgba(31, 42, 31, .42);
  --tint: 31, 42, 31;
  --shade: 31, 42, 31;
  --frost-off: #fefdf5;
  --frost-off-thin: #f7f5e8;
}
/* LEMON BY DAY: the morning (white walls and white marble, the sea's light through the open shutters, navy ink, the
   lemon for buttons and the olive-gold of its rind for words), and the afternoon's own paper: the sun's honey through the
   half-closed shutters. */
html[data-look="milk"][data-palette="lemon"] {
  --ground: #f6f8f7;
  --ground-rgb: 246, 248, 247;
  --field-min: #c0c7c5;
  --ink: #172636;
  --ink-2: #334353;
  --ink-3: #4a5a69;
  --acc-1: #fffbe0;
  --acc-2: #fbf0a4;
  --acc-3: #efda5e;
  --acc-4: #d8be34;
  --acc-ink: #5a5300;
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #172636;
  --on-acc: #1f1c03;
  --acc-rgb: 150, 132, 10;
  --acc-deep: rgba(110, 96, 10, .26);
  --sel-wash: color-mix(in srgb, var(--acc-3) 22%, transparent);
  --glow: rgba(216, 190, 52, .34);
  --ring-1: #e6cf4c;
  --ring-2: #c8af24;
  --ring-3: #978310;
  --ring-4: #6c5f00;
  --rwd-1: #e2f3fa;
  --rwd-2: #b6e0f1;
  --rwd-3: #7cc6e3;
  --rwd-4: #3f9fc8;
  --on-rwd: #03202b;
  --rwd-glow: rgba(63, 159, 200, .38);
  --btn-1: #f6e682;
  --btn-2: #ecd457;
  --on-btn: #1f1c03;
  --btn-rim: rgba(255, 255, 255, .70);
  --btn-deep: rgba(110, 96, 10, .34);
  --btn-sheen: rgba(255, 255, 255, .45);
  --seg-fill: var(--acc);
  --on-seg: #1f1c03;
  --seg-glow: rgba(216, 190, 52, .34);
  --glass-fill: rgba(253, 254, 254, .84);
  --glass-strong-fill: rgba(255, 255, 255, .90);
  --glass-thin-fill: rgba(246, 248, 247, .80);
  --glass-ghost: rgba(253, 254, 254, .40);
  --rim-far: rgba(23, 38, 54, .12);
  --cast: 0 10px 30px -18px rgba(23, 38, 54, .26), 0 1px 2px rgba(23, 38, 54, .07);
  --cast-answer: 0 8px 20px -14px rgba(23, 38, 54, .20);
  --cast-sheet: 0 18px 44px -20px rgba(23, 38, 54, .30);
  --scrim: rgba(23, 38, 54, .42);
  --thumb-shadow: inset 0 1px 0 #fff, 0 2px 8px -3px rgba(23, 38, 54, .16);
  --tint: 23, 38, 54;
  --shade: 23, 38, 54;
  --frost-off: #fdfefe;
  --frost-off-strong: #ffffff;
  --frost-off-thin: #f6f8f7;
}
html[data-look="milk"][data-palette="lemon"][data-part="afternoon"] {
  --ground: #f8f4e3;
  --ground-rgb: 248, 244, 227;
  --field-min: #cbc4a2;
  --ink: #272414;
  --ink-2: #423e2b;
  --ink-3: #57523d;
  --acc-ink: #5a5100;
  --gauge-ink: #272414;
  --btn-1: #f4e277;
  --btn-2: #e8cf4c;
  --on-btn: #1f1c03;
  --glass-fill: rgba(254, 252, 244, .84);
  --glass-strong-fill: rgba(255, 255, 255, .90);
  --glass-thin-fill: rgba(248, 244, 229, .80);
  --glass-ghost: rgba(254, 252, 244, .40);
  --rim-far: rgba(39, 36, 20, .12);
  --cast: 0 10px 30px -18px rgba(39, 36, 20, .26), 0 1px 2px rgba(39, 36, 20, .07);
  --cast-answer: 0 8px 20px -14px rgba(39, 36, 20, .20);
  --cast-sheet: 0 18px 44px -20px rgba(39, 36, 20, .30);
  --scrim: rgba(39, 36, 20, .42);
  --tint: 39, 36, 20;
  --shade: 39, 36, 20;
  --frost-off: #fefdf6;
  --frost-off-thin: #f8f4e7;
}
/* SEA BUCKTHORN BY DAY: the morning (pale spruce and the autumn sun through the wide window, a walnut-brown ink, the
   berry's orange for buttons and its deeper rust for words), and the afternoon's own paper: the low sun's honey. */
html[data-look="milk"][data-palette="buckthorn"] {
  --ground: #f7f4ef;
  --ground-rgb: 247, 244, 239;
  --field-min: #c6bfb5;
  --ink: #2a1f17;
  --ink-2: #45382d;
  --ink-3: #5c4f43;
  --acc-1: #fff0de;
  --acc-2: #ffd3a3;
  --acc-3: #f6a354;
  --acc-4: #e2822f;
  --acc-ink: #7c3600;
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #2a1f17;
  --on-acc: #2a1200;
  --acc-rgb: 170, 80, 10;
  --acc-deep: rgba(130, 56, 0, .26);
  --sel-wash: color-mix(in srgb, var(--acc-3) 22%, transparent);
  --glow: rgba(226, 130, 47, .34);
  --ring-1: #f2a65a;
  --ring-2: #d98336;
  --ring-3: #b0601a;
  --ring-4: #8a3f00;
  --rwd-1: #e6f3e8;
  --rwd-2: #bfe0c6;
  --rwd-3: #86c294;
  --rwd-4: #4f9a62;
  --on-rwd: #06200f;
  --rwd-glow: rgba(79, 154, 98, .38);
  --btn-1: #fbc282;
  --btn-2: #f3a050;
  --on-btn: #2a1200;
  --btn-rim: rgba(255, 255, 255, .70);
  --btn-deep: rgba(130, 56, 0, .34);
  --btn-sheen: rgba(255, 255, 255, .45);
  --seg-fill: var(--acc);
  --on-seg: #2a1200;
  --seg-glow: rgba(226, 130, 47, .34);
  --glass-fill: rgba(254, 252, 249, .84);
  --glass-strong-fill: rgba(255, 255, 255, .90);
  --glass-thin-fill: rgba(247, 244, 239, .80);
  --glass-ghost: rgba(254, 252, 249, .40);
  --rim-far: rgba(42, 31, 23, .12);
  --cast: 0 10px 30px -18px rgba(42, 31, 23, .26), 0 1px 2px rgba(42, 31, 23, .07);
  --cast-answer: 0 8px 20px -14px rgba(42, 31, 23, .20);
  --cast-sheet: 0 18px 44px -20px rgba(42, 31, 23, .30);
  --scrim: rgba(42, 31, 23, .42);
  --thumb-shadow: inset 0 1px 0 #fff, 0 2px 8px -3px rgba(42, 31, 23, .16);
  --tint: 42, 31, 23;
  --shade: 42, 31, 23;
  --frost-off: #fefcf9;
  --frost-off-strong: #ffffff;
  --frost-off-thin: #f7f4ef;
}
html[data-look="milk"][data-palette="buckthorn"][data-part="afternoon"] {
  --ground: #f8efe1;
  --ground-rgb: 248, 239, 225;
  --field-min: #cdbfa6;
  --ink: #2c1e12;
  --ink-2: #47372a;
  --ink-3: #5d4b3c;
  --acc-ink: #7a3400;
  --gauge-ink: #2c1e12;
  --btn-1: #fabd7a;
  --btn-2: #f09a48;
  --on-btn: #2a1200;
  --glass-fill: rgba(254, 250, 243, .84);
  --glass-strong-fill: rgba(255, 255, 255, .90);
  --glass-thin-fill: rgba(248, 239, 227, .80);
  --glass-ghost: rgba(254, 250, 243, .40);
  --rim-far: rgba(44, 30, 18, .12);
  --cast: 0 10px 30px -18px rgba(44, 30, 18, .26), 0 1px 2px rgba(44, 30, 18, .07);
  --cast-answer: 0 8px 20px -14px rgba(44, 30, 18, .20);
  --cast-sheet: 0 18px 44px -20px rgba(44, 30, 18, .30);
  --scrim: rgba(44, 30, 18, .42);
  --tint: 44, 30, 18;
  --shade: 44, 30, 18;
  --frost-off: #fefaf3;
  --frost-off-thin: #f8efe3;
}
/* ROSEHIP BY DAY: the morning (cream walls and the sun on the walnut desk, the leather armchair's bottle-green ink, the
   rosehip's red for buttons and its deeper ruby for words), and the afternoon's own paper: the rain's soft grey light. */
html[data-look="milk"][data-palette="rosehip"] {
  --ground: #f6f1ea;
  --ground-rgb: 246, 241, 234;
  --field-min: #c4bcb2;
  --ink: #16241f;
  --ink-2: #2f3d37;
  --ink-3: #4a5852;
  --acc-1: #ffe6e7;
  --acc-2: #ffc6ca;
  --acc-3: #f08a93;
  --acc-4: #da6370;
  --acc-ink: #8e1c2c;
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #16241f;
  --on-acc: #2b060b;
  --acc-rgb: 170, 34, 52;
  --acc-deep: rgba(120, 22, 36, .26);
  --sel-wash: color-mix(in srgb, var(--acc-3) 22%, transparent);
  --glow: rgba(218, 99, 112, .34);
  --ring-1: #f39aa2;
  --ring-2: #dc6f7b;
  --ring-3: #b44454;
  --ring-4: #8e1c2c;
  --rwd-1: #fbf1d8;
  --rwd-2: #f0daa2;
  --rwd-3: #dcb45c;
  --rwd-4: #b98a2e;
  --on-rwd: #251700;
  --rwd-glow: rgba(185, 138, 46, .38);
  --btn-1: #f29ca5;
  --btn-2: #e2707d;
  --on-btn: #2b060b;
  --btn-rim: rgba(255, 255, 255, .70);
  --btn-deep: rgba(120, 22, 36, .34);
  --btn-sheen: rgba(255, 255, 255, .45);
  --seg-fill: var(--acc);
  --on-seg: #2b060b;
  --seg-glow: rgba(218, 99, 112, .34);
  --glass-fill: rgba(254, 252, 249, .84);
  --glass-strong-fill: rgba(255, 255, 255, .90);
  --glass-thin-fill: rgba(246, 241, 234, .80);
  --glass-ghost: rgba(254, 252, 249, .40);
  --rim-far: rgba(22, 36, 31, .12);
  --cast: 0 10px 30px -18px rgba(22, 36, 31, .26), 0 1px 2px rgba(22, 36, 31, .07);
  --cast-answer: 0 8px 20px -14px rgba(22, 36, 31, .20);
  --cast-sheet: 0 18px 44px -20px rgba(22, 36, 31, .30);
  --scrim: rgba(22, 36, 31, .42);
  --thumb-shadow: inset 0 1px 0 #fff, 0 2px 8px -3px rgba(22, 36, 31, .16);
  --tint: 22, 36, 31;
  --shade: 22, 36, 31;
  --frost-off: #fefcf9;
  --frost-off-strong: #ffffff;
  --frost-off-thin: #f6f1ea;
}
html[data-look="milk"][data-palette="rosehip"][data-part="afternoon"] {
  --ground: #f1eee9;
  --ground-rgb: 241, 238, 233;
  --field-min: #c1bcb4;
  --ink: #18251f;
  --ink-2: #313e38;
  --ink-3: #4c5953;
  --acc-ink: #8a1a2a;
  --gauge-ink: #18251f;
  --btn-1: #ef98a1;
  --btn-2: #de6d7a;
  --on-btn: #2b060b;
  --glass-fill: rgba(252, 251, 248, .84);
  --glass-strong-fill: rgba(255, 255, 255, .90);
  --glass-thin-fill: rgba(241, 238, 233, .80);
  --glass-ghost: rgba(252, 251, 248, .40);
  --rim-far: rgba(24, 37, 31, .12);
  --cast: 0 10px 30px -18px rgba(24, 37, 31, .26), 0 1px 2px rgba(24, 37, 31, .07);
  --cast-answer: 0 8px 20px -14px rgba(24, 37, 31, .20);
  --cast-sheet: 0 18px 44px -20px rgba(24, 37, 31, .30);
  --scrim: rgba(24, 37, 31, .42);
  --tint: 24, 37, 31;
  --shade: 24, 37, 31;
  --frost-off: #fcfbf8;
  --frost-off-thin: #f1eee9;
}
/* ELDERFLOWER BY DAY: the morning (the balcony's white paint in the sun, the lilac's violet for buttons and its deeper
   violet for words, the cordial's gold for rewards), and the afternoon's own paper: the courtyard's warm light. */
html[data-look="milk"][data-palette="elderflower"] {
  --ground: #f7f6f2;
  --ground-rgb: 247, 246, 242;
  --field-min: #c3c1c9;
  --ink: #1c1a26;
  --ink-2: #34313f;
  --ink-3: #4f4b5c;
  --acc-1: #f1e9ff;
  --acc-2: #e2d3fb;
  --acc-3: #b89ae8;
  --acc-4: #9670d4;
  --acc-ink: #5a3590;
  --gauge-num: linear-gradient(var(--ink), var(--ink));
  --gauge-ink: #1c1a26;
  --on-acc: #1d0d33;
  --acc-rgb: 110, 70, 170;
  --acc-deep: rgba(60, 30, 110, .26);
  --sel-wash: color-mix(in srgb, var(--acc-3) 22%, transparent);
  --glow: rgba(150, 112, 212, .34);
  --ring-1: #c9b0f3;
  --ring-2: #a885e3;
  --ring-3: #8560c8;
  --ring-4: #5a3590;
  --rwd-1: #fdf8e0;
  --rwd-2: #f2e2a0;
  --rwd-3: #d9bd5a;
  --rwd-4: #a8892a;
  --on-rwd: #241c00;
  --rwd-glow: rgba(168, 137, 42, .38);
  --btn-1: #d8c6fa;
  --btn-2: #b494ea;
  --on-btn: #1d0d33;
  --btn-rim: rgba(255, 255, 255, .70);
  --btn-deep: rgba(60, 30, 110, .34);
  --btn-sheen: rgba(255, 255, 255, .45);
  --seg-fill: var(--acc);
  --on-seg: #1d0d33;
  --seg-glow: rgba(150, 112, 212, .34);
  --glass-fill: rgba(254, 252, 249, .84);
  --glass-strong-fill: rgba(255, 255, 255, .90);
  --glass-thin-fill: rgba(247, 246, 242, .80);
  --glass-ghost: rgba(254, 252, 249, .40);
  --rim-far: rgba(28, 26, 38, .12);
  --cast: 0 10px 30px -18px rgba(28, 26, 38, .26), 0 1px 2px rgba(28, 26, 38, .07);
  --cast-answer: 0 8px 20px -14px rgba(28, 26, 38, .20);
  --cast-sheet: 0 18px 44px -20px rgba(28, 26, 38, .30);
  --scrim: rgba(28, 26, 38, .42);
  --thumb-shadow: inset 0 1px 0 #fff, 0 2px 8px -3px rgba(28, 26, 38, .16);
  --tint: 28, 26, 38;
  --shade: 28, 26, 38;
  --frost-off: #fefcf9;
  --frost-off-strong: #ffffff;
  --frost-off-thin: #f7f6f2;
}
html[data-look="milk"][data-palette="elderflower"][data-part="afternoon"] {
  --ground: #f5f3ec;
  --ground-rgb: 245, 243, 236;
  --field-min: #c2bfb6;
  --ink: #1d1b24;
  --ink-2: #35323d;
  --ink-3: #504c59;
  --acc-ink: #57328c;
  --gauge-ink: #1d1b24;
  --btn-1: #d4c0f8;
  --btn-2: #ae8ee6;
  --on-btn: #1d0d33;
  --glass-fill: rgba(253, 252, 248, .84);
  --glass-strong-fill: rgba(255, 255, 255, .90);
  --glass-thin-fill: rgba(245, 243, 236, .80);
  --glass-ghost: rgba(253, 252, 248, .40);
  --rim-far: rgba(29, 27, 36, .12);
  --cast: 0 10px 30px -18px rgba(29, 27, 36, .26), 0 1px 2px rgba(29, 27, 36, .07);
  --cast-answer: 0 8px 20px -14px rgba(29, 27, 36, .20);
  --cast-sheet: 0 18px 44px -20px rgba(29, 27, 36, .30);
  --scrim: rgba(29, 27, 36, .42);
  --tint: 29, 27, 36;
  --shade: 29, 27, 36;
  --frost-off: #fdfcf8;
  --frost-off-thin: #f5f3ec;
}
/* BLACKOUT (THUD CUP's Field mode, CALM.md call 4): true black and Chasen's warm gold, a light the learner holds
   (frap-app.js LIGHTS, Settings › The look, the header's chip). thud.js puts html[data-watch="on"] on it, so every guard
   Field mode keeps is kept; black needs no red veil (cup.css hides it), and no picture is drawn. verify_contrast.py
   prices it as a look of its own: each calm skin's night, Field mode's inks, then these, on black, with no veil. */
html[data-calm][data-watch="on"] {
  --ground: #000000; --ground-rgb: 0, 0, 0; --field-max: #000000;
  --ink: #ece7dc; --ink-2: #d5cfc1; --ink-3: #a09a8b; --gauge-ink: #ece7dc; --wrong-ink: #f0b4a0;
  --acc-1: #f3dcb6; --acc-2: #e9c48c; --acc-3: #dcac69; --acc-4: #c9954f; --acc-ink: #e9c48c; --on-acc: #000000;
  --acc-rgb: 220, 172, 105; --acc-deep: rgba(0, 0, 0, .5); --glow: rgba(220, 172, 105, .18);
  --rwd-1: #f3dcb6; --rwd-2: #e9c48c; --rwd-3: #dcac69; --rwd-4: #c9954f; --on-rwd: #000000; --rwd-glow: rgba(220, 172, 105, .22);
  --btn-1: #e9c48c; --btn-2: #dcac69; --on-btn: #000000; --btn-rim: rgba(243, 220, 182, .45); --btn-deep: rgba(0, 0, 0, .5); --btn-sheen: rgba(255, 255, 255, .16);
  --on-seg: #000000; --seg-glow: rgba(220, 172, 105, .22); --ic-rgb: 220, 172, 105;
  --glass-fill: #141412; --glass-strong-fill: #0e0e0c; --glass-thin-fill: #141412; --glass-ghost: rgba(20, 20, 18, .6);
  --frost-off: #141412; --frost-off-strong: #0e0e0c; --frost-off-thin: #141412; --scrim: rgba(0, 0, 0, .7);
}
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --spring: linear(0, .009, .035 2.1%, .141 4.4%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1.004 83.8%, 1);
  }
}

/* ── the page ───────────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--face);
  font-size: calc(17px + 17 * var(--tz, 0px));
  line-height: 1.4;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}
body { margin: 0; min-height: 100vh; min-height: 100dvh; overflow-x: hidden; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
a { color: inherit; }
img { display: block; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
:focus { outline: none; }
/* THE RING PRICED (AUDIT/PROGRESS.md unit 41, 2026-11-30): the keyboard's ring was --acc-2, a light accent that stood
   1.0 to 1.4:1 on every palette's Milk ground (a ring asks 3, WCAG 1.4.11), so a keyboard in the light lost its place;
   every ring is --acc-ink now, the contract's own (4.5 on the field and the glasses in every register), as the newer
   rings already were, and the search field's, the typed answer's and a note's edges with it (they were --acc-3) */
:focus-visible { outline: 2px solid var(--acc-ink); outline-offset: 3px; border-radius: 10px; }
/* a heading that takes focus so a screen reader starts there is not a control: no ring */
[data-focus]:focus-visible, #h1:focus-visible, #view:focus-visible { outline: none; }
/* A FILE CHOSEN THROUGH ITS BUTTON (AUDIT/PROGRESS.md unit 39, 2026-11-30): Restore's file input sits hidden in the
   label drawn as its button, so Tab came to a pixel with no opacity and its ring was never seen; the button wears it */
label.btn:has(> input[type="file"]:focus-visible) { outline: 2px solid var(--acc-ink); outline-offset: 3px; }

/* THE FIELD: a canvas frap-glass.js paints (WebGL), behind everything: THE GROUND, the scene the hero shows, blurred
   deep and dimmed (its plate, scripts/cut_grounds.py), breathing slowly (PUNK.md call 51). Beneath it, its TWIN: the
   same plate standing still (--ground-plate, frap-glass.js twin()), a tenth nearer than the screen as the field draws
   it, and by night the field's darker corners (the shader's own fall, stop by stop). The twin is what shows without
   WebGL, with background motion off or held (Low power), and while the field's plate is coming; a page that covers the
   field (Reading's) covers its twin too. */
#field {
  position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; display: block;
  pointer-events: none; opacity: 0; transition: opacity 1.2s ease;
}
#field.on { opacity: 1; }
html::before {
  content: ""; position: fixed; z-index: -3; inset: -5%; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 23.5vmin, rgba(0, 0, 0, .052) 59vmin, rgba(0, 0, 0, .168) 94vmin,
    rgba(0, 0, 0, .255) 118vmin, rgba(0, 0, 0, .33) 141vmin), var(--ground-plate) 50% 50% / cover no-repeat;
}
html[data-look="milk"]::before { background: var(--ground-plate) 50% 50% / cover no-repeat; }
/* THE LIGHT AT THE TOP (Opal, RESEARCH.md round three): a faint wash of the accent's light over
   the top of every page, above the field and under everything on it */
body::after {
  content: ""; position: fixed; z-index: -1; left: 0; right: 0; top: 0; height: 70vh; pointer-events: none;
  background: radial-gradient(80% 60% at 50% -12%, var(--glow), transparent 72%); opacity: .42;
}

/* ── type ───────────────────────────────────────────────────────────────────────────── */
.t-large { font-size: calc(34px + 34 * var(--tz, 0px)); line-height: 1.08; font-weight: 600; letter-spacing: -.03em; }
.t-title { font-size: calc(26px + 26 * var(--tz, 0px)); line-height: 1.12; font-weight: 600; letter-spacing: -.024em; }
.t-head { font-size: calc(20px + 20 * var(--tz, 0px)); line-height: 1.22; font-weight: 600; letter-spacing: -.016em; }
.t-body { font-size: calc(17px + 17 * var(--tz, 0px)); line-height: 1.4; }
.t-call { font-size: calc(15px + 15 * var(--tz, 0px)); line-height: 1.35; }
.t-foot { font-size: calc(13px + 13 * var(--tz, 0px)); line-height: 1.35; }
.t-cap { font-size: calc(11px + 11 * var(--tz, 0px)); line-height: 1.2; font-weight: 600; letter-spacing: .01em; }
.ink-2 { color: var(--ink-2); }
.ink-3 { color: var(--ink-3); }
.accent-ink { color: var(--acc-ink); }
/* a label above a title: small capitals, tracked (Farm Minerals, Taste Labs: RESEARCH.md «Round four») */
.eyebrow { font-size: calc(11.5px + 11.5 * var(--tz, 0px)); line-height: 1.2; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--acc-ink); }

/* ── the material ───────────────────────────────────────────────────────────────────── */
.glass {
  position: relative;
  isolation: isolate;
  border-radius: var(--r, var(--r-tile));
  background-color: var(--glass-fill);
  background-image:
    var(--grain, none),
    linear-gradient(180deg, var(--glass-top) 0%, rgba(255, 255, 255, .025) 42%, rgba(255, 255, 255, 0) 100%);
  background-size: var(--grain-size, 160px 160px), 100% 100%;
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  box-shadow:
    inset 0 1px 0 var(--hi),
    inset 0 -14px 22px -18px rgba(var(--shade), calc(.55 * var(--sk))),
    var(--cast);
}
/* the edge: a gradient border, masked to a 1px ring */
.glass::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, var(--rim) 0%, var(--rim-soft) 28%, rgba(255, 255, 255, 0) 58%, var(--rim-far) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
/* the specular: a spot under the finger or the pointer; a band that drifts on [data-live] */
.glass::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(220px circle at var(--px, 50%) var(--py, 0%), var(--spot), rgba(255, 255, 255, 0) 62%);
  opacity: 0; transition: opacity .5s ease;
  mix-blend-mode: screen;
}
.glass.is-lit::after { opacity: 1; transition-duration: .15s; }
.glass[data-live]::after {
  opacity: 1;
  background:
    radial-gradient(220px circle at var(--px, 50%) var(--py, -40%), var(--spot), rgba(255, 255, 255, 0) 62%),
    linear-gradient(112deg, rgba(255, 255, 255, 0) 42%, var(--sheen) 50%, rgba(255, 255, 255, 0) 58%);
  background-size: 100% 100%, 320% 100%;
  background-position: 0 0, 130% 0;
  animation: sheen-drift 9s ease-in-out infinite;
}
@keyframes sheen-drift {
  0%, 12% { background-position: 0 0, 130% 0; }
  62%, 100% { background-position: 0 0, -40% 0; }
}
.glass > * { position: relative; z-index: 2; }
/* a label for a screen reader alone stays out of the layout on glass too (2026-11-25): lifted with the rest, it stood in
   the row with the chip's gap before it, and the clock's round chip was drawn 51 px wide beside its 44 px neighbours */
.glass > .sr { position: absolute; }
.glass--strong { background-color: var(--glass-strong-fill); --glass-blur: 36px; }
.glass--thin { background-color: var(--glass-thin-fill); --glass-blur: 22px; }
/* BRUSHED STEEL (the owner, 2026-11-18: «Or brushed steel under text surfaces. Perhaps as an option. Cyberpunk's looks
   good»): Settings › The look › Surfaces (frap-app.js setSurface). Cyberpunk's smoked steel with its fine brushed hairlines
   (Firefly Image 4, cut 2026-11-12 as that skin's buttons' plate; art/steel/) laid as the grain of every card, button
   and answer in any skin: its light alone by night, its shade alone by day, so an ink is priced on each of its colours
   (verify_contrast.py STEEL). Never in Field mode or under Low power. Frosted glass, the default, lays nothing. */
html[data-surface="steel"]:not([data-watch="on"]):not([data-low="on"]) { --grain: url("art/steel/night.webp"); --grain-size: 256px 256px; }
html[data-surface="steel"]:not([data-watch="on"]):not([data-low="on"])[data-look="milk"] { --grain: url("art/steel/day.webp"); }
/* NO FROST (html.no-frost, set by frap-app.js where the browser has no backdrop-filter): an
   opaque warm fill, the same edge and light. Nothing behind a glass shows through, so nothing
   behind it may be needed to read it. */
html.no-frost .glass, html.no-frost .opt-btn, html.no-frost #card .prompt-box { background-color: var(--frost-off) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html.no-frost .glass--strong, html.no-frost #grammar-note.revealed { background-color: var(--frost-off-strong) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html.no-frost .glass--thin { background-color: var(--frost-off-thin) !important; }


/* THE PAINTED ICONS SIT UNDER GLASS: a bezel with the material's edge, and a sheen that crosses
   once as the icon comes on screen (.in is added when it does). */
.art {
  position: relative; flex: none; display: block; overflow: hidden;
  width: var(--s, 88px); height: var(--s, 88px);
  border-radius: 23.5%;
  box-shadow: 0 10px 24px -8px rgba(var(--shade), calc(.65 * var(--sk))), 0 0 0 1px rgba(var(--tint), .08);
}
.art img { width: 100%; height: 100%; object-fit: cover; }
.art::before {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .08) 34%, rgba(255, 255, 255, 0) 62%, rgba(255, 255, 255, .18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.art::after {
  content: ""; position: absolute; inset: -20% -60%; z-index: 1; pointer-events: none;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0) 44%, rgba(255, 255, 255, .42) 50%, rgba(255, 255, 255, 0) 56%);
  transform: translateX(-70%);
}
.art.in::after { animation: art-sheen 1.15s var(--ease-out) .12s both; }
@keyframes art-sheen { from { transform: translateX(-70%); } to { transform: translateX(70%); } }

/* ── icons: one language, a 24-box, a 1.7 stroke ───────────────────────────────────── */
.i { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.i--s { width: 18px; height: 18px; }

/* ── the button set ─────────────────────────────────────────────────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 8px 24px; border: 0; border-radius: 999px; text-align: center; text-wrap: balance;
  font-size: calc(17px + 17 * var(--tz, 0px)); font-weight: 650; letter-spacing: -.01em; line-height: 1.15; text-decoration: none;
  cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation;
  transition: transform var(--t-slow) var(--spring), filter var(--t) ease, opacity var(--t) ease;
}
.btn:active { transform: scale(.965); transition-duration: .09s; transition-timing-function: ease-out; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .42; pointer-events: none; }
.btn--block { display: flex; width: 100%; }
/* PRIMARY: the palette's capsule (Opal and Graphite: white on the dark, black on Milk; Rose gold:
   the rose gold), its own ink, a specular top rim, a halo of the accent's light. One per screen. */
.btn--primary {
  min-height: 56px; color: var(--on-btn);
  background: var(--btn-fill);
  box-shadow:
    inset 0 1px 0 var(--btn-rim),
    inset 0 -10px 16px -10px var(--btn-deep),
    0 14px 30px -12px var(--glow),
    0 2px 5px rgba(var(--shade), calc(.3 * var(--sk)));
  overflow: hidden;
}
/* the light that crosses it, once as the screen comes (2026-11-25, the owner: «Hoping for a premium looking aesthetic and
   feel»): crossing every five seconds without end it was a shop's banner, asking while a learner read */
.btn--primary::after {
  content: ""; position: absolute; inset: 0 -60%; pointer-events: none;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0) 44%, var(--btn-sheen) 50%, rgba(255, 255, 255, 0) 56%);
  transform: translateX(-75%); animation: btn-sheen 5.2s var(--ease-out) 1.2s 1;
}
@keyframes btn-sheen { 0% { transform: translateX(-75%); } 26%, 100% { transform: translateX(75%); } }
.btn--primary > * { position: relative; z-index: 1; }
/* GLASS: secondary */
.btn--glass { color: var(--ink); --r: 999px; }
/* QUIET: text only, a 44px target */
.btn--quiet { min-height: 44px; padding: 0 14px; font-weight: 600; color: var(--ink-2); background: none; }
/* ROUND: a 44px glass circle, one icon */
.btn--round { width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0; --r: 50%; color: var(--ink); }
.btn--s { min-height: 40px; padding: 0 16px; font-size: calc(15px + 15 * var(--tz, 0px)); }
@media (hover: hover) {
  .btn--primary:hover { filter: brightness(1.06) saturate(1.05); }
  .btn--quiet:hover { color: var(--ink); }
}

/* ── segmented control ──────────────────────────────────────────────────────────────── */
.seg {
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0;
  padding: 3px; border-radius: 999px; --r: 999px;
}
.seg__opt {
  position: relative; z-index: 3; min-height: 38px; padding: 0 8px; border: 0; border-radius: 999px; background: none;
  font-size: calc(14px + 14 * var(--tz, 0px)); font-weight: 600; letter-spacing: -.005em; line-height: 1.2; color: var(--ink-2); cursor: pointer;
  transition: color var(--t) ease;
}
.seg__opt[aria-checked="true"], .seg__opt[aria-pressed="true"] { color: var(--on-seg); }
.seg__thumb {
  position: absolute !important; z-index: 2 !important; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / var(--n, 2));
  border-radius: 999px; background: var(--seg-fill);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 4px 12px -4px var(--seg-glow);
  transform: translateX(calc(var(--at, 0) * 100%));
  transition: transform var(--t-slow) var(--spring);
}

/* ── switch ─────────────────────────────────────────────────────────────────────────── */
.switch {
  position: relative; flex: none; width: 52px; height: 32px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(var(--tint), .16);
  box-shadow: inset 0 1px 2px rgba(var(--shade), calc(.45 * var(--sk))), inset 0 0 0 1px rgba(var(--tint), .08);
  transition: background var(--t) ease;
}
.switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(180deg, #fff, #e9e1db);
  box-shadow: 0 2px 6px rgba(var(--shade), calc(.45 * var(--sk))), inset 0 1px 0 #fff;
  transition: transform var(--t-slow) var(--spring), width var(--t-fast) ease;
}
.switch:active::after { width: 31px; }
/* targets of 44px where the drawing is smaller (a switch, a segment, the level chip): the hit area
   reaches past the shape, the shape stays as drawn */
.switch::before { content: ""; position: absolute; inset: -6px -4px; }
.seg__opt::before { content: ""; position: absolute; inset: -4px 0; }
.top .chip { min-height: 44px; padding: 0 15px; font-size: calc(14px + 14 * var(--tz, 0px)); }
.switch[aria-checked="true"] { background: var(--acc); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -6px 10px -6px var(--acc-deep); }
.switch[aria-checked="true"]::after { transform: translateX(20px); }
.switch[aria-checked="true"]:active::after { transform: translateX(15px); }

/* ── slider ─────────────────────────────────────────────────────────────────────────── */
.slider { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; margin: 0; background: none; cursor: pointer; }
.slider::-webkit-slider-runnable-track {
  height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, var(--acc-2) 0, var(--acc-3) var(--fill, 50%), rgba(255, 255, 255, .16) var(--fill, 50%));
  box-shadow: inset 0 1px 2px rgba(var(--shade), calc(.4 * var(--sk)));
}
.slider::-moz-range-track { height: 6px; border-radius: 999px; background: rgba(var(--tint), .16); }
.slider::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--acc-3); }
.slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; border: 0;
  background: linear-gradient(180deg, #fff, #e9e1db); box-shadow: 0 3px 8px rgba(var(--shade), calc(.5 * var(--sk))), inset 0 1px 0 #fff;
}
.slider::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; border: 0; background: linear-gradient(180deg, #fff, #e9e1db); box-shadow: 0 3px 8px rgba(var(--shade), calc(.5 * var(--sk))); }

/* ── the ring ───────────────────────────────────────────────────────────────────────── */
.ring { position: relative; flex: none; display: grid; place-items: center; width: var(--s, 44px); height: var(--s, 44px); }
.ring > svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring__track { fill: none; stroke: rgba(var(--tint), .13); }
.ring__bar { fill: none; stroke: url(#acc-stroke); stroke-linecap: round; transition: stroke-dashoffset 1.1s var(--ease-out); }
.ring__in { position: relative; z-index: 1; display: grid; place-items: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.ring--done .ring__track { stroke: rgba(var(--acc-rgb), .28); }
/* the ring's gradient is the sprite's #acc-stroke (frap-app.js); its stops are painted here, on the tokens */
#acc-stroke .s1 { stop-color: var(--ring-1); } #acc-stroke .s2 { stop-color: var(--ring-2); } #acc-stroke .s3 { stop-color: var(--ring-3); } #acc-stroke .s4 { stop-color: var(--ring-4); }
#rwd-stroke .s1 { stop-color: var(--rwd-1); } #rwd-stroke .s2 { stop-color: var(--rwd-2); } #rwd-stroke .s3 { stop-color: var(--rwd-3); } #rwd-stroke .s4 { stop-color: var(--rwd-4); }
/* a ring completed is the reward's (a section met, a perfect round) */
.ring--done .ring__bar { stroke: url(#rwd-stroke); }
/* A GAUGE (Opal): the open arc of a score (frap-drill.css, .fr-arc) or a count (.rv) glows in the
   accent's light, and its number is the accent's gradient where the dark lets it read
   (--gauge-num; its darkest stop is --gauge-ink, which the contract prices on the field), a
   solid ink on Milk and in Rose gold */
.ring--now { animation: ring-breathe 2.4s ease-in-out 1; }
@keyframes ring-breathe { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.09); } }
/* an open arc, for a score (270 degrees, the gap at the bottom) */
.ring--arc > svg { transform: rotate(135deg); }

/* ── chips, rows, groups ────────────────────────────────────────────────────────────── */
/* AN OUTLINED PILL (Opal): glass inside, its edge a 1px line in the accent's gradient. The edge is
   the material's own ::before, recoloured. */
.glass.chip--line::before { background: var(--acc); opacity: .9; }
.chip--line .i { color: var(--acc-ink); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border-radius: 999px; --r: 999px;
  font-size: calc(13px + 13 * var(--tz, 0px)); font-weight: 650; color: var(--ink-2); text-decoration: none; white-space: nowrap;
}
.group { --r: var(--r-tile); overflow: hidden; }
.row {
  position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 10px 16px;
  border: 0; background: none; text-align: left; text-decoration: none; color: inherit; cursor: pointer;
}
.row + .row::before { content: ""; position: absolute; left: 16px; right: 0; top: 0; height: 1px; background: var(--line); }
.row__main { flex: 1; min-width: 0; }
.row__title { display: block; font-size: calc(17px + 17 * var(--tz, 0px)); font-weight: 550; letter-spacing: -.01em; }
.row__sub { display: block; margin-top: 1px; font-size: calc(13px + 13 * var(--tz, 0px)); color: var(--ink-3); }
.row__said { display: block; margin-top: 4px; }   /* Settings › Words a day: the offer answered, one quiet line */
.row__val { flex: none; font-size: calc(15px + 15 * var(--tz, 0px)); color: var(--ink-3); }
.row .i--chev { width: 16px; height: 16px; color: var(--ink-3); }
@media (hover: hover) { .row:hover { background: rgba(var(--tint), .04); } }
.row:active { background: rgba(var(--tint), .07); }

/* ── sheets ─────────────────────────────────────────────────────────────────────────── */
.scrim {
  position: fixed; inset: 0; z-index: 60; background: var(--scrim);
  opacity: 0; transition: opacity var(--t) ease; pointer-events: none;
}
.scrim.on { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; margin: 0 auto; max-width: 560px;
  max-height: calc(100dvh - var(--sat) - 28px); display: flex; flex-direction: column;
  --r: var(--r-sheet); border-radius: var(--r-sheet) var(--r-sheet) 0 0;
  padding-bottom: var(--sab);
  transform: translateY(105%); transition: transform var(--t-slow) var(--spring);
  will-change: transform;
}
.sheet.on { transform: translateY(0); }
.sheet.dragging { transition: none; }
.sheet__grab { flex: none; display: grid; place-items: center; height: 26px; cursor: grab; touch-action: none; }
.sheet__grab::after { content: ""; width: 38px; height: 5px; border-radius: 999px; background: rgba(var(--tint), .28); }
.sheet__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 2px var(--gutter) 18px; }
.sheet__foot { flex: none; padding: 12px var(--gutter) 14px; }
/* a group of rows inside a sheet (both documents' sheets: the round's options, Find, Restore) */
.group--in { margin-top: 16px; border-radius: var(--r-row); background: rgba(var(--tint), .055); box-shadow: inset 0 0 0 1px rgba(var(--tint), .07); overflow: hidden; }
.group--in + .group--in { margin-top: 12px; }

/* ── the tab bar ────────────────────────────────────────────────────────────────────── */
.tabbar {
  position: fixed; z-index: 40; left: 50%; bottom: calc(max(var(--sab), 10px) + 6px);
  transform: translateX(-50%);
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: min(380px, calc(100% - 32px)); height: var(--tabbar-h);
  padding: 5px; --r: 999px; border-radius: 999px;
  transition: transform var(--t-slow) var(--spring), opacity var(--t) ease;
}
.tabbar.away { transform: translate(-50%, 140%); opacity: 0; pointer-events: none; }
/* the bar floats over text that scrolls under it: strong glass, so a row's words never read through */
.tabbar.glass { background-color: var(--glass-strong-fill); --glass-blur: 36px; }
.tab {
  position: relative; z-index: 3; display: grid; place-items: center; align-content: center; gap: 2px;
  border: 0; border-radius: 999px; background: none; color: var(--ink-3); text-decoration: none; cursor: pointer;
  font-size: 10.5px; font-weight: 650; letter-spacing: .01em;
  transition: color var(--t) ease, transform var(--t-slow) var(--spring);
}
.tab:active { transform: scale(.93); }
.tab[aria-current="page"] { color: var(--ink); }
.tab .i { width: 23px; height: 23px; }
/* A SKIN'S KIT (punk-kit.js, 2026-11-26; the owner, of THUD THINKER's: «The icons … are amazing»): where the skin worn has
   its things, a way in wears its painting and its sign stands down; Field mode and Low power give the sign back, as they
   put the day's doors' pictures away. The painting is the sign's twin: the label under it is what is read */
.kit { display: block; flex: none; width: 29px; height: 29px; border-radius: 26%; object-fit: cover; pointer-events: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .45), 0 0 0 1px rgba(var(--tint), .14); opacity: .8;
  transition: opacity var(--t) ease, transform var(--t-slow) var(--spring); }
.has-kit > .i { display: none; }
[aria-current="page"] > .kit, .tab:hover > .kit, .side__row:hover > .kit { opacity: 1; }
.tab[aria-current="page"] > .kit { transform: translateY(-1px) scale(1.06); }
html:is([data-watch="on"], [data-low="on"]) .kit { display: none; }
html:is([data-watch="on"], [data-low="on"]) .has-kit > .i { display: block; }
@media (min-width: 960px) { .tab > .kit { width: 32px; height: 32px; } }
@media (min-width: 1100px) { .tab > .kit, .side__row > .kit { width: calc(26px + 6 * var(--sv, 0px)); height: calc(26px + 6 * var(--sv, 0px)); border-radius: 28%; } .tab[aria-current="page"] > .kit { transform: none; } }
.tab__badge {
  position: absolute; top: 3px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  display: grid; place-items: center; font-size: calc(11px + 11 * var(--tz, 0px)); font-weight: 700; color: var(--on-acc); background: var(--acc);
  box-shadow: 0 2px 6px rgba(var(--shade), calc(.4 * var(--sk))), inset 0 1px 0 rgba(255, 255, 255, .7);
}
.tabbar__thumb {
  position: absolute !important; z-index: 2 !important; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / var(--n, 4));
  border-radius: 999px; background: var(--thumb);
  box-shadow: var(--thumb-shadow);
  transform: translateX(calc(var(--at, 0) * 100%));
  transition: transform var(--t-slow) var(--spring);
}
/* the selection slides, and stretches as it goes */
.tabbar__thumb.go { animation: thumb-stretch .52s var(--ease-out); }
@keyframes thumb-stretch { 32% { scale: 1.24 .86; } 70% { scale: .97 1.03; } }

/* THE PAGE'S EDGE UNDER THE BAR (2026-11-25, the owner: «Hoping for a premium looking aesthetic and feel»): what scrolls
   under the floating bar thins into the ground before it, as a phone's own bars do, so no line stands cut off beside the
   bar or the close key. A phone's and a tablet's alone (a desk's bar is its sidebar); never while a calm skin's curtains
   hang (cup.css draws them on this same layer, html[data-arrive]) */
@media (max-width: 1099px) {
  html:not([data-arrive]) body:has(#tabbar:not(.away))::before {
    content: ""; position: fixed; left: 0; right: 0; bottom: 0; z-index: 39; pointer-events: none;
    height: calc(var(--tabbar-h) + max(var(--sab), 10px) + 46px);
    background: linear-gradient(180deg, rgba(var(--ground-rgb), 0), rgba(var(--ground-rgb), .72) 55%, rgba(var(--ground-rgb), .86));
  }
}
/* NO WORD ALONE ON A LINE (2026-11-25): a heading breaks into even lines («Twelve ways through the / words» at 428 px), a
   paragraph's last line is never one short word; where the browser cannot, it wraps as before. Every card's title too
   (the Grammar's «0 of 363 lessons · 0 of / 39 units» broke inside its second count) */
:is(h1, h2, h3, .caps, .t-title, .t-head, .stop__title, .def-door__name, .def-plan b, [class*="__title"]) { text-wrap: balance; }
:is(p, .t-sub, .stop__blurb, .def-hero__meta) { text-wrap: pretty; }

/* ── arrivals: children come in one after another ──────────────────────────────────── */
.rise > * { animation: rise .7s var(--ease-out) both; animation-delay: calc(min(var(--i, 0), 14) * 50ms + 40ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }

/* ══ THE SHELL'S SCREENS ══════════════════════════════════════════════════════════════════ */
#view {
  max-width: 560px; margin: 0 auto; min-height: 100dvh;
  padding: calc(var(--sat) + 14px) calc(var(--gutter) + var(--sar)) calc(var(--tabbar-h) + max(var(--sab), 10px) + 44px) calc(var(--gutter) + var(--sal));
}
#view:focus { outline: none; }

/* the top line: the painted mark and the name, and what is on the right */
/* a top bar breaks into a second row before it pushes its keys off the screen (a calm skin's «Grammar» at 320 px, the
   text at 200%: AUDIT unit 55); a place's keys keep to the right there, under its name */
.top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-height: 44px; margin-bottom: 18px; }
.top--place { justify-content: flex-end; }
.top__name { flex: 1; min-width: 0; font-size: calc(20px + 20 * var(--tz, 0px)); font-weight: 700; letter-spacing: -.015em; }
.top__back { margin-left: -6px; }
.top__title { flex: 1; min-width: 0; text-align: center; font-size: calc(17px + 17 * var(--tz, 0px)); font-weight: 650; opacity: 0; transform: translateY(6px); transition: opacity var(--t) ease, transform var(--t) var(--ease-out); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top--stuck .top__title { opacity: 1; transform: none; }
.top--bar { position: sticky; top: 0; z-index: 20; margin: calc(-1 * (var(--sat) + 14px)) calc(-1 * var(--gutter)) 6px; padding: calc(var(--sat) + 10px) var(--gutter) 10px; }
/* THE BAR IS THE GROUND ITSELF once the title has gone under it: a solid colour on the bar (which
   Safari carries on up under the clock) and a short fade below it. No blur: a blur behind a
   mask is not drawn in Safari, and what scrolled under the clock stayed readable there. */
.top--bar { background-color: rgba(var(--ground-rgb), 0); transition: background-color var(--t) ease; }
.top--stuck.top--bar { background-color: var(--ground); }
.top--bar::before {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 26px; pointer-events: none; opacity: 0; transition: opacity var(--t) ease;
  background: linear-gradient(180deg, rgba(var(--ground-rgb), 1), rgba(var(--ground-rgb), 0));
}
.top--stuck.top--bar::before { opacity: 1; }
.top__spacer { width: 44px; flex: none; }

.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 30px 2px 12px; }
.sec-head .t-foot { color: var(--ink-2); }

/* ── Learn: the hero ─────────────────────────────────────────────────────────────────── */
.hero {
  --r: var(--r-card); display: block; padding: 18px; text-decoration: none; color: inherit; cursor: pointer;
  transition: transform var(--t-slow) var(--spring);
}
.hero:active { transform: scale(.985); transition-duration: .1s; transition-timing-function: ease-out; }
.hero__meta { display: block; margin-top: 5px; font-size: calc(14px + 14 * var(--tz, 0px)); line-height: 1.3; color: var(--ink-2); overflow-wrap: break-word; }   /* whole, on as many lines as it takes: two cut Review's with the text at 200% (AUDIT unit 55) */
.hero .btn { margin-top: 16px; }
.hero .ring__in { display: block; font-size: calc(14px + 14 * var(--tz, 0px)); color: var(--ink-2); white-space: nowrap; }
.hero .ring__in small { font-size: 10px; margin-left: 1px; }


@media (hover: hover) { .hero:hover { transform: translateY(-2px); } }

/* ── Find (frap.js): a magnifier in Learn's header (a desk's sidebar has its own), and a sheet of a fixed height that
   does not jump as the results change. The field is the sheet's own; 17px, so a phone does not zoom into it. ── */
.sheet--find { height: min(86dvh, 720px); }
.find { padding-top: 4px; }
.find__field {
  --r: 999px; position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 8px 0 16px;
  border-radius: 999px; margin-bottom: 4px;
  /* inside the sheet's own glass: a wash, as the sheet's groups are (a frost in a frost does not see through) */
  background: rgba(var(--tint), .08); box-shadow: inset 0 0 0 1px rgba(var(--tint), .1);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.find__field > .i { flex: none; width: 19px; height: 19px; color: var(--ink-2); }
.find__field input {
  flex: 1; min-width: 0; height: 50px; border: 0; outline: 0; background: none; color: var(--ink); font: inherit; font-size: calc(17px + 17 * var(--tz, 0px));
  -webkit-appearance: none; appearance: none;
}
.find__field input::placeholder { color: var(--ink-3); }
.find__field input::-webkit-search-cancel-button, .find__field input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.find__field:focus-within { box-shadow: inset 0 0 0 1.5px var(--acc-ink), var(--cast); }
.find__clear { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(var(--tint), .1); color: var(--ink-2); cursor: pointer; }
.find__clear .i { width: 15px; height: 15px; }
.find__clear[hidden] { display: none; }
.find__hint { margin: 18px 4px 0; font-size: calc(15px + 15 * var(--tz, 0px)); line-height: 1.45; color: var(--ink-2); }
.find__hint b { color: var(--ink); font-weight: 650; }
.find__group .row { min-height: 60px; }
.find__rh { display: flex; align-items: center; justify-content: space-between; }
.find__clr { min-height: 32px; padding: 0 4px; font-size: calc(13px + 13 * var(--tz, 0px)); font-weight: 650; color: var(--acc-ink); }
.find__rrow { position: relative; display: flex; align-items: center; }
.find__rrow + .find__rrow::before { content: ""; position: absolute; left: 46px; right: 0; top: 0; height: 1px; background: var(--line); }
.find__rrow .row { min-height: 48px; padding-right: 4px; }
.find__rrow .row .i { color: var(--ink-3); }
.find__rrow .row__title { font-size: calc(16px + 16 * var(--tz, 0px)); }
.find__x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; color: var(--ink-3); }
.find__x .i { width: 15px; height: 15px; }
.find__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.find__chips .chip { min-height: 38px; padding: 0 14px; color: var(--ink); font-size: calc(14px + 14 * var(--tz, 0px)); }
@media (hover: hover) { .find__chips .chip:hover, .find__x:hover { filter: brightness(1.15); } }
.find__row .art { flex: none; }
.find__row .row__title b { font-weight: 750; color: var(--acc-ink); }
.find__row .row__sub .accent-ink { color: var(--acc-ink); }

/* ── THE DICTIONARY (2026-10-06, frap-dict.js): a word in Find. Its rows stand in the sheet's own
   glass, as Find's do: --ink for the word, --ink-2 for what it means, --ink-3 nowhere a learner
   must read. The level is a tag, not a light: a wash and the second ink. ───────────────────── */
.find__word .row__title { font-size: calc(18px + 18 * var(--tz, 0px)); font-weight: 650; }
.find__word .row__sub { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: calc(14px + 14 * var(--tz, 0px)); line-height: 1.32; color: var(--ink-2); }
.find__lv { flex: none; min-width: 34px; padding: 4px 9px; border-radius: 999px; font-size: calc(12px + 12 * var(--tz, 0px)); line-height: 1.2; font-weight: 700; letter-spacing: .03em; text-align: center; color: var(--ink-2); background: rgba(var(--tint), .09); box-shadow: inset 0 0 0 1px rgba(var(--tint), .07); }
.find__lv--in { font-weight: 650; letter-spacing: 0; }
.find__all { display: block; min-height: 44px; margin-top: 2px; padding: 0 6px; font-size: calc(14px + 14 * var(--tz, 0px)); font-weight: 650; color: var(--acc-ink); }
.find__all[hidden] { display: none; }
.find__wait { margin: 12px 4px 0; font-size: calc(14px + 14 * var(--tz, 0px)); line-height: 1.4; color: var(--ink-2); }
.word { padding-top: 8px; }
.word__back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin-left: -4px; padding: 0 12px 0 2px; font-size: calc(15px + 15 * var(--tz, 0px)); font-weight: 650; color: var(--acc-ink); }
.word__back .i { width: 18px; height: 18px; }
.word__head { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.word__uk { flex: 1; min-width: 0; font-size: calc(34px + 34 * var(--tz, 0px)); line-height: 1.14; font-weight: 650; letter-spacing: -.015em; overflow-wrap: anywhere; outline: 0; }
.word__en { margin-top: 8px; font-size: calc(17px + 17 * var(--tz, 0px)); line-height: 1.4; color: var(--ink); }
.word__meta { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: calc(13px + 13 * var(--tz, 0px)); color: var(--ink-2); }
.word__card { margin-top: 16px; padding: 14px 16px 16px; border-radius: var(--r-row); background: rgba(var(--tint), .055); box-shadow: inset 0 0 0 1px rgba(var(--tint), .07); }
/* no capitals here: a topic's name may hold a Ukrainian word («I · я · 1–40»), and «я» is not «Я» */
.word__at { font-size: calc(13px + 13 * var(--tz, 0px)); line-height: 1.3; font-weight: 650; color: var(--ink-2); }
.word__own { margin-top: 8px; font-size: calc(16px + 16 * var(--tz, 0px)); line-height: 1.4; font-weight: 600; color: var(--ink); }
.word__lemma { margin-top: 6px; font-size: calc(14px + 14 * var(--tz, 0px)); line-height: 1.4; color: var(--ink-2); }
.word__col { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.word__col span { padding: 4px 10px; border-radius: 999px; font-size: calc(14px + 14 * var(--tz, 0px)); color: var(--ink); background: rgba(var(--tint), .07); }
.word__ex { margin-top: 12px; font-size: calc(18px + 18 * var(--tz, 0px)); line-height: 1.4; font-weight: 550; color: var(--ink); }
.word__exen { margin-top: 3px; font-size: calc(15px + 15 * var(--tz, 0px)); line-height: 1.4; color: var(--ink-2); }
.word__note { margin-top: 12px; font-size: calc(15px + 15 * var(--tz, 0px)); line-height: 1.45; color: var(--ink-2); }
.word__note em { font-style: normal; font-weight: 650; color: var(--ink); }
.word__lv { margin-top: 12px; font-size: calc(13px + 13 * var(--tz, 0px)); line-height: 1.4; font-weight: 600; color: var(--ink-2); }
.word__wait { margin-top: 6px; font-size: calc(14px + 14 * var(--tz, 0px)); line-height: 1.4; color: var(--ink-2); }
.word__card > :first-child { margin-top: 0; }
.word__go { margin-top: 16px; }
.word__places .topic { min-height: 58px; }
.word__places .topic[hidden] { display: none; }
.word__places .topic + .topic::before { left: 56px; }
/* the speaker, where the shell says a word aloud (Your words, the dictionary, the Record's words that fight back:
   there it stood bare, a 24 px target, until 2026-11-14): the drill's own button */
.wrow .fr-q__say, .word .fr-q__say, .fight .fr-q__say { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--acc-ink); background: rgba(var(--tint), .08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); transition: transform var(--t-slow) var(--spring); }
.wrow .fr-q__say:active, .word .fr-q__say:active, .fight .fr-q__say:active { transform: scale(.88); }
.wrow .fr-q__say .i, .word .fr-q__say .i, .fight .fr-q__say .i { width: 18px; height: 18px; }

/* ── install (frap-screens.js installSheet): a Home Screen, the painted icon on it, three steps ── */
.inst__pic { display: grid; place-items: center; margin: 8px 0 0; }
.inst__grid {
  display: grid; grid-template-columns: repeat(4, 54px); gap: 14px 16px; padding: 18px 20px 16px; border-radius: 26px;
  background: linear-gradient(160deg, rgba(var(--acc-rgb), .28), rgba(var(--tint), .05) 60%), rgba(var(--tint), .06);
  box-shadow: inset 0 0 0 1px rgba(var(--tint), .1);
}
.inst__grid i { width: 54px; height: 54px; border-radius: 13px; background: rgba(var(--tint), .12); }
.inst__app { display: grid; justify-items: center; gap: 4px; margin-bottom: -16px; animation: inst-pop 1s var(--spring) .3s both; }
.inst__app img { width: 54px; height: 54px; border-radius: 13px; box-shadow: 0 6px 16px -6px rgba(var(--shade), calc(.6 * var(--sk))); }
.inst__app span { font-size: calc(11px + 11 * var(--tz, 0px)); font-weight: 600; color: var(--ink-2); }
@keyframes inst-pop { from { transform: scale(.4); opacity: 0; } }
.inst__steps { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: inst; display: grid; gap: 10px; }
.inst__steps li { counter-increment: inst; display: flex; align-items: center; gap: 12px; font-size: calc(15px + 15 * var(--tz, 0px)); line-height: 1.4; color: var(--ink-2); }
.inst__steps li b { color: var(--ink); font-weight: 650; }
.inst__steps li::before {
  content: counter(inst); flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  font-size: calc(14px + 14 * var(--tz, 0px)); font-weight: 700; color: var(--ink); background: rgba(var(--tint), .1); box-shadow: inset 0 0 0 1px rgba(var(--tint), .12);
}
.inst__glyph { display: inline-grid; vertical-align: -4px; }
.inst__glyph .i { width: 18px; height: 18px; color: var(--acc-ink); }

/* ── the keys sheet (frap-app.js keysSheet) ── */
.keyrow { min-height: 48px; cursor: default; }
.keyrow .row__title { font-size: calc(15px + 15 * var(--tz, 0px)); }
.keyrow__k { flex: none; display: flex; align-items: center; gap: 6px; }
.keyrow__or { font-size: calc(12px + 12 * var(--tz, 0px)); color: var(--ink-3); }
.key {
  display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 8px;
  font: inherit; font-size: calc(13px + 13 * var(--tz, 0px)); font-weight: 650; color: var(--ink); white-space: nowrap;
  background: rgba(var(--tint), .09); box-shadow: inset 0 -1.5px 0 rgba(var(--shade), calc(.35 * var(--sk))), inset 0 0 0 1px rgba(var(--tint), .12);
}

/* ── the level picker (the briefing and the level sheet) ─────────────────────────────────────────────────────────────────────── */
.levels { display: grid; gap: 10px; margin-top: 22px; }
.lv__same { margin-top: 8px; }                                   /* the strategies the level never touches (LEVELS.md box 6) */
.lv {
  --r: var(--r-row); display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 10px 16px; border: 0; text-align: left; cursor: pointer; color: var(--ink);
  transition: transform var(--t-slow) var(--spring);
}
.lv:active { transform: scale(.98); transition-duration: .1s; }
.lv__bars { flex: none; display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.lv__bars i { width: 4px; border-radius: 2px; background: rgba(var(--tint), .2); }
.lv__bars i.on { background: var(--acc-2); }
.lv__main { flex: 1; min-width: 0; }
.lv b { display: block; font-size: calc(17px + 17 * var(--tz, 0px)); font-weight: 650; letter-spacing: -.01em; }
.lv span.h { display: block; font-size: calc(13px + 13 * var(--tz, 0px)); color: var(--ink-3); }
.lv__code { flex: none; font-size: calc(13px + 13 * var(--tz, 0px)); font-weight: 700; color: var(--ink-3); }
/* the level chosen reads at a glance (2026-10-02; Vibecode's and Nibble's onboarding, RESEARCH.md):
   the accent's wash and edge, and the same disc the section sheet's topics fill with a check */
.lv[aria-checked="true"] { box-shadow: inset 0 0 0 1.5px var(--acc-3), inset 0 0 0 999px var(--sel-wash), inset 0 1px 0 rgba(255, 255, 255, .2), var(--cast); }
.lv[aria-checked="true"] .lv__code { color: var(--acc-ink); }
.lv .topic__pick { margin-left: -4px; }

/* ── a strategy's page ───────────────────────────────────────────────────────────────── */
.phead { display: flex; align-items: center; gap: 16px; margin: 6px 0 14px; }
.phead .art { --s: 92px; }
.phead__main { flex: 1; min-width: 0; }
.phead h1 { font-size: calc(30px + 30 * var(--tz, 0px)); line-height: 1.08; font-weight: 700; letter-spacing: -.022em; overflow-wrap: anywhere; }
.phead__prog { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: calc(13px + 13 * var(--tz, 0px)); font-weight: 600; color: var(--ink-2); }
.lede { font-size: calc(15px + 15 * var(--tz, 0px)); line-height: 1.45; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.lede.open { -webkit-line-clamp: unset; }
.lede--why { margin-top: 8px; font-size: calc(14px + 14 * var(--tz, 0px)); }
/* THE MEASURE (2026-11-28, the owner: «You are confident issues with sizing and fonts … are solved?»): prose is read in
   lines of about seventy letters; on a desk the page beside the sidebar is a thousand pixels wide and the Grammar's
   paragraphs ran to 150 a line, so prose stops at 33em, seventy to eighty letters in every skin's face (a ch is the
   figure 0, wider than the letters: 64ch let ninety through). A phone's column is narrower: nothing changes there */
.lede, .order__lines dd, .order__more p, .order__peek, p.t-foot, .row__sub, .bk-tz__sub, .def-rail__line { max-width: 33em; }
.lvnote { margin-top: 12px; font-size: calc(13px + 13 * var(--tz, 0px)); color: var(--ink-2); }
.lvnote button { min-height: 44px; padding: 0 6px; border: 0; background: none; font-weight: 650; color: var(--acc-ink); cursor: pointer; }
.jump { display: flex; gap: 8px; margin: 16px calc(-1 * var(--gutter)) 0; padding: 4px var(--gutter); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.jump::-webkit-scrollbar { display: none; }
.jump .chip { min-height: 38px; padding: 0 15px; flex: none; border: 0; cursor: pointer; color: var(--ink); }
.gh { margin: 28px 2px 12px; font-size: calc(20px + 20 * var(--tz, 0px)); line-height: 1.25; font-weight: 650; letter-spacing: -.012em; scroll-margin-top: calc(var(--sat) + 72px); }

/* a route: a rail of ringed stops, a glass card beside each */
.route { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.stop { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: stretch; }
.stop__rail { position: relative; display: grid; justify-items: center; align-content: center; }
.stop__rail::before { content: ""; position: absolute; left: 50%; top: -10px; bottom: 0; width: 2px; margin-left: -1px; background: rgba(var(--tint), .12); z-index: 0; }
.stop:first-child .stop__rail::before { top: 50%; }
.stop:last-child .stop__rail::before { bottom: 50%; }
.stop--done .stop__rail::before, .stop--going .stop__rail::before { background: linear-gradient(180deg, var(--acc-3), var(--acc-4)); }
.stop--going .stop__rail::before { background: linear-gradient(180deg, var(--acc-3) 0, var(--acc-3) 50%, rgba(var(--tint), .12) 50%); }
.stop .ring { z-index: 1; background: var(--ground); border-radius: 50%; }
.stop .ring__in { font-size: calc(15px + 15 * var(--tz, 0px)); color: var(--ink-2); }
.stop--next .ring__in, .stop--going .ring__in { color: var(--ink); }
.stop--done .ring__in { color: var(--acc-ink); }
.stop__card {
  --r: var(--r-row); display: flex; align-items: center; gap: 10px; width: 100%; min-height: 68px; padding: 12px 14px; border: 0; text-align: left; color: inherit; cursor: pointer;
  transition: transform var(--t-slow) var(--spring);
}
.stop__card:active { transform: scale(.98); transition-duration: .1s; }
.stop__main { flex: 1; min-width: 0; }
.stop__title { display: block; font-size: calc(16px + 16 * var(--tz, 0px)); line-height: 1.25; font-weight: 650; letter-spacing: -.01em; }
.stop__blurb { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; font-size: calc(13px + 13 * var(--tz, 0px)); line-height: 1.35; color: var(--ink-3); }
@media (min-width: 720px) { .stop__blurb { -webkit-line-clamp: 3; } }   /* a tablet's or a desk's row has the room: a stop's blurb whole (cut at 720 × 810 and at the 16") */
.stop__st { flex: none; font-size: calc(13px + 13 * var(--tz, 0px)); font-weight: 650; color: var(--ink-3); white-space: nowrap; }
.stop__st--n { font-weight: 550; font-variant-numeric: tabular-nums; }
.stop--next .stop__card { box-shadow: inset 0 0 0 1.5px var(--acc-3), inset 0 1px 0 rgba(255, 255, 255, .2), var(--cast); }
.stop--going .stop__st { color: var(--acc-ink); }
/* after --going: the stop in hand can be both (the next stop, started), and its pill keeps the ink
   the accent is priced for; rose ink on rose was unreadable (seen 2026-10-02 after a first round) */
.stop--next .stop__st { color: var(--on-acc); background: var(--acc); padding: 5px 11px; border-radius: 999px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7); }
.stop--above .stop__card { background-color: var(--glass-ghost); box-shadow: inset 0 0 0 1px rgba(var(--tint), .08); -webkit-backdrop-filter: none; backdrop-filter: none; }
.stop--above .stop__card::before { background: none; border: 1px dashed rgba(var(--tint), .22); padding: 0; -webkit-mask: none; mask: none; }
.stop--above .stop__title { color: var(--ink-2); }
.stop__up { display: block; margin-top: 4px; font-size: calc(13px + 13 * var(--tz, 0px)); font-weight: 650; color: var(--ink-2); }
/* a grid: lists to pick from in any order; rows in a glass group, a ring before each */
.pick .row { min-height: 64px; padding: 10px 14px; }
.pick .row__title { font-size: calc(16px + 16 * var(--tz, 0px)); font-weight: 650; }
.pick .row__sub { line-height: 1.35; overflow-wrap: break-word; }   /* a topic's line whole on a phone, on as many lines as it takes («… and mental health» was cut at two; a way's at three with the text at 200%: AUDIT unit 55) */
.pick .ring .i { width: 14px; height: 14px; stroke-width: 2.4; color: var(--acc-ink); }
.pick .row--above .row__title { color: var(--ink-2); }

/* ── the section sheet ───────────────────────────────────────────────────────────────── */
.ss__head { margin-bottom: 14px; }
.ss__head h2 { margin: 4px 0 6px; font-size: calc(24px + 24 * var(--tz, 0px)); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
.ss__note { margin: 10px 0 0; padding: 10px 12px; border-radius: 14px; font-size: calc(13px + 13 * var(--tz, 0px)); line-height: 1.4; color: var(--ink-2); background: rgba(var(--tint), .06); }
.ss__label { margin: 18px 2px 8px; font-size: calc(13px + 13 * var(--tz, 0px)); font-weight: 650; color: var(--ink-2); }
.topics { --r: var(--r-row); border-radius: var(--r-row); overflow: hidden; background: rgba(var(--tint), .055); box-shadow: inset 0 0 0 1px rgba(var(--tint), .07); }
.topic { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 8px 14px; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.topic + .topic::before { content: ""; position: absolute; left: 58px; right: 0; top: 0; height: 1px; background: var(--line); }
.topic__main { flex: 1; min-width: 0; }
.topic__label { display: block; font-size: calc(16px + 16 * var(--tz, 0px)); font-weight: 600; letter-spacing: -.01em; overflow-wrap: anywhere; }
.topic__n { display: block; font-size: calc(13px + 13 * var(--tz, 0px)); color: var(--ink-3); }
.topic__pick { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px rgba(var(--tint), .28); color: transparent; transition: background var(--t) ease, color var(--t) ease, box-shadow var(--t) ease, transform var(--t-slow) var(--spring); }
.topic__pick .i { width: 14px; height: 14px; stroke-width: 2.6; }
.topic[aria-checked="true"] .topic__pick, .lv[aria-checked="true"] .topic__pick { background: var(--acc); color: var(--on-acc); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7); transform: scale(1.06); }
.topic .ring .i { width: 12px; height: 12px; stroke-width: 2.6; color: var(--acc-ink); }
.topic .ring__in { font-size: calc(12px + 12 * var(--tz, 0px)); font-weight: 650; color: var(--ink-3); }
.topic[aria-checked="true"] .ring__in { color: var(--ink-2); }
.topic:active { background: rgba(var(--tint), .06); }
/* «All N topics» (ROUNDS.md SH1): the rest of a long list, opened in place under it; a row of its own, not a radio */
.ss__all { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; margin-top: 6px; padding: 0 14px; border: 0; border-radius: var(--r-row); background: none; color: var(--acc-ink); font: inherit; font-size: calc(15px + 15 * var(--tz, 0px)); font-weight: 600; text-align: left; cursor: pointer; }
.ss__all .i { flex: none; transition: transform var(--t) ease; }
.ss__all[aria-expanded="true"] .i { transform: rotate(180deg); }
.ss__all:active { background: rgba(var(--tint), .06); }
.seg--5 .seg__opt { font-size: calc(12.5px + 12.5 * var(--tz, 0px)); letter-spacing: -.015em; padding: 0 1px; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }   /* five or six in a row: a name too long for its share breaks, hyphened where it can, and never pushes the last one out (the text at 200%: AUDIT unit 55) */
.seg--in { background: rgba(var(--tint), .07); box-shadow: inset 0 0 0 1px rgba(var(--tint), .07), inset 0 1px 2px rgba(var(--shade), calc(.3 * var(--sk))); }
.ss__mode { margin-top: 6px; font-size: calc(13px + 13 * var(--tz, 0px)); color: var(--ink-3); min-height: 18px; }

/* ── placeholders and empty states ───────────────────────────────────────────────────── */
.empty { display: grid; justify-items: center; gap: 10px; padding: 46px 18px; text-align: center; --r: var(--r-card); }
.empty .t-head { margin-top: 4px; }

/* ── Review, Record, Settings (frap-screens.js) ──────────────────────────────────────── */
/* Review's hero: the count in a ring, one button */
.rv { display: grid; place-items: center; margin: 4px 0 2px; }
.hero .rv { margin: 6px 0 12px; }
.rv .ring__in { display: grid; justify-items: center; gap: 0; }
.rv__n { font-size: calc(40px + 40 * var(--tz, 0px)); line-height: 1; font-weight: 750; letter-spacing: -.03em; color: var(--ink); }
.rv__c { margin-top: 4px; font-size: calc(13px + 13 * var(--tz, 0px)); font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.rv__say { display: grid; gap: 2px; }
.rv__min { color: var(--ink); font-weight: 650; }
.rv .ring .i { width: 34px; height: 34px; color: var(--acc-ink); }
.rv .ring--arc .ring__bar { stroke: url(#acc-stroke); filter: drop-shadow(0 0 7px var(--glow)); }
.rv .rv__n { background: var(--gauge-num); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
/* a week of bars: Review's days to come, Record's days gone */
.bars { --r: var(--r-tile); display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; padding: 14px 12px 12px; }
.bar { display: grid; grid-template-rows: 16px 84px auto; justify-items: center; gap: 5px; min-width: 0; }
.bar__n { font-size: calc(12px + 12 * var(--tz, 0px)); font-weight: 650; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.bar__col { position: relative; width: min(100%, 26px); height: 84px; border-radius: 9px; background: rgba(var(--tint), .07); box-shadow: inset 0 1px 2px rgba(var(--shade), calc(.3 * var(--sk))); }
.bar__col i { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 9px; background: var(--acc); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 6px 16px -6px var(--glow); transform-origin: 50% 100%; animation: bar-up .7s var(--spring) both; animation-delay: calc(var(--i, 0) * 45ms + 120ms); }
@keyframes bar-up { from { transform: scaleY(0); } }
.bar:nth-child(2) { --i: 1; } .bar:nth-child(3) { --i: 2; } .bar:nth-child(4) { --i: 3; }
.bar:nth-child(5) { --i: 4; } .bar:nth-child(6) { --i: 5; } .bar:nth-child(7) { --i: 6; }
.bar__d { font-size: calc(11px + 11 * var(--tz, 0px)); font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.bar--now .bar__d { color: var(--acc-ink); }
/* Record's four numbers */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stat { --r: var(--r-row); display: grid; justify-items: center; gap: 2px; padding: 14px 4px 12px; text-align: center; min-width: 0; }
.stat b { font-size: calc(22px + 22 * var(--tz, 0px)); line-height: 1.1; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat b small { font-size: calc(12px + 12 * var(--tz, 0px)); font-weight: 650; margin-left: 1px; color: var(--ink-2); }
.stat > span { font-size: calc(12px + 12 * var(--tz, 0px)); font-weight: 600; color: var(--ink-3); }
.row .ring .ring__track { stroke: rgba(var(--tint), .16); }
.row b.ink { color: var(--ink); font-weight: 650; }
/* Record: «Your words», the learner's words on the engine's ladder, drawn as a stair (frap-figure.js stand()) */
.words-st { --r: var(--r-row); padding: 14px 16px 12px; }
.words-st .ofig { max-width: 400px; margin: 0 auto 2px; }
.words-st .rec-say { margin: 2px 0 0; text-align: center; }
/* Your words (#/words) */
.sec-link { color: var(--acc-ink); font-weight: 650; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.words__q { position: static; margin-bottom: 10px; }
.words__chips { margin-top: 0; margin-bottom: 12px; }
.words__chips .chip[aria-checked="true"] { color: var(--on-seg); background: var(--seg-fill); }
.words__n { font-weight: 550; opacity: .7; font-variant-numeric: tabular-nums; }
.wrow { cursor: default; min-height: 60px; gap: 12px; }
.wrow .row__title { font-size: calc(18px + 18 * var(--tz, 0px)); font-weight: 650; }
.wrow__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: rgba(var(--tint), .25); }
.wrow__dot--1 { background: var(--acc-3); }
.wrow__dot--2 { background: var(--acc); box-shadow: 0 0 8px -1px var(--glow); }
.wrow__st { flex: none; display: grid; justify-items: end; gap: 1px; font-size: calc(12px + 12 * var(--tz, 0px)); color: var(--ink-3); white-space: nowrap; }
.wrow__st b { font-weight: 650; color: var(--ink-2); }
.wrow__st .is-due { color: var(--wrong-ink); font-weight: 650; }
/* Record: a month of study days */
.cal__head { align-items: center; }
.cal__nav { display: flex; align-items: center; gap: 2px; }
.cal__nav .t-foot { margin-right: 6px; color: var(--ink-2); }
.cal__b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink-2); }
.cal__b .i { width: 18px; height: 18px; }
.cal__b[disabled] { opacity: .3; cursor: default; }
.cal { --r: var(--r-tile); padding: 12px 12px 14px; }
.cal__w, .cal__g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; text-align: center; }
.cal__w span { font-size: calc(11px + 11 * var(--tz, 0px)); font-weight: 650; color: var(--ink-3); padding-bottom: 6px; }
.cal__d { display: grid; place-items: center; aspect-ratio: 1; max-width: 40px; width: 100%; margin: 0 auto; border-radius: 50%; font-size: calc(13px + 13 * var(--tz, 0px)); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-3); }
.cal__d.is-now { outline: 2px solid var(--ink-2); outline-offset: 1px; color: var(--ink); }
/* after .is-now: today, studied, keeps the ink its fill is priced for */
.cal__d.is-on { color: var(--on-acc); background: var(--acc); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 0 10px -3px var(--glow); }
/* Settings */
.set-h { margin: 26px 4px 8px; font-size: calc(13px + 13 * var(--tz, 0px)); font-weight: 650; letter-spacing: .01em; color: var(--ink-2); }
.set-foot { margin: 10px 6px 0; font-size: calc(13px + 13 * var(--tz, 0px)); line-height: 1.4; color: var(--ink-3); }
.row__ic { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: var(--ic-ink); background: rgba(var(--ic-rgb), .12); box-shadow: inset 0 0 0 1px rgba(var(--ic-rgb), .16); }
.row__ic .i { width: 18px; height: 18px; }
.row .slider { display: block; margin-top: 4px; }
.seg--row { flex: none; min-width: 190px; }
/* Review a day's nine (5 … 40, All) in one row at 320 px: the room is the options', not their padding (AUDIT unit 55) */
#set-rvn .seg__opt { padding-inline: 2px; }
.seg--row .seg__opt { min-height: 32px; font-size: calc(13px + 13 * var(--tz, 0px)); padding: 0 10px; }
/* Appearance: each register as a small picture of itself; Auto is both, split corner to corner.
   A picture shows ITS register whatever the page wears, so its colours are its own, not tokens. */
.looks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 18px 12px 14px; }
.look { display: grid; justify-items: center; gap: 9px; padding: 4px 0; border-radius: 18px; }
.look__pv {
  position: relative; display: block; width: 68px; height: 102px; border-radius: 16px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(var(--tint), .2), 0 10px 20px -10px rgba(var(--shade), calc(.7 * var(--sk)));
  transition: box-shadow var(--t) ease, transform var(--t-slow) var(--spring);
}
.look__pv--dark, .look__pv--auto, .look__pv--evening, .look__pv--clock { background: radial-gradient(90% 60% at 8% 0%, var(--pv-d1), transparent 72%), radial-gradient(90% 60% at 100% 100%, var(--pv-d2), transparent 72%), var(--pv-dg); }
.look__pv--light, .look__pv--auto::after, .look__pv--unfiltered, .look__pv--afternoon, .look__pv--clock::after { background: radial-gradient(90% 60% at 8% 0%, var(--pv-l1), transparent 72%), radial-gradient(90% 60% at 100% 100%, var(--pv-l2), transparent 72%), var(--pv-lg); }
.look__pv--auto::after, .look__pv--clock::after { content: ""; position: absolute; inset: 0; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.look__pv i { position: absolute; z-index: 1; left: 8px; right: 8px; height: 23px; border-radius: 7px; background: rgba(255, 255, 255, .15); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.look__pv i:nth-child(1) { top: 12px; }
.look__pv i:nth-child(2) { top: 41px; }
.look__pv--light i, .look__pv--unfiltered i, .look__pv--afternoon i { background: rgba(255, 255, 255, .72); box-shadow: inset 0 1px 0 #fff, 0 2px 5px rgba(112, 68, 48, .16); }
.look__pv--auto i, .look__pv--clock i { background: rgba(255, 255, 255, .34); }
.look__pv b { position: absolute; z-index: 1; left: 8px; right: 8px; bottom: 10px; height: 13px; border-radius: 999px; background: var(--pv-db); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7); }
.look__pv--light b, .look__pv--unfiltered b, .look__pv--afternoon b { background: var(--pv-lb); }
/* THUD CUP's Blackout: black, its glass and its gold (frap.css html[data-calm][data-watch="on"]) */
.look__pv--blackout { background: #000; box-shadow: 0 0 0 1px rgba(236, 231, 220, .22), 0 10px 20px -10px rgba(var(--shade), calc(.7 * var(--sk))); }
.look__pv--blackout i { background: #141412; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); }
.look__pv--blackout b { background: #dcac69; box-shadow: none; }
.look__name { font-size: calc(13px + 13 * var(--tz, 0px)); font-weight: 650; color: var(--ink-2); transition: color var(--t) ease; }
.look[aria-checked="true"] .look__pv { transform: scale(1.05); box-shadow: 0 0 0 2.5px var(--acc-3), 0 0 0 5px rgba(var(--acc-rgb), .22), 0 12px 22px -10px rgba(var(--shade), calc(.7 * var(--sk))); }
.look[aria-checked="true"] .look__name { color: var(--ink); }
.look:active .look__pv { transform: scale(.96); transition-duration: .1s; }
.looks + .row::before { content: ""; position: absolute; left: 16px; right: 0; top: 0; height: 1px; background: var(--line); }

/* the type specimen: one card's own word, in the learner's face and size */
.spec { --r: var(--r-card); display: grid; justify-items: center; gap: 4px; padding: 20px 16px 22px; text-align: center; min-height: 148px; align-content: center; }
.spec__say { font-size: calc(12px + 12 * var(--tz, 0px)); font-weight: 650; letter-spacing: .02em; color: var(--acc-ink); }
.spec__uk { line-height: 1.12; font-weight: 600; letter-spacing: -.01em; color: var(--ink); transition: font-size var(--t-slow) var(--spring); }
.spec__en { line-height: 1.3; color: var(--ink-2); transition: font-size var(--t-slow) var(--spring); }
.faces { margin-top: 6px; }
.faces .ss__label { margin-top: 16px; }
.topic--card { border-radius: 14px; margin-bottom: 4px; background: rgba(var(--tint), .055); box-shadow: inset 0 0 0 1px rgba(var(--tint), .07); }
.topic--card + .topic--card::before { display: none; }
.topic--card .topic__label { font-size: calc(19px + 19 * var(--tz, 0px)); font-weight: 500; }
/* a sheet of reading: the voice help, About */
.prose p { margin: 0 0 10px; font-size: calc(15px + 15 * var(--tz, 0px)); line-height: 1.45; color: var(--ink-2); }
.prose p b { color: var(--ink); font-weight: 650; }
.prose .ss__note { margin: 4px 0 12px; }

/* ── screens change: the old one leaves, the new one arrives (View Transitions) ─────── */
/* The field is not named (2026-11-21): it is painted in the root's own two pictures, the old as it stood and the new
   alive, so the scene goes with its page and every glass card keeps the scene behind it. Named, its group was painted
   above the root's, and an opaque field hid the page through every change. */
.tabbar { view-transition-name: tabbar; }
::view-transition-group(tabbar) { animation: none; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .44s; animation-timing-function: var(--ease-out); }
html[data-nav="push"]::view-transition-old(root) { animation-name: vt-out-back; }
html[data-nav="push"]::view-transition-new(root) { animation-name: vt-in-fwd; }
html[data-nav="pop"]::view-transition-old(root) { animation-name: vt-out-fwd; }
html[data-nav="pop"]::view-transition-new(root) { animation-name: vt-in-back; }
html[data-nav="tab"]::view-transition-old(root) { animation-name: vt-fade-out; animation-duration: .2s; }
html[data-nav="tab"]::view-transition-new(root) { animation-name: vt-fade-up; animation-duration: .4s; }
@keyframes vt-out-back { to { opacity: 0; transform: translateX(-14%) scale(.96); } }
@keyframes vt-in-fwd { from { opacity: 0; transform: translateX(22%) scale(.98); } }
@keyframes vt-out-fwd { to { opacity: 0; transform: translateX(22%) scale(.98); } }
@keyframes vt-in-back { from { opacity: 0; transform: translateX(-14%) scale(.96); } }
@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-fade-up { from { opacity: 0; transform: translateY(14px); } }
html[data-nav="look"]::view-transition-old(root), html[data-nav="look"]::view-transition-new(root) { animation-duration: .5s; animation-timing-function: ease; }
::view-transition-group(art) { animation-duration: .5s; animation-timing-function: var(--spring); }
/* one document to the other. Arriving here from the drill, the round is put away: it sinks
   and the shell comes forward. (The rules are the arriving page's; the drill has its own.) */
@view-transition { navigation: auto; }
html.arriving::view-transition-old(root) { animation: vt-put-away .34s var(--ease-out) both; }
html.arriving::view-transition-new(root) { animation: vt-come-forward .5s var(--ease-out) both; }
@keyframes vt-put-away { to { opacity: 0; transform: translateY(6%) scale(.985); } }
@keyframes vt-come-forward { from { opacity: 0; transform: scale(.955); } }

/* ══ MOTION THAT FOLLOWS THE PAGE ══════════════════════════════════════════════════════════
   A tab's large title goes up into a bar as the page scrolls; the hero's painting drifts
   against its card. Both are tied to the scroll itself where the browser can (scroll-driven
   animations); elsewhere the title simply scrolls away and the bar's name comes in. */
.stickybar {
  /* (In Safari on an iPhone the page is drawn on up under the clock, above anything a page can
     fix in place: tried on 2026-10-02 with a solid bar and with one reaching 120px above the
     window, and neither covers it. That strip is Safari's own. Installed, or in the native
     shell, the window is the whole screen and this bar covers the clock's row: --sat.) */
  position: fixed; top: 0; left: 0; right: 0; z-index: 20; height: calc(var(--sat) + 48px); margin: 0; pointer-events: none;
  background-color: rgba(var(--ground-rgb), 0); transition: background-color var(--t) ease;
}
.stickybar.top--stuck { background-color: var(--ground); }
.stickybar::before {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 26px; opacity: 0; transition: opacity var(--t) ease;
  background: linear-gradient(180deg, rgba(var(--ground-rgb), 1), rgba(var(--ground-rgb), 0));
}
.stickybar .top__title { position: absolute; left: 60px; right: 60px; top: calc(var(--sat) + 12px); line-height: 24px; }
.stickybar.top--stuck::before { opacity: 1; }
@supports (animation-timeline: scroll()) {
  .top > #h1, .phead h1 { transform-origin: 0 70%; animation: title-away linear both; animation-timeline: scroll(root block); animation-range: 10px 92px; }
  @keyframes title-away { to { opacity: 0; transform: scale(.86) translateY(-8px); } }
}

/* ══ HALF A MACBOOK'S SCREEN (720 × 810, docked; ROUND3.md 2.4): the phone's layout, made for the
   width. A wider column, centred. ═══════════════════════════════ */
@media (min-width: 600px) and (max-width: 959px) {
  #view { max-width: 640px; }
}

/* ══ A DESK: from 960px the tab bar is a slim rail at the left, the page a centred column,
   and a sheet is a dialog in the middle of the screen ══════════════════════════════════════ */
@media (min-width: 960px) {
  #view { max-width: 760px; padding: calc(var(--sat) + 40px) 40px 72px; }
  .tabbar {
    left: max(var(--sal), 22px); top: 50%; bottom: auto; transform: translateY(-50%);
    grid-auto-flow: row; grid-auto-rows: 70px; grid-auto-columns: unset; width: 84px; height: auto; padding: 6px; --r: 30px; border-radius: 30px;
  }
  .tabbar.away { transform: translate(-160%, -50%); }
  .tabbar__thumb { top: 6px; left: 6px; right: 6px; bottom: auto; width: auto; height: 70px; border-radius: 24px; transform: translateY(calc(var(--at, 0) * 100%)); }
  @keyframes thumb-stretch { 32% { scale: .88 1.2; } 70% { scale: 1.02 .98; } }
  .tab { border-radius: 24px; font-size: 11px; gap: 4px; }
  .tab .i { width: 24px; height: 24px; }
  .tab__badge { top: 8px; left: calc(50% + 7px); }
  .hero { padding: 22px; }
  .stats { gap: 12px; }
  .stat b { font-size: calc(28px + 28 * var(--tz, 0px)); }
  /* a sheet is a dialog */
  .sheet {
    top: 50%; bottom: auto; max-height: min(780px, calc(100dvh - 72px)); border-radius: var(--r-sheet); padding-bottom: 0;
    transform: translateY(-46%) scale(.955); opacity: 0;
    transition: transform var(--t-slow) var(--spring), opacity var(--t-fast) ease;
  }
  .sheet.on { transform: translateY(-50%) scale(1); opacity: 1; }
  .sheet__grab { height: 18px; cursor: default; pointer-events: none; }
  .sheet__grab::after { display: none; }
  .sheet__foot { padding-bottom: 20px; }
}
@media (min-width: 1240px) {
  #view { max-width: 820px; }
}

/* ══ THE MACBOOK (ROUND3.md 2.3): from 1100px the rail is a labeled sidebar, 248px of glass on the
   field, inset 16px, full height (Linear, MasterClass, Coinbase Learn: RESEARCH.md round three);
   the page is a column of at most 1080px, centred in what is left. 960–1099 keeps the rail.
   IT GROWS WITH THE SCREEN (2026-11-28, the owner, from a 16" MacBook's 1728 px: «the left sidebar could be bigger
   somehow»): 248px of 1100 had left 200px of the field empty either side of the page and set the doors' words at 11.5px.
   --sw runs from 0 at a 1100px window to 1px at 1728px, and the sidebar from 248px to 320px with it (286 at 1440);
   --sv, its words' and rows', rises with it only where the window is also tall (860px to 1095px): a 1440 × 810 keeps
   the height its doors need (THE DESK IN THREE GROUPS lays them). Every size below is its 1100px one plus its growth. ═══ */
.side { display: none; }
@media (min-width: 1100px) {
  html {
    --sw: clamp(0px, calc((100vw - 1100px) / 628), 1px);
    --sv: clamp(0px, min(calc((100vw - 1100px) / 628), calc((100vh - 860px) / 235)), 1px);
    --side-w: calc(248px + 72 * var(--sw));
    /* THE PAGE'S TYPE GROWS WITH IT (2026-11-28, the owner: «You are confident issues with sizing and fonts … are solved?»;
       measured at the 16" MacBook's 1728 × 1117: the sidebar had grown and the page beside it kept a phone's sizes, its
       labels 10px under pictures 360px wide): every plain size in the shell's sheets is N px plus N times --tz, 15 %
       at the full screen and nothing at 1440 × 810 or on a phone; the card's own type is the drill's, untouched */
    --tz: calc(.15 * var(--sv));
  }
  .tabbar {
    left: calc(16px + var(--sal)); top: 16px; bottom: 16px; transform: none; width: var(--side-w, 248px); height: auto;
    display: flex; flex-direction: column; align-items: stretch; gap: 2px; padding: calc(14px + 4 * var(--sv)) 12px 12px; --r: 28px; border-radius: 28px;
  }
  /* a sheet is a dialog here, over a scrim: the sidebar stays; only the first visit has none */
  .tabbar.away { transform: none; opacity: 1; pointer-events: auto; }
  .tabbar.away.off { transform: translateX(-120%); opacity: 0; pointer-events: none; }
  .tabbar__thumb { display: none; }
  .side { display: flex; }
  .side__brand { align-items: center; gap: calc(10px + 2 * var(--sv)); padding: 2px 8px calc(14px + 4 * var(--sv)); font-size: calc(17px + 2.5 * var(--sv)); font-weight: 700; letter-spacing: -.015em; }
  .side__brand > .art { width: calc(32px + 6 * var(--sv)); height: calc(32px + 6 * var(--sv)); }
  .side__find {
    align-items: center; gap: 10px; min-height: calc(44px + 4 * var(--sv)); margin: 0 0 calc(12px + 4 * var(--sv)); padding: 0 10px 0 12px; border-radius: 14px; text-align: left;
    background: rgba(var(--tint), .07); box-shadow: inset 0 0 0 1px rgba(var(--tint), .08); color: var(--ink-3); font-size: calc(15px + 1 * var(--sv));
    transition: background var(--t) ease;
  }
  .side__find .i { width: 18px; height: 18px; color: var(--ink-2); }
  .side__find kbd { margin-left: auto; padding: 2px 7px; border-radius: 7px; font: inherit; font-size: calc(12px + .5 * var(--sv)); font-weight: 600; color: var(--ink-3); background: rgba(var(--tint), .08); }
  .side__find:hover { background: rgba(var(--tint), .1); }
  .tab {
    display: flex; align-items: center; justify-content: flex-start; gap: calc(12px + 2 * var(--sv)); min-height: calc(44px + 6 * var(--sv)); padding: 0 12px; border-radius: 14px;
    font-size: calc(15px + 1.5 * var(--sv)); font-weight: 600; letter-spacing: -.005em; color: var(--ink-2);
  }
  .tab .i { width: calc(20px + 2 * var(--sv)); height: calc(20px + 2 * var(--sv)); }
  .tab[aria-current="page"] { color: var(--ink); background: var(--thumb); box-shadow: var(--thumb-shadow); }
  .tab:hover:not([aria-current]) { background: rgba(var(--tint), .05); color: var(--ink); }
  .tab:active { transform: scale(.98); }
  .tab__badge { position: static; margin-left: auto; min-width: calc(22px + 2 * var(--sv)); height: calc(22px + 2 * var(--sv)); font-size: calc(12px + 1 * var(--sv)); }
  .side__foot { margin-top: auto; padding: 10px 2px 0; }
  .side__foot .chip { min-height: calc(36px + 6 * var(--sv)); padding: 0 14px; font-size: calc(13px + 1 * var(--sv)); }
  /* the page beside the sidebar (--side-r, folded 104px; frap-desk.js, below), centred in the rest */
  #view {
    max-width: none; margin: 0 0 0 calc(var(--side-r, 280px) + var(--sal));
    padding: calc(var(--sat) + 36px) max(40px, calc((100vw - var(--side-r, 280px) - 1080px) / 2)) 72px;
  }
  .stickybar { left: calc(var(--side-r, 280px) + var(--sal)); }
  /* scrollbars that belong to the glass (Chrome draws grey ones on a Mac with a mouse) */
  html { scrollbar-color: rgba(var(--tint), .22) transparent; }
  .strat__panel *, .sheet * { scrollbar-width: thin; scrollbar-color: rgba(var(--tint), .22) transparent; }
  /* Learn: the sidebar carries the name, the level and Find; the page has no visible title (owner,
     2026-10-02: the word «Learn» above Continue «serves no purpose»; the h1 stays for a screen reader) */
  .top--learn { display: none; }
}
/* ══ THE DESK IN THREE GROUPS (frap-desk.js; ROUNDS.md DK1, 2026-11-20). From 1100px the sidebar is Study (the three
   doors, which are Learn: Learn's row goes) under Find, Progress (Review, Record, Certificates) and its foot (the sitting
   clock, the level, the skin and Settings: Settings' row goes); [ folds it to its icons. Nothing at the right (the
   owner, 2026-11-20: the Today panel «adds to clutter»; what it held is the sidebar's). The page beside it, centred.
   Under 1100px none of it is seen: a phone's bar and the rail keep their four. ═══════════════════════════════════ */
.side__fold { display: none; }
@media (min-width: 1100px) {
  html { --side-r: calc(var(--side-w, 248px) + 32px); }             /* the sidebar and its 16px either side (THE MACBOOK) */
  html.side-fold { --side-r: 104px; }
  .tab[data-tab="learn"], .tab[data-tab="settings"] { display: none; }
  .modes.modes--learn { display: none; }                            /* the doors are the switch (punk.css lays .modes after) */
  /* the Grammar's and Reading's titles leave the page, as Learn's did (kept for a screen reader); the bar keeps none */
  .top--place { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .top--place > :not(h1) { display: none; }
  .stickybar--place .top__title { visibility: hidden; }

  .side__fold { display: grid; place-items: center; flex: none; width: 30px; height: 30px; margin-left: auto; padding: 0; border: 0; border-radius: 9px; background: none; color: var(--ink-3); cursor: pointer; }
  .side__fold .i { width: 18px; height: 18px; }
  .side__fold:hover { background: rgba(var(--tint), .08); color: var(--ink); }
  /* a group's name, in small caps; Study's carries How it works */
  .side__k { display: flex; align-items: center; justify-content: space-between; min-height: 26px; margin: calc(12px + 6 * var(--sv)) 0 calc(4px + 2 * var(--sv)); padding: 0 4px 0 12px; color: var(--ink-3); font-size: calc(11px + 1 * var(--sv)); }
  .side__how { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--ink-3); cursor: pointer; }
  .side__how .i { width: 16px; height: 16px; }
  .side__how:hover { background: rgba(var(--tint), .08); color: var(--ink); }
  /* Study: the doors (flat until DK4 lays each one's picture where its tile is) */
  .side__study { flex-direction: column; gap: 2px; }
  .side__study > .side__k { margin-top: 0; }
  .side__door { display: flex; align-items: center; gap: calc(11px + 2 * var(--sv)); min-height: calc(54px + 6 * var(--sv)); padding: 6px 10px 6px 8px; border-radius: 15px; color: var(--ink-2); text-decoration: none; transition: background var(--t) ease; }
  .side__ic { display: grid; place-items: center; flex: none; width: calc(38px + 4 * var(--sv)); height: calc(38px + 4 * var(--sv)); border-radius: 11px; background: rgba(var(--tint), .08); box-shadow: inset 0 0 0 1px rgba(var(--tint), .1); color: var(--acc-ink); }
  .side__ic .i { width: 20px; height: 20px; }
  .side__main { display: grid; gap: 1px; min-width: 0; flex: 1; }
  .side__main b { color: var(--ink); font-size: calc(15px + 1.5 * var(--sv)); font-weight: 650; line-height: 1.2; letter-spacing: -.005em; }
  .side__line { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--ink-3); font-size: calc(12.5px + 1 * var(--sv)); line-height: 1.3; }
  .side__line .bk-n { color: var(--acc-ink); font-variant-numeric: tabular-nums; }
  .side__done { display: grid; place-items: center; flex: none; color: var(--acc-ink); }
  .side__done[hidden] { display: none; }
  .side__done .i { width: 16px; height: 16px; }
  .side__door[aria-current="page"] { background: var(--thumb); box-shadow: var(--thumb-shadow); }
  .side__door[aria-current="page"] .side__line { color: var(--ink-2); }
  .side__door:hover:not([aria-current]) { background: rgba(var(--tint), .05); }
  .side__door:active, .side__row:active { transform: scale(.98); }
  /* THE LIVE DOORS (DK4, B1′, 2026-11-23; frap-desk.js): a door with its picture is the picture, its words on a
     frosted band along its foot, never on the paint; the doors not chosen dimmed, lit on a hover; flat (the rules above)
     in Field mode and under Low power, where frap-desk.js lays none.
     ITS HEIGHT (2026-11-28): 2.2:1 of the sidebar's width (296 × 134 at a 1728 × 1095 window), and never more than a
     third of what the window's height leaves when the rest of the sidebar is laid (540px, and 56px more for its grown
     rows: --sv): 90px at 1440 × 810, 76 at 1366 × 768, 64 at the least; under 701px high, 50 and no line (below). It had
     been 2.4:1 of 224px at every size, so the sidebar spilt past its foot on a 768px-high laptop */
  .side__pic { display: none; }
  .side__door.side__door--pic { position: relative; isolation: isolate; overflow: hidden; align-items: flex-end; min-height: 0; margin-bottom: calc(4px + 2 * var(--sv)); padding: 0;
    height: clamp(64px, calc((100vh - 540px - 56 * var(--sv)) / 3), calc((var(--side-w, 248px) - 24px) / 2.2));
    box-shadow: inset 0 0 0 1px rgba(var(--tint), .14); }
  .side__door--pic .side__pic { display: block; position: absolute; inset: 0; z-index: -1; background: center / cover no-repeat; transition: filter var(--t) ease; }
  .side__door--pic[data-door="words"] .side__pic { background-position: center 68%; }   /* the scene's band of the city, not its sky */
  .side__door--pic .side__ic { display: none; }
  /* the band 1px past the door's foot, clipped there: a door's height in a fraction of a pixel had left the picture's
     last row showing under it, a line across the band's foot */
  .side__door--pic .side__main { gap: 0; margin-bottom: -1px; padding: calc(5px + 2 * var(--sv)) calc(11px + 3 * var(--sv)) calc(7px + 2 * var(--sv));
    background: rgba(8, 10, 16, .62); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
  .side__door--pic .side__main b { color: #fff; font-size: calc(14.5px + 2 * var(--sv)); }
  .side__door--pic .side__line, .side__door--pic[aria-current="page"] .side__line { color: rgba(255, 255, 255, .86); font-size: calc(12px + 1.5 * var(--sv)); }
  .side__door--pic .side__line .bk-n { color: inherit; font-weight: 700; }
  .side__door--pic .side__done { position: absolute; top: calc(6px + 2 * var(--sv)); right: calc(6px + 2 * var(--sv)); width: calc(24px + 4 * var(--sv)); height: calc(24px + 4 * var(--sv)); border-radius: 999px; color: #fff;
    background: rgba(8, 10, 16, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .side__door--pic .side__done[hidden] { display: none; }
  .side__door--pic:not([aria-current]) .side__pic { filter: saturate(.7) brightness(.7); }
  .side__door--pic:hover .side__pic { filter: none; }
  .side__door--pic[aria-current="page"] { background: none; box-shadow: inset 0 0 0 2px var(--acc-ink), var(--thumb-shadow); }
  html[data-look="milk"] .side__door--pic .side__main, html[data-look="milk"] .side__door--pic .side__done { background: rgba(255, 255, 255, .74); }
  html[data-look="milk"] .side__door--pic .side__main b { color: var(--ink); }
  html[data-look="milk"] .side__door--pic .side__line, html[data-look="milk"] .side__door--pic[aria-current="page"] .side__line { color: var(--ink-2); }
  html[data-look="milk"] .side__door--pic .side__done { color: var(--acc-ink); }
  html[data-look="milk"] .side__door--pic:not([aria-current]) .side__pic { filter: saturate(.75) brightness(.92); }
  html:is([data-watch="on"], [data-low="on"]) .side__pic { display: none; }
  /* Places: the certificates' row, as a tab's */
  .side__row { display: flex; align-items: center; gap: calc(12px + 2 * var(--sv)); min-height: calc(44px + 6 * var(--sv)); padding: 0 12px; border-radius: 14px; color: var(--ink-2); font-size: calc(15px + 1.5 * var(--sv)); font-weight: 600; letter-spacing: -.005em; text-decoration: none; }
  .side__row .i { width: calc(20px + 2 * var(--sv)); height: calc(20px + 2 * var(--sv)); }
  .side__row[aria-current="page"] { color: var(--ink); background: var(--thumb); box-shadow: var(--thumb-shadow); }
  .side__row:hover:not([aria-current]) { background: rgba(var(--tint), .05); color: var(--ink); }
  /* the foot: the level at the left, the skin and Settings at the right */
  .side__foot { display: flex; align-items: center; gap: 6px; }
  .side__foot .side__lv { flex: 0 1 auto; min-width: 0; margin-right: auto; }
  .side__lv b { font-weight: 700; }                                 /* the code alone: its name is the chip's label and title */
  .side__foot .side__gear { flex: none; min-width: calc(36px + 6 * var(--sv)); padding: 0; justify-content: center; }
  .side__gear[aria-current="page"] { color: var(--ink); background: var(--thumb); box-shadow: var(--thumb-shadow); }

  /* [ : the sidebar folded to its icons, each named for a screen reader and on hover */
  html.side-fold .tabbar { width: 72px; padding: 14px 10px 12px; }
  html.side-fold .side__brand { justify-content: center; padding: 2px 0 10px; }
  html.side-fold .side__brand > :not(.side__fold) { display: none; }
  html.side-fold .side__fold { margin: 0; }
  html.side-fold .side__k { min-height: 0; height: 1px; margin: 8px 8px; padding: 0; overflow: hidden; background: rgba(var(--tint), .12); }
  html.side-fold .side__k > *, html.side-fold .side__find kbd, html.side-fold .side__lv .i { display: none; }
  html.side-fold .side__main, html.side-fold .tab > span:not(.tab__badge), html.side-fold .side__row > span,
  html.side-fold .side__find > span, html.side-fold .side__close > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  html.side-fold .side__door, html.side-fold .tab, html.side-fold .side__row, html.side-fold .side__find, html.side-fold .side__close { position: relative; justify-content: center; padding: 0; }
  html.side-fold .side__door { min-height: 50px; }
  html.side-fold .side__door.side__door--pic { width: 50px; height: 50px; min-height: 50px; margin: 0 auto; aspect-ratio: 1; }
  html.side-fold .side__done { position: absolute; top: 3px; right: 2px; }
  html.side-fold .tab__badge { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; margin: 0; font-size: calc(11px + 11 * var(--tz, 0px)); }
  html.side-fold .side__foot { flex-direction: column; padding: 10px 0 0; }
  html.side-fold .side__foot .side__lv { width: 100%; margin: 0; padding: 0; justify-content: center; }
}
/* ══ THE SITTING CLOCK (frap-clock.js; ROUNDS.md DK2, 2026-11-20). A ring that fills as a turn passes, a Petrykivka bud
   opening petal by petal in its centre in the skin's own colours; numbers alone in Field mode and Low power. No dot:
   every petal and leaf a stroke longer than wide, no arc drawn under 4 units (verify_clock.py DOTS) ══ */
.clk { --clk-a: var(--acc-1); --clk-b: var(--acc-3); --clk-c: var(--acc-2); --clk-l: var(--acc-4); display: block; width: 100%; height: auto; overflow: visible; }
html[data-look="milk"] .clk { --clk-a: var(--acc-4); --clk-b: var(--acc-1); --clk-c: var(--acc-3); --clk-l: var(--acc-3); }   /* by day the ramp turned: the palest petal was lost on the paper */
.clk__track { fill: none; stroke: rgba(var(--tint), .14); stroke-width: 3; }
.clk__arc { fill: none; stroke: var(--acc-ink); stroke-width: 3.5; stroke-linecap: butt; }
:is(.clk, .clk-mini).is-rest .clk__arc { stroke: var(--ink-3); }
:is(.clk, .clk-mini).is-over .clk__arc { stroke: rgba(var(--tint), .4); }
.clk__stem { fill: none; stroke: var(--clk-l); stroke-width: 2.4; stroke-linecap: butt; }
.clk__leaf { fill: var(--clk-l); }
.clk__pet { fill: var(--clk-a); }
.clk__core { fill: var(--clk-c); }
.clk__hi { fill: var(--clk-b); opacity: .8; }
.clk-mini { position: relative; display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; }
.clk-mini svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.clk-mini .clk__track, .clk-mini .clk__arc { stroke-width: 3.6; }
.clk-mini b, .clk-n { position: relative; color: var(--ink); font-size: calc(11px + 11 * var(--tz, 0px)); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.clk-face { display: grid; justify-items: center; gap: 10px; text-align: center; }
.clk-face .clk { width: 112px; }
.clk-face__t { display: grid; gap: 2px; margin: 0; }
.clk-face__t b { font-size: calc(28px + 28 * var(--tz, 0px)); font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: -.01em; line-height: 1.1; }
.clk-face__t span { color: var(--ink-3); font-size: calc(13px + 13 * var(--tz, 0px)); line-height: 1.35; }
.clk-face__t .clk-face__at { font-size: calc(12px + 12 * var(--tz, 0px)); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.clk-face--low .clk-face__t b { font-size: calc(34px + 34 * var(--tz, 0px)); }
.clk-b { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
/* the sheet: the dial (dragged for one's own minutes, 5 to 90; its keys, a slider's), the four plans, Start */
.clk-sheet { display: grid; gap: 14px; text-align: center; }
.clk-sheet__h { margin: 0; }
.clk-rest__cup { display: inline-block; width: 1.35em; height: 1.35em; margin: 0 .38em 0 0; vertical-align: -.3em; opacity: 1; }   /* a rest's cup of tea (punk-kit.js) */
.clk-sheet__p, .clk-next { margin: -6px 0 0; }
.clk-sheet__p, .clk-next, .clk-say, .clk-bell__t span { text-wrap: balance; }   /* no word alone on a line */
.clk-sheet .clk-face .clk { width: 160px; }
.clk-dial { position: relative; display: grid; justify-items: center; width: 216px; margin: 4px auto 0; border-radius: 50%; touch-action: none; cursor: grab; }
.clk-dial:active { cursor: grabbing; }
.clk-dial[aria-disabled="true"] { cursor: default; }
.clk-dial:focus-visible { outline: 2px solid var(--acc-ink); outline-offset: 6px; }
/* the dial's face (2026-11-23, after Mobbin's timers): a thick track, ticks of five minutes, the turn's arc and its rest's */
.clk--dial .clk__track { stroke: rgba(var(--tint), .1); stroke-width: 8; }
.clk--dial .clk__arc { stroke-width: 8; filter: drop-shadow(0 0 5px color-mix(in srgb, var(--acc-ink) 45%, transparent)); }
.clk__rest { fill: none; stroke: rgba(var(--tint), .3); stroke-width: 8; stroke-linecap: butt; }
.clk__tick { stroke: rgba(var(--tint), .22); stroke-width: 1.1; stroke-linecap: butt; }
.clk__tick.is-major { stroke: rgba(var(--tint), .4); stroke-width: 1.6; }
.clk__tick.is-in { stroke: var(--acc-ink); }
.clk__hand { stroke: var(--ink); stroke-width: 3; stroke-linecap: butt; }
/* the skin's rim (the Debrief's bezel) round the dial and the running ring: its opening (0.80 of it; Petrykivka's wreath
   0.72) clear of the ring's outer edge */
.clk-rim { position: absolute; left: 50%; top: 50%; z-index: 0; width: 124%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none;
  background: center / 100% 100% no-repeat; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .5)); }
.clk-rim--wreath { width: 146%; }
html[data-look="milk"] .clk-rim { filter: drop-shadow(0 6px 10px rgba(40, 30, 20, .25)); }
.clk-dial > .clk, .clk-rimmed > .clk { position: relative; z-index: 1; }
.clk-dial:has(.clk-rim) { margin: 26px auto 22px; }
.clk-dial:has(.clk-rim) .clk__track { stroke: rgba(var(--tint), .06); }
.clk-rimmed { position: relative; display: grid; place-items: center; }
.clk-sheet .clk-face .clk-rimmed { margin: 18px 0 14px; }
.clk-dial__n { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; pointer-events: none;
  font-size: calc(56px + 56 * var(--tz, 0px)); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.04em; line-height: 1; }
.clk-dial__n small { margin-top: 6px; color: var(--ink-3); font-size: calc(12px + 12 * var(--tz, 0px)); font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.clk-dial[aria-disabled="true"] .clk-dial__n { font-size: calc(36px + 36 * var(--tz, 0px)); letter-spacing: -.02em; }
.clk-dial--low { width: auto; padding: 18px 0; border-radius: 24px; }
.clk-dial--low .clk-dial__n { position: static; }
/* the sitting as it will go: four turns and their rests, the long one last, each as long as its minutes */
.clk-cycle { display: flex; gap: 3px; width: 100%; max-width: 380px; height: 6px; margin: 2px auto -6px; }
.clk-cycle:empty { display: none; }
.clk-cycle i { flex-basis: 0; border-radius: 3px; }
.clk-cycle__f { background: var(--acc-ink); }
.clk-cycle__r { background: rgba(var(--tint), .22); }
.clk-cycle__r.is-long { background: rgba(var(--tint), .34); }
.clk-plans { width: 100%; max-width: 380px; margin: 0 auto; }
.clk-say, .clk-today { margin: 0; }
/* the day's goal (2026-11-23, frap-clock.js THE DAY'S GOAL): a ring of today's minutes against the goal, closed and lit
   once it is met, in the sheet beside what it says, and the goal to choose under it */
.clk-day.is-met .clk__arc { stroke: var(--acc-ink); stroke-width: 4.4; filter: drop-shadow(0 0 3px var(--acc-ink)); }
.clk-day.is-met b { color: var(--acc-ink); }
html:is([data-watch="on"], [data-low="on"]) .clk-day.is-met .clk__arc { filter: none; }
.clk-goal { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px 14px; width: 100%; margin: 4px 0 0; padding: 14px;
  border: 1px solid rgba(var(--tint), .09); border-radius: 22px; background: rgba(var(--tint), .045); }   /* a card of its own, as TIDE's goal */
.clk-goal > .clk-mini { width: 56px; height: 56px; }
.clk-goal > .clk-mini .clk__track, .clk-goal > .clk-mini .clk__arc { stroke-width: 4.4; }
.clk-goal > .clk-mini b { font-size: calc(16px + 16 * var(--tz, 0px)); }
.clk-goal > .clk-n { font-size: calc(15px + 15 * var(--tz, 0px)); }
.clk-goal__t { display: grid; gap: 2px; margin: 0; text-align: start; }
.clk-goal__t b { font-weight: 650; }
.clk-goal__t span { font-size: calc(13px + 13 * var(--tz, 0px)); }
.clk-goals { grid-column: 1 / -1; }
.clk-say { display: grid; align-content: center; min-height: 2.7em; min-height: 2lh; }   /* two lines held: a drag to 5 never moves the sheet under the finger */
.clk-rest__art { height: 148px; overflow: hidden; border-radius: 20px; }
.clk-rest__art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
/* the bell at a round's end, under its score */
.clk-bell { display: grid; gap: 12px; margin: 14px 0 4px; padding: 14px 16px; border-radius: 20px; --r: 20px; text-align: left; }
.clk-bell__t { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--ink-2); font-size: calc(14px + 14 * var(--tz, 0px)); line-height: 1.4; }
.clk-bell__t b { color: var(--ink); }
.clk-bell .clk-b { justify-content: flex-start; }
/* a phone's narrow column: the bell's three on one line (at 360px «Stop here» stood alone) */
@media (max-width: 419.98px) {
  .clk-b { gap: 6px; }
  .clk-b .btn--s { padding-left: 11px; padding-right: 11px; font-size: 14px; }
}
/* Learn's offer, beside its Start (ROUNDS.md DK2): level with the button at the hero's foot, as tall; under 960px Start
   gives it its room and it says itself in its ring alone (its words kept for a screen reader) */
.def-hero__clock { position: absolute; z-index: 3; right: calc(var(--gutter) + var(--sar)); bottom: 22px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 56px; height: 56px; padding: 0 20px 0 14px; border: 0; border-radius: 28px; --r: 28px; color: var(--ink); font: inherit; font-size: calc(15px + 15 * var(--tz, 0px)); font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; cursor: pointer; }
.def-hero__clock > .i { width: 20px; height: 20px; }
@media (max-width: 959.98px) {
  .def-hero:has(> .def-hero__clock) .def-hero__btn { width: calc(100% - 68px); }
  .def-hero__clock { width: 56px; padding: 0; }
  .def-hero__clock .clk-chip__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  /* ITS UNIT, SAID (2026-11-25, a design critique): the ring alone read «0» beside Start, a score's place; the day's
     minutes are named under it, as the desk says «Today 0 of 30 min» */
  .def-hero__clock .clk-day { transform: translateY(-5px); }
  .def-hero__clock .clk-day::after { content: 'min'; position: absolute; top: calc(100% + 1px); left: 50%; transform: translateX(-50%); color: var(--ink-2); font-size: 10px; font-weight: 600; line-height: 1; letter-spacing: .02em; }
}
@media (min-width: 960px) {
  .def-hero__clock { right: 40px; bottom: 36px; }
  .def-hero__clock .clk-mini b, .def-hero__clock .clk-n { display: none; }   /* its time said beside the ring: the ring's minutes not twice */
}
/* a light change for the bell, in every skin; a calm skin's only one. Never in Field mode, under Low power or with less motion */
.clk-glow { position: fixed; inset: 0; z-index: 95; pointer-events: none; background: radial-gradient(120% 80% at 50% 0%, var(--acc-2), transparent 72%); opacity: 0; animation: clk-glow 3.2s ease-out both; }
@keyframes clk-glow { 0% { opacity: 0; } 25% { opacity: .2; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .clk-glow { display: none; } }
html[data-watch="on"] .clk-glow, html[data-low="on"] .clk-glow { display: none; }
/* The sidebar's foot on a desk: the clock's chip (its ring and time) while a sitting runs, the day's ring when none does;
   under 1100px a chip at the right of the page's own header (at the window's top right on a page drawn without one:
   frap-desk.js chip()), its ring alone: the turn's while one runs, the day's when none does */
.side__clkbox:empty { display: none; }
.side__clk { display: inline-flex; align-items: center; gap: 6px; min-height: calc(36px + 6 * var(--sv, 0px)); padding: 2px 10px 2px 3px; font-variant-numeric: tabular-nums; }
.side__clk > .clk-mini { width: calc(30px + 4 * var(--sv, 0px)); height: calc(30px + 4 * var(--sv, 0px)); }   /* grown with the foot's chips (THE MACBOOK) */
.side__foot .side__clk--idle { flex: none; min-width: calc(36px + 6 * var(--sv, 0px)); padding: 0; justify-content: center; color: var(--ink-2); }
/* while a sitting runs the clock takes a row of its own above the level, the skin and Settings, its ring at its left:
   its words («Rest 4:59», «Rest over») never squeeze the level's code under the skin's chip (2026-11-21, the sweep) */
html:not(.side-fold) .side__foot { flex-wrap: wrap; }
html:not(.side-fold) .side__foot .side__clkbox:not([data-k^="foot:idle"]) { display: flex; flex: 1 0 100%; }
html:not(.side-fold) .side__foot .side__clk:not(.side__clk--idle) { flex: 1; justify-content: flex-start; padding: 2px 12px 2px 3px; }
html.side-fold .side__clk { padding: 2px; }
html.side-fold .side__clk [data-t="s"] { display: none; }
html:not(.side-fold) .side__clk .clk-mini b, html:not(.side-fold) .side__clk .clk-n { display: none; }
.clk-btn { display: none; }
@media (max-width: 1099.98px) {
  .clk-btn:not(:empty) { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 7px !important; color: var(--ink-2); cursor: pointer; }
  body > .clk-btn:not(:empty) { position: fixed; z-index: 30; top: calc(var(--sat) + 12px); right: calc(var(--sar) + 14px); }
}
/* a short desk (a 768px-high laptop and less): the doors give up their lines before anything scrolls (from 701px the
   live doors are as tall as the window leaves them: THE LIVE DOORS, ITS HEIGHT) */
@media (min-width: 1100px) and (max-height: 700px) {
  .side__door { min-height: 46px; }
  .side__door.side__door--pic { aspect-ratio: auto; height: 50px; }
  .side__ic { width: 32px; height: 32px; }
  .side__line { display: none; }
}
/* A STRATEGY ON A DESK: two panes; the route or the lists, and the section in hand in a sticky
   panel at the right (frap.js fillPanel), its body the section sheet's own */
.strat__panel { display: none; }
@media (min-width: 1100px) {
  /* the page's foot 16px under the column, the sidebar's own (#view keeps 72px): held to its end, the panel stays whole */
  .strat { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; margin-bottom: -56px; }
  .strat__main { min-width: 0; }
  /* on the sidebar's line (2026-11-27): 16px from the window's top and foot, at rest and held, its top the cover's
     (thud.css .phead); it had stood 26px under them and 6px off the window's foot */
  .strat__panel {
    display: flex; flex-direction: column; position: sticky; top: 16px; max-height: calc(100dvh - 32px);
    --r: var(--r-card); border-radius: var(--r-card); margin-top: calc(-20px - var(--sat));
  }
  .strat__panel.in > * { animation: rise .5s var(--ease-out) both; }
  .strat__panel .sheet__body { padding: 22px 20px 14px; }
  .strat__panel .sheet__foot { padding: 10px 20px 20px; }
  .strat__panel .ss__head h2 { font-size: calc(26px + 26 * var(--tz, 0px)); }
  .stop__card.is-sel { box-shadow: inset 0 0 0 2px rgba(var(--tint), .55), inset 0 1px 0 rgba(255, 255, 255, .2), var(--cast); background-color: var(--glass-strong-fill); }
  .stop--next .stop__card.is-sel { box-shadow: inset 0 0 0 2px var(--acc-3), inset 0 1px 0 rgba(255, 255, 255, .2), var(--cast); }
  .pick .row.is-sel { background: rgba(var(--tint), .08); }
  .pick .row.is-sel .row__title { color: var(--ink); }
  @media (hover: hover) { .stop__card:hover:not(.is-sel) { background-color: var(--glass-strong-fill); } }
}
/* REVIEW AND RECORD ON A DESK: side by side (Review: the count and what comes; Record: the week
   and the record grouped, beside the latest rounds) */
@media (min-width: 1100px) {
  .rv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
  .rv-grid > .glass.empty, .rv-grid > .hero { margin: 0; }
  .rv-more > .sec-head:first-child, .rec-a > .sec-head:first-child, .rec-b > .sec-head:first-child { margin-top: 0; }
  .rec-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 30px; }
}
@media (min-width: 1280px) {
  /* Settings in two columns of groups: the level, the card and a round; sound, the look, your data */
  .set-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 28px; align-items: start; }
  .set-col:last-child > .set-h:first-child { margin-top: 0; }
}

/* ══ THE WAYS, FANNED OUT (frap-ways.js; ROUNDS.md DK3, 2026-11-20). «Ways» at the head of Learn's ways, on a
   strategy's bar and at the Grammar's and Reading's orders opens them in a sheet: «For you» (one large, three more,
   each with why it is offered and about how long it takes), «Not quite?», then every way; the course's months on a
   second tab. The cards come up one after another, a rise and a fade 30 ms apart, never a figure scaled; still under
   reduced motion, Low power, Field mode and a calm skin (verify_picks.py MOTION). From 960px the sheet is wide and its
   cards stand in threes. ═══════════════════════════════════════════════════════════════════════════════════════════ */
.ways-chip { min-height: 44px; padding: 0 14px; font-size: calc(14px + 14 * var(--tz, 0px)); color: var(--ink); cursor: pointer; }
.def-rail__head .ways-chip { grid-row: 1; grid-column: 2; align-self: center; margin: -8px 0; }
.ways-head { display: flex; align-items: baseline; gap: 10px; }
.ways-head > .gh { flex: 1; min-width: 0; }
.ways-head > .ways-chip { flex: none; }
.ways { padding-bottom: 26px; }
.ways__h { margin: 4px 2px 14px; }
.ways__sub { margin: -6px 2px 4px; }
.ways__tabs { margin: 0 0 14px; }
.ways__tabs .seg__opt[aria-selected="true"] { color: var(--on-seg); }
.ways__k { margin: 22px 2px 10px; color: var(--ink-2); font-size: calc(11px + 11 * var(--tz, 0px)); letter-spacing: .22em; }
.ways__course { display: flex; align-items: center; gap: 12px; padding: 14px 16px; --r: 18px; border-radius: 18px; color: var(--ink); text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--acc-ink); }
.ways__course-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ways__course-main .caps { color: var(--acc-ink); font-size: calc(11px + 11 * var(--tz, 0px)); letter-spacing: .22em; }
.ways__course-main b { font-size: calc(17px + 17 * var(--tz, 0px)); line-height: 1.25; }
.ways__course-main > span:not(.caps) { color: var(--ink-2); font-size: calc(14px + 14 * var(--tz, 0px)); line-height: 1.4; }   /* the day in it, then what it means */
.waypick { display: flex; align-items: flex-start; gap: 14px; height: 100%; padding: 12px 14px; --r: 18px; border-radius: 18px; color: var(--ink); text-decoration: none; }
.waypick__fig { flex: none; width: 128px; }
.waypick__fig .ofig { max-width: none; margin: 0; }
.waypick__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.waypick__by { color: var(--acc-ink); font-size: calc(11px + 11 * var(--tz, 0px)); letter-spacing: .22em; }
.waypick__name { font-size: calc(16.5px + 16.5 * var(--tz, 0px)); font-weight: 700; line-height: 1.22; }
.waypick__why { align-self: flex-start; margin: 2px 0 1px; padding: 3px 9px; border-radius: 999px; background: rgba(var(--tint), .09); color: var(--ink); font-size: calc(12.5px + 12.5 * var(--tz, 0px)); font-weight: 650; }
.waypick__line { color: var(--ink-2); font-size: calc(14px + 14 * var(--tz, 0px)); line-height: 1.4; }
.waypick__days { margin-top: 3px; color: var(--acc-ink); font-size: calc(13px + 13 * var(--tz, 0px)); font-weight: 650; }
.waypick--top { flex-direction: column; gap: 10px; height: auto; padding: 16px; box-shadow: inset 0 0 0 1.5px var(--acc-ink); }
.waypick--top .waypick__fig { width: 100%; max-width: 320px; }
.waypick--top .waypick__name { font-size: calc(22px + 22 * var(--tz, 0px)); letter-spacing: -.01em; }
.waypick--top .waypick__line { color: var(--ink); font-size: calc(15px + 15 * var(--tz, 0px)); }
.waypicks, .ways__all, .ways__orders, .ways__months { display: grid; gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; }
.waypick--all { padding: 10px 12px; }
.waypick--all .waypick__fig { width: 104px; }
.waypick--all .waypick__name { font-size: calc(15.5px + 15.5 * var(--tz, 0px)); }
.waypick--all .waypick__line { font-size: calc(13.5px + 13.5 * var(--tz, 0px)); }
.waypick.is-here { box-shadow: inset 0 0 0 1.5px var(--acc-ink); }
.ways__none, .ways__off { margin: 0 2px 12px; color: var(--ink-2); font-size: calc(14.5px + 14.5 * var(--tz, 0px)); line-height: 1.45; }
.ways__mine { margin: -4px 2px 14px; }   /* «Make the course my way» under the line that says it is off (COURSE.md call 31) */
.ways__ask { margin: 16px 0 0; padding: 14px 14px 4px; border-radius: 18px; background: rgba(var(--tint), .05); }
.ways__ask-h { margin: 0 0 10px; color: var(--ink-2); font-size: calc(11px + 11 * var(--tz, 0px)); letter-spacing: .22em; }
.ways__q { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 12px; }
.ways__qq { flex: 1 0 100%; color: var(--ink); font-size: calc(15px + 15 * var(--tz, 0px)); font-weight: 600; }
.ways__qa { display: flex; flex-wrap: wrap; gap: 8px; }
.ways__qa .chip { min-height: 38px; padding: 0 14px; color: var(--ink); font-size: calc(14px + 14 * var(--tz, 0px)); cursor: pointer; }
.ways__qa .chip[aria-pressed="true"] { background: var(--seg-fill); color: var(--on-seg); }
.ways__month { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; --r: 18px; border-radius: 18px; }
.ways__month .caps { color: var(--acc-ink); font-size: calc(11px + 11 * var(--tz, 0px)); letter-spacing: .22em; }
.ways__month b { font-size: calc(16.5px + 16.5 * var(--tz, 0px)); }
.ways__month-say { color: var(--ink-2); font-size: calc(14px + 14 * var(--tz, 0px)); line-height: 1.4; }
.ways__month-n { margin-top: auto; padding-top: 4px; color: var(--ink-2); font-size: calc(13px + 13 * var(--tz, 0px)); font-weight: 650; }
.ways__month[data-st="now"] { box-shadow: inset 0 0 0 1.5px var(--acc-ink); }
.ways__month[data-st="now"] .ways__month-n { color: var(--acc-ink); }
.ways__how { margin: 12px 0 0; padding: 14px; --r: 18px; border-radius: 18px; }
@keyframes way-fan { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: no-preference) {
  html:not([data-calm]):not([data-low="on"]):not([data-watch="on"]) .ways .fan { animation: way-fan .44s cubic-bezier(.2, .8, .25, 1) both; animation-delay: calc(var(--i, 0) * 30ms + 80ms); }
}
@media (min-width: 960px) {
  .sheet.sheet--ways { max-width: 880px; }
  .waypick--top { flex-direction: row; align-items: center; gap: 22px; padding: 18px 20px; }
  .waypick--top .waypick__fig { width: 300px; }
  .waypicks, .ways__all, .ways__orders, .ways__months { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .waypicks .waypick, .ways__all .waypick, .ways__orders .waypick { flex-direction: column; gap: 8px; }
  .waypicks .waypick__fig, .ways__all .waypick__fig, .ways__orders .waypick__fig { width: 100%; }
  .ways__q { flex-wrap: nowrap; }
  .ways__qq { flex: 0 0 14em; }
}
.ways__note { margin: 0 2px 10px; color: var(--ink-2); font-size: calc(14px + 14 * var(--tz, 0px)); line-height: 1.45; }

/* WHERE YOUR WORDS STAND (frap-record.js sankeyHtml, 2026-11-23): a desk's Sankey, strategies into how long each word is
   left before it comes back; the four stages one hue rising in strength, the accent's ink the strongest. A phone has no room
   for it to read: it is drawn from 900px */
.sk-wrap { display: none; }
@media (min-width: 900px) { .sk-wrap { display: block; } }
.sk { padding: 18px 18px 12px; }
.sk__svg { display: block; width: 100%; height: auto; overflow: visible; }
.sk__node { fill: var(--ink-2); }
.sk__flow { opacity: .34; transition: opacity .2s; }
.sk__flow:hover { opacity: .75; }
.sk__from { stop-color: var(--ink-3); stop-opacity: .5; }
.sk__to { stop-color: var(--acc-ink); } .sk__to.sk--met { stop-opacity: .35; } .sk__to.sk--learn { stop-opacity: .6; } .sk__to.sk--settle { stop-opacity: .82; }
.sk__node.sk--met { fill: var(--acc-ink); opacity: .45; } .sk__node.sk--learn { fill: var(--acc-ink); opacity: .62; }
.sk__node.sk--settle { fill: var(--acc-ink); opacity: .8; } .sk__node.sk--strong { fill: var(--acc-ink); }
.sk__label { font: 600 12.5px/1 var(--face); fill: var(--ink); }
.sk__n { font-weight: 400; fill: var(--ink-3); }
.sk__key { margin: 8px 0 0; }
@media (prefers-reduced-motion: reduce) { .sk__flow { transition: none; } }
