
#root main.gameScreen .stockCountBadge,#root main.gameScreen .remainingStoneLabel{display:none!important}
#root main.gameScreen .centerDeck .deckStack b{display:block!important;color:#fff2b3!important;font-size:23px!important;z-index:195!important}
@media(max-width:700px) and (orientation:portrait){
#root main.gameScreen .connectionRecovery,#root main.gameScreen .gameModeStrip,#root main.gameScreen .actionPanel,#root main.gameScreen .gameInfoBar>.stockBox,#root main.gameScreen .gameInfoBar>.turnBox,#root main.gameScreen .autoPilotBanner>div{display:none!important}
#root main.gameScreen .gameInfoBar{background:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;pointer-events:none!important}
#root main.gameScreen .autoPilotBanner{position:absolute!important;inset:auto auto 34% 50%!important;transform:translateX(-50%)!important;z-index:550!important;padding:0!important;border:0!important;background:none!important}
#root main.gameScreen .centerDeck{position:absolute!important;inset:61% auto auto 50%!important;transform:translateX(-50%)!important;display:flex!important;align-items:center!important;justify-content:center!important;width:80px!important;min-width:80px!important;height:52px!important;min-height:52px!important;padding:3px!important;overflow:visible!important;z-index:190!important}
#root main.gameScreen .centerDeck .deckStack{position:relative!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;width:70px!important;height:44px!important;margin:0!important;transform:none!important}
#root main.gameScreen .centerDeck .deckStack img{width:29px!important;height:41px!important;display:block!important;opacity:1!important;max-width:none!important}
#root main.gameScreen .centerDeck .deckStack b{position:absolute!important;inset:50% 1px auto auto!important;transform:translateY(-50%)!important;width:34px!important;height:auto!important;padding:3px 0!important;background:none!important;font-weight:900!important;line-height:1!important;text-align:center!important}
}

#root main.gameScreen .centerDeck .deckStack b{font-size:15px!important;line-height:1!important;font-weight:700!important}
#root main.gameScreen .tileRackGrid,#root main.gameScreen .tileRackGrid .okeyTile{touch-action:none!important}
@media(max-width:700px) and (orientation:portrait){
#root main.gameScreen .centerDeck{width:64px!important;min-width:64px!important;height:46px!important;min-height:46px!important;padding:2px!important;box-sizing:border-box!important}
#root main.gameScreen .centerDeck .deckStack{width:56px!important;height:38px!important;gap:6px!important;justify-content:center!important}
#root main.gameScreen .centerDeck .deckStack img{width:25px!important;height:36px!important;flex:0 0 25px!important;object-fit:contain!important}
#root main.gameScreen .centerDeck .deckStack b{position:static!important;inset:auto!important;transform:none!important;display:block!important;width:23px!important;flex:0 0 23px!important;padding:0!important;margin:0!important;text-align:center!important}
}

@media(max-width:700px) and (orientation:portrait){
#root main.gameScreen.gameScreen .gameTableWrap .centerDeck{position:absolute!important;inset:61% auto auto 50%!important;transform:translateX(-50%)!important;width:72px!important;min-width:72px!important;height:48px!important;min-height:48px!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;padding:3px!important;box-sizing:border-box!important;z-index:190!important}
#root main.gameScreen.gameScreen .gameTableWrap .centerDeck .deckStack{position:relative!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:62px!important;height:40px!important;margin:0!important;padding:0!important;transform:none!important;background:none!important;border:0!important;box-shadow:none!important}
#root main.gameScreen.gameScreen .gameTableWrap .centerDeck .deckStack img{display:block!important;width:25px!important;height:36px!important;max-width:25px!important;flex:0 0 25px!important;object-fit:contain!important;margin:0!important}
#root main.gameScreen.gameScreen .gameTableWrap .centerDeck .deckStack b{position:static!important;inset:auto!important;transform:none!important;display:block!important;width:23px!important;min-width:0!important;height:auto!important;flex:0 0 23px!important;font-size:14px!important;line-height:1!important;font-weight:700!important;text-align:center!important;padding:0!important;margin:0!important;background:none!important}
}

@media(max-width:700px) and (orientation:portrait){
#root main.gameScreen.yuzbirGame.finishedHand .rackArea{top:76%!important;height:22%!important;min-height:0!important}
#root main.gameScreen.yuzbirGame.finishedHand .rackBoardShell{top:24%!important;bottom:3%!important;height:auto!important}
#root main.gameScreen.yuzbirGame.finishedHand .rack101ScoreBar{display:none!important}
}

#root main.gameScreen.yuzbirGame .yuzbirMeldBoard{display:flex!important;flex-direction:column!important;overflow:hidden!important;padding:0!important}
#root main.gameScreen.yuzbirGame .yuzbirMeldBoard:before{position:relative!important;top:auto!important;left:auto!important;flex:0 0 32px!important;height:32px!important;margin:0!important}
#root main.gameScreen.yuzbirGame .yuzbirMeldBoard .meldPanCanvas{flex:1 1 0!important;min-height:0!important;height:auto!important;overflow:auto!important;touch-action:pan-x pan-y!important;overscroll-behavior:contain!important}

#root main.gameScreen.yuzbirGame .rack101OpenedBadge{display:grid!important;grid-template-columns:1fr 1fr!important;gap:4px!important;font-size:9px!important}
#root main.gameScreen.yuzbirGame .rack101OpenedBadge .autoLayoffButton{grid-column:1 / -1!important;width:100%!important;min-height:32px!important;padding:4px!important;font-size:12px!important}
#root main.gameScreen.yuzbirGame .rack101OpenedBadge .rack101OpenActions{grid-column:1 / -1!important}

#root main.gameScreen.yuzbirGame .rack101OpenedBadge{box-sizing:border-box!important;display:grid!important;grid-template-columns:1fr 1fr!important;grid-template-rows:1fr!important;align-items:stretch!important;height:100%!important;max-height:100%!important;gap:5px!important;padding:3px!important;overflow:hidden!important}
#root main.gameScreen.yuzbirGame .rack101OpenedBadge .autoLayoffButton{grid-column:1!important;grid-row:1!important;height:100%!important;min-height:0!important;padding:3px!important;font-size:11px!important}
#root main.gameScreen.yuzbirGame .rack101OpenedBadge .rack101OpenActions{grid-column:2!important;grid-row:1!important;display:flex!important;flex-direction:row!important;align-items:stretch!important;gap:3px!important;height:100%!important;min-height:0!important}
#root main.gameScreen.yuzbirGame .rack101OpenedBadge .rack101OpenActions button{height:100%!important;min-height:0!important;padding:3px!important;font-size:9px!important;white-space:normal!important;flex:1!important}

#root main.gameScreen.yuzbirGame .rack101UnifiedActions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:center!important;gap:5px!important;width:100%!important;height:100%!important;padding:3px!important;box-sizing:border-box!important}
#root main.gameScreen.yuzbirGame .rack101UnifiedActions button{width:100%!important;min-width:0!important;min-height:30px!important;height:34px!important;padding:3px!important;font-size:10px!important;line-height:1.1!important;border-radius:8px!important;white-space:normal!important}
#root main.gameScreen.yuzbirGame .rack101UnifiedActions .returnSideTile{grid-column:1 / -1!important;height:25px!important;min-height:25px!important}
