/* One venue, slid in from the right: the map behind every venue pin and the venue page's map
   button (venue-channels-directory-map.js, gigglyOpenIsolatedVenueMap). Its header is the venue
   page topbar: circle back arrow, "Name - City - Map" centred, the mascot on the right. */
.vd-pin-map {
  position: fixed !important;
  inset: 0;
  z-index: 2147482000;
  display: flex;
  flex-direction: column;
  background: #031926;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}
.vd-pin-map.is-open {
  transform: translateX(0);
  pointer-events: auto;
}
.vd-pin-map[hidden] {
  display: none !important;
}

.vd-pin-map__bar {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 8px;
  min-height: 67px;
  padding: max(10px, env(safe-area-inset-top, 0px)) 12px 10px;
  box-sizing: border-box;
  background: #07090c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.vd-pin-map__back {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 2px solid #77aca2;
  border-radius: 50%;
  background: #13171c;
  color: #77aca2;
  font: 700 25.6px/1 -apple-system, system-ui, 'Segoe UI', sans-serif;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.vd-pin-map__back:active {
  transform: scale(0.92);
}
.vd-pin-map__title {
  margin: 0;
  min-width: 0;
  text-align: center;
  color: #f4f6f7;
  font: 700 32px/1.1 'League Spartan', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vd-pin-map__city {
  color: #77aca2;
  text-transform: none;
}
.vd-pin-map__brand {
  display: flex;
  justify-content: flex-end;
  line-height: 0;
}
.vd-pin-map__brand img {
  display: block;
  width: 34px;
  height: 40px;
  object-fit: contain;
}

.vd-pin-map__canvas {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
}
.vd-pin-map__canvas .maplibregl-map,
.vd-pin-map__canvas .leaflet-container {
  position: absolute;
  inset: 0;
}

.vd-pin-map__styles .fp-venues-map-style {
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 6px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.vd-pin-map__styles .fp-venues-map-style__btn {
  color: #fff;
  font: 700 15px/1 'League Spartan', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 16px;
}
.vd-pin-map .fp-venues-map-pin-edit-hint {
  top: auto;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 991px) {
  .vd-pin-map__bar {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    min-height: 58px;
  }
  .vd-pin-map__back {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
  .vd-pin-map__title {
    font-size: 20px;
  }
  .vd-pin-map__brand img {
    width: 28px;
    height: 33px;
  }
}
