/* Sip & Seek café passport: bingo card, stats, badges, celebration */
.bingo { padding: 12vh clamp(18px, 5vw, 72px) 10vh; background: var(--grain), var(--paper); text-align: center; }
.bingo-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 1fr); gap: clamp(18px, 3vw, 40px); max-width: 1120px; margin: 0 auto; text-align: left; align-items: start; }

.bingo-card { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 14px; background: var(--navy); border-radius: 24px; box-shadow: 0 18px 40px rgba(42,53,102,.25); }
.b-sq { position: relative; aspect-ratio: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 4px; padding: 9px 8px; border: 0; border-radius: 14px; background: #fff4e6; color: var(--navy); text-align: left; cursor: pointer; transition: transform .15s, box-shadow .15s, background .2s; overflow: hidden; }
.b-sq:hover, .b-sq:focus-visible { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 8px 18px rgba(0,0,0,.25); outline: none; }
.b-sq.sel { box-shadow: 0 0 0 4px #f2b24c; }
.b-label { font: 400 clamp(11px, 1.15vw, 14.5px)/1.12 var(--big); }
.b-sq small { font: 600 10.5px var(--sans); color: #6b5646; }
.b-sq.done { background: #b8452a; color: #fff4e6; }
.b-sq.done small { color: #fff4e6; }
.b-sq.done::after { content: "S&S"; position: absolute; right: -6px; bottom: -10px; font: 30px var(--script); color: rgba(255,244,230,.22); rotate: -14deg; pointer-events: none; }
.b-sq.free { align-items: center; justify-content: center; text-align: center; background: #f2b24c; color: var(--navy); }
.b-free { font: 26px/1 var(--script); text-shadow: 2px 2px 0 #fff4e6; }
.b-sq.free small { color: var(--navy); }
.b-sq.free::after { content: none; }

.bingo-side { display: grid; gap: 14px; }
.b-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.b-stat { background: #fff4e6; border-radius: 16px; padding: 12px 14px; display: grid; gap: 2px; }
.b-stat:first-child { grid-column: 1 / -1; }
.b-stat b { font: 400 30px/1 var(--big); color: var(--navy); }
.b-stat span { font-size: 13px; color: #6b5646; }
.b-bar { display: block; height: 8px; border-radius: 999px; background: #eadfd1; overflow: hidden; margin-top: 6px; }
.b-bar i { display: block; height: 100%; background: #b8452a; border-radius: 999px; transition: width .5s; }
.b-detail { background: #fff4e6; border-radius: 16px; padding: 14px 16px; min-height: 120px; }
.b-hint { font-size: 14px; color: #4b392c; }
.b-dtitle { font: 400 20px var(--big); color: var(--navy); margin-bottom: 8px; }
.b-list { list-style: none; padding: 0; display: grid; gap: 4px; max-height: 260px; overflow-y: auto; }
.b-list button { width: 100%; display: flex; align-items: baseline; gap: 8px; min-height: 36px; padding: 6px 8px; border: 0; border-radius: 10px; background: none; text-align: left; font-size: 14px; color: var(--ink); cursor: pointer; }
.b-list button:hover { background: #f7e4d4; }
.b-list b { font-weight: 600; }
.b-list span { margin-left: auto; font-size: 12px; color: #6b5646; }
.b-h3 { font: 700 12px var(--sans); letter-spacing: 2px; text-transform: uppercase; color: #b8452a; margin: 4px 0 -6px; }
.b-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.b-badge { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: #fff4e6; border: 1.5px dashed #c9b49a; color: #4b392c; }
.b-badge small { color: #6b5646; margin-left: 2px; }
.b-badge.got { background: #2a3566; border: 1.5px solid #2a3566; color: #fff4e6; }
.b-badge.got small { color: #f2b24c; }
.b-reset { justify-self: start; min-height: 36px; border: 0; background: none; color: #6b5646; text-decoration: underline; font-size: 13px; cursor: pointer; }

.b-confetti { position: fixed; inset: 0; z-index: 4000; pointer-events: none; }
.b-banner { position: fixed; left: 50%; top: 38%; z-index: 4001; transform: translate(-50%, -50%) rotate(-4deg); padding: 18px 30px; background: #fff4e6; border-radius: 22px; box-shadow: 0 20px 50px rgba(42,27,18,.3); animation: bPop .45s cubic-bezier(.2,1.4,.4,1) both; pointer-events: none; }
.b-banner-word { font: clamp(30px, 6vw, 58px)/1 var(--script); color: #b8452a; text-shadow: 3px 3px 0 #2a3566; white-space: nowrap; }
@keyframes bPop { from { transform: translate(-50%, -50%) scale(.4) rotate(-14deg); opacity: 0; } }

@media (max-width: 900px) {
  .bingo-wrap { grid-template-columns: 1fr; }
  .bingo-card { gap: 5px; padding: 8px; border-radius: 18px; }
  .b-sq { padding: 6px 5px; border-radius: 10px; }
  .b-label { font-size: clamp(9px, 2.6vw, 12px); }
  .b-sq small { font-size: 9px; }
  .b-free { font-size: 18px; }
  .b-banner-word { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { .b-banner { animation: none; } }

/* ---------- finder extras: budget, spin, weather, SkyTrain, report, sticky mobile button ---------- */
.budget { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--surface); font-size: 13px; white-space: nowrap; }
.budget input { width: 70px; accent-color: #b8452a; }
.budget output { font: 400 13px var(--display); color: #b8452a; min-width: 26px; }
.spin-btn { margin-left: auto; }
.card.spin-lit { border-color: #f2b24c; box-shadow: 0 0 0 4px rgba(242,178,76,.45); transform: scale(1.01); }
.weather { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 4px 10px; padding: 10px 14px; border-radius: 14px; background: #2a3566; color: #fff4e6; font-size: 14px; }
.weather .btn { background: #f2b24c; border-color: #f2b24c; color: #2a3566; margin-left: auto; }
.sky-line { font-size: 13px; color: var(--ink-2); }
.sky-line b { color: #2a3566; margin-right: 6px; }
.report summary { cursor: pointer; font-size: 13px; color: #6b5646; text-decoration: underline; min-height: 32px; display: flex; align-items: center; }
.report-form { display: grid; gap: 8px; margin-top: 8px; padding: 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.report-form label { display: grid; gap: 4px; font-size: 13px; color: var(--ink-2); }
.report-form select, .report-form textarea { font: inherit; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); }
.report-form .btn { justify-self: start; }
.mobile-find { display: none; }
@media (max-width: 760px) {
  .mobile-find { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 1300; display: inline-flex; align-items: center; height: 48px; padding: 0 24px; border-radius: 999px; background: #b8452a; color: #fff4e6; font-weight: 700; text-decoration: none; box-shadow: 0 10px 26px rgba(120,50,20,.35); }
  body.in-finder .mobile-find { display: none; }
  .spin-btn { margin-left: 0; }
}
.b-label { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 900px) { .b-label { font-size: clamp(8.5px, 2.35vw, 11px); line-height: 1.08; } }

/* ---------- app install ---------- */
.install-btn { height: 40px; }
.lnav .install-btn { margin-left: 6px; }
.install-sheet { width: min(440px, calc(100% - 24px)); }
.install-body { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start; padding: 18px 20px 22px; }
.install-body img { border-radius: 16px; box-shadow: 0 6px 16px rgba(120,50,20,.25); }
.install-body ol { display: grid; gap: 10px; padding-left: 18px; font-size: 15px; color: var(--ink-2); }
.share-ico { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #2a3566; color: #fff; font-size: 12px; vertical-align: -4px; }
/* installed app: no need for the "find a café" nudge on the landing */
.is-app .mobile-find { bottom: calc(16px + env(safe-area-inset-bottom)); }
.is-app .topbar { padding-top: max(10px, env(safe-area-inset-top)); }
@media (max-width: 760px) { .lnav .install-btn { height: 36px; padding: 0 12px; font-size: 13px; } }

/* keep the sticky phone button clear of Netlify's corner badge */
@media (max-width: 760px) {
  .mobile-find { left: 16px; transform: none; bottom: calc(16px + env(safe-area-inset-bottom)); }
}

/* map tools (map-extras.*): bigger tap targets and a highlight that fits the S&S pin shape */
.mx-seg button { height: 34px; padding: 0 12px; }
.mx-link { min-height: 28px; }
.pin.mx-flash { background: none !important; border-color: transparent !important; transform: none; }
.pin.mx-flash svg { transform: scale(1.5); }
.pin.mx-flash .mk-body { fill: #f2b24c; }

/* the crawl lives in the finder ("Walk a crawl"), so the map panel drops its copy; its spin stays, it is fun */
.mx-panel section:has(#mxCrawl) { display: none; }
