/**
 * ReviewGamer 2.0, "Neon" skin.
 *
 * Loaded after main.css and after the Customizer tokens, so everything here
 * wins without editing the base stylesheet. Remove the enqueue in
 * inc/enqueue.php to go back to the 1.x look.
 */

/* ------------------------------------------------------------------ Fonts */
@font-face {
	font-family: "Chakra Petch";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/chakra-petch-latin-600-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Chakra Petch";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/chakra-petch-latin-700-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
}

/* ----------------------------------------------------------------- Tokens */
/* Doubled selector beats the inline :root tokens printed by the Customizer.
   The skin is dark only, so the light scheme gets the same values. */
:root:root,
html[data-scheme="light"],
html[data-scheme="dark"] {
	--rg-bg: #06070c;
	--rg-surface: #0c0f18;
	--rg-card: #10141f;
	--rg-card-2: #151a28;
	--rg-accent: #8b5cf6;
	--rg-accent-rgb: 139, 92, 246;
	--rg-accent-2: #22d3ee;
	--rg-accent-2-rgb: 34, 211, 238;
	--rg-pink: #ff2e88;
	--rg-lime: #a3e635;
	--rg-amber: #fbbf24;
	--rg-success: #4ade80;
	--rg-danger: #f87171;
	--rg-text: #eef1f8;
	--rg-muted: #8d97ab;
	--rg-border: rgba(148, 163, 255, 0.10);
	--rg-border-strong: rgba(148, 163, 255, 0.22);
	--rg-overlay: rgba(6, 7, 12, 0.78);

	--rg-font-display: "Chakra Petch", "Inter", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
	--rg-font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--rg-radius-sm: 4px;
	--rg-radius: 8px;
	--rg-radius-lg: 12px;
	--rg-cut: 14px;

	--rg-glow-violet: 0 0 0 1px rgba(139, 92, 246, 0.55), 0 0 24px rgba(139, 92, 246, 0.35);
	--rg-glow-cyan: 0 0 0 1px rgba(34, 211, 238, 0.55), 0 0 24px rgba(34, 211, 238, 0.3);
	--rg-container: 1280px;
	color-scheme: dark;
}

/* The skin has no light mode: hide the switch. */
.js-rg-scheme { display: none !important; }

/* ------------------------------------------------------------- Background */
body {
	background:
		radial-gradient(1200px 600px at 85% -10%, rgba(139, 92, 246, 0.16), transparent 60%),
		radial-gradient(900px 500px at -10% 30%, rgba(34, 211, 238, 0.08), transparent 60%),
		var(--rg-bg);
	background-attachment: fixed;
}
body::before {
	/* Faint tech grid. */
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(148, 163, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(148, 163, 255, 0.035) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: linear-gradient(180deg, #000, transparent 85%);
	-webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}

::selection { background: rgba(var(--rg-accent-rgb), 0.45); color: #fff; }

h1, h2, h3, h4 {
	font-family: var(--rg-font-display);
	letter-spacing: 0;
	font-weight: 700;
}

/* Content is always visible: no hidden-until-scrolled blocks. */
.rg-reveal,
.rg-reveal.is-visible { opacity: 1 !important; transform: none !important; }

/* ----------------------------------------------------------------- Header */
.rg-topbar {
	background: linear-gradient(90deg, rgba(139, 92, 246, 0.18), rgba(34, 211, 238, 0.10) 60%, transparent);
	border-bottom: 1px solid var(--rg-border);
}
.rg-topbar__dot { background: var(--rg-lime) !important; box-shadow: 0 0 10px var(--rg-lime); }

.rg-header {
	background: rgba(6, 7, 12, 0.82) !important;
	backdrop-filter: blur(14px) saturate(140%);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	border-bottom: 1px solid var(--rg-border) !important;
}
.rg-header::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -1px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--rg-accent) 25%, var(--rg-accent-2) 75%, transparent);
	opacity: 0.7;
}
.custom-logo { filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.35)); }

.rg-nav__list > li > a {
	font-family: var(--rg-font-display);
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.rg-nav__list > li > a::after {
	background: linear-gradient(90deg, var(--rg-accent), var(--rg-accent-2)) !important;
	box-shadow: 0 0 12px rgba(34, 211, 238, 0.8);
	height: 2px !important;
}
.rg-nav__list > li > a:hover,
.rg-nav__list > .current-menu-item > a { color: #fff; text-shadow: 0 0 14px rgba(34, 211, 238, 0.55); }

.rg-header__cta.rg-btn--ghost,
.rg-btn--primary {
	font-family: var(--rg-font-display);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
	border-radius: 0 !important;
}
.rg-header__cta.rg-btn--ghost {
	background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(34, 211, 238, 0.18)) !important;
	border: 0 !important;
	color: #fff !important;
}
.rg-header__cta.rg-btn--ghost:hover { background: linear-gradient(135deg, var(--rg-accent), #0891b2) !important; }

.rg-btn--primary {
	background: linear-gradient(135deg, var(--rg-accent), #6d28d9 55%, #0891b2) !important;
	border: 0 !important;
	color: #fff !important;
	box-shadow: 0 8px 30px rgba(139, 92, 246, 0.35);
}
.rg-btn--primary:hover { filter: brightness(1.15); box-shadow: 0 10px 34px rgba(34, 211, 238, 0.4); }
.rg-btn--ghost { border-color: var(--rg-border-strong); border-radius: 0; font-family: var(--rg-font-display); letter-spacing: 0.06em; text-transform: uppercase; }
.rg-btn--ghost:hover { border-color: var(--rg-accent-2); color: var(--rg-accent-2); }

.rg-progress__bar { background: linear-gradient(90deg, var(--rg-pink), var(--rg-accent), var(--rg-accent-2)) !important; box-shadow: 0 0 12px rgba(139, 92, 246, 0.9); }

/* ----------------------------------------------------------------- Ticker */
.rg-ticker {
	border-bottom: 1px solid var(--rg-border);
	background: rgba(12, 15, 24, 0.85);
	font-size: 0.85rem;
	overflow: hidden;
}
.rg-ticker__inner { display: flex; align-items: center; gap: 1rem; min-height: 42px; }
.rg-ticker__label {
	flex-shrink: 0;
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.25rem 0.75rem;
	font-family: var(--rg-font-display);
	font-weight: 700;
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
	background: linear-gradient(135deg, var(--rg-pink), #c026d3);
	clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
	padding-right: 1.1rem;
}
.rg-ticker__dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: rg-blink 1.4s steps(2, start) infinite; }
@keyframes rg-blink { to { visibility: hidden; } }
.rg-ticker__viewport {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.rg-ticker__track { display: flex; width: max-content; animation: rg-ticker 60s linear infinite; }
.rg-ticker:hover .rg-ticker__track,
.rg-ticker:focus-within .rg-ticker__track { animation-play-state: paused; }
@keyframes rg-ticker { to { transform: translateX(-50%); } }
.rg-ticker__list { display: flex; gap: 2.25rem; margin: 0; padding: 0 2.25rem 0 0; list-style: none; }
.rg-ticker__item { display: inline-flex; align-items: center; gap: 0.6rem; white-space: nowrap; }
.rg-ticker__cat { font-family: var(--rg-font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rg-accent-2); }
.rg-ticker__item a { color: var(--rg-text); text-decoration: none; }
.rg-ticker__item a:hover { color: var(--rg-accent-2); }
@media (prefers-reduced-motion: reduce) {
	.rg-ticker__track { animation: none; }
	.rg-ticker__viewport { overflow-x: auto; }
}

/* ------------------------------------------------------------ Bento hero */
.rg-bento { padding-block: clamp(1.25rem, 3vw, 2.25rem) clamp(1rem, 3vw, 2rem); }
.rg-bento__grid { display: grid; gap: 1rem; }
@media (min-width: 980px) {
	.rg-bento__grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); min-height: 560px; }
	.rg-bento__grid--solo { grid-template-columns: minmax(0, 1fr); }
}
.rg-bento__lead,
.rg-bento__item {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--rg-card);
	clip-path: polygon(0 0, calc(100% - var(--rg-cut)) 0, 100% var(--rg-cut), 100% 100%, var(--rg-cut) 100%, 0 calc(100% - var(--rg-cut)));
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.rg-bento__lead { min-height: clamp(380px, 52vw, 560px); }
.rg-bento__side { display: grid; gap: 1rem; grid-template-rows: repeat(auto-fit, minmax(0, 1fr)); }
.rg-bento__item { min-height: 176px; }
@media (min-width: 640px) and (max-width: 979px) {
	.rg-bento__side { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; }
	.rg-bento__item { min-height: 220px; }
}
.rg-bento__media { position: absolute; inset: 0; z-index: -2; display: block; }
.rg-bento__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--rg-ease), filter 400ms var(--rg-ease); }
.rg-bento__lead:hover .rg-bento__media img,
.rg-bento__item:hover .rg-bento__media img { transform: scale(1.05); filter: saturate(1.15); }
.rg-bento__lead::before,
.rg-bento__item::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(6, 7, 12, 0) 20%, rgba(6, 7, 12, 0.55) 55%, rgba(6, 7, 12, 0.96));
	pointer-events: none;
}
.rg-bento__lead::after,
.rg-bento__item::after {
	/* Neon edge on hover. */
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	border: 1px solid transparent;
	background: linear-gradient(135deg, var(--rg-accent), var(--rg-accent-2), var(--rg-pink)) border-box;
	-webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0.35;
	transition: opacity var(--rg-t) var(--rg-ease);
}
.rg-bento__lead:hover::after,
.rg-bento__item:hover::after { opacity: 1; }
.rg-bento__body { padding: clamp(1.1rem, 2.5vw, 2rem); display: flex; flex-direction: column; gap: 0.6rem; }
.rg-bento__item .rg-bento__body { padding: 1rem 1.1rem; gap: 0.45rem; }
.rg-bento__kicker {
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--rg-font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--rg-accent-2);
}
.rg-bento__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--rg-pink); box-shadow: 0 0 0 0 rgba(255, 46, 136, 0.7); animation: rg-pulse 1.8s infinite; }
@keyframes rg-pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 46, 136, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 46, 136, 0); } }
.rg-bento__title {
	margin: 0;
	font-size: clamp(1.75rem, 1.1rem + 2.4vw, 3.1rem);
	line-height: 1.05;
	text-wrap: balance;
	text-shadow: 0 2px 30px rgba(0, 0, 0, 0.7);
}
.rg-bento__subtitle { margin: 0; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem); line-height: 1.2; text-wrap: balance; }
.rg-bento__title a,
.rg-bento__subtitle a { color: #fff; text-decoration: none; }
.rg-bento__title a::before,
.rg-bento__subtitle a::before { content: ""; position: absolute; inset: 0; z-index: 0; } /* whole tile clickable */
.rg-bento__body .rg-tag { position: relative; z-index: 1; }
.rg-bento__excerpt { margin: 0; max-width: 62ch; color: #c9d0dd; font-size: 1.02rem; }
.rg-bento__meta { margin: 0; display: flex; gap: 1rem; font-family: var(--rg-font-mono); font-size: 0.75rem; color: var(--rg-muted); letter-spacing: 0.04em; }
.rg-bento__meta span + time::before { content: "//"; margin-right: 1rem; color: var(--rg-accent); }
.rg-bento__score { position: absolute; top: 1.25rem; right: 1.25rem; z-index: 2; }
.rg-bento__score--sm { top: 0.75rem; right: 0.75rem; }
@media (max-width: 639px) {
	.rg-bento__excerpt { display: none; }
}

/* ------------------------------------------------------------------- Tags */
.rg-tag {
	border-radius: 0 !important;
	font-family: var(--rg-font-display);
	font-weight: 700;
	font-size: 0.68rem !important;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 0.28rem 0.6rem !important;
	clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
	border: 0 !important;
	text-decoration: none;
}
.rg-tag--cat { --rg-chip: var(--rg-accent); background: var(--rg-chip) !important; color: #fff !important; }
.rg-tag--reviews { --rg-chip: #7c3aed; }
.rg-tag--guides,
.rg-tag--guides-how-tos { --rg-chip: #0891b2; }
.rg-tag--hardware { --rg-chip: #65a30d; }
.rg-tag--events { --rg-chip: #db2777; }
.rg-tag--games,
.rg-tag--new-releases { --rg-chip: #ea580c; }
.rg-tag--news,
.rg-tag--updates { --rg-chip: #2563eb; }
.rg-tag--platform { background: rgba(255, 255, 255, 0.08) !important; color: var(--rg-text) !important; }

/* -------------------------------------------------------------- Sections */
.rg-section { margin-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.rg-section__head { border-bottom: 1px solid var(--rg-border); padding-bottom: 0.9rem; position: relative; }
.rg-section__head::after {
	content: "";
	position: absolute;
	left: 0; bottom: -1px;
	width: 120px; height: 2px;
	background: linear-gradient(90deg, var(--rg-accent), var(--rg-accent-2));
	box-shadow: 0 0 14px rgba(34, 211, 238, 0.6);
}
.rg-rail { border-left: 0 !important; padding-left: 0 !important; }
.rg-rail::before { display: none !important; }
.rg-section__title {
	font-size: clamp(1.4rem, 1.15rem + 1vw, 2rem) !important;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.rg-eyebrow { color: var(--rg-pink); letter-spacing: 0.22em; }
.rg-link-more { font-family: var(--rg-font-display); font-weight: 600; letter-spacing: 0.12em; color: var(--rg-accent-2); }
.rg-link-more:hover { color: #fff; text-shadow: 0 0 12px rgba(34, 211, 238, 0.7); }

.rg-section--panel {
	border-radius: 0 !important;
	clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
	background:
		linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(34, 211, 238, 0.05) 50%, transparent),
		var(--rg-surface) !important;
	border: 0 !important;
}

/* ------------------------------------------------------------------ Cards */
.rg-card {
	background: linear-gradient(180deg, var(--rg-card-2), var(--rg-card)) !important;
	border: 0 !important;
	border-radius: 0 !important;
	clip-path: polygon(0 0, calc(100% - var(--rg-cut)) 0, 100% var(--rg-cut), 100% 100%, 0 100%);
	box-shadow: none !important;
	outline: 1px solid var(--rg-border);
	outline-offset: -1px;
}
.rg-card::before {
	border-radius: 0 !important;
	background: linear-gradient(135deg, var(--rg-accent), var(--rg-accent-2) 50%, var(--rg-pink)) !important;
}
.rg-card:hover { transform: translateY(-4px); }
.rg-card:hover .rg-card__title a { color: #fff; }
.rg-card__media::after { background: linear-gradient(180deg, transparent 50%, rgba(6, 7, 12, 0.85)) !important; }
.rg-card__title { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.3rem); line-height: 1.2; }
.rg-card__title a { background-image: linear-gradient(90deg, var(--rg-accent-2), var(--rg-pink)) !important; }
.rg-card__excerpt { color: var(--rg-muted); }
.rg-meta { color: #7b859a; }
.rg-meta__item + .rg-meta__item::before,
.rg-meta__author + .rg-meta__item::before { content: "//" !important; color: var(--rg-accent); opacity: 0.9 !important; }

/* Featured reviews: when only one review is available it spans the row. */
@media (min-width: 900px) {
	.rg-spotlight:has(> .rg-card:only-child) { grid-template-columns: 1fr; }
	.rg-spotlight:has(> .rg-card:only-child) .rg-card--spotlight { flex-direction: row; }
	.rg-spotlight:has(> .rg-card:only-child) .rg-card--spotlight .rg-card__media { width: 58%; flex-shrink: 0; aspect-ratio: 16 / 9; }
	.rg-spotlight:has(> .rg-card:only-child) .rg-card--spotlight .rg-card__body { justify-content: center; padding: 2rem; }
}

/* Grids never leave a lonely half-empty row on wide screens. */
.rg-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }

/* -------------------------------------------------------------- Score */
.rg-score {
	border-radius: 0 !important;
	clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
	width: 60px;
	height: 52px;
	background: conic-gradient(var(--rg-score-color, var(--rg-accent-2)) var(--rg-score-pct, 0%), rgba(255, 255, 255, 0.14) 0) !important;
	font-family: var(--rg-font-display);
}
.rg-score::before {
	border-radius: 0 !important;
	clip-path: inherit;
	width: calc(100% - 6px) !important;
	height: calc(100% - 6px) !important;
	background: #0a0d16 !important;
}
.rg-score::after { display: none !important; }
.rg-score__value { font-size: 1.15rem; color: #fff; text-shadow: 0 0 10px var(--rg-score-color, var(--rg-accent-2)); }
.rg-score--lg { width: 112px; height: 98px; }
.rg-score--lg .rg-score__value { font-size: 2.2rem; }
.rg-score--lg .rg-score__scale { margin-bottom: 10px; }
.rg-score--high { --rg-score-color: var(--rg-lime); }
.rg-score--mid { --rg-score-color: var(--rg-amber); }
.rg-score--low { --rg-score-color: var(--rg-danger); }
.rg-card__score { filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.8)); }

/* ------------------------------------------------------- Guides & lists */
.rg-guide-row {
	border-radius: 0 !important;
	border-left: 2px solid transparent !important;
	transition: border-color var(--rg-t) var(--rg-ease), background var(--rg-t) var(--rg-ease), padding var(--rg-t) var(--rg-ease);
}
.rg-guide-row:hover { border-left-color: var(--rg-accent-2) !important; background: rgba(34, 211, 238, 0.06) !important; }
.rg-guide-row__title { font-family: var(--rg-font-display); }
.rg-newslist__item h3 { font-family: var(--rg-font-display); }
.rg-timeline__item { border-radius: 0 !important; }
.rg-timeline__date { font-family: var(--rg-font-display); color: var(--rg-pink); }

/* ---------------------------------------------------------------- Article */
.rg-article__header { position: relative; }
.rg-article__title {
	font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem) !important;
	line-height: 1.05;
	text-wrap: balance;
}
.rg-article__standfirst { color: #c3cad8; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); border-left: 3px solid var(--rg-accent-2); padding-left: 1rem; }
.rg-article__hero {
	border-radius: 0 !important;
	clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
	box-shadow: 0 30px 80px rgba(139, 92, 246, 0.18);
}
.rg-article__hero img { border-radius: 0 !important; }
.rg-breadcrumbs { font-family: var(--rg-font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }

.rg-prose { font-size: 1.07rem; line-height: 1.8; color: #d6dbe6; }
.rg-prose h2 {
	position: relative;
	padding-left: 1rem;
	margin-top: 2.6rem;
	font-size: clamp(1.45rem, 1.2rem + 0.9vw, 1.95rem);
	color: #fff;
}
.rg-prose h2::before {
	content: "";
	position: absolute;
	left: 0; top: 0.15em; bottom: 0.15em;
	width: 4px;
	background: linear-gradient(180deg, var(--rg-accent), var(--rg-accent-2));
	box-shadow: 0 0 12px rgba(34, 211, 238, 0.6);
}
.rg-prose h3 { color: var(--rg-accent-2); font-size: 1.25rem; margin-top: 2rem; }
.rg-prose a { color: var(--rg-accent-2); text-decoration-color: rgba(34, 211, 238, 0.4); }
.rg-prose a:hover { color: #fff; text-decoration-color: var(--rg-pink); }
.rg-prose strong { color: #fff; }
.rg-prose blockquote {
	border-left: 3px solid var(--rg-pink) !important;
	background: linear-gradient(90deg, rgba(255, 46, 136, 0.08), transparent) !important;
	border-radius: 0 !important;
	font-family: var(--rg-font-display);
	font-size: 1.2rem;
	color: #fff;
}
.rg-prose img,
.rg-prose figure img { border-radius: 0; }
.rg-prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.rg-prose th { background: rgba(139, 92, 246, 0.16); color: #fff; font-family: var(--rg-font-display); text-transform: uppercase; letter-spacing: 0.04em; text-align: left; }
.rg-prose th,
.rg-prose td { padding: 0.65rem 0.8rem; border-bottom: 1px solid var(--rg-border); }
.rg-prose tr:hover td { background: rgba(34, 211, 238, 0.04); }
.rg-prose ul li::marker { color: var(--rg-accent-2); }
.rg-prose ol li::marker { color: var(--rg-accent-2); font-family: var(--rg-font-display); font-weight: 700; }

.rg-toc { border-radius: 0 !important; border: 1px solid var(--rg-border) !important; background: var(--rg-surface) !important; }
.rg-toc__title { font-family: var(--rg-font-display); text-transform: uppercase; letter-spacing: 0.08em; }

.rg-verdict {
	border-radius: 0 !important;
	border: 0 !important;
	clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
	background:
		linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(34, 211, 238, 0.08) 60%, transparent),
		var(--rg-surface) !important;
}
.rg-verdict__title { text-transform: uppercase; letter-spacing: 0.05em; }
.rg-proscons__col--pro .rg-proscons__mark { color: var(--rg-lime) !important; }
.rg-proscons__col--con .rg-proscons__mark { color: var(--rg-danger) !important; }
.rg-callout { border-radius: 0 !important; }
.rg-authorbox { border-radius: 0 !important; background: var(--rg-surface) !important; border: 1px solid var(--rg-border) !important; }

/* ----------------------------------------------------------------- Footer */
.rg-footer {
	position: relative;
	background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.07)), #05060a !important;
	border-top: 1px solid var(--rg-border) !important;
}
.rg-footer::before {
	content: "";
	position: absolute;
	top: -1px; left: 0; right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--rg-accent), var(--rg-accent-2), transparent);
	box-shadow: 0 0 18px rgba(139, 92, 246, 0.8);
}
.rg-footer__title { font-family: var(--rg-font-display); text-transform: uppercase; letter-spacing: 0.12em; color: #fff; }
.rg-footer__list a:hover { color: var(--rg-accent-2); }
.rg-to-top { border-radius: 0 !important; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); background: linear-gradient(135deg, var(--rg-accent), var(--rg-accent-2)) !important; }

/* ------------------------------------------------------------------ Forms */
.rg-field__input,
.rg-newsletter input[type="email"],
.rg-searchform input[type="search"] {
	border-radius: 0 !important;
	background: #0a0d16 !important;
	border: 1px solid var(--rg-border-strong) !important;
	color: var(--rg-text);
}
.rg-field__input:focus,
.rg-newsletter input[type="email"]:focus,
.rg-searchform input[type="search"]:focus { border-color: var(--rg-accent-2) !important; box-shadow: var(--rg-glow-cyan); outline: 0; }
.rg-newsletter { border-radius: 0 !important; }

.page-numbers { border-radius: 0 !important; font-family: var(--rg-font-display); }
.page-numbers.current { background: linear-gradient(135deg, var(--rg-accent), var(--rg-accent-2)) !important; color: #fff !important; border: 0 !important; }

.rg-archive-title { text-transform: uppercase; letter-spacing: 0.03em; }
.rg-404__title { font-family: var(--rg-font-display); background: linear-gradient(135deg, var(--rg-accent), var(--rg-accent-2), var(--rg-pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (prefers-reduced-motion: reduce) {
	.rg-bento__pulse,
	.rg-ticker__dot { animation: none; }
	.rg-bento__media img,
	.rg-card { transition: none !important; }
}
/* ---------------------------------------------------------------- Widgets */
.rg-widget {
	border-radius: 0 !important;
	border: 0 !important;
	outline: 1px solid var(--rg-border);
	outline-offset: -1px;
	background: linear-gradient(180deg, var(--rg-card-2), var(--rg-card)) !important;
	clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}
.rg-widget h2,
.rg-widget .wp-block-heading,
.rg-widget__title,
.rg-widget .wp-block-search__label {
	font-family: var(--rg-font-display);
	font-size: 0.95rem !important;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #fff;
	padding-bottom: 0.6rem;
	margin-bottom: 0.8rem;
	border-bottom: 1px solid var(--rg-border);
	position: relative;
}
.rg-widget h2::after,
.rg-widget .wp-block-heading::after,
.rg-widget__title::after {
	content: "";
	position: absolute;
	left: 0; bottom: -1px;
	width: 48px; height: 2px;
	background: linear-gradient(90deg, var(--rg-accent), var(--rg-accent-2));
}
.rg-widget .wp-block-search__input { border-radius: 0 !important; background: #0a0d16 !important; border: 1px solid var(--rg-border-strong) !important; color: var(--rg-text); }
.rg-widget .wp-block-search__button {
	border-radius: 0 !important;
	border: 0 !important;
	background: linear-gradient(135deg, var(--rg-accent), #0891b2) !important;
	color: #fff !important;
	font-family: var(--rg-font-display);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.rg-widget ul { counter-reset: rg-w; }
.rg-widget .wp-block-latest-posts__list li {
	counter-increment: rg-w;
	display: grid;
	grid-template-columns: 2rem 1fr;
	align-items: start;
}
.rg-widget .wp-block-latest-posts__list li::before {
	content: counter(rg-w, decimal-leading-zero);
	font-family: var(--rg-font-display);
	font-weight: 700;
	color: var(--rg-accent-2);
	opacity: 0.8;
}
.rg-widget a { text-decoration: none; }
.rg-widget a:hover { color: var(--rg-accent-2); }
/* ------------------------------------------------------------ Mobile header */
.custom-logo { height: 40px; width: auto; max-width: 190px; object-fit: contain; background: transparent; }
@media (max-width: 639px) {
	.rg-header__cta { display: none !important; }
	.custom-logo { height: 34px; max-width: 160px; }
	.rg-topbar__tagline { font-size: 0.62rem; }
}
/* ------------------------------------------------- Article width, logo size */
.rg-prose,
.rg-article__standfirst { max-width: none; }
@media (min-width: 1000px) {
	.rg-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 2.25rem; }
}
.custom-logo { height: 60px !important; max-width: 260px !important; }
.rg-brand { flex-shrink: 0; }
@media (max-width: 639px) {
	.custom-logo { height: 46px !important; max-width: 180px !important; }
}
.custom-logo { max-height: 60px !important; }
@media (max-width: 639px) { .custom-logo { max-height: 46px !important; } }

/* rg-layout--narrow-fix: pages use full single column */
.rg-layout.rg-layout--narrow{grid-template-columns:minmax(0,1fr);max-width:960px}
@media (min-width:1000px){.rg-layout.rg-layout--narrow{grid-template-columns:minmax(0,1fr)}}

/* Footer v2: logo, social icons, newsletter column */
.rg-footer__logo { margin: 0 0 var(--rg-s4); }
.rg-footer__logo-img { display: block; height: 52px; width: auto; max-width: 240px; }
.rg-footer__social { list-style: none; display: flex; gap: .6rem; padding: 0; margin: var(--rg-s5) 0 0; }
.rg-footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--rg-text); background: rgba(139,92,246,.12); border: 1px solid rgba(139,92,246,.35); clip-path: polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px); transition: color .2s, background .2s, transform .2s; }
.rg-footer__social a:hover { color: #fff; background: linear-gradient(135deg,#8b5cf6,#22d3ee); transform: translateY(-2px); }
.rg-footer__col--newsletter .rg-newsletter--compact { padding: 0; background: none; border: 0; }
.rg-footer__col--newsletter .rg-newsletter__form { max-width: none; }
.rg-footer__col--newsletter .rg-field__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.rg-footer__col--newsletter .rg-field { margin: 0 0 .75rem; }
.rg-footer__col--newsletter .rg-field--check label { font-size: var(--rg-fs-xs); }
@media (min-width: 1040px) { .rg-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1.5fr; } }
/* Footer v3: quick links + inline newsletter */
.rg-footer__quick { display: inline-flex; margin: var(--rg-s4) 0 0; border: 1px solid rgba(139,92,246,.35); background: rgba(139,92,246,.06); }
.rg-footer__quick a { padding: .5rem 1.15rem; font-size: var(--rg-fs-sm); font-weight: 600; color: var(--rg-text); text-decoration: none; letter-spacing: .02em; transition: background .2s, color .2s; }
.rg-footer__quick a + a { border-left: 1px solid rgba(139,92,246,.35); }
.rg-footer__quick a:hover { background: linear-gradient(135deg,rgba(139,92,246,.35),rgba(34,211,238,.25)); color: #fff; }
.rg-footer__social { margin-top: var(--rg-s4); }
.rg-footer__col--newsletter .rg-newsletter__form { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: stretch; gap: 0; }
.rg-footer__col--newsletter .rg-field { margin: 0; }
.rg-footer__col--newsletter .rg-field__input { height: 46px; width: 100%; border-right: 0 !important; font-size: var(--rg-fs-sm); padding: 0 .9rem; }
.rg-footer__col--newsletter .rg-btn { height: 46px; padding: 0 1.1rem; clip-path: none; white-space: nowrap; }
.rg-footer__col--newsletter .rg-field--hp { position: absolute; left: -9999px; }
.rg-footer__col--newsletter .rg-newsletter__status,
.rg-footer__col--newsletter .rg-newsletter__note { grid-column: 1 / -1; }
.rg-footer__col--newsletter .rg-newsletter__status { min-height: 0; margin: .4rem 0 0; }
.rg-footer__col--newsletter .rg-newsletter__status:empty { display: none; }
.rg-newsletter__note { margin: .6rem 0 0; font-size: var(--rg-fs-xs); color: var(--rg-muted); }
.rg-newsletter__note a { color: var(--rg-muted); text-decoration: underline; }
.rg-footer__col--newsletter > .rg-footer__about { margin-bottom: var(--rg-s4); }