:root {
  --bg-deep: #06090f;
  --bg-main: #0b101b;
  --bg-card: #121a2b;
  --bg-card-hover: #182238;
  --border: #23304a;
  --border-gold: rgba(245, 197, 24, 0.35);
  --gold: #f5c518;
  --gold-dim: #c79a10;
  --text: #f8fafc;
  --text-muted: #b8c5d9;
  --text-dim: #94a3b8;
  --green: #22c55e;
  --red: #ef4444;
  --blue: #38bdf8;
  --purple: #a855f7;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
  scrollbar-gutter: stable;
  color-scheme: dark;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: radial-gradient(circle at top center, #121c30 0%, var(--bg-deep) 65%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.45;
  caret-color: var(--gold);
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #070b14; }
::-webkit-scrollbar-thumb { background: #26344f; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #36496e; }

::selection {
  background: rgba(245, 197, 24, 0.28);
  color: #fff;
}

.hidden { display: none !important; }

/* ==================== BUTTONS & INPUTS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s var(--ease-out), filter 0.16s var(--ease-out), border-color 0.16s var(--ease-out), background 0.16s var(--ease-out);
  color: var(--text);
  background: #1e293b;
  text-decoration: none;
}
.btn:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.08); }
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.btn-gold {
  background: linear-gradient(135deg, #f5c518, #d49b0a);
  color: #0b0f17;
  box-shadow: 0 4px 16px rgba(245, 197, 24, 0.28);
}
.btn-green { background: linear-gradient(135deg, #22c55e, #15803d); color: #fff; }
.btn-red { background: linear-gradient(135deg, #ef4444, #b91c1c); color: #fff; }
.btn-blue { background: linear-gradient(135deg, #38bdf8, #0284c7); color: #04131d; }
.btn-purple { background: linear-gradient(135deg, #a855f7, #7e22ce); color: #fff; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 6px 12px; font-size: 12.5px; border-radius: 8px; }
.btn-xs { padding: 4px 9px; font-size: 11.5px; border-radius: 6px; }

.input, .select, .textarea {
  width: 100%;
  background: #080d17;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 13px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s var(--ease-out);
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--gold); }
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.btn:focus-visible,
.input:focus-visible,
.select:focus-visible,
.auth-tab:focus-visible,
.nav-tab:focus-visible,
.landing-nav-link:focus-visible,
.casino-chip:focus-visible,
.seat-empty-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ==================== TOPBAR & RAINBOW EMBLEM ==================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8, 12, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  border-radius: 9999px;
}
.auth-brand {
  display: flex;
  justify-content: center;
  cursor: default;
}
.brand:focus-visible {
  outline: 2px solid #8cb3ff;
  outline-offset: 4px;
}
.brand-emblem {
  --brand-stroke: 3px;
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-inline-end: 14px;
  border: var(--brand-stroke) solid transparent;
  border-radius: 9999px;
  transition: transform 200ms var(--ease-out);
}
.brand:hover .brand-emblem { transform: scale(1.02); }
.brand:active .brand-emblem { transform: scale(0.98); }
.auth-brand:hover .brand-emblem,
.auth-brand:active .brand-emblem { transform: none; }

.brand-emblem-circle {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: var(--brand-stroke) solid transparent;
  margin-block: calc(-1 * var(--brand-stroke));
  margin-inline-start: calc(-1 * var(--brand-stroke));
  margin-inline-end: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  flex-shrink: 0;
}
.brand-emblem,
.brand-emblem-circle {
  background:
    linear-gradient(#05050d, #05050d) padding-box,
    linear-gradient(90deg, #ff004c 0%, #ffaa00 16.667%, #00ff66 33.333%, #00eaff 50%, #355cff 66.667%, #a600ff 83.333%, #ff004c 100%) border-box;
  background-size: 100% 100%, 300px 100%;
  background-repeat: no-repeat, repeat-x;
  background-position: 0 0, 0px 50%;
  animation: rainbowEmblemFlow 7.5s linear infinite;
  filter: drop-shadow(0 0 3px rgba(140, 179, 255, 0.4));
}
.brand-emblem-img-wrap {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: #05050d;
}
.brand-logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.brand-emblem-frame {
  position: relative;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  flex-shrink: 0;
}
.brand-emblem-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #f4f6fb;
  white-space: nowrap;
}
.brand-emblem-sub {
  font-weight: 400;
  color: var(--text-muted);
}
@keyframes rainbowEmblemFlow {
  0% { background-position: 0 0, 0px 50%; }
  100% { background-position: 0 0, 300px 50%; }
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.chip-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(245, 197, 24, 0.12);
  border: 1px solid var(--border-gold);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  color: var(--gold);
}
.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.admin-tag {
  background: rgba(245, 197, 24, 0.2);
  color: var(--gold);
  border: 1px solid var(--border-gold);
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 5px;
  text-transform: uppercase;
}

/* ==================== LANDINGPAGE & AUTH ==================== */
.landing-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 80% 45% at 20% 0%, rgba(16, 185, 129, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 65% 40% at 85% 10%, rgba(245, 197, 24, 0.11) 0%, transparent 55%),
    var(--bg-deep);
}

.landing-nav {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.landing-nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  transition: color 0.18s var(--ease-out), background 0.18s var(--ease-out);
}
.landing-nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.landing-main {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px 56px;
  flex: 1;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 420px);
  gap: 44px;
  align-items: center;
  padding: 18px 0 42px;
}

.landing-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(245, 197, 24, 0.1);
  border: 1px solid rgba(245, 197, 24, 0.28);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.landing-h1 {
  font-size: clamp(32px, 4.4vw, 50px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 16px;
}

.landing-h1-gold { color: var(--gold); }

.landing-lead {
  font-size: 15.5px;
  color: var(--text-muted);
  max-width: 58ch;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Live Tisch-Vorschau */
.landing-felt-preview {
  background: radial-gradient(circle at 30% 35%, #114c37 0%, #09291e 75%);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  margin-bottom: 22px;
  max-width: 540px;
}

.felt-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
}

.felt-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d1fae5;
}

.felt-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.felt-payout {
  color: var(--gold);
  letter-spacing: 0.06em;
  font-size: 11px;
  background: rgba(0, 0, 0, 0.35);
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(245, 197, 24, 0.35);
}

.felt-cards-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.preview-card {
  width: 56px;
  height: auto;
  display: block;
  border-radius: 7.2% / 5.15%;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
  transition: transform 0.22s var(--ease-out);
  flex-shrink: 0;
}
.preview-card:nth-child(1) { transform: rotate(-4deg); }
.preview-card:nth-child(2) { transform: rotate(-2deg) translateY(-2px); }
.preview-card:nth-child(3) { transform: rotate(0deg) translateY(-3px); }
.preview-card:nth-child(4) { transform: rotate(2deg) translateY(-2px); }
.preview-card:nth-child(5) { transform: rotate(4deg); }

.landing-felt-preview:hover .preview-card:nth-child(1) { transform: rotate(-6deg) translateY(-2px); }
.landing-felt-preview:hover .preview-card:nth-child(5) { transform: rotate(6deg) translateY(-2px); }


.felt-score-pill {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background: rgba(6, 9, 15, 0.62);
  border: 1px solid rgba(245, 197, 24, 0.42);
  border-radius: 12px;
  padding: 8px 13px;
}
.felt-score-num {
  font-size: 16px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1.1;
}
.felt-score-label {
  font-size: 10.5px;
  font-weight: 700;
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.landing-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 6px;
}

.landing-stat {
  display: flex;
  flex-direction: column;
}
.landing-stat strong {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}
.landing-stat span {
  font-size: 12.5px;
  color: var(--text-muted);
}

.auth-overlay {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-card {
  width: 100%;
  max-width: 430px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.55);
}

.auth-card-head h2 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.auth-card-head p {
  font-size: 13px;
  color: var(--text-muted);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 16px 0 18px;
  background: #080c14;
  padding: 5px;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.auth-tab {
  padding: 9px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--text-muted);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s var(--ease-out), color 0.18s var(--ease-out);
}
.auth-tab.active {
  background: var(--gold);
  color: #0b0f17;
}
.error-box {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fca5a5;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 13px;
  margin-bottom: 12px;
}
.fun-only-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
}

.landing-section { margin-top: 52px; }
.landing-section-head { margin-bottom: 20px; }
.landing-section-head h2 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.landing-section-head p {
  font-size: 14px;
  color: var(--text-muted);
}

.landing-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.bento-tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  transition: border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.bento-tile:hover {
  border-color: rgba(245, 197, 24, 0.35);
  transform: translateY(-2px);
}
.bento-wide { grid-column: span 2; }
.bento-accent {
  background: linear-gradient(155deg, rgba(245, 197, 24, 0.11), var(--bg-card) 65%);
  border-color: rgba(245, 197, 24, 0.32);
}

.bento-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gold);
  margin-bottom: 10px;
}
.bento-tile h3 {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.bento-tile p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

.landing-rules-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.landing-rules-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.landing-rules-table th,
.landing-rules-table td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.landing-rules-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: rgba(8, 12, 20, 0.7);
}
.landing-rules-table tr:last-child td { border-bottom: none; }

