:root {
	--deep: #241c14;
	--ink: #f3e9d2;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: var(--deep);
	font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--ink);
	-webkit-tap-highlight-color: transparent;
	overscroll-behavior: none;
}

#arena {
	display: block;
	width: 100vw;
	height: 100vh;
	touch-action: none;
	cursor: grab;
}

#arena:active { cursor: grabbing; }

#hud {
	position: fixed;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
	justify-content: center;
	pointer-events: none;
	font-size: 13px;
	letter-spacing: 0.02em;
	color: rgba(243, 233, 210, 0.55);
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
	transition: opacity 1.2s ease;
	max-width: 92vw;
	text-align: center;
}

#hud .hint { white-space: nowrap; }
#hud.faded { opacity: 0.12; }

#status {
	position: fixed;
	top: 14px;
	left: 14px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: rgba(0, 0, 0, 0.32);
	color: rgba(243, 233, 210, 0.75);
	transition: opacity 0.6s ease;
	pointer-events: none;
}

#status.off { opacity: 0.9; }
#status.on { opacity: 0; }