/* Eldrius V235 — HUD compacto e editor de layout real. Somente durante a partida. */
html.eld235-mobile.eld235-size-compact{--eld229-wheel:184px;--eld229-slot:40px;--eld229-attack:82px;--eld229-map:76px}
html.eld235-mobile.eld235-size-balanced{--eld229-wheel:202px;--eld229-slot:43px;--eld229-attack:92px;--eld229-map:84px}
html.eld235-mobile.eld235-size-large{--eld229-wheel:225px;--eld229-slot:46px;--eld229-attack:104px;--eld229-map:94px}
@media(orientation:landscape) and (max-height:650px){
 html.eld235-mobile.eld235-size-compact{--eld229-wheel:174px;--eld229-slot:36px;--eld229-attack:78px;--eld229-map:72px}
 html.eld235-mobile.eld235-size-balanced{--eld229-wheel:194px;--eld229-slot:39px;--eld229-attack:90px;--eld229-map:90px}
 html.eld235-mobile.eld235-size-large{--eld229-wheel:212px;--eld229-slot:44px;--eld229-attack:96px;--eld229-map:98px}
}
@media(max-width:600px) and (orientation:portrait){
 html.eld235-mobile #hud>#pl{width:min(224px,calc(100vw - 105px))!important;min-height:91px!important;padding:5px 7px 5px 48px!important;border-width:2px!important;border-radius:10px!important}
 html.eld235-mobile #pl #heroPortrait{left:5px!important;top:9px!important;width:37px!important;height:37px!important}
 html.eld235-mobile #pl #heroRank{font-size:12px!important;line-height:13px!important}
 html.eld235-mobile #pl #heroInfo{font-size:9px!important;line-height:11px!important;margin-bottom:3px!important}
 html.eld235-mobile #pl .bar{height:9px!important;margin:3px 0 0!important;border-width:1px!important}
 html.eld235-mobile #pl .bar em{font-size:7px!important;line-height:8px!important}
 html.eld235-mobile #hud>#questTracker628{width:min(168px,45vw)!important;max-width:45vw!important;top:calc(148px + env(safe-area-inset-top,0px))!important}
 html.eld235-mobile #hud #questToggle628{font-size:10px!important;min-height:24px!important;padding:3px 6px!important;border-width:1px!important}
 html.eld235-mobile #hud>#questTracker628>#qt:not([hidden]){font-size:10px!important;padding:5px!important}
 html.eld235-mobile #hud>#profileOpen{top:calc(113px + env(safe-area-inset-top,0px))!important;width:66px!important;height:25px!important;font-size:10px!important}
 html.eld235-mobile #hud>#tb{top:calc(113px + env(safe-area-inset-top,0px))!important}
 html.eld235-mobile #hud>#compassTravel{top:calc(113px + env(safe-area-inset-top,0px))!important}
 html.eld235-mobile #hud>#eld229Auto{font-size:9px!important}
 html.eld235-mobile #hud>#eld229Xp{height:22px!important}
 html.eld235-mobile #hud>#eld229Xp .eld229-xp-text{font-size:10px!important}
 html.eld235-mobile #hud>#eld229Location{font-size:8px!important}
 html.eld235-mobile #hud>#sb .sl{border-width:2px!important;padding:4px!important}
 html.eld235-mobile body #joy{width:92px!important;height:92px!important;left:8px!important}
 html.eld235-mobile body #knob{width:39px!important;height:39px!important;margin:-19.5px 0 0 -19.5px!important}
}
@media(orientation:landscape) and (max-height:650px){
 html.eld235-mobile #hud>#pl{min-height:76px!important;max-width:225px!important;padding-left:56px!important;border-width:2px!important}
 html.eld235-mobile #pl #heroPortrait{width:46px!important;height:46px!important}
 html.eld235-mobile #hud>#questTracker628{width:160px!important;max-width:25vw!important;top:calc(99px + env(safe-area-inset-top,0px))!important}
 html.eld235-mobile #hud #questToggle628{min-height:23px!important;font-size:10px!important;padding:3px 6px!important}
 html.eld235-mobile #hud>#eld229Xp{height:19px!important}
 html.eld235-mobile #hud>#eld229Xp .eld229-xp-text{font-size:10px!important}
 html.eld235-mobile body #joy{width:93px!important;height:93px!important}
 html.eld235-mobile body #knob{width:38px!important;height:38px!important;margin:-19px 0 0 -19px!important}
}
/* Editor: elementos do jogo são operáveis somente por suas alças no modo edição. */
#eld235Editor[hidden],#eld235Handles[hidden]{display:none!important}
#eld235Editor{position:fixed;z-index:10510;left:50%;top:clamp(190px,28dvh,260px);transform:translateX(-50%);width:min(510px,calc(100vw - 16px));padding:10px;box-sizing:border-box;border:2px solid #d5ac60;border-radius:12px;background:linear-gradient(145deg,#1e1b27fa,#0e1117f5);box-shadow:0 12px 40px #000d;color:#ffe6b2;font:12px/1.35 system-ui,Arial,sans-serif;pointer-events:auto;touch-action:manipulation}
#eld235Editor .eld235-top{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:5px}
#eld235Editor .eld235-top strong{font-size:15px;color:#fff0ca}
#eld235Editor .eld235-help{font-size:11px;color:#e6d2aa;margin:4px 0 8px}
#eld235Editor .eld235-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
#eld235Editor button,#eld235Editor select{border:1px solid #b28c53;border-radius:7px;min-height:34px;padding:5px 9px;background:#33281d;color:#fff0d1;font:600 12px Arial,sans-serif;cursor:pointer}
#eld235Editor select{max-width:135px;background:#101621}
#eld235Editor button.eld235-save{background:linear-gradient(#835821,#38220c);border-color:#f0be64}
#eld235Editor button.eld235-reset{color:#ffdbc9;border-color:#a66a5c}
#eld235Editor .eld235-status{font-size:10px;color:#e1c99d;padding-top:5px}
#eld235Handles{position:fixed;inset:0;z-index:10500;pointer-events:none;overflow:visible}
#eld235Handles .eld235-grab{position:fixed;box-sizing:border-box;z-index:1;pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab;background:rgba(65,136,241,.09);border:2px dashed #79c8fa;border-radius:9px;box-shadow:inset 0 0 0 1px #06111b90}
#eld235Handles .eld235-grab:active{cursor:grabbing;background:rgba(65,136,241,.20);border-color:#ffdc8b}
#eld235Handles .eld235-grab span{position:absolute;left:0;bottom:100%;white-space:nowrap;max-width:200px;padding:2px 5px;border-radius:5px 5px 0 0;background:#13222de8;color:#d6f2ff;font:700 10px Arial,sans-serif;border:1px solid #6caaca;pointer-events:none}
#eld235Handles .eld235-grab.eld235-selected{border-color:#ffe08d;background:rgba(255,186,80,.12)}
@media(max-width:620px){#eld235Editor{padding:7px}#eld235Editor .eld235-top strong{font-size:12px}#eld235Editor button,#eld235Editor select{min-height:31px;font-size:11px;padding:4px 7px}#eld235Editor .eld235-help{font-size:10px}}
/* Nunca mostrar os controles do editor em login, seleção ou quando o jogo sair. */
body:not(.eld-game-active) #eld235Editor,body:not(.eld-game-active) #eld235Handles{display:none!important}

#eld235Editor .eld235-top{cursor:move;touch-action:none;user-select:none;-webkit-user-select:none}
@media(orientation:landscape) and (max-height:500px){#eld235Editor{top:10px}}

body.eld235-editing #cv{pointer-events:none!important}

/* V244: manter o lugar do ícone na fileira enquanto ele é movido individualmente. */
#hud>#eld241Quickbar>.eld244-placeholder{display:block!important;align-self:center!important;pointer-events:none!important;visibility:hidden!important;margin:0!important;padding:0!important;border:0!important;box-sizing:border-box!important;}
