/**
 * CYT Gallery — Frontend
 * Identity: deep charcoal + gold (Captain Younes Tours)
 */

.cytg {
	--cytg-gold: #e8c76a;
	--cytg-gold-mid: #c9a227;
	--cytg-gold-deep: #6b4500;
	--cytg-ink: #1a1200;
	--cytg-surface: rgba(12, 14, 18, 0.55);
	--cytg-text: #f5f0e6;
	--cytg-muted: rgba(245, 240, 230, 0.65);
	--cytg-radius: 16px;
	--cytg-gap: 14px;
	--cytg-btn-gold: linear-gradient(
		135deg,
		#6b4500 0%,
		#9d7a54 12%,
		#ffe27a 28%,
		#ffd700 50%,
		#c9a227 72%,
		#8b6914 88%,
		#6b4500 100%
	);

	max-width: 1180px;
	margin: 1.5rem auto 2.5rem;
	padding: 0 1rem;
	box-sizing: border-box;
	color: var(--cytg-text);
	font-family: Georgia, 'Times New Roman', 'Palatino Linotype', Palatino, serif;
}

.cytg *,
.cytg *::before,
.cytg *::after {
	box-sizing: border-box;
}

.cytg--gap-sm { --cytg-gap: 8px; }
.cytg--gap-md { --cytg-gap: 14px; }
.cytg--gap-lg { --cytg-gap: 22px; }

/* ── Grid ─────────────────────────────────────────────────────────────── */
.cytg-grid {
	display: grid;
	gap: var(--cytg-gap);
	grid-template-columns: 1fr;
}

.cytg--cols-1 .cytg-grid { grid-template-columns: 1fr; }
.cytg--cols-2 .cytg-grid { grid-template-columns: repeat(2, 1fr); }
.cytg--cols-3 .cytg-grid { grid-template-columns: repeat(2, 1fr); }
.cytg--cols-4 .cytg-grid { grid-template-columns: repeat(2, 1fr); }
.cytg--cols-5 .cytg-grid { grid-template-columns: repeat(2, 1fr); }
.cytg--cols-6 .cytg-grid { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 720px) {
	.cytg--cols-3 .cytg-grid { grid-template-columns: repeat(3, 1fr); }
	.cytg--cols-4 .cytg-grid { grid-template-columns: repeat(3, 1fr); }
	.cytg--cols-5 .cytg-grid { grid-template-columns: repeat(3, 1fr); }
	.cytg--cols-6 .cytg-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
	.cytg--cols-4 .cytg-grid { grid-template-columns: repeat(4, 1fr); }
	.cytg--cols-5 .cytg-grid { grid-template-columns: repeat(5, 1fr); }
	.cytg--cols-6 .cytg-grid { grid-template-columns: repeat(6, 1fr); }
}

