/* Compact landscape match controls: keep saved HUD placements and desktop untouched. */
@media (pointer:coarse) and (orientation:landscape) and (max-width:760px){
 html.touch-mode.match-live .joy:not(.mgHudCustom){
  width:clamp(104px,29vh,120px)!important;height:clamp(104px,29vh,120px)!important;
  left:max(7px,env(safe-area-inset-left))!important;
  bottom:max(8px,env(safe-area-inset-bottom))!important;
 }
 html.touch-mode.match-live .joy:not(.mgHudCustom) .knob{width:48px!important;height:48px!important;margin:-24px!important}
 html.touch-mode.match-live .controls:not(.mgHudCustom){
  width:207px!important;height:156px!important;transform:none!important;
  right:max(7px,env(safe-area-inset-right))!important;
  bottom:max(8px,env(safe-area-inset-bottom))!important;
 }
 html.touch-mode.match-live .controls:not(.mgHudCustom) #shoot:not(.mgHudCustom){right:3px!important;top:4px!important;width:76px!important;height:76px!important}
 html.touch-mode.match-live .controls:not(.mgHudCustom) #pass:not(.mgHudCustom){right:87px!important;left:auto!important;top:41px!important;width:67px!important;height:67px!important}
 html.touch-mode.match-live .controls:not(.mgHudCustom) #sprint:not(.mgHudCustom){right:3px!important;bottom:0!important;width:66px!important;height:66px!important}
 html.touch-mode.match-live .controls:not(.mgHudCustom) #switch:not(.mgHudCustom){right:154px!important;left:auto!important;top:0!important;width:50px!important;height:50px!important}
 html.touch-mode.match-live .controls:not(.mgHudCustom) #skill:not(.mgHudCustom){right:78px!important;left:auto!important;bottom:0!important;width:50px!important;height:50px!important}
 html.touch-mode.match-live .controls .ctrl:not(.mgHudCustom) .ico{width:23px!important;height:23px!important}
 html.touch-mode.match-live .controls .ctrl:not(.mgHudCustom) .lab{font-size:7px!important;letter-spacing:0!important}
 html.touch-mode.match-live .shotPower{right:max(16px,env(safe-area-inset-right))!important;bottom:174px!important}
}
@media (pointer:coarse) and (orientation:landscape) and (max-width:590px){
 html.touch-mode.match-live .joy:not(.mgHudCustom){width:101px!important;height:101px!important}
 html.touch-mode.match-live .controls:not(.mgHudCustom){width:193px!important;height:146px!important}
 html.touch-mode.match-live .controls:not(.mgHudCustom) #shoot:not(.mgHudCustom){width:70px!important;height:70px!important}
 html.touch-mode.match-live .controls:not(.mgHudCustom) #pass:not(.mgHudCustom){right:79px!important;top:37px!important;width:62px!important;height:62px!important}
 html.touch-mode.match-live .controls:not(.mgHudCustom) #sprint:not(.mgHudCustom){width:62px!important;height:62px!important}
 html.touch-mode.match-live .controls:not(.mgHudCustom) #switch:not(.mgHudCustom){right:141px!important;width:48px!important;height:48px!important}
 html.touch-mode.match-live .controls:not(.mgHudCustom) #skill:not(.mgHudCustom){right:72px!important;width:48px!important;height:48px!important}
}
