/* ── Lobby layout ────────────────────────────────────────────────────────── */
#lobby-screen { background: var(--bg); overflow-y: auto; }

.lobby-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.lobby-logo { font-size: 24px; font-weight: 900; letter-spacing: 3px; }
.logo-x     { color: var(--gold); }
.logo-zilla { color: var(--text); }

.player-info { display: flex; align-items: center; gap: 10px; }
.player-name { font-size: 13px; font-weight: 700; }
.player-chips { font-size: 12px; color: var(--chip); font-weight: 600; }

/* ── Body ────────────────────────────────────────────────────────────────── */
.lobby-body { padding: 24px 20px; flex: 1; }

.section-title {
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  color: var(--text-dim); text-transform: uppercase; margin-bottom: 16px;
}

/* ── Game grid ───────────────────────────────────────────────────────────── */
.game-grid { display: flex; gap: 12px; margin-bottom: 32px; }

.game-card {
  flex: 1; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 12px;
  text-align: center; position: relative; cursor: pointer;
  transition: border-color .2s, transform .1s;
}
.game-card:active { transform: scale(.97); }
.game-card.active { border-color: var(--gold); }
.game-card.locked { opacity: .45; cursor: default; }
.game-icon  { font-size: 28px; margin-bottom: 8px; }
.game-name  { font-size: 12px; font-weight: 700; }
.game-tag {
  position: absolute; top: 8px; right: 8px;
  font-size: 9px; font-weight: 800; letter-spacing: 1px;
  padding: 2px 6px; border-radius: 4px;
}
.game-card.active .game-tag { background: var(--gold); color: #000; }
.game-card.locked .game-tag { background: var(--surface2); color: var(--text-dim); }

/* ── Tables list ─────────────────────────────────────────────────────────── */
.table-section { animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; } }

.tables-list { display: flex; flex-direction: column; gap: 12px; }
.table-loading { color: var(--text-dim); font-size: 14px; text-align: center; padding: 24px; }

.table-row {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; transition: border-color .2s, transform .1s;
}
.table-row:active { transform: scale(.98); }
.table-row:hover  { border-color: var(--gold); }

.table-left {}
.table-row-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.table-blinds   { font-size: 12px; color: var(--text-dim); }
.table-blinds strong { color: var(--gold); }

.table-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.table-seats { font-size: 12px; color: var(--text-dim); }
.table-seats span { color: var(--green); font-weight: 700; }
.btn-sit {
  background: var(--gold); color: #000; border: none;
  border-radius: 8px; padding: 8px 18px; font-size: 13px; font-weight: 800;
  cursor: pointer;
}

/* ── Buy-in modal extras ──────────────────────────────────────────────────── */
.modal-table-info { font-size: 13px; color: var(--text-dim); margin-bottom: 16px; }
.buyin-controls {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--surface2); border-radius: var(--radius); padding: 12px;
}
.btn-icon {
  background: var(--border); color: var(--text); border: none;
  width: 36px; height: 36px; border-radius: 50%; font-size: 20px;
  cursor: pointer; line-height: 1;
}
.buyin-amount { font-size: 20px; font-weight: 800; color: var(--gold); }
.buyin-range  { font-size: 11px; color: var(--text-dim); text-align: center; margin-top: 8px; }

.hidden { display: none !important; }
