.ptk-iw-modal-layer[data-ptk-iw-modal-kind="result"]:has(.ptk-iw-offer-board) .ptk-iw-modal {
  width: min(94vw, 760px);
  max-height: min(92vh, 980px);
  overflow-y: auto;
  background: var(--ptk-iw-modal-surface, #fff);
}

.ptk-iw-offer-board { display: grid; gap: 1rem; color: var(--ptk-iw-modal-text, #171717); }
.ptk-iw-offer-board__heading { text-align: center; }
.ptk-iw-offer-board__title { margin: 0; font-size: clamp(1.75rem, 5vw, 3rem); line-height: 1; }
.ptk-iw-offer-board__subtitle { margin: .5rem 0 0; font-weight: 700; }
.ptk-iw-offer-board__offers { display: grid; gap: 1rem; }
.ptk-iw-offer-board__offer { display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; border-radius: 1rem; background: #fff; color: #171717; text-decoration: none; box-shadow: 0 .4rem 1.4rem rgba(0, 0, 0, .18); }
.ptk-iw-offer-board__offer[href]:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.ptk-iw-offer-board__image { display: block; width: 100%; height: auto; object-fit: cover; }
.ptk-iw-offer-board__offer-body { display: grid; gap: .35rem; padding: 1rem; }
.ptk-iw-offer-board__offer-title, .ptk-iw-offer-board__offer-description, .ptk-iw-offer-board__validity { margin: 0; }
.ptk-iw-offer-board__offer-title { font-size: 1.25rem; }
.ptk-iw-offer-board__validity { font-size: .85rem; font-weight: 700; }
.ptk-iw-offer-board__legal { display: grid; gap: .35rem; margin: 0; font-size: .78rem; text-align: center; white-space: pre-line; }
.ptk-iw-offer-board__legal p,
.ptk-iw-offer-board__return p { margin: 0; }
.ptk-iw-offer-board__return { display: grid; gap: .35rem; justify-items: center; margin: 0; padding: .85rem 1rem; border-radius: 1rem; text-align: center; font-weight: 800; background: var(--ptk-iw-modal-accent, #f4bc28); color: #171717; }
.ptk-iw-offer-board__return-badge { display: inline-flex; padding: .15rem .55rem; border-radius: 999px; background: #171717; color: var(--ptk-iw-modal-accent, #f4bc28); }

@media (min-width: 640px) {
  .ptk-iw-offer-board:not(.ptk-iw-offer-board--campaign-poster) .ptk-iw-offer-board__offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.ptk-iw-modal-layer[data-ptk-iw-modal-kind="result"]:has(.ptk-iw-offer-board--campaign-poster) .ptk-iw-modal {
  width: min(96vw, 460px);
  padding: 0;
  overflow: hidden auto;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 0;
  background: rgba(7, 47, 89, .74);
  box-shadow: 0 0 1.3rem rgba(242, 185, 45, .55), 0 1.5rem 4rem rgba(0, 0, 0, .42);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
}

.ptk-iw-offer-board--campaign-poster {
  width: min(100%, 460px);
  margin: 0 auto;
  gap: .75rem;
  color: #fff;
  background: linear-gradient(180deg, rgba(4, 58, 111, .64), rgba(51, 26, 13, .56));
  font-family: var(--ptk-iw-modal-font-family, inherit);
}
.ptk-iw-offer-board--campaign-poster .ptk-iw-offer-board__heading {
  display: grid;
  gap: .15rem;
  padding: 1.5rem 1.25rem;
}
.ptk-iw-offer-board--campaign-poster .ptk-iw-offer-board__title {
  max-width: 24ch;
  margin-inline: auto;
  color: #fff;
  font-size: clamp(1.55rem, 6vw, 2rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 .16rem .12rem rgba(0, 0, 0, .48);
}
.ptk-iw-offer-board--campaign-poster .ptk-iw-offer-board__subtitle {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 5.6vw, 1.9rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 .16rem .12rem rgba(0, 0, 0, .48);
}
.ptk-iw-offer-board--campaign-poster .ptk-iw-offer-board__offers { grid-template-columns: minmax(0, 1fr); gap: .85rem; padding: 0 1.25rem; }
.ptk-iw-offer-board--campaign-poster .ptk-iw-offer-board__offer {
  border-radius: .8rem;
  background: transparent;
  box-shadow: none;
}
.ptk-iw-offer-board--campaign-poster .ptk-iw-offer-board__offer:first-child {
  box-shadow: 0 0 57.63px 0 #e7ba5c, 0 0 32.932px 0 #e7ba5c, 0 0 19.21px 0 #e7ba5c, 0 0 9.605px 0 #e7ba5c, 0 0 2.744px 0 #e7ba5c, 0 0 1.372px 0 #e7ba5c;
}
.ptk-iw-offer-board--campaign-poster .ptk-iw-offer-board__image {
  aspect-ratio: 1.84 / 1;
  border-radius: inherit;
  object-fit: cover;
  transform-origin: center;
}
.ptk-iw-offer-board--campaign-poster .ptk-iw-offer-board__offer-body {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.ptk-iw-offer-board--campaign-poster .ptk-iw-offer-board__legal {
  gap: .35rem;
  padding: .2rem 1.4rem .3rem;
  color: #fff;
  text-shadow: 0 .08rem .18rem rgba(0, 0, 0, .72);
}
.ptk-iw-offer-board--campaign-poster .ptk-iw-offer-board__legal-lead {
  max-width: 30ch;
  margin-inline: auto;
  font-size: clamp(.9rem, 3.4vw, 1rem);
  font-weight: 800;
  line-height: 1.15;
  text-wrap: balance;
}
.ptk-iw-offer-board--campaign-poster .ptk-iw-offer-board__legal-terms,
.ptk-iw-offer-board--campaign-poster .ptk-iw-offer-board__legal-copy {
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(.68rem, 2.4vw, .8rem);
  font-weight: 400;
  line-height: 1.15;
}
.ptk-iw-offer-board--campaign-poster .ptk-iw-offer-board__legal-terms-highlight {
  font-weight: 700;
}
.ptk-iw-offer-board--campaign-poster .ptk-iw-offer-board__return {
  margin-top: 0;
  min-height: clamp(6.25rem, 26vw, 7.25rem);
  box-sizing: border-box;
  place-content: center;
  justify-items: center;
  padding: .75rem 1.5rem;
  border-radius: 0;
  background: var(--gold, linear-gradient(93deg, #be9950 -1.34%, #f8d88b 45.85%, #ebc77b 72.54%, #dd9600 93.99%));
  color: #1d2730;
  text-align: center;
  text-transform: uppercase;
}
.ptk-iw-offer-board--campaign-poster .ptk-iw-offer-board__return-badge {
  padding: .22rem .7rem .18rem;
  background: #1d2730;
  color: #f5b229;
  font-size: clamp(.9rem, 3.3vw, 1.1rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}
.ptk-iw-offer-board--campaign-poster .ptk-iw-offer-board__return-message {
  max-width: 24ch;
  color: #1d2730;
  font-size: clamp(.9rem, 3.3vw, 1.1rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: pre-line;
}

/* Inline Full Coupon results fill the widget and reuse its blurred scene instead of nesting a dark modal card. */
.ptk-iw-inline-surface[data-ptk-iw-modal-kind="result"].ptk-iw-inline-surface--offer-board {
  place-items: stretch;
  padding: 0;
}
.ptk-iw-inline-surface[data-ptk-iw-modal-kind="result"].ptk-iw-inline-surface--offer-board .ptk-iw-modal-backdrop {
  background: transparent;
}
.ptk-iw-inline-surface[data-ptk-iw-modal-kind="result"].ptk-iw-inline-surface--offer-board .ptk-iw-modal {
  width: 100% !important;
  height: 100%;
  max-width: none !important;
  min-height: 100%;
  max-height: none;
  padding: 0 !important;
  overflow: auto;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.ptk-iw-inline-surface[data-ptk-iw-modal-kind="result"].ptk-iw-inline-surface--offer-board .ptk-iw-modal-header {
  display: none;
}
.ptk-iw-inline-surface[data-ptk-iw-modal-kind="result"].ptk-iw-inline-surface--offer-board .ptk-iw-modal-body {
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding: 0;
}
.ptk-iw-inline-surface[data-ptk-iw-modal-kind="result"].ptk-iw-inline-surface--offer-board .ptk-iw-offer-board--campaign-poster {
  grid-template-areas:
    "heading"
    "offers"
    "legal"
    "return";
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  min-height: 100%;
  box-sizing: border-box;
  background: transparent;
}
.ptk-iw-inline-surface[data-ptk-iw-modal-kind="result"].ptk-iw-inline-surface--offer-board .ptk-iw-offer-board__heading { grid-area: heading; }
.ptk-iw-inline-surface[data-ptk-iw-modal-kind="result"].ptk-iw-inline-surface--offer-board .ptk-iw-offer-board__offers { grid-area: offers; }
.ptk-iw-inline-surface[data-ptk-iw-modal-kind="result"].ptk-iw-inline-surface--offer-board .ptk-iw-offer-board__legal { grid-area: legal; }
.ptk-iw-inline-surface[data-ptk-iw-modal-kind="result"].ptk-iw-inline-surface--offer-board .ptk-iw-offer-board__return { grid-area: return; }
.ptk-iw-inline-surface[data-ptk-iw-modal-kind="result"].ptk-iw-inline-surface--offer-board .ptk-iw-offer-board__legal {
  display: grid;
  align-content: center;
  justify-items: center;
}

.ptk-iw-offer-rotation-preview { display: grid; gap: .75rem; margin-top: 1rem; padding: 1rem; border: 1px solid #dcdcde; border-radius: .5rem; background: #f6f7f7; }
.ptk-iw-offer-rotation-preview > label { font-weight: 700; }
.ptk-iw-offer-rotation-preview__controls { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.ptk-iw-offer-rotation-preview__output:not(:empty) { margin-top: .5rem; }
.ptk-iw-offer-rotation-preview__output .ptk-iw-offer-board { max-width: 760px; padding: 1rem; border-radius: .75rem; background: #fff; box-shadow: 0 .25rem 1rem rgba(0, 0, 0, .12); }
.ptk-iw-offer-rotation-preview__output .ptk-iw-offer-board--campaign-poster { max-width: 440px; padding: 0; border-radius: 0; background: linear-gradient(180deg, #064077, #4b2618); }
.ptk-iw-offer-rotation-preview__error { margin: 0; color: #b32d2e; font-weight: 700; }
.ptk-iw-offer-rotation-preview__success { margin: 0; color: #008a20; font-weight: 700; }
