/*
 * City Sorter page shell: the frame of the unified game page (title, intro, mode launcher).
 * The board itself is the platform's sortable-game.css. States use text and icons, never color alone
 * (A11Y-B07-009).
 */

/* The visual order puts the modes and the Start actions first; the reading order is unchanged. */
.city-sorter-game {
	display: flex;
	flex-direction: column;
	max-width: 46rem;
}

.city-sorter-game > .city-sorter-game__help {
	order: 2;
}

/* The page title already names the game; the heading stays for assistive technology. */
.city-sorter-game__title {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.city-sorter-game__intro {
	margin: 0 0 1.25rem;
	color: var(--gp-sortable-muted);
	font-size: 1.125rem;
}

.city-sorter-game__launch {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-block: 0.5rem 1.5rem;
}

.city-sorter-game__launch > button {
	min-height: 52px;
	padding-inline: 1.75rem;
	font-size: 1.0625rem;
}

.city-sorter-game__result[data-kind="success"] {
	--gp-sortable-state: var(--gp-sortable-success);
}
