/* web/web.css — the website's look (contract 6.3): the app's colours (native/lib/theme.js), then each part's styles.
   No font file (the system's type), no url() but data: ones, the drawn faces (/av/) and the front door's photos
   (/web/img/front/, docs/builds/contracts/2026-10-30-x-front-door.md); no transition. Three animations: the door's
   shimmer, stopped under reduced motion, and the front door's two rotations (its photos on a computer, its cards on a
   phone), which run only under prefers-reduced-motion: no-preference and pause behind a door.

   CONTRAST: tests/weblight.page.logic.test.js (PG5) computes each pair below with WCAG's formula, from the tokens in
   :root: words at 4.5:1 or more, edges and glyphs that carry meaning at 3:1. A ground written A@a+B is A at alpha a
   over B. One pair a line: "words|edges <ink> on <ground>[, <ground> ...]".
   words --ink on --bg, --card, --card2, --door-a, --door-b
   words --dim on --bg, --card, --card2
   words --lifted on --bg, --card
   words --link on --bg, --door-a, --door-b
   words --shine on --door-a, --door-b
   words --on-accent on --accent
   words --on-button on --button
   words --amber on --bg, --surface
   words --on-plum on --plum
   words --on-plum-dim on --plum
   words --on-plum-faint on --plum
   words --ink on --surface
   words --dim on --surface
   words --lifted on --surface
   edges --accent on --bg, --door-a, --door-b, --card2, --surface
   A HANG'S OWN (web/look.js, the app's ladder): --hang, --on-hang, --wash, --wash-rim, --wash-head, --inv-top and
   --inv-mid are set on each hang's card and page from that hang's colour, and :root holds the ladder's grey's
   (VIBE_COLORS.anything). PG5 computes each pair that names one again over every colour the ladder can give: the kits'
   palette, the vibes' and the host's twelve (native/lib/looks.js).
   words --wash-head on --wash
   words --ink on --wash
   words --dim on --wash
   words --spots on --wash
   edges --hang on --surface
   edges --focus on --wash
   words --on-hang on --hang
   edges --hang on --bg
   words --wash-head on --inv-top
   words --ink on --inv-top
   words --dim on --inv-top
   edges --focus on --inv-top
   words --amber on --host-tag
   edges --amber on --bg
   words --ink on --accent@0.12+--card
   words --ink on --accent@0.14+--card
   edges --lifted on --card2
   edges --accent on --accent@0.14+--card
   edges --on-button on --accent
   edges --amber on --plum
   edges --free on --plum
   edges --focus on --plum, --surface
   HOME'S OWN GROUND (#249): --plum is the person's Home background, any of the library's (native/lib/homeBg.js
   HOME_COLORS and GRADIENTS); :root holds the default. Every "on --plum" pair, and the focus ring and the marks
   (--home-amber, --home-free, --home-hang, --home-soon) there, ranges over every ground and every stop of a gradient:
   tests/webhometop.logic.test.js HT2 checks them (web/hometop.js picks the ground's ink where a colour would fall short).
   edges --link on --accent@0.18+--door-a, --accent@0.18+--door-b
   edges --focus on --bg, --card, --door-a, --door-b
   edges --faint on --bg
   words --accent on --card
   edges --lifted on --card
   edges --accent on --card
   THE FRONT DOOR: its card is solid --card (C3); over the photo its words are tests/frontdoor.logic.test.js's (FD8,
   the shade over pure white); on a phone they sit on --bg.
   words --link on --card
   words --free on --bg
   words --sub on --bg
*/

