/* Scoped Reward Popup Studio styles; no changes to Sales Notification or Offer Bubble. */
.cspr-root,.cspr-root *,.cspr-admin,.cspr-admin *{box-sizing:border-box}
.cspr-root{position:fixed;inset:0;display:grid;place-items:center;padding:max(18px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));z-index:2147483001;font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif}
.cspr-shade{position:absolute;inset:0;background:rgba(12,18,35,.61);backdrop-filter:blur(6px)}
.cspr-card{--cspr-accent:#7545ee;position:relative;z-index:1;width:min(480px,calc(100vw - 28px));max-height:min(92dvh,780px);overflow:auto;overscroll-behavior:contain;background:linear-gradient(155deg,#fcfaff,#ede6ff);border-radius:26px;padding:30px 30px 24px;box-shadow:0 35px 115px rgba(6,4,28,.35);color:#1d1933;line-height:1.45;text-align:center;animation:cspr-enter .5s cubic-bezier(.2,.9,.3,1) both}
@keyframes cspr-enter{from{opacity:0;transform:translateY(22px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}
.cspr-theme-violet{background:linear-gradient(150deg,#fff,#efe8ff)}
.cspr-theme-gold{background:linear-gradient(140deg,#fffdf4,#f4e2b1);color:#302619}
.cspr-theme-mint{background:linear-gradient(145deg,#fafffc,#d5f5e8);color:#133d32}
.cspr-theme-rose{background:linear-gradient(145deg,#fffafa,#ffe0e9);color:#57283b}
.cspr-theme-midnight{background:linear-gradient(145deg,#172242,#293962);color:#fff}
.cspr-close{appearance:none!important;position:absolute!important;top:0!important;right:0!important;width:44px!important;height:44px!important;min-height:44px!important;background:linear-gradient(135deg,#ffab55,#f16c68)!important;color:#fff!important;border:0!important;border-radius:0 26px 0 100%!important;display:grid!important;place-items:center!important;padding:0 0 9px 9px!important;font-size:25px!important;font-weight:400!important;cursor:pointer!important;z-index:10;line-height:1!important}
.cspr-card button:focus-visible,.cspr-card a:focus-visible{outline:3px solid #219dec;outline-offset:3px}
.cspr-kicker{display:inline-flex;max-width:90%;padding:7px 12px;border-radius:100px;letter-spacing:.14em;text-transform:uppercase;font-size:10px;font-weight:850;background:rgba(125,77,215,.13);color:var(--cspr-accent)}
.cspr-theme-midnight .cspr-kicker{background:rgba(255,255,255,.12);color:#f5d8a5}
.cspr-title{font-size:clamp(22px,4.7vw,31px);line-height:1.16;margin:15px 0 9px!important;font-weight:850;color:inherit!important;letter-spacing:-.035em;overflow-wrap:anywhere}
.cspr-description{font-size:13px;opacity:.75;max-width:380px;margin:0 auto 15px;line-height:1.6}
.cspr-stage{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:205px;border-radius:18px;overflow:hidden;border:1px solid rgba(104,83,152,.14);background:linear-gradient(130deg,#f9f7ff,#e8defd);padding:20px 15px}
.cspr-theme-midnight .cspr-stage{background:linear-gradient(135deg,#19213a,#364578);border-color:#ffffff24}
.cspr-product-art{width:94px;height:87px;position:relative;z-index:1;display:grid;place-items:center;border-radius:16px;background:rgba(255,255,255,.55)}
.cspr-product-image{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;display:block}
.cspr-symbol{font-size:50px;color:var(--cspr-accent)}
.cspr-reveal{position:relative;z-index:1;display:flex;align-items:center;flex-direction:column;gap:7px;filter:blur(6px);opacity:.24;transition:filter .5s,opacity .5s;pointer-events:none}
.cspr-is-revealed .cspr-reveal{filter:none;opacity:1;pointer-events:auto}
.cspr-reveal-kicker{font-weight:750;font-size:10px;letter-spacing:.12em;opacity:.7}
.cspr-code{font-size:clamp(22px,5vw,30px);font-weight:900;letter-spacing:.07em;line-height:1.2;overflow-wrap:anywhere;color:var(--cspr-accent)}
.cspr-copy{border:1px solid currentColor!important;background:rgba(255,255,255,.9)!important;color:#41336d!important;padding:8px 16px!important;min-height:34px!important;border-radius:9px!important;font-size:12px!important;font-weight:800!important;cursor:pointer!important}
.cspr-reveal-info{margin:3px 0 0!important;font-size:10px!important;opacity:.7;max-width:330px}
.cspr-scratch-canvas,.cspr-gift,.cspr-mystery{position:absolute!important;z-index:4!important;inset:0!important;width:100%!important;height:100%!important;border:0!important;border-radius:18px!important;cursor:pointer!important}
.cspr-scratch-canvas{touch-action:none;transition:opacity .35s;cursor:crosshair}
.cspr-gift,.cspr-mystery{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#fff!important;background:linear-gradient(145deg,var(--cspr-accent),#30276a)!important;padding:20px!important;transition:transform .35s,opacity .35s}
.cspr-gift:hover .cspr-gift-graphic,.cspr-mystery:hover .cspr-mystery-ornament{transform:translateY(-4px) rotate(-4deg)}
.cspr-gift-graphic{position:relative;display:block;width:96px;height:100px;transition:transform .3s}
.cspr-gift-box{position:absolute;bottom:0;left:10px;right:10px;height:62px;border-radius:7px;background:#ffdc7f;box-shadow:inset 0 0 0 8px #fff2c9}
.cspr-gift-lid{position:absolute;z-index:2;top:22px;left:3px;right:3px;height:23px;border-radius:5px;background:#ffedb1;box-shadow:0 5px 10px #12094730}
.cspr-gift-ribbon{position:absolute;z-index:3;top:23px;bottom:0;left:40px;width:15px;background:#e87981}
.cspr-mystery{background:linear-gradient(140deg,#121934,var(--cspr-accent))!important;box-shadow:inset 0 0 0 10px #ffffff18;perspective:800px}
.cspr-mystery-ornament{font-size:92px;line-height:1;transition:transform .4s}
.cspr-reveal-prompt{font-size:16px;font-weight:850}
.cspr-mystery-hint{font-size:10px;opacity:.8}
.cspr-is-revealed .cspr-gift,.cspr-is-revealed .cspr-mystery{transform:rotateY(90deg) scale(.85);opacity:0;pointer-events:none}
.cspr-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin:18px 0 12px}
.cspr-actions>*{font-size:12px!important;line-height:1.3!important;min-height:43px!important;min-width:130px;flex:1;border-radius:11px!important;padding:12px 15px!important;text-decoration:none!important;font-weight:800!important;cursor:pointer!important;display:grid!important;place-items:center}
.cspr-accessible-reveal{border:1px solid var(--cspr-accent)!important;background:transparent!important;color:var(--cspr-accent)!important}
.cspr-theme-midnight .cspr-accessible-reveal{color:#eed2a2!important;border-color:#eed2a2!important}
.cspr-shop{background:var(--cspr-accent)!important;color:#fff!important;border:0!important}
.cspr-accessible-reveal:disabled{opacity:.58;cursor:default!important}
.cspr-terms{font-size:11px;line-height:1.5;opacity:.72;margin:0}
.cspr-no-animation,.cspr-no-animation *{animation:none!important;transition:none!important}
@media(max-width:520px){.cspr-card{border-radius:20px;padding:23px 17px 18px;max-height:calc(100dvh - 25px)}.cspr-close{border-radius:0 20px 0 100%!important}.cspr-stage{min-height:190px}.cspr-actions>*{min-width:100px}}
@media(prefers-reduced-motion:reduce){.cspr-card,.cspr-card *{animation:none!important;transition:none!important}}

/* v1.0.1 compact reward actions: no stretched, full-row theme buttons. */
.cspr-card .cspr-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:center!important;justify-content:center!important;margin:14px 0 11px!important}
.cspr-card .cspr-actions > .cspr-accessible-reveal,.cspr-card .cspr-actions > .cspr-shop{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;max-width:100%!important;min-width:0!important;flex:0 1 auto!important;min-height:38px!important;height:auto!important;padding:9px 15px!important;line-height:1.25!important;border-radius:999px!important;font-size:12px!important;font-weight:750!important;text-align:center!important;white-space:normal!important;text-decoration:none!important;box-shadow:0 3px 10px #20114615!important}
.cspr-card .cspr-actions > .cspr-accessible-reveal:disabled{box-shadow:none!important}
@media(max-width:370px){.cspr-card .cspr-actions{gap:7px!important}.cspr-card .cspr-actions > .cspr-accessible-reveal,.cspr-card .cspr-actions > .cspr-shop{font-size:11px!important;padding:9px 11px!important;min-height:36px!important}}

/* Six independent coupon visual templates; existing reveal experiences remain fully functional. */
.cspr-card.cspr-template-aurora{background:radial-gradient(ellipse at 12% 0,#386c8f75,transparent 52%),linear-gradient(146deg,#102743,#19294a 53%,#3f326d);color:#fff}
.cspr-template-aurora .cspr-kicker{background:#c6fbec20;color:#bcefe8}
.cspr-template-aurora .cspr-stage{background:radial-gradient(circle at 80% 24%,#4fcbb875,transparent 50%),linear-gradient(145deg,#0d2a41,#22375d);border:1px solid #a5f5de44;box-shadow:inset 0 0 45px #3acac329}
.cspr-template-aurora .cspr-reveal-kicker,.cspr-template-aurora .cspr-reveal-info{color:#f3f7ff}
.cspr-template-aurora .cspr-shop{background:linear-gradient(120deg,#3477bb,#6a45bb)!important}
.cspr-template-aurora .cspr-accessible-reveal{color:#bcefe8!important;border-color:#bcefe8!important}

.cspr-card.cspr-template-prism{background:radial-gradient(circle at 11% 17%,#bde9ff9c,transparent 35%),radial-gradient(circle at 93% 80%,#f4b8de8f,transparent 45%),linear-gradient(140deg,#faf4ff,#e8e2fd);color:#282044;border:1px solid #ffffffba}
.cspr-template-prism .cspr-stage{background:linear-gradient(130deg,#ffffff8c,#dbcafa87 48%,#f5ddf98c);border:1px solid #ffffffdc;box-shadow:inset 0 1px 1px #fff,0 12px 32px #a97dd72e;backdrop-filter:blur(7px)}
.cspr-template-prism .cspr-shop{background:linear-gradient(120deg,#6248e8,#ae43bb)!important}

.cspr-card.cspr-template-golden{background:radial-gradient(circle at 88% 0%,#705b3780,transparent 48%),linear-gradient(145deg,#171c27,#30283c 60%,#312414);color:#fff6e4;border:1px solid #e4bf685e}
.cspr-template-golden .cspr-kicker{background:#ffe3a020;color:#ffe19c}
.cspr-template-golden .cspr-stage{background:repeating-linear-gradient(135deg,#ffffff06 0,#ffffff06 1px,transparent 1px,transparent 20px),linear-gradient(140deg,#2d2734,#55422c);border:1px solid #e7c38485;box-shadow:0 15px 30px #160c1833,inset 0 0 30px #e0ab501b}
.cspr-template-golden .cspr-code{color:#ffe5a5}
.cspr-template-golden .cspr-shop{background:linear-gradient(120deg,#ffdb92,#bd8744)!important;color:#30200d!important}
.cspr-template-golden .cspr-accessible-reveal{color:#f7d9a0!important;border-color:#f7d9a0!important}

.cspr-card.cspr-template-botanical{background:radial-gradient(circle at 90% 8%,#e3f6da,transparent 48%),linear-gradient(155deg,#fffef7,#e8f0e0);color:#214c3c}
.cspr-template-botanical .cspr-kicker{background:#d2ead8;color:#287249}
.cspr-template-botanical .cspr-stage{background:radial-gradient(ellipse at 0% 100%,#8fbb9659,transparent 57%),linear-gradient(130deg,#f7faeb,#d5ecd6);border:1px solid #98c2a782}
.cspr-template-botanical .cspr-code{color:#227b55}
.cspr-template-botanical .cspr-shop{background:linear-gradient(120deg,#216b4f,#42977d)!important}
.cspr-template-botanical .cspr-accessible-reveal{border-color:#247952!important;color:#247952!important}

.cspr-card.cspr-template-rose{background:radial-gradient(circle at 10% 0%,#fff8ef,transparent 48%),linear-gradient(155deg,#fffafa,#ffe4ee);color:#59364d}
.cspr-template-rose .cspr-kicker{background:#fbe0e7;color:#ae496c}
.cspr-template-rose .cspr-stage{background:radial-gradient(circle at 70% 22%,#fffdfb,transparent 47%),linear-gradient(130deg,#fff1f4,#f6b9d1);border:1px solid #ea92ac55}
.cspr-template-rose .cspr-code{color:#b84070}
.cspr-template-rose .cspr-shop{background:linear-gradient(120deg,#bd527b,#ed779a)!important}
.cspr-template-rose .cspr-accessible-reveal{border-color:#bd527b!important;color:#bd527b!important}

.cspr-card.cspr-template-ticket{background:linear-gradient(137deg,#10172c,#222956 68%,#182044);color:#fafaff;border:1px solid #22d9e580}
.cspr-template-ticket .cspr-kicker{background:#50e0e11d;color:#9df5f7}
.cspr-template-ticket .cspr-stage{background:repeating-linear-gradient(90deg,#ffffff07 0,#ffffff07 1px,transparent 1px,transparent 24px),linear-gradient(140deg,#1c2853,#332563);border:2px dashed #74e5f6;box-shadow:0 0 22px #59b9ff29,inset 0 0 19px #36c0ff18}
.cspr-template-ticket .cspr-code{color:#a3f1fa}
.cspr-template-ticket .cspr-shop{background:linear-gradient(120deg,#04b5d1,#6348dd)!important}
.cspr-template-ticket .cspr-accessible-reveal{border-color:#93e7ff!important;color:#93e7ff!important}
@media(prefers-reduced-motion:reduce){.cspr-card.cspr-template-aurora,.cspr-card.cspr-template-prism,.cspr-card.cspr-template-golden,.cspr-card.cspr-template-botanical,.cspr-card.cspr-template-rose,.cspr-card.cspr-template-ticket{animation:none!important}}
/* Match Reward typography across a standalone modal and the mixed Offer carousel. */
.cspr-card{font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif}
