/* 914. A phone is a playing surface, not a scaled desktop window. */
.usa-room-menu{display:none}
@media(max-width:600px) and (orientation:portrait){
 body[data-usa-client]{font-family:Arial,Helvetica,sans-serif!important}
 body[data-usa-client] #view-desktop .desk-menubar{position:relative!important;min-height:48px!important;height:48px!important;flex:0 0 48px!important;flex-wrap:nowrap!important;padding:4px 8px!important;gap:5px!important;background:linear-gradient(110deg,#102734,#07131d)!important;z-index:2000000!important}
 body[data-usa-client] #view-desktop .desk-brand{flex:1!important;min-width:0!important;gap:6px!important}
 body[data-usa-client] #view-desktop .desk-brand strong{font:700 17px Georgia,serif!important;letter-spacing:.2px!important}
 body[data-usa-client] #view-desktop .desk-brand .poker-mark{height:30px!important;width:25px!important;font-size:24px!important}
 body[data-usa-client] #view-desktop .desk-brand small{display:none!important}
 body[data-usa-client] #view-desktop .desk-menu{display:contents!important}
 body[data-usa-client] #view-desktop .desk-menu>.desk-menu-btn:not(.nav-primary),body[data-usa-client] #view-desktop .desk-user{display:none!important}
 body[data-usa-client] #view-desktop .desk-menu .nav-primary{height:36px!important;min-height:36px!important;padding:0 10px!important;font-size:12px!important;border-radius:8px!important}
 body[data-usa-client] .usa-room-menu{display:block!important;height:36px;min-width:38px;border:1px solid #38525c;border-radius:8px;background:#132936;color:#f3dba5!important;font-size:20px;cursor:pointer}
 body[data-usa-client].usa-menu-open #view-desktop .desk-menubar{height:94px!important;flex-basis:94px!important;flex-wrap:wrap!important}
 body[data-usa-client].usa-menu-open #view-desktop .desk-menu{display:flex!important;order:5!important;flex:1 0 100%!important;justify-content:space-between!important;width:100%!important;gap:3px!important}
 body[data-usa-client].usa-menu-open #view-desktop .desk-menu>.desk-menu-btn:not([style*="display: none"]):not([style*="display:none"]):not([hidden]){display:block!important;font-size:12px!important;padding:7px!important}
 body[data-usa-client].usa-menu-open #view-desktop .desk-user{display:flex!important;max-width:110px!important;font-size:11px!important}
 body[data-usa-client].usa-menu-open #view-desktop .desk-user b{display:inline-block;vertical-align:middle;max-width:70px;overflow:hidden;text-overflow:ellipsis}
 body[data-usa-client] .usa-table-tabs{padding:2px 6px!important;min-height:0!important;background:#091b24!important}
 body[data-usa-client] .usa-table-tabs[hidden]{display:none!important}
 body[data-usa-client] .usa-table-tabs button{min-height:29px!important;border-radius:5px!important;font-size:11px!important}
 body[data-usa-client] .usa-lobby-drawer>.win-title{display:none!important}
 body[data-usa-client] .usa-lobby-drawer .win-body{padding:3px 5px!important}
 body[data-usa-client] .usa-live-lobby{padding:0!important}
 body[data-usa-client] .usa-live-game{margin:0!important}
 body[data-usa-client] #view-table .table-area{min-height:160px!important;background:var(--table-room)!important}
 body[data-usa-client] #view-table #tableOval:before{height:var(--usa-phone-felt-height,100%)!important;bottom:auto!important;background-size:100% 100%!important;opacity:1!important}
 body[data-usa-client] #view-table .table-center{left:50%!important;width:var(--usa-board-width)!important;top:var(--usa-board-start)!important;gap:5px!important}
 body[data-usa-client] #view-table .board-cards{gap:4px!important}
 body[data-usa-client] #view-table .board-cards>.card{border-radius:5px!important;aspect-ratio:.714!important;box-shadow:0 2px 3px #0008!important}
 body[data-usa-client] #view-table .board-label{font:700 9px/12px Arial,sans-serif!important;letter-spacing:1.5px!important;margin-bottom:3px!important;color:#c6e9df!important}
 body[data-usa-client] #view-table .card .corner-idx.tl{font:800 43cqw/.9 Arial,sans-serif!important;inset:5% auto auto 7%!important;letter-spacing:-.05em!important}
 body[data-usa-client] #view-table .card .corner-idx.tl .cs{display:none!important}
 body[data-usa-client] #view-table .card .corner-idx.br{display:none!important}
 body[data-usa-client] #view-table .card .playing-face{inset:12% 4% 4%!important;display:flex!important;align-items:center!important;justify-content:center!important}
 body[data-usa-client] #view-table .card .playing-pip{display:none!important}
 body[data-usa-client] #view-table .card .playing-face:not(:has(.court-art)):after{font:normal 72cqw/1 Georgia,serif;position:absolute;right:5%;bottom:4%;text-shadow:0 1px 0 #0001}
 body[data-usa-client] #view-table .card.spade .playing-face:after{content:'♠'}
 body[data-usa-client] #view-table .card.club .playing-face:after{content:'♣'}
 body[data-usa-client] #view-table .card.heart .playing-face:after{content:'♥'}
 body[data-usa-client] #view-table .card.diamond .playing-face:after{content:'♦'}
 body[data-usa-client] #view-table .card .playing-face:has(.court-art):after{display:none!important}
 body[data-usa-client] #view-table .card .court-art{width:73%!important;height:85%!important;margin:15% 0 0 25%!important}
 body[data-usa-client] #view-table .seat,body[data-usa-client] #view-table .seat[data-usa-slot="4"]:not([data-usa-hero=true]){width:70px!important;height:42px!important}
 body[data-usa-client] #view-table .seat-inner{border-radius:9px!important;flex-direction:column!important;justify-content:flex-end!important;padding:3px 2px!important;background:linear-gradient(#112933,#05151d)!important;border:1px solid #a9925b!important;box-shadow:0 3px 6px #0009!important}
 body[data-usa-client] #view-table .seat .seat-avatar,body[data-usa-client] #view-table .seat[data-usa-slot="4"]:not([data-usa-hero=true]) .seat-avatar{position:absolute!important;width:32px!important;height:32px!important;flex-basis:32px!important;left:calc(50% - 16px)!important;top:-20px!important;border:2px solid #d2bb82!important;box-shadow:0 2px 4px #000b!important}
 body[data-usa-client] #view-table .seat .seat-text,body[data-usa-client] #view-table .seat[data-usa-slot="4"]:not([data-usa-hero=true]) .seat-text{width:100%!important;flex:none!important;text-align:center!important}
 body[data-usa-client] #view-table .seat-name{font:700 10px/13px Arial,sans-serif!important;color:#fff!important}
 body[data-usa-client] #view-table .seat-stack{font:700 12px/15px Arial,sans-serif!important;color:#f6d99a!important}
 body[data-usa-client] #view-table .seat .status{font:700 9px/11px Arial,sans-serif!important;color:#8ae6da!important}
 body[data-usa-client] #view-table .seat .role{width:17px!important;height:17px!important;right:-5px!important;top:18px!important}
 body[data-usa-client] #view-table .seat:not([data-usa-hero=true]) .hole-cards{top:-8px!important;left:50%!important;opacity:1!important;z-index:-1!important;gap:1px!important}
 body[data-usa-client] #view-table .seat:not([data-usa-hero=true]) .hole-cards>.card{width:20.8px!important;height:29.9px!important;border-radius:3px!important}
 body[data-usa-client] #view-table .seat:not([data-usa-hero=true]) .hole-cards>.card+.card{margin-left:-5px!important}
 body[data-usa-client] #view-table .seat[data-usa-hero=true]{width:144px!important;height:37px!important;z-index:7!important}
 body[data-usa-client] #view-table .seat[data-usa-hero=true] .seat-inner{border-radius:22px!important;padding:2px 9px!important;flex-direction:row!important;gap:8px!important;border-color:#65c9bb!important;background:linear-gradient(#133941,#06222c)!important}
 body[data-usa-client] #view-table .seat[data-usa-hero=true] .seat-avatar{position:relative!important;inset:auto!important;height:33px!important;width:33px!important;flex-basis:33px!important}
 body[data-usa-client] #view-table .seat[data-usa-hero=true] .seat-name{font-size:11px!important}
 body[data-usa-client] #view-table .seat[data-usa-hero=true] .seat-stack{font-size:14px!important}
 body[data-usa-client] #view-table .seat[data-usa-hero=true] .hole-cards{left:50%!important;top:var(--usa-hero-offset)!important;transform:translateX(-50%)!important;gap:2px!important;z-index:-1!important}
 body[data-usa-client] #view-table .seat[data-usa-hero=true] .hole-cards>.card{width:var(--usa-hero-card)!important;height:calc(var(--usa-hero-card)*1.4)!important;border-radius:6px!important}
 body[data-usa-client] #view-table .seat[data-usa-hero=true] .hole-cards>.card+.card{margin-left:calc(var(--usa-hero-card)*-.12)!important}
 body[data-usa-client] #view-table .seat.empty,body[data-usa-client] #view-table .seat.empty[data-usa-slot]{width:40px!important;height:40px!important}
 body[data-usa-client] #view-table .seat.empty .seat-inner{border:1px dashed #d3dec86b!important;border-radius:50%!important;background:#031b244f!important;box-shadow:none!important;padding:0!important;justify-content:center!important;opacity:.85!important}
 body[data-usa-client] #view-table .seat.empty .seat-name{font:300 24px/32px Arial,sans-serif!important;color:#dae8dd!important}
 body[data-usa-client] #view-table .seat.empty .seat-name:before,body[data-usa-client] #view-table .seat.empty .seat-stack,body[data-usa-client] #view-table .seat.empty .seat-avatar{display:none!important}
 body[data-usa-client] #view-table .seat.usa-phone-turn .seat-inner{border-color:#ffe184!important;box-shadow:0 0 0 2px #b99638,0 0 16px #ffe16477!important}
 body[data-usa-client] #view-table .seat .bet-chip:after{left:calc(100% + 2px)!important;top:0!important;transform:none!important;background:#062322dd!important;font-size:10px!important;padding:1px 3px!important;border-radius:4px!important}
 body[data-usa-client] #view-table .seat .bet-chip{width:17px!important;height:17px!important}
 body[data-usa-client] #view-table #potDisplayWrap{height:25px!important;min-height:25px!important;gap:8px!important}
 body[data-usa-client] #view-table #potDisplayWrap .pot-chips{width:62px!important;height:23px!important}
 body[data-usa-client] #view-table #potDisplayWrap .pot-amount{font:800 20px/24px Arial,sans-serif!important;color:#ffe5a0!important}
 body[data-usa-client] #view-table .lf-waiting-banner{font-size:11px!important;line-height:16px!important;max-width:80%!important;white-space:nowrap!important;top:72%!important;padding:5px 12px!important}
 body[data-usa-client] #view-table .pbb-v3{padding:7px 8px max(5px,env(safe-area-inset-bottom))!important;gap:5px!important;background:linear-gradient(#102936,#071720)!important;border-top:1px solid #3f636b!important}
 body[data-usa-client] #view-table .pbb-v3>.z-ctr{gap:4px!important;order:1!important}
 body[data-usa-client] #view-table #pbb-readout{display:block!important;font:600 11px/14px Arial,sans-serif!important;max-height:none!important;overflow:visible!important;min-height:0!important;margin:0!important;color:#dbece5!important}
 body[data-usa-client] #view-table #usaTurn{display:block!important;position:static!important;transform:none!important;width:100%!important;margin:0!important;height:auto!important;color:#ffe296!important;font:800 12px/15px Arial,sans-serif!important}
 body[data-usa-client] #view-table #usaTurn:has(span:empty){display:none!important}
 body[data-usa-client] #view-table #usaTurn progress{height:3px!important;width:100%!important;margin:4px 0 1px!important}
 body[data-usa-client] #view-table #actionBar{gap:6px!important}
 body[data-usa-client] #view-table #actionBar .lf-btn{height:44px!important;min-height:44px!important;font:700 16px/20px Arial,sans-serif!important;border-radius:9px!important;box-shadow:inset 0 1px 0 #ffffff38,0 2px 4px #0004!important}
 body[data-usa-client] #view-table #actionBar .lf-btn:disabled{opacity:.45!important}
 body[data-usa-client] #view-table .pbb-v3 #pbb-checks{display:block!important;margin:0!important;padding:0!important}
 body[data-usa-client] #view-table #preactionPersistent{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;flex-direction:row!important;gap:3px 5px!important;width:100%!important}
 body[data-usa-client] #view-table #preactionPersistent label{font:11px/20px Arial,sans-serif!important;min-height:22px!important;display:flex!important;align-items:center!important;gap:5px!important}
 body[data-usa-client] #view-table #preactionPersistent input{width:15px!important;height:15px!important;accent-color:#deb969!important;margin:0!important}
 body[data-usa-client] .usa-quick{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:3px!important;order:3!important}
 body[data-usa-client] .usa-quick button{min-height:26px!important;border-radius:6px!important;padding:3px!important;background:#153542!important;border-color:#35545d!important;font:10px/18px Arial,sans-serif!important}
 body[data-usa-client] .usa-mobile-tools{display:flex!important;order:4!important;border-top:1px solid #26434e!important;padding-top:3px!important;gap:4px!important}
 body[data-usa-client] .usa-mobile-tools button{min-height:30px!important;font:600 11px/18px Arial,sans-serif!important;color:#bed2d8!important}
 body[data-usa-client] #view-table .poker-control-position{display:none!important}
 body[data-usa-client] #view-table .usa-results{position:static!important;transform:none!important;width:100%!important;margin:0!important;border-radius:6px!important;padding:7px!important}
 body[data-usa-client] .usa-sheet{border-radius:16px 16px 0 0!important;background:#102733!important;box-shadow:0 -12px 45px #0009!important}
 body[data-usa-client] .usa-option-shortcuts button{min-height:40px!important;border-radius:8px!important}
}

@media(max-width:600px) and (orientation:portrait){
 body[data-usa-client] #view-table .seat[data-usa-slot="5"] .bet-chip:after,body[data-usa-client] #view-table .seat[data-usa-slot="6"] .bet-chip:after,body[data-usa-client] #view-table .seat[data-usa-slot="7"] .bet-chip:after{left:auto!important;right:calc(100% + 2px)!important}
 body[data-usa-client].usa-phone-tight #view-table .seat:not([data-usa-hero=true]):not(.empty){width:50px!important}
 body[data-usa-client].usa-phone-tight #view-table .seat:not([data-usa-hero=true]) .seat-name{font-size:9px!important}
 body[data-usa-client] #view-table .pbb-v3 #preactionPersistent label{white-space:nowrap!important;font-size:10px!important}
}
@media(max-width:600px) and (orientation:portrait) and (max-height:620px){
 body[data-usa-client] #view-table .pbb-v3{padding:4px 6px!important;gap:3px!important}
 body[data-usa-client] #view-table .pbb-v3>.z-ctr{gap:2px!important}
 body[data-usa-client] #view-table #pbb-readout{font-size:10px!important;line-height:12px!important;padding:0!important}
 body[data-usa-client] #view-table #actionBar .lf-btn{height:40px!important;min-height:40px!important;font-size:14px!important}
 body[data-usa-client] #view-table #preactionPersistent label{font-size:9px!important;min-height:20px!important;gap:3px!important}
 body[data-usa-client] .usa-quick button{font-size:9px!important;min-height:24px!important;padding:2px 0!important}
 body[data-usa-client] .usa-mobile-tools button{min-height:26px!important;font-size:10px!important}
}

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

@media(max-width:600px) and (orientation:portrait){
 body[data-usa-client] .usa-lobby-drawer #lwRing{display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;align-items:center!important;gap:5px!important;padding:0!important}
 body[data-usa-client] .usa-lobby-drawer .usa-game-label{margin:0!important;width:112px!important;font-size:0!important}
 body[data-usa-client] .usa-lobby-drawer .usa-game-select{font-size:10px!important;padding:5px 2px!important;height:34px!important;min-height:34px!important;margin:0!important}
 body[data-usa-client] .usa-lobby-drawer .usa-live-games{min-width:0!important;margin:0!important}
 body[data-usa-client] .usa-lobby-drawer .usa-live-rows{gap:3px!important}
 body[data-usa-client] .usa-lobby-drawer .usa-live-row button{font-size:0!important;min-height:34px!important;height:34px!important;padding:2px 0!important}
 body[data-usa-client] .usa-lobby-drawer .usa-live-game[hidden]{display:none!important}
}

@media(max-width:600px) and (orientation:portrait){body[data-usa-client] .usa-lobby-drawer .usa-live-row button:after{font-size:10px!important;line-height:30px!important}body[data-usa-client] .usa-lobby-drawer .lobby-scroll-content{padding:0!important}}

/* Wins are a temporary celebration, never a new row that resizes the table. */
body[data-usa-client] #view-table #usaResults.usa-results-controls{position:fixed!important;left:50%!important;top:38%!important;bottom:auto!important;transform:translate(-50%,-50%)!important;width:min(390px,calc(100vw - 40px))!important;min-height:76px!important;height:auto!important;box-sizing:border-box!important;margin:0!important;padding:16px 52px 16px 14px!important;z-index:2000010!important;border:2px solid #eed08a!important;border-radius:16px!important;background:linear-gradient(135deg,#2c2717,#0b2129)!important;box-shadow:0 0 0 5px #d6b45f22,0 12px 45px #000b,0 0 45px #eccc6644!important;animation:usa-win-arrival 7.5s both;pointer-events:auto!important}
body[data-usa-client] #view-table #usaResults.usa-your-win{background:linear-gradient(135deg,#685022,#193c35)!important;box-shadow:0 0 0 5px #ffd76b44,0 12px 45px #000b,0 0 50px #ffd96888!important}
body[data-usa-client] #view-table #usaResults .usa-win-title{font:800 19px/1.25 Arial,sans-serif!important;letter-spacing:.2px;color:#ffe69d!important}
body[data-usa-client] #view-table #usaResults .usa-win-detail{font:12px/1.4 Arial,sans-serif!important;color:#eff4e4!important;margin-top:4px}
body[data-usa-client] #view-table #usaResults .usa-win-dismiss{position:absolute!important;right:6px!important;top:6px!important;width:32px!important;height:32px!important;min-height:32px!important;display:grid!important;place-items:center!important;padding:0!important;border-radius:50%!important;font-size:20px!important;background:#14262d!important;line-height:24px!important}
body[data-usa-client] #view-table #usaResults.usa-result-dismissed,body[data-usa-client] #view-table #usaResults:empty{display:none!important}
@keyframes usa-win-arrival{0%{opacity:0;transform:translate(-50%,-20%) scale(.65)}7%{opacity:1;transform:translate(-50%,-50%) scale(1.08)}11%,87%{opacity:1;transform:translate(-50%,-50%) scale(1)}100%{opacity:0;transform:translate(-50%,-95%) scale(.85)}}
@media(prefers-reduced-motion:reduce){body[data-usa-client] #view-table #usaResults{animation:none!important}}
@media(max-width:600px) and (orientation:portrait){
 body[data-usa-client] #view-table .pbb-v3{height:218px!important;min-height:218px!important;max-height:218px!important;flex:0 0 218px!important}
 body[data-usa-client] #view-table .pbb-v3>.z-ctr{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:20px 40px 44px 22px!important;gap:3px!important;flex:1!important;min-height:0!important;align-content:start!important}
 body[data-usa-client] #view-table #usaTurn{grid-area:1/1!important;align-self:start!important}
 body[data-usa-client] #view-table #pbb-readout{grid-area:2/1!important;align-self:center!important;font-size:10px!important;line-height:12px!important;padding:0!important}
 body[data-usa-client] #view-table #pbb-actions{grid-area:3/1!important;min-width:0!important}
 body[data-usa-client] #view-table .pbb-v3 #pbb-preactions:not([hidden]){display:flex!important;grid-area:3/1!important;min-width:0!important;width:100%!important}
 body[data-usa-client] #view-table #preactionSet{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%!important;gap:5px!important;align-items:stretch!important}
 body[data-usa-client] #view-table #preactionSet label{display:flex!important;align-items:center!important;gap:4px!important;padding:4px!important;border:1px solid #38535f!important;border-radius:8px!important;background:#173541!important;font:11px/14px Arial,sans-serif!important;min-width:0!important}
 body[data-usa-client] #view-table #preactionSet input{flex:0 0 16px!important;width:16px!important;height:16px!important;margin:0!important;accent-color:#e2bd70!important}
 body[data-usa-client] #view-table #pbb-checks{grid-area:4/1!important;align-self:center!important}
 body[data-usa-client] #view-table .usa-quick,body[data-usa-client] #view-table .usa-mobile-tools{flex:none!important}
 body[data-usa-client] #view-table #usaResults.usa-results-controls{top:32%!important}
}
@media(max-width:600px) and (orientation:portrait) and (max-height:620px){
 body[data-usa-client] #view-table .pbb-v3{height:194px!important;min-height:194px!important;max-height:194px!important;flex-basis:194px!important}
 body[data-usa-client] #view-table .pbb-v3>.z-ctr{grid-template-rows:16px 32px 40px 20px!important;gap:2px!important}
 body[data-usa-client] #view-table #preactionSet label{font-size:10px!important;padding:3px!important}
}

@media(max-width:600px) and (orientation:portrait){
 body[data-usa-client] #view-table #actionBar .poker-action-slot{height:44px!important;min-width:0!important}
 body[data-usa-client] #view-table #actionBar .poker-action-slot>label{height:44px!important;width:100%!important;display:flex!important;align-items:center!important;gap:4px!important;border:1px solid #38535f!important;border-radius:8px!important;padding:5px!important;background:#173541!important;color:#e4efea!important;font:11px/14px Arial,sans-serif!important}
 body[data-usa-client] #view-table #actionBar .poker-action-slot input{width:16px!important;height:16px!important;min-width:16px!important;margin:0!important;accent-color:#e2bd70!important}
}
@media(max-width:600px) and (orientation:portrait) and (max-height:620px){body[data-usa-client] #view-table #actionBar .poker-action-slot,body[data-usa-client] #view-table #actionBar .poker-action-slot>label{height:40px!important}body[data-usa-client] #view-table #actionBar .poker-action-slot>label{font-size:10px!important;padding:3px!important}}

/* 921: reserve iPhone safe-area space outside fixed control rows, never shrink rows into one another. */
@media(max-width:600px) and (orientation:portrait){
 body[data-usa-client]{--usa-safe-bottom:env(safe-area-inset-bottom,0px)}
 body[data-usa-client][data-usa-controls] #view-table .pbb-v3{
  box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:124px 48px 28px!important;gap:4px!important;align-content:start!important;
  height:calc(224px + var(--usa-safe-bottom))!important;min-height:calc(224px + var(--usa-safe-bottom))!important;
  max-height:calc(224px + var(--usa-safe-bottom))!important;flex:0 0 calc(224px + var(--usa-safe-bottom))!important;
  padding:6px 8px calc(6px + var(--usa-safe-bottom))!important;overflow:visible!important;
 }
 body[data-usa-client][data-usa-controls] #view-table .pbb-v3>.z-ctr{
  grid-area:1/1!important;display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;
  grid-template-rows:40px 44px 32px!important;gap:4px 8px!important;height:124px!important;min-height:124px!important;
  max-height:124px!important;margin:0!important;padding:0!important;align-content:start!important;
 }
 body[data-usa-client][data-usa-controls] #view-table #usaTurn{grid-area:1/1!important;align-self:center!important;display:block!important;min-width:0!important;font-size:11px!important;line-height:13px!important}
 body[data-usa-client][data-usa-controls] #view-table #usaTurn span:empty:before{content:attr(data-usa-idle);font-size:11px;color:#a7c3ce}
 body[data-usa-client][data-usa-controls] #view-table #usaTurn .usa-to-call{font-size:10px!important;line-height:12px!important}
 body[data-usa-client][data-usa-controls] #view-table #pbb-readout{grid-area:1/2!important;align-self:center!important;min-width:0!important;font:10px/12px Arial,sans-serif!important;text-align:right!important;max-height:40px!important;overflow:auto!important}
 body[data-usa-client][data-usa-controls] #view-table #pbb-actions,
 body[data-usa-client][data-usa-controls] #view-table .pbb-v3 #pbb-preactions:not([hidden]){grid-area:2/1/3/3!important;min-height:44px!important;height:44px!important}
 body[data-usa-client][data-usa-controls] #view-table #actionBar .lf-btn,
 body[data-usa-client][data-usa-controls] #view-table #actionBar .poker-action-slot,
 body[data-usa-client][data-usa-controls] #view-table #actionBar .poker-action-slot>label{box-sizing:border-box!important;height:44px!important;min-height:44px!important}
 body[data-usa-client][data-usa-controls] #view-table #pbb-checks{grid-area:3/1/4/3!important;height:32px!important;min-height:32px!important;align-self:stretch!important;min-width:0!important;margin:0!important;padding:0!important}
 body[data-usa-client][data-usa-controls] #view-table #preactionPersistent{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:32px!important;gap:4px!important;align-items:stretch!important}
 body[data-usa-client][data-usa-controls] #view-table #preactionPersistent label{box-sizing:border-box!important;min-width:0!important;height:32px!important;min-height:32px!important;white-space:normal!important;font:10px/12px Arial,sans-serif!important;gap:4px!important;margin:0!important;padding:0 2px!important;align-items:center!important}
 body[data-usa-client][data-usa-controls] #view-table #preactionPersistent input{width:16px!important;height:16px!important;min-width:16px!important;flex:0 0 16px!important;margin:0!important}
 body[data-usa-client][data-usa-controls] #view-table .usa-quick{grid-area:2/1!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:22px 22px!important;gap:4px!important;min-height:48px!important;height:48px!important;margin:0!important;padding:0!important;overflow:visible!important}
 body[data-usa-client][data-usa-controls] #view-table .usa-quick button{box-sizing:border-box!important;height:22px!important;min-height:22px!important;margin:0!important;padding:1px 3px!important;font:10px/18px Arial,sans-serif!important}
 body[data-usa-client][data-usa-controls] #view-table .usa-mobile-tools{grid-area:3/1!important;box-sizing:border-box!important;height:28px!important;min-height:28px!important;margin:0!important;padding:0!important;gap:4px!important}
 body[data-usa-client][data-usa-controls] #view-table .usa-mobile-tools button{box-sizing:border-box!important;height:27px!important;min-height:27px!important;margin:0!important;padding:2px!important;font:11px/20px Arial,sans-serif!important}
}

@media(max-width:600px) and (orientation:portrait){body[data-usa-client][data-usa-controls] #view-table #usaTurn:has(span:empty){display:block!important}}

/* Keep the enlarged opponent fans inside the phone viewport. Saved offsets still apply. */
@media(max-width:600px) and (orientation:portrait){
 body[data-usa-client] #view-table .seat:is([data-usa-slot="1"],[data-usa-slot="2"],[data-usa-slot="3"]) .hole-cards{left:calc(50% + 12px)!important}
 body[data-usa-client] #view-table .seat:is([data-usa-slot="5"],[data-usa-slot="6"],[data-usa-slot="7"]) .hole-cards{left:calc(50% - 12px)!important}
}

/*1023: top-layer room navigation, independent of header sizing. */
#usaRoomMenuModal{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(420px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 40px);overflow:auto;padding:14px;border:1px solid #c4a961;border-radius:15px;background:#102b34;color:#f5e7c8;box-shadow:0 12px 40px #0009}
#usaRoomMenuModal::backdrop{background:#0007}
#usaRoomMenuModal header{display:flex;align-items:center;gap:10px;margin-bottom:12px}
#usaRoomMenuModal header strong{flex:1;font:700 17px/22px Arial}
#usaRoomMenuModal button{min-height:40px;border:1px solid #526d75;border-radius:7px;padding:9px 12px;background:#173944;color:#f5e7c8;font:600 14px/20px Arial;cursor:pointer;text-align:left;white-space:normal;overflow-wrap:anywhere}
#usaRoomMenuModal button:hover,#usaRoomMenuModal button:focus-visible{border-color:#f2d589;background:#264a54}
#usaRoomMenuModal button[hidden]{display:none!important}
#usaRoomMenuModal .usa-room-menu-items{display:grid;gap:8px}

/*1058: unfiltered vector art stays sharp on high-density phones. No saved-layout writes. */
@media (max-width:600px) and (orientation:portrait), (max-width:1000px) and (max-height:500px) and (orientation:landscape){
 body[data-usa-client] #view-table #potDisplayWrap .pot-chips,
 body[data-usa-client].usa-reference #view-table #potDisplayWrap .pot-chips,
 body[data-usa-client] #view-table .winner-chip-flight .pot-chips{background-image:url('./fork-pot-stack.svg')!important}
 body[data-usa-client] #view-table #potDisplayWrap .pot-chips.usa-pot-safe{scale:var(--usa-pot-fit-scale,1.2)!important;translate:var(--uce-x,0px) var(--uce-y,0px)!important}
}

/* A short landscape phone must scroll rather than crush cards and chips together. */
body[data-usa-client][data-usa-layout-profile="phone-landscape"] #view-table{height:100dvh!important;max-height:100dvh!important;min-height:0!important;overflow-y:auto!important}
body[data-usa-client][data-usa-layout-profile="phone-landscape"] #view-table .table-panel{flex:0 0 auto!important;height:360px!important;min-height:360px!important}
body[data-usa-client].usa940-top-tools.usa-embedded[data-usa-layout-profile="phone-landscape"] #view-table>.lf-toolbar>.usa929-local-tools{grid-template-columns:repeat(7,minmax(0,1fr))!important}
body[data-usa-client][data-usa-layout-profile="phone-landscape"] #view-table>.layout{flex:0 0 360px!important;height:360px!important;min-height:360px!important;overflow:visible!important}
body[data-usa-client][data-usa-layout-profile="phone-landscape"]:not(.holdem-mode) #view-table #potDisplayWrap{height:36px!important;min-height:36px!important}
