html, body, #out {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: #f5f7fa;
}

.avalonia-splash {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    color: #23696b;
    font-family: Arial, sans-serif;
    background: radial-gradient(ellipse at center, #ffffff 0%, #edf4f3 100%);
}

.brand-logo {
    width: min(300px, 65vw);
    height: auto;
    object-fit: contain;
}

.brand-title {
    color: #173c38;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

.loader {
    width: 34px;
    height: 34px;
    border: 4px solid #cfe1dc;
    border-top-color: #23696b;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

.avalonia-splash.splash-close {
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .loader { animation: none; }
}
