.preloader {
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    background: radial-gradient(77% 122% at 50% -17%,#00473B 8%,#002922 32%,#001411 70%,#000A08 100%);
}

.preloader:before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(/preloader/pattern-velvet.webp), radial-gradient(77% 122% at 50% -17%,#00473B 8%,#002922 32%,#001411 70%,#000A08 100%);
    background-blend-mode: color-dodge, normal;
}

@supports (font: -apple-system-body) and (-webkit-appearance: none) and (-webkit-touch-callout: none) {
    .preloader:before {
        mix-blend-mode: color-dodge;
    }
}

@keyframes bkg {
    0% {background-position: 0 top;}
    100% {background-position: -10240px top;}
}

@media (max-width: 1024px) {
    @keyframes bkg {
        0% {background-position: 0 top;}
        100% {background-position: -7680px top;}
    }
}

.preloader__chip {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 256px;
    height: 256px;
    background: url(/preloader/chips.webp) left top;
    background-size: auto 256px;
    transition: background 2s steps(40, end);
    animation: bkg 2s steps(40) infinite;
}

@media (max-width: 1024px) {
    .preloader__chip {
        width: 192px;
        height: 192px;
        background-size: auto 192px;
    }
}


.preloader.is-hide {
    opacity: 0;
    visibility: hidden;
    transition: all .2s ease-in;
}

.preloader.is-none {
    display: none !important;
}