.npc-gr {
	--npc-gr-bg: #000000;
	--npc-gr-text: #ffffff;
	--npc-gr-muted: #b8b8b8;
	--npc-gr-star: #fbbc04;
	--npc-gr-star-empty: #5f6368;
	--npc-gr-summary-bg: #1f1f1f;
	--npc-gr-summary-shadow: var(--npc-gr-card-shadow);
	--npc-gr-gap: 2rem;
	--npc-gr-card-w: 16.5rem;
	--npc-gr-summary-size: 13.75rem;
	--npc-gr-focus: #8ab4f8;
	--npc-gr-card-bg-dark: #1f1f1f;
	--npc-gr-card-bg-light: #ffffff;
	--npc-gr-card-bg: var(--npc-gr-card-bg-dark);
	--npc-gr-shadow-size: 24px;
	--npc-gr-shadow-y: 8px;
	--npc-gr-shadow-color-dark: rgba(0, 0, 0, 0.45);
	--npc-gr-shadow-color-light: rgba(60, 64, 67, 0.2);
	--npc-gr-shadow-color: var(--npc-gr-shadow-color-dark);
	--npc-gr-card-shadow: 0 var(--npc-gr-shadow-y) var(--npc-gr-shadow-size) var(--npc-gr-shadow-color);
	--npc-gr-shadow-pad: calc(var(--npc-gr-shadow-y) + var(--npc-gr-shadow-size));
	--npc-gr-arrow-dark: #ffffff;
	--npc-gr-arrow-light: #202124;
	--npc-gr-arrow: var(--npc-gr-arrow-dark);
	--npc-gr-dot-dark: #ffffff;
	--npc-gr-dot-light: #202124;
	--npc-gr-dot: var(--npc-gr-dot-dark);
	--npc-gr-dot-size: 8px;
	--npc-gr-btn-bg-dark: #1f1f1f;
	--npc-gr-btn-text-dark: #ffffff;
	--npc-gr-btn-hover-bg-dark: #ffffff;
	--npc-gr-btn-hover-text-dark: #1f1f1f;
	--npc-gr-btn-bg-light: #ffffff;
	--npc-gr-btn-text-light: #202124;
	--npc-gr-btn-hover-bg-light: #202124;
	--npc-gr-btn-hover-text-light: #ffffff;
	--npc-gr-btn-bg: var(--npc-gr-btn-bg-dark);
	--npc-gr-btn-text: var(--npc-gr-btn-text-dark);
	--npc-gr-btn-hover-bg: var(--npc-gr-btn-hover-bg-dark);
	--npc-gr-btn-hover-text: var(--npc-gr-btn-hover-text-dark);
	--npc-gr-card-radius: 12px;
	--npc-gr-btn-radius: 24px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: var(--npc-gr-gap);
	width: 100%;
	max-width: 100%;
	padding: 1.5rem 0.75rem 1.5rem 1.25rem;
	background: var(--npc-gr-bg);
	color: var(--npc-gr-text);
	font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
}

.npc-gr[data-theme="light"] {
	--npc-gr-bg: transparent;
	--npc-gr-text: #202124;
	--npc-gr-muted: #5f6368;
	--npc-gr-summary-bg: #ffffff;
	--npc-gr-focus: #1a73e8;
	--npc-gr-card-bg: var(--npc-gr-card-bg-light);
	--npc-gr-shadow-color: var(--npc-gr-shadow-color-light);
	--npc-gr-arrow: var(--npc-gr-arrow-light);
	--npc-gr-dot: var(--npc-gr-dot-light);
	--npc-gr-btn-bg: var(--npc-gr-btn-bg-light);
	--npc-gr-btn-text: var(--npc-gr-btn-text-light);
	--npc-gr-btn-hover-bg: var(--npc-gr-btn-hover-bg-light);
	--npc-gr-btn-hover-text: var(--npc-gr-btn-hover-text-light);
}

.npc-gr[data-shadow="0"] {
	--npc-gr-card-shadow: none;
	--npc-gr-summary-shadow: none;
	--npc-gr-shadow-pad: 0.5rem;
}

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

