/* Eldrius V238 — Painel compacto HP/Mana/EXP, somente mobile.
   O painel preserva os IDs usados pelo jogo e pelo editor de HUD V235.
   No PC, a interface anterior permanece inalterada. */
@media (pointer:coarse) and (orientation:portrait) and (max-width:720px) {
 html.eld235-mobile body #hud>#pl {
   width:min(183px,calc(100vw - 113px))!important;
   max-width:min(183px,calc(100vw - 113px))!important;
   min-width:0!important;min-height:0!important;height:auto!important;
   padding:4px 6px 5px 41px!important;
   left:calc(7px + env(safe-area-inset-left,0px))!important;
   top:calc(7px + env(safe-area-inset-top,0px))!important;
   border-width:1px!important;border-radius:7px!important;
   transform:none!important;
   box-shadow:inset 0 0 0 1px #473314,0 2px 7px #0009!important;
 }
 html.eld235-mobile body #hud>#pl:before,html.eld235-mobile body #hud>#pl:after{display:none!important}
 html.eld235-mobile body #hud #pl #heroPortrait {
   left:5px!important;top:7px!important;
   width:28px!important;height:28px!important;
   border-width:2px!important;box-shadow:0 0 0 1px #322111!important;
 }
 html.eld235-mobile body #hud #pl #heroPortrait canvas{width:100%!important;height:100%!important}
 html.eld235-mobile body #hud #pl #heroRank{font-size:11px!important;line-height:12px!important;letter-spacing:0!important}
 html.eld235-mobile body #hud #pl #heroInfo{font-size:9px!important;line-height:10px!important;margin:0 0 1px!important}
 html.eld235-mobile body #hud #pl .bar{height:6px!important;margin:3px 0 0!important;border-width:1px!important;border-radius:3px!important;box-shadow:inset 0 1px 1px #000b!important}
 html.eld235-mobile body #hud #pl .bar:has(#bx){height:5px!important}
 html.eld235-mobile body #hud #pl .bar i{border-radius:2px!important}
 html.eld235-mobile body #hud #pl .bar em{font-size:7px!important;line-height:5px!important;letter-spacing:0!important}
 html.eld235-mobile body #hud #pl .bar:before{display:none!important}
}
@media (pointer:coarse) and (orientation:landscape) and (max-height:650px) {
 html.eld235-mobile body #hud>#pl {
   width:187px!important;max-width:187px!important;
   min-height:0!important;height:auto!important;
   padding:4px 6px 5px 41px!important;
   top:calc(5px + env(safe-area-inset-top,0px))!important;
   left:calc(6px + env(safe-area-inset-left,0px))!important;
   border-width:1px!important;border-radius:7px!important;
   transform:none!important;box-shadow:0 2px 7px #0009!important;
 }
 html.eld235-mobile body #hud>#pl:before,html.eld235-mobile body #hud>#pl:after{display:none!important}
 html.eld235-mobile body #hud #pl #heroPortrait{left:5px!important;top:7px!important;width:29px!important;height:29px!important;border-width:2px!important}
 html.eld235-mobile body #hud #pl #heroPortrait canvas{width:100%!important;height:100%!important}
 html.eld235-mobile body #hud #pl #heroRank{font-size:11px!important;line-height:12px!important;letter-spacing:0!important}
 html.eld235-mobile body #hud #pl #heroInfo{font-size:9px!important;line-height:10px!important;margin:0 0 1px!important}
 html.eld235-mobile body #hud #pl .bar{height:6px!important;margin:3px 0 0!important;border-width:1px!important;border-radius:3px!important}
 html.eld235-mobile body #hud #pl .bar:has(#bx){height:5px!important}
 html.eld235-mobile body #hud #pl .bar i{border-radius:2px!important}
 html.eld235-mobile body #hud #pl .bar em{font-size:7px!important;line-height:5px!important}
 html.eld235-mobile body #hud #pl .bar:before{display:none!important}
}
