/*976: compact table chrome, fixed action slots; handlers/server state unchanged.*/
.usa976-red{color:#ff686d!important}.usa976-white{color:#fff!important}.usa976-blue{color:#68aaff!important}
body[data-usa-client] #view-table>.lf-toolbar{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:5px!important;padding:3px 7px!important;min-height:34px!important;height:34px!important;flex:0 0 34px!important;box-sizing:border-box!important}
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,
body[data-usa-client] #view-table .usa-reference-history{display:none!important}
body[data-usa-client] #view-table>.lf-toolbar .usa-brand{font-size:18px!important;letter-spacing:0!important;margin-right:auto!important;flex:0 0 auto!important}
body[data-usa-client] #view-table>.lf-toolbar .usa-reference-nav{display:flex!important;flex:0 0 auto!important;margin:0!important;order:1!important}
body[data-usa-client] #view-table>.lf-toolbar .usa-reference-modes{display:none!important}
body[data-usa-client] #view-table>.lf-toolbar .usa-seat-tools{display:flex!important;flex-direction:row!important;flex:0 0 auto!important;gap:4px!important;margin:0!important;order:2!important;position:static!important}
body[data-usa-client] #view-table>.lf-toolbar .usa-mobile-tools{display:flex!important;flex:0 0 auto!important;gap:4px!important;margin:0!important;padding:0!important;border:0!important;order:3!important;height:auto!important;min-height:0!important}
body[data-usa-client] #view-table>.lf-toolbar :is(.usa-seat-tools,.usa-mobile-tools,.usa-reference-links) button{height:27px!important;min-height:27px!important;width:auto!important;min-width:0!important;padding:3px 8px!important;margin:0!important;font:600 11px/14px Arial!important;white-space:nowrap!important;color:#e5edef!important;border:1px solid #365260!important;border-radius:5px!important;background:linear-gradient(#152f3b,#091c26)!important;box-sizing:border-box!important}
body[data-usa-client] #view-table>.lf-toolbar button:disabled{opacity:1!important;color:#8398a0!important;cursor:default!important}
body[data-usa-client] #view-table>.lf-toolbar button[hidden]{display:none!important}
body[data-usa-client] #poker943Config{min-height:18px!important;flex-basis:18px!important;font-size:10px!important;line-height:18px!important}
body[data-usa-client] .usa929-header-tools{gap:4px!important;margin:0 5px!important}
body[data-usa-client] .usa929-header-tools button{min-width:0!important;padding:2px 6px!important;font-size:10px!important;height:24px!important}
body[data-usa-client] .usa929-header-game{display:none!important}
body[data-usa-client] .usa929-title .win-title-text{font-size:10px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
/* Layout is fixed regardless of whose turn it is. Existing callout option remains usable. */
@media(min-width:601px),(orientation:landscape){
 body[data-usa-client].usa929-bottom #view-table .table-panel{grid-template-rows:minmax(0,1fr) 104px!important}
 body[data-usa-client].usa929-bottom #view-table .pbb-v3{grid-template-columns:minmax(0,28fr) minmax(0,46fr) minmax(0,26fr)!important;grid-template-rows:20px minmax(0,1fr) 22px!important;gap:2px 8px!important;padding:4px 8px!important}
 body[data-usa-client].usa929-bottom.poker943-callouts-off #view-table .pbb-v3{grid-template-columns:minmax(0,28fr) minmax(0,72fr)!important}
 body[data-usa-client].usa929-bottom #view-table :is(.poker-control-position,.poker-control-position button){height:20px!important;min-height:20px!important;font-size:10px!important}
 body[data-usa-client].usa929-bottom #view-table .pbb-v3>.z-left{gap:2px!important}
 body[data-usa-client].usa929-bottom #view-table #usaHandSummary{min-height:22px!important;max-height:26px!important;font:10px/12px Arial!important;padding:0!important}
 body[data-usa-client].usa929-bottom #view-table .z-title{height:14px!important;min-height:14px!important;font:600 10px/14px Arial!important}
 body[data-usa-client].usa929-bottom #view-table #pbb-log-host{min-height:12px!important;padding:2px!important;font:10px/12px Arial!important}
 body[data-usa-client].usa929-bottom #view-table .pbb-v3>.z-ctr{gap:2px!important;padding-left:8px!important}
 body[data-usa-client].usa929-bottom #view-table #pbb-readout{height:20px!important;min-height:20px!important;max-height:20px!important;font:10px/20px Arial!important}
 body[data-usa-client].usa929-bottom #view-table :is(#pbb-actions,#actionBar,#actionBar .poker-action-slot){height:50px!important;min-height:50px!important}
 body[data-usa-client].usa929-bottom #view-table #actionBar{gap:5px!important}
 body[data-usa-client].usa929-bottom #view-table #actionBar .poker-action-slot{grid-template-rows:28px 20px!important;gap:2px!important}
 body[data-usa-client].usa929-bottom #view-table #actionBar .poker-action-slot>button{height:28px!important;min-height:28px!important;font:700 12px/14px Arial!important;padding:2px 5px!important}
 body[data-usa-client].usa929-bottom #view-table #actionBar .poker-action-slot>label{height:20px!important;min-height:20px!important;font:10px/12px Arial!important;gap:4px!important;justify-content:flex-start!important}
 body[data-usa-client].usa929-bottom #view-table :is(#actionBar input,#preactionPersistent input){width:14px!important;height:14px!important;flex:0 0 14px!important}
 body[data-usa-client].usa929-bottom #view-table #preactionPersistent{padding-top:0!important;gap:4px!important}
 body[data-usa-client].usa929-bottom #view-table #preactionPersistent label{min-height:20px!important;font:10px/12px Arial!important}
 body[data-usa-client].usa929-bottom #view-table .pbb-v3>.z-right{gap:2px!important;padding-left:8px!important}
 body[data-usa-client].usa929-bottom #view-table #pbb-phrases{grid-template-rows:22px 22px!important;gap:2px!important}
 body[data-usa-client].usa929-bottom #view-table #pbb-phrases button{height:22px!important;min-height:22px!important;font:10px/12px Arial!important}
 body[data-usa-client].usa929-bottom #view-table :is(.z-in,.z-in input,.z-in button){height:24px!important;min-height:24px!important;font-size:10px!important}
}
@media(max-width:900px){
 body[data-usa-client] #view-table>.lf-toolbar .usa-brand{font-size:13px!important}
 body[data-usa-client] #view-table>.lf-toolbar :is(.usa-seat-tools,.usa-mobile-tools,.usa-reference-links) button{font-size:10px!important;padding:3px 5px!important}
}
@media(max-width:600px) and (orientation:portrait){
 body[data-usa-client] #view-table>.lf-toolbar{height:76px!important;min-height:76px!important;flex-basis:76px!important;display:grid!important;grid-template-columns:1fr auto!important;grid-template-rows:30px 38px!important;gap:2px 0!important;padding:3px 4px!important}
 body[data-usa-client] #view-table>.lf-toolbar .usa-brand{grid-area:1/1!important;font-size:15px!important}
 body[data-usa-client] #view-table>.lf-toolbar .usa-reference-nav{grid-area:1/2!important}
 body[data-usa-client] #view-table>.lf-toolbar .usa-reference-links{display:flex!important}
 body[data-usa-client] #view-table>.lf-toolbar .usa-seat-tools{grid-area:2/1/3/3!important;display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:3px!important;align-items:center!important;width:100%!important}
 body[data-usa-client] #view-table>.lf-toolbar .usa-mobile-tools{display:contents!important}
 body[data-usa-client] #view-table>.lf-toolbar :is(.usa-seat-tools,.usa-mobile-tools) button{min-height:34px!important;height:34px!important;white-space:normal!important;font:600 10px/12px Arial!important;padding:2px 3px!important;border-radius:4px!important}
 body[data-usa-client] #view-table>.lf-toolbar .usa-mobile-tools>button[data-usa-tool]{grid-row:2!important;z-index:2}
 body[data-usa-client] #view-table>.lf-toolbar #poker943Prefs{display:none!important}
 body[data-usa-client] #view-table>.lf-toolbar #poker943Bank{position:absolute!important;right:8px!important;top:auto!important;bottom:auto!important;transform:translateY(49px)!important;z-index:4;font-size:9px!important;height:20px!important;min-height:20px!important}
 body[data-usa-client][data-usa-controls] #view-table .pbb-v3{grid-template-rows:124px 48px!important;height:calc(184px + var(--usa-safe-bottom))!important;min-height:calc(184px + var(--usa-safe-bottom))!important;max-height:calc(184px + var(--usa-safe-bottom))!important;flex-basis:calc(184px + var(--usa-safe-bottom))!important;padding:4px 6px calc(4px + var(--usa-safe-bottom))!important;gap:4px!important}
 body[data-usa-client][data-usa-controls].poker943-callouts-off #view-table .pbb-v3{grid-template-rows:124px!important;height:calc(132px + var(--usa-safe-bottom))!important;min-height:calc(132px + var(--usa-safe-bottom))!important;max-height:calc(132px + var(--usa-safe-bottom))!important;flex-basis:calc(132px + var(--usa-safe-bottom))!important}
 body[data-usa-client][data-usa-controls] #view-table .pbb-v3>.z-ctr{grid-template-rows:22px 68px 26px!important;height:124px!important;min-height:124px!important;max-height:124px!important;gap:4px 5px!important}
 body[data-usa-client][data-usa-controls] #view-table :is(#pbb-actions,#actionBar){height:68px!important;min-height:68px!important}
 body[data-usa-client][data-usa-controls] #view-table #actionBar .poker-action-slot{grid-template-rows:38px 26px!important;gap:4px!important;height:68px!important;min-height:68px!important}
 body[data-usa-client][data-usa-controls] #view-table #actionBar .poker-action-slot>button{height:38px!important;min-height:38px!important;font:700 12px/14px Arial!important}
 body[data-usa-client][data-usa-controls] #view-table #actionBar .poker-action-slot>label{height:26px!important;min-height:26px!important;font:10px/12px Arial!important;justify-content:flex-start!important;gap:3px!important}
 body[data-usa-client][data-usa-controls] #view-table #pbb-checks{height:26px!important;min-height:26px!important}
 body[data-usa-client][data-usa-controls] #view-table #preactionPersistent{grid-auto-rows:26px!important;gap:3px!important}
 body[data-usa-client][data-usa-controls] #view-table #preactionPersistent label{height:26px!important;min-height:26px!important;font:10px/12px Arial!important}
 body[data-usa-client][data-usa-controls] #view-table :is(#usaTurn,#pbb-readout){min-height:22px!important;max-height:22px!important;padding:0!important;overflow:hidden!important}
}

/*976: reference-inspired ivory/gold deck; rank and pip DOM stays authoritative.*/
body[data-usa-client] #view-table #tableOval .card:not(.back):not(.empty){background:#fffaf0 url('./fork-card-frame976.svg') center/100% 100% no-repeat!important}
body[data-usa-client] #view-table #tableOval .card .court-art{object-fit:cover!important;height:100%!important;width:100%!important;mix-blend-mode:multiply}
body[data-usa-client] #view-table #tableOval .court-jack{object-position:left center!important}
body[data-usa-client] #view-table #tableOval .court-queen{object-position:center!important}
body[data-usa-client] #view-table #tableOval .court-king{object-position:right center!important}
body[data-usa-client] #view-table #tableOval .card .ace-face .face-emblem{text-shadow:0 1px 0 #dbb963,1px 0 0 #dbb963,-1px 0 0 #dbb963}
@media(max-width:600px) and (orientation:portrait){
 body[data-usa-client] #view-table>.lf-toolbar .usa-mobile-tools{display:none!important}
 body[data-usa-client] #view-table #poker943Tools{position:static!important;display:flex!important;justify-content:flex-end!important}
 body[data-usa-client] #view-table #poker943Prefs{display:none!important}
 body[data-usa-client] #view-table #poker943Tools #poker943Bank{height:20px!important;min-height:20px!important;font-size:9px!important;max-width:88px!important}
 body[data-usa-client] #view-table #pbb-readout:has(#poker943Tools){padding-right:0!important}
}

body[data-usa-client] #view-table #tableOval .card.back{background:#322a1d url('./fork-card-back.svg?v=976') center/100% 100% no-repeat!important}
body[data-usa-client] #view-table #tableOval .card .playing-pip{display:block!important;font-size:22cqw!important}
body[data-usa-client] #view-table #tableOval .card .playing-face{inset:14% 14% 14% 28%!important}
body[data-usa-client] #view-table #tableOval .card .court-face{inset:8% 9% 8% 24%!important}
body[data-usa-client] #view-table #tableOval .card .playing-face:before,body[data-usa-client] #view-table #tableOval .card .playing-face:after{display:none!important}
@media(max-width:600px) and (orientation:portrait){
 body[data-usa-client][data-usa-controls] #view-table>.lf-toolbar>.usa-seat-tools.usa929-local-tools{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-area:2/1/3/3!important;gap:3px!important;align-items:center!important;width:100%!important;justify-content:stretch!important}
 body[data-usa-client][data-usa-controls] #view-table>.lf-toolbar>.usa-seat-tools.usa929-local-tools>button{width:100%!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;font:600 10px/12px Arial!important;min-width:0!important;height:34px!important;min-height:34px!important;padding:2px!important}
 body[data-usa-client][data-usa-controls] #view-table>.lf-toolbar>.usa-seat-tools.usa929-local-tools>button[hidden]{display:none!important}
 body[data-usa-client][data-usa-controls] #view-table #usaTurn:has(#poker943Tools){display:flex!important;align-items:center!important;justify-content:space-between!important;grid-column:1/-1!important}
 body[data-usa-client][data-usa-controls] #view-table #pbb-readout:has(#poker943Tools){display:flex!important;justify-content:flex-end!important;align-items:center!important}
 body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #poker943Tools{margin-left:auto!important;position:static!important}
}

body[data-usa-client] #view-table #tableOval .card .court-face{overflow:hidden!important}
body[data-usa-client] #view-table #tableOval .card .court-art{position:absolute!important;top:0!important;width:300%!important;max-width:none!important;height:100%!important;object-fit:fill!important;object-position:center!important}
body[data-usa-client] #view-table #tableOval .card .court-jack{left:0!important}
body[data-usa-client] #view-table #tableOval .card .court-queen{left:-100%!important}
body[data-usa-client] #view-table #tableOval .card .court-king{left:-200%!important}
body[data-usa-client] #view-table #tableOval .card .playing-pip{font-size:26cqw!important}
@media(max-width:600px) and (orientation:portrait){body[data-usa-client] #netRibbon{top:11px!important;right:63px!important;font-size:6px!important;max-width:110px!important;padding:1px 3px!important}}

@media(max-width:600px) and (orientation:portrait){body[data-usa-client] #view-table #tableOval .seat:not([data-usa-hero=true]) .hole-cards>.card{width:32px!important;height:45px!important}}

@media(max-width:600px) and (orientation:portrait){body[data-usa-client][data-usa-controls] #view-table #usaTurn:has(#poker943Tools){grid-column:1!important;font-size:10px!important}body[data-usa-client][data-usa-controls] #view-table #usaTurn .usa-to-call{display:none!important}}

body[data-usa-client] #view-table #tableOval .card .rank{font-family:Georgia,serif!important;font-weight:700!important}

body[data-usa-client].usa-embedded:not(.usa940-top-tools) #view-table>.lf-toolbar{display:none!important}
body[data-usa-client] .usa940-compact-title .usa929-header-tools{grid-template-columns:repeat(6,minmax(0,1fr))!important}
body[data-usa-client] .desk-window:has(iframe)>.win-title.usa940-compact-title{height:54px!important;min-height:54px!important}
body[data-usa-client] .usa940-compact-title .usa929-header-tools button{height:24px!important;min-height:24px!important;white-space:normal!important;line-height:11px!important}
@media(max-width:600px) and (orientation:portrait){
 body[data-usa-client].usa-embedded.usa940-top-tools #view-table>.lf-toolbar{height:40px!important;min-height:40px!important;flex-basis:40px!important;grid-template-rows:34px!important}
 body[data-usa-client][data-usa-controls].usa-embedded.usa940-top-tools #view-table>.lf-toolbar>.usa-seat-tools.usa929-local-tools{grid-area:1/1/2/3!important}
 body[data-usa-client].usa-embedded #netRibbon{top:44px!important;right:4px!important;font-size:6px!important}
}

body[data-usa-client] .desk-window:has(iframe)>.win-title.usa940-compact-title{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:18px 24px!important;gap:3px!important;height:51px!important;min-height:51px!important;padding:3px 6px!important;box-sizing:border-box!important}
body[data-usa-client] .usa940-compact-title .win-title-text{grid-area:1/1!important;min-width:0!important}
body[data-usa-client] .usa940-compact-title .win-controls{grid-area:1/2!important;margin:0!important}
body[data-usa-client] .usa940-compact-title .usa929-header-tools{grid-area:2/1/3/3!important;height:24px!important;align-items:stretch!important}
@media(min-width:601px),(orientation:landscape){
 body[data-usa-client][data-usa-controls=left] #view-table #actionBar .poker-action-slot{grid-template-rows:38px 40px!important;gap:2px!important}
 body[data-usa-client][data-usa-controls=left] #view-table #actionBar .poker-action-slot>label{min-height:40px!important;height:40px!important;font:9px/10px Arial!important;overflow-wrap:anywhere!important;align-items:flex-start!important;padding-top:3px!important}
}
@media(max-width:600px) and (orientation:portrait),(max-width:1000px) and (max-height:500px){body[data-usa-client][data-usa-layout] .desk-window:has(iframe)>.win-title.usa929-title{display:none!important}}

@media(max-width:600px) and (orientation:portrait){body[data-usa-client][data-usa-layout] #netRibbon{display:none!important}}

body[data-usa-client] #view-table :is(#poker943Back,#poker943Post):not([hidden]){background:#08766e!important;color:white!important;border-color:#7bd1bc!important}

/*980: index gutters never share space with the printed suit pattern. */
body[data-usa-client] #view-table #tableOval .card .corner-idx{width:24%!important;align-items:center!important;font-family:Georgia,serif!important}
body[data-usa-client] #view-table #tableOval .card .corner-idx.tl{font-size:29cqw!important;left:5%!important}
body[data-usa-client] #view-table #tableOval .card .corner-idx.br{font-size:25cqw!important;right:5%!important}
body[data-usa-client] #view-table #tableOval .card[data-card^="10"] .corner-idx{font-size:23cqw!important;letter-spacing:-.06em!important}
body[data-usa-client] #view-table #tableOval .card .corner-idx .cr{font:inherit!important;line-height:1!important}
body[data-usa-client] #view-table #tableOval .card .playing-face:not(.court-face):not(.ace-face){inset:18% 27% 18% 27%!important}
body[data-usa-client] #view-table #tableOval .card .playing-pip{font-size:19cqw!important}
body[data-usa-client] #view-table #tableOval .card[data-card^="10"] .playing-pip,body[data-usa-client] #view-table #tableOval .card[data-card^="9"] .playing-pip{font-size:17cqw!important}
/* Constant notice occupies its own strip; no timers or hand-state resizing. */
#usaDesignNotice{position:fixed;top:0;left:0;right:0;height:18px;box-sizing:border-box;z-index:100001;background:#263c40;color:#ffe6a1;font:10px/18px Arial;text-align:center;white-space:nowrap;pointer-events:none}
body.usa-design-notice #view-table{height:calc(100dvh - 18px)!important;margin-top:18px!important}
body.usa-design-notice #view-desktop{height:calc(100dvh - 18px)!important;margin-top:18px!important}
@media(max-width:420px){#usaDesignNotice{font-size:9px}}

/*982: both checkbox rows share the action-button tracks and native control size. */
body[data-usa-client].usa929-bottom #view-table .pbb-v3>#pbb-checks{padding-left:8px!important;border-left:1px solid transparent!important;box-sizing:border-box!important}
body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #preactionPersistent{grid-template-columns:repeat(3,minmax(0,1fr))!important;column-gap:5px!important}
body[data-usa-client] #view-table :is(#actionBar .poker-action-slot>label,#preactionPersistent label){padding-left:0!important;padding-right:0!important;margin:0!important;gap:4px!important;box-sizing:border-box!important;align-items:center!important}
body[data-usa-client] #view-table :is(#actionBar,#preactionPersistent) input[type=checkbox]{width:14px!important;height:14px!important;min-width:14px!important;min-height:14px!important;flex:0 0 14px!important;margin:0!important;box-sizing:border-box!important}
@media(max-width:600px) and (orientation:portrait){body[data-usa-client][data-usa-controls] #view-table #pbb-checks{padding:0!important;border-left:0!important}body[data-usa-client][data-usa-controls] #view-table :is(#actionBar,#preactionPersistent){column-gap:5px!important}}

/*982: phone geometry has its own account profile; board rows leave clear rail lanes. */
@media(max-width:600px) and (orientation:portrait){
 body[data-usa-client] #view-table #tableOval .table-center{width:56%!important;top:calc(var(--usa-board-start) + 12px)!important;--usa-board-zoom:1!important}
 body[data-usa-client] #view-table #tableOval .board-cards{scale:var(--uce-size,1)!important}
}
/*982: deliberate printed faces, wider pip field and balanced mirrored indices. Backs unchanged. */
body[data-usa-client] #view-table #tableOval .card .corner-idx{font-family:Georgia,serif!important;letter-spacing:-.025em!important;width:22%!important}
body[data-usa-client] #view-table #tableOval .card .corner-idx.tl,
body[data-usa-client] #view-table #tableOval .card .corner-idx.br{font-size:25cqw!important}
body[data-usa-client] #view-table #tableOval .card .corner-idx .cs{font-size:.65em!important;line-height:1!important}
body[data-usa-client] #view-table #tableOval .card .playing-face:not(.court-face):not(.ace-face){inset:18% 15%!important}
body[data-usa-client] #view-table #tableOval .card .playing-pip{font-size:34cqw!important}
body[data-usa-client] #view-table #tableOval .card:is([data-card^="9"],[data-card^="10"]) .playing-pip{font-size:28cqw!important}
body[data-usa-client] #view-table #tableOval .card .court-face{inset:7% 19%!important}
body[data-usa-client] #view-table #tableOval .card .ace-face{inset:22%!important}
body[data-usa-client] #view-table #tableOval .card .ace-face .face-emblem{font-size:65cqw!important}

body[data-usa-client] #view-table #tableOval .ace-ornament{width:100%;height:100%;display:block}

/* Identical checkbox geometry across browser enabled/disabled rendering. */
body[data-usa-client] #view-table :is(#actionBar,#preactionPersistent) input[type=checkbox]{appearance:none!important;-webkit-appearance:none!important;border:1px solid #9fb6bc!important;border-radius:2px!important;background:#edf4f3!important;opacity:1!important}
body[data-usa-client] #view-table :is(#actionBar,#preactionPersistent) input[type=checkbox]:disabled{background-color:#7b8d94!important;border-color:#9aaab0!important}
body[data-usa-client] #view-table :is(#actionBar,#preactionPersistent) input[type=checkbox]:checked{background:#0c8178 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3 3 7-7' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center/12px 12px no-repeat!important;border-color:#85ede0!important}
body[data-usa-client] #view-table :is(#actionBar,#preactionPersistent) input[type=checkbox]:focus-visible{outline:2px solid #e9c779;outline-offset:2px}

@media(max-width:600px) and (orientation:portrait){
 body[data-usa-client] #view-table #tableOval #bottomBoard{margin-top:20px!important}
 body[data-usa-client] #view-table #tableOval .seat[data-usa-slot="4"] .bet-chip{top:calc(var(--usa-chip-y) + 42px)!important}
 body[data-usa-client] #view-table #tableOval .seat[data-usa-slot="4"] .bet-chip .usa-bet-owner{bottom:100%!important;left:50%!important}
}

/* Short phone landscape retains a proportional table instead of desktop badge minimums. */
@media(min-width:601px) and (max-width:1000px) and (max-height:500px){
 body[data-usa-client] #view-table #tableOval .seat:not(.empty){min-width:0!important;height:calc(var(--usa-ref-scale,1) * 60px)!important}
 body[data-usa-client] #view-table #tableOval .seat:not(.empty)[data-usa-hero=true]{min-width:0!important}
 body[data-usa-client] #view-table #tableOval .seat:not(.empty) .seat-inner{grid-template-columns:minmax(0,28%) minmax(0,1fr)!important;padding:2px!important;gap:2px!important}
 body[data-usa-client] #view-table #tableOval .seat:not(.empty) .seat-name{font-size:7px!important;line-height:8px!important}
 body[data-usa-client] #view-table #tableOval .seat:not(.empty) .seat-stack{font-size:8px!important;line-height:9px!important}
}

@media(min-width:601px) and (max-width:1000px) and (max-height:500px){
 body[data-usa-client][data-usa-controls=left] #view-table .pbb-v3 :is(#pbb-actions,#actionBar,#actionBar .poker-action-slot){height:82px!important;min-height:82px!important}
 body[data-usa-client][data-usa-controls=left] #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot{grid-template-rows:38px 40px!important;gap:4px!important}
 body[data-usa-client][data-usa-controls=left] #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot>button{height:38px!important;min-height:38px!important}
}

body[data-usa-client] #view-table #tableOval .card .ace-face .face-emblem:has(.ace-ornament){inset:0!important;width:100%!important;height:100%!important;transform:none!important}

/*984: unavailable controls keep their exact slots, like neon with the power off. */
body[data-usa-client] #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot>button:disabled{
 opacity:1!important;color:#3c5660!important;background:#0a1921!important;
 border-color:#253d47!important;box-shadow:inset 0 0 3px #426b7812!important;
 text-shadow:0 0 2px #496b7520!important;filter:none!important;cursor:default!important
}
body[data-usa-client] #view-table .pbb-v3 :is(#pbb-actions #actionBar .poker-action-slot>label,#preactionPersistent label){
 display:flex!important;align-items:center!important;gap:4px!important;margin:0!important;padding-left:0!important;padding-right:0!important
}
body[data-usa-client] #view-table .pbb-v3 :is(#pbb-actions #actionBar,#preactionPersistent) input[type=checkbox]{
 appearance:none!important;-webkit-appearance:none!important;outline:none!important;border:1px solid #80b5b2!important;border-radius:2px!important;width:14px!important;height:14px!important;min-width:14px!important;min-height:14px!important;flex:0 0 14px!important;box-sizing:border-box!important;margin:0!important
}
body[data-usa-client] #view-table .pbb-v3 :is(#pbb-actions #actionBar,#preactionPersistent) input[type=checkbox]:disabled{
 background:#0a1921!important;border-color:#304a54!important;box-shadow:inset 0 0 2px #50798418!important;opacity:1!important;filter:none!important
}
body[data-usa-client] #view-table .pbb-v3 :is(#pbb-actions #actionBar .poker-action-slot>label,#preactionPersistent label):has(input:disabled){
 color:#3c5660!important;opacity:1!important;text-shadow:0 0 2px #496b7520!important;cursor:default!important
}
body[data-usa-client] #view-table .pbb-v3 :is(#pbb-actions #actionBar,#preactionPersistent) input[type=checkbox]:enabled:not(:checked){
 background:#0c242c!important;border-color:#80b5b2!important;box-shadow:0 0 2px #62c1b326!important
}
body[data-usa-client] #view-table .pbb-v3 :is(#pbb-actions #actionBar,#preactionPersistent) input[type=checkbox]:checked:enabled{
 box-shadow:0 0 5px #49ead282!important;border-color:#8af4df!important
}
body[data-usa-client] #view-table .pbb-v3 :is(#pbb-actions #actionBar,#preactionPersistent) input[type=checkbox]:checked:disabled{
 background:#173336 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3 3 7-7' fill='none' stroke='%235c7d7c' stroke-width='2'/%3E%3C/svg%3E") center/12px 12px no-repeat!important
}

