/* Eldrius V234 — launcher usando a PRIMEIRA arte de referência, com controles reais. */
.scr[hidden], #welcome[hidden], #eldWelcomePanel[hidden]{display:none!important}
/* V234: o analógico e o botão de atacar são irmãos de #hud. Ocultar nos menus. */
html body:not(.eld-game-active) #joy,
html body:not(.eld-game-active) #knob,
html body:not(.eld-game-active) #atk,
html body:not(.eld-game-active) #collectMobile,
html body:not(.eld-game-active) #miningButton{
 display:none!important;visibility:hidden!important;pointer-events:none!important;
}
#welcome.eld-welcome{
 position:fixed;inset:0;z-index:30;display:flex;justify-content:center;align-items:center;
 padding:0;margin:0;overflow:hidden;background:#070b16;
}
#welcome.eld-welcome::before{
 content:"";position:absolute;inset:-30px;
 background:url('launcher_first_art.webp?v=234') center center/cover no-repeat;
 filter:blur(16px) brightness(.45);pointer-events:none;
}
#welcome .eld-launcher-stage{
 position:relative;flex:none;width:min(100vw,calc(100dvh * 1536 / 738));
 aspect-ratio:1536/738;
 max-height:100dvh;
 background:url('launcher_first_art.webp?v=234') center center/100% 100% no-repeat;
 box-shadow:0 0 50px #000d;
}
#welcome .eld-launch-link{position:absolute;margin:0;display:block;z-index:1;
 background:transparent;border:0;border-radius:15px;cursor:pointer;
 padding:0;touch-action:manipulation;-webkit-tap-highlight-color:transparent;
}
#welcome .eld-launch-link span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#welcome .eld-launch-link:hover{box-shadow:inset 0 0 18px #ffe19e60,0 0 15px #f5a14a50}
#welcome .eld-launch-link:focus-visible{outline:3px solid #f6d58e;outline-offset:3px;box-shadow:0 0 22px #feb968}
#welcome .eld-launch-play{left:33.5%;top:72%;width:33%;height:14.5%}
#welcome .eld-launch-account{left:24.4%;top:87.4%;width:16.3%;height:8%}
#welcome .eld-launch-settings{left:41%;top:87.4%;width:17.2%;height:8%}
#welcome .eld-launch-updates{left:59.2%;top:87.4%;width:16.8%;height:8%}
#welcome .eld-launcher-mobile-title{display:none}
#welcome .eld-welcome-modal{z-index:10;position:fixed;inset:0;display:flex;
 justify-content:center;align-items:center;padding:20px;background:#05070dc9}
#welcome .eld-welcome-modal-inner{
 width:min(430px,96vw);background:linear-gradient(148deg,#30232c,#090d19 75%);
 border:2px solid #cda05e;border-radius:15px;padding:24px;display:flex;flex-direction:column;
 align-items:stretch;gap:16px;color:#f6dc9f;box-shadow:0 12px 40px #000d,inset 0 0 30px #b85b2c23;
}
#welcome .eld-welcome-modal h2{font-size:clamp(22px,5vw,31px);margin:0;color:#ffdeaa;text-align:center}
#welcome .eld-welcome-modal p{font:14px/1.5 Georgia,serif;margin:7px 0}
#welcome .eld-welcome-choice, #welcome .eld-welcome-close{
 padding:12px 16px;background:linear-gradient(#452525,#17111a);color:#ffdb98;
 border:1px solid #c99553;border-radius:9px;font:bold 16px Georgia,serif;cursor:pointer;
}
#welcome .eld-welcome-close{background:linear-gradient(#90432a,#4c1f18)}
/* Em mobile, usar os mesmos personagens/cenário ao fundo, mas com navegação real e legível. */
@media(max-width:700px){
 #welcome .eld-launcher-stage{
  width:100vw;height:100dvh;aspect-ratio:auto;max-height:none;
  background-size:auto 100%;background-position:84% center;
 }
 #welcome .eld-launcher-stage::before{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,#05081629 0%,#05091822 32%,#080a16a8 56%,#070910da 100%)}
 #welcome .eld-launcher-mobile-title{display:block;position:absolute;top:clamp(40px,11dvh,98px);left:5%;width:90%;
  text-align:center;color:#ffdd8c;font:bold clamp(35px,10vw,60px)/.91 Georgia,serif;letter-spacing:1.5px;
  text-shadow:0 3px #3a160b,0 5px 6px #000,0 0 20px #fdba6d;z-index:2;pointer-events:none;
 }
 #welcome .eld-launcher-mobile-title span{display:block;font-size:.44em;letter-spacing:7px;margin-top:8px;
  color:#ffedc5;text-shadow:0 3px 8px #000;}
 #welcome .eld-launch-link{display:flex;justify-content:center;align-items:center;
  left:12%!important;right:12%!important;width:76%!important;height:clamp(46px,8.5dvh,67px)!important;
  border:2px solid #e7ad5c;box-shadow:0 3px 0 #522019,inset 0 0 0 2px #372014,0 7px 20px #0009;
  border-radius:12px;color:#ffe0a2;font:bold clamp(17px,4.6vw,24px) Georgia,serif;text-shadow:0 2px 3px #000;
 }
 #welcome .eld-launch-link span{position:static;width:auto;height:auto;overflow:visible;clip-path:none;white-space:normal}
 #welcome .eld-launch-play{top:53%!important;background:linear-gradient(#d64926,#9b140e 50%,#55090b)}
 #welcome .eld-launch-account{top:64%!important;background:linear-gradient(#293449,#111621 65%,#141015)}
 #welcome .eld-launch-settings{top:74.5%!important;background:linear-gradient(#293449,#111621 65%,#141015)}
 #welcome .eld-launch-updates{top:85%!important;background:linear-gradient(#293449,#111621 65%,#141015)}
}
@media(orientation:landscape) and (max-height:600px) and (pointer:coarse){
 #welcome .eld-launcher-stage{height:100dvh;width:min(100vw,calc(100dvh * 1536 / 738));aspect-ratio:1536/738;
  background-position:center;background-size:100% 100%}
 #welcome .eld-launcher-stage::before{display:none}
 #welcome .eld-launcher-mobile-title{display:none}
 #welcome .eld-launch-link{border:0;box-shadow:none;background:transparent;display:block;
   border-radius:12px;height:auto!important;right:auto!important;color:transparent}
 #welcome .eld-launch-link span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 #welcome .eld-launch-play{left:33.5%!important;top:72%!important;width:33%!important;height:14.5%!important}
 #welcome .eld-launch-account{left:24.4%!important;top:87.4%!important;width:16.3%!important;height:8%!important}
 #welcome .eld-launch-settings{left:41%!important;top:87.4%!important;width:17.2%!important;height:8%!important}
 #welcome .eld-launch-updates{left:59.2%!important;top:87.4%!important;width:16.8%!important;height:8%!important}
}
@media(prefers-reduced-motion:reduce){#welcome .eld-launch-link{transition:none}}
