.spin-wheel[hidden]{display:none}
.spin-wheel{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:1.6rem;font-family:var(--font-body-family)}
.spin-wheel__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(2px)}
.spin-wheel__dialog{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:3.2rem;align-items:center;width:100%;max-width:86rem;max-height:calc(100vh - 3.2rem);overflow:auto;padding:4rem;background:var(--sw-bg);color:var(--sw-text);border:2px solid var(--sw-accent);box-shadow:0 0 0 6px var(--sw-bg),0 2rem 6rem rgba(0,0,0,.6)}
.spin-wheel__close{position:absolute;top:1rem;right:1rem;width:4.4rem;height:4.4rem;display:flex;align-items:center;justify-content:center;background:none;border:0;color:var(--sw-text);font-size:2.8rem;line-height:1;cursor:pointer}
.spin-wheel__close:focus-visible,.spin-wheel__btn:focus-visible,.spin-wheel__input:focus-visible,.spin-wheel__copy:focus-visible{outline:3px solid var(--sw-accent);outline-offset:3px}
.spin-wheel__stage{position:relative;width:100%;max-width:36rem;margin:1.2rem auto 0;aspect-ratio:1}
.spin-wheel__svg{width:100%;height:100%;display:block;transition:transform 5.2s cubic-bezier(.12,.72,.08,1);transform:rotate(0deg)}
.spin-wheel__pointer{position:absolute;top:-1.2rem;left:50%;transform:translateX(-50%);width:0;height:0;border-left:1.6rem solid transparent;border-right:1.6rem solid transparent;border-top:3rem solid var(--sw-text);filter:drop-shadow(0 3px 2px rgba(0,0,0,.5));z-index:2}
.spin-wheel__hub{position:absolute;top:50%;left:50%;width:22%;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;background:var(--sw-bg);border:3px solid var(--sw-accent);display:flex;align-items:center;justify-content:center;text-align:center;font-family:var(--font-heading-family);font-size:clamp(1rem,1.6vw,1.3rem);letter-spacing:.08em;text-transform:uppercase;color:var(--sw-text);line-height:1.1}
.spin-wheel__eyebrow{margin:0 0 .8rem;color:var(--sw-accent);font-size:1.3rem;letter-spacing:.24em;text-transform:uppercase;font-weight:700}
.spin-wheel__heading{margin:0 0 1.2rem;font-family:var(--font-heading-family);font-size:clamp(3rem,4.4vw,4.6rem);line-height:1;color:var(--sw-text)}
.spin-wheel__text{margin:0 0 2.4rem;font-size:1.6rem;line-height:1.5;opacity:.85}
.spin-wheel__form{display:flex;flex-direction:column;gap:1.2rem}
.spin-wheel__label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.spin-wheel__input{width:100%;min-height:4.8rem;padding:0 1.6rem;font-size:1.6rem;background:transparent;color:var(--sw-text);border:1px solid rgba(255,255,255,.5);border-radius:0}
.spin-wheel__input::placeholder{color:rgba(255,255,255,.6)}
.spin-wheel__btn{min-height:5rem;padding:0 2.4rem;background:var(--sw-accent);color:#fff;border:0;font-size:1.5rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.spin-wheel__btn[disabled]{opacity:.6;cursor:wait}
.spin-wheel__error{margin:0;color:#ff8a8a;font-size:1.4rem;min-height:1.4em}
.spin-wheel__fine{margin:1.6rem 0 0;font-size:1.2rem;line-height:1.5;opacity:.6}
.spin-wheel__result[hidden]{display:none}
.spin-wheel__prize{margin:0 0 .4rem;font-family:var(--font-heading-family);font-size:clamp(3.2rem,5vw,5rem);line-height:1;color:var(--sw-accent)}
.spin-wheel__code-row{display:flex;gap:.8rem;margin:1.6rem 0}
.spin-wheel__code{flex:1;display:flex;align-items:center;justify-content:center;min-height:4.8rem;border:2px dashed var(--sw-accent);font-size:2rem;font-weight:700;letter-spacing:.16em}
.spin-wheel__copy{min-width:9rem;background:transparent;color:var(--sw-text);border:1px solid var(--sw-text);font-size:1.3rem;letter-spacing:.12em;text-transform:uppercase;cursor:pointer}
@media (max-width:749px){
 .spin-wheel{padding:0;align-items:flex-end}
 .spin-wheel__dialog{grid-template-columns:1fr;gap:1.6rem;padding:3.2rem 2rem 2.4rem;max-height:100vh;border-width:2px 0 0;box-shadow:none}
 .spin-wheel__stage{max-width:min(24rem,60vw)}
 .spin-wheel__copyblock{text-align:center}
 .spin-wheel__text{margin-bottom:1.6rem}
}
@media (prefers-reduced-motion:reduce){.spin-wheel__svg{transition-duration:.8s}}
.spin-wheel .spin-wheel__backdrop,.spin-wheel .spin-wheel__pointer{display:block!important}
.spin-wheel{z-index:2147483600}
.spin-wheel__error:empty{min-height:0;margin:-.6rem 0 0}
