.welcome-offer {
  box-sizing: border-box;
  width: min(500px, calc(100vw - 48px), calc(100vh - 128px));
  width: min(500px, calc(100vw - 48px), calc(100dvh - 128px));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: visible;
  background: #fff9e9;
  box-shadow: 0 24px 90px rgb(0 0 0 / 24%);
}

.welcome-offer::backdrop {
  background: rgb(15 23 42 / 58%);
}

.welcome-offer:focus {
  outline: none;
}

html.welcome-offer-open {
  overflow: hidden;
}

.welcome-offer__poster {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: inherit;
}

.welcome-offer__close {
  position: absolute;
  top: -52px;
  right: 0;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 50%;
  color: #fff;
  background: rgb(15 23 42 / 45%);
  cursor: pointer;
}

.welcome-offer__close:hover {
  background: rgb(15 23 42 / 80%);
}

.welcome-offer__close svg {
  width: 20px;
  height: 20px;
}

/* The real link sits exactly over the button printed in the supplied artwork. */
.welcome-offer__claim {
  position: absolute;
  left: 22.35%;
  top: 79.55%;
  width: 55.4%;
  height: 9.75%;
  min-height: 44px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.welcome-offer__claim:hover {
  background: rgb(255 255 255 / 10%);
}

.welcome-offer__claim:focus-visible,
.welcome-offer__close:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
  box-shadow: 0 0 0 7px #b94200;
}

.welcome-offer__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
