/* The Franklin Freak Show - shared look. Carnival tent, string lights, one gold frame, parchment tickets.
   Fonts: Rye for the big title + tickets, Libre Franklin for everything you have to read. Swap --ui to change the info font. */
:root {
  --cream: #f4e6c8; --parchment: #efe1c0; --blood: #9e1b1b; --blood-dark: #4a0b0b; --gold: #d8b25a;
  --plum: #1b0f17; --ink: #2a1a0a; --franklin: #6db033; --reel-h: 76px;
  --ui: "Libre Franklin", system-ui, -apple-system, sans-serif;
  --display: "Rye", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--plum); color: var(--cream); font-family: var(--ui); font-size: 16px; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: var(--gold); }
img { max-width: 100%; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }
.muted { color: rgba(244,230,200,.6); }
.hidden { display: none !important; }
section.block { position: relative; margin: 36px auto 0; max-width: 720px; scroll-margin-top: 20px; }
section.block.wide { max-width: 1040px; }
h2.sec { font-family: var(--display); font-weight: 400; color: var(--cream); font-size: clamp(26px, 5vw, 36px); margin: 0 0 14px; text-align: center; line-height: 1.05;
  text-shadow: 2px 2px 0 var(--blood), 0 0 24px rgba(255,180,80,.25); }
h2.sec small { display: block; font-family: var(--ui); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); text-shadow: none; margin-bottom: 8px; font-weight: 600; }

