/* 引入阿里妈妈数黑体 */

@font-face {
    font-family: 'AlimamaShuHeiTi-Bold';
    src: url('../fonts/AlimamaShuHeiTi-Bold.woff2') format('woff2'),
        url('../fonts/AlimamaShuHeiTi-Bold.woff') format('woff'),
        url('../fonts/AlimamaShuHeiTi-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* 主题模态框样式 */
.theme-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.theme-modal.show {
    display: flex;
}

.theme-modal-content {
    position: relative;
    width: 80vw;
    max-height: 90vh;
    background: #0d1124;
    border-radius: 10px;
    padding: 40px;
    overflow: hidden;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: transform 0.3s ease;
    z-index: 1;
}

.modal-close-btn:hover {
    transform: scale(1.1);
}

.modal-close-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.theme-modal-title {
    font-family: 'AlimamaShuHeiTi-Bold', sans-serif;
    font-size: 36px;
    color: #FFD700;
    margin-bottom: 30px;
    text-align: center;
}

/* 图片画廊样式 */
.theme-gallery {
    display: flex;
    gap: 20px;
    height: calc(90vh - 120px);
}

.gallery-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.gallery-main-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* .gallery-thumbs {
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    padding-right: 10px;
}

.thumb-item {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
    border: 2px solid transparent;
}

.thumb-item:hover {
    opacity: 0.8;
}

.thumb-item.active {
    opacity: 1;
    border-color: #FFD700;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.gallery-thumbs::-webkit-scrollbar {
    width: 6px;
}

.gallery-thumbs::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
} */

.gallery-thumbs {
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    padding-right: 10px;
    height: 600px;
}

.thumb-item {
    width: 100%;
    height: 105px!important;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
    border: 2px solid transparent;
}

.thumb-item:hover {
    opacity: 0.8;
}

.thumb-item.active {
    opacity: 1;
    padding: 1px;
    border-color: #FFD700;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 自定义滚动条样式 */
.gallery-thumbs::-webkit-scrollbar {
    width: 4px;
}

.gallery-thumbs::-webkit-scrollbar-track {
    background: transparent;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
    background: #fac11e;
    border-radius: 2px;
    opacity: 0.5;
}

/* 隐藏滚动条按钮 */
.gallery-thumbs::-webkit-scrollbar-button {
    display: none;
}

.szb_bg{b}