<script lang="ts">
	// Compact skeleton loading component for MatchCard
</script>

<div class="block">
	<div
		class="overflow-hidden rounded-lg border border-l-4 border-white/10 border-l-white/20 bg-void-light"
	>
		<!-- Map Header Skeleton - Compact -->
		<div class="relative h-20 overflow-hidden bg-void-light">
			<div class="absolute inset-0 animate-pulse bg-white/5"></div>
			<div class="absolute inset-0 bg-gradient-to-t from-void via-void/70 to-transparent"></div>
			<div class="relative flex h-full items-end justify-between p-2">
				<div class="h-4 w-20 animate-pulse rounded bg-white/15"></div>
				<div class="flex items-center gap-1">
					<div class="h-4 w-8 animate-pulse rounded-full bg-white/10"></div>
					<div class="h-4 w-4 animate-pulse rounded-full bg-white/10"></div>
				</div>
			</div>
		</div>

		<!-- Match Info Skeleton - Compact -->
		<div class="flex items-center justify-between px-3 py-2">
			<div class="flex items-center gap-2">
				<div class="h-5 w-6 animate-pulse rounded bg-white/10"></div>
				<span class="text-white/20">-</span>
				<div class="h-5 w-6 animate-pulse rounded bg-white/10"></div>
			</div>
			<div class="flex items-center gap-3">
				<div class="h-3 w-16 animate-pulse rounded bg-white/10"></div>
				<div class="h-3 w-8 animate-pulse rounded bg-white/10"></div>
			</div>
		</div>
	</div>
</div>
