html.splash-lock-root,
body.splash-lock {
    background: #000000 !important;
}

.site-splash {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000 !important;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.site-splash-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.site-splash img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(72vw, 280px);
    max-height: min(72vw, 280px);
    object-fit: contain;
    image-rendering: auto;
    -webkit-font-smoothing: antialiased;
    backface-visibility: hidden;
    transform: translateZ(0);
    border: 2px solid rgba(146, 0, 0, 0.55);
    box-shadow: 0 0 0 1px rgba(146, 0, 0, 0.28);
    border-radius: 22px;
    padding: 0;
    box-sizing: border-box;
    background: transparent;
}

.site-splash-loading {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-splash-dots {
    display: inline-block;
    min-width: 1.2em;
    text-align: left;
    animation: splash-dots 1.2s steps(4, end) infinite;
}

@keyframes splash-dots {
    0% { clip-path: inset(0 100% 0 0); }
    25% { clip-path: inset(0 66% 0 0); }
    50% { clip-path: inset(0 33% 0 0); }
    75%, 100% { clip-path: inset(0 0 0 0); }
}

.site-splash.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

body.splash-lock {
    overflow: hidden;
}
