/* The Choicer Voicer — portal theme (thechoicervoicergames.com style) */

:root {
	--cv-bg: #f0ebf8;
	--cv-bg-stripe-a: #f0ebf8;
	--cv-bg-stripe-b: #e4dcf2;
	--cv-bg-overlay: linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.82) 100%);
	--cv-bg-pattern: repeating-linear-gradient(
		0deg,
		var(--cv-bg-stripe-a) 0,
		var(--cv-bg-stripe-a) 24px,
		var(--cv-bg-stripe-b) 24px,
		var(--cv-bg-stripe-b) 48px
	);
	--cv-surface: #ffffff;
	--cv-card: #ffffff;
	--cv-card-text: #1a1028;
	--cv-accent: #7c3aed;
	--cv-accent-2: #db2777;
	--cv-gold: #c2410c;
	--cv-text: #1f1530;
	--cv-muted: #6b5b7a;
	--cv-line: #e8e0f0;
	--cv-font-display: "Outfit", system-ui, sans-serif;
	--cv-font-body: "Inter", system-ui, sans-serif;
	--cv-header-h: 3.75rem;
	--cv-radius: 12px;
	--cv-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--cv-shadow: 0 4px 24px rgba(26, 16, 40, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	background: var(--cv-bg-overlay) fixed, var(--cv-bg-pattern) fixed;
}

body {
	margin: 0;
	min-height: 100vh;
	background: var(--cv-bg-overlay) fixed, var(--cv-bg-pattern) fixed;
	color: var(--cv-text);
	font-family: var(--cv-font-body);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a {
	color: var(--cv-accent);
	text-underline-offset: 0.15em;
	transition: color 0.2s var(--cv-ease);
}

a:hover { color: #5b21b6; }

.cv-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1000;
	padding: 0.7rem 1rem;
	background: var(--cv-accent-2);
	color: #fff;
}

.cv-skip:focus { left: 1rem; top: 1rem; }

.cv-wrap {
	width: min(1120px, calc(100% - 2rem));
	margin-inline: auto;
}

.cv-wrap--wide { width: min(1320px, calc(100% - 1.5rem)); }
.cv-wrap--article { width: min(780px, calc(100% - 2rem)); }

/* Header */
.cv-header {
	position: sticky;
	top: 0;
	z-index: 50;
	height: var(--cv-header-h);
	border-bottom: 1px solid var(--cv-line);
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(14px);
	box-shadow: 0 1px 0 rgba(26, 16, 40, 0.04);
}

.cv-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: min(1320px, calc(100% - 1.5rem));
	height: 100%;
	margin-inline: auto;
}

.cv-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	color: var(--cv-text);
	text-decoration: none;
	font-family: var(--cv-font-display);
	font-size: 1.2rem;
	font-weight: 700;
}

.cv-brand__icon { font-size: 1.35rem; line-height: 1; }

.cv-nav {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.cv-nav a {
	padding: 0.45rem 0.85rem;
	border-radius: 999px;
	color: var(--cv-muted);
	font-size: 0.92rem;
	font-weight: 500;
	text-decoration: none;
}

.cv-nav a:hover {
	background: #f5f0fc;
	color: var(--cv-accent);
}

.cv-nav-toggle {
	display: none;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 1px solid var(--cv-line);
	border-radius: 8px;
	background: transparent;
	cursor: pointer;
}

.cv-nav-toggle span[aria-hidden="true"],
.cv-nav-toggle span[aria-hidden="true"]::before,
.cv-nav-toggle span[aria-hidden="true"]::after {
	display: block;
	width: 1.1rem;
	height: 2px;
	margin: 0 auto;
	background: var(--cv-text);
	content: "";
}

.cv-nav-toggle span[aria-hidden="true"]::before { transform: translateY(-6px); }
.cv-nav-toggle span[aria-hidden="true"]::after { transform: translateY(4px); }

.cv-drawer {
	position: fixed;
	inset: var(--cv-header-h) 0 auto 0;
	z-index: 45;
	padding: 1rem;
	border-bottom: 1px solid var(--cv-line);
	background: rgba(255, 255, 255, 0.98);
	box-shadow: var(--cv-shadow);
}

.cv-drawer[hidden] { display: none !important; }

.cv-drawer nav { display: grid; gap: 0.4rem; }

.cv-drawer a {
	padding: 0.75rem 1rem;
	border-radius: var(--cv-radius);
	background: #f9f7fc;
	color: var(--cv-text);
	text-decoration: none;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Portal layout */
.cv-hero { padding: 1.5rem 0 0.5rem; }

.cv-portal {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr) 240px;
	gap: 1rem;
	align-items: stretch;
}

.cv-portal__main {
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 100%;
	grid-column: 2;
	grid-row: 1;
}

.cv-sidebar--games {
	grid-column: 1;
	grid-row: 1;
}

.cv-sidebar--guides {
	grid-column: 3;
	grid-row: 1;
}

.cv-sidebar {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 1rem;
	border: 1px solid var(--cv-line);
	border-radius: var(--cv-radius);
	background: var(--cv-surface);
	box-shadow: var(--cv-shadow);
}

.cv-sidebar__title {
	margin: 0 0 0.85rem;
	font-family: var(--cv-font-display);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--cv-gold);
}

