* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #1a1a2e;
}

#map {
  width: 100vw;
  height: 100vh;
  filter: saturate(0.6) brightness(1.05);
}

#controls {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  z-index: 1;
}

#controls button {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: rgba(30, 30, 50, 0.85);
  color: #e0e0e0;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s;
}

#controls button:hover {
  background: rgba(60, 60, 90, 0.9);
  border-color: rgba(255, 255, 255, 0.4);
}

.marker {
  width: 14px;
  height: 14px;
  background: #e74c3c;
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s;
}

.marker:hover {
  transform: scale(1.4);
}

.maplibregl-popup-content {
  background: rgba(25, 25, 40, 0.95);
  color: #e0e0e0;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  backdrop-filter: blur(8px);
}

.maplibregl-popup-content h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
}

.maplibregl-popup-content .date {
  display: block;
  font-size: 11px;
  color: #999;
  margin-bottom: 6px;
}

.maplibregl-popup-content p {
  margin: 0 0 6px;
  line-height: 1.4;
}

.maplibregl-popup-content img {
  width: 100%;
  border-radius: 4px;
  margin-top: 6px;
}

.maplibregl-popup-tip {
  border-top-color: rgba(25, 25, 40, 0.95);
}
