.ggsf-alt {
	--ggsf-alt-columns: 3;
	--ggsf-alt-gap: 24px;
	position: relative;
	width: 100%;
	color: #333333;
}

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

.ggsf-alt__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 26px;
}

.ggsf-alt__copy {
	min-width: 0;
}

.ggsf-alt__heading {
	margin: 0;
	color: #333333;
	font-size: clamp(29px, 3vw, 44px);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.1;
}

.ggsf-alt__intro {
	margin: 10px 0 0;
	color: #666666;
	font-size: 16px;
	line-height: 1.5;
}

.ggsf-alt__tools {
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	gap: 18px;
	min-width: 0;
}

.ggsf-alt__console-filter {
	display: flex;
	min-width: 230px;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}

.ggsf-alt__console-label {
	color: #666666;
	font-size: 12px;
	font-weight: 650;
	line-height: 1.35;
}

.ggsf-alt__console-control {
	display: flex;
	width: 100%;
	align-items: center;
	gap: 7px;
}

.ggsf-alt__console-details {
	position: relative;
	min-width: 0;
	flex: 1 1 auto;
}

.ggsf-alt__console-summary {
	display: flex;
	min-height: 44px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 14px;
	border: 1px solid #b7b7b7;
	border-radius: 9px;
	background: #ffffff;
	color: #333333;
	cursor: pointer;
	font-size: 14px;
	font-weight: 650;
	line-height: 1.25;
	list-style: none;
}

.ggsf-alt__console-summary::-webkit-details-marker {
	display: none;
}

.ggsf-alt__console-summary svg {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
	transition: transform 160ms ease;
}

.ggsf-alt__console-details[open] .ggsf-alt__console-summary svg {
	transform: rotate(180deg);
}

.ggsf-alt__console-summary:hover,
.ggsf-alt__console-summary:focus-visible,
.ggsf-alt__console-details[open] .ggsf-alt__console-summary {
	border-color: #f5a623;
}

.ggsf-alt__console-summary:focus-visible,
.ggsf-alt__console-option:focus-visible,
.ggsf-alt__console-reset:focus-visible {
	outline: 3px solid rgba(255, 193, 94, 0.36);
	outline-offset: 2px;
}

.ggsf-alt__console-menu {
	position: absolute;
	z-index: 20;
	top: calc(100% + 7px);
	right: 0;
	left: 0;
	display: grid;
	gap: 0;
	min-width: 210px;
	max-height: 280px;
	overflow-y: auto;
	padding: 6px;
	border: 1px solid #dedede;
	border-radius: 10px;
	background: #ffffff;
	box-shadow: 0 12px 32px rgba(26, 26, 26, 0.14);
}

.ggsf-alt__console-option {
	width: 100%;
	padding: 10px 11px;
	border: 0;
	border-radius: 7px;
	background: transparent;
	color: #333333;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	line-height: 1.35;
	text-align: left;
}

.ggsf-alt__console-option:hover,
.ggsf-alt__console-option:focus-visible,
.ggsf-alt__console-option[aria-pressed="true"] {
	background: #fff5e4;
}

.ggsf-alt__console-option[aria-pressed="true"] {
	font-weight: 750;
}

.ggsf-alt__console-reset {
	display: inline-flex;
	width: 34px;
	height: 34px;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f0f0f0;
	color: #555555;
	cursor: pointer;
	font-size: 22px;
	line-height: 1;
}

.ggsf-alt__console-reset:hover {
	background: #e5e5e5;
	color: #222222;
}

.ggsf-alt__console-reset[hidden],
.ggsf-alt__status[hidden] {
	display: none;
}

.ggsf-alt__navigation {
	display: flex;
	flex: 0 0 auto;
	gap: 10px;
}

.ggsf-alt__status {
	margin: -10px 0 16px;
	padding: 10px 12px;
	border-radius: 8px;
	background: #fff1f0;
	color: #8f251d;
	font-size: 13px;
	line-height: 1.4;
}

.ggsf-alt__status:empty {
	display: none;
}

.ggsf-alt__navigation[hidden] {
	display: none;
}

.ggsf-alt__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid #b7b7b7;
	border-radius: 50%;
	background: #ffffff;
	color: #333333;
	cursor: pointer;
	transition: border-color 160ms ease, color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.ggsf-alt__arrow:hover:not(:disabled),
.ggsf-alt__arrow:focus-visible:not(:disabled) {
	border-color: #ffc15e;
	color: #b86800;
	transform: translateY(-1px);
}

.ggsf-alt__arrow:focus-visible {
	outline: 3px solid rgba(255, 193, 94, 0.36);
	outline-offset: 2px;
}

.ggsf-alt__arrow:disabled {
	opacity: 0.34;
	cursor: default;
}

.ggsf-alt__arrow svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.ggsf-alt__viewport {
	min-width: 0;
}

.ggsf-alt__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--ggsf-alt-columns) - 1) * var(--ggsf-alt-gap)) / var(--ggsf-alt-columns));
	gap: var(--ggsf-alt-gap);
	overflow-x: auto;
	overflow-y: hidden;
	padding: 1px 1px 5px;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.ggsf-alt__track::-webkit-scrollbar {
	display: none;
}

.ggsf-alt__track:focus-visible {
	outline: 3px solid rgba(255, 193, 94, 0.32);
	outline-offset: 5px;
}

.ggsf-alt__card {
	display: flex;
	min-width: 0;
	height: 100%;
	flex-direction: column;
	scroll-snap-align: start;
}

.ggsf-alt__image {
	position: relative;
	display: block;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	background: #f2f2f2;
}

.ggsf-alt__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 260ms ease;
}

