.mySlides img, .img-item img { cursor: zoom-in; }
.lb-open { overflow: hidden !important; }
.lb { position: fixed; inset: 0; z-index: 2000; background: rgba(8,10,16,.92); display: none; opacity: 0; transition: opacity .2s; touch-action: none; user-select: none; -webkit-user-select: none; }
.lb.is-open { display: block; }
.lb.is-show { opacity: 1; }
.lb-stage { position: absolute; inset: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.lb-img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; object-fit: contain; cursor: zoom-in; transform-origin: center; will-change: transform; -webkit-user-drag: none; user-drag: none; box-shadow: 0 10px 40px rgba(0,0,0,.5); background: #fff; }
.lb.is-zoom .lb-img { cursor: grab; }
.lb.is-drag .lb-img { cursor: grabbing; }
.lb-btn { position: absolute; border: 0; background: rgba(255,255,255,.14); color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; z-index: 2; padding: 0; }
.lb-btn:hover, .lb-btn:focus-visible { background: rgba(255,255,255,.3); outline: none; }
.lb-btn:focus-visible { box-shadow: 0 0 0 3px #fff; }
.lb-close { top: 16px; right: 16px; font-size: 32px; }
.lb-prev { left: 16px; top: 50%; margin-top: -23px; }
.lb-next { right: 16px; top: 50%; margin-top: -23px; }
.lb-count { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 15px; background: rgba(0,0,0,.4); padding: 4px 14px; border-radius: 14px; z-index: 2; }
.lb-hint { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.65); font-size: 13px; pointer-events: none; }
.lb.is-single .lb-prev, .lb.is-single .lb-next { display: none; }
@media (max-width: 600px) { .lb-btn { width: 40px; height: 40px; } .lb-prev { left: 8px; } .lb-next { right: 8px; } .lb-close { top: 8px; right: 8px; } .lb-img { max-width: 100vw; max-height: 80vh; } }
@media (prefers-reduced-motion: reduce) { .lb { transition: none; } }
