/* =========================================================
   NIGHTMARE AT SOL Y ARENA — versión celular
   Póster impreso en tres tintas (rojo, negro, hueso) que alterna
   secciones rojas, de papel y negras; columna única de máx. 480px.
   ========================================================= */
:root {
  --ink: #0c0a09;
  --red: #d3141c;
  --red-mid: #9c0f16;
  --red-ink: #5e060b;
  --bone: #efe6d2;
  --bone-dim: #b3a993;
  --f-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --f-goth: "UnifrakturMaguntia", "Old English Text MT", serif;
  --f-type: "Courier Prime", "Courier New", monospace;
  --f-body: "Archivo Narrow", "Arial Narrow", sans-serif;
  --gutter: 16px;
  --beat: 0;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { background: var(--ink); }
body { background: var(--ink); color: var(--bone); font-family: var(--f-body); font-size: 17px; line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; height: 100svh; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }
main { max-width: 480px; margin: 0 auto; position: relative; overflow: hidden; }

.grain {
  position: fixed; inset: -50%; z-index: 95; pointer-events: none;
  background-image: var(--grain-img); background-size: 160px;
  opacity: .13; mix-blend-mode: overlay;
  animation: grain .45s steps(4) infinite;
}
.worn { filter: url(#worn); }
.goth { font-family: var(--f-goth); font-weight: 400; text-transform: none; }

/* ---------- Etiquetas ---------- */
.tag {
  display: inline-block;
  font-family: var(--f-display); font-size: 1.08rem; letter-spacing: .03em; text-transform: uppercase; line-height: 1;
  padding: .44em .58em .36em;
  background: var(--red); color: var(--ink);
  box-shadow: 0 0 0 2px var(--ink), 0 0 0 3.5px var(--bone);
  transform: rotate(var(--r, -2deg));
}
.tag-ink { background: var(--ink); color: var(--red); box-shadow: 0 0 0 2px var(--red); }
.tag-bone { background: var(--bone); color: var(--ink); box-shadow: 0 0 0 2px var(--ink), 0 0 0 3.5px var(--red); }
.slap { opacity: 0; transform: scale(1.9) rotate(calc(var(--r, -2deg) * 4)); }
.slap.in { animation: slap .42s cubic-bezier(.3, 1.6, .5, 1) forwards; animation-delay: var(--d, 0s); }

.rv { opacity: 0; transform: translateY(34px); }
.rv.in { animation: rise .7s cubic-bezier(.2, .9, .2, 1) forwards; animation-delay: var(--d, 0s); }

/* =========================================================
   PORTADA: EL CASTILLO
   ========================================================= */
.gate { position: fixed; inset: 0; z-index: 80; background: #0d1036; overflow: hidden; }
.castle { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.gate-top {
  position: absolute; left: 0; right: 0; top: calc(26px + env(safe-area-inset-top, 0px));
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 0 var(--gutter);
  animation: dropIn 1.1s cubic-bezier(.2, .9, .2, 1) .2s both;
}
.gate-logo { display: flex; flex-direction: column; align-items: center; line-height: .9; transform: rotate(-4deg); }
.gl-1 { font-family: var(--f-display); font-size: clamp(3.6rem, 19vw, 6rem); text-transform: uppercase; color: var(--bone); text-shadow: 3px 3px 0 var(--red); }
.gl-2 { display: flex; align-items: baseline; gap: 10px; }
.gl-2 .goth { font-size: 1.8rem; color: var(--red); text-shadow: 0 0 10px rgba(0, 0, 0, .6); }
.gl-2 .worn { font-family: var(--f-display); font-size: clamp(1.8rem, 9vw, 2.8rem); text-transform: uppercase; color: var(--bone); }

.gate-bottom {
  position: absolute; left: 0; right: 0; bottom: calc(34px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 0 var(--gutter);
  animation: riseIn 1s cubic-bezier(.2, .9, .2, 1) .8s both;
}
.enter {
  position: relative; overflow: hidden;
  font-family: var(--f-display); font-size: 1.7rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1;
  padding: 18px 28px 15px;
  background: var(--red); color: var(--ink);
  box-shadow: 0 0 0 2px var(--ink), 0 0 0 3.5px var(--bone), 0 10px 40px rgba(211, 20, 28, .55);
  transform: rotate(-2deg);
  animation: pulse 1.6s ease-in-out infinite;
}
.enter::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  animation: shine 2.6s ease-in-out infinite;
}
.enter:active { transform: rotate(-2deg) scale(.95); }
.enter-txt { position: relative; z-index: 1; }
.gate-note { font-family: var(--f-type); font-size: .72rem; color: rgba(239, 230, 210, .75); text-align: center; text-shadow: 0 1px 6px #000; }
.gate.entering .gate-top, .gate.entering .gate-bottom { animation: outUp .5s ease-in forwards; }
.gate.gone { animation: fadeOut .5s ease-out forwards; }

/* Sonido */
.sound {
  position: fixed; z-index: 70; right: var(--gutter); bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-type); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 10px; background: var(--ink); color: var(--bone); box-shadow: 0 0 0 1.5px var(--bone);
}
.sound-bars { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.sound-bars i { width: 3px; background: var(--red); height: calc(3px + var(--beat) * 9px); }
.sound-bars i:nth-child(2) { height: calc(5px + var(--beat) * 7px); }
.sound[aria-pressed="false"] .sound-bars i { height: 3px; background: var(--bone-dim); }

.egg-bat { position: fixed; z-index: 60; top: 18vh; left: -60px; width: 46px; height: 23px; fill: var(--ink); pointer-events: none; opacity: 0; }
.egg-bat.fly { animation: batCross 2.6s cubic-bezier(.45, .1, .55, .9) forwards; }
.fx { position: fixed; inset: 0; z-index: 75; pointer-events: none; overflow: hidden; }
.fx-bat { position: absolute; width: 40px; height: 20px; fill: var(--ink); animation: burst 1.3s cubic-bezier(.2, .7, .3, 1) forwards; }
.fx-bat svg { width: 100%; height: 100%; animation: flap .12s infinite alternate; }

/* =========================================================
   PÓSTER
   ========================================================= */
.poster {
  position: relative; min-height: 100svh; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 0 var(--gutter) calc(30px + env(safe-area-inset-bottom, 0px));
  background: var(--red);
}
.poster-img {
  position: absolute; left: -4%; top: -4%; width: 108%; height: 108%; z-index: -1;
  transform: scale(calc(1 + var(--beat) * .035));
  animation: drift 18s ease-in-out infinite alternate;
}
.poster::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(94, 6, 11, .55) 100%); }
.poster-body { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

.title { display: flex; flex-direction: column; align-items: flex-start; font-weight: 400; line-height: .84; transform: rotate(-5deg); transform-origin: left bottom; margin: 8px 0 6px -2px; }
.t-night, .t-venue { font-family: var(--f-display); text-transform: uppercase; color: var(--bone); text-shadow: calc(3px + var(--beat) * 6px) 3px 0 var(--ink); }
.t-night { font-size: clamp(4.4rem, 22vw, 6.6rem); letter-spacing: -.005em; }
.t-at { font-size: 2.8rem; color: var(--bone); text-shadow: 2px 2px 0 var(--ink); margin: 4px 0 -2px 6px; line-height: .7; }
.t-venue { font-size: clamp(3.4rem, 17.5vw, 5.2rem); }
.ch { display: inline-block; opacity: 0; white-space: pre; }
.play .ch { animation: chDrop .6s cubic-bezier(.25, 1.6, .45, 1) forwards; animation-delay: calc(var(--i) * 45ms + var(--d0, 0ms)); }

.lineup { list-style: none; display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.lineup .tag:nth-child(1) { --r: -2deg; }
.lineup .tag:nth-child(2) { --r: 1.8deg; margin-left: 24px; }
.lineup .tag:nth-child(3) { --r: -1deg; margin-left: 8px; }
.lineup .tag:nth-child(4) { --r: 2deg; margin-left: 20px; }
.lineup .tag:nth-child(5) { --r: -1.5deg; margin-left: 4px; }

/* Garra que indica deslizar */
.claw-hint {
  position: absolute; right: var(--gutter); bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-decoration: none; color: var(--bone);
  opacity: 0; transition: opacity .5s;
}
.claw-hint.show { opacity: 1; }
.claw-hint.gone { opacity: 0; pointer-events: none; }
.claw { width: 46px; height: 69px; fill: var(--bone); filter: drop-shadow(2px 2px 0 var(--ink)); animation: rake 1.8s cubic-bezier(.6, 0, .3, 1) infinite; }
.claw path:nth-child(2) { animation: none; }
.claw-label { font-family: var(--f-type); font-size: .68rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; text-shadow: 1px 1px 0 var(--ink); animation: bob 1.8s ease-in-out infinite; }
@keyframes rake {
  0% { clip-path: inset(0 0 100% 0); transform: translateY(-8px); opacity: 1; }
  45% { clip-path: inset(0 0 0 0); transform: translateY(0); opacity: 1; }
  80% { clip-path: inset(0 0 0 0); transform: translateY(6px); opacity: 0; }
  100% { clip-path: inset(0 0 100% 0); opacity: 0; }
}
@keyframes bob { 50% { transform: translateY(4px); } }

/* ---------- Cinta en movimiento ---------- */
.tape { position: relative; height: 128px; margin: -28px 0; z-index: 3; pointer-events: none; }
.tape-band { position: absolute; left: -10%; width: 120%; overflow: hidden; white-space: nowrap; padding: 10px 0 8px; font-family: var(--f-display); font-size: 1.35rem; letter-spacing: .06em; box-shadow: 0 8px 18px rgba(0, 0, 0, .45); }
.tape-a { top: 26px; background: var(--ink); color: var(--red); transform: rotate(-5deg); }
.tape-b { top: 62px; background: var(--bone); color: var(--ink); transform: rotate(4deg); }
.tape-track { display: inline-block; animation: marquee 16s linear infinite; }
.tape-b .tape-track { animation-direction: reverse; animation-duration: 20s; }
.tape-2 { height: 80px; margin: -30px 0 -26px; }
.tape-2 .tape-a { background: var(--bone); color: var(--red); transform: rotate(3deg); }

/* =========================================================
   CUENTA REGRESIVA (sobre papel)
   ========================================================= */
.count { position: relative; background: var(--bone); color: var(--ink); padding: 84px var(--gutter) 64px; }
.count::before { content: ""; position: absolute; inset: 0; background-image: var(--grain-img); background-size: 160px; opacity: .2; mix-blend-mode: multiply; pointer-events: none; }
.eyebrow { font-family: var(--f-type); font-size: .8rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 14px; opacity: .75; }
.count-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
.count-cell { display: flex; align-items: baseline; gap: 8px; border-top: 2px solid var(--ink); padding-top: 6px; overflow: hidden; }
.count-cell b { font-family: var(--f-display); font-weight: 400; font-size: clamp(4.4rem, 24vw, 7rem); line-height: .98; color: var(--red); font-variant-numeric: tabular-nums; display: inline-block; }
.count-cell b.flip { animation: rollIn .38s cubic-bezier(.2, 1.4, .4, 1); }
.count-cell span { font-family: var(--f-type); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.count-done { font-family: var(--f-display); font-size: 3rem; color: var(--red); text-transform: uppercase; }
.count-foot { margin-top: 18px; font-family: var(--f-goth); font-size: 1.7rem; }

/* =========================================================
   ENTRADA
   ========================================================= */
.ticket-sec {
  padding: 70px 0; display: flex; flex-direction: column; align-items: center; gap: 36px;
  background: radial-gradient(ellipse 90% 45% at 50% 22%, #4a1016, var(--ink) 75%);
}
.ticket-wrap { width: 118%; margin-left: -9%; transform-origin: 30% 50%; transform: rotate(-9deg); filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .7)); will-change: transform; }
.ticket { display: block; width: 100%; height: auto; overflow: visible; }
.t-stub { font-family: var(--f-display); font-size: 34px; fill: var(--red-ink); letter-spacing: 1px; }
.t-big { font-family: var(--f-display); font-size: 48px; fill: var(--red-ink); }
.t-top { font-family: var(--f-display); font-size: 22px; fill: var(--red-ink); letter-spacing: 2px; }
.t-fine { font-family: var(--f-type); font-size: 12px; font-weight: 700; fill: var(--red-ink); letter-spacing: .5px; }
.t-micro { font-size: 9.5px; font-weight: 400; }

.details { width: 100%; padding: 0 var(--gutter); font-family: var(--f-type); font-size: .92rem; }
.details div { display: grid; grid-template-columns: 5.2rem 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px dashed rgba(239, 230, 210, .3); }
.details dt { color: var(--red); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.details dd { min-width: 0; }

.btn-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-size: 1.55rem; text-transform: uppercase; letter-spacing: .03em; text-decoration: none;
  padding: 14px 22px 12px; background: var(--red); color: var(--ink);
  box-shadow: 0 0 0 2px var(--ink), 0 0 0 3.5px var(--bone), 6px 6px 0 3.5px var(--red-ink);
  rotate: -2deg;
}
.btn-tag .arrow { display: inline-block; animation: nudge 1.2s ease-in-out infinite; }
.btn-tag:active { box-shadow: 0 0 0 2px var(--ink), 0 0 0 3.5px var(--bone), 2px 2px 0 3.5px var(--red-ink); translate: 4px 4px; }

/* =========================================================
   REGLAS (sobre rojo)
   ========================================================= */
.rules { background: var(--red); color: var(--ink); padding: 70px var(--gutter) 84px; }
.lineup-rules .tag { font-size: 1.2rem; }
.ico { font-size: .9em; }
.ico-svg { width: 1.05em; height: 1.05em; vertical-align: -.12em; color: currentColor; }

/* "¿opcional?" se tacha solo y aparece "no opcional" */
.strike { position: relative; text-decoration: none; color: var(--bone-dim); }
.strike::after {
  content: ""; position: absolute; left: -6%; right: -6%; top: 48%; height: 3px;
  background: var(--bone); transform: rotate(-7deg) scaleX(0); transform-origin: left center;
}
.nope { display: inline-block; color: var(--bone); transform: rotate(-4deg) scale(0); }
.slap.in .strike::after { animation: strike .35s ease-out forwards; animation-delay: calc(var(--d, 0s) + .6s); }
.slap.in .nope { animation: nopeIn .4s cubic-bezier(.3, 1.8, .5, 1) forwards; animation-delay: calc(var(--d, 0s) + .95s); }
@keyframes strike { to { transform: rotate(-7deg) scaleX(1); } }
@keyframes nopeIn { to { transform: rotate(-4deg) scale(1); } }

/* =========================================================
   CONFIRMACIÓN
   ========================================================= */
.rsvp { background: var(--red-mid); padding: 70px var(--gutter); display: flex; flex-direction: column; }
.rsvp-title { white-space: nowrap; font-family: var(--f-display); font-weight: 400; font-size: clamp(4.2rem, 23vw, 6.8rem); line-height: .9; text-transform: uppercase; color: var(--bone); transform: rotate(-4deg); margin-bottom: -8px; position: relative; z-index: 2; text-shadow: 4px 3px 0 var(--ink); }

.sheet, .done { position: relative; background: var(--bone); color: var(--ink); padding: 34px 18px 22px; box-shadow: 0 20px 30px rgba(0, 0, 0, .45); rotate: 1deg; }
.sheet::before, .done::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: var(--grain-img); background-size: 160px; opacity: .22; mix-blend-mode: multiply; }
.sheet-head { display: flex; justify-content: space-between; font-family: var(--f-type); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; border-bottom: 2px solid var(--ink); padding-bottom: 6px; margin-bottom: 18px; }

.line { display: block; margin-bottom: 20px; }
.line-label { display: block; font-family: var(--f-type); font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 4px; }
.line input { width: 100%; border: 0; border-bottom: 2px solid var(--ink); background: transparent; font-family: var(--f-display); font-size: 1.7rem; text-transform: uppercase; color: var(--ink); padding: 2px 0; border-radius: 0; outline: none; }
.line input::placeholder { color: rgba(12, 10, 9, .3); }
.line input:focus { border-bottom-color: var(--red); }

.pick { border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.pick legend { grid-column: 1 / -1; margin-bottom: 8px; }
.stamp input { position: absolute; opacity: 0; pointer-events: none; }
.stamp-box { display: flex; align-items: center; justify-content: center; gap: 10px; height: 66px; border: 2.5px solid var(--ink); font-family: var(--f-display); font-size: 1.6rem; text-transform: uppercase; cursor: pointer; transition: background .15s, color .15s; }
.stamp-ico { font-size: 1.5rem; }
.stamp-svg { width: 30px; height: 30px; color: currentColor; }
.stamp input:checked + .stamp-box { background: var(--red); transform: rotate(-3deg); animation: slamIn .32s cubic-bezier(.3, 1.6, .5, 1); }
.stamp input:focus-visible + .stamp-box { outline: 2px solid var(--red); outline-offset: 3px; }

.oath { display: flex; align-items: center; gap: 12px; font-family: var(--f-type); font-size: .95rem; cursor: pointer; margin-bottom: 8px; }
.oath input { position: absolute; opacity: 0; }
.oath-box { width: 26px; height: 26px; border: 2.5px solid var(--ink); flex-shrink: 0; display: grid; place-items: center; }
.oath input:checked + .oath-box::after { content: "✕"; font-family: var(--f-display); font-size: 1.3rem; color: var(--red); line-height: 1; }
.oath input:focus-visible + .oath-box { outline: 2px solid var(--red); outline-offset: 2px; }

.form-error { min-height: 1.5em; font-family: var(--f-type); font-size: .85rem; font-weight: 700; color: var(--red); margin-bottom: 8px; }
.submit { position: relative; overflow: hidden; width: 100%; font-family: var(--f-display); font-size: 1.7rem; text-transform: uppercase; letter-spacing: .03em; padding: 16px 12px 14px; background: var(--ink); color: var(--bone); transition: transform .1s; }
.submit::after { content: ""; position: absolute; top: 0; bottom: 0; width: 35%; left: -50%; background: linear-gradient(100deg, transparent, rgba(211, 20, 28, .55), transparent); animation: shine 3s ease-in-out infinite; }
.submit:active { transform: scale(.97); }
.submit:disabled { opacity: .6; }
.shake { animation: shake .4s !important; }

.done { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.stub {
  --rot: -2deg; position: relative; width: 100%;
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 16px 18px 14px; background: var(--red); color: var(--ink); text-align: left; transform: rotate(-2deg);
  -webkit-mask: radial-gradient(circle 10px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 10px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 10px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 10px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
}
.stub.in { animation: stubIn .9s cubic-bezier(.2, .9, .25, 1.05) both; }
.stub-label { font-family: var(--f-type); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; }
.stub-name { font-family: var(--f-display); font-size: 2.3rem; line-height: 1; text-transform: uppercase; overflow-wrap: anywhere; padding-right: 96px; }
.stub-meta { width: 100%; display: flex; justify-content: space-between; font-family: var(--f-type); font-size: .78rem; font-weight: 700; border-top: 1.5px dashed var(--red-ink); padding-top: 6px; margin-top: 6px; }
.stub-stamp { position: absolute; right: 10px; top: 10px; font-family: var(--f-display); font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bone); border: 2.5px solid var(--bone); padding: 4px 8px 2px; transform: rotate(12deg); opacity: 0; }
.stub.in .stub-stamp { animation: stampIn .35s .9s ease-out forwards; }
.done-msg { font-family: var(--f-type); font-size: .95rem; max-width: 34ch; }
.link { font-family: var(--f-type); font-size: .8rem; text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.souls { margin-top: 26px; font-family: var(--f-type); font-size: .85rem; text-align: center; }

.foot { padding: 44px var(--gutter) calc(90px + env(safe-area-inset-bottom, 0px)); text-align: center; font-family: var(--f-type); font-size: .8rem; color: var(--bone-dim); display: flex; flex-direction: column; gap: 4px; }
.foot-title { font-family: var(--f-display); font-size: 2.8rem; line-height: 1; color: var(--red); text-transform: uppercase; }
.foot-fine { font-family: var(--f-goth); font-size: 1.2rem; color: var(--bone); margin-top: 6px; }

/* ---------- Animaciones ---------- */
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }
@keyframes dropIn { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: none; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes outUp { to { opacity: 0; transform: translateY(-30px) scale(.95); } }
@keyframes fadeOut { to { opacity: 0; visibility: hidden; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 2px var(--ink), 0 0 0 3.5px var(--bone), 0 0 0 0 rgba(211, 20, 28, .7); } 50% { box-shadow: 0 0 0 2px var(--ink), 0 0 0 3.5px var(--bone), 0 0 0 18px rgba(211, 20, 28, 0); } }
@keyframes shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes slap { 0% { opacity: 0; transform: scale(1.9) rotate(calc(var(--r, -2deg) * 4)); } 100% { opacity: 1; transform: rotate(var(--r, -2deg)); } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes chDrop { 0% { opacity: 0; transform: translateY(-80%) rotate(calc(var(--rr) * 1deg)) scale(1.4); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes drift { from { translate: 0 0; } to { translate: -2% 1.5%; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes rollIn { 0% { transform: translateY(60%); opacity: 0; filter: blur(3px); } 100% { transform: none; opacity: 1; filter: none; } }
@keyframes nudge { 50% { transform: translate(3px, -3px); } }
@keyframes slamIn { 0% { transform: scale(1.3) rotate(-8deg); } 100% { transform: rotate(-3deg); } }
@keyframes shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
@keyframes stubIn { from { opacity: 0; transform: translateY(-120%) rotate(-25deg); } to { opacity: 1; transform: rotate(var(--rot)); } }
@keyframes stampIn { 0% { opacity: 0; transform: scale(2.4) rotate(12deg); } 100% { opacity: 1; transform: rotate(12deg); } }
@keyframes batCross { 0% { opacity: 1; transform: translate(0, 0) scale(.6); } 50% { transform: translate(60vw, -6vh) scale(1); } 100% { opacity: 1; transform: translate(125vw, 4vh) scale(.7); } }
@keyframes burst { 0% { transform: translate(-50%, -50%) scale(.3); opacity: 1; } 100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.2) rotate(var(--rt)); opacity: 0; } }
@keyframes flap { from { transform: scaleY(1); } to { transform: scaleY(.3); } }

@media (min-width: 481px) {
  body { background: radial-gradient(ellipse at 50% 0, #2a1215, var(--ink) 70%) fixed; }
  main { box-shadow: 0 0 80px rgba(0, 0, 0, .9); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .slap, .rv, .ch { opacity: 1 !important; transform: none !important; }
  .nope { transform: rotate(-4deg) !important; }
  .strike::after { transform: rotate(-7deg) !important; }
}
