:root {
	--color-bg: #090b12;
	--color-surface: #121724;
	--color-surface-strong: #1a2132;
	--color-text: #eef3ff;
	--color-muted: #a8b3c7;
	--color-accent: #23d18b;
	--color-accent-alt: #49a7ff;
	--color-border: rgba(255, 255, 255, 0.1);
	--color-border-strong: rgba(255, 255, 255, 0.16);
	--color-card: rgba(16, 20, 31, 0.92);
	--color-card-strong: rgba(23, 29, 45, 0.96);
	--radius-pill: 999px;
	--radius-card: 16px;
	--radius-compact: 12px;
	--space-portal: 14px;
	--portal-sidebar-width: 250px;
	--portal-sidebar-collapsed-width: 72px;
	--shadow-panel: 0 20px 50px rgba(0, 0, 0, 0.35);
	--shadow-card-hover: 0 18px 40px rgba(0, 0, 0, 0.38);
	--site-width: 1180px;
}

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

html {
	min-height: 100%;
	background: var(--color-bg);
}

body {
	min-height: 100%;
	margin: 0;
	background:
		radial-gradient(circle at top left, rgba(35, 209, 139, 0.14), transparent 32rem),
		linear-gradient(180deg, #0c1020 0%, var(--color-bg) 42rem);
	color: var(--color-text);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
}

a {
	color: inherit;
	text-decoration-color: rgba(35, 209, 139, 0.7);
	text-underline-offset: 0.18em;
}

a:hover,
a:focus {
	color: var(--color-accent);
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

.site-header {
	border-bottom: 1px solid var(--color-border);
	background: rgba(9, 11, 18, 0.9);
	backdrop-filter: blur(14px);
}

.site-header__inner,
.site-footer__inner,
.content-area {
	width: min(100% - 2rem, var(--site-width));
	margin-inline: auto;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 76px;
}

.site-branding {
	flex: 0 0 auto;
}

.site-title {
	color: var(--color-text);
	font-size: 1.35rem;
	font-weight: 800;
	text-decoration: none;
}

.custom-logo {
	max-width: 190px;
	max-height: 56px;
}

.site-logo-image {
	display: block;
	width: auto;
	max-width: 220px;
	max-height: 52px;
	object-fit: contain;
}

.primary-navigation__menu,
.footer-navigation__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-navigation a,
.footer-navigation a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	color: var(--color-muted);
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
}

.primary-navigation a:hover,
.primary-navigation a:focus,
.footer-navigation a:hover,
.footer-navigation a:focus {
	color: var(--color-text);
}

.site-main {
	min-height: 65vh;
}

.content-area {
	padding-block: 3rem;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 1.25rem;
}

.post-card {
	overflow: hidden;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	background: linear-gradient(180deg, var(--color-surface-strong), var(--color-surface));
	box-shadow: var(--shadow-panel);
}

.post-card__thumbnail {
	display: block;
	aspect-ratio: 16 / 9;
	background: #070a10;
}

.post-card__thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card__content {
	padding: 1.25rem;
}

.post-card__title {
	margin: 0 0 0.65rem;
	font-size: 1.2rem;
	line-height: 1.25;
}

.post-card__title a {
	color: var(--color-text);
	text-decoration: none;
}

.post-card__excerpt {
	color: var(--color-muted);
}

.post-card__excerpt > * {
	margin-block: 0;
}

.post-card--empty {
	padding: 1.5rem;
}

.pagination {
	margin-top: 2rem;
	color: var(--color-muted);
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	min-height: 2.5rem;
	border: 1px solid var(--color-border);
	border-radius: 6px;
	background: var(--color-surface);
	text-decoration: none;
}

.page-numbers.current {
	border-color: rgba(35, 209, 139, 0.55);
	color: var(--color-accent);
}

.site-footer {
	border-top: 1px solid var(--color-border);
	background: #080a10;
	color: var(--color-muted);
}

.site-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 1.5rem;
}

.site-footer__credit {
	margin: 0;
	font-size: 0.9rem;
}

.game-single {
	padding-block: 3rem;
}

.game-single__container {
	width: min(100% - 2rem, var(--site-width));
	margin-inline: auto;
}

.game-portal-layout {
	width: 100%;
	min-height: 100vh;
}

.game-portal-content {
	width: 100%;
	max-width: none;
	margin-inline: 0;
	padding: 24px 32px 3rem;
}

.game-portal-content .game-single {
	padding-block: 0;
}

.game-portal-content .game-single__container {
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

.game-portal-content .game-single__header,
.game-portal-content .game-player-wrap,
.game-portal-content .game-info-grid {
	width: 100%;
	max-width: 1200px;
}

.game-single__header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.game-single__title {
	margin: 0;
	font-size: 3rem;
	line-height: 1;
}

.game-player-wrap {
	overflow: hidden;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	background: #070a10;
	box-shadow: var(--shadow-panel);
}

.game-player {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background:
		linear-gradient(135deg, rgba(73, 167, 255, 0.14), transparent 42%),
		linear-gradient(180deg, #10182a, #080a10);
}

.game-player iframe,
.game-player img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.game-player img {
	object-fit: cover;
}

.game-player--fallback::after {
	position: absolute;
	inset: 0;
	content: "";
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
	pointer-events: none;
}

.game-player__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: var(--color-muted);
	font-weight: 800;
	text-transform: uppercase;
}

/* Modern single game player page */
.game-player-page {
	width: 100%;
	max-width: none;
	padding: 14px 18px 32px;
}

.game-player-page .game-single {
	padding-block: 0;
}

.game-player-shell {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 18px;
	width: 100%;
	align-items: start;
	min-height: 0;
}

.game-player-main {
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
	height: calc(100vh - 96px);
	max-height: calc(100vh - 96px);
}

.game-player-stage {
	position: relative;
	flex: 1 1 auto;
	overflow: hidden;
	width: 100%;
	min-height: 360px;
	aspect-ratio: auto;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	background:
		radial-gradient(circle at 25% 15%, rgba(73, 167, 255, 0.16), transparent 32%),
		linear-gradient(180deg, #05070c, #000000);
	box-shadow: var(--shadow-panel);
}

.game-player-stage iframe,
.game-player-iframe,
.game-player-stage img,
.game-player-stage .game-player-fallback {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.game-player-iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.game-player-stage img {
	object-fit: cover;
}

.game-player-stage__placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.7rem;
	width: 100%;
	height: 100%;
	color: rgba(238, 243, 255, 0.78);
	font-weight: 900;
	text-transform: uppercase;
}

.game-player-stage__placeholder p {
	margin: 0;
}

.game-player-stage__placeholder a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	border: 1px solid rgba(35, 209, 139, 0.36);
	border-radius: var(--radius-pill);
	background: rgba(35, 209, 139, 0.1);
	color: var(--color-accent);
	font-size: 0.82rem;
	font-weight: 900;
	padding: 0 0.9rem;
	text-decoration: none;
	text-transform: none;
}

.game-player-bottom-bar {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 70px;
	margin-top: 12px;
	border: 1px solid var(--color-border-strong);
	border-radius: 16px;
	background: rgba(13, 17, 27, 0.96);
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
	padding: 12px;
}

.game-player-summary {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.game-player-summary-thumb {
	display: flex;
	flex: 0 0 58px;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	width: 58px;
	height: 58px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	background:
		linear-gradient(135deg, rgba(35, 209, 139, 0.18), rgba(73, 167, 255, 0.12)),
		#080a10;
	color: var(--color-text);
	font-size: 0.85rem;
	font-weight: 950;
}

.game-player-summary-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.game-player-summary-text {
	min-width: 0;
}

.game-title,
.game-player-title {
	overflow: hidden;
	margin: 0;
	color: var(--color-text);
	font-size: 1.25rem;
	font-weight: 900;
	line-height: 1.15;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.game-player-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	align-items: center;
	margin-top: 0.35rem;
}

.game-player-meta-link,
.game-player-meta-badge {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	border-radius: var(--radius-pill);
	font-size: 0.74rem;
	font-weight: 900;
	text-decoration: none;
}

.game-player-meta-link {
	color: var(--color-accent-alt);
}

.game-player-meta-badge {
	border: 1px solid rgba(35, 209, 139, 0.34);
	background: rgba(35, 209, 139, 0.1);
	color: var(--color-accent);
	padding: 0 0.58rem;
}

.game-player-actions {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px;
}

.game-suggestions-panel {
	align-self: stretch;
	min-width: 0;
	height: calc(100vh - 96px);
	max-height: calc(100vh - 96px);
	border: 1px solid var(--color-border-strong);
	border-radius: 16px;
	background: rgba(13, 17, 27, 0.84);
	overflow-y: auto;
	padding: 12px;
}

.game-suggestions-panel h2 {
	margin: 0 0 12px;
	color: var(--color-text);
	font-size: 1rem;
	font-weight: 900;
	line-height: 1.15;
}

.game-suggestions-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.game-suggestion-card {
	display: block;
	min-width: 0;
	color: var(--color-text);
	text-decoration: none;
	transition: transform 160ms ease;
}

.game-suggestion-card:hover,
.game-suggestion-card:focus {
	color: var(--color-text);
	transform: translateY(-2px);
}

.game-suggestion-thumb {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 12px;
	background:
		radial-gradient(circle at 20% 20%, rgba(73, 167, 255, 0.2), transparent 32%),
		linear-gradient(135deg, #151d31, #080a10);
}

.game-suggestion-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition:
		filter 160ms ease,
		transform 180ms ease;
}

.game-suggestion-card:hover .game-suggestion-thumb img,
.game-suggestion-card:focus .game-suggestion-thumb img {
	filter: brightness(1.08);
	transform: scale(1.03);
}

.game-suggestion-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: rgba(238, 243, 255, 0.78);
	font-weight: 950;
}

.game-suggestion-badge {
	position: absolute;
	z-index: 2;
	top: 0.4rem;
	left: 0.4rem;
	display: inline-flex;
	align-items: center;
	min-height: 21px;
	border: 1px solid rgba(255, 190, 90, 0.46);
	border-radius: var(--radius-pill);
	background: rgba(8, 10, 16, 0.82);
	color: #ffc46b;
	font-size: 0.62rem;
	font-weight: 950;
	padding: 0 0.48rem;
}

.game-suggestion-title {
	display: -webkit-box;
	overflow: hidden;
	margin-top: 0.42rem;
	color: var(--color-text);
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.25;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.game-suggestions-empty {
	margin: 0;
	color: var(--color-muted);
	font-size: 0.9rem;
}

.related-games-section {
	width: 100%;
	margin-top: 24px;
	margin-bottom: 24px;
}

.related-games-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}

.related-games-empty {
	margin: 0;
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-compact);
	background: var(--color-card);
	color: var(--color-muted);
	padding: 0.85rem;
}

.random-games-section {
	width: 100%;
	margin-top: 28px;
	margin-bottom: 40px;
}

.random-games-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 18px;
}

.random-games-grid .large-row-game-thumb {
	aspect-ratio: 16 / 10;
	border-radius: 16px;
}

.random-games-grid .large-row-game-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.random-games-empty {
	margin: 0;
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-compact);
	background: var(--color-card);
	color: var(--color-muted);
	padding: 0.85rem;
}

.game-seo-categories-section {
	width: 100%;
	margin-top: 36px;
	margin-bottom: 50px;
}

.game-seo-categories-content {
	width: 100%;
	max-width: none;
}

.game-seo-categories-content h2 {
	margin: 0 0 12px;
	color: var(--color-text);
	font-size: clamp(28px, 3vw, 44px);
	font-weight: 800;
	line-height: 1.05;
}

.game-seo-categories-content p {
	max-width: 1500px;
	margin: 0 0 28px;
	color: var(--color-muted);
	font-size: 17px;
	line-height: 1.7;
}

.game-category-pills-large {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
}

.game-category-pill-large {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 58px;
	padding: 14px 24px;
	border: 1px solid rgba(111, 134, 255, 0.28);
	border-radius: var(--radius-pill);
	background:
		linear-gradient(135deg, rgba(73, 167, 255, 0.18), rgba(123, 92, 255, 0.12)),
		rgba(15, 19, 31, 0.94);
	box-shadow:
		0 16px 34px rgba(0, 0, 0, 0.24),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
	color: var(--color-text);
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
	transition:
		background-color 160ms ease,
		border-color 160ms ease,
		box-shadow 160ms ease,
		color 160ms ease,
		transform 160ms ease;
}

.game-category-pill-large:hover,
.game-category-pill-large:focus {
	border-color: rgba(73, 167, 255, 0.62);
	background:
		linear-gradient(135deg, rgba(73, 167, 255, 0.25), rgba(123, 92, 255, 0.18)),
		rgba(22, 28, 44, 0.98);
	box-shadow:
		0 18px 42px rgba(0, 0, 0, 0.3),
		0 0 24px rgba(73, 167, 255, 0.12);
	color: #ffffff;
	transform: translateY(-2px);
}

.game-category-pill-icon {
	flex-shrink: 0;
	width: 30px;
	font-size: 26px;
	line-height: 1;
	text-align: center;
}

.game-category-pill-label {
	white-space: nowrap;
}

.game-seo-categories-empty {
	margin: 0;
	color: var(--color-muted);
}

/* Game category portal archive */
.taxonomy-portal-content {
	width: 100%;
	max-width: none;
	padding: 18px 24px 40px;
}

.taxonomy-hero {
	display: flex;
	align-items: center;
	gap: 18px;
	width: 100%;
	margin-bottom: 24px;
	border: 1px solid var(--color-border-strong);
	border-radius: 18px;
	background:
		linear-gradient(135deg, rgba(35, 209, 139, 0.12), transparent 42%),
		rgba(13, 17, 27, 0.92);
	box-shadow: var(--shadow-panel);
	padding: 22px;
}

.taxonomy-hero-icon {
	display: flex;
	flex: 0 0 76px;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	border: 1px solid rgba(73, 167, 255, 0.26);
	border-radius: 20px;
	background:
		linear-gradient(135deg, rgba(73, 167, 255, 0.18), rgba(123, 92, 255, 0.14)),
		rgba(8, 10, 16, 0.72);
	font-size: 2.35rem;
	line-height: 1;
}

.taxonomy-hero-content {
	min-width: 0;
}

.taxonomy-hero-kicker {
	margin: 0 0 0.25rem;
	color: var(--color-accent);
	font-size: 0.78rem;
	font-weight: 950;
	text-transform: uppercase;
}

.taxonomy-hero-content h1 {
	margin: 0;
	color: var(--color-text);
	font-size: clamp(2rem, 4vw, 4rem);
	font-weight: 950;
	line-height: 1;
}