.rule-pill {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  white-space: nowrap;
}
.rule-gold {
  background: rgba(245, 197, 24, 0.16);
  color: var(--gold);
  border: 1px solid rgba(245, 197, 24, 0.35);
}

.landing-footer {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-dim);
}
.landing-footer a {
  color: var(--text-muted);
  text-decoration: none;
}
.landing-footer a:hover { color: var(--gold); }

@media (max-width: 920px) {
  .landing-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 8px;
  }
  .landing-bento { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; }
}

@media (max-width: 600px) {
  .landing-nav { flex-direction: column; align-items: flex-start; }
  .landing-nav-link { display: none; }
  .landing-footer { flex-direction: column; align-items: flex-start; }
}

/* ==================== LOBBY CONTAINER ==================== */
.lobby-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 20px 60px;
}

.lobby-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}
.nav-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 10px 18px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s var(--ease-out);
}
.nav-tab:hover { color: var(--text); border-color: rgba(245, 197, 24, 0.4); }
.nav-tab.active {
  background: linear-gradient(135deg, rgba(245, 197, 24, 0.2), rgba(245, 197, 24, 0.08));
  border-color: var(--gold);
  color: var(--gold);
}

/* Partner Refill Alert Banner */
.partner-banner {
  background: linear-gradient(135deg, rgba(245, 197, 24, 0.16), rgba(34, 197, 94, 0.12));
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 0 24px rgba(245, 197, 24, 0.15);
}

