/* V71: the lobby has ONE vertical scroller; all header actions remain reachable. */
@media (max-width:760px) {
  html.browser-shell #lobby.screen {
    display:flex; flex-direction:column; height:100%; min-height:0;
    overflow-y:auto !important; overflow-x:hidden !important;
    overscroll-behavior-y:contain; touch-action:pan-y;
    -webkit-overflow-scrolling:touch;
  }
  html.browser-shell #lobby > .topnav,
  html.browser-shell #lobby > .v32-home,
  html.browser-shell #lobby > .home68 {
    position:relative !important; top:auto !important; inset-block-start:auto !important;
    flex:0 0 auto !important; height:auto; min-height:0; max-height:none;
  }
  html.browser-shell #lobby .lobby-layout {
    display:flex; flex-direction:column; flex:0 0 auto !important;
    min-height:0 !important; height:auto !important; max-height:none !important;
    overflow:visible !important;
  }
  html.browser-shell #lobby .rooms-panel {
    flex:0 0 auto !important; min-height:0 !important; height:auto !important;
    max-height:none !important; overflow:visible !important;
  }
  html.browser-shell #lobby .rooms-scroll {
    flex:0 0 auto !important; height:auto !important; min-height:0 !important;
    max-height:none !important; overflow:visible !important;
    padding:7px; touch-action:pan-y;
  }
  html.browser-shell #lobby .rooms-scroll > .room-card {flex:0 0 auto;}
  html.browser-shell #lobby .countries-panel {max-height:none;}
  html.browser-shell #lobby .country-list {max-height:38vh; overflow-y:auto;}
  html.browser-shell #lobby .nav-icons68 {
    flex:1 1 100%; min-width:0; overflow-x:auto; overflow-y:hidden;
    touch-action:pan-x pan-y; flex-wrap:nowrap !important;
  }
  html.browser-shell #lobby .nav68 .nav-search {order:-1; flex:1 1 100%; min-width:0;}
  html.browser-shell #lobby .home68 .v32-home-main {min-width:0;}
  html.browser-shell #lobby .home68 .v32-home-copy {min-width:0; overflow-wrap:anywhere;}
}