/* Stable hand summary and one public turn clock on the acting player. */
body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #pbb-readout,
body[data-usa-client][data-usa-controls] #view-table #usaTurn,
body[data-usa-client] #view-table .poker-control-position,
body[data-usa-client] #view-table .poker-avatar-countdown{display:none!important}
body[data-usa-client] #view-table #pbb-readout::before{content:none!important;display:none!important}
body[data-usa-client] #view-table #usaActionHeader{display:flex!important;align-items:center!important;gap:6px!important;min-width:0!important;height:22px!important;min-height:22px!important;max-height:22px!important;flex:0 0 22px!important;grid-area:1/1/2/-1!important;overflow:hidden!important}
body[data-usa-client][data-usa-controls] #view-table #usaActionHeader #usaHandSummary{display:block!important;flex:1 1 auto!important;min-width:0!important;height:22px!important;min-height:22px!important;max-height:22px!important;white-space:pre!important;overflow:auto!important;border:0!important;margin:0!important;padding:0!important;font:600 10px/11px Arial,sans-serif!important;scrollbar-width:none}
body[data-usa-client] #view-table #usaActionHeader #poker943Tools{position:static!important;flex:0 0 auto!important;display:flex!important;align-items:center!important;gap:4px!important;margin:0!important}
body[data-usa-client] #view-table .seat .usa-seat-countdown{font-size:10px!important;min-width:0!important}
@media(min-width:601px),(orientation:landscape){
 body[data-usa-client].usa929-bottom #view-table .pbb-v3>.usa-game-heading{display:none!important}
 body[data-usa-client].usa929-bottom #view-table .pbb-v3>.z-left{grid-area:1/1/4/2!important}
 body[data-usa-client].usa929-bottom #view-table #pbb-log-host{max-height:none!important;flex:1 1 auto!important;overflow:auto!important}
}
@media(max-width:600px) and (orientation:portrait){
 body[data-usa-client] #view-table .seat .usa-seat-countdown{font-size:9px!important}
}

