.promo-code-flow-layer {
  position: fixed;
  inset: 0;
  z-index: 2147482600;
  pointer-events: none;
  overflow: hidden;
}

.promo-code-unlock-float {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.82);
  display: grid;
  justify-items: center;
  gap: 14px;
  min-width: 250px;
  opacity: 0;
  filter: blur(6px);
  animation: promoUnlockFloat var(--promo-message-duration, 4000ms) cubic-bezier(.16,.78,.18,1) forwards;
}

.promo-code-unlock-icon {
  width: 132px;
  height: 132px;
  position: relative;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.12)) drop-shadow(0 0 28px rgba(216,179,98,.24));
}

.promo-code-unlock-icon::before {
  content: '';
  position: absolute;
  inset: 14px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 244, 206, .92) 0%, rgba(232, 194, 109, .44) 42%, rgba(216, 179, 98, .14) 70%, rgba(216, 179, 98, 0) 100%);
  box-shadow:
    0 0 26px rgba(232, 194, 109, .38),
    0 0 58px rgba(216, 179, 98, .22);
  transform: scale(.92);
  opacity: .95;
  animation: promoUnlockAura 2.1s ease-in-out infinite;
}

.promo-code-unlock-icon > * {
  position: relative;
  z-index: 1;
}

.promo-code-unlock-lottie {
  width: 132px;
  height: 132px;
  display: block;
}

.promo-code-lottie-failed {
  display: grid;
  place-items: center;
}

.promo-code-fallback-lock {
  position: relative;
  display: block;
  width: 68px;
  height: 58px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff2bd 0%, #d7ad52 45%, #8f6821 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.72),
    inset 0 -10px 18px rgba(70,45,6,.18),
    0 16px 34px rgba(0,0,0,.14),
    0 0 44px rgba(216,179,98,.32);
}

.promo-code-fallback-lock::before {
  content: '';
  position: absolute;
  left: 14px;
  top: -38px;
  width: 40px;
  height: 48px;
  border: 7px solid #d9b45f;
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
  transform: translateX(15px) rotate(18deg);
  transform-origin: 12px 44px;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.52), 0 0 22px rgba(216,179,98,.26);
}

.promo-code-fallback-lock::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 21px;
  width: 9px;
  height: 18px;
  border-radius: 999px 999px 3px 3px;
  background: #111;
  transform: translateX(-50%);
  opacity: .86;
}

.promo-code-fallback-lock span {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 5px;
}
.promo-code-unlock-copy {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(216,179,98,.45);
  box-shadow: 0 18px 52px rgba(0,0,0,.12), 0 0 34px rgba(216,179,98,.22);
  color: #111;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 3px;
  text-transform: uppercase;
  white-space: nowrap;
}

.promo-code-unlock-copy strong {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: none;
}

.promo-code-claimed-area {
  width: 100%;
  display: grid;
  gap: 10px;
  animation: promoClaimAreaIn .52s cubic-bezier(.16,.78,.18,1) both;
}

.promo-code-claimed-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-height: 18px;
  padding-right: 2px;
}

.promo-code-claimed-mark {
  color: #111;
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.promo-code-unused-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 15px;
  padding: 0 7px;
  border: 1px solid rgba(15, 111, 84, .3);
  border-radius: 999px;
  background: rgba(15, 111, 84, .08);
  color: #0f6f54;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.promo-code-unused-pill span {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
}

.promo-code-claimed-panel {
  border: 1px solid #e7e3dc;
  background: #fff;
  padding: 10px 10px 12px;
  box-shadow: 0 12px 38px rgba(0,0,0,.035);
}

.promo-code-main-line {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
  min-height: 36px;
  border: 1px solid #eeeae4;
  background: #fff;
}

.promo-code-value {
  display: flex;
  align-items: center;
  padding: 0 13px;
  color: #111;
  font-size: 10px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.promo-code-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 78px;
  border: 0;
  border-left: 1px solid #111;
  background: #111;
  color: #fff;
  padding: 0 14px;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
}

.promo-code-copy-icon {
  position: relative;
  width: 11px;
  height: 11px;
  border: 1px solid currentColor;
  display: inline-block;
}

.promo-code-copy-icon::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  left: -4px;
  top: -4px;
  background: #111;
}

.promo-code-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 9px;
}

.promo-code-meta-cell {
  min-height: 51px;
  border: 1px solid #eeeae4;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  text-align: center;
}

.promo-code-meta-cell span {
  color: #777;
  font-size: 8px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.promo-code-meta-cell strong {
  color: #111;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.05;
}

.promo-code-meta-cell small {
  color: #777;
  font-size: 8px;
  line-height: 1;
}






@keyframes promoUnlockFloat {
  0% { opacity: 0; transform: translate(-50%, -46%) scale(.72); filter: blur(8px); }
  14% { opacity: 1; transform: translate(-50%, -50%) scale(1); filter: blur(0); }
  78% { opacity: 1; transform: translate(-50%, -50%) scale(1); filter: blur(0); }
  100% { opacity: 0; transform: translate(-50%, -54%) scale(.94); filter: blur(6px); }
}


@keyframes promoClaimAreaIn {
  0% { opacity: 0; transform: translateY(8px); filter: blur(4px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes promoUnlockAura {
  0%, 100% {
    opacity: .78;
    transform: scale(.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

@media (max-width: 760px) {
  .promo-code-unlock-float {
    width: min(360px, calc(100vw - 32px));
    min-width: 0;
    gap: 10px;
  }

  .promo-code-unlock-icon,
  .promo-code-unlock-lottie {
    width: 116px;
    height: 116px;
  }

  .promo-code-unlock-icon::before {
    inset: 12px;
  }

  .promo-code-unlock-copy {
    flex-wrap: wrap;
    justify-content: center;
    white-space: normal;
    width: 100%;
    max-width: calc(100vw - 42px);
    padding: 11px 14px;
    line-height: 1.35;
    text-align: center;
    letter-spacing: 2.4px;
  }

  .promo-code-unlock-copy strong {
    flex-basis: 100%;
    font-size: 18px;
  }

  .promo-code-claimed-area {
    min-width: 0;
  }

  .promo-code-claimed-head {
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .promo-code-claimed-mark {
    letter-spacing: 3.4px;
  }

  .promo-code-main-line {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .promo-code-value {
    min-height: 36px;
    overflow-wrap: anywhere;
  }

  .promo-code-copy {
    min-height: 34px;
    width: 100%;
    border-left: 0;
    border-top: 1px solid #111;
  }

  .promo-code-meta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .promo-code-unlock-icon,
  .promo-code-unlock-lottie {
    width: 104px;
    height: 104px;
  }

  .promo-code-unlock-icon::before {
    inset: 10px;
  }

  .promo-code-unlock-copy {
    gap: 6px;
    font-size: 10px;
    letter-spacing: 2px;
  }

  .promo-code-claimed-panel {
    padding: 9px;
  }

  .promo-code-value,
  .promo-code-copy {
    font-size: 9.5px;
    letter-spacing: 2px;
  }

  .promo-code-meta-cell span {
    letter-spacing: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-code-unlock-float,
  .promo-code-claimed-area {
    animation-duration: .01ms !important;
  }
}



