body {
    padding: 0;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: black;
    background-image: url('LoadingBG.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    -webkit-text-size-adjust: 100%;
}

html.zg-fullscreen,
body.zg-fullscreen {
    overflow: hidden;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    min-height: -webkit-fill-available;
    background-attachment: scroll;
}

.zg-fullscreen #unity-container {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    transform: none !important;
    width: 100% !important;
    height: 100% !important;
    height: 100dvh !important;
    min-height: -webkit-fill-available !important;
    max-width: none !important;
}

.zg-fullscreen #unity-canvas-wrap,
.zg-fullscreen #unity-canvas {
    width: 100% !important;
    height: 100% !important;
    height: 100dvh !important;
    min-height: -webkit-fill-available !important;
}

#unity-container {
    position: absolute
}

#unity-container.unity-desktop {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%)
}

#unity-container.unity-mobile {
    position: fixed;
    width: 100%;
    height: 100%
}

#unity-canvas-wrap {
    position: relative;
    display: inline-block;
    line-height: 0
}

#unity-canvas {
    display: block;
    background: #231F20
}

.unity-mobile #unity-canvas-wrap {
    width: 100%;
    height: 100%
}

.unity-mobile #unity-canvas {
    width: 100%;
    height: 100%
}

#unity-loading-bar {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none
}

#unity-logo {
    width: 154px;
    height: 130px;
    background: url('unity-logo-dark.png') no-repeat center
}

#unity-progress-bar-empty {
    width: 141px;
    height: 18px;
    margin-top: 10px;
    margin-left: 6.5px;
    background: url('progress-bar-empty-dark.png') no-repeat center
}

#unity-progress-bar-full {
    width: 0%;
    height: 18px;
    margin-top: 10px;
    background: url('progress-bar-full-dark.png') no-repeat center
}

#unity-fullscreen-button {
    cursor: pointer;
    position: absolute;
    right: max(10px, env(safe-area-inset-right, 0px));
    bottom: max(10px, env(safe-area-inset-bottom, 0px));
    width: 38px;
    height: 38px;
    z-index: 20;
    background: url('fullscreen-button.png') no-repeat center;
    background-size: contain;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.unity-mobile #unity-fullscreen-button {
    width: 44px;
    height: 44px;
    display: block;
}

#unity-fullscreen-button.zg-fullscreen-active {
    opacity: 0.85;
    filter: brightness(1.15);
}

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