/* Review Comments — front-end styles.
 * All colours are tokens on .rvc; themes can override any --rvc-* variable.
 */

.rvc:is(.rvc, #rvc-scope) {
	--rvc-accent: #7c3aed;
	--rvc-bg: #ffffff;
	--rvc-surface: #f5f3fa;
	--rvc-surface-2: #ebe8f4;
	--rvc-border: #e4e1ed;
	--rvc-text: #1a1724;
	--rvc-muted: #57536a;
	--rvc-faint: #6b6680;
	--rvc-accent-text: var(--rvc-accent);
	--rvc-accent-soft: color-mix(in srgb, var(--rvc-accent) 12%, transparent);
	--rvc-star: #f59e0b; /* gold, same on every page; amber reads better on light backgrounds */
	--rvc-star-off: #d6d2e3;
	--rvc-bar: color-mix(in srgb, var(--rvc-accent) 45%, var(--rvc-surface-2));
	--rvc-pos: #047857;
	--rvc-pos-bg: #e3f6ec;
	--rvc-warn: #8a3b0c;
	--rvc-warn-bg: #fdf3d8;
	--rvc-danger: #b42318;
	--rvc-radius: 16px;
	--rvc-on-accent: #ffffff;

	box-sizing: border-box;
	background: var(--rvc-bg);
	color: var(--rvc-text);
	border-radius: 20px;
	padding: clamp(16px, 4vw, 32px);
	margin: 2.5rem 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
	font-size: 15px;
	line-height: 1.6;
	text-align: left;
}