.taxonomy-hero-description {
	max-width: 960px;
	margin-top: 0.8rem;
	color: var(--color-muted);
	font-size: 1rem;
	line-height: 1.65;
}

.taxonomy-hero-description > :first-child {
	margin-top: 0;
}

.taxonomy-hero-description > :last-child {
	margin-bottom: 0;
}

.taxonomy-hero-count {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	margin-top: 1rem;
	border: 1px solid rgba(73, 167, 255, 0.34);
	border-radius: var(--radius-pill);
	background: rgba(73, 167, 255, 0.1);
	color: var(--color-accent-alt);
	font-size: 0.8rem;
	font-weight: 900;
	padding: 0 0.75rem;
}

.taxonomy-games-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 18px;
}

.taxonomy-games-grid .large-row-game-thumb {
	aspect-ratio: 16 / 10;
	border-radius: 16px;
}

.taxonomy-games-grid .large-row-game-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.taxonomy-pagination {
	margin-top: 28px;
}

.taxonomy-pagination .nav-links {
	gap: 0.55rem;
}

.taxonomy-pagination .page-numbers {
	border-radius: var(--radius-pill);
	background: rgba(13, 17, 27, 0.92);
	color: var(--color-muted);
	font-weight: 800;
}

.taxonomy-pagination a.page-numbers:hover,
.taxonomy-pagination .page-numbers.current {
	border-color: rgba(35, 209, 139, 0.58);
	background: rgba(35, 209, 139, 0.12);
	color: var(--color-accent);
}

.taxonomy-empty-state {
	border: 1px solid var(--color-border-strong);
	border-radius: 18px;
	background: var(--color-card);
	color: var(--color-muted);
	padding: 1.2rem;
}

.taxonomy-empty-state p {
	margin: 0;
}

.taxonomy-article-section {
	width: 100%;
	margin-top: 32px;
}

.taxonomy-article-card {
	box-sizing: border-box;
	width: 100%;
	border: 1px solid var(--color-border);
	border-radius: 18px;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
		var(--color-card);
	padding: 32px 34px;
	box-shadow: var(--shadow-soft);
}

.taxonomy-article-content {
	max-width: 980px;
	color: var(--color-muted);
	font-size: 1rem;
	line-height: 1.7;
}

.taxonomy-article-card h1,
.taxonomy-article-card h2,
.taxonomy-article-card h3 {
	margin: 1.6em 0 0.55em;
	color: var(--color-text);
	line-height: 1.15;
}

.taxonomy-article-card h1:first-child,
.taxonomy-article-card h2:first-child,
.taxonomy-article-card h3:first-child {
	margin-top: 0;
}

.taxonomy-article-card h1 {
	font-size: clamp(2rem, 3vw, 3.3rem);
}

.taxonomy-article-card h2 {
	font-size: clamp(1.6rem, 2.2vw, 2.35rem);
}

.taxonomy-article-card h3 {
	font-size: clamp(1.25rem, 1.6vw, 1.6rem);
}

.taxonomy-article-card p {
	margin: 0 0 1.05em;
	color: var(--color-muted);
}

.taxonomy-article-card ul,
.taxonomy-article-card ol {
	margin: 0 0 1.2em 1.35rem;
	padding: 0;
	color: var(--color-muted);
}

.taxonomy-article-card li {
	margin-bottom: 0.45em;
	padding-left: 0.15rem;
}

.taxonomy-article-card a {
	color: var(--color-accent);
	text-decoration: none;
}

.taxonomy-article-card a:hover,
.taxonomy-article-card a:focus {
	color: var(--color-accent-alt);
	text-decoration: underline;
}

.taxonomy-article-card img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 14px;
}

.taxonomy-article-card blockquote {
	margin: 1.4em 0;
	border-left: 3px solid var(--color-accent);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.045);
	padding: 1rem 1.2rem;
	color: rgba(255, 255, 255, 0.82);
}

.taxonomy-article-card blockquote > :last-child {
	margin-bottom: 0;
}

/* Default portal pages */
.portal-page-content {
	width: 100%;
	max-width: none;
	padding: 18px 24px 48px;
}

.portal-page {
	width: 100%;
}

.portal-page-hero {
	box-sizing: border-box;
	width: 100%;
	margin-bottom: 24px;
	padding: 30px 34px;
	border: 1px solid var(--color-border);
	border-radius: 20px;
	background:
		linear-gradient(135deg, rgba(35, 209, 139, 0.16), rgba(73, 167, 255, 0.1)),
		#10151f;
	box-shadow: var(--shadow-panel);
}

.portal-page-eyebrow {
	margin: 0 0 0.35rem;
	color: var(--color-accent);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0;
	text-transform: uppercase;
}

.portal-page-title {
	margin: 0;
	color: var(--color-text);
	font-size: clamp(2.15rem, 4vw, 4.1rem);
	line-height: 1;
}

.portal-page-excerpt {
	max-width: 820px;
	margin: 0.9rem 0 0;
	color: var(--color-muted);
	font-size: 1rem;
	line-height: 1.7;
}

.portal-page-content-card {
	box-sizing: border-box;
	width: 100%;
	padding: 32px 34px;
	border: 1px solid var(--color-border);
	border-radius: 20px;
	background:
		linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(10, 14, 22, 0.98)),
		#0d111a;
	box-shadow: var(--shadow-panel);
}

.portal-page-content-body {
	max-width: 1100px;
	color: var(--color-muted);
	font-size: 1.02rem;
	line-height: 1.72;
}

.portal-page-content-body h1,
.portal-page-content-body h2,
.portal-page-content-body h3 {
	margin: 1.55em 0 0.55em;
	color: var(--color-text);
	line-height: 1.16;
}

.portal-page-content-body h1:first-child,
.portal-page-content-body h2:first-child,
.portal-page-content-body h3:first-child {
	margin-top: 0;
}

.portal-page-content-body h1 {
	font-size: clamp(2rem, 3vw, 3.35rem);
}

.portal-page-content-body h2 {
	font-size: clamp(1.55rem, 2.2vw, 2.3rem);
}

.portal-page-content-body h3 {
	font-size: clamp(1.22rem, 1.55vw, 1.6rem);
}

.portal-page-content-body p {
	margin: 0 0 1.08em;
	color: var(--color-muted);
}

.portal-page-content-body ul,
.portal-page-content-body ol {
	margin: 0 0 1.25em 1.35rem;
	padding: 0;
	color: var(--color-muted);
}

.portal-page-content-body li {
	margin-bottom: 0.48em;
	padding-left: 0.15rem;
}

.portal-page-content-body a {
	color: var(--color-accent);
	text-decoration: none;
}

.portal-page-content-body a:hover,
.portal-page-content-body a:focus {
	color: var(--color-accent-alt);
	text-decoration: underline;
}

.portal-page-content-body strong {
	color: rgba(255, 255, 255, 0.88);
}

.portal-page-content-body img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 14px;
}

.portal-page-content-body blockquote {
	margin: 1.45em 0;
	padding: 1rem 1.15rem;
	border-left: 3px solid var(--color-accent);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.045);
	color: var(--color-text);
}

.site-footer .wpml-ls,
.site-footer .wpml-ls-statics-footer,
.wpml-ls-statics-footer {
	display: none !important;
}

/* All tags page */
.tags-page-content {
	width: 100%;
	max-width: none;
	padding: 18px 24px 40px;
}

.tags-page-hero {
	width: 100%;
	margin-bottom: 24px;
	border: 1px solid var(--color-border-strong);
	border-radius: 20px;
	background:
		radial-gradient(circle at 88% 18%, rgba(35, 209, 139, 0.18), transparent 32%),
		radial-gradient(circle at 8% 100%, rgba(73, 167, 255, 0.16), transparent 34%),
		linear-gradient(135deg, rgba(28, 36, 56, 0.96), rgba(11, 14, 23, 0.96));
	padding: 28px 32px;
	box-shadow: var(--shadow-panel);
}

.tags-page-kicker {
	margin: 0 0 0.45rem;
	color: var(--color-accent);
	font-size: 0.8rem;
	font-weight: 950;
	letter-spacing: 0;
	text-transform: uppercase;
}

.tags-page-hero h1 {
	margin: 0;
	color: var(--color-text);
	font-size: clamp(34px, 4vw, 64px);
	font-weight: 950;
	line-height: 1;
}

.tags-page-hero p:not(.tags-page-kicker) {
	max-width: 760px;
	margin: 0.9rem 0 0;
	color: var(--color-muted);
	font-size: 1rem;
	line-height: 1.7;
}

.all-tags-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	width: 100%;
}

.all-tag-card {
	min-width: 0;
}

.all-tag-card-link {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 86px;
	overflow: hidden;
	gap: 14px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 18px;
	background:
		radial-gradient(circle at 92% 18%, rgba(255, 255, 255, 0.16), transparent 32%),
		linear-gradient(135deg, #172033, #0b0f18);
	color: var(--color-text);
	padding: 16px;
	text-decoration: none;
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
	transition:
		transform 180ms ease,
		border-color 180ms ease,
		filter 180ms ease,
		box-shadow 180ms ease;
}

.all-tag-card-link::before {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.2));
	content: "";
	pointer-events: none;
}

.all-tag-card-icon,
.all-tag-card-content {
	position: relative;
	z-index: 1;
}

.all-tag-card-icon {
	display: flex;
	flex: 0 0 48px;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.08);
	font-size: 30px;
	line-height: 1;
	transition: transform 180ms ease;
}

