/* Video Slider for YouTube – front end.
   Colors can be overridden in the theme via the --vsfy-* custom properties. */

.vsfy {
	--vsfy-ink: currentColor;
	--vsfy-muted: color-mix(in srgb, var(--vsfy-ink) 60%, transparent);
	--vsfy-line: color-mix(in srgb, var(--vsfy-ink) 13%, transparent);
	--vsfy-surface: color-mix(in srgb, var(--vsfy-ink) 5%, transparent);
	--vsfy-accent: #0f2d7a;
	/* Small UI parts (dots, active item) mix the accent with the text color right where they use it,
	   so it stays visible on light and dark themes. Mixing inside a custom property is unreliable. */
	--vsfy-stage: #0e1014;
	--vsfy-radius: 14px;
	--vsfy-gap: 18px;
	--vsfy-ratio: 16 / 9;
	--vsfy-per: 1.15;
	--vsfy-ease: cubic-bezier(.2, .7, .2, 1);

	container-type: inline-size;
	container-name: vsfy;
	color: var(--vsfy-ink);
	font-family: inherit;
	line-height: 1.45;
	margin: 0 0 1.5em;
}
.vsfy--light { --vsfy-ink: #1b1d24; }
.vsfy--dark { --vsfy-ink: #eef0f6; }
.vsfy *, .vsfy *::before, .vsfy *::after { box-sizing: border-box; }

/* Neutralize theme button styles. */
.vsfy button {
	all: unset;
	box-sizing: border-box;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.vsfy button:focus-visible,
.vsfy a:focus-visible,
.vsfy [tabindex]:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.vsfy p { margin: 0; padding: 0; }

.vsfy-notice { padding: 10px 14px; border: 1px dashed currentColor; opacity: .7; font-size: 14px; }

/* ---------- Media: thumbnail, play button, player ---------- */
.vsfy-media {
	position: relative;
	aspect-ratio: var(--vsfy-ratio);
	overflow: hidden;
	isolation: isolate;
	background: var(--vsfy-stage);
	border-radius: var(--vsfy-radius);
	container-type: inline-size;
	container-name: vsfy-media;
}
.vsfy-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.vsfy .vsfy-facade { position: absolute; inset: 0; display: block; overflow: hidden; }
/* Doubled class: themes often set "img { height: auto }" with the same specificity. */
.vsfy.vsfy .vsfy-facade img,
.vsfy .vsfy-ph {
	position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
	margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none;
	object-fit: cover; display: block;
	transition: transform .7s var(--vsfy-ease), filter .4s;
}
.vsfy-ph { background: radial-gradient(120% 90% at 30% 20%, #2f3440 0%, #171a21 60%, #0e1014 100%); }
.vsfy-facade::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg, transparent 55%, rgba(8, 10, 16, .5));
	transition: opacity .3s;
}
.vsfy--flat .vsfy-facade::after { display: none; }

/* Play button: glass (default), white or accent. */
.vsfy-play {
	position: absolute; left: 50%; top: 50%; z-index: 1;
	width: clamp(44px, 15cqi, 72px); aspect-ratio: 1; border-radius: 50%;
	display: grid; place-items: center;
	transform: translate(-50%, -50%);
	background: rgba(255, 255, 255, .22);
	-webkit-backdrop-filter: blur(10px) saturate(1.4);
	backdrop-filter: blur(10px) saturate(1.4);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), 0 10px 30px rgba(0, 0, 0, .3);
	transition: transform .3s var(--vsfy-ease), background .3s, box-shadow .3s;
}
.vsfy.vsfy .vsfy-play svg { width: 36%; height: 36%; margin-left: 7%; fill: #fff; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .3)); }
.vsfy--play-white .vsfy-play { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.vsfy--play-white.vsfy .vsfy-play svg { fill: #14161b; filter: none; }
.vsfy--play-accent .vsfy-play { background: var(--vsfy-accent); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.vsfy-facade:hover .vsfy-play,
.vsfy-facade:focus-visible .vsfy-play {
	transform: translate(-50%, -50%) scale(1.08);
	background: var(--vsfy-accent);
	box-shadow: 0 12px 34px color-mix(in srgb, var(--vsfy-accent) 45%, transparent);
}
.vsfy--play-white .vsfy-facade:hover .vsfy-play { background: #fff; }
.vsfy--play-white.vsfy .vsfy-facade:hover .vsfy-play svg { fill: var(--vsfy-accent); }
.vsfy .vsfy-facade:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }

/* Button shape: circle (default), rounded square, wide or just the triangle. */
.vsfy--shape-square .vsfy-play { border-radius: 24%; }
.vsfy--shape-wide .vsfy-play { aspect-ratio: 10 / 7; border-radius: 22% / 32%; }
.vsfy--shape-wide.vsfy .vsfy-play svg { height: 46%; }
.vsfy.vsfy--shape-bare .vsfy-play,
.vsfy.vsfy--shape-bare .vsfy-facade:hover .vsfy-play { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.vsfy.vsfy--shape-bare .vsfy-play svg { width: 58%; height: 58%; margin-left: 10%; filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .45)); }
.vsfy--shape-bare.vsfy--play-white.vsfy .vsfy-play svg { fill: #fff; }
.vsfy--shape-bare.vsfy--play-accent.vsfy .vsfy-play svg,
.vsfy--shape-bare.vsfy .vsfy-facade:hover .vsfy-play svg { fill: var(--vsfy-accent); }
.vsfy--shape-bare.vsfy--play-accent.vsfy .vsfy-facade:hover .vsfy-play svg { fill: #fff; }

/* Triangle: solid (default), rounded, slim or outline. */
.vsfy--icon-slim.vsfy .vsfy-play svg { margin-left: 4%; }
.vsfy--icon-outline.vsfy .vsfy-play svg,
.vsfy--icon-outline.vsfy .vsfy-facade:hover .vsfy-play svg { fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }
.vsfy--icon-outline.vsfy--play-white.vsfy .vsfy-play svg { stroke: #14161b; }
.vsfy--icon-outline.vsfy--play-white.vsfy .vsfy-facade:hover .vsfy-play svg,
.vsfy--icon-outline.vsfy--shape-bare.vsfy .vsfy-facade:hover .vsfy-play svg { stroke: var(--vsfy-accent); }
.vsfy--icon-outline.vsfy--shape-bare.vsfy--play-white.vsfy .vsfy-play svg { stroke: #fff; }
.vsfy--icon-outline.vsfy--shape-bare.vsfy--play-accent.vsfy .vsfy-play svg { stroke: var(--vsfy-accent); }
.vsfy--icon-outline.vsfy--shape-bare.vsfy--play-accent.vsfy .vsfy-facade:hover .vsfy-play svg { stroke: #fff; }

/* Hover effect on the thumbnail: zoom (default), lift or none. */
.vsfy--hover-zoom .vsfy-facade:hover img { transform: scale(1.06); }
.vsfy--hover-lift .vsfy-card { transition: transform .35s var(--vsfy-ease); }
.vsfy--hover-lift .vsfy-card:hover { transform: translateY(-6px); }

.vsfy-badges { position: absolute; left: 10px; top: 10px; z-index: 2; display: flex; gap: 5px; }
.vsfy-badge {
	padding: 3px 8px; border-radius: 6px;
	background: rgba(0, 0, 0, .55); color: #fff;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.5;
}
.vsfy-badge--new { background: var(--vsfy-accent); }
.vsfy-duration {
	position: absolute; right: 8px; bottom: 8px; z-index: 2;
	padding: 2px 6px; border-radius: 5px;
	background: rgba(0, 0, 0, .72); color: #fff;
	font-size: 11.5px; font-weight: 600; line-height: 1.4; font-variant-numeric: tabular-nums;
}
.vsfy--cap-overlay .vsfy-card .vsfy-duration { top: 10px; right: 10px; bottom: auto; }
.vsfy-item-thumb .vsfy-duration { right: 4px; bottom: 4px; font-size: 10px; padding: 1px 4px; }

/* ---------- Consent overlay ---------- */
.vsfy-consent {
	position: absolute; inset: 0; z-index: 5;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
	padding: 6% 8%;
	background: rgba(10, 12, 18, .6); color: #fff;
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	text-align: center; font-size: 13px; line-height: 1.5;
	animation: vsfy-in .3s ease;
}
.vsfy-consent p { max-width: 46ch; opacity: .92; }
.vsfy .vsfy-consent-ok {
	padding: 9px 18px; border-radius: 999px;
	background: #fff; color: #14161b; font-weight: 700; font-size: 13px;
	transition: transform .2s;
}
.vsfy .vsfy-consent-ok:hover { transform: scale(1.04); }
.vsfy-consent label { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; opacity: .85; cursor: pointer; }
@container vsfy-media (max-width: 300px) {
	.vsfy-consent { font-size: 11.5px; gap: 8px; padding: 5%; }
	.vsfy-consent p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
	.vsfy-consent label { display: none; }
}
@keyframes vsfy-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Subscribe button ---------- */
.vsfy .vsfy-subscribe {
	display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto;
	padding: 9px 16px;
	background: var(--vsfy-accent); color: #fff;
	border-radius: 999px;
	font-size: 13px; font-weight: 700; line-height: 1.2; text-decoration: none;
	transition: transform .2s, filter .2s;
}
.vsfy .vsfy-subscribe:hover { transform: translateY(-1px); filter: brightness(1.12); color: #fff; }
.vsfy-subscribe svg { flex: 0 0 auto; }

/* ---------- Cards (slider + grid) ---------- */
.vsfy--size-s { --vsfy-card-min: 200px; }
.vsfy--size-m { --vsfy-card-min: 270px; }
.vsfy--size-l { --vsfy-card-min: 380px; }

.vsfy-card { min-width: 0; position: relative; }
.vsfy-card .vsfy-media { transition: box-shadow .3s; }
.vsfy-card:hover .vsfy-media { box-shadow: 0 16px 34px -18px rgba(14, 16, 20, .6); }
.vsfy--flat .vsfy-card:hover .vsfy-media { box-shadow: none; }
.vsfy-card-body { padding: 12px 2px 0; }
.vsfy .vsfy-card-title {
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
	font-size: 15px; font-weight: 650; line-height: 1.35;
}
.vsfy .vsfy-card-meta { margin-top: 4px; font-size: 13px; color: var(--vsfy-muted); }

/* Title on the image. */
.vsfy--cap-overlay .vsfy-card-body {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
	padding: 40px 16px 14px; pointer-events: none;
	border-radius: 0 0 var(--vsfy-radius) var(--vsfy-radius);
	background: linear-gradient(180deg, transparent, rgba(8, 10, 16, .82));
	color: #fff;
}
.vsfy--cap-overlay .vsfy-card-meta { color: rgba(255, 255, 255, .8); font-size: 12px; }
.vsfy--cap-overlay .vsfy-card-title { font-size: 14px; }
/* Play button sits higher and smaller, so it never covers the title. */
.vsfy--cap-overlay .vsfy-card .vsfy-play { top: 34%; width: clamp(34px, 12cqi, 56px); }

/* Slider */
.vsfy-track {
	display: grid; grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--vsfy-per) - 1) * var(--vsfy-gap)) / var(--vsfy-per));
	gap: var(--vsfy-gap);
	overflow-x: auto; overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none;
	padding: 8px 2px 10px;
	margin: -8px -2px 0;
}
.vsfy-track::-webkit-scrollbar { display: none; }
.vsfy-track > .vsfy-card { scroll-snap-align: start; }

/* Visible cards per container width and card size. */
.vsfy--size-s { --vsfy-per: 1.6; }
.vsfy--size-m, .vsfy--size-l { --vsfy-per: 1.15; }
@container vsfy (min-width: 440px) { .vsfy--size-s .vsfy-track { --vsfy-per: 2; } }
@container vsfy (min-width: 560px) { .vsfy--size-m .vsfy-track { --vsfy-per: 2; } }
@container vsfy (min-width: 660px) { .vsfy--size-s .vsfy-track { --vsfy-per: 3; } }
@container vsfy (min-width: 760px) { .vsfy--size-l .vsfy-track { --vsfy-per: 2; } }
@container vsfy (min-width: 860px) { .vsfy--size-m .vsfy-track { --vsfy-per: 3; } }
@container vsfy (min-width: 880px) { .vsfy--size-s .vsfy-track { --vsfy-per: 4; } }
@container vsfy (min-width: 1100px) { .vsfy--size-s .vsfy-track { --vsfy-per: 5; } }
@container vsfy (min-width: 1140px) { .vsfy--size-m .vsfy-track { --vsfy-per: 4; } .vsfy--size-l .vsfy-track { --vsfy-per: 3; } }
/* Portrait cards (9:16) are narrow: show more of them. */
.vsfy--portrait .vsfy-track { --vsfy-per: 2.2; }
@container vsfy (min-width: 560px) { .vsfy--portrait .vsfy-track { --vsfy-per: 3.2; } }
@container vsfy (min-width: 860px) { .vsfy--portrait .vsfy-track { --vsfy-per: 5; } }

.vsfy-controls { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.vsfy .vsfy-arrow {
	width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%;
	display: grid; place-items: center;
	border: 1px solid var(--vsfy-line);
	transition: background .2s, border-color .2s, opacity .2s, transform .2s;
}
.vsfy.vsfy .vsfy-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vsfy .vsfy-arrow:hover { background: var(--vsfy-surface); border-color: color-mix(in srgb, var(--vsfy-ink) 35%, transparent); transform: scale(1.05); }
.vsfy .vsfy-arrow[disabled] { opacity: .3; cursor: default; pointer-events: none; }
.vsfy-dots { flex: 1 1 auto; display: flex; gap: 6px; min-width: 0; }
.vsfy .vsfy-dots button { height: 4px; flex: 1 1 0; max-width: 46px; border-radius: 4px; background: var(--vsfy-line); transition: background .3s; }
.vsfy .vsfy-dots button.is-active { background: var(--vsfy-accent); background: color-mix(in srgb, var(--vsfy-accent) 72%, var(--vsfy-ink)); }
.vsfy .vsfy-dots button:hover { background: color-mix(in srgb, var(--vsfy-ink) 30%, transparent); }
.vsfy--slider.is-static .vsfy-arrow,
.vsfy--slider.is-static .vsfy-dots { visibility: hidden; }

/* Grid: the newest video leads, twice the size. */
.vsfy-grid {
	display: grid; gap: calc(var(--vsfy-gap) * 1.5) var(--vsfy-gap);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--vsfy-card-min)), 1fr));
}
@container vsfy (min-width: 720px) {
	.vsfy--grid:not(.vsfy--portrait) .vsfy-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.vsfy--grid:not(.vsfy--portrait) .vsfy-grid > .vsfy-card:first-child { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
	.vsfy--grid:not(.vsfy--portrait) .vsfy-grid > .vsfy-card:first-child .vsfy-media { flex: 1 1 auto; aspect-ratio: auto; min-height: 240px; }
	.vsfy--grid:not(.vsfy--portrait) .vsfy-grid > .vsfy-card:first-child .vsfy-card-title { font-size: 20px; }
}
.vsfy-footer { display: flex; justify-content: flex-end; margin-top: 18px; }

/* ---------- Player + playlist / single ---------- */
.vsfy-stage { position: relative; }
.vsfy-stage .vsfy-media { aspect-ratio: 16 / 9; border-radius: calc(var(--vsfy-radius) + 4px); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .5); }
.vsfy--flat .vsfy-stage .vsfy-media { box-shadow: none; }

/* Ambient glow: a blurred copy of the thumbnail behind the player. */
.vsfy-ambient { display: none; }
.vsfy--ambient .vsfy-ambient {
	display: block; position: absolute; inset: 6% 4%; z-index: 0; pointer-events: none;
	filter: blur(48px) saturate(1.6); opacity: .55; transform: translateZ(0);
	transition: opacity .6s;
}
.vsfy.vsfy .vsfy-ambient img { width: 100%; height: 100%; max-width: none; object-fit: cover; border: 0; border-radius: 0; margin: 0; }
.vsfy--ambient .vsfy-stage .vsfy-media { z-index: 1; }

.vsfy-caption {
	display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
	gap: 10px 18px; margin-top: 16px; position: relative;
}
.vsfy-caption-text { flex: 1 1 260px; min-width: 0; }
.vsfy .vsfy-title { margin-bottom: 4px; font-size: 19px; font-weight: 650; line-height: 1.3; letter-spacing: -.01em; }
.vsfy .vsfy-meta { font-size: 13px; color: var(--vsfy-muted); }
.vsfy-meta [data-vsfy-date]:not(:empty)::after { content: "·"; margin: 0 .5em; }
.vsfy .vsfy-meta a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--vsfy-line); transition: color .2s, border-color .2s; }
.vsfy .vsfy-meta a:hover { color: var(--vsfy-ink); border-color: currentColor; }

.vsfy-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.vsfy .vsfy-list {
	list-style: none; margin: 0; padding: 0;
	scrollbar-width: thin; scrollbar-color: var(--vsfy-line) transparent;
}
.vsfy .vsfy-list li { margin: 0; padding: 0; list-style: none; }
.vsfy .vsfy-list li::before, .vsfy .vsfy-list li::marker { content: none; }

.vsfy .vsfy-item { display: block; width: 100%; border-radius: var(--vsfy-radius); transition: background .2s; }
.vsfy .vsfy-item:hover { background: var(--vsfy-surface); }
.vsfy .vsfy-item.is-active { background: var(--vsfy-surface); background: color-mix(in srgb, var(--vsfy-accent) 12%, transparent); }
.vsfy-item-thumb {
	position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
	border-radius: max(0px, calc(var(--vsfy-radius) - 4px));
	background: var(--vsfy-stage);
}
.vsfy.vsfy .vsfy-item-thumb img,
.vsfy .vsfy-item-thumb .vsfy-ph {
	position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
	margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none;
	object-fit: cover; display: block; transition: transform .4s ease, filter .3s;
}
.vsfy-item:hover .vsfy-item-thumb img { transform: scale(1.05); }
.vsfy-item-thumb .vsfy-badges { left: 5px; top: 5px; }
.vsfy-item-thumb .vsfy-badge { font-size: 9px; padding: 1px 5px; }
.vsfy-item-text { display: block; min-width: 0; padding-top: 1px; }
.vsfy-item-title {
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
	font-size: 13.5px; font-weight: 600; line-height: 1.38;
}
.vsfy-item-date { display: block; margin-top: 4px; font-size: 12px; color: var(--vsfy-muted); }

/* "Now playing" equalizer. */
.vsfy-eq { display: none; gap: 2px; align-items: flex-end; height: 12px; margin-top: 6px; }
.vsfy-item.is-active .vsfy-eq { display: flex; }
.vsfy-eq i { width: 3px; height: 4px; border-radius: 2px; background: var(--vsfy-accent); background: color-mix(in srgb, var(--vsfy-accent) 72%, var(--vsfy-ink)); animation: vsfy-eq 1s ease-in-out infinite; }
.vsfy-eq i:nth-child(2) { animation-delay: .2s; }
.vsfy-eq i:nth-child(3) { animation-delay: .4s; }
.vsfy:not(.is-playing-now) .vsfy-eq i { animation-play-state: paused; }
@keyframes vsfy-eq { 0%, 100% { height: 3px; } 50% { height: 12px; } }

@container vsfy (min-width: 720px) {
	.vsfy-layout { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 24px; align-items: start; }
	.vsfy-aside { position: relative; align-self: stretch; min-height: 240px; }
	.vsfy .vsfy-list { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 3px; overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; }
	.vsfy .vsfy-list .vsfy-item { display: grid; grid-template-columns: 42% minmax(0, 1fr); gap: 12px; align-items: start; padding: 8px; }
}
@container vsfy (max-width: 719.98px) {
	.vsfy .vsfy-list { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: 8px; }
	.vsfy .vsfy-list li { flex: 0 0 clamp(150px, 42%, 220px); scroll-snap-align: start; }
	.vsfy .vsfy-list .vsfy-item { padding: 6px; }
	.vsfy-item-text { padding-top: 8px; }
}

/* ---------- Lightbox (appended to <body>) ---------- */
.vsfy-lightbox {
	--vsfy-accent: #0f2d7a;
	position: fixed; inset: 0; z-index: 999999;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	padding: 56px 72px;
	background: rgba(6, 8, 12, .88);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	color: #fff; font-family: inherit; line-height: 1.45;
	animation: vsfy-in .25s ease;
}
.vsfy-lightbox *, .vsfy-lightbox *::before, .vsfy-lightbox *::after { box-sizing: border-box; }
.vsfy-lightbox button { all: unset; box-sizing: border-box; cursor: pointer; }
.vsfy-lightbox button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.vsfy-lb-frame {
	position: relative; width: min(1100px, 100%, calc((100vh - 170px) * 16 / 9));
	aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000;
	box-shadow: 0 30px 90px rgba(0, 0, 0, .6);
	animation: vsfy-zoom .3s cubic-bezier(.2, .7, .2, 1);
}
.vsfy-lb-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vsfy-lb-title { margin: 16px 0 0; max-width: min(1100px, 100%); width: 100%; font-size: 16px; font-weight: 600; text-align: center; opacity: .92; }
.vsfy-lightbox .vsfy-lb-close,
.vsfy-lightbox .vsfy-lb-nav {
	position: absolute; display: grid; place-items: center;
	width: 46px; height: 46px; border-radius: 50%;
	background: rgba(255, 255, 255, .12); transition: background .2s, transform .2s;
}
.vsfy-lightbox .vsfy-lb-close:hover,
.vsfy-lightbox .vsfy-lb-nav:hover { background: var(--vsfy-accent); transform: scale(1.06); }
.vsfy-lightbox .vsfy-lb-close { top: 16px; right: 16px; }
.vsfy-lightbox .vsfy-lb-prev { left: 14px; top: 50%; margin-top: -23px; }
.vsfy-lightbox .vsfy-lb-next { right: 14px; top: 50%; margin-top: -23px; }
.vsfy-lightbox svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vsfy-lightbox .vsfy-consent { border-radius: 16px; }
@media (max-width: 640px) {
	.vsfy-lightbox { padding: 64px 12px 24px; }
	.vsfy-lightbox .vsfy-lb-prev, .vsfy-lightbox .vsfy-lb-next { top: auto; bottom: 16px; margin: 0; }
}
@keyframes vsfy-zoom { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
html.vsfy-lb-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
	.vsfy *, .vsfy *::before, .vsfy *::after, .vsfy-lightbox * { transition: none !important; animation: none !important; }
	.vsfy-track { scroll-behavior: auto; }
	.vsfy-facade:hover img, .vsfy-item:hover .vsfy-item-thumb img, .vsfy--hover-lift .vsfy-card:hover { transform: none; }
}
