.hgbr-feed {
	margin: 24px auto;
	max-width: 1120px;
}
.hgbr-feed,
.hgbr-feed * {
	box-sizing: border-box;
}
.hgbr-light {
	color: #1f2430;
}
.hgbr-dark {
	color: #f3f5f8;
}
.hgbr-full-bleed {
	max-width: none;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-left: 24px;
	padding-right: 24px;
}

/* Header */
.hgbr-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 20px;
}
.hgbr-agg {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.hgbr-agg-name {
	font-weight: 700;
	font-size: 18px;
	line-height: 1.3;
}
.hgbr-agg-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}
.hgbr-agg-score {
	font-size: 28px;
	font-weight: 800;
	line-height: 1;
}
.hgbr-agg-stars {
	position: relative;
	display: inline-flex;
	line-height: 0;
}
.hgbr-agg-stars svg {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
}
.hgbr-agg-base {
	display: inline-flex;
	color: #d2d5da;
}
.hgbr-dark .hgbr-agg-base {
	color: #3a4150;
}
.hgbr-agg-fill {
	position: absolute;
	top: 0;
	left: 0;
	display: inline-flex;
	overflow: hidden;
	white-space: nowrap;
	color: #fbbc04;
}
.hgbr-agg-count {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	opacity: 0.75;
	line-height: 1;
}
.hgbr-agg-count svg {
	width: 15px;
	height: 15px;
}

/* CTA pill */
.hgbr-cta {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: var(--hgbr-accent, #1a73e8);
	color: var(--hgbr-accent-text, #ffffff);
	border-radius: 999px;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: filter 0.15s ease;
}
.hgbr-cta:hover,
.hgbr-cta:focus {
	color: var(--hgbr-accent-text, #ffffff);
	text-decoration: none;
	filter: brightness(1.07);
}
.hgbr-cta svg {
	width: 15px;
	height: 15px;
	background: #ffffff;
	border-radius: 50%;
	padding: 3px;
	box-sizing: content-box;
	flex: 0 0 auto;
}
.hgbr-ctas {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}
.hgbr-cta-row {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}
.hgbr-cta-pen svg {
	background: none;
	border-radius: 0;
	padding: 0;
	width: 16px;
	height: 16px;
}
.hgbr-cta-ghost {
	background: transparent;
	color: inherit;
	box-shadow: inset 0 0 0 2px var(--hgbr-accent, #1a73e8);
}
.hgbr-cta-ghost:hover,
.hgbr-cta-ghost:focus {
	background: var(--hgbr-accent, #1a73e8);
	color: var(--hgbr-accent-text, #ffffff);
	filter: none;
}
.hgbr-solo {
	display: flex;
	justify-content: center;
	margin: 16px auto;
}

/* Grid layout */
.hgbr-grid {
	display: grid;
	grid-template-columns: repeat(var(--hgbr-cols, 3), minmax(0, 1fr));
	gap: 16px;
}
@media (max-width: 900px) {
	.hgbr-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 600px) {
	.hgbr-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* List layout */
.hgbr-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 720px;
	margin: 0 auto;
}

/* Carousel layout */
.hgbr-car {
	position: relative;
}
.hgbr-car-viewport {
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.hgbr-car-viewport::-webkit-scrollbar {
	display: none;
}
.hgbr-track {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 2px;
}
.hgbr-layout-carousel .hgbr-card {
	flex: 0 0 auto;
	width: min(340px, 78vw);
	scroll-snap-align: start;
}
.hgbr-car-prev,
.hgbr-car-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--hgbr-accent, #1a73e8);
	color: var(--hgbr-accent-text, #ffffff);
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
	padding: 0 0 3px;
}
.hgbr-car-prev {
	left: -10px;
}
.hgbr-car-next {
	right: -10px;
}
.hgbr-car-prev:disabled,
.hgbr-car-next:disabled {
	opacity: 0.35;
	cursor: default;
}
@media (max-width: 700px) {
	.hgbr-car-prev,
	.hgbr-car-next {
		display: none;
	}
	.hgbr-layout-carousel .hgbr-card {
		width: min(300px, 74vw);
	}
}

/* Card */
.hgbr-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	border-radius: 14px;
	padding: 18px;
}
.hgbr-light .hgbr-card {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
.hgbr-dark .hgbr-card {
	background: #191d24;
	border: 1px solid #2a303b;
}
.hgbr-card-head {
	display: flex;
	align-items: center;
	gap: 10px;
}
.hgbr-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	flex: 0 0 auto;
	object-fit: cover;
}
.hgbr-avatar-fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 16px;
	color: #ffffff;
}
.hgbr-av-0 { background: #3b82f6; }
.hgbr-av-1 { background: #8b5cf6; }
.hgbr-av-2 { background: #ef4444; }
.hgbr-av-3 { background: #10b981; }
.hgbr-av-4 { background: #f59e0b; }
.hgbr-av-5 { background: #0ea5e9; }
.hgbr-who {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	flex: 1;
}
.hgbr-name {
	font-weight: 600;
	font-size: 15px;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.hgbr-date {
	font-size: 12.5px;
	opacity: 0.65;
	line-height: 1.2;
}
.hgbr-badge {
	flex: 0 0 auto;
	line-height: 0;
}
.hgbr-badge svg {
	width: 17px;
	height: 17px;
}
.hgbr-stars {
	display: inline-flex;
	gap: 2px;
	line-height: 0;
}
.hgbr-st-on {
	color: #fbbc04;
	line-height: 0;
}
.hgbr-st-off {
	color: #d2d5da;
	line-height: 0;
}
.hgbr-dark .hgbr-st-off {
	color: #3a4150;
}
.hgbr-text {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.hgbr-text.hgbr-text-open {
	display: block;
	overflow: visible;
}
.hgbr-more {
	align-self: flex-start;
	background: none;
	border: 0;
	padding: 0;
	margin: -4px 0 0;
	color: var(--hgbr-accent, #1a73e8);
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	line-height: 1.4;
}
.hgbr-dark .hgbr-more {
	filter: brightness(1.35);
}

/* Owner reply */
.hgbr-reply {
	display: flex;
	flex-direction: column;
	gap: 4px;
	border-left: 3px solid var(--hgbr-accent, #1a73e8);
	border-radius: 0 8px 8px 0;
	padding: 8px 12px;
	background: rgba(15, 23, 42, 0.04);
}
.hgbr-dark .hgbr-reply {
	background: rgba(255, 255, 255, 0.05);
}
.hgbr-reply-label {
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	opacity: 0.7;
}
.hgbr-reply-text {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.5;
}

/* Admin-only empty notice */
.hgbr-empty {
	margin: 16px auto;
	max-width: 720px;
	border: 1px dashed #c3c9d2;
	border-radius: 10px;
	padding: 14px 18px;
	font-size: 14px;
	line-height: 1.5;
	opacity: 0.8;
}

@media (prefers-reduced-motion: reduce) {
	.hgbr-cta {
		transition: none;
	}
}
