:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  background:
    radial-gradient(circle at top left, rgba(245, 179, 71, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(49, 181, 255, 0.16), transparent 24%),
    linear-gradient(180deg, #f7fbfe 0%, #edf5fb 100%);
}

body {
  overflow: hidden;
}

#map {
  width: 100%;
  height: 100%;
}

.leaflet-container {
  position: relative;
  background: linear-gradient(180deg, #bfe5f5 0%, #d8eff8 100%);
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.leaflet-container::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.leaflet-tile-pane {
  filter: saturate(1.06) contrast(1.03) brightness(1.08);
}

.sound-marker {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #fff8d7 0%, #ffd166 28%, #ff7a3d 68%, #d94a2b 100%);
  box-shadow:
    0 0 0 1px rgba(8, 21, 45, 0.26),
    0 0 0 5px rgba(255, 255, 255, 0.34),
    0 0 14px rgba(8, 21, 45, 0.16),
    0 12px 20px rgba(8, 21, 45, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.82);
}

.leaflet-popup-content-wrapper {
  border-radius: 18px;
  background: rgba(255, 248, 239, 0.96);
  color: #08152d;
  box-shadow: 0 22px 54px rgba(8, 21, 45, 0.18);
  border: 1px solid rgba(8, 21, 45, 0.08);
}

.leaflet-popup-tip {
  background: rgba(255, 248, 239, 0.96);
}

.leaflet-popup-content {
  margin: 14px 16px;
  min-width: 180px;
}

.popup-title {
  font-weight: 800;
  font-size: 1rem;
}

.popup-meta {
  margin-top: 0.3rem;
  color: rgba(8, 21, 45, 0.62);
  font-size: 0.88rem;
  line-height: 1.55;
}

.popup-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.75rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: #08152d;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.leaflet-top.leaflet-left {
  top: 16px;
  left: 16px;
}

.leaflet-control-zoom {
  border: 1px solid rgba(8, 21, 45, 0.08) !important;
  border-radius: 18px !important;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(8, 21, 45, 0.14);
}

.leaflet-control-zoom a {
  width: 2.7rem !important;
  height: 2.7rem !important;
  line-height: 2.55rem !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: #08152d !important;
  border-bottom-color: rgba(8, 21, 45, 0.08) !important;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.leaflet-control-zoom a:hover,
.leaflet-control-zoom a:focus-visible {
  background: #ffffff !important;
  color: #ea6a2e !important;
}

.leaflet-control-zoom a:last-child {
  border-bottom: 0 !important;
}

.leaflet-bottom.leaflet-right {
  display: none;
}