.cv-sidebar__list {
	display: grid;
	gap: 0.35rem;
	flex: 1 1 auto;
	align-content: start;
}

.cv-side-link {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 0.6rem;
	align-items: center;
	padding: 0.35rem;
	border-radius: 8px;
	color: var(--cv-text);
	font-size: 0.85rem;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
	transition: background 0.2s var(--cv-ease);
}

.cv-side-link:hover {
	background: #f5f0fc;
	color: var(--cv-accent);
}

.cv-side-link img {
	width: 48px;
	height: 48px;
	border-radius: 8px;
	object-fit: cover;
}

.cv-sidebar__guides {
	display: grid;
	gap: 0.25rem;
	flex: 1 1 auto;
	align-content: start;
}

.cv-sidebar__guides a {
	display: block;
	padding: 0.45rem 0.5rem;
	border-radius: 6px;
	color: var(--cv-muted);
	font-size: 0.84rem;
	line-height: 1.35;
	text-decoration: none;
}

.cv-sidebar__guides a:hover {
	background: #f5f0fc;
	color: var(--cv-accent);
}

.cv-hero__title {
	margin: 0 0 0.85rem;
	flex-shrink: 0;
	font-family: var(--cv-font-display);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	text-align: center;
	color: var(--cv-text);
}

/* Hero player — stretch to match sidebar column height */
.cv-player--hero {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.cv-player--hero .cv-player__stage {
	flex: 1 1 auto;
	min-height: clamp(360px, 52vh, 560px);
	aspect-ratio: auto;
}

/* Player */
.cv-player {
	overflow: hidden;
	border: 1px solid var(--cv-line);
	border-radius: var(--cv-radius);
	background: #000;
	box-shadow: var(--cv-shadow);
}

.cv-player__stage {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #000;
}

.cv-player__frame,
.cv-player__launch {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.cv-player__frame { display: none; }

.cv-player.is-playing .cv-player__launch {
	opacity: 0;
	pointer-events: none;
}

.cv-player.is-playing .cv-player__frame { display: block; }

.cv-player__launch {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #0a0610;
	transition: opacity 0.3s var(--cv-ease);
}

.cv-player__poster {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0.45;
}

.cv-player__poster-img {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.cv-player__ready {
	position: relative;
	z-index: 1;
	max-width: 26rem;
	padding: 1.5rem;
	text-align: center;
}

.cv-player__ready-title {
	margin: 0 0 0.5rem;
	font-family: var(--cv-font-display);
	font-size: 1.35rem;
	font-weight: 700;
	color: #fff;
}

.cv-player__ready-copy {
	margin: 0 0 1.1rem;
	color: var(--cv-muted);
	font-size: 0.92rem;
}

.cv-player__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-shrink: 0;
	padding: 0.65rem 1rem;
	border-top: 1px solid var(--cv-line);
	background: var(--cv-surface);
}

.cv-player__meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.cv-rating {
	color: var(--cv-gold);
	font-size: 0.88rem;
}

.cv-rating em {
	font-style: normal;
	color: var(--cv-muted);
}

.cv-player__label {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--cv-text);
}

.cv-player__tools { display: flex; gap: 0.4rem; }

.cv-tool {
	padding: 0.35rem 0.75rem;
	border: 1px solid var(--cv-line);
	border-radius: 6px;
	background: transparent;
	color: var(--cv-text);
	font-family: var(--cv-font-body);
	font-size: 0.82rem;
	cursor: pointer;
	transition: background 0.2s var(--cv-ease);
}

.cv-tool:hover {
	background: #f5f0fc;
	border-color: var(--cv-accent);
	color: var(--cv-accent);
}

.cv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.75rem;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--cv-accent), var(--cv-accent-2));
	color: #fff;
	font-family: var(--cv-font-display);
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(168, 85, 247, 0.35);
	transition: transform 0.2s var(--cv-ease), box-shadow 0.2s var(--cv-ease);
}

