.spin-stage {
  max-width: 850px;
  padding: 34px 28px 48px;
  border: 1px solid rgba(177, 79, 104, 0.12);
  border-radius: 38px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.9));
  box-shadow: 0 28px 80px rgba(99, 41, 57, 0.08);
}

.spin-campaign-copy > p:not(.spin-eyebrow) { margin-top: 14px; }

.sound-toggle {
  margin: 18px auto -8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--rose-dark);
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
}

.sound-toggle[aria-pressed="false"] { color: var(--muted); opacity: 0.72; }

.has-prize-dialog,
.has-prize-dialog body { overflow: hidden; overscroll-behavior: none; }

.prize-dialog { position: relative; overflow-x: hidden; overscroll-behavior: contain; }

.prize-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.82);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.wheel-area {
  width: min(510px, 82vw);
  margin: 32px auto 18px;
  filter: drop-shadow(0 24px 30px rgba(100, 40, 58, 0.17));
}

.wheel {
  border-width: 10px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.34), 0 0 0 1px rgba(109, 42, 63, 0.08);
}

.wheel::after { inset: 9%; border-color: rgba(255, 255, 255, 0.38); }

.wheel-label {
  top: var(--label-y);
  left: var(--label-x);
  width: 26%;
  transform: translate(-50%, -50%);
  transform-origin: center;
  text-align: center;
  font-size: clamp(0.65rem, 1.25vw, 0.84rem);
  line-height: 1.16;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
  text-wrap: balance;
  text-shadow: 0 2px 5px rgba(71, 23, 38, 0.32);
}

.wheel[data-segments="5"] .wheel-label,
.wheel[data-segments="6"] .wheel-label {
  width: 23%;
  font-size: clamp(0.58rem, 1.05vw, 0.75rem);
}

.wheel-pointer {
  top: -13px;
  width: 38px;
  height: 47px;
  background: linear-gradient(180deg, #6b3544, #44212c);
  filter: drop-shadow(0 5px 5px rgba(50, 20, 30, 0.24));
}

.wheel-button {
  width: 23%;
  border-width: 6px;
  background: radial-gradient(circle at 38% 30%, #70404d, #47232e 72%);
  box-shadow: 0 9px 24px rgba(73, 31, 43, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.stage-message { font-weight: 750; }

.spin-trust {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 520px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
}

@media (max-width: 620px) {
  .spin-stage { padding: 28px 14px 36px; border-radius: 28px; }
  .spin-campaign-copy h1 { font-size: clamp(2rem, 11vw, 3rem); }
  .spin-campaign-copy > p:not(.spin-eyebrow) { font-size: 0.94rem; line-height: 1.55; }
  .wheel-area { width: min(350px, 88vw); margin-top: 28px; }
  .wheel-label { width: 27%; font-size: clamp(0.56rem, 2.7vw, 0.73rem); }
  .wheel-pointer { width: 32px; height: 40px; }
  .wheel-button { border-width: 5px; }
  .spin-trust { border-radius: 18px; font-size: 0.7rem; }
  .prize-dialog {
    width: calc(100% - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 28px 18px 20px;
    border-radius: 24px;
    overflow-y: auto;
    touch-action: pan-y;
  }
  .prize-dialog h2 { margin: 4px auto 10px; font-size: clamp(2rem, 10vw, 2.75rem); line-height: 1.02; }
  .prize-dialog > p:not(.spin-eyebrow):not(.prize-note) { margin: 10px 0; font-size: 0.92rem; line-height: 1.45; }
  .prize-spark { font-size: 2.25rem; line-height: 1; }
  .prize-code { margin: 17px 0; padding: 12px; }
  .prize-note { margin: 10px 0 14px; }
  .prize-claim { padding: 14px; }
  .prize-close { top: 10px; right: 10px; width: 31px; height: 31px; }
}

@media (max-width: 380px), (max-height: 700px) {
  .prize-dialog { padding-top: 22px; padding-bottom: 16px; }
  .prize-dialog h2 { font-size: 1.9rem; }
  .prize-spark { font-size: 1.8rem; }
  .prize-code { margin: 12px 0; }
  .prize-note { margin-bottom: 10px; }
}
