.syrs-gallery,
.syrs-gallery * {
	box-sizing: border-box;
}

.syrs-gallery {
	--syrs-accent: #c89a43;
	--syrs-height: 100svh;
	--syrs-glass: rgba(15, 14, 13, 0.66);
	--syrs-line: rgba(255, 255, 255, 0.15);
	--syrs-progress-value: 0;
	position: relative;
	z-index: 1;
	width: 100vw;
	max-width: none !important;
	height: 100vh;
	height: var(--syrs-height);
	min-height: 580px;
	margin-inline: calc(50% - 50vw) !important;
	padding: 0 !important;
	color: #fff;
	background: #080807;
	overflow: hidden;
	isolation: isolate;
	direction: rtl;
	font-family: inherit;
	line-height: 1.4;
	-webkit-font-smoothing: antialiased;
	touch-action: pan-y;
	outline: none;
}

@supports (width: 100dvw) {
	.syrs-gallery {
		width: 100dvw;
		margin-inline: calc(50% - 50dvw) !important;
	}
}

.syrs-gallery:focus-visible {
	box-shadow: inset 0 0 0 2px var(--syrs-accent);
}

.syrs-gallery button,
.syrs-gallery a {
	font: inherit;
	letter-spacing: normal;
	text-transform: none;
}

.syrs-gallery button {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
}

.syrs-gallery img {
	margin: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
}

.syrs-gallery.is-zoomed {
	touch-action: none;
}

.syrs-gallery svg {
	display: block;
	width: 22px;
	height: 22px;
}

.syrs-gallery.is-theater,
.syrs-gallery:fullscreen,
.syrs-gallery:-webkit-full-screen {
	position: fixed !important;
	inset: 0 !important;
	z-index: 2147483000 !important;
	width: 100vw !important;
	height: 100vh !important;
	height: 100dvh !important;
	min-height: 0 !important;
	margin: 0 !important;
}

.syrs-ambient,
.syrs-shade,
.syrs-noise {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.syrs-ambient {
	z-index: -4;
	inset: -8%;
	background-position: center;
	background-size: cover;
	filter: blur(48px) saturate(0.82) brightness(0.58);
	transform: scale(1.13);
	opacity: 0.54;
	transition: background-image 700ms ease, opacity 500ms ease;
}

.syrs-no-ambient .syrs-ambient {
	display: none;
}

.syrs-shade {
	z-index: -3;
	background:
		radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.035), transparent 42%),
		linear-gradient(180deg, rgba(4, 4, 4, 0.55) 0%, rgba(4, 4, 4, 0.02) 23%, rgba(4, 4, 4, 0.08) 65%, rgba(4, 4, 4, 0.74) 100%),
		linear-gradient(90deg, rgba(4, 4, 4, 0.25), transparent 28%, transparent 72%, rgba(4, 4, 4, 0.28));
}

.syrs-noise {
	z-index: -2;
	opacity: 0.035;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
	mix-blend-mode: soft-light;
}

.syrs-topbar {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 14;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 84px;
	padding: 18px 28px 14px 112px;
	transition: opacity 350ms ease, transform 350ms ease;
}

.syrs-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.syrs-brand-mark {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 43px;
	height: 43px;
	border: 1px solid color-mix(in srgb, var(--syrs-accent) 70%, transparent);
	border-radius: 50%;
	font-family: Georgia, serif;
	font-size: 17px;
	font-style: italic;
	font-weight: 700;
	letter-spacing: -1.5px;
	color: #f0d49a;
	background: rgba(10, 10, 9, 0.38);
	box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.03), 0 8px 24px rgba(0, 0, 0, 0.16);
	backdrop-filter: blur(10px);
}

@supports not (color: color-mix(in srgb, red 50%, blue)) {
	.syrs-brand-mark {
		border-color: rgba(200, 154, 67, 0.7);
	}
}

.syrs-brand-copy {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.syrs-brand-copy strong {
	max-width: min(48vw, 620px);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 15px;
	font-weight: 650;
	letter-spacing: 0.01em;
	color: rgba(255, 255, 255, 0.96);
}

.syrs-brand-copy small {
	margin-top: 2px;
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 0.18em;
	color: rgba(255, 255, 255, 0.48);
	direction: ltr;
	text-align: right;
}

.syrs-top-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 38px;
	padding: 8px 13px;
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.74);
	background: rgba(8, 8, 7, 0.3);
	backdrop-filter: blur(11px);
	font-size: 10px;
	letter-spacing: 0.09em;
	direction: ltr;
}

.syrs-resolution {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	white-space: nowrap;
}

