html, body {
	margin: 0;
	-webkit-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
	-webkit-tap-highlight-color: transparent;
}

* {
	-webkit-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
}

img, canvas {
	-webkit-user-drag: none;
}

#canvasContainer {
	position: relative;
}

#canvasContainer canvas {
	touch-action: none;
	user-select: none;
}

/* JOYPAD */
#joypad {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 145px;
}

#joypad .top {
	text-align: center;
	width: inherit;
}

#joypad .bottom {
	width: inherit;
}

.net-status {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 20;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 6px;
	background: rgba(20, 23, 28, 0.82);
	color: #f4efe6;
	font-family: ui-sans-serif, system-ui, sans-serif;
	font-size: 13px;
	pointer-events: none;
}

.net-status-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #9aa3b2;
}

.net-status-count {
	color: #9aa3b2;
}

.net-status.is-connected .net-status-dot {
	background: #22c55e;
}

.net-status.is-connecting .net-status-dot,
.net-status.is-reconnecting .net-status-dot {
	background: #eab308;
}

.net-status.is-disconnected .net-status-dot {
	background: #ef4444;
}

.maze-select {
	position: absolute;
	top: 52px;
	right: 12px;
	z-index: 21;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 8px;
	border-radius: 6px;
	background: rgba(20, 23, 28, 0.82);
	font-family: ui-sans-serif, system-ui, sans-serif;
}

.maze-select button,
.maze-select select {
	border: 0;
	border-radius: 4px;
	background: #2a313c;
	color: #f4efe6;
	font: inherit;
	font-size: 13px;
	padding: 6px 8px;
	cursor: pointer;
}

.maze-select button:hover,
.maze-select select:hover {
	background: #3a4250;
}

.maze-select select {
	min-width: 88px;
}

.mic-status {
	position: absolute;
	bottom: 16px;
	left: 16px;
	z-index: 20;
	padding: 8px 12px;
	border-radius: 6px;
	background: rgba(20, 23, 28, 0.82);
	color: #c5ccd6;
	font-family: ui-sans-serif, system-ui, sans-serif;
	font-size: 13px;
	pointer-events: none;
}

.mic-status.is-live {
	color: #f4efe6;
	background: rgba(22, 101, 52, 0.88);
}

.mic-status.is-muted {
	color: #f4efe6;
	background: rgba(80, 28, 28, 0.88);
}

.name-prompt {
	position: fixed;
	inset: 0;
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(10, 12, 16, 0.72);
}

.name-prompt,
.name-prompt input,
.name-prompt button {
	-webkit-user-select: text;
	user-select: text;
}

.name-prompt-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 280px;
	padding: 22px 24px;
	border-radius: 8px;
	background: rgba(20, 23, 28, 0.94);
	color: #f4efe6;
	font-family: ui-sans-serif, system-ui, sans-serif;
}

.name-prompt-card h1 {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
}

.name-prompt-card input {
	border: 0;
	border-radius: 4px;
	background: #2a313c;
	color: #f4efe6;
	font: inherit;
	font-size: 16px;
	padding: 10px 12px;
}

.name-prompt-card button {
	border: 0;
	border-radius: 4px;
	background: #3a7d4a;
	color: #f4efe6;
	font: inherit;
	font-size: 15px;
	padding: 10px 12px;
	cursor: pointer;
}

.name-prompt-card button:hover {
	background: #459356;
}