html {
    height: 100%;
}

body {
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #FFFFFF;
    background-color: #000000;
}

#pano {
    width: 100vw;
    height: 100vh;
}

.controls {
    position: absolute;
    width: 100vw;
    height: 100vh;
    /* z-index: 100; */
}

.controls>div {
    z-index: 100;
}

.left-bottom-area {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
}

.scene-switch {
    /* position: absolute; */
    /* bottom: 0px; */
    cursor: pointer;
    /* left: 0px; */
    display: flex;
    /* flex-direction: row; */
    justify-content: center;
}

.img_desc_min {
    width: 100%;
    overflow: hidden;
    height: 20px;
    line-height: 20px;
    text-align: center;
    font-size: 10px;
    color: #fff;
    text-shadow: 3px 3px 3px #000;
}

.gallery {
    position: absolute !important;
    height: 100px;
    width: 100vw;
    bottom: 100px;
    background-color: rgba(0, 0, 0, .4);
    display: flex;
    align-items: center;
    overflow-x: hidden;
    cursor: grab;
}

.gallery:active {
    cursor: grabbing;
}

.gallery img {
    max-height: 100%;
    max-width: none;
}

.fade-in {
    opacity: 0;
    /* 初始透明度为0 */
    transform: translateY(200px);
    /* 初始位置在界面下方 */
    transition: opacity 0.3s ease-in, transform 0.3s ease-in;
    /* 过渡效果，持续1秒，缓入 */
}

.fade-in.show {
    opacity: 1;
    /* 最终透明度为1 */
    transform: translateY(0);
    /* 最终位置在原始位置 */
}

.subfade-in {
    opacity: 0;
    /* 初始透明度为0 */
    transform: translateY(200px);
    /* 初始位置在界面下方 */
    transition: opacity 0.3s ease-in, transform 0.3s ease-in;
    /* 过渡效果，持续1秒，缓入 */
}

.subfade-in.show {
    opacity: 1;
    /* 最终透明度为1 */
    transform: translateY(-105px);
    /* 最终位置在原始位置 */
}

.swiper-slide {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    text-align: center;
    font-size: 18px;
    /* background: #fff; */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
}

.swiper-slide {
    /* display: block; */
    /* padding: 0 !important; */
    /* padding: 10px !important; */
    padding: 10px 0 !important;
    border-radius: 5px !important;
    width: 80px !important;
    height: 80px !important;
    object-fit: cover;
}

.swiper-slide .title {
    position: absolute;
    width: 80px;
    bottom: 10px;
    height: 15px;
    font-size: 11px;
    color:#fff;
    border-radius: 0 0 3px 3px;
    background-color: rgba(0, 0, 0, .3);
    text-shadow: 2px 2px 2px rgba(0, 0, 0, .8);
    overflow: hidden;
    /* 确保超出容器的文本被隐藏 */
    white-space: nowrap;
    /* 防止文本换行 */
    text-overflow: ellipsis;
    /* 超出部分显示省略号 */
}

.swiper-slide .preview {
    border-radius: 3px !important;
    padding: 0 !important;
    width: 80px;
    height: 80px;
    cursor: pointer;
}

.swiper-slide .album-frame {
    border-radius: 3px !important;
    padding: 0 !important;
    width: 80px;
    height: 80px;
    cursor: pointer;
}

.swiper-slide .preview.focus {
    border: 0.5px solid orange;
}

.swiper-slide.album .preview {
    position: absolute;
    width: 65px;
    height: 65px;
    left: 7px;
    top: 17px;
    border-radius: 0 !important;
}

.album .title {
    position: absolute;
    width: 64px;
    bottom: 17px;
    left: 8px;
    height: 15px;
    font-size: 11px;
    border-radius: 0 !important;
    background-color: rgba(0, 0, 0, .3);
    text-shadow: 2px 2px 2px rgba(0, 0, 0, .8);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.album .album-frame {
    position: absolute;
    left: 0;
}

.btn_fullscreen {
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
    color: #fff !important; 
    cursor: pointer;
    background-image: url("/static/images/full-screen.png");

}


.btn_bgmusic {
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
    color: #fff !important; 
    cursor: pointer;
}


.btn_bgmusic_off {
    background-image: url("/static/images/bgmusic-close.png");
}

.btn_bgmusic_on {
    background-image: url("/static/images/bgmusic-open.png");
}


.btn_like {
    width: 60px;
    display: flex;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
}

@media screen and (max-width: 600px) {
    .btn_bgmusic {
        width: 30px;
        height: 30px;
        background-size: 30px 30px;
    }
}