:root {
  --bg: #0b0d2a; --bg2: #14174a; --card: #191d55; --line: #2c3280; --text: #f6f5ff; --muted: #aeb3e6;
  --moon: #ffd166; --moon2: #ffb347; --coral: #ff6b8b; --teal: #3ee6c4; --violet: #a35cff; --err: #ff8a8a;
  --r: 20px; --safe-b: env(safe-area-inset-bottom, 0px); --tabs: 64px;
  --display: ui-rounded, "SF Pro Rounded", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); padding-bottom: calc(var(--tabs) + var(--safe-b));
  background: radial-gradient(120% 60% at 85% -10%, #3d2380 0%, transparent 55%), radial-gradient(90% 50% at -10% 20%, #12407a 0%, transparent 50%), var(--bg); background-attachment: fixed; }
a { color: var(--moon); }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
[hidden] { display: none !important; }
h1, h2, h3, .brand, .cta, .quest b { font-family: var(--display); }
.muted { color: var(--muted); }
.lbl { font-weight: 700; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; }
.grad-text { background: linear-gradient(90deg, var(--moon), var(--coral) 55%, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- top bar + tabs ---------- */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 10px;
  background: rgba(11, 13, 42, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.06); }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); font-weight: 900; font-size: 21px; margin-right: auto; }
