/* 6-12: the static boot splash and its failure message (audit HTML-16). Styled here, not by the bundle's
 * CSS: it must render when the bundle never arrives. The colours are legacy.css's tokens (dark :root,
 * html.light), scoped to the splash so they never override the app's. Rules match legacy.css #boot and
 * .spinner-lg; the failure card is charisma-panel.html:154-157's markup. */
#boot.boot-static{--b-bg:#0a1020;--b-dim:#93a3bf;--b-mute:#64748b;--b-accent:#22d3ee;--b-danger:#ef4444;--b-elev:#0f1729;--b-border:#1e2a48;--b-text:#e6edf7}
html.light #boot.boot-static{--b-bg:#f7f8fb;--b-dim:#475569;--b-mute:#94a3b8;--b-accent:#0891b2;--b-elev:#fff;--b-border:#e2e8f0;--b-text:#0f1729}
#boot.boot-static{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:var(--b-bg);z-index:1000;font-family:"Vazirmatn",system-ui,sans-serif;color:var(--b-text)}
#boot.boot-static .boot-inner{text-align:center}
#boot.boot-static .boot-logo{width:48px;height:48px;margin:0 auto 14px;opacity:.85;display:block}
#boot.boot-static .boot-spinner{width:28px;height:28px;border:3px solid color-mix(in srgb,var(--b-accent) 25%,transparent);border-top-color:var(--b-accent);border-radius:50%;margin:0 auto;animation:boot-spin .7s linear infinite}
@keyframes boot-spin{to{transform:rotate(360deg)}}
#boot.boot-static .boot-title{margin-top:14px;color:var(--b-dim);font-size:13px}
#boot.boot-static .boot-sub{margin-top:4px;color:var(--b-mute);font-size:11px}
#boot.boot-static .boot-fail{text-align:center;padding:40px;max-width:500px}
#boot.boot-static .boot-fail-icon{font-size:28px;margin-bottom:16px}
#boot.boot-static .boot-fail-title{font-weight:700;font-size:16px;margin-bottom:12px;color:var(--b-danger)}
#boot.boot-static .boot-fail-text{font-size:13px;color:var(--b-dim);line-height:1.9}
#boot.boot-static .boot-fail-btn{margin-top:18px;font:inherit;font-size:13px;font-weight:600;padding:8px 18px;border-radius:8px;border:1px solid var(--b-border);background:var(--b-elev);color:var(--b-text);cursor:pointer}
#boot.boot-static .boot-fail-btn:focus-visible{outline:2px solid var(--b-accent);outline-offset:2px}
@media (prefers-reduced-motion:reduce){#boot.boot-static .boot-spinner{animation:none}}
