io-boot-loading {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(circle at 30% 26%, rgba(221, 226, 232, 0.18), transparent 38%),
        radial-gradient(circle at 72% 70%, rgba(238, 240, 243, 0.3), transparent 42%), rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(14px) saturate(105%);
    backdrop-filter: blur(14px) saturate(105%);
    opacity: 1;
    transition: opacity 240ms cubic-bezier(0.4, 0, 0.2, 1);
}

html.io-boot-loading-enabled .io-boot-loading,
.io-boot-loading-react {
    display: flex;
}

html.io-boot-loading-enabled #esm-root {
    opacity: 0;
    transition: opacity 240ms cubic-bezier(0.4, 0, 0.2, 1);
}

html.io-boot-loading-enabled.io-boot-loading-exiting #esm-root {
    opacity: 1;
}

.io-boot-loading.io-boot-loading-hidden {
    opacity: 0;
    pointer-events: none;
}

.io-boot-loading .io-boot-glass {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transform: translate(-50%, -50%) translateZ(0);
    transition: opacity 180ms ease, transform 240ms cubic-bezier(0.4, 0, 0.2, 1);
}

.io-boot-loading .io-boot-title {
    position: relative;
    display: inline-block;
    color: rgba(28, 32, 37, 0.16);
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    font-size: 24px;
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transform: scale(1);
    transition: opacity 180ms ease, transform 240ms cubic-bezier(0.4, 0, 0.2, 1);
}

.io-boot-loading .io-boot-title::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    color: transparent;
    background: linear-gradient(
        105deg,
        transparent 0%,
        transparent 34%,
        #69717a 43%,
        #aeb5bd 48%,
        #f8f9fa 52%,
        #8a929b 57%,
        transparent 66%,
        transparent 100%
    );
    background-size: 240% 100%;
    background-position: 95% 0;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    animation: ioTitleShimmer 1.8s ease-in-out infinite;
}

.io-boot-loading.io-boot-loading-hidden .io-boot-glass {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(4px) scale(0.94);
}

@keyframes ioTitleShimmer {
    0% {
        background-position: 105% 0;
    }

    100% {
        background-position: -10% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .io-boot-loading .io-boot-title::after {
        animation: none;
    }
}