/* ── Item ─────────────────────────────────────────────────────────────── */
.cytg-item {
	appearance: none;
	border: 1px solid rgba(226, 197, 106, 0.42);
	margin: 0;
	padding: 0;
	display: block;
	width: 100%;
	text-align: left;
	position: relative;
	overflow: hidden;
	border-radius: var(--cytg-radius);
	background: rgba(255, 255, 255, 0.04);
	cursor: default;
	color: inherit;
	box-shadow:
		0 14px 32px rgba(0, 0, 0, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.16);
	isolation: isolate;
	transform: translateZ(0);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.cytg-item--open {
	cursor: pointer;
}

.cytg-item--open:hover,
.cytg-item--open:focus-visible {
	transform: translateY(-4px) scale(1.012);
	border-color: rgba(255, 226, 140, 0.85);
	box-shadow:
		0 18px 40px rgba(0, 0, 0, 0.4),
		0 0 0 1px rgba(226, 197, 106, 0.35),
		0 0 28px rgba(226, 197, 106, 0.18);
	outline: none;
}

.cytg-item__frame {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #0a0c10;
}

.cytg-item__frame::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
	box-shadow:
		inset 0 0 0 1px rgba(226, 197, 106, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.cytg-item__frame img,
.cytg-item__poster {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.cytg-item__poster--empty {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 160px;
	background:
		radial-gradient(ellipse at 30% 20%, rgba(232, 199, 106, 0.22), transparent 55%),
		linear-gradient(145deg, #12161c 0%, #0a0c10 100%);
}

.cytg-item__play {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.cytg-item__play svg {
	width: 52px;
	height: 52px;
	padding: 12px 10px 12px 14px;
	border-radius: 50%;
	color: var(--cytg-ink);
	background-image: var(--cytg-btn-gold);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
	border: 1px solid rgba(232, 199, 106, 0.55);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cytg-item--video:hover .cytg-item__play svg,
.cytg-item--video:focus-visible .cytg-item__play svg {
	transform: scale(1.08);
	box-shadow: 0 12px 36px rgba(232, 199, 106, 0.35);
}

.cytg-item--open:hover .cytg-item__frame img,
.cytg-item--open:focus-visible .cytg-item__frame img {
	transform: scale(1.06);
}

.cytg-item__shine {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(135deg, rgba(255, 215, 0, 0.12) 0%, transparent 42%, transparent 100%);
	opacity: 0;
	transition: opacity 0.35s ease;
	z-index: 2;
}

.cytg-item--open:hover .cytg-item__shine {
	opacity: 1;
}

.cytg-item__caption {
	position: absolute;
	left: 8px;
	right: auto;
	bottom: 8px;
	max-width: calc(100% - 16px);
	padding: 0.38rem 0.7rem;
	border-radius: 999px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(8, 12, 22, 0.38));
	border: 1px solid rgba(255, 255, 255, 0.28);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.35),
		0 8px 18px rgba(0, 0, 0, 0.22);
	backdrop-filter: blur(12px) saturate(1.25);
	-webkit-backdrop-filter: blur(12px) saturate(1.25);
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	z-index: 4;
	font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.cytg-item__title {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--cytg-gold);
	line-height: 1.25;
}

.cytg-item__desc {
	font-size: 0.75rem;
	color: var(--cytg-muted);
	line-height: 1.35;
}

/* Enter animation for newly loaded items */
.cytg-item.is-enter {
	animation: cytg-fade-up 0.45s ease both;
}

@keyframes cytg-fade-up {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.cytg-item,
	.cytg-item__frame img,
	.cytg-item.is-enter {
		transition: none !important;
		animation: none !important;
	}
}

/* ── Pagination (site gold CTA style) ─────────────────────────────────── */
.cytg-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.55rem;
	margin-top: 1.75rem;
	padding: 0.25rem 0 0.5rem;
}

.cytg-page {
	appearance: none;
	min-width: 42px;
	height: 42px;
	padding: 0 0.85rem;
	border-radius: 999px;
	border: 1px solid rgba(226, 197, 106, 0.45);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
	background-color: rgba(255, 255, 255, 0.06);
	color: #f6e7b2;
	font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	cursor: pointer;
	backdrop-filter: blur(12px) saturate(1.2);
	-webkit-backdrop-filter: blur(12px) saturate(1.2);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.28),
		0 6px 16px rgba(0, 0, 0, 0.18);
	transition:
		background 0.22s ease,
		background-image 0.22s ease,
		color 0.22s ease,
		border-color 0.22s ease,
		box-shadow 0.22s ease,
		transform 0.22s ease;
}

.cytg-page:hover,
.cytg-page:focus-visible {
	background: rgba(232, 199, 106, 0.18);
	border-color: rgba(255, 215, 0, 0.65);
	color: #ffe27a;
	outline: none;
	transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(201, 168, 76, 0.28);
}

.cytg-page.is-active {
	background-image: var(--cytg-btn-gold);
	background-color: #c9a227;
	color: var(--cytg-ink);
	border-color: transparent;
	box-shadow: 0 4px 14px rgba(107, 69, 0, 0.4);
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}

.cytg-page.is-active:hover,
.cytg-page.is-active:focus-visible {
	filter: brightness(1.06);
	color: var(--cytg-ink);
}

.cytg-page--prev,
.cytg-page--next {
	min-width: auto;
	padding: 0 1.2rem;
	height: 44px;
	border-radius: 999px;
	border: 1px solid rgba(226, 197, 106, 0.7);
	background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(226, 197, 106, 0.1));
	background-color: rgba(255, 255, 255, 0.08);
	color: #f8e7b0;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.35),
		0 8px 18px rgba(0, 0, 0, 0.22);
}

.cytg-page--prev:hover,
.cytg-page--next:hover,
.cytg-page--prev:focus-visible,
.cytg-page--next:focus-visible {
	background-image: linear-gradient(180deg, rgba(255, 236, 170, 0.28), rgba(226, 197, 106, 0.16));
	color: #fff6d4;
	border-color: rgba(255, 226, 140, 0.95);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.45),
		0 8px 22px rgba(226, 197, 106, 0.22);
	transform: translateY(-1px);
}

