* { box-sizing: border-box; }
body {
  margin: 0;
  overscroll-behavior-x: none;
}
.snap { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 460px; margin: 0 auto; padding: 16px; font-family: system-ui, sans-serif; }
.btn { padding: 14px 30px; font-size: 16px; font-weight: 600; color: #fff; background: #2f855a; border: 0; border-radius: 999px; cursor: pointer; box-shadow: 0 6px 18px rgba(47,133,90,.35); }
.btn:active { transform: scale(.97); }
.file { display: none; }
.preview { display: none; width: 100%; border-radius: 16px; overflow: hidden; background: #0b0b0b; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.preview--ativo { display: block; }
.photo { display: block; width: 100%; height: auto; }
.meta { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; background: rgba(0,0,0,.72); }
.coords { color: #9ae6b4; font-size: 13px; text-decoration: none; word-break: break-all; }
.time { color: #cbd5e0; font-size: 12px; }
.status { margin: 0; font-size: 14px; color: #4a5568; text-align: center; }
.modal { display: none; position: fixed; inset: 0; z-index: 9999; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.6); }
.modal--aberto { display: flex; }
.modal-box { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 420px; padding: 20px; border-radius: 18px; background: #fff; box-shadow: 0 20px 50px rgba(0,0,0,.4); font-family: system-ui, sans-serif; }
.modal-title { margin: 0; font-size: 18px; text-align: center; color: #1a202c; }
.modal-box .coords { color: #2f855a; text-align: center; }
.fechar { background: transparent; border: 0; color: #718096; font-size: 14px; cursor: pointer; }
.snap { padding-bottom: calc(var(--nav-h, 62px) + 24px); }
.navbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9998; display: flex; justify-content: space-around; align-items: stretch; gap: 2px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #e2e8f0; box-shadow: 0 -6px 20px rgba(0,0,0,.08); }
.nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; flex: 1; padding: 6px 4px; border: 0; background: transparent; color: #718096; font-family: system-ui, sans-serif; font-size: 11px; line-height: 1; cursor: pointer; border-radius: 12px; transition: color .15s; }
.nav-item:active { transform: scale(.95); }
.nav-icone { font-size: 20px; line-height: 1; }
.nav-rotulo { line-height: 1; }
.nav-item--ativo { color: #2f855a; }
.nav-item--destaque { color: #fff; background: #2f855a; box-shadow: 0 6px 18px rgba(47,133,90,.35); }
.tela { display: none; }
.tela--ativa { display: block; position: fixed; top: 0; left: 0; right: 0; bottom: var(--nav-h, 62px); z-index: 100; overflow-y: auto; background: #f7fafc; }
.mapa-topo { max-width: 760px; margin: 0 auto; padding: 18px 16px 6px; font-family: system-ui, sans-serif; }
.mapa-topo h3 { margin: 0 0 4px; font-size: 20px; color: #1a202c; }
.mapa-topo p { margin: 0; font-size: 13px; color: #718096; }
.mapa-wrap { max-width: 760px; margin: 0 auto; padding: 8px 16px 24px; }
.mapa { width: 100%; height: 66vh; min-height: 340px; border-radius: 18px; overflow: hidden; background: #0b0b0b; box-shadow: 0 14px 34px rgba(0,0,0,.22); }
.leaflet-tooltip.rotulo-cidade { background: rgba(0,0,0,.62); border: 0; border-radius: 6px; color: #fff; font-size: 11px; font-weight: 600; padding: 2px 7px; box-shadow: none; }
.leaflet-tooltip.rotulo-cidade::before { display: none; }
.hidden {
  display: none !important;
  /*position: absolute !important;
  z-index: -9999 !important;
  top: -20404px !important;
  opacity: 0 !important;*/
}
