html {
	-ms-touch-action: none;
}

body,
canvas,
div {
	display: block;
	outline: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	-khtml-user-select: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

body {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	margin: 0;
	cursor: default;
	color: #888;
	background-color: #333;
	text-align: center;
	font-family: Helvetica, Verdana, Arial, sans-serif;
	display: flex;
	flex-direction: column;
}

canvas {
	background-color: rgba(0, 0, 0, 0);
}

#GameDiv,
#Cocos3dGameContainer,
#GameCanvas {
	width: 100%;
	height: 100%;
}

:root {
	--safe-top: env(safe-area-inset-top);
	--safe-right: env(safe-area-inset-right);
	--safe-bottom: env(safe-area-inset-bottom);
	--safe-left: env(safe-area-inset-left);
}

@keyframes animate-stripes {
	0% {
		background-position: 0 0;
	}

	100% {
		background-position: 60px 0;
	}
}

#splash {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 10;
}

#splash-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	z-index: 0;
	pointer-events: none;
}

#logo {
	position: absolute;
	left: 50%;
	top: 32%;
	transform: translate(-50%, -50%);
	max-width: 50vw;
	height: auto;
	display: block;
}

#splash-container {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 20%;
	display: flex;
	align-items: center;
	gap: 10px;
	z-index: 10;
}

#progress-bg-container {
	width: 254px;
	height: 20px;
	overflow: hidden;
	position: relative;
}

#progress-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 99%;
	top: 50%;
	transform: translateY(-50%);
}

#progress-fill-container {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0;
	overflow: hidden;
}

#progress-fill {
	padding-left: 2px;
	padding-right: 2px;
	margin-top: 2px;
	width: auto;
	height: auto;
}

#age-rating {
	position: absolute;
	right: 5%;
	bottom: 5%;
	width: 48px;
	height: auto;
	display: block;
	z-index: 11;
	pointer-events: none;
}
