body.app-booting{overflow:hidden}
.app-booting> :not(#appBoot):not(script):not(style){visibility:hidden!important}
#appBoot{position:fixed;inset:0;z-index:2147483647;display:grid;place-items:center;min-height:100dvh;padding:24px;background:#f5f6fc;color:#172851;text-align:center}
#appBoot[hidden]{display:none}
.app-boot-content{width:min(360px,100%);display:flex;align-items:center;flex-direction:column;gap:24px}
.app-boot-brand{display:block;width:min(260px,100%);height:auto;object-fit:contain}
.app-boot-spinner{width:38px;height:38px;border:3px solid #d9e1f4;border-top-color:#3464e0;border-radius:50%;animation:app-boot-spin .8s linear infinite}
#appBootText{margin:0;font:500 16px/1.6 system-ui,sans-serif;color:#64718f}
#appBootActions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
#appBootActions[hidden]{display:none}
#appBootActions button{padding:12px 18px;border:1px solid #315fe7;border-radius:12px;background:#315fe7;color:white;font:600 14px/1.4 system-ui;cursor:pointer}
#appBootActions button+button{background:transparent;color:#315fe7}
#appBootActions button:focus-visible{outline:3px solid #8eaeff;outline-offset:3px}
html[data-theme=dark] #appBoot{background:#080808;color:#f5f5f5}
html[data-theme=dark] #appBootText{color:#b6b6b6}
html[data-theme=dark] .app-boot-brand{filter:brightness(0) invert(1)}
html[data-theme=dark] .app-boot-spinner{border-color:#333;border-top-color:#a7c1ff}
html[data-theme=dark] #appBootActions button+button{color:#a7c1ff;border-color:#698ddd}
@keyframes app-boot-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.app-boot-spinner{animation:none}}
