/* Readable card indices and vector artwork; all values remain server-owned. */

.chip-stack{display:inline-flex;align-items:flex-end;justify-content:center;gap:0;width:auto;min-width:22px;height:24px}
.chip-pile{position:relative;display:block;flex:0 0 19px;height:23px}
.chip-pile+.chip-pile{margin-left:-6px}
.chip-disc{--chip:#c9ccca;--edge:#6c7678;--ink:#273033;position:absolute;left:0;bottom:0;width:22px;height:14px;border:2px dashed #fff9;background:radial-gradient(ellipse at 40% 20%,#ffffff45,transparent 65%),var(--chip);border-radius:50%;box-shadow:inset 0 1px #fff5,0 1px 0 #ffffff20,0 2px 0 var(--edge),0 3px 2px #0008}
.chip-disc:nth-child(2){bottom:4px}.chip-disc:nth-child(3){bottom:8px}
.chip-disc:after{content:"";position:absolute;inset:1px;border:1px solid #ffffff70;border-radius:50%}
.chip-red{--chip:#bf4d4e;--edge:#712c34;--ink:#fff}
.chip-blue{--chip:#348bbf;--edge:#1b4b7a;--ink:#fff}
.chip-green{--chip:#328761;--edge:#1b4b37;--ink:#fff}
.chip-black{--chip:#313743;--edge:#101723;--ink:#fff}
.chip-violet{--chip:#8860ad;--edge:#493061;--ink:#fff}
.chip-gold{--chip:#d2ae5a;--edge:#846430;--ink:#312411}
.chip-value{position:absolute;inset:0;display:grid;place-items:center;font:700 6px/1 Arial,sans-serif;color:var(--ink);letter-spacing:-.4px;z-index:1}
.table-chip-flight{position:absolute;z-index:10;pointer-events:none;display:flex;align-items:center;gap:5px;white-space:nowrap;color:#ffe6a9;font-size:12px;filter:drop-shadow(0 2px 3px #0008)}
.seat-timer{position:absolute;bottom:-3px;left:7%;width:86%;height:4px;appearance:none;border:0;border-radius:3px;overflow:hidden;background:#293e37;accent-color:var(--color-primary)}
.seat-timer::-webkit-progress-bar{background:#293e37}.seat-timer::-webkit-progress-value{background:var(--color-primary)}
.seat-timer[data-urgent="true"]::-webkit-progress-value{background:#ffab72}
.seat-bet .bet-chips{display:inline-flex}

/* The playing surface owns the viewport. Auxiliary content opens on demand. */
body:has(#poker-table){padding-bottom:0}
body:has(#poker-table) :is(.site-header,.environment-strip,.mobile-bottom-nav,.site-footer){display:none}
#poker-table{height:100svh;min-height:660px;display:flex;flex-direction:column;gap:0;max-width:1440px;padding:8px 18px;margin:0 auto}
#poker-table .table-heading{flex:none;min-height:51px;gap:18px;padding:0 4px}
#poker-table .table-back{display:flex;align-items:center;gap:8px;flex:none;font-size:10px}
.table-back b{display:grid;place-items:center;width:31px;height:33px;border-radius:4px 4px 12px 4px;background:var(--color-primary);color:#152014;font-size:25px;font-style:italic}
#poker-table .table-room{flex:1;min-width:0}.table-room>span{font-size:10px;color:#9eafa9}
#poker-table .table-heading h1{font-size:18px;line-height:1.2;margin:0 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.table-wallet{display:flex;flex-direction:column;gap:4px;text-decoration:none;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.table-wallet small{font-size:9px;color:#a7b8af}.table-wallet strong{font-size:14px;color:#e5f3c1}
#poker-table .table-connection{flex:none;min-height:20px;margin:0 4px;font-size:9px}
#poker-table .table-customization-controls{display:flex;align-items:center;gap:6px;flex:none;min-height:38px;margin:0 0 5px;padding:0 4px;flex-wrap:nowrap}
.table-customization-controls button{min-height:32px;padding:5px 12px;border:1px solid #3b4840;border-radius:5px;background:#19231d;color:#bfcfc3;font-size:10px;cursor:pointer;white-space:nowrap}
.table-customization-controls button:hover{border-color:#b4cc83;color:#eff6dd}

/* One component scale per viewport; scoped to the playing surface. */
#poker-table{--seat-w:94px;--avatar:34px;--board:44px;--hole:25px;--hero:48px;min-height:620px}
#poker-table .table-layout{display:flex;flex:1;min-height:0;gap:0}
#poker-table .game-area{display:flex;flex-direction:column;width:100%;height:100%;min-width:0;background:#101918;border:1px solid #2d3b35;border-radius:10px;overflow:hidden}
#poker-table .poker-arena{height:auto;min-height:340px;flex:1;width:100%;max-width:1080px;margin:auto;overflow:visible}
/* Geometry must settle synchronously; game effects use the scene's Web Animations. */
#poker-table .poker-arena,#poker-table .poker-arena *{transition-property:none}
#poker-table .poker-felt{inset:44px 52px;border:12px solid var(--rail);border-radius:46%;background:radial-gradient(ellipse at 50% 35%,var(--felt-center),var(--felt-edge));outline:1px solid #73826b55;box-shadow:inset 0 0 0 1px #a7b48a55,inset 0 8px 20px #0003,0 6px 0 #0c1412,0 9px 14px #0004}
#poker-table[data-rail-style="walnut"] .poker-felt{border-color:#524134}#poker-table[data-rail-style="brass"] .poker-felt{border-color:#766846}
#poker-table .poker-felt:after{inset:10px;border:1px solid #bac69f22;border-radius:46%}
#poker-table .table-center{top:48%;width:min(280px,72%)}#poker-table .table-wordmark{font-size:10px;letter-spacing:2.5px;color:#c0d4b85c;margin:0 0 9px}
#poker-table .table-brand-logo{max-height:25px;max-width:110px;object-fit:contain;margin:0 auto 6px}
#poker-table .table-center #hand-stage{font-size:8px;line-height:1.2;margin:0 0 10px;letter-spacing:1px}
#poker-table .board{gap:5px;min-height:calc(var(--board)*var(--card-scale,1)*1.44)}#poker-table .board .ultra-card{--card-w:calc(var(--board)*var(--card-scale,1))}
#poker-table .ultra-card{border-radius:3px;box-shadow:0 1px 0 #9fac9e,0 2px 3px #0003}#poker-table .ultra-card.card-hidden{border-width:2px}
#poker-table .pot-display{position:relative;left:auto;top:auto;transform:none;margin:12px 0 0;gap:5px;white-space:nowrap;line-height:1.3}
#poker-table .pot-display strong{font-size:15px;font-weight:650;letter-spacing:-.15px}#poker-table .pot-display>span:not(.chip-stack){font-size:8px;letter-spacing:.7px}
#poker-table .pot-display>.chip-stack{position:static;transform:none;margin:0 2px 0 0}
#poker-table .chip-stack{height:17px;min-width:17px;width:auto;gap:0}#poker-table .chip-pile{flex-basis:13px;height:16px}#poker-table .chip-pile+.chip-pile{margin-left:-4px}
#poker-table .chip-disc{width:16px;height:10px;border-width:1px;left:0;box-shadow:inset 0 1px #fff6,0 1px 0 var(--edge),0 2px 0 var(--edge),0 3px 2px #0008}
#poker-table .chip-disc:nth-child(2){bottom:3px}#poker-table .chip-disc:nth-child(3){bottom:6px}#poker-table .chip-value{font-size:5px}
#poker-table .player-seat{width:var(--seat-w);min-height:35px;padding:4px 5px!important;border-radius:4px;border:1px solid #9aaf9422;background:#101b17df;box-shadow:none;color:#e5ece4}
#poker-table .player-seat .player-avatar{width:var(--avatar);height:var(--avatar);top:calc(-1*var(--avatar) - 5px);left:50%;border-width:1px;box-shadow:inset 0 0 0 2px #15281e;z-index:2}
#poker-table .player-avatar::before{content:"";position:absolute;inset:calc((var(--avatar) - 44px)/2);border-radius:50%}
#poker-table .avatar-symbol{font-size:calc(var(--avatar)*.62)}
#poker-table .seat-name{font-size:10px;font-weight:500;line-height:1.2}#poker-table .seat-stack{font-size:12px;font-weight:650;line-height:1.2;margin-top:2px;white-space:nowrap;letter-spacing:-.2px}
#poker-table .seat-tag{font-size:8px;line-height:1.2;min-height:0;margin-top:2px;color:#b4c4b4}#poker-table .seat-tag:empty{display:none}
#poker-table .player-seat.is-you{background:#1d3027e6;border-color:#90aa7959}
#poker-table .player-seat.is-turn{border:1px solid #a5c57b80;box-shadow:none}#poker-table .player-seat.is-turn .player-avatar{box-shadow:0 0 0 1px #b5d58a44}
#poker-table .player-seat.folded{opacity:1}#poker-table .player-seat.folded :is(.player-avatar,.seat-name,.seat-cards,.seat-tag){opacity:.55}#poker-table .player-seat.is-winner{border-color:#dfc77c80;background:#39351be6}
#poker-table .seat-cards{left:calc(50% + var(--avatar)/2 + 5px);right:auto;bottom:calc(100% - 3px);transform:rotate(6deg);gap:2px;min-height:0;z-index:1}
#poker-table .seat-cards .ultra-card{--card-w:calc(var(--hole)*var(--card-scale,1))}#poker-table .seat-cards .ultra-card+.ultra-card{margin-left:-6px}
#poker-table .is-you .seat-cards{left:calc(50% + var(--avatar)/2 + 6px);right:auto;bottom:calc(100% - 3px);transform:none;gap:3px}
#poker-table .is-you .seat-cards .ultra-card{--card-w:calc(var(--hero)*var(--card-scale,1));margin-left:0;box-shadow:0 1px 0 #d8ded7,0 3px 5px #0005}
#poker-table .is-you .seat-cards .ultra-card+.ultra-card{margin-left:-5px}
#poker-table .poker-arena[data-size="6"] :is(.seat-5,.seat-6):not(.is-you) .seat-cards,#poker-table .poker-arena[data-size="9"] :is(.seat-6,.seat-7,.seat-8,.seat-9):not(.is-you) .seat-cards{left:auto;right:calc(50% + var(--avatar)/2 + 5px);transform:rotate(-6deg)}
#poker-table .player-seat.empty{width:76px;min-height:44px;padding:5px!important;border:1px dashed #83987b55;background:#14271b33;color:#b4c3ac;font-size:9px;box-shadow:none}
#poker-table .player-seat.empty .seat-plus{font-size:18px;margin-bottom:3px}
#poker-table .dealer-chip{width:16px;height:16px;top:2px;right:-18px;border-width:1px;font-size:8px;box-shadow:none}
#poker-table .poker-arena[data-size="6"] :is(.seat-5,.seat-6) .dealer-chip,#poker-table .poker-arena[data-size="9"] :is(.seat-6,.seat-7,.seat-8,.seat-9) .dealer-chip{right:auto;left:-18px}
#poker-table .seat-bet{display:flex;align-items:center;gap:3px;padding:2px 4px;line-height:1.2;font-size:9px;background:#0e241ec9;border-radius:3px;white-space:nowrap;top:calc(100% + 10px);bottom:auto;left:50%;z-index:3}
#poker-table .seat-bet .chip-stack{transform:none;min-width:0;height:14px}#poker-table .seat-bet .chip-pile{height:13px;flex-basis:11px}#poker-table .seat-bet .chip-disc{width:14px;height:9px}#poker-table .seat-bet .chip-value{font-size:4px}
#poker-table :is(.seat-1,.seat-2,.seat-9) .seat-bet,#poker-table .poker-arena[data-size="6"] .seat-6 .seat-bet{top:auto;bottom:calc(100% + 72px)}
#poker-table .poker-arena .seat-1{--seat-x:50%;top:89%}
#poker-table .poker-arena[data-size="6"] .seat-2{--seat-x:14%;top:70%}#poker-table .poker-arena[data-size="6"] .seat-3{--seat-x:14%;top:29%}
#poker-table .poker-arena[data-size="6"] .seat-4{--seat-x:50%;top:16%}#poker-table .poker-arena[data-size="6"] .seat-5{--seat-x:86%;top:29%}#poker-table .poker-arena[data-size="6"] .seat-6{--seat-x:86%;top:70%}
#poker-table .poker-arena[data-size="9"] .seat-2{--seat-x:23%;top:83%}#poker-table .poker-arena[data-size="9"] .seat-3{--seat-x:10%;top:58%}
#poker-table .poker-arena[data-size="9"] .seat-4{--seat-x:16%;top:30%}#poker-table .poker-arena[data-size="9"] .seat-5{--seat-x:37%;top:15%}
#poker-table .poker-arena[data-size="9"] .seat-6{--seat-x:63%;top:15%}#poker-table .poker-arena[data-size="9"] .seat-7{--seat-x:84%;top:30%}
#poker-table .poker-arena[data-size="9"] .seat-8{--seat-x:90%;top:58%}#poker-table .poker-arena[data-size="9"] .seat-9{--seat-x:77%;top:83%}
#poker-table .seat-timer{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;left:0;top:0}
#poker-table .seat-clock{position:absolute;left:calc(50% - var(--avatar)/2 - 32px);top:calc(-1*var(--avatar) + 10px);min-width:26px;padding:3px;border:1px solid #91b76980;border-radius:8px;background:#152b20;color:#eaf4c9;font-size:9px;font-weight:600;line-height:1;white-space:nowrap;z-index:4}
#poker-table .is-turn .player-avatar::after{content:"";position:absolute;inset:-4px;border-radius:50%;background:conic-gradient(#c6df88 var(--turn-remaining,100%),#ffffff16 0);mask:radial-gradient(farthest-side,transparent calc(100% - 2px),#000 0);pointer-events:none}
#poker-table .is-turn[data-urgent="true"] .player-avatar::after{background:conic-gradient(#ffb46c var(--turn-remaining,100%),#ffffff16 0)}#poker-table .is-turn[data-urgent="true"] .seat-clock{color:#ffcb97;border-color:#e5a569}
#poker-table .is-turn:has(.seat-timer[hidden]) .player-avatar::after{display:none}
#poker-table .action-panel{flex:none;min-height:0;padding:8px 14px 10px;background:#111b18;border-top:1px solid #39483c80}

#poker-table .action-panel #hand-result:empty{display:none}
#poker-table .action-panel #hand-result{font-size:11px;line-height:1.4;background:#332f1b;border:1px solid #86723b66;border-radius:5px;padding:6px 9px;margin:0 0 6px;color:#f4dfa0;min-height:0}
#poker-table :is(#command-message,#action-error){font-size:11px;margin-top:6px}
#poker-table .table-waitlist{display:flex;justify-content:space-between;align-items:center;flex:none;margin:0;border:1px solid #304a43;border-width:1px 0 0;border-radius:0;padding:8px 12px;font-size:11px;gap:8px;background:#111d1c}
#poker-table .table-waitlist strong,#poker-table .table-waitlist span{display:block}#poker-table .table-waitlist span{font-size:10px;color:#dbbd73;margin-top:4px}
#poker-table .table-waitlist .button{min-height:36px;font-size:11px}#poker-table .waitlist-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
#poker-table .waitlist-automatic{display:flex!important;align-items:start;gap:12px}#poker-table .waitlist-automatic input{width:20px!important;height:20px;flex-shrink:0}
#poker-table .table-sidebar{display:block;padding:0}#poker-table .table-sidebar section{padding:0 0 14px}
#poker-table .showdown-results{margin:0 0 18px;padding:12px 0;gap:15px}#poker-table .showdown-cards .ultra-card{--card-w:38px}
#poker-table[data-density="compact"]{--seat-w:88px}
@media(max-width:1100px) and (min-width:721px){
 #poker-table{--seat-w:88px;--avatar:32px;--board:40px;--hole:23px;--hero:38px}
 #poker-table .poker-felt{inset:42px 45px;border-width:10px}
}
@media(max-width:720px){
 #poker-table{--seat-w:78px;--avatar:30px;--board:36px;--hole:23px;--hero:36px;padding:3px 6px;min-height:640px}
 #poker-table[data-density="compact"]{--seat-w:74px}
 #poker-table .table-heading{gap:8px;min-height:44px;padding:0 2px;flex-wrap:nowrap}
 #poker-table .table-back b{width:25px;height:28px;font-size:22px}#poker-table .table-back span{display:none}
 #poker-table .table-heading h1{font-size:13px}#poker-table .table-room>span{font-size:8px}
 #poker-table .table-stakes{gap:3px}#poker-table .table-stakes strong,#poker-table .table-wallet strong{font-size:10px}#poker-table .table-stakes span,#poker-table .table-wallet small{font-size:7px}
 #poker-table .table-connection{min-height:16px;font-size:8px;margin:0 2px}#poker-table .table-connection #scheduler-status{display:none}
 #poker-table .table-customization-controls{gap:4px;min-height:34px;margin-bottom:3px;padding:0 2px}
 #poker-table .table-customization-controls button{padding:4px 6px;font-size:9px;flex:1;min-height:30px}
 #poker-table .poker-arena,#poker-table .poker-arena[data-size="6"],#poker-table .poker-arena[data-size="9"]{height:auto;min-height:400px}
 #poker-table .poker-felt{inset:40px 24px;border-width:9px;border-radius:45%}#poker-table .poker-felt:after{inset:9px;border-radius:45%}
 #poker-table .table-center{top:46%;width:min(230px,72%)}#poker-table .table-wordmark{font-size:8px;letter-spacing:2px;margin-bottom:8px}
 #poker-table .table-center #hand-stage{font-size:7px;margin:0 0 8px}#poker-table .board{gap:4px}
 #poker-table .pot-display{margin-top:9px;gap:4px}#poker-table .pot-display strong{font-size:14px}#poker-table .pot-display>span:not(.chip-stack){font-size:7px}
 #poker-table .player-seat{min-height:31px;padding:3px 4px!important}#poker-table .seat-name{font-size:9px}#poker-table .seat-stack{font-size:11px}#poker-table .seat-tag{font-size:7px}
 #poker-table .player-seat.empty{width:64px;min-height:44px;font-size:8px}#poker-table .dealer-chip{width:14px;height:14px;font-size:7px;right:-16px;top:3px}
 #poker-table .seat-bet{font-size:8px;gap:5px;padding:2px 3px}
 #poker-table .poker-arena .seat-1{top:91%}
 #poker-table .poker-arena[data-size="6"] :is(.seat-2,.seat-3){--seat-x:15%}#poker-table .poker-arena[data-size="6"] :is(.seat-5,.seat-6){--seat-x:85%}
 #poker-table .poker-arena[data-size="6"] :is(.seat-3,.seat-5){top:29%}#poker-table .poker-arena[data-size="6"] .seat-4{top:16%}
 #poker-table .poker-arena[data-size="6"] :is(.seat-2,.seat-6){top:70%}
 #poker-table .poker-arena[data-size="6"] .seat-2 .seat-bet{top:calc(50% - 8px);bottom:auto;left:calc(50% + 61px)}
 #poker-table .poker-arena[data-size="6"] .seat-6 .seat-bet{top:calc(50% - 8px);bottom:auto;left:calc(50% - 61px)}
 #poker-table .poker-arena[data-size="6"] .seat-1 .seat-bet{bottom:calc(100% + 60px)}
 #poker-table .poker-arena[data-size="9"]{--seat-w:70px;--avatar:28px;--hole:20px;--hero:34px;--board:34px}
 #poker-table .poker-arena[data-size="9"] .is-you .seat-cards{left:50%;right:auto;bottom:calc(100% + 43px);transform:translateX(-50%)}
 #poker-table .poker-arena[data-size="9"] .seat-1 .seat-bet{top:calc(100% + 3px);bottom:auto}
 #poker-table .poker-arena[data-size="9"] :is(.seat-2,.seat-9){top:77%}#poker-table .poker-arena[data-size="9"] .seat-2{--seat-x:19%}#poker-table .poker-arena[data-size="9"] .seat-9{--seat-x:81%}
 #poker-table .poker-arena[data-size="9"] :is(.seat-3,.seat-8){top:61%}#poker-table .poker-arena[data-size="9"] :is(.seat-4,.seat-7){top:30%}
 #poker-table .poker-arena[data-size="9"] :is(.seat-3,.seat-4){--seat-x:13%}#poker-table .poker-arena[data-size="9"] :is(.seat-7,.seat-8){--seat-x:87%}
 #poker-table .poker-arena[data-size="9"] :is(.seat-5,.seat-6){top:16%}#poker-table .poker-arena[data-size="9"] .seat-5{--seat-x:35%}#poker-table .poker-arena[data-size="9"] .seat-6{--seat-x:65%}
 #poker-table .poker-arena[data-size="9"] .seat-5:not(.is-you) .seat-cards{left:auto;right:calc(50% + 19px);transform:rotate(-6deg)}
 #poker-table .poker-arena[data-size="9"] .seat-6:not(.is-you) .seat-cards{left:calc(50% + 19px);right:auto;transform:rotate(6deg)}
 #poker-table .poker-arena[data-size="9"] :is(.seat-5,.seat-6) .seat-bet{top:calc(100% + 46px)}
 #poker-table .poker-arena[data-size="9"] :is(.seat-2,.seat-9) .seat-bet{top:calc(100% + 3px);bottom:auto}
 #poker-table .poker-arena[data-size="9"] .seat-3 .seat-bet{top:calc(50% - 8px);left:calc(50% + 58px)}
 #poker-table .poker-arena[data-size="9"] .seat-8 .seat-bet{top:calc(50% - 8px);left:calc(50% - 58px)}
 #poker-table .action-panel{padding:7px 8px 8px}

}
@media(max-width:350px){
 #poker-table{--seat-w:72px;--board:33px;--hero:34px}#poker-table .table-heading{gap:5px}#poker-table .table-heading h1{font-size:11px}
 #poker-table .table-stakes strong,#poker-table .table-wallet strong{font-size:9px}#poker-table .table-room>span{font-size:7px}
 #poker-table .table-customization-controls button{font-size:8px;padding:4px 3px}
 #poker-table .poker-arena[data-size="9"]{--seat-w:66px;--board:30px;--hero:30px}#poker-table .pot-display strong{font-size:13px}#poker-table .table-center{width:210px}
}
@media(max-height:500px) and (orientation:landscape){
 #poker-table{--seat-w:76px;--avatar:28px;--board:31px;--hole:21px;--hero:32px;min-height:350px;padding:3px 8px}
 #poker-table .table-heading{min-height:36px}#poker-table .table-connection{min-height:15px}#poker-table .table-customization-controls{min-height:30px;margin:0}
 #poker-table .table-customization-controls button{min-height:28px}
 #poker-table .game-area{display:flex;flex-direction:column}
 #poker-table .poker-arena,#poker-table .poker-arena[data-size="6"],#poker-table .poker-arena[data-size="9"]{height:100%;min-height:0;max-width:none}
 #poker-table .poker-felt{inset:30px 30px 25px;border-width:8px}#poker-table .table-center{top:49%;width:220px}#poker-table .table-wordmark{display:none}
 #poker-table .table-center #hand-stage{font-size:7px;margin:0 0 6px}#poker-table .pot-display{margin-top:6px}#poker-table .pot-display strong{font-size:13px}
 #poker-table .player-seat{min-height:30px;padding:3px 4px!important}#poker-table .seat-name{font-size:9px}#poker-table .seat-stack{font-size:10px}#poker-table .seat-tag{font-size:7px}
 #poker-table .poker-arena .seat-1{top:89%}#poker-table .poker-arena[data-size="6"] .seat-4{top:23%}
 #poker-table .poker-arena[data-size="9"] :is(.seat-5,.seat-6){top:20%}#poker-table .poker-arena[data-size="9"] :is(.seat-4,.seat-7){top:32%}
 #poker-table .poker-arena[data-size="9"] :is(.seat-3,.seat-8){top:60%}#poker-table .poker-arena[data-size="9"] :is(.seat-2,.seat-9){top:84%}
 #poker-table .seat-bet{font-size:8px;gap:5px;top:calc(100% + 3px)}
 #poker-table :is(.seat-1,.seat-2,.seat-9) .seat-bet,#poker-table .poker-arena[data-size="6"] .seat-6 .seat-bet{top:auto;bottom:calc(100% + 40px)}
 #poker-table .poker-arena[data-size="9"] .seat-4 .seat-bet{left:calc(50% + 54px)}
 #poker-table .poker-arena[data-size="9"] .seat-7 .seat-bet{left:calc(50% - 54px)}
 #poker-table .action-panel{align-self:stretch;padding:9px}

}
.table-panel{background:#141d19;color:#e1eade;border:1px solid #50614f;border-radius:14px;width:min(520px,calc(100% - 24px));max-height:calc(100svh - 32px);padding:20px;box-shadow:0 18px 70px #0009;overflow:auto;color-scheme:dark}
.table-panel::backdrop{background:#030905aa}.table-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.table-panel h2{font-size:18px;margin:0}.table-panel header button{background:transparent;border:0;color:#d8e6d2;min-height:36px;min-width:36px;font-size:24px;cursor:pointer}
.table-panel .table-sidebar{display:block;padding:0}.table-panel .table-sidebar section{padding:0 0 14px}.table-panel p,.table-panel summary,.table-panel a{font-size:12px;line-height:1.6}.table-panel summary{cursor:pointer;color:#c6d6b6;min-height:32px}
.table-panel .table-details{margin:12px 0}.table-panel .table-details>div{font-size:12px;line-height:2.5}
.table-panel fieldset{border:1px solid #384b3e;border-radius:8px;padding:14px;margin:0 0 16px}.table-panel legend{padding:0 8px;font-size:12px;font-weight:650}
.table-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.table-settings-grid label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#b7c7b9}.table-settings-grid select{width:100%;min-height:36px;background:#0e1812;border:1px solid #455c48;border-radius:4px;color:#e0ecda;font-size:12px;padding:5px}.table-settings-grid input{width:100%;accent-color:var(--color-primary)}
.table-settings-options{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}.table-settings-options label{display:flex;align-items:center;gap:8px;min-height:30px;font-size:11px}.table-settings-options input{width:18px;height:18px;accent-color:var(--color-primary)}
.table-panel footer{display:flex;gap:10px;justify-content:flex-end;margin-top:16px}.table-panel footer .button{min-height:40px;font-size:12px}
#poker-table .showdown-results{margin:0 0 18px;padding:12px 0;gap:15px}.showdown-cards .ultra-card{--card-w:38px}

/* Preserve complete currency values without enlarging every seat. */
#poker-table .player-seat{left:clamp(calc(var(--seat-w)/2 + 6px),var(--seat-x,50%),calc(100% - var(--seat-w)/2 - 6px))}
#poker-table .seat-stack[data-wide="true"]{white-space:normal}
#poker-table .seat-stack[data-wide="true"] .stack-currency{display:block;font-size:8px;line-height:1.1}
#poker-table .seat-stack[data-wide="true"] .stack-amount{font-size:clamp(8.5px,calc((var(--seat-w) - 10px)*1.7/var(--digits)),10px);white-space:nowrap}
#poker-table .player-seat.empty.is-reserved{opacity:.6;border-style:solid}
#poker-table .player-seat.empty.is-reserved::after{content:"Reservado";display:block;font-size:9px}
#poker-table .player-seat.empty.is-reserved>span:last-child{display:none}
@media(max-width:1100px) and (min-width:721px){
 #poker-table .poker-arena[data-size="9"] .is-you .seat-cards{left:50%;right:auto;bottom:calc(100% + 43px);transform:translateX(-50%)}
 #poker-table .poker-arena[data-size="9"] :is(.seat-5,.seat-6).is-you .seat-cards{top:calc(100% + 6px);bottom:auto}
}
@media(max-width:720px) and (min-height:501px){
 #poker-table .poker-arena[data-size="6"] .is-you:not(.seat-1) .seat-cards{left:50%;right:auto;bottom:calc(100% + 43px);transform:translateX(-50%)}
 #poker-table .poker-arena[data-size="6"] :is(.seat-2,.seat-4,.seat-6).is-you .seat-cards{top:calc(100% + 6px);bottom:auto}
 #poker-table .poker-arena[data-size="9"] :is(.seat-2,.seat-4,.seat-5,.seat-6,.seat-7,.seat-9).is-you .seat-cards{top:calc(100% + 6px);bottom:auto}
 #poker-table .poker-arena[data-size="9"] :is(.seat-3,.seat-8).is-you .seat-cards{bottom:calc(100% + 38px)}
 #poker-table .poker-arena[data-size="9"] .seat-4.is-you .seat-cards{left:calc(50% - 3px)}
 #poker-table .poker-arena[data-size="9"] .seat-7.is-you .seat-cards{left:calc(50% + 3px)}
 #poker-table .poker-arena[data-size="9"] .seat-5.is-you .seat-cards{left:calc(50% + 28px)}
 #poker-table .poker-arena[data-size="9"] .seat-6.is-you .seat-cards{left:calc(50% - 28px)}
}

@media(max-width:720px) and (max-height:500px) and (orientation:landscape){
 #poker-table .poker-arena[data-size="6"]{--hero:30px}
 #poker-table .poker-arena[data-size="9"]{--board:28px;--hero:28px;--hole:18px}
 #poker-table .poker-arena[data-size="9"] :is(.seat-4,.seat-7){top:38%}
 #poker-table .poker-arena[data-size="9"] :is(.seat-3,.seat-8){top:67%}
 #poker-table .poker-arena[data-size="9"] :is(.seat-2,.seat-9){top:91%}
 #poker-table .poker-arena[data-size="9"] .table-center{top:52%}
}
@media(max-height:500px) and (orientation:landscape){
 #poker-table .seat-stack[data-wide="true"]{white-space:nowrap}
 #poker-table .seat-stack[data-wide="true"] .stack-currency{display:inline;font-size:8.5px;line-height:1.2}
 #poker-table .seat-stack[data-wide="true"] .stack-amount{font-size:8.5px}
}

/* ULTRA signature: integrated felt, restrained trim, semantic game feedback. */
#poker-table{position:relative;padding-top:max(5px,env(safe-area-inset-top));padding-bottom:max(5px,env(safe-area-inset-bottom));--table-gold:#cfb87c;--table-mist:#bac9c1}
#poker-table .table-heading{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);min-height:51px;border-bottom:1px solid #bdd5c015;gap:14px}
#poker-table .table-back{justify-self:start;gap:7px;min-width:40px;min-height:40px;color:#bac9c1;font-size:12px;text-decoration:none}
#poker-table .table-back>span:first-child{display:inline;font-size:23px}
.table-header-brand{justify-self:center;text-decoration:none;color:#edf2e8;line-height:1;white-space:nowrap}
.table-header-brand>span{display:flex;align-items:baseline;gap:5px;letter-spacing:-.7px;font-size:21px;font-weight:650}.table-header-brand b{color:var(--table-gold);font-style:italic;font-weight:800}.table-header-brand img{max-width:145px;max-height:32px;object-fit:contain}
.table-cash-tools{display:flex;align-items:center;justify-content:flex-end;gap:9px;min-width:0}
#poker-table .table-cash-tools button{width:32px;min-height:36px;border:1px solid #bac9c128;border-radius:7px;background:#17221e;color:#cfdbd1;font-size:21px;cursor:pointer}
.table-deposit{display:grid;place-items:center;min-height:36px;padding:7px 13px;border:1px solid #d6c28b60;border-radius:7px;background:#c7b17b;color:#18231d;font-size:11px;font-weight:700;text-decoration:none}
#poker-table .table-connection{display:flex;align-items:center;gap:12px;min-height:25px;margin:3px 4px 0}
#poker-table .table-room{display:flex;align-items:baseline;gap:8px;flex:0 1 auto;min-width:0}#poker-table .table-room h1{font-size:11px;font-weight:600;margin:0;line-height:1.4;letter-spacing:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-room>span{white-space:nowrap}
#poker-table .table-stakes{margin-right:auto}.table-stakes strong{font-size:10px;white-space:nowrap;font-weight:500}
#poker-table #scheduler-status{display:none}
#poker-table .table-customization-controls{min-height:34px;margin-bottom:3px}
#poker-table .table-customization-controls button{background:transparent;border-color:transparent;color:#b7c8bc;border-radius:6px;min-height:30px}
#poker-table .table-customization-controls button:hover{background:#24352c;border-color:#80977c40;color:#f0eee3}
#poker-table #table-sound-toggle{margin-left:auto}
.table-audio-status{position:absolute;z-index:5;right:25px;top:88px;font-size:9px;color:#b8c7b8;pointer-events:none}
.table-audio-status:empty{display:none}
#poker-table .game-area{border-color:#839b8430;background:radial-gradient(ellipse at 50% 40%,#182622,#0d1514 80%);border-radius:14px}
#poker-table .poker-felt{background:repeating-linear-gradient(15deg,#d5f0dd03 0 1px,transparent 1px 4px),repeating-linear-gradient(105deg,#00170a06 0 1px,transparent 1px 4px),radial-gradient(ellipse at 50% 30%,var(--felt-center),var(--felt-edge));outline-color:#98ab8166;box-shadow:inset 0 0 0 1px #bfcca066,inset 0 5px 15px #00140950,0 5px 0 #09110f,0 9px 14px #0003}
#poker-table .poker-felt:after{border-color:#c4d3ad28}
#poker-table .player-seat{border-color:transparent;background:linear-gradient(180deg,#15201ce8,#101a18ed);border-radius:3px 3px 7px 7px}
#poker-table .player-seat.is-you{border-color:#a8c48b40;background:#203129ed}
#poker-table .player-seat.is-turn{border-color:#bacf9480;background:#27392bea}
#poker-table .player-seat.is-winner{border-color:#ddc68199;background:#34341fea}
#poker-table .player-seat.is-all-in{border-color:#c8a97888}
#poker-table .seat-tag{color:#a0b2a7;font-weight:500;letter-spacing:.15px}
#poker-table .seat-tag[data-kind="turn"]{color:#d9eaa9}#poker-table .seat-tag[data-kind="all_in"]{color:#f0c58b;font-weight:700}
#poker-table .seat-tag[data-kind="winner"]{color:#f0d58d;font-weight:700}#poker-table .seat-tag[data-kind="fold"]{color:#c8b8b4}
#poker-table .seat-tag:is([data-kind="call"],[data-kind="check"],[data-kind="bet"],[data-kind="raise"]){color:#bbe1cb}
#poker-table .seat-name[data-blind]:not([data-blind=""]){position:relative;padding-right:14px}
#poker-table .seat-name[data-blind]:not([data-blind=""]):after{content:attr(data-blind);position:absolute;right:0;top:2px;color:#d3d1b2;font:600 6px/1.2 Arial,sans-serif}
#poker-table .action-panel{background:#101a17;border-color:#8b9d7940}

#poker-table button:focus-visible,#poker-table a:focus-visible{outline:2px solid #dfd99c;outline-offset:3px}
#poker-table[data-online="false"] .is-you .seat-tag{color:#e9b690}
@media(max-width:720px){
 #poker-table .table-heading{grid-template-columns:32px minmax(0,1fr) auto;min-height:44px;gap:6px}#poker-table .table-back .back-label{display:none}
 .table-header-brand>span{font-size:15px;gap:3px;letter-spacing:-.5px}.table-header-brand img{max-width:95px;max-height:26px}
 .table-cash-tools{gap:4px}#poker-table .table-cash-tools button{width:25px;min-height:34px;font-size:17px}.table-deposit{font-size:9px;padding:5px 7px;min-height:34px}
 #poker-table .table-wallet strong{font-size:10px}#poker-table .table-wallet small{font-size:7px}
 #poker-table .table-connection{min-height:20px;gap:6px;flex-wrap:nowrap}#poker-table .table-room{flex:1}#poker-table .table-room h1{font-size:10px}#poker-table .table-room>span{display:none}#poker-table .table-stakes strong{font-size:8px}
 .table-audio-status{top:76px;right:13px;font-size:8px;background:#101a17;max-width:150px}
 #poker-table .table-customization-controls{min-height:34px}#poker-table .table-customization-controls button{min-height:30px;padding:4px 5px}
}
@media(max-width:350px){.table-header-brand>span>span{display:none}.table-header-brand>span{font-size:16px}.table-header-brand img{max-width:55px}.table-cash-tools{gap:3px}.table-audio-status{font-size:7px;max-width:105px}}
@media(max-height:500px) and (orientation:landscape){
 #poker-table .table-heading{min-height:36px}.table-header-brand>span{font-size:17px}#poker-table .table-connection{min-height:15px;margin-top:0}#poker-table .table-customization-controls{min-height:30px}
 #poker-table .table-back,#poker-table .table-deposit,#poker-table .table-cash-tools button{min-height:30px}.table-audio-status{top:58px;right:20px}
}
.rebuy-notice{display:flex;align-items:center;gap:10px;padding:8px 0;color:var(--text,#edf3eb)}.rebuy-notice[hidden]{display:none}.rebuy-notice>div{display:grid;gap:3px;flex:1}.rebuy-notice strong{font-size:13px}.rebuy-notice span{font-size:11px;color:#bdc9bd}.rebuy-notice .button{min-height:38px;padding:8px 14px}#rebuy-limits,#rebuy-state{font-size:13px;line-height:1.5}#rebuy-dialog{max-width:min(420px,calc(100vw - 24px))}

/* Keep departure beside the actions, without changing cash-out or turn rules. */

.table-leave{display:inline-flex;align-items:center;gap:6px;min-height:32px;border:1px solid #465348;border-radius:7px;background:#18221c;color:#d8e2d7;padding:5px 10px;font:inherit;font-size:10px;font-weight:500;line-height:1.3;cursor:pointer}
.table-leave[hidden]{display:none}.table-leave .product-icon{width:15px;height:15px}.table-leave:disabled{opacity:.6;cursor:default}
.leave-dialog{max-width:min(440px,calc(100vw - 24px))}.leave-dialog>p{font-size:14px;line-height:1.7;color:#bdcbbf}.leave-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.leave-actions .button{flex:1;min-height:44px}
@media(max-width:720px){.table-leave{min-height:40px;padding:6px 9px;font-size:10px}}
