/* Morning-light design: white + sky, sunny gold actions, navy ink.
   Type: Bricolage Grotesque (headings), Figtree (everything else). */
:root {
  --bg: #ffffff;
  --surface: #f3f6fb;
  --panel: #ffffff;
  --sky: #e3eeff;
  --ink: #1d2340;
  --ink-2: #5b6280;
  --line: #e2e7f1;
  --sun: #ffc233;
  --sun-deep: #f5a800;
  --sun-soft: #fff4cf;
  --sun-ink: #1d2340;
  --open: #12a150;
  --open-soft: #ddf6e7;
  --closed: #e5484d;
  --closed-soft: #fde6e6;
  --berry: #ff5c8a;
  --focus: #2f6bff;
  --accent: var(--sun);
  --accent-ink: var(--sun-ink);
  --accent-soft: var(--sun-soft);
  --panel-2: var(--surface);
  --dot: #ffb000;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;
  --lift: 0 1px 2px rgba(29, 35, 64, .06), 0 8px 24px rgba(29, 35, 64, .08);
  --float: 0 10px 30px rgba(29, 35, 64, .16);
  --radius: var(--r-lg);
  --shadow: var(--lift);
  --head: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tabbar: 0px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12152a; --surface: #171b33; --panel: #1d2240; --sky: #22305a; --ink: #f2f4ff; --ink-2: #a8aec9;
    --line: #2c3256; --sun: #ffc94d; --sun-deep: #ffb21a; --sun-soft: #3a3320; --open: #3ccf7f; --open-soft: #173a29;
    --closed: #ff7a7e; --closed-soft: #3d2228; --dot: #ffc94d;
    --lift: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3); --float: 0 10px 30px rgba(0, 0, 0, .45); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #12152a; --surface: #171b33; --panel: #1d2240; --sky: #22305a; --ink: #f2f4ff; --ink-2: #a8aec9;
  --line: #2c3256; --sun: #ffc94d; --sun-deep: #ffb21a; --sun-soft: #3a3320; --open: #3ccf7f; --open-soft: #173a29;
  --closed: #ff7a7e; --closed-soft: #3d2228; --dot: #ffc94d;
  --lift: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3); --float: 0 10px 30px rgba(0, 0, 0, .45); color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, .brand { font-family: var(--head); font-weight: 700; letter-spacing: -0.02em; font-optical-sizing: auto; }
h1 { line-height: 1.08; }
a { color: var(--focus); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 100; background: var(--panel); padding: 8px 12px; border-radius: 10px; }

/* ---------- header + mobile tab bar ---------- */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 12px; height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-size: 21px; white-space: nowrap; }
.brand-logo { display: block; height: 52px; width: auto; }
@media (max-width: 880px) { .brand-logo { height: 44px; } }
.hero-badge { width: 340px; filter: drop-shadow(0 10px 18px rgba(29, 35, 64, .18)); }
.foot-badge { display: block; width: 84px; margin: 0 0 12px; }
.foot-badge img { display: block; width: 100%; height: auto; }
.brand-mark { width: 34px; height: 34px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; box-shadow: inset 0 -3px 0 var(--sun-deep); }
.brand-mark svg { width: 20px; height: 20px; }
.brand-mark svg path { fill: var(--sun-ink); stroke: var(--sun-ink); }
.brand-mark svg path[fill="none"], .brand-mark svg path:not([fill]) { fill: none; }
.top nav { margin-left: auto; display: flex; gap: 2px; align-items: center; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.top nav a:hover { background: var(--surface); }
.top nav a[aria-current="page"] { background: var(--sky); }
.top nav .nav-account { background: var(--ink); color: var(--bg); }
.top nav .nav-account:hover { background: var(--ink); opacity: .9; }

.tabbar { display: none; }
@media (max-width: 880px) {
  :root { --tabbar: 64px; --tabbar-total: calc(64px + env(safe-area-inset-bottom)); }
  .top nav { display: none; }
  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: calc(var(--tabbar) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom); background: var(--panel); border-top: 1px solid var(--line); }
  .tabbar a { flex: 1; display: grid; place-items: center; align-content: center; gap: 2px; text-decoration: none; color: var(--ink-2); font-size: 12px; font-weight: 700; }
  .tabbar a svg { width: 24px; height: 24px; }
  .tabbar a[aria-current="page"] { color: var(--ink); }
  .tabbar a[aria-current="page"] svg { background: var(--sun); border-radius: 999px; padding: 2px 14px; width: 52px; box-sizing: content-box; height: 22px; }
  body { padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom)); }
}

