.carousel-container {
    width: 100%;
    max-width: 400px;
    /*background: white;*/
    border-radius: 16px;
    /*box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);*/
    overflow: hidden;
    line-height: 18px;
}

.status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.current-position {
    font-size: 14px;
    font-weight: 600;
    color: #4299e1;
}

.total-count {
    font-size: 14px;
    color: #a0aec0;
}

.main-carousel {
    position: relative;
    overflow: hidden;
}

.main-slides {
    display: flex;
    transition: transform 0.3s ease;
    touch-action: pan-y;
}

.main-slide {
    min-width: 100%;
    position: relative;
}

.main-slide img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.slide-content {
    padding: 16px;
    background: white;
}

.slide-title {
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.slide-description {
    font-size: 14px;
    line-height: 1.5;
    color: #718096;
}

.thumbnail-container {
    padding: 12px 16px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.thumbnails {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}

.thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s ease;
    flex-shrink: 0;
    border: 2px solid transparent;
}

.thumbnail.active {
    opacity: 1;
    border-color: #4299e1;
    transform: scale(1.05);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 隐藏滚动条 */
.thumbnails::-webkit-scrollbar {
    display: none;
}

.thumbnails {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* 移动端优化 */
@media (max-width: 480px) {
    .main-slide img {
        height: 240px;
    }

    .slide-content {
        padding: 16px;
    }

    .slide-title {
        font-size: 18px;
    }

    .thumbnail {
        width: 70px;
        height: 52px;
    }
}

/* 触摸反馈 */
.main-slides:active {
    cursor: grabbing;
}

/* 禁用文本选择 */
.main-carousel,
.thumbnail {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* 扁平化按钮样式 */
.thumbnail:active {
    transform: scale(0.95);
}

.instructions {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}