/* =========================================================
   Crayon Corner — word coloring page generator
   ========================================================= */

.wg-controls {
	display: flex;
	align-items: flex-end;
	gap: 14px;
	flex-wrap: wrap;
	padding-bottom: 14px;
	border-bottom: 2px dashed rgba(45, 49, 66, 0.15);
	margin-bottom: 16px;
}
.wg-field { display: flex; flex-direction: column; gap: 5px; }
.wg-field--text { flex: 1; min-width: 200px; }
.wg-field__label {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.82rem;
	color: var(--ink);
}
.wg-field input[type="text"],
.wg-field select {
	padding: 10px 14px;
	border: 2.5px solid var(--ink);
	border-radius: 10px 12px 9px 11px / 11px 9px 12px 10px;
	background: #fff;
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 0.95rem;
	min-height: 44px;
	box-sizing: border-box;
}
.wg-field select { font-family: var(--font-display); font-weight: 600; }
.wg-field input[type="range"] { width: 120px; accent-color: var(--pink); min-height: 44px; }
.wg-field--check {
	flex-direction: row;
	align-items: center;
	gap: 8px;
	min-height: 44px;
}
.wg-field--check input { width: 20px; height: 20px; accent-color: var(--green); }

.wg-stage { display: flex; justify-content: center; }
.wg-stage canvas {
	display: block;
	width: 100%;
	max-width: 560px;
	height: auto;
	border: 2.5px solid var(--ink);
	border-radius: 10px 13px 9px 12px / 12px 9px 13px 10px;
	background: #fff;
}

.wg-actions {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 16px;
}

@media (max-width: 720px) {
	.wg-controls { gap: 10px; }
	.wg-field { flex: 1 1 45%; }
	.wg-field--text { flex: 1 1 100%; }
	.wg-stage canvas { max-width: 100%; }
}
