
:root{--bg:#080b16;--panel:#11182b;--panel2:#16213a;--text:#f5f7fb;--muted:#9aa8c7;--line:rgba(255,255,255,.08);--brand:#7c3aed;--brand2:#06b6d4;--gold:#fbbf24;--danger:#ef4444;--ok:#22c55e}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at top left,#18224d,#080b16 45%,#050711);color:var(--text);font-family:Tahoma,Arial,sans-serif;min-height:100vh}button,input,select,textarea{font-family:inherit}button{cursor:pointer;border:0;border-radius:14px;padding:11px 15px;background:linear-gradient(135deg,var(--brand),var(--brand2));color:white;font-weight:800;box-shadow:0 10px 25px rgba(0,0,0,.22)}button.secondary{background:#24304d}button.danger{background:var(--danger)}button.ghost{background:transparent;border:1px solid var(--line)}button:disabled{opacity:.45;cursor:not-allowed}input,select,textarea{width:100%;background:#0b1020;border:1px solid var(--line);color:var(--text);border-radius:14px;padding:12px;outline:none}textarea{min-height:80px}.login{min-height:100vh;display:grid;place-items:center;padding:20px}.login-card{width:min(430px,100%);background:rgba(17,24,43,.86);border:1px solid var(--line);border-radius:28px;padding:28px;box-shadow:0 30px 80px rgba(0,0,0,.35);backdrop-filter:blur(18px)}.brand{display:flex;gap:12px;align-items:center;margin-bottom:18px}.logo{width:52px;height:52px;border-radius:18px;background:linear-gradient(135deg,var(--gold),var(--brand));display:grid;place-items:center;font-size:26px;font-weight:900}.title{font-size:26px;font-weight:900}.muted{color:var(--muted);font-size:13px}.layout{display:grid;grid-template-columns:280px 1fr;min-height:100vh}.side{background:rgba(9,13,26,.88);border-left:1px solid var(--line);padding:20px;position:sticky;top:0;height:100vh}.main{padding:22px}.nav button{display:block;width:100%;margin:8px 0;text-align:right;background:#11182b;border:1px solid var(--line)}.nav button.active{background:linear-gradient(135deg,var(--brand),#1d4ed8)}.top{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:20px}.grid{display:grid;grid-template-columns:repeat(12,1fr);gap:16px}.card{background:rgba(17,24,43,.82);border:1px solid var(--line);border-radius:24px;padding:18px;box-shadow:0 20px 50px rgba(0,0,0,.18)}.col-3{grid-column:span 3}.col-4{grid-column:span 4}.col-5{grid-column:span 5}.col-6{grid-column:span 6}.col-7{grid-column:span 7}.col-8{grid-column:span 8}.col-12{grid-column:span 12}.stat{font-size:30px;font-weight:900;margin-top:8px}table{width:100%;border-collapse:collapse}th,td{border-bottom:1px solid var(--line);padding:10px;text-align:right;font-size:14px}th{color:var(--muted)}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.pill{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:999px;padding:6px 10px;color:var(--muted);font-size:12px}.ok{color:var(--ok)}.dangerText{color:var(--danger)}.room-card{display:flex;justify-content:space-between;gap:14px;align-items:center}.video{width:100%;aspect-ratio:16/9;border:0;border-radius:22px;background:#000}.last-ball{display:grid;place-items:center;min-height:230px;background:radial-gradient(circle,#1e40af,#11182b);border-radius:24px;border:1px solid var(--line)}.ball-letter{font-size:40px;color:var(--gold);font-weight:900}.ball-number{font-size:86px;line-height:1;font-weight:900}.balls{display:flex;flex-wrap:wrap;gap:8px}.ball-chip{background:#0b1020;border:1px solid var(--line);border-radius:999px;padding:8px 11px}.ball-board{display:grid;grid-template-columns:repeat(15,1fr);gap:8px}.ball-btn{padding:10px 0;border-radius:12px;background:#18213b}.ball-btn.called{background:#374151;color:#9ca3af;text-decoration:line-through}.chatbox{height:260px;overflow:auto;background:#090d1b;border:1px solid var(--line);border-radius:18px;padding:12px}.msg{background:#121a31;border:1px solid var(--line);border-radius:14px;padding:9px;margin-bottom:8px}.toast{position:fixed;bottom:18px;left:18px;background:#11182b;border:1px solid var(--line);border-radius:16px;padding:13px 16px;box-shadow:0 20px 60px rgba(0,0,0,.45);z-index:50}.hidden{display:none!important}@media(max-width:900px){.layout{grid-template-columns:1fr}.side{position:relative;height:auto}.grid{grid-template-columns:1fr}.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-12{grid-column:span 1}.form-grid{grid-template-columns:1fr}.ball-board{grid-template-columns:repeat(5,1fr)}}
.seat-box{border:1px solid rgba(255,255,255,.16);border-radius:18px;padding:16px;margin:12px 0;background:rgba(255,255,255,.06)}
.seat-code{font-size:34px;font-weight:900;letter-spacing:2px;margin:6px 0;color:#f8d66d}
.bingo-card{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;max-width:520px;margin:auto}
.bingo-head,.bingo-cell{border-radius:14px;text-align:center;padding:14px 8px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);font-weight:800}
.bingo-head{background:rgba(248,214,109,.18);color:#f8d66d;font-size:22px}
.bingo-cell{font-size:18px;min-height:52px;display:flex;align-items:center;justify-content:center}
/* v4 Messenger-style private points chat */
.messenger .chatbox{height:420px;overflow:auto;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:18px;padding:14px;display:flex;flex-direction:column;gap:10px}
.msg{max-width:78%;padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.06);line-height:1.6}
.msg.me{align-self:flex-end;background:linear-gradient(135deg,rgba(93,95,239,.55),rgba(20,184,166,.42));border-color:rgba(255,255,255,.14)}
.msg.them{align-self:flex-start;background:rgba(15,23,42,.85)}
.conv{padding:14px;border-radius:16px;margin:10px 0;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.08);cursor:pointer;transition:.2s}
.conv:hover{transform:translateY(-1px);background:rgba(255,255,255,.09)}

/* v5: highlighted called balls, seat table selection, Messenger floating chat */
.ball-btn.called{background:linear-gradient(135deg,#f8d66d,#f59e0b)!important;color:#111827!important;border-color:rgba(248,214,109,.9)!important;box-shadow:0 0 0 2px rgba(248,214,109,.22),0 12px 30px rgba(248,214,109,.22);transform:translateY(-1px)}
.player-board .ball-btn{cursor:default;opacity:1}
.player-board .ball-btn:not(.called){background:rgba(255,255,255,.045)}
.bingo-cell.marked{background:linear-gradient(135deg,rgba(34,197,94,.65),rgba(20,184,166,.55))!important;color:white;border-color:rgba(134,239,172,.55);box-shadow:0 10px 24px rgba(34,197,94,.18)}
.seat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:10px;max-height:560px;overflow:auto;padding:6px}
.seat-choice{min-height:74px;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:linear-gradient(135deg,rgba(93,95,239,.22),rgba(20,184,166,.12));border:1px solid rgba(255,255,255,.14)}
.seat-choice b{font-size:18px}.seat-choice span{font-size:12px;color:#cbd5e1}.seat-choice:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(20,184,166,.12)}
.seat-choice.taken{background:rgba(148,163,184,.12);opacity:.48;cursor:not-allowed;box-shadow:none;transform:none}.seat-choice.taken span{color:#fca5a5}
.seat-mini-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(70px,1fr));gap:8px;max-height:310px;overflow:auto}.seat-mini{border-radius:12px;padding:10px;text-align:center;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.08);font-size:12px}.seat-mini.taken{background:rgba(248,113,113,.18);border-color:rgba(248,113,113,.25)}.seat-mini.mine{background:linear-gradient(135deg,rgba(248,214,109,.4),rgba(245,158,11,.25));border-color:rgba(248,214,109,.65);color:#fff;font-weight:900}
.messenger-fab{position:fixed;right:24px;bottom:24px;width:64px;height:64px;border-radius:999px;z-index:80;font-size:26px;box-shadow:0 20px 45px rgba(0,0,0,.45)}
.messenger-panel{position:fixed;right:24px;bottom:100px;width:min(390px,calc(100vw - 32px));height:560px;background:rgba(8,13,28,.96);border:1px solid rgba(255,255,255,.14);border-radius:24px;box-shadow:0 28px 80px rgba(0,0,0,.55);z-index:79;display:flex;flex-direction:column;overflow:hidden;backdrop-filter:blur(18px)}
.messenger-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.08);background:linear-gradient(135deg,rgba(93,95,239,.2),rgba(20,184,166,.12))}.float-chat{height:auto!important;flex:1;border:0!important;border-radius:0!important;background:rgba(255,255,255,.025)!important}.messenger-input{display:flex;gap:8px;padding:12px;border-top:1px solid rgba(255,255,255,.08)}.messenger-input input{flex:1}
@media(max-width:650px){.messenger-panel{right:8px;bottom:84px;width:calc(100vw - 16px);height:70vh}.messenger-fab{right:16px;bottom:16px}.seat-grid{grid-template-columns:repeat(auto-fill,minmax(78px,1fr))}}

