:root {
  --bg: #0c0c0f;
  --card: #17171c;
  --text: #f4f4f5;
  --muted: #9b9ba6;
  --line: rgba(255, 255, 255, 0.08);
  --chip: #24242c;
  color-scheme: dark;
  font-family: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { min-height: 100vh; background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: #f4f4f5; color: #111114; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: #fff;
  color: #111;
  padding: 8px 12px;
  z-index: 6;
}
.skip:focus { top: 12px; }

html:not(.age-ok) .sheet { visibility: hidden; }

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

.mast {
  position: sticky;
  top: 0;
  z-index: 4;
  margin: 0 -16px;
  padding: 14px 16px 12px;
  background: rgba(12, 12, 15, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.mast-top {
  display: flex;
  align-items: center;
  gap: 18px;
}
.mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.05em;
  text-decoration: none;
  color: var(--text);
}
.mark img {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  object-fit: cover;
}
.mark .word { display: inline-flex; }
.mark .cam { color: #a78bfa; font-weight: 650; }
.dateline {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}
.dateline b { color: var(--text); }
.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
  animation: beat 1.8s ease-out infinite;
}
@keyframes beat {
  70% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.find { margin-left: auto; }
.find input {
  width: 200px;
  background: var(--chip);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 14px;
  outline: none;
}
.find input:focus { border-color: rgba(255, 255, 255, 0.2); }
.find input::placeholder { color: #6f6f7a; }

.tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.sort, .sources {
  display: flex;
  gap: 6px;
  align-items: center;
}
.sort { overflow-x: auto; scrollbar-width: none; }
.sort::-webkit-scrollbar { display: none; }
.sort a, .sources a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
  color: var(--muted);
  background: transparent;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.82rem;
  font-weight: 600;
}
.sort a em, .sources a em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  color: #6f6f7a;
}
.sort a.on, .sources a.on {
  background: #f4f4f5;
  color: #111114;
}
.sort a.on em, .sources a.on em { color: #52525b; }
.sources .hd {
  border: 1px solid var(--line);
  padding: 5px 10px;
}
.sources .hd.on {
  background: #f4f4f5;
  color: #111114;
  border-color: #f4f4f5;
}

.page-title {
  margin: 18px 0 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}

.wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 12px;
}

.card {
  display: block;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  background: var(--card);
  overflow: hidden;
}
.card:hover { background: #1e1e26; }
.frame {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: #101014;
  overflow: hidden;
}
.frame img, .fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.card:hover .frame img { transform: scale(1.035); }
.frame img { transition: transform 0.45s ease; }
.fallback {
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--muted);
}
.frame .watchers, .frame .hd {
  position: absolute;
  top: 8px;
  border-radius: 999px;
  background: rgba(12, 12, 15, 0.72);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 650;
  padding: 3px 8px;
  backdrop-filter: blur(8px);
}
.watchers { left: 8px; }
.hd { right: 8px; letter-spacing: 0.04em; }
.label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 10px 12px 12px;
}
.label strong {
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.facts {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 550;
}

.notice, .empty { padding: 12px 0 4px; color: var(--muted); }
.empty a, .legal a, .back { color: #c4b5fd; }
.note {
  margin-top: 36px;
  max-width: 62ch;
  color: var(--muted);
}
.note h2, .legal h2, .more h2 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 650;
  color: var(--text);
}
.note p, .legal p { line-height: 1.55; }

.colophon {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #6f6f7a;
  font-size: 0.78rem;
}
.colophon-row, .network { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.colophon a { color: var(--muted); text-decoration: none; }
.network { margin-top: 8px; }

.legal { max-width: 68ch; padding: 28px 0; }
.legal h1, .stage-copy h1, .empty h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.045em;
  font-weight: 700;
}
.legal-mast, .room-mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.back { text-decoration: none; font-weight: 600; font-size: 0.9rem; }

.stage {
  display: grid;
  gap: 22px;
}
.player {
  position: relative;
  background: #000;
  border-radius: 16px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.player iframe, .sc-mount, .poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.sc-mount { z-index: 1; }
.stage-viewers { color: var(--muted); }
.stage-viewers b { color: var(--text); }
.subject { color: var(--muted); line-height: 1.45; }
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
  padding: 0;
  list-style: none;
}
.tag-row li {
  background: var(--chip);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.75rem;
  color: var(--muted);
}
.open, .gate button, .mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #f4f4f5;
  color: #111114;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 700;
}
.open:hover, .gate button:hover, .mobile-cta:hover { background: #fff; }
.more { margin-top: 36px; }
.mobile-cta { display: none; }

.gate {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: var(--bg);
  display: grid;
  place-items: center;
  padding: 24px;
}
html.age-ok .gate { display: none; }
.gate-card { width: min(420px, 100%); }
.gate-mark {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}
.gate-mark img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
}
.gate-mark .word { display: inline-flex; }
.gate-mark .cam { color: #a78bfa; }
.gate-kicker {
  margin: 22px 0 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--muted);
}
.gate h1 {
  font-size: 4.5rem;
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin: 6px 0 8px;
}
.gate p { color: var(--muted); line-height: 1.5; }
.gate button { margin-top: 8px; }
.leave {
  display: inline-block;
  margin-left: 14px;
  color: var(--muted);
}

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid #a78bfa;
  outline-offset: 3px;
}

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

@media (max-width: 980px) {
  .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .sheet { width: min(100% - 20px, 1280px); }
  .mast { margin: 0 -10px; padding-left: 10px; padding-right: 10px; }
  .mast-top, .tools { flex-wrap: wrap; }
  .find { width: 100%; margin-left: 0; }
  .find input { width: 100%; }
  .wall { grid-template-columns: 1fr 1fr; gap: 12px 8px; }
  .label { padding: 8px 8px 10px; }
  .label strong { font-size: 0.86rem; }
  .mobile-cta {
    display: flex;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 5;
  }
  .room-page { padding-bottom: 72px; }
}