.all-tag-card-content {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.all-tag-card-name {
	overflow: hidden;
	color: #ffffff;
	font-size: 16px;
	font-weight: 900;
	line-height: 1.2;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.all-tag-card-count {
	margin-top: 4px;
	color: var(--color-muted);
	font-size: 13px;
	font-weight: 750;
}

.all-tag-card-link:hover,
.all-tag-card-link:focus {
	border-color: rgba(35, 209, 139, 0.46);
	box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
	filter: brightness(1.08);
	transform: translateY(-3px);
}

.all-tag-card-link:hover .all-tag-card-icon,
.all-tag-card-link:focus .all-tag-card-icon {
	transform: rotate(-4deg) scale(1.06);
}

.all-tag-card:nth-child(1n) .all-tag-card-link {
	background:
		radial-gradient(circle at 90% 18%, rgba(125, 211, 252, 0.2), transparent 32%),
		linear-gradient(135deg, #14213d, #0f172a);
}

.all-tag-card:nth-child(2n) .all-tag-card-link {
	background:
		radial-gradient(circle at 90% 18%, rgba(35, 209, 139, 0.18), transparent 32%),
		linear-gradient(135deg, #123128, #101827);
}

.all-tag-card:nth-child(3n) .all-tag-card-link {
	background:
		radial-gradient(circle at 90% 18%, rgba(216, 180, 254, 0.2), transparent 32%),
		linear-gradient(135deg, #2a1748, #111827);
}

.all-tag-card:nth-child(4n) .all-tag-card-link {
	background:
		radial-gradient(circle at 90% 18%, rgba(251, 146, 60, 0.18), transparent 32%),
		linear-gradient(135deg, #3a1f14, #111827);
}

.all-tag-card:nth-child(5n) .all-tag-card-link {
	background:
		radial-gradient(circle at 90% 18%, rgba(244, 114, 182, 0.18), transparent 32%),
		linear-gradient(135deg, #3a1730, #111827);
}

.all-tags-empty {
	border: 1px solid var(--color-border-strong);
	border-radius: 18px;
	background: var(--color-card);
	color: var(--color-muted);
	padding: 1rem;
}

.all-tags-empty p {
	margin: 0;
}

/* Blog portal archive */
.blog-portal-content {
	width: 100%;
	max-width: none;
	padding: 18px 24px 48px;
}

.blog-hero {
	width: 100%;
	margin-bottom: 24px;
	border: 1px solid var(--color-border-strong);
	border-radius: 20px;
	background:
		radial-gradient(circle at 86% 16%, rgba(73, 167, 255, 0.18), transparent 32%),
		radial-gradient(circle at 8% 100%, rgba(35, 209, 139, 0.14), transparent 34%),
		linear-gradient(135deg, rgba(28, 36, 56, 0.96), rgba(11, 14, 23, 0.96));
	padding: 28px 32px;
	box-shadow: var(--shadow-panel);
}

.blog-hero-kicker {
	margin: 0 0 0.45rem;
	color: var(--color-accent);
	font-size: 0.8rem;
	font-weight: 950;
	letter-spacing: 0;
	text-transform: uppercase;
}

.blog-hero h1 {
	margin: 0;
	color: var(--color-text);
	font-size: clamp(34px, 4vw, 64px);
	font-weight: 950;
	line-height: 1;
}

.blog-hero p:not(.blog-hero-kicker) {
	max-width: 760px;
	margin: 0.9rem 0 0;
	color: var(--color-muted);
	font-size: 1rem;
	line-height: 1.7;
}

.blog-posts-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 14px;
	width: 100%;
}

.blog-card {
	min-width: 0;
	max-width: none;
	min-height: auto;
	height: auto;
	overflow: hidden;
	border-radius: 16px;
	background: var(--color-card);
}

.blog-card-link {
	display: flex;
	height: 100%;
	overflow: hidden;
	flex-direction: column;
	border: 1px solid var(--color-border);
	border-radius: 16px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
		var(--color-card);
	color: var(--color-text);
	text-decoration: none;
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
	transition:
		transform 180ms ease,
		border-color 180ms ease,
		box-shadow 180ms ease;
}

.blog-card-link:hover,
.blog-card-link:focus {
	border-color: rgba(35, 209, 139, 0.42);
	box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
	transform: translateY(-3px);
}

.blog-card-thumb {
	display: block;
	overflow: hidden;
	min-height: 0;
	aspect-ratio: 1 / 1;
	max-height: none;
	background: #070a10;
}

.blog-card-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition:
		filter 180ms ease,
		transform 180ms ease;
}

.blog-card-image--placeholder {
	background:
		radial-gradient(circle at 20% 18%, rgba(73, 167, 255, 0.28), transparent 34%),
		radial-gradient(circle at 82% 78%, rgba(35, 209, 139, 0.2), transparent 34%),
		linear-gradient(135deg, #151d31, #080a10);
}

.blog-card-link:hover .blog-card-image,
.blog-card-link:focus .blog-card-image {
	filter: brightness(1.08);
	transform: scale(1.03);
}

.blog-card-content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 10px 11px 12px;
}

.blog-card-category {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	border: 1px solid rgba(35, 209, 139, 0.34);
	border-radius: var(--radius-pill);
	background: rgba(35, 209, 139, 0.1);
	color: var(--color-accent);
	font-size: 10px;
	font-weight: 950;
	line-height: 1;
	padding: 3px 7px;
}

.blog-card-title {
	display: -webkit-box;
	overflow: hidden;
	margin: 6px 0 4px;
	color: #ffffff;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.blog-card-excerpt {
	display: -webkit-box;
	overflow: hidden;
	margin: 0 0 8px;
	color: var(--color-muted);
	font-size: 12px;
	line-height: 1.35;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.blog-card-meta {
	display: block;
	margin-top: 6px;
	padding-top: 0;
	color: rgba(255, 255, 255, 0.58);
	font-size: 11px;
	font-weight: 800;
}

.blog-pagination {
	margin-top: 28px;
}

.blog-pagination .nav-links {
	gap: 0.55rem;
}

.blog-empty-state {
	border: 1px solid var(--color-border-strong);
	border-radius: 18px;
	background: var(--color-card);
	color: var(--color-muted);
	padding: 1rem;
}

.blog-empty-state p {
	margin: 0;
}

/* Search results portal */
.search-portal-content {
	width: 100%;
	max-width: none;
	padding: 18px 24px 48px;
}

.search-hero {
	width: 100%;
	margin-bottom: 24px;
	border: 1px solid var(--color-border-strong);
	border-radius: 20px;
	background:
		linear-gradient(135deg, rgba(73, 167, 255, 0.16), rgba(35, 209, 139, 0.08)),
		var(--color-card);
	padding: 34px 32px;
}

.search-hero-kicker {
	margin: 0 0 0.45rem;
	color: var(--color-accent);
	font-size: 0.82rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.search-hero h1 {
	margin: 0;
	color: var(--color-text);
	font-size: clamp(2rem, 4vw, 3.65rem);
	line-height: 1;
}

.search-hero p {
	max-width: 760px;
	margin: 0.85rem 0 0;
	color: var(--color-muted);
	font-size: 1rem;
	line-height: 1.65;
}

.search-results-section {
	width: 100%;
	margin-top: 28px;
}

.search-games-section {
	margin-top: 28px;
}

.search-games-grid {
	display: grid;
	align-items: start;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 20px;
	width: 100%;
}

.search-games-grid .large-row-game-thumb {
	aspect-ratio: 16 / 9;
	border-radius: 18px;
	background: #070a10;
}

.search-games-grid .large-row-game-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.search-games-grid .large-row-game-title {
	margin-top: 9px;
	color: #ffffff;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.25;
}

.search-blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 18px;
	width: 100%;
}

.search-empty-state {
	border: 1px solid var(--color-border-strong);
	border-radius: 18px;
	background: var(--color-card);
	padding: 28px;
}

.search-empty-state h2 {
	margin: 0;
	color: var(--color-text);
	font-size: 1.6rem;
	line-height: 1.2;
}

.search-empty-state p {
	margin: 0.55rem 0 1.1rem;
	color: var(--color-muted);
}

/* Single blog post */
.blog-single-portal-content {
	width: 100%;
	max-width: none;
	padding: 18px 24px 48px;
}

.blog-single-article {
	box-sizing: border-box;
	width: 100%;
	border: 1px solid var(--color-border);
	border-radius: 20px;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.014)),
		var(--color-card);
	padding: 34px 36px;
	box-shadow: var(--shadow-panel);
}

.blog-single-hero-image {
	overflow: hidden;
	width: 100%;
	margin-bottom: 28px;
	border-radius: 18px;
	background: #070a10;
}

.blog-single-hero-image img {
	display: block;
	width: 100%;
	max-height: 560px;
	height: auto;
	object-fit: cover;
}

.blog-single-header,
.blog-single-content {
	max-width: 900px;
}

.blog-single-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: 1rem;
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.82rem;
	font-weight: 850;
}

.blog-single-category {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	border: 1px solid rgba(35, 209, 139, 0.34);
	border-radius: var(--radius-pill);
	background: rgba(35, 209, 139, 0.1);
	color: var(--color-accent);
	font-size: 0.72rem;
	font-weight: 950;
	padding: 0 0.68rem;
}

.blog-single-title {
	margin: 0;
	color: #ffffff;
	font-size: clamp(2.25rem, 4vw, 4.6rem);
	font-weight: 950;
	line-height: 1.02;
}

.blog-single-content {
	margin-top: 2rem;
	color: var(--color-muted);
	font-size: 1.02rem;
	line-height: 1.75;
}

.blog-single-content h1,
.blog-single-content h2,
.blog-single-content h3 {
	margin: 1.55em 0 0.55em;
	color: var(--color-text);
	line-height: 1.16;
}

.blog-single-content h1:first-child,
.blog-single-content h2:first-child,
.blog-single-content h3:first-child {
	margin-top: 0;
}

.blog-single-content h1 {
	font-size: clamp(2rem, 3vw, 3.35rem);
}

.blog-single-content h2 {
	font-size: clamp(1.55rem, 2.2vw, 2.3rem);
}

.blog-single-content h3 {
	font-size: clamp(1.22rem, 1.55vw, 1.6rem);
}

.blog-single-content p {
	margin: 0 0 1.08em;
	color: var(--color-muted);
}

.blog-single-content ul,
.blog-single-content ol {
	margin: 0 0 1.25em 1.35rem;
	padding: 0;
	color: var(--color-muted);
}

.blog-single-content li {
	margin-bottom: 0.48em;
	padding-left: 0.15rem;
}

.blog-single-content a {
	color: var(--color-accent);
	text-decoration: none;
}

.blog-single-content a:hover,
.blog-single-content a:focus {
	color: var(--color-accent-alt);
	text-decoration: underline;
}

.blog-single-content img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 14px;
}

.blog-single-content blockquote {
	margin: 1.45em 0;
	border-left: 3px solid var(--color-accent);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.045);
	padding: 1rem 1.2rem;
	color: rgba(255, 255, 255, 0.82);
}

.blog-single-content blockquote > :last-child {
	margin-bottom: 0;
}

.related-posts-section {
	width: 100%;
	margin-top: 28px;
}

.related-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	width: 100%;
}

.game-details-panel {
	width: 100%;
	max-width: none;
	margin-top: 24px;
}

.game-article-card {
	width: 100%;
	max-width: none;
	box-sizing: border-box;
	border: 1px solid var(--color-border-strong);
	border-radius: 18px;
	background:
		linear-gradient(135deg, rgba(73, 167, 255, 0.08), transparent 36%),
		rgba(13, 17, 27, 0.92);
	box-shadow: var(--shadow-panel);
	color: var(--color-muted);
	font-size: 1rem;
	line-height: 1.7;
	padding: 28px 32px;
}

.game-article-content {
	width: 100%;
	max-width: 980px;
}

.game-article-content > :first-child {
	margin-top: 0;
}

.game-article-content > :last-child {
	margin-bottom: 0;
}

.game-article-card h1,
.game-article-card h2,
.game-article-card h3 {
	color: var(--color-text);
	font-weight: 900;
	line-height: 1.18;
}

.game-article-card h1 {
	margin: 0 0 1rem;
	font-size: 2rem;
}

.game-article-card h2 {
	margin: 1.8rem 0 0.75rem;
	font-size: 1.55rem;
}

.game-article-card h3 {
	margin: 1.45rem 0 0.55rem;
	font-size: 1.18rem;
}

.game-article-card p {
	margin: 0 0 1rem;
	color: var(--color-muted);
}

.game-article-card ul,
.game-article-card ol {
	margin: 0 0 1.2rem 1.35rem;
	padding: 0;
	color: var(--color-muted);
}

.game-article-card li {
	margin-bottom: 0.45rem;
	padding-left: 0.15rem;
}

.game-article-card a {
	color: var(--color-accent);
	font-weight: 750;
	text-decoration-color: rgba(35, 209, 139, 0.55);
}

.game-article-card a:hover,
.game-article-card a:focus {
	color: var(--color-text);
}

.game-article-card img {
	max-width: 100%;
	height: auto;
	border-radius: 14px;
}

.game-article-card blockquote {
	margin: 1.35rem 0;
	border-left: 3px solid var(--color-accent);
	border-radius: 0 12px 12px 0;
	background: rgba(35, 209, 139, 0.07);
	color: rgba(238, 243, 255, 0.88);
	padding: 1rem 1.1rem;
}

.game-article-card blockquote > :last-child {
	margin-bottom: 0;
}

.game-action-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	justify-content: flex-end;
	padding: 1rem;
	border-top: 1px solid var(--color-border);
	background: rgba(18, 23, 36, 0.96);
}

.game-action-button {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 10px 16px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius-pill);
	background: rgba(18, 23, 36, 0.96);
	color: var(--color-text);
	cursor: pointer;
	font: inherit;
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1;
	transition:
		background-color 160ms ease,
		border-color 160ms ease,
		color 160ms ease,
		transform 160ms ease;
}

.game-action-button:hover,
.game-action-button:focus {
	border-color: rgba(35, 209, 139, 0.6);
	background: rgba(26, 33, 50, 0.98);
	color: var(--color-accent);
	transform: translateY(-1px);
}

.game-action-button.is-active {
	border-color: rgba(255, 95, 130, 0.55);
	background: rgba(255, 95, 130, 0.12);
	color: #ff7695;
}

.game-action-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.1em;
	color: currentColor;
	font-size: 1.05rem;
	line-height: 1;
}

.game-action-label {
	line-height: 1;
}

.game-toast {
	position: fixed;
	z-index: 1000;
	right: 24px;
	bottom: 24px;
	max-width: min(360px, calc(100vw - 32px));
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 14px;
	background: rgba(10, 13, 20, 0.96);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
	color: var(--color-text);
	font-size: 0.92rem;
	font-weight: 800;
	opacity: 0;
	padding: 0.85rem 1rem;
	pointer-events: none;
	transform: translateY(10px);
	transition:
		opacity 160ms ease,
		transform 160ms ease;
}

.game-toast.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.game-info-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	margin-top: 1.5rem;
}

.game-info-card {
	border: 1px solid var(--color-border);
	border-radius: 8px;
	background: rgba(18, 23, 36, 0.86);
	padding: 1.25rem;
}

.game-info-card--wide {
	grid-column: 1 / -1;
}

.game-info-card h2 {
	margin: 0 0 0.75rem;
	color: var(--color-text);
	font-size: 1rem;
	line-height: 1.3;
}

.game-info-card p {
	margin-block: 0 1rem;
	color: var(--color-muted);
}

.game-info-card > :last-child {
	margin-bottom: 0;
}

.game-badge,
.game-taxonomy-link {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	border: 1px solid rgba(35, 209, 139, 0.32);
	border-radius: 999px;
	background: rgba(35, 209, 139, 0.1);
	color: var(--color-accent);
	font-size: 0.88rem;
	font-weight: 800;
	text-decoration: none;
}

.game-badge {
	padding: 0 0.8rem;
}

.game-taxonomy-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.game-taxonomy-link {
	padding: 0 0.85rem;
}

.game-taxonomy-link--tag {
	border-color: rgba(73, 167, 255, 0.36);
	background: rgba(73, 167, 255, 0.1);
	color: var(--color-accent-alt);
}

.game-taxonomy-link:hover,
.game-taxonomy-link:focus {
	background: rgba(255, 255, 255, 0.08);
	color: var(--color-text);
}

.games-archive {
	padding-block: 3rem;
}

.games-archive__container {
	width: min(100% - 2rem, var(--site-width));
	margin-inline: auto;
}

.games-archive__header {
	max-width: 760px;
	margin-bottom: 2rem;
}

.games-archive__title {
	margin: 0 0 0.75rem;
	font-size: 3rem;
	line-height: 1;
}

.games-archive__intro {
	margin: 0;
	color: var(--color-muted);
	font-size: 1.05rem;
}

.games-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
}

.game-card {
	overflow: hidden;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	background: linear-gradient(180deg, var(--color-surface-strong), var(--color-surface));
	box-shadow: var(--shadow-panel);
	transition:
		border-color 160ms ease,
		transform 160ms ease;
}

.game-card:hover,
.game-card:focus-within {
	border-color: rgba(35, 209, 139, 0.42);
	transform: translateY(-2px);
}

.game-card-link {
	display: block;
	min-height: 100%;
	color: inherit;
	text-decoration: none;
}

.game-card-image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background:
		linear-gradient(135deg, rgba(73, 167, 255, 0.15), transparent 44%),
		linear-gradient(180deg, #11192b, #070a10);
}

.game-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 180ms ease;
}

.game-card:hover .game-card-image img,
.game-card:focus-within .game-card-image img {
	transform: scale(1.04);
}

.game-card-image__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: rgba(238, 243, 255, 0.85);
	font-size: 3rem;
	font-weight: 900;
	text-transform: uppercase;
}

.game-card-content {
	padding: 1rem;
}

.game-card-title {
	margin: 0.45rem 0 0.55rem;
	color: var(--color-text);
	font-size: 1.05rem;
	line-height: 1.25;
}

.game-card-category,
.game-card-badge {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 900;
}

.game-card-category {
	color: var(--color-accent-alt);
	text-transform: uppercase;
}

.game-card-description {
	margin: 0;
	color: var(--color-muted);
	font-size: 0.92rem;
	line-height: 1.5;
}

.game-card-badge {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	padding: 0 0.7rem;
	border: 1px solid rgba(35, 209, 139, 0.4);
	background: rgba(9, 11, 18, 0.82);
	color: var(--color-accent);
}

.games-archive__pagination {
	margin-top: 2rem;
}

.games-archive__empty {
	max-width: 520px;
}

.home-hero {
	width: min(100% - 2rem, var(--site-width));
	margin-inline: auto;
	padding-block: 4.5rem 3rem;
}

.home-hero-content {
	max-width: 760px;
}

.home-hero-content h1 {
	margin: 0 0 1rem;
	font-size: 4rem;
	line-height: 1;
}

.home-hero-content p {
	margin: 0;
	color: var(--color-muted);
	font-size: 1.15rem;
}

.home-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 1.5rem;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 1.1rem;
	border: 1px solid var(--color-border);
	border-radius: 6px;
	font-weight: 900;
	text-decoration: none;
}

.button-primary {
	border-color: rgba(35, 209, 139, 0.45);
	background: var(--color-accent);
	color: #04110b;
}

.button-secondary {
	background: rgba(18, 23, 36, 0.9);
	color: var(--color-text);
}