.cytg-page:disabled,
.cytg-page--prev:disabled,
.cytg-page--next:disabled {
	opacity: 0.38;
	cursor: not-allowed;
	transform: none;
	filter: grayscale(0.25);
	box-shadow: none;
}

/* ── Load more ────────────────────────────────────────────────────────── */
.cytg-more-wrap {
	display: flex;
	justify-content: center;
	margin-top: 1.6rem;
}

.cytg-btn {
	appearance: none;
	border: 0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	padding: 0.75rem 1.55rem;
	border-radius: 12px;
	background-image: var(--cytg-btn-gold);
	color: var(--cytg-ink);
	font-family: system-ui, sans-serif;
	font-weight: 800;
	font-size: 0.88rem;
	letter-spacing: 0.02em;
	box-shadow: 0 4px 14px rgba(107, 69, 0, 0.35);
	transition: filter 0.2s ease, transform 0.2s ease;
}

.cytg-btn:hover,
.cytg-btn:focus-visible {
	filter: brightness(1.06);
	transform: translateY(-1px);
	outline: none;
}

.cytg-btn:disabled {
	opacity: 0.55;
	cursor: wait;
	transform: none;
}

.cytg-btn__spinner {
	width: 16px;
	height: 16px;
	border: 2px solid rgba(26, 18, 0, 0.25);
	border-top-color: var(--cytg-ink);
	border-radius: 50%;
	animation: cytg-spin 0.7s linear infinite;
}

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

/* ── Infinite loader ──────────────────────────────────────────────────── */
.cytg-sentinel {
	display: flex;
	justify-content: center;
	padding: 1.25rem 0 0.5rem;
	min-height: 48px;
}

.cytg-loader {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	color: var(--cytg-gold);
	font-family: system-ui, sans-serif;
	font-size: 0.82rem;
}

.cytg-loader__ring {
	width: 22px;
	height: 22px;
	border: 2px solid rgba(232, 199, 106, 0.25);
	border-top-color: var(--cytg-gold);
	border-radius: 50%;
	animation: cytg-spin 0.75s linear infinite;
}

/* ── Carousel ─────────────────────────────────────────────────────────── */
.cytg-carousel {
	position: relative;
	display: grid;
	grid-template-columns: 44px 1fr 44px;
	align-items: center;
	gap: 0.5rem;
}