/* ---------- tent + power flicker ---------- */
.tent { position: fixed; inset: 0; z-index: -2;
  background: radial-gradient(ellipse at 50% 35%, rgba(255,170,60,.16), transparent 55%),
    radial-gradient(ellipse at 50% 120%, rgba(0,0,0,.95), transparent 60%),
    repeating-linear-gradient(90deg, #3a0d12 0 70px, #24090d 70px 140px); }
.tent::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,.85) 100%); }
.power { position: fixed; inset: 0; z-index: 50; pointer-events: none; background: #000; opacity: 0; animation: power 11s infinite; }
@keyframes power { 0%, 86%, 100% { opacity: 0; } 87% { opacity: .45; } 87.6% { opacity: .05; } 88.4% { opacity: .6; } 89% { opacity: 0; } 93% { opacity: 0; } 93.4% { opacity: .3; } 94% { opacity: 0; } }

/* ---------- string lights ---------- */
.lights { position: absolute; top: 0; left: 0; right: 0; height: 80px; pointer-events: none; z-index: 1; }
.lights svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bulb { position: absolute; width: 14px; height: 20px; margin-left: -7px; border-radius: 50% 50% 45% 45%;
  background: radial-gradient(circle at 40% 35%, #fff8d6, var(--c) 55%, rgba(0,0,0,.4));
  box-shadow: 0 0 10px 3px var(--c), 0 0 28px 8px color-mix(in srgb, var(--c) 45%, transparent);
  animation: glow var(--d) infinite alternate ease-in-out; animation-delay: var(--delay); }
.bulb::before { content: ""; position: absolute; top: -6px; left: 4px; width: 6px; height: 7px; background: #2b2418; border-radius: 1px; }
.bulb.dying { animation: dying 3.7s infinite steps(1); }
@keyframes glow { from { opacity: 1; } to { opacity: .72; } }
@keyframes dying { 0%, 100% { opacity: 1; } 8% { opacity: .15; } 11% { opacity: 1; } 47% { opacity: .2; } 49% { opacity: .9; } 52% { opacity: .1; } 60% { opacity: 1; } }

/* ---------- header ---------- */
header.show { text-align: center; padding: 64px 16px 0; position: relative; }
.kicker { font-family: var(--ui); font-weight: 700; color: var(--gold); letter-spacing: .32em; font-size: 12px; text-transform: uppercase; }
h1.title { font-family: var(--display); font-weight: 400; margin: 6px 0 0; font-size: clamp(34px, 7.5vw, 72px); line-height: 1; color: var(--cream);
  text-shadow: 2px 2px 0 var(--blood), 4px 4px 0 var(--blood-dark), 0 0 30px rgba(255,180,80,.35); }
h1.title .broken { animation: neon 6s infinite steps(1); }
@keyframes neon { 0%, 100% { opacity: 1; } 31% { opacity: .25; } 32% { opacity: 1; } 34% { opacity: .2; } 36% { opacity: 1; } 71% { opacity: .35; } 72% { opacity: 1; } }
.date { margin-top: 10px; font-family: var(--ui); font-weight: 800; color: var(--franklin); letter-spacing: .3em; font-size: 14px; text-shadow: 0 0 12px rgba(109,176,51,.6); }

/* ---------- the one gold frame ---------- */
.hang { position: relative; padding-top: 32px; transform-origin: 50% 0; animation: sway 9s ease-in-out infinite alternate; width: 100%; }
@keyframes sway { from { transform: rotate(-.4deg); } to { transform: rotate(.4deg); } }
.nail { position: absolute; top: 0; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ddd, #555 60%, #222); box-shadow: 0 2px 4px rgba(0,0,0,.8); z-index: 2; }
.wires { position: absolute; top: 4px; left: 0; width: 100%; height: 32px; overflow: visible; }
.frame { position: relative; padding: 18px;
  background: linear-gradient(135deg, #5a3c0c, #e9c46a 16%, #8a6014 32%, #f6dd94 50%, #7a5310 66%, #d8b25a 84%, #4a300a);
  border-radius: 4px;
  box-shadow: 0 34px 60px rgba(0,0,0,.75), inset 0 0 0 2px rgba(0,0,0,.45), inset 0 0 0 7px rgba(255,236,170,.28),
    inset 0 0 0 10px rgba(60,38,6,.65), inset 0 0 18px 12px rgba(80,50,8,.45); }
.frame.big { padding: 24px; }
.corner { position: absolute; width: 56px; height: 56px; fill: #f3d98b; filter: drop-shadow(1px 2px 1px rgba(0,0,0,.6)); }
.corner.tl { top: -10px; left: -10px; } .corner.tr { top: -10px; right: -10px; transform: scaleX(-1); }
.corner.bl { bottom: -10px; left: -10px; transform: scaleY(-1); } .corner.br { bottom: -10px; right: -10px; transform: scale(-1); }
.frame img.poster { display: block; width: 100%; height: auto; box-shadow: inset 0 0 0 4px #2b1d08; }

/* the crowd: every guest's freak, small cutouts packed like the poster, no frame */
.poster-sm { display: block; width: min(100%, 340px); height: auto; margin: 0 auto; border-radius: 3px; box-shadow: 0 24px 50px rgba(0,0,0,.7); }
.crowd { position: relative; width: 100%; overflow: visible; }
.crowd::before { content: ""; position: absolute; left: 8%; right: 8%; bottom: -6px; height: 26px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,.6), transparent 70%); pointer-events: none; }
.fig { position: absolute; border: 0; padding: 0; background: none; cursor: pointer; transform-origin: 50% 100%; transition: transform .2s, filter .2s;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.7)); }
.fig img { height: 100%; width: auto; display: block; }
.fig:hover, .fig.hot { z-index: 390 !important; filter: drop-shadow(0 0 12px rgba(255,220,120,.95)) drop-shadow(0 4px 6px rgba(0,0,0,.7)); }
.fig.new img { animation: materialize 1.4s ease-out both; }
.wallcap { display: flex; justify-content: center; align-items: baseline; gap: 10px 18px; margin: 14px 4px 0; flex-wrap: wrap; }
.wallcap .n { font-weight: 800; font-size: 17px; color: var(--cream); }
.wallcap .n b { color: var(--franklin); font-size: 24px; text-shadow: 0 0 14px rgba(109,176,51,.7); }
.wallcap .pick { font-size: 13px; color: rgba(244,230,200,.65); min-height: 18px; }
.wallcap .pick b { color: var(--cream); }
.wallcap .linkbtn { font-size: 13px; }

/* the maker canvas (inside the slot-machine section) */
.canvas { position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  background: radial-gradient(ellipse at 50% 30%, rgba(255,200,120,.18), transparent 60%),
    radial-gradient(ellipse at 50% 45%, #3b2633 0%, #1d1118 65%, #0c070a 100%);
  box-shadow: inset 0 0 50px rgba(0,0,0,.95), 0 0 0 4px #2b1d08; }
.canvas::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(125deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 28%, rgba(255,255,255,0) 70%, rgba(255,255,255,.05) 100%); }
.candle { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 18%, rgba(255,190,90,.22), transparent 58%); animation: candle 2.3s infinite alternate; }
@keyframes candle { 0% { opacity: .75; } 30% { opacity: 1; } 55% { opacity: .82; } 80% { opacity: .95; } 100% { opacity: .7; } }
.freak { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0,0,0,.7)); opacity: 0; }
.freak.show { animation: materialize 1.4s ease-out forwards; }
@keyframes materialize {
  0% { opacity: 0; filter: blur(14px) brightness(2.2); transform: scale(.92); }
  60% { opacity: 1; filter: blur(1px) brightness(1.2); }
  100% { opacity: 1; filter: blur(0) brightness(1); transform: scale(1); } }
.empty, .summon { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; color: rgba(244,230,200,.5); }
.empty .q { font-family: var(--display); font-size: 120px; line-height: 1; color: rgba(109,176,51,.18); text-shadow: 0 0 30px rgba(109,176,51,.15); }
.summon { display: none; }
.canvas.loading .summon { display: flex; }
.canvas.loading .empty, .canvas.loading .freak { display: none; }
.fog { position: absolute; width: 140%; height: 60%; left: -20%; border-radius: 50%; background: radial-gradient(ellipse, rgba(170,200,160,.22), transparent 65%); filter: blur(10px); }
.fog.a { top: 20%; animation: drift 6s ease-in-out infinite alternate; }
.fog.b { top: 45%; animation: drift 8s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translateX(-12%); } to { transform: translateX(12%); } }
.summon-text { position: relative; font-family: var(--display); font-size: 22px; color: var(--franklin); text-shadow: 0 0 14px rgba(109,176,51,.8); animation: neon 2.2s infinite steps(1); }

