@font-face {
	font-family: "ZList Counter";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/bangers-latin.woff2") format("woff2");
}

.z-list-visitors-footer {
	position: relative;
	z-index: 30;
	width: 100%;
	max-width: none;
	overflow: visible;
	border-top: 0;
	background: transparent;
	padding: clamp(10px, 2vw, 22px) 16px;
	pointer-events: none;
}

/* Let the site's animated backdrop show through the main shell. */
body .site-shell {
	background: transparent !important;
}

/* Remove the home page's opaque stage panel so the animated backdrop is continuous. */
body .home-stage {
	background: transparent !important;
}

body .home-stage::before,
body .home-stage::after {
	background: none !important;
}

/* Keep the animated backdrop continuous on the game pages as well. */
body .portal-shell {
	background: transparent !important;
}

body .portal-shell::before,
body .portal-shell::after {
	background: none !important;
}

/* The colored logo hover layers contain a stray vertical artifact in Firefox. */
body .home-logo-base {
	opacity: 1 !important;
}

body .home-logo-tint {
	opacity: 0 !important;
}

.z-list-visitors-inner {
	display: flex;
	width: fit-content;
	margin: 0 auto;
	align-items: center;
	justify-content: center;
	gap: 0;
	filter: drop-shadow(0 0 9px rgb(0 0 0 / 92%)) drop-shadow(0 4px 12px rgb(0 0 0 / 76%));
	transform: translateX(clamp(-22px, -1.5vw, -8px));
}

.z-list-visitors-label-frame {
	position: relative;
	display: block;
	flex: 0 1 auto;
	width: clamp(130px, 22vw, 280px);
	aspect-ratio: 1789 / 879;
	overflow: hidden;
	margin-right: clamp(-21px, -1.7vw, -8px);
}

.z-list-visitors-label {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.z-list-visitors-count {
	position: relative;
	z-index: 1;
	display: inline-block;
	flex: 0 0 auto;
	min-width: 2ch;
	color: #fffdf4;
	font-family: "ZList Counter", Impact, Haettenschweiler, "Arial Black", sans-serif;
	font-size: clamp(1.8rem, 4.5vw, 3.7rem);
	font-weight: 400;
	letter-spacing: 0.035em;
	line-height: 0.8;
	text-align: left;
	text-shadow:
		-1px 0 0 #5de5ff,
		1px 0 0 #ff8869,
		0 0 7px rgb(0 0 0 / 96%),
		0 4px 11px rgb(0 0 0 / 82%);
	white-space: nowrap;
}

@media (max-width: 560px) {
	.z-list-visitors-footer {
		padding-inline: 6px;
	}

	.z-list-visitors-label-frame {
		width: min(36vw, 180px);
		margin-right: -10px;
	}

	.z-list-visitors-count {
		font-size: clamp(1.55rem, 6vw, 2.35rem);
		letter-spacing: 0.02em;
	}

	.z-list-visitors-inner {
		transform: translateX(-8px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.z-list-visitors-count {
		transition: none;
	}
}
