.kk8mys-popup {
  width: min(430px, calc(100vw - 28px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 18px;
  background: #061a66;
  color: #fff;
  box-shadow: 0 24px 70px #00103499;
}
.kk8mys-popup::backdrop { background: #031029bd; }
.kk8mys-popup-close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #061a66e8;
  color: #fff;
  font: 700 27px/1 Arial, sans-serif;
  cursor: pointer;
}
.kk8mys-popup-slide { display: block; line-height: 0; }
.kk8mys-popup-slide[hidden] { display: none; }
.kk8mys-popup-slide img {
  display: block;
  width: 100%;
  max-height: calc(100dvh - 88px);
  height: auto;
  border-radius: 18px 18px 0 0;
  object-fit: contain;
}
.kk8mys-popup-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 54px;
  padding: 5px 12px;
  font: 700 15px/1 Arial, sans-serif;
}
.kk8mys-popup-controls button {
  width: 38px;
  height: 38px;
  border: 1px solid #bced22;
  border-radius: 50%;
  background: #bced22;
  color: #092467;
  font: 700 29px/1 Arial, sans-serif;
  cursor: pointer;
}
.kk8mys-popup button:focus-visible,
.kk8mys-popup a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.lx .lx-slide.kk8mys-hero::before { display: none; }
.lx .lx-slide.kk8mys-hero > img { object-position: left center; }
.kk8mys-hero-link { position: absolute; z-index: 2; inset: 0; }
.kk8mys-hero-link:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