/* ---------- plaque ---------- */
.plaque { position: relative; margin-top: 18px; padding: 8px 34px 10px; min-width: 66%; text-align: center;
  background: linear-gradient(180deg, #f3d98b, #c9a24c 45%, #9c7628 55%, #e0bf6e); border-radius: 3px; color: #3b2808;
  box-shadow: 0 8px 18px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,245,210,.6), inset 0 0 0 4px rgba(90,60,12,.35); text-shadow: 0 1px 0 rgba(255,240,200,.65); }
.plaque::before, .plaque::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff2c0, #7a5a1a); box-shadow: inset 0 0 0 1px rgba(0,0,0,.35); }
.plaque::before { left: 12px; } .plaque::after { right: 12px; }
.plaque .no { display: block; font-size: 11px; letter-spacing: .3em; font-weight: 700; }
.plaque .name { display: block; font-family: var(--display); font-size: 21px; line-height: 1.15; margin-top: 2px; }
.plaque .twistline { display: block; font-size: 12px; font-style: italic; margin-top: 1px; }

/* ---------- tickets (buttons) ---------- */
.ticket { position: relative; cursor: pointer; border: 0; padding: 13px 18px; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 16px var(--display); letter-spacing: .02em; color: var(--blood); text-decoration: none;
  background: radial-gradient(circle at 0 50%, transparent 9px, var(--parchment) 10px) left / 51% 100% no-repeat,
    radial-gradient(circle at 100% 50%, transparent 9px, var(--parchment) 10px) right / 51% 100% no-repeat;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.55)); transition: transform .12s ease, filter .12s ease; }
