/* BHAI KYA PLAN HAI? — design system
   Dark, neon-accented, mobile-first. Tokens first, then components. */

:root {
  --bg: #07060b;
  --bg-2: #0d0b14;
  --surface: #13111c;
  --surface-2: #1b1827;
  --surface-3: #242033;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f6f4ff;
  --muted: #a6a1b8;
  --dim: #6f6a82;

  --pink: #ff2e88;
  --violet: #8b5cf6;
  --lime: #c8ff2e;
  --cyan: #22d3ee;
  --amber: #ffb020;
  --red: #ff4d5e;
  --green: #2ee59d;
  --yellow: #ffd23f;
  --blue: #4da3ff;

  --grad: linear-gradient(135deg, #ff2e88 0%, #b04bff 55%, #6d5cff 100%);
  --grad-lime: linear-gradient(135deg, #c8ff2e 0%, #2ee59d 100%);
  --glass: rgba(20, 17, 30, 0.62);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --font-display: "Unbounded", "Inter", system-ui, sans-serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --nav-h: 72px;
  --gutter: 16px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom));
}
body::before { /* ambient neon haze */
  content: ""; position: fixed; inset: -20vh -20vw auto; height: 70vh; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40vw 30vh at 15% 20%, rgba(255, 46, 136, .16), transparent 70%),
    radial-gradient(40vw 30vh at 85% 10%, rgba(139, 92, 246, .18), transparent 70%);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 8px; }
::selection { background: var(--pink); color: #fff; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.hide { display: none !important; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.center { text-align: center; }
.row { display: flex; align-items: center; gap: 8px; }
.row.wrap-row { flex-wrap: wrap; }
.spacer { flex: 1; }
.stack > * + * { margin-top: 12px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }

/* ---------- Type ---------- */
.display { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.02; }
.h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 9vw, 76px); letter-spacing: -0.03em; line-height: .98; margin: 0; }
.h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 4.8vw, 28px); letter-spacing: -0.01em; margin: 0; line-height: 1.1; }
.h3 { font-family: var(--font-display); font-weight: 700; font-size: 16px; margin: 0; letter-spacing: 0; }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lime { color: var(--lime); }
.pink { color: var(--pink); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: linear-gradient(to bottom, rgba(7, 6, 11, .92), rgba(7, 6, 11, .75));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 12px; height: 58px; }
.logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: -.01em; white-space: nowrap; }
.logo .mark {
  width: 30px; height: 30px; border-radius: 10px; background: var(--grad); display: grid; place-items: center;
  font-size: 15px; box-shadow: 0 0 22px rgba(255, 46, 136, .45);
}
.logo .q { color: var(--lime); }
.city-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line); font-size: 12px; font-weight: 700;
}
.clock { font-size: 12px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.topnav { display: none; gap: 4px; margin-left: 16px; }
.topnav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--muted); transition: .2s; }
.topnav a:hover, .topnav a.on { color: var(--text); background: var(--surface-2); }

.demo-strip {
  background: repeating-linear-gradient(-45deg, rgba(255, 176, 32, .12) 0 10px, rgba(255, 176, 32, .06) 10px 20px);
  border-bottom: 1px solid rgba(255, 176, 32, .25);
  color: #ffd79a; font-size: 12px; text-align: center; padding: 6px 12px; font-weight: 600;
}
.demo-strip b { color: var(--amber); }

