/* LTV Base – image viewer */
html.lvs-lb-open, html.lvs-lb-open body { overflow: hidden; }
.lvs-lb { position: fixed; inset: 0; z-index: 100000; display: none; flex-direction: column; background: rgba(8, 11, 10, .97); color: #fff; font-family: inherit; -webkit-tap-highlight-color: transparent; }
.lvs-lb.is-open { display: flex; animation: lvs-lb-in .18s ease-out; }
@keyframes lvs-lb-in { from { opacity: 0; } to { opacity: 1; } }
.lvs-lb__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 18px; }
.lvs-lb__count { font-size: 14px; font-weight: 600; opacity: .85; font-variant-numeric: tabular-nums; }
.lvs-lb__tools { display: flex; gap: 6px; margin-left: auto; }
.lvs-lb__btn, .lvs-lb__nav { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; transition: background .15s; text-decoration: none; }
.lvs-lb__btn:hover, .lvs-lb__nav:hover, .lvs-lb__btn:focus-visible, .lvs-lb__nav:focus-visible { background: rgba(255, 255, 255, .24); color: #fff; outline: none; }
.lvs-lb__stage { position: relative; display: flex; flex: 1; align-items: center; justify-content: center; min-height: 0; padding: 0 72px; overflow: hidden; }
.lvs-lb__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 10px 40px rgba(0, 0, 0, .45); cursor: zoom-in; user-select: none; transition: transform .25s ease, opacity .2s; }
.lvs-lb.is-zoomed .lvs-lb__img { transform: scale(2.2); cursor: zoom-out; box-shadow: none; }
.lvs-lb.is-loading .lvs-lb__img { opacity: .25; }
.lvs-lb__spin { position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 3px solid rgba(255, 255, 255, .25); border-top-color: #fff; border-radius: 50%; opacity: 0; pointer-events: none; animation: lvs-lb-spin .8s linear infinite; }
.lvs-lb.is-loading .lvs-lb__spin { opacity: 1; }
@keyframes lvs-lb-spin { to { transform: rotate(360deg); } }
.lvs-lb__nav { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; }
.lvs-lb__nav--prev { left: 12px; }
.lvs-lb__nav--next { right: 12px; }
.lvs-lb.is-single .lvs-lb__nav, .lvs-lb.is-single .lvs-lb__thumbs { display: none; }
.lvs-lb.is-zoomed .lvs-lb__nav, .lvs-lb.is-zoomed .lvs-lb__foot { opacity: 0; pointer-events: none; }
.lvs-lb__foot { padding: 8px 12px 14px; text-align: center; transition: opacity .2s; }
.lvs-lb__cap { min-height: 1em; margin: 0 auto 8px; max-width: 900px; font-size: 14px; line-height: 1.5; opacity: .9; }
.lvs-lb__cap:empty { display: none; }
.lvs-lb__thumbs { display: flex; justify-content: center; gap: 8px; overflow-x: auto; padding: 2px; scrollbar-width: none; }
.lvs-lb__thumbs::-webkit-scrollbar { display: none; }
.lvs-lb__thumbs button { flex: 0 0 auto; width: 64px; height: 48px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 6px; background: #222; opacity: .55; cursor: pointer; transition: opacity .15s, border-color .15s; }
.lvs-lb__thumbs button:hover { opacity: .85; }
.lvs-lb__thumbs button.is-active { border-color: #fff; opacity: 1; }
.lvs-lb__thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) {
	.lvs-lb__stage { padding: 0 6px; }
	.lvs-lb__nav { width: 42px; height: 42px; margin-top: -21px; background: rgba(0, 0, 0, .35); }
	.lvs-lb__nav--prev { left: 6px; }
	.lvs-lb__nav--next { right: 6px; }
	.lvs-lb__thumbs { justify-content: flex-start; }
	.lvs-lb__thumbs button { width: 52px; height: 40px; }
	.lvs-lb [data-act="zoom"] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.lvs-lb.is-open, .lvs-lb__img, .lvs-lb__spin { animation: none; transition: none; }
}
