/* The web loading page, matching the desktop start-up card (Prism/Views/SplashWindow.cs). It keeps the brand's dark navy in both themes. */
.avalonia-splash {
    position: absolute;
    inset: 0;
    background: #0f1b2d;
    font-family: 'Segoe UI', system-ui, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 14px;
    pointer-events: none;
}

.avalonia-splash .mark {
    width: 96px;
    height: auto;
}

.avalonia-splash h2 {
    margin: 0;
    font-weight: 500;
    font-size: 1.9rem;
    color: #eef4fb;
}

.avalonia-splash .bar {
    width: 280px;
    height: 3px;
    border-radius: 2px;
    background: #24344d;
    overflow: hidden;
}

.avalonia-splash .fill {
    height: 100%;
    width: 2%;
    border-radius: 2px;
    background: #39c8ed;
    transition: width 300ms ease;
}

.avalonia-splash .status {
    margin: 0;
    font-size: 0.85rem;
    color: #8fa3bf;
}

.avalonia-splash .note {
    position: absolute;
    bottom: 18px;
    margin: 0 16px;
    text-align: center;
    font-size: 0.75rem;
    color: #5d7393;
}

/* The notice for phones, low-memory devices and browsers without WebGL 2 (main.js decides). */
.avalonia-splash .notice {
    pointer-events: auto;
    max-width: 380px;
    margin: 6px 20px 0;
    padding: 16px 18px;
    border-radius: 12px;
    background: #142338;
    border: 1px solid #24344d;
    color: #c9d6e6;
    font-size: 0.9rem;
    line-height: 1.5;
}

.avalonia-splash .notice[hidden] {
    display: none;
}

.avalonia-splash .notice h3 {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 500;
    color: #eef4fb;
}

.avalonia-splash .notice p {
    margin: 0 0 14px;
}

.avalonia-splash .notice .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.avalonia-splash .notice .button {
    font: inherit;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid #3a4d6b;
    background: transparent;
    color: #eef4fb;
    text-decoration: none;
    cursor: pointer;
}

.avalonia-splash .notice .button.primary {
    background: #39c8ed;
    border-color: #39c8ed;
    color: #0f1b2d;
}

.avalonia-splash.splash-close {
    transition: opacity 200ms, display 200ms;
    display: none;
    opacity: 0;
}
