/* PadelMind · Court 01 web trial — design tokens and components from Tina's handoff (§6).
   Exact hex from the reference. The desktop phone frame, outer canvas and fixed heights of the
   prototype are deliberately NOT here: this is the real responsive mobile page. */
:root {
  --ink: #0E0D0B;          /* main background */
  --paper: #F3F1EC;        /* primary text */
  --lime: #CFFF3B;         /* action / active status — used sparingly */
  --surface: #161411;      /* inputs, secondary surface */
  --raised: #26221B;       /* elevated surface, subtle separators */
  --line: #3A342A;         /* borders */
  --warm: #CFC6B3;         /* secondary warm text */
  --muted: #A39D92;        /* muted text */
  --faint: #5A544A;        /* non-essential only */
  --pad: 20px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--ink); color: var(--paper); }
html { overflow-x: hidden; }
body {
  font-family: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%;
  min-height: 100dvh; display: flex; flex-direction: column; max-width: 560px; margin: 0 auto;
  container-type: inline-size;
}
button, input, select { font-family: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: var(--paper); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.noscript { padding: 20px; }

@keyframes c01-in { from { opacity: 0; transform: translateY(12px) } to { opacity: 1; transform: none } }
@keyframes c01-draw { from { stroke-dashoffset: 1 } to { stroke-dashoffset: 0 } }
@keyframes c01-blink { 50% { opacity: .15 } }
@keyframes c01-sweep { from { transform: translateX(-100%) } to { transform: translateX(260%) } }
@keyframes c01-sheet { from { transform: translateY(100%) } to { transform: none } }
@keyframes c01-up { from { opacity: 0; transform: scale(.97) } to { opacity: 1; transform: none } }
@keyframes c01-fill { from { color: rgba(243,241,236,0) } to { color: #F3F1EC } }
@keyframes c01-split { from { opacity: 0; transform: scale(.6) } to { opacity: 1; transform: none } }
/* Reduced motion: loops stop; status stays readable because it is always text + dot, never motion alone */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}

/* ── header ─────────────────────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--pad); padding-top: max(14px, env(safe-area-inset-top)); background: var(--ink); }
.wordmark { width: 104px; height: 20px; background-color: var(--paper);   /* approved wordmark, as a mask like the reference */
  -webkit-mask: url(/assets/padelmind-wordmark.svg) left center / contain no-repeat; mask: url(/assets/padelmind-wordmark.svg) left center / contain no-repeat; }
.chip { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border: 1px solid var(--line);
  border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .12em; white-space: nowrap; }
.chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.chip-dot.on { background: var(--lime); }
.chip-dot.rec, .chip-dot.busy { animation: c01-blink 1.2s steps(2) infinite; }
.chip-dot.busy { background: var(--paper); }
.chip-dot.conn { background: var(--muted); animation: c01-blink .6s steps(2) infinite; }
.chip-text { color: var(--muted); }
.chip-text:empty, .chip-dot:empty.hide { display: none; }

/* ── screens ────────────────────────────────────────────────────────────── */
main { flex: 1; display: flex; flex-direction: column; outline: none; }
.screen { flex: 1; display: flex; flex-direction: column; padding: 0 var(--pad); animation: c01-in .45s var(--ease) both; position: relative; }
.screen.center { align-items: center; justify-content: center; text-align: center; padding: 0 28px 60px; animation-duration: .4s; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.eyebrow.lime { color: var(--lime); }
.h-hero, .h-xl, .h-rec, .h-l, .h-m, .h-s { margin: 0; font-weight: 800; font-stretch: 75%; text-transform: uppercase; }
.h-hero { font-size: clamp(64px, 19cqw, 104px); line-height: .86; letter-spacing: -.015em; }
.h-xl { font-size: clamp(56px, 17cqw, 92px); line-height: .86; }
.h-rec { font-size: clamp(52px, 15.5cqw, 86px); line-height: .86; }
.h-l { font-size: clamp(46px, 14cqw, 76px); line-height: .9; }
.h-m { font-size: clamp(40px, 12.5cqw, 68px); line-height: .9; }
.h-s { font-size: clamp(34px, 9.5cqw, 52px); line-height: .9; }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--paper); }
@supports not (-webkit-text-stroke: 1px black) { .outline { color: var(--paper); } }
.lead { margin: 16px 0 0; font-size: 18px; line-height: 1.3; font-weight: 500; color: var(--warm); max-width: 260px; }
.body { margin: 14px 0 0; font-size: 16px; line-height: 1.45; color: var(--warm); }
.body.plain { color: var(--paper); font-weight: 500; }
.small { font-size: 14px; line-height: 1.45; color: var(--muted); }
.note { font-size: 13px; line-height: 1.45; color: var(--muted); }
.b { font-weight: 700; }
.row-nav { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 18px; }
.back { height: 44px; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .1em; }

