/* Reference composition, measured at 1241 × 693. Engine and account UI are retained. */
@media(min-width:1001px) and (min-height:551px){
 body[data-usa-client] #view-table>.lf-toolbar{height:42px!important;flex-basis:42px!important;padding:3px 14px!important}
 body[data-usa-client] #view-table .table-panel{grid-template-columns:clamp(200px,18.8558vw,280px) minmax(0,1fr)!important}
 body[data-usa-client] #view-table .pbb-v3{padding:7px 10px 8px 5px!important;gap:8px!important;background:linear-gradient(110deg,#0c1720,#081219)!important}
 body[data-usa-client] #view-table .usa-sidebar-title{font-size:25px;line-height:1.15}
 body[data-usa-client] #view-table .usa-sidebar-subtitle{font-size:14px;color:#e5e5e7;margin-top:1px}
 body[data-usa-client] #view-table #actionBar .lf-btn{height:38px!important;min-height:38px!important;font-size:20px!important;box-shadow:inset 0 1px 1px #fff3,0 2px 3px #0005!important;border-radius:6px!important}
 body[data-usa-client] #view-table #pbb-phrases button{height:23px!important;min-height:23px!important;padding:2px!important;font-size:11px!important;background:linear-gradient(#192834,#101b25)!important}
 body[data-usa-client] #view-table .usa-seat-tools{margin-top:5px;gap:4px}
 body[data-usa-client] #view-table .usa-seat-tools button{padding:3px 5px;font-size:10px}
 body[data-usa-client] #view-table #preactionPersistent label{font-size:12px!important}
}
body[data-usa-client] #view-table .usa-to-call{display:block;margin-top:4px;font-size:inherit;font-weight:400;color:#eee}
body[data-usa-client].usa-reference #view-table .table-area{background:var(--table-room)!important}
body[data-usa-client].usa-reference #view-table #tableOval:before{display:block!important;inset:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent url('./usa-table-uniform-909.png') center/100% 100% no-repeat!important;filter:none!important;z-index:0!important}
body[data-usa-client].usa-reference #view-table #tableOval:after{display:none!important}
body[data-usa-client].usa-reference #view-table .lf-watermark{display:none!important}
body[data-usa-client].usa-reference #view-table .seat{height:var(--usa-seat-height)!important;width:var(--usa-seat-width)!important}
body[data-usa-client].usa-reference #view-table .seat-inner{border:1px solid #8a886f!important;border-radius:999px!important;background:linear-gradient(#0b1516,#010b0d)!important;box-shadow:0 3px 5px #000b,inset 0 1px 1px #d5c8aa44!important;padding:0 calc(8px * var(--usa-ref-scale)) 0 0!important;gap:calc(8px * var(--usa-ref-scale))!important}
body[data-usa-client].usa-reference #view-table .seat-avatar{flex:0 0 var(--usa-avatar)!important;width:var(--usa-avatar)!important;height:var(--usa-avatar)!important;max-width:none!important;max-height:none!important;margin-left:calc(-7px * var(--usa-ref-scale))!important;border:calc(2px * var(--usa-ref-scale)) solid #ceb278!important;border-radius:50%!important;box-shadow:0 0 0 2px #161b17,0 3px 5px #000b,inset 0 0 0 2px #f7dcaa!important;z-index:2!important}
body[data-usa-client].usa-reference #view-table .seat-text{text-align:center!important;flex:1!important;min-width:0!important;overflow:visible!important}
body[data-usa-client].usa-reference #view-table .seat-name,body[data-usa-client].usa-reference #view-table .seat-stack{font:600 var(--usa-name)/1.25 Arial,sans-serif!important;text-align:center!important;color:#f8f8f4!important;text-shadow:0 1px 2px #000!important}
body[data-usa-client].usa-reference #view-table .seat-stack{color:#f1ebc8!important}
body[data-usa-client].usa-reference #view-table .seat[data-usa-hero=true]{width:calc(195px * var(--usa-ref-scale))!important;height:calc(54px * var(--usa-ref-scale))!important}
body[data-usa-client].usa-reference #view-table .seat[data-usa-hero=true] .seat-inner{border-color:#28f8e2!important;box-shadow:0 0 3px #2effe3,0 0 17px #00eccc88,inset 0 0 9px #05caba33!important}
body[data-usa-client].usa-reference #view-table .seat[data-usa-hero=true] .seat-avatar{width:calc(67px * var(--usa-ref-scale))!important;height:calc(67px * var(--usa-ref-scale))!important;flex-basis:calc(67px * var(--usa-ref-scale))!important}
body[data-usa-client].usa-reference #view-table .seat.empty .seat-inner{background:#06171499!important;border:1px solid #92927b88!important;box-shadow:0 2px 5px #0004!important;opacity:.8}
body[data-usa-client].usa-reference #view-table .seat.empty .seat-name{font-size:calc(13px * var(--usa-ref-scale))!important}
body[data-usa-client].usa-reference #view-table .seat .status{font-size:calc(9px * var(--usa-ref-scale))!important}
body[data-usa-client].usa-reference #view-table .seat .role{width:calc(24px * var(--usa-ref-scale))!important;height:calc(24px * var(--usa-ref-scale))!important;right:calc(-14px * var(--usa-ref-scale))!important;top:calc(15px * var(--usa-ref-scale))!important;font-size:calc(14px * var(--usa-ref-scale))!important;line-height:calc(24px * var(--usa-ref-scale))!important}
body[data-usa-client].usa-reference #view-table .hole-cards{left:56%!important;top:calc(-25px * var(--usa-ref-scale))!important;gap:calc(4px * var(--usa-ref-scale))!important;z-index:-1!important;opacity:1!important;transform:translate(-50%,-50%)!important}
body[data-usa-client].usa-reference #view-table .hole-cards>.card{width:var(--usa-opponent-card)!important;height:calc(var(--usa-opponent-card) * 1.38)!important;border-radius:calc(3px * var(--usa-ref-scale))!important}
body[data-usa-client].usa-reference #view-table .seat[data-usa-hero=true] .hole-cards{left:57.5%!important;top:var(--usa-hero-offset)!important;gap:calc(6px * var(--usa-ref-scale))!important;transform:translateX(-50%)!important;z-index:0!important}
body[data-usa-client].usa-reference #view-table .seat[data-usa-hero=true] .hole-cards>.card{width:var(--usa-hero-card)!important;height:calc(var(--usa-hero-card) * 1.34)!important;border-radius:calc(5px * var(--usa-ref-scale))!important}
body[data-usa-client].usa-reference #view-table .table-center{left:47.4%!important;top:var(--usa-board-top)!important;display:flex!important;gap:calc(12px * var(--usa-ref-scale))!important;width:var(--usa-board-width)!important;transform:translate(-50%,-50%)!important}
body[data-usa-client].usa-reference #view-table .board-cards{gap:calc(7px * var(--usa-ref-scale))!important}
body[data-usa-client].usa-reference #view-table .board-cards>.card{aspect-ratio:.737!important;box-shadow:0 3px 4px #0008!important}
body[data-usa-client].usa-reference #view-table #potDisplayWrap{position:absolute!important;left:50%!important;bottom:calc(100% + 9px * var(--usa-ref-scale))!important;top:auto!important;height:calc(68px * var(--usa-ref-scale))!important;min-height:0!important;width:calc(150px * var(--usa-ref-scale))!important;transform:translateX(-50%)!important;flex-direction:column-reverse!important;gap:3px!important;margin:0!important}
body[data-usa-client].usa-reference #view-table #potDisplayWrap .pot-chips{width:calc(110px * var(--usa-ref-scale))!important;height:calc(37px * var(--usa-ref-scale))!important}
body[data-usa-client].usa-reference #view-table #potDisplayWrap .pot-amount{font:700 calc(25px * var(--usa-ref-scale))/1 Arial,sans-serif!important;color:#f5d878!important;gap:calc(8px * var(--usa-ref-scale))!important}
body[data-usa-client].usa-reference #view-table #potDisplayWrap .pot-amount:before{font-size:calc(18px * var(--usa-ref-scale))!important;letter-spacing:0!important}
body[data-usa-client].usa-reference .usa-turn{left:47.4%;font:600 calc(18px * var(--usa-ref-scale))/1.2 Arial,sans-serif;color:#f2f0dc}
body[data-usa-client].usa-reference .usa-turn progress{width:calc(264px * var(--usa-ref-scale));height:calc(6px * var(--usa-ref-scale));margin:calc(6px * var(--usa-ref-scale)) auto 0;border:1px solid #89b9a333}
body[data-usa-client].usa-reference .usa-turn progress::-webkit-progress-value{background:#00dec5}
body[data-usa-client].usa-reference .usa-to-call{font-size:calc(16px * var(--usa-ref-scale));margin-top:calc(5px * var(--usa-ref-scale))}
/* Printed indices and one large pip, like the approved picture. */
body[data-usa-client] #view-table .card:not(.back):not(.empty){background:linear-gradient(105deg,#fff,#f7f8f1)!important;border:1px solid #e4e9e4!important;color:#090b0c!important}
body[data-usa-client] #view-table .card.heart,body[data-usa-client] #view-table .card.diamond{color:#cb0711!important}
body[data-usa-client] #view-table .card>.rank{display:none!important}
body[data-usa-client] #view-table .card>.suit{position:absolute!important;top:43%!important;left:0!important;width:100%!important;height:52%!important;display:flex!important;align-items:center!important;justify-content:center!important;font:bold var(--usa-suit,38px)/1 Georgia,serif!important;color:inherit!important;transform:none!important}
body[data-usa-client] #view-table .card .corner-idx.tl{display:flex!important;position:absolute!important;inset:3% auto auto 8%!important;flex-direction:column!important;align-items:center!important;transform:none!important;color:inherit!important;font:bold var(--usa-rank,24px)/.86 Georgia,serif!important}
body[data-usa-client] #view-table .card .corner-idx.tl .cr{font:inherit!important;line-height:.95!important}
body[data-usa-client] #view-table .card .corner-idx.tl .cs{font:bold .72em/.9 Georgia,serif!important}
body[data-usa-client] #view-table .card.back{background:repeating-linear-gradient(45deg,#843137 0 1px,#b4565c 1px 2px,#63252b 2px 3px)!important;border:2px solid #eee7d7!important;box-shadow:inset 0 0 0 2px #84373e,0 1px 3px #0008!important}
body[data-usa-client].usa-reference #view-table .card{--usa-rank:calc(31px * var(--usa-ref-scale));--usa-suit:calc(53px * var(--usa-ref-scale));border-radius:calc(5px * var(--usa-ref-scale))!important}
body[data-usa-client].usa-reference #view-table .card.in-made-hand:not(.winner),body[data-usa-client].usa-reference #view-table .card.highlight,body[data-usa-client].usa-reference #view-table .card.reveal-winner{border-color:#ffe280!important}

/* The original mockup used a compact header and a utility row under callouts. */
body[data-usa-client] #view-table .card.heart:not(.back):not(.empty),body[data-usa-client] #view-table .card.diamond:not(.back):not(.empty){color:#c90913!important}
body[data-usa-client].usa-reference #view-table .board-cards>.card>.suit,body[data-usa-client].usa-reference #view-table .hole-cards>.card>.suit{font-size:calc(64px * var(--usa-ref-scale))!important;top:40%!important;line-height:1!important}
body[data-usa-client].usa-reference #view-table .seat .hole-cards{top:calc(-8px * var(--usa-ref-scale))!important}
body[data-usa-client].usa-reference #view-table .seat[data-usa-hero=true] .hole-cards{top:var(--usa-hero-offset)!important}
body[data-usa-client].usa-reference #view-table #potDisplayWrap .pot-chips{background-image:url('./usa-reference-chips.svg')!important}
.usa-reference-nav{display:flex;align-items:center;flex:1;gap:16px;min-width:0}.usa-reference-modes{display:flex;border-left:1px solid #45545b;padding-left:17px;gap:0}.usa-reference-nav button{color:#e8e5dd;background:none;border:1px solid transparent;cursor:pointer;font:14px Arial,sans-serif;padding:6px 20px;border-radius:3px}.usa-reference-modes button{background:linear-gradient(#152029,#0b1117);border-color:#333e42;padding:5px 20px}.usa-reference-modes button[aria-pressed=true]{border-color:#d2b779;color:#f3e3b2}.usa-reference-links{margin-left:auto;display:flex}.usa-reference-links button+button{border-left:1px solid #40505a;border-radius:0}.usa-reference-utility{display:none}
@media(min-width:1001px) and (min-height:551px){
 body[data-usa-client] #view-table>.lf-toolbar>.lf-tools-left,body[data-usa-client] #view-table>.lf-toolbar>.lf-tools-right,body[data-usa-client] #view-table>.lf-toolbar>.lf-hand-num{display:none!important}
 body[data-usa-client] #view-table .usa-brand{font:700 26px Georgia,serif;letter-spacing:0;margin-right:4px}
 body[data-usa-client] #view-table .usa-game-heading{padding-bottom:6px}
 body[data-usa-client] #view-table .usa-game-heading .usa-seat-tools{display:none!important}
 body[data-usa-client] #view-table .pbb-v3{grid-template-rows:auto auto minmax(0,1fr) auto auto!important;gap:7px!important}
 body[data-usa-client] #view-table .usa-reference-utility{display:flex;order:4;align-items:center;gap:7px;height:24px}
 .usa-reference-utility button{font:11px Arial,sans-serif;color:#e4e8e8;background:none;border:0;cursor:pointer;padding:2px}.usa-reference-utility .lf-music-toggle{display:block!important;height:24px!important;width:65px!important;padding:0!important;background:none!important;border:0!important}.usa-reference-utility .lf-music-toggle:after{content:' Sound';font-size:10px}.usa-reference-utility .lf-music-toggle:before{font-size:15px!important}
 body[data-usa-client] #view-table #pbb-readout{font-size:13px!important;line-height:1.25!important}
 body[data-usa-client] #view-table #pbb-readout:before{font-size:16px!important;line-height:1.3!important;color:#e7e9ed!important}
 body[data-usa-client] #view-table .pbb-v3 .z-ctr{gap:6px!important}
}
@media(max-width:1000px),(max-height:550px){.usa-reference-nav{display:none!important}}
body[data-usa-client][data-usa-controls=bottom] #view-table .usa-reference-utility{display:none!important}
body[data-usa-client][data-usa-controls=bottom] #view-table .usa-game-heading .usa-seat-tools{display:flex!important}

@media(min-width:1001px) and (min-height:551px){
 body[data-usa-client] #view-table .usa-reference-nav{position:absolute!important;left:274px!important;right:16px!important;top:7px!important;height:28px!important;display:flex!important;max-width:none!important;width:auto!important;justify-content:space-between!important}
 body[data-usa-client] #view-table .usa-reference-links{margin-left:auto!important}
 body[data-usa-client] #view-table .usa-sidebar-subtitle{margin-bottom:0!important}
 body[data-usa-client] #view-table .usa-reference-utility .lf-music-toggle{width:62px!important;min-width:62px!important;overflow:visible!important;white-space:nowrap!important}
 body[data-usa-client] #view-table .usa-reference-utility .lf-music-toggle:before{content:'♫'!important;font-size:15px!important}
 body[data-usa-client] #view-table .usa-reference-utility .lf-music-toggle:after{content:' Sound'!important;font-size:10px!important}
}

body[data-usa-client]:not(.usa-reference) #view-table .usa-to-call{display:none!important}

/* Same material quality in phone and tiled windows; only geometry changes. */
body[data-usa-client] #view-table #tableOval:before{display:block!important;inset:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent url('./usa-table-uniform-909.png') center/100% 100% no-repeat!important;filter:none!important;z-index:0!important}
body[data-usa-client] #view-table #tableOval:after,body[data-usa-client] #view-table .lf-watermark{display:none!important}
body[data-usa-client] #view-table #potDisplayWrap .pot-chips{background-image:url('./usa-reference-chips.svg')!important}
@media(min-width:601px),(orientation:landscape){body[data-usa-client] #view-table .seat-inner{border-radius:999px!important;background:linear-gradient(#0b1516,#010b0d)!important}}
@media(max-width:600px) and (orientation:portrait){
 body[data-usa-client] #view-table #tableOval:before{background-image:url('./usa-table-portrait-uniform-909.png')!important}
 body[data-usa-client] #view-table .seat-inner{border-radius:24px 24px 12px 12px!important;background:linear-gradient(#0b1516,#010b0d)!important;border-color:#99834e!important}
 body[data-usa-client] #view-table .seat[data-usa-hero=true] .seat-inner{border-radius:999px!important;border-color:#28f8e2!important;box-shadow:0 0 9px #00eccc77!important}
 body[data-usa-client] #view-table .seat .seat-avatar{border-color:#d7b97a!important;box-shadow:0 0 0 1px #141a18,0 2px 4px #0009!important}
}

/* Hand cues lift immediately, so chip clearance never samples a halfway position. */
body[data-usa-client] #view-table .card.in-made-hand,body[data-usa-client] #view-table .card.reveal-winner{transition:box-shadow .2s,filter .2s!important}
body[data-usa-client]>.pot-chips[data-seat-flight]{background:transparent url('./usa-reference-chips.svg') center/contain no-repeat!important;transform:none!important}
body[data-usa-client]>.pot-chips[data-seat-flight]:before,body[data-usa-client]>.pot-chips[data-seat-flight]:after{display:none!important}
body[data-usa-client] #view-table .winner-chip-flight .pot-chips{background-image:url('./usa-reference-chips.svg')!important}

@media(max-height:400px){body[data-usa-client] #view-table .seat .bet-chip{width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;padding:0!important}}

/* Two boards have a dedicated pot pocket, clear of the top player's plaque. */
body[data-usa-client].usa-reference:not(.holdem-mode) #view-table #potDisplayWrap{left:calc(100% + 90px * var(--usa-ref-scale))!important;top:calc(42px * var(--usa-ref-scale))!important;bottom:auto!important}
body[data-usa-client].usa-reference #view-table .seat-name{font-size:var(--usa-player-name,var(--usa-name))!important}

/* Activity893: full-height admin tabs and compact controls contained in their dock. */
body[data-usa-client] .poker-admin-heading,body[data-usa-client] .poker-admin-tabs{flex:0 0 auto!important}
body[data-usa-client] .poker-admin-tabs{min-height:44px!important;overflow-y:hidden!important;align-items:stretch!important}
body[data-usa-client] .poker-admin-panel{height:min(760px,92dvh)!important;max-height:92dvh!important;min-height:0!important}
body[data-usa-client] #adminBody{min-height:0!important;flex:1 1 0!important;overscroll-behavior:contain}
body[data-usa-client] #lfMenuAdmin{display:none!important}
body[data-usa-client] .usa-lobby-drawer{box-shadow:3px 0 10px #0005!important}
body[data-usa-client] .usa-lobby-drawer>.win-title{height:32px!important;min-height:32px!important;padding:4px 10px!important}
body[data-usa-client] .usa-lobby-drawer .lobby-scroll-content{padding:8px!important}
.usa-lobby-drawer .usa-lobby-welcome{min-height:0;padding:8px;margin-bottom:8px;border-radius:6px}
.usa-lobby-drawer .usa-lobby-welcome h1{font-size:22px;margin:0}
.usa-lobby-drawer .usa-lobby-welcome p,.usa-lobby-drawer .usa-lobby-kicker{display:none}
body[data-usa-client] .usa-lobby-drawer .lobby-cashier-strip{padding:8px!important;margin-bottom:8px!important}
body[data-usa-client] .usa-lobby-drawer .lw-tabs{gap:2px!important;flex-wrap:nowrap}
body[data-usa-client] .usa-lobby-drawer .lw-tab{font-size:10px!important;padding:6px 5px!important}
.usa-game-label{display:block;font:600 11px system-ui;color:#c9d6d2;margin-top:8px}
.usa-game-select{display:block;width:100%;margin:4px 0 8px;padding:7px;background:#102d2e;color:#f8e6bd;border:1px solid #7e724e;border-radius:5px;font:600 14px system-ui}
.usa-lobby-drawer .usa-live-games{margin-top:0;gap:0}
.usa-lobby-drawer .usa-live-game{padding:8px}
.usa-lobby-drawer .usa-live-game[hidden]{display:none!important}
.usa-lobby-drawer .usa-live-game h2{display:none}
.usa-lobby-drawer .usa-live-game>p{font-size:10px;margin:0 0 5px}
.usa-lobby-drawer .usa-live-row{padding:7px 0;gap:3px}
.usa-lobby-drawer .usa-live-row strong{font-size:13px}
.usa-lobby-drawer .usa-live-row button{padding:5px 8px;font-size:11px}
.usa-lobby-drawer .usa-live-row small,.usa-lobby-drawer .usa-live-row span{font-size:10px}
.usa-lobby-drawer .usa-lobby-status{font-size:10px;margin:7px 0}
.usa-lobby-drawer .usa-lobby-shortcuts{gap:4px;flex-wrap:wrap}
.usa-lobby-drawer .usa-lobby-shortcuts button{padding:5px;font-size:10px}
@media(min-width:601px),(orientation:landscape){
 body[data-usa-client][data-usa-controls=bottom] #view-table .pbb-v3{grid-template-rows:minmax(0,1fr)!important;padding:7px 8px!important;gap:8px!important}
 body[data-usa-client][data-usa-controls=bottom] #view-table .usa-game-heading{min-height:0!important;min-width:0!important;overflow:visible!important}
 body[data-usa-client][data-usa-controls=bottom] #view-table .usa-sidebar-title{font-size:15px!important;line-height:18px!important;padding:0!important}
 body[data-usa-client][data-usa-controls=bottom] #view-table .usa-sidebar-subtitle{font-size:10px!important;line-height:12px!important;margin:1px 0!important}
 body[data-usa-client][data-usa-controls=bottom] #view-table .usa-seat-tools{display:flex!important;flex-direction:column!important;align-items:stretch!important;margin:4px 0 0!important;gap:3px!important}
 body[data-usa-client][data-usa-controls=bottom] #view-table .usa-seat-tools button{height:22px!important;min-height:22px!important;font-size:10px!important;line-height:16px!important;padding:2px 4px!important;white-space:nowrap!important}
 body[data-usa-client][data-usa-controls=bottom] #view-table .usa-seat-status{font-size:9px;line-height:10px}
 body[data-usa-client][data-usa-controls=bottom] #view-table #actionBar .lf-btn{height:30px!important;min-height:30px!important;font-size:13px!important}
}

/* While a phone table is open, the lobby becomes a compact game/stakes bar. */
#desktopCanvas[data-lobby-compact=true] .usa-lobby-drawer .usa-lobby-welcome,
#desktopCanvas[data-lobby-compact=true] .usa-lobby-drawer .lobby-cashier-strip,
#desktopCanvas[data-lobby-compact=true] .usa-lobby-drawer .lw-tabs,
#desktopCanvas[data-lobby-compact=true] .usa-lobby-drawer .lobby-arrange-footer,
#desktopCanvas[data-lobby-compact=true] .usa-lobby-drawer .usa-lobby-status,
#desktopCanvas[data-lobby-compact=true] .usa-lobby-drawer .usa-lobby-shortcuts,
#desktopCanvas[data-lobby-compact=true] .usa-lobby-drawer .usa-live-game>p{display:none!important}
#desktopCanvas[data-lobby-compact=true] .usa-game-label{margin:0;font-size:0}
#desktopCanvas[data-lobby-compact=true] .usa-game-select{margin:0 0 4px;height:28px;padding:3px 6px;font-size:12px}
#desktopCanvas[data-lobby-compact=true] .usa-live-game{padding:0;border:0;background:none}
#desktopCanvas[data-lobby-compact=true] .usa-live-rows{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
#desktopCanvas[data-lobby-compact=true] .usa-live-row{display:block;padding:0;border:0}
#desktopCanvas[data-lobby-compact=true] .usa-live-row>*:not(button){display:none}
#desktopCanvas[data-lobby-compact=true] .usa-live-row button{font-size:0;width:100%;min-height:28px;padding:4px}
#desktopCanvas[data-lobby-compact=true] .usa-live-row button:after{content:attr(data-stakes);font:600 12px system-ui}

@media(max-height:500px) and (orientation:landscape){
 body[data-usa-client]:not([data-usa-controls=bottom]) #view-table .usa-game-heading .usa-sidebar-title{font-size:15px!important;line-height:18px!important;padding:0!important}
 body[data-usa-client]:not([data-usa-controls=bottom]) #view-table .usa-sidebar-subtitle{font-size:10px!important;line-height:12px!important;margin:2px 0!important}
 body[data-usa-client]:not([data-usa-controls=bottom]) #view-table .usa-seat-tools{position:static!important;display:flex!important;flex-direction:row!important;gap:3px!important;margin-top:3px!important}
 body[data-usa-client]:not([data-usa-controls=bottom]) #view-table .usa-seat-tools button{font-size:9px!important;line-height:16px!important;height:22px!important;padding:2px 3px!important}
 body[data-usa-client]:not([data-usa-controls=bottom]) #view-table .usa-seat-tools .usa-private-chat{display:none!important}
}

@media(max-width:600px) and (orientation:portrait){body[data-usa-client] #view-table .table-area{min-height:0!important}}

@media(max-width:600px) and (orientation:portrait) and (max-height:500px){
 body[data-usa-client] #view-table #actionBar .lf-btn{height:30px!important;min-height:30px!important;font-size:13px!important}
 body[data-usa-client] #view-table .usa-quick{gap:3px!important}
 body[data-usa-client] #view-table .usa-quick button,body[data-usa-client] #view-table .usa-mobile-tools button{height:24px!important;min-height:24px!important;padding:3px 2px!important;font-size:10px!important}
}

body[data-usa-client].usa-short-table #view-table .seat .bet-chip{width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;padding:0!important}
body[data-usa-client].usa-short-table #view-table .seat .bet-chip:after{top:18px!important;font-size:10px!important;min-width:18px!important}

/* Franklin's real-deck reference: illustrated courts and a natural readable fan. */
body[data-usa-client] #view-table .card:not(.back):not(.empty){container-type:inline-size;box-shadow:inset 0 0 0 1px #fff,0 2px 4px #0007!important;background:linear-gradient(115deg,#ffffff 0%,#fffefa 70%,#f1ede3 100%)!important}
body[data-usa-client] #view-table .card>.suit{display:none!important}
body[data-usa-client] #view-table .card .playing-face{display:block!important;position:absolute!important;inset:13% 15% 13% 28%!important;color:inherit!important;pointer-events:none}
body[data-usa-client] #view-table .card .playing-pip{position:absolute!important;font-size:21cqw!important;line-height:1!important;color:inherit!important;transform:translate(-50%,-50%)!important}
body[data-usa-client] #view-table .card .face-emblem{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;font-size:57cqw!important;line-height:1!important;color:inherit!important}
body[data-usa-client] #view-table .card .court-art{display:block!important;width:100%!important;height:100%!important;object-fit:fill!important;filter:saturate(1.12) contrast(1.04)}
body[data-usa-client] #view-table .card .corner-idx.tl{inset:5% auto auto 7%!important;font-size:32cqw!important;z-index:2}
body[data-usa-client] #view-table .card .corner-idx.br{display:flex!important;position:absolute!important;inset:auto 7% 5% auto!important;flex-direction:column!important;align-items:center!important;transform:rotate(180deg)!important;font:bold 25cqw/.9 Georgia,serif!important;color:inherit!important;z-index:2}
body[data-usa-client] #view-table .card .corner-idx.br .cr{font:inherit!important;line-height:.95!important}
body[data-usa-client] #view-table .card .corner-idx.br .cs{font:bold .72em/.9 Georgia,serif!important}
body[data-usa-client] #view-table .seat[data-usa-hero=true] .hole-cards{gap:0!important}
body[data-usa-client] #view-table .seat[data-usa-hero=true] .hole-cards>.card{transform-origin:50% 100%!important;border-radius:7%!important}
body[data-usa-client] #view-table .seat[data-usa-hero=true] .hole-cards>.card+.card{margin-left:calc(var(--usa-hero-card) * -.2)!important}
body[data-usa-client] #view-table .card.in-made-hand:not(.winner),body[data-usa-client] #view-table .card.highlight,body[data-usa-client] #view-table .card.reveal-winner{box-shadow:0 0 12px #ffcf5577,0 3px 6px #0009!important}

body[data-usa-client] #view-table .card .playing-pip.inverted{transform:translate(-50%,-50%) rotate(180deg)!important}

/* Keep persistent choices visible in a dedicated row below bottom controls. */
@media(min-width:601px),(orientation:landscape){
 body[data-usa-client][data-usa-controls=bottom] #view-table .table-panel{grid-template-rows:minmax(0,1fr) 176px!important}
 body[data-usa-client][data-usa-controls=bottom] #view-table .pbb-v3{grid-template-rows:minmax(0,1fr) 22px!important;row-gap:4px!important}
 body[data-usa-client][data-usa-controls=bottom] #view-table .pbb-v3>#pbb-checks{display:flex!important;grid-column:1/-1!important;grid-row:2!important;order:5!important;justify-content:center!important;align-items:center!important;min-width:0!important}
 body[data-usa-client][data-usa-controls=bottom] #view-table #preactionPersistent{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;justify-content:center!important;gap:16px!important;width:100%!important}
 body[data-usa-client][data-usa-controls=bottom] #view-table #preactionPersistent label{font:11px/18px system-ui!important;white-space:nowrap!important;gap:5px!important;cursor:pointer}
 body[data-usa-client][data-usa-controls=bottom] #view-table #preactionPersistent input{width:15px!important;height:15px!important;margin:0!important;flex:none!important}
}
@media(min-width:601px) and (max-width:1100px),(orientation:landscape) and (max-height:600px){
 body[data-usa-client][data-usa-controls=bottom] #view-table .table-panel{grid-template-rows:minmax(0,1fr) 148px!important}
}
@media(min-width:601px) and (max-height:450px){
 body[data-usa-client][data-usa-controls=bottom] #view-table .table-panel{grid-template-rows:minmax(0,1fr) 116px!important}
}

/* Franklin 904: jumbo printed indices, larger live cards, curved fan. */
body[data-usa-client] #view-table .card .corner-idx.tl{font:800 40cqw/.88 Arial,Helvetica,sans-serif!important;inset:5% auto auto 6%!important;letter-spacing:-.055em}
body[data-usa-client] #view-table .board-cards .card .corner-idx.tl{font-size:44cqw!important}
body[data-usa-client] #view-table .card .corner-idx.tl .cs{font-size:.8em!important;line-height:1!important;letter-spacing:0}
body[data-usa-client] #view-table .card .corner-idx.br{font-family:Arial,Helvetica,sans-serif!important;font-size:27cqw!important;font-weight:800!important}
body[data-usa-client] #view-table .card .playing-face{inset:14% 10% 15% 40%!important}
body[data-usa-client] #view-table .card .playing-pip{font-size:23cqw!important}
body[data-usa-client] #view-table .card .court-art{filter:contrast(1.12) saturate(1.05)}
body[data-usa-client] #view-table .seat[data-usa-hero=true] .hole-cards>.card+.card{margin-left:calc(var(--usa-hero-card) * -.17)!important}
body[data-usa-client] #view-table .hole-cards>.card{transform:translateY(calc(var(--usa-fan-y,0px) + var(--usa-card-lift,0px))) rotate(var(--usa-fan-angle,0deg))!important;transition:transform .22s ease,box-shadow .22s ease!important}
body[data-usa-client] #view-table .card.in-made-hand:not(.winner),body[data-usa-client] #view-table .card.highlight,body[data-usa-client] #view-table .card.reveal-winner{--usa-card-lift:-5px;outline:3px solid #ffdc55!important;outline-offset:1px!important;box-shadow:0 0 0 2px #77530a,0 0 19px #ffd447ad,0 4px 8px #0009!important}
body[data-usa-client] #view-table .card.non-winner{opacity:.78!important;filter:saturate(.55)!important}
@media(prefers-reduced-motion:reduce){body[data-usa-client] #view-table .hole-cards>.card{transition:none!important}}
/* Equal-size controls with actual input/label alignment in every orientation. */
body[data-usa-client] #view-table #preactionPersistent label,body[data-usa-client] #view-table #pbb-preactions label{display:flex!important;align-items:center!important;gap:6px!important;min-height:20px!important;margin:0!important;padding:0!important;line-height:1.2!important}
body[data-usa-client] #view-table #preactionPersistent input[type=checkbox],body[data-usa-client] #view-table #pbb-preactions input[type=checkbox]{width:16px!important;height:16px!important;min-width:16px!important;flex:0 0 16px!important;margin:0!important;vertical-align:middle!important}
body[data-usa-client] #view-table #actionBar .lf-btn{display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important}
body[data-usa-client][data-usa-controls=bottom] #view-table #preactionPersistent{align-items:center!important;justify-content:flex-start!important;gap:6px 14px!important}
body[data-usa-client] #view-table #pbb-phrases button{display:flex!important;align-items:center!important;justify-content:center!important;line-height:1.15!important}

/* The Omaha pot lives in its own strip BETWEEN the two board rows. */
body[data-usa-client]:not(.holdem-mode) #view-table .table-center>.board:has(#topBoard){order:0!important}
body[data-usa-client]:not(.holdem-mode) #view-table .table-center>.board:has(#bottomBoard){order:2!important}
body[data-usa-client]:not(.holdem-mode) #view-table #potDisplayWrap,body[data-usa-client].usa-reference:not(.holdem-mode) #view-table #potDisplayWrap{order:1!important;position:relative!important;inset:auto!important;transform:none!important;flex-direction:row!important;justify-content:center!important;gap:12px!important;width:100%!important;height:40px!important;min-height:40px!important;margin:0!important}
body[data-usa-client] #view-table #potDisplayWrap .pot-chips{width:86px!important;height:32px!important}
body[data-usa-client].usa-reference #view-table #potDisplayWrap .pot-chips{width:calc(130px * var(--usa-ref-scale))!important;height:calc(44px * var(--usa-ref-scale))!important}
body[data-usa-client] #view-table .seat .bet-chip{width:28px!important;height:28px!important}
body[data-usa-client] #view-table .seat .bet-chip:after{top:28px!important;min-width:28px!important;font-size:12px!important;line-height:15px!important}
@media(max-width:600px) and (orientation:portrait){
 body[data-usa-client]:not(.holdem-mode) #view-table #potDisplayWrap{height:32px!important;min-height:32px!important;gap:8px!important}
 body[data-usa-client] #view-table #potDisplayWrap .pot-chips{width:86px!important;height:30px!important}
 body[data-usa-client] #view-table .seat .bet-chip{width:22px!important;height:22px!important}
 body[data-usa-client] #view-table .seat .bet-chip:after{top:22px!important;min-width:22px!important;font-size:11px!important;line-height:14px!important}
}
@media(max-height:400px){body[data-usa-client] #view-table .seat .bet-chip{width:22px!important;height:22px!important}body[data-usa-client] #view-table .seat .bet-chip:after{top:22px!important;font-size:10px!important}}

/* Compact phone opponents leave a dedicated central lane for both boards. */
@media(max-width:600px) and (orientation:portrait){
 body[data-usa-client] #view-table .seat:not([data-usa-hero=true]){width:50px!important;height:47px!important}
 body[data-usa-client] #view-table .seat:not([data-usa-hero=true]) .seat-avatar{width:26px!important;height:26px!important;flex-basis:26px!important}
 body[data-usa-client] #view-table .seat:not([data-usa-hero=true]) .seat-name,body[data-usa-client] #view-table .seat:not([data-usa-hero=true]) .seat-stack{font-size:9px!important;line-height:11px!important}
 body[data-usa-client] #view-table .table-center{gap:4px!important}
 body[data-usa-client] #view-table .board-cards{gap:4px!important}
 body[data-usa-client] #view-table #usaTurn{display:none!important}
 body[data-usa-client] #view-table>.lf-toolbar{gap:3px!important;padding-left:5px!important;padding-right:5px!important}
 body[data-usa-client] #view-table .usa-brand{font-size:15px!important;margin-right:auto!important}
}

body[data-usa-client] #view-table #usaTurn[hidden]{display:none!important}
body[data-usa-client] #view-table .hole-cards>.card{transition:box-shadow .22s ease!important}
@media(max-width:600px) and (orientation:portrait){
 body[data-usa-client] #view-table .seat:not([data-usa-hero=true]) .seat-avatar{left:calc(50% - 13px)!important;top:-8px!important}
 body[data-usa-client]:not(.holdem-mode) #view-table #potDisplayWrap{height:26px!important;min-height:26px!important}
 body[data-usa-client] #view-table #potDisplayWrap .pot-chips{width:74px!important;height:26px!important}
 body[data-usa-client] #view-table .usa-brand{font-size:13px!important;flex-shrink:1!important;min-width:0!important}
}
@media(max-height:350px){
 body[data-usa-client] #view-table .pbb-v3{padding-top:3px!important;padding-bottom:3px!important}
 body[data-usa-client] #view-table .table-center{gap:2px!important}
 body[data-usa-client]:not(.holdem-mode) #view-table #potDisplayWrap{height:22px!important;min-height:22px!important}
}

body[data-usa-client] #view-table .seat .bet-chip{box-sizing:border-box!important;min-width:0!important;min-height:0!important}
@media(max-height:350px){body[data-usa-client] #view-table .pbb-v3{row-gap:2px!important}body[data-usa-client] #view-table .usa-game-heading{padding-bottom:1px!important}}

body[data-usa-client].usa-inline-bets #view-table .seat .bet-chip:after{left:100%!important;top:2px!important;transform:none!important;box-sizing:border-box!important;width:26px!important;min-width:26px!important;padding:1px 2px!important;font:700 10px/16px system-ui!important;border-radius:3px!important}

@media(max-width:600px) and (orientation:portrait){
 body[data-usa-client] #view-table .seat:not([data-usa-hero=true]){height:40px!important}
 body[data-usa-client] #view-table .seat[data-usa-slot="4"]:not([data-usa-hero=true]){width:104px!important;height:26px!important}
 body[data-usa-client] #view-table .seat[data-usa-slot="4"]:not([data-usa-hero=true]) .seat-inner{flex-direction:row!important;justify-content:flex-start!important;padding:0 3px!important}
 body[data-usa-client] #view-table .seat[data-usa-slot="4"]:not([data-usa-hero=true]) .seat-avatar{position:static!important;flex:none!important}
 body[data-usa-client] #view-table .seat[data-usa-slot="4"]:not([data-usa-hero=true]) .seat-text{width:70px!important}
}

.usa-signup-policy select,.usa-signup-policy button{font:inherit;font-size:13px;min-height:34px;padding:5px 9px;background:#142c35;color:#f5e4c0;border:1px solid #7c714e;border-radius:5px}.usa-signup-policy button{cursor:pointer;background:#dcbc76;color:#14262b;font-weight:700}.usa-signup-policy label{display:block;margin-bottom:6px}.usa-signup-policy select{max-width:calc(100% - 62px)!important}
@media(max-width:600px){
 #admPendList table,#admPendList tbody{display:block!important;width:100%!important}
 #admPendList thead{display:none!important}
 #admPendList tbody tr{display:grid!important;grid-template-columns:28px minmax(0,1fr);padding:9px 0}
 #admPendList td{min-width:0;overflow-wrap:anywhere;white-space:normal!important}
 #admPendList td:nth-child(3){grid-column:2}
 #admPendList td:nth-child(4){grid-column:1/-1;display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap}
 #admPendList button{min-height:32px}
}

/* Bets sit on the felt at stable seat-relative locations, including their amount. */
body[data-usa-client] #view-table .seat .bet-chip{width:var(--usa-bet-size,22px)!important;height:var(--usa-bet-size,22px)!important}
body[data-usa-client] #view-table .seat .bet-chip:after{left:50%!important;top:var(--usa-bet-size,22px)!important;transform:translateX(-50%)!important;width:auto!important;min-width:var(--usa-bet-size,22px)!important;font-size:clamp(9px,calc(var(--usa-bet-size,22px) * .5),12px)!important;line-height:1.2!important;padding:1px 3px!important}

body[data-usa-client].usa-reference #view-table .table-center,body[data-usa-client] #view-table .table-center{top:var(--usa-board-start)!important;transform:translateX(-50%)!important;gap:var(--usa-board-gap)!important}
body[data-usa-client].usa-reference:not(.holdem-mode) #view-table #potDisplayWrap,body[data-usa-client]:not(.holdem-mode) #view-table #potDisplayWrap{height:var(--usa-pot-height)!important;min-height:var(--usa-pot-height)!important}
body[data-usa-client]:not(.holdem-mode) #view-table #potDisplayWrap .pot-chips{height:var(--usa-pot-height)!important;width:calc(var(--usa-pot-height) * 2.7)!important}

/* 909: compact bottom console; persistent choices stay with the action buttons. */
@media(min-width:601px),(orientation:landscape){
 body[data-usa-client][data-usa-controls=bottom] #view-table .table-panel{grid-template-rows:minmax(0,1fr) 146px!important}
 body[data-usa-client][data-usa-controls=bottom] #view-table .pbb-v3{grid-template-columns:150px minmax(280px,420px) minmax(140px,1fr) minmax(240px,360px)!important;grid-template-rows:minmax(0,1fr) auto!important;gap:5px 12px!important;padding:8px 10px!important;align-content:start!important}
 body[data-usa-client][data-usa-controls=bottom] #view-table .usa-game-heading{grid-area:1/1/3/2!important;align-self:start!important}
 body[data-usa-client][data-usa-controls=bottom] #view-table .pbb-v3 .z-ctr{grid-area:1/2/2/3!important;justify-content:flex-end!important;gap:4px!important;align-self:end!important}
 body[data-usa-client][data-usa-controls=bottom] #view-table .pbb-v3>#pbb-checks{grid-area:2/2/3/3!important;align-self:start!important;padding:0!important;margin:0!important}
 body[data-usa-client][data-usa-controls=bottom] #view-table #preactionPersistent{flex-wrap:wrap!important;gap:3px 10px!important;justify-content:flex-start!important}
 body[data-usa-client][data-usa-controls=bottom] #view-table #preactionPersistent label{font-size:10px!important;min-height:18px!important}
 body[data-usa-client][data-usa-controls=bottom] #view-table .pbb-v3 .z-left{grid-area:1/3/3/4!important;border-left:1px solid #34464d!important;padding-left:10px!important}
 body[data-usa-client][data-usa-controls=bottom] #view-table .pbb-v3 .z-right{grid-area:1/4/3/5!important;border-left:1px solid #34464d!important;padding-left:10px!important}
 body[data-usa-client][data-usa-controls=bottom] #view-table .usa-seat-tools{display:grid!important;grid-template-columns:1fr 1fr!important;gap:4px!important}
 body[data-usa-client][data-usa-controls=bottom] #view-table .usa-seat-tools .usa-stand{grid-column:1/-1!important}
 body[data-usa-client][data-usa-controls=bottom] #view-table .usa-seat-tools button{font-size:10px!important;height:25px!important;min-height:25px!important}
 body[data-usa-client][data-usa-controls=bottom] #view-table #actionBar .lf-btn{height:32px!important;min-height:32px!important}
 body[data-usa-client][data-usa-controls=bottom] #view-table .usa-sidebar-title{display:none!important}
 body[data-usa-client][data-usa-controls=bottom] #view-table .poker-control-position{position:static!important;display:flex!important;width:max-content!important;margin-bottom:5px!important}
 body[data-usa-client][data-usa-controls=bottom] #view-table .z-in{margin-top:4px!important}
}
@media(min-width:601px) and (max-width:1100px),(orientation:landscape) and (max-height:600px){
 body[data-usa-client][data-usa-controls=bottom] #view-table .pbb-v3{grid-template-columns:135px minmax(250px,1fr) minmax(220px,1fr)!important;gap:5px 8px!important}
 body[data-usa-client][data-usa-controls=bottom] #view-table .pbb-v3 .z-left{display:none!important}
 body[data-usa-client][data-usa-controls=bottom] #view-table .pbb-v3 .z-right{grid-area:1/3/3/4!important}
}

@media(max-width:600px) and (orientation:portrait){
 body[data-usa-client] #view-table .seat[data-usa-slot="0"] .bet-chip:after{left:calc(100% + 2px)!important;top:0!important;transform:none!important}
}

body[data-usa-client] #view-table .seat[data-usa-slot="4"] .bet-chip:after{left:calc(100% + 2px)!important;top:0!important;transform:none!important}

/* Preserve the approved table composition instead of stretching it on resize. */
body[data-usa-client] #view-table #tableOval{inset:auto!important;left:50%!important;top:50%!important;width:var(--usa-scene-width,100%)!important;height:var(--usa-scene-height,100%)!important;transform:translate(-50%,-50%)!important}

/* Compact face-down fans leave a clear bet lane on phones. */
@media(max-width:600px) and (orientation:portrait){body[data-usa-client] #view-table .seat:not([data-usa-hero=true]) .hole-cards>.card+.card{margin-left:-8px!important}}

/* Made-hand glow must beat the printed card's default inset shadow. */
body[data-usa-client] #view-table .card.in-made-hand:not(.winner):not(.back):not(.empty){--usa-card-lift:-10px;outline:3px solid #ffdc55!important;outline-offset:1px!important;box-shadow:0 0 0 2px #77530a,0 0 10px 3px #ffd447c9,0 0 22px #ffd44788,0 4px 8px #0009!important}
