:root {
	--ink: #1a1510;
	--paper: #e8dcc0;
	--accent: #c44b2a;
	--muted: #8a7a62;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html,
body {
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: var(--ink);
	font-family: "IBM Plex Mono", "Courier New", monospace;
	color: var(--paper);
}

canvas {
	display: block;
	width: 100% !important;
	height: 100% !important;
}

#hud {
	position: fixed;
	inset: 0 0 auto 0;
	padding: 16px 20px;
	pointer-events: none;
	z-index: 1;
	text-shadow: 0 1px 0 #000;
}

#status {
	font-size: 14px;
	letter-spacing: 0.04em;
	max-width: 42ch;
	line-height: 1.4;
}

#status[data-state="dead"] {
	color: var(--accent);
}

#status[data-state="won"] {
	color: #7ecf6a;
}

#status[data-state="play"] {
	color: var(--paper);
}
