/* ==========================================================================
   POKER.CRISPYDO.COM — Monte Carlo Velvet (蒙特卡洛 · 午夜丝绒)
   Production Online Multiplayer Texas Hold'em Theme
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --font-display: 'Playfair Display', 'Noto Serif SC', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --room-bg: radial-gradient(ellipse at 50% 40%, #19130f 0%, #0d0a08 62%, #060504 100%);
  --gold: #e0be78;
  --gold-bright: #f2d595;
  --gold-dim: rgba(224, 190, 120, 0.36);
  --gold-soft: rgba(224, 190, 120, 0.13);

  --text-primary: #f6efe2;
  --text-secondary: #b9ab94;
  --text-muted: #7f7463;

  --hud-bg: rgba(21, 16, 13, 0.82);
  --hud-border: rgba(224, 190, 120, 0.2);
  --hud-shadow: 0 14px 34px rgba(0, 0, 0, 0.58);

  --suit-spade: #181a1f;
  --suit-heart: #c62435;
  --suit-diamond: #c62435;
  --suit-club: #181a1f;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body.four-color-deck {
  --suit-spade: #16181d;
  --suit-heart: #cf2638;
  --suit-diamond: #1864d8;
  --suit-club: #158046;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--room-bg);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

/* Subtle luxury film grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
}

.hidden { display: none !important; }

/* ==========================================================================
   LOBBY VIEW — Monte Carlo Private Salon
   ========================================================================== */

.lobby-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px 56px;
  background:
    radial-gradient(ellipse 68% 48% at 50% 10%, rgba(224, 190, 120, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 50% 90%, rgba(20, 88, 60, 0.14) 0%, transparent 70%),
    var(--room-bg);
}

.lobby-shell {
  width: 100%;
  max-width: 980px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.lobby-hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.lobby-crest {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.lobby-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 700;
  letter-spacing: 0.03em;
  background: linear-gradient(180deg, #fff9ec 0%, #e0be78 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lobby-sub {
  font-size: 14.5px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.65;
}

/* Profile Bar */
.profile-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.profile-input-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(24, 18, 14, 0.85);
  border: 1px solid var(--hud-border);
  box-shadow: var(--hud-shadow);
}

.profile-input-wrap label {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.profile-input-wrap input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  width: 150px;
}

/* Lobby Two-Column Cards */
.lobby-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
}

@media (max-width: 820px) {
  .lobby-grid { grid-template-columns: 1fr; }
}

.salon-card {
  border-radius: 22px;
  padding: 26px 28px;
  background: linear-gradient(180deg, rgba(28, 21, 16, 0.88) 0%, rgba(16, 12, 9, 0.92) 100%);
  border: 1px solid var(--hud-border);
  box-shadow: var(--hud-shadow), inset 0 1px 0 rgba(255, 240, 200, 0.07);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-heading h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-bright);
}

.card-heading span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.14em;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.field input, .field select {
  height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  background: rgba(10, 8, 6, 0.65);
  border: 1px solid rgba(224, 190, 120, 0.22);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  transition: border-color 160ms ease;
}

.field input:focus, .field select:focus {
  border-color: var(--gold);
}

.field select option {
  background: #17120e;
  color: #f6efe2;
}

.btn-gold {
  height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid rgba(255, 244, 214, 0.45);
  background: linear-gradient(180deg, #e7c783 0%, #bf964a 100%);
  color: #1b1206;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(224, 190, 120, 0.26);
  transition: transform 150ms var(--ease), filter 150ms ease;
}

.btn-gold:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn-emerald {
  height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid rgba(120, 224, 172, 0.34);
  background: linear-gradient(180deg, #1b5c40 0%, #113d2a 100%);
  color: #eefaf3;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 150ms var(--ease), filter 150ms ease;
}

.btn-emerald:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.join-row {
  display: flex;
  gap: 10px;
}

.join-row input {
  flex: 1;
  height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  background: rgba(10, 8, 6, 0.7);
  border: 1px solid rgba(224, 190, 120, 0.28);
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  outline: none;
}

.join-row input::placeholder {
  letter-spacing: 0.04em;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
}

.rooms-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 210px;
  overflow-y: auto;
}

.room-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(10, 8, 6, 0.5);
  border: 1px solid rgba(224, 190, 120, 0.14);
  cursor: pointer;
  transition: all 150ms ease;
}