.city-pill { border: 1px solid var(--line); background: var(--bg2); border-radius: 999px; padding: 7px 14px; font-weight: 800; }
.pill { border: 0; border-radius: 999px; padding: 8px 15px; font-weight: 800; background: linear-gradient(135deg, var(--moon), var(--moon2)); color: #2a1a00; white-space: nowrap; }
.pill img { width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; margin: -3px 6px -3px -7px; }
.tabs { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 4px; padding: 6px 10px calc(6px + var(--safe-b));
  background: rgba(11, 13, 42, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid rgba(255,255,255,.08); }
.tabs button { flex: 1; max-width: 160px; border: 0; background: none; color: var(--muted); font-weight: 700; font-size: 12px; display: grid; justify-items: center; gap: 2px; padding: 6px; border-radius: 14px; }
.tabs button span { font-size: 22px; line-height: 1; transition: transform .2s; }
.tabs button[aria-current=page] { color: #fff; background: rgba(255,255,255,.07); }
.tabs button[aria-current=page] span { transform: translateY(-2px) scale(1.12); }
@media (min-width: 900px) { body { padding-bottom: 0; } .tabs { position: sticky; top: 57px; bottom: auto; border: 0; background: transparent; backdrop-filter: none; } .tabs button { grid-auto-flow: column; font-size: 15px; gap: 8px; align-items: center; } .tabs button span { font-size: 18px; } }

main { max-width: 820px; margin: 0 auto; padding: 0 14px 30px; }
.ghost { border: 1px solid var(--line); background: rgba(255,255,255,.04); border-radius: 999px; padding: 10px 16px; font-weight: 700; }
.ghost:hover { background: rgba(255,255,255,.09); }
.small { padding: 7px 12px; font-size: 14px; }
.card { background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)), var(--card); border: 1px solid rgba(255,255,255,.07); border-radius: var(--r); padding: 16px; margin: 14px 0; box-shadow: 0 12px 34px rgba(0,0,0,.28); }
.card h2 { margin: 0 0 8px; font-size: 20px; }
input, select { width: 100%; background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 12px; color: var(--text); color-scheme: dark; }
label { display: grid; gap: 6px; }
.row2 { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; margin-top: 10px; }
.err { color: var(--err); margin: 8px 0 0; text-align: center; }
.ok { color: var(--teal); margin: 8px 0 0; min-height: 1.4em; }

/* ---------- hero sky ---------- */
.sky { position: relative; height: 150px; margin: 0 -14px -96px; overflow: hidden; pointer-events: none; }
.stars { position: absolute; inset: 0; background-image: radial-gradient(1.5px 1.5px at 12% 30%, #fff, transparent), radial-gradient(1px 1px at 28% 12%, #fff, transparent), radial-gradient(1.5px 1.5px at 44% 40%, #ffe9b3, transparent), radial-gradient(1px 1px at 61% 18%, #fff, transparent), radial-gradient(2px 2px at 77% 34%, #fff, transparent), radial-gradient(1px 1px at 90% 10%, #cfe3ff, transparent), radial-gradient(1px 1px at 6% 8%, #fff, transparent), radial-gradient(1.5px 1.5px at 52% 6%, #fff, transparent), radial-gradient(1px 1px at 35% 55%, #fff, transparent); animation: twinkle 4s ease-in-out infinite alternate; }
.moon { position: absolute; right: 9%; top: 18px; width: 54px; height: 54px; border-radius: 50%; box-shadow: inset -14px 6px 0 0 var(--moon); filter: drop-shadow(0 0 18px rgba(255,209,102,.55)); animation: float 6s ease-in-out infinite; }
.skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 90px; opacity: .55; }
@keyframes twinkle { to { opacity: .45; } }
@keyframes float { 50% { transform: translateY(6px); } }
.hero { position: relative; padding-top: 18px; }
.hero h1 { font-size: clamp(31px, 7.4vw, 50px); line-height: 1.04; margin: 6px 0 8px; letter-spacing: -.5px; }
.kicker { color: var(--coral); font-weight: 800; margin: 0; text-transform: uppercase; letter-spacing: 1px; font-size: 13px; }

/* ---------- steps ---------- */
.step { margin: 22px 0; }
.step h2 { font-size: 21px; margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.step h2 b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--moon), var(--coral)); color: #2a1300; font-size: 15px; }
.quests { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.quest { position: relative; text-align: left; border: 2px solid transparent; border-radius: 18px; padding: 12px; min-height: 124px; color: #fff; overflow: hidden;
  background: linear-gradient(150deg, var(--g1), var(--g2)); box-shadow: 0 8px 22px rgba(0,0,0,.3); transition: transform .15s, box-shadow .2s, filter .2s; filter: saturate(.75) brightness(.8); }
.quest::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(8,8,30,.55)); }
.quest > * { position: relative; z-index: 1; }
.quest .e { font-size: 34px; display: block; filter: drop-shadow(0 3px 6px rgba(0,0,0,.35)); }
.quest b { display: block; font-size: 17px; line-height: 1.15; margin-top: 4px; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.quest small { display: block; font-size: 12.5px; opacity: .95; margin-top: 3px; line-height: 1.25; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.quest:hover { transform: translateY(-2px); filter: none; }
.quest[aria-checked=true] { filter: none; border-color: #fff; transform: translateY(-2px) scale(1.02); box-shadow: 0 10px 30px rgba(255,255,255,.18), 0 0 0 4px rgba(255,255,255,.12); }
.quest[aria-checked=true]::before { content: "✓"; position: absolute; z-index: 2; top: 8px; right: 10px; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: #222; display: grid; place-items: center; font-weight: 900; }
.must { background: rgba(62,230,196,.12); border: 1px solid rgba(62,230,196,.4); border-radius: 14px; padding: 10px 12px; margin: 10px 0 0; }
.must button { float: right; border: 0; background: none; color: var(--teal); font-weight: 800; }
.crew { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stepper { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 8px; position: relative; padding-top: 26px; }
.stepper .lbl { position: absolute; top: 7px; left: 0; right: 0; text-align: center; font-size: 11px; }
.stepper button { width: 40px; height: 40px; border-radius: 12px; border: 0; background: rgba(255,255,255,.08); font-size: 22px; font-weight: 800; }
.stepper output { text-align: center; font: 900 26px var(--display); }
.avatars { font-size: 24px; letter-spacing: 2px; margin: 10px 2px 4px; min-height: 32px; }
.avatars span { display: inline-block; animation: pop .25s ease both; }
.budget { margin-top: 12px; background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px 6px; }
.budget-val { font: 900 26px var(--display); color: var(--moon); }
input[type=range] { padding: 0; accent-color: var(--moon); background: none; border: 0; height: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips.scroll::-webkit-scrollbar { display: none; }
.chip { border: 1px solid var(--line); background: var(--bg2); border-radius: 999px; padding: 9px 14px; font-size: 15px; font-weight: 700; white-space: nowrap; transition: transform .12s, background .2s; }
.chip:active { transform: scale(.95); }
.chip[aria-pressed=true], .chip[aria-checked=true] { background: linear-gradient(135deg, rgba(255,209,102,.28), rgba(255,107,139,.26)); border-color: var(--moon); color: #fff; }
.chip .n { opacity: .7; font-weight: 600; margin-left: 4px; font-size: 13px; }
.chips.big .chip { flex: 1; padding: 13px; font-size: 16px; }
details.more summary { cursor: pointer; color: var(--muted); font-weight: 700; font-size: 14px; margin-top: 6px; }
.cta { border: 0; border-radius: 18px; padding: 16px 22px; font-size: 19px; font-weight: 900; color: #2a1300; background: linear-gradient(135deg, var(--moon), var(--coral)); box-shadow: 0 10px 28px rgba(255,107,139,.38); }
.cta:disabled { opacity: .6; }
.roll { width: 100%; font-size: 22px; padding: 19px; position: sticky; bottom: calc(var(--tabs) + 10px + var(--safe-b)); z-index: 5; }
.roll:hover .die, .roll:focus .die { display: inline-block; animation: wobble .5s ease; }
@keyframes wobble { 30% { transform: rotate(-25deg) scale(1.2); } 60% { transform: rotate(20deg); } }
@keyframes pop { from { transform: scale(0); } }

/* ---------- slot machine ---------- */
.slots-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(6,7,24,.82); backdrop-filter: blur(6px); display: grid; place-items: center; animation: fade .2s; padding: 20px; }
.slots-box { width: min(440px, 100%); background: linear-gradient(160deg, #241f6e, #12134a); border: 2px solid rgba(255,209,102,.5); border-radius: 26px; padding: 18px; box-shadow: 0 0 60px rgba(255,107,139,.35); }
.slots-title { text-align: center; font: 900 22px var(--display); margin: 0 0 12px; }
.reels { display: grid; gap: 10px; }
.reel { display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 10px; background: #0b0d2a; border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; overflow: hidden; height: 64px; }
.reel .ic { font-size: 30px; text-align: center; }
.reel .nm { font-weight: 800; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; filter: blur(1.5px); opacity: .7; }
.reel.stop { border-color: var(--moon); box-shadow: 0 0 0 2px rgba(255,209,102,.3); }
.reel.stop .nm { filter: none; opacity: 1; animation: land .3s ease; }
@keyframes land { from { transform: translateY(-14px); } }

/* ---------- result ---------- */
.back { margin: 14px 0 0; }
.title-card { position: relative; margin: 12px 0; padding: 18px; border-radius: 24px; overflow: hidden; background: linear-gradient(150deg, var(--g1, #ffd166), var(--g2, #ff6b8b)); color: #fff; box-shadow: 0 14px 40px rgba(0,0,0,.35); }
.title-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 90% at 100% 0%, rgba(255,255,255,.25), transparent 60%), linear-gradient(180deg, rgba(10,10,40,.05), rgba(10,10,40,.5)); }
.title-card > * { position: relative; }
.title-card h1 { font-size: clamp(26px, 6vw, 38px); line-height: 1.08; margin: 6px 0; text-shadow: 0 2px 10px rgba(0,0,0,.3); }
.quest-badge { display: inline-block; margin: 0; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.28); font-weight: 800; font-size: 14px; }
.title-card .kicker { color: #fff; opacity: .95; }
.blurb { font-size: 17px; margin: 4px 0 10px; }
.stats { display: flex; flex-wrap: wrap; gap: 8px; }
.stats span { background: rgba(0,0,0,.28); border-radius: 12px; padding: 6px 10px; font-weight: 800; font-size: 14px; }
.passport { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.passport span { border: 2px dashed rgba(255,255,255,.7); border-radius: 12px; padding: 4px 10px; font-weight: 900; transform: rotate(-4deg); background: rgba(0,0,0,.18); }
.passport span:nth-child(2n) { transform: rotate(3deg); }
.map-wrap { border-radius: var(--r); overflow: hidden; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 12px 34px rgba(0,0,0,.32); }
.map { height: 300px; background: #1a1f4a; }
.maplibregl-ctrl-attrib { font-size: 11px; }
.pin { margin-bottom: 6px; width: 34px; height: 34px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); display: grid; place-items: center; background: linear-gradient(135deg, var(--moon), var(--coral)); border: 2px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.4); }
.pin b { transform: rotate(45deg); color: #2a1300; font-size: 15px; }
.pin.start { background: var(--teal); width: 22px; height: 22px; border-radius: 50%; margin: 0; }
.pin.mystery { background: linear-gradient(135deg, var(--violet), var(--coral)); }
.pin.mystery b { color: #fff; }

.timeline { list-style: none; padding: 0; margin: 14px 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 25px; top: 20px; bottom: 20px; width: 2px; background: repeating-linear-gradient(to bottom, var(--line) 0 6px, transparent 6px 12px); }
.leg { margin: 0 0 0 54px; color: var(--muted); font-size: 14px; padding: 5px 0; font-weight: 600; }
.stop { position: relative; display: grid; grid-template-columns: 52px 1fr; margin: 4px 0; animation: rise .4s ease both; }
.stop .dot { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 25px; background: var(--bg2); border: 2px solid var(--moon); z-index: 1; box-shadow: 0 0 0 5px var(--bg); }
.stop .body { background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)), var(--card); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r); padding: 13px 14px; margin-left: 10px; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.stop .when { color: var(--moon); font-weight: 900; font-size: 13px; letter-spacing: .4px; text-transform: uppercase; }
.stop .role { color: var(--coral); }
.stop h3 { margin: 3px 0 2px; font-size: 21px; line-height: 1.15; }
.stop .stampbig { float: right; margin: -2px 0 4px 8px; border: 2px dashed var(--moon); color: var(--moon); border-radius: 12px; padding: 4px 8px; font-weight: 900; font-size: 13px; transform: rotate(5deg); }
.stop .meta { color: var(--muted); font-size: 14px; }
.stop .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.stop .tags li { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: rgba(62,230,196,.13); color: var(--teal); font-weight: 700; }
.stop .tags li.warn { background: rgba(255,209,102,.13); color: var(--moon); }
.side { margin: 10px 0 0; padding: 9px 11px; border-radius: 14px; background: linear-gradient(135deg, rgba(163,92,255,.22), rgba(255,107,139,.16)); border: 1px solid rgba(163,92,255,.35); font-size: 14.5px; }
.side b { color: #e6d5ff; }
.stop .btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.stop .btns button, .stop .btns a { border: 1px solid var(--line); background: rgba(255,255,255,.04); border-radius: 999px; padding: 7px 11px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--text); }
.stop .btns [aria-pressed=true] { border-color: var(--teal); background: rgba(62,230,196,.16); }
.stop .price { float: right; font: 900 17px var(--display); color: var(--text); }
.stop.closed .body { border-color: var(--err); }
.stop.hidden-stop .body { background: repeating-linear-gradient(135deg, #2a1f6e 0 14px, #241a62 14px 28px); border-color: var(--violet); text-align: center; }
.stop.hidden-stop .dot { border-color: var(--violet); }
.reveal { margin-top: 10px; border: 0; border-radius: 14px; padding: 12px 18px; font-weight: 900; font-size: 16px; color: #fff; background: linear-gradient(135deg, var(--violet), var(--coral)); }
.stop.flip .body { animation: flip .55s ease; }
@keyframes flip { 0% { transform: rotateY(90deg); } 100% { transform: none; } }
.votes { margin-top: 10px; display: grid; gap: 6px; }
.vote { display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; width: 100%; border: 1px solid var(--line); background: var(--bg2); border-radius: 12px; padding: 8px 10px; font-size: 14px; }
.vote[aria-pressed=true] { border-color: var(--moon); }
.vote .n { font-weight: 900; color: var(--moon); white-space: nowrap; }
.vote .bar { height: 4px; background: linear-gradient(90deg, var(--moon), var(--coral)); border-radius: 2px; margin-top: 4px; transition: width .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.notes { color: var(--muted); font-size: 14px; padding-left: 20px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 18px 0; }
.actions .cta { flex: 1 1 220px; }
.sticky-actions { position: sticky; bottom: calc(var(--tabs) + 8px + var(--safe-b)); z-index: 5; }
.sticky-actions .ghost { background: rgba(20,23,74,.95); }

/* ---------- explore ---------- */
.explore main, .explore { max-width: none; }
.ex-top { position: sticky; top: 57px; z-index: 8; padding: 10px 0 4px; background: linear-gradient(180deg, var(--bg) 80%, transparent); }
.ex-map-wrap { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.ex-map { height: min(56vh, 520px); background: #1a1f4a; }
.ex-count { position: absolute; left: 10px; top: 10px; margin: 0; background: rgba(11,13,42,.85); border-radius: 999px; padding: 6px 12px; font-weight: 800; font-size: 13px; }
.ex-h { font-size: 18px; margin: 16px 0 8px; }
.spots { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 8px; }
.spots li > button { display: grid; grid-template-columns: 42px 1fr auto; gap: 10px; align-items: center; width: 100%; text-align: left; border: 1px solid var(--line); background: var(--card); border-radius: 16px; padding: 10px 12px; }
.spots .ic { font-size: 24px; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--bg2); }
.spots b { display: block; font-size: 16px; }
.spots .meta { color: var(--muted); font-size: 13.5px; display: block; }
.spots .side-r { text-align: right; font-size: 13px; color: var(--muted); white-space: nowrap; }
.open-yes { color: var(--teal); font-weight: 800; }
.open-no { color: var(--err); font-weight: 800; }
.spot-head { display: flex; gap: 12px; align-items: center; }
.spot-head .ic { font-size: 34px; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--g1, #ffd166), var(--g2, #ff6b8b)); flex: none; }
.spot-head h2 { margin: 0; font-size: 22px; line-height: 1.15; }
.facts { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 6px; }
.facts li { background: var(--card); border-radius: 12px; padding: 8px 12px; font-size: 15px; }

/* ---------- sheets ---------- */
.sheet { position: fixed; inset: 0; z-index: 60; background: rgba(5,6,20,.62); display: flex; align-items: flex-end; justify-content: center; animation: fade .2s; }
.sheet-body { width: min(560px, 100%); max-height: 88vh; overflow: auto; background: var(--bg2); border-radius: 24px 24px 0 0; padding: 18px 16px calc(20px + var(--safe-b)); border: 1px solid var(--line); animation: up .25s ease; }
@media (min-width: 700px) { .sheet { align-items: center; } .sheet-body { border-radius: 24px; } }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sheet-head h2 { margin: 0; }
.x { border: 0; background: none; font-size: 20px; padding: 6px 10px; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
.city-cards { display: grid; gap: 10px; margin-top: 12px; }
.city-card { position: relative; height: 110px; border-radius: 20px; border: 2px solid transparent; overflow: hidden; text-align: left; padding: 14px; color: #fff; background: linear-gradient(160deg, var(--g1), var(--g2)); }
.city-card svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70px; opacity: .5; }
.city-card b { position: relative; font: 900 26px var(--display); display: block; }
.city-card small { position: relative; font-weight: 700; opacity: .9; }
.city-card[aria-checked=true] { border-color: #fff; }
.list { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 8px; }
.list li > button, .list li > a { display: block; width: 100%; text-align: left; border: 1px solid var(--line); background: var(--bg2); border-radius: 14px; padding: 10px 12px; text-decoration: none; color: var(--text); }
.list .meta { color: var(--muted); font-size: 14px; display: block; }
.list .row { display: flex; gap: 8px; align-items: center; }
.list .row > :first-child { flex: 1; }
.link-box { display: flex; gap: 8px; margin: 12px 0; }
.share-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.share-grid button { display: flex; align-items: center; gap: 8px; justify-content: center; border: 1px solid var(--line); background: var(--card); border-radius: 14px; padding: 12px; font-weight: 800; }
.login { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin: 10px 0; border: 0; border-radius: 14px; padding: 14px; font-weight: 800; font-size: 17px; }
.login span { font-weight: 900; font-size: 20px; width: 24px; }
.login.fb { background: #1877f2; color: #fff; }
.login.gg { background: #fff; color: #1f1f1f; }
.login.gg span { color: #4285f4; }
.login:disabled { opacity: .5; }
.guests { list-style: none; padding: 0; display: grid; gap: 6px; }
.guests li { display: flex; justify-content: space-between; gap: 8px; background: var(--bg2); border-radius: 12px; padding: 8px 12px; }
.guests .note { color: var(--muted); font-size: 14px; }
.toast { position: fixed; left: 50%; bottom: calc(var(--tabs) + 20px + var(--safe-b)); transform: translateX(-50%); background: #fff; color: #111; font-weight: 800; padding: 10px 18px; border-radius: 999px; z-index: 90; box-shadow: 0 8px 24px rgba(0,0,0,.4); max-width: 92vw; text-align: center; }
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 95; width: 100%; height: 100%; }
.foot { text-align: center; color: var(--muted); font-size: 13px; padding: 10px 16px 24px; }
.foot p { margin: 4px 0; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
@media (max-width: 420px) { .map { height: 250px; } .quests { grid-template-columns: 1fr 1fr; } .quest { min-height: 118px; } }

/* ---------- v3: spans, energy, themes mix, day tabs, photo covers ---------- */
.spans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.span { border: 1px solid var(--line); background: var(--bg2); border-radius: 16px; padding: 10px 6px; font-weight: 800; font-size: 14px; display: grid; justify-items: center; gap: 2px; }
.span .e { font-size: 24px; }
.span small { color: var(--muted); font-weight: 600; font-size: 11.5px; }
.span[aria-checked=true] { border-color: var(--moon); background: linear-gradient(135deg, rgba(255,209,102,.25), rgba(255,107,139,.22)); }
.stepper.inline { max-width: 220px; margin: 0 0 10px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 4px; margin: 6px 0 10px; }
.seg button { border: 0; background: none; border-radius: 12px; padding: 10px 4px; font-weight: 800; color: var(--muted); }
.seg button[aria-checked=true] { background: linear-gradient(135deg, var(--moon), var(--coral)); color: #2a1300; }
.mixed { font: 800 13px system-ui; color: var(--teal); margin-left: auto; }
.hint { margin: -6px 0 10px; font-size: 14px; }
.sub { font-size: 16px; margin: 16px 0 4px; color: var(--muted); }
.quest[aria-pressed=true] { filter: none; border-color: #fff; transform: translateY(-2px) scale(1.02); box-shadow: 0 10px 30px rgba(255,255,255,.18), 0 0 0 4px rgba(255,255,255,.12); }
.quest[aria-pressed=true]::before { content: "✓"; position: absolute; z-index: 2; top: 8px; right: 10px; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: #222; display: grid; place-items: center; font-weight: 900; }
.daytabs { margin: 12px 0 8px; }
.daytabs .chip { padding: 10px 14px; }
.daytabs .chip small { display: block; font-weight: 600; opacity: .8; font-size: 12px; }
.day-head { margin: 10px 0 0; font-size: 20px; }
.cover { position: relative; margin: -13px -14px 10px; height: 150px; border-radius: var(--r) var(--r) 0 0; overflow: hidden; background: linear-gradient(140deg, var(--c1, #3b2a7a), var(--c2, #ff6b8b)); display: grid; place-items: center; }
.cover .art { font-size: 64px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); transform: rotate(-6deg); }
.cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.25) 0 2px, transparent 3px) 0 0 / 26px 26px, linear-gradient(180deg, transparent 50%, rgba(10,10,40,.45)); pointer-events: none; }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.cover img.on { opacity: 1; }
.cover .credit { position: absolute; z-index: 2; right: 8px; bottom: 6px; font-size: 10.5px; color: #fff; opacity: .85; text-decoration: none; background: rgba(0,0,0,.35); padding: 1px 6px; border-radius: 6px; }
.cover .kindtag { position: absolute; z-index: 2; left: 10px; bottom: 8px; font-weight: 800; font-size: 12px; background: rgba(0,0,0,.4); color: #fff; padding: 3px 9px; border-radius: 999px; }
.stop .price, .stop .stampbig { position: relative; z-index: 3; }
.desc { font-size: 14.5px; margin: 8px 0 0; color: #dcdcf5; }
.goodfor { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.leg.free { color: var(--teal); }
.spot-cover { margin: 12px 0; height: 190px; border-radius: 18px; }

/* ---------- weather, occasions, keywords ---------- */
.wx-card { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; background: linear-gradient(135deg, rgba(77,124,255,.22), rgba(62,230,196,.12)); border: 1px solid rgba(77,124,255,.4); border-radius: 16px; padding: 10px 12px; margin: 8px 0; }
.wx-card .big { font-size: 30px; }
.wx-card b { display: block; }
.wx-card small { color: var(--muted); }
.wx-card button { border: 1px solid var(--line); background: var(--bg2); border-radius: 999px; padding: 6px 10px; font-size: 12.5px; font-weight: 700; }
.wx-card button[aria-pressed=false] { opacity: .6; }
#keywords { margin-top: 4px; }
.chips.suggest .chip { font-size: 13px; padding: 6px 10px; opacity: .85; }
#kwTags .chip { background: linear-gradient(135deg, rgba(62,230,196,.25), rgba(77,124,255,.2)); border-color: var(--teal); }
.tips summary { cursor: pointer; font-weight: 800; font-size: 17px; }
.tips ul { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.wxtag { position: absolute; z-index: 2; right: 10px; top: 8px; font-weight: 800; font-size: 13px; background: rgba(0,0,0,.45); color: #fff; padding: 3px 9px; border-radius: 999px; }
.side.party { background: linear-gradient(135deg, rgba(255,209,102,.3), rgba(255,107,139,.25)); border-color: var(--moon); }

/* ---------- ratings and comments ---------- */
.linkish { all: unset; cursor: pointer; }
.linkish:hover, .linkish:focus-visible { text-decoration: underline; }
.rate-box { background: var(--card); border-radius: 16px; padding: 12px; margin: 12px 0; }
.ratestars { display: flex; gap: 4px; margin: 8px 0; }
.ratestars button { border: 0; background: none; font-size: 32px; line-height: 1; color: #4a4f8f; padding: 0 2px; transition: transform .1s; }
.ratestars button[aria-checked=true] { color: var(--moon); text-shadow: 0 0 12px rgba(255,209,102,.6); }
.ratestars button:active { transform: scale(1.2); }
.rate-box textarea { width: 100%; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 10px; color: var(--text); font: inherit; resize: vertical; margin-bottom: 8px; }
.comments { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; font-size: 14px; }
.comments li { background: var(--bg2); border-radius: 12px; padding: 8px 10px; }
.comments b { color: var(--moon); letter-spacing: 1px; }
