/* =========================
   Critic UI (internal) — UNCHANGED
   ========================= */
.wiow-critic-ui {
	border: 2px solid #f3b710;
	border-radius: 10px;
	padding: 40px;
	background: #222226;

	max-width: 900px;
	width: 100%;
	margin: 20px auto;
	box-sizing: border-box;
}

/* =========================
   Consensus UI (public)
   ========================= */
.wiow-consensus-ui {
	border: none !important;
	border-radius: 10px;
	padding: 24px 20px;
	background: #222226;

	max-width: 600px;
	margin: 20px auto;
	box-sizing: border-box;

	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;

	text-align: center;
	justify-items: stretch;
	align-items: stretch;
}

/* Title */
.wiow-consensus-ui h3 {
	margin: 0;
	grid-column: 1 / -1;
	text-align: center;
}

/* Subtitle — very tight to title */
.wiow-consensus-subtitle {
	grid-column: 1 / -1;
	opacity: 0.85;
	font-size: 1em;
	margin-top: -4px;
	margin-bottom: 12px;
	text-align: center;
}

/* =========================
   Utility classes
   ========================= */
.wiow-success { color: #7CFC00; }
.wiow-error   { color: #ff6b6b; }

/* Review count */
.wiow-muted {
	font-size: 10pt !important;
	margin-top: 6px !important;
	background: none !important;
	opacity: 0.85;

	grid-column: 1 / -1;
	text-align: center;
}

/* =========================
   Consensus metric base
   ========================= */
.wiow-consensus-ui p {
	margin: 0 !important;
	padding: 0;
	background: none;
	color: #f3b710;
	line-height: 1.15;
	text-align: center;
}

/* Metric cards — equal height */
.wiow-consensus-ui p:nth-of-type(1),
.wiow-consensus-ui p:nth-of-type(2),
.wiow-consensus-ui p:nth-of-type(3) {
	background: #1c1c20;
	border-radius: 10px;

	height: 100%;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;

	padding: 14px 12px;
	font-size: 18pt;
	line-height: 1.15;
	width: 100%;
	box-sizing: border-box;
}

/* Labels */
.wiow-consensus-ui p strong {
	display: block;
	font-size: 11pt;
	opacity: 0.85;
	margin-bottom: 4px;
	white-space: nowrap;
}


/* =========================
   Critics Lightbox (per post)
   ========================= */

.wiow-no-scroll { overflow: hidden !important; }

.wiow-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 999999;
}
.wiow-lightbox.is-open { display: block; }

.wiow-lightbox-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.7);
	backdrop-filter: blur(4px);
}

.wiow-lightbox-panel {
	position: relative;
	margin: 6vh auto;
	width: min(920px, 92vw);
	max-height: 88vh;
	overflow: auto;
	background: #222226;
	border: 2px solid #f3b710;
	border-radius: 12px;
	padding: 18px;
}

.wiow-lightbox-close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	border: 2px solid #f3b710;
	background: transparent;
	color: #f3b710;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.wiow-critics-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}
@media (min-width: 720px) {
	.wiow-critics-list { grid-template-columns: 1fr 1fr; }
}

.wiow-critic-card {
	background: #2b2b30;
	border-radius: 10px;
	padding: 14px;
	border: 1px solid rgba(255,255,255,0.08);
}

.wiow-critic-name { font-weight: 800; }
.wiow-critic-outlet { opacity: 0.9; margin-top: 2px; }

.wiow-critic-body {
	margin-top: 10px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.wiow-critic-blurb { text-decoration: underline; color: inherit; }
.wiow-critic-cta a {
	display: inline-block;
	border: 2px solid #f3b710;
	color: #f3b710;
	padding: 8px 12px;
	border-radius: 10px;
	text-decoration: none;
	font-weight: 700;
	width: fit-content;
}

.wiow-muted a.wiow-critics-open-link {
	color: inherit;
	text-decoration: underline;
}