/* entry */
.entry { padding: 0; overflow-x: clip; }   /* the court art bleeds off the right edge, like the reference */
.entry-art { position: absolute; top: 0; right: -20%; width: 54%; aspect-ratio: 1/2; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 50%, transparent 92%); mask-image: linear-gradient(#000 50%, transparent 92%); }
.entry-art .tc { position: absolute; left: 14%; top: 8%; display: flex; align-items: center; gap: 6px; font-size: 10px;
  font-weight: 700; letter-spacing: .12em; color: var(--muted); font-variant-numeric: tabular-nums; }
.entry-art .tc i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--muted); }
.entry-head { position: relative; padding: 14px var(--pad) 0; }
.benefits { position: relative; padding: 26px var(--pad) 0; }
.benefit { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--raised); }
.benefit:last-child { border-bottom: 1px solid var(--raised); }
.benefit .ico { display: flex; justify-content: center; }
.benefit .ico i { display: block; border: 1.5px solid var(--paper); border-radius: 3px; }
.benefit .t { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.benefit .s { font-size: 14px; color: var(--muted); margin-top: 3px; }
.steps { padding: 18px var(--pad) 0; display: flex; flex-direction: column; gap: 10px; }
.steps div { display: flex; gap: 12px; align-items: baseline; }
.steps b { font-size: 11px; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.steps span { font-size: 14px; color: var(--warm); }

/* sticky CTA footer — real viewport + safe area, not a mock */
.cta { position: sticky; bottom: 0; margin: auto calc(-1 * var(--pad)) 0; padding: 22px var(--pad) calc(18px + var(--safe-b));
  background: linear-gradient(180deg, rgba(14,13,11,0), var(--ink) 28%); display: flex; flex-direction: column; gap: 8px; z-index: 3; }
.entry .cta { margin: auto 0 0; }
.btn { width: 100%; height: 58px; border: 0; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 15px;
  font-weight: 800; letter-spacing: .02em; display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform .1s; text-decoration: none; }
.btn.big { height: 60px; font-size: 16px; }
.btn:active { transform: scale(.97); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .55; cursor: default; transform: none; }
.btn.ghost { background: transparent; color: var(--paper); border: 1.5px solid var(--paper); }
.btn.line { background: transparent; color: var(--paper); border: 1.5px solid var(--line); height: 52px; font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.btn.text { background: transparent; color: var(--muted); height: 48px; font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.btn .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
.cta .under { text-align: center; font-size: 12px; color: var(--muted); margin-top: 2px; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* frames */
.frame-sm { width: 30%; max-width: 150px; aspect-ratio: 1/2; margin: 12px 0 22px; }
.frame-sm.dim { opacity: .5; }
.frame-md { width: 34%; max-width: 170px; aspect-ratio: 1/2; }

/* forms */
.screen > form { flex: 1; display: flex; flex-direction: column; }
label.lbl { display: block; margin-top: 24px; font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
label.lbl + label.lbl, .lbl.mt18 { margin-top: 18px; }
.inp { margin-top: 8px; height: 56px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--paper);
  font-size: 18px; font-weight: 600; padding: 0 16px; outline: none; width: 100%; font-variant-numeric: tabular-nums; }
.inp:focus { border-color: var(--paper); }
.inp[aria-invalid="true"] { border-color: var(--paper); }
.inp::placeholder { color: var(--faint); }
.phone-row { margin-top: 8px; display: grid; grid-template-columns: 104px minmax(0,1fr); gap: 8px; }
.phone-row .inp { margin-top: 0; }
select.inp { font-size: 17px; padding: 0 12px; appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 25px, calc(100% - 13px) 25px; background-size: 5px 5px; background-repeat: no-repeat; }
.err { margin-top: 8px; font-size: 13px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.err::before { content: "!"; flex: 0 0 18px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); color: var(--ink);
  font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.ack { position: relative; margin-top: 20px; display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 12px; align-items: start; padding: 6px 0; cursor: pointer; }
.ack input { position: absolute; opacity: 0; width: 26px; height: 26px; margin: 0; }
.ack .box { position: relative; width: 26px; height: 26px; border-radius: 7px; border: 1.5px solid var(--faint); display: flex; align-items: center; justify-content: center; }
.ack input:checked + .box { background: var(--lime); border-color: var(--lime); }
.ack input:focus-visible + .box { outline: 2px solid var(--lime); outline-offset: 3px; }
.ack input[aria-invalid="true"] + .box { border-color: var(--paper); }
.ack svg { display: none; }
.ack input:checked + .box svg { display: block; }
.ack .txt { font-size: 14px; line-height: 1.45; color: var(--warm); }

/* durations */
fieldset.durs { border: 0; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 8px; }
fieldset.durs legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dur { position: relative; display: flex; align-items: center; justify-content: space-between; height: 72px; border-radius: 16px;
  border: 1.5px solid var(--line); padding: 0 18px; cursor: pointer; transition: background .15s, color .15s; }
.dur input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.dur .n { font-size: 34px; font-weight: 800; font-stretch: 75%; font-variant-numeric: tabular-nums; }
.dur .u { font-size: 12px; font-weight: 700; letter-spacing: .12em; margin-left: 6px; }
.dur .e { font-size: 13px; font-weight: 600; color: var(--muted); }
.dur:has(input:checked) { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.dur:has(input:checked) .e { color: var(--faint); }
.dur:has(input:focus-visible) { outline: 2px solid var(--lime); outline-offset: 3px; }
.dur.sel { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.stopnote { margin-top: 20px; display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 12px; align-items: start; }
.stopnote .big { font-size: 18px; line-height: 1.3; font-weight: 700; }
.stopnote .big span { display: block; font-size: 14px; font-weight: 500; color: var(--muted); margin-top: 4px; }

/* recording */
.rec-status { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.rec-status i { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); animation: c01-blink 1.2s steps(2) infinite; }
.rec-status span { font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--lime); }
.rec-grid { margin-top: 22px; display: grid; grid-template-columns: 32% minmax(0,1fr); gap: 20px; align-items: end; }
.rec-grid .fr { aspect-ratio: 1/2; }
.left-lbl { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.left-val { font-size: clamp(56px, 17cqw, 92px); font-weight: 800; font-stretch: 75%; line-height: .9; font-variant-numeric: tabular-nums; margin-top: 4px; }
.times { display: grid; grid-template-columns: auto auto; gap: 6px 14px; justify-content: start; font-size: 13px; margin-top: 14px; }
.times dt { color: var(--muted); } .times dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.share-block { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--raised); padding-bottom: calc(24px + var(--safe-b)); }
.slots { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.slot { min-height: 58px; border-radius: 14px; border: 1.5px solid var(--line); padding: 8px 14px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.slot .nm { font-size: 15px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot .tg { font-size: 10px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.slot.host { border-color: var(--paper); } .slot.host .tg { color: var(--lime); }
.slot.open { border-style: dashed; } .slot.open .nm, .slot.open .tg { color: var(--muted); }
.invite-row { margin-top: 24px; height: 58px; width: 100%; border-radius: 14px; border: 1.5px solid var(--line); background: transparent; color: var(--paper);
  display: flex; align-items: center; justify-content: space-between; padding: 0 16px; font-size: 15px; font-weight: 700; }
.invite-row span { font-size: 13px; color: var(--muted); font-weight: 600; }
.wa-hint { margin-top: 18px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.wa-hint a { color: var(--paper); font-weight: 700; }

/* processing / ready */
.proc-tiles { margin-top: 30px; display: flex; gap: 14px; align-items: flex-end; }
.tile-full { flex: 1; min-width: 0; animation: c01-split .7s var(--ease) both; }
.tile-reel { width: 28%; flex-shrink: 0; animation: c01-split .7s .12s var(--ease) both; }
.tile-box { position: relative; border: 1.5px solid var(--paper); border-radius: 6px; overflow: hidden; }
.tile-box.failed { border-color: var(--line); }
.tile-box.ready { background: var(--raised); }
.tile-full .tile-box { aspect-ratio: 16/9; } .tile-reel .tile-box { aspect-ratio: 9/16; }
.sweep { position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, rgba(207,255,59,0), rgba(207,255,59,.32), rgba(207,255,59,0));
  animation: c01-sweep 2.6s cubic-bezier(.45,0,.55,1) infinite; }
.play-mini { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.play-mini i { width: 36px; height: 36px; border-radius: 50%; background: var(--paper); display: flex; align-items: center; justify-content: center; }
.tile-t { margin-top: 10px; font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.tile-s { margin-top: 2px; font-size: 12px; color: var(--muted); }
.tile-s.ok { color: var(--lime); }
.closenote { margin-top: 28px; padding: 16px 0; border-top: 1px solid var(--raised); display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 12px; align-items: start; }
.closenote div { font-size: 16px; line-height: 1.4; font-weight: 600; }
.closenote div span { display: block; font-size: 14px; font-weight: 500; color: var(--muted); margin-top: 3px; }

.ready { padding: 0 0 calc(28px + var(--safe-b)); animation: c01-up .6s var(--ease) both; }
.hero-media { position: relative; display: block; width: 100%; aspect-ratio: 16/9; border: 0; padding: 0; background: var(--surface); overflow: hidden; color: var(--paper); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.hero-media .pbig { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 68px; height: 68px; border-radius: 50%; background: var(--paper);
  display: flex; align-items: center; justify-content: center; }
.hero-media .cap { position: absolute; left: 14px; bottom: 12px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.hero-state { position: relative; width: 100%; aspect-ratio: 16/9; background: var(--surface); overflow: hidden; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 0 28px; }
.hero-state .k { position: relative; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.hero-state .v { position: relative; font-size: 13px; line-height: 1.4; color: var(--muted); }
.ready-head { padding: 20px var(--pad) 0; }
.ready-title { margin: 10px 0 0; color: var(--paper); -webkit-text-stroke: 1.5px var(--paper); animation: c01-fill .9s .35s var(--ease) both; }
.watch-row { margin-top: 18px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.watch-row .btn { height: 56px; }
.round { width: 56px; height: 56px; border: 1.5px solid var(--line); border-radius: 50%; background: transparent; display: flex; align-items: center; justify-content: center; }
.reels-sec { padding: 26px var(--pad) 0; }
.reels-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--raised); }
.reels-head b { font-size: 13px; font-weight: 800; letter-spacing: .06em; } .reels-head span { font-size: 12px; color: var(--muted); }
.reel-strip { margin: 14px calc(-1 * var(--pad)) 0; padding: 0 var(--pad); display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; }
.reel-tile { position: relative; flex: 0 0 38%; aspect-ratio: 9/16; border: 0; border-radius: 14px; background: var(--surface); overflow: hidden; scroll-snap-align: start; color: var(--paper); padding: 0; text-align: left; }
.reel-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-tile .no { position: absolute; left: 12px; right: 12px; top: 40%; font-size: clamp(40px, 13cqw, 70px); font-weight: 800; font-stretch: 75%; line-height: .85; color: transparent; -webkit-text-stroke: 1.2px var(--faint); }
.reel-tile .meta { position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.reel-tile .meta i { width: 26px; height: 26px; border-radius: 50%; background: var(--paper); display: flex; align-items: center; justify-content: center; }
.state-card { position: relative; margin-top: 14px; padding: 18px 16px; border-radius: 14px; background: var(--surface); overflow: hidden; }
.state-card.dashed { background: transparent; border: 1.5px dashed var(--line); }
.state-card .k { position: relative; font-size: 15px; font-weight: 700; } .state-card .v { position: relative; font-size: 13px; color: var(--muted); margin-top: 4px; }
.fine { padding: 22px var(--pad) 0; font-size: 12px; line-height: 1.5; color: var(--muted); }

/* guest */
.kv { margin-top: 22px; border-top: 1px solid var(--raised); }
.kv div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--raised); }
.kv dt { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.kv dd { margin: 0; font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; text-align: right; }
.sdot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.sdot.rec { background: var(--lime); animation: c01-blink 1.2s steps(2) infinite; } .sdot.ok { background: var(--lime); }
.gstat { margin-top: 24px; display: grid; grid-template-columns: 24% minmax(0,1fr); gap: 18px; align-items: center; padding: 16px 0; border-top: 1px solid var(--raised); border-bottom: 1px solid var(--raised); }
.gstat .fr { aspect-ratio: 1/2; }
.gstat .k { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.gstat .k.ok { color: var(--lime); }
.gstat .v { margin-top: 8px; font-size: 15px; line-height: 1.4; font-weight: 600; }

/* sheet */
.scrim { position: fixed; inset: 0; z-index: 30; background: rgba(0,0,0,.55); animation: c01-in .2s both; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 31; max-width: 560px; margin: 0 auto; background: var(--surface); border-radius: 24px 24px 0 0;
  padding: 10px var(--pad) calc(22px + var(--safe-b)); animation: c01-sheet .32s var(--ease) both; max-height: 88dvh; overflow-y: auto; }
.grip { width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: 0 auto 16px; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; }
.x { width: 44px; height: 44px; margin-right: -10px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; }
.msgbox { margin-top: 16px; padding: 14px; border-radius: 14px; background: var(--raised); font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.msgbox .u { margin-top: 6px; color: var(--lime); font-weight: 600; }
.pills { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.pills span { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; display: flex; align-items: center; }
body.locked { overflow: hidden; }

/* viewers */
.viewer { position: fixed; inset: 0; z-index: 40; background: #000; display: flex; flex-direction: column; animation: c01-up .3s var(--ease) both;
  padding-top: env(safe-area-inset-top); padding-bottom: var(--safe-b); max-width: 560px; margin: 0 auto; }
.viewer.full-v { background: var(--ink); }
.segs { display: flex; gap: 4px; padding: 12px 12px 0; }
.segs div { flex: 1; height: 3px; border-radius: 2px; background: rgba(243,241,236,.25); overflow: hidden; }
.segs div i { display: block; height: 100%; width: 0; background: var(--paper); }
.vbar { display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 4px 16px; }
.vbar b { font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.stage { position: relative; flex: 1; margin: 0 12px; border-radius: 16px; background: var(--surface); overflow: hidden; }
.stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.zone { position: absolute; top: 0; bottom: 0; border: 0; background: transparent; }
.zone.prev { left: 0; width: 30%; } .zone.next { right: 0; width: 30%; }
.zone.mid { left: 30%; right: 30%; display: flex; align-items: center; justify-content: center; }
.bigplay { width: 72px; height: 72px; border-radius: 50%; background: rgba(243,241,236,.92); display: flex; align-items: center; justify-content: center; }
.vactions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 12px 16px; }
.vactions .btn { height: 54px; font-size: 14px; letter-spacing: .04em; }
.btn.paper { background: var(--paper); color: var(--ink); }
.btn.outline-f { background: transparent; color: var(--paper); border: 1.5px solid var(--faint); }
.fv-bar { display: flex; justify-content: space-between; align-items: center; padding: 6px 12px 6px 4px; }
.fv-bar button { height: 48px; padding: 0 12px; border: 0; background: transparent; color: var(--paper); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.fv-stage { background: #000; display: flex; flex-direction: column; justify-content: center; }
.fv-video { position: relative; width: 100%; aspect-ratio: 16/9; background: var(--surface); }
.fv-video video, .fv-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.scrub { padding: 10px 16px 0; }
.scrub input { width: 100%; height: 32px; margin: 0; accent-color: var(--lime); }
.scrub .tt { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.ctrls { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 14px; }
.ctrls button { width: 52px; height: 52px; border: 0; background: transparent; color: var(--paper); font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.ctrls .pp { width: 60px; height: 60px; border-radius: 50%; background: var(--lime); }
.fv-info { padding: 16px var(--pad) 0; }
.fv-info .t { margin-top: 6px; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }

.toast { position: fixed; left: 50%; bottom: calc(96px + var(--safe-b)); transform: translateX(-50%); z-index: 60; padding: 12px 18px; border-radius: 999px;
  background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 700; white-space: nowrap; animation: c01-in .25s both; }
