html, body {
	margin: 0;
	height: 100%;
	overflow: hidden;
	background: radial-gradient(ellipse 85% 75% at 50% 42%, #dcc8ba 0%, #ad968c 100%);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	-webkit-user-select: none;
	user-select: none;
	overscroll-behavior: none;
}
#app, #app canvas {
	position: fixed;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	touch-action: none;
}
#ui {
	position: fixed;
	left: calc(10px + env(safe-area-inset-left));
	bottom: calc(10px + env(safe-area-inset-bottom));
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 7px 10px;
	border-radius: 10px;
	background: rgba(46, 30, 24, 0.42);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: #fff4e6;
	font-size: 12px;
	line-height: 1;
	box-shadow: 0 2px 10px rgba(40, 20, 10, 0.18);
	z-index: 2;
}
#ui label {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}
#ui .lbl {
	width: 46px;
	white-space: nowrap;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
#ui input[type=range] {
	width: 120px;
	height: 18px;
	margin: 0;
	accent-color: #e2552c;
}
#hint {
	position: fixed;
	top: calc(12px + env(safe-area-inset-top));
	left: 50%;
	transform: translateX(-50%);
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba(46, 30, 24, 0.35);
	color: #fff4e6;
	font-size: 12px;
	white-space: nowrap;
	pointer-events: none;
	transition: opacity 1.2s ease;
	z-index: 2;
}
#hint.hide { opacity: 0; }
@media (max-width: 420px) {
	#ui input[type=range] { width: 100px; }
}
