:root {
	--pollen: #ccff00;
	--ink: #e6e6e6;
	--muted: #8a8a8a;
	--scrim: rgba(0, 0, 0, 0.82);
}

* { box-sizing: border-box; }

html,
body {
	margin: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: #000;
	color: var(--ink);
	font-family: Arial, Helvetica, sans-serif;
}

body.hide-cursor,
body.hide-cursor * { cursor: none; }

#stage {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
}

.overlay {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: var(--scrim);
	transition: opacity 0.8s ease;
	z-index: 10;
}

.overlay.fade { opacity: 0; pointer-events: none; }
.overlay[hidden] { display: none; }

.intro-inner,
.info-inner {
	max-width: 34rem;
	text-align: center;
}

h1, h2 {
	margin: 0 0 0.5em;
	font-weight: normal;
	letter-spacing: 0.02em;
	line-height: 1.2;
}

h1 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h2 { font-size: 1.25rem; }

.credit { color: var(--muted); margin: 0 0 1.5rem; }

#start {
	font: inherit;
	font-size: 1rem;
	color: #000;
	background: var(--pollen);
	border: 0;
	border-radius: 999px;
	padding: 0.7em 2.2em;
	cursor: pointer;
}

#start:hover { filter: brightness(1.08); }
#start:focus { outline: none; }
#start:focus-visible { box-shadow: 0 0 0 4px rgba(204, 255, 0, 0.3); }

.hint,
.keys { color: var(--muted); font-size: 0.85rem; margin-top: 1.5rem; }

kbd {
	font: inherit;
	font-size: 0.8em;
	border: 1px solid #555;
	border-radius: 3px;
	padding: 0.05em 0.4em;
	color: var(--ink);
}

.info { background: rgba(0, 0, 0, 0.7); pointer-events: none; }

.info-inner {
	text-align: left;
	font-size: 0.9rem;
	line-height: 1.5;
	background: rgba(0, 0, 0, 0.6);
	padding: 1.5rem;
	border-radius: 6px;
}

.readout {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin: 1.5rem 0 0;
}

.readout dt { color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
.readout dd { margin: 0.2em 0 0; font-size: 1.25rem; color: var(--pollen); font-variant-numeric: tabular-nums; }
