body fuse-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: #f8fafc;
    background-image:
        radial-gradient(ellipse 100% 70% at 50% -25%, rgba(61, 195, 251, 0.09), transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: #F9FAFB;
    z-index: 999999;
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Matches saved dark theme before Angular boot (see index.html inline script) */
html.splash-theme-dark body fuse-splash-screen {
    background-color: #0d1520;
    background-image:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(61, 195, 251, 0.12), transparent 55%),
        radial-gradient(ellipse 80% 50% at 100% 100%, rgba(30, 41, 59, 0.5), transparent 50%);
    color: #f1f5f9;
}

body fuse-splash-screen img {
    width: 160px;
max-width: 160px;
}

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

body fuse-splash-screen .spinner > div {
    width: 12px;
    height: 12px;
    background: linear-gradient(to right, #3dc3fb, #3ec8fc) !important;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: fuse-bouncedelay 1s infinite ease-in-out both;
    animation: fuse-bouncedelay 1s infinite ease-in-out both;
}

html.splash-theme-dark body fuse-splash-screen .spinner > div {
    box-shadow: 0 0 12px rgba(61, 195, 251, 0.35);
}

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

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

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

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

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

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