#splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0953a0;
    transition: opacity 0.3s ease;
}
#splash.splash-hide {
    opacity: 0;
    pointer-events: none;
}
#splash img {
    width: 96px;
    height: 96px;
}
#splash-progress {
    position: absolute;
    left: 50%;
    bottom: 22%;
    transform: translateX(-50%);
    width: 200px;
    max-width: 60vw;
    text-align: center;
    font-family:
        -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
        sans-serif;
}
#splash-progress .bar-track {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.25);
    overflow: hidden;
}
#splash-progress .bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 3px;
    background: #ffffff;
    transition: width 0.15s linear;
}
#splash-progress .label {
    margin-top: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    min-height: 1.2em;
}
#splash-progress .hint {
    margin-top: 4px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    min-height: 1em;
}
#splash-progress .retry-btn {
    margin-top: 12px;
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    background: transparent;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}
#splash-progress .warn {
    margin-top: 6px;
    font-size: 11px;
    color: #ffd166;
    min-height: 1em;
}
@media (prefers-color-scheme: dark) {
    #splash {
        background: #002b71;
    }
}
