:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f8;
  --ink: #16181d;
  --ink-dim: #6b7280;
  --ink-faint: #9aa1ab;
  --line: #e4e6ea;
  --line-soft: #eef0f2;
  --accent: #1f2937;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- masthead --- */

.masthead {
  border-bottom: 1px solid var(--line);
  padding: 34px 0 26px;
  margin-bottom: 32px;
}

.masthead h1 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.masthead p {
  margin: 0;
  max-width: 60ch;
  color: var(--ink-dim);
  font-size: 14px;
}

/* --- stage --- */

.stage {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 24px;
  align-items: start;
  margin-bottom: 44px;
}

.player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0f1115;
  border: 1px solid var(--line);
  overflow: hidden;
}

.player video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stage-meta h2 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.facts > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
}

.facts dt {
  color: var(--ink-dim);
  font-size: 13px;
}

.facts dd {
  margin: 0;
  font-size: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

#now-status { color: #2f6b3a; }

/* --- section label --- */

.section-label {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
}

/* --- grid --- */

.grid {
  list-style: none;
  margin: 0 0 52px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
}

.card {
  border: 1px solid var(--line);
  background: var(--bg);
  cursor: pointer;
  transition: border-color .12s ease;
}

.card:hover,
.card:focus-visible { border-color: var(--accent); }

.card[aria-current="true"] { border-color: var(--accent); }

.thumb {
  aspect-ratio: 16 / 9;
  background: var(--bg-soft);
  overflow: hidden;
}

.thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-title {
  font-size: 14px;
  font-weight: 500;
}

.card-sub {
  font-size: 12.5px;
  color: var(--ink-dim);
}

/* --- notes --- */

.notes { margin-bottom: 56px; }

.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.notes-grid h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
}

.notes-grid p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-dim);
  max-width: 46ch;
}

/* --- footer --- */

.foot {
  border-top: 1px solid var(--line);
  padding: 20px 0 40px;
  font-size: 12.5px;
}

.foot .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.dim {
  color: var(--ink-faint);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* --- responsive --- */

@media (max-width: 760px) {
  .stage {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .wrap { padding: 0 18px; }
  .masthead { padding: 26px 0 20px; margin-bottom: 26px; }
}
