/* layered: layer key and MapLibre controls restyled to match the site. */

.layers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: #444;
}

.layers li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.layers li.on {
  color: var(--fg);
}

.layers .swatch {
  width: 10px;
  height: 10px;
  background: #222;
}

.maplibregl-map {
  font-family: inherit;
}

.maplibregl-ctrl-group {
  background: #000;
  border: 1px solid var(--faint);
  border-radius: 0;
  box-shadow: none !important;
}

.maplibregl-ctrl-group button + button {
  border-top-color: var(--faint);
}

.maplibregl-ctrl-group button .maplibregl-ctrl-icon {
  filter: invert(1);
}

.maplibregl-ctrl-group button:disabled .maplibregl-ctrl-icon {
  opacity: 0.3;
}

.maplibregl-ctrl.maplibregl-ctrl-attrib {
  background: rgba(0, 0, 0, 0.7);
  color: #aaa;
  font-size: 10px;
  font-weight: 700;
}

.maplibregl-ctrl-attrib a {
  color: #ccc;
}

.maplibregl-ctrl-attrib a:hover {
  color: #fff;
}

.answer-marker {
  width: 14px;
  height: 14px;
  background: #fff;
  border: 2px solid #000;
  border-radius: 50%;
}
