/* A compact, consistent seat footprint makes the shared circular positions safe. */
@media(min-width:1000px){
body .shell .opponent,body .shell .player,body #stage .seat{width:246px!important;min-width:0!important;max-width:none!important;height:100px!important;min-height:100px!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:0!important}
body .shell .opponent>.opcards,body .shell .player .mycards,body #stage .seat .holes{position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;order:0!important;align-self:center!important;width:100px!important;flex:0 0 100px!important;height:84px!important;min-height:84px!important;margin:0!important}
body .shell .seat-nameplate,body #stage .name-tag{order:1!important;flex:0 0 132px!important;min-width:132px!important;max-width:132px!important;padding:7px 9px 10px!important;text-align:center!important;transform:translateY(18px)!important}
body .shell .who,body #stage .name-tag strong{font-size:14px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:112px}
body .shell .stack,body #stage .name-tag small{font-size:12px!important}
body .shell .my-hand,body #stage .seat .hand-label{position:absolute!important;top:98px!important;bottom:auto!important;left:0!important;transform:none!important;margin:0!important;font-size:8px!important;max-width:110px}
body .shell .dealer,body #stage .seat .dealer{position:absolute;left:4px;right:auto;top:-18px}
body .shell .player .bet-tag,body #stage .self-seat .bet-tag{top:-29px;left:50%;transform:translateX(-50%)}
body #stage .felt{height:52%;width:60%}
body .shell .table{height:47%;width:60%}
}
@media(max-width:999px){
body .shell .opponent,body .shell .player,body #stage .seat{width:86px!important;min-width:0!important;max-width:86px!important;height:96px!important;min-height:96px!important;gap:3px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;padding:0!important}
body .shell .seat-nameplate,body #stage .name-tag{width:76px!important;min-width:76px!important;max-width:76px!important;flex:0 0 auto!important;padding:4px 4px 8px!important;transform:none!important;order:2!important;text-align:center!important}
body .shell .who,body #stage .name-tag strong{font-size:10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:66px}
body .shell .stack,body #stage .name-tag small{font-size:9px!important}
body .shell .my-hand,body #stage .seat .hand-label{display:none!important}
body .shell .opponent>.opcards,body .shell .player .mycards,body #stage .seat .holes{order:0!important;flex:0 0 50px!important;height:50px!important;min-height:50px!important}
}
@media(max-width:999px){body .chat{width:31vw;max-width:130px}}

.card.winning-card,.hole-card.winning-card .card-face-front{outline:3px solid #ffe56b!important;box-shadow:0 0 18px #ffdb3ccc,0 0 4px #fff!important;background-color:#fff6cb!important}
.hand-label{white-space:nowrap;width:max-content;max-width:150px!important;font-size:9px!important;line-height:1.2!important;min-height:0!important;padding:3px 7px!important;margin:0!important;z-index:12}
#picker:has(.player-settings-grid){inset:50% auto auto 50%;transform:translate(-50%,-50%);width:min(400px,calc(100vw - 32px));padding:24px;max-height:85dvh;overflow:auto}#picker-choices.player-settings-grid{display:flex;flex-direction:column;align-items:stretch;gap:14px}.player-settings-grid h3{font-size:15px;margin:2px 0}.player-settings-grid>button{font-size:13px!important;padding:10px!important}.player-settings-actions{display:flex;justify-content:space-between;gap:10px;margin-top:12px}.player-settings-actions button{font-size:12px!important;padding:10px!important}.player-settings-actions button:last-child{border-color:#e85c76;color:#ffb1bf}

.shell .card-rotator{transition-duration:.2s}
@media(max-width:999px){body #stage .seat:has(.hand-label) .name-tag,body .shell .player .seat-nameplate{margin-top:14px!important}.hand-label{font-size:7px!important;max-width:90px!important;padding:2px 5px!important}}

body .shell .opponent[hidden],body .shell .player[hidden],body #stage .seat[hidden]{display:none!important}
#spectator-banner{position:fixed;left:50%;bottom:125px;transform:translateX(-50%);z-index:40;padding:10px 16px;border:1px solid #65dfff;border-radius:9px;background:#07182bed;color:#d9f5ff;font:13px system-ui;max-width:90vw;text-align:center}#spectator-banner[hidden]{display:none!important}#spectator-banner a{color:#8feaff;margin-left:10px}@media(max-width:999px){#spectator-banner{bottom:65px;font-size:11px}}
.action-area[hidden]{display:none!important}
