/* Mobile-first, deliberately plain. A design pass comes later. */

:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #16181d;
  --muted: #6b7280;
  --line: #e3e5ea;
  --accent: #1f6feb;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161a;
    --surface: #1c1f25;
    --text: #eceef2;
    --muted: #9aa1ad;
    --line: #2b2f37;
    --accent: #5b9bff;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0 1rem 3rem;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

.page-header,
main,
.page-footer {
  max-width: 44rem;
  margin: 0 auto;
}

.page-header {
  padding: 1.5rem 0 1rem;
}

h1 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

.subtitle {
  margin: 0.25rem 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
  user-select: none;
}

.filter input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  accent-color: var(--accent);
}

.competition {
  margin: 1.5rem 0 0;
}

.competition h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.matches {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  overflow: hidden;
}

.match {
  display: flex;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-top: 1px solid var(--line);
}

.match:first-child {
  border-top: none;
}

.kickoff {
  flex: 0 0 3.2rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.match-body {
  min-width: 0;
  flex: 1;
}

.fixture {
  margin: 0 0 0.3rem;
  font-weight: 600;
  overflow-wrap: break-word;
}

.channels {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* One channel per line */
.channel {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  line-height: 1.5;
}

.channel-free {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--accent);
}

.status {
  margin: 2rem 0;
  text-align: center;
  color: var(--muted);
}

.status.error {
  color: var(--text);
}

.page-footer {
  margin-top: 2.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}
