/* V22 — interação sem seleção acidental e HUD mobile leve. */
#app,#game,#hud,#mobile,.toast,.combat-power,.world-chat-toggle{
  -webkit-user-select:none!important;
  user-select:none!important;
  -webkit-touch-callout:none!important;
}
input,textarea,select,[contenteditable="true"],#worldChatMessages{
  -webkit-user-select:text!important;
  user-select:text!important;
}
.toast{
  pointer-events:none!important;
  touch-action:none!important;
}

@media (max-width:950px),(hover:none) and (pointer:coarse){
  body.mobile-landscape-game:after{display:none!important}
  body.mobile-landscape-game #hud .mmo-frame,
  body.mobile-landscape-game #hud .quest,
  body.mobile-landscape-game #mobile button,
  body.mobile-landscape-game .gamer-menu button{
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
    box-shadow:0 3px 8px rgba(0,0,0,.48)!important;
    transition:none!important;
    animation:none!important;
  }
  body.mobile-landscape-game .hud-left-stack{width:184px!important}
  body.mobile-landscape-game .player-card{width:184px!important;min-height:56px!important;grid-template-columns:43px 1fr!important;padding:5px!important}
  body.mobile-landscape-game .player-card #portrait{width:43px!important;height:43px!important;min-width:43px!important}
  body.mobile-landscape-game .player-card .bar{height:8px!important}
  body.mobile-landscape-game .gamer-resources{top:calc(var(--m-safe-t) + 59px)!important;width:184px!important;height:23px!important}
  body.mobile-landscape-game .gamer-resources .resource-card{height:23px!important;min-width:68px!important;padding:2px 5px!important}
  body.mobile-landscape-game .quest{top:calc(var(--m-safe-t) + 86px)!important;width:184px!important;max-width:184px!important;min-height:31px!important;padding:4px 7px!important}
  body.mobile-landscape-game .target-card{width:184px!important;min-height:41px!important;grid-template-columns:32px 1fr!important;padding:4px 6px!important}
  body.mobile-landscape-game #targetPortrait{width:31px!important;height:31px!important}

  body.mobile-landscape-game .minimap-shell{width:108px!important;height:108px!important;padding:3px!important}
  body.mobile-landscape-game .minimap-circle{width:89px!important;height:89px!important;border-width:2px!important}
  body.mobile-landscape-game .minimap-header{left:14px!important;right:14px!important;top:5px!important}
  body.mobile-landscape-game .gamer-menu{top:calc(var(--m-safe-t) + 114px)!important;width:101px!important;height:65px!important;grid-template-columns:repeat(3,29px)!important;grid-template-rows:repeat(2,29px)!important;gap:4px!important}
  body.mobile-landscape-game .gamer-menu button{width:29px!important;min-width:29px!important;height:29px!important;min-height:29px!important}
  body.mobile-landscape-game .gamer-menu button i{font-size:12px!important}

  body.mobile-landscape-game .movement-joystick{width:110px!important;height:118px!important}
  body.mobile-landscape-game .joystick-rim{width:108px!important;height:108px!important;box-shadow:inset 0 0 10px #0009,0 3px 9px #0008!important}
  body.mobile-landscape-game .joystick-knob{width:46px!important;height:46px!important;margin:-23px 0 0 -23px!important}
  body.mobile-landscape-game .mobile-utility button{width:41px!important;height:41px!important;padding:4px!important;box-shadow:0 3px 8px #0009!important}
  body.mobile-landscape-game .mobile-utility [data-action="run"]{left:calc(var(--m-safe-l) + 113px)!important;bottom:calc(var(--m-safe-b) + 48px)!important}
  body.mobile-landscape-game .mobile-utility [data-action="dash"]{left:calc(var(--m-safe-l) + 113px)!important}
  body.mobile-landscape-game .mobile-utility [data-action="interact"]{width:72px!important;height:34px!important}

  body.mobile-landscape-game .actions{width:238px!important;height:162px!important}
  body.mobile-landscape-game .actions button{width:43px!important;height:43px!important;padding:4px!important;box-shadow:0 3px 8px #000a!important}
  body.mobile-landscape-game .actions .mobile-attack{width:61px!important;height:61px!important;right:0!important;bottom:30px!important}
  body.mobile-landscape-game .actions button[data-action="heavy"]{right:64px!important;bottom:0!important;width:50px!important;height:50px!important}
  body.mobile-landscape-game .actions button[data-action="defend"]{right:64px!important;bottom:96px!important}
  body.mobile-landscape-game .actions button[data-action="potion"]{right:116px!important;bottom:3px!important;width:38px!important;height:38px!important}
  body.mobile-landscape-game .actions button[data-action="mana"]{right:116px!important;bottom:46px!important;width:38px!important;height:38px!important}
  body.mobile-landscape-game .actions button[data-action="skill1"]{left:0!important;top:7px!important;width:48px!important;height:48px!important}
  body.mobile-landscape-game .actions button[data-action="skill2"]{left:50px!important;top:0!important;width:46px!important;height:46px!important}
  body.mobile-landscape-game .actions button[data-action="skill3"]{left:3px!important;top:59px!important;width:45px!important;height:45px!important}
  body.mobile-landscape-game .actions button[data-action="ultimate"]{left:52px!important;top:52px!important;width:50px!important;height:50px!important}

  body.mobile-landscape-game .xp-header{width:min(205px,27vw)!important;height:20px!important;padding:2px 5px!important}
  body.mobile-landscape-game #worldChatToggle{right:calc(var(--m-safe-r) + 110px)!important;top:calc(var(--m-safe-t) + 116px)!important;width:33px!important;height:33px!important}
  body.mobile-landscape-game #hud:not(.hidden)~.game-utility-bar{right:calc(var(--m-safe-r) + 147px)!important;top:calc(var(--m-safe-t) + 116px)!important}
  body.mobile-landscape-game .game-utility-bar button{width:29px!important;min-width:29px!important;height:29px!important}
  body.mobile-landscape-game .realm-connection{transition:opacity .25s ease!important}
  body.mobile-landscape-game .realm-connection.online{opacity:0!important}
  body.mobile-landscape-game .realm-connection.compatible{opacity:.46!important}
}

