/* Cross-game selection belongs to the main tier lobby. A selected category
   keeps its own heading and back path without exposing another game's tab. */
body[data-view=lobby][data-lobby-stage=rooms] #lobby-view>.game-tab{display:none}
body[data-view=lobby][data-lobby-stage=rooms] #lobby-view>.lobby-heading{display:flex;flex:none}
body[data-view=lobby][data-lobby-stage=rooms] #lobby-view #lobby-back{display:grid;place-items:center;flex:none;min-width:40px;height:40px;padding:8px;color:#e2e2e2}
body[data-view=lobby][data-lobby-stage=rooms] #lobby-view #lobby-back svg{width:24px;height:24px;stroke-width:2}
@media(min-width:900px){
 body[data-view=lobby][data-lobby-stage=rooms] #lobby-view>.lobby-heading{position:relative;height:64px;justify-content:flex-start;gap:8px;margin:0;padding:0 28px}
 body[data-view=lobby][data-lobby-stage=rooms] #lobby-view #lobby-back{position:static;margin:0}
 body[data-view=lobby][data-lobby-stage=rooms] #lobby-view .lobby-heading h1{margin:0;font-size:21px;font-weight:400;color:#e6e6e8}
}
/* Marble's joined waiting room already owns its room-list back button. */
body[data-view=lobby][data-game=marble][data-lobby-stage=rooms] #lobby-view:has(#marble-lobby[data-room-view=waiting])>.lobby-heading{display:none}
