/* 截图模块外层容器（背景交给外层白卡，这里仅做留白） */
.shot-gallery {
    width: 100%;
    padding: 0 0 6px;
    background-color: transparent;
}

.shot-gallery__container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    /* 隐藏原生滚动条，保留触摸滑动 */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

/* 隐藏webkit浏览器滚动条 */
.shot-gallery__container::-webkit-scrollbar {
    display: none;
}

/* 横向截图轨道 */
.shot-gallery__track {
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
    padding: 0 18px;
    gap: 12px;
}

/* 单张截图项 */
.shot-gallery__item {
    flex: 0 0 auto;
    width: 116px;
    height: 206px;
}

/* 缩略图盒子 */
.shot-gallery__thumb-box {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
    background: var(--bg-page);
}

.shot-gallery__thumb-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(59, 130, 246, 0.22);
    border-color: #93c5fd;
}

/* 缩略图图片 */
.shot-gallery__thumb {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* ========== 全屏弹窗放大预览样式 ========== */
.lightbox-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.lightbox-modal__inner {
    max-width: 100%;
    max-height: 100%;
}

.lightbox-modal__preview {
    max-width: 100%;
    max-height: 86vh;
    display: block;
    border-radius: var(--radius-sm);
}

/* 弹窗激活显示状态 */
.lightbox-modal.is-show {
    display: flex;
}