.cytg-carousel__track-wrap {
	overflow: hidden;
	border-radius: calc(var(--cytg-radius) + 4px);
	border: 1px solid rgba(232, 199, 106, 0.28);
	background: rgba(8, 10, 14, 0.75);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.cytg-carousel__track {
	display: flex;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
	touch-action: pan-y;
}

.cytg-carousel__slide {
	flex: 0 0 100%;
	margin: 0;
	min-width: 0;
}

.cytg-carousel__slide .cytg-item {
	border-radius: 0;
	box-shadow: none;
}

.cytg-carousel__slide .cytg-item__frame {
	aspect-ratio: 16 / 9;
}

.cytg-carousel__btn {
	appearance: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(232, 199, 106, 0.4);
	background: rgba(12, 14, 18, 0.85);
	color: var(--cytg-gold);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	padding: 0;
}

.cytg-carousel__btn:hover,
.cytg-carousel__btn:focus-visible {
	background: var(--cytg-btn-gold);
	color: var(--cytg-ink);
	border-color: transparent;
	box-shadow: 0 4px 14px rgba(107, 69, 0, 0.35);
	outline: none;
}

.cytg-carousel__dots {
	grid-column: 1 / -1;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 0.85rem;
}

.cytg-dot {
	appearance: none;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	background: rgba(232, 199, 106, 0.28);
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease;
}

.cytg-dot.is-active {
	background: var(--cytg-gold);
	transform: scale(1.25);
}

@media (max-width: 640px) {
	.cytg-carousel {
		grid-template-columns: 1fr;
	}
	.cytg-carousel__btn {
		position: absolute;
		z-index: 4;
		top: 42%;
		width: 38px;
		height: 38px;
	}
	.cytg-carousel__btn--prev { left: 8px; }
	.cytg-carousel__btn--next { right: 8px; }
	.cytg-carousel__dots { margin-top: 0.65rem; }
}

/* ── Lightbox ─────────────────────────────────────────────────────────── */
.cytg-lb {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	background: rgba(8, 12, 22, 0.62);
	backdrop-filter: blur(18px) saturate(1.2);
	-webkit-backdrop-filter: blur(18px) saturate(1.2);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.28s ease, visibility 0.28s ease;
}

.cytg-lb.is-open {
	opacity: 1;
	visibility: visible;
}

.cytg-lb__dialog {
	position: relative;
	max-width: min(1100px, 96vw);
	max-height: 92vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
}

.cytg-lb__stage {
	position: relative;
	width: 100%;
	display: flex;
	justify-content: center;
}

.cytg-lb__img-wrap,
.cytg-lb__player-frame {
	position: relative;
	max-height: 78vh;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid rgba(232, 199, 106, 0.3);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
	background: #0a0c10;
}

.cytg-lb__img-wrap img {
	display: block;
	max-width: 92vw;
	max-height: 78vh;
	width: auto;
	height: auto;
	object-fit: contain;
}

.cytg-lb__player {
	width: min(1100px, 96vw);
}

.cytg-lb__player-frame {
	isolation: isolate;
	background:
		radial-gradient(ellipse at 50% 0%, rgba(232, 199, 106, 0.12), transparent 55%),
		#07090d;
}

.cytg-lb__player-ring {
	position: absolute;
	inset: 0;
	pointer-events: none;
	border-radius: inherit;
	box-shadow:
		inset 0 0 0 1px rgba(232, 199, 106, 0.22),
		inset 0 0 40px rgba(232, 199, 106, 0.06);
	z-index: 2;
}

.cytg-lb__video {
	display: block;
	width: 100%;
	max-width: 96vw;
	max-height: 78vh;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: contain;
	background: #000;
	vertical-align: middle;
}

.cytg-lb--video .cytg-lb__dialog {
	max-width: min(1100px, 96vw);
}

.cytg-lb__video::-webkit-media-controls-panel {
	background: linear-gradient(180deg, transparent 0%, rgba(8, 10, 14, 0.85) 100%);
}

.cytg-lb__caption {
	text-align: center;
	max-width: 640px;
	font-family: system-ui, sans-serif;
}

.cytg-lb__title {
	display: block;
	color: var(--cytg-gold);
	font-family: Georgia, serif;
	font-size: 1.1rem;
	font-weight: 700;
}

.cytg-lb__desc {
	display: block;
	margin-top: 0.25rem;
	color: var(--cytg-muted);
	font-size: 0.85rem;
}

.cytg-lb__counter {
	color: rgba(245, 240, 230, 0.45);
	font-size: 0.75rem;
	font-family: system-ui, sans-serif;
}

.cytg-lb__close,
.cytg-lb__nav {
	appearance: none;
	border: 1px solid rgba(226, 197, 106, 0.7);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(8, 12, 22, 0.35));
	color: #f6e7b2;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(12px) saturate(1.2);
	-webkit-backdrop-filter: blur(12px) saturate(1.2);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.32),
		0 8px 20px rgba(0, 0, 0, 0.28);
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cytg-lb__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	z-index: 5;
	font-size: 1.4rem;
	line-height: 1;
}

