body {
    padding: 0;
    margin: 0;
    background-color: black;
}

#background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('等待界面_DeMain_0000.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

#video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; 
}

#unity-container {
    position: absolute
}

#unity-container.unity-desktop {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%)
}

#unity-container.unity-mobile {
    position: fixed;
    width: 100%;
    height: 100%
}

#unity-canvas {
    background: transparent;
}

.unity-mobile #unity-canvas {
    width: 100%;
    height: 100%
}

#unity-loading-bar {
    position: absolute;
    width: 300px;
    height: 12px;
    left: 50%;
    top: 90%;
    transform: translate(-50%, -50%);
    display: none;
    overflow: hidden; /* 添加此行以确保子元素重叠 */
}

#unity-progress-bar-empty {
    position: absolute; /* 修改为绝对定位 */
    top: 0; /* 确保在父元素的顶部 */
    left: 0; /* 确保在父元素的左侧 */
    width: 100%;
    height: 100%;
    background: url('progress-bar-empty-dark.png') no-repeat center;
    background-color: transparent; 
    background-size: 100% 100%;
}

#unity-progress-bar-full {
    position: absolute; /* 修改为绝对定位 */
    top: 1px; /* 确保在父元素的顶部 */
    left: 1px; /* 确保在父元素的左侧 */
    width: 99%; /* 设置为比空进度条小一点 */
    height: 80%; /* 设置为比空进度条小一点 */
    background: url('progress-bar-full-dark.png') no-repeat center; /* 假设有一个完整进度条的背景 */
    background-color: transparent;
    background-size: 100% 100%;
}

#unity-progress-bar-lighting {
    position: absolute;
    width: 19px;
    height: 41px;
    left: 50%;
    top: 90%;
    transform: translate(-50%, -50%);
    background: url('progress-bar-lighting-dark.png') no-repeat center; /* 假设有一个完整进度条的背景 */
    background-color: transparent; 
    background-size: 50% 50%;
}

#unity-footer {
    position: relative
}

.unity-mobile #unity-footer {
    display: none
}

#unity-build-title {
    float: right;
    margin-right: 10px;
    line-height: 38px;
    font-family: arial;
    font-size: 18px
}

#unity-warning {
    position: absolute;
    left: 50%;
    top: 5%;
    transform: translate(-50%);
    background: white;
    padding: 10px;
    display: none
}