/* ---------- Bottom nav ---------- */
.bottomnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: rgba(10, 9, 16, .9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
}
.bottomnav a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--dim); padding: 8px 0; transition: color .2s; }
.bottomnav a .ic { font-size: 21px; line-height: 1; filter: grayscale(1) opacity(.7); transition: .2s; }
.bottomnav a.on { color: var(--text); }
.bottomnav a.on .ic { filter: none; transform: translateY(-1px); }
.bottomnav a.plan-btn { position: relative; top: -16px; }
.bottomnav a.plan-btn .ic {
  width: 58px; height: 58px; border-radius: 20px; background: var(--grad); display: grid; place-items: center; font-size: 24px;
  filter: none; box-shadow: 0 10px 30px rgba(255, 46, 136, .45), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.bottomnav a.plan-btn { color: var(--text); }

.fab {
  position: fixed; z-index: 45; left: 50%; transform: translateX(-50%) translateY(0);
  bottom: calc(var(--nav-h) + 18px + env(safe-area-inset-bottom));
  padding: 14px 22px; border-radius: 999px; background: var(--grad); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: .04em;
  box-shadow: 0 12px 34px rgba(255, 46, 136, .5); display: inline-flex; gap: 8px; align-items: center;
  transition: transform .35s var(--ease), opacity .3s;
}
.fab.gone { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(20px); }

@media (min-width: 900px) {
  body { padding-bottom: 40px; }
  .bottomnav { display: none; }
  .topnav { display: flex; }
  .fab { bottom: 28px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px; border-radius: 16px; font-weight: 800; font-size: 14px; letter-spacing: .03em;
  transition: transform .15s var(--ease), box-shadow .2s, background .2s; user-select: none; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 28px rgba(255, 46, 136, .35), inset 0 1px 0 rgba(255, 255, 255, .25); font-family: var(--font-display); }
.btn-primary:hover { box-shadow: 0 14px 36px rgba(255, 46, 136, .5); }
.btn-lime { background: var(--lime); color: #0b0b0b; font-family: var(--font-display); box-shadow: 0 10px 28px rgba(200, 255, 46, .25); }
.btn-ghost { background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { background: var(--surface-3); }
.btn-sm { min-height: 38px; padding: 0 14px; border-radius: 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link { color: var(--lime); font-weight: 700; font-size: 13px; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter); }
.chips.scroll::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 15px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line); font-weight: 600; font-size: 14px; white-space: nowrap;
  transition: background .2s, border-color .2s, transform .15s var(--ease), color .2s;
}
.chip:hover { border-color: var(--line-2); }
.chip:active { transform: scale(.96); }
.chip.on { background: rgba(200, 255, 46, .12); border-color: var(--lime); color: var(--lime); }
.chip.sm { min-height: 30px; padding: 0 11px; font-size: 12px; }
.tag {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700;
  background: rgba(255, 255, 255, .07); border: 1px solid var(--line); white-space: nowrap;
}
.tag.demo { background: rgba(255, 176, 32, .14); border-color: rgba(255, 176, 32, .4); color: var(--amber); letter-spacing: .06em; }
.tag.sponsored { background: rgba(77, 163, 255, .14); border-color: rgba(77, 163, 255, .4); color: #9ccaff; }
.tag.new { background: rgba(200, 255, 46, .14); border-color: rgba(200, 255, 46, .4); color: var(--lime); }
.tag.glass { background: rgba(10, 8, 16, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-color: rgba(255, 255, 255, .14); }

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.dot.green { background: var(--green); box-shadow: 0 0 10px var(--green); }
.dot.yellow { background: var(--yellow); box-shadow: 0 0 10px var(--yellow); }
.dot.red { background: var(--red); box-shadow: 0 0 10px var(--red); animation: pulse 1.6s infinite; }
.dot.grey { background: var(--dim); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

.badge-line { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--muted); font-weight: 600; cursor: help; }
.badge-line.stale { color: var(--dim); }

/* ---------- Sections ---------- */
.section { margin-top: 34px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head .h2 { display: flex; align-items: center; gap: 10px; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(255, 77, 94, .7); animation: ring 1.8s infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 94, .6); } 70% { box-shadow: 0 0 0 12px rgba(255, 77, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 94, 0); } }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 72%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 700px) { .rail { grid-auto-columns: 300px; } }

.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.card.pad { padding: 18px; }
.glass { background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(255, 255, 255, .1); }

/* ---------- Hero ---------- */
.hero { padding: 26px 0 8px; position: relative; }
.hero .kicker { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--muted); }
.hero .h1 { margin-top: 16px; }
.hero .sub { font-size: clamp(15px, 3.8vw, 19px); color: var(--muted); margin: 14px 0 0; max-width: 560px; }
.hero .sub b { color: var(--text); font-weight: 700; }
.hero-grid { display: grid; gap: 22px; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1fr 480px; align-items: start; gap: 44px; } .hero { padding-top: 56px; } }

