/* play.css — page styles, externalized from the HTML style block so the CSP can drop
   style-src 'unsafe-inline' (panel review F9). Query-versioned like tokens.css. */
  :root{
    /* ---- page aliases -> shared design tokens (tokens.css) ---- */
    --gold:var(--ld-gold); --gold-d:var(--ld-gold-deep); --gold-l:var(--ld-gold-bright); --gold-bright:var(--ld-gold-bright);
    --navy:var(--ld-navy); --navy-d:var(--ld-navy-deep); --navy-dd:var(--ld-field); --navy-l:#27396a;
    --red:var(--ld-danger); --red-l:var(--ld-danger-bright);
    --felt-red:var(--ld-felt-red); --felt-red-d:var(--ld-felt-red-deep);
    --cream:var(--ld-ink); --cream-d:#f3ead6;
    --ink:var(--ld-navy-deep); --muted:var(--ld-muted); --faint:var(--ld-faint);
    --bg:var(--ld-felt-red);
    --line:var(--ld-line); --line-gold:var(--ld-line-gold); /* V-1: was missing → gold borders on 6 video-era components silently dropped */
    --ok:var(--ld-ok); --danger:var(--ld-danger);
    --out:var(--ld-faint); --gain:var(--ld-ok-bright); --wc:var(--ld-warn); /* standings: out / in / worst-case tint (V-6: was #e0a86a, now the token) */
    --shadow:var(--ld-shadow-md);
    /* play has NO chrome (owner): no nav bar, no sub-header, no footer — the felt
       bar is the header. Both heights are 0 so every inset lands at the top. */
    --nav-h:0px;
    --hdr-h:0px;
  }
  *{box-sizing:border-box;margin:0;padding:0}
  html,body{height:100%}
  body{
    font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
    background:var(--ld-felt-room);background-size:auto,auto,440px;box-shadow:var(--ld-vignette);
    color:var(--cream);line-height:1.5;-webkit-font-smoothing:antialiased;
    padding-bottom:env(safe-area-inset-bottom);
  }
  h1,h2,h3,h4,.osw{font-family:'Oswald',-apple-system,sans-serif}
  /* NO LOUPE ON A HOLD. Play is held as well as tapped (hold the cup to peek, a long press on a bid
     button), and iOS Safari answered a hold on selectable text with its magnifier, a selection and
     the callout menu. Nothing on the table is text to copy, so the PAGE is unselectable; the fields
     the dealer types into stay selectable. Here, not tokens.css: every other page is a document. */
  body{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
  input,textarea,select,[contenteditable]{-webkit-user-select:text;user-select:text}

  /* ---------- layout shell ----------
     EVERY width is an APP layout — the page never scrolls; inner regions do.
     ≥1200px (desktop): nav, play header, content row and footer share the
     window; the content row (standings | tabs+table | controls) flexes to
     whatever height is left, each column scrolling internally if it must.
     <1200px (compact = phone AND tablet): the standings column becomes a
     pull-over DRAWER from the left, and the felt + action dock re-arrange by
     ORIENTATION (see the compact block at the end of this file). nav.js
     already makes body a flex column with the footer last. */
  .stage{padding:0 0 40px}
  .cols{display:flex;gap:0;align-items:flex-start}
  #standings{order:0}
  #main{order:1;flex:1;min-width:0;padding:14px 14px 0}

  @media(min-width:1200px){
    body{height:100dvh;overflow:hidden}
    /* PLD-27 (ANNOUNCEMENTS_PLAN §3.2 — the one risky layout edit): .stage is a FLEX COLUMN
       so the announcement strip can sit ABOVE .cols in document flow (never floating — the
       seat-warm banner owns the float layer). Strip-absent behaviour is provably identical:
       with the strip detached .cols is the SOLE flex child, so flex:1;min-height:0 hands it
       exactly the height:100% it had; no selector or JS assumes .cols is .stage's first child
       (grepped web/ + this file: nothing addresses .stage/.cols positionally); and the compact
       widths (<1200, the block at the end of this file) have ALWAYS been this flex column. */
    .stage{padding:0;flex:1;min-height:0;display:flex;flex-direction:column}
    .cols{flex:1;min-height:0;height:auto}
    /* #standings is the off-canvas DRAWER at every width now (owner: the video gallery gets the
       full play space) — its position:fixed rules live in the unconditional drawer block below.
       #main takes the whole content row. */
    #main{height:100%;overflow:auto;display:flex;flex-direction:column;
      padding:14px 18px 18px}
    .tabbar{flex:0 0 auto}
    /* the active panel fills the leftover height (#main id beats the later
       .panel.on{display:block} base rule) */
    #main .panel.on{display:flex;flex-direction:column;flex:1;min-height:0}
    #main #panelOther.on{display:block;overflow:auto;flex:1;min-height:0}
  }

  /* (the old collapsible .stand-strip board + its voice panel are gone — the
     .lcol groups below are the only standings surface, and the bid-reader
     controls live in the shared Settings dialog) */

  /* ---------- left column: 4-tab standings board ----------
     DICE (live dice on the felt) + the three tournament score modes the status
     board shows. One row look across all four tabs so the dice rows match. */
  .lcol{display:flex;flex-direction:column;min-height:0}
  .ltabs{display:flex;gap:4px;margin-bottom:10px}
  .ltab{flex:1;padding:7px 4px;border-radius:var(--ld-radius-sm);border:1px solid var(--ld-gold-wash-2);
    background:linear-gradient(160deg,var(--navy),var(--navy-d));
    font-family:'Oswald';text-transform:uppercase;letter-spacing:.03em;font-weight:600;font-size:11px;
    cursor:pointer;color:var(--muted);transition:.15s;white-space:nowrap}
  .ltab.on{background:var(--ld-gold-grad);color:var(--ld-gold-ink);border:1px solid var(--ld-gold-border);
    box-shadow:var(--ld-gold-bevel);text-shadow:var(--ld-gold-text-shadow)}
  .ltab:not(.on):hover{color:var(--cream);border-color:var(--ld-line-gold)}
  .lpanel{min-height:0}
  .lhint{font-family:'Oswald';font-size:10px;letter-spacing:.04em;color:var(--muted);
    text-transform:uppercase;opacity:.82;margin:0 2px 8px}
  .lpend{font-family:'Oswald';text-transform:uppercase;letter-spacing:.06em;font-size:12px;
    color:var(--faint);text-align:center;padding:26px 14px}
  /* DELIBERATE near-twin of tokens.css's .stand-group base (rule 6, stated): the felt rail's
     header wears --ld-gold-wash-1 where the board's wears rgba(230,200,120,.07) — which wash
     wins is an owner call (LOBBY_PLAN §8.1), and until it is made these scoped rules keep the
     rail's shipped look byte-stable over the hoisted base. */
  .lcol .stand-group{background:var(--ld-card-navy);border:1px solid var(--ld-line-gold);
    border-radius:var(--ld-radius-md);overflow:hidden;margin-bottom:10px;box-shadow:var(--ld-card-lift)}
  .lcol .stand-group:last-child{margin-bottom:0} /* the pad gap takes over at the seam */
  /* ONE gold header spec for every rail card (standings groups + chips) */
  .lcol .gh,.chips-head{font-family:'Oswald';text-transform:uppercase;letter-spacing:.1em;font-size:11px;font-weight:600;
    padding:8px 12px;background:var(--ld-gold-wash-1);color:var(--gold-bright);
    display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}
  .lcol .gh .ghdice{font-weight:700;color:var(--cream);letter-spacing:.02em}
  .srow{display:flex;align-items:center;gap:10px;padding:7px 12px;border-top:1px solid rgba(255,255,255,.06)}
  .srow:first-of-type{border-top:none}
  .srow.you{background:linear-gradient(90deg,var(--ld-gold-wash-2),transparent)}
  .srank{min-width:22px;white-space:nowrap;text-align:center;font-family:'Oswald';font-weight:700;font-size:12px;color:var(--out);flex:0 0 auto}
  .srow.t1 .srank{color:var(--ld-gold-ink);background:var(--ld-gold-grad);border-radius:6px;box-shadow:var(--ld-gold-bevel);text-shadow:var(--ld-gold-text-shadow)}
  .srow.t2 .srank,.srow.t3 .srank{color:var(--gold-bright)}
  .srow.out{opacity:.72}
  .snamewrap{flex:1;min-width:0}
  .sname{display:flex;align-items:center;gap:8px;font-size:14.5px;line-height:1.15;min-width:0}
  .sname .nm{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
  .sname .yu{font-size:var(--ld-fs-8);font-family:'Oswald';letter-spacing:.06em;color:var(--gold);flex:0 0 auto}
  /* TIE INDICATOR — same component as the status board (web/tieinfo.ts): one icon per rung after
     the name; the popover is the body-level #infopop singleton, position:fixed, never clipped.
     Its z-index sits ABOVE the phone's standings drawer (#standings 1500, its edge tabs 1510): at
     200 a tap on a mark inside the drawer opened the popover underneath it, so on a phone no
     tie mark or at-risk mark in the rail could explain itself. Below the nav (2000) and dialogs. */
  .tiei{display:inline-flex;flex:0 0 auto;margin-left:2px;cursor:pointer;color:var(--gold-bright);
    opacity:.85;align-items:center}
  .tiei:hover{opacity:1}
  #infopop{display:none;position:fixed;z-index:1520;max-width:250px;
    background:var(--ld-navy-deep);border:1px solid var(--line-gold);border-radius:9px;
    padding:8px 11px;font-size:11.5px;line-height:1.45;color:var(--ld-ink);
    box-shadow:0 10px 24px rgba(0,0,0,.5)}
  #infopop.on{display:block}
  #infopop b{display:block;font-family:'Oswald';letter-spacing:.05em;text-transform:uppercase;
    font-size:var(--ld-fs-8);color:var(--gold-bright);margin-bottom:2px}
  .ld{width:8px;height:8px;border-radius:50%;background:var(--out);flex:0 0 auto}            /* grey = out */
  .ld.on{background:var(--gain);box-shadow:0 0 0 0 rgba(111,214,160,.6);animation:pulseLd 1.6s infinite} /* green pulse = in */
  @keyframes pulseLd{0%{box-shadow:0 0 0 0 rgba(111,214,160,.55)}70%{box-shadow:0 0 0 6px rgba(111,214,160,0)}100%{box-shadow:0 0 0 0 rgba(111,214,160,0)}}
  .ssub{font-size:10px;color:var(--out);line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}
  /* Nolan strike tally (subtitle OR the score column) — un-scoped so it renders in both */
  .kf{color:var(--red-l);letter-spacing:1px}
  .kd{color:var(--faint);letter-spacing:1px}
  .k3{display:inline-block;transform:scaleX(-1)} /* backwards K = the strikeout (third strike) */
  .sscore{font-variant-numeric:tabular-nums;font-weight:600;font-family:'Oswald';font-size:14px;
    color:var(--gold-bright);text-align:right;opacity:.6}
  .sscore.fin{opacity:1;font-weight:700}
  .sscore.gain{color:var(--gain)} .sscore.prov{color:var(--wc)}
  /* dice in hand (definitive only) shown just before the score */
  .sdice{font-family:'Oswald';font-variant-numeric:tabular-nums;font-size:11px;font-weight:600;color:var(--gold-bright);opacity:.85;flex:0 0 auto;white-space:nowrap}
  /* score column: actual on top, projected/worst-case on ONE line beneath
     (still-in only) so the row stays two lines tall — matching the name +
     bracket·table cell on the left */
  .scol{display:flex;flex-direction:column;align-items:flex-end;flex:0 0 auto;min-width:34px}
  /* the place range under the score ('3–9') — see public/status.css; one token, not a pair */
  .srange{display:flex;flex-direction:row;justify-content:flex-end;font-family:'Oswald';font-variant-numeric:tabular-nums;font-size:var(--ld-fs-8);line-height:1.25;margin-top:1px;white-space:nowrap;color:var(--muted)}

  /* ---------- tabs ---------- */
  .tabbar{display:flex;gap:8px;margin:0 0 14px}
  .tab{flex:1;padding:11px 10px;border-radius:50px;border:1px solid var(--ld-gold-wash-2);
    background:linear-gradient(160deg,var(--navy),var(--navy-d));
    font-family:'Oswald';text-transform:uppercase;letter-spacing:.04em;font-weight:600;font-size:13px;
    cursor:pointer;color:var(--muted);transition:.15s}
  .tab.on{background:var(--ld-gold-grad);
    color:var(--ld-gold-ink);border:1px solid var(--ld-gold-border);
    box-shadow:var(--ld-gold-bevel);text-shadow:var(--ld-gold-text-shadow)}
  .tab.on:hover{filter:brightness(1.05)}
  .tab .badge{display:inline-block;min-width:17px;padding:0 4px;margin-left:5px;border-radius:var(--ld-radius-sm);background:var(--red);
    color:#fff;font-size:10px;line-height:16px;vertical-align:1px}
  .panel{display:none}.panel.on{display:block}

  /* ---------- THE TABLE (first-person) ----------
     A giant pentagon table fills the panel: its left, right and top edges run
     OFF the screen, so the visible area is one large felt play surface — the
     dice roll onto it and the cups sit at the seat positions. You sit at the
     near edge (bottom of the screen); opponents arc across the far side. */
  /* the play area: table window framed by the control surface on the right */
  .parea{flex:1;min-height:0;display:flex;gap:16px}
  /* the action RAIL is a blue-leather PAD with claret piping (the crest's rail
     pads, one per side of the table view); the navy cards sit ON it */
  .pctrl{flex:0 0 280px;display:flex;flex-direction:column;justify-content:center;gap:10px;
    background:var(--ld-leather-room);background-size:auto,auto,440px;
    border:1.5px solid var(--ld-claret-line-strong);border-radius:var(--ld-radius-lg);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.06),var(--ld-card-lift);
    padding:0 12px 12px;color:var(--cream);overflow-y:auto}
  .ptable{position:relative;flex:1;min-height:380px;overflow:hidden;border-radius:var(--ld-radius-lg);
    border:1px solid var(--ld-line-gold);box-shadow:inset 0 0 90px rgba(0,0,0,.55);
    background:radial-gradient(ellipse at 50% -6%,rgba(40,60,110,.22),transparent 55%),linear-gradient(rgba(20,4,7,.42),rgba(8,1,3,.7)),#6e1019 url(assets/felt.jpg) repeat;background-size:auto,auto,360px}
  /* controls restacked for the narrow column */
  /* NOW — the ONE state narrator (rails v9): gold eyebrow header carrying the round,
     then label · value · who. The bid history drops as an OVERLAY below the card. */
  .ctlbid{align-self:stretch;margin-bottom:auto;text-align:center;position:relative;
    background:var(--ld-card-navy);box-shadow:var(--ld-card-lift);
    border:1px solid var(--ld-line-gold);border-radius:var(--ld-radius-md);padding:0 14px 9px}
  .nowhead{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 -14px 6px;
    padding:6px 12px;background:var(--ld-gold-wash-1);color:var(--gold-bright);
    font-family:'Oswald';font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;
    border-bottom:1px solid var(--line);border-radius:var(--ld-radius-md) var(--ld-radius-md) 0 0;
    white-space:nowrap}
  .nowhead span:first-child{overflow:hidden;text-overflow:ellipsis}
  .ctlbid .lab{display:block;font-family:'Oswald';font-size:var(--ld-fs-8);text-transform:uppercase;letter-spacing:.12em;color:var(--muted);margin-bottom:2px}
  .ctlbid .val{font-family:'Oswald';font-weight:700;font-size:20px;color:var(--cream)}
  .ctlbid .val.none{color:var(--faint);font-size:15px;font-weight:600}
  .ctlbid .who{display:block;font-size:11px;color:var(--muted);margin-top:1px}
  /* ACT — ONE navy card holding the verbs (controls directly on it, no card-in-card).
     Empty (someone else's turn — NOW narrates it) → the card collapses away. */
  .actcard{background:var(--ld-card-navy);border:1px solid var(--ld-line-gold);
    border-radius:var(--ld-radius-md);box-shadow:var(--ld-card-lift);padding:12px;
    display:flex;flex-direction:column}
  .actcard:empty{display:none}
  /* The ACT card is a persistent component node re-seated into this slot on every rebuild
     (web/play/components.ts). The slot must be INVISIBLE to layout — display:contents drops
     it from the box tree so .actcard stays a direct flex item of .pctrl, exactly as when it
     was emitted inline. Without this the card would be wrapped in a stray flex item and the
     `flex:1 1 100%` sizing below would apply to the wrapper instead. */
  .actslot{display:contents}
  /* the deal panel's slot + its component host — both layout-transparent, so .ngpanel sits
     exactly where it did when it was emitted inline inside the done card */
  .ngslot,.ngcomp{display:contents}
  /* the NOW card's slot + host — layout-transparent, so .ctlbid stays a direct flex child
     of .pctrl exactly as when ctlHead was emitted inline */
  .nowslot,.nowcomp{display:contents}
  /* left-rail card slots + hosts — layout-transparent so each card stays a direct flex child
     of #standings and keeps the ONE 10px rail rhythm */
  .lslot,.lcolcomp,.potcomp,.chipscomp{display:contents}
  /* the felt bar's slot + host — transparent so .ptable-bar keeps its absolute position
     inside .ptable exactly as when it was emitted inline */
  .fbslot,.fbcomp{display:contents}
  /* v9: the RESERVED SLOT between the controls and the buttons — exactly one notice tall,
     so the NATTYS warning (or a server rejection from a race) materializes IN PLACE and
     the buttons never move. Empty in every normal state. */
  .msgslot{min-height:48px;display:flex;align-items:center;justify-content:center;margin-top:8px}
  .msgslot .natwarn,.msgslot .ctl-err{margin:0;width:100%}
  /* Bid is the lone full-width gold hero; Liar + Exacta pair on one row beneath */
  .btnpair{display:flex;gap:8px}
  .btnpair .btn{flex:1}
  /* the die stepper (ACT-Small): hidden until the narrow phone strip swaps it in */
  .dsgrp{display:none}
  .diestep .qv{display:flex;align-items:center;justify-content:center;width:46px}
  .diestep .die{width:26px;height:26px;padding:3px}
  .pctrl .controls{background:none;border:none;box-shadow:none;padding:0;margin:0;width:100%}
  .pctrl .actbtns{flex-direction:column;gap:8px;margin-top:2px}
  .pctrl .waitline{color:var(--muted)}
  .pctrl #rollBtn{width:100%}
  /* MY AV: the video strip is the rail's bottom device tray (video.ts still inserts it
     first — flex order moves it without touching the media code) */
  .pctrl .vself{order:99}
  .ptable-img{position:absolute;left:50%;bottom:-6%;transform:translateX(-50%);
    width:150%;min-width:920px;aspect-ratio:940/872;
    background:url(assets/table.webp) center/100% 100% no-repeat;
    filter:drop-shadow(0 -8px 40px rgba(0,0,0,.5))}
  /* slim status strip floating on the table */
  /* THE BAR, split position-from-skin (LOBBY_PLAN §3.4): .feltbar is the row and the type,
     worn by BOTH instances; .ptable-bar keeps only the felt's float. .lobbybar (below) is the
     waiting room's instance — same skin in ordinary flow, so the top of the screen does not
     change shape at go-live: "Autumn Open · Registration · pills · ⋯" becomes
     "Table 3 · Seeding · 🎲 5 · ⋯" in place. */
  .feltbar{display:flex;align-items:center;gap:10px}
  .ptable-bar{position:absolute;top:10px;left:12px;right:12px;z-index:8;pointer-events:none}
  .feltbar .tno{font-family:'Oswald';text-transform:uppercase;letter-spacing:.08em;font-weight:600;font-size:13px;color:var(--cream);text-shadow:0 1px 3px rgba(0,0,0,.7)}
  .feltbar .rno{font-family:'Oswald';font-size:11px;color:var(--cream);text-transform:uppercase;letter-spacing:.06em;opacity:.85;text-shadow:0 1px 3px rgba(0,0,0,.7)}
  /* rules actually in effect, worn inline (desktop/iPad); they live in the dice
     disclosure on small screens */
  /* DICE is the bar's persistent anchor (dice > pot — owner): a button opening the
     game/rules disclosure; the pot chip collapses INTO that disclosure on phones */
  .feltbar .fbdice{pointer-events:auto;margin-left:auto;font-family:'Oswald';font-weight:700;font-size:11px;letter-spacing:.02em;
    color:var(--cream);background:rgba(0,0,0,.45);border:1px solid var(--ld-line-gold);border-radius:50px;
    padding:3px 9px;cursor:pointer;text-shadow:0 1px 2px rgba(0,0,0,.7)}
  .feltbar .fbdice:hover{background:rgba(0,0,0,.6)}
  .feltbar .fbdice .fbchev{color:var(--gold-bright)}
  /* the tournament's ante — the pot's counterpart, same slot, same reading: what this round
     costs. Bordered rather than bare so it reads as a live parameter next to the dice pill. */
  /* THE COST CHIP: ante + what a die is worth, one object. Bone for the cost and green for the
     earn — under Elimination positive is good (scoreAccentCls), and the sign carries the meaning
     on its own so colour is confirmation, not the signal. Deliberately NOT danger red: that ink
     belongs to .atrisk, and spending it on a per-die rate is how the at-risk mark stops meaning
     anything. Deliberately NOT amber: amber on this felt already means a clock is running. */
  .feltbar .fbcost{pointer-events:auto;font-family:'Oswald';font-size:10px;font-weight:700;
    background:rgba(0,0,0,.42);border:1px solid var(--ld-gold-wash-2);border-radius:999px;
    padding:4px 9px;letter-spacing:.05em;white-space:nowrap;color:var(--ld-ink);
    text-shadow:0 1px 3px rgba(0,0,0,.7)}
  .feltbar .fbcost .dv-earn{color:var(--ld-ok-bright)}
  .feltbar .fbcost .dv-sep{color:var(--ld-faint);opacity:.7;margin:0 5px}
  .feltbar .fbante{font-family:'Oswald';font-size:10px;font-weight:700;color:var(--gold-bright);
    /* WAS `var(--ld-gold-line, …)` — a token that does not exist. The name is a transposition of
       --ld-line-gold, so the fallback always won, and the fallback is the LEGACY gold the system
       retuned away from (tokens.css:74). This hairline has quietly been a different gold from
       every other one in the product. */
    background:rgba(0,0,0,.42);border:1px solid var(--ld-line-gold);
    border-radius:999px;padding:4px 9px;letter-spacing:.05em;white-space:nowrap;
    text-shadow:0 1px 3px rgba(0,0,0,.7)}
  .feltbar .fbpot{font-family:'Oswald';font-size:10px;font-weight:700;color:var(--gold-bright);
    background:rgba(0,0,0,.4);border:1px solid var(--ld-gold-wash-2);border-radius:50px;
    padding:3px 9px;text-shadow:0 1px 2px rgba(0,0,0,.7);white-space:nowrap}
  /* ⋯ = the table menu (view · full screen · rules · settings · leave) */
  /* the shared ⋯ (tokens.css .ld-more), at the felt bar's compact size */
  .feltbar .fbmore{pointer-events:auto;flex:0 0 auto;width:26px;height:26px}
  .lobbybar{padding:14px 16px 4px}
  /* the lobby's plated pill, in the .fbante/.fbpot idiom. NOT a merge of those two (rule 6,
     stated): folding them under one base changes computed bytes on the live felt, and the
     family unification is queued behind the owner's wash call (LOBBY_PLAN §8.1). */
  .feltbar .fbpill{font-family:'Oswald';font-size:10px;font-weight:700;color:var(--gold-bright);
    background:rgba(0,0,0,.4);border:1px solid var(--ld-line-gold);border-radius:999px;
    padding:4px 9px;letter-spacing:.05em;white-space:nowrap;text-shadow:0 1px 3px rgba(0,0,0,.7)}
  .feltbar .fbpill.warn{color:var(--ld-warn-bright);border-color:var(--ld-warn-line)}
  /* the two disclosures drop from the bar; the bar is pointer-events:none so they re-enable */
  /* the card is tokens.css .ld-menu; the bar is pointer-events:none, so it re-enables */
  .barpop{pointer-events:auto}
  .bpH{background:var(--ld-gold-wash-1);color:var(--gold-bright);font-family:'Oswald';font-size:10px;font-weight:700;
    text-transform:uppercase;letter-spacing:.12em;padding:7px 13px;border-bottom:1px solid var(--line)}
  .bpR{display:flex;justify-content:space-between;gap:10px;padding:6px 13px;font-size:12px;color:var(--muted);
    border-bottom:1px solid rgba(255,255,255,.07);text-decoration:none}
  .bpR b{color:var(--gold-l);font-weight:600;text-align:right}
  /* the earn, in the same green the bank column uses for a good number */
  .bpR b.okb{color:var(--ld-ok-bright)}
  /* a quiet qualifier inside a disclosure value ("win your table", "· four-handed") — it is
     part of the value, not a second column, so it rides the <b> at label weight */
  .bpR .bpNote{font-weight:400;color:var(--muted);font-size:11px}
  .bpR .warnb{color:var(--wc)}
  .bpR:last-child{border-bottom:0}
  a.bpR.bplink{color:var(--gold-bright);font-family:'Oswald';font-size:11px;text-transform:uppercase;letter-spacing:.06em}
  a.bpR.bplink:hover{background:var(--ld-gold-wash-1)}
  /* the items are tokens.css .ld-mi; only the armed leave is play's own */
  .bpM.danger.armed{animation:armpulse .9s ease-in-out infinite;font-weight:700}
  .feltbar .stat{font-family:'Oswald';font-size:10px;text-transform:uppercase;letter-spacing:.08em;
    padding:4px 10px;border-radius:50px;background:rgba(0,0,0,.45);color:var(--cream);border:1px solid var(--ld-line-gold)}
  .feltbar .stat.reveal{background:var(--gold);color:var(--navy-d);border-color:var(--gold)}
  .feltbar .stat.done{background:var(--gold-bright);color:var(--navy-d);border-color:var(--gold-bright)}
  /* fullscreen toggle — the bar is pointer-events:none; this child re-enables itself */
  .feltbar .fsbtn{pointer-events:auto;flex:0 0 auto;width:26px;height:26px;border-radius:50%;
    display:inline-flex;align-items:center;justify-content:center;cursor:pointer;
    background:rgba(0,0,0,.4);border:1px solid var(--ld-line-gold);color:var(--cream)}
  .feltbar .fsbtn .ico{width:13px;height:13px}
  .feltbar .fsbtn:hover{background:rgba(0,0,0,.6)}
  /* the felt-bar degradation ladder (owner/mock v9): Large keeps everything inline;
     iPad folds the view toggle + fullscreen into ⋯; phones fold rules + pot into the
     dice disclosure; tiny drops the status pill and round (both live in the disclosure) */
  @media(max-width:1199px){
    .feltbar .vvslot,.feltbar .fsbtn{display:none} /* (the compact strips' cap: hidden in the compact block below) */
  }
  @media(max-width:759px){
    .feltbar .fbpot{display:none} /* .fbrules/.rhand no longer render at any width — both live in the dice disclosure now */
  }
  @media(max-width:480px){
    /* the ante goes with the round and the status: all three are in the dice disclosure */
    .feltbar .stat,.feltbar .rno,.feltbar .fbante,.feltbar .fbcost{display:none}
  }

  /* 3D scene live: the canvas (z 40) carries table + cups + dice; the DOM
     keeps only chips/badges/bars, re-layered above the canvas */
  .ptable.three-live .ptable-img{display:none}
  .ptable.three-live .pseat:not(.me) .cupwrap{display:none}
  .ptable.three-live .pseat{z-index:45}
  .ptable.three-live .cbid{z-index:45}
  .ptable.three-live .ptable-bar{z-index:46} /* one notch ABOVE the seat chips (45): the bar's open disclosures must never sit under a player label (owner) */
  .ptable.three-live .spec-banner{z-index:45}
  /* THE REVEAL ON A PHONE: the other players' badges sit right over the dice the cups have just lifted
     from, so while the reveal is held they step aside (owner, 2026-10-27). A desktop felt has room for
     both. A landscape phone counts as a phone (short, not narrow). */
  @media (max-width:759px),(max-width:1199px) and (orientation:landscape) and (max-height:500px){
    .ptable.three-live.revealing .pseat:not(.me){visibility:hidden} /* hidden, not removed: the felt still places them */
  }
  /* while peeking, the DOM table chrome gets out of the camera's way */
  .ptable.peeking .cbid,.ptable.peeking .pseat:not(.me){opacity:.18;transition:opacity .3s}

  /* seats ON the table (container coords; opponents arc across the top) */
  .pseat{position:absolute;transform:translate(-50%,-50%);text-align:center;width:130px;z-index:4}
  /* CROWDED — a tie-break table seats the whole tied group at ONE table with no size cap (players
     at different tables can't be compared). arcPos places any count correctly; the fixed chip
     width is what collides past ~7 on a narrow viewport. Narrow the chip and drop the cup art
     rather than capping the table, which would break the comparison the round exists to make. */
  .ptable.crowded .pseat{width:96px}
  .ptable.crowded .pseat .nm{font-size:11px;max-width:78px}
  /* one line: a bot's status line leads with "Bot", which an ellipsis at the end never cuts */
  .ptable.crowded .pseat .st{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:88px;letter-spacing:.02em}
  .ptable.crowded .pseat:not(.me) .cupwrap{display:none}
  .pseat .chip{border:10px solid transparent;border-image:url(assets/badge-blank.png) 44 fill stretch;
    padding:1px 6px 2px;filter:drop-shadow(0 2px 6px rgba(0,0,0,.5));display:inline-block;max-width:100%}
  .pseat .nm{font-size:12.5px;font-weight:700;color:#f5f1e8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.15;max-width:108px}
  .pseat .bt{font-family:'Oswald';font-size:var(--ld-fs-8);letter-spacing:.05em;text-transform:uppercase;color:#cfc9bb;line-height:1.1;white-space:nowrap}
  .pseat .st{font-family:'Oswald';font-size:var(--ld-fs-8);letter-spacing:.05em;text-transform:uppercase;margin-top:1px;color:var(--gold-l)}
  /* AN OPEN SEAT at an Open table waiting for people (web/play/openwait.ts openSeatHTML): dashed, no plate */
  .pseat.openseat .chip{border:1.5px dashed color-mix(in srgb,var(--ld-muted) 60%,transparent);border-image:none;border-radius:10px;background:rgba(10,20,40,.35);padding:6px 10px;filter:none}
  .pseat.openseat .nm{color:var(--ld-muted);font-weight:600}
  .pseat.out{opacity:.55}
  .pseat.out .chip{filter:drop-shadow(0 2px 5px rgba(0,0,0,.4)) brightness(.62) saturate(.55)}
  .pseat.out .nm{color:#cfc9bb;text-decoration:line-through}
  .pseat.out .st{color:#e08a7a}
  .pseat.turn .cup{filter:drop-shadow(0 0 10px var(--ld-gold-glow))}
  .pseat .turnflag{position:absolute;top:-18px;left:50%;transform:translateX(-50%);background:var(--gold);color:var(--navy-d);
    font-family:'Oswald';font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;padding:3px 11px;border-radius:50px;white-space:nowrap;z-index:5}
  .pseat .bidflag{position:absolute;top:-22px;left:50%;transform:translateX(-50%);
    background:var(--ld-gold-grad);color:var(--ld-gold-ink);border:1px solid var(--ld-gold-border);
    box-shadow:var(--ld-gold-bevel),0 0 14px var(--ld-gold-glow);text-shadow:var(--ld-gold-text-shadow);
    font-family:'Oswald';font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;
    padding:4px 14px;border-radius:50px;white-space:nowrap;z-index:6;animation:bidpop .35s ease}
  @keyframes bidpop{0%{transform:translateX(-50%) scale(.6)}70%{transform:translateX(-50%) scale(1.12)}100%{transform:translateX(-50%) scale(1)}}
  /* #2 (owner): with the bid list ON, every player who has bid keeps a QUIET chip with their
     latest bid — navy, no glow, no pop — so the standing bidder's gold flag still owns the eye. */
  .pseat .bidflag.prev{background:rgba(14,22,42,.92);color:var(--muted);border:1px solid var(--ld-line,rgba(255,255,255,.16));
    box-shadow:0 2px 6px rgba(0,0,0,.4);text-shadow:none;font-size:11px;padding:3px 10px;animation:none}
  /* #7 (playtest): NATTYS — the round opened on ones, so ones are NOT wild for the WHOLE round.
     Marked on the bid flag itself + a round-scoped pill on the felt bar. */
  .bidflag .natty{margin-left:8px;padding-left:8px;border-left:1px solid rgba(46,34,6,.4);
    font-size:11px;letter-spacing:.08em;color:var(--ld-claret-deep,#5c1017)}
  /* the NATTYS chip rides every displayed bid VALUE (the felt-bar pill and label-row text
     were too quiet — owner); warn family so it reads as a rules change, not gold ornament */
  .nattychip{display:inline-block;vertical-align:2px;font-family:'Oswald';font-size:var(--ld-fs-8);
    font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--ld-warn-bright,#e0a86a);
    background:rgba(0,0,0,.45);border:1px solid var(--ld-warn,#b97f3c);border-radius:50px;
    padding:2px 8px;white-space:nowrap;margin-left:6px}
  /* the moment-of-truth warning: face 1 selected while ones are still wild */
  .natwarn{font-size:12px;color:var(--ld-warn-bright,#e0a86a);text-align:center;
    padding:6px 8px;border:1px solid var(--ld-warn,#b97f3c);border-radius:9px;
    background:rgba(0,0,0,.3);margin:2px 0}
  /* PRACTICE ODDS (owner, 2026-11-01): on the practice bid turn, three readings above the verbs (what Liar! wins, the set
   bid, the standing bid with no dice seen; web/play/practiceodds.ts), in the reveal's odds cells (.rvodds below; owner,
   2026-11-02), a little tighter above the verbs. */
.podds.rvodds{margin:2px 0 6px}
.podds.rvodds .rvo{padding:2px 10px}
.podds.rvodds .rvo-v{font-size:17px;margin-top:0}
/* #2 (owner design v2): ONE control. The Current-bid card is the TOP of the round's
     timeline; the list of earlier bids lives INSIDE the same card and the disclosure grows
     the card downward (about a table-round of rows — JS sets the px — then it scrolls).
     No affordance at all when the table doesn't keep a list. */
  .ctlbid.expandable{cursor:pointer;transition:box-shadow .15s}
  .ctlbid.expandable:hover{box-shadow:inset 0 0 0 1px var(--ld-line-gold)}
  .ctlbid .bl-chev{color:var(--ld-gold-bright);font-size:11px}
  /* v9: the history is an OVERLAY — it drops OVER whatever sits below the card and is
     never part of the card's height (fixed-size contract). Same max-height animation. */
  .ctlbid .bl-rows{list-style:none;margin:0;padding:0 14px 0 4px;max-height:0;overflow-y:auto;
    position:absolute;left:-1px;right:-1px;top:calc(100% - 2px);z-index:40;
    background:var(--ld-card-navy);border:1px solid var(--ld-line-gold);border-top:0;
    border-radius:0 0 var(--ld-radius-md) var(--ld-radius-md);
    text-align:left;scrollbar-gutter:stable;
    /* right padding + stable gutter: browsers with PERSISTENT scrollbars were covering the
       bid values at the row ends (owner nit) */
    transition:max-height .28s ease,padding .28s ease}
  .ctlbid .bl-rows:not(.open){border-color:transparent;box-shadow:none}
  .ctlbid .bl-rows.open{padding-top:5px;padding-bottom:6px;box-shadow:0 14px 28px rgba(0,0,0,.55)}
  .bl-rows li{display:flex;gap:8px;align-items:baseline;font-size:12.5px;padding:2px 0}
  .bl-rows .bl-n{flex:0 0 22px;color:var(--faint,#8b93a6);font-variant-numeric:tabular-nums;text-align:right}
  .bl-rows .bl-who{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}
  .bl-rows .bl-bid{flex:0 0 auto;font-weight:700;color:var(--ld-gold-bright)}
  @media (prefers-reduced-motion: reduce){ .ctlbid .bl-rows{transition:none} }
  /* #1: the perfect-game call on the winner card: the chips doubled, make it read like it */
  .potwin.perfect{color:var(--ld-gold-bright);border:1px solid var(--ld-gold);border-radius:9px;
    padding:8px 12px;background:rgba(192,146,47,.12);line-height:1.5}
  .potwin.perfect b{color:var(--ld-gold-bright)}
  .pseat.me .mychip{position:relative;display:inline-block}
  .pseat.me .mychip .bidflag{top:-26px} /* rides the name chip, not the cup */
  .pseat.me{width:190px;z-index:50} /* above the 3D dice canvas (z 40): the cup covers the dice */
  .pseat.me .nm{max-width:160px;font-size:13.5px}

  /* a drawn cup (CSS trapezoid) */
  .cupwrap{position:relative;height:62px;display:flex;align-items:flex-end;justify-content:center;margin:6px 0 4px}
  .cup{position:relative;width:54px;height:50px;transition:transform .42s cubic-bezier(.34,1.4,.5,1);transform-origin:bottom center;z-index:2}
  .cup.lifted{transform:translateY(-30px) rotate(-7deg)}
  .cup .body{position:absolute;inset:0;
    background:linear-gradient(100deg,#27396a 0%,#1b2a4d 45%,#14213f 100%);
    clip-path:polygon(16% 0,84% 0,100% 100%,0 100%);
    border-radius:5px 5px 7px 7px;
    box-shadow:inset -6px -3px 10px rgba(0,0,0,.45),inset 6px 2px 8px rgba(118,140,200,.25),
      inset 0 0 0 1px var(--ld-line-gold)}
  .cup .rim{position:absolute;top:-4px;left:10%;width:80%;height:11px;border-radius:50%;
    background:linear-gradient(#3a4f86,#1b2a4d);box-shadow:inset 0 -2px 3px rgba(0,0,0,.4),0 0 0 1px var(--ld-line-gold)}
  .cup .rim::after{content:'';position:absolute;top:3px;left:12%;width:76%;height:5px;border-radius:50%;background:#0f1830}
  .cup.ghost{opacity:0} /* tap target only — the 3D cup on the WebGL layer is visible */
  .cup.mine{width:116px;height:106px;cursor:pointer}
  .cup.mine.lifted{transform:translateY(-92px) rotate(-6deg)}
  /* the dice that sit UNDER a cup (mine, when lifted) */
  .undercup{position:absolute;bottom:0;left:50%;transform:translateX(-50%);display:flex;gap:4px;flex-wrap:wrap;
    justify-content:center;max-width:130px;opacity:0;transition:opacity .25s .12s;z-index:1}
  .cupwrap.revealed .undercup{opacity:1}
  .seat .dcount{font-family:'Oswald';font-size:11px;color:var(--gold-l);letter-spacing:.04em}

  /* face-down dice (opponent dice_count) */
  .facedown-row{display:flex;gap:3px;flex-wrap:wrap;justify-content:center;min-height:18px}
  .fd{width:15px;height:15px;border-radius:4px;background:linear-gradient(135deg,#27396a,#14213f);
    border:1px solid var(--ld-line-gold);box-shadow:inset 0 1px 1px rgba(118,140,200,.2)}

  /* ---------- your seat (bottom-center of the table) ---------- */
  .mycupwrap{position:relative;height:128px;display:flex;align-items:flex-end;justify-content:center;cursor:pointer}
  .mycup-tip{position:absolute;bottom:-4px;left:50%;transform:translateX(-50%);font-family:'Oswald';font-size:10px;
    text-transform:uppercase;letter-spacing:.06em;color:var(--gold-l);background:rgba(0,0,0,.45);padding:3px 10px;border-radius:50px;
    pointer-events:none;transition:.2s;white-space:nowrap;z-index:6}
  /* (the control surface replaced the bottom dock) */
  .waitline{text-align:center;font-size:13px;color:var(--ld-muted);padding:10px 6px 0} /* V-4: was #5b5f6b, low-contrast on felt */
  .waitline b{color:var(--ld-gold-bright)} /* V-4: gold-deep is the paper-safe gold; the waitline sits on dark felt → use the on-felt gold */
  .rvdock{text-align:center}
  .rvdock .rv-line{font-size:13px;color:var(--muted)}
  .rvdock .rv-line b{color:var(--gold-l)}
  /* the stage clears while a roll is in flight */
  .ptable.roll-hide .pseat:not(.me){opacity:0;transition:opacity .25s}

  /* ---------- dice (CSS pips) ---------- */
  .die{width:30px;height:30px;border-radius:var(--ld-radius-sm);background:linear-gradient(150deg,#f5f1e8,#f3ead6);
    box-shadow:0 2px 5px rgba(0,0,0,.4),inset 0 -2px 3px rgba(0,0,0,.12);
    display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);padding:4px;flex:0 0 auto}
  .die .pip{width:5px;height:5px;border-radius:50%;background:#14213f;align-self:center;justify-self:center;visibility:hidden}
  .die.lit{box-shadow:0 2px 6px rgba(0,0,0,.4),0 0 0 2px var(--gold-bright)}
  /* after a call: relevant dice turn green (bid held) or red (over-bid) — a
     solid ring + tinted face + glow, far clearer than the old gold outline */
  .die.lit.hit-good{background:linear-gradient(150deg,#2bbf50,#1f9d3f);
    box-shadow:0 2px 6px rgba(0,0,0,.45),0 0 0 2px #0d6b27,0 0 12px rgba(31,157,63,.7)}
  .die.lit.hit-bad{background:linear-gradient(150deg,#ec4a40,#d3342a);
    box-shadow:0 2px 6px rgba(0,0,0,.45),0 0 0 2px #9e2117,0 0 12px rgba(211,52,42,.7)}
  .die.lit.hit-good .pip,.die.lit.hit-bad .pip{background:#fff}
  .die.sm{width:22px;height:22px;padding:3px;border-radius:5px}
  .die.sm .pip{width:3.5px;height:3.5px}
  /* pip positions: cells a..i (1..9) */
  .die .p1{grid-area:1/1}.die .p2{grid-area:1/2}.die .p3{grid-area:1/3}
  .die .p4{grid-area:2/1}.die .p5{grid-area:2/2}.die .p6{grid-area:2/3}
  .die .p7{grid-area:3/1}.die .p8{grid-area:3/2}.die .p9{grid-area:3/3}
  .die[data-f="1"] .p5{visibility:visible}
  /* A WILD 1 (owner, 2026-10-31): its dot is a gold star on the ordinary white die; the 3D felt draws the same */
  .die.wild[data-f="1"] .p5{width:15px;height:15px;border-radius:0;background:linear-gradient(160deg,#f3d27a,#d4a93c 55%,#9a7425);
    clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)}
  .die.sm.wild[data-f="1"] .p5{width:11px;height:11px}
  .die[data-f="2"] .p1,.die[data-f="2"] .p9{visibility:visible}
  .die[data-f="3"] .p1,.die[data-f="3"] .p5,.die[data-f="3"] .p9{visibility:visible}
  .die[data-f="4"] .p1,.die[data-f="4"] .p3,.die[data-f="4"] .p7,.die[data-f="4"] .p9{visibility:visible}
  .die[data-f="5"] .p1,.die[data-f="5"] .p3,.die[data-f="5"] .p5,.die[data-f="5"] .p7,.die[data-f="5"] .p9{visibility:visible}
  .die[data-f="6"] .p1,.die[data-f="6"] .p3,.die[data-f="6"] .p4,.die[data-f="6"] .p6,.die[data-f="6"] .p7,.die[data-f="6"] .p9{visibility:visible}

  /* ---------- current bid — the badge at the center of the table ---------- */
  .cbid{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%);z-index:3;text-align:center;
    border:15px solid transparent;border-image:url(assets/badge-blank.png) 44 fill stretch;padding:3px 10px 5px;
    filter:drop-shadow(0 3px 9px rgba(0,0,0,.55))}
  .cbid .who{font-family:'Oswald';font-size:var(--ld-fs-8);letter-spacing:.12em;text-transform:uppercase;color:var(--gold-l);display:block;white-space:nowrap}
  .cbid .what{display:flex;align-items:center;justify-content:center;gap:7px;font-family:'Oswald';
    font-weight:700;font-size:22px;color:#f5f1e8;line-height:1.2;text-shadow:0 1px 2px rgba(0,0,0,.55)}

  /* reveal / final overlays float centered over the table */
  /* start BELOW the sticky nav (z-index 60 < nav 2000) AND the play sub-header,
     and anchor the dialog to the TOP so a tall dialog never has its top edge
     clipped — it scrolls internally for the rest. */
  .tableolay{position:fixed;inset:calc(var(--nav-h,66px) + var(--hdr-h,62px) + 16px) 0 0 0;z-index:60;
    display:flex;align-items:flex-start;justify-content:center;
    padding:14px 16px 16px;background:rgba(10,16,32,.55);backdrop-filter:blur(2px)}
  /* desktop: keep the standings + Chips card clear of the overlay so a finished
     table can show who-owes-whom without anyone starting a new game */
  /* .tableolay spans the full felt at every width now (standings is a drawer, not a 300px column) */
  .tableolay > *{max-width:540px;width:100%;max-height:100%;overflow:auto;margin-top:0!important}

  /* ---------- turn controls ---------- */
  .controls{background:linear-gradient(160deg,var(--navy),var(--navy-d));border:1px solid var(--ld-line-gold);
    border-radius:var(--ld-radius-md);padding:9px 10px;margin-top:12px;box-shadow:var(--ld-shadow-md)}
  .ctl-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:center;margin-bottom:8px}
  .ctl-grp{text-align:center}
  .ctl-grp .lab{font-family:'Oswald';font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--gold-l);margin-bottom:5px}
  .stepper{display:inline-flex;align-items:center;border:1px solid var(--ld-line-gold);border-radius:var(--ld-radius-md);overflow:hidden;background:var(--navy-dd)}
  .stepper button{border:none;background:rgba(255,255,255,.08);width:40px;height:40px;font-size:22px;cursor:pointer;color:var(--gold-l);line-height:1}
  .stepper button:active{background:var(--ld-gold-wash-2)}
  .stepper .qv{width:46px;text-align:center;font-family:'Oswald';font-weight:700;font-size:22px;color:var(--cream)}
  .facepick{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}
  /* direction of play is a full-width segmented; segments split evenly and wrap long names */
  .dirpick{display:flex;width:100%;max-width:440px;margin:0 auto}
  .dirpick button{flex:1 1 0;white-space:normal;text-align:center;padding-top:7px;padding-bottom:7px}
  .facebtn{border:2px solid transparent;border-radius:var(--ld-radius-sm);padding:3px;background:rgba(255,255,255,.08);cursor:pointer;line-height:0}
  .facebtn .die{border-radius:2px} /* near-square, matching the gallery dice strips (owner) */
  .facebtn.on{border-color:var(--gold);background:var(--ld-gold-wash-2)}
  .facebtn:disabled{opacity:.28;cursor:not-allowed}
  /* canonical .btn comes from tokens.css — only play-specific sizing here */
  .actbtns{display:flex;gap:10px}
  .actbtns .btn{flex:1;padding:11px 18px;font-size:14px}
  .btn:active{transform:translateY(1px)}
  .ctl-err{margin-top:10px;background:var(--ld-danger-wash);border:1px solid var(--ld-danger-line);border-left:3px solid var(--red-l);
    border-radius:0 9px 9px 0;padding:9px 12px;font-size:13px;color:var(--ld-danger-bright)}
  /* I-6: a committing button that failed re-enables and flashes so the retry affordance is obvious. */
  .gc-fail{animation:gcFail 1.6s ease-out 2}
  @keyframes gcFail{0%,100%{box-shadow:0 0 0 0 transparent}30%{box-shadow:0 0 0 3px var(--ld-danger-line)}}
  @media (prefers-reduced-motion: reduce){.gc-fail{animation:none;outline:2px solid var(--ld-danger-line)}}

  /* ---------- reveal ---------- */
  .reveal-box{background:linear-gradient(160deg,var(--navy),var(--navy-d));border:1px solid var(--ld-line-gold);
    border-radius:var(--ld-radius-lg);padding:14px;margin-top:12px;box-shadow:0 8px 22px rgba(20,33,63,.18);color:var(--cream)}
  .reveal-box h3{text-align:center;text-transform:uppercase;letter-spacing:.04em;font-size:var(--ld-fs-4);margin-bottom:4px;color:var(--gold)}
  .reveal-sub{text-align:center;font-size:13.5px;color:var(--muted);margin-bottom:12px}
  .reveal-sub b{color:var(--gold-l)}
  .rv-verdict{text-align:center;font-family:'Oswald';text-transform:uppercase;letter-spacing:.03em;font-weight:600;
    font-size:15px;padding:10px;border-radius:var(--ld-radius-md);margin-bottom:12px}
  .rv-verdict.good{background:rgba(46,158,91,.22);border:1px solid rgba(46,158,91,.5);color:#8ee0aa}
  .rv-verdict.bad{background:var(--ld-danger-wash);border:1px solid var(--ld-danger-line);color:var(--ld-danger-bright)}
  .rv-player{display:flex;align-items:center;gap:9px;padding:8px 0;border-top:1px solid var(--line);flex-wrap:wrap}
  .rv-player:first-of-type{border-top:none}
  .rv-player.loser{background:var(--ld-danger-wash);border-radius:var(--ld-radius-sm);padding:8px 10px;border-top:none}
  .rv-player .rn{font-family:'Oswald';font-weight:600;font-size:13.5px;min-width:78px;color:var(--cream)}
  .rv-player .rd{display:flex;gap:4px;flex-wrap:wrap;flex:1}
  .rv-player .tag{font-family:'Oswald';font-size:var(--ld-fs-8);text-transform:uppercase;letter-spacing:.05em;padding:2px 7px;border-radius:50px;background:rgba(255,255,255,.1);color:var(--muted)}
  .rv-player .tag.elim{background:var(--red);color:#fff}
  .rv-player .tag.gain{background:#1f9d3f;color:#fff}

  /* ---------- done ---------- */
  .done-box{background:linear-gradient(160deg,var(--navy),var(--navy-dd));border:2px solid var(--gold);border-radius:var(--ld-radius-xl);
    padding:22px 16px;text-align:center;margin-top:12px;box-shadow:var(--shadow),0 0 40px var(--ld-gold-wash-2);color:var(--cream)}
  .done-box .crown{font-size:34px}
  .done-box .wlab{font-family:'Oswald';text-transform:uppercase;letter-spacing:.12em;font-size:12px;color:var(--gold)}
  .done-box .wnm{font-family:'Oswald';font-weight:700;font-size:30px;text-transform:uppercase;margin-top:2px;color:var(--gold-bright)}
  /* the wait at an Open table (web/play/openwait.ts): the clock, who is in, Start now and Leave */
  .openwait{display:flex;flex-direction:column;align-items:center;gap:10px}
  .openwait .ow-clock,.openbetween .ow-clock{font-family:'Oswald';text-transform:uppercase;letter-spacing:.06em;font-size:18px;color:var(--cream);text-align:center}
  .openwait .ow-clock b,.openbetween .ow-clock b{font-size:30px;color:var(--gold-bright);font-variant-numeric:tabular-nums;margin-left:4px}
  .openwait .ow-sub{margin:0;color:var(--muted);max-width:32ch}
  .openwait .ow-seats{margin:0;font-size:14px;color:var(--cream)}
  .openwait .ow-start,.openwait .ow-leave{width:100%;max-width:320px;min-height:44px}
  .openbetween{display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:16px}
  .openbetween .ow-start,.openbetween .ow-leave{width:100%;max-width:320px;min-height:44px}
  .openbetween .ow-sub{margin:0;color:var(--muted);text-align:center;max-width:32ch}
  .openbetween .ow-seats{margin:0;color:var(--gold-bright)}
  .done-list{list-style:none;margin-top:14px;text-align:left;max-width:320px;margin-left:auto;margin-right:auto}
  .done-list li{display:flex;align-items:center;gap:10px;padding:7px 4px;border-top:1px solid var(--line);font-size:14px}
  .done-list li:first-child{border-top:none}
  .done-list .pl{width:26px;height:24px;border-radius:6px;background:rgba(255,255,255,.1);color:var(--cream);display:flex;align-items:center;justify-content:center;
    font-family:'Oswald';font-weight:700;font-size:12px}
  .done-list li.win .pl{background:var(--gold-bright);color:var(--navy-d)}
  .done-list .dn{flex:1;font-weight:600}

  /* ---------- next-game panel (single-table mode, creator only) ---------- */
  .ngpanel{margin-top:16px;text-align:left;border-top:1px solid var(--line);padding-top:16px}
  /* the panel's sticky footer sits flush on the card's bottom edge: the card gives up its bottom padding to it */
  .done-box:has(.su-foot){padding-bottom:0}
  .done-box .su-foot{margin-bottom:0}
  /* the set-up dialog's seat rows (plan §9.6; the shared .su-* parts are public/tokens.css's) */
  .su-whohead{min-height:0}
  .su-whohead .btn{min-height:40px}
  .su-seats{margin:0}
  .su-seats li{min-height:48px}
  .su-seats .su-seatchk{width:auto;flex:0 0 auto}
  .su-seatnm{flex:1;min-width:0;font-size:15px}
  .su-seatnm .small{color:var(--muted)}
  .su-stack{font-family:'Oswald';font-size:14px;font-variant-numeric:tabular-nums;color:var(--muted);min-width:36px;text-align:right}
  .su-table .btn{min-height:44px}
  .nglist{list-style:none;margin:0 0 12px}
  .nglist li{display:flex;align-items:center;gap:8px;padding:6px 4px;border-top:1px solid var(--line);font-size:14px}
  .nglist li:first-child{border-top:none}
  /* PLD-26: the deal panel's Add a bot row and the deal's own lines (off the record, plays for nothing) */
  .ngbots{margin:0 0 12px}
  .ngbotbtns{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
  .ngbotbtns .btn{padding:10px 4px;font-size:12px;min-height:40px}
  .ngdealline{color:var(--muted);margin:0 0 8px;line-height:1.35}
  .nglist .ord{font-family:'Oswald';font-weight:700;width:20px;color:var(--gold-l);flex:0 0 auto}
  .nglist .mv{background:rgba(255,255,255,.08);border:1px solid var(--line);border-radius:6px;color:var(--cream);cursor:pointer;padding:2px 9px;font-size:12px}
  .nglist .mv:disabled{opacity:.3;cursor:default}
  .ng-err{font-size:12px;color:var(--red-l);margin-top:8px;min-height:1em}
  .nglist .ngshort{display:block}
  .nglist .ngshort[hidden]{display:none}

  /* V-7: the dealer panel is used on phones — give its sub-target controls a 44px touch target on
     coarse pointers (matching admin.css's idiom + the door check-in rows). Visual size on mouse is unchanged. */
  @media(pointer:coarse){
    .nglist .mv{padding:11px 13px}
  }
  .ngadd{padding:5px 10px;font-size:12px;align-self:center}
  .ngsub{font-size:11px;color:var(--faint);margin:-3px 0 11px;font-style:italic}
  .btn.exacta{background:#6c4cd6;color:#fff;border:1px solid #8268e0}
  .btn.exacta:disabled{opacity:.4}
  /* armed (awaiting confirm) — pulse so the second-tap intent is obvious */
  .btn.armed{animation:armpulse .9s ease-in-out infinite;box-shadow:0 0 0 3px rgba(255,255,255,.35),0 0 14px rgba(211,52,42,.6);font-weight:700}
  .btn.exacta.armed{box-shadow:0 0 0 3px rgba(255,255,255,.35),0 0 14px rgba(108,76,214,.7)}
  @keyframes armpulse{0%,100%{filter:brightness(1)}50%{filter:brightness(1.25)}}

  /* ---------- scores + strikes + ledger ----------
     (the matchstrip is gone — round/pot/rules live in the felt bar + its dice disclosure) */
  .st-score{font-family:'Oswald';font-weight:700;font-size:13px;color:var(--gold-l);min-width:22px;text-align:right;margin-left:auto}
  .st-state.strikes{letter-spacing:2px;font-family:'Oswald';font-weight:700}
  .st-state.strikes .kfill{color:var(--red-l)}
  .st-state.strikes .dim{color:var(--faint)}
  /* Nolan Ryan umpire "STRIKE N" call over the struck seat */
  .strike-call{position:fixed;z-index:75;transform:translate(-50%,-50%);pointer-events:none;
    text-align:center;font-family:'Oswald';animation:strikepop 2.2s ease forwards}
  .strike-call .big{display:block;font-weight:700;font-size:30px;letter-spacing:.05em;text-transform:uppercase;
    color:#fff;text-shadow:0 2px 0 #7a1f1f,0 0 16px rgba(211,52,42,.95);transform:rotate(-6deg)}
  .strike-call .num{display:block;font-weight:700;font-size:40px;line-height:.9;color:var(--red-l);
    text-shadow:0 2px 0 #5a120c;transform:rotate(-6deg)}
  .strike-call.out .big{font-size:26px}
  .strike-call.out .sub{display:block;font-weight:700;font-size:19px;letter-spacing:.12em;color:var(--gold-bright);
    text-shadow:0 2px 4px rgba(0,0,0,.6)}
  .strike-call .k{display:block;font-size:66px;font-weight:700;line-height:.85;color:var(--red-l);
    transform:scaleX(-1); /* strike three = the backwards K, baseball's strikeout mark */
    text-shadow:0 3px 0 #5a120c,0 0 22px rgba(211,52,42,.9)}
  @keyframes strikepop{
    0%{opacity:0;transform:translate(-50%,-50%) scale(.4)}
    12%{opacity:1;transform:translate(-50%,-50%) scale(1.18)}
    20%{transform:translate(-50%,-50%) scale(1) rotate(-1.5deg)}
    26%{transform:translate(-50%,-50%) scale(1) rotate(1.5deg)}
    32%{transform:translate(-50%,-50%) scale(1) rotate(0)}
    80%{opacity:1;transform:translate(-50%,-50%) scale(1)}
    100%{opacity:0;transform:translate(-50%,-50%) scale(1.06)}
  }
  .potwin{font-family:'Oswald';font-size:14px;color:var(--gold-bright);margin:4px 0 2px}
  /* the viewer's rank, when the finished match moved it (§9.5) */
  .strmove{font-size:13.5px;color:var(--cream);margin:6px 0 2px}
  .ledger{margin:12px 0 4px;text-align:left;border-top:1px solid var(--line);padding-top:10px}
  .ledger .lab{font-family:'Oswald';font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--gold-l);margin-bottom:6px}
  .ledger-list{list-style:none;margin:0 0 9px;font-size:13.5px;color:var(--cream)}
  .ledger-list li{padding:4px 2px;border-top:1px solid var(--line)}
  .ledger-list li:first-child{border-top:none}
  .ledger-list .amt{color:var(--gold-bright);font-weight:700;float:right}
  .ledger-list .settled{color:var(--ok)}

  /* Drawer pot pill (compact only): the felt-bar pot chip folds into the dice
     disclosure <760px, so the drawer keeps a visible pot. Desktop hides this. */
  .drawer-pot{font-family:'Oswald';font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--cream);
    background:var(--ld-card-navy);border:1px solid var(--ld-line-gold);border-radius:50px;
    padding:5px 14px;margin:0 auto;width:max-content}
  @media (min-width:1200px){ .drawer-pot{display:none} }

  /* ---------- Chips card (under standings, persistent) ---------- */
  .chips-card{background:var(--ld-card-navy);border:1px solid var(--ld-line-gold);
    box-shadow:var(--ld-card-lift);color:var(--cream);border-radius:var(--ld-radius-lg)} /* the pad gap is the rhythm - no own margin */
  /* geometry + title inherit the unified .gh spec above. (The peer ledger's settle button and its
     coloured +/- amounts went with the ledger: a stack is neither a win nor a loss.) */
  .chips-head{gap:9px}
  .chips-head .ti{flex:1}
  .chips-body{padding:6px 14px 12px}
  .chips-row{display:flex;align-items:center;gap:9px;padding:6px 0;border-top:1px solid var(--line);font-size:13.5px}
  .chips-row:first-child{border-top:none}
  .chips-row .mnm{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}
  .chips-row .mnm .yu{font-size:var(--ld-fs-8);font-family:'Oswald';letter-spacing:.06em;color:var(--gold);margin-left:5px;vertical-align:1px}
  .chips-row .mv{font-family:'Oswald';font-weight:700;font-variant-numeric:tabular-nums}
  .chips-row .mpot{font-size:12px;color:var(--muted);white-space:nowrap} /* the part of the stack in the pot under way */
  .owe-lab{font-family:'Oswald';font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--gold-l);margin:11px 0 5px}
  .owe-list{list-style:none;margin:0;font-size:13px;color:var(--cream)}
  .owe-list li{display:flex;align-items:center;padding:5px 0;border-top:1px solid var(--line)}
  .owe-list li:first-child{border-top:none}
  /* the chips card shows five deals until "Show all" (web/play/standings.ts chipsCard) */
  .chips-card:not(.deals-open) .owe-list li.more{display:none}
  .owe-list li b{font-weight:600}
  .owe-list .amt{margin-left:auto;color:var(--gold-bright);font-weight:700}
  .owe-list .settled{color:var(--ok)}

  /* ---------- other tables — the status-board look ---------- */
  /* A FIXED 360 SQUARE, not the old stretch (auto-fit + minmax(300px,1fr) over a 240px felt).
     Stretching let a wide panel inflate the card past its felt, so the card grew and the table
     inside it did not. auto-FILL, not auto-fit, so a short row keeps its card size instead of
     spreading the survivors across the panel; the panel scrolls, and the viewer is sitting a
     foot away with a scrollbar, not across a room. A square card gives a landscape felt, which
     is what lets this card reuse the board's felt recipe unchanged. */
  .otgrid{display:grid;grid-template-columns:repeat(auto-fill,360px);gap:14px;justify-content:start}
  /* THE CARD IS THE BOARD'S (tokens.css .tcard family, rendered by web/tablecard.ts) at this
     strip's own fixed size - the board's TV ladder never loads here, so the base sizes give the
     mini look. Only strip-local concerns remain: the fixed square, the status pill's neutral
     fill, and a seat-width guard against play.css's OWN main-felt .pseat (130px, unscoped). */
  .otgrid .tcard{width:360px;height:360px}
  .otgrid .tcard .th .pill{padding:3px 8px;background:rgba(255,255,255,.12);border:1px solid var(--ld-gold-wash-2);color:var(--cream)}
  .otgrid .tcard .th .pill.reveal{background:var(--gold);color:var(--navy-d);border-color:var(--gold)}
  .otgrid .tcard .pseat{width:max-content;min-width:26%;max-width:112px}

  /* ---------- gates / spectator ---------- */
  .gate{max-width:480px;margin:48px auto;background:linear-gradient(160deg,var(--navy),var(--navy-d));border:1px solid var(--ld-line-gold);border-radius:var(--ld-radius-xl);
    box-shadow:var(--shadow);padding:30px 24px;text-align:center;color:var(--cream)}
  /* an Open table's gates (closed, not seated, seat gone, sign in): one width whatever the message, as wide as 480 allows */
  .gate.opengate{width:100%;box-sizing:border-box}
  .gate.opengate .btn{display:flex;justify-content:center;align-items:center;width:100%;min-height:44px;box-sizing:border-box}
  .gate.opengate .btn + .btn{margin-top:8px} /* the left-out card's Join back and Back to Open tables, apart */
  .gate .cupart{width:74px;height:68px;margin:0 auto 16px;position:relative}
  .gate h2{text-transform:uppercase;letter-spacing:.03em;font-size:var(--ld-fs-3);margin-bottom:8px;color:var(--gold)}
  .gate p{color:var(--muted);font-size:14px;margin-bottom:8px}
  .gate .note{font-size:12.5px;color:var(--gold-l);background:var(--ld-gold-wash-1);border:1px solid var(--ld-gold-wash-2);border-radius:var(--ld-radius-sm);padding:10px 12px;margin-top:14px}
  .spec-banner{position:absolute;top:42px;left:50%;transform:translateX(-50%);z-index:8;
    background:rgba(0,0,0,.45);border:1px solid var(--ld-line-gold);border-radius:50px;padding:6px 14px;
    font-size:11px;color:var(--gold-l);text-align:center;font-family:'Oswald';text-transform:uppercase;letter-spacing:.06em;white-space:nowrap}

  .loading{text-align:center;color:var(--ld-muted);padding:50px 20px; /* V-3: was #16223f (dark navy) on the leather-room boot screen → invisible */font-family:'Oswald';text-transform:uppercase;letter-spacing:.08em;font-size:13px}

/* utility classes hoisted from web/play.ts inline style= attributes (F9 CSP flip) */
.pu1{color:var(--faint)}
.pu2{bottom:2px}
.pu3{margin:8px 0 0;text-align:center;color:var(--muted)}
.pu4{margin:12px 0 0;text-align:center;color:var(--muted)}
.pu5{text-align:center}
.pu6{width:100%}
.pu7{margin:6px 0 4px}
.pu8{margin:14px 0 0}
.pu9{margin:-4px 0 10px}
.pu10{margin-bottom:8px}
.pu11{margin-top:10px;color:var(--faint)}
.pu12{margin-left:auto;font-variant-numeric:tabular-nums;color:var(--muted);font-size:12.5px}
.pu13{margin:10px 0 0;text-align:center;color:var(--muted)}
.pu14{margin:5px 0 0;text-align:center;color:var(--muted)}
.pu15{margin:4px 0 0;color:var(--muted)}
.pu16{color:var(--muted)}
.pu17{margin-top:0}
.pu18{margin:0}
.pu19{text-align:center;max-width:540px;margin:48px auto 0}
.pu20{color:var(--ok-bright,#7fd6a4)}
.pu21{margin-left:6px;opacity:.85}
.pu22{opacity:.65}
.pu23{left:50%;top:80%}
.pu24{left:50%;top:76%}
.pu25{background:var(--ld-gold-wash-2);border:1px solid var(--line-gold);color:var(--gold-l);white-space:nowrap}
.pu26{width:100%;margin-top:14px}
.closed-split{min-height:72vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:24px 12px}
.pu28{max-width:460px;width:100%}
.pu29{width:100%;margin-top:8px}
.pu30{font-size:11px;color:var(--faint)}
.pu31{margin-top:10px}
.pu32{padding:15px 40px;font-size:17px;white-space:nowrap}
.pu33{width:100%;margin-top:14px;white-space:nowrap}
.pu34{width:100%;margin-top:10px;white-space:nowrap}
.pu35{width:100%;margin-top:10px}
.pu36{width:100%;margin-top:12px}
.pu37{width:100%;margin-top:8px;font-size:12px;padding:8px;opacity:.7}
.pu38{width:100%;margin-top:8px;font-size:12px;padding:8px;opacity:.85}
.pu39{margin-top:10px;width:100%;font-size:12px;padding:8px;opacity:.8}
.pu40{width:64px}
.pu41{opacity:.5}
.pu42{flex:1}
.pu43{opacity:.75}
.pu44{opacity:.55}
.pu45{margin-top:16px}
.pu46{position:fixed;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:20px;background:var(--ld-leather-room,#0f1830);box-shadow:var(--ld-vignette)}
.pu47{margin-top:8px}
.pu48{width:100%;height:100%;object-fit:contain}
.gate-bignum{font-family:Oswald,sans-serif;font-size:30px;font-weight:600;margin:8px 0;color:var(--gold-bright)}
.pu50{color:var(--gold-bright)}
.pu51{color:var(--muted,#c3c9d6);font-size:13px}
/* waiting-room here-count: a styled ok-dot, not an emoji (icon policy V-8) */
.wrdot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--ld-ok,#3f9e6a);margin-right:7px;vertical-align:1px}
.pu52{color:var(--muted,#c3c9d6);font-size:12px;margin-top:6px}

/* seat-warm banner + relaxed-clock chip (were inline style vars in play.ts — F9) */
/* 44px, NOT 10px: .ptable-bar is also absolute at top:10px, and .swwarm is z70 against the
   bar's z8 (z46 with 3D live) — so the banner sat ON the bar and covered the round label and
   the rules tags. On compact widths the bar wraps, and a wrapped bar was covered outright.
   44px matches .spec-banner (42px), which was already placed to clear it. */
.swwarm{position:absolute;top:44px;left:50%;transform:translateX(-50%);z-index:70;display:flex;align-items:center;gap:11px;max-width:90%;padding:9px 14px;border-radius:var(--ld-radius-sm);font-size:13px;line-height:1.3;box-shadow:0 6px 20px rgba(0,0,0,.45)}
.swwarm.warn{background:linear-gradient(var(--ld-warn-wash),var(--ld-warn-wash)),rgba(20,28,46,.97);border:1px solid var(--ld-warn-line);border-left:4px solid var(--ld-warn);color:var(--ld-warn-ink)} /* V-6: was inline #e0a86a/#f0d3b2 ambers */
.swwarm.chip{background:rgba(20,28,46,.97);border:1px solid var(--line-gold);color:var(--cream)}
.swwarm .swcd{font-family:'Oswald',sans-serif;font-weight:700;font-size:21px;color:var(--ld-warn-bright);font-variant-numeric:tabular-nums;white-space:nowrap} /* V-6: was #f0c089 */
/* The ELIMINATION BREAK's countdown in the NOW card (web/play.ts breakCd): gold, never the amber
   seat-warm numeral above — a break is not a clock running out on anyone. */
.brkcd{color:var(--ld-gold-bright);font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}

/* ---------- host announcement strip (PLD-27, ANNOUNCEMENTS_PLAN §3.2) ----------
   THE STRIP RULE (owner): "the strip exists only while a message is live, and nothing else is
   ever allowed into it." web/play/announce.ts DETACHES the node when nothing is live, so these
   rules never dress an empty strip — and it must never become the page header the owner deleted
   (play.html:21). It sits IN DOCUMENT FLOW at the top of .stage, above .cols: the seat-warm
   banner above (.swwarm) owns the FLOAT layer, so the two can show together without colliding —
   the felt simply absorbs the strip's height. Markup: web/announce.ts annBannerHTML (the one
   home; the adoption guard bans twins). Collapse = the `mini` class toggled on the built node.
   Vocabulary per plan §3.2: annstrip · anncard · annban · anneye · anntxt · anncd · annset · annx. */
.annstrip{flex:0 0 auto;margin:8px 14px 0;padding-top:env(safe-area-inset-top,0px)}
.annstrip.mini{display:flex;justify-content:flex-end} /* the chip keeps to the right, out of the felt's eyeline */
.anncard{background:linear-gradient(var(--ld-gold-wash-1),var(--ld-gold-wash-1)),var(--ld-card-navy);
  border:1px solid var(--ld-line-gold);border-left:4px solid var(--gold-bright);
  border-radius:var(--ld-radius-sm);box-shadow:var(--ld-card-lift);color:var(--cream);
  transition:border-radius .18s}
/* SKIN AND SCALE ONLY. The row itself — the order of the parts, and the text taking the room so
   the clock lands at the right edge — is the ONE shared block at the foot of tokens.css that the
   board's band uses too. Add a layout rule THERE, a size rule here. */
.annban{padding:9px 14px;font-size:13px;line-height:1.35;transition:padding .18s,font-size .18s}
.anneye{font-size:10px;font-weight:700;letter-spacing:.14em}
/* THE COUNTDOWN: chip-sized and GOLD. It must NEVER resemble the amber 21px .swcd above — that
   numeral is the lose-a-die clock, and two clocks that rhyme would read as one emergency. */
.anncd{font-weight:600;font-size:12px}
/* the signpost: a ghost pill that ONLY opens Settings */
.annset{font-family:'Oswald',sans-serif;font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
  border:1px solid var(--ld-line-gold);border-radius:50px;background:transparent;color:var(--faint);
  padding:3px 10px;cursor:pointer;white-space:nowrap;transition:color .15s,border-color .15s}
.annset:hover{color:var(--gold-bright);border-color:var(--gold)}
.annx{flex:0 0 auto;width:24px;height:24px;border:none;background:transparent;color:var(--faint);
  font-size:14px;line-height:24px;padding:0;cursor:pointer;border-radius:var(--ld-radius-sm);font-family:inherit}
.annx:hover{color:var(--cream);background:var(--ld-gold-wash-1)}
/* THE CHIP is a PILL, not a shrunken card (owner, 2026-09-03 — the card's gold wash, 4px accent
   and lift shadow all read as heavy at this size). The app's own small-pill vocabulary, the one
   .spec-banner and the felt-bar chips already use and DESIGN_GUIDELINES calls a status pill:
   a dark translucent ground, one gold hairline, a 50px radius, and Oswald in caps with the
   house letter-spacing. Right-aligned by .annstrip.mini — the strip's own rule. */
.anncard.mini{display:inline-flex;align-items:center;width:auto;max-width:100%;
  background:rgba(0,0,0,.45);border:1px solid var(--ld-line-gold);border-left-width:1px;
  border-radius:50px;box-shadow:none}
.anncard.mini{cursor:pointer}
.anncard.mini .annban{background:none;padding:3px 11px;gap:6px;
  font-family:'Oswald';font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;
  color:var(--gold-l);white-space:nowrap}
/* the numerals set their own size, so the pill's type has to reach them explicitly — inheriting
   from .annban never touched them, which is half of why the collapsed chip looked unstyled. */
.anncard.mini .anncd{font-size:11px;font-weight:600;letter-spacing:.06em;color:var(--gold-l)}
.anncard.mini .anneye,.anncard.mini .anntxt,.anncard.mini .annset,.anncard.mini .annx{display:none}
/* the timer glyph (owner ruling §10.6 — a timed message is not always a break): the same
   inline-SVG-in-CSS mechanism as tokens.css's .ldchk check, drawn as a mask so it takes the
   gold from the token rather than a baked-in colour. Never an emoji (icon policy). */
.anncard.mini .anncd::before{content:'';display:inline-block;width:11px;height:11px;margin-right:5px;vertical-align:-1px;
  background:var(--gold-l);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.4 2h5.2v2H9.4zM11 4h2v2.4h-2zM12 6.2a7.9 7.9 0 1 0 0 15.8 7.9 7.9 0 0 0 0-15.8Zm0 2a5.9 5.9 0 1 1 0 11.8 5.9 5.9 0 0 1 0-11.8Zm-.9 1.9h1.8v3.5l2.6 1.5-.9 1.6-3.5-2Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.4 2h5.2v2H9.4zM11 4h2v2.4h-2zM12 6.2a7.9 7.9 0 1 0 0 15.8 7.9 7.9 0 0 0 0-15.8Zm0 2a5.9 5.9 0 1 1 0 11.8 5.9 5.9 0 0 1 0-11.8Zm-.9 1.9h1.8v3.5l2.6 1.5-.9 1.6-3.5-2Z'/%3E%3C/svg%3E") center/contain no-repeat}
@media(max-width:1199px){
  .annstrip{margin:6px 10px 0}
  .annban{gap:8px;padding:8px 11px}
  .annset-long{display:none} /* just SETTINGS under 1200 (owner) */
}
@media (prefers-reduced-motion: reduce){ .anncard,.annban,.annset{transition:none} }


/* ---------- table audio (video M1) — Layer-4 additions; every value from tokens ----------
   Quiet furniture throughout — GOLD stays on the BID button (this view's one gold); the
   join button lives in the dock's permanent video strip (.vself) as a ghost verb. The
   mic on-state reuses the .voicebtn gold-wash recipe. Markup lives in web/play/video.ts. */
.vunmute{font-family:'Oswald';font-size:11px;text-transform:uppercase;letter-spacing:.06em;
  background:rgba(0,0,0,.55);border:1px solid var(--ld-line-gold);color:var(--cream);
  border-radius:50px;padding:4px 12px;cursor:pointer}
.vnote{font-size:11px;color:var(--ld-danger-bright);text-shadow:0 1px 2px rgba(0,0,0,.6); /* V-5: video errors — was claret-bright (3.07:1) */
  max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* self strip: a PERMANENT reserved area at a FIXED compact height — the rail's bottom
   DEVICE TRAY (MY AV; flex order moves it below the verbs). It exists BEFORE the join
   (holding the ghost Join verb), so joining, mic-state changes and the joining→joined
   swap can never move the bid controls above it */
.vself{flex:0 0 36px;box-sizing:border-box;display:flex;align-items:center;gap:8px;min-width:0;
  padding:6px 2px 0;border-top:1px solid var(--ld-gold-wash-1)}
.vself .vlab{font-family:'Oswald';font-size:var(--ld-fs-8);text-transform:uppercase;letter-spacing:.12em;color:var(--muted);margin-right:auto}
.vself .vjoin{padding:4px 10px;font-size:12px;white-space:nowrap}
.vself .vjoin .ico{width:14px;height:14px;vertical-align:-2px}
.vself .vjoining{font-size:12px;color:var(--faint)}
.vself .vbtn{border:1px solid var(--ld-line-gold);background:transparent;border-radius:var(--ld-radius-sm);
  padding:2px 7px;font-size:14px;line-height:1.25;cursor:pointer;color:var(--cream);opacity:.7;
  transition:opacity .15s,border-color .15s;font-family:inherit}
.vself .vbtn:hover{opacity:1}
.vself .vbtn.on{opacity:1;border-color:var(--gold);background:var(--ld-gold-wash-1)} /* the .voicebtn gold-wash recipe */
.vself .vbtn .ico{width:15px;height:15px;vertical-align:-2px}
.vleave{background:none;border:none;color:var(--muted);font-size:11px;cursor:pointer;font-family:inherit;padding:2px 4px;opacity:.75}
.vleave:hover{opacity:1;text-decoration:underline}
/* module-owned hidden container for the remote <audio> sinks */
.vaudio{position:fixed;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ---------- video controls IN the overlay card (green-room lobby + game-over) ----------
   The done/lobby overlay is a fixed scrim OVER the dock, so the dock's join strip is
   unreachable while it's up — video.ts re-parents the permanent #vself into this #ovVideo
   slot so joining is reachable exactly where the eyes are. In the card the strip is a
   full-width panel, not the 36px dock rail. Home overlays only (tournaments have no slot). */
.ov-video:empty{display:none} /* WATCH tabs / video off — no empty gap */
.vself.vself-ov{flex:none;width:100%;justify-content:center;gap:10px;padding:10px;margin:2px 0 12px;
  border-bottom:none;background:var(--ld-gold-wash-1);border:1px solid var(--ld-line-gold);border-radius:var(--ld-radius-md)}
.vself.vself-ov .vlab{margin-right:0}
.vself.vself-ov .vjoin{padding:8px 16px;font-size:14px}
.vself.vself-ov .vsp{width:40px;height:40px}
/* THE OPEN TABLE IS A GREEN ROOM: drop the scrim to a light tint and CENTRE the card so the
   tablemates' faces (the felt-edge video tiles, z44, behind the now-translucent scrim) show
   AROUND it. Home-open only — .lobby is never set on a tournament or game-over overlay, so
   those keep the plain opaque top-anchored dialog. Scrim is click-through; only the card
   catches taps, so pinning a face behind it still works. */
/* the green-room scrim: the FACES float ABOVE this layer (z62), so a real wash dims only
   the felt/rails behind — and the overlay eats clicks like any dialog (the dock's buttons
   were live through the old pointer-events:none — owner). */
.tableolay.lobby{align-items:center;background:rgba(8,13,26,.45);backdrop-filter:blur(2px)}
.tableolay.lobby .vself.vself-ov .vsp{width:56px;height:56px} /* a proper self-preview in the green room */
/* the green room's card and the slot under it scroll as one (web/play.ts): the slot holds the faces on a phone, its height
   set by web/play/video.ts greenRoomPlace (0 where the faces flank the card) */
.gr-scroll{padding-bottom:env(safe-area-inset-bottom,0px)} /* the last face clears a phone's home indicator */
.gr-scroll > .done-box{margin-top:0}
.gr-faces{height:var(--gr-faces-h,0px);flex:none}

/* ---------- video tiles (video M2) — Layer-4 additions; every value from tokens ----------
   The tile layer overlays the felt; each tile sits at its owner's SEAT SLOT
   (web/play/videologic.ts tileLayout — fixed slots in chip arc order, left → top → right).
   Z-ORDER: ABOVE the 3D dice canvas (z 40 — the photoreal table is OPAQUE, so anything
   below it is invisible) and BELOW the chips/bars (z 45) and the reveal overlay (z 60);
   pointer-events off, so video can never block the table chrome or a tap. Gold is spent
   on exactly ONE new thing here: the bidder's turn ring. Camera-off = initials on
   leather; speaking = a static green inset ring. */
/* body-level, never re-parented (a re-mounted <video> flashes); renderTiles syncs the
   box to the felt's rect. fixed keeps it glued through the compact no-scroll layouts;
   the render-per-push rect sync + the resize/scroll listeners cover desktop movement. */
.vlayer{position:fixed;z-index:44;pointer-events:none;container-type:size}
.vlayer.off{display:none}
.vlayer.hidden{opacity:.9} /* my camera off → the whole table is leather anyway */
/* GREEN ROOM: while the lobby dialog is up the layer is sized to the OVERLAY and the tiles
   flank the centred card (video.ts greenRoomPlace) — raise it ABOVE the translucent scrim
   (z60) so the faces show; the tiles land in the side gutters, clear of the card. */
.vlayer.greenroom{z-index:62;overflow:hidden} /* a face scrolled up past the overlay's top is clipped (faces below the card) */
/* THE 15% RULE (owner): every tile is 15% of the felt's width AND height — proportional
   to the table card on every device, phones included. video.ts placeTileEl sets left/top
   as clamp(10px, slot-centre − 7.5%, calc(85% − 10px)) so each tile hugs the felt edge by
   its owner's chip; data-quad pins transform-origin at the tile's OUTER corner so the
   bidder's 15%→20% growth (scale 4/3) points INWARD — an emphasised tile never leaves
   the felt. SQUARE at 15% of the felt's WIDTH (owner rule) — the frame flexes to fill
   whatever the square leaves above the caption; object-fit:cover keeps the crop honest. */
.vtile{position:absolute;width:18%;aspect-ratio:1/1;display:flex;flex-direction:column;opacity:.9;
  container-type:size;transition:transform .32s cubic-bezier(.34,1.4,.5,1);will-change:transform}
.vtile[data-quad="TL"]{transform-origin:0 0}
.vtile[data-quad="TR"]{transform-origin:100% 0}
.vtile[data-quad="BL"]{transform-origin:0 100%}
.vtile[data-quad="BR"]{transform-origin:100% 100%}
.vtile .vframe{position:relative;width:100%;flex:1 1 auto;min-height:0;border-radius:var(--ld-radius-md);overflow:hidden;
  border:1px solid var(--ld-line-gold);box-shadow:0 6px 18px rgba(0,0,0,.5);
  background:linear-gradient(rgba(9,15,28,.5),rgba(6,10,20,.75)),#16223f url(assets/leather.jpg) repeat;background-size:auto,150px}
.vtile .vvid{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 40%;
  transition:object-position .6s ease;background:#0f1830;display:block}
.vtile.leather .vvid{display:none}
/* initials on leather: sized down from fs-2 so the disc still fits a short (non-square)
   15% box on a shallow felt; flex-centred, the frame clips any extreme */
.vtile .vinit{position:absolute;inset:0;display:none;align-items:center;justify-content:center;
  font-family:'Oswald';font-weight:700;font-size:var(--ld-fs-3);line-height:1;letter-spacing:.04em;color:var(--gold-l);text-shadow:0 2px 6px rgba(0,0,0,.6)}
.vtile.leather .vinit{display:flex}
/* One overlay row ON the video (owner's call): [muted mic] [name] [live dot], bottom of
   the frame over a soft scrim. No dice count — the seat chip on the felt already carries
   name + dice; the whole square stays face. */
.vtile .vov{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:center;gap:5px;
  padding:10px 6px 4px;background:linear-gradient(transparent,rgba(0,0,0,.72))}
/* table view: the TOP-corner tiles carry their caption on the TOP edge — the seat chip
   and its gold bid flag sit just below those tiles and were covering the bottom name
   row (design audit, iPad portrait). Faces-view keeps captions at the bottom (its grid
   has no chips to dodge). */
.vlayer:not(.faces) .vtile[data-quad="TL"] .vov,.vlayer:not(.faces) .vtile[data-quad="TR"] .vov{
  top:0;bottom:auto;padding:4px 6px 10px;background:linear-gradient(rgba(0,0,0,.72),transparent)}
.vtile .vname{flex:1 1 auto;min-width:0;font-size:11px;font-weight:700;color:var(--cream);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 3px rgba(0,0,0,.85)}
/* connection dot: dim while connecting, ok-green once video is live */
.vtile .vdot{flex:0 0 auto;width:8px;height:8px;border-radius:50%;
  background:var(--faint);box-shadow:0 0 0 2px rgba(0,0,0,.45)}
.vtile.live .vdot{background:var(--ok)}
/* mic-off pill: only while that seat reports muted (the name still leads the row) */
.vtile .vmic{flex:0 0 auto;display:none;width:18px;height:18px;border-radius:50%;
  background:rgba(0,0,0,.55);border:1px solid var(--ld-line-gold);align-items:center;justify-content:center}
.vtile.mutedmic .vmic{display:inline-flex}
.vtile .vmic .ico{width:11px;height:11px;color:var(--red-l)}
/* #4 local mute — MY silence of this player (their mic vs my ears). The frame desaturates;
   the corner toggle + "Muted" pill sit OUTSIDE .vframe so they stay crisp. Steel (muted grey),
   deliberately unlike the red their-mic pill and the claret table-mute. */
.vtile.minemuted .vframe{filter:grayscale(.85) brightness(.72)}
.vtile .vspk{position:absolute;top:6px;right:6px;z-index:6;width:26px;height:26px;border-radius:50%;padding:0;
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  background:rgba(6,12,22,.5);border:1px solid var(--line-gold);opacity:0;transition:opacity .15s,background .15s,border-color .15s}
.vtile:hover .vspk{opacity:.4}
.vtile .vspk:hover{opacity:1;background:rgba(6,12,22,.85)}
.vtile .vspk .ich,.vtile .vspk .icm{display:inline-flex;align-items:center;justify-content:center}
.vtile .vspk .icm{display:none}
.vtile .vspk .ico{width:14px;height:14px;color:var(--cream)}
.vtile.minemuted .vspk{opacity:1;border-color:var(--muted)}
.vtile.minemuted .vspk .ich{display:none}
.vtile.minemuted .vspk .icm{display:inline-flex}
.vtile.minemuted .vspk .ico{color:var(--muted)}
.vtile .youmute{position:absolute;top:6px;left:6px;z-index:6;display:none;align-items:center;gap:4px;
  background:rgba(10,18,30,.72);border:1px solid var(--muted);border-radius:50px;padding:2px 8px 2px 6px}
.vtile.minemuted .youmute{display:inline-flex}
.vtile .youmute .ico{width:12px;height:12px;color:var(--muted)}
.vtile .youmute .lbl{font-family:'Oswald';text-transform:uppercase;letter-spacing:.05em;font-size:var(--ld-fs-8);font-weight:700;color:var(--muted)}
.vtile.out{opacity:.5}
.vtile.out .vname{text-decoration:line-through}
/* speaking: a STATIC green inset ring (reduced-motion friendly — nothing animates) */
.vtile.talk .vframe{box-shadow:0 6px 18px rgba(0,0,0,.5),inset 0 0 0 3px var(--ok)}
/* bidder emphasis: gold ring + growth (transform only, cannot shift the grid; the data-quad
   origin points the growth INWARD, so the emphasised tile stays inside the felt). At the ≤5
   base (20%) this lands the face at 24%. Reduced motion: the state still changes, instantly. */
.vtile.turn{transform:scale(1.2);z-index:2;opacity:1}
/* SPEAKING DOES NOT RESIZE (owner, 2026-08-27): the ~220ms voice threshold flickers with
   natural speech, so a talk-driven scale made tiles pulse constantly. The speaker gets the
   static green ring + full brightness only; SIZE emphasis belongs to the bidder (.turn),
   whose state changes once a turn and cannot jump. */
.vtile.talk:not(.turn){z-index:1;opacity:1}
.vtile.turn .vframe{border-color:var(--gold);box-shadow:0 8px 22px rgba(0,0,0,.55),0 0 0 3px var(--gold),0 0 18px var(--ld-gold-glow)}
.vtile.turn.talk .vframe{box-shadow:0 8px 22px rgba(0,0,0,.55),0 0 0 3px var(--gold),0 0 18px var(--ld-gold-glow),inset 0 0 0 3px var(--ok)}
@media (prefers-reduced-motion: reduce){
  .vtile{transition:none}
}

/* ---- FACES-VIEW tile overlays: dice-count, standing-bid badge, cup up/down tell.
   OFF in the classic felt-ring (the seat chip carries this there); shown only when
   #vlayer has .faces (the gallery fills the play space). All positioned over the frame. */
.vtile .vgdice,.vtile .vgbid,.vtile .vgcup{display:none;position:absolute;z-index:4;
  font-family:'Oswald',system-ui,sans-serif;pointer-events:none}
.vlayer.faces .vtile .vgdice{display:block;top:6px;left:6px;font-size:var(--ld-fs-7);line-height:1;
  font-weight:700;color:var(--ld-gold-bright);background:rgba(6,10,20,.78);
  border:1px solid var(--ld-line-gold);border-radius:7px;padding:3px 7px;
  font-variant-numeric:tabular-nums;text-shadow:0 1px 2px #000}
.vlayer.faces .vtile .vgbid{display:block;bottom:30px;left:50%;transform:translateX(-50%);
  white-space:nowrap;font-size:11px;font-weight:600;color:var(--ld-gold-ink);
  background:linear-gradient(180deg,#ead7a0,#d8b85f 55%,#c0922f);
  border-radius:7px;padding:3px 9px;box-shadow:0 2px 6px rgba(0,0,0,.45)}
/* #2: a PREVIOUS bid (bid list on) — quiet navy, the standing bidder's gold keeps the eye */
.vlayer.faces .vtile .vgbid.prev{background:rgba(14,22,42,.9);color:var(--muted);
  border:1px solid var(--ld-line,rgba(255,255,255,.16));box-shadow:0 2px 6px rgba(0,0,0,.4)}
/* faces-view: the "Muted" badge sits UNDER its control (the top-right mute button) — its classic
   top-left spot is the dice-count chip's (owner: they collided) */
.vlayer.faces .vtile .youmute{top:40px;left:auto;right:6px}
/* the peek pill stacks UNDER the dice-count chip (top-left) — top-right belongs to the mute button */
.vlayer.faces .vtile .vgcup.up{display:inline-flex;align-items:center;gap:4px;top:31px;left:6px;right:auto;
  font-size:var(--ld-fs-8);font-weight:700;text-transform:uppercase;letter-spacing:.08em;
  color:#04120b;background:var(--ok-bright,#7fd6a4);border-radius:6px;padding:3px 6px 2px}
.vlayer.faces .vtile .vgcup.up::before{content:'';width:6px;height:6px;border-radius:50%;
  background:#04120b;opacity:.75}
.vlayer.faces .vtile .vgcup.up::after{content:'peek'}
.vtile .vgdice.hide,.vtile .vgbid.hide,.vtile .vgcup.hide{display:none!important}

/* ---- FACES-VIEW: the play-order gallery IS the play surface. Hide the 3D dice canvas, the
   flat felt image, and the seat chips (the tiles carry the game data now); keep the felt bar
   (game name / round / status) and any overlays (reveal/done). #dice3d has an inline display,
   so !important is required. Toggled by video.ts (body.faces-view + #vlayer.faces). */
body.faces-view #dice3d{display:none!important}
body.faces-view .ptable .pseat{display:none}
body.faces-view .ptable .ptable-img{display:none}
/* the gallery card keeps the FELT (owner) — the same cloth as table view, dimmed a
   touch so the tiles carry; navy/leather belongs to the rails, not the playing field */
body.faces-view .ptable{background:linear-gradient(rgba(20,4,7,.5),rgba(8,1,3,.72)),#6e1019 url(assets/felt.jpg) repeat;background-size:auto,360px}
.vlayer.faces .vtile{opacity:1} /* full-strength faces when they're the whole surface */
/* an OUT player fades exactly like their felt seat (.pseat.out): dimmed + drained of colour.
   After .vlayer.faces .vtile so the fade wins over the gallery's full-strength opacity. */
.vtile.out,.vlayer.faces .vtile.out{opacity:.55}
.vtile.out .vframe{filter:brightness(.62) saturate(.55)}
/* bidder emphasis IN the gallery too (owner): 1.1×, growing from the tile's centre — the
   bidder rides ABOVE its neighbours (z) so the overlap is fine. SPEAKERS do not grow here
   either (owner, 2026-08-27 — the voice threshold flickers; see the felt-ring note above):
   the green ring is the whole indication.
   NOT my own tile (owner): I know when I'm bidding/speaking — the gold ring alone is enough. */
.vlayer.faces .vtile.turn:not(.vself-tile){transform:scale(1.1);transform-origin:50% 50%;z-index:6}
.vlayer.faces .vtile.talk:not(.turn):not(.vself-tile){z-index:5}
.vlayer.faces .vtile.vself-tile.turn,.vlayer.faces .vtile.vself-tile.talk{transform:none}
/* the gallery IS the play surface — its controls must take taps. The layer stays
   pointer-events:none (video may never block the table chrome), so the interactive children
   re-enable themselves: the per-player mute button and MY dice strip. Informational chips
   (dice count, bid badge, peek pill) stay inert so they can never steal a tap. */
.vlayer .vtile .vspk{pointer-events:auto}
.vlayer.faces .vself-tile .vghand{pointer-events:auto}
/* touch has no hover: in faces-view the mute button is always faintly there, and its hit
   area grows to ~40px (visual stays a small circle via the inner icon). */
.vlayer.faces .vtile .vspk{opacity:.55;width:38px;height:38px;top:2px;right:2px;
  background:rgba(6,12,22,.35);border-color:transparent}
.vlayer.faces .vtile .vspk:hover,.vlayer.faces .vtile.minemuted .vspk{opacity:1;border-color:var(--line-gold)}
/* my own tile in the ring: a YOU tag + gold edge; my hand shows over it when my cup is up. My
   dice-count and cup pill are redundant on my own face, so they're suppressed. */
.vtile.vself-tile .vframe{border-color:var(--ld-line-gold)}
.vlayer.faces .vtile.vself-tile{box-shadow:0 8px 20px rgba(0,0,0,.5)}
.vself-tile .vgdice,.vself-tile .vgcup{display:none!important}
/* MY bid badge rides the TOP of my tile — the bottom belongs to my dice strip */
.vlayer.faces .vself-tile .vgbid{bottom:auto;top:6px}
.vyoutag{display:none;position:absolute;top:6px;left:6px;z-index:5;font-family:'Oswald',system-ui,sans-serif;
  font-size:var(--ld-fs-8);font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--ld-gold-ink);
  background:var(--ld-gold-bright);border-radius:6px;padding:3px 6px 2px}
.vlayer.faces .vself-tile .vyoutag{display:block}
/* dice strips on a face: MY interactive hand (.vghand, self only — press-and-hold to peek) and
   the reveal hand (.vgreveal, every tile on the LIAR! showdown). A centred wrap-row of small pip
   dice pinned just above the name row. */
.vghand,.vgreveal{display:none}
.vlayer.faces .vself-tile .vghand{display:flex;position:absolute;left:5px;right:5px;bottom:24px;
  justify-content:center;flex-wrap:wrap;gap:3px;z-index:6;padding:5px 4px;cursor:pointer;
  touch-action:none;user-select:none;-webkit-user-select:none;
  background:linear-gradient(transparent,rgba(6,10,20,.4));border-radius:10px}
.vlayer.faces .vtile .vgreveal{display:flex;position:absolute;left:5px;right:5px;bottom:24px;
  justify-content:center;flex-wrap:wrap;gap:3px;z-index:6;padding:5px 4px}
.vlayer.faces .vtile .vghand.hide,.vlayer.faces .vtile .vgreveal.hide{display:none!important}
/* strip dice: near-square (the felt dice look), a touch larger than v1 (owner) */
.vlayer.faces .vtile .vghand .die,.vlayer.faces .vtile .vgreveal .die{width:22px;height:22px;padding:3px;border-radius:2px}
.vlayer.faces .vtile .vghand .die .pip,.vlayer.faces .vtile .vgreveal .die .pip{width:4px;height:4px}
/* blank (cup-down) dice read as tappable — a faint face, no pips */
.vlayer.faces .vself-tile .vghand:not(.peeking) .die{background:linear-gradient(150deg,#e7e0cf,#d3c9b2);opacity:.82}
.vlayer.faces .vself-tile .vghand::after{content:'hold to peek';position:absolute;top:-13px;left:0;right:0;
  text-align:center;font-size:var(--ld-fs-8);letter-spacing:.04em;color:var(--ld-gold-soft);
  text-shadow:0 1px 2px #000;pointer-events:none}
.vlayer.faces .vself-tile .vghand.peeking::after{content:'release to lower'}
/* the reveal hides the play overlays on that tile (its dice are shown instead) */
.vlayer.faces .vtile.revealing .vgdice,
.vlayer.faces .vtile.revealing .vgbid,
.vlayer.faces .vtile.revealing .vgcup,
.vlayer.faces .vself-tile.revealing .vghand{display:none!important}
/* the player who LOST the hand: a claret ring (matches the felt's loser tint) */
.vlayer.faces .vtile.loser .vframe{border-color:var(--ld-claret-bright,#e0574d)!important;
  box-shadow:0 8px 22px rgba(0,0,0,.55),0 0 0 3px var(--ld-claret-bright,#cf3a33),0 0 18px var(--ld-danger-line)!important}

/* the Gallery ⇄ Table switch — lives IN the felt bar's flex flow (#vvSlot, between the status
   badge and the fullscreen button) so it can never cover either. The bar is pointer-events:none;
   the slot re-enables itself. Its CSS glyph shows the view you'll switch TO. */
.feltbar .vvslot{flex:0 0 auto;pointer-events:auto;display:inline-flex}
.vviewtoggle{display:inline-flex;align-items:center;gap:5px;
  font-family:'Oswald',sans-serif;font-size:var(--ld-fs-8);font-weight:600;text-transform:uppercase;
  letter-spacing:.05em;color:var(--cream);background:rgba(0,0,0,.45);
  border:1px solid var(--ld-line-gold);border-radius:50px;padding:4px 10px;cursor:pointer;
  transition:color .15s,border-color .15s}
.vviewtoggle:hover{color:var(--ld-gold-bright);border-color:var(--ld-gold)}
.vvtico{width:12px;height:12px;display:inline-block;color:inherit;flex:0 0 auto}
.vvtico.to-gallery{background:
  linear-gradient(currentColor,currentColor) 0 0/5px 5px no-repeat,
  linear-gradient(currentColor,currentColor) 7px 0/5px 5px no-repeat,
  linear-gradient(currentColor,currentColor) 0 7px/5px 5px no-repeat,
  linear-gradient(currentColor,currentColor) 7px 7px/5px 5px no-repeat}
.vvtico.to-table{border:1.5px solid currentColor;border-radius:2px}

/* the name/dice chips are NOT dimmed for video (owner call 2026-07-13) — only an OUT player's
   chip fades (.pseat.out above). Keeping them solid also removed a per-re-render flash: the
   old opacity transition replayed each push, reading as the badges "flashing solid". */

/* self-preview + reciprocity hint in the control dock's fixed self-strip */
.vsp{position:relative;flex:0 0 auto;width:32px;height:32px;border-radius:var(--ld-radius-sm);overflow:hidden;
  border:1px solid var(--ld-line-gold);background:#0f1830}
.vsp .vspvid{width:100%;height:100%;object-fit:cover;transform:scaleX(-1);display:block} /* mirror my own view */
.vsp .vspoff{position:absolute;inset:0;display:none;align-items:center;justify-content:center;background:var(--ld-leather)}
.vsp.off .vspvid{display:none}
.vsp.off .vspoff{display:flex}
.vsp .vspoff .ico{width:14px;height:14px;color:var(--muted)}
.vself .vhide{font-family:'Oswald';font-size:var(--ld-fs-8);text-transform:uppercase;letter-spacing:.06em;
  color:var(--ld-danger-bright);white-space:nowrap;
  display:inline-flex;align-items:center;gap:5px;cursor:pointer; /* I-7: now a button — tap to turn the camera on */
  background:var(--ld-danger-wash);border:1px solid var(--ld-danger-line);border-radius:999px;padding:3px 10px;line-height:1}
.vself .vhide:hover{background:var(--ld-danger-line)}
.vself .vhide .ico{width:13px;height:13px}

/* ---------- tournament visiting + visitor rail + TV listen (video M3) ----------
   Layer-4 additions; every value from tokens. CLARET marks visitor live-state (the
   VISITOR pill, the "table can hear you" state, the rail chips' claret rim) — GOLD is
   spent on exactly ONE new thing: the return bar's your-turn flare (plus the existing
   M1 join pill). Markup: web/play/visit.ts (banner) + web/play/video.ts (verb/rail/TV). */

/* the claret VISITOR pill — the .pill.complete recipe (tokens.css), M3's live-state mark */
.pill-visitor{display:inline-block;font-family:'Oswald';font-size:var(--ld-fs-8);font-weight:700;
  text-transform:uppercase;letter-spacing:.08em;padding:2px 8px;border-radius:50px;white-space:nowrap;
  background:var(--ld-claret-wash-1);color:var(--ld-claret-bright);border:1px solid var(--ld-claret-line)}

/* visit banner: the persistent strip above the tabbar — presence, the one verb's slot,
   and the way home. Claret left edge = "you are a guest here". */
.visitbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 10px;padding:9px 12px;
  background:rgba(20,28,46,.97);border:1px solid var(--line-gold);border-left:4px solid var(--ld-claret);
  border-radius:var(--ld-radius-sm);box-shadow:0 4px 14px rgba(0,0,0,.35)}
.visitbar .vb-txt{font-size:13px;color:var(--cream)}
.visitbar .vb-slot{display:inline-flex;align-items:center;gap:8px;margin-left:auto;flex-wrap:wrap}
.visitbar .vb-slot .vjoining{font-size:12px;color:var(--faint)}
.visitbar .vtalk{white-space:nowrap}
.visitbar .vtalk .ico{width:14px;height:14px;vertical-align:-2px}
/* LIVE state: claret, quiet — everyone at the table can hear this screen */
.visitbar .vlive{font-family:'Oswald';font-size:11px;font-weight:600;text-transform:uppercase;
  letter-spacing:.06em;color:var(--ld-warn-bright);white-space:nowrap} /* V-5: consent line ("everyone can hear you") → warning style, was claret-bright (3.07:1) */
.visitbar .vtalk.on{border-color:var(--ld-claret-line);color:var(--ld-claret-bright)}
.visitbar .vb-back{white-space:nowrap}
/* TURN SIGNAL: "Your turn at Table N!" + the return button flares gold and keeps pulsing
   until the player leaves — nothing auto-navigates. Reduced motion = static gold. */
.visitbar .vb-turn{font-family:'Oswald';font-size:13px;font-weight:700;text-transform:uppercase;
  letter-spacing:.06em;color:var(--gold-bright)}
.visitbar.turn{border-color:var(--gold)}
.vb-flare{animation:vbflare 1.4s ease-in-out infinite}
@keyframes vbflare{
  0%,100%{box-shadow:0 0 0 0 var(--ld-gold-glow)}
  50%{box-shadow:0 0 0 7px rgba(0,0,0,0),0 0 18px var(--ld-gold-glow)}
}
@media (prefers-reduced-motion: reduce){
  .vb-flare{animation:none;box-shadow:0 0 0 2px var(--gold),0 0 14px var(--ld-gold-glow)}
}

/* Visitor rail: compact single-line pills (voice-only guests have no camera), sitting above
   the 3D canvas (z 40). Anchored to the felt's bottom edge and offset RIGHT of the bottom-left
   corner so it clears the left-side video tile (15% wide + a 10px inset), then grows rightward
   along the bottom, stopping before the bottom-right tile (owner). Left-aligned; wraps upward
   if several visitors. */
.vrail{position:absolute;left:18%;right:18%;bottom:6px;z-index:47;display:flex;
  flex-wrap:wrap-reverse;align-items:flex-end;justify-content:flex-start;gap:6px;pointer-events:auto}
/* two lines — [Visitor · name · mic] over [from Table N] — so a long name doesn't stretch the rail */
.vrchip{display:inline-flex;flex-direction:column;align-items:flex-start;gap:1px;padding:5px 12px;border-radius:13px;cursor:pointer;
  font-family:inherit;background:rgba(0,0,0,.6);border:1px solid var(--ld-claret-line-strong);box-shadow:0 4px 12px rgba(0,0,0,.5)}
.vrchip .vrtop{display:flex;align-items:center;gap:6px}
.vrchip .vrmic{display:none;width:16px;height:16px;align-items:center;justify-content:center}
.vrchip .vrmic .ico{width:11px;height:11px;color:var(--ld-claret-bright)}
.vrchip .vrname{font-size:12px;font-weight:700;color:var(--cream);white-space:nowrap;max-width:130px;overflow:hidden;text-overflow:ellipsis}
.vrchip .vrfrom{font-family:'Oswald';font-size:var(--ld-fs-8);letter-spacing:.05em;text-transform:uppercase;color:var(--muted);white-space:nowrap}
/* speaking: static green inset ring (reduced-motion friendly) */
.vrchip.talk{box-shadow:0 4px 12px rgba(0,0,0,.5),inset 0 0 0 2px var(--ok)}
/* muted by the table: dimmed, mic-off badge shows, claret 'from' — sticky until a seat untaps */
.vrchip.tmuted{opacity:.6}
.vrchip.tmuted .vrmic{display:inline-flex}
.vrchip.tmuted .vrfrom{color:var(--ld-warn-bright)} /* V-5: table-muted quiet-claret state → warning style */
.vmore{width:30px;height:30px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
  background:rgba(0,0,0,.6);border:1px solid var(--ld-claret-line-strong);color:var(--ld-claret-bright);
  font-family:'Oswald';font-size:12px;font-weight:700}
/* the origin line stays on every width now that it's STACKED (two-line chip) — it no longer
   adds width, so there's nothing to save by hiding it on narrow screens. */

/* TV listen (watch mode): one unobtrusive pill, bottom-right, receive-only */
.vtv{position:fixed;right:14px;bottom:14px;z-index:80;display:flex;align-items:center;gap:8px}

/* Cross-table talk pill (visit rework): fixed bottom-centre, above the dock. Gold flare
   when it becomes MY turn at MY table mid-chat — informs, never yanks. */
.vtalkbar{position:fixed;left:50%;transform:translateX(-50%);bottom:14px;z-index:80;
  display:flex;align-items:center;gap:9px;padding:7px 9px 7px 14px;border-radius:50px;
  background:rgba(10,16,30,.92);border:1px solid var(--ld-claret-line-strong);box-shadow:0 8px 24px rgba(0,0,0,.55)}
.vtalkbar .vtb-lab{font-size:12.5px;font-weight:700;color:var(--cream);white-space:nowrap}
.vtalkbar .vtb-lab.mut{color:var(--ld-claret-bright)}
.vtalkbar .vtb-turn{font-family:'Oswald';font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:var(--navy-d);background:var(--gold);border-radius:50px;padding:2px 9px;white-space:nowrap}
.vtalkbar.turn{border-color:var(--gold);animation:vtbflare 1.1s ease-in-out infinite}
@keyframes vtbflare{0%,100%{box-shadow:0 8px 24px rgba(0,0,0,.55)}50%{box-shadow:0 8px 24px rgba(0,0,0,.55),0 0 16px var(--ld-gold-glow)}}
@media (prefers-reduced-motion: reduce){ .vtalkbar.turn{animation:none;box-shadow:0 8px 24px rgba(0,0,0,.55),0 0 16px var(--ld-gold-glow)} }
/* Other Tables "Talk" toggle: claret live-state while the channel is open */
.ottalk.on{color:var(--ld-claret-bright);border-color:var(--ld-claret-line-hot)}
.vtvbtn{font-family:'Oswald';font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;
  background:rgba(0,0,0,.55);border:1px solid var(--line-gold);color:var(--cream);border-radius:50px;
  padding:6px 14px;cursor:pointer;opacity:.75;transition:opacity .15s,border-color .15s}
.vtvbtn:hover{opacity:1}
.vtvbtn.on{opacity:1;border-color:var(--ld-claret-bright);color:var(--ld-claret-bright)}
.vtvbtn .ico{width:13px;height:13px;vertical-align:-2px}

/* the camera check, reframed as a TEST (P11): ONE square surface — the table's own owner
   rule (.vtile is SQUARE; the self-view chip is 32×32), because the preview's job is teaching
   the framing the table will show, and a wide check trains a crop the cover-fit takes back.
   Overlay copy + one gold button until the test starts; the feed then owns the whole well.
   FAILURE copy lives BELOW the box (.vidfail): a message, not a viewfinder — the only exit in
   the flow must never sit where the aspect box can clip it. */
.vidblock{margin-top:14px;text-align:left}
.vh{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}
.vt{font-family:'Oswald';text-transform:uppercase;letter-spacing:.12em;font-size:10px;font-weight:600;color:var(--muted)}
.vreq{font-family:'Oswald';text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:700;color:var(--ld-warn-bright);background:var(--ld-warn-wash);border:1px solid var(--ld-warn-line);border-radius:999px;padding:.3em .7em;white-space:nowrap}
.vreq.ok{color:var(--ld-ok-bright);background:rgba(63,158,106,.16);border-color:rgba(63,158,106,.45)}
.vreq.hard{color:var(--ld-danger-bright);background:var(--ld-danger-wash);border-color:var(--ld-danger-line)}
.vidwrap{position:relative;width:100%;aspect-ratio:1/1;border-radius:var(--ld-radius-md);overflow:hidden;border:1px solid var(--line-gold);background:var(--ld-leather)}
.vidwrap video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 40%;transform:scaleX(-1);display:none} /* mirrored — an unmirrored self reads as broken */
.vidwrap.live video{display:block}
/* the bust: one head-and-shoulders SVG glyph (lobbyview's SILH), bone at low alpha */
.silh{position:absolute;inset:0;width:100%;height:100%;fill:rgba(244,236,224,.16)}
.vidwrap.live .silh{display:none}
.vidwrap.mic .silh{opacity:.45}
/* mic level: a thin strip over the bottom of the well (cam AND mic wells); green = level */
.micmeter{position:absolute;left:0;right:0;bottom:0;height:6px;z-index:2;background:rgba(0,0,0,.5)}
.micmeter i{display:block;height:100%;width:0;background:var(--ld-ok-bright)}
/* mic-only visualization: five bars breathing with --lvl (0..1, set by the meter loop) */
.micviz{position:absolute;left:50%;top:54%;transform:translate(-50%,-50%);display:flex;gap:6px;align-items:center;--lvl:0}
.micviz i{width:7px;border-radius:4px;background:var(--gold-bright);height:calc(6px + var(--lvl)*var(--vh,44px))}
.micviz i:nth-child(1),.micviz i:nth-child(5){--vh:26px}
.micviz i:nth-child(2),.micviz i:nth-child(4){--vh:44px}
.micviz i:nth-child(3){--vh:60px}
/* the mic-only exit: a small link below the real button — not the preferred way to play */
.miclink{display:block;margin-top:8px}
.vidover{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:16px;text-align:center;background:linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.72))}
.vidover p{font-size:12.5px;color:var(--cream);max-width:34em;line-height:1.45;margin:0}
.vidwrap.live .vidover{display:none}
.vidwrap.loading .vidover p{opacity:.7}
.vidwrap.off{opacity:.85}
.livedot{position:absolute;top:9px;left:9px;width:7px;height:7px;border-radius:50%;z-index:2;background:var(--ld-ok-bright);box-shadow:0 0 0 3px rgba(63,158,106,.28)}
.vidtag{position:absolute;bottom:0;left:0;right:0;padding:5px 8px;z-index:2;font-family:'Oswald';font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--gold-bright);background:linear-gradient(transparent,rgba(0,0,0,.65))}
.vidfail{margin-top:10px}
.vidfail p{font-size:12.5px;color:var(--muted);line-height:1.45;margin:0 0 10px}
.vidbtns{display:flex;gap:8px;flex-wrap:wrap}
.vidfoot{margin-top:9px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.vidfoot .msg{font-size:12px;color:var(--muted)}
.vidfoot .msg b{color:var(--cream)}
.vopt{background:none;border:none;font-family:inherit;font-size:11px;color:var(--faint);text-decoration:underline;text-underline-offset:2px;cursor:pointer;padding:2px 4px}

/* ============================================================================
   COMPACT (<1200px = phone AND tablet): the play screen is an APP — the page
   NEVER scrolls (vertically or horizontally); inner regions scroll themselves.
   • #standings becomes a pull-over DRAWER from the left (closed by default),
     toggled by an always-visible edge tab (.sdtab) + scrim (.sdscrim); the
     DOM node is unchanged so standings.ts renders exactly as before.
   • PORTRAIT: felt first, then the action dock as a fixed-height HORIZONTAL
     strip below it. LANDSCAPE: felt left, dock right at the width of its
     widest control state; the felt takes every remaining pixel.
   Desktop (≥1200px) is untouched above. play.ts owns the body.sdopen toggle.
   ========================================================================== */
@media(max-width:600px){
  :root{--nav-h:60px} /* tokens.css shrinks .ldnav-in to 60px here — keep the drawer flush */
}
/* ---- the standings DRAWER at EVERY width (owner: standings is a drawer everywhere so the
   video gallery claims the whole play space). Same off-canvas node, scrolls internally; the
   pull tab + scrim now show on desktop too. ---- */
/* The standings PAD bleeds off the LEFT edge (owner): piping on top/right/bottom only —
   the left side IS the screen edge — inset from the top/bottom of the felt. The drawer
   mechanism slides this very pad off screen. */
@media(max-width:1199px){
  /* COMPACT: the standings pad is a pull-over drawer (tab + scrim). Desktop uses the
     in-flow rail below — same pad, margin-animated off its edge instead. */
  #standings{position:fixed;left:0;top:14px;bottom:18px;z-index:1500;/* under nav (2000) + real dialogs */
    width:min(340px,86vw);overflow-y:auto;overscroll-behavior:contain;
    display:flex;flex-direction:column;gap:10px;/* the ONE card rhythm - cards carry no stacking margins */
    padding:0 12px 16px;/* the sticky cap IS the top */
    background:var(--ld-leather-room);background-size:auto,auto,440px;
    border:1.5px solid var(--ld-claret-line-strong);border-left:0;
    border-radius:0 var(--ld-radius-lg) var(--ld-radius-lg) 0;box-shadow:var(--ld-shadow-lg);
    transform:translateX(-100%);visibility:hidden;
    transition:transform .32s ease,visibility 0s .32s}
  body.sdopen #standings{transform:translateX(0);visibility:visible;transition:transform .32s ease}
}
#standings:focus{outline:none} /* focus lands here on open; the panel itself isn't a control */
.sdscrim{position:fixed;inset:0;z-index:1490;background:rgba(10,16,32,.55);backdrop-filter:blur(2px);
  opacity:0;pointer-events:none;transition:opacity .32s ease}
body.sdopen .sdscrim{opacity:1;pointer-events:auto}
/* the pull tab: a slim, quiet chip on the left edge; it rides the drawer's edge open */
.sdtab{position:fixed;left:0;top:50%;z-index:1510;transform:translate(0,-50%);
  writing-mode:vertical-rl;display:inline-flex;align-items:center;gap:6px;
  background:rgba(20,28,46,.92);border:1px solid var(--ld-line-gold);border-left:none;
  border-radius:0 var(--ld-radius-sm) var(--ld-radius-sm) 0;
  color:var(--muted);font-family:'Oswald',sans-serif;font-size:11px;font-weight:600;
  text-transform:uppercase;letter-spacing:.12em;padding:12px 5px;cursor:pointer;
  box-shadow:var(--ld-shadow-sm);transition:transform .32s ease,color .15s}
.sdtab:hover{color:var(--cream)}
body.sdopen .sdtab{transform:translate(min(340px,86vw),-50%)}
body.nostand .sdtab{display:none} /* closed home table — the column is empty; no drawer */
body.nodock .actab,body.nodock .achead{display:none} /* closed home table — no dock, no action-rail chrome */

/* ---- PIN (desktop ≥1200px): pin the standings open as an inline column beside the table
   (the table card shrinks); unpin → back to the pull-over drawer. The button rides the open
   drawer's top-right corner, or the pinned column's. Hidden on compact widths — pinning a
   340px column would crush a phone felt. ---- */
/* ---- drawer HEADER strips (the VS Code side-panel model): panel title left, pin right,
   riding the drawer's top edge. .sdhead = standings (left drawer / pinned column);
   .achead = the gallery action drawer (right). Content scrolls UNDER them. ---- */
/* the PAD CAP: text + pin ON the pad itself (owner) — a sticky first child, so it
   slides in/out WITH the drawer animation and holds the top while content scrolls
   under it. One form for pinned and drawer states alike. */
.sdhead,.achead{position:sticky;top:0;z-index:5;flex:0 0 auto;height:40px;display:flex;
  align-items:center;justify-content:space-between;gap:8px;padding:2px 10px 0 16px;
  background:var(--ld-leather-room);background-size:auto,auto,440px;
  border-bottom:1px solid var(--ld-claret-line-soft)}
/* parked on <body> (boot, or a closed table with no pad) a cap never renders */
body > .sdhead,body > .achead{display:none}
.sdhead{margin:0 -12px;border-radius:0 var(--ld-radius-lg) 0 0} /* the pad gap (10px) is the rhythm */
/* The action rail's edge TAB. Its look lives here (not in the desktop block) because the
   compact dock hides and returns exactly like the desktop rail now (owner). `display` stays
   gated per breakpoint — unstyled it would join the body flow and steal stage height. */
.actab{display:none;position:fixed;right:0;top:50%;z-index:1510;transform:translate(0,-50%);
  writing-mode:vertical-rl;align-items:center;gap:6px;
  background:rgba(20,28,46,.92);border:1px solid var(--ld-line-gold);border-right:none;
  border-radius:var(--ld-radius-sm) 0 0 var(--ld-radius-sm);
  color:var(--muted);font-family:'Oswald',sans-serif;font-size:11px;font-weight:600;
  text-transform:uppercase;letter-spacing:.12em;padding:12px 5px;cursor:pointer;
  box-shadow:var(--ld-shadow-sm);transition:color .15s}
.actab:hover{color:var(--cream)}
.sdh-t{font-family:'Oswald';font-size:11px;font-weight:600;text-transform:uppercase;
  letter-spacing:.14em;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* the cap's slide-away control (owner: the pin is GONE — one mechanism per rail:
   the pull tab slides it out, this × slides it away) */
.sdhide{flex:0 0 auto;width:28px;height:28px;border-radius:50%;border:1px solid transparent;
  background:none;color:var(--muted);padding:0;cursor:pointer;display:inline-flex;
  align-items:center;justify-content:center;font-size:18px;line-height:1;
  transition:color .15s,border-color .15s}
.sdhide:hover{color:var(--ld-gold-bright);border-color:var(--ld-line-gold)}
@media(min-width:1200px){
  /* RAILS (owner, no-pin model): each rail is OUT (an in-flow pad — the felt makes room
     beside it) or AWAY (the same pad slid off its own screen edge, margin-animated so
     the felt reflows with the slide). ONE mechanism: the edge tab slides a rail out,
     the × in its cap slides it away; the choice persists per rail. The AWAY action rail
     still slides out while you act (body.acout via acAuto). */
  #standings{position:static;transform:none;visibility:visible;z-index:auto;
    flex:0 0 auto;width:300px;height:auto;align-self:stretch;overflow:auto;
    display:flex;flex-direction:column;gap:10px;/* the ONE card rhythm */
    margin:14px 0 18px;padding:0 12px 16px;
    background:var(--ld-leather-room);background-size:auto,auto,440px;
    border:1.5px solid var(--ld-claret-line-strong);border-left:0;
    border-radius:0 var(--ld-radius-lg) var(--ld-radius-lg) 0;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.06),var(--ld-card-lift);
    transition:margin-left .32s ease,visibility 0s}
  body:not(.stout) #standings{margin-left:-302px;visibility:hidden;
    transition:margin-left .32s ease,visibility 0s .32s}
  body.stout .sdtab{display:none}
  .sdscrim{display:none} /* no overlay drawer on desktop — no scrim */
  body.stout .tableolay{left:300px} /* the done/reveal overlay clears the open rail */
  /* the action PAD bleeds off the RIGHT edge: piping top/left/bottom only. AWAY = slid
     fully off (its own width + the 18px bleed). Lives AFTER the base .pctrl rule in the
     cascade (the ⛶-fold lesson). */
  .pctrl{margin-right:-18px;border-right:0;border-radius:var(--ld-radius-lg) 0 0 var(--ld-radius-lg);
    transition:margin-right .32s ease,visibility 0s}
  body:not(.acout) .pctrl{margin-right:-302px;visibility:hidden;
    transition:margin-right .32s ease,visibility 0s .32s}
  body:not(.acout):not(.nodock) .actab{display:inline-flex}
  .achead{margin:0 -12px;border-radius:var(--ld-radius-lg) 0 0 0} /* the rail flex gap (10px) is the ONE rhythm - no extra margin */
}
/* play screens have no footer OR nav bar at ANY width (owner) — every vertical
   pixel goes to the game. (play.ts no longer injects the nav; this is the belt.) */
.ldfoot,.ldnav{display:none}
@media(max-width:1199px){
  body{height:100dvh;overflow:hidden}
  .whoami .nm{font-size:13px}
  /* THE COMPACT STRIPS WEAR NO CAP (owner, 2026-11-10: the action cap, "Your move" and its close, sat over the phone's
     dock and the reveal's headline). Here, after the unconditional .achead rule above (a hide placed before it lost to
     it); the landscape rail below restores its cap. */
  .achead{display:none}
  .stage{padding:0;flex:1;min-height:0;display:flex;flex-direction:column}
  .cols{flex:1;min-height:0;align-items:stretch}
  #main{min-width:0;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;
    padding:8px 10px 10px}
  .tabbar{flex:0 0 auto;margin-bottom:8px}
  .tab{padding:8px 10px}
  #main .panel.on{display:flex;flex-direction:column;flex:1;min-height:0}
  #main #panelOther.on{display:block;overflow-y:auto;flex:1;min-height:0}
  .parea{flex:1;min-height:0;gap:10px}
  .ptable{min-height:0;height:auto;flex:1}
  .ptable-bar{flex-wrap:wrap;row-gap:4px} /* the join pill wraps under the title on narrow felts */
  /* the overlay dialog starts below the (slimmer) header on every width */
  .tableolay{padding:10px 10px 12px}

  /* (the standings drawer rules are unconditional now — see the block above this media query) */

  /* ---- compact control sizing (both orientations): the stepper + all six faces
     share ONE row (the portrait strip sizes the faces themselves: its face row below) ---- */
  .stepper button{width:30px;height:36px;font-size:19px}
  .stepper .qv{width:34px;font-size:19px}
  .facepick{gap:3px}
  .facebtn{padding:2px}
  .facebtn .die{width:26px;height:26px;padding:3px}
  .vself{flex-basis:32px} /* the reserved strip, one notch tighter on small screens */
  .vself .vlab{display:none} /* the join verb / mic-cam-leave cluster explains itself */
  .ctl-err{margin-top:6px;padding:6px 10px}
  /* the stepper and the dice faces explain themselves — their captions go; the
     direction-of-play pick keeps its caption (that one isn't obvious) */
  .pctrl .controls .ctl-grp>.lab{display:none}
  .pctrl .controls .ctl-grp:has(.dirpick)>.lab{display:block}
}

/* ---- PORTRAIT compact: [felt] over ONE horizontal action strip of ONE HEIGHT in every
   state (owner, 2026-11-09: the table changed height from turn to turn). The strip is as
   tall as the opening bid's card (direction pick + stepper row + Bid: the 240px cap at
   390×844), and the felt is what that leaves, so the table never resizes between rolling,
   waiting, bidding and the reveal; a shorter state centres in the strip. Row 1: video
   strip + the status readout (+ Leave); row 2 (turn): stepper + face picker; row 3
   (turn): BID / LIAR! (+ Exacta). The internal scroll is ONLY the overflow net for a
   state taller than that (a long error, a short screen). ---- */
@media(max-width:1199px) and (orientation:portrait){
  .parea{flex-direction:column}
  .pctrl{flex:0 0 auto;height:min(34dvh,240px);flex-direction:row;flex-wrap:wrap;
    align-items:center;justify-content:center;gap:5px 8px;
    padding:6px 8px;overflow-y:auto;
    /* if that rare tall state overflows, keep the TOP reachable — unsafe
       centering would clip it above the scroll range */
    align-content:safe center}
  .ctlbid{flex:1 1 150px;align-self:auto;margin-bottom:0;min-width:0;
    text-align:left;padding:4px 8px}
  .nowhead{margin:-4px -8px 3px;padding:3px 8px;border-radius:0}
  .ctlbid .lab{display:inline;margin-right:6px}
  .ctlbid .val{font-size:16px}
  .ctlbid .who{margin-top:0}
  .vself{flex:0 0 auto;order:0;border-top:none;padding:0;gap:6px}
  /* the strip is the pad off the BOTTOM edge: flush left/right/bottom, piping on top only */
  .pctrl{margin:0 -10px -10px;border-left:0;border-right:0;border-bottom:0;border-radius:0}

  /* the ACT card becomes the strip's full-width WIDE BAND (v9): controls in a row,
     no reserved slot (wide never shows the notice — the Bid label's NATTYS suffix
     carries it), Liar+Exacta flatten into the row */
  .pctrl .actcard{flex:1 1 100%;padding:6px 8px}
  .msgslot{display:none}
  .pctrl .controls{margin-top:0;display:flex;flex-wrap:wrap;
    align-items:center;justify-content:center;gap:6px 12px}
  .pctrl .controls .ctl-row{margin-bottom:0;gap:8px;flex:1 1 auto}
  .pctrl .actbtns{flex-direction:row;flex:1 1 100%;gap:8px;margin-top:4px}
  .pctrl .actbtns .btnpair{display:contents}
  /* one gold hero: BID outweighs the challenge verbs in the band row */
  .pctrl .actbtns .btn{flex:1 1 auto}
  .pctrl .actbtns #bidBtn{flex:1.6 1 auto}
  .pctrl .controls.rvdock{display:block;flex:1 1 100%} /* the LIAR! verdict card stays stacked */
  .pctrl .podds{flex:1 1 100%;margin:0}
  .pctrl #rollBtn{width:auto;flex:1 1 auto;padding:11px 14px;white-space:nowrap}
  .pctrl .waitline{flex:1 1 auto;padding:0}
  /* PLD-31: the OPENING-BID card (direction pick + its caption + stepper row + Bid) is the
     tallest state and must fit the 240px cap at 390×844 — measured 244-248px, clipping the
     Bid button by 4-8px. Reclaim ~13px inside the dirpick states ONLY: slimmer direction
     segments (7px→4px), a tighter caption (5px→2px), and no extra gap above the verbs (the
     6px flex row-gap still separates them). Every other portrait state keeps its designed
     spacing and its zero-internal-scroll fit. */
  .pctrl .dirpick button{padding-top:4px;padding-bottom:4px}
  .pctrl .controls .ctl-grp:has(.dirpick)>.lab{margin-bottom:2px}
  .pctrl .controls:has(.dirpick) .actbtns{margin-top:0}
  /* THE FACE ROW STAYS ON A PHONE (owner, 2026-10-18): the faces share the quantity stepper's row down to a 355px
     screen, each a thumb-sized target of 40px or more. They split the row's width evenly (up to 46px each) on a
     tighter 2px gap; below 390px the strip gives up a few more pixels to make room (the block below). */
  .pctrl .controls .ctl-row:has(.facegrp){flex-wrap:nowrap}
  .pctrl .facegrp{flex:1 1 auto;min-width:0;max-width:290px}
  .pctrl .facepick{flex-wrap:nowrap;gap:2px}
  .pctrl .facebtn{flex:1 1 0;min-width:0;max-width:46px;height:40px;padding:0;
    display:flex;align-items:center;justify-content:center}
  .pctrl .facebtn .die{width:28px;height:28px}
}
/* Narrower than a 390px phone (a 360px Android, a 375px iPhone): the strip's sides, the row's gap, the face gap and
   the quantity stepper each give up a few pixels, so the six faces keep 40px each down to a 355px screen. */
@media(max-width:389px) and (orientation:portrait){
  .pctrl{padding-left:4px;padding-right:4px}
  .pctrl .actcard{padding-left:4px;padding-right:4px}
  .pctrl .controls .ctl-row{gap:4px}
  .pctrl .facepick{gap:1px}
  .stepper button{width:28px}
  .stepper .qv{width:30px}
}
/* Below 355px six 40px faces and the stepper cannot share the row, so the face row gives way to the DIE STEPPER
   (ACT-Small, owner's control: minus·die·plus, the quantity stepper's twin). */
@media(max-width:354px) and (orientation:portrait){
  .facegrp{display:none}
  .dsgrp{display:block}
}

/* ---- LANDSCAPE compact: [felt | action dock]. The dock is exactly as wide
   as its widest control state (the 6-face picker row: 6×34px buttons + 5×3px
   gaps + 20px padding = 244px) so the felt — which hosts the video tiles —
   takes every remaining pixel and never resizes between turns. Formatting
   mirrors the DESKTOP dock: video strip pinned at the very top, the status
   readout right under it, controls flowing down — no vertical centering,
   no dead space above. ---- */
@media(max-width:1199px) and (orientation:landscape){
  .parea{flex-direction:row}
  /* the pad bleeds off the RIGHT edge here too (compact #main pads 10px) */
  .pctrl{flex:0 0 244px;width:244px;justify-content:flex-start;padding:8px;gap:6px;
    margin-right:-10px;border-right:0;border-radius:var(--ld-radius-lg) 0 0 var(--ld-radius-lg);
    transition:margin-right .32s ease,visibility 0s}
  /* HIDE/SHOW belongs to the VERTICAL rail only (owner). In this orientation the dock is a
     244px column on the right — the same shape as desktop — so it gets the same contract:
     the cap's × slides it away, the edge tab brings it back, and it still auto-opens the
     moment you have something to do. The PORTRAIT strip (horizontal mode) is deliberately
     untouched: it stays put, wears no cap, and its layout is unchanged. */
  .achead{display:flex}
  body:not(.acout) .pctrl{margin-right:-254px;visibility:hidden;
    transition:margin-right .32s ease,visibility 0s .32s}
  body:not(.acout):not(.nodock) .actab{display:inline-flex} /* the vertical right-edge tab */
  .pctrl .controls .ctl-row{gap:8px;margin-bottom:5px}
  /* v9 bottom-anchor: NOW at the top (its auto margin pushes the rest down), the verbs
     at the rail's foot with the AV tray under them — same contract as desktop */
  .ctlbid{padding:0 10px 5px}
  .nowhead{margin:0 -10px 4px;padding:4px 10px}
  .ctlbid .val{font-size:16px}
  .actcard{padding:8px}
  .msgslot{min-height:40px;margin-top:6px}
  /* the 244px dock is a NARROW rail: full-width gold hero, the challenge pair on
     its own row beneath (the side-by-side band belongs to the portrait strip only) */
  .pctrl .actbtns{flex-direction:column;gap:8px}
  .pctrl .actbtns .btn{padding:9px 8px;font-size:13px}
  /* my CSS-fallback cup is shorter on a short felt */
  .mycupwrap{height:96px}
  .cup.mine{width:88px;height:80px}
  .cup.mine.lifted{transform:translateY(-64px) rotate(-6deg)}
}
/* SHORT landscape (phones): the dock is ACT-Small (v9) — no reserved slot (Small never
   shows the notice; the Bid label's NATTYS suffix carries it) and the verbs share one
   row, so the bidding dock always fits a 390px-tall screen without scrolling */
@media(max-width:1199px) and (orientation:landscape) and (max-height:500px){
  .msgslot{display:none}
  .pctrl .actbtns{flex-direction:row}
  .pctrl .actbtns .btnpair{display:contents}
}

/* the reveal's odds strip (shared/odds, server-computed): what each decider was looking at,
   then the blind table reading. Only ever rendered with exposed dice. */
.rvodds{display:flex;gap:2px;justify-content:center;flex-wrap:wrap;margin:8px 0 2px}
.rvo{flex:0 1 auto;min-width:88px;padding:6px 12px;border-left:1px solid var(--ld-line);text-align:center}
.rvo:first-child{border-left:none}
.rvo-l{font-family:'Oswald',-apple-system,sans-serif;font-size:var(--ld-fs-8);text-transform:uppercase;
  letter-spacing:.08em;color:var(--ld-faint);font-weight:600;white-space:nowrap;overflow:hidden;
  text-overflow:ellipsis;max-width:15ch}
.rvo-v{font-family:'Oswald',-apple-system,sans-serif;font-weight:700;font-size:20px;line-height:1.1;
  color:var(--ld-gold-bright);font-variant-numeric:tabular-nums;margin-top:2px}
.rvo-v .pc{font-size:12px;color:var(--ld-muted);margin-left:1px}
@media(max-width:520px){.rvo{min-width:74px;padding:5px 8px}.rvo-v{font-size:17px}}

  /* the BAD BEAT call — the strike stamp's sibling, not its twin: a strike is a punishment
     (red, shouted), a bad beat is a misfortune, so this reads gold-on-claret and names what
     the dice did. Server decides the verdict; this only says it out loud. */
  .badbeat-call{position:fixed;z-index:75;transform:translate(-50%,-50%);pointer-events:none;
    text-align:center;font-family:'Oswald';animation:badbeatpop 2.6s ease forwards}
  .badbeat-call .big{display:block;font-weight:700;font-size:26px;letter-spacing:.06em;
    text-transform:uppercase;color:var(--ld-gold-bright);
    text-shadow:0 2px 0 var(--ld-claret-deep),0 0 18px var(--ld-claret);transform:rotate(-5deg)}
  .badbeat-call .num{display:block;font-weight:700;font-size:44px;line-height:.92;color:#fff;
    text-shadow:0 2px 0 var(--ld-claret-deep),0 0 20px var(--ld-gold-glow);transform:rotate(-5deg)}
  .badbeat-call .sub{display:block;font-weight:600;font-size:13px;letter-spacing:.14em;
    text-transform:uppercase;color:var(--ld-muted);text-shadow:0 2px 4px rgba(0,0,0,.7)}
  @keyframes badbeatpop{
    0%{opacity:0;transform:translate(-50%,-50%) scale(.5)}
    14%{opacity:1;transform:translate(-50%,-50%) scale(1.14)}
    24%{transform:translate(-50%,-50%) scale(1)}
    82%{opacity:1;transform:translate(-50%,-50%) scale(1)}
    100%{opacity:0;transform:translate(-50%,-50%) scale(1.05)}
  }
  /* and a quiet chip on the reveal card itself, for anyone who missed the stamp */
  .bbchip{display:inline-block;font-family:'Oswald';font-size:11px;font-weight:600;
    text-transform:uppercase;letter-spacing:.07em;padding:2px 8px;border-radius:50px;
    background:var(--ld-claret-wash-1);color:var(--ld-gold-bright);
    border:1px solid var(--ld-claret-line-strong);vertical-align:middle;margin-left:6px}
  .rvdock .rv-note{color:var(--ld-faint);font-size:12px}

/* PRIZE POOL (docs/PRIZE_POOL_PLAN.md §8): the waiting room's band under the countdown —
   pool centred, places + payouts centred beneath, the field-minimum line while short. */
.wrprize{display:flex;justify-content:center;margin:6px auto 12px;max-width:520px}
.wrprize:empty{display:none}

/* ============================================================
   THE WAITING ROOM (LOBBY_PLAN P10): the felt bar in lobby duty over a card stack —
   You (+ the camera check) and the shared pre-start hero (.cdhero.lobby, markup from
   web/preboard.ts), painted by web/play/lobby.ts through the component runtime.
   NARROW (<760): one column, You first. WIDE (≥760): full-bleed row — the people column
   left with its own scroll, the countdown card filling the rest; ≥1200 steps the type up.
   A portrait tablet is NOT a phone here: the board's w/h heuristic picks TV-vs-phone for a
   lean-back BOARD, while 834px holds two card columns fine.
   ============================================================ */
.lroom{display:flex;flex-direction:column}
body.lobbyroom .sdtab,body.lobbyroom .sdscrim{display:none} /* no standings drawer before a table exists */
/* slots + component hosts are pass-through — layout lives on the semantic nodes. EXCEPT the
   bar: its host IS the .lobbybar.feltbar box, and dissolving it stacked the name/era/cluster
   vertically down the left and left the ⋯ menu with no positioned ancestor to anchor to
   (owner, staging rehearsal — "the ⋯ does nothing" and "things don't look lined up"). */
.lroom [data-comp]:not([data-comp="lbbar"]):not([data-comp="lbann"]){display:contents}
#lbAnnSlot,#lbBarSlot,#lbYouSlot,#lbRosterSlot,#lbMenuSlot{display:contents}
/* the host announcement (PLD-27, ANNOUNCEMENTS_PLAN §3.4): the lbann host IS the .annstrip box
   (the strip block above owns its look), first child of .lroom, above the felt bar. #main
   already pads the room, so the play page's outer strip margin comes off here; and an EMPTY
   host is not a strip at all (the strip rule — nothing else ever goes in it): web/play/lobby.ts
   commits no markup when nothing is live, and :empty takes the box out of the flow. */
.lroom .annstrip{margin:0 0 2px}
.lroom .annstrip:empty{display:none}
.lobbybar{position:relative;flex:0 0 auto} /* the ⋯ menu (.barpop) anchors here */
.lobbybar .fbcluster{margin-left:auto;display:flex;align-items:center;gap:8px}
.lobbybar .barpop{top:calc(100% + 2px);right:10px}
.lstack{display:flex;flex-direction:column;gap:12px;width:100%;max-width:540px;margin:0 auto;padding:6px 8px 40px}
.lppl{display:contents}
#lbEvSlot{display:flex;flex-direction:column;min-height:0;order:2}
.lstack .you{order:1}
.lstack .stand-group{order:3;margin-bottom:0}
/* the You card */
.lcard{background:var(--ld-card-navy);border:1px solid var(--ld-line-gold);border-radius:var(--ld-radius-md);box-shadow:var(--ld-card-lift);overflow:hidden}
.lch{font-family:'Oswald';text-transform:uppercase;letter-spacing:.1em;font-size:11px;font-weight:600;padding:8px 12px;background:rgba(230,200,120,.07);color:var(--gold-bright);display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid var(--ld-gold-wash-2)}
.cb{font-family:'Oswald';font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;border-radius:999px;padding:.34em .8em;white-space:nowrap;color:var(--muted);background:rgba(255,255,255,.06);border:1px solid var(--line)}
.cb.ok{color:var(--ld-ok-bright);background:rgba(63,158,106,.16);border-color:rgba(63,158,106,.42)}
.cb.warn{color:var(--ld-warn-bright);background:var(--ld-warn-wash);border-color:var(--ld-warn-line)}
.lcb{padding:14px 16px 16px}
.youp{font-size:14px;color:var(--muted);line-height:1.5}
.youp b{color:var(--cream)}
/* the hero as the lobby's card: solid frame + the dark-surface lift (the dashed border is
   board framing; the shipped .gate wore the PAPER shadow, invisible on felt), content-height
   on a phone — never a 64vh floor above a form — and the crest only where there is room */
.cdhero.lobby{border-style:solid;border-color:var(--ld-line-gold);box-shadow:var(--ld-card-lift);flex:1;min-height:0}
.cdhero.lobby .cdlogo{display:none}
/* the counterfactual row: a different KIND of claim from the fact chips above — ghosted, and
   set off by a LARGER gap than the one binding the facts to each other */
.proj{display:flex;align-items:center;justify-content:center;gap:6px 12px;flex-wrap:wrap;margin-top:calc(var(--cdgap)*3)}
.projlab{font-family:'Oswald';text-transform:uppercase;letter-spacing:.2em;font-size:10px;font-weight:600;color:var(--faint);width:100%;opacity:.85}
.proj .cdchip{background:rgba(255,255,255,.03);border:none;padding:.25em 0;color:var(--faint)}
.proj .cdchip b{color:var(--muted)}
.lseednote{font-family:'Oswald';text-transform:uppercase;letter-spacing:.08em;font-size:10px;color:var(--faint);margin-top:calc(var(--cdgap)*1.5);opacity:.9}
@media(min-width:760px){
  .lroom{flex:1;min-height:0}
  .lstack{flex:1;min-height:0;flex-direction:row;align-items:stretch;max-width:none;margin:0;padding:10px 4px 12px;gap:14px}
  .lppl{display:flex;flex-direction:column;gap:12px;min-height:0;flex:0 0 auto;width:318px}
  /* flex items in a definite-height column SHRINK by default, so the column was compressing
     the You card and .lcard's overflow:hidden clipped the camera button (owner). Content-size,
     always. And the SCROLLER is the roster REGION, not the column (owner's call, staging
     rehearsal II): the You card - the thing you act on - stays pinned; the name lists take
     whatever height is left and scroll inside it. A phone never enters this branch (the page
     scrolls), so the behaviour scales by construction. */
  .lppl .lcard,.lppl .stand-group{flex-shrink:0}
  #lbRosterSlot{display:flex;flex-direction:column;gap:12px;flex:1 1 auto;min-height:0;overflow-y:auto;order:3}
  #lbRosterSlot::-webkit-scrollbar{width:8px}
  #lbRosterSlot::-webkit-scrollbar-thumb{background:var(--ld-gold-wash-2);border-radius:4px}
  #lbEvSlot{flex:1;min-width:0;min-height:0;overflow-y:auto}
  .cdhero.lobby{justify-content:center;padding:20px 24px}
  .cdhero.lobby .cdlogo{display:block;flex:1 1 0;min-height:0;width:74%;max-height:320px;align-self:center}
}
/* under the crest's legibility floor it goes entirely (the board's own ~114px rule — a
   smudged wordmark reads as a rendering fault, not a brand) and its height returns to the
   stack instead of clipping the amber note */
@media(min-width:760px) and (max-height:740px){ .cdhero.lobby .cdlogo{display:none} }
@media(min-width:1200px){
  .lstack{gap:18px}
  .lppl{width:374px}
  /* THE BOARD'S OWN RAMP (status.css #stage .cdhero), near-verbatim: the lobby's hero column
     is the same ballpark width as the TV's tables column, and a smaller private ramp read as
     "smaller than the status page" beside it (owner, staging rehearsal). The crest takes the
     board's 40vh ceiling instead of a fixed px cap, so info + mark fill the card. */
  .cdhero.lobby{--cdgap:clamp(8px,min(.85vw,1.3vh),18px);padding:22px 30px}
  .cdhero.lobby .cdlogo{max-height:40vh}
  .cdhero.lobby .cdstate{font-size:clamp(13px,1.35vw,28px)}
  .cdhero.lobby .cdlab{font-size:clamp(13px,1.6vw,30px);letter-spacing:.34em}
  .cdhero.lobby .cdclock{font-size:clamp(56px,9.5vw,200px)}
  .cdhero.lobby .cdclock.word{font-size:clamp(30px,4.9vw,104px)}
  .cdhero.lobby .cdclock.word.tight{font-size:clamp(24px,3.6vw,76px)}
  .cdhero.lobby .cdwhen{font-size:clamp(14px,1.5vw,32px)}
  .cdhero.lobby .cdchip{font-size:clamp(12px,1.2vw,26px)}
  .cdhero.lobby .cdnote{font-size:clamp(12px,1.1vw,24px);max-width:none}
  .cdhero.lobby .cdpl{font-size:clamp(12px,1.1vw,23px)}
  .cdhero.lobby .cdprize .money-metal{font-size:clamp(26px,3.2vw,64px)}
  .cdhero.lobby .cdprize .payrows li{font-size:clamp(12px,1.1vw,24px)}
  .cdhero.lobby .projlab{font-size:clamp(10px,.9vw,18px)}
  .cdhero.lobby .lseednote{font-size:clamp(10px,1vw,20px)}
}

/* THE DIRECTION SPOTLIGHT (web/play/dirspot.ts): a frame around the direction row whose shadow
   dims the rest of the screen. Neither the frame nor the card takes a tap (pointer-events:none), so
   a tap on anything dimmed, or under the card, still lands. Above the felt and the rails, below the
   nav and dialogs. The clock is the seat-warm banner's amber (.swwarm .swcd): it is the same
   lose-a-die clock, and gold is for clocks that cost no one anything (.brkcd). */
.dirspot-hole{position:fixed;z-index:1900;pointer-events:none;border-radius:var(--ld-radius-lg);
  box-shadow:0 0 0 2px var(--ld-gold-bright),0 0 18px var(--ld-gold-wash-2),0 0 0 200vmax rgba(5,9,20,.74)}
.dirspot-card{position:fixed;z-index:1901;pointer-events:none;box-sizing:border-box;padding:16px 16px 14px;border-radius:var(--ld-radius-lg);
  background:var(--ld-card-navy);border:1px solid var(--ld-line-gold);color:var(--ld-ink);
  box-shadow:var(--ld-shadow-lg);font:var(--ld-fs-5)/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif}
.dirspot-hole[hidden],.dirspot-card[hidden]{display:none}
.dirspot-eye{font:600 var(--ld-fs-7)/1 'Oswald',sans-serif;letter-spacing:var(--ld-track-eyebrow);text-transform:uppercase;color:var(--ld-gold-bright)}
.dirspot-card h3{margin:6px 0;font:600 var(--ld-fs-3)/1.15 'Oswald',sans-serif;letter-spacing:.03em;text-transform:uppercase;color:var(--ld-ink)}
.dirspot-card p{margin:0;color:var(--ld-muted)}
.dirspot-clock{display:flex;align-items:center;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid var(--ld-warn-line);
  color:var(--ld-muted);font-size:var(--ld-fs-6)}
.dirspot-clock b{font:700 21px/1 'Oswald',sans-serif;color:var(--ld-warn-bright);font-variant-numeric:tabular-nums;white-space:nowrap}
/* the pointer takes the colour of the card's edge it sits on (--ld-card-navy runs -hi to -lo) */
.dirspot-card::after{content:"";position:absolute;width:14px;height:14px;background:var(--ld-card-navy-lo);
  border-right:1px solid var(--ld-line-gold);border-bottom:1px solid var(--ld-line-gold)}
.dirspot-card[data-side="above"]::after{left:var(--ax,50%);bottom:-8px;margin-left:-7px;transform:rotate(45deg)}
.dirspot-card[data-side="below"]::after{left:var(--ax,50%);top:-8px;margin-left:-7px;transform:rotate(225deg);background:var(--ld-card-navy-hi)}
.dirspot-card[data-side="left"]::after{top:var(--ay,50%);right:-8px;margin-top:-7px;transform:rotate(-45deg);background:var(--ld-card-navy-hi)}
/* the card's mid-tone where the browser can mix it (Safari 16.2+); a var() inside color-mix is only
   rejected at render time, so a plain earlier declaration would not be a fallback */
@supports (background:color-mix(in srgb,red,blue)){.dirspot-card[data-side="left"]::after{background:color-mix(in srgb,var(--ld-card-navy-hi),var(--ld-card-navy-lo))}}
