/* Chump-only cutout seating. Controls and game rules retain their established layout. */
.game-dialog .table-stage{background:radial-gradient(ellipse at 50% 50%,#135246 0%,#092d2b 72%,#071c22 100%)}
.game-dialog .opponent-seats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(4px,1vw,20px);align-items:end;border:0;background:transparent;padding:4px 4px 10px;flex:0 0 auto;isolation:isolate}
.game-dialog .opponent-seat,.game-dialog .game-room-started .opponent-seat{position:relative;height:clamp(135px,21vh,190px)!important;min-width:0;min-height:0;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;padding:0 0 25px}
.game-dialog .opponent-seat .seat-player-image{display:block;position:absolute;inset:0 0 23px;width:100%;height:calc(100% - 23px);max-width:none;max-height:none;object-fit:contain;object-position:center bottom;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;filter:drop-shadow(0 5px 5px #0006)}
.game-dialog .opponent-seat>strong{position:absolute;left:0;right:0;bottom:0;padding:4px 3px;border-radius:6px;border-bottom:2px solid #b88c45;background:#071d22e8;color:#f8e1aa;text-align:center;font-size:clamp(10px,1vw,15px);line-height:1.15;white-space:normal;overflow-wrap:anywhere;z-index:5}
.game-dialog .opponent-seat .seat-chip,.game-dialog .opponent-seat .seat-pose-marker{display:none}
.game-dialog .opponent-seat .seat-reaction{top:2px;right:2px;font-size:9px;background:#071d22dd;z-index:5}
.game-dialog .opponent-seat .poker-seat-position{top:2px;left:2px;font-size:11px;padding:3px 5px;z-index:6}
.game-dialog .opponent-seat.poker-current-actor{outline:0!important}.game-dialog .opponent-seat.poker-current-actor>strong{border-color:#fff099;box-shadow:0 0 10px #ffd76f80}
.game-dialog .opponent-seat.is-winning-seat{outline:0!important}.game-dialog .opponent-seat.is-winning-seat>strong{background:#3f3815;border-color:#fff099}
.game-dialog .seat-winning-hand{position:absolute;bottom:26px;top:auto;left:0;right:0;z-index:6;font-size:10px;padding:3px;background:#3b2e0de6;color:#ffe797}
.game-dialog .stud-player-heading>img{object-fit:contain;border-radius:0;border:0;background:none}
.game-dialog .roster-card img{object-fit:contain;background:transparent}
.game-dialog .seat-profile-button{position:absolute;right:3px;bottom:28px;z-index:7;width:25px;height:25px;min-height:25px;padding:2px;border-radius:50%;background:#091e28;color:#ffe09a}
.game-dialog .comment-profile-button{display:none}
@media(max-width:650px){.game-dialog .opponent-seat,.game-dialog .game-room-started .opponent-seat{height:120px!important;padding-bottom:27px}.game-dialog .opponent-seat .seat-player-image{bottom:27px;height:calc(100% - 27px)}.game-dialog .opponent-seat>strong{font-size:9px;min-height:25px;display:flex;align-items:center;justify-content:center}.game-dialog .opponent-seat .seat-reaction{font-size:7px;padding:2px}.game-dialog .opponent-seat .poker-seat-position{font-size:8px;padding:2px}.game-dialog .opponent-seats{gap:3px;padding:0 0 6px}.game-dialog .seat-winning-hand{font-size:8px;bottom:28px}}
@media(max-height:500px){.game-dialog .opponent-seat,.game-dialog .game-room-started .opponent-seat{height:130px!important}}
/* Keep both Hold'em card groups beside one another where width permits. */
@media(min-width:651px){
 .game-dialog .table-card-zone .room-card-row{flex-wrap:nowrap!important;justify-content:center;gap:22px}
 .game-dialog .room-card-row .card-group{flex:0 1 auto!important;width:auto!important;min-width:0;white-space:nowrap}
 .game-dialog .room-card-row .card-group>small{display:block}
 .game-dialog .table-card-zone .room-card-row .playing-card,.game-dialog .table-card-zone .room-card-row .card-back{height:clamp(60px,11vh,110px)!important;width:clamp(34px,4vw,68px)!important}
}
/* Reserve distinct rows for board cards and the winning hand at showdown. */
@media(min-width:651px) and (max-height:500px){
 .game-dialog .table-center:has(.showdown-result){min-height:240px!important;flex:0 0 auto!important}
 .game-dialog .table-center:has(.showdown-result) .table-card-zone{height:112px;max-height:none;flex:0 0 112px}
 .game-dialog .table-center:has(.showdown-result) .room-card-row{height:auto;max-height:none;align-self:center}
}
@media(min-width:651px) and (min-height:501px){
 .game-dialog .table-stage:has(.showdown-result) .opponent-seat{height:135px!important}
 .game-dialog .table-stage:has(.showdown-result) .table-action-panels{max-height:72px}
 .game-dialog .table-stage:has(.showdown-result) .turn-prompt,.game-dialog .table-stage:has(.showdown-result) .opponent-comment{max-height:72px;padding:5px 10px}
 .game-dialog .table-stage:has(.showdown-result) .turn-prompt-copy strong,.game-dialog .table-stage:has(.showdown-result) .opponent-comment-copy strong{font-size:20px}
 .game-dialog .table-stage:has(.showdown-result) .turn-prompt-copy>span{font-size:15px}
 .game-dialog .table-stage:has(.showdown-result) .turn-prompt-kicker{display:none}
 .game-dialog .table-stage:has(.showdown-result) .turn-prompt img,.game-dialog .table-stage:has(.showdown-result) .opponent-comment>img{height:56px!important;width:50px!important;flex-basis:50px!important}
 .game-dialog .table-center:has(.showdown-result){justify-content:flex-start}
 .game-dialog .table-center:has(.showdown-result) .table-card-zone{height:auto;min-height:110px!important;max-height:none;flex:1 0 110px}
 .game-dialog .table-center:has(.showdown-result) .room-card-row{height:auto;max-height:none;align-self:center}
 .game-dialog .table-center:has(.showdown-result) .room-card-row .playing-card{height:70px!important;width:46px!important}
 .game-dialog .table-center:has(.showdown-result) .table-betting-chip{height:105px;max-height:105px}
 .game-dialog .showdown-result{padding:5px 9px!important;margin:0;gap:3px 12px}
 .game-dialog .showdown-result .playing-card{height:50px!important;width:36px!important}
}
