/* SHARED SPIN WHEEL — change this file to update every page. */
.spin-widget {
  font-family: Manrope, system-ui, sans-serif;
  color: #fff;
}
.spin-widget [hidden] {
  display: none !important;
}
.spin-widget button,
.spin-widget a {
  font: inherit;
  cursor: pointer;
}
.spin-launch {
  position: fixed;
  left: max(18px, env(safe-area-inset-left));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 46;

  width: 90px;
  height: 90px;

  padding: 0;
  border: 0;
  border-radius: 50%;

  background: transparent;

  display: grid;
  place-items: center;

  box-shadow: none;
}
.spin-launch-wheel {
  width: 78px;
  height: 78px;
  border-radius: 50%;

  position: relative;
  display: block;

  background: conic-gradient(
    #ffd966 0deg 60deg,
    #f47cad 60deg 120deg,
    #64d7ce 120deg 180deg,
    #9d8df1 180deg 240deg,
    #ffa35f 240deg 300deg,
    #71b9e8 300deg 360deg
  );

  border: 4px solid #06285e;

  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.35),
    0 0 0 3px #ffd600;

  animation: floatingWheelSpin 3s linear infinite;
}

.spin-launch-wheel::after {
  content: "AAAM";

  position: absolute;
  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  width: 34px;
  height: 34px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: #102b5c;
  border: 2px solid #ffd600;

  color: #fff;
  font-size: 8px;
  font-weight: 800;
}

.spin-launch-wheel::before {
  content: "";

  position: absolute;
  top: -10px;
  left: 50%;

  transform: translateX(-50%);

  width: 0;
  height: 0;

  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 14px solid #f05c40;

  z-index: 3;
}

.spin-launch-text {
  display: none;
}
/* LITTLE GIRL MASCOT PROMO */

.spin-mascot-promo {
  position: fixed;
  left: 78px;
  bottom: 58px;
  z-index: 47;

  width: 300px;
  min-height: 190px;

  background: transparent;
  border: 0;

  pointer-events: auto;
}


/* GIRL IMAGE */

.spin-mascot-img {
  position: absolute;

  left: -22px;
  bottom: -4px;

  width: 145px;
  height: auto;

  display: block;

  object-fit: contain;

  filter: drop-shadow(
    0 10px 18px rgba(0, 0, 0, 0.35)
  );

  pointer-events: none;
}


/* MESSAGE BOX */

.spin-mascot-copy {
  position: absolute;

  left: 108px;
  top: 24px;

  width: 175px;

  padding: 14px 15px;

  background: #ffffff;

  color: #06285e;

  border: 2px solid #ffd600;
  border-radius: 18px;

  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.25),
    0 0 18px rgba(255, 214, 0, 0.25);
}


/* SPEECH BUBBLE ARROW */

.spin-mascot-copy::before {
  content: "";

  position: absolute;

  left: -10px;
  bottom: 28px;

  width: 18px;
  height: 18px;

  background: #ffffff;

  border-left: 2px solid #ffd600;
  border-bottom: 2px solid #ffd600;

  transform: rotate(45deg);
}


/* TITLE */

.spin-mascot-copy strong {
  display: block;

  margin-bottom: 5px;

  color: #06285e;

  font-size: 17px;
  line-height: 1.2;
  font-weight: 900;
}


/* MESSAGE */

.spin-mascot-copy p {
  margin: 0 0 10px;

  color: #354766;

  font-size: 12px;
  line-height: 1.45;
}


/* SMALL SPIN BUTTON */

.spin-mascot-copy .spin-greeting-cta {
  width: 100%;
  min-height: 36px;

  padding: 8px 12px;

  border: 0;
  border-radius: 10px;

  background: linear-gradient(
    115deg,
    #ffe765,
    #ffc13c
  );

  color: #06285e;

  font-size: 12px;
  font-weight: 800 !important;
}


/* CLOSE BUTTON FOR MASCOT */

