.vs-lore-gallery-admin__list { display: grid; gap: 8px; margin: 14px 0; }
.vs-lore-gallery-admin__item { display: grid; grid-template-columns: 38px 64px minmax(120px, 1fr) auto auto; align-items: center; gap: 10px; margin: 0; padding: 8px; border: 1px solid #c3c4c7; background: #fff; }
.vs-lore-gallery-admin__handle { display: grid; width: 34px; height: 34px; padding: 0; place-items: center; border: 1px dashed #66747b; background: #f6f7f7; color: #1d2327; cursor: grab; font-size: 18px; line-height: 1; touch-action: none; }
.vs-lore-gallery-admin__handle:active { cursor: grabbing; }
.vs-lore-gallery-admin__thumb img { display: block; width: 56px; height: 56px; object-fit: cover; }
.vs-lore-gallery-admin__moves, .vs-lore-gallery-admin__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.vs-lore-gallery-admin__placeholder { min-height: 72px; border: 1px dashed #2271b1; background: #f0f6fc; }
.vs-lore-gallery__viewport { position: relative; overflow: hidden; border: 1px solid rgba(240, 233, 218, .2); background: #050607; }
.vs-lore-gallery__viewport:focus-visible { outline: 3px solid var(--vs-context-strong, #f0e9da); outline-offset: 3px; }
.vs-lore-gallery__track { display: grid; }
.vs-lore-gallery__slide { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.vs-lore-gallery__slide[hidden] { display: none; }
.vs-lore-gallery__slide img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.vs-lore-gallery__nav { position: absolute; z-index: 4; top: 50%; display: grid; width: 2.35rem; height: 2.35rem; padding: 0; place-items: center; border: 1px solid rgba(240, 233, 218, .55); border-radius: 50%; background: rgba(5, 7, 8, .84); color: #f0e9da; transform: translateY(-50%); cursor: pointer; }
.vs-lore-gallery__nav:hover, .vs-lore-gallery__nav:focus-visible { border-color: var(--vs-context-accent, #5ee6e4); background: rgba(16, 31, 34, .96); color: var(--vs-context-strong, #fff); }
.vs-lore-gallery__nav--previous { left: .55rem; }
.vs-lore-gallery__nav--next { right: .55rem; }
.vs-lore-gallery__icon { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vs-lore-gallery__caption { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .6rem .72rem; border-top: 1px solid rgba(240, 233, 218, .16); background: rgba(6, 8, 9, .94); color: rgba(240, 233, 218, .82); font-size: .74rem; line-height: 1.35; }
.vs-lore-gallery__position { flex: 0 0 auto; color: var(--vs-context-accent, #5ee6e4); font-weight: 700; letter-spacing: .08em; }
.vs-lore-gallery-lightbox__image { position: relative; isolation: isolate; display: grid; min-height: min(64vh, 780px); overflow: hidden; place-items: center; background: #050505; }
.vs-lore-gallery-lightbox__image img { width: 100%; max-height: min(68vh, 820px); object-fit: contain; }
.vs-lore-gallery-lightbox__previous { left: clamp(1.3rem, 4vw, 3.5rem); }
.vs-lore-gallery-lightbox__next { right: clamp(1.3rem, 4vw, 3.5rem); }
@media (max-width: 782px) {
	.vs-lore-gallery-admin__item { grid-template-columns: 38px 56px 1fr; }
	.vs-lore-gallery-admin__moves, .vs-lore-gallery-admin__item > .button-link-delete { grid-column: 3; justify-self: start; }
}
@media (max-width: 640px) {
	.vs-lore-gallery { float: none !important; width: min(100%, 30rem) !important; margin: 0 auto 1.25rem !important; }
	.vs-lore-gallery__nav { width: 2.7rem; height: 2.7rem; }
	.vs-lore-gallery-lightbox__previous { left: .65rem; }
	.vs-lore-gallery-lightbox__next { right: .65rem; }
	.vs-lore-gallery-lightbox__image { min-height: 50vh; }
}
@media (prefers-reduced-motion: reduce) {
	.vs-lore-gallery *, .vs-lore-gallery-lightbox * { scroll-behavior: auto !important; transition: none !important; }
}
