html {
  touch-action: pan-x pan-y;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (max-width: 760px) {
  #camp .camp-hud { margin-inline: 0; }
  #camp .camp-grid, #camp .camp-profile, #camp .camp-actions, #camp .lab-live { min-width: 0; }
  #teamNameInput, #match select, #setup select, #mid select { font-size: 16px; }
  dialog:not(#phaseSplash) { max-width: calc(100% - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; }
  body[data-page=match] .match-controls { flex-wrap: wrap; }
  body[data-page=match] .match-controls :is(button,select) { min-height: 40px; }
  #camp .lab-live { flex-basis: 100%; }
  body[data-page=match] #qbuttons button { min-height: 44px; }
}
@media (max-width: 480px) {
  #draft #pool { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #draft .card { min-width:0; overflow-wrap:anywhere; }
  body[data-page=match] #qbuttons { display:flex; flex-wrap:wrap; }
  body[data-page=match] #qbuttons button { flex:1 1 40%; }
}
