:root {
  --bg: #0b0e13;
  --card: #151a22;
  --text: #e8edf5;
  --muted: #8b95a5;
  --live: #2ecc71;
  --off: #55606f;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}
header { padding: 28px 20px 12px; max-width: 1400px; margin: 0 auto; }
header h1 { margin: 0; font-size: 26px; letter-spacing: -0.02em; }
header p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.grid {
  max-width: 1400px; margin: 0 auto; padding: 20px;
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.cam {
  background: var(--card); border-radius: 12px; overflow: hidden;
  text-decoration: none; color: inherit; display: block;
  border: 1px solid #222a35; transition: transform .12s ease, border-color .12s ease;
}
.cam:hover { transform: translateY(-2px); border-color: #33405288; }
.cam .thumb { position: relative; aspect-ratio: 8 / 3; background: #000; }
.cam .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cam .meta { padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cam .name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge {
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  padding: 3px 8px; border-radius: 999px; white-space: nowrap;
}
.badge.live { background: #123722; color: var(--live); }
.badge.live::before { content: "● "; }
.badge.offline { background: #1d2129; color: var(--off); }
.empty { max-width: 1400px; margin: 0 auto; padding: 40px 20px; color: var(--muted); }
.muted { color: var(--muted); }

#partidos-vod { max-width: 1400px; margin: 0 auto; padding: 0 20px 40px; }
#partidos-vod h2 { margin: 0 0 12px; font-size: 20px; letter-spacing: -0.01em; }
.vod-card {
  background: var(--card); border-radius: 12px; padding: 14px 16px;
  text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 6px;
  border: 1px solid #222a35; transition: transform .12s ease, border-color .12s ease;
}
.vod-card:hover { transform: translateY(-2px); border-color: #33405288; }
.vod-card .badge { align-self: flex-start; }
