/* Desktop-only presentation; game rules and mobile styles remain independent. */
@media(min-width:901px){
 html body #root main.gameScreen.desktopGame.yuzbirGame{--fit-tile:clamp(32px,calc((100vw - var(--pc-social-reserve) - 120px)/18),60px)!important;color:#f2e9d3!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame>.topbar{height:64px!important;min-height:64px!important;max-height:64px!important;display:flex!important;align-items:center!important;gap:12px!important;padding:0 16px!important;background:#0b1918!important;border-bottom:1px solid #8b7342!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame>.topbar>.brand{font-size:20px!important;flex:0 0 auto!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame>.topbar>.topbarRight{position:static!important;inset:auto!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;flex:1!important;min-width:0!important;overflow:visible!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .topbar .stats{display:none!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .topbar .tableQuickTools{display:flex!important;position:static!important;gap:6px!important;align-items:center!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .topbar .tableQuickTools>button,html body #root main.gameScreen.desktopGame.yuzbirGame .topbar .soundToggle,html body #root main.gameScreen.desktopGame.yuzbirGame .topbar .lobbyPeekButton,html body #root main.gameScreen.desktopGame.yuzbirGame .topbar .themeToggle,html body #root main.gameScreen.desktopGame.yuzbirGame .topbar .leaveTableTextButton{position:static!important;inset:auto!important;transform:none!important;height:34px!important;min-height:34px!important;max-height:34px!important;width:auto!important;min-width:0!important;flex:0 0 auto!important;padding:0 10px!important;border-radius:9px!important;font-size:11px!important;line-height:1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;margin:0!important;background:#152a29!important;color:#eadfc5!important;border:1px solid #4a5b50!important;box-shadow:none!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .topbar .leaveTableTextButton{order:20!important;background:#4a2428!important;border-color:#94515b!important;color:#ffe2e4!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .topbar .lobbyPeekButton{background:#322647!important;color:#e4d6ff!important;border-color:#665184!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .topbar .lobbyPeekButton::before,html body #root main.gameScreen.desktopGame.yuzbirGame .topbar .lobbyPeekButton::after{content:none!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .topbar .lobbyPeekButton,html body #root main.gameScreen.desktopGame.yuzbirGame .topbar .themeToggle{font-size:11px!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .topbar .balancePills{position:static!important;display:flex!important;gap:4px!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .topbar .balancePills>span{background:#142724!important;color:#ddd3b9!important;border:1px solid #394f45!important;font-size:10px!important;padding:5px 6px!important;border-radius:7px!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .topbar .membershipBadge{display:none!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .topbar .speedScaleControl{position:static!important;inset:auto!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:2px!important;width:86px!important;min-width:86px!important;max-width:86px!important;height:34px!important;padding:0!important;margin:0!important;background:none!important;border:0!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .topbar .speedScaleControl>small{display:block!important;font-size:8px!important;line-height:9px!important;color:#bcae86!important;letter-spacing:1px!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .topbar .speedScaleDots{display:flex!important;gap:3px!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .topbar .speedScaleDots>button{position:static!important;width:14px!important;min-width:14px!important;max-width:14px!important;height:20px!important;min-height:20px!important;max-height:20px!important;font-size:9px!important;padding:0!important;border:1px solid #726441!important;border-radius:5px!important;color:#bfb392!important;background:#12231d!important;box-shadow:none!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .topbar .speedScaleDots>button.filled{background:#66542b!important;color:#f5e4b4!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .topbar .speedScaleDots>button.active{background:#bc9247!important;color:#15211b!important;border-color:#f1d590!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .topbar .tablePointsMenu>summary{height:34px!important;display:flex!important;align-items:center!important;padding:0 10px!important;font-size:11px!important;background:#14291f!important;color:#ecdca5!important;border:1px solid #9a8046!important;border-radius:9px!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .seat{display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-rows:24px 18px 22px!important;gap:2px 6px!important;align-items:center!important;align-content:center!important;padding:8px!important;width:136px!important;height:86px!important;min-height:0!important;max-height:86px!important;border:1px solid #668375!important;border-radius:12px!important;background:#092920f5!important;box-shadow:0 4px 12px #0004!important;writing-mode:horizontal-tb!important;overflow:hidden!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .seat>*{position:static!important;inset:auto!important;transform:none!important;writing-mode:horizontal-tb!important;text-orientation:mixed!important;margin:0!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .seat>.yuzbirSeatAvatar{grid-column:1!important;grid-row:1/3!important;display:flex!important;align-items:center!important;justify-content:center!important;width:28px!important;height:28px!important;border-radius:50%!important;background:#594087!important;color:#fff!important;font-size:10px!important;border:1px solid #b49be0!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .seat>b{grid-column:2!important;grid-row:1!important;font-size:12px!important;line-height:20px!important;text-align:left!important;white-space:nowrap!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#f3ead5!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .seat>b .styledName,html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .seat>b .styledName>b{position:static!important;display:inline!important;transform:none!important;writing-mode:horizontal-tb!important;font-size:12px!important;line-height:20px!important;color:inherit!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .seat>span:last-child{grid-column:1/3!important;grid-row:2!important;text-align:center!important;font-size:10px!important;line-height:16px!important;color:#b7c5bb!important;white-space:nowrap!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .seat>.botSeatRemove{grid-column:1/3!important;grid-row:3!important;width:auto!important;height:22px!important;min-height:22px!important;padding:0 7px!important;font-size:9px!important;color:#ead2bc!important;background:#3c2f25!important;border:1px solid #7d6247!important;border-radius:6px!important;line-height:1!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .seat.turn{border-color:#d8b86e!important;box-shadow:0 0 0 1px #d8b86e66,0 3px 12px #0004!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .seat-1{right:1.2%!important;left:auto!important;top:25%!important;bottom:auto!important;transform:none!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .seat-3{left:1.2%!important;right:auto!important;top:25%!important;bottom:auto!important;transform:none!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .seat-2{left:50%!important;right:auto!important;top:10px!important;bottom:auto!important;transform:translateX(-50%)!important;width:210px!important;height:72px!important;max-height:72px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-rows:20px 15px 20px!important;padding:6px 10px!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .seat-0{left:50%!important;right:auto!important;top:auto!important;bottom:8px!important;transform:translateX(-50%)!important;width:220px!important;height:58px!important;max-height:58px!important;grid-template-rows:22px 18px!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .yuzbirMeldBoard,html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .yuzbirMeldBoard.layoffReady{left:calc(1.2% + 150px)!important;right:calc(1.2% + 150px)!important;top:88px!important;bottom:80px!important;max-height:none!important;padding:28px 8px 6px!important;border:1px solid #c7a855!important;border-radius:16px!important;background:#07372be8!important;box-shadow:inset 0 1px 0 #e7d69422,0 5px 12px #0003!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .yuzbirMeldLane{min-height:50px!important;padding:3px 6px!important;margin:0!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .yuzbirMeldLaneHead{font-size:10px!important;margin-bottom:3px!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .discardSpot{width:48px!important;min-width:48px!important;height:68px!important;min-height:68px!important;transform:none!important;padding:2px!important;background:#0c3027!important;border:1px solid #a88b48!important;border-radius:10px!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .discardOwner{display:none!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .discardSpot.discard-1{right:4%!important;left:auto!important;top:calc(25% + 116px)!important;bottom:auto!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .discardSpot.discard-3{left:4%!important;right:auto!important;top:calc(25% + 116px)!important;bottom:auto!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .discardSpot.discard-2{left:auto!important;right:calc(50% - 170px)!important;top:12px!important;bottom:auto!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .discardSpot.discard-0{left:auto!important;right:23%!important;top:auto!important;bottom:8px!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .centerDeck{left:auto!important;right:12%!important;top:auto!important;bottom:8px!important;transform:none!important;width:58px!important;min-width:58px!important;height:68px!important;padding:4px!important;border-radius:10px!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .centerDeck .deckStack img{width:40px!important;height:55px!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .centerDeck .deckStack b{font-size:15px!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .tableTurnBadge{left:auto!important;right:10px!important;bottom:6px!important;font-size:11px!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .rackArea .tileRackGrid{column-gap:4px!important;row-gap:8px!important;padding:5px!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .rackArea .tileRackGrid .rackSlot.occupied>.imageTile.okeyTile{width:calc(100% - 2px)!important;max-width:calc(100% - 2px)!important;height:calc(100% - 4px)!important;max-height:calc(100% - 4px)!important;justify-self:center!important;align-self:center!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .rackArea>.rackHead>.rackTools>button{background:#142923!important;color:#e5dac4!important;border:1px solid #67715a!important;border-radius:8px!important;box-shadow:none!important;font-weight:700!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .rackArea>.rackHead>.rackTools>button.active{background:#4e3a6d!important;color:#f0e4ff!important;border-color:#a684cd!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .rackArea>.rack101ScoreBar>.rack101UnifiedActions>button{background:#695329!important;color:#f1dfb3!important;border:1px solid #ac9052!important;border-radius:8px!important;box-shadow:none!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .rackArea>.rack101ScoreBar>.rack101UnifiedActions>button:disabled{background:#28352b!important;color:#a79e82!important;border-color:#596044!important;opacity:1!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .gameChatDock.floatingSocial.desktopSocialRail{background:#0d201b!important;border:1px solid #917846!important;border-radius:16px!important;overflow:hidden!important;top:72px!important;bottom:8px!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .desktopSocialRail .tableChatDrawerContent,html body #root main.gameScreen.desktopGame.yuzbirGame .desktopSocialRail .chatPanel{height:100%!important;max-height:none!important;background:#10221d!important;color:#e8e4d4!important;border:0!important;box-shadow:none!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .desktopSocialRail .socialToolBar{background:#142d25!important;padding:10px!important;border-bottom:1px solid #3b5142!important;gap:5px!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .desktopSocialRail .socialToolBar>button,html body #root main.gameScreen.desktopGame.yuzbirGame .desktopSocialRail .chatTabs>button{background:#172d27!important;color:#d5d5c5!important;border:1px solid #496050!important;border-radius:9px!important;font-size:11px!important;min-width:0!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .desktopSocialRail .socialToolBar>button.active,html body #root main.gameScreen.desktopGame.yuzbirGame .desktopSocialRail .chatTabs>button.active{background:#463258!important;border-color:#8a68b3!important;color:#eee0ff!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .desktopSocialRail .chatHead{background:#10221d!important;padding:16px!important;border-bottom:1px solid #31493c!important;color:#e8e4d4!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .desktopSocialRail .chatHead h2{color:#f3ead6!important;font-size:22px!important;line-height:1.2!important;margin:4px 0 0!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .desktopSocialRail .chatHead .eyebrow{color:#ba9be0!important;font-size:10px!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .desktopSocialRail .chatHead>span,html body #root main.gameScreen.desktopGame.yuzbirGame .desktopSocialRail .chatEmpty{color:#a2b1a5!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .desktopSocialRail .chatMessages{background:#0d201b!important;color:#e8e4d4!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .desktopSocialRail .chatComposer{background:#122820!important;border-top:1px solid #41513c!important;padding:10px!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .desktopSocialRail .chatSend input{background:#0c1b18!important;color:#f4ecda!important;border:1px solid #506049!important;border-radius:9px!important;font-size:12px!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .desktopSocialRail .chatSend input::placeholder{color:#a9b2a3!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .desktopSocialRail .chatSend>button{background:#49365d!important;color:#ede0ff!important;border:1px solid #9270b5!important;border-radius:9px!important;font-size:11px!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .gameInfoBar .indicatorPanel{width:190px!important;min-width:190px!important;max-width:190px!important;height:64px!important;min-height:64px!important;max-height:64px!important;padding:5px 8px!important;top:72px!important;left:20px!important;border-radius:12px!important;background:#19231c!important;border:1px solid #9a8049!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .gameInfoBar .indicatorPanel .okeyTile{width:30px!important;min-width:30px!important;height:44px!important;min-height:44px!important;max-height:44px!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .gameInfoBar .indicatorPanel .okeyInfo{display:none!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .gameInfoBar .indicatorPanel .indicatorInfo{width:auto!important;min-width:0!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .gameInfoBar .indicatorPanel small{font-size:9px!important;color:#ccb985!important}
 html body #root main.gameScreen.desktopGame.yuzbirGame .gameNotice{left:50%!important;top:85px!important;width:auto!important;max-width:380px!important;padding:8px 18px!important;font-size:12px!important}
}
@media(min-width:901px) and (max-width:1200px){html body #root main.gameScreen.desktopGame.yuzbirGame .topbar .speedScaleControl{display:none!important} html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .seat{width:108px!important} html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .yuzbirMeldBoard,html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .yuzbirMeldBoard.layoffReady{left:130px!important;right:130px!important}}

@media(min-width:901px){html body #root main.gameScreen.desktopGame.yuzbirGame .meldGameNotice{position:absolute!important;top:8px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:max-content!important;max-width:calc(100% - 320px)!important;padding:8px 14px!important;border-radius:10px!important;border:1px solid #bb9753!important;background:#123a2f!important;color:#ffe9ad!important;font-size:12px!important;line-height:1.4!important;min-height:0!important;z-index:60!important;box-shadow:0 4px 16px #0005!important}}

@media(min-width:901px) and (max-height:740px){html body #root main.gameScreen.desktopGame.yuzbirGame{--pc-rack-height:calc(82px + var(--fit-tile)*2.75)!important}html body #root main.gameScreen.desktopGame.yuzbirGame .gameInfoBar .indicatorPanel{top:12px!important;width:170px!important;min-width:170px!important;max-width:170px!important;height:60px!important;min-height:60px!important;max-height:60px!important}html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .seat-1,html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .seat-3{top:90px!important;height:76px!important;min-height:76px!important}html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .discard-1,html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .discard-3{top:196px!important}html body #root main.gameScreen.desktopGame.yuzbirGame .rackGrid{row-gap:5px!important}}

/* Keep adjacent tiles close. Only an empty rack slot separates melds/pairs.
   Never stretch 18 rack columns across the table: wide screens add empty
   space after the rack contents rather than between every tile. */
@media(min-width:901px){html body #root main.gameScreen.desktopGame.yuzbirGame .rackArea .tileRackGrid{grid-template-columns:repeat(18,var(--fit-tile))!important;grid-template-rows:repeat(2,calc(var(--fit-tile)*1.4))!important;column-gap:2px!important;row-gap:6px!important;justify-content:start!important;align-content:center!important}html body #root main.gameScreen.desktopGame.yuzbirGame .rackArea .tileRackGrid .rackSlot.occupied>.imageTile.okeyTile{width:100%!important;max-width:100%!important;height:100%!important;max-height:100%!important}}

/* Labels must not overlap the discard, history, or player information.
   Rack columns and meld/pair separators remain unchanged. */
@media(min-width:901px){
html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .seat>.yuzbirSeatAvatar{grid-row:1!important;align-self:center!important}
html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .seat>span:last-child{grid-column:1/3!important;grid-row:2!important;padding-top:2px!important}
html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .discardSpot>.takeDiscardHint{position:absolute!important;top:-25px!important;bottom:auto!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:92px!important;min-width:92px!important;height:22px!important;min-height:22px!important;padding:2px 4px!important;font-size:9px!important;line-height:16px!important;border-radius:6px!important;white-space:nowrap!important;z-index:5!important}
html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .discardSpot>.discardHistoryCount{position:absolute!important;top:calc(100% + 5px)!important;bottom:auto!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;height:18px!important;min-height:18px!important;padding:1px 5px!important;font-size:8px!important;line-height:14px!important;white-space:nowrap!important;z-index:5!important}
html body #root main.gameScreen.desktopGame.yuzbirGame .rackArea>.rack101ScoreBar>.drawFirstPrompt{left:28px!important;transform:none!important;bottom:calc(var(--pc-rack-height) + 28px)!important}
html body #root main.gameScreen.desktopGame.yuzbirGame .rackArea>.rackHead>.rackTools>button:nth-child(3){font-size:12px!important}
html body #root main.gameScreen.desktopGame.yuzbirGame .rackArea>.rackHead>.rackTools>button:nth-child(3)::after{content:none!important;display:none!important}
}

@media(min-width:901px){html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .yuzbirMeldBoard,html body #root main.gameScreen.desktopGame.yuzbirGame .feltTable101 .yuzbirMeldBoard.layoffReady{bottom:60px!important}}

@media(min-width:901px){html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .yuzbirMeldBoard,html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .yuzbirMeldBoard.layoffReady{height:min(calc(58% + 24px),calc(100% - 168px))!important;bottom:auto!important;max-height:none!important}}

/* PC side names run from top to bottom; preserve rack tile geometry. */
@media(min-width:901px){
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .seat:is(.seat-1,.seat-3){top:108px!important;width:68px!important;min-width:68px!important;height:210px!important;max-height:210px!important;padding:6px!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:28px minmax(60px,1fr) 28px 22px!important;gap:4px!important;justify-items:center!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .seat:is(.seat-1,.seat-3)>.yuzbirSeatAvatar{grid-column:1!important;grid-row:1!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .seat:is(.seat-1,.seat-3)>b{grid-column:1!important;grid-row:2!important;writing-mode:vertical-rl!important;text-orientation:upright!important;text-align:center!important;line-height:16px!important;font-size:11px!important;max-height:100%!important;align-self:center!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .seat:is(.seat-1,.seat-3)>b .styledName,html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .seat:is(.seat-1,.seat-3)>b .styledName>b{writing-mode:inherit!important;text-orientation:inherit!important;line-height:16px!important;font-size:11px!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .seat:is(.seat-1,.seat-3)>span:last-child{grid-column:1!important;grid-row:3!important;white-space:normal!important;text-align:center!important;line-height:12px!important;font-size:9px!important;padding:0!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .seat:is(.seat-1,.seat-3)>.botSeatRemove{grid-column:1!important;grid-row:4!important;width:100%!important;padding:0 2px!important;font-size:8px!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .discardSpot:is(.discard-1,.discard-3){top:350px!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .yuzbirMeldBoard,html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .yuzbirMeldBoard.layoffReady{left:100px!important;right:100px!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .meldGameNotice{top:100px!important;left:50%!important;max-width:calc(100% - 220px)!important}
}
@media(min-width:901px) and (max-height:740px){
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .seat:is(.seat-1,.seat-3){top:12px!important;height:min(190px,calc(100% - 128px))!important;max-height:none!important;grid-template-rows:24px minmax(40px,1fr) 26px 20px!important;gap:2px!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .discardSpot:is(.discard-1,.discard-3){top:calc(min(190px,100% - 128px) + 44px)!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .gameInfoBar .indicatorPanel{left:100px!important}
}

@media(min-width:901px){html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .seat:is(.seat-1,.seat-3)>b{height:100%!important;min-height:0!important;max-height:100%!important;width:auto!important;max-width:none!important;display:block!important;justify-self:center!important;align-self:stretch!important}html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .gameInfoBar .indicatorPanel{top:12px!important}}

/* One control row. Gain vertical table space without changing tile geometry. */
@media(min-width:901px){
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame){--pc-rack-height:calc(65px + var(--fit-tile)*2.95)!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .rackArea>.rackHead{left:10px!important;right:auto!important;top:5px!important;width:calc(40% - 12px)!important;height:30px!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .rackArea>.rack101ScoreBar{left:40%!important;right:10px!important;top:5px!important;height:30px!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .rackArea>.rack101ScoreBar>.handPenaltyCount{width:116px!important;font-size:10px!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .rackArea>.rack101ScoreBar>.rack101UnifiedActions{margin-left:122px!important;width:calc(100% - 122px)!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .rackArea>.rackHead>.rackTools>button,html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .rackArea>.rack101ScoreBar>.rack101UnifiedActions>button{font-size:11px!important;white-space:nowrap!important;padding:0 4px!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .rackArea>.rackBoardShell,html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame).finishedHand .rackArea>.rackBoardShell{inset:41px 10px 6px!important;top:41px!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .yuzbirMeldBoard,html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .yuzbirMeldBoard.layoffReady{height:min(calc(58% + 38px),calc(100% - 168px))!important}
}
@media(min-width:901px) and (max-height:740px){html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame){--pc-rack-height:calc(47px + var(--fit-tile)*2.75)!important}}

/* Local player card is redundant for its owner; opponents and the separate
   spectator view retain it. Reclaim table space, not rack geometry. */
@media(min-width:901px){
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .seat-0{display:none!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .yuzbirMeldBoard,html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .yuzbirMeldBoard.layoffReady{left:88px!important;right:88px!important;width:auto!important;height:auto!important;bottom:24px!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .centerDeck{left:auto!important;right:1.2%!important;bottom:8px!important;top:auto!important;transform:none!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .discardSpot.discard-0{left:auto!important;right:1.2%!important;bottom:90px!important;top:auto!important}
}
@media(min-width:901px) and (max-height:740px){
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .yuzbirMeldBoard,html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .yuzbirMeldBoard.layoffReady{bottom:84px!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .discardSpot.discard-0{right:calc(1.2% + 68px)!important;bottom:8px!important}
}

/* Two full tile rows plus six-pixel separator and safe label/edge padding.
   Fixed row dimensions must never overflow a shorter rack container. */
@media(min-width:901px){html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame){--pc-rack-height:calc(85px + var(--fit-tile)*2.8)!important}html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .rackArea .tileRackGrid{padding:8px 5px!important;row-gap:6px!important;align-content:start!important;overflow:visible!important}}

@media(min-width:901px){html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .discardSpot.discard-0{left:1.2%!important;right:auto!important;bottom:32px!important}html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .discardSpot.discard-0>.discardOwner{display:block!important;position:absolute!important;top:-19px!important;left:50%!important;transform:translateX(-50%)!important;font-size:9px!important;font-weight:800!important;color:#f3dfaa!important;white-space:nowrap!important}}
@media(min-width:901px) and (max-height:740px){html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .discardSpot.discard-0{left:auto!important;right:calc(1.2% + 68px)!important;bottom:32px!important}}

/* Primary rack action centered; secondary controls at the edges. */
@media(min-width:901px){
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .rackArea>.rackHead,html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .rackArea>.rack101ScoreBar{left:10px!important;right:10px!important;width:auto!important;top:5px!important;pointer-events:none!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .rackArea>.rackHead>.rackTools>button{position:absolute!important;top:0!important;pointer-events:auto!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .rackArea>.rackHead>.rackTools>button:nth-child(1){left:40%!important;width:20%!important;font-size:12px!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .rackArea>.rackHead>.rackTools>button:nth-child(2){left:0!important;width:calc(14% - 5px)!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .rackArea>.rackHead>.rackTools>button:nth-child(3){left:14%!important;width:calc(14% - 5px)!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .rackArea>.rack101ScoreBar>.handPenaltyCount{left:28%!important;width:calc(12% - 5px)!important;font-size:9px!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .rackArea>.rack101ScoreBar>.rack101UnifiedActions{display:contents!important;margin:0!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .rackArea>.rack101ScoreBar>.rack101UnifiedActions>button{position:absolute!important;top:0!important;pointer-events:auto!important;font-size:10px!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .rackArea>.rack101ScoreBar>.rack101UnifiedActions>button:nth-child(1){left:calc(60% + 5px)!important;width:calc(14% - 5px)!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .rackArea>.rack101ScoreBar>.rack101UnifiedActions>button:nth-child(2){left:calc(74% + 5px)!important;width:calc(12% - 5px)!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .rackArea>.rack101ScoreBar>.rack101UnifiedActions>button:nth-child(3){left:calc(86% + 5px)!important;width:calc(14% - 5px)!important}
}

@media(min-width:901px){main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .discard-1{right:1.2%!important;bottom:118px!important;top:auto!important}main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .meldGameNotice{z-index:90!important;background:#4c2616!important;border:2px solid #ffc86a!important;color:#fff4d8!important;font-weight:700!important;box-shadow:0 4px 18px #0009!important}}

/* Every player discards to their own right; separate all four piles. */
@media(min-width:901px){
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .discardSpot.discard-0{left:auto!important;right:calc(1.2% + 84px)!important;top:auto!important;bottom:32px!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .discardSpot.discard-1{left:auto!important;right:1.2%!important;top:92px!important;bottom:auto!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .discardSpot.discard-2{left:calc(50% - 170px)!important;right:auto!important;top:12px!important;bottom:auto!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .discardSpot.discard-3{left:1.2%!important;right:auto!important;top:auto!important;bottom:120px!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .myDiscardDock{display:none!important}
}

/* Compact discard faces, clear of player cards and draw pile at every desktop height. */
@media(min-width:901px){
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .discardSpot{width:38px!important;height:54px!important;min-width:38px!important;min-height:54px!important;max-width:38px!important;max-height:54px!important;padding:2px!important;box-sizing:border-box!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .discardSpot .okeyTile{width:32px!important;height:45px!important;min-width:32px!important;min-height:45px!important;max-width:32px!important;max-height:45px!important;margin:0!important;padding:0!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .discardSpot .okeyTile img{width:100%!important;height:100%!important;object-fit:contain!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .discardSpot .discardHistoryButton{font-size:8px!important;padding:2px 4px!important;white-space:nowrap!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .discardSpot.discard-0{left:auto!important;right:calc(1.2% + 88px)!important;top:auto!important;bottom:26px!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .discardSpot.discard-1{left:auto!important;right:90px!important;top:14px!important;bottom:auto!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .discardSpot.discard-2{left:calc(50% - 190px)!important;right:auto!important;top:14px!important;bottom:auto!important}
html body #root main.gameScreen.desktopGame.yuzbirGame:not(.phoneGame) .feltTable101 .discardSpot.discard-3{left:20px!important;right:auto!important;top:auto!important;bottom:26px!important}
}
