.app-splash {
    position: fixed;
    inset: 0;
    z-index: 2000;
    overflow: hidden;
    background: #291540;
    color: #fff;
    font: 500 14px/1.5 Inter, "Segoe UI", Arial, sans-serif;
    text-align: center;
}

.app-splash-swirl {
    position: absolute;
    left: 50%;
    top: 44%;
    width: 120vh;
    height: auto;
    max-width: none;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.app-splash-center {
    position: relative;
    box-sizing: border-box;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 24px;
}

.app-splash-logo {
    width: min(280px, calc(100vw - 48px));
    height: auto;
}

.app-splash-product {
    margin-top: -12px;
    font-size: 15px;
    color: rgba(255, 255, 255, .75);
}

.app-splash-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.app-splash-spinner {
    box-sizing: border-box;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border: 3px solid rgba(255, 255, 255, .15);
    border-top-color: #EC6607;
    border-radius: 50%;
    animation: app-splash-spin .9s linear infinite;
}

@keyframes app-splash-spin {
    to { transform: rotate(360deg); }
}

body:has(.app-splash) #blazor-error-ui {
    z-index: 2100;
}

@media (prefers-reduced-motion: reduce) {
    .app-splash-spinner {
        animation: none;
    }
}
