.cc-game-page {
	max-width: 960px;
	margin: 0 auto;
	padding: 40px 20px 80px;
}

.cc-game-header {
	text-align: center;
	margin-bottom: 32px;
}

.cc-game-title {
	font-size: 2.2rem;
	font-weight: 800;
	color: #1a1a1a;
	margin: 0 0 8px;
}

.cc-game-subheading {
	font-size: 1.1rem;
	color: #555;
	margin: 0;
}

.cc-game-guest-banner {
	margin-top: 20px;
	background: #fff0f4;
	border: 1px solid #ffd0dc;
	border-radius: 12px;
	padding: 14px 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
	color: #8a3f57;
	font-weight: 600;
}

/* Game embed */

.cc-game-embed {
	margin-bottom: 32px;
}

/* Self-hosted games are built portrait-first (see games/bubble-pop) — this
 * bounds the frame to a phone-shaped box on every viewport, desktop
 * included, rather than a 16:9 video-style box that made sense for the old
 * iframe embed but leaves a portrait tap game awkwardly short and wide. */
.cc-game-embed__frame {
	max-width: 480px;
	aspect-ratio: 3 / 4;
	margin: 0 auto;
	border-radius: 22px;
	overflow: hidden;
}

.cc-game-embed__missing {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	margin: 0;
	color: #888;
	background: #fff8f0;
}

/* Game stats bar */

.cc-game-stats-bar {
	background: #fff8f0;
	border-radius: 12px;
	padding: 12px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 12px;
	font-size: 0.9rem;
	flex-wrap: wrap;
	gap: 8px;
	color: #444;
}

.cc-game-stats-status {
	font-weight: 600;
}

.cc-game-stats-votes,
.cc-game-stats-balance {
	color: #b8860b;
	font-weight: 700;
	white-space: nowrap;
}

.cc-vote-flash {
	margin-left: 8px;
	color: #22c55e;
	font-weight: 700;
}

.cc-hidden {
	display: none !important;
}

/* Buttons (self-contained to this template) */

.cc-button {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 50px;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.cc-button:hover {
	transform: translateY(-2px);
}

.cc-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.cc-button--primary {
	background: #FF6B8A;
	color: #fff;
}

/* More games */

.cc-more-games {
	text-align: center;
}

.cc-more-games__heading {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 20px;
	color: #222;
}

.cc-more-games-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.cc-game-card {
	display: block;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	text-decoration: none;
	color: #222;
	transition: transform 0.15s ease;
}

.cc-game-card:hover {
	transform: translateY(-2px);
}

.cc-game-card__thumb {
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, #FFB800, #FF6B8A);
}

.cc-game-card__title {
	padding: 12px;
	font-weight: 700;
	text-align: center;
}

/* Mobile */

@media (max-width: 600px) {
	.cc-game-title {
		font-size: 1.6rem;
	}

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

	.cc-game-stats-bar {
		justify-content: flex-start;
		gap: 6px 16px;
	}
}
