/*
 * /overlay with no key — how to get the scoreboard onto a stream.
 *
 * An ordinary site page (unlike the overlay itself, which is a bare transparent
 * document), so it takes the site's theme tokens and inherits light/dark.
 */

.ovs {
  max-width: 60rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
  color: var(--text);
}

.ovs-hero {
  padding: 1rem 0 2rem;
  border-bottom: 1px solid var(--border);
}

.ovs-kicker {
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ovs-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
}

.ovs-lede {
  margin: 0;
  max-width: 44rem;
  color: var(--subtext);
  font-size: 1.05rem;
  line-height: 1.6;
}

.ovs-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.ovs-step {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 3.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
}

.ovs-num {
  position: absolute;
  top: 1.25rem;
  left: 1.15rem;
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-contrast);
  font-size: 0.85rem;
  font-weight: 800;
}

.ovs-step h2 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.ovs-step p {
  margin: 0;
  color: var(--subtext);
  font-size: 0.95rem;
  line-height: 1.55;
}

.ovs-options,
.ovs-note {
  margin: 2.5rem 0 0;
}

.ovs-options h2,
.ovs-note h2 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
}

.ovs-table {
  width: 100%;
  margin-top: 1rem;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
  font-size: 0.95rem;
}

.ovs-table th,
.ovs-table td {
  padding: 0.7rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.ovs-table th {
  background: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--subtext);
}

.ovs-table tr:last-child td {
  border-bottom: none;
}

.ovs-table td:first-child {
  white-space: nowrap;
}

.ovs code {
  padding: 0.15rem 0.4rem;
  border-radius: 0.3rem;
  background: var(--muted);
  border: 1px solid var(--border);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.ovs-note p {
  max-width: 44rem;
  color: var(--subtext);
  line-height: 1.6;
}

.ovs-soon {
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--warning);
  background: var(--muted);
  border-radius: 0 0.5rem 0.5rem 0;
}
