.hit-pm-map {
  --hit-pm-color-ocean: #f5f8fb;
  --hit-pm-color-land: #8faabe;
  --hit-pm-color-land-border: #728da2;
  --hit-pm-color-marker: #dc5c52;
  --hit-pm-color-marker-active: #b93832;
  --hit-pm-color-accent-dark: #332c68;
  --hit-pm-color-navy: #102f4b;
  --hit-pm-color-muted: #526b7f;
  --hit-pm-color-card: #ffffff;
  --hit-pm-color-focus: #155e95;
  --hit-pm-color-border: #dbe4eb;
  --hit-pm-marker-size: 8px;
  --hit-pm-shadow: 0 14px 36px rgba(16, 47, 75, 0.16);
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  color: var(--hit-pm-color-navy);
  font-family: inherit;
  line-height: 1.5;
}

.hit-pm-map,
.hit-pm-map * {
  box-sizing: border-box;
}

.hit-pm-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--hit-pm-color-border);
  border-radius: 18px;
  background: var(--hit-pm-color-ocean);
}

.hit-pm-world {
  display: block;
  width: 100%;
  height: 100%;
}

.hit-pm-ocean {
  fill: var(--hit-pm-color-ocean);
}

.hit-pm-land {
  fill: var(--hit-pm-color-land);
  stroke: var(--hit-pm-color-land-border);
  stroke-width: 0.55;
  vector-effect: non-scaling-stroke;
}

.hit-pm-marker-layer {
  position: absolute;
  inset: 0;
  overflow: visible;
}

