/**
 * Stack Review Boxes — Frontend Styles
 * 40 designs: classic-card, speech-bubble, horizontal-strip, dark-quote,
 *             platform-badge, polaroid, accent-bar, floating-avatar,
 *             star-spotlight, glassmorphism, rail-and-gutter, score-lead,
 *             ribbon-corner, split-header, ticket, sticker, tinted-quote,
 *             timeline, editorial-rules, inline-row, glow, offset-panels,
 *             quote-watermark, framed-quote, rating-meter, dark-split,
 *             pastel, mono, broadsheet, split-footer, meta-grid, chip-header,
 *             split-rating, banner-quote, spotlight-2, divided-list,
 *             staggered-grid, feature-row, pill, footer-strip
 */

/* ── Wrapper: grid and carousel ─────────────────────────────── */
.stkrv-wrap {
	--stkrv-cols: 3;
	--stkrv-accent: #4f46e5;
	--stkrv-slide: 340px;
	display: grid;
	grid-template-columns: repeat(var(--stkrv-cols), minmax(0, 1fr));
	gap: 24px;
	align-items: stretch;
	box-sizing: border-box;
}

.stkrv-cols-1 { --stkrv-cols: 1; }
.stkrv-cols-2 { --stkrv-cols: 2; }
.stkrv-cols-3 { --stkrv-cols: 3; }
.stkrv-cols-4 { --stkrv-cols: 4; }

@media (max-width: 1024px) {
	.stkrv-tablet-1 { --stkrv-cols: 1; }
	.stkrv-tablet-2 { --stkrv-cols: 2; }
	.stkrv-tablet-3 { --stkrv-cols: 3; }
}

@media (max-width: 767px) {
	.stkrv-mobile-1 { --stkrv-cols: 1; }
	.stkrv-mobile-2 { --stkrv-cols: 2; }
}

/* Native scroll-snap carousel — no JavaScript, so the reviews are on screen
   and readable before (and without) any script. */
.stkrv-wrap.stkrv-carousel {
	display: flex;
	grid-template-columns: none;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	padding-bottom: 12px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: var(--stkrv-accent) transparent;
}

.stkrv-wrap.stkrv-carousel > .stkrv-box {
	flex: 0 0 var(--stkrv-slide);
	max-width: 100%;
	scroll-snap-align: start;
}