/* Lobby Command Bento */
.lobby-bento-top {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(290px, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.lounge-kicker {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 3px;
}

/* 7-Tage Daily Bonus Strip */
.daily-strip {
  background: linear-gradient(155deg, rgba(245, 197, 24, 0.06), var(--bg-card) 55%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
.daily-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.daily-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.day-box {
  background: rgba(7, 11, 20, 0.85);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 10px 6px;
  text-align: center;
  position: relative;
  transition: transform 0.16s var(--ease-out), border-color 0.16s;
}
.day-box.claimed {
  border-color: rgba(34, 197, 94, 0.55);
  background: rgba(34, 197, 94, 0.1);
}
.day-box.active-next {
  border-color: var(--gold);
  background: rgba(245, 197, 24, 0.15);
  box-shadow: 0 0 18px rgba(245, 197, 24, 0.22);
}
.day-label { font-size: 11px; color: var(--text-muted); font-weight: 700; }
.day-amount { font-size: 13.5px; font-weight: 900; color: var(--gold); margin-top: 3px; }
.day-check { font-size: 10.5px; color: var(--green); margin-top: 3px; font-weight: 800; }

/* Private VIP Card */
.private-card {
  background: linear-gradient(155deg, rgba(56, 189, 248, 0.06), var(--bg-card) 60%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}
.code-join-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Felt-Stage Table Cards */
.tables-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.table-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.42);
  transition: transform 0.2s var(--ease-out), border-color 0.2s, box-shadow 0.2s;
}
.table-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 197, 24, 0.55);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.58);
}
.table-card.theme-obsidian { border-color: rgba(245, 197, 24, 0.35); }

