/* Touch controls (see touch-controls.js) */

.tc-root {
	position: fixed;
	inset: 0;
	pointer-events: none; /* only the buttons catch touches */
	z-index: 10;
}

.tc-button {
	position: absolute;
	width: 16vmin;
	height: 16vmin;
	padding: 0;
	border: 2px solid rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.8);
	font: 7vmin/1 monospace;
	pointer-events: auto;
	touch-action: none;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
	-webkit-tap-highlight-color: transparent;
}

.tc-button.tc-small {
	width: 10vmin;
	height: 10vmin;
	font-size: 4.5vmin;
}

.tc-button.tc-large {
	width: 20vmin;
	height: 20vmin;
	font-size: 9vmin;
}

.tc-button.tc-pressed {
	background: rgba(255, 255, 255, 0.3);
}

.tc-rotate-hint {
	display: none;
	position: absolute;
	inset: 0;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	background: #000;
	color: #fff;
	font: 1.3rem monospace;
	text-align: center;
	pointer-events: auto;
}

@media (orientation: portrait) {
	.tc-rotate-hint {
		display: flex;
	}
}
