/* Magnus sales pop-up (standalone, for any page). Bottom-RIGHT on desktop, top on phones. */
:root{--mp-grape:#573B65;--mp-paprika:#D4602B;--mp-thistle:#CABAD7;--mp-olive:#5C643F;--mp-ink:#2B2030;--mp-muted:#6A5A75;--mp-line:#E6DCF2}
.toast { position:fixed; left:auto; right:max(16px, env(safe-area-inset-right, 0px)); font-family:Poppins, system-ui, sans-serif; box-sizing:border-box; bottom:calc(18px + env(safe-area-inset-bottom, 0px)); z-index:20; width:min(350px, calc(100vw - 32px)); background:#fff; border:2px solid var(--mp-grape); border-radius:20px; box-shadow:0 10px 28px rgba(43,32,48,.16); padding:14px 38px 16px 14px; display:flex; gap:14px; align-items:center; transform:translateX(0); opacity:1; transition:transform .55s cubic-bezier(.34,1.56,.64,1), opacity .3s ease; overflow:visible; }
.toast.out { transform:translateX(calc(100% + 40px)); opacity:0; pointer-events:none; }
.toast:hover { transform:translateX(0) scale(1.02); }
.toast .pop { position:absolute; top:-15px; left:18px; background:var(--mp-paprika); color:#fff; font-weight:700; font-size:12px; letter-spacing:.1em; text-transform:uppercase; padding:5px 12px; border-radius:999px; box-shadow:3px 3px 0 var(--mp-grape); transform:rotate(-6deg); white-space:nowrap; }
.toast.go .pop { animation:stick .55s cubic-bezier(.34,1.56,.64,1) .25s both; }
.toast .map { width:76px; height:76px; border-radius:16px; border:2px solid var(--mp-grape); background:#EDE4F7; flex:none; position:relative; }
.toast .map img { width:72px; height:72px; display:block; border-radius:14px; }
.toast .map .tile { width:72px; height:72px; border-radius:14px; background-repeat:no-repeat; background-size:256px 256px; }
.toast .map .pin { position:absolute; left:50%; top:50%; width:22px; height:22px; transform:translate(-50%,-90%); filter:drop-shadow(0 2px 1px rgba(0,0,0,.25)); }
.toast.go .map .pin { animation:drop .6s cubic-bezier(.34,1.56,.64,1) .35s both; }
.toast .map .osm { position:absolute; left:3px; bottom:2px; font-size:6.5px; color:#3E2A49; background:rgba(255,255,255,.8); padding:0 3px; border-radius:3px; }
.toast .ava { position:absolute; right:-10px; bottom:-10px; width:34px; height:34px; border-radius:999px; background:var(--mp-paprika); color:#fff; border:3px solid #fff; box-shadow:0 0 0 2px var(--mp-grape); display:grid; place-items:center; font-family:"Roca Two", Georgia, serif; font-size:17px; line-height:1; }
.toast.go .ava { animation:boing .5s cubic-bezier(.34,1.56,.64,1) .5s both; }
.toast .who { font-size:14px; line-height:1.35; min-width:0; color:var(--mp-ink); }
.toast .who b { display:block; font-family:"Roca Two", Georgia, serif; font-weight:700; color:var(--mp-grape); font-size:22px; line-height:1; margin-bottom:3px; }
.toast .who .bought { font-weight:600; color:var(--mp-paprika); }
.toast .when { display:block; font-size:12px; color:var(--mp-muted); margin-top:3px; }
.toast .src { display:flex; align-items:center; gap:4px; font-size:10.5px; color:var(--mp-muted); margin-top:6px; }
.toast .src svg { width:11px; height:11px; color:var(--mp-olive); flex:none; }
.toast .stripe-logo { display:block; width:38px; height:16px; margin-top:2px; }
.toast .timer { position:absolute; left:16px; right:16px; bottom:6px; height:3px; border-radius:3px; background:var(--mp-line); overflow:hidden; }
.toast .timer i { display:block; height:100%; background:var(--mp-paprika); transform-origin:left; transform:scaleX(0); }
.toast.go .timer i { animation:tick 5s linear both; }
.toast .confetti { position:absolute; left:52px; top:44px; width:0; height:0; pointer-events:none; }
.toast .confetti i { position:absolute; width:7px; height:7px; border-radius:2px; opacity:0; }
.toast .confetti i:nth-child(3n) { background:var(--mp-paprika); }
.toast .confetti i:nth-child(3n+1) { background:var(--mp-thistle); border-radius:999px; }
.toast .confetti i:nth-child(3n+2) { background:var(--mp-olive); }
.toast.go .confetti i { animation:burst .9s cubic-bezier(.2,.7,.3,1) .3s both; }
.toast .x { position:absolute; top:6px; right:6px; width:28px; height:28px; border:0; background:transparent; color:var(--mp-muted); font:inherit; font-size:20px; line-height:1; cursor:pointer; border-radius:8px; }
.toast .x:focus-visible { outline:3px solid var(--mp-grape); }





@keyframes stick { 0% { transform:rotate(-30deg) scale(0); } 100% { transform:rotate(-6deg) scale(1); } }
@keyframes drop { 0% { transform:translate(-50%,-260%); opacity:0; } 100% { transform:translate(-50%,-90%); opacity:1; } }
@keyframes boing { 0% { transform:scale(0); } 100% { transform:scale(1); } }
@keyframes tick { from { transform:scaleX(1); } to { transform:scaleX(0); } }
@keyframes burst { 0% { opacity:1; transform:translate(0,0) rotate(0) scale(1); } 100% { opacity:0; transform:translate(var(--dx), var(--dy)) rotate(var(--r)) scale(.6); } }
.toast svg.pin, .toast .src svg{overflow:visible}
@media (max-width: 860px) { .toast { bottom:auto; top:calc(18px + env(safe-area-inset-top, 0px)); width:min(320px, calc(100vw - 32px)); } .toast.out { transform:translateY(calc(-100% - 40px)); } }
@media (prefers-reduced-motion: reduce) { .toast { transition:none; } .toast.go .pop, .toast.go .map .pin, .toast.go .ava, .toast.go .timer i, .toast.go .confetti i { animation:none; } .toast .confetti { display:none; } }