.stkrv-wrap.stkrv-carousel::-webkit-scrollbar { height: 8px; }
.stkrv-wrap.stkrv-carousel::-webkit-scrollbar-track { background: #eef0f4; border-radius: 999px; }
.stkrv-wrap.stkrv-carousel::-webkit-scrollbar-thumb { background: var(--stkrv-accent); border-radius: 999px; }

.stkrv-carousel-hint {
	margin: 8px 0 0;
	font-size: 0.78rem;
	color: #667085;
	text-align: center;
}

/* ── Reset & Base ───────────────────────────────────────────── */
.stkrv-box {
	position: relative;
	box-sizing: border-box;
	--stkrv-accent: #4f46e5;
	min-width: 0;
}

/* Inherit the wrapper's accent so one colour control drives every box. */
.stkrv-wrap > .stkrv-box { --stkrv-accent: inherit; }
.stkrv-wrap { --stkrv-accent: #4f46e5; }
.stkrv-box *,
.stkrv-box *::before,
.stkrv-box *::after {
	box-sizing: border-box;
}

/* Stars */
.stkrv-stars {
	display: flex;
	gap: 2px;
	flex-wrap: nowrap;
	line-height: 1;
}
.stkrv-star {
	font-size: 18px;
	line-height: 1;
}
.stkrv-star-filled { color: #f59e0b; }
.stkrv-star-empty  { color: #d1d5db; }

/* Quote */
.stkrv-quote {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.7;
	color: #374151;
}

/* Author */
.stkrv-author {
	display: flex;
	align-items: center;
	gap: 12px;
}
.stkrv-avatar-wrap { flex-shrink: 0; }
.stkrv-avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}
.stkrv-author-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.stkrv-name {
	font-weight: 700;
	font-size: 0.95rem;
	color: #111827;
}
.stkrv-role {
	font-size: 0.8rem;
	color: #6b7280;
}
.stkrv-date {
	font-size: 0.75rem;
	color: #9ca3af;
}

/* Platform */
.stkrv-platform {
	display: flex;
	align-items: center;
	gap: 6px;
}
.stkrv-platform-icon { display: flex; align-items: center; font-size: 1rem; }
.stkrv-platform-icon i { font-size: 1rem; }
.stkrv-platform-icon svg { width: 1rem; height: 1rem; }
.stkrv-platform-name { font-size: 0.8rem; color: #6b7280; font-weight: 500; }

/* ── 01 · Classic Card ──────────────────────────────────────── */
.stkrv-classic {
	background: #fff;
	border-radius: 16px;
	padding: 28px;
	box-shadow: 0 2px 16px rgba(0,0,0,.08);
	display: flex;
	flex-direction: column;
	gap: 16px;
	transition: box-shadow .25s, transform .25s;
}
.stkrv-classic:hover {
	box-shadow: 0 8px 32px rgba(0,0,0,.13);
	transform: translateY(-3px);
}
.stkrv-classic .stkrv-platform { order: -1; }

/* ── 02 · Speech Bubble ─────────────────────────────────────── */
.stkrv-bubble {
	display: flex;
	flex-direction: column;
	gap: 0;
}
.stkrv-bubble-body {
	background: #fff;
	border-radius: 16px;
	padding: 24px 24px 20px;
	box-shadow: 0 2px 14px rgba(0,0,0,.09);
	display: flex;
	flex-direction: column;
	gap: 12px;
	position: relative;
}
/* Bubble tail */
.stkrv-bubble-body::after {
	content: '';
	position: absolute;
	bottom: -14px;
	left: 32px;
	border-width: 14px 12px 0;
	border-style: solid;
	border-color: #fff transparent transparent;
	filter: drop-shadow(0 3px 3px rgba(0,0,0,.06));
}
.stkrv-bubble-footer {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 20px 8px 4px;
}
.stkrv-bubble-footer .stkrv-author-info { display: flex; flex-direction: column; gap: 2px; }

/* ── 03 · Horizontal Strip ──────────────────────────────────── */
.stkrv-horizontal {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 2px 16px rgba(0,0,0,.08);
	display: flex;
	align-items: stretch;
	gap: 0;
	overflow: hidden;
	transition: box-shadow .25s;
}
.stkrv-horizontal:hover {
	box-shadow: 0 6px 28px rgba(0,0,0,.13);
}
.stkrv-h-left {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 28px 24px;
	background: color-mix(in srgb, var(--stkrv-accent) 6%, #fff);
	/* A hard min-width starved the copy column to zero inside a narrow card and
	   overflow:hidden then clipped the quote away entirely. */
	flex: 0 1 160px;
	min-width: 0;
	text-align: center;
}
.stkrv-h-left .stkrv-avatar { width: 64px; height: 64px; }
.stkrv-h-divider {
	width: 1px;
	background: #e5e7eb;
	flex-shrink: 0;
}
.stkrv-h-right {
	flex: 1 1 auto;
	min-width: 0;
	padding: 28px 28px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	justify-content: center;
}

/* ── 04 · Dark Quote ────────────────────────────────────────── */
.stkrv-dark-quote {
	background: #0f172a;
	border-radius: 16px;
	padding: 40px 32px 32px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	position: relative;
	overflow: hidden;
	color: #f8fafc;
}
.stkrv-dark-quote .stkrv-quote { color: #cbd5e1; font-size: 1.05rem; font-style: italic; }
.stkrv-dark-quote .stkrv-name  { color: #f1f5f9; }
.stkrv-dark-quote .stkrv-role  { color: #94a3b8; }
.stkrv-dark-quote .stkrv-platform-name { color: #94a3b8; }
.stkrv-dark-quote .stkrv-platform-icon i  { color: #94a3b8; }
.stkrv-dark-quote .stkrv-platform-icon svg { fill: #94a3b8; }
.stkrv-dq-mark {
	font-size: 9rem;
	font-family: Georgia, serif;
	line-height: 0.7;
	color: var(--stkrv-accent);
	opacity: 0.25;
	position: absolute;
	top: 20px;
	left: 20px;
	pointer-events: none;
	user-select: none;
}

/* ── 05 · Platform Badge ────────────────────────────────────── */
.stkrv-platform-badge {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 2px 16px rgba(0,0,0,.08);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow .25s;
}
.stkrv-platform-badge:hover {
	box-shadow: 0 8px 28px rgba(0,0,0,.14);
}
.stkrv-pb-header {
	background: var(--stkrv-accent);
	padding: 18px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.stkrv-pb-header .stkrv-platform { color: #fff; }
.stkrv-pb-header .stkrv-platform-name { color: rgba(255,255,255,.9); font-size: 0.9rem; font-weight: 600; }
.stkrv-pb-header .stkrv-platform-icon i  { color: #fff; font-size: 1.3rem; }
.stkrv-pb-header .stkrv-platform-icon svg { fill: #fff; width: 1.3rem; height: 1.3rem; }
.stkrv-pb-header .stkrv-star-filled { color: #fef3c7; }
.stkrv-pb-header .stkrv-star-empty  { color: rgba(255,255,255,.35); }
.stkrv-pb-body {
	padding: 22px 24px 12px;
	flex: 1;
}
.stkrv-pb-footer {
	padding: 12px 24px 20px;
	border-top: 1px solid #f3f4f6;
}

/* ── 06 · Polaroid ──────────────────────────────────────────── */
.stkrv-polaroid {
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 4px 24px rgba(0,0,0,.12), 0 1px 4px rgba(0,0,0,.08);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: transform .3s, box-shadow .3s;
}
.stkrv-polaroid:hover {
	transform: rotate(-1deg) translateY(-4px);
	box-shadow: 0 12px 36px rgba(0,0,0,.16);
}
.stkrv-pol-photo {
	width: 100%;
	aspect-ratio: 1 / 1;
	background: #e5e7eb;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
.stkrv-pol-photo .stkrv-avatar-wrap,
.stkrv-pol-photo .stkrv-avatar {
	width: 100% !important;
	height: 100% !important;
	border-radius: 0 !important;
	object-fit: cover;
}
/* Empty state: a short labelled band, not a full mobile screen of nothing. */
.stkrv-pol-photo:not(:has(.stkrv-avatar-wrap)) { aspect-ratio: auto; height: 76px; }

.stkrv-pol-photo-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, color-mix(in srgb, var(--stkrv-accent) 12%, #fff), color-mix(in srgb, var(--stkrv-accent) 24%, #fff));
	color: color-mix(in srgb, var(--stkrv-accent) 75%, #000);
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}
.stkrv-pol-photo-placeholder::before { content: '\201C'; font-family: Georgia, serif; line-height: 1; }
.stkrv-pol-card {
	padding: 20px 20px 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-align: center;
}

/* ── 07 · Accent Bar ────────────────────────────────────────── */
.stkrv-accent-bar {
	background: #fff;
	border-left: 5px solid var(--stkrv-accent);
	border-radius: 0 10px 10px 0;
	padding: 24px 24px 24px 28px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	box-shadow: 0 1px 8px rgba(0,0,0,.06);
	transition: box-shadow .25s, border-left-color .25s;
}
.stkrv-accent-bar:hover {
	box-shadow: 0 4px 20px rgba(0,0,0,.11);
}
.stkrv-accent-bar .stkrv-quote { font-style: italic; }

/* ── 08 · Floating Avatar ───────────────────────────────────── */
.stkrv-floating-avatar {
	padding-top: 42px;
	display: flex;
	flex-direction: column;
}
.stkrv-fa-avatar-wrap {
	position: absolute;
	top: -1px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
}
.stkrv-fa-avatar-wrap .stkrv-avatar-wrap { margin: 0; }
.stkrv-fa-avatar-wrap .stkrv-avatar {
	width: 72px;
	height: 72px;
	border: 4px solid #fff;
	box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.stkrv-fa-body {
	background: #fff;
	border-radius: 16px;
	padding: 52px 28px 28px;
	box-shadow: 0 2px 16px rgba(0,0,0,.09);
	display: flex;
	flex-direction: column;
	gap: 14px;
	text-align: center;
	position: relative;
}
.stkrv-fa-body .stkrv-stars { justify-content: center; }
.stkrv-fa-body .stkrv-platform { justify-content: center; }
.stkrv-fa-body .stkrv-author-info { align-items: center; }

/* ── 09 · Star Spotlight ────────────────────────────────────── */
.stkrv-star-spotlight {
	background: #fff;
	border-radius: 16px;
	padding: 0;
	box-shadow: 0 2px 16px rgba(0,0,0,.08);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow .25s;
}
.stkrv-star-spotlight:hover { box-shadow: 0 8px 30px rgba(0,0,0,.14); }
.stkrv-ss-top {
	background: color-mix(in srgb, var(--stkrv-accent) 8%, #fff);
	padding: 28px 28px 20px;
	display: flex;
	align-items: center;
	gap: 14px;
	border-bottom: 1px solid color-mix(in srgb, var(--stkrv-accent) 15%, transparent);
}
.stkrv-ss-top .stkrv-stars { gap: 4px; }
.stkrv-ss-top .stkrv-star  { font-size: 26px !important; }
.stkrv-ss-score {
	font-size: 2rem;
	font-weight: 800;
	color: var(--stkrv-accent);
	line-height: 1;
}
.stkrv-star-spotlight .stkrv-quote,
.stkrv-star-spotlight .stkrv-author,
.stkrv-star-spotlight .stkrv-platform {
	padding: 0 28px;
}
.stkrv-star-spotlight .stkrv-quote  { padding-top: 20px; }
.stkrv-star-spotlight .stkrv-author { padding-top: 12px; }
.stkrv-star-spotlight .stkrv-platform { padding-top: 8px; padding-bottom: 24px; }

/* ── 10 · Glassmorphism ─────────────────────────────────────── */
.stkrv-glass {
	/* Carries its own dark base so the frosted panel and its white type are
	   legible whatever sits behind the widget. It used to be white on white. */
	background:
		linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.06)),
		linear-gradient(150deg, #1b1c3a 0%, #101828 60%, #0b1020 100%);
	backdrop-filter: blur(16px) saturate(180%);
	-webkit-backdrop-filter: blur(16px) saturate(180%);
	border: 1px solid rgba(255,255,255,.35);
	border-radius: 20px;
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	position: relative;
	overflow: hidden;
	transition: background .25s;
}
.stkrv-glass:hover {
	background:
		linear-gradient(160deg, rgba(255,255,255,.24), rgba(255,255,255,.10)),
		linear-gradient(150deg, #1b1c3a 0%, #101828 60%, #0b1020 100%);
}
.stkrv-glass .stkrv-avatar { border-color: rgba(255,255,255,.4); }
.stkrv-glass::before {
	content: '';
	position: absolute;
	top: -60px;
	right: -60px;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--stkrv-accent) 20%, transparent);
	pointer-events: none;
}
.stkrv-glass .stkrv-quote { color: rgba(255,255,255,.92); }
.stkrv-glass .stkrv-name  { color: #fff; }
.stkrv-glass .stkrv-role  { color: rgba(255,255,255,.65); }
.stkrv-glass .stkrv-date  { color: rgba(255,255,255,.5); }
.stkrv-glass .stkrv-platform-name { color: rgba(255,255,255,.65); }
.stkrv-glass .stkrv-platform-icon i   { color: rgba(255,255,255,.75); }
.stkrv-glass .stkrv-platform-icon svg { fill: rgba(255,255,255,.75); }
.stkrv-glass .stkrv-star-empty { color: rgba(255,255,255,.3); }
.stkrv-glass > * { position: relative; z-index: 1; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 767px) {
	.stkrv-horizontal {
		flex-direction: column;
	}
	.stkrv-h-left {
		flex-direction: row;
		justify-content: flex-start;
		flex-basis: auto;
		padding: 20px 20px 16px;
	}
	.stkrv-h-divider { width: 100%; height: 1px; }
	.stkrv-h-right { padding: 16px 20px 20px; }
	.stkrv-ss-top .stkrv-star { font-size: 22px !important; }
}


/* ── 11 · Rail & Gutter ─────────────────────────────────────── */
/* A narrow identity gutter beside the copy column, divided by a hairline. */
.stkrv-rail {
	background: #fff;
	border: 1px solid #e4e7ec;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
	box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 8px 24px -8px rgba(16,24,40,.12);
}
.stkrv-rail-gutter {
	flex: 1 1 84px;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 20px 10px;
	background: color-mix(in srgb, var(--stkrv-accent) 7%, #fff);
	border-right: 1px solid #e4e7ec;
}
.stkrv-rail-gutter .stkrv-avatar { width: 44px; height: 44px; }
.stkrv-rail-gutter .stkrv-stars { flex-direction: column; gap: 3px; }
.stkrv-rail-gutter .stkrv-star { font-size: 13px; }
.stkrv-rail-main {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px 22px;
	flex: 999 1 170px;
	min-width: 0;
}
.stkrv-rail-main .stkrv-author-info { gap: 3px; }

/* ── 12 · Score Lead ────────────────────────────────────────── */
/* The score is the headline; the copy supports it. */
.stkrv-score-lead {
	background: #fff;
	border: 1px solid #e4e7ec;
	border-radius: 12px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 8px 24px -8px rgba(16,24,40,.12);
}
.stkrv-sl-head {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-rows: auto auto;
	column-gap: 12px;
	align-items: center;
	min-width: 0;
	padding-bottom: 14px;
	border-bottom: 1px solid #eef0f4;
}
.stkrv-sl-num {
	grid-row: 1 / 3;
	font-size: 2.75rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.02em;
	color: var(--stkrv-accent);
}
.stkrv-sl-max {
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #98a2b3;
	align-self: end;
}
.stkrv-score-lead .stkrv-sl-head .stkrv-stars { align-self: start; flex-wrap: wrap; }

/* ── 13 · Ribbon Corner ─────────────────────────────────────── */
.stkrv-ribbon-corner {
	background: #fff; border-radius: 12px; padding: 24px; position: relative;
	box-shadow: 0 2px 14px rgba(0,0,0,.08);
}
.stkrv-ribbon-corner::before {
	content: ''; position: absolute; top: 0; left: 0; border-style: solid;
	border-width: 0 0 28px 28px; border-color: transparent transparent var(--stkrv-accent) transparent;
	border-bottom-left-radius: 2px;
}

/* ── 14 · Split Header ──────────────────────────────────────── */
/* Identity left, score right, sharing a tinted head above the copy. */
.stkrv-split-header {
	background: #fff;
	border: 1px solid #e4e7ec;
	border-radius: 12px;
	padding: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 8px 24px -8px rgba(16,24,40,.12);
}
.stkrv-sh-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 20px;
	background: color-mix(in srgb, var(--stkrv-accent) 8%, #fff);
	border-bottom: 1px solid #e4e7ec;
}
.stkrv-sh-id { display: flex; align-items: center; gap: 10px; min-width: 0; }
.stkrv-sh-id .stkrv-avatar { width: 40px; height: 40px; }
.stkrv-sh-score { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: 0 0 auto; margin-left: auto; }
.stkrv-sh-num { font-size: 1.35rem; font-weight: 700; line-height: 1; color: var(--stkrv-accent); }
.stkrv-sh-score .stkrv-star { font-size: 13px; }
.stkrv-sh-body { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 20px; }

/* ── 15 · Ticket Stub ───────────────────────────────────────── */
.stkrv-ticket {
	background: #fff; border-radius: 12px; padding: 24px; position: relative; box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.stkrv-ticket::before, .stkrv-ticket::after {
	content: ''; position: absolute; top: 50%; width: 14px; height: 14px; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 50%; transform: translateY(-50%);
}
.stkrv-ticket::before { left: -7px; }
.stkrv-ticket::after  { right: -7px; }

/* ── 16 · Sticker ───────────────────────────────────────────── */
.stkrv-sticker { background: #fff; border-radius: 16px; padding: 22px; box-shadow: 0 10px 20px -12px rgba(0,0,0,.25); position: relative; }
.stkrv-sticker::after { content: ''; position: absolute; width: 28px; height: 28px; right: -8px; top: -8px; background: radial-gradient(circle at 30% 30%, #fff 0%, #fff 45%, rgba(0,0,0,.08) 46%, rgba(0,0,0,.08) 100%); border-radius: 0 16px 0 0; }

/* ── 17 · Tinted Quote ──────────────────────────────────────── */
/* The quote owns a tinted field; identity sits on a raised white panel at its base. */
.stkrv-tinted-quote {
	background: color-mix(in srgb, var(--stkrv-accent) 10%, #fff);
	border-radius: 14px;
	padding: 22px 20px 20px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.stkrv-tq-field { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.stkrv-tq-field .stkrv-quote { font-size: 1.05rem; line-height: 1.6; color: #1d2939; }
.stkrv-tq-panel {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	background: #fff;
	border-radius: 999px;
	padding: 8px 16px 8px 8px;
	box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 8px 24px -8px rgba(16,24,40,.12);
}
.stkrv-tq-panel .stkrv-avatar { width: 36px; height: 36px; }
.stkrv-tq-panel .stkrv-author-info { min-width: 0; }
.stkrv-tq-panel .stkrv-platform { margin-left: auto; flex: 0 0 auto; }

/* ── 18 · Timeline Entry ────────────────────────────────────── */
/* Reviews read as dated entries pinned to a vertical rail. */
.stkrv-timeline {
	background: transparent;
	padding: 0 0 4px;
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr);
	gap: 0 14px;
}
.stkrv-tl-rail { position: relative; }
.stkrv-tl-rail::before {
	content: '';
	position: absolute;
	left: 12px;
	top: 6px;
	bottom: 0;
	width: 2px;
	background: color-mix(in srgb, var(--stkrv-accent) 25%, #fff);
}
.stkrv-tl-dot {
	position: absolute;
	left: 6px;
	top: 4px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--stkrv-accent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--stkrv-accent) 15%, #fff);
}
.stkrv-tl-body { display: flex; flex-direction: column; gap: 12px; padding-bottom: 8px; }
.stkrv-tl-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; }
.stkrv-tl-head .stkrv-star { font-size: 14px; }
.stkrv-timeline .stkrv-quote { border-left: none; }

/* ── 19 · Editorial Rules ───────────────────────────────────── */
/* No card at all: a byline head, hairline rules and body copy. */
.stkrv-editorial {
	background: transparent;
	border-top: 2px solid #101828;
	border-bottom: 1px solid #e4e7ec;
	border-radius: 0;
	padding: 14px 0 14px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.stkrv-ed-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e4e7ec;
}
.stkrv-ed-head .stkrv-name { text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; }
.stkrv-ed-head .stkrv-star { font-size: 14px; }
.stkrv-editorial .stkrv-quote { font-size: 1rem; line-height: 1.7; color: #1d2939; }
.stkrv-ed-foot { margin-top: auto; }

/* ── 20 · Inline Row ────────────────────────────────────────── */
/* One dense identity line across the top, copy beneath, score trailing. */
.stkrv-inline-row {
	background: #fff;
	border: 1px solid #e4e7ec;
	border-radius: 10px;
	padding: 14px 16px 12px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.stkrv-ir-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	min-width: 0;
	padding-bottom: 10px;
	border-bottom: 1px solid #f2f4f7;
}
.stkrv-ir-head .stkrv-avatar { width: 32px; height: 32px; }
.stkrv-ir-head .stkrv-author-info { flex-direction: row; align-items: baseline; gap: 8px; min-width: 0; flex-wrap: wrap; }
.stkrv-ir-head .stkrv-name { font-size: .88rem; }
.stkrv-ir-head .stkrv-platform { margin-left: auto; flex: 0 0 auto; }
.stkrv-inline-row .stkrv-quote { font-size: .9rem; line-height: 1.6; }
.stkrv-ir-foot { margin-top: auto; display: flex; justify-content: flex-end; }
.stkrv-ir-foot .stkrv-star { font-size: 14px; }

/* ── 21 · Glow ──────────────────────────────────────────────── */
.stkrv-glow { background: #fff; border-radius: 14px; padding: 24px; box-shadow: 0 0 0 2px color-mix(in srgb, var(--stkrv-accent) 35%, #fff) inset, 0 10px 28px color-mix(in srgb, var(--stkrv-accent) 30%, transparent); }

/* ── 22 · Offset Panels ─────────────────────────────────────── */
/* A white copy panel overlaps a tinted meta panel instead of sharing one box. */
.stkrv-offset {
	background: transparent;
	padding: 0 0 6px;
	display: flex;
	flex-direction: column;
}
.stkrv-op-back {
	background: color-mix(in srgb, var(--stkrv-accent) 14%, #fff);
	border-radius: 12px 12px 0 0;
	padding: 14px 18px 26px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 10px;
}
.stkrv-op-front {
	background: #fff;
	border: 1px solid #e4e7ec;
	border-radius: 12px;
	padding: 18px 20px;
	margin: -16px 0 0 18px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	flex: 1;
	box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 8px 24px -8px rgba(16,24,40,.12);
}

/* ── 23 · Quote Watermark ───────────────────────────────────── */
/* An oversized quote glyph sits behind the copy rather than above it. */
.stkrv-watermark {
	background: #fff;
	border: 1px solid #e4e7ec;
	border-radius: 14px;
	padding: 26px 24px 22px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 16px;
	box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 8px 24px -8px rgba(16,24,40,.12);
}
.stkrv-wm {
	position: absolute;
	top: -26px;
	right: 6px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 9rem;
	line-height: 1;
	color: color-mix(in srgb, var(--stkrv-accent) 14%, #fff);
	pointer-events: none;
	z-index: 0;
}
/* Content must sit above the watermark. */
.stkrv-watermark > *:not(.stkrv-wm) { position: relative; z-index: 1; }
.stkrv-watermark .stkrv-quote { font-size: 1.05rem; line-height: 1.65; color: #1d2939; }
.stkrv-wm-foot {
	margin-top: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 14px;
	border-top: 1px solid #eef0f4;
}

/* ── 24 · Framed Quote ──────────────────────────────────────── */
/* A card within a card: the quote gets its own inset white panel. */
.stkrv-framed {
	background: color-mix(in srgb, var(--stkrv-accent) 9%, #fff);
	border-radius: 16px;
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.stkrv-fr-inner {
	background: #fff;
	border-radius: 10px;
	padding: 18px 20px;
	flex: 1;
	box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 8px 24px -8px rgba(16,24,40,.12);
}
.stkrv-fr-inner .stkrv-quote { margin: 0; }
.stkrv-fr-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.stkrv-fr-foot .stkrv-avatar { width: 40px; height: 40px; }

/* ── 25 · Rating Meter ──────────────────────────────────────── */
/* A proportional bar carries the score instead of a star row. */
.stkrv-meter {
	background: #fff;
	border: 1px solid #e4e7ec;
	border-radius: 12px;
	padding: 22px 24px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 8px 24px -8px rgba(16,24,40,.12);
}
.stkrv-mt-row { display: flex; align-items: center; gap: 12px; }
.stkrv-mt-num { font-size: 1.5rem; font-weight: 700; line-height: 1; color: #101828; flex: 0 0 auto; }
.stkrv-mt-bar {
	position: relative;
	flex: 1;
	height: 8px;
	border-radius: 999px;
	background: #eef0f4;
	overflow: hidden;
}
.stkrv-mt-fill {
	position: absolute;
	inset: 0 auto 0 0;
	border-radius: 999px;
	background: var(--stkrv-accent);
}

/* ── 26 · Dark Split ────────────────────────────────────────── */
/* Copy left, identity column right, on a dark ground. */
.stkrv-dark-split {
	background: #101828;
	border-radius: 14px;
	padding: 0;
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
}
.stkrv-ds-main { display: flex; flex-direction: column; gap: 12px; padding: 22px 20px; flex: 999 1 190px; min-width: 0; }
.stkrv-ds-main .stkrv-quote { color: #d0d5dd; font-size: 1rem; line-height: 1.65; }
.stkrv-ds-side {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 22px 16px;
	background: rgba(255,255,255,.05);
	border-left: 1px solid rgba(255,255,255,.1);
	flex: 1 1 132px;
	min-width: 0;
}
.stkrv-ds-side .stkrv-avatar { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.2); }
.stkrv-dark-split .stkrv-name { color: #f9fafb; }
.stkrv-dark-split .stkrv-role,
.stkrv-dark-split .stkrv-date,
.stkrv-dark-split .stkrv-platform-name { color: #98a2b3; }
.stkrv-dark-split .stkrv-platform-icon i,
.stkrv-dark-split .stkrv-platform-icon svg { color: #98a2b3; fill: #98a2b3; }
.stkrv-dark-split .stkrv-star-empty { color: rgba(255,255,255,.22); }
/* Once the identity column wraps under the copy the divider belongs on top. */
@media (max-width: 600px) {
	.stkrv-ds-side { border-left: none; border-top: 1px solid rgba(255,255,255,.1); }
}

/* ── 27 · Pastel ────────────────────────────────────────────── */
.stkrv-pastel { background: #fdf2f8; border: 1px solid #fbcfe8; border-radius: 16px; padding: 22px; }
.stkrv-pastel .stkrv-quote { color: #9d174d; }

/* ── 28 · Mono ──────────────────────────────────────────────── */
.stkrv-mono { background: #fff; border: 1px solid #111827; border-radius: 8px; padding: 18px; box-shadow: 4px 4px 0 #111827; }
.stkrv-mono .stkrv-star-filled { color: #111827; }

/* ── 29 · Broadsheet ────────────────────────────────────────── */
/* A kicker, serif copy set in columns, and a byline under a rule. */
.stkrv-broadsheet {
	background: #fffefb;
	border: 1px solid #e4e7ec;
	border-radius: 4px;
	padding: 20px 22px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-family: Georgia, "Times New Roman", Times, serif;
}
.stkrv-bs-kicker {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-bottom: 10px;
	border-bottom: 3px double #101828;
}
.stkrv-bs-kicker .stkrv-platform-name {
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-size: .7rem;
	font-weight: 700;
	color: #101828;
}
.stkrv-bs-kicker .stkrv-star { font-size: 13px; }
.stkrv-bs-body { flex: 1; }
.stkrv-bs-body .stkrv-quote {
	font-size: 1rem;
	line-height: 1.65;
	color: #1d2939;
	columns: 170px 2;
	column-gap: 20px;
	column-rule: 1px solid #e4e7ec;
	text-align: justify;
	hyphens: auto;
}
.stkrv-bs-byline { padding-top: 10px; border-top: 1px solid #d0d5dd; }
.stkrv-bs-byline .stkrv-name {
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	text-transform: uppercase;
	letter-spacing: .08em;
	font-size: .75rem;
}
@media (max-width: 700px) {
	.stkrv-bs-body .stkrv-quote { column-count: 1; text-align: left; }
}

/* ── 30 · Split Footer ──────────────────────────────────────── */
/* The quote leads at display size; the meta divides left and right below a rule. */
.stkrv-split-footer {
	background: #fff;
	border: 1px solid #e4e7ec;
	border-radius: 14px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 8px 24px -8px rgba(16,24,40,.12);
}
.stkrv-split-footer .stkrv-quote {
	font-size: 1.1rem;
	line-height: 1.6;
	color: #101828;
	flex: 1;
}
.stkrv-sf-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	padding-top: 16px;
	border-top: 1px solid #eef0f4;
}
.stkrv-sf-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.stkrv-sf-right .stkrv-star { font-size: 15px; }

/* ── 31 · Meta Grid ─────────────────────────────────────────── */
/* The review details read as labelled cells rather than a name-and-role stack. */
.stkrv-meta-grid {
	background: #fff;
	border: 1px solid #e4e7ec;
	border-radius: 12px;
	padding: 20px 22px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 8px 24px -8px rgba(16,24,40,.12);
}
.stkrv-meta-grid .stkrv-quote { flex: 1; }
.stkrv-mg {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(118px, 100%), 1fr));
	gap: 1px;
	background: #e4e7ec;
	border: 1px solid #e4e7ec;
	border-radius: 8px;
	overflow: hidden;
}
.stkrv-mg-cell { background: #fff; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.stkrv-mg-label {
	font-size: .65rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: #98a2b3;
}
.stkrv-mg-value { font-size: .85rem; font-weight: 600; color: #101828; overflow-wrap: anywhere; }

/* ── 32 · Chip Header ───────────────────────────────────────── */
/* Platform, score and date read as a row of chips above the copy. */
.stkrv-chips {
	background: #fff;
	border: 1px solid #e4e7ec;
	border-radius: 12px;
	padding: 18px 20px 20px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.stkrv-ch-row { display: flex; flex-wrap: wrap; gap: 8px; }
.stkrv-chip {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	padding: 5px 12px;
	background: #f2f4f7;
	color: #344054;
	font-size: .74rem;
	font-weight: 600;
	letter-spacing: .01em;
}
.stkrv-chip-score {
	background: color-mix(in srgb, var(--stkrv-accent) 12%, #fff);
	color: color-mix(in srgb, var(--stkrv-accent) 80%, #101828);
}
.stkrv-chips .stkrv-quote { flex: 1; }
.stkrv-chips .stkrv-avatar { width: 40px; height: 40px; }

/* ── 33 · Skewed ───────────────────────────────────────────── */
/* 33 — Split Rating: the score lives in its own tinted column beside the copy. */
.stkrv-skewed {
	background: #fff;
	border: 1px solid #e4e7ec;
	border-radius: 14px;
	overflow: hidden;
	display: grid;
	grid-template-columns: 68px minmax(0, 1fr);
	align-items: start;
	box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 8px 24px -8px rgba(16,24,40,.12);
}
.stkrv-skewed .stkrv-stars {
	grid-column: 1;
	grid-row: 1 / -1;
	align-self: stretch;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 20px 10px;
	background: color-mix(in srgb, var(--stkrv-accent) 8%, #fff);
	border-right: 1px solid #e4e7ec;
	height: 100%;
}
.stkrv-skewed .stkrv-star { font-size: 14px; }
.stkrv-skewed > *:not(.stkrv-stars) { grid-column: 2; padding: 0 20px; }
.stkrv-skewed > *:not(.stkrv-stars):first-of-type { padding-top: 20px; }
.stkrv-skewed .stkrv-author { padding-bottom: 20px; }

@media (max-width: 480px) {
	.stkrv-skewed { grid-template-columns: minmax(0, 1fr); }
	.stkrv-skewed .stkrv-stars { grid-column: 1; grid-row: auto; flex-direction: row; padding: 14px 20px; border-right: none; border-bottom: 1px solid #e4e7ec; }
	.stkrv-skewed > *:not(.stkrv-stars) { grid-column: 1; }
}

/* ── 34 · Angled ───────────────────────────────────────────── */
/* 34 — Banner Quote: an accent header band carries the stars and platform,
   with the copy on a plain surface below. */
.stkrv-angled {
	background: #fff;
	border: 1px solid #e4e7ec;
	border-radius: 14px;
	padding: 0;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 8px 24px -8px rgba(16,24,40,.12);
	display: flex;
	flex-direction: column;
}
.stkrv-angled .stkrv-stars {
	order: -2;
	padding: 16px 22px;
	background: var(--stkrv-accent);
}
.stkrv-angled .stkrv-star-filled { color: #fff; }
.stkrv-angled .stkrv-star-empty  { color: rgba(255,255,255,.4); }
.stkrv-angled .stkrv-platform { order: -1; padding: 14px 22px 0; }
.stkrv-angled .stkrv-quote  { padding: 14px 22px; margin: 0; flex: 1; }
.stkrv-angled .stkrv-author { padding: 0 22px 20px; }

/* ── 35 · Spotlight 2 ───────────────────────────────────────── */
.stkrv-spotlight-2 { background: radial-gradient(120px 80px at 60px 40px, color-mix(in srgb, var(--stkrv-accent) 30%, #fff), #fff 60%); border-radius: 16px; padding: 26px; box-shadow: 0 2px 14px rgba(0,0,0,.08); }

/* ── 36 · Divided List ──────────────────────────────────────── */
/* Whole-collection layout: full-width rows, copy left, identity right, hairline between. */
.stkrv-divided-list-wrap {
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
}
.stkrv-divided-list {
	background: transparent;
	border-bottom: 1px solid #e4e7ec;
	border-radius: 0;
	padding: 20px 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	align-items: start;
}
.stkrv-divided-list-wrap > .stkrv-divided-list:first-child { border-top: 1px solid #e4e7ec; }
.stkrv-dl-main { display: flex; flex-direction: column; gap: 10px; flex: 999 1 240px; min-width: 0; }
.stkrv-dl-main .stkrv-quote { font-size: 1rem; line-height: 1.65; }
.stkrv-dl-meta { display: flex; flex-direction: column; gap: 8px; flex: 1 1 200px; min-width: 0; }
.stkrv-dl-meta .stkrv-avatar { width: 40px; height: 40px; }

/* ── 37 · Staggered Grid ────────────────────────────────────── */
/* Whole-collection layout: alternate cards drop out of line, identity anchored to the base. */
.stkrv-stagger-wrap { align-items: start; }
.stkrv-stagger-wrap > .stkrv-box:nth-child(even) { margin-top: 34px; }
.stkrv-stagger {
	background: #fff;
	border: 1px solid #e4e7ec;
	border-radius: 14px;
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-height: 260px;
	box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 8px 24px -8px rgba(16,24,40,.12);
}
.stkrv-sg-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.stkrv-sg-top .stkrv-star { font-size: 15px; }
.stkrv-stagger .stkrv-quote { flex: 1; font-size: 1rem; line-height: 1.65; }
.stkrv-sg-foot { padding-top: 14px; border-top: 1px solid #eef0f4; }
@media (max-width: 767px) {
	.stkrv-stagger-wrap > .stkrv-box:nth-child(even) { margin-top: 0; }
}

/* ── 38 · Feature Row ───────────────────────────────────────── */
/* Whole-collection layout: one review per row, tinted identity panel beside a large quote. */
.stkrv-feature-row-wrap { grid-template-columns: minmax(0, 1fr); }
.stkrv-feature-row {
	background: #fff;
	border: 1px solid #e4e7ec;
	border-radius: 14px;
	padding: 0;
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
	box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 8px 24px -8px rgba(16,24,40,.12);
}
.stkrv-fw-id {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 26px 22px;
	background: color-mix(in srgb, var(--stkrv-accent) 8%, #fff);
	border-right: 1px solid #e4e7ec;
	flex: 1 1 200px;
	min-width: 0;
}
.stkrv-fw-id .stkrv-avatar { width: 56px; height: 56px; }
.stkrv-fw-num {
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1;
	color: var(--stkrv-accent);
	margin-top: 4px;
}
.stkrv-fw-body { display: flex; flex-direction: column; gap: 14px; padding: 26px 28px; flex: 999 1 240px; min-width: 0; }
.stkrv-fw-body .stkrv-quote { font-size: 1.15rem; line-height: 1.6; color: #101828; }
@media (max-width: 700px) {
	.stkrv-fw-id { border-right: none; border-bottom: 1px solid #e4e7ec; }
}

/* ── 39 · Pill ─────────────────────────────────────────────── */
.stkrv-pill {
	background: #fff;
	border: 1px solid #e4e7ec;
	border-radius: 28px;
	padding: 22px 26px;
	box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 8px 24px -8px rgba(16,24,40,.12);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
}
/* The quote takes the full row instead of being squeezed into a ~130px
   column beside the stars, and the author no longer overflows the ellipse. */
.stkrv-pill .stkrv-stars  { flex: 0 0 auto; }
.stkrv-pill .stkrv-quote  { flex: 1 1 100%; min-width: 0; }
.stkrv-pill .stkrv-author { flex: 1 1 100%; min-width: 0; }
.stkrv-pill .stkrv-platform { flex: 0 0 auto; margin-left: auto; }
.stkrv-pill .stkrv-quote { margin: 0; }

/* ── 40 · Footer Strip ──────────────────────────────────────── */
/* Identity runs on a full-bleed tinted strip along the base of the card. */
.stkrv-footer-strip {
	background: #fff;
	border: 1px solid #e4e7ec;
	border-radius: 12px;
	padding: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 8px 24px -8px rgba(16,24,40,.12);
}
.stkrv-fst-body { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 20px; flex: 1; }
.stkrv-fst-strip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	padding: 12px 22px;
	background: color-mix(in srgb, var(--stkrv-accent) 10%, #fff);
	border-top: 1px solid #e4e7ec;
	min-width: 0;
}
.stkrv-fst-strip .stkrv-avatar { width: 36px; height: 36px; }
.stkrv-fst-strip .stkrv-author-info { min-width: 0; }
.stkrv-fst-strip .stkrv-platform { margin-left: auto; flex: 0 0 auto; }

/* ═══════════════════════════════════════════
   Reduced motion
═══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
	.stkrv-wrap *,
	.stkrv-wrap *::before,
	.stkrv-wrap *::after {
		animation: none !important;
		transition: none !important;
	}
	.stkrv-box:hover { transform: none !important; }
}