:root {
  --bg: #0d0d0f;            /* C.bg */
  --card: #161618;          /* C.card */
  --card2: #1f1f23;         /* C.card2 */
  --surface: #0a0a0c;       /* C.surface */
  --line: #27272a;          /* C.border */
  --ink: #f5f5f5;           /* C.ink */
  --dim: #b4bac2;           /* C.inkDim */
  --lifted: #7c8293;        /* C.inkLifted: small grey words, never C.inkFaint (3.93:1 on C.bg) */
  --faint: #6a7081;         /* C.inkFaint: a glyph only (the head's cluster, #249), never words */
  --accent: #3b82f6;        /* C.accent */
  --link: #8ab4f8;          /* C.link */
  --on-accent: #0b0b0d;     /* sectionStyles onAccent: words on the accent */
  --button: #2563eb;        /* a filled button: white words hold 5.17:1 here, 3.68:1 on the accent (D18 8.13) */
  --on-button: #ffffff;     /* C.accentInk */
  --amber: #f59e0b;         /* C.amber: sign-in's error line (Login.js err), "asked", the invites' dot */
  --free: #22c55e;          /* C.free: "join your tribe"'s dot; "free" in the front door's headline */
  --sub: #e4e6ea;           /* the front door's sub line, over its photo's shade (the drawing's) */
  --spots: #848a98;         /* the invite card's spots line (native/lib/inviteLook.js INVITE_SPOTS) */
  --hang: #7c879b;          /* a hang's own colour (web/look.js hangColor), set on its card; here the ladder's grey */
  --wash: #16171b;          /* an invite card's wash: the hang's colour at 26/255 on the well (inviteSkin's bg) */
  --wash-rim: #3a3e48;      /* its rim (inviteSkin's rim) */
  --wash-head: #a3abb9;     /* its headline: the colour lifted only as far as 4.5:1 on the wash needs (inviteSkin's head) */
  --on-hang: #0b0b0d;       /* words on a hang's colour (onHang: near-black on a light one, white on a dark one) */
  --inv-top: #25282e;       /* the invite page's wash at its top: the hang's colour at 0x3d on the well (Invite.js:253) */
  --inv-mid: #121316;       /* and at 55%: the colour at 0x12 on the well */
  --host-tag: #2a2214;      /* the host's tag (HangPageWho.js pjHost), its words C.amber */
  --host-tag-edge: #5c4a1d; /* its edge */
  --plum: #0d0d0f;          /* Home's ground: the person's own (#249, web/hometop.js groundVars sets these four on .home
                               from profiles.prefs); here the app's default, homeBg.js DEFAULT_BG, until it is read */
  --on-plum: #f5f5f5;       /* the ground's ink (onBgInk: the dark set's C.ink) */
  --on-plum-dim: #b4bac2;   /* its dim ink (C.inkDim) */
  --on-plum-faint: #7c8293; /* its faint ink for small words: C.inkLifted on a dark ground (the band headers) */
  --door-a: #303566;        /* the door's gradient: indigo's light end (tribeLook.js) */
  --door-b: #1b2437;        /* to navy's dark one */
  --door-edge: #555982;     /* indigo's light end lifted .18 (the mock's TAPE_EDGE) */
  --shine: #e3edff;         /* the shimmer's peak */
  --focus: #8ab4f8;         /* the focus ring: 2px, 2 out (6.3) */
  --col: 480px;             /* a computer: one column, centred (guess) */
  --side: 16px;             /* the card's room from the column's edge (12 under 360 wide) */
  --tabbar-h: 0px;          /* the shell's tab bar, when the page has one */
}
@media (max-width: 359px) {
  :root { --side: 12px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.35 -apple-system, system-ui, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input, textarea { font: inherit; color: inherit; }
a { color: var(--link); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
[tabindex="-1"]:focus { outline: none; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.g { display: block; flex: none; }
/* words for a screen reader only */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---- faces (D15): a drawn avatar over its initial ---- */
.face {
  position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none;
  border-radius: 50%; overflow: hidden; background: var(--card2); color: var(--dim); font-weight: 800; line-height: 1;
}
.face img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ---- the door (D12; 6.3): the approved mock's peek card ---- */
.dcard {
  position: relative; z-index: 1;
  margin: auto var(--side);
  border: 1px solid var(--door-edge); border-radius: 18px;
  padding: 26px 14px 14px;
  background: linear-gradient(155deg, var(--door-a), var(--door-b));
  display: flex; flex-direction: column;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .55);
}
.dcard > * { flex: none; margin: 0; }
/* the door's words (the tape, the headline, each perk) are fixed copy: one line at the default size, and larger text
   wraps rather than clips (a11y-4). The tape is the card's first child, in its flow where it used to be placed: 13
   above and 8 left of the card's padding corner (26 - 39, 14 - 22), and a line of it takes no room (-39 + 28 + 11),
   so the headline is still 26 below the card's top. Wrapped, it pushes the headline down rather than covering it (re-2) */
.dcard .tape {
  position: relative; align-self: flex-start; margin: -39px 0 11px -22px;
  transform: rotate(-2deg); border-radius: 3px; padding: 5px 14px; max-width: 88%;
  background: var(--accent); color: var(--on-accent);
  font-size: 15px; font-weight: 800; line-height: 18px; letter-spacing: -.2px;
  overflow-wrap: anywhere;
}
.adh {
  font-size: 19px; font-weight: 800; line-height: 24px; letter-spacing: -.4px; color: var(--ink);
  overflow-wrap: anywhere;
}
.pks { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pk { min-height: 30px; display: flex; align-items: center; gap: 10px; min-width: 0; }
.ptile {
  width: 30px; height: 30px; border-radius: 15px; flex: none;
  background: rgba(59, 130, 246, .18); color: var(--link);
  display: flex; align-items: center; justify-content: center;
}
.pw {
  min-width: 0; font-size: 14px; font-weight: 700; line-height: 18px; color: var(--ink);
  overflow-wrap: anywhere;
}
/* "download the app": the words, the accent bar 5 under them; the whole of it a 44 target, 14 under the perks */
.cl {
  align-self: flex-start; display: inline-flex; flex-direction: column; align-items: flex-start;
  margin: 7px 0 -7px; padding: 7px 0; min-height: 44px;
  font-size: 16px; font-weight: 800; line-height: 22px; color: var(--link); text-decoration: none;
}
.dcard > .cl { margin: 7px 0 -7px; }
.shim { display: inline-block; color: var(--link); white-space: nowrap; }
.ubar { display: block; width: 28px; height: 3px; margin-top: 5px; border-radius: 2px; background: var(--accent); }
/* the quiet line under the bar: "sign out" on the you door; on a computer, the two stores by name */
.op {
  align-self: flex-start; display: inline-block; min-height: 44px;
  padding: 12px 0; margin: 0 0 -12px; border: 0; background: none; cursor: pointer;
  font-size: 14px; font-weight: 700; line-height: 20px; color: var(--link); text-decoration: none; white-space: nowrap;
}
.dcard > .op { margin: 0 0 -12px; }
.dcard > .stores { display: flex; gap: 16px; margin: 0 0 -12px; }
.stores .op { margin: 0; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .shim {
    background: linear-gradient(100deg, var(--link) 0, var(--link) 40%, var(--shine) 50%, var(--link) 60%, var(--link) 100%);
    background-size: 300% 100%; background-position: 100% 0;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: shim 3s ease-in-out infinite;
  }
}
@keyframes shim { 0% { background-position: 100% 0; } 60%, 100% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) {
  .shim { animation: none; background: none; -webkit-text-fill-color: var(--link); }
}
@media (max-width: 359px) {
  .pw { font-size: 13px; }
}

/* a door page (the three tabs, a free post): the app's page drawn behind, the card centred between the top and the
   tab bar */
.door-page {
  position: relative; overflow: hidden;
  min-height: calc(100vh - var(--tabbar-h)); min-height: calc(100dvh - var(--tabbar-h));
  display: flex; flex-direction: column; padding: 24px 0;
}
.ghost {
  position: absolute; left: 50%; top: 0; width: 390px; margin-left: -195px; overflow: hidden;
  filter: blur(3px); opacity: .4; pointer-events: none; z-index: 0;
}
.ghost i { position: absolute; display: block; }

/* a dialog door over its real page: the page behind blurred and dimmed, the blurred page one button named "close" */
#layer { position: fixed; left: 0; right: 0; top: 0; bottom: var(--tabbar-h); z-index: 20; }
#layer[hidden] { display: none; }
.layer-in {
  position: relative; width: 100%; max-width: var(--col); height: 100%; margin: 0 auto;
  display: flex; flex-direction: column; overflow-y: auto; padding: 24px 0;
}
.scrim {
  position: fixed; left: 0; right: 0; top: 0; bottom: var(--tabbar-h);
  margin: 0; padding: 0; border: 0; background: transparent; cursor: default;
}
.scrim:focus-visible { outline: 2px solid var(--focus); outline-offset: -4px; }
/* each part of the view, not the view itself: a filter on it would pin the fixed circle to it, not to the window */
.behind > * { filter: blur(3px); opacity: .4; }

/* ---- sign-in (D4; 6.3): Login.js's styles (387-437), 10 between its parts; in the front door's slot, which places
   it (the column and its centring are the slot's since the front door) ---- */
.signin { display: flex; flex-direction: column; width: 100%; }
.signin > * { margin: 0; }
.signin > * + * { margin-top: 10px; }
/* "sign in": the card's heading on a computer, for a screen reader only on a phone (below) */
.signin .si-h { margin-bottom: 12px; font-size: 24px; font-weight: 800; line-height: 30px; letter-spacing: -.3px; color: var(--ink); }
.signin .code-title { font-size: 22px; font-weight: 800; line-height: 28px; color: var(--ink); }
.signin .tag { font-size: 13px; line-height: 16px; color: var(--dim); margin-bottom: 20px; overflow-wrap: anywhere; }
.signin-form { display: flex; flex-direction: column; }
.signin .label { font-size: 13px; line-height: 16px; color: var(--dim); }
.signin .field {
  width: 100%; margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--card2); color: var(--ink); font-size: 17px; line-height: 21px;
}
/* the hint in C.inkDim: the app's C.placeholder is 3.3:1 on the field, and C.inkLifted 4.28:1 */
.signin .field::placeholder { color: var(--dim); opacity: 1; }
.signin .btn {
  width: 100%; margin: 8px 0 0; padding: 15px 0; border: 0; border-radius: 12px; cursor: pointer;
  background: var(--button); color: var(--on-button); font-size: 16px; font-weight: 700; line-height: 19px;
}
.signin .btn[aria-disabled="true"] { opacity: .6; cursor: default; }
/* the human check: the widget 300 by 65 in its 86 box, centred; "reload the check" 6 under it */
.turn { margin-top: 12px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.turn-box { width: 100%; height: 86px; display: flex; align-items: center; justify-content: center; }
.reload {
  margin: -14px 0; padding: 14px 12px; border: 0; background: none; cursor: pointer;
  font-size: 12px; line-height: 16px; color: var(--lifted);
}
/* the app's link style, 14 above (its target 44 tall, the words where the app draws them) */
.signin .link, .turn .link {
  align-self: center; display: block; margin: 10.5px 0 -13.5px; padding: 13.5px 8px; min-height: 44px;
  border: 0; background: none; cursor: pointer; text-align: center; text-decoration: none;
  font-size: 14px; font-weight: 600; line-height: 17px; color: var(--link);
}
.turn .link { margin: 0 0 -13.5px; }
.turn .link[aria-disabled="true"] { opacity: .5; cursor: default; }
.signin > .err { margin-top: 20px; text-align: center; font-size: 13.5px; font-weight: 700; line-height: 18px; color: var(--amber); }
.signin > .err:empty, .signin > .retry:empty { margin-top: 0; }
.err-t { display: block; }
.signin > .retry { display: flex; justify-content: center; }
.signin > .retry .btn { width: auto; margin: 0; padding: 12px 22px; }
/* "new here? download the app": an outlined button's look, a link (the drawing's) */
.signin > .out {
  margin-top: 18px; display: block; padding: 13px 0; border: 1px solid var(--accent); border-radius: 12px;
  text-align: center; text-decoration: none; font-size: 15px; font-weight: 700; line-height: 18px; color: var(--link);
}
.signin > .foot { margin-top: 22px; text-align: center; font-size: 11px; line-height: 16.5px; color: var(--lifted); }
.foot a { color: var(--link); font-weight: 600; text-decoration: none; }
/* the code: one input over the app's six boxes (8 apart, the digits 22/800); a tap on a box is a tap on the input */
.boxes { position: relative; margin-top: 16px; }
.box-row { display: flex; justify-content: center; gap: 8px; }
.box {
  width: 42px; height: 52px; border: 1px solid var(--line); border-radius: 11px; background: var(--card2);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); font-size: 22px; font-weight: 800; line-height: 26px;
}
.box.on, .box.full { border-color: var(--accent); }
.code-in {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0;
  background: transparent; color: transparent; caret-color: transparent; font-size: 16px; opacity: .02;
}
/* the input is all but invisible, so its focus ring is drawn around the boxes */
.boxes:focus-within .box-row { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 12px; }
.resend { margin-top: 16px; text-align: center; font-size: 13px; line-height: 16px; color: var(--lifted); }
.resend b { color: var(--dim); font-weight: 700; }
@media (max-width: 359px) {
  .box-row { gap: 6px; }
  .box { width: 38px; }
}

/* ---- the front door (docs/builds/contracts/2026-10-30-x-front-door.md, section 6): the frame round sign-in. A phone
   (under 1024): the logo bar, three tilted hang cards, the headline, sign-in, in a 480 column. A computer: a full-bleed
   photo under the shade, the logo top left, the headline and its sub bottom left, sign-in's solid card on the right
   (C3). Every photo and face is a background: a computer's only under its width, a phone's only under its, and a
   photo only the rotation shows only once web/front.js sets data-more (C6, C11) ---- */
.front { position: relative; width: 100%; max-width: var(--col); margin: 0 auto; overflow-x: clip; }
.front > * { margin: 0; }
.flogo { display: flex; align-items: center; gap: 10px; padding: 8px var(--side) 0; }
.flogo-i { display: block; flex: none; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 9px; }
.flogo-n { font-size: 22px; font-weight: 800; line-height: 28px; letter-spacing: -.5px; color: var(--ink); }
.fhero { display: none; }
.fhead { padding: 24px var(--side) 0; font-size: 28px; font-weight: 800; line-height: 34px; letter-spacing: -.6px; color: var(--ink); text-wrap: balance; }
.free { color: var(--free); }
.fsub { display: none; }
.fslot { margin-top: 22px; padding: 0 var(--side); }
/* the cards' strip, the drawing's at 390 with 5 more on each side, so the tilted cards' boxes keep 5 inside it;
   scaled down under 402 wide (one unit a CSS px at 402 and up) */
.fcards { --u: min(1px, 100vw / 402); position: relative; width: calc(402 * var(--u)); height: calc(250 * var(--u)); margin: 14px auto 0; }
.fcard {
  position: absolute; width: calc(118 * var(--u)); overflow: hidden;
  border: 1px solid var(--line); border-radius: calc(14 * var(--u)); background: var(--card);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
}
.fc-a { left: calc(17 * var(--u)); top: calc(30 * var(--u)); transform: rotate(-7deg); z-index: 1; }
.fc-b { left: calc(141 * var(--u)); top: calc(10 * var(--u)); transform: rotate(2deg); z-index: 2; }
.fc-c { left: calc(265 * var(--u)); top: calc(34 * var(--u)); transform: rotate(8deg); z-index: 3; }
/* a card's three hangs, one over the other: the first shown, the others waiting (each hang's photo and words one layer) */
.fhang { background: var(--card); opacity: 0; }
.fhang:first-child { position: relative; opacity: 1; }
.fhang + .fhang { position: absolute; left: 0; right: 0; top: 0; bottom: 0; }
.fph { display: block; height: calc(120 * var(--u)); background: var(--card2) center / cover no-repeat; }
.fbody { display: flex; flex-direction: column; align-items: flex-start; gap: calc(4 * var(--u)); padding: calc(8 * var(--u)) calc(10 * var(--u)) calc(10 * var(--u)); }
.fhost { display: flex; align-items: center; gap: calc(5 * var(--u)); max-width: 100%; font-size: calc(11 * var(--u)); line-height: calc(18 * var(--u)); color: var(--ink); white-space: nowrap; }
.fface { display: block; flex: none; width: calc(18 * var(--u)); height: calc(18 * var(--u)); border-radius: 50%; background: var(--card2) center / cover no-repeat; }
.fwhen { color: var(--dim); }
.ftitle { font-size: calc(14 * var(--u)); font-weight: 700; line-height: calc(18 * var(--u)); color: var(--ink); white-space: nowrap; }
.fchip {
  display: inline-flex; align-items: center; gap: calc(5 * var(--u)); padding: calc(4 * var(--u)) calc(9 * var(--u));
  border: 1px solid var(--line); border-radius: 999px; background: var(--card2);
  font-size: calc(11 * var(--u)); font-weight: 700; line-height: calc(13 * var(--u)); color: var(--dim); white-space: nowrap;
}
.fchip.in { border-color: var(--button); background: var(--button); color: var(--on-button); }
.fdot { display: block; flex: none; width: calc(8 * var(--u)); height: calc(8 * var(--u)); border-radius: 50%; background: var(--accent); }
/* the photo's layers and the shade over them (13,13,15 is --bg) */
.hl, .fshade { position: absolute; left: 0; right: 0; top: 0; bottom: 0; }
.hl { background-size: cover; background-repeat: no-repeat; opacity: 0; }
.hl-dinner { opacity: 1; background-position: 50% 15%; }
.hl-brunch { background-position: 50% 40%; }
.hl-games { background-position: 50% 40%; }
.hl-karaoke { background-position: 50% 40%; }
.fshade {
  background:
    linear-gradient(90deg, rgba(13, 13, 15, .88) 0%, rgba(13, 13, 15, .55) 38%, rgba(13, 13, 15, .15) 62%, rgba(13, 13, 15, .6) 100%),
    linear-gradient(0deg, rgba(13, 13, 15, .85) 0%, rgba(13, 13, 15, 0) 45%),
    linear-gradient(180deg, rgba(13, 13, 15, .7) 0%, rgba(13, 13, 15, 0) 35%),
    radial-gradient(ellipse 60% 55% at 100% 0%, rgba(13, 13, 15, .85) 0%, rgba(13, 13, 15, 0) 100%);
}
@media (max-width: 359px) {
  .fhead { font-size: 24px; line-height: 30px; letter-spacing: -.5px; }
}
@media (max-width: 1023px) {
  /* "sign in" for a screen reader only (.vh's rule) */
  .signin .si-h { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  /* the first view's three hangs: their photos and faces */
  .fh-picnic .fph { background-image: url("/web/img/front/card-picnic.webp"); }
  .fh-picnic .fface { background-image: url("/av/cave-f4.svg"); }
  .fh-pizza .fph { background-image: url("/web/img/front/card-pizza.webp"); }
  .fh-pizza .fface { background-image: url("/av/crit-15.svg"); }
  .fh-cards .fph { background-image: url("/web/img/front/card-cards.webp"); }
  .fh-cards .fface { background-image: url("/av/cave-f9.svg"); }
}
@media (max-width: 1023px) and (prefers-reduced-motion: no-preference) {
  /* the six only the rotation shows, once they are in */
  .front[data-more] .fh-hike .fph { background-image: url("/web/img/front/card-hike.webp"); }
  .front[data-more] .fh-hike .fface { background-image: url("/av/crit-22.svg"); }
  .front[data-more] .fh-karaoke .fph { background-image: url("/web/img/front/card-karaoke.webp"); }
  .front[data-more] .fh-karaoke .fface { background-image: url("/av/cave-f9.svg"); }
  .front[data-more] .fh-hoops .fph { background-image: url("/web/img/front/card-hoops.webp"); }
  .front[data-more] .fh-hoops .fface { background-image: url("/av/cave-m3.svg"); }
  .front[data-more] .fh-latte .fph { background-image: url("/web/img/front/card-latte.webp"); }
  .front[data-more] .fh-latte .fface { background-image: url("/av/crit-3.svg"); }
  .front[data-more] .fh-bikes .fph { background-image: url("/web/img/front/card-bikes.webp"); }
  .front[data-more] .fh-bikes .fface { background-image: url("/av/crit-15.svg"); }
  .front[data-more] .fh-pool .fph { background-image: url("/web/img/front/card-pool.webp"); }
  .front[data-more] .fh-pool .fface { background-image: url("/av/cave-f4.svg"); }
}
@media (min-width: 1024px) {
  /* the left column 64 in (less between 1024 and 1440), the card 96 from the right (less there too) */
  .front {
    --fl: clamp(40px, 4.44vw, 64px); --fr: clamp(32px, 6.67vw, 96px);
    max-width: none; min-height: 100vh;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto auto;
  }
  .flogo, .fhead, .fsub, .fslot { position: relative; z-index: 1; }
  .flogo { grid-area: 1 / 1; gap: 12px; padding: 48px 0 0 var(--fl); }
  .flogo-i { width: 52px; height: 52px; border-radius: 12px; }
  .flogo-n { font-size: 28px; line-height: 34px; }
  .fhero { display: block; position: absolute; left: 0; right: 0; top: 0; bottom: 0; overflow: hidden; background: var(--bg); }
  .fcards { display: none; }
  /* 66 at 1440, smaller down to 1024, so its right end never reaches the card (FDM2) */
  .fhead { grid-area: 3 / 1; padding: 0 0 0 var(--fl); font-size: clamp(35px, calc(7.45vw - 41.3px), 66px); line-height: 1.05; letter-spacing: -1.2px; }
  .fsub { display: block; grid-area: 4 / 1; margin-top: 14px; padding: 0 0 80px var(--fl); font-size: 20px; line-height: 26px; color: var(--sub); }
  .fslot {
    grid-area: 1 / 2 / 5 / 3; align-self: center; width: 480px; margin: 48px var(--fr) 48px 24px; padding: 40px;
    border: 1px solid var(--line); border-radius: 22px; background: var(--card); box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  }
  /* the first view's photo */
  .hl-dinner { background-image: url("/web/img/front/hero-dinner.webp"); }
}
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  /* the three only the rotation shows, once they are in */
  .front[data-more] .hl-brunch { background-image: url("/web/img/front/hero-brunch.webp"); }
  .front[data-more] .hl-games { background-image: url("/web/img/front/hero-games.webp"); }
  .front[data-more] .hl-karaoke { background-image: url("/web/img/front/hero-karaoke.webp"); }
}
/* the two rotations (the drawing's): four photos, one turn every 6.5 s with a 0.9 s fade; nine hangs, one card every
   3 s with a 0.9 s fade, a hang's photo and words one layer. Only once the photos are in (data-more), never under
   reduced motion, and paused behind a door */
@keyframes turn4 { 0% { opacity: 1; } 21.54% { opacity: 1; } 25% { opacity: 0; } 96.54% { opacity: 0; } 100% { opacity: 1; } }
@keyframes turn3 { 0% { opacity: 1; } 30% { opacity: 1; } 33.33% { opacity: 0; } 96.67% { opacity: 0; } 100% { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .front[data-more] .fhero .rot { animation: turn4 26s ease-in-out infinite; }
  .front[data-more] .fhero .hl-brunch { animation-delay: -19.5s; }
  .front[data-more] .fhero .hl-games { animation-delay: -13s; }
  .front[data-more] .fhero .hl-karaoke { animation-delay: -6.5s; }
  .front[data-more] .fcard .rot { animation: turn3 27s ease-in-out infinite; }
  .front[data-more] .fcard .fh-picnic { animation-delay: -6s; }
  .front[data-more] .fcard .fh-hike { animation-delay: -24s; }
  .front[data-more] .fcard .fh-karaoke { animation-delay: -15s; }
  .front[data-more] .fcard .fh-pizza { animation-delay: -3s; }
  .front[data-more] .fcard .fh-hoops { animation-delay: -21s; }
  .front[data-more] .fcard .fh-latte { animation-delay: -12s; }
  .front[data-more] .fcard .fh-cards { animation-delay: 0s; }
  .front[data-more] .fcard .fh-bikes { animation-delay: -18s; }
  .front[data-more] .fcard .fh-pool { animation-delay: -9s; }
}
/* behind a door: more specific than the rotations' own rules, whose animation shorthand resets the play state */
.behind .front[data-more] .fhero .rot, .behind .front[data-more] .fcard .rot { animation-play-state: paused; }

/* ---- Home (D8; 6.3; #249): the person's own ground (web/hometop.js groundVars: --plum the colour, --home-bg a
   gradient, the inks --plum's set; its pattern the layer .home-pat behind the content), the top half over the whole
   width, then the column centred on it, room left under it for the tab bar and the circle ---- */
.home {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100dvh;
  padding: 0 0 calc(var(--tabbar-h) + 96px);
  background-color: var(--plum);
  background-image: var(--home-bg, none);
}
.home-pat { position: absolute; left: 0; top: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hcol { padding: 8px max(var(--side), calc(50% - var(--col) / 2 + var(--side))) 0; }
/* the top half (the mock web-home.mjs, from HomeHead.js dormant and HomeStrip.js): the band, C.bg with a C.border line
   under it, 87 tall (plate.js HEAD_H.dormant: 16 + 56 + 14 + 1), 18 in; the 56 ring, 14 to the line 16/800 in C.ink,
   the cluster's two 26 cells 4 apart, their glyphs 19 in C.inkFaint; then the faces, 76 tall, 13 down, 20 in, 50 slots
   10 apart */
.ht-band { background: var(--bg); border-bottom: 1px solid var(--line); }
.ht-head { height: 86px; padding: 16px max(18px, calc(50% - var(--col) / 2 + 18px)) 0; }
.ht-b1 { height: 56px; display: flex; align-items: center; gap: 14px; }
.ht-ring { position: relative; flex: none; width: 56px; height: 56px; }
.ht-core { position: absolute; left: 5px; top: 5px; width: 46px; height: 46px; border-radius: 23px; overflow: hidden; background: rgba(0, 0, 0, .4); }
.ht-core .face { background: transparent; }
.ht-rim { position: absolute; left: 0; top: 0; }
.ht-notch { position: absolute; left: 34.74px; top: -2.74px; width: 24px; height: 24px; border-radius: 12px; background: var(--bg); }
.ht-notch i {
  position: absolute; left: 2px; top: 2px; width: 20px; height: 20px; border-radius: 10px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .42); font-style: normal;
}
.ht-ne { font-size: 13px; line-height: 16px; }
.ht-cc { flex: 1; min-width: 0; margin: 0; }
.ht-l1 { display: block; min-width: 0; margin: 0; color: var(--ink); font-size: 16px; font-weight: 800; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* #249 go free (web-free.mjs): dormant, the head is one button, its focus ring inside the band (--focus BAND_FOCUS);
   free and arming, the ring is. No motion */
.ht-go { display: block; width: 100%; margin: 0; border: 0; border-radius: 0; background: none; text-align: left; cursor: pointer; }
.ht-go:focus-visible { outline-offset: -3px; }
.ht-ringbtn { display: block; margin: 0; padding: 0; border: 0; border-radius: 28px; background: none; cursor: pointer; }
/* lit: the plate (plateFor, in the markup), the flood behind your figure, l2 (HomeHead.js:658-661) */
.ht-lit { position: relative; overflow: hidden; }
.ht-lit .ht-b1 { position: relative; }
.ht-plate { position: absolute; inset: 0; pointer-events: none; }
.ht-flood { position: absolute; inset: 0; }
.ht-core .face { position: relative; }
.ht-l2 { display: flex; align-items: center; gap: 5px; height: 18px; min-width: 0; margin-top: 2px; }
.ht-l2 b { min-width: 0; color: var(--ink); font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ht-clu { flex: none; display: flex; align-items: center; gap: 4px; }
.ht-clu svg { stroke: var(--faint); }
.ht-cell { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; }
.ht-strip {
  list-style: none; margin: 0; height: 76px; overflow: hidden;
  display: flex; align-items: flex-start; gap: 10px; padding: 13px max(20px, calc(50% - var(--col) / 2 + 20px)) 0;
}
.ht-fc { position: relative; flex: none; width: 50px; height: 50px; border-radius: 25px; }
.ht-fc .face { position: absolute; left: 5px; top: 5px; }
.ht-fring { position: absolute; inset: 0; border: 2px solid; border-radius: 25px; }
.ht-bead { position: absolute; top: -2px; right: -2px; width: 18px; height: 18px; border-radius: 9px; background: var(--plum); }
.ht-bead i { position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 7px; }
:where(.home) :where(p, h2, h3) { margin: 0; }   /* no weight of its own: each part sets its own room */
.stretch { text-decoration: none; }
.stretch::after { content: ""; position: absolute; inset: 0; }
/* your hangs: the app's docked rows (HomeDocked.js): 44 tall, the emoji or the host's face 24, the name 15/700, the
   glyph and "hosting"/"going" · the time in the dim ink, a line under each */
.rows { list-style: none; margin: 0 0 4px; padding: 0; }
.row {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 2px;
  border-bottom: 1px solid rgba(255, 255, 255, .14); color: var(--on-plum); text-decoration: none;
}
.remoji { flex: none; width: 24px; text-align: center; font-size: 20px; line-height: 24px; }
.rname { flex: 1; min-width: 60px; font-size: 15px; font-weight: 700; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rwhen { display: flex; align-items: center; gap: 5px; flex-shrink: 1; min-width: 0; color: var(--on-plum-dim); font-size: 13px; font-weight: 700; line-height: 16px; white-space: nowrap; }
.rrole { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.rtime { flex: none; }
/* the band headers (ui.js BandHeader): an 8 dot, the words 11 uppercase in the ground's faint ink, the count */
.bh { display: flex; align-items: center; margin: 16px 2px 8px; font-size: 11px; font-weight: 400; line-height: 13px; color: var(--on-plum-faint); }
.bdot { flex: none; width: 8px; height: 8px; margin-right: 8px; border-radius: 4px; }
.bdot.amber { background: var(--home-amber, var(--amber)); }   /* the ground's mark (#249, web/hometop.js) */
.bdot.green { background: var(--home-free, var(--free)); }
.bl { text-transform: uppercase; letter-spacing: .9px; }
.bc { margin-left: auto; }
/* a plain invite (Home.js Prow): bare on the ground, its ✕ the app's mini ghost in a 44 target */
.prow { position: relative; display: flex; align-items: center; gap: 11px; padding: 9px 0; }
.prow-mid { flex: 1; min-width: 0; }
.prow-name {
  display: block; color: var(--on-plum); font-size: 15px; font-weight: 700; line-height: 20px; text-transform: lowercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.prow-sub { margin-top: 1px; color: var(--on-plum-dim); font-size: 13px; line-height: 19px; overflow-wrap: anywhere; }
.mini-x {
  position: relative; z-index: 1; flex: none; width: 44px; height: 44px; margin: -6px -6px -6px 0; padding: 0;
  border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.mini-x .pill {
  padding: 7px 11px; border: 1px solid var(--line); border-radius: 16px; background: var(--card2);
  color: var(--dim); font-size: 13px; font-weight: 700; line-height: 16px;
}
/* an invite card (InviteCard.js): its hang's wash on the well and its rim, radius 18, padding 15 16; the face 46, the
   headline 16.5/800 in the hang's own ink, the who line, the words 15/600 (three lines at most), where and when 12.5 */
.inv { position: relative; margin: 0 0 10px; padding: 15px 16px; border: 1px solid var(--wash-rim); border-radius: 18px; background: var(--wash); }
.invtop { display: flex; align-items: center; gap: 12px; }
.invwho { flex: 1; min-width: 0; }
.invname {
  display: block; color: var(--wash-head); font-size: 16.5px; font-weight: 800; line-height: 21px; letter-spacing: -.2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.invspots { margin-top: 2px; color: var(--spots); font-size: 11.5px; line-height: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.invmsg {
  margin-top: 12px; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 20px; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.invwhere { margin-top: 7px; color: var(--dim); font-size: 12.5px; line-height: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* a hang's card (ui.js PostCard): the well, radius 16, padding 12 14; the host's face 22, name and when; the plan
   16/700 (two lines at most); the place; the friends going; the hand 56, radius 17, solid in the hang's own colour when
   it is offered (IconBtn's tint), "asked" and "full" in their status colours */
.pcard { position: relative; margin: 0 0 9px; padding: 12px 14px; border-radius: 16px; background: var(--surface); }
.pbody { display: flex; align-items: flex-start; gap: 12px; }
.pleft { flex: 1; min-width: 0; }
.pmeta { display: flex; align-items: center; gap: 6px; margin-bottom: 5px; }
.pwho { flex-shrink: 1; min-width: 0; color: var(--dim); font-size: 12px; font-weight: 700; line-height: 15px; text-transform: lowercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdot { flex: none; color: var(--lifted); font-size: 12px; line-height: 15px; }
.pwhen { flex: none; color: var(--lifted); font-size: 11.5px; line-height: 15px; white-space: nowrap; }
.pplan { font-size: 16px; font-weight: 700; line-height: 21px; text-transform: lowercase; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.pplan a { color: var(--ink); }
.pfoot { display: flex; align-items: center; gap: 7px; min-width: 0; min-height: 18px; margin-top: 6px; }
.pplace { min-width: 0; color: var(--lifted); font-size: 11.5px; line-height: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pplace.tba { font-style: italic; }
.pgoing { display: flex; align-items: center; margin-top: 7px; }
.pgofaces { display: flex; flex: none; }
.pgofaces .face + .face { margin-left: -6px; }
.pgotxt { flex: 1; min-width: 0; margin-left: 7px; color: var(--lifted); font-size: 11.5px; line-height: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.act { position: relative; z-index: 1; flex: none; display: flex; flex-direction: column; align-items: center; }
.hand {
  width: 56px; height: 56px; padding: 0; border: 0; border-radius: 17px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; background: var(--hang); font-size: 25px; line-height: 1;
}
.hand.asked { background: rgba(245, 158, 11, .16); cursor: default; }
.hand.full { background: var(--card2); opacity: .55; cursor: default; }
.hcap { margin-top: 3px; color: var(--amber); font-size: 10px; font-weight: 600; line-height: 12px; letter-spacing: .2px; }

/* ---- the hang page (D10; 6.3: the mock's phone 1, from HangPageHero.js, HangPageWho.js, HangPageSettings.js): on
   C.bg, the column 16 in, what 20 from the top; where 13 under (the spot mark 15 in its 19 box, 8, the name); the
   address 4 under; when 13 under; the button 14 under in the hang's colour with onHang's ink, 44 tall (D18's target;
   the mock's 42); "can't make it" or "leave this hang" 12 under it, its target 44; who's going 18 under, the faces in
   80-wide chips 10 apart; the entry "chat and photos" 18 under them; room under it all for the tab bar and the circle */
.hp {
  display: flex; flex-direction: column;
  padding: 20px max(var(--side), calc(50% - var(--col) / 2 + var(--side))) calc(var(--tabbar-h) + 96px);
}
.hp > *, .hpwho > * { margin: 0; }
.hpw { font-size: 17px; font-weight: 700; line-height: 23px; color: var(--ink); overflow-wrap: anywhere; }
.hploc { display: flex; align-items: center; gap: 8px; min-height: 22px; margin-top: 13px; }
.hpsm { flex: none; width: 19px; height: 22px; display: flex; align-items: center; justify-content: center; color: var(--dim); }
.hpemo { font-size: 15px; line-height: 1; }
.hpln { min-width: 0; font-size: 14.5px; font-weight: 700; line-height: 22px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hpad { margin-top: 4px; font-size: 11.5px; line-height: 16px; color: var(--lifted); overflow-wrap: anywhere; }
.hpwh { margin-top: 13px; font-size: 12.5px; line-height: 16px; color: var(--dim); }
.hpbtn {
  margin-top: 14px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 22px; cursor: pointer;
  background: var(--hang); color: var(--on-hang); font-size: 15px; font-weight: 700; line-height: 18px;
}
/* the words 12 under the button and the next part 18 under the words; the target reaches 16 below them */
.hpno {
  align-self: center; min-height: 44px; margin: 0 0 -16px; padding: 12px 12px 16px; border: 0; background: none; cursor: pointer;
  font-size: 13px; line-height: 16px; color: var(--lifted);
}
.hpwho { margin-top: 18px; }
.hphd { display: flex; align-items: center; min-width: 0; margin-bottom: 8px; font-size: 11px; line-height: 14px; }
.hph1 { flex: 0 1 auto; min-width: 0; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; color: var(--lifted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hph2 { flex: 0 1 auto; min-width: 0; font-weight: 600; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hpro { list-style: none; padding: 2px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pj { flex: none; width: 80px; display: flex; flex-direction: column; align-items: center; }
.pjav { position: relative; width: 56px; height: 56px; }
.pjring { position: absolute; left: -3px; top: -3px; width: 62px; height: 62px; border: 2px solid var(--amber); border-radius: 31px; }
.pjn {
  position: absolute; top: -4px; right: -10px; padding: 1px 6px; border: 2px solid var(--bg); border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font-size: 10px; font-weight: 800; line-height: 12px; white-space: nowrap;
}
.pjnm { max-width: 80px; margin-top: 6px; font-size: 12px; font-weight: 700; line-height: 15px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pjhost { margin-top: 2px; padding: 0 6px; border: 1px solid var(--host-tag-edge); border-radius: 999px; background: var(--host-tag); color: var(--amber); font-size: 9px; font-weight: 800; line-height: 11px; }
.hprow {
  margin-top: 18px; min-height: 44px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
  background: var(--card); color: var(--ink); font-size: 14px; font-weight: 600; line-height: 18px; text-align: left;
}
/* the gone and removed views (Post.js:1007-1020; ui.js Empty and the outline Btn): centred on C.bg, the words 13/21
   in C.inkDim, the host's note 14/20 italic 10 under, "back" 12 under */
.gone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 28px;
  min-height: calc(100vh - var(--tabbar-h)); min-height: calc(100dvh - var(--tabbar-h));
}
.gone > * { margin: 0; }
.gone-t { padding: 24px 12px; font-size: 13px; font-weight: 400; line-height: 21px; color: var(--dim); overflow-wrap: anywhere; }
.gone-note { margin-top: 10px; font-size: 14px; font-style: italic; line-height: 20px; color: var(--dim); overflow-wrap: anywhere; }
.gone-back {
  margin-top: 12px; min-height: 44px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 22px;
  color: var(--ink); font-size: 15px; font-weight: 700; line-height: 18px; text-decoration: none;
}
/* the leave confirm (HangPageBar.js:61-63, the app's Alert): a card over the blurred page, its title and line, then
   "cancel" and "leave" */
.confirm {
  position: relative; z-index: 1; margin: auto var(--side); padding: 20px 18px 16px;
  border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: 0 12px 32px rgba(0, 0, 0, .55);
}
.confirm > * { margin: 0; }
.confirm-t { font-size: 17px; font-weight: 800; line-height: 22px; color: var(--ink); }
.confirm-l { margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--dim); }
.confirm-acts { display: flex; gap: 8px; margin-top: 18px; }
.confirm-b {
  flex: 1; min-height: 44px; padding: 12px 0; border: 0; border-radius: 12px; cursor: pointer;
  background: var(--card2); color: var(--ink); font-size: 15px; font-weight: 700; line-height: 20px;
}
.confirm-go { background: var(--button); color: var(--on-button); }

/* ---- the invite page (D9; 6.3: Invite.js 253-406, still, as the mock's trip page draws it): the hang's wash (its
   colour at 0x3d, at 0x12 by 55%, then the well) behind the face 76, the headline 23/800 in the card's headline ink,
   the note 16.5/23, the line 13.5/19, the rows where, when and who (their keys 10.5/800 uppercase in C.inkDim here:
   C.inkFaint and C.inkLifted are under 4.5:1 on the wash's top); at the foot, on the well, "i'm down 🙌" (47 tall,
   radius 14, the hang's colour) and "can't make it" 12 under it; room under them for the tab bar and the circle */
.iv { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; background: var(--surface); }
.ivbody {
  flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 56px max(24px, calc(50% - var(--col) / 2 + 24px)) 20px;
  background: linear-gradient(180deg, var(--inv-top) 0, var(--inv-mid) 55%, var(--surface) 100%);
}
.ivbody > * { margin: 0; }
.ivname { margin-top: 16px; font-size: 23px; font-weight: 800; line-height: 28px; letter-spacing: -.5px; color: var(--wash-head); overflow-wrap: anywhere; }
.ivnote { margin-top: 14px; max-width: 290px; font-size: 16.5px; line-height: 23px; color: var(--ink); overflow-wrap: anywhere; }
.ivmsg { margin-top: 10px; max-width: 280px; font-size: 13.5px; line-height: 19px; color: var(--dim); overflow-wrap: anywhere; }
.ivmsg.one, .ivv.one { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ivrows { width: 100%; max-width: 300px; text-align: left; }
.ivrow { display: flex; align-items: flex-start; gap: 12px; margin-top: 14px; }
.ivk { flex: none; min-width: 48px; padding-top: 2px; font-size: 10.5px; font-weight: 800; line-height: 13px; letter-spacing: .8px; text-transform: uppercase; color: var(--dim); }
.ivv { flex: 1; min-width: 0; margin: 0; font-size: 13.5px; line-height: 19px; color: var(--dim); overflow-wrap: anywhere; }
.ivfoot {
  display: flex; flex-direction: column; align-items: center;
  padding: 10px max(24px, calc(50% - var(--col) / 2 + 24px)) calc(var(--tabbar-h) + 64px);
}
.ivyes {
  width: 100%; min-height: 47px; padding: 14px 0; border: 0; border-radius: 14px; cursor: pointer;
  background: var(--hang); color: var(--on-hang); font-size: 15.5px; font-weight: 800; line-height: 19px;
}
/* the words 12 under the button, the target 44 from the button's edge */
.ivno {
  min-height: 44px; padding: 12px 12px 16px; border: 0; background: none; cursor: pointer;
  font-size: 13px; line-height: 16px; color: var(--lifted);
}

/* ---- the report's two lines (6.3, the chat's): "report this hang" 14 under the entry, "report this invite" under
   "can't make it" (its words 30 under that line's: both targets 44, where the mock draws them 14 apart), 12.5/16 in
   C.inkLifted, centred ---- */
.hprep, .ivrep {
  align-self: center; min-height: 44px; margin: 0 0 -14px; padding: 14px 12px; border: 0; background: none; cursor: pointer;
  font-size: 12.5px; line-height: 16px; color: var(--lifted);
}
/* the report (D11; SafetyMenu.js 250-336, ReportSheet): a card over the blurred page, as the leave confirm; the title
   16/800, the line 12 in C.inkLifted; the eight reasons as the app's chips (the well, a 1px edge, radius 9, 7 12, 12.5
   in C.inkDim; the one chosen edged in C.accent on its tint, its words C.ink 700), each a 44 target; the note's well
   (padding 11, 14/19, 64 tall at least); "also block them" as the app's select row with its check circle (22, a 2px
   ring; on, filled in C.accent with its tick); "send report" in the blue that holds white words (D18 8.13) */
.report {
  position: relative; z-index: 1; margin: auto var(--side); padding: 18px 16px 16px;
  border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: 0 12px 32px rgba(0, 0, 0, .55);
}
.report > * { margin: 0; }
.report-t { font-size: 16px; font-weight: 800; line-height: 20px; color: var(--ink); overflow-wrap: anywhere; }
.report-l { margin-top: 2px; font-size: 12px; line-height: 16px; color: var(--lifted); }
.reasons { min-width: 0; margin-top: 5.5px; padding: 0; border: 0; }
.chips { display: flex; flex-wrap: wrap; column-gap: 7px; }
.chip { position: relative; display: block; padding: 6.5px 0; cursor: pointer; }
.chip-in, .block-in { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.chip-t {
  display: block; padding: 7px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface);
  color: var(--dim); font-size: 12.5px; line-height: 15px; white-space: nowrap;
}
.chip-in:checked + .chip-t { border-color: var(--accent); background: rgba(59, 130, 246, .12); color: var(--ink); font-weight: 700; }
.chip-in:focus-visible + .chip-t { outline: 2px solid var(--focus); outline-offset: 2px; }
/* 16px at least, as every field here: under 16 iPhone Safari zooms the page as the field takes focus (plat-1) */
.report-note {
  display: block; width: 100%; min-height: 64px; margin-top: 3.5px; padding: 11px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); color: var(--ink); font-size: 16px; line-height: 21px; resize: vertical;
}
.report-note::placeholder { color: var(--lifted); opacity: 1; }
.report-block { position: relative; display: block; margin-top: 12px; cursor: pointer; }
.block-row {
  display: flex; align-items: center; gap: 11px; min-height: 44px; padding: 10px 11px;
  border: 1px solid var(--line); border-radius: 13px; background: var(--card2);
}
.block-in:checked + .block-row { border-color: rgba(59, 130, 246, .55); background: rgba(59, 130, 246, .14); }
.block-in:focus-visible + .block-row { outline: 2px solid var(--focus); outline-offset: 2px; }
.block-t { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 700; line-height: 18px; color: var(--ink); }
/* the ring in C.inkLifted, not the app's #3c3c46 (1.5:1 here): an edge that carries meaning holds 3:1 (D18 8.13) */
.block-ck { flex: none; width: 22px; height: 22px; border: 2px solid var(--lifted); border-radius: 11px; }
.block-in:checked + .block-row .block-ck {
  border-color: var(--accent);
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}
.report-send {
  display: block; width: 100%; min-height: 44px; margin-top: 12px; padding: 13px 0; border: 0; border-radius: 12px; cursor: pointer;
  background: var(--button); color: var(--on-button); font-size: 14px; font-weight: 800; line-height: 18px;
}
.report-send[aria-disabled="true"] { opacity: .6; cursor: default; }

/* ---- the shell (D13; 6.3): the tab bar, the make-a-hang circle, the messages, can't connect ---- */
body.tabbed { --tabbar-h: calc(49px + env(safe-area-inset-bottom, 0px)); }
/* the tab bar (App.js Tabs): 49 and the window's bottom inset, C.card, a top line, 5 at its top; four even tabs, each
   its 24 icon over its words, 3 apart, 11/500 lowercase; lit C.accent, off C.inkLifted (D13) */
.tb {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  height: var(--tabbar-h);
  padding: 5px max(0px, calc(50% - var(--col) / 2)) env(safe-area-inset-bottom, 0px);
  display: flex; background: var(--card); border-top: 1px solid var(--line);
}
.ti {
  flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: var(--lifted); text-decoration: none;
}
.ti[aria-current="page"] { color: var(--accent); }
.ti:focus-visible { outline-offset: -2px; }
.tl { max-width: 100%; font-size: 11px; font-weight: 500; line-height: 13px; text-transform: lowercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* the circle (SuggestFloat.js): 56 at right 18, 22 over the tab bar; C.surface, its lift, a white hairline (.28;
   on Home, its ground's: homeBg.js edgeAlphaFor, .16 on a bright one, web/home.js --circle-edge) and the accent ring
   at rest (.25); the spark in C.accent */
.circle {
  position: fixed; z-index: 15;
  right: max(18px, calc(50% - var(--col) / 2 + 18px)); bottom: calc(var(--tabbar-h) + 22px);
  width: 56px; height: 56px; padding: 0; border: 0; border-radius: 28px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--accent);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .28);
}
#view[data-ground="home"] .circle { box-shadow: 0 4px 10px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, var(--circle-edge, .28)); }
.circle::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--accent); border-radius: 28px; opacity: .25; pointer-events: none; }
/* the messages (6.3): one card 16 over the tab bar (or the window's foot), C.card2, a line, radius 12, 14/600, centred;
   a title 14/800 over its line */
.msgs {
  position: fixed; left: 0; right: 0; bottom: calc(var(--tabbar-h) + 16px); z-index: 30;
  display: flex; flex-direction: column; align-items: center; padding: 0 var(--side); pointer-events: none;
}
.msg {
  max-width: calc(var(--col) - 2 * var(--side)); padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--card2);
  color: var(--ink); font-size: 14px; font-weight: 600; line-height: 19px; text-align: center; overflow-wrap: anywhere;
}
.msg-t { display: block; font-weight: 800; }
.msg-l { display: block; }
/* can't connect (App.js CantConnect): C.bg, 22 round and 90 at the top; the title 19/800, 8 under it the line 14/21 in
   C.inkDim, 20 under that the pill, its words 15/800 (white on the blue that holds 4.5:1, D18 8.13) */
.cant { width: 100%; max-width: var(--col); margin: 0 auto; padding: 90px 22px 22px; }
.cant-t { margin: 0 0 8px; font-size: 19px; font-weight: 800; line-height: 24px; color: var(--ink); }
.cant-l { margin: 0 0 20px; font-size: 14px; line-height: 21px; color: var(--dim); }
.cant .btn {
  width: 100%; min-height: 44px; margin: 0; padding: 13px 0; border: 0; border-radius: 99px; cursor: pointer;
  background: var(--button); color: var(--on-button); font-size: 15px; font-weight: 800; line-height: 18px;
}
/* the page with no script (index.html) */
.noscript { max-width: var(--col); margin: 0 auto; padding: 90px 22px; text-align: center; color: var(--ink); }
.noscript p { margin: 0 0 12px; }
.noscript a { display: inline-block; margin: 0 8px; padding: 12px 0; font-weight: 600; }
