/* ============================================================================
   PhantomShield — customer reviews (front-end). Premium light theme.
   "Quiet Mark of Trust": warm ivory + antique gold + one deep ink-blue accent.
   Scoped under .ps-rvw (widget) and .ps-rvpage (full page). Self-contained.
   ========================================================================== */

.ps-rvw, .ps-rvpage, .ps-rvbadge, .ps-rvgal, .ps-rvlb, .ps-rvfloat, .ps-rvthanks, .ps-rvsc {
	--rv-ink: #1b1a17;          /* warm near-black */
	--rv-ink-soft: #3d3b36;
	--rv-muted: #6f6a60;        /* warm grey — WCAG AA on --rv-card (5.3:1) and --rv-bg (4.9:1) */
	--rv-line: #e8e3da;         /* warm hairline */
	--rv-line-strong: #dbd5ca;
	--rv-bg: #f6f4ee;           /* ivory */
	--rv-card: #fffdf9;         /* warm white */
	--rv-gold: #bf9a3a;         /* antique gold (filled stars / bars) */
	--rv-gold-soft: #e9dcb9;    /* empty stars / bar track */
	--rv-accent: #1f3a5f;       /* deep ink-blue — the single accent */
	--rv-accent-ink: #16293f;
	--rv-green: #3f7d5c;        /* muted forest — verified */
	--rv-green-bg: #ecf4ef;
	--rv-shadow: 0 18px 44px -28px rgba(28,26,22,.30);
	--rv-shadow-sm: 0 6px 18px -12px rgba(28,26,22,.22);
	--rv-r: 14px;
	--rv-r-sm: 10px;
	--rv-ease: cubic-bezier(.22,1,.36,1);
	font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
	color: var(--rv-ink);
	-webkit-font-smoothing: antialiased;
	box-sizing: border-box;
}
.ps-rvw *, .ps-rvw *::before, .ps-rvw *::after,
.ps-rvpage *, .ps-rvpage *::before, .ps-rvpage *::after { box-sizing: border-box; }

/* ── Stars ─────────────────────────────────────────────────────────────────── */
.ps-rv-stars { display: inline-flex; gap: 2px; line-height: 1; white-space: nowrap; }
.ps-rv-stars .ps-rv-star { color: var(--rv-gold-soft); font-size: 16px; }
.ps-rv-stars .ps-rv-star.is-on { color: var(--rv-gold); }

/* ── Verified badge (refined green chip, shared) ───────────────────────────── */
.ps-rvw__verified {
	display: inline-flex; align-items: center; gap: 4px;
	font-size: 11px; font-weight: 700; letter-spacing: .02em;
	color: var(--rv-green); background: var(--rv-green-bg);
	padding: 3px 9px; border-radius: 999px; line-height: 1.4;
}
/* "Most helpful" — gold chip, mirrors the verified chip so both sit together cleanly. */
.ps-rvw__tophelpful {
	display: inline-flex; align-items: center; gap: 4px; cursor: default;
	font-size: 11px; font-weight: 700; letter-spacing: .02em;
	color: var(--rv-gold); background: rgba(191,154,58,.10);
	padding: 3px 9px; border-radius: 999px; line-height: 1.4;
}
/* Only add the gap when it sits right after the verified chip — otherwise it starts flush-left. */
.ps-rvw__verified + .ps-rvw__tophelpful { margin-left: 6px; }

/* ── Widget (carousel strip) ───────────────────────────────────────────────── */
.ps-rvw {
	display: flex; align-items: stretch; gap: 14px;
	background: var(--rv-card); border: 1px solid var(--rv-line); border-radius: 16px;
	padding: 16px; box-shadow: var(--rv-shadow);
	position: relative;
}
.ps-rvw__summary {
	flex: 0 0 210px; display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center; gap: 7px; padding: 28px 18px; border-radius: 12px; color: #fff;
	background:
		radial-gradient(120% 70% at 50% 0%, rgba(231,198,106,.16), transparent 60%),
		linear-gradient(165deg, #2a4d77 0%, #1f3a5f 55%, #16293f 100%);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}
.ps-rvw__summary .ps-rv-stars .ps-rv-star { color: rgba(255,255,255,.28); font-size: 18px; }
.ps-rvw__summary .ps-rv-stars .ps-rv-star.is-on { color: #e7c66a; }
.ps-rvw__verdict { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.ps-rvw__avg { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.95); }
.ps-rvw__count { font-size: 12.5px; color: rgba(255,255,255,.72); }
.ps-rvw__more {
	margin-top: 9px; color: #fff; font-size: 12.5px; font-weight: 700; text-decoration: none;
	border: 1px solid rgba(255,255,255,.32); border-radius: 999px; padding: 7px 16px;
	transition: background .2s, border-color .2s;
}
.ps-rvw__more:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.55); }

/* "Received in <country>" label */
.ps-rvw__loc { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--rv-muted); margin-top: 8px; }
.ps-rvw__flag { font-size: 15px; line-height: 1; }

.ps-rvw__track {
	flex: 1; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
	padding: 2px; scrollbar-width: none;
}
.ps-rvw__track::-webkit-scrollbar { display: none; }
.ps-rvw__card {
	flex: 0 0 300px; scroll-snap-align: start;
	background: var(--rv-bg); border: 1px solid var(--rv-line); border-radius: 12px;
	padding: 18px 20px; display: flex; flex-direction: column; gap: 7px; min-height: 200px;
}
/* Real-purchase reviews get a subtle green left accent + tint so they stand out from unverified ones. */
.ps-rvw__card.is-verified { border-left: 3px solid var(--rv-green); background: linear-gradient(180deg, var(--rv-green-bg), var(--rv-bg) 44%); }
.ps-rvw__empty { align-items: center; justify-content: center; color: var(--rv-muted); text-align: center; }
.ps-rvw__chead { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ps-rvw__name { font-weight: 700; font-size: 14.5px; letter-spacing: -.005em; }
.ps-rvw__title { font-weight: 700; font-size: 14.5px; margin-top: 2px; }
.ps-rvw__body { font-size: 14.5px; line-height: 1.65; color: var(--rv-ink-soft); margin: 2px 0; flex: 1; }
.ps-rvw__photo { display: block; margin-top: 8px; border-radius: 10px; overflow: hidden; }
.ps-rvw__photo img { width: 100%; max-height: 190px; object-fit: cover; display: block; transition: transform .35s var(--rv-ease); }
.ps-rvw__photo:hover img { transform: scale(1.04); }
.ps-rvw__ago { font-size: 12px; color: var(--rv-muted); margin-top: auto; align-self: flex-end; padding-top: 4px; }

.ps-rvw__nav {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
	width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--rv-line);
	background: var(--rv-card); color: var(--rv-ink); font-size: 19px; line-height: 1; cursor: pointer;
	box-shadow: var(--rv-shadow-sm); display: grid; place-items: center; transition: background .2s, border-color .2s;
}
.ps-rvw__nav:hover { background: #f3f0e9; border-color: var(--rv-line-strong); }
.ps-rvw__nav--prev { left: 196px; }
.ps-rvw__nav--next { right: 6px; }

@media (max-width: 720px) {
	.ps-rvw { flex-direction: column; }
	.ps-rvw__summary { flex: none; }
	.ps-rvw__card { flex-basis: 82%; }
	.ps-rvw__nav { display: none; }
}

/* ── Full page ─────────────────────────────────────────────────────────────── */
.ps-rvpage { max-width: 980px; margin: 0 auto; padding: 8px; }

/* Hero: a refined card — score plate | hairline | distribution */
.ps-rvpage__hero {
	display: grid; grid-template-columns: minmax(210px, 250px) 1fr; align-items: stretch;
	background: var(--rv-card); border: 1px solid var(--rv-line); border-radius: var(--rv-r);
	box-shadow: var(--rv-shadow); overflow: hidden; margin-bottom: 14px;
}
.ps-rvpage__score {
	display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
	padding: 32px 30px; border-right: 1px solid var(--rv-line);
	background: radial-gradient(120% 80% at 30% -10%, rgba(191,154,58,.08), transparent 62%);
}
.ps-rvpage__verdict {
	font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
	color: var(--rv-gold); margin-bottom: 4px;
}
.ps-rvpage__big {
	font-family: Georgia, "Cormorant Garamond", "Times New Roman", serif;
	font-size: 62px; font-weight: 600; line-height: 1; letter-spacing: -.02em;
	color: var(--rv-ink); font-variant-numeric: tabular-nums;
}
.ps-rvpage__big::after { content: " / 5"; font-size: 19px; color: var(--rv-muted); letter-spacing: 0; }
.ps-rvpage__score .ps-rv-stars { justify-content: flex-start; margin: 8px 0 4px; }
.ps-rvpage__score .ps-rv-stars .ps-rv-star { font-size: 21px; }
.ps-rvpage__count { font-size: 13px; color: var(--rv-muted); letter-spacing: .01em; }

.ps-rvpage__bars { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 28px 30px; }
.ps-rvpage__bar { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; gap: 12px; font-size: 12.5px; color: var(--rv-muted); }
.ps-rvpage__bar > span:first-child { text-align: right; font-weight: 600; color: var(--rv-ink-soft); }
.ps-rvpage__track { height: 7px; border-radius: 999px; background: var(--rv-gold-soft); overflow: hidden; }
.ps-rvpage__fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #a8842f, var(--rv-gold)); transition: width .9s var(--rv-ease); }
.ps-rvpage__bn { text-align: left; font-variant-numeric: tabular-nums; }

/* CTA + form wrap */
.ps-rvpage__formwrap { margin: 20px 0; }
.ps-rv-open {
	display: inline-block; background: var(--rv-ink); color: #fff; border: 0; border-radius: var(--rv-r-sm);
	padding: 13px 26px; font-weight: 700; font-size: 14px; letter-spacing: .01em; cursor: pointer;
	box-shadow: 0 10px 22px -12px rgba(28,26,22,.5); transition: transform .15s var(--rv-ease), background .2s;
}
.ps-rv-open:hover { background: var(--rv-accent-ink); transform: translateY(-1px); }
.ps-rv-open:active { transform: translateY(0); }

.ps-rvpage__grid {
	margin-top: 22px; display: grid; gap: 18px;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
/* Page review cards — float on the ivory page with hairline + soft shadow + lift */
.ps-rvpage__grid .ps-rvw__card {
	flex: none; background: var(--rv-card); border: 1px solid var(--rv-line); border-radius: var(--rv-r);
	padding: 22px 24px; box-shadow: var(--rv-shadow-sm);
	transition: transform .22s var(--rv-ease), box-shadow .22s var(--rv-ease), border-color .22s var(--rv-ease);
}
.ps-rvpage__grid .ps-rvw__card:hover { transform: translateY(-3px); box-shadow: var(--rv-shadow); border-color: var(--rv-line-strong); }
.ps-rvpage__grid .ps-rvw__ago { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rv-line); width: 100%; text-align: right; }

/* ── Submission form ───────────────────────────────────────────────────────── */
.ps-rv-form {
	margin-top: 16px; background: var(--rv-card); border: 1px solid var(--rv-line); border-radius: var(--rv-r);
	padding: 28px; display: flex; flex-direction: column; gap: 14px; max-width: 560px;
	box-shadow: var(--rv-shadow);
}
.ps-rv-form__lbl { font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--rv-muted); display: block; margin-bottom: 8px; }
.ps-rv-input {
	width: 100%; border: 1px solid var(--rv-line-strong); border-radius: var(--rv-r-sm); padding: 13px 15px;
	font-size: 15px; font-family: inherit; color: var(--rv-ink); background: #fff;
	transition: border-color .2s, box-shadow .2s;
}
.ps-rv-input::placeholder { color: #b6b1a6; }
.ps-rv-input:focus { outline: none; border-color: var(--rv-accent); box-shadow: 0 0 0 3px rgba(31,58,95,.12); }
.ps-rv-textarea { resize: vertical; min-height: 116px; line-height: 1.6; }
.ps-rv-input[readonly] { background: var(--rv-bg); color: var(--rv-muted); cursor: not-allowed; }
.ps-rv-locknote { margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--rv-green); }
.ps-rv-hint { margin-top: 6px; font-size: 12px; color: var(--rv-muted); line-height: 1.45; }

/* Product picker (attach the review to purchased products) */
.ps-rv-opt { font-weight: 500; color: var(--rv-muted); text-transform: none; letter-spacing: 0; }
.ps-rv-plist { display: flex; flex-direction: column; gap: 9px; max-height: 190px; overflow: auto; padding: 6px 2px; }
.ps-rv-pcheck { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--rv-ink-soft); cursor: pointer; }
.ps-rv-pcheck input { width: 17px; height: 17px; accent-color: var(--rv-accent); flex: none; }
.ps-rv-plist--ro { flex-direction: row; flex-wrap: wrap; gap: 8px; max-height: none; }
.ps-rv-ptag { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; background: var(--rv-bg); border: 1px solid var(--rv-line-strong); color: var(--rv-ink-soft); padding: 6px 11px; border-radius: 999px; }

/* Login gate */
.ps-rv-gate { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; background: var(--rv-card); border: 1px solid var(--rv-line); border-radius: var(--rv-r); padding: 16px 18px; box-shadow: var(--rv-shadow-sm); }
.ps-rv-gate__t { font-size: 14px; color: var(--rv-ink-soft); flex: 1 1 240px; }
.ps-rv-gate__btn { display: inline-block; background: var(--rv-accent); color: #fff; text-decoration: none; font-weight: 700; padding: 10px 20px; border-radius: var(--rv-r-sm); }
.ps-rv-gate__btn:hover { background: var(--rv-accent-ink); }

.ps-rv-rate { display: inline-flex; gap: 5px; }
.ps-rv-rate__star { background: none; border: 0; cursor: pointer; font-size: 32px; line-height: 1; color: var(--rv-gold-soft); padding: 0 2px; transition: color .15s, transform .15s var(--rv-ease); }
.ps-rv-rate__star.is-on { color: var(--rv-gold); }
.ps-rv-rate__star:hover { transform: scale(1.12); }
.ps-rv-rate__star:focus-visible { outline: 2px solid var(--rv-accent); outline-offset: 2px; border-radius: 4px; }

.ps-rv-upload { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ps-rv-uplbl {
	display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
	border: 1px dashed var(--rv-line-strong); border-radius: var(--rv-r-sm); padding: 11px 15px; font-size: 13.5px; font-weight: 600; color: var(--rv-ink-soft);
	transition: border-color .2s, color .2s, border-style .2s;
}
.ps-rv-uplbl:hover { border-style: solid; border-color: var(--rv-accent); color: var(--rv-accent); }
.ps-rv-preview { position: relative; }
.ps-rv-preview img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; display: block; border: 1px solid var(--rv-line); }
.ps-rv-prx {
	position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%;
	border: 0; background: #c0392b; color: #fff; font-size: 14px; line-height: 1; cursor: pointer;
}
.ps-rv-reward {
	flex: 1 1 100%; display: flex; align-items: center; gap: 8px;
	font-size: 13px; color: var(--rv-ink-soft); font-weight: 600;
	background: rgba(191,154,58,.07); border: 1px solid var(--rv-gold-soft); border-radius: var(--rv-r-sm); padding: 11px 14px;
}

.ps-rv-actions { display: flex; align-items: center; gap: 14px; }
.ps-rv-submit {
	background: var(--rv-accent); color: #fff; border: 0; border-radius: var(--rv-r-sm);
	padding: 14px 26px; font-weight: 700; font-size: 14px; letter-spacing: .03em; cursor: pointer;
	transition: transform .15s var(--rv-ease), background .2s;
}
.ps-rv-submit:hover { background: var(--rv-accent-ink); transform: translateY(-1px); }
.ps-rv-submit:active { transform: translateY(0); }
.ps-rv-submit:disabled { opacity: .6; cursor: default; transform: none; }
.ps-rv-msg { font-size: 13px; font-weight: 600; }
.ps-rv-msg.is-ok { color: var(--rv-green); }
.ps-rv-msg.is-err { color: #c0392b; }

/* Honeypot — visually + semantically hidden, off-screen (bots still fill it). */
.ps-rv-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Load-more — ghost button */
.ps-rvpage__more { text-align: center; margin: 26px 0 8px; }
.ps-rv-more {
	background: transparent; color: var(--rv-ink); border: 1px solid var(--rv-line-strong); border-radius: var(--rv-r-sm);
	padding: 13px 28px; font-weight: 700; font-size: 14px; cursor: pointer; transition: border-color .2s, color .2s;
}
.ps-rv-more:hover { border-color: var(--rv-accent); color: var(--rv-accent); }
.ps-rv-more:disabled { opacity: .6; cursor: default; }

/* Store reply — official, branded, left rail */
.ps-rvw__reply {
	margin-top: 14px; padding: 12px 14px; border-radius: 0 var(--rv-r-sm) var(--rv-r-sm) 0;
	background: var(--rv-bg); border: 1px solid var(--rv-line); border-left: 2px solid var(--rv-accent);
}
.ps-rvw__reply-by { font-size: 11px; font-weight: 800; color: var(--rv-accent); text-transform: uppercase; letter-spacing: .06em; }
.ps-rvw__reply p { margin: 4px 0 0; font-size: 13.5px; color: var(--rv-ink-soft); line-height: 1.55; }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
	.ps-rvpage__hero { grid-template-columns: 1fr; }
	.ps-rvpage__score { border-right: 0; border-bottom: 1px solid var(--rv-line); align-items: center; text-align: center; padding: 28px 22px; }
	.ps-rvpage__score .ps-rv-stars { justify-content: center; }
	.ps-rvpage__bars { padding: 22px; max-width: 460px; margin: 0 auto; width: 100%; }
	.ps-rvpage__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.ps-rvpage { padding: 4px; }
	.ps-rvpage__big { font-size: 54px; }
	.ps-rvpage__score { padding: 24px 18px; }
	.ps-rvpage__bars { padding: 18px; }
	.ps-rvpage__bar { grid-template-columns: 28px 1fr 28px; gap: 10px; }
	.ps-rv-form { padding: 20px 16px; }
	.ps-rv-input { font-size: 16px; }                /* ≥16px → no iOS zoom-on-focus */
	.ps-rv-rate__star { font-size: 38px; padding: 4px; }  /* ~46px tap target */
	.ps-rv-actions { flex-direction: column; align-items: stretch; gap: 12px; }
	.ps-rv-open, .ps-rv-submit, .ps-rv-more { width: 100%; text-align: center; padding: 15px 20px; }
	.ps-rvpage__grid .ps-rvw__card { padding: 20px 18px; }
	.ps-rvw__photo img, .ps-rvpage__grid .ps-rvw__photo img { max-height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
	.ps-rvw *, .ps-rvpage * { transition: none !important; animation: none !important; }
}

/* ── Card footer (helpful + date) ──────────────────────────────────────────── */
.ps-rvw__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; }
.ps-rvw__ago { font-size: 12px; color: var(--rv-muted); margin: 0; }
.ps-rvpage__grid .ps-rvw__foot { margin-top: 12px; border-top: 1px solid var(--rv-line); padding-top: 12px; }
.ps-rvw__helpful { background: transparent; border: 1px solid var(--rv-line-strong); border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 600; color: var(--rv-ink-soft); cursor: pointer; transition: border-color .2s, color .2s; }
.ps-rvw__helpful:hover { border-color: var(--rv-accent); color: var(--rv-accent); }
.ps-rvw__helpful.is-voted { border-color: var(--rv-green); color: var(--rv-green); cursor: default; }
.ps-rvw__hn { font-weight: 700; }

/* ── Filter / sort bar ─────────────────────────────────────────────────────── */
.ps-rv-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 18px; }
.ps-rv-fgroup { display: flex; flex-wrap: wrap; gap: 8px; }
.ps-rv-fbtn { background: var(--rv-card); border: 1px solid var(--rv-line-strong); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--rv-ink-soft); cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.ps-rv-fbtn:hover { border-color: var(--rv-accent); color: var(--rv-accent); }
.ps-rv-fbtn.is-active { background: var(--rv-accent); border-color: var(--rv-accent); color: #fff; }
.ps-rv-sort { border: 1px solid var(--rv-line-strong); border-radius: var(--rv-r-sm); padding: 8px 12px; font-size: 13px; font-family: inherit; color: var(--rv-ink); background: var(--rv-card); cursor: pointer; }

/* ── Photo wall + lightbox ─────────────────────────────────────────────────── */
.ps-rvgal { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.ps-rvgal__item { padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: pointer; aspect-ratio: 1 / 1; background: var(--rv-bg); }
.ps-rvgal__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s var(--rv-ease); }
.ps-rvgal__item:hover img { transform: scale(1.06); }

.ps-rvlb { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.ps-rvlb[hidden] { display: none; }
.ps-rvlb__backdrop { position: absolute; inset: 0; background: rgba(20,18,14,.72); }
.ps-rvlb__box { position: relative; z-index: 1; max-width: 560px; width: 100%; max-height: 90vh; overflow: auto; background: var(--rv-card); border-radius: var(--rv-r); box-shadow: var(--rv-shadow); }
.ps-rvlb__x { position: absolute; top: 8px; right: 8px; z-index: 2; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.ps-rvlb__img { width: 100%; max-height: 60vh; object-fit: contain; display: block; background: #000; border-radius: var(--rv-r) var(--rv-r) 0 0; }
.ps-rvlb__meta { padding: 16px 20px 20px; }
.ps-rvlb__head { display: flex; align-items: center; gap: 10px; }
.ps-rvlb__name { font-weight: 700; }
.ps-rvlb__body { margin: 8px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--rv-ink-soft); }

/* ── Inline + floating trust badge ─────────────────────────────────────────── */
.ps-rvbadge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--rv-line); border-radius: 999px; background: var(--rv-card); box-shadow: var(--rv-shadow-sm); text-decoration: none; color: var(--rv-ink); font-size: 13.5px; font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif; }
.ps-rvbadge__txt strong { font-weight: 800; }
.ps-rvfloat { position: fixed; right: 16px; bottom: 16px; z-index: 99990; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: #fff; color: #1b1a17; box-shadow: 0 12px 30px -10px rgba(0,0,0,.4); text-decoration: none; font-size: 13px; border: 1px solid rgba(0,0,0,.06); font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif; transition: transform .2s var(--rv-ease); }
.ps-rvfloat__txt strong { font-weight: 800; }
.ps-rvfloat:hover { transform: translateY(-2px); }
/* Bottom stack: the promo ribbon (.ps-rib, injected by assets/js/phantomshield-ribbon.js)
   is also position:fixed at bottom:16px / z-index:99990, so with both features on the two
   overlapped and DOM order decided which one was readable. Lift the badge clear of it.
   The ribbon should set --ps-bottom-stack to its own measured height; until it does, 78px
   is its tallest current layout (34px thumbnail + padding + border). */
body:has(.ps-rib) .ps-rvfloat { bottom: calc(16px + var(--ps-bottom-stack, 78px)); }

/* ── Thank-you page CTA ────────────────────────────────────────────────────── */
.ps-rvthanks { margin: 22px 0; padding: 22px 24px; border: 1px solid var(--rv-line); border-radius: var(--rv-r); background: var(--rv-card); box-shadow: var(--rv-shadow-sm); text-align: center; font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif; color: var(--rv-ink); }
.ps-rvthanks__h { font-size: 18px; font-weight: 800; }
.ps-rvthanks__p { margin: 6px 0 14px; color: var(--rv-ink-soft); font-size: 14px; }
.ps-rvthanks__btn { display: inline-block; background: var(--rv-accent); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 26px; border-radius: var(--rv-r-sm); }
.ps-rvthanks__btn:hover { background: var(--rv-accent-ink); }

@media (max-width: 560px) {
	.ps-rvgal { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
	.ps-rv-filters { flex-direction: column; align-items: stretch; }
	.ps-rv-sort { width: 100%; }
	.ps-rvfloat { left: 12px; right: 12px; bottom: 12px; justify-content: center; }
	body:has(.ps-rib) .ps-rvfloat { bottom: calc(10px + var(--ps-bottom-stack, 78px)); }
}

/* ── Showcase band (UI#6): rating snapshot + auto-rotating photo carousel ───── */
.ps-rvsc {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) 2fr;
	gap: 18px;
	align-items: stretch;
	margin: 20px 0;
	padding: 18px;
	background: var(--rv-card);
	border: 1px solid var(--rv-line);
	border-radius: var(--rv-r);
	box-shadow: var(--rv-shadow);
}
.ps-rvsc * { box-sizing: border-box; }

/* Snapshot */
.ps-rvsc__snap {
	display: flex; flex-direction: column; gap: 8px;
	padding: 18px; border-radius: var(--rv-r-sm);
	background: radial-gradient(120% 100% at 0 0, #fffef9, var(--rv-bg));
	border: 1px solid var(--rv-line);
	text-align: center;
}
.ps-rvsc__verdict { font-size: 12px; font-weight: 800; letter-spacing: .10em; text-transform: uppercase; color: var(--rv-green); }
.ps-rvsc__avg { font-size: 52px; font-weight: 800; line-height: 1; color: var(--rv-ink); }
.ps-rvsc__snap .ps-rv-stars { justify-content: center; }
.ps-rvsc__snap .ps-rv-star { font-size: 18px; }
.ps-rvsc__count { font-size: 13px; color: var(--rv-muted); font-weight: 600; }
.ps-rvsc__bars { display: flex; flex-direction: column; gap: 5px; margin-top: 10px; }
.ps-rvsc__bar { display: flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; }
.ps-rvsc__bar-lbl { width: 26px; font-size: 12px; font-weight: 700; color: var(--rv-ink-soft); text-align: right; }
.ps-rvsc__bar-track { position: relative; flex: 1; height: 8px; border-radius: 999px; background: var(--rv-gold-soft); overflow: hidden; }
.ps-rvsc__bar-fill { position: absolute; inset: 0; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--rv-gold), #d9b558); transition: width .9s var(--rv-ease); }
.ps-rvsc.is-seen .ps-rvsc__bar-fill { width: var(--pct); }
.ps-rvsc__bar-n { width: 40px; font-size: 12px; font-weight: 600; color: var(--rv-muted); text-align: right; }
.ps-rvsc__bar:hover .ps-rvsc__bar-track { outline: 2px solid var(--rv-gold-soft); }
.ps-rvsc__more { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--rv-accent); text-decoration: none; }
.ps-rvsc__more:hover { color: var(--rv-accent-ink); }

/* Stage / carousel */
.ps-rvsc__stage { position: relative; min-height: 300px; border-radius: var(--rv-r-sm); overflow: hidden; background: var(--rv-ink); }
.ps-rvsc__slides { position: relative; width: 100%; height: 100%; min-height: 300px; }
.ps-rvsc__slide {
	position: absolute; inset: 0; margin: 0; padding: 0;
	opacity: 0; visibility: hidden; transform: scale(1.02);
	transition: opacity .6s var(--rv-ease), transform .6s var(--rv-ease);
	background: var(--rv-ink) center/cover no-repeat;
}
.ps-rvsc__slide.has-img { background-image: var(--bg); }
.ps-rvsc__slide.no-img { background: linear-gradient(135deg, var(--rv-accent), var(--rv-accent-ink)); }
.ps-rvsc__slide.is-active { opacity: 1; visibility: visible; transform: none; }
.ps-rvsc__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ps-rvsc__cap {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: 40px 22px 20px; color: #fff;
	background: linear-gradient(to top, rgba(15,15,20,.86) 12%, rgba(15,15,20,.45) 55%, rgba(15,15,20,0));
	-webkit-backdrop-filter: blur(1px); backdrop-filter: blur(1px);
}
.ps-rvsc__cap .ps-rv-star { color: rgba(255,255,255,.34); font-size: 17px; }
.ps-rvsc__cap .ps-rv-star.is-on { color: #ffca3a; }
.ps-rvsc__text { margin: 8px 0 10px; font-size: 16px; line-height: 1.45; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ps-rvsc__by { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.ps-rvsc__name { font-weight: 800; }
.ps-rvsc__ver { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; color: #7ff0b0; }
.ps-rvsc__flag { font-size: 15px; }

/* Nav + dots */
.ps-rvsc__nav {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
	width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
	background: rgba(255,255,255,.18); color: #fff; font-size: 22px; line-height: 1;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	opacity: 0; transition: opacity .25s ease, background .2s ease;
}
.ps-rvsc__stage:hover .ps-rvsc__nav, .ps-rvsc__nav:focus-visible { opacity: 1; }
/* No hover to reveal them on touch, and opacity:0 does not stop hit-testing —
   so on a phone these were two invisible buttons over the photo. */
@media (hover: none) { .ps-rvsc__nav { opacity: 1; } }
.ps-rvsc__nav:hover { background: rgba(255,255,255,.32); }
.ps-rvsc__nav--prev { left: 12px; }
.ps-rvsc__nav--next { right: 12px; }
.ps-rvsc__dots { position: absolute; left: 0; right: 0; bottom: 3px; z-index: 3; display: flex; justify-content: center; gap: 0; }
.ps-rvsc__dot { position: relative; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; transition: transform .2s ease; }
.ps-rvsc__dot::before { content: ''; position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: rgba(255,255,255,.4); transition: background .2s ease; }
.ps-rvsc__dot.is-active { transform: scale(1.15); }
.ps-rvsc__dot.is-active::before { background: #fff; }
.ps-rvsc__ring { position: absolute; top: 50%; left: 50%; width: 17px; height: 17px; margin: -8.5px 0 0 -8.5px; border-radius: 50%; border: 2px solid transparent; }
.ps-rvsc__dot.is-active .ps-rvsc__ring { border-color: rgba(255,255,255,.5); }

@media (max-width: 720px) {
	.ps-rvsc { grid-template-columns: 1fr; }
	.ps-rvsc__stage { min-height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
	.ps-rvsc__slide { transition: none; }
	.ps-rvsc__bar-fill { transition: none; }
}
