.tgd-bf-popup {
  box-sizing: border-box;
  width: min(94vw, 600px, calc((100dvh - 58px) * .75));
  max-width: none;
  max-height: 96dvh;
  padding: 0;
  margin: auto;
  border: 0;
  border-radius: 12px;
  background: #061832;
  color: #fff;
  overflow: auto;
  box-shadow: 0 20px 80px #0008;
  font-family: system-ui, sans-serif;
}
.tgd-bf-popup::backdrop { background: rgba(3, 12, 29, .78); }
.tgd-bf-popup__toolbar {
  display: flex;
  justify-content: flex-end;
  padding: 3px 5px;
}
.tgd-bf-popup__close {
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: transparent;
  border: 1px solid #d7b762;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
}
.tgd-bf-popup__close:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.tgd-bf-popup__flyer { position: relative; width: 100%; }
.tgd-bf-popup__flyer img { display: block; width: 100%; height: auto; }
.tgd-bf-popup__offer {
  position: absolute;
  display: block;
  left: 4.15%;
  width: 91.8%;
  border-radius: 2.5% / 8%;
  box-sizing: border-box;
  cursor: pointer;
  text-decoration: none;
  touch-action: manipulation;
}
.tgd-bf-popup__offer[data-offer="creator"] { top: 15.8%; height: 17.25%; }
.tgd-bf-popup__offer[data-offer="affiliate"] { top: 33.8%; height: 19.05%; }
.tgd-bf-popup__offer[data-offer="giftCards"] { top: 53.7%; height: 15.95%; }
.tgd-bf-popup__offer[data-offer="helmtrax"] { top: 70.3%; height: 15.45%; }
@media (hover: hover) {
  .tgd-bf-popup__offer:hover { background: #ffffff19; box-shadow: inset 0 0 0 3px #fff; }
}
.tgd-bf-popup__offer:focus-visible { outline: 3px solid #fff; outline-offset: -5px; box-shadow: inset 0 0 0 6px #061832; }
/* Keep links large enough to tap in very short or landscape viewports; scroll if necessary. */
@media (max-height: 540px) {
  .tgd-bf-popup { width: min(94vw, 460px); }
}
@media (max-width: 600px) and (orientation: portrait) {
  .tgd-bf-popup { width: 94vw; }
}

.tgd-bf-popup__offer[aria-disabled="true"] { cursor: default; pointer-events: none; }
