.gbrs-widget {
	--gbrs-accent: #c97831;
	--gbrs-bg-deep: #141b33;
	--gbrs-text: #142132;
	--gbrs-muted: #6f7f94;
	--gbrs-border: rgba(20, 33, 50, 0.1);
	--gbrs-surface: #ffffff;
	max-width: 1180px;
	margin: 0 auto;
	padding: 28px;
	border-radius: 28px;
	background:
		radial-gradient(circle at top left, rgba(201, 120, 49, 0.18), transparent 35%),
		linear-gradient(180deg, #fffdfa 0%, #ffffff 100%);
	border: 1px solid var(--gbrs-border);
	box-shadow: 0 24px 70px rgba(17, 24, 39, 0.08);
	color: var(--gbrs-text);
}

.gbrs-widget-header {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 20px;
	margin-bottom: 24px;
}

.gbrs-widget-header h3 {
	margin: 4px 0 0;
	font-size: clamp(1.55rem, 1.5vw + 1rem, 2.35rem);
	line-height: 1.1;
}

.gbrs-eyebrow {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--gbrs-accent);
}

.gbrs-score {
	min-width: 130px;
	padding: 14px 18px;
	border-radius: 18px;
	background: #13212f;
	color: #fff;
	text-align: center;
}

.gbrs-score strong {
	display: block;
	font-size: 2rem;
	line-height: 1;
}

.gbrs-score span {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.78);
}

.gbrs-review-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 18px;
}

.gbrs-review-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-height: 100%;
	padding: 20px;
	border-radius: 24px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 243, 238, 0.92) 100%);
	border: 1px solid var(--gbrs-border);
	box-shadow: 0 10px 30px rgba(16, 31, 46, 0.06);
}

.gbrs-review-top {
	display: flex;
	justify-content: space-between;
	align-items: start;
	gap: 12px;
}

.gbrs-reviewer {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.gbrs-reviewer h4 {
	margin: 0 0 4px;
	font-size: 1rem;
	line-height: 1.25;
}

.gbrs-avatar {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--gbrs-accent), #f0b16c);
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	flex: 0 0 auto;
	overflow: hidden;
}

.gbrs-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gbrs-meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.gbrs-stars {
	color: #f2b400;
	font-size: 0.95rem;
	letter-spacing: 0.08em;
}

.gbrs-date-inline,
.gbrs-meta {
	color: var(--gbrs-muted);
	font-size: 0.85rem;
}

.gbrs-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(19, 33, 47, 0.08);
	color: #13212f;
	font-size: 0.76rem;
	font-weight: 700;
}

.gbrs-gmark {
	display: inline-grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: conic-gradient(#4285f4 0 25%, #34a853 25% 50%, #fbbc05 50% 75%, #ea4335 75% 100%);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1;
}

.gbrs-comment {
	margin: 0;
	font-size: 1rem;
	line-height: 1.55;
}

.gbrs-comment.is-empty {
	color: var(--gbrs-muted);
}

.gbrs-meta {
	margin-top: auto;
}

.gbrs-style-spotlight {
	background:
		radial-gradient(circle at top left, rgba(201, 120, 49, 0.24), transparent 32%),
		linear-gradient(135deg, #fff9f0 0%, #f8fbff 55%, #ffffff 100%);
}

.gbrs-style-spotlight .gbrs-review-card:first-child {
	background: linear-gradient(160deg, #13212f 0%, #20384d 100%);
	color: #fff;
}

.gbrs-style-spotlight .gbrs-review-card:first-child .gbrs-comment,
.gbrs-style-spotlight .gbrs-review-card:first-child .gbrs-meta,
.gbrs-style-spotlight .gbrs-review-card:first-child .gbrs-reviewer h4,
.gbrs-style-spotlight .gbrs-review-card:first-child .gbrs-badge,
.gbrs-style-spotlight .gbrs-review-card:first-child .gbrs-date-inline {
	color: #fff;
}

.gbrs-style-spotlight .gbrs-review-card:first-child .gbrs-badge {
	background: rgba(255, 255, 255, 0.14);
}

.gbrs-style-compact .gbrs-review-grid {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gbrs-style-compact .gbrs-review-card {
	padding: 18px;
	border-radius: 18px;
	gap: 12px;
}

.gbrs-style-compact .gbrs-comment {
	font-size: 0.94rem;
	line-height: 1.45;
}

.gbrs-style-carousel {
	background:
		radial-gradient(circle at top left, rgba(31, 43, 82, 0.4), transparent 28%),
		linear-gradient(180deg, #161d36 0%, #12182f 100%);
	border: none;
	box-shadow: 0 20px 60px rgba(10, 14, 31, 0.32);
	color: #fff;
}

.gbrs-style-carousel .gbrs-eyebrow,
.gbrs-style-carousel .gbrs-widget-header h3 {
	color: #fff;
}

.gbrs-style-carousel .gbrs-score {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
}

.gbrs-carousel-shell {
	position: relative;
	padding: 8px 34px;
}

.gbrs-review-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc(33.333% - 12px);
	gap: 18px;
	overflow-x: auto;
	scrollbar-width: none;
	scroll-snap-type: x mandatory;
	padding: 2px;
}

.gbrs-review-track::-webkit-scrollbar {
	display: none;
}

.gbrs-style-carousel .gbrs-review-card {
	scroll-snap-align: start;
	border-radius: 18px;
	background: #fff;
	color: #111827;
	min-height: 190px;
}

.gbrs-style-carousel .gbrs-comment {
	font-size: 0.98rem;
	line-height: 1.5;
}

.gbrs-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(17, 24, 39, 0.1);
	border-radius: 999px;
	background: #fff;
	color: #374151;
	font-size: 1.8rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.gbrs-nav:hover {
	transform: translateY(-50%) scale(1.04);
}

.gbrs-nav-prev {
	left: 0;
}

.gbrs-nav-next {
	right: 0;
}

.gbrs-nav[disabled] {
	opacity: 0.45;
	cursor: default;
}

.gbrs-message {
	padding: 14px 16px;
	border-radius: 14px;
	background: #f8f0e5;
	color: #6d3e0f;
}

@media (max-width: 1024px) {
	.gbrs-review-track {
		grid-auto-columns: calc(50% - 9px);
	}
}

@media (max-width: 768px) {
	.gbrs-widget {
		padding: 20px;
		border-radius: 22px;
	}

	.gbrs-widget-header {
		flex-direction: column;
		align-items: start;
	}

	.gbrs-score {
		width: 100%;
	}

	.gbrs-review-grid {
		grid-template-columns: 1fr;
	}

	.gbrs-carousel-shell {
		padding: 0 0 52px;
	}

	.gbrs-review-track {
		grid-auto-columns: 86%;
		gap: 14px;
		padding-bottom: 4px;
	}

	.gbrs-nav {
		top: auto;
		bottom: 0;
		transform: none;
		width: 38px;
		height: 38px;
		font-size: 1.45rem;
	}

	.gbrs-nav:hover {
		transform: scale(1.04);
	}

	.gbrs-nav-prev {
		left: calc(50% - 46px);
	}

	.gbrs-nav-next {
		right: calc(50% - 46px);
	}
}
