/* Splash outside #app: the ready menu renders behind the final fade. */
#loading.boot-screen{position:fixed;inset:0;width:100%;height:100dvh;overflow:hidden;z-index:1000;background:#030303;color:#fff;isolation:isolate}
.boot-stage{position:absolute;inset:0;display:grid;place-items:center;will-change:transform}
.boot-logo{position:relative;z-index:2;top:-8vh;width:min(42vw,38vh,300px);height:auto;opacity:0;filter:drop-shadow(0 12px 25px #000);will-change:transform,opacity}
.boot-credit{position:absolute;top:calc(42% + min(21vw,19vh,150px));left:0;right:0;text-align:center;font-family:PandaDisplay,sans-serif;font-size:clamp(16px,2.3vw,29px);letter-spacing:.1em;color:#f1e6cd;opacity:0}
#loading[data-phase=impact] .boot-credit,#loading[data-phase=army] .boot-credit,#loading[data-phase=ready] .boot-credit{opacity:1;transition:opacity .4s}
.boot-cracks{position:absolute;inset:0;width:100%;height:100%;opacity:0;z-index:1;pointer-events:none;transform-origin:center}
.boot-cracks path{fill:none;stroke:#b6d8d8;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.boot-cracks .fine{stroke-width:.55;opacity:.65}
.boot-flash{position:absolute;inset:0;background:#d4e8e5;opacity:0;z-index:4;pointer-events:none}
.boot-crowd{position:absolute;inset:0;z-index:5;pointer-events:none}
.boot-crowd canvas{display:block;width:100%;height:100%}
.boot-wait{position:absolute;bottom:max(5vh,14px);left:50%;transform:translateX(-50%);z-index:8;padding:10px 22px;background:#1d100de8;color:#fff4db;border-radius:5px;font-size:clamp(17px,2vw,25px);white-space:nowrap}
.boot-launch{position:absolute;top:calc(42% + min(21vw,19vh,150px) + clamp(16px,2.3vw,29px) + 16px);left:calc(50% - 115px);width:230px;height:58px;z-index:7;background:transparent url(./button-cream.webp) center/100% 100% no-repeat!important;border:0!important;box-shadow:none!important;color:#321a10!important;font-family:PandaDisplay,sans-serif;font-size:21px;padding:10px 20px;cursor:pointer}
@media(max-height:450px){.boot-launch{left:calc(50% - 95px);width:190px;height:45px;font-size:17px;top:calc(61% + clamp(16px,2.3vw,29px) + 12px)}}
.boot-error{position:absolute;inset:0;z-index:12;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;padding:24px;background:#080808f5;text-align:center}
.boot-error p{max-width:80vw;overflow-wrap:anywhere;color:#e4d3b5}.boot-error h1{font-size:clamp(24px,4vw,42px)}
#loading [hidden]{display:none!important}
