#splash {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: linear-gradient(to bottom right, var(--color-bg-start, #1771cc), var(--color-bg-end, #0f3d92));
	transition: opacity 250ms ease-out;
}
#splash.splash-done {
	opacity: 0;
	pointer-events: none;
}
#splash h1 {
	position: relative;
	z-index: 2;
	margin: 24px 0 0;
	font-family: var(--user-font, 'Sniglet'), sans-serif;
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--color-text, #fff);
	text-shadow: 0 3px 12px #00000025;
}
#splash img {
	position: relative;
	z-index: 1;
	width: 132px;
	height: 132px;
	transform-origin: 50% 100%;
	animation: splash-jump 0.9s infinite;
}
#splash .splash-shadow {
	width: 110px;
	height: 14px;
	margin-top: -4px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.3);
	animation: splash-shadow 0.9s infinite;
}
@keyframes splash-jump {
	0% {
		transform: translateY(0) scale(1.22, 0.78);
		animation-timing-function: ease-out;
	}
	12% {
		transform: translateY(0) scale(0.97, 1.03);
		animation-timing-function: cubic-bezier(0.25, 0.6, 0.4, 1);
	}
	48% {
		transform: translateY(-100px) scale(1, 1);
		animation-timing-function: cubic-bezier(0.6, 0, 0.75, 0.4);
	}
	82% {
		transform: translateY(0) scale(1, 1);
		animation-timing-function: ease-out;
	}
	90%,
	100% {
		transform: translateY(0) scale(1.22, 0.78);
	}
}
@keyframes splash-shadow {
	0% {
		transform: scaleX(1.22);
		opacity: 1;
		animation-timing-function: ease-out;
	}
	12% {
		transform: scaleX(0.97);
		opacity: 1;
		animation-timing-function: cubic-bezier(0.25, 0.6, 0.4, 1);
	}
	48% {
		transform: scale(0.55, 0.7);
		opacity: 0.4;
		animation-timing-function: cubic-bezier(0.6, 0, 0.75, 0.4);
	}
	82% {
		transform: scaleX(1);
		opacity: 1;
		animation-timing-function: ease-out;
	}
	90%,
	100% {
		transform: scaleX(1.22);
		opacity: 1;
	}
}
@media (prefers-reduced-motion: reduce) {
	#splash img,
	#splash .splash-shadow {
		animation: none;
	}
}