.ggsf-alt__image:hover img,
.ggsf-alt__image:focus-visible img {
	transform: scale(1.025);
}

.ggsf-alt__image:focus-visible {
	outline: 3px solid rgba(255, 193, 94, 0.7);
	outline-offset: 2px;
}

.ggsf-alt__platform-badge {
	position: absolute;
	right: auto;
	bottom: 0;
	left: 0;
	display: inline-flex;
	max-width: calc(100% - 18px);
	padding: 8px 11px;
	border-radius: 0 8px 0 0;
	background: rgba(30, 30, 30, 0.82);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.025em;
	line-height: 1.2;
	text-transform: uppercase;
}

.ggsf-alt__series-badge {
	position: absolute;
	right: auto;
	bottom: 0;
	left: 0;
	display: inline-flex;
	max-width: calc(100% - 18px);
	padding: 8px 11px;
	border-radius: 0 8px 0 0;
	background: #f5a623;
	color: #222222;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.025em;
	line-height: 1.2;
	text-transform: uppercase;
}

.ggsf-alt-series-badge--right .ggsf-alt__series-badge {
	right: 0;
	left: auto;
}

.ggsf-alt--loading .ggsf-alt__track,
.ggsf-alt--loading .ggsf-alt__empty {
	opacity: 0.45;
	pointer-events: none;
}

.ggsf-alt--loading .ggsf-alt__viewport::after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 30px;
	height: 30px;
	margin: -15px 0 0 -15px;
	border: 3px solid rgba(245, 166, 35, 0.28);
	border-top-color: #d98200;
	border-radius: 50%;
	content: "";
	animation: ggsf-alt-spin 700ms linear infinite;
}

.ggsf-alt--loading .ggsf-alt__viewport {
	position: relative;
}

.ggsf-alt__empty {
	padding: 28px;
	border: 1px dashed #d7a44d;
	border-radius: 12px;
	background: #fffaf1;
	text-align: center;
}

.ggsf-alt__empty-title {
	display: block;
	font-size: 18px;
	line-height: 1.3;
}

.ggsf-alt__empty-text {
	margin: 7px 0 0;
	color: #666666;
	font-size: 14px;
	line-height: 1.5;
}

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

.ggsf-alt__title {
	display: -webkit-box;
	overflow: hidden;
	min-height: 2.55em;
	margin: 17px 0 10px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	font-size: 22px;
	font-weight: 750;
	letter-spacing: -0.015em;
	line-height: 1.25;
}

.ggsf-alt__title a {
	color: #333333;
	text-decoration: none;
}

.ggsf-alt__title a:hover,
.ggsf-alt__title a:focus-visible {
	color: #b86800;
}

.ggsf-alt__title a:focus-visible {
	outline: 2px solid #ffc15e;
	outline-offset: 2px;
}

.ggsf-alt__reason {
	display: flex;
	align-items: flex-start;
	min-height: 60px;
	margin: 0;
	padding: 13px 14px;
	border-radius: 10px;
	background: #fff5e4;
	color: #333333;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
}

.ggsf-alt__reason-icon {
	flex: 0 0 auto;
	margin: -1px 9px 0 0;
	color: #f5a623;
	font-size: 19px;
	line-height: 1;
}

.ggsf-alt__facts {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px 9px;
	margin-top: 14px;
	color: #555555;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.45;
}

.ggsf-alt__fact-separator {
	color: #a0a0a0;
}

.ggsf-alt__more {
	display: inline-block;
	margin-top: 28px;
	border-bottom: 1px solid currentColor;
	color: #d98200;
	font-size: 16px;
	font-weight: 550;
	line-height: 1.4;
	text-decoration: none;
}

.ggsf-alt__more:hover,
.ggsf-alt__more:focus-visible {
	color: #a85d00;
}

.ggsf-alt__more:focus-visible {
	outline: 2px solid #ffc15e;
	outline-offset: 3px;
}

.ggsf-alt__debug {
	margin-top: 14px;
	padding: 10px 12px;
	border: 1px dashed #c7a466;
	border-radius: 8px;
	background: #fffdf8;
	font-size: 12px;
}

.ggsf-alt__debug summary {
	cursor: pointer;
	font-weight: 700;
}

.ggsf-alt__debug p {
	margin: 8px 0 0;
}

.ggsf-alt-editor-notice {
	padding: 18px 20px;
	border: 1px dashed #d7a44d;
	border-radius: 10px;
	background: #fff8ec;
	color: #333333;
	font-size: 14px;
	line-height: 1.5;
}

@media (max-width: 767px) {
	.ggsf-alt__header {
		align-items: stretch;
		flex-direction: column;
		gap: 14px;
	}

	.ggsf-alt__tools {
		width: 100%;
		align-items: flex-end;
		justify-content: space-between;
	}

	.ggsf-alt__console-filter {
		width: min(100%, 330px);
		min-width: 0;
	}

	.ggsf-alt__heading {
		font-size: 29px;
	}

	.ggsf-alt__intro {
		font-size: 14px;
	}

	.ggsf-alt__arrow {
		width: 42px;
		height: 42px;
	}

	.ggsf-alt__navigation {
		gap: 7px;
	}

	.ggsf-alt__title {
		min-height: 0;
		font-size: 20px;
	}

	.ggsf-alt__reason {
		min-height: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ggsf-alt__track {
		scroll-behavior: auto;
	}

	.ggsf-alt__image img,
	.ggsf-alt__arrow,
	.ggsf-alt__console-summary svg {
		transition: none;
	}

	.ggsf-alt--loading .ggsf-alt__viewport::after {
		animation-duration: 1400ms;
	}
}
