/* 图片放大预览样式 */
.img-viewer-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
/* 放大图片容器 */
.img-viewer-container {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    transition: all 0.3s ease;
}
/* 放大后的图片 */
.img-viewer-img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
}
/* 关闭按钮 */
.img-viewer-close {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #fff;
    border-radius: 50%;
    color: #333;
    font-size: 24px;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.2s ease;
}
.img-viewer-close:hover {
    background: #f00;
    color: #fff;
}
/* 移动端适配关闭按钮 */
@media (max-width: 768px) {
    .img-viewer-close {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 20px;
        top: 20px;
        right: 20px;
    }
}