@font-face {
	font-family: "ZSPixel";
	src: url("zspixel.ttf") format("truetype");
	font-display: block;
}
#zs-loader {
	position: fixed;
	inset: 0;
	z-index: 10;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 24px;
	background: #000;
	color: #6f3;
	font-family: "ZSPixel", monospace;
	transition: opacity 0.3s;
}
#zs-loader.done { opacity: 0; pointer-events: none; }
#zs-loader .zs-title {
	font-size: clamp(16px, 8vw, 32px);
	white-space: nowrap;
	letter-spacing: 4px;
	text-shadow: 4px 4px 0 #142;
}
#zs-loader .zs-bar {
	position: relative;
	width: 192px;
	height: 12px;
	border: 4px solid #6f3;
	padding: 4px;
}
#zs-loader .zs-fill {
	height: 100%;
	width: 0;
	background: repeating-linear-gradient(90deg, #6f3 0 8px, transparent 8px 12px);
}
#zs-loader .zs-zombie {
	position: absolute;
	bottom: 24px;
	left: 0;
	width: 24px;
	height: 24px;
	margin-left: -8px;
	background: url("images/zombie-sheet0.png") 0 0 / 24px 24px;
	image-rendering: pixelated;
	animation: zs-shamble 0.6s steps(2) infinite;
}
#zs-loader .zs-msg {
	font-size: 8px;
	transform: scale(2);
	color: #9c9;
	animation: zs-blink 1s steps(2) infinite;
}
@keyframes zs-shamble { 50% { transform: translateY(-2px) rotate(-8deg); } }
@keyframes zs-blink { 50% { opacity: 0.3; } }