.button:hover,
.button:focus {
	border-color: rgba(255, 255, 255, 0.22);
	color: var(--color-text);
}

.button-primary:hover,
.button-primary:focus {
	background: #36e79d;
	color: #04110b;
}

.home-section {
	width: min(100% - 2rem, var(--site-width));
	margin-inline: auto;
	padding-block: 2.5rem;
}

.section-header {
	max-width: 720px;
	margin-bottom: 1.5rem;
}

.section-title {
	margin: 0 0 0.6rem;
	font-size: 2rem;
	line-height: 1.1;
}

.section-intro {
	margin: 0;
	color: var(--color-muted);
	font-size: 1rem;
}

.section-footer {
	display: flex;
	justify-content: center;
	margin-top: 1.75rem;
}

.categories-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.category-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 86px;
	padding: 1rem;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(35, 209, 139, 0.1), transparent 46%),
		var(--color-surface);
	color: var(--color-text);
	font-weight: 900;
	text-decoration: none;
	transition:
		border-color 160ms ease,
		transform 160ms ease;
}

.category-card:hover,
.category-card:focus {
	border-color: rgba(73, 167, 255, 0.45);
	color: var(--color-text);
	transform: translateY(-2px);
}

.category-card-count {
	flex: 0 0 auto;
	border-radius: 999px;
	background: rgba(73, 167, 255, 0.12);
	color: var(--color-accent-alt);
	font-size: 0.8rem;
	font-weight: 900;
	padding: 0.3rem 0.65rem;
}

.screen-reader-text {
	position: absolute;
	overflow: hidden;
	width: 1px;
	height: 1px;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
}

/* Portal homepage shell */
body.home .site-main {
	max-width: none;
}

body.home {
	overflow-x: hidden;
}

.portal-main {
	width: calc(100% - var(--portal-sidebar-width));
	min-width: 0;
	min-height: 100vh;
	margin-left: var(--portal-sidebar-width);
	overflow-x: hidden;
	background:
		radial-gradient(circle at 20% 0%, rgba(73, 167, 255, 0.14), transparent 30rem),
		radial-gradient(circle at 80% 10%, rgba(35, 209, 139, 0.1), transparent 26rem),
		#080a10;
	transition:
		margin-left 180ms ease,
		width 180ms ease;
}

.portal-layout .portal-main {
	width: calc(100% - var(--portal-sidebar-width));
	min-width: 0;
	margin-left: var(--portal-sidebar-width);
}

.portal-layout {
	width: 100%;
	min-height: 100vh;
}

.game-portal-main {
	width: calc(100% - var(--portal-sidebar-width));
	margin-left: var(--portal-sidebar-width);
}

.portal-home {
	width: 100%;
	min-height: 100vh;
}

.portal-sidebar {
	position: fixed;
	z-index: 1000;
	top: 0;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	width: var(--portal-sidebar-width);
	padding: 14px 10px;
	border-right: 1px solid var(--color-border-strong);
	background: rgba(7, 9, 15, 0.97);
	box-shadow: 12px 0 34px rgba(0, 0, 0, 0.22);
	backdrop-filter: blur(18px);
	overflow: visible;
	transition:
		box-shadow 180ms ease,
		width 180ms ease;
}

.portal-sidebar-brand {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 54px;
	margin-bottom: 12px;
	padding: 8px 12px;
	border: 1px solid rgba(35, 209, 139, 0.36);
	border-radius: var(--radius-compact);
	background: linear-gradient(135deg, rgba(35, 209, 139, 0.22), rgba(73, 167, 255, 0.14));
	color: var(--color-text);
	text-decoration: none;
	transition:
		padding 180ms ease,
		width 180ms ease;
}

.portal-brand-mark,
.portal-brand-short {
	overflow: hidden;
	font-size: 1rem;
	font-weight: 950;
	line-height: 1.1;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.site-logo-img {
	display: block;
	width: auto;
	object-fit: contain;
}

.sidebar-logo-wrap {
	display: flex;
	align-items: center;
	min-width: 0;
}

.sidebar-logo-wrap-expanded {
	justify-content: flex-start;
	width: 100%;
}

.sidebar-logo-wrap-collapsed {
	display: none;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 4px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.06);
}

.sidebar-logo-expanded {
	max-width: 150px;
	max-height: 42px;
}

.sidebar-logo-collapsed {
	width: 26px;
	height: 26px;
	max-width: 26px;
	max-height: 26px;
	object-fit: contain;
}

.portal-brand-short {
	display: none;
}

.portal-sidebar-toggle {
	position: absolute;
	z-index: 70;
	top: 58px;
	right: -14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border: 1px solid rgba(35, 209, 139, 0.42);
	border-radius: var(--radius-pill);
	background: #111827;
	color: var(--color-text);
	cursor: pointer;
	font: inherit;
	font-size: 21px;
	font-weight: 900;
	line-height: 1;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
	transition:
		background-color 160ms ease,
		border-color 160ms ease,
		color 160ms ease,
		transform 160ms ease;
}

.portal-sidebar-toggle:hover,
.portal-sidebar-toggle:focus {
	border-color: rgba(35, 209, 139, 0.82);
	background: #1a2538;
	color: var(--color-accent);
	transform: translateX(1px);
}

.portal-sidebar-nav {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 4px;
	width: 100%;
	min-height: 0;
	padding: 0;
	overflow-x: hidden;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.portal-sidebar-link {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid transparent;
	border-radius: 10px;
	color: var(--color-text);
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
	transition:
		background-color 160ms ease,
		border-color 160ms ease,
		color 160ms ease,
		transform 160ms ease;
}

.portal-sidebar-link:hover,
.portal-sidebar-link:focus {
	border-color: rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.07);
	color: var(--color-text);
	transform: translateY(-1px);
}

.portal-sidebar-link.is-active {
	border-color: rgba(86, 101, 122, 0.76);
	background: #56657a;
	color: #ffffff;
}

.portal-sidebar-icon {
	flex: 0 0 26px;
	width: 26px;
	font-size: 22px;
	line-height: 1;
	text-align: center;
}

.portal-sidebar-label {
	overflow: hidden;
	min-width: 0;
	max-width: 170px;
	opacity: 1;
	text-overflow: ellipsis;
	transition:
		max-width 180ms ease,
		opacity 160ms ease,
		visibility 160ms ease;
	visibility: visible;
	white-space: nowrap;
}

.portal-sidebar-footer {
	flex: 0 0 auto;
	width: 100%;
	margin-top: auto;
	padding: 14px 10px 4px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.portal-sidebar-footer-links {
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin-bottom: 14px;
}

.portal-sidebar-footer-link {
	color: rgba(196, 211, 232, 0.72);
	font-size: 12px;
	font-weight: 750;
	line-height: 1.25;
	text-decoration: none;
	transition:
		color 160ms ease,
		transform 160ms ease;
}

.portal-sidebar-footer-link:hover,
.portal-sidebar-footer-link:focus {
	color: var(--color-accent);
	transform: translateX(2px);
}

.portal-sidebar-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.portal-sidebar-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	color: rgba(255, 255, 255, 0.82);
	text-decoration: none;
	transition:
		background-color 160ms ease,
		border-color 160ms ease,
		color 160ms ease,
		transform 160ms ease;
}

.portal-sidebar-social:hover,
.portal-sidebar-social:focus {
	border-color: rgba(35, 209, 139, 0.62);
	background: rgba(35, 209, 139, 0.1);
	color: var(--color-accent);
	transform: translateY(-1px);
}

.portal-sidebar-social-icon {
	font-size: 11px;
	font-weight: 900;
	line-height: 1;
}

.portal-sidebar-social .dashicons {
	width: 18px;
	height: 18px;
	font-size: 18px;
	line-height: 1;
}

.portal-sidebar-social-image {
	display: block;
	max-width: 19px;
	max-height: 19px;
	object-fit: contain;
}

body.sidebar-collapsed .portal-main {
	width: calc(100% - var(--portal-sidebar-collapsed-width));
	margin-left: var(--portal-sidebar-collapsed-width);
}

body.sidebar-collapsed .portal-layout .portal-main {
	width: calc(100% - var(--portal-sidebar-collapsed-width));
	margin-left: var(--portal-sidebar-collapsed-width);
}

body.sidebar-collapsed .game-portal-main {
	width: calc(100% - var(--portal-sidebar-collapsed-width));
	margin-left: var(--portal-sidebar-collapsed-width);
}

body.sidebar-collapsed .portal-sidebar {
	width: var(--portal-sidebar-collapsed-width);
}

body.sidebar-collapsed .portal-sidebar-brand {
	justify-content: center;
	width: 46px;
	min-height: 46px;
	margin-inline: auto;
	padding: 0;
	border-radius: 12px;
}

body.sidebar-collapsed .portal-sidebar-label {
	max-width: 0;
	opacity: 0;
	visibility: hidden;
}

body.sidebar-collapsed .portal-brand-mark {
	display: none;
}

body.sidebar-collapsed .portal-brand-short {
	display: inline-flex;
}

body.sidebar-collapsed .sidebar-logo-wrap-collapsed {
	display: inline-flex;
}

body.sidebar-collapsed .portal-brand-short:not(.sidebar-logo-wrap-collapsed) {
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
}

body.sidebar-collapsed .portal-sidebar-link {
	justify-content: center;
	gap: 0;
	width: 50px;
	margin-inline: auto;
	padding-right: 0;
	padding-left: 0;
}

body.sidebar-collapsed .portal-sidebar-icon {
	flex-basis: auto;
	width: auto;
}

body.sidebar-collapsed .portal-sidebar-footer {
	display: block;
	width: 50px;
	margin-inline: auto;
	padding: 8px 0 4px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.sidebar-collapsed .portal-sidebar-footer-links {
	display: none;
}

body.sidebar-collapsed .portal-sidebar-socials {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: center;
	gap: 7px;
	max-height: min(260px, 34vh);
	overflow-y: auto;
	overflow-x: hidden;
	scrollbar-width: none;
}

body.sidebar-collapsed .portal-sidebar-socials::-webkit-scrollbar {
	display: none;
}

body.sidebar-collapsed .portal-sidebar-social {
	width: 34px;
	height: 34px;
}

body.sidebar-collapsed .portal-sidebar-toggle {
	right: -14px;
}

body.sidebar-collapsed.sidebar-hover-expanded .portal-sidebar {
	z-index: 2000;
	width: var(--portal-sidebar-width);
	box-shadow: 18px 0 46px rgba(0, 0, 0, 0.34);
}

body.sidebar-collapsed.sidebar-hover-expanded .portal-sidebar-brand {
	justify-content: flex-start;
	width: 100%;
	margin-inline: 0;
	padding: 8px 12px;
}

body.sidebar-collapsed.sidebar-hover-expanded .portal-brand-mark {
	display: flex;
}

body.sidebar-collapsed.sidebar-hover-expanded .portal-brand-short {
	display: none;
}

body.sidebar-collapsed.sidebar-hover-expanded .portal-sidebar-link {
	justify-content: flex-start;
	gap: 12px;
	width: 100%;
	margin-inline: 0;
	padding-right: 12px;
	padding-left: 12px;
}

body.sidebar-collapsed.sidebar-hover-expanded .portal-sidebar-icon {
	flex-basis: 26px;
	width: 26px;
}

body.sidebar-collapsed.sidebar-hover-expanded .portal-sidebar-label {
	max-width: 170px;
	opacity: 1;
	visibility: visible;
}

body.sidebar-collapsed.sidebar-hover-expanded .portal-sidebar-footer {
	display: block;
	width: 100%;
	margin-inline: 0;
	padding: 14px 10px 4px;
}

body.sidebar-collapsed.sidebar-hover-expanded .portal-sidebar-footer-links {
	display: flex;
}

body.sidebar-collapsed.sidebar-hover-expanded .portal-sidebar-socials {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 8px;
	max-height: none;
	overflow: visible;
}

body.sidebar-collapsed.sidebar-hover-expanded .portal-sidebar-social {
	width: 32px;
	height: 32px;
}

.portal-topbar {
	position: sticky;
	z-index: 100;
	top: 0;
	display: grid;
	align-items: center;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 1rem;
	width: 100%;
	padding: 0.72rem 24px;
	border-bottom: 1px solid var(--color-border-strong);
	background: rgba(7, 9, 15, 0.9);
	box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
	backdrop-filter: blur(20px);
}

.portal-topbar-left {
	grid-column: 1;
	display: flex;
	align-items: center;
	min-width: 0;
}

.portal-topbar-brand {
	display: inline-flex;
	align-items: center;
	max-width: 180px;
	min-width: 0;
	text-decoration: none;
}

.portal-topbar-logo {
	display: block;
	width: auto;
	max-width: 180px;
	max-height: 32px;
	object-fit: contain;
}

.portal-topbar-search {
	grid-column: 2;
	justify-self: center;
	width: min(640px, 100%);
}

.portal-search-wrap {
	position: relative;
	width: min(640px, 100%);
}

.portal-search-form {
	display: flex;
	align-items: center;
	width: 100%;
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-pill);
	background: rgba(14, 18, 28, 0.94);
	padding: 0.22rem;
}

.portal-search-form input[type="search"] {
	flex: 1;
	width: 100%;
	min-width: 0;
	border: 0;
	background: transparent;
	color: var(--color-text);
	font: inherit;
	font-size: 0.94rem;
	outline: 0;
	padding: 0.48rem 0.85rem;
}

.portal-search-form input[type="search"]::placeholder {
	color: rgba(168, 179, 199, 0.78);
}

.portal-search-form button {
	min-height: 32px;
	border: 0;
	border-radius: var(--radius-pill);
	background: var(--color-accent);
	color: #04110b;
	cursor: pointer;
	font: inherit;
	font-size: 0.86rem;
	font-weight: 900;
	padding: 0 0.9rem;
}

.portal-search-suggestions {
	position: absolute;
	z-index: 220;
	top: calc(100% + 8px);
	right: 0;
	left: 0;
	overflow-x: hidden;
	overflow-y: auto;
	max-height: 420px;
	border: 1px solid var(--color-border-strong);
	border-radius: 16px;
	background: rgba(8, 10, 16, 0.98);
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
	backdrop-filter: blur(18px);
	padding: 6px;
}

.portal-search-suggestions[hidden] {
	display: none;
}

.portal-search-suggestion {
	display: grid;
	align-items: center;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 10px;
	border-radius: 12px;
	color: var(--color-text);
	text-decoration: none;
	padding: 8px;
	transition:
		background-color 160ms ease,
		transform 160ms ease;
}

