:root {
}

    :root.dev {
        --developer-body-border-color: #ff0000;
        --developer-border-color: #fff;
        --developer-display: block;
    }

    :root.publish {
        --developer-body-border-color: transparent;
        --developer-border-color: transparent;
        --developer-display: none;
    }

body {
    padding: 0;
    margin: 0;
    background: #000000;
    touch-action: pan-y;
    border: 2px solid var(--developer-body-border-color);
}

#unity-container {
    touch-action: pan-y;
}

    #unity-container.desktop {
        width: 100%;
        height: 100%;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    #unity-container.mobile {
        width: 90%;
        height: 100%;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    #unity-container.fullscreen {
        width: 100%;
        height: 100%;
        position: fixed;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 999;
        padding-bottom: 0;
        border: 2px solid var(--developer-border-color);
    }

#unity-canvas {
    background: #000000;
    width: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
}
    #unity-canvas.desktop {
        height: 94%;
        top: 47%;
        border: 2px solid var(--developer-border-color);
    }

    #unity-canvas.mobile {
        height: 94%;
        top: 47%;
    }

    #unity-canvas.fullscreen {
        height: 100%;
        top: 50%;
    }

#cocos-canvas {
    background: #000000;
    width: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
}
    #cocos-canvas.desktop {
        height: 94%;
        top: 47%;
        border: 2px solid var(--developer-border-color);
    }

    #cocos-canvas.mobile {
        height: 94%;
        top: 47%;
    }

    #cocos-canvas.fullscreen {
        height: 100%;
        top: 50%;
    }

#unity-footer {
    width: 100%;
    height: 6%;
    position: absolute;
    left: 50%;
    top: 97.5%;
    transform: translate(-50%, -50%);
    align-items: center;
    justify-content: flex-end;
}
    #unity-footer.normal {
        display: flex;
    }

    #unity-footer.fullscreen {
        display: none;
    }


#unity-footer-1 {
    width: 100%;
    height: 6%;
    position: absolute;
    left: 50%;
    top: 97.5%;
    transform: translate(-50%, -50%);
    align-items: center;
    justify-content: flex-end;
    z-index: 1000;
    display: flex;
}

#unity-version-title {
    float: right;
    line-height: 100%;
    font-family: arial;
    font-size: clamp(16px, 2vw, 20px);
    color: #FFFFFF;
    margin-right: 10px;
    display: block;
}

#unity-fullscreen {
    height: 100%;
    min-width: 150px;
    display: flex;
    align-items: center;
    margin-right: 15px;
    gap: 8px;
}

#unity-fullscreen-title {
    cursor: pointer;
    float: right;
    line-height: 100%;
    font-family: arial;
    font-size: clamp(16px, 2vw, 20px);
    color: #FFFFFF;
    min-width: 125px;
    margin-right: 10px;
    white-space: nowrap;
}

#unity-fullscreen-button {
    cursor: pointer;
    float: right;
    width: 16px;
    height: 80%;
    background: url('d4afcae40dc8330dfff3e6a579259174.png') no-repeat center;
    background-size: contain;
    margin-right: 5px;
    min-width: 16px;
}

#unity-loading {
    display: block;
    background: #000000;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: all;
    z-index: 999;
    width: 100%;
    height: 100%;
    border: 2px solid var(--developer-border-color);
}

#unity-background {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-color: black;
}

#unity-logo {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    background: no-repeat center;
    background-size: contain;
}
    #unity-logo.operator-portrait {
        top: 50%;
        width: 50%;
        aspect-ratio: 2 / 1;
    }

    #unity-logo.operator-landscape {
        top: 50%;
        width: 25%;
        aspect-ratio: 2 / 1;
    }

    #unity-logo.game-portrait {
        width: 80%;
        aspect-ratio: 80 / 35;
    }

    #unity-logo.game-landscape {
        height: 36.5%;
        aspect-ratio: 80 / 35;
    }

#unity-progress-bar-empty {
    background: url('8d2aa13692dbc9ca150901d9ff12ea94.png') no-repeat left center;
    background-size: 100% 100%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    aspect-ratio: 620 / 50;
}
    #unity-progress-bar-empty.portrait {
        width: 65%;
    }

    #unity-progress-bar-empty.landscape {
        width: 35%;
    }

#unity-progress-bar-full {
    background: url('aab66148ad006f8eed7a55ea706c7e66.png') no-repeat left center;
    background-size: cover;
    width: 0%;
    max-width: 99%;
    height: 100%;
    border-radius: 60px;
}

#unity-progress-gif {
    position: absolute;
    left: 0%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: 128%;
    visibility: hidden;
}

#unity-dynamic-text {
    position: absolute;
    width: 95vw;
    height: auto;
    left: 50%;
    top: 110%;
    transform: translate(-50%, -50%);
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    border-radius: 30px;
    padding: 4px 8px;
}

#unity-hand {
    display: none;
    position: absolute;
    left: 102.8%;
    top: 20%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: url('dc7db5aa5b8cb01e865ee96f8517db03.png') no-repeat center;
    background-size: contain;
    animation: slide-up-down 1.5s linear infinite;
    will-change: transform, opacity;
}

@keyframes slide-up-down {
    0% {
        top: 80%;
        opacity: 0;
    }

    5% {
        top: 80%;
        opacity: 1;
    }
    
    50% {
        top: 50%;
        opacity: 1;
    }

    95% {
        top: 20%;
        opacity: 0;
    }

    100% {
        top: 80%;
        opacity: 0;
    }
}

#unity-warning {
    position: absolute;
    left: 50%;
    top: 5%;
    transform: translate(-50%);
    background: white;
    padding: 10px;
    display: none
}

#unity-empty-content {
    padding-top: 100vh;
    width: 100%;
    height: 0px;
}
