:root {
  --bad: #e11d48;
  --good: #059669;
  --ink: #111827;
  --ink2: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --surface: #ffffff;
  --soft: #f3f4f6;
  --accent: #1d4ed8;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 1px 2px rgba(17, 24, 39, .06), 0 8px 24px rgba(17, 24, 39, .10);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--soft); color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 15px;
  -webkit-font-smoothing: antialiased; }
button { font-family: inherit; color: inherit; cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#map { position: fixed; inset: 0; }
.leaflet-container { background: #eef0f3; font-family: inherit; }
.leaflet-tile-pane { filter: grayscale(.85) contrast(.95) brightness(1.04); }
.leaflet-control-attribution { font-size: 9px; background: #ffffffcc !important; }
.hidden { display: none !important; }

/* ---------- topo: marca + busca ---------- */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 1100; padding: calc(12px + env(safe-area-inset-top)) 16px 0;
  pointer-events: none; max-width: 560px; margin: 0 auto; }
.bar-top { display: flex; gap: 8px; pointer-events: auto; }
.brand, .search, .status, .results { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.brand { display: flex; align-items: center; gap: 8px; padding: 0 12px 0 10px; }
.mark { display: inline-flex; gap: 2px; padding: 4px 5px; background: var(--ink); border-radius: 6px; }
.mark i { width: 5px; height: 5px; border-radius: 50%; background: var(--bad); }
.mark i:nth-child(2) { background: #fff; } .mark i:nth-child(3) { background: #10b981; }
.bname { font-size: 17px; font-weight: 800; letter-spacing: -.4px; white-space: nowrap; }
/* "Bolha" com um traço nas três cores */
.bname b, .intro-brand b { font-weight: 800; padding-bottom: 2px;
  background: linear-gradient(90deg, var(--bad) 0 33%, #d1d5db 33% 66%, var(--good) 66%) bottom / 100% 3px no-repeat; }
@media (max-width: 340px) { .bname { display: none; } }
.search { flex: 1; display: flex; align-items: center; gap: 8px; padding: 0 6px 0 12px; height: 44px; color: var(--muted); min-width: 0; }
.search svg { width: 18px; height: 18px; flex: 0 0 auto; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; color: var(--ink); }
.search input::-webkit-search-cancel-button { display: none; }
.search:focus-within { border-color: var(--ink2); }
.qclear { border: 0; background: var(--soft); width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); }
.qclear svg { width: 14px; height: 14px; }
.sub { display: flex; gap: 8px; align-items: center; margin-top: 8px; pointer-events: none; }
.filters { display: flex; gap: 6px; margin-left: auto; pointer-events: auto; flex: 0 0 auto; }
.flt { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 9px 0 7px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); font-size: 12px; font-weight: 600;
  color: var(--ink2); font-variant-numeric: tabular-nums; transition: background .15s, color .15s, border-color .15s; }
.flt.left { --c: var(--bad); } .flt.right { --c: var(--good); } .flt.mid { --c: #fff; }
.flt[aria-pressed="true"] { background: color-mix(in srgb, var(--c) 18%, white); border: 2px solid var(--c); color: var(--ink); }
.flt.mid[aria-pressed="true"] { background: #fff; border-color: var(--ink2); }

/* bandeirinha: haste escura + tecido na cor */
.flag { width: 16px; height: 16px; flex: 0 0 auto; stroke: var(--ink2); stroke-width: 1.8; }
.flag .cloth { fill: var(--c); stroke: var(--c); stroke-width: 1.2; }
/* bandeira branca: contorno escuro para não sumir no fundo claro */
.mid .flag .cloth { fill: #fff; stroke: var(--ink2); stroke-width: 1.6; }
.mid .flag { filter: drop-shadow(0 1px 1px rgba(17, 24, 39, .25)); }
.status { flex: 0 1 auto; min-width: 0; padding: 5px 10px; font-size: 12px; font-weight: 500; color: var(--ink2);
  pointer-events: auto; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status.busy::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%;
  background: var(--accent); vertical-align: 1px; animation: blink 1s ease-in-out infinite alternate; }
@keyframes blink { from { opacity: .25; } }
.results { pointer-events: auto; margin-top: 8px; max-height: 60vh; overflow-y: auto; padding: 4px 0; }
.res { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; border: 0; background: none; padding: 10px 14px; }
.res + .res { border-top: 1px solid #ffffff; }
.res:active, .res:hover { background: var(--soft); }
.res .ri { width: 32px; height: 32px; border-radius: 8px; background: var(--soft); display: grid; place-items: center; color: var(--ink2); flex: 0 0 auto; }
.res .ri svg { width: 16px; height: 16px; }
.res .rt { flex: 1; min-width: 0; }
.res b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res .rv { flex: 0 0 auto; }
.res .rv .dots { margin-top: 0; gap: 8px; }
.res .nv { font-size: 11px; color: #9ca3af; }
/* resultado com votos: fundo na cor mais votada + faixa lateral sólida */
.res.won { background: color-mix(in srgb, var(--c) 14%, white); box-shadow: inset 4px 0 0 var(--c); }
.res.won.left { --c: var(--bad); } .res.won.right { --c: var(--good); }
.res.won.mid { --c: #fff; background: #fff; box-shadow: inset 4px 0 0 #9ca3af; }
.res.won .ri { background: #ffffffb3; }
.res.won:hover, .res.won:active { background: color-mix(in srgb, var(--c) 24%, white); }
.res.won.mid:hover, .res.won.mid:active { background: var(--soft); }
.res-head { padding: 10px 14px 4px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.res.loc .ri { color: var(--accent); }
.res-empty { padding: 14px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- centralizar ---------- */
.fab { position: fixed; right: 16px; bottom: calc(var(--near-h) + 12px + env(safe-area-inset-bottom)); z-index: 500;
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface);
  display: grid; place-items: center; box-shadow: var(--shadow); color: var(--muted); transition: color .2s, opacity .2s; }
.fab svg { width: 22px; height: 22px; }
.fab.off { color: var(--accent); }

/* ---------- lista de estabelecimentos (sobe de baixo) ---------- */
:root { --near-h: 236px; }
.near { position: fixed; left: 0; right: 0; bottom: 0; z-index: 500; height: calc(var(--near-h) + env(safe-area-inset-bottom));
  max-width: 560px; margin: 0 auto; background: var(--surface); border-radius: 16px 16px 0 0; box-shadow: 0 -6px 24px rgba(17, 24, 39, .14);
  display: flex; flex-direction: column; transition: height .3s var(--ease), opacity .2s; overflow: hidden; }
.near.open { height: 74vh; }
.handle { border: 0; background: none; padding: 12px 0 8px; margin-bottom: -4px; width: 100%; display: grid; place-items: center;
  touch-action: none; cursor: grab; }
.handle i { width: 44px; height: 5px; border-radius: 3px; background: #c7cbd3; }
.near-head { display: flex; align-items: center; gap: 8px; padding: 2px 16px 8px; font-size: 15px; font-weight: 600; cursor: pointer; touch-action: none; }
.near-head::after { content: ""; margin-left: auto; width: 8px; height: 8px; border: solid var(--muted); border-width: 2px 2px 0 0;
  transform: rotate(-45deg); transition: transform .25s; }
.near.open .near-head::after { transform: rotate(135deg); }
.near-head .count { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--soft); border-radius: 6px; padding: 1px 7px; }
.near-head .count:empty { display: none; }
.cats { display: flex; gap: 6px; overflow-x: auto; padding: 0 16px 8px; scrollbar-width: none; flex: 0 0 auto; }
.cats::-webkit-scrollbar { display: none; }
.cat-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 11px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 500; color: var(--ink2); white-space: nowrap; }
.cat-chip svg { width: 14px; height: 14px; }
.cat-chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.item { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--soft);
  background: none; padding: 10px 16px; min-height: 60px; }
.item:active { background: var(--soft); }
.item .ri { width: 34px; height: 34px; border-radius: 9px; background: var(--soft); display: grid; place-items: center; color: var(--ink2); flex: 0 0 auto; }
.item .ri svg { width: 17px; height: 17px; }
.item .rt { flex: 1; min-width: 0; }
.item b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .tag { color: var(--accent); font-weight: 600; }
.item .rv .dots { margin-top: 0; gap: 7px; }
.item .wf { flex: 0 0 auto; width: 22px; display: grid; place-items: center; }
.item .wf .flag { width: 20px; height: 20px; }
.row-empty { padding: 18px 16px; font-size: 13px; color: var(--muted); }
.nv { font-size: 11px; color: #9ca3af; }
.mini { display: flex; gap: 2px; height: 4px; border-radius: 2px; overflow: hidden; margin-top: 10px; background: var(--soft); }
.mini i { background: var(--c); }
.dots { display: flex; gap: 10px; font-size: 12px; font-weight: 600; margin-top: 6px; font-variant-numeric: tabular-nums; color: var(--ink2); }
.dots i { font-style: normal; display: inline-flex; align-items: center; gap: 4px; }
.dots i::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--c); box-shadow: inset 0 0 0 1px #0000002e; }

/* ---------- marcadores ---------- */
/* lugar votado: bandeira na cor mais votada */
.fm { position: relative; width: var(--w); height: var(--h); filter: drop-shadow(0 2px 2px rgba(17, 24, 39, .35));
  transform-origin: 16% 100%; transition: transform .2s var(--ease); }
.fm svg { width: 100%; height: 100%; overflow: visible; display: block; }
.fm .pole { stroke: var(--ink2); stroke-width: 2.2; }
.fm .base { fill: rgba(17, 24, 39, .3); stroke: none; }
.fm .cl { fill: var(--c); stroke: var(--c); stroke-width: 1.2; }
.fm.mid .cl { stroke: var(--ink2); stroke-width: 1.4; }
.fm.sel { transform: scale(1.25); }
.fm.mine::after { content: ""; position: absolute; left: calc(16% - 5px); bottom: -4px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); border: 2px solid #fff; }
.dot { width: 24px; height: 24px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--muted);
  box-shadow: 0 0 0 1px #d1d5db, 0 1px 3px rgba(17, 24, 39, .2); transition: transform .2s var(--ease); }
.dot svg { width: 13px; height: 13px; stroke-width: 2; }
.zoomed-out .dot { transform: scale(.4); }
.zoomed-out .dot svg { display: none; }
.mine::after { content: ""; position: absolute; right: -1px; top: -1px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent); border: 2px solid #fff; }
.dot.mine { position: relative; }
.dot.sel { transform: scale(1.3); box-shadow: 0 0 0 3px var(--ink), 0 4px 10px rgba(17, 24, 39, .35); }
.me { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 3px solid #fff;
  box-shadow: 0 0 0 1px #1d4ed855, 0 1px 4px rgba(0, 0, 0, .35); }

/* ---------- painel do estabelecimento ---------- */
.sheet { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; justify-content: flex-end; pointer-events: none; }
.scrim { position: absolute; inset: 0; background: rgba(17, 24, 39, .18); pointer-events: auto; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.panel { position: relative; pointer-events: auto; background: var(--surface); border-radius: 16px 16px 0 0; max-height: 80vh;
  overflow-y: auto; box-shadow: 0 -8px 30px rgba(17, 24, 39, .18); animation: up .28s var(--ease); scrollbar-width: none;
  width: 100%; max-width: 520px; margin: 0 auto; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.photo { position: relative; height: 190px; border-radius: 16px 16px 0 0; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(135deg, #1f2937, #374151); background-size: cover; background-position: center; }
.photo.loading::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, #ffffff1a 50%, transparent 70%);
  background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(17, 24, 39, .35), transparent 28%, transparent 40%, rgba(17, 24, 39, .9)); }
.ph-icon { color: #ffffff33; transform: translateY(-24px); }
.ph-icon svg { width: 64px; height: 64px; stroke-width: 1.2; }
.photo.has-img .ph-icon { display: none; }
.ph-text { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 2; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.cat { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.ph-text h2 { margin: 4px 0 0; font-size: clamp(22px, 6.4vw, 26px); line-height: 1.15; font-weight: 700; letter-spacing: -.4px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tags span { font-size: 12px; font-weight: 500; padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, .16); }
.tags .open { background: #059669; } .tags .closed { background: #be123c; }
.close { position: absolute; right: 12px; top: 12px; z-index: 3; width: 34px; height: 34px; border-radius: 8px; border: 0;
  background: rgba(17, 24, 39, .55); color: #fff; display: grid; place-items: center; }
.close svg { width: 18px; height: 18px; }
.close.share { right: 54px; }
.body { padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); }

/* 3 opções de voto: cor translúcida, faixa sólida em cima */
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice { position: relative; height: 104px; border-radius: 12px; display: grid; place-content: center; gap: 2px; text-align: center;
  background: color-mix(in srgb, var(--c) 12%, white); border: 1px solid color-mix(in srgb, var(--c) 45%, white);
  border-top: 5px solid var(--c); color: var(--ink); transition: background .2s, color .2s, transform .1s; }
.choice.left { --c: var(--bad); } .choice.right { --c: var(--good); }
.choice.mid { --c: #ffffff; background: #fff; border: 1px solid #d1d5db; border-top: 5px solid #d1d5db; }
.choice .flag { width: 22px; height: 22px; justify-self: center; margin-bottom: 4px; }
.choice b { font-size: 26px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.choice small { font-size: 12px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.choice:active { transform: scale(.98); }
/* escolhida: fundo mais forte, contorno na cor e ✓ — a bandeira mantém a cor */
.choice.chosen { background: color-mix(in srgb, var(--c) 26%, white); border: 2px solid var(--c); border-top: 5px solid var(--c);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--c) 30%, transparent); }
.choice.mid.chosen::after { border-color: var(--ink2); }
.choice.mid.chosen { background: #fff; border: 2px solid var(--ink2); border-top: 5px solid var(--ink2); box-shadow: 0 6px 16px rgba(17, 24, 39, .15); }
.choice.chosen::after { content: ""; position: absolute; right: 9px; top: 6px; width: 5px; height: 10px; border: solid var(--c);
  border-width: 0 2px 2px 0; transform: rotate(45deg); }
.choice b.bump { animation: bump .35s var(--ease); }
/* resposta imediata ao toque */
.choice { -webkit-tap-highlight-color: transparent; touch-action: manipulation; overflow: hidden; }
.choice:active { transform: scale(.95); transition: transform .06s; }
.choice.pulse { animation: press .32s var(--ease); }
.choice.pulse::before { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px;
  border-radius: 50%; background: var(--c); opacity: .35; animation: ring .5s ease-out forwards; pointer-events: none; }
.choice.mid.pulse::before { background: var(--ink2); opacity: .15; }
@keyframes press { 0% { transform: scale(.94); } 60% { transform: scale(1.04); } 100% { transform: scale(1); } }
@keyframes ring { to { transform: scale(7); opacity: 0; } }
@keyframes bump { 50% { transform: translateY(-3px); } }

.bar { height: 6px; border-radius: 3px; margin: 14px 0 4px; overflow: hidden; display: flex; gap: 2px; background: var(--soft); }
.seg { height: 100%; width: 0; transition: width .4s var(--ease); }
.seg.l { background: var(--bad); } .seg.m { background: #d1d5db; } .seg.r { background: var(--good); }
.vmsg { min-height: 20px; text-align: center; font-size: 13px; font-weight: 500; color: var(--muted); margin-top: 6px; }

/* dados do estabelecimento */
.info { border-top: 1px solid var(--line); margin-top: 10px; }
.row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; font-size: 14px; line-height: 1.4; color: var(--ink2);
  border-bottom: 1px solid var(--line); }
.row svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--muted); margin-top: 1px; }
details.row { display: block; }
details.row summary { display: flex; gap: 12px; list-style: none; cursor: pointer; }
details.row summary::-webkit-details-marker { display: none; }
details.row summary span::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border: solid var(--muted);
  border-width: 0 1.5px 1.5px 0; transform: translateY(-3px) rotate(45deg); }
details.row ul { margin: 8px 0 0 30px; padding: 0; list-style: none; color: var(--muted); font-size: 13px; line-height: 1.8; }
details.row li.today { color: var(--ink); font-weight: 600; }
.actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 8px; margin-top: 10px; }
.actions a { text-align: center; text-decoration: none; padding: 11px 4px; border-radius: 10px; border: 1px solid var(--line);
  color: var(--ink); font-weight: 600; font-size: 13px; background: var(--surface); }
.actions a:first-child { background: var(--ink); border-color: var(--ink); color: #fff; }
.src { font-size: 11px; color: #9ca3af; text-align: right; margin-top: 12px; }
.skel { height: 12px; border-radius: 6px; background: var(--soft); margin: 14px 0; animation: pulseBg 1s infinite alternate; }
@keyframes pulseBg { to { opacity: .4; } }

.sheet-open .near, .sheet-open .fab, .sheet-open .top, .list-open .fab { opacity: 0; pointer-events: none; }
.top { transition: opacity .2s; }

/* ---------- aviso ---------- */
.toast { position: fixed; left: 50%; top: calc(64px + env(safe-area-inset-top)); transform: translate(-50%, -8px); z-index: 2000;
  opacity: 0; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; font-size: 13px; font-weight: 500;
  transition: .2s var(--ease); pointer-events: none; max-width: calc(100% - 32px); text-align: center; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- sem localização ---------- */
.locate { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 900; width: min(320px, calc(100% - 32px));
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px 18px; text-align: center;
  box-shadow: var(--shadow); animation: fade .2s; }
.licon { width: 32px; height: 32px; color: var(--accent); }
.ltext { font-size: 14px; color: var(--ink2); margin: 8px 0 16px; line-height: 1.45; }
.lbtn { display: block; width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: 14px; font-weight: 600;
  background: var(--surface); margin-top: 8px; }
.lbtn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- ver no Google ---------- */
.gbtn { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); background: var(--surface); transition: background .15s; }
.gbtn:active { background: var(--soft); }
.gbtn svg { width: 20px; height: 20px; color: #f59e0b; flex: 0 0 auto; }
.gbtn svg.go { color: var(--muted); margin-left: auto; width: 18px; height: 18px; }
.gbtn b { display: block; font-size: 14px; font-weight: 600; }
.gbtn small { display: block; font-size: 12px; color: var(--muted); }
.tags a.rate { font-size: 12px; font-weight: 500; padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, .16);
  color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.brand { cursor: pointer; }

/* ---------- como funciona ---------- */
.intro { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 16px; background: rgba(17, 24, 39, .45);
  animation: fade .2s; }
.intro-card { width: min(360px, 100%); background: var(--surface); border-radius: 16px; padding: 22px 20px 18px; box-shadow: var(--shadow); }
.intro-brand { display: flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 800; letter-spacing: -.6px; margin-bottom: 14px; }
.intro-brand .mark { padding: 5px 7px; gap: 3px; border-radius: 8px; }
.intro-brand .mark i { width: 8px; height: 8px; }
.intro-card h3 { margin: 0 0 6px; font-size: 16px; letter-spacing: -.2px; color: var(--ink2); }
.intro-card p { margin: 0 0 12px; font-size: 14px; line-height: 1.45; color: var(--ink2); }
.intro-card p.muted { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.intro-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.intro-card li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 14px;
  background: color-mix(in srgb, var(--c) 12%, white); border: 1px solid color-mix(in srgb, var(--c) 40%, white); }
.intro-card li.left { --c: var(--bad); } .intro-card li.right { --c: var(--good); }
.intro-card li.mid { --c: #fff; border-color: #d1d5db; }
.intro-card li .flag { width: 20px; height: 20px; }
.intro-card li b { margin-right: 4px; }

/* ---------- fotos do estabelecimento: galeria / mini mapa ---------- */
.ph-track { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ph-track::-webkit-scrollbar { display: none; }
.ph-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; opacity: 0;
  transition: opacity .3s; }
.photo.has-img .ph-track img { opacity: 1; }
.ph-dots { position: absolute; top: 18px; left: 20px; z-index: 3; display: flex; gap: 5px; pointer-events: none; }
.ph-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.ph-dots i.on { background: #fff; }
.ph-map { position: absolute; inset: 0; display: none; z-index: 0; isolation: isolate; } /* camadas do Leaflet ficam aqui dentro */
.photo.has-map .ph-map { display: block; }
.photo.has-map .ph-icon { display: none; }
.photo.has-map .ph-map .leaflet-tile-pane { filter: grayscale(.9) brightness(.95); }
.photo::after { pointer-events: none; z-index: 1; }
.ph-text { pointer-events: none; }
.ph-text a { pointer-events: auto; }

/* ---------- marcação do DataBolha ---------- */
.fm.marked .cl { stroke: var(--ink); stroke-width: 2.2; }
.fm.marked .pole { stroke: var(--ink); stroke-width: 2.8; }
.fm.marked::before { content: ""; position: absolute; left: calc(16% - 4px); top: -3px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ink); border: 1.5px solid #fff; }
.vmark { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 10px 12px; border-radius: 10px;
  background: color-mix(in srgb, var(--c) 10%, white); border: 1.5px solid var(--ink); }
.vmark.mid { background: #fff; }
.vmark .flag { width: 22px; height: 22px; }
.vmark .flag .cloth { stroke: var(--ink); stroke-width: 1.4; }
.vmark b { display: block; font-size: 14px; }
.vmark small { display: block; font-size: 12px; color: var(--muted); }