/* ---------- buttons, chips, pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 999px; padding: 9px 16px; min-height: 40px;
  font: 700 15px/1.2 var(--body); text-decoration: none; border: 1.5px solid var(--line); color: var(--ink); background: var(--panel); cursor: pointer; }
.btn:hover { background: var(--surface); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.primary { background: var(--sun); border-color: var(--sun); color: var(--sun-ink); box-shadow: inset 0 -2px 0 var(--sun-deep); }
.btn.primary:hover { background: var(--sun-deep); border-color: var(--sun-deep); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn.big { min-height: 52px; font-size: 17px; padding: 12px 22px; }
.btn.small { min-height: 32px; padding: 5px 12px; font-size: 13.5px; }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.danger { color: var(--closed); border-color: color-mix(in srgb, var(--closed) 35%, var(--line)); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.more { display: flex; width: 100%; margin-top: 12px; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); background: var(--panel); color: var(--ink);
  border-radius: 999px; padding: 7px 14px; font: 600 14px/1.2 var(--body); cursor: pointer; text-decoration: none; }
.chip:hover { border-color: color-mix(in srgb, var(--ink) 25%, var(--line)); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--open); }

.pill { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 3px 10px; background: var(--surface); color: var(--ink-2); white-space: nowrap; }
.pill.ok { background: var(--open-soft); color: var(--open); }
.pill.warn { background: var(--sun-soft); color: #8a5a00; }
.pill.bad { background: var(--closed-soft); color: var(--closed); }
.status { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status:empty::before { display: none; }
.status.open { color: var(--open); }
.status.closed { color: var(--closed); }
.badge-order { display: inline-flex; align-items: center; gap: 4px; background: var(--berry); color: #fff; border-radius: 999px; font-size: 12px; font-weight: 800; padding: 3px 10px; vertical-align: 2px; }
.unverified { display: inline-flex; font-size: 12.5px; font-weight: 700; color: var(--ink-2); border: 1.5px dashed var(--line); border-radius: 999px; padding: 2px 10px; }

/* shop initials avatar */
.av { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font: 700 17px/1 var(--head); color: #1d2340; letter-spacing: -0.02em; }
.av.big { width: 76px; height: 76px; font-size: 27px; }
.av.c0 { background: #ffd666; } .av.c1 { background: #a7e8c4; } .av.c2 { background: #b9d4ff; }
.av.c3 { background: #ffc2d4; } .av.c4 { background: #d9c8ff; } .av.c5 { background: #ffd2a8; }

/* ---------- home ---------- */
:root { --dock-bar: 52px; --dock-open: 42vh; }
.explore-shell { padding-bottom: calc(var(--dock-bar) + 16px); }
.explore-shell.map-open { padding-bottom: calc(var(--dock-open) + 16px); }

/* hero with the search front and center */
.hero2 { background: var(--sky); border-radius: 0 0 40px 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; padding-top: 34px; padding-bottom: 38px; }
.hero-copy { min-width: 0; }
.hero-copy h1 { font-size: clamp(36px, 6vw, 68px); line-height: 1; margin: 0 0 12px; letter-spacing: -0.035em; }
.hero-copy > p { margin: 0 0 20px; color: var(--ink-2); font-size: 18px; max-width: 46ch; }
.hero-art { width: 400px; height: auto; display: block; }
.bigsearch { display: flex; align-items: center; gap: 6px; background: var(--panel); border-radius: 999px; padding: 6px 6px 6px 18px; box-shadow: var(--float); max-width: 640px; border: 2px solid transparent; }
.bigsearch:focus-within { border-color: var(--focus); }
.bigsearch > svg { width: 22px; height: 22px; color: var(--ink-2); flex: none; }
.bigsearch input { flex: 1; min-width: 0; border: 0; background: transparent; font: 500 17px var(--body); color: var(--ink); height: 48px; outline: none; }
.bigsearch select { border: 0; background: var(--surface); border-radius: 999px; font: 600 14px var(--body); color: var(--ink); height: 44px; padding: 0 12px; width: auto; min-height: 0; max-width: 150px; }
.bigsearch .btn { min-height: 48px; padding: 0 22px; }
.mic { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.mic svg { width: 22px; height: 22px; }
.mic:hover { background: var(--sky); }
.mic.on { background: var(--closed); color: #fff; animation: micpulse 1.2s infinite; }
@keyframes micpulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--closed) 45%, transparent); } 50% { box-shadow: 0 0 0 10px transparent; } }
@media (prefers-reduced-motion: reduce) { .mic.on { animation: none; } }
.hint { margin: 12px 0 0 6px; font-size: 14px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.try { border: 0; background: color-mix(in srgb, var(--panel) 70%, transparent); color: var(--ink); border-radius: 999px; padding: 5px 12px; font: 600 13.5px var(--body); cursor: pointer; }
.try:hover { background: var(--panel); }

/* browse */
.browse { padding-top: 30px; }
.browse > h2, .rail-head h2, .results-head h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 0; }
.moods { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; margin: 14px 0 8px; }
.mood { display: grid; justify-items: center; gap: 2px; padding: 16px 8px 14px; border: 0; border-radius: var(--r-lg); background: var(--surface); cursor: pointer; color: var(--ink); font: inherit; text-align: center; transition: transform .15s; }
.mood:hover { background: var(--sun-soft); transform: translateY(-2px); }
.mood .e { font-size: 34px; line-height: 1.1; margin-bottom: 4px; }
.mood b { font-size: 15px; }
.mood .n { font-size: 12.5px; color: var(--ink-2); }
.rail { margin-top: 34px; }
.rail-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 12px; }
.rail-head p { margin: 2px 0 0; font-size: 15px; }
.rail-track { position: relative; }
.rail-list { list-style: none; margin: 0; padding: 4px 2px 12px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 23%); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail-list::-webkit-scrollbar { display: none; }
.rail-list > li { scroll-snap-align: start; }
.rail-btn { position: absolute; top: 38px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--panel); box-shadow: var(--float); font-size: 26px; line-height: 1; color: var(--ink); cursor: pointer; z-index: 2; }
.rail-btn.prev { left: -14px; }
.rail-btn.next { right: -14px; }
.hoods { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.hood { display: grid; gap: 2px; text-align: left; border: 0; border-radius: var(--r-lg); padding: 18px 16px 16px; min-height: 96px; align-content: end; cursor: pointer; color: #1d2340; font: inherit; }
.hood b { font: 700 18px/1.15 var(--head); }
.hood span { font-size: 13px; font-weight: 600; opacity: .75; }
.hood:hover { filter: brightness(1.04); transform: translateY(-2px); }
body.searching .browse { display: none; }

/* visual shop cards */
.vgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px 18px; }
.vcard { display: flex; flex-direction: column; min-width: 0; border-radius: var(--r-lg); }
.vcover { position: relative; display: block; height: 118px; border-radius: var(--r-lg); }
.vcover .av { position: absolute; left: 14px; bottom: -22px; width: 56px; height: 56px; font-size: 19px; border: 4px solid var(--bg); background: var(--panel); color: var(--ink); box-shadow: var(--lift); }
.vcover .badge-order { position: absolute; left: 10px; top: 10px; }
.heart { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--panel); box-shadow: var(--lift); display: grid; place-items: center; cursor: pointer; }
.heart svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2; }
.heart.on svg, .savebtn.on svg { fill: var(--berry); stroke: var(--berry); }
.heart:hover { transform: scale(1.06); }
.why { margin: 4px 0 0; font-size: 14px; font-weight: 700; color: #c2306a; }
.saved-rail .rail-head h2::before { content: "❤️ "; }
.dish-list { list-style: none; margin: 0; padding: 4px 2px 12px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 19%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.dish-list::-webkit-scrollbar { display: none; }
.dish-list li { scroll-snap-align: start; }
.dish { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--r-lg); background: var(--surface); color: var(--ink); text-decoration: none; height: 100%; }
.dish:hover { background: var(--sun-soft); }
.dish .de { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--panel); display: grid; place-items: center; font-size: 26px; box-shadow: var(--lift); }
.dish b { display: block; font-size: 15px; line-height: 1.25; }
.dish span span { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.vcard .vbody { padding: 30px 4px 0; display: grid; gap: 3px; }
.vcard h3 { margin: 0; font-size: 18px; line-height: 1.25; }
.vcard h3 a { color: var(--ink); text-decoration: none; }
.vcard h3 a::after { content: ""; position: absolute; inset: 0; }
.vcard { position: relative; }
.vcard h3 a:hover { text-decoration: underline; }
.vcard .meta { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 14px; color: var(--ink-2); }
.vcard .menu { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vactions { display: flex; gap: 6px; margin-top: 8px; position: relative; z-index: 1; }
.vactions .onmap { padding-left: 8px; padding-right: 10px; }
.vcard.sel .vcover { outline: 4px solid var(--sun); outline-offset: 2px; }
.vcard:hover .vcover { filter: saturate(1.15) brightness(1.02); }

/* results */
.results { padding-top: 18px; scroll-margin-top: 61px; }
.filterbar { position: sticky; top: 61px; z-index: 12; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(8px); padding: 10px 0 6px; border-bottom: 1px solid var(--line); }
.results-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; padding: 22px 0 10px; }
.count { color: var(--ink-2); font-size: 14px; font-weight: 600; margin: 4px 0 0; }
.empty { background: var(--surface); border-radius: var(--r-lg); padding: 26px 20px; text-align: center; color: var(--ink-2); grid-column: 1 / -1; }

/* the map dock */
.mapdock { position: fixed; left: 0; right: 0; bottom: var(--tabbar-total, 0px); z-index: 25; height: var(--dock-bar); background: var(--panel); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 28px rgba(29, 35, 64, .12); border-radius: 22px 22px 0 0; overflow: hidden; transition: height .3s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; }
.mapdock.open { height: var(--dock-open); }
.dockbar { flex: none; height: var(--dock-bar); display: flex; align-items: center; gap: 10px; width: 100%; padding: 0 16px; border: 0; background: transparent; font: 700 15px var(--body); color: var(--ink); cursor: pointer; text-align: left; }
.dockbar:hover { background: var(--surface); }
.dockbar .ic { width: 34px; height: 34px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; flex: none; }
.dockbar .ic svg { width: 19px; height: 19px; }
.dockbar .sub { font-weight: 500; color: var(--ink-2); font-size: 14px; }
.dockbar .chev { margin-left: auto; width: 22px; height: 22px; transition: transform .3s; }
.mapdock.open .chev { transform: rotate(180deg); }
.mapwrap { position: relative; flex: 1; min-height: 0; }
#map { position: absolute; inset: 0; background: var(--sky); }
.legend { position: absolute; left: 12px; top: 12px; z-index: 2; display: flex; gap: 12px; background: var(--panel); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; box-shadow: var(--lift); }
.legend i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
@media (prefers-reduced-motion: reduce) { .mapdock, .mood, .hood { transition: none; } }
.preview { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); width: min(440px, calc(100% - 24px)); z-index: 5; background: var(--panel);
  border-radius: var(--r-lg); box-shadow: var(--float); padding: 14px; display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; }
