/* Shared game play controls (Word Blossom pattern; palette via page theme). */

.game-controls {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 12px;
}

.game-controls--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.game-control-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-height: 56px;
	padding: 8px 6px;
	font-size: 12px;
	font-weight: 600;
	color: #444;
	background: #f5f5f5;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.game-control-btn:hover,
.game-control-btn:focus {
	background: #ebebeb;
	outline: none;
}

.game-control-btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.game-control-icon {
	font-size: 16px;
	line-height: 1;
}

.game-play-input {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	margin-bottom: 14px;
}

.game-play-input .game-controls {
	margin-bottom: 10px;
}

.game-input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 10px;
	padding: 12px 14px;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-align: center;
	color: #2a2018;
	background: #fffdf9;
	border: 1px solid #d4c4b0;
	border-radius: 10px;
}

.game-input:focus {
	outline: none;
	border-color: #a67c52;
	box-shadow: 0 0 0 2px rgba(166, 124, 82, 0.25);
}

.game-input:disabled {
	opacity: 0.65;
	cursor: not-allowed;
	background: #f5f0ea;
}

.game-enter {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 14px 20px;
	font-size: 17px;
	font-weight: 700;
	border-radius: 10px;
	color: #ffffff;
	background: linear-gradient(180deg, #a67c52 0%, #8b5a2b 55%, #6b4423 100%);
	border: 1px solid #6b4423;
}

.game-enter:hover,
.game-enter:focus {
	background: linear-gradient(180deg, #c49a6c 0%, #a67c52 55%, #8b5a2b 100%);
	color: #ffffff;
	outline: none;
}

.game-enter:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

@media (max-width: 520px) {
	.game-controls,
	.game-controls--3 {
		grid-template-columns: 1fr;
	}
}
