/* Eldrius V239 — o painel superior é o acesso único ao perfil.
   Mantém o HUD editável e não muda a aparência de jogadores que usam o PC. */
#hud>#profileOpen {
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
#hud>#pl {
  pointer-events:auto!important;
  cursor:pointer;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
#hud>#pl:focus-visible {
  outline:2px solid #f9d18a!important;
  outline-offset:2px;
}
/* No editor a movimentação é feita pelas alças, sem ativar o perfil. */
body.eld235-editing #hud>#pl {cursor:move}

/* Reduzir só a aba recolhida de missões do HUD mobile.
   Quando expandida, o jogador continua com espaço para ler objetivos. */
html.eld235-mobile body #hud>#questTracker628:not(.eld239-quest-expanded) {
  width:110px!important;
  max-width:110px!important;
  min-width:0!important;
}
html.eld235-mobile body #hud>#questTracker628 #questToggle628 {
  width:100%!important;
  min-height:22px!important;
  height:22px!important;
  padding:2px 6px!important;
  gap:3px!important;
  font-size:10px!important;
  line-height:16px!important;
  white-space:nowrap;
  border-radius:6px!important;
  box-sizing:border-box!important;
}
html.eld235-mobile body #hud>#questTracker628 #questArrow628 {
  font-size:11px!important;
  line-height:14px!important;
}
html.eld235-mobile body #hud>#questTracker628.eld239-quest-expanded {
  width:min(212px,calc(100vw - 22px))!important;
  max-width:calc(100vw - 22px)!important;
}
html.eld235-mobile body #hud>#questTracker628.eld239-quest-expanded>#qt {
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
