body .rpd-brand{font-size:24px!important}
body #campaign{left:22px;right:auto}
body #walk-dock{bottom:max(25px,env(safe-area-inset-bottom))}
body #distance-pill{position:fixed;top:auto;bottom:calc(max(25px,env(safe-area-inset-bottom)) + var(--walkdock-height,120px) + 12px);left:50%;right:auto;transform:translateX(-50%);z-index:7;max-width:calc(100vw - 26px);padding:10px 17px;background:#fff9edf2}
body #stats-settings{font-size:8px!important;left:0;bottom:max(0px,env(safe-area-inset-bottom));padding:3px 5px;border-radius:0 4px 0 0}
body #flight-reveal .fine-print,body #flight-reveal .fine-print *{font-size:10px!important;line-height:1.5}
body #walk-permissions .stats-optional{display:inline!important;font-size:12px!important;margin:0 0 0 4px;opacity:.7}
body .completion-card{position:relative;overflow:hidden;max-height:90dvh;overflow-y:auto;padding:30px 24px;background:radial-gradient(ellipse at top,#f5dfef,transparent 55%),#fffaf3}
body .completion-card h2{font-size:38px;margin:12px 0}
body .completion-card>p{font-size:18px;line-height:1.45}
body .completion-card .finish-deals{font-size:12px!important;line-height:1.65;color:#78627b}
body .completion-card .finish-social{font-size:16px!important;line-height:1.45;margin:20px 0 12px}
body .copy-tags{display:flex;flex-direction:column;align-items:center;gap:7px;width:100%;border:1px solid #d5b1cf;border-radius:16px;background:#f5e7f3;color:#8e347b;padding:14px 10px;user-select:text}
body .copy-tags strong{font-size:20px}body .copy-tags span{font-size:16px}
body #copy-status{display:block;font-size:16px;margin-top:8px;min-height:20px}
.finish-confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden;height:220px}
.finish-confetti i{position:absolute;left:calc(var(--i)*4.3%);top:-20px;width:7px;height:16px;background:#cf72b1;animation:finishConfetti 2.8s calc(var(--i)*-.11s) ease-out 2;transform:rotate(calc(var(--i)*27deg))}
.finish-confetti i:nth-child(3n){background:#b6c681}.finish-confetti i:nth-child(3n+1){background:#edcb73}
@keyframes finishConfetti{0%{translate:0 -20px;opacity:0}15%{opacity:1}100%{translate:20px 220px;rotate:280deg;opacity:0}}
@media(prefers-reduced-motion:reduce){.finish-confetti i{animation:none}}
/* One centered surface with a consistent, compact type hierarchy. */
body #puzzle-assembly{left:50%;top:50%;transform:translate(-50%,-50%);width:min(92vw,500px);max-width:none;padding:0;background:none;border:0;box-shadow:none;backdrop-filter:none;border-radius:24px}
body #puzzle-assembly .assembly-tray{box-sizing:border-box;width:100%;max-width:100%;margin:0;padding:24px;background:rgba(255,250,244,.94);border:1px solid #ffffffa6;border-radius:24px;box-shadow:0 12px 48px #34203b29}
body #puzzle-assembly .deal-topline{font-size:12px;color:#8a7287;letter-spacing:.02em}
body #puzzle-assembly #deal-label{font-size:12px!important}
body #puzzle-assembly .deal-countdown{width:36px;height:36px;font-size:14px!important;border-width:1px}
body #puzzle-assembly .puzzle-reward{font-family:Arial,Helvetica,sans-serif;font-size:28px!important;font-weight:700!important;letter-spacing:-.025em;line-height:1.18;margin:18px 0 12px!important;min-height:0;text-shadow:none;text-wrap:balance}
body #puzzle-assembly .deal-description{font-size:18px;line-height:1.45;margin:0 auto 20px;max-width:100%;text-wrap:pretty}
body #puzzle-assembly #assembly-board{width:220px;max-width:100%;max-height:160px}
body #puzzle-assembly .assembly-sparkles{display:none}
body #start{font-size:26px;text-transform:none}
body #start-dock .dock-note{font-size:10px!important;letter-spacing:.55px;white-space:nowrap;line-height:1.3;text-align:center}
body #start-dock .walk-kicker{font-family:Georgia,'Times New Roman',serif;font-size:13px!important;font-style:italic;font-weight:400;letter-spacing:.35px;text-transform:none;gap:7px;padding:7px 12px}
body #start-dock .walk-kicker .icon{width:14px;height:14px}
body #campaign{opacity:.68;background:#fff9f5a8}
body .welcome-content>p{font-size:clamp(13px,3.7vw,20px)!important;line-height:1.6;max-width:570px}
body .welcome-content>p strong{white-space:nowrap;font-size:inherit!important}
body .welcome-content .primary{white-space:nowrap;font-size:18px;gap:16px}
body .welcome-distance{font-size:clamp(26px,6vw,34px)!important;font-weight:800;color:#9b367c;letter-spacing:-.025em;margin:28px 0}
body .completion-card{padding:28px 24px;text-align:center}
body .completion-card .finish-deals{margin:18px 0;line-height:1.5}
body .copy-tags{width:100%;max-width:330px;margin:12px auto 0;justify-content:center;text-align:center}
body .instagram-link{display:flex;align-items:center;justify-content:center;gap:8px;margin:14px auto 8px;text-decoration:none;font-size:14px!important}
body .instagram-link span{font-size:14px!important}
.instagram-icon,.external-icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.instagram-dot{fill:currentColor;stroke:none}.external-icon{width:15px;height:15px}
body header .collab-logo{width:240px;height:auto;display:block;border-radius:3px;filter:none}
body .welcome-brand .collab-logo{display:block;width:min(100%,390px);height:auto;margin:0 auto;border-radius:4px}
body .rpd-ticket-brand .collab-logo{display:block;width:220px;height:auto;border-radius:3px}
body .welcome-content h1{font-size:clamp(36px,11vw,68px)}
body .welcome-content h1>span{display:block;white-space:nowrap;font-size:inherit!important;line-height:1.06}
body .welcome-distance{display:flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap}
.pin-icon{width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:1.7;flex:none}
body #reveal-walk{text-transform:none;font-size:22px}
body #permission-location{font-size:22px!important}
body #campaign{opacity:.84}
body #turn-cue{background:none!important;box-shadow:none!important;border:0;padding:8px 14px;text-shadow:0 1px 8px #fff,0 0 18px #fff}
body #turn-cue b{background:none;box-shadow:none;border:0;border-radius:0;filter:none}
body #turn-cue{background:#fff9efed!important;border:1px solid #fff8!important;border-radius:18px;padding:12px 20px;text-shadow:none;box-shadow:0 5px 20px #45344816!important}
body #turn-cue b{background:transparent!important;box-shadow:none!important;border:0!important;filter:none!important;padding:0!important}
body #near-store,body #near-store .near-message{background:none!important;box-shadow:none!important;border:0!important;backdrop-filter:none!important}
body #near-store::before,body #near-store::after{display:none}
body .completion-card .finish-social strong{font-size:inherit;color:#a52e7b;font-weight:800}
body .completion-card .finish-social .free-word{font-size:25px!important;letter-spacing:.02em;color:#ba348c;text-shadow:0 0 14px #e9a9d355}
body .completion-card .finish-deals{margin:24px 0 0;padding-top:16px;border-top:1px solid #dfd0df}
body #start{font-size:31px;font-weight:800;position:relative;overflow:hidden;animation:startInvite 2.6s ease-in-out infinite!important;box-shadow:0 8px 25px #b3489c35}
body #start::before{content:'';position:absolute;inset:-80% -45%;background:linear-gradient(110deg,transparent 40%,#ffffff38 49%,transparent 58%);transform:translateX(-75%) rotate(8deg);animation:startSheen 3.5s ease-in-out infinite;pointer-events:none}
body #start::after{display:none}
@keyframes startInvite{0%,100%{transform:scale(1);box-shadow:0 8px 25px #b3489c35}50%{transform:scale(1.025);box-shadow:0 9px 33px #b3489c60}}
@keyframes startSheen{0%,45%{transform:translateX(-75%) rotate(8deg)}80%,100%{transform:translateX(75%) rotate(8deg)}}
body #puzzle-assembly .assembly-tray{position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 70%,#f4d9eb55,transparent 70%),#fffaf5f2}
body #puzzle-assembly #assembly-board{filter:drop-shadow(0 6px 7px #a67d9c33);border-radius:14px;background:linear-gradient(135deg,#efe6ef,#fff9f1);padding:8px;box-shadow:inset 0 0 0 1px #fff,0 0 0 1px #dfcbdc55}
body .assembled-piece{transform-box:fill-box;transform-origin:center}
body #puzzle-assembly .assembly-sparkles{display:block;position:absolute;inset:0;pointer-events:none;overflow:hidden}
.assembly-sparkles i{position:absolute;left:50%;top:67%;width:5px;height:5px;border-radius:2px;background:#d4ab61;opacity:0;--a:calc(var(--spark)*22.5deg)}
.piece-fitted .assembly-sparkles i{animation:pieceBurst .9s ease-out both;animation-delay:calc(var(--spark)*.012s)}
.assembly-sparkles i:nth-child(2n){background:#d46cad}.assembly-sparkles i:nth-child(3n){width:8px;height:3px;background:#c9d797}
@keyframes pieceBurst{0%{opacity:0;transform:rotate(var(--a)) translateX(12px) scale(.5)}20%{opacity:1}100%{opacity:0;transform:rotate(var(--a)) translateX(140px) rotate(130deg) scale(.4)}}
.piece-fitted #assembly-board{animation:pieceBoardGlow .75s ease-out}
@keyframes pieceBoardGlow{0%{filter:drop-shadow(0 0 0 #db9ac8)}35%{filter:drop-shadow(0 0 14px #db9ac8)}100%{filter:drop-shadow(0 6px 7px #a67d9c33)}}
@media(max-width:600px){body header .collab-logo{width:235px;max-width:60vw}body .welcome-brand{margin-bottom:30px}body .welcome-distance{font-size:25px!important}}
@media(prefers-reduced-motion:reduce){body #start,body #start::before,.piece-fitted .assembly-sparkles i,.piece-fitted #assembly-board{animation:none!important}}
@media(max-width:600px){body #puzzle-assembly .assembly-tray{padding:20px}body #start-dock .dock-note{font-size:9px!important;letter-spacing:.35px}body .completion-card h2{font-size:32px}}
@media(max-width:600px){body .rpd-brand{font-size:19.2px!important;max-width:235px}body #campaign{left:16px;right:auto;top:100px}body #distance-pill{padding:9px 14px}body #distance-pill #distance{font-size:18px!important}body #distance-pill #destination-label{font-size:16px!important}}

/* Clear the view of the final storefronts with a gentle fade. */
#campaign{transition:opacity 2.4s ease,visibility 2.4s}
#campaign.destination-faded{opacity:0!important;visibility:hidden;pointer-events:none}
@media(prefers-reduced-motion:reduce){#campaign{transition:none}}

#open-final-gift{position:fixed;z-index:35;left:50%;bottom:calc(var(--walk-dock-height,180px) + 80px);transform:translateX(-50%);padding:15px 28px;border:1px solid #f8d6eb;border-radius:30px;background:#a83285;color:white;font-size:21px;font-weight:700;box-shadow:0 5px 24px #ad38824d;cursor:pointer}#open-final-gift[hidden]{display:none}