.npc-gr p {
	margin: 0;
}

.npc-gr .screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important;
}

.npc-gr:focus-within {
	outline: none;
}

.npc-gr__summary {
	flex: 0 0 auto;
	width: var(--npc-gr-summary-size);
	min-height: var(--npc-gr-summary-size);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	gap: 0.55rem;
	padding: 1.35rem 1rem 1.2rem;
	background: var(--npc-gr-summary-bg);
	border-radius: var(--npc-gr-card-radius);
	box-shadow: var(--npc-gr-summary-shadow);
}

.npc-gr__rating-word {
	font-size: 1.2rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.2;
	color: var(--npc-gr-text);
}

.npc-gr__count {
	font-size: 0.92rem;
	font-weight: 400;
	color: var(--npc-gr-muted);
}

.npc-gr__logo-link {
	display: inline-flex;
	margin-top: 0.2rem;
	text-decoration: none;
	border-radius: 2px;
}

.npc-gr__leave-review {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 0.2rem;
	padding: 0.4rem 0.9rem;
	border: 1px solid var(--npc-gr-btn-text);
	border-radius: var(--npc-gr-btn-radius);
	color: var(--npc-gr-btn-text);
	background: var(--npc-gr-btn-bg);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.npc-gr__leave-review:hover {
	background: var(--npc-gr-btn-hover-bg);
	color: var(--npc-gr-btn-hover-text);
	border-color: var(--npc-gr-btn-hover-bg);
}

.npc-gr__leave-review:focus-visible {
	outline: 2px solid var(--npc-gr-focus);
	outline-offset: 3px;
}

.npc-gr__logo-link:focus-visible {
	outline: 2px solid var(--npc-gr-focus);
	outline-offset: 3px;
}

.npc-gr__logo svg,
.npc-gr__logo-img {
	display: block;
	height: 1.5rem;
	width: 4.8rem;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.npc-gr__main {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.npc-gr__viewport {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 0.15rem;
	overflow: visible;
}

.npc-gr__nav-slot {
	flex: 0 0 2.75rem;
	width: 2.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: stretch;
}

.npc-gr__track {
	display: flex;
	gap: 1.75rem;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: var(--npc-gr-shadow-pad) var(--npc-gr-shadow-pad);
	flex: 1 1 auto;
	min-width: 0;
}

.npc-gr__track::-webkit-scrollbar {
	display: none;
}

.npc-gr__track:focus-visible {
	outline: 2px solid var(--npc-gr-focus);
	outline-offset: 4px;
}

.npc-gr__card {
	flex: 0 0 var(--npc-gr-card-w);
	width: var(--npc-gr-card-w);
	scroll-snap-align: start;
	min-width: 0;
	background: var(--npc-gr-card-bg);
	border-radius: var(--npc-gr-card-radius);
	box-shadow: var(--npc-gr-card-shadow);
	padding: 1.15rem 1.1rem 1.2rem;
}

.npc-gr__card-header {
	display: grid;
	grid-template-columns: 2.5rem 1fr 1.25rem;
	gap: 0.65rem;
	align-items: center;
	margin-bottom: 0.65rem;
}

.npc-gr__avatar {
	position: relative;
	flex-shrink: 0;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1;
}

.npc-gr__avatar-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.npc-gr__name {
	font-weight: 700;
	font-size: 0.98rem;
	line-height: 1.25;
}

.npc-gr__date {
	font-size: 0.8rem;
	color: var(--npc-gr-muted);
	line-height: 1.3;
	margin-top: 0.1rem;
}

.npc-gr__g-icon {
	align-self: start;
	justify-self: end;
	line-height: 0;
}

.npc-gr__g-icon svg {
	display: block;
	width: 1.1rem;
	height: 1.1rem;
}

.npc-gr__card-rating {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin-bottom: 0.45rem;
}

.npc-gr__verified {
	display: inline-flex;
	line-height: 0;
}

.npc-gr__verified svg {
	display: block;
}

.npc-gr__text {
	font-size: 0.95rem;
	color: var(--npc-gr-text);
}

.npc-gr__read-more {
	display: inline;
	margin-left: 0.2em;
	color: var(--npc-gr-focus);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.npc-gr__read-more:hover,
.npc-gr__read-more:focus-visible {
	text-decoration: underline;
}

.npc-gr__read-more:focus-visible {
	outline: 2px solid var(--npc-gr-focus);
	outline-offset: 2px;
}

.npc-gr__stars {
	display: inline-flex;
	align-items: center;
	gap: 0.08rem;
	color: var(--npc-gr-star);
}

.npc-gr__star {
	position: relative;
	display: inline-flex;
	color: var(--npc-gr-star);
	line-height: 0;
}

.npc-gr__star--empty {
	color: var(--npc-gr-star-empty);
}

.npc-gr__star--partial {
	color: var(--npc-gr-star-empty);
}

.npc-gr__star-clip {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	overflow: hidden;
	color: var(--npc-gr-star);
}

.npc-gr__star-icon {
	display: block;
}

.npc-gr__stars--lg .npc-gr__star-icon {
	width: 1.55rem;
	height: 1.55rem;
}

.npc-gr__stars--md .npc-gr__star-icon,
.npc-gr__stars--sm .npc-gr__star-icon {
	width: 1.05rem;
	height: 1.05rem;
}

.npc-gr__stars--badge .npc-gr__star-icon {
	width: 1.15rem;
	height: 1.15rem;
}

.npc-gr__nav {
	width: 2.75rem;
	height: 2.75rem;
	min-width: 44px;
	min-height: 44px;
	border: 0;
	background: transparent;
	color: var(--npc-gr-arrow);
	font-size: 2.4rem;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border-radius: 50%;
}

.npc-gr__nav:focus-visible {
	outline: 2px solid var(--npc-gr-focus);
	outline-offset: 2px;
}

.npc-gr__nav[hidden] {
	display: none;
}

.npc-gr__nav span {
	display: block;
	margin-top: -0.15em;
}

.npc-gr__dots {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.15rem;
	padding: 0.15rem calc(2.75rem + var(--npc-gr-shadow-pad)) 0.25rem;
}

.npc-gr__dot {
	appearance: none;
	border: 0;
	background: transparent;
	width: 1.75rem;
	height: 1.75rem;
	padding: 0;
	margin: 0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
}

.npc-gr__dot::after {
	content: "";
	width: var(--npc-gr-dot-size);
	height: var(--npc-gr-dot-size);
	border-radius: 50%;
	background: var(--npc-gr-dot);
	opacity: 0.35;
	transition: opacity 0.15s ease;
}

.npc-gr__dot.is-active::after,
.npc-gr__dot[aria-current="true"]::after {
	opacity: 1;
}

.npc-gr__dot:focus-visible {
	outline: 2px solid var(--npc-gr-focus);
	outline-offset: 2px;
}

.npc-gr.npc-gr--grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(16.75rem, 100%), 1fr));
	gap: 1.5rem;
	align-items: stretch;
	padding: max(1.5rem, var(--npc-gr-shadow-pad)) max(1.25rem, var(--npc-gr-shadow-pad));
}

.npc-gr--grid .npc-gr__summary,
.npc-gr--grid .npc-gr__card {
	width: auto;
	min-width: 0;
	min-height: 0;
	height: 100%;
	flex: none;
}

.npc-gr--grid .npc-gr__card {
	scroll-snap-align: unset;
}

.npc-gr--grid .npc-gr__summary {
	background: var(--npc-gr-card-bg);
	box-shadow: var(--npc-gr-card-shadow);
}

@media (max-width: 900px) {
	.npc-gr {
		--npc-gr-card-w: 15.5rem;
		--npc-gr-gap: 1.25rem;
	}

	.npc-gr__summary {
		flex: 0 0 auto;
		width: 12.5rem;
		min-height: 12.5rem;
	}

	.npc-gr--grid .npc-gr__summary {
		width: auto;
		min-height: 0;
	}
}

@media (max-width: 700px) {
	.npc-gr {
		flex-direction: column;
		padding: 1.25rem 0.5rem 1.25rem 1rem;
		--npc-gr-card-w: min(18rem, 82vw);
	}

	.npc-gr.npc-gr--grid {
		display: grid;
		flex-direction: unset;
		grid-template-columns: 1fr;
		padding: max(1.25rem, var(--npc-gr-shadow-pad)) max(1rem, var(--npc-gr-shadow-pad));
		gap: 1.15rem;
	}

	.npc-gr__summary {
		flex: 0 0 auto;
		width: min(var(--npc-gr-summary-size), 86vw);
		min-height: var(--npc-gr-summary-size);
		margin: 0 auto;
		padding: 1.5rem 1.15rem 1.35rem;
	}

	.npc-gr--grid .npc-gr__summary {
		width: auto;
		min-height: 0;
		margin: 0;
	}

	.npc-gr__dots {
		justify-content: center;
		padding-left: 0.5rem;
		padding-right: 0.5rem;
	}
}

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

.npc-gr-badge {
	--npc-gr-badge-bg: #ffffff;
	--npc-gr-badge-text: #202124;
	--npc-gr-badge-score: #f57c00;
	--npc-gr-badge-bar: #66bb6a;
	--npc-gr-badge-shadow: 0 6px 18px rgba(60, 64, 67, 0.22);
	--npc-gr-badge-empty: #e0e0e0;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	max-width: 100%;
	padding: 0.85rem 1.15rem 0.8rem 0.9rem;
	background: var(--npc-gr-badge-bg);
	color: var(--npc-gr-badge-text);
	border-radius: 6px;
	border-top: 4px solid var(--npc-gr-badge-bar);
	box-shadow: var(--npc-gr-badge-shadow);
	text-decoration: none;
	font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.npc-gr-badge[data-theme="dark"] {
	--npc-gr-badge-bg: #1f1f1f;
	--npc-gr-badge-text: #ffffff;
	--npc-gr-badge-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
	--npc-gr-badge-empty: #5f6368;
}

.npc-gr-badge *,
.npc-gr-badge *::before,
.npc-gr-badge *::after {
	box-sizing: border-box;
}

.npc-gr-badge__g {
	flex: 0 0 auto;
	width: 2.55rem;
	height: 2.55rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.npc-gr-badge__g svg {
	display: block;
	width: 2.55rem;
	height: 2.55rem;
}

.npc-gr-badge__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.2rem;
	min-width: 0;
}

.npc-gr-badge__title {
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--npc-gr-badge-text);
}

.npc-gr-badge__score-row {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--npc-gr-badge-score);
}

