/* Loading screen shown until the pictures of the first screens and the shop are in memory (preload.js). */
#boot-loader{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 50% 30%,#3d303c,#1f1821 70%);color:#f7e5bd;transition:opacity .4s ease}
#boot-loader.is-done{opacity:0;pointer-events:none}
.boot-card{display:grid;justify-items:center;gap:14px;width:min(420px,100%);text-align:center}
.boot-moon{width:64px;height:64px;border-radius:50%;box-shadow:inset -14px 6px 0 0 #e8c796;transform:rotate(-20deg);animation:boot-moon 2.4s ease-in-out infinite}
#boot-title{margin:0;font:700 clamp(26px,5vw,36px)/1.15 Georgia,serif;letter-spacing:.01em}
#boot-text{margin:0;color:#d8c7ab;font:400 15px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif}
.boot-bar{width:100%;height:8px;border:1px solid #c7b18a70;border-radius:999px;background:#2a1f2b;overflow:hidden}
#boot-fill{display:block;width:0;height:100%;border-radius:999px;background:linear-gradient(90deg,#b98a4b,#f1d59a);transition:width .25s ease}
@keyframes boot-moon{50%{box-shadow:inset -14px 6px 0 0 #fff1cd;filter:drop-shadow(0 0 10px #f1d59a88)}}
/* The saved-journey dialog lives in the top layer and would cover the loading screen. */
body.booting dialog{visibility:hidden}
body.booting dialog::backdrop{background:transparent;backdrop-filter:none}
@media(prefers-reduced-motion:reduce){.boot-moon{animation:none}#boot-loader,#boot-fill{transition:none}}
