.gscg {
	position: relative;
	width: 100%;
	max-width: 100%;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 2px 0 rgba(255, 255, 255, 0.04) inset;
	background: #0c0d10;
	user-select: none;
	-webkit-user-select: none;
}

.gscg-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #12141a;
}

.gscg-stage {
	position: absolute;
	inset: 0;
}

.gscg-tile {
	position: absolute;
	background-repeat: no-repeat;
	will-change: transform, opacity, filter;
	backface-visibility: hidden;
	transform-origin: 50% 50%;
	transition-property: transform, opacity, filter;
	transition-timing-function: cubic-bezier(0.22, 0.75, 0.24, 1);
}

.gscg-sheen {
	position: absolute;
	inset: -20% -60%;
	background: linear-gradient(
		75deg,
		rgba(255, 255, 255, 0) 42%,
		rgba(255, 255, 255, 0.16) 48%,
		rgba(255, 255, 255, 0.32) 50%,
		rgba(255, 255, 255, 0.16) 52%,
		rgba(255, 255, 255, 0) 58%
	);
	transform: translateX(-140%);
	pointer-events: none;
	opacity: 0;
	z-index: 4;
}

.gscg-sheen.is-active {
	opacity: 1;
	transition: transform 900ms cubic-bezier(0.22, 0.75, 0.24, 1), opacity 200ms ease 700ms;
	transform: translateX(140%);
}

.gscg-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: rgba(12, 13, 16, 0.42);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	color: #f7ede0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 6;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.gscg-arrow:hover,
.gscg-arrow:focus-visible {
	background: rgba(216, 168, 76, 0.85);
	border-color: rgba(216, 168, 76, 0.9);
	color: #16110b;
	outline: none;
}

.gscg-arrow:active {
	transform: translateY(-50%) scale(0.92);
}

.gscg-prev {
	left: 14px;
}

.gscg-next {
	right: 14px;
}

.gscg-meta {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 14px;
	z-index: 6;
	display: flex;
	align-items: center;
	gap: 12px;
}

.gscg-count {
	flex: 0 0 auto;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #f7ede0;
	background: rgba(12, 13, 16, 0.5);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	padding: 5px 11px;
	font-variant-numeric: tabular-nums;
}

.gscg-progress {
	flex: 1 1 auto;
	height: 3px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	overflow: hidden;
}

.gscg-progress-bar {
	height: 100%;
	width: 0%;
	border-radius: 999px;
	background: linear-gradient(90deg, #d8a84c, #f1cc72);
}

.gscg-progress-bar.is-animating {
	transition: width linear;
}

@media (max-width: 640px) {
	.gscg-frame {
		aspect-ratio: 1 / 1;
	}

	.gscg-arrow {
		width: 38px;
		height: 38px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gscg-tile {
		transition-property: opacity;
		transition-duration: 260ms !important;
		transition-delay: 0ms !important;
		transform: none !important;
	}

	.gscg-sheen {
		display: none;
	}
}
