
#pokerTestLoading{position:fixed;inset:0;z-index:99999;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px;background:#0a0c0a;color:#f4dfae;font:18px/1.5 system-ui;text-align:center}
#pokerTestLoading[hidden]{display:none}#pokerTestLoading a{color:#f4dfae}
.private-table #gameDialog>.dialog-top{display:flex;flex-wrap:nowrap;gap:10px;align-items:center;min-height:46px;padding:5px 14px}
.poker-test-home{color:#f4dfae;text-decoration:none;white-space:nowrap;font:600 14px system-ui}
.poker-test-game-buttons{display:flex;gap:6px}.poker-test-game-buttons button{padding:7px 14px;border:1px solid #917242;border-radius:6px;background:#171a16;color:#f4dfae;font:600 14px system-ui;cursor:pointer}
.poker-test-game-buttons button[aria-pressed=true]{background:#d4b273;color:#17140d}.poker-test-game-buttons button:focus-visible,.poker-test-home:focus-visible{outline:3px solid white;outline-offset:3px}
.poker-test-badge{margin-left:auto;color:#c5cbbd;font:12px system-ui}
@media(max-width:600px){.poker-test-badge{display:none}.private-table #gameDialog>.dialog-top{padding:4px 8px}.poker-test-game-buttons button{font-size:13px;padding:7px 9px}}

/* Test cutouts are complete transparent frames, not oval photo portraits. */
html[data-isn-poker-test] body.private-table #gameDialog .opponent-seat .seated-figure>img.seat-player-image{
 object-fit:contain!important;object-position:center bottom!important;clip-path:none!important;mask-image:none!important;transform:none!important;width:100%!important;height:100%!important;border-radius:0!important;
}
html[data-isn-poker-test] body.private-table #gameDialog>.dialog-top{height:42px!important;min-height:42px!important;flex-shrink:0!important;padding:4px 10px!important;overflow:visible!important}
html[data-isn-poker-test] body.private-table #gameDialog>.dialog-top .poker-test-game-buttons button{width:auto!important;min-width:84px!important;height:30px!important;min-height:30px!important;font:600 14px/1.1 system-ui!important;padding:5px 12px!important;white-space:nowrap!important}
@media(max-width:600px){html[data-isn-poker-test] body.private-table #gameDialog>.dialog-top{height:38px!important;min-height:38px!important}html[data-isn-poker-test] body.private-table #gameDialog>.dialog-top .poker-test-game-buttons button{min-width:74px!important;padding:5px 8px!important;font-size:12px!important}}

html[data-isn-poker-test] body.private-table #gameDialog>.dialog-top #closeGameDialog{height:30px!important;min-height:30px!important;width:30px!important;flex:none;font-size:20px!important}
html[data-isn-poker-test] body.private-table #gameDialog>.dialog-top .isn-voice-tools{margin-left:auto}
html[data-isn-poker-test] body.private-table #gameDialog>.dialog-top .isn-dealer-voice{width:auto!important;min-width:32px!important;height:28px!important;font-size:11px!important}
@media(max-width:800px){html[data-isn-poker-test] .poker-test-badge{display:none}html[data-isn-poker-test] .isn-voice-manager{display:none!important}html[data-isn-poker-test] body.private-table #gameDialog>.dialog-top{gap:4px!important;padding-inline:5px!important}.poker-test-home{font-size:12px}}

/* Chicago QA36: distinguish real game from legacy White Hat/Chicago test. */
.mke-real-table-notice{display:block;max-width:100%;padding:7px 11px;border:1px solid #c39b56;border-radius:6px;color:#ffe2a4;font:700 12px/1.4 system-ui;letter-spacing:.01em;background:#132b22}
html[data-chicago-poker="true"] .dialog-top{flex-wrap:wrap;gap:8px}

/* Build 40: all existing card-room games are selectable without changing the engine. */
html[data-isn-poker-test] body.private-table #gameDialog>.dialog-top{height:auto!important;min-height:46px!important;flex-wrap:wrap!important;gap:6px!important}
html[data-isn-poker-test] body.private-table #gameDialog>.dialog-top .poker-test-game-buttons{display:flex;flex:1 1 480px;flex-wrap:wrap;align-items:center;gap:4px!important;justify-content:center;}
html[data-isn-poker-test] body.private-table #gameDialog>.dialog-top .poker-test-game-buttons button{width:auto!important;min-width:72px!important;height:30px!important;min-height:30px!important;font-size:clamp(11px,1.05vw,14px)!important;padding:4px 9px!important;}
@media(max-width:640px){html[data-isn-poker-test] body.private-table #gameDialog>.dialog-top{height:auto!important;min-height:48px!important;gap:3px!important;}
html[data-isn-poker-test] body.private-table #gameDialog>.dialog-top .poker-test-game-buttons{flex:1 1 280px;}
html[data-isn-poker-test] body.private-table #gameDialog>.dialog-top .poker-test-game-buttons button{min-width:0!important;height:28px!important;min-height:28px!important;padding:3px 6px!important;font-size:11px!important}}
