body { padding: 0; margin: 0; background: #231F20;}
/*#container { position: absolute;overflow: hidden; }*/
#container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
#container.desktop {  width: 100vw; height: 100vh}
#container.mobile { width: 100vw; height: 100vh}
#canvas { background: #231F20;background: url('bg.jpg');background-size: cover;background-repeat: no-repeat;background-position: center center }
.mobile #canvas { width: 100%; height: 100% }
/*
#loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none }
#logo { width: 128px; height: 128px; background: url('logo-dark.png') no-repeat center }
#progress-bar-empty { width: 141px; height: 18px; margin-top: 10px; margin-left: 6.5px; background: url('progress-bar-empty-dark.png') no-repeat center }
#progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('progress-bar-full-dark.png') no-repeat center }
*/
#warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }

#loading-bar {
    width: 100%;
    position: fixed;
    bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 5%; /* 左右留空 */
}
#progress-bar-empty {
    width: 90%; /* 留出左右空白 */
    height: 12px;
    background-color: black;
    display: flex;
    justify-content: flex-start; /* 从左开始 */
    align-items: center;
    position: relative;
}

#progress-bar-full {
    height: 50%;
    width: 0;
    background-color: #FFD747;
    transition: width 0.5s;
    margin: 0 5px; /* 左右留出5px */
}