.room-row:hover {
  border-color: var(--gold-dim);
  background: rgba(224, 190, 120, 0.08);
}

.room-row-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.room-row-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.room-row-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid var(--gold-dim);
}

.empty-rooms {
  text-align: center;
  padding: 26px 12px;
  font-size: 13px;
  color: var(--text-muted);
  border: 1px dashed rgba(224, 190, 120, 0.16);
  border-radius: 12px;
}

.lobby-footer {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   TABLE VIEW — Full-Screen Monte Carlo Velvet Arena
   ========================================================================== */

.table-screen {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--room-bg);
  overflow: hidden;
  user-select: none;
}

.table-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 68% 58% at 50% 45%, rgba(224, 190, 120, 0.11) 0%, transparent 72%);
  pointer-events: none;
}

/* Top Bar */
.top-bar {
  position: relative;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  gap: 12px;
}

.top-left, .top-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--hud-bg);
  border: 1px solid var(--hud-border);
  box-shadow: var(--hud-shadow);
  backdrop-filter: blur(18px);
  font-size: 12.5px;
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.pill-divider {
  width: 1px;
  height: 14px;
  background: var(--hud-border);
}

.mono-val {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--hud-bg);
  border: 1px solid var(--hud-border);
  box-shadow: var(--hud-shadow);
  backdrop-filter: blur(18px);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms var(--ease);
}

.icon-btn:hover {
  color: var(--text-primary);
  border-color: var(--gold-dim);
  transform: translateY(-1px);
}

.icon-btn.active, .icon-btn.gold {
  color: var(--gold);
  border-color: var(--gold-dim);
  background: var(--gold-soft);
}

/* Table Arena */
.table-arena {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 42px 32px;
  min-height: 0;
}

.table-wrapper {
  position: relative;
  width: min(1020px, 84vw);
  height: min(510px, 59vh);
  min-height: 360px;
}

.table-outer {
  width: 100%;
  height: 100%;
  border-radius: 260px;
  padding: 18px;
  background: linear-gradient(155deg, #4a2e1b 0%, #2a180d 45%, #1a0f08 100%);
  box-shadow:
    0 42px 95px rgba(0, 0, 0, 0.86),
    0 14px 30px rgba(0, 0, 0, 0.65),
    inset 0 2px 3px rgba(255, 214, 160, 0.16),
    inset 0 -3px 8px rgba(0, 0, 0, 0.8);
}

.table-rail {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 242px;
  padding: 17px;
  background: radial-gradient(ellipse at 50% 0%, #3d281e 0%, #221510 58%, #140c09 100%);
  border: 1px solid rgba(224, 190, 120, 0.24);
  box-shadow:
    inset 0 6px 14px rgba(255, 224, 185, 0.08),
    inset 0 -8px 18px rgba(0, 0, 0, 0.85),
    0 6px 18px rgba(0, 0, 0, 0.7);
}

.table-rail::before {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 235px;
  border: 1.5px solid rgba(224, 190, 120, 0.44);
  pointer-events: none;
  opacity: 0.72;
}

.table-felt {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 224px;
  background: radial-gradient(ellipse at 50% 42%, #196446 0%, #104933 48%, #092c1e 88%, #061e14 100%);
  box-shadow:
    inset 0 18px 48px rgba(0, 0, 0, 0.72),
    inset 0 0 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.table-felt::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  opacity: 0.26;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.table-bet-line {
  position: absolute;
  inset: 26px 40px;
  border-radius: 196px;
  border: 1.5px solid rgba(224, 190, 120, 0.26);
  pointer-events: none;
}

.table-watermark {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
  opacity: 0.22;
}

.watermark-title {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.34em;
  color: #e6c785;
  font-weight: 600;
}

.watermark-sub {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.26em;
  color: #e6c785;
}

/* Center Board & Pot */
.board-zone {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.pot-display {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 10px;
  border-radius: 999px;
  background: rgba(11, 22, 17, 0.76);
  border: 1px solid rgba(224, 190, 120, 0.34);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
}

.pot-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-secondary);
  font-weight: 600;
}

.pot-value {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.street-badge {
  font-size: 10px;
  letter-spacing: 0.14em;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  font-weight: 600;
}

.community-cards {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 104px;
}

.card-slot {
  width: 72px;
  height: 102px;
  border-radius: 8px;
  border: 1px dashed rgba(224, 190, 120, 0.2);
  background: rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-slot.filled {
  border-color: transparent;
  background: transparent;
}

/* Waiting / Showdown Banner inside Felt */
.center-banner {
  margin-top: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(15, 11, 8, 0.86);
  border: 1px solid var(--gold-dim);
  color: var(--gold-bright);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Playing Cards */
.playing-card {
  position: relative;
  width: 72px;
  height: 102px;
  border-radius: 8px;
  background: linear-gradient(160deg, #fffdf8 0%, #f5efe3 100%);
  border: 1px solid rgba(200, 185, 155, 0.8);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.52), 0 2px 5px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6px 7px;
  overflow: hidden;
  animation: cardDealIn 340ms var(--ease) both;
}

.playing-card.sm {
  width: 48px;
  height: 68px;
  border-radius: 6px;
  padding: 4px 5px;
}

.playing-card.sm .card-rank { font-size: 13px; }
.playing-card.sm .card-suit-sm { font-size: 11px; }
.playing-card.sm .card-center-suit { font-size: 24px; right: 5px; bottom: 3px; }

.playing-card.suit-h { color: var(--suit-heart); }
.playing-card.suit-d { color: var(--suit-diamond); }
.playing-card.suit-s { color: var(--suit-spade); }
.playing-card.suit-c { color: var(--suit-club); }

.card-corner {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  width: fit-content;
  z-index: 2;
}

.card-rank {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.card-suit-sm {
  font-size: 13px;
  margin-top: 1px;
}

.card-center-suit {
  position: absolute;
  right: 8px;
  bottom: 5px;
  font-size: 36px;
  line-height: 1;
  opacity: 0.92;
}

.card-back {
  width: 44px;
  height: 62px;
  border-radius: 5px;
  background: linear-gradient(145deg, #7c1824 0%, #4b0d15 100%);
  border: 1.5px solid var(--gold);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
  position: relative;
}

.card-back::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 3px;
  border: 1px solid rgba(224, 190, 120, 0.65);
  background: repeating-linear-gradient(45deg, rgba(224, 190, 120, 0.18) 0 2px, transparent 2px 6px);
}

@keyframes cardDealIn {
  0% { opacity: 0; transform: translateY(-24px) scale(0.85); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Casino Chips */
.chip-pile {
  position: relative;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chip-disc {
  position: absolute;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #a82032;
  border: 2px dashed #f3e4c2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.55), inset 0 0 0 2px rgba(224, 190, 120, 0.55);
}

.chip-disc:nth-child(2) { transform: translateY(-3px); }
.chip-disc:nth-child(3) { transform: translateY(-6px); }
.chip-disc.high { background: #1e2229; border-color: var(--gold); }

/* ==========================================================================
   Dynamic Seats Layer
   ========================================================================== */

.seats-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 20;
}

.seat {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
  transition: opacity 260ms ease;
}

.seat.folded .player-pod {
  opacity: 0.45;
  filter: grayscale(0.45);
}

.seat.folded .seat-cards {
  opacity: 0.22;
}

.empty-seat-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(18, 13, 10, 0.72);
  border: 1px dashed rgba(224, 190, 120, 0.36);
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 160ms ease;
}

.empty-seat-btn:hover {
  background: rgba(224, 190, 120, 0.16);
  border-style: solid;
  transform: scale(1.04);
}

.seat-cards {
  display: flex;
  align-items: flex-end;
  margin-bottom: -14px;
  z-index: 1;
}

.seat-cards > *:first-child { transform: rotate(-6deg) translateX(5px); }
.seat-cards > *:last-child { transform: rotate(6deg) translateX(-5px); }

.seat-cards.revealed {
  z-index: 6;
  margin-bottom: 4px;
  gap: 4px;
}

.seat-cards.revealed > *:first-child { transform: rotate(-4deg); }
.seat-cards.revealed > *:last-child { transform: rotate(4deg); }

.seat-cards.revealed .playing-card.sm {
  width: 58px;
  height: 82px;
  padding: 4px 6px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.72), 0 0 0 1.5px rgba(224, 190, 120, 0.65);
}

.seat-cards.revealed .playing-card.sm .card-rank { font-size: 16px; }
.seat-cards.revealed .playing-card.sm .card-suit-sm { font-size: 12px; }
.seat-cards.revealed .playing-card.sm .card-center-suit { font-size: 28px; }

.seat.is-hero {
  flex-direction: row;
  align-items: flex-end;
  gap: 14px;
}

.hero-hand-cluster {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  z-index: 4;
}

.seat.is-hero .seat-cards {
  margin-bottom: 0;
  z-index: 3;
}

.seat.is-hero .seat-cards > *:first-child { transform: rotate(-4deg) translateX(4px); }
.seat.is-hero .seat-cards > *:last-child { transform: rotate(4deg) translateX(-4px); }

.seat.is-hero .seat-cards .playing-card {
  width: 76px;
  height: 106px;
  transition: transform 180ms var(--ease);
}

.seat.is-hero .seat-cards:hover .playing-card:first-child {
  transform: rotate(-7deg) translateX(2px) translateY(-8px);
}

.seat.is-hero .seat-cards:hover .playing-card:last-child {
  transform: rotate(7deg) translateX(-2px) translateY(-8px);
}

.player-pod {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 162px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(31, 24, 19, 0.94) 0%, rgba(18, 13, 10, 0.96) 100%);
  border: 1px solid rgba(224, 190, 120, 0.24);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 240, 200, 0.08);
  backdrop-filter: blur(18px);
}

.seat.is-hero .player-pod {
  min-width: 196px;
  border-color: var(--gold-dim);
}

.seat.active-turn .player-pod {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 10px 28px rgba(0, 0, 0, 0.6), 0 0 26px rgba(224, 190, 120, 0.34);
}

.avatar-wrap {
  position: relative;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.avatar-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #4b3523, #24170f);
  border: 1.5px solid rgba(224, 190, 120, 0.45);
}

.timer-svg {
  position: absolute;
  inset: -4px;
  width: 46px;
  height: 46px;
  transform: rotate(-90deg);
  pointer-events: none;
  opacity: 0;
}

.seat.active-turn .timer-svg { opacity: 1; }
.timer-ring-bg { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 2.5; }
.timer-ring-fg {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 126;
  stroke-dashoffset: 0;
}

.player-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.player-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 105px;
}

.player-stack {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.dealer-btn {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff9ea, #d9bc7a);
  color: #1c1408;
  border: 1.5px solid #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-pill {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  background: rgba(18, 30, 24, 0.96);
  color: #f3e8d2;
  border: 1px solid rgba(224, 190, 120, 0.34);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.action-pill.check { background: rgba(30, 58, 95, 0.96); color: #dbeafe; border-color: rgba(147, 197, 253, 0.45); }
.action-pill.call { background: rgba(16, 85, 55, 0.96); color: #d1fae5; border-color: rgba(110, 231, 183, 0.45); }
.action-pill.bet,
.action-pill.raise {
  background: linear-gradient(180deg, #f3ce7a 0%, #d49c3a 100%);
  color: #1b1206;
  border-color: rgba(255, 245, 210, 0.65);
  box-shadow: 0 4px 14px rgba(224, 190, 120, 0.45);
}
.action-pill.allin {
  background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%);
  color: #fff;
  border-color: rgba(254, 202, 202, 0.6);
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.55);
}
.action-pill.fold { background: rgba(20, 22, 26, 0.9); color: rgba(255, 255, 255, 0.52); border-color: rgba(255, 255, 255, 0.1); }
.action-pill.win { background: #1ea866; color: #fff; border-color: rgba(255, 255, 255, 0.45); }

.hand-strength-tag {
  position: relative;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--hud-bg);
  border: 1px solid var(--gold-dim);
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.opp-hand-tag {
  margin-bottom: 4px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(21, 16, 13, 0.9);
  border: 1px solid rgba(224, 190, 120, 0.42);
  color: var(--gold-bright);
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.55);
  z-index: 7;
}

.emote-bubble {
  position: absolute;
  top: -46px;
  right: -12px;
  font-size: 24px;
  background: var(--hud-bg);
  border: 1px solid var(--gold-dim);
  border-radius: 16px;
  padding: 4px 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  animation: emotePop 2.2s var(--ease) forwards;
  z-index: 35;
}

@keyframes emotePop {
  0% { opacity: 0; transform: translateY(10px) scale(0.6); }
  15% { opacity: 1; transform: translateY(-4px) scale(1.08); }
  80% { opacity: 1; transform: translateY(-4px) scale(1); }
  100% { opacity: 0; transform: translateY(-16px) scale(0.9); }
}

/* ==========================================================================
   Bottom Action Dock
   ========================================================================== */

.bottom-dock {
  position: relative;
  z-index: 40;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 10px 22px 18px;
  gap: 16px;
}

.dock-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.emote-bar {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--hud-bg);
  border: 1px solid var(--hud-border);
  box-shadow: var(--hud-shadow);
}

.emote-btn {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: transparent;
  font-size: 16px;
  cursor: pointer;
  transition: transform 140ms ease;
}

.emote-btn:hover { transform: scale(1.2); background: var(--gold-soft); }

.action-console {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
}

.bet-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 14px;
  background: var(--hud-bg);
  border: 1px solid var(--hud-border);
  box-shadow: var(--hud-shadow);
}

.preset-group { display: flex; gap: 5px; }

.preset-btn {
  height: 26px;
  padding: 0 9px;
  border-radius: 6px;
  border: 1px solid var(--hud-border);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.preset-btn:hover {
  color: var(--gold);
  border-color: var(--gold-dim);
  background: var(--gold-soft);
}

.bet-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 140px;
  height: 4px;
  border-radius: 999px;
  background: rgba(224, 190, 120, 0.24);
  outline: none;
}

.bet-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #1b1409;
  cursor: pointer;
}

.bet-amount-readout {
  min-width: 62px;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
}

.action-buttons {
  display: flex;
  align-items: center;
  gap: 9px;
}

.act-btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 114px;
  height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 150ms var(--ease);
}

.act-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.act-btn-label { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; }
.act-btn-sub { font-family: var(--font-mono); font-size: 11px; opacity: 0.85; }
.kbd-hint { position: absolute; top: 4px; right: 7px; font-family: var(--font-mono); font-size: 9px; opacity: 0.45; }

.act-btn.fold {
  background: rgba(34, 24, 21, 0.88);
  border-color: rgba(255, 255, 255, 0.14);
  color: #d1c3b2;
}
.act-btn.call {
  background: linear-gradient(180deg, #1b593e 0%, #123e2b 100%);
  border-color: rgba(120, 224, 172, 0.3);
  color: #eefaf3;
}
.act-btn.raise {
  background: linear-gradient(180deg, #e7c783 0%, #bf964a 100%);
  border-color: rgba(255, 244, 214, 0.5);
  color: #1b1206;
  box-shadow: 0 8px 24px rgba(224, 190, 120, 0.28);
}

/* ==========================================================================
   Right Side Drawer (Chat / Ledger / Hand History)
   ========================================================================== */

.salon-drawer {
  position: fixed;
  top: 60px;
  right: 18px;
  bottom: 84px;
  width: 310px;
  z-index: 60;
  border-radius: 18px;
  background: rgba(18, 13, 10, 0.94);
  border: 1px solid var(--hud-border);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(22px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(350px);
  transition: transform 260ms var(--ease);
}

.salon-drawer.open { transform: translateX(0); }

.drawer-tabs {
  display: flex;
  border-bottom: 1px solid var(--hud-border);
}

.drawer-tab {
  flex: 1;
  height: 42px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.drawer-tab.active {
  color: var(--gold);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-item {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-primary);
}

.chat-item.system {
  color: var(--text-muted);
  font-size: 11.5px;
  text-align: center;
  padding: 2px 0;
}

.chat-name { color: var(--gold); font-weight: 600; margin-right: 6px; }
.chat-time { color: var(--text-muted); font-size: 10px; margin-left: 6px; font-family: var(--font-mono); }

.chat-form {
  display: flex;
  gap: 6px;
  padding: 10px;
  border-top: 1px solid var(--hud-border);
}

.chat-form input {
  flex: 1;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--hud-border);
  color: var(--text-primary);
  font-size: 12.5px;
  outline: none;
}

.chat-form button {
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  border: none;
  background: var(--gold);
  color: #1b1206;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}

.ledger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(224, 190, 120, 0.1);
  font-size: 12.5px;
}

.ledger-pl.pos { color: #34d399; font-family: var(--font-mono); font-weight: 700; }
.ledger-pl.neg { color: #f87171; font-family: var(--font-mono); font-weight: 700; }
.ledger-pl.zero { color: var(--text-secondary); font-family: var(--font-mono); }

.history-item {
  font-size: 12px;
  line-height: 1.5;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(224, 190, 120, 0.1);
  color: var(--text-secondary);
}

/* Toast */
.toast {
  position: fixed;
  top: 64px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  z-index: 200;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(21, 16, 13, 0.94);
  border: 1px solid var(--gold-dim);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: all 240ms var(--ease);
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ==========================================================================
   Pro Platform Upgrades (Side Pots, Equity, Pre-Action, TimeBank, Modal)
   ========================================================================== */

.create-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 560px) {
  .create-actions { grid-template-columns: 1fr; }
}

.side-pots-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: -4px;
}

.side-pot-pill {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(11, 22, 17, 0.8);
  border: 1px solid rgba(224, 190, 120, 0.28);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
}

.side-pot-pill strong {
  color: var(--gold);
}

/* Showdown Winning 5-Card Highlight & Rabbit Hunt Cards */
.playing-card.win-card {
  transform: translateY(-6px);
  box-shadow: 0 0 0 2px var(--gold), 0 14px 30px rgba(0, 0, 0, 0.65), 0 0 22px rgba(224, 190, 120, 0.48);
  z-index: 4;
}

.playing-card.dim-card {
  opacity: 0.45;
  filter: saturate(0.5);
}

.playing-card.rabbit-card {
  opacity: 0.72;
  border: 1.5px dashed var(--gold);
  background: linear-gradient(160deg, #faf5ea 0%, #e7decb 100%);
}

.playing-card.rabbit-card::after {
  content: '🐰';
  position: absolute;
  top: 4px;
  right: 5px;
  font-size: 12px;
}

/* Seat Role Tag (SB/BB), Sitting Out & Live All-In Equity */
.seat.sitting-out .player-pod {
  opacity: 0.56;
  border-style: dashed;
}

.role-badge {
  position: absolute;
  bottom: -2px;
  left: -4px;
  padding: 1px 5px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  background: #27323f;
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.role-badge.bb {
  background: #8a2c38;
  color: #fff3f4;
  border-color: rgba(255, 210, 210, 0.35);
}

.equity-pill {
  position: relative;
  margin-bottom: 4px;
  min-width: 78px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(14, 24, 19, 0.92);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #a7f3d0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  z-index: 8;
}

.equity-pill-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: rgba(30, 168, 102, 0.32);
  z-index: 0;
}

.equity-pill span {
  position: relative;
  z-index: 1;
}

/* Post-fold & Pre-action Controls */
.post-fold-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pre-action-bar {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pre-act-btn {
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--hud-bg);
  border: 1px solid var(--hud-border);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 140ms ease;
}

.pre-act-btn:hover {
  color: var(--text-primary);
  border-color: var(--gold-dim);
}

.pre-act-btn.active {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--gold-bright);
  box-shadow: 0 0 12px rgba(224, 190, 120, 0.24);
}

.act-btn.timebank {
  min-width: 82px;
  padding: 0 12px;
  background: rgba(24, 19, 14, 0.9);
  border-color: var(--gold-dim);
  color: var(--gold-bright);
}

.act-btn.timebank:hover:not(:disabled) {
  background: var(--gold-soft);
}

/* Quick Chat & Ledger Copy */
.quick-chat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 8px 10px 4px;
  border-top: 1px solid rgba(224, 190, 120, 0.12);
}

.quick-phrase-btn {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--hud-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 11px;
  cursor: pointer;
}

.quick-phrase-btn:hover {
  color: var(--gold);
  border-color: var(--gold-dim);
  background: var(--gold-soft);
}

.ledger-copy-btn {
  width: 100%;
  height: 34px;
  margin-bottom: 4px;
  border-radius: 10px;
  border: 1px solid var(--gold-dim);
  background: var(--gold-soft);
  color: var(--gold-bright);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.ledger-copy-btn:hover {
  background: rgba(224, 190, 120, 0.22);
}

/* Hand Rankings Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(5, 4, 3, 0.78);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  width: min(640px, 100%);
  max-height: 86vh;
  border-radius: 22px;
  background: linear-gradient(180deg, #211812 0%, #120d0a 100%);
  border: 1px solid var(--gold-dim);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(224, 190, 120, 0.16);
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--gold-bright);
}

.modal-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  margin-top: 2px;
}

.ranks-list {
  padding: 14px 20px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(224, 190, 120, 0.12);
}

.rank-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  width: 24px;
}

.rank-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rank-info strong {
  font-size: 13px;
  color: var(--text-primary);
}

.rank-info span {
  font-size: 11.5px;
  color: var(--text-secondary);
}

.rank-cards {
  display: flex;
  gap: 4px;
}

.rank-cards span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 36px;
  padding: 0 4px;
  border-radius: 5px;
  background: #fbf7ee;
  color: #181a1f;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 800;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);
}

.rank-cards span.red {
  color: #c62435;
}

/* ==========================================================================
   Inward Felt Bet Stacks, Action Callout, Ticker & Showdown Spotlight
   ========================================================================== */

.bets-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 18;
}

.felt-bet {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.felt-bet.bet-pop {
  animation: betPopIn 280ms var(--ease) both;
}

@keyframes betPopIn {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.75); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.chip-column {
  position: relative;
  width: 24px;
  height: 28px;
  flex-shrink: 0;
}

.c-disc {
  position: absolute;
  left: 1px;
  bottom: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2.5px dashed rgba(255, 250, 235, 0.9);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.65), inset 0 0 0 2px rgba(255, 255, 255, 0.22);
}

.c-disc.c-gold { background: linear-gradient(145deg, #f2d085, #b48432); border-color: #fff6de; }
.c-disc.c-black { background: linear-gradient(145deg, #323741, #14171d); border-color: #e0be78; }
.c-disc.c-green { background: linear-gradient(145deg, #228a58, #0f4c2f); border-color: #f3e8d2; }
.c-disc.c-red { background: linear-gradient(145deg, #c92b3f, #7c1422); border-color: #f3e8d2; }
.c-disc.c-ivory { background: linear-gradient(145deg, #f7f1e3, #cbbda2); border-color: #3d281e; }

.felt-bet-pill {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(10, 22, 16, 0.9);
  border: 1.5px solid rgba(224, 190, 120, 0.55);
  color: #fff8e7;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
}

.felt-bet.is-raise .felt-bet-pill {
  background: linear-gradient(180deg, rgba(64, 42, 14, 0.95) 0%, rgba(36, 22, 7, 0.96) 100%);
  border-color: #f3ce7a;
  color: #ffe39b;
  box-shadow: 0 0 18px rgba(224, 190, 120, 0.42), 0 6px 16px rgba(0, 0, 0, 0.55);
}

.felt-bet.is-allin .felt-bet-pill {
  background: linear-gradient(180deg, rgba(145, 22, 34, 0.96) 0%, rgba(88, 12, 20, 0.98) 100%);
  border-color: #fca5a5;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.52), 0 6px 16px rgba(0, 0, 0, 0.55);
}

/* Action Callout Banner over Acting Seat */
.action-callout {
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  z-index: 45;
  pointer-events: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
  animation: calloutPop 1.8s var(--ease) forwards;
}

.action-callout.check { background: #1e3a5f; color: #eff6ff; border: 1px solid #93c5fd; }
.action-callout.call { background: #135d3b; color: #ecfdf5; border: 1px solid #6ee7b7; }
.action-callout.bet,
.action-callout.raise { background: linear-gradient(180deg, #f3ce7a, #d19633); color: #1b1206; border: 1px solid #fff7db; }
.action-callout.allin { background: linear-gradient(180deg, #ef4444, #b91c1c); color: #fff; border: 1px solid #fecaca; }
.action-callout.fold { background: rgba(24, 26, 31, 0.92); color: #9ca3af; border: 1px solid rgba(255, 255, 255, 0.16); }

@keyframes calloutPop {
  0% { opacity: 0; transform: translateX(-50%) translateY(10px) scale(0.8); }
  14% { opacity: 1; transform: translateX(-50%) translateY(-4px) scale(1.06); }
  24% { transform: translateX(-50%) translateY(0) scale(1); }
  78% { opacity: 1; transform: translateX(-50%) translateY(-4px) scale(1); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-16px) scale(0.95); }
}

/* Felt Action Ticker & Pot Bump */
.action-ticker {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(12, 24, 18, 0.78);
  border: 1px solid rgba(224, 190, 120, 0.3);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.38);
}

.action-ticker strong { color: var(--gold-bright); }

.pot-display.pot-bump {
  animation: potBump 360ms var(--ease);
}

@keyframes potBump {
  0% { transform: scale(1); }
  45% { transform: scale(1.08); border-color: var(--gold-bright); box-shadow: 0 0 24px rgba(224, 190, 120, 0.45); }
  100% { transform: scale(1); }
}

.playing-card.win-card::before {
  content: '★';
  position: absolute;
  top: 4px;
  right: 5px;
  font-size: 12px;
  color: #d49428;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Showdown Winning Hand Spotlight Panel */
.showdown-spotlight {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 75;
  width: min(560px, 92vw);
  border-radius: 22px;
  padding: 20px 22px 18px;
  background: linear-gradient(180deg, rgba(31, 23, 17, 0.96) 0%, rgba(15, 11, 8, 0.97) 100%);
  border: 1.5px solid rgba(224, 190, 120, 0.55);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 240, 200, 0.14);
  backdrop-filter: blur(22px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: spotlightIn 260ms var(--ease) both;
}

@keyframes spotlightIn {
  0% { opacity: 0; transform: translate(-50%, -46%) scale(0.95); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.spotlight-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.spotlight-winner-line {
  font-size: 13px;
  font-weight: 600;
  color: #6ee7b7;
}

.spotlight-hand-title {
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-bright);
}

.spotlight-best-five {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  padding: 12px 10px;
  border-radius: 14px;
  background: rgba(8, 24, 17, 0.72);
  border: 1px solid rgba(224, 190, 120, 0.22);
}

.spotlight-card-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.spotlight-card-col .playing-card {
  width: 66px;
  height: 94px;
  animation: none;
}

.card-src-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
}

.card-src-tag.hole {
  background: rgba(224, 190, 120, 0.22);
  color: var(--gold-bright);
  border: 1px solid rgba(224, 190, 120, 0.5);
}

.card-src-tag.board {
  background: rgba(25, 90, 62, 0.42);
  color: #a7f3d0;
  border: 1px solid rgba(110, 231, 183, 0.35);
}

.spotlight-contenders {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 150px;
  overflow-y: auto;
}

.spotlight-contender-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
}

.spotlight-contender-row.is-winner {
  background: rgba(30, 168, 102, 0.14);
  border-color: rgba(110, 231, 183, 0.4);
}

.mini-hole-pair {
  display: inline-flex;
  gap: 4px;
  font-family: var(--font-mono);
  font-weight: 700;
}

.mini-hole-chip {
  padding: 2px 6px;
  border-radius: 5px;
  background: #fbf7ee;
  color: #181a1f;
  font-size: 11.5px;
}

.mini-hole-chip.red { color: #c62435; }

.spotlight-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

@media (max-width: 900px) {
  .table-arena { padding: 12px 14px 20px; }
  .table-wrapper { width: 92vw; height: 52vh; }
  .preset-group { display: none; }
  .emote-bar { display: none; }
  .rank-cards { display: none; }
  .spotlight-card-col .playing-card { width: 52px; height: 74px; }
}
