html.global-loading-active,
html.global-loading-active body {
    overflow: hidden;
}

#global-loading {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #111820;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.65s ease, visibility 0.65s ease;
}

#global-loading.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.global-loading-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 180px;
}

.global-loading-logo-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 190px;
    height: 82px;
}

.global-loading-logo-wrap::before,
.global-loading-logo-wrap::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    pointer-events: none;
}

.global-loading-logo-wrap::before {
    inset: -14px;
    border-color: #f36a16;
    will-change: transform;
    transform: rotate(var(--global-loading-angle, 0deg));
}

.global-loading-logo-wrap::after {
    inset: -6px;
    border-color: rgba(243, 106, 22, 0.22);
    will-change: opacity, transform;
    animation: global-loading-pulse 1.8s ease-in-out infinite;
}

.global-loading-logo {
    position: relative;
    z-index: 1;
    display: block;
    width: min(190px, 54vw);
    height: auto;
    filter: drop-shadow(0 0 18px rgba(243, 106, 22, 0.28));
}

.global-loading-label {
    margin-top: 42px;
    color: rgba(255, 255, 255, 0.58);
    font: 11px/1 Arial, sans-serif;
    letter-spacing: 0.28em;
    text-indent: 0.28em;
}

.global-loading-progress {
    position: relative;
    display: block;
    width: 128px;
    height: 1px;
    margin-top: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.16);
}

.global-loading-progress::after {
    position: absolute;
    top: 0;
    left: -45%;
    width: 45%;
    height: 100%;
    content: "";
    background: #f36a16;
    animation: global-loading-progress 1.35s ease-in-out infinite;
}

@keyframes global-loading-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes global-loading-pulse {
    0%,
    100% {
        opacity: 0.35;
        transform: scale(0.96);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.03);
    }
}

@keyframes global-loading-progress {
    0% {
        left: -45%;
    }
    100% {
        left: 100%;
    }
}
