* { box-sizing: border-box; }
html, body {
	margin: 0;
	min-height: 100%;
	background: #111;
	color: #eee;
	font-family: system-ui, -apple-system, "Segoe UI", "Malgun Gothic", sans-serif;
}
h1 { text-align: center; }
.grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 32px 16px;
}
.card {
	display: flex;
	flex-direction: column;
	background: #1c1c1c;
	border-radius: 10px;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease;
}
a.card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
}
.thumb {
	aspect-ratio: 16 / 9;
	background: #2a2a2a;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #666;
	font-size: 14px;
}
.thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.title {
	padding: 12px 14px;
	font-size: 16px;
	font-weight: 600;
}
.card.empty .title { color: #777; }
@media (max-width: 800px) {
	.grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 500px) {
	.grid { grid-template-columns: 1fr; }
}
