/* Card tables stay anchored while the existing hand remains on the table. */
#blackjack-dialog,#house-dialog,#pvp-dialog,#multi-dialog,#game-dialog[data-game=poker]{top:4dvh;bottom:auto;margin:0 auto;overflow-anchor:none;scrollbar-gutter:stable}
#blackjack-table,#house-table,#pvp-table,#multi-table,#table-content{overflow-anchor:none}
.multi-seat-name{min-height:18px}.multi-seat>small:last-child{min-height:2.8em;max-width:100%;display:flex;align-items:center;justify-content:center}
.bj-hand{width:100%}.bj-hand .poker-hole{flex-wrap:nowrap;min-height:66px;max-width:390px;margin:0 auto;gap:7px}.bj-hand .poker-card{flex-shrink:1;min-width:16px}.bj-hand p{min-height:28px;font-variant-numeric:tabular-nums}
.table-wait-overlay.action-wait{inset:auto 12px 6px;background:#153a2bea;border:1px solid #b5ab7840;border-radius:20px;padding:7px 14px;font-size:12px;width:max-content;max-width:calc(100% - 24px);margin:auto;gap:0;min-height:28px;backdrop-filter:none}
.table-wait-overlay.action-wait:before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:#e3c883;margin-right:7px}.table-wait-overlay.action-wait{flex-direction:row}
.baccarat-stage .hand-cards{width:208px;margin:0 auto;justify-content:flex-start;min-height:92px}.card-slot.spare-slot{visibility:hidden}.card-shell.arriving{animation-duration:.52s}.card-core{transition-duration:.36s}
.bac-zone{position:relative}.bac-pending-chip{display:inline-block!important;font-size:11px!important;line-height:1.2!important;border:1px dashed #f6d893;border-radius:12px;padding:4px 8px;color:#ffe9b2;background:#3d3826;animation:chip-confirm .25s ease-out}.bac-zone.pending-zone{box-shadow:inset 0 0 0 2px #e4c07866}
@keyframes chip-confirm{from{opacity:0;transform:translateY(-9px) scale(.8)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:760px){#blackjack-dialog,#house-dialog,#pvp-dialog,#multi-dialog,#game-dialog[data-game=poker]{top:0;max-height:100dvh}.bj-hand .poker-hole{min-height:60px;gap:5px}.baccarat-stage .hand-cards{width:151px;max-width:100%;min-height:69px}.bac-pending-chip{font-size:10px!important;padding:3px 5px}.table-wait-overlay.action-wait{font-size:11px;bottom:3px}}
@media(max-width:380px){.baccarat-stage .hand-cards{width:133px;min-height:61px}}
@media(prefers-reduced-motion:reduce){.bac-pending-chip,.card-shell.arriving{animation:none}.card-core{transition:none}}
.bac-pending-chip{position:absolute;top:5px;right:5px;font-style:normal;pointer-events:none}
