.display-settings{position:fixed;right:max(24px,7vw);top:88px;z-index:18;display:flex;gap:7px}.display-settings button{font:11px system-ui;background:#07182eee;border:1px solid #44d5ff;border-radius:7px;color:#8de7ff;padding:6px 10px;cursor:pointer;box-shadow:0 0 12px #44d5ff33}
@media(min-width:1000px){.shell .message-box{left:max(calc((100vw - 1660px)/2 + 12px),calc(7vw + 12px));width:min(360px,26vw)}.shell .action-area{right:max(calc((100vw - 1660px)/2 + 12px),calc(7vw + 12px))}#menu-toggle{left:calc(7vw + 12px)}}
@media(max-width:999px){.display-settings{top:76px;right:18px}.display-settings button{font-size:9px;padding:4px 6px}}
/* One aligned welcome/menu row and a distinct pot badge clear of the top seat. */
@media(min-width:1000px){.shell .intro{left:24px;top:100px}.shell .table-menu{left:calc(7vw + 230px);top:92px}#menu-toggle{left:auto}.shell .pot{position:absolute;top:26%;left:50%;transform:translate(-50%,-50%);margin:0}}
.shell .pot,#pot{background:#03162ee8;border:1px solid #65d9ff88;border-radius:12px;padding:10px 20px;box-shadow:0 0 16px #44d5ff26;text-align:center;z-index:3}
.shell .pot strong{display:block}.shell .pot #pot{border:0;padding:0;background:none;box-shadow:none}
@media(min-width:1000px){#stage #pot{position:absolute;top:26%;left:50%;transform:translate(-50%,-50%)}}
@media(max-width:999px){.shell .table-menu{top:76px;left:150px}.shell .pot,#pot{padding:5px 12px}.shell .pot{position:absolute;top:30%;left:50%;transform:translate(-50%,-50%)}#stage #pot{position:absolute;top:31%;left:50%;transform:translate(-50%,-50%)}}

@media(min-width:1000px){.shell .table{width:60%;height:43%;top:45%;min-height:0}.felt{width:60%;height:47%}.shell .opponent,.shell .player{max-width:180px}}
@media(max-width:999px){.shell .table{width:57%;height:53%;top:42%}.felt{width:57%;height:61%}.shell .opponent,.shell .player,#stage .seat{width:100px!important;min-width:0!important}.shell .opponent .cards .card,#stage .holes .card{width:34px;height:51px}.shell .opponent .who,#stage .name-tag strong{font-size:10px}.shell .opponent .stack,#stage .name-tag small{font-size:9px}}
/* Timers and avatars belong to the nameplate, rather than the card area. */
.seat-nameplate{position:relative!important;padding-bottom:9px!important;overflow:visible!important}
.seat-nameplate>.seat-clock,.seat-nameplate>.time-bar{position:absolute!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;width:100%!important;height:4px!important;margin:0!important;transform:none!important;border-radius:0 0 8px 8px;overflow:hidden;background:#14354a;z-index:2}
.seat-nameplate>.avatar,.seat-nameplate>.emoji{position:absolute!important;left:calc(100% + 8px)!important;right:auto!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;width:32px!important;height:32px!important;min-width:32px!important;margin:0!important;padding:0!important;display:grid!important;place-items:center!important;border-radius:50%!important;font-size:20px!important}
.display-settings{top:24px!important;left:50%!important;right:auto!important;bottom:auto!important;transform:translateX(-50%)}.display-settings #space-sound{width:28px;height:28px;padding:2px;border:0;box-shadow:none;background:#061425aa;font-size:17px}
.chip-setting{display:block;margin:12px 0 0;font-size:12px!important}
@media(max-width:999px){.shell .table-menu{top:auto!important;bottom:68px!important;left:16px!important;right:auto!important;z-index:20}.tools{top:auto!important;bottom:68px!important;left:16px!important}.tools #details-panel{bottom:38px;top:auto}.table-menu-panel{bottom:40px;top:auto}.seat-nameplate>.avatar,.seat-nameplate>.emoji{width:24px!important;height:24px!important;min-width:24px!important;font-size:15px!important;left:calc(100% + 4px)!important}.display-settings{top:64px!important;left:auto!important;right:14px!important;transform:none}.shell .pot,#stage #pot{font-size:8px;padding:4px 10px}.shell .pot strong,#stage #pot strong{font-size:15px}}
@media(max-width:999px){.shell .table-menu,.tools{top:144px!important;bottom:auto!important;left:16px!important}.tools #details-panel,.table-menu-panel{top:36px;bottom:auto}.shell .message-box{width:32vw!important;max-width:150px}}

/* Smaller cards across practice and live tables. */
@media(min-width:1000px){
.shell .community .card,#stage #board .card{width:64px;height:90px;font-size:23px;padding:6px}.shell .community .card span{font-size:30px}
.shell .opponent .hole-card,.shell .player .mycards .hole-card{width:58px!important;height:84px!important;flex-basis:58px!important}.shell .opponent .opcards,.shell .player .mycards{height:84px!important;min-height:84px!important;flex-basis:84px!important}.shell .opponent .opcards .card,.shell .player .mycards .card{width:58px!important;height:84px!important;font-size:21px}.shell .player .mycards .card span{font-size:28px}
#stage .holes{height:84px;min-height:84px}#stage .holes .card{width:58px;height:84px;font-size:21px}#stage .holes .card .suit{font-size:27px}
/* Cards and nameplate sit side by side, as in the supplied Lounge references. */
.lounge-layout .shell .opponent,.lounge-layout .shell .player,.lounge-layout #stage .seat{width:252px!important;min-width:0!important;max-width:none!important;height:90px!important;min-height:90px!important;display:flex;flex-direction:row;justify-content:center;align-items:center;gap:8px;padding:0}
.lounge-layout .shell .opponent>.opcards,.lounge-layout .shell .player .mycards{position:relative!important;top:auto!important;bottom:auto!important;left:auto!important;transform:none!important;order:0;flex:0 0 100px!important;width:100px!important;align-self:center}
.lounge-layout .shell .seat-nameplate,.lounge-layout #stage .name-tag{order:1;min-width:132px;max-width:145px;flex:0 0 132px;padding:7px 9px 10px!important;text-align:left!important}
.lounge-layout .shell .who,.lounge-layout #stage .name-tag strong{font-size:14px}.lounge-layout .shell .stack{font-size:12px}.lounge-layout #stage .holes{flex:0 0 100px;width:100px}.lounge-layout .shell .my-hand,.lounge-layout #stage .hand-label{position:absolute!important;top:92px;bottom:auto!important;left:0;margin:0!important;font-size:8px}
.lounge-layout .shell .dealer,.lounge-layout #stage .dealer{left:50%;right:auto;top:-22px}.lounge-layout .shell .bet-tag,.lounge-layout #stage .bet-tag{top:95px;left:50%;transform:translateX(-50%)}
.lounge-layout .shell .message-box{width:240px!important}.lounge-layout .shell .message-box .chat-history{height:48px}.lounge-layout .chat{width:240px}.lounge-layout .chat #chat-history{height:48px}
.lounge-layout .shell .table-menu{left:calc(7vw + 230px);top:92px}
}
@media(max-width:999px){
.shell .opponent .hole-card,.shell .player .mycards .hole-card{width:34px!important;height:50px!important;flex-basis:34px!important}.shell .opponent>.opcards,.shell .player .mycards{height:50px!important;min-height:50px!important;flex-basis:50px!important}.shell .opponent .opcards .card,.shell .player .mycards .card{width:34px!important;height:50px!important;font-size:13px}.shell .player .mycards .card span{font-size:18px}
.lounge-layout .shell .opponent,.lounge-layout .shell .player{height:94px!important}.lounge-layout .shell .seat-nameplate{min-width:78px!important;padding-inline:4px!important}.lounge-layout .shell .who{font-size:9px!important}.lounge-layout .shell .stack{font-size:9px!important}.lounge-layout .shell .my-hand{font-size:6px;min-height:8px}.lounge-layout .shell .message-box{max-width:115px!important}
}

@media(min-width:1000px){.lounge-layout .shell .lower-seat .bet-tag,.lounge-layout #stage .lower-seat .bet-tag{top:-28px}}
@media(max-width:999px){.lounge-layout .shell .message-box .chat-history,.lounge-layout .chat #chat-history{height:12px}.lounge-layout .shell .message-box{bottom:66px}.lounge-layout .seat-nameplate>.avatar,.lounge-layout .seat-nameplate>.emoji{width:18px!important;height:18px!important;min-width:18px!important;font-size:12px!important;left:calc(100% + 2px)!important}.lounge-layout .shell .my-hand{display:none}.lounge-layout .shell .seat-nameplate{min-width:68px!important;max-width:68px!important}}

.felt-bet{z-index:12!important;pointer-events:none;white-space:nowrap}

#action-status{font:12px system-ui;color:#bfeeff;text-align:right;margin:0 0 8px;max-width:420px;min-height:16px;text-shadow:0 1px 4px #000}@media(max-width:999px){#action-status{font-size:10px;max-width:none;text-align:center;margin-bottom:5px}}

.seat-chat-bubble{position:absolute;top:calc(100% + 7px);left:50%;transform:translateX(-50%);width:max-content;max-width:210px;min-width:50px;padding:7px 11px;border:1px solid #74dfff;border-radius:9px;background:#061b31f5;box-shadow:0 4px 14px #0008;color:#ecfbff;font:12px/1.4 system-ui;text-align:left;white-space:normal;overflow-wrap:anywhere;z-index:90;pointer-events:none}.seat-chat-bubble:before{content:'';position:absolute;top:-5px;left:calc(50% - 4px);width:8px;height:8px;transform:rotate(45deg);background:#061b31;border-left:1px solid #74dfff;border-top:1px solid #74dfff}
@media(max-width:999px){
body .seat-nameplate>.avatar,body .seat-nameplate>.emoji,body .seat-nameplate>#my-avatar{display:none!important}
body .shell .hole-card:first-child,body .shell .hole-card:last-child{transform:none!important}
body .shell .opcards,body .shell .mycards{gap:3px!important}
body #stage .holes{gap:3px!important}body #stage .holes .card{transform:none!important;margin:0!important;flex-shrink:0}
.seat-chat-bubble{max-width:135px;font-size:10px;padding:5px 7px}
}

@media(max-width:999px){.shell .table-menu,.tools{left:8px!important}}

button,a.button,input,select{touch-action:manipulation}
