/* Consolidated chrome; retain the existing lounge art, gold rail, seats and card geometry. */
.settings1071,.settings1071-table,.settings1071-sound,.chat1071{box-sizing:border-box;color:#f5e8cc;background:linear-gradient(145deg,#241c17,#101a20 65%);border:1px solid #8d7446;border-radius:14px;box-shadow:0 20px 80px #000a;font:14px/1.5 system-ui,sans-serif;z-index:100100;}
.settings1071{position:fixed;inset:7vh auto auto 50%;transform:translateX(-50%);margin:0;width:min(960px,calc(100vw - 32px));max-height:86vh;padding:0;overflow:hidden;}
.settings1071[open]{display:flex;flex-direction:column}.settings1071 header,.chat1071 header,.settings1071-table header,.settings1071-sound header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 22px;border-bottom:1px solid #8d744655;flex-shrink:0}.settings1071 h2{font-size:22px;margin:0;color:#f5e8cc}.settings1071-intro{margin:0;padding:8px 22px;color:#bba981;font-size:12px}.settings1071-layout{display:grid;grid-template-columns:155px minmax(0,1fr);min-height:0;overflow:hidden}.settings1071 nav{display:flex;flex-direction:column;padding:10px;gap:5px;border-right:1px solid #8d744644}.settings1071 nav button{text-align:left}.settings1071 button,.settings1071-table button,.settings1071-sound button,.chat1071 button{color:#f3e4c7;background:#273034;border:1px solid #8c734855;border-radius:7px;padding:8px 12px;font:600 13px system-ui;cursor:pointer;min-height:36px}.settings1071 button:hover,.settings1071-table button:hover,.settings1071-sound button:hover,.chat1071 button:hover{border-color:#d5b875;background:#36342a}.settings1071 button[aria-selected=true],.chat1071 button[aria-selected=true]{color:#f8d77f;background:#59452a;border-color:#c39c57}.settings1071 button:disabled,.settings1071-table button:disabled{opacity:.5;cursor:default}#settings1071Content{overflow-y:auto;min-height:0;padding:10px 24px 20px}.settings1071-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:14px 0;border-bottom:1px solid #bda57522}.settings1071-row strong{font-weight:500}.settings1071-row small{display:block;color:#b3aba0;font-size:12px}.settings1071-row input[type=checkbox]{width:22px;height:22px;accent-color:#d4b165;flex:none}.settings1071 select{padding:8px;background:#18272d;color:#f5e8cc;border:1px solid #8d7446;border-radius:6px}.settings1071-status{min-height:18px;padding:9px 22px;margin:0;border-top:1px solid #8d744644;font-size:12px;color:#d6bf8b}.settings1071-help{font-size:12px;color:#baa98e}.settings1071 .poker-settings-embedded{position:static!important;inset:auto!important;transform:none!important;box-shadow:none!important;max-height:none!important;max-width:none!important;width:100%!important;margin:0!important;padding:12px 0!important;border:0!important;background:none!important;color:inherit!important;overflow:visible!important}.settings1071 .poker-settings-embedded h2,.settings1071 .poker-settings-embedded>p:first-of-type,.settings1071 .poker-background-actions{display:none}.settings1071 .poker-background-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.settings1071 .poker-background-choice{font-size:11px;padding:5px}.settings1071 .poker-background-swatch{height:44px}.settings1071 .poker-card-back-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.settings1071 .poker-card-back-choice img{height:54px;width:auto}.settings1071 fieldset{border:0;padding:12px 0}.settings1071 legend{color:#e1be75;font-weight:600}.settings1071-table{position:fixed;inset:12px 12px auto auto;margin:0;padding:8px;width:min(300px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow:auto}.settings1071-table>button{display:block;width:100%;text-align:left;background:transparent;border:0;border-radius:4px;padding:10px 12px}.settings1071-table header{padding:5px 10px 12px}.settings1071-table .settings1071-danger{color:#ff9e93;border-top:1px solid #8d744655;margin-top:8px}.settings1071-sound{position:fixed;inset:auto;margin:0;width:min(340px,calc(100vw - 24px));padding:14px}.settings1071-sound header{padding:0 0 10px}.settings1071-sound .settings1071-row{gap:10px}.settings1071-sound input[type=range]{max-width:140px}.chat1071{position:fixed;inset:55px 12px auto auto;margin:0;width:min(520px,calc(100vw - 24px));max-height:calc(100vh - 75px);padding:0;overflow:auto}.chat1071>nav{display:flex;gap:8px;padding:10px 14px}.chat1071>section{padding:12px 16px}.chat1071 section[hidden]{display:none!important}.chat1071 .poker-chat-embedded{position:static!important;inset:auto!important;transform:none!important;width:100%!important;max-width:none!important;max-height:none!important;margin:0!important;border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important}.chat1071 .private-chat-close{display:none}.chat1071 .z-in{display:flex;gap:8px}.chat1071 input{min-width:0;flex:1}.chat1071 .private-chat-log{max-height:220px}.chat1071>section>p{font-size:12px;color:#c5b690}
body[data-usa-client] #view-desktop .desk-menubar{gap:10px!important;flex-wrap:nowrap!important}body[data-usa-client] #view-desktop .desk-menu{display:contents!important}body[data-usa-client] .desk-brand{order:0!important}body[data-usa-client] #usaLobbyToggle{order:1!important}body[data-usa-client] #navTables{order:2!important}body[data-usa-client] .usa-account-header{order:3!important;margin:0!important}body[data-usa-client] #view-desktop .usa-layout-tools{order:4!important;margin-left:auto!important;margin-right:0!important}body[data-usa-client] .desk-user{order:5!important}body[data-usa-client] #deskMenuAdmin{order:6!important}.play-money-badge,#pokerConnectionRow,#netRibbon,#pokerHeaderClock{display:none!important}.usa-account-header .usa-account-row:nth-child(2){display:none!important}.usa-account-header .usa-account-row:first-child{display:flex!important;gap:5px!important}.usa-account-header .usa-account-row:first-child>span{font-size:0!important}.usa-account-header .usa-account-row:first-child>span:after{content:'Chips';font-size:12px}.profile-dot[data-connected=false]{background:#d69536!important;box-shadow:0 0 5px #d6953655}.profile-dot[data-connected=true]{background:#46c786!important}.usa-seat-tools>.usa-stand,.usa-seat-tools>.usa-private-chat,.usa-seat-tools>[data-usa-tool=focus],.usa-reference-utility,.poker-control-position{display:none!important}#deskOptionsDrop{display:none!important}#view-table .usa-seat-tools .usa-table-options{font-weight:700}#pokerBankRow1071{display:flex;justify-content:flex-end;margin-top:6px}#pokerBankRow1071[hidden],#poker943Bank[hidden]{display:none!important}#pokerBankRow1071 #poker943Bank{display:inline-block!important;position:static!important;min-height:34px!important;padding:7px 12px!important;color:#f7d574!important;background:#273b42!important;border:1px solid #b99b55!important;border-radius:7px!important;font:600 12px system-ui!important;width:auto!important;max-width:100%!important}#pokerBankRow1071 #poker943Bank[hidden]{display:none!important}
@media(max-width:700px){.settings1071{inset:8px auto auto 50%;max-height:calc(100dvh - 16px);width:calc(100vw - 16px)}.settings1071-layout{grid-template-columns:1fr;display:flex;flex-direction:column}.settings1071 nav{flex-direction:row;overflow-x:auto;flex-shrink:0;border:0;border-bottom:1px solid #8d744644;padding:8px;gap:4px}.settings1071 nav button{padding:8px 10px;font-size:12px}.settings1071 header{padding:12px 16px}.settings1071-intro{padding:8px 16px}#settings1071Content{padding:6px 16px 14px}.settings1071 .poker-background-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.settings1071-row{gap:12px}.settings1071-row strong{font-size:13px}.settings1071-row small{font-size:11px}body[data-usa-client] #navTables,body[data-usa-client] #deskMenuAdmin,body[data-usa-client] .desk-user{display:none!important}body[data-usa-client] #view-desktop .usa-layout-tools{display:flex!important;gap:4px!important;margin-left:0!important;order:4!important}body[data-usa-client] .usa-layout-tools button{min-width:32px!important;min-height:32px!important;padding:5px 7px!important;font-size:11px!important}body[data-usa-client] .usa-room-menu{order:6!important}body[data-usa-client] .desk-brand{flex:1!important;min-width:0!important}body[data-usa-client] .desk-brand img{max-width:115px!important}body[data-usa-client] #view-desktop .desk-menubar{gap:5px!important;padding:5px!important}body[data-usa-client] .usa-account-header{min-width:0!important;font-size:11px!important}body[data-usa-client] #usaLobbyToggle{padding:6px!important;min-width:38px!important}body[data-usa-client] .usa-account-header .usa-account-row:first-child>span:after{font-size:10px}.chat1071{top:8px;max-height:calc(100dvh - 16px)}}

body[data-usa-client].usa940-top-tools #view-table>.lf-toolbar>.usa929-local-tools>.usa-stand,body[data-usa-client].usa940-top-tools #view-table>.lf-toolbar>.usa929-local-tools>.usa-private-chat,body[data-usa-client].usa940-top-tools #view-table>.lf-toolbar>.usa929-local-tools>[data-usa-tool=focus]{display:none!important}
body[data-usa-client].usa940-top-tools #view-table>.lf-toolbar>.usa929-local-tools{grid-template-columns:repeat(3,minmax(0,1fr))!important}body[data-usa-client].usa940-top-tools #view-table>.lf-toolbar>.usa929-local-tools>[data-usa-tool=publicChat]{order:1}body[data-usa-client].usa940-top-tools #view-table>.lf-toolbar>.usa929-local-tools>[data-usa-tool=history]{order:2}body[data-usa-client].usa940-top-tools #view-table>.lf-toolbar>.usa929-local-tools>.usa-table-options{order:3}
@media(max-width:700px){body[data-usa-client] #view-desktop .desk-menubar .usa-layout-tools{display:flex!important}body[data-usa-client] #view-desktop .desk-menubar .desk-brand{width:85px!important;max-width:85px!important;flex:0 1 85px!important}body[data-usa-client] #view-desktop .desk-brand .poker-wordmark1009{width:85px!important;max-width:85px!important}body[data-usa-client] .usa-account-header .usa-account-row:first-child>span{display:none!important}.settings1071 select{max-width:54%;min-width:0}}

body[data-usa-client] #view-table #pokerBankRow1071 #poker943Bank:disabled{opacity:1!important;filter:none!important;cursor:default!important}

body:has(#pokerSettings1071[open]) #inlineDialog{z-index:100110!important}

@media(max-width:600px) and (orientation:portrait){
body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #pbb-actions:has(#pokerBankRow1071){display:grid!important;grid-template-columns:minmax(0,1fr) 58px!important;gap:5px!important;justify-content:stretch!important}
body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #pbb-actions #actionBar{width:100%!important;min-width:0!important;max-width:100%!important}
body[data-usa-client][data-usa-controls] #view-table #pokerBankRow1071{width:58px!important;min-width:0!important;margin:0!important;align-self:start!important}
body[data-usa-client][data-usa-controls] #view-table #pokerBankRow1071 #poker943Bank{width:58px!important;min-width:0!important;height:38px!important;min-height:38px!important;padding:3px!important;font-size:10px!important;line-height:12px!important;box-sizing:border-box!important}
}

#settings1071Scope{display:flex;align-items:center;gap:8px;flex-wrap:wrap}#settings1071Scope button[aria-pressed=true]{background:#59452a;border-color:#c39c57;color:#f8d77f}#settings1071Scope select{max-width:250px}.usa-account-header[role=button]{cursor:pointer;padding:7px!important;border:1px solid #47606a;border-radius:6px}.chip-caret1071{font-size:10px}#pokerOffline1071{order:7;color:#ffce7d;font:600 12px system-ui}#pokerOffline1071[hidden]{display:none}#pokerFocus1071{position:fixed;z-index:18;border:1px solid #b39b60;border-radius:5px;background:#122c32e8;color:#f7dd9f;font:600 10px system-ui;padding:4px 7px;min-height:24px;max-width:88px;cursor:pointer}#pokerFocus1071[hidden]{display:none}.usa-selection-footer{flex-wrap:wrap!important;gap:6px!important}.usa-selection-footer .usa-selected-label{flex-basis:100%}.usa-see-selected{min-height:36px;border:1px solid #bba46a;border-radius:5px;background:#16363d;color:#f5dfa9;padding:7px 12px;cursor:pointer}
body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot>button{font-size:12px!important;line-height:14px!important}
body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #actionBar .poker-action-slot>label,body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #preactionPersistent label{font-size:11px!important;line-height:13px!important}
body[data-usa-client] #view-table #tab-log,body[data-usa-client] #view-table #tab-log .log-entry{font-size:13px!important;line-height:1.5!important}
@media(max-width:600px) and (orientation:portrait){
body[data-usa-client][data-usa-controls] #view-table .pbb-v3{grid-template-rows:136px 48px!important;height:calc(196px + var(--usa-safe-bottom))!important;min-height:calc(196px + var(--usa-safe-bottom))!important;max-height:calc(196px + var(--usa-safe-bottom))!important;flex-basis:calc(196px + var(--usa-safe-bottom))!important}
body[data-usa-client][data-usa-controls].poker943-callouts-off #view-table .pbb-v3{grid-template-rows:136px!important;height:calc(144px + var(--usa-safe-bottom))!important;min-height:calc(144px + var(--usa-safe-bottom))!important;max-height:calc(144px + var(--usa-safe-bottom))!important;flex-basis:calc(144px + var(--usa-safe-bottom))!important}
body[data-usa-client][data-usa-controls] #view-table .pbb-v3>.z-ctr{grid-template-rows:22px 80px 26px!important;height:136px!important;min-height:136px!important;max-height:136px!important}
body[data-usa-client][data-usa-controls] #view-table .pbb-v3 :is(#pbb-actions,#actionBar,#actionBar .poker-action-slot){height:80px!important;min-height:80px!important}
body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot{grid-template-rows:44px 32px!important}
body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot>button,body[data-usa-client][data-usa-controls] #view-table #pokerBankRow1071 #poker943Bank{height:44px!important;min-height:44px!important}
body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #actionBar .poker-action-slot>label{height:32px!important;min-height:32px!important}
}

#pokerOffline1071:not([hidden]){position:fixed;bottom:12px;left:12px;z-index:100200;padding:10px 14px;max-width:calc(100vw - 24px);box-sizing:border-box;border:1px solid #e2b467;border-radius:6px;background:#30271a;color:#ffe0a1}

body[data-usa-client] .usa-account-header[role=button]{display:flex!important;align-items:center;gap:6px;min-width:0!important;white-space:nowrap}body[data-usa-client] .usa-account-header .chip-caret1071{display:inline!important}.settings1071 nav{overflow-y:auto}
@media(min-width:601px) and (max-width:1000px) and (max-height:500px){
body[data-usa-client][data-usa-layout-profile="phone-landscape"] #view-table>.layout{min-height:0!important;flex:1 1 0!important;height:0!important;overflow:hidden!important}
body[data-usa-client][data-usa-layout-profile="phone-landscape"] #view-table>.layout>.table-panel{min-height:0!important;height:100%!important;grid-template-rows:minmax(0,1fr) 0!important}
body[data-usa-client][data-usa-layout-profile="phone-landscape"] #view-table #tableArea,body[data-usa-client][data-usa-layout-profile="phone-landscape"] #view-table #sceneViewport{min-height:0!important;height:100%!important}
body[data-usa-client][data-usa-layout-profile="phone-landscape"] #view-table .pbb-v3{min-height:0!important;max-height:100%!important;overflow:auto!important}
.settings1071{inset:6px auto auto 50%;max-height:calc(100dvh - 12px)}.settings1071 header{padding:7px 16px}.settings1071 h2{font-size:18px}.settings1071-intro{padding:6px 16px}.settings1071-layout{display:flex;flex-direction:column}.settings1071 nav{flex-direction:row;flex-shrink:0;border:0;padding:4px 12px}.settings1071 nav button{min-height:32px}.settings1071-status{padding:6px 16px}#settings1071Content{padding:4px 18px 12px}
}

body[data-usa-client] #view-desktop .desk-menubar .usa-account-header[data-practice=true]{position:relative;padding:15px 6px 4px!important;min-width:76px!important;box-sizing:border-box}body[data-usa-client] #view-desktop .desk-menubar .usa-account-header[data-practice=true]:before{content:'Practice chips';position:absolute;top:2px;left:5px;right:5px;text-align:center;white-space:nowrap;color:#f9d47d;font:700 9px system-ui}body[data-usa-client] #view-desktop .desk-menubar .usa-account-header[data-practice=true] .usa-account-row:first-child>span{display:none!important}

#arrangeDialog[data-open="1"]{display:flex!important}

/* QA1076: quick per-table placement beside actions; same saved setting as Layout. */
body[data-usa-client] #view-table #usaActionHeader{flex-wrap:wrap!important;height:auto!important;min-height:30px!important;max-height:none!important;flex:0 0 auto!important;overflow:visible!important;gap:4px!important}
body[data-usa-client]:not(.usa929-bottom) #view-table #usaActionHeader #usaHandSummary{flex-basis:100%!important}
body[data-usa-client] #view-table #usaActionHeader .poker-control-position{display:inline-flex!important;position:static!important;width:auto!important;height:30px!important;min-height:30px!important;margin:0 auto 0 0!important;flex:0 0 auto!important}
body[data-usa-client] #view-table #usaActionHeader .poker-control-position button{width:auto!important;height:30px!important;min-height:30px!important;padding:3px 9px!important;font:600 12px/20px system-ui!important}
@media(max-width:600px) and (orientation:portrait){body[data-usa-client] #view-table #usaActionHeader .poker-control-position{display:none!important}}

/*1076: visible artwork/color choices, preserving the existing background IDs and swatches.*/
.settings1071 .settings1076-appearance{margin:0 0 18px;padding:12px 0 18px;border-bottom:1px solid #bda57533;min-width:0}
.settings1071 .settings1076-appearance legend{font-size:15px}.settings1071 .settings1076-appearance>p{margin:0 0 10px}
.settings1071 .settings1076-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.settings1071 .settings1076-choice{display:grid;align-content:start;position:relative;padding:0;gap:6px;font-size:12px;text-align:center;cursor:pointer;min-width:0}
.settings1071 .settings1076-choice .poker-background-swatch{height:92px;width:100%;box-sizing:border-box;border-radius:8px}
.settings1071 .settings1076-caption{line-height:1.3;min-height:30px;padding:0 2px;color:#f5e8cc}
.settings1071 .settings1076-choice input:checked~.settings1076-caption{color:#f8d77f;font-weight:700}
.settings1071 .settings1076-choice input:checked+.poker-background-swatch:after{content:'✓';display:block;float:right;margin:5px;background:#e8c674;color:#152128;border-radius:50%;width:22px;height:22px;font:bold 16px/22px system-ui;text-align:center}
.settings1071 .settings1076-default{font-size:11px;color:#bba981;margin-top:-9px}
.settings1071 .settings1076-appearance[data-appearance=felt] .poker-background-swatch{height:64px}
@media(max-width:700px){.settings1071 .settings1076-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.settings1071 .settings1076-choice .poker-background-swatch{height:88px}}

@media(max-height:479px){body[data-usa-client] #view-table #usaActionHeader .poker-control-position{height:22px!important;min-height:22px!important}body[data-usa-client] #view-table #usaActionHeader .poker-control-position button{height:22px!important;min-height:22px!important;font:600 10px/16px system-ui!important;padding:2px!important}}

/*1078: size the dock for its content; checkbox rows must never overlap.*/
body[data-usa-client][data-usa-controls] #view-table .pbb-v3 .z-ctr{container-type:inline-size}
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:clamp(11px,2.1cqi,14px)!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;text-align:left!important;min-width:0!important;gap:5px!important}
body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot>label:has(input:disabled),
body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #preactionPersistent label:has(input:disabled){color:#9aaeb5!important;text-shadow:none!important}
@media(min-width:601px),(orientation:landscape){
 body[data-usa-client].usa929-bottom #view-table .table-panel{grid-template-rows:minmax(0,1fr) 176px!important}
 body[data-usa-client].usa929-bottom #view-table .pbb-v3{grid-template-rows:32px minmax(78px,1fr) 40px!important;row-gap:6px!important;padding-top:6px!important;padding-bottom:6px!important}
 body[data-usa-client].usa929-bottom #view-table .pbb-v3>.z-ctr{min-height:0!important;gap:6px!important}
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #pbb-actions,
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #pbb-actions #actionBar,
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot{height:78px!important;min-height:78px!important}
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot{grid-template-rows:40px 32px!important;gap:6px!important}
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot>button{height:40px!important;min-height:40px!important}
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot>label{height:32px!important;min-height:32px!important;align-items:center!important}
 body[data-usa-client].usa929-bottom #view-table .pbb-v3>#pbb-checks{height:40px!important;min-height:40px!important}
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #preactionPersistent{height:40px!important;min-height:40px!important;padding-top:5px!important;box-sizing:border-box!important}
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #preactionPersistent label{height:auto!important;min-height:30px!important}
}

@media(min-width:601px),(orientation:landscape){
 body[data-usa-client][data-usa-controls=left]:not(.usa929-bottom) #view-table .pbb-v3 #pbb-actions,
 body[data-usa-client][data-usa-controls=left]:not(.usa929-bottom) #view-table .pbb-v3 #pbb-actions #actionBar{height:auto!important;min-height:130px!important}
 body[data-usa-client][data-usa-controls=left]:not(.usa929-bottom) #view-table .pbb-v3 #pbb-actions #actionBar{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:40px repeat(3,minmax(26px,auto))!important;gap:4px 5px!important}
 body[data-usa-client][data-usa-controls=left]:not(.usa929-bottom) #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot{display:contents!important;height:auto!important;min-height:0!important}
 body[data-usa-client][data-usa-controls=left]:not(.usa929-bottom) #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot>button{grid-row:1!important;height:40px!important;min-height:40px!important}
 body[data-usa-client][data-usa-controls=left]:not(.usa929-bottom) #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot>label{grid-column:1/-1!important;height:auto!important;min-height:26px!important;font-size:12px!important;line-height:15px!important;align-items:center!important;padding:0!important}
 body[data-usa-client][data-usa-controls=left]:not(.usa929-bottom) #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot:nth-child(1)>label{grid-row:2!important}
 body[data-usa-client][data-usa-controls=left]:not(.usa929-bottom) #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot:nth-child(2)>label{grid-row:3!important}
 body[data-usa-client][data-usa-controls=left]:not(.usa929-bottom) #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot:nth-child(3)>label{grid-row:4!important}
 body[data-usa-client][data-usa-controls=left]:not(.usa929-bottom) #view-table .pbb-v3 #preactionPersistent label{font-size:12px!important;line-height:15px!important;min-height:26px!important;height:auto!important}
 body[data-usa-client][data-usa-controls=left]:not(.usa929-bottom) #view-table .pbb-v3 #preactionPersistent label:has(input:disabled){color:#9aaeb5!important}
}

body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #pbb-checks{container-type:inline-size}
body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #pbb-checks #preactionPersistent label:has(input:disabled){color:#9aaeb5!important;text-shadow:none!important}

/* Portrait uses one header row so Callouts cannot wrap over Fold. */
@media(max-width:600px) and (orientation:portrait){
 body[data-usa-client][data-usa-controls] #view-table #usaActionHeader{flex-wrap:nowrap!important}
 body[data-usa-client][data-usa-controls] #view-table #usaActionHeader #usaHandSummary{flex-basis:auto!important}
}

/* Keep active-turn feedback and Time bank in their own space as content changes. */
@media(min-width:601px),(orientation:landscape){
 body[data-usa-client].usa929-bottom #view-table .pbb-v3>.z-ctr{display:grid!important;grid-template-rows:32px 78px!important;align-content:start!important}
 body[data-usa-client].usa929-bottom #view-table #usaActionHeader{grid-area:1/1!important;min-width:0!important}
 body[data-usa-client].usa929-bottom #view-table .pbb-v3 #pbb-actions{grid-area:2/1!important;align-self:start!important}
 body[data-usa-client] #view-table #pokerBankNotice{flex-basis:100%!important;min-width:0!important;overflow-wrap:anywhere!important}
 body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #pbb-actions:has(#pokerBankRow1071){display:grid!important;grid-template-columns:minmax(0,1fr) 88px!important;gap:6px!important;align-items:start!important}
 body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #pbb-actions #actionBar{width:100%!important;min-width:0!important;max-width:100%!important}
 body[data-usa-client][data-usa-controls] #view-table #pokerBankRow1071{width:88px!important;min-width:0!important;margin:0!important;align-self:start!important}
 body[data-usa-client][data-usa-controls] #view-table #pokerBankRow1071 #poker943Bank{width:88px!important;min-width:0!important;height:40px!important;min-height:40px!important;padding:3px!important;font-size:11px!important;line-height:13px!important;box-sizing:border-box!important;white-space:normal!important}
}

/*1088: LIVE-density bottom dock and joined placement/callout control.*/
@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-rows:22px minmax(50px,1fr) 20px!important;gap:2px 8px!important;padding:4px 8px!important}
 body[data-usa-client].usa929-bottom #view-table .pbb-v3>.z-ctr{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:22px 50px!important;justify-content:stretch!important;gap:2px!important}
 body[data-usa-client].usa929-bottom #view-table #usaActionHeader{width:100%!important;box-sizing:border-box!important}
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #pbb-actions,
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #pbb-actions #actionBar,
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot{height:50px!important;min-height:50px!important}
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #pbb-actions #actionBar{column-gap:8px!important}
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot{grid-template-rows:28px 20px!important;row-gap:2px!important}
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot>button{height:28px!important;min-height:28px!important;font-size:12px!important}
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot>label{justify-content:flex-start!important}
 body[data-usa-client].usa929-bottom #view-table .pbb-v3>#pbb-checks,
 body[data-usa-client].usa929-bottom #view-table .pbb-v3 #pbb-checks #preactionPersistent{height:20px!important;min-height:20px!important}
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #pbb-checks #preactionPersistent{column-gap:8px!important}
 body[data-usa-client].usa929-bottom #view-table .pbb-v3:has(#pokerBankRow1071) #preactionPersistent{padding-right:94px!important}
 body[data-usa-client].usa929-bottom #view-table #pokerBankRow1071 #poker943Bank{height:28px!important;min-height:28px!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}
}

body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot>button:disabled{color:#94aebb!important;background:#10232d!important;border-color:#34515f!important;opacity:1!important;filter:none!important}

@media(min-width:601px),(orientation:landscape){
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #pbb-checks #preactionPersistent{border-top:0!important;padding-top:0!important}
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #preactionPersistent label{min-height:20px!important;height:20px!important;align-items:center!important}
}

@media(min-width:601px),(orientation:landscape){
 body[data-usa-client].usa929-bottom #view-table #usaActionHeader{height:22px!important;min-height:22px!important;flex-wrap:nowrap!important;gap:0!important}
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot>label{height:20px!important;min-height:20px!important;font-size:10px!important;line-height:11px!important;gap:4px!important}
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #preactionPersistent label{font-size:10px!important;line-height:11px!important}
 body[data-usa-client].usa929-bottom #view-table .z-in,body[data-usa-client].usa929-bottom #view-table .z-in input,body[data-usa-client].usa929-bottom #view-table .z-in button{height:24px!important;min-height:24px!important}
 body[data-usa-client].usa929-bottom #view-table #usaActionHeader .poker-control-position,body[data-usa-client].usa929-bottom #view-table #usaActionHeader .poker-control-position button,body[data-usa-client].usa929-bottom #view-table #usaActionHeader #poker943Callout{height:22px!important;min-height:22px!important;font:600 10px/16px Arial!important;padding:2px 7px!important}
}
/* Same existing buttons and handlers; contiguous segmented presentation. */
body[data-usa-client] #view-table #usaActionHeader .poker-control-position{margin:0 0 0 auto!important;gap:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;overflow:visible!important}
body[data-usa-client] #view-table #usaActionHeader:has(.poker-control-position){column-gap:0!important}
body[data-usa-client] #view-table #usaActionHeader .poker-control-position button,body[data-usa-client] #view-table #usaActionHeader #poker943Callout{margin:0!important;border:1px solid #365968!important;background:linear-gradient(#14303e,#0a1d28)!important;color:#c6dbe5!important;box-sizing:border-box!important}
body[data-usa-client] #view-table #usaActionHeader .poker-control-position button[data-position=left]{border-radius:5px 0 0 5px!important}
body[data-usa-client] #view-table #usaActionHeader .poker-control-position button[data-position=bottom]{border-radius:0!important;border-left:0!important}
body[data-usa-client] #view-table #usaActionHeader .poker-control-position button[aria-pressed=true]{background:linear-gradient(#087f9b,#00617a)!important;color:#e4f6ff!important}
body[data-usa-client] #view-table #usaActionHeader #poker943Callout{border-radius:0 5px 5px 0!important;border-left:0!important}
body[data-usa-client] #view-table #usaActionHeader #poker943Tools{gap:0!important}
@media(min-width:601px),(orientation:landscape){
 body[data-usa-client]:not(.usa929-bottom) #view-table #usaActionHeader #poker943Tools{margin-left:0!important}
 body[data-usa-client]:not(.usa929-bottom) #view-table #usaActionHeader #poker943Callout{height:30px!important;min-height:30px!important;padding:3px 9px!important;font:600 12px/20px system-ui!important}
}
@media(max-height:479px){body[data-usa-client]:not(.usa929-bottom) #view-table #usaActionHeader #poker943Callout{height:22px!important;min-height:22px!important;padding:2px 7px!important;font:600 10px/16px Arial!important}}
@media(max-width:600px) and (orientation:portrait){body[data-usa-client] #view-table #usaActionHeader #poker943Callout{border-left:1px solid #365968!important;border-radius:5px!important}}

body[data-usa-client].usa929-bottom #view-table #usaActionHeader .poker-control-position{padding:0!important}
body[data-usa-client] #view-table #usaActionHeader #poker943Callout{order:-1}

/*1091: bank availability changes emphasis, never the control geometry.*/
body[data-usa-client][data-usa-controls] #view-table #pokerBankRow1071[hidden]{display:flex!important}
body[data-usa-client][data-usa-controls] #view-table #pokerBankRow1071 #poker943Bank[hidden]{display:inline-block!important;opacity:.10!important;pointer-events:none!important}
body[data-usa-client][data-usa-controls] #view-table #pokerBankNotice{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;border:0!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;overflow:hidden!important;white-space:nowrap!important;flex:none!important}
@media(min-width:601px),(orientation:landscape){
 body[data-usa-client][data-usa-controls=left]:not(.usa929-bottom) #view-table .pbb-v3 #pbb-actions:has(#pokerBankRow1071){grid-template-columns:minmax(0,1fr)!important;grid-template-rows:130px 28px!important;height:164px!important;min-height:164px!important}
 body[data-usa-client][data-usa-controls=left]:not(.usa929-bottom) #view-table #pokerBankRow1071 #poker943Bank{height:28px!important;min-height:28px!important}
}

/*1091: text follows the actual action column, including a reserved bank slot.*/
@media(min-width:601px),(orientation:landscape){
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot{container-type:inline-size}
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot>button{font-size:clamp(8px,12cqi,12px)!important;line-height:1.05!important;padding:1px 2px!important;overflow-wrap:normal!important;word-break:normal!important}
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot>label{font-size:clamp(8px,10cqi,10px)!important;line-height:1.05!important;gap:3px!important}
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #pbb-checks #preactionPersistent label{font-size:clamp(8px,2cqi,10px)!important;line-height:1.05!important;gap:3px!important}
}

@media(min-width:601px) and (max-width:850px) and (min-height:480px){
 body[data-usa-client].usa929-bottom #view-table .table-panel{grid-template-rows:minmax(0,1fr) 112px!important}
 body[data-usa-client].usa929-bottom #view-table .pbb-v3{grid-template-rows:22px minmax(50px,1fr) 28px!important}
 body[data-usa-client].usa929-bottom #view-table .pbb-v3>#pbb-checks,
 body[data-usa-client].usa929-bottom #view-table .pbb-v3 #pbb-checks #preactionPersistent{height:28px!important;min-height:28px!important}
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #preactionPersistent label{height:28px!important;min-height:28px!important}
}

/* 1094: readable joined disabled segment and an explicit full hand summary. */
body[data-usa-client] #usaActionHeader .poker-control-position button:disabled{opacity:1!important;color:#91a6af!important;background:#10242d!important;cursor:not-allowed!important}
body[data-usa-client] #usaHandSummary{overflow:hidden!important;white-space:normal!important;cursor:pointer}
body[data-usa-client] #usaHandSummary .usa-summary-line{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%}
body[data-usa-client] #usaHandSummary:focus-visible{outline:1px solid #eac365;outline-offset:1px}
#usaHandDetails{max-width:min(460px,calc(100vw - 24px));box-sizing:border-box}

/* Side controls use one joined compact row beneath the full-width hand summary. */
@media(min-width:601px),(orientation:landscape){
 body[data-usa-client][data-usa-controls=left] #view-table #usaActionHeader #usaHandSummary{flex:0 0 100%!important}
 body[data-usa-client][data-usa-controls=left] #view-table #usaActionHeader .poker-control-position,
 body[data-usa-client][data-usa-controls=left] #view-table #usaActionHeader .poker-control-position button,
 body[data-usa-client][data-usa-controls=left] #view-table #usaActionHeader #poker943Callout{height:22px!important;min-height:22px!important;font:600 10px/16px Arial!important;padding:2px 4px!important}
 body[data-usa-client][data-usa-controls=left] #view-table #usaActionHeader .poker-control-position{padding:0!important}
}

/*1110: reserve Time bank only beside the buttons, not beside both choice rows.
  Keep the original inputs/handlers in place; their full-width row is visual only. */
@media(min-width:601px),(orientation:landscape){
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #pbb-actions{position:relative!important;container-type:inline-size}
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot{container-type:normal;position:static!important}
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot>button{font-size:clamp(8px,calc(4cqi - 4.4px),12px)!important}
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot>label{position:absolute!important;bottom:0!important;width:calc((100% - 16px)/3)!important;font-size:clamp(8px,2.8cqi,10px)!important}
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot:nth-child(1)>label{left:0!important}
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot:nth-child(2)>label{left:calc((100% + 8px)/3)!important}
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot:nth-child(3)>label{left:calc(2*(100% + 8px)/3)!important}
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #pbb-checks #preactionPersistent{padding-right:0!important}
 body[data-usa-client][data-usa-controls=bottom].usa929-bottom #view-table .pbb-v3 #pbb-checks #preactionPersistent label{font-size:clamp(8px,2.5cqi,10px)!important}
}

/*1162: aligned phone choices, readable wordmark; preserve the reserved bank slot.*/
.poker-next-scope:before{content:' · '}.poker-next-scope .phone-next{display:none}
@media(max-width:600px) and (orientation:portrait){
 body[data-usa-client] #view-desktop .desk-menubar{gap:4px!important;padding-left:5px!important;padding-right:5px!important}
 body[data-usa-client] #view-desktop .desk-menubar .desk-brand{width:clamp(120px,36vw,160px)!important;max-width:none!important;flex:0 0 clamp(120px,36vw,160px)!important}
 body[data-usa-client] #view-desktop .desk-brand .poker-wordmark1009{width:100%!important;max-width:none!important}
 body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #pbb-actions{position:relative!important;height:82px!important;min-height:82px!important;align-items:start!important}
 body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #pbb-actions #actionBar{height:82px!important;min-height:82px!important;align-items:start!important}
 body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot{position:static!important;height:44px!important;min-height:44px!important;display:block!important}
 body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot>button{height:44px!important;min-height:44px!important;padding:3px!important;font-size:clamp(10px,2.9vw,13px)!important;line-height:1.12!important}
 body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot>label{position:absolute!important;bottom:0!important;width:calc((100% - 12px)/3)!important;height:34px!important;min-height:34px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:5px!important;font-size:clamp(10px,2.85vw,12px)!important;line-height:13px!important;white-space:nowrap!important}
 body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot:nth-child(1)>label{left:0!important}
 body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot:nth-child(2)>label{left:calc((100% + 6px)/3)!important}
 body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #pbb-actions #actionBar .poker-action-slot:nth-child(3)>label{left:calc(2*(100% + 6px)/3)!important}
 body[data-usa-client] #view-table .poker-next-scope{display:block;color:#8ca8b4;font-size:10px;line-height:12px}
 body[data-usa-client] #view-table .poker-next-scope:before{content:none}
 body[data-usa-client] #view-table .poker-next-scope .desktop-next{display:none}
 body[data-usa-client] #view-table .poker-next-scope .phone-next{display:inline}
 body[data-usa-client][data-usa-controls] #view-table #pokerBankRow1071 #poker943Bank{height:44px!important;min-height:44px!important;line-height:13px!important;padding:3px!important}
 body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #preactionPersistent{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;min-height:30px!important}
 body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #preactionPersistent label{height:30px!important;min-height:30px!important;font-size:clamp(10px,2.85vw,12px)!important;line-height:13px!important;gap:5px!important;align-items:center!important;white-space:nowrap!important}
 body[data-usa-client][data-usa-controls] #view-table .pbb-v3 label input[type=checkbox]{width:14px!important;height:14px!important;min-width:14px!important;flex:0 0 14px!important;margin:0!important}
 body[data-usa-client][data-usa-controls].poker943-callouts-off #view-table .pbb-v3{grid-template-rows:144px!important;height:calc(152px + var(--usa-safe-bottom))!important;min-height:calc(152px + var(--usa-safe-bottom))!important;max-height:calc(152px + var(--usa-safe-bottom))!important;flex-basis:calc(152px + var(--usa-safe-bottom))!important}
}

@media(max-width:600px) and (orientation:portrait){
 body[data-usa-client] #view-table .usa-seat-tools .usa-table-options,
 body[data-usa-client] #view-table .usa-seat-tools [data-usa-tool=publicChat],
 body[data-usa-client] #view-table .usa-seat-tools [data-usa-tool=history]{flex:1 1 0!important;max-width:none!important;width:auto!important;white-space:nowrap!important;font-size:11px!important;min-height:34px!important}
}

@media(max-width:600px) and (orientation:portrait){
 body[data-usa-client] #view-desktop .desk-menubar.usa-has-balances .desk-brand{flex:1 0 120px!important;min-width:120px!important}
 body[data-usa-client][data-usa-controls] #view-table>.lf-toolbar>.usa-seat-tools.usa929-local-tools{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;flex:1 1 100%!important;width:100%!important;max-width:none!important}
 body[data-usa-client][data-usa-controls] #view-table>.lf-toolbar>.usa-seat-tools.usa929-local-tools>button{white-space:nowrap!important;font-size:11px!important}
}
@media(max-width:375px) and (orientation:portrait){
 body[data-usa-client] #view-desktop .desk-menubar.usa-has-balances{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:30px 34px!important;gap:4px!important;padding:4px 6px!important;height:76px!important;min-height:76px!important}
 body[data-usa-client] #view-desktop .desk-menubar.usa-has-balances .desk-brand{grid-column:1/4;grid-row:1;width:160px!important;max-width:160px!important}
 body[data-usa-client] #view-desktop .desk-menubar #usaLobbyToggle{grid-column:1;grid-row:2;width:100%!important;min-height:34px!important}
 body[data-usa-client] #view-desktop .desk-menubar .usa-account-header{grid-column:4;grid-row:1;justify-self:end}
 body[data-usa-client] #view-desktop .desk-menubar .usa-layout-tools{grid-column:2/4;grid-row:2;justify-content:stretch!important;width:100%!important}
 body[data-usa-client] #view-desktop .desk-menubar .usa-layout-tools button{flex:1;min-height:34px!important}
 body[data-usa-client] #view-desktop .desk-menubar .usa-room-menu{grid-column:4;grid-row:2;width:100%!important;min-height:34px!important}
}

.poker-hand-scope:before{content:' · '}
@media(max-width:600px) and (orientation:portrait){.poker-hand-scope{display:block;color:#8ca8b4;font-size:10px;line-height:12px}.poker-hand-scope:before{content:none}}