.npc-gr-badge__score {
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1;
	color: var(--npc-gr-badge-score);
}

.npc-gr-badge .npc-gr__stars,
.npc-gr-badge .npc-gr__star,
.npc-gr-badge .npc-gr__star-clip {
	color: var(--npc-gr-badge-score);
}

.npc-gr-badge .npc-gr__star--empty,
.npc-gr-badge .npc-gr__star--partial {
	color: var(--npc-gr-badge-empty);
}

.npc-gr-badge:focus-visible {
	outline: 2px solid #1a73e8;
	outline-offset: 3px;
}

.npc-gr-rating {
	--npc-gr-rating-text: #ffffff;
	--npc-gr-star: #fbbc04;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	max-width: 100%;
	padding: 0.15rem 0;
	background: transparent;
	color: var(--npc-gr-rating-text);
	text-decoration: none;
	font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.npc-gr-rating[data-theme="light"] {
	--npc-gr-rating-text: #202124;
}

.npc-gr-rating *,
.npc-gr-rating *::before,
.npc-gr-rating *::after {
	box-sizing: border-box;
}

.npc-gr-rating__text {
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.2;
	color: inherit;
	white-space: nowrap;
}

.npc-gr-rating .npc-gr__stars,
.npc-gr-rating .npc-gr__star,
.npc-gr-rating .npc-gr__star-clip {
	color: var(--npc-gr-star);
}

.npc-gr-rating:focus-visible {
	outline: 2px solid #8ab4f8;
	outline-offset: 3px;
}

.npc-gr-rating[data-theme="light"]:focus-visible {
	outline-color: #1a73e8;
}
