/* Sound: the styles, all inside #sound.
   The page is mostly white, so this section is white, with no ground of its own.
   One layout on a computer: Lumi in the middle, its voices and the hum under it, the lines, then
   where the voice was made, all fitted to one screen. The heading keeps its neighbours' size (--u0)
   and the rest is counted in --u, which sound.js scales down (--k) only as far as the screen's
   height needs. A phone has one stacked layout.
   LAYERS. The one Lumi sits in the seat here and goes on to the Rulebook. #sound and its stage
   make no layer of their own; its seat sits on layer 1 and the words and buttons on layer 2, so it
   passes under this section's words on its way out. Nothing here crops, masks or clips Lumi, its bubble or its glow.
   Its bubble and the words in it are the shared helper's: nothing of the bubble is styled here.
   Motion is transform and opacity only, on the page's own duration tokens, which drop to 1ms under
   Reduce motion. Icons are Lucide only (icons.js). */
@keyframes s-drift { to { background-position: 200% 0; } }

#sound {
  .s11 {
    --hh: clamp(40rem, 100svh, 54rem); --fh: 60; --u0: min(1cqw, calc(var(--hh) / var(--fh)));
    --k: 1; --u: calc(var(--u0) * var(--k));   /* --k: sound.js, so the whole layout fits one screen */
    --pad: calc(5 * var(--u0));
    --edge: calc((100% - 100 * var(--u0)) / 2);
    --ink: var(--neutral-950); --sub: var(--neutral-600); --rule: var(--neutral-300);
    --line: var(--neutral-550);           /* the edge of a button: a grey that holds 3 to 1 on white */
    /* The heading is a little under its neighbours' 6.72 on purpose: Lumi's name is 1.44 of the
       heading, and the tallest thing in a section heading stays under the hero's title (9.6 on a
       computer, 12.6 on a phone). 6.6 x 1.44 = 9.5; 8.7 x 1.44 = 12.5. */
    --title: 6.6; --h3: 2.1; --body: 2; --small: 1.5; --tiny: 1.3;
    --ls: 50; --lh: 27;                   /* Lumi's seat: how wide, and how tall the room it stands in */
    --lk: 1.5; --hk: 0.7; --gk: 2;        /* Lumi's size, the small headings and the space between parts, as set for this page */
    --gap: calc(2.6 * var(--u) * var(--gk));
    /* The air above and below is the page's (--section-padding on every .row). */
    position: relative; box-sizing: border-box;
    display: grid; gap: var(--gap); align-items: start;
    grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "seat" "vb" "lines" "made";
    padding: 0 calc(var(--edge) + var(--pad));
    background: none; color: var(--ink);
    scroll-margin-top: var(--section-padding);
  }
  .s-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

  /* ---- the heading, on the middle line ---- */
  .s-head { grid-area: head; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
  .s-title {
    margin: 0;
    font-family: var(--font-display); font-weight: var(--display-weight);
    font-size: calc(var(--title) * var(--u0)); line-height: var(--line-display); letter-spacing: var(--display-tight);
    text-wrap: balance;
  }
  .s-lead {
    margin: calc(var(--body) * var(--u0) * 0.7) 0 0; max-width: none;
    font-size: calc(var(--body) * var(--u0)); font-weight: var(--weight-medium); line-height: var(--line-snug);
    color: var(--sub); text-wrap: pretty;
  }
  /* Lumi's name, in its own lower-case letters with its colours moving through them (size 1.44 of
     the heading; spacing -0.06; gaps L to U +0.015, U to M -0.03, M to I -0.03). Only the name
     takes it. line-height 0, so the taller word never opens the heading's lines. */
  .s-name {
    font-family: var(--font-body); font-weight: var(--weight-medium); letter-spacing: -0.06em;
    font-size: max(1.44em, 1.5rem); line-height: 0; /* lint-ok: Lumi's name is 1.44 of its own heading, not a step on the type scale */
  }
  .s-name .k-u { margin-left: 0.015em; }
  .s-name .k-m, .s-name .k-i { margin-left: -0.03em; }
  @supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .s-name {
      margin: -0.08em -0.04em; padding: 0.08em 0.04em;
      background: linear-gradient(90deg, var(--fx-spectrum-1), var(--fx-spectrum-6), var(--fx-spectrum-5), var(--fx-spectrum-6), var(--fx-spectrum-1)) 0 0 / 200% 100%;
      -webkit-background-clip: text; background-clip: text; color: transparent;
      animation: s-drift calc(var(--fx-spectrum-spin) * 3) linear infinite;
    }
    .s11[data-name-paused] .s-name { animation-play-state: paused; }
  }
  @media (prefers-reduced-motion: reduce) { .s-name { animation: none; } }
  /* the heading itself stops and starts the name's colours: a see-through button over it */
  .s-name-toggle { all: unset; position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--title) * var(--u0) * 1.3); cursor: pointer; border-radius: var(--radius-lg); }
  /* a button reached by keyboard lands a little inside the screen, never flush against its edge (its focus ring needs the room) */
  .s-pad, .s-any, .c-tab, .s-made-a, .s-name-toggle { scroll-margin: var(--space-400); }
  .s-name-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: var(--space-200); }

  /* the section arrives: its heading, then the rest. Lumi's seat never fades or moves. */
  .s-title, .s-lead, .s-lay > * { transition: opacity var(--duration-flourish) var(--ease-default), transform var(--duration-expressive) var(--ease-emphasized); }
  .s11:not([data-on~="type"]) :is(.s-title, .s-lead),
  .s11:not([data-on~="body"]) .s-lay > * { opacity: 0; transform: translateY(var(--space-500)); }

  /* an icon: a Lucide drawing (icons.js), one letter-height square, in the ink of the words by it */
  .s-ico { display: block; flex: none; width: 1em; height: 1em; }

  /* ---- Lumi's seat. Filled by sound.js. ---- */
  .s-seathold {
    grid-area: seat; position: relative; z-index: 1; align-self: start; height: calc(var(--lh) * max(1, var(--lk)) * var(--u));   /* Lumi's room grows with its size (the screen fit then shrinks the rest) */
  }
  /* the sound waves: a picture behind Lumi (sound.js draws it and sets its box: the whole width of the section on a computer, Lumi's own band on a phone). They show only while Lumi is in its seat. */
  .s-waves { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; pointer-events: none; opacity: 0; transition: opacity var(--duration-slow) var(--ease-default); }
  .s11[data-lumi="home"]:not([data-gone]) .s-waves { opacity: 1; }
  /* the seat is Lumi's whole drawing (its body is the middle 56%), so it may stand wider and taller than its room: it is centred on it. Its clear corners never take a tap meant for a button beside it; only Lumi's own button does. */
  .s-seat { --sw: calc(var(--ls) * var(--lk) * var(--u)); position: relative; left: 50%; width: var(--sw); aspect-ratio: 1; margin: calc((var(--lh) * max(1, var(--lk)) * var(--u) - var(--sw)) / 2) 0 0 calc(var(--sw) / -2); pointer-events: none; }
  .s-fly { position: absolute; inset: 0; pointer-events: none; }
  .s-fly canvas { position: absolute; left: 0; top: 0; display: block; width: 100%; height: 100%; }
  /* Lumi's button: the helper puts it on the body; until then it rests in the middle */
  .s-hit {
    position: absolute; left: 26%; top: 26%; width: 48%; height: 48%; z-index: 1; margin: 0; padding: 0; pointer-events: auto;
    border: 0; border-radius: var(--btn-radius); background: none; cursor: grab; -webkit-tap-highlight-color: transparent;
  }
  .s-hit:active { cursor: grabbing; }
  .s-hit:focus-visible { outline: 2px solid var(--ink); outline-offset: var(--focus-ring-offset); }
  /* its line as plain words: read out by a screen reader always; shown only where its bubble cannot be */
  .s-line { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .s11[data-say="plain"] .s-line {
    position: absolute; left: 0; right: 0; bottom: 0; width: auto; height: auto; margin: 0; overflow: visible; clip-path: none; white-space: normal; text-align: center;
  }
  /* no shared helper at all: the line as plain words */
  .s11[data-say="plain"] .s-line:not(.lumi-say) { font-family: var(--font-mono); font-size: var(--size-base); font-weight: var(--weight-medium); line-height: var(--line-snug); }
  /* the helper's one bubble (sound.js plainBox): its look comes from lumi-bubble.css; here it only hugs the words, centred */
  .s11[data-say="plain"] .s-line.lumi-say { inline-size: max-content; margin-inline: auto; }
  /* on a computer it sits in the middle of Lumi's empty seat, clear of the voice bar under it */
  @container row (min-width: 1001px) { .s11[data-say="plain"] .s-line.lumi-say { top: 50%; bottom: auto; translate: 0 -50%; } }

  /* the parts sit straight on the stage's grid */
  .s-lay { display: contents; }
  .s-lay > * { position: relative; z-index: 2; }

  /* =====================================================================
     THE BUTTONS THAT PLAY A SOUND. A voice (a segment of a bar) and a line Lumi says (a pill).
     Each fills for as long as its sound lasts, and its mark turns to the lines of a sound while it is on.
     ===================================================================== */
  .s-pad {
    position: relative; box-sizing: border-box; margin: 0; padding: 0; border: 0; background: none; color: var(--ink);
    font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; min-height: 2.75rem;
  }
  .s-pad:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: var(--radius-sm); }
  .s-pad-i { flex: none; display: inline-flex; align-items: center; justify-content: center; }
  .s-ico--live, .s-pad[aria-pressed="true"] .s-ico--rest { display: none; }
  .s-pad[aria-pressed="true"] .s-ico--live { display: block; }
  .s-pad-t { position: relative; min-width: 0; }
  .s-pad-n { font-size: max(1rem, calc(1.3 * var(--u))); font-weight: var(--weight-semibold); line-height: var(--line-title); }
  .s-pad[hidden] { display: none !important; }   /* a line outside the open tab stays hidden, whatever shape it has */
  .s-pad-f { position: absolute; background: var(--ink); transform: scaleX(0); transform-origin: left; pointer-events: none; }
  @media (prefers-reduced-motion: reduce) { .s-pad[aria-pressed="true"] .s-pad-f { transform: scaleX(1); } }

  /* A voice, or the hum: one part of a bar. The bar is one object with one edge; the part that is
     sounding turns to ink, and a soft sweep crosses it for as long as the sound lasts. */
  .c-bar { display: inline-flex; align-items: stretch; gap: calc(0.2 * var(--u)); padding: calc(0.35 * var(--u)); border: 1px solid var(--line); border-radius: var(--bar-radius); }
  .s-pad--seg {
    display: inline-flex; align-items: center; gap: 0.5em; min-height: max(2.75rem, calc(3.3 * var(--u))); padding: 0 calc(1.5 * var(--u)); border-radius: var(--btn-radius); white-space: nowrap; overflow: hidden;
    transition: background-color var(--duration-base) var(--ease-default), color var(--duration-base) var(--ease-default);
  }
  .s-pad--seg .s-pad-n { font-size: max(1rem, calc(1.3 * var(--u))); font-weight: var(--weight-semibold); }
  .s-pad--seg .s-pad-i { position: relative; font-size: max(1rem, calc(1.3 * var(--u))); }
  .s-pad--seg:hover { background: var(--neutral-100); }
  .s-pad--seg:focus-visible, .s-pad--line:focus-visible, .s-any:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: var(--btn-radius); }
  /* the pick: one small dot in the brand's lime by its name (said in words in the line above, and to a screen reader) */
  .s-pad-dot { position: relative; flex: none; width: 0.55em; height: 0.55em; border-radius: var(--dot-radius); background: var(--brand-primary); font-size: max(1rem, calc(1.3 * var(--u))); }

  /* a line Lumi says: a pill, large enough to read at a glance */
  .s-pad--line {
    display: inline-flex; align-items: center; gap: 0.55em; min-height: max(2.75rem, calc(3.2 * var(--u))); padding: 0 1.15em;
    border: 1px solid var(--line); border-radius: var(--chip-radius); white-space: nowrap; overflow: hidden;
    transition: background-color var(--duration-base) var(--ease-default), border-color var(--duration-base) var(--ease-default), color var(--duration-base) var(--ease-default);
  }
  .s-pad--line .s-pad-n { font-size: max(1rem, calc(1.2 * var(--u))); font-weight: var(--weight-medium); }
  .s-pad--line:hover { border-color: var(--ink); }
  .s-pad--line .s-ico--moon { position: relative; font-size: max(1rem, calc(1.25 * var(--u))); color: var(--sub); }
  .s-pad--seg[aria-pressed="true"], .s-pad--line[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--color-surface); }
  .s-pad--line[aria-pressed="true"] .s-ico--moon { color: inherit; }
  .s-pad--seg .s-pad-f, .s-pad--line .s-pad-f { inset: 0; background: var(--color-surface); opacity: var(--alpha-200); }
  .s-pad--seg .s-pad-t, .s-pad--line .s-pad-t { position: relative; }

  /* which lines show: plain words, the open one underlined; then one filled button that plays any of them */
  .c-tabs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 calc(2 * var(--u)); margin-bottom: calc(1 * var(--u)); }
  .c-tab {
    box-sizing: border-box; margin: 0; padding: 0 0.15em; border: 0; background: none; min-height: 2.75rem; display: inline-flex; align-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent;
    font: inherit; font-size: max(1rem, calc(1.25 * var(--u))); font-weight: var(--weight-semibold); color: var(--sub); white-space: nowrap;
    text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 0.45em;
    transition: color var(--duration-base) var(--ease-default), text-decoration-color var(--duration-base) var(--ease-default);
  }
  .c-tab:hover { color: var(--ink); }
  .c-tab[aria-pressed="true"] { color: var(--ink); text-decoration-color: var(--ink); }
  .c-tab:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: var(--radius-sm); }
  .s-any {
    display: inline-flex; align-items: center; gap: 0.55em; min-height: 2.75rem; margin: 0 0 0 calc(0.6 * var(--u)); padding: 0 1.25em; border: 0; border-radius: var(--btn-radius);
    background: var(--ink); color: var(--color-surface); cursor: pointer; white-space: nowrap; -webkit-tap-highlight-color: transparent;
    font: inherit; font-size: max(1rem, calc(1.3 * var(--u))); font-weight: var(--weight-semibold);
  }
  .s-any .s-ico { font-size: 1.15em; }
  /* Surprise me sits centred under the lines, edged in ink and lit in Lumi's colours on hover */
  .s11 .c-set--says > .s-any { flex: 0 0 auto; margin: calc(1.8 * var(--u)) auto 0; }
  .s11 .s-any { border: 2px solid transparent; background: linear-gradient(var(--ink), var(--ink)) padding-box, linear-gradient(var(--ink), var(--ink)) border-box; transition: background var(--duration-flourish) var(--ease-default); }
  .s11 .s-any:is(:hover, :focus-visible) {
    background: linear-gradient(var(--ink), var(--ink)) padding-box, linear-gradient(90deg, var(--fx-spectrum-1), var(--fx-spectrum-6), var(--fx-spectrum-5), var(--fx-spectrum-6), var(--fx-spectrum-1)) 0 0 / 200% 100% border-box;
    animation: s-drift calc(var(--fx-spectrum-spin) * 3) linear infinite;
  }
  .s11 .s-any:is(:hover, :focus-visible) .s-ico { color: var(--fx-spectrum-6); }
  @media (prefers-reduced-motion: reduce) { .s11 .s-any:is(:hover, :focus-visible) { animation: none; } }

  /* where the voice was made: one small line, the real mark in its own colour beside it */
  .s-made { grid-area: made; display: flex; align-items: center; justify-content: center; gap: 0.7em; margin: 0; text-align: center; font-size: max(0.9375rem, calc(1.2 * var(--u))); }
  .s-made-g { display: block; width: auto; height: 1.5em; }
  .s-made-t { font-weight: var(--weight-medium); line-height: var(--line-snug); color: var(--sub); }
  .s-made-a { white-space: nowrap; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
  .s-made-a::after { content: "\2197"; display: inline-block; margin-left: 0.12em; text-decoration: none; }
  .s-made-a:focus-visible { outline: 2px solid var(--ink); outline-offset: var(--focus-ring-offset); border-radius: var(--radius-sm); }

  /* =====================================================================
     THE PARTS: voices with the hum, and the lines. Each is a section with a small heading.
     ===================================================================== */
  .c-card { position: relative; z-index: 2; box-sizing: border-box; min-width: 0; border-radius: var(--radius-xl); }
  .c-vb { grid-area: vb; } .c-lines { grid-area: lines; }
  .c-set { display: flex; flex-direction: column; align-items: center; min-width: 0; text-align: center; }
  /* more air above a small heading (the gap between parts) than below it */
  .c-h { margin: 0 0 calc(0.9 * var(--u)); font-family: var(--font-display); font-weight: var(--display-weight); font-size: max(1.125rem, calc(var(--h3) * var(--hk) * var(--u))); line-height: var(--line-display); letter-spacing: var(--display-tight); }
  .c-sub { margin: calc(-0.3 * var(--u)) 0 calc(1.1 * var(--u)); font-size: max(0.875rem, calc(1.15 * var(--u))); font-weight: var(--weight-medium); line-height: var(--line-snug); color: var(--sub); }
  /* no small heading over the lines: it is kept for a screen reader */
  .s11 #snd-h-lines { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

  /* the lines: pills that wrap. A long tab scrolls inside its own box, so the section keeps its height. */
  .c-set--says { align-items: stretch; }
  .c-chips { display: flex; flex-wrap: wrap; justify-content: center; align-content: flex-start; gap: calc(0.7 * var(--u)); }

  /* =====================================================================
     A COMPUTER (the section is wider than 1000px): Lumi in the middle, its voices and the hum
     under it, then the lines in two tight rows. Lumi's body is the middle 56% of its seat, and
     nothing ever lies over that middle.
     ===================================================================== */
  @container row (min-width: 1001px) {
    .s-lead { white-space: nowrap; }
    .s-seat { position: absolute; top: 50%; margin-top: calc(var(--sw) / -2); }
    /* Lumi's words stand above it: where Lumi's room is not tall enough to hold its longest line above it, the room moves down
       by the difference, so the bubble never lies over the words above (--say-reach: sound.js, room()) */
    .s-seathold {
      margin-top: max(0px, calc(var(--say-reach, 0px) - (var(--lh) * max(1, var(--lk)) * var(--u) - var(--ls) * var(--lk) * var(--u)) / 2 - var(--gap)));
    }
    /* the lines' box keeps its height whichever tab is open, so the section never jumps; a long tab scrolls inside it */
    .c-says {
      --rows: 2; box-sizing: content-box; height: calc(var(--rows) * max(2.75rem, calc(3.2 * var(--u))) + (var(--rows) - 1) * 0.7 * var(--u)); padding: 5px;
      margin: -5px; margin-top: calc(0.8 * var(--u) - 5px); flex: 1 0 100%; /* lint-ok: undoes the 5px padding above that keeps the focus rings inside the scroll box */ /* box-side-ok: all sides out by 5px, then the top edge set */
      overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--rule) transparent;
    }
    .s-pad--seg .s-pad-i { display: none; }
    .s-any { margin-left: calc(0.4 * var(--u)); padding: 0 1.05em; }
    /* on one screen the line under a small heading is kept for a screen reader only */
    .c-sub { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .c-vb { display: flex; justify-content: center; align-items: center; gap: calc(3.2 * var(--u)); }
    .c-set--voice { flex-direction: row; align-items: center; gap: calc(1.2 * var(--u)); }
    .c-h { margin: 0; }
    /* "Lines" and its tabs on one centred row, the lines under them (the lines never widen that row) */
    .c-set--says { display: flex; flex-flow: row wrap; justify-content: center; align-items: center; column-gap: calc(2 * var(--u)); }
    .c-tabs { margin: 0; }
  }

  /* =====================================================================
     A PHONE (the section is 1000px wide or less): one column. Lumi stays at the top of the
     screen while the voices and the lines pass beneath. The last grid row ("fx") is empty and keeps its gap.
     ===================================================================== */
  @container row (max-width: 1000px) {
    .s-lead { text-wrap: balance; }   /* even lines on a phone, so the line never ends on two short words */
    .s11 {
      --hh: clamp(48rem, 122svh, 76rem); --fh: 230; --pad: calc(6 * var(--u));
      --title: 8.7; --h3: 5.6; --body: 4.27; --small: 3.47; --tiny: 3.2; --ls: 52; --gap: calc(8 * var(--u) * var(--gk));
      grid-template-areas: "head" "seat" "vb" "lines" "fx" "made";
    }
    .s-head { padding-bottom: calc(2.75rem + 4 * var(--u)); }
    .c-h { margin-bottom: calc(1.6 * var(--u)); }
    .c-sub { margin: 0 0 calc(3.5 * var(--u)); font-size: max(0.9375rem, calc(3.8 * var(--u))); }
    /* The band is the page's own white, and sits over the buttons only while Lumi is in it (on its
       way out Lumi is under the words, as everywhere else). */
    .s-seathold {
      align-self: start; height: calc(var(--ls) * var(--lk) * var(--u) + var(--say-down, 0px) + 1 * var(--u) + min(0px, (var(--lh) * max(1, var(--lk)) - var(--ls) * var(--lk)) * var(--u) / 2));   /* less the part of Lumi's square that stands above the band (its clear top), so no dead room is left under Lumi */
      margin: calc(-3 * var(--u)) calc(-1 * var(--pad)) 0; background: var(--color-surface);
    }
    .s-seat { position: absolute; top: 0; }
    .s11[data-lumi="home"]:not([data-gone]) .s-seathold { z-index: 3; box-shadow: 0 1px 0 var(--rule); }
    /* only on a screen tall enough to leave room under Lumi; a button reached by keyboard stops below the band, never under it */
    @media (min-height: 600px) {
      .s-seathold { position: sticky; top: 0; }
      .s-pad, .s-any, .c-tab, .s-made-a { scroll-margin-top: calc((var(--ls) + 12) * var(--u) + var(--say-down, 0px)); }
    }
    .s-made { flex-direction: column; gap: calc(2.5 * var(--u)); font-size: max(0.9375rem, calc(3.8 * var(--u))); }
    .c-vb { display: flex; flex-direction: column; gap: calc(8 * var(--u)); }
    .c-set { align-items: stretch; }
    .c-chips { gap: calc(2 * var(--u)); }
    /* the five voices and the hum: one list, full width, a hairline between each, as on a phone's own settings */
    .c-set--voice .c-bar { align-self: stretch; display: grid; gap: 0; padding: 0; border-radius: var(--radius-xl); overflow: hidden; }
    .c-set--voice .s-pad--seg { border-radius: 0; min-height: 3.25rem; padding: 0 calc(5 * var(--u)); gap: calc(3 * var(--u)); }
    .c-set--voice .s-pad--seg + .s-pad--seg { box-shadow: inset 0 1px 0 var(--rule); }
    .c-set--voice .s-pad--seg:focus-visible { outline-offset: -3px; border-radius: var(--radius-lg); }
    .c-set--voice .s-pad-dot { margin-left: auto; }
    .s-pad--seg { padding: 0 calc(6 * var(--u)); }
    .s-pad--seg .s-pad-n { font-size: max(1.0625rem, calc(4.3 * var(--u))); }
    .s-pad--seg .s-pad-i { font-size: max(1.125rem, calc(4.5 * var(--u))); }
    .c-tabs { gap: 0 calc(5 * var(--u)); margin-bottom: calc(4 * var(--u)); }
    .c-tab { font-size: max(1rem, calc(4.1 * var(--u))); }
    .s-any { flex: 1 0 100%; justify-content: center; max-width: 15rem; margin: calc(3 * var(--u)) auto 0; font-size: max(1rem, calc(4.1 * var(--u))); }
    /* a long line wraps inside its pill here */
    .s-pad--line { white-space: normal; text-align: center; padding: 0.7em 1.2em; border-radius: var(--radius-xl); }
    .s-pad--line .s-pad-n { font-size: max(1rem, calc(4.1 * var(--u))); line-height: var(--line-snug); }
  }
}

/* The whole page fade (case/trip.js): on a phone Lumi's sticky band paints the page's ground, fixed to the
   screen as the page's is, and Have a play's tints while they show, so the band never shows an edge. */
@container row (max-width: 1000px) {
  html[data-cs-fade="page"] #sound .s-seathold { background-color: var(--cs-g); background-attachment: fixed; }
  html[data-cs-fade="page"][data-cs-wash] #sound .s-seathold { animation: pp-shift 24s linear infinite; background-image: var(--cs-tints); } /* lint-ok: Have a play's own drift timing (play.css) */
}
