/* 简洁画廊样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #fff;
    color: #333;
}

.gallery-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.gallery-header {
    padding: 20px;
    text-align: center;
    /* border-bottom: 1px solid #ddd; */
}

.gallery-title {
    color: #666;
    font-size: 1.5em;
    font-weight: normal;
}

.gallery-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.image-container {
    max-width: 90%;
    max-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-image {
    max-width: 100%;
    max-height: 70vh;
    height: auto;
    width: auto;
    display: block;
}

.loading-spinner {
    display: none;
}

.image-caption {
    margin-top: 15px;
    color: #666;
    font-size: 1em;
    text-align: center;
}

.gallery-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    /* border-top: 1px solid #ddd; */
}

.control-btn {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #666;
}

.control-btn:hover {
    background: #e8e8e8;
}

.control-btn svg {
    pointer-events: none;
}

.play-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.counter {
    color: #666;
    font-size: 1em;
    min-width: 60px;
    text-align: center;
}

.thumbnail-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 15px;
    /* border-top: 1px solid #ddd; */
    overflow-x: auto;
}

.thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
}

.thumbnail:hover {
    opacity: 1;
}

.thumbnail.active {
    opacity: 1;
    border-color: #e0e0e0;
    border-radius: 8px;
}

.gallery-info {
    display: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .gallery-title {
        font-size: 1.2em;
    }

    .gallery-controls {
        gap: 15px;
        padding: 15px;
    }

    .control-btn {
        width: 36px;
        height: 36px;
    }

    .thumbnail {
        width: 50px;
        height: 50px;
    }

    .image-container {
        max-height: 60vh;
    }

    .gallery-image {
        max-height: 60vh;
    }
}
