/* Poker's cards and decisions share one compact surface, including expanded Mini. */
.poker-compact{padding:12px!important;container-type:inline-size;overflow:visible;min-width:0}
.poker-felt-label{font:700 10px/1.4 system-ui;letter-spacing:.2em;color:#e4cc94;padding:2px 40px 10px 2px;display:flex;gap:12px;justify-content:space-between}
.poker-felt-label span{letter-spacing:0;color:#c4b5d4;font-weight:400}
.poker-compact .poker-opponents{display:grid!important;grid-auto-flow:column!important;grid-auto-columns:minmax(108px,1fr);grid-template-columns:none!important;gap:8px!important;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#b298cc #21182d;padding:2px 2px 7px;margin:0 0 6px;height:auto!important;align-items:stretch!important}
.poker-compact .poker-opponents>.bj-seat{width:124px;height:auto!important;min-height:0!important;padding:7px!important;position:relative}
.poker-compact .bj-player{gap:2px;margin:0 0 4px;justify-content:center;line-height:1.2;text-align:center}
.poker-compact .bj-seat-name{display:flex;flex-wrap:wrap;justify-content:center;gap:4px;min-height:0;font-size:12px}
.poker-compact .casino-player-name{font-size:12px;padding:0;min-height:24px;max-width:100%;overflow-wrap:anywhere}
.poker-compact .member-name{font-size:12px}.poker-compact .member-badge{display:none}
.poker-compact .poker-seat-status{font-size:10px;line-height:1.3;min-height:17px;flex-basis:100%;color:#cbbdde}
.poker-compact .poker-dealer{width:16px;height:16px;font-size:9px}
.poker-compact .poker-hole{min-height:0;margin:3px 0;gap:4px}
.poker-compact .poker-hole .bj-card{width:31px;height:43px;padding:4px;border-radius:4px}
.poker-compact .poker-hole .bj-card b{font-size:11px}.poker-compact .poker-hole .bj-card i{font-size:17px}
.poker-compact .poker-stack{font-size:13px;margin:3px 0 0;line-height:1.25;text-align:center}.poker-compact .poker-stack small{font-size:10px}
.poker-compact .poker-bet{font-size:10px;line-height:1.3;text-align:center;margin:3px 0 0;color:#eadac4}
.poker-compact .bj-whisper-button{min-height:22px;padding:2px 5px;font-size:10px}
.poker-compact .poker-board{padding:5px 0 9px!important;margin:0!important;border-bottom:0}
.poker-compact .poker-community{gap:5px}.poker-compact .poker-community .bj-card,.poker-compact .poker-card-space{width:43px;height:59px;padding:5px;border-radius:6px}
.poker-compact .poker-community .bj-card b{font-size:14px}.poker-compact .poker-community .bj-card i{font-size:22px}
.poker-compact .poker-stakes{font-size:10px;line-height:1.3;margin:6px 0 0}
.poker-pot-rack{display:flex;justify-content:center;align-items:end;gap:16px;flex-wrap:wrap;margin:0 0 9px}
.poker-pot-stack{display:flex;align-items:center;flex-direction:column;gap:4px;max-width:100%;font-size:11px;color:#e9dab5;line-height:1.3}
.poker-pot-stack strong{font-size:15px;white-space:nowrap}.poker-pot-stack>small{font-size:10px;max-width:180px;text-align:center;color:#aee8c5}
.poker-stack-graphic{display:flex;align-items:end;justify-content:center;gap:3px;height:33px;max-width:100%;margin:auto;line-height:1}
.poker-chip-column{position:relative;display:block;width:14px;height:calc(17px + var(--pile)*2px);padding-bottom:10px}
.poker-chip-column .poker-chip{position:absolute;left:0;bottom:calc(11px + var(--chip-level)*2px);width:14px;height:8px;border-width:1px;box-shadow:0 2px 0 #110b1bc9,inset 0 0 0 1px #ffffff40;transform:none}
.poker-chip-column small{position:absolute;bottom:0;left:50%;transform:translateX(-50%);font:8px/1 system-ui;color:#eadff7;white-space:nowrap}
.poker-chip.silver{--chip:#aab5ca}.poker-chip-column:has(small:nth-child(7)){width:20px}
.poker-command-deck{border-top:1px solid #b8995b70;background:#20172ec9;border-radius:14px;padding:8px}
.poker-command-deck>.bj-seat{display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 10px;min-height:0!important;border:0!important;background:none!important;box-shadow:none!important;padding:0!important;position:relative}
.poker-command-deck .bj-player{justify-content:start;text-align:left;margin:0;min-width:0}
.poker-command-deck .bj-seat-name{justify-content:start}.poker-command-deck .poker-seat-status{justify-content:start}
.poker-command-deck .poker-seat-cards{grid-row:1/3;grid-column:2;display:flex;align-items:center;gap:10px}
.poker-command-deck .poker-seat-chips{min-width:65px}.poker-command-deck .poker-hole .bj-card{width:37px;height:52px}
.poker-command-deck .poker-bet{text-align:left;margin:0}.poker-command-deck .bj-seat-react{min-height:24px;font-size:10px;padding:2px 5px;margin:0}
.poker-compact .poker-play-controls{position:static!important;margin:8px 0 0!important;padding:0!important;gap:7px;background:none!important;backdrop-filter:none!important}
.poker-play-controls .bj-turn{justify-content:space-between;gap:8px}.poker-play-controls .bj-turn strong{font-size:12px}.poker-play-controls .bj-turn small{font-size:10px}
.poker-play-controls .bj-countdown{font-size:14px;padding:3px 7px;min-width:50px}
.poker-play-controls .bj-action-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;width:100%}
.poker-play-controls .action-button{min-width:0!important;min-height:44px!important;padding:6px 3px!important;font-size:12px!important;line-height:1.2;border-radius:9px;background:#443454;border-color:#8b719d}
.poker-play-controls [data-bj=call],.poker-play-controls [data-bj=check],.poker-play-controls [data-bj=deal]{background:#edd398;color:#251a30;border-color:#f9e6b9}
.poker-play-controls [data-bj=allin]{background:#68405b;border-color:#c58aa4}
.poker-options{margin:12px 0;border:1px solid #55475e;border-radius:12px;padding:0 12px;background:#1b1c29}
.poker-options summary{min-height:44px;display:list-item;align-content:center;font-size:12px;color:#d9cce7;cursor:pointer}
.poker-options .bj-controls{position:static!important;margin:8px 0 14px;background:none!important}
.poker-waiting{font-size:12px;color:#c2b0d3}.poker-showdown{display:grid;gap:6px;margin:8px 0 0}
.poker-hand-award{--award:#dab3ff;display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid color-mix(in srgb,var(--award),transparent 40%);background:linear-gradient(110deg,#22172ecc,#433158bb);border-radius:12px;padding:9px;color:var(--award);overflow:hidden}
.poker-hand-award strong{font:800 17px/1.2 system-ui;display:block}.poker-hand-award span:not(.poker-hand-art,.poker-crown){font-size:11px;display:block;color:#f0e7f8;margin-top:3px}
.poker-hand-art{position:relative;display:flex;align-items:center;gap:2px;height:36px;min-width:88px;justify-content:center;perspective:400px}
.poker-art-card{display:grid;place-items:center;width:16px;height:27px;border:1px solid #c1b6d1;border-radius:3px;background:#554460;color:#c2b3cc;font:10px/1 system-ui;font-style:normal;transform:rotate(calc((var(--card-index) - 2)*5deg))}
.poker-art-card.art-1{background:var(--award);border-color:#fff9;color:#282032}.poker-art-card.art-2{background:#a1dbe6;color:#212a3b}
.poker-art-card.art-3,.poker-art-card.art-4,.poker-art-card.art-5{background:#f0dfb8;color:#372844}
.poker-crown{position:absolute;top:-12px;left:33px;font-size:22px;color:#ffe393;z-index:2}
[data-poker-award=pair]{--award:#b6caff}[data-poker-award=two-pair]{--award:#98e5cb}[data-poker-award=trips]{--award:#e1acff}[data-poker-award=straight]{--award:#9ae3f3}[data-poker-award=flush]{--award:#f39fcd}[data-poker-award=full-house]{--award:#f0be84}[data-poker-award=quads]{--award:#fab4a3}[data-poker-award=straight-flush],[data-poker-award=royal]{--award:#ffe099;background:radial-gradient(ellipse at top,#704d5599,#251e36)}
.poker-result-arrival .poker-hand-award{animation:poker-award-arrival .65s ease-out both}
.poker-result-arrival .poker-art-card{animation:poker-award-card .7s ease-out both;animation-delay:calc(var(--card-index)*.12s)}
.poker-result-arrival [data-poker-award=pair] .art-1,.poker-result-arrival [data-poker-award=two-pair] .art-1,.poker-result-arrival [data-poker-award=trips] .art-1,.poker-result-arrival [data-poker-award=quads] .art-1{animation:poker-match .7s ease-in-out 2}
.poker-result-arrival [data-poker-award=flush] .poker-art-card{animation:poker-suit-wave .65s ease-in-out 2;animation-delay:calc(var(--card-index)*.1s)}
.poker-result-arrival [data-poker-award=full-house] .art-2{animation:poker-full-house .9s ease-out both}
.poker-result-arrival .poker-crown{animation:poker-crown 1.4s ease-out both}
.poker-seat-move .poker-stack-graphic{animation:poker-chip-bet .75s ease-out}.poker-seat-fold .poker-hole{animation:poker-fold .5s ease-out}.poker-seat-winner{animation:poker-winner .9s ease-in-out 3}
.poker-move-badge{position:absolute;inset:28px 6px auto;padding:5px;border-radius:7px;background:#eedaa8;color:#271e33;text-align:center;font:800 11px system-ui;z-index:4;pointer-events:none;animation:poker-move .2s ease-out}
@keyframes poker-award-arrival{from{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}
@keyframes poker-award-card{from{transform:translateY(16px) rotateY(90deg);opacity:0}to{opacity:1}}
@keyframes poker-match{50%{transform:translateY(-5px) scale(1.1);box-shadow:0 0 14px var(--award)}}
@keyframes poker-suit-wave{50%{transform:translateY(-7px) rotate(0);box-shadow:0 0 12px #f39fcd}}
@keyframes poker-full-house{from{transform:translateX(20px);opacity:0}to{opacity:1}}
@keyframes poker-crown{from{transform:translateY(-20px) scale(2);opacity:0}to{opacity:1}}
@keyframes poker-chip-bet{50%{transform:translateY(-12px);filter:brightness(1.4)}}
@keyframes poker-fold{to{transform:translateY(8px) rotate(-8deg);opacity:.35}}
@keyframes poker-winner{50%{box-shadow:0 0 18px #f4d28f;filter:brightness(1.25)}}
@keyframes poker-move{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@container(max-width:300px){.poker-command-deck .poker-seat-cards{gap:5px}.poker-command-deck .poker-hole .bj-card{width:31px;height:44px}.poker-play-controls .action-button{font-size:10px!important}.poker-command-deck .poker-seat-chips{min-width:48px}.poker-hand-award strong{font-size:14px}.poker-felt-label span{display:none}}
@media(prefers-reduced-motion:reduce){.poker-result-arrival *,.poker-seat-move *,.poker-seat-fold *,.poker-seat-winner,.poker-move-badge{animation:none!important}}

.poker-audio-controls{display:grid;grid-template-columns:minmax(0,1fr) 34px 38px;align-items:center;gap:7px;min-height:38px;margin-bottom:4px;position:relative}
.poker-audio-controls .bj-music{position:static;grid-column:3;grid-row:1;width:38px;height:38px;min-height:38px;padding:8px}
.poker-audio-controls .bj-music-volume{position:static!important;grid-column:1;grid-row:1;display:flex!important;align-items:center;gap:5px;width:100%!important;max-width:210px;height:30px;padding:0!important;margin:0;font-size:11px}
.poker-audio-controls .bj-music-volume input{min-width:40px;width:100%;height:28px;margin:0;padding:0}
.poker-audio-controls .casino-audio-settings{grid-column:2;grid-row:1;position:relative;margin:0;font-size:12px}
.poker-audio-controls .casino-audio-settings summary{display:grid;place-items:center;min-width:34px;min-height:34px;width:34px;height:34px;padding:0;line-height:1}
.poker-audio-controls .casino-audio-settings[open]>div{position:absolute;z-index:30;right:0;top:34px;width:250px;max-width:75vw;background:#221d31;padding:12px;border:1px solid #ad91b4;border-radius:12px}
.poker-audio-controls .casino-audio-notice{grid-column:1/-1}
.poker-compact .poker-opponents>.bj-seat{width:118px}
.poker-compact .poker-opponents .bj-seat-name{min-height:24px;max-height:44px;overflow:hidden}
.poker-compact .poker-opponents .bj-player{gap:0}
.poker-compact .poker-opponents .poker-seat-cards{font-size:0}
.poker-command-deck .poker-stack-graphic{height:27px}.poker-command-deck .bj-player{font-size:11px}
.poker-command-deck .poker-seat-chips{max-width:90px}.poker-command-deck .poker-chip-column{width:10px}.poker-command-deck .poker-chip-column .poker-chip{width:11px}
.poker-compact .poker-play-controls .bj-turn{min-height:28px}.poker-compact .poker-play-controls .bj-turn>div{display:flex;gap:9px;align-items:center}.poker-compact .poker-play-controls .bj-turn small{max-width:110px}
.poker-compact .poker-opponents>.bj-seat{width:158px}
.poker-opponents .poker-seat-cards{display:flex;align-items:center;justify-content:center;gap:6px}
.poker-opponents .poker-seat-chips{max-width:75px;min-width:55px}
.poker-opponents .poker-chip-column{width:8px}.poker-opponents .poker-chip-column .poker-chip{width:10px}
.poker-opponents .poker-stack{font-size:12px}.poker-opponents .poker-stack small{display:block;font-size:9px}
.poker-opponents .poker-hole{flex-shrink:0}
.poker-command-deck .bj-seat-name{flex-wrap:nowrap;align-items:center}.poker-command-deck .bj-seat-react{font-size:9px}
.poker-revealing .poker-showdown{visibility:hidden}
@container(min-width:600px){.poker-compact .poker-opponents>.bj-seat{width:172px}.poker-command-deck .poker-hole .bj-card{width:43px;height:60px}.poker-play-controls .action-button{font-size:14px!important}.poker-hand-award strong{font-size:20px}}
.poker-compact .poker-opponents{grid-auto-columns:172px!important}
.poker-compact .poker-opponents>.bj-seat{width:auto!important}
.poker-command-deck .bj-seat-name{display:block;line-height:1.2}.poker-command-deck .casino-player-name{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.poker-command-deck .casino-player-name .member-name{white-space:nowrap}.poker-command-deck .bj-seat-react{margin-top:1px}
body:has(.poker-shell){min-width:0}
.poker-command-deck .bj-player{display:block}
.poker-command-deck .bj-seat-name{display:flex;flex-wrap:nowrap;align-items:center;gap:4px}
.poker-command-deck .casino-player-name{flex:1;min-width:0}
.poker-command-deck .bj-seat-name{flex-wrap:wrap}
.poker-command-deck .casino-player-name{flex:1 1 55px}
.poker-command-deck .bj-seat-reaction:empty{display:none}
.poker-command-deck .bj-seat-react{flex:0 0 auto;min-width:44px;width:auto;min-height:32px;margin:0;padding:5px 7px;font-size:11px}
.poker-seat-browser{position:relative;display:flex;align-items:center;justify-content:space-between;gap:4px;min-height:32px;margin:0 0 3px;color:#dbc7f2;font:500 11px/1.25 system-ui}
.poker-seat-browser [data-poker-rail-label]{text-align:center;flex:1}
.poker-seat-browser button{display:grid;place-items:center;flex:0 0 34px;min-height:32px;width:34px;padding:0;border:1px solid #ac8dc178;border-radius:8px;background:#3e2e50;color:#f2e5fc;font:22px/1 system-ui}
.poker-seat-browser button[hidden]{display:none}.poker-seat-browser button:disabled{opacity:.3}
.poker-rail-reactions{position:absolute;inset:0 38px;display:flex;align-items:center;justify-content:center;gap:8px;pointer-events:none;background:#30213f;overflow:hidden;border-radius:8px}
.poker-rail-reactions[hidden]{display:none}.poker-offscreen-reaction{display:flex;align-items:center;gap:5px;font:600 10px/1.2 system-ui;animation:poker-reaction-visible .18s ease-out both}.poker-offscreen-reaction b{font-size:20px}.poker-offscreen-reaction .custom-emote{width:25px;height:25px;object-fit:contain}
@keyframes poker-reaction-visible{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.poker-offscreen-reaction{animation:none}}
.bj-mini:not(.is-chatting) .poker-shell .bj-social{display:none}
.bj-mini .poker-shell .casino-quick-bar{display:none}
.bj-mini .poker-shell .bj-table-heading h2{font-size:16px;margin:2px 0}
.bj-mini .poker-shell .bj-table-heading{gap:4px}
.bj-mini .poker-shell .bj-session-stats{font-size:11px;margin:3px 0 6px;gap:5px 12px}
.bj-mini .poker-shell .casino-presence{margin:0;padding:2px 0;min-height:24px;font-size:10px}
.bj-mini .poker-shell .casino-presence button{min-height:24px;font-size:10px;padding:2px 5px}
.bj-mini .poker-shell .bj-connection{min-height:22px;margin:0}
.bj-mini .poker-shell .bj-connection #bj-status{font-size:10px}
.bj-mini .poker-shell .bj-connection .text-link{min-height:22px;font-size:10px}
.bj-mini .poker-command-deck .poker-seat-chips{width:75px;min-width:65px;max-width:75px}.bj-mini .poker-command-deck .poker-stack small{display:block;font-size:9px}.bj-mini .poker-command-deck .poker-seat-cards{gap:5px}
.bj-mini .poker-opponents .bj-player{gap:0;margin-bottom:2px}.bj-mini .poker-opponents .bj-seat-name{min-height:18px;max-height:36px}.bj-mini .poker-opponents .casino-player-name{min-height:18px}.bj-mini .poker-opponents .poker-seat-status{min-height:13px;font-size:9px}
.bj-mini .poker-opponents .poker-hole .bj-card{width:26px;height:36px}.bj-mini .poker-opponents .poker-hole .bj-card b{font-size:9px}.bj-mini .poker-opponents .poker-hole .bj-card i{font-size:14px}
.bj-mini .poker-opponents .poker-stack-graphic{height:27px}.bj-mini .poker-opponents .poker-stack{font-size:11px}.bj-mini .poker-opponents .poker-stack small{display:inline;font-size:8px}.bj-mini .poker-opponents .poker-bet{font-size:9px;line-height:1.2}
