/* The landing page, as the group talks. Huge type, the brace handed to
   each word, the real app filmed on a stage, and every chapter opening on
   what the group says when something goes wrong (a hot rose bubble) before
   the fix lands in one big line.

   Colour keeps the app's meanings and turns two of them up. Ember is life
   and the one action: the brace, the key, the presence dots, the lit seats.
   Hot rose is what we're not: the pains, and the band that says no ads.
   Electric iris is the one structural flash: the 1 GB card and the "vs".
   Everything else is the night: ink, plum, moon, mist.

   Motion uses two curves. --ease (a strong ease-out) moves and fades
   everything; --settle (a spring about 6% past rest) lands the key and the
   stickers. Arrivals play once and rest; nothing moves with the scroll
   position, so the page only ever moves with the finger; asked for less
   motion, the page is still. */

@font-face {
  font-family: 'Atkinson Hyperlegible Next Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Fraunces Variable';
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/fraunces-latin-wght-italic.woff2') format('woff2-variations');
}

:root {
  color-scheme: dark;
  --ink: #0d0d13;
  --night: #121019;
  --panel: #16141d;
  --panel-2: #1c1a25;
  --line: #2d2d3c;
  --line-strong: #454356;
  --moon: #f3ede4;
  --moon-bright: #fffaf2;
  --mist: #b2adbb;
  --dim: #8d8899;
  --ember: #e8a86d;
  --ember-rgb: 232 168 109;
  --ember-bright: #f5b67a;
  --ledge: #b06e3a;
  --plum: #241932;
  --iris: #b5a5d9;
  /* The two turned-up accents. Ink reads on both (7.6:1 and 6.6:1). */
  --hot: #ff7d93;
  --hot-rgb: 255 125 147;
  --volt: #9d8cff;
  --volt-rgb: 157 140 255;

  --sans: 'Atkinson Hyperlegible Next Variable', system-ui, sans-serif;
  --display: 'Fraunces Variable', Georgia, serif;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  /* Type: five sizes for the page's own words. One shout (the headline,
     the big card figures, the last line), one statement (each chapter's
     heading), one title (the ticket's figures and the cards' lines), body
     (ledes, questions, and talk), and small (captions, tags, and notes).
     Weight and colour carry the rest. Drawings of the app keep the app's
     own sizes. */
  --t-mega: clamp(2.75rem, .6rem + 6.6vw, 7rem);
  --t-fix: clamp(2.125rem, .9rem + 3.9vw, 4.5rem);
  --t-title: clamp(1.625rem, 1rem + 1.8vw, 2.5rem);
  --t-body: clamp(1rem, .82rem + .45vw, 1.25rem);
  --t-small: .875rem;

  /* Space on one scale of 4s and 8s; sections breathe on --section. */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --section: clamp(80px, 8vw, 128px);
  --gutter: clamp(16px, 3.5vw, 50px);
  --shell: min(1340px, 100% - 2 * var(--gutter));

  --r-control: 12px;
  --r-card: 28px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --settle: linear(0, .62 9%, 1.06 22%, 1.01 38%, .996 55%, 1);
}

/* ── Ground ───────────────────────────────────────────────────────────── */

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--moon);
  background:
    url('/media/grain.webp'),
    radial-gradient(ellipse 70% 52rem at 30% -12rem, rgb(96 69 150 / .26), transparent 70%),
    var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.55;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, video, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 4px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
/* Words that read as one unit (a date, a price, a short phrase) wrap together. */
.keep { white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -80px; padding: 10px 14px; border-radius: var(--r-control); color: var(--ink); background: var(--ember); font-weight: 800; }
.skip-link:focus { top: 12px; }
main { overflow-x: clip; }
.mono { font-family: var(--mono); font-size: .86em; letter-spacing: 0; }

/* ── The bar ──────────────────────────────────────────────────────────── */

/* A band across the top that gathers into a floating pill once the first
   screen has gone; it keeps its height, so nothing under it moves. Both
   are near-opaque plum with no backdrop blur: blurring whatever scrolls
   under them, playing films included, dropped frames. Nothing
   in the bar changes size either: the pill is drawn at its own size and
   fades in, and the wordmark and the keys slide into it, so the gathering
   is all on the compositor (no layout, no shift). */
.bar { position: sticky; top: 0; z-index: 20; height: 76px; overflow-x: clip; container-type: inline-size; }
.bar::before { content: ''; position: absolute; inset: 0; z-index: -1; border-bottom: 1px solid rgb(255 255 255 / .06); background: color-mix(in srgb, var(--plum) 90%, transparent); transition: opacity 240ms var(--ease), visibility 0s; }
.nav { --nav-w: min(1340px, 100cqw - 2 * var(--gutter)); --pill-w: min(1080px, 100cqw - 32px); --pill-h: 60px; --pill-in: 24px; --pill-out: 8px; --gather: calc((var(--nav-w) - var(--pill-w)) / 2);
  position: relative; isolation: isolate; width: var(--nav-w); min-height: 76px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.nav::before { content: ''; position: absolute; z-index: -1; top: calc(50% - var(--pill-h) / 2); left: calc(50% - var(--pill-w) / 2); width: var(--pill-w); height: var(--pill-h); border: 1px solid rgb(255 255 255 / .1); border-radius: 999px; background: color-mix(in srgb, var(--plum) 97%, transparent); box-shadow: 0 18px 40px -18px rgb(0 0 0 / .9); opacity: 0; scale: 1.03 1.12; transition: opacity 240ms var(--ease), scale 240ms var(--ease); pointer-events: none; }
.nav > .wordmark, .nav-ctas { transition: translate 240ms var(--ease); }
.bar.pill::before { opacity: 0; visibility: hidden; transition: opacity 240ms var(--ease), visibility 0s linear 240ms; }
.bar.pill .nav::before { opacity: 1; scale: 1; }
.bar.pill .nav > .wordmark { translate: calc(var(--gather) + var(--pill-in)) 0; }
.bar.pill .nav-ctas { translate: calc(-1 * (var(--gather) + var(--pill-out))) 0; }
/* The page's scroll-padding keeps focused content clear of the bar, but the
   bar's own links sit inside that padding: without this, each Tab into the
   bar scrolled the page up about 400px to "reveal" a link already in view.
   The scroll box is moved down whole, not shrunk, so browsers agree on it. */
.bar a { scroll-margin-top: -120px; scroll-margin-bottom: 120px; }
@media (prefers-reduced-transparency: reduce) { .bar::before, .nav::before { background: var(--plum); } }
.wordmark { width: 4.75rem; min-height: 44px; display: inline-flex; align-items: center; line-height: 0; }
.wordmark img { width: 100%; height: auto; }
.nav-links { display: flex; gap: 32px; }
.nav-links a, .nav-signin { min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; font-size: var(--t-small); font-weight: 700; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1.5px; text-underline-offset: 7px; transition: text-decoration-color 150ms var(--ease), color 150ms var(--ease); }
/* Only as wide as the keys, so sliding into the pill never lays an empty
   box over the links. */
.nav-ctas { justify-self: end; display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.nav-signin { padding: 0 8px; }
.nav-demo { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border: 1px solid rgb(255 255 255 / .16); border-radius: var(--r-control); background: rgb(255 255 255 / .05); font-size: var(--t-small); font-weight: 700; transition: background 150ms var(--ease), border-color 150ms var(--ease); }
@media (hover: hover) {
  .nav-links a:hover, .nav-signin:hover { text-decoration-color: rgb(var(--ember-rgb) / .85); }
  .nav-demo:hover { border-color: rgb(255 255 255 / .3); background: rgb(255 255 255 / .09); }
}

/* ── The key ──────────────────────────────────────────────────────────── */

/* Starting a server is one physical key wherever it appears. It stands on a
   darker ledge, sinks a little under the pointer and all the way under a
   press, then springs back past rest. A lamp inside follows a fine pointer,
   its glow rises, and its arrow draws a shaft as it leans toward the click.
   The glow and the lamp only fade and the key only slides, so the compositor
   carries the motion; the ledge is a crisp shadow, cheap to redraw. */
.key {
  --key-h: 64px;
  --drop: 5px;
  position: relative;
  isolation: isolate;
  min-height: var(--key-h);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 28px 0 32px;
  border-radius: 16px;
  color: var(--ink);
  background: linear-gradient(180deg, #fac590, var(--ember) 64%);
  box-shadow: inset 0 1px 0 rgb(255 250 242 / .6), inset 0 -2px 0 rgb(150 86 40 / .22), 0 var(--drop) 0 var(--ledge);
  font-size: var(--t-body);
  font-weight: 800;
  letter-spacing: -.01em;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: translate 420ms var(--settle), box-shadow 420ms var(--settle);
}
.key::before, .key::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; transition: opacity 150ms var(--ease); }
.key::before { z-index: -1; background: radial-gradient(8rem circle at var(--lamp-x, 50%) var(--lamp-y, 0%), rgb(255 250 242 / .55), transparent 70%); opacity: 0; }
.key::after { z-index: -2; inset: 0 0 calc(-1 * var(--drop)); box-shadow: 0 0 34px -6px rgb(var(--ember-rgb) / .62), 0 0 80px -16px rgb(var(--ember-rgb) / .45); opacity: .55; }
.key-small { --key-h: 44px; --drop: 3px; gap: 8px; padding: 0 14px 0 18px; border-radius: 12px; font-size: var(--t-small); }
.arrow { width: 16px; height: 12px; flex: none; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.arrow-head { translate: -4px 0; transition: translate 300ms var(--ease); }
.arrow-shaft { transform-box: fill-box; transform-origin: left center; scale: 0 1; transition: scale 300ms var(--ease); }
.key:active { translate: 0 var(--drop); box-shadow: inset 0 1px 0 rgb(255 250 242 / .3), inset 0 -2px 0 rgb(150 86 40 / .22), 0 0 0 var(--ledge); transition: translate 80ms var(--ease), box-shadow 80ms var(--ease); }
@media (hover: hover) {
  .key:hover { translate: 0 calc(var(--drop) * .4); box-shadow: inset 0 1px 0 rgb(255 250 242 / .6), inset 0 -2px 0 rgb(150 86 40 / .22), 0 calc(var(--drop) * .6) 0 var(--ledge); transition: translate 150ms var(--ease), box-shadow 150ms var(--ease); }
  .key:hover:active { translate: 0 var(--drop); box-shadow: inset 0 1px 0 rgb(255 250 242 / .3), inset 0 -2px 0 rgb(150 86 40 / .22), 0 0 0 var(--ledge); transition: translate 80ms var(--ease), box-shadow 80ms var(--ease); }
  .key[data-release] { transition: translate 420ms var(--settle), box-shadow 420ms var(--settle); }
  .key:hover::after { opacity: 1; }
  .key:hover .arrow-head, .go:hover .arrow-head, .side-button:hover .arrow-head { translate: 0 0; }
  .key:hover .arrow-shaft, .go:hover .arrow-shaft, .side-button:hover .arrow-shaft { scale: 1 1; }
}
@media (hover: hover) and (pointer: fine) { .key:hover::before { opacity: 1; } }
.key:focus-visible { outline-offset: 5px; border-radius: 16px; }

/* Quieter doors: a text link whose arrow draws its shaft under the pointer. */
.go { width: fit-content; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; color: var(--moon); font-size: var(--t-body); font-weight: 700; }
.go .arrow { color: var(--mist); }

/* Display figures ($29.99, 50, 4K60) carry the headline's weight. */
.fig { font-weight: 800; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }

/* ── Stickers from the app ────────────────────────────────────────────── */

/* The app's own pieces, cut out: a message row with its initials, name in
   the friend's colour, and the time; a presence pile; the reaction, which
   is mila's own and so wears the app's selected iris (.reaction-chip.mine)
   with the + chip beside it, as the take draws it. */
.pop { position: absolute; display: flex; align-items: flex-start; gap: 10px; padding: 11px 16px 12px 11px; border: 1px solid rgb(255 255 255 / .12); border-radius: 18px; background: linear-gradient(180deg, #1f1d29, #16151e); box-shadow: inset 0 1px 0 rgb(255 255 255 / .07), 0 22px 44px -18px rgb(0 0 0 / .95), 0 2px 6px rgb(0 0 0 / .35); color: var(--moon); font-size: .9375rem; line-height: 1.38; white-space: nowrap; width: max-content; }
/* A sticker is one line of the app each: its words never wrap (the page's
   p { text-wrap: pretty } would otherwise turn wrapping back on). */
.pop p { white-space: nowrap; }
.pop p b { color: var(--c); font-weight: 700; }
/* Each line's author in the colour the app gave them in that take. */
.pop-sam, .pop-june { --c: #c9895e; }
.pop-coming { --c: #8a8fd8; }
.pop-noor { --c: #c97b8e; }
.pop p .mono { margin-left: 4px; color: var(--dim); font-size: .75rem; }
.face { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; color: #17131c; background: var(--c); font-size: .75rem; font-weight: 800; letter-spacing: .01em; }
/* The pile wears the colours of the take it sits beside: the computer's
   take gave sam and ben violet; the phone's gave sam rose and ben blue. */
.pile { display: flex; }
.pile .face:nth-child(1) { --c: #c9895e; }
.pile .face:nth-child(2) { --c: #74ad88; }
.pile .face:nth-child(3) { --c: #c9895e; }
.pile .face { width: 28px; height: 28px; font-size: .625rem; box-shadow: 0 0 0 2px #1d1b27; }
.pile .face + .face { margin-left: -6px; }
.pop-online { align-items: center; padding: 8px 16px 8px 8px; border-radius: 999px; }
.pop-online .mono { color: var(--mist); font-size: .8125rem; }
/* The phone's count, 5 over 6 in a one-line window; it rests on 6. */
.tick { display: inline-flex; flex-direction: column; height: 1lh; overflow: clip; vertical-align: top; }
.tick > span { translate: 0 -100%; }
.react { position: absolute; left: 56px; bottom: -16px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border: 1px solid #b5a5d9; border-radius: 999px; background: #2d2740; font-size: .9375rem; line-height: 1.4; }
.react .mono { color: var(--moon); font-size: .75rem; }
.react-add { position: absolute; left: 116px; bottom: -16px; width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid #3f3844; border-radius: 999px; color: var(--mist); background: transparent; font-size: 1rem; line-height: 1; }
.pop-laugh { padding: 0; border: 0; background: none; box-shadow: none; font-size: 3.25rem; line-height: 1; filter: drop-shadow(0 12px 18px rgb(0 0 0 / .55)); }

/* A presence dot, as the app draws "online": ember with a soft halo. */
.dot { width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 4px rgb(var(--ember-rgb) / .16), 0 0 12px rgb(var(--ember-rgb) / .55); }

/* The pain: what the group says, in a hot rose bubble with its tail at the
   lower left, tilted like something just sent. Ink would sit on hot rose at
   7.6:1, but the bubble stays dark so the fix under it is the loud thing. */
.pain { width: fit-content; margin-bottom: var(--s5); }
.pain span { display: inline-block; padding: 12px 20px 13px; border: 1.5px solid rgb(var(--hot-rgb) / .8); border-radius: 22px 22px 22px 6px; color: var(--moon-bright); background: linear-gradient(180deg, rgb(var(--hot-rgb) / .16), rgb(var(--hot-rgb) / .09)), var(--ink); box-shadow: 0 16px 32px -18px rgb(var(--hot-rgb) / .55); font-size: var(--t-body); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; rotate: -2deg; }

/* The fix's key words, marked by hand in ember: ink on ember is 9.5:1. */
mark.fig { padding: 0 .16em .02em .12em; font-weight: 600; }
mark { display: inline-block; padding: 0 .1em .02em; margin: 0 -.02em; border-radius: .12em .26em .16em .3em / .32em .16em .3em .2em; color: var(--ink); background: linear-gradient(176deg, var(--ember-bright), var(--ember) 70%); rotate: -1.2deg; line-height: 1.02; }

/* ── The first screen ─────────────────────────────────────────────────── */

.hero { container-type: inline-size; position: relative; isolation: isolate; width: var(--shell); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 492px); column-gap: var(--s7); padding-top: var(--s6); }
/* A few stars over the first screen, running to the window's edges. */
.hero::before { content: ''; position: absolute; z-index: -1; inset: -96px calc(50% - 50vw) 40%; pointer-events: none; background:
  radial-gradient(1.4px 1.4px at 7% 14%, rgb(243 237 228 / .75), transparent),
  radial-gradient(1px 1px at 16% 58%, rgb(243 237 228 / .45), transparent),
  radial-gradient(1.2px 1.2px at 29% 8%, rgb(243 237 228 / .6), transparent),
  radial-gradient(1.5px 1.5px at 47% 22%, rgb(243 237 228 / .7), transparent),
  radial-gradient(1px 1px at 58% 6%, rgb(243 237 228 / .5), transparent),
  radial-gradient(1.2px 1.2px at 71% 12%, rgb(243 237 228 / .6), transparent),
  radial-gradient(1px 1px at 84% 5%, rgb(243 237 228 / .5), transparent),
  radial-gradient(1.4px 1.4px at 93% 19%, rgb(243 237 228 / .7), transparent),
  radial-gradient(1px 1px at 3% 40%, rgb(243 237 228 / .4), transparent); }
/* The headline sits centred against the whole offer beside it. */
.hero-head { grid-column: 1; align-self: center; min-width: 0; }
.hero-aside { grid-column: 2; align-self: end; display: grid; gap: var(--s5); padding-bottom: 6px; }

/* What snug is, in the words a visitor already has for it, as a sticker. */

/* "Your", once, in the serif; the brace takes it to each of the three
   words. The sentence underneath still says it three times for anyone
   listening, and the drawn word is hidden from them. */
.hero h1 { display: grid; grid-template-columns: auto auto minmax(0, auto); justify-content: start; align-items: center; column-gap: .06em; font-size: var(--t-mega); font-weight: 800; line-height: .86; letter-spacing: -.05em; }
.your { padding-right: .02em; font-family: var(--display); font-size: 1.34em; font-style: italic; font-weight: 640; line-height: 1; letter-spacing: -.035em; translate: 0 -.02em; }
.brace { width: auto; height: 2.76em; overflow: visible; filter: drop-shadow(0 0 .1em rgb(var(--ember-rgb) / .5)); }
.words { display: grid; padding-left: .04em; }
.words > span { display: block; padding-block: .02em; }

.lede { max-width: 25rem; color: rgb(243 237 228 / .92); font-size: var(--t-body); font-weight: 500; line-height: 1.38; text-wrap: balance; }


/* The perk on the film: a sticker headed by the perk's name in ember, over
   that perk in use, a copy of the app (night talk skin) at a sticker's
   size, each the same 16:9: kit's stream, june's three shares, a call with
   ben and sam talking, mila's profile, sam's message of GIF emoji. It
   hangs off the window's top right, as the presence sticker hangs off its
   top left, and june's line waits under it. */
.pop-perk { right: calc(-1 * var(--hang)); top: -18px; display: block; width: 300px; padding: 8px; border-radius: 18px; rotate: 3deg; white-space: normal; }
.perk-card { display: none; }
.perk-card.on { display: block; }
.pop-perk .st-tile { border-radius: 12px; }
.perk-name { margin: 2px 4px 8px; color: var(--ember-bright); font-size: 1.25rem; font-weight: 800; letter-spacing: -.025em; line-height: 1.15; white-space: normal; transition: opacity 220ms var(--ease), translate 260ms var(--ease); }
.perk-name.out { opacity: 0; translate: 0 .12em; }
@media (prefers-reduced-motion: reduce) { .perk-name { transition: none; } }
.st-tile { position: relative; container-type: size; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; margin: 0; border: 1px solid #3f3844; border-radius: 10px; background: #000; transition: border-color 300ms var(--ease), box-shadow 300ms var(--ease), scale 460ms var(--settle), rotate 460ms var(--settle), translate 460ms var(--settle); }
.st-tile :is(img, video) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-label { position: absolute; z-index: 2; left: 2.6cqw; bottom: 2.4cqw; padding: .5cqw 2.6cqw; border-radius: 1.6cqw; background: rgb(0 0 0 / .7); color: #f1eadf; font-size: 5.2cqw; font-weight: 600; line-height: 1.35; white-space: nowrap; }
.st-mini { position: relative; container-type: size; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid #3f3844; border-radius: 6px; background: #000; }
.st-mini .st-label { left: 3cqw; bottom: 3cqw; padding: .6cqw 3.4cqw; border-radius: 2.4cqw; font-size: 8cqw; }
/* One person's three shares on one stage: the first large, the other two
   stacked beside it, each playing. */
.st-multi { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 2%; padding: 2%; background: #121015; }
.st-multi .st-mini { height: 100%; aspect-ratio: auto; }
.st-multi .st-mini:first-child { grid-row: 1 / span 2; }
.st-multi .st-mini:first-child .st-label { font-size: 5.6cqw; }
.st-voice { display: grid; place-items: center; background: radial-gradient(60% 70% at 50% 58%, #221d28, #121015); }
.st-room { top: 3cqw; bottom: auto; }
/* A call in progress, as the app draws its faces: ben talks in bursts and
   sam answers, the ember ring and the warm name passing between them in the
   app's 120 ms. With less motion, ben holds them. */
@property --talk { syntax: '<number>'; inherits: true; initial-value: 0; }
.st-call { display: flex; gap: 7cqw; margin-top: 6cqw; }
.st-who { --talk: 0; display: grid; justify-items: center; gap: 2.6cqw; }
.st-who.is-speaking { --talk: 1; }
.st-face { --pc: #8a8fd8; }
[data-c='blue'] { --pc: #7ba6c9; }
[data-c='rose'] { --pc: #c97b8e; }
.st-face { width: 13.6cqw; height: 13.6cqw; display: grid; place-items: center; border: 2px solid #1a171e; border-radius: 50%; background: var(--pc); box-shadow: 0 0 0 1px rgb(255 255 255 / .08); color: #121015; font-size: 4.6cqw; font-weight: 750; }
.st-who .st-face { width: 21cqw; height: 21cqw; font-size: 6.4cqw; scale: calc(1 + .06 * var(--talk)); box-shadow: 0 0 0 calc(2px * var(--talk)) var(--ember), 0 0 calc(18px * var(--talk)) rgb(var(--ember-rgb) / calc(.45 * var(--talk))), 0 0 0 1px rgb(255 255 255 / .08); }
.st-name { color: color-mix(in srgb, var(--ember-bright) calc(var(--talk) * 100%), #aaa1ad); font-size: 5.4cqw; font-weight: 700; line-height: 1.2; }
@media (prefers-reduced-motion: no-preference) {
  .st-talk-ben { animation: st-talk-ben 3200ms linear infinite; }
  .st-talk-sam { animation: st-talk-sam 3200ms linear infinite; }
}
@keyframes st-talk-ben { 0%, 16%, 27%, 43%, 79%, 94% { --talk: 1; } 20%, 23%, 47%, 75%, 98%, 100% { --talk: 0; } }
@keyframes st-talk-sam { 0%, 50%, 74%, 100% { --talk: 0; } 54%, 70% { --talk: 1; } }
.st-emoji { display: grid; align-content: center; padding: 0 7%; background: #121015; }
.st-msg { display: grid; grid-template-columns: auto 1fr; gap: 4.4cqw; }
.st-msgface { width: 17cqw; height: 17cqw; font-size: 6cqw; }
.st-msgbody { display: grid; gap: 1cqw; min-width: 0; }
.st-by { color: #aaa1ad; font-size: 5.6cqw; }
.st-by b { margin-right: 1.4cqw; color: #a9adf0; font-size: 7.6cqw; font-weight: 700; }
.st-e { display: inline-grid; width: 1.5em; height: 1.5em; vertical-align: -.32em; }
.st-e svg { width: 100%; height: 100%; }
/* The profile is mila's card, dressed by dress.js with the apps' drawings
   (banner scene, card effect, frame, accessory, name style), laid out in
   the same 16:9 as the other beats so the sticker keeps its size: the
   banner across the top, her picture over its edge, and beside it her name,
   pronouns, status, and roles. */
.look.look-mini { --u: .94px; display: block; margin: 0; }
.look-mini .look-card-mini { display: grid; grid-template-rows: auto minmax(0, 1fr); width: 100%; aspect-ratio: 16 / 9; overflow: hidden; box-shadow: none; }
.look-mini .look-card-mini .profile-banner[data-banner] { height: calc(4.2 * var(--rem)); aspect-ratio: auto; }
.look-mini .look-card-mini .pc-body { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
.look-mini .look-card-mini .pc-heading { padding: calc(.25 * var(--rem)) 0 0 calc(.6 * var(--rem)); }
.look-mini .look-card-mini .pc-statusline { margin-top: calc(.15 * var(--rem)); }
.look-mini .look-card-mini .pc-presence { display: none; }
.look-mini .look-card-mini .pc-roles { margin-top: calc(.3 * var(--rem)); }
/* Her picture moves, in the picture's circle under her frame and
   accessory, as an animated picture plays in the app. Under her name, her
   pronouns, as the profile card sets them. */
.look-card-mini .pc-picture { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: hidden; border-radius: 50%; }
/* mila's moving picture, a drawn loop like the GIFs people set: she nods
   along under her headphones and sings, a note rises, and the stars
   twinkle. It moves only while its beat shows (the card is hidden
   otherwise) and rests on its first frame with less motion. */
.pc-gif :is(.gif-head, .gif-note) { transform-box: view-box; }
.pc-gif .gif-head { transform-origin: 32px 50px; }
.pc-gif .gif-sing, .pc-gif .gif-note { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .pc-gif .gif-head { animation: gif-nod 560ms cubic-bezier(.37, 0, .63, 1) infinite alternate; }
  .pc-gif .gif-sing { animation: gif-sing 1120ms steps(1) infinite; }
  .pc-gif .gif-smile { animation: gif-sing 1120ms steps(1) infinite reverse; }
  .pc-gif .gif-note { animation: gif-note 2240ms linear infinite; }
  .pc-gif .gif-note-late { animation-delay: -1120ms; }
  .pc-gif .gif-star { animation: gif-twinkle 1680ms ease-in-out infinite alternate; }
  .pc-gif .gif-star:nth-child(2n) { animation-delay: -840ms; }
}
@keyframes gif-nod { from { rotate: -6deg; translate: 0 .6px; } to { rotate: 6deg; translate: 0 -.6px; } }
@keyframes gif-sing { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes gif-note { 0% { opacity: 0; translate: 0 0; rotate: 0deg; } 15% { opacity: 1; } 70% { opacity: .9; } 100% { opacity: 0; translate: -6px -24px; rotate: -14deg; } }
@keyframes gif-twinkle { from { opacity: .25; } to { opacity: 1; } }
.look-card-mini .pc-pronouns { display: block; color: var(--a-mist); font-size: calc(.72 * var(--rem)); line-height: 1.4; }
/* An emoji-only message, which the app sets large, and its reactions: GIF
   emoji, stepping through their frames as GIFs do. */
.st-jumbo { display: flex; align-items: center; gap: 3cqw; margin-top: .6cqw; }
.st-jumbo .st-e { width: 19cqw; height: 19cqw; }
.gif-sail { animation: gif-sail 1.2s steps(6) infinite; }
.gif-bounce { animation: gif-bounce .72s steps(4) infinite; }
.gif-pop { animation: gif-pop .9s steps(3) infinite; }
@keyframes gif-sail { 0%, 100% { translate: -8% 4%; rotate: -6deg; } 50% { translate: 8% -6%; rotate: 6deg; } }
@keyframes gif-bounce { 0%, 100% { translate: 0 0; scale: 1; } 50% { translate: 0 -20%; scale: 1.08 .94; } }
@keyframes gif-pop { 0%, 100% { rotate: -9deg; scale: 1; } 50% { rotate: 9deg; scale: 1.14; } }
@media (prefers-reduced-motion: reduce) { .gif-sail, .gif-bounce, .gif-pop { animation: none; } }
.st-reacts { display: flex; gap: 2.4cqw; margin-top: 1.4cqw; }
.st-chip { display: inline-flex; align-items: center; gap: 1.4cqw; padding: .6cqw 3.4cqw; border: 1px solid transparent; border-radius: 999px; background: #29242d; color: #f1eadf; font-size: 6.4cqw; font-weight: 600; }
.st-chip.mine { border-color: #b5a5d9; background: #2d2740; }
  .st-tile { transition: border-color 300ms var(--ease), box-shadow 300ms var(--ease); }
/* The offer is one ticket for two plans, perforated down the middle. Each
   half holds a plan's figure, who it's for, and its own way in: Free is the
   lit half over the lit key, the paid plan stands beside it over the plain
   button. Past a second perforation, notched into both edges, the stub says
   what both get. The halves share their rows, so the two plans read
   straight across. The ticket is a container: its buttons and seats size
   to it wherever it stands. */
.ticket { --pad: 24px; --notch-bg: var(--ink); --rim: rgb(var(--ember-rgb) / .42); --perf: rgb(var(--ember-rgb) / .38); container-type: inline-size; position: relative; border: 1.5px solid var(--rim); border-radius: 22px; background: linear-gradient(180deg, rgb(var(--ember-rgb) / .05), rgb(var(--ember-rgb) / .02) 72%), var(--night); box-shadow: inset 0 1px 0 rgb(255 250 242 / .06), 0 30px 60px -36px rgb(var(--ember-rgb) / .5); }
/* What the plans share, tagged on the ticket's top edge: no one on the
   server pays for a better tier. */
.ticket-tag { position: absolute; z-index: 1; top: -14px; left: 18px; padding: 3px 11px 4px; border-radius: 999px; color: var(--ink); background: var(--moon-bright); box-shadow: 0 8px 18px -8px rgb(0 0 0 / .8); font-size: var(--t-small); font-weight: 800; rotate: -2deg; white-space: nowrap; }
/* On the first screen the tag is about both plans, so it sits across the
   perforation (centred by margins: left: 50% would halve its room). */
.hero .ticket-tag { inset-inline: 0; width: fit-content; margin-inline: auto; }
.ticket-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.half { display: grid; grid-template-rows: subgrid; grid-row: span 3; align-content: start; justify-items: start; padding: 22px var(--pad) 26px; }
.ticket:has(> .ticket-tag) .half { padding-top: 32px; }
.half-free { border-radius: 20px 0 0; background: linear-gradient(180deg, rgb(var(--ember-rgb) / .2), rgb(var(--ember-rgb) / .06) 78%); }
.ticket-plans:last-child .half-free { border-bottom-left-radius: 20px; }
/* The perforation between the plans, bitten into the ticket's top edge. */
.half-paid { position: relative; border-left: 1.5px dashed var(--perf); }
.half-paid::before { content: ''; position: absolute; top: -10.5px; left: -10.5px; width: 19px; height: 19px; border: 1.5px solid var(--rim); border-radius: 50%; background: var(--notch-bg); clip-path: inset(50% -2px -2px -2px); }
/* Free is set a size up and lit like a headline's marked word; the price
   beside it stands on its line. */
.half-sum { display: flex; align-items: flex-end; height: calc(var(--t-fix) * 1.04); font-size: var(--t-title); line-height: .9; }
.half-paid .half-sum { padding-bottom: calc(var(--t-fix) * .17); }
.half-sum mark { font-size: var(--t-fix); }
.half mark { rotate: -2deg; }
/* The price's period rides beside it, small: "$9.99/mo for 15 seats". */
.half-sum small, .bill-n small { margin-left: .2em; color: var(--mist); font-size: var(--t-small); font-weight: 600; letter-spacing: 0; }
/* Who it's for is what the figure buys ("$9.99/mo", "15 seats"), so it is
   set a size up and bright. Under it, the one term that settles it,
   quieter on its own line. */
.half-for { margin-top: 8px; color: var(--moon); font-size: var(--t-body); font-weight: 700; line-height: 1.25; }
.half-for > span { display: block; margin-top: 3px; color: var(--mist); font-size: var(--t-small); font-weight: 400; line-height: 1.38; }
/* Each plan's way in, the same size under each: the key and the button. */
.half > :is(.key, .side-button) { --key-h: 56px; align-self: end; width: 100%; min-height: 56px; margin-top: 16px; padding-inline: 14px; gap: 10px; }
.ticket-stub { position: relative; padding: 14px var(--pad) 16px; border-top: 1.5px dashed var(--perf); }
.ticket-stub::before, .ticket-stub::after { content: ''; position: absolute; top: -10px; width: 19px; height: 19px; border: 1.5px solid var(--rim); border-radius: 50%; background: var(--notch-bg); }
.ticket-stub::before { left: -10px; clip-path: inset(-2px -2px -2px 50%); }
.ticket-stub::after { right: -10px; clip-path: inset(-2px 50% -2px -2px); }
.ticket-terms { color: var(--mist); font-size: var(--t-small); line-height: 1.45; }
p.ticket-stub { text-align: center; }
.ticket-terms a { color: var(--moon); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; white-space: nowrap; }
/* With no stub under the plans, the perforation runs to the foot and bites
   that edge too. */
.ticket-plans:last-child .half-paid::after { content: ''; position: absolute; bottom: -10.5px; left: -10.5px; width: 19px; height: 19px; border: 1.5px solid var(--rim); border-radius: 50%; background: var(--notch-bg); clip-path: inset(-2px -2px 50% -2px); }
/* On a phone the two steps of type close up, so Free takes the shout's size
   and still stands as far over the price as it does on a wide ticket. The
   buttons drop their arrows; narrower still, they step down a size. */
@container (max-width: 419px) {
  /* A narrow ticket is on a phone, where its mark takes the page's biggest
     step, or beside something on a wide screen, where that step is twice the
     size and the mark keeps the one a ticket has everywhere else. */
  .half-sum { --sum: min(var(--t-mega), max(var(--t-fix), 2.75rem)); height: calc(var(--sum) * 1.04); }
  .half-sum mark { font-size: var(--sum); }
  .half-paid .half-sum { padding-bottom: calc(var(--sum) * .2); }
  .half > :is(.key, .side-button) .arrow { display: none; }
}
@container (max-width: 339px) { .half > :is(.key, .side-button) { padding-inline: 8px; font-size: var(--t-small); } }
.hero-more { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: -4px; }
/* The way to the apps: an outlined button, a step quieter than the key, in
   the bar's Demo look turned up to the key's weight. */
.dl-button, .side-button { min-height: 56px; display: inline-flex; align-items: center; gap: 10px; padding: 0 24px 0 20px; border: 1.5px solid rgb(255 255 255 / .34); border-radius: 16px; color: var(--moon-bright); background: rgb(255 255 255 / .06); font-size: var(--t-body); font-weight: 800; letter-spacing: -.01em; white-space: nowrap; transition: background 150ms var(--ease), border-color 150ms var(--ease); }
.dl-button svg { width: 20px; height: 20px; flex: none; color: var(--ember-bright); }
@media (hover: hover) { :is(.dl-button, .side-button):hover { border-color: rgb(255 255 255 / .6); background: rgb(255 255 255 / .1); } }
:is(.dl-button, .side-button):focus-visible { outline-offset: 5px; border-radius: 16px; }
/* The same plain button, where the lit key beside it starts free: the
   straight way to the paid plan. */
.side-button { justify-content: center; padding-inline: 24px 20px; }
.side-button .arrow { color: var(--ember-bright); }

/* The stage: the app, filmed, standing under the words. Where scroll-driven
   animation exists and motion is welcome it leans back at first and stands
   up to face you as you scroll; everywhere else it stands flat. The light it
   gives off is the film itself, painted small and blurred past the frame. */
.stage { grid-column: 1 / -1; position: relative; margin-top: var(--s6); }
.film { position: relative; isolation: isolate; }
.film-frame { position: relative; overflow: hidden; border: 1px solid #383649; border-radius: 20px; background: #0f0f15; box-shadow: inset 0 1px 0 rgb(255 255 255 / .06), 0 50px 120px -30px rgb(0 0 0 / .85); }
.film video { position: relative; width: 100%; height: auto; opacity: 0; transition: opacity 420ms var(--ease); }
/* The poster is the film's first frame; the take fades in over it once it plays. */
.film.started video { opacity: 1; }
.film-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* It steps out of the way once the take has faded in over it. */
.film.started .film-poster { visibility: hidden; transition: visibility 0s linear 440ms; }
.film.between video { opacity: 0; }
/* The glow is the poster, softened once in its canvas (home.js) and
   stretched past the frame. No CSS blur: a live blur filter here re-ran on
   every frame anything nearby moved. */
.film-glow { position: absolute; z-index: -1; left: -18%; top: -10%; width: 136%; height: 128%; opacity: 0; transition: opacity 1200ms var(--ease); pointer-events: none; }
.film.lit .film-glow { opacity: .7; }
.film.between .film-glow { opacity: .22; }
.film figcaption { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: var(--s5); color: var(--dim); font-size: var(--t-small); text-wrap: balance; }
/* A caption breaks between its sentences, never inside one. */
.film figcaption .said { display: inline-block; }
.rec { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 4px rgb(var(--ember-rgb) / .14); }
.film-toggle { width: 36px; height: 36px; flex: none; margin-left: 4px; display: grid; place-items: center; padding: 0; border: 1px solid rgb(255 255 255 / .16); border-radius: 50%; color: var(--moon); background: rgb(255 255 255 / .04); cursor: pointer; transition: background 150ms var(--ease), scale 80ms var(--ease); }
.film-toggle svg { width: 13px; height: 13px; fill: currentColor; }
.film-toggle .play, .film.paused .film-toggle .pause { display: none; }
.film.paused .film-toggle .play { display: inline; }
.film-toggle:active { scale: .94; }
@media (hover: hover) { .film-toggle:hover { background: rgb(255 255 255 / .1); } }
@media (pointer: coarse) { .film-toggle { width: 44px; height: 44px; } }

.film-window { width: min(1120px, 100%); margin-inline: auto; }
.film-window video { aspect-ratio: 1760 / 1100; }
.film-window .film-frame { transform-origin: 50% 0; }
.film-window .film-frame::after { content: ''; position: absolute; z-index: 2; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgb(255 250 242 / .07), rgb(255 250 242 / 0) 22%); pointer-events: none; }
.film-phone { display: none; }
.film-phone video { aspect-ratio: 1 / 2; }

/* The film's own lines, stuck to the window's glass. Their box is the
   film's own and leans with it, so each stays over the same part of the
   app however wide the page is: over an empty band or the game, never over
   the app's words or icons. On the right they hang into the margin as far
   as it allows (--hang). */
.pops { position: absolute; z-index: 1; top: 0; left: 0; right: 0; width: min(1120px, 100%); aspect-ratio: 1760 / 1100; margin-inline: auto; transform-origin: 50% 0; --hang: clamp(0px, (100vw - 100%) / 2 - 44px, 110px); pointer-events: none; }
.pop-online { left: -24px; top: -42px; rotate: -4deg; }
.pop-online .for-phone { display: none; }
.pop-sam { left: 13%; top: 31%; rotate: 2.5deg; }
.pop-june { right: calc(14px - var(--hang)); top: 34%; rotate: -2.5deg; }
.pop-laugh { right: calc(-.3 * var(--hang)); top: 50%; rotate: 12deg; }

/* What a visitor can check, in one quiet row under the film. */
.proof { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 var(--s6); margin-top: var(--s3); color: var(--mist); font-size: var(--t-small); }
.proof li { display: flex; align-items: center; gap: 10px; }
.proof li::before { content: ''; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--iris); }
.proof a { min-height: 44px; display: inline-flex; align-items: center; gap: .3em; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; transition: color 150ms var(--ease), text-decoration-color 150ms var(--ease); }
@media (hover: hover) { .proof a:hover { color: var(--moon); text-decoration-color: rgb(var(--ember-rgb) / .8); } }

/* ── Chapters ─────────────────────────────────────────────────────────── */

.chapter { width: var(--shell); margin-inline: auto; }
main > section + section { margin-top: var(--section); }
.chapter-head { max-width: 1040px; }
.chapter h2, .banner h2 { font-size: var(--t-fix); font-weight: 800; line-height: .98; letter-spacing: -.042em; }
.chapter-lede { max-width: 34rem; margin-top: var(--s5); color: var(--mist); font-size: var(--t-body); line-height: 1.45; }

/* Streaming: the fix with the app's own Screen share settings beside it,
   the two shares filmed side by side at full width, then three smaller
   pains and their fixes. */
.streams-head { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--s6) var(--s8); }
.streams-head > div { max-width: 1040px; }
/* Stuck on under the lede: what calls ride, and that nothing records them. */
.lock-tag { display: inline-flex; align-items: center; gap: 7px; margin-top: var(--s5); padding: 6px 13px 7px 11px; border-radius: 999px; color: var(--ink); background: var(--moon-bright); box-shadow: 0 10px 20px -10px rgb(0 0 0 / .85); font-size: var(--t-small); font-weight: 800; rotate: -1.5deg; }
.lock-tag svg { flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.stream-toys { display: flex; align-items: flex-end; gap: var(--s5); }
/* The choice as area: one tile is 720p; the lit corner covers 2.25, 4, or
   9 tiles. It grows from the top left, on the compositor. */
.pixels { --k3: 1; display: grid; gap: 10px; width: 192px; margin-bottom: 44px; rotate: 2deg; }
.px-frame { position: relative; width: 192px; height: 108px; overflow: hidden; border: 1.5px dashed var(--line-strong); border-radius: 8px; background: rgb(255 255 255 / .02); }
.px-lit { position: absolute; inset: 0; background: linear-gradient(140deg, var(--ember-bright), var(--ember) 60%, #d08c4f); transform-origin: 0 0; scale: var(--k3); transition: scale 320ms var(--settle); }
.pixels.yours .px-lit { background: repeating-linear-gradient(135deg, rgb(var(--ember-rgb) / .85) 0 6px, rgb(var(--ember-rgb) / .45) 6px 12px); }
.px-grid { position: absolute; inset: 0; background-image: linear-gradient(to right, rgb(18 16 25 / .55) 1.5px, transparent 1.5px), linear-gradient(to bottom, rgb(18 16 25 / .55) 1.5px, transparent 1.5px); background-size: 64px 36px; background-position: -1px -1px; }
.px-says { min-height: 2.9em; color: var(--mist); font-size: var(--t-small); line-height: 1.4; }
.px-says b { color: var(--moon); font-weight: 800; }
/* Settings › Screen share as the app draws it (SettingsModal.tsx; app.css
   .settings-card, .set-row, .stream-summary), at the app's sizes on a 15px
   root, with its two choices on 4K and 60 and the upload line it prints. */
.settings-twin { --t-dusk: #1a171e; --t-slate: #29242d; --t-edge: #3f3844; --t-moon: #f1eadf; --t-mist: #aaa1ad; width: 300px; max-width: 100%; margin-bottom: 6px; padding: 14px 14px 12px; border: 1px solid #3a3050; border-radius: 16px; color: var(--t-moon); background: var(--t-dusk); box-shadow: 0 24px 64px -20px rgb(0 0 0 / .8); rotate: -1.5deg; font-size: 15px; line-height: 1.4; }
.set-heading { color: var(--t-mist); font-size: .72em; font-weight: 600; letter-spacing: .08em; }
.set-card { margin-top: 6px; border: 1px solid var(--t-edge); border-radius: 8px; background: rgb(18 16 21 / .28); }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 12px; font-size: .85em; font-weight: 500; }
.set-row + .set-row { border-top: 1px solid rgb(63 56 68 / .72); }
.set-select { position: relative; display: inline-flex; align-items: center; border: 1px solid var(--t-edge); border-radius: 6px; background: var(--t-slate); white-space: nowrap; }
.set-select svg { position: absolute; right: 7px; top: 50%; width: 12px; height: 12px; translate: 0 -50%; fill: none; stroke: var(--t-mist); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
/* The app's menus, live: fixed widths, so a longer choice never moves the row. */
.set-select select { width: 5.6em; min-height: 30px; padding: 4px 24px 4px 9px; border: 0; border-radius: 6px; color: inherit; background: transparent; font: inherit; cursor: pointer; appearance: none; -webkit-appearance: none; }
.set-select select[data-sharp] { width: 10.8em; }
.set-select select:disabled { opacity: 1; cursor: default; }
.set-select option { color: var(--t-moon); background: var(--t-slate); }
.set-select select:focus-visible { outline: none; }
.set-select:has(select:focus-visible) { outline: 2px solid var(--ember); outline-offset: 3px; }
@media (pointer: coarse) { .set-select select { min-height: 44px; } }
.set-summary { display: flex; align-items: baseline; gap: 4px 12px; margin-top: 8px; padding: 9px 10px; border: 1px solid var(--t-edge); border-radius: 10px; color: var(--t-mist); font-size: .72em; white-space: nowrap; }
.set-summary strong { color: var(--t-moon); font-weight: 700; }
.settings-twin figcaption { margin-top: 12px; color: var(--dim); font-size: var(--t-small); }
.film-wide { width: min(1560px, 100vw - 32px); margin: var(--s8) 0 0 50%; translate: -50% 0; }
.film-wide video { aspect-ratio: 2420 / 712; }
.tile-mirror, .tile-tag { display: none; }
.film-wide.lit .film-glow { opacity: .8; }
.beat-pain { width: fit-content; padding: 5px 12px 6px; border: 1px solid rgb(var(--hot-rgb) / .6); border-radius: 14px 14px 14px 4px; color: var(--moon); background: rgb(var(--hot-rgb) / .08); font-size: var(--t-small); font-weight: 700; }

/* Three fixes on cards: getting in (with the app's own join screen), files,
   and emoji. The files card is the page's one electric-iris flash. */
.trio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5); }
main > .trio { margin-top: var(--s9); }
.card { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: clamp(28px, 3.2vw, 48px); border: 1px solid var(--line); border-radius: var(--r-card); background: linear-gradient(165deg, #1b1924, #121119 70%); box-shadow: inset 0 1px 0 rgb(255 255 255 / .05); }
.card h2 { font-size: var(--t-fix); }
.card-copy { max-width: 26rem; margin-top: var(--s4); color: var(--mist); }
.card-big { display: block; margin-bottom: .14em; font-size: var(--t-mega); line-height: .84; letter-spacing: -.055em; }
.card-files h2, .card-emoji h2 { font-size: var(--t-title); line-height: 1.02; }
.card-link { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 30rem) minmax(0, 1fr) minmax(0, 330px); grid-template-rows: auto auto 1fr; column-gap: var(--s6); align-items: start; padding-right: clamp(28px, 6vw, 96px); }
.card-link > :not(.join, .sent) { grid-column: 1; }
.card-link h2 .line { display: block; white-space: nowrap; }
.card-link h2 mark { margin-top: .06em; }
/* Where the card is widest the line shouts across two columns, and the link
   is sent from under it toward the join screen, so the card is as full as
   the join screen is tall. */
@media (min-width: 1240px) {
  .card-link { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 330px); grid-template-rows: minmax(0, 1fr) auto auto auto minmax(0, 1fr); align-items: start; }
  .card.card-link > .pain { grid-row: 2; grid-column: 1 / 3; }
  .card.card-link > h2 { grid-row: 3; grid-column: 1 / 3; font-size: var(--t-mega); }
  .card.card-link > .card-copy { grid-row: 4; }
  .card-link .sent { grid-column: 2; grid-row: 4; align-self: start; margin-top: var(--s6); }
}
.card-files { color: var(--ink); background: linear-gradient(160deg, #b3a6ff, var(--volt) 55%, #8b78f6); border-color: transparent; }
.card-files .pain span { color: var(--moon-bright); background: var(--ink); border-color: var(--ink); box-shadow: 0 14px 26px -16px rgb(13 13 19 / .8); }
.card-emoji .card-big { color: var(--moon); }
.note-ref { position: relative; color: var(--ember); font-weight: 800; }
.note-ref::after { content: ''; position: absolute; inset: -10px -12px; }
.card-big .note-ref { font-size: var(--t-title); vertical-align: super; line-height: 0; margin-left: .04em; }
/* The app's emoji picker (EmojiPicker.tsx; app.css .emoji-picker) open on
   the group's own shelf, at the app's sizes on a 15px root, running off the
   card's foot. The custom emoji are drawn; the airship is the animated one. */
.picker { --p-dusk: #1a171e; --p-slate: #29242d; --p-edge: #3f3844; --p-mist: #aaa1ad; width: min(100%, 336px); margin: var(--s6) 0 calc(-1 * clamp(28px, 3.2vw, 48px)); display: grid; gap: 8px; padding: 9px; border: 1px solid var(--p-edge); border-radius: 10px; background: var(--p-dusk); box-shadow: 0 14px 38px rgb(0 0 0 / .5); font-size: 15px; line-height: 1.4; mask: linear-gradient(#000 calc(100% - 72px), transparent); }
.picker-search { padding: 6px 9px; border-radius: 6px; color: var(--p-mist); background: var(--p-slate); font-size: .85em; }
.shelf-label { padding: 2px 2px 0; color: var(--p-mist); font-family: var(--mono); font-size: .62em; letter-spacing: .1em; }
.picker-foot + .shelf-label { margin-top: -2px; padding-top: 7px; border-top: 1px solid var(--p-edge); }
.emoji-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; }
.ce { display: grid; place-items: center; height: 32px; border-radius: 6px; font-size: 1.25em; line-height: 1; }
.ce svg { width: 21px; height: 21px; overflow: visible; }
.picker-foot { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
/* The adder: the count's track runs to 120 with the 50 marked where
   Discord's free tier stops; new emoji pop onto the front of the shelf. */
.emoji-toy { margin-top: var(--s5); flex-wrap: nowrap; }
.tally { --t: .4667; position: relative; flex: 1; min-width: 120px; height: 8px; margin: 18px 0 22px; border-radius: 8px; background: rgb(255 255 255 / .08); }
.tally-fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--iris), var(--ember-bright)); transform-origin: left; scale: var(--t) 1; transition: scale 360ms var(--settle); }
.tally-mark { position: absolute; left: 41.67%; top: -6px; width: 2px; height: 20px; border-radius: 1px; background: var(--hot); }
.tally-mark b { position: absolute; left: 50%; bottom: 100%; translate: -50% -1px; color: var(--hot); font-size: var(--t-small); font-weight: 800; }
/* The note keeps to the bar's width and reads from its right end, so it
   never reaches the button. */
.tally-note { position: absolute; left: 0; right: 0; top: 100%; translate: 0 9px; color: var(--mist); font-size: var(--t-small); font-weight: 600; line-height: 1.3; text-align: right; text-wrap: balance; }
.picker .ce-float svg { animation: bob 3.2s ease-in-out infinite paused; }
.picker.looping .ce-float svg { animation-play-state: running; }
.emoji-count { color: var(--p-mist); font-family: var(--mono); font-size: .6em; }
.emoji-more { color: var(--ember); font-size: .65em; }

/* The link, sent: a pill with the server's address and an arrow drawn by
   hand to the join screen it opens. */
.sent { grid-column: 2; grid-row: 1 / -1; align-self: center; justify-self: center; display: grid; justify-items: start; gap: 6px; width: min(100%, 250px); margin-top: var(--s7); }
.sent-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 11px; border: 1px solid rgb(var(--ember-rgb) / .5); border-radius: 999px; color: var(--moon); background: linear-gradient(180deg, #2a2233, #1f1a27); box-shadow: 0 14px 28px -14px rgb(0 0 0 / .9); font-size: .875rem; font-weight: 700; rotate: -4deg; white-space: nowrap; }
.sent-link svg { width: 16px; height: 16px; fill: none; stroke: var(--ember-bright); stroke-width: 1.8; stroke-linecap: round; }
.sent { gap: 0; }
/* The other way in: a link to the downloads whose arrow breaks out of the
   card's bottom edge and points down at them. */
#join .card-link { overflow: visible; }
.to-get { position: absolute; z-index: 2; right: clamp(48px, 7vw, 130px); bottom: -92px; display: grid; justify-items: start; color: var(--ember-bright); font-size: var(--t-body); font-weight: 800; letter-spacing: -.01em; text-decoration: none; }
.to-get span { padding: 2px 4px; translate: -18px 0; rotate: -4deg; }
.to-get svg { width: 92px; height: auto; margin-top: -4px; overflow: visible; fill: none; stroke: var(--ember); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .to-get:hover span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; } }
.to-get:focus-visible { outline-offset: 4px; border-radius: 6px; }
@media (max-width: 720px) { .to-get { right: 28px; bottom: -112px; } }
/* The upload, sent whole: a file row with a full bar, in ink on the iris. */
.file { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; column-gap: 10px; width: min(100%, 360px); margin-top: auto; padding: 12px 16px 18px 14px; border-radius: 16px; color: var(--moon); background: var(--ink); box-shadow: 0 18px 30px -16px rgb(13 13 19 / .8); rotate: -1.5deg; font-size: .875rem; font-weight: 700; }
.card-files h2 { margin-bottom: var(--s5); }
.file svg { align-self: center; width: 20px; height: 20px; fill: none; stroke: var(--volt); stroke-width: 1.6; stroke-linejoin: round; }
.file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-size { color: var(--mist); font-family: var(--mono); font-size: .8125rem; font-weight: 400; }
.file { --p: .9628; }
.file-track { position: absolute; left: 14px; right: 16px; bottom: 9px; height: 3px; border-radius: 3px; background: rgb(var(--volt-rgb) / .22); }
.file-bar { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--volt), #c5bbff); transform-origin: left; scale: var(--p) 1; }
/* 20 MB on a 1 GB track: the line where Discord's free tier stops. */
.file-mark { position: absolute; left: 2%; bottom: -5px; width: 2px; height: 13px; border-radius: 1px; background: var(--hot); transition: scale 220ms var(--settle), box-shadow 220ms var(--ease); }
.file-note { position: absolute; left: -3px; right: 0; top: 22px; color: var(--ink); font-size: var(--t-small); font-weight: 800; line-height: 1.3; }
.file.passed .file-mark { scale: 1.6; box-shadow: 0 0 0 3px rgb(var(--hot-rgb) / .3), 0 0 12px rgb(var(--hot-rgb) / .8); }
.card-files .toy-row { margin-top: 50px; }
@media (max-width: 480px) { .card-files .toy-row { margin-top: 62px; } }
.card-files .toy-btn { border-color: rgb(13 13 19 / .55); color: var(--ink); background: rgb(13 13 19 / .06); }
@media (hover: hover) { .card-files .toy-btn:not(:disabled):hover { border-color: var(--ink); background: rgb(13 13 19 / .12); } }
.card-files .toy-btn:focus-visible { outline-color: var(--ink); }
.file-status { min-width: 9.5em; color: var(--ink); font-size: var(--t-small); font-weight: 600; font-variant-numeric: tabular-nums; }

/* The join screen as the app draws it (JoinScreen.tsx; app.css .join-*;
   designTokens.css): the purple ground with its low pool of light, the
   wordmark, the address, a dusk box holding the two doors, the field with
   its hint, and the button, then the lock line; and the friend, in. The
   app's own sizes on a 15px root; the field wears the ember focus border
   because the app focuses it on arrival. */
.join { --j-ink: #121015; --j-dusk: #1a171e; --j-slate: #29242d; --j-edge: #3f3844; --j-sel: #2d2740; --j-moon: #f1eadf; --j-mist: #aaa1ad; --j-iris: #b5a5d9; position: relative; display: grid; justify-items: center; gap: 10px; padding: 24px 18px 20px; border: 1px solid #3a3050; border-radius: 22px; color: var(--j-moon); background: radial-gradient(110% 60% at 50% 112%, rgb(var(--ember-rgb) / .16), transparent 62%), var(--plum); box-shadow: 0 30px 60px -28px rgb(0 0 0 / .9); font-size: 15px; line-height: 1.4; text-align: center; }
.card-link .join { grid-column: 3; grid-row: 1 / -1; align-self: center; margin-bottom: 18px; rotate: 2deg; }
/* Just above the downloads the card turns around (#join): the join screen
   on the left, the words on the right, and the link sent back toward the
   screen, so its heading doesn't meet the downloads' on the same side. A
   phone keeps the one column. */
@media (min-width: 721px) {
  #join .card-link { padding-right: clamp(28px, 3.2vw, 48px); padding-left: clamp(28px, 6vw, 96px); }
  #join .card-link .join { grid-column: 1; rotate: -2deg; }
  /* The friend lands where the link arrives: the screen's other corner. */
  #join .join-landed { left: auto; right: -40px; }
  #join .card.waiting .join-landed { translate: -60px -40px; }
}
@media (min-width: 1240px) {
  #join .card-link { grid-template-columns: minmax(0, 330px) minmax(0, 1fr) minmax(0, 1fr); }
  #join .card.card-link > :is(.pain, h2) { grid-column: 2 / 4; justify-self: end; text-align: right; }
  #join .card.card-link > .card-copy { grid-column: 3; justify-self: end; text-align: right; }
  #join .card-link .sent { grid-column: 2; justify-items: end; }
  #join .card.waiting .sent-link { translate: 30px 10px; }
}
@media (min-width: 721px) and (max-width: 1239px) {
  #join .card-link { grid-template-columns: minmax(0, 330px) minmax(0, 1fr); }
  #join .card-link > :not(.join), #join .card-link .sent { grid-column: 2; }
}
.join-mark { width: 104px; height: auto; margin-top: 2px; }
.join-server { color: var(--j-mist); font-size: .8em; }
.join-body { justify-self: stretch; display: grid; gap: 12px; margin-top: 4px; padding: 16px; border: 1px solid var(--j-edge); border-radius: 10px; background: var(--j-dusk); box-shadow: 0 24px 64px rgb(0 0 0 / .55); text-align: left; }
.join-doors { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 2px; }
.join-door { display: grid; gap: 4px; padding: 10px; border: 1px solid var(--j-edge); border-radius: 10px; font-size: .85em; line-height: 1.3; }
.join-door strong { font-weight: 600; }
.join-door span { color: var(--j-mist); font-size: .85em; line-height: 1.35; }
.join-door.on { border-color: var(--j-iris); background: var(--j-sel); }
.join-label { font-size: .82em; }
.join-field { display: flex; align-items: center; margin-top: -5px; padding: 11px 15px; border: 1px solid var(--ember); border-radius: 10px; background: var(--j-slate); }
.caret { width: 1.5px; height: 1.2em; margin-left: 1px; background: var(--ember); }
.join-hint { margin-top: -6px; color: var(--j-mist); font-size: .8em; line-height: 1.5; }
.join-button { padding: 11px; border-radius: 10px; color: var(--j-ink); background: var(--ember); font-weight: 650; text-align: center; }
.join-trust { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; color: var(--j-mist); font-size: .72em; }
.join-trust svg { width: 13px; height: 13px; fill: none; stroke: var(--ember); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.join-landed { position: absolute; left: -40px; bottom: -40px; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 14px; border: 1px solid rgb(255 255 255 / .12); border-radius: 14px; background: linear-gradient(180deg, #2b2741, #211e31); box-shadow: 0 18px 36px -16px rgb(0 0 0 / .95); font-weight: 700; rotate: -5deg; white-space: nowrap; }
/* "noor · you", spaced as the app's people list spaces it. */
.join-you { color: var(--mist); font-weight: 500; }

/* The toys' buttons: plain, outlined, and pressable; the ember key stays
   the buy key's alone. */
.toy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.toy-btn { min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border: 1.5px solid rgb(255 255 255 / .3); border-radius: 12px; color: var(--moon-bright); background: rgb(255 255 255 / .05); font-size: var(--t-small); font-weight: 800; letter-spacing: -.005em; white-space: nowrap; cursor: pointer; transition: background 150ms var(--ease), border-color 150ms var(--ease), scale 90ms var(--ease); }
.toy-btn:disabled { cursor: default; }
.toy-btn:not(:disabled):active { scale: .96; }
@media (hover: hover) { .toy-btn:not(:disabled):hover { border-color: rgb(255 255 255 / .6); background: rgb(255 255 255 / .1); } }
.toy-btn:focus-visible { border-radius: 12px; }

/* ── Apps ─────────────────────────────────────────────────────────────── */

/* Under the copy, two cut-outs of the native app, tilted like stickers,
   each tagged with the one thing it shows, then the stores' own badges as
   the chapter's action, each with a quarter of its height clear around it. */
.pocket-bits { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--s6) var(--s7); margin-top: var(--s6); }
.pocket-bit { display: grid; justify-items: start; gap: 12px; }
.bit-list { rotate: -3deg; }
.bit-bar { rotate: 2.5deg; margin-top: var(--s5); }
.bit-card { border: 1px solid rgb(255 255 255 / .12); border-radius: 18px; color: #f1eadf; background: linear-gradient(180deg, #17151d, #0f0f15); box-shadow: inset 0 1px 0 rgb(255 255 255 / .06), 0 26px 44px -20px rgb(0 0 0 / .95), 0 2px 6px rgb(0 0 0 / .35); font-size: .9375rem; line-height: 1.3; }
.bit-list .bit-card { width: 236px; padding: 11px 11px 13px; }
.bit-chan { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border-radius: 10px; background: #2a2340; font-weight: 700; }
.bit-chan svg { width: 15px; height: 15px; color: #aaa1ad; }
.bit-people { display: grid; gap: 10px; margin-top: 11px; padding-left: 14px; color: #aaa1ad; font-size: .875rem; }
.bit-people li { display: flex; align-items: center; gap: 10px; }
.bit-dot { width: 10px; height: 10px; flex: none; border: 1.5px solid var(--ember); border-radius: 50%; }
.bit-dot.on { background: var(--ember); }
.bit-bar .bit-card { display: flex; align-items: center; gap: 8px; padding: 9px 10px 9px 14px; }
.bit-where { margin-right: 6px; color: #aaa1ad; font-size: .875rem; }
.bit-btn { width: 44px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: #f1eadf; background: #221f2b; }
.bit-btn svg { width: 20px; height: 20px; }
.bit-leave { color: #ff8ea0; background: rgb(var(--hot-rgb) / .16); }
.bit-tag { padding: 5px 11px 6px; border-radius: 9px; color: #1c1320; background: #fff3e2; box-shadow: 0 10px 18px -8px rgb(0 0 0 / .8); font-size: var(--t-small); font-weight: 800; line-height: 1.25; rotate: 1.5deg; }
.bit-bar .bit-tag { rotate: -2deg; }
.pocket-stores { display: flex; flex-wrap: wrap; gap: 14px 16px; margin-top: var(--s7); }
.pocket-stores a { display: block; border-radius: 10px; }
.pocket-stores img { height: 52px; width: auto; }
/* Stacked, the bar steps to the other side. */
.pocket-copy { container-type: inline-size; }
@container (max-width: 560px) { .bit-bar { margin-top: 0; margin-left: auto; } }
.pocket { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); align-items: center; gap: var(--s7) var(--s9); }
.film-pocket { width: min(360px, 100%); justify-self: center; container-type: inline-size; }
.pocket-phone { position: relative; z-index: 1; width: 76%; margin-inline: auto; rotate: -3deg; clip-path: inset(-40% -40% 8% -40%); }
/* The phone keeps one shape at every size: its corners are a share of its
   width (48px and 39px at 400px). */
.film-pocket .film-frame { overflow: visible; padding: 9px; border-color: #3d3a4f; border-radius: 15.8% / 7.76%; background: linear-gradient(155deg, #23212d, #0c0c11 42%, #15141c); }
.film-pocket .film-frame::after { content: ''; position: absolute; right: -4px; top: 21%; width: 3px; height: 11%; border-radius: 0 3px 3px 0; background: #2c2a37; }
.pocket-screen { position: relative; overflow: hidden; border-radius: 13.64% / 6.49%; background: #0f0f15; }
/* The emulator's status bar (the top 96 of 1734 rows) is cropped away: its
   clock read 10:30 while the messages it films arrive at 10:31 PM. */
.film-pocket video { aspect-ratio: 780 / 1638; object-fit: cover; object-position: 50% 100%; }
.film-pocket .film-poster { object-position: 50% 100%; }
.pocket-cloth { position: relative; z-index: 2; width: 100%; height: auto; margin-top: -52%; }
.pocket-lip { fill: none; stroke: rgb(255 255 255 / .1); stroke-width: 1.5; }
.stitch { fill: none; stroke: var(--iris); stroke-opacity: .42; stroke-width: 1.6; stroke-dasharray: 6 5; stroke-linecap: round; }
.rivet { fill: #6c657c; stroke: #0d0d13; stroke-opacity: .6; stroke-width: 1.5; }
.pocket-pops { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
/* The take's two new lines, beside the phone: kit's hangs off its left edge
   past the screen, ben's covers only the empty right of the channel rows
   and of the messages (cqw is the figure's width; the screen is 76cqw less
   20px wide and 2.1 times as tall). */
.pop-coming { right: calc(88cqw - 4px); top: calc(11.2cqw + 7px); rotate: -4deg; }
.pop-noor { left: calc(12cqw + 10px + .72 * (76cqw - 20px)); top: 34.3cqw; rotate: 4deg; }
.film-pocket figcaption { margin-top: var(--s3); }
/* ── The twin's later pieces ─────────────────────────────────────────── */

/* A person's menu (PersonMenu.tsx): their name, the poke, their volume
   (ListenerVolume.tsx), then the rows; "hide all their video" is a check. */
.ws-pop[data-pop='person'], .ws-pop[data-pop='tilemenu'] { padding: calc(.35 * var(--rem)); }
.ws-mtitle { display: flex; align-items: center; gap: calc(.5 * var(--rem)); margin-bottom: calc(.25 * var(--rem)); padding: calc(.4 * var(--rem)) calc(.55 * var(--rem)) calc(.5 * var(--rem)); border-bottom: 1px solid var(--a-edge); }
.ws-mtitle-name { display: inline-flex; align-items: center; gap: calc(.3 * var(--rem)); min-width: 0; overflow: hidden; font-size: calc(.86 * var(--rem)); font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.ws-mtitle .ws-crown-i { position: static; }
.ws-poke, .ws-lvol { display: flex; align-items: center; gap: calc(.4 * var(--rem)); padding: calc(.3 * var(--rem)) calc(.55 * var(--rem)); }
.ws-pop .ws-poke-text { flex: 1; min-width: 0; padding: calc(.3 * var(--rem)) calc(.45 * var(--rem)); border: 1px solid var(--a-edge); border-radius: calc(6 * var(--u)); background: var(--a-ink); font-size: calc(.78 * var(--rem)); }
.ws-pop .ws-poke-text:focus-visible { border-color: var(--ember); }
.ws-poke-send { flex: none; padding: calc(.3 * var(--rem)) calc(.6 * var(--rem)); border: 0; border-radius: calc(6 * var(--u)); color: var(--a-ink) !important; background: var(--ember); font-size: calc(.78 * var(--rem)); font-weight: 600; }
.ws-lvol input { flex: 1; min-width: 0; padding: 0; background: none !important; accent-color: var(--ember); }
.ws-lvol-pct { min-width: 4ch; color: var(--a-mist); font: calc(.72 * var(--rem)) var(--mono); text-align: right; }
.ws-lvol-pct.boosted { color: var(--ember); }
.ws-lvol-reset { padding: 0 calc(.35 * var(--rem)); border: 0; color: var(--a-mist) !important; background: none; font-size: calc(.72 * var(--rem)); }
.ws-lvol-reset:disabled { opacity: .45; cursor: default; }
.ws-mcheck { display: grid; place-items: center; width: calc(16 * var(--u)); height: calc(16 * var(--u)); margin-inline: calc(.05 * var(--rem)); border: 1px solid color-mix(in srgb, var(--a-mist) 60%, transparent); border-radius: calc(3 * var(--u)); color: var(--a-ink); }
.ws-mcheck svg { width: calc(12 * var(--u)); height: calc(12 * var(--u)); opacity: 0; }
.ws-mi[aria-checked='true'] .ws-mcheck { border-color: var(--ember); background: var(--ember); }
.ws-mi[aria-checked='true'] .ws-mcheck svg { opacity: 1; }
/* The line a poke writes, flagged beside its time (ChatPane.tsx .poke-flag). */
.ws-pokeflag { display: inline-flex; align-items: center; gap: calc(.25 * var(--rem)); margin-left: calc(.2 * var(--rem)); color: var(--ember); font: calc(.66 * var(--rem)) var(--mono); letter-spacing: .02em; vertical-align: -.12em; }
.ws-pokeflag svg { width: calc(13 * var(--u)); height: calc(13 * var(--u)); }

/* Moving a person, and reordering channels (app.css spatial voice
   moderation and drag-to-reorder): every channel a full wash, the one
   under the pointer lit, the person's own row lifted, a ghost pill in
   hand; then "moving…" on their row until they arrive. */
.ws.moving, .ws.moving .ws-vm, .ws.moving .ws-ch { cursor: grabbing; }
.ws [data-drop] { transition: background-color 120ms ease, box-shadow 120ms ease; }
.ws [data-drop='eligible'] { background: rgb(var(--ember-rgb) / .045); box-shadow: inset 0 0 0 1px rgb(var(--ember-rgb) / .28); }
.ws [data-drop='active'] { background: rgb(var(--ember-rgb) / .13); box-shadow: inset 0 0 0 2px var(--ember), 0 0 18px rgb(var(--ember-rgb) / .12); }
.ws [data-drop='source'] { background: color-mix(in srgb, var(--a-moon) 1.8%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--a-moon) 4.5%, transparent); }
.ws-chwrap[data-drop], .ws-voice[data-drop], p.ws-ch[data-drop] { border-radius: calc(6 * var(--u)); }
.ws-voice li[data-lifted] .ws-vm { color: var(--a-moon); background: var(--a-slate); box-shadow: var(--a-raised); }
.ws-ghost { position: absolute; z-index: 40; left: 0; top: 0; display: flex; align-items: center; gap: calc(.45 * var(--rem)); max-width: calc(17 * var(--rem)); padding: calc(.42 * var(--rem)) calc(.58 * var(--rem)); border: 1px solid rgb(var(--ember-rgb) / .56); border-radius: calc(8 * var(--u)); color: var(--a-moon); background: var(--a-slate); box-shadow: var(--a-raised); font-size: calc(.8 * var(--rem)); opacity: 0; pointer-events: none; }
.ws-ghost.on { opacity: 1; }
.ws-moving { margin-left: auto; padding-right: calc(10 * var(--u)); color: var(--a-mist); font: calc(.64 * var(--rem)) var(--mono); }
.ws-voice li.pending-move .ws-crown, .ws-voice li.pending-move .ws-scr { visibility: hidden; }
.ws-rows.reordering { user-select: none; }
.ws-rows.reordering > :not(.dragging) { transition: translate 140ms ease; }
.ws-rows .dragging { position: relative; z-index: 5; }
p.ws-ch.dragging, .ws-chwrap.dragging { color: var(--a-moon); background: var(--a-slate); box-shadow: var(--a-raised); cursor: grabbing; }
/* A person's row and a channel name speak their gestures beside them,
   one line each, out to the right where the chat has room. */
.ws .ws-vm[data-tip]:hover::after, .ws .ws-vm[data-tip]:focus-visible::after, .ws p.ws-ch[data-tip]:hover::after, .ws .ws-ch[data-tip]:focus-visible::after { left: calc(100% + 8 * var(--u)); bottom: auto; top: 50%; translate: 0 -50%; white-space: pre; line-height: 1.35; text-align: left; }
.ws.moving [data-tip]::after, .ws-rows.reordering [data-tip]::after { display: none; }

/* What the app says when a file can't go: a toast at the window's foot. */
.ws-toast { position: absolute; z-index: 20; left: 50%; bottom: calc(80 * var(--u)); max-width: calc(100% - 32 * var(--u)); padding: calc(.5 * var(--rem)) calc(.8 * var(--rem)); border: 1px solid var(--a-edge); border-radius: calc(8 * var(--u)); color: var(--a-moon); background: var(--a-ink); box-shadow: var(--a-raised); font-size: calc(.76 * var(--rem)); translate: -50% 8px; opacity: 0; pointer-events: none; transition: opacity 160ms var(--ease), translate 160ms var(--ease); }
.ws-toast.on { opacity: 1; translate: -50% 0; }
/* A picture staged from this device: its thumbnail (preview) and the
   spoiler switch beside the name, as the app's staged chip has them. */
.ws-compose.dropping { box-shadow: inset 0 0 0 2px var(--ember); }
.ws-staged-thumb { display: block; width: calc(40 * var(--u)); height: calc(40 * var(--u)); padding: 0; overflow: hidden; border: 1px solid var(--a-edge); border-radius: calc(6 * var(--u)); background: var(--a-ink); cursor: zoom-in; }
.ws-staged-thumb canvas { display: block; width: 100%; height: 100%; object-fit: cover; }
.ws-staged-thumb.spoilered canvas { filter: blur(6px); }
.ws-staged.picture .ws-chipfile > svg { display: none; }
.ws-staged-spoiler { display: inline-flex; align-items: center; gap: calc(.25 * var(--rem)); padding: calc(.15 * var(--rem)) calc(.4 * var(--rem)); border: 1px solid var(--a-edge); border-radius: 999px; color: var(--a-mist); background: none; font-size: calc(.66 * var(--rem)); cursor: pointer; }
.ws-staged-spoiler svg { width: calc(13 * var(--u)); height: calc(13 * var(--u)); }
.ws-staged-spoiler[aria-pressed='true'] { border-color: var(--ember); color: var(--ember); }
.ws-staged.picture .ws-chipfile { max-width: calc(20 * var(--rem)); }
.ws-pop[data-pop='viewer'] { display: grid; gap: calc(.6 * var(--rem)); padding: calc(.8 * var(--rem)); }
.ws-pop[data-pop='viewer'][hidden] { display: none; }
.ws-viewer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: calc(.6 * var(--rem)); }
.ws-viewer-head h2 { font-size: calc(.95 * var(--rem)); overflow-wrap: anywhere; }
.ws-viewer-head p { color: var(--a-mist); font: calc(.66 * var(--rem)) var(--mono); }
.ws-viewer-pic { display: grid; place-items: center; }
.ws-viewer-pic canvas, .ws-localpic canvas { display: block; width: calc(var(--cw) * var(--u)); max-width: 100%; height: auto; border-radius: calc(8 * var(--u)); }
.ws-localpic { position: relative; display: block; width: fit-content; max-width: 100%; margin-top: calc(.3 * var(--rem)); padding: 0; overflow: hidden; border: 1px solid var(--a-edge); border-radius: calc(10 * var(--u)); background: #000; }
button.ws-localpic { cursor: pointer; }
.ws-localpic.spoilered canvas { filter: blur(18px); }
.ws-spoil-label { position: absolute; left: 50%; top: 50%; padding: calc(.25 * var(--rem)) calc(.6 * var(--rem)); border-radius: 999px; color: var(--a-moon); background: rgb(0 0 0 / .6); font: calc(.7 * var(--rem)) var(--mono); translate: -50% -50%; }

/* The report (SupportModal.tsx), inside the window. */
.ws-pop[data-pop='report'] { padding: 0; }
.ws-rep-head { position: relative; display: flex; align-items: center; gap: calc(.7 * var(--rem)); padding: calc(1 * var(--rem)) calc(3.2 * var(--rem)) calc(.9 * var(--rem)) calc(1 * var(--rem)); border-bottom: 1px solid var(--a-edge); }
.ws-rep-head .ws-x { position: absolute; top: calc(.8 * var(--rem)); right: calc(.8 * var(--rem)); }
.ws-rep-mark { display: grid; place-items: center; flex: none; width: calc(36 * var(--u)); height: calc(36 * var(--u)); border: 1px solid color-mix(in srgb, var(--ember) 35%, transparent); border-radius: 50%; color: var(--ember); }
.ws-rep-mark svg { width: calc(18 * var(--u)); height: calc(18 * var(--u)); }
.ws-rep-head h2 { font-size: calc(1 * var(--rem)); }
.ws-rep-head p, .ws-rep-dest { color: var(--a-mist); font-size: calc(.76 * var(--rem)); line-height: 1.45; }
.ws-rep-body { display: grid; gap: calc(.5 * var(--rem)); padding: calc(.9 * var(--rem)) calc(1 * var(--rem)) calc(1 * var(--rem)); }
.ws-rep-label { font-size: calc(.74 * var(--rem)); font-weight: 600; }
.ws-pop textarea { width: 100%; min-height: calc(9 * var(--rem)); padding: calc(.5 * var(--rem)); border: 1px solid var(--a-edge); border-radius: calc(6 * var(--u)); color: var(--a-moon); background: var(--a-ink); font: calc(.76 * var(--rem)) / 1.45 var(--sans); resize: none; outline: none; }
.ws-pop textarea:focus-visible { border-color: var(--ember); }
.ws-rep-count { justify-self: end; color: var(--a-mist); font: calc(.62 * var(--rem)) var(--mono); }
.ws-rep-acts { display: flex; justify-content: flex-end; gap: calc(.5 * var(--rem)); }
.ws-rep-send { min-height: calc(2.4 * var(--rem)); padding: 0 calc(.9 * var(--rem)); border: 0; border-radius: calc(8 * var(--u)); color: var(--a-ink) !important; background: var(--ember); font-size: calc(.78 * var(--rem)); font-weight: 700; }
.ws-rep-send:disabled { opacity: .45; cursor: default; }
.ws-rep-again { padding: 0 calc(.6 * var(--rem)); border: 0; color: var(--a-mist) !important; background: none; font-size: calc(.76 * var(--rem)); }
.ws-rep-sent { color: var(--a-moon); font-size: calc(.86 * var(--rem)); }

/* The poll's "Add a choice" and the plan's responses (PollCard.tsx,
   EventCard.tsx). */
button.ws-poll-add { width: 100%; background: none; font: inherit; color: var(--a-mist); cursor: pointer; }
@media (hover: hover) { button.ws-poll-add:hover { border-color: var(--a-mist); color: var(--a-moon); } }
.ws-poll-addrow { display: flex; flex-wrap: wrap; align-items: center; gap: calc(.4 * var(--rem)); }
.ws-poll-addrow input { flex: 1 1 calc(10 * var(--rem)); min-width: 0; padding: calc(.45 * var(--rem)) calc(.6 * var(--rem)); border: 1px solid var(--a-edge); border-radius: calc(8 * var(--u)); color: var(--a-moon); background: var(--a-ink); font: inherit; font-size: calc(.8 * var(--rem)); outline: none; }
.ws-poll-addrow input:focus-visible { border-color: var(--ember); }
.ws-poll-cancel { padding: 0 calc(.5 * var(--rem)); border: 0; color: var(--a-mist); background: none; font-size: calc(.76 * var(--rem)); cursor: pointer; }
.ws-poll-confirm { min-height: calc(2.3 * var(--rem)); padding: 0 calc(.8 * var(--rem)); border: 0; border-radius: calc(8 * var(--u)); color: var(--a-ink); background: var(--ember); font-size: calc(.78 * var(--rem)); font-weight: 700; cursor: pointer; }
.ws-poll-confirm:disabled { opacity: .45; cursor: default; }
.ws-poll-note { flex: 1 0 100%; color: var(--a-mist); font-size: calc(.7 * var(--rem)); }
button.ws-answers { justify-self: start; padding: 0; border: 0; background: none; color: var(--a-mist); font: inherit; font-size: calc(.75 * var(--rem)); text-decoration: underline; text-decoration-color: var(--a-edge); text-underline-offset: 3px; cursor: pointer; }
@media (hover: hover) { button.ws-answers:hover { color: var(--a-moon); } }
.ws-answer-list { display: grid; gap: calc(.3 * var(--rem)); margin: 0; font-size: calc(.74 * var(--rem)); }
.ws-answer-list[hidden] { display: none; }
.ws-answer-list dt { color: var(--a-mist); font-weight: 600; }
.ws-answer-list dd { margin: 0; color: var(--a-moon); }
/* A screen getting ready (VideoStage.tsx's pending tile): the offer's
   shape and words, nothing to press yet. */
.ws-tile.pending { border-color: color-mix(in srgb, var(--a-edge) 65%, var(--ember)); }
.ws-tile.pending .ws-offer-view { cursor: default; opacity: 1; }
/* Its title wraps whole, as the app's does, rather than clipping. */
.ws .ws-tile.pending .ws-offer-copy { padding-right: 0; }
.ws .ws-tile.pending .ws-offer-copy strong { display: block; -webkit-line-clamp: unset; white-space: normal; }
.ws-tile.pending .ws-offer-icon { animation: ws-ready 1100ms ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .ws-tile.pending .ws-offer-icon { animation: none; } }
@keyframes ws-ready { 50% { opacity: .55; } }

/* The twin on a phone: the app at phone size, with the app's touch rules,
   every control a 44 px target, the join arrows always shown, nothing to
   drag, no hover tips, and 16 px fields so a phone doesn't zoom in. */
.ws[data-phone] :is(.ws-hd, .ws-cb, .ws-send, .ws-vb, .ws-cr, .ws-ico, .ws-x, .ws-secadd, .ws-bots, .ws-ppl-back) { min-width: 44px; min-height: 44px; }
.ws[data-phone] .ws-ch, .ws[data-phone] .ws-dmrow { height: auto; min-height: 44px; }
.ws[data-phone] .ws-voice li { height: 44px; }
.ws[data-phone] :is(.ws-fold, .ws-pres, .ws-me, .ws-selftools button, .ws-tc) { min-height: 44px; min-width: 44px; }
.ws[data-phone] :is(.ws-dmface, .ws-dmopen) { min-height: 44px; }
.ws[data-phone] .ws-dmface { width: 44px; }
.ws[data-phone] .ws-botrow .ws-vm { min-height: 44px; }
.ws[data-phone] .ws-vol input { height: 44px; }
.ws[data-phone] .ws-tile-ctl { pointer-events: none; }
.ws[data-phone] .ws-tile.chrome .ws-tile-ctl { opacity: 1; pointer-events: auto; }
/* Inline targets keep their look; a finger's reach extends past them into
   the gap around them, as the app's reactions do. */
.ws[data-phone] :is(.ws-quote, .ws-chip, .ws-addr, .ws-viewing, .ws-med, .ws-author, button.ws-at, .ws-chref) { position: relative; }
.ws[data-phone] :is(.ws-quote, .ws-chip, .ws-addr, .ws-viewing, .ws-med, .ws-author, button.ws-at, .ws-chref)::before { content: ''; position: absolute; inset: 50% auto auto 50%; width: max(100%, 44px); height: 44px; translate: -50% -50%; }
.ws[data-phone] .ws-join { width: 44px; height: 44px; top: calc(50% - 22px) !important; opacity: 1; }
/* The app's touch list: the action column grows to 44, the markers keep one
   row gap before it, and the join arrow sits on a raised disc so a finger
   reads it as its own button. */
.ws[data-phone] .ws-join::before { content: ''; position: absolute; inset: 50% auto auto 50%; width: 32px; height: 32px; translate: -50% -50%; border-radius: 50%; background: var(--a-slate); box-shadow: inset 0 0 0 1px var(--a-edge); }
.ws[data-phone] .ws-join svg { position: relative; }
.ws[data-phone] :is(.ws-ch .ws-unread, .ws-ch .ws-mention) { --r-in: calc(28.8 * var(--u) + 1px + 44px); }
.ws[data-phone] .ws-sec-ring { --r-in: calc(16.8 * var(--u) + 1px + 44px); }
.ws[data-phone] :is(.ws-secadd, .ws-bots) { top: calc(50% - 22px); }
.ws[data-phone] .ws-sec { height: 44px; }
/* The dock at touch size: 44 px call buttons and tools, the same 12 px
   padding, and the list's reserve grown to match. */
.ws[data-phone] .ws-callrow { height: 57px; }
.ws[data-phone] .ws-cr.ws-leave { flex-basis: 44px; }
.ws[data-phone] .ws-selfrow { height: 64px; padding: 8px 0 12px calc(8 * var(--u)); }
.ws[data-phone] .ws-selftools { top: 8px; align-items: center; }
.ws[data-phone] .ws-presence { height: calc(7 * var(--u) + 45px); }
.ws[data-phone] :is(.ws-list, .ws-people) { margin-bottom: calc(7 * var(--u) + 45px + 121px); }
.ws[data-phone][data-novoice] :is(.ws-list, .ws-people) { margin-bottom: calc(7 * var(--u) + 45px + 64px); }
/* Touch rows keep only a pinned row's pin; holding a row offers the rest. */
.ws[data-phone] :is(.ws-dmpin:not([data-pinned]), .ws-dmx) { display: none; }
.ws[data-phone] .ws-dmrow[data-pinned] .ws-dmpin { width: 44px; height: 44px; top: calc(50% - 22px); --r-in: calc(12 * var(--u) + 12px); }
.ws[data-phone] .ws-dmrow .ws-mention, .ws[data-phone] .ws-dmrow .ws-unread { --r-in: calc(30 * var(--u)); }
.ws[data-phone] .ws-dmrow[data-pinned] :is(.ws-mention, .ws-unread) { --r-in: calc(30 * var(--u) + 44px); }
.ws[data-phone] .ws-mi, .ws[data-phone] .ws-pop button:not(.ws-x) { min-height: 44px; }
.ws[data-phone] :is(.ws-grab, .ws-corner, .ws-hint) { display: none; }
.ws[data-phone] [data-tip]::after { display: none !important; }
.ws[data-phone] :is(input, textarea, select) { font-size: 16px !important; }
/* A control draws its own press, so the browser's tap flash goes; with no
   pointer to rest on a row first, a finger gets the wash while it's down. */
.ws { -webkit-tap-highlight-color: transparent; }
.ws[data-phone] :is(p.ws-ch:not(.on), .ws-chwrap .ws-ch:not(.on), .ws-dmrow:not(.on), .ws-voice .ws-vm, .ws-mi, .ws-set-row):active { background: var(--a-slate); }
/* On the phone's twin the window can't be resized, so its size, and the
   caption's line about shrinking it, go; the bar takes the width. */
@container (max-width: 699px) {
  .ws-under .ws-sizes { display: none; }
  .ws-bar { width: 100%; justify-content: space-between; margin-left: 0; }
}

.ws[data-tightc] .ws-compose:not([data-writing]) :is([data-fmt], .ws-gif, .ws-send) { display: none !important; }
.ws[data-tightc] .ws-compose[data-writing] .ws-draft { flex: 1 0 100%; order: -1; }
.ws[data-tightc] .ws-compose[data-writing] .ws-send { margin-left: auto; }
.ws[data-tightc] .ws-compose[data-writing] .ws-staged { order: -2; }

/* ── The desktop app ──────────────────────────────────────────────────── */

/* One chapter: the complaint, the heading, and its line, then the twin at
   the full width under them, snug's two system menus beside the words, and
   three beats under the twin. */
#yours { container-type: inline-size; }
#yours .ws-fig { margin-top: var(--s6); }
.ws-fig figcaption { max-width: 34rem; color: var(--mist); font-size: var(--t-small); line-height: 1.5; }
/* Its words sit centred over the full-width twin, the line under the
   heading at a comfortable measure, so the run of chapters doesn't lean
   one way. */
@media (min-width: 721px) {
  #yours .chapter-head { max-width: none; text-align: center; }
  #yours .pain { margin-inline: auto; }
  #yours h2 { text-wrap: balance; }
  #yours .chapter-lede { max-width: 36rem; margin-inline: auto; }
}

@keyframes ce-pop { from { opacity: 0; scale: .2; } }

/* ── Make it yours: mila's profile card and the themes ─────────────────── */

/* The card is the app's (PersonProfilePopover, app.css), drawn in app
   pixels (--u) at the app's own rem, and painted from the same color names
   as the twin, which a theme sets on both (site/dress.js). The picks beside
   it are Settings > Profile's choices, in the room's colors too. */
.look { --u: 1px; --rem: calc(16 * var(--u)); --a-ink: #121015; --a-dusk: #1a171e; --a-slate: #29242d; --a-edge: #3f3844; --a-sel: #2d2740; --a-moon: #f1eadf; --a-mist: #aaa1ad; --a-iris: #b5a5d9; --a-rose: #ef8b8b; --a-hover: rgb(255 255 255 / .055); --night-moon: #f1eadf; margin-top: var(--s7); }
.look[data-light] { --a-hover: rgb(0 0 0 / .055); }
/* One row where there's room: the card, its picks, and the themes, each
   under its beat, so a choice shows on the card and in the twin below at
   once. Two columns on a tablet, the themes under them; one on a phone. */
.look { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 15.5rem); grid-template-areas: 'pcopy pcopy tcopy' 'card picks themes'; align-items: start; gap: var(--s4) var(--s6); }
.look-copy-profile { grid-area: pcopy; }
.look-copy-theme { grid-area: tcopy; }
.look-card-wrap { grid-area: card; display: grid; justify-items: center; gap: var(--s4); width: min-content; justify-self: center; }
.look-picks { grid-area: picks; }
.look-themes { grid-area: themes; }
.look-copy { display: grid; justify-items: start; align-content: end; gap: var(--s3); }
.look-copy h3 { max-width: 30rem; font-size: var(--t-body); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; text-wrap: balance; }
@media (min-width: 1240px) { .look-card { --u: 1.15px; } }
@media (max-width: 1239px) {
  .look { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: 'pcopy pcopy' 'card picks' 'tcopy tcopy' 'themes themes'; }
  .look-copy-theme { margin-top: var(--s5); }
}
@media (max-width: 760px) {
  .look { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'pcopy' 'card' 'picks' 'tcopy' 'themes'; }
  .look-card-wrap { width: min(calc(18 * var(--rem)), 100%); }
}
/* Shuffle carries the Download button's weight, a size down: the lit key
   stays the page's only ember one. */
.look-shuffle { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 0 20px; border: 1.5px solid rgb(255 255 255 / .34); border-radius: 14px; color: var(--moon-bright); background: rgb(255 255 255 / .06); font: inherit; font-size: var(--t-small); font-weight: 800; letter-spacing: -.01em; cursor: pointer; transition: background 150ms var(--ease), border-color 150ms var(--ease), scale 120ms var(--ease); }
.look-shuffle svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--ember-bright); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .look-shuffle:hover { border-color: rgb(255 255 255 / .6); background: rgb(255 255 255 / .1); } }
.look-shuffle:active { scale: .97; }
.look-shuffle:focus-visible { outline: 2px solid var(--ember); outline-offset: 4px; }
/* Her colors, under the card they color: a row of swatches each. */
.look-colors { display: grid; gap: var(--s3); width: 100%; }
.look-colors .lk-set + .lk-set { margin-top: 0; }
.look-colors .lk-options { grid-template-columns: repeat(auto-fill, minmax(19px, 1fr)); gap: 5px; }
.look-colors .lk-accent .lk-choice[data-value='auto'] { grid-column: 1 / -1; justify-self: start; padding: 4px 12px; border-radius: 999px; }

.look-card { position: relative; isolation: isolate; width: calc(18 * var(--rem)); padding: calc(.3 * var(--rem)); border: 1px solid var(--a-edge); border-radius: calc(10 * var(--u)); color: var(--a-moon); background: radial-gradient(circle at 14% 0%, rgb(var(--ember-rgb) / .09), transparent 52%), var(--a-dusk); box-shadow: 0 calc(14 * var(--u)) calc(38 * var(--u)) rgb(0 0 0 / .5), 0 30px 80px -30px rgb(0 0 0 / .8); font-family: var(--sans); font-size: calc(.88 * var(--rem)); line-height: 1.35; text-align: left; }
.look-card .pc-header { display: grid; margin: calc(-.3 * var(--rem)) calc(-.3 * var(--rem)) 0; }
.look-card .profile-banner { border-radius: calc(9 * var(--u)) calc(9 * var(--u)) 0 0; }
.look-card .profile-banner[data-banner='color'] { height: calc(4.75 * var(--rem)); }
.look .profile-banner { position: relative; overflow: hidden; height: calc(3.5 * var(--rem)); border-radius: calc(8 * var(--u)); background: color-mix(in srgb, var(--person-color, #a67bc9) 45%, var(--a-dusk)); }
.look .profile-banner[data-banner='scene'] { height: auto; aspect-ratio: 5 / 2; }
.look .banner-frame { position: absolute; top: 50%; left: 0; width: 100%; aspect-ratio: 5 / 2; transform: translateY(-50%); }
.look :is(.banner-run, .banner-motion) { position: absolute; display: block; }
.look .banner-motion > .banner-run { inset: 0; width: 100%; height: 100%; }
.look-card .pc-body { position: relative; isolation: isolate; display: grid; padding: 0 calc(.3 * var(--rem)) calc(.65 * var(--rem)); }
.look .medallion { position: relative; display: inline-grid; place-items: center; flex: none; border-radius: 50%; color: var(--person-ink, var(--a-ink)); background: var(--person-color, #a67bc9); font-style: normal; font-weight: 700; user-select: none; }
.look .pc-initials { position: relative; z-index: 0; }
.look-card .pc-medallion { width: calc(4.5 * var(--rem)); height: calc(4.5 * var(--rem)); margin: calc(-2.25 * var(--rem)) 0 0 calc(.65 * var(--rem)); box-shadow: 0 0 0 calc(4 * var(--u)) var(--a-dusk); font-size: calc(1.3 * var(--rem)); font-weight: 750; }
.look-card .pc-pip { position: absolute; z-index: 2; right: calc(.1 * var(--rem)); bottom: calc(.1 * var(--rem)); width: calc(.95 * var(--rem)); height: calc(.95 * var(--rem)); border: calc(3 * var(--u)) solid var(--a-dusk); border-radius: 50%; background: var(--ember); box-sizing: border-box; }
.look-card .pc-heading { min-width: 0; padding: calc(.45 * var(--rem)) calc(.55 * var(--rem)) 0; }
.look-card .pc-name-row { display: flex; align-items: baseline; gap: calc(.4 * var(--rem)); min-width: 0; }
.look-card .pc-name-row h3 { margin: 0; min-width: 0; overflow-wrap: anywhere; font-size: var(--rem); font-weight: 700; letter-spacing: 0; line-height: 1.35; }
.look-card .pc-crown { display: inline-grid; place-items: center; width: calc(17 * var(--u)); height: calc(17 * var(--u)); border: 1px solid rgb(255 225 180 / .56); border-radius: 50%; color: var(--a-ink); background: var(--ember); box-shadow: 0 0 0 1px rgb(var(--ember-rgb) / .14), 0 0 8px rgb(var(--ember-rgb) / .22); vertical-align: calc(-.18 * var(--rem)); box-sizing: border-box; }
.look-card .pc-crown svg { width: calc(13 * var(--u)); height: calc(13 * var(--u)); }
.look-card .pc-statusline { display: block; margin-top: calc(.3 * var(--rem)); color: var(--a-moon); font-size: calc(.8 * var(--rem)); line-height: 1.4; }
.look-card .pc-presence { margin: calc(.2 * var(--rem)) 0 0; color: var(--a-mist); font-size: calc(.72 * var(--rem)); line-height: 1.45; }
.look-card .pc-roles { display: flex; gap: calc(.3 * var(--rem)); margin-top: calc(.5 * var(--rem)); }
.look-card .pc-roles span { padding: calc(.1 * var(--rem)) calc(.45 * var(--rem)); border: 1px solid var(--a-edge); border-radius: 999px; color: var(--a-mist); font-size: calc(.72 * var(--rem)); }
.look-card .pc-actions { display: grid; gap: calc(.1 * var(--rem)); padding-top: calc(.25 * var(--rem)); border-top: 1px solid var(--a-edge); }
.look-card .pc-action { display: flex; align-items: center; gap: calc(.6 * var(--rem)); padding: calc(.38 * var(--rem)) calc(.55 * var(--rem)); border-radius: calc(6 * var(--u)); color: var(--a-moon); }
.look-card .pc-action svg { width: calc(1.1 * var(--rem)); height: calc(1.1 * var(--rem)); color: var(--a-mist); }
.look-card .pc-action.primary { background: rgb(var(--ember-rgb) / .12); font-weight: 650; }
.look-card .pc-action.primary svg { color: var(--ember); }

/* Profile styles, as app.css draws them. */
.look .person-frame { position: absolute; z-index: 1; inset: 0; overflow: clip; pointer-events: none; }
.look .medallion:has(> .person-frame[data-layered]) { z-index: 2; }
.look .person-frame :is(svg, i) { position: absolute; inset: 0; display: block; }
.look .person-frame i.moon { inset: auto; }
.look .person-accessory { position: absolute; z-index: 2; overflow: visible; pointer-events: none; }
.look .person-name[data-name-style='glow'] { text-shadow: 0 0 .5em color-mix(in srgb, var(--person-color) 70%, transparent); }
.look .person-name[data-name-font='display'] { font-family: var(--display); }
.look .person-name[data-name-font='mono'] { font-family: var(--mono); }
.look .card-effect { --fx-color: var(--person-color); --fx-accent: var(--person-accent); --fx-light: var(--night-moon); --sky-drift-ms: 60000ms; --falling-star-ms: 11000ms; --wash-wander-ms: 20000ms; position: absolute; z-index: -1; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.look[data-light] .card-effect { --fx-color: var(--light-room-color); --fx-accent: var(--light-room-accent); --fx-light: var(--light-room-color); }
.card-effect i { position: absolute; display: block; }
.card-effect :is(i, .sky) { animation-play-state: paused !important; }
.card-effect[data-moving] :is(i, .sky) { animation-play-state: running !important; }
.card-effect[data-card-effect='wash'] { background: linear-gradient(160deg, color-mix(in srgb, var(--fx-color) 24%, transparent), color-mix(in srgb, var(--fx-accent) 12%, transparent) 55%, transparent 90%); }
.card-effect[data-card-effect='wash'] i { inset: -30%; background: radial-gradient(40% 32% at 70% 22%, color-mix(in srgb, var(--fx-accent) 22%, transparent), transparent 70%); animation: card-wander var(--wash-wander-ms) ease-in-out infinite alternate; }
@keyframes card-wander { from { transform: translate3d(4%, -2%, 0); } to { transform: translate3d(-8%, 5%, 0); } }
.card-effect[data-card-effect='stars'] { background: radial-gradient(38% 30% at 26% 30%, color-mix(in srgb, var(--fx-color) 13%, transparent), transparent 70%), radial-gradient(34% 28% at 78% 62%, color-mix(in srgb, var(--fx-accent) 10%, transparent), transparent 70%); }
.card-effect .sky { position: absolute; inset: -12px; animation: card-sky var(--sky-drift-ms) ease-in-out infinite alternate; }
.card-effect .sky[data-depth='1'] { --sky: 7px; }
.card-effect .sky[data-depth='2'] { --sky: 12px; }
@keyframes card-sky { from { transform: translate3d(calc(var(--sky, 3px) * -1), 0, 0); } to { transform: translate3d(var(--sky, 3px), calc(var(--sky, 3px) * .3), 0); } }
.card-effect .star { border-radius: 50%; background: var(--fx-light); animation: card-twinkle calc(var(--twinkle) * 20) ease-in-out infinite; animation-delay: var(--offset); }
.card-effect .star[data-accent] { background: var(--fx-accent); }
.card-effect .sky[data-depth='2'] .star { box-shadow: 0 0 6px 1px color-mix(in srgb, currentColor 70%, transparent); color: var(--fx-light); }
.card-effect .sky[data-depth='2'] .star[data-accent] { color: var(--fx-accent); }
@keyframes card-twinkle {
  0%, 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90%, 100% { opacity: var(--low); transform: scale(.75); }
  5%, 15%, 25%, 35%, 45%, 55%, 65%, 75%, 85%, 95% { opacity: var(--high); transform: scale(1.1); }
}
.card-effect .sparkle { width: 13px; height: 13px; margin: -6px 0 0 -6px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--fx-light) 90%, transparent) 50%, transparent) center / 100% 1px no-repeat, linear-gradient(0deg, transparent, color-mix(in srgb, var(--fx-light) 90%, transparent) 50%, transparent) center / 1px 100% no-repeat, radial-gradient(closest-side, var(--fx-light), transparent 45%); animation: card-sparkle var(--twinkle) ease-in-out infinite; animation-delay: var(--offset); }
@keyframes card-sparkle { 0%, 100% { opacity: .15; transform: scale(.45) rotate(0deg); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }
.card-effect .falling { top: 18%; left: 55%; width: 90px; height: 1.5px; border-radius: 2px; opacity: 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--fx-light) 90%, transparent)); transform-origin: 100% 50%; animation: card-fall var(--falling-star-ms) cubic-bezier(.2, .6, .3, 1) infinite; animation-delay: var(--offset); }
@keyframes card-fall {
  0%, 88% { opacity: 0; transform: rotate(-24deg) translate3d(0, 0, 0) scaleX(.2); }
  90% { opacity: .9; transform: rotate(-24deg) translate3d(-20px, 0, 0) scaleX(1); }
  96%, 100% { opacity: 0; transform: rotate(-24deg) translate3d(-150px, 0, 0) scaleX(.6); }
}
.card-effect[data-card-effect='aurora'] { background: radial-gradient(70% 90% at 85% 0%, color-mix(in srgb, var(--fx-color) 9%, transparent), transparent 70%); }
.card-effect[data-card-effect='aurora'] i { --c: var(--fx-color); top: -30%; left: 18%; width: 100%; height: 90%; transform-origin: 50% 0%; background: repeating-linear-gradient(90deg, transparent 0 9px, color-mix(in srgb, var(--c) 8%, transparent) 12px, transparent 15px 23px), linear-gradient(to bottom, transparent 0%, color-mix(in srgb, var(--c) 26%, transparent) 30%, color-mix(in srgb, var(--c) 10%, transparent) 62%, transparent 95%); mask: radial-gradient(50% 55% at 62% 40%, #000 30%, transparent 100%); mix-blend-mode: screen; animation: card-curtain var(--sway) ease-in-out infinite alternate; }
.card-effect[data-card-effect='aurora'] i:nth-child(2) { left: 32%; --c: var(--fx-accent); animation-direction: alternate-reverse; }
.card-effect[data-card-effect='aurora'] i:nth-child(3) { left: 8%; height: 70%; --c: color-mix(in srgb, var(--fx-color) 50%, var(--fx-accent)); opacity: .6; }
@keyframes card-curtain {
  0% { transform: translate3d(-7%, 2%, 0) skewX(-4deg) scale(1, .9); }
  50% { transform: translate3d(2%, -3%, 0) skewX(5deg) scale(1.08, 1.06); }
  100% { transform: translate3d(8%, 1%, 0) skewX(10deg) scale(.96, .94); }
}
.card-effect .firefly { left: var(--x); top: var(--y); width: var(--size); height: var(--size); border-radius: 50%; color: color-mix(in srgb, var(--fx-color) 45%, var(--fx-light)); background: currentColor; box-shadow: 0 0 7px 2px color-mix(in srgb, currentColor 60%, transparent); opacity: var(--low); animation: card-firefly var(--ms) linear infinite alternate; animation-delay: var(--offset); }
.card-effect .firefly[data-accent] { color: color-mix(in srgb, var(--fx-accent) 45%, var(--fx-light)); }
@keyframes card-firefly {
  0%, 16.66%, 33.33%, 50%, 66.66%, 83.33%, 100% { opacity: var(--low); }
  8.33%, 25%, 41.66%, 58.33%, 75%, 91.66% { opacity: var(--high); }
  0% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(calc(var(--dx) * .3), calc(var(--dy) * .6), 0); }
  50% { transform: translate3d(calc(var(--dx) * .6), var(--dy), 0); }
  75% { transform: translate3d(calc(var(--dx) * .85), calc(var(--dy) * .5), 0); }
  100% { transform: translate3d(var(--dx), 0, 0); }
}
.card-effect .fall { inset: 0; animation: card-snow var(--ms) linear infinite; animation-delay: var(--offset); }
.card-effect .flake { left: var(--x); top: -6px; width: 1.6px; height: 1.6px; border-radius: 50%; background: var(--fx-light); opacity: .35; }
.card-effect .fall[data-depth='1'] .flake { width: 3px; height: 3px; opacity: .7; }
@keyframes card-snow {
  0% { transform: translate3d(var(--shift-0), 0, 0); }
  16.66% { transform: translate3d(calc(var(--shift-0) + var(--dx)), 52%, 0); }
  33.32% { transform: translate3d(var(--shift-0), calc(100% + 8px), 0); }
  33.33% { transform: translate3d(var(--shift-1), 0, 0); }
  50% { transform: translate3d(calc(var(--shift-1) - var(--dx)), 52%, 0); }
  66.65% { transform: translate3d(var(--shift-1), calc(100% + 8px), 0); }
  66.66% { transform: translate3d(var(--shift-2), 0, 0); }
  83.33% { transform: translate3d(calc(var(--shift-2) + var(--dx)), 52%, 0); }
  100% { transform: translate3d(var(--shift-2), calc(100% + 8px), 0); }
}
.card-effect .drift { inset: 0; animation: card-petal-cross var(--ms) linear infinite; animation-delay: var(--offset); }
.card-effect .petal { left: -12px; top: var(--y); width: var(--size); height: calc(var(--size) * .6); border-radius: 100% 0; background: color-mix(in srgb, var(--fx-color) 70%, var(--fx-light)); opacity: .7; animation: card-petal-turn var(--ms) linear infinite; animation-delay: var(--offset); }
.card-effect .petal[data-accent] { background: color-mix(in srgb, var(--fx-accent) 70%, var(--fx-light)); }
@keyframes card-petal-cross {
  0% { transform: translate3d(0, -12%, 0); }
  25% { transform: translate3d(calc(50% + 12px + var(--dx)), 6%, 0); }
  49.99% { transform: translate3d(calc(100% + 24px), 24%, 0); }
  50% { transform: translate3d(0, 18%, 0); }
  75% { transform: translate3d(calc(50% + 12px - var(--dx)), 36%, 0); }
  100% { transform: translate3d(calc(100% + 24px), 54%, 0); }
}
@keyframes card-petal-turn {
  0% { transform: rotate(0deg) scaleX(1); }
  12.5% { transform: rotate(calc(var(--turns) * .25)) scaleX(.35); }
  25% { transform: rotate(calc(var(--turns) * .5)) scaleX(1); }
  37.5% { transform: rotate(calc(var(--turns) * .75)) scaleX(.35); }
  50% { transform: rotate(var(--turns)) scaleX(1); }
  62.5% { transform: rotate(calc(var(--turns) * 1.25)) scaleX(.35); }
  75% { transform: rotate(calc(var(--turns) * 1.5)) scaleX(1); }
  87.5% { transform: rotate(calc(var(--turns) * 1.75)) scaleX(.35); }
  100% { transform: rotate(calc(var(--turns) * 2)) scaleX(1); }
}
.card-effect .bokeh { left: var(--x); top: var(--y); width: var(--size); height: var(--size); margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--fx-color) 26%, transparent), color-mix(in srgb, var(--fx-color) 16%, transparent) 70%, transparent); opacity: var(--low); animation: card-bokeh var(--ms) ease-in-out infinite alternate; animation-delay: var(--offset); }
.card-effect .bokeh[data-accent] { background: radial-gradient(closest-side, color-mix(in srgb, var(--fx-accent) 26%, transparent), color-mix(in srgb, var(--fx-accent) 16%, transparent) 70%, transparent); }
@keyframes card-bokeh { from { transform: translate3d(0, 0, 0); opacity: var(--low); } to { transform: translate3d(var(--dx), var(--dy), 0); opacity: var(--high); } }

/* The picks: Settings > Profile's choices, one group at a time, on a
   panel in the room's colors. */
.look-picks { min-width: 0; padding: calc(14 * var(--u)) calc(16 * var(--u)) calc(16 * var(--u)); border: 1px solid var(--a-edge); border-radius: calc(12 * var(--u)); color: var(--a-moon); background: var(--a-dusk); box-shadow: 0 30px 80px -40px rgb(0 0 0 / .9); font-size: calc(.86 * var(--rem)); }
.lk-tabs { display: flex; flex-wrap: wrap; gap: calc(2 * var(--u)); margin-bottom: calc(12 * var(--u)); padding-bottom: calc(12 * var(--u)); border-bottom: 1px solid var(--a-edge); }
.lk-tab { padding: calc(6 * var(--u)) calc(10 * var(--u)); border: 0; border-radius: 999px; color: var(--a-mist); background: none; font: inherit; font-weight: 650; cursor: pointer; }
@media (hover: hover) { .lk-tab:hover { color: var(--a-moon); background: var(--a-hover); } }
.lk-tab[aria-selected='true'] { color: var(--a-moon); background: var(--a-sel); }
.lk-tab:focus-visible { outline: 2px solid var(--a-mist); outline-offset: 1px; }
.lk-panels { display: grid; }
.lk-panel { grid-area: 1 / 1; min-width: 0; }
.lk-panel[hidden] { display: block; visibility: hidden; }
.lk-set { min-width: 0; margin: 0; padding: 0; border: 0; }
.lk-set + .lk-set { margin-top: calc(14 * var(--u)); }
.lk-set legend { margin-bottom: calc(8 * var(--u)); padding: 0; color: var(--a-mist); font-size: calc(.72 * var(--rem)); font-weight: 700; letter-spacing: .06em; }
.lk-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(calc(6.5 * var(--rem)), 1fr)); gap: calc(6 * var(--u)); }
.lk-choice { position: relative; display: grid; justify-items: center; align-content: start; gap: calc(6 * var(--u)); min-width: 0; padding: calc(8 * var(--u)) calc(6 * var(--u)); border: 1px solid var(--a-edge); border-radius: calc(8 * var(--u)); color: var(--a-moon); background: color-mix(in srgb, var(--a-ink) 55%, var(--a-dusk)); font-weight: 650; text-align: center; cursor: pointer; }
.lk-choice input, .lk-skin input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
@media (hover: hover) { .lk-choice:hover { border-color: color-mix(in srgb, var(--a-mist) 55%, var(--a-edge)); } }
.lk-choice:has(input:checked) { border-color: color-mix(in srgb, var(--a-edge) 58%, var(--ember)); background: var(--a-sel); }
.lk-choice:has(input:focus-visible), .ws .lk-skin:has(input:focus-visible) { outline: 2px solid var(--a-mist); outline-offset: 2px; }
.look-themes .lk-skin:has(input:focus-visible) { outline: 2px solid var(--ember); outline-offset: 3px; }
.lk-label { min-width: 0; overflow-wrap: break-word; hyphens: auto; font-size: calc(.78 * var(--rem)); line-height: 1.2; }
.lk-sample { display: grid; place-items: center; width: 100%; pointer-events: none; }
.lk-banner .lk-options { grid-template-columns: repeat(auto-fill, minmax(calc(7.5 * var(--rem)), 1fr)); }
.lk-banner .lk-choice { padding: calc(5 * var(--u)) calc(5 * var(--u)) calc(7 * var(--u)); }
.lk-sample .profile-banner { width: 100%; height: auto; aspect-ratio: 5 / 2; border-radius: calc(4 * var(--u)); }
.lk-picture { width: calc(1.9 * var(--rem)); height: calc(1.9 * var(--rem)); margin: calc(6 * var(--u)) 0 calc(2 * var(--u)); font-size: calc(.72 * var(--rem)); }
.lk-sample .person-name { font-size: var(--rem); font-weight: 700; }
.lk-name .lk-label, .lk-font .lk-label { color: var(--a-mist); font-weight: 600; }
.lk-card .lk-choice { padding-block: calc(12 * var(--u)); }
.lk-swatch { aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; background: var(--swatch); }
.lk-swatch { box-shadow: inset 0 0 0 1px rgb(0 0 0 / .3); }
.lk-swatch:has(input:checked) { border: 0; background: var(--swatch); }
.lk-swatch:has(input:checked)::after { content: ''; position: absolute; inset: 0; width: calc(.55 * var(--rem)); height: calc(.55 * var(--rem)); margin: auto; border-radius: 50%; background: var(--a-dusk); box-shadow: 0 0 0 2px var(--a-moon); }
.lk-swatch:has(input:focus-visible) { outline-offset: 3px; }
.lk-accent .lk-choice[data-value='auto'] { aspect-ratio: auto; }

/* The themes, as Appearance's tiles draw them: two lines of text and a dot
   of the accent on each theme's own ground. */
.lk-skins { margin: 0; padding: 0; border: 0; }
.lk-skins legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lk-skins .lk-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.lk-skin { position: relative; display: grid; gap: 6px; padding: 7px 7px 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--moon); font-size: var(--t-small); font-weight: 650; text-align: center; cursor: pointer; }
@media (hover: hover) { .lk-skin:hover { border-color: var(--line-strong); } }
.lk-skin:has(input:checked) { border-color: var(--ember); background: rgb(var(--ember-rgb) / .08); }
/* A sample's colors blend to new ones, so "your colors" visibly follows
   mila's colors as they change. */
@property --s-ink { syntax: '<color>'; inherits: true; initial-value: #121015; }
@property --s-moon { syntax: '<color>'; inherits: true; initial-value: #f1eadf; }
@property --s-mist { syntax: '<color>'; inherits: true; initial-value: #aaa1ad; }
@property --s-ember { syntax: '<color>'; inherits: true; initial-value: #e8a86d; }
@property --s-edge { syntax: '<color>'; inherits: true; initial-value: #3f3844; }
@media (prefers-reduced-motion: no-preference) {
  .lk-skin-sample { transition: --s-ink 360ms var(--ease), --s-moon 360ms var(--ease), --s-mist 360ms var(--ease), --s-ember 360ms var(--ease), --s-edge 360ms var(--ease); }
}
.lk-skin-sample { position: relative; display: block; height: 28px; border: 1px solid var(--s-edge); border-radius: 6px; background: var(--s-ink); pointer-events: none; }
.lk-skin-sample i { position: absolute; left: 9px; right: 26px; top: 9px; height: 2.5px; border-radius: 2px; background: var(--s-moon); }
.lk-skin-sample i + i { top: 16px; right: 44%; background: var(--s-mist); opacity: .7; }
.lk-skin-sample b { position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--s-ember); translate: 0 -50%; }
.lk-skin .lk-label { font-size: var(--t-small); line-height: 1.2; }
.lk-credit { min-height: 3em; margin-top: var(--s3); color: var(--dim); font-size: var(--t-small); }
@media (max-width: 1239px) { .lk-skins .lk-options { grid-template-columns: repeat(4, minmax(0, 1fr)); } .lk-credit { min-height: 1.5em; } }
@media (max-width: 760px) { .lk-skins .lk-options { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lk-banner .lk-options { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 420px) {
  .look-card { width: min(calc(18 * var(--rem)), 100%); }
    .lk-skins .lk-options { gap: 8px; }
  .lk-skin { padding: 6px 6px 8px; }
}
@media (prefers-reduced-motion: reduce) { .card-effect :is(i, .sky) { animation-play-state: paused !important; } }
@media (pointer: coarse) { .lk-tab, .look-shuffle { min-height: 44px; } .look-colors .lk-options { grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); } }
/* The same tiles on the twin's Appearance page, in its room. */
.ws-skins { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(6 * var(--u)); }
.ws .lk-skin { gap: calc(6 * var(--u)); padding: calc(6 * var(--u)) calc(6 * var(--u)) calc(8 * var(--u)); border-color: var(--a-edge); border-radius: calc(8 * var(--u)); color: var(--a-moon); background: color-mix(in srgb, var(--a-ink) 55%, var(--a-dusk)); font-size: calc(.72 * var(--rem)); }
.ws .lk-skin:has(input:checked) { border-color: color-mix(in srgb, var(--a-edge) 58%, var(--ember)); background: var(--a-sel); }
.ws .lk-skin-sample { height: calc(26 * var(--u)); }
.ws .lk-skin-sample i { left: calc(7 * var(--u)); right: calc(20 * var(--u)); top: calc(9 * var(--u)); height: calc(2 * var(--u)); }
.ws .lk-skin-sample i + i { top: calc(14 * var(--u)); }
.ws .lk-skin-sample b { right: calc(6 * var(--u)); width: calc(8 * var(--u)); height: calc(8 * var(--u)); }
.ws .lk-skin .lk-label { font-size: inherit; line-height: 1.2; }


/* The workspace twin. One app pixel is --u: the desk's width over its
   app width (1,200 px wide, 740 on a phone). Every piece is placed by
   home.js in app pixels (--x, --y, --w, --h, --o) from one layout of the
   app's own rules, so a drag sets a few custom properties once a frame and a
   press glides them, all inside this fixed box. Its size never depends on
   what's inside, so the browser skips its insides until it comes near
   (content-visibility), about a third of the page's work at load. */
.ws-fig { position: relative; display: grid; gap: var(--s4); container-type: inline-size; }
.ws { --dw: 1200; --dh: 640; --u: calc(100cqw / var(--dw)); position: relative; height: calc(var(--dh) * var(--u)); overflow: hidden; overflow: clip; contain: strict; content-visibility: auto; border: 1px solid #383649; border-radius: 18px; background: #0f0f15; color: var(--a-moon); font-size: calc(14 * var(--u)); line-height: 1.35; user-select: none; -webkit-user-select: none; }
@container (max-width: 699px) { .ws { --dw: 370; --dh: 680; } .ws [data-b='col']:not([style]) { visibility: hidden; } }
.ws-wall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 20% 50%; filter: brightness(.7); }
.wsb { position: absolute; left: 0; top: 0; width: calc(var(--w, 0) * var(--u)); height: calc(var(--h, 0) * var(--u)); transform: translate(calc(var(--x, 0) * var(--u)), calc(var(--y, 0) * var(--u))); opacity: var(--o, 1); }
.wsb[data-off] { visibility: hidden; }
/* The arrangement as it opens, so the twin is whole before (or without)
   its script, which writes the same numbers. */
.ws [data-b='window'] { --x: 280; --y: 20; --w: 900; --h: 600; }
.ws [data-b='side'] { --x: 0; --y: 0; --w: 232; --h: 600; }
.ws [data-b='head'] { --x: 232; --y: 0; --w: 668; --h: 46; }
.ws [data-b='chat'] { --x: 242; --y: 371; --w: 648; --h: 100; }
.ws [data-b='compose'] { --x: 242; --y: 493; --w: 648; --h: 52; }
.ws [data-b='sideh'] { --x: 222; --y: 0; --w: 20; --h: 600; }
.ws [data-b='splith'] { --x: 244; --y: 354; --w: 656; --h: 14; }
.ws [data-b='kit'] { --x: 522; --y: 141; --w: 321; --h: 165; }
.ws [data-b='june'] { --x: 849; --y: 141; --w: 321; --h: 165; }
.ws [data-b='corner'] { --x: 258; --y: 612; --w: 28; --h: 28; }
.ws [data-b='col'] { --x: 40; --y: 30; --w: 56; --h: 505; }
.ws [data-b='chatfoot'] { --x: 232; --y: 555; --w: 668; --h: 45; --o: 1; visibility: visible; }
.ws [data-b='hold-kit'], .ws [data-b='hold-june'], .ws [data-b='hold-kit2'], .ws [data-b='hold-sam'], .ws [data-b='hold-ben'], .ws [data-b='hold-mila'], .ws [data-b='hold-mila2'], .ws [data-b='kit2'], .ws [data-b='sam'], .ws [data-b='ben'], .ws [data-b='mila'], .ws [data-b='mila2'], .ws [data-b='railprev'], .ws [data-b='railnext'], .ws [data-b='showcall'], .ws [data-b='spoth'], .ws [data-b='hint'], .ws [data-b='vbar'], .ws [data-b='scrim'], .ws [data-b='typing'] { --o: 0; visibility: hidden; }
.ws-hint { justify-content: flex-end; }
.ws [data-b='hold-kit'][style], .ws [data-b='hold-june'][style], .ws [data-b='hold-kit2'][style], .ws [data-b='hold-sam'][style], .ws [data-b='hold-ben'][style], .ws [data-b='hold-mila'][style], .ws [data-b='hold-mila2'][style], .ws [data-b='kit2'][style], .ws [data-b='sam'][style], .ws [data-b='ben'][style], .ws [data-b='mila'][style], .ws [data-b='mila2'][style], .ws [data-b='railprev'][style], .ws [data-b='railnext'][style], .ws [data-b='showcall'][style], .ws [data-b='spoth'][style], .ws [data-b='hint'][style], .ws [data-b='vbar'][style], .ws [data-b='scrim'][style], .ws [data-b='typing'][style] { visibility: visible; }
.ws [data-b][data-off] { visibility: hidden; }
/* Anything pinned to a box's right or bottom edge is placed from its top
   left by transform, so resizing a box never shifts what's inside it. */
.ws.glide .wsb { transition: opacity 220ms var(--ease), visibility 0s linear 320ms; }
/* Moves glide in home.js by transform alone (a FLIP of translate, and of
   scale for the streams); a box that changes width fades in at its new
   size rather than reflowing on the way. */
.ws.glide .wsb:not([data-off]) { transition-delay: 0s; }
/* A grip has nothing to fade: it goes, or comes, at once with its edge. */
.ws.glide .wsb.ws-grab { transition: none; }
.ws.reflow :is(.ws-tile, .ws-hold)[data-off] { transition: none; }
/* A box coming on takes its place unseen, then only fades in. */
.ws .wsb.snap { transition: none !important; }
/* The window: a frame behind its pieces. */
.ws-window { overflow: hidden; overflow: clip; border-radius: calc(12 * var(--u)); background: var(--a-ink); box-shadow: 0 0 0 1px var(--a-edge), 0 30px 70px -20px rgb(0 0 0 / .9); }
.ws-side { display: flex; flex-direction: column; overflow: hidden; overflow: clip; border-radius: calc(12 * var(--u)) 0 0 calc(12 * var(--u)); background: var(--a-dusk); border-right: 1px solid var(--a-line); }
/* The sidebar as the app draws it (ChannelList.tsx, app.css): the wordmark
   on plum, "channels", # home lit with the call nested under it, then the
   rest, and at the foot the presence row, the call controls, and you. Its
   sizes are the app's own, in the twin's pixels. Anything at a row's right
   edge is placed from its left by transform (.ws-r), so the sidebar's width
   changing never shifts what's in it. */
.ws-r { position: absolute; left: 0; transform: translateX(calc(var(--w) * var(--u) - 100% - var(--r-in, calc(22 * var(--u))))); }
.ws-brandbar { position: relative; flex: none; height: calc(46 * var(--u)); background: var(--a-brand); }
/* The wordmark takes the band's colors from two masks of its art, as
   SnugWordmark draws it, so a theme recolors it with the band. */
.ws-brandbar::before, .ws-brandbar::after { content: ''; position: absolute; left: calc(17 * var(--u)); top: 50%; width: calc(67.6 * var(--u)); aspect-ratio: 1044 / 512; translate: 0 -50%; background: var(--a-brand-text); mask: url('/media/snug-wordmark-letters.png') center / 100% 100% no-repeat; }
.ws-brandbar::after { background: var(--a-brand-dot); mask-image: url('/media/snug-wordmark-dot.png'); }
/* The wordmark opens the snug menu: its chevron sits after the word. On
   two screens the band also holds the invite chip and the way back to the
   conversation (App.tsx .brand). */
.ws-brandchev { position: absolute; left: calc(88 * var(--u)); top: 50%; width: calc(14 * var(--u)); height: calc(14 * var(--u)); translate: 0 -50%; rotate: 90deg; color: var(--a-mist); }
.ws[data-narrow] .ws-brandbar { height: calc(54 * var(--u)); }
.ws-invite { position: absolute; left: calc(111.4 * var(--u)); top: 50%; translate: 0 -50%; display: inline-flex; align-items: center; gap: calc(.3 * var(--rem)); height: calc(26 * var(--u)); padding: 0 calc(.6 * var(--rem)) 0 calc(.5 * var(--rem)); border-radius: 999px; color: var(--a-brand-text); background: color-mix(in srgb, var(--a-brand-text) 9%, transparent); font-size: calc(.72 * var(--rem)); font-style: normal; font-weight: 600; }
.ws-invite svg { width: calc(13 * var(--u)); height: calc(13 * var(--u)); }
.ws-brandback { top: calc(50% - 22 * var(--u)); display: grid; place-items: center; width: calc(44 * var(--u)); height: calc(44 * var(--u)); padding: 0; border: 0; border-radius: calc(6 * var(--u)); color: var(--a-mist); background: none; cursor: pointer; --r-in: calc(13 * var(--u)); }
.ws-brandback svg { width: calc(18 * var(--u)); height: calc(18 * var(--u)); }
.ws-brandback:focus-visible { outline: 2px solid var(--ember); outline-offset: -2px; }
/* Channels, then the recent conversations under them, scroll together
   above the foot (App.tsx .sidebar-channel-list). */
.ws-list { flex: 1; min-height: 0; margin-bottom: calc(144 * var(--u)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.ws-list::-webkit-scrollbar { display: none; }
.ws-list[hidden] { display: none; }
.ws-sec { position: relative; flex: none; display: flex; align-items: center; height: calc(34 * var(--u)); margin-top: calc(6 * var(--u)); }
/* The app's first heading: 10 px under the wordmark, 28 tall, 2 px over
   # home. */
.ws-chsec .ws-sec { height: calc(28 * var(--u)); margin-top: calc(10 * var(--u)); }
.ws-sec-ring { top: calc(50% - 3.5 * var(--u)); width: calc(7 * var(--u)); height: calc(7 * var(--u)); border: calc(1.5 * var(--u)) solid var(--a-mist); border-radius: 50%; --r-in: calc(40.8 * var(--u) + 1px); }
.ws-fold::before { content: ''; width: .5em; height: .5em; border: solid currentColor; border-width: 0 .14em .14em 0; rotate: 45deg; translate: 0 -.15em; transition: rotate 200ms var(--ease); }
.ws-fold[aria-expanded='false']::before { rotate: -45deg; translate: 0 0; }
.ws-rows { display: grid; align-content: start; gap: calc(2 * var(--u)); padding: calc(2 * var(--u)) calc(12 * var(--u)) calc(4 * var(--u)); }
.ws-rows[hidden] { display: none; }
.ws-ch:focus-visible { outline: 2px solid var(--ember); outline-offset: -2px; }
.ws-scr svg rect { fill: rgb(var(--ember-rgb) / .3); }
.ws-crown { top: calc(50% - 8.5 * var(--u)); display: grid; place-items: center; width: calc(17 * var(--u)); height: calc(17 * var(--u)); border: 1px solid rgb(255 225 180 / .56); border-radius: 50%; color: var(--a-ink); background: var(--ember); box-shadow: 0 0 calc(8 * var(--u)) rgb(var(--ember-rgb) / .22); --r-in: calc(27.5 * var(--u) + 1px); }
.ws-face { width: 1.85em; height: 1.85em; flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--a-ink); background: #c9895e; font-size: .78em; font-style: normal; font-weight: 800; }
.ws-sage { background: #74ad88; }
.ws-mila { background: #a67bc9; }
/* The foot, pinned to the sidebar's bottom by transform. */
.ws-foot { position: absolute; left: 0; top: 0; width: 100%; background: var(--a-dusk); transform: translateY(calc(var(--h) * var(--u) - 100%)); }
/* Folded on a wide window (App.tsx sidebar-collapsed): the snug mark at
   the top; at the foot, a column of 44 px buttons over the toggle back:
   who's here and the media bots, the call's pop-out while in a call, then
   you, feedback, notifications, and settings. */
.ws-rail { display: none; position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--h) * var(--u)); flex-direction: column; align-items: center; }
.ws[data-folded] .ws-side > :not(.ws-rail) { display: none; }
.ws[data-folded] .ws-rail { display: flex; }
.ws-rail-mark { width: calc(32 * var(--u)); height: calc(32 * var(--u)); margin-top: calc(8 * var(--u)); border-radius: calc(6 * var(--u)); }
.ws-rail-tools { display: flex; flex-direction: column; align-items: center; width: 100%; margin-top: auto; padding: calc(4 * var(--u)) 0; border-top: 1px solid var(--a-edge); }
.ws-rail-call, .ws-rail-self { display: flex; flex-direction: column; align-items: center; width: 100%; margin-top: calc(4 * var(--u)); padding-top: calc(4 * var(--u)); border-top: 1px solid var(--a-line); }
.ws[data-novoice] .ws-rail-call { display: none; }
.ws-rail-btn { position: relative; flex: none; display: grid; place-items: center; width: calc(44 * var(--u)); height: calc(44 * var(--u)); padding: 0; border: calc(6 * var(--u)) solid transparent; border-radius: calc(12 * var(--u)); color: var(--a-mist); background: none; background-clip: padding-box; cursor: pointer; }
i.ws-rail-btn { cursor: default; }
.ws-rail-btn svg { width: calc(19 * var(--u)); height: calc(19 * var(--u)); }
.ws-rail-btn .ws-face { width: calc(24 * var(--u)); height: calc(24 * var(--u)); font-size: calc(12.24 * var(--u)); }
@media (hover: hover) { button.ws-rail-btn:hover { color: var(--a-moon); background-color: var(--a-slate); } }
.ws-rail-btn:is([aria-expanded='true'], [aria-pressed='true']) { color: var(--a-moon); background-color: var(--a-sel); }
.ws-rail-btn:focus-visible { outline: 2px solid var(--ember); outline-offset: -2px; }
.ws-rail-pres { gap: 1px; align-content: center; }
.ws-rail-pres .ws-pile .ws-face { width: calc(18 * var(--u)); height: calc(18 * var(--u)); font-size: calc(10.5 * var(--u)); }
.ws-rail-pres .ws-pile .ws-face + .ws-face { margin-left: calc(-5 * var(--u)); }
.ws-rail-pres .ws-prescount { gap: calc(3 * var(--u)); line-height: 1; }
.ws-rail-pres .ws-presbadge { position: absolute; right: 1px; top: 2px; }
.ws-rail-pres .ws-presbadge.mention { padding: 0 2px; font-size: calc(10.5 * var(--u)); }
.ws-rail-toggle { width: calc(44 * var(--u)); height: calc(44 * var(--u)); margin-bottom: 0; border-radius: calc(12 * var(--u)); background: var(--a-slate); }
.ws-rail-toggle svg { transform: scaleX(-1); }
/* On two screens the list fills the window, with no sidebar edge. */
.ws[data-narrow] .ws-side { border-right: 0; border-radius: 0; }
/* The twin's icon buttons, drawn at the app's sizes. */
.ws-ico { position: relative; flex: none; display: grid; place-items: center; width: 2.2em; height: 2.2em; padding: 0; border: 0; border-radius: .5em; color: var(--a-mist); background: transparent; cursor: pointer; transition: background 150ms var(--ease), color 150ms var(--ease); }
.ws-ico svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ws-ico[aria-pressed='true'] { color: var(--a-ink); background: var(--ember); }
@media (hover: hover) { .ws-ico:hover:not([aria-pressed='true']) { color: var(--a-moon); background: color-mix(in srgb, var(--a-moon) 10%, transparent); } }
.ws-ico:focus-visible, .ws-fold:focus-visible { outline: 2px solid var(--ember); outline-offset: 1px; }
/* Tiles: a stream in the stage, or out in its own window. */
/* A tile's frame is fitted to its stream's shape in the stage; out in its
   own window, the stream shows whole inside whatever size the reader gives
   it (.video-tile video: object-fit contain, on black). */
.ws-tile { overflow: hidden; overflow: clip; border: 1px solid var(--a-edge); border-radius: calc(8 * var(--u)); background: #000; }
.ws-tile img, .ws-tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ws-tile video { opacity: 0; transition: opacity 300ms var(--ease); }
.ws-tile.playing video { opacity: 1; }
/* Past the stage's edge (the filmstrip's sides, a crowded grid's foot) a
   tile is cut where the app's scrolling stage would cut it. */
.ws-tile:not(.out), .ws-hold { clip-path: inset(calc(var(--ct, 0) * var(--u)) calc(var(--cr, 0) * var(--u)) calc(var(--cb, 0) * var(--u)) calc(var(--cl, 0) * var(--u))); }
/* A stage whose rows run past it scrolls under a finger once the twin is
   awake (home.js), not the page. */
.ws-fig[data-engaged] .ws[data-gscroll] .ws-tile:not(.out) { touch-action: none; }
.ws-tile.out { border: 1px solid #4a4356; border-radius: calc(10 * var(--u)); box-shadow: 0 24px 50px -14px rgb(0 0 0 / .95); }
.ws-tile.out .ws-vcorner { display: block; }
.ws-tile .ws-vcorner { left: 0; top: 0; right: auto; bottom: auto; transform: translate(calc(var(--w) * var(--u) - 100%), calc(var(--h) * var(--u) - 100%)); }
.ws-hold { z-index: 0; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--a-edge); border-radius: calc(8 * var(--u)); color: #fff; background: #000; font-size: calc(.875 * var(--rem)); white-space: nowrap; }
/* On two screens the call rides in the conversation as the voice bar, above
   the composer (VoiceDock's MobileVoiceBar): the channel, then mute, deafen,
   share, camera, and leave at 44 px each. */
.ws-vbar { display: flex; align-items: center; overflow: hidden; padding-left: .6em; border: 1px solid var(--a-edge); border-radius: .6em; background: var(--a-dusk); }
.ws-vbar-name { color: var(--a-mist); font-family: var(--mono); font-size: .72em; white-space: nowrap; }
.ws-vbar-ctl { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: calc(4 * var(--u)); height: 100%; transform: translateX(calc(var(--w) * var(--u) - 100% - calc(6 * var(--u)))); }
.ws-grip { cursor: grab; touch-action: none; }
.ws-col.dragging .ws-grip { cursor: grabbing; }
.ws-showcall { border: 1px solid var(--a-edge); border-radius: 999px; background: var(--a-dusk); }
/* The grips: every divider the app has, each a live separator with a pill
   on it at rest. Pills are placed with `translate`, never `transform`: the
   individual `scale` composes outside `transform`, so a pill placed by a
   transform and grown by scale would jump by its own offset on hover. The hit area is at least 16 px (44 on touch); under the
   pointer or the keyboard the pill grows and brightens, and focus adds one
   ring to the pill, nothing more. */
.ws-grab { z-index: 3; touch-action: none; outline: none; }
.ws-grab::before { content: ''; position: absolute; inset: 0; }
.ws-grab span { position: absolute; border-radius: 999px; background: var(--ember); box-shadow: 0 0 0 2px var(--a-ink), 0 2px 8px rgb(0 0 0 / .6); pointer-events: none; transition: scale 150ms var(--ease), background-color 150ms var(--ease), box-shadow 150ms var(--ease); }
.ws-grab:hover span, .ws-grab.dragging span, .ws-grab:focus-visible span { scale: 1.3; background: var(--ember-bright); }
.ws-grab:focus-visible span { box-shadow: 0 0 0 2px var(--a-ink), 0 0 0 4px var(--moon-bright); }
.ws-sideh, .ws-splith[aria-orientation='vertical'], .ws-spoth[aria-orientation='vertical'] { cursor: col-resize; }
.ws-sideh::before, .ws-splith[aria-orientation='vertical']::before, .ws-spoth[aria-orientation='vertical']::before { left: 50%; right: auto; width: max(16px, 100%); translate: -50% 0; }
.ws-sideh span, .ws-splith[aria-orientation='vertical'] span, .ws-spoth[aria-orientation='vertical'] span { left: calc(50% - 3px); top: 0; width: 6px; height: 40px; translate: 0 calc(var(--h) * var(--u) / 2 - 50%); }
.ws-splith[aria-orientation='horizontal'], .ws-spoth[aria-orientation='horizontal'] { cursor: row-resize; }
.ws-splith[aria-orientation='horizontal']::before, .ws-spoth[aria-orientation='horizontal']::before { top: 50%; bottom: auto; height: max(16px, 100%); translate: 0 -50%; }
.ws-splith[aria-orientation='horizontal'] span, .ws-spoth[aria-orientation='horizontal'] span { top: calc(50% - 3px); left: 0; width: 40px; height: 6px; translate: calc(var(--w) * var(--u) / 2 - 50%) 0; }
@media (pointer: coarse) {
  .ws-sideh::before, .ws-splith[aria-orientation='vertical']::before, .ws-spoth[aria-orientation='vertical']::before { width: max(44px, 100%); }
  .ws-splith[aria-orientation='horizontal']::before, .ws-spoth[aria-orientation='horizontal']::before { height: max(44px, 100%); }
}
/* The window's corner and a popped video's corner: an L grip, always on. */
.ws-corner { cursor: nesw-resize; }
.ws-vcorner { position: absolute; width: max(20px, calc(28 * var(--u))); height: max(20px, calc(28 * var(--u))); cursor: nwse-resize; }
.ws-corner span, .ws-vcorner span { inset: 18%; border: solid var(--ember); border-width: 0 0 4px 4px; border-radius: 0 0 0 4px; background: none; box-shadow: none; filter: drop-shadow(0 0 1.5px var(--a-ink)) drop-shadow(0 0 1px var(--a-ink)); }
.ws-vcorner span { border-width: 0 4px 4px 0; border-radius: 0 0 4px 0; }
.ws-corner:hover span, .ws-corner:focus-visible span, .ws-corner.dragging span, .ws-vcorner:hover span, .ws-vcorner:focus-visible span, .ws-vcorner.dragging span { scale: 1.2; border-color: var(--ember-bright); box-shadow: none; background: none; }
.ws-corner:focus-visible::before, .ws-vcorner:focus-visible::before { border-radius: 6px; box-shadow: 0 0 0 2px var(--moon-bright); }
/* On a phone the shortcuts drive the twin, so its grips aren't shown. */
.ws[inert] .ws-grab { display: none; }
/* The filmstrip's paging buttons (app.css .stage-rail-button). */
.ws-railbtn { z-index: 3; display: grid; place-items: center; padding: 0; border: 1px solid var(--a-edge); border-radius: 999px; color: #f1eadf; background: rgb(5 8 12 / .9); cursor: pointer; transition: background 150ms var(--ease), color 150ms var(--ease); }
.ws-railbtn svg { width: 1.3em; height: 1.3em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .ws-railbtn:hover { color: var(--a-ink); background: var(--ember); border-color: var(--ember); } }
.ws-railbtn:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
/* The typing dots pulse only while the evening is live. */
@media (prefers-reduced-motion: no-preference) {
  .ws.alive .ws-typing.on .ws-tdots i { animation: tdot 1.2s ease-in-out infinite; }
  .ws.alive .ws-typing.on .ws-tdots i:nth-child(2) { animation-delay: .2s; }
  .ws.alive .ws-typing.on .ws-tdots i:nth-child(3) { animation-delay: .4s; }
}
@keyframes tdot { 50% { opacity: .3; } }
/* The @ count, only for messages meant for you. */
.ws-mention { top: calc(50% - 9 * var(--u)); padding: calc(1 * var(--u)) calc(7 * var(--u)); border-radius: 999px; color: var(--a-ink); background: var(--ember); font-family: var(--mono); font-size: calc(11.5 * var(--u)); font-style: normal; font-weight: 700; --r-in: calc(40 * var(--u)); }
.ws-mention b { font-weight: 700; }
.ws-noor { background: #7ba6c9; }
/* The stream buttons under the twin. */
/* A threshold, named for a moment as the window crosses it. */
.ws-sizes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ws-cross { min-width: 17.5em; min-height: calc(1.5em + 12px); line-height: 1.5; padding: 6px 12px; border-radius: 999px; color: var(--ink); background: var(--ember-bright); font-family: var(--mono); font-size: .8125rem; font-weight: 700; white-space: nowrap; opacity: 0; transition: opacity 200ms var(--ease); }
.ws-cross:empty { visibility: hidden; }
.ws-cross.on { opacity: 1; }
/* The one-time hint by the sidebar's grip, and its one nudge. */
.ws-hint { display: flex; align-items: center; z-index: 4; pointer-events: none; opacity: 0; transition: opacity 260ms var(--ease); }
.ws-hint span { display: inline-flex; align-items: center; gap: .4em; padding: .25em .7em; border-radius: 999px; color: var(--ink); background: var(--moon-bright); box-shadow: 0 6px 14px -4px rgb(0 0 0 / .7); font-family: var(--mono); font-size: max(11px, calc(13 * var(--u))); font-weight: 700; }
.ws-hint span::before, .ws-hint span::after { content: '←'; }
.ws-hint span::after { content: '→'; }
.ws-hint.on { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .ws.nudge .ws-sideh span { animation: nudge 380ms var(--ease) 1; }
}
@keyframes nudge { 30% { transform: translateX(6px); } 65% { transform: translateX(-4px); } }

/* Under the twin: the size of what's being dragged, how many streams, and the way back. */
.ws-under { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
/* Wide enough for the longest size it names, so the buttons beside it never move as it changes. */
.ws-readout { width: 13em; max-width: 100%; overflow: hidden; text-overflow: ellipsis; color: var(--mist); font-size: var(--t-small); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* The bar under the twin: how many streams, and the way back. */
.ws-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-left: auto; }
.ws-stepper { display: inline-flex; align-items: center; gap: 12px; }
.ws-step-label { color: var(--mist); font-size: .875rem; font-weight: 700; }
.ws-step { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line-strong); border-radius: 999px; }
.ws-step button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; color: var(--moon); background: rgb(255 255 255 / .07); cursor: pointer; transition: background-color 150ms var(--ease), scale 90ms var(--ease); }
.ws-step button:disabled { color: var(--mist); background: none; opacity: .4; cursor: default; }
@media (hover: hover) { .ws-step button:not(:disabled):hover { background: rgb(255 255 255 / .15); } }
.ws-step button:not(:disabled):active { scale: .92; }
.ws-step svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.ws-step-n { min-width: 2.2em; color: var(--moon); font-size: .9375rem; font-weight: 800; font-variant-numeric: tabular-nums; text-align: center; }
@media (pointer: coarse) { .ws-step button { width: 44px; height: 44px; } }
.ws-reset { min-height: 40px; display: inline-flex; align-items: center; gap: 6px; padding: 0 6px; border: 0; border-radius: 8px; color: var(--mist); background: none; font-size: .875rem; font-weight: 700; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; cursor: pointer; }
.ws-reset svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ws-reset:disabled { cursor: default; }
@media (hover: hover) { .ws-reset:not(:disabled):hover { color: var(--moon); text-decoration-color: var(--ember); } }
@media (pointer: coarse) { .ws-reset { min-height: 44px; } }

/* The twin, region by region, at the app's own sizes and colours
   (app.css, designTokens.css). One app rem is 17 app pixels
   (--ui-root-size), so --rem is 17 of the twin's units. */
.ws { --rem: calc(var(--root, 17) * var(--u)); --a-ink: #121015; --a-dusk: #1a171e; --a-slate: #29242d; --a-edge: #3f3844; --a-sel: #2d2740; --a-moon: #f1eadf; --a-mist: #aaa1ad; --a-iris: #b5a5d9; --a-rose: #ef8b8b; --a-media: rgb(238 235 225 / .16); --a-line: color-mix(in srgb, var(--a-edge) 60%, var(--a-dusk)); --a-brand: #241932; --a-brand-text: #f1eadf; --a-brand-dot: #e8a86d; --a-raised: 0 6px 18px rgb(0 0 0 / .4); --a-popover: 0 14px 38px rgb(0 0 0 / .5); }
/* As in app.css, what sits on video keeps night talk's grounds and text in
   every theme, with the theme's accent. */
.ws :is(.ws-tile, .ws-railbtn) { --a-ink: #121015; --a-dusk: #1a171e; --a-slate: #29242d; --a-edge: #3f3844; --a-sel: #2d2740; --a-moon: #f1eadf; --a-mist: #aaa1ad; }
.ws [hidden] { display: none !important; }
:where(.ws) svg { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
:where(.ws) button { font: inherit; }
.ws input { user-select: text; -webkit-user-select: text; }
/* Each person's colour (personVisuals.ts), as the take has them. */
.ws [data-who='sam'], .ws [data-who='june'], .ws [data-who='kit'] { --pc: #c9895e; }
.ws [data-who='ben'] { --pc: #74ad88; }
.ws [data-who='mila'] { --pc: #a67bc9; }
.ws [data-who='noor'] { --pc: #7ba6c9; }
.ws [data-who='ash'] { --pc: #c97b8e; }
.ws [data-who='lou'] { --pc: #b3a15e; }
.ws-rose { background: #c97b8e; }
.ws-olive { background: #b3a15e; }
.ws:not([data-narrow]) .ws-narrow-only, .ws[data-narrow] .ws-wide-only { display: none !important; }

/* The sidebar's rows (ChannelList.tsx). */
.ws-fold { flex: none; display: flex; align-items: center; gap: .55em; margin: 0 calc(10 * var(--u)); padding: .3em .6em; border: 0; border-radius: .4em; color: var(--a-mist); background: none; font-size: calc(12 * var(--u)); font-weight: 600; letter-spacing: .1em; text-align: left; white-space: nowrap; cursor: pointer; }
.ws-fold::before { content: ''; width: .5em; height: .5em; border: solid currentColor; border-width: 0 .14em .14em 0; rotate: 45deg; translate: 0 -.15em; transition: rotate 200ms var(--ease); }
.ws-fold[aria-expanded='false']::before { rotate: -45deg; translate: 0 0; }
.ws-seccount { font-family: var(--mono); letter-spacing: 0; }
.ws-fold[aria-expanded='true'] .ws-seccount { display: none; }
.ws-secadd { top: calc(50% - 12 * var(--u)); display: grid; place-items: center; width: calc(24 * var(--u)); height: calc(24 * var(--u)); padding: 0; border: 0; border-radius: calc(6 * var(--u)); color: var(--a-mist); background: none; cursor: pointer; --r-in: calc(12 * var(--u) + 1px); }
.ws-secadd svg { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }
/* ChannelList's name field for a new channel, at the top of the list. */
.ws-newch input { width: 100%; margin-bottom: calc(.2 * var(--rem)); padding: calc(.3 * var(--rem)) calc(.5 * var(--rem)); border: 1px solid var(--ember); border-radius: calc(6 * var(--u)); color: var(--a-moon); background: var(--a-slate); font: inherit; font-size: calc(.88 * var(--rem)); outline: none; }
.ws-ch { position: relative; display: flex; align-items: center; height: calc(36 * var(--u)); padding: 0 calc(8 * var(--u)); border: 0; border-radius: calc(6 * var(--u)); color: var(--a-mist); background: none; font-size: calc(16 * var(--u)); text-align: left; white-space: nowrap; }
/* A channel that's a button still spans the list, as the app's rows do. */
button.ws-ch { width: 100%; cursor: pointer; }
.ws-hash { margin-right: .2em; color: var(--a-mist); }
.ws-ch.on { color: var(--a-moon); background: var(--a-sel); }
.ws-ch.here, .ws-ch.here .ws-hash { color: var(--ember); }
.ws-ch.hot { color: var(--a-moon); font-weight: 600; }
.ws-ch:focus-visible { outline: 2px solid var(--ember); outline-offset: -2px; }
@media (hover: hover) { p.ws-ch:not(.on):hover { background: var(--a-slate); } p.ws-ch:hover .ws-join { opacity: 1; } }
.ws-unread { top: calc(50% - 3.5 * var(--u)); width: calc(7 * var(--u)); height: calc(7 * var(--u)); border-radius: 50%; background: var(--a-mist); --r-in: calc(52.8 * var(--u) + 1px); }
.ws-ch .ws-unread, .ws-ch .ws-mention { opacity: 0; transition: opacity 200ms var(--ease); }
.ws-ch.unread .ws-unread, .ws-ch.mentioned .ws-mention { opacity: 1; }
.ws-ch .ws-mention { --r-in: calc(52.8 * var(--u) + 1px); }
.ws-belloff { width: calc(12 * var(--u)) !important; height: calc(12 * var(--u)) !important; margin-left: .35rem; color: var(--a-mist); opacity: .75; }
.ws-join { top: calc(50% - 9 * var(--u)); color: var(--a-mist); opacity: 0; transition: opacity 120ms ease; --r-in: calc(24 * var(--u) + 1px); }
.ws-join svg { width: calc(18 * var(--u)); height: calc(18 * var(--u)); stroke-width: 2.2; }
/* People in the call: an ember ring, filled while talking; a state icon
   when muted or deafened; the screen mark while sharing; the crown. */
/* The app's 2 px above and below a channel's people; the rows' own 2 px
   gap is the rest. */
.ws-voice { display: grid; gap: calc(2 * var(--u)); margin: 0 0 calc(2 * var(--u)); }
.ws-voice li { position: relative; height: calc(26 * var(--u)); }
.ws-vm { display: flex; align-items: center; gap: calc(.45 * var(--rem)); width: 100%; height: 100%; padding: 0 0 0 calc(8 * var(--u) + .85 * var(--rem)); border: 0; border-radius: calc(6 * var(--u)); color: var(--a-mist); background: none; font-size: calc(.8 * var(--rem)); text-align: left; white-space: nowrap; cursor: pointer; }
span.ws-vm { cursor: default; }
@media (hover: hover) { button.ws-vm:hover { color: var(--a-moon); background: var(--a-slate); } }
button.ws-vm:focus-visible { outline: 2px solid var(--ember); outline-offset: -2px; }
.ws-vm.open { color: var(--a-moon); background: var(--a-sel); }
.ws-voice li em { margin-left: calc(-.25 * var(--rem)); color: var(--a-mist); font-style: normal; }
.ws-voice li.me .ws-vname, .ws-voice li.talking .ws-vname { color: var(--a-moon); }
.ws-voice li.me .ws-vname { font-weight: 600; }
.ws-voice li.deaf .ws-vname { color: color-mix(in srgb, var(--a-mist) 78%, transparent); }
.ws-ind { position: relative; flex: none; display: grid; place-items: center; width: calc(1.05 * .8 * var(--rem)); height: calc(1.05 * .8 * var(--rem)); border: calc(1.5 * var(--u)) solid rgb(var(--ember-rgb) / .72); border-radius: 50%; background: var(--a-dusk); box-shadow: 0 0 0 1px rgb(5 8 12 / .58); color: var(--ember); }
.ws-ind b { position: absolute; inset: calc(-1.5 * var(--u)); border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 1px rgb(var(--ember-rgb) / .28), 0 0 6px rgb(var(--ember-rgb) / .3), inset 0 0 3px 1px rgb(255 238 210 / .38); opacity: 0; transition: opacity 220ms var(--ease); }
.ws-voice li.talking .ws-ind b { opacity: 1; }
.ws-vstate { display: none; width: 100% !important; height: 100% !important; stroke-width: 2.25; }
.ws-voice li.muted .ws-ind, .ws-voice li.deaf .ws-ind { border-color: transparent; background: none; box-shadow: none; opacity: .82; }
.ws-voice li.muted .ws-ind b, .ws-voice li.deaf .ws-ind b { display: none; }
.ws-voice li.muted .ws-vstate, .ws-voice li.deaf .ws-vstate { display: block; }
.ws-scr { display: none; color: var(--ember); }
.ws-voice li.sharing .ws-scr { display: grid; }
.ws-scr svg { width: calc(.8 * var(--rem)); height: calc(.8 * var(--rem)); stroke-width: 2.1; }
.ws-crown svg { width: calc(13 * var(--u)); height: calc(13 * var(--u)); }
.ws-botrow { height: auto !important; margin-top: .15rem; border: 1px solid color-mix(in srgb, var(--a-edge) 62%, transparent); border-radius: calc(6 * var(--u)); }
.ws-botrow .ws-vm { padding-top: calc(3 * var(--u)); padding-bottom: calc(3 * var(--u)); }
.ws-bars { border: 0 !important; background: none !important; box-shadow: none !important; display: inline-flex !important; align-items: flex-end; gap: 1.5px; height: calc(.72 * var(--rem)) !important; }
/* The playing bars step like a meter, a few times a second, set by home.js
   while the evening is live on a computer. */
.ws-bars i { flex: 1; height: 100%; border-radius: 1px; background: var(--ember); transform-origin: bottom; transform: scaleY(var(--lv, .55)); }

.ws-vcopy { display: flex; flex-direction: column; gap: .08rem; min-width: 0; line-height: 1.2; }
.ws-np { overflow: hidden; color: var(--a-mist); font-size: calc(.68 * var(--rem)); text-overflow: ellipsis; }
.ws-botmark { top: calc(50% - 8.5 * var(--u)); display: grid; place-items: center; width: calc(17 * var(--u)); height: calc(17 * var(--u)); border: 1px solid rgb(var(--ember-rgb) / .45); border-radius: 50%; color: var(--ember); background: rgb(var(--ember-rgb) / .14); --r-in: calc(48.1 * var(--u) + 2px); }
.ws-botmark svg { width: calc(9 * var(--u)); height: calc(9 * var(--u)); }
.ws-open { top: calc(50% - 9 * var(--u)); color: var(--a-mist); --r-in: calc(27 * var(--u) + 2px); }
.ws-open svg { width: calc(18 * var(--u)); height: calc(18 * var(--u)); stroke-width: 2.4; }
.ws-crown { top: calc(50% - 8.5 * var(--u)); }
.ws-pip { position: absolute; right: -2px; bottom: -2px; width: 9px; height: 9px; border: 1.5px solid var(--a-dusk); border-radius: 50%; background: var(--ember); }
.ws-pip.off { width: 7px; height: 7px; background: var(--a-dusk); border: 1px solid var(--a-mist); }
/* Recent conversations under the channels, and every row in Everyone
   (Roster.tsx people-directory-row): a face that opens the profile, a
   name that opens the conversation, and, under a mouse, pin and remove at
   the row's end. Read rows step back to mist; unread ones lift. */
.ws-convos { padding: calc(10 * var(--u)) calc(12 * var(--u)) calc(6 * var(--u)); }
.ws-convos:empty { display: none; }
.ws-dmrow { position: relative; display: flex; align-items: center; height: calc(36 * var(--u)); margin-block: calc(2 * var(--u)); border-radius: calc(6 * var(--u)); color: var(--a-moon); font-size: calc(16 * var(--u)); white-space: nowrap; }
.ws-convos .ws-dmrow:not(.on, .unread) { color: var(--a-mist); }
.ws-dmrow.unread .ws-dmname { color: var(--a-moon); font-weight: 600; }
.ws-dmrow.on { background: var(--a-sel); }
@media (hover: hover) { .ws-dmrow:not(.on):hover { background: var(--a-slate); } }
.ws-dmface { flex: none; display: grid; place-items: center; width: calc(30 * var(--u)); height: 100%; padding: 0; border: 0; border-radius: calc(6 * var(--u)); background: none; cursor: pointer; }
.ws-dmface .ws-face { position: relative; width: calc(1.2 * var(--rem)); height: calc(1.2 * var(--rem)); font-size: calc(.55 * var(--rem)); font-weight: 700; }
.ws-ppl .ws-dmface { width: calc(2.1 * var(--rem)); }
.ws-ppl .ws-dmface .ws-face { width: calc(1.55 * var(--rem)); height: calc(1.55 * var(--rem)); font-size: calc(.62 * var(--rem)); }
.ws-dmopen { flex: 1; display: flex; align-items: center; min-width: 0; height: 100%; padding: 2px 6px; border: 0; border-radius: calc(6 * var(--u)); color: inherit; background: none; font: inherit; text-align: left; cursor: pointer; }
.ws-dmname { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
:is(.ws-dmface, .ws-dmopen, .ws-dmpin, .ws-dmx):focus-visible { outline: 2px solid var(--ember); outline-offset: -2px; }
.ws-dmrow .ws-mention { top: calc(50% - 9 * var(--u)); --r-in: calc(30 * var(--u)); }
.ws-dmrow .ws-unread { --r-in: calc(30 * var(--u)); }
.ws-dmpin, .ws-dmx { top: calc(50% - 12 * var(--u)); display: grid; place-items: center; width: calc(24 * var(--u)); height: calc(24 * var(--u)); padding: 0; border: 0; border-radius: calc(6 * var(--u)); color: var(--a-mist); background: none; opacity: 0; cursor: pointer; }
.ws-dmx { --r-in: calc(24 * var(--u)); }
.ws-dmpin { --r-in: calc(48 * var(--u)); }
:is(.ws-dmpin, .ws-dmx) svg { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.ws-dmpin[data-pinned] svg { fill: currentColor; }
.ws-dmpin[aria-disabled] { color: var(--a-edge); cursor: default; }
.ws-dmrow:has(:focus-visible) :is(.ws-dmpin, .ws-dmx), .ws-dmpin[data-pinned] { opacity: 1; }
.ws-dmrow:is([data-pinned], :has(:focus-visible)) :is(.ws-mention, .ws-unread) { --r-in: calc(76 * var(--u)); }
.ws-dmrow:is([data-pinned], :has(:focus-visible)) .ws-dmopen { padding-right: calc(52 * var(--u)); }
@media (hover: hover) {
  .ws-dmrow:hover :is(.ws-dmpin, .ws-dmx) { opacity: 1; }
  .ws-dmrow:hover :is(.ws-mention, .ws-unread) { --r-in: calc(76 * var(--u)); }
  .ws-dmrow:hover .ws-dmopen { padding-right: calc(52 * var(--u)); }
  :is(.ws-dmpin, .ws-dmx):hover:not([aria-disabled]) { color: var(--a-moon); }
  .ws-dmface:hover .ws-face { filter: brightness(1.12); }
}
/* The sidebar's foot: who's here and the media bots, the call, and you
   (Roster.tsx presence-shelf, VoiceDock.tsx). */
.ws-presence { position: relative; display: flex; align-items: center; height: calc(43 * var(--u)); padding: calc(3 * var(--u)) calc(12 * var(--u)); border-top: 1px solid var(--a-edge); }
.ws-pres { display: flex; align-items: center; gap: calc(.4 * var(--rem)); width: calc(100% - 38 * var(--u)); min-height: calc(36 * var(--u)); padding: calc(.2 * var(--rem)) calc(.45 * var(--rem)); border: 0; border-radius: calc(6 * var(--u)); color: var(--a-mist); background: none; cursor: pointer; white-space: nowrap; }
@media (hover: hover) { .ws-pres:hover { color: var(--a-moon); background: var(--a-slate); } .ws-pres:hover .ws-pile .ws-face { border-color: var(--a-slate); } }
.ws-pres[aria-expanded='true'] { color: var(--a-moon); background: var(--a-sel); }
.ws-pres[aria-expanded='true'] .ws-pile .ws-face { border-color: var(--a-sel); }
.ws-pres:focus-visible { outline: 2px solid var(--ember); outline-offset: -2px; }
.ws-pile { display: flex; }
.ws-pile .ws-face { width: calc(28 * var(--u)); height: calc(28 * var(--u)); border: 2px solid var(--a-dusk); font-size: calc(.72 * var(--rem)); font-weight: 700; }
.ws-pile .ws-face + .ws-face { margin-left: calc(-7 * var(--u)); }
.ws-prescount { display: inline-flex; align-items: center; gap: 5px; font: calc(.72 * var(--rem)) var(--mono); }
.ws-prescount i { width: 6px; height: 6px; border-radius: 50%; background: var(--ember); }
.ws-presbadge { display: grid; place-items: center; min-width: 7px; height: 7px; border-radius: 999px; color: var(--a-ink); background: var(--a-mist); font: 700 calc(.72 * var(--rem)) / 1.15 var(--mono); font-style: normal; }
.ws-presbadge.mention { height: auto; padding: 0 calc(6 * var(--u)); background: var(--ember); }
.ws-presbadge[hidden] { display: none; }
/* Two-line tips read as the app's do; at the rail they open to its right. */
.ws :is(.ws-pres, .ws-rail-btn)[data-tip]:is(:hover, :focus-visible)::after { white-space: pre; text-align: left; line-height: 1.35; }
.ws .ws-rail [data-tip]:is(:hover, :focus-visible)::after { left: calc(100% + 8 * var(--u)); bottom: auto; top: 50%; translate: 0 -50%; }
.ws-bots { top: calc(50% - 18 * var(--u)); display: grid; place-items: center; width: calc(36 * var(--u)); height: calc(36 * var(--u)); border-radius: calc(6 * var(--u)); color: var(--a-mist); --r-in: calc(12 * var(--u)); }
.ws-bots svg { width: calc(19 * var(--u)); height: calc(19 * var(--u)); }
/* VoiceDock.tsx: the call's buttons share the row, leave keeps the 28 px
   column, and the dock pads 12 px all round. */
.ws-callrow { display: flex; align-items: flex-end; gap: calc(4 * var(--u)); height: calc(49 * var(--u)); padding: 0 calc(11 * var(--u)) 0 calc(12 * var(--u)); border-top: 1px solid var(--a-line); }
.ws-cr { position: relative; flex: 1 1 0; display: grid; place-items: center; min-width: calc(24 * var(--u)); height: calc(2.1 * var(--rem)); padding: 0; border: 0; border-radius: calc(6 * var(--u)); color: var(--a-moon); background: var(--a-slate); cursor: pointer; }
i.ws-cr { cursor: default; }
.ws-cr svg, .ws-vb svg, .ws-cib svg { width: calc(17 * var(--u)); height: calc(17 * var(--u)); }
.ws-cr.ws-leave { flex: 0 0 calc(28 * var(--u)); margin-left: calc(4 * var(--u)); color: var(--a-rose); background: color-mix(in srgb, var(--a-rose) 13%, var(--a-slate)); }
[data-mute-self] svg + svg, [data-deaf-self] svg + svg, .ws-sharebtn svg + svg { display: none; }
[data-mute-self][aria-pressed='true'] svg:first-child, [data-deaf-self][aria-pressed='true'] svg:first-child { display: none; }
[data-mute-self][aria-pressed='true'] svg + svg, [data-deaf-self][aria-pressed='true'] svg + svg { display: block; }
[data-mute-self][aria-pressed='true'], [data-deaf-self][aria-pressed='true'] { color: #fff !important; background: rgb(190 75 92 / .78) !important; }
.ws-cr[data-callout][aria-pressed='true'] { color: var(--a-ink); background: var(--ember); }
.ws-sharebtn.on { color: var(--a-ink) !important; background: var(--ember) !important; }
.ws-sharebtn.on svg:first-child { display: none; }
.ws-sharebtn.on svg + svg { display: block; }
.ws-onair { position: absolute; top: calc(2 * var(--u)); right: calc(2 * var(--u)); display: none; align-items: center; gap: 2px; font: 700 calc(.52 * var(--rem)) / 1 var(--mono); }
.ws-sharebtn.on .ws-onair { display: inline-flex; }
.ws-onair i { width: 6px; height: 6px; border-radius: 50%; background: var(--a-rose); box-shadow: 0 0 0 1px var(--a-ink); }
.ws-selfrow { position: relative; display: flex; align-items: center; gap: calc(1 * var(--u)); height: calc(52 * var(--u)); padding: calc(8 * var(--u)) 0 0 calc(10 * var(--u)); }
.ws-selfrow > .ws-ico { width: calc(32 * var(--u)); height: calc(44 * var(--u)); }
.ws-me { display: flex; align-items: center; gap: calc(.4 * var(--rem)); min-height: calc(36 * var(--u)); padding: calc(4 * var(--u)); border: 0; border-radius: calc(6 * var(--u)); color: var(--a-moon); background: none; cursor: pointer; }
.ws-me .ws-face { width: calc(24 * var(--u)); height: calc(24 * var(--u)); font-size: calc(12.24 * var(--u)); font-weight: 700; }
@media (hover: hover) { .ws-me:hover { background: var(--a-slate); } }
.ws-me:focus-visible { outline: 2px solid var(--ember); outline-offset: -2px; }
.ws-selfname { font-size: calc(.88 * var(--rem)); font-weight: 700; white-space: nowrap; }
.ws[data-narrow] .ws-selfrow > .ws-ico { display: none; }
.ws-selftools { top: calc(50% - 7.25 * var(--u)); display: flex; gap: 4px; --r-in: calc(12 * var(--u)); }
.ws-selftools i { display: grid; place-items: center; width: calc(24 * var(--u)); height: calc(24 * var(--u)); border-radius: calc(6 * var(--u)); color: var(--a-mist); }
.ws-selftools svg { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }
.ws-ico svg { width: calc(18 * var(--u)); height: calc(18 * var(--u)); }

/* The conversation header (App.tsx): the title, then the stage's controls,
   Find with its keys, activity, pins, files, and, beside chat, its toggle. */
.ws-head { display: flex; align-items: center; gap: calc(.6 * var(--rem)); padding: 0 calc(10 * var(--u)); border-bottom: 1px solid var(--a-line); white-space: nowrap; overflow: hidden; overflow: clip; }
.ws-title { min-width: 0; overflow: hidden; font-family: var(--display); font-size: calc(1.1 * var(--rem)); font-weight: 600; text-overflow: ellipsis; }
.ws-title span { color: var(--a-mist); }
.ws-head-end { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: calc(.1 * var(--rem)); height: 100%; padding: 0 calc(10 * var(--u)) 0 calc(6 * var(--u)); background: var(--a-ink); transform: translateX(calc(var(--w) * var(--u) - 100%)); }
.ws-stagectl { display: flex; align-items: center; gap: calc(.35 * var(--rem)); margin-right: calc(.35 * var(--rem)); }
.ws-stagectl:not(:has(> :not([hidden]))) { display: none; }
.ws-hd { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; gap: calc(.4 * var(--rem)); width: calc(36 * var(--u)); height: calc(36 * var(--u)); padding: 0; border: 0; border-radius: calc(6 * var(--u)); color: var(--a-mist); background: none; cursor: pointer; transition: color 120ms ease, background-color 120ms ease; }
.ws-hd svg { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }
.ws-hd[data-place] svg, .ws-hd[data-back-list] svg { width: calc(18 * var(--u)); height: calc(18 * var(--u)); }
@media (hover: hover) { .ws-hd:hover { color: var(--a-moon); background: var(--a-slate); } }
.ws-hd.open { color: var(--ember); background: var(--a-sel); }
.ws-hd[data-pop-open='options'].open { color: var(--a-moon); }
.ws-hd:focus-visible, .ws-hidden-pill:focus-visible { outline: 2px solid var(--ember); outline-offset: -2px; }
.ws-hd[data-place] svg + svg, .ws-hd[data-panel] svg + svg { display: none; }
.ws[data-video='beside'] .ws-hd[data-place] svg:first-child, .ws[data-panel-off] .ws-hd[data-panel] svg:first-child { display: none; }
.ws[data-video='beside'] .ws-hd[data-place] svg + svg, .ws[data-panel-off] .ws-hd[data-panel] svg + svg { display: block; }
.ws-findbtn { padding: 0; }
.ws[data-findkeys] .ws-findbtn { width: auto; margin-right: calc(.3 * var(--rem)); padding: 0 calc(.5 * var(--rem)); border: 1px solid var(--a-edge); background: var(--a-dusk); }
.ws-findbtn.open { border-color: transparent; }
.ws-keys { display: none; gap: calc(.15 * var(--rem)); margin-left: calc(.1 * var(--rem)); }
.ws[data-findkeys] .ws-keys { display: inline-flex; }
.ws kbd { display: inline-flex; align-items: center; justify-content: center; min-width: calc(1.15 * var(--rem)); padding: calc(.12 * var(--rem)) calc(.3 * var(--rem)); border: 1px solid var(--a-edge); border-radius: calc(4 * var(--u)); background: var(--a-slate); color: var(--a-mist); font: 600 calc(.62 * var(--rem)) / 1.2 var(--mono); }
.ws-hidden-pill { min-height: calc(2 * var(--rem)); padding: calc(.3 * var(--rem)) calc(.5 * var(--rem)); border: 1px solid transparent; border-radius: calc(8 * var(--u)); color: var(--a-mist); background: none; font: calc(.72 * var(--rem)) var(--mono); white-space: nowrap; cursor: pointer; }
@media (hover: hover) { .ws-hidden-pill:hover { color: var(--a-moon); border-color: var(--a-edge); background: color-mix(in srgb, var(--a-moon) 3.5%, transparent); } }
.ws-hidden-pill.open { color: var(--ember); }
.ws-chatslot { display: flex; align-items: center; }
.ws-chatslot.unavailable { visibility: hidden; }
.ws-tools-rule { width: 1px; height: calc(20 * var(--u)); margin: 0 calc(6 * var(--u)); background: var(--a-edge); }
.ws-chat-toggle[aria-expanded='false'] svg { transform: scaleX(-1); }
.ws-chatfoot { display: flex; justify-content: flex-end; align-items: center; padding-right: calc(.35 * var(--rem)); border-top: 1px solid var(--a-edge); background: var(--a-dusk); }
.ws-chatfoot .ws-hd { width: auto; height: calc(44 * var(--u)); gap: calc(.4 * var(--rem)); padding: 0 calc(.65 * var(--rem)); font-size: calc(.75 * var(--rem)); }
.ws-chatfoot .ws-hd svg { width: calc(18 * var(--u)); height: calc(18 * var(--u)); transform: rotate(90deg); }
.ws-chatfoot .ws-hd[aria-expanded='false'] svg { transform: rotate(90deg) scaleX(-1); }

/* Tiles (VideoStage.tsx): the name on its scrim, "N viewing", and on
   hover the controls in the app's order. */
.ws-tag { position: absolute; left: calc(.4 * var(--rem)); top: 0; max-width: calc(var(--w) * var(--u) - 5.7 * var(--rem)); overflow: hidden; padding: calc(.08 * var(--rem)) calc(.4 * var(--rem)); border-radius: calc(4 * var(--u)); color: var(--a-moon); background: rgb(0 0 0 / .7); font-size: calc(.7 * var(--rem)); text-overflow: ellipsis; white-space: nowrap; transform: translateY(calc(var(--h) * var(--u) - 100% - .3 * var(--rem))); }
.ws-viewing { position: absolute; z-index: 2; left: 0; top: 0; min-height: calc(1.45 * var(--rem)); padding: calc(.08 * var(--rem)) calc(.42 * var(--rem)); border: 1px solid var(--a-media); border-radius: 999px; color: var(--a-moon); background: rgb(5 8 12 / .78); font: calc(.62 * var(--rem)) / 1 var(--mono); white-space: nowrap; cursor: pointer; transform: translate(calc(var(--w) * var(--u) - 100% - .35 * var(--rem)), calc(var(--h) * var(--u) - 100% - .3 * var(--rem))); }
@media (hover: hover) { .ws-viewing:hover { border-color: rgb(238 235 225 / .32); background: var(--a-slate); } }
.ws-viewing.open { color: var(--ember); border-color: rgb(var(--ember-rgb) / .5); background: var(--a-sel); }
.ws-tile-ctl { position: absolute; z-index: 3; left: 0; top: calc(.3 * var(--rem)); display: flex; flex-wrap: wrap; justify-content: flex-end; gap: calc(.25 * var(--rem)); max-width: calc(var(--w) * var(--u) - .7 * var(--rem)); opacity: 0; transition: opacity 120ms ease; transform: translateX(calc(var(--w) * var(--u) - 100% - .35 * var(--rem))); }
@media (hover: hover) { .ws-tile:hover .ws-tile-ctl { opacity: 1; } }
.ws-tile:focus-within .ws-tile-ctl, .ws-tile:has(.open) .ws-tile-ctl { opacity: 1; }
.ws-tc { display: grid; place-items: center; width: calc(2 * var(--rem)); height: calc(2 * var(--rem)); padding: 0; border: 1px solid var(--a-media); border-radius: calc(6 * var(--u)); color: var(--a-moon); background: rgb(5 8 12 / .78); cursor: pointer; }
.ws-tc svg { width: var(--rem); height: var(--rem); }
@media (hover: hover) { .ws-tc:hover { color: var(--a-ink); background: var(--ember); } }
.ws-tc:focus-visible { outline: 2px solid var(--a-moon); outline-offset: -2px; }
.ws-tc[aria-pressed='true'] { color: var(--ember); }
.ws-tc.open { color: var(--ember); border-color: rgb(var(--ember-rgb) / .5); background: var(--a-sel); }
.ws-tc[data-full] svg + svg, .ws-vol-btn svg + svg { display: none; }
.ws-tc[data-full][aria-pressed='true'] svg:first-child, .ws-vol-btn[aria-pressed='true'] svg:first-child { display: none; }
.ws-tc[data-full][aria-pressed='true'] svg + svg, .ws-vol-btn[aria-pressed='true'] svg + svg { display: block; }
.ws-vol { position: relative; flex: none; width: calc(2 * var(--rem)); height: calc(2 * var(--rem)); }
/* The volume lane opens leftward over the tile, as the app's does, by
   clipping rather than reflowing the buttons beside it; home.js sets how
   much room it has (--lane) so it never runs off the tile. */
.ws-vol::before { content: ''; position: absolute; top: 0; right: 0; width: calc(var(--lane, 141) * var(--u)); height: 100%; border: 1px solid var(--a-media); border-radius: calc(6 * var(--u)); background: rgb(5 8 12 / .78); clip-path: inset(0 0 0 calc(100% - 2 * var(--rem)) round calc(6 * var(--u))); transition: clip-path 120ms ease; }
.ws-vol .ws-tc { position: absolute; z-index: 1; top: 0; right: 0; border-color: transparent; background: transparent; }
.ws-vol-btn[aria-pressed='true'] { color: #fff !important; background: rgb(190 75 92 / .78) !important; }
.ws-vol input { position: absolute; z-index: 1; top: 50%; right: calc(2.3 * var(--rem)); width: calc((var(--lane, 141) - 48) * var(--u)); height: 3px; margin: 0; opacity: 0; pointer-events: none; accent-color: var(--ember); transform: translateY(-50%); transition: opacity 120ms ease; }
.ws-vol:has(:focus-visible)::before, .ws-vol:hover::before { clip-path: inset(0 round calc(6 * var(--u))); }
.ws-vol:has(:focus-visible) input, .ws-vol:hover input { opacity: 1; pointer-events: auto; }
@media (hover: hover) { .ws-vol .ws-tc:hover { color: var(--a-ink); background: var(--ember); } }
/* An offer: a screen that waits for you (ScreenShareOfferTile.tsx). */
.ws-offer { display: none; }
.ws-tile.offer { background: #171922; }
.ws-tile.offer .ws-offer { display: block; position: absolute; inset: 0; }
.ws-tile.offer > img, .ws-tile.offer > video, .ws-tile.offer .ws-tag, .ws-tile.offer .ws-viewing, .ws-tile.offer .ws-tile-ctl, .ws-tile.offer .ws-notes { display: none; }
.ws-offer-view { --vw: calc(var(--ww, 900) * var(--u) / 100); position: absolute; inset: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(.7 * var(--rem), 3 * var(--vw), 1.35 * var(--rem)); padding: clamp(.75 * var(--rem), 4 * var(--vw), 1.6 * var(--rem)); border: 0; color: inherit; background: transparent; text-align: left; cursor: pointer; }
@media (hover: hover) { .ws-offer-view:hover { background: #1b1e28; } }
.ws-offer-view:disabled { cursor: progress; opacity: .72; }
.ws-offer-view:focus-visible { outline: 2px solid var(--ember); outline-offset: -3px; }
.ws-offer-icon { display: grid; place-items: center; width: clamp(3 * var(--rem), 8 * var(--vw), 4.5 * var(--rem)); height: clamp(3 * var(--rem), 8 * var(--vw), 4.5 * var(--rem)); border: 1px solid var(--a-media); border-radius: 50%; color: var(--a-mist); background: rgb(5 8 12 / .42); }
.ws-offer-icon svg { width: calc(34 * var(--u)); height: calc(34 * var(--u)); }
.ws-offer-copy { min-width: 0; display: grid; gap: calc(.25 * var(--rem)); padding-right: calc(2.25 * var(--rem)); }
.ws-offer-copy strong { overflow: hidden; color: var(--a-moon); font-size: clamp(.95 * var(--rem), 2.5 * var(--vw), 1.25 * var(--rem)); font-weight: 600; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.ws-offer-detail { color: var(--a-mist); font: calc(.67 * var(--rem)) / 1.25 var(--mono); }
/* A small offer takes the app's filmstrip sizes (smaller icon and title)
   and lets its title wrap to two lines, as the app's pending tile does; in
   the smallest the icon goes, so the title stays readable. home.js sets
   data-fit from the tile's width. */
.ws-tile[data-fit] .ws-offer-view { gap: calc(.55 * var(--rem)); padding: calc(.65 * var(--rem)); }
.ws-tile[data-fit] .ws-offer-icon { width: calc(2.5 * var(--rem)); height: calc(2.5 * var(--rem)); }
.ws-tile[data-fit] .ws-offer-copy strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: calc(.9 * var(--rem)); white-space: normal; }
.ws-tile[data-fit='tiny'] .ws-offer-view { grid-template-columns: minmax(0, 1fr); }
.ws-tile[data-fit='tiny'] .ws-offer-icon { display: none; }
.ws-offer-hide { position: absolute; z-index: 1; top: calc(.35 * var(--rem)); right: calc(.35 * var(--rem)); opacity: 0; transition: opacity 120ms ease; }
.ws-tile.offer:focus-within .ws-offer-hide { opacity: 1; }
@media (hover: hover) { .ws-tile.offer:hover .ws-offer-hide { opacity: 1; } }
/* Out in its own window, or picture in picture; filling the window. */
.ws-winbar, .ws-vcorner { display: none; }
.ws-tile.out .ws-tile-ctl, .ws-tile.out .ws-tag, .ws-tile.out .ws-viewing { display: none; }
.ws-tile.out .ws-winbar { position: absolute; z-index: 2; left: 0; right: 0; top: 0; display: block; height: 2.7em; padding: .65em .7em; background: linear-gradient(rgb(18 16 21 / .9), rgb(18 16 21 / 0)); font-size: .9em; white-space: nowrap; }
.ws-tile.pip .ws-winbar span { display: none; }
.ws-winbar .ws-tc { position: absolute; left: 0; top: .25em; transform: translateX(calc(var(--w) * var(--u) - 100% - .3em)); }
.ws-tile.full { z-index: 5; border-color: transparent; border-radius: calc(12 * var(--u)); }
/* mila's raid notes: a window share of a plain document. */
.ws-doc { container-type: size; background: #f4f1ea; }
.ws-notes { position: absolute; inset: 0; overflow: hidden; color: #2a2620; font-size: 6.4cqh; line-height: 1.5; }
.ws-notes p { margin: 0; padding: 0 5cqw; white-space: nowrap; }
.ws-notes .ws-notes-bar { display: flex; align-items: center; gap: 1.4cqw; height: 11cqh; margin-bottom: 3cqh; padding: 0 3cqw; color: #6b645a; background: #e4dfd5; font-size: 4.6cqh; }
.ws-notes-bar i { width: 2.6cqh; height: 2.6cqh; border-radius: 50%; background: #c9c2b6; }
.ws-notes-bar span { margin-left: 2cqw; }

/* Messages (ChatPane.tsx): author lines, grouping, pins, replies, the
   new line, reactions, mentions, the poll and the plan. */
.ws-chat { font-size: calc(.9375 * var(--rem)); line-height: 1.45; }
.ws-scroll { position: absolute; inset: 0; display: flex; flex-direction: column-reverse; overflow-x: hidden; overflow-y: auto; outline: none; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: var(--a-edge) transparent; }
.ws-scroll:focus-visible { box-shadow: inset 0 0 0 2px var(--ember); border-radius: calc(8 * var(--u)); }
.ws-lines { display: flex; flex-direction: column; gap: calc(14 * var(--u)); padding: calc(10 * var(--u)) 0 calc(4 * var(--u)); }
.ws-msg { position: relative; display: grid; grid-template-columns: calc(2.5 * var(--rem)) minmax(0, 1fr); column-gap: calc(.65 * var(--rem)); padding: calc(.1 * var(--rem)) calc(10 * var(--u)) calc(.1 * var(--rem)) calc(7 * var(--u)); border-radius: calc(4 * var(--u)); }
.ws[data-narrow] .ws-msg { grid-template-columns: calc(2.1 * var(--rem)) minmax(0, 1fr); }
.ws-msg.grouped { margin-top: calc(-12 * var(--u)); }
.ws-msg:hover, .ws-msg.act { background: color-mix(in srgb, var(--a-moon) 2%, transparent); }
.ws-gut { display: flex; justify-content: center; align-items: flex-start; padding-top: calc(.15 * var(--rem)); }
.ws-msg.grouped .ws-gut { justify-content: flex-end; padding-top: 0; }
.ws-med { display: inline-flex; align-items: center; justify-content: center; width: calc(2.1 * var(--rem)); height: calc(2.1 * var(--rem)); border-radius: 50%; color: var(--a-ink); background: var(--pc); font-size: calc(.95 * var(--rem)); font-style: normal; font-weight: 700; }
.ws-gt { align-self: center; color: var(--a-mist); font: calc(.62 * var(--rem)) var(--mono); white-space: nowrap; opacity: 0; }
.ws-msg:hover .ws-gt, .ws-msg.act .ws-gt { opacity: 1; }
.ws-body { min-width: 0; }
.ws-by { margin: 0; }
.ws-by b { margin-right: calc(.3 * var(--rem)); color: var(--pc); font-weight: 700; }
.ws-by time { display: inline-block; color: var(--a-mist); font: calc(.72 * var(--rem)) var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ws-text { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.ws-text code { padding: .1em .35em; border-radius: calc(4 * var(--u)); background: var(--a-slate); font-family: var(--mono); font-size: .85em; }
.ws-text .ws-spoil { border-radius: calc(4 * var(--u)); color: transparent; background: var(--a-slate); }
.ws-edited { margin-left: calc(.4 * var(--rem)); color: var(--a-mist); font: calc(.68 * var(--rem)) var(--mono); }
.ws-msg.pinned { background: rgb(146 152 226 / .075); box-shadow: inset 0 0 0 1px rgb(146 152 226 / .32); }
.ws-pinflag { display: inline-flex; align-items: center; gap: calc(.25 * var(--rem)); margin-left: calc(.35 * var(--rem)); color: var(--a-iris); font: calc(.66 * var(--rem)) var(--mono); letter-spacing: .02em; vertical-align: -.12em; }
.ws-pinflag svg { width: calc(12 * var(--u)); height: calc(12 * var(--u)); }
.ws-msg.mentioned { background: rgb(var(--ember-rgb) / .05); }
.ws-at { padding: 0 .25em; border-radius: calc(6 * var(--u)); color: var(--ember); background: rgb(var(--ember-rgb) / .12); font-weight: 600; }
.ws-at.me { color: var(--a-moon); background: rgb(var(--ember-rgb) / .28); }
/* A conversation's own pieces press as the app's do (ChatPane.tsx,
   MessageText.tsx): an avatar or a name opens the profile, a mention its
   person, a channel's name the channel, a picture the viewer, a link a
   new tab. */
button.ws-med { padding: 0; border: 0; font-family: inherit; cursor: pointer; }
.ws-author { padding: 0; margin-right: calc(.3 * var(--rem)); border: 0; color: var(--pc); background: none; font: inherit; font-weight: 700; cursor: pointer; }
button.ws-at, .ws-chref { display: inline; border: 0; font: inherit; font-weight: 600; line-height: inherit; cursor: pointer; }
.ws-chref { padding: 0 .25em; border-radius: calc(6 * var(--u)); color: var(--a-moon); background: var(--a-sel); }
.ws-link { color: var(--a-iris); }
@media (hover: hover) {
  .ws-med:hover, .ws-author:hover { filter: brightness(1.12); }
  button.ws-at:hover { background: rgb(var(--ember-rgb) / .2); }
  button.ws-at.me:hover { background: rgb(var(--ember-rgb) / .36); }
  .ws-chref:hover { background: var(--a-slate); }
  .ws-link:hover { text-decoration-color: var(--ember); }
}
:is(.ws-med, .ws-author, button.ws-at, .ws-chref, .ws-link):focus-visible { outline: 2px solid var(--ember); outline-offset: 1px; }
button.ws-pic { padding: 0; cursor: zoom-in; }
button.ws-localpic:not(.spoilered) { cursor: zoom-in; }
button.ws-filecard { color: var(--a-moon); font: inherit; text-align: left; cursor: pointer; }
@media (hover: hover) { button.ws-filecard:hover { border-color: color-mix(in srgb, var(--ember) 40%, var(--a-edge)); } }
:is(button.ws-pic, button.ws-localpic, button.ws-filecard):focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
/* A jump to a line (Find, a pin, a reply's quote) warms its row for a
   moment, as ChatPane's "highlighted" does; with less motion it holds. */
.ws-msg.highlighted { animation: ws-land 2.2s ease-out; }
@keyframes ws-land { 0% { background: rgb(var(--ember-rgb) / .22); } 100% { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .ws-msg.highlighted { animation: none; background: rgb(var(--ember-rgb) / .12); } }
.ws-viewer-pic img { display: block; width: 100%; height: auto; border-radius: calc(8 * var(--u)); }
.ws-viewer-text { margin: 0; padding: calc(.8 * var(--rem)); overflow: auto; border: 1px solid var(--a-edge); border-radius: calc(8 * var(--u)); color: var(--a-moon); background: var(--a-ink); font: calc(.74 * var(--rem)) / 1.55 var(--mono); white-space: pre-wrap; }
.ws-act-empty { padding: calc(.6 * var(--rem)) calc(.35 * var(--rem)); color: var(--a-mist); font-size: calc(.78 * var(--rem)); }
.ws-act-empty[hidden] { display: none; }
/* A channel row's name is its button, across the whole row; the dot and
   the count let a press through to it. */
.ws-chopen { display: flex; flex: 1; align-items: center; align-self: stretch; min-width: 0; padding: 0; border: 0; color: inherit; background: none; font: inherit; text-align: left; cursor: pointer; }
.ws-chopen:focus-visible { outline: none; }
p.ws-ch:has(.ws-chopen:focus-visible) { outline: 2px solid var(--ember); outline-offset: -2px; }
.ws-ch .ws-unread, .ws-ch .ws-mention { pointer-events: none; }
/* Files' channel, when, and sort menus. */
.ws-ftools { position: relative; }
.ws-fmenu { position: absolute; z-index: 2; top: calc(100% - .3 * var(--rem)); left: calc(var(--mx, 0) * 1px); min-width: calc(10 * var(--rem)); padding: calc(.3 * var(--rem)); border: 1px solid var(--a-edge); border-radius: calc(10 * var(--u)); background: var(--a-dusk); box-shadow: var(--a-popover); }
.ws-fmenu[hidden] { display: none; }
.ws-msg > .ws-quote { grid-area: 1 / 2; justify-self: start; min-width: 0; }
.ws-msg.has-reply > .ws-gut, .ws-msg.has-reply > .ws-body { grid-row: 2; }
.ws-quote { display: flex; align-items: center; gap: calc(.4 * var(--rem)); max-width: 100%; padding: 0 0 calc(.15 * var(--rem)); border: 0; color: var(--a-mist); background: none; font-size: calc(.78 * var(--rem)); text-align: left; cursor: pointer; }
.ws-qdot { flex: none; width: calc(8 * var(--u)); height: calc(8 * var(--u)); border-radius: 50%; background: var(--pc); }
.ws-qname { flex: none; font-weight: 600; }
.ws-qtext { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (hover: hover) { .ws-quote:hover .ws-qtext { color: var(--a-moon); } }
.ws-new { display: flex; align-items: center; gap: calc(.8 * var(--rem)); margin: calc(.3 * var(--rem)) 0; padding: 0 calc(10 * var(--u)) 0 calc(7 * var(--u)); color: var(--ember); font: 700 calc(.68 * var(--rem)) var(--mono); letter-spacing: .1em; }
.ws-new::before { content: ''; flex: 1; height: 1px; background: rgb(var(--ember-rgb) / .45); }
.ws-day { margin: calc(.4 * var(--rem)) 0 calc(.4 * var(--rem) - 14 * var(--u)); padding-left: calc(7 * var(--u)); color: var(--a-mist); }
.ws-day span { display: inline-flex; align-items: center; min-height: calc(2 * var(--rem)); padding: calc(.2 * var(--rem)) 0; font-family: var(--display); font-size: calc(.88 * var(--rem)); font-weight: 480; }
.ws-reacts { display: flex; flex-wrap: wrap; align-items: center; gap: calc(.35 * var(--rem)); margin: calc(.4 * var(--rem)) 0 0; }
.ws-chip { padding: calc(.12 * var(--rem)) calc(.55 * var(--rem)); border: 1px solid transparent; border-radius: 999px; color: var(--a-moon); background: var(--a-slate); font-size: calc(.82 * var(--rem)); cursor: pointer; }
@media (hover: hover) { .ws-chip:hover { border-color: var(--a-mist); } }
.ws-chip.mine { border-color: var(--a-iris); background: var(--a-sel); }
.ws-addr { display: inline-grid; place-items: center; width: calc(1.8 * var(--rem)); height: calc(1.8 * var(--rem)); padding: 0; border: 1px solid var(--a-edge); border-radius: 999px; color: var(--a-mist); background: transparent; opacity: 0; cursor: pointer; }
.ws-addr svg { width: calc(.85 * var(--rem)); height: calc(.85 * var(--rem)); }
.ws-msg:hover .ws-addr, .ws-addr:focus-visible, .ws-addr.open { opacity: 1; }
/* The hover toolbar, moved into whichever message is under the pointer. */
.ws-tools { position: absolute; z-index: 6; top: 0; right: calc(12 * var(--u)); display: flex; gap: calc(.15 * var(--rem)); padding: calc(.18 * var(--rem)); border: 1px solid var(--a-edge); border-radius: calc(10 * var(--u)); background: color-mix(in srgb, var(--a-dusk) 96%, transparent); box-shadow: var(--a-raised); transform: translateY(-70%); }
.ws-tools button { display: inline-grid; place-items: center; width: calc(1.9 * var(--rem)); height: calc(1.9 * var(--rem)); padding: 0; border: 0; border-radius: calc(6 * var(--u)); color: var(--a-mist); background: none; cursor: pointer; }
.ws-tools svg { width: var(--rem); height: var(--rem); }
@media (hover: hover) { .ws-tools button:hover { color: var(--ember); background: var(--a-slate); } }
.ws-tools button:focus-visible { outline: 2px solid var(--ember); outline-offset: -2px; }
.ws-tools .ws-tool-react { width: calc(2.15 * var(--rem)); margin-right: calc(.15 * var(--rem)); border-right: 1px solid var(--a-edge); border-radius: calc(6 * var(--u)) 0 0 calc(6 * var(--u)); }
.ws-tools [data-pin].on { color: var(--ember); }
.ws-tools .open { color: var(--a-moon); background: var(--a-sel); }
.ws-tools.inside { top: calc(-.15 * var(--rem)); transform: none; }
.ws-jump { position: absolute; z-index: 4; left: 0; right: 0; bottom: calc(8 * var(--u)); display: flex; align-items: center; gap: calc(.45 * var(--rem)); width: fit-content; min-height: calc(46 * var(--u)); margin: 0 auto; padding: calc(8 * var(--u)) calc(16 * var(--u)); border: 0; border-radius: 999px; color: var(--a-ink); background: var(--ember); box-shadow: var(--a-raised); font-size: calc(.82 * var(--rem)); font-weight: 600; line-height: 1.2; white-space: nowrap; cursor: pointer; }
.ws-jump svg { width: calc(.95 * var(--rem)); height: calc(.95 * var(--rem)); }
/* The poll (PollCard.tsx). */
.ws-poll, .ws-plan { display: flex; flex-direction: column; max-width: calc(34 * var(--rem)); margin-top: calc(.45 * var(--rem)); border: 1px solid var(--a-edge); border-radius: calc(10 * var(--u)); background: var(--a-dusk); white-space: normal; }
.ws-poll { gap: calc(.5 * var(--rem)); padding: calc(.8 * var(--rem)); }
.ws-poll p, .ws-plan p { margin: 0; }
.ws-poll-head { display: flex; align-items: center; justify-content: space-between; color: var(--a-mist); font-size: calc(.72 * var(--rem)); }
.ws-poll-kind { display: flex; align-items: center; gap: calc(.4 * var(--rem)); font-weight: 600; }
.ws-poll-kind svg { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }
.ws-poll-state { padding: calc(.15 * var(--rem)) calc(.4 * var(--rem)); border: 1px solid var(--a-edge); border-radius: calc(6 * var(--u)); }
.ws-poll-ask { padding: calc(.15 * var(--rem)) 0 calc(.25 * var(--rem)); color: var(--a-moon); font-size: calc(.9 * var(--rem)); font-weight: 600; }
.ws-opt { position: relative; display: flex; align-items: center; gap: calc(.5 * var(--rem)); min-height: calc(3.5 * var(--rem)); overflow: hidden; padding: calc(.45 * var(--rem)) calc(.7 * var(--rem)); border: 1px solid transparent; border-radius: calc(8 * var(--u)); color: var(--a-moon); background: var(--a-slate); font-size: calc(.9 * var(--rem)); text-align: left; cursor: pointer; }
.ws-opt.mine { border-color: var(--ember); }
.ws-opt:focus-visible, .ws-rsvp-b:focus-visible, .ws-card-act:focus-visible, .ws-chip:focus-visible, .ws-quote:focus-visible, .ws-jump:focus-visible { outline: 2px solid var(--a-moon); outline-offset: 1px; }
.ws-fill { position: absolute; inset: 0; background: var(--a-sel); transform: scaleX(var(--fill, 0)); transform-origin: left; transition: transform 220ms cubic-bezier(.32, .72, 0, 1); }
.ws-mark { position: relative; flex: 0 0 calc(1.1 * var(--rem)); display: grid; place-items: center; width: calc(1.1 * var(--rem)); height: calc(1.1 * var(--rem)); border: 1px solid var(--a-mist); border-radius: 50%; color: var(--ember); }
.ws-opt.mine .ws-mark { border-color: var(--ember); }
.ws-mark svg, .ws-rsvp-b svg { width: calc(13 * var(--u)); height: calc(13 * var(--u)); opacity: 0; transform: scale(.6); transition: opacity 140ms ease, transform 140ms ease; }
.ws-opt.mine .ws-mark svg, .ws-rsvp-b.mine svg { opacity: 1; transform: none; }
.ws-optc { position: relative; flex: 1; display: flex; flex-direction: column; gap: calc(.08 * var(--rem)); min-width: 0; }
.ws-voters { min-height: 1.1em; overflow: hidden; color: var(--a-mist); font-size: calc(.72 * var(--rem)); text-overflow: ellipsis; white-space: nowrap; }
.ws-poll.show-voters .ws-voters { white-space: normal; overflow-wrap: anywhere; }
.ws-count { position: relative; flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: calc(.1 * var(--rem)); color: var(--a-moon); font: calc(.78 * var(--rem)) var(--mono); }
.ws-count small { color: var(--a-mist); font-family: var(--sans); font-size: calc(.68 * var(--rem)); }
.ws-poll-add { display: flex; align-items: center; gap: calc(.45 * var(--rem)); min-height: calc(2.8 * var(--rem)); padding: calc(.45 * var(--rem)) calc(.7 * var(--rem)); border: 1px dashed var(--a-edge); border-radius: calc(8 * var(--u)); color: var(--a-mist); font-size: calc(.86 * var(--rem)); }
.ws-poll-add svg { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.ws-poll-meta { display: flex; flex-wrap: wrap; align-items: center; gap: calc(.35 * var(--rem)) calc(.7 * var(--rem)); padding-top: calc(.1 * var(--rem)); color: var(--a-mist); font: calc(.7 * var(--rem)) var(--mono); }
.ws-poll-meta > span { flex: 1 1 calc(10 * var(--rem)); }
.ws-poll-help { color: var(--a-mist); font-size: calc(.72 * var(--rem)); line-height: 1.4; }
.ws-card-act { display: inline-flex; align-items: center; min-height: calc(2.5 * var(--rem)); padding: 0 calc(.65 * var(--rem)); border: 1px solid var(--a-edge); border-radius: calc(6 * var(--u)); color: var(--a-mist); background: transparent; font: calc(.7 * var(--rem)) / 1 var(--mono); white-space: nowrap; }
button.ws-card-act { cursor: pointer; }
@media (hover: hover) { button.ws-card-act:hover { border-color: var(--a-mist); color: var(--a-moon); } }
.ws-card-act[aria-expanded='true'] { border-color: var(--a-mist); color: var(--a-moon); }
/* The plan (EventCard.tsx). */
.ws-plan { gap: calc(.7 * var(--rem)); padding: var(--rem); }
.ws-plan-top { display: flex; align-items: center; gap: calc(.65 * var(--rem)); }
.ws-badge { display: grid; grid-template-columns: auto auto; place-content: center; column-gap: calc(.2 * var(--rem)); flex: none; width: calc(3.15 * var(--rem)); height: calc(3.35 * var(--rem)); border: 1px solid rgb(var(--ember-rgb) / .4); border-radius: calc(8 * var(--u)); color: var(--ember); background: rgb(var(--ember-rgb) / .08); }
.ws-badge svg { grid-row: 1; width: calc(15 * var(--u)); height: calc(15 * var(--u)); }
.ws-badge span { grid-row: 1; font: calc(.58 * var(--rem)) var(--mono); text-transform: uppercase; }
.ws-badge strong { grid-column: 1 / -1; color: var(--a-moon); font-size: calc(1.35 * var(--rem)); line-height: 1; text-align: center; }
.ws-when { flex: 1; display: flex; flex-direction: column; gap: calc(.18 * var(--rem)); }
.ws-when-full { font-size: calc(.9 * var(--rem)); font-weight: 600; }
.ws-until { color: var(--ember); font: calc(.72 * var(--rem)) var(--mono); }
.ws-dur { color: var(--a-mist); font: calc(.72 * var(--rem)) var(--mono); white-space: nowrap; }
.ws-rsvp { display: flex; flex-wrap: wrap; align-items: center; gap: calc(.4 * var(--rem)); }
.ws-rsvp-b { display: inline-flex; align-items: center; gap: calc(.35 * var(--rem)); min-height: calc(2.65 * var(--rem)); padding: calc(.3 * var(--rem)) calc(.5 * var(--rem)); border: 1px solid transparent; border-radius: 999px; color: var(--a-moon); background: var(--a-slate); font-size: calc(.8 * var(--rem)); cursor: pointer; }
.ws-rsvp-b:not(.mine) svg { display: none; }
@media (hover: hover) { .ws-rsvp-b:hover { border-color: var(--a-mist); } }
.ws-rsvp-b.mine { border-color: var(--a-iris); background: var(--a-sel); }
.ws-rsvp-n { color: var(--a-mist); font: calc(.72 * var(--rem)) var(--mono); }
.ws-going { color: var(--a-mist); font-size: calc(.75 * var(--rem)); }
.ws-answers { color: var(--a-mist); font-size: calc(.75 * var(--rem)); }
.ws-remind { padding-top: calc(.45 * var(--rem)); border-top: 1px solid var(--a-edge); color: var(--a-mist); font: calc(.64 * var(--rem)) var(--mono); }

/* The typing line and the composer. */
.ws-typing { display: flex; align-items: center; gap: calc(.45 * var(--rem)); margin: 0; padding: 0 calc(12 * var(--u)); overflow: hidden; color: var(--a-mist); font: calc(.7 * var(--rem)) var(--mono); white-space: nowrap; opacity: 0; transition: opacity 200ms var(--ease); }
.ws-typing.on { opacity: 1; }
.ws-tdots { display: inline-flex; gap: 3px; }
.ws-tdots i { width: 4px; height: 4px; border-radius: 50%; background: var(--ember); }
.ws-compose { display: flex; flex-wrap: wrap; align-items: flex-end; align-content: flex-start; gap: 0 calc(.1 * var(--rem)); overflow: hidden; overflow: clip; padding: 0 calc(.3 * var(--rem)); border: 1px solid transparent; border-radius: calc(10 * var(--u)); background: var(--a-slate); }
.ws-compose:focus-within { border-color: var(--a-mist); box-shadow: 0 0 0 1px var(--a-mist); }
.ws-draft { flex: 1 1 0; min-width: 0; height: calc(52 * var(--u) - 2px); padding: 0 calc(.45 * var(--rem)); border: 0; color: var(--a-moon); background: transparent; font: inherit; font-size: calc(.9375 * var(--rem)); outline: none; }
.ws-draft::placeholder { color: var(--a-mist); opacity: 1; }
.ws-cb { flex: none; display: grid; place-items: center; width: calc(36 * var(--u)); height: calc(36 * var(--u)); margin-bottom: calc(7 * var(--u)); padding: 0; border: 0; border-radius: calc(8 * var(--u)); color: var(--a-mist); background: transparent; line-height: 1; cursor: pointer; }
.ws-cb svg { width: calc(18 * var(--u)); height: calc(18 * var(--u)); }
@media (hover: hover) { .ws-cb:hover { color: var(--ember); background: #332d38; } }
.ws-cb:focus-visible, .ws-ping:focus-visible, .ws-send:focus-visible { outline: 2px solid var(--ember); outline-offset: -2px; }
.ws-cb[aria-pressed='true'], .ws-cb.open { color: var(--ember); }
.ws-gif { font-size: calc(.63 * var(--rem)); font-weight: 750; letter-spacing: .02em; }
.ws-fmtrow { order: 1; flex: 1 0 100%; display: flex; align-items: center; margin: 0; padding-bottom: calc(.3 * var(--rem)); }
.ws-fmtrow .ws-cb { margin-bottom: 0; }
.ws-fmt-opts { display: flex; gap: 0 calc(.1 * var(--rem)); overflow-x: auto; scrollbar-width: none; }
.ws-send { position: relative; display: none; place-items: center; flex: none; width: calc(36 * var(--u)); height: calc(36 * var(--u)); margin-bottom: calc(7 * var(--u)); padding: 0; border: 0; border-radius: 50%; color: var(--a-ink); background: transparent; cursor: pointer; }
.ws-send::before { content: ''; position: absolute; inset: calc(1 * var(--u)); border-radius: 50%; background: var(--ember); transition: opacity 120ms ease, transform 120ms ease; }
.ws-send svg { position: relative; width: calc(18 * var(--u)); height: calc(18 * var(--u)); }
.ws-send:disabled { color: var(--a-mist); cursor: default; }
.ws-send:disabled::before { opacity: 0; transform: scale(.6); }
.ws[data-narrow] .ws-send { display: grid; }
.ws-replypill { order: -2; flex: 1 0 100%; display: flex; align-items: center; gap: calc(.4 * var(--rem)); min-height: calc(36 * var(--u)); margin: calc(.25 * var(--rem)) 0 0; padding-left: calc(.5 * var(--rem)); border-bottom: 1px solid var(--a-edge); color: var(--a-mist); font-size: calc(.8 * var(--rem)); white-space: nowrap; }
.ws-replypill > svg { width: calc(.95 * var(--rem)); height: calc(.95 * var(--rem)); }
.ws-replypill strong { color: var(--a-moon); font-weight: 600; }
.ws-rp-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ws-replypill .ws-cb { width: auto; min-width: calc(28 * var(--u)); height: calc(28 * var(--u)); margin: 0; padding: 0 calc(.3 * var(--rem)); border-radius: calc(6 * var(--u)); }
.ws-replypill .ws-cb svg { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.ws-ping { flex: none; min-width: calc(5ch + 1rem); height: calc(36 * var(--u)); margin-bottom: calc(7 * var(--u)); padding: 0; border: 0; color: var(--a-mist); background: none; font: calc(.68 * var(--rem)) var(--mono); cursor: pointer; }
.ws-ping span { display: inline-flex; align-items: center; min-height: calc(26 * var(--u)); padding: 0 calc(.45 * var(--rem)); border: 1px solid var(--a-edge); border-radius: calc(6 * var(--u)); line-height: 1; white-space: nowrap; }
.ws-ping.on span { color: var(--ember); border-color: rgb(var(--ember-rgb) / .55); background: rgb(var(--ember-rgb) / .12); }
.ws-replypill .ws-ping { height: calc(28 * var(--u)); margin-bottom: 0; }
/* The voice bar on two screens (MobileVoiceBar). */
.ws-vb { display: grid; place-items: center; width: calc(44 * var(--u)); height: calc(44 * var(--u)); padding: 0; border: 0; border-radius: calc(8 * var(--u)); color: var(--a-moon); background: var(--a-slate); cursor: pointer; position: relative; }
i.ws-vb { cursor: default; }
.ws-vbar-ctl .ws-vbar-leave { margin-left: calc(2 * var(--u)); color: var(--a-rose); background: color-mix(in srgb, var(--a-rose) 13%, var(--a-slate)); }

/* Call bubbles (VoicePulse.tsx): close, grip, the faces (as many as fit,
   then +N), mute and deafen, leave. */
.ws-col { display: flex; flex-direction: column; align-items: center; padding: calc(.2 * var(--rem)); border: 1px solid var(--a-edge); border-radius: 999px; background: var(--a-dusk); box-shadow: var(--a-raised); }
.ws-col.out { box-shadow: 0 0 0 calc(4 * var(--u)) rgb(255 255 255 / .06), 0 24px 50px -12px rgb(0 0 0 / .95); }
.ws-pt { flex: none; display: grid; place-items: center; width: calc(2.5 * var(--rem)); height: calc(2 * var(--rem)); padding: 0; border: 0; border-radius: 999px; color: var(--a-mist); background: none; cursor: pointer; }
.ws-pt svg { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }
@media (hover: hover) { .ws-pt:hover, .ws-col-toggle:hover { color: var(--a-moon); background: var(--a-slate); } }
.ws-pt:focus-visible, .ws-col-toggle:focus-visible, .ws-cib:focus-visible { outline: 2px solid var(--ember); outline-offset: -2px; }
.ws-col-toggle { flex: none; width: 100%; padding: calc(.45 * var(--rem)) 0; border: 0; border-radius: 999px; background: none; cursor: pointer; }
.ws-col-toggle.open { background: var(--a-sel); }
.ws-col-faces { display: flex; flex-direction: column; align-items: center; gap: calc(.6 * var(--rem)); }
.ws-slot { position: relative; display: grid; place-items: center; width: calc(2.1 * var(--rem)); height: calc(2.1 * var(--rem)); border: 2px solid var(--a-dusk); border-radius: 50%; color: var(--a-ink); background: var(--pc, var(--a-slate)); box-shadow: 0 0 0 1px rgb(255 255 255 / .08); font-size: calc(.76 * var(--rem)); font-style: normal; font-weight: 750; transition: transform 220ms var(--ease); }
.ws-slot::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; box-shadow: 0 0 0 2px var(--ember), 0 0 14px rgb(var(--ember-rgb) / .38); opacity: 0; transition: opacity 220ms var(--ease); }
.ws-slot.talking { transform: scale(1.06); }
.ws-slot.talking::after { opacity: 1; }
.ws-fstate { position: absolute; right: calc(-.2 * var(--rem)); bottom: calc(-.15 * var(--rem)); display: none; place-items: center; width: var(--rem); height: var(--rem); border: 1px solid var(--a-edge); border-radius: 50%; color: var(--a-mist); background: var(--a-ink); }
.ws-fstate svg { width: calc(10 * var(--u)); height: calc(10 * var(--u)); }
.ws-slot.muted .ws-fstate, .ws-slot.deaf .ws-fstate { display: grid; }
.ws-media { background: var(--a-slate); }
.ws-media .ws-bars { width: calc(.9 * var(--rem)); }
.ws-more { color: var(--a-mist); background: var(--a-slate); }
.ws-more:empty { display: none; }
.ws-col-audio { display: flex; flex-direction: column; gap: calc(.3 * var(--rem)); margin-top: calc(.35 * var(--rem)); padding-top: calc(.35 * var(--rem)); border-top: 1px solid var(--a-edge); }
.ws-cib { display: grid; place-items: center; width: calc(2.5 * var(--rem)); height: calc(2.1 * var(--rem)); padding: 0; border: 0; border-radius: 999px; color: var(--a-moon); background: var(--a-slate); cursor: pointer; }
.ws-col-leave { margin-top: calc(.4 * var(--rem)); padding-top: calc(.4 * var(--rem)); border-top: 1px solid var(--a-edge); }
.ws-col-leave i { display: grid; place-items: center; width: calc(44 * var(--u)); height: calc(44 * var(--u)); border-radius: 999px; color: var(--a-rose); background: color-mix(in srgb, var(--a-rose) 13%, var(--a-slate)); }
.ws-col-leave svg { width: calc(17 * var(--u)); height: calc(17 * var(--u)); }

/* Panels and menus: small overlays inside the window. */
.ws-scrim { z-index: 8; border-radius: calc(12 * var(--u)); background: rgb(0 0 0 / .38); pointer-events: none; }
.ws-pop { position: absolute; z-index: 9; left: 0; top: 0; width: calc(var(--w, 300) * var(--u)); max-height: calc(var(--mh, 400) * var(--u)); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; translate: calc(var(--x, 0) * var(--u)) calc(var(--y, 0) * var(--u)); transform-origin: top right; padding: calc(.3 * var(--rem)); border: 1px solid var(--a-edge); border-radius: calc(10 * var(--u)); color: var(--a-moon); background: var(--a-dusk); box-shadow: var(--a-popover); font-size: calc(.86 * var(--rem)); line-height: 1.4; outline: none; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: var(--a-edge) transparent; }
.ws-pop[data-placement='above'] { transform-origin: bottom right; }
:where(.ws-pop) :is(p, ul, ol, h2, h3, header, footer) { margin: 0; padding: 0; list-style: none; }
.ws-pop input { width: 100%; border: 1px solid transparent; color: var(--a-moon); background: var(--a-slate); font: inherit; outline: none; }
.ws-pop input::placeholder { color: var(--a-mist); opacity: 1; }
.ws-pop button { color: inherit; cursor: pointer; }
.ws-pop button:focus-visible { outline: 2px solid var(--ember); outline-offset: -2px; }
.ws-mi { display: flex; align-items: center; gap: calc(.6 * var(--rem)); width: 100%; padding: calc(.38 * var(--rem)) calc(.55 * var(--rem)); border: 0; border-radius: calc(6 * var(--u)); color: var(--a-moon); background: none; font-size: calc(.86 * var(--rem)); text-align: left; }
@media (hover: hover) { button.ws-mi:hover { background: var(--a-slate); } }
.ws-mi.danger { color: var(--a-rose); }
.ws-mi-i { display: grid; place-items: center; width: calc(1.1 * var(--rem)); height: calc(1.1 * var(--rem)); color: var(--a-mist); }
.ws-mi-i svg { width: calc(17 * var(--u)); height: calc(17 * var(--u)); }
.ws-mi .ws-mi-into { margin-left: auto; width: calc(13 * var(--u)); height: calc(13 * var(--u)); color: var(--a-mist); }
.ws-msep { height: 1px; margin: calc(.3 * var(--rem)) calc(.55 * var(--rem)); background: var(--a-edge); }
.ws-msec { padding: calc(.45 * var(--rem)) calc(.55 * var(--rem)) calc(.15 * var(--rem)); color: var(--a-mist); font: calc(.66 * var(--rem)) var(--mono); letter-spacing: .04em; }
.ws-x { flex: none; display: grid; place-items: center; width: calc(2 * var(--rem)); height: calc(2 * var(--rem)); padding: 0; border: 0; border-radius: calc(6 * var(--u)); color: var(--a-mist) !important; background: none; }
.ws-x svg { width: calc(15 * var(--u)); height: calc(15 * var(--u)); }
@media (hover: hover) { .ws-x:hover { color: var(--a-moon) !important; background: var(--a-slate); } }
.ws-tiny, .ws-small { position: relative; display: inline-grid; place-items: center; flex: none; border-radius: 50%; color: var(--a-ink); background: var(--pc); font-style: normal; font-weight: 700; }
.ws-tiny { width: calc(1.2 * var(--rem)); height: calc(1.2 * var(--rem)); font-size: calc(.55 * var(--rem)); }
.ws-small { width: calc(1.55 * var(--rem)); height: calc(1.55 * var(--rem)); font-size: calc(.7 * var(--rem)); }
.ws-small .ws-pip { width: 9px; height: 9px; border-width: 2px; }
/* Find (QuickSwitcher.tsx): centred over the window, as the app's is. */
.ws-pop[data-pop='find'] { padding: 0; box-shadow: 0 24px 64px rgb(0 0 0 / .55); }
.ws-find-input { padding: calc(.9 * var(--rem)) var(--rem); border: 0 !important; border-bottom: 1px solid var(--a-edge) !important; background: transparent !important; font-size: var(--rem) !important; }
.ws-find-hint { padding: calc(.55 * var(--rem)) var(--rem) calc(.65 * var(--rem)) !important; color: var(--a-mist); font-size: calc(.78 * var(--rem)); line-height: 1.5; }
.ws-find-list { padding: calc(.3 * var(--rem)) !important; }
.ws-find-group { padding: calc(.5 * var(--rem)) calc(.7 * var(--rem)) calc(.2 * var(--rem)); color: var(--a-mist); font: 600 calc(.62 * var(--rem)) / 1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.ws-find-item { display: flex; align-items: center; gap: calc(.65 * var(--rem)); width: 100%; padding: calc(.5 * var(--rem)) calc(.7 * var(--rem)); border: 0; border-radius: calc(6 * var(--u)); background: none; font-size: calc(.9 * var(--rem)); text-align: left; }
@media (hover: hover) { .ws-find-item:hover { background: var(--a-sel); } }
.ws-find-item .ws-hash { margin-right: 0; }
.ws-find-unread { margin-left: auto; min-width: calc(1.1 * var(--rem)); padding: 0 calc(.4 * var(--rem)); border-radius: 999px; color: var(--a-ink); background: var(--ember); font-size: calc(.7 * var(--rem)); text-align: center; }
.ws-find-thumb { flex: none; width: calc(2.4 * var(--rem)); height: calc(2.4 * var(--rem)); overflow: hidden; border-radius: calc(6 * var(--u)); background: var(--a-ink); }
.ws-find-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ws-find-copy { display: flex; flex-direction: column; min-width: 0; }
.ws-find-meta { color: var(--a-mist); font: calc(.66 * var(--rem)) / 1.35 var(--mono); }
.ws-find-snip { overflow: hidden; color: var(--a-moon); font-size: calc(.85 * var(--rem)); text-overflow: ellipsis; white-space: nowrap; }
.ws-find-snip mark { padding: 0 .1em; border-radius: calc(4 * var(--u)); color: var(--a-moon); background: rgb(var(--ember-rgb) / .24); }
.ws-find-none { padding: calc(.55 * var(--rem)) calc(.7 * var(--rem)); color: var(--a-mist); font-size: calc(.85 * var(--rem)); }
/* Activity, pins, and files share the pins panel (app.css .pins-panel). */
.ws-pop[data-pop='activity'], .ws-pop[data-pop='pins'], .ws-pop[data-pop='files'] { padding: calc(.5 * var(--rem)); }
.ws-pins-head { padding: calc(.2 * var(--rem)) calc(.4 * var(--rem)) calc(.4 * var(--rem)) !important; color: var(--a-mist); font: calc(.65 * var(--rem)) var(--mono); letter-spacing: .12em; outline: none; }
.ws-files-head { display: flex; justify-content: space-between; }
.ws-act-filters { display: flex; gap: calc(.45 * var(--rem)); padding: calc(.3 * var(--rem)) calc(.35 * var(--rem)) calc(.55 * var(--rem)) !important; }
.ws-act-filters button { padding: calc(.3 * var(--rem)) calc(.58 * var(--rem)); border: 1px solid var(--a-edge); border-radius: 999px; color: var(--a-mist) !important; background: transparent; font: calc(.68 * var(--rem)) var(--mono); }
.ws-act-filters button[aria-pressed='true'] { color: var(--ember) !important; border-color: color-mix(in srgb, var(--ember) 45%, var(--a-edge)); background: var(--a-sel); }
.ws-act-item { display: grid; grid-template-columns: calc(.35 * var(--rem)) minmax(0, 1fr) auto; align-items: start; gap: calc(.55 * var(--rem)); padding: calc(.4 * var(--rem)); border-top: 1px solid color-mix(in srgb, var(--a-edge) 68%, transparent); background: linear-gradient(90deg, color-mix(in srgb, var(--a-slate) 15%, transparent), transparent 78%); }
.ws-act-item[data-scope='server'] { background: linear-gradient(90deg, color-mix(in srgb, var(--ember) 5%, transparent), transparent 78%); }
.ws-act-mark { width: calc(.35 * var(--rem)); height: calc(.35 * var(--rem)); margin-top: calc((1.5 * var(--rem) - .35 * var(--rem)) / 2); border-radius: 50%; background: var(--a-slate); }
.ws-act-copy { color: var(--a-moon); font-size: calc(.84 * var(--rem)); line-height: calc(1.5 * var(--rem)); }
.ws-act-person { white-space: nowrap; }
.ws-act-person .ws-tiny { margin: 0 calc(.28 * var(--rem)) 0 calc(.04 * var(--rem)); vertical-align: calc(-.25 * var(--rem)); }
.ws-act-person strong { font-weight: 650; }
.ws-act-ch { color: var(--ember); }
.ws-act-item time { color: var(--a-mist); font: calc(.65 * var(--rem)) / calc(1.5 * var(--rem)) var(--mono); }
.ws-pin-row { display: flex; align-items: flex-start; gap: calc(.2 * var(--rem)); }
.ws-pin-main { flex: 1; display: flex; flex-direction: column; gap: calc(.15 * var(--rem)); min-width: 0; padding: calc(.4 * var(--rem)) calc(.45 * var(--rem)); border: 0; border-radius: calc(6 * var(--u)); background: none; text-align: left; }
@media (hover: hover) { .ws-pin-main:hover { background: var(--a-slate); } .ws-pin-x:hover { color: var(--a-rose) !important; background: var(--a-slate); } }
.ws-pin-head { display: flex; align-items: center; gap: calc(.4 * var(--rem)); }
.ws-pin-author { font-size: calc(.82 * var(--rem)); font-weight: 600; }
.ws-pin-when { color: var(--a-mist); font: calc(.68 * var(--rem)) var(--mono); }
.ws-pin-text { color: var(--a-moon); font-size: calc(.85 * var(--rem)); }
.ws-pin-x { padding: calc(.45 * var(--rem)) calc(.35 * var(--rem)); border: 0; border-radius: calc(6 * var(--u)); color: var(--a-mist) !important; background: none; }
.ws-pin-x svg { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.ws-pins-empty { padding: calc(.3 * var(--rem)) calc(.4 * var(--rem)) calc(.5 * var(--rem)); color: var(--a-mist); font-size: calc(.85 * var(--rem)); }
.ws-ftools { display: grid; gap: calc(.4 * var(--rem)); padding: 0 calc(.35 * var(--rem)) calc(.5 * var(--rem)); }
.ws-ftools-row { display: flex; align-items: center; gap: calc(.4 * var(--rem)); }
.ws-fsearch { position: relative; flex: 1; display: flex; align-items: center; }
.ws-fsearch > svg { position: absolute; left: calc(.6 * var(--rem)); width: calc(15 * var(--u)); height: calc(15 * var(--u)); color: var(--a-mist); }
.ws-fsearch input { min-height: calc(2.25 * var(--rem)); padding: calc(.42 * var(--rem)) calc(2 * var(--rem)) calc(.42 * var(--rem)) calc(1.95 * var(--rem)); border-radius: calc(6 * var(--u)); font-size: calc(.82 * var(--rem)); }
.ws-fviews { display: flex; overflow: hidden; border: 1px solid var(--a-edge); border-radius: calc(6 * var(--u)); }
.ws-fviews button { display: grid; place-items: center; width: calc(2.25 * var(--rem)); height: calc(2.25 * var(--rem)); padding: 0; border: 0; color: var(--a-mist) !important; background: none; }
.ws-fviews button + button { border-left: 1px solid var(--a-edge); }
.ws-fviews button[aria-pressed='true'] { color: var(--a-moon) !important; background: var(--a-sel); }
.ws-fviews svg { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }
.ws-fkinds { flex: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 2px; border-radius: calc(6 * var(--u)); background: var(--a-slate); }
.ws-fkinds button { min-height: calc(2 * var(--rem)); padding: 0 calc(.3 * var(--rem)); border: 0; border-radius: calc(4 * var(--u)); color: var(--a-mist) !important; background: none; font-size: calc(.72 * var(--rem)); }
.ws-fkinds button[aria-pressed='true'] { color: var(--a-moon) !important; background: var(--a-sel); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--a-iris) 30%, transparent); }
.ws-fmenus > button { display: inline-flex; color: var(--a-moon); background: none; font-family: inherit; cursor: pointer; align-items: center; gap: calc(.3 * var(--rem)); min-height: calc(2.25 * var(--rem)); padding: 0 calc(.4 * var(--rem)) 0 calc(.6 * var(--rem)); border: 1px solid var(--a-edge); border-radius: calc(6 * var(--u)); font-size: calc(.72 * var(--rem)); white-space: nowrap; }
.ws-fmenus svg { width: calc(12 * var(--u)); height: calc(12 * var(--u)); color: var(--a-mist); transform: rotate(90deg); }
.ws-fkey { color: var(--a-mist); }
.ws-flist { display: flex; flex-direction: column; }
.ws-fgroup { padding: calc(.3 * var(--rem)) calc(.45 * var(--rem)) calc(.2 * var(--rem)); color: var(--a-mist); font: calc(.65 * var(--rem)) / 1.2 var(--mono); letter-spacing: .12em; }
.ws-frow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: calc(.5 * var(--rem)); padding: calc(.35 * var(--rem)) calc(.45 * var(--rem)); border-radius: calc(6 * var(--u)); }
@media (hover: hover) { .ws-frow:hover { background: var(--a-slate); } }
.ws-fthumb, .ws-fglyph { display: grid; place-items: center; width: calc(2.5 * var(--rem)); height: calc(2.5 * var(--rem)); overflow: hidden; border-radius: calc(6 * var(--u)); background: var(--a-ink); }
.ws-fthumb img { width: 100%; height: 100%; object-fit: cover; }
.ws-fglyph { border: 1px solid var(--a-edge); color: var(--a-mist); }
.ws-fglyph.audio { color: var(--ember); }
.ws-fglyph svg { width: calc(17 * var(--u)); height: calc(17 * var(--u)); }
.ws-fcopy { display: flex; flex-direction: column; gap: calc(.18 * var(--rem)); min-width: 0; }
.ws-fname { overflow: hidden; font-size: calc(.85 * var(--rem)); text-overflow: ellipsis; white-space: nowrap; }
.ws-fdetails { display: flex; flex-wrap: wrap; gap: calc(.15 * var(--rem)) calc(.75 * var(--rem)); }
.ws-ftags { color: var(--a-mist); font: calc(.66 * var(--rem)) / 1.35 var(--mono); }
.ws-fmeta { color: var(--a-mist); font: calc(.65 * var(--rem)) var(--mono); }
.ws-fadd { display: grid; place-items: center; width: calc(2 * var(--rem)); height: calc(2 * var(--rem)); color: var(--a-mist); }
.ws-fadd svg { width: calc(15 * var(--u)); height: calc(15 * var(--u)); }
.ws-flist.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(calc(8.25 * var(--rem)), 1fr)); gap: calc(.4 * var(--rem)); padding: calc(.15 * var(--rem)) calc(.35 * var(--rem)); }
.ws-flist.grid .ws-fgroup { grid-column: 1 / -1; }
.ws-flist.grid .ws-frow { display: flex; flex-direction: column; align-items: stretch; gap: calc(.3 * var(--rem)); padding: calc(.3 * var(--rem)); }
.ws-flist.grid .ws-fthumb, .ws-flist.grid .ws-fglyph { width: 100%; height: auto; aspect-ratio: 1; }
.ws-flist.grid .ws-fdetails, .ws-flist.grid .ws-fadd { display: none; }
.ws-flist.grid .ws-fname { font-size: calc(.72 * var(--rem)); }
.ws-fempty { display: grid; gap: calc(.2 * var(--rem)); padding: calc(.6 * var(--rem)) calc(.45 * var(--rem)); color: var(--a-mist); font-size: calc(.82 * var(--rem)); }
/* Everyone (Roster.tsx): in the sidebar in place of the list, or beside
   the folded rail as a panel. Its heading, a search, then recents, who's
   online, and who's offline (folded), each counted. */
.ws-people { flex: 1; min-height: 0; display: flex; flex-direction: column; margin-bottom: calc(144 * var(--u)); background: var(--a-dusk); }
.ws-people[hidden] { display: none; }
.ws-pop[data-pop='everyone'] { display: flex; flex-direction: column; height: calc(23 * var(--rem)); padding: 0; background: var(--a-dusk); }
.ws-ppl { display: contents; }
.ws-ppl-head { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: calc(.55 * var(--rem)) calc(12 * var(--u)) calc(.25 * var(--rem)) !important; }
.ws-people .ws-ppl-head { justify-content: flex-start; }
.ws-ppl-head h2 { margin: 0; padding-left: calc(.25 * var(--rem)); color: var(--a-moon); font: 600 calc(1.15 * var(--rem)) / 1.25 var(--display); }
.ws-ppl-back { flex: none; display: grid; place-items: center; width: calc(32 * var(--u)); height: calc(36 * var(--u)); padding: 0; border: 0; border-radius: calc(6 * var(--u)); color: var(--a-mist); background: none; cursor: pointer; }
.ws-ppl-back svg { width: calc(16 * var(--u)); height: calc(16 * var(--u)); rotate: 180deg; }
@media (hover: hover) { .ws-ppl-back:hover { color: var(--a-moon); background: var(--a-slate); } }
.ws-ppl-back:focus-visible { outline: 2px solid var(--ember); outline-offset: -2px; }
.ws-ppl-find { flex: none; display: flex; align-items: center; gap: calc(.4 * var(--rem)); margin: 0 calc(12 * var(--u)) calc(.4 * var(--rem)); padding: 0 calc(.2 * var(--rem)) 0 calc(.55 * var(--rem)); border-radius: calc(6 * var(--u)); color: var(--a-mist); background: var(--a-ink); }
.ws-ppl-find:focus-within { box-shadow: inset 0 0 0 1px var(--a-mist); }
.ws-ppl-find svg { flex: none; width: calc(15 * var(--u)); height: calc(15 * var(--u)); }
.ws .ws-ppl-find input { flex: 1; min-width: 0; min-height: calc(2 * var(--rem)); padding: 0; border: 0; outline: none; color: var(--a-moon); background: transparent; font: inherit; font-size: calc(.9 * var(--rem)); }
.ws-ppl-find input::placeholder { color: var(--a-mist); }
.ws-ppl-find input::-webkit-search-cancel-button { display: none; }
.ws-ppl-scroll { flex: 1; min-height: 0; padding: 0 calc(12 * var(--u)) calc(.6 * var(--rem)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.ws-ppl-scroll::-webkit-scrollbar { display: none; }
.ws-ppl-scroll > section + section { margin-top: calc(.4 * var(--rem)); }
.ws-ppl-h { display: flex; align-items: center; gap: calc(.25 * var(--rem)); width: 100%; min-height: calc(2 * var(--rem)); margin: 0; padding: calc(.3 * var(--rem)) calc(.42 * var(--rem)); border: 0; border-radius: calc(6 * var(--u)); color: var(--a-mist); background: none; font: 400 calc(.72 * var(--rem)) / 1.45 var(--sans); text-align: left; }
button.ws-ppl-h { cursor: pointer; }
@media (hover: hover) { button.ws-ppl-h:hover { color: var(--a-moon); background: var(--a-slate); } }
button.ws-ppl-h:focus-visible { outline: 2px solid var(--ember); outline-offset: -2px; }
.ws-ppl-h svg { width: calc(13 * var(--u)); height: calc(13 * var(--u)); transition: rotate 140ms var(--ease); }
.ws-ppl-h[aria-expanded='true'] svg { rotate: 90deg; }
.ws-ppl-none { margin: 0; padding: calc(.3 * var(--rem)) calc(.42 * var(--rem)); color: var(--a-mist); font-size: calc(.8 * var(--rem)); }
.ws-crown-i { display: inline-grid; place-items: center; width: calc(17 * var(--u)); height: calc(17 * var(--u)); border: 1px solid rgb(255 225 180 / .56); border-radius: 50%; color: var(--a-ink); background: var(--ember); }
.ws-crown-i svg { width: calc(11 * var(--u)); height: calc(11 * var(--u)); }
.ws-dmrow .ws-crown-i { flex: none; margin-left: auto; }
.ws-you { color: var(--a-mist); }
/* A person's card (PersonProfilePopover.tsx). */
.ws-pop[data-pop='profile'] { background: radial-gradient(circle at 14% 0%, rgb(var(--ember-rgb) / .09), transparent 52%), var(--a-dusk); }
.ws-prof-x { position: absolute; top: calc(.4 * var(--rem)); right: calc(.4 * var(--rem)); }
.ws-prof-head { display: flex; align-items: flex-start; gap: calc(.7 * var(--rem)); padding: calc(.55 * var(--rem)) calc(2.5 * var(--rem)) calc(.65 * var(--rem)) calc(.55 * var(--rem)); }
.ws-prof-med { position: relative; display: grid; place-items: center; flex: none; width: calc(2.75 * var(--rem)); height: calc(2.75 * var(--rem)); border-radius: 50%; color: var(--a-ink); background: var(--pc); box-shadow: 0 0 0 3px rgb(var(--ember-rgb) / .08); font-size: var(--rem); font-style: normal; font-weight: 750; }
.ws-prof-med .ws-pip { right: -.05rem; bottom: -.05rem; width: calc(.75 * var(--rem)); height: calc(.75 * var(--rem)); border-width: 2px; }
.ws .ws-prof-name { display: flex; align-items: center; gap: calc(.4 * var(--rem)); font-family: var(--sans); font-size: var(--rem); font-weight: 700; line-height: 1.3; letter-spacing: 0; outline: none; }
.ws-prof-status { margin-top: calc(.2 * var(--rem)) !important; color: var(--a-mist); font: calc(.7 * var(--rem)) var(--mono); }
.ws-prof-roles { display: flex; gap: calc(.3 * var(--rem)); margin-top: calc(.5 * var(--rem)) !important; }
.ws-prof-roles span { padding: calc(.1 * var(--rem)) calc(.45 * var(--rem)); border: 1px solid var(--a-edge); border-radius: 999px; color: var(--a-mist); font-size: calc(.72 * var(--rem)); }
.ws-prof-acts { display: grid; gap: calc(.1 * var(--rem)); padding-top: calc(.25 * var(--rem)) !important; border-top: 1px solid var(--a-edge); }
.ws-prof-acts .primary { background: rgb(var(--ember-rgb) / .12); font-weight: 650; }
.ws-prof-acts .primary .ws-mi-i { color: var(--ember); }
/* Your screens and hidden streams (StreamManager, HiddenStreamsMenu). */
.ws-pop[data-pop='screens'], .ws-pop[data-pop='hidden'] { display: grid; gap: calc(.7 * var(--rem)); padding: calc(.8 * var(--rem)); }
.ws-pop[data-pop='screens'][hidden], .ws-pop[data-pop='hidden'][hidden] { display: none; }
.ws-sm-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: calc(.55 * var(--rem)); min-height: calc(2.15 * var(--rem)); }
.ws .ws-sm-head h2 { font-family: var(--sans); line-height: 1.3; letter-spacing: 0; display: flex; align-items: center; gap: calc(.5 * var(--rem)); color: var(--a-moon); font-size: calc(.9 * var(--rem)); font-weight: 600; outline: none; }
.ws-sm-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--a-rose); }
.ws-sm-note { color: var(--a-mist); font-size: calc(.72 * var(--rem)); line-height: 1.45; }
.ws-sm-list { display: grid; gap: calc(.3 * var(--rem)); }
.ws-sm-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: calc(.5 * var(--rem)); padding: calc(.45 * var(--rem)) calc(.4 * var(--rem)) calc(.45 * var(--rem)) calc(.6 * var(--rem)); border-radius: calc(8 * var(--u)); background: color-mix(in srgb, var(--a-ink) 72%, transparent); }
.ws-pop[data-pop='hidden'] .ws-sm-list li { grid-template-columns: calc(4.5 * var(--rem)) minmax(0, 1fr) auto; }
.ws-sm-thumb { aspect-ratio: 16 / 9; overflow: hidden; border-radius: calc(6 * var(--u)); background: var(--a-ink); }
.ws-sm-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ws-sm-copy { display: grid; gap: calc(.25 * var(--rem)); min-width: 0; }
.ws-sm-copy strong { overflow: hidden; color: var(--a-moon); font-size: calc(.78 * var(--rem)); text-overflow: ellipsis; white-space: nowrap; }
.ws-sm-copy small { color: var(--a-mist); font-size: calc(.64 * var(--rem)); }
.ws-sm-meta { display: flex; align-items: center; gap: calc(.4 * var(--rem)); }
.ws-sm-pill { padding: calc(.08 * var(--rem)) calc(.42 * var(--rem)); border: 1px solid var(--a-edge); border-radius: 999px; color: var(--a-moon); background: var(--a-slate); font: calc(.62 * var(--rem)) / 1 var(--mono); }
.ws-sm-acts { display: flex; gap: calc(.2 * var(--rem)); }
.ws-sm-btn { display: inline-flex; align-items: center; gap: calc(.3 * var(--rem)); min-height: calc(2.15 * var(--rem)); padding: 0 calc(.5 * var(--rem)); border: 1px solid transparent; border-radius: calc(6 * var(--u)); color: var(--a-mist) !important; background: none; font-size: calc(.66 * var(--rem)); }
.ws-sm-btn svg { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }
@media (hover: hover) { .ws-sm-btn:hover { color: var(--a-moon) !important; background: var(--a-slate); } .ws-sm-btn.danger:hover { background: color-mix(in srgb, var(--a-rose) 12%, transparent); } }
.ws-sm-btn.danger { color: var(--a-rose) !important; }
.ws-sm-add { justify-content: center; width: 100%; border: 1px dashed var(--a-edge); border-radius: calc(8 * var(--u)); }
.ws-sm-add svg { width: calc(15 * var(--u)); height: calc(15 * var(--u)); color: var(--ember); }
/* Viewers, the call's names, quick reactions, the pickers. */
.ws-pop[data-pop='viewers'] { padding: calc(.55 * var(--rem)); font-size: calc(.74 * var(--rem)); }
.ws-view-list li { display: flex; justify-content: space-between; gap: calc(.75 * var(--rem)); padding: calc(.3 * var(--rem)) calc(.35 * var(--rem)); border-radius: calc(6 * var(--u)); }
.ws-view-list li span + span, .ws-view-none { color: var(--a-mist); }
.ws-pop[data-pop='names'] { padding: 0; }
.ws-names-head { display: flex; align-items: center; justify-content: space-between; padding: calc(.5 * var(--rem)) calc(.75 * var(--rem)) !important; border-bottom: 1px solid var(--a-edge); color: var(--a-mist); font-size: calc(.75 * var(--rem)); }
.ws-names-head div { display: flex; align-items: baseline; gap: calc(.5 * var(--rem)); }
.ws-names-head strong { color: var(--a-moon); font-size: calc(.88 * var(--rem)); font-weight: 650; }
.ws-names-list { padding: calc(.35 * var(--rem)) !important; }
.ws-names-list button, .ws-names-list .ws-names-bot { display: flex; align-items: center; gap: calc(.5 * var(--rem)); width: 100%; min-height: calc(36 * var(--u)); padding: calc(.35 * var(--rem)) calc(.5 * var(--rem)); border: 0; border-radius: calc(6 * var(--u)); background: none; font-size: calc(.8 * var(--rem)); text-align: left; }
@media (hover: hover) { .ws-names-list button:hover { background: var(--a-slate); } }
.ws-names-list .ws-ind { width: calc(13 * var(--u)); height: calc(13 * var(--u)); }
.ws-names-list .ws-ind.talking b { opacity: 1; }
.ws-names-list .ws-ind svg { width: 100%; height: 100%; }
.ws-names-list .ws-ind.state { border-color: transparent; background: none; box-shadow: none; }
.ws-names-kind { color: var(--a-mist); font: calc(.62 * var(--rem)) var(--mono); }
.ws-names-go { margin-left: auto; color: var(--a-mist); }
.ws-names-foot { display: flex; flex-wrap: wrap; gap: calc(.25 * var(--rem)); padding: calc(.5 * var(--rem)) !important; border-top: 1px solid var(--a-edge); font-size: calc(.72 * var(--rem)); }
.ws-names-foot button { display: inline-flex; align-items: center; gap: calc(.3 * var(--rem)); min-height: calc(2 * var(--rem)); padding: 0 calc(.5 * var(--rem)); border: 0; border-radius: calc(6 * var(--u)); color: var(--a-mist) !important; background: none; }
.ws-names-foot svg { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
@media (hover: hover) { .ws-names-foot button:hover { color: var(--a-moon) !important; background: var(--a-slate); } }
.ws-pop[data-pop='react'] { padding: calc(.2 * var(--rem)); }
.ws-quick { display: flex; gap: calc(.12 * var(--rem)); }
.ws-quick button { min-width: calc(2 * var(--rem)); height: calc(2 * var(--rem)); padding: 0 calc(.25 * var(--rem)); border: 0; border-radius: calc(6 * var(--u)); background: transparent; font-size: var(--rem); }
@media (hover: hover) { .ws-quick button:hover { background: var(--a-slate); } }
.ws-quick-more { display: inline-flex; align-items: center; gap: calc(.25 * var(--rem)); padding: 0 calc(.45 * var(--rem)) !important; color: var(--a-mist) !important; font: calc(.66 * var(--rem)) var(--mono) !important; }
.ws-quick-more svg { width: calc(.95 * var(--rem)); height: calc(.95 * var(--rem)); }
.ws-pop[data-pop='emoji'], .ws-pop[data-pop='gif'] { display: flex; flex-direction: column; gap: calc(.5 * var(--rem)); padding: calc(.6 * var(--rem)); }
.ws-pop[data-pop='emoji'][hidden], .ws-pop[data-pop='gif'][hidden] { display: none; }
.ws-esearch { padding: calc(.4 * var(--rem)) calc(.6 * var(--rem)); border-radius: calc(6 * var(--u)); font-size: calc(.85 * var(--rem)) !important; }
.ws-esearch:focus { border-color: var(--ember) !important; }
.ws-egrid { display: grid; grid-template-columns: repeat(8, 1fr); gap: calc(.1 * var(--rem)); }
.ws-egrid button { padding: calc(.25 * var(--rem)) 0; border: 0; border-radius: calc(6 * var(--u)); background: none; font-size: calc(1.25 * var(--rem)); line-height: 1.3; }
@media (hover: hover) { .ws-egrid button:hover { background: var(--a-slate); } }
.ws-recents { padding-bottom: calc(.45 * var(--rem)) !important; border-bottom: 1px solid var(--a-edge); }
.ws-eshelf { padding: calc(.3 * var(--rem)) calc(.15 * var(--rem)) calc(.15 * var(--rem)) !important; color: var(--a-mist); font: calc(.62 * var(--rem)) var(--mono); letter-spacing: .1em; }
.ws-enone, .ws-gif-empty { padding: calc(.8 * var(--rem)) calc(.2 * var(--rem)) !important; color: var(--a-mist); font-size: calc(.75 * var(--rem)); line-height: 1.4; }
.ws-gif-head { display: flex; align-items: center; justify-content: space-between; }
.ws-gif-kind { color: var(--a-moon); font: calc(.7 * var(--rem)) var(--mono); }
.ws-attach { display: grid; gap: calc(.15 * var(--rem)); }
.ws-attach .ws-mi { min-height: calc(2.5 * var(--rem)); gap: calc(.65 * var(--rem)); padding: calc(.55 * var(--rem)) calc(.7 * var(--rem)); }
@media (hover: hover) { .ws-attach button.ws-mi:hover, .ws-attach button.ws-mi:hover .ws-mi-i { color: var(--ember); } }

/* Density at the app's factors (app.css :root[data-density='compact']). */
.ws[data-density='compact'] .ws-ch { height: calc(32 * var(--u)); }
.ws[data-density='compact'] .ws-voice li { height: calc(24 * var(--u)); }
.ws[data-density='compact'] .ws-lines { gap: calc(10 * var(--u)); }
.ws[data-density='compact'] .ws-msg.grouped { margin-top: calc(-8 * var(--u)); }
.ws[data-density='compact'] .ws-cb, .ws[data-density='compact'] .ws-send, .ws[data-density='compact'] .ws-ping { width: calc(32 * var(--u)); height: calc(32 * var(--u)); margin-bottom: calc(5 * var(--u)); }
.ws[data-density='compact'] .ws-draft { height: calc(42 * var(--u) - 2px); }

/* Voice: join chevrons are buttons; # home's shows while mila is out of
   its call (a row with a voice list keeps its chevron lit); out of every
   call, the call row goes and the foot shortens. */
.ws-chwrap { position: relative; }
.ws-join { display: grid; place-items: center; width: calc(24 * var(--u)); height: calc(24 * var(--u)); padding: 0; border: 0; border-radius: calc(6 * var(--u)); background: none; cursor: pointer; top: calc(50% - 12 * var(--u)) !important; }
.ws-chwrap .ws-join, .ws-join:focus-visible { opacity: 1; }
@media (hover: hover) { .ws-join:hover { color: var(--ember); } }
.ws-join:focus-visible { outline: 2px solid var(--ember); outline-offset: -2px; }
.ws[data-novoice] .ws-callrow { display: none; }
.ws[data-novoice] :is(.ws-list, .ws-people) { margin-bottom: calc(88 * var(--u)); }
.ws[data-novoice] .ws-selfrow { height: calc(45 * var(--u)); padding-top: calc(1 * var(--u)); }
button.ws-cr.ws-leave, .ws-col-leave button, .ws-vbar-leave { cursor: pointer; }
.ws-col-leave button { display: grid; place-items: center; width: calc(44 * var(--u)); height: calc(44 * var(--u)); padding: 0; border: 0; border-radius: 999px; color: var(--a-rose); background: color-mix(in srgb, var(--a-rose) 13%, var(--a-slate)); }
.ws-col-leave svg { width: calc(17 * var(--u)); height: calc(17 * var(--u)); }
/* The app's tooltip, where the twin gives one (data-tip). */
.ws [data-tip]:not(.ws-r) { position: relative; }
.ws [data-tip]:hover::after, .ws [data-tip]:focus-visible::after { content: attr(data-tip); position: absolute; z-index: 10; bottom: calc(100% + 6 * var(--u)); left: 50%; translate: -50% 0; padding: calc(.25 * var(--rem)) calc(.5 * var(--rem)); border: 1px solid var(--a-edge); border-radius: calc(6 * var(--u)); color: var(--a-moon); background: var(--a-ink); box-shadow: var(--a-raised); font: 500 calc(.7 * var(--rem)) / 1.2 var(--sans); white-space: nowrap; pointer-events: none; }
.ws[data-dm] .ws-typing { visibility: hidden; }
.ws-dmintro { display: grid; gap: calc(.3 * var(--rem)); padding: calc(.4 * var(--rem)) calc(10 * var(--u)) calc(.6 * var(--rem)) calc(7 * var(--u)); color: var(--a-mist); }
.ws-dmintro p { margin: 0; }
.ws-dmhead { color: var(--a-moon); font-family: var(--display); font-size: calc(1.3 * var(--rem)); font-weight: 620; }
.ws-dmhead span { color: var(--a-mist); }
/* Nicknames on the card. */
.ws-prof-nick { margin-top: calc(.2 * var(--rem)) !important; color: var(--a-mist); font: calc(.7 * var(--rem)) var(--mono); }
.ws-nickform { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: calc(.4 * var(--rem)); padding: calc(.25 * var(--rem)) calc(.55 * var(--rem)) calc(.55 * var(--rem)); border-top: 1px solid var(--a-edge); }
.ws-nickform input { padding: calc(.45 * var(--rem)) calc(.55 * var(--rem)); border-color: var(--a-edge) !important; border-radius: calc(6 * var(--u)); background: var(--a-ink) !important; font-size: calc(.82 * var(--rem)) !important; }
.ws-nickform input:focus { border-color: var(--ember) !important; }
.ws-nick-save { padding: 0 calc(.8 * var(--rem)); border: 0; border-radius: calc(6 * var(--u)); color: var(--a-ink) !important; background: var(--ember); font-size: calc(.8 * var(--rem)); font-weight: 700; }
.ws-nick-hint { grid-column: 1 / -1; color: var(--a-mist); font-size: calc(.72 * var(--rem)); }
.ws-nick-remove { grid-column: 1 / -1; justify-self: start; padding: 0; border: 0; color: var(--a-mist) !important; background: none; font-size: calc(.72 * var(--rem)); text-decoration: underline; }
/* The bell (GlobalNotifications.tsx) and the gear in the user row. */
.ws-selftools button { display: grid; place-items: center; width: calc(24 * var(--u)); height: calc(24 * var(--u)); padding: 0; border: 0; border-radius: calc(6 * var(--u)); color: var(--a-mist); background: none; cursor: pointer; }
@media (hover: hover) { .ws-selftools button:hover { color: var(--a-moon); background: var(--a-slate); } }
.ws-selftools button:focus-visible { outline: 2px solid var(--ember); outline-offset: -2px; }
[data-bell] svg + svg, [data-bell].quiet svg:first-child { display: none; }
[data-bell].quiet svg + svg { display: block; }
[data-bell].quiet { color: var(--a-moon) !important; background: var(--a-sel) !important; }
.ws-pop[data-pop='bell'] { display: grid; gap: calc(.5 * var(--rem)); padding: calc(.7 * var(--rem)); }
.ws-bell-head { display: flex; align-items: center; justify-content: space-between; }
.ws-bell-head strong { font-size: calc(.9 * var(--rem)); }
.ws-bell-text { color: var(--a-mist); font-size: calc(.78 * var(--rem)); }
.ws-bell-choice { display: grid; grid-template-columns: calc(1.15 * var(--rem)) minmax(0, 1fr); gap: calc(.3 * var(--rem)); align-items: start; padding: calc(.55 * var(--rem)) calc(.6 * var(--rem)); border-radius: calc(6 * var(--u)); cursor: pointer; }
.ws-bell-choice:has(:checked) { background: var(--a-sel); }
.ws-bell-choice input { margin: calc(.2 * var(--rem)) 0 0; accent-color: var(--ember); }
.ws-bell-choice strong { display: block; font-size: calc(.86 * var(--rem)); font-weight: 600; }
.ws-bell-btn { justify-self: start; min-height: calc(2.2 * var(--rem)); padding: 0 calc(.7 * var(--rem)); border: 1px solid var(--a-edge); border-radius: calc(6 * var(--u)); background: none; font-size: calc(.78 * var(--rem)); }
/* Settings (SettingsModal.tsx), centred in the window. */
.ws-pop[data-pop='settings'] { padding: 0; overflow: hidden; box-shadow: 0 24px 64px rgb(0 0 0 / .55); }
.ws-set { position: relative; display: grid; grid-template-columns: max-content minmax(0, 1fr); height: min(calc(var(--mh) * var(--u) - 2px), calc(540 * var(--u))); }
.ws-set-rail { display: grid; align-content: start; gap: 2px; overflow-y: auto; scrollbar-width: none; padding: calc(24 * var(--u)) calc(12 * var(--u)) calc(12 * var(--u)); border-right: 1px solid var(--a-edge); background: var(--a-ink); }
.ws-set-title { margin: 0 0 calc(.66 * var(--rem)) calc(8 * var(--u)) !important; font-family: var(--display); font-size: calc(1.2 * var(--rem)); font-weight: 650; }
.ws-set-tab { display: flex; align-items: center; gap: calc(.6 * var(--rem)); min-height: calc(36 * var(--u)); padding: 0 calc(8 * var(--u)); border: 0; border-radius: calc(6 * var(--u)); color: var(--a-mist) !important; background: none; font-size: calc(.9 * var(--rem)); text-align: left; }
.ws-set-tab svg { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }
/* SettingsModal's group heading over the admin pages. */
.ws .ws-set-tabh { display: flex; align-items: center; min-height: calc(28 * var(--u)); margin: calc(12 * var(--u)) 0 0; padding: 0 calc(8 * var(--u)); color: var(--a-mist); font-family: var(--sans); font-size: calc(.72 * var(--rem)); font-weight: 600; letter-spacing: .08em; text-transform: lowercase; }
.ws-set-lead { color: var(--a-moon); font-size: calc(.86 * var(--rem)); }
.ws .ws-set-index .ws-set-group + .ws-set-h { margin-top: calc(1.25 * var(--rem)); }
@media (hover: hover) { .ws-set-tab:hover { background: var(--a-slate); } }
.ws-set-tab[aria-pressed='true'] { color: var(--a-moon) !important; background: var(--a-sel); }
.ws-set-body { position: relative; overflow-y: auto; padding: calc(24 * var(--u)) calc(26 * var(--u)); scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: var(--a-edge) transparent; }
/* The way out belongs to the window, not the page, so it stays put while
   a long page scrolls. */
.ws-set-x { position: absolute; z-index: 1; top: calc(18 * var(--u)); right: calc(18 * var(--u)); }
.ws-set-page { display: grid; gap: 9px; }
.ws .ws-set-page h2 { margin: 0 0 calc(.3 * var(--rem)); padding-bottom: calc(.7 * var(--rem)); border-bottom: 1px solid var(--a-edge); font-family: var(--sans); font-size: calc(1.1 * var(--rem)); font-weight: 700; line-height: 1.3; letter-spacing: 0; outline: none; }
.ws .ws-set-h { margin: calc(.5 * var(--rem)) 0 0; color: var(--a-mist); font-family: var(--sans); font-size: calc(.72 * var(--rem)); font-weight: 600; letter-spacing: .08em; text-transform: lowercase; }
.ws-set-hint { color: var(--a-mist); font-size: calc(.75 * var(--rem)); line-height: 1.45; }
.ws-set-status { min-height: 1.2em; color: var(--ember); font-size: calc(.75 * var(--rem)); }
/* A window 560 or narrower (SettingsModal.tsx under 560 px): the whole
   window, a header with the page's name and a back arrow, and the pages as
   an index of cards. */
.ws-pop[data-fill] { height: calc(var(--mh) * var(--u)); border-color: transparent; border-radius: calc(12 * var(--u)); box-shadow: none; }
.ws-set-mhead, .ws-set-index { display: none; }
.ws-set.narrow { position: relative; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); height: calc(var(--mh) * var(--u)); }
.ws-set.narrow .ws-set-rail { display: none; }
.ws-set.narrow .ws-set-mhead { display: flex; align-items: center; gap: calc(.5 * var(--rem)); min-height: calc(60 * var(--u)); padding: calc(8 * var(--u)) calc(52 * var(--u)) calc(8 * var(--u)) var(--rem); }
.ws .ws-set-mhead h2 { min-width: 0; margin: 0; color: var(--a-moon); font-family: var(--sans); font-size: calc(1.1 * var(--rem)); font-weight: 700; line-height: 1.2; letter-spacing: 0; outline: none; }
.ws-set-back { display: grid; place-items: center; flex: 0 0 44px; height: 44px; margin-left: -8px; padding: 0; border: 0; border-radius: calc(6 * var(--u)); color: var(--a-mist); background: none; cursor: pointer; }
.ws-set-back[hidden] { display: none; }
.ws-set-back svg { width: 20px; height: 20px; rotate: 180deg; }
@media (hover: hover) { .ws-set-back:hover { color: var(--a-moon); background: var(--a-slate); } }
.ws-set-back:focus-visible { outline: 2px solid var(--ember); outline-offset: -2px; }
.ws-set.narrow .ws-set-body { position: static; padding: var(--rem); }
.ws-set.narrow .ws-set-x { top: calc(30 * var(--u) - 22px); right: calc(4 * var(--u)); width: 44px; height: 44px; }
.ws-set.narrow :is(.ws-set-index, .ws-set-body) { border-top: 1px solid var(--a-edge); }
.ws-set.narrow .ws-set-index { display: flex; flex-direction: column; min-height: 0; padding: var(--rem); overflow-y: auto; }
/* Until a visitor presses, taps, or tabs into the twin, its scrolling
   parts hold still (still scrollable from script, so new lines keep the
   conversation at its latest) and a wheel or swipe over them moves the
   page (home.js). The gutter stays, so waking moves no text. */
.ws-fig:not([data-engaged]) .ws :is(.ws-scroll, .ws-list, .ws-ppl-scroll, .ws-pop, .ws-set-rail, .ws-set-body, .ws-set-index, .ws-viewer-text) { overflow-y: hidden; }
.ws-set.narrow:not([data-open]) .ws-set-body, .ws-set.narrow[data-open] .ws-set-index { display: none; }
.ws-set.narrow .ws-set-page h2 { display: none; }
.ws .ws-set-index .ws-set-h { margin: 0 0 calc(.45 * var(--rem)); padding-inline: calc(.75 * var(--rem)); }
.ws-set-group { overflow: hidden; border: 1px solid var(--a-edge); border-radius: calc(8 * var(--u)); background: color-mix(in srgb, var(--a-ink) 28%, transparent); }
.ws-set-row { position: relative; display: flex; align-items: center; gap: calc(.75 * var(--rem)); width: 100%; min-width: 0; min-height: calc(56 * var(--u)); padding: calc(.55 * var(--rem)) calc(.75 * var(--rem)); border: 0; color: var(--a-moon); background: transparent; text-align: left; cursor: pointer; }
.ws-set-row + .ws-set-row::before { content: ''; position: absolute; top: 0; right: 0; left: calc(1.5 * var(--rem) + 18 * var(--u)); border-top: 1px solid var(--a-edge); }
.ws-set-row > svg { flex: none; width: calc(18 * var(--u)); height: calc(18 * var(--u)); color: var(--a-mist); }
.ws-set-row > .ws-set-chev { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }
.ws-set-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: calc(.1 * var(--rem)); }
.ws-set-label { font-size: calc(.9 * var(--rem)); font-weight: 500; }
.ws-set-detail { overflow: hidden; color: var(--a-mist); font-size: calc(.72 * var(--rem)); line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
@media (hover: hover) { .ws-set-row:hover { background: var(--a-slate); } }
.ws-set-row:focus-visible { outline: 2px solid var(--ember); outline-offset: -3px; }
.ws-card { margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--a-edge); border-radius: calc(8 * var(--u)); background: color-mix(in srgb, var(--a-ink) 28%, transparent); list-style: none; }
.ws-card > * + * { border-top: 1px solid color-mix(in srgb, var(--a-edge) 72%, transparent); }
.ws-row, .ws-toggle { display: flex; align-items: center; justify-content: space-between; gap: calc(.75 * var(--rem)); min-height: 44px; padding: calc(.5 * var(--rem)) calc(.75 * var(--rem)); }
.ws-toggle { cursor: pointer; }
.ws-row strong, .ws-toggle strong { display: block; color: var(--a-moon); font-size: calc(.85 * var(--rem)); font-weight: 500; }
.ws-toggle small { display: block; margin-top: 2px; color: var(--a-mist); font-size: calc(.72 * var(--rem)); line-height: 1.4; }
.ws input[role='switch'] { flex: none; width: 34px; height: 20px; margin: 0; border: 1px solid color-mix(in srgb, var(--a-mist) 60%, transparent); border-radius: 999px; background: radial-gradient(circle at 9px 50%, var(--a-mist) 5.5px, transparent 6px), var(--a-slate); appearance: none; cursor: pointer; transition: background 150ms var(--ease); }
.ws input[role='switch']:checked { border-color: var(--ember); background: radial-gradient(circle at calc(100% - 9px) 50%, var(--a-ink) 5.5px, transparent 6px), var(--ember); }
.ws input[role='switch']:focus-visible, .ws-choice:has(:focus-visible), .ws-seg label:has(:focus-visible) { outline: 2px solid var(--ember); outline-offset: 2px; }
.ws-choices { display: grid; gap: calc(.4 * var(--rem)); }
.ws-choices.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ws-choices.three { grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; }
.ws-choice { position: relative; display: grid; align-content: center; gap: 2px; min-height: calc(3 * var(--rem)); padding: calc(.55 * var(--rem)) calc(.65 * var(--rem)); border: 1px solid var(--a-edge); border-radius: calc(6 * var(--u)); color: var(--a-mist); cursor: pointer; }
.ws-choice input, .ws-seg input { position: absolute; opacity: 0; pointer-events: none; }
.ws-choice:has(:checked) { color: var(--a-moon); border-color: color-mix(in srgb, var(--a-edge) 58%, var(--ember)); background: var(--a-sel); }
.ws-choice strong { font-size: calc(.82 * var(--rem)); font-weight: 650; }
.ws-choice small { font-size: calc(.68 * var(--rem)); }
.ws-preview { display: grid; gap: 2px; padding: calc(.7 * var(--rem)) calc(.8 * var(--rem)); border-radius: calc(10 * var(--u)); background: var(--a-ink); }
.ws-preview span { color: var(--a-mist); font: calc(.62 * var(--rem)) var(--mono); }
.ws-preview strong { font-size: calc(.92 * var(--rem)); font-weight: 650; }
.ws-preview small { color: var(--a-mist); font-size: calc(.82 * var(--rem)); }
.ws-seg { display: inline-flex; overflow: hidden; border: 1px solid var(--a-edge); border-radius: calc(6 * var(--u)); }
.ws-seg label { position: relative; padding: calc(.3 * var(--rem)) calc(.65 * var(--rem)); color: var(--a-mist); font-size: calc(.78 * var(--rem)); cursor: pointer; }
.ws-seg label + label { border-left: 1px solid var(--a-edge); }
.ws-seg label:has(:checked) { color: var(--a-moon); background: var(--a-sel); }
.ws-pop select { padding: calc(.32 * var(--rem)) calc(.5 * var(--rem)); border: 1px solid var(--a-edge); border-radius: calc(6 * var(--u)); color: var(--a-moon); background: var(--a-slate); font: inherit; font-size: calc(.8 * var(--rem)); }
.ws-summary { display: flex; flex-wrap: wrap; gap: calc(.4 * var(--rem)) calc(.7 * var(--rem)); margin: calc(.5 * var(--rem)) calc(.75 * var(--rem)) !important; padding: calc(.65 * var(--rem)) !important; border: 1px solid var(--a-edge) !important; border-radius: calc(10 * var(--u)); color: var(--a-mist); font-size: calc(.72 * var(--rem)); }
.ws-summary strong { color: var(--a-moon); }
.ws-hk { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: calc(.5 * var(--rem)); min-height: 44px; padding: calc(.4 * var(--rem)) calc(.75 * var(--rem)); }
.ws-hk-label { font-size: calc(.82 * var(--rem)); }
.ws-hk-on { display: inline-flex; align-items: center; gap: 4px; color: var(--a-mist); font-size: calc(.72 * var(--rem)); }
.ws-hk-on input { accent-color: var(--ember); }
.ws-hk-key { min-width: calc(9.5 * var(--rem)); min-height: 36px; padding: 0 calc(.6 * var(--rem)); border: 1px solid transparent; border-radius: calc(6 * var(--u)); background: var(--a-slate); font: calc(.72 * var(--rem)) var(--mono); }
.ws-hk-key.capturing { border-color: var(--ember); color: var(--ember) !important; }
.ws-hk-clear { padding: 0 calc(.4 * var(--rem)); border: 0; color: var(--a-mist) !important; background: none; font-size: calc(.72 * var(--rem)); }
.ws-hk-clear:disabled { opacity: .4; cursor: default; }
/* The poll and plan composers (ChatPane.tsx .plan-composer). */
.ws-pop[data-pop='pollc'], .ws-pop[data-pop='planc'] { padding: 0; border-color: color-mix(in srgb, var(--a-edge) 76%, var(--ember)); background: radial-gradient(circle at calc(2.5 * var(--rem)) calc(1.5 * var(--rem)), rgb(var(--ember-rgb) / .1), transparent calc(9 * var(--rem))), var(--a-dusk); box-shadow: var(--a-raised); }
.ws-comp { display: grid; gap: calc(.8 * var(--rem)); padding: var(--rem); }
.ws-comp-top { display: flex; align-items: center; gap: calc(.7 * var(--rem)); }
.ws-comp-icon { display: grid; place-items: center; width: calc(2.75 * var(--rem)); height: calc(2.75 * var(--rem)); border: 1px solid rgb(var(--ember-rgb) / .35); border-radius: 50%; color: var(--ember); background: rgb(var(--ember-rgb) / .13); }
.ws-comp-icon svg { width: calc(22 * var(--u)); height: calc(22 * var(--u)); }
.ws-comp-field > small, .ws-comp-remind legend { display: block; color: var(--a-mist); font: calc(.66 * var(--rem)) var(--mono); letter-spacing: .045em; }
.ws-comp-top strong { font-family: var(--display); font-size: calc(1.25 * var(--rem)); font-weight: 650; }
.ws-comp-field { display: grid; gap: calc(.35 * var(--rem)); }
.ws-comp-field > small span { margin-left: .4em; opacity: .7; }
.ws-comp input[type='text'], .ws-comp input[type='datetime-local'], .ws-comp select { width: 100%; padding: calc(.62 * var(--rem)) calc(.7 * var(--rem)); border: 1px solid transparent; border-radius: calc(8 * var(--u)); color: var(--a-moon); background: color-mix(in srgb, var(--a-ink) 58%, var(--a-slate)); font: inherit; font-size: calc(.86 * var(--rem)); color-scheme: dark; }
.ws-comp .ws-comp-q { font-size: calc(.98 * var(--rem)); }
.ws-comp input:focus, .ws-comp select:focus { border-color: var(--ember); outline: none; }
.ws-comp-choices { display: grid; gap: calc(.4 * var(--rem)); }
.ws-comp-choices li { display: grid; grid-template-columns: calc(1.65 * var(--rem)) minmax(0, 1fr) auto; align-items: center; gap: calc(.45 * var(--rem)); }
.ws-comp-choices li > span { display: grid; place-items: center; width: calc(1.65 * var(--rem)); height: calc(1.65 * var(--rem)); border: 1px solid var(--a-edge); border-radius: 50%; color: var(--a-mist); font: calc(.68 * var(--rem)) var(--mono); }
.ws-comp-remove, .ws-comp-cancel { padding: 0 calc(.4 * var(--rem)); border: 0; color: var(--a-mist) !important; background: none; font-size: calc(.75 * var(--rem)); }
.ws-comp-add { display: inline-flex; align-items: center; gap: calc(.35 * var(--rem)); justify-self: start; padding: calc(.3 * var(--rem)) 0; border: 0; color: var(--ember) !important; background: none; font-size: calc(.8 * var(--rem)); font-weight: 600; }
.ws-comp-add svg { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.ws-comp-settings { display: grid; grid-template-columns: minmax(0, 1fr) minmax(calc(9 * var(--rem)), .55fr); gap: calc(.6 * var(--rem)); align-items: center; padding: calc(.6 * var(--rem)) calc(.7 * var(--rem)); border: 1px solid var(--a-edge); border-radius: calc(10 * var(--u)); }
.ws-comp-check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: calc(.45 * var(--rem)); align-items: start; cursor: pointer; }
.ws-comp-check input { margin-top: 3px; accent-color: var(--ember); }
.ws-comp-check strong { display: block; font-size: calc(.8 * var(--rem)); }
.ws-comp-check small, .ws-comp-help, .ws-comp-sub { color: var(--a-mist); font-size: calc(.72 * var(--rem)); line-height: 1.4; }
.ws-comp-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, .6fr); gap: calc(.6 * var(--rem)); }
.ws-comp-grid > :last-child { grid-column: 1 / -1; }
.ws-comp-remind { margin: 0; padding: 0; border: 0; display: grid; gap: calc(.4 * var(--rem)); }
.ws-comp-chips { display: flex; flex-wrap: wrap; gap: calc(.35 * var(--rem)); }
.ws-remind-chip { min-height: calc(2.2 * var(--rem)); padding: 0 calc(.7 * var(--rem)); border: 1px solid transparent; border-radius: 999px; background: var(--a-slate); font: calc(.74 * var(--rem)) var(--mono); }
.ws-remind-chip[aria-pressed='true'] { border-color: var(--ember); color: var(--ember) !important; background: rgb(var(--ember-rgb) / .12); }
.ws-remind-chip:disabled { opacity: .4; cursor: default; }
.ws-comp-foot { display: flex; align-items: center; gap: calc(.5 * var(--rem)); }
.ws-comp-status { flex: 1; color: var(--a-mist); font-size: calc(.72 * var(--rem)); }
.ws-comp-go { min-height: calc(2.65 * var(--rem)); padding: 0 calc(.9 * var(--rem)); border: 0; border-radius: calc(8 * var(--u)); color: var(--a-ink) !important; background: var(--ember); font-size: calc(.8 * var(--rem)); font-weight: 700; }
.ws-comp-go:disabled { opacity: .45; cursor: default; }
.ws-plan-desc { color: var(--a-moon); font-size: calc(.85 * var(--rem)); white-space: pre-wrap; }
.ws-mark.multi { border-radius: calc(4 * var(--u)); }
/* A staged file in the composer, and what it posts as. */
/* The staged file rides under the input (the app sets it above): the
   upload finishes seconds after the press, so its row leaving must not
   move the input. */
.ws-staged { order: 2; flex: 1 0 100%; display: flex; align-items: center; min-height: calc(44 * var(--u)); margin: 0; padding: 0 calc(4 * var(--u)) calc(8 * var(--u)); }
.ws-chipfile { position: relative; display: inline-flex; align-items: center; gap: calc(.4 * var(--rem)); max-width: calc(16 * var(--rem)); padding: calc(.25 * var(--rem)) calc(.3 * var(--rem)) calc(.25 * var(--rem)) calc(.55 * var(--rem)); overflow: hidden; border: 1px solid var(--a-edge); border-radius: calc(8 * var(--u)); background: color-mix(in srgb, var(--a-ink) 40%, var(--a-slate)); }
.ws-chipfile > svg { width: calc(14 * var(--u)); height: calc(14 * var(--u)); color: var(--a-mist); }
.ws-chipname { max-width: calc(10 * var(--rem)); overflow: hidden; font-size: calc(.72 * var(--rem)); text-overflow: ellipsis; white-space: nowrap; }
.ws-chipsize { color: var(--a-mist); font: calc(.62 * var(--rem)) var(--mono); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ws-staged .ws-chipx { width: calc(24 * var(--u)); height: calc(24 * var(--u)); margin: 0; }
.ws-staged.sending .ws-chipx { display: none; }
.ws-chipbar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ember); transform: scaleX(var(--p, 0)); transform-origin: left; opacity: 0; }
.ws-staged.sending .ws-chipbar { opacity: 1; }
.ws-clip { position: relative; display: block; width: min(100%, calc(30 * var(--rem))); aspect-ratio: 16 / 9; margin-top: calc(.3 * var(--rem)); overflow: hidden; border: 1px solid var(--a-edge); border-radius: calc(10 * var(--u)); background: #000; }
.ws-clip img, .ws-clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ws-clip-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: calc(3 * var(--rem)); height: calc(3 * var(--rem)); margin: calc(-1.5 * var(--rem)) 0 0 calc(-1.5 * var(--rem)); padding: 0; border: 1px solid var(--a-media); border-radius: 50%; color: var(--a-moon); background: rgb(5 8 12 / .7); cursor: pointer; transition: opacity 150ms var(--ease); }
.ws-clip-play svg { width: calc(1.2 * var(--rem)); height: calc(1.2 * var(--rem)); }
.ws-clip.playing .ws-clip-play { opacity: 0; }
.ws-clip.playing:hover .ws-clip-play, .ws-clip-play:focus-visible { opacity: 1; }
.ws-filecard { display: inline-flex; align-items: center; gap: calc(.5 * var(--rem)); margin-top: calc(.3 * var(--rem)); padding: calc(.55 * var(--rem)) calc(.75 * var(--rem)); border: 1px solid var(--a-edge); border-radius: calc(10 * var(--u)); background: var(--a-dusk); }
.ws-filecard svg { width: calc(16 * var(--u)); height: calc(16 * var(--u)); color: var(--a-mist); }
.ws-filecard small { color: var(--a-mist); font: calc(.65 * var(--rem)) var(--mono); }
.ws-fadd { padding: 0; border: 0; border-radius: calc(6 * var(--u)); background: none; cursor: pointer; }
@media (hover: hover) { .ws-fadd:hover { color: var(--ember); background: var(--a-sel); } }
/* The jukebox's playback panel (AudioPanel.tsx). */
.ws-pop[data-pop='audio'] { padding: 0; border-color: color-mix(in srgb, var(--ember) 28%, var(--a-edge)); background: color-mix(in srgb, var(--a-dusk) 96%, var(--a-ink)); }
.ws-audio-head { display: flex; align-items: center; gap: calc(.6 * var(--rem)); padding: calc(.65 * var(--rem)) calc(.75 * var(--rem)); background: color-mix(in srgb, var(--ember) 5%, var(--a-dusk)); border-bottom: 1px solid var(--a-edge); }
.ws-audio-head > div { flex: 1; min-width: 0; }
.ws .ws-audio-head h2 { overflow: hidden; font-family: var(--sans); font-size: calc(.84 * var(--rem)); font-weight: 680; line-height: 1.3; letter-spacing: 0; text-overflow: ellipsis; white-space: nowrap; outline: none; }
.ws-audio-head p { color: var(--a-mist); font: calc(.65 * var(--rem)) var(--mono); }
.ws-audio-vol { display: inline-flex; align-items: center; gap: 4px; color: var(--a-mist); font: calc(.65 * var(--rem)) var(--mono); }
.ws-audio-vol svg { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }
.ws-audio-now { display: grid; gap: calc(.5 * var(--rem)); padding: calc(.7 * var(--rem)) calc(.75 * var(--rem)); }
.ws-audio-ctl { display: flex; gap: calc(.35 * var(--rem)); }
.ws-audio-ctl button { display: grid; place-items: center; width: calc(2.25 * var(--rem)); height: calc(2.25 * var(--rem)); padding: 0; border: 1px solid var(--a-edge); border-radius: calc(8 * var(--u)); background: none; }
.ws-audio-ctl button:disabled { opacity: .4; cursor: default; }
.ws-audio-ctl svg { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }
.ws-audio-ctl [data-audio-play] { border-color: var(--ember); color: var(--a-ink) !important; background: var(--ember); }
[data-audio-play] svg:first-child, [data-audio-play].playing svg + svg { display: none; }
[data-audio-play].playing svg:first-child { display: block; }
.ws-audio-scrub { display: flex; align-items: center; gap: calc(.5 * var(--rem)); color: var(--a-mist); font: calc(.62 * var(--rem)) var(--mono); }
.ws-audio-scrub i { flex: 1; height: 3px; border-radius: 3px; background: var(--a-slate); }
.ws-audio-scrub b { display: block; width: 24%; height: 100%; border-radius: 3px; background: var(--ember); }
.ws-audio-tabs { display: flex; gap: calc(.8 * var(--rem)); padding: 0 calc(.75 * var(--rem)) calc(.3 * var(--rem)); color: var(--a-mist); font: calc(.66 * var(--rem)) var(--mono); }
.ws-audio-tabs span:first-child { color: var(--a-moon); }
.ws-audio-queue { display: grid; gap: 2px; padding: 0 calc(.5 * var(--rem)) calc(.6 * var(--rem)) !important; }
.ws-audio-queue li { display: grid; grid-template-columns: calc(1.8 * var(--rem)) minmax(0, 1fr); align-items: center; padding: calc(.35 * var(--rem)) calc(.3 * var(--rem)); border-radius: calc(6 * var(--u)); }
.ws-q-n { color: var(--a-mist); font: calc(.62 * var(--rem)) var(--mono); text-align: center; }
.ws-q-copy strong { display: block; font-size: calc(.73 * var(--rem)); }
.ws-q-copy small { color: var(--a-mist); font: calc(.56 * var(--rem)) var(--mono); }
.ws-q-empty { color: var(--a-mist); font-size: calc(.75 * var(--rem)); grid-template-columns: 1fr !important; }
.ws-audio-ro { padding: 0 calc(.75 * var(--rem)) calc(.7 * var(--rem)) !important; color: var(--a-mist); font-size: calc(.74 * var(--rem)); }
.ws-audio-ro button { margin-left: .3em; padding: calc(.2 * var(--rem)) calc(.5 * var(--rem)); border: 1px solid var(--a-edge); border-radius: calc(6 * var(--u)); background: none; font-size: calc(.72 * var(--rem)); }

/* ── The downloads ────────────────────────────────────────────────────── */

/* A destination, not a row of chips: a big panel with its line and the
   release on the left, every computer as a big plain button with its mark
   and what you get, and the two store badges, unaltered, with their clear
   space (a quarter of their height). The visitor's own platform leads and
   is marked by a brighter outline and a tag (home.js); the ember key stays
   the buy key's alone. */
.get { width: var(--shell); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: var(--s6) var(--s8); padding: clamp(28px, 3.4vw, 48px); border: 1.5px solid var(--line-strong); border-radius: var(--r-card); background: radial-gradient(70% 120% at 0% 0%, rgb(var(--ember-rgb) / .12), transparent 60%), linear-gradient(165deg, #1d1a27, #131119 70%); box-shadow: inset 0 1px 0 rgb(255 255 255 / .06), 0 40px 90px -50px rgb(var(--ember-rgb) / .5); }
.get-head { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: var(--s2) var(--s7); }
.get-head h2 { grid-row: 1 / span 2; }
.get h2 { font-size: var(--t-fix); font-weight: 800; line-height: .98; letter-spacing: -.042em; }
.get-head .go { color: var(--mist); font-size: var(--t-small); }
.get-group { display: grid; gap: var(--s3); }
.get-label { color: var(--mist); font-size: var(--t-small); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.get-list { display: grid; gap: 12px; }
.get-computer .get-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.get-tile { position: relative; }
.get-link, .get-split { --tile-r: 18px; --tile-b: 1.5px; height: 100%; min-height: 136px; border: var(--tile-b) solid rgb(255 255 255 / .2); border-radius: var(--tile-r); background: rgb(255 255 255 / .04); transition: background 150ms var(--ease), border-color 150ms var(--ease); }
.get-link { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr auto auto; gap: 4px 12px; padding: 18px 20px 16px; }
.get-mark { width: 34px; height: 34px; color: var(--moon); }
.get-link .get-mark { grid-row: 1; }
.get-link .get-name { grid-row: 3; }
.get-link .get-spec { grid-row: 4; }
.get-name { grid-column: 1 / -1; margin-top: 12px; font-size: var(--t-body); font-weight: 800; line-height: 1; letter-spacing: -.025em; }
.get-spec { grid-column: 1 / -1; color: var(--mist); font-size: var(--t-small); font-weight: 600; }
.get-down { grid-row: 1; grid-column: 2; justify-self: end; width: 22px; height: 22px; color: var(--ember-bright); }
.get-tile :is(.get-link, .get-store):focus-visible { outline-offset: 4px; }
.get-link:focus-visible { border-radius: var(--tile-r); }
.get-store:focus-visible { border-radius: 18px; }
/* Ubuntu is one tile like its siblings: the mark, its name, and the same
   subline, then its two packages as equal halves in the subline's size.
   Each half takes the tile's inner corner, so its fill and its inset focus
   ring keep the tile's rounded shape and meet the divider exactly. */
.get-split { --in: calc(var(--tile-r) - var(--tile-b)); display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; }
.get-split .get-who { grid-column: 1 / -1; }
.get-who { display: grid; grid-template-columns: auto; align-content: start; gap: 4px; padding: 18px 20px 12px; }
.get-who .get-name { grid-column: 1; }
.get-who .get-spec { grid-column: 1; }
.get-split .get-file { min-height: 56px; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 0 18px 0 20px; border-top: 1px solid rgb(255 255 255 / .14); font-size: var(--t-small); font-weight: 800; transition: background 150ms var(--ease); }
.get-file svg { width: 18px; height: 18px; flex: none; color: var(--ember-bright); }
.get-split .get-file + .get-file { border-left: 1px solid rgb(255 255 255 / .14); }
.get-split .get-file:first-of-type, .get-split .get-file:first-of-type:focus-visible { border-radius: 0 0 0 var(--in); }
.get-split .get-file:last-of-type, .get-split .get-file:last-of-type:focus-visible { border-radius: 0 0 var(--in) 0; }
.get-split .get-file:focus-visible { outline-offset: -4px; }
.get-store { display: inline-flex; padding: 14px; border: 1.5px solid transparent; border-radius: 18px; transition: border-color 150ms var(--ease), background 150ms var(--ease); }
.get-store img { width: auto; height: 56px; }
@media (hover: hover) {
  .get-link:hover { border-color: rgb(255 255 255 / .45); background: rgb(255 255 255 / .08); }
  .get-file:hover { background: rgb(255 255 255 / .08); }
  .get-store:hover { border-color: rgb(255 255 255 / .24); }
}
/* Yours: first in its row, a bright outline, a lifted ground, and a tag. */
.get-tile.yours :is(.get-link, .get-split) { --tile-b: 2px; border-color: var(--moon-bright); background: rgb(255 255 255 / .1); box-shadow: 0 24px 50px -24px rgb(0 0 0 / .9); }
.get-tile.yours .get-store { border-color: rgb(255 255 255 / .5); background: rgb(255 255 255 / .06); }
/* The third way in, across the foot of the block. */
.get-web { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding-top: var(--s5); border-top: 1.5px dashed var(--line-strong); color: var(--mist); }
.get-web svg { width: 24px; height: 24px; flex: none; color: var(--iris); }
.yours-tag { position: absolute; z-index: 1; right: 14px; top: -13px; padding: 3px 11px 4px; border-radius: 999px; color: var(--ink); background: var(--moon-bright); box-shadow: 0 8px 18px -8px rgb(0 0 0 / .8); font-size: var(--t-small); font-weight: 800; rotate: 3deg; white-space: nowrap; pointer-events: none; }
.get-badge .yours-tag { top: -24px; }
/* On Ubuntu the tag sits over the name, never over a package. */
.get-ubuntu .yours-tag { right: auto; left: 64px; }

/* ── The band ─────────────────────────────────────────────────────────── */

/* Hot rose, full bleed, crossing the page at a tilt with both edges cut by
   hand. Ink on hot rose is 7.6:1. */
.banner { position: relative; padding-top: var(--s4); }
.banner-band { width: 112vw; margin-left: 50%; translate: -50% 0; rotate: -2deg; padding-block: 2px;
  -webkit-mask: url('/media/edge.svg') 0 0 / 1200px 36px repeat-x, linear-gradient(#000 0 0) 0 35px / 100% calc(100% - 70px) no-repeat, url('/media/edge-under.svg') 0 100% / 1200px 36px repeat-x;
  mask: url('/media/edge.svg') 0 0 / 1200px 36px repeat-x, linear-gradient(#000 0 0) 0 35px / 100% calc(100% - 70px) no-repeat, url('/media/edge-under.svg') 0 100% / 1200px 36px repeat-x; }
/* Its right end is torn off the roll. At rest that end is past the window's
   edge; it leads the band in when the band rips across. */
.banner-fill { padding: clamp(56px, 6vw, 88px) 6vw; color: var(--ink); background: linear-gradient(100deg, #ff8a9c, var(--hot) 50%, #ff7088);
  -webkit-mask: linear-gradient(#000 0 0) 0 0 / calc(100% - 30px) 100% no-repeat, url('/media/edge-end.svg') 100% 0 / 32px 100% no-repeat;
  mask: linear-gradient(#000 0 0) 0 0 / calc(100% - 30px) 100% no-repeat, url('/media/edge-end.svg') 100% 0 / 32px 100% no-repeat; }
.banner h2 { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .32em; font-size: var(--t-mega); line-height: .95; text-align: center; }
.banner h2 span { white-space: nowrap; }
.banner-after { width: var(--shell); margin: var(--s7) auto 0; display: grid; justify-items: center; gap: var(--s5); text-align: center; }
.model { max-width: 22ch; font-size: var(--t-title); font-weight: 800; line-height: 1.12; letter-spacing: -.03em; }
.model-small { color: var(--mist); font-size: var(--t-small); }
/* Ads aren't a setting, so the switch doesn't turn on. */
.ads { display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 10px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--panel); }
.ads button { min-height: 32px; display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; font-weight: 700; cursor: pointer; }
.ads-track { position: relative; width: 38px; height: 22px; border-radius: 999px; background: #29242d; box-shadow: inset 0 0 0 1px #4a4356; }
.ads-track::after { content: ''; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #aaa1ad; }
/* Each try, the knob strains a little further toward on (--strain, of its
   16 px of travel) and snaps back, and the rim flashes rose. Asked for less
   motion, only the rim flashes. */
.ads-track::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--hot), 0 0 0 3px rgb(var(--hot-rgb) / .28); opacity: 0; }
.ads button.nudge .ads-track::before { animation: rim 560ms var(--ease); }
/* The pill is the control's outline, so focus rings the pill once. */
.ads:has(:focus-visible) { outline: 2px solid var(--ember); outline-offset: 4px; }
.ads button:focus-visible { outline: none; }
.ads-state { display: inline-block; color: var(--mist); font-size: var(--t-small); text-align: left; }
.ads-ask { justify-self: stretch; display: grid; justify-items: center; gap: 10px; }
/* The answer's own line under the pill, held open before the first try. */
.ads-say { min-height: 1.45em; color: var(--moon); font-size: var(--t-small); font-weight: 700; line-height: 1.45; text-align: center; text-wrap: balance; }


/* ── The bill ─────────────────────────────────────────────────────────── */

.bills { display: grid; justify-items: center; margin-top: var(--s7); }
.bill-who { color: var(--mist); font-size: var(--t-small); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.bill-sum { margin-top: var(--s3); font-size: var(--t-fix); line-height: .95; }
.bill-sum > span:not(.bill-n) { display: block; margin-top: var(--s3); color: var(--mist); font-size: var(--t-small); font-weight: 500; letter-spacing: 0; }
/* The two plans in full, the widest thing in the chapter. Each half says
   what differs, row for row with the other: the figure, the seats (four
   friends' faces against the 15 dots the price includes), the storage (a
   segment for every 2 GB, 1 against 25), and its way in. The stub they
   share says what doesn't differ. */
.ticket-full { --pad: 32px; justify-self: stretch; box-shadow: inset 0 1px 0 rgb(255 250 242 / .06), 0 40px 90px -40px rgb(var(--ember-rgb) / .7); }
.ticket-full .ticket-plans { --room: calc(50cqw - 2 * var(--pad)); --per: 8; --face: min(40px, (var(--room) - 28px) / 8); --seg: min(13.2px, var(--room) / 25); }
.ticket-full .half { grid-row: span 7; padding: 38px var(--pad) 34px; }
/* Free takes the shout's size; the price stands on its line, a step down. */
.half .bill-sum { display: grid; grid-template-rows: calc(var(--t-mega) * 1.02) auto; justify-items: start; align-items: end; }
.half .bill-sum mark { font-size: var(--t-mega); }
.half-paid .bill-n { padding-bottom: calc(var(--t-mega) * .2 - var(--t-fix) * .16); }
.half .bill-sum > span:not(.bill-n) { line-height: 1.38; }
.holds { margin-top: var(--s5); color: var(--moon-bright); font-size: var(--t-body); font-weight: 700; line-height: 1; }
.holds b { margin-right: .08em; font-size: var(--t-title); }
/* The seats are what a plan is, so their line is the loudest after the
   figure. Under it, a face for every seat, the same size in both halves,
   so four friends read against fifteen at a glance. The paid plan's rows
   end on an empty seat, and beside it what one more costs, on a tab cut
   like that seat. */
.holds-seats { font-size: var(--t-title); font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.holds-seats b { margin-right: .1em; font-size: var(--t-fix); }
.seat-row { justify-self: stretch; align-self: start; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 14px; }
.faces { display: grid; grid-template-columns: repeat(var(--per), var(--face)); gap: 4px; }
.faces .face { --c: #c9895e; width: var(--face); height: var(--face); font-size: calc(var(--face) * .34); }
.faces .face-you { --c: var(--moon-bright); }
.faces .face-sage { --c: #74ad88; }
.faces .face-noor { --c: #7ba6c9; }
.faces .face-sun { --c: var(--ember-bright); }
.faces .face-iris { --c: var(--iris); }
.faces .face-rose { --c: #d98a9b; }
.faces .face-more { border: 1.5px dashed rgb(var(--ember-rgb) / .75); background: rgb(var(--ember-rgb) / .08); }
.seat-more { align-self: end; margin-bottom: calc((var(--face) - 2.1em) / 2); padding: .5em .8em .54em; border: 1.5px dashed rgb(var(--ember-rgb) / .75); border-radius: 999px; color: var(--ember-bright); background: rgb(var(--ember-rgb) / .08); font-size: var(--t-body); font-weight: 800; line-height: 1.2; max-width: 100%; text-wrap: balance; }
/* A segment stands for 2 GB and fills 62% of its place. */
.space { width: calc(25 * var(--seg)); height: 12px; margin-top: 12px; background: linear-gradient(90deg, var(--iris) 62%, transparent 0) calc(var(--seg) * .19) 0 / var(--seg) 100% repeat-x; }
.half-free .space { width: var(--seg); }
.ticket-full .half > :is(.key, .side-button) { width: min(100%, 290px); margin-top: var(--s6); padding-inline: 20px; }
.half > .ticket-terms { max-width: 30em; margin-top: var(--s4); text-wrap: balance; }
/* What both plans get is the ticket's lit end: the line at title size with
   its own marked word, the perks as ember chips, and the hosting under them
   in the small dotted row. */
.ticket-both { display: grid; justify-items: start; gap: var(--s4); padding: 26px var(--pad) 28px; border-radius: 0 0 20px 20px; background: linear-gradient(100deg, rgb(var(--ember-rgb) / .13), rgb(var(--ember-rgb) / .03) 70%); }
.both-says { color: var(--moon-bright); font-size: var(--t-title); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.both-says mark { padding-inline: .14em; }
.plan-perks { display: flex; flex-wrap: wrap; gap: 10px; }
.plan-perks li { padding: .42em .9em .46em; border: 1.5px solid rgb(var(--ember-rgb) / .5); border-radius: 999px; color: var(--ember-bright); background: rgb(var(--ember-rgb) / .1); font-size: var(--t-body); font-weight: 800; line-height: 1.1; }
.plan-specs { display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--mist); font-size: var(--t-small); }
.plan-specs li { display: flex; align-items: center; gap: 9px; }
.plan-specs li::before { content: ''; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--iris); }
/* Where the free half has room beside its four seats, the way from one
   plan to the other is drawn toward the perforation, in the hand that
   points to the apps (.to-get). The free half's terms say it in words. */
.to-more { display: none; }
@container (min-width: 880px) {
  /* It takes no height of its own: it hangs centred on the seats' row. */
  .half-free .seat-row { flex-wrap: nowrap; gap: 28px; }
  .to-more { flex: 0 1 400px; display: grid; align-content: center; justify-items: center; height: 0; margin: 0 -8px 0 auto; translate: 0 -16px; color: var(--ember-bright); font-size: var(--t-body); font-weight: 800; letter-spacing: -.01em; }
  .to-more span { rotate: -3deg; translate: -8px 6px; }
  .to-more svg { width: 100%; height: auto; overflow: visible; fill: none; stroke: var(--ember); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
}
/* A narrow ticket seats four across: the free plan's one row against the
   paid plan's four, the last place the empty seat. The way from one plan
   to the other is said under the free seats, where the tab sits under the
   paid ones. */
@container (max-width: 879px) {
  .ticket-full .ticket-plans { --per: 4; --face: min(40px, (var(--room) - 12px) / 4); }
  .seat-more { align-self: center; margin-bottom: 0; font-size: var(--t-small); }
  .to-more { display: grid; justify-items: start; gap: 2px; width: 100%; margin-top: 6px; color: var(--ember-bright); font-size: var(--t-small); font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
  .to-more span { rotate: -3deg; }
  .to-more svg { width: min(100%, 132px); height: auto; overflow: visible; fill: none; stroke: var(--ember); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
}
/* On the narrowest ticket the count keeps its size and its word steps down,
   so "15 seats" stays on one line. */
@container (max-width: 319px) {
  .holds-seats { font-size: var(--t-body); }
}
/* Narrower still, the chips shrink to the small step. */
@container (max-width: 479px) {
  .plan-perks { gap: 8px; }
  .plan-perks li { font-size: var(--t-small); }
}
/* The bill for as many of you as you set, under the ticket: the count and
   its slider on the left, the bill on the right, line by line down to the
   month. Every line keeps its place at every count, and the figures keep
   their digits' widths, so only the numbers move. */
.bill-seats { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); grid-template-areas: 'pick bill' 'source source'; align-items: center; gap: var(--s5) var(--s7); margin-top: var(--s6); padding: 32px 36px 26px; border: 1.5px solid rgb(var(--ember-rgb) / .3); border-radius: 24px; background: rgb(var(--ember-rgb) / .04); }
.seats-pick { grid-area: pick; display: grid; gap: var(--s3); }
.seats-pick .bill-sum { display: flex; align-items: baseline; gap: .3em; margin-top: 0; }
.seats-pick .bill-n { color: var(--ember); }
.seats-pick .bill-sum > span:not(.bill-n) { margin-top: 0; }
.seats-each { color: var(--moon); font-size: var(--t-body); font-weight: 700; }
.seats-bill { grid-area: bill; }
.seats-lines { margin: 0; }
.seats-lines > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); padding-block: 9px; border-bottom: 1px dashed var(--line-strong); }
.seats-lines dt { color: var(--mist); font-size: var(--t-body); }
.seats-lines dd { margin: 0; color: var(--moon); font-size: var(--t-body); }
.seats-lines .seats-total { padding-block: 12px 0; border-bottom: 0; }
.seats-total dt { color: var(--moon); font-size: var(--t-body); font-weight: 700; }
.seats-total dd { color: var(--ember); font-size: var(--t-title); }
.seats-nitro { margin-top: var(--s4); padding: 10px 14px; border: 1.5px dashed rgb(var(--hot-rgb) / .45); border-radius: 12px; color: var(--mist); font-size: var(--t-small); }
.seats-nitro b { color: var(--hot); }
.bill-seats .bill-source { grid-area: source; margin-top: 0; }
.bill-source { margin-top: var(--s2); color: var(--dim); font-size: var(--t-small); }

/* The count is set with a stepper either side of a slider, 2 to 100,
   resting at 4. */
.friends { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.friends-step { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1.5px solid rgb(var(--ember-rgb) / .55); border-radius: 50%; color: var(--ember); background: rgb(var(--ember-rgb) / .08); cursor: pointer; transition: background-color 150ms var(--ease), scale 90ms var(--ease); }
.friends-step svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.friends-step:disabled { cursor: default; opacity: .45; }
@media (hover: hover) { .friends-step:not(:disabled):hover { background: rgb(var(--ember-rgb) / .18); } }
.friends-step:not(:disabled):active { scale: .9; }
.friends-step:focus-visible { outline-offset: 2px; border-radius: 50%; }
@media (pointer: coarse) { .friends-step { width: 44px; height: 44px; } }
/* The track fills in ember up to the thumb (--fill, set as it moves). */
.friends-range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: none; cursor: pointer; }
.friends-range:disabled { cursor: default; }
.friends-range::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--ember) var(--fill, 2.04%), rgb(var(--ember-rgb) / .18) var(--fill, 2.04%)); }
.friends-range::-moz-range-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--ember) var(--fill, 2.04%), rgb(var(--ember-rgb) / .18) var(--fill, 2.04%)); }
.friends-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; margin-top: -9px; border: 3px solid var(--ember); border-radius: 50%; background: var(--moon-bright); box-shadow: 0 0 0 4px var(--ink), 0 8px 16px -6px rgb(0 0 0 / .8); transition: scale 120ms var(--ease); }
.friends-range::-moz-range-thumb { box-sizing: border-box; width: 26px; height: 26px; border: 3px solid var(--ember); border-radius: 50%; background: var(--moon-bright); box-shadow: 0 0 0 4px var(--ink), 0 8px 16px -6px rgb(0 0 0 / .8); }
.friends-range:not(:disabled):active::-webkit-slider-thumb { scale: 1.12; }
.friends-range:focus-visible { outline: none; }
.friends-range:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--moon-bright); outline-offset: 3px; }
.friends-range:focus-visible::-moz-range-thumb { outline: 2px solid var(--moon-bright); outline-offset: 3px; }

/* The receipt: the page's one comparison, a paper slip stuck under the
   split with its foot torn off the roll. Its table sits on a dark stage
   under snug's lamp: a bulb in a shade hung over snug's column throws a
   hard ember beam down it, and snug's cells go bright while the others
   stay dim (every cell above 4.5:1 either way). Discord's columns wear the
   rose of its bill. On a phone two choices over it pick which Discord
   column stands beside snug's. */
.receipt-wrap { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: var(--s4); width: min(100%, 920px); margin: var(--s8) auto 0; }
.receipt { width: 100%; rotate: -.6deg; filter: drop-shadow(0 26px 30px rgb(0 0 0 / .55)); }
.receipt-paper { --zig: 11px; padding: 26px 30px calc(20px + var(--zig)); border-radius: 18px 18px 0 0; color: #f1eadf; background: #1a171e; box-shadow: inset 0 0 0 1px #3a3050;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--zig)) 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--zig)) 100%; }
.receipt-head { margin-bottom: var(--s4); text-wrap: balance; color: var(--moon-bright); font-size: var(--t-body); font-weight: 800; line-height: 1.25; letter-spacing: -.015em; }

/* The stage. --zone is the dark headroom the lamp hangs in; the columns
   are fixed (25, 23, 27, 25 percent), so the beam's place is known here. */
.lamp-stage { --pad: 14px; --zone: 176px; --shade: 116px; --mouth: 96px; --cone-top: 64px; --c1: .25; --c2: .23; position: relative; isolation: isolate; padding: var(--zone) var(--pad) 8px; border-radius: 14px; background: #110f15; box-shadow: inset 0 0 0 1px #2a2533; }
.lamp-stage .receipt-table { position: relative; z-index: 1; }
/* The lamp hangs straight over the middle of snug's column, its bulb
   peeking from a shade whose mouth is where the beam starts. */
.lamp { position: absolute; z-index: 2; top: 0; left: calc(var(--pad) + (100% - 2 * var(--pad)) * (var(--c1) + var(--c2) / 2)); width: 0; height: var(--cone-top); pointer-events: none; }
.lamp-cord { position: absolute; left: -1px; top: 0; width: 2px; height: 16px; background: #5b5266; }
.lamp-shade { position: absolute; left: calc(var(--shade) / -2); top: 12px; width: var(--shade); height: auto; overflow: visible; }
.shade-cap { fill: #8c8396; stroke: #fff8ee; stroke-width: 3; }
.shade-body { fill: #3a3446; stroke: #fff8ee; stroke-width: 3.5; stroke-linejoin: round; }
.shade-mouth { fill: #1b1720; }
.shade-rim { fill: none; stroke: #fff8ee; stroke-width: 3.5; }
.shade-shine { fill: none; stroke: #fffaf2; stroke-width: 3; stroke-linecap: round; opacity: .6; }
.bulb-lit { fill: #ffd796; filter: drop-shadow(0 0 10px rgb(255 200 130 / .9)); }
.bulb-peek { fill: #fff1d6; }
/* The beam: a hard cone from the shade's mouth to the table, then a band down
   snug's column, each on its own layer, so its click-on never repaints the
   table over it. */
.beam { position: absolute; z-index: 0; top: var(--cone-top); bottom: 8px; left: calc(var(--pad) + (100% - 2 * var(--pad)) * var(--c1)); width: calc((100% - 2 * var(--pad)) * var(--c2)); pointer-events: none; }
.beam-cone { position: absolute; left: 0; right: 0; top: 0; will-change: transform; height: calc(var(--zone) - var(--cone-top)); transform-origin: 50% 0; background: linear-gradient(180deg, #ffd796, rgb(var(--ember-rgb) / .85) 45%, rgb(var(--ember-rgb) / .55)); clip-path: polygon(calc(50% - var(--mouth) / 2) 0, calc(50% + var(--mouth) / 2) 0, 100% 100%, 0 100%); }
.beam-band { position: absolute; left: 0; right: 0; will-change: transform; top: calc(var(--zone) - var(--cone-top)); bottom: 0; transform-origin: 0 0; background: linear-gradient(180deg, rgb(var(--ember-rgb) / .3), rgb(var(--ember-rgb) / .16) 22%, rgb(var(--ember-rgb) / .1)); box-shadow: inset 2px 0 0 rgb(var(--ember-rgb) / .55), inset -2px 0 0 rgb(var(--ember-rgb) / .55); }
.receipt-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: var(--t-body); line-height: 1.35; font-variant-numeric: tabular-nums; }
.receipt-table thead th:nth-child(1) { width: 25%; }
.receipt-table thead th:nth-child(2) { width: 23%; }
.receipt-table thead th:nth-child(3) { width: 27%; }
.receipt-table thead th:nth-child(4) { width: 25%; }
.receipt-table th, .receipt-table td { padding: 11px 12px; text-align: left; vertical-align: top; overflow-wrap: break-word; transition: color 180ms var(--ease); }
.receipt-table tbody tr, .receipt-table tfoot tr { border-top: 1.5px dashed #34303f; }
.receipt-table thead th { padding-top: 4px; padding-bottom: 10px; color: #ffa3b3; font-size: var(--t-small); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: bottom; }
.receipt-table thead th:nth-child(2) { color: var(--ember-bright); }
.receipt-table tbody th, .receipt-table tfoot th { padding-left: 4px; color: #a8a0ad; font-weight: 600; }
/* Discord's cells stay readable; snug's, in the beam, go bright. */
.receipt-table td { color: #a8a0ad; }
.receipt-table td:nth-child(2) { font-weight: 700; }
.lamp-stage tbody td:nth-child(2) { color: var(--moon-bright); }
.receipt-table tfoot :is(th, td) { padding-top: 14px; font-size: var(--t-body); font-weight: 800; letter-spacing: -.01em; }
.receipt-table tfoot th { color: var(--moon); }
.receipt-table tfoot td:nth-child(2) { color: var(--ember-bright); }
.receipt-table tfoot td:nth-child(n + 3) { color: #ffa3b3; }
.receipt-table .note-ref { color: var(--ember-bright); }
.receipt-note { margin-top: var(--s4); color: #8d8899; font-size: var(--t-small); }
.rival-note { max-width: 46rem; color: var(--mist); font-size: var(--t-small); line-height: 1.5; text-align: center; }
.rival-note span { color: var(--dim); }
@media (min-width: 721px) { .rival-note span { white-space: nowrap; } }
/* The phone's choice of rival: hidden where all three columns fit. */
.rival { display: none; margin: 0 0 var(--s3); padding: 0; border: 0; }
.rival label { position: relative; min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border: 1.5px solid #3a3448; border-radius: 999px; color: #aaa1ad; font-size: var(--t-small); font-weight: 700; cursor: pointer; transition: color 150ms var(--ease), background-color 150ms var(--ease), border-color 150ms var(--ease); }
.rival input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.rival label:has(:checked) { border-color: rgb(var(--hot-rgb) / .7); color: var(--ink); background: #ffa3b3; }
.rival label:has(:focus-visible) { outline: 2px solid var(--moon-bright); outline-offset: 2px; }
@media (pointer: coarse) { .rival label { min-height: 44px; } }

/* Chip in: the split said loud, and beside it a tip jar for the server you
   play. Press a friend's face, or Chip in $5, and a fiver arcs into the
   slot and lands on the stack. The stack is the credit toward the next
   $9.99 bill in fivers: one coin rests in the glass until a second covers
   the month. Beside the jar, the chip-in page's own meter (commerce's
   funding(); site/styles.css .credit-year). The jar, the meter, and the
   keys keep one size, so nothing around them moves. */
.chip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: var(--s6) var(--s8); margin-top: var(--s8); }
.chip-copy { display: grid; gap: var(--s4); }
.split-line { font-size: var(--t-title); font-weight: 800; line-height: 1; letter-spacing: -.04em; text-wrap: balance; }
.split-line mark { margin-inline: .04em; }
.chip-copy > p:not(.split-line) { max-width: 34rem; color: var(--mist); font-size: var(--t-body); line-height: 1.45; }
.tip { --jar-w: 250px; --glass-h: 300px; --card-w: 262px; --under-label: 66px; position: relative; justify-self: center; display: grid; grid-template-columns: var(--jar-w) var(--card-w); grid-template-areas: 'faces faces' 'jar card' 'toys card'; align-items: start; column-gap: 0; }
.coins { grid-area: faces; position: relative; z-index: 1; display: flex; gap: 10px; margin: 0 0 18px 6px; }
.coin-face { --pc: #c9895e; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 2px solid var(--ink); border-radius: 50%; color: #121015; background: var(--pc); font: 800 .6875rem/1 var(--sans); cursor: pointer; transition: translate 160ms var(--ease), scale 90ms var(--ease), box-shadow 160ms var(--ease); }
.coin-face:nth-child(odd) { translate: 0 6px; }
.coin-face:disabled { cursor: default; }
@media (hover: hover) { .coin-face:not(:disabled):hover { translate: 0 -3px; box-shadow: 0 0 0 3px rgb(var(--ember-rgb) / .45); } .coin-face:nth-child(odd):not(:disabled):hover { translate: 0 3px; } }
.coin-face:not(:disabled):active { scale: .9; }
.coin-face:focus-visible { outline: 2px solid var(--moon-bright); outline-offset: 2px; }
.coin-sage { --pc: #74ad88; }
.coin-noor { --pc: #7ba6c9; }
.coin-rose { --pc: #c97b8e; }
.coin { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #3d2410; background: radial-gradient(circle at 35% 30%, #ffe0b3, var(--ember) 60%, #c98745); box-shadow: inset 0 0 0 2px rgb(255 240 220 / .6), 0 6px 12px -4px rgb(0 0 0 / .7); font-size: .75rem; font-weight: 800; letter-spacing: -.02em; }

/* The jar: a chunky glass sticker, cream-edged and tilted, with a slotted
   lid and the server's name on its label. */
.jar { grid-area: jar; position: relative; width: var(--jar-w); padding-top: 26px; rotate: 3deg; }
.jar-lid { position: absolute; z-index: 2; top: 0; left: -10px; right: -10px; height: 34px; border: 3px solid #fff8ee; border-radius: 12px; background: linear-gradient(180deg, #6a6076, #3c3548); box-shadow: 0 6px 12px -4px rgb(0 0 0 / .7); transform-origin: 50% 100%; }
.jar-slot { position: absolute; left: 50%; top: 50%; width: 44%; height: 8px; border-radius: 4px; background: #0d0d13; box-shadow: inset 0 2px 2px #000, 0 1px 0 rgb(255 255 255 / .18); translate: -50% -50%; }
.jar-glass { position: relative; display: block; height: var(--glass-h); overflow: hidden; border: 3.5px solid #fff8ee; border-top-width: 0; border-radius: 6px 6px 46px 46px / 6px 6px 34px 34px; background: linear-gradient(90deg, rgb(255 255 255 / .11), rgb(255 255 255 / .03) 38%, rgb(255 255 255 / .06) 80%, rgb(255 255 255 / .12)), #15131b; box-shadow: 0 34px 60px -26px rgb(0 0 0 / .95); }
.jar-shine { position: absolute; z-index: 1; left: 12%; top: 6%; width: 9%; height: 70%; border-radius: 99px; background: linear-gradient(180deg, rgb(255 255 255 / .28), rgb(255 255 255 / 0)); pointer-events: none; }
/* Two coin places at the foot of the glass, since two fivers cover a
   $9.99 bill; a coin is either there or not. */
.jar-stack { position: absolute; inset: var(--under-label) 0 0; }
.jar-stack i, .jar-drop { position: absolute; left: 12%; width: 76%; height: 16.672%; border-radius: 50% / 30%; background: repeating-linear-gradient(90deg, rgb(110 62 24 / .22) 0 2px, transparent 2px 7px) 0 100% / 100% 62% no-repeat, linear-gradient(180deg, #ffe7c4 0 30%, #f1b77c 30% 38%, #e3a165 38% 80%, #b06f38 80%); box-shadow: inset 0 0 0 2px rgb(110 62 24 / .4), inset 0 -3px 0 rgb(80 40 10 / .25); opacity: 0; }
.jar-stack i.on { opacity: 1; }
.jar-stack i:nth-child(1) { bottom: 0; translate: -3px 0; }
.jar-stack i:nth-child(2) { bottom: 16.672%; translate: 4px 0; }
.jar-drop { top: 0; z-index: 1; height: calc((100% - var(--under-label)) * .16672); will-change: transform; }
.jar-label { position: absolute; z-index: 2; left: -6px; right: -6px; top: 44px; padding: 9px 0 10px; border-radius: 10px; color: #1c1320; background: #fff3e2; box-shadow: 0 10px 18px -8px rgb(0 0 0 / .8); font: italic 700 1.5rem/1 var(--display); letter-spacing: -.02em; text-align: center; rotate: -4deg; }

/* The chip-in page's meter, stuck on beside the jar. */
.meter-card { grid-area: card; align-self: center; position: relative; z-index: 3; width: var(--card-w); margin-left: -18px; display: grid; justify-items: start; gap: 8px; padding: 24px 20px 16px; border: 1px solid #3a3050; border-radius: 16px; color: #f1eadf; background: #1a171e; box-shadow: 0 30px 60px -26px rgb(0 0 0 / .9); font-size: 15px; line-height: 1.4; rotate: -3deg; }
.meter-title { color: #aaa1ad; font-size: .8em; font-weight: 600; }
.meter-credit { font-size: 1.9em; font-weight: 800; line-height: 1.05; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.meter-months { display: flex; gap: 8px; margin: 2px 0 0; padding: 0; list-style: none; }
.meter-month { display: grid; justify-items: center; gap: 6px; }
.meter-month.new { animation: meter-dot-in 320ms var(--settle) both; }
@keyframes meter-dot-in { from { opacity: 0; scale: .3; } }
.meter-month svg { width: 26px; height: 26px; overflow: visible; }
.meter-month small { color: #aaa1ad; font-size: .8em; }
.meter-ring { fill: none; stroke: #454356; stroke-width: 1.5; }
.meter-fill { fill: var(--ember); filter: drop-shadow(0 0 5px rgb(var(--ember-rgb) / .5)); }
/* A dot's level is its funding() share, scaled up from the dot's foot. */
.meter-level { fill: var(--ember); transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(var(--share, 0)); transition: transform 420ms var(--settle); }
.meter-glow { filter: drop-shadow(0 0 5px rgb(var(--ember-rgb) / .5)); }
/* Room for the longest sentence funding() writes here, so nothing below
   the sticker moves as the credit grows. */
.meter-says { min-height: calc(3 * 1.4em); color: #aaa1ad; font-size: .87em; font-variant-numeric: tabular-nums; }
/* A month paid for gets stamped across the jar it just poured from. */
.meter-stamp { position: absolute; z-index: 3; left: 50%; top: 62%; padding: 5px 10px; border: 2.5px solid var(--ember-bright); border-radius: 9px; color: var(--ember-bright); background: rgb(13 13 19 / .55); font-size: .875rem; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; translate: -50% -50%; rotate: -10deg; opacity: 0; pointer-events: none; }
.meter-stamp.on { opacity: 1; }
.meter-spark { position: absolute; left: 0; top: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--ember-bright); pointer-events: none; }
/* The fiver in flight, placed by transform from a face to the slot, on a
   layer of its own from the start, so the first press costs no more than
   the rest. */
.coin-fly { position: absolute; z-index: 4; left: 0; top: 0; margin: -18px 0 0 -18px; opacity: 0; pointer-events: none; will-change: transform; }
.meter-toys { grid-area: toys; display: flex; align-items: center; gap: 4px; margin-top: 22px; rotate: -2deg; }
.chip-go { min-height: 48px; padding: 0 22px; border: 0; border-radius: 14px; color: var(--ink); background: var(--ember); box-shadow: 0 5px 0 var(--ledge), 0 12px 24px -10px rgb(var(--ember-rgb) / .6); font: 800 1.0625rem/1 var(--sans); letter-spacing: -.01em; cursor: pointer; transition: translate 90ms var(--ease), box-shadow 90ms var(--ease), background-color 150ms var(--ease); }
.chip-go:disabled { cursor: default; opacity: .6; }
@media (hover: hover) { .chip-go:not(:disabled):hover { background: var(--ember-bright); } }
.chip-go:not(:disabled):active { translate: 0 4px; box-shadow: 0 1px 0 var(--ledge), 0 6px 14px -8px rgb(var(--ember-rgb) / .6); }
.chip-go:focus-visible { outline: 2px solid var(--moon-bright); outline-offset: 3px; }

/* The page's one footnote, the landing spot for every asterisk: full body
   size, a little room around it, and a light when a link lands on it. */
.storage-note { display: flex; gap: .4em; max-width: 48rem; margin-top: var(--s7); padding: var(--s4) var(--s5); border-left: 3px solid rgb(var(--ember-rgb) / .6); border-radius: 0 12px 12px 0; color: var(--moon); background: rgb(255 255 255 / .03); font-size: var(--t-body); line-height: 1.5; scroll-margin-top: 140px; }
.storage-note .star { color: var(--ember); font-weight: 800; }
.storage-note:target { background: rgb(var(--ember-rgb) / .1); }

.license { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s2) var(--s6); margin-top: var(--s7); padding: var(--s5) var(--s6); border: 1px solid var(--line); border-radius: 20px; }
.license h3 { font-size: var(--t-body); font-weight: 700; }
.license p:not(.license-links) { grid-column: 1; color: var(--mist); font-size: var(--t-body); }
.license strong { color: var(--moon); }
.license-links { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-wrap: wrap; gap: 0 var(--s5); }

/* ── Questions ────────────────────────────────────────────────────────── */

/* One compact accordion, one open at a time: each question one bold line
   with an ember plus, and inside it the answer in a few words and the
   small print. The heading takes the left column where there's room. */
.questions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; gap: var(--s5) var(--s8); }
.questions h2 { font-size: var(--t-fix); }
.qa { border-top: 1.5px solid var(--line); }
.qa details { border-bottom: 1.5px solid var(--line); }
.qa summary { position: relative; display: flex; align-items: center; min-height: 64px; padding: 12px 56px 12px 0; font-size: var(--t-body); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; cursor: pointer; list-style: none; transition: color 150ms var(--ease); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after { content: ''; position: absolute; right: 12px; top: 50%; width: 16px; height: 2.5px; margin-top: -1.25px; border-radius: 2px; background: var(--ember); transition: rotate 260ms var(--ease); }
.qa summary::after { rotate: 90deg; }
.qa details[open] summary::after { rotate: 0deg; }
.qa details[open] summary { color: var(--moon-bright); }
@media (hover: hover) { .qa summary:hover { color: var(--moon-bright); } }
.qa summary:focus-visible { outline-offset: -2px; border-radius: 8px; }
.qa-a { display: grid; gap: var(--s2); padding: 0 56px var(--s5) 0; }
.punch { color: var(--ember-bright); font-size: var(--t-body); font-weight: 800; line-height: 1.2; letter-spacing: -.015em; }
.punch a { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: rgb(var(--ember-rgb) / .5); text-underline-offset: .14em; }
.qa-fine { max-width: 44rem; color: var(--mist); font-size: var(--t-small); line-height: 1.5; }
.qa-fine a { color: var(--moon); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .qa details { interpolate-size: allow-keywords; }
  .qa details::details-content { height: 0; overflow: clip; transition: height 260ms var(--ease), content-visibility 260ms allow-discrete; }
  .qa details[open]::details-content { height: auto; }
}
@media (hover: hover) { .qa a:hover, .ticket-terms a:hover { text-decoration-color: var(--ember); } }

/* ── The last screen ──────────────────────────────────────────────────── */

/* The brightest thing on the page: lamplight, full bleed, its top edge cut
   by hand, with the app's presence dots, reactions, and channel names
   thrown up around it. Under the line, the bench: the name you type, the
   address it makes, the plan and its key, and beside them the door your
   friends will open and the note you get. Ink on this light is above 11:1. */

.closing-light { --ledge: #7a4521; --lift: clamp(120px, 13vw, 200px); position: relative; isolation: isolate; display: grid; justify-items: center; gap: var(--s5); padding: var(--lift) var(--gutter) var(--s8); color: #1c1320; text-align: center; background:
    radial-gradient(ellipse 46% 62% at 50% 52%, #fffbf4, #fff0dc 46%, rgb(255 240 220 / 0) 78%),
    radial-gradient(ellipse 48% 72% at 0% 100%, rgb(var(--hot-rgb) / .6), transparent 72%),
    radial-gradient(ellipse 48% 72% at 100% 100%, rgb(var(--volt-rgb) / .55), transparent 72%),
    linear-gradient(180deg, #ffd9ad, #fcc58c 55%, #f4b277);
  -webkit-mask: url('/media/edge.svg') 0 0 / 1200px 36px repeat-x, linear-gradient(#000 0 0) 0 35px / 100% 100% no-repeat;
  mask: url('/media/edge.svg') 0 0 / 1200px 36px repeat-x, linear-gradient(#000 0 0) 0 35px / 100% 100% no-repeat; }
.closing h2 { position: relative; z-index: 1; font-size: var(--t-mega); font-weight: 800; line-height: .9; letter-spacing: -.05em; }
.closing h2 em { font-family: var(--display); font-style: italic; font-weight: 700; letter-spacing: -.03em; }
.closing .go, .closing .go .arrow { color: #1c1320; }
.closing :focus-visible { outline-color: #1c1320; }

/* Wide, the name and the plan stand on the left and the door on the right;
   narrower, the door comes between them, so the name you type shows on it
   before the key. */
.namer-bench { position: relative; z-index: 1; width: min(100%, 1040px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: 'name door' 'buy door'; align-items: start; gap: var(--s5) var(--s8); margin-top: var(--s5); text-align: left; }
.namer { grid-area: name; }
.door-stage { grid-area: door; }
.namer-buy { grid-area: buy; display: grid; justify-items: start; gap: var(--s5); }
@media (max-width: 899px) {
  .namer-bench { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: 'name' 'door' 'buy'; row-gap: var(--s6); width: min(100%, 560px); }
}
/* The name, typed on the light: a big field with the key's ledge. */
.namer { width: 100%; display: grid; gap: var(--s2); }
.namer label { font-size: var(--t-small); font-weight: 800; }
.namer input { width: 100%; min-height: 64px; padding: 0 20px; border: 2px solid #1c1320; border-radius: 16px; color: #1c1320; background: #fffaf2; box-shadow: 0 5px 0 #1c1320, 0 24px 40px -24px rgb(74 47 34 / .6); font: 800 var(--t-body)/1.2 var(--sans); letter-spacing: -.02em; }
.namer input::placeholder { color: #a08575; opacity: 1; }
.namer input:focus-visible { outline: 2px solid #1c1320; outline-offset: 4px; border-radius: 16px; }
/* The address it makes, and a plain note under it; both hold their lines,
   so nothing under them moves as a name is typed. */
.namer-address { min-height: calc(2 * 1.35em); margin-top: var(--s3); font-size: var(--t-body); font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
.namer-domain { color: #6b4a38; }
.namer-note { min-height: calc(2 * 1.45em); color: #4a2f22; font-size: var(--t-small); font-weight: 600; line-height: 1.45; }
.namer.is-bad .namer-note { color: #a3293f; }
.namer.is-good .namer-address .slot { padding: 0 .14em; border-radius: .2em; background: linear-gradient(176deg, var(--ember-bright), var(--ember) 70%); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
/* A slot shows what's typed, the placeholder's address at rest (faint),
   or a blank while the name can't make an address. */
.slot.is-example { opacity: .5; }
.slot.is-empty { display: inline-block; width: 5.5em; height: .9em; border-bottom: 2px dashed currentColor; opacity: .45; vertical-align: -.05em; }

/* The plans, as the first screen's ticket printed for the light. On it the
   lit word is ink (ember would sink into the peach), the free half is the
   brighter paper, and the plain button is drawn in ink. */
.ticket-end { --notch-bg: #ffefd8; --rim: rgb(28 19 32 / .5); --perf: rgb(28 19 32 / .35); width: 100%; background: rgb(255 250 242 / .28); box-shadow: 0 30px 60px -36px rgb(74 47 34 / .55); }
.ticket-end .half-free { background: rgb(255 250 242 / .5); }
.ticket-end mark { color: #fff4e4; background: #1c1320; }
.ticket-end .half-for { color: #1c1320; }
.ticket-end :is(.half-for span, .half-sum small) { color: #4a2f22; }
.ticket-end .half-for span { font-weight: 500; }
.ticket-end .side-button { border-color: #1c1320; color: #1c1320; background: rgb(255 250 242 / .55); }
.ticket-end .side-button .arrow { color: #1c1320; }
@media (hover: hover) { .ticket-end .side-button:hover { border-color: #1c1320; background: #fffaf2; } }
.closing .key { box-shadow: 0 0 0 2px #1c1320, inset 0 1px 0 rgb(255 250 242 / .6), 0 var(--drop) 0 2px #1c1320; }
.closing .key:active, .closing .key:hover:active { box-shadow: 0 0 0 2px #1c1320, inset 0 1px 0 rgb(255 250 242 / .3), 0 0 0 2px #1c1320; }
@media (hover: hover) { .closing .key:hover { box-shadow: 0 0 0 2px #1c1320, inset 0 1px 0 rgb(255 250 242 / .6), 0 calc(var(--drop) * .6) 0 2px #1c1320; } }
.closing .key::after { box-shadow: 0 0 40px -4px rgb(255 255 255 / .7); }

/* The door: the trio's join card in a browser window, with the address in
   its bar and under the wordmark (never the name), and the note snug sends
   the owner pinned to its foot. The note grows upward over the door, so
   nothing moves however long the name. */
.door-stage { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: var(--s4); }
.door-wrap { position: relative; width: min(100%, 400px); padding-bottom: 52px; }
.door { width: 100%; overflow: hidden; border-radius: 18px; background: #1a171e; box-shadow: 0 0 0 2px #1c1320, 0 40px 70px -30px rgb(74 47 34 / .75); rotate: 1.5deg; }
.door-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #2a2433; }
.door-lights { display: flex; gap: 6px; flex: none; }
.door-lights i { width: 10px; height: 10px; border-radius: 50%; background: #e0796a; }
.door-lights i:nth-child(2) { background: #e5b65f; }
.door-lights i:nth-child(3) { background: #74ad88; }
.door-url { min-width: 0; flex: 1; overflow: hidden; padding: 5px 12px; border-radius: 999px; color: #cfc7d3; background: #15121a; font-size: .8125rem; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.join-end { grid-template-columns: minmax(0, 1fr); padding: 22px 20px 24px; border: 0; border-radius: 0; box-shadow: none; }
.join-end .join-server { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.join-field.is-placeholder { color: var(--j-mist); border-color: var(--j-edge); }
.slip { position: absolute; left: -28px; bottom: 0; width: min(340px, 88%); display: grid; gap: 4px; padding: 14px 16px 15px; border-radius: 14px; background: #fffaf2; box-shadow: 0 0 0 2px #1c1320, 0 5px 0 2px #1c1320, 0 26px 40px -18px rgb(74 47 34 / .6); rotate: -3deg; text-align: left; }
.slip-subject { display: flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 800; line-height: 1.3; }
.slip-subject::before { content: ''; width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 2px #1c1320; }
.slip-text { color: #4a2f22; font-size: .875rem; line-height: 1.4; overflow-wrap: anywhere; }
.slip-text .slot { color: #1c1320; font-weight: 800; }

/* Stickers thrown up from behind the line: presence dots in the app's
   person colours, reactions from its picker, and two channel names. Where
   the light is wide the words take the middle column and each handful its
   own side, placed by --x and --y within it (and kept a sticker's width
   inside it), so no sticker can reach the words. Where it isn't, one
   handful sits above the line and the other under the bench. The places
   live here, not in the markup: the site's CSP allows no inline styles. */
.confetti { position: relative; z-index: 0; pointer-events: none; }
.confetti > span { display: block; }
@media (min-width: 1240px) {
  .closing-light { grid-template-columns: minmax(130px, 1fr) minmax(0, 1040px) minmax(130px, 1fr); }
  .closing-light > :not(.confetti) { grid-column: 2; }
  .confetti { grid-row: 1 / span 3; justify-self: stretch; align-self: stretch; }
  .confetti-a { grid-column: 1; }
  .confetti-b { grid-column: 3; }
  .confetti > span { position: absolute; left: clamp(var(--half, 26px), var(--x), 100% - var(--half, 26px)); top: max(var(--y), 64px - var(--lift)); translate: -50% -50%; }
  .c-chan { --half: 56px; }
}
@media (max-width: 1239px) {
  /* One column that never grows past the light, however long the name. */
  .closing-light { grid-template-columns: minmax(0, 1fr); }
  .confetti { display: flex; justify-content: space-between; align-items: center; width: min(100%, 25rem); padding-inline: 4px; }
  .confetti-a { margin-bottom: var(--s4); }
  .confetti-b { order: 1; width: min(100%, 19rem); margin-top: var(--s2); }
  .confetti-a > .c-dot:last-child, .confetti-b > .c-dot { display: none; }
  /* Thrown, not lined up. */
  .confetti > span:nth-child(2n) { translate: 0 -8px; }
}
/* Where each lands in its side, and its colour or tilt. */
.confetti-a > :nth-child(1) { --x: 74%; --y: -14%; --r: -6deg; }
.confetti-a > :nth-child(2) { --x: 26%; --y: 6%; --c: #74ad88; }
.confetti-a > :nth-child(3) { --x: 90%; --y: 30%; --r: -12deg; }
.confetti-a > :nth-child(4) { --x: 40%; --y: 50%; --c: #c9895e; }
.confetti-a > :nth-child(5) { --x: 78%; --y: 80%; --r: 8deg; }
.confetti-a > :nth-child(6) { --x: 20%; --y: 94%; --c: #c97b8e; }
.confetti-b > :nth-child(1) { --x: 26%; --y: -10%; --r: 5deg; }
.confetti-b > :nth-child(2) { --x: 76%; --y: 4%; --c: #c97b8e; }
.confetti-b > :nth-child(3) { --x: 10%; --y: 34%; --r: 10deg; }
.confetti-b > :nth-child(4) { --x: 62%; --y: 56%; --c: #74ad88; }
.confetti-b > :nth-child(5) { --x: 22%; --y: 82%; --r: -8deg; }
.confetti-b > :nth-child(6) { --x: 80%; --y: 96%; --c: #c9895e; }
.c-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px #fff8ee, 0 10px 18px -6px rgb(74 47 34 / .45); }
.c-emoji { font-size: 2.75rem; line-height: 1; rotate: var(--r); filter: drop-shadow(0 8px 10px rgb(74 47 34 / .35)); }
.c-chan { padding: 7px 14px; border-radius: 12px; color: var(--moon); background: #241932; box-shadow: 0 0 0 3px #fff8ee, 0 12px 22px -8px rgb(74 47 34 / .5); font-size: .9375rem; font-weight: 700; rotate: var(--r); white-space: nowrap; }

.footer { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s6); padding: var(--s6) max(var(--gutter), (100% - 1340px) / 2); color: var(--mist); background: var(--plum); font-size: var(--t-small); }
.footer > p { margin-right: auto; }
.footer nav { display: flex; flex-wrap: wrap; gap: 0 var(--s5); }
.footer a { min-height: 44px; display: inline-flex; align-items: center; transition: color 150ms var(--ease); }
@media (hover: hover) { .footer a:hover { color: var(--moon); } }

/* ── Motion ───────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
  /* The first screen lands in one beat: "Your", then the brace opens from
     its point, then the three words drop in turn; the ticket warms, the
     key glows once, and the window rises onto its stage. */
  .your { animation: fade-up 600ms var(--ease) 120ms backwards; }
  .brace { animation: reach 700ms var(--ease) 240ms backwards; }
  .words > span { animation: slam 640ms var(--settle) backwards; }
  .words > span:nth-child(1) { animation-delay: 340ms; }
  .words > span:nth-child(2) { animation-delay: 430ms; }
  .words > span:nth-child(3) { animation-delay: 520ms; }
  .hero-aside { animation: fade-up 640ms var(--ease) 540ms backwards; }
  .hero .ticket .key::after { animation: kindle 1600ms var(--ease) 1200ms; }
  .film-window, .film-phone { animation: rise 1100ms var(--ease) 480ms backwards; }
  .film-window .film-frame { animation: lean 1300ms var(--ease) 480ms backwards; }
  /* The stickers' box rises and leans with the window, so they never slide
     over the app beneath them. */
  .pops { animation: rise 1100ms var(--ease) 480ms backwards, lean 1300ms var(--ease) 480ms backwards; }
  @media (max-width: 720px) { .pops { animation: rise 1100ms var(--ease) 480ms backwards; } }

  /* The Ads switch shrugs off each try, and its answer fades up. */
  .ads button.nudge .ads-track::after { animation: refuse 520ms var(--ease); }
  .ads-say.said { animation: say 320ms var(--ease); }

  /* Stickers pop off what they belong to, once, and rest. */
  .pops .pop { animation: pop-off 680ms var(--settle) var(--delay) backwards; }
  .pop-online { --delay: 1180ms; --from: 220px 120px; }
  .pop-sam { --delay: 1270ms; --from: 260px 60px; }
  .pop-perk { --delay: 1220ms; --from: -240px 120px; }
  .pop-june { --delay: 1310ms; --from: -260px 60px; }
  .pop-laugh { --delay: 1440ms; --from: -200px 20px; }
  .pocket-pops .pop, .confetti > span { transition: opacity 260ms var(--ease) var(--delay, 0ms), scale 620ms var(--settle) var(--delay, 0ms), translate 620ms var(--settle) var(--delay, 0ms); }

  /* Two stickers wait for the take's own moment on its first play (home.js):
     june's reaction and the laugh on the computer, the count on the phone. */
  .react, .react-add { transform-origin: 30% 50%; transition: opacity 160ms var(--ease), scale 560ms var(--settle); }
  .react-add { transition-delay: 60ms; }
  .pops.held :is(.react, .react-add) { opacity: 0; scale: .3; }
  .pops.held .pop-laugh { animation: none; opacity: 0; }
  .pops.let-go .pop-laugh { --delay: 90ms; }
  .tick > span { transition: translate 520ms var(--settle); }
  .pops.held .tick > span { translate: 0 0; }
  .pocket-pops .pop-coming { --delay: 700ms; --from: 120px 80px; }
  .pocket-pops .pop-noor { --delay: 860ms; --from: -110px 70px; }
  .film-pocket.waiting .pop { opacity: 0; scale: .5; translate: var(--from); }
  /* The app's two cut-outs stick on under the copy, one after the other. */
  .pocket-bit { transition: opacity 260ms var(--ease) var(--delay, 0ms), scale 620ms var(--settle) var(--delay, 0ms), translate 620ms var(--settle) var(--delay, 0ms); }
  .bit-bar { --delay: 120ms; }
  .pocket-bits.waiting .pocket-bit { opacity: 0; scale: .6; translate: 0 36px; }

  .pain span, .bill, .ticket-full, .receipt-wrap, .join-landed { transition: opacity 360ms var(--ease) var(--delay, 0ms), scale 620ms var(--settle) var(--delay, 0ms), translate 620ms var(--settle) var(--delay, 0ms); }
  .card { --d: 0ms; transition: opacity 500ms var(--ease) var(--d), translate 800ms var(--ease) var(--d); }
  .card-files { --d: 120ms; }
  .card-emoji { --d: 240ms; }
  .card .pain span { --delay: calc(var(--d) + 280ms); }
  .card-link .join-landed { --delay: 760ms; }
  .pain.waiting span, .card.waiting .pain span { opacity: 0; scale: .7; translate: -24px 12px; }
  .card.waiting { opacity: 0; translate: 0 48px; }
  .card.waiting .join-landed { opacity: 0; scale: .5; translate: 60px -40px; }
  .sent-path { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 700ms var(--ease) 520ms; }
  .sent-head { transition: opacity 160ms var(--ease) 1150ms; }
  .sent-link { transition: opacity 300ms var(--ease) 380ms, translate 620ms var(--settle) 380ms; }
  .card.waiting .sent-path { stroke-dashoffset: 1; }
  .card.waiting .sent-head { opacity: 0; }
  .card.waiting .sent-link { opacity: 0; translate: -30px 10px; }
  .file-bar { transform-origin: left; transition: scale 900ms var(--ease) calc(var(--d) + 520ms); }
  .card.waiting .file-bar { scale: 0 1; }
  .file.running .file-bar { transition: none; }
  /* The marker goes on as the bubble lands. */
  mark { clip-path: inset(-.2em -.2em -.2em -.2em); transition: clip-path 520ms var(--ease) var(--mark-delay, 300ms); }
  .card mark { --mark-delay: calc(var(--d) + 420ms); }
  .ticket-full mark { --mark-delay: 200ms; }
  .card.waiting mark, .ticket-full.waiting mark, :is(.chapter-head, .pocket-copy):has(.pain.waiting) mark { clip-path: inset(-.2em 100% -.2em -.2em); }
  .settings-twin { transition: opacity 500ms var(--ease) 200ms, translate 800ms var(--ease) 200ms; }
  .settings-twin.waiting { opacity: 0; translate: 0 36px; }
  .ce-airship svg { animation: bob 2.8s ease-in-out infinite paused; }
  .picker.looping .ce-airship svg { animation-play-state: running; }
  .ticket-full.waiting { opacity: 0; translate: 0 24px; }
  .bill-seats.waiting { opacity: 0; translate: 0 32px; }
  /* The four friends take their seats one by one while the 15 count in
     a column at a time, then the storage counts in a segment at a time,
     so the difference between the plans is seen arriving. */
  .space { clip-path: inset(0); transition: clip-path 700ms steps(25, end) 620ms; }
  .half-free .space { transition: clip-path 28ms steps(1, end) 620ms; }
  .faces .face { transition: opacity 160ms linear calc(420ms + var(--i, 0) * var(--beat, 60ms)), scale 420ms var(--settle) calc(420ms + var(--i, 0) * var(--beat, 60ms)); }
  .faces-15 { --beat: 42ms; }
  .faces .face:nth-child(2) { --i: 1; }
  .faces .face:nth-child(3) { --i: 2; }
  .faces .face:nth-child(4) { --i: 3; }
  .faces .face:nth-child(5) { --i: 4; }
  .faces .face:nth-child(6) { --i: 5; }
  .faces .face:nth-child(7) { --i: 6; }
  .faces .face:nth-child(8) { --i: 7; }
  .faces .face:nth-child(9) { --i: 8; }
  .faces .face:nth-child(10) { --i: 9; }
  .faces .face:nth-child(11) { --i: 10; }
  .faces .face:nth-child(12) { --i: 11; }
  .faces .face:nth-child(13) { --i: 12; }
  .faces .face:nth-child(14) { --i: 13; }
  .faces .face:nth-child(15) { --i: 14; }
  .faces .face:nth-child(16) { --i: 15; }
  .seat-more { transition: opacity 260ms var(--ease) 1080ms, scale 420ms var(--settle) 1080ms; }
  .ticket-full.waiting .seat-more { opacity: 0; scale: .8; }
  .ticket-full.waiting .faces .face { opacity: 0; scale: .5; }
  .to-more span { transition: opacity 300ms var(--ease) 820ms; }
  .ticket-full.waiting .to-more span { opacity: 0; }
  .ticket-full .sent-path { transition-delay: 900ms; }
  .ticket-full .sent-head { transition-delay: 1530ms; }
  .ticket-full.waiting .sent-path { stroke-dashoffset: 1; }
  .ticket-full.waiting .sent-head { opacity: 0; }
  .ticket-full.waiting .space { clip-path: inset(0 100% 0 0); }
  .receipt-wrap.waiting { opacity: 0; translate: 0 48px; }
  /* snug's lamp clicks on once the table is in view: two blinks, then the
     beam lands down snug's column and its cells light (home.js). */
  .lamp-stage.dark .beam, .lamp-stage.dark .bulb-lit { opacity: 0; }
  .lamp-stage.dark tbody td:nth-child(2) { color: #a8a0ad; }
  .lamp-stage.flick .beam, .lamp-stage.flick .bulb-lit { animation: flicker 600ms linear both; }
  .lamp-stage.flick .beam-cone { animation: land-cone 600ms var(--ease) both; }
  .lamp-stage.flick .beam-band { animation: land-band 600ms var(--ease) both; }
  .lamp-stage.flick td { transition-delay: 330ms; }

  /* The phone pops up out of its pocket; the light spills on the lip. Its
     clip rises with it on the same curve, so its foot never shows below
     the cloth on the way up. */
  .pocket-phone { transition: translate 900ms var(--settle) 120ms, rotate 900ms var(--settle) 120ms, clip-path 900ms var(--settle) 120ms; }
  .film-pocket.waiting .pocket-phone { translate: 0 22%; rotate: 2deg; clip-path: inset(-40% -40% 30% -40%); }
  .pocket-spill { transition: opacity 1000ms var(--ease) 700ms; }
  .film-pocket.waiting .pocket-spill { opacity: 0; }

  /* The band rips in from the left, torn end first, and settles onto its
     tilt; then its three noes stamp down in reading order. Only its move
     and the stamps animate; its torn edges are still masks that ride along. */
  .banner-band { transition: translate 640ms cubic-bezier(.16, .84, .24, 1), rotate 760ms var(--settle) 60ms; }
  .banner.waiting .banner-band { translate: calc(-50% - 120vw) 0; rotate: -5deg; }
  .banner h2 span { transition: opacity 70ms linear var(--stamp), scale 400ms var(--settle) var(--stamp), rotate 400ms var(--settle) var(--stamp); }
  .banner h2 span:nth-child(1) { --stamp: 330ms; }
  .banner h2 span:nth-child(2) { --stamp: 440ms; }
  .banner h2 span:nth-child(3) { --stamp: 550ms; }
  .banner.waiting h2 span { opacity: 0; scale: 1.28; rotate: -3deg; }

  /* New emoji pop onto the shelf in turn. */
  .ce-new { animation: ce-pop 320ms var(--settle) calc(var(--i, 0) * 25ms) backwards; }

  /* The friends arrive for the meter, once, staggered. */
  .coin-face { transition: opacity 160ms linear, translate 300ms var(--settle), scale 90ms var(--ease), box-shadow 160ms var(--ease); }
  .coin-face:nth-child(2) { transition-delay: 30ms, 30ms, 0s, 0s; }
  .coin-face:nth-child(3) { transition-delay: 60ms, 60ms, 0s, 0s; }
  .coin-face:nth-child(4) { transition-delay: 90ms, 90ms, 0s, 0s; }
  .coin-face:nth-child(5) { transition-delay: 120ms, 120ms, 0s, 0s; }
  .coin-face:nth-child(6) { transition-delay: 150ms, 150ms, 0s, 0s; }
  .chip.waiting .coin-face { opacity: 0; translate: 0 -16px; }

  /* The light comes up and throws its stickers. */
  .closing-light::after { content: ''; position: absolute; z-index: 2; inset: 0; background: #1a1220; opacity: 0; pointer-events: none; transition: opacity 1000ms var(--ease) 100ms; }
  .closing-light.waiting::after { opacity: .9; }
  .closing-light.waiting .confetti > span { opacity: 0; scale: .3; }
  .closing-light.waiting .confetti-a > span { translate: 0 32px; }
  .closing-light.waiting .confetti-b > span { translate: 0 -32px; }
  @media (min-width: 1240px) {
    .closing-light.waiting .confetti-a > span { translate: calc(-50% + 96px) calc(-50% + 24px); }
    .closing-light.waiting .confetti-b > span { translate: calc(-50% - 96px) calc(-50% + 24px); }
  }
  .confetti > span:nth-child(1) { --delay: 700ms; } .confetti > span:nth-child(2) { --delay: 750ms; }
  .confetti > span:nth-child(3) { --delay: 800ms; } .confetti > span:nth-child(4) { --delay: 850ms; }
  .confetti > span:nth-child(5) { --delay: 900ms; } .confetti > span:nth-child(6) { --delay: 950ms; }
  /* The note lands on the door once the light is up. */
  .slip { transition: opacity 260ms var(--ease) 820ms, scale 620ms var(--settle) 820ms, translate 620ms var(--settle) 820ms; }
  .closing-light.waiting .slip { opacity: 0; scale: .7; translate: 30px -30px; }

  /* Focus brings anything still waiting, so the keyboard never lands on a
     hidden control. */
  .instant, .instant * { transition: none !important; }
}

/* Asked for less motion, the key only changes its light and the page holds
   still: films wait for play, stickers sit where they rest. */
@media (prefers-reduced-motion: reduce) {
  .key, .key:hover, .key:active, .key:hover:active { translate: none; transition: filter 150ms var(--ease); }
  .key:active { filter: brightness(.92); }
  .key::before { display: none; }
  .arrow-head, .arrow-shaft { translate: none !important; scale: 1 1 !important; transition: none !important; }
  .film video, .film-glow { transition: none; }
  .px-lit, .tally-fill, .file-mark, .qa summary::before, .qa summary::after, .ws-grab span, .ws-fold::before, .toy-btn, .ws-step button, .ws-ico, .ws-hint, .ws-cross { transition: none; }
  .ws.glide .wsb { transition: none !important; }
  .bar::before, .nav::before, .nav > .wordmark, .nav-ctas { transition: none; }
  html { scroll-behavior: auto; }
}

@keyframes fade-up { from { opacity: 0; translate: 0 18px; } }
@keyframes reach { from { clip-path: inset(50% 0 50% 0); opacity: .2; } to { clip-path: inset(-10% -10% -10% -10%); } }
@keyframes slam { from { opacity: 0; translate: -.18em 0; scale: 1.08; } }
@keyframes kindle { 35% { opacity: 1; } }
@keyframes rise { from { opacity: 0; translate: 0 90px; } }
@keyframes lean { from { transform: perspective(2400px) rotateX(16deg); } to { transform: perspective(2400px) rotateX(0deg); } }
@keyframes bob { 50% { transform: translateY(-2px) rotate(-4deg); } }
@keyframes pop-off { from { opacity: 0; scale: .5; translate: var(--from); } 30% { opacity: 1; } }
@keyframes refuse { 40% { translate: var(--strain, 6px) 0; } 62% { translate: calc(var(--strain, 6px) * .78) 0; } 84% { translate: -1px 0; } }
@keyframes rim { 25%, 55% { opacity: 1; } }
@keyframes flicker { 0% { opacity: 0; } 10% { opacity: 1; } 20% { opacity: .1; } 32% { opacity: 1; } 42% { opacity: .15; } 54%, 100% { opacity: 1; } }
@keyframes land-cone { 0%, 54% { scale: 1 .3; } 100% { scale: 1 1; } }
@keyframes land-band { 0%, 54% { scale: 1 0; } 100% { scale: 1 1; } }
@keyframes say { from { opacity: 0; translate: 0 4px; } }

/* ── Narrower screens ─────────────────────────────────────────────────── */

/* A laptop's short screen keeps the whole offer and the key in view: the
   first screen tightens its spacing, never its type. */
@media (min-width: 1240px) and (max-height: 820px) {
  .hero { padding-top: var(--s5); }
  .hero-aside { gap: var(--s4); }
  .hero .half { padding-block: 18px 22px; }
  .hero .ticket:has(> .ticket-tag) .half { padding-top: 26px; }
  .hero .ticket-stub { padding-block: 10px 12px; }
  .stage { margin-top: var(--s6); }
}
@media (max-width: 1239px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  /* One column: the headline grows with the hero's width (it is 7.1 times
     its size wide) up to the size that keeps the ticket in the first
     screen, so no screen leaves it stranded in a corner. */
  .hero h1 { font-size: clamp(var(--t-mega), 13cqw, 6rem); }
  .hero-aside { grid-column: 1; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); grid-template-rows: auto 1fr; align-items: start; gap: var(--s4) var(--s7); margin-top: var(--s6); }
  .hero-aside .lede { grid-column: 1; grid-row: 1; }
  .hero-aside .ticket { grid-column: 2; grid-row: 1 / span 2; }
  .hero-aside > .hero-more { grid-column: 1; grid-row: 2; align-self: start; margin-top: var(--s2); }
  .card-link { grid-template-columns: minmax(0, 1fr) minmax(0, 330px); grid-template-rows: auto auto auto 1fr; }
  .sent { grid-column: 1; grid-row: 4; align-self: start; justify-self: start; margin-top: var(--s6); }
  .card-link .join { grid-column: 2; grid-row: 1 / -1; }
  /* Less margin beside a narrower window: two lines of the take would cover
     too much of the game, so june's and the perk stay and sam's goes. */
  .pop-sam { display: none; }
  .pop-june { top: 42%; }
  .pop-laugh { top: 58%; }
}
/* Narrower still, june's line and the perk sticker would cover most of
   the stream, so the sticker keeps the right edge alone (a phone has its
   own). */
@media (min-width: 561px) and (max-width: 800px) {
  .pop-june, .pop-laugh { display: none; }
}
/* Narrower: the line and the release above, the computers and the phones
   side by side under it; then each group on its own row. */
@media (max-width: 1239px) {
  .get { column-gap: var(--s6); }
  .get-head { grid-template-columns: minmax(0, 1fr) auto; }
  .get-head h2 { grid-row: auto; grid-column: 1 / -1; }
  .get-head .go { justify-self: end; }
}
@media (max-width: 999px) {
  .get { grid-template-columns: minmax(0, 1fr); }
  .get-phone .get-list { display: flex; flex-wrap: wrap; gap: 4px 12px; }
}
/* On a phone the phone apps lead, and the computers follow as plain rows. */
@media (max-width: 720px) {
  .get { padding: 24px 18px; gap: var(--s5); border-radius: 22px; }
  .get-head { grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
  .get-head .go { justify-self: start; flex-wrap: wrap; }
  /* Where label and date don't fit one line, the date moves down whole. */
  .get-head [data-latest-release] { white-space: nowrap; }
  .get:not(.sorted) .get-phone { order: -1; }
  .get:not(.sorted) .get-head { order: -2; }
  .get-store { padding: 10px; }
  .get-store img { height: 40px; }
  .get-phone .get-list { gap: 4px 6px; }
  .get-computer .get-list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .get-link, .get-split { --tile-r: 14px; min-height: 0; }
  .get-link { grid-template-columns: auto auto minmax(0, 1fr) auto; grid-template-rows: none; align-items: center; align-content: center; min-height: 56px; padding: 0 16px; gap: 10px; }
  .get-link .get-mark, .get-who .get-mark { width: 22px; height: 22px; }
  .get-link .get-name, .get-link .get-spec, .get-link .get-down { grid-row: 1; grid-column: auto; margin: 0; }
  .get-down { width: 18px; height: 18px; }
  .get-who { grid-template-columns: auto auto minmax(0, 1fr); align-items: center; align-content: center; column-gap: 10px; min-height: 56px; padding: 0 16px; }
  .get-who .get-mark, .get-who .get-name, .get-who .get-spec { grid-row: 1; grid-column: auto; margin: 0; }
  .get-split .get-file { min-height: 48px; padding: 0 16px; }
  .yours-tag { right: 12px; top: -16px; }
  /* The tag hangs into its row; the row's words start below it. */
  .get-tile.yours :is(.get-link, .get-who) { padding-top: 20px; }
  .get-ubuntu .yours-tag { left: auto; right: 12px; }
  .get-badge .yours-tag { top: -16px; right: auto; left: 12px; }
}
@media (max-width: 900px) {
  .chip { grid-template-columns: minmax(0, 1fr); margin-top: var(--s7); }
}
@media (max-width: 1100px) {
  .stream-toys { flex-wrap: wrap; justify-content: flex-start; }
  /* The bill folds under its count. */
  .bill-seats { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'pick' 'bill' 'source'; }
}
/* Below this the copy's column gets too narrow for kit's line to hang beside
   the phone, so the phone moves under the copy. */
@media (max-width: 1000px) {
  .pocket { grid-template-columns: minmax(0, 1fr); }
  .film-pocket { width: min(300px, 100%); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav { grid-template-columns: auto 1fr; }
  .hero-aside { grid-template-columns: minmax(0, 1fr); row-gap: var(--s5); }
  .hero-aside .ticket, .hero-aside .lede, .hero-aside > .hero-more { grid-column: 1; grid-row: auto; }
  /* The way to the apps spans the screen under the ticket. */
  .hero-more { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 18px; }
  .hero-more .dl-button { justify-content: center; }
  /* The presence sticker hangs above the film; keep it off the Download row. */
  .stage { margin-top: 56px; }
  .streams-head { grid-template-columns: minmax(0, 1fr); }
  .settings-twin { justify-self: start; }
  .questions { grid-template-columns: minmax(0, 1fr); }
  .license { grid-template-columns: minmax(0, 1fr); }
  .license-links { grid-column: 1; grid-row: auto; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .stream-toys { flex-direction: column-reverse; align-items: flex-start; gap: var(--s4); }
  .pixels { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; width: 100%; margin: 0; rotate: 0deg; }
  .px-frame { width: 144px; height: 81px; }
  .px-grid { background-size: 48px 27px; }
  .bar { height: 64px; }
  .nav { min-height: 64px; gap: 8px; }
  .nav { --pill-w: calc(100cqw - 16px); --pill-h: 54px; --pill-in: 16px; --pill-out: 5px; }
  .wordmark { width: 4rem; }
  .nav-ctas { gap: 4px; }
  .nav-signin { padding: 0 6px; }
  .nav-demo { padding: 0 12px; }
  .key-small { padding: 0 12px; }
  .key-small .arrow { display: none; }
  .hero { padding-top: var(--s4); }
  .hero h1 { line-height: .9; letter-spacing: -.045em; }
  .hero-aside { margin-top: var(--s4); row-gap: var(--s4); }
  .lede { max-width: 21rem; }
  .ticket { --pad: 14px; }
  .half { padding-block: 16px 20px; }
  .ticket:has(> .ticket-tag) .half { padding-top: 26px; }
  .ticket-stub { padding-block: 10px 12px; }
  .hero-more { margin-top: -2px; }
  .dl-button { min-height: 52px; padding: 0 20px 0 16px; }
  .stage { margin-top: 56px; }
  .face { width: 28px; height: 28px; font-size: .625rem; }
  .pile .face:nth-child(1) { --c: #c9895e; }
  .pile .face:nth-child(2) { --c: #74ad88; }
  .proof { flex-direction: column; align-items: center; gap: 0; }
  .sent { grid-column: 1; grid-row: auto; justify-self: start; margin-top: var(--s6); }
  .card-link .join { margin-top: var(--s5); }
  .card-link { padding-right: clamp(28px, 3.2vw, 48px); }
  .card-link h2 .line { white-space: normal; }
  main > .trio { margin-top: var(--s8); }
  .license { margin-top: var(--s6); }
  .closing-light { padding-bottom: var(--s6); }
  .film-wide { width: min(100%, 420px); margin: var(--s6) 0 0 50%; }
  .film-wide .film-frame { display: grid; gap: 6px; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .tile { position: relative; overflow: hidden; aspect-ratio: 1180 / 664; border: 1px solid #383649; border-radius: 14px; background: #0f0f15; box-shadow: 0 30px 60px -26px rgb(0 0 0 / .85); }
  .tile-mirror { display: block; }
  .tile > .film-poster, .tile > video { position: absolute; inset: 0 auto auto 0; width: calc(100% * 2420 / 1180); max-width: none; height: auto; aspect-ratio: 2420 / 712; object-fit: fill; translate: calc(-100% * 24 / 2420) calc(-100% * 24 / 712); }
  .tile-mirror > .film-poster { translate: calc(-100% * 1216 / 2420) calc(-100% * 24 / 712); }
  .film-mirror { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 420ms var(--ease); }
  .film.started .film-mirror { opacity: 1; }
  .film.between .film-mirror { opacity: 0; }
  .tile-tag { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 4px 8px; color: var(--moon); font-size: .8125rem; font-weight: 700; }
  .tile-tag .mono { padding: 2px 9px; border: 1px solid rgb(255 255 255 / .12); border-radius: 999px; color: var(--mist); background: rgb(255 255 255 / .05); font-size: .72rem; font-weight: 500; }
  .trio { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .card-link { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .card-link .join { grid-column: 1; grid-row: auto; justify-self: center; width: min(300px, 100%); margin: var(--s7) 0 var(--s5); }
  .join-landed { left: -12px; }
  /* No margin beside the phone here, so the lines spill out over the
     pocket itself, under the phone. */
  .pop-coming { right: auto; left: -6px; top: calc(113.1cqw - 8px); }
  .pop-noor { left: auto; right: -6px; top: calc(113.1cqw + 52px); }
  .banner-fill { padding-block: 52px; }
  .banner h2 { flex-direction: column; align-items: center; }
  .bill-seats { padding: 24px 20px 20px; }
  /* The jar and its meter, smaller, side by side under the copy. */
  .tip { --jar-w: 140px; --glass-h: 198px; --card-w: 186px; --under-label: 52px; grid-template-areas: 'faces faces' 'jar card' 'toys toys'; }
  .jar-label { top: 38px; padding-block: 7px 8px; font-size: 1.125rem; }
  /* The stamp takes two lines, so it stays clear of the meter lapping the jar. */
  .meter-stamp { left: 45%; padding: 4px 7px; font-size: .6875rem; line-height: 1.15; text-align: center; white-space: normal; width: 7.5em; }
  .meter-card { padding: 20px 16px 14px; font-size: 14px; }
  .meter-credit { font-size: 1.6em; }
  .meter-months { gap: 5px; }
  .meter-month svg { width: 20px; height: 20px; }
  /* The receipt stands snug beside one Discord column at a time, under
     the lamp: the columns are 34, 33, and 33 percent. */
  .receipt-paper { padding: 20px 14px calc(16px + var(--zig)); }
  .rival { display: flex; flex-wrap: wrap; gap: 8px; }
  .receipt:has([value='free']:checked) .receipt-table :is(th, td):nth-child(4),
  .receipt:has([value='nitro']:checked) .receipt-table :is(th, td):nth-child(3) { display: none; }
  .lamp-stage { --pad: 8px; --zone: 156px; --shade: 92px; --mouth: 76px; --cone-top: 52px; --c1: .34; --c2: .33; }
  .receipt-table thead th:nth-child(1) { width: 34%; }
  .receipt-table thead th:nth-child(2) { width: 33%; }
  .receipt-table thead th:nth-child(n + 3) { width: 33%; }
  .receipt-table th, .receipt-table td { padding: 10px 8px; }
  .ticket-full { --pad: 16px; }
  .ticket-full .half { padding: 32px var(--pad) 22px; }
  .ticket-full .half > :is(.key, .side-button) { margin-top: var(--s5); padding-inline: 12px; }
  .ticket-both { padding: 18px var(--pad) 20px; }
  .license { padding: var(--s5); }
  .closing-light { --lift: 80px; }
  .slip { left: -6px; }
  .c-emoji { font-size: 2rem; }
  .c-chan { font-size: .8125rem; }
  .c-dot { width: 20px; height: 20px; }
  .footer { padding-block: var(--s6); }
  .footer > p { width: 100%; }
}
/* The narrowest phones: the upload puts its size under its name, so the
   name is never cut short. */
@media (max-width: 400px) {
  .file { grid-template-columns: auto minmax(0, 1fr); row-gap: 2px; }
  .file svg { grid-row: 1 / span 2; align-self: start; margin-top: 1px; }
  .file-size { grid-column: 2; }
  /* The receipt's two value columns take room from the labels, and its type
     steps down, so "characters" or "$0.30/seat" fits a cell instead of
     breaking mid-word. The lamp's beam follows the new column edges. */
  .lamp-stage { --c1: .306; --c2: .347; }
  .receipt-table thead th:nth-child(1) { width: 30.6%; }
  .receipt-table thead th:nth-child(n + 2) { width: 34.7%; }
  .receipt-table, .receipt-table tfoot :is(th, td) { font-size: var(--t-small); }
  .receipt-table th, .receipt-table td { padding-inline: 4px; }
  .receipt-table thead th { letter-spacing: 0; }
}
/* A phone shows the phone's take; anything wider, the window's. */
@media (max-width: 560px) {
  .film-window { display: none; }
  .film-phone { display: block; width: min(300px, 78%); margin-inline: auto; }
  .film-phone .film-frame { border-radius: 26px; transform: perspective(1400px) rotateX(10deg) rotateZ(-2deg); transform-origin: 50% 0; }
  /* The tilt brings the phone's foot forward; its caption clears it. */
  .film-phone figcaption { margin-top: 232px; padding-inline: 8px; text-align: center; }
  /* On the phone two stickers lean with it and hang off its top edge, where
     the take has only its own dark margin, so every row of the app stays
     readable while it plays; the take shows june's line itself. */
  .pops { width: min(300px, 78%); aspect-ratio: 1 / 2; transform: perspective(1400px) rotateX(10deg) rotateZ(-2deg); }
  .pop { font-size: .8125rem; padding: 8px 12px 9px 8px; gap: 8px; }
  .pop-online { left: -14px; top: -42px; }
  .pop-online .for-wide { display: none; }
  .pop-online .for-phone { display: inline-flex; }
  .pop-sam, .pop-june { display: none; }
  /* The phone's take fills its frame with chat, so the perk hangs under
     the frame, where its caption steps down to make room. */
  .pop-perk { top: calc(100% + 6px); bottom: auto; right: -10px; width: 196px; padding: 6px; border-radius: 14px; rotate: 4deg; }
  .look.look-mini { --u: .6px; }
  .perk-name { margin: 0 2px 5px; font-size: .9375rem; }
  .pop-laugh { right: -2px; top: -36px; font-size: 2.5rem; }
}
@media (max-width: 360px) {
  .nav-demo { display: none; }
  /* The jar and its meter fit inside the gutters together; the meter laps
     the jar less, so the jar's name stays clear of it. */
  .tip { --jar-w: 118px; --glass-h: 168px; --card-w: 160px; }
  .meter-card { margin-left: -8px; padding-inline: 12px; }
  /* Three tiles to a row leave "constellation" a few pixels short; the
     tiles' inner padding gives them back so no label hyphenates. */
  .look-picks .lk-choice { padding-inline: 2px; }
  .look-picks .lk-label { font-size: calc(.76 * var(--rem)); hyphens: manual; }
  /* The headline keeps to the screen: its words scale with it. */
  .hero h1 { font-size: 13cqw; }
}
/* The page's rhythm on wide screens: the two-column chapters trade sides
   (copy left and its object right, then the object left and its copy
   right), each column's text still left-aligned. Chapters whose object
   reads on from the copy keep their order: the link card's sent path, the
   bill comparison, the questions under their heading. Two poster beats
   centre to break the column: the banner and the pricing heading. Phones
   stack everything as before. */
@media (min-width: 901px) {
  .streams-head { grid-template-columns: auto minmax(0, 1fr); }
  .streams-head > div { grid-column: 2; grid-row: 1; }
  .streams-head > .stream-toys { grid-column: 1; grid-row: 1; }
  .pricing > .chapter-head { margin-inline: auto; text-align: center; }
  .pricing > .chapter-head h2 { text-wrap: balance; }
}
@media (min-width: 1001px) {
  .pocket { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); }
  .pocket > .pocket-copy { grid-column: 2; grid-row: 1; }
  .pocket > .film-pocket { grid-column: 1; grid-row: 1; justify-self: start; }
  /* With the phone on the left, kit's message hangs off its right side,
     into the gap before the copy, instead of off the page. */
  .pocket .pop-coming { right: auto; left: calc(88cqw - 4px); }
  .pocket-pops .pop-coming { --from: -120px 80px; }
  /* The copy's pieces use its whole width: the channel row at its left,
     the call bar out at its right edge, the badges under them, so the
     chapter fills its width like its neighbours. */
  .pocket-bits { justify-content: space-between; }
  /* The phone's light stays inside the column too. */
  .film-pocket .film-glow { left: -9%; width: 118%; }
}
/* Wider, the phone and its pocket grow into their column, and the cut-outs
   grow with them. */
@media (min-width: 1240px) {
  /* The column keeps room for kit's message, which hangs off the phone's
     right side, short of the copy. */
  .pocket { grid-template-columns: minmax(0, 500px) minmax(0, 1fr); }
  .film-pocket { width: min(430px, 100%); }
  .pocket .bit-card { font-size: 1.0625rem; }
  .pocket .bit-list .bit-card { width: 272px; padding: 13px 13px 15px; }
  .pocket .bit-people { gap: 12px; font-size: .9375rem; }
  .pocket .bit-btn { width: 50px; height: 46px; }
  .pocket .bit-btn svg { width: 22px; height: 22px; }
  .pocket .bit-tag { font-size: .875rem; }
}

