.home-popup-runtime {
  position: fixed;
  inset: 0;
  z-index: 2060;
  display: grid;
  place-items: center;
  padding: 16px;
}

.home-popup-runtime[hidden] { display: none; }

.home-popup-runtime__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgb(0 0 0 / 72%);
  backdrop-filter: blur(5px);
}

.home-popup-runtime__dialog {
  position: relative;
  width: min(420px, 100%);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 26px;
  background: #061b17;
  color: #fff;
  box-shadow: 0 30px 90px rgb(0 0 0 / 70%), 0 8px 28px rgb(0 0 0 / 45%);
}

.home-popup-runtime__close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgb(3 14 12 / 58%);
  color: #fff;
  font-size: 27px;
  line-height: 1;
}

.home-popup-runtime__content { overflow: hidden; border-radius: 26px 26px 0 0; }
.home-popup-runtime__content > :first-child { margin-top: 0; }
.home-popup-runtime__content > :last-child { margin-bottom: 0; }

.home-popup-runtime__countdown {
  margin: 12px 20px 0;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgb(0 0 0 / 28%);
  color: rgb(255 255 255 / 76%);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.home-popup-runtime__widgets { padding: 12px 18px 0; }
.home-popup-runtime__payment-methods { display: flex; flex-wrap: wrap; gap: 7px; }
.home-popup-runtime__payment-methods span {
  display: inline-grid;
  min-width: 44px;
  min-height: 24px;
  place-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgb(255 255 255 / 8%);
  font-size: 10px;
  font-weight: 700;
}
.home-popup-runtime__payment-methods img { max-width: 56px; height: 18px; object-fit: contain; }

.home-popup-runtime__actions { display: grid; gap: 10px; padding: 16px 20px 20px; }
.home-popup-runtime__action {
  min-height: 54px;
  border: 0;
  border-radius: var(--home-popup-action-radius, 12px);
  background: var(--home-popup-action-bg, #12dca2);
  color: var(--home-popup-action-color, #061812);
  font: inherit;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--home-popup-action-bg, #12dca2) 24%, transparent);
  transition: transform 160ms ease, filter 160ms ease;
}
.home-popup-runtime__action:active { transform: translateY(1px) scale(.995); filter: brightness(.94); }

.home-popup-runtime__close:focus-visible,
.home-popup-runtime__action:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }

@media (max-width: 540px) {
  .home-popup-runtime { padding: 12px; }
  .home-popup-runtime__dialog { border: 0 !important; border-radius: 24px; outline: 0 !important; }
}

.home-popup-runtime .home-popup-runtime__action[hidden] { display: none; }
