:root {
  --bg-floor-top: #1a1c20;
  --bg-floor-mid: #101215;
  --bg-floor-bot: #07080a;

  --chrome-top: #2c2f35;
  --chrome-bot: #15171b;
  --chrome-border: rgba(255, 255, 255, 0.12);

  --crimson-hi: #8c1a1c;
  --crimson-mid: #5e0f11;
  --crimson-lo: #360708;
  --crimson-border: #b85b5e;

  --text-white: #f2f4f8;
  --text-muted: #98a0ad;

  /* ARENA POKER — official brand tokens */
  --arena-volt: #2de2e6;
  --arena-volt-hi: #5ff6f2;
  --arena-amber: #f7c948;
  --arena-amber-deep: #e9a72b;

  --font-sans: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "Consolas", monospace;
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 44%, var(--bg-floor-top) 0%, var(--bg-floor-mid) 58%, var(--bg-floor-bot) 100%);
  color: var(--text-white);
  font-family: var(--font-sans);
  font-size: 12.5px;
  user-select: none;
}

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

.hidden {
  display: none !important;
}

/* ==========================================================================
   ARENA POKER BRAND LOCKUP (OFFICIAL IDENTITY)
   ========================================================================== */
.arena-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding-right: 2px;
  user-select: none;
}

.arena-brand-mark {
  width: 19px;
  height: 19px;
  display: block;
  filter: drop-shadow(0 0 4px rgba(45, 226, 230, 0.28));
}

.arena-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  letter-spacing: 0.08em;
  line-height: 1;
}

.arena-wordmark strong {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-white);
}

.arena-wordmark small {
  font-size: 8.5px;
  font-weight: 700;
  color: var(--arena-volt);
  letter-spacing: 0.14em;
}

.arena-brand-divider {
  width: 1px;
  height: 16px;
  margin: 0 3px;
  background: linear-gradient(180deg, transparent, rgba(45, 226, 230, 0.55), transparent);
}

/* ==========================================================================
   PRO CHROME TOPBAR (34px SLEEK TOURNAMENT HEADER)
   ========================================================================== */
.pro-topbar {
  height: 34px;
  background: linear-gradient(180deg, #32353c 0%, #1c1e23 48%, #121418 100%);
  border-bottom: 1px solid #000;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  position: relative;
  z-index: 20;
}

.pro-topbar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, var(--arena-volt), transparent 38%, transparent 62%, var(--arena-amber));
  opacity: 0.7;
  pointer-events: none;
}

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

.tb-btn, .tb-icon-btn {
  height: 24px;
  padding: 0 10px;
  background: linear-gradient(180deg, #363940 0%, #1f2227 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 3px;
  color: #e4e7ed;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tb-btn:hover, .tb-icon-btn:hover {
  background: linear-gradient(180deg, #454952 0%, #2a2d34 100%);
  color: #fff;
}

.tb-star {
  color: #e8c35a;
}

.tb-badge-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #b51f24;
  background: #f5f6f8;
  color: #b51f24;
  font-weight: 800;
  font-size: 11px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.tb-badge-btn:hover {
  transform: scale(1.08);
}

.tb-table-title {
  margin-left: 8px;
  color: #b8c0cc;
  font-size: 11.5px;
  font-weight: 500;
}

.tb-compliance-tag {
  font-size: 9.5px;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(18, 122, 55, 0.25);
  border: 1px solid rgba(52, 189, 102, 0.4);
  color: #6fe39a;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.tb-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  height: 24px;
  background: #0d0f13;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  font-size: 11px;
  color: #c2c8d2;
}

.tb-user-pill strong {
  color: #f0c65c;
}

.stream-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 3px;
  background: rgba(18, 122, 55, 0.18);
  border: 1px solid rgba(52, 189, 102, 0.3);
  color: #6fe39a;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.stream-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7a8a80;
  box-shadow: 0 0 0 rgba(111, 227, 154, 0);
}

.stream-status.live i {
  background: #6fe39a;
  box-shadow: 0 0 7px rgba(111, 227, 154, 0.85);
  animation: live-pulse 2s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* ==========================================================================
   FULL-BLEED POKER TABLE VIEWPORT
   ========================================================================== */
.table-viewport {
  position: relative;
  width: 100%;
  height: calc(100vh - 34px);
  overflow: hidden;
}

#poker-3d-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* CENTER SIT / DEAL BUTTON */
.center-cta-wrap {
  position: absolute;
  bottom: 176px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.pro-cta-btn {
  background: linear-gradient(180deg, #982024 0%, #610f12 55%, #42080a 100%);
  border: 1.5px solid rgba(235, 195, 195, 0.55);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 9px 20px;
  border-radius: 6px;
  cursor: pointer;
}

.pro-cta-btn.sm {
  padding: 6px 13px;
  font-size: 11px;
}

.pro-cta-btn.full-w {
  width: 100%;
}

.pro-cta-btn:hover {
  filter: brightness(1.16);
}

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

/* BOTTOM-LEFT GRINDER CHECKBOXES */
.grinder-checks {
  position: absolute;
  left: 14px;
  bottom: 18px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(10, 12, 15, 0.62);
  padding: 8px 11px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #cfd5df;
  cursor: pointer;
}

.check-row input {
  width: 14px;
  height: 14px;
  accent-color: #9e2226;
  cursor: pointer;
}

/* BOTTOM-CENTER TIME BANK */
.timebank-indicator {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-115px);
  z-index: 10;
  font-size: 13px;
  font-weight: 700;
  color: #e2e6ee;
  text-shadow: 0 1px 4px #000;
}

.timebank-indicator strong {
  color: #e86b58;
}

.timebank-indicator.urgent strong {
  color: #ff4b4b;
  animation: urgent-blink 0.8s steps(2) infinite;
}

@keyframes urgent-blink {
  50% { opacity: 0.35; }
}

/* ==========================================================================
   BOTTOM-RIGHT PRO GRINDER BETTING CLUSTER (CRIMSON BEVEL)
   ========================================================================== */
.pro-action-cluster {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 12;
  width: 448px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: opacity 0.18s ease;
}

.pro-action-cluster.inactive {
  opacity: 0.32;
  pointer-events: none;
}

.odds-telemetry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
  font-size: 12.5px;
  font-weight: 700;
  text-shadow: 0 1px 3px #000;
}

.odds-val {
  color: #f07b55;
}

.hand-street-mini {
  color: #7ea8e8;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.preset-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.pro-preset-btn {
  height: 26px;
  background: linear-gradient(180deg, #881c1e 0%, #530c0e 60%, #3a0608 100%);
  border: 1px solid rgba(220, 140, 140, 0.42);
  border-radius: 5px;
  color: #f5f6f8;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.pro-preset-btn:hover {
  filter: brightness(1.18);
}

.slider-control-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 16, 20, 0.85);
  padding: 4px 8px 4px 4px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.bet-num-input {
  width: 78px;
  height: 24px;
  background: #f5f7fa;
  color: #11151d;
  border: 1px solid #8a95a8;
  border-radius: 2px;
  padding: 0 6px;
  font-size: 13px;
  font-weight: 700;
}

.slider-track-wrap {
  flex: 1;
  display: flex;
  align-items: center;
}

#raise-slider {
  width: 100%;
  accent-color: #9e1b1f;
  cursor: pointer;
}

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

.pro-action-btn {
  height: 54px;
  background: linear-gradient(180deg, #8f1d1f 0%, #5c0e10 52%, #390608 100%);
  border: 2px solid #9c9fa6;
  outline: 1px solid #090a0c;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.82), inset 0 1px 0 rgba(255, 255, 255, 0.34);
  transition: transform 0.08s ease, filter 0.12s ease;
}

.pro-action-btn:hover {
  filter: brightness(1.16);
  border-color: #d6dae2;
}

.pro-action-btn:active {
  transform: translateY(1px);
}

.act-title {
  font-size: 16px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

.act-sub {
  font-size: 14px;
  font-weight: 700;
  color: #f3ecec;
}

/* ==========================================================================
   MODALS (LOBBY, AUDIT, MFA, AUTH)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 7, 0.82);
  backdrop-filter: blur(8px);
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-panel {
  width: 100%;
  max-width: 420px;
  background: #12151b;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.9);
  max-height: 86vh;
  overflow-y: auto;
}

.modal-wide {
  max-width: 780px;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.modal-head h3 {
  font-size: 13px;
  letter-spacing: 0.08em;
}

.modal-close {
  background: none;
  border: none;
  color: #9ba3b0;
  font-size: 22px;
  cursor: pointer;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.room-card {
  background: #0b0d11;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.room-tag {
  font-size: 10px;
  font-weight: 700;
  color: #6fe39a;
  letter-spacing: 0.08em;
}

.commit-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0a0c10;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 12px;
}

.commit-strip code {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #b8c2d2;
  font-size: 11px;
}

.tag-gold {
  font-size: 10px;
  font-weight: 700;
  color: #e8c35a;
  white-space: nowrap;
}

.verify-box {
  background: #0a0d12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  font-size: 11.5px;
  line-height: 1.5;
  color: #cbd2de;
  word-break: break-all;
}

.audit-feed {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 220px;
  overflow-y: auto;
}

.audit-row {
  background: #0a0c10;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 7px 10px;
  border-radius: 4px;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.feed-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 14px 0 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
}

/* Hand history list inside the audit modal */
.history-section {
  margin-top: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 10px;
  background: rgba(8, 10, 14, 0.6);
}

.history-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 190px;
  overflow-y: auto;
}

.history-empty {
  color: #8f99a8;
  font-size: 11.5px;
  padding: 10px;
  text-align: center;
}

.history-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: #0a0c10;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 7px 10px;
}

.history-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11.5px;
}

