
html, body { height: 100%; }
#map { background: #0b0d14;  }

.mk-pin-wrap { background: none !important; border: none !important; }
.mk-pin {
  position: relative; display: block; width: 46px; height: 58px; cursor: pointer;
}
.mk-pin::before {
  content: ""; position: absolute; left: 1px; top: 3px; width: 38px; height: 38px;
  background: var(--pin-color, #3b82f6);
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 5px 12px rgba(0, 0, 0, .5);
  transition: transform .15s ease;
}
.mk-pin i {
  position: absolute; left: 23px; top: 25px; width: 13px; height: 13px;
  margin: -6.5px 0 0 -6.5px; border-radius: 50%; background: #fff;
}
.mk-pin:hover::before, .mk-pin:focus-visible::before { transform: rotate(-45deg) scale(1.12); }

.mk-pin.has-emoji i { display: none; }
.mk-emoji {
  position: absolute; left: 23px; top: 25px; width: 40px; height: 40px;
  margin: -20px 0 0 -20px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; line-height: 1; z-index: 1; pointer-events: none;
}

.mk-loc-wrap {
  display: flex; align-items: center; justify-content: center;
  background: none !important; border: none !important;
}
.mk-loc-label {
  white-space: nowrap; cursor: pointer; color: #fff; font-weight: 800;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px; letter-spacing: .4px; line-height: 26px;
  text-shadow: 0 0 7px rgba(8, 9, 14, .9), -1.5px -1.5px 2px rgba(8, 9, 14, .85),
    1.5px -1.5px 2px rgba(8, 9, 14, .85), -1.5px 1.5px 2px rgba(8, 9, 14, .85),
    1.5px 1.5px 2px rgba(8, 9, 14, .85);
}
.mk-loc-label.active {
  background: rgba(11, 13, 20, .88); padding: 0 12px;
  box-shadow: inset 2px 0 0 #ff2b2b, 0 0 0 1px rgba(255, 43, 43, .55), 0 4px 12px rgba(0, 0, 0, .5);
}

.mk-pin-selected i { background: var(--pin-color); box-shadow: inset 0 0 0 2px #fff; }
.mk-pin-selected::after {
  content: ""; position: absolute; left: 23px; top: 25px; width: 40px; height: 40px;
  margin: -20px 0 0 -20px; border-radius: 50%;
  border: 3px solid var(--pin-color, #fff);
  animation: mkPulse 1.5s ease-out infinite;
}
@keyframes mkPulse {
  0%   { transform: scale(.65); opacity: .95; }
  80%, 100% { transform: scale(1.45); opacity: 0; }
}

.mk-popup .leaflet-popup-content-wrapper {
  background: rgba(11, 13, 20, .94); color: #f4f6fb;
  border-radius: 0; border: 1px solid rgba(255, 255, 255, .14); border-top: 2px solid #ff2b2b;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .55);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.mk-popup .leaflet-popup-tip { background: #0e1018; }
.mk-popup .leaflet-popup-content { margin: 14px 16px; min-width: 170px; line-height: 1.4; }
.mk-popup h3 { font: 600 16px/1.3 "Space Grotesk", "Inter", system-ui, sans-serif; letter-spacing: -0.01em; color: #f4f6fb; margin: 9px 0 2px; }
.mk-badge {
  display: inline-block; font: 600 10px/1.2 "JetBrains Mono", ui-monospace, Consolas, monospace; letter-spacing: .12em;
  text-transform: uppercase; padding: 3px 8px;
  background: var(--badge, #94a3b8); color: #fff;
  text-shadow: 0 0 2px rgba(0, 0, 0, .85), 0 1px 2px rgba(0, 0, 0, .6);
}
.mk-popup p { margin: 6px 0 0; font-size: 12.5px; color: rgba(244, 246, 251, .72); }

.mk-tip {
  background: rgba(11, 13, 20, .92); color: #f4f6fb; border-radius: 0;
  border: 1px solid rgba(255, 255, 255, .16); border-left: 2px solid #ff2b2b; font-size: 12px; font-weight: 600;
  padding: 4px 9px; box-shadow: 0 4px 12px rgba(0, 0, 0, .4);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.mk-tip.leaflet-tooltip-top::before { border-top-color: #0e1018; }

.leaflet-bar a {
  background: rgba(11, 13, 20, .88); color: #f4f6fb; border-bottom: 1px solid rgba(255, 255, 255, .1) !important;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.leaflet-bar a:last-child { border-bottom: 0 !important; }
.leaflet-bar a:focus { background: rgba(11, 13, 20, .88); color: #f4f6fb; }
.leaflet-bar a:hover,
.leaflet-bar a:focus-visible { background: rgba(255, 43, 43, .18); color: #fff; box-shadow: inset 2px 0 0 #ff2b2b; outline: none; }
.leaflet-bar,
.leaflet-bar a { border-radius: 0 !important; }
.leaflet-bar { border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 6px 18px rgba(0, 0, 0, .4); }
.leaflet-control-attribution {
  background: rgba(11, 13, 20, .72) !important; color: rgba(244, 246, 251, .45); font-size: 10px;
}
.leaflet-control-attribution a { color: rgba(244, 246, 251, .7); }