.hit-pm-map button.hit-pm-marker,
.hit-pm-map button.hit-pm-marker:hover,
.hit-pm-map button.hit-pm-marker:focus,
.hit-pm-map button.hit-pm-marker:active {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  left: var(--hit-pm-x);
  top: var(--hit-pm-y);
  display: grid;
  width: 44px;
  height: 44px;
  min-width: 0;
  min-height: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  transform: translate(-50%, -50%);
  place-items: center;
  border: 0;
  border-radius: 50%;
  background-color: transparent;
  background-image: none;
  box-shadow: none;
  color: var(--hit-pm-color-marker);
  font: inherit;
  line-height: 1;
  letter-spacing: normal;
  text-align: center;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.hit-pm-marker-dot {
  display: block;
  width: var(--hit-pm-marker-size);
  height: var(--hit-pm-marker-size);
  border: 2px solid var(--hit-pm-color-accent-dark);
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 1px #ffffff, 0 2px 7px rgba(16, 47, 75, 0.35);
  transition: transform 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.hit-pm-marker:hover .hit-pm-marker-dot,
.hit-pm-marker[aria-expanded="true"] .hit-pm-marker-dot,
.hit-pm-marker[data-hit-pm-carousel-active="true"] .hit-pm-marker-dot {
  color: var(--hit-pm-color-marker-active);
  transform: scale(1.28);
  box-shadow: 0 0 0 1px #ffffff, 0 0 0 5px rgba(51, 44, 104, 0.16), 0 3px 8px rgba(16, 47, 75, 0.32);
}

.hit-pm-map button.hit-pm-marker:focus-visible {
  outline: 3px solid var(--hit-pm-color-focus);
  outline-offset: -4px;
}

.hit-pm-connector {
  position: absolute;
  z-index: 4;
  display: block;
  height: 1px;
  border-radius: 999px;
  background: var(--hit-pm-color-accent-dark);
  opacity: 0;
  pointer-events: none;
  transform: rotate(var(--hit-pm-connector-angle, 0rad)) scaleX(0);
  transform-origin: 0 50%;
}

.hit-pm-connector::after {
  position: absolute;
  top: 50%;
  right: -2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--hit-pm-color-accent-dark);
  content: '';
  transform: translateY(-50%);
}

.hit-pm-connector--visible {
  opacity: 0.88;
  transform: rotate(var(--hit-pm-connector-angle, 0rad)) scaleX(1);
}

.hit-pm-connector--reveal {
  animation: hit-pm-connector-reveal 360ms cubic-bezier(0.22, 0.74, 0.28, 1) both;
}

@keyframes hit-pm-connector-reveal {
  from {
    opacity: 0;
    transform: rotate(var(--hit-pm-connector-angle, 0rad)) scaleX(0);
  }

  to {
    opacity: 0.88;
    transform: rotate(var(--hit-pm-connector-angle, 0rad)) scaleX(1);
  }
}

.hit-pm-card {
  position: absolute;
  z-index: 5;
  width: min(340px, calc(100% - 24px));
  max-height: min(390px, calc(100% - 24px));
  overflow: auto;
  padding: 22px 48px 22px 24px;
  border: 1px solid var(--hit-pm-color-accent-dark);
  border-radius: 12px;
  background: var(--hit-pm-color-card);
  box-shadow: var(--hit-pm-shadow);
  color: var(--hit-pm-color-navy);
  overscroll-behavior: contain;
  pointer-events: auto;
  transform-origin: var(--hit-pm-origin-x, 50%) var(--hit-pm-origin-y, 50%);
}

.hit-pm-card[hidden] {
  display: none;
}

.hit-pm-card--reveal {
  animation: hit-pm-card-reveal 440ms cubic-bezier(0.18, 0.78, 0.24, 1) 70ms both;
}

@keyframes hit-pm-card-reveal {
  from {
    opacity: 0.08;
    transform: scale(0.72);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hit-pm-map button.hit-pm-card-close,
.hit-pm-map button.hit-pm-card-close:hover,
.hit-pm-map button.hit-pm-card-close:focus,
.hit-pm-map button.hit-pm-card-close:active {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 36px;
  height: 36px;
  min-width: 0;
  min-height: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  background-color: transparent;
  background-image: none;
  box-shadow: none;
  color: var(--hit-pm-color-navy);
  font: inherit;
  font-size: 26px;
  line-height: 1;
  letter-spacing: normal;
  text-align: center;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  transform: none;
  cursor: pointer;
}

.hit-pm-map button.hit-pm-card-close:hover,
.hit-pm-map button.hit-pm-card-close:active {
  border-color: var(--hit-pm-color-border);
  background-color: var(--hit-pm-color-ocean);
  background-image: none;
  box-shadow: none;
  color: var(--hit-pm-color-navy);
}

.hit-pm-map button.hit-pm-card-close:focus-visible {
  outline: 3px solid var(--hit-pm-color-focus);
  outline-offset: 2px;
}

.hit-pm-card-kicker {
  margin: 0 0 4px;
  color: var(--hit-pm-color-marker-active);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hit-pm-card-title {
  margin: 0;
  color: var(--hit-pm-color-navy);
  font: inherit;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.hit-pm-card-details {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.hit-pm-card-details > div {
  display: grid;
  grid-template-columns: minmax(92px, 0.36fr) minmax(0, 1fr);
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--hit-pm-color-border);
}

.hit-pm-card-details dt,
.hit-pm-card-details dd {
  margin: 0;
}

.hit-pm-card-details dt {
  color: var(--hit-pm-color-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hit-pm-card-details dd {
  color: var(--hit-pm-color-navy);
  font-size: 14px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.hit-pm-mobile-nav {
  display: none;
}

.hit-pm-map button.hit-pm-mobile-nav-button,
.hit-pm-map button.hit-pm-mobile-nav-button:hover,
.hit-pm-map button.hit-pm-mobile-nav-button:focus,
.hit-pm-map button.hit-pm-mobile-nav-button:active {
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  width: 44px;
  height: 44px;
  min-width: 0;
  min-height: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  place-items: center;
  border: 1px solid var(--hit-pm-color-accent-dark);
  border-radius: 50%;
  background-color: var(--hit-pm-color-card);
  background-image: none;
  box-shadow: none;
  color: var(--hit-pm-color-accent-dark);
  font: inherit;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: normal;
  text-align: center;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  transform: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.hit-pm-map button.hit-pm-mobile-nav-button:hover,
.hit-pm-map button.hit-pm-mobile-nav-button:active {
  background-color: var(--hit-pm-color-ocean);
  border-color: var(--hit-pm-color-accent-dark);
  box-shadow: none;
  color: var(--hit-pm-color-accent-dark);
}

.hit-pm-map button.hit-pm-mobile-nav-button:focus-visible {
  outline: 3px solid var(--hit-pm-color-focus);
  outline-offset: 2px;
}

.hit-pm-map button.hit-pm-mobile-nav-button:disabled {
  cursor: default;
  opacity: 0.45;
}

.hit-pm-mobile-counter {
  color: var(--hit-pm-color-navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}

.hit-pm-notice {
  margin: 12px 0;
  color: var(--hit-pm-color-navy, #102f4b);
  font-family: inherit;
}

.hit-pm-instruction {
  margin: 14px 2px 0;
  color: var(--hit-pm-color-navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.45;
  text-transform: uppercase;
}

.hit-pm-instruction-mobile {
  display: none;
}

@media (hover: none), (pointer: coarse), (max-width: 820px) {
  .hit-pm-map button.hit-pm-marker,
  .hit-pm-map button.hit-pm-marker:hover,
  .hit-pm-map button.hit-pm-marker:focus,
  .hit-pm-map button.hit-pm-marker:active {
    pointer-events: none;
    cursor: default;
  }

  .hit-pm-marker-dot {
    opacity: 0.42;
  }

  .hit-pm-map .hit-pm-marker[aria-expanded="true"] .hit-pm-marker-dot {
    color: var(--hit-pm-color-marker-active);
    opacity: 1;
    transform: scale(1.7);
    box-shadow: 0 0 0 1px #ffffff, 0 0 0 6px rgba(51, 44, 104, 0.2), 0 3px 9px rgba(16, 47, 75, 0.35);
  }

  .hit-pm-card {
    position: relative;
    width: 100%;
    max-height: min(340px, 55vh);
    margin-top: 12px;
    padding: 20px 46px 20px 18px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(16, 47, 75, 0.13);
  }

  .hit-pm-card-details > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .hit-pm-mobile-nav {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 10px;
    padding: 2px 4px;
  }

  .hit-pm-instruction-desktop {
    display: none;
  }

  .hit-pm-instruction-mobile {
    display: inline;
  }
}

@media (max-width: 480px) {
  .hit-pm-stage {
    border-radius: 12px;
  }

  .hit-pm-card-title {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hit-pm-marker-dot {
    transition: none;
  }

  .hit-pm-card--reveal {
    animation: none;
  }

  .hit-pm-connector--reveal {
    animation: none;
    opacity: 0.88;
    transform: rotate(var(--hit-pm-connector-angle, 0rad)) scaleX(1);
  }
}
