.ak-wordsearch-box {
	max-width: 760px;
	margin: 0 auto 28px;
	background: #ffffff;
	border-radius: 30px;
	padding: 22px;
	text-align: center;
	box-shadow: 0 18px 42px rgba(50, 35, 90, 0.14);
}

.ak-wordsearch-wrap {
	position: relative;
	max-width: 720px;
	margin: 0 auto;
	background:
		radial-gradient(circle at top left, rgba(255, 230, 130, .55), transparent 34%),
		radial-gradient(circle at bottom right, rgba(124, 92, 255, .22), transparent 34%),
		linear-gradient(135deg, #fff8ef, #f3eeff);
	border: 5px solid #eadfff;
	border-radius: 28px;
	padding: 18px;
	overflow: hidden;
	min-height: 560px;
}

.ak-wordsearch-title {
	margin: 0 0 8px;
	color: #20205f;
	font-size: 34px;
	font-weight: 950;
	line-height: 1.05;
}

.ak-wordsearch-subtitle {
	margin: 0 0 14px;
	color: #6b6485;
	font-size: 15px;
	font-weight: 800;
}

#akWordSearchHud {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

.ak-wordsearch-hud-pill {
	background: rgba(255,255,255,.86);
	border: 2px solid rgba(234,223,255,.9);
	border-radius: 999px;
	padding: 9px 14px;
	color: #20205f;
	font-size: 15px;
	font-weight: 950;
	box-shadow: 0 8px 18px rgba(50,35,90,.08);
}

.ak-wordsearch-grid {
	display: grid;
	gap: 4px;
	width: 100%;
	max-width: 540px;
	margin: 0 auto 16px;
	background: #fff8ef;
	border: 5px solid #ffffff;
	border-radius: 24px;
	padding: 10px;
	box-sizing: border-box;
	box-shadow:
		0 18px 34px rgba(50, 35, 90, 0.16),
		inset 0 0 0 3px #eadfff;
}

.ak-wordsearch-cell {
	width: 100%;
	aspect-ratio: 1 / 1;
	border: 0;
	border-radius: 10px;
	background: #ffffff;
	color: #20205f;
	font-weight: 950;
	font-size: clamp(11px, 2.2vw, 18px);
	cursor: pointer;
	box-shadow: 0 3px 8px rgba(50, 35, 90, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	line-height: 1;
	transition: transform .12s ease, background .12s ease;
}

.ak-wordsearch-cell:hover {
	transform: scale(1.04);
}

.ak-wordsearch-cell.ak-selected {
	background: #ffdfef;
	color: #ff4f8b;
}

.ak-wordsearch-cell.ak-found {
	background: #20c768;
	color: #ffffff;
}

.ak-wordsearch-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-top: 12px;
}

.ak-wordsearch-word {
	background: rgba(255,255,255,.9);
	border: 2px solid #eadfff;
	color: #20205f;
	border-radius: 999px;
	padding: 9px 14px;
	font-weight: 950;
	box-shadow: 0 6px 14px rgba(50,35,90,.08);
}

.ak-wordsearch-word.ak-found {
	background: #20c768;
	border-color: #20c768;
	color: #ffffff;
	text-decoration: line-through;
}

.ak-wordsearch-message {
	min-height: 30px;
	font-size: 20px;
	font-weight: 950;
	color: #20c768;
	margin: 15px 0 0;
}

.ak-wordsearch-start-btn {
	border: none;
	border-radius: 999px;
	padding: 15px 34px;
	background: linear-gradient(135deg, #20c768, #7ee65d);
	color: #ffffff;
	font-size: 18px;
	font-weight: 950;
	cursor: pointer;
	box-shadow: 0 12px 26px rgba(32,199,104,.35);
}

#akWordSearchStartOverlay {
	position: absolute;
	inset: 0;
	z-index: 20;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 26px;
	background:
		linear-gradient(rgba(35, 22, 75, .58), rgba(35, 22, 75, .58)),
		url("http://atividadekids.com/wp-content/uploads/2026/06/Caca-Palavras.jpg") center center / cover no-repeat !important;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	text-align: center;
}

#akWordSearchStartOverlay.ak-hide {
	display: none;
}

#akWordSearchStartOverlay h1 {
	margin: 0 0 10px;
	color: #ffffff;
	font-size: 38px;
	font-weight: 950;
	line-height: 1.05;
	text-shadow: 0 4px 18px rgba(0,0,0,.28);
}

#akWordSearchStartOverlay p {
	margin: 0 0 24px;
	max-width: 420px;
	color: #ffffff;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.45;
}

@media (max-width: 760px) {
	.ak-wordsearch-box {
		padding: 12px;
		border-radius: 24px;
	}

	.ak-wordsearch-wrap {
		padding: 12px;
		border-radius: 24px;
		min-height: 500px;
	}

	.ak-wordsearch-title {
		font-size: 28px;
	}

	.ak-wordsearch-subtitle {
		font-size: 13px;
	}

	.ak-wordsearch-grid {
		max-width: 100%;
		gap: 2px;
		padding: 6px;
		border-width: 4px;
		border-radius: 20px;
	}

	.ak-wordsearch-cell {
		border-radius: 6px;
		font-size: 11px;
	}

	.ak-wordsearch-hud-pill {
		font-size: 13px;
		padding: 8px 11px;
	}

	#akWordSearchStartOverlay h1 {
		font-size: 31px;
	}

	#akWordSearchStartOverlay p {
		font-size: 15px;
	}
}