body fuse-splash-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 38%),
        radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.12), transparent 42%),
        linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
    color: #0f172a;
    z-index: 999999;
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

body fuse-splash-screen .splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(100%, 640px);
    padding: 32px 28px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
}

body fuse-splash-screen .splash-logo-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

body fuse-splash-screen .splash-logo {
    display: block;
    width: min(100%, 460px);
    height: auto;
    max-width: 100%;
}

body fuse-splash-screen .splash-title {
    margin: 24px 0 6px;
    font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

body fuse-splash-screen .splash-subtitle {
    margin: 0;
    font-size: 0.95rem;
    color: #475569;
}

body fuse-splash-screen .spinner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    width: 56px;
}

body fuse-splash-screen .spinner > div {
    width: 12px;
    height: 12px;
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
    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;
}

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;
}

@media (max-width: 640px) {
    body fuse-splash-screen {
        padding: 16px;
    }

    body fuse-splash-screen .splash-content {
        padding: 24px 18px;
        border-radius: 22px;
    }

    body fuse-splash-screen .splash-logo {
        width: min(100%, 320px);
    }

    body fuse-splash-screen .splash-title {
        margin-top: 18px;
    }
}