.syrs-divider {
	width: 1px;
	height: 14px;
	background: rgba(255, 255, 255, 0.17);
}

.syrs-counter {
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
	font-style: normal;
}

.syrs-counter b {
	font-size: 13px;
	font-weight: 700;
	color: var(--syrs-accent);
}

.syrs-counter i {
	font-style: normal;
	color: rgba(255, 255, 255, 0.3);
}

.syrs-stage,
.syrs-slides,
.syrs-slide {
	position: absolute;
	inset: 0;
}

.syrs-stage {
	z-index: 2;
}

.syrs-slides {
	overflow: hidden;
}

.syrs-slide {
	z-index: 0;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 760ms cubic-bezier(0.22, 1, 0.36, 1), visibility 760ms step-end;
}

.syrs-slide.is-active {
	z-index: 2;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transition: opacity 760ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0ms step-start;
}

.syrs-media,
.syrs-image-viewport {
	position: absolute;
}

.syrs-media {
	inset: 0;
	transform: scale(1.018);
	transition: transform 1200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.syrs-slide.is-active .syrs-media {
	transform: scale(1);
}

.syrs-image-viewport {
	inset: 82px 104px 108px 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 0;
	cursor: zoom-in;
	overflow: hidden;
}

.syrs-no-thumbs .syrs-image-viewport {
	inset-inline: 24px;
}

.syrs-image {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-position: center;
	opacity: 0;
	filter: blur(9px);
	transform: translate3d(0, 0, 0) scale(1);
	transform-origin: center center;
	transition: opacity 420ms ease, filter 650ms ease, transform 220ms ease;
	will-change: transform;
	-webkit-user-drag: none;
	user-select: none;
}

.syrs-fit-contain .syrs-image {
	object-fit: contain;
}

.syrs-fit-cover .syrs-image {
	object-fit: cover;
}

.syrs-image.is-loaded {
	opacity: 1;
	filter: none;
}

.syrs-gallery.is-zoomed .syrs-image-viewport {
	cursor: grab;
}

.syrs-gallery.is-dragging .syrs-image-viewport {
	cursor: grabbing;
}

.syrs-loader {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 34px;
	height: 34px;
	margin: -17px 0 0 -17px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-top-color: var(--syrs-accent);
	border-radius: 50%;
	animation: syrs-spin 800ms linear infinite;
	transition: opacity 250ms ease;
}

.syrs-image.is-loaded + .syrs-loader {
	opacity: 0;
}

@keyframes syrs-spin {
	to { transform: rotate(360deg); }
}

.syrs-caption {
	position: absolute;
	right: 122px;
	bottom: 116px;
	z-index: 5;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	max-width: min(560px, 46vw);
	padding: 16px 18px 16px 20px;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 14px;
	color: #fff;
	background: rgba(12, 11, 10, 0.58);
	box-shadow: 0 14px 44px rgba(0, 0, 0, 0.22);
	backdrop-filter: blur(16px) saturate(0.8);
	transform: translateY(13px);
	opacity: 0;
	transition: opacity 500ms ease 220ms, transform 600ms cubic-bezier(0.16, 1, 0.3, 1) 220ms;
}

.syrs-slide.is-active .syrs-caption {
	transform: translateY(0);
	opacity: 1;
}

.syrs-caption-index {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(200, 154, 67, 0.7);
	border-radius: 50%;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--syrs-accent);
	direction: ltr;
}

.syrs-caption h2 {
	margin: 0;
	font-size: clamp(18px, 1.55vw, 28px);
	font-weight: 620;
	line-height: 1.2;
	color: #f7e6c3;
}

.syrs-caption p {
	margin: 6px 0 0;
	font-size: 12px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.73);
}

.syrs-gallery.syrs-info-hidden .syrs-caption {
	opacity: 0 !important;
	transform: translateY(12px) !important;
	pointer-events: none;
}

.syrs-nav {
	position: absolute;
	top: 50%;
	z-index: 12;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-top: -26px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 50%;
	color: rgba(255, 255, 255, 0.9);
	background: rgba(9, 9, 8, 0.43);
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
	backdrop-filter: blur(12px);
	cursor: pointer;
	transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease, opacity 280ms ease;
}

.syrs-nav-previous {
	right: 112px;
}

.syrs-nav-next {
	left: 26px;
}

.syrs-no-thumbs .syrs-nav-previous {
	right: 26px;
}

.syrs-nav:hover,
.syrs-nav:focus-visible {
	border-color: var(--syrs-accent);
	color: var(--syrs-accent);
	background: rgba(9, 9, 8, 0.72);
	transform: scale(1.06);
	outline: none;
}

