:root {
--bg: #0f1114;
--panel: #171a1f;
--panel-hover: #1d2128;
--border: #262b33;
--text: #e8eaed;
--muted: #8b93a1;
--accent: #8bff70;
--accent-ink: #0b1a08;
--danger: #ff5c5c;
--radius: 12px;
--font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body {
margin: 0;
background: var(--bg);
color: var(--text);
font-family: var(--font);
font-size: 14px;
line-height: 1.4;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.brand {
display: flex;
align-items: center;
gap: 10px;
font-weight: 800;
letter-spacing: 0.02em;
color: var(--text);
}
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.brand .sub { font-weight: 500; color: var(--muted); }
.btn {
appearance: none;
border: 1px solid var(--border);
background: var(--panel);
color: var(--text);
font: inherit;
font-weight: 600;
padding: 7px 12px;
border-radius: 8px;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 6px;
}
.btn:hover { background: var(--panel-hover); border-color: #343b46; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.primary:hover { filter: brightness(1.08); }
.groups { display: flex; flex-direction: column; gap: 24px; }
.groups.list { gap: 10px; }
.group h2 {
margin: 0 0 10px;
font-size: 12px;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--muted);
}
.groups.list .group h2 { margin-bottom: 5px; font-size: 11px; }
.cards { display: grid; gap: 12px; }
.cards.grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.cards.list { grid-template-columns: 1fr; gap: 8px; }
.card {
display: flex;
text-align: left;
width: 100%;
background: var(--panel);
border: 1px solid var(--border);
border-radius: var(--radius);
color: inherit;
font: inherit;
padding: 0;
cursor: pointer;
overflow: hidden;
transition: transform 120ms ease, border-color 120ms ease, background 120ms ease;
}
.card:hover { transform: translateY(-2px); border-color: var(--accent); background: var(--panel-hover); }
.card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.card .thumb {
flex: none;
display: grid;
place-items: center;
background: #0b0d10;
}
.card .thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.card .body { padding: 10px 12px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.card .title { font-weight: 700; font-size: 15px; }
.card .blurb { color: var(--muted); }
.card .away { color: var(--muted); font-size: 12px; margin-left: 5px; vertical-align: 1px; }
.card .credit { color: var(--muted); font-size: 11px; margin-top: auto; padding-top: 6px; }
.card .live { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; color: var(--muted); }
.card .live::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #4a515c; }
.card .live.on { color: var(--accent); }
.card .live.on::before { background: var(--accent); box-shadow: 0 0 0 3px rgba(139, 255, 112, 0.18); }
.card .live.off::before { background: var(--danger); }
.cards.grid .card { flex-direction: column; }
.cards.grid .thumb { width: 100%; aspect-ratio: 16 / 10; padding: 14px; }
.cards.grid .thumb img { max-height: 100%; }
.cards.list { gap: 5px; }
.cards.list .card { flex-direction: row; align-items: stretch; }
.cards.list .thumb { width: 46px; padding: 5px; }
.cards.list .body { padding: 5px 10px; justify-content: center; gap: 1px; }
.cards.list .title { font-size: 14px; }
.cards.list .blurb { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cards.list .live { font-size: 12px; margin-top: 0; }
.cards.list .card:has(.live) .blurb { display: none; }
.cards.list .credit { display: none; }
