body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: black;
}

#unity-container {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background: black;
}

#unity-canvas {
    width: 100%;
    height: 100%;
	background: url('LoadingScreen.png') no-repeat center center;
    background-size: cover;
}
/* ПК режим — симуляція телефону */
.desktop #unity-canvas {
    height: 80vh;
    aspect-ratio: 9 / 16;
    width: auto;
    max-height: 80vh;
    max-width: 45vw;
}

#unity-loading-bar {
    position: absolute;
    left: 50%;
    top: 80%;
    transform: translate(-50%, -50%);
    display: none;
}

#custom-logo {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    margin-left: auto;
    margin-right: auto;
    max-width: 300px;
    z-index: 10000;
}

#unity-logo {
    width: 0px;
    height: 0px;
    background: url('unity-logo-dark.png') no-repeat center;
}

#unity-progress-bar-empty {
    margin-left: auto;
    margin-right: auto;
    width: 141px;
    height: 18px;
    margin-top: 10px;
    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-warning {
    position: absolute;
    left: 50%;
    top: 5%;
    transform: translate(-50%);
    background: white;
    padding: 10px;
    display: none;
}

/* Оверлей при неправильній орієнтації */
#rotate-warning {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    background: black;
    height: 100vh;
    color: white;
    font-size: 24px;
    text-align: center;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}