.preview[hidden] { display: none; }
.preview h3 { margin: 0; font-size: 18px; }
.preview .x { border: 0; background: var(--surface); width: 34px; height: 34px; border-radius: 50%; font-size: 20px; color: var(--ink-2); cursor: pointer; align-self: start; }
.preview .av { grid-row: span 2; }
.preview .actions { grid-column: 1 / -1; margin-top: 4px; }
.preview .actions .btn { flex: 1; }
.maplibregl-ctrl-group { border-radius: 14px !important; box-shadow: var(--lift) !important; overflow: hidden; }
.maplibregl-ctrl-attrib { font-size: 11px; }
body.home footer { padding-bottom: calc(var(--dock-bar) + 30px); }

/* older list cards (area pages) */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px 18px; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.card { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 14px 12px; border-radius: var(--r-md); border: 2px solid transparent; align-content: start; }
.card:hover { background: var(--surface); }
.card .av { grid-row: span 3; }
.card h3 { margin: 0; font-size: 18px; line-height: 1.25; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card .meta { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: 14px; color: var(--ink-2); }
.menu { font-size: 14px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

@media (max-width: 880px) {
  :root { --dock-open: 46vh; }
  .hero2 { border-radius: 0 0 28px 28px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-top: 20px; padding-bottom: 24px; gap: 16px; }
  .hero-art { width: 100%; max-width: 360px; order: -1; margin: 0 auto; }
  .hero-copy > p { font-size: 16px; }
  .bigsearch { flex-wrap: wrap; border-radius: 26px; padding: 8px 8px 8px 16px; }
  .bigsearch input { flex-basis: calc(100% - 90px); }
  .bigsearch select { flex: 1 1 0; min-width: 0; max-width: none; }
  .bigsearch .btn { flex: none; }
  .moods { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .mood { padding: 12px 6px 10px; }
  .mood .e { font-size: 28px; }
  .rail-list { grid-auto-columns: 78%; }
  .dish-list { grid-auto-columns: 72%; }
  .rail-btn { display: none; }
  .hoods { grid-template-columns: repeat(2, 1fr); }
  .vgrid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .preview { width: calc(100% - 20px); bottom: 10px; }
}

/* ---------- shop page ---------- */
.crumbs { font-size: 14px; color: var(--ink-2); padding-top: 18px; }
.crumbs a { color: var(--ink-2); }
.cover { height: 170px; border-radius: var(--r-lg); overflow: hidden; margin-top: 14px; background: var(--sky); }
.cover svg, .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-hero { display: grid; grid-template-columns: auto 1fr; gap: 16px 18px; align-items: start; padding: 0 0 6px 0; margin-top: -48px; position: relative; }
.shop-hero > div { padding-top: 52px; }
.shop-hero .av.big { margin-left: 22px; border: 5px solid var(--bg); width: 96px; height: 96px; font-size: 32px; }
.shop-hero h1 { font-size: clamp(30px, 5vw, 46px); margin: 0; }
.shop-hero .meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 6px; color: var(--ink-2); }
.addr { margin: 4px 0 0; color: var(--ink-2); }
.quick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 16px 0 6px; max-width: 640px; }
.quick .savebtn svg { fill: none; stroke: currentColor; stroke-width: 2; }
.quick a, .quick button { display: grid; justify-items: center; gap: 6px; padding: 12px 6px; border-radius: var(--r-md); background: var(--surface); color: var(--ink);
  text-decoration: none; font: 700 13.5px var(--body); border: 0; cursor: pointer; }
.quick a:hover, .quick button:hover { background: var(--sky); }
.quick svg { width: 24px; height: 24px; }
.ordercta { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin: 16px 0 4px; }
.ordercta .muted { font-size: 14px; }
.shop { display: grid; grid-template-columns: 1fr 360px; gap: 22px; padding: 10px 0 40px; }
.panel { background: var(--panel); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; }
.panel + .panel { margin-top: 14px; }
.panel h2 { font-size: 21px; margin: 0 0 10px; }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours td { padding: 7px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours tr:last-child td { border-bottom: 0; }
.hours td:last-child { text-align: right; }
.hours tr.today td { font-weight: 800; }
.hours tr.today td:first-child::after { content: " today"; font-weight: 600; color: var(--ink-2); font-size: 13px; }
.minimap { height: 230px; border-radius: var(--r-md); overflow: hidden; position: relative; background: var(--sky); }
.nearby { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.nearby li { display: grid; grid-template-columns: auto 1fr; gap: 0 12px; align-items: center; }
.nearby .av { width: 40px; height: 40px; font-size: 14px; grid-row: span 2; }
.nearby a { font-weight: 700; color: var(--ink); text-decoration: none; }
.nearby a:hover { text-decoration: underline; }
.nearby .meta { font-size: 13px; color: var(--ink-2); }
.claim { background: var(--sky); border-color: transparent; }
.note { font-size: 13.5px; color: var(--ink-2); }
.meta { color: var(--ink-2); font-size: 14px; }
.area-list { columns: 3 220px; padding: 0; list-style: none; }
.area-list li { break-inside: avoid; padding: 5px 0; }
.area-list a { font-weight: 600; color: var(--ink); }

@media (max-width: 880px) {
  .shop { grid-template-columns: 1fr; }
  .cover { height: 120px; }
  .shop-hero { margin-top: -36px; gap: 12px; }
  .shop-hero > div { padding-top: 40px; }
  .shop-hero .av.big { width: 76px; height: 76px; font-size: 26px; margin-left: 14px; }

}

/* ---------- generic page bits ---------- */
.hero { padding: 26px 0 12px; }
.hero h1 { font-size: clamp(30px, 4.5vw, 44px); margin: 0 0 6px; }
.hero p { margin: 0; color: var(--ink-2); font-size: 17px; }
.legal h2 { font-size: 18px; margin: 20px 0 6px; }
.legal p, .legal li { max-width: 72ch; }

footer { border-top: 1px solid var(--line); color: var(--ink-2); font-size: 13.5px; padding: 22px 0 40px; background: var(--surface); }
footer p { margin: 0 0 8px; max-width: 90ch; }
footer a { color: var(--ink-2); }

/* ---------- forms, modals, toasts ---------- */
.stack { display: grid; gap: 12px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.grow { flex: 1 1 auto; }
label { display: grid; gap: 5px; font-weight: 600; font-size: 14.5px; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
label.check input { margin-top: 2px; width: 20px; height: 20px; flex: none; accent-color: var(--ink); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=time], input[type=date], input[type=search]:not(#q), input:not([type]), select, textarea {
  font: 500 16px var(--body); color: var(--ink); background: var(--panel); border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; min-height: 46px; width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--focus); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 20%, transparent); }
textarea { min-height: 90px; resize: vertical; }
.muted { color: var(--ink-2); }
.center { text-align: center; }
.page { padding-top: 20px; padding-bottom: 48px; }
.narrow { max-width: 640px; }
.noscroll { overflow: hidden; }

.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar) + 24px); transform: translate(-50%, 20px); opacity: 0; z-index: 100; background: var(--ink); color: var(--bg);
  padding: 12px 20px; border-radius: 999px; font-weight: 700; box-shadow: var(--float); transition: all .25s; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { background: var(--closed); color: #fff; }

.modal-wrap { position: fixed; inset: 0; z-index: 60; background: rgba(18, 21, 42, .45); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.modal { position: relative; background: var(--panel); border-radius: 26px; padding: 24px; width: min(500px, 100%); box-shadow: var(--float); max-height: calc(100vh - 32px); overflow-y: auto; }
.modal h2 { margin: 0 0 6px; font-size: 24px; padding-right: 40px; }
.modal-x { position: absolute; right: 12px; top: 12px; border: 0; background: var(--surface); font-size: 22px; color: var(--ink-2); cursor: pointer; width: 38px; height: 38px; border-radius: 50%; }
@media (max-width: 600px) {
  .modal-wrap { place-items: end stretch; padding: 0; }
  .modal { width: 100%; border-radius: 26px 26px 0 0; max-height: 92vh; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}

/* ---------- menus ---------- */
.menu-cat { margin-top: 22px; scroll-margin-top: 130px; }
.menu-cat h3 { font-size: 21px; margin: 0 0 10px; display: flex; gap: 10px; align-items: center; }
.menu-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.mi { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-md);
  background: var(--panel); text-align: left; width: 100%; font: inherit; color: inherit; }
button.mi { cursor: pointer; padding-right: 58px; min-height: 84px; align-content: start; }
button.mi:hover { border-color: var(--ink); }
button.mi::after { content: "+"; position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%; background: var(--sun);
  display: grid; place-items: center; font: 700 22px/1 var(--body); color: var(--sun-ink); }
button.mi:disabled::after { display: none; }
.mi .n { font-weight: 700; }
.mi .p { font-weight: 700; white-space: nowrap; }
.mi .d { grid-column: 1 / -1; color: var(--ink-2); font-size: 14px; }
.mi .t { grid-column: 1 / -1; display: flex; gap: 4px; flex-wrap: wrap; }
.mi.out { opacity: .5; }
.mi img { grid-row: span 2; width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.menunav { position: sticky; top: 61px; z-index: 15; background: var(--bg); padding: 10px 0 8px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; border-bottom: 1px solid var(--line); }

.optgroup { border: 0; padding: 0; margin: 0 0 14px; }
.optgroup legend { font-weight: 700; margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }
.opt { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--r-md); margin-bottom: 7px; cursor: pointer; font-weight: 600; }
.opt:has(input:checked) { border-color: var(--ink); background: var(--surface); }
.opt input { width: 20px; height: 20px; accent-color: var(--ink); }
.opt .grow { flex: 1; }
.qty { display: inline-flex; align-items: center; background: var(--surface); border-radius: 999px; overflow: hidden; }
.qty button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 22px; font-weight: 700; color: var(--ink); cursor: pointer; }
.qty span { min-width: 30px; text-align: center; font-weight: 800; }

/* ---------- order page ---------- */
.orderhead { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; padding: 6px 0 4px; }
.orderhead h1 { margin: 0; font-size: clamp(26px, 4vw, 36px); }
.orderlayout { display: grid; grid-template-columns: 1fr 390px; gap: 24px; align-items: start; }
.cart { position: sticky; top: 76px; max-height: calc(100vh - 92px); overflow-y: auto; }
.cart h2 { margin-bottom: 4px; }
.cart ul { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.cart li { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.cart li .o { grid-column: 1 / -1; color: var(--ink-2); font-size: 13.5px; }
.step { border-top: 1px solid var(--line); padding-top: 14px; }
.step > b { display: block; font-family: var(--head); font-size: 17px; margin-bottom: 8px; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 5px; font-size: 15px; margin: 4px 0; }
.totals .grand { font-weight: 800; font-size: 19px; font-family: var(--head); }
.tips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.tips button { border: 1.5px solid var(--line); background: var(--panel); border-radius: var(--r-md); padding: 9px 4px; font: 700 15px var(--body); cursor: pointer; color: var(--ink); }
.tips button small { display: block; font-weight: 500; color: var(--ink-2); font-size: 12px; }
.tips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.tips button[aria-pressed="true"] small { color: var(--bg); opacity: .8; }
.tips button.rec:not([aria-pressed="true"]) { border-color: var(--sun); background: var(--sun-soft); }
#card-container { min-height: 90px; }
.mobilecart { display: none; }
@media (max-width: 880px) {
  .orderlayout { grid-template-columns: 1fr; }
  .cart { position: static; max-height: none; }
  .mobilecart { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(var(--tabbar) + env(safe-area-inset-bottom) + 10px); z-index: 30; box-shadow: var(--float); }
  .menu-items { grid-template-columns: 1fr; }
}

/* ---------- order status ---------- */
.steps { display: flex; gap: 6px; margin: 14px 0; }
.steps span { flex: 1; height: 10px; border-radius: 99px; background: var(--surface); }
.steps span.on { background: var(--sun); }
.chat { display: grid; gap: 8px; max-height: 380px; overflow-y: auto; padding: 4px; }
.msg { max-width: 85%; padding: 9px 14px; border-radius: 18px; background: var(--surface); font-size: 15px; }
.msg.me { justify-self: end; background: var(--ink); color: var(--bg); }
.msg.system { justify-self: center; background: transparent; color: var(--ink-2); font-size: 13.5px; text-align: center; padding: 2px 8px; }
.msg time { display: block; font-size: 11.5px; opacity: .7; margin-top: 2px; }
.banner { background: var(--sun-soft); border-radius: var(--r-md); padding: 13px 16px; margin: 10px 0; font-weight: 600; }
.banner.bad { background: var(--closed-soft); color: var(--ink); }

/* ---------- dashboard + admin ---------- */
.tabs { display: flex; gap: 6px; overflow-x: auto; padding: 6px 0 14px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; border: 1.5px solid var(--line); background: var(--panel); color: var(--ink); border-radius: 999px; padding: 8px 16px; font: 700 14.5px var(--body); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ocards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.ocard { background: var(--panel); border: 2px solid var(--line); border-radius: var(--r-lg); padding: 16px; display: grid; gap: 9px; }
.ocard.new { border-color: var(--sun); box-shadow: 0 0 0 4px var(--sun-soft); animation: pulse 1.6s infinite; }
.ocard.late { border-color: var(--closed); }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px var(--sun-soft); } }
@media (prefers-reduced-motion: reduce) { .ocard.new { animation: none; } * { transition: none !important; } }
.ocard h3 { margin: 0; font-size: 20px; display: flex; justify-content: space-between; gap: 8px; }
.ocard ul { margin: 0; padding-left: 18px; }
.ocard .opts { color: var(--ink-2); font-size: 14px; }
.colhead { font: 700 16px var(--head); color: var(--ink); margin: 22px 0 10px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.stat { background: var(--surface); border-radius: var(--r-md); padding: 14px 16px; font-size: 14px; color: var(--ink-2); }
.stat b { display: block; font-size: 28px; font-family: var(--head); color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
table.list { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.list th, table.list td { text-align: left; padding: 10px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.editrow { display: grid; grid-template-columns: 1fr 120px; gap: 8px; }
.qr { width: 220px; height: 220px; background: #fff; padding: 10px; border-radius: 12px; }
@media (max-width: 880px) { .editrow { grid-template-columns: 1fr; } }

/* map popup (kept for compatibility) */
.maplibregl-popup-content { background: var(--panel); color: var(--ink); border-radius: 16px; padding: 12px 14px; box-shadow: var(--float); font: 14px/1.4 var(--body); }
.maplibregl-popup-tip { border-top-color: var(--panel) !important; border-bottom-color: var(--panel) !important; }

.empty-art { width: 110px; height: auto; display: block; margin: 0 auto 8px; }

/* ---------- easy menu updates (dashboard) ---------- */
.freshness { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: var(--open-soft); border-radius: var(--r-md); padding: 10px 14px; margin: 10px 0; font-weight: 600; }
.freshness.stale { background: var(--sun-soft); }
.pricebtn { font: inherit; font-variant-numeric: tabular-nums; background: none; border: 1px dashed var(--line); border-radius: var(--r-sm); padding: 4px 8px; cursor: pointer; color: var(--ink); min-width: 64px; text-align: right; }
.pricebtn:hover { border-color: var(--ink-2); background: var(--surface); }
.pricebtn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.priceinput { width: 72px; font: inherit; text-align: right; border: 0; background: transparent; padding: 0; }
.or { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.note.confirmed { color: var(--open); font-weight: 600; }

/* ---------- seasonal + beans & merch sections ---------- */
.menu-cat.k-seasonal, .panel.k-seasonal { background: linear-gradient(180deg, #fff1e3, #fff8f0); border-radius: var(--r-md); padding: 12px 14px; }
.menu-cat.k-seasonal h3 { color: #b4520a; }
.menu-cat.k-retail { border-top: 2px dashed var(--line); padding-top: 12px; }
.panel.k-retail { background: var(--sky); }
.mi .until, .until { color: #b4520a; font-weight: 600; font-size: 12.5px; }
tr.dim td { opacity: .55; }
td.acts { white-space: nowrap; }
td.acts .btn + .btn { margin-left: 6px; }

/* ---------- rewards, usual, popular ---------- */
.stamps { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.stamp { width: 30px; height: 30px; border-radius: 50%; border: 2px dashed var(--line); display: grid; place-items: center; font-size: 15px; background: var(--panel); }
.stamp.on { border: 2px solid var(--sun-deep); background: var(--sun-soft); }
.reward-use { background: var(--sun-soft); border-radius: var(--r-sm); padding: 8px 10px; font-weight: 700; }
.totals .reward-line { color: var(--open); font-weight: 700; }
.usual { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--sun-soft); border-radius: var(--r-md); padding: 12px 14px; margin-bottom: 12px; }
.usual > div { display: grid; gap: 2px; min-width: 0; }
.pill.pop { background: #ffe1ea; color: #c2185b; font-size: 11px; vertical-align: middle; }
.statgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.statgrid div { background: var(--surface); border-radius: var(--r-md); padding: 12px; display: grid; gap: 2px; }
.statgrid b { font: 800 26px var(--head); font-variant-numeric: tabular-nums; }
.statgrid span { color: var(--ink-2); font-size: 13px; }
.ready { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--open); background: var(--open-soft); border-radius: 99px; padding: 2px 8px; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--focus); text-decoration: underline; cursor: pointer; }
.linkbtn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.tablewrap { overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
table.compare th, table.compare td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.compare thead th { font-family: var(--head); font-size: 15px; }
table.compare thead th:nth-child(2), table.compare td:nth-child(2) { background: var(--sun-soft); }
table.compare tbody th { font-weight: 600; color: var(--ink-2); width: 30%; }

/* ================= joy + simplicity pass ================= */
.greet { margin: 0 0 6px; font-weight: 800; font-size: 15px; color: #d6336c; letter-spacing: .01em; }
.mood.surprise { background: linear-gradient(135deg, #ffe08a, #ffc2d6); }
.mood.surprise:hover { background: linear-gradient(135deg, #ffd25c, #ffadc8); }
.eyebrow { margin: 0; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 800; color: #d6336c; }

/* surprise me */
.spin-ov { position: fixed; inset: 0; z-index: 150; background: rgba(29, 35, 64, .45); display: grid; place-items: center; padding: 16px; animation: fadein .2s; }
.spin-card { position: relative; width: min(380px, 100%); background: var(--panel); border-radius: 28px; padding: 26px 22px 22px; text-align: center; box-shadow: var(--float); animation: rise .35s cubic-bezier(.2, .9, .3, 1.2); display: grid; gap: 6px; justify-items: center; }
.spin-card h2 { margin: 0; font-size: 26px; }
.spin-card p { margin: 0; }
.spin-card .av { width: 68px; height: 68px; font-size: 24px; margin: 6px 0 2px; }
.spin-card .menu { -webkit-line-clamp: 2; }
.spin-actions { width: 100%; margin-top: 10px; }
.spin-cup { font-size: 68px; line-height: 1; animation: spincup .9s cubic-bezier(.5, 0, .3, 1); }
.spin-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--surface); font-size: 22px; color: var(--ink-2); cursor: pointer; }
@keyframes spincup { 0% { transform: rotate(0) scale(.6); } 60% { transform: rotate(600deg) scale(1.15); } 100% { transform: rotate(720deg) scale(1); } }
@keyframes rise { from { transform: translateY(18px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fadein { from { opacity: 0; } }

/* confetti */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 200; overflow: hidden; }
.confetti i { position: absolute; top: -14px; width: 9px; height: 14px; border-radius: 2px; animation-name: fall; animation-timing-function: cubic-bezier(.25, .6, .4, 1); animation-fill-mode: forwards; }
@keyframes fall { to { transform: translate(var(--dx), 108vh) rotate(var(--r)); } }

/* little celebrations */
.heart.pop svg, [data-save].pop svg { animation: pop .45s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 70% { transform: scale(.9); } 100% { transform: scale(1); } }
.bump { animation: bump .4s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes bump { 40% { transform: scale(1.08); } }
.stamp.on { animation: stampin .4s cubic-bezier(.2, .9, .3, 1.5) backwards; }
@keyframes stampin { from { transform: scale(0) rotate(-30deg); } }
.banner.celebrate { background: linear-gradient(90deg, #fff1b8, #ffd9e6); font-size: 17px; animation: rise .45s; }

/* sticky actions on shop pages (phones) */
.stickybar { display: none; }
.stickybar .btn svg { width: 22px; height: 22px; }
.savebtn-mini svg { fill: none; stroke: currentColor; stroke-width: 2; }
.savebtn-mini.on svg { fill: var(--berry); stroke: var(--berry); }

@media (max-width: 880px) {
  /* home: greeting and search first, small art in the corner */
  .hero-grid { position: relative; padding-top: 18px; padding-bottom: 20px; }
  .hero-art { position: absolute; top: 8px; right: 0; width: 116px; max-width: none; margin: 0; order: 0; }
  .greet, .hero-copy h1 { padding-right: 112px; }
  .hero-copy h1 { font-size: 33px; margin-bottom: 8px; }
  .hero-copy > p { font-size: 15px; margin-bottom: 14px; }
  .hint { white-space: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; }
  .hint::-webkit-scrollbar { display: none; }
  .browse > h2 { margin-top: 4px; }

  /* cravings: one swipeable row of emoji bubbles */
  .moods { display: flex; overflow-x: auto; gap: 10px; margin: 12px -16px 4px; padding: 2px 16px 8px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .moods::-webkit-scrollbar { display: none; }
  .mood { flex: 0 0 86px; padding: 12px 4px 10px; border-radius: 22px; scroll-snap-align: start; }
  .mood .e { font-size: 30px; margin-bottom: 2px; }
  .mood b { font-size: 13px; line-height: 1.2; }
  .mood .n { display: none; }

  /* compact cards */
  .rail { margin-top: 26px; }
  .rail-list { grid-auto-columns: 66%; gap: 12px; }
  .vcover { height: 84px; }
  .vcover .av { width: 44px; height: 44px; font-size: 15px; bottom: -18px; left: 12px; border-width: 3px; }
  .vcard .vbody { padding-top: 24px; gap: 2px; }
  .vcard h3 { font-size: 16px; }
  .vcard .meta { font-size: 13px; }
  .vcard .menu, .vcard .why { -webkit-line-clamp: 1; font-size: 13px; }
  .vactions .onmap { display: none; }
  .vactions:not(:has(a)) { display: none; }

  /* map: a floating pill above the tab bar instead of a second bar */
  .mapdock:not(.open) { left: 50%; right: auto; transform: translateX(-50%); width: auto; height: 46px; bottom: calc(var(--tabbar-total, 0px) + 12px);
    border: 0; border-radius: 999px; background: var(--ink); box-shadow: 0 8px 24px rgba(29, 35, 64, .35); }
  .mapdock:not(.open) .dockbar { height: 46px; padding: 0 18px 0 8px; color: #fff; gap: 8px; }
  .mapdock:not(.open) .dockbar:hover { background: transparent; }
  .mapdock:not(.open) .dockbar .ic { width: 30px; height: 30px; }
  .mapdock:not(.open) .dockbar .sub, .mapdock:not(.open) .chev { display: none; }
  body.home footer { padding-bottom: 90px; }

  .stickybar { display: flex; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: calc(var(--tabbar) + env(safe-area-inset-bottom) + 10px); z-index: 25; }
  .stickybar .btn { box-shadow: var(--float); }
  .stickybar .btn:not(.grow) { width: 54px; padding: 0; justify-content: center; flex: none; background: var(--panel); }
  .stickybar .grow { flex: 1; }
  main:has(.stickybar) { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .spin-ov, .spin-card, .spin-cup, .heart.pop svg, [data-save].pop svg, .bump, .stamp.on, .banner.celebrate { animation: none !important; }
}
.hero-copy .short { display: none; }
@media (max-width: 880px) {
  .hero-copy .long { display: none; }
  .hero-copy .short { display: inline; font-weight: 600; }
  /* one simple search pill: results update as you type */
  .bigsearch { flex-wrap: nowrap; border-radius: 999px; padding: 6px 6px 6px 16px; }
  .bigsearch input { flex: 1 1 auto; min-width: 0; }
  .bigsearch select, .bigsearch #go { display: none; }
  .hint { margin-top: 10px; }
}
.rail-head .btn { white-space: nowrap; }

/* ---------- neighborhoods page ---------- */
.featured-hoods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.featured-hoods .chip { text-decoration: none; }
.region { margin-top: 30px; }
.region h2 { font-size: 22px; margin: 0 0 12px; display: flex; align-items: baseline; gap: 10px; }
.hoodgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.hoodcard { display: grid; gap: 2px; align-content: start; padding: 16px 16px 14px; border-radius: var(--r-lg); color: var(--ink); text-decoration: none; min-height: 96px; transition: transform .15s; }
.hoodcard:hover { transform: translateY(-2px); }
.hoodcard b { font: 800 18px var(--head); line-height: 1.2; }
.hoodcard span { font-size: 14px; font-weight: 600; }
.hoodcard small { font-size: 12.5px; color: var(--ink-2); margin-top: 4px; }
@media (max-width: 560px) { .hoodgrid { grid-template-columns: 1fr 1fr; gap: 10px; } .hoodcard { padding: 12px; min-height: 84px; } .hoodcard b { font-size: 15.5px; } .hoodcard small { display: none; } }
@media (prefers-reduced-motion: reduce) { .hoodcard { transition: none; } }
/* flat, bright tiles so names stay easy to read */
.tint0 { background: #ffe08a; } .tint1 { background: #b9f0d2; } .tint2 { background: #c9dcff; }
.tint3 { background: #ffd1e1; } .tint4 { background: #e3d6ff; } .tint5 { background: #ffd9b8; }
@media (max-width: 880px) {
  .hoods { display: flex; overflow-x: auto; gap: 10px; margin: 0 -16px; padding: 2px 16px 8px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .hoods::-webkit-scrollbar { display: none; }
  .hoods .hood { flex: 0 0 150px; min-height: 84px; padding: 12px; scroll-snap-align: start; }
  .hoods .hood b { font-size: 15.5px; }
}

/* simple data table (dashboard) */
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th { text-align: left; font-weight: 700; color: var(--ink-2); font-size: 12.5px; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 7px 8px; border-bottom: 1px solid var(--line); }
.tbl th:not(:first-child), .tbl td:not(:first-child) { text-align: right; width: 70px; }

/* generated card covers */
.cov.c0{background:#ffd666 url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22150%22%20height%3D%22100%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%231d2340%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20opacity%3D%22.2%22%3E%3Cpath%20d%3D%22M18%2030h30v14c0%209-7%2015-15%2015s-15-6-15-15z%22%2F%3E%3Cpath%20d%3D%22M48%2034h4c5%200%207%203%207%206s-2%206-7%206h-4%22%2F%3E%3Cpath%20d%3D%22M28%2022c-3-4%203-6%200-10M38%2022c-3-4%203-6%200-10%22%2F%3E%3Cellipse%20cx%3D%22104%22%20cy%3D%2228%22%20rx%3D%229%22%20ry%3D%226%22%20transform%3D%22rotate(-25%20104%2028)%22%2F%3E%3Cpath%20d%3D%22M98%2030c4-1%208-3%2011-6%22%2F%3E%3Cpath%20d%3D%22M88%2074l2%206%206%202-6%202-2%206-2-6-6-2%206-2z%22%2F%3E%3Cpath%20d%3D%22M126%2062h18l-3%2026h-12z%22%2F%3E%3Cpath%20d%3D%22M137%2062l5-12h4%22%2F%3E%3Ccircle%20cx%3D%2240%22%20cy%3D%2284%22%20r%3D%223%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") 0 0/120px 80px repeat}
.cov.c1{background:#a7e8c4 url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22150%22%20height%3D%22100%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%231d2340%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20opacity%3D%22.2%22%3E%3Cpath%20d%3D%22M18%2030h30v14c0%209-7%2015-15%2015s-15-6-15-15z%22%2F%3E%3Cpath%20d%3D%22M48%2034h4c5%200%207%203%207%206s-2%206-7%206h-4%22%2F%3E%3Cpath%20d%3D%22M28%2022c-3-4%203-6%200-10M38%2022c-3-4%203-6%200-10%22%2F%3E%3Cellipse%20cx%3D%22104%22%20cy%3D%2228%22%20rx%3D%229%22%20ry%3D%226%22%20transform%3D%22rotate(-25%20104%2028)%22%2F%3E%3Cpath%20d%3D%22M98%2030c4-1%208-3%2011-6%22%2F%3E%3Cpath%20d%3D%22M88%2074l2%206%206%202-6%202-2%206-2-6-6-2%206-2z%22%2F%3E%3Cpath%20d%3D%22M126%2062h18l-3%2026h-12z%22%2F%3E%3Cpath%20d%3D%22M137%2062l5-12h4%22%2F%3E%3Ccircle%20cx%3D%2240%22%20cy%3D%2284%22%20r%3D%223%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") 0 0/120px 80px repeat}
.cov.c2{background:#b9d4ff url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22150%22%20height%3D%22100%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%231d2340%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20opacity%3D%22.2%22%3E%3Cpath%20d%3D%22M18%2030h30v14c0%209-7%2015-15%2015s-15-6-15-15z%22%2F%3E%3Cpath%20d%3D%22M48%2034h4c5%200%207%203%207%206s-2%206-7%206h-4%22%2F%3E%3Cpath%20d%3D%22M28%2022c-3-4%203-6%200-10M38%2022c-3-4%203-6%200-10%22%2F%3E%3Cellipse%20cx%3D%22104%22%20cy%3D%2228%22%20rx%3D%229%22%20ry%3D%226%22%20transform%3D%22rotate(-25%20104%2028)%22%2F%3E%3Cpath%20d%3D%22M98%2030c4-1%208-3%2011-6%22%2F%3E%3Cpath%20d%3D%22M88%2074l2%206%206%202-6%202-2%206-2-6-6-2%206-2z%22%2F%3E%3Cpath%20d%3D%22M126%2062h18l-3%2026h-12z%22%2F%3E%3Cpath%20d%3D%22M137%2062l5-12h4%22%2F%3E%3Ccircle%20cx%3D%2240%22%20cy%3D%2284%22%20r%3D%223%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") 0 0/120px 80px repeat}
.cov.c3{background:#ffc2d4 url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22150%22%20height%3D%22100%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%231d2340%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20opacity%3D%22.2%22%3E%3Cpath%20d%3D%22M18%2030h30v14c0%209-7%2015-15%2015s-15-6-15-15z%22%2F%3E%3Cpath%20d%3D%22M48%2034h4c5%200%207%203%207%206s-2%206-7%206h-4%22%2F%3E%3Cpath%20d%3D%22M28%2022c-3-4%203-6%200-10M38%2022c-3-4%203-6%200-10%22%2F%3E%3Cellipse%20cx%3D%22104%22%20cy%3D%2228%22%20rx%3D%229%22%20ry%3D%226%22%20transform%3D%22rotate(-25%20104%2028)%22%2F%3E%3Cpath%20d%3D%22M98%2030c4-1%208-3%2011-6%22%2F%3E%3Cpath%20d%3D%22M88%2074l2%206%206%202-6%202-2%206-2-6-6-2%206-2z%22%2F%3E%3Cpath%20d%3D%22M126%2062h18l-3%2026h-12z%22%2F%3E%3Cpath%20d%3D%22M137%2062l5-12h4%22%2F%3E%3Ccircle%20cx%3D%2240%22%20cy%3D%2284%22%20r%3D%223%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") 0 0/120px 80px repeat}
.cov.c4{background:#d9c8ff url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22150%22%20height%3D%22100%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%231d2340%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20opacity%3D%22.2%22%3E%3Cpath%20d%3D%22M18%2030h30v14c0%209-7%2015-15%2015s-15-6-15-15z%22%2F%3E%3Cpath%20d%3D%22M48%2034h4c5%200%207%203%207%206s-2%206-7%206h-4%22%2F%3E%3Cpath%20d%3D%22M28%2022c-3-4%203-6%200-10M38%2022c-3-4%203-6%200-10%22%2F%3E%3Cellipse%20cx%3D%22104%22%20cy%3D%2228%22%20rx%3D%229%22%20ry%3D%226%22%20transform%3D%22rotate(-25%20104%2028)%22%2F%3E%3Cpath%20d%3D%22M98%2030c4-1%208-3%2011-6%22%2F%3E%3Cpath%20d%3D%22M88%2074l2%206%206%202-6%202-2%206-2-6-6-2%206-2z%22%2F%3E%3Cpath%20d%3D%22M126%2062h18l-3%2026h-12z%22%2F%3E%3Cpath%20d%3D%22M137%2062l5-12h4%22%2F%3E%3Ccircle%20cx%3D%2240%22%20cy%3D%2284%22%20r%3D%223%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") 0 0/120px 80px repeat}
.cov.c5{background:#ffd2a8 url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22150%22%20height%3D%22100%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%231d2340%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20opacity%3D%22.2%22%3E%3Cpath%20d%3D%22M18%2030h30v14c0%209-7%2015-15%2015s-15-6-15-15z%22%2F%3E%3Cpath%20d%3D%22M48%2034h4c5%200%207%203%207%206s-2%206-7%206h-4%22%2F%3E%3Cpath%20d%3D%22M28%2022c-3-4%203-6%200-10M38%2022c-3-4%203-6%200-10%22%2F%3E%3Cellipse%20cx%3D%22104%22%20cy%3D%2228%22%20rx%3D%229%22%20ry%3D%226%22%20transform%3D%22rotate(-25%20104%2028)%22%2F%3E%3Cpath%20d%3D%22M98%2030c4-1%208-3%2011-6%22%2F%3E%3Cpath%20d%3D%22M88%2074l2%206%206%202-6%202-2%206-2-6-6-2%206-2z%22%2F%3E%3Cpath%20d%3D%22M126%2062h18l-3%2026h-12z%22%2F%3E%3Cpath%20d%3D%22M137%2062l5-12h4%22%2F%3E%3Ccircle%20cx%3D%2240%22%20cy%3D%2284%22%20r%3D%223%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") 0 0/120px 80px repeat}
