#hve-landing-popup-root {
  position: relative;
  z-index: 2147483000;
}

.hve-landing-popup-open {
  overflow: hidden !important;
}

.hve-landing-popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 12, 15, 0.44);
  backdrop-filter: blur(1px);
  animation: hve-popup-fade 0.18s ease both;
}

.hve-landing-popup-dialog {
  --hve-landing-popup-width: min(620px, calc(100vw - 32px));
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(var(--hve-landing-popup-width), calc(100vw - 32px));
  max-height: calc(100dvh - 36px);
  overflow: hidden;
  transform: translate(-50%, -50%);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  visibility: hidden;
  opacity: 0;
  isolation: isolate;
}

.hve-landing-popup-dialog.hve-landing-popup-ready {
  visibility: visible;
  animation: hve-popup-rise 0.22s ease both;
}

.hve-landing-popup-media {
  display: block;
  color: inherit;
  text-decoration: none;
}

.hve-landing-popup-media:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: -3px;
}

.hve-landing-popup-media picture,
.hve-landing-popup-media img {
  display: block;
  width: 100%;
  height: auto;
}

.hve-landing-popup-media img {
  max-height: none;
  background: transparent;
}

.hve-landing-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: rgba(15, 18, 21, 0.76);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
  cursor: pointer;
}

.hve-landing-popup-close svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2.25;
}

.hve-landing-popup-close:hover,
.hve-landing-popup-close:focus-visible {
  background: #111;
}

.hve-landing-popup-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 12px;
  border-top: 0;
  background: #fff;
}

.hve-landing-popup-actions button {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.hve-landing-popup-today {
  color: #4b5563;
  background: transparent;
}

.hve-landing-popup-today:hover,
.hve-landing-popup-today:focus-visible {
  color: #1f2937;
  background: #f3f5f7;
  text-decoration: none;
}

.hve-landing-popup-dismiss {
  margin-left: auto;
  border-color: #20252b !important;
  color: #fff;
  background: #20252b;
}

.hve-landing-popup-dismiss:hover,
.hve-landing-popup-dismiss:focus-visible {
  border-color: #07090b !important;
  color: #fff;
  background: #07090b;
  text-decoration: none;
}

.hve-landing-popup-close:active,
.hve-landing-popup-actions button:active {
  transform: translateY(1px);
}

.hve-landing-popup-actions button:focus-visible,
.hve-landing-popup-close:focus-visible {
  outline: 2px solid #111827;
  outline-offset: -2px;
}

@media (max-width: 767px) {
  .hve-landing-popup-dialog {
    width: min(var(--hve-landing-popup-width), calc(100vw - 24px));
    max-height: calc(100dvh - 24px);
    border-radius: 13px;
  }

  .hve-landing-popup-actions {
    min-height: 42px;
    padding: 0 12px;
  }

  .hve-landing-popup-close {
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
  }
}

@keyframes hve-popup-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes hve-popup-rise {
  from {
    opacity: 0;
    transform: translate(-50%, -47%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}
