@font-face {
  font-family: Nunito;
  src: url(/vendor/nunito.woff2) format('woff2');
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --leaf: #0b7f52;        /* halal certified */
  --leaf-soft: #e0f5eb;
  --mango: #ffb020;       /* muslim-owned */
  --mango-soft: #fff1d6;
  --mango-ink: #6b4300;
  --grape: #7b3fe4;       /* something is flagged */
  --stone: #9aa9a2;       /* newly pinned, not confirmed yet */
  --melon: #db2c49;       /* the one action colour */
  --melon-soft: #ffe8ec;
  --ink: #1e2a26;
  --muted: #5a6963;
  --line: #e2ebe6;
  --mist: #f3f8f5;
  --shadow: 0 4px 18px rgb(20 50 38 / .16);
  --dock: 70px;
  --r: 18px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; margin: 0; overflow: hidden; overscroll-behavior: none; }
body, button, input, textarea, select { font: 600 16px/1.4 Nunito, system-ui, sans-serif; color: var(--ink); }
body { background: var(--mist); }
button { border: 0; background: none; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:disabled { opacity: .55; cursor: default; }
h1, h2, h3, p { margin: 0; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 2px; }

#app { position: fixed; inset: 0; }
#stage { position: absolute; inset: 0; isolation: isolate; }
#map { position: absolute; inset: 0; background: #e8f0ec; font: inherit; }

/* top: search + filters */
#top { position: absolute; z-index: 1000; inset: calc(10px + env(safe-area-inset-top, 0px)) 12px auto; pointer-events: none; }
#top > * { pointer-events: auto; }
#searchbar { display: flex; align-items: center; gap: 8px; height: 54px; padding: 0 7px 0 12px; border-radius: 27px; background: #fff; box-shadow: var(--shadow); }
#searchbar:focus-within { box-shadow: var(--shadow), 0 0 0 3px var(--leaf); }
#searchbar img { flex: none; }
#q { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; appearance: none; }
#q::placeholder { color: var(--muted); opacity: 1; }
#q::-webkit-search-cancel-button { display: none; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--muted); flex: none; }
.icon-btn:hover { background: var(--mist); }
#filters { display: flex; gap: 8px; margin: 8px -12px 0; overflow-x: auto; scrollbar-width: none; padding: 2px 12px 10px; pointer-events: auto; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 20px; background: #fff; font-weight: 700; font-size: 15px; box-shadow: 0 2px 8px rgb(20 50 38 / .14); }
.chip i { width: 11px; height: 11px; border-radius: 50%; }
.chip[aria-pressed=true] { background: var(--ink); color: #fff; }

#results { margin-top: 8px; max-height: 50dvh; overflow: auto; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); padding: 6px; }
#results h3 { padding: 8px 10px 4px; font-size: 13px; font-weight: 700; color: var(--muted); }
#results p { padding: 12px 10px; color: var(--muted); }
.result { display: flex; gap: 12px; align-items: center; width: 100%; min-height: 52px; padding: 8px 10px; border-radius: 12px; text-align: left; }
.result:hover, .result:focus-visible { background: var(--mist); }
.result b { display: block; font-weight: 800; }
.result small { display: block; font-size: 13.5px; color: var(--muted); }
.result > span:first-child { flex: none; width: 28px; display: grid; place-items: center; font-size: 22px; color: var(--melon); }

/* pins */
.leaflet-tile-pane img.leaflet-tile { filter: saturate(.7) brightness(1.05); }
.leaflet-container { font: inherit; }
.leaflet-bottom.leaflet-right { bottom: calc(var(--dock) + var(--safe-b) + 12px); }
.leaflet-container .leaflet-control-attribution { font: 600 11px Nunito, sans-serif; background: rgb(255 255 255 / .8); border-radius: 8px 0 0 0; }
.pin { position: relative; width: 40px; height: 40px; border-radius: 50% 50% 50% 4px; rotate: -45deg; display: grid; place-items: center; box-shadow: -2px 3px 7px rgb(20 50 38 / .35); transition: scale .18s; transform-origin: 0 100%; }
.leaflet-marker-icon .pin { margin: 8px 0 0 20px; } /* puts the tip on the marker's anchor */
.pin.certified { background: var(--leaf); }
.pin.muslim { background: var(--mango); }
.pin.both { background: linear-gradient(45deg, var(--leaf) 50%, var(--mango) 50%); }
.pin span { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; rotate: 45deg; font-size: 17px; line-height: 1; }
.leaflet-marker-icon:hover .pin, .leaflet-marker-icon.on .pin { scale: 1.2; }
.leaflet-marker-icon.on { z-index: 9999 !important; }
/* Colour by status: green confirmed, grey new, purple while a flag is being checked. */
.pin.ok { background: var(--leaf); }
.pin.new { background: var(--stone); }
.pin.flagged { background: var(--grape); }
/* Number circle: the ring is split by how many places are confirmed (green), new (grey) or flagged (purple). */
.bunch { width: 46px; height: 46px; border-radius: 50%; padding: 5px; background: var(--ring, var(--leaf)); box-shadow: var(--shadow); }
.bunch span { width: 100%; height: 100%; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 900; }
.leaflet-cluster-anim .leaflet-marker-icon { transition: transform .25s ease-out, opacity .25s ease-in; }
.you { width: 20px; height: 20px; border-radius: 50%; background: #1f7ae0; border: 3px solid #fff; box-shadow: 0 0 0 7px rgb(31 122 224 / .22); }

/* choosing a location */
#aim { display: none; position: absolute; z-index: 950; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
#aim .pin { position: absolute; left: 0; bottom: 0; scale: 1.25; }
#aim i { position: absolute; left: -6px; top: -3px; width: 12px; height: 6px; border-radius: 50%; background: rgb(0 0 0 / .35); }
.moving #aim .pin { translate: 0 -10px; }
#aim .pin { transition: translate .15s; }
#placer { display: none; position: absolute; z-index: 1200; left: 12px; right: 12px; bottom: calc(var(--dock) + var(--safe-b) + 12px); max-width: 460px; margin: auto; padding: 18px; border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.placer-title { font-size: 19px; font-weight: 900; }
#placer-find { margin-bottom: 12px; }
#placer-find .in { min-height: 44px; padding-top: 8px; padding-bottom: 8px; }
#placer-matches { max-height: 168px; overflow-y: auto; margin: -6px 0 8px; }
#placer-matches .result { min-height: 48px; }
#placer-matches p { margin: 0 2px 2px; }
#placer-address { min-height: 22px; margin: 2px 0 12px; color: var(--muted); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aiming #aim, .aiming #placer { display: block; }
.aiming #filters, .aiming #count { display: none; }
.aiming .leaflet-marker-pane { opacity: .45; }
.aiming .leaflet-marker-icon { pointer-events: none !important; }
.row { display: flex; gap: 10px; }
.grow { flex: 1; }

/* bottom sheet */
#sheet { position: absolute; z-index: 1100; inset: auto 0 calc(var(--dock) + var(--safe-b)); height: 0; overflow: hidden; display: flex; flex-direction: column; background: #fff; border-radius: 26px 26px 0 0; box-shadow: 0 -4px 22px rgb(20 50 38 / .16); clip-path: inset(-40px 0 0 0); will-change: transform; transition: height .28s cubic-bezier(.2, .8, .2, 1), transform .28s cubic-bezier(.2, .8, .2, 1), clip-path .28s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
/* Closed: it keeps its size and slides down into the bar (clipped at the bar's edge), then hides. */
#sheet[data-snap=closed] { transform: translateY(100%); clip-path: inset(0 0 100% 0); visibility: hidden; box-shadow: none; transition: transform .28s cubic-bezier(.2, .8, .2, 1), clip-path .28s cubic-bezier(.2, .8, .2, 1), box-shadow 0s .28s, visibility 0s .28s; }
#sheet.opening { transition: transform .28s cubic-bezier(.2, .8, .2, 1), clip-path .28s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
#panel.swap { animation: swap .16s ease-out; }
@keyframes swap { from { opacity: 0; } }
#sheet[data-snap=half] { height: 52dvh; }
#sheet[data-snap=full] { height: calc(100dvh - var(--dock) - var(--safe-b) - 72px - env(safe-area-inset-top, 0px)); }
#sheet.drag { transition: none; }
#grip { flex: none; height: 26px; width: 100%; display: grid; place-items: center; touch-action: none; border-radius: 26px 26px 0 0; }
#grip i { width: 42px; height: 5px; border-radius: 3px; background: #c8d6ce; }
#panel { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.head { flex: none; display: flex; align-items: center; gap: 12px; padding: 4px 18px 14px; touch-action: none; }
.head h1 { flex: 1; min-width: 0; font-size: 20px; line-height: 1.2; font-weight: 900; }
.head h1 small { display: block; font-size: 14px; font-weight: 600; color: var(--muted); }
.scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 18px calc(24px + var(--safe-b)); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 20px; border-radius: 25px; font-weight: 800; white-space: nowrap; text-decoration: none; color: var(--ink); transition: scale .12s; }
.btn:active, .chip:active, .claim:active, .worth:active, .dock-btn:active { scale: .96; }
.btn.primary { background: var(--melon); color: #fff; }
.btn.soft { background: var(--mist); }
.btn.plain { color: var(--muted); padding: 0 8px; }
.btn.wide { width: 100%; }

.seg { display: flex; background: var(--mist); border-radius: 20px; padding: 4px; margin-bottom: 8px; }
.seg button { flex: 1; min-height: 38px; border-radius: 17px; font-size: 15px; font-weight: 700; color: var(--muted); }
.seg button[aria-pressed=true] { background: #fff; color: var(--ink); box-shadow: 0 1px 5px rgb(20 50 38 / .15); }

.item { display: flex; align-items: center; gap: 14px; width: 100%; padding: 13px 0; text-align: left; border-bottom: 1px solid var(--line); }
.item:last-child { border: 0; }
.plate { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; font-size: 25px; background: #fff; border: 4px solid var(--leaf); }
.plate.muslim { border-color: var(--mango); }
.plate.both { border-color: var(--leaf) var(--mango) var(--mango) var(--leaf); }
.plate.ok { border-color: var(--leaf); }
.plate.new { border-color: var(--stone); }
.plate.flagged { border-color: var(--grape); }
.item .love { flex: none; font-weight: 800; font-size: 14px; color: var(--muted); white-space: nowrap; }
.item .mid { flex: 1; min-width: 0; }
.item b { display: block; font-size: 17px; font-weight: 800; line-height: 1.25; }
.item .sub { display: block; font-size: 14.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 14px; font-size: 14px; font-weight: 800; background: var(--mist); }
.tag.certified { background: var(--leaf-soft); color: #075b3a; }
.tag.muslim { background: var(--mango-soft); color: var(--mango-ink); }
.tag small { font-weight: 700; opacity: .8; }
.tag.unsure { background: #fff; box-shadow: inset 0 0 0 2px currentColor; }
.tag svg { width: 14px; height: 14px; }
.empty { text-align: center; padding: 22px 12px; color: var(--muted); }
.empty .big { font-size: 46px; line-height: 1.2; }
.empty b { display: block; color: var(--ink); font-size: 18px; font-weight: 900; }

/* place */
.place { display: grid; gap: 18px; }
.where { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: var(--r); background: var(--mist); }
.lvl { flex: none; min-width: 66px; padding: 8px 10px; border-radius: 14px; background: #fff; text-align: center; font-size: 13px; color: var(--muted); line-height: 1.15; }
.lvl b { display: block; font-size: 24px; font-weight: 900; color: var(--ink); line-height: 1.1; }
.where p { min-width: 0; overflow-wrap: anywhere; line-height: 1.35; }
.where small { display: block; font-size: 14.5px; color: var(--muted); }
.note { padding-left: 14px; border-left: 4px solid var(--mango); overflow-wrap: anywhere; }
.closed { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--line); }
.closed p { font-size: 15px; color: var(--muted); }
.mini { min-height: 42px; padding: 0 14px; border-radius: 21px; background: var(--mist); font-size: 15px; font-weight: 800; }
.mini[aria-pressed=true] { background: var(--ink); color: #fff; }
.by { font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 44px; }

/* forms */
.form { display: grid; gap: 22px; }
.field > label, .field > .label { display: block; margin-bottom: 7px; font-weight: 800; }
.field .opt { font-weight: 600; color: var(--muted); }
input.in, textarea.in { width: 100%; min-height: 52px; padding: 12px 16px; border: 2px solid var(--line); border-radius: 16px; background: #fff; outline: 0; resize: none; }
input.in:focus, textarea.in:focus { border-color: var(--leaf); }
.err { margin-top: 6px; color: #b81634; font-size: 15px; font-weight: 700; }
.bad input.in, .bad textarea.in { border-color: var(--melon); }
.two { display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.step { display: flex; align-items: center; height: 52px; border-radius: 16px; border: 2px solid var(--line); }
.step button { width: 46px; height: 100%; display: grid; place-items: center; color: var(--leaf); }
.step output { min-width: 76px; text-align: center; font-weight: 900; }
.types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.type { min-height: 84px; padding: 8px 3px; border-radius: 16px; border: 2px solid var(--line); font-size: 13px; line-height: 1.15; font-weight: 700; }
.type span { display: block; font-size: 27px; line-height: 1.3; }
.type[aria-pressed=true] { border-color: var(--leaf); background: var(--leaf-soft); }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.card { min-height: 84px; padding: 12px 11px; border-radius: 16px; border: 2px solid var(--line); text-align: left; line-height: 1.25; }
.card b { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 15px; white-space: nowrap; }
.card i { flex: none; width: 13px; height: 13px; border-radius: 50%; }
.card small { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.card.c[aria-pressed=true] { border-color: var(--leaf); background: var(--leaf-soft); }
.card.m[aria-pressed=true] { border-color: #e09200; background: var(--mango-soft); }
.picks { display: flex; gap: 8px; }
.pick { flex: 1; min-height: 46px; border-radius: 23px; border: 2px solid var(--line); font-weight: 800; }
.pick[aria-pressed=true] { border-color: var(--leaf); background: var(--leaf-soft); }
.field > .check { display: flex; margin: 0; gap: 12px; align-items: flex-start; cursor: pointer; font-weight: 700; line-height: 1.35; }
.check input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--leaf); }
.link { color: var(--leaf); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }

dialog { width: min(420px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border: 0; border-radius: 28px; padding: 26px 22px 22px; color: inherit; box-shadow: 0 20px 60px rgb(0 0 0 / .3); }
dialog::backdrop { background: rgb(16 44 33 / .55); }
dialog .brand { text-align: center; margin-bottom: 18px; }
dialog .brand img { display: block; margin: 0 auto 6px; }
dialog h2 { font-size: 25px; font-weight: 900; line-height: 1.2; }
dialog .brand p { color: var(--muted); }
dialog .form { gap: 16px; }
dialog .x { position: absolute; top: 12px; right: 12px; }

.how { display: grid; gap: 14px; margin: 18px 0; }
.how > div { display: flex; gap: 14px; align-items: center; line-height: 1.35; }
.how > div > span { flex: none; font-size: 28px; width: 38px; text-align: center; }
.h2 { font-size: 18px; font-weight: 900; margin-top: 10px; }

#toasts { position: fixed; z-index: 3000; left: 12px; right: 12px; top: calc(76px + env(safe-area-inset-top, 0px)); display: grid; justify-items: center; gap: 8px; pointer-events: none; }
.toast { padding: 12px 20px; border-radius: 24px; background: var(--ink); color: #fff; font-weight: 700; box-shadow: var(--shadow); animation: drop .25s; }
@keyframes drop { from { opacity: 0; translate: 0 -12px; } }
.yum { position: fixed; z-index: 4000; font-size: 30px; pointer-events: none; animation: yum 1.4s cubic-bezier(.15, .7, .4, 1) forwards; }
@keyframes yum { to { translate: var(--dx) var(--dy); rotate: var(--rot); opacity: 0; } }

/* bottom bar */
#dock { position: absolute; z-index: 1300; inset: auto 0 0; height: calc(var(--dock) + var(--safe-b)); padding: 0 6px var(--safe-b); display: flex; align-items: center; justify-content: space-around; background: #fff; box-shadow: 0 -2px 14px rgb(20 50 38 / .12); }
.dock-btn { flex: 1; max-width: 90px; height: 60px; display: grid; justify-items: center; align-content: center; gap: 3px; border-radius: 16px; color: var(--muted); }
.dock-btn small { font-size: 12.5px; font-weight: 800; }
.dock-btn[aria-pressed=true], .dock-btn.in { color: var(--leaf); }
.dock-btn.busy svg { animation: spin 1s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.dock-btn.big { position: relative; top: -16px; flex: none; width: 76px; height: 76px; border-radius: 50%; background: var(--melon); color: #fff; box-shadow: 0 6px 16px rgb(219 44 73 / .4); border: 5px solid #fff; }
.dock-btn.big svg { width: 26px; height: 26px; }
.dock-btn.big small { font-size: 12px; }
.dock-btn.big { transition: transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s; }
/* While a card is open on a phone, Pin it shrinks into the bar so it covers nothing.
   Only transform changes, so the other tabs never move. */
@media (max-width: 859px) {
  .sheet-open .dock-btn.big { transform: translateY(16px) scale(.72); box-shadow: 0 3px 8px rgb(219 44 73 / .3); }
}
#count { position: absolute; z-index: 1000; left: 50%; translate: -50% 0; bottom: calc(var(--dock) + var(--safe-b) + 14px); padding: 10px 18px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); font-weight: 800; white-space: nowrap; }
#count:empty { display: none; }

/* place details */
.h2 + .muted { margin: 2px 0 10px; }
.muted { color: var(--muted); font-size: 15px; }
.small { font-size: 14px; }
.worths { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.worth { display: grid; justify-items: center; gap: 2px; min-height: 92px; padding: 10px; border-radius: var(--r); border: 2px solid var(--line); font-weight: 800; }
.worth .big { font-size: 26px; line-height: 1.1; }
.worth b { font-size: 18px; }
.worth[aria-pressed=true] { border-color: var(--leaf); background: var(--leaf-soft); }
.claim { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 10px 14px; margin-top: 8px; border-radius: 16px; border: 2px solid var(--line); text-align: left; }
.claim .tick { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); color: transparent; }
.claim .tick svg { width: 18px; height: 18px; }
.claim .mid { flex: 1; min-width: 0; }
.claim b { display: block; font-weight: 800; }
.claim small { display: block; font-size: 14px; color: var(--muted); }
.claim[aria-pressed=true] { border-color: var(--leaf); background: var(--leaf-soft); }
.claim[aria-pressed=true] .tick { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.panel { border-top: 1px solid var(--line); padding-top: 12px; }
.panel[hidden] { display: none; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.panel-head .h2 { margin: 0; }
.panel.blog .post:first-of-type { margin-top: 6px; }
.changes .to-check { margin-bottom: 18px; }
.changes > .muted { margin-bottom: 4px; }
.changes .label { margin-top: 16px; font-weight: 800; }
.changes .closed { margin-top: 14px; }
.post { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.post b { font-size: 17px; font-weight: 800; line-height: 1.3; }
.post small { color: var(--leaf); font-weight: 800; font-size: 14px; }
.post span { color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
section > .btn, section > .link { margin-top: 10px; }
.link.small { font-size: 14px; justify-self: start; margin-top: -10px; }
.link.danger { color: #b81634; justify-self: start; }
.status { padding: 12px 14px; border-radius: 14px; background: var(--mist); font-weight: 700; overflow-wrap: anywhere; }
.status.approved { background: var(--leaf-soft); color: #075b3a; }
.status.rejected { background: var(--melon-soft); color: #a3132f; }
input.in.code { font-size: 26px; letter-spacing: .4em; text-align: center; font-weight: 900; }
.captcha:empty { display: none; }
.swap { text-align: center; margin-top: 14px; line-height: 2; }
#go h2 { margin-bottom: 2px; }
.apps { display: grid; gap: 8px; margin: 16px 0; }
.app { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 0 16px; border-radius: 16px; background: var(--mist); font-weight: 800; font-size: 17px; text-align: left; }
.app span { font-size: 24px; }
label.check { display: flex; gap: 10px; align-items: center; font-weight: 700; cursor: pointer; }
.setup { position: fixed; inset: 40% 20px auto; padding: 20px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); font-weight: 800; text-align: center; z-index: 5000; }

/* wide screens: list on the left, map on the right */
@media (min-width: 860px) {
  #stage { left: 410px; }
  #sheet, #sheet[data-snap] { inset: 0 auto 0 0; width: 410px; height: auto !important; border-radius: 0; box-shadow: 2px 0 18px rgb(20 50 38 / .1); overflow: visible; transform: none; clip-path: none; visibility: visible; transition: none; }
  #dock { left: 50%; right: auto; translate: -50% 0; width: 480px; bottom: 16px; height: var(--dock); border-radius: 26px; padding: 0 6px; }
  #count { bottom: calc(var(--dock) + 30px); }
  #placer { bottom: calc(var(--dock) + 30px); }
  #grip { display: none; }
  .head { padding: 22px 22px 16px; touch-action: auto; }
  .scroll { padding-inline: 22px; }
  #top { max-width: 520px; right: auto; width: calc(100% - 24px); }
  .leaflet-bottom.leaflet-right { bottom: 0; }
  .aiming #sheet { display: flex; }
  #toasts { left: 410px; }
}
@media (max-width: 350px) { .types { grid-template-columns: repeat(3, 1fr); } .two { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } .yum { display: none; } }

/* sign-in sheet */
.btn.google { background: #fff; color: #1f1f1f; border: 2px solid var(--line); gap: 12px; }
.btn.google:hover { border-color: #c8d6ce; }
.btn.google svg { flex: none; }
.fine { margin-top: 14px; font-size: 13.5px; color: var(--muted); text-align: center; line-height: 1.45; }
.fine a { color: var(--leaf); }
form.local { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); gap: 10px; }

/* pin location and address in the pin form */
.pinrow { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 10px; border-radius: 14px; background: var(--leaf-soft); }
.pinrow .pinicon { flex: none; color: var(--leaf); }
.pinrow .mid { flex: 1; min-width: 0; line-height: 1.3; }
.pinrow small { display: block; font-size: 13px; color: var(--muted); }
.pinrow b { display: block; font-weight: 800; overflow-wrap: anywhere; }
.pinrow .mini { background: #fff; }
.addr { display: flex; gap: 8px; align-items: center; }
.addr .in { flex: 1; min-width: 0; }
.addr .mini { flex: none; }
.field .hint { margin-top: 6px; }
.proof:not(:empty) { display: grid; gap: 6px; margin-top: 10px; }
.proof img { max-width: 100%; max-height: 240px; justify-self: start; border-radius: 14px; border: 2px solid var(--line); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.matches:not(:empty) { margin-top: 8px; padding: 6px; border-radius: 14px; border: 2px solid var(--line); }
.matches .result { min-height: 48px; }
.choice { display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: var(--mango-soft); border: 2px solid #f0c060; }
.choice b { font-size: 17px; font-weight: 900; }

/* Admin: MUIS sync progress */
.muis-log:not(:empty) { margin-top: 12px; padding: 10px 14px; border-radius: 14px; background: var(--mist); font-size: 15px; }
.muis-log p { margin: 4px 0; }

/* Favourites */
.btn.fav { min-width: 52px; padding: 0 14px; font-size: 22px; line-height: 1; color: var(--melon); }
.btn.fav[aria-pressed=true] { background: var(--melon-soft); }
.fav-mark { color: var(--melon); }
.fav-row { display: flex; align-items: center; gap: 8px; }
.fav-row .item { flex: 1; min-width: 0; }
.fav-row .mini { flex: none; }

/* flags */
.btn.flag { position: relative; padding: 0 16px; color: var(--melon); font-size: 20px; }
.btn.blog { position: relative; padding: 0 15px; color: var(--leaf); }
.btn.blog svg { width: 20px; height: 20px; }
.btn.flag .count, .btn.blog .count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--melon); color: #fff; font-size: 12px; line-height: 20px; text-align: center; }
.btn.blog .count { background: var(--leaf); }
.claim.flag-opt .tick { color: var(--melon); border-color: var(--melon-soft); background: var(--melon-soft); font-size: 15px; }
.flag-card { display: grid; gap: 8px; padding: 14px; margin-top: 10px; border-radius: 16px; border: 2px solid var(--line); }
.flag-card h3 { font-size: 16px; font-weight: 900; }
.flag-card h3 span { color: var(--melon); }
.flag-card > .mini { justify-self: start; display: inline-flex; align-items: center; gap: 6px; }
.flag-card > .mini svg { width: 18px; height: 18px; }
.flag-card .row { align-items: center; }
.flag-card .votes .btn { flex-direction: column; gap: 2px; min-height: 58px; padding: 6px 10px; border-radius: 16px; font-size: 15px; white-space: normal; }
.flag-card .votes .yes[aria-pressed=true] { background: var(--leaf-soft); box-shadow: inset 0 0 0 2px var(--leaf); }
.flag-card .votes .no[aria-pressed=true] { background: var(--melon-soft); box-shadow: inset 0 0 0 2px var(--melon); }
.cmp { padding: 8px 12px; border-radius: 12px; background: var(--mist); line-height: 1.35; }
.cmp.new { background: var(--mango-soft); }
.cmp > small { display: block; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.cmp.new > small { color: var(--mango-ink); }
.cmp p { overflow-wrap: anywhere; white-space: pre-line; }
.cmp p small { display: block; font-size: 13px; color: var(--muted); }
.form > .cmp { margin-bottom: 4px; }
.flag-spot { display: grid; place-items: center; height: 28px; border-radius: 14px; font: 800 13px/1 system-ui, sans-serif; color: #fff; background: var(--ink); box-shadow: var(--shadow); }
.flag-spot.new { background: var(--melon); }
/* Go there plus four icon buttons must fit on a small phone and in the desktop side panel. */
.row.actions { gap: 6px; }
.row.actions .btn.primary { padding: 0 16px; }
.row.actions .btn.fav, .row.actions .btn.blog, .row.actions .btn.flag, .row.actions .btn.share { min-width: 44px; padding: 0 12px; }
.row.actions .btn.share .lbl { display: none; }
