/* All menu routes share the established lobby width. Keep the game size container. */
#game{--game-panel-width:520px;max-width:var(--game-panel-width);min-width:0}
#game[data-route]{width:min(100vw,var(--game-panel-width));max-width:var(--game-panel-width);min-width:0}
#game #screen,#game #topbar,#game #navigation{min-width:0;max-width:100%}
#game #screen>*{min-width:0}
#game[data-route=recruit] .summon-title-copy,#game[data-route=expedition] .expedition-title-copy{min-width:0}
#game[data-route=recruit] .recruit-pool-tabs>button,#game[data-route=expedition] .jungle-slots>div{min-width:0}
#game .modal-backdrop{max-width:100%}
#game .modal{min-width:0;max-width:100%;overflow-x:hidden;overflow-y:auto}
@container game (max-width:360px){
 #game[data-route=expedition] .expedition-title-copy h1{font-size:21px}
 #game[data-route=expedition] .jungle-slot strong{font-size:15px}
 #game[data-route=expedition] .jungle-slot button{width:25px;min-width:0}
 #game[data-route=expedition] .slot-order-label{font-size:7px}
 #game[data-route=recruit] .recruit-pool-tabs button b{font-size:17px}
 #game[data-route=recruit] .summon-odds-band b{font-size:11px}
 #game[data-route=recruit] .recruit-quick-row .secondary{font-size:11px}
}
