/* ── Table Theme Tokens ────────────────────────────────────────────────────────
   Everything that defines "what the table looks like" lives in this one file.
   To reskin the table (new felt color, new accent, a whole new table design),
   edit the values below — nothing else in the app needs to change. Each token
   that replaced an older look carries a comment showing how to restore it.
───────────────────────────────────────────────────────────────────────────── */
:root {
  /* Felt — Aurora Max cinematic deep emerald (aurora-max-table-rebuild-package
     spec/aurora-max-design-tokens.css). Richer/darker than Table Redesign v1's
     flatter emerald so gradient falloff reads as tactile depth, not a flat fill.
     Old Table Redesign v1 felt: --tt-felt-hi:#176d4a; --tt-felt:#0c5038; --tt-felt-lo:#063421;
     Old navy felt (the interim M0 default): --tt-felt-hi:#16202f; --tt-felt:#0b121d; --tt-felt-lo:#050810; */
  --tt-felt-hi:   #0a5140;
  --tt-felt:      #06362d;
  --tt-felt-lo:   #050706;
  --tt-felt-highlight: rgba(125, 210, 169, 0.10);

  /* Rail / bezel — Aurora Premium Table Phase 1 (2026-07-30): dark walnut,
     satin finish, per AURORA-PREMIUM-TABLE-PHASE1 brief. Replaces the flat
     black rail with a warm layered wood gradient; aurora-table.css's
     .board-stage paint consumes the same three-stop band structure it
     always has, just retinted brown instead of near-black, plus a new
     subtle grain overlay (see .board-stage__grain below).
     Old Aurora Max black rail: --tt-rail:#0d0e0e; --tt-rail-hi:#1b1c1c;
     Old Table Redesign v1 rail: --tt-rail:#151515; --tt-rail-hi:#3a3a3a; */
  --tt-rail:      #3c2a1c;
  --tt-rail-hi:   #6b4a30;
  --tt-rail-lo:   #140d09;
  --tt-rail-highlight: rgba(255, 224, 180, 0.16);
  --tt-rail-grain: rgba(0, 0, 0, 0.10);
  --tt-rail-gold: var(--tt-gold);

  /* Gold accent — muted champagne, deliberately NOT the app's arcade-yellow
     --accent (#ffd700). Broadcast-poker gold: hairlines and importance, never
     large saturated fills. Old arcade gold: --tt-gold:#ffd700.
     Values updated to Aurora Max's warm-metal spec (marginally cooler/softer
     than Table Redesign v1's #c9a04a) — same role, same restraint rule. */
  --tt-gold:      #c79b4f;
  --tt-gold-dim:  rgba(199,155,79,0.34);
  --tt-gold-glow: rgba(199,155,79,0.22);

  /* Shadows — Aurora Max depth system (didn't exist pre-rebuild; table/pod/
     card elements previously composed shadows ad hoc per-selector). */
  --tt-shadow-table: 0 28px 70px rgba(0,0,0,0.72);
  --tt-shadow-card:  0 5px 10px rgba(0,0,0,0.42);
  --tt-shadow-pod:   0 10px 24px rgba(0,0,0,0.50);

  /* Seat card surface */
  --tt-seat-surface:       rgba(10,14,22,0.85);
  --tt-seat-border:        rgba(201,160,74,0.15);
  --tt-seat-border-active: var(--tt-gold-dim);
  --tt-seat-shadow:        0 4px 16px rgba(0,0,0,0.45);

  /* Avatar */
  --tt-avatar-size:   40px;
  --tt-avatar-ring:   var(--tt-gold);
  --tt-avatar-ring-w: 2px;
  --tt-avatar-bg:     #0b121d;

  /* Dealer button */
  --tt-dealer-bg:     radial-gradient(circle at 35% 35%, #f3e5bc, #c9a04a 85%);
  --tt-dealer-text:   #2c2200;
  --tt-dealer-border: #8f6f2e;

  /* Timer ring */
  --tt-timer-track:  rgba(201,160,74,0.15);
  --tt-timer-normal: var(--success);
  --tt-timer-urgent: var(--danger);
  --tt-timer-warn:   #f59e0b;

  /* Action buttons — pill shapes; raise is the gold standout.
     Old: fold #ef4444/#b91c1c, check #34d399/#16a34a (green),
     call #fde047/#eab308 (yellow), raise #fb923c/#ea580c (orange). */
  --tt-btn-fold-from:  #ef4444;  --tt-btn-fold-to:  #7f1d1d;  --tt-btn-fold-text:  #fff;
  --tt-btn-check-from: #3b4a5e;  --tt-btn-check-to: #1f2937;  --tt-btn-check-text: #fff;
  --tt-btn-call-from:  #3b82f6;  --tt-btn-call-to:  #1d4ed8;  --tt-btn-call-text:  #fff;
  --tt-btn-raise-from: #e8d18f;  --tt-btn-raise-to: #b8923e;  --tt-btn-raise-text: #241c04;

  /* F2 dual-board */
  --tt-f2-label:       var(--tt-gold);
  --tt-f2-slot-border: rgba(201,160,74,0.3);

  /* Motion — one shared movement language: anticipation → move → settle → pause.
     Every new animation should compose from these; never invent one-off timings. */
  --mo-fast:  180ms;   /* micro feedback: badge pop, button press */
  --mo-med:   340ms;   /* card slide, chip travel */
  --mo-slow:  560ms;   /* card flip, street title, pot award */
  --mo-pause: 650ms;   /* dramatic beat between events */
  --mo-ease:        cubic-bezier(0.22, 0.8, 0.3, 1);   /* settle: fast out, gentle in */
  --mo-ease-inout:  cubic-bezier(0.45, 0, 0.2, 1);     /* travel: chips, cards */
}
