/* Perfect Guias - Mapa Interativo (mapa.html). Celular primeiro. */
.mp-hero .wrap { padding-bottom: 6px; }
.mp .wrap { max-width: 1400px; }
.mp-barra { position: relative; z-index: 20; margin-bottom: 10px; }
.mp-q { display: flex; flex-direction: column; gap: 6px; max-width: 640px; }
.mp-q span, .mp-cam h4, .mp-nv span { font: 600 11px "Rajdhani", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--text3, #8fa3ad); margin: 0; }
.mp-q input { width: 100%; box-sizing: border-box; padding: 11px 12px; font: 500 15px Inter, sans-serif; color: var(--text, #f2f6f8); background: var(--bg2, #06151d); border: 1px solid var(--line2, rgba(62,224,255,.35)); border-radius: 0; }
.mp-q input:focus { outline: 2px solid var(--brand, #3ee0ff); outline-offset: 1px; }
.mp-sug { position: absolute; left: 0; right: 0; max-width: 640px; top: 100%; margin: 4px 0 0; padding: 4px 0; list-style: none; background: var(--bg2, #06151d); border: 1px solid var(--line2, rgba(62,224,255,.35)); max-height: 60vh; overflow: auto; box-shadow: 0 12px 30px rgba(0,0,0,.6); }
.mp-sug li { display: grid; grid-template-columns: 18px 1fr; column-gap: 8px; align-items: center; padding: 8px 12px; cursor: pointer; }
.mp-sug li small { grid-column: 2; color: var(--text3, #8fa3ad); font-size: 12px; }
.mp-sug li b { font: 600 14px Inter, sans-serif; color: var(--text, #f2f6f8); }
.mp-sug li:hover, .mp-sug li.on { background: var(--brand-soft, rgba(62,224,255,.12)); }
.mp-sug li.vazio { display: block; cursor: default; color: var(--text3, #8fa3ad); }

.mp-area { position: relative; display: grid; grid-template-columns: 1fr; gap: 12px; }
.mp-mapa { position: relative; overflow: hidden; height: calc(100svh - 150px); min-height: 420px; max-height: 900px; background: #1d1810; border: 1px solid var(--line2, rgba(62,224,255,.35)); touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; outline: none; }
.mp-mapa:focus-visible { box-shadow: 0 0 0 2px var(--brand, #3ee0ff); }
.mp-mapa.arrastando { cursor: grabbing; }
.mp-tiles, .mp-niv { position: absolute; left: 0; top: 0; }
.mp-tiles { z-index: 0; }
.mp-niv { transform-origin: 0 0; will-change: transform; }
.mp-niv img { position: absolute; width: 257px; height: 257px; max-width: none; opacity: 0; transition: opacity .18s; pointer-events: none; image-rendering: auto; }
.mp-niv img.ok { opacity: 1; }
.mp-cv { position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none; }
.mp-carr { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); margin: 0; padding: 6px 12px; background: rgba(2,8,12,.85); color: var(--text2, #c4d3d9); font-size: 13px; }
.mp-carr[hidden] { display: none; }

.mp-zoom { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 4px; z-index: 5; }
.mp-zoom button, .mp-cam-bt { width: 40px; height: 40px; font: 700 20px Inter, sans-serif; color: var(--text, #f2f6f8); background: rgba(2,8,12,.86); border: 1px solid var(--line2, rgba(62,224,255,.35)); cursor: pointer; padding: 0; }
.mp-zoom button:hover, .mp-cam-bt:hover { border-color: var(--brand, #3ee0ff); color: var(--brand, #3ee0ff); }
.mp-xy { position: absolute; left: 10px; bottom: 10px; z-index: 5; padding: 6px 10px; background: rgba(2,8,12,.86); border: 1px solid var(--line, rgba(62,224,255,.16)); font: 700 14px "Rajdhani", sans-serif; letter-spacing: .04em; color: var(--brand, #3ee0ff); max-width: calc(100% - 90px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.mp-cam-bt { position: absolute; left: 10px; top: 10px; z-index: 6; width: auto; padding: 0 12px; font: 700 13px "Rajdhani", sans-serif; letter-spacing: .1em; text-transform: uppercase; }

.mp-pop { position: absolute; left: 0; top: 0; z-index: 8; width: 230px; box-sizing: border-box; padding: 12px 12px 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; background: rgba(4,14,20,.97); border: 1px solid var(--line3, rgba(62,224,255,.55)); box-shadow: 0 10px 28px rgba(0,0,0,.65); font-size: 13px; color: var(--text2, #c4d3d9); }
.mp-pop[hidden] { display: none; }
.mp-pop.fora { visibility: hidden; }
.mp-pop .btn { margin-top: 2px; }
.mp-pt { font: 700 16px "Rajdhani", sans-serif; color: var(--text, #f2f6f8); padding-right: 18px; line-height: 1.15; }
.mp-pxy { font: 700 14px "Rajdhani", sans-serif; color: var(--brand, #3ee0ff); }
.mp-pxy::before { content: "Coordenada "; font-weight: 500; color: var(--text3, #8fa3ad); }
.mp-px { position: absolute; right: 4px; top: 2px; width: 28px; height: 28px; background: none; border: 0; color: var(--text3, #8fa3ad); font-size: 20px; cursor: pointer; }
.mp-px:hover { color: var(--text, #f2f6f8); }
.mp-render { align-self: center; width: 120px; height: 120px; object-fit: contain; }
.mp-tag { font: 600 11px Inter, sans-serif; letter-spacing: .04em; padding: 2px 7px; border: 1px solid var(--line2, rgba(62,224,255,.35)); color: var(--text2, #c4d3d9); }
.mp-tag.loja { color: #3ee0ff; } .mp-tag.tele { color: #c7aaff; border-color: rgba(180,140,255,.5); }
.mp-tag.chefe { color: #ff8b9b; border-color: rgba(255,93,115,.55); } .mp-tag.mon { color: #ffc37a; border-color: rgba(255,176,74,.5); }

.mp-cam { position: absolute; left: 10px; top: 56px; z-index: 9; width: 250px; max-width: calc(100% - 20px); box-sizing: border-box; padding: 12px; display: none; flex-direction: column; gap: 8px; background: rgba(4,14,20,.97); border: 1px solid var(--line2, rgba(62,224,255,.35)); box-shadow: 0 10px 28px rgba(0,0,0,.6); }
.mp-cam.aberta { display: flex; }
.mp-cam label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text, #f2f6f8); cursor: pointer; min-height: 28px; }
.mp-cam label small { margin-left: auto; color: var(--text3, #8fa3ad); font-size: 12px; }
.mp-cam input[type=checkbox] { width: 17px; height: 17px; accent-color: #13b6d6; margin: 0; }
.mp-cam .note { margin: 0; font-size: 12px; }
.mp-nv div { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.mp-nv input { width: 64px; padding: 6px 8px; font: 500 14px Inter, sans-serif; color: var(--text, #f2f6f8); background: var(--bg2, #06151d); border: 1px solid var(--line2, rgba(62,224,255,.35)); border-radius: 0; }
.mp-nv b { color: var(--text3, #8fa3ad); font-weight: 500; }

.mp-ic { display: inline-block; width: 12px; height: 12px; flex: none; border: 1.5px solid rgba(2,8,12,.9); box-sizing: border-box; }
.mp-ic.loja { background: #3ee0ff; }
.mp-ic.tele { background: #b48cff; transform: rotate(45deg) scale(.85); }
.mp-ic.chefe { background: #ff5d73; border-radius: 50%; width: 14px; height: 14px; }
.mp-ic.mon { background: #ffb04a; border-radius: 50%; width: 10px; height: 10px; }
.mp-ic.npc { background: #e6eef2; border-radius: 50%; width: 9px; height: 9px; }
.mp-ic.reg { background: none; border: 0; width: 14px; height: 14px; }
.mp-ic.reg::before { content: "Aa"; font: 700 11px "Rajdhani", sans-serif; color: #aaecff; }
.mp-nota { margin-top: 10px; }
.mp-nota code { font-size: 12px; }

@media (min-width: 900px) {
  .mp-area { grid-template-columns: minmax(0, 1fr) 260px; align-items: start; }
  .mp-mapa { height: min(78vh, 860px); min-height: 560px; }
  .mp-cam { position: static; display: flex; width: auto; max-width: none; box-shadow: none; }
  .mp-cam-bt { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mp-niv img { transition: none; } }

/* seletor de mapa */
.mp-mapas { display: flex; gap: 6px; overflow-x: auto; margin: 0 0 12px; padding-bottom: 2px; scrollbar-width: thin; }
.mp-mapas .mk-chip { flex: none; cursor: pointer; font-family: inherit; }
