/*

Custom style

You can override the default class or style here

This file will not be overwritten by the updater

*/

/* Site-wide light sky-blue background.
 !important is required because header.php emits an inline
 style="background: url(...)" on the <body> via the_body_background(). */
body {
	background-color: var(--pa-bg, #e0f2fe) !important;
	background-image: none !important;
	color: var(--pa-text, #0f172a);
}

/* --- Site-wide layout primitives (used by home.php and game.php) ----- */
nav.top-nav { display: none !important; }

/* Hide the fixed nav card while a game is in mobile "fake-fullscreen"
   (open_fullscreen() in theme script.js sets position:fixed on the iframe;
   .pa-nav is also fixed, so without this it sits on top of the game). */
body.is-mobile-fullscreen .pa-nav,
body.is-mobile-fullscreen .pa-search-overlay { display: none !important; }
/* Real Fullscreen API (desktop) doesn't render anything outside the
   fullscreen target, but cover that path too for safety. */
:fullscreen .pa-nav, :-webkit-full-screen .pa-nav { display: none !important; }
.footer, .footer-copyright { background: #e0f2fe; color: #334155; }
.footer .border-line { border-color: rgba(15,23,42,0.08) !important; }

body { margin: 0 !important; }
.pa-page {
	/* Narrowed content column. The empty gutters on either side host
	   sticky ad slots (.pa-ad-side) on wide viewports. */
	padding: 8px 16px 32px;
	max-width: 1280px;
	margin: 0 auto;
}
.pa-page > *:first-child { margin-top: 0; }

/* Fixed ad slots in the gutters left/right of the content column.
   Hidden automatically when the viewport isn't wide enough to fit
   them without overlapping the content. */
.pa-ad-side {
	position: fixed;
	top: 100px;
	width: 160px;
	max-height: calc(100vh - 120px);
	overflow: auto;
	z-index: 10;
}
.pa-ad-side--left  { left: 16px; }
.pa-ad-side--right { right: 16px; }
@media (max-width: 1640px) { /* 1280 content + 2 * (160 ad + 16 gap) ≈ 1640 */
	.pa-ad-side { display: none; }
}

/* Compact top-left Nav card: logo on top spanning two columns,
 search and login icons in the bottom row. Square 76x76 with 12px gutter. */
nav#nav.pa-nav {
	position: fixed;
	top: 12px; left: 12px;
	background: #ffffff;
	border-radius: 14px;
	box-shadow: 0 2px 12px rgba(15,23,42,0.10);
	padding: 6px;
	display: grid;
	grid-template-columns: repeat(2, 32px);
	grid-template-rows: repeat(2, 32px);
	gap: 4px;
	z-index: 1000;
}
.pa-nav-btn {
	width: 32px; height: 32px;
	border-radius: 8px;
	color: #475569;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-size: 16px;
	transition: background 0.15s, color 0.15s;
}
.pa-nav-btn:hover, .pa-nav-btn:focus {
	background: rgba(14,165,233,0.15);
	color: #0284c7;
	text-decoration: none;
}
.pa-nav-btn--placeholder { pointer-events: none; }
.pa-nav-logo {
	grid-column: span 2; /* logo spans the top row */
	background: #0ea5e9;
	color: #fff;
	overflow: hidden;
	padding: 0;
}
.pa-nav-logo:hover, .pa-nav-logo:focus {
	background: #0284c7;
	color: #fff;
}
.pa-nav-logo img {
	width: 100%; height: 100%;
	object-fit: contain;
	padding: 4px;
}
.pa-nav-btn[data-action="open-search"] { border: 0; cursor: pointer; }

/* --- Slide-out search panel ------------------------------ */
body.pa-search-open { overflow: hidden; }

.pa-search-overlay {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: flex;
	pointer-events: none;
}
.pa-search-overlay::after {
	content: "";
	flex: 1;
	background: rgba(15,23,42,0.45);
	opacity: 0;
	transition: opacity 0.25s ease;
	cursor: pointer;
}
.pa-search-overlay.is-open { pointer-events: auto; }
.pa-search-overlay.is-open::after { opacity: 1; }
.pa-search-panel {
	width: 45%;
	max-width: 720px;
	min-width: 360px;
	background: #f1f5f9;
	transform: translateX(-100%);
	transition: transform 0.25s ease;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: 0 0 32px rgba(15,23,42,0.15);
}
.pa-search-overlay.is-open .pa-search-panel { transform: translateX(0); }
@media (max-width: 767px) {
	.pa-search-panel { width: 100%; max-width: none; min-width: 0; }
}

.pa-search-bar-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 16px;
	background: #f1f5f9;
	flex-shrink: 0;
}
.pa-search-back {
	width: 40px; height: 40px;
	border-radius: 50%;
	background: #ffffff;
	border: 1px solid rgba(15,23,42,0.08);
	display: flex; align-items: center; justify-content: center;
	cursor: pointer;
	color: #475569;
	flex-shrink: 0;
	transition: background 0.15s, color 0.15s;
}
.pa-search-back:hover { background: #e2e8f0; color: #0f172a; }
.pa-search-bar {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	background: #ffffff;
	border-radius: 999px;
	padding: 10px 16px;
	min-width: 0;
}
.pa-search-bar .bi { color: #475569; font-size: 18px; flex-shrink: 0; }
.pa-search-loading { color: #475569; }
.pa-search-loading.is-loading {
	animation: pa-spin 0.8s linear infinite;
	color: #0ea5e9;
}
@keyframes pa-spin { to { transform: rotate(360deg); } }
.pa-search-input {
	flex: 1;
	min-width: 0;
	border: none;
	outline: none;
	font-size: 16px;
	background: transparent;
	color: #0f172a;
	padding: 0;
}
.pa-search-input::placeholder { color: #94a3b8; }
.pa-search-clear {
	width: 28px; height: 28px;
	border-radius: 50%;
	border: none;
	background: #e2e8f0;
	color: #475569;
	cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	font-size: 16px;
	flex-shrink: 0;
}
.pa-search-clear:hover { background: #cbd5e1; color: #0f172a; }
.pa-search-icon-right { color: #94a3b8; }

.pa-search-content {
	flex: 1;
	overflow-y: auto;
	padding: 0 16px 24px;
	-webkit-overflow-scrolling: touch;
}
.pa-search-chips {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	scrollbar-width: none;
	padding: 4px 0 16px;
}
.pa-search-chips::-webkit-scrollbar { display: none; }
.pa-search-chip {
	display: inline-block;
	padding: 8px 14px;
	background: transparent;
	border: 2px solid #0f172a;
	border-radius: 999px;
	color: #0f172a;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.15s, color 0.15s;
}
.pa-search-chip:hover {
	background: #0f172a;
	color: #fff;
	text-decoration: none;
}

.pa-search-section-title {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #1e293b;
	margin: 16px 0 8px;
}
.pa-search-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 6px;
}
@media (max-width: 991px) { .pa-search-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .pa-search-grid { grid-template-columns: repeat(3, 1fr); } }

.pa-search-tile {
	aspect-ratio: 1 / 1;
	border-radius: 8px;
	overflow: hidden;
	background: #e2e8f0;
	display: block;
	transition: transform 0.15s;
}
.pa-search-tile:hover { transform: translateY(-2px); }
.pa-search-tile img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
}
.pa-search-skeleton {
	background: linear-gradient(90deg, #e2e8f0 0%, #cbd5e1 50%, #e2e8f0 100%);
	background-size: 200% 100%;
	animation: pa-shimmer 1.5s infinite;
}
@keyframes pa-shimmer {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

.pa-search-cat-card {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #ffffff;
	border-radius: 12px;
	padding: 12px 16px;
	margin-bottom: 12px;
	text-decoration: none;
	color: #0f172a;
	transition: transform 0.15s, box-shadow 0.15s;
}
.pa-search-cat-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 24px rgba(14,165,233,0.18);
	text-decoration: none;
	color: #0f172a;
}
.pa-search-cat-card-img {
	width: 48px; height: 48px;
	border-radius: 8px;
	background: linear-gradient(135deg, #0ea5e9, #6366f1);
	padding: 8px;
	flex-shrink: 0;
}
.pa-search-cat-card-img img {
	width: 100%; height: 100%;
	filter: brightness(0) invert(1);
}
.pa-search-cat-card-name {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.pa-search-empty-msg {
	grid-column: 1 / -1;
	padding: 32px;
	text-align: center;
	color: #64748b;
	font-size: 14px;
}

/* Mosaic: 16-col dense grid, mixed tile sizes. */
.pa-mosaic {
	--gap: 6px;
	--cols: 16;
	display: grid;
	grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
	grid-auto-flow: dense;
	gap: var(--gap);
	margin-bottom: 32px;
}
.pa-tile.size-m { grid-column: span 2; grid-row: span 2; }
.pa-tile.size-l { grid-column: span 3; grid-row: span 3; }
.pa-tile.size-w { grid-column: span 2; grid-row: span 1; aspect-ratio: 2 / 1; }
.pa-tile.size-l .pa-tile-overlay { opacity: 1; }
.pa-tile.size-l .pa-tile-title { font-size: 16px; }
.pa-tile.size-m .pa-tile-title { font-size: 14px; }
@media (max-width: 1199px) { .pa-mosaic { --cols: 12; } }
@media (max-width: 991px) { .pa-mosaic { --cols: 8; } }
@media (max-width: 767px) {
	.pa-mosaic { --cols: 4; }
	.pa-tile.size-m { grid-column: span 2; grid-row: span 2; }
	.pa-tile.size-l { grid-column: span 4; grid-row: span 4; }
	.pa-tile.size-w { grid-column: span 2; grid-row: span 1; aspect-ratio: 2 / 1; }
}

/* Game-canvas as a positioned tile inside the mosaic on the game page.
 Tiles flow around it via grid-auto-flow: dense. */
.pa-canvas-tile {
	grid-column: 5 / span 8;
	grid-row: 1 / span 6;
	background: #000;
	border-radius: 12px;
	overflow: hidden;
	position: relative;
	display: flex;
	flex-direction: column;
}
.pa-canvas-tile .game-iframe-container,
.pa-canvas-tile .game-content { flex: 1; min-height: 0; display: flex; }
.pa-canvas-tile iframe {
	flex: 1;
	width: 100% !important;
	height: 100% !important;
	border: 0;
	display: block;
	background: #000;
}
.pa-canvas-controls {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	background: #1e293b;
	border-top: 1px solid rgba(255,255,255,0.06);
	flex-shrink: 0;
}
.pa-canvas-controls-spacer { flex: 1; }
.pa-canvas-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px; height: 36px;
	border-radius: 8px;
	color: #cbd5e1;
	background: transparent;
	text-decoration: none;
	font-size: 18px;
	transition: background 0.15s, color 0.15s;
}
.pa-canvas-btn:hover, .pa-canvas-btn:focus {
	background: rgba(14,165,233,0.2);
	color: #fff;
	text-decoration: none;
}
/* Icon swap: outline by default, filled when active. Two <i> tags, one shown at a time. */
.pa-canvas-btn .icon-active { display: none; }
.pa-canvas-btn.is-active .icon-default,
.pa-canvas-btn.active .icon-default { display: none; }
.pa-canvas-btn.is-active .icon-active,
.pa-canvas-btn.active .icon-active { display: inline-block; }

/* Active-state colors per button family */
.pa-canvas-btn--vote.is-active,
.pa-canvas-btn--vote.active {
	color: #38bdf8;
	background: rgba(14,165,233,0.18);
}
.pa-canvas-btn--fav.is-active,
.pa-canvas-btn--fav.active {
	color: #ef4444;
	background: rgba(239,68,68,0.15);
}
.pa-canvas-btn--fav.is-active:hover,
.pa-canvas-btn--fav.active:hover { color: #f87171; }
@media (max-width: 1199px) {
	.pa-canvas-tile { grid-column: 4 / span 6; grid-row: 1 / span 5; }
}
@media (max-width: 991px) {
	.pa-canvas-tile { grid-column: 2 / span 6; grid-row: 1 / span 4; }
}
@media (max-width: 767px) {
	.pa-canvas-tile { grid-column: 1 / span 4; grid-row: 1 / span 3; }
}

/* --- Game tile (used by home.php and grid2.php) ---------- */
.pa-tile {
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: 12px;
	overflow: hidden;
	background: #f1f5f9;
	text-decoration: none;
	color: #fff;
	display: block;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pa-tile:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 24px rgba(14,165,233,0.25);
}
.pa-tile-img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
}
.pa-tile-overlay {
	position: absolute; inset: 0;
	display: flex; align-items: flex-end;
	padding: 8px 10px;
	background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.85));
	opacity: 0;
	transition: opacity 0.15s ease;
}
.pa-tile:hover .pa-tile-overlay { opacity: 1; }
.pa-tile-title {
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0,0,0,0.5);
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Search page header — a prominent search input form */
.pa-search-header { margin: 8px 0 16px; }
.pa-search-form {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(15,23,42,0.06);
}
.pa-search-form .bi-search { color: #64748b; font-size: 18px; }
.pa-search-input {
	flex: 1;
	border: none;
	outline: none;
	font-size: 16px;
	color: #0f172a;
	background: transparent;
	padding: 8px 4px;
}
.pa-search-input::placeholder { color: #94a3b8; }
.pa-search-btn {
	border: none;
	background: #0ea5e9;
	color: #fff;
	border-radius: 8px;
	padding: 8px 16px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: background 0.15s;
}
.pa-search-btn:hover { background: #0284c7; }

/* Category page header (icon + title + count) */
.pa-category-header {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 16px;
	margin: 0 0 16px;
	padding: 16px 24px;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(15,23,42,0.06);
}
.pa-category-icon {
	width: 48px; height: 48px;
	border-radius: 12px;
	background: linear-gradient(135deg, #0ea5e9, #6366f1);
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}
.pa-category-icon img {
	width: 28px; height: 28px;
	filter: brightness(0) invert(1);
}
.pa-category-meta {
	font-size: 13px;
	color: #475569;
	margin-top: 2px;
}

/* Game info bar (title, rating, action buttons) — sits below the canvas mosaic */
.game-info-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
	background: #ffffff;
	border-radius: 12px;
	margin-bottom: 16px;
	box-shadow: 0 1px 3px rgba(15,23,42,0.06);
}
.game-info-bar .single-title {
	font-size: 20px;
	margin: 0 0 4px;
	color: #0f172a;
}
.game-info-bar .rating { color: #475569; font-size: 13px; }
.game-info-bar .header-right { display: flex; gap: 8px; flex-wrap: wrap; }
.game-info-bar .btn-capsule { font-size: 13px; padding: 6px 12px; }

/* --- Game description card -------------------------------- */
.pa-game-card {
	background: #ffffff;
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 1px 3px rgba(15,23,42,0.06);
	margin: 16px 0 24px;
	display: grid;
	grid-template-columns: 1fr 180px;
	gap: 24px;
	align-items: start;
}
@media (max-width: 767px) {
	.pa-game-card {
		grid-template-columns: 1fr;
		padding: 16px;
	}
	.pa-game-card-aside { order: -1; max-width: 200px; }
}
.pa-game-card-heading {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: #64748b;
	margin: 16px 0 6px;
}
.pa-game-card-heading:first-child { margin-top: 0; }
.pa-game-card .single-description,
.pa-game-card .single-instructions {
	color: #1e293b;
	line-height: 1.55;
}
.pa-game-card-thumb {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 12px;
	display: block;
}
.pa-game-card-rating {
	margin-top: 8px;
	font-size: 14px;
	font-weight: 600;
	color: #1e293b;
	text-align: center;
}
.pa-game-card-rating .bi-star-fill { color: #f59e0b; }
.pa-game-card-rating-count {
	display: block;
	font-size: 11px;
	font-weight: 400;
	color: #64748b;
	margin-top: 2px;
}

/* Single-column content card (Comments, etc.) — same look as pa-game-card,
 no aside column. Reuses pa-game-card-heading for sub-titles. */
.pa-card {
	background: #ffffff;
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 1px 3px rgba(15,23,42,0.06);
	margin: 16px 0 24px;
	color: #1e293b;
}
@media (max-width: 767px) {
	.pa-card { padding: 16px; }
}

/* Pill / chip style links (categories + tags inside the card) */
.pa-tag-list {
	margin-top: 16px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.pa-tag {
	display: inline-block;
	padding: 4px 12px;
	background: #e0f2fe;
	color: #0369a1;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 500;
	text-decoration: none;
	transition: background 0.15s, color 0.15s;
}
.pa-tag:hover {
	background: #bae6fd;
	color: #075985;
	text-decoration: none;
}
.pa-tag--soft {
	background: #f1f5f9;
	color: #475569;
}
.pa-tag--soft:hover {
	background: #e2e8f0;
	color: #334155;
}

/* Bottom-of-page colored category cards (home / category / game pages) */
.pa-section-title {
	font-size: 22px;
	font-weight: 700;
	margin: 32px 0 16px;
	color: #0f172a;
}
.pa-cats {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 6px;
}
.pa-cat {
	aspect-ratio: 16 / 9;
	border-radius: 8px;
	overflow: hidden;
	position: relative;
	text-decoration: none;
	color: #fff;
	display: block;
	background: linear-gradient(135deg, var(--cat-color, #6366f1), var(--cat-color-2, #8b5cf6));
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pa-cat:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,0.3); }
.pa-cat-icon {
	position: absolute;
	top: 4px; right: 4px;
	width: 14px; height: 14px;
	opacity: 0.85;
	filter: brightness(0) invert(1);
}
.pa-cat-info {
	position: absolute;
	bottom: 4px; left: 6px; right: 6px;
}
.pa-cat-name {
	font-size: 11px;
	font-weight: 700;
	color: #fff;
	text-shadow: 0 1px 4px rgba(0,0,0,0.4);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.pa-cat-count {
	font-size: 9px;
	color: rgba(255,255,255,0.85);
	margin-top: 1px;
}
@media (max-width: 991px) { .pa-cats { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 767px) { .pa-cats { grid-template-columns: repeat(4, 1fr); } }

/* Auto-fill grid of uniform tiles (Similar games, category pages, etc.) */
.pa-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 6px;
}
@media (max-width: 767px) {
	.pa-grid {
		grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
	}
}

/* --- Privacy / Terms long-form prose card ----------------------------- */
.pa-prose { color: #1f2937; line-height: 1.6; }
.pa-prose h1 { font-size: 28px; margin: 0 0 8px; color: #0f172a; }
.pa-prose h2 { font-size: 18px; margin: 24px 0 8px; color: #0f172a; }
.pa-prose .pa-prose-meta { color: #64748b; font-size: 13px; margin-bottom: 16px; }
.pa-prose p, .pa-prose ul { margin: 0 0 12px; }
.pa-prose ul { padding-left: 20px; }
.pa-prose li { margin-bottom: 4px; }
.pa-prose a { color: #0284c7; }
.pa-prose code { background: #f1f5f9; padding: 1px 6px; border-radius: 4px; font-size: 90%; }

/* Footer policy links — sit alongside the copyright text. */
.pa-footer-policy { margin-right: 12px; }
.pa-footer-policy a { color: inherit; opacity: 0.85; text-decoration: none; }
.pa-footer-policy a:hover { opacity: 1; text-decoration: underline; }
.pa-footer-policy-sep { margin: 0 6px; opacity: 0.6; }

/* --- First-visit cookie consent banner -------------------------------- */
.pa-cookie-banner {
	position: fixed;
	bottom: 12px; left: 12px; right: 12px;
	background: #1f2937;
	color: #f1f5f9;
	padding: 14px 18px;
	display: none;
	align-items: center;
	gap: 16px;
	z-index: 1500;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.25);
	max-width: 880px;
	margin: 0 auto;
}
.pa-cookie-banner.is-visible { display: flex; }
.pa-cookie-banner-text {
	flex: 1;
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
}
.pa-cookie-banner-text a { color: #38bdf8; text-decoration: underline; }
.pa-cookie-banner-text a:hover { color: #7dd3fc; }
.pa-cookie-banner-actions { display: flex; gap: 8px; flex-shrink: 0; }
.pa-cookie-banner-btn {
	border: 1px solid rgba(255,255,255,0.18);
	background: transparent;
	color: #f1f5f9;
	border-radius: 999px;
	padding: 8px 18px;
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s;
}
.pa-cookie-banner-btn:hover { background: rgba(255,255,255,0.08); }
.pa-cookie-banner-btn--accept {
	background: #0ea5e9; border-color: #0ea5e9; color: #fff;
}
.pa-cookie-banner-btn--accept:hover { background: #0284c7; border-color: #0284c7; }
@media (max-width: 640px) {
	.pa-cookie-banner { flex-direction: column; align-items: stretch; bottom: 0; left: 0; right: 0; border-radius: 0; }
	.pa-cookie-banner-actions { justify-content: flex-end; }
}

/* Mobile fallback when a game is flagged is_mobile=0 in admin. */
.pa-canvas-tile--unavailable { background: #ffffff; color: #1f2937; }
.pa-canvas-unavailable {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 24px 16px;
	gap: 12px;
	height: 100%;
}
.pa-canvas-unavailable-img {
	width: 96px; height: 96px;
	object-fit: cover;
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(15,23,42,0.12);
}
.pa-canvas-unavailable h2 { font-size: 18px; margin: 4px 0; color: #0f172a; }
.pa-canvas-unavailable p { font-size: 13px; color: #475569; max-width: 28em; margin: 0; }

/* Hide the canvas action bar (favourite/like/dislike/fullscreen) when the
   iframe isn't loaded — there's nothing to interact with. */
.pa-canvas-tile--unavailable .pa-canvas-controls { display: none; }