.cv-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 32px rgba(168, 85, 247, 0.45);
	color: #fff;
}

/* Game grids */
.cv-section-title {
	margin: 0 0 1rem;
	font-family: var(--cv-font-display);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--cv-text);
}

.cv-section-title span {
	color: var(--cv-accent-2);
}

.cv-intro {
	padding: 1.25rem 0 0.5rem;
}

.cv-intro__card {
	padding: clamp(1.25rem, 3vw, 1.75rem);
	border: 1px solid var(--cv-line);
	border-radius: var(--cv-radius);
	background: var(--cv-surface);
	box-shadow: var(--cv-shadow);
}

.cv-intro__card p {
	margin: 0.75rem 0 1rem;
	color: #3b2d4a;
	font-size: 0.98rem;
	line-height: 1.7;
	max-width: 70rem;
}

.cv-intro__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cv-intro__links a {
	font-weight: 600;
	text-decoration: none;
}

.cv-catalog__note {
	margin: -0.35rem 0 1rem;
	color: var(--cv-muted);
	font-size: 0.92rem;
}

.cv-catalog__more {
	margin: 1.25rem 0 0;
	font-weight: 600;
}

.cv-new-games,
.cv-catalog {
	padding: 2rem 0 1.5rem;
}

.cv-catalog {
	padding-bottom: 0;
}

.cv-game-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 0.85rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cv-game-grid--compact {
	grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	gap: 0.65rem;
}

.cv-game-card {
	display: grid;
	gap: 0.45rem;
	color: var(--cv-text);
	font-size: 0.82rem;
	font-weight: 500;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	transition: transform 0.2s var(--cv-ease);
}

.cv-game-card:hover {
	transform: translateY(-2px);
	color: var(--cv-accent);
}

.cv-game-card img {
	width: 100%;
	aspect-ratio: 1;
	border-radius: 10px;
	border: 1px solid var(--cv-line);
	object-fit: cover;
	box-shadow: 0 2px 8px rgba(26, 16, 40, 0.06);
}

/* Light content zone — seamless with page background */
.cv-light-zone {
	position: relative;
	margin-top: 0;
	padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(2.5rem, 6vw, 4rem);
	background: transparent;
	border-top: 1px solid var(--cv-line);
}

.cv-article__card {
	padding: clamp(1.5rem, 4vw, 2.25rem);
	border-radius: 18px;
	background: #fff;
	color: var(--cv-card-text);
	border: 1px solid #ebe4f5;
	box-shadow: 0 8px 32px rgba(26, 16, 40, 0.06);
}

.cv-article__head {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.25rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid #ebe4f5;
}

.cv-article__thumb {
	flex-shrink: 0;
	width: 88px;
	height: 88px;
	border-radius: 14px;
	border: 2px solid #e9d5ff;
	object-fit: cover;
}

.cv-article__heading {
	margin: 0;
	font-family: var(--cv-font-display);
	font-size: clamp(1.35rem, 3vw, 1.75rem);
	font-weight: 700;
	color: #12081c;
}

.cv-article__meta {
	margin: 0.35rem 0 0;
	color: #6b5b7a;
	font-size: 0.92rem;
}

.cv-article__content h3 {
	margin: 1.75rem 0 0.65rem;
	padding-left: 0.75rem;
	border-left: 3px solid var(--cv-accent);
	font-family: var(--cv-font-display);
	font-size: 1.1rem;
	font-weight: 700;
	color: #12081c;
}

.cv-article__content p,
.cv-article__content li {
	color: #3b2d4a;
	font-size: 0.98rem;
	line-height: 1.75;
}

