/* 相册容器样式 */
    .gallery-container {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin: 0 auto;
        max-width: 800px;
    }

    /* 主预览图样式 */
    .main-preview {
        width: 100%;
        height: 300px;
        position: relative;
        overflow: hidden;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .preview-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        cursor: pointer;
        transition: transform 0.3s;
    }

    .preview-image:hover {
        transform: scale(1.02);
    }

    /* 缩略图区域样式 */
    .thumbnail-gallery {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .thumb-container {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        flex: 1;
        padding: 5px 0;
    }

    .thumb-container::-webkit-scrollbar {
        display: none;
    }

    .thumb {
        width: 80px;
        height: 60px;
        object-fit: cover;
        border-radius: 4px;
        cursor: pointer;
        scroll-snap-align: start;
        opacity: 0.7;
        transition: all 0.3s;
    }

    .thumb:hover, 
    .thumb.active {
        opacity: 1;
        transform: scale(1.05);
    }

    /* 缩略图导航按钮 */
    .thumb-nav {
        width: 30px;
        height: 60px;
        background: rgba(0,0,0,0.6);
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        transition: all 0.3s;
    }

    .thumb-nav:hover {
        background: rgba(0,0,0,0.8);
    }

    .thumb-nav.disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

    /* 全屏模态框样式 */
    .fullscreen-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.9);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }

    .fs-image {
        max-width: 90%;
        max-height: 90%;
        object-fit: contain;
    }

    .close-modal {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        color: white;
        font-size: 30px;
        cursor: pointer;
    }

    .fs-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255,255,255,0.3);
        border: none;
        color: white;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        font-size: 20px;
        cursor: pointer;
    }

    .fs-nav.prev {
        left: 20px;
    }

    .fs-nav.next {
        right: 20px;
    }

    /* 响应式调整 */
    @media (max-width: 768px) {
        .container{width:98%}
        .main-preview {
            height: 250px;
        }
        
        .thumb {
            width: 60px;
            height: 45px;
        }
    }

    @media (min-width: 768px) and (max-width: 1024px) {
        .main-preview {
            height: 350px;
        }
    }