.history-main strong {
  color: #e8c35a;
}

.history-meta {
  color: #9ba3b0;
  font-size: 10.5px;
}

.history-cards {
  color: #6ca6e8;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.btn-verify-history {
  flex-shrink: 0;
  height: 24px;
  font-size: 10px;
  padding: 0 8px;
}

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

.sec-card {
  background: #0b0d11;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 14px;
}

.sec-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.sec-desc {
  color: #9ba3b0;
  font-size: 11.5px;
  margin-bottom: 10px;
}

.status-pill {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 3px;
  background: #1c2028;
  color: #e8c35a;
}

.code-box {
  display: block;
  background: #060709;
  padding: 7px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: 8px;
  word-break: break-all;
  font-size: 11px;
  color: #f0c65c;
}

.inline-row {
  display: flex;
  gap: 8px;
}

.ledger-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.ledger-table th, .ledger-table td {
  padding: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-align: left;
}

.auth-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: #090b0f;
  padding: 3px;
  border-radius: 5px;
  margin-bottom: 12px;
}

.mode-btn {
  background: transparent;
  border: none;
  color: #9ba3b0;
  padding: 7px;
  font-weight: 700;
  font-size: 11px;
  cursor: pointer;
  border-radius: 4px;
}

.mode-btn.active {
  background: #232730;
  color: #fff;
}

.vault-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.f-label {
  display: block;
  font-size: 10px;
  color: #9ba3b0;
  margin-bottom: 4px;
  letter-spacing: 0.06em;
}

.dark-input {
  width: 100%;
  background: #080a0e;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 12.5px;
}

.form-feedback {
  color: #f06e74;
  font-size: 11.5px;
  min-height: 14px;
}

@media (max-width: 780px) {
  .pro-action-cluster {
    width: calc(100% - 20px);
    right: 10px;
  }
  .grinder-checks, .timebank-indicator {
    display: none;
  }
  .sec-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ARENA POKER COMPETITION LOBBY — grafite quente, bronze e linhas de mesa
   ========================================================================== */
.lobby-screen {
  --lobby-ink: #111010;
  --lobby-panel: #1b1a1b;
  --lobby-panel-hi: #242424;
  --lobby-warm: #3a2b27;
  --lobby-warm-deep: #553c36;
  --lobby-gold: #b7b08f;
  --lobby-gold-hi: #d8cfad;
  --lobby-line: rgba(255, 255, 255, 0.075);
  --lobby-muted: #8e8a84;
  position: fixed;
  inset: 0;
  z-index: 40;
  overflow: hidden;
  color: #eae9e7;
  background:
    radial-gradient(ellipse at 72% -12%, rgba(183, 176, 143, 0.13), transparent 46%),
    radial-gradient(ellipse at 6% 112%, rgba(85, 60, 54, 0.22), transparent 44%),
    var(--lobby-ink);
}

.lobby-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: 44px 44px;
}

.lobby-app {
  position: relative;
  display: grid;
  grid-template-columns: clamp(176px, 18%, 240px) minmax(0, 1fr);
  width: 100%;
  height: 100%;
  min-height: 0;
}

.lobby-app > * { min-height: 0; }

/* ------------------------------- LEFT RAIL ------------------------------- */
.lobby-rail {
  display: flex;
  flex-direction: column;
  padding: 18px 12px 14px;
  border-right: 1px solid var(--lobby-line);
  background: linear-gradient(180deg, #1a1817 0%, #121111 72%, #111010 100%);
}

.rail-brand {
  height: auto;
  padding: 0 8px;
  gap: 9px;
}

.rail-brand img { width: 28px; height: 28px; }
.rail-brand .arena-wordmark strong { font-size: 13px; }
.rail-brand .arena-wordmark small { font-size: 8.5px; }

.rail-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 28px;
}

.rail-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 40px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #918c86;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.rail-item:hover {
  background: rgba(183, 176, 143, 0.07);
  color: #f0eee9;
}

.rail-item.active {
  color: #f5f1e4;
  border-color: rgba(183, 176, 143, 0.2);
  background: linear-gradient(90deg, rgba(183, 176, 143, 0.14), rgba(183, 176, 143, 0.02));
  box-shadow: inset 2px 0 0 var(--lobby-gold);
}

.rail-ico {
  width: 20px;
  flex: 0 0 20px;
  text-align: center;
  font-size: 16px;
  color: var(--lobby-gold);
}

.rail-label { white-space: nowrap; }

.rail-count,
.rail-flag {
  margin-left: auto;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 20px;
}

.rail-count {
  color: var(--lobby-gold-hi);
  background: rgba(183, 176, 143, 0.12);
}

.rail-flag {
  color: #c2ab7d;
  background: rgba(247, 201, 72, 0.06);
  border: 1px solid rgba(247, 201, 72, 0.18);
}

.rail-sep {
  height: 1px;
  margin: 12px 8px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.rail-foot { margin-top: auto; }

.rail-server {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px 12px;
  color: #756f69;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.rail-server i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--arena-volt);
  box-shadow: 0 0 0 3px rgba(45, 226, 230, 0.09);
}

.rail-account {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 8px 9px;
  border: 1px solid var(--lobby-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.028);
  color: #fff;
  cursor: pointer;
  text-align: left;
}

.rail-account:hover {
  border-color: rgba(183, 176, 143, 0.35);
  background: rgba(183, 176, 143, 0.07);
}

.rail-avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 7px;
  background: linear-gradient(140deg, var(--lobby-gold), var(--lobby-warm-deep));
  color: #171310;
  font-weight: 900;
  font-size: 12px;
}

.rail-account-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rail-account-meta strong {
  font-size: 10.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rail-account-meta small {
  color: #756f69;
  font-size: 8px;
  letter-spacing: 0.1em;
}

/* ------------------------------ MAIN COLUMN ------------------------------ */
.lobby-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.lobby-topbar {
  height: 48px;
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 22px;
  border-bottom: 1px solid var(--lobby-line);
  background: rgba(17, 16, 16, 0.72);
  backdrop-filter: blur(12px);
}

.lobby-search-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
  width: min(320px, 42%);
  height: 34px;
  padding: 0 11px;
  border: 1px solid var(--lobby-line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.028);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.lobby-search-wrap:focus-within {
  border-color: rgba(183, 176, 143, 0.45);
  box-shadow: 0 0 0 3px rgba(183, 176, 143, 0.06);
}

.search-ico { color: #756f69; font-size: 16px; }

.lobby-search-wrap input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 11.5px;
  font-family: inherit;
}

.lobby-search-wrap input::placeholder { color: #6b665f; }

.lobby-search-wrap kbd {
  font-family: var(--font-mono);
  font-size: 9px;
  color: #756f69;
  border: 1px solid var(--lobby-line);
  border-radius: 4px;
  padding: 1px 5px;
}

.lobby-top-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.top-wallet {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-right: 11px;
  margin-right: 2px;
  border-right: 1px solid var(--lobby-line);
}

.top-wallet span {
  color: #756f69;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.top-wallet strong {
  color: var(--arena-amber);
  font-size: 12px;
}

.top-icon-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--lobby-line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.028);
  color: #aca69e;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.top-icon-btn:hover {
  color: var(--lobby-gold-hi);
  border-color: rgba(183, 176, 143, 0.4);
  background: rgba(183, 176, 143, 0.08);
}

.top-exit {
  height: 32px;
  padding: 0 13px;
  margin-left: 4px;
  border: 1px solid rgba(183, 176, 143, 0.42);
  border-radius: 7px;
  background: linear-gradient(100deg, rgba(183, 176, 143, 0.16), rgba(85, 60, 54, 0.2));
  color: #efe8d2;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  white-space: nowrap;
  transition: box-shadow 0.16s ease, transform 0.16s ease;
}

.top-exit span { color: var(--lobby-gold-hi); margin-left: 6px; }
.top-exit:hover { box-shadow: 0 0 18px rgba(183, 176, 143, 0.14); transform: translateY(-1px); }

.lobby-scroll {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 12px 22px 18px;
  scrollbar-width: thin;
  scrollbar-color: rgba(183, 176, 143, 0.34) transparent;
}

.lobby-scroll::-webkit-scrollbar { width: 7px; }
.lobby-scroll::-webkit-scrollbar-thumb {
  background: rgba(183, 176, 143, 0.28);
  border-radius: 8px;
}

/* ---------------------------------- HERO --------------------------------- */
.hero {
  position: relative;
  min-height: 112px;
  overflow: hidden;
  border: 1px solid rgba(183, 176, 143, 0.2);
  border-radius: 12px;
  background: linear-gradient(112deg, #26211e 0%, #1b1918 46%, #141313 100%);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.38);
  display: flex;
  align-items: center;
  padding: 12px 20px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 44%, rgba(183, 176, 143, 0.24), transparent 44%),
    radial-gradient(circle at 16% 130%, rgba(85, 60, 54, 0.3), transparent 54%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  transform: perspective(380px) rotateX(60deg) scale(1.5) translateY(28%);
  transform-origin: bottom center;
  mask-image: linear-gradient(0deg, black, transparent 72%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 540px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lobby-gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero-eyebrow i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--arena-amber);
  box-shadow: 0 0 8px rgba(247, 201, 72, 0.5);
}

.hero h1 {
  margin-top: 6px;
  font-size: 21px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--lobby-gold-hi), var(--arena-amber) 72%, #d6b072);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 480px;
  display: none;
}

.hero-actions {
  display: flex;
  gap: 9px;
  margin-top: 8px;
}

.hero-cta,
.hero-ghost {
  height: 28px;
  padding: 0 14px;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.hero-cta {
  border: 1px solid rgba(216, 207, 173, 0.5);
  background: linear-gradient(100deg, var(--lobby-gold-hi), var(--lobby-gold));
  color: #17130f;
  box-shadow: 0 8px 20px rgba(183, 176, 143, 0.14);
}

.hero-cta span { margin-left: 9px; }
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(183, 176, 143, 0.24); filter: brightness(1.05); }

.hero-ghost {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.028);
  color: #cfc9bf;
}

.hero-ghost:hover {
  border-color: rgba(183, 176, 143, 0.42);
  background: rgba(183, 176, 143, 0.08);
}

.hero-art {
  position: absolute;
  right: 20px;
  top: 50%;
  width: 120px;
  height: 120px;
  transform: translateY(-50%);
  z-index: 1;
}

.hero-ring {
  position: absolute;
  border: 1px solid rgba(183, 176, 143, 0.28);
  border-radius: 50%;
}

.hero-ring::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lobby-gold-hi);
  box-shadow: 0 0 10px rgba(183, 176, 143, 0.7);
}

.r1 { inset: 0; animation: ring-spin 24s linear infinite; }
.r2 { inset: 15px; border-color: rgba(85, 60, 54, 0.75); animation: ring-spin 17s linear reverse infinite; }
.r3 { inset: 30px; border-style: dashed; border-color: rgba(247, 201, 72, 0.2); animation: ring-spin 30s linear infinite; }

@keyframes ring-spin { to { transform: rotate(360deg); } }

.hero-core {
  position: absolute;
  inset: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(183, 176, 143, 0.34);
  background: radial-gradient(circle at 40% 30%, rgba(183, 176, 143, 0.22), rgba(17, 16, 16, 0.92));
  box-shadow: 0 0 36px rgba(183, 176, 143, 0.12), inset 0 0 18px rgba(247, 201, 72, 0.05);
}

.hero-core span { font-size: 10px; font-weight: 900; letter-spacing: 0.1em; }
.hero-core small { color: var(--lobby-gold); font-size: 6.5px; font-weight: 800; letter-spacing: 0.2em; }

.hero-chip {
  position: absolute;
  padding: 2px 6px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(17, 16, 16, 0.86);
  color: #b6b0a6;
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.06em;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

.hero-chip.c1 { top: 12px; left: -8px; }
.hero-chip.c2 { bottom: 20px; right: -12px; }
.hero-chip.c3 { top: 50px; right: -22px; }

/* ---------------------------------- STATS -------------------------------- */
.lobby-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 6px;
}

.stat-card {
  padding: 6px 10px;
  border: 1px solid var(--lobby-line);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.008));
  border-left: 2px solid rgba(183, 176, 143, 0.32);
}

.stat-card > span {
  color: #827c75;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.stat-card strong {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  letter-spacing: -0.02em;
}

.stat-card small { display: none; }

