html:has(body.splash-active),
body.splash-active {
    overflow: hidden;
    margin: 0;
    padding: 0;
}

#page-splash {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    width: 100dvw;
    height: 100dvh;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background: #fff;
    transition: opacity 0.35s ease;
    transform: translateZ(0);
}

    #page-splash.splash-hidden {
        opacity: 0;
        pointer-events: none;
    }

    #page-splash .splash-logo {
        max-width: 180px;
        max-height: 80px;
        object-fit: contain;
    }

    #page-splash .spinner-border {
        width: 2.5rem;
        height: 2.5rem;
        color: var(--primary-color, #0d6efd);
    }
