.lgl-wrap,
.lgl-wrap * {
  box-sizing: border-box;
}

.lgl-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  isolation: isolate;
}

.lgl-frame {
  --lgl-marker-color: #1b70f2;
  --lgl-marker-size: 29px;
  position: relative;
  width: 100%;
  max-width: 650px;
  aspect-ratio: 1 / 1;
  min-width: 0;
  margin: 0;
  overflow: visible;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.lgl-earth-fallback,
.lgl-canvas,
.lgl-marker-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lgl-earth-fallback {
  pointer-events: none;
  background-image: var(--lgl-fallback);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 98% 98%;
  opacity: 1;
  transition: opacity .16s ease;
}

.lgl-frame.lgl-texture-loaded .lgl-earth-fallback {
  opacity: 0;
}

.lgl-canvas {
  display: block;
  pointer-events: none;
  opacity: 0;
  transition: opacity .16s ease;
}

.lgl-frame.lgl-texture-loaded .lgl-canvas {
  opacity: 1;
}

.lgl-frame.lgl-can-drag {
  cursor: grab;
}

.lgl-frame.lgl-is-dragging {
  cursor: grabbing;
}

.lgl-marker-layer {
  z-index: 2;
  pointer-events: none;
}

.lgl-marker {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: calc(var(--lgl-marker-size) * 1.25);
  height: calc(var(--lgl-marker-size) * 1.55);
  padding: 0;
  margin: 0;
  border: 0 !important;
  border-radius: 4px;
  outline: none;
  background: transparent !important;
  color: var(--lgl-marker-color) !important;
  text-decoration: none;
  pointer-events: auto;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  left: 0;
  top: 0;
  --lgl-marker-scale: 1;
  transform-origin: center 84%;
  box-shadow: none !important;
  filter: drop-shadow(0 2px 2px rgba(31, 86, 163, .13));
  transition: filter .14s ease, opacity .08s ease;
  will-change: transform;
}

.lgl-marker svg {
  display: block;
  width: var(--lgl-marker-size);
  height: calc(var(--lgl-marker-size) * 1.45);
  overflow: visible;
}

.lgl-marker:hover,
.lgl-marker:focus-visible,
.lgl-marker.lgl-active {
  z-index: 8 !important;
  filter: drop-shadow(0 4px 4px rgba(30, 103, 216, .28));
  --lgl-marker-scale: 1.18;
}

.lgl-marker:focus-visible {
  outline: 2px solid #2768f4;
  outline-offset: 2px;
}

.lgl-marker[hidden],
.lgl-card[hidden],
.lgl-card [hidden] {
  display: none !important;
}

.lgl-card {
  position: absolute;
  z-index: 10;
  display: block;
  width: 385px;
  max-width: calc(100% - 20px);
  padding: 23px 25px 22px;
  margin: 0;
  overflow-wrap: anywhere;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 20px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 12px 38px rgba(57, 78, 104, .075), 0 3px 16px rgba(71,92,123,.035);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  color: #707070;
  text-align: left;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  cursor: default;
  user-select: text;
  -webkit-user-select: text;
  animation: lgl-card-enter .18s ease both;
}

.lgl-card-title {
  padding-right: 24px;
  margin: 0 0 1px;
  color: #222;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 650;
  letter-spacing: -.45px;
}

.lgl-card-company {
  color: #2e2e2e;
  font-size: 15px;
  line-height: 1.48;
  font-weight: 450;
  margin: 0 0 5px;
}

.lgl-card-address,
.lgl-card-phone,
.lgl-card-email,
.lgl-card-link {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.55;
  white-space: pre-line;
  margin: 0;
}

.lgl-card-address {
  margin: 5px 0 13px;
}

.lgl-card-phone {
  margin-top: 3px;
}

.lgl-card-email a,
.lgl-card-link a {
  color: #2763ef;
  text-decoration: none;
  transition: color .2s;
}

.lgl-card a:hover,
.lgl-card a:focus-visible {
  color: #154bc7;
  text-decoration: underline;
}

.lgl-card-link {
  margin-top: 6px;
}

.lgl-card-close {
  position: absolute;
  top: 12px;
  right: 13px;
  width: 30px;
  height: 30px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #8c939c;
  font-size: 25px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
  opacity: .65;
}

.lgl-card-close:hover,
.lgl-card-close:focus-visible {
  color: #222;
  background: #f2f5fb;
  opacity: 1;
}

@keyframes lgl-card-enter {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767px) {
  .lgl-frame {
    max-width: 100%;
  }

  .lgl-card {
    width: min(330px, calc(100% - 16px));
    max-width: calc(100% - 16px);
    padding: 15px 18px 16px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(50, 74, 100, .13);
  }

  .lgl-card-title {
    font-size: 17px;
  }

  .lgl-card-company {
    font-size: 13px;
  }

  .lgl-card-address,
  .lgl-card-phone,
  .lgl-card-email,
  .lgl-card-link {
    font-size: 12px;
  }

  .lgl-card-address {
    margin-bottom: 7px;
  }

  .lgl-card-close {
    top: 6px;
    right: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lgl-earth-fallback,
  .lgl-canvas,
  .lgl-marker {
    transition: none !important;
  }
  .lgl-card {
    animation: none !important;
  }
}
