/* Map regressions fixed in Vector 0.14.17. */
.geo-map .geo-marker-host {
  overflow: visible !important;
}

.geo-map .geo-marker-offset {
  position: relative;
  display: block;
  width: 46px;
  height: 46px;
  transform: translate(var(--marker-offset-x, 0), var(--marker-offset-y, 0));
}

.geo-map .geo-marker-offset.decluttered::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 23px;
  top: 23px;
  width: var(--leader-length);
  height: 1px;
  background: rgba(51, 120, 181, 0.5);
  transform-origin: left center;
  transform: rotate(var(--leader-angle));
}

.geo-map .geo-marker-offset .geo-event-button {
  z-index: 1;
}

@media (min-width: 1201px) {
  .map-inspector {
    top: clamp(235px, 27vh, 260px);
    bottom: 16px;
    height: auto;
    max-height: calc(100% - clamp(235px, 27vh, 260px) - 16px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }

  .map-inspector .inspector-actions {
    position: sticky;
    top: 0;
    z-index: 5;
    flex: none;
    margin-top: 10px;
    padding: 0 0 9px;
    border-bottom: 1px solid var(--line);
    background: rgba(251, 252, 253, 0.97);
  }

  [data-theme="dark"] .map-inspector .inspector-actions {
    background: rgba(24, 29, 33, 0.97);
  }
}
