/* Fan Reviews — front end.
   Everything is scoped under .fanrev and driven by --fanrev-accent so each
   movie/site can carry its own color without touching this file. */

.fanrev {
	--fanrev-accent: #2f5d50;
	--fanrev-accent-use: var(--fanrev-accent);
	--fanrev-ink: #1c1f1e;
	--fanrev-muted: #6b7472;
	--fanrev-paper: #ffffff;
	--fanrev-wash: color-mix(in srgb, var(--fanrev-accent) 6%, #ffffff);
	--fanrev-line: color-mix(in srgb, var(--fanrev-accent) 18%, #e4e6e5);
	--fanrev-radius: 14px;
	--fanrev-shadow: rgba(15, 25, 22, 0.05);
	color: var(--fanrev-ink);
	color-scheme: light;
	font-size: 16px;
	line-height: 1.55;
	max-width: 860px;
	margin: 0 auto;
}

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

.fanrev .screen-reader-text {
	position: absolute;
	width: 1px; height: 1px;
	clip-path: inset(50%);
	overflow: hidden;
	white-space: nowrap;
}


/* ---- Dark scheme ------------------------------------------------------ */

.fanrev[data-fanrev-scheme="dark"] {
	--fanrev-ink: #e6e9e8;
	--fanrev-muted: #98a29f;
	--fanrev-paper: color-mix(in srgb, var(--fanrev-accent-dark, var(--fanrev-accent)) 7%, #151918);
	--fanrev-wash: color-mix(in srgb, var(--fanrev-accent-dark, var(--fanrev-accent)) 16%, #151918);
	--fanrev-line: color-mix(in srgb, var(--fanrev-accent-dark, var(--fanrev-accent)) 32%, #2b3230);
	--fanrev-shadow: rgba(0, 0, 0, 0.35);
	color-scheme: dark;
	/* Text, stars and tags use --fanrev-accent-use. In dark mode point it at the
	   lightened accent so a dark accent stays legible. (We can't just override
	   --fanrev-accent because it's set inline per form, which would win.) */
	--fanrev-accent-use: var(--fanrev-accent-dark, #7fb3a6);
}

@media (prefers-color-scheme: dark) {
	.fanrev[data-fanrev-scheme="auto"] {
		--fanrev-ink: #e6e9e8;
		--fanrev-muted: #98a29f;
		--fanrev-paper: color-mix(in srgb, var(--fanrev-accent-dark, var(--fanrev-accent)) 7%, #151918);
		--fanrev-wash: color-mix(in srgb, var(--fanrev-accent-dark, var(--fanrev-accent)) 16%, #151918);
		--fanrev-line: color-mix(in srgb, var(--fanrev-accent-dark, var(--fanrev-accent)) 32%, #2b3230);
		--fanrev-shadow: rgba(0, 0, 0, 0.35);
		color-scheme: dark;
		--fanrev-accent-use: var(--fanrev-accent-dark, #7fb3a6);
	}
}

/* ---- Scheme toggle ----------------------------------------------------- */

.fanrev { position: relative; }
/* Reserve room so a panel heading never slides under the absolutely-positioned
   light/dark toggle in the top-right corner. */
.fanrev-scheme-toggle ~ .fanrev-panel:first-of-type .fanrev-heading,
.fanrev-scheme-toggle ~ .fanrev-single .fanrev-single__title,
.fanrev-scheme-toggle ~ .fanrev-panel:first-of-type .fanrev-stats__hero {
	padding-right: 52px;
}
.fanrev-scheme-toggle {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid var(--fanrev-line);
	background: var(--fanrev-paper);
	color: var(--fanrev-ink);
	font-size: 1.05em;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s ease;
}

.fanrev-scheme-toggle:hover,
.fanrev-scheme-toggle:focus-visible {
	background: var(--fanrev-wash);
}

.fanrev-scheme-toggle::before { content: "\263E"; } /* moon */

.fanrev.fanrev-is-dark .fanrev-scheme-toggle::before { content: "\2600"; } /* sun */

/* ===== Form action bar (back / focus / light-dark) ===================== */
/* A single connected bar flush to the top of the form panel: buttons share
   one style, separated by dividers, spanning the full width. */
.fanrev-actionbar {
	display: flex;
	margin: -28px -28px 22px;
	border-bottom: 1px solid var(--fanrev-line);
	border-radius: var(--fanrev-radius) var(--fanrev-radius) 0 0;
	overflow: hidden;
	background: var(--fanrev-wash);
}
.fanrev-actionbar__btn {
	flex: 1 1 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 16px;
	border: none;
	border-right: 1px solid var(--fanrev-line);
	background: transparent;
	color: var(--fanrev-ink);
	font: inherit;
	font-size: 0.95em;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}
.fanrev-actionbar__btn:last-child { border-right: none; }
/* The back link is an <a>; force it to match the buttons regardless of the
   theme's global link color (which was rendering it red). */
a.fanrev-actionbar__btn,
a.fanrev-actionbar__btn:link,
a.fanrev-actionbar__btn:visited {
	color: var(--fanrev-ink);
	text-decoration: none;
}
.fanrev-actionbar__btn:hover,
.fanrev-actionbar__btn:focus-visible,
a.fanrev-actionbar__btn:hover,
a.fanrev-actionbar__btn:focus-visible {
	background: var(--fanrev-accent);
	color: #fff;
	text-decoration: none;
}
.fanrev-actionbar__arrow { font-size: 1.05em; line-height: 1; }

/* The light/dark button as a bar item: reset the absolute corner styling. */
.fanrev-scheme-toggle--bar {
	position: static;
	width: auto;
	height: auto;
	border-radius: 0;
}
.fanrev-scheme-toggle--bar::before,
.fanrev.fanrev-is-dark .fanrev-scheme-toggle--bar::before { content: none; } /* uses the icon span instead */
.fanrev-scheme-toggle__icon::before { content: "\263E"; } /* moon */
.fanrev.fanrev-is-dark .fanrev-scheme-toggle__icon::before { content: "\2600"; } /* sun */
.fanrev-scheme-toggle__icon { font-size: 1.05em; line-height: 1; }

/* Round the bar's outer corners to sit flush inside the panel's rounding. */
.fanrev-actionbar__btn:first-child { border-top-left-radius: var(--fanrev-radius); }
.fanrev-actionbar__btn:last-child { border-top-right-radius: var(--fanrev-radius); }

@media (max-width: 560px) {
	.fanrev-actionbar { margin: -18px -18px 18px; }
	.fanrev-actionbar__btn { font-size: 0.82em; padding: 12px 8px; gap: 5px; }
}

/* ---- Panels ---------------------------------------------------------- */

.fanrev-panel {
	background: var(--fanrev-paper);
	border: 1px solid var(--fanrev-line);
	border-radius: var(--fanrev-radius);
	padding: 28px;
	margin: 0 0 28px;
	box-shadow: 0 1px 2px var(--fanrev-shadow);
}

.fanrev h1,
.fanrev h2,
.fanrev h3,
.fanrev h4,
.fanrev h5,
.fanrev h6,
.fanrev-heading,
.fanrev-card__title,
.fanrev-single__title,
.fanrev-summary__title,
.fanrev-success__title {
	color: var(--fanrev-ink);
}

.fanrev-heading {
	font-size: 1.35em;
	line-height: 1.25;
	margin: 0 0 6px;
	letter-spacing: -0.01em;
}

.fanrev-subheading {
	font-size: 0.8em;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--fanrev-muted);
	margin: 28px 0 12px;
	padding-top: 20px;
	border-top: 1px solid var(--fanrev-line);
}

/* ---- Icons & meters --------------------------------------------------- */

.fanrev-icon { width: 22px; height: 22px; display: inline-block; vertical-align: middle; }
.fanrev-icon--star { fill: currentColor; }
.fanrev-icon--img { object-fit: contain; }

.fanrev-meter {
	position: relative;
	display: inline-block;
	line-height: 0;
	white-space: nowrap;
}
.fanrev-meter__track { color: color-mix(in srgb, var(--fanrev-ink) 16%, transparent); }
.fanrev-meter__track .fanrev-icon--img { filter: grayscale(1); opacity: 0.28; }
.fanrev-meter__fill {
	position: absolute;
	inset: 0 auto 0 0;
	overflow: hidden;
	color: var(--fanrev-accent-use);
	white-space: nowrap;
}
.fanrev-meter .fanrev-icon { margin-right: 3px; }

/* ---- Stats hero -------------------------------------------------------- */

.fanrev-stats__hero {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-bottom: 8px;
}

.fanrev-stats__score {
	flex: none;
	display: flex;
	align-items: baseline;
	gap: 4px;
	background: var(--fanrev-accent);
	color: #fff;
	border-radius: var(--fanrev-radius);
	padding: 18px 22px;
	box-shadow: inset 0 0 0 4px color-mix(in srgb, #ffffff 22%, transparent);
}

.fanrev-stats__number { font-size: 2.6em; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.fanrev-stats__outof { font-size: 1em; opacity: 0.85; font-weight: 600; }
.fanrev-stats__count { color: var(--fanrev-muted); margin: 6px 0 0; font-size: 0.9em; }

/* ---- Poster / cover art with overlapping score badge ------------------- */
.fanrev-stats__poster-wrap {
	flex: none;
	position: relative;
	display: inline-block;
	line-height: 0;
}
.fanrev-stats__poster {
	display: block;
	width: 120px;
	height: auto;
	border-radius: var(--fanrev-radius);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}
.fanrev-stats__score--badge {
	position: absolute;
	right: -12px;
	bottom: -12px;
	padding: 10px 14px;
	box-shadow: inset 0 0 0 3px color-mix(in srgb, #ffffff 22%, transparent), 0 3px 10px rgba(0, 0, 0, 0.28);
}
.fanrev-stats__score--badge .fanrev-stats__number { font-size: 1.9em; }
.fanrev-stats__score--badge .fanrev-stats__outof { font-size: 0.8em; }
.fanrev-stats__hero.has-poster { gap: 30px; align-items: center; }

/* ---- Category bars ----------------------------------------------------- */

.fanrev-stats__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 10px 28px;
	margin-top: 20px;
}

.fanrev-bar {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas: "label value" "track track";
	align-items: center;
	gap: 2px 10px;
	padding: 6px 0;
}
.fanrev-bar__label { grid-area: label; font-size: 0.9em; font-weight: 600; }
.fanrev-bar__value { grid-area: value; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--fanrev-accent-use); }
.fanrev-bar__track {
	grid-area: track;
	height: 8px;
	border-radius: 99px;
	background: var(--fanrev-wash);
	border: 1px solid var(--fanrev-line);
	overflow: hidden;
}
.fanrev-bar__fill {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, color-mix(in srgb, var(--fanrev-accent) 70%, #fff) 0%, var(--fanrev-accent) 100%);
}

/* Cast rating bar: round photo + name/role beside the label, matching the form. */
.fanrev-bar__label--cast {
	display: flex;
	align-items: center;
	gap: 10px;
}
.fanrev-bar__label--cast .fanrev-cast__photo,
.fanrev-bar__label--cast .fanrev-cast__photo--empty {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	flex: none;
	background: var(--fanrev-wash);
}
.fanrev-bar__who { display: inline-flex; flex-direction: column; line-height: 1.25; }
.fanrev-bar__who em { color: var(--fanrev-muted); font-size: 0.86em; font-weight: 400; }
/* The media icon inherits the standard form icon styling already. */
.fanrev-bar__label--cast .fanrev-media-icon { margin-left: auto; }

/* ---- Cast grid ---------------------------------------------------------- */

.fanrev-cast {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 10px;
}

.fanrev-cast__card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border: 1px solid var(--fanrev-line);
	border-radius: 10px;
	background: var(--fanrev-wash);
}

.fanrev-cast__photo {
	width: 44px; height: 44px;
	border-radius: 50%;
	object-fit: cover;
	flex: none;
}
.fanrev-cast__photo--empty { background: var(--fanrev-line); display: inline-block; }
.fanrev-cast__who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fanrev-cast__who strong { font-size: 0.92em; }
.fanrev-cast__who em { font-size: 0.8em; color: var(--fanrev-muted); font-style: normal; }
.fanrev-cast__score { font-weight: 800; color: var(--fanrev-accent-use); font-variant-numeric: tabular-nums; }

/* ---- Form --------------------------------------------------------------- */

.fanrev-intro { color: var(--fanrev-muted); margin-top: 0; }

.fanrev-hp { position: absolute !important; left: -9999px; top: -9999px; height: 0; overflow: hidden; }

.fanrev-fields {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 0 20px;
}

.fanrev-field { margin: 0 0 18px; }
.fanrev-field label { display: block; font-weight: 600; font-size: 0.9em; margin-bottom: 5px; }
.fanrev-field small { display: block; color: var(--fanrev-muted); margin-top: 5px; font-size: 0.8em; }

.fanrev-form input[type="text"],
.fanrev-form input[type="email"],
.fanrev-form input[type="url"],
.fanrev-form input[type="number"],
.fanrev-form select,
.fanrev-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--fanrev-line);
	border-radius: 8px;
	background: var(--fanrev-paper);
	color: inherit;
	font: inherit;
}

.fanrev-form input:focus-visible,
.fanrev-form select:focus-visible,
.fanrev-form textarea:focus-visible,
.fanrev-button:focus-visible,
.fanrev-card__reveal:focus-visible,
.fanrev-rate__input:focus-visible + .fanrev-rate__label {
	outline: 2px solid var(--fanrev-accent-use);
	outline-offset: 2px;
}

.fanrev-req { color: #b3261e; }
.fanrev-opt { font-weight: 400; color: var(--fanrev-muted); font-size: 0.85em; }

.fanrev-group {
	border: 1px solid var(--fanrev-line);
	border-radius: 10px;
	padding: 6px 18px 12px;
	margin: 0 0 20px;
}
.fanrev-group legend {
	font-weight: 700;
	padding: 0 8px;
	font-size: 0.95em;
}

.fanrev-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 9px 0;
	flex-wrap: wrap;
}
.fanrev-row + .fanrev-row { border-top: 1px dashed var(--fanrev-line); }
.fanrev-row__label { flex: 1 1 220px; font-size: 0.95em; }
.fanrev-row__label em { display: block; color: var(--fanrev-muted); font-size: 0.85em; font-style: normal; }

/* Rating widget: radios + icon labels, fill-on-hover/checked */
.fanrev-rate {
	display: inline-flex;
	align-items: center;
	direction: rtl;
	line-height: 1;
	flex: 0 0 auto;
	height: auto;
	min-height: 0;
	align-self: flex-start;
}
/* Defensive: some themes add height / margin / display to svg, label, or img
   inside forms, which can blow open a big gap between the question and stars.
   Pin these so the widget renders consistently regardless of the theme. */
.fanrev-rate .fanrev-rate__label { margin: 0 !important; display: inline-flex !important; align-items: center; line-height: 0 !important; float: none !important; }
.fanrev-rate .fanrev-icon { display: block !important; margin: 0 !important; max-width: none; vertical-align: middle; }
/* Hard guard: whatever the theme or an image plugin does to svg/img sizing,
   the rating icons can never exceed their intended box (this was the cause of
   a giant gap between the question and stars on some themes). */
.fanrev-rate svg,
.fanrev-rate img { max-height: 34px !important; height: auto; }
.fanrev-rate__word { direction: ltr; font-size: 0.78em; color: var(--fanrev-muted); min-width: 62px; text-align: left; margin-right: 8px; }
.fanrev-rate__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fanrev-rate__label {
	cursor: pointer;
	padding: 3px 2px;
	color: color-mix(in srgb, var(--fanrev-ink) 18%, transparent);
	transition: transform 0.12s ease, color 0.12s ease;
	line-height: 0;
	border-radius: 6px;
}
.fanrev-rate__label .fanrev-icon { width: 26px !important; height: 26px !important; }
.fanrev-rate__label .fanrev-icon--img { filter: grayscale(1); opacity: 0.3; }
.fanrev-rate__label:hover { transform: scale(1.15); }

/* RTL trick: hovering/checking fills the icon and all icons "before" it */
.fanrev-rate__label:hover,
.fanrev-rate__label:hover ~ .fanrev-rate__label,
.fanrev-rate__input:checked ~ .fanrev-rate__label {
	color: var(--fanrev-accent-use);
}
.fanrev-rate__label:hover .fanrev-icon--img,
.fanrev-rate__label:hover ~ .fanrev-rate__label .fanrev-icon--img,
.fanrev-rate__input:checked ~ .fanrev-rate__label .fanrev-icon--img {
	filter: none;
	opacity: 1;
}

.fanrev-field--review textarea { min-height: 170px; resize: vertical; }
.fanrev-count.is-low { color: #b3261e; }
.fanrev-count.is-ok { color: var(--fanrev-accent-use); }

.fanrev-captcha { margin: 6px 0 14px; }

/* ---- Buttons & notices --------------------------------------------------- */

.fanrev-actions { margin: 8px 0 0; }
.fanrev-actions--top { margin: 0 0 16px; }

.fanrev-button {
	appearance: none;
	border: 0;
	cursor: pointer;
	background: var(--fanrev-accent);
	color: var(--fanrev-btn-text, #fff) !important;
	font: inherit;
	font-weight: 700;
	padding: 12px 26px;
	border-radius: 99px;
	transition: filter 0.15s ease, transform 0.08s ease;
}
.fanrev-button,
a.fanrev-button:link,
a.fanrev-button:visited,
a.fanrev-button:hover,
a.fanrev-button:focus,
a.fanrev-button:active { color: var(--fanrev-btn-text, #fff) !important; }
.fanrev-button:hover { filter: brightness(1.08); }
.fanrev-button:active { transform: translateY(1px); }
.fanrev-button[disabled] { opacity: 0.6; cursor: wait; }
.fanrev-button.is-disabled,
.fanrev-button.is-disabled:hover {
	opacity: 0.5;
	cursor: not-allowed;
	filter: grayscale(0.4);
	transform: none;
}

.fanrev-button--ghost,
a.fanrev-button--ghost:link,
a.fanrev-button--ghost:visited,
a.fanrev-button--ghost:hover,
a.fanrev-button--ghost:focus,
a.fanrev-button--ghost:active {
	background: transparent;
	color: var(--fanrev-accent-use) !important;
	box-shadow: inset 0 0 0 2px var(--fanrev-accent-use);
}
.fanrev-button--ghost:hover { background: color-mix(in srgb, var(--fanrev-accent) 10%, transparent); }

.fanrev-notice {
	border-radius: 8px;
	padding: 12px 14px;
	margin: 14px 0 0;
	font-size: 0.92em;
}
.fanrev-notice--error { background: #fdecea; color: #8c1d18; border: 1px solid #f3c1bd; }
.fanrev-notice--success { background: color-mix(in srgb, var(--fanrev-accent) 12%, var(--fanrev-paper)); color: var(--fanrev-ink); border: 1px solid var(--fanrev-line); }

.fanrev-legal { color: var(--fanrev-muted); font-size: 0.8em; margin: 14px 0 0; }

/* ---- Review cards --------------------------------------------------------- */

.fanrev-empty { color: var(--fanrev-muted); }

.fanrev-card {
	border: 1px solid var(--fanrev-line);
	border-left: 4px solid var(--fanrev-accent-use);
	border-radius: 10px;
	padding: 16px 18px;
	margin: 0 0 14px;
	background: var(--fanrev-paper);
}

.fanrev-card__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fanrev-card__author { font-weight: 700; }
.fanrev-card__score { font-weight: 800; color: var(--fanrev-accent-use); font-variant-numeric: tabular-nums; margin-left: auto; }
.fanrev-card__head .fanrev-icon { width: 16px; height: 16px; }

.fanrev-card__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--fanrev-muted);
	font-size: 0.8em;
	margin: 4px 0 10px;
}

.fanrev-badge {
	display: inline-block;
	padding: 2px 9px;
	border-radius: 99px;
	font-size: 0.9em;
	background: var(--fanrev-wash);
	border: 1px solid var(--fanrev-line);
}
.fanrev-badge--s4, .fanrev-badge--s5 { background: #fdecea; border-color: #f3c1bd; color: #8c1d18; }

.fanrev-card__text p:first-child { margin-top: 0; }
.fanrev-card__text p:last-child { margin-bottom: 0; }

.fanrev-card__reveal {
	appearance: none;
	width: 100%;
	border: 1px dashed var(--fanrev-line);
	background: repeating-linear-gradient(-45deg, var(--fanrev-wash), var(--fanrev-wash) 10px, var(--fanrev-paper) 10px, var(--fanrev-paper) 20px);
	color: var(--fanrev-muted);
	font: inherit;
	font-size: 0.9em;
	padding: 18px;
	border-radius: 8px;
	cursor: pointer;
}
.fanrev-card__reveal:hover { color: var(--fanrev-ink); }

/* ---- Responsive & motion --------------------------------------------------- */

@media (max-width: 560px) {
	.fanrev-panel { padding: 18px; }
	.fanrev-stats__hero { flex-direction: column; align-items: flex-start; gap: 14px; }
	.fanrev-row { align-items: flex-start; flex-direction: column; justify-content: flex-start; gap: 6px; height: auto; }
	.fanrev-row__label { margin: 0 !important; flex: 0 0 auto !important; width: 100%; }
	.fanrev-rate { margin: 0 !important; width: auto; }
	.fanrev-rate__word { display: none; }
	/* Comfortable thumb-sized tap targets (~44px) for the rating icons. */
	.fanrev-rate__label { padding: 6px 5px; }
	.fanrev-rate__label .fanrev-icon { width: 32px !important; height: 32px !important; }
	.fanrev-rate__label:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.fanrev * { transition: none !important; }
}

/* --------------------------------------------------------------------------
   About-you (optional demographics)
   -------------------------------------------------------------------------- */
.fanrev-about {
	border: 1px dashed var(--fanrev-border, #d9d3c8);
	border-radius: 10px;
	padding: 14px 16px 6px;
	margin: 0 0 18px;
}

.fanrev-about legend {
	padding: 0 8px;
	font-weight: 600;
	font-size: 0.95em;
}

.fanrev-about__hint {
	margin: 0 0 10px;
	font-size: 0.85em;
	opacity: 0.75;
}

/* --------------------------------------------------------------------------
   Reviews toolbar (search + sort)
   -------------------------------------------------------------------------- */
.fanrev-toolbar {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin: 0 0 6px;
}

.fanrev-toolbar__search {
	flex: 1 1 220px;
	min-width: 0;
	padding: 9px 12px;
	border: 1px solid var(--fanrev-border, #d9d3c8);
	border-radius: 8px;
	font: inherit;
}

.fanrev-toolbar__sort {
	flex: 0 1 auto;
	padding: 9px 12px;
	border: 1px solid var(--fanrev-border, #d9d3c8);
	border-radius: 8px;
	font: inherit;
	background: var(--fanrev-paper);
}

.fanrev-toolbar__search:focus,
.fanrev-toolbar__sort:focus {
	outline: 2px solid var(--fanrev-accent, #7a5c2e);
	outline-offset: 1px;
}

.fanrev-toolbar__status {
	margin: 0 0 12px;
	font-size: 0.9em;
	opacity: 0.8;
}

/* --------------------------------------------------------------------------
   Rating distribution + demographics
   -------------------------------------------------------------------------- */
.fanrev-dist {
	margin: 6px 0 4px;
}

.fanrev-bar--dist .fanrev-bar__label {
	flex-basis: 120px;
}

.fanrev-demo {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 8px 24px;
	margin: 6px 0 0;
}

.fanrev-demo__col h4 {
	margin: 8px 0 6px;
	font-size: 0.85em;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	opacity: 0.7;
}

.fanrev-demo__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fanrev-demo__col li {
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding: 4px 0;
	border-bottom: 1px solid var(--fanrev-border, #eee9df);
	font-size: 0.95em;
}

.fanrev-demo__col li > span:first-child {
	flex: 1 1 auto;
	min-width: 0;
}

.fanrev-demo__avg {
	font-weight: 700;
	color: var(--fanrev-accent, #7a5c2e);
}

.fanrev-demo__n {
	font-size: 0.8em;
	opacity: 0.65;
	white-space: nowrap;
}

.fanrev-demo__note {
	margin: 12px 0 0;
	font-size: 0.8em;
	opacity: 0.65;
}

/* --------------------------------------------------------------------------
   Separate-pages linking (CTA + back-link)
   -------------------------------------------------------------------------- */
.fanrev-cta {
	margin: 4px 0 24px;
	text-align: center;
}

.fanrev-cta .fanrev-button {
	display: inline-block;
	text-decoration: none;
	padding: 13px 30px;
}

.fanrev-backlink {
	display: inline-block;
	margin: 0 0 6px;
	color: var(--fanrev-accent, #2f5d50);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.92em;
}

.fanrev-backlink:hover,
.fanrev-backlink:focus-visible {
	text-decoration: underline;
}

.fanrev-notice__link {
	font-weight: 700;
	color: inherit;
	text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Featured / contributor badges on cards
   -------------------------------------------------------------------------- */
.fanrev-badge--featured {
	background: color-mix(in srgb, var(--fanrev-accent, #2f5d50) 14%, var(--fanrev-paper));
	border: 1px solid var(--fanrev-accent, #2f5d50);
	color: var(--fanrev-accent, #2f5d50);
	font-weight: 700;
}

.fanrev-badge--contrib {
	background: var(--fanrev-wash, #f4f1ea);
	border: 1px solid var(--fanrev-line, #d9d3c8);
	font-weight: 600;
}

.fanrev-card.is-featured {
	border-color: var(--fanrev-accent, #2f5d50);
	box-shadow: 0 0 0 1px var(--fanrev-accent, #2f5d50);
}

/* --------------------------------------------------------------------------
   Summary widget
   -------------------------------------------------------------------------- */
.fanrev-summary {
	border: 1px solid var(--fanrev-line, #d9d3c8);
	border-radius: 12px;
	padding: 18px 20px;
	text-align: center;
	background: var(--fanrev-paper);
}

.fanrev-summary__title {
	margin: 0 0 8px;
	font-weight: 700;
}

.fanrev-summary__score {
	margin: 0;
	line-height: 1;
}

.fanrev-summary__avg {
	font-size: 2.4em;
	font-weight: 800;
	color: var(--fanrev-accent, #2f5d50);
	letter-spacing: -0.03em;
}

.fanrev-summary__outof {
	font-weight: 600;
	opacity: 0.7;
}

.fanrev-summary__count {
	margin: 6px 0 0;
	font-size: 0.85em;
	color: var(--fanrev-muted);
}
.fanrev-summary__new { color: var(--fanrev-ink); }
.fanrev-summary__new strong {
	color: var(--fanrev-accent-use);
	font-weight: 800;
	letter-spacing: 0.04em;
}

.fanrev-summary__compare {
	list-style: none;
	margin: 12px 0 0;
	padding: 10px 0 0;
	border-top: 1px solid var(--fanrev-line, #eee9df);
	text-align: left;
}

.fanrev-summary__compare li {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 3px 0;
	font-size: 0.92em;
}

.fanrev-summary__compare strong {
	color: var(--fanrev-accent, #2f5d50);
}

.fanrev-summary__cta {
	margin: 14px 0 0;
}

.fanrev-summary__cta .fanrev-button {
	display: inline-block;
	text-decoration: none;
	padding: 10px 22px;
	font-size: 0.92em;
}

/* --------------------------------------------------------------------------
   Card titles, category descriptions, preview, single review page
   -------------------------------------------------------------------------- */
.fanrev-card__title {
	flex: 1 1 100%;
	margin: 0;
	font-size: 1.05em;
	line-height: 1.35;
}

.fanrev-card__title a {
	color: inherit;
	text-decoration: none;
}

.fanrev-card__title a:hover,
.fanrev-card__title a:focus-visible {
	color: var(--fanrev-accent, #2f5d50);
	text-decoration: underline;
}

.fanrev-row__descr {
	display: block;
	font-weight: 400;
	font-size: 0.82em;
	color: var(--fanrev-muted, #6b6459);
	margin-top: 2px;
	line-height: 1.4;
}

.fanrev-preview {
	margin-top: 8px;
}

.fanrev-preview__hint {
	font-size: 0.9em;
	opacity: 0.75;
	margin: 0 0 12px;
}

.fanrev-preview__scores {
	list-style: none;
	margin: 12px 0 0;
	padding: 12px 0 0;
	border-top: 1px solid var(--fanrev-line, #eee9df);
}

.fanrev-preview__scores li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 3px 0;
	font-size: 0.92em;
}

.fanrev-preview__scores strong {
	color: var(--fanrev-accent, #2f5d50);
	white-space: nowrap;
}

.fanrev-single__title {
	margin: 0 0 4px;
	font-size: 1.6em;
	line-height: 1.25;
}

/* Single-review hero: poster beside the title/byline/score. */
.fanrev-single__hero { margin: 0 0 20px; }
.fanrev-single__hero.has-poster {
	display: flex;
	align-items: flex-start;
	gap: 24px;
}
.fanrev-single__poster {
	flex: none;
	width: 150px;
	max-width: 32%;
}
.fanrev-single__poster-img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--fanrev-radius);
	box-shadow: 0 4px 18px var(--fanrev-shadow);
}
.fanrev-single__herobody { flex: 1 1 auto; min-width: 0; }
.fanrev-single__eyebrow {
	margin: 0 0 6px;
	font-size: 0.78em;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--fanrev-accent-use);
}
.fanrev-single__badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
}
.fanrev-single__herobody .fanrev-single__title { margin-bottom: 6px; }
.fanrev-single__herobody .fanrev-single__byline { margin-bottom: 12px; }
.fanrev-single__herobody .fanrev-single__overall { margin: 0; }

.fanrev-single__byline {
	margin: 0 0 14px;
	font-size: 0.92em;
	color: var(--fanrev-muted, #6b6459);
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.fanrev-single__overall {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 0 0 16px;
}

@media (max-width: 560px) {
	.fanrev-single__hero.has-poster {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.fanrev-single__poster { width: 160px; max-width: 55%; }
	.fanrev-single__badges,
	.fanrev-single__overall { justify-content: center; }
}

.fanrev-single__body {
	margin: 0 0 18px;
	font-size: 1.05em;
	line-height: 1.6;
}
.fanrev-single__body p:first-child { margin-top: 0; }
.fanrev-single__body p:last-child { margin-bottom: 0; }

.fanrev-single__scores {
	margin: 0 0 18px;
}

.fanrev-box-frame {
	border: 1px solid var(--fanrev-line, #d9d3c8);
	border-radius: 10px;
	padding: 4px 18px 14px;
}

/* --------------------------------------------------------------------------
   Flat, wide review cards (listing view)
   -------------------------------------------------------------------------- */
.fanrev-reviews__list {
	display: block;
}

.fanrev-card--flat {
	display: flex;
	align-items: stretch;
	gap: 0;
	padding: 0;
	overflow: hidden;
	margin-bottom: 12px;
}

.fanrev-card--flat .fanrev-card__scoreplate {
	flex: 0 0 84px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: var(--fanrev-accent, #2f5d50);
	color: #fff;
	padding: 12px 8px;
}

.fanrev-card--flat .fanrev-card__scorenum {
	font-size: 1.7em;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
}

.fanrev-card--flat .fanrev-card__scoreof {
	font-size: 0.75em;
	font-weight: 600;
	opacity: 0.85;
	margin-top: 2px;
}

.fanrev-card--flat .fanrev-card__main {
	flex: 1 1 auto;
	min-width: 0;
	padding: 12px 18px 14px;
}

.fanrev-card--flat .fanrev-card__title {
	margin: 0 0 2px;
	font-size: 1.02em;
}

.fanrev-card--flat .fanrev-card__meta {
	margin: 0 0 6px;
	font-size: 0.85em;
	color: var(--fanrev-muted, #6b6459);
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.fanrev-card--flat .fanrev-card__excerpt {
	margin: 0;
	font-size: 0.92em;
	line-height: 1.55;
}

.fanrev-card__more {
	color: var(--fanrev-accent, #2f5d50);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.fanrev-card__more:hover,
.fanrev-card__more:focus-visible {
	text-decoration: underline;
}

.fanrev-card--flat.is-featured {
	border-color: var(--fanrev-accent, #2f5d50);
	box-shadow: 0 0 0 1px var(--fanrev-accent, #2f5d50);
}

@media (max-width: 560px) {
	.fanrev-card--flat .fanrev-card__scoreplate {
		flex-basis: 64px;
	}
	.fanrev-card--flat .fanrev-card__main {
		padding: 10px 14px 12px;
	}
}

/* --------------------------------------------------------------------------
   Post-submit success panel
   -------------------------------------------------------------------------- */
.fanrev-success {
	text-align: center;
	padding: 28px 20px;
	border: 1px solid var(--fanrev-line, #d9d3c8);
	border-radius: 12px;
	background: color-mix(in srgb, var(--fanrev-accent, #2f5d50) 5%, var(--fanrev-paper));
}

.fanrev-success__icon {
	margin: 0 auto 10px;
	width: 46px;
	height: 46px;
	line-height: 46px;
	border-radius: 50%;
	background: var(--fanrev-accent, #2f5d50);
	color: #fff;
	font-size: 1.4em;
	font-weight: 700;
}

.fanrev-success__title {
	margin: 0 0 6px;
	font-size: 1.25em;
}

.fanrev-success__msg {
	margin: 0 0 14px;
	color: var(--fanrev-muted, #6b6459);
}

.fanrev-success__note {
	font-size: 0.85em;
	opacity: 0.75;
	margin: 0 0 14px;
}

.fanrev-card__country,
.fanrev-single__byline .fanrev-card__country {
	color: var(--fanrev-muted);
	font-size: 0.95em;
}

/* --------------------------------------------------------------------------
   Helpful votes, countdown, comparison table
   -------------------------------------------------------------------------- */
.fanrev-card__actions {
	margin: 8px 0 0;
}

.fanrev-helpful {
	appearance: none;
	font: inherit;
	font-size: 0.82em;
	padding: 5px 12px;
	border-radius: 999px;
	border: 1px solid var(--fanrev-line);
	background: var(--fanrev-paper);
	color: var(--fanrev-muted);
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.fanrev-helpful:hover:not(:disabled) {
	background: var(--fanrev-wash);
	color: var(--fanrev-ink);
}

.fanrev-helpful.is-voted {
	background: color-mix(in srgb, var(--fanrev-accent) 14%, var(--fanrev-paper));
	border-color: var(--fanrev-accent-use);
	color: var(--fanrev-accent-use);
	cursor: default;
}

.fanrev-countdown-panel {
	text-align: center;
}
/* When a poster is present, place it beside the countdown text on wider screens. */
.fanrev-countdown-panel.has-poster {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
	text-align: left;
}
.fanrev-countdown__poster {
	flex: none;
	width: 200px;
	max-width: 38%;
}
.fanrev-countdown__poster-img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--fanrev-radius);
	box-shadow: 0 6px 24px var(--fanrev-shadow);
}
.fanrev-countdown-panel.has-poster .fanrev-countdown__body { flex: 1 1 auto; min-width: 0; }
.fanrev-countdown__body .fanrev-heading { margin-top: 0; }
.fanrev-countdown__when { margin: 0 0 4px; }
.fanrev-countdown__blurb {
	margin: 14px 0 0;
	color: var(--fanrev-muted);
	line-height: 1.5;
}
.fanrev-countdown__terms {
	margin: 10px 0 0;
	font-size: 0.85em;
	color: var(--fanrev-muted);
	opacity: 0.8;
}

.fanrev-countdown {
	font-size: 1.9em;
	font-weight: 800;
	color: var(--fanrev-accent-use);
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
	margin: 10px 0 4px;
}

@media (max-width: 560px) {
	.fanrev-countdown-panel.has-poster {
		flex-direction: column;
		text-align: center;
		gap: 16px;
	}
	.fanrev-countdown__poster { width: 160px; max-width: 55%; }
}

.fanrev-compare__scroll {
	overflow-x: auto;
}

.fanrev-compare__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95em;
}

.fanrev-compare__table th,
.fanrev-compare__table td {
	padding: 9px 14px;
	text-align: center;
	border-bottom: 1px solid var(--fanrev-line);
	color: var(--fanrev-ink);
	white-space: nowrap;
}

.fanrev-compare__table th:first-child,
.fanrev-compare__table td:first-child {
	text-align: left;
	white-space: normal;
}

.fanrev-compare__table thead th {
	color: var(--fanrev-ink);
	border-bottom: 2px solid var(--fanrev-accent-use);
}

.fanrev-compare__table thead th a {
	color: var(--fanrev-accent-use);
	text-decoration: none;
}

.fanrev-compare__overall td {
	background: var(--fanrev-wash);
	font-size: 1.05em;
}

.fanrev-compare__overall td strong {
	color: var(--fanrev-accent-use);
}

/* --------------------------------------------------------------------------
   Static helpful count, video flag/embed, keyword cloud
   -------------------------------------------------------------------------- */
.fanrev-helpful-static,
.fanrev-video-flag {
	display: inline-block;
	font-size: 0.82em;
	color: var(--fanrev-muted);
	margin-right: 12px;
}

.fanrev-video-embed {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid var(--fanrev-line);
	margin: 0 0 20px;
}

.fanrev-video-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.fanrev-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	align-items: baseline;
	margin: 0;
}

.fanrev-cloud__word {
	appearance: none;
	border: 0;
	background: none;
	padding: 2px 4px;
	font: inherit;
	color: var(--fanrev-accent-use);
	cursor: pointer;
	border-radius: 4px;
	line-height: 1.3;
}

.fanrev-cloud__word:hover,
.fanrev-cloud__word:focus-visible {
	background: var(--fanrev-wash);
	text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Share row
   -------------------------------------------------------------------------- */
.fanrev-share {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin: 0 0 20px;
}

.fanrev-share__label {
	font-size: 0.85em;
	color: var(--fanrev-muted);
	font-weight: 600;
}

.fanrev-share__btn {
	appearance: none;
	display: inline-block;
	font: inherit;
	font-size: 0.82em;
	padding: 5px 13px;
	border-radius: 999px;
	border: 1px solid var(--fanrev-line);
	background: var(--fanrev-paper);
	color: var(--fanrev-ink);
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease;
}

.fanrev-share__btn:hover,
.fanrev-share__btn:focus-visible {
	background: var(--fanrev-wash);
	color: var(--fanrev-accent-use);
}

.fanrev-dist__hint {
	margin: -4px 0 12px;
	font-size: 0.85em;
	color: var(--fanrev-muted);
}

/* --------------------------------------------------------------------------
   Episodes / Tracks (segment) breakdown
   -------------------------------------------------------------------------- */
.fanrev-stats__grid--segments {
	max-height: 420px;
	overflow-y: auto;
}

.fanrev-stats__grid--segments .fanrev-bar__label {
	font-variant-numeric: tabular-nums;
}

.fanrev-bar__n {
	color: var(--fanrev-muted);
	font-weight: 400;
}

.fanrev-group--segments .fanrev-row__label {
	font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Seasons: collapsible episode groups
   -------------------------------------------------------------------------- */
.fanrev-season {
	border: 1px solid var(--fanrev-line);
	border-radius: 10px;
	padding: 10px 14px;
	margin: 0 0 10px;
	background: var(--fanrev-paper);
}

.fanrev-season__head {
	margin: 0;
}

.fanrev-season__eps {
	margin-top: 8px;
	border-top: 1px dashed var(--fanrev-line);
	padding-top: 8px;
}

.fanrev-season__eps > summary {
	cursor: pointer;
	font-size: 0.85em;
	color: var(--fanrev-accent-use);
	list-style: revert;
	padding: 4px 0;
	user-select: none;
}

.fanrev-season__eps[open] > summary {
	margin-bottom: 6px;
	color: var(--fanrev-muted);
}

.fanrev-season__eps--stats {
	grid-column: 1 / -1;
	margin: 2px 0 6px;
}

.fanrev-season__eps--stats .fanrev-bar {
	margin-left: 14px;
}

/* --------------------------------------------------------------------------
   Platforms (video games)
   -------------------------------------------------------------------------- */
.fanrev-platforms {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
}

.fanrev-platform {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 13px;
	border: 1px solid var(--fanrev-line);
	border-radius: 999px;
	cursor: pointer;
	font-size: 0.92em;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.fanrev-platform:hover {
	background: var(--fanrev-wash);
}

.fanrev-platform input {
	margin: 0;
}

.fanrev-badge--platform {
	background: color-mix(in srgb, var(--fanrev-accent) 12%, var(--fanrev-paper));
	border: 1px solid var(--fanrev-line);
}

.fanrev-platform-flag {
	display: inline-block;
	font-size: 0.82em;
	color: var(--fanrev-muted);
	margin-right: 10px;
}

/* --------------------------------------------------------------------------
   Emoji / Font Awesome rating glyphs (used when no PNG icon is set)
   -------------------------------------------------------------------------- */
.fanrev-icon--glyph {
	width: 22px;
	height: 22px;
	line-height: 22px;
	font-size: 18px;
	text-align: center;
	overflow: hidden;
}

.fanrev-icon--fa {
	width: 22px;
	height: 22px;
	line-height: 22px;
	font-size: 18px;
	text-align: center;
	color: currentColor;
	font-style: normal;
}

/* Dim the "empty" layer for glyphs the same way as the star/img track. */
.fanrev-meter__track .fanrev-icon--glyph,
.fanrev-meter__track .fanrev-icon--fa { opacity: 0.28; filter: grayscale(1); }

.fanrev-rate__label .fanrev-icon--glyph,
.fanrev-rate__label .fanrev-icon--fa { width: 26px; height: 26px; line-height: 26px; font-size: 22px; opacity: 0.35; filter: grayscale(1); }
.fanrev-rate__label:hover .fanrev-icon--glyph,
.fanrev-rate__label:hover ~ .fanrev-rate__label .fanrev-icon--glyph,
.fanrev-rate__input:checked ~ .fanrev-rate__label .fanrev-icon--glyph,
.fanrev-rate__label:hover .fanrev-icon--fa,
.fanrev-rate__label:hover ~ .fanrev-rate__label .fanrev-icon--fa,
.fanrev-rate__input:checked ~ .fanrev-rate__label .fanrev-icon--fa { opacity: 1; filter: none; }

/* Font Awesome rating icon set by unicode codepoint (uses the --fanrev-fa var). */
.fanrev-icon--fa-code::before {
	content: var(--fanrev-fa, "\f005");
	font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
	font-weight: 900;
	font-style: normal;
}

/* Some themes italicize all <i> tags; keep rating icons upright. */
.fanrev-icon--fa,
.fanrev-icon--fa::before,
.fanrev-icon--fa-code,
.fanrev-icon--fa-code::before {
	font-style: normal !important;
}

/* Required "agree to terms" checkbox before submit */
.fanrev-terms {
	margin: 12px 0 0;
	font-size: 0.9em;
}
.fanrev-terms__label {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	cursor: pointer;
	color: var(--fanrev-ink);
}
.fanrev-terms__check {
	margin-top: 2px;
	flex: 0 0 auto;
	width: 17px;
	height: 17px;
}
.fanrev-terms a { color: var(--fanrev-accent-use); }

/* Divider above the submit button */
.fanrev-actions__divider {
	border: 0;
	border-top: 1px solid var(--fanrev-line);
	margin: 18px 0 16px;
}

/* Hint under the submit button when the terms box isn't yet checked */
.fanrev-submit-hint {
	margin: 8px 0 0;
	font-size: 0.85em;
	color: var(--fanrev-muted);
	display: flex;
	align-items: center;
	gap: 6px;
}
.fanrev-submit-hint::before {
	content: "\2191"; /* upward arrow, pointing to the checkbox above */
	font-weight: 700;
	opacity: 0.7;
}

/* Hero: linked review count + Write your review button */
.fanrev-stats__count-link {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-thickness: 1px;
}
.fanrev-stats__count-link:hover { color: var(--fanrev-accent-use); }
.fanrev-stats__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
	margin-top: 8px;
}
.fanrev-stats__ratingline { display: flex; flex-direction: column; gap: 2px; }
.fanrev-stats__cta { margin: 0; }

/* Optional question-group headings (display + review form) */
.fanrev-qgroup__heading {
	font-size: 0.95em;
	font-weight: 700;
	color: var(--fanrev-ink);
	margin: 18px 0 8px;
	padding-bottom: 4px;
	border-bottom: 1px solid var(--fanrev-line);
	letter-spacing: 0.01em;
}
.fanrev-qgroup__heading:first-child { margin-top: 4px; }

/* --- Summary widget: compact side-by-side poster + info --- */
.fanrev-summary--poster { text-align: left; }
.fanrev-summary__hero {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 4px 0 0;
}
.fanrev-summary__poster-wrap {
	flex: none;
	line-height: 0;
}
.fanrev-summary__poster {
	display: block;
	width: 72px;
	height: auto;
	border-radius: var(--fanrev-radius);
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
.fanrev-summary__info {
	flex: 1 1 auto;
	min-width: 0;
}
.fanrev-summary--poster .fanrev-summary__score { margin: 0; }
.fanrev-summary--poster .fanrev-summary__avg { font-size: 2em; }
.fanrev-summary--poster .fanrev-summary__count { margin: 2px 0 0; }
.fanrev-summary--poster .fanrev-summary__cta { margin: 10px 0 0; }
.fanrev-summary--poster .fanrev-summary__cta .fanrev-button { padding: 8px 16px; font-size: 0.85em; }
.fanrev-summary__titlelink,
.fanrev-summary__count-link {
	color: inherit;
	text-decoration: none;
}
.fanrev-summary__titlelink:hover,
.fanrev-summary__count-link:hover {
	color: var(--fanrev-accent-use);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* --- Summary widget decorative bottom stripe (themeable per form) --- */
.fanrev-summary--stripe {
	position: relative;
	overflow: hidden;
	padding-bottom: 22px;
}
.fanrev-summary--stripe::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 6px;
}
/* Solid accent line */
.fanrev-summary--stripe-accent::after {
	background: var(--fanrev-accent, #2f5d50);
}
/* Hazard stripes — caution-tape / ghost-trap look */
.fanrev-summary--stripe-hazard::after {
	height: 7px;
	background-image: repeating-linear-gradient(
		-45deg,
		#f5c518 0,
		#f5c518 10px,
		#111 10px,
		#111 20px
	);
}

/* --- Decorative bottom stripe on main panels (opt-in per form) --- */
.fanrev--stripe .fanrev-panel {
	position: relative;
	overflow: hidden;
	padding-bottom: 34px;
}
.fanrev--stripe .fanrev-panel::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 7px;
}
.fanrev--stripe-accent .fanrev-panel::after {
	height: 6px;
	background: var(--fanrev-accent, #2f5d50);
}
.fanrev--stripe-hazard .fanrev-panel::after {
	background-image: repeating-linear-gradient(
		-45deg,
		#f5c518 0,
		#f5c518 10px,
		#111 10px,
		#111 20px
	);
}

/* ===== Focus mode (distraction-free, one-step-at-a-time) ================= */
/* The Focus mode button lives in the form toolbar; .fanrev-toolbar__btn
   provides its styling. (No standalone appearance needed anymore.) */

/* When focus mode is open, the overlay covers the form panel. */
.fanrev-form--focus { position: relative; min-height: 420px; }
.fanrev-focus {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: var(--fanrev-paper, #fff);
	display: flex;
	flex-direction: column;
	padding: 0;
}
body.fanrev-focus-open { overflow: hidden; }

/* Body splits into an optional poster column + the main step column. */
.fanrev-focus__body {
	flex: 1 1 auto;
	display: flex;
	min-height: 0;
}
.fanrev-focus__main {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
}
.fanrev-focus__poster {
	flex: none;
	width: 34%;
	max-width: 360px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 28px;
	box-sizing: border-box;
	background: color-mix(in srgb, var(--fanrev-accent) 8%, var(--fanrev-paper));
	border-right: 1px solid var(--fanrev-line);
}
.fanrev-focus__posterwrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
}
.fanrev-focus__poster img {
	max-width: 100%;
	max-height: 70vh;
	height: auto;
	border-radius: var(--fanrev-radius);
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}
.fanrev-focus__poster-title {
	margin: 16px 0 0;
	text-align: center;
	font-weight: 800;
	font-size: 1.15em;
	line-height: 1.25;
	color: var(--fanrev-ink);
}

.fanrev-focus__bar {
	height: 6px;
	background: var(--fanrev-line, #e5e0d8);
	flex: none;
}
.fanrev-focus__progress {
	display: block;
	height: 100%;
	width: 0;
	background: var(--fanrev-accent);
	transition: width 0.3s ease;
}
/* When the widget uses the hazard-stripe theme, the Focus mode progress bar
   picks up the same yellow/black caution-tape look. */
.fanrev--stripe-hazard .fanrev-focus__bar { height: 8px; }
.fanrev--stripe-hazard .fanrev-focus__progress {
	background-image: repeating-linear-gradient(
		-45deg,
		#f5c518 0,
		#f5c518 10px,
		#111 10px,
		#111 20px
	);
	background-color: #f5c518;
}
.fanrev-focus__close {
	position: absolute;
	top: 14px;
	right: 16px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--fanrev-line);
	background: var(--fanrev-paper);
	color: var(--fanrev-ink);
	font-size: 1.1em;
	cursor: pointer;
	z-index: 2;
}
.fanrev-focus__stage {
	flex: 1 1 auto;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	text-align: center;
	gap: 24px;
	max-width: 640px;
	width: 100%;
	margin: 0 auto;
	padding: 48px 24px 24px;
	box-sizing: border-box;
}
/* Make the single visible step feel big and calm. */
.fanrev-focus__stage > * {
	border: none !important;
	background: none !important;
	padding: 0 !important;
	margin: 0 !important;
	width: 100%;
}
.fanrev-focus__stage legend,
.fanrev-focus__stage label {
	font-size: 1.15em;
}
/* Center the rating row + stars, and enlarge the stars on desktop. */
.fanrev-focus__stage .fanrev-row {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 20px;
	text-align: center;
	width: 100%;
}
/* The rating widget defaults to align-self:flex-start (left); center it here. */
.fanrev-focus__stage .fanrev-rate {
	align-self: center !important;
	justify-content: center;
	gap: 6px;
}
/* Hide the "5 — Amazing" word label's left offset so the stars sit truly
   centered; the confirmation banner already announces the chosen rating. */
.fanrev-focus__stage .fanrev-rate__word {
	position: absolute;
	left: -9999px;
}
.fanrev-focus__stage .fanrev-rate__label .fanrev-icon,
.fanrev-focus__stage .fanrev-rate svg,
.fanrev-focus__stage .fanrev-rate img {
	width: 54px !important;
	height: 54px !important;
	max-height: 54px !important;
	max-width: 54px !important;
}
.fanrev-focus__stage .fanrev-row__label {
	font-size: 1.35em;
	font-weight: 600;
	flex: 0 0 auto !important;
	width: 100%;
}
.fanrev-focus__nav {
	flex: none;
	display: flex;
	justify-content: space-between;
	gap: 12px;
	max-width: 640px;
	width: 100%;
	margin: 0 auto;
	padding: 16px 24px 28px;
	box-sizing: border-box;
}
.fanrev-focus__nav .fanrev-focus__next { margin-left: auto; }
.fanrev-focus__back:disabled { opacity: 0.4; cursor: default; }

@media (max-width: 560px) {
	.fanrev-focus__stage { padding: 28px 18px; }
	.fanrev-focus__body { flex-direction: column; }
	.fanrev-focus__poster {
		width: 100%;
		max-width: none;
		max-height: 26vh;
		padding: 14px;
		border-right: none;
		border-bottom: 1px solid var(--fanrev-line);
	}
	.fanrev-focus__poster img { max-height: 22vh; }
	.fanrev-focus__poster-title { display: none; }
}

.fanrev-focus__stage .fanrev-media-icon { display: none; }
.fanrev-focus__stage .fanrev-row__label--cast {
	flex-direction: column;
	gap: 10px;
}
.fanrev-focus__stage .fanrev-row__label--cast .fanrev-cast__photo,
.fanrev-focus__stage .fanrev-row__label--cast .fanrev-cast__photo--empty {
	width: 88px;
	height: 88px;
}

/* Focus mode — per-rating step heading + keyboard guide */
.fanrev-focus__eyebrow {
	text-align: center;
	font-size: 0.85em;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--fanrev-muted);
	margin: 0 0 14px;
}
.fanrev-focus__guide {
	flex: none;
	text-align: center;
	font-size: 0.85em;
	color: var(--fanrev-muted);
	margin: 0;
	padding: 4px 24px 0;
}

/* A tricky step (dropdown, typing, required rating): emphasize the hint as
   text — not a pill/button — so it reads as guidance, not something to click. */
.fanrev-focus__guide.is-hint {
	font-size: 0.95em;
	font-weight: 600;
	color: var(--fanrev-accent-use);
	background: none;
	border: none;
	border-radius: 0;
	padding: 6px 24px 0;
	margin: 0;
	max-width: none;
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.fanrev-focus__hint-main { color: var(--fanrev-accent-use); font-weight: 600; }
.fanrev-focus__hint-sub {
	color: var(--fanrev-muted);
	font-weight: 400;
	font-size: 0.9em;
}

/* FINAL STEPS: a loud pattern interrupt so nobody misses that they're about
   to leave focus mode and what to do next. */
.fanrev-focus__guide.is-final {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	max-width: 560px;
	margin: 8px auto 0;
	padding: 16px 20px;
	background: color-mix(in srgb, var(--fanrev-accent) 12%, var(--fanrev-paper));
	border: 2px dashed var(--fanrev-accent-use);
	border-radius: var(--fanrev-radius);
}
.fanrev-focus__final-tag {
	display: inline-block;
	background: var(--fanrev-accent);
	color: #fff;
	font-size: 0.82em;
	font-weight: 800;
	letter-spacing: 0.14em;
	padding: 4px 14px;
	border-radius: 999px;
}
.fanrev-focus__final-text {
	font-size: 1.08em;
	font-weight: 600;
	line-height: 1.45;
	color: var(--fanrev-ink);
}

/* On the final step, nudge the whole overlay so it visibly changes character
   — a soft accent wash behind the stage reinforces the hand-off. */
.fanrev-focus--final .fanrev-focus__main {
	background: color-mix(in srgb, var(--fanrev-accent) 5%, transparent);
	transition: background 0.25s ease;
}
.fanrev-focus--final .fanrev-focus__next {
	animation: fanrev-final-pulse 1.6s ease-in-out 2;
}
@keyframes fanrev-final-pulse {
	0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--fanrev-accent) 55%, transparent); }
	50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--fanrev-accent) 0%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
	.fanrev-focus--final .fanrev-focus__next { animation: none; }
}

.fanrev-focus__guide kbd,
.fanrev-focus kbd {
	display: inline-block;
	padding: 1px 6px;
	border: 1px solid var(--fanrev-line);
	border-bottom-width: 2px;
	border-radius: 4px;
	font-family: inherit;
	font-size: 0.9em;
	background: var(--fanrev-wash, #f3f0ea);
}

/* Focus mode — rating confirmation banner */
.fanrev-focus__confirm {
	flex: none;
	text-align: center;
	margin: 0;
	padding: 0 24px;
	min-height: 1.6em;
	font-weight: 700;
	color: var(--fanrev-accent-use);
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}
.fanrev[data-fanrev-scheme="dark"] .fanrev-focus__confirm { color: var(--fanrev-ink); }
.fanrev-focus__confirm.is-shown {
	opacity: 1;
	transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
	.fanrev-focus__confirm { transition: none; transform: none; }
	.fanrev-focus__progress { transition: none; }
}

/* Focus mode — per-question media (image / YouTube clip + caption), shown
   inline between the question/description and the rating stars. */
.fanrev-focus__media-wrap {
	width: 100%;
	display: flex;
	justify-content: center;
	margin: 4px 0;
	min-height: 0;
	flex: 0 1 auto;
}
.fanrev-focus__media {
	width: 100%;
	max-width: 460px;
	min-height: 0;
}
/* The embed sizes to the smaller of its width (16:9) or a share of the
   viewport height, so on short windows it shrinks instead of being clipped. */
.fanrev-focus__embed {
	position: relative;
	width: 100%;
	max-width: calc((100vh - 320px) * 1.7778);
	aspect-ratio: 16 / 9;
	min-height: 160px;
	margin: 0 auto;
	border-radius: var(--fanrev-radius);
	overflow: hidden;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
	background: #000;
}
.fanrev-focus__embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.fanrev-focus__media-img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 320px);
	height: auto;
	margin: 0 auto;
	border-radius: var(--fanrev-radius);
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}
.fanrev-focus__media-cap {
	margin: 10px 0 0;
	text-align: center;
	font-size: 0.9em;
	line-height: 1.4;
	color: var(--fanrev-muted);
}
@media (max-width: 560px) {
	.fanrev-focus__media { max-width: 100%; }
	.fanrev-focus__media-img { max-height: 26vh; }
	.fanrev-focus__embed { max-width: none; }
}

/* ===== Cast photo in the form (matches the review display) ============== */
.fanrev-row--cast .fanrev-row__label--cast {
	display: flex;
	align-items: center;
	gap: 12px;
}
.fanrev-row__label--cast .fanrev-cast__photo,
.fanrev-row__label--cast .fanrev-cast__photo--empty {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	flex: none;
	background: var(--fanrev-wash);
}
.fanrev-row__who { display: inline-flex; flex-direction: column; line-height: 1.25; }
.fanrev-row__who em { color: var(--fanrev-muted); font-size: 0.88em; }

/* Label with a leading media icon (aligns like the cast photos). The icon
   floats left of the text; the text wrapper keeps its natural flow. */
.fanrev-row__label .fanrev-media-icon {
	float: left;
	margin-right: 10px;
}
.fanrev-row__labeltext { display: block; overflow: hidden; }

/* ===== Media icon on the standard form ================================= */
.fanrev-media-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	flex: none;
	padding: 0;
	border: 1px solid var(--fanrev-line);
	border-radius: 6px;
	background: var(--fanrev-paper);
	cursor: pointer;
	vertical-align: middle;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.fanrev-media-icon .dashicons {
	width: 16px;
	height: 16px;
	font-size: 16px;
	line-height: 1;
}
.fanrev-media-icon--video { color: #d63638; border-color: color-mix(in srgb, #d63638 40%, var(--fanrev-line)); }
.fanrev-media-icon--image { color: #1f7bc0; border-color: color-mix(in srgb, #1f7bc0 40%, var(--fanrev-line)); }
.fanrev-media-icon:hover { background: var(--fanrev-wash); }

/* ===== Media modal (lightbox) ========================================== */
body.fanrev-modal-open { overflow: hidden; }
.fanrev-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(0, 0, 0, 0.72);
	box-sizing: border-box;
}
.fanrev-modal__box {
	position: relative;
	width: 100%;
	max-width: 880px;
	background: #111;
	color: #fff;
	border-radius: var(--fanrev-radius);
	padding: 16px;
	box-sizing: border-box;
	box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}
.fanrev-modal__close {
	position: absolute;
	top: -14px;
	right: -14px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	background: #fff;
	color: #111;
	font-size: 1.1em;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.fanrev-modal__embed {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	border-radius: var(--fanrev-radius);
	overflow: hidden;
	background: #000;
}
.fanrev-modal__embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.fanrev-modal__img {
	display: block;
	max-width: 100%;
	max-height: 78vh;
	height: auto;
	margin: 0 auto;
	border-radius: var(--fanrev-radius);
}
.fanrev-modal__cap {
	margin: 14px 4px 4px;
	text-align: center;
	font-size: 0.95em;
	line-height: 1.4;
	color: #fff;
}
@media (max-width: 560px) {
	.fanrev-modal__close { top: 4px; right: 4px; }
}

/* Score-bar label with a leading media icon, aligned consistently at the
   start of every row (the icon floats left, text wraps beside it). */
.fanrev-bar__label:not(.fanrev-bar__label--cast) .fanrev-media-icon {
	float: left;
	margin: 1px 8px 0 0;
}
.fanrev-bar__labeltext { display: block; overflow: hidden; }

/* Rating-scale legend / key (sits at the very bottom of the scores). */
.fanrev-scale-key {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 16px;
	margin: 18px 0 24px;
	padding: 10px 14px;
	background: var(--fanrev-wash);
	border: 1px solid var(--fanrev-line);
	border-radius: var(--fanrev-radius);
	font-size: 0.85em;
	color: var(--fanrev-muted);
}
.fanrev-scale-key__label { font-weight: 700; color: var(--fanrev-ink); }
.fanrev-scale-key__item {
	display: inline-flex;
	align-items: baseline;
	gap: 5px;
}
.fanrev-scale-key__item strong { color: var(--fanrev-accent-use); }

/* ===== Poster on the write-a-review (form) screen ====================== */
/* The poster floats left; the heading, intro, and form all wrap beside it,
   filling the space rather than leaving a tall gap next to a short heading. */
.fanrev-form-poster {
	float: left;
	width: 170px;
	max-width: 34%;
	margin: 0 24px 16px 0;
}
.fanrev-form-poster__img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--fanrev-radius);
	box-shadow: 0 4px 18px var(--fanrev-shadow);
}
.fanrev-form-head { margin: 0 0 4px; }
.fanrev-form-head .fanrev-heading { margin-top: 0; }
/* The identity fields (name/email) wrap beside the poster; everything from
   "About you" onward clears it and spans full width. */
.fanrev-about { clear: left; }

@media (max-width: 560px) {
	.fanrev-form-poster {
		float: none;
		width: 150px;
		max-width: 60%;
		margin: 0 auto 14px;
	}
	.fanrev-form-head { text-align: center; }
}

/* After a successful submit, the confirmation takes over. Keep the poster —
   centered above the message — but drop the heading/toolbar so it's clean. */
.fanrev-form-panel--done .fanrev-form-head,
.fanrev-form-panel--done .fanrev-actionbar { display: none; }
.fanrev-form-panel--done .fanrev-form-poster {
	float: none;
	width: 150px;
	max-width: 46%;
	margin: 0 auto 18px;
}
.fanrev-form-panel--done .fanrev-success { clear: both; text-align: center; }

/* ===== Multi-film widget: condensed list ============================== */
.fanrev-summary--list { padding: 4px 0; }
.fanrev-rlist {
	list-style: none;
	margin: 0;
	padding: 0;
}
.fanrev-rlist__item {
	margin: 0;
	border-bottom: 1px solid var(--fanrev-line);
}
.fanrev-rlist__item:last-child { border-bottom: none; }
.fanrev-rlist__link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 4px;
	text-decoration: none;
	color: var(--fanrev-ink);
	transition: background 0.15s ease;
}
a.fanrev-rlist__link:hover { background: var(--fanrev-wash); }
.fanrev-rlist__thumb {
	flex: none;
	width: 44px;
	height: 64px;
	border-radius: 6px;
	overflow: hidden;
	background: var(--fanrev-wash);
}
.fanrev-rlist__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fanrev-rlist__body { flex: 1 1 auto; min-width: 0; text-align: left; }
.fanrev-rlist__name {
	display: block;
	font-weight: 700;
	font-size: 0.92em;
	line-height: 1.25;
	margin-bottom: 3px;
}
.fanrev-rlist__meta {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px 6px;
	font-size: 0.85em;
	text-align: left;
}
.fanrev-rlist__score {
	font-weight: 800;
	color: var(--fanrev-accent-use);
	font-variant-numeric: tabular-nums;
}
.fanrev-rlist__outof { font-weight: 800; }
.fanrev-rlist__count { color: var(--fanrev-muted); }
/* Media-type tag (Movie / Book / Game…) — subtle, disambiguates same names. */
.fanrev-rlist__type {
	display: inline-block;
	font-size: 0.82em;
	font-weight: 700;
	line-height: 1;
	padding: 3px 7px;
	border-radius: 4px;
	background: color-mix(in srgb, var(--fanrev-accent) 12%, var(--fanrev-paper));
	color: var(--fanrev-accent-use);
	white-space: nowrap;
}
/* Each widget row carries its own accent; in dark mode use its lightened
   value so per-title colors stay legible (custom props inherit downward). */
[data-fanrev-scheme="dark"] .fanrev-rlist__item,
[data-fanrev-scheme="dark"] .fanrev-soon,
[data-fanrev-scheme="dark"] .fanrev-random {
	--fanrev-accent-use: var(--fanrev-accent-dark, #7fb3a6);
}
@media (prefers-color-scheme: dark) {
	[data-fanrev-scheme="auto"] .fanrev-rlist__item,
	[data-fanrev-scheme="auto"] .fanrev-soon,
	[data-fanrev-scheme="auto"] .fanrev-random {
		--fanrev-accent-use: var(--fanrev-accent-dark, #7fb3a6);
	}
}
.fanrev-rlist__new strong {
	color: var(--fanrev-accent-use);
	font-weight: 800;
	letter-spacing: 0.04em;
}

/* ===== Opening-soon strip (pinned bottom) ============================= */
.fanrev-soon {
	margin: 12px 0 0;
	border: 1px dashed var(--fanrev-line);
	border-radius: var(--fanrev-radius);
	background: color-mix(in srgb, var(--fanrev-accent) 6%, var(--fanrev-paper));
}
.fanrev-soon--inlist { margin-top: 14px; }
.fanrev-soon__link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	text-decoration: none;
	color: var(--fanrev-ink);
	position: relative;
}
a.fanrev-soon__link:hover { background: color-mix(in srgb, var(--fanrev-accent) 12%, var(--fanrev-paper)); }
.fanrev-soon__tag {
	position: absolute;
	top: -9px;
	left: 12px;
	background: var(--fanrev-accent);
	color: #fff;
	font-size: 0.66em;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 2px 8px;
	border-radius: 999px;
}
.fanrev-soon__thumb {
	flex: none;
	width: 40px;
	height: 58px;
	border-radius: 6px;
	overflow: hidden;
	background: var(--fanrev-wash);
}
.fanrev-soon__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fanrev-soon__body { flex: 1 1 auto; min-width: 0; padding-top: 4px; }
.fanrev-soon__name { display: block; font-weight: 700; line-height: 1.25; }
.fanrev-soon__when { display: block; font-size: 0.85em; color: var(--fanrev-muted); margin-top: 2px; }

/* ===== Random review spotlight ======================================== */
.fanrev-random__heading {
	margin: 0 0 10px;
	font-weight: 800;
	font-size: 1.02em;
	color: var(--fanrev-ink);
}
.fanrev-random__slot { transition: opacity 0.18s ease; }
.fanrev-random__card {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0;
}
/* Poster with the score badged onto its corner. */
.fanrev-random__poster {
	position: relative;
	flex: none;
	width: 84px;
}
.fanrev-random__poster-img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 3px 12px var(--fanrev-shadow);
}
.fanrev-random__scorebadge {
	position: absolute;
	bottom: -8px;
	right: -8px;
	min-width: 34px;
	height: 34px;
	padding: 0 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--fanrev-accent);
	color: #fff;
	font-weight: 800;
	font-size: 0.95em;
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.25);
	font-variant-numeric: tabular-nums;
}
.fanrev-random__scorebadge .fanrev-random__scoreof { font-size: 0.7em; font-weight: 700; opacity: 0.85; margin-left: 1px; }
/* Fallback score plate when there's no poster. */
.fanrev-random__scoreplate {
	flex: none;
	width: 60px;
	height: 60px;
	border-radius: 10px;
	background: var(--fanrev-accent);
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1;
}
.fanrev-random__scorenum { font-weight: 800; font-size: 1.35em; }
.fanrev-random__scoreplate .fanrev-random__scoreof { font-size: 0.7em; opacity: 0.85; margin-top: 2px; }

.fanrev-random__body { flex: 1 1 auto; min-width: 0; }
.fanrev-random__quote {
	margin: 0 0 8px;
	line-height: 1.5;
	font-size: 0.95em;
}
.fanrev-random__meta {
	margin: 0 0 6px;
	font-size: 0.85em;
	color: var(--fanrev-muted);
}
.fanrev-random__author { font-weight: 700; color: var(--fanrev-ink); }
.fanrev-random__readmore { font-weight: 700; font-size: 0.88em; text-decoration: none; }
.fanrev-random__more { margin: 12px 0 0; text-align: center; }
.fanrev-random__another { cursor: pointer; }

/* ===== Focus mode — subtle "optional from here" divider ============== */
.fanrev-focus__divider {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	max-width: 340px;
	margin: 0 auto 18px;
	color: var(--fanrev-muted);
	font-size: 0.78em;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.fanrev-focus__divider::before,
.fanrev-focus__divider::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: var(--fanrev-line);
}

/* ===== Combined write screen + links group =========================== */
.fanrev-screen-reader {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0);
	white-space: nowrap; border: 0;
}
.fanrev-field__teaser {
	display: block;
	margin-top: 6px;
	color: var(--fanrev-accent-use);
	font-weight: 600;
}
.fanrev-field__teaser[hidden] { display: none; }
.fanrev-group--links {
	border: 1px solid var(--fanrev-line);
	border-radius: var(--fanrev-radius);
	padding: 14px 16px;
	margin: 0 0 18px;
	background: color-mix(in srgb, var(--fanrev-accent) 4%, var(--fanrev-paper));
}
.fanrev-group--links > legend {
	font-weight: 700;
	padding: 0 8px;
	font-size: 0.95em;
}
.fanrev-field--extlink small { color: var(--fanrev-ink); }

/* "Read the full review elsewhere" button on the single review. */
.fanrev-single__external { margin: 0 0 18px; }
.fanrev-external-link { display: inline-flex; align-items: center; gap: 8px; }
.fanrev-external-link__ext { font-size: 0.9em; opacity: 0.85; }
