﻿#unity-container {
    position: absolute
}

#unity-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

#unity-loading-bar {
    position: absolute;
    width: 50%;
    height: 20px;
    background: linear-gradient(to right, #f0f0f0, #e0e0e0);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

#unity-progress-bar {
    height: 100%;
    background: linear-gradient(to right, #4ba3ff, #82caff);
    transition: width 0.2s ease-in-out;
    border-radius: 10px;
}

html.unity-desktop, body.unity-desktop {
    height: 100%;
    margin: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

html.unity-mobile, body.unity-mobile {
    padding: 0;
    margin: 0
}

#unity-container.unity-desktop {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#unity-container.unity-mobile {
    position: fixed;
    width: 100%;
    height: 100%
}

.unity-mobile #unity-canvas {
    width: 100%;
    height: 100%
}
