/* Lawn of the Dead: Channel 13's Creature Feature, in SLIME-O-VISION. The game's palette (Iris.swift Palette). */
@font-face { font-family: "Anton"; src: url(../assets/fonts/anton.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "VT323"; src: url(../assets/fonts/vt323.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Archivo Narrow"; src: url(../assets/fonts/archivo-narrow.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --lawn: #8cff3b;
  --slime: #7cff4f;
  --flamingo: #ff5ea8;
  --orange: #ff7a1a;
  --cream: #fff2cc;
  --night: #21122f;
  --ink: #0d0817;
  --deep: #120a1e;
  --poster: "Anton", "Futura Condensed ExtraBold", Impact, "Arial Narrow", sans-serif;
  --vcr: "VT323", ui-monospace, Menlo, monospace;
  --body: "Archivo Narrow", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--deep); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--cream); font-family: var(--body); font-size: clamp(17px, 1.15vw + 11px, 21px); line-height: 1.5; background: transparent; overflow-x: clip; }
img { display: block; max-width: 100%; }
picture { display: block; }
picture img { width: 100%; height: auto; }
a { color: var(--lawn); }
h1, h2, h3 { font-family: var(--poster); font-weight: 400; letter-spacing: .01em; line-height: .95; margin: 0; text-transform: uppercase; }
h2 { font-size: clamp(44px, 7vw, 108px); }
h3 { font-size: clamp(26px, 2.4vw, 38px); }
p { margin: 0 0 1em; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--lawn); color: var(--ink); padding: 8px 12px; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--lawn); outline-offset: 3px; }
.kicker { font-family: var(--vcr); font-size: clamp(20px, 1.6vw, 28px); letter-spacing: .12em; color: var(--lawn); margin: 0 0 .4em; text-shadow: 0 0 10px rgba(140, 255, 59, .45); }
.pink { color: var(--flamingo); }
.st-live { will-change: transform, opacity; }

/* ---------------------------------------------------------------- the VCR on-screen display */
.vcr { position: fixed; inset: 0; z-index: 50; pointer-events: none; }
.vcr .scan { position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, rgba(0,0,0,.14) 0 1px, transparent 1px 3px); mix-blend-mode: multiply; }
.vcr::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 18vmin rgba(0,0,0,.55); }
.osd { position: fixed; z-index: 51; font-family: var(--vcr); font-size: clamp(22px, 2vw, 34px); line-height: 1; color: #fff; letter-spacing: .06em;
  text-shadow: 2px 2px 0 rgba(0,0,0,.6), 0 0 10px rgba(255,255,255,.3); }
.osd.tl { top: max(14px, env(safe-area-inset-top)); left: var(--gutter); }
.osd.tr { top: max(10px, env(safe-area-inset-top)); right: var(--gutter); display: flex; gap: 14px; align-items: center; }
.osd.bl { bottom: max(14px, env(safe-area-inset-bottom)); left: var(--gutter); }
.osd.bl small { font-size: .6em; margin-left: .25em; }
.osd.br { bottom: max(14px, env(safe-area-inset-bottom)); right: var(--gutter); font-size: clamp(16px, 1.4vw, 24px); opacity: .85; }
.osd .sov { color: var(--lawn); }
.play { color: var(--lawn); display: inline-block; animation: blink 1.6s steps(2, start) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.sound { font: inherit; font-size: clamp(16px, 1.3vw, 22px); letter-spacing: .06em; color: var(--ink); background: var(--cream); border: 0; border-radius: 999px;
  padding: 7px 14px 7px 10px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; text-shadow: none; box-shadow: 0 2px 0 rgba(0,0,0,.4); }
.sound svg { width: 22px; height: 22px; }
.sound .waves { display: none; }
.sound[aria-pressed="true"] { background: var(--lawn); }
.sound[aria-pressed="true"] .waves { display: block; }
.sound[aria-pressed="true"] .x { display: none; }
.sound:hover { filter: brightness(1.08); }

/* the channel change */
.static { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0; display: grid; place-items: center;
  background: #777 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.6 -.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.static span { font-family: var(--vcr); font-size: clamp(60px, 10vw, 150px); color: var(--lawn); background: rgba(0,0,0,.65); padding: 0 .3em; }
.static.on { animation: static .42s steps(6) both; }
@keyframes static { 0% { opacity: .95; background-position: 0 0; } 40% { opacity: .9; background-position: 60px 30px; } 70% { opacity: .5; background-position: -40px 70px; } 100% { opacity: 0; background-position: 20px -50px; } }

/* ---------------------------------------------------------------- the sky behind everything */
.sky { position: fixed; inset: 0; z-index: -1; background:
  radial-gradient(ellipse 80% 60% at 50% 110%, rgba(124,255,79,.12), transparent 60%),
  linear-gradient(#07040e 0%, #1a0d2b 45%, #2c1640 75%, #3a1d4a 100%); }
.stars { position: absolute; inset: -10% 0 0; background-repeat: repeat; }
.stars.s1 { background-image: radial-gradient(1.2px 1.2px at 20px 30px, #fff 50%, transparent 52%), radial-gradient(1px 1px at 140px 90px, #dfe8ff 50%, transparent 52%), radial-gradient(1.4px 1.4px at 260px 160px, #fff 50%, transparent 52%), radial-gradient(1px 1px at 330px 40px, #ffd 50%, transparent 52%), radial-gradient(1px 1px at 80px 210px, #fff 50%, transparent 52%); background-size: 380px 260px; opacity: .7; }
.stars.s2 { background-image: radial-gradient(1.6px 1.6px at 60px 120px, #fff 50%, transparent 52%), radial-gradient(1.2px 1.2px at 300px 260px, #cfe0ff 50%, transparent 52%), radial-gradient(1px 1px at 470px 60px, #fff 50%, transparent 52%); background-size: 560px 340px; opacity: .55; animation: twinkle 5s ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: .25; } }
.dawn { position: absolute; inset: 0; opacity: 0; background: linear-gradient(#2b2f6b 0%, #8a4f8f 45%, #ff9a6a 80%, #ffd27a 100%); }

main { position: relative; }
section { position: relative; }
.pin > .stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* ---------------------------------------------------------------- 1 hero */
.hero { height: 300vh; }
.hero .stick { isolation: isolate; }
.moon { position: absolute; width: clamp(110px, 17vw, 300px); right: 12vw; top: 9vh; filter: drop-shadow(0 0 40px rgba(255, 240, 200, .45)); z-index: 1; }
.comet { position: absolute; top: 12vh; left: -20vw; width: 26vw; height: 3px; z-index: 1; border-radius: 3px;
  background: linear-gradient(90deg, transparent, rgba(140,255,59,.15) 40%, #c9ff9e 96%, #fff);
  box-shadow: 0 0 18px 4px rgba(140,255,59,.35); transform: rotate(14deg); animation: comet 14s linear 2s infinite; opacity: 0; }
@keyframes comet { 0% { transform: translate(0,0) rotate(14deg); opacity: 0; } 4% { opacity: 1; } 22% { transform: translate(140vw, 34vh) rotate(14deg); opacity: 0; } 100% { transform: translate(140vw, 34vh) rotate(14deg); opacity: 0; } }
.street { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; z-index: 2; transform-origin: 50% 62%; }
.street img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.fog { position: absolute; left: -15vw; right: -15vw; pointer-events: none; }
.fog.f1 { bottom: 16vh; height: 30vh; z-index: 3; background: radial-gradient(ellipse 30% 50% at 20% 60%, rgba(190,170,230,.28), transparent 70%), radial-gradient(ellipse 35% 45% at 70% 50%, rgba(170,200,220,.22), transparent 70%), radial-gradient(ellipse 25% 40% at 45% 70%, rgba(200,255,190,.14), transparent 70%); }
.fog.f2 { bottom: -4vh; height: 26vh; z-index: 8; background: radial-gradient(ellipse 30% 55% at 30% 55%, rgba(200,190,235,.35), transparent 70%), radial-gradient(ellipse 30% 55% at 80% 60%, rgba(190,210,240,.28), transparent 70%); }
.riser { position: absolute; left: 0; right: 0; bottom: 14vh; height: 60vh; z-index: 4; }
.z { position: absolute; bottom: 0; filter: drop-shadow(0 0 22px rgba(124,255,79,.25)); }
.z1 { left: 8vw; height: 46vh; width: auto; }
.z2 { left: 50%; margin-left: -12vh; height: 60vh; }
.z3 { right: 7vw; height: 47vh; }
.z img { height: 100%; width: auto; }
.fence { position: absolute; left: -2vw; right: -2vw; bottom: 0; height: 30vh; z-index: 5;
  background:
    linear-gradient(to top, #0b1708 0 34%, transparent 34%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='200' viewBox='0 0 60 200'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23e6dcc0'/%3E%3Cstop offset='.55' stop-color='%23cbbf9f'/%3E%3Cstop offset='1' stop-color='%23968a6d'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M8 200V26L24 6l16 20v174z' fill='url(%23g)'/%3E%3Crect x='0' y='60' width='60' height='12' fill='%23b8ac8c'/%3E%3Crect x='0' y='140' width='60' height='12' fill='%23a39777'/%3E%3C/svg%3E") repeat-x 0 0 / auto 100%;
  filter: brightness(.62) saturate(.9); }
.fence::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,30,8,.9), transparent 55%); }
.flamingo { position: absolute; left: 5vw; bottom: 1vh; height: 20vh; z-index: 7; }
.flamingo img, .gnorman img { height: 100%; width: auto; }
.gnorman { position: absolute; right: 6vw; bottom: 0; height: 22vh; z-index: 7; }
.titleblock { position: absolute; inset: 0; z-index: 9; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: clamp(64px, 11vh, 140px); text-align: center; pointer-events: none; }
.tonight { font-family: var(--vcr); font-size: clamp(18px, 1.8vw, 30px); letter-spacing: .14em; color: var(--cream); margin: 0 0 .6em; background: rgba(13,8,23,.55); padding: .1em .6em; }
.logo { display: flex; flex-direction: column; align-items: center; filter: drop-shadow(0 8px 0 rgba(0,0,0,.45)); }
.logo .l1 { font-size: clamp(42px, 7.2vw, 120px); color: var(--flamingo); letter-spacing: .04em; -webkit-text-stroke: 2px #3a0a23; transform: rotate(-2deg); }
.logo .l2 { font-size: clamp(120px, 21vw, 340px); color: var(--lawn); line-height: .84; letter-spacing: .02em; -webkit-text-stroke: 3px #10380a;
  text-shadow: 0 0 30px rgba(140,255,59,.55), 0 0 90px rgba(140,255,59,.3); position: relative; }
.tagline { font-family: var(--poster); font-size: clamp(18px, 2.2vw, 36px); color: var(--cream); letter-spacing: .08em; margin: .5em 0 .3em; text-shadow: 0 3px 0 rgba(0,0,0,.6); }
.badge { font-family: var(--poster); font-size: clamp(16px, 1.6vw, 26px); color: var(--ink); background: var(--orange); padding: .35em .9em; border-radius: 999px; transform: rotate(-4deg); letter-spacing: .06em; box-shadow: 0 4px 0 #7a3000; }
.pitch { position: absolute; z-index: 10; left: 50%; bottom: 18vh; width: min(880px, calc(100% - 2 * var(--gutter))); margin-left: calc(min(880px, calc(100% - 2 * var(--gutter))) / -2);
  font-size: clamp(22px, 2.3vw, 38px); line-height: 1.25; text-align: center; background: rgba(13,8,23,.78); border: 2px solid var(--lawn); padding: .9em 1.1em; border-radius: 6px; opacity: 0; }
.pitch b { color: var(--lawn); font-weight: 700; }
.pitch em { color: var(--flamingo); font-style: normal; }
.cue { position: absolute; bottom: 7vh; left: 0; right: 0; text-align: center; z-index: 10; font-family: var(--vcr); font-size: 22px; letter-spacing: .14em; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 6px; } }

/* ---------------------------------------------------------------- 2 story */
.story { padding: 18vh var(--gutter) 16vh; display: grid; place-items: center; }
.guide { max-width: 760px; background: rgba(13,8,23,.82); border: 2px solid rgba(255,242,204,.25); border-radius: 8px; padding: clamp(24px, 4vw, 48px); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.guide h2 { font-size: clamp(40px, 5.4vw, 76px); color: var(--cream); margin-bottom: .4em; }
.guide-time { font-family: var(--vcr); font-size: 24px; color: var(--lawn); letter-spacing: .1em; }
.guide-small { font-family: var(--vcr); font-size: 22px; color: var(--flamingo); letter-spacing: .08em; margin: 0; }

/* ---------------------------------------------------------------- 3 the neighbors */
.parade { height: 520vh; }
.parade .stick { background: linear-gradient(transparent 55%, rgba(8,20,6,.6) 100%); }
.sechead { text-align: center; padding: 0 var(--gutter); }
.sechead .sub { max-width: 720px; margin: .6em auto 0; color: #e8dcc0; }
.parade .sechead { position: absolute; top: clamp(56px, 9vh, 110px); left: 0; right: 0; z-index: 5; }
.parade .sechead .sub { font-family: var(--vcr); font-size: 26px; color: var(--flamingo); }
.row { position: absolute; display: flex; align-items: flex-end; white-space: nowrap; }
.row.back { bottom: 24vh; gap: 6vw; z-index: 1; filter: brightness(.55) saturate(.8); }
.row.back .p { height: 22vh; flex: none; }
.row.back .p img { height: 100%; width: auto; }
.row.back .g2, .row.back .g3 { height: 13vh; }
.row.front { bottom: 3vh; gap: 2.5vw; z-index: 3; }
.who { margin: 0; flex: none; width: clamp(200px, 21vw, 340px); display: flex; flex-direction: column; align-items: center; }
.who picture { height: 52vh; display: flex; align-items: flex-end; }
.who picture img { height: 100%; width: auto; filter: drop-shadow(0 0 18px rgba(124,255,79,.22)); }
.who figcaption { white-space: normal; text-align: center; font-size: clamp(14px, 1vw, 17px); line-height: 1.25; background: rgba(13,8,23,.85); border-top: 3px solid var(--lawn); padding: .5em .7em; margin-top: -2vh; position: relative; width: 100%; color: #e8dcc0; }
.who figcaption b { display: block; font-family: var(--poster); font-weight: 400; font-size: 1.45em; text-transform: uppercase; color: var(--cream); letter-spacing: .02em; }
.who.special figcaption { border-color: var(--flamingo); }
.lawnstrip { position: absolute; left: 0; right: 0; bottom: 0; height: 16vh; z-index: 2; background: linear-gradient(transparent, rgba(6,18,5,.9) 60%); }
.parade-note { position: absolute; z-index: 6; left: 50%; top: 50%; translate: -50% -50%; width: min(720px, 90vw); text-align: center; font-size: clamp(20px, 2vw, 30px); background: rgba(13,8,23,.88); border: 2px solid var(--flamingo); padding: 1em; border-radius: 6px; opacity: 0; }

/* ---------------------------------------------------------------- 4 bosses */
.bosses { height: 640vh; }
.bosses .stick { background: radial-gradient(ellipse 60% 45% at 50% 100%, rgba(124,255,79,.12), transparent 70%); }
.bossbg { position: absolute; inset: 0; opacity: .38; }
.bossbg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; }
.bossbg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(18,10,30,.85), rgba(18,10,30,.3) 40%, rgba(18,10,30,.85)); }
.spot { position: absolute; left: 50%; top: -10vh; width: 80vw; height: 120vh; translate: -50% 0; background: conic-gradient(from 168deg at 50% 0, transparent 0deg, rgba(255,242,204,.12) 12deg, rgba(255,242,204,.12) 24deg, transparent 36deg); pointer-events: none; }
.bosses .sechead.top { position: absolute; top: clamp(56px, 9vh, 100px); left: 0; right: 0; z-index: 6; }
.boss { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.huge { position: absolute; top: 18vh; left: -10vw; right: -10vw; text-align: center; font-family: var(--poster); font-size: clamp(90px, 19vw, 330px); line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255,94,168,.42); white-space: nowrap; margin: 0; letter-spacing: .02em; }
.b2 .huge, .b4 .huge { -webkit-text-stroke-color: rgba(140,255,59,.38); }
.b5 .huge { -webkit-text-stroke-color: rgba(255,122,26,.45); }
.bimg { position: absolute; left: 50%; bottom: 0; height: 84vh; translate: -50% 0; z-index: 2; filter: drop-shadow(0 0 40px rgba(124,255,79,.25)); }
.bimg img { height: 100%; width: auto; max-width: none; }
.b3 .bimg, .b4 .bimg { bottom: 8vh; height: 72vh; }
.b2 .bimg { bottom: -3vh; height: 92vh; }
.grave { position: absolute; left: 50%; bottom: -6vh; width: 70vh; height: 18vh; translate: -50% 0; border-radius: 50%; background: radial-gradient(ellipse at 50% 45%, #000 0 55%, #3b2412 58%, #231509 70%, transparent 72%); z-index: 3; }
.bill { position: absolute; z-index: 4; left: var(--gutter); bottom: 9vh; max-width: min(430px, 42vw); background: rgba(13,8,23,.86); border-left: 4px solid var(--flamingo); padding: 1em 1.2em; }
.b2 .bill, .b4 .bill { left: auto; right: var(--gutter); border-left: 0; border-right: 4px solid var(--lawn); }
.bill .stage { font-family: var(--vcr); font-size: 22px; letter-spacing: .1em; color: var(--lawn); margin: 0 0 .2em; }
.bill h3 { font-size: clamp(34px, 3.6vw, 58px); color: var(--cream); margin-bottom: .3em; }
.mort { font-size: .9em; color: #e8dcc0; margin: 0; }
.mort span { font-family: var(--vcr); color: var(--flamingo); letter-spacing: .08em; }

/* ---------------------------------------------------------------- 5 route 13 */
.route { height: 260vh; }
.truckart { position: absolute; inset: 0; transform-origin: 40% 70%; }
.truckart img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 60%; }
.road-lines { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(13,8,23,.6), transparent 26%, transparent 70%, rgba(13,8,23,.75)); }
.fog.f3 { bottom: 0; height: 36vh; background: radial-gradient(ellipse 40% 50% at 30% 70%, rgba(200,190,235,.22), transparent 70%), radial-gradient(ellipse 35% 45% at 80% 80%, rgba(190,210,240,.2), transparent 70%); }
.routecopy { position: absolute; z-index: 3; right: var(--gutter); top: clamp(60px, 12vh, 140px); max-width: min(520px, 90vw); background: rgba(13,8,23,.84); padding: 1.2em 1.4em; border-top: 4px solid var(--orange); opacity: 0; }
.routecopy h2 { font-size: clamp(64px, 9vw, 150px); color: var(--orange); margin: 0 0 .15em; text-shadow: 0 4px 0 #5a1f00; }
.routecopy h2 span { color: var(--cream); }

/* ---------------------------------------------------------------- 6 instant replay (games/_kit/showcase.js) */
.replay-sec { padding: 14vh 0 8vh; background: linear-gradient(transparent, rgba(13,8,23,.55) 18%, rgba(13,8,23,.55) 82%, transparent); }
.replay-sec .sechead h2 { margin-bottom: .2em; }
.slimey { color: var(--slime); text-shadow: 0 0 30px rgba(124,255,79,.55), 0 5px 0 #1f6b0d; }
.replay { position: relative; margin: 2vh auto 0; width: min(1500px, 100%); height: min(80vh, 820px); min-height: 420px; touch-action: pan-y;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 88%, transparent), linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 88%, transparent), linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-composite: intersect; cursor: crosshair;
  background: radial-gradient(ellipse 60% 55% at 50% 62%, rgba(124,255,79,.07), transparent 70%); }
.replay canvas { position: absolute; inset: 0; }
.rep-osd { position: absolute; inset: 9% 7% 13%; pointer-events: none; font-family: var(--vcr); color: #fff; text-shadow: 2px 2px 0 rgba(0,0,0,.7); font-size: clamp(20px, 2.1vw, 36px); line-height: 1; z-index: 2; }
.rep-osd > div { position: absolute; }
.r-tl { top: 0; left: 0; }
.r-tl .rec { color: var(--flamingo); animation: blink 1.2s steps(2, start) infinite; }
.r-tl .dim { color: var(--lawn); margin-left: .4em; }
.r-tr { top: 0; right: 0; color: var(--lawn); }
.r-card { left: 0; bottom: 0; max-width: min(560px, 70%); border-left: 5px solid var(--flamingo); background: rgba(13,8,23,.72); padding: .35em .7em .4em; opacity: 0; translate: -12px 0; transition: opacity .35s, translate .35s; }
.r-card.show { opacity: 1; translate: 0 0; }
.r-who { font-family: var(--poster); font-size: clamp(24px, 2.5vw, 42px); text-transform: uppercase; margin: 0; letter-spacing: .02em; }
.r-as { font-family: var(--body); font-size: clamp(15px, 1.1vw, 19px); color: #e8dcc0; margin: .2em 0 0; text-shadow: none; line-height: 1.25; }
.r-card.boss { border-left-color: var(--orange); }
.r-card.boss .r-who { color: var(--orange); }
.r-pop { left: 0; right: 0; top: 36%; text-align: center; font-family: var(--poster); font-size: clamp(54px, 8vw, 140px); color: var(--slime); text-shadow: 0 6px 0 #1f6b0d, 0 0 40px rgba(124,255,79,.6); opacity: 0; scale: .6; rotate: -6deg; }
.r-pop.go { animation: splatpop .9s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes splatpop { 0% { opacity: 0; scale: .5; } 18% { opacity: 1; scale: 1.08; } 70% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: 1.15; } }
.rep-tap { position: absolute; left: 0; right: 0; bottom: 4%; text-align: center; font-family: var(--vcr); font-size: clamp(15px, 1.2vw, 20px); letter-spacing: .14em; color: #b9a9d0; margin: 0; pointer-events: none; z-index: 2; }
.btn { display: inline-flex; flex-direction: column; align-items: center; font-family: var(--poster); font-size: clamp(20px, 2vw, 30px); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); background: var(--flamingo); border: 0; border-radius: 10px; padding: .45em 1em; text-decoration: none; cursor: pointer; box-shadow: 0 5px 0 #7a1f4c; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 2px var(--cream); }
.btn small { font-family: var(--body); font-size: .5em; letter-spacing: .02em; text-transform: none; opacity: .8; }

/* ---------------------------------------------------------------- 7 Mort */
.host { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 80px); align-items: center; padding: 16vh var(--gutter); max-width: 1300px; margin: 0 auto; }
.host-tv { position: relative; }
.host-tv picture { filter: drop-shadow(0 0 60px rgba(255,94,168,.3)); }
.onair { position: absolute; left: 21%; top: 9%; font-family: var(--poster); font-size: clamp(14px, 1.6vw, 24px); color: #fff; background: #e0144c; padding: .1em .45em; border-radius: 4px; letter-spacing: .08em; box-shadow: 0 0 20px #ff2a6a; animation: blink 2.4s steps(2, start) infinite; rotate: -3deg; }
html.sound-on .host.talking .onair { animation-duration: .5s; }
.host h2 { color: var(--flamingo); margin-bottom: .3em; }
.caption { margin-top: 1em; font-family: var(--vcr); font-size: clamp(20px, 1.7vw, 28px); line-height: 1.2; color: #fff; background: rgba(0,0,0,.6); padding: .4em .6em; border-left: 3px solid var(--flamingo); }

/* ---------------------------------------------------------------- 8 fun */
.fun { padding: 12vh var(--gutter); max-width: 1300px; margin: 0 auto; }
.points { list-style: none; padding: 0; margin: 6vh 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.points li { background: rgba(13,8,23,.82); border: 2px solid rgba(255,242,204,.16); border-radius: 10px; padding: 1.2em; position: relative; overflow: hidden; }
.points .n { font-family: var(--poster); font-size: 64px; line-height: .9; color: var(--lawn); opacity: .9; display: block; }
.points li:nth-child(even) .n { color: var(--flamingo); }
.points h3 { margin: .2em 0 .4em; font-size: clamp(24px, 2vw, 32px); }
.points p { margin: 0; font-size: .95em; color: #e8dcc0; }
.pt-img { width: 72%; margin: .6em auto 0; transform: rotate(-8deg); }

/* ---------------------------------------------------------------- 9 modes + trailer */
.modes { padding: 8vh var(--gutter) 12vh; max-width: 1300px; margin: 0 auto; }
.mode-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 5vh; }
.mode { background: rgba(13,8,23,.84); border-radius: 10px; padding: 1.4em 1.5em; border: 2px solid rgba(255,242,204,.16); }
.tag { display: inline-block; font-family: var(--vcr); font-size: 22px; letter-spacing: .12em; background: var(--lawn); color: var(--ink); padding: .05em .5em; margin-bottom: .6em; }
.tag.pinkbg { background: var(--flamingo); }
.mode h3 { margin-bottom: .4em; }
.stages { margin: 0; padding-left: 1.4em; font-family: var(--poster); font-size: 1.25em; text-transform: uppercase; letter-spacing: .02em; line-height: 1.35; }
.stages li::marker { color: var(--lawn); font-family: var(--vcr); }
.trailer { margin-top: 8vh; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; border: 3px solid #3d2a52; background: #000; }
.trailer video { width: 100%; height: 100%; display: block; }
.nosignal { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-family: var(--vcr); color: #fff;
  background: linear-gradient(90deg, #c0c0c0 0 14.28%, #c0c000 0 28.57%, #00c0c0 0 42.85%, #00c000 0 57.14%, #c000c0 0 71.42%, #c00000 0 85.71%, #0000c0 0); }
.nosignal p { background: rgba(0,0,0,.82); margin: .1em; padding: .1em .5em; }
.ns1 { font-family: var(--poster); font-size: clamp(40px, 7vw, 110px); color: var(--lawn); }
.ns2 { font-size: clamp(20px, 2.4vw, 36px); letter-spacing: .1em; }
.ns3 { font-size: clamp(16px, 1.6vw, 24px); color: var(--flamingo); animation: blink 1.2s steps(2, start) infinite; }

/* ---------------------------------------------------------------- 10 get it */
.get { padding: 10vh var(--gutter); display: grid; place-items: center; }
.ticket { max-width: 760px; text-align: center; background: var(--cream); color: var(--ink); border-radius: 16px; padding: clamp(28px, 5vw, 56px); position: relative;
  mask: radial-gradient(circle 22px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 22px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
  -webkit-mask: radial-gradient(circle 22px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 22px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; }
.ticket .kicker { color: #b3003f; text-shadow: none; }
.ticket h2 { font-size: clamp(40px, 6vw, 84px); margin-bottom: .3em; color: #2a103c; }
.ticket p { color: #3b2a3f; }
.store { margin-top: .6em; }
.store.soon { cursor: default; }

/* ---------------------------------------------------------------- 11 the end */
.theend { padding: 22vh var(--gutter) 10vh; text-align: center; min-height: 100vh; }
.end1 { font-family: var(--poster); font-size: clamp(90px, 16vw, 260px); line-height: .9; color: var(--cream); text-shadow: 0 6px 0 rgba(0,0,0,.35); margin: 0; }
.end2 { font-family: var(--poster); font-size: clamp(80px, 12vw, 200px); line-height: 1; color: var(--orange); display: inline-flex; align-items: center; gap: .1em; margin: 0; }
.wink { width: clamp(70px, 9vw, 140px); }
.studio { margin: 14vh auto 0; max-width: 760px; }
.brand { font-family: var(--vcr); font-size: clamp(44px, 6vw, 80px); margin: 0; }
.brand a { color: var(--lawn); text-decoration: none; text-shadow: 0 0 20px rgba(140,255,59,.5); }
.motto { font-size: clamp(20px, 1.8vw, 28px); color: #fff; }
.credits { font-size: 14px; color: rgba(255,242,204,.7); margin-top: 3em; }

/* ---------------------------------------------------------------- phones */
@media (max-width: 760px) {
  .osd.br { display: none; }
  .hero { height: 260vh; }
  .street img { object-position: 46% 70%; }
  .moon { right: 6vw; top: 12vh; }
  .z1 { left: -6vw; height: 34vh; }
  .z2 { height: 44vh; margin-left: -9vh; }
  .z3 { right: -6vw; height: 35vh; }
  .riser { bottom: 14vh; }
  .fence { height: 24vh; }
  .flamingo { height: 14vh; left: 2vw; }
  .gnorman { height: 15vh; right: 2vw; }
  .titleblock { padding-top: 80px; }
  .pitch { bottom: 12vh; font-size: 20px; }
  .who { width: 62vw; }
  .who picture { height: 46vh; }
  .row.front { gap: 4vw; }
  .parade { height: 700vh; }
  .row.front { --n: 13; }
  .bill { left: var(--gutter) !important; right: var(--gutter) !important; max-width: none; bottom: 4vh; font-size: 16px; padding: .7em .9em; border-left: 4px solid var(--flamingo) !important; border-right: 0 !important; }
  .bill h3 { font-size: 34px; }
  .bimg { height: 62vh !important; bottom: 24vh !important; }
  .b2 .bimg { bottom: 20vh !important; height: 66vh !important; }
  .grave { bottom: 17vh; width: 46vh; height: 12vh; }
  .huge { top: 26vh; font-size: 30vw; }
  .routecopy { left: var(--gutter); right: var(--gutter); top: auto; bottom: 6vh; }
  .routecopy p:last-child { font-size: 16px; margin: 0; }
  .truckart img { object-position: 30% 60%; }
  .replay { height: 76vh; min-height: 460px; }
  .rep-osd { inset: 8% 16px 12%; }
  .r-card { max-width: 86%; }
  .host { grid-template-columns: 1fr; padding-top: 10vh; }
}

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .comet, .stars.s2, .cue, .play, .onair, .ns3, .r-tl .rec { animation: none !important; }
  .r-pop.go { animation: none; opacity: 0; }
  .rep-tap { display: none; }
  .static { display: none; }
}