.builder { padding: 18px; border-radius: var(--r-xl); position: relative; overflow: hidden; }
.builder::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgba(255, 46, 136, .6), rgba(139, 92, 246, .2) 40%, rgba(255, 255, 255, .05)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.q-block + .q-block { margin-top: 16px; }
.q-label { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; margin-bottom: 9px; letter-spacing: .01em; }
.q-label .em { font-size: 16px; }
.q-label .val { margin-left: auto; font-weight: 700; color: var(--lime); font-size: 12px; }
.more-toggle { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 14px; display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Venue cards ---------- */
.vcard { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; display: flex; flex-direction: column; }
.vcard:hover { transform: translateY(-3px); border-color: var(--line-2); }
.vcard .media { position: relative; aspect-ratio: 4 / 3.1; background: var(--surface-2); overflow: hidden; }
.vcard .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.vcard:hover .media img { transform: scale(1.05); }
.vcard .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 6, 11, .95) 0%, rgba(7, 6, 11, .35) 45%, rgba(7, 6, 11, .1) 70%, rgba(7, 6, 11, .45) 100%); }
.vcard .tl, .vcard .tr { position: absolute; top: 10px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.vcard .tl { left: 10px; right: 70px; }
.vcard .tr { right: 10px; }
.vcard .bottom { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; }
.vcard .name { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -.01em; line-height: 1.1; }
.vcard .meta { color: #d9d5e8; font-size: 12.5px; margin-top: 4px; font-weight: 600; }
.vcard .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.fact { background: var(--surface-2); border-radius: 12px; padding: 8px 9px; min-width: 0; }
.fact .k { font-size: 10.5px; color: var(--dim); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.fact .v { font-weight: 800; font-size: 14px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fact .v small { font-weight: 600; color: var(--muted); font-size: 11px; }
.offer-strip { display: flex; gap: 8px; align-items: center; font-size: 12.5px; font-weight: 700; color: var(--lime); background: rgba(200, 255, 46, .07); border: 1px dashed rgba(200, 255, 46, .35); padding: 7px 10px; border-radius: 10px; }
.vcard .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.fires { font-size: 13px; letter-spacing: -2px; filter: drop-shadow(0 0 6px rgba(255, 90, 40, .5)); }
.fires .off { filter: grayscale(1) opacity(.25); }

/* compact poster card for rails */
.pcard { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-2); border: 1px solid var(--line); }
.pcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover img { transform: scale(1.06); }
.pcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 6, 11, .97) 5%, rgba(7, 6, 11, .2) 55%, rgba(7, 6, 11, .5) 100%); }
.pcard .tl { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.pcard .bottom { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; }
.pcard .name { font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1.05; }
.pcard .meta { font-size: 12.5px; color: #d9d5e8; margin-top: 5px; font-weight: 600; }
.pcard .price-row { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

/* Right Now live tiles */
.live-card { display: block; padding: 14px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.live-card .top { display: flex; gap: 12px; align-items: center; }
.live-card .thumb { width: 54px; height: 54px; border-radius: 14px; object-fit: cover; flex: none; }
.live-card .nm { font-weight: 800; font-size: 15.5px; line-height: 1.15; }
.live-card .ar { font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.meter { height: 8px; background: var(--surface-3); border-radius: 99px; overflow: hidden; margin-top: 12px; }
.meter > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--yellow) 55%, var(--red)); background-size: 300px 100%; transition: width 1s var(--ease); }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin-top: 12px; font-size: 13px; }
.kv div { display: flex; gap: 6px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kv b { font-weight: 700; }

/* ---------- Plan timeline ---------- */
.plan-head { padding: 22px 0 6px; }
.param-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.timeline { position: relative; margin-top: 18px; }
.stop { position: relative; padding-left: 64px; }
.stop .time { position: absolute; left: 0; top: 16px; width: 54px; text-align: right; font-weight: 800; font-size: 13px; line-height: 1.1; }
.stop .time small { display: block; font-weight: 600; font-size: 10px; color: var(--dim); }
.stop::before { content: ""; position: absolute; left: 60px; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--pink), var(--violet)); opacity: .5; }
.stop:first-child::before { top: 22px; }
.stop:last-child::before { bottom: calc(100% - 22px); }
.stop .node { position: absolute; left: 53px; top: 16px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--pink); box-shadow: 0 0 14px rgba(255, 46, 136, .7); }
.stop .scard { margin-left: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stop.swapping .scard { animation: swapIn .6s var(--ease); }
@keyframes swapIn { 0% { opacity: .2; transform: translateX(14px) scale(.98); } 100% { opacity: 1; transform: none; } }
.scard .shead { display: flex; align-items: center; gap: 8px; padding: 12px 14px 0; font-weight: 800; font-size: 13px; }
.scard .shead .ic { font-size: 18px; }
.scard .sven { display: flex; gap: 12px; padding: 10px 14px 12px; align-items: center; }
.scard .sven img { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; flex: none; }
.scard .sven .nm { font-family: var(--font-display); font-weight: 800; font-size: 17px; line-height: 1.1; }
.scard .why { display: flex; flex-wrap: wrap; gap: 5px; padding: 0 14px 12px; }
.scard .cost-row { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-top: 1px solid var(--line); background: var(--bg-2); }
.scard .cost-row .amt { font-family: var(--font-display); font-weight: 800; font-size: 17px; }
.scard .mods { display: flex; gap: 6px; overflow-x: auto; padding: 10px 14px; border-top: 1px solid var(--line); scrollbar-width: none; }
.scard .mods::-webkit-scrollbar { display: none; }
.breakdown { padding: 4px 14px 12px; background: var(--bg-2); font-size: 13px; }
.breakdown .ln { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.breakdown .ln:last-child { border-bottom: 0; }
.breakdown .ln small { display: block; color: var(--dim); font-size: 11px; }
.hop { margin: 0 0 0 18px; padding: 8px 0 8px 10px; font-size: 12px; color: var(--muted); font-weight: 600; }

.total-card { margin-top: 18px; padding: 20px; border-radius: var(--r-xl); position: relative; overflow: hidden; background: linear-gradient(145deg, #1c1030, #120e1d 60%); border: 1px solid rgba(255, 46, 136, .35); }
.total-card .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 10vw, 54px); letter-spacing: -.03em; line-height: 1; }
.diff { display: inline-flex; gap: 6px; align-items: center; font-weight: 800; font-size: 13px; padding: 5px 10px; border-radius: 999px; }
.diff.over { background: rgba(255, 77, 94, .14); color: #ff8f9a; }
.diff.under { background: rgba(46, 229, 157, .14); color: var(--green); }
.promise { display: inline-flex; gap: 8px; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--lime); text-transform: uppercase; }

.sticky-bar {
  position: fixed; left: 0; right: 0; z-index: 44; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom));
  background: rgba(13, 11, 20, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line);
  padding: 10px var(--gutter);
}
.sticky-bar .wrap { display: flex; gap: 10px; align-items: center; padding: 0; }
@media (min-width: 900px) { .sticky-bar { bottom: 0; } }
.has-sticky { padding-bottom: 90px; }