.portal-search-suggestion:hover,
.portal-search-suggestion:focus {
	background: rgba(255, 255, 255, 0.07);
	color: #ffffff;
	transform: translateY(-1px);
}

.portal-search-suggestion-thumb {
	display: block;
	overflow: hidden;
	width: 56px;
	height: 44px;
	border-radius: 10px;
	background:
		radial-gradient(circle at 25% 18%, rgba(73, 167, 255, 0.26), transparent 34%),
		linear-gradient(135deg, #141b2d, #070a10);
}

.portal-search-suggestion-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.portal-search-suggestion-content {
	display: block;
	min-width: 0;
}

.portal-search-suggestion-title {
	display: -webkit-box;
	overflow: hidden;
	color: #ffffff;
	font-size: 0.92rem;
	font-weight: 800;
	line-height: 1.2;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.portal-search-suggestion-meta {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	color: var(--color-muted);
	font-size: 0.78rem;
	font-weight: 700;
}

.portal-search-suggestion-icon {
	line-height: 1;
}

.portal-search-suggestions-empty {
	border-radius: 12px;
	color: var(--color-muted);
	font-size: 0.9rem;
	font-weight: 800;
	padding: 12px;
}

.portal-topbar-actions {
	display: flex;
	align-items: center;
	grid-column: 3;
	justify-self: end;
	gap: 10px;
}

.portal-topbar-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 38px;
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-pill);
	background: rgba(18, 23, 36, 0.92);
	color: var(--color-text);
	cursor: pointer;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 900;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	padding: 0 0.95rem;
	transition:
		background-color 160ms ease,
		border-color 160ms ease,
		color 160ms ease,
		transform 160ms ease;
}

.portal-topbar-button:hover,
.portal-topbar-button:focus {
	border-color: rgba(35, 209, 139, 0.58);
	background: rgba(27, 35, 52, 0.98);
	color: #ffffff;
	transform: translateY(-1px);
}

.portal-favorites-button {
	color: #ff8aa3;
}

.portal-blog-button {
	color: var(--color-text);
}

.portal-language-switcher {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.portal-language-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 38px;
	border: 1px solid rgba(45, 255, 178, 0.35);
	border-radius: var(--radius-pill);
	background: rgba(9, 15, 28, 0.9);
	color: #ffffff;
	cursor: pointer;
	font: inherit;
	font-size: 0.84rem;
	font-weight: 900;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	padding: 0 0.85rem;
	transition:
		background-color 160ms ease,
		border-color 160ms ease,
		color 160ms ease,
		transform 160ms ease;
}

.portal-language-button:hover,
.portal-language-button:focus {
	border-color: rgba(45, 255, 178, 0.75);
	background: rgba(15, 25, 44, 0.95);
	color: #ffffff;
	transform: translateY(-1px);
}

.portal-language-current-flag,
.portal-language-option-flag {
	display: block;
	width: 20px;
	height: 14px;
	border-radius: 3px;
	object-fit: cover;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.portal-language-current-code {
	letter-spacing: 0;
}

.portal-language-chevron {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.9rem;
	line-height: 1;
	transform: translateY(-1px);
}

.portal-language-menu {
	position: absolute;
	z-index: 260;
	top: calc(100% + 8px);
	right: 0;
	display: grid;
	gap: 4px;
	width: 240px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 18px;
	background: linear-gradient(180deg, #111827, #070b13);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(18px);
	padding: 8px;
}

.portal-language-menu[hidden] {
	display: none !important;
}

.portal-language-option {
	display: grid;
	align-items: center;
	grid-template-columns: 24px minmax(0, 1fr) auto;
	gap: 10px;
	min-height: 42px;
	border-radius: 13px;
	color: rgba(255, 255, 255, 0.82);
	font-weight: 800;
	text-decoration: none;
	padding: 9px 10px;
	transition:
		background-color 160ms ease,
		color 160ms ease;
}

.portal-language-option:hover,
.portal-language-option:focus {
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	text-decoration: none;
}

.portal-language-option.is-active {
	background: rgba(45, 255, 178, 0.14);
	color: #2dffb2;
	text-decoration: none;
}

.portal-language-option-name {
	overflow: hidden;
	font-size: 0.9rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.portal-language-option-code {
	font-size: 11px;
	font-weight: 900;
	opacity: 0.72;
}

.portal-auth-area,
.portal-player-menu {
	position: relative;
}

.portal-player-button {
	max-width: 190px;
}

.portal-player-button .js-player-display-name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.portal-player-dropdown {
	position: absolute;
	z-index: 245;
	top: calc(100% + 8px);
	right: 0;
	overflow: hidden;
	width: 190px;
	border: 1px solid var(--color-border-strong);
	border-radius: 16px;
	background: rgba(8, 10, 16, 0.98);
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
	backdrop-filter: blur(18px);
	padding: 6px;
}

.portal-player-dropdown[hidden] {
	display: none;
}

.portal-player-dropdown-item {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 38px;
	border: 0;
	border-radius: 11px;
	background: transparent;
	color: var(--color-text);
	cursor: pointer;
	font: inherit;
	font-size: 0.88rem;
	font-weight: 850;
	text-align: left;
	padding: 0 10px;
}

.portal-player-dropdown-item:hover,
.portal-player-dropdown-item:focus {
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
}

.portal-favorites-panel {
	position: absolute;
	z-index: 240;
	top: calc(100% + 8px);
	right: 24px;
	overflow: hidden;
	width: min(360px, calc(100vw - 24px));
	max-height: 520px;
	border: 1px solid var(--color-border-strong);
	border-radius: 18px;
	background: rgba(8, 10, 16, 0.98);
	box-shadow: 0 22px 58px rgba(0, 0, 0, 0.48);
	backdrop-filter: blur(18px);
}

.portal-favorites-panel[hidden] {
	display: none;
}

.portal-favorites-panel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	border-bottom: 1px solid var(--color-border);
	color: #ffffff;
	padding: 12px 14px;
}

.portal-favorites-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--color-text);
	cursor: pointer;
	font-size: 1.2rem;
	line-height: 1;
}

.portal-favorites-close:hover,
.portal-favorites-close:focus {
	border-color: rgba(255, 255, 255, 0.24);
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
}

.portal-favorites-list {
	overflow-x: hidden;
	overflow-y: auto;
	max-height: 460px;
	padding: 8px;
}

.portal-favorite-item {
	display: grid;
	align-items: center;
	grid-template-columns: minmax(0, 1fr) 32px;
	gap: 8px;
	border-radius: 14px;
	transition: background-color 160ms ease;
}

.portal-favorite-item:hover {
	background: rgba(255, 255, 255, 0.06);
}

.portal-favorite-link {
	display: grid;
	align-items: center;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 10px;
	min-width: 0;
	color: var(--color-text);
	text-decoration: none;
	padding: 8px 0 8px 8px;
}

.portal-favorite-thumb {
	display: block;
	overflow: hidden;
	width: 72px;
	height: 48px;
	border-radius: 11px;
	background:
		radial-gradient(circle at 20% 18%, rgba(255, 95, 130, 0.24), transparent 36%),
		linear-gradient(135deg, #151c2d, #070a10);
}

.portal-favorite-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.portal-favorite-content {
	display: block;
	min-width: 0;
}

.portal-favorite-title {
	display: -webkit-box;
	overflow: hidden;
	color: #ffffff;
	font-size: 0.92rem;
	font-weight: 900;
	line-height: 1.2;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.portal-favorite-meta {
	display: block;
	overflow: hidden;
	margin-top: 4px;
	color: var(--color-muted);
	font-size: 0.78rem;
	font-weight: 800;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.portal-favorite-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	color: var(--color-muted);
	cursor: pointer;
	font-size: 1rem;
	line-height: 1;
	margin-right: 4px;
}

.portal-favorite-remove:hover,
.portal-favorite-remove:focus {
	border-color: rgba(255, 95, 130, 0.52);
	background: rgba(255, 95, 130, 0.14);
	color: #ff8aa3;
}

.portal-favorites-empty {
	color: var(--color-muted);
	font-size: 0.9rem;
	font-weight: 800;
	padding: 14px;
}

.player-auth-modal {
	position: fixed;
	z-index: 9999;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.player-auth-modal[hidden] {
	display: none;
}

.player-auth-modal-open {
	overflow: hidden;
}

.player-auth-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
	backdrop-filter: blur(8px);
}

.player-auth-dialog {
	position: relative;
	z-index: 1;
	width: min(440px, 100%);
	max-height: calc(100vh - 48px);
	overflow-y: auto;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 24px;
	background: linear-gradient(180deg, #121827, #080b12);
	box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
	color: #ffffff;
	padding: 26px;
}

.player-auth-close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.07);
	color: #ffffff;
	cursor: pointer;
	font-size: 1.25rem;
	line-height: 1;
}

.player-auth-close:hover,
.player-auth-close:focus {
	border-color: rgba(39, 217, 149, 0.55);
	background: rgba(39, 217, 149, 0.16);
	color: #27d995;
}

.player-auth-heading {
	margin: 0 42px 20px 0;
}

.player-auth-title {
	margin: 0;
	color: #ffffff;
	font-size: 1.55rem;
	font-weight: 900;
	line-height: 1.1;
}

.player-auth-subtitle {
	margin: 8px 0 0;
	color: rgba(207, 216, 232, 0.72);
	font-size: 0.92rem;
	font-weight: 650;
	line-height: 1.45;
}

.player-auth-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-bottom: 20px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	padding: 5px;
}

.player-auth-tab {
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: rgba(207, 216, 232, 0.72);
	cursor: pointer;
	font: inherit;
	font-weight: 800;
	padding: 10px 14px;
}

.player-auth-tab.is-active {
	background: #27d995;
	color: #03130d;
}

.player-auth-message {
	margin-bottom: 14px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.06);
	color: rgba(235, 241, 252, 0.9);
	font-size: 13px;
	font-weight: 800;
	padding: 10px 12px;
}

.player-auth-message.is-error {
	border-color: rgba(255, 95, 130, 0.4);
	background: rgba(255, 95, 130, 0.12);
	color: #ffb2c3;
}

.player-auth-message.is-success {
	border-color: rgba(39, 217, 149, 0.36);
	background: rgba(39, 217, 149, 0.1);
	color: #baf8d9;
}

.player-auth-social {
	margin-bottom: 16px;
}

.player-auth-social[hidden],
.player-auth-divider[hidden] {
	display: none;
}

.player-google-render-button {
	display: flex;
	justify-content: center;
	width: 100%;
}

.player-google-render-button iframe,
.player-google-render-button div {
	max-width: 100%;
}

.player-google-render-button.is-unavailable {
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	color: rgba(235, 241, 252, 0.76);
	font-size: 13px;
	font-weight: 800;
	padding: 12px 14px;
	text-align: center;
}

.player-auth-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 14px 0;
	color: rgba(207, 216, 232, 0.62);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.player-auth-divider::before,
.player-auth-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: rgba(255, 255, 255, 0.12);
}

.player-auth-form {
	display: none;
}

.player-auth-form.is-active {
	display: block;
}

.player-auth-field {
	margin-bottom: 14px;
}

.player-auth-field label,
.player-auth-checkbox {
	color: rgba(235, 241, 252, 0.82);
	font-size: 13px;
	font-weight: 800;
}

.player-auth-field label {
	display: block;
	margin-bottom: 6px;
}

.player-auth-field input {
	box-sizing: border-box;
	width: 100%;
	height: 46px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.06);
	color: #ffffff;
	font: inherit;
	outline: 0;
	padding: 0 14px;
}

.player-auth-field input:focus {
	border-color: rgba(39, 217, 149, 0.78);
	box-shadow: 0 0 0 3px rgba(39, 217, 149, 0.13);
}

.player-auth-checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 12px 0 18px;
	color: rgba(207, 216, 232, 0.76);
	font-size: 13px;
}

.player-auth-checkbox input {
	width: 16px;
	height: 16px;
	accent-color: var(--color-accent);
}

.player-auth-submit {
	width: 100%;
	height: 48px;
	border: 0;
	border-radius: var(--radius-pill);
	background: linear-gradient(135deg, #27d995, #7cf7bd);
	color: #03130d;
	cursor: pointer;
	font: inherit;
	font-weight: 900;
	padding: 0 18px;
	transition:
		filter 160ms ease,
		transform 160ms ease;
}

.player-auth-submit:hover,
.player-auth-submit:focus {
	filter: brightness(1.06);
	transform: translateY(-1px);
}

.player-auth-submit:disabled,
.player-auth-form.is-loading .player-auth-submit {
	cursor: progress;
	opacity: 0.72;
}

.portal-action-button {
	min-height: 38px;
	border-radius: var(--radius-pill);
	font-size: 0.9rem;
	padding-inline: 0.9rem;
}

.portal-content {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin-inline: 0;
	padding: 1.35rem 24px 3rem;
}

.portal-intro-card {
	max-width: 720px;
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-card);
	background:
		linear-gradient(135deg, rgba(35, 209, 139, 0.13), transparent 44%),
		linear-gradient(180deg, rgba(26, 33, 50, 0.95), rgba(18, 23, 36, 0.9));
	box-shadow: var(--shadow-panel);
	padding: 1.45rem;
}

.portal-intro-card h1 {
	margin: 0;
	font-size: 2.45rem;
	line-height: 1;
}

.portal-intro-card p {
	margin: 1rem 0 0;
	max-width: 620px;
	color: var(--color-muted);
	font-size: 0.98rem;
}

.home-tag-cards-section {
	width: 100%;
	margin-bottom: 28px;
}

.home-tag-cards-grid {
	display: flex;
	flex-wrap: nowrap;
	gap: 12px;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
	scrollbar-width: thin;
	width: 100%;
	padding-bottom: 6px;
	-webkit-overflow-scrolling: touch;
}

.home-tag-cards-grid::-webkit-scrollbar {
	height: 8px;
}

.home-tag-cards-grid::-webkit-scrollbar-track {
	background: transparent;
}

.home-tag-cards-grid::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
}

.home-tag-card {
	flex: 0 0 clamp(150px, 11vw, 190px);
	min-width: 0;
}

.home-tag-card-link {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	box-sizing: border-box;
	min-height: 90px;
	overflow: hidden;
	gap: 10px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	background:
		radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.18), transparent 34%),
		linear-gradient(135deg, rgba(37, 45, 68, 0.98), rgba(15, 19, 31, 0.98));
	color: var(--color-text);
	padding: 14px;
	text-decoration: none;
	box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22);
	transition:
		transform 180ms ease,
		border-color 180ms ease,
		filter 180ms ease,
		box-shadow 180ms ease;
}

