/* Independent first screen. Full UI is loaded separately, in its original cascade order. */
html.boot-screen-open,html.boot-screen-open body{margin:0;width:100%;max-width:100%;height:100%;overflow:hidden;overscroll-behavior:none}
html{--boot-accent:#ec6d9c;--boot-paper:#fffaf8;--boot-ink:#352b36;color-scheme:light}
html[data-theme=blue]{--boot-accent:#4294db;--boot-paper:#f5faff}
.boot{position:fixed;inset:0;z-index:1000;box-sizing:border-box;display:grid;place-items:center;overflow-x:hidden;overflow-y:auto;padding:calc(24px + env(safe-area-inset-top,0px) + var(--micin-safe-top,0px)) 20px calc(24px + env(safe-area-inset-bottom,0px));background:var(--boot-paper);color:var(--boot-ink);font-family:system-ui,sans-serif;touch-action:pan-y}
.boot-card{box-sizing:border-box;max-width:340px;width:100%;text-align:center}.boot-scene img{max-width:160px;height:auto}.boot h1{font-size:32px;margin:12px 0 0}.boot small{font-size:12px}.boot-tagline{font-size:14px}.boot-progress-head{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin-top:24px}.boot-track{margin:10px 0}.boot-track progress{width:100%;height:8px;accent-color:var(--boot-accent)}.boot-accessible{font-size:11px}.boot-spark,.boot-progress-heart{display:none}
.boot-access-recovery[hidden]{display:none!important}.boot-access-recovery{position:fixed;inset:0;z-index:2147483000;box-sizing:border-box;display:grid;place-items:center;padding:calc(20px + env(safe-area-inset-top,0px) + var(--micin-safe-top,0px)) 20px calc(20px + env(safe-area-inset-bottom,0px));background:rgba(30,25,35,.45);font:15px/1.5 system-ui,sans-serif;color:var(--boot-ink);overflow:auto;overscroll-behavior:contain}.boot-access-recovery>div{width:min(100%,340px);box-sizing:border-box;background:var(--boot-paper);padding:24px;border-radius:24px;box-shadow:0 12px 50px #0002;text-align:center}.boot-access-recovery h2{font-size:20px;line-height:1.3;margin:0 0 12px}.boot-access-recovery p{margin:0 0 10px}.boot-access-recovery small{display:block;opacity:.65;font-size:11px;margin-bottom:18px}.boot-access-recovery button{font:inherit;font-weight:700;background:var(--boot-accent);border:0;border-radius:14px;min-height:46px;padding:10px 24px;color:white;cursor:pointer}

/* Stable geometry and native font across late UI CSS and webfont arrival. */
#boot{height:100%;min-height:0;display:grid;place-content:normal;place-items:center;gap:0;padding:70px 24px 30px;background:var(--boot-paper);font:14px/1.5 system-ui,sans-serif;transform:none;transition:opacity .18s ease}
#boot .boot-card{width:100%;max-width:340px;margin:0;text-align:center}
#boot .boot-scene{position:relative;display:block;width:240px;height:240px;max-width:100%;aspect-ratio:1;margin:0 auto 16px}
#boot .boot-scene img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;animation:none;transform:none;filter:none}
#boot .boot-scene:before,#boot .boot-jewel-orbit,#boot .boot-spark,#boot .boot-progress-heart{display:none!important}
#boot h1{font:900 36px/1.2 system-ui,sans-serif;letter-spacing:.08em;margin:0 0 8px;color:var(--boot-ink);background:none;-webkit-text-fill-color:currentColor;text-shadow:none}
#boot small{font:700 12px/1.5 system-ui,sans-serif;letter-spacing:0;color:var(--boot-ink)}
#boot .boot-tagline{font:14px/1.5 system-ui,sans-serif;margin:8px 0 24px;letter-spacing:0;color:var(--boot-ink)}
#boot .boot-progress-head{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:12px;height:44px;min-height:44px;margin:0;font:12px/1.4 system-ui,sans-serif;color:var(--boot-ink)}
#boot #bootStatus{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip-path:none;white-space:normal;text-align:left}
#boot #bootPercent{font:800 16px/1.4 system-ui,sans-serif;letter-spacing:0;color:var(--boot-accent)}
#boot .boot-track{position:relative;margin:8px 0}
#boot progress{display:block;width:100%;height:7px;appearance:none;border:0;border-radius:8px;overflow:hidden;background:#e4e4ec;box-shadow:none}
#boot progress::-webkit-progress-bar{background:#e4e4ec}
#boot progress::-webkit-progress-value{background:var(--boot-accent);transition:width .15s ease}
#boot progress::-moz-progress-bar{background:var(--boot-accent)}
#boot .boot-accessible{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#boot.boot-ready{opacity:0;transform:none;pointer-events:none}
@media(max-height:650px){#boot .boot-scene{width:180px;height:180px}#boot .boot-tagline{margin-bottom:12px}}
