:root {
  --bg: #f3fbf8;
  --paper: #ffffff;
  --ink: #1e1b2e;
  --muted: #6b6380;
  --pink: #2ec4b6;
  --pink-soft: #d7f7f3;
  --blue: #6ec6ff;
  --blue-soft: #e3f4ff;
  --yellow: #ffd23f;
  --green: #22a06b;
  --red: #e5484d;
  --line: 3px solid var(--ink);
  --shadow: 4px 4px 0 var(--ink);
  --radius: 18px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 Fredoka, system-ui, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; }
h1, h2, h3, .brand, .btn, .badge, .stamp { font-family: 'Luckiest Guy', Fredoka, sans-serif; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.02; margin: 0 0 14px; }
h2 { font-size: 1.5rem; margin: 0 0 6px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
code { font-size: .8rem; word-break: break-all; }

/* top bar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 18px;
  padding: 10px 20px; background: var(--bg); border-bottom: var(--line);
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 1.6rem; letter-spacing: .02em; }
.nav { display: flex; gap: 4px; margin-left: 10px; }
.nav a { text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 999px; }
.nav a.active, .nav a:hover { background: var(--pink-soft); }
.wallet { margin-left: auto; }

.ticker { background: var(--ink); color: #fff; overflow: hidden; white-space: nowrap; font: 600 .85rem/1 Fredoka, sans-serif; letter-spacing: .02em; }
.ticker-track { display: inline-flex; animation: tick 60s linear infinite; padding: 10px 0; }
.ticker span { padding: 0 22px; }
.ticker span:nth-child(odd) { color: var(--pink); }
@keyframes tick { to { transform: translateX(-50%); } }

main { max-width: 1360px; margin: 0 auto; padding: 24px 20px 60px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-weight: 600; font-size: 1rem; padding: 10px 18px;
  background: var(--paper); color: var(--ink); border: var(--line); border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink); cursor: pointer; text-decoration: none;
  transition: transform .08s, box-shadow .08s;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn.primary { background: var(--pink); }
.btn.ghost { background: transparent; }
.btn.big { font-size: 1.15rem; padding: 14px 24px; }
.btn.wallet.connected { background: var(--blue-soft); }

/* hero */
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; padding: 20px 0 30px; }
.eyebrow { font: 700 .8rem/1 Fredoka, sans-serif; text-transform: uppercase; letter-spacing: .12em; color: var(--pink); margin: 0 0 12px; }
.lead { font-size: 1.12rem; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.hero-art { display: flex; align-items: flex-end; justify-content: center; gap: 0; }
.hero-art .mama-wrap svg { width: 190px; }
.hero-art .papa-wrap svg { width: 205px; }
.hero-art .mama-wrap { animation: bob 3s ease-in-out infinite; }
.hero-art .papa-wrap { animation: bob 3s ease-in-out infinite .6s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* panels */
.panel { background: var(--paper); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; margin: 22px 0; }
.panel.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.panel-head { margin-bottom: 16px; }
.panel-head p { margin: 0; color: var(--muted); }
.page-title { font-size: clamp(2rem, 5vw, 3rem); }

/* race */
.race { display: grid; gap: 10px; }
.lane { display: grid; grid-template-columns: 90px 1fr 40px; align-items: center; gap: 10px; text-decoration: none; }
.lane-name { font: 700 1rem 'Luckiest Guy', sans-serif; overflow: hidden; text-overflow: ellipsis; }
.lane-water { position: relative; height: 56px; background: repeating-linear-gradient(90deg, var(--blue-soft) 0 40px, #d5eeff 40px 80px); border-radius: 999px; border: 2px solid var(--ink); overflow: hidden; }
.swimmer { position: absolute; top: 50%; transform: translateY(-50%); transition: left 1s; }
.swimmer svg { display: block; }
.lane-egg { font-size: 1.8rem; text-align: center; }

/* creature animation */
.creature.swim .tail { animation: wiggle .5s ease-in-out infinite alternate; transform-origin: 96px 60px; }
@keyframes wiggle { from { transform: skewY(-6deg); } to { transform: skewY(6deg); } }

/* grid of coins */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.card { border: var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 3px 3px 0 var(--ink); text-decoration: none; overflow: hidden; }
.card:hover { transform: translate(-1px, -1px); }
.coin-art { display: flex; justify-content: center; align-items: center; height: 170px; background: var(--pink-soft); border-bottom: var(--line); }
.stage-bg-embryo .coin-art { background: #ffeef4; }
.stage-bg-baby .coin-art { background: var(--blue-soft); }
.stage-bg-kid .coin-art { background: #fff4c9; }
.stage-bg-adult .coin-art { background: #e2f6ec; }
.stage-bg-dead .coin-art { background: #eeecf2; }
.coin-meta { padding: 12px 14px; display: grid; gap: 4px; }
.coin-meta b { font: 700 1.2rem 'Luckiest Guy', sans-serif; }

/* list rows */
.list { display: grid; gap: 8px; }
.row { display: grid; grid-template-columns: 44px 1fr auto auto; gap: 12px; align-items: center; padding: 8px 10px; border: 2px solid var(--ink); border-radius: 14px; text-decoration: none; }
.row:hover { background: var(--bg); }
.row img { border-radius: 50%; border: 2px solid var(--ink); object-fit: cover; }
.row-main { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.badge { display: inline-block; font-size: .8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); justify-self: start; }
.badge-born, .badge-poop { background: var(--pink-soft); }
.badge-baby { background: var(--blue-soft); }
.badge-kid { background: #fff4c9; }
.badge-adult, .badge-blessed { background: #d4f3e3; }
.badge-aborted { background: #ffdcdc; }
.badge-unblessed, .badge-dead { background: #eeecf2; }
.badge-birthing { background: var(--yellow); }

/* form */
.form { display: grid; gap: 16px; margin-top: 18px; }
.form label { display: grid; gap: 6px; font-weight: 600; }
.form input, .form textarea, .form select, .inline select, .inline input {
  font: inherit; padding: 12px 14px; border: var(--line); border-radius: 14px; background: var(--bg); color: var(--ink); width: 100%;
}
.form textarea { resize: vertical; }
.logo-pick { display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: center; }
.logo-drop { width: 140px; height: 140px; border: 3px dashed var(--ink); border-radius: 50%; display: flex !important; align-items: center; justify-content: center; cursor: pointer; overflow: hidden; background: var(--pink-soft); }
.logo-drop img { width: 100%; height: 100%; object-fit: cover; }
.fields { display: grid; gap: 12px; }

/* episode */
.episode { display: grid; gap: 18px; }
.ep-head { display: flex; gap: 16px; align-items: center; }
.ep-head h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); margin: 0; }
.ep-head h1 span { font-size: .55em; color: var(--muted); font-weight: 500; }
.ep-head p { margin: 4px 0 0; }
.ep-logo { border-radius: 50%; border: var(--line); object-fit: cover; }
.future { margin: 0; background: var(--paper); border: var(--line); border-radius: var(--radius); padding: 16px 20px; font-size: 1.1rem; }
.future small { display: block; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--pink); font-size: .75rem; margin-bottom: 4px; }

.scene {
  position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end;
  min-height: 420px; padding: 150px 20px 26px;
  background: linear-gradient(#e3f7f3, #fff7ee 70%); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.scene::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30px; background: repeating-linear-gradient(90deg, #ffd0df 0 30px, #b3ebe5 30px 60px); border-top: var(--line); }
.scene .mama-wrap, .scene .papa-wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.scene .mama-wrap svg { width: min(200px, 28vw); }
.scene .papa-wrap svg { width: min(250px, 34vw); }
.baby-wrap { z-index: 1; padding-bottom: 30px; animation: bob 2.4s ease-in-out infinite; }
.baby-wrap svg { width: min(150px, 22vw); height: auto; }
.name-tag { font: 700 .9rem 'Luckiest Guy', sans-serif; background: var(--ink); color: #fff; padding: 2px 10px; border-radius: 999px; margin-top: -8px; position: relative; z-index: 2; }
.talking svg { animation: talk .25s ease-in-out infinite alternate; transform-origin: bottom center; }
@keyframes talk { to { transform: scale(1.04, .97); } }

.bubble {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: min(620px, calc(100% - 32px));
  background: var(--paper); border: var(--line); border-radius: 20px; padding: 14px 18px; font-size: 1.1rem; z-index: 3; box-shadow: 3px 3px 0 var(--ink);
}
.bubble:empty { display: none; }
.bubble b { display: block; font: 700 .85rem 'Luckiest Guy', sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.bubble.from-mom b { color: #ff4f8b; }
.bubble.from-dad b { color: #d63a40; }
.bubble.from-mom { border-bottom-left-radius: 4px; }
.bubble.from-dad { border-bottom-right-radius: 4px; }

.votes { display: flex; flex-wrap: wrap; gap: 8px 22px; background: var(--paper); border: var(--line); border-radius: 14px; padding: 10px 16px; font-weight: 600; }
.votes em { font-style: normal; font-family: 'Luckiest Guy', sans-serif; padding: 0 6px; border-radius: 6px; }
.votes .yes { background: #d4f3e3; color: var(--green); }
.votes .no { background: #ffdcdc; color: var(--red); }
.stamp {
  position: absolute; left: 50%; top: 42%; z-index: 4; transform: translateX(-50%) rotate(-8deg);
  font-size: clamp(1.6rem, 5vw, 3rem); font-weight: 700; padding: 4px 16px; border: 6px solid currentColor; border-radius: 12px; background: rgba(255,255,255,.88); white-space: nowrap;
  animation: slam .35s cubic-bezier(.2, 1.6, .4, 1);
}
.stamp-blessed { color: #d4a106; }
.stamp-unblessed { color: #8a7f9c; }
.stamp-aborted { color: var(--red); }
@keyframes slam { from { transform: translateX(-50%) rotate(-8deg) scale(2.4); opacity: 0; } }

.ep-controls { display: flex; gap: 10px; flex-wrap: wrap; }
.born-box { background: var(--paper); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.born-box.blessed { background: #effaf4; }
.born-box.aborted { background: #fff0f0; }
.born-box p { max-width: 680px; }
.warn { color: var(--red); font-weight: 600; }
.inline { display: flex; align-items: center; gap: 10px; font-weight: 600; margin: 8px 0 16px; }
.inline select, .inline input { width: 110px; }

.stages { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0; margin: 16px 0; }
.stages li { border: 2px solid var(--ink); border-radius: 12px; padding: 8px; background: var(--bg); opacity: .55; }
.stages li.done { opacity: 1; background: var(--pink-soft); }
.stages li.now { outline: 3px solid var(--pink); }
.stages b { display: block; font-family: 'Luckiest Guy', sans-serif; }
.stages small { color: var(--muted); }

.how { display: grid; gap: 12px; padding-left: 22px; font-size: 1.05rem; }

.foot { text-align: center; color: var(--muted); font-size: .85rem; padding: 0 20px 30px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; max-width: calc(100% - 32px); transition: transform .25s, visibility .25s; z-index: 50; visibility: hidden; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast.bad { background: var(--red); }

@media (max-width: 760px) {
  .topbar { flex-wrap: wrap; padding: 10px 16px; gap: 8px; }
  .nav { order: 3; width: 100%; margin: 0; justify-content: space-between; }
  .nav a { padding: 6px 10px; }
  main { padding: 16px 16px 50px; }
  .hero { grid-template-columns: 1fr; }
  .hero-art .mama-wrap svg { width: 130px; }
  .hero-art .papa-wrap svg { width: 145px; }
  .panel { padding: 18px; }
  .logo-pick { grid-template-columns: 1fr; justify-items: center; }
  .logo-pick .fields { width: 100%; }
  .scene { padding: 170px 8px 24px; min-height: 380px; }
  .stamp { top: 48%; }
  .row { grid-template-columns: 40px 1fr auto; }
  .row small { display: none; }
  .lane { grid-template-columns: 64px 1fr 30px; }
}

/* ---------- the Sewer ---------- */
.house-wrap { margin: 0 auto; }
.house-hint { display: none; text-align: center; font-size: .85rem; margin: 8px 0 0; }
.house-scene { position: relative; margin: 0 auto; aspect-ratio: 1360 / 1180; container-type: inline-size; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; background: #eaf7ff; }
.house-art { position: absolute; inset: 0; width: 100%; height: 100%; font-family: 'Luckiest Guy', sans-serif; fill: var(--ink); }
.house-art .room-empty { fill: #7a7290; font-family: Fredoka, sans-serif; font-weight: 600; paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
.resident { position: absolute; z-index: 3; display: block; text-decoration: none; }
.resident:hover { z-index: 5; }
.resident .creature { display: block; width: 100%; height: auto; transition: transform .15s; transform-origin: 50% 100%; }
.resident:hover .creature { transform: scale(1.15); }
.res-tag { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 2px); background: var(--ink); color: #fff; border-radius: 999px; padding: .1em .55em; font: 700 max(9px, .85cqw) Fredoka, sans-serif; white-space: nowrap; pointer-events: none; }
.res-dead .res-tag { background: #8e889c; }
.on-sofa .res-tag { top: auto; bottom: 100%; transform: translate(-50%, -2px); }
.walker { display: block; animation: wander var(--dur, 8s) ease-in-out var(--delay, 0s) infinite alternate; }
.res-baby .walker { animation-name: crawl; }
.res-adult .walker { animation-name: chill; }
.res-dead .walker { animation-name: float; }
@keyframes wander { 0% { transform: translateX(-45%); } 50% { transform: translate(0, -8%); } 100% { transform: translateX(45%); } }
@keyframes crawl { 0% { transform: translateX(-30%) rotate(-5deg); } 100% { transform: translateX(30%) rotate(5deg); } }
@keyframes chill { 0%, 72% { transform: translateY(0) rotate(0); } 82% { transform: translateY(-6%) rotate(-3deg); } 92% { transform: translateY(0) rotate(3deg); } 100% { transform: rotate(0); } }
@keyframes float { 0% { transform: translate(-10%, 0) rotate(-4deg); } 100% { transform: translate(10%, -2%) rotate(4deg); } }
.house-art .h-mobile { transform-box: fill-box; transform-origin: 50% 0; animation: swing 4s ease-in-out infinite alternate; }
@keyframes swing { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
.house-art .puff { animation: puff 4.5s ease-in infinite; transform-box: fill-box; transform-origin: center; }
.house-art .p2 { animation-delay: -1.5s; } .house-art .p3 { animation-delay: -3s; }
@keyframes puff { 0% { transform: translate(0, 30px) scale(.5); opacity: 0; } 20% { opacity: 1; } 100% { transform: translate(18px, -40px) scale(1.2); opacity: 0; } }
.house-art .h-lamp { animation: glow 3s ease-in-out infinite alternate; }
@keyframes glow { from { opacity: .55; } to { opacity: 1; } }
.house-art .h-sun { transform-box: fill-box; transform-origin: center; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.house-art .h-cloud path { animation: drift 14s ease-in-out infinite alternate; }
.house-art .h-cloud path:nth-child(2) { animation-duration: 18s; } .house-art .h-cloud path:nth-child(3) { animation-duration: 11s; }
@keyframes drift { to { transform: translateX(26px); } }
.house-art .parent .mouth { animation: none; }
.bed-bubble { position: absolute; z-index: 4; transform: translateY(-100%); background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: .25em .7em; font: 700 max(10px, 1cqw) 'Luckiest Guy', sans-serif; color: var(--ink); text-decoration: none; box-shadow: 2px 2px 0 var(--ink); white-space: nowrap; animation: bob 2.6s ease-in-out infinite; }
.bed-bubble::after { content: ""; position: absolute; left: 30%; bottom: -8px; width: 12px; height: 12px; background: #fff; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); }
.bed-bubble:hover { background: var(--pink-soft); }
.everyone { margin-top: 18px; }
.everyone summary { cursor: pointer; font: 600 .95rem 'Luckiest Guy', sans-serif; margin-bottom: 12px; }
@media (max-width: 700px) {
  .house-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
  .house-scene { width: 870px; box-shadow: none; }
  .house-hint { display: block; }
}
@media (prefers-reduced-motion: reduce) { .walker, .house-art *, .bed-bubble { animation: none !important; } }

/* ---------- the Shit Show (live, everyone watches together) ---------- */
.show-panel .panel-head h2 { display: flex; align-items: center; gap: 10px; }
.live-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(229,72,77,.6); animation: livepulse 1.6s infinite; }
@keyframes livepulse { 70% { box-shadow: 0 0 0 10px rgba(229,72,77,0); } 100% { box-shadow: 0 0 0 0 rgba(229,72,77,0); } }
.show { display: grid; gap: 10px; }
.show-top { display: flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; border-radius: 14px; padding: 8px 14px; min-width: 0; }
.show-title { font-family: 'Luckiest Guy', sans-serif; font-size: 1.1rem; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.show-clock { font: 600 .85rem Fredoka, sans-serif; opacity: .8; white-space: nowrap; }
.onair { font: 700 .8rem 'Luckiest Guy', sans-serif; letter-spacing: .08em; padding: 3px 10px; border-radius: 999px; background: #4a4560; white-space: nowrap; }
.onair-live, .onair-soon { background: var(--red); animation: blink 1.2s steps(2, start) infinite; }
.onair-rerun { background: #8a6ad6; }
.onair-gap { background: #2b8fd6; }
@keyframes blink { 50% { opacity: .6; } }
/* the set: the judges' bathroom */
.show { position: relative; }
.show-stage { position: relative; width: 100%; margin: 0 auto; aspect-ratio: 16 / 9; container-type: inline-size; border: var(--line); border-radius: var(--radius); overflow: hidden; background: #efe6ff; box-shadow: var(--shadow); }
.studio { position: absolute; inset: 0; width: 100%; height: 100%; }
.studio-front { z-index: 2; pointer-events: none; }
.show-stage .mama-wrap, .show-stage .papa-wrap { position: absolute; z-index: 1; display: block; bottom: 22.2%; }
.show-stage .st-mama { left: 28.9%; width: 15%; }
.show-stage .st-papa { left: 56%; width: 16.5%; }
.show-stage .mama-wrap svg, .show-stage .papa-wrap svg { display: block; width: 100%; height: auto; }
.show-stage .name-tag { position: absolute; left: 50%; top: -2.2cqw; transform: translateX(-50%); margin: 0; font-size: max(10px, 1.15cqw); white-space: nowrap; }
.show-stage .st-papa .name-tag { left: 50%; }
.show-guest { position: absolute; z-index: 3; left: 44.5%; width: 11%; bottom: 17%; animation: bob 2.4s ease-in-out infinite; }
.show-guest svg { display: block; width: 100%; height: auto; }
.show-guest.talking svg { animation: talk .25s ease-in-out infinite alternate; }
.show-main > .bubble, .pitch-preview > .bubble { top: 62px; width: min(760px, 62%); z-index: 6; font-size: max(14px, 1.15rem); }
.show-stage .stamp { z-index: 6; top: 38%; font-size: max(22px, 5cqw); border-width: max(4px, .5cqw); }
:is(.studio, .studio-mini) .st-sign text { fill: #5c4060; transition: fill .3s; }
:is(.show-stage, .house-scene).on-air .st-onair text { fill: #ff5470; filter: drop-shadow(0 0 6px #ff5470) drop-shadow(0 0 14px #ff5470); }
:is(.show-stage, .house-scene).applause .st-applause text { fill: #ffd23f; filter: drop-shadow(0 0 6px #ffd23f) drop-shadow(0 0 14px #ffb800); animation: blink .5s steps(2, start) infinite; }
:is(.studio, .studio-mini) .st-bulb ellipse { animation: twinkle 1.4s ease-in-out infinite alternate; }
:is(.studio, .studio-mini) .st-bulb.b1 ellipse { animation-delay: -.5s; } :is(.studio, .studio-mini) .st-bulb.b2 ellipse { animation-delay: -1s; }
@keyframes twinkle { from { opacity: .45; } to { opacity: 1; } }
:is(.studio, .studio-mini) .st-star { animation: twinkle 1.8s ease-in-out infinite alternate; }
:is(.studio, .studio-mini) .st-star.t1 { animation-delay: -.6s; } :is(.studio, .studio-mini) .st-star.t2 { animation-delay: -1.2s; }
:is(.studio, .studio-mini) .st-beam { transform-box: fill-box; animation: beam 7s ease-in-out infinite alternate; }
:is(.studio, .studio-mini) .st-beam.l { transform-origin: 10% 0; } :is(.studio, .studio-mini) .st-beam.r { transform-origin: 90% 0; animation-delay: -3s; }
@keyframes beam { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
:is(.studio, .studio-mini) .st-lamp { animation: glow 3s ease-in-out infinite alternate; }
:is(.studio, .studio-mini) .st-beat { transform-box: fill-box; transform-origin: center; animation: beat 1.2s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } 45% { transform: scale(1.12); } }
.show-confetti { position: absolute; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; }
.show-confetti i { position: absolute; top: -6%; width: .9cqw; height: 1.5cqw; border-radius: 2px; animation: fall 3s linear infinite; font-style: normal; }
.show-confetti i.c-heart { width: auto; height: auto; font-size: 2.4cqw; line-height: 1; }
@keyframes fall { 0% { top: -6%; transform: translateX(0) rotate(0); } 100% { top: 104%; transform: translateX(var(--sway)) rotate(600deg); } }
.bubble.from-guest b { color: #8b5a2b; text-transform: none; letter-spacing: .02em; }
.show-card { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; background: rgba(255,247,238,.92); padding: 20px; }
.show-card[hidden] { display: none; }
.show-card small { font: 700 .8rem Fredoka, sans-serif; text-transform: uppercase; letter-spacing: .12em; color: var(--pink); }
.show-card img { border-radius: 50%; border: var(--line); object-fit: cover; }
.show-card b { font: 700 1.8rem 'Luckiest Guy', sans-serif; }
.show-card .show-count { font: 700 2.4rem 'Luckiest Guy', sans-serif; font-style: normal; color: var(--ink); }
.show-bar { height: 8px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); overflow: hidden; }
.show-bar i { display: block; height: 100%; width: 0; background: var(--pink); transition: width .25s linear; }
.show-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.show-votes { display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 600; min-height: 1.6em; }
.show-votes em { font-style: normal; font-family: 'Luckiest Guy', sans-serif; padding: 0 6px; border-radius: 6px; }
.show-votes .yes { background: #d4f3e3; color: var(--green); }
.show-votes .no { background: #ffdcdc; color: var(--red); }
.show-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.show-btns [hidden] { display: none; }
.show-next { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .95rem; }
.show-next a { display: inline-flex; align-items: center; gap: 6px; background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: 2px 10px 2px 2px; color: var(--ink); text-decoration: none; font-weight: 700; }
.show-next a.mine { background: var(--pink-soft); }
.show-next a img { border-radius: 50%; object-fit: cover; }
.show-next small { font-weight: 500; color: var(--muted); }
@media (max-width: 760px) {
  .show-main > .bubble, .pitch-preview > .bubble { position: static; transform: none; width: auto; font-size: 1rem; min-height: 5.6em; }
  .show-main > .bubble:empty, .pitch-preview > .bubble:empty { display: block; visibility: hidden; }
  .show-card b { font-size: 1.2rem; }
  .show-card img { width: 48px; height: 48px; }
  .show-card .show-count { font-size: 1.6rem; }
  .show-card { gap: 2px; padding: 8px; }
}
@media (prefers-reduced-motion: reduce) { .studio *, .show-guest, .show-confetti { animation: none !important; } }

/* the bathroom follows the show */
.bed-bubble.airing { top: auto !important; bottom: 67.57%; left: 50.88% !important; width: 27.9%; transform: none; animation: none; white-space: normal; font: 500 max(10px, .92cqw) Fredoka, sans-serif; line-height: 1.3; padding: .5em .8em; }
.bed-bubble.airing b { display: block; font: 700 max(9px, .78cqw) 'Luckiest Guy', sans-serif; text-transform: uppercase; letter-spacing: .06em; }
.bed-bubble.from-mom b { color: #ff4f8b; }
.bed-bubble.from-dad b { color: #d63a40; }
.bed-bubble.from-guest b { color: #8b5a2b; text-transform: none; letter-spacing: .02em; }
.bed-bubble.from-mom::after { left: 18%; }
.bed-bubble.from-guest::after { left: 34%; }
.bed-bubble.from-dad::after { left: 52%; }
.bed-guest { position: absolute; z-index: 3; left: 63.2%; bottom: 54.37%; width: 3.2%; }
.bed-guest[hidden] { display: none; }
.bed-guest .walker { display: block; animation: bob 2.4s ease-in-out infinite; }
.bed-guest svg { display: block; width: 100%; height: auto; }
.bed-stamp { position: absolute; z-index: 5; left: 64.8%; top: 45.17%; transform: translate(-50%, -50%) rotate(-8deg); font: 700 max(12px, 1.76cqw) 'Luckiest Guy', sans-serif; padding: .1em .5em; border: max(3px, .3cqw) solid currentColor; border-radius: 10px; background: rgba(255,255,255,.9); white-space: nowrap; pointer-events: none; }
.bed-stamp[hidden] { display: none; }
.bed-mama, .bed-papa { transform-box: fill-box; transform-origin: 50% 100%; }
.house-scene.air-mom .bed-mama, .house-scene.air-dad .bed-papa { animation: talk .25s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) { .live-dot, .onair, .bed-guest .walker, .bed-mama, .bed-papa { animation: none !important; } }

/* house extras */
.house-art .h-stork { animation: stork 34s linear infinite; }
@keyframes stork { 0% { transform: translate(-360px, 180px); } 100% { transform: translate(1400px, 120px); } }
.house-art .h-stork .wing { transform-box: fill-box; transform-origin: 30% 100%; animation: flap .5s ease-in-out infinite alternate; }
@keyframes flap { to { transform: scaleY(-.6); } }
.house-art .h-balloon { animation: balloon 9s ease-in-out infinite alternate; }
@keyframes balloon { from { transform: translate(0, 10px); } to { transform: translate(30px, -20px); } }
.house-art .h-birds { animation: drift 10s ease-in-out infinite alternate; }
.house-art .h-swing { transform-box: view-box; transform-origin: 0 600px; animation: tire 3s ease-in-out infinite alternate; }
@keyframes tire { from { transform: rotate(-10deg); } to { transform: rotate(10deg); } }
.house-art .h-duck { animation: duck 6s ease-in-out infinite alternate; }
@keyframes duck { from { transform: translateX(-24px); } to { transform: translateX(24px); } }
.house-art .h-vane { transform-box: view-box; transform-origin: 500px 92px; animation: vane 8s ease-in-out infinite alternate; }
@keyframes vane { from { transform: rotate(-25deg); } to { transform: rotate(25deg); } }
.house-art .h-bulb { animation: twinkle 1.3s ease-in-out infinite alternate; }
.house-art .h-bulb.b1 { animation-delay: -.45s; } .house-art .h-bulb.b2 { animation-delay: -.9s; }
.house-art .h-zzz { animation: zzz 3s ease-in-out infinite; }
@keyframes zzz { 0% { opacity: 0; transform: translateY(6px); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px); } }
.tv-live { position: absolute; z-index: 3; left: 72.94%; top: 67.35%; width: 5%; height: 4.9%; display: flex; align-items: center; justify-content: center; gap: 4%; background: #3b6fa8; border-radius: 3px; text-decoration: none; overflow: hidden; }
.tv-live[hidden] { display: none; }
.tv-live img { height: 80%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; border: 1px solid #fff; }
.tv-live b { color: #fff; background: var(--red); font: 700 max(7px, .6cqw) Fredoka, sans-serif; padding: 0 .3em; border-radius: 3px; }

.show-stage .baby-wrap { padding: 0; }
.ep-scene > .bubble { top: 14px; }
@media (max-width: 760px) { .ep-scene > .bubble { margin-top: 10px; } }

/* ---------- Shit theme details ---------- */
body {
  background-color: var(--bg);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Ccircle cx='30' cy='30' r='9' fill='none' stroke='%23bfe9e3' stroke-width='3'/%3E%3Cpath d='M92 82l2.5 5 5.5.8-4 3.9 1 5.5-5-2.6-5 2.6 1-5.5-4-3.9 5.5-.8z' fill='%23e6dcff'/%3E%3Ccircle cx='96' cy='22' r='3' fill='%23cfeeff'/%3E%3Ccircle cx='22' cy='96' r='2.5' fill='%23ffe8a3'/%3E%3C/svg%3E"),
    linear-gradient(#f3fbf8, #eaf7ff 60%, #f3fbf8);
  background-attachment: fixed;
}
.topbar { background: rgba(243,251,248,.92); backdrop-filter: blur(6px); }
.string-lights {
  height: 26px; position: relative; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(circle at 15px 15px, #ff5d8f 0 6px, transparent 7px) 0 0 / 150px 26px repeat-x,
    radial-gradient(circle at 45px 17px, #ffd23f 0 6px, transparent 7px) 0 0 / 150px 26px repeat-x,
    radial-gradient(circle at 75px 15px, #6ec6ff 0 6px, transparent 7px) 0 0 / 150px 26px repeat-x,
    radial-gradient(circle at 105px 17px, #7fd67c 0 6px, transparent 7px) 0 0 / 150px 26px repeat-x,
    radial-gradient(circle at 135px 15px, #b48cff 0 6px, transparent 7px) 0 0 / 150px 26px repeat-x,
    linear-gradient(transparent 6px, var(--ink) 6px 8px, transparent 8px);
  animation: lights 1.6s steps(2, start) infinite;
}
@keyframes lights { 50% { filter: brightness(1.25) saturate(1.3); opacity: .8; } }

.panel { position: relative; }
.panel::before { content: ""; position: absolute; top: -13px; left: 34px; width: 84px; height: 24px; background: rgba(46,196,182,.6); border: 2px solid rgba(30,27,46,.25); transform: rotate(-4deg); border-radius: 3px; }
.panel:nth-of-type(3n+2)::before { background: rgba(110,198,255,.7); transform: rotate(3deg); left: auto; right: 40px; }
.panel:nth-of-type(3n)::before { background: rgba(255,210,63,.75); }
.panel-head h2 { display: flex; align-items: center; gap: 10px; }

/* hero */
.hero-art { position: relative; }
.hero-hearts { position: absolute; inset: 0; pointer-events: none; }
.hero-hearts i { position: absolute; bottom: 20%; font-style: normal; color: var(--pink); font-size: 1.6rem; opacity: 0; animation: rise 5s ease-in infinite; }
.hero-hearts i:nth-child(1) { left: 20%; } .hero-hearts i:nth-child(2) { left: 40%; animation-delay: .8s; color: #b48cff; font-size: 1.1rem; }
.hero-hearts i:nth-child(3) { left: 55%; animation-delay: 1.6s; } .hero-hearts i:nth-child(4) { left: 70%; animation-delay: 2.4s; color: #6ec6ff; font-size: 1.2rem; }
.hero-hearts i:nth-child(5) { left: 32%; animation-delay: 3.2s; font-size: 2rem; } .hero-hearts i:nth-child(6) { left: 82%; animation-delay: 4s; color: #ffd23f; }
@keyframes rise { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-240px) scale(1.2) rotate(15deg); opacity: 0; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 10px 0 26px; }
.step { background: var(--paper); border: var(--line); border-radius: var(--radius); box-shadow: 3px 3px 0 var(--ink); padding: 18px; display: grid; gap: 4px; }
.step:nth-child(1) { background: #e6f9f6; } .step:nth-child(2) { background: #f1eaff; } .step:nth-child(3) { background: #e9f6ff; }
.step-ico { font-size: 2rem; line-height: 1; }
.step b { font: 700 1.15rem 'Luckiest Guy', sans-serif; }
.step p { margin: 0; color: var(--muted); }

/* house teaser */
.house-teaser { display: grid; grid-template-columns: 280px 1fr; align-items: center; gap: 20px; text-decoration: none; background: var(--paper); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin: 22px 0; transition: transform .1s; }
.house-teaser:hover { transform: translate(-2px, -2px); }
.ht-sky { position: relative; height: 150px; background: linear-gradient(#cfeeff, #eaf7ff 70%, #a8e6a3 70%); border-right: var(--line); }
.ht-roof { position: absolute; left: 50%; top: 30px; width: 150px; height: 80px; transform: translateX(-50%); background: #2ec4b6; clip-path: polygon(50% 0, 100% 55%, 100% 100%, 0 100%, 0 55%); }
.ht-roof::after { content: ""; position: absolute; left: 50%; top: 28px; width: 22px; height: 22px; transform: translateX(-50%); background: #fff; border: 3px solid var(--ink); border-radius: 50%; }
.ht-sun { position: absolute; right: 20px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 6px rgba(255,210,63,.35); }
.ht-cloud { position: absolute; left: 14px; top: 18px; width: 50px; height: 18px; border-radius: 999px; background: #fff; animation: drift 8s ease-in-out infinite alternate; }
.ht-cloud.c2 { left: 70px; top: 44px; width: 36px; animation-duration: 11s; }
.ht-text { display: grid; gap: 4px; padding: 16px 20px 16px 0; }
.ht-text small { font: 700 .75rem Fredoka, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--pink); }
.ht-text b { font: 700 1.6rem 'Luckiest Guy', sans-serif; }
.ht-text span { color: var(--muted); }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }

/* house page */
.house-page .page-head { margin: 10px 0 18px; }
.house-page .everyone { margin-top: 26px; }

/* pitch page: backstage */
.pitch-head { margin: 6px 0 16px; }
.pitch-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; align-items: start; }
.pitch-card { margin: 0; }
.pitch-card h2 { margin: 0; }
.pitch-card .form, .pitch-card.form { margin-top: 0; }
.pitch-preview .show-stage { width: 100%; }

/* footer */
.foot { position: relative; padding-top: 40px; }
.foot-grass { position: absolute; left: 0; right: 0; top: 0; height: 22px; background:
  radial-gradient(circle at 12px 22px, #7fd67c 0 12px, transparent 13px) 0 0 / 24px 22px repeat-x; }
.foot-brand { font: 600 1rem 'Luckiest Guy', sans-serif; color: var(--ink); margin-bottom: 4px; }
.foot p { margin: 4px 0; }

@media (max-width: 900px) {
  .pitch-grid, .duo { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .house-teaser { grid-template-columns: 1fr; }
  .ht-sky { border-right: 0; border-bottom: var(--line); }
  .ht-text { padding: 0 18px 18px; }
  .nav a { padding: 6px 8px; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { .string-lights, .hero-hearts i, .ht-cloud { animation: none !important; } }
@media (max-width: 760px) { .nav a { white-space: nowrap; } .nav .ni { display: none; } }

/* ---------- more color ---------- */
.bleed { width: calc(100vw - 40px); max-width: 1240px; margin-left: 50%; transform: translateX(-50%); }
.show-panel { background: linear-gradient(135deg, #0f3443, #155e6b 45%, #2a9d8f); color: #fff; border-color: var(--ink); }
.show-panel .panel-head p { color: #dff7f3; }
.show-panel .show-top { background: rgba(10, 6, 24, .55); }
.show-panel .show-next, .show-panel .show-votes { color: #fff; }
.show-panel .show-next .muted { color: #e9dcff; }
.show-panel .show-next a { color: var(--ink); }
.show-panel .show-bar { border-color: #fff; background: rgba(255,255,255,.25); }
.show-panel .show-bar i { background: linear-gradient(90deg, #ffd23f, #2ec4b6); }
.show-panel .btn.ghost { background: #fff; }
.show-panel::before { background: rgba(255,210,63,.85); }

mark { background: linear-gradient(transparent 55%, #ffd23f 55%); color: inherit; padding: 0 .08em; }
.btn.yellow { background: var(--yellow); }
.btn.blue { background: var(--blue); }
.btn.ghost:hover { background: var(--blue-soft); }

.ticker span:nth-child(5n+1) { color: #2ec4b6; } .ticker span:nth-child(5n+2) { color: #ffd23f; }
.ticker span:nth-child(5n+3) { color: #6ec6ff; } .ticker span:nth-child(5n+4) { color: #7fd67c; } .ticker span:nth-child(5n) { color: #c9a8ff; }

.hero-blob { position: absolute; border-radius: 50%; z-index: -1; filter: blur(2px); }
.hero-art { isolation: isolate; }
.hero-blob.b1 { width: 260px; height: 260px; background: #d3f3ee; left: 8%; top: 4%; }
.hero-blob.b2 { width: 190px; height: 190px; background: #d9ecff; right: 6%; top: 18%; }
.hero-blob.b3 { width: 120px; height: 120px; background: #fff0a8; left: 44%; bottom: 0; }

.bunting { height: 46px; margin: 4px 0 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='46'%3E%3Cpath d='M0 4 Q100 18 200 4' fill='none' stroke='%231e1b2e' stroke-width='2'/%3E%3Cpath d='M6 5 h36 l-18 34z' fill='%23ff7aa8' stroke='%231e1b2e' stroke-width='2'/%3E%3Cpath d='M56 9 h36 l-18 34z' fill='%23ffd23f' stroke='%231e1b2e' stroke-width='2'/%3E%3Cpath d='M106 10 h36 l-18 34z' fill='%236ec6ff' stroke='%231e1b2e' stroke-width='2'/%3E%3Cpath d='M156 6 h36 l-18 34z' fill='%237fd67c' stroke='%231e1b2e' stroke-width='2'/%3E%3C/svg%3E") repeat-x; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.stat { border: var(--line); border-radius: var(--radius); box-shadow: 3px 3px 0 var(--ink); padding: 16px 18px; display: grid; gap: 2px; }
.stat b { font: 700 2.4rem/1 'Luckiest Guy', sans-serif; }
.stat span { font-weight: 600; }
.stat.s1 { background: #8fe3d9; } .stat.s2 { background: #9be3a6; } .stat.s3 { background: #8fd3ff; } .stat.s4 { background: #ffd23f; }

.step { border-top-width: 8px; }
.step:nth-child(1) { background: #dff6f2; border-top-color: #2ec4b6; } .step:nth-child(2) { background: #efe5ff; border-top-color: #b48cff; } .step:nth-child(3) { background: #e3f4ff; border-top-color: #6ec6ff; }
.step-ico svg { display: block; }

.lane:nth-child(5n+1) .lane-water { background: repeating-linear-gradient(90deg, #dff6f2 0 40px, #c4efe9 40px 80px); }
.lane:nth-child(5n+2) .lane-water { background: repeating-linear-gradient(90deg, #e3f4ff 0 40px, #d1ecff 40px 80px); }
.lane:nth-child(5n+3) .lane-water { background: repeating-linear-gradient(90deg, #fff6cf 0 40px, #ffefad 40px 80px); }
.lane:nth-child(5n+4) .lane-water { background: repeating-linear-gradient(90deg, #e8fbe6 0 40px, #d3f5cf 40px 80px); }
.lane:nth-child(5n) .lane-water { background: repeating-linear-gradient(90deg, #efe5ff 0 40px, #e2d4ff 40px 80px); }
.lane-egg svg { display: block; margin: 0 auto; }

.row { background: var(--paper); border-left: 10px solid #ddd3ef; }
.row-blessed { border-left-color: #7fd67c; } .row-unblessed { border-left-color: #c9bfe0; }
.row-aborted { border-left-color: var(--red); } .row-born { border-left-color: #ffd23f; } .row-birthing { border-left-color: var(--blue); }

.duo .panel:first-child { background: linear-gradient(#ffffff, #eef8ff); }
.duo .panel:last-child { background: linear-gradient(#ffffff, #eefbf8); }
.house-teaser { background: linear-gradient(90deg, #fff, #fff6d6); }

.foot { background: linear-gradient(#e9fbe6, #d3f5cf); margin-top: 20px; }
.foot-brand { color: #2d6b2d; }

/* pitch page: smaller card, bigger stage */
.pitch-grid { grid-template-columns: minmax(0, 2.3fr) minmax(280px, 1fr); }
@media (max-width: 860px) { .pitch-grid { grid-template-columns: minmax(0, 1fr); } }
.pitch-card { padding: 18px; gap: 12px; background: linear-gradient(#fff, #f0fbf9); }
.pitch-card h2 { font-size: 1.25rem; }
.pitch-card .logo-pick { grid-template-columns: 86px 1fr; gap: 12px; }
.pitch-card .logo-drop { width: 86px; height: 86px; font-size: .85rem; }
.pitch-card label { font-size: .9rem; gap: 4px; }
.pitch-card input, .pitch-card textarea { padding: 8px 10px; font-size: .95rem; }
.pitch-card .small { font-size: .78rem; margin: 0; }
.pitch-card .btn.big { font-size: 1rem; padding: 11px 16px; }
.pitch-head { max-width: 900px; }

@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .bleed { width: calc(100vw - 24px); }
  .stat b { font-size: 1.8rem; }
  .hero-blob { display: none; }
}
.bubble, .show-card, .show-panel .show-next a { color: var(--ink); }
.show-panel .show-next > a:last-child:not([href^="/coin/"]) { background: var(--yellow); }

/* site-wide sound switch */
.sound-top { margin-left: auto; padding: 8px 14px; font-size: .9rem; background: #e7ffe9; }
.sound-top.off { background: #ffe3e3; }
.sound-top + .wallet { margin-left: 0; }
@media (max-width: 760px) { .sound-top span { display: none; } .sound-top { padding: 8px 10px; } }
.show-panel.bleed { max-width: 1180px; }
.house-page #house { max-width: 1440px; margin: 0 auto; }
@media (max-width: 760px) {
  .topbar { gap: 8px; }
  .brand { font-size: 1.3rem; }
  .brand svg { width: 38px; height: auto; }
  .btn.wallet { font-size: .85rem; padding: 8px 12px; }
}

/* the waiting line */
.show-panel .show-next { display: block; }
.line-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 8px; }
.line-head b { font: 700 1.15rem 'Luckiest Guy', sans-serif; color: #fff; }
.line-head span { color: #dff7f3; font-size: .92rem; }
.line-hall { display: flex; align-items: stretch; border: var(--line); border-radius: 16px; overflow: hidden; background:
  repeating-linear-gradient(90deg, #eefbf8 0 46px, #dff6f2 46px 92px); box-shadow: 3px 3px 0 var(--ink); }
.line-queue { flex: 1; min-width: 0; display: flex; flex-direction: row-reverse; justify-content: flex-start; align-items: flex-end; gap: 6px; padding: 10px 12px 8px; overflow-x: auto; min-height: 118px; }
.line-spot { flex: 0 0 auto; width: 96px; display: grid; justify-items: center; gap: 1px; text-decoration: none; color: var(--ink); padding: 4px 2px; border-radius: 12px; }
.line-spot.mine { background: #fff4b8; outline: 2px dashed var(--ink); }
.line-spot b { font: 700 .82rem 'Luckiest Guy', sans-serif; max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line-spot small { font-size: .72rem; color: var(--muted); min-height: 1em; }
.line-num { font: 700 .66rem Fredoka, sans-serif; text-transform: uppercase; letter-spacing: .06em; background: var(--ink); color: #fff; border-radius: 999px; padding: 1px 7px; }
.line-spot:first-child .line-num { background: var(--red); }
.line-poop { display: block; animation: bob 2s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -.3s); }
.line-poop svg { display: block; width: 74px; height: auto; }
.line-poop.ghost { opacity: .35; filter: grayscale(1); animation: none; }
.line-empty .line-num { background: #8a7f9c; }
.line-more { align-self: center; font: 700 .85rem 'Luckiest Guy', sans-serif; color: var(--ink); padding: 0 6px; }
.line-door { flex: 0 0 64px; display: flex; align-items: center; justify-content: center; background: linear-gradient(#6a3d9a, #3a2160); border-left: var(--line); }
.line-door span { writing-mode: vertical-rl; transform: rotate(180deg); font: 700 .9rem 'Luckiest Guy', sans-serif; letter-spacing: .2em; color: #ffd23f; text-shadow: 0 0 8px #ffb800; }
.stage-line { position: absolute; z-index: 3; left: 1.5%; bottom: 3%; display: flex; gap: .6%; width: 30%; pointer-events: none; }
.sl-poop { width: 30%; animation: bob 2.2s ease-in-out infinite; animation-delay: calc(var(--i) * -.4s); }
.sl-poop svg { display: block; width: 100%; height: auto; transform: scaleX(-1); }
@media (max-width: 760px) { .line-door { flex-basis: 40px; } .line-queue { min-height: 104px; } }
.show > * { min-width: 0; }
.show-next a.line-spot { display: grid; border: 0; background: transparent; padding: 4px 2px; border-radius: 12px; box-shadow: none; }
.show-next a.line-spot.mine { background: #fff4b8; }
.show-next a.line-spot .line-num { display: inline-block; }

.stage-line { align-items: flex-end; }
.sl-sign { position: absolute; left: 0; bottom: 100%; margin-bottom: .4cqw; background: #ffd23f; color: var(--ink); border: 2px solid var(--ink); border-radius: 6px; padding: .1em .5em; font: 700 max(9px, .95cqw) 'Luckiest Guy', sans-serif; white-space: nowrap; box-shadow: 2px 2px 0 var(--ink); }
.sl-rope { position: absolute; left: 0; right: 0; top: -0.6cqw; height: 0; border-top: .35cqw solid #1f8a80; border-radius: 50%; }

/* the guest poop hops out of the stall door on the right */
.show-guest.entering { animation: swim-in 1.8s cubic-bezier(.35,.6,.4,1) both; }
@keyframes swim-in {
  0% { transform: translate(288%, -95%) scale(.35); opacity: 0; }
  12% { transform: translate(276%, -95%) scale(.45); opacity: 1; }
  40% { transform: translate(170%, -125%) scale(.75) rotate(-8deg); }
  70% { transform: translate(70%, -70%) scale(.95) rotate(8deg); }
  88% { transform: translate(12%, -15%) rotate(-4deg); }
  100% { transform: none; }
}
.show-guest.joy { animation: joy .45s ease-in-out infinite alternate; }
@keyframes joy { from { transform: translateY(0) rotate(-6deg); } to { transform: translateY(-30%) rotate(6deg); } }
/* flushed or a stinker: spins down the drain */
.show-guest.leaving { animation: flush 1.7s ease-in both; }
@keyframes flush {
  0% { transform: none; }
  30% { transform: translateY(4%) rotate(240deg) scale(.85); }
  70% { transform: translateY(30%) rotate(720deg) scale(.4); opacity: 1; }
  100% { transform: translateY(60%) rotate(1080deg) scale(0); opacity: 0; }
}
/* golden: hops through the HOUSE door on the left */
.show-guest.home { animation: to-house 1.7s ease-in both; }
@keyframes to-house {
  0% { transform: none; }
  25% { transform: translate(-50%, -40%) rotate(8deg); }
  60% { transform: translate(-170%, -110%) scale(.8) rotate(-8deg); }
  88% { transform: translate(-276%, -95%) scale(.45); opacity: 1; }
  100% { transform: translate(-288%, -95%) scale(.35); opacity: 0; }
}
.st-door-panel { transform-box: fill-box; transition: transform .45s ease; }
.st-door-in { transform-origin: 100% 50%; }
.st-door-home { transform-origin: 0% 50%; }
.show-stage:has(.show-guest.entering) .st-door-in,
.show-stage:has(.show-guest.home) .st-door-home { transform: scaleX(.12); }
.st-door-bubbles circle { animation: twinkle 1.2s ease-in-out infinite alternate; }
.creature .stink { animation: stink 1.1s ease-in-out infinite alternate; }
.creature .stink.s2 { animation-delay: -.55s; }
@keyframes stink { from { opacity: .3; transform: translateY(4px); } to { opacity: 1; transform: translateY(-4px); } }
.creature .fly { animation: buzz .6s ease-in-out infinite alternate; }
@keyframes buzz { to { transform: translate(-6px, 3px); } }

/* the waiting line, redesigned as a swimming lane */
.line-hall { position: relative; background: linear-gradient(#bfe8ff, #8fd3ff 60%, #6ec6ff); }
.line-hall::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background:
    radial-gradient(circle at 10% 80%, #fff 0 3px, transparent 4px),
    radial-gradient(circle at 30% 60%, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 55% 85%, #fff 0 4px, transparent 5px),
    radial-gradient(circle at 75% 70%, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 90% 90%, #fff 0 3px, transparent 4px);
  background-size: 260px 120px; animation: bubbles 4s linear infinite; }
.line-hall::after { content: ""; position: absolute; left: 0; right: 64px; top: 0; height: 14px; pointer-events: none;
  background: radial-gradient(circle at 15px -6px, transparent 14px, rgba(255,255,255,.75) 15px 17px, transparent 18px) 0 0 / 30px 14px repeat-x; animation: waves 3s linear infinite; }
@keyframes bubbles { from { background-position: 0 0; } to { background-position: 0 -120px; } }
@keyframes waves { to { background-position: 30px 0; } }
.line-queue { position: relative; z-index: 1; }
.line-spot b, .line-spot small { text-shadow: 0 1px 0 rgba(255,255,255,.8); }
.line-spot small { color: #1d4f73; }
.line-poop { animation: line-swim 2.4s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -.4s); }
@keyframes line-swim { 0%, 100% { transform: translate(0, 0) rotate(-3deg); } 25% { transform: translate(5px, -6px) rotate(2deg); } 50% { transform: translate(0, -2px) rotate(4deg); } 75% { transform: translate(-5px, -7px) rotate(-1deg); } }
.line-spot:first-child .line-poop { animation-duration: 1.2s; }
.line-empty .line-poop.ghost { opacity: .45; }
.line-door { position: relative; z-index: 1; background: linear-gradient(#5ed6c9, #1f8a80); }
.line-door span { color: #fff; text-shadow: 0 0 8px #fff; }
@media (prefers-reduced-motion: reduce) { .line-hall::before, .line-hall::after, .line-poop, .show-guest { animation: none !important; } }

/* ---------- show layout v2: stage + waiting line on the left, buttons + live chat on the right ---------- */
.show-panel.bleed { max-width: 1560px; }
.show-panel .panel-head { margin-bottom: 8px; }
.show-panel .panel-head p { margin: 2px 0 0; font-size: .92rem; }
#show { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.show-main { display: grid; gap: 8px; min-width: 0; align-content: start; }
.show-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.show-side .show-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.show-side .show-btns .btn { width: 100%; justify-content: center; text-align: center; padding: 9px 10px; font-size: .95rem; }
.show-side .show-btns .btn.primary { grid-column: 1 / -1; }
.show-side .show-votes:empty { display: none; }
.show-side .show-votes { background: rgba(10, 6, 24, .35); border-radius: 14px; padding: 8px 12px; }
.show-panel .show-next { margin-top: 2px; }
.show-panel .line-queue { min-height: 104px; padding-top: 6px; padding-bottom: 6px; }
.show-main { position: relative; }
@media (min-width: 1000px) {
  /* the stage + waiting line together fit one screen; the chat takes the rest of the width */
  #show { grid-template-columns: min(calc(100vw - 480px), max(480px, calc((100svh - 440px) * 16 / 9))) 340px; justify-content: center; align-items: stretch; }
  .show-panel.bleed { width: fit-content; max-width: calc(100vw - 40px); }
  .show-side { min-height: 0; }
  .show-panel .panel-head { display: none; }
  .show-panel.bleed { padding-top: 16px; }
}

.chat { flex: 1; min-height: 280px; display: flex; flex-direction: column; background: #fff; color: var(--ink); border: var(--line); border-radius: 16px; overflow: hidden; box-shadow: 4px 4px 0 rgba(10, 6, 24, .4); }
.chat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 8px 12px; background: var(--pink-soft); border-bottom: 2px solid var(--ink); }
.chat-head b { font: 700 1.05rem 'Luckiest Guy', sans-serif; }
.chat-note { font-size: .78rem; color: var(--muted); }
.chat-list { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 12px; display: flex; flex-direction: column; gap: 6px; font-size: .9rem; background:
  radial-gradient(circle at 12px 12px, #ffe3ef 2px, transparent 2.5px) 0 0 / 28px 28px, #fffafc; }
.chat-msg { margin: 0; line-height: 1.35; word-wrap: break-word; overflow-wrap: anywhere; }
.chat-msg b { color: #1f8a80; }
.chat-msg time { font-size: .72rem; color: var(--muted); }
.chat-empty { margin: auto; color: var(--muted); text-align: center; font-size: .9rem; }
.chat-form { display: grid; gap: 6px; padding: 8px; border-top: 2px solid var(--ink); background: #fff; }
.chat-row { display: flex; gap: 6px; }
.chat-form input { min-width: 0; border: 2px solid var(--ink); border-radius: 10px; padding: 7px 10px; font: 500 .9rem Fredoka, sans-serif; background: #fff; color: var(--ink); }
.chat-name { width: 50%; font-size: .8rem !important; padding: 4px 8px !important; }
.chat-text { flex: 1; }
.chat-form .btn { padding: 7px 14px; font-size: .9rem; }
.chat-err { margin: 0; color: var(--red); font-size: .82rem; }
@media (max-width: 999px) { .chat { max-height: 420px; } }
.show-side .show-btns .btn[hidden] { display: none; }
.house-art .h-kite { animation: kite 4s ease-in-out infinite alternate; transform-origin: 192px 260px; transform-box: view-box; }
@keyframes kite { from { transform: rotate(-4deg); } to { transform: rotate(5deg); } }
.house-art .h-float { animation: twinkle 2.4s ease-in-out infinite alternate; }
.show-side #show-sound:has(+ .primary), .show-side #show-sound:has(+ [hidden]) { grid-column: 1 / -1; }
.how-page h2 { margin: 22px 0 6px; font-size: 1.25rem; }
.how-page p { margin: 0 0 8px; line-height: 1.55; }
.how-list { display: grid; gap: 8px; padding-left: 20px; margin: 6px 0 10px; line-height: 1.5; }
.how-rule { background: #f0fbf9; border: 3px solid var(--ink); border-radius: 14px; padding: 10px 14px; font-size: 1.05rem; }

/* ---------- Shit extras ---------- */
.house-art .h-drip { animation: drip 2.2s ease-in infinite; }
.house-art .h-drip.d2 { animation-delay: -1.1s; }
@keyframes drip { 0% { transform: translateY(0); opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }
.house-art .h-sludge { animation: drift 6s ease-in-out infinite alternate; }
:is(.studio, .studio-mini) .st-pop { animation: twinkle 1.6s ease-in-out infinite alternate; }
:is(.studio, .studio-mini) .st-pop.p1 { animation-delay: -.5s; } :is(.studio, .studio-mini) .st-pop.p2 { animation-delay: -1s; }
.hero-hearts i { color: #8b5a2b; }
.hero-hearts i:nth-child(2) { color: #ffd23f; } .hero-hearts i:nth-child(4) { color: #2ec4b6; } .hero-hearts i:nth-child(6) { color: #8fe3d9; }
.show-confetti i.c-heart { background: none !important; }
.stage-dead.creature { overflow: visible; }

/* the sewer page */
.house-scene { background: #142320; border-width: 4px; }
.house-art .plaque text { font-family: 'Luckiest Guy', sans-serif; }
.house-art .room-empty { fill: #e9f1dc; stroke: #16120f; stroke-width: 4px; }
.res-tag { background: #ffd23f; color: var(--ink); border: 1.5px solid var(--ink); }
.res-dead .res-tag { background: #b9b4c4; }
.house-art .h-twinkle { animation: twinkle 1.6s ease-in-out infinite alternate; }
.house-art .h-twinkle.t1 { animation-delay: -.5s; } .house-art .h-twinkle.t2 { animation-delay: -1s; }
.house-art .h-pop { animation: twinkle 1.2s ease-in-out infinite alternate; }
.house-art .h-pop.p1 { animation-delay: -.4s; } .house-art .h-pop.p2 { animation-delay: -.8s; }
.house-art .h-gator { animation: duck 7s ease-in-out infinite alternate; }
.res-kid .walker { animation-name: float; }
.res-dead .walker { animation: none; filter: saturate(.4); }
.house-hint { color: #a9b59a; }

.ht-sky { background: none; overflow: hidden; }
.ht-sky svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ht-eye { animation: blink 3s steps(1) infinite; }

/* ================= SHIT.FUN: the whole site is a poop ================= */
:root {
  --bg: #5a3519;
  --paper: #8b5a2b;
  --ink: #2a160a;
  --text: #fff0d9;
  --muted: #e2c29c;
  --poop: #8b5a2b;
  --poop-hi: #a8703f;
  --poop-dk: #6b4020;
  --choc: #3b2314;
  --caramel: #d9a066;
  --gold: #ffcc33;
  --stink: #a6c44a;
  --pink: #ffcc33;
  --pink-soft: #6b4020;
  --yellow: #ffcc33;
  --red: #e5533d;
  --green: #a6c44a;
  --radius: 28px;
  --line: 4px solid var(--ink);
  --shadow: 0 8px 0 var(--ink);
}
body {
  color: var(--text); font-family: Fredoka, system-ui, sans-serif; font-weight: 500;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 40px 22px at 20% 30%, rgba(42,22,10,.35), transparent 70%),
    radial-gradient(ellipse 28px 16px at 70% 60%, rgba(42,22,10,.3), transparent 70%),
    radial-gradient(ellipse 34px 18px at 45% 85%, rgba(168,112,63,.35), transparent 70%),
    radial-gradient(ellipse 22px 12px at 85% 15%, rgba(168,112,63,.3), transparent 70%),
    radial-gradient(circle 3px at 30% 70%, rgba(230,190,120,.45), transparent 100%),
    radial-gradient(circle 3px at 80% 40%, rgba(230,190,120,.45), transparent 100%);
  background-size: 260px 220px, 300px 260px, 340px 240px, 220px 200px, 180px 160px, 240px 200px;
}
h1, h2, h3, .brand, .page-title, .stamp, .btn { font-family: 'Luckiest Guy', Fredoka, sans-serif; font-weight: 400; letter-spacing: .02em; }
h1 { font-size: clamp(2.4rem, 6.5vw, 5rem); line-height: .98; color: var(--text); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 0 6px 0 var(--ink); }
h2 { font-size: 1.6rem; color: var(--text); }
.muted, .panel .muted, .card .muted, .born-box .muted, .row .muted, .how-page .muted, .pitch-card .muted, .step p { color: var(--muted); }
.lead { color: var(--text); font-size: 1.12rem; }
.eyebrow { display: inline-block; background: var(--choc); color: var(--caramel) !important; font: 400 1rem 'Luckiest Guy', sans-serif; letter-spacing: .04em; padding: 6px 14px 3px; border: 3px solid var(--ink); border-radius: 999px; }
mark { background: none; color: var(--gold); }
a { color: inherit; }

.string-lights, .bunting, .foot-grass, .hero-blob, .hero-hearts { display: none !important; }
.panel::before { display: none !important; }

/* every surface is a glossy poop: shiny top-left, dark bottom */
.panel, .card, .born-box, .future, .step, .stat, .house-teaser, .row, .votes, .show-side, .everyone, .how-page, .pitch-card, .form.panel {
  background:
    radial-gradient(ellipse 50% 40px at 22% 0, rgba(255,230,190,.22), transparent 100%),
    linear-gradient(var(--poop-hi), var(--poop) 40%, var(--poop-dk)) !important;
  color: var(--text); border: var(--line); border-radius: var(--radius);
  box-shadow: inset 0 -10px 0 rgba(42,22,10,.25), inset 0 4px 0 rgba(255,230,190,.18), var(--shadow);
}
.panel h2, .how-page h2 { color: var(--text); }
.card:hover, .row:hover, .house-teaser:hover { transform: translateY(-3px); }

/* top bar: dark chocolate that drips */
.topbar { background: var(--choc); border-bottom: 0; backdrop-filter: none; position: relative; }
.topbar::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 22px; pointer-events: none; z-index: 5;
  background:
    radial-gradient(circle 9px at 20px 4px, var(--choc) 98%, transparent) 0 0 / 120px 22px repeat-x,
    radial-gradient(circle 6px at 70px 2px, var(--choc) 98%, transparent) 0 0 / 120px 22px repeat-x,
    radial-gradient(circle 12px at 100px 6px, var(--choc) 98%, transparent) 0 0 / 120px 22px repeat-x,
    linear-gradient(var(--choc), var(--choc)) 0 0 / 100% 4px no-repeat; }
.brand { color: var(--caramel); font-size: 2rem; }
.nav a { color: var(--muted); font: 400 1.05rem 'Luckiest Guy', sans-serif; letter-spacing: .04em; border-radius: 999px; padding: 8px 14px 5px; }
.nav a.active, .nav a:hover { background: var(--poop); color: var(--text); }

/* buttons: little poop pills */
.btn { font-size: 1.05rem; border: 3px solid var(--ink); border-radius: 999px; background: linear-gradient(var(--poop-hi), var(--poop-dk)); color: var(--text); box-shadow: inset 0 3px 0 rgba(255,230,190,.25), 0 5px 0 var(--ink); padding-top: 12px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn.primary { background: linear-gradient(#ffe07a, var(--gold) 50%, #e0a91c); color: var(--ink); }
.btn.yellow { background: linear-gradient(#e8b57c, var(--caramel)); color: var(--ink); }
.btn.ghost, .show-panel .btn.ghost { background: linear-gradient(var(--poop-hi), var(--poop-dk)); color: var(--text); }
.sound-top, .sound-top.off { background: var(--poop); color: var(--text); }
.sound-top.off { color: #ffb3a3; }
.wallet { background: linear-gradient(#ffe07a, var(--gold)); color: var(--ink); }

/* ticker */
.ticker { background: var(--poop-dk); color: var(--muted); border-bottom: 4px solid var(--ink); margin-top: 18px; font: 400 1.05rem/1 'Luckiest Guy', sans-serif; letter-spacing: .04em; }
.ticker span, .ticker span:nth-child(n) { color: var(--muted); }
.ticker span:nth-child(2n) { color: var(--gold); }

/* hero: a giant poop. The swirl tip sits on top */
.hero { grid-template-columns: 1.3fr 1fr; padding: 40px 38px 40px; margin-top: 76px; position: relative; border: var(--line); border-radius: 60px 60px 90px 90px;
  background: radial-gradient(ellipse 40% 60px at 25% 10px, rgba(255,230,190,.25), transparent 100%), linear-gradient(var(--poop-hi), var(--poop) 45%, var(--poop-dk));
  box-shadow: inset 0 -14px 0 rgba(42,22,10,.3), 0 10px 0 var(--ink); }
.hero::before { content: ""; position: absolute; left: 50%; top: -58px; width: 46%; height: 70px; transform: translateX(-50%); border: var(--line); border-bottom: 0; border-radius: 60px 60px 0 0;
  background: radial-gradient(ellipse 40% 30px at 30% 8px, rgba(255,230,190,.25), transparent 100%), linear-gradient(var(--poop-hi), var(--poop)); z-index: 0; }
.hero::after { content: ""; position: absolute; left: 50%; top: -100px; width: 70px; height: 56px; transform: translateX(-30%) rotate(-12deg); border: var(--line); border-radius: 50% 60% 10% 40%; background: linear-gradient(var(--poop-hi), var(--poop)); z-index: 0; }
.hero > * { position: relative; z-index: 1; }
.hero-art { min-height: 220px; }
.hero-art .mama-wrap svg, .hero-art .papa-wrap svg { filter: drop-shadow(0 6px 0 rgba(42,22,10,.8)); }

/* stats: four little poops */
.stats { gap: 18px; margin-top: 46px; }
.stat { position: relative; text-align: center; padding: 18px 10px 14px; border-radius: 40px 40px 50px 50px; overflow: visible; }
.stat::before { content: ""; position: absolute; left: 50%; top: -22px; width: 40%; height: 28px; transform: translateX(-50%); border: var(--line); border-bottom: 0; border-radius: 30px 30px 0 0; background: var(--poop-hi); }
.stat b { font: 400 2.8rem/1 'Luckiest Guy', sans-serif; color: var(--text); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 0 4px 0 var(--ink); }
.stat.s2 b { color: var(--gold); }
.stat.s4 b { color: #ff9b85; }
.stat span { font-weight: 700; color: var(--muted); }

/* steps: wooden stall doors */
.steps { counter-reset: stall; gap: 18px; margin-top: 10px; }
.step { position: relative; padding: 54px 20px 20px; border-radius: 14px; background: repeating-linear-gradient(90deg, #7a4a22 0 46px, #6b4020 46px 50px) !important; }
.step::before { counter-increment: stall; content: "STALL " counter(stall); position: absolute; top: 16px; left: 20px; font: 400 1rem 'Luckiest Guy', sans-serif; color: var(--caramel); }
.step::after { content: "VACANT"; position: absolute; top: 13px; right: 14px; font: 700 .72rem Fredoka, sans-serif; letter-spacing: .08em; color: var(--ink); background: var(--stink); border: 3px solid var(--ink); padding: 2px 10px; border-radius: 999px; }
.step:nth-child(2)::after { content: "OCCUPIED"; background: var(--red); color: #fff; }
.step b { font: 400 1.3rem 'Luckiest Guy', sans-serif; color: var(--text); }

/* show: dark chocolate TV */
.show-panel { background: linear-gradient(var(--choc), #2a160a) !important; border: var(--line); box-shadow: 0 10px 0 var(--ink); color: var(--text); border-radius: 36px; }
.show-panel .panel-head h2 { color: var(--caramel); }
.show-panel .panel-head p, .line-head span { color: var(--muted); }
.show-top, .show-panel .show-top { background: var(--poop-dk); color: var(--text); border: 3px solid var(--ink); border-radius: 999px; }
.show-title { font-family: 'Luckiest Guy', sans-serif; font-weight: 400; color: var(--text); }
.onair { font-family: 'Luckiest Guy', sans-serif; font-weight: 400; border-radius: 999px; }
.show-stage { border: 4px solid var(--ink); border-radius: 22px; }
.show-card { background: rgba(59,35,20,.95); color: var(--text); }
.show-card small { color: var(--gold); }
.show-card .show-count { color: var(--gold); font-family: 'Luckiest Guy', sans-serif; font-size: 3.4rem; }
.show-card b { font-family: 'Luckiest Guy', sans-serif; font-weight: 400; color: var(--text); }
.show-bar { border: 3px solid var(--ink); background: var(--poop-dk); border-radius: 999px; }
.show-bar i, .show-panel .show-bar i { background: linear-gradient(var(--gold), #e0a91c); }
.bubble { background: #fff6e6; color: var(--ink); border: 4px solid var(--ink); border-radius: 22px; box-shadow: 0 5px 0 var(--ink); }
.bubble b { font-family: 'Luckiest Guy', sans-serif; font-weight: 400; }
.votes, .show-votes { color: var(--text); }
.votes .yes, .show-votes .yes { background: var(--gold); color: var(--ink); }
.votes .no, .show-votes .no { background: var(--red); color: #fff; }
.line-head b { font-family: 'Luckiest Guy', sans-serif; font-weight: 400; color: var(--caramel); font-size: 1.3rem; }
.line-hall { border: 4px solid var(--ink); border-radius: 20px; background: linear-gradient(#5a3519, #3b2314); }
.line-door { background: var(--poop); border-left: 4px solid var(--ink); }
.line-door span { color: var(--text); font-family: 'Luckiest Guy', sans-serif; font-weight: 400; }
.line-spot b, .line-spot small { color: var(--text); text-shadow: none; }

/* chat: a beige bathroom wall */
.chat { background: #f3e2c6; border: 4px solid var(--ink); border-radius: 22px; overflow: hidden; }
.chat-head { background: var(--poop); border-bottom: 4px solid var(--ink); }
.chat-head b { font: 400 1.2rem 'Luckiest Guy', sans-serif; color: var(--text); }
.chat-note { color: var(--muted); font-family: 'Permanent Marker', cursive; }
.chat-list { background:
  linear-gradient(#dcc39c 3px, transparent 3px) 0 0 / 40px 40px,
  linear-gradient(90deg, #dcc39c 3px, transparent 3px) 0 0 / 40px 40px, #f3e2c6 !important;
  font-family: 'Permanent Marker', cursive; font-size: 1.05rem; gap: 8px; }
.chat-msg { color: var(--ink); transform: rotate(-1deg); }
.chat-msg:nth-child(2n) { transform: rotate(1.2deg); }
.chat-msg b { color: #8b5a2b; }
.chat-msg:nth-child(3n+1) b { color: #b5651d; } .chat-msg:nth-child(3n+2) b { color: #5d7a1f; }
.chat-msg time { font-family: Fredoka, sans-serif; font-size: .7rem; color: #8a6a50; }
.chat-form { background: var(--poop-dk); border-top: 4px solid var(--ink); }
.chat-form input { background: #fff6e6; color: var(--ink); border: 3px solid var(--ink); border-radius: 999px; font-family: Fredoka, sans-serif; }

/* forms */
.form input, .form textarea, .form select, .inline input, .pitch-card input, .pitch-card textarea {
  background: #fff6e6 !important; color: var(--ink) !important; border: 3px solid var(--ink) !important; border-radius: 16px !important; font-family: Fredoka, sans-serif; }
.form input:focus, .form textarea:focus, .chat-form input:focus { outline: none; box-shadow: 0 0 0 4px var(--gold); }
.form label, .pitch-card label { color: var(--text); }
.logo-drop { background: var(--poop-dk); border-color: var(--caramel); color: var(--caramel); }

/* lists, badges, rows */
.row { border-width: 3px; border-radius: 22px; box-shadow: inset 0 -6px 0 rgba(42,22,10,.25), 0 4px 0 var(--ink); }
.row b { font-family: 'Luckiest Guy', sans-serif; font-size: 1.15rem; font-weight: 400; color: var(--gold); }
.badge { border-radius: 999px; border: 2px solid var(--ink); font: 700 .7rem Fredoka, sans-serif; letter-spacing: .06em; text-transform: uppercase; padding: 2px 9px; background: var(--caramel); color: var(--ink); }
.badge-born, .badge-baby, .badge-kid, .badge-adult { background: var(--caramel); }
.badge-blessed { background: var(--gold); }
.badge-aborted { background: var(--red); color: #fff; }
.badge-unblessed, .badge-dead { background: #b9a48e; }
.badge-birthing { background: var(--stink); }
.lane-name { font-family: 'Luckiest Guy', sans-serif; font-size: 1.05rem; font-weight: 400; color: var(--gold); }
.lane .lane-water, .lane:nth-child(n) .lane-water { background: repeating-linear-gradient(90deg, #5a3519 0 36px, #4a2b14 36px 40px) !important; border: 3px solid var(--ink); }

/* sewer teaser */
.ht-sky { border-right: 4px solid var(--ink); }
.ht-text small { color: var(--muted); font-family: 'Permanent Marker', cursive; text-transform: none; letter-spacing: 0; font-size: 1rem; }
.ht-text b { font-family: 'Luckiest Guy', sans-serif; font-weight: 400; color: var(--gold); font-size: 1.6rem; }

/* episode, how, sewer pages */
.ep-head h1 span { color: var(--muted); font-family: Fredoka, sans-serif; -webkit-text-stroke: 0; text-shadow: none; font-size: 1.4rem; }
.ep-head p { color: var(--muted); }
.ep-logo { border-radius: 50%; border: 4px solid var(--ink); }
.future small { color: var(--gold); }
.page-title { color: var(--text) !important; }
.how-page h2 { margin-top: 26px; color: var(--gold); }
.how-rule { background: var(--choc); border: 3px solid var(--ink); color: var(--text); padding: 12px 16px; border-radius: 18px; }
.how-list li b { color: var(--gold); }
code { color: var(--gold); }
.toast { background: var(--choc); color: var(--text); border: 3px solid var(--ink); border-radius: 18px; }
.house-scene { border: 4px solid var(--ink); border-radius: 30px; box-shadow: 0 10px 0 var(--ink); }
.everyone summary { color: var(--gold); font-family: 'Luckiest Guy', sans-serif; font-weight: 400; }
.coin-card .coin-art { background: var(--poop-dk) !important; }
.coin-meta b { color: var(--gold); }
.stages li { color: var(--muted); }

/* footer: the bottom of the pile */
.foot { background: var(--choc) !important; border-top: 0; color: var(--muted); padding-top: 34px; margin-top: 60px; position: relative; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 24px;
  background: radial-gradient(ellipse 34px 24px at 34px 24px, var(--choc) 98%, transparent) 0 0 / 68px 24px repeat-x; }
.foot-brand { font-family: 'Luckiest Guy', sans-serif; color: var(--caramel) !important; font-size: 1.3rem; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding: 28px 18px; border-radius: 40px 40px 60px 60px; }
  .hero::before { width: 60%; }
  .hero-art { min-height: 180px; }
  .stats { gap: 30px 14px; }
  .nav a { font-size: .82rem; padding: 6px 7px 4px; letter-spacing: 0; }
  .brand { font-size: 1.6rem; }
}
.show-main { grid-template-columns: minmax(0, 1fr); } .show-main > * { min-width: 0; }
.step, .step:nth-child(n) { border-top: var(--line) !important; }