.syrs-nav:active {
	transform: scale(0.97);
}

.syrs-nav:disabled {
	opacity: 0.22;
	cursor: default;
	pointer-events: none;
}

.syrs-single .syrs-nav,
.syrs-single .syrs-play-toggle {
	display: none;
}

.syrs-thumbnails {
	position: absolute;
	top: 88px;
	right: 18px;
	bottom: 108px;
	z-index: 15;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 9px;
	width: 72px;
	padding: 5px;
	overflow-x: hidden;
	overflow-y: auto;
	scroll-snap-type: y proximity;
	scrollbar-width: none;
	transition: opacity 320ms ease, transform 320ms ease;
}

.syrs-thumbnails::-webkit-scrollbar {
	display: none;
}

.syrs-thumb {
	position: relative;
	flex: 0 0 auto;
	width: 62px;
	height: 62px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.28);
	box-shadow: 0 5px 18px rgba(0, 0, 0, 0.15);
	overflow: hidden;
	cursor: pointer;
	scroll-snap-align: center;
	opacity: 0.52;
	transform: scale(0.94);
	transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.syrs-thumb img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	filter: saturate(0.72) brightness(0.82);
	transition: filter 180ms ease, transform 350ms ease;
}

.syrs-thumb span {
	position: absolute;
	left: 4px;
	bottom: 4px;
	display: grid;
	place-items: center;
	min-width: 20px;
	height: 18px;
	padding: 0 4px;
	border-radius: 999px;
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: #fff;
	background: rgba(0, 0, 0, 0.66);
	direction: ltr;
}

.syrs-thumb:hover,
.syrs-thumb:focus-visible {
	opacity: 0.88;
	transform: scale(1);
	outline: none;
}

.syrs-thumb.is-active {
	border-color: var(--syrs-accent);
	box-shadow: 0 0 0 1px var(--syrs-accent), 0 9px 24px rgba(0, 0, 0, 0.24);
	opacity: 1;
	transform: scale(1);
}

.syrs-thumb.is-active img {
	filter: none;
	transform: scale(1.045);
}

.syrs-gallery.syrs-thumbs-hidden .syrs-thumbnails {
	opacity: 0;
	transform: translateX(24px);
	pointer-events: none;
}

.syrs-gallery.syrs-thumbs-hidden .syrs-image-viewport {
	inset-inline-end: 24px;
}

.syrs-gallery.syrs-thumbs-hidden .syrs-caption {
	right: 34px;
}

.syrs-gallery.syrs-thumbs-hidden .syrs-nav-previous {
	right: 26px;
}

.syrs-controls {
	position: absolute;
	left: 50%;
	bottom: max(22px, env(safe-area-inset-bottom));
	z-index: 22;
	display: flex;
	align-items: center;
	gap: 5px;
	max-width: calc(100% - 32px);
	padding: 6px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	background: var(--syrs-glass);
	box-shadow: 0 14px 42px rgba(0, 0, 0, 0.28);
	backdrop-filter: blur(18px) saturate(0.8);
	transform: translateX(-50%);
	transition: opacity 350ms ease, transform 350ms ease;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
}

.syrs-controls::-webkit-scrollbar {
	display: none;
}