.cv-article__content strong { color: #1a1028; }

.cv-article__content ul,
.cv-article__steps {
	padding-left: 1.25rem;
	margin: 0.65rem 0 1rem;
}

.cv-article__steps li { margin-bottom: 0.45rem; }

.cv-article__table {
	width: 100%;
	margin: 1.25rem 0;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.cv-article__table th,
.cv-article__table td {
	padding: 0.65rem 0.85rem;
	border: 1px solid #ebe4f5;
	text-align: left;
	vertical-align: top;
}

.cv-article__table th {
	width: 34%;
	background: #f5f0fc;
	color: #12081c;
	font-weight: 600;
}

.cv-article__table td { color: #3b2d4a; }

.cv-article__banner {
	margin: 1.5rem 0;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #ebe4f5;
}

.cv-article__banner img {
	width: 100%;
	height: auto;
}

.cv-article__faq {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid #ebe4f5;
}

.cv-article__faq-item {
	margin-bottom: 1rem;
	padding: 0.85rem 1rem;
	border-radius: 10px;
	background: #faf7ff;
	border: 1px solid #ebe4f5;
}

.cv-article__faq-item h4 {
	margin: 0 0 0.35rem;
	font-size: 0.95rem;
	font-weight: 600;
	color: #12081c;
}

.cv-article__faq-item p {
	margin: 0;
	font-size: 0.9rem;
	color: #3b2d4a;
}

.cv-article__tags {
	margin-top: 1.75rem;
	padding-top: 1.25rem;
	border-top: 1px solid #ebe4f5;
}

.cv-article__tags h3 {
	margin: 0 0 0.75rem;
	font-size: 1rem;
	color: #12081c;
	border: 0;
	padding: 0;
}

.cv-article__tags ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cv-article__tags a {
	display: inline-block;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	border: 1px solid #ddd6fe;
	background: #f5f0fc;
	color: #5b21b6;
	font-size: 0.82rem;
	text-decoration: none;
	transition: background 0.2s var(--cv-ease), border-color 0.2s var(--cv-ease);
}

.cv-article__tags a:hover {
	border-color: var(--cv-accent);
	background: #ede9fe;
	color: #4c1d95;
}

.cv-popular--light {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid #ebe4f5;
}

.cv-popular__title {
	margin: 0 0 1rem;
	font-family: var(--cv-font-display);
	font-size: 1.25rem;
	font-weight: 700;
	color: #12081c;
}

.cv-popular__title span {
	color: var(--cv-accent-2);
}

.cv-game-grid--light {
	grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
}

.cv-game-card--light {
	color: #3b2d4a;
}

.cv-game-card--light:hover {
	color: #12081c;
}

.cv-game-card--light img {
	border-color: #ebe4f5;
	box-shadow: 0 4px 14px rgba(26, 16, 40, 0.08);
}

/* Legacy article (inner pages) */
.cv-article {
	padding: 1rem 0 2.5rem;
}

.cv-faq { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #ebe4f5; }

.cv-faq__item {
	margin-bottom: 0.5rem;
	border: 1px solid #ebe4f5;
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
}

.cv-faq__item summary {
	padding: 0.85rem 1rem;
	font-weight: 600;
	color: #12081c;
	cursor: pointer;
	list-style: none;
}

.cv-faq__item summary::-webkit-details-marker { display: none; }

.cv-faq__item p {
	margin: 0;
	padding: 0 1rem 1rem;
	font-size: 0.95rem;
	color: #3b2d4a;
}

/* Embed (game pages) */
.cv-embed {
	overflow: hidden;
	margin-bottom: 1.5rem;
	border: 1px solid var(--cv-line);
	border-radius: var(--cv-radius);
	background: #000;
}

.cv-embed__stage {
	position: relative;
	aspect-ratio: 16 / 9;
}

.cv-embed__stage iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.cv-embed__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.6rem 1rem;
	background: var(--cv-surface);
	border-top: 1px solid var(--cv-line);
}

.cv-embed__label {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--cv-text);
}

/* Inner pages */
.cv-main--simple { padding: 2rem 0 3rem; }

.cv-prose {
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border: 1px solid #ebe4f5;
	border-radius: 16px;
	background: #fff;
	color: var(--cv-card-text);
}

.cv-article__title {
	margin: 0 0 1rem;
	font-family: var(--cv-font-display);
	font-size: clamp(1.5rem, 3vw, 2rem);
	color: #12081c;
}

.cv-article__content h2 {
	margin: 1.75rem 0 0.65rem;
	font-family: var(--cv-font-display);
	font-size: 1.2rem;
	color: #12081c;
}

.cv-article__content p,
.cv-article__content li { color: #3b2d4a; }

.cv-article__content a { color: #7c3aed; }

.cv-article-games {
	padding-left: 1.1rem;
	margin: 1rem 0;
}

/* Footer */
.cv-footer {
	margin-top: 0;
	padding: 2rem 0;
	border-top: 1px solid var(--cv-line);
	background: transparent;
}

.cv-footer__inner {
	width: min(1320px, calc(100% - 1.5rem));
	margin-inline: auto;
}

.cv-footer__title {
	margin: 0 0 0.35rem;
	font-family: var(--cv-font-display);
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--cv-text);
}

.cv-footer__note {
	margin: 0 0 1.25rem;
	color: var(--cv-muted);
	font-size: 0.88rem;
}

.cv-footer__list,
.cv-footer__legal-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cv-footer__list a,
.cv-footer__legal-list a {
	color: var(--cv-muted);
	font-size: 0.88rem;
	text-decoration: none;
}

.cv-footer__list a:hover,
.cv-footer__legal-list a:hover { color: var(--cv-accent); }

.cv-footer__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--cv-line);
}

.cv-footer__copy {
	margin: 0;
	color: var(--cv-muted);
	font-size: 0.82rem;
}

/* Back to top */
.cv-top {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 40;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid var(--cv-line);
	border-radius: 50%;
	background: #fff;
	color: var(--cv-text);
	font-size: 1.1rem;
	cursor: pointer;
	box-shadow: var(--cv-shadow);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s var(--cv-ease), transform 0.25s var(--cv-ease);
}

.cv-top.is-visible {
	opacity: 1;
	pointer-events: auto;
}

.cv-top:hover { transform: translateY(-2px); }

/* Thumb (legacy game pages) */
.cv-thumb {
	display: grid;
	gap: 0.4rem;
	color: var(--cv-text);
	text-decoration: none;
}

.cv-thumb img {
	width: 100%;
	border-radius: 10px;
	aspect-ratio: 1;
	object-fit: cover;
}

.cv-thumb__name {
	font-size: 0.82rem;
	font-weight: 500;
	text-align: center;
}

.cv-player__frame--live {
	display: block;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.cv-main--game { padding: 1.25rem 0 3rem; }

/* Game page: random games beside the player + more below the article */
.cv-game-playrow {
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr);
	gap: 1rem;
	align-items: stretch;
	margin: 0 0 1.5rem;
}

.cv-game-playrow__stage {
	min-width: 0;
}

.cv-game-rail {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 0.85rem;
	border: 1px solid var(--cv-line);
	border-radius: var(--cv-radius);
	background: var(--cv-surface);
	box-shadow: var(--cv-shadow);
}

.cv-game-rail__title {
	margin: 0 0 0.65rem;
	font-family: var(--cv-font-display);
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--cv-gold);
}

