div#wgclgame_ui_loadscreen {
    display: none;
    overflow: hidden;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000;

    z-index: 10003;
}

div#wgclgame_ui_loadscreen_img {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    aspect-ratio: 1;
    height: 100%;

    background-size: cover;
}

div#wgclgame_ui_loadscreen_img img {
    width: 100%;
    height: 100%;
}

div#wgclgame_ui_loadscreen_lvlnums {
    overflow: hidden;
    display: flex;
    position: fixed;

    flex-wrap: nowrap;

    left: 52%;
    top: 84%;
}

div#wgclgame_ui_loadscreen_lvlnums > div {
    width: 6vh;
    height: 6vh;
    background-color: #402;
    border: 0.5vh solid #f08;
    border-radius: 50%;

    font-family: 'DejaVu Sans', 'Segoe UI', Arial, sans-serif;
    font-size: 5vh;
    color: white;
    text-align: center;
}

div#wgclgame_ui_loadscreen_lvlnums > div.disabled {
    width: 6vh;
    height: 6vh;
    background-color: #00000000;
    border: 0.5vh solid #f08;
    border-radius: 50%;

    font-family: 'DejaVu Sans', 'Segoe UI', Arial, sans-serif;
    font-size: 5vh;
    color: none;
    text-align: center;
}

div#wgclgame_ui_loadscreen_ring {
    display: flex;
    position: fixed;
    left: calc(100% - 20vh);
    top: calc(100% - 20vh);

    padding: 1vh;
    width: 15vh;
    height: 15vh;
    border-radius: 50%;
    font-size: 2vh;
    justify-content: center;
    align-items: center;
}

div.wgclgame_ui_loadscreen_icon {
    border-radius: 50%;
    border-top: 5vh solid #f08;
    border-bottom: 5vh solid #f08;
    border-left: 5vh solid #402;
    border-right: 5vh solid #402;
    animation: 1.6s wgclgame_loadanim_roll linear infinite;
}

div.wgclgame_ui_loadscreen_pane {
    position: absolute;
    width: 10vh;
    height: 10vh;
    padding: 1vh;
    border-radius: 50%;
    box-shadow: -1.5vh 1vh 1vh #f08;
    animation: 1.4s wgclgame_loadanim_airline linear infinite;
}

div.wgclgame_ui_loadscreen_pane::before {
    position: absolute;
    content: '';
    width: 2.5vh;
    height: 2vh;
    top: -1vh;
    background: #f08;
    transform: rotateZ(-37deg);
    clip-path: polygon(0% 0%, 100% 45%, 0% 98%, 24% 49%);
}

@keyframes wgclgame_loadanim_airline {
    from {
        transform: rotateY(180deg) rotateZ(-180deg);
    }
    to {
        transform: rotateY(180deg) rotateZ(180deg);
    }
}

@keyframes wgclgame_loadanim_roll {
    0% {
        transform: rotateZ(-45deg);
    }
    50% {
        transform: rotateZ(-25deg);
    }
    100% {
        transform: rotateZ(-45deg);
    }
}

@media (max-aspect-ratio: 1.3333) {
    div#wgclgame_ui_loadscreen_img {
        display: none;
    }

    div#wgclgame_ui_loadscreen_lvlnums {
        left: calc(50% - 20vh);
        top: calc(50% - 5vh);
    }
}
