/* 喂鲶鱼小游戏 */
.cs-game-page {
	background: var(--bg);
}

.cs-game-hero {
	padding: 52px 0 64px;
	color: #fff;
	background:
		radial-gradient(circle at 84% 10%, rgba(255, 255, 255, 0.14), transparent 32%),
		linear-gradient(135deg, var(--hero-a), var(--hero-b));
}

.cs-game-hero h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(34px, 5vw, 54px);
	font-weight: 900;
	letter-spacing: -0.04em;
}

.cs-game-hero p {
	max-width: 620px;
	margin: 12px 0 0;
	color: #dbeafe;
	font-size: 15px;
	line-height: 1.8;
}

.cs-game-section {
	padding: 0 0 64px;
	margin-top: -24px;
}

.cs-game-shell {
	max-width: 1000px;
	margin: 0 auto;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 24px 60px -42px rgba(15, 23, 42, 0.4);
}

.cs-game-top {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 14px;
}

.cs-stat {
	padding: 12px 14px;
	border: 1px solid #eef2f7;
	border-radius: 14px;
	background: #f8fafc;
}

.cs-stat > span {
	display: block;
	color: #94a3b8;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.cs-stat strong {
	display: block;
	margin-top: 2px;
	color: var(--ink);
	font-size: 26px;
	font-weight: 900;
	line-height: 1.2;
	white-space: nowrap;
}

.cs-stat strong small {
	display: inline;
	margin-left: 2px;
	color: #94a3b8;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.cs-stat-best strong {
	color: var(--primary);
}

.cs-canvas-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 900 / 520;
	border-radius: 18px;
	background: #0a1f2b;
	overflow: hidden;
}

#catfish-game {
	display: block;
	width: 100%;
	height: 100%;
	touch-action: none;
	cursor: crosshair;
}

#catfish-game:focus {
	outline: none;
}

.cs-game-overlay {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: grid;
	place-items: center;
	padding: 20px;
	background: rgba(5, 19, 27, 0.58);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.cs-game-overlay.is-hidden {
	display: none;
}

.cs-game-panel {
	width: min(440px, 100%);
	padding: 28px 26px 24px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 20px;
	background: #fffdf6;
	color: var(--ink);
	text-align: center;
	box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
}

.cs-game-eyebrow {
	display: inline-block;
	margin-bottom: 10px;
	color: var(--primary);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.14em;
}

.cs-game-panel h2 {
	margin: 0;
	color: var(--ink);
	font-size: 30px;
	font-weight: 900;
	letter-spacing: -0.03em;
}

.cs-game-panel p {
	margin: 10px 0 18px;
	color: #64748b;
	font-size: 13px;
	line-height: 1.75;
}

.cs-game-start {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 150px;
	min-height: 46px;
	padding: 0 22px;
	border: 0;
	border-radius: 12px;
	background: var(--primary);
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 800;
	cursor: pointer;
	box-shadow: 0 12px 24px -14px rgba(29, 78, 216, 0.8);
}

.cs-game-start:hover {
	background: var(--primary-2);
}

.cs-game-start:focus-visible,
.cs-game-sound:focus-visible {
	outline: 3px solid #fbbf24;
	outline-offset: 3px;
}

.cs-game-hint {
	margin: 14px 0 0 !important;
	color: #94a3b8 !important;
	font-size: 11px !important;
}

.cs-game-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 4px 0;
}

.cs-game-foot p {
	margin: 0;
	color: #94a3b8;
	font-size: 12px;
	line-height: 1.6;
}

.cs-game-sound {
	flex: 0 0 auto;
	padding: 7px 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: #64748b;
	font: inherit;
	font-size: 11px;
	font-weight: 700;
	cursor: pointer;
}

.cs-game-sound:hover {
	border-color: #bfdbfe;
	color: var(--primary);
}

@media (max-width: 720px) {
	.cs-game-hero {
		padding: 38px 0 54px;
	}

	.cs-game-shell {
		padding: 12px;
		border-radius: 18px;
	}

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

	.cs-stat {
		padding: 10px 12px;
	}

	.cs-stat strong {
		font-size: 22px;
	}

	.cs-canvas-wrap {
		border-radius: 14px;
		aspect-ratio: auto;
		height: 320px;
	}

	.cs-game-panel {
		padding: 20px 18px 18px;
	}

	.cs-game-panel p {
		margin-bottom: 14px;
	}

	.cs-game-panel h2 {
		font-size: 26px;
	}

	.cs-game-foot {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}
}