.home-tag-card-link::before {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.22));
	content: "";
	pointer-events: none;
}

.home-tag-card-title,
.home-tag-card-icon {
	position: relative;
	z-index: 1;
}

.home-tag-card-title {
	max-width: 70%;
	color: var(--color-text);
	font-size: 0.88rem;
	font-weight: 900;
	line-height: 1.2;
}

.home-tag-card-icon {
	flex-shrink: 0;
	font-size: 36px;
	line-height: 1;
	opacity: 0.95;
	transform: translate(4px, -2px) rotate(-4deg);
	transition: transform 180ms ease;
}

.home-tag-card-link:hover,
.home-tag-card-link:focus {
	border-color: rgba(255, 255, 255, 0.3);
	box-shadow: 0 18px 34px rgba(0, 0, 0, 0.32);
	filter: brightness(1.08);
	transform: translateY(-3px);
}

.home-tag-card-link:hover .home-tag-card-icon,
.home-tag-card-link:focus .home-tag-card-icon {
	transform: translate(5px, -4px) rotate(-2deg) scale(1.08);
}

.home-tag-card:nth-child(1) .home-tag-card-link {
	background:
		radial-gradient(circle at 88% 18%, rgba(255, 234, 128, 0.28), transparent 34%),
		linear-gradient(135deg, #7c3aed, #1d4ed8 52%, #111827);
}

.home-tag-card:nth-child(2) .home-tag-card-link {
	background:
		radial-gradient(circle at 88% 16%, rgba(255, 255, 255, 0.22), transparent 32%),
		linear-gradient(135deg, #0f766e, #16a34a 50%, #101827);
}

.home-tag-card:nth-child(3) .home-tag-card-link {
	background:
		radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.2), transparent 34%),
		linear-gradient(135deg, #be123c, #f97316 50%, #1f1117);
}

.home-tag-card:nth-child(4) .home-tag-card-link {
	background:
		radial-gradient(circle at 88% 18%, rgba(125, 211, 252, 0.25), transparent 34%),
		linear-gradient(135deg, #1e3a8a, #0891b2 54%, #111827);
}

.home-tag-card:nth-child(5) .home-tag-card-link {
	background:
		radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.18), transparent 34%),
		linear-gradient(135deg, #6d28d9, #db2777 52%, #171321);
}

.home-tag-card:nth-child(6) .home-tag-card-link {
	background:
		radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.2), transparent 34%),
		linear-gradient(135deg, #365314, #65a30d 52%, #101827);
}

.home-tag-card:nth-child(7) .home-tag-card-link {
	background:
		radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.2), transparent 34%),
		linear-gradient(135deg, #7c2d12, #ea580c 50%, #1b1510);
}

.home-tag-card:nth-child(8) .home-tag-card-link {
	background:
		radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.18), transparent 34%),
		linear-gradient(135deg, #0f172a, #475569 52%, #111827);
}

.home-tag-card:nth-child(9) .home-tag-card-link {
	background:
		radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.22), transparent 34%),
		linear-gradient(135deg, #581c87, #9333ea 50%, #101827);
}

.home-tag-card:nth-child(10) .home-tag-card-link {
	background:
		radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.18), transparent 34%),
		linear-gradient(135deg, #164e63, #2563eb 52%, #111827);
}

.home-tag-card-all .home-tag-card-link {
	border-color: rgba(35, 209, 139, 0.42);
	background:
		radial-gradient(circle at 84% 18%, rgba(255, 255, 255, 0.24), transparent 34%),
		radial-gradient(circle at 15% 85%, rgba(35, 209, 139, 0.24), transparent 34%),
		linear-gradient(135deg, #10251f, #1d4ed8 48%, #7c3aed);
	box-shadow:
		0 16px 32px rgba(0, 0, 0, 0.32),
		0 0 22px rgba(35, 209, 139, 0.14);
}

.home-tag-card-all .home-tag-card-title {
	color: #ffffff;
}

.home-tag-card-all .home-tag-card-link:hover,
.home-tag-card-all .home-tag-card-link:focus {
	border-color: rgba(35, 209, 139, 0.78);
	box-shadow:
		0 22px 42px rgba(0, 0, 0, 0.38),
		0 0 32px rgba(35, 209, 139, 0.24);
	filter: brightness(1.13);
	transform: translateY(-4px);
}

.home-tag-card-all .home-tag-card-link:hover .home-tag-card-icon,
.home-tag-card-all .home-tag-card-link:focus .home-tag-card-icon {
	transform: translate(5px, -5px) rotate(-1deg) scale(1.14);
}

.portal-kicker {
	color: var(--color-accent);
	font-size: 0.78rem;
	font-weight: 950;
	letter-spacing: 0;
	text-transform: uppercase;
}

/* Portal trending games */
.portal-section {
	width: 100%;
}

.trending-games-section {
	margin-top: 1.35rem;
}

.portal-section-heading {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	width: 100%;
	margin-bottom: 12px;
}

.portal-section-icon {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	color: var(--color-text);
	font-size: 28px;
	line-height: 1;
}

.portal-section-heading-text {
	min-width: 0;
}

.portal-section-title {
	margin: 0;
	color: var(--color-text);
	font-size: 26px;
	font-weight: 800;
	line-height: 1;
}

.portal-section-link {
	display: block;
	margin-top: 3px;
	color: var(--color-muted);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.portal-section-link:hover,
.portal-section-link:focus {
	color: var(--color-text);
}

.trending-games-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.trending-game-card {
	transition:
		filter 180ms ease,
		transform 160ms ease;
}

.trending-game-card-link {
	display: block;
	color: var(--color-text);
	text-decoration: none;
}

.trending-game-thumb {
	position: relative;
	overflow: hidden;
	width: 100%;
	border-radius: 18px;
	background: #070a10;
}

.trending-game-image {
	display: block;
	aspect-ratio: 16 / 9;
	width: 100%;
	height: auto;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 18px;
	object-fit: cover;
	filter: brightness(0.96);
	transition: filter 180ms ease;
}

.trending-game-image--placeholder {
	background:
		radial-gradient(circle at 20% 22%, rgba(73, 167, 255, 0.28), transparent 30%),
		radial-gradient(circle at 82% 18%, rgba(35, 209, 139, 0.22), transparent 28%),
		linear-gradient(135deg, #151d31, #080a10);
}

.trending-game-card:hover,
.trending-game-card:focus-within {
	transform: translateY(-3px);
}

.trending-game-card:hover .trending-game-image,
.trending-game-card:focus-within .trending-game-image {
	filter: brightness(1.08);
}

.trending-game-title {
	margin: 0.45rem 0 0;
	color: var(--color-text);
	font-size: 0.88rem;
	font-weight: 800;
	line-height: 1.25;
}

.trending-game-badge,
.trending-game-category {
	position: absolute;
	z-index: 2;
	top: 0.5rem;
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	border-radius: var(--radius-pill);
	background: rgba(8, 10, 16, 0.78);
	font-size: 0.68rem;
	font-weight: 950;
	padding: 0 0.58rem;
}

.trending-game-category {
	left: 0.5rem;
	color: var(--color-accent-alt);
}

.trending-game-badge {
	right: 0.5rem;
	border: 1px solid rgba(35, 209, 139, 0.38);
	color: var(--color-accent);
}

.trending-games-empty {
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-card);
	background: var(--color-card);
	padding: 1rem;
}

.trending-games-empty h3,
.trending-games-empty p {
	margin: 0;
}

.trending-games-empty p {
	margin-top: 0.35rem;
	color: var(--color-muted);
}

/* Portal category pills */
.category-pills-section {
	margin-top: 1.1rem;
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-card);
	background: rgba(13, 17, 27, 0.82);
	padding: 0.85rem;
}

.category-pills-section h2 {
	margin: 0 0 0.65rem;
	font-size: 1rem;
	line-height: 1.2;
}

.category-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.category-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	min-height: 34px;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: var(--radius-pill);
	background: rgba(8, 10, 16, 0.68);
	color: var(--color-text);
	font-size: 0.84rem;
	font-weight: 850;
	padding: 0 0.48rem 0 0.74rem;
	text-decoration: none;
	white-space: nowrap;
	transition:
		background-color 160ms ease,
		border-color 160ms ease,
		transform 160ms ease;
}

.category-pill:hover,
.category-pill:focus {
	border-color: rgba(35, 209, 139, 0.42);
	background: rgba(35, 209, 139, 0.1);
	color: var(--color-text);
	transform: translateY(-1px);
}

.category-pill__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 25px;
	min-height: 23px;
	border-radius: var(--radius-pill);
	background: rgba(73, 167, 255, 0.14);
	color: var(--color-accent-alt);
	font-size: 0.7rem;
	font-weight: 950;
	padding-inline: 0.38rem;
}

.category-pills-empty p {
	margin: 0;
	color: var(--color-muted);
}

/* Portal horizontal game rows */
.portal-game-row-section {
	margin-top: 1.25rem;
}

.portal-large-game-row {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}

.large-row-game-card {
	min-width: 0;
}

.large-row-game-card-link {
	display: block;
	color: var(--color-text);
	text-decoration: none;
}

.large-row-game-thumb {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: 18px;
	background: #070a10;
}

.large-row-game-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition:
		filter 180ms ease,
		transform 180ms ease;
}

.large-row-game-image--placeholder {
	background:
		radial-gradient(circle at 20% 20%, rgba(73, 167, 255, 0.26), transparent 30%),
		linear-gradient(135deg, #151d31, #080a10);
}

.large-row-game-card:hover .large-row-game-image,
.large-row-game-card:focus-within .large-row-game-image {
	filter: brightness(1.08);
	transform: scale(1.03);
}

.large-row-game-category,
.large-row-game-badge {
	position: absolute;
	z-index: 2;
	top: 0.5rem;
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	border-radius: var(--radius-pill);
	background: rgba(8, 10, 16, 0.78);
	font-size: 0.64rem;
	font-weight: 950;
	padding: 0 0.52rem;
}

.large-row-game-category {
	left: 0.5rem;
	color: var(--color-accent-alt);
}

.large-row-game-badge {
	right: 0.5rem;
	border: 1px solid rgba(35, 209, 139, 0.4);
	color: var(--color-accent);
}

.large-row-game-badge--top {
	border-color: rgba(255, 190, 90, 0.6);
	color: #ffc46b;
}

.large-row-game-badge--top + .large-row-game-badge--mobile {
	top: 2rem;
}

.large-row-game-title {
	display: -webkit-box;
	overflow: hidden;
	margin: 8px 0 0;
	color: var(--color-text);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	transition: color 160ms ease;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.large-row-game-card:hover .large-row-game-title,
.large-row-game-card:focus-within .large-row-game-title {
	color: #ffffff;
}

.home-blog-section {
	width: 100%;
	margin-top: 36px;
	margin-bottom: 36px;
}

.home-blog-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	width: 100%;
}

.portal-game-row-empty {
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-compact);
	background: var(--color-card);
	padding: 0.85rem;
}

.portal-game-row-empty p {
	margin: 0;
	color: var(--color-muted);
}

/* Homepage SEO content */
.home-seo-section {
	max-width: 860px;
	margin-top: 2rem;
	margin-bottom: 1.5rem;
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-card);
	background: var(--color-card);
	padding: 1.4rem;
}

.home-seo-section h2,
.home-seo-section h3 {
	color: var(--color-text);
	line-height: 1.2;
}

.home-seo-section h2 {
	margin: 0 0 0.85rem;
	font-size: 1.45rem;
}

.home-seo-section h3 {
	margin: 1.25rem 0 0.45rem;
	font-size: 1rem;
}

.home-seo-section p {
	margin: 0;
	color: var(--color-muted);
	font-size: 0.95rem;
	line-height: 1.7;
}

.portal-main + .site-footer,
.portal-home + .site-footer,
.game-portal-layout + .site-footer,
.taxonomy-portal-layout + .site-footer,
.tag-portal-layout + .site-footer,
.portal-page-layout + .site-footer,
.tags-page-layout + .site-footer,
.blog-portal-layout + .site-footer,
.blog-single-portal-layout + .site-footer,
.search-portal-layout + .site-footer {
	width: calc(100% - var(--portal-sidebar-width));
	margin-left: var(--portal-sidebar-width);
	transition:
		margin-left 180ms ease,
		width 180ms ease;
}

body.sidebar-collapsed .portal-main + .site-footer,
body.sidebar-collapsed .portal-home + .site-footer,
body.sidebar-collapsed .game-portal-layout + .site-footer,
body.sidebar-collapsed .taxonomy-portal-layout + .site-footer,
body.sidebar-collapsed .tag-portal-layout + .site-footer,
body.sidebar-collapsed .portal-page-layout + .site-footer,
body.sidebar-collapsed .tags-page-layout + .site-footer,
body.sidebar-collapsed .blog-portal-layout + .site-footer,
body.sidebar-collapsed .blog-single-portal-layout + .site-footer,
body.sidebar-collapsed .search-portal-layout + .site-footer {
	width: calc(100% - var(--portal-sidebar-collapsed-width));
	margin-left: var(--portal-sidebar-collapsed-width);
}

.portal-main + .site-footer .site-footer__inner,
.portal-home + .site-footer .site-footer__inner,
.game-portal-layout + .site-footer .site-footer__inner,
.taxonomy-portal-layout + .site-footer .site-footer__inner,
.tag-portal-layout + .site-footer .site-footer__inner,
.portal-page-layout + .site-footer .site-footer__inner,
.tags-page-layout + .site-footer .site-footer__inner,
.blog-portal-layout + .site-footer .site-footer__inner,
.blog-single-portal-layout + .site-footer .site-footer__inner,
.search-portal-layout + .site-footer .site-footer__inner {
	width: 100%;
	max-width: none;
	padding-inline: 24px;
}

@media (min-width: 1440px) {
	.portal-topbar {
		padding-inline: 32px;
	}

	.portal-content {
		padding-inline: 32px;
	}

	.portal-main + .site-footer .site-footer__inner,
	.portal-home + .site-footer .site-footer__inner,
	.game-portal-layout + .site-footer .site-footer__inner,
	.taxonomy-portal-layout + .site-footer .site-footer__inner,
	.tag-portal-layout + .site-footer .site-footer__inner,
	.portal-page-layout + .site-footer .site-footer__inner,
	.tags-page-layout + .site-footer .site-footer__inner,
	.blog-portal-layout + .site-footer .site-footer__inner,
	.blog-single-portal-layout + .site-footer .site-footer__inner,
	.search-portal-layout + .site-footer .site-footer__inner {
		padding-inline: 32px;
	}
}

@media (min-width: 1680px) {
	.blog-posts-grid {
		grid-template-columns: repeat(7, minmax(0, 1fr));
	}

	.home-blog-grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.all-tags-grid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.home-tag-cards-grid {
		display: flex;
		flex-wrap: nowrap;
	}

	.portal-large-game-row {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.related-games-grid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.random-games-grid {
		grid-template-columns: repeat(8, minmax(0, 1fr));
	}

	.taxonomy-games-grid {
		grid-template-columns: repeat(7, minmax(0, 1fr));
	}
}

@media (max-width: 1280px) {
	.blog-posts-grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.home-blog-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.all-tags-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.home-tag-cards-grid {
		display: flex;
		flex-wrap: nowrap;
	}

	.taxonomy-games-grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

@media (max-width: 1100px) {
	.game-player-shell {
		grid-template-columns: 1fr;
	}

	.game-player-main {
		height: auto;
		max-height: none;
	}

	.game-player-stage {
		flex: none;
		min-height: 0;
		aspect-ratio: 16 / 9;
	}

	.game-suggestions-panel {
		height: auto;
		max-height: none;
		overflow-y: visible;
	}

	.game-suggestions-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	.games-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.blog-posts-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.home-blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.related-posts-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.all-tags-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.home-tag-cards-grid {
		display: flex;
		flex-wrap: nowrap;
	}

	.categories-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.trending-games-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.portal-large-game-row {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.related-games-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.random-games-grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.taxonomy-games-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.portal-main,
	.portal-layout .portal-main {
		width: 100%;
		margin-left: 0;
		padding-bottom: 0;
	}

	body.sidebar-collapsed .portal-main,
	body.sidebar-collapsed .portal-layout .portal-main,
	body.sidebar-collapsed.sidebar-hover-expanded .portal-layout .portal-main {
		width: 100%;
		margin-left: 0;
	}

	.game-portal-main,
	body.sidebar-collapsed .game-portal-main {
		width: 100%;
		margin-left: 0;
	}

	.portal-sidebar {
		position: relative;
		top: auto;
		bottom: auto;
		left: auto;
		flex-direction: row;
		align-items: center;
		gap: 8px;
		width: 100%;
		height: auto;
		padding: 10px 12px;
		border-bottom: 1px solid var(--color-border-strong);
		border-right: 0;
		box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
		overflow-x: auto;
		overflow-y: hidden;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	body.sidebar-collapsed .portal-sidebar {
		width: 100%;
	}

	body.sidebar-collapsed.sidebar-hover-expanded .portal-sidebar {
		width: 100%;
		box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
	}

	.portal-sidebar::-webkit-scrollbar {
		display: none;
	}

	.portal-sidebar-brand {
		flex: 0 0 auto;
		width: auto;
		max-width: 170px;
		min-height: 40px;
		margin: 0;
		padding-inline: 10px;
	}

	body.sidebar-collapsed .portal-sidebar-brand {
		justify-content: flex-start;
		width: auto;
		min-height: 40px;
		margin: 0;
		padding-inline: 10px;
	}

	body.sidebar-collapsed.sidebar-hover-expanded .portal-sidebar-brand {
		width: auto;
		padding-inline: 10px;
	}

	body.sidebar-collapsed .portal-brand-mark {
		display: inline;
	}

	body.sidebar-collapsed .portal-brand-short {
		display: none;
	}

	.portal-sidebar-toggle {
		display: none;
	}

	.portal-sidebar-nav {
		flex: 1 1 auto;
		flex-direction: row;
		gap: 6px;
		width: auto;
		min-width: 0;
		overflow-x: auto;
		overflow-y: hidden;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.portal-sidebar-nav::-webkit-scrollbar {
		display: none;
	}

	.portal-sidebar-link {
		flex: 0 0 auto;
		width: auto;
		min-height: 40px;
		padding: 8px 10px;
		font-size: 14px;
	}

	.portal-sidebar-footer {
		display: flex;
		flex: 0 0 auto;
		align-items: center;
		gap: 10px;
		width: auto;
		min-width: max-content;
		margin-top: 0;
		padding: 0;
		border-top: 0;
	}

	body.sidebar-collapsed .portal-sidebar-footer,
	body.sidebar-collapsed.sidebar-hover-expanded .portal-sidebar-footer {
		display: flex;
		width: auto;
		margin-inline: 0;
		padding: 0;
	}

	.portal-sidebar-footer-links {
		display: flex;
		flex-direction: row;
		gap: 6px;
		margin-bottom: 0;
	}

	.portal-sidebar-footer-link {
		padding: 8px 9px;
		border-radius: 999px;
		background: rgba(255, 255, 255, 0.04);
		white-space: nowrap;
	}

	.portal-sidebar-socials {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		gap: 6px;
		max-height: none;
		overflow: visible;
	}

	.portal-sidebar-social {
		width: 34px;
		height: 34px;
	}

	body.sidebar-collapsed .portal-sidebar-link {
		justify-content: flex-start;
		gap: 12px;
		width: auto;
		margin-inline: 0;
		padding: 8px 10px;
	}

	body.sidebar-collapsed.sidebar-hover-expanded .portal-sidebar-link {
		width: auto;
		padding: 8px 10px;
	}

	body.sidebar-collapsed .portal-sidebar-label {
		display: inline;
		max-width: 170px;
		opacity: 1;
		visibility: visible;
	}

	.portal-sidebar-icon {
		flex-basis: 22px;
		width: 22px;
		font-size: 20px;
	}

	body.sidebar-collapsed .portal-sidebar-icon {
		flex-basis: 22px;
		width: 22px;
	}

	body.sidebar-collapsed.sidebar-hover-expanded .portal-sidebar-icon {
		flex-basis: 22px;
		width: 22px;
	}

	.portal-topbar {
		align-items: stretch;
		grid-template-columns: 1fr;
		gap: 0.65rem;
		padding: 0.75rem 16px;
	}

	.portal-topbar-left,
	.portal-topbar-search,
	.portal-topbar-actions {
		grid-column: 1;
	}

	.portal-topbar-left {
		display: none;
	}

	.portal-topbar-search {
		justify-self: stretch;
		width: 100%;
	}

	.portal-search-wrap {
		width: 100%;
	}

	.portal-topbar-actions {
		justify-self: stretch;
		flex-wrap: wrap;
	}

	.portal-favorites-panel {
		right: 16px;
		left: 16px;
		width: auto;
		max-height: min(520px, calc(100vh - 170px));
	}

	.player-auth-modal {
		padding: 14px;
	}

	.player-auth-dialog {
		width: 100%;
		max-height: calc(100vh - 32px);
		border-radius: 20px;
		padding: 20px;
	}

	.portal-search-form {
		width: 100%;
		max-width: none;
	}

	.game-player-page {
		padding: 14px 16px 2.25rem;
	}

	.game-portal-content {
		padding: 20px 16px 2.25rem;
	}

	.taxonomy-portal-content {
		padding: 14px 16px 2.25rem;
	}

	.tags-page-content {
		padding: 14px 16px 2.25rem;
	}

	.blog-portal-content {
		padding: 14px 16px 2.5rem;
	}

	.blog-single-portal-content {
		padding: 14px 16px 2.5rem;
	}

	.search-portal-content {
		padding: 14px 16px 2.5rem;
	}

	.portal-page-content {
		padding: 14px 16px 2.5rem;
	}

	.portal-page-hero,
	.portal-page-content-card {
		padding: 22px;
	}

	.portal-page-content-body {
		max-width: 100%;
		font-size: 0.98rem;
	}

	.portal-main + .site-footer,
	.portal-home + .site-footer,
	.game-portal-layout + .site-footer,
	.taxonomy-portal-layout + .site-footer,
	.tag-portal-layout + .site-footer,
	.portal-page-layout + .site-footer,
	.tags-page-layout + .site-footer,
	.blog-portal-layout + .site-footer,
	.blog-single-portal-layout + .site-footer,
	.search-portal-layout + .site-footer {
		width: 100%;
		margin-left: 0;
		margin-bottom: 0;
	}

	body.sidebar-collapsed .portal-main + .site-footer,
	body.sidebar-collapsed .portal-home + .site-footer,
	body.sidebar-collapsed .game-portal-layout + .site-footer,
	body.sidebar-collapsed .taxonomy-portal-layout + .site-footer,
	body.sidebar-collapsed .tag-portal-layout + .site-footer,
	body.sidebar-collapsed .portal-page-layout + .site-footer,
	body.sidebar-collapsed .tags-page-layout + .site-footer,
	body.sidebar-collapsed .blog-portal-layout + .site-footer,
	body.sidebar-collapsed .blog-single-portal-layout + .site-footer,
	body.sidebar-collapsed .search-portal-layout + .site-footer {
		width: 100%;
		margin-left: 0;
	}

	.portal-main + .site-footer .site-footer__inner,
	.portal-home + .site-footer .site-footer__inner,
	.game-portal-layout + .site-footer .site-footer__inner,
	.taxonomy-portal-layout + .site-footer .site-footer__inner,
	.tag-portal-layout + .site-footer .site-footer__inner,
	.portal-page-layout + .site-footer .site-footer__inner,
	.tags-page-layout + .site-footer .site-footer__inner,
	.blog-portal-layout + .site-footer .site-footer__inner,
	.blog-single-portal-layout + .site-footer .site-footer__inner,
	.search-portal-layout + .site-footer .site-footer__inner {
		padding-inline: 16px;
	}

	.trending-games-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.portal-large-game-row {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.related-games-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.random-games-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.game-suggestions-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.site-header__inner,
	.site-footer__inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.primary-navigation__menu,
	.footer-navigation__menu {
		align-items: flex-start;
		flex-direction: column;
	}

	.game-single {
		padding-block: 2rem;
	}

	.game-single__title {
		font-size: 2.1rem;
	}

	.game-info-grid {
		grid-template-columns: 1fr;
	}

	.game-action-bar {
		justify-content: stretch;
	}

	.game-action-button {
		flex: 1 1 9rem;
	}

	.game-player-page {
		padding: 12px 16px 2rem;
	}

	.game-article-card {
		padding: 22px;
	}

	.taxonomy-hero {
		align-items: flex-start;
		flex-direction: column;
		padding: 18px;
	}

	.taxonomy-hero-icon {
		flex-basis: 64px;
		width: 64px;
		height: 64px;
		font-size: 2rem;
	}

	.taxonomy-article-card {
		padding: 22px;
	}

	.taxonomy-article-content {
		max-width: 100%;
		font-size: 0.96rem;
	}

	.tags-page-hero {
		border-radius: 16px;
		padding: 22px 18px;
	}

	.blog-hero {
		border-radius: 16px;
		padding: 22px 18px;
	}

	.blog-single-article {
		border-radius: 18px;
		padding: 24px;
	}

	.blog-single-content {
		max-width: 100%;
		font-size: 0.98rem;
	}

	.game-article-content {
		max-width: 100%;
	}

	.game-article-card h1 {
		font-size: 1.65rem;
	}

	.game-article-card h2 {
		font-size: 1.35rem;
	}

	.game-article-card h3 {
		font-size: 1.08rem;
	}

	.game-seo-categories-content p {
		font-size: 16px;
	}

	.game-category-pill-large {
		min-height: 50px;
		padding: 11px 18px;
		font-size: 16px;
	}

	.game-category-pill-icon {
		width: 26px;
		font-size: 23px;
	}

	.game-player-bottom-bar {
		align-items: stretch;
		flex-direction: column;
	}

	.game-player-title {
		white-space: normal;
	}

	.game-player-actions {
		justify-content: stretch;
	}

	.game-suggestions-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.games-archive {
		padding-block: 2rem;
	}

	.games-archive__title {
		font-size: 2.1rem;
	}

	.games-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem;
	}

	.home-hero {
		padding-block: 3rem 2rem;
	}

	.home-hero-content h1 {
		font-size: 2.5rem;
	}

	.home-section {
		padding-block: 2rem;
	}

	.section-title {
		font-size: 1.65rem;
	}

	.categories-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.portal-content {
		padding: 0.9rem 16px 2.25rem;
	}

	.portal-intro-card {
		padding: 1rem;
	}

	.portal-intro-card h1 {
		font-size: 2rem;
	}

	.home-tag-cards-section {
		margin-bottom: 22px;
	}

	.home-tag-cards-grid {
		display: flex;
		flex-wrap: nowrap;
		gap: 10px;
	}

	.home-tag-card-link {
		min-height: 76px;
		border-radius: 14px;
		padding: 12px;
	}

	.home-tag-card {
		flex-basis: 150px;
	}

	.home-tag-card-title {
		font-size: 0.82rem;
	}

	.home-tag-card-icon {
		font-size: 30px;
	}

	.game-portal-content {
		padding: 16px 16px 2rem;
	}

	.category-pills {
		overflow-x: auto;
		flex-wrap: nowrap;
		margin-inline: -16px;
		padding-inline: 16px;
		scroll-behavior: smooth;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.category-pills::-webkit-scrollbar {
		display: none;
	}

	.trending-games-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.75rem;
	}

	.portal-large-game-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.related-games-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.random-games-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.taxonomy-games-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.all-tags-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-seo-section {
		padding: 1rem;
	}
}

@media (max-width: 420px) {
	.games-grid,
	.categories-grid {
		grid-template-columns: 1fr;
	}

	.home-hero-actions,
	.section-footer {
		align-items: stretch;
		flex-direction: column;
	}

	.portal-topbar-actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.portal-topbar-button {
		width: 100%;
		padding-inline: 0.75rem;
	}

	.portal-language-switcher {
		min-width: 0;
	}

	.portal-language-button {
		width: 100%;
		padding-inline: 0.75rem;
	}

	.portal-language-menu {
		right: auto;
		left: 0;
		width: min(220px, calc(100vw - 24px));
	}

	.portal-auth-area,
	.portal-player-menu {
		min-width: 0;
	}

	.portal-player-button {
		max-width: none;
	}

	.portal-player-dropdown {
		right: auto;
		left: 0;
		width: min(220px, calc(100vw - 24px));
	}

	.portal-favorites-panel {
		right: 12px;
		left: 12px;
		width: auto;
	}

	.player-auth-modal {
		padding: 14px;
	}

	.player-auth-dialog {
		width: 100%;
		border-radius: 20px;
		padding: 20px;
	}

	.player-auth-title {
		font-size: 1.35rem;
	}

	.portal-topbar {
		padding-inline: 12px;
	}

	.portal-content {
		padding-inline: 12px;
	}

	.taxonomy-portal-content {
		padding-inline: 12px;
	}

	.tags-page-content {
		padding-inline: 12px;
	}

	.blog-portal-content {
		padding-inline: 12px;
	}

	.blog-single-portal-content {
		padding-inline: 12px;
	}

	.search-portal-content {
		padding-inline: 12px;
	}

	.game-player-page {
		padding-inline: 12px;
	}

	.game-article-card {
		padding: 18px;
	}

	.game-seo-categories-section {
		margin-top: 30px;
		margin-bottom: 40px;
	}

	.game-seo-categories-content p {
		font-size: 15px;
	}

	.game-category-pills-large {
		gap: 10px;
	}

	.game-category-pill-large {
		max-width: 100%;
		min-height: 46px;
		padding: 10px 14px;
		font-size: 15px;
	}

	.game-category-pill-icon {
		width: 24px;
		font-size: 21px;
	}

	.game-category-pill-label {
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.game-portal-content {
		padding-inline: 12px;
	}

	.portal-action-button {
		padding-inline: 0.55rem;
	}

	.portal-search-form button {
		padding-inline: 0.7rem;
	}

	.trending-games-grid {
		grid-template-columns: 1fr;
	}

	.portal-large-game-row {
		grid-template-columns: 1fr;
	}

	.related-games-grid {
		grid-template-columns: 1fr;
	}

	.random-games-grid {
		grid-template-columns: 1fr;
	}

	.taxonomy-games-grid {
		grid-template-columns: 1fr;
	}

	.all-tags-grid {
		grid-template-columns: 1fr;
	}

	.blog-posts-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-blog-grid {
		grid-template-columns: 1fr;
	}

	.related-posts-grid {
		grid-template-columns: 1fr;
	}

	.blog-single-article {
		padding: 18px;
	}

	.blog-single-title {
		font-size: 2rem;
	}

	.all-tag-card-link {
		min-height: 78px;
		border-radius: 16px;
		padding: 14px;
	}

	.all-tag-card-icon {
		flex-basis: 42px;
		width: 42px;
		height: 42px;
		font-size: 26px;
	}

	.game-suggestions-grid {
		grid-template-columns: 1fr;
	}

	.category-pills {
		margin-inline: -12px;
		padding-inline: 12px;
	}

	.portal-main + .site-footer .site-footer__inner,
	.portal-home + .site-footer .site-footer__inner {
		padding-inline: 12px;
	}

}

@media (max-width: 480px) {
	.blog-posts-grid {
		grid-template-columns: 1fr;
	}
}

html,
body {
	overflow-x: hidden;
}

.mobile-menu-toggle,
.mobile-menu-close,
.mobile-menu-overlay,
.mobile-header-actions,
.mobile-account-dropdown,
.portal-sidebar-mobile-actions {
	display: none;
}

body.mobile-menu-open {
	overflow: hidden;
}

@media (max-width: 900px) {
	.portal-main,
	.portal-layout .portal-main,
	.game-portal-main,
	body.sidebar-collapsed .portal-main,
	body.sidebar-collapsed .portal-layout .portal-main,
	body.sidebar-collapsed .game-portal-main,
	body.sidebar-collapsed.sidebar-hover-expanded .portal-layout .portal-main {
		width: 100%;
		margin-left: 0;
	}

	.portal-topbar {
		position: sticky;
		top: 0;
		z-index: 800;
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 10px;
		align-items: center;
		padding: 10px 12px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		background: rgba(7, 10, 18, 0.96);
		backdrop-filter: blur(16px);
	}

	.portal-topbar-left {
		display: flex;
		grid-column: 1;
		min-width: 0;
	}

	.portal-topbar-brand {
		max-width: 180px;
	}

	.portal-topbar-brand-text {
		overflow: hidden;
		color: var(--color-text);
		font-weight: 950;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.portal-topbar-logo {
		max-width: 150px;
		max-height: 30px;
	}

	.mobile-header-actions {
		position: relative;
		display: inline-flex;
		grid-column: 2;
		align-items: center;
		gap: 8px;
		justify-self: end;
	}

	.mobile-account-wrap {
		position: relative;
		display: inline-flex;
	}

	.mobile-account-toggle,
	.mobile-menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 38px;
		height: 38px;
		border: 1px solid rgba(45, 255, 178, 0.32);
		border-radius: 999px;
		background: rgba(9, 15, 28, 0.94);
		color: #ffffff;
		cursor: pointer;
	}

	.mobile-menu-toggle {
		flex-direction: column;
		gap: 4px;
		border-radius: 14px;
	}

	.mobile-account-toggle:hover,
	.mobile-account-toggle:focus,
	.mobile-menu-toggle:hover,
	.mobile-menu-toggle:focus {
		border-color: rgba(45, 255, 178, 0.72);
		background: rgba(15, 25, 44, 0.98);
	}

	.mobile-account-icon {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 100%;
		overflow: hidden;
		border-radius: inherit;
		font-size: 14px;
		font-weight: 950;
		line-height: 1;
	}

	.mobile-account-icon svg {
		width: 21px;
		height: 21px;
	}

	.mobile-account-icon img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.mobile-account-toggle.is-logged-in {
		border-color: rgba(45, 255, 178, 0.48);
		background: rgba(45, 255, 178, 0.12);
		color: var(--color-accent);
	}

	.mobile-account-dropdown {
		position: absolute;
		top: calc(100% + 10px);
		right: 0;
		z-index: 950;
		width: 190px;
	}

	.mobile-account-dropdown:not([hidden]) {
		display: block;
	}

	.mobile-menu-toggle span {
		display: block;
		width: 18px;
		height: 2px;
		border-radius: 999px;
		background: currentColor;
	}

	.portal-topbar-search {
		grid-column: 1 / -1;
		justify-self: stretch;
		width: 100%;
	}

	.portal-search-wrap,
	.portal-search-form {
		width: 100%;
		max-width: none;
	}

	.portal-search-form {
		min-height: 44px;
	}

	.portal-topbar-actions {
		display: none;
	}

	.mobile-menu-overlay:not([hidden]) {
		position: fixed;
		inset: 0;
		z-index: 900;
		display: block;
		background: rgba(0, 0, 0, 0.62);
		backdrop-filter: blur(4px);
	}

	.portal-sidebar,
	body.sidebar-collapsed .portal-sidebar,
	body.sidebar-collapsed.sidebar-hover-expanded .portal-sidebar {
		position: fixed;
		z-index: 1000;
		top: 0;
		bottom: 0;
		left: 0;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: min(280px, 82vw);
		height: 100dvh;
		padding: 14px 12px;
		border-right: 1px solid rgba(255, 255, 255, 0.12);
		border-bottom: 0;
		background: rgba(7, 9, 15, 0.98);
		box-shadow: 22px 0 70px rgba(0, 0, 0, 0.45);
		overflow-x: hidden;
		overflow-y: auto;
		transform: translateX(-105%);
		transition: transform 220ms ease;
	}

	body.mobile-menu-open .portal-sidebar {
		transform: translateX(0);
	}

	.portal-sidebar-brand,
	body.sidebar-collapsed .portal-sidebar-brand,
	body.sidebar-collapsed.sidebar-hover-expanded .portal-sidebar-brand {
		justify-content: flex-start;
		width: 100%;
		max-width: none;
		min-height: 46px;
		margin: 0 0 12px;
		padding: 8px 44px 8px 10px;
	}

	body.sidebar-collapsed .portal-brand-mark,
	body.sidebar-collapsed.sidebar-hover-expanded .portal-brand-mark {
		display: flex;
	}

	body.sidebar-collapsed .portal-brand-short,
	body.sidebar-collapsed.sidebar-hover-expanded .portal-brand-short {
		display: none;
	}

	.mobile-menu-close {
		position: absolute;
		top: 18px;
		right: 14px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 34px;
		height: 34px;
		border: 1px solid rgba(255, 255, 255, 0.14);
		border-radius: 999px;
		background: rgba(255, 255, 255, 0.06);
		color: #ffffff;
		font-size: 22px;
		line-height: 1;
		cursor: pointer;
	}

	.portal-sidebar-toggle {
		display: none;
	}

	.portal-sidebar-nav,
	body.sidebar-collapsed .portal-sidebar-nav,
	body.sidebar-collapsed.sidebar-hover-expanded .portal-sidebar-nav {
		display: flex;
		flex: 0 0 auto;
		flex-direction: column;
		gap: 7px;
		width: 100%;
		overflow: visible;
	}

	.portal-sidebar-link,
	body.sidebar-collapsed .portal-sidebar-link,
	body.sidebar-collapsed.sidebar-hover-expanded .portal-sidebar-link {
		justify-content: flex-start;
		gap: 12px;
		width: 100%;
		min-height: 42px;
		margin: 0;
		padding: 9px 10px;
	}

	.portal-sidebar-icon,
	body.sidebar-collapsed .portal-sidebar-icon,
	body.sidebar-collapsed.sidebar-hover-expanded .portal-sidebar-icon {
		flex: 0 0 24px;
		width: 24px;
		font-size: 20px;
	}

	.portal-sidebar-label,
	body.sidebar-collapsed .portal-sidebar-label,
	body.sidebar-collapsed.sidebar-hover-expanded .portal-sidebar-label {
		display: inline;
		max-width: none;
		opacity: 1;
		visibility: visible;
	}

	.portal-sidebar-mobile-actions {
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px;
		margin-top: 12px;
		padding-top: 12px;
		border-top: 1px solid rgba(255, 255, 255, 0.08);
	}

	.portal-sidebar-mobile-actions .portal-topbar-button,
	.portal-sidebar-mobile-actions .portal-auth-area,
	.portal-sidebar-mobile-actions .portal-player-menu {
		width: 100%;
	}

	.portal-sidebar-mobile-actions .portal-topbar-button {
		justify-content: center;
	}

	.portal-sidebar-mobile-actions .portal-player-dropdown {
		position: static;
		width: 100%;
		margin-top: 8px;
	}

	.portal-sidebar-mobile-languages {
		display: flex;
		flex-wrap: wrap;
		gap: 7px;
		padding-top: 4px;
	}

	.portal-sidebar-mobile-language {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		min-height: 34px;
		padding: 6px 9px;
		border: 1px solid rgba(255, 255, 255, 0.1);
		border-radius: 999px;
		background: rgba(255, 255, 255, 0.04);
		color: rgba(255, 255, 255, 0.78);
		font-size: 12px;
		font-weight: 900;
		text-decoration: none;
	}

	.portal-sidebar-mobile-language.is-active {
		border-color: rgba(45, 255, 178, 0.45);
		background: rgba(45, 255, 178, 0.12);
		color: var(--color-accent);
	}

	.portal-sidebar-mobile-language img {
		width: 18px;
		height: 12px;
		object-fit: cover;
		border-radius: 2px;
	}

	.portal-sidebar-footer,
	body.sidebar-collapsed .portal-sidebar-footer,
	body.sidebar-collapsed.sidebar-hover-expanded .portal-sidebar-footer {
		display: block;
		width: 100%;
		margin-top: auto;
		padding: 14px 0 0;
		border-top: 1px solid rgba(255, 255, 255, 0.08);
	}

	.portal-sidebar-footer-links,
	body.sidebar-collapsed .portal-sidebar-footer-links,
	body.sidebar-collapsed.sidebar-hover-expanded .portal-sidebar-footer-links {
		display: flex;
		flex-direction: column;
		gap: 7px;
		margin-bottom: 14px;
	}

	.portal-sidebar-socials,
	body.sidebar-collapsed .portal-sidebar-socials,
	body.sidebar-collapsed.sidebar-hover-expanded .portal-sidebar-socials {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px;
		max-height: none;
		overflow: visible;
	}

	.game-player-page,
	.taxonomy-portal-content,
	.tags-page-content,
	.blog-portal-content,
	.blog-single-portal-content,
	.search-portal-content,
	.portal-page-content {
		padding: 12px 12px 2rem;
	}

	.portal-content,
	.game-player-page,
	.taxonomy-portal-content,
	.tags-page-content,
	.blog-portal-content,
	.blog-single-portal-content,
	.search-portal-content,
	.portal-page-content {
		max-width: none;
	}

	.game-player-shell {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.game-player-bottom-bar {
		align-items: stretch;
		flex-direction: column;
		gap: 12px;
	}

	.game-player-actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
	}

	.game-action-button {
		width: 100%;
		min-width: 0;
	}

	.game-title,
	.game-player-title {
		white-space: normal;
	}

	.taxonomy-hero,
	.search-hero,
	.portal-page-hero {
		padding: 20px;
	}

	.trending-games-grid,
	.portal-large-game-row,
	.related-games-grid,
	.random-games-grid,
	.game-suggestions-grid,
	.taxonomy-games-grid,
	.search-games-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.home-tag-cards-grid {
		flex-wrap: nowrap;
		overflow-x: auto;
	}

	.home-tag-card {
		flex: 0 0 150px;
	}
}

@media (max-width: 360px) {
	.trending-games-grid,
	.portal-large-game-row,
	.related-games-grid,
	.random-games-grid,
	.game-suggestions-grid,
	.taxonomy-games-grid,
	.search-games-grid {
		grid-template-columns: 1fr;
	}
}

.blog-posts-grid {
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
	gap: 18px !important;
}

.home-blog-grid {
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important;
	gap: 18px !important;
}

.blog-card-thumb {
	aspect-ratio: 1 / 1 !important;
	max-height: none !important;
}

.blog-card-content {
	padding: 13px 14px 15px !important;
}

.blog-card-title {
	font-size: 16px !important;
	line-height: 1.25 !important;
}

.blog-card-excerpt {
	font-size: 13px !important;
	line-height: 1.4 !important;
	-webkit-line-clamp: 2 !important;
}

.blog-card-meta {
	font-size: 12px !important;
}

.blog-card-category {
	font-size: 11px !important;
	padding: 4px 8px !important;
}

.player-auth-modal:not([hidden]) {
	position: fixed !important;
	inset: 0 !important;
	z-index: 99999 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 24px !important;
}

.player-auth-backdrop {
	position: absolute !important;
	inset: 0 !important;
	background: rgba(0, 0, 0, 0.72);
	backdrop-filter: blur(8px);
}

.player-auth-dialog {
	position: relative !important;
	width: min(440px, calc(100vw - 32px)) !important;
	max-height: calc(100vh - 48px) !important;
	overflow-y: auto !important;
	margin: 0 !important;
	transform: none !important;
	z-index: 1 !important;
}

body.auth-modal-open {
	overflow: hidden;
}
