#corpsJeux {
	max-width: 460px;
	margin: 24px auto 0;
	padding: 28px 24px;
	background-color: #eef2f6;
	border-radius: 16px;
	box-shadow: 0 2px 12px rgba(22,56,96,.1);
}

#lettre,#mot {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}
#mot {
	margin-top: 32px;
}

.lettre,.lettreVide {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 46px;
	font-size: 1.3em;
	font-weight: 700;
	font-family: inherit;
	line-height: normal;
	border: none;
	border-radius: 8px;
	padding: 0;
	margin: 0;
}

.lettre {
	background-color: #fff;
	color: #163860;
	cursor: pointer;
	box-shadow: 0 1px 3px rgba(22,56,96,.25);
	transition: transform .15s ease, box-shadow .15s ease;
}
.lettre:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(22,56,96,.3);
}
.lettre.lettreUtilisee {
	background-color: transparent;
	color: transparent;
	box-shadow: none;
	cursor: default;
}

.lettreVide {
	background-color: #fff;
	color: #163860;
	box-shadow: inset 0 0 0 1px rgba(22,56,96,.15);
}
.lettreVide.lettreRemplie {
	cursor: pointer;
	box-shadow: 0 1px 3px rgba(22,56,96,.25);
	transition: transform .15s ease, box-shadow .15s ease;
}
.lettreVide.lettreRemplie:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(22,56,96,.3);
}
.lettreVide.lettreFixe {
	background-color: #D6DCE4;
	color: #163860;
	cursor: default;
}

#aide {
	display: block;
	margin: 44px auto 0;
	text-align: center;
	width: 150px;
	padding: 10px;
	background-color: #163860;
	border: none;
	border-radius: 20px;
	font-weight: bold;
	font-family: inherit;
	font-size: 1em;
	color: white;
	cursor: pointer;
	transition: opacity .3s ease, transform .15s ease;
}
#aide:hover {
	transform: translateY(-2px);
}
#aide.aideCachee {
	opacity: 0;
	pointer-events: none;
}

@media (max-width: 480px) {
	#corpsJeux {
		padding: 24px 16px;
	}
	.lettre,.lettreVide {
		width: 32px;
		height: 40px;
		font-size: 1.15em;
	}
	#lettre,#mot {
		gap: 6px;
	}
}

#dialogGagne {
	text-align: center;
	border: none;
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 4px 24px rgba(0,0,0,.3);
	animation: anagrammeDialogOuverture .3s ease-out;
}
#dialogGagne::backdrop {
	background: rgba(0,0,0,.4);
}
@keyframes anagrammeDialogOuverture {
	from { transform: scale(.85); opacity: 0; }
	to { transform: scale(1); opacity: 1; }
}
#dialogGagne button {
	margin-top: 16px;
	border: none;
	border-radius: 20px;
	background-color: #163860;
	color: #fff;
	font-weight: bold;
	padding: 8px 20px;
	cursor: pointer;
}
