:root {
	color-scheme: light dark;
	--bg: #faf9f6;
	--fg: #1c1a24;
	--muted: #6d6a7a;
	--accent: #5b48d6;
	font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #14121c;
		--fg: #eceaf4;
		--muted: #9894a8;
		--accent: #8f7bff;
	}
}

* {
	box-sizing: border-box;
}

body {
	margin: 0 auto;
	max-width: 44rem;
	padding: 2rem 1.25rem 4rem;
	background: var(--bg);
	color: var(--fg);
	line-height: 1.5;
}

a {
	color: var(--accent);
}

header .site {
	color: inherit;
	text-decoration: none;
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: -0.01em;
}

main {
	margin-top: 1.5rem;
}

.muted {
	color: var(--muted);
}

figure {
	margin: 1.5rem 0;
}

figure a {
	color: inherit;
	text-decoration: none;
}

figure img {
	width: 100%;
	max-width: 100%;
	border-radius: 12px;
	display: block;
}

figcaption {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 0.4rem;
}

figcaption time {
	color: var(--muted);
}

.skipped {
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background: color-mix(in srgb, var(--muted) 12%, transparent);
	border-radius: 12px;
	color: var(--muted);
	padding: 1rem;
	text-align: center;
}

.grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
	gap: 1rem;
}

.grid figure {
	margin: 0;
}

.grid img,
.grid .skipped {
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 8px;
}

.grid figcaption {
	flex-direction: column;
	gap: 0;
	font-size: 0.85rem;
}

table {
	border-collapse: collapse;
}

table th {
	text-align: left;
	color: var(--muted);
	font-weight: normal;
	padding-right: 1.5rem;
}

footer {
	margin-top: 3rem;
	border-top: 1px solid color-mix(in srgb, var(--muted) 25%, transparent);
	padding-top: 1rem;
}