/* ---------- Budget plans ---------- */
.plan-opt { padding: 18px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; }
.plan-opt .letter { font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.plan-opt .pname { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -.01em; }
.plan-opt .price { font-family: var(--font-display); font-weight: 800; font-size: 30px; }
.plan-opt .mini-stops { display: flex; flex-direction: column; gap: 8px; }
.plan-opt .mini-stops .ms { display: flex; gap: 10px; align-items: center; font-size: 13px; }
.plan-opt .mini-stops img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.plan-opt.a { border-color: rgba(255, 46, 136, .45); background: linear-gradient(160deg, rgba(255, 46, 136, .12), var(--surface) 50%); }
.plan-opt.b { border-color: rgba(139, 92, 246, .45); background: linear-gradient(160deg, rgba(139, 92, 246, .14), var(--surface) 50%); }
.plan-opt.c { border-color: rgba(255, 210, 63, .4); background: linear-gradient(160deg, rgba(255, 210, 63, .1), var(--surface) 50%); }

.big-input { display: flex; align-items: center; gap: 6px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 20px; padding: 6px 8px 6px 18px; }
.big-input .cur { font-family: var(--font-display); font-weight: 800; font-size: 32px; color: var(--lime); }
.big-input input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-family: var(--font-display); font-weight: 800; font-size: 32px; width: 100%; }

/* ---------- Venue page ---------- */
.vhero { position: relative; height: min(62vh, 520px); min-height: 360px; overflow: hidden; }
.vhero img { width: 100%; height: 100%; object-fit: cover; }
.vhero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 2%, rgba(7, 6, 11, .35) 55%, rgba(7, 6, 11, .55) 100%); }
.vhero .over { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2; }
.vhero .back { position: absolute; top: 14px; left: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; }
.vhero .share { position: absolute; top: 14px; right: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 18px; }
.vname { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 8vw, 60px); letter-spacing: -.03em; line-height: 1; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 18px; }
.panel + .panel { margin-top: 14px; }
.panel .ph { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.now-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 700px) { .now-grid { grid-template-columns: repeat(4, 1fr); } }
.now-cell { background: var(--surface-2); border-radius: 14px; padding: 11px 12px; }
.now-cell .k { font-size: 11px; color: var(--muted); font-weight: 700; display: flex; gap: 6px; align-items: center; }
.now-cell .v { font-weight: 800; font-size: 16px; margin-top: 4px; }
.now-cell .b { font-size: 10.5px; color: var(--dim); margin-top: 3px; font-weight: 600; }
.expect { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 700px) { .expect { grid-template-columns: repeat(3, 1fr); } }
.expect .ex { display: flex; gap: 10px; align-items: center; background: var(--surface-2); border-radius: 14px; padding: 12px; }
.expect .ex .em { font-size: 22px; }
.expect .ex .k { font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.expect .ex .v { font-weight: 800; font-size: 14px; }
.tabs { display: flex; gap: 6px; background: var(--surface-2); padding: 4px; border-radius: 14px; overflow-x: auto; scrollbar-width: none; }
.tabs button { flex: 1; min-height: 38px; padding: 0 12px; border-radius: 11px; font-weight: 700; font-size: 13px; color: var(--muted); white-space: nowrap; }
.tabs button.on { background: var(--surface-3); color: var(--text); box-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.price-total { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.price-total .amt { font-family: var(--font-display); font-weight: 800; font-size: 26px; }
.stamp { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1.5px solid var(--lime); color: var(--lime); border-radius: 10px; font-family: var(--font-display); font-weight: 800; font-size: 11px; letter-spacing: .1em; transform: rotate(-2deg); }
.menu-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.list-row { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.mini-map { height: 220px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }

/* ---------- Community ---------- */
.pulse-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pulse-item:last-child { border-bottom: 0; }
.pulse-item .av { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); font-size: 18px; flex: none; }
.pulse-item .tx { font-weight: 700; font-size: 14.5px; }
.pulse-item .mt { font-size: 12px; color: var(--muted); margin-top: 3px; }
.pulse-item .acts { display: flex; gap: 4px; margin-left: auto; align-items: flex-start; }
.pulse-item .acts button { font-size: 12px; padding: 4px 8px; border-radius: 8px; color: var(--muted); background: var(--surface-2); }
textarea.input, input.input, select.input { width: 100%; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 14px; padding: 12px 14px; outline: 0; min-height: 48px; }
textarea.input { resize: vertical; min-height: 80px; }
input.input:focus, textarea.input:focus, select.input:focus { border-color: var(--pink); }
label.lbl { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }

/* ---------- Search ---------- */
.searchbar { display: flex; align-items: center; gap: 10px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 18px; padding: 0 8px 0 16px; min-height: 56px; transition: border-color .2s, box-shadow .2s; }
.searchbar:focus-within { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255, 46, 136, .12); }
.searchbar input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 16px; font-weight: 600; }
.understood { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: 13px; }

/* ---------- Ask (chat) ---------- */
.chat { display: flex; flex-direction: column; gap: 14px; }
.bubble { max-width: 88%; padding: 12px 15px; border-radius: 20px; font-size: 15px; font-weight: 600; }
.bubble.me { align-self: flex-end; background: var(--grad); border-bottom-right-radius: 6px; }
.bubble.bot { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 6px; }
.typing span { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); margin: 0 2px; animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .2; } 40% { opacity: 1; } }
.composer { position: sticky; bottom: calc(var(--nav-h) + 10px); display: flex; gap: 8px; align-items: flex-end; padding: 8px; border-radius: 22px; margin-top: 18px; }
.composer textarea { flex: 1; background: none; border: 0; outline: 0; resize: none; min-height: 44px; max-height: 120px; padding: 10px 8px; font-size: 16px; }
@media (min-width: 900px) { .composer { bottom: 16px; } }

/* ---------- Deals ---------- */
.deal { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 12px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.deal img { width: 96px; height: 100%; min-height: 110px; object-fit: cover; border-radius: 14px; }
.deal .strike { text-decoration: line-through; color: var(--dim); font-weight: 600; font-size: 14px; }
.deal .now { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--lime); }
.countdown { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 13px; color: var(--amber); display: inline-flex; gap: 6px; align-items: center; }
.countdown.urgent { color: var(--red); }
.deal-rail .deal { min-width: 300px; }

/* ---------- Group ---------- */
.match-ring { --p: 0; width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto;
  background: conic-gradient(var(--lime) calc(var(--p) * 1%), var(--surface-3) 0); position: relative; transition: --p 1s; }
.match-ring::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--surface); }
.match-ring .in { position: relative; text-align: center; }
.match-ring .pc { font-family: var(--font-display); font-weight: 800; font-size: 38px; line-height: 1; }
.vote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vote-btn { min-height: 64px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line-2); font-weight: 800; font-size: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; transition: .2s; }
.vote-btn .em { font-size: 22px; }
.vote-btn.on { border-color: var(--lime); background: rgba(200, 255, 46, .1); color: var(--lime); transform: scale(1.02); }

/* ---------- Map ---------- */
.map-page { position: relative; height: calc(100vh - 58px - var(--nav-h)); height: calc(100dvh - 58px - var(--nav-h)); }
@media (min-width: 900px) { .map-page { height: calc(100dvh - 58px); } }
#bigmap { position: absolute; inset: 0; background: #0b0a10; }
.map-top { position: absolute; top: 12px; left: 0; right: 0; z-index: 500; }
.map-legend { position: absolute; right: 12px; bottom: 16px; z-index: 500; padding: 10px 12px; border-radius: 14px; font-size: 12px; font-weight: 700; display: flex; flex-direction: column; gap: 6px; }
.map-preview { position: absolute; left: 12px; right: 12px; bottom: 16px; z-index: 600; max-width: 460px; margin: 0 auto; transition: transform .35s var(--ease), opacity .3s; }
.map-preview.gone { transform: translateY(30px); opacity: 0; pointer-events: none; }
.vpin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid #0b0a10; box-shadow: 0 0 0 2px rgba(255, 255, 255, .2), 0 0 16px currentColor; }
.vpin.green { background: var(--green); color: var(--green); }
.vpin.yellow { background: var(--yellow); color: var(--yellow); }
.vpin.red { background: var(--red); color: var(--red); animation: pinPulse 1.6s infinite; }
.vpin.grey { background: #555; color: transparent; }
.vpin.food { border-radius: 7px; }
@keyframes pinPulse { 0%, 100% { box-shadow: 0 0 0 2px rgba(255, 255, 255, .2), 0 0 8px currentColor; } 50% { box-shadow: 0 0 0 2px rgba(255, 255, 255, .2), 0 0 24px currentColor; } }
.zone-label { font-family: var(--font-display); font-weight: 800; font-size: 11px; letter-spacing: .08em; color: rgba(255, 255, 255, .85); text-transform: uppercase; white-space: nowrap; text-shadow: 0 2px 10px #000; }
.leaflet-container { font-family: var(--font) !important; background: #0b0a10 !important; }
.leaflet-control-attribution { background: rgba(10, 9, 16, .7) !important; color: var(--dim) !important; font-size: 10px !important; }
.leaflet-control-attribution a { color: var(--muted) !important; }
.leaflet-bar a { background: var(--surface-2) !important; color: var(--text) !important; border-color: var(--line) !important; }

/* ---------- Sheet / modal ---------- */
.sheet-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
.sheet-backdrop.show { opacity: 1; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 91; max-height: 92vh; overflow-y: auto; background: var(--surface); border-top-left-radius: 28px; border-top-right-radius: 28px; border: 1px solid var(--line-2); padding: 10px 18px calc(22px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .38s var(--ease); max-width: 560px; margin: 0 auto; }
.sheet.show { transform: none; }
.sheet .grab { width: 44px; height: 5px; border-radius: 99px; background: var(--line-2); margin: 0 auto 14px; }
@media (min-width: 900px) { .sheet { bottom: 50%; border-radius: 28px; transform: translateY(60%) scale(.96); opacity: 0; transition: transform .35s var(--ease), opacity .25s; } .sheet.show { transform: translateY(50%); opacity: 1; } }

.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 24px); transform: translateX(-50%) translateY(20px); z-index: 120; background: #fff; color: #0b0b0b; padding: 12px 18px; border-radius: 14px; font-weight: 700; font-size: 14px; opacity: 0; transition: .3s var(--ease); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%); }

/* ---------- Skeleton / misc ---------- */
.skel { background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: sk 1.3s infinite; border-radius: var(--r-lg); }
@keyframes sk { to { background-position: -200% 0; } }
.fade-in { animation: fadeIn .45s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.page { min-height: 60vh; }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.empty .em { font-size: 44px; }
.promo-card { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--r-xl); position: relative; overflow: hidden; border: 1px solid var(--line); }
.promo-card .em { font-size: 34px; }
.promo-card.p1 { background: linear-gradient(120deg, rgba(200, 255, 46, .16), rgba(46, 229, 157, .06)); border-color: rgba(200, 255, 46, .3); }
.promo-card.p2 { background: linear-gradient(120deg, rgba(139, 92, 246, .22), rgba(255, 46, 136, .08)); border-color: rgba(139, 92, 246, .35); }
.promo-card.p3 { background: linear-gradient(120deg, rgba(34, 211, 238, .16), rgba(77, 163, 255, .06)); border-color: rgba(34, 211, 238, .3); }
.promo-grid { display: grid; gap: 12px; }
@media (min-width: 800px) { .promo-grid { grid-template-columns: repeat(3, 1fr); } }
.footer { margin-top: 60px; padding: 30px 0 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 5vw, 34px); color: var(--text); letter-spacing: -.02em; line-height: 1.1; }
.kbd-hint { font-size: 12px; color: var(--dim); }
hr.sep { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.split { display: grid; gap: 16px; }
@media (min-width: 980px) { .split { grid-template-columns: 1fr 380px; align-items: start; } .split .side { position: sticky; top: 76px; } }
.stat-pill { display: inline-flex; flex-direction: column; padding: 10px 14px; border-radius: 14px; background: var(--surface-2); min-width: 90px; }
.stat-pill b { font-family: var(--font-display); font-size: 20px; }
.stat-pill span { font-size: 11px; color: var(--muted); font-weight: 700; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

@media (max-width: 480px) {
  .clock { display: none; }
  .logo { font-size: 12.5px; gap: 7px; }
  .logo .mark { width: 28px; height: 28px; }
  .city-pill { padding: 7px 10px; }
}

/* OSM tiles, darkened to match the UI */
.dark-tiles { filter: invert(1) hue-rotate(200deg) brightness(.72) contrast(.95) saturate(.55); }

@media (max-width: 420px) {
  .topbar .wrap { gap: 6px; }
  .city-pill { padding: 6px 9px; font-size: 11.5px; gap: 4px; }
  .logo span:last-child { font-size: 11.5px; }
}

/* ---------- Poster art (used until a venue provides licensed photos) ---------- */
.poster {
  position: relative; width: 100%; height: 100%; min-height: 100%; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(120% 90% at 15% 10%, hsl(var(--h) 90% 58% / .85), transparent 55%),
    radial-gradient(90% 80% at 90% 90%, hsl(calc(var(--h) + 60) 85% 50% / .75), transparent 60%),
    linear-gradient(160deg, hsl(calc(var(--h) + 200) 60% 12%), #0b0912);
}
.poster::before { /* subtle grain + scanlines for a club-flyer feel */
  content: ""; position: absolute; inset: 0; opacity: .18; mix-blend-mode: overlay;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.18) 0 1px, transparent 1px 4px);
}
.poster .pe { font-size: clamp(34px, 9vw, 64px); filter: drop-shadow(0 6px 20px rgba(0,0,0,.45)); transform: translateY(-12%); }
.poster .pn { position: absolute; left: 10px; right: 10px; top: 10px; font-family: var(--font-display); font-weight: 800; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.28); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }
.thumb.poster, .sthumb .poster, .msthumb .poster { border-radius: inherit; }
.thumb.poster .pe, .sthumb .poster .pe, .msthumb .poster .pe { font-size: 24px; transform: none; }
.thumb.poster .pn, .sthumb .poster .pn, .msthumb .poster .pn { display: none; }
.live-card .thumb { width: 54px; height: 54px; border-radius: 14px; overflow: hidden; flex: none; }
.sthumb { width: 72px; height: 72px; border-radius: 14px; overflow: hidden; flex: none; }
.sthumb img { width: 100%; height: 100%; object-fit: cover; }
.msthumb { width: 40px; height: 40px; border-radius: 10px; overflow: hidden; flex: none; }
.msthumb img { width: 100%; height: 100%; object-fit: cover; }
.vhero .hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vhero .hero-art.poster .pe { font-size: 96px; transform: translateY(-30%); }
.vhero .hero-art.poster .pn { display: none; }
.vcard .media .poster .pe, .pcard .poster .pe { transform: translateY(-28%); }
.tag.dim, .dim b { color: var(--dim); }

.dot.open { background: var(--violet); box-shadow: 0 0 10px var(--violet); }
.vpin.open { background: var(--violet); color: var(--violet); }

.gallery { grid-auto-columns: minmax(220px, 70%); margin: 0 -18px; padding: 0 18px 4px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
details.sources summary::-webkit-details-marker { display: none; }
details.sources[open] summary .dim { opacity: .6; }

/* ---------- Explore (calm header: search + one chip row) ---------- */
.explore-head { padding: 18px 0 12px; }
.search-wrap { position: relative; }
.searchbar .area-pill { position: relative; display: inline-flex; align-items: center; gap: 4px; flex: none; padding: 8px 12px; border-radius: 12px; background: var(--surface-3); font-size: 12.5px; font-weight: 700; color: var(--muted); cursor: pointer; white-space: nowrap; max-width: 46%; }
.searchbar .area-pill span { overflow: hidden; text-overflow: ellipsis; }
.searchbar .area-pill.on { color: var(--lime); background: rgba(200, 255, 46, .1); }
.searchbar .area-pill select { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 16px; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; padding: 14px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: 0 20px 40px rgba(0, 0, 0, .5); }
.cat-row { margin-top: 14px; }
.cat-row .chip.sm { min-height: 36px; font-size: 13px; }
.understood { margin-top: 12px; font-size: 13px; min-height: 20px; }
.lime-tag { border-color: rgba(200, 255, 46, .35); color: var(--lime); }

/* ---------- Gen-Z footer ---------- */
.gz-footer { margin-top: 70px; padding-bottom: 30px; }
.marquee { overflow: hidden; margin: 0 calc(-1 * var(--gutter)); padding: 14px 0; border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(255,46,136,.08), rgba(139,92,246,.08)); }
.marquee .track { display: flex; gap: 22px; width: max-content; animation: marq 28s linear infinite; font-family: var(--font-display); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.marquee .star { color: var(--lime); }
@keyframes marq { to { transform: translateX(-50%); } }
.gz-big { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 11vw, 88px); line-height: .95; letter-spacing: -.04em; margin-top: 34px; }
.stickers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.sticker { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; font-weight: 800; font-size: 14px; color: #0b0b0b; transition: transform .2s var(--ease); box-shadow: 0 6px 0 rgba(0,0,0,.35); }
.sticker:hover { transform: rotate(0deg) translateY(-2px) !important; }
.sticker.s1 { background: var(--lime); transform: rotate(-2deg); }
.sticker.s2 { background: #ff8ac4; transform: rotate(1.5deg); }
.sticker.s3 { background: #b9a4ff; transform: rotate(-1deg); }
.sticker.s4 { background: #7fe7ff; transform: rotate(2deg); }
.gz-small { color: var(--muted); font-size: 13px; margin-top: 26px; max-width: 520px; }
.gz-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12px; font-weight: 600; }

/* ---------- Mad-libs hero ---------- */
.madlibs { padding: 22px 20px 16px; border-radius: var(--r-xl); position: relative; overflow: hidden; }
.madlibs::after { content: "✦"; position: absolute; right: 16px; top: 10px; color: var(--lime); font-size: 22px; opacity: .6; animation: twinkle 2.4s infinite; }
@keyframes twinkle { 50% { opacity: .15; transform: scale(.7) rotate(45deg); } }
.ml-hint { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.ml-text { font-family: var(--font-display); font-weight: 700; font-size: clamp(21px, 5.6vw, 27px); line-height: 1.75; letter-spacing: -.01em; margin: 12px 0 20px; }
.ml-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 12px; margin: 0 2px; border-radius: 12px; vertical-align: baseline;
  font: inherit; font-size: .92em; color: #0b0b0b; background: var(--lime); box-shadow: 0 4px 0 #7fa300, 0 0 24px rgba(200, 255, 46, .25);
  transform: rotate(-1deg); transition: transform .15s var(--ease), box-shadow .15s; line-height: 1.3; white-space: nowrap;
}
.ml-pill:nth-of-type(2n) { background: #ff8ac4; box-shadow: 0 4px 0 #c2407f, 0 0 24px rgba(255, 46, 136, .25); transform: rotate(1deg); }
.ml-pill:nth-of-type(3n) { background: #b9a4ff; box-shadow: 0 4px 0 #6c4fd6, 0 0 24px rgba(139, 92, 246, .25); }
.ml-pill:hover { transform: translateY(-2px) rotate(0); }
.ml-pill:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0, 0, 0, .4); }
.ml-pill.pop { animation: pop .45s var(--ease); }
@keyframes pop { 0% { transform: scale(.7) rotate(-6deg); } 60% { transform: scale(1.15) rotate(3deg); } 100% { transform: scale(1) rotate(-1deg); } }
.ml-go { min-height: 60px; font-size: 16px; }
.ml-more { display: block; text-align: center; margin-top: 12px; font-size: 12.5px; font-weight: 700; color: var(--dim); }
.pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pick-tile { min-height: 92px; border-radius: 20px; background: var(--surface-2); border: 2px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-weight: 800; font-size: 14px; transition: .15s var(--ease); }
.pick-tile .em { font-size: 30px; }
.pick-tile:active { transform: scale(.94); }
.pick-tile.on { border-color: var(--lime); background: rgba(200, 255, 46, .1); color: var(--lime); }

/* ---------- 🎰 Slot machine ---------- */
.slot-ov { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px; background: rgba(5, 4, 9, .85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .25s; }
.slot-ov.show { opacity: 1; }
.slot-box { width: min(460px, 100%); padding: 22px 18px; border-radius: 28px; background: linear-gradient(160deg, #22112f, #120e1d); border: 2px solid rgba(255, 46, 136, .5); box-shadow: 0 0 60px rgba(255, 46, 136, .35); text-align: center; }
.slot-title { font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: .06em; }
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.reel-label { font-size: 10px; font-weight: 800; letter-spacing: .14em; color: var(--dim); margin-bottom: 6px; }
.reel-win { height: 64px; overflow: hidden; border-radius: 14px; background: #0b0912; border: 1px solid var(--line-2); box-shadow: inset 0 10px 14px rgba(0,0,0,.6), inset 0 -10px 14px rgba(0,0,0,.6); }
.reel-strip { transition: transform 1.6s cubic-bezier(.12, .8, .2, 1.02); }
.reel-strip.spin { transform: translateY(calc(var(--n) * -64px)); }
.reel-item { height: 64px; display: flex; align-items: center; justify-content: center; padding: 0 4px; font-weight: 800; font-size: 13px; line-height: 1.15; }
.slot-foot { margin-top: 18px; min-height: 44px; font-size: 14px; color: var(--muted); }
.slot-foot b { color: var(--lime); }
canvas.confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 200; }

/* ---------- Timeline v2: time lives in a header row, card gets full width ---------- */
.timeline { position: relative; margin-top: 20px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 12px; bottom: 12px; width: 2px; border-radius: 2px; background: linear-gradient(var(--pink), var(--violet) 70%, var(--cyan)); opacity: .55; }
.timeline .stop { position: relative; padding: 0 0 18px 30px; }
.timeline .stop::before { display: none; }
.timeline .stop .node { left: 1px; top: 3px; width: 16px; height: 16px; z-index: 1; }
.timeline .stop.ride .node { border-color: var(--cyan); box-shadow: 0 0 14px rgba(34, 211, 238, .6); }
.stop-head { display: flex; align-items: center; gap: 10px; min-height: 22px; margin-bottom: 8px; min-width: 0; }
.stime { font-family: var(--font-display); font-weight: 800; font-size: 15px; white-space: nowrap; letter-spacing: -.01em; }
.slabel { font-weight: 700; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sride { font-size: 14px; white-space: nowrap; }
.sride small { color: var(--muted); font-weight: 600; font-size: 11px; }
.ride-note { font-size: 12px; color: var(--dim); margin-top: -2px; }
.timeline .scard { margin-left: 0; }
.scard .sven .nm { font-size: clamp(16px, 4.4vw, 18px); overflow-wrap: anywhere; }
.smeta { font-size: 12.5px; font-weight: 600; color: var(--muted); margin-top: 4px; }
.scard .why { gap: 6px; }
.scard .cost-row { flex-wrap: wrap; row-gap: 10px; }
.cost-amt { min-width: 0; }
.cost-sub { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.cost-btns { display: flex; gap: 6px; margin-left: auto; }
.timeline .hop { position: relative; margin: -4px 0 14px 30px; padding: 5px 12px; display: inline-flex; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--muted); }

.plan-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plan-actions .btn { width: 100%; padding: 0 10px; font-size: 13.5px; }
@media (min-width: 700px) { .plan-actions { grid-template-columns: repeat(4, 1fr); } }

/* Long example prompts wrap instead of pushing the page sideways */
#prompts .chip { white-space: normal; text-align: left; line-height: 1.3; min-height: 38px; height: auto; padding: 8px 12px; max-width: 100%; }
/* Venue sticky bar: keep RESERVE on screen on small phones */
.sticky-bar .wrap > div:first-child { min-width: 0; }
@media (max-width: 480px) {
  .plan-here { padding: 0 14px; }
  .plan-here span { display: none; }
  .sticky-bar .btn { min-height: 46px; }
}

/* Explore spacing: breathing room between title, search, chips and results */
.explore-head { padding: 26px 0 18px; }
.search-wrap .searchbar { min-height: 60px; }
.cat-row { margin-top: 20px; padding-top: 2px; padding-bottom: 4px; }
.cat-row.chips { gap: 10px; }
.understood { margin-top: 18px; }
@media (min-width: 900px) { .explore-head { padding-top: 40px; } }

/* ---------- Tonight's toolkit ---------- */
.toolkit .tk-line { font-size: 13.5px; line-height: 1.5; margin-bottom: 10px; }
.toolkit .tk-line:empty { display: none; }
.tk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
@media (min-width: 700px) { .tk-grid { grid-template-columns: repeat(6, 1fr); } }
.tk { min-height: 78px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-weight: 800; font-size: 12px; text-align: center; padding: 6px; transition: transform .15s var(--ease), border-color .2s; }
.tk .em { font-size: 24px; }
.tk:hover { border-color: var(--line-2); transform: translateY(-2px); }
.tk:active { transform: scale(.95); }
.rain-tag { background: rgba(77, 163, 255, .16); border-color: rgba(77, 163, 255, .5); color: #9ccaff; cursor: pointer; }

/* ---------- Hisaab ---------- */
.h-title { width: 100%; margin-top: 8px; background: none; border: 0; border-bottom: 2px dashed var(--line-2); outline: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 6vw, 36px); padding: 4px 0; }
.h-title:focus { border-color: var(--lime); }
.h-person { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 8px; align-items: center; }
@media (max-width: 480px) { .h-person { grid-template-columns: 1fr auto; } .h-person [data-pu] { grid-column: 1; grid-row: 2; } }
.h-exp { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.settle-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.settle-row:last-of-type { border-bottom: 0; }
