:root {
	--bg: #0b1020;
	--card: #121a36;
	--text: #e8ecf4;
	--muted: #9aa3b2;
	--accent: #5b8cff;
	--border: #1c2547;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
	margin: 0;
	font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
	background: linear-gradient(180deg, var(--bg), #080c1a 60%);
	color: var(--text);
}

.container {
	max-width: 1080px;
	margin: 0 auto;
	padding: 24px 16px;
}

header.container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

h1 { font-size: 22px; margin: 0; }
h2 { font-size: 18px; margin: 0 0 12px; }
small { color: var(--muted); font-weight: normal; }

nav a {
	color: var(--text);
	text-decoration: none;
	background: transparent;
	border: 1px solid var(--border);
	padding: 6px 10px;
	border-radius: 8px;
	transition: 120ms ease-in-out;
}

nav a:hover { border-color: var(--accent); color: var(--accent); }

.grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
}

.card {
	background: linear-gradient(180deg, var(--card), #0e1530);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 16px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 12px; }
.list li { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; }
.list img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); background: #0a0f22; }
.list .content { display: grid; gap: 4px; }
.list .title { font-weight: 700; line-height: 1.2; }
.list .desc { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.list .muted { color: var(--muted); font-size: 12px; }

.btn {
	appearance: none;
	background: transparent;
	border: 1px solid var(--border);
	color: var(--text);
	padding: 6px 10px;
	border-radius: 8px;
	cursor: pointer;
	transition: 120ms ease-in-out;
	font-size: 13px;
}

.btn:hover { border-color: var(--accent); color: var(--accent); }

.footer { color: var(--muted); font-size: 12px; }

code { background: rgba(255,255,255,0.06); padding: 2px 6px; border-radius: 6px; border: 1px solid var(--border); }

.pill {
	display: inline-block;
	border: 1px solid var(--border);
	background: rgba(255,255,255,0.04);
	padding: 6px 10px;
	border-radius: 999px;
	margin: 4px 6px 0 0;
}

.link { color: var(--accent); text-decoration: none; }
.link:hover { text-decoration: underline; }


