.subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 700px;
    margin: 0 auto;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.feature {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.media-carousel-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
    max-width: 900px;
}

.media-carousel {
    padding: 0;
}

/* 主图片区域 */
.main-image-container {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 10px;
    background-color: #fff;
    border: 1px solid #e9ecef;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 150px;
    cursor: pointer;
}

.main-image {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.main-image:hover {
    transform: scale(1.02);
}

.image-type-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(52, 152, 219, 0.85);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.main-image-360-container {
    display: flex;
    gap: 20px;
    padding: 15px;
}

.image-360-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: #e74c3c;
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* 缩略图导航区 */
.thumbnail-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 15px auto;
}

.thumbnails-container {
    display: flex;
    gap: 15px;
    overflow: hidden;
    position: relative;
}

.thumbnail-container {
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.thumbnail-container.active {
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.5);
    border: 2px solid #3498db;
}

.thumbnail {
    width: 50px;
    height: 50px;
    object-fit: cover;
    display: block;
}

.thumbnail-type {
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 0.7rem;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 5px;
    border-radius: 3px;
}

.nav-button {
    width: 36px;
    height: 36px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
}

.nav-button:hover {
    background: #2980b9;
    transform: scale(1.1);
}

.nav-button:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
}

/* 图片描述和详情 */
.image-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
}

.image-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.image-description {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.image-info {
    display: flex;
    gap: 15px;
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-top: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.disclaimer {
    background: #fef9c3;
    padding: 5px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #8e7b22;
    margin-top: 20px;
    border-left: 4px solid #fde047;
}

/* 全屏查看器 */
.viewer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.viewer-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

.viewer-content {
    /*position: relative;*/
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
}

.viewer-image {
    max-width: 80vw;
    max-height: 70vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.viewer-360-iframe {
    width: 80vw;
    height: 70vh;
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.viewer-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.viewer-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 15px;
}

.viewer-nav-left {
    left: 20px;
}

.viewer-nav-right {
    right: 20px;
}

.control-button {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.2s ease;
}

.control-button:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.1);
}

.image-identifier {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
}

.footer {
    text-align: center;
    margin-top: 40px;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .media-carousel {
        padding: 20px;
    }

    .main-image-container {
        min-height: 250px;
    }

    .main-image-360-container {
        flex-direction: column;
        align-items: center;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
    }

    .nav-button {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .viewer-image, .viewer-360-iframe {
        max-width: 95vw;
        max-height: 60vh;
    }
    .tss-css-1hgcirk-carouselMedia{ width: 100%; }
    .main-image{ max-height: unset; }
}