:root {
  --brand-navy: #0B1F3A;
  --brand-navy-deep: #061224;
  --brand-panel: rgba(11, 31, 58, 0.92);
  --brand-gold: #C89838;
  --brand-gold-bright: #FDE047;
  --brand-cream: #FAF6EE;
  --brand-amber: #F5A623;
  --felt-emerald: #0B3B2E;
  --felt-emerald-deep: #06231B;
  --suit-spade: #1E293B;
  --suit-heart: #DC2626;
  --suit-diamond-4c: #2563EB;
  --suit-club-4c: #15803D;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --border-gold: rgba(200, 152, 56, 0.38);
}

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

html, body {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 20%, #102A4C 0%, #061224 100%);
  color: var(--text-main);
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, sans-serif;
  overflow: hidden;
  user-select: none;
}

.holdem-shell {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
}

/* Top Sovereign Navigation Bar */
.holdem-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 58px;
  padding: 0 14px;
  background: linear-gradient(180deg, rgba(11, 31, 58, 0.98) 0%, rgba(6, 18, 36, 0.96) 100%);
  border-bottom: 1px solid var(--border-gold);
  flex-shrink: 0;
  z-index: 30;
}

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

.brand-back-link {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--brand-cream);
  padding-right: 8px;
  border-right: 1px solid rgba(200, 152, 56, 0.25);
}

.brand-crest-svg {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--brand-gold);
}

.brand-title-stack {
  display: flex;
  flex-direction: column;
}

.brand-kicker {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-gold-bright);
}

.brand-main {
  font-family: "Oswald", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #FFFFFF;
}

.hero-patron-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 152, 56, 0.14);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 4px 10px;
  color: var(--text-main);
  cursor: pointer;
}

.deity-mini-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--brand-gold-bright);
}

.patron-btn-copy {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.patron-name-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #FFFFFF;
}

.patron-sub-label {
  font-size: 0.65rem;
  color: var(--brand-gold-bright);
}

.hud-pill {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(200, 152, 56, 0.3);
  border-radius: 8px;
  padding: 3px 9px;
  min-height: 38px;
}

.clickable-pill {
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.1s ease;
}

.clickable-pill:hover {
  border-color: var(--brand-gold-bright);
}

.hud-pill-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.hud-pill-val {
  font-family: "Oswald", sans-serif;
  font-size: 0.82rem;
  color: #FFFFFF;
}

.hud-pill-val.gold {
  color: var(--brand-gold-bright);
}

.hud-select {
  background: transparent;
  color: #FFFFFF;
  border: none;
  font-family: "Oswald", sans-serif;
  font-size: 0.82rem;
  outline: none;
  cursor: pointer;
}

.hud-select option {
  background: #0B1F3A;
  color: #FFFFFF;
}

.top-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  border-radius: 8px;
  border: 1px solid rgba(200, 152, 56, 0.36);
  background: rgba(15, 23, 42, 0.88);
  color: #F8FAFC;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.top-action-btn.gold {
  background: linear-gradient(135deg, #C89838 0%, #9A6F1A 100%);
  color: #061224;
  border-color: #FDE047;
}

.top-action-btn:hover {
  transform: translateY(-1px);
  border-color: var(--brand-gold-bright);
}

.mini-tag {
  font-size: 0.64rem;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-gold);
  background: rgba(15, 23, 42, 0.85);
  color: #FFFFFF;
  cursor: pointer;
}

/* Main 3-Column Workspace */
.holdem-main-grid {
  display: grid;
  grid-template-columns: 295px 1fr 290px;
  gap: 10px;
  padding: 10px;
  height: calc(100vh - 58px);
  overflow: hidden;
}

.holdem-left-sidebar, .holdem-right-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  padding-right: 2px;
}

.sidebar-card {
  background: var(--brand-panel);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
}

.advisor-title-cluster {
  display: flex;
  align-items: center;
  gap: 8px;
}

.advisor-avatar-sm {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--brand-gold-bright);
  object-fit: cover;
}

.kicker-tag {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-gold-bright);
  display: block;
}

.card-title {
  font-family: "Newsreader", serif;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--brand-cream);
}

.combo-pill {
  font-family: "Oswald", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(253, 224, 71, 0.18);
  border: 1px solid var(--brand-gold-bright);
  color: var(--brand-gold-bright);
}

.hand-category-banner {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6EE7B7;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 8px;
  border-radius: 7px;
  text-align: center;
  margin-bottom: 8px;
}

.metrics-quad-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 8px;
}

.metric-tile {
  background: rgba(6, 18, 36, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  padding: 5px 8px;
  display: flex;
  flex-direction: column;
}

.metric-label {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--text-muted);
}

.metric-val {
  font-family: "Oswald", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: #FFFFFF;
}

.emerald { color: #34D399 !important; }
.gold-text, .gold { color: var(--brand-gold-bright) !important; }
.cyan { color: #38BDF8 !important; }

.freq-section {
  margin-bottom: 8px;
}

.freq-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  margin-bottom: 4px;
}

.freq-bar-track {
  display: flex;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.freq-seg.raise { background: #EF4444; }
.freq-seg.call { background: #10B981; }
.freq-seg.fold { background: #3B82F6; }

.advisor-rationale-text {
  font-size: 0.74rem;
  line-height: 1.35;
  color: #E2E8F0;
  margin-bottom: 8px;
}

.btn-primary-gold {
  background: linear-gradient(135deg, #FDE047 0%, #C89838 100%);
  color: #061224;
  border: 1px solid #FEF08A;
  border-radius: 8px;
  padding: 7px 12px;
  font-weight: 800;
  font-size: 0.78rem;
  cursor: pointer;
}

.full-width { width: 100%; }

/* Mini 13x13 Range Preview */
.mini-range-preview {
  display: grid;
  grid-template-columns: repeat(13, 1fr);
  gap: 1px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
}

.mini-range-cell {
  height: 12px;
  font-size: 0.42rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
}

.mini-range-cell.hero-cell {
  outline: 1.5px solid #FDE047;
  z-index: 2;
}

.zk-kv-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.72rem;
}

.zk-kv-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hash-code {
  font-family: monospace;
  font-size: 0.68rem;
  color: #93C5FD;
}

.status-pill.verified {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

/* Center Table Stage */
.holdem-center-stage {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  min-width: 0;
}

.table-context-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(11, 31, 58, 0.9);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  flex-shrink: 0;
}

.ribbon-left, .ribbon-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ribbon-badge {
  font-family: "Oswald", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(200, 152, 56, 0.4);
}

.ribbon-badge.gold {
  color: var(--brand-gold-bright);
}

.ribbon-badge.street {
  background: rgba(16, 185, 129, 0.2);
  color: #6EE7B7;
  border-color: rgba(16, 185, 129, 0.5);
}

.ribbon-badge.special {
  background: linear-gradient(135deg, #F59E0B, #B45309);
  color: #FFF;
}

.status-prompt-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-cream);
}

.toggle-chip-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: #CBD5E1;
  cursor: pointer;
}

.mini-select {
  background: #061224;
  color: var(--brand-gold-bright);
  border: 1px solid var(--border-gold);
  border-radius: 5px;
  padding: 2px 5px;
  font-size: 0.7rem;
}

.mini-ribbon-btn {
  background: rgba(200, 152, 56, 0.2);
  color: var(--brand-gold-bright);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

/* Cinema 3D Velvet Table Container */
.cinema-table-container {
  position: relative;
  flex: 1;
  min-height: 320px;
  border-radius: 22px;
  overflow: hidden;
  background: radial-gradient(ellipse at center, #0E4B3A 0%, #072920 62%, #041421 100%);
  border: 3px solid var(--brand-gold);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.75), 0 12px 35px rgba(0, 0, 0, 0.5);
}

.holdem-felt-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Center Pot & Community Cards Hub */
.table-center-hub {
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
  pointer-events: none;
}

.pot-readout-pill {
  display: flex;
  align-items: baseline;
  gap: 7px;
  background: rgba(6, 18, 36, 0.92);
  border: 1.5px solid var(--brand-gold-bright);
  border-radius: 999px;
  padding: 4px 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.pot-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-gold);
}

.pot-amount {
  font-family: "Oswald", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-gold-bright);
}

.pot-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.community-boards-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.board-row-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(6, 18, 36, 0.55);
  border: 1px solid rgba(200, 152, 56, 0.35);
  border-radius: 12px;
  padding: 6px 10px;
}

.board-tag {
  font-family: "Oswald", sans-serif;
  font-size: 0.66rem;
  color: var(--brand-gold-bright);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.community-cards-row {
  display: flex;
  gap: 6px;
}

/* Playing Cards Styling (Classic & 4-Color High Contrast) */
.playing-card {
  width: 50px;
  height: 70px;
  border-radius: 7px;
  background: linear-gradient(160deg, #FFFFFF 0%, #F1F5F9 100%);
  border: 1.5px solid #CBD5E1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px 5px;
  position: relative;
  font-family: "Oswald", sans-serif;
}

.playing-card.small-card {
  width: 42px;
  height: 58px;
  padding: 3px 4px;
}

.playing-card.empty-slot {
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(200, 152, 56, 0.32);
  box-shadow: none;
}

.playing-card.card-back {
  background: repeating-linear-gradient(
    45deg,
    #0B1F3A,
    #0B1F3A 6px,
    #16335B 6px,
    #16335B 12px
  );
  border: 1.5px solid var(--brand-gold);
  align-items: center;
  justify-content: center;
}

.playing-card.card-back::after {
  content: "A";
  font-family: "Newsreader", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-gold-bright);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--brand-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 18, 36, 0.85);
}

.card-rank-top {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.card-suit-center {
  font-size: 1.35rem;
  align-self: center;
  line-height: 1;
}

.small-card .card-rank-top { font-size: 0.82rem; }
.small-card .card-suit-center { font-size: 1.1rem; }

.suit-s { color: var(--suit-spade); }
.suit-h { color: var(--suit-heart); }
.suit-d { color: #DC2626; }
.suit-c { color: #1E293B; }

body.four-color-deck .suit-d { color: var(--suit-diamond-4c); }
body.four-color-deck .suit-c { color: var(--suit-club-4c); }

.showdown-winner-banner {
  background: linear-gradient(135deg, rgba(11, 31, 58, 0.96), rgba(20, 83, 45, 0.96));
  border: 2px solid var(--brand-gold-bright);
  color: #FFFFFF;
  padding: 6px 16px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65);
}

/* 6 Olympian Seats Around the Oval Table */
.table-seats-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.table-seat-pod {
  position: absolute;
  width: 196px;
  background: rgba(6, 18, 36, 0.92);
  border: 1.5px solid rgba(200, 152, 56, 0.45);
  border-radius: 14px;
  padding: 7px 9px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
  pointer-events: auto;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.table-seat-pod.active-turn {
  border-color: #FDE047;
  box-shadow: 0 0 22px rgba(253, 224, 71, 0.55);
  transform: scale(1.03);
}

.table-seat-pod.folded-seat {
  opacity: 0.52;
}

/* Seat Positions around the Oval (0 = Bottom Center Hero, 1..5 Clockwise) */
.seat-pos-0 { bottom: 12px; left: 50%; transform: translateX(-50%); width: 228px; }
.seat-pos-0.active-turn { transform: translateX(-50%) scale(1.03); }
.seat-pos-1 { bottom: 18%; left: 18px; }
.seat-pos-2 { top: 14%; left: 18px; }
.seat-pos-3 { top: 10px; left: 50%; transform: translateX(-50%); }
.seat-pos-3.active-turn { transform: translateX(-50%) scale(1.03); }
.seat-pos-4 { top: 14%; right: 18px; }
.seat-pos-5 { bottom: 18%; right: 18px; }

.seat-top-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.seat-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.seat-avatar-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-gold);
}

.dealer-button-disc {
  position: absolute;
  bottom: -3px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-gold-bright);
  color: #061224;
  font-family: "Oswald", sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #061224;
}

.seat-identity-col {
  flex: 1;
  min-width: 0;
}

.seat-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.seat-name-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.seat-pos-badge {
  font-family: "Oswald", sans-serif;
  font-size: 0.6rem;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(200, 152, 56, 0.25);
  color: var(--brand-gold-bright);
}

.seat-stack-text {
  font-family: "Oswald", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-gold-bright);
}

.seat-hud-stats-line {
  font-size: 0.6rem;
  color: var(--text-muted);
}

.seat-cards-and-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 5px;
  gap: 6px;
}

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

.seat-action-tag {
  font-family: "Oswald", sans-serif;
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #E2E8F0;
}

/* 8-Table Pro Grinder Tiling Grid */
.pro-grinder-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 8px;
  min-height: 320px;
}

.grinder-mini-table {
  background: radial-gradient(ellipse at center, #0E4B3A 0%, #061A2E 100%);
  border: 2px solid rgba(200, 152, 56, 0.4);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
}

.grinder-mini-table.urgent-turn {
  border-color: #FDE047;
  box-shadow: 0 0 16px rgba(253, 224, 71, 0.45);
}

/* Bottom Action & Smart Bet-Sizing Dock */
.holdem-action-dock {
  background: var(--brand-panel);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex-shrink: 0;
}

.sizing-presets-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

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

.sizing-btn {
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid rgba(200, 152, 56, 0.35);
  background: rgba(6, 18, 36, 0.85);
  color: #E2E8F0;
  font-family: "Oswald", sans-serif;
  font-size: 0.74rem;
  cursor: pointer;
}

.sizing-btn:hover {
  border-color: var(--brand-gold-bright);
  color: #FFFFFF;
}

.sizing-btn.geo-btn {
  background: rgba(200, 152, 56, 0.22);
  border-color: var(--brand-gold-bright);
  color: var(--brand-gold-bright);
}

.slider-control-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 210px;
}

.bet-size-slider {
  flex: 1;
  accent-color: var(--brand-gold-bright);
  cursor: pointer;
}

