/* Both layouts remain available on every device. Compact is the phone default. */
body:has(.table-screen[data-table-layout="compact"]) .bar{min-height:48px;padding:6px 12px;gap:6px}
body:has(.table-screen[data-table-layout="compact"]) .bar .logo{font-size:23px}
body:has(.table-screen[data-table-layout="compact"]) .bar .brand-coin{width:30px;height:30px}
body:has(.table-screen[data-table-layout="compact"]) .bar .btn{min-height:38px;padding:6px 10px;font-size:12px}
body:has(.table-screen[data-table-layout="compact"]) .bar .chip{font-size:11px;padding:7px 9px}
body:has(.table-screen[data-table-layout="compact"]) #banner{font-size:9px;line-height:1.25;padding:4px 10px}
#main.table-screen[data-table-layout="compact"]{padding:8px 8px 72px}
.table-screen[data-table-layout="compact"] .board-dashboard.live-table{padding:8px 6px;gap:7px;border-radius:23px;min-height:0}
.table-screen[data-table-layout="compact"] .board-dashboard.live-table>.felt-top{min-height:38px;font-size:11px}
.table-screen[data-table-layout="compact"] .board-dashboard.live-table>.prefs{top:7px;right:7px}
.table-screen[data-table-layout="compact"] .board-dashboard.live-table>.prefs .pref{min-height:40px;min-width:44px;padding:7px;font-size:10px}
.table-screen[data-table-layout="compact"] .board-dashboard.live-table>.move-prompt{font-size:11px;line-height:1.3;min-height:34px;padding:7px 9px;border-radius:12px}
.table-screen[data-table-layout="compact"] .board-dashboard .table-arena{display:block;width:min(100%,310px);position:relative;margin:0 auto}
.table-screen[data-table-layout="compact"] .board-dashboard .table-arena>.board-surface{width:100%;height:auto;aspect-ratio:1;border-width:5px;border-radius:27px}
.table-screen[data-table-layout="compact"] .board-dashboard .table-arena>.seat{position:absolute;top:4px;grid-area:auto;width:82px;max-width:82px;padding:4px 3px;z-index:3;background:#2d154fee;border-radius:13px}
.table-screen[data-table-layout="compact"] .board-dashboard .table-arena>.seat-north{left:50%;transform:translateX(-50%);margin:0}
.table-screen[data-table-layout="compact"] .board-dashboard .table-arena>.seat-west{left:0;top:23px}
.table-screen[data-table-layout="compact"] .board-dashboard .table-arena>.seat-east{right:0;top:23px}
.table-screen[data-table-layout="compact"] .board-dashboard .table-arena .seat .nm{font-size:9px;line-height:1.1}
.table-screen[data-table-layout="compact"] .board-dashboard .table-arena .seat .st{font-size:8px;line-height:1.1}
.table-screen[data-table-layout="compact"] .board-dashboard .table-arena .seat .crew-holder{width:29px;height:30px}
.table-screen[data-table-layout="compact"] .board-dashboard .table-arena .seat .hand{margin:2px 0 0;gap:2px}
.table-screen[data-table-layout="compact"] .board-dashboard .table-arena .seat .hand .pcard{--cw:12px;width:12px;max-width:12px}
.table-screen[data-table-layout="compact"] .board-dashboard .table-arena .seat .dropzone{height:18px}
.table-screen[data-table-layout="compact"] .board-dashboard .table-arena .seat .dropzone .pcard{--cw:12px;width:12px;min-width:12px}
.table-screen[data-table-layout="compact"] .board-dashboard .table-arena .seat .dropzone>.small{font-size:7px}
.table-screen[data-table-layout="compact"] .board-dashboard .board-surface .pot{top:119px;left:85px;right:85px}
.table-screen[data-table-layout="compact"] .board-dashboard .board-surface .pot .amt{font-size:18px;line-height:1.1}
.table-screen[data-table-layout="compact"] .board-dashboard .board-surface .pot .sub{font-size:8px;line-height:1.1}
.table-screen[data-table-layout="compact"] .board-dashboard .board-surface .poolwrap{left:11px;right:11px;bottom:30px}
.table-screen[data-table-layout="compact"] .board-dashboard .board-surface .pickup-heading{font-size:10px;margin-bottom:4px}
.table-screen[data-table-layout="compact"] .board-dashboard .board-surface .pool{gap:4px;min-height:67px}
.table-screen[data-table-layout="compact"] .board-dashboard .board-surface .poolcard{min-height:70px;max-width:56px}
.table-screen[data-table-layout="compact"] .board-dashboard .board-surface .poolcard .pcard{font-size:19px}
.table-screen[data-table-layout="compact"] .board-dashboard .board-surface .ord{font-size:7px;line-height:12px;margin-bottom:3px}
.table-screen[data-table-layout="compact"] .board-dashboard .pickup-queue{padding-right:9px}
.table-screen[data-table-layout="compact"] .board-dashboard .pickup-queue .board-deck{top:22px}
.table-screen[data-table-layout="compact"] .board-dashboard .pickup-queue .deckstack,.table-screen[data-table-layout="compact"] .board-dashboard .pickup-queue .deckstack .pcard{width:43px}
.table-screen[data-table-layout="compact"] .board-dashboard .pickup-queue .deckstack{height:60px}
.table-screen[data-table-layout="compact"] .board-dashboard .deck-caption{font-size:8px;margin-top:6px}
.table-screen[data-table-layout="compact"] .board-dashboard .board-surface .your-seat-marker{font-size:8px;bottom:9px}
.table-screen[data-table-layout="compact"] .board-dashboard .player-dashboard{padding:8px;gap:5px 8px;grid-template-columns:minmax(140px,1fr) minmax(90px,.75fr);border-radius:19px}
.table-screen[data-table-layout="compact"] .board-dashboard .player-dashboard .you-head{min-height:28px;gap:5px}
.table-screen[data-table-layout="compact"] .board-dashboard .player-dashboard .you-head .crew-holder{width:26px;height:29px;flex-basis:26px}
.table-screen[data-table-layout="compact"] .board-dashboard .player-dashboard .you-head strong{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:52%}
.table-screen[data-table-layout="compact"] .board-dashboard .player-dashboard .you-head .mono{font-size:11px;white-space:nowrap;margin-left:auto}
.table-screen[data-table-layout="compact"] .board-dashboard .player-dashboard>.hand{gap:4px;min-height:64px}
.table-screen[data-table-layout="compact"] .board-dashboard .player-dashboard>.hand .pcard{--cw:42px;width:42px;max-width:42px;font-size:18px;height:auto;aspect-ratio:5/7}
.table-screen[data-table-layout="compact"] .board-dashboard .player-dashboard .handcard{padding:0;min-width:44px;min-height:64px;width:44px;border-radius:8px}
.table-screen[data-table-layout="compact"] .board-dashboard .player-dashboard>.dropzone{font-size:9px;min-height:0}
.table-screen[data-table-layout="compact"] .board-dashboard .player-dashboard>.dropzone .pcard{--cw:19px;width:19px;min-width:19px;height:auto}
.table-screen[data-table-layout="compact"] .board-dashboard .player-dashboard>.dropzone .small{font-size:9px}
.table-screen[data-table-layout="compact"] .board-dashboard .player-dashboard>.score{font-size:12px;line-height:1.2}
.table-screen[data-table-layout="compact"] .board-dashboard .player-dashboard>.timer{height:6px}
.table-screen[data-table-layout="compact"] .board-dashboard .player-dashboard>.actions{grid-column:1/-1;gap:6px;flex-wrap:nowrap}
.table-screen[data-table-layout="compact"] .board-dashboard .player-dashboard>.actions .btn{min-height:44px;min-width:44px;padding:7px;font-size:12px;line-height:1.2}
.table-screen[data-table-layout="compact"] .board-dashboard .player-dashboard>.pickup-ready{font-size:10px;line-height:1.2}
.table-screen[data-table-layout="compact"] .board-dashboard .player-dashboard>.taunt-controls{padding-top:4px;font-size:11px}
.table-screen[data-table-layout="compact"] .board-dashboard .taunt-controls summary{min-height:28px;display:flex;align-items:center}
.table-screen[data-table-layout="compact"] .board-dashboard.live-table>.handline{display:none}
.table-screen[data-table-layout="compact"]>.panel{margin-top:10px}
body:has(.table-screen[data-table-layout="compact"]) .tabs{padding-bottom:env(safe-area-inset-bottom,0px)}
@media(max-width:360px){
.table-screen[data-table-layout="compact"] .board-dashboard .table-arena{width:100%}
.table-screen[data-table-layout="compact"] .board-dashboard .table-arena>.seat{width:74px;max-width:74px}
.table-screen[data-table-layout="compact"] .board-dashboard .table-arena .seat .nm{font-size:8px}
.table-screen[data-table-layout="compact"] .board-dashboard .board-surface .pot{top:111px}
.table-screen[data-table-layout="compact"] .board-dashboard .player-dashboard .you-head strong{max-width:46%}
.table-screen[data-table-layout="compact"] .board-dashboard .board-surface .poolcard .pcard{font-size:17px}
.table-screen[data-table-layout="compact"] .board-dashboard .player-dashboard>.actions .btn{font-size:11px}
}
.table-screen[data-table-layout="compact"] .result-table{display:flex;flex-direction:column;padding:10px;gap:8px;border-radius:23px}
.table-screen[data-table-layout="compact"] .result-table>.result-summary{order:0;margin:0;padding:10px}
.table-screen[data-table-layout="compact"] .result-table>.prefs{order:1;margin:0!important;justify-content:center!important}
.table-screen[data-table-layout="compact"] .result-table>.seats{order:2;display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:0}
.table-screen[data-table-layout="compact"] .result-table .seat{padding:7px;min-width:0;border-radius:16px}
.table-screen[data-table-layout="compact"] .result-table .seat .stage{min-height:0;height:37px;margin:0}
.table-screen[data-table-layout="compact"] .result-table .seat .crew-holder{width:33px;height:37px}
.table-screen[data-table-layout="compact"] .result-table .seat .nm{font-size:10px;justify-content:center;gap:3px;margin:2px 0;line-height:1.1}
.table-screen[data-table-layout="compact"] .result-table .seat .st{font-size:8px;margin:2px 0}
.table-screen[data-table-layout="compact"] .result-table .seat .tot{font-size:11px}
.table-screen[data-table-layout="compact"] .result-table .seat .hand{min-height:0;gap:3px;margin:4px 0;flex-wrap:wrap;justify-content:center}
.table-screen[data-table-layout="compact"] .result-table .seat .hand .pcard{--cw:25px;width:25px;height:auto;aspect-ratio:5/7;min-width:0;font-size:11px}
.table-screen[data-table-layout="compact"] .result-table .seat .dropzone{font-size:8px;min-height:0;margin:3px 0;justify-content:center}
.table-screen[data-table-layout="compact"] .result-table .seat .dropzone .pcard{--cw:17px;width:17px;min-width:0;font-size:8px}
.table-screen[data-table-layout="compact"] .result-table .seat>.small{font-size:9px}
.table-screen[data-table-layout="compact"] .result-table .dealer-pip{font-size:7px}
.table-screen[data-table-layout="compact"] .result-table .result-line{flex-wrap:wrap;gap:7px}
.table-screen[data-table-layout="compact"] .result-table .result-line h2{font-size:17px}
.table-screen[data-table-layout="compact"] .result-table .result-line .net{font-size:18px}
.table-screen[data-table-layout="compact"] .result-table .btn{min-height:44px}
.table-screen[data-table-layout="compact"]{max-width:430px;margin-left:auto;margin-right:auto}
.layout-switch{white-space:nowrap}
.board-dashboard.live-table>.felt-top{padding-right:200px}
.table-screen[data-table-layout="compact"] .board-dashboard.live-table>.prefs .layout-switch{min-width:92px}
@media(max-height:720px){
 .table-screen[data-table-layout="compact"] .board-dashboard .table-arena{width:min(100%,260px)}
 .table-screen[data-table-layout="compact"] .board-dashboard .board-surface .poolwrap{left:1px;right:1px}
 .table-screen[data-table-layout="compact"] .board-dashboard .board-surface .pot{top:94px}
 .table-screen[data-table-layout="compact"] .board-dashboard.live-table>.move-prompt{padding:5px 8px;font-size:10px;min-height:30px}
 .table-screen[data-table-layout="compact"] .board-dashboard .table-arena>.seat{width:74px;max-width:74px}
 .table-screen[data-table-layout="compact"] .board-dashboard .table-arena .seat .nm{font-size:8px}
}

.compact-pot{display:none}
.table-screen[data-table-layout="compact"] .board-dashboard .board-surface .pot{display:none}
.table-screen[data-table-layout="compact"] .compact-pot{display:inline;font-size:9px;color:#19e5cf;font-weight:800}
.table-screen[data-table-layout="compact"] .board-dashboard .felt-top>.chip{display:none}
