/* Layout: one long cartoon page — elevator hero, then bold colored bands with chunky outlined "sticker" cards.
   Deliberately single-theme (bright toon world), every color set explicitly. */
:root {
  --ink: #2b1640;        /* outline + text */
  --pink: #ff4fa3;
  --pink-l: #ffc2e2;
  --yellow: #ffd23f;
  --yellow-l: #fff3b8;
  --blue: #3ec6ff;
  --blue-l: #c9f0ff;
  --green: #5fd35a;
  --green-l: #d4f7c9;
  --purple: #8b5cff;
  --orange: #ff8a3d;
  --cream: #fffaf0;
  --sky1: #7fd8ff;
  --sky2: #ffb3dc;
  --sand: #ffe7b3;
  --dune: #f4b860;
  --sunset: #ff9a5a;

  --f-display: "Lilita One", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --f-body: "Fredoka", "Nunito", "Trebuchet MS", system-ui, sans-serif;

  --line: 4px solid var(--ink);
  --pop: 6px 6px 0 var(--ink);
  --pop-s: 4px 4px 0 var(--ink);
  --r: 22px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  color: var(--ink);
  background: linear-gradient(180deg, var(--sky1) 0%, #ffd0a8 18%, var(--sky2) 60%, var(--sand) 100%);
  overflow-x: hidden;
}
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 4px dashed var(--purple); outline-offset: 3px; }

/* ---------- floating flowers ---------- */
.sky { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.sky .fl {
  position: absolute; bottom: -80px; font-size: 34px;
  animation: floatUp linear infinite;
  filter: drop-shadow(2px 2px 0 rgba(43,22,64,.35));
}
@keyframes floatUp {
  from { transform: translateY(0) rotate(0); }
  to   { transform: translateY(-120vh) rotate(360deg); }
}

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-block: 10px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  background: var(--yellow);
  border-bottom: var(--line);
}
.logo {
  font-family: var(--f-display); font-size: 26px; text-decoration: none;
  letter-spacing: .5px;
}
.logo span:last-child {
  display: inline-grid; place-items: center; width: 34px; height: 34px; margin-left: 4px;
  background: var(--pink); color: var(--ink); border: 3px solid var(--ink); border-radius: 50%;
  font-size: 20px; transform: rotate(-10deg);
}
.topbar nav { display: flex; gap: 6px; flex-wrap: wrap; }
.topbar nav a {
  font-weight: 700; text-decoration: none; padding: 6px 12px;
  background: #fff; border: 3px solid var(--ink); border-radius: 999px;
  box-shadow: 2px 2px 0 var(--ink); font-size: 15px;
  transition: transform .15s;
}
.topbar nav a:hover { transform: translate(-1px,-2px) rotate(-3deg); }

main { position: relative; z-index: 1; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--sky1) 0%, #b5e4ff 40%, #ffd0a8 75%, var(--sunset) 100%);
  padding-block: 28px 0;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  text-align: center;
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto 8px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.eyebrow {
  margin: 0; display: inline-block; font-weight: 700; font-size: 18px; letter-spacing: 1.5px; text-transform: uppercase;
  background: #fff; border: var(--line); border-radius: 999px; padding: 6px 18px; box-shadow: var(--pop-s);
  transform: rotate(-3deg);
}
.title {
  margin: 0; font-family: var(--f-display); font-weight: 400; line-height: .95;
  font-size: clamp(48px, 12vw, 104px);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .25em;
  text-wrap: balance;
}
.title .w {
  display: inline-block;
  -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
  text-shadow: 5px 5px 0 var(--ink);
  animation: bob 2.4s ease-in-out infinite;
}
.w1 { color: var(--pink); }
.w2 { color: var(--yellow); animation-delay: .2s !important; }
.w3 { color: var(--green); animation-delay: .4s !important; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }

/* elevator */
.elevator {
  position: relative; width: min(360px, 100%);
  background: var(--purple); border: var(--line); border-radius: 28px 28px 14px 14px;
  box-shadow: var(--pop); padding: 14px 16px 18px;
}
.floor-panel {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--ink); color: var(--yellow); border-radius: 12px; padding: 8px 14px; margin: 0 auto 12px;
  width: max-content; font-family: var(--f-display);
  box-shadow: inset 0 0 12px rgba(255,210,63,.35);
}
.floor-label { font-size: 14px; letter-spacing: 2px; color: var(--pink-l); }
.floor-num { font-size: 34px; min-width: 1ch; text-shadow: 0 0 10px var(--yellow); }
.arrow { font-size: 18px; color: var(--green); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }

.shaft {
  position: relative; aspect-ratio: 3 / 3.4; max-width: 100%;
  border: var(--line); border-radius: 10px; overflow: hidden;
  background: radial-gradient(circle at 50% 35%, #fff6b0, var(--yellow) 55%, var(--orange));
}
.inside { position: absolute; inset: 0; display: grid; place-items: center; padding: 10px; }
.inside-text {
  position: absolute; top: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap;
  font-family: var(--f-display); font-size: 22px; color: #fff;
  -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill;
}
.inside .toon-slot { width: 70%; margin-top: 30px; }
.door {
  position: absolute; top: 0; bottom: 0; width: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--pink) 0 14px, transparent 15px) 0 0 / 46px 46px,
    linear-gradient(#ff7cbc, #ff4fa3);
  border-right: 3px solid var(--ink);
  transition: transform 1.4s cubic-bezier(.7,-0.3,.3,1.3);
}
.door i {
  position: absolute; top: 46%; width: 10px; height: 34px; background: var(--yellow);
  border: 3px solid var(--ink); border-radius: 6px;
}
.door.left { left: 0; }
.door.left i { right: 8px; }
.door.right { right: 0; border-right: 0; border-left: 3px solid var(--ink); }
.door.right i { left: 8px; }
.elevator.open .door.left { transform: translateX(-102%); }
.elevator.open .door.right { transform: translateX(102%); }
.elevator.open .arrow { animation: none; color: var(--yellow); }

.peek {
  position: absolute; right: -10px; bottom: -18px;
  font-family: var(--f-body); font-weight: 700; font-size: 14px; cursor: pointer;
  background: var(--green); color: var(--ink); border: 3px solid var(--ink); border-radius: 999px;
  padding: 6px 12px; box-shadow: var(--pop-s); transform: rotate(4deg);
}
.peek:hover { transform: rotate(-2deg) scale(1.05); }

.going-up { margin: 10px 0 0; font-size: 19px; font-weight: 600; }
.countdown {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; width: min(520px, 100%);
}
.countdown div {
  background: #fff; border: var(--line); border-radius: 18px; box-shadow: var(--pop-s);
  padding: 10px 4px; display: flex; flex-direction: column; align-items: center;
}
.countdown div:nth-child(1) { background: var(--pink-l); transform: rotate(-2deg); }
.countdown div:nth-child(2) { background: var(--yellow-l); transform: rotate(1.5deg); }
.countdown div:nth-child(3) { background: var(--blue-l); transform: rotate(-1deg); }
.countdown div:nth-child(4) { background: var(--green-l); transform: rotate(2deg); }
.countdown b { font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 8vw, 48px); font-variant-numeric: tabular-nums; line-height: 1; }
.countdown span { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.countdown.done { grid-template-columns: 1fr; }

/* ---------- bands ---------- */
.band {
  position: relative; border-top: var(--line);
  padding-block: 56px 64px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.band::before { /* scalloped top edge */
  content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px;
  background: radial-gradient(circle at 50% 100%, var(--band) 16px, transparent 17px) 0 0 / 40px 22px repeat-x;
}
.band-info   { --band: var(--yellow); background: var(--yellow); }
.band-wishes { --band: var(--green-l); background: var(--green-l); }
.band-cake   { --band: var(--pink-l); background: var(--pink-l); }
.wrap { max-width: 1040px; margin: 0 auto; }
.h2 {
  margin: 0 0 12px; text-align: center; font-family: var(--f-display); font-weight: 400;
  font-size: clamp(38px, 8vw, 64px); color: #fff; text-wrap: balance;
  -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--ink);
}
.lead { text-align: center; font-size: 19px; font-weight: 500; max-width: 60ch; margin: 0 auto 28px; }

/* info */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 24px; }
.info-card {
  border: var(--line); border-radius: var(--r); box-shadow: var(--pop); padding: 22px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  transition: transform .2s;
}
.info-card:hover { transform: translateY(-4px) rotate(-1deg); }
.info-card h3 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 30px; }
.info-card p { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.info-ico { font-size: 40px; line-height: 1; }
.c-pink { background: var(--pink-l); }
.c-yellow { background: #fff; }
.c-blue { background: var(--blue-l); }

/* buttons */
.btn {
  font-family: var(--f-body); font-weight: 700; font-size: 17px; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--pink); color: var(--ink); border: var(--line); border-radius: 999px;
  padding: 10px 20px; box-shadow: var(--pop-s); transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px,3px); box-shadow: 1px 1px 0 var(--ink); }