.spin-mascot-promo .spin-dismiss {
  position: absolute;

  right: 2px;
  top: 2px;

  z-index: 5;

  width: 30px;
  height: 30px;

  display: grid;
  place-items: center;

  padding: 0;

  border: 0;
  border-radius: 50%;

  background: #06285e;

  color: #ffffff;

  font-size: 19px !important;

  line-height: 1;
}
@keyframes floatingWheelSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.spin-dismiss,
.spin-close {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 29px !important;
}
.spin-greeting-cta,
.spin-action,
.spin-plan {
  display: block;
  padding: 14px 18px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(115deg, #ffe765, #ffc13c);
  color: #06285e;
  font-weight: 800 !important;
  min-height: 48px;
  text-align: center;
}
.spin-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(480px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #ffd60088;
  border-radius: 26px;
  background: #102b5c;
  color: #fff;
  padding: 32px 24px 24px;
  box-shadow: 0 30px 100px #0008;
  background:
    radial-gradient(ellipse at top left, #5b237f 0, transparent 55%),
    linear-gradient(155deg, #142955, #06203f);
}
.spin-dialog::backdrop {
  background: #020b22cc;
  backdrop-filter: blur(5px);
}
.spin-dialog h2 {
  font:
    700 clamp(24px, 6vw, 32px)/1.2 Manrope,
    system-ui,
    sans-serif;
  text-align: center;
  margin: 9px 0;
}
.spin-eyebrow {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-align: center;
  color: #ffd600;
  margin-top: 15px;
}
.spin-intro {
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}
.spin-wheel-wrap {
  position: relative;
  width: min(100%, 310px);
  margin: 18px auto;
}
.spin-canvas {
  width: 100%;
  height: auto;
  display: block;
}
.spin-pointer {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #f05c40;
  font-size: 34px;
  filter: drop-shadow(0 2px 1px #000);
}
.spin-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 3px solid #ffd600;
  border-radius: 50%;
  background: #102b5c;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.spin-action {
  width: 100%;
}
.spin-action:disabled {
  opacity: 0.65;
  cursor: default;
}
.spin-count {
  text-align: center;
  font-size: 13px;
}
.spin-result {
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  color: #ffd600;
}
.spin-awards label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #ffffff44;
  border-radius: 12px;
  margin: 8px 0;
  font-size: 14px;
  cursor: pointer;
}
.spin-awards input {
  accent-color: #ffd600;
  width: 20px;
  height: 20px;
  flex: none;
}
.spin-awards p {
  font-size: 14px;
}
.spin-claim {
  display: block;
  text-align: center;
  color: white;
  text-decoration: underline;
  margin-top: 10px;
  padding: 12px;
}
.spin-terms {
  font-size: 12px;
  line-height: 1.6;
  color: #d7dfed;
}
.spin-widget :is(a, button, input):focus-visible {
  outline: 3px solid #ffc400;
  outline-offset: 3px;
}
.spin-launch {
  position: fixed;
  left: max(18px, env(safe-area-inset-left));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 46;

  width: 94px;
  height: 94px;

  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;

  display: grid;
  place-items: center;

  animation: wheelButtonPulse 1.8s ease-in-out infinite;
}

.spin-launch::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  border: 3px solid #ffd600;
  animation: wheelRingPulse 1.8s ease-out infinite;
  pointer-events: none;
}

.spin-launch-wheel {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  position: relative;
  display: block;

  background: conic-gradient(
    #ffd966 0deg 60deg,
    #f47cad 60deg 120deg,
    #64d7ce 120deg 180deg,
    #9d8df1 180deg 240deg,
    #ffa35f 240deg 300deg,
    #71b9e8 300deg 360deg
  );

  border: 4px solid #06285e;

  box-shadow:
    0 0 0 4px #ffd600,
    0 0 20px rgba(255, 214, 0, 0.75),
    0 10px 30px rgba(0, 0, 0, 0.4);

  animation: floatingWheelSpin 3s linear infinite;
}

@keyframes wheelButtonPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

@keyframes wheelRingPulse {
  0% {
    transform: scale(0.85);
    opacity: 0.9;
  }

  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

@keyframes floatingWheelSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 620px) {

  .spin-launch {
    width: 74px;
    height: 74px;
  }

  .spin-launch-wheel {
    width: 64px;
    height: 64px;
  }

  .spin-launch-wheel::after {
    width: 28px;
    height: 28px;
    font-size: 7px;
  }

  .spin-dialog {
    padding: 26px 18px 20px;
  }

  .spin-wheel-wrap {
    width: min(100%, 270px);
  }

}
.spin-dialog {
  padding-top: 8px;
  scroll-padding-top: 52px;
  box-sizing: border-box;
  max-width: 480px;
}
.spin-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: block;
  z-index: 5;
  background: #102b5c;
  box-shadow: 0 2px 10px #0003;
}
.spin-wheel-wrap {
  width: min(100%, 250px);
  margin: 12px auto;
}
.spin-dialog h2 {
  font-size: 26px;
}
.spin-eyebrow {
  font-size: 12px;
}
.spin-count {
  font-size: 14px;
}
@media (max-width: 620px) {
  .spin-dialog {
    padding: 8px 16px 18px;
  }
  .spin-wheel-wrap {
    width: min(100%, 220px);
  }
  .spin-intro {
    margin: 8px 0;
  }
}

.spin-wheel-reveal {
  opacity: 1;
  transform: none;
}
@media (max-width: 620px) {

  .spin-mascot-promo {
    position: fixed !important;

    top: auto !important;
    bottom: 78px !important;

    left: 58px !important;
    right: 10px !important;

    width: auto !important;
    min-height: 120px !important;

    z-index: 9999 !important;
  }

  .spin-mascot-img {
    position: absolute !important;

    left: -6px !important;
    bottom: -2px !important;

    width: 92px !important;
    height: auto !important;
  }

  .spin-mascot-copy {
    position: absolute !important;

    left: 72px !important;
    right: 0 !important;
    top: 10px !important;

    width: auto !important;

    padding: 11px 12px !important;
    box-sizing: border-box !important;

    border-radius: 16px !important;
  }

  .spin-mascot-copy strong {
    font-size: 15px !important;
  }

  .spin-mascot-copy p {
    font-size: 11px !important;
    line-height: 1.35 !important;
  }

  .spin-mascot-copy .spin-greeting-cta {
    min-height: 36px !important;
    font-size: 11px !important;
  }

  .spin-mascot-promo .spin-dismiss {
    top: 0 !important;
    right: -5px !important;

    width: 28px !important;
    height: 28px !important;

    z-index: 20 !important;
  }

  .spin-launch {
    left: 18px !important;
    bottom: 18px !important;
  }
}