.preloader.ready .counter {
    display: none !important;
}

.preloader.ready {
    width: min(78vw, 420px);
    height: auto;
    overflow: visible;
    gap: 20px;
}

.preloader.ready #start {
    position: relative !important;
    top: auto !important;
    flex-shrink: 0;
}

.preloader-splash {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
}

.preloader.ready.is-splash-active .preloader-splash {
    max-height: none;
    overflow: visible;
    opacity: 1;
    visibility: visible;
}

.preloader-splash-logo {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.preloader-splash-logo__main {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0;
}

.preloader.ready.is-splash-active .preloader-splash-logo__main {
    animation: splashMainFade 1.1s ease-out forwards;
}

.preloader-splash-logo__child {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transform: translateX(100px);
}

.preloader-splash-logo__child img {
    display: block;
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.preloader.ready.is-splash-active .preloader-splash-logo__child {
    animation: splashChildSlideIn 1s ease-out 0.5s forwards;
}

@keyframes splashMainFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes splashChildSlideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 767px) {
    .preloader.ready {
        width: min(86vw, 320px);
    }

    .preloader-splash-logo {
        gap: 14px;
    }

    .preloader.ready.is-splash-active .preloader-splash-logo__child {
        transform: translateX(64px);
        animation: splashChildSlideInMobile 1s ease-out 0.5s forwards;
    }

    @keyframes splashChildSlideInMobile {
        from {
            opacity: 0;
            transform: translateX(64px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    .preloader-splash-logo__main,
    .preloader-splash-logo__child {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