.btn.small { font-size: 15px; padding: 7px 14px; background: var(--blue); }
.btn.big { font-size: 20px; padding: 13px 26px; }
.btn.ghost { background: #fff; color: var(--ink); }
.btn:disabled { opacity: .6; cursor: wait; }

/* wish form */
.wish-form {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
  background: #fff; border: var(--line); border-radius: var(--r); box-shadow: var(--pop);
  padding: 22px; max-width: 760px; margin: 0 auto;
}
.wish-form .row { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wish-form .full { grid-column: 1 / -1; }
.wish-form label { font-weight: 700; }
.wish-form input, .wish-form select, .wish-form textarea {
  font: inherit; font-weight: 500; color: var(--ink); background: var(--cream);
  border: 3px solid var(--ink); border-radius: 14px; padding: 10px 12px; width: 100%;
}
.wish-form textarea { resize: vertical; }
.file-drop {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  border: 3px dashed var(--ink) !important; border-radius: 16px; padding: 14px; background: var(--blue-l);
}
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop:focus-within { outline: 4px dashed var(--purple); outline-offset: 3px; }
.fd-ico { font-size: 30px; }
.fd-text small { font-weight: 500; opacity: .75; }
.actions { flex-direction: row !important; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.form-msg { margin: 0; font-weight: 700; min-height: 1.2em; }
.form-msg.err { color: #d12b5c; }
.demo-note { text-align: center; font-size: 14px; font-weight: 600; opacity: .75; margin: 18px 0 0; }

/* wall */
.wall {
  margin-top: 30px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 24px; align-items: start;
}
.wish {
  position: relative; min-width: 0;
  background: #fff; border: var(--line); border-radius: var(--r); box-shadow: var(--pop-s);
  padding: 16px 16px 14px; animation: drop .7s cubic-bezier(.3,1.6,.5,1) both;
}
.wish:nth-child(3n+1) { transform: rotate(-1.5deg); background: var(--yellow-l); }
.wish:nth-child(3n+2) { transform: rotate(1.2deg); background: var(--pink-l); }
.wish:nth-child(3n)   { transform: rotate(-.6deg); background: var(--blue-l); }
@keyframes drop { from { opacity: 0; translate: 0 -60px; scale: .7; } to { opacity: 1; translate: 0 0; scale: 1; } }
.wish-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.wish-head .toon-slot { width: 52px; flex: none; }
.wish-head b { font-family: var(--f-display); font-weight: 400; font-size: 22px; display: block; line-height: 1.05; }
.wish-head small { font-weight: 600; opacity: .7; }
.wish p { margin: 0; font-size: 17px; line-height: 1.45; overflow-wrap: anywhere; }
.wish video, .wish img.media {
  display: block; width: 100%; margin-top: 10px; border: 3px solid var(--ink); border-radius: 14px; background: var(--ink);
}
.wish .tag {
  position: absolute; top: -12px; right: 14px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  background: var(--ink); color: var(--yellow); border-radius: 999px; padding: 3px 10px;
}
.wall-empty { text-align: center; font-weight: 600; }

/* ---------- toon placeholder ---------- */
.toon-slot { aspect-ratio: 1; max-width: 100%; position: relative; }
.toon-slot img { width: 100%; height: 100%; object-fit: contain; display: block; }
.toon-slot svg { width: 100%; height: 100%; display: block; overflow: visible; }
.toon-badge {
  width: 100%; height: 100%; display: grid; place-items: center; border-radius: 50%;
  border: 3px solid var(--ink); font-family: var(--f-display); font-size: 24px; color: #fff;
  -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill;
}
.wiggle { animation: wiggle 2.6s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes wiggle { 0%,100% { rotate: -6deg; } 50% { rotate: 6deg; } }

/* ---------- cake ---------- */
.cake-stage { display: flex; justify-content: center; align-items: flex-end; gap: 10px; margin: 56px auto 10px; flex-wrap: wrap; }
.cake { position: relative; width: min(340px, 86vw); display: flex; flex-direction: column; align-items: center; padding-top: 70px; }
.candles { position: absolute; top: 0; left: 50%; translate: -50% 0; width: 62%; display: flex; justify-content: space-between; z-index: 2; }
.candle {
  position: relative; width: 16px; height: 60px; padding: 0; cursor: pointer;
  border: 3px solid var(--ink); border-radius: 6px 6px 3px 3px;
  background: repeating-linear-gradient(135deg, #fff 0 6px, var(--blue) 6px 12px);
}
.candle:nth-child(2n) { background: repeating-linear-gradient(135deg, #fff 0 6px, var(--pink) 6px 12px); }
.candle:nth-child(3n) { background: repeating-linear-gradient(135deg, #fff 0 6px, var(--green) 6px 12px); }
.candle::before { /* wick */
  content: ""; position: absolute; left: 50%; top: -10px; width: 3px; height: 9px; translate: -50% 0; background: var(--ink); border-radius: 2px;
}
.flame {
  position: absolute; left: 50%; bottom: calc(100% + 6px); width: 18px; height: 28px; translate: -50% 0;
  background: radial-gradient(ellipse at 50% 70%, #fff 0 18%, var(--yellow) 30%, var(--orange) 70%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  box-shadow: 0 0 18px 6px rgba(255,180,40,.75);
  animation: flicker .18s ease-in-out infinite alternate; transform-origin: 50% 100%;
  transition: opacity .25s, scale .25s;
}
@keyframes flicker { from { rotate: -4deg; scale: 1 1; } to { rotate: 4deg; scale: .92 1.08; } }
.candle.out .flame { opacity: 0; scale: .2; animation: none; }
.candle .smoke {
  position: absolute; left: 50%; bottom: 100%; width: 10px; height: 10px; border-radius: 50%; background: rgba(120,110,140,.5);
  translate: -50% 0; opacity: 0; pointer-events: none;
}
.candle.out .smoke { animation: smoke 1.2s ease-out forwards; }
@keyframes smoke { 0% { opacity: .8; transform: translateY(0) scale(1); } 100% { opacity: 0; transform: translateY(-50px) scale(3); } }

.tier { position: relative; border: var(--line); border-radius: 18px 18px 10px 10px; display: grid; place-items: center; }
.tier.top { width: 64%; height: 56px; background: var(--pink); margin-bottom: -4px; z-index: 1; }
.tier.mid { width: 82%; height: 74px; background: var(--yellow); margin-bottom: -4px; }
.tier.bot { width: 100%; height: 84px; background: var(--blue); }
.tier em { font-style: normal; font-family: var(--f-display); font-size: 30px; color: #fff; -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; letter-spacing: 2px; }
.drip {
  position: absolute; top: -3px; left: -3px; right: -3px; height: 22px; border: var(--line); border-bottom: 0; border-radius: 18px 18px 0 0;
  background:
    radial-gradient(circle at 10px 18px, #fff 9px, transparent 10px) 0 0 / 30px 30px repeat-x,
    linear-gradient(#fff, #fff) 0 0 / 100% 14px no-repeat;
}
.plate { width: 116%; height: 18px; background: #fff; border: var(--line); border-radius: 50%; margin-top: -6px; }
.cake-toon { width: 130px; }
.cake.party { animation: jump .5s ease-in-out 3; }
@keyframes jump { 50% { transform: translateY(-18px) scale(1.04); } }

.cake-controls { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.meter { width: min(300px, 80%); height: 16px; margin: 16px auto 0; background: #fff; border: 3px solid var(--ink); border-radius: 999px; overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green), var(--yellow), var(--pink)); transition: width .08s; }
.cake-msg { text-align: center; font-family: var(--f-display); font-size: clamp(26px, 6vw, 40px); min-height: 1.3em; margin: 14px 0 0; }

/* ---------- footer ---------- */
.foot {
  position: relative; z-index: 1; text-align: center; font-weight: 700;
  background: var(--ink); color: var(--yellow); border-top: var(--line);
  padding-block: 22px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.foot p { margin: 0; }

#confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 50; }

/* ---------- phone ---------- */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .topbar nav a { padding: 5px 9px; font-size: 13px; }
  .logo { font-size: 22px; }
  .wish-form { grid-template-columns: 1fr; padding: 16px; }
  .countdown { gap: 6px; }
  .peek { right: 6px; }
  .cake-toon { width: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .sky { display: none; }
}

/* ---------- hero subtitle + desert ---------- */
.sub { margin: -4px 0 0; font-weight: 700; font-size: clamp(17px, 3.6vw, 22px); background: var(--ink); color: var(--yellow);
  padding: 6px 16px; border-radius: 999px; transform: rotate(1.5deg); }
.pickup-note { margin: 0; font-weight: 600; font-size: 15px; max-width: 46ch; }
.desert { position: relative; height: clamp(130px, 22vw, 200px); margin-top: -10px; z-index: 1;
  margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px))); }
.dunes { position: absolute; left: -4px; right: -4px; bottom: -4px; width: calc(100% + 8px); height: 100%; }
.sun { position: absolute; right: 12%; bottom: 38%; width: clamp(70px, 12vw, 120px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #fff3b8, var(--yellow) 55%, var(--orange)); border: var(--line); }
.desert > span:not(.sun) { position: absolute; line-height: 1; filter: drop-shadow(2px 2px 0 rgba(43,22,64,.45)); }
.rover { font-size: clamp(34px, 6vw, 56px); bottom: 26%; left: -10%; transform: scaleX(-1); animation: drive 14s linear infinite; z-index: 2; }
.camel { font-size: clamp(36px, 6vw, 58px); bottom: 12%; left: 14%; animation: plod 3s ease-in-out infinite; z-index: 2; }
.cactus { font-size: clamp(28px, 5vw, 46px); bottom: 16%; right: 6%; z-index: 2; }
.falcon { font-size: clamp(26px, 4.5vw, 40px); top: 4%; left: -8%; animation: fly 18s linear infinite; }
@keyframes drive { 0% { left: -12%; } 100% { left: 108%; } }
@keyframes plod { 50% { transform: translateY(-5px) rotate(-3deg); } }
@keyframes fly { 0% { left: -10%; transform: translateY(0); } 25% { transform: translateY(14px); } 50% { transform: translateY(-6px); } 75% { transform: translateY(10px); } 100% { left: 110%; transform: translateY(0); } }

/* info bring list */
.bring-list { margin: 0; padding-left: 20px; font-weight: 600; display: grid; gap: 2px; }

/* ---------- program trail ---------- */
.band-program { --band: var(--sand); background: var(--sand); }
.trail { list-style: none; margin: 28px auto 0; padding: 0; max-width: 760px; position: relative; display: grid; gap: 18px; }
.trail::before { content: ""; position: absolute; left: 31px; top: 20px; bottom: 20px; border-left: 6px dashed var(--ink); opacity: .35; }
.stop { position: relative; display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 14px; align-items: start; }
.stop .floor {
  position: relative; z-index: 1; width: 68px; height: 68px; display: grid; place-items: center;
  background: var(--purple); color: var(--yellow); border: var(--line); border-radius: 18px; box-shadow: var(--pop-s);
  font-family: var(--f-display); font-size: 30px; line-height: 1;
}
.stop .floor small { display: block; font-family: var(--f-body); font-weight: 700; font-size: 10px; letter-spacing: 1px; color: #fff; }
.stop-card { background: #fff; border: var(--line); border-radius: var(--r); box-shadow: var(--pop-s); padding: 14px 16px; min-width: 0; }
.stop-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.stop-time { font-weight: 700; font-size: 15px; background: var(--yellow-l); border: 3px solid var(--ink); border-radius: 999px; padding: 2px 10px; font-variant-numeric: tabular-nums; }
.stop h3 { margin: 6px 0 4px; font-family: var(--f-display); font-weight: 400; font-size: clamp(22px, 4.6vw, 28px); line-height: 1.1; }
.stop p { margin: 0; line-height: 1.45; font-weight: 500; }
.stop .chip { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; border-radius: 999px; padding: 3px 10px; border: 3px solid var(--ink); }
.stop.is-done .stop-card { background: var(--green-l); }
.stop.is-done .floor { background: var(--green); color: var(--ink); }
.stop.is-done .chip { background: var(--green); }
.stop.is-now .stop-card { background: var(--pink-l); box-shadow: var(--pop); transform: scale(1.02); }
.stop.is-now .floor { background: var(--pink); color: #fff; -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; animation: pulse 1.2s ease-in-out infinite; }
.stop.is-now .chip { background: var(--pink); }
.stop.is-final .floor { background: var(--yellow); color: var(--ink); }
.stop.is-final .floor small { color: var(--ink); }
@keyframes pulse { 50% { transform: scale(1.1) rotate(-4deg); } }
.trail-note { text-align: center; font-size: 14px; font-weight: 600; opacity: .8; margin: 20px 0 0; }

/* ---------- safari bingo ---------- */
.bingo-box { margin: 48px auto 0; max-width: 620px; text-align: center; }
.h3 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(32px, 7vw, 46px); color: var(--yellow);
  -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--ink); }
.bingo-lead { font-weight: 500; margin: 6px 0 18px; }
.bingo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bingo button {
  position: relative; aspect-ratio: 1; cursor: pointer; padding: 6px;
  font-family: var(--f-body); font-weight: 700; font-size: clamp(12px, 3.2vw, 16px); line-height: 1.15; color: var(--ink);
  background: #fff; border: var(--line); border-radius: 18px; box-shadow: var(--pop-s);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  transition: transform .15s;
}
.bingo button .bi { font-size: clamp(28px, 8vw, 44px); line-height: 1; }
.bingo button:hover { transform: rotate(-2deg) scale(1.03); }
.bingo button[aria-pressed="true"] { background: var(--yellow); }
.bingo button[aria-pressed="true"]::after {
  content: "✓"; position: absolute; top: -10px; right: -8px; width: 32px; height: 32px; display: grid; place-items: center;
  background: var(--green); border: 3px solid var(--ink); border-radius: 50%; font-size: 18px; animation: stamp .3s cubic-bezier(.3,1.8,.5,1);
}
@keyframes stamp { from { transform: scale(2.4) rotate(-20deg); opacity: 0; } }
.bingo-msg { font-family: var(--f-display); font-size: clamp(22px, 5vw, 32px); min-height: 1.3em; margin: 16px 0 0; }

@media (max-width: 560px) {
  .stop { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; }
  .stop .floor { width: 52px; height: 52px; font-size: 24px; border-radius: 14px; }
  .trail::before { left: 23px; }
}

/* compact header on phones */
.logo { white-space: nowrap; flex: none; }
.topbar nav { flex-wrap: nowrap; }
@media (max-width: 480px) {
  .logo .lw { display: none; }
  .logo span:last-child { margin-left: 0; }
  .topbar nav { gap: 4px; }
  .topbar nav a { padding: 4px 8px; font-size: 12.5px; border-width: 2.5px; }
}

.stop-link { display: inline-block; margin-top: 10px; font-weight: 700; background: var(--yellow); border: 3px solid var(--ink);
  border-radius: 999px; padding: 4px 12px; text-decoration: none; box-shadow: 2px 2px 0 var(--ink); }
.stop-link:hover { transform: rotate(-2deg); }

/* ---------- RSVP ---------- */
.band-rsvp { --band: var(--blue-l); background: var(--blue-l); }
.rsvp-count { text-align: center; margin: -8px auto 22px; }
.rsvp-count span { display: inline-block; font-family: var(--f-display); font-size: clamp(20px, 4.5vw, 26px);
  background: var(--yellow); border: var(--line); border-radius: 999px; padding: 6px 18px; box-shadow: var(--pop-s); transform: rotate(-1.5deg); }
.rsvp-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; background: #fff; border: var(--line);
  border-radius: var(--r); box-shadow: var(--pop); padding: 22px; max-width: 760px; margin: 0 auto; }
.rsvp-form .row { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rsvp-form .full { grid-column: 1 / -1; }
.rsvp-form label, .rsvp-form legend, .st-label { font-weight: 700; }
.rsvp-form label small { font-weight: 500; opacity: .7; }
.rsvp-form input:not([type=radio]) { font: inherit; font-weight: 500; color: var(--ink); background: var(--cream);
  border: 3px solid var(--ink); border-radius: 14px; padding: 10px 12px; width: 100%; }
.hint { font-weight: 500; opacity: .8; }
.yesno { border: 0; padding: 0; margin: 0; display: flex; flex-direction: row !important; flex-wrap: wrap; gap: 10px; }
.yesno legend { width: 100%; margin-bottom: 6px; padding: 0; }
.pill { cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span { display: inline-block; font-weight: 700; padding: 10px 18px; border: var(--line); border-radius: 999px; background: var(--cream); box-shadow: var(--pop-s); transition: transform .12s; }
.pill input:checked + span { background: var(--green); transform: rotate(-2deg); }
.pill input[value=no]:checked + span { background: var(--pink-l); }
.pill input:focus-visible + span { outline: 4px dashed var(--purple); outline-offset: 3px; }
.when-yes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.steppers { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; }
.stepper { display: flex; align-items: center; gap: 12px; background: var(--yellow-l); border: 3px solid var(--ink); border-radius: 18px; padding: 8px 12px; }
.st-ctrl { display: flex; align-items: center; gap: 8px; }
.st-ctrl button { width: 40px; height: 40px; font: 700 22px/1 var(--f-body); color: var(--ink); cursor: pointer; background: var(--pink);
  border: 3px solid var(--ink); border-radius: 50%; box-shadow: 2px 2px 0 var(--ink); }
.st-ctrl button:active { transform: translate(2px,2px); box-shadow: none; }
.st-ctrl output { font-family: var(--f-display); font-size: 30px; min-width: 1.4ch; text-align: center; font-variant-numeric: tabular-nums; }
.people { border: 3px dashed var(--ink); border-radius: 18px; padding: 12px 14px 14px; margin: 0; min-width: 0; }
.people legend { font-weight: 700; padding: 0 6px; }
.people legend small { font-weight: 500; opacity: .7; }
.people-list { display: flex; flex-direction: column; gap: 10px; }
.person { display: flex; align-items: center; gap: 10px; }
.person-ico { font-size: 26px; flex: none; width: 34px; text-align: center; }
.person input.p-name { flex: 1; min-width: 0; }
.person input.p-age { flex: none; width: 76px !important; text-align: center; }
.people .hint { display: block; margin-top: 10px; }

/* organizer view */
.host { margin: 36px auto 0; max-width: 900px; background: #fff; border: var(--line); border-radius: var(--r); box-shadow: var(--pop); padding: 20px; text-align: center; }
.host-totals { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 12px 0 16px; }
.host-totals b { font-family: var(--f-display); font-weight: 400; font-size: 22px; background: var(--yellow-l); border: 3px solid var(--ink); border-radius: 14px; padding: 6px 14px; }
.table-wrap { overflow-x: auto; margin-bottom: 14px; }
.host-table { border-collapse: collapse; width: 100%; text-align: left; font-size: 15px; }
.host-table th, .host-table td { border-bottom: 2px solid var(--ink); padding: 8px 10px; vertical-align: top; }
.host-table th { font-weight: 700; background: var(--blue-l); }
.host-table td.num { text-align: center; font-variant-numeric: tabular-nums; }

@media (max-width: 560px) {
  .rsvp-form, .when-yes { grid-template-columns: 1fr; }
  .rsvp-form { padding: 16px; }
}
.host-table th, .host-table td { white-space: nowrap; }

.host-login { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin: 10px 0 6px; }
.host-login label { font-weight: 700; width: 100%; }
.host-login input { font: inherit; border: 3px solid var(--ink); border-radius: 14px; padding: 8px 12px; background: var(--cream); color: var(--ink); min-width: 0; }
.host-login .form-msg { width: 100%; }
