/* ── GalleryViewer PC 端样式 ── */
body.gv-open { overflow: hidden; }

.gv-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .25s ease;
    user-select: none;
}
.gv-overlay.gv-visible { opacity: 1; }

.gv-header {
    position: absolute;
    top: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    z-index: 3;
    background: linear-gradient(to bottom, rgba(0,0,0,.55), transparent);
}
.gv-counter {
    color: rgba(255,255,255,.85);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .5px;
}
.gv-close {
    background: rgba(255,255,255,.1);
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    padding: 6px;
    line-height: 1;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.gv-close:hover { background: rgba(255,255,255,.22); }

.gv-stage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: grab;
}
.gv-stage:active { cursor: grabbing; }

.gv-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    transform-origin: center center;
    will-change: transform;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(0,0,0,.4);
}

.gv-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.8);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background .2s, color .2s;
}
.gv-arrow:hover {
    background: rgba(255,255,255,.18);
    color: #fff;
}
.gv-prev { left: 24px; }
.gv-next { right: 24px; }
