* {
	margin: 0;
	padding: 0;
}
canvas {
	width: 100svh;
	height: 100svh;
	position: fixed;
	top: 0;
	left: 0;
	image-rendering: pixelated;
}
body, html {
	background-color: #000;
	touch-action: pan-x pan-y;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	overflow: hidden;
	overscroll-behavior: none;
}

#mobile {
	pointer-events: none;
	display: none;
}
#mobile * {
	pointer-events: all;
}
@media (hover: none) {
	#mobile {
		display: block;
	}
}

button {
	border-radius: 50%;
	background-color: #fff5;
	border: 2px solid #fff9;
	box-shadow: 0 0 3px 3px #0007;
	text-shadow: 0 0 1px 1px #000;
	color: #fff;
	font-weight: bold;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	display: flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	z-index: 10;
}
#scanner {
	width: 80px;
	height: 80px;
	bottom: 5%;
	left: 5%;
}

#joystick {
	width: 110px;
	height: 110px;
	border-radius: 50%;
	background-color: #fff3;
	border: 2px solid #fff5;
	box-shadow: 0 0 3px 3px #0007;
	display: flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	z-index: 10;
	bottom: 5%;
	right: 5%;
}
#joystick button {
	width: 60px;
	height: 60px;
	position: relative;
}

#health {
	border-radius: 10px;
	background-color: #fff5;
	border: 2px solid #fff9;
	box-shadow: 0 0 3px 3px #0007;
	position: fixed;
	z-index: 10;
	top: 20px;
	left: 20px;
	width: 40%;
	height: 10px;
}
#health div {
	width: 100%;
	background-color: #f00;
	height: 100%;
	border-radius: 10px;
}