@media(min-width:601px),(orientation:landscape){
 body[data-usa-client]:not(.usa929-bottom) #view-table #usaActionHeader{height:46px!important;min-height:46px!important;max-height:46px!important;flex-basis:46px!important;flex-wrap:wrap!important;gap:2px!important}
 body[data-usa-client]:not(.usa929-bottom) #view-table #usaActionHeader #usaHandSummary{flex-basis:100%!important}
 body[data-usa-client]:not(.usa929-bottom) #view-table #usaActionHeader #poker943Tools{margin-left:auto!important}
}

body[data-usa-client] .usa-audio-switches{display:inline-flex;align-items:center;gap:5px;margin-left:6px}
body[data-usa-client] .usa-audio-mobile{display:none}
body[data-usa-client] .usa-audio-switches button{white-space:nowrap;font-size:11px!important;padding:5px 8px!important}
@media(max-width:700px){body[data-usa-client] .usa-audio-mobile{display:flex!important;flex-wrap:wrap;margin:6px 0}body[data-usa-client] .usa-audio-mobile button{min-height:36px!important}}

body[data-usa-client] .usa-layout-tools>button{white-space:nowrap!important;padding:5px 8px!important;font-size:11px!important}

body[data-usa-client] .usa-audio-switches button{color:#e8dfc9!important;background:#102733!important;border:1px solid #486574!important;border-radius:5px!important;cursor:pointer}
body[data-usa-client] .usa-audio-switches button[aria-pressed=true]{border-color:#d6b86d!important;background:#243c38!important;color:#fff0ba!important}

/*993: time bank belongs to each table title bar; preferences live in Table options. */
body[data-usa-client][data-usa-controls] #view-table>.lf-toolbar .usa-seat-tools #poker943Bank{position:static!important;transform:none!important;inset:auto!important;height:27px!important;min-height:27px!important;font-size:10px!important}
body[data-usa-client] .usa929-header-tools [data-action=bank][hidden]{display:none!important}
body[data-usa-client] .usa940-compact-title .usa929-header-tools:has([data-action=bank]:not([hidden])){grid-template-columns:repeat(7,minmax(0,1fr))!important}
body[data-usa-client] .poker-table-preferences{margin:8px 0;padding:10px;border:1px solid #49636a;border-radius:6px;color:#e8dfc9}
body[data-usa-client] .poker-table-preferences label{display:flex;align-items:center;gap:8px;padding:6px 0;font-size:13px}
body[data-usa-client] .poker-table-preferences input{width:16px;height:16px;margin:0;accent-color:#d7b86b}
body[data-usa-client] .poker-table-preferences p{font-size:11px;line-height:1.4}
@media(max-width:600px) and (orientation:portrait){
 body[data-usa-client][data-usa-controls] #view-table>.lf-toolbar>.usa-seat-tools.usa929-local-tools:has(#poker943Bank:not([hidden])){grid-template-columns:repeat(7,minmax(0,1fr))!important}
 body[data-usa-client][data-usa-controls] #view-table>.lf-toolbar .usa-seat-tools #poker943Bank{height:34px!important;min-height:34px!important;font-size:10px!important}
}

/*994: stable felt timer, protected mobile branding, optional account shortcuts.*/
#usaYourTurn994{position:absolute;left:50%;top:69%;transform:translate(-50%,-50%);z-index:12;width:clamp(140px,28%,280px);max-width:44%;padding:5px 7px;border-radius:14px;background:#061e16d9;color:#fff0ba;text-align:center;pointer-events:none;box-sizing:border-box;font:700 12px/16px Arial}
#usaYourTurn994[hidden]{display:none!important}
.usa-turn-track994{position:relative;height:13px;margin-top:3px;border:1px solid #a38c53;border-radius:8px;background:#0b110f;overflow:hidden;box-shadow:0 0 0 2px #d6bb7933}
.usa-turn-track994 span{display:block;height:100%;border-radius:7px;background:linear-gradient(#fff0b7,#d7ad50);transition:width .2s linear}
.usa-turn-track994 b{position:absolute;inset:0;text-shadow:0 1px 2px #000,1px 0 2px #000;color:white;font:700 10px/13px Arial}
.usa-mobile-shortcuts994{display:none}
@media(max-width:700px){
 body[data-usa-client] #view-desktop .desk-menubar .usa-layout-tools{display:none!important}
 body[data-usa-client] #view-desktop .desk-menubar .usa-audio-mobile{display:none!important}
 body[data-usa-client].usa-menu-open #view-desktop .desk-menubar .usa-audio-mobile{display:flex!important}
 body[data-usa-client] #view-desktop .desk-menubar.usa-has-balances .desk-brand{flex:1 0 auto!important;min-width:max-content!important;overflow:visible!important}
 body[data-usa-client] #view-desktop .desk-menubar.usa-has-balances .desk-brand strong{font-size:clamp(12px,3.7vw,17px)!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important}
 body[data-usa-client] #view-desktop .desk-menubar .usa-account-header{font-size:9px!important;line-height:12px!important;min-width:0!important;padding:0 4px!important;margin:0!important}
 body[data-usa-client] #view-desktop .desk-menubar .usa-account-header strong{font-size:11px!important}
 body[data-usa-client] #view-desktop .desk-menubar .nav-primary{font-size:11px!important;padding:0 6px!important}
 body[data-usa-client] #view-desktop .desk-menubar.usa-mobile-has-shortcuts994{flex-wrap:wrap!important;height:82px!important;min-height:82px!important;flex-basis:82px!important}
 body[data-usa-client] #view-desktop .usa-mobile-shortcuts994{display:flex;order:8;flex:1 0 100%;gap:5px;overflow-x:auto;height:28px}
 .usa-mobile-shortcuts994 button{flex:1;white-space:nowrap;border:1px solid #56686c;border-radius:4px;background:#132c37;color:#f4e6c5;font:11px Arial;padding:4px 8px}
 .usa-mobile-shortcuts994 button[hidden]{display:none!important}
 body[data-usa-client] #view-desktop .desk-menubar:not(.usa-mobile-has-shortcuts994) .usa-mobile-shortcuts994{display:none!important}
}
@media(max-width:600px) and (orientation:portrait){
 body[data-usa-client] #view-table #tableOval .seat[data-usa-hero=true]>.seat-inner{translate:var(--usa-badge-x,0px) -10px!important}
 #usaYourTurn994{top:70%;width:40%;max-width:44%;font-size:10px;line-height:13px;padding:4px 6px}
}

/* Activity1002: a short desktop sidebar must flow, never squeeze rows together. */
@media(min-width:601px),(orientation:landscape){
 body[data-usa-client][data-usa-controls=left]:not(.usa929-bottom) #view-table .pbb-v3{display:flex!important;flex-direction:column!important;overflow-y:auto!important;overflow-x:hidden!important;gap:6px!important}
 body[data-usa-client][data-usa-controls=left]:not(.usa929-bottom) #view-table .pbb-v3>.usa-game-heading{display:none!important}
 body[data-usa-client][data-usa-controls=left]:not(.usa929-bottom) #view-table .pbb-v3>.z-ctr{flex:0 0 auto!important;height:auto!important;min-height:0!important;max-height:none!important;gap:4px!important}
 body[data-usa-client][data-usa-controls=left]:not(.usa929-bottom) #view-table #usaActionHeader{height:auto!important;min-height:22px!important;max-height:none!important;flex:0 0 auto!important}
 body[data-usa-client][data-usa-controls=left]:not(.usa929-bottom) #view-table .pbb-v3>.z-left{flex:1 0 64px!important;min-height:64px!important;max-height:none!important;margin:0!important}
 body[data-usa-client][data-usa-controls=left]:not(.usa929-bottom) #view-table #pbb-log-host{flex:1 1 auto!important;min-height:35px!important;overflow:auto!important}
 body[data-usa-client][data-usa-controls=left]:not(.usa929-bottom) #view-table .pbb-v3>.z-right{flex:0 0 auto!important;margin:0!important}
}

/*1048: retain compact panel geometry; fit labels inside existing controls.*/
body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot>button{font-size:10px!important;line-height:11px!important;padding:2px 3px!important;white-space:normal!important;overflow-wrap:anywhere!important;box-sizing:border-box!important;min-width:0!important}
body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot>label,
body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #preactionPersistent label{font-size:9px!important;line-height:9px!important;white-space:normal!important;overflow-wrap:anywhere!important;min-width:0!important;gap:3px!important;padding-top:0!important;padding-bottom:0!important;box-sizing:border-box!important}
body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #pbb-phrases button{font-size:9px!important;line-height:9px!important;padding:1px 3px!important;white-space:normal!important;overflow-wrap:anywhere!important;box-sizing:border-box!important;min-width:0!important}

/*1147: readable casino faces. Presentation only; identity, backs and geometry stay authoritative. */
body[data-usa-client] #view-table #tableOval .card:not(.back):not(.empty){background:#fff!important}
@media (max-width:600px), (max-width:1000px) and (max-height:500px) {
 body[data-usa-client] #view-table #tableOval .card.spade,
 body[data-usa-client] #view-table #tableOval .card.club{color:#101418!important}
 body[data-usa-client] #view-table #tableOval .card.heart,
 body[data-usa-client] #view-table #tableOval .card.diamond{color:#c41629!important}
 body[data-usa-client] #view-table #tableOval .card .corner-idx{display:flex!important;position:absolute!important;width:30%!important;gap:0!important;align-items:center!important;font-family:Arial,Helvetica,sans-serif!important;font-weight:700!important;letter-spacing:-.04em!important;line-height:.95!important}
 body[data-usa-client] #view-table #tableOval .card .corner-idx.tl{inset:4% auto auto 3%!important;font-size:39cqw!important}
 body[data-usa-client] #view-table #tableOval .card .corner-idx.br{inset:auto 3% 4% auto!important;font-size:39cqw!important;transform:rotate(180deg)!important}
 body[data-usa-client] #view-table #tableOval .card[data-card^="10"] .corner-idx{font-size:32cqw!important;letter-spacing:-.08em!important}
 body[data-usa-client] #view-table #tableOval .card .corner-idx .cs{display:block!important;font-size:.62em!important;line-height:.9!important}
 body[data-usa-client] #view-table #tableOval .card .playing-face:not(.court-face):not(.ace-face){display:block!important;inset:25% 28%!important}
 body[data-usa-client] #view-table #tableOval .card .playing-pip{font-size:24cqw!important}
 body[data-usa-client] #view-table #tableOval .card:is([data-card^="9"],[data-card^="10"]) .playing-pip{font-size:18cqw!important}
 body[data-usa-client] #view-table #tableOval .card .court-face{inset:17% 31%!important;display:block!important}
 body[data-usa-client] #view-table #tableOval .card .court-art{margin:0!important}
 body[data-usa-client] #view-table #tableOval .card .ace-face{inset:26% 30%!important;display:block!important}
 body[data-usa-client] #view-table #tableOval .card .ace-face .face-emblem{font-size:50cqw!important;text-shadow:none!important}
 body[data-usa-client] #view-table #tableOval .card .ace-ornament{display:none!important}
 body[data-usa-client] #view-table #tableOval .card.spade .ace-face .face-emblem:before{content:'♠'}
}

/*1147: the existing free-fold choice needs its own readable modal in the current client. */
body[data-usa-client] #pokerFoldConfirm{position:fixed;inset:0;margin:auto!important;box-sizing:border-box;width:min(340px,calc(100vw - 32px));height:fit-content;max-height:calc(100dvh - 32px);overflow:auto;padding:20px;border:1px solid #d2b263;border-radius:12px;background:#10252f;color:#f4f7f8;box-shadow:0 12px 40px #0009;font:16px/1.45 Arial,sans-serif}
body[data-usa-client] #pokerFoldConfirm::backdrop{background:#0009}
body[data-usa-client] #pokerFoldConfirm p{margin:0 0 16px}
body[data-usa-client] #pokerFoldConfirm button{min-height:44px;width:calc(50% - 6px);padding:10px 8px;border:1px solid #e58189;border-radius:7px;background:#a62238;color:white;font:700 15px/1.2 Arial,sans-serif;cursor:pointer}
body[data-usa-client] #pokerFoldConfirm [data-check]{margin-left:8px;border-color:#52b5b7;background:#087b80}
body[data-usa-client] #pokerFoldConfirm button:focus-visible{outline:3px solid #f5d070;outline-offset:3px}

/*1149: publicly visible opponent faces need readable indices on phones.
  Preserve saved house geometry; no change to which cards are exposed. */
@media (max-width:600px), (max-width:1000px) and (max-height:500px){
 body[data-usa-client] #view-table #tableOval .seat:not([data-usa-hero=true]) .hole-cards>.card:not(.back):not(.empty){padding:0!important}
}
@media (max-width:600px) and (orientation:portrait){
 body[data-usa-client] #view-table #tableOval .seat:not([data-usa-hero=true]) .hole-cards>.card:not(.back):not(.empty){min-width:48px!important;min-height:67.2px!important}
}
