:root {
  color-scheme: dark;
  --ink: #14110e;
  --paper: #f6f1e8;
  --card: #fffaf3;
  --line: #e4d8c8;
  --amber: #9a5b12;
  --amber-deep: #6e3e09;
  --live: #0f6e56;
  --text: #241c14;
  --muted: #5e5146;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at top left, #fff 0, transparent 28%),
    var(--paper);
}

.zl-skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--ink);
  color: white;
  padding: 0.4rem 0.7rem;
}

.zl-skip:focus { top: 0.75rem; }

.zl-top, .zl-hero, .zl-grid, .zl-section, .zl-foot {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.zl-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  padding: 1rem 0;
}

.zl-brand {
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
  letter-spacing: -0.03em;
  font-size: 1.25rem;
}

.zl-brand span { color: var(--amber); }

.zl-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.zl-nav a { color: var(--muted); text-decoration: none; }
.zl-nav a:hover { color: var(--ink); }

.zl-free {
  margin-left: auto;
  background: #efe2cf;
  color: var(--amber-deep);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 680;
}

.zl-hero { padding: 1.5rem 0 0.5rem; }

.zl-kicker, .zl-card-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--amber);
  font-weight: 700;
  margin: 0 0 0.35rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0;
}

.zl-lead, .zl-note, .zl-foot p { color: var(--muted); max-width: 42rem; }

.zl-hero-actions, .zl-form { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: end; }

.zl-btn {
  appearance: none;
  border: 0;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font: inherit;
  font-weight: 680;
  text-decoration: none;
  cursor: pointer;
}

.zl-btn-quiet { background: transparent; color: var(--ink); border: 1px solid var(--line); }

.zl-btn:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible {
  outline: 3px solid #e0a15a;
  outline-offset: 2px;
}

.zl-grid, .zl-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.zl-grid { margin: 1.5rem auto; }

.zl-card, .zl-slot {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  box-shadow: 0 10px 30px rgba(36, 28, 20, 0.04);
}

.zl-time, .zl-count { font-variant-numeric: tabular-nums; }

.zl-count { font-size: 1.4rem; font-weight: 720; }

.zl-section { margin-bottom: 2rem; }

.zl-section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: end;
  justify-content: space-between;
}

.zl-channel {
  display: grid;
  gap: 0.35rem;
  text-align: left;
  border-top: 4px solid var(--amber);
}

.zl-channel.is-selected { outline: 2px solid var(--ink); }

.zl-channel h3 { margin: 0; }

.zl-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.zl-pill::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--muted);
}

.zl-pill.is-live { color: var(--live); }
.zl-pill.is-live::before { background: var(--live); }

.zl-watch { justify-self: start; }

.zl-form label { display: grid; gap: 0.3rem; font-size: 0.92rem; min-width: min(100%, 220px); }

input, select {
  font: inherit;
  padding: 0.65rem 0.7rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
  color: var(--text);
}

.zl-status { min-height: 1.2rem; }
.zl-live { color: var(--live); font-weight: 720; }
.zl-foot { padding-bottom: 2rem; }

@media (max-width: 720px) {
  .zl-free { margin-left: 0; }
  .zl-top, .zl-hero, .zl-grid, .zl-section, .zl-foot { width: min(1120px, calc(100% - 1.25rem)); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}
