body {
	margin: 0;
	font: 16px/1.5 system-ui, sans-serif;
	color: #23262b;
	background: #f4f2ee;
}
header {
	padding: 12px 16px;
	background: #fff;
	border-bottom: 1px solid #e2ddd5;
}
header a {
	font-weight: 600;
	color: inherit;
	text-decoration: none;
}
main {
	max-width: 880px;
	margin: 0 auto;
	padding: 8px 16px 32px;
}
a.recipe {
	font-size: 13px;
	color: #7a756c;
}
.tiles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 10px;
}
.tile {
	margin: 0;
	border: 1px solid #e2ddd5;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}
.tile canvas {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	background: #cfe6ee;
}
.tile figcaption {
	padding: 6px 8px;
	font-size: 14px;
}
.tile figcaption a:first-child {
	color: inherit;
}
#tiles {
	position: fixed;
	left: -10000px;
	top: 0;
	width: 320px;
	height: 240px;
}
.stage {
	position: relative;
	aspect-ratio: 16 / 10;
	border-radius: 8px;
	overflow: hidden;
	background: #cfe6ee;
}
.stage canvas {
	display: block;
	width: 100%;
	height: 100%;
	cursor: grab;
	touch-action: none;
}
.gaits {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.gaits button {
	padding: 6px 14px;
	border: 1px solid #c9c2b6;
	border-radius: 6px;
	background: #fff;
	font: inherit;
	cursor: pointer;
}
.gaits button.on {
	background: #23262b;
	border-color: #23262b;
	color: #fff;
}
.hint {
	color: #7a756c;
	font-size: 14px;
}
pre {
	overflow-x: auto;
	padding: 12px;
	border-radius: 8px;
	background: #fff;
	border: 1px solid #e2ddd5;
	font-size: 13px;
}
