/* Boot splash — painted by the browser before the app hydrates, which under
 * ssr=false is the whole session-restore window. Removed by the root layout
 * once translations are ready. Colours mirror --surface-app / --text-primary
 * in app.css. Kept as a static sheet (not an inline <style>) so Tauri's CSP
 * gains no style nonce; see app.html. */
#boot-splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0c10;
    color: #e6edf3;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
[data-theme="light"] #boot-splash {
    background: #eceff3;
    color: #1f2328;
}
#boot-splash .bs-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
#boot-splash .bs-flag {
    font-size: 4rem;
    line-height: 1;
    font-family: "Segoe UI Emoji", "Noto Color Emoji", "Apple Color Emoji", "EmojiOne Color", sans-serif;
    animation: bs-pulse 2s ease-in-out infinite;
}
#boot-splash .bs-wordmark {
    font-size: 1.75rem;
    letter-spacing: -0.02em;
    line-height: 1;
}
#boot-splash .bs-wordmark b {
    font-weight: 400;
    color: #d52b1e;
}
#boot-splash .bs-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    opacity: 0.7;
    animation: bs-spin 0.8s linear infinite;
}
@keyframes bs-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}
@keyframes bs-spin {
    to { transform: rotate(360deg); }
}
