/*
 * Train easter egg — sprite-based animation along bottom of viewport.
 *
 * Hidden on touch/mobile (no hover users don't need decoration) and on users
 * with prefers-reduced-motion. Pointer-events: none — never blocks page.
 */

#bt-train-easter {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 32px;
	pointer-events: none;
	z-index: 1;
	overflow: hidden;
	user-select: none;
}

#bt-train-easter .bt-train {
	position: absolute;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: flex-end;
	height: 32px;
	will-change: transform;
	cursor: pointer;
	pointer-events: auto;
}

#bt-train-easter .bt-train__car {
	width: 32px;
	height: 32px;
	background-image: var(--bt-train-sprite-url);
	background-repeat: no-repeat;
	background-size: 640px 352px;
	image-rendering: pixelated;
	image-rendering: crisp-edges;
	flex-shrink: 0;
}

/* Hide on mobile (touch devices typically); also respect reduced motion */
@media (max-width: 1023px), (prefers-reduced-motion: reduce) {
	#bt-train-easter {
		display: none;
	}
}