.syrs-control {
	position: relative;
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	color: rgba(255, 255, 255, 0.78);
	background: transparent;
	text-decoration: none !important;
	cursor: pointer;
	transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.syrs-control:hover,
.syrs-control:focus-visible {
	color: #fff;
	background: rgba(255, 255, 255, 0.11);
	transform: translateY(-1px);
	outline: none;
}

.syrs-control[aria-pressed="true"] {
	color: var(--syrs-accent);
	background: rgba(200, 154, 67, 0.12);
}

.syrs-control::after {
	content: attr(data-tooltip);
	position: absolute;
	bottom: calc(100% + 10px);
	left: 50%;
	z-index: 30;
	padding: 5px 8px;
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: 6px;
	color: rgba(255, 255, 255, 0.88);
	background: rgba(8, 8, 7, 0.9);
	box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2);
	font-size: 10px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	transform: translate(-50%, 5px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 140ms ease, transform 140ms ease, visibility 140ms;
}

.syrs-control:hover::after,
.syrs-control:focus-visible::after {
	transform: translate(-50%, 0);
	opacity: 1;
	visibility: visible;
}

.syrs-icon-pause,
.syrs-icon-exit-fullscreen {
	display: none;
}

.syrs-gallery.is-playing .syrs-icon-play {
	display: none;
}

.syrs-gallery.is-playing .syrs-icon-pause {
	display: block;
}

.syrs-gallery.is-fullscreen .syrs-icon-enter-fullscreen {
	display: none;
}

.syrs-gallery.is-fullscreen .syrs-icon-exit-fullscreen {
	display: block;
}

.syrs-progress {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 24;
	height: 2px;
	background: rgba(255, 255, 255, 0.08);
	overflow: hidden;
}

.syrs-progress span {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, var(--syrs-accent), #f0d9aa);
	box-shadow: 0 0 12px color-mix(in srgb, var(--syrs-accent) 70%, transparent);
	transform: scaleX(var(--syrs-progress-value));
	transform-origin: right center;
	will-change: transform;
}

.syrs-overview {
	position: absolute;
	inset: 0;
	z-index: 80;
	display: flex;
	flex-direction: column;
	padding: 28px clamp(18px, 4vw, 64px) 36px;
	color: #fff;
	background:
		radial-gradient(circle at 80% 0%, rgba(200, 154, 67, 0.12), transparent 34%),
		rgba(7, 7, 7, 0.96);
	backdrop-filter: blur(24px);
	opacity: 0;
	visibility: hidden;
	transform: scale(1.015);
	pointer-events: none;
	transition: opacity 300ms ease, visibility 300ms, transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.syrs-gallery.is-overview-open .syrs-overview {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
	pointer-events: auto;
}

.syrs-overview-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.syrs-overview-header small {
	display: block;
	margin-bottom: 4px;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.24em;
	color: var(--syrs-accent);
	direction: ltr;
	text-align: right;
}

.syrs-overview-header h2 {
	margin: 0;
	font-size: clamp(25px, 3vw, 44px);
	font-weight: 500;
	color: #f3dfb8;
}

.syrs-overview-close {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 50%;
	color: #fff;
	background: transparent;
	cursor: pointer;
	transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.syrs-overview-close:hover,
.syrs-overview-close:focus-visible {
	border-color: var(--syrs-accent);
	color: var(--syrs-accent);
	transform: rotate(4deg);
	outline: none;
}

.syrs-overview-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-top: 22px;
	padding: 0 2px 12px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: rgba(200, 154, 67, 0.55) rgba(255, 255, 255, 0.06);
}

.syrs-overview-item {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: 12px;
	color: #fff;
	background: rgba(255, 255, 255, 0.025);
	text-align: right;
	overflow: hidden;
	cursor: pointer;
	transition: border-color 180ms ease, transform 220ms ease, background 180ms ease;
}

.syrs-overview-item:hover,
.syrs-overview-item:focus-visible {
	border-color: rgba(200, 154, 67, 0.68);
	background: rgba(200, 154, 67, 0.05);
	transform: translateY(-3px);
	outline: none;
}

.syrs-overview-item.is-active {
	border-color: var(--syrs-accent);
	box-shadow: inset 0 0 0 1px var(--syrs-accent);
}

.syrs-overview-image {
	display: block;
	aspect-ratio: 16 / 10;
	background: #121211;
	overflow: hidden;
}

.syrs-overview-image img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	filter: saturate(0.78) brightness(0.82);
	transition: filter 250ms ease, transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.syrs-overview-item:hover img,
.syrs-overview-item:focus-visible img,
.syrs-overview-item.is-active img {
	filter: none;
	transform: scale(1.035);
}

.syrs-overview-copy {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	padding: 11px 12px;
}

.syrs-overview-copy b {
	font-size: 10px;
	color: var(--syrs-accent);
	direction: ltr;
}

.syrs-overview-copy em {
	overflow: hidden;
	font-size: 12px;
	font-style: normal;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.78);
}

.syrs-toast {
	position: absolute;
	left: 50%;
	bottom: 88px;
	z-index: 90;
	padding: 8px 12px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.88);
	background: rgba(8, 8, 7, 0.78);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
	backdrop-filter: blur(12px);
	font-size: 11px;
	transform: translate(-50%, 8px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
}

.syrs-toast.is-visible {
	transform: translate(-50%, 0);
	opacity: 1;
	visibility: visible;
}

.syrs-sr-live {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.syrs-gallery.is-idle .syrs-topbar,
.syrs-gallery.is-idle .syrs-controls {
	opacity: 0;
	pointer-events: none;
}

.syrs-gallery.is-idle .syrs-topbar {
	transform: translateY(-14px);
}

.syrs-gallery.is-idle .syrs-controls {
	transform: translate(-50%, 14px);
}

.syrs-gallery.is-idle .syrs-thumbnails {
	opacity: 0;
	transform: translateX(18px);
	pointer-events: none;
}

.syrs-gallery.is-idle .syrs-nav {
	opacity: 0;
	pointer-events: none;
}

.syrs-frontend-notice {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 14px 16px;
	border-inline-start: 4px solid #c89a43;
	color: #2a241b;
	background: #fff8e8;
	font-size: 13px;
}

.syrs-frontend-notice strong {
	white-space: nowrap;
}

@media (max-width: 1100px) {
	.syrs-overview-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.syrs-caption {
		max-width: 52vw;
	}
}

@media (max-width: 782px) {
	.syrs-gallery {
		min-height: 540px;
		touch-action: pan-y pinch-zoom;
	}

	.syrs-topbar {
		min-height: 72px;
		padding: 12px 15px;
	}

	.syrs-brand-mark {
		width: 37px;
		height: 37px;
		font-size: 15px;
	}

	.syrs-brand-copy strong {
		max-width: 53vw;
		font-size: 13px;
	}

	.syrs-brand-copy small {
		font-size: 7px;
		letter-spacing: 0.12em;
	}

	.syrs-top-meta {
		min-height: 34px;
		padding: 6px 9px;
	}

	.syrs-resolution,
	.syrs-divider {
		display: none;
	}

	.syrs-image-viewport {
		inset: 72px 12px 172px;
	}

	.syrs-no-thumbs .syrs-image-viewport,
	.syrs-gallery.syrs-thumbs-hidden .syrs-image-viewport {
		inset: 72px 12px 106px;
	}

	.syrs-caption,
	.syrs-gallery.syrs-thumbs-hidden .syrs-caption {
		right: 15px;
		left: 15px;
		bottom: 158px;
		max-width: none;
		padding: 12px 13px;
		border-radius: 11px;
	}

	.syrs-no-thumbs .syrs-caption,
	.syrs-gallery.syrs-thumbs-hidden .syrs-caption {
		bottom: 96px;
	}

	.syrs-caption-index {
		width: 29px;
		height: 29px;
	}

	.syrs-caption h2 {
		font-size: 17px;
	}

	.syrs-caption p {
		display: -webkit-box;
		overflow: hidden;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		font-size: 11px;
	}

	.syrs-nav {
		width: 44px;
		height: 44px;
		margin-top: -22px;
	}

	.syrs-nav svg {
		width: 19px;
		height: 19px;
	}

	.syrs-nav-previous,
	.syrs-no-thumbs .syrs-nav-previous,
	.syrs-gallery.syrs-thumbs-hidden .syrs-nav-previous {
		right: 12px;
	}

	.syrs-nav-next {
		left: 12px;
	}

	.syrs-thumbnails {
		top: auto;
		right: 10px;
		bottom: 86px;
		left: 10px;
		flex-direction: row;
		justify-content: flex-start;
		width: auto;
		height: 66px;
		padding: 3px;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x proximity;
	}

	.syrs-thumb {
		width: 58px;
		height: 58px;
	}

	.syrs-gallery.syrs-thumbs-hidden .syrs-thumbnails,
	.syrs-gallery.is-idle .syrs-thumbnails {
		transform: translateY(15px);
	}

	.syrs-controls {
		bottom: max(13px, env(safe-area-inset-bottom));
		gap: 2px;
		max-width: calc(100% - 20px);
		padding: 5px;
		border-radius: 18px;
	}

	.syrs-control {
		width: 39px;
		height: 39px;
	}

	.syrs-control svg {
		width: 20px;
		height: 20px;
	}

	.syrs-control::after {
		display: none;
	}

	.syrs-overview {
		padding: 18px 13px 24px;
	}

	.syrs-overview-header {
		padding-bottom: 14px;
	}

	.syrs-overview-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
		margin-top: 14px;
	}

	.syrs-overview-copy {
		padding: 8px 9px;
	}

	.syrs-overview-copy em {
		font-size: 10px;
	}

	.syrs-toast {
		bottom: 73px;
	}
}

@media (max-width: 430px) {
	.syrs-brand-copy small {
		display: none;
	}

	.syrs-brand-copy strong {
		max-width: 50vw;
	}

	.syrs-top-meta {
		padding-inline: 8px;
	}

	.syrs-caption-index {
		display: none;
	}

	.syrs-caption {
		grid-template-columns: 1fr;
	}

	.syrs-control {
		width: 37px;
		height: 37px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.syrs-gallery *,
	.syrs-gallery *::before,
	.syrs-gallery *::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
