html, body {
  height: 100%;
  overflow: hidden; /* 禁用滚动条 */
  margin: 0;
  padding: 0;
}
body { padding: 0; margin: 0;background-image:url('bg.jpg');background-size: cover;min-height: 100dvh; /* 视口高度 */overflow: hidden; /* 禁用滚动条 */}
#unity-container { position: absolute ;height:  100dvh;}
#unity-container.unity-desktop { left: 50%; top: 50%; transform: translate(-50%, -50%) }
#unity-container.unity-mobile { position: fixed; width: 100%; height:  100dvh; }
#unity-canvas { background: #231F20;}
.unity-mobile #unity-canvas { width: 100%;
    height: 100dvh;  }
#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none }
#unity-logo { width: 200px; height: 200px; background: url('loadingLogo.png') no-repeat center }
#unity-progress-bar-empty { width: 141px; height: 18px; margin-top: 10px; margin-left: 6.5px; 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-footer { position: relative }
.unity-mobile #unity-footer { display: none }
#unity-webgl-logo { float:left; width: 204px; height: 38px; background: url('webgl-logo.png') no-repeat center }
#unity-build-title { float: right; margin-right: 10px; line-height: 38px; font-family: arial; font-size: 18px }
#unity-fullscreen-button { cursor:pointer; float: right; width: 38px; height: 38px; background: url('fullscreen-button.png') no-repeat center }
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(0.5);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#loaderContainer {
    background-color: beige;
    background-image:url('logo.jpg'); background-size: 100% 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#loader {
    display: flex;
    width: 100px;
    height: 100px;
    justify-content: space-around;
    align-items: center;
    animation: spin 2s linear infinite;
}

.dot {
    width: 20px;
    height: 20px;
    background-color: #23a6d5;
    border-radius: 50%;
    animation: pulse 1s ease-in-out infinite;
}

.dot:nth-child(2) {
    animation-delay: 0.3s;
    background-color: #23d5ab;
}

.dot:nth-child(3) {
    animation-delay: 0.6s;
    background-color: #ee7752;
}

#loadingText {
    position: absolute;
    bottom: 60px;
    font-size: 16px;
    color: #fff;
}

/* 进度条 */
.progress-bar {
    width: 60%;
    height: 20px;
    background: url('loading02.png');
    background-size: 100% 100%;
    border-radius: 4px;
    overflow: hidden;
    /* margin: 0 auto 10px; */
	position: absolute;
    bottom: 60px;
}

.progress-fill {
    height: 100%;
    background: url('loading01.png');
    background-size: 100% 100%;
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
}
