/* Agrish Web Gaming Hub - Master Stylesheet */

:root {
    --bg-main: #0b0f19;
    --bg-card: #131b2e;
    --bg-card-hover: #1e2942;
    --bg-input: #0f1626;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-gold: rgba(245, 158, 11, 0.4);
    
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --gold: #f59e0b;
    --gold-hover: #d97706;
    --gold-glow: rgba(245, 158, 11, 0.25);
    --success: #10b981;
    --danger: #ef4444;
    --danger-hover: #dc2626;
    
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar {
    background-color: rgba(19, 27, 46, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    font-size: 24px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--gold);
    display: block;
}

.brand-sub {
    font-size: 11px;
    color: var(--text-muted);
    display: block;
}

.nav-center {
    display: flex;
    gap: 10px;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Buttons */
.btn {
    padding: 10px 18px;
    border-radius: 8px;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:active {
    transform: scale(0.97);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-lg {
    padding: 14px 24px;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}
.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000000;
    font-weight: 800;
}
.btn-gold:hover {
    box-shadow: 0 0 12px var(--gold-glow);
}

.btn-secondary {
    background-color: #334155;
    color: white;
}
.btn-secondary:hover {
    background-color: #475569;
}

.btn-danger {
    background-color: var(--danger);
    color: white;
}
.btn-danger:hover {
    background-color: var(--danger-hover);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-white);
}
.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-block {
    width: 100%;
}

.btn-google-demo {
    background-color: #ffffff;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 10px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.2s;
}
.btn-google-demo:hover {
    background-color: #f9fafb;
}

/* User pill in navbar */
.user-pill {
    background-color: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: 24px;
    padding: 4px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: border-color 0.2s;
}
.user-pill:hover {
    border-color: var(--gold);
}
.user-avatar-small {
    font-size: 18px;
}
.user-name-small {
    font-weight: 700;
    font-size: 13px;
    color: var(--gold);
}
.user-chips-small {
    font-size: 11px;
    color: var(--text-muted);
}

/* Main Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 16px;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Common Card */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* ================= POKER TABLE STYLING ================= */
.poker-table {
    background: radial-gradient(circle, #0f382c 0%, #081e18 100%);
    border: 6px solid #2e1d0c;
    outline: 2px solid #573b1e;
    border-radius: 36px;
    padding: 24px;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.8), 0 10px 30px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.table-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.pot-badge, .stage-badge {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pot-label, .stage-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: bold;
}
.pot-amount {
    font-size: 20px;
    font-weight: 800;
    color: var(--gold);
}
.stage-name {
    font-size: 14px;
    font-weight: 700;
    color: #60a5fa;
}

.winner-badge {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(245, 158, 11, 0.2));
    border: 1px solid var(--success);
    border-radius: 8px;
    padding: 6px 14px;
    font-weight: bold;
    color: #34d399;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* AI Coaching Box */
.coach-box {
    background: rgba(15, 23, 42, 0.85);
    border-left: 4px solid var(--gold);
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.coach-title {
    font-size: 11px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.coach-msg {
    font-size: 13px;
    color: #e2e8f0;
    line-height: 1.4;
}

/* Community Cards */
.community-board {
    text-align: center;
    padding: 12px;
}

.board-label, .dock-label {
    font-size: 11px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.cards-flex {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    min-height: 80px;
    align-items: center;
}

.card-placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    font-style: italic;
}

/* Playing Cards */
.playing-card {
    width: 54px;
    height: 78px;
    background-color: #ffffff;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 5px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    position: relative;
    border: 1px solid #cbd5e1;
    transition: transform 0.2s ease;
}

.playing-card:hover {
    transform: translateY(-4px);
}

.card-top {
    font-size: 14px;
    line-height: 1;
}
.card-center-suit {
    font-size: 22px;
    align-self: center;
    margin-top: -2px;
}
.card-bottom {
    font-size: 14px;
    line-height: 1;
    align-self: flex-end;
    transform: rotate(180deg);
}

.suit-red {
    color: #dc2626 !important;
}
.suit-black {
    color: #0f172a !important;
}

/* Table Players */
.table-players {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.player-seat {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.player-seat.active-turn {
    border-color: var(--gold);
    background: rgba(245, 158, 11, 0.15);
    box-shadow: 0 0 10px var(--gold-glow);
}

.player-seat.folded {
    opacity: 0.4;
}

.seat-avatar {
    font-size: 24px;
}

.seat-info {
    flex: 1;
}

.seat-name {
    font-weight: 700;
    font-size: 13px;
}

.seat-chips {
    font-size: 12px;
    color: var(--gold);
}

.seat-badges {
    display: flex;
    gap: 4px;
    margin-top: 4px;
}

.badge {
    font-size: 9px;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 4px;
}
.badge-dealer { background: var(--gold); color: black; }
.badge-sb { background: #3b82f6; color: white; }
.badge-bb { background: #ef4444; color: white; }

/* Player Dock */
.player-dock {
    background: rgba(11, 15, 25, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.poker-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

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

.raise-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0 12px;
}

.currency-symbol {
    color: var(--gold);
    font-weight: bold;
}

.raise-input-group input {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    padding: 10px 8px;
    outline: none;
}

/* ================= BANKER AGRISH STYLING ================= */
.bank-dashboard {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.leader-ticker {
    background-color: #1e293b;
    border: 1px solid #475569;
    color: var(--gold);
    text-align: center;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
}

.vault-card {
    background: radial-gradient(circle, #1e293b 0%, #0f172a 100%);
    border: 2px solid var(--gold);
    border-radius: 16px;
    text-align: center;
    padding: 24px;
}

.vault-title {
    font-size: 13px;
    font-weight: bold;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.vault-amount {
    font-size: 42px;
    font-weight: 900;
    color: var(--gold);
    margin: 8px 0;
}

.vault-sub {
    font-size: 13px;
    color: var(--text-muted);
}

.dice-arena {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dice-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.borrow-return-box {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 12px;
}

.borrow-return-box h4 {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.trans-row {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.ledger-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.ledger-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.log-stream {
    max-height: 180px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
}

.log-item {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    font-size: 13px;
    border-left: 3px solid var(--primary);
}
.log-item.bust {
    border-left-color: var(--danger);
    background: rgba(239, 68, 68, 0.08);
}

/* Activity Drawer */
.activity-drawer {
    padding: 12px 16px;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    color: var(--text-muted);
}

.drawer-body {
    margin-top: 12px;
    max-height: 140px;
    overflow-y: auto;
}

#game-event-logs {
    list-style: none;
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* ================= MODAL DIALOGS ================= */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 16px;
}

.modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    width: 100%;
    max-width: 440px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.modal-lg {
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
}
.modal-close:hover {
    color: white;
}

.modal-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: bold;
    font-size: 15px;
    padding: 10px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}
.tab-btn.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.divider {
    text-align: center;
    margin: 16px 0;
    position: relative;
}
.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border-color);
}
.divider span {
    position: relative;
    background: var(--bg-card);
    padding: 0 10px;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: bold;
}

/* Forms */
.form-group {
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.form-row {
    display: flex;
    gap: 12px;
}

input[type="text"], input[type="email"], input[type="password"], input[type="tel"], select, textarea {
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 12px;
    color: white;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-white);
    cursor: pointer;
}

/* Profile Modal Content */
.profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.avatar-large {
    font-size: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-gold);
}

.profile-title-area h2 {
    font-size: 20px;
    color: var(--gold);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}

.stat-val {
    font-size: 16px;
    font-weight: 800;
    color: var(--gold);
}

.stat-lbl {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 2px;
}

.section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-white);
    margin: 16px 0 10px 0;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 4px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.data-table th, .data-table td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    color: var(--text-muted);
    font-weight: 600;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 300;
}

.toast {
    background: #1e293b;
    border-left: 4px solid var(--gold);
    color: white;
    padding: 12px 18px;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.5);
    font-size: 14px;
    font-weight: 500;
    animation: slideIn 0.3s ease;
}

.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.hide {
    display: none !important;
}

/* ═══════════════════ LOBBY STYLES ═══════════════════════════ */
.lobby-hero {
    text-align: center;
    padding: 32px 16px 8px;
}
.lobby-title {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold), #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}
.lobby-sub { color: var(--text-muted); font-size: 15px; }

.guest-banner {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.guest-banner-text strong { color: var(--gold); display: block; margin-bottom: 2px; }
.guest-banner-text span  { color: var(--text-muted); font-size: 13px; }
.guest-banner-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.guest-banner-actions input { width: 180px; font-size: 13px; padding: 7px 10px; }

.lobby-games-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.lobby-game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color 0.2s;
}
.lobby-game-card:hover { border-color: var(--gold); }
.bank-card { border-color: rgba(245, 158, 11, 0.3); }

.lgc-badge { font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; }
.lgc-title { font-size: 26px; font-weight: 900; color: var(--text-white); }
.lgc-desc  { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.lgc-features { display: flex; flex-wrap: wrap; gap: 8px; }
.lgc-features span {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 11px;
    color: var(--text-muted);
}
.mt-12 { margin-top: 4px; }

.tables-list { display: flex; flex-direction: column; gap: 6px; max-height: 180px; overflow-y: auto; }
.tables-loading { color: var(--text-muted); font-size: 13px; font-style: italic; }
.table-row {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    gap: 10px;
}
.table-row:hover { border-color: var(--primary); background: rgba(59, 130, 246, 0.08); }
.table-name { font-weight: 700; font-size: 13px; }
.table-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.table-stage { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 4px; text-transform: uppercase; }
.table-stage.stage-waiting { background: #334155; color: #94a3b8; }
.table-stage.stage-pre_flop, .table-stage.stage-flop,
.table-stage.stage-turn, .table-stage.stage-river { background: rgba(59,130,246,0.2); color: #60a5fa; }
.table-stage.stage-showdown, .table-stage.stage-finished { background: rgba(16,185,129,0.2); color: #34d399; }
.table-players-count { font-size: 12px; color: var(--text-muted); }
.table-pot { font-size: 12px; color: var(--gold); }

.leaderboard-card h3 { font-size: 16px; margin-bottom: 12px; }
.leaderboard-list { display: flex; flex-direction: column; gap: 6px; }
.lb-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: rgba(255,255,255,0.02); border-radius: 8px; }
.lb-rank  { font-size: 16px; width: 28px; }
.lb-avatar { font-size: 18px; }
.lb-name  { flex: 1; font-weight: 600; font-size: 13px; }
.lb-total { color: var(--gold); font-weight: 800; font-size: 14px; }

/* ═══════════════════ POKER IMPROVEMENTS ═══════════════════════ */
.turn-timer-badge {
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: border-color 0.3s;
}
.timer-label { font-size: 11px; color: var(--text-muted); font-weight: bold; }
.timer-val   { font-size: 18px; font-weight: 800; color: #60a5fa; }
.turn-timer-badge.timer-urgent { border-color: var(--danger); animation: pulse 0.6s infinite; }
.turn-timer-badge.timer-urgent .timer-val { color: var(--danger); }

.card-hidden {
    width: 54px; height: 78px;
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    border: 1px solid #334155;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    color: #334155;
}
.card-sm { width: 36px !important; height: 52px !important; }
.card-sm .card-top, .card-sm .card-bottom { font-size: 9px !important; }
.card-sm .card-center-suit { font-size: 14px !important; }

.seat-cards { display: flex; gap: 3px; margin-top: 6px; flex-wrap: wrap; }
.seat-hand-eval { font-size: 9px; color: #34d399; font-weight: 700; margin-top: 3px; text-transform: uppercase; letter-spacing: 0.5px; }

.badge-allin { background: #7c3aed; color: white; }
.player-seat.is-me { border-color: rgba(59,130,246,0.5); background: rgba(59,130,246,0.08); }
.player-seat.disconnected { opacity: 0.35; filter: grayscale(0.6); }
.bet-label { font-size: 10px; color: var(--text-muted); }

.not-your-turn {
    text-align: center; color: var(--text-muted); font-size: 14px;
    padding: 12px; background: rgba(255,255,255,0.03);
    border-radius: 8px; border: 1px dashed var(--border-color); font-style: italic;
}
.disabled-controls { opacity: 0.4; pointer-events: none; filter: grayscale(0.5); }

.guest-pill { background: rgba(124, 58, 237, 0.15); border-color: rgba(124, 58, 237, 0.4); }
.guest-chip-badge { font-size: 9px; background: #7c3aed; color: white; border-radius: 4px; padding: 1px 5px; font-weight: 700; letter-spacing: 0.5px; }
.nav-table-label { font-size: 12px; color: var(--gold); font-weight: 700; padding: 4px 8px; background: rgba(245,158,11,0.1); border-radius: 6px; }
.google-auth-box { display: flex; flex-direction: column; gap: 10px; margin-bottom: 4px; }

/* Responsive */
@media (max-width: 700px) {
    .lobby-games-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .navbar { flex-direction: column; gap: 10px; align-items: stretch; }
    .nav-center, .nav-user { justify-content: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .action-grid { grid-template-columns: 1fr; }
    .guest-banner { flex-direction: column; align-items: flex-start; }
    .table-header-info { flex-wrap: wrap; }
}
