html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

#map {
  height: 100vh;
}

/* Marker base */
.attractor-marker .marker-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #222;
  background: #ffcc00;
}

/* Popup */
.popup-title {
  font-weight: 700;
  margin-bottom: 2px;
}

.popup-subtitle {
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.popup__row {
  margin-top: 4px;
}

.popup-attractor,
.popup-category,
.popup-notes {
  font-size: 0.85rem;
}
.leaflet-marker-icon {
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.7));
}

/* Legend (glass) */
.legend {
  display: flex;
  flex-direction: column;
  /*align-items: stretch;*/
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.35;
  color: #0f172a;
  max-width: 300px;
  flex-wrap: nowrap;
}

.legend--glass {
  background: rgba(248, 250, 252, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.2s ease;
  will-change: transform;
}

.legend--glass:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.35);
}

.legend__title {
  width: 100%;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
}

.legend__item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
  white-space: normal;
  flex: 0 0 100%;
}

.legend__item img {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  object-fit: contain;
  display: block;
}

.legend__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}