/* =========================================================
   GameObserver — Review Box (Starfield)
   Loaded by gamezone_child_scripts() on single posts in the Reviews category.
   Extracted from style.css.
   ========================================================= */

/* =========================================================
   GameObserver — Modernized Review Box  (Direction 3: Starfield)
   Brand palette from logo: #1c192c #232040 #384868 #5858c8 #b8b8ff
   ========================================================= */

.review-breakdown {
	padding: 0;
	margin: 3rem 0 2.5rem;
	border-bottom: none;
}

.review-breakdown__inner {
	min-height: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

dl.breakdown.breakdown-score {
	display: grid;
	grid-template-columns: 180px 1fr;
	grid-template-areas:
		"score summary"
		"score policy";
	gap: 0 1.75rem;
	align-items: center;
	width: 100%;
	margin: 0;
	padding: 2.25rem 1.75rem 2.25rem 2rem;
	background:
		radial-gradient(ellipse at 100% 0%,
			rgba(120, 120, 216, 0.25) 0%,
			rgba(88, 88, 200, 0) 50%),
		radial-gradient(ellipse at 0% 100%,
			rgba(56, 72, 104, 0.5) 0%,
			rgba(28, 25, 44, 0) 60%),
		linear-gradient(135deg, #1c192c 0%, #232040 40%, #384868 100%);
	border: 1px solid rgba(120, 120, 216, 0.2);
	border-radius: 16px;
	box-shadow: 0 16px 36px -16px rgba(28, 25, 44, 0.7);
	color: #fff;
	text-align: left;
	clear: both;
	position: relative;
	overflow: hidden;
}

dl.breakdown.breakdown-score::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(1.5px 1.5px at 12% 18%, rgba(255, 255, 255, 0.5) 50%, transparent 51%),
		radial-gradient(2px 2px at 88% 30%, rgba(184, 184, 255, 0.6) 50%, transparent 51%),
		radial-gradient(1px 1px at 25% 78%, rgba(255, 255, 255, 0.4) 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 72% 88%, rgba(184, 184, 255, 0.5) 50%, transparent 51%),
		radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.3) 50%, transparent 51%);
	pointer-events: none;
	z-index: 0;
}

dl.breakdown.breakdown-score > * {
	position: relative;
	z-index: 1;
}

.score-word {
	grid-area: score;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 0.2rem;
	width: 150px;
	height: 150px;
	margin: 0 auto;
	padding: 0;
	border-radius: 50%;
	background:
		radial-gradient(circle at 35% 25%,
			rgba(184, 184, 255, 0.35) 0%,
			rgba(184, 184, 255, 0) 55%),
		linear-gradient(160deg, #5858c8 0%, #384868 70%, #1c192c 100%);
	border: 2px solid #6a6aaa;
	box-shadow: 0 6px 20px -4px rgba(28, 25, 44, 0.7);
	font-style: normal;
	text-align: center;
	position: relative;
	flex-shrink: 0;
}

.score-word::after {
	display: none;
}

.score-word .score-word__num {
	display: block;
	font-family: "Roboto", sans-serif;
	font-size: 3rem;
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1;
	color: #fff;
	text-shadow: 0 2px 12px rgba(28, 25, 44, 0.5);
}

.score-word .score-word__verdict {
	display: block;
	font-family: "Roboto", sans-serif;
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	line-height: 1.25;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.9);
	margin-top: 0.35rem;
	max-width: 120px;
	padding: 0 8px;
}

.score-word:not(.score-word--enhanced) {
	color: #fff;
	font-family: "Roboto", sans-serif;
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.3;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 0 12px;
}

/* No-score variant: summary text fills the circle */
.score-word--text-only {
	grid-area: score;
	width: 150px;
	height: 150px;
}

.score-word--text-only .score-word__text {
	display: block;
	font-family: "Roboto", sans-serif;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.3;
	text-transform: uppercase;
	color: #fff;
	padding: 0 14px;
	text-align: center;
}

/* No numeric score — same layout as scored, just text in the circle instead */
dl.breakdown.breakdown-score--no-score {
	grid-template-columns: 180px 1fr;
	grid-template-areas:
		"score summary"
		"score policy";
	align-items: center;
}


dd.review_summary {
	grid-area: summary;
	margin: 0 0 0.85rem 0;
	text-align: left;
}

dd.review_summary p {
	margin: 0;
	color: #fff !important;
	font-family: "Roboto", sans-serif;
	font-size: 1.0625rem;
	line-height: 1.55;
	font-weight: 400;
}

dd.score-about,
.score-about {
	grid-area: policy;
	margin: 0;
	padding-top: 0.85rem;
	border-top: 1px solid rgba(184, 184, 255, 0.18);
	font-style: normal;
	font-size: 0.8125rem;
	letter-spacing: 0.02em;
	color: rgba(255, 255, 255, 0.6);
	text-align: left;
}

.score-about a {
	color: #b8b8ff !important;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px dotted rgba(184, 184, 255, 0.4);
	transition: color 0.15s ease, border-color 0.15s ease;
}

.score-about a:hover,
.score-about a:focus {
	color: #fff !important;
	border-bottom-color: #fff;
}

.review-breakdown dd {
	margin: 0;
}

dd {
	margin: 0 0 1.5em 0;
}

@media (max-width: 640px) {
	dl.breakdown.breakdown-score {
		grid-template-columns: 1fr;
		grid-template-areas:
			"score"
			"summary"
			"policy";
		gap: 1.25rem 0;
		padding: 1.75rem 1.25rem;
		text-align: center;
	}
		dl.breakdown.breakdown-score--no-score {
		grid-template-areas:
			"score"
			"summary"
			"policy";
	}
	.score-word {
		width: 150px;
		height: 150px;
		justify-self: center;
		margin: 0 auto;
	}
	dd.review_summary,
	dd.review_summary p { text-align: center; }
	dd.score-about,
	.score-about { text-align: center; }
}

/* Score tinting — high scores brighter, low scores muted */
.review-breakdown.score-10 .score-word,
.review-breakdown.score-9 .score-word {
	background:
		radial-gradient(circle at 35% 25%, rgba(184, 184, 255, 0.4) 0%, rgba(184, 184, 255, 0) 55%),
		linear-gradient(160deg, #7878d8 0%, #5858c8 60%, #384868 100%);
	box-shadow: 0 6px 20px -4px rgba(88, 88, 200, 0.5);
}

.review-breakdown.score-4 .score-word,
.review-breakdown.score-3 .score-word,
.review-breakdown.score-2 .score-word,
.review-breakdown.score-1 .score-word,
.review-breakdown.score-0 .score-word {
	background:
		radial-gradient(circle at 35% 25%, rgba(120, 120, 168, 0.2) 0%, rgba(120, 120, 168, 0) 55%),
		linear-gradient(160deg, #384868 0%, #2a2752 70%, #1c192c 100%);
	box-shadow: 0 6px 20px -4px rgba(28, 25, 44, 0.8);
}

.post-single-inside-article header.entry-header {
	text-align: center;
}
.post-single-inside-article header h1.entry-title {
	color: #1c192c;
	font-size: 32px;
	font-weight: 700;
	margin: 0 0 20px 0;
}
.post-single-inside-article header .entry-meta {
	font-size: 14px;
	font-weight: 500;
	margin-top: 20px;
}
.post-single-inside-article header .entry-meta span {
	margin: 0 15px 0 0;
}
.post-single-inside-article header .entry-meta a {
	text-decoration: none;
}