.bet-input-box {
  display: flex;
  align-items: center;
  background: #061224;
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  padding: 2px 6px;
}

.bet-size-input {
  width: 64px;
  background: transparent;
  border: none;
  color: var(--brand-gold-bright);
  font-family: "Oswald", sans-serif;
  font-size: 0.86rem;
  text-align: right;
  outline: none;
}

.unit-tag {
  font-size: 0.75rem;
  color: var(--brand-gold);
  margin-left: 3px;
}

.primary-actions-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 9px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.1s ease, filter 0.15s ease;
}

.action-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.action-btn:not(:disabled):hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.action-title {
  font-family: "Oswald", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
}

.action-sub {
  font-size: 0.64rem;
  opacity: 0.85;
}

.fold-btn {
  background: linear-gradient(180deg, #334155 0%, #1E293B 100%);
  border-color: #64748B;
  color: #F8FAFC;
}

.call-btn {
  background: linear-gradient(180deg, #059669 0%, #065F46 100%);
  border-color: #34D399;
  color: #FFFFFF;
}

.raise-btn {
  background: linear-gradient(180deg, #D97706 0%, #92400E 100%);
  border-color: #FDE047;
  color: #FFFFFF;
}

.allin-btn {
  background: linear-gradient(180deg, #DC2626 0%, #7F1D1D 100%);
  border-color: #FCA5A5;
  color: #FFFFFF;
}

.next-hand-btn {
  background: linear-gradient(135deg, #FDE047 0%, #C89838 100%);
  border-color: #FEF08A;
  color: #061224;
}

/* Right Sidebar Components */
.wallet-balances-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 6px;
}

.wallet-box {
  background: rgba(6, 18, 36, 0.8);
  border: 1px solid rgba(200, 152, 56, 0.25);
  border-radius: 8px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
}

.wallet-val {
  font-family: "Oswald", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.conservation-strip {
  font-size: 0.66rem;
  color: #34D399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 6px;
  padding: 4px 7px;
  text-align: center;
}

.mini-gold-btn {
  background: rgba(253, 224, 71, 0.18);
  border: 1px solid var(--brand-gold-bright);
  color: var(--brand-gold-bright);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

.action-log-feed {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 190px;
  overflow-y: auto;
  font-size: 0.72rem;
}

.action-log-item {
  display: flex;
  justify-content: space-between;
  padding: 3px 6px;
  border-radius: 5px;
  background: rgba(6, 18, 36, 0.65);
}

.leaderboard-mini-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.lb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.72rem;
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(6, 18, 36, 0.65);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 9, 20, 0.82);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}

.hidden {
  display: none !important;
}

.modal-panel {
  width: min(760px, 95vw);
  max-height: 88vh;
  background: #0B1F3A;
  border: 2px solid var(--brand-gold);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75);
}

.modal-panel.wide-modal {
  width: min(1060px, 96vw);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #061224;
  border-bottom: 1px solid var(--border-gold);
}

.modal-title {
  font-family: "Newsreader", serif;
  font-size: 1.2rem;
  color: var(--brand-cream);
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border-gold);
  background: transparent;
  color: #FFFFFF;
  cursor: pointer;
}

.modal-body {
  padding: 16px 18px;
  overflow-y: auto;
}

.coach-modal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
}

.full-13x13-grid {
  display: grid;
  grid-template-columns: repeat(13, 1fr);
  gap: 2px;
  margin-top: 10px;
}

.gto-cell {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "Oswald", sans-serif;
  font-size: 0.65rem;
  border-radius: 4px;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.gto-cell.hero-highlight {
  outline: 2px solid #FDE047;
  box-shadow: 0 0 10px #FDE047;
}

.deities-roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 10px;
}

.deity-roster-card {
  background: rgba(6, 18, 36, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  cursor: pointer;
}

.deity-roster-card:hover, .deity-roster-card.selected {
  border-color: var(--brand-gold-bright);
  background: rgba(200, 152, 56, 0.18);
}

.deity-roster-card img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--brand-gold);
  object-fit: cover;
}

.squeeze-cards-stage {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 24px 0;
}

/* Mobile & Tablet Responsive Layout */
@media (max-width: 1100px) {
  html, body {
    overflow-y: auto;
  }
  .holdem-shell {
    height: auto;
    min-height: 100vh;
  }
  .holdem-topbar {
    height: auto;
    flex-wrap: wrap;
    padding: 8px 10px;
  }
  .holdem-main-grid {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
  }
  .cinema-table-container {
    min-height: 440px;
  }
  .table-seat-pod {
    width: 146px;
    padding: 5px 6px;
  }
  .seat-pos-0 { width: 170px; }
  .coach-modal-grid {
    grid-template-columns: 1fr;
  }
}