/* v6: stronger player-card marking and true floating Messenger UI */
.bingo-cell.marked{position:relative;text-decoration:line-through;text-decoration-thickness:4px;text-decoration-color:#f8d66d;background:linear-gradient(135deg,rgba(34,197,94,.75),rgba(20,184,166,.58))!important;color:#fff!important;border-color:rgba(248,214,109,.7)!important}
.bingo-cell.marked::after{content:'✓';position:absolute;top:4px;left:8px;width:22px;height:22px;border-radius:999px;display:grid;place-items:center;background:#f8d66d;color:#111827;font-size:14px;font-weight:900;box-shadow:0 8px 20px rgba(248,214,109,.25)}
.bingo-cell.flash-mark{animation:markPulse .85s ease-in-out 1}@keyframes markPulse{0%{transform:scale(1)}45%{transform:scale(1.14);box-shadow:0 0 0 8px rgba(248,214,109,.16)}100%{transform:scale(1)}}
.float-conv-list{max-height:118px;overflow:auto;display:flex;gap:8px;padding:10px;border-bottom:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.025)}
.mini-conv{min-width:130px;max-width:180px;text-align:right;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.09);border-radius:16px;padding:10px;box-shadow:none;display:flex;flex-direction:column;gap:3px;white-space:nowrap;overflow:hidden}.mini-conv span{font-size:11px;color:#9aa8c7;overflow:hidden;text-overflow:ellipsis}.mini-conv.active{background:linear-gradient(135deg,rgba(124,58,237,.55),rgba(6,182,212,.28));border-color:rgba(255,255,255,.18)}
.messenger-panel{direction:rtl}.messenger-input input{height:44px}.messenger-head b{font-size:16px}.float-chat .msg{max-width:86%}

/* v7: visible card numbers inside seat choices + stronger live marking */
.seat-grid-cards{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))!important;align-items:stretch}
.seat-card-choice{min-height:220px!important;align-items:stretch!important;justify-content:flex-start!important;text-align:center;padding:12px!important;gap:10px!important}
.seat-choice-head{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding-bottom:6px;border-bottom:1px solid rgba(255,255,255,.08)}
.seat-preview-card{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;width:100%;direction:ltr}
.seat-preview-card div{font-size:12px;font-weight:900;color:#f8d66d;padding:4px 0}
.seat-preview-card span{font-size:11px;border-radius:8px;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.08);min-height:24px;display:grid;place-items:center;color:#e5e7eb}
.bingo-card{direction:ltr}.bingo-cell.marked span{opacity:.82}.bingo-cell.marked{transform:translateY(-1px)}
.messenger-panel{border-radius:26px;box-shadow:0 34px 100px rgba(0,0,0,.62),0 0 0 1px rgba(255,255,255,.06)}
.messenger-head{background:linear-gradient(135deg,rgba(37,99,235,.42),rgba(124,58,237,.33),rgba(6,182,212,.18))}
@media(max-width:650px){.seat-grid-cards{grid-template-columns:1fr!important}.seat-card-choice{min-height:205px!important}}
/* v8: stable mobile viewport, daily 150-seat rounds, player operations, stream manager chat */
html,body{min-width:360px;overflow-x:hidden;-webkit-text-size-adjust:100%;text-size-adjust:100%}
#app{min-height:100dvh}.main{min-height:100dvh}.room-stable{contain:layout paint;align-items:start}.top{position:sticky;top:0;z-index:20;background:rgba(7,11,23,.9);backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.06);padding:8px 0}.tx-list{display:flex;flex-direction:column;gap:8px}.tx-row{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);border-radius:14px;padding:12px}.tx-amount{font-weight:900;color:#86efac}.tx-amount.minus{color:#fca5a5}.progress{height:8px;background:rgba(255,255,255,.08);border-radius:99px;margin-top:8px;overflow:hidden}.progress span{display:block;height:100%;background:linear-gradient(90deg,#22c55e,#06b6d4,#f8d66d);border-radius:99px}.winner-card{border:1px solid rgba(248,214,109,.22);background:rgba(248,214,109,.08);border-radius:18px;padding:14px;margin:10px 0}.seat-code.small{font-size:22px}.stream-preview{max-height:360px}@media(max-width:700px){body{background:#070b17}.layout{width:100%;min-width:360px}.main{padding:12px}.side{border-radius:0 0 20px 20px}.top{margin:-12px -12px 14px -12px;padding:12px}.card{border-radius:18px;padding:14px}.video{border-radius:16px}.last-ball{min-height:150px}.ball-number{font-size:58px}.ball-letter{font-size:28px}.ball-board{grid-template-columns:repeat(5,1fr);gap:6px}.ball-btn{font-size:12px;padding:9px 0}.bingo-cell,.bingo-head{padding:10px 5px;min-height:44px}.tx-row{grid-template-columns:1fr;gap:6px}.room-card{align-items:flex-start;flex-direction:column}.row button{min-height:42px}.messenger .chatbox{height:310px}.seat-mini-grid{max-height:240px}}

.winner-alert{position:fixed;top:16px;left:50%;transform:translateX(-50%);z-index:9999;background:linear-gradient(135deg,#111827,#7c3aed);color:#fff;padding:16px 22px;border-radius:18px;box-shadow:0 18px 50px rgba(0,0,0,.35);font-size:15px;text-align:center;max-width:min(92vw,680px);border:1px solid rgba(255,255,255,.25)}
.winner-mini-list{display:flex;flex-wrap:wrap;gap:8px}.winner-mini{display:inline-flex;padding:6px 10px;border-radius:999px;background:rgba(250,204,21,.14);border:1px solid rgba(250,204,21,.35);font-size:12px}
button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:700px){.layout{min-width:390px}.main{min-width:0}.grid{grid-template-columns:repeat(12,1fr)}.side{position:sticky;top:0;z-index:20}.seat-grid-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.video{height:220px}.winner-alert{top:8px;font-size:13px}}


/* v14: organized admin, first-login password setup, clear drawn balls */
.activation-box{margin-top:14px;border:1px solid rgba(248,214,109,.35);background:rgba(248,214,109,.08);border-radius:18px;padding:14px;line-height:1.8}
.ball-chip.ball-visual{width:58px;height:58px;border-radius:999px;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;padding:0;background:radial-gradient(circle at 30% 25%,#fff7ed 0,#fbbf24 30%,#ea580c 72%,#7c2d12 100%);border:2px solid rgba(255,255,255,.55);box-shadow:inset -8px -10px 20px rgba(0,0,0,.22),0 12px 24px rgba(0,0,0,.28);color:#111827;text-decoration:none;font-weight:900}
.ball-chip.ball-visual b{font-size:13px;line-height:1;color:#1f2937}.ball-chip.ball-visual strong{font-size:20px;line-height:1.1;color:#111827}
#userSearch{background:#07111f;border-color:rgba(6,182,212,.35)}
@media(max-width:700px){.ball-chip.ball-visual{width:48px;height:48px}.ball-chip.ball-visual strong{font-size:17px}.ball-chip.ball-visual b{font-size:11px}}

/* v18: clearer admin pages + visual style inspired by modern RTL gaming dashboards */
.admin-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(135deg,rgba(8,47,73,.72),rgba(88,28,135,.55),rgba(245,158,11,.12));border-color:rgba(250,204,21,.20)}
.admin-stats{display:flex;gap:10px;flex-wrap:wrap}.admin-stats span{padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)}
.search-row input{font-size:16px;height:48px;border-radius:16px;background:rgba(2,6,23,.72)!important;border:1px solid rgba(56,189,248,.36)!important;box-shadow:0 0 0 3px rgba(56,189,248,.06)}
.username-chip{display:inline-flex;align-items:center;justify-content:center;padding:5px 9px;border-radius:999px;background:rgba(59,130,246,.15);border:1px solid rgba(96,165,250,.25);color:#bfdbfe;font-weight:800;direction:ltr}
.admin-user-cards{display:none;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}.admin-user-card{border:1px solid rgba(255,255,255,.10);background:linear-gradient(180deg,rgba(15,23,42,.86),rgba(15,23,42,.56));border-radius:20px;padding:14px;box-shadow:0 18px 45px rgba(0,0,0,.18)}.user-main{display:flex;gap:12px;align-items:center}.avatar{width:46px;height:46px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,#f59e0b,#7c3aed);font-weight:900;font-size:22px;color:white}.code-row,.meta-row,.actions-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.code-row span,.meta-row span{padding:6px 9px;border-radius:12px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);font-size:12px}.actions-row button{padding:8px 10px;font-size:12px}.admin-table th:first-child,.admin-table td:first-child{position:sticky;right:0;background:rgba(8,13,28,.96);z-index:2}
.side{background:linear-gradient(180deg,rgba(10,15,34,.98),rgba(20,22,54,.94));box-shadow:0 24px 60px rgba(0,0,0,.30)}
.card{box-shadow:0 22px 60px rgba(0,0,0,.22)}
.ball-chip.ball-visual{letter-spacing:.5px}
@media(max-width:900px){.admin-hero{flex-direction:column;align-items:flex-start}.admin-user-cards{display:grid}.admin-table{display:none}.admin-users-page .col-4,.admin-users-page .col-8{grid-column:span 12!important}}

/* v23 player broadcast fixes */
.big-count{font-size:18px;font-weight:800;color:#fff}
.player-live-header{position:sticky;top:0;z-index:5}
.balls .called-ball,.called-ball{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;font-weight:900;margin:4px;background:radial-gradient(circle at 30% 25%,#fff,#facc15 35%,#b45309);color:#111;box-shadow:0 8px 24px rgba(0,0,0,.25)}
@media(max-width:760px){
 .grid{display:block;padding-bottom:78px}
 .card,.mobile-full{width:100%!important;margin-bottom:12px}
 .video{height:220px!important}
 .last-ball{min-height:145px}
 .ball-number{font-size:54px}
 .bottom-tabs,.nav{position:fixed!important;bottom:0;left:0;right:0;z-index:50;display:flex;gap:6px;overflow:auto;background:rgba(8,10,25,.95);border-top:1px solid rgba(255,255,255,.08);padding:8px}
 .nav button{min-width:92px;border-radius:14px;font-size:12px;padding:9px 10px}
 body{padding-bottom:78px;overflow-x:hidden}
}

/* v26: player live page is view-only, fixed mobile size, bottom tabs */
.player-fixed-page{width:100%;max-width:480px;margin:0 auto;padding:0 0 86px 0;min-height:calc(100dvh - 30px)}
.player-live-simple{display:flex;flex-direction:column;gap:12px;width:100%}
.player-status-bar{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:0 0 18px 18px;background:rgba(8,13,28,.96);border:1px solid rgba(255,255,255,.08);box-shadow:0 12px 40px rgba(0,0,0,.25);backdrop-filter:blur(14px)}
.player-status-bar>div:first-child{display:flex;align-items:center;gap:8px;min-width:0}.player-status-bar b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:210px}.balance-pill{white-space:nowrap;border-radius:999px;padding:7px 10px;background:rgba(34,197,94,.14);border:1px solid rgba(34,197,94,.25);font-weight:900;color:#bbf7d0}
.player-video-card,.mini-card{border:1px solid rgba(255,255,255,.10);background:linear-gradient(180deg,rgba(15,23,42,.88),rgba(15,23,42,.62));border-radius:18px;padding:12px;box-shadow:0 14px 38px rgba(0,0,0,.22)}
.player-video-card{padding:8px}.player-video-card .video{height:220px!important;border-radius:14px}.player-live-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.last-ball.compact{min-height:106px}.last-ball.compact .ball-letter{font-size:24px}.last-ball.compact .ball-number{font-size:48px}.player-balls{max-height:118px;overflow:auto}.player-chat{height:210px!important}.player-live-simple .multi-cards{display:flex;gap:10px;overflow-x:auto;padding-bottom:8px}.player-live-simple .seat-card-panel{min-width:260px;max-width:280px}.player-live-simple .bingo-cell,.player-live-simple .bingo-head{min-height:38px;padding:7px 4px;font-size:12px}
.buy-page{max-width:860px;margin:0 auto}.buy-page .room-card{display:grid;grid-template-columns:1fr auto;gap:12px}.buy-page .card{border-radius:18px}
@media(max-width:760px){
 body{overflow-x:hidden;background:#070b17}.layout{display:block;min-width:0;width:100%}.side{position:fixed!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;width:100%!important;height:auto!important;z-index:80;border-radius:22px 22px 0 0!important;padding:8px!important;background:rgba(8,13,28,.97)!important;border-top:1px solid rgba(255,255,255,.10)}
 .side .brand{display:none}.side .nav{position:static!important;display:flex!important;gap:7px;overflow-x:auto;padding:0;background:transparent;border:0}.side .nav button{min-width:88px;min-height:44px;border-radius:14px;font-size:12px;padding:8px 10px;white-space:nowrap}.side .nav .danger{min-width:70px}
 .main{padding:10px!important;min-width:0!important;padding-bottom:92px!important}.top{position:sticky;top:0;z-index:60;margin:-10px -10px 10px -10px;padding:10px 12px;background:rgba(7,11,23,.92);border-bottom:1px solid rgba(255,255,255,.08)}.top h2{font-size:18px}.top .muted{font-size:12px}.top button{min-height:38px;padding:8px 12px}
 .player-fixed-page{max-width:430px}.player-status-bar{margin:0 -2px}.player-video-card .video{height:205px!important}.mini-card h3{font-size:16px;margin:4px 0 10px}.player-live-grid{grid-template-columns:1fr 1fr}.ball-chip.ball-visual{width:44px;height:44px}.ball-chip.ball-visual strong{font-size:16px}.winner-card{padding:10px;border-radius:14px}.buy-page .room-card{display:flex;flex-direction:column}.seat-grid-cards{grid-template-columns:1fr!important}.seat-card-choice{min-height:198px!important}.messenger-fab{bottom:82px!important;right:14px!important;width:54px;height:54px}.messenger-panel{bottom:144px!important;height:62vh!important}
}

.verify-seat-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;max-height:520px;overflow:auto;padding:4px}
.verify-seat{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:10px}
.verify-seat.mine{border-color:#facc15;box-shadow:0 0 0 1px rgba(250,204,21,.25)}
.verify-seat summary{cursor:pointer;display:flex;gap:8px;align-items:center;justify-content:space-between;list-style:none}
.verify-seat summary::-webkit-details-marker{display:none}
@media(max-width:700px){.verify-seat-list{grid-template-columns:1fr;max-height:420px}.active-seat-list{max-height:420px;overflow:auto}}

/* Player premium mobile interface */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&display=swap');
:root{--brand:#d6a52a;--brand2:#7b1e2b;--panel:#121521;--panel2:#1b2030;--gold:#f4c542}
body{font-family:Cairo,Tahoma,Arial,sans-serif;background:radial-gradient(circle at 80% 0,#34213b 0,#10131f 42%,#070910 100%);padding-bottom:86px}
.logo{background:linear-gradient(135deg,#f7d66a,#9a6419);box-shadow:0 10px 30px rgba(214,165,42,.25)}
.card{background:linear-gradient(145deg,rgba(28,32,47,.95),rgba(13,16,27,.92));border-color:rgba(244,197,66,.15);box-shadow:0 18px 45px rgba(0,0,0,.28);transition:transform .2s ease,box-shadow .2s ease}
.card:hover{transform:translateY(-2px);box-shadow:0 24px 55px rgba(0,0,0,.36)}
button{background:linear-gradient(135deg,#d6a52a,#8f4b18);border:1px solid rgba(255,231,154,.3);transition:transform .18s ease,filter .18s ease}
button:active{transform:scale(.97)} button:hover{filter:brightness(1.08)}
.ball-chip{background:linear-gradient(145deg,#20263a,#101421);border-color:rgba(244,197,66,.28);font-weight:800;min-width:45px;text-align:center;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.last-ball{background:radial-gradient(circle at 35% 25%,#9f7423,#3c1e2a 45%,#111521 78%);border-color:rgba(244,197,66,.35);box-shadow:inset 0 0 45px rgba(255,202,67,.12)}
.ball-number{text-shadow:0 5px 18px rgba(0,0,0,.45)}
.pill{background:rgba(244,197,66,.08);border-color:rgba(244,197,66,.24);color:#ffe6a0}
.toast{background:linear-gradient(135deg,#352219,#151a28)!important;border:1px solid rgba(244,197,66,.4)!important;box-shadow:0 15px 40px rgba(0,0,0,.5)!important}
@media(max-width:760px){
 body{padding-bottom:82px;overflow-x:hidden}
 .layout{display:block;min-height:100vh}
 .side{position:fixed;z-index:50;bottom:0;top:auto;right:0;left:0;height:74px;padding:7px 8px;background:rgba(10,12,20,.96);border-top:1px solid rgba(244,197,66,.18);border-left:0;backdrop-filter:blur(18px)}
 .side .brand,.side .muted{display:none}
 .nav{display:flex;align-items:stretch;justify-content:space-around;height:100%;overflow-x:auto;gap:5px}
 .nav button{flex:0 0 auto;width:auto;margin:0;padding:7px 10px;border-radius:14px;font-size:11px;white-space:nowrap;background:transparent;border:0;box-shadow:none}
 .nav button.active{background:linear-gradient(145deg,#6e4022,#a27624);color:#fff4cc}
 .main{padding:12px 11px 95px;max-width:680px;margin:auto}
 .top{position:sticky;top:0;z-index:15;margin:-12px -11px 12px;padding:10px 11px;background:rgba(10,12,20,.88);backdrop-filter:blur(14px)}
 .top h2{font-size:17px;margin:0}.top .row{gap:6px}.top button{padding:8px 10px;font-size:11px}
 .grid{grid-template-columns:1fr;gap:11px}.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-12{grid-column:span 1}
 .card{border-radius:19px;padding:14px}.room-card{align-items:flex-start;flex-direction:column}
 .video{border-radius:16px}.last-ball{min-height:155px;border-radius:19px}.ball-letter{font-size:25px}.ball-number{font-size:62px}
 .balls{gap:6px}.ball-chip{padding:7px 8px;min-width:40px;font-size:12px}
 .ball-board{grid-template-columns:repeat(10,1fr);gap:5px}.ball-btn{padding:8px 0;border-radius:9px;font-size:11px}
 table{font-size:12px}th,td{padding:8px 5px;font-size:11px}.form-grid{grid-template-columns:1fr}
 .chatbox{height:220px}.title{font-size:21px}
}

/* v29 messaging improvements */
.messenger-fab{position:fixed;right:18px;bottom:78px;z-index:80}
.msg-badge{position:absolute;top:-8px;left:-8px;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#ef4444;color:#fff;font-size:12px;font-weight:900;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 8px 18px rgba(0,0,0,.35)}
.msg-badge.hidden{display:none!important}
.mini-conv{position:relative;text-align:right}
.conv-count{position:absolute;left:8px;top:8px;min-width:22px;height:22px;border-radius:999px;background:linear-gradient(135deg,#f7c948,#f59e0b);color:#1a1200;font-size:11px;font-style:normal;font-weight:900;display:flex;align-items:center;justify-content:center;padding:0 6px}
.live-chat-mini{display:flex;gap:8px;align-items:center;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:8px}
.live-chat-mini input{flex:1;min-width:0;border-radius:12px!important;background:rgba(0,0,0,.26)!important}
.live-chat-mini button{white-space:nowrap;border-radius:12px!important;padding:10px 14px!important}
.live-private-note{border:1px solid rgba(247,201,72,.22)!important;background:linear-gradient(180deg,rgba(247,201,72,.08),rgba(255,255,255,.035))!important}
.chatbox .msg{animation:fadeInUp .18s ease both}
@keyframes fadeInUp{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(max-width:720px){.live-chat-mini{padding:7px;border-radius:14px}.live-chat-mini input{height:40px;font-size:13px}.live-chat-mini button{height:40px;padding:8px 12px!important}.messenger-fab{bottom:76px;right:14px}.messenger-panel{width:calc(100vw - 22px)!important;right:11px!important;bottom:132px!important}}



/* ===== Bingo Arena Player UI v30: Dark RTL mobile-first styling inspired by uploaded samples ===== */
:root{
  --bb-bg:#15181f;
  --bb-card:#22262d;
  --bb-card2:#2b3038;
  --bb-gold:#ffdf2b;
  --bb-gold2:#d9b314;
  --bb-lime:#eff97b;
  --bb-text:#f7f7f7;
  --bb-muted:#b8beca;
  --bb-border:rgba(255,255,255,.08);
}
body{
  font-family:'Cairo',Tahoma,Arial,sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,223,43,.08), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(107,70,193,.18), transparent 32%),
    var(--bb-bg);
}
.bb-player-screen{
  width:min(100%, 1100px);
  margin:0 auto 84px;
  direction:rtl;
  animation:bbFadeUp .35s ease both;
}
.bb-player-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px;
  margin-bottom:12px;
  border:1px solid var(--bb-border);
  background:linear-gradient(180deg, rgba(43,48,56,.96), rgba(29,33,41,.94));
  border-radius:22px;
  box-shadow:0 14px 36px rgba(0,0,0,.28);
  position:sticky;
  top:10px;
  z-index:10;
  backdrop-filter:blur(14px);
}
.bb-player-top h2{
  margin:2px 0 4px;
  font-size:20px;
  line-height:1.2;
  font-weight:900;
}
.bb-kicker{color:var(--bb-gold);font-weight:900;font-size:12px;letter-spacing:.2px}
.bb-sub{color:var(--bb-muted);font-size:12px}
.bb-wallet{
  min-width:96px;
  padding:10px 12px;
  border-radius:18px;
  text-align:center;
  color:#111;
  background:linear-gradient(135deg, var(--bb-gold), #fff275);
  box-shadow:0 8px 24px rgba(255,223,43,.18);
}
.bb-wallet span{display:block;font-size:11px;font-weight:800}
.bb-wallet b{display:block;font-size:18px;font-weight:1000}
.bb-video-shell{
  background:#050607;
  border:1px solid rgba(255,255,255,.08);
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 18px 45px rgba(0,0,0,.36);
  aspect-ratio:16/9;
  margin-bottom:12px;
}
.bb-video{
  width:100% !important;
  height:100% !important;
  border:0;
  display:block;
  border-radius:0 !important;
  aspect-ratio:auto !important;
}
.bb-video-empty{display:grid;place-items:center;color:var(--bb-muted);background:#050607}
.bb-live-stats{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:10px;
  margin:12px 0;
}
.bb-stat-card{
  border:1px solid var(--bb-border);
  border-radius:20px;
  padding:12px 10px;
  text-align:center;
  background:linear-gradient(180deg, rgba(43,48,56,.95), rgba(29,33,41,.95));
  box-shadow:0 10px 26px rgba(0,0,0,.22);
}
.bb-stat-card span{display:block;color:var(--bb-muted);font-size:12px;font-weight:700}
.bb-stat-card strong{display:block;margin-top:4px;font-size:22px;font-weight:1000;color:var(--bb-gold)}
.bb-panel{
  margin:12px 0;
  padding:14px;
  border-radius:22px;
  border:1px solid var(--bb-border);
  background:linear-gradient(180deg, rgba(43,48,56,.96), rgba(31,35,43,.96));
  box-shadow:0 14px 36px rgba(0,0,0,.24);
}
.bb-panel-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.bb-panel-title h3{margin:0;font-size:17px;font-weight:900}
.bb-panel-title span{
  color:#111;
  background:var(--bb-gold);
  border-radius:999px;
  padding:4px 9px;
  font-size:11px;
  font-weight:900;
}
.bb-balls{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.ball-chip,
.balls .ball-chip{
  width:44px;
  height:44px;
  border-radius:50%;
  display:inline-grid;
  place-items:center;
  color:#111 !important;
  background:radial-gradient(circle at 32% 25%, #fff, var(--bb-gold) 40%, #c29100 100%) !important;
  font-weight:1000;
  box-shadow:inset -5px -6px 10px rgba(0,0,0,.2), 0 8px 16px rgba(0,0,0,.25);
  border:2px solid rgba(255,255,255,.45);
}
.verify-seat-list{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:12px;
}
.verify-seat{
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;
  background:rgba(16,18,24,.58);
  overflow:hidden;
}
.verify-seat summary{
  list-style:none;
  cursor:pointer;
  padding:12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-weight:900;
}
.verify-seat summary::-webkit-details-marker{display:none}
.verify-seat.mine{
  border-color:rgba(255,223,43,.7);
  box-shadow:0 0 0 1px rgba(255,223,43,.25),0 12px 28px rgba(255,223,43,.08);
}
.verify-seat.mine summary{background:linear-gradient(90deg, rgba(255,223,43,.2), transparent)}
.bingo-card{
  background:var(--bb-lime) !important;
  border-radius:18px !important;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.35) !important;
  padding:0 !important;
  gap:0 !important;
  box-shadow:0 8px 22px rgba(0,0,0,.24);
}
.bingo-head{
  background:rgba(0,0,0,.12) !important;
  color:#111 !important;
  font-weight:1000 !important;
  border-bottom:1px solid rgba(0,0,0,.16);
}
.bingo-cell{
  min-height:34px !important;
  border:1px solid rgba(0,0,0,.13) !important;
  background:transparent !important;
  color:#050505 !important;
  font-weight:1000 !important;
  display:grid !important;
  place-items:center !important;
}
.bingo-cell.marked{
  background:radial-gradient(circle, rgba(255,223,43,.95), rgba(255,223,43,.2)) !important;
  position:relative;
}
.bingo-cell.marked span{
  text-decoration:line-through;
  text-decoration-thickness:3px;
}
.bingo-cell.marked:after{
  content:"✓";
  position:absolute;
  top:1px;
  left:5px;
  font-size:12px;
  color:#111;
  font-weight:1000;
}
.bb-chat-mini{
  display:grid;
  grid-template-columns:1fr auto;
  gap:8px;
}
.bb-chat-mini input{
  border-radius:16px;
  background:#171b23;
  border:1px solid rgba(255,255,255,.1);
}
.bb-chat-mini button{
  border-radius:16px;
  background:linear-gradient(135deg,var(--bb-gold),#fff275);
  color:#111;
}
.toast{
  border-radius:16px !important;
  background:linear-gradient(135deg,#242a34,#11151c) !important;
  border:1px solid rgba(255,223,43,.28);
  box-shadow:0 14px 40px rgba(0,0,0,.35);
}
.winner-alert,.prize-alert{
  border-radius:22px !important;
  background:linear-gradient(135deg,var(--bb-gold),#fff27a) !important;
  color:#111 !important;
  box-shadow:0 18px 50px rgba(255,223,43,.26);
}

@keyframes bbFadeUp{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}

@media (max-width: 760px){
  body{overflow-x:hidden}
  .layout{
    display:block !important;
    min-height:100dvh;
    padding-bottom:76px;
  }
  .side{
    position:fixed !important;
    right:0;left:0;bottom:0;top:auto !important;
    height:70px !important;
    z-index:1000;
    padding:6px 8px !important;
    border-left:0 !important;
    border-top:1px solid rgba(255,255,255,.08);
    background:rgba(12,14,20,.94) !important;
    backdrop-filter:blur(16px);
  }
  .side .brand{display:none !important}
  .nav{
    display:flex !important;
    gap:6px;
    overflow-x:auto;
    padding-bottom:2px;
  }
  .nav button{
    min-width:74px;
    height:56px;
    margin:0 !important;
    padding:7px 8px !important;
    border-radius:18px !important;
    text-align:center !important;
    font-size:11px;
    box-shadow:none;
    background:#222733 !important;
  }
  .nav button.active{
    color:#111 !important;
    background:linear-gradient(135deg,var(--bb-gold),#fff275) !important;
  }
  .main{
    padding:10px !important;
    max-width:480px;
    margin:0 auto;
  }
  .top{
    position:sticky;
    top:0;
    z-index:50;
    margin:-10px -10px 10px;
    padding:10px;
    background:rgba(21,24,31,.95);
    backdrop-filter:blur(12px);
  }
  .top h2{font-size:18px;margin:0}
  .top button{padding:9px 11px;border-radius:14px}
  .grid{display:block !important}
  .card,.mini-card,.bb-panel{
    border-radius:18px !important;
    margin-bottom:10px;
  }
  .bb-player-screen{
    width:100%;
    max-width:480px;
    margin-bottom:86px;
  }
  .bb-player-top{
    position:relative;
    top:auto;
    border-radius:20px;
    padding:12px;
  }
  .bb-player-top h2{font-size:17px}
  .bb-wallet{min-width:82px;padding:8px 10px}
  .bb-wallet b{font-size:16px}
  .bb-live-stats{grid-template-columns:repeat(3,1fr);gap:8px}
  .bb-stat-card{padding:10px 6px;border-radius:17px}
  .bb-stat-card strong{font-size:20px}
  .bb-panel{padding:12px}
  .verify-seat-list{grid-template-columns:1fr}
  .bingo-cell{min-height:31px !important;font-size:13px}
  .bingo-head{font-size:12px}
  .ball-chip,.balls .ball-chip{width:39px;height:39px;font-size:12px}
  .bb-chat-mini{grid-template-columns:1fr}
}

/* Dambla 90 visual layout */
.dambla-set{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  direction:ltr;
  margin-top:8px;
}
.dambla-ticket{
  background:#eef77a;
  color:#050505;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.25);
  box-shadow:0 10px 25px rgba(0,0,0,.22);
}
.dambla-ticket-title{
  background:rgba(0,0,0,.16);
  color:#111;
  font-weight:900;
  text-align:center;
  font-size:12px;
  line-height:18px;
}
.dambla-grid{
  display:grid;
  grid-template-columns:repeat(10, minmax(18px, 1fr));
  grid-template-rows:repeat(3, 24px);
}
.dambla-cell{
  border:1px solid rgba(0,0,0,.18);
  display:grid;
  place-items:center;
  font-weight:900;
  font-size:14px;
  position:relative;
}
.dambla-cell.blank{opacity:.55}
.dambla-cell.marked span{
  color:#111;
  position:relative;
}
.dambla-cell.marked:after{
  content:'✓';
  position:absolute;
  inset:auto 3px 2px auto;
  color:#0088ff;
  font-size:20px;
  font-weight:1000;
  transform:rotate(-20deg);
  text-shadow:0 1px 0 rgba(255,255,255,.6);
}
.dambla-board .ball-btn{font-size:12px}
.dambla-preview{font-weight:900;color:var(--bb-gold);margin:4px 0 8px;text-align:center}
@media (max-width:760px){
  .dambla-set{gap:6px}
  .dambla-grid{grid-template-rows:repeat(3, 20px);grid-template-columns:repeat(10, minmax(13px, 1fr));}
  .dambla-cell{font-size:10px}
  .dambla-ticket-title{font-size:10px;line-height:15px}
  .seat-card-choice .dambla-set{transform:scale(.82);transform-origin:top center;margin-bottom:-18px}
}

/* v32 modern game creation layout */
.create-round-page{align-items:start}
.modern-round-form,.modern-round-list{
  background:linear-gradient(180deg, rgba(17,28,43,.96), rgba(9,15,25,.98));
  border:1px solid rgba(120,160,210,.18);
  box-shadow:0 22px 60px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.04);
}
.section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.section-title h3{margin:0;color:#fff;font-weight:900}
.game-type-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:10px 0 18px}
.game-type-card{
  background:linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  padding:18px 14px;
  color:#fff;
  min-height:116px;
  display:grid;
  place-items:center;
  gap:6px;
  cursor:pointer;
  transition:.2s ease;
}
.game-type-card:hover{transform:translateY(-2px);border-color:rgba(255,214,49,.55)}
.game-type-card.active{border-color:#ffd631;box-shadow:0 0 0 2px rgba(255,214,49,.12), 0 12px 35px rgba(255,214,49,.08)}
.game-type-card .game-icon{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#7c3aed,#16a34a);font-weight:900}
.game-type-card b{font-size:17px}
.game-type-card small{color:#aeb7c6;text-align:center}
.form-grid-2,.prize-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.prize-panel{margin:16px 0;padding:14px;border-radius:18px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.035)}
.prize-panel h3{margin:0 0 12px;color:#9be74e;font-weight:900}
.prize-panel.hidden{display:none!important}
.action-row{margin-top:14px}
.action-row button:first-child{min-width:180px;background:linear-gradient(135deg,#55c531,#2b8fdd);box-shadow:0 12px 35px rgba(72,190,70,.25)}
@media(max-width:880px){
  .create-round-page{display:block}
  .modern-round-form,.modern-round-list{margin-bottom:12px}
  .game-type-cards,.form-grid-2,.prize-grid{grid-template-columns:1fr}
}

/* Dambla v32: 30 cells per ticket, visible blanks between numbers */
.dambla-grid{grid-template-columns:repeat(10, minmax(18px, 1fr));grid-template-rows:repeat(3, 24px);gap:0}
.dambla-cell.blank{background:rgba(255,255,255,.16);opacity:1}
.dambla-cell.num{background:rgba(244,250,129,.92)}
.dambla-cell.blank:before{content:'';width:4px;height:4px;border-radius:50%;background:rgba(0,0,0,.12)}


/* v40: player verification layout */
.winner-only .verify-seat{border-color:rgba(255,214,49,.45);background:linear-gradient(145deg,rgba(255,214,49,.08),rgba(255,255,255,.035))}
.win-pill{background:linear-gradient(135deg,#ffd631,#ff9f1c)!important;color:#121212!important}
.winner-prize-tags{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.prize-status-table{display:grid;gap:8px}
.prize-row{display:grid;grid-template-columns:1.2fr .8fr .8fr 1.4fr;gap:8px;align-items:center;padding:11px 12px;border-radius:14px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.08)}
.prize-row.head{font-weight:900;color:#ffd631;background:rgba(255,214,49,.08);border-color:rgba(255,214,49,.18)}
.prize-row.won{background:linear-gradient(135deg,rgba(52,211,153,.14),rgba(255,214,49,.08));border-color:rgba(52,211,153,.35)}
@media(max-width:760px){
  .prize-row{grid-template-columns:1fr;gap:4px}
  .prize-row.head{display:none}
  .prize-row span:nth-child(1){font-weight:900;color:#fff}
  .prize-row span:nth-child(2):before{content:'القيمة: ';color:#9ca3af}
  .prize-row span:nth-child(3):before{content:'الحالة: ';color:#9ca3af}
  .prize-row span:nth-child(4):before{content:'السيت: ';color:#9ca3af}
}


/* v44 winner full seat + compact prizes */
.rich-winner-card,
.full-winner-seat{
  background: linear-gradient(145deg, rgba(22,25,38,.96), rgba(9,12,22,.96));
  border: 1px solid rgba(255,215,80,.22);
  border-radius: 18px;
  padding: 14px;
  margin: 12px 0;
  box-shadow: 0 14px 35px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.03);
}
.winner-headline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
  color:#fff;
}
.strong-seat{
  font-weight:800;
  font-size:15px;
  background:#111827;
  color:#ffd84d;
  border:1px solid rgba(255,216,77,.35);
  border-radius:12px;
  padding:6px 10px;
}
.winner-meta{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:8px;
  color:#d1d5db;
  font-size:13px;
  margin-bottom:10px;
}
.winner-full-seat{
  margin-top:10px;
}
.winner-prize-tags{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:8px 0 12px;
}
.win-pill{
  background:linear-gradient(135deg,#ffd84d,#b8860b)!important;
  color:#111!important;
  font-weight:800;
}
.prize-clean-table{
  width:100%;
  overflow:hidden;
  border-radius:16px;
  border:1px solid rgba(255,216,77,.18);
  background:rgba(8,12,22,.72);
  box-shadow:0 12px 28px rgba(0,0,0,.24);
  margin-top:12px;
}
.prize-clean-row{
  display:grid;
  grid-template-columns: 1.2fr .8fr .9fr;
  gap:8px;
  align-items:center;
  padding:11px 12px;
  border-bottom:1px solid rgba(255,255,255,.06);
  color:#e5e7eb;
  font-size:13px;
}
.prize-clean-row:last-child{border-bottom:0}
.prize-clean-head{
  background:linear-gradient(135deg,rgba(255,216,77,.24),rgba(255,216,77,.06));
  color:#ffd84d;
  font-weight:800;
}
.prize-clean-row.won{
  background:rgba(34,197,94,.10);
}
.prize-clean-row.won .prize-state{
  color:#22c55e;
  font-weight:800;
}
.prize-seat{
  color:#ffd84d;
  font-weight:700;
}
@media(max-width:700px){
  .winner-headline{align-items:flex-start}
  .prize-clean-row{
    grid-template-columns: 1fr .75fr .65fr;
    font-size:12px;
    padding:10px 8px;
  }
  .rich-winner-card,
  .full-winner-seat{padding:10px;border-radius:14px}
  .winner-meta{font-size:12px}
}


/* v45 mobile-first player live layout */
.player-live-pro{
  direction:rtl;
  max-width:1380px;
  margin:0 auto;
  padding:10px 10px 84px;
  color:#eef2f7;
}
.player-live-head{
  display:grid;
  grid-template-columns:160px 1fr 160px;
  gap:12px;
  align-items:center;
  margin-bottom:10px;
}
.live-number-badge,.live-seat-count,.live-round-title{
  background:linear-gradient(145deg,rgba(38,42,50,.96),rgba(17,20,28,.96));
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  padding:11px 14px;
  box-shadow:0 8px 20px rgba(0,0,0,.25);
}
.live-number-badge{display:flex;align-items:center;gap:8px;justify-content:flex-start}
.live-number-badge span,.live-seat-count span{font-size:12px;color:#aeb6c2}
.live-number-badge b{
  background:#ff3131;
  color:#fff;
  border-radius:8px;
  padding:5px 12px;
  font-size:18px;
}
.live-round-title{text-align:center}
.live-round-title small{display:block;color:#aeb6c2;margin-bottom:4px}
.live-round-title strong{
  display:inline-block;
  background:#1ea34a;
  color:#fff;
  border-radius:8px;
  padding:5px 16px;
  font-size:16px;
}
.live-seat-count{display:flex;align-items:center;justify-content:space-between}
.live-seat-count b{
  background:#8b8b8b;
  color:#fff;
  border-radius:8px;
  padding:5px 14px;
}
.live-main-pro{
  display:grid;
  grid-template-columns:minmax(0,1fr) 380px;
  gap:12px;
  margin-bottom:10px;
}
.live-video-pro{
  min-height:340px;
  background:#000;
  border:5px solid #333942;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 14px 35px rgba(0,0,0,.42);
}
.live-video-pro .bb-video,
.live-video-pro iframe,
.live-video-pro .bb-video-empty{
  width:100%;
  height:100%;
  min-height:340px;
  aspect-ratio:16/9;
  background:#000;
}
.player-prize-highlights{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.pbox{
  background:linear-gradient(145deg,#20252e,#12161f);
  border:1px solid rgba(255,255,255,.10);
  border-radius:15px;
  text-align:center;
  padding:20px 12px;
  min-height:160px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:8px;
  box-shadow:0 12px 28px rgba(0,0,0,.34);
}
.pbox b{font-size:30px;font-weight:900}
.pbox span{font-weight:700;color:#dfe5ee}
.pbox strong{font-size:34px;font-weight:900;line-height:1}
.pbox small{color:#d8d8d8}
.pbox.p1 b,.pbox.p1 strong{color:#ff3b3b}
.pbox.p2 b,.pbox.p2 strong{color:#2f95ff}
.balls-strip-pro{
  display:flex;
  gap:7px;
  overflow-x:auto;
  align-items:center;
  padding:8px 10px;
  margin:0 0 10px;
  background:#3a3a3a;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.07);
  scrollbar-width:thin;
}
.player-cards-pro,.player-prizes-pro,.player-winners-pro{
  background:linear-gradient(145deg,rgba(25,29,38,.98),rgba(12,16,25,.98));
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  padding:14px;
  margin-bottom:12px;
  box-shadow:0 12px 30px rgba(0,0,0,.28);
}
.section-title-pro{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin:0 0 12px;
  color:#fff;
}
.section-title-pro h3{margin:0;font-size:18px}
.section-title-pro span{color:#ffd84d;font-size:12px}
.player-seat-panes{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.player-seat-pane{
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  padding:10px;
  background:rgba(0,0,0,.18);
  overflow:hidden;
}
.pane-title{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-bottom:8px;
}
.pane-title span{
  font-size:24px;
  font-weight:900;
}
.pane-p1 .pane-title span{color:#ff4444}
.pane-p2 .pane-title span{color:#2f95ff}
.pane-title b{
  background:#f9f0bf;
  color:#333;
  border-radius:8px;
  padding:2px 8px;
  font-size:13px;
}
.pane-title em{
  color:#9ca3af;
  font-style:normal;
  font-size:12px;
}
.empty-seats{
  text-align:center;
  padding:28px;
  color:#d1d5db;
  background:rgba(255,255,255,.04);
  border-radius:14px;
}
.live-chat-bottom{
  display:flex;
  gap:10px;
  padding:10px;
  border-radius:14px;
  background:#343434;
  margin-bottom:10px;
}
.live-chat-bottom input{
  flex:1;
  background:#171a20;
  border:1px solid rgba(255,255,255,.09);
  border-radius:8px;
  color:#fff;
  padding:12px;
}
.live-chat-bottom button{
  min-width:92px;
  border-radius:50px;
  font-weight:800;
  background:#3da553;
  color:#fff;
  border:0;
}
.live-note-pro{
  background:rgba(255,216,77,.12);
  border:1px solid rgba(255,216,77,.28);
  color:#e9dcc2;
  border-radius:10px;
  padding:10px 14px;
  font-size:13px;
}
.winner-list-hidden{display:none}
.player-winners-pro .verify-seat-list{
  display:block;
}
.player-winners-pro .full-winner-seat{
  max-width:930px;
  margin:12px auto;
}
@media(max-width:900px){
  .player-live-pro{padding:8px 8px 76px}
  .player-live-head{
    grid-template-columns:1fr 1.4fr 1fr;
    gap:6px;
  }
  .live-number-badge,.live-seat-count,.live-round-title{
    padding:8px 9px;
    border-radius:10px;
  }
  .live-round-title strong{font-size:13px;padding:5px 8px}
  .live-number-badge b{font-size:15px;padding:4px 9px}
  .live-main-pro{
    grid-template-columns:1fr;
  }
  .live-video-pro{min-height:190px;border-width:3px}
  .live-video-pro .bb-video,
  .live-video-pro iframe,
  .live-video-pro .bb-video-empty{
    min-height:190px;
  }
  .player-prize-highlights{
    grid-template-columns:1fr 1fr;
  }
  .pbox{
    min-height:86px;
    padding:10px 8px;
    gap:3px;
  }
  .pbox b{font-size:22px}
  .pbox strong{font-size:23px}
  .pbox span,.pbox small{font-size:12px}
  .player-seat-panes{
    grid-template-columns:1fr;
    gap:10px;
  }
  .player-cards-pro,.player-prizes-pro,.player-winners-pro{
    padding:10px;
    border-radius:13px;
  }
  .section-title-pro h3{font-size:16px}
  .pane-title span{font-size:21px}
  .dambla-set{
    gap:6px!important;
  }
  .dambla-ticket{
    border-radius:8px!important;
  }
  .dambla-cell{
    min-height:20px!important;
    font-size:11px!important;
  }
  .bingo-cell{
    min-height:36px!important;
    font-size:13px!important;
  }
  .prize-clean-row{
    grid-template-columns:1fr .72fr .7fr;
    font-size:11px;
    padding:8px 6px;
  }
  .winner-headline{
    gap:6px;
  }
}
@media(max-width:430px){
  .player-live-head{
    grid-template-columns:1fr;
  }
  .live-number-badge,.live-seat-count{justify-content:space-between}
  .balls-strip-pro .ball-chip{
    min-width:32px!important;
    height:32px!important;
    font-size:11px!important;
  }
  .live-chat-bottom{
    gap:6px;
  }
  .live-chat-bottom button{
    min-width:70px;
  }
}


/* v46 ball-based seat purchase */
.buy-seat-page{
  direction:rtl;
  display:grid;
  grid-template-columns:minmax(0,1fr) 420px;
  gap:18px;
  max-width:1400px;
  margin:0 auto;
  padding:8px;
}
.buy-seat-grid-card,.buy-seat-info-card{
  background:#282c31;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.06);
  box-shadow:0 14px 36px rgba(0,0,0,.25);
}
.buy-card-title,.buy-info-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 20px;
  border-right:5px solid #ffdc11;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.buy-card-title h3,.buy-info-head h2{margin:0;color:#fff}
.buy-card-title span{color:#b7bdc7;font-size:13px}
.seat-ball-grid{
  display:grid;
  grid-template-columns:repeat(15, 1fr);
  gap:10px;
  padding:18px;
}
.seat-ball{
  aspect-ratio:1/1;
  border-radius:14px;
  border:0;
  font-size:18px;
  font-weight:900;
  color:#111;
  cursor:pointer;
  transition:.16s transform,.16s filter,.16s box-shadow;
}
.seat-ball.available{
  background:linear-gradient(145deg,#ffe36a,#f4b400);
  box-shadow:inset 0 -4px 0 rgba(0,0,0,.13), 0 4px 12px rgba(0,0,0,.25);
}
.seat-ball.taken,.seat-ball.disabled{
  background:#9d9d9d;
  color:#111;
  cursor:not-allowed;
  filter:grayscale(.2);
}
.seat-ball.available:hover{
  transform:translateY(-2px) scale(1.04);
  box-shadow:0 8px 18px rgba(255,205,0,.25);
}
.buy-seat-info-card{
  overflow:hidden;
}
.status-open{
  background:#1f7a34!important;
  color:#fff!important;
}
.status-closed{
  background:#9b1c1c!important;
  color:#fff!important;
}
.buy-info-line{
  padding:14px 20px;
  display:flex;
  justify-content:space-between;
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.buy-info-line b{color:#ffdc11}
.buy-info-note{
  color:#d6d6d6;
  padding:14px 20px;
  font-size:13px;
  line-height:1.8;
}
.buy-prizes-mini{
  padding:10px 16px 18px;
}
.full{width:calc(100% - 32px);margin:0 16px 16px}
.seat-preview-modal.hidden{display:none}
.seat-preview-modal{
  position:fixed;
  inset:0;
  z-index:9999;
}
.seat-preview-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.62);
  backdrop-filter:blur(2px);
}
.seat-preview-dialog{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:min(1180px,92vw);
  max-height:92vh;
  overflow:auto;
  background:#383b2c;
  color:#fff;
  border-radius:34px;
  border:1px solid rgba(255,255,255,.22);
  box-shadow:0 25px 80px rgba(0,0,0,.55);
  padding:26px 24px 22px;
  text-align:center;
}
.seat-preview-dialog h3{
  margin:0 0 18px;
  font-size:22px;
}
.modal-close{
  position:absolute;
  top:18px;
  left:22px;
  width:34px;
  height:34px;
  border-radius:50%;
  border:0;
  font-size:24px;
  line-height:1;
  background:transparent;
  color:#ddd;
}
.modal-seat-body{
  background:rgba(0,0,0,.12);
  border:1px solid rgba(255,255,255,.28);
  border-radius:18px;
  padding:12px;
}
.modal-seat-body .dambla-ticket,
.modal-seat-body .bingo-card{
  background:#c3cbd8!important;
  color:#000;
}
.modal-actions{
  display:flex;
  justify-content:center;
  gap:12px;
  padding-top:22px;
}
.modal-actions button{
  min-width:120px;
  padding:12px 20px;
  border-radius:6px;
  border:0;
  font-weight:900;
}
.modal-actions .success{
  background:#28c99a;
  color:#fff;
}
.modal-actions .danger{
  background:#ff3b3b;
  color:#fff;
}
@media(max-width:900px){
  .buy-seat-page{
    grid-template-columns:1fr;
    gap:12px;
    padding-bottom:76px;
  }
  .seat-ball-grid{
    grid-template-columns:repeat(10,1fr);
    gap:7px;
    padding:12px;
  }
  .seat-ball{
    border-radius:10px;
    font-size:14px;
  }
  .buy-card-title,.buy-info-head{
    padding:14px;
  }
  .seat-preview-dialog{
    width:96vw;
    border-radius:20px;
    padding:22px 10px 16px;
  }
  .modal-seat-body{
    padding:6px;
    overflow:auto;
  }
}
@media(max-width:430px){
  .seat-ball-grid{
    grid-template-columns:repeat(7,1fr);
    gap:6px;
  }
  .seat-ball{
    font-size:12px;
  }
  .buy-info-line{
    padding:10px 14px;
    font-size:13px;
  }
  .modal-actions button{
    min-width:96px;
    padding:10px 14px;
  }
}


/* v48 previous rounds */
.past-round-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px;
  margin:10px 0;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  background:rgba(255,255,255,.035);
}
.past-summary{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:10px 0 16px;
}
.past-summary span{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  padding:8px 12px;
  border-radius:10px;
  color:#d1d5db;
}
.past-summary b{color:#ffd84d}
@media(max-width:700px){
  .past-round-row{
    flex-direction:column;
    align-items:stretch;
  }
  .past-round-row button{width:100%}
}

/* ===== v49 Professional player lobby + mobile responsive chat ===== */
.dashboard-pro{gap:14px}
.player-home-hero{
  grid-column:span 12;
  display:flex;
  align-items:stretch;
  justify-content:space-between;
  gap:16px;
  padding:22px;
  border:1px solid rgba(255,214,10,.18);
  border-radius:24px;
  background:
    radial-gradient(circle at 12% 18%,rgba(255,214,10,.18),transparent 28%),
    radial-gradient(circle at 86% 0,rgba(126,34,206,.38),transparent 36%),
    linear-gradient(145deg,rgba(19,24,38,.98),rgba(8,12,23,.95));
  box-shadow:0 24px 70px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
  overflow:hidden;
  position:relative;
}
.player-home-hero:after{
  content:"BINGO";
  position:absolute;
  left:18px;top:4px;
  font-size:78px;
  font-weight:900;
  letter-spacing:8px;
  color:rgba(255,255,255,.035);
  pointer-events:none;
}
.hero-kicker{color:#ffdf2b;font-weight:900;font-size:13px}
.player-home-hero h2{margin:5px 0 8px;font-size:32px;color:#fff}
.player-home-hero p{max-width:650px;color:#cbd5e1;margin:0;line-height:1.9}
.hero-wallet{
  min-width:230px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:9px;
  padding:16px;
  border-radius:20px;
  border:1px solid rgba(34,197,94,.28);
  background:linear-gradient(145deg,rgba(22,163,74,.16),rgba(15,23,42,.7));
}
.hero-wallet small{color:#a7f3d0}.hero-wallet strong{font-size:27px;color:#22c55e}.hero-wallet button{width:100%;background:linear-gradient(135deg,#7c3aed,#22c55e)}
.rooms-card{padding:0!important;overflow:hidden;border-radius:22px!important}
.rooms-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px 20px;border-bottom:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03)}
.rooms-head h3{margin:0;color:#fff}.rooms-head span{color:#94a3b8;font-size:13px}
.room-list-row{
  display:grid;
  grid-template-columns:96px minmax(240px,1.4fr) 110px 150px 90px 165px 210px;
  gap:12px;
  align-items:center;
  padding:14px 16px;
  border-bottom:1px solid rgba(255,255,255,.06);
  background:linear-gradient(90deg,rgba(255,255,255,.025),rgba(255,255,255,.01));
}
.room-list-row:hover{background:rgba(255,255,255,.045)}
.room-list-row.is-live{box-shadow:inset 4px 0 0 #facc15;background:linear-gradient(90deg,rgba(250,204,21,.08),rgba(255,255,255,.015))}
.room-list-row.is-buyable{box-shadow:inset 4px 0 0 #22c55e}
.room-title-line{display:flex;align-items:center;gap:8px;color:#ffdf2b;font-weight:900;font-size:16px}.room-no{font-size:12px;color:#94a3b8;border:1px solid rgba(255,255,255,.12);padding:2px 8px;border-radius:999px}.room-prizes-line{margin-top:7px;color:#fb923c;font-weight:800;line-height:1.7}.room-note{margin-top:5px;color:#9ca3af;font-size:12px}.room-type,.room-time,.room-players,.room-status{text-align:center;color:#e5e7eb}.room-type span{display:inline-flex;border-radius:13px;padding:8px 11px;background:rgba(124,58,237,.18);border:1px solid rgba(168,85,247,.25);font-weight:900}.room-time small,.room-players small,.room-status small{display:block;color:#94a3b8;font-size:11px;margin-top:3px}.room-status b{display:block;font-size:13px}.status-dot{display:inline-block;width:10px;height:10px;border-radius:999px;margin-left:6px}.status-dot.green{background:#22c55e;box-shadow:0 0 14px #22c55e}.status-dot.yellow{background:#facc15;box-shadow:0 0 14px #facc15}.status-dot.red{background:#ef4444}.status-dot.gray{background:#64748b}.room-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}.room-actions button{min-width:96px}.live-btn{background:linear-gradient(135deg,#2563eb,#7c3aed)!important}
.support-topic-tabs{display:flex;gap:8px;padding:8px;border-bottom:1px solid rgba(255,255,255,.08)}
.support-topic-tabs button{flex:1;background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.1)!important;color:#cbd5e1!important;box-shadow:none!important}.support-topic-tabs button.active{background:linear-gradient(135deg,#16a34a,#2563eb)!important;color:#fff!important}.support-page-tabs{padding:0 0 12px 0;border-bottom:0}.messenger-panel{border-radius:22px!important;overflow:hidden}.messenger-head{background:linear-gradient(135deg,rgba(17,24,39,.98),rgba(30,41,59,.96));border-bottom:1px solid rgba(255,255,255,.08)}.messenger-input{gap:8px}.messenger-input input{min-height:44px}.float-conv-list{background:rgba(255,255,255,.02)}
.stat-card{overflow:hidden;position:relative}.stat-card:before{content:"";position:absolute;inset:auto -20px -30px auto;width:90px;height:90px;border-radius:50%;background:rgba(255,223,43,.07)}
@media(max-width:1180px){.room-list-row{grid-template-columns:96px minmax(220px,1.3fr) 100px 140px 80px 150px;}.room-actions{grid-column:1/-1;justify-content:flex-start}.room-actions button{flex:1;min-width:130px}}
@media(max-width:760px){
  .dashboard-pro{gap:10px}.player-home-hero{flex-direction:column;padding:16px;border-radius:22px}.player-home-hero:after{font-size:44px;letter-spacing:4px;top:16px}.player-home-hero h2{font-size:23px}.player-home-hero p{font-size:13px}.hero-wallet{min-width:0;width:100%;padding:12px}.hero-wallet strong{font-size:23px}.rooms-head{padding:14px;align-items:flex-start;flex-direction:column}.room-list-row{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin:10px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:linear-gradient(145deg,rgba(18,24,38,.96),rgba(8,13,25,.94));}.room-main-info{order:1}.room-title-line{font-size:15px}.room-prizes-line{font-size:13px}.room-type,.room-time,.room-players,.room-status{text-align:right;display:flex;align-items:center;justify-content:space-between;border-radius:13px;padding:8px 10px;background:rgba(255,255,255,.035)}.room-time small,.room-players small,.room-status small{display:inline;margin:0}.room-actions{order:9;display:grid;grid-template-columns:1fr 1fr;gap:8px}.room-actions button{width:100%;min-height:44px;font-size:13px}.support-topic-tabs{position:sticky;top:0;z-index:2;background:rgba(9,13,25,.94);backdrop-filter:blur(12px)}.messenger-panel{height:72vh!important;bottom:128px!important}.messenger-fab{box-shadow:0 0 0 8px rgba(34,197,94,.12),0 18px 48px rgba(0,0,0,.45)!important}.buy-seat-page{display:block!important}.buy-seat-info-card{position:static!important;margin-top:12px}.seat-ball-grid{grid-template-columns:repeat(5,1fr)!important}.seat-ball{min-height:43px!important;border-radius:12px!important;font-size:13px!important}.seat-preview-dialog{width:calc(100vw - 22px)!important;max-height:86vh;overflow:auto}.player-fixed-page{max-width:100%!important}.player-seat-panes{grid-template-columns:1fr!important}.prize-clean-table{font-size:12px}.top{box-shadow:0 18px 40px rgba(0,0,0,.28)}
}
@media(max-width:420px){.seat-ball-grid{grid-template-columns:repeat(4,1fr)!important}.room-actions{grid-template-columns:1fr}.player-home-hero h2{font-size:21px}.hero-wallet button{min-height:42px}.messenger-panel{width:calc(100vw - 14px)!important;right:7px!important}}

/* v50: remember-password checkbox and visible called-ball counter */
.remember-row{display:flex;align-items:center;gap:8px;margin-top:12px;font-size:14px;color:#d6dde8;cursor:pointer;user-select:none}
.remember-row input{width:18px;height:18px;accent-color:#22c55e}
.called-count-badge{display:inline-flex;align-items:center;gap:10px;margin:8px 0 12px;padding:9px 14px;border:1px solid rgba(250,204,21,.45);border-radius:14px;background:linear-gradient(135deg,rgba(250,204,21,.13),rgba(34,197,94,.08));box-shadow:0 0 18px rgba(250,204,21,.08);color:#e5e7eb}
.called-count-badge span{font-size:13px;color:#aeb8c7}.called-count-badge b{font-size:22px;color:#facc15;line-height:1}
.live-called-count{min-width:120px;text-align:center;background:rgba(15,23,42,.72);border:1px solid rgba(250,204,21,.35);border-radius:16px;padding:10px 12px}.live-called-count span{display:block;color:#aeb8c7;font-size:12px}.live-called-count b{display:block;color:#facc15;font-size:24px;margin-top:3px}
@media(max-width:700px){.live-called-count{width:100%;min-width:0}.called-count-badge{width:100%;justify-content:space-between}.remember-row{font-size:13px}}

/* ===== v52 Professional Landing Login - Dambla Bingo Iraq ===== */
.landing-login{
  min-height:100vh;
  direction:rtl;
  color:#fff;
  overflow-x:hidden;
  background:
    radial-gradient(circle at 50% 4%, rgba(255,205,40,.16), transparent 18%),
    radial-gradient(circle at 20% 20%, rgba(83,36,128,.18), transparent 26%),
    linear-gradient(180deg,#05070b 0%,#0b0f16 42%,#191d24 100%);
  padding:26px 24px 56px;
}
.landing-head{
  width:min(1380px,100%);
  margin:0 auto 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  position:relative;
  z-index:3;
}
.landing-brand{display:flex;align-items:center;gap:14px}.landing-brand b{display:block;font-size:24px;font-weight:1000;letter-spacing:-.5px}.landing-brand small{display:block;color:#aeb5c2;font-size:12px}.ba-balls{display:flex;gap:4px}.ba-balls span{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;color:#111;font-weight:1000;box-shadow:0 8px 24px rgba(0,0,0,.28)}.ba-balls span:nth-child(1){background:#ff4757}.ba-balls span:nth-child(2){background:#ffd42a}.ba-balls span:nth-child(3){background:#22c55e}.landing-tool{background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:999px!important;box-shadow:none!important;color:#fff!important}
.landing-hero{
  width:min(1380px,100%);
  margin:0 auto;
  min-height:330px;
  display:grid;
  place-items:center;
  text-align:center;
  position:relative;
  border-bottom:3px solid #facc15;
  overflow:hidden;
}
.landing-hero:before{
  content:"";
  position:absolute;inset:0;
  background:
    radial-gradient(ellipse at center, rgba(255,255,255,.10), transparent 20%),
    radial-gradient(ellipse at 50% 65%, rgba(93,40,21,.50), transparent 26%),
    linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.38) 50%, rgba(0,0,0,.88));
}
.hero-glow{position:absolute;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(255,194,20,.16),transparent 65%);filter:blur(3px);top:-130px;left:50%;transform:translateX(-50%)}
.hero-content{position:relative;z-index:2;max-width:780px;padding:28px 10px}.stars{color:#ffd31a;font-size:22px;letter-spacing:3px;margin-bottom:6px}.hero-kicker-main{font-weight:900;color:#f4f4f5}.hero-content h1{font-size:64px;line-height:1.05;margin:8px 0 12px;font-weight:1000;text-shadow:0 18px 45px rgba(0,0,0,.65)}.hero-content h1 span{color:#ffd21e}.hero-content p{margin:0 auto 22px;color:#d1d5db;font-size:17px;max-width:620px}.hero-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.hero-actions button,.login-main-btn{background:linear-gradient(135deg,#ffe762,#f4b000)!important;color:#191300!important;border:1px solid rgba(255,236,140,.65)!important;box-shadow:0 14px 32px rgba(244,176,0,.24)!important}.hero-actions .outline{background:rgba(255,255,255,.06)!important;color:#fff!important;border:1px solid rgba(255,255,255,.25)!important;box-shadow:none!important}
.landing-games{
  width:min(1380px,100%);
  margin:22px auto 22px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.game-promo{position:relative;min-height:240px;border-radius:18px;border:1px solid rgba(255,255,255,.14);background:linear-gradient(135deg,#242933,#11151e);overflow:hidden;padding:24px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 22px 50px rgba(0,0,0,.32)}
.game-promo:before{content:"";position:absolute;inset:0;opacity:.72;background:radial-gradient(circle at 22% 50%, rgba(255,211,26,.34), transparent 24%),radial-gradient(circle at 70% 42%, rgba(255,255,255,.10), transparent 32%)}.game-promo:after{content:"BINGO";position:absolute;left:18px;bottom:0;font-size:88px;font-weight:1000;color:rgba(255,255,255,.035);letter-spacing:4px}.game-promo div,.game-promo button{position:relative;z-index:2}.game-promo b{display:block;font-size:22px}.game-promo span{display:block;margin-top:5px;color:#ffd21e;font-weight:900}.game-promo button{width:50px;height:50px;border-radius:50%!important;background:rgba(0,0,0,.28)!important;border:1px solid rgba(255,255,255,.28)!important;box-shadow:none!important}.bingo-promo{border-top:2px solid #ffd21e}.casino-promo:before{background:radial-gradient(circle at 26% 55%, rgba(239,68,68,.33), transparent 24%),radial-gradient(circle at 66% 42%, rgba(255,211,26,.22), transparent 32%)}.live-promo:before{background:radial-gradient(circle at 78% 40%, rgba(59,130,246,.24), transparent 25%),radial-gradient(circle at 35% 52%, rgba(255,211,26,.18), transparent 35%)}
.login-form-pro{
  width:min(560px,100%);
  margin:12px auto 26px;
  padding:22px;
  border-radius:22px;
  background:rgba(6,9,15,.62);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 26px 70px rgba(0,0,0,.38);
  backdrop-filter:blur(18px);
}
.login-form-pro h2{text-align:center;margin:0 0 4px;font-size:28px}.login-form-pro>p{text-align:center;margin:0 0 18px}.login-form-pro label{display:block;margin:12px 0 7px;font-weight:800;color:#e5e7eb}.input-icon{display:flex;align-items:center;gap:10px;background:rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.14);border-radius:14px;padding:0 12px}.input-icon input{border:0!important;background:transparent!important;box-shadow:none!important;padding:14px 4px!important}.eye-btn{width:auto!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:6px!important;color:#d1d5db!important}.login-options{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0}.login-options .remember-row{margin:0;display:flex;align-items:center;gap:7px}.remember-row input{width:auto!important;accent-color:#ffd21e}.link-btn{background:transparent!important;box-shadow:none!important;border:0!important;color:#e5e7eb!important;padding:6px!important}.login-main-btn{width:100%;font-size:16px;margin-top:6px}.social-sep{display:flex;align-items:center;gap:14px;margin:22px 0;color:#aeb5c2;font-size:13px}.social-sep span{height:1px;flex:1;background:rgba(255,255,255,.14)}.social-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.social-btn{background:rgba(255,255,255,.055)!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:none!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important}.social-btn:first-child{color:#fff!important}.social-btn b{font-weight:900}.first-login-note{text-align:center;color:#aeb5c2;font-size:12px;margin:16px 0 0}.faq-pro{width:min(560px,100%);margin:0 auto;display:grid;gap:8px}.faq-pro details{background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.10);border-radius:10px;padding:10px 14px}.faq-pro summary{cursor:pointer;font-weight:900}.faq-pro p{color:#b8beca;margin:10px 0 2px}.toast{z-index:9999!important}
@media(max-width:900px){
 .landing-login{padding:16px 12px 38px}.landing-head{gap:10px}.landing-brand b{font-size:18px}.landing-brand small{font-size:11px}.ba-balls span{width:26px;height:26px;font-size:12px}.landing-tool{font-size:11px!important;padding:9px 10px!important}.landing-hero{min-height:285px;border-radius:0 0 22px 22px}.hero-content h1{font-size:42px}.hero-content p{font-size:14px}.hero-actions button{width:100%;max-width:320px}.landing-games{grid-template-columns:1fr;gap:10px}.game-promo{min-height:130px;padding:18px}.game-promo:after{font-size:54px}.login-form-pro{padding:16px;border-radius:18px}.login-form-pro h2{font-size:23px}.social-row{grid-template-columns:1fr}.social-btn{min-height:44px}.faq-pro{margin-bottom:20px}
}
@media(max-width:420px){.landing-head{align-items:flex-start}.landing-tools{display:none}.hero-content h1{font-size:34px}.stars{font-size:16px}.landing-hero{min-height:245px}.game-promo b{font-size:18px}.login-options{align-items:flex-start;flex-direction:column}.input-icon{padding:0 9px}}

/* v53: Professional Dambla/Bingo called-number styling
   - Purchase preview remains clean because it renders with called=[]
   - During live round / previous results, called numbers turn silver instead of blue check mark
*/
.dambla-set{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(280px, 1fr)) !important;
  gap:18px 8px !important;
  direction:ltr !important;
  align-items:start !important;
  width:100% !important;
}
.dambla-ticket{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
  overflow:visible !important;
  padding:0 2px !important;
}
.dambla-ticket-title{
  background:transparent !important;
  color:#b8beca !important;
  text-align:left !important;
  font-size:16px !important;
  line-height:20px !important;
  font-weight:1000 !important;
  padding:0 0 6px 0 !important;
}
.dambla-grid{
  display:grid !important;
  grid-template-columns:repeat(9, minmax(28px, 1fr)) !important;
  grid-template-rows:repeat(3, 28px) !important;
  gap:0 !important;
  overflow:hidden !important;
  border-radius:18px !important;
  background:#eef77a !important;
  border:1px solid rgba(0,0,0,.22) !important;
}
.dambla-cell,
.dambla-cell.num,
.dambla-cell.blank{
  background:#eef77a !important;
  border:1px solid rgba(0,0,0,.18) !important;
  opacity:1 !important;
  display:grid !important;
  place-items:center !important;
  color:#050505 !important;
  font-weight:1000 !important;
  font-size:16px !important;
  line-height:1 !important;
  position:relative !important;
}
.dambla-cell.blank:before{display:none !important;content:none !important;}
.dambla-cell.marked,
.bingo-cell.marked{
  background:linear-gradient(135deg,#ffffff 0%,#d9dee8 48%,#aeb6c3 100%) !important;
  color:#111827 !important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.75),0 0 18px rgba(216,222,232,.28) !important;
  text-decoration:none !important;
}
.dambla-cell.marked span,
.bingo-cell.marked span{
  color:#111827 !important;
  text-decoration:none !important;
  opacity:1 !important;
  text-shadow:0 1px 0 rgba(255,255,255,.55) !important;
}
.dambla-cell.marked:after,
.bingo-cell.marked:after{
  display:none !important;
  content:none !important;
}
.bingo-cell.flash-mark,
.dambla-cell.flash-mark{
  animation:bbSilverBlink 1.08s ease-in-out 1 !important;
  position:relative;
  z-index:2;
}
@keyframes bbSilverBlink{
  0%,100%{background:linear-gradient(135deg,#ffffff 0%,#d9dee8 48%,#aeb6c3 100%) !important;color:#111827;transform:scale(1)}
  16%,48%,80%{background:linear-gradient(135deg,#fef08a,#facc15,#f59e0b) !important;color:#111827;transform:scale(1.08);box-shadow:0 0 0 7px rgba(250,204,21,.18),0 0 22px rgba(250,204,21,.55) !important}
  32%,64%{background:rgba(15,23,42,.35) !important;color:#f8fafc;transform:scale(1.02);box-shadow:0 0 0 3px rgba(255,255,255,.12) !important}
}
.seat-card-panel .dambla-set,
.active-seat .dambla-set,
.modal-seat-body .dambla-set{
  grid-template-columns:repeat(2, minmax(220px, 1fr)) !important;
}
.modal-seat-body .dambla-cell.marked,
.modal-seat-body .bingo-cell.marked{
  background:linear-gradient(135deg,#ffffff,#d9dee8,#aeb6c3) !important;
}
@media(max-width:900px){
  .dambla-set,
  .seat-card-panel .dambla-set,
  .active-seat .dambla-set,
  .modal-seat-body .dambla-set{
    grid-template-columns:1fr !important;
    gap:12px !important;
  }
  .dambla-grid{
    grid-template-columns:repeat(9, minmax(22px, 1fr)) !important;
    grid-template-rows:repeat(3, 24px) !important;
  }
  .dambla-cell,
  .dambla-cell.num,
  .dambla-cell.blank{
    font-size:13px !important;
  }
  .dambla-ticket-title{font-size:13px !important;line-height:17px !important;}
}

/* v54: Keep Dambla set in exactly two columns everywhere, including purchase preview modal */
.dambla-set,
.seat-card-panel .dambla-set,
.active-seat .dambla-set,
.modal-seat-body .dambla-set{
  grid-template-columns:repeat(2, minmax(220px, 1fr)) !important;
}
@media(max-width:900px){
  .dambla-set,
  .seat-card-panel .dambla-set,
  .active-seat .dambla-set,
  .modal-seat-body .dambla-set{
    grid-template-columns:repeat(2, minmax(150px, 1fr)) !important;
    gap:10px 6px !important;
  }
  .modal-seat-body{
    overflow-x:auto !important;
  }
  .modal-seat-body .dambla-set{
    min-width:320px !important;
  }
  .dambla-grid{
    grid-template-columns:repeat(9, minmax(16px, 1fr)) !important;
  }
}
@media(max-width:380px){
  .dambla-set,
  .seat-card-panel .dambla-set,
  .active-seat .dambla-set,
  .modal-seat-body .dambla-set{
    grid-template-columns:repeat(2, minmax(135px, 1fr)) !important;
  }
  .dambla-cell,
  .dambla-cell.num,
  .dambla-cell.blank{
    font-size:11px !important;
  }
}

/* v57: official prize countdown overlay */
.round-countdown-overlay{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.78);display:grid;place-items:center;backdrop-filter:blur(6px)}
.round-countdown-overlay>div{min-width:min(92vw,420px);border:1px solid rgba(255,215,0,.45);border-radius:24px;background:linear-gradient(180deg,#171717,#070707);box-shadow:0 20px 70px rgba(0,0,0,.55),0 0 40px rgba(255,215,0,.12);padding:30px;text-align:center;color:#fff}
.round-countdown-overlay b{display:block;font-size:22px;margin-bottom:10px;color:#ffdc11}
.round-countdown-overlay span{display:grid;place-items:center;margin:12px auto;width:96px;height:96px;border-radius:50%;background:#ffdc11;color:#000;font-size:48px;font-weight:900;box-shadow:0 0 26px rgba(255,220,17,.35)}
.round-countdown-overlay p{margin:0;color:#d6d6d6}
.bingo-card{grid-template-columns:repeat(5,1fr)}
.seat-preview-card{grid-template-columns:repeat(5,1fr)}

/* v59: unified live broadcast control, instant status indicators */
.live-cam-status{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:74px;padding:8px 10px;border-radius:18px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);cursor:pointer;user-select:none;box-shadow:inset 0 0 0 1px rgba(255,255,255,.04);transition:.18s ease}
.live-cam-status:hover{transform:translateY(-1px);filter:brightness(1.12)}
.live-cam-status .cam-icon{font-size:18px;line-height:1}
.live-cam-status small{font-weight:900;font-size:10px;letter-spacing:.4px}
.live-cam-status .cam-dot{width:9px;height:9px;border-radius:50%;background:#777;box-shadow:0 0 0 rgba(0,0,0,0)}
.live-cam-status.online{background:linear-gradient(135deg,rgba(255,33,33,.18),rgba(255,220,17,.10));border-color:rgba(255,42,42,.45);color:#fff}
.live-cam-status.online .cam-dot{background:#ff2424;animation:livePulse 1s infinite;box-shadow:0 0 14px rgba(255,36,36,.9)}
.live-cam-status.buy{background:linear-gradient(135deg,rgba(255,220,17,.18),rgba(255,255,255,.05));border-color:rgba(255,220,17,.35);color:#ffdc11}
.live-cam-status.buy .cam-dot{background:#ffdc11;box-shadow:0 0 10px rgba(255,220,17,.65)}
@keyframes livePulse{0%{transform:scale(.9);opacity:.65}50%{transform:scale(1.25);opacity:1}100%{transform:scale(.9);opacity:.65}}
.room-list-row>.live-cam-status{align-self:center;margin-inline-end:8px;flex-shrink:0}
.purchase-cta{align-self:center;justify-self:center;min-width:92px;padding:9px 10px;border-radius:18px!important;background:linear-gradient(135deg,#ffdc11,#fb923c)!important;color:#111827!important;font-weight:900!important;box-shadow:0 10px 24px rgba(251,146,60,.18)!important}
.round-closed-badge{align-self:center;justify-self:center;min-width:92px;text-align:center;padding:9px 10px;border-radius:18px;border:1px solid rgba(148,163,184,.25);background:rgba(148,163,184,.08);color:#cbd5e1;font-size:12px;font-weight:900}
.room-list-row>.purchase-cta,.room-list-row>.round-closed-badge{margin-inline-end:8px;flex-shrink:0}

.admin-broadcast-console{display:block;width:100%}
.admin-live-topbar{position:sticky;top:8px;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;margin-bottom:14px;border-radius:22px;background:linear-gradient(135deg,rgba(10,10,10,.94),rgba(35,31,12,.94));border:1px solid rgba(255,220,17,.28);box-shadow:0 12px 45px rgba(0,0,0,.32),0 0 28px rgba(255,220,17,.08);backdrop-filter:blur(10px)}
.admin-round-meta{display:flex;align-items:center;gap:12px;min-width:240px}
.admin-round-meta div{display:flex;flex-direction:column;gap:2px}.admin-round-meta small{color:#ffdc11;font-weight:800}.admin-round-meta b{font-size:18px;color:#fff}.admin-round-meta em{font-style:normal;color:#aaa;font-size:12px}
.admin-live-stats{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.admin-live-stats span{padding:8px 10px;border-radius:14px;background:rgba(255,255,255,.06);color:#ddd;font-size:12px}.admin-live-stats b{color:#ffdc11;font-size:15px}
.admin-live-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.admin-live-actions button{margin:0}
.admin-live-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px}.admin-live-grid>.card{margin:0}.admin-video-card{grid-column:span 7}.admin-ball-card{grid-column:span 5}.admin-board-card{grid-column:span 12}.admin-called-card,.admin-winners-card,.admin-prizes-card{grid-column:span 4}.admin-winning-seats,.admin-active-seats,.admin-chat-card{grid-column:span 12}
.no-cards-msg{padding:18px;border-radius:18px;border:1px dashed rgba(255,220,17,.35);background:rgba(255,220,17,.07);color:#ffdc11;text-align:center;font-weight:800}
@media(max-width:900px){.admin-live-topbar{position:relative;top:auto;align-items:stretch;flex-direction:column}.admin-round-meta{min-width:0}.admin-live-stats,.admin-live-actions{justify-content:stretch}.admin-live-actions button{flex:1 1 130px}.admin-video-card,.admin-ball-card,.admin-called-card,.admin-winners-card,.admin-prizes-card,.admin-board-card,.admin-winning-seats,.admin-active-seats,.admin-chat-card{grid-column:1/-1}.room-list-row>.live-cam-status,.room-list-row>.purchase-cta,.room-list-row>.round-closed-badge{order:-1;width:100%;margin:0 0 8px 0}.live-cam-status{justify-content:center}}


/* v61 UX cleanup and realtime polish */
.player-balance-card{max-width:420px;background:linear-gradient(135deg,rgba(34,197,94,.12),rgba(15,23,42,.96));border-color:rgba(34,197,94,.25)}
.buy-bottom-btn{min-width:170px;background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff;font-weight:900}
.round-buyable-badge{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid rgba(34,197,94,.35);background:rgba(34,197,94,.12);color:#22c55e;border-radius:999px;padding:9px 13px;font-weight:900;white-space:nowrap}
.drawers-chat-pro{margin:16px 0;padding:16px;border:1px solid rgba(255,255,255,.09);border-radius:18px;background:linear-gradient(145deg,rgba(15,23,42,.92),rgba(8,13,25,.9))}
.live-chat-inline{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:10px}
.drawers-chatbox{height:160px;margin-top:10px;background:rgba(0,0,0,.18);border-radius:16px;padding:10px;overflow:auto}
.dambla-ticket-title:empty{display:none!important}
.room-list-row .room-actions{align-self:stretch}
@media(max-width:720px){.live-chat-inline{grid-template-columns:1fr}.drawers-chatbox{height:130px}.player-balance-card{max-width:none}.buy-bottom-btn{width:100%}}

/* v63: return to v62 dark identity + compact responsive round cards */
.v62-rooms{background:rgba(10,15,28,.78);border-color:rgba(255,255,255,.08)}
.round-compact-card{position:relative;display:grid;grid-template-columns:96px 1.25fr 1fr 1fr 1fr 1fr 1fr;gap:0;align-items:stretch;overflow:hidden;margin:12px 0;border-radius:18px;border:1px solid rgba(255,255,255,.10);background:linear-gradient(145deg,rgba(17,24,39,.96),rgba(7,12,23,.96));box-shadow:0 18px 46px rgba(0,0,0,.22);cursor:pointer;transition:.18s ease}
.round-compact-card:before{content:'';position:absolute;right:0;top:0;bottom:0;width:5px;background:#94a3b8}.round-compact-card.buy:before{background:#22c55e}.round-compact-card.live:before{background:#ef4444}.round-compact-card:hover{transform:translateY(-1px);border-color:rgba(251,191,36,.28);box-shadow:0 24px 58px rgba(0,0,0,.32)}
.round-chip-90{align-self:center;justify-self:center;width:64px;height:64px;border-radius:999px;background:radial-gradient(circle at 30% 25%,#fff,#ef4444 60%,#991b1b);display:grid;place-items:center;color:#111;font-weight:900;font-size:24px;border:3px solid rgba(255,255,255,.2);box-shadow:0 10px 25px rgba(239,68,68,.28)}
.round-title-box{padding:14px 18px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;border-left:1px solid rgba(255,255,255,.08)}
.round-title-box h3{margin:0;font-size:22px;line-height:1.15}.round-subtitle{color:#94a3b8;font-weight:900;font-size:13px}.round-state-badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:900}.round-state-badge.buy{background:rgba(34,197,94,.16);color:#86efac;border:1px solid rgba(34,197,94,.35)}.round-state-badge.live{background:rgba(239,68,68,.16);color:#fecaca;border:1px solid rgba(239,68,68,.35)}
.round-metric{min-height:86px;padding:13px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border-left:1px solid rgba(255,255,255,.08)}.round-metric span{font-size:12px;color:#cbd5e1;font-weight:800}.round-metric b{font-size:20px;color:#f8fafc;margin-top:5px}.round-metric small{font-size:11px;color:#94a3b8;margin-top:2px}.round-metric .round-countdown,.round-countdown{color:#fbbf24;font-weight:900;letter-spacing:.5px}.round-metric.time b{color:#e5e7eb}
.round-prize-strip{grid-column:1/-1;border-top:1px solid rgba(255,255,255,.08);padding:9px 18px;text-align:center;color:#fbbf24;font-size:13px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:rgba(0,0,0,.11)}.round-admin-actions{grid-column:1/-1;display:flex;gap:8px;justify-content:flex-end;padding:10px 14px;border-top:1px solid rgba(255,255,255,.08)}

/* v63: dark v62 seat purchase page */
.v62-buy-page{max-width:1180px;margin:auto}.v62-buy-header{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin-bottom:14px}.v62-buy-header h2{margin:0;text-align:center}.v62-buy-header p{margin:4px 0 0;text-align:center;color:#94a3b8;font-weight:800}.status-open{background:rgba(34,197,94,.16)!important;color:#86efac!important;border-color:rgba(34,197,94,.35)!important}.status-closed{background:rgba(148,163,184,.12)!important;color:#cbd5e1!important}
.v62-top-info,.v62-section-card,.v62-countdown-card,.v62-seat-grid-card{background:linear-gradient(145deg,rgba(17,24,39,.96),rgba(7,12,23,.96));border:1px solid rgba(255,255,255,.10);border-radius:20px;box-shadow:0 18px 46px rgba(0,0,0,.22);margin:12px 0}.v62-top-info{display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden}.v62-mini-metric{padding:16px;text-align:center;border-left:1px solid rgba(255,255,255,.08)}.v62-mini-metric:last-child{border-left:0}.v62-mini-metric span{display:block;color:#cbd5e1;font-weight:800;font-size:12px}.v62-mini-metric b{display:block;margin:7px 0;color:#f8fafc;font-size:22px}.v62-mini-metric small{color:#94a3b8}
.v62-section-card{padding:18px}.v62-section-card h3{text-align:center;margin:0 0 14px}.v62-prize-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:0}.v62-prize-card{padding:14px;text-align:center;border-left:1px solid rgba(255,255,255,.08)}.v62-prize-card:last-child{border-left:0}.v62-prize-card .prize-ico{display:block;font-size:28px;margin-bottom:7px}.v62-prize-card b{display:block;color:#e5e7eb;font-size:13px}.v62-prize-card strong{display:block;margin:8px 0;color:#fbbf24;font-size:22px}.v62-prize-card small{color:#cbd5e1}
.v62-countdown-card{text-align:center;padding:18px;background:linear-gradient(145deg,rgba(23,28,36,.96),rgba(9,13,23,.96))}.v62-countdown-card .count-title{font-weight:900;color:#e5e7eb}.v62-countdown-card .count-title span{color:#60a5fa}.v62-countdown-card .count-main{font-size:40px;letter-spacing:4px;color:#fbbf24;font-weight:900;margin:10px 0}.v62-countdown-card p{margin:0;color:#cbd5e1;font-size:13px}
.v62-seat-grid-card{padding:18px}.v62-seat-grid-card .buy-card-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.seat-legend{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin:8px 0 14px;color:#cbd5e1;font-size:13px}.seat-legend .lg{display:inline-block;width:12px;height:12px;border-radius:50%;margin-left:5px;background:#fbbf24}.seat-legend .selected{background:#22c55e}.seat-legend .taken{background:#ef4444}.seat-legend .reserved{background:#9ca3af}
.v62-seat-ball-grid{display:grid!important;grid-template-columns:repeat(15,minmax(42px,1fr))!important;gap:8px!important;max-height:none!important;padding:6px 0}.v62-seat-ball-grid .seat-ball{min-height:36px;border-radius:10px;background:linear-gradient(180deg,#fde047,#f59e0b)!important;color:#111827!important;font-weight:900!important;padding:0!important;box-shadow:inset 0 -2px 0 rgba(0,0,0,.16),0 8px 18px rgba(245,158,11,.10)!important}.v62-seat-ball-grid .seat-ball.taken{background:linear-gradient(180deg,#ef4444,#b91c1c)!important;color:#fff!important}.v62-seat-ball-grid .seat-ball.disabled{opacity:.72}.v62-buy-footer{display:grid;grid-template-columns:220px 1fr 1fr 180px;gap:14px;align-items:center;margin-top:16px;padding-top:14px;border-top:1px solid rgba(255,255,255,.08)}.v62-buy-footer>div{text-align:center}.v62-buy-footer small{display:block;color:#94a3b8}.v62-buy-footer b{display:block;color:#fbbf24;font-size:18px;margin-top:4px}

@media(max-width:1050px){.round-compact-card{grid-template-columns:70px 1.2fr repeat(5,1fr);gap:0}.round-chip-90{width:50px;height:50px;font-size:18px}.round-title-box{padding:12px}.round-title-box h3{font-size:17px}.round-metric{padding:10px 8px;min-height:76px}.round-metric b{font-size:16px}.round-metric span{font-size:10px}.round-prize-strip{font-size:11px}.v62-seat-ball-grid{grid-template-columns:repeat(15,minmax(28px,1fr))!important;gap:5px!important}.v62-seat-ball-grid .seat-ball{min-height:28px;font-size:11px!important}.v62-buy-footer{grid-template-columns:1fr 1fr}.v62-countdown-card .count-main{font-size:32px}}
@media(max-width:650px){.round-compact-card{grid-template-columns:42px 1.25fr repeat(5, minmax(38px,1fr));border-radius:14px;margin:8px 0}.round-chip-90{width:36px;height:36px;font-size:14px;border-width:2px}.round-title-box{padding:8px 7px}.round-title-box h3{font-size:13px}.round-subtitle{font-size:9px}.round-state-badge{font-size:8px;padding:3px 6px}.round-metric{min-height:58px;padding:6px 3px}.round-metric span{font-size:8px}.round-metric b{font-size:10px;margin-top:2px}.round-metric small{font-size:7px}.round-prize-strip{font-size:8px;padding:6px 8px}.rooms-head h3{font-size:16px}.rooms-head span{font-size:10px}.v62-buy-page{min-width:360px}.v62-buy-header{grid-template-columns:1fr auto;gap:8px}.v62-buy-header .secondary{grid-column:1/-1;justify-self:start}.v62-buy-header h2{font-size:16px}.v62-top-info{grid-template-columns:repeat(4,1fr)}.v62-mini-metric{padding:8px 4px}.v62-mini-metric span{font-size:8px}.v62-mini-metric b{font-size:12px}.v62-mini-metric small{font-size:8px}.v62-section-card,.v62-countdown-card,.v62-seat-grid-card{border-radius:14px;padding:10px}.v62-prize-cards{grid-template-columns:repeat(5,1fr)}.v62-prize-card{padding:8px 4px}.v62-prize-card .prize-ico{font-size:17px}.v62-prize-card b{font-size:8px}.v62-prize-card strong{font-size:12px}.v62-prize-card small{font-size:8px}.v62-countdown-card .count-main{font-size:24px}.v62-countdown-card p{font-size:10px}.v62-seat-ball-grid{grid-template-columns:repeat(15,minmax(18px,1fr))!important;gap:3px!important}.v62-seat-ball-grid .seat-ball{min-height:22px;border-radius:6px;font-size:8px!important}.v62-buy-footer{grid-template-columns:1fr 1fr;font-size:11px;gap:8px}.v62-buy-footer button{padding:9px 8px;font-size:11px}.seat-legend{gap:8px;font-size:9px}.v62-seat-grid-card .buy-card-title h3{font-size:14px}.v62-seat-grid-card .buy-card-title span{font-size:9px}}


/* v64: organized 150-seat grid, real sale countdown, no P labels, numeric called balls */
.v62-seat-ball-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(54px,1fr))!important;
  gap:10px!important;
  width:100%!important;
  align-items:stretch!important;
  overflow:visible!important;
}
.v62-seat-ball-grid .seat-ball{
  min-width:0!important;
  width:100%!important;
  min-height:42px!important;
  border-radius:12px!important;
  font-size:14px!important;
  line-height:1!important;
}
.buy-seat-page.sale-ended .v62-seat-ball-grid .seat-ball.available{
  filter:grayscale(.75);
  opacity:.55;
  cursor:not-allowed!important;
}
.round-state-badge.closed{
  background:rgba(148,163,184,.13);
  color:#cbd5e1;
  border:1px solid rgba(148,163,184,.32);
}
.pane-title{justify-content:space-between!important;gap:10px!important;}
.pane-title b{margin-inline-end:auto!important;}
.pane-title span{display:none!important;}
.ball-chip.ball-visual.number-only{
  display:inline-grid!important;
  place-items:center!important;
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  padding:0!important;
}
.ball-chip.ball-visual.number-only b{display:none!important;}
.ball-chip.ball-visual.number-only strong{font-size:18px!important;line-height:1!important;}
@media(max-width:1050px){
  .v62-seat-ball-grid{grid-template-columns:repeat(auto-fill,minmax(42px,1fr))!important;gap:7px!important;}
  .v62-seat-ball-grid .seat-ball{min-height:36px!important;font-size:12px!important;border-radius:10px!important;}
}
@media(max-width:650px){
  .v62-buy-page{min-width:0!important;width:100%!important;overflow-x:hidden!important;}
  .v62-seat-ball-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important;}
  .v62-seat-ball-grid .seat-ball{min-height:38px!important;font-size:12px!important;border-radius:9px!important;}
  .v62-top-info{grid-template-columns:repeat(2,1fr)!important;}
  .v62-prize-cards{grid-template-columns:repeat(2,1fr)!important;}
  .ball-chip.ball-visual.number-only{width:38px!important;height:38px!important;min-width:38px!important;}
  .ball-chip.ball-visual.number-only strong{font-size:15px!important;}
}
@media(max-width:390px){
  .v62-seat-ball-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
}

/* v65: live winner notice + live camera shortcut on player round card */
.round-live-cam-action{
  display:inline-flex;align-items:center;gap:5px;margin-inline-start:6px;
  padding:5px 10px;border-radius:999px;font-size:12px;font-weight:900;
  color:#fff;background:linear-gradient(135deg,#ef4444,#f59e0b);
  border:1px solid rgba(255,255,255,.18);box-shadow:0 0 18px rgba(239,68,68,.28);
  animation:livePulseSoft 1.2s infinite;white-space:nowrap
}
@keyframes livePulseSoft{0%,100%{filter:brightness(1);transform:scale(1)}50%{filter:brightness(1.25);transform:scale(1.03)}}
.live-winner-notice{
  margin:12px 0 0;padding:13px 16px;border-radius:18px;
  background:linear-gradient(135deg,rgba(250,204,21,.16),rgba(239,68,68,.12));
  border:1px solid rgba(250,204,21,.35);box-shadow:0 14px 38px rgba(0,0,0,.22);
  color:#fff
}
.live-winner-notice.hidden{display:none!important}
.winner-notice-title{font-weight:1000;color:#facc15;margin-bottom:8px;font-size:15px}
.winner-alert-block{display:grid;gap:5px;margin:5px 0;padding:8px 10px;border-radius:14px;background:rgba(15,23,42,.58);border:1px solid rgba(255,255,255,.08)}
.winner-alert-block b{color:#facc15}.winner-alert-block small{color:#cbd5e1}.split-note{display:block;color:#fde68a;font-weight:900;font-size:11px;margin-top:3px}
.prize-clean-row .prize-seat b{display:inline-flex;margin:1px 2px;padding:3px 7px;border-radius:999px;background:rgba(250,204,21,.14);border:1px solid rgba(250,204,21,.25);color:#fde68a}
@media(max-width:650px){.round-live-cam-action{font-size:8px;padding:3px 6px;margin-inline-start:3px}.live-winner-notice{padding:10px 11px;border-radius:14px}.winner-alert-block{padding:7px 8px}.winner-notice-title{font-size:12px}}


/* v66: dark/black themes and language controls */
html[data-theme="dark"]{--bg:#080b16;--panel:#11182b;--panel2:#16213a;--text:#f5f7fb;--muted:#9aa8c7;--line:rgba(255,255,255,.08);--brand:#7c3aed;--brand2:#06b6d4;--gold:#fbbf24;--danger:#ef4444;--ok:#22c55e}
html[data-theme="black"]{--bg:#01030a;--panel:#060913;--panel2:#0a1020;--text:#ffffff;--muted:#9ca3af;--line:rgba(255,255,255,.10);--brand:#f59e0b;--brand2:#eab308;--gold:#facc15;--danger:#ef4444;--ok:#22c55e}
html[data-theme="black"] body{background:radial-gradient(circle at top left,#111827,#01030a 45%,#000 85%)}
html[data-theme="black"] .card,html[data-theme="black"] .login-card,html[data-theme="black"] .side{background:rgba(4,7,14,.92)!important;border-color:rgba(250,204,21,.16)!important}
html[data-theme="black"] button:not(.danger):not(.ghost):not(.secondary){background:linear-gradient(135deg,#f59e0b,#ca8a04);color:#111827}
html[data-theme="black"] .nav button.active{background:linear-gradient(135deg,#f59e0b,#854d0e);color:#fff}
.ba-prefs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.ba-prefs label{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);background:rgba(255,255,255,.045);border:1px solid var(--line);border-radius:999px;padding:6px 8px;white-space:nowrap}
.ba-prefs select{width:auto;min-width:92px;padding:6px 8px;border-radius:999px;background:#0b1020;color:var(--text);font-size:12px}
html[dir="ltr"] body{text-align:left}
html[dir="ltr"] .side{border-left:0;border-right:1px solid var(--line)}
html[dir="ltr"] .nav button,html[dir="ltr"] th,html[dir="ltr"] td{text-align:left}
html[dir="ltr"] .toast{left:auto;right:18px}
html[dir="ltr"] .messenger-fab{right:auto;left:24px}
html[dir="ltr"] .messenger-panel{right:auto;left:24px}
html[dir="ltr"] .bingo-cell.marked::after{left:auto;right:8px}
.landing-tools .ba-prefs{justify-content:center}
@media(max-width:900px){.top{align-items:flex-start;flex-direction:column}.ba-prefs{justify-content:flex-start}.ba-prefs label{font-size:11px}.ba-prefs select{min-width:82px;font-size:11px}}

/* ===== v67 Enterprise: refined themes, barcode scanner, reports, smart chat ===== */
html[data-theme="normal"]{
  --bg:#202533;--panel:#2b3245;--panel2:#35405a;--text:#ffffff;--muted:#d7deee;--line:rgba(255,255,255,.16);--brand:#d6a52a;--brand2:#16a0b8;--gold:#ffe26a;--danger:#ef4444;--ok:#22c55e;
}
html[data-theme="normal"] body{
  background:radial-gradient(circle at 18% 0%,rgba(255,226,106,.16),transparent 34%),linear-gradient(135deg,#263044,#171c28)!important;
}
html[data-theme="normal"] .card,
html[data-theme="normal"] .login-card,
html[data-theme="normal"] .messenger-panel{
  background:linear-gradient(145deg,rgba(53,64,90,.96),rgba(35,42,60,.94))!important;
  border-color:rgba(255,255,255,.18)!important;
}
html[data-theme="dark"]{
  --bg:#080b16;--panel:#11182b;--panel2:#16213a;--text:#f5f7fb;--muted:#aab6d2;--line:rgba(255,255,255,.10);--brand:#d6a52a;--brand2:#8f4b18;--gold:#f4c542;
}
html[data-theme="black"]{
  --bg:#020306;--panel:#070a11;--panel2:#0b0f19;--text:#f8fafc;--muted:#98a2b3;--line:rgba(255,255,255,.08);--brand:#d6a52a;--brand2:#8f4b18;--gold:#ffd84d;
}
html[data-theme="black"] body{background:#020306!important}
html[data-theme="black"] .card,html[data-theme="black"] .side,html[data-theme="black"] .top{background:linear-gradient(145deg,#080b12,#020306)!important;border-color:rgba(255,216,77,.10)!important}
.ba-prefs{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.ba-prefs label{font-size:12px;color:var(--muted);display:flex;gap:6px;align-items:center}.ba-prefs select{min-width:118px;padding:8px 10px;border-radius:12px;background:var(--panel2);border-color:var(--line)}
html[dir="ltr"] body{text-align:left}html[dir="ltr"] .nav button,html[dir="ltr"] th,html[dir="ltr"] td{text-align:left}html[dir="ltr"] .side{border-left:0;border-right:1px solid var(--line)}
.barcode-control{border-color:rgba(34,197,94,.22)!important;background:linear-gradient(145deg,rgba(34,197,94,.10),rgba(17,24,43,.88))!important}.barcode-control h3{color:#bbf7d0}.barcode-hidden-input{position:absolute;left:-9999px;width:1px;height:1px;opacity:.01}.reports-page .stat{font-size:24px}.reports-page table{font-size:12px}.reports-page td,.reports-page th{vertical-align:top}
.conv.locked,.mini-conv.locked{border-color:rgba(251,191,36,.45)!important;background:rgba(251,191,36,.08)!important}.assigned-badge{display:inline-flex;border-radius:999px;padding:4px 8px;background:rgba(251,191,36,.16);color:#fde68a;border:1px solid rgba(251,191,36,.28);font-size:11px;margin-inline-start:6px}.support-read-line{font-size:11px;color:var(--muted);margin-top:5px}.release-chat-btn{padding:7px 10px!important;border-radius:10px!important;background:rgba(255,255,255,.08)!important;border:1px solid var(--line)!important}
.admin-live-view .stream-control-card + .grid,.live-broadcast-split{align-items:start}.stream-chat-side{max-height:520px;overflow:auto}.stream-chat-side .chatbox{height:430px}.winner-card .winner-headline b:empty{display:none}
@media(min-width:980px){.admin-live-view .messenger.stream-side,.stream-side{position:sticky;top:90px}.admin-live-view .video{min-height:360px}.live-side-by-side{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(340px,.55fr);gap:16px}}
@media(max-width:760px){.ba-prefs{gap:6px}.ba-prefs label{font-size:10px}.ba-prefs select{min-width:88px;font-size:11px;padding:6px}.reports-page .stat{font-size:18px}.barcode-control .row{gap:6px}.barcode-control button{font-size:12px;padding:9px}.stream-chat-side .chatbox{height:240px}}