.cv-game-rail__list {
	display: grid;
	gap: 0.3rem;
	flex: 1 1 auto;
	align-content: start;
	max-height: min(70vh, 560px);
	overflow: auto;
}

.cv-game-rail__link {
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 0.5rem;
	align-items: center;
	padding: 0.3rem;
	border-radius: 8px;
	color: var(--cv-text);
	font-size: 0.8rem;
	font-weight: 500;
	line-height: 1.25;
	text-decoration: none;
}

.cv-game-rail__link:hover {
	background: #f5f0fc;
	color: var(--cv-accent);
}

.cv-game-rail__link img {
	width: 44px;
	height: 44px;
	border-radius: 8px;
	object-fit: cover;
}

.cv-game-rail__more {
	margin: 0.65rem 0 0;
	padding-top: 0.55rem;
	border-top: 1px solid var(--cv-line);
	font-size: 0.82rem;
	font-weight: 600;
}

.cv-game-rail__more a { text-decoration: none; }

.cv-more-games {
	margin-top: 2rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--cv-line);
}

@media (max-width: 900px) {
	.cv-game-playrow {
		grid-template-columns: 1fr;
	}

	.cv-game-rail {
		order: 2;
	}

	.cv-game-playrow__stage {
		order: 1;
	}

	.cv-game-rail__list {
		grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
		max-height: none;
	}
}