.ticket::after { content: ""; position: absolute; inset: 5px 14px; border: 1.5px dashed rgba(158,27,27,.45); pointer-events: none; }
.ticket:hover { transform: translateY(-2px) rotate(-.6deg); }
.ticket.primary { color: var(--cream);
  background: radial-gradient(circle at 0 50%, transparent 9px, var(--blood) 10px) left / 51% 100% no-repeat,
    radial-gradient(circle at 100% 50%, transparent 9px, var(--blood) 10px) right / 51% 100% no-repeat; }
.ticket.primary::after { border-color: rgba(244,230,200,.45); }
.ticket.primary:hover { filter: drop-shadow(0 0 14px rgba(255,90,60,.55)) drop-shadow(0 4px 6px rgba(0,0,0,.55)); }
.ticket.big { font-size: 20px; padding: 16px 30px; }
.ticket[disabled], .ticket[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.tray { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.tray.one { grid-template-columns: 1fr; }
@media (max-width: 480px) { .tray { grid-template-columns: 1fr; } }
.linkbtn { background: none; border: 0; color: var(--gold); font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }

/* ---------- parchment card (party info, question, sign-in) ---------- */
.card { position: relative; background: var(--parchment); color: var(--ink); border-radius: 3px; padding: 24px 24px 22px;
  box-shadow: 0 18px 40px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.5), inset 0 0 60px rgba(120,80,20,.18);
  background-image: radial-gradient(ellipse at 20% 10%, rgba(255,255,255,.35), transparent 50%), radial-gradient(ellipse at 90% 90%, rgba(120,80,20,.18), transparent 55%); }
.card::after { content: ""; position: absolute; inset: 7px; border: 1.5px dashed rgba(158,27,27,.35); pointer-events: none; border-radius: 2px; }
.card > * { position: relative; z-index: 1; }
.card h3 { font-family: var(--ui); font-weight: 800; color: var(--blood); margin: 0 0 4px; font-size: 24px; letter-spacing: -.01em; line-height: 1.15; }
.card .label { font-size: 11px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: #8a6014; margin-top: 18px; }
.card .value { font-size: 17px; line-height: 1.4; }
.card p { margin: 8px 0; line-height: 1.5; }
.card .hint { font-size: 14px; color: #6b4a12; }

/* phases */
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.phase { text-align: center; padding: 14px 8px 12px; border: 2px solid var(--blood); border-radius: 4px; background: rgba(255,255,255,.35); }
.phase b { display: block; font-weight: 800; color: var(--blood); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; }
.phase span { display: block; font-size: 15px; font-weight: 600; margin-top: 3px; }
.phase small { display: block; font-size: 12px; color: #6b4a12; margin-top: 5px; line-height: 1.3; }
@media (max-width: 460px) { .phases { grid-template-columns: 1fr; } .phase { display: grid; grid-template-columns: 96px 1fr; text-align: left; align-items: center; gap: 0 10px; padding: 10px 12px; } }
.addr.revealed { color: var(--blood); font-weight: 800; font-size: 18px; }
.addr.revealed a { color: inherit; text-decoration: none; border-bottom: 2px solid rgba(158,27,27,.35); }

/* attractions marquee strip */
.strip { overflow: hidden; margin: 28px -16px 0; border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold); background: rgba(0,0,0,.35); }
.strip .track { display: inline-flex; white-space: nowrap; animation: slide 28s linear infinite; padding: 9px 0; }
.strip span { font-family: var(--display); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); padding: 0 18px; }
.strip span::after { content: "\2605"; color: var(--blood); margin-left: 34px; font-size: 11px; vertical-align: 2px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* forms */
input[type=text], input[type=email], textarea { width: 100%; font: 17px var(--ui); color: var(--ink); background: #fffaf0; border: 2px solid #3b2808; border-radius: 4px; padding: 11px 13px; }
input.code { font-size: 30px; letter-spacing: .4em; text-align: center; font-weight: 700; }
textarea { min-height: 110px; resize: vertical; }
.status { min-height: 18px; margin: 10px 0 0; font-size: 13px; color: rgba(244,230,200,.75); text-align: center; }
.status.err { color: #ff8a7a; }
.card .status { color: #6b4a12; } .card .status.err { color: var(--blood); }
.form { display: grid; gap: 10px; margin-top: 12px; }
.form .ticket { width: 100%; }

/* locked sections (maker + chat before you've earned them) */
.lockable { position: relative; }
.lockable.locked > :not(.lock) { filter: blur(3px) saturate(.6) brightness(.6); pointer-events: none; user-select: none; }
.lock { position: absolute; inset: 0; z-index: 20; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; gap: 12px; }
.lock .msg { font-weight: 700; font-size: 18px; color: var(--cream); text-shadow: 0 2px 8px #000; max-width: 320px; }
.lock .pad { font-size: 42px; filter: drop-shadow(0 4px 6px rgba(0,0,0,.8)); }
.lockable:not(.locked) .lock { display: none; }

/* maker attempts strip (plain, no frames) */
.thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 6px 0 10px; scrollbar-width: thin; }
.thumb { flex: 0 0 72px; height: 72px; padding: 4px; cursor: pointer; border: 2px solid transparent; background: rgba(0,0,0,.4); border-radius: 6px; transition: transform .15s; }
.thumb:hover { transform: translateY(-3px); }
.thumb.selected { border-color: var(--franklin); }
.thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ---------- chat (minimal) ---------- */
.chat { display: flex; flex-direction: column; height: 60vh; min-height: 380px; max-height: 640px; }
.chat .log { flex: 1; overflow-y: auto; padding: 14px; background: rgba(0,0,0,.45); border: 1px solid rgba(216,178,90,.5); border-radius: 10px 10px 0 0; }
.msg { margin: 0 0 10px; font-size: 15px; line-height: 1.4; }
.msg .a { font-weight: 800; font-size: 13px; color: var(--gold); letter-spacing: .02em; }
.msg.me .a { color: var(--franklin); }
.msg .t { font-size: 11px; color: rgba(244,230,200,.4); margin-left: 8px; }
.msg .b { display: block; color: var(--cream); overflow-wrap: anywhere; }
.chat form { display: flex; gap: 8px; padding: 10px; background: #16090c; border: 1px solid rgba(216,178,90,.5); border-top: 0; border-radius: 0 0 10px 10px; }
.chat form input { flex: 1; background: #fffaf0; }
.chat-gate { padding: 12px; text-align: center; background: #16090c; border: 1px solid rgba(216,178,90,.5); border-top: 0; border-radius: 0 0 10px 10px; }
.card.info .label:first-child { margin-top: 0; }
.card.info .gap { height: 10px; }
.card.info .gap + .gap { display: none; }
.card.info .value a { color: var(--blood); }
.alias-line { text-align: center; font-size: 13px; margin: 0 0 10px; color: rgba(244,230,200,.7); }
.alias-line b { color: var(--franklin); }

/* ---------- the Freak Fund: get your badge ---------- */
.card.fund { text-align: center; }
.card.fund p { margin-top: 0; }
.amt { font: 700 16px var(--ui); padding: 9px 18px; border-radius: 999px; border: 2px solid var(--blood); background: rgba(255,255,255,.4); color: var(--blood); cursor: pointer; }
.amt.on { background: var(--blood); color: var(--cream); }
.pay { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.pay .ticket { min-width: 170px; }
.tiers4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 6px 0 16px; }
@media (max-width: 560px) { .tiers4 { grid-template-columns: 1fr 1fr; } }
.tier { border: 2px solid rgba(158,27,27,.35); background: rgba(255,255,255,.45); border-radius: 10px; padding: 14px 8px 12px; cursor: pointer;
  display: grid; justify-items: center; gap: 4px; font-family: var(--ui); color: var(--ink); }
.tier .bdg { font-size: 54px; }   /* ~80px coin */
.tier b { font-size: 15px; line-height: 1.15; }
.tier .price { font: 18px var(--display); color: var(--blood); }
.tier.on { border-color: var(--blood); background: #fffaf0; box-shadow: 0 0 0 3px rgba(158,27,27,.15); }
.tier.have { opacity: .5; cursor: default; }
.tier.have .price { font: 700 12px var(--ui); letter-spacing: .1em; text-transform: uppercase; }
.giga-amt { display: inline-flex; align-items: center; gap: 4px; font: 700 16px var(--ui); color: var(--blood); margin: 0 0 14px; }
.giga-amt input { width: 90px; font: 700 16px var(--ui); color: var(--ink); background: #fffaf0; border: 2px solid #3b2808; border-radius: 4px; padding: 7px 9px; text-align: center; }
.fund-note { font-size: 14px; color: #6b4a12; margin: 12px 0 0; }
.fund-note.ok { color: var(--blood); font-weight: 700; }

/* ---------- badges: color per badge, glow in the crowd, icon, chip ---------- */
[data-b="host"] { --bc: #fff0a0; } [data-b="talent"] { --bc: #ff5fae; }
[data-b="lil"] { --bc: #8fd65a; } [data-b="certified"] { --bc: #4fb3ff; } [data-b="super"] { --bc: #b57bff; } [data-b="giga"] { --bc: #fbc341; }
.fig[data-b]:not(:hover):not(.hot) { filter: drop-shadow(0 0 1px var(--bc)) drop-shadow(0 0 6px color-mix(in srgb, var(--bc) 75%, transparent)) drop-shadow(0 4px 6px rgba(0,0,0,.7)); }
.fig[data-b="giga"]:not(:hover):not(.hot) { animation: giga-glow 2.6s ease-in-out infinite; }
@keyframes giga-glow { 50% { filter: drop-shadow(0 0 2px var(--bc)) drop-shadow(0 0 14px var(--bc)) drop-shadow(0 4px 6px rgba(0,0,0,.7)); } }
@media (prefers-reduced-motion: reduce) { .fig[data-b="giga"]:not(:hover):not(.hot) { animation: none; } }
.bdg { display: inline-flex; width: 1.5em; height: 1.5em; border-radius: 50%; align-items: center; justify-content: center; flex: none; vertical-align: middle;
  background: #1b0f17; border: 2px solid var(--bc); color: var(--bc); font: 800 .62em var(--ui); line-height: 1; }
img.bdg { background: none; border: 0; border-radius: 0; object-fit: contain; }
.bchip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px 2px 2px; border-radius: 999px; vertical-align: middle; white-space: nowrap;
  background: color-mix(in srgb, var(--bc) 16%, transparent); border: 1px solid color-mix(in srgb, var(--bc) 55%, transparent); color: var(--bc); font: 700 12px var(--ui); }
.bchip .bdg { font-size: 16px; }
.card .bchip { background: #1b0f17; }   /* parchment is too light for the badge colors */

/* chat photos */
.camera { display: inline-flex; align-items: center; justify-content: center; width: 46px; border: 1px solid rgba(216,178,90,.5); border-radius: 6px; cursor: pointer; font-size: 20px; background: rgba(0,0,0,.3); flex: none; }
.chatpic { display: block; max-width: min(100%, 260px); max-height: 260px; border-radius: 8px; margin: 4px 0 6px; }

/* sponsors */
.sponsors { text-align: center; margin: 48px auto 0; padding: 0 16px; }
.sponsors .label-s { font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: rgba(244,230,200,.5); margin-bottom: 14px; }
.sponsors .logos { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; align-items: center; }
.sponsors img { height: 46px; width: auto; filter: drop-shadow(0 4px 8px rgba(0,0,0,.5)); }

/* ---------- RSVP: coming / better things to do ---------- */
.rsvp { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.rsvp .amt { font-size: 15px; line-height: 1.2; padding: 10px 12px; border-radius: 10px; }
.form .rsvp { margin-top: 0; }
.chat-gate .hint { font-size: 14px; color: rgba(244,230,200,.7); }

/* ---------- I have better things to do (very bottom) ---------- */
.regrets { text-align: center; margin-top: 56px; }
.regrets h2.sec { color: rgba(244,230,200,.6); font-size: clamp(22px, 4.4vw, 30px); text-shadow: 2px 2px 0 #3a1a22; }
.regrets h2.sec small { color: rgba(216,178,90,.6); }
.regrets .names { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; max-width: 620px; margin: 0 auto; }
.regrets .rg { display: inline-flex; align-items: center; gap: 5px; }
.regrets .rg .bdg { font-size: 12px; }
.regrets .names .nm { font-size: 15px; color: rgba(244,230,200,.55); text-decoration: line-through; text-decoration-color: rgba(158,27,27,.85); text-decoration-thickness: 2px; }

/* ---------- misc ---------- */
.banner { background: linear-gradient(180deg, #5b0f12, #2c0709); border: 3px solid #8a6014; border-radius: 12px; padding: 20px 20px 18px; text-align: center; box-shadow: 0 20px 40px rgba(0,0,0,.6); }
.banner h3 { font-family: var(--display); font-weight: 400; margin: 0 0 6px; color: var(--franklin); text-shadow: 0 0 14px rgba(109,176,51,.75); font-size: 30px; }
.banner p { margin: 6px 0; font-size: 15px; }
.banner .tray { max-width: 460px; margin: 14px auto 0; }
footer { text-align: center; padding: 50px 16px 60px; font-size: 13px; color: rgba(244,230,200,.45); }
@media (prefers-reduced-motion: reduce) {
  .power, .hang, .bulb, .bulb.dying, h1 .broken, .candle, .fog, .summon-text, .strip .track { animation: none !important; } }

/* ===== TITLE: BIG TOP + FREAK ===== */
h1.title.t-bigfreak {
  --g: var(--franklin, #8fd65a);
  position: relative; isolation: isolate;
  width: fit-content; max-width: 100%; margin: 0 auto; padding: 0 .15em .14em;
  font-family: "Rye", serif; font-weight: 400;
  font-size: clamp(34px, 11.5vw, 136px); line-height: 1; letter-spacing: 0;
  text-transform: uppercase; text-shadow: none; color: var(--cream, #f4e6c8);
}
h1.title.t-bigfreak > span { display: block; }
h1.title.t-bigfreak::before {          /* slow-turning sunburst behind the lettering */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: 56%; width: min(150%, 96vw); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(rgba(216, 178, 90, .2) 0 5deg, transparent 5deg 10deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 15%, transparent 78%);
          mask-image: radial-gradient(closest-side, #000 15%, transparent 78%);
  animation: ffs-sunburst-e 90s linear infinite;
}
@keyframes ffs-sunburst-e { to { transform: translate(-50%, -50%) rotate(360deg); } }
h1.title.t-bigfreak .the {
  display: flex; align-items: center; justify-content: center; gap: .9em;
  font-family: var(--ui, "Libre Franklin", sans-serif); font-weight: 800;
  font-size: max(11px, .15em); letter-spacing: .5em; text-indent: .5em;
  color: var(--gold, #d8b25a); margin-bottom: .35em;
}
h1.title.t-bigfreak .the::before,
h1.title.t-bigfreak .the::after {
  content: ""; height: 2px; width: 4.5em;
  background: linear-gradient(90deg, transparent, var(--gold, #d8b25a));
}
h1.title.t-bigfreak .the::after { transform: scaleX(-1); }
h1.title.t-bigfreak .l1 {              /* FRANKLIN: slime green, every letter crooked */
  font-family: "Creepster", "Rye", serif; font-size: 1.15em; line-height: .84;
  white-space: nowrap; color: var(--g); margin-bottom: 0;
}
h1.title.t-bigfreak .l1 i {
  display: inline-block; font-style: normal; padding: 0 .015em;
  transform: translateY(var(--y, 0)) rotate(var(--r, 0deg));
  text-shadow:
    .02em .02em 0 #1a2e0c, -.02em .02em 0 #1a2e0c, .02em -.02em 0 #1a2e0c, -.02em -.02em 0 #1a2e0c,
    .05em .06em 0 #0d1806, .08em .1em 0 var(--blood, #9e1b1b),
    0 0 .22em rgba(143, 214, 90, .55), 0 0 .5em rgba(109, 176, 51, .35);
  animation: ffs-twitch-e 6s steps(1) infinite;
}
h1.title.t-bigfreak .l1 i:nth-child(1) { --r: -6deg; --y: .02em;  animation-delay: -1.1s; }
h1.title.t-bigfreak .l1 i:nth-child(2) { --r: 4deg;  --y: -.04em; animation-delay: -3.4s; color: #b7ef7f; }
h1.title.t-bigfreak .l1 i:nth-child(3) { --r: -3deg; --y: .03em;  animation-delay: -0.3s; }
h1.title.t-bigfreak .l1 i:nth-child(4) { --r: 5deg;  --y: -.02em; animation-delay: -5.2s; color: #b7ef7f; }
h1.title.t-bigfreak .l1 i:nth-child(5) { --r: -4deg; --y: .04em;  animation-delay: -2.2s; }
h1.title.t-bigfreak .l1 i:nth-child(6) { --r: 3deg;  --y: -.03em; animation-delay: -4.3s; color: #b7ef7f; }
h1.title.t-bigfreak .l1 i:nth-child(7) { --r: -5deg; --y: .02em;  animation-delay: -0.8s; }
h1.title.t-bigfreak .l1 i:nth-child(8) { --r: 6deg;  --y: -.02em; animation-delay: -3.9s; color: #b7ef7f; }
@keyframes ffs-twitch-e {              /* each letter spasms on its own clock */
  0%, 100% { translate: 0 0; scale: 1; }
  86% { translate: .03em -.04em; scale: 1.06 .96; }
  88% { translate: -.03em .02em; scale: .96 1.07; }
  90% { translate: .02em .03em; scale: 1.03; }
  92% { translate: 0 0; scale: 1; }
}
h1.title.t-bigfreak .l2 {
  color: var(--cream, #f4e6c8); line-height: .92;
  text-shadow:
    .012em .012em 0 #d23a2e, .024em .024em 0 #c22f26, .036em .036em 0 #b3261f,
    .048em .048em 0 var(--blood, #9e1b1b), .06em .06em 0 #861616, .072em .072em 0 #6e1111,
    .084em .084em 0 #570c0c, .096em .096em 0 #400808,
    .14em .16em .1em rgba(0, 0, 0, .65), 0 0 .6em rgba(255, 170, 80, .28);
}
h1.title.t-bigfreak + .date {          /* the date line, a little bigger and tucked in */
  font-size: clamp(18px, 2.2vw, 22px); margin-top: 0;
}
@media (max-width: 560px) {            /* phones: stack FREAK / SHOW, sized so FREAK (~3.6em wide) runs edge to edge less ~20px a side */
  h1.title.t-bigfreak { font-size: calc((100vw - 40px) / 3.6); max-width: none; padding-left: 0; padding-right: 0; }
  h1.title.t-bigfreak .l1 { font-size: .9em; }
  h1.title.t-bigfreak .l2 > span { display: block; }
  h1.title.t-bigfreak .l2 > span + span { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  h1.title.t-bigfreak::before, h1.title.t-bigfreak .l1 i { animation: none; }
}
