:root {
  --bg: #f4f4f5;
  --ink: #18181b;
  --muted: #71717a;
  --line: #e4e4e7;
  --card: #ffffff;
  color-scheme: light;
  background: var(--bg);
  color: var(--ink);
  font-family: "Geist", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { min-height: 100vh; background: #efeff1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: #18181b; color: #fff; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 8;
}
.skip:focus { top: 12px; }

.sheet {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 56px;
}

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 -16px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.brand span { color: var(--muted); font-weight: 500; }
.live {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.8rem;
}
.live b { color: var(--ink); font-weight: 600; }
.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
}
.search { margin-left: auto; }
.search input {
  width: 200px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  outline: none;
}
.search input:focus { border-color: #a1a1aa; }
.search input::placeholder { color: #a1a1aa; }
.back {
  margin-left: auto;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.intro { padding: 18px 0 14px; }
.intro-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 18px;
}
.lead {
  margin: 8px 0 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}
.intro h1,
.legal h1,
.stage-copy h1,
.empty h1 {
  margin: 0;
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
}
.prose {
  margin: 16px 0 0;
  color: #3f3f46;
  font-size: 0.98rem;
  line-height: 1.62;
}
.prose p { margin: 0 0 0.85em; }
.prose p:last-child { margin-bottom: 0; }

.about {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.about .prose { margin-top: 0; }
.sources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}
.sources a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  background: transparent;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
}
.sources a em { font-style: normal; color: #a1a1aa; }
.sources a.on {
  background: var(--ink);
  color: #fff;
}
.sources a.on em { color: #d4d4d8; }

.wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 10px;
}
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}
.pager a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.shot {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  background: #e4e4e7;
  box-shadow: 0 1px 2px rgba(24, 24, 27, 0.08);
}
.shot img, .fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.shot img { transition: opacity 0.2s ease; }
.card:hover .shot img { opacity: 0.92; }
.shot::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
  pointer-events: none;
}
.fallback {
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--muted);
}
.shot-meta {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
}
.caption {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 8px 2px 0;
  color: inherit;
  text-decoration: none;
}
.card-cta {
  align-self: flex-start;
  margin-top: 8px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 600;
}
.card-cta:hover { background: #000; }
.caption strong {
  font-size: 0.9rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.caption span { color: var(--muted); font-size: 0.75rem; }

.notice, .empty { color: var(--muted); }
.empty { padding: 24px 0; }
.empty a, .legal a { color: var(--ink); }
.legal { max-width: 66ch; padding: 8px 0 20px; }
.legal h1 { margin: 20px 0 12px; }
.legal h2, .more h2 {
  margin: 28px 0 8px;
  font-size: 1.05rem;
  font-weight: 600;
}
.legal p, .subject { line-height: 1.55; color: var(--muted); }
.more { margin-top: 36px; }

.faq {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.faq h2 {
  margin: 0 0 18px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.faq-list {
  display: grid;
  gap: 22px 40px;
}
.faq h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.faq p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.colophon {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #a1a1aa;
  font-size: 0.75rem;
}
.colophon-row, .network { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.colophon a { color: var(--muted); text-decoration: none; }
.network { margin-top: 8px; }

.stage {
  display: grid;
  gap: 20px;
  padding-top: 16px;
}
.player {
  position: relative;
  background: #111;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.player iframe, .poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.poster { z-index: 0; transition: opacity 0.2s ease; }
.player iframe { z-index: 1; background: #111; pointer-events: none; }
.player-open {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 12px;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent 42%);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}
.player-open:hover { background: linear-gradient(to top, rgba(0, 0, 0, 0.62), transparent 50%); }
.player.is-live .poster { opacity: 0; pointer-events: none; }
.stage-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 600;
}
.cta:hover { background: #000; }
.room-note { max-width: 62ch; margin-top: 16px; color: #3f3f46; line-height: 1.55; }
.room-note p { margin: 0 0 0.75em; }
.kicker {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}
.stage-viewers { margin: 8px 0 0; color: var(--muted); }
.stage-viewers b { color: var(--ink); }
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 18px;
  padding: 0;
  list-style: none;
}
.tag-row li {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.75rem;
  color: var(--muted);
}
.gate button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 550;
}
.float-cta {
  position: fixed;
  z-index: 6;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  white-space: nowrap;
}
.float-cta:hover { background: #000; }
.sheet:has(.float-cta) { padding-bottom: 88px; }

.gate {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--bg);
}
html.age-ok .gate { display: none; }
.gate-card {
  width: min(380px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.gate-card h2 {
  margin: 18px 0 8px;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.gate-card p { margin: 0; color: var(--muted); line-height: 1.45; }
.gate-actions { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.leave { color: var(--muted); font-size: 0.9rem; }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

@media (min-width: 760px) {
  .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 12px; }
}

@media (min-width: 760px) {
  .prose { columns: 2; column-gap: 36px; }
  .prose p { break-inside: avoid; }
  .faq-list { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1100px) {
  .wall { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .stage { grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.7fr); align-items: start; }
}

@media (max-width: 720px) {
  .sheet { width: min(100% - 24px, 1280px); }
  .top { margin: 0 -12px; padding-left: 12px; padding-right: 12px; flex-wrap: wrap; }
  .search { order: 3; width: 100%; margin-left: 0; }
  .search input { width: 100%; }
  .intro-row { align-items: flex-start; flex-direction: column; }
}
