/* The loading screen. A new file name on purpose (2026-11-03): /assets/* is cached for an hour under its own name,
   so a renamed class in the old file could meet a cached old copy and leave the screen up. */
body sv-splash-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #eeeeee;
    color: #F9FAFB;
    z-index: 999999;
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

body sv-splash-screen img {
    width: 120px;
    max-width: 120px;
}

body sv-splash-screen .spinner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
    width: 56px;
}

body sv-splash-screen .spinner > div {
    width: 12px;
    height: 12px;
    background-color: #eeb430;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sv-bouncedelay 1s infinite ease-in-out both;
    animation: sv-bouncedelay 1s infinite ease-in-out both;
}

body sv-splash-screen .spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

body sv-splash-screen .spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes sv-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0)
    }
    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sv-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}

body:not(.sv-splash-screen-hidden) {
    overflow: hidden;
}

body.sv-splash-screen-hidden sv-splash-screen {
    visibility: hidden;
    opacity: 0;
}

/* Once hidden, the dots stop too; otherwise they keep animating, unseen, on every page. */
body.sv-splash-screen-hidden sv-splash-screen .spinner > div {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
}
