.lbmap-layer[hidden] { display: none !important; }
.lbmap-layer {
  position: fixed;
  z-index: 100002;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: 1rem;
  box-sizing: border-box;
  background: rgba(0, 0, 10, .72);
  overscroll-behavior: contain;
}
.lbmap-card {
  position: relative;
  isolation: isolate;
  width: min(94vw, var(--lbmap-vh), 960px);
  aspect-ratio: var(--lbmap-ratio, 1.3333);
  flex: none;
  color: #f5f7ff;
  font-family: Georgia, 'Times New Roman', serif;
  text-align: center;
}
@supports (height: 100dvh) {
  .lbmap-card { width: min(94vw, var(--lbmap-dvh), 960px); }
}
.lbmap-master {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.lbmap-close {
  position: absolute;
  z-index: 2;
  left: var(--lbmap-close-x, 89%);
  top: var(--lbmap-close-y, 22%);
  transform: translate(-50%, -50%);
  width: max(44px, 9%);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}
.lbmap-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.lbmap-copy {
  position: absolute;
  inset: 33% 18% 16%;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding: 0 2%;
  box-sizing: border-box;
  text-shadow: 0 1px 4px #02071d, 0 0 7px #142d69;
}
.lbmap-copy:focus-visible { outline: 1px solid #b9d7ff; }
.lbmap-copy h2 {
  margin: 0 0 .65em;
  color: #fff;
  font: 600 clamp(17px, 2.5vw, 30px)/1.2 Georgia, 'Times New Roman', serif;
}
.lbmap-copy p {
  margin: 0 0 1em;
  color: #f5f7ff;
  font-size: clamp(13px, 1.7vw, 20px);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.lbmap-action {
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  padding: .45em 1.3em;
  border: 1px solid #a4b9ff;
  border-radius: 2em;
  background: #192451;
  box-shadow: 0 0 12px rgba(124, 104, 255, .6);
  color: #fff;
  font-size: clamp(13px, 1.5vw, 19px);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.lbmap-action:hover, .lbmap-action:focus-visible {
  color: #fff;
  background: #303c7a;
  outline: 2px solid #ecedff;
  outline-offset: 2px;
}
@media (max-width: 600px) {
  .lbmap-layer { padding: .5rem; }
  .lbmap-copy { inset: 32% 16% 13%; }
  .lbmap-copy h2 { font-size: clamp(15px, 4.4vw, 21px); margin-bottom: .35em; }
  .lbmap-copy p { font-size: clamp(12px, 3.4vw, 15px); line-height: 1.2; }
}
