body { 
    padding: 0; 
    margin: 0; 
    overflow: hidden; 
}

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

#unity-canvas { 
    width: 100%; 
    height: 100%; 
    background: #231F20 
}

#unity-fullscreen-button { 
    position: absolute; 
    right: 20px; 
    bottom: 20px; 
    width: 48px; /* Slightly larger for better touch targets */
    height: 48px; 
    background-color: #5aaed1; /* Blue background */
    border: none;
    cursor: pointer;
    border-radius: 6px;
    z-index: 9999;
    display: block; /* Ensure it's always block */
    padding: 0;
    /* Center the SVG icon */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Target the SVG inside the button */
#unity-fullscreen-button svg {
    width: 24px;
    height: 24px;
    fill: white; /* Force icon color to white */
    display: block;
}

#unity-fullscreen-button:hover {
    background-color: #4a9dbf; /* Darker blue on hover */
    transform: scale(1.1);
}

#unity-fullscreen-button:active {
    transform: scale(0.95);
}

@media screen and (max-width: 768px) {
    #unity-fullscreen-button { 
        width: 56px; 
        height: 56px; 
        right: 10px; 
        bottom: 10px; 
    }
    #unity-fullscreen-button svg {
        width: 32px;
        height: 32px;
    }
}

/* Loading bar and warning styles */
#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 { 
    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 
}