.hblm2-map { margin: 1.5rem 0; }
.hblm2-map__form { display: flex; gap: .75rem; align-items: flex-end; flex-wrap: wrap; margin-bottom: 1rem; }
.hblm2-map__field { display: flex; flex-direction: column; gap: .25rem; }
.hblm2-map__field label { font-size: .85rem; font-weight: 700; }
.hblm2-map__field select { min-width: 12rem; padding: .4rem .55rem; }
.hblm2-map__field--league select { min-width: min(100%, 28rem); }
.hblm2-map__title { margin: .5rem 0; }
.hblm2-map__summary { display: flex; gap: .5rem; flex-wrap: wrap; margin: .75rem 0; }
.hblm2-map__summary span { border: 1px solid currentColor; border-radius: 999px; padding: .15rem .6rem; font-size: .9rem; opacity: .85; }
.hblm2-map__toolbar { margin: .75rem 0; }
.hblm2-map__button { border: 1px solid #bbb; background: #fff; border-radius: .35rem; padding: .45rem .75rem; cursor: pointer; }
.hblm2-map__button--small { padding: .35rem .6rem; }
.hblm2-map__layout { display: grid; grid-template-columns: minmax(240px, 30%) minmax(0, 1fr); gap: 1rem; align-items: stretch; }
.hblm2-map--fixed .hblm2-map__layout { grid-template-columns: minmax(250px, 300px) minmax(0, 1fr); }
.hblm2-map__sidebar { border: 1px solid #ddd; border-radius: .5rem; background: #fff; overflow: hidden; max-height: 70vh; display: flex; flex-direction: column; }
.hblm2-map--fixed .hblm2-map__sidebar { max-height: none; }
.hblm2-map__sidebar-title { margin: 0; padding: .75rem 1rem; border-bottom: 1px solid #e5e5e5; font-size: 1rem; background: #f7f7f7; }
.hblm2-map__team-list { list-style: none; margin: 0; padding: .25rem; overflow: auto; }
.hblm2-map--fixed .hblm2-map__team-list { overflow: visible; }
.hblm2-map__team-item { margin: 0; padding: 0; }
.hblm2-map__team-link { width: 100%; display: flex; gap: .6rem; align-items: center; text-align: left; border: 0; border-radius: .4rem; background: transparent; padding: .5rem .6rem; color: inherit; cursor: pointer; }
.hblm2-map__team-link:hover, .hblm2-map__team-link:focus, .hblm2-map__team-link.is-active { background: #eef5fb; outline: none; }
.hblm2-map__team-link--disabled { cursor: default; opacity: .55; flex-wrap: wrap; }
.hblm2-map__team-link--disabled:hover { background: transparent; }
.hblm2-map__team-logo { flex: 0 0 auto; width: 28px; height: 28px; object-fit: contain; border-radius: .2rem; background: #fff; }
.hblm2-map__team-logo--empty { display: inline-block; background: #e9eef3; }
.hblm2-map__team-number { flex: 0 0 auto; min-width: 1.85rem; height: 1.85rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: #1d6fb8; color: #fff; font-size: .82rem; font-weight: 700; line-height: 1; }
.hblm2-map__team-name { min-width: 0; font-size: .95rem; line-height: 1.2; font-weight: 600; }
.hblm2-map__team-note { margin-left: calc(28px + 1.85rem + 1.2rem); flex-basis: 100%; font-size: .75rem; opacity: .7; }
.hblm2-map__map-column { min-width: 0; }
.hblm2-map__map-title { margin: 0 0 .5rem; font-size: 1.05rem; font-weight: 700; }
.hblm2-map__canvas { min-height: 580px; height: 70vh; border: 1px solid #ddd; border-radius: .5rem; overflow: hidden; background: #f7f7f7; }
.hblm2-map--fixed .hblm2-map__canvas { min-height: 520px; height: clamp(520px, 58vh, 680px); }
.hblm2-map__marker-icon { background: transparent; border: 0; }
.hblm2-map__marker-icon span { width: 32px; height: 32px; border-radius: 999px 999px 999px 0; transform: rotate(-45deg); display: flex; align-items: center; justify-content: center; background: #1d6fb8; color: #fff; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.hblm2-map__marker-icon b { transform: rotate(45deg); display: block; font-weight: 700; font-size: 14px; line-height: 1; }

.hblm2-map__circle-marker { filter: drop-shadow(0 2px 5px rgba(0,0,0,.35)); }
.hblm2-map__number-tooltip {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
  pointer-events: none;
}
.hblm2-map__number-tooltip::before { display: none; }

.hblm2-map__details { margin-top: 1rem; }
.hblm2-map__details ul { margin-top: .5rem; }
.hblm2-map__leaflet-missing { padding: 1rem; border: 1px solid #ddd; border-radius: .5rem; background: #fff8e5; }
.hblm2-map__notice { padding: .75rem 1rem; border: 1px solid #ddd; border-radius: .5rem; background: #fff8e5; margin-bottom: 1rem; }
@media (max-width: 900px) {
  .hblm2-map__layout { grid-template-columns: 1fr; }
  .hblm2-map__sidebar { max-height: none; }
  .hblm2-map__canvas { height: 60vh; }
}

.hblm2-map__number-label-icon {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none !important;
  z-index: 700 !important;
}
.hblm2-map__number-label-icon span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  text-align: center !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.45) !important;
  pointer-events: none !important;
}


.hblm2-map .leaflet-marker-icon {
  max-width: none !important;
}
.hblm2-map .leaflet-marker-icon.is-hblm2-highlighted {
  filter: drop-shadow(0 0 7px rgba(29, 111, 184, .85));
  transform-origin: bottom center;
}
.hblm2-map__number-tooltip--pin {
  min-width: 1.45rem;
  height: 1.45rem;
  padding: 0 .25rem;
  border-radius: 999px;
  background: #1d6fb8 !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  box-shadow: 0 1px 4px rgba(0,0,0,.35) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* v0.6.19: robuste nummerierte Marker auch bei mehreren Karten auf einer Seite */
.hblm2-map .hblm2-map__marker-icon {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.hblm2-map .hblm2-map__marker-icon span {
  box-sizing: border-box !important;
}
.hblm2-map .hblm2-map__marker-icon.is-hblm2-highlighted span,
.hblm2-map .leaflet-marker-icon.is-hblm2-highlighted span {
  transform: scale(1.18);
}

/* v0.6.23: PNG-Kartengrafik-Export */
.hblm2-map__toolbar { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.hblm2-map__toolbar--fixed { margin-top: 0; }
.hblm2-map__button { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; line-height: 1.2; }
.hblm2-map__button--primary { border-color: #1d6fb8; background: #1d6fb8; color: #fff; }
.hblm2-map__button--primary:hover, .hblm2-map__button--primary:focus { background: #155b97; color: #fff; }
