body { padding: 0; margin: 0 }
#unity-container.unity-desktop {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}
#unity-canvas {
    width: 100%;
    height: 100%;
    display: block;
    position: relative !important;
	border-radius: 12px;
}
#unity-canvas:focus {
    outline: none;
}
#unity-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background: transparent;
    position: relative;
}
#vagonFrame {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 12px;
}
#unity-content {
    width: min(90vw, 90vh * (16 / 9));
    height: min(90vh, 90vw / (16 / 9));
}

#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }
#unity-container {
    position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        width: 100vw;
        overflow: hidden;
}

#unity-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(10px); 
    box-shadow: 0px 0px 0px 20px black;
}

#cover {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
}
