/* Shown until the app starts (and if it cannot). No inline styles: CSP. */
html.dark body { background: #07090f; color: #e6e8ee; }
html:not(.dark) body { background: #fafafa; color: #111; }
.boot { min-height: 100vh; display: flex; align-items: center; justify-content: center; font-family: system-ui, sans-serif; }
.boot-box { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 24px; }
.boot-spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid rgba(127,127,127,.25); border-top-color: #f97316; animation: boot-r .8s linear infinite; }
@keyframes boot-r { to { transform: rotate(360deg); } }
.boot-msg { font-size: 14px; opacity: .7; }
.boot-err { display: none; flex-direction: column; align-items: center; gap: 12px; max-width: 360px; }
.boot-err b { font-size: 16px; }
.boot-err span { font-size: 13px; opacity: .75; line-height: 1.5; }
.boot-err a { display: inline-block; padding: 9px 18px; border-radius: 8px; background: #f97316; color: #000; font-weight: 600; text-decoration: none; font-size: 14px; }
.boot.failed .boot-spin, .boot.failed .boot-msg { display: none; }
.boot.failed .boot-err { display: flex; }