.stat-safe strong {
  color: var(--arena-amber);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.stat-safe { border-left-color: var(--arena-amber); }

/* -------------------------------- SECTIONS ------------------------------- */
.lobby-panel { display: none; }
.lobby-panel.active { display: block; animation: lobby-fade 0.2s ease-out; }

@keyframes lobby-fade {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin: 12px 0 6px;
}

.section-kicker {
  color: var(--lobby-gold);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.section-head h2 { margin-top: 3px; font-size: 16px; letter-spacing: -0.025em; }
.section-head p { display: none; }

.refresh-btn {
  height: 28px;
  padding: 0 11px;
  border: 1px solid var(--lobby-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.028);
  color: #aca69e;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.refresh-btn:hover { color: var(--lobby-gold-hi); border-color: rgba(183, 176, 143, 0.38); }

.filter-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.filter-btn {
  height: 24px;
  padding: 0 11px;
  border: 1px solid var(--lobby-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.022);
  color: #918c86;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}

.filter-btn:hover { color: #fff; border-color: rgba(183, 176, 143, 0.4); }

.filter-btn.active {
  color: #17130f;
  border-color: var(--lobby-gold);
  background: linear-gradient(100deg, var(--lobby-gold-hi), var(--lobby-gold));
  box-shadow: 0 5px 14px rgba(183, 176, 143, 0.14);
}

/* --------------------------- TABLE-LIKE CASH LIST ------------------------- */
.cash-table-head,
.cash-card {
  display: grid;
  grid-template-columns: 40px minmax(140px, 1.4fr) 62px 92px 46px 92px 104px;
  align-items: center;
  gap: 8px;
}

.cash-table-head {
  padding: 0 12px 4px 0;
  color: #6f6963;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.cash-table-head .h-mesa { grid-column: 1 / span 2; padding-left: 4px; }

.cash-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cash-card {
  position: relative;
  overflow: hidden;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 9px;
  background: linear-gradient(100deg, #201d1b 0%, #191817 62%, #161515 100%);
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.cash-card:hover {
  border-color: rgba(183, 176, 143, 0.42);
  background: linear-gradient(100deg, #26211d 0%, #1d1b19 62%, #191817 100%);
  transform: translateX(2px);
}

.cash-body,
.cash-metrics { display: contents; }

.cash-felt {
  position: relative;
  grid-column: 1;
  width: 40px;
  min-height: 44px;
  height: 100%;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(ellipse at 50% 120%, rgba(45, 226, 230, 0.1), transparent 55%),
    radial-gradient(ellipse at 50% 50%, #17473e 0%, #0b2723 58%, #061916 100%);
}

.cash-felt::before {
  content: "";
  position: absolute;
  inset: 6px 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.cash-felt::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(247, 201, 72, 0.34);
  border-radius: 50%;
}

.cash-card.theme-sapphire .cash-felt {
  background:
    radial-gradient(ellipse at 50% 120%, rgba(100, 149, 199, 0.16), transparent 55%),
    radial-gradient(ellipse at 50% 50%, #17314d 0%, #0b1a2c 58%, #06101b 100%);
}

.cash-card.theme-emerald .cash-felt {
  background:
    radial-gradient(ellipse at 50% 120%, rgba(111, 199, 155, 0.14), transparent 55%),
    radial-gradient(ellipse at 50% 50%, #16432f 0%, #0a2419 58%, #05140e 100%);
}

.felt-logo { display: none; }

.felt-badge {
  display: none;
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  padding: 1px 4px;
  border: 1px solid rgba(45, 226, 230, 0.3);
  border-radius: 20px;
  background: rgba(45, 226, 230, 0.14);
  color: #86f4f1;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.cash-title-row { grid-column: 2; display: flex; flex-direction: column; gap: 3px; }

.cash-title-row h3 {
  font-size: 10.5px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cash-variant {
  color: #827c75;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.cash-live {
  display: none;
}

.cash-metrics .metric:nth-child(1) { grid-column: 3; }
.cash-metrics .metric:nth-child(2) { grid-column: 4; }
.cash-metrics .metric:nth-child(3) { grid-column: 5; }

.metric span { display: none; }

.metric strong {
  display: block;
  color: #ded9d0;
  font-size: 10px;
  white-space: nowrap;
}

.cash-seats {
  grid-column: 6;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #918c86;
  font-size: 8.5px;
}

.seat-dots { display: flex; gap: 3px; }

.seat-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #35322f;
}

.seat-dot.filled {
  background: var(--lobby-gold);
  box-shadow: 0 0 6px rgba(183, 176, 143, 0.5);
}

.cash-card .pro-cta-btn {
  grid-column: 7;
  width: 100%;
  height: 26px;
  border: 1px solid rgba(183, 176, 143, 0.42);
  border-radius: 6px;
  background: linear-gradient(100deg, rgba(183, 176, 143, 0.17), rgba(85, 60, 54, 0.24));
  color: #eee7d4;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.cash-card .pro-cta-btn:hover:not(:disabled) {
  border-color: var(--lobby-gold-hi);
  background: linear-gradient(100deg, rgba(216, 207, 173, 0.27), rgba(85, 60, 54, 0.32));
}

.cash-card .pro-cta-btn:disabled {
  border-color: rgba(255, 255, 255, 0.06);
  background: #232120;
  color: #6f6963;
  cursor: not-allowed;
}

/* -------------------------------- ROADMAP -------------------------------- */
.roadmap-note {
  padding: 10px 13px;
  margin-bottom: 11px;
  border: 1px solid rgba(247, 201, 72, 0.16);
  border-radius: 7px;
  background: rgba(247, 201, 72, 0.035);
  color: #b4a37d;
  font-size: 10.5px;
  line-height: 1.5;
}

.empty-lobby {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-color: rgba(183, 176, 143, 0.22);
  background: rgba(183, 176, 143, 0.05);
  color: #b9b2a7;
}

.empty-lobby .filter-btn {
  height: 26px;
  font-size: 8.5px;
  color: #d8cfad;
  border-color: rgba(183, 176, 143, 0.35);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
  gap: 9px;
}

.roadmap-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 206px;
  padding: 13px;
  border: 1px dashed rgba(255, 255, 255, 0.13);
  border-radius: 9px;
  background: linear-gradient(165deg, #1e1c1b, #141313);
}

.roadmap-badge {
  align-self: flex-start;
  padding: 2px 6px;
  border: 1px solid rgba(247, 201, 72, 0.2);
  border-radius: 4px;
  background: rgba(247, 201, 72, 0.055);
  color: var(--arena-amber);
  font-size: 7.5px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.roadmap-art {
  display: grid;
  place-items: center;
  height: 48px;
  border-radius: 8px;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.48);
  background: radial-gradient(circle at 50% 60%, rgba(183, 176, 143, 0.16), transparent 62%), #141313;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.art-open { color: var(--lobby-gold-hi); }
.art-ko { color: #d08b7f; }
.art-champ { color: var(--arena-amber); }
.art-sprint { color: #c9bc91; }
.art-trio { color: #d8b06b; }
.art-turbo { color: #b8a78f; }

.roadmap-card h3 { font-size: 12.5px; }
.roadmap-card p { color: #918c86; font-size: 10px; line-height: 1.5; }

.roadmap-lock {
  width: 100%;
  height: 30px;
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  background: #1b1a19;
  color: #6f6963;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: not-allowed;
}

/* --------------------------------- FOOTER -------------------------------- */
.lobby-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid var(--lobby-line);
  color: #6b665f;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.footer-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--arena-volt);
  box-shadow: 0 0 7px var(--arena-volt);
}

/* ------------------------------- RIGHT SIDE ------------------------------ */
.lobby-side {
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow-y: auto;
  padding: 16px 13px;
  border-left: 1px solid var(--lobby-line);
  background: linear-gradient(180deg, #191817 0%, #121111 100%);
  scrollbar-width: thin;
  scrollbar-color: rgba(183, 176, 143, 0.28) transparent;
}

.side-card {
  padding: 13px;
  border: 1px solid var(--lobby-line);
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.008));
}

.side-kicker {
  color: #827c75;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.side-live { color: var(--lobby-gold-hi); }

.side-balance {
  margin-top: 8px;
  color: var(--arena-amber);
  font-size: 20px;
  letter-spacing: -0.02em;
}

.side-balance-sub { margin-top: 2px; color: #756f69; font-size: 9px; }

.side-primary,
.side-ghost,
.side-link {
  width: 100%;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.07em;
  transition: all 0.16s ease;
}

.side-primary {
  height: 32px;
  margin-top: 12px;
  border: 1px solid rgba(183, 176, 143, 0.34);
  border-radius: 6px;
  background: rgba(183, 176, 143, 0.08);
  color: var(--lobby-gold-hi);
  font-size: 9px;
}

.side-primary:hover {
  background: rgba(183, 176, 143, 0.15);
  box-shadow: 0 0 16px rgba(183, 176, 143, 0.1);
}

#lobby-seat-strip p { margin-top: 8px; color: #d3cdc2; font-size: 10.5px; line-height: 1.5; }

.side-ghost {
  height: 30px;
  margin-top: 9px;
  border: 1px solid rgba(183, 176, 143, 0.3);
  border-radius: 6px;
  background: rgba(85, 60, 54, 0.24);
  color: #e2d6b8;
  font-size: 9px;
}

.side-ghost:hover { background: rgba(85, 60, 54, 0.4); }

.side-integrity ul {
  list-style: none;
  margin: 10px 0 2px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-integrity li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #aaa49b;
  font-size: 10px;
}

.side-integrity li i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lobby-gold);
}

.side-link {
  height: 28px;
  margin-top: 10px;
  border: none;
  border-top: 1px solid var(--lobby-line);
  background: transparent;
  color: #c4b995;
  font-size: 8.5px;
  text-align: left;
  padding: 9px 0 0;
}

.side-link:hover { color: var(--lobby-gold-hi); }

.side-note p { margin-top: 8px; color: #918c86; font-size: 10px; line-height: 1.5; }

/* ------------------------------ RESPONSIVE ------------------------------- */
@media (max-width: 1180px) {
  .lobby-app { grid-template-columns: clamp(176px, 18%, 240px) minmax(0, 1fr); }
  .lobby-side { display: none; }
}

@media (max-width: 980px) {
  .lobby-app { grid-template-columns: 64px minmax(0, 1fr); }
  .lobby-rail { padding: 16px 7px; }
  .rail-brand { padding: 0; justify-content: center; }
  .rail-brand .arena-wordmark,
  .rail-label,
  .rail-count,
  .rail-flag,
  .rail-server span,
  .rail-account-meta { display: none; }
  .rail-item { justify-content: center; padding: 0; }
  .rail-account { justify-content: center; padding: 8px 0; }
  .rail-server { justify-content: center; padding: 0 0 12px; }
  .hero-art { opacity: 0.28; right: -40px; }
  .lobby-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .cash-table-head { display: none; }
  .cash-table-head,
  .cash-card { grid-template-columns: 40px minmax(120px, 1fr) 62px 88px 96px; }
  .cash-felt { grid-column: 1; width: 40px; }
  .cash-title-row { grid-column: 2; }
  .cash-metrics .metric:nth-child(1) { grid-column: 3; }
  .cash-metrics .metric:nth-child(2) { grid-column: 4; }
  .cash-metrics .metric:nth-child(3) { display: none; }
  .cash-seats { grid-column: 5; }
  .cash-card .pro-cta-btn { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 680px) {
  .lobby-app { grid-template-columns: 1fr; grid-template-rows: 1fr 58px; }
  .lobby-rail {
    grid-row: 2;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    padding: 5px 7px;
    border-right: none;
    border-top: 1px solid var(--lobby-line);
  }
  .rail-brand, .rail-sep, .rail-foot { display: none; }
  .rail-nav { flex-direction: row; margin: 0; width: 100%; justify-content: space-around; gap: 2px; }
  .rail-item { width: 46px; height: 46px; flex-direction: column; gap: 1px; font-size: 7.5px; }
  .rail-ico { width: auto; flex: 0 0 auto; font-size: 15px; }
  .lobby-main { grid-row: 1; }
  .lobby-topbar { height: 48px; flex: 0 0 48px; padding: 0 11px; gap: 7px; }
  .lobby-search-wrap { width: 100%; }
  .top-wallet, .top-icon-btn { display: none; }
  .top-exit { padding: 0 9px; font-size: 8.5px; }
  .lobby-scroll { padding: 10px 12px 18px; }
  .hero { min-height: 150px; padding: 14px 14px; }
  .hero h1 { font-size: 22px; }
  .hero-art { display: none; }
  .hero p { font-size: 9.5px; }
  .hero-actions { flex-wrap: wrap; }
  .section-head h2 { font-size: 15px; }
  .lobby-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cash-table-head,
  .cash-card { grid-template-columns: 1fr auto; gap: 4px 8px; }
  .cash-felt { display: none; }
  .cash-title-row { grid-column: 1; }
  .cash-metrics .metric:nth-child(1) { grid-column: 1; }
  .cash-metrics .metric:nth-child(2) { grid-column: 2; }
  .cash-metrics .metric:nth-child(3) { display: none; }
  .cash-seats { grid-column: 1; }
  .cash-card .pro-cta-btn { grid-column: 1 / -1; }
  .roadmap-grid { grid-template-columns: 1fr; }
  .lobby-footer { flex-direction: column; gap: 5px; }
}

/* ==========================================================================
   ARENA POKER — LOBBY EM LISTA ENXUTA
   Sem hero, sem estatísticas decorativas, sem sidebar informativa.
   ========================================================================== */
.lobby-app {
  grid-template-columns: clamp(150px, 14%, 190px) minmax(0, 1fr) !important;
}

.hero,
.lobby-stats,
.lobby-footer,
.lobby-side > *:not(#lobby-seat-strip),
.rail-server,
.rail-count,
.rail-sep,
.section-kicker,
.section-head p,
.lobby-search-wrap kbd,
.cash-live,
.cash-variant,
.felt-badge,
.seat-dots {
  display: none !important;
}

.lobby-side { display: none !important; }

#lobby-modal.has-seat .lobby-side {
  display: block !important;
  position: absolute;
  top: 56px;
  right: 12px;
  z-index: 5;
  width: 230px;
  padding: 0;
  border: 1px solid rgba(183, 176, 143, 0.3);
  border-radius: 8px;
  background: #1b1a1b;
  overflow: visible;
}

.lobby-scroll { padding: 10px 18px 16px !important; }

.section-head { margin: 4px 0 7px !important; }
.section-head h2 { font-size: 14px !important; }

.cash-table-head,
.cash-card {
  grid-template-columns: minmax(150px, 1fr) 90px 110px 112px !important;
  gap: 10px !important;
}

.cash-table-head .h-mesa { grid-column: 1 !important; padding-left: 12px !important; }
.cash-table-head span:nth-child(2) { grid-column: 2 !important; }
.cash-table-head span:nth-child(3) { grid-column: 3 !important; }
.cash-table-head span:nth-child(4) { grid-column: 4 !important; }

.cash-card { min-height: 38px !important; padding: 0 12px; }
.cash-title-row { grid-column: 1 !important; }
.cash-title-row h3 { font-size: 11px !important; }
.cash-metrics .metric:nth-child(1) { grid-column: 2 !important; }
.cash-metrics .metric strong { font-size: 10px !important; }
.cash-seats { grid-column: 3 !important; font-size: 10px !important; }
.cash-card .pro-cta-btn {
  grid-column: 4 !important;
  width: 100%;
  height: 27px;
  font-size: 8px !important;
}

@media (max-width: 900px) {
  .topbar-right .tb-audio { display: none; }
}

@media (max-width: 720px) {
  .cash-table-head { display: none !important; }
  .cash-table-head,
  .cash-card { grid-template-columns: minmax(110px, 1fr) 64px 88px !important; }
  .cash-title-row { grid-column: 1 !important; }
  .cash-metrics .metric:nth-child(1) { grid-column: 2 !important; }
  .cash-seats { grid-column: 3 !important; }
  .cash-card .pro-cta-btn { grid-column: 1 / -1 !important; }
}

/* ==========================================================================
   ARENA POKER — LOBBY DE TORNEIOS / CASH EM TABELA + PAINEL DE DETALHES
   Estrutura inspirada em schedule de eventos: abas, colunas e painel lateral.
   ========================================================================== */
.lobby-app {
  grid-template-columns: clamp(150px, 13%, 190px) minmax(0, 1fr) clamp(230px, 24%, 300px) !important;
}

.lobby-subtabs {
  display: flex;
  align-items: stretch;
  gap: 2px;
  height: 38px;
  flex: 0 0 38px;
  padding: 0 18px;
  border-bottom: 1px solid var(--lobby-line);
  background: rgba(17, 16, 16, 0.86);
}

.subtab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border: none;
  background: transparent;
  color: #918c86;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.subtab:hover { color: #e7e0d2; }
.subtab.active { color: var(--lobby-gold-hi); box-shadow: inset 0 -2px 0 var(--lobby-gold); }
.subtab small {
  font-size: 7px;
  padding: 2px 5px;
  border-radius: 10px;
  color: var(--arena-amber);
  background: rgba(247, 201, 72, 0.08);
}

.roadmap-grid,
.side-wallet,
.side-integrity,
.side-note { display: none !important; }

.lobby-side,
#lobby-modal.has-seat .lobby-side {
  display: flex !important;
  position: static;
  top: auto;
  right: auto;
  z-index: auto;
  width: auto;
  padding: 16px 13px;
  border: none;
  border-left: 1px solid var(--lobby-line);
  border-radius: 0;
  background: linear-gradient(180deg, #191817 0%, #121111 100%);
  overflow-y: auto;
}

#lobby-modal .lobby-side > .side-detail,
#lobby-modal .lobby-side > .side-ranking { display: block !important; }
.side-detail h3 { margin-top: 9px; font-size: 15px; line-height: 1.25; }
.detail-sub { margin-top: 4px; color: var(--lobby-gold); font-size: 9px; font-weight: 800; letter-spacing: 0.08em; }

.detail-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 12px;
}

.detail-rows div {
  padding: 7px 8px;
  border: 1px solid var(--lobby-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
}

.detail-rows span { display: block; color: #756f69; font-size: 7px; font-weight: 800; letter-spacing: 0.1em; }
.detail-rows strong { display: block; margin-top: 3px; font-size: 11px; color: #e6e0d4; }
.detail-note { margin: 11px 0 2px; color: #918c86; font-size: 9.5px; line-height: 1.5; }

.cash-table-head,
.cash-card,
.schedule-grid .cash-card {
  grid-template-columns: minmax(150px, 1.6fr) 88px 108px 88px 84px 108px !important;
  gap: 8px !important;
}

.cash-table-head span:nth-child(2) { grid-column: 2 !important; }
.cash-table-head span:nth-child(3) { grid-column: 3 !important; }
.cash-table-head span:nth-child(4) { grid-column: 4 !important; }
.cash-table-head span:nth-child(5) { grid-column: 5 !important; }
.cash-table-head span:nth-child(6) { grid-column: 6 !important; }

.cash-card { min-height: 40px !important; }
.cash-card.selected { border-color: rgba(183, 176, 143, 0.55); background: linear-gradient(100deg, #2a2420, #1a1817 70%); }
.cash-card .cash-title-row { grid-column: 1 !important; min-width: 0; }
.cash-card .cash-title-row h3 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cash-card .cash-metrics .metric:nth-child(1) { grid-column: 2 !important; }
.cash-card .cell-prize { grid-column: 3 !important; color: #c8c1b5; font-size: 9.5px; }
.cash-card .cell-start { grid-column: 4 !important; color: #918c86; font-size: 9.5px; }
.cash-card .cell-status { grid-column: 5 !important; }

.status-pill {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.status-live { color: var(--arena-volt); background: rgba(45, 226, 230, 0.1); border: 1px solid rgba(45, 226, 230, 0.24); }
.status-soon { color: var(--arena-amber); background: rgba(247, 201, 72, 0.07); border: 1px solid rgba(247, 201, 72, 0.2); }

.cash-card .pro-cta-btn { grid-column: 6 !important; height: 26px !important; }

@media (max-width: 1180px) {
  .lobby-app { grid-template-columns: 130px minmax(0, 1fr) 210px !important; }
  .lobby-side { display: flex !important; padding: 12px 10px; }
  .cash-table-head,
  .cash-card,
  .schedule-grid .cash-card { grid-template-columns: minmax(110px, 1fr) 72px 74px 88px !important; }
  .cash-table-head span:nth-child(3),
  .cash-table-head span:nth-child(4),
  .cash-card .cell-prize,
  .cash-card .cell-start { display: none !important; }
  .cash-table-head span:nth-child(2) { grid-column: 2 !important; }
  .cash-table-head span:nth-child(5) { grid-column: 3 !important; }
  .cash-table-head span:nth-child(6) { grid-column: 4 !important; }
  .cash-card .cash-title-row { grid-column: 1 !important; }
  .cash-card .cash-metrics .metric:nth-child(1) { grid-column: 2 !important; }
  .cash-card .cell-status { grid-column: 3 !important; }
  .cash-card .pro-cta-btn { grid-column: 4 !important; }
}

@media (max-width: 720px) {
  .lobby-app { grid-template-columns: 64px minmax(0, 1fr) !important; }
  .lobby-side { display: none !important; }
  .lobby-subtabs { padding: 0 10px; }
  .subtab { padding: 0 8px; font-size: 8px; }
  .cash-table-head { display: none !important; }
  .cash-table-head,
  .cash-card,
  .schedule-grid .cash-card { grid-template-columns: minmax(110px, 1fr) 76px 92px !important; }
  .cash-card .cash-title-row { grid-column: 1 !important; }
  .cash-card .cash-metrics .metric:nth-child(1) { grid-column: 2 !important; }
  .cash-card .cell-status { grid-column: 3 !important; }
  .cash-card .cell-prize,
  .cash-card .cell-start { display: none !important; }
  .cash-card .pro-cta-btn { grid-column: 1 / -1 !important; }
}

/* ==========================================================================
   ARENA POKER — DIREÇÃO VISUAL 2026
   Editorial, assimétrica e cinematográfica. Sem cara de dashboard genérico.
   ========================================================================== */
@keyframes arena-drift { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(2%,-2%,0) scale(1.06); } }
@keyframes arena-spin { to { transform: rotate(360deg); } }
@keyframes arena-pulse { 0%,100% { opacity:.45; } 50% { opacity:1; } }

.lobby-screen {
  background:
    radial-gradient(ellipse 60% 45% at 78% 6%, rgba(183, 176, 143, 0.16), transparent 62%),
    radial-gradient(ellipse 44% 40% at 8% 96%, rgba(85, 60, 54, 0.2), transparent 64%),
    #0b0b0d !important;
}

.lobby-screen::before {
  opacity: 0.42;
  background-image:
    url('/assets/arena-original-pattern.svg'),
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 360px 360px, 52px 52px, 52px 52px;
}

.lobby-app { display: block !important; position: relative; }
.lobby-rail { display: none !important; }
.lobby-main {
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.lobby-subtabs {
  height: 66px !important;
  flex: 0 0 66px !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 0 26px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075) !important;
  background: rgba(9, 9, 11, 0.82) !important;
  backdrop-filter: blur(18px);
}

.lobby-brand-mini { display: flex; align-items: center; gap: 9px; margin-right: 20px; }
.lobby-brand-mini img { width: 28px; height: 28px; }
.lobby-brand-mini span { display: flex; flex-direction: column; line-height: 1; }
.lobby-brand-mini strong { font-size: 14px; font-weight: 900; letter-spacing: 0.2em; }
.lobby-brand-mini small { margin-top: 3px; color: var(--lobby-gold); font-size: 7px; font-weight: 800; letter-spacing: 0.32em; }

.subtab { height: 66px !important; padding: 0 17px !important; font-size: 10px !important; }
.subtab.active { box-shadow: inset 0 -3px 0 var(--lobby-gold) !important; }
.subtab small { font-size: 6.5px !important; }

.lobby-topbar {
  height: 54px !important;
  flex: 0 0 54px !important;
  padding: 0 26px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  background: rgba(12, 12, 14, 0.42) !important;
}

/* ------------------------------- BANNER ---------------------------------- */
.lobby-banner {
  position: relative;
  min-height: 118px;
  margin: 12px 26px 10px;
  overflow: hidden;
  border: 1px solid rgba(183, 176, 143, 0.26);
  border-radius: 4px;
  background: linear-gradient(108deg, #342822 0%, #1c1a19 52%, #101012 100%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.banner-photo {
  position: absolute;
  inset: 0;
  background-image: url('/assets/arena-banner-photo.jpg');
  background-size: cover;
  background-position: 72% 48%;
  filter: brightness(0.58) saturate(0.82) contrast(1.12);
  transform: scale(1.04);
}

.banner-original {
  position: absolute;
  inset: 0;
  background-image: url('/assets/arena-original-pattern.svg');
  background-size: 300px 300px;
  opacity: 0.32;
  mix-blend-mode: soft-light;
}

.banner-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,8,10,.97) 0%, rgba(8,8,10,.86) 42%, rgba(8,8,10,.22) 100%),
    linear-gradient(0deg, rgba(8,8,10,.62), transparent 58%);
}

.photo-credit {
  position: absolute;
  right: 10px;
  bottom: 7px;
  z-index: 4;
  color: rgba(226, 220, 208, 0.55);
  font-size: 7px;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.photo-credit:hover { color: var(--lobby-gold-hi); text-decoration: underline; }

.banner-aurora {
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 74% 44%, rgba(216, 207, 173, 0.3), transparent 34%),
    radial-gradient(circle at 20% 110%, rgba(85, 60, 54, 0.5), transparent 42%);
  animation: arena-drift 14s ease-in-out infinite;
}

.banner-grid {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 38px 38px;
  transform: perspective(420px) rotateX(62deg) scale(1.7) translateY(36%);
  transform-origin: bottom center;
  mask-image: linear-gradient(0deg, black, transparent 76%);
}

.banner-coin {
  position: absolute;
  top: 50%;
  width: 98px;
  height: 98px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px dashed rgba(216, 207, 173, 0.32);
  box-shadow: inset 0 0 34px rgba(247, 201, 72, 0.08), 0 0 44px rgba(183, 176, 143, 0.12);
  color: rgba(216, 207, 173, 0.72);
  font-size: 34px;
  font-weight: 900;
  transform: translateY(-50%);
  animation: arena-spin 26s linear infinite;
}
.banner-coin.coin-a { right: 150px; }
.banner-coin.coin-b { right: 76px; width: 66px; height: 66px; font-size: 16px; animation-direction: reverse; animation-duration: 19s; }

.banner-copy { position: relative; z-index: 2; padding: 12px 24px; max-width: 640px; }
.banner-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lobby-gold-hi);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.22em;
}
.banner-kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--arena-volt); box-shadow: 0 0 10px var(--arena-volt); animation: arena-pulse 2s infinite; }
.banner-copy h2 {
  margin-top: 6px;
  font-family: "Arial Narrow", "Roboto Condensed", sans-serif;
  font-size: 34px;
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.banner-copy h2 em {
  font-style: normal;
  background: linear-gradient(92deg, var(--lobby-gold-hi), var(--arena-amber) 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.banner-copy p { display: none; }
.banner-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.banner-stats span { color: #8e8a84; font-size: 8px; font-weight: 800; letter-spacing: 0.12em; }
.banner-stats strong { margin-right: 4px; color: #f2ede1; font-size: 13px; }
.banner-stats .banner-safe { color: var(--arena-amber); }
.banner-actions { display: flex; gap: 8px; margin-top: 9px; }
.banner-cta, .banner-ghost {
  height: 27px;
  padding: 0 12px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.banner-cta { border: 1px solid var(--lobby-gold-hi); background: linear-gradient(100deg, var(--lobby-gold-hi), var(--lobby-gold)); color: #17130f; }
.banner-cta span { margin-left: 8px; }
.banner-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(183,176,143,.28); filter: brightness(1.06); }
.banner-ghost { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03); color: #d4cec2; }
.banner-ghost:hover { border-color: rgba(183,176,143,.5); background: rgba(183,176,143,.09); }

/* --------------------------- LABELS / DETAILH ---------------------------- */
.lobby-scroll { padding: 0 26px 28px !important; }
.lobby-scroll .lobby-subtabs {
  margin: 0 -26px 14px !important;
  width: calc(100% + 52px) !important;
}
#lobby-panel-cash, #lobby-panel-tournaments, #lobby-panel-spin { padding-right: 332px; }

.cash-table-head,
.cash-card,
.schedule-grid .cash-card {
  grid-template-columns: minmax(180px, 1.7fr) 100px 122px 88px 98px 118px !important;
  gap: 12px !important;
}

.cash-table-head { padding: 0 8px 8px !important; border-bottom: 1px solid rgba(255,255,255,.12) !important; }
.cash-card {
  min-height: 58px !important;
  padding: 7px 8px !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
}
.cash-card:hover {
  border-bottom-color: rgba(183,176,143,.45) !important;
  background: linear-gradient(90deg, rgba(183,176,143,.11), transparent 72%) !important;
  transform: translateX(3px);
}
.cash-card.selected {
  border-bottom-color: var(--lobby-gold) !important;
  background: linear-gradient(90deg, rgba(183,176,143,.18), transparent 76%) !important;
  box-shadow: inset 3px 0 0 var(--lobby-gold) !important;
}

.cash-title-row { gap: 2px !important; }
.cash-title-row h3 { font-size: 13px !important; font-weight: 800; letter-spacing: -0.01em; }
.cash-sub { color: #756f69; font-size: 7.5px; font-weight: 800; letter-spacing: 0.1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cash-card .cash-metrics .metric strong { font-size: 12px !important; }
.cell-label { display: block !important; color: #6b665f; font-size: 7px; font-weight: 800; letter-spacing: 0.14em; }
.cell-value { display: block; margin-top: 2px; color: #dcd6cb; font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cash-card .cell-prize,
.cash-card .cell-start { font-size: 10.5px !important; }
.cash-card .cell-status .mono { display: block; margin-top: 3px; color: #8e8a84; font-size: 8px; }
.cash-card .pro-cta-btn { height: 30px !important; border-radius: 3px !important; font-size: 8px !important; }

/* ---------------------------- FLOATING PANEL ----------------------------- */
.lobby-side,
#lobby-modal.has-seat .lobby-side {
  position: absolute !important;
  top: 120px !important;
  right: 22px !important;
  z-index: 6 !important;
  width: 282px !important;
  max-height: calc(100% - 140px) !important;
  padding: 16px !important;
  border: 1px solid rgba(183,176,143,.28) !important;
  border-radius: 14px !important;
  background: rgba(20, 19, 20, 0.88) !important;
  backdrop-filter: blur(22px) !important;
  box-shadow: 0 30px 70px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.05) !important;
  overflow-y: auto !important;
}

.side-detail h3 { font-family: "Arial Narrow", "Roboto Condensed", sans-serif; font-size: 19px !important; font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; }
.detail-visual {
  position: relative;
  height: 76px;
  margin: -16px -16px 13px;
  border-bottom: 1px solid rgba(183,176,143,.28);
  background-image:
    linear-gradient(0deg, rgba(20,19,20,.92), rgba(20,19,20,.08)),
    url('/assets/arena-table-photo.jpg');
  background-size: cover;
  background-position: center 58%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 8px;
}
.detail-visual-tag {
  padding: 3px 6px;
  border: 1px solid rgba(216,207,173,.4);
  border-radius: 3px;
  background: rgba(10,10,12,.7);
  color: var(--lobby-gold-hi);
  font-size: 6.5px;
  font-weight: 900;
  letter-spacing: .14em;
}
.detail-rows { gap: 5px !important; margin-top: 12px !important; }
.detail-rows div { border-radius: 4px !important; background: rgba(255,255,255,.035) !important; }
.detail-progress { margin-top: 12px; }
.detail-progress span { color: #918c86; font-size: 7.5px; font-weight: 800; letter-spacing: .1em; }
.detail-progress div { height: 4px; margin-top: 5px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.detail-progress i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--lobby-gold), var(--arena-amber)); transition: width .3s ease; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 11px; }
.detail-tags span { padding: 3px 6px; border: 1px solid rgba(255,255,255,.09); border-radius: 3px; color: #918c86; font-size: 7px; font-weight: 800; letter-spacing: .06em; }
.side-primary { border-radius: 4px !important; }

.side-ranking { display: block !important; }
.ranking-list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.ranking-list li { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 7px; padding: 7px 8px; border: 1px solid rgba(255,255,255,.06); border-radius: 4px; background: rgba(255,255,255,.025); }
.ranking-list li > span { color: var(--lobby-gold); font-size: 10px; font-weight: 900; }
.ranking-list strong { font-size: 9.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ranking-list em { color: #756f69; font-size: 7px; font-style: normal; font-weight: 800; letter-spacing: .08em; }
.ranking-list .rank-soon { opacity: .55; }
.ranking-note { margin-top: 9px; color: #756f69; font-size: 8.5px; line-height: 1.45; }

@media (max-width: 1240px) {
  #lobby-panel-cash, #lobby-panel-tournaments, #lobby-panel-spin { padding-right: 292px; }
  .lobby-side, #lobby-modal.has-seat .lobby-side {
    top: 120px !important;
    width: 252px !important;
    max-height: calc(100% - 140px) !important;
  }
  .cash-table-head, .cash-card, .schedule-grid .cash-card { grid-template-columns: minmax(130px,1.5fr) 76px 88px 82px 88px 102px !important; }
}

@media (max-width: 900px) {
  .lobby-brand-mini { margin-right: 6px; }
  .lobby-banner { margin: 14px 14px 12px; min-height: 150px; }
  .banner-copy h2 { font-size: 34px; }
  .banner-coin { display: none; }
  .banner-copy { padding: 18px 20px; }
  .cash-table-head, .cash-card, .schedule-grid .cash-card { grid-template-columns: minmax(130px,1.4fr) 74px 86px 96px !important; }
  .cash-table-head span:nth-child(3), .cash-table-head span:nth-child(4),
  .cash-card .cell-prize, .cash-card .cell-start { display: none !important; }
  .cash-table-head span:nth-child(5) { grid-column: 3 !important; }
  .cash-table-head span:nth-child(6) { grid-column: 4 !important; }
  .cash-card .cell-status { grid-column: 3 !important; }
  .cash-card .pro-cta-btn { grid-column: 4 !important; }
}

@media (max-width: 680px) {
  .lobby-subtabs { padding: 0 10px !important; overflow-x: auto; }
  .lobby-brand-mini { display: none; }
  .lobby-topbar { padding: 0 12px !important; }
  .banner-stats { gap: 10px; }
  .banner-actions { flex-wrap: wrap; }
  .cash-table-head { display: none !important; }
  .cash-card, .schedule-grid .cash-card { grid-template-columns: minmax(110px,1fr) 72px 90px !important; }
  .cash-card .cash-title-row { grid-column: 1 !important; }
  .cash-card .cash-metrics .metric:nth-child(1) { grid-column: 2 !important; }
  .cash-card .cell-status { grid-column: 3 !important; }
  .cash-card .pro-cta-btn { grid-column: 1 / -1 !important; }
}

/* ==========================================================================
   CAPA PRINCIPAL — FULL BLEED
   A imagem fornecida já traz título, números e botões. Mantemos apenas
   áreas clicáveis invisíveis sobre os botões desenhados na arte.
   ========================================================================== */
.lobby-banner {
  margin: 0 -26px 10px !important;
  width: calc(100% + 52px) !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(183, 176, 143, 0.26) !important;
  border-radius: 0 !important;
  min-height: 0 !important;
  box-shadow: none !important;
  background: #0b0b0d !important;
}

.banner-photo,
.banner-original,
.banner-scrim,
.banner-aurora,
.banner-grid,
.banner-coin,
.banner-copy,
.photo-credit { display: none !important; }

.cover-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3.12 / 1;
  object-fit: cover;
  object-position: center center;
}

.cover-hotspot {
  position: absolute;
  z-index: 3;
  padding: 0;
  border: 0;
  background: transparent;
  color: transparent;
  font-size: 0;
  cursor: pointer;
}
.cover-hotspot:focus-visible {
  border: 1px solid var(--lobby-gold-hi);
  border-radius: 3px;
  background: rgba(10, 10, 12, 0.86);
  color: var(--lobby-gold-hi);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  outline: none;
}
.cover-play { left: 11%; top: 74%; width: 15%; height: 10%; }
.cover-audit { left: 32%; top: 74%; width: 13%; height: 10%; }

.cover-note {
  position: absolute;
  right: 12px;
  bottom: 9px;
  z-index: 3;
  color: rgba(226, 220, 208, 0.5);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.detail-visual {
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 6px;
}
.detail-visual-credit {
  color: rgba(226, 220, 208, 0.55);
  font-size: 6.5px;
  text-decoration: none;
}
.detail-visual-credit:hover { color: var(--lobby-gold-hi); text-decoration: underline; }

@media (max-width: 900px) {
  .cover-note { font-size: 6px; right: 8px; bottom: 6px; }
}

/* Sound system: volume control beside the audio toggle */
.tb-volume {
  width: 84px;
  accent-color: #f5b335;
  cursor: pointer;
  vertical-align: middle;
}
@media (max-width: 720px) {
  .tb-volume { width: 60px; }
}

.sec-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

/* ==========================================================================
   AUTH GATE — visitor sign-up on the lobby; member-only widgets hidden
   ========================================================================== */
body.is-guest .member-only { display: none !important; }
body:not(.is-guest) .guest-only { display: none !important; }

.lobby-auth {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 420px);
  gap: 28px;
  align-items: center;
  margin: 6px 26px 18px;
  padding: 26px 28px;
  border: 1px solid rgba(247, 201, 72, 0.38);
  border-radius: 6px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(247, 201, 72, 0.12), transparent 55%),
    linear-gradient(135deg, #17171a 0%, #0e0f12 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  scroll-margin: 24px;
}
.lobby-auth.pulse { animation: lobbyAuthPulse 1.1s ease-out 1; }
@keyframes lobbyAuthPulse {
  0% { box-shadow: 0 0 0 0 rgba(247, 201, 72, 0.55); }
  100% { box-shadow: 0 0 0 18px rgba(247, 201, 72, 0); }
}
.lobby-auth-pitch h2 {
  margin: 10px 0 14px;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.15;
  color: var(--text-white);
  letter-spacing: -0.01em;
}
.lobby-auth-pitch h2 em { font-style: normal; color: var(--arena-amber); }
.lobby-auth-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.lobby-auth-list li { position: relative; padding-left: 22px; color: #c9ced8; font-size: 14px; }
.lobby-auth-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--arena-volt); font-weight: 800;
}
.lobby-auth-foot { margin: 0; color: var(--text-muted); font-size: 12px; }
.lobby-auth-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(8, 9, 11, 0.72);
}
.lobby-auth-card .auth-switch { margin-bottom: 12px; }
.lobby-auth-card .vault-form { gap: 10px; }

@media (max-width: 860px) {
  .lobby-auth { grid-template-columns: 1fr; margin: 6px 12px 14px; padding: 18px; gap: 16px; }
  .lobby-auth-pitch h2 { font-size: 22px; }
}

/* Sound settings modal */
.sound-panel { max-width: 640px; }
.sound-cats { display: grid; gap: 10px; margin: 12px 0 16px; }
.sound-cat { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 12px; color: #d7dbe3; font-size: 13px; }
.sound-cat input { accent-color: #f5b335; }
.sound-sub { margin: 6px 0 10px; font-size: 11px; letter-spacing: 0.14em; color: var(--text-muted); }
.sound-tests { display: flex; flex-wrap: wrap; gap: 6px; max-height: 260px; overflow-y: auto; }
.sound-test { font-size: 11px; padding: 6px 9px; }
