/* Browser host only: the first paint before the app starts, and the error bar Blazor shows on an unhandled exception. */

.boot {
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 14px;
    min-height: 100vh;
    background: var(--ft-apron, #0B1E36);
    color: #FFFFFF;
}

.boot__wordmark {
    font-family: "Bahnschrift", "DIN Alternate", "Arial Narrow", sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: 0.32em;
}

.boot__line {
    width: 160px;
    height: 2px;
    background: linear-gradient(90deg, rgba(227, 179, 65, 0) 0%, #E3B341 50%, rgba(227, 179, 65, 0) 100%);
    animation: boot-sweep 1.4s ease-in-out infinite;
}

.boot__text {
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

#blazor-error-ui {
    display: none;
    position: fixed;
    inset: auto 0 0 0;
    z-index: 2000;
    padding: 12px 20px;
    background: #C8102E;
    color: #FFFFFF;
    font-family: "Segoe UI", system-ui, sans-serif;
}

#blazor-error-ui .reload {
    color: #FFFFFF;
    font-weight: 600;
}

@keyframes boot-sweep {
    0%, 100% { opacity: 0.35; transform: scaleX(0.6); }
    50% { opacity: 1; transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
    .boot__line {
        animation: none;
    }
}