.table-stage {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.table-stage.theme-emerald { background: radial-gradient(circle at 22% 30%, #166534 0%, #092c18 85%); }
.table-stage.theme-midnight { background: radial-gradient(circle at 22% 30%, #1d4ed8 0%, #0b1942 85%); }
.table-stage.theme-bordeaux { background: radial-gradient(circle at 22% 30%, #9f1239 0%, #3d0719 85%); }
.table-stage.theme-obsidian { background: radial-gradient(circle at 22% 30%, #27272a 0%, #09090b 85%); }

.table-stage-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.table-tier-chip {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.55);
}
.table-stage h3 {
  font-size: 19px;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
}
.table-stage-desc {
  font-size: 12.5px;
  color: rgba(241, 245, 249, 0.82);
  margin-top: 3px;
}

.seat-pips-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex-shrink: 0;
}
.seat-pips {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 90px;
}
.seat-pip {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.seat-pip.taken {
  background: var(--green);
  border-color: #86efac;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
}
.seat-badge {
  font-size: 11.5px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}

.table-card-body {
  padding: 16px 20px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.stakes-editorial { display: flex; flex-direction: column; }
.stakes-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
}
.stakes-value {
  font-size: 17px;
  font-weight: 900;
  color: var(--gold);
  margin-top: 1px;
}
.stakes-sub {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}

@media (max-width: 960px) {
  .lobby-bento-top { grid-template-columns: 1fr; }
  .tables-grid { grid-template-columns: 1fr; }
}

/* Tournaments */
.tourney-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}
.tourney-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tourney-card.running { border-color: var(--green); box-shadow: 0 0 22px rgba(34, 197, 94, 0.16); }
.tourney-card.creator { border-color: var(--border-gold); }
.badge-pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(245, 197, 24, 0.16);
  color: var(--gold);
  border: 1px solid var(--border-gold);
}
.badge-pill.live {
  background: rgba(34, 197, 94, 0.18);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.5);
}
.badge-pill.done {
  background: rgba(148, 163, 184, 0.15);
  color: var(--text-muted);
  border-color: var(--border);
}
.tourney-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-size: 12.5px;
}
.tourney-meta-item {
  background: #090e18;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.tourney-meta-item span { display: block; font-size: 10.5px; color: var(--text-dim); }
.tourney-meta-item strong { color: var(--text); font-size: 13.5px; }

/* ==================== POKER GAME VIEW ==================== */
.game-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 16px;
  max-width: 1520px;
  margin: 0 auto;
  padding: 14px 16px 30px;
  min-height: calc(100vh - 66px);
}

.felt-wrapper {
  border-radius: 34px;
  padding: 14px;
  background: linear-gradient(160deg, #4b5563 0%, #1f2937 35%, #111827 75%, #374151 100%);
  border: 2px solid #6b7280;
  box-shadow:
    inset 0 2px 6px rgba(255, 255, 255, 0.22),
    inset 0 -4px 12px rgba(0, 0, 0, 0.75),
    0 22px 50px rgba(0, 0, 0, 0.72);
  display: flex;
  flex-direction: column;
}

.felt-surface {
  flex: 1;
  border-radius: 24px;
  padding: 16px 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-height: 680px;
  border: 2px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 42px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.felt-surface::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}
.felt-surface.theme-emerald {
  background: radial-gradient(ellipse at 50% 42%, #166534 0%, #0b3b1e 65%, #062111 100%);
}
.felt-surface.theme-midnight {
  background: radial-gradient(ellipse at 50% 42%, #1e3a8a 0%, #0f1f4d 65%, #071029 100%);
}
.felt-surface.theme-bordeaux {
  background: radial-gradient(ellipse at 50% 42%, #881337 0%, #4c091e 65%, #290410 100%);
}
.felt-surface.theme-obsidian {
  background: radial-gradient(ellipse at 50% 42%, #27272a 0%, #141418 65%, #09090b 100%);
}

.table-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  z-index: 4;
}
.table-header-left, .table-header-right {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.table-title-pill {
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(245, 197, 24, 0.32);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* Poker Oval Arena */
.poker-arena {
  position: relative;
  flex: 1;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.poker-oval-ring {
  position: relative;
  width: min(76%, 680px);
  min-height: 270px;
  border-radius: 999px;
  border: 2px solid rgba(245, 197, 24, 0.25);
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.05) 75%);
  box-shadow: inset 0 0 36px rgba(0, 0, 0, 0.35), 0 0 0 8px rgba(0, 0, 0, 0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 26px;
}

.felt-watermark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: clamp(20px, 2.8vw, 32px);
  font-weight: 900;
  letter-spacing: 6px;
  color: rgba(255, 255, 255, 0.055);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.pot-cluster {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.pot-main-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 10, 18, 0.82);
  border: 1.5px solid var(--border-gold);
  border-radius: 999px;
  padding: 5px 15px;
  font-size: 13.5px;
  font-weight: 900;
  color: var(--gold);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
.side-pots-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.side-pot-pill {
  background: rgba(6, 10, 18, 0.72);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #bae6fd;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 700;
}

.community-cards-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 112px;
}
.community-slot-empty {
  width: 78px;
  height: 109px;
  border-radius: 9px;
  border: 1.5px dashed rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.16);
}

.poker-card-img {
  width: 78px;
  height: auto;
  border-radius: 7.2% / 5.15%;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.6);
  animation: cardDeal 0.2s var(--ease-out);
  user-select: none;
  display: block;
}

.poker-card-img.seat-card {
  width: 56px;
}
.poker-card-img.seat-card + .poker-card-img.seat-card {
  margin-left: -6px;
}
.seat-cards-row.has-face .poker-card-img.seat-card + .poker-card-img.seat-card {
  margin-left: 6px;
}
.seat-box.is-me .poker-card-img.seat-card {
  width: 74px;
}
.seat-box.is-me .seat-cards-row {
  min-height: 106px;
}
.seat-slot:has(.seat-box.is-me) {
  width: 196px;
  z-index: 4;
}
.card-readout-row {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 5px;
}
.card-readout-pill {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 8px;
  border-radius: 6px;
  background: #f8fafc;
  color: #0f172a;
  font-size: 12.5px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}
.card-readout-pill.red {
  color: #dc2626;
}

@keyframes cardDeal {
  from { opacity: 0; transform: translateY(-12px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.next-round-banner {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 10, 18, 0.9);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  padding: 5px 15px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55), 0 0 16px rgba(245, 197, 24, 0.22);
}

/* ==================== SEATS AROUND OVAL (6-MAX & 9-RING) ==================== */
.seats-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.seat-slot {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  width: 158px;
}
.seats-grid[data-max-seats="9"] .seat-slot {
  width: 142px;
}

/* 6-Max Positions */
.seats-grid[data-max-seats="6"] .seat-slot[data-seat-pos="0"] { left: 50%; top: 88%; }
.seats-grid[data-max-seats="6"] .seat-slot[data-seat-pos="1"] { left: 15%; top: 73%; }
.seats-grid[data-max-seats="6"] .seat-slot[data-seat-pos="2"] { left: 15%; top: 24%; }
.seats-grid[data-max-seats="6"] .seat-slot[data-seat-pos="3"] { left: 50%; top: 12%; }
.seats-grid[data-max-seats="6"] .seat-slot[data-seat-pos="4"] { left: 85%; top: 24%; }
.seats-grid[data-max-seats="6"] .seat-slot[data-seat-pos="5"] { left: 85%; top: 73%; }

/* 9-Ring Positions */
.seats-grid[data-max-seats="9"] .seat-slot[data-seat-pos="0"] { left: 50%; top: 89%; }
.seats-grid[data-max-seats="9"] .seat-slot[data-seat-pos="1"] { left: 23%; top: 83%; }
.seats-grid[data-max-seats="9"] .seat-slot[data-seat-pos="2"] { left: 9%; top: 56%; }
.seats-grid[data-max-seats="9"] .seat-slot[data-seat-pos="3"] { left: 15%; top: 23%; }
.seats-grid[data-max-seats="9"] .seat-slot[data-seat-pos="4"] { left: 37%; top: 11%; }
.seats-grid[data-max-seats="9"] .seat-slot[data-seat-pos="5"] { left: 63%; top: 11%; }
.seats-grid[data-max-seats="9"] .seat-slot[data-seat-pos="6"] { left: 85%; top: 23%; }
.seats-grid[data-max-seats="9"] .seat-slot[data-seat-pos="7"] { left: 91%; top: 56%; }
.seats-grid[data-max-seats="9"] .seat-slot[data-seat-pos="8"] { left: 77%; top: 83%; }

.seat-box {
  background: rgba(9, 14, 24, 0.9);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 8px 10px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.52);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), opacity 0.2s;
  position: relative;
}
.seat-box.is-me {
  border-color: rgba(245, 197, 24, 0.55);
  background: rgba(15, 23, 42, 0.94);
}
.seat-box.active-turn {
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(245, 197, 24, 0.42), inset 0 0 14px rgba(245, 197, 24, 0.12);
}
.seat-box.winner-seat {
  border-color: var(--green);
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.45);
}
.seat-box.folded { opacity: 0.58; }
.seat-box.eliminated { opacity: 0.42; filter: grayscale(0.8); }

.seat-empty-btn {
  width: 100%;
  min-height: 76px;
  border-radius: 16px;
  border: 1.5px dashed rgba(255, 255, 255, 0.22);
  background: rgba(6, 10, 18, 0.42);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: border-color 0.16s var(--ease-out), background 0.16s var(--ease-out), color 0.16s;
}
.seat-empty-btn:hover:not(:disabled) {
  border-color: var(--gold);
  background: rgba(245, 197, 24, 0.1);
  color: var(--gold);
}
.seat-empty-btn:disabled {
  cursor: default;
  opacity: 0.55;
}

.seat-badges-top {
  position: absolute;
  top: -9px;
  right: 8px;
  display: flex;
  gap: 4px;
}
.pos-chip {
  font-size: 10px;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}
.pos-chip.dealer { background: #f8fafc; color: #0b0f17; border-color: var(--gold); }
.pos-chip.sb { background: #1e3a8a; color: #dbeafe; }
.pos-chip.bb { background: #7c2d12; color: #ffedd5; }

.seat-cards-row {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 66px;
  margin-bottom: 5px;
}

.seat-name {
  font-size: 12.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.seat-chips {
  font-size: 12px;
  color: var(--gold);
  font-weight: 800;
  margin-top: 2px;
}
.seat-action-line {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
}
.seat-action-pill {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.seat-action-pill.allin {
  background: rgba(239, 68, 68, 0.22);
  border-color: rgba(239, 68, 68, 0.55);
  color: #fecaca;
}
.seat-action-pill.win {
  background: rgba(34, 197, 94, 0.22);
  border-color: rgba(34, 197, 94, 0.55);
  color: #bbf7d0;
}
.seat-bet-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(245, 197, 24, 0.16);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 800;
}

/* ==================== CONTROLS BAR ==================== */
.controls-bar {
  position: relative;
  z-index: 4;
  background: rgba(7, 10, 16, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.controls-status-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.timer-bar {
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
}
.hand-eval-badge {
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: #bbf7d0;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.action-controls-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.action-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.raise-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 680px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.raise-slider-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}
.raise-slider {
  flex: 1;
  min-width: 160px;
  accent-color: var(--gold);
  cursor: pointer;
}
.raise-presets-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Chips */
.chip-rack {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.topbar-chip-img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  transform: scale(1.1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
}
.mini-chip {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}
.casino-chip {
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  overflow: hidden;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.6);
  transition: transform 0.14s var(--ease-out), box-shadow 0.14s var(--ease-out);
}
.casino-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.09);
  pointer-events: none;
}
.casino-chip:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.07);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.7);
}
.casino-chip:active:not(:disabled) {
  transform: translateY(1px) scale(0.96);
}

/* Right Sidebar (Chat + Tournament Standings) */
.side-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: calc(100vh - 96px);
}
.panel-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.panel-box-header {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  font-weight: 800;
  font-size: 13.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gold);
}
.chat-box { flex: 1; min-height: 280px; }
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12.5px;
}
.chat-msg.system { color: var(--text-muted); font-style: italic; font-size: 12px; }
.chat-sender { font-weight: 800; color: var(--gold); margin-right: 4px; }
.quick-chat {
  display: flex;
  gap: 5px;
  padding: 6px 10px;
  border-top: 1px solid var(--border);
  overflow-x: auto;
}
.chat-form {
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  border-top: 1px solid var(--border);
}

/* ==================== TABLES & ADMIN ==================== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.data-table th {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.data-table td {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(35, 48, 74, 0.5);
  vertical-align: middle;
}
.section-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}
.section-card h2 {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}
.kpi-label { font-size: 11.5px; color: var(--text-muted); }
.kpi-value { font-size: 22px; font-weight: 900; color: var(--gold); margin-top: 4px; }

.form-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.form-grid-7 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(5px);
  display: grid;
  place-items: center;
  z-index: 80;
  padding: 18px;
}
.modal-box {
  width: 100%;
  max-width: 500px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  background: #162033;
  border: 1px solid var(--border-gold);
  color: var(--text);
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow);
  animation: cardDeal 0.2s var(--ease-out);
}
.toast.success { border-color: var(--green); }
.toast.error { border-color: var(--red); color: #fecaca; }

/* ==================== RESPONSIVE TABLE & MOBILE ==================== */
@media (max-width: 1120px) {
  .game-layout { grid-template-columns: 1fr; }
  .side-panel { max-height: 380px; }
}

@media (max-width: 980px) {
  .daily-days-grid, .form-grid-7 { grid-template-columns: repeat(4, 1fr); }
  .form-grid-2, .form-grid-3 { grid-template-columns: 1fr; }

  .poker-arena {
    flex-direction: column;
    min-height: auto;
    gap: 14px;
    padding: 4px 0;
  }
  .poker-oval-ring {
    width: 100%;
    min-height: 170px;
    border-radius: 22px;
    padding: 14px 12px;
  }
  .seats-grid,
  .seats-grid[data-max-seats="6"],
  .seats-grid[data-max-seats="9"] {
    position: static;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    pointer-events: auto;
  }
  .seat-slot,
  .seats-grid[data-max-seats="9"] .seat-slot {
    position: static;
    transform: none;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .seats-grid,
  .seats-grid[data-max-seats="6"],
  .seats-grid[data-max-seats="9"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .poker-card-img { width: 56px; }
  .community-slot-empty { width: 56px; height: 78px; }
  .poker-card-img.seat-card { width: 48px; }
  .seat-box.is-me .poker-card-img.seat-card { width: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-emblem,
  .brand-emblem-circle {
    animation: none;
    background-position: 0 0, 0% 50%;
  }
  .brand-emblem,
  .preview-card,
  .bento-tile,
  .btn,
  .auth-tab,
  .table-card,
  .poker-card-img,
  .toast {
    animation: none;
    transition: none;
  }
}