.cytg-lb__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	border-radius: 50%;
	z-index: 5;
}

.cytg-lb__nav--prev { left: 10px; }
.cytg-lb__nav--next { right: 10px; }

.cytg-lb__close:hover,
.cytg-lb__nav:hover,
.cytg-lb__close:focus-visible,
.cytg-lb__nav:focus-visible {
	background: linear-gradient(180deg, rgba(255, 236, 170, 0.34), rgba(226, 197, 106, 0.16));
	color: #fff8dc;
	border-color: rgba(255, 226, 140, 0.95);
	outline: none;
}

.cytg-empty {
	text-align: center;
	opacity: 0.7;
	padding: 2rem 1rem;
}

body.cytg-lb-open {
	overflow: hidden;
}

/* ── Category carousel ────────────────────────────────────────────────── */
.cytg-cats__bar {
	display: flex;
	justify-content: flex-end;
	gap: 0.4rem;
	margin: 0 0 0.65rem;
}

.cytg-cats__nav,
.cytg-back {
	appearance: none;
	border: 1px solid rgba(226, 197, 106, 0.55);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(8, 12, 22, 0.35));
	color: #f6e7b2;
	cursor: pointer;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.cytg-cats__nav {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.cytg-cats__nav:hover,
.cytg-cats__nav:focus-visible,
.cytg-back:hover,
.cytg-back:focus-visible {
	border-color: rgba(255, 226, 140, 0.95);
	color: #fff8dc;
	outline: none;
}

.cytg-cats__scroller {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 2px;
	padding: 4px 2px 18px;
	scrollbar-width: thin;
	scrollbar-color: rgba(226, 197, 106, 0.45) transparent;
}

.cytg-cat {
	appearance: none;
	flex: 0 0 min(78vw, 270px);
	height: 340px;
	margin: 0;
	padding: 0;
	position: relative;
	overflow: hidden;
	scroll-snap-align: start;
	border-radius: 18px;
	border: 1px solid rgba(226, 197, 106, 0.42);
	background: #0c121c;
	color: #fff;
	text-align: left;
	cursor: pointer;
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

@media (min-width: 900px) {
	.cytg-cat {
		flex-basis: 280px;
		height: 360px;
	}
}

.cytg-cat:hover,
.cytg-cat:focus-visible {
	transform: translateY(-4px);
	border-color: rgba(255, 226, 140, 0.9);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(226, 197, 106, 0.16);
	outline: none;
}

.cytg-cat__media,
.cytg-cat__shade {
	position: absolute;
	inset: 0;
	display: block;
}

.cytg-cat__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transform: scale(1.01);
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.cytg-cat:hover .cytg-cat__media img,
.cytg-cat:focus-visible .cytg-cat__media img {
	transform: scale(1.07);
}

.cytg-cat__shade {
	background: linear-gradient(180deg, rgba(8, 12, 20, 0.05) 35%, rgba(8, 12, 20, 0.88) 100%);
}

.cytg-cat__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 1rem 1rem 1.05rem;
}

.cytg-cat__title {
	font-size: 1.15rem;
	line-height: 1.2;
	font-weight: 700;
}

.cytg-cat__count {
	font-family: inherit;
	font-size: 0.75rem;
	letter-spacing: 0.04em;
	color: #e8c76a;
}

.cytg-album {
	animation: cytg-album-in 0.35s ease;
}

.cytg-back {
	display: inline-flex;
	align-items: center;
	margin: 0 0 0.85rem;
	padding: 0.4rem 0.85rem;
	border-radius: 999px;
	font-family: inherit;
	font-size: 0.82rem;
	font-weight: 700;
}

.cytg-back::before {
	content: '←';
	margin-right: 0.4rem;
}

.cytg-album__title {
	margin: 0 0 0.9rem;
	font-size: clamp(1.35rem, 3vw, 1.8rem);
	font-weight: 700;
	color: #fff;
}

@keyframes cytg-album-in {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}
