body {
    padding: 0;
    margin: 0;
    background-color: black;
    overflow: hidden;
}

#unity-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    overflow: hidden;
   /* padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);*/
}

#unity-canvas {
    position: absolute; 
    aspect-ratio: 16 / 9;
    background: #231F20;
    display: block;
    image-rendering: pixelated;
}

/* Loading elements remain the same */
#unity-loading-bar {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

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

#rotate-notice {
    position: fixed;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.75);
    color: white;
    font-size: 20px;
    padding: 10px 20px;
    border-radius: 12px;
    z-index: 9999;
    max-width: 90vw;
    text-align: center;
    font-family: sans-serif;
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

    #rotate-notice.hidden {
        opacity: 0;
        visibility: hidden;
    }


#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;
}