.cv-crumb {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin-bottom: 0.85rem;
	color: var(--cv-muted);
	font-size: 0.88rem;
}

.cv-crumb a { color: var(--cv-muted); text-decoration: none; }
.cv-crumb a:hover { color: var(--cv-accent); }

.cv-game-lead {
	margin: 1rem 0 2rem;
	color: var(--cv-muted);
	font-size: 0.95rem;
}

.cv-game-article {
	margin: 1.5rem 0 2.5rem;
}

.cv-game-article .cv-article__content h2 {
	margin: 1.75rem 0 0.75rem;
	font-family: var(--cv-font-display);
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--cv-text);
}

.cv-game-article .cv-article__content h3 {
	margin: 1.25rem 0 0.5rem;
	font-size: 1.02rem;
	font-weight: 600;
	color: var(--cv-text);
}

.cv-game-article .cv-article__content p,
.cv-game-article .cv-article__content li {
	color: #3b2d4a;
	font-size: 0.96rem;
	line-height: 1.7;
}

.cv-game-article .cv-article__content ul {
	margin: 0.75rem 0 1rem;
	padding-left: 1.2rem;
}

.cv-game-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--cv-line);
}

.cv-game-tags__pill {
	display: inline-block;
	padding: 0.35rem 0.75rem;
	border: 1px solid var(--cv-line);
	border-radius: 999px;
	background: #f9f7fc;
	color: var(--cv-muted);
	font-size: 0.78rem;
	font-weight: 500;
}

@media (max-width: 1024px) {
	.cv-hero {
		padding: 0.75rem 0 0.35rem;
	}

	.cv-portal {
		display: flex;
		flex-direction: column;
		gap: 0.85rem;
	}

	.cv-portal__main,
	.cv-sidebar--games,
	.cv-sidebar--guides {
		grid-column: auto;
		grid-row: auto;
	}

	/* Player first on mobile so the game is above the fold */
	.cv-portal__main { order: 1; }
	.cv-sidebar--games { order: 2; }
	.cv-sidebar--guides { order: 3; }

	.cv-hero__title {
		margin: 0 0 0.55rem;
		font-size: clamp(1.2rem, 5vw, 1.55rem);
	}

	.cv-player--hero .cv-player__stage {
		min-height: clamp(200px, 48vw, 280px);
	}

	/* Best Games: compact horizontal strip, not a tall list */
	.cv-sidebar--games {
		padding: 0.65rem 0.75rem 0.75rem;
		min-height: 0;
	}

	.cv-sidebar--games .cv-sidebar__title {
		margin: 0 0 0.5rem;
		font-size: 0.8rem;
	}

	.cv-sidebar--games .cv-sidebar__list {
		display: flex;
		flex-wrap: nowrap;
		gap: 0.45rem;
		overflow-x: auto;
		padding-bottom: 0.25rem;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
	}

	.cv-sidebar--games .cv-side-link {
		flex: 0 0 auto;
		width: 4.5rem;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 0.3rem;
		padding: 0.25rem;
		text-align: center;
		font-size: 0.68rem;
		line-height: 1.2;
	}

	.cv-sidebar--games .cv-side-link img {
		width: 3.35rem;
		height: 3.35rem;
		border-radius: 10px;
	}

	.cv-sidebar--games .cv-side-link span {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		max-width: 100%;
	}

	.cv-sidebar--guides {
		padding: 0.75rem;
		min-height: 0;
	}

	.cv-sidebar--guides .cv-sidebar__guides {
		display: flex;
		flex-wrap: wrap;
		gap: 0.35rem;
	}

	.cv-sidebar--guides .cv-sidebar__guides a {
		padding: 0.4rem 0.65rem;
		background: #f7f3fc;
		font-size: 0.78rem;
	}

	.cv-intro {
		padding: 0.75rem 0 0.25rem;
	}
}

@media (max-width: 720px) {
	.cv-nav { display: none; }

	.cv-nav-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.cv-wrap--wide {
		width: min(1320px, calc(100% - 1rem));
	}

	.cv-game-grid {
		grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
		gap: 0.55rem;
	}

	.cv-section-title {
		font-size: 1.15rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}
