/* ============================================================
   POKER FAMILY — the Graphite look (shared by all seven poker games)
   Decisions: briefs/poker-family-b-redesign-decisions.md (Ronan 2026-11-08: D3 felt, D12 chips,
   D14 player colours, D16 balance, D17 spacing, D18 chip values, Q1-Q13). Mock-ups:
   design-review-2026-11/poker/. Copied into each game's assets/css/ by kit/casino/build-poker-b.js;
   edit it here, never in a game folder.
   - Inter only, every screen (R13). No em dashes in player-visible text.
   - Gold means one thing: your move (the main action) and chips you have placed. Nothing else.
   - --k grows plates, text, buttons and chips with the table above 1254x700 (set by the game, 1 to 1.3).
   ============================================================ */
:root{
  --pb-felt:#33312F; --pb-lit:#3E3B38; --pb-edge:#211F1E; --pb-rail:#161514;
  --pb-plate:#1C1B1A; --pb-ink:#F7F3EC; --pb-muted:#EDE6DA; --pb-brass:#ECD9B2; --pb-keyline:#B9965C;
  --pb-hair:rgba(214,178,118,.45); --pb-steel:#1E1D1B; --pb-steel-b:rgba(214,178,118,.55);
  --pb-gold-a:#F3D27A; --pb-gold-b:#D9AE4E; --pb-gold-ink:#1B1406; --pb-gold:#E9C46A;
  --pb-back:#16203F; --pb-back-line:#B9C3DE; --pb-red:#C8313C;
  /* each opponent's own colour (D14), seat by seat; you are gold */
  --pb-p1:#84C0FF; --pb-p2:#F6AA86; --pb-p3:#AAC57F; --pb-p4:#43CECC; --pb-p5:#F0A4D5;
  --k:1;
}
/* ---------- the chip standard (D12, D18): ivory centre with the value, white edge stripes ---------- */
.pb-chip{ --c:#2E9A55; --t:#14532D; width:calc(34px * var(--k)); height:calc(34px * var(--k)); border-radius:50%; flex:none;
  background:radial-gradient(circle at 50% 50%, #F7F3EA 0 40%, var(--c) 41% 62%, transparent 63%), repeating-conic-gradient(var(--c) 0 22.5deg, #F7F3EA 22.5deg 45deg);
  box-shadow:0 0 0 1.5px rgba(0,0,0,.35), 0 2px 4px rgba(0,0,0,.45); display:inline-grid; place-items:center;
  font:800 calc(12px * var(--k))/1 Inter, Arial, sans-serif; color:var(--t); font-variant-numeric:tabular-nums; }
.pb-chip.v1{ --c:#7D8796; --t:#2B3240; }   /* slate: an ivory edge vanished into the ivory stripes (Ronan 2026-11-09: every chip the same face) */ .pb-chip.v5{ --c:#C8313C; --t:#7A1219; } .pb-chip.v10{ --c:#2F6FD6; --t:#14306B; }
.pb-chip.v25{ --c:#2E9A55; --t:#14532D; } .pb-chip.v50{ --c:#E07B24; --t:#6B3209; } .pb-chip.v100{ --c:#1FA3A3; --t:#0B4D4D; }
.pb-chip.v500{ --c:#7B4DC4; --t:#3A1D6B; }
.pb-bet{ display:inline-flex; align-items:center; gap:6px; font:800 calc(13px * var(--k))/1 Inter, Arial, sans-serif; color:var(--pb-ink); white-space:nowrap; }
/* ---------- identity disc (D5, D14) ---------- */
.pb-disc{ width:calc(36px * var(--k)); height:calc(36px * var(--k)); border-radius:50%; flex:none; display:grid; place-items:center;
  font:800 calc(16px * var(--k))/1 Inter, Arial, sans-serif; color:#141820; background:#C9CFDC; }
.pb-disc.you{ background:var(--pb-gold); color:var(--pb-gold-ink); }
.pb-disc.p1{ background:var(--pb-p1); } .pb-disc.p2{ background:var(--pb-p2); } .pb-disc.p3{ background:var(--pb-p3); }
.pb-disc.p4{ background:var(--pb-p4); } .pb-disc.p5{ background:var(--pb-p5); }
/* ---------- the balance (D16) ---------- */
.pb-bal{ display:flex; flex-direction:column; align-items:flex-start; }
.pb-bal .bl{ font:800 calc(12px * var(--k))/1.25 Inter, Arial, sans-serif; letter-spacing:.1em; color:var(--pb-brass); }
.pb-bal .bv{ font:800 calc(20px * var(--k))/1.2 Inter, Arial, sans-serif; color:var(--pb-ink); font-variant-numeric:tabular-nums; }
.pb-bal .ip{ font:700 calc(13px * var(--k))/1.3 Inter, Arial, sans-serif; color:var(--pb-muted); }
/* ---------- tags ---------- */
.pb-tag{ display:inline-block; height:calc(22px * var(--k)); padding:0 8px; border-radius:11px; background:#F7F3EA; color:#141820;
  font:800 calc(12px * var(--k))/calc(22px * var(--k)) Inter, Arial, sans-serif; letter-spacing:.06em; box-shadow:0 1px 3px rgba(0,0,0,.5); white-space:nowrap; }
/* ---------- minimise / restore (D15) ---------- */
.pb-mini{ position:absolute; right:8px; top:8px; width:44px; height:44px; border-radius:10px; border:1px solid var(--pb-steel-b); background:var(--pb-steel);
  color:var(--pb-ink); font:800 20px/1 Inter, Arial, sans-serif; cursor:pointer; display:grid; place-items:center; }
/* ---------- line icons for the utility buttons (Q1) ---------- */
.pb-ico{ width:calc(18px * var(--k)); height:calc(18px * var(--k)); stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; display:block; }
/* ---------- court cards (P8): a thin frame round the centre suit on J, Q and K, so a court card reads at a glance ---------- */
.card.court:not(.back)::after{ content:""; position:absolute; left:26%; right:26%; top:22%; bottom:22%; border:1.5px solid currentColor; border-radius:3px; opacity:.55; pointer-events:none; }
