.wfgr-section {
	--wfgr-ink: #101015;
	--wfgr-muted: #686875;
	--wfgr-pink: #f10852;
	--wfgr-purple: #19005d;
	--wfgr-blue: #4285f4;
	--wfgr-gold: #f9ae00;
	position: relative;
	isolation: isolate;
	padding: clamp(72px, 8vw, 112px) 24px;
	overflow: hidden;
	border-top: 1px solid #e8e4df;
	background: #f5f5f6;
	color: var(--wfgr-ink);
	font-family: inherit;
}

.wfgr-section::before,
.wfgr-section::after {
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.wfgr-section::before {
	top: -290px;
	left: -220px;
	width: 650px;
	aspect-ratio: 1;
	border: 1px solid rgba(241, 8, 82, 0.09);
	background: radial-gradient(circle, rgba(241, 8, 82, 0.035), transparent 66%);
	box-shadow:
		0 0 0 82px rgba(241, 8, 82, 0.016),
		0 0 0 164px rgba(25, 0, 93, 0.01);
}

.wfgr-section::after {
	right: -240px;
	bottom: -330px;
	width: 720px;
	aspect-ratio: 1;
	border: 1px solid rgba(25, 0, 93, 0.09);
	background: radial-gradient(circle, rgba(25, 0, 93, 0.035), transparent 66%);
	box-shadow:
		0 0 0 94px rgba(25, 0, 93, 0.014),
		0 0 0 188px rgba(241, 8, 82, 0.01);
}

.wfgr-container {
	position: relative;
	z-index: 1;
	width: min(100%, 1240px);
	margin-inline: auto;
}

.wfgr-setup {
	max-width: 720px;
	margin-inline: auto;
	padding: 28px;
	border: 1px solid #e1dcd6;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 12px 28px rgba(23, 13, 38, 0.06);
	text-align: center;
}

.wfgr-setup strong {
	font-size: 1.2rem;
}

.wfgr-setup p {
	margin: 8px 0 16px;
	color: var(--wfgr-muted);
}

.wfgr-setup a {
	border-bottom: 1px solid currentColor;
	color: var(--wfgr-purple);
	font-size: 0.78rem;
	font-weight: 700;
}

.wfgr-heading {
	margin-bottom: clamp(42px, 5vw, 64px);
	text-align: center;
}

.wfgr-heading > p {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 13px;
	color: var(--wfgr-ink);
	font-size: 0.69rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.wfgr-seal,
.wfgr-mini-seal {
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	clip-path: polygon(50% 0, 62% 10%, 77% 6%, 84% 21%, 100% 27%, 93% 43%, 100% 57%, 85% 67%, 82% 84%, 65% 86%, 50% 100%, 37% 89%, 21% 94%, 15% 78%, 0 71%, 8% 55%, 1% 40%, 16% 30%, 19% 13%, 36% 12%);
	background: var(--wfgr-blue);
	color: #fff;
	font-weight: 900;
}

.wfgr-seal {
	width: 20px;
	height: 20px;
	font-size: 0.58rem;
}

.wfgr-heading h2 {
	margin: 0;
	color: var(--wfgr-ink);
	font-size: clamp(2.15rem, 3.6vw, 3.8rem);
	font-weight: 700;
	letter-spacing: -0.06em;
	line-height: 1.02;
}

.wfgr-heading h2 span {
	color: transparent;
	background: linear-gradient(115deg, var(--wfgr-pink), #ad0871 48%, var(--wfgr-purple));
	background-clip: text;
	font-family: "Kaushan Script", "Segoe Script", cursive;
	font-style: normal;
	font-weight: 400;
	-webkit-background-clip: text;
}

.wfgr-layout {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	align-items: center;
	gap: clamp(34px, 5vw, 70px);
}

.wfgr-summary {
	display: flex;
	align-items: center;
	flex-direction: column;
	text-align: center;
}

.wfgr-summary__score {
	color: var(--wfgr-ink);
	font-size: 2.65rem;
	font-weight: 800;
	letter-spacing: -0.06em;
	line-height: 1;
}

.wfgr-stars {
	display: inline-flex;
	gap: 2px;
	color: var(--wfgr-gold);
	font-size: 1.18rem;
	letter-spacing: 0;
}

.wfgr-stars .is-empty {
	color: #d8d5ce;
}

.wfgr-summary > small {
	margin-top: 4px;
	color: var(--wfgr-muted);
	font-size: 0.72rem;
}

.wfgr-summary__brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 20px;
	color: #4d4d55;
	font-size: 1.12rem;
	font-weight: 700;
}

.wfgr-summary__brand img {
	width: 27px;
	height: 27px;
}

.wfgr-carousel {
	min-width: 0;
	container-type: inline-size;
}

.wfgr-carousel__top {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin-bottom: 15px;
}

.wfgr-carousel__top a {
	border-bottom: 1px solid currentColor;
	color: var(--wfgr-ink);
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.8;
	transition: color 180ms ease;
}

.wfgr-carousel__top a:hover {
	color: var(--wfgr-pink);
}

.wfgr-viewport {
	margin: -12px;
	padding: 12px 12px 36px;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	cursor: grab;
	touch-action: pan-y;
	-webkit-overflow-scrolling: touch;
}

.wfgr-viewport::-webkit-scrollbar {
	display: none;
}

.wfgr-viewport.is-dragging {
	scroll-behavior: auto;
	scroll-snap-type: none;
	cursor: grabbing;
	user-select: none;
}

.wfgr-viewport.is-dragging a {
	pointer-events: none;
}

.wfgr-live-status {
	margin: 0 0 14px;
	color: var(--wfgr-muted);
	font-size: 0.72rem;
	text-align: right;
}

.wfgr-live-status.is-error {
	padding: 14px 16px;
	border: 1px solid #f2c5c9;
	border-radius: 7px;
	background: #fff5f6;
	color: #a51f2a;
	text-align: left;
}

.wfgr-track {
	display: flex;
	gap: 16px;
	width: max-content;
}

.wfgr-card {
	display: flex;
	width: clamp(220px, calc((100cqw - 32px) / 3), 326px);
	min-height: 268px;
	padding: 24px;
	flex: 0 0 auto;
	flex-direction: column;
	border: 1px solid #e7e4df;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 12px 28px rgba(23, 13, 38, 0.075);
	scroll-snap-align: start;
	scroll-snap-stop: always;
	transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.wfgr-card:hover {
	border-color: rgba(173, 8, 113, 0.38);
	box-shadow: 0 20px 42px rgba(23, 13, 38, 0.12);
	transform: translateY(-4px);
}

.wfgr-card--loading {
	gap: 18px;
	pointer-events: none;
}

.wfgr-card--loading > span {
	display: block;
	height: 13px;
	border-radius: 5px;
	background: linear-gradient(90deg, #eeeae5 20%, #f8f6f2 50%, #eeeae5 80%);
	background-size: 220% 100%;
	animation: wfgr-loading 1.4s ease-in-out infinite;
}

.wfgr-card--loading > span:first-child {
	width: 72%;
	height: 42px;
}

.wfgr-card--loading > span:nth-child(2) {
	width: 48%;
}

.wfgr-card--loading > span:nth-child(3) {
	width: 100%;
	height: 62px;
}

.wfgr-card--loading > span:last-child {
	width: 36%;
}

@keyframes wfgr-loading {
	to {
		background-position: -220% 0;
	}
}

.wfgr-card > header {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) 22px;
	align-items: center;
	gap: 11px;
}

.wfgr-card > header > img {
	width: 21px;
	height: 21px;
}

.wfgr-avatar {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #f0e9fd;
	color: #6433c7;
	font-size: 0.75rem;
	font-weight: 800;
}

.wfgr-avatar--2 {
	background: #e9f5db;
	color: #4f8500;
}

.wfgr-avatar--3 {
	background: #fff0e5;
	color: #d65308;
}

.wfgr-avatar--4 {
	background: #fde8f4;
	color: #b1086f;
}

.wfgr-avatar img {
	width: 100%;
	height: 100%;
	border-radius: inherit;
	object-fit: cover;
}

.wfgr-author {
	display: flex;
	min-width: 0;
	flex-direction: column;
	color: var(--wfgr-ink);
}

.wfgr-author strong {
	overflow: hidden;
	font-size: 0.86rem;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wfgr-author small {
	color: #96939a;
	font-size: 0.68rem;
}

.wfgr-card__stars {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-top: 17px;
}

.wfgr-card__stars .wfgr-stars {
	font-size: 0.93rem;
}

.wfgr-mini-seal {
	width: 16px;
	height: 16px;
	font-size: 0.45rem;
}

.wfgr-card > p {
	display: -webkit-box;
	margin: 14px 0 20px;
	overflow: hidden;
	color: #36343d;
	font-size: 0.86rem;
	line-height: 1.62;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

.wfgr-card > a {
	width: fit-content;
	margin-top: auto;
	border-bottom: 1px solid #c9c5ca;
	color: var(--wfgr-ink);
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1.7;
}

.wfgr-card > a:hover {
	border-color: var(--wfgr-pink);
	color: var(--wfgr-pink);
}

@media (max-width: 900px) {
	.wfgr-layout {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.wfgr-summary {
		justify-content: center;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 8px 12px;
	}

	.wfgr-summary__brand {
		width: 100%;
		justify-content: center;
		margin: 0 0 8px;
	}

	.wfgr-summary > small {
		margin: 0;
	}

	.wfgr-summary__score {
		font-size: 2rem;
	}

}

@media (max-width: 640px) {
	.wfgr-section {
		padding: 66px 20px;
	}

	.wfgr-heading {
		margin-bottom: 36px;
	}

	.wfgr-heading h2 {
		font-size: clamp(2rem, 9vw, 3rem);
	}

	.wfgr-carousel__top {
		justify-content: flex-start;
	}

	.wfgr-card {
		width: min(82vw, 310px);
	}

}

@media (prefers-reduced-motion: reduce) {
	.wfgr-section *,
	.wfgr-section *::before,
	.wfgr-section *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}

	.wfgr-card--loading > span {
		animation: none;
	}
}
