/* Isolated from decorative text treatments elsewhere in the game. */
#startup-screen{background:radial-gradient(ellipse at 50% 36%,#205b72 0,#123e55 47%,#102c50 100%);padding:calc(24px + env(safe-area-inset-top)) 24px calc(24px + env(safe-area-inset-bottom));box-sizing:border-box;overflow:hidden;transition:opacity .3s ease}
#startup-screen,#startup-screen *{text-shadow:none!important;-webkit-text-stroke:0!important;-webkit-text-fill-color:currentColor!important;box-sizing:border-box}
#startup-screen .startup-content{width:min(100%,320px);text-align:center;position:relative}
#startup-screen .startup-logo{width:255px;max-width:100%;height:58px;margin:0 auto 24px;display:grid;place-items:center;color:#fff8e5;font-size:30px;font-weight:900;letter-spacing:-1px}
#startup-screen.has-logo .startup-logo{background:url('./art-atlas.png') no-repeat 0 0/352.5px 176.25px;color:transparent;font-size:0}
#startup-screen .startup-scene{height:210px;position:relative;perspective:750px;margin:10px auto 25px}
#startup-screen .startup-halo{position:absolute;inset:0 -25px;background:radial-gradient(ellipse,#74d6d332,transparent 65%);border-radius:50%}
#startup-screen .startup-shadow{position:absolute;top:175px;left:50%;width:140px;height:23px;transform:translateX(-50%);border-radius:50%;background:#061d38aa;filter:blur(10px)}
#startup-screen .startup-cube{position:absolute;left:50%;top:46%;width:94px;height:94px;transform-style:preserve-3d;transform:translate(-50%,-50%) rotateX(-19deg) rotateY(-30deg);animation:startup-float 3s ease-in-out infinite}
#startup-screen .startup-face{position:absolute;inset:0;border:2px solid #c9873d;border-radius:6px;background:linear-gradient(90deg,transparent 42%,#ffe7b0 42%,#ffe7b0 58%,transparent 58%),linear-gradient(#ffd989,#e8a346);backface-visibility:hidden;box-shadow:inset 0 2px #fff2c7;display:grid;place-items:center}
#startup-screen .startup-front{transform:translateZ(47px)}
#startup-screen .startup-back{transform:rotateY(180deg) translateZ(47px)}
#startup-screen .startup-left{transform:rotateY(-90deg) translateZ(47px);filter:brightness(.82)}
#startup-screen .startup-right{transform:rotateY(90deg) translateZ(47px);filter:brightness(.9)}
#startup-screen .startup-top{transform:rotateX(90deg) translateZ(47px);filter:brightness(1.12)}
#startup-screen .startup-bottom{transform:rotateX(-90deg) translateZ(47px)}
#startup-screen .startup-front b{display:grid;place-items:center;width:48px;height:46px;border-radius:12px;border:2px solid #fff7db;background:#fff1c7;color:#94601f;font-size:29px;font-style:normal;box-shadow:0 4px #bb873d}
#startup-screen .startup-caption{font-size:14px;line-height:1.5;color:#d0e6e9;margin:0 0 28px;font-weight:500}
#startup-screen .startup-track{height:8px;border:1px solid #5b8994;border-radius:20px;background:#082c43;overflow:hidden;width:200px;max-width:100%;margin:0 auto;box-shadow:inset 0 2px 3px #0003}
#startup-screen .startup-track span{display:block;width:42%;height:100%;border-radius:20px;background:linear-gradient(90deg,#f4b343,#ffe8a2);animation:startup-load 1.65s ease-in-out infinite}
#startup-screen [role=status]{font-size:14px;line-height:1.5;color:#fff6d8;min-height:42px;margin:15px 0 0;font-weight:650}
#startup-screen button{background:linear-gradient(#ffe4a3,#f3b84d);border:1px solid #ffe4ac;border-radius:16px;color:#263b49;font-size:16px;font-weight:800;padding:14px 28px;min-height:50px;box-shadow:0 4px #b77b29;cursor:pointer;margin-top:18px}
#startup-screen button:focus-visible{outline:3px solid #fff;outline-offset:5px}
#startup-screen button[hidden]{display:none}
#startup-screen.is-leaving{opacity:0;pointer-events:none}
#startup-screen[data-state=error] .startup-track{display:none}
#startup-screen[data-motion=false] *,#startup-screen[data-state=error] *{animation:none!important}
#startup-screen[data-motion=false] .startup-track span{width:100%;opacity:.8}
/* The approved live terrain replaces the old poster before its first frame. */
.hub-shell:has(.hub-route-scroll){background-image:none!important;background-color:#70cfdb!important}
.hub-shell:has(.hub-route-scroll)::before,.hub-shell:has(.hub-route-scroll)::after{display:none!important}
@keyframes startup-float{0%,100%{transform:translate(-50%,-50%) rotateX(-19deg) rotateY(-30deg)}50%{transform:translate(-50%,-62%) rotateX(-16deg) rotateY(-18deg)}}
@keyframes startup-load{0%{transform:translateX(-105%)}100%{transform:translateX(345%)}}
@media(prefers-reduced-motion:reduce){#startup-screen,#startup-screen *{animation:none!important;transition:none!important}}
@media(max-height:500px){#startup-screen .startup-scene{height:130px;margin:0 auto 12px;transform:scale(.7)}#startup-screen .startup-logo{margin-bottom:0}#startup-screen .startup-caption{margin-bottom:14px}}
