.village-map-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.55);
}

.village-map-nav-backdrop.hidden {
  display: none;
}

.village-map-nav-sheet {
  width: 100%;
  max-width: 24rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

.village-map-nav-title {
  margin-bottom: 0.75rem;
  text-align: right;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
}

.village-map-nav-subtitle {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: #64748b;
}

.village-map-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.village-map-nav-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.75rem;
  border: 1px solid #d1fae5;
  background: #ecfdf5;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #047857;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s;
}

.village-map-nav-btn:hover {
  border-color: #6ee7b7;
  background: #d1fae5;
}

.village-map-nav-btn--muted {
  border-color: #e2e8f0;
  background: #f8fafc;
  color: #475569;
}

.village-map-nav-btn--muted:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
}

.village-map-nav-hint {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  z-index: 10;
  transform: translateX(-50%);
  border: 0;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.375rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #047857;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, box-shadow 0.15s;
}

.village-map-nav-hint:hover {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.village-public-map-wrap {
  position: relative;
}

