body {
    padding: 0;
    margin: 0
}

#unity-container {
    position: fixed;
    width: 100%;
    height: 100%;
}

#unity-canvas {
    width: 100%;
    height: 100%;
    background: #000000
}

#unity-loading-bar {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    text-align: center
}

#unity-logo {
    width: 5vw;
    height: 5vw;
    margin: auto;
    background: url('soulflaw-logo-dark.gif') no-repeat center;
    background-size: contain;
}

#unity-progress-bar-empty {
    margin: auto;
    margin-top: 1vw;
    width: -webkit-fill-available;
    height: 1vw;
    border: solid 2px #ffffff;
    border-radius: 1vw;
    overflow: hidden;
}

#unity-progress-bar-full {
    position: relative;
    left: 0;
    top: 0;
    width: 0%;
    height: 100%;
    background-color: color(srgb 1 1 1 / 0.5);
}

#unity-warning {
    position: absolute;
    left: 50%;
    top: 5%;
    transform: translate(-50%);
    background: white;
    padding: 10px;
    display: none
}

#unity-warning .unity-banner-error {
    background: red;
    padding: 10px;
}

#unity-warning .unity-banner-warning {
    background: yellow;
    padding: 10px;
}

#Tip_FirstLoading {
    color: #fff;
    font-size: x-large;
    text-align: center;
    width: 100%;
    height: 30px;
    line-height: 30px;
    margin-top: 0vw;
}

/* 音频静音提示框样式 */
#audio-unmute-prompt {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-family: Arial, sans-serif;
    font-size: 13px;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    display: none;
}

#audio-unmute-prompt > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

#audio-unmute-prompt button {
    background: transparent;
    color: white;
    border: 1px solid #666;
    padding: 2px 8px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
}

/* 音频提示框按钮hover效果 */
#audio-unmute-prompt button:hover {
    background-color: #2196F3 !important;
    border-color: #2196F3 !important;
}

/* 自定义封面样式 */
#Custom_Cover {
    width: 100vw;
    height: 100vh;
    background-color: #00000000;
    text-align: center;
    position: absolute;
    z-index: 999;
    display: none;
    backdrop-filter: blur(100px);
}

#Custom_Cover > div {
    width: 100vw;
    height: 10vh;
    font-size: 5vw;
    text-align: center;
    color: #fff;
    position: absolute;
    top: calc(50vh - 1vh);
    line-height: 5vw;
}

/* 消失动画 */
@keyframes FadeOut {
    0% {
        backdrop-filter: blur(100px);
        display: block;
    }
    80% {
        backdrop-filter: blur(100px);
        display: block;
    }
    100% {
        backdrop-filter: blur(0px);
        display: none;
    }
}

/* 加载动画样式 */
#LoadingVideo{
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* 加载进度信息样式 */
#LoadingProgressInfo {
    position: absolute;
    left: calc(50vw - 25vh);
    bottom: 2vh;
    width: 50vh;
    height: fit-content;
    text-align: center;
    color: #fff;
    font-size: 2vw;
    /* background-color: #ff0000; */
}
