#jadeStage:is(:has(#classicGamePanel:not([hidden]) #classicLobby:not([hidden])),:has(#baiCaoPanel:not([hidden]) #baiCaoLobby:not([hidden]))){
 background:#07382e url('/assets/common/room-selection-background-20261019.png') center/cover no-repeat!important;
}
#jadeStage:is(:has(#classicGamePanel:not([hidden]) #classicLobby:not([hidden])),:has(#baiCaoPanel:not([hidden]) #baiCaoLobby:not([hidden])))::before{
 background:#07382e url('/assets/common/room-selection-background-20261019.png') center/cover no-repeat!important;opacity:1!important;
}
#classicGamePanel:has(#classicLobby:not([hidden])){
 background:transparent!important;box-shadow:none!important;
}
#classicLobby:not([hidden]){
 min-height:calc(100svh - 110px);padding:clamp(12px,2vw,28px);box-sizing:border-box;background:transparent!important;
}
#classicLobby:not([hidden]) .compact-game-title,#classicLobby:not([hidden]) .card-lobby-title{
 color:#ffedb6;text-shadow:0 2px 4px #001810;
}
#classicLobby:not([hidden]) .classic-lobby-create{
 padding:12px;border-radius:14px;background:#072a20c9;max-width:820px;
}
@media(orientation:landscape) and (max-height:600px){#classicLobby:not([hidden]){min-height:calc(100svh - 48px);padding:8px 12px;}}

#baiCaoPanel:has(#baiCaoLobby:not([hidden])){background:transparent!important;box-shadow:none!important;}
#baiCaoLobby:not([hidden]){min-height:calc(100svh - 90px);background:transparent!important;}

body.game-mode #baiCaoPanel:not([hidden]):has(#baiCaoLobby:not([hidden])){background:#07382e url('/assets/common/room-selection-background-20261019.png') center/cover no-repeat!important;}
