﻿#lp-host {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  padding: 16px;
}
#lp-host.open {
  display: flex;
}

#lp-panel {
  width: min(980px, calc(100vw - 24px));
  height: min(860px, calc(100vh - 24px));
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  position: relative;
}

#lp-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* X vermelho (sempre visível) */
.lp-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.lp-close svg {
  width: 26px;
  height: 26px;
  display: block;
}
.lp-close line {
  stroke: #d40000;
  stroke-width: 4;
  stroke-linecap: round;
}
.lp-close:hover {
  opacity: 0.9;
}
.lp-close:active {
  transform: scale(0.98);
}
.lp-close:focus-visible {
  outline: 3px solid rgba(212, 0, 0, 0.35);
  outline-offset: 2px;
  border-radius: 10px;
}
