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

#out {
    height: 100%;
}

/* Loading screen shown until the app has started */
.avalonia-splash {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 20%, #2a1f4d 0%, #0B0C14 60%);
    pointer-events: none;
}

.avalonia-splash .spinner {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.12);
    border-top-color: #A78BFA;
    animation: spin 0.9s linear infinite;
}

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

.avalonia-splash.splash-close {
    transition: opacity 200ms, display 200ms;
    display: none;
    opacity: 0;
}
