[data-carousel]{--gallery-surface:var(--pann-bg,#fff);--gallery-ink:var(--pann-fg,#111);--gallery-shadow:0 2px 8px color-mix(in srgb,var(--gallery-ink) 15%,transparent);--gallery-backdrop:color-mix(in srgb,var(--gallery-ink) 85%,transparent)}
#lv-carousel{scroll-behavior:smooth;touch-action:pan-x pan-y}
#lv-carousel img{cursor:zoom-in}
.lv-arrow{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:36px;border-radius:9999px;background:color-mix(in srgb,var(--gallery-surface) 90%,transparent);color:var(--gallery-ink);box-shadow:var(--gallery-shadow);display:flex;align-items:center;justify-content:center;z-index:10;border:none;cursor:pointer}
.lv-arrow.prev{left:8px}.lv-arrow.next{right:8px}
.lv-dots{position:absolute;left:0;right:0;bottom:4px;display:flex;justify-content:center;gap:0;z-index:10;pointer-events:none}
.lv-dot{width:24px;height:24px;display:grid;place-items:center;background:transparent;border:0;padding:0;pointer-events:auto;cursor:pointer}
.lv-dot::after{content:"";width:6px;height:6px;border-radius:9999px;background:color-mix(in srgb,var(--gallery-ink) 25%,var(--gallery-surface));transition:width .2s}
.lv-dot.active::after{background:var(--gallery-ink);width:16px}
.lv-gallery-zoom{padding:48px 12px 12px;border:0;max-width:96vw;max-height:96dvh;background:var(--gallery-surface);color:var(--gallery-ink);overflow:hidden}
.lv-gallery-zoom::backdrop{background:var(--gallery-backdrop)}
.lv-gallery-zoom img{display:block;max-width:calc(96vw - 24px);max-height:calc(96dvh - 60px);width:auto;height:auto;object-fit:contain}
.lv-gallery-close{position:absolute;right:8px;top:6px;width:36px;height:36px;border:0;background:transparent;color:inherit;cursor:pointer;font-size:28px}
@media(prefers-reduced-motion:reduce){#lv-carousel{scroll-behavior:auto}.lv-dot::after{transition:none}}
