/* CQ-style lobby table cards + live table view (own artwork) */
html.rb body #tbls .tile{position:relative;min-height:140px!important;padding:96px 10px 10px!important;border-radius:14px!important;border:2px solid #d9b553!important;background:var(--art) top/100% auto no-repeat,linear-gradient(#10261a,#07140c)!important;font:700 16px Oswald,sans-serif!important;letter-spacing:1px;color:#fff!important;text-align:left!important;box-shadow:0 6px 14px #000c!important;overflow:hidden}
html.rb body #tbls .tile small{display:block;font:500 12px Oswald,sans-serif;color:#7fe08a}
html.rb body #tbls .tile:after{content:"PLAY";position:absolute;right:10px;bottom:10px;padding:4px 12px;border-radius:999px;background:linear-gradient(#e9c75e,#a37a22);color:#1a0d00;font:700 12px Oswald}
#tbls .tile[data-t^="bj"]{--art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20200%20110%22%3E%3Cdefs%3E%3CradialGradient%20id%3D%22f%22%20cx%3D%2250%25%22%20cy%3D%2240%25%22%20r%3D%2270%25%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%232f8e4c%22/%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%230b3a1c%22/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect%20width%3D%22200%22%20height%3D%22110%22%20fill%3D%22%23050805%22/%3E%3Cpath%20d%3D%22M0%200H200V20C200%2085%20155%20110%20100%20110S0%2085%200%2020Z%22%20fill%3D%22%233b1d0b%22/%3E%3Cpath%20d%3D%22M8%200H192V20C192%2078%20150%20102%20100%20102S8%2078%208%2020Z%22%20fill%3D%22url%28%23f%29%22%20stroke%3D%22%23d9b553%22%20stroke-width%3D%221.5%22/%3E%3Crect%20x%3D%2280%22%20y%3D%220%22%20width%3D%2240%22%20height%3D%229%22%20fill%3D%22%231a0c04%22%20stroke%3D%22%23d9b553%22/%3E%3Cpath%20d%3D%22M45%2048Q100%2080%20155%2048%22%20fill%3D%22none%22%20stroke%3D%22%23e9c75e88%22%20stroke-width%3D%225%22/%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23e9c75e%22%20stroke-width%3D%221.5%22%3E%3Ccircle%20cx%3D%2265%22%20cy%3D%2280%22%20r%3D%228%22/%3E%3Ccircle%20cx%3D%22100%22%20cy%3D%2288%22%20r%3D%228%22/%3E%3Ccircle%20cx%3D%22135%22%20cy%3D%2280%22%20r%3D%228%22/%3E%3C/g%3E%3Crect%20x%3D%22160%22%20y%3D%2210%22%20width%3D%2222%22%20height%3D%2214%22%20rx%3D%222%22%20fill%3D%22%23111%22%20stroke%3D%22%23d9b553%22%20transform%3D%22rotate%28-12%20170%2017%29%22/%3E%3C/svg%3E")}#tbls .tile[data-t^="holdem"]{--art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20200%20110%22%3E%3Cdefs%3E%3CradialGradient%20id%3D%22f%22%20cx%3D%2250%25%22%20cy%3D%2240%25%22%20r%3D%2270%25%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%232f8e4c%22/%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%230b3a1c%22/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect%20width%3D%22200%22%20height%3D%22110%22%20fill%3D%22%23050805%22/%3E%3Crect%20x%3D%226%22%20y%3D%228%22%20width%3D%22188%22%20height%3D%2294%22%20rx%3D%2247%22%20fill%3D%22%233b1d0b%22/%3E%3Crect%20x%3D%2214%22%20y%3D%2216%22%20width%3D%22172%22%20height%3D%2278%22%20rx%3D%2239%22%20fill%3D%22url%28%23f%29%22%20stroke%3D%22%23d9b553%22%20stroke-width%3D%221.5%22/%3E%3Crect%20x%3D%2240%22%20y%3D%2232%22%20width%3D%22120%22%20height%3D%2246%22%20rx%3D%2223%22%20fill%3D%22none%22%20stroke%3D%22%23e9c75e66%22/%3E%3Cg%20fill%3D%22%23fff%22%20stroke%3D%22%23999%22%20stroke-width%3D%22.5%22%3E%3Crect%20x%3D%2272%22%20y%3D%2246%22%20width%3D%2210%22%20height%3D%2215%22%20rx%3D%221.5%22/%3E%3Crect%20x%3D%2285%22%20y%3D%2246%22%20width%3D%2210%22%20height%3D%2215%22%20rx%3D%221.5%22/%3E%3Crect%20x%3D%2298%22%20y%3D%2246%22%20width%3D%2210%22%20height%3D%2215%22%20rx%3D%221.5%22/%3E%3Crect%20x%3D%22111%22%20y%3D%2246%22%20width%3D%2210%22%20height%3D%2215%22%20rx%3D%221.5%22/%3E%3Crect%20x%3D%22124%22%20y%3D%2246%22%20width%3D%2210%22%20height%3D%2215%22%20rx%3D%221.5%22/%3E%3C/g%3E%3C/svg%3E")}#tbls .tile[data-t^="roulette"]{--art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20200%20110%22%3E%3Cdefs%3E%3CradialGradient%20id%3D%22f%22%20cx%3D%2250%25%22%20cy%3D%2240%25%22%20r%3D%2270%25%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%232f8e4c%22/%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%230b3a1c%22/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect%20width%3D%22200%22%20height%3D%22110%22%20rx%3D%228%22%20fill%3D%22%233b1d0b%22/%3E%3Crect%20x%3D%225%22%20y%3D%225%22%20width%3D%22190%22%20height%3D%22100%22%20rx%3D%226%22%20fill%3D%22url%28%23f%29%22%20stroke%3D%22%23d9b553%22/%3E%3Ccircle%20cx%3D%2240%22%20cy%3D%2255%22%20r%3D%2232%22%20fill%3D%22%232a1406%22%20stroke%3D%22%23d9b553%22%20stroke-width%3D%222%22/%3E%3Ccircle%20cx%3D%2240%22%20cy%3D%2255%22%20r%3D%2225%22%20fill%3D%22none%22%20stroke%3D%22%23c8102e%22%20stroke-width%3D%227%22%20stroke-dasharray%3D%224%204%22/%3E%3Ccircle%20cx%3D%2240%22%20cy%3D%2255%22%20r%3D%2212%22%20fill%3D%22%236b4a1c%22/%3E%3Cg%20stroke%3D%22%23e9c75e%22%20stroke-width%3D%22.8%22%20fill%3D%22none%22%3E%3Crect%20x%3D%2280%22%20y%3D%2225%22%20width%3D%22110%22%20height%3D%2260%22/%3E%3Cpath%20d%3D%22M80%2045H190M80%2065H190M98%2025V85M116%2025V85M134%2025V85M152%2025V85M170%2025V85%22/%3E%3C/g%3E%3C/svg%3E")}#tbls .tile[data-t^="craps"]{--art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20200%20110%22%3E%3Cdefs%3E%3CradialGradient%20id%3D%22f%22%20cx%3D%2250%25%22%20cy%3D%2240%25%22%20r%3D%2270%25%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%232f8e4c%22/%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%230b3a1c%22/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect%20width%3D%22200%22%20height%3D%22110%22%20rx%3D%2212%22%20fill%3D%22%233b1d0b%22/%3E%3Crect%20x%3D%225%22%20y%3D%225%22%20width%3D%22190%22%20height%3D%22100%22%20rx%3D%2210%22%20fill%3D%22url%28%23f%29%22%20stroke%3D%22%23d9b553%22/%3E%3Cg%20stroke%3D%22%23e9c75e%22%20stroke-width%3D%22.8%22%20fill%3D%22none%22%3E%3Crect%20x%3D%2214%22%20y%3D%2214%22%20width%3D%2244%22%20height%3D%2282%22/%3E%3Cpath%20d%3D%22M14%2034H58M14%2054H58M14%2074H58%22/%3E%3Crect%20x%3D%2266%22%20y%3D%2214%22%20width%3D%22124%22%20height%3D%2228%22/%3E%3Cpath%20d%3D%22M86%2014V42M107%2014V42M128%2014V42M149%2014V42M170%2014V42%22/%3E%3Crect%20x%3D%2266%22%20y%3D%2248%22%20width%3D%22124%22%20height%3D%2214%22/%3E%3Crect%20x%3D%2266%22%20y%3D%2266%22%20width%3D%22124%22%20height%3D%2212%22/%3E%3Crect%20x%3D%2266%22%20y%3D%2282%22%20width%3D%22124%22%20height%3D%2214%22/%3E%3C/g%3E%3Crect%20x%3D%22150%22%20y%3D%2284%22%20width%3D%229%22%20height%3D%229%22%20rx%3D%221.5%22%20fill%3D%22%23c8102e%22/%3E%3Crect%20x%3D%22162%22%20y%3D%2284%22%20width%3D%229%22%20height%3D%229%22%20rx%3D%221.5%22%20fill%3D%22%23c8102e%22/%3E%3C/svg%3E")}
/* live blackjack / hold'em scene */
html.rb body #gv.felt{position:relative;min-height:300px;padding:40px 18px 30px!important;border:0!important;background:radial-gradient(ellipse 80% 70% at 50% 35%,#2f8e4c,#1d6b37 55%,#0b3a1c)!important;box-shadow:0 0 0 12px #3b1d0b,0 0 0 15px #d9b553,0 10px 30px #000!important;margin:16px 14px 20px!important;font-family:Oswald,sans-serif}
html.rb body #gv.felt:has(.seats .seat b):not(:has(.ctr .cards ~ *)){}
html.rb body #gv.felt:has(> .ctr:first-child .cards){border-radius:0 0 50% 50%/0 0 38% 38%!important}
html.rb body #gv.felt:has(> .seats:first-child){border-radius:200px!important}
html.rb body #gv.felt:has(> .ctr:first-child .cards):before{content:"BLACKJACK PAYS 3 TO 2 · INSURANCE PAYS 2 TO 1";display:block;text-align:center;font:700 15px Oswald;letter-spacing:3px;color:#e9c75ecc;margin:-26px 0 8px}
html.rb body #gv .seats{display:flex!important;flex-wrap:wrap;justify-content:center;gap:10px!important}
html.rb body #gv .seat{min-width:110px;border-radius:14px!important;background:#050c07cc!important;border:2px solid #c9a24a!important;padding:6px!important;text-align:center;font:500 12px Oswald}
html.rb body #gv .seat.me{border-color:#7fe08a!important}html.rb body #gv .seat.on{box-shadow:0 0 0 3px #ffe36a,0 0 16px #ffe36a88!important}
html.rb body #gv .ctr{text-align:center;font:700 14px Oswald;letter-spacing:2px;color:#e9c75e}
html.rb body #ga .btns button{border-radius:50%!important;width:62px!important;height:62px!important;min-height:0!important;flex:0 0 62px!important;padding:2px!important;font:700 11px Oswald!important;color:#fff3c4!important;background:radial-gradient(circle at 50% 32%,#6b4a1c,#2a1708 72%)!important;border:3px solid #e0b850!important;box-shadow:0 0 0 2px #2a1a06,0 4px 8px #000a!important}
html.rb body #ga{background:linear-gradient(180deg,rgba(255,220,160,.18),rgba(0,0,0,.4)),url(/textures/wood-hd.webp) 0 0/420px,#3a210f;border-top:3px solid #d9b553;border-radius:12px;padding:8px}
/* LIVE scene (cq-live.js) */
#gv.felt:has(> .lvstage){background:none!important;box-shadow:none!important;border:0!important;padding:0!important;min-height:0!important}
#gv.felt:has(> .lvstage)::before,#gv.felt:has(> .lvstage)::after{display:none!important}
.lvstage{background:radial-gradient(ellipse at 50% 40%,#10241a,#040806)!important;border-radius:10px}
.lv{font-family:Oswald,'Arial Narrow',sans-serif;color:#fff}
.lv .bgsvg{position:absolute;inset:0;width:100%;height:100%}
.lv .lvseat{transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:4px;min-width:150px}
.lv .lvplate{background:linear-gradient(#2a1608,#120802);border:2px solid #d8b25a;border-radius:16px;padding:3px 14px;font-size:17px;letter-spacing:1px;text-align:center;line-height:1.15;white-space:nowrap;box-shadow:0 3px 8px rgba(0,0,0,.6)}
.lv .lvseat.me .lvplate{border-color:#ffe27a;background:linear-gradient(#5a3a0c,#2a1806);color:#ffe27a}
.lv .lvseat.on .lvplate{box-shadow:0 0 0 3px #ffe27a,0 0 22px #ffd34a}
.lv .lvseat.f{opacity:.45}
.lv .lvseat.empty .lvplate{opacity:.45;font-size:13px;border-style:dashed}
.lv .lvtot{font-size:15px;color:#ffeab0;background:rgba(0,0,0,.45);border-radius:10px;padding:1px 10px;white-space:nowrap}
.lv .lvbet{width:44px;height:44px;border-radius:50%;background:conic-gradient(#c0392b 0 12%,#fff 0 25%,#c0392b 0 37%,#fff 0 50%,#c0392b 0 62%,#fff 0 75%,#c0392b 0 87%,#fff 0);display:grid;place-items:center;font-size:14px;font-weight:700;box-shadow:0 3px 6px #000;position:relative}
.lv .lvbet::before{z-index:-1;content:'';position:absolute;inset:7px;border-radius:50%;background:#c0392b}
.lv .lvbet{color:#fff;z-index:0}.lv .lvbet{isolation:isolate}
.lv .lvdealer{left:500px;top:150px;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:6px}
.lv .lvphase{left:115px;top:150px;transform:translateX(-50%);font-size:16px;letter-spacing:2px;color:#d8b25a}
.lv .lvrack{left:410px;top:44px;width:180px;height:34px;display:flex;gap:3px;padding:3px;background:#2a1406;border:2px solid #d8b25a;border-radius:6px}
.lv .lvrack i{flex:1;border-radius:3px;background:repeating-linear-gradient(90deg,var(--c) 0 4px,rgba(255,255,255,.75) 4px 6px)}
.lv .lvboard{left:500px;top:277px;transform:translate(-50%,-50%)}
.lv .lvpot{left:500px;top:380px;transform:translateX(-50%);font-size:18px;color:#ffeab0;background:rgba(0,0,0,.5);border:1px solid #d8b25a;border-radius:14px;padding:2px 16px;white-space:nowrap}
.lv .lvd{display:inline-block;width:20px;height:20px;border-radius:50%;background:#fff;color:#000;font-size:12px;line-height:20px;font-weight:700}
.lv .card{width:58px!important;height:84px!important;font-size:20px!important;margin:0!important}
.lv .lvseat.he .card{width:50px!important;height:72px!important;font-size:18px!important}
/* ===== LIVE scene mode (body.cqlive set by cq-live.js) ===== */
html.rb body.cqlive .wrap{max-width:1100px!important}
html.rb body.cqlive #game #gv.felt,html.rb body.cqlive #game #gv{background:none!important;box-shadow:none!important;border:0!important;padding:0!important;margin:0!important;min-height:0!important;border-radius:12px!important;overflow:hidden}
html.rb body.cqlive #game #gv::before,html.rb body.cqlive #game #gv::after,html.rb body.cqlive #game::before,html.rb body.cqlive #game::after{display:none!important;content:none!important}
html.rb body.cqlive #game #gv .lvseat{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important;color:#fff!important}
html.rb body.cqlive #game #gv .lvplate{color:#f4e2b0!important}
html.rb body.cqlive #game #gv .lvseat.me .lvplate{color:#ffe27a!important}
html.rb body.cqlive #game #gv .cards{display:flex!important;gap:5px!important;justify-content:center!important;flex-wrap:nowrap!important;min-height:0!important}
html.rb body.cqlive #game #gm{background:linear-gradient(#0e3a20,#072613)!important;border:2px solid #d8b25a!important;border-radius:20px!important;color:#ffeab0!important;font-family:Oswald,'Arial Narrow',sans-serif!important;letter-spacing:1px;padding:4px 16px!important;margin:0 auto!important;width:max-content;max-width:90%;text-align:center}
html.rb body.cqlive #game #gm:empty{display:none!important}
html.rb body.cqlive #game #ga{background:url(/textures/wood-hd.webp) center/420px,#3a1d0b!important;border-top:3px solid #d8b25a!important;border-radius:0 0 12px 12px!important;padding:10px 8px!important;align-items:center!important;box-shadow:inset 0 6px 14px rgba(0,0,0,.6)!important}
html.rb body.cqlive #game #ga .btns{display:flex!important;flex-wrap:wrap!important;gap:10px!important;justify-content:center!important;background:none!important;border:0!important}
html.rb body.cqlive #game #ga button{width:68px!important;height:68px!important;min-width:0!important;padding:4px!important;border-radius:50%!important;font:700 11px/1.1 Oswald,'Arial Narrow',sans-serif!important;letter-spacing:.5px!important;color:#2a1405!important;background:radial-gradient(circle at 35% 30%,#fff3c4,#e6c36a 45%,#9c7424 80%,#5a3e0c)!important;border:3px solid #3a2406!important;box-shadow:0 0 0 2px #e8c770,0 5px 10px rgba(0,0,0,.7)!important;white-space:normal!important;text-shadow:none!important;flex:0 0 auto!important}
html.rb body.cqlive #game #ga button.red{box-shadow:0 0 0 2px #e0503a,0 5px 10px rgba(0,0,0,.7)!important}
html.rb body.cqlive #game #ga button.grn{width:80px!important;height:80px!important;font-size:13px!important}
html.rb body.cqlive #game #ga .note{color:#f1dca0!important;font-family:Oswald,'Arial Narrow',sans-serif!important}
@media (max-width:600px),(max-height:460px){html.rb body.cqlive #game #ga button{width:54px!important;height:54px!important;font-size:9.5px!important}html.rb body.cqlive #game #ga button.grn{width:62px!important;height:62px!important}}
html.rb body.cqlive #game{gap:0!important}
html.rb body.cqlive #game #gm{margin:6px auto!important}