.rvc--dark:is(.rvc, #rvc-scope) {
	--rvc-bg: #0d0c14;
	--rvc-surface: #15131f;
	--rvc-surface-2: #221f32;
	--rvc-border: #2a2738;
	--rvc-text: #edebf5;
	--rvc-muted: #aba7be;
	--rvc-faint: #8a85a0;
	--rvc-accent-text: color-mix(in srgb, var(--rvc-accent) 50%, #ffffff);
	--rvc-accent-soft: color-mix(in srgb, var(--rvc-accent) 22%, transparent);
	--rvc-star: #f5b301;
	--rvc-star-off: #3a3650;
	--rvc-bar: color-mix(in srgb, var(--rvc-accent) 55%, var(--rvc-surface-2));
	--rvc-pos: #6ee7b7;
	--rvc-pos-bg: rgba(52, 211, 153, 0.12);
	--rvc-warn: #fcd34d;
	--rvc-warn-bg: rgba(251, 191, 36, 0.12);
	--rvc-danger: #fca5a5;
}

@media (prefers-color-scheme: dark) {
	.rvc--auto:is(.rvc, #rvc-scope) {
		--rvc-bg: #0d0c14;
		--rvc-surface: #15131f;
		--rvc-surface-2: #221f32;
		--rvc-border: #2a2738;
		--rvc-text: #edebf5;
		--rvc-muted: #aba7be;
		--rvc-faint: #8a85a0;
		--rvc-accent-text: color-mix(in srgb, var(--rvc-accent) 50%, #ffffff);
		--rvc-accent-soft: color-mix(in srgb, var(--rvc-accent) 22%, transparent);
		--rvc-star: #f5b301;
		--rvc-star-off: #3a3650;
		--rvc-bar: color-mix(in srgb, var(--rvc-accent) 55%, var(--rvc-surface-2));
		--rvc-pos: #6ee7b7;
		--rvc-pos-bg: rgba(52, 211, 153, 0.12);
		--rvc-warn: #fcd34d;
		--rvc-warn-bg: rgba(251, 191, 36, 0.12);
		--rvc-danger: #fca5a5;
	}
}

.rvc--standalone:is(.rvc, #rvc-scope) { gap: 0; padding: 0; background: none; margin: 1.5rem 0; }


/* ---------- Media Review Builder pages ----------
 * The review page (.br-page) defines --type (identity colour of movie / book /
 * tv / comic) and its dark palette --br-*. Inherit them so comments match the page.
 */
.rvc--mrb:is(.rvc, #rvc-scope) {
	--rvc-accent: var(--type, var(--br-accent, #8b5cf6));
	--rvc-accent-text: var(--type, var(--br-accent-2, #a78bfa));
	--rvc-on-accent: #0d0d12;
	--rvc-accent-soft: color-mix(in srgb, var(--rvc-accent) 16%, transparent);
	--rvc-star: var(--br-star, #f5b301); /* Media Review Builder's own star colour */
	--rvc-star-off: color-mix(in srgb, var(--br-text, #e6e6ee) 18%, transparent);
	--rvc-bar: color-mix(in srgb, var(--rvc-accent) 45%, var(--rvc-surface-2));
	--rvc-bg: transparent;
	--rvc-surface: var(--br-panel, #16161d);
	--rvc-surface-2: var(--br-panel-2, #1c1c25);
	--rvc-border: var(--br-border, #26262f);
	--rvc-text: var(--br-text, #e6e6ee);
	--rvc-muted: var(--br-muted, #9a9aa8);
	--rvc-faint: color-mix(in srgb, var(--br-muted, #9a9aa8) 85%, transparent);
	--rvc-pos: #6ee7b7;
	--rvc-pos-bg: rgba(52, 211, 153, 0.12);
	--rvc-warn: #fcd34d;
	--rvc-warn-bg: rgba(251, 191, 36, 0.12);
	--rvc-danger: #fca5a5;
	padding: 0;
	margin: 0;
	border-radius: 0;
}


/* ---------- Resets against theme styles ---------- */

.rvc:is(.rvc, #rvc-scope) *,
.rvc:is(.rvc, #rvc-scope) *::before,
.rvc:is(.rvc, #rvc-scope) *::after { box-sizing: border-box; }
.rvc:is(.rvc, #rvc-scope) h2,
.rvc:is(.rvc, #rvc-scope) h3,
.rvc:is(.rvc, #rvc-scope) p,
.rvc:is(.rvc, #rvc-scope) fieldset,
.rvc:is(.rvc, #rvc-scope) legend { margin: 0; padding: 0; border: 0; }
.rvc:is(.rvc, #rvc-scope) button {
	font: inherit; color: inherit; background: none; border: 0; margin: 0; padding: 0;
	box-shadow: none; text-transform: none; letter-spacing: normal; line-height: inherit;
	cursor: pointer; min-height: 0; width: auto; border-radius: 0; text-decoration: none;
}
.rvc:is(.rvc, #rvc-scope) button:disabled { cursor: default; }
.rvc:is(.rvc, #rvc-scope) label { font-weight: inherit; font-size: inherit; letter-spacing: normal; text-transform: none; margin: 0; }
.rvc:is(.rvc, #rvc-scope) input[type="text"],
.rvc:is(.rvc, #rvc-scope) input[type="email"],
.rvc:is(.rvc, #rvc-scope) textarea {
	font: inherit; color: var(--rvc-text); background: transparent; box-shadow: none;
	margin: 0; width: 100%; max-width: none;
}
.rvc:is(.rvc, #rvc-scope) a { color: var(--rvc-accent-text); }
.rvc:is(.rvc, #rvc-scope) img { max-width: 100%; height: auto; border: 0; box-shadow: none; }
.rvc:is(.rvc, #rvc-scope) :focus:not(:focus-visible) { outline: none !important; box-shadow: none; }
.rvc:is(.rvc, #rvc-scope) :focus-visible { outline: 2px solid var(--rvc-accent); outline-offset: 2px; border-radius: 6px; }
.rvc:is(.rvc, #rvc-scope) .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.rvc:is(.rvc, #rvc-scope) [hidden] { display: none !important; }

.rvc:is(.rvc, #rvc-scope) .rvc-i { flex: none; display: block; }
.rvc:is(.rvc, #rvc-scope) .rvc-muted { color: var(--rvc-muted); font-size: 13px; }

/* ---------- Stars ---------- */

.rvc:is(.rvc, #rvc-scope) .rvc-stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.rvc:is(.rvc, #rvc-scope) .rvc-star {
	--f: 100%;
	display: block; width: 15px; height: 15px;
	background: linear-gradient(90deg, var(--rvc-star) var(--f), var(--rvc-star-off) var(--f));
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3 6.1 20.6l1.3-6.6L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3 6.1 20.6l1.3-6.6L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.rvc:is(.rvc, #rvc-scope) .rvc-stars--lg { gap: 3px; }
.rvc:is(.rvc, #rvc-scope) .rvc-stars--lg .rvc-star { width: 18px; height: 18px; }

/* ---------- Avatar & badges ---------- */

.rvc:is(.rvc, #rvc-scope) .rvc-av {
	--s: 44px; --h: 260;
	position: relative; flex: none; width: var(--s); height: var(--s); border-radius: 50%;
	overflow: hidden; display: inline-flex; align-items: center; justify-content: center;
	background: hsl(var(--h) 35% 32%); color: hsl(var(--h) 60% 92%);
	font-weight: 600; font-size: calc(var(--s) * 0.4); line-height: 1;
}
.rvc:is(.rvc, #rvc-scope) .rvc-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; margin: 0; }

.rvc:is(.rvc, #rvc-scope) .rvc-badge {
	display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; line-height: 1.5;
	border-radius: 999px; padding: 1px 10px; white-space: nowrap;
}
.rvc:is(.rvc, #rvc-scope) .rvc-badge--accent { color: var(--rvc-accent-text); background: var(--rvc-accent-soft); }
.rvc:is(.rvc, #rvc-scope) .rvc-badge--muted { color: var(--rvc-muted); box-shadow: inset 0 0 0 1px var(--rvc-border); }
.rvc:is(.rvc, #rvc-scope) .rvc-badge--warn { color: var(--rvc-warn); box-shadow: inset 0 0 0 1px currentColor; }

/* ---------- Buttons & links ---------- */

.rvc:is(.rvc, #rvc-scope) .rvc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--rvc-accent); color: var(--rvc-on-accent); border-radius: 10px;
	padding: 0 20px; min-height: 44px; font-size: 14px; font-weight: 600;
	text-decoration: none; transition: filter .15s, opacity .15s;
}
.rvc:is(.rvc, #rvc-scope) .rvc-btn:hover { filter: brightness(1.1); color: var(--rvc-on-accent); }
.rvc:is(.rvc, #rvc-scope) .rvc-btn:disabled { opacity: .6; }
.rvc:is(.rvc, #rvc-scope) .rvc-btn--pill { border-radius: 999px; min-height: 40px; padding: 0 18px; font-size: 13px; }
.rvc:is(.rvc, #rvc-scope) .rvc-btn--sm { min-height: 36px; padding: 0 16px; font-size: 13px; border-radius: 999px; }
.rvc:is(.rvc, #rvc-scope) .rvc-btn--ghost { background: transparent; color: var(--rvc-text); box-shadow: inset 0 0 0 1px var(--rvc-border); }
.rvc:is(.rvc, #rvc-scope) .rvc-btn--ghost:hover { color: var(--rvc-text); background: var(--rvc-surface-2); filter: none; }
.rvc:is(.rvc, #rvc-scope) a.rvc-act { text-decoration: none; }

.rvc:is(.rvc, #rvc-scope) .rvc-link { color: var(--rvc-accent-text); font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; gap: 4px; }
.rvc:is(.rvc, #rvc-scope) .rvc-link:hover { text-decoration: underline; }
.rvc:is(.rvc, #rvc-scope) .rvc-link--quiet { color: var(--rvc-faint); font-weight: 500; font-size: 12px; }

.rvc:is(.rvc, #rvc-scope) .rvc-icon-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 50%; color: var(--rvc-muted); flex: none;
	transition: background .15s, color .15s;
}
.rvc:is(.rvc, #rvc-scope) .rvc-icon-btn:hover { background: var(--rvc-accent-soft); color: var(--rvc-accent-text); }

.rvc:is(.rvc, #rvc-scope) .rvc-chip {
	display: inline-flex; align-items: center; gap: 6px; border-radius: 999px;
	padding: 4px 12px; min-height: 32px; font-size: 13px; line-height: 1.3;
	transition: box-shadow .15s, background .15s;
}
.rvc:is(.rvc, #rvc-scope) .rvc-chip b { font-weight: 600; }
.rvc:is(.rvc, #rvc-scope) .rvc-chip[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px currentColor; }
.rvc:is(.rvc, #rvc-scope) .rvc-chip--active { background: var(--rvc-accent-soft); color: var(--rvc-accent-text); font-weight: 600; }

/* ---------- Summary (option A) ---------- */

.rvc:is(.rvc, #rvc-scope) .rvc-summary {
	background: var(--rvc-surface); border-radius: 18px; padding: 28px 32px;
	display: flex; flex-direction: column; gap: 24px;
}
.rvc:is(.rvc, #rvc-scope) .rvc-summary__grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; align-items: center; }
.rvc:is(.rvc, #rvc-scope) .rvc-summary__score { display: flex; flex-direction: column; gap: 8px; }
.rvc:is(.rvc, #rvc-scope) .rvc-score { display: flex; align-items: baseline; gap: 6px; }
.rvc:is(.rvc, #rvc-scope) .rvc-score__num { font-size: 60px; font-weight: 700; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.rvc:is(.rvc, #rvc-scope) .rvc-score__max { font-size: 16px; color: var(--rvc-faint); }

.rvc:is(.rvc, #rvc-scope) .rvc-dist { display: flex; flex-direction: column; gap: 2px; }
.rvc:is(.rvc, #rvc-scope) .rvc-dist__row {
	display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 12px;
	padding: 4px 8px; margin: 0 -8px; border-radius: 8px; font-size: 13px; color: var(--rvc-muted);
	text-align: left; transition: background .15s;
}
.rvc:is(.rvc, #rvc-scope) .rvc-dist__row:not(:disabled):hover { background: var(--rvc-accent-soft); }
.rvc:is(.rvc, #rvc-scope) .rvc-dist__row[aria-pressed="true"] { background: var(--rvc-accent-soft); color: var(--rvc-text); }
.rvc:is(.rvc, #rvc-scope) .rvc-dist__row.is-top { color: var(--rvc-text); font-weight: 600; }
.rvc:is(.rvc, #rvc-scope) .rvc-dist__track { display: block; height: 10px; border-radius: 999px; background: var(--rvc-surface-2); overflow: hidden; }
.rvc:is(.rvc, #rvc-scope) .rvc-dist__bar { display: block; height: 100%; border-radius: 999px; background: var(--rvc-bar); transition: width .4s ease; }
.rvc:is(.rvc, #rvc-scope) .is-top .rvc-dist__bar { background: var(--rvc-star); }
.rvc:is(.rvc, #rvc-scope) .rvc-dist__n { text-align: right; font-variant-numeric: tabular-nums; color: var(--rvc-faint); font-weight: 400; }

.rvc:is(.rvc, #rvc-scope) .rvc-summary__foot {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
	padding-top: 20px; border-top: 1px solid var(--rvc-border);
}
.rvc:is(.rvc, #rvc-scope) .rvc-summary__foot { column-gap: 20px; row-gap: 10px; justify-content: flex-start; }
.rvc:is(.rvc, #rvc-scope) .rvc-summary__group { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rvc:is(.rvc, #rvc-scope) .rvc-summary__label { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--rvc-faint); margin-right: 2px; cursor: help; }
.rvc:is(.rvc, #rvc-scope) .rvc-summary__label .rvc-i { color: var(--rvc-accent-text); }
.rvc:is(.rvc, #rvc-scope) .rvc-summary__cta { margin-left: auto; }
.rvc:is(.rvc, #rvc-scope) .rvc-summary.is-empty .rvc-dist { opacity: .55; }

.rvc:is(.rvc, #rvc-scope) .rvc-score.is-empty .rvc-score__num { color: var(--rvc-faint); }

/* ---------- Header ---------- */

.rvc:is(.rvc, #rvc-scope) .rvc-head { padding-bottom: 16px; border-bottom: 1px solid var(--rvc-border); }
.rvc:is(.rvc, #rvc-scope) .rvc-head__title {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--rvc-text);
	font-variant-numeric: tabular-nums; font-family: inherit;
}
.rvc:is(.rvc, #rvc-scope) .rvc-head__title .rvc-i { color: var(--rvc-muted); }

/* ---------- Composer ---------- */

.rvc:is(.rvc, #rvc-scope) .rvc-composer { display: flex; gap: 16px; align-items: flex-start; scroll-margin-top: 96px; }
.rvc:is(.rvc, #rvc-scope) .rvc-composer > .rvc-av { margin-top: 4px; }
.rvc:is(.rvc, #rvc-scope) .rvc-composer__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }

/* Text fields: hard reset. Themes (Flatsome, Astra, Twenty*) style textarea/input
   with fixed heights, grey fills and inset shadows, often with high specificity,
   so the visual properties here are !important on purpose. */
.rvc:is(.rvc, #rvc-scope) .rvc-textarea,
.rvc:is(.rvc, #rvc-scope) .rvc-line {
	-webkit-appearance: none !important; appearance: none !important;
	background: transparent !important; background-image: none !important;
	border: 0 !important; border-radius: 0 !important; box-shadow: none !important; outline: none !important;
	color: var(--rvc-text) !important; font: inherit !important; letter-spacing: normal !important;
	margin: 0 !important; max-width: none !important; width: 100% !important; text-indent: 0 !important;
	transition: none !important; vertical-align: top !important;
}
.rvc:is(.rvc, #rvc-scope) .rvc-textarea::placeholder,
.rvc:is(.rvc, #rvc-scope) .rvc-line::placeholder { color: var(--rvc-faint) !important; opacity: 1 !important; }

.rvc:is(.rvc, #rvc-scope) .rvc-field {
	position: relative; display: flex; align-items: flex-end; gap: 4px;
	border-bottom: 1px solid var(--rvc-border); transition: border-color .2s, box-shadow .2s;
}
.rvc:is(.rvc, #rvc-scope) .rvc-field:focus-within { border-bottom-color: var(--rvc-accent); }
.rvc:is(.rvc, #rvc-scope) .rvc-textarea {
	flex: 1 1 auto; min-width: 0 !important; display: block !important; resize: none !important;
	min-height: 46px !important; max-height: 280px !important; height: 46px;
	padding: 11px 0 !important; font-size: 15px !important; line-height: 1.6 !important; overflow-y: hidden;
}
.rvc:is(.rvc, #rvc-scope) .rvc-field__tools { flex: none; display: inline-flex; align-items: center; gap: 2px; padding-bottom: 3px; }
.rvc:is(.rvc, #rvc-scope) .rvc-count { font-size: 12px; color: var(--rvc-faint); white-space: nowrap; font-variant-numeric: tabular-nums; padding-right: 4px; }
.rvc:is(.rvc, #rvc-scope) .rvc-count:empty { display: none; }
.rvc:is(.rvc, #rvc-scope) .rvc-count.is-near { color: var(--rvc-warn); }
.rvc:is(.rvc, #rvc-scope) .rvc-field__img { border-radius: 10px; cursor: pointer; }

/* Guest name / email: quiet underline fields, revealed once the guest starts writing */
.rvc:is(.rvc, #rvc-scope) .rvc-guest { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; }
.rvc:is(.rvc, #rvc-scope) .rvc-guest:not([hidden]) { animation: rvc-reveal .25s ease-out; }
.rvc:is(.rvc, #rvc-scope) .rvc-input { display: block; }
.rvc:is(.rvc, #rvc-scope) .rvc-line {
	display: block !important; height: auto !important; min-height: 40px !important;
	padding: 8px 0 !important; font-size: 14px !important; line-height: 1.5 !important;
	border-bottom: 1px solid var(--rvc-border) !important;
}
.rvc:is(.rvc, #rvc-scope) .rvc-line:focus { border-bottom-color: var(--rvc-accent) !important; }
.rvc:is(.rvc, #rvc-scope) .rvc-guest__meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; font-size: 13px; }
.rvc:is(.rvc, #rvc-scope) .rvc-check--sm { font-size: 13px; min-height: 32px; }
.rvc:is(.rvc, #rvc-scope) .rvc-guest--compact { margin-top: 4px; }

.rvc:is(.rvc, #rvc-scope) .rvc-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.rvc:is(.rvc, #rvc-scope) .rvc-thumb { position: relative; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--rvc-surface-2); }
.rvc:is(.rvc, #rvc-scope) .rvc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rvc:is(.rvc, #rvc-scope) .rvc-thumb.is-loading img { opacity: .4; }
.rvc:is(.rvc, #rvc-scope) .rvc-thumb button {
	position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%;
	background: rgba(0, 0, 0, .6); color: #fff; display: flex; align-items: center; justify-content: center;
}

.rvc:is(.rvc, #rvc-scope) .rvc-composer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.rvc:is(.rvc, #rvc-scope) .rvc-composer__send { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-left: auto; }
.rvc:is(.rvc, #rvc-scope) .rvc-check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--rvc-muted); min-height: 40px; cursor: pointer; }
.rvc:is(.rvc, #rvc-scope) .rvc-check input { -webkit-appearance: checkbox; appearance: auto; width: 16px; height: 16px; min-width: 0; margin: 0; padding: 0; border: 0; background: none; accent-color: var(--rvc-accent); position: static; }

.rvc:is(.rvc, #rvc-scope) .rvc-pick { display: flex; align-items: center; gap: 10px; }
.rvc:is(.rvc, #rvc-scope) .rvc-pick__stars { display: flex; }
.rvc:is(.rvc, #rvc-scope) .rvc-pick__star { padding: 4px; min-width: 32px; min-height: 40px; display: flex; align-items: center; justify-content: center; }
.rvc:is(.rvc, #rvc-scope) .rvc-pick__star .rvc-star { width: 24px; height: 24px; --f: 0%; transition: transform .12s; }
.rvc:is(.rvc, #rvc-scope) .rvc-pick__star.is-on .rvc-star { --f: 100%; }
.rvc:is(.rvc, #rvc-scope) .rvc-pick__star:hover .rvc-star { transform: scale(1.12); }
.rvc:is(.rvc, #rvc-scope) .rvc-pick__label { min-width: 120px; }
.rvc:is(.rvc, #rvc-scope) .rvc-rated { display: inline-flex; align-items: center; gap: 8px; }


.rvc:is(.rvc, #rvc-scope) .rvc-status { font-size: 13px; color: var(--rvc-muted); min-height: 0; }
.rvc:is(.rvc, #rvc-scope) .rvc-status:empty { display: none; }
.rvc:is(.rvc, #rvc-scope) .rvc-status.is-error { color: var(--rvc-danger); }
.rvc:is(.rvc, #rvc-scope) .rvc-closed { color: var(--rvc-muted); font-size: 14px; padding: 12px 0; }

/* ---------- Featured rail ---------- */

.rvc:is(.rvc, #rvc-scope) .rvc-featured { display: flex; flex-direction: column; gap: 12px; }
.rvc:is(.rvc, #rvc-scope) .rvc-featured__head { display: flex; align-items: center; justify-content: space-between; }
.rvc:is(.rvc, #rvc-scope) .rvc-featured__title { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--rvc-text); font-family: inherit; line-height: 1.4; }
.rvc:is(.rvc, #rvc-scope) .rvc-featured__title .rvc-i { color: var(--rvc-accent-text); }
.rvc:is(.rvc, #rvc-scope) .rvc-featured__nav { display: flex; gap: 4px; }
.rvc:is(.rvc, #rvc-scope) .rvc-featured__nav .rvc-icon-btn { width: 36px; height: 36px; }
.rvc:is(.rvc, #rvc-scope) .rvc-rail {
	display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	padding-bottom: 4px; scrollbar-width: none;
}
.rvc:is(.rvc, #rvc-scope) .rvc-rail::-webkit-scrollbar { display: none; }
.rvc:is(.rvc, #rvc-scope) .rvc-feat {
	flex: 1 0 min(260px, 84%); scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px;
	padding: 18px; background: var(--rvc-surface); border-radius: var(--rvc-radius);
	text-decoration: none; color: var(--rvc-text); transition: background .15s;
}
.rvc:is(.rvc, #rvc-scope) .rvc-feat:hover { background: var(--rvc-surface-2); color: var(--rvc-text); }
.rvc:is(.rvc, #rvc-scope) .rvc-feat__tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--rvc-accent-text); }
.rvc:is(.rvc, #rvc-scope) .rvc-feat__text { font-size: 14px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rvc:is(.rvc, #rvc-scope) .rvc-feat__foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--rvc-muted); }
.rvc:is(.rvc, #rvc-scope) .rvc-feat__foot strong { color: var(--rvc-text); font-weight: 600; }
.rvc:is(.rvc, #rvc-scope) .rvc-feat__stars { color: var(--rvc-faint); }
.rvc:is(.rvc, #rvc-scope) .rvc-state { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 14px 0 4px; }
.rvc:is(.rvc, #rvc-scope) .rvc-state__art { flex: none; color: var(--rvc-accent); }
.rvc:is(.rvc, #rvc-scope) .rvc-state__orbit { stroke: var(--rvc-accent); stroke-opacity: .35; stroke-width: 1.5; }
.rvc:is(.rvc, #rvc-scope) .rvc-state__icon { stroke: var(--rvc-accent-text); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.rvc:is(.rvc, #rvc-scope) .rvc-state__dot { fill: var(--rvc-accent-text); }
.rvc:is(.rvc, #rvc-scope) .rvc-state__body { min-width: 0; max-width: 460px; }
.rvc:is(.rvc, #rvc-scope) .rvc-state__title { margin: 0; font-size: 16px; font-weight: 600; color: var(--rvc-text); }
.rvc:is(.rvc, #rvc-scope) .rvc-state__text { margin: 4px 0 0; font-size: 13px; line-height: 1.55; color: var(--rvc-muted); }
.rvc:is(.rvc, #rvc-scope) .rvc-state__mine { display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 0; padding: 4px 10px; border-radius: 999px; font-size: 12px; color: var(--rvc-accent-text); background: color-mix(in srgb, var(--rvc-accent) 14%, transparent); }
.rvc:is(.rvc, #rvc-scope) .rvc-state__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; }
.rvc:is(.rvc, #rvc-scope) .rvc-state--login { padding: 4px 0; }
.rvc:is(.rvc, #rvc-scope) .rvc-state__social { display: flex; margin-top: 14px; }
.rvc:is(.rvc, #rvc-scope) .rvc-state__social .nsl-container { margin: 0; padding: 0; }
.rvc:is(.rvc, #rvc-scope) .rvc-state__alt { margin: 10px 0 0; font-size: 12.5px; color: var(--rvc-muted); }
.rvc:is(.rvc, #rvc-scope) .rvc-state__alt a { color: var(--rvc-accent-text); text-decoration: none; font-weight: 600; }
.rvc:is(.rvc, #rvc-scope) .rvc-state__alt a:hover { text-decoration: underline; }
.rvc:is(.rvc, #rvc-scope) .rvc-state__mod { margin: 8px 0 0; font-size: 12px; color: var(--rvc-faint); }
.rvc:is(.rvc, #rvc-scope) .rvc-c__rating-note { font-size: 11px; color: var(--rvc-faint); margin-left: 4px; }
@media (max-width: 560px) {
	.rvc:is(.rvc, #rvc-scope) .rvc-state { flex-direction: column; text-align: center; gap: 10px; }
	.rvc:is(.rvc, #rvc-scope) .rvc-state__actions,
	.rvc:is(.rvc, #rvc-scope) .rvc-state__social { justify-content: center; }
}
.rvc:is(.rvc, #rvc-scope) .rvc-feat__stats { margin-left: auto; display: inline-flex; align-items: center; gap: 12px; }
.rvc:is(.rvc, #rvc-scope) .rvc-feat__stat { display: inline-flex; align-items: center; gap: 4px; }

/* ---------- Toolbar ---------- */

.rvc:is(.rvc, #rvc-scope) .rvc-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.rvc:is(.rvc, #rvc-scope) .rvc-tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.rvc:is(.rvc, #rvc-scope) .rvc-tab {
	display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 0 14px; min-height: 36px;
	font-size: 13px; font-weight: 500; color: var(--rvc-muted); white-space: nowrap; transition: background .15s, color .15s;
}
.rvc:is(.rvc, #rvc-scope) .rvc-tab:hover { color: var(--rvc-text); }
.rvc:is(.rvc, #rvc-scope) .rvc-tab[aria-selected="true"] { background: var(--rvc-surface-2); color: var(--rvc-text); font-weight: 600; }
.rvc:is(.rvc, #rvc-scope) .rvc-tab__n { font-size: 11px; color: var(--rvc-faint); font-weight: 500; }
.rvc:is(.rvc, #rvc-scope) .rvc-filter { display: flex; align-items: center; gap: 8px; font-size: 13px; }

/* ---------- Comment ---------- */

.rvc:is(.rvc, #rvc-scope) .rvc-list { display: flex; flex-direction: column; transition: opacity .2s; }
.rvc:is(.rvc, #rvc-scope) .rvc-list[aria-busy="true"] { opacity: .5; }
.rvc:is(.rvc, #rvc-scope) .rvc-empty { color: var(--rvc-muted); text-align: center; padding: 32px 0; font-size: 14px; }

.rvc:is(.rvc, #rvc-scope) .rvc-c { display: flex; gap: 16px; padding: 20px 0; scroll-margin-top: 96px; }
.rvc:is(.rvc, #rvc-scope) .rvc-c--l1 { border-bottom: 1px solid var(--rvc-border); }
.rvc:is(.rvc, #rvc-scope) .rvc-c--l2 { gap: 12px; padding: 10px 0; }
.rvc:is(.rvc, #rvc-scope) .rvc-c.is-pending.rvc-c--l1 { background: var(--rvc-warn-bg); border-radius: 14px; padding: 20px 16px; border-bottom: 0; margin-bottom: 4px; }
.rvc:is(.rvc, #rvc-scope) .rvc-c.is-flash > .rvc-c__body { animation: rvc-flash 2s ease-out; border-radius: 10px; }
@keyframes rvc-flash { 0%, 30% { background: var(--rvc-accent-soft); box-shadow: 0 0 0 8px var(--rvc-accent-soft); } 100% { background: transparent; box-shadow: 0 0 0 8px transparent; } }

.rvc:is(.rvc, #rvc-scope) .rvc-c__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.rvc:is(.rvc, #rvc-scope) .rvc-c__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.rvc:is(.rvc, #rvc-scope) .rvc-c__name { font-weight: 600; }
.rvc:is(.rvc, #rvc-scope) .rvc-time { font-size: 13px; color: var(--rvc-faint); }
.rvc:is(.rvc, #rvc-scope) .rvc-c__rating { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.rvc:is(.rvc, #rvc-scope) .rvc-c__rating-num { font-size: 13px; color: var(--rvc-muted); }
.rvc:is(.rvc, #rvc-scope) .rvc-c__text { overflow-wrap: anywhere; }
.rvc:is(.rvc, #rvc-scope) .rvc-c__text p { margin: 0 0 .6em; }
.rvc:is(.rvc, #rvc-scope) .rvc-c__text p:last-of-type { margin-bottom: 0; }
.rvc:is(.rvc, #rvc-scope) .rvc-mention { font-weight: 600; text-decoration: none; }
.rvc:is(.rvc, #rvc-scope) .rvc-note { font-size: 13px; color: var(--rvc-muted); }

.rvc:is(.rvc, #rvc-scope) .rvc-spoiler { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-size: 14px; color: var(--rvc-muted); }
.rvc:is(.rvc, #rvc-scope) .rvc-spoiler .rvc-i { color: var(--rvc-faint); }
.rvc:is(.rvc, #rvc-scope) .rvc-reveal:not([hidden]) { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; animation: rvc-reveal .35s ease-out; }
@keyframes rvc-reveal { from { opacity: 0; transform: translateY(-2px); } to { opacity: 1; transform: none; } }

.rvc:is(.rvc, #rvc-scope) .rvc-imgs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.rvc:is(.rvc, #rvc-scope) .rvc-img { display: block; width: 96px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--rvc-surface-2); }
.rvc:is(.rvc, #rvc-scope) .rvc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.rvc:is(.rvc, #rvc-scope) .rvc-img:hover img { transform: scale(1.04); }

.rvc:is(.rvc, #rvc-scope) .rvc-c__actions { display: flex; align-items: center; gap: 4px; margin-left: -8px; }
.rvc:is(.rvc, #rvc-scope) .rvc-act {
	display: inline-flex; align-items: center; gap: 6px; padding: 0 8px; min-height: 40px; border-radius: 8px;
	font-size: 13px; color: var(--rvc-muted); transition: color .15s, background .15s;
}
.rvc:is(.rvc, #rvc-scope) .rvc-act:hover { color: var(--rvc-text); }
.rvc:is(.rvc, #rvc-scope) .rvc-like.is-on { color: var(--rvc-accent-text); font-weight: 600; }
.rvc:is(.rvc, #rvc-scope) .rvc-like.is-on .rvc-i { fill: var(--rvc-accent-soft); }
.rvc:is(.rvc, #rvc-scope) .rvc-like__n:empty { display: none; }

.rvc:is(.rvc, #rvc-scope) .rvc-menu { position: relative; margin-left: auto; }
.rvc:is(.rvc, #rvc-scope) .rvc-menu__btn { min-width: 40px; justify-content: center; padding: 0; }
.rvc:is(.rvc, #rvc-scope) .rvc-menu__list {
	position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; min-width: 190px;
	background: var(--rvc-surface); border: 1px solid var(--rvc-border); border-radius: 12px; padding: 6px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, .18); display: flex; flex-direction: column;
}
.rvc:is(.rvc, #rvc-scope) .rvc-menu__list button { text-align: left; padding: 8px 12px; border-radius: 8px; font-size: 14px; min-height: 40px; }
.rvc:is(.rvc, #rvc-scope) .rvc-menu__list button:hover,
.rvc:is(.rvc, #rvc-scope) .rvc-menu__list button:focus-visible { background: var(--rvc-surface-2); outline: none; }
.rvc:is(.rvc, #rvc-scope) .rvc-menu__list [data-act="delete"],
.rvc:is(.rvc, #rvc-scope) .rvc-menu__list [data-act="report"] { color: var(--rvc-danger); }

.rvc:is(.rvc, #rvc-scope) .rvc-replies { margin-top: 2px; display: flex; flex-direction: column; align-items: flex-start; }
.rvc:is(.rvc, #rvc-scope) .rvc-replies__list { align-self: stretch; margin-top: 4px; padding-left: 16px; border-left: 2px solid var(--rvc-border); display: flex; flex-direction: column; gap: 2px; }
.rvc:is(.rvc, #rvc-scope) .rvc-replies__toggle,
.rvc:is(.rvc, #rvc-scope) .rvc-replies__more { font-size: 13px; min-height: 36px; }
.rvc:is(.rvc, #rvc-scope) .rvc-replies__more { margin-left: 18px; }
.rvc:is(.rvc, #rvc-scope) .rvc-replies [aria-busy="true"] { opacity: .6; cursor: progress; }

/* Inline reply / edit form */
.rvc:is(.rvc, #rvc-scope) .rvc-reply-form { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.rvc:is(.rvc, #rvc-scope) .rvc-reply-form__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.rvc:is(.rvc, #rvc-scope) .rvc-reply-form__btns { display: inline-flex; align-items: center; gap: 12px; margin-left: auto; }
.rvc:is(.rvc, #rvc-scope) .rvc-reply-form .rvc-check { font-size: 13px; min-height: 36px; }
.rvc:is(.rvc, #rvc-scope) .rvc-reply-form .rvc-textarea { min-height: 40px !important; padding: 8px 0 !important; font-size: 14px !important; }

/* ---------- Load more ---------- */

.rvc:is(.rvc, #rvc-scope) .rvc-more-wrap { display: flex; justify-content: center; }
.rvc:is(.rvc, #rvc-scope) .rvc-more { color: var(--rvc-muted); font-size: 13px; font-weight: 500; padding: 0 12px; min-height: 40px; border-radius: 8px; }
.rvc:is(.rvc, #rvc-scope) .rvc-more:hover { color: var(--rvc-accent-text); }

/* Toast */
.rvc-toast {
	position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); z-index: 99999;
	background: #1a1724; color: #fff; font-size: 14px; padding: 10px 18px; border-radius: 999px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .25); opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none;
}
.rvc-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Small screens ---------- */

@media (max-width: 640px) {
	.rvc:is(.rvc, #rvc-scope) .rvc-summary { padding: 20px; }
	.rvc:is(.rvc, #rvc-scope) .rvc-summary__grid { grid-template-columns: 1fr; gap: 20px; }
	.rvc:is(.rvc, #rvc-scope) .rvc-score__num { font-size: 48px; }
	.rvc:is(.rvc, #rvc-scope) .rvc-summary__cta { margin-left: 0; width: 100%; }
	.rvc:is(.rvc, #rvc-scope) .rvc-guest { grid-template-columns: 1fr; }
	.rvc:is(.rvc, #rvc-scope) .rvc-composer { gap: 12px; }
	.rvc:is(.rvc, #rvc-scope) .rvc-composer > .rvc-av { display: none; }
	.rvc:is(.rvc, #rvc-scope) .rvc-c { gap: 12px; }
	.rvc:is(.rvc, #rvc-scope) .rvc-c--l1 > .rvc-av { --s: 36px !important; }
	.rvc:is(.rvc, #rvc-scope) .rvc-replies__list { padding-left: 12px; }
	.rvc:is(.rvc, #rvc-scope) .rvc-c__rating { margin-left: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.rvc:is(.rvc, #rvc-scope) *,
.rvc:is(.rvc, #rvc-scope) *::before,
.rvc:is(.rvc, #rvc-scope) *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Neutralise theme margins on form rows */
.rvc:is(.rvc, #rvc-scope) .rvc-guest > *,
.rvc:is(.rvc, #rvc-scope) .rvc-composer__main > *,
.rvc:is(.rvc, #rvc-scope) .rvc-check { margin: 0; }

/* ---------- One panel: heading + score + composer ----------
   Mirrors the block style of Media Review Builder pages (panel, thin border,
   titled heading with a short accent underline). */
.rvc:is(.rvc, #rvc-scope) .rvc-panel {
	background: var(--rvc-surface); border: 1px solid var(--rvc-border); border-radius: 18px;
	padding: 24px 28px; display: flex; flex-direction: column; gap: 22px;
}
.rvc:is(.rvc, #rvc-scope) .rvc-panel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.rvc:is(.rvc, #rvc-scope) .rvc-panel__title {
	position: relative; display: flex; align-items: center; gap: 8px; margin: 0; padding: 0 0 10px;
	font-family: inherit; font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--rvc-text);
}
.rvc:is(.rvc, #rvc-scope) .rvc-panel__title::after {
	content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; border-radius: 3px; background: var(--rvc-accent);
}
.rvc:is(.rvc, #rvc-scope) .rvc-panel__title .rvc-i { color: var(--rvc-accent-text); }
.rvc:is(.rvc, #rvc-scope) .rvc-panel__meta { font-size: 13px; color: var(--rvc-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.rvc:is(.rvc, #rvc-scope) .rvc-panel .rvc-summary { background: none; padding: 0; border-radius: 0; box-shadow: none; width: 100%; max-width: 940px; margin-inline: auto; }
.rvc:is(.rvc, #rvc-scope) .rvc-panel--compose { padding: 20px 28px; }
@media (max-width: 640px) {
	.rvc:is(.rvc, #rvc-scope) .rvc-panel { padding: 18px; gap: 18px; }
	.rvc:is(.rvc, #rvc-scope) .rvc-panel--compose { padding: 16px 18px; }
}

/* ---------- Summary: ring + verdict + distribution ---------- */
.rvc:is(.rvc, #rvc-scope) .rvc-summary { gap: 20px; }
.rvc:is(.rvc, #rvc-scope) .rvc-summary__top { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.rvc:is(.rvc, #rvc-scope) .rvc-ring { position: relative; flex: none; width: 96px; height: 96px; }
.rvc:is(.rvc, #rvc-scope) .rvc-ring svg { display: block; }
.rvc:is(.rvc, #rvc-scope) .rvc-ring__track { fill: none; stroke: var(--rvc-surface-2); stroke-width: 6; }
.rvc:is(.rvc, #rvc-scope) .rvc-ring__value { fill: none; stroke: var(--rvc-accent); stroke-width: 6; stroke-linecap: round; transition: stroke-dasharray .6s ease; }
.rvc:is(.rvc, #rvc-scope) .rvc-ring__label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.rvc:is(.rvc, #rvc-scope) .rvc-ring__label b { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.rvc:is(.rvc, #rvc-scope) .rvc-ring__label small { font-size: 11px; color: var(--rvc-faint); margin-top: 4px; }
.rvc:is(.rvc, #rvc-scope) .rvc-summary.is-empty .rvc-ring__label b { color: var(--rvc-faint); }

.rvc:is(.rvc, #rvc-scope) .rvc-summary__body { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.rvc:is(.rvc, #rvc-scope) .rvc-summary__verdict { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.rvc:is(.rvc, #rvc-scope) .rvc-summary__verdict strong { font-size: 16px; font-weight: 600; }

.rvc:is(.rvc, #rvc-scope) .rvc-stack { display: flex; gap: 2px; height: 8px; border-radius: 999px; overflow: hidden; background: var(--rvc-surface-2); }
.rvc:is(.rvc, #rvc-scope) .rvc-stack__seg { display: block; flex-basis: 0; min-width: 4px; }
.rvc:is(.rvc, #rvc-scope) .rvc-tone-5 { background: var(--rvc-accent); }
.rvc:is(.rvc, #rvc-scope) .rvc-tone-4 { background: color-mix(in srgb, var(--rvc-accent) 68%, var(--rvc-surface-2)); }
.rvc:is(.rvc, #rvc-scope) .rvc-tone-3 { background: color-mix(in srgb, var(--rvc-accent) 44%, var(--rvc-surface-2)); }
.rvc:is(.rvc, #rvc-scope) .rvc-tone-2 { background: color-mix(in srgb, var(--rvc-accent) 26%, var(--rvc-surface-2)); }
.rvc:is(.rvc, #rvc-scope) .rvc-tone-1 { background: color-mix(in srgb, var(--rvc-accent) 14%, var(--rvc-surface-2)); }

.rvc:is(.rvc, #rvc-scope) .rvc-legend { display: flex; flex-wrap: wrap; gap: 2px 4px; margin-left: -8px; }
.rvc:is(.rvc, #rvc-scope) .rvc-legend__item {
	display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 0 8px; min-height: 28px;
	font-size: 12.5px; color: color-mix(in srgb, var(--rvc-text) 82%, transparent); font-variant-numeric: tabular-nums; transition: background .15s;
}
.rvc:is(.rvc, #rvc-scope) .rvc-legend__item:not(:disabled):hover,
.rvc:is(.rvc, #rvc-scope) .rvc-legend__item[aria-pressed="true"] { background: var(--rvc-accent-soft); color: var(--rvc-text); }
.rvc:is(.rvc, #rvc-scope) .rvc-legend__item:disabled { opacity: .45; }
.rvc:is(.rvc, #rvc-scope) .rvc-legend__dot { width: 8px; height: 8px; border-radius: 50%; display: block; }
.rvc:is(.rvc, #rvc-scope) .rvc-legend__pct { color: var(--rvc-muted); }

/* ---------- Topic chips (AI) ---------- */
.rvc:is(.rvc, #rvc-scope) .rvc-chip--topic {
	background: var(--rvc-surface-2); color: var(--rvc-text); gap: 10px; padding: 4px 6px 4px 14px; font-weight: 500;
}
.rvc:is(.rvc, #rvc-scope) .rvc-chip--topic:hover { box-shadow: inset 0 0 0 1px var(--rvc-border); }
.rvc:is(.rvc, #rvc-scope) .rvc-chip--topic[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--rvc-accent); }
.rvc:is(.rvc, #rvc-scope) .rvc-chip__meta {
	display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 400; color: var(--rvc-muted);
	background: color-mix(in srgb, var(--rvc-bg, #000) 30%, transparent); border-radius: 999px; padding: 2px 9px;
}
@media (max-width: 640px) {
	.rvc:is(.rvc, #rvc-scope) .rvc-ring { width: 80px; height: 80px; }
	.rvc:is(.rvc, #rvc-scope) .rvc-ring svg { width: 80px; height: 80px; }
	.rvc:is(.rvc, #rvc-scope) .rvc-ring__label b { font-size: 24px; }
	.rvc:is(.rvc, #rvc-scope) .rvc-summary__top { gap: 16px; align-items: flex-start; }
	.rvc:is(.rvc, #rvc-scope) .rvc-summary__body { flex-basis: 160px; }
	.rvc:is(.rvc, #rvc-scope) .rvc-summary__verdict { flex-direction: column; gap: 2px; }
	.rvc:is(.rvc, #rvc-scope) .rvc-summary__verdict .rvc-muted { font-size: 12px; }
}

/* Reply toggle: chevron flips when expanded */
.rvc:is(.rvc, #rvc-scope) .rvc-replies__toggle .rvc-i { transition: transform .2s; }
.rvc:is(.rvc, #rvc-scope) .rvc-replies__toggle[aria-expanded="true"] .rvc-i { transform: rotate(180deg); }

/* ---------- 1.7: status rows, login bar, empty frame ---------- */
.rvc:is(.rvc, #rvc-scope) .rvc-tile {
	width: 40px; height: 40px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center;
	background: color-mix(in srgb, var(--rvc-accent) 16%, var(--rvc-surface)); color: var(--rvc-accent-text);
}
.rvc:is(.rvc, #rvc-scope) .rvc-tilerow { display: flex; align-items: center; gap: 16px; }
.rvc:is(.rvc, #rvc-scope) .rvc-tilerow__body,
.rvc:is(.rvc, #rvc-scope) .rvc-login__body { flex: 1; min-width: 0; }
.rvc:is(.rvc, #rvc-scope) .rvc-tilerow__title,
.rvc:is(.rvc, #rvc-scope) .rvc-login__title { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--rvc-text); }
.rvc:is(.rvc, #rvc-scope) .rvc-tilerow__text,
.rvc:is(.rvc, #rvc-scope) .rvc-login__text { margin: 2px 0 0; font-size: 13px; line-height: 1.5; color: var(--rvc-muted); }

.rvc:is(.rvc, #rvc-scope) .rvc-panel--compose { padding-top: 16px; padding-bottom: 16px; }
.rvc:is(.rvc, #rvc-scope) .rvc-panel--compose > .rvc-composer,
.rvc:is(.rvc, #rvc-scope) .rvc-panel--compose > .rvc-login,
.rvc:is(.rvc, #rvc-scope) .rvc-panel--empty > .rvc-composer { width: 100%; max-width: 940px; margin-inline: auto; box-sizing: border-box; }
.rvc:is(.rvc, #rvc-scope) .rvc-login { display: flex; align-items: center; gap: 16px; }
.rvc:is(.rvc, #rvc-scope) .rvc-login__actions,
.rvc:is(.rvc, #rvc-scope) .rvc-hero__actions { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rvc:is(.rvc, #rvc-scope) .rvc-login__actions .rvc-btn,
.rvc:is(.rvc, #rvc-scope) .rvc-hero__actions .rvc-btn { min-height: 40px; padding: 0 20px; }

.rvc:is(.rvc, #rvc-scope) .rvc-panel--empty { padding-top: 26px; padding-bottom: 26px; }
.rvc:is(.rvc, #rvc-scope) .rvc-hero { display: flex; align-items: center; justify-content: center; gap: 22px; }
.rvc:is(.rvc, #rvc-scope) .rvc-hero__art { flex: none; }
.rvc:is(.rvc, #rvc-scope) .rvc-hero__orbit { stroke: var(--rvc-accent); stroke-opacity: .4; stroke-width: 1.5; }
.rvc:is(.rvc, #rvc-scope) .rvc-hero__bubble { stroke: var(--rvc-accent-text); stroke-width: 2.2; stroke-linejoin: round; fill: color-mix(in srgb, var(--rvc-accent) 14%, transparent); }
.rvc:is(.rvc, #rvc-scope) .rvc-hero__star { fill: var(--rvc-accent); stroke: var(--rvc-accent); stroke-width: 1; stroke-linejoin: round; }
.rvc:is(.rvc, #rvc-scope) .rvc-hero__spark,
.rvc:is(.rvc, #rvc-scope) .rvc-hero__dot { fill: var(--rvc-accent-text); }
.rvc:is(.rvc, #rvc-scope) .rvc-hero__body { min-width: 0; max-width: 420px; }
.rvc:is(.rvc, #rvc-scope) .rvc-hero__title { margin: 0; font-size: 16px; font-weight: 600; color: var(--rvc-text); }
.rvc:is(.rvc, #rvc-scope) .rvc-hero__text { margin: 6px 0 0; font-size: 13px; line-height: 1.6; color: var(--rvc-muted); }
.rvc:is(.rvc, #rvc-scope) .rvc-hero__actions { margin-top: 14px; }
.rvc:is(.rvc, #rvc-scope) .rvc-panel__rule { height: 1px; background: var(--rvc-border); width: 100%; max-width: 940px; margin: 4px auto 0; }
.rvc:is(.rvc, #rvc-scope) .rvc-login__social .nsl-container { margin: 0; padding: 0; }

@media (max-width: 560px) {
	.rvc:is(.rvc, #rvc-scope) .rvc-login { flex-wrap: wrap; }
	.rvc:is(.rvc, #rvc-scope) .rvc-login__actions { width: 100%; }
	.rvc:is(.rvc, #rvc-scope) .rvc-login__actions .rvc-btn { flex: 1; }
	.rvc:is(.rvc, #rvc-scope) .rvc-hero { flex-direction: column; text-align: center; gap: 12px; }
	.rvc:is(.rvc, #rvc-scope) .rvc-hero__actions { justify-content: center; }
}
.rvc:is(.rvc, #rvc-scope) .rvc-tilerow--center { justify-content: center; padding: 6px 0; }
.rvc:is(.rvc, #rvc-scope) .rvc-tilerow--center .rvc-tilerow__body { flex: 0 1 auto; }