/* BaigeLightbox - 简化版灯箱样式 */

.baige-lightbox-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.85);
    z-index: 99999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

.baige-lightbox-img {
    display: block;
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,.4);
    transition: opacity .3s;
    user-select: none;
    -webkit-user-drag: none;
    transform-origin: center center;
    cursor: grab;
    touch-action: none;
}
.baige-lightbox-img:active { cursor: grabbing; }

.baige-lightbox-title {
    display: none;
    color: #fff;
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
    max-width: 90vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.baige-lightbox-counter {
    display: none;
    color: rgba(255,255,255,.7);
    font-size: 14px;
    margin-top: 6px;
}

.baige-lightbox-btn {
    position: absolute;
    background: rgba(255,255,255,.15);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 100001;
    padding: 0;
}
.baige-lightbox-btn:hover { background: rgba(255,255,255,.3); }

.baige-lightbox-close {
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    top: auto;
}
.baige-lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.baige-lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }

@media (max-width: 768px) {
    .baige-lightbox-prev,
    .baige-lightbox-next { width: 38px; height: 38px; }
    .baige-lightbox-close { width: 40px; height: 40px; }
}
