:root {
  --bg: #08060d;
  --bg-2: #120818;
  --card: #1a1026;
  --card-2: #22162f;
  --text: #f6eef9;
  --muted: #b7a4c8;
  --pink: #ff4da6;
  --pink-2: #ff7ac0;
  --purple: #a855f7;
  --yellow: #ffe14a;
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --max: 1180px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Syne", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); color: var(--text); }
body {
  font-family: var(--font);
  line-height: 1.55;
  min-height: 100vh;
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(168, 85, 247, 0.22), transparent 55%),
    radial-gradient(700px 400px at 100% 0%, rgba(255, 77, 166, 0.16), transparent 50%),
    var(--bg);
}

img { max-width: 100%; display: block; }
a { color: var(--pink-2); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3, .display { font-family: var(--display); letter-spacing: -0.03em; }
p { color: #ddd1e6; }

.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.wrap-live { width: min(1440px, calc(100% - 24px)); }
.muted { color: var(--muted); }

/* Age gate */
#age-gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 3, 10, 0.92);
  backdrop-filter: blur(10px);
}
html.age-ok #age-gate { display: none; }
.gate-card {
  width: min(520px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
}
.gate-card img { height: 72px; margin: 0 auto 16px; object-fit: contain; }
.gate-card h1 { font-size: 1.6rem; margin: 0 0 10px; }
.gate-actions { display: grid; gap: 10px; margin-top: 22px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
}
.btn-pink { background: linear-gradient(90deg, var(--pink), var(--purple)); color: #fff; }
.btn-pink:hover { filter: brightness(1.08); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-yellow { background: var(--yellow); color: #1a1020; }
.btn-wide { width: 100%; }

/* Header */
#site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8, 6, 13, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
}
.site-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  width: min(1440px, calc(100% - 24px));
  margin: 0 auto;
  padding: 12px 0 0;
}
.banner-art {
  height: 96px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 0 28px;
  background:
    radial-gradient(420px 90px at 0% 50%, rgba(255, 77, 166, 0.16), transparent 70%),
    radial-gradient(380px 90px at 100% 50%, rgba(168, 85, 247, 0.18), transparent 70%),
    linear-gradient(90deg, #140c1c, #1c1028 48%, #120a18);
  border: 1px solid var(--line);
  overflow: hidden;
}
.banner-kicker {
  color: var(--pink-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.banner-kicker {
  color: var(--pink-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.banner-links {
  display: flex;
  align-items: baseline;
  gap: 22px;
  margin-left: auto;
  margin-right: auto;
}
.banner-links span,
.banner-links strong {
  font-family: var(--display);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #fff;
}
/* Banner "Live Chatrooms" links to RavenCams but keeps the plain banner text look */
.banner-links a,
.banner-links a:hover,
.banner-links a:focus { color: inherit; text-decoration: none; }
.banner-links a strong { display: block; }
.banner-note {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(1440px, calc(100% - 24px));
  margin: 8px auto 0;
  padding: 4px 0 12px;
}
.nav-row .nav { flex: 1; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; }
.brand img { height: 42px; width: auto; }
.brand span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink-2);
}
.nav { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.nav a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: 999px;
}
.nav a.is-on, .nav a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.nav a.nav-cta {
  background: linear-gradient(90deg, var(--pink), var(--purple));
  color: #fff;
  padding: 8px 14px;
}
.nav a.nav-cta:hover {
  background: linear-gradient(90deg, var(--pink), var(--purple));
  filter: brightness(1.08);
  color: #fff;
}
.pill { border: 1px solid var(--line); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.4rem; }

@media (max-width: 860px) {
  .site-banner { grid-template-columns: 1fr; }
  .banner-art { height: auto; min-height: 72px; padding: 14px 16px; flex-wrap: wrap; }
  .banner-note { display: none; }
  .nav-toggle { display: block; }
  .nav-row { position: relative; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 42px;
    z-index: 30;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
  }
  body.nav-open .nav { display: flex; }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 420px;
  display: grid;
  align-items: end;
  margin: 8px auto 28px;
  background: #100818 center/cover no-repeat;
  box-shadow: var(--shadow);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,6,13,0.15), rgba(8,6,13,0.88));
}
.hero-inner { position: relative; z-index: 1; padding: 36px 32px; }
.kicker {
  color: var(--pink-2);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 8px 0 10px; line-height: 1.05; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* Cards */
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.dest-card, .media-card, .guide-card, .legal-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.dest-card { padding: 20px; }
.dest-card img { height: 54px; width: auto; object-fit: contain; margin-bottom: 12px; }
.dest-card h2 { margin: 0 0 8px; font-size: 1.25rem; }
.dest-card .btn { margin-top: auto; }

.media-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.media-card.video img { aspect-ratio: 16/9; }
.media-card .pad, .guide-card { padding: 14px 16px 18px; }
.media-card h3, .guide-card h2 { margin: 0 0 6px; font-size: 1.05rem; }
.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink-2);
}

/* Rooms */
.room-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.room-thumb { position: relative; aspect-ratio: 16/11; background: #000; }
.room-thumb img { width: 100%; height: 100%; object-fit: cover; }
.live-dot, .viewers, .toy-badge {
  position: absolute;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 999px;
}
.live-dot { top: 8px; left: 8px; background: #e11d48; color: #fff; }
.viewers { top: 8px; right: 8px; background: rgba(0,0,0,.65); color: #fff; }
.toy-badge { bottom: 8px; left: 8px; background: var(--yellow); color: #1a1020; }
.room-meta { padding: 10px 12px 12px; }
.room-meta strong { color: #fff; font-size: 0.92rem; }
.room-meta p {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.section { margin: 36px auto; }
.section h2 { font-size: 1.6rem; margin: 0 0 14px; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.prose { max-width: 72ch; }
.prose h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.prose h2 { margin-top: 1.6em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: 0.92rem; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--pink-2); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.prose ol { padding-left: 1.2em; }
.prose li { margin: 0.45em 0; color: #ddd1e6; }
.steps { list-style: none; padding: 0; margin: 1.2em 0 0; }
.steps li {
  position: relative;
  padding: 14px 0 14px 52px;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .n {
  position: absolute;
  left: 0; top: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
}
.steps h3 { margin: 0 0 6px; font-size: 1.05rem; }
.guide-fig { margin: 1em 0 1.3em; }
.guide-fig img { width: 100%; border-radius: 14px; border: 1px solid var(--line); }
.guide-fig figcaption { color: var(--muted); font-size: 0.82rem; margin-top: 6px; }
.mock {
  background: #120818;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 12px 0 18px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.86rem;
}
.mock .row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.mock .k { color: var(--muted); }
.mock .v { color: #fff; }
.mock .hi { color: var(--pink-2); }
.player {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  margin: 16px 0 22px;
}
.player iframe { width: 100%; height: 100%; border: 0; }

.foot {
  border-top: 1px solid var(--line);
  margin-top: 56px;
  padding: 28px 16px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}
.foot-links { margin-top: 10px; }
/* r113c: the static affiliate disclosure <p class="foot"> placed after #site-footer joins the footer band, 10px under .foot-links (same gap as the footer's own lines) */
#site-footer + .foot { border-top: 0; margin-top: -30px; margin-bottom: 0; padding-top: 0; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tabs button, .tag-chip {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.tabs button.is-on, .tag-chip.is-on {
  background: linear-gradient(90deg, var(--pink), var(--purple));
  border-color: transparent;
  color: #fff;
}
.live-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 22px;
  align-items: start;
}
.tag-rail {
  position: sticky;
  top: 76px;
  max-height: calc(100vh - 92px);
  overflow: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 10px 16px;
}
.tag-rail h2 {
  font-size: 0.95rem;
  margin: 0 0 10px;
  padding: 0 6px;
}
.tag-link {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--pink-2);
  padding: 3px 6px;
  font-size: 0.86rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border-radius: 6px;
}
.tag-link:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.tag-link.is-on { color: #fff; background: rgba(255, 77, 166, 0.2); }
.tag-group { margin: 12px 0 4px; }
.tag-group strong {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 8px 6px 4px;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-chip { padding: 6px 12px; font-size: 0.82rem; }
@media (max-width: 900px) {
  .live-board { grid-template-columns: 1fr; }
  .tag-rail {
    position: static;
    max-height: 240px;
    order: 2;
  }
}
.mini-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.mini-tag {
  font-size: 0.68rem;
  color: var(--pink-2);
  background: rgba(255, 77, 166, 0.1);
  padding: 2px 6px;
  border-radius: 999px;
}
.home-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 16px; }
.home-tags a,
.home-tags button {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--text);
  font-weight: 700;
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
}
.home-tags button.is-on,
.home-tags button:hover,
.home-tags a:hover {
  background: linear-gradient(90deg, var(--pink), var(--purple));
  border-color: transparent;
  color: #fff;
}

.floor-head { margin-top: 0; }
.floor-head h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 6px 0 8px;
  line-height: 1.05;
}
.floor-more { margin: 14px 0 0; }
.lane-note { margin: 14px 0 0; }

.door-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 8px 0 8px;
}
.door {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 380px;
  border-radius: 28px;
  overflow: hidden;
  color: #fff;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.door img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.door::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 6, 13, 0.05) 15%, rgba(8, 6, 13, 0.9));
}
.door-copy { position: relative; z-index: 1; padding: 28px; }
.door h2 {
  margin: 6px 0 8px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  color: #fff;
  line-height: 1;
}
.door p { margin: 0; max-width: 34ch; color: #f3e9f8; }
.door:hover { color: #fff; }
.door:hover img { transform: scale(1.05); }
.door:hover h2 { color: #fff; }
@media (max-width: 700px) {
  .door-row { grid-template-columns: 1fr; }
  .door { min-height: 260px; }
}

.home-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}
.guide-rail {
  position: sticky;
  top: 84px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px 16px;
}
.guide-rail h2 { font-size: 1.45rem; margin: 6px 0 8px; }
.guide-rail > p { margin: 0; font-size: 0.92rem; }
.guide-group {
  margin: 16px 0 8px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink-2);
  font-weight: 800;
}
.guide-list { display: flex; flex-direction: column; gap: 8px; }
.guide-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--text);
}
.guide-list a strong { display: block; color: #fff; font-size: 0.92rem; }
.guide-list a span { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 2px; }
.guide-list a:hover { color: #fff; border-color: rgba(255, 77, 166, 0.5); }
@media (max-width: 980px) {
  .home-split { grid-template-columns: 1fr; }
  .guide-rail { position: static; }
}

.logo-ohmi { height: 48px; }

.mast {
  display: flex;
  justify-content: center;
  margin-top: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.mast img { height: 78px; width: auto; }

.paper {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
  margin-top: 16px;
}
.paper h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 4px 0 12px; line-height: 1.05; }
.cam-col h2, .boards h2 { font-size: 1.15rem; margin: 4px 0 8px; }
.cam-stack { display: flex; flex-direction: column; gap: 10px; }
.rooms-fallback { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.rooms-fallback a { font-weight: 700; white-space: nowrap; }
.cam-col .room-card { display: flex; }
.cam-col .room-thumb { aspect-ratio: 16 / 10; }
.cam-col .room-meta { padding: 10px 12px 12px; }
.cam-col .room-meta strong { font-size: 0.92rem; }
.cam-col .mini-tags { gap: 6px; margin-top: 4px; }
.cam-col .mini-tag {
  background: none;
  padding: 0;
  border-radius: 0;
  font-size: 0.75rem;
}
.lead {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 8px;
}
.lead h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin: 6px 0 8px; line-height: 1.15; }
.lead p { margin: 0 0 12px; }
.headline-list .deck { color: var(--text); font-size: 0.92rem; margin-top: 6px; }
.paper-news { grid-template-columns: 300px minmax(0, 1fr); }
.story-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}
.story.prose { max-width: none; }
.story-more { position: sticky; top: 84px; }
.story-more h2 { font-size: 1.25rem; margin: 6px 0 10px; }
@media (max-width: 980px) {
  .story-layout { grid-template-columns: 1fr; }
  .story-more { position: static; order: 3; }
  .story-layout .cam-col { order: 2; }
  .story-layout .story { order: 1; }
}
.headline-list { display: flex; flex-direction: column; }
.headline-list a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.headline-list strong { display: block; color: #fff; font-size: 1.02rem; }
.headline-list span { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 3px; }
.headline-list a:hover { color: #fff; }
.boards { margin-top: 22px; }
.board {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.chart { margin-top: 10px; }
.chart-row {
  display: grid;
  grid-template-columns: 1.6rem 1fr auto;
  gap: 10px;
  align-items: baseline;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.chart-row .rank { color: var(--pink-2); font-weight: 800; }
.chart-row .move { font-size: 0.78rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.chart-row .up { color: #3ddc97; }
.chart-row .down { color: #ff6b8a; }
.chart-row .flat { color: var(--muted); font-weight: 600; }
.guide-rail {
  position: sticky;
  top: 84px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px 16px;
}
.guide-rail h2 { font-size: 1.45rem; margin: 6px 0 8px; }
.guide-rail > p { margin: 0; font-size: 0.92rem; }
.guide-group {
  margin: 16px 0 8px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink-2);
  font-weight: 800;
}
.guide-list { display: flex; flex-direction: column; gap: 8px; }
.guide-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--text);
}
.guide-list a strong { display: block; color: #fff; font-size: 0.92rem; }
.guide-list a span { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 2px; }
.guide-list a:hover { color: #fff; border-color: rgba(255, 77, 166, 0.5); }
@media (max-width: 980px) {
  .paper { grid-template-columns: 1fr; }
  .cam-col { order: 2; }
  .paper-main { order: 1; }
  .guide-rail { order: 3; position: static; }
  .cam-stack { display: grid; grid-template-columns: 1fr 1fr; }
}

.guide-block { margin-top: 28px; }
.guide-block h2 { font-size: 1.35rem; margin-bottom: 12px; }

.news-list { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.news-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px 14px;
}
.news-item h2 { font-size: 1.2rem; margin: 4px 0 8px; }
.news-item p { margin: 0 0 8px; }
.news-item p:last-child { margin: 0; }
.source-credit {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

/* Homepage: Upcoming events + Law watch (middle column, under the headlines) */
.home-box {
  margin-top: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 12px;
}
.home-box h2 { font-size: 1.15rem; margin: 0 0 8px; }
.home-box > p { margin: 0 0 4px; }
.event-list, .law-list { display: flex; flex-direction: column; }
.event-row, .law-row {
  display: block;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--text);
}
.event-row strong, .law-row strong { display: block; color: #fff; font-size: 0.95rem; line-height: 1.35; }
.event-row:hover strong, .law-row:hover strong { color: var(--pink-2); }
.event-when {
  display: block;
  color: var(--pink-2);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.event-meta { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 3px; }
.law-row { display: flex; align-items: baseline; gap: 10px; }
.law-row .mini-tag { flex: 0 0 auto; white-space: nowrap; font-size: 0.72rem; }
.law-row strong { flex: 1 1 auto; min-width: 0; }
@media (max-width: 560px) {
  .home-box { padding: 14px 12px 10px; }
  .law-row { flex-direction: column; gap: 4px; }
}

/* Homepage: compact OnlyFans top 10 above the Guides panel (right column) */
.right-rail { display: flex; flex-direction: column; gap: 16px; }
.right-rail .guide-rail { position: static; }
.boards-mini {
  margin-top: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px 12px;
}
.boards-mini h2 { font-size: 1.1rem; margin: 0 0 4px; }
.boards-mini .board { padding: 0; border-top: 0; }
.boards-mini .board > p { margin: 0; font-size: 0.72rem; color: var(--muted); line-height: 1.35; }
.boards-mini .chart { margin-top: 6px; }
.boards-mini .chart-row { padding: 4px 0; gap: 8px; font-size: 0.85rem; grid-template-columns: 1.3rem 1fr auto; }
.boards-mini .chart-row .move { font-size: 0.7rem; }
.boards-mini .lane-note { margin: 6px 0 0; font-size: 0.75rem; }
@media (max-width: 980px) {
  .right-rail { order: 3; }
}

/* Phone banner: keep "Adult News / Live Chatrooms / Guides" inside the banner at ~390px */
@media (max-width: 560px) {
  .banner-art { gap: 8px; }
  .banner-links { flex-wrap: wrap; gap: 4px 12px; margin-left: 0; margin-right: 0; }
  .banner-links span,
  .banner-links strong { font-size: 0.98rem; }
}

/* /toys/: example product cards (mockup) */
.toy-shop { margin-top: 32px; }
.toy-shop h2 { margin: 0 0 10px; }
.toy-shop-banner {
  margin: 0 0 16px;
  padding: 10px 14px;
  border: 1px dashed rgba(255, 122, 192, 0.55);
  border-radius: 12px;
  background: rgba(255, 77, 166, 0.08);
  color: var(--pink-2);
  font-weight: 800;
  font-size: 0.9rem;
}
.toy-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.toy-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.toy-card:hover { border-color: rgba(255, 77, 166, 0.45); }
.toy-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--card-2); display: block; }
.toy-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.toy-cat { color: var(--pink-2); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.toy-name { margin: 0; font-size: 0.98rem; line-height: 1.3; color: #fff; }
.toy-rating { font-size: 0.85rem; color: var(--muted); }
.toy-stars { color: var(--yellow); letter-spacing: 0.04em; }
.toy-score { color: var(--text); font-weight: 700; }
.toy-price { font-size: 1.25rem; font-weight: 800; color: #fff; }
.toy-asof { margin: 0; font-size: 0.75rem; color: var(--muted); }
.toy-btn { margin-top: auto; text-align: center; justify-content: center; }
.toy-shop-disclosure {
  margin-top: 16px;
  padding: 10px 14px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.82rem;
}
@media (max-width: 560px) {
  .toy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .toy-body { padding: 10px; }
  .toy-price { font-size: 1.05rem; }
}
@media (max-width: 359px) {
  .toy-grid { grid-template-columns: 1fr; }
}
.toy-stars { position: relative; display: inline-block; white-space: nowrap; line-height: 1; vertical-align: -1px; }
.toy-stars-on { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; }

/* Guides: "Example only" worked examples (sample menus, goals, notices, levels) */
.example-box {
  margin: 12px 0 18px;
  padding: 14px 16px 6px;
  border: 1px dashed rgba(255, 122, 192, 0.55);
  border-radius: 12px;
  background: rgba(255, 77, 166, 0.06);
}
.example-box > p:first-child { margin-top: 0; }
.example-tag {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 77, 166, 0.18);
  color: var(--pink-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.example-box table { margin: 0.6em 0 1em; }

/* Long code strings (RTMP URLs) wrap instead of widening the page on mobile */
main code, .steps code { overflow-wrap: anywhere; word-break: break-word; }

/* Comparison tables stack into one card per row on phones (streaming-setups) */
@media (max-width: 560px) {
  .prose table.stack-mobile thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .prose table.stack-mobile, .prose table.stack-mobile tbody, .prose table.stack-mobile tr, .prose table.stack-mobile td { display: block; width: 100%; }
  .prose table.stack-mobile tr { padding: 6px 0 10px; border-bottom: 1px solid var(--line); }
  .prose table.stack-mobile td { border-bottom: 0; padding: 4px 0; }
  .prose table.stack-mobile td:first-child { color: var(--pink-2); font-weight: 800; padding-top: 8px; }
  .prose table.stack-mobile td[data-label]::before { content: attr(data-label); display: block; color: var(--pink-2); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 2px; }
}

/* Linked h2 anchors (e.g. OBS #chaturbates-limits-for-external-encoders) land below the sticky header */
.archive-month[id] { scroll-margin-top: 190px; }
@media (max-width: 860px) { .archive-month[id] { scroll-margin-top: 220px; } }
@media (max-width: 560px) { .archive-month[id] { scroll-margin-top: 250px; } }
/* Any h2/h3 with an id (guide sections and sub-steps): sticky header height + ~18px.
   Header measured Oct 26: 171px above 860px, 198-218px at 561-860px, 206-235px at 350-560px, 263px below 350px. */
.prose h2[id], h2[id], h3[id] { scroll-margin-top: 190px; }
@media (max-width: 860px) { .prose h2[id], h2[id], h3[id] { scroll-margin-top: 236px; } }
@media (max-width: 560px) { .prose h2[id], h2[id], h3[id] { scroll-margin-top: 252px; } }
@media (max-width: 349px) { .prose h2[id], h2[id], h3[id] { scroll-margin-top: 280px; } }

/* /toys/ catalogue cards (toys.js v2): 2 photos, buyer summary + credit, shop list */
.toy-grid:has(.toy-card-full) { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.toy-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--card-2); }
.toy-photo { position: relative; margin: 0; }
.toy-ph-label { position: absolute; left: 6px; bottom: 6px; padding: 1px 6px; border-radius: 999px; background: rgba(10, 6, 16, 0.75); color: var(--muted); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.toy-summary { margin: 0; font-size: 0.85rem; line-height: 1.45; color: var(--text); }
.toy-credit { margin: 0; font-size: 0.75rem; color: var(--muted); }
.toy-pricing-h { margin: 6px 0 2px; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pink-2); }
.toy-shops { list-style: none; margin: 0; padding: 0; }
.toy-shop-row { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid var(--line); font-size: 0.85rem; }
.toy-shop-link { overflow-wrap: anywhere; }
.toy-shop-price { font-weight: 800; color: #fff; white-space: nowrap; text-align: right; }
.toy-shop-checked { display: block; font-weight: 400; font-size: 0.68rem; color: var(--muted); }
.toy-price-note, .toy-official { margin: 0; font-size: 0.75rem; color: var(--muted); }
.toy-shop-note { margin: -8px 0 16px; font-size: 0.8rem; }
@media (max-width: 560px) {
  .toy-grid:has(.toy-card-full) { grid-template-columns: 1fr; }
}

/* /toys/ (toys.js v3): per-shop notes; fixed photo boxes so a broken image's alt text can't spill */
.toy-shop-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.toy-row-note { font-size: 0.72rem; line-height: 1.35; color: var(--muted); }
.toy-shop-warn { color: var(--text); padding-left: 6px; border-left: 2px solid var(--yellow); }
.toy-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.toy-photo .toy-img { width: 100%; height: 100%; aspect-ratio: auto; overflow: hidden; font-size: 0.7rem; color: var(--muted); }
/* /toys/ (toys.js v4): link-only label and note, link-only shops line; Placeholder pill moved to the top corner, clear of the SVG caption */
.toy-shop-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; min-width: 0; }
.toy-linkonly-tag { padding: 0 6px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.62rem; line-height: 1.5; letter-spacing: 0.04em; color: var(--muted); white-space: nowrap; }
.toy-row-note.toy-shop-reason { font-style: italic; overflow-wrap: anywhere; }
.toy-linkonly-note { margin: -10px 0 16px; font-size: 0.72rem; line-height: 1.4; }
.toy-ph-label { top: 6px; right: 6px; left: auto; bottom: auto; }
.toy-stock-tag { padding: 0 6px; border: 1px dashed var(--line); border-radius: 999px; font-size: 0.62rem; line-height: 1.5; letter-spacing: 0.04em; color: var(--muted); white-space: nowrap; }
.toy-stock-price { font-size: 0.8rem; font-weight: 600; color: var(--muted); }
/* /toys/ (toys.js v9): one toy-type illustration per card (4:3) with a small caption, replacing the 2 placeholder photos */
.toy-photos.toy-illus { display: block; margin: 0; }
.toy-illus .toy-photo { aspect-ratio: 4 / 3; }
.toy-illus-cap { padding: 4px 10px 5px; font-size: 0.66rem; line-height: 1.3; color: var(--muted); background: var(--card-2); border-bottom: 1px solid var(--line); }

/* Toy 3D renders (tall cutouts) sit whole inside the 4:3 box on the plum card colour */
.toy-render-fig picture { display: block; width: 100%; height: 100%; }
.toy-photo .toy-img.toy-render { object-fit: contain; object-position: center; padding: 8px 0; box-sizing: border-box; background: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.14), transparent 62%), var(--card-2); }
/* Cartoon (flat cel) toy images (toys.js v26): a soft 2px lilac edge (ring ~1.55-1.7:1 vs the box at 390/1440) so the black toys separate from the dark box.
   The box colour is repeated on the <picture> and cleared on the cartoon <img>, so the drop-shadow follows the art, not the box.
   Matches only while the img src is a /toys/cartoon/ file; once a card falls back to a render or the type SVG it stops matching. */
.toy-render-fig picture { background: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.14), transparent 62%), var(--card-2); }
.toy-photo img.toy-render[src*="/toys/cartoon/"] { background: transparent; filter: drop-shadow(0 0 2px rgba(210, 190, 255, 0.8)); }

/* Guides: article sits next to the room sidebar (left-aligned, keeps the 72ch measure) */
.paper-main > .section.prose { margin-left: 0; margin-right: 0; }
/* Guides index blocks (#toys etc.) land below the sticky header, same offsets as .prose h2[id] */
.guide-block[id], .archive-month[id] { scroll-margin-top: 190px; }
@media (max-width: 860px) { .guide-block[id], .archive-month[id] { scroll-margin-top: 220px; } }
@media (max-width: 560px) { .guide-block[id], .archive-month[id] { scroll-margin-top: 250px; } }

/* News thumbnails (John, Oct 24, 2026: Option B scene per category). 220px 16:9 on the left, on top on phones */
.news-item.has-thumb { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; align-items: start; }
.news-thumb, .story-thumb { display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--card-2); }
.news-thumb img, .story-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; border: 0; border-radius: 0; }
.story-thumb { max-width: 420px; margin: 4px 0 18px; }
@media (max-width: 560px) {
  .news-item.has-thumb { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
/* Bad Dragon spotlight (/toys/bad-dragon/, hub.css v33, Oct 25, 2026): site-status note, jump list, yellow "Current rule" caveat callout, 2018 model list */
.bd-lead { font-size: 1.05rem; }
.bd-status { margin: 14px 0 18px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--muted); font-size: 0.86rem; }
.bd-status p { margin: 0 0 6px; }
.bd-status p:last-child { margin: 0; }
.bd-status strong { color: var(--text); }
.bd-toc { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 8px; font-size: 0.86rem; }
.bd-toc-h { flex: 0 0 100%; color: var(--muted); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.bd-caveat { margin: 18px 0 22px; padding: 14px 16px 16px; border: 1px solid rgba(255, 225, 74, 0.5); border-left: 5px solid var(--yellow); border-radius: 12px; background: rgba(255, 225, 74, 0.07); }
.bd-caveat h3 { margin: 6px 0 8px; color: var(--yellow); font-size: 1.1rem; }
.bd-caveat p { margin: 0; color: var(--text); }
.bd-caveat-tag { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--yellow); color: #1a1020; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.bd-page h3 { margin: 1.4em 0 0.4em; font-size: 1.1rem; }
.bd-page .bd-caveat h3 { margin: 6px 0 8px; }
.bd-credits, .bd-unverified, .bd-models-note { font-size: 0.82rem; color: var(--muted); }
.bd-unverified { padding-left: 8px; border-left: 2px solid var(--yellow); }
.bd-models { columns: 3 9em; column-gap: 18px; margin: 4px 0 14px; padding-left: 1.2em; font-size: 0.9rem; }
.bd-models li { margin: 0.15em 0; break-inside: avoid; }
.bd-noprice { padding-left: 1.2em; }
.bd-back { margin-top: 24px; }
/* Long sign-up labels (Oct 25, 2026): wrap before the parenthetical, centred. */
.btn { text-align: center; }
.btn-nowrap { white-space: nowrap; }
.btn:has(> .btn-nowrap) { flex-wrap: wrap; gap: 0 0.3em; }
