/* An ambient paper universe. Every layer stays behind content and hit targets. */
:root[data-payment-atmosphere] body{isolation:isolate}
.payment-atmosphere{--sky-a:var(--theme-accent,var(--accent,#8e6ba5));--sky-b:var(--theme-mint,#d5bc83);--sky-c:#b5b8e4;position:fixed;inset:0;z-index:-1;overflow:clip;pointer-events:none!important;user-select:none;contain:strict;direction:ltr}
.payment-atmosphere *{pointer-events:none!important;box-sizing:border-box}
.atmosphere-depth{position:absolute;inset:-35px;transition:transform 1.2s cubic-bezier(.2,.8,.2,1)}
.payment-atmosphere[data-world=stories]{--sky-a:#a889df;--sky-b:#f3ce8c;--sky-c:#957fc5}
.payment-atmosphere[data-world=muropolis]{--sky-a:#729c74;--sky-b:#e7ae65;--sky-c:#bfd391}
.payment-atmosphere[data-world=food]{--sky-a:#cf7b49;--sky-b:#93ac78;--sky-c:#edc98d}
.payment-atmosphere[data-world=dokupit]{--sky-a:#bf6c87;--sky-b:#b9bf91;--sky-c:#bdabdb}
.payment-atmosphere[data-world=neon]{--sky-a:#7be8ed;--sky-b:#b799f2;--sky-c:#f29fbe}
.atmosphere-wash{position:absolute;width:75vmax;height:75vmax;border-radius:50%;opacity:.16;background:radial-gradient(ellipse at center,color-mix(in srgb,var(--sky-a) 72%,transparent),transparent 64%);animation:sky-breathe 23s ease-in-out infinite alternate;transform:translate3d(0,0,0)}
.wash-0{top:-30vmax;left:-32vmax}.wash-1{right:-40vmax;bottom:-29vmax;background:radial-gradient(ellipse,color-mix(in srgb,var(--sky-b) 80%,transparent),transparent 66%);animation-delay:-11s;animation-duration:31s}.wash-2{top:35%;right:-23vmax;width:49vmax;height:49vmax;background:radial-gradient(ellipse,var(--sky-c),transparent 67%);opacity:.08;animation-delay:-19s;animation-duration:29s}
.atmosphere-ribbons{position:absolute;inset:0;opacity:.34}.atmosphere-ribbon{position:absolute;width:125%;height:75%;left:-10%;top:-19%;animation:sky-ribbon 29s ease-in-out infinite alternate;transform-origin:60% 50%;rotate:-16deg}.atmosphere-ribbon svg{width:100%;height:100%;overflow:visible;stroke:var(--sky-a);stroke-width:.8;stroke-linecap:round}.atmosphere-ribbon path+path{stroke:var(--sky-b);stroke-width:.45;opacity:.65}.ribbon-1{top:56%;left:-35%;rotate:24deg;animation-delay:-12s;animation-duration:37s;opacity:.6}.ribbon-2{top:9%;left:37%;width:78%;height:105%;rotate:85deg;animation-delay:-23s;animation-duration:41s;opacity:.4}
.atmosphere-token{position:absolute;width:36px;height:36px;color:var(--sky-a);opacity:.18;animation:sky-token 20s ease-in-out infinite;transform-origin:50% 50%}.atmosphere-token svg{display:block;width:100%;height:100%;stroke:currentColor;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}.token-0{left:5%;top:18%;animation-delay:-8s;rotate:-15deg}.token-1{left:91%;top:17%;width:23px;height:23px;animation-delay:-17s;color:var(--sky-b)}.token-2{left:12%;top:74%;width:25px;height:25px;animation-delay:-4s;rotate:25deg}.token-3{left:83%;top:82%;width:45px;height:45px;animation-delay:-14s}.token-4{left:47%;top:4%;width:20px;height:20px;animation-delay:-11s;rotate:20deg;color:var(--sky-b)}.token-5{left:3%;top:48%;width:21px;height:21px;animation-delay:-1s;rotate:-28deg}.token-6{left:96%;top:53%;width:27px;height:27px;animation-delay:-6s;rotate:10deg;color:var(--sky-b)}.token-7{left:62%;top:94%;width:29px;height:29px;animation-delay:-19s}.token-8{left:73%;top:7%;width:16px;height:16px;animation-delay:-3s;color:var(--sky-b)}.token-9{left:27%;top:93%;width:18px;height:18px;animation-delay:-12s}.token-10{left:90%;top:35%;width:17px;height:17px;animation-delay:-9s}.token-11{left:32%;top:24%;width:15px;height:15px;animation-delay:-16s;opacity:.1}
.atmosphere-constellation{position:absolute;right:-3%;top:9%;width:32%;height:40%;stroke:var(--sky-b);stroke-width:.13;stroke-dasharray:.7 1.5;opacity:.35;animation:sky-constellation 33s ease-in-out infinite alternate;rotate:-14deg}
.atmosphere-comet{position:absolute;top:9%;left:70%;width:140px;height:1px;rotate:-28deg;opacity:0;background:linear-gradient(90deg,transparent,var(--sky-b));animation:sky-comet 15s ease-in-out infinite;animation-delay:-3s}.atmosphere-comet::after{content:'';position:absolute;right:0;top:-2px;width:5px;height:5px;background:var(--sky-b);border-radius:50%;box-shadow:0 0 12px var(--sky-b)}.comet-1{top:79%;left:3%;animation-delay:-8s;animation-duration:19s;rotate:-21deg}.comet-2{top:43%;left:86%;width:80px;rotate:105deg;animation-delay:-12s;animation-duration:23s}
:root[data-theme=dark] .atmosphere-wash{opacity:.22}:root[data-theme=dark] .atmosphere-ribbons{opacity:.24}:root[data-theme=dark] .atmosphere-token{opacity:.22}
.payment-atmosphere[data-world=stories] .atmosphere-wash,.payment-atmosphere[data-world=neon] .atmosphere-wash{opacity:.2}.payment-atmosphere[data-world=neon] .atmosphere-ribbon{rotate:-27deg}.payment-atmosphere[data-world=neon] .atmosphere-token{filter:drop-shadow(0 0 5px color-mix(in srgb,var(--sky-a) 45%,transparent))}.payment-atmosphere[data-world=muropolis] .atmosphere-ribbon{stroke-dasharray:2 7}.payment-atmosphere[data-world=food] .atmosphere-token,.payment-atmosphere[data-world=dokupit] .atmosphere-token{opacity:.22}
/* Long documents keep an especially calm reading centre. */
.payment-atmosphere[data-context=legal] .atmosphere-ribbons{opacity:.12}.payment-atmosphere[data-context=legal] .atmosphere-wash{opacity:.08}.payment-atmosphere[data-context=legal] .atmosphere-token{opacity:.1}.payment-atmosphere[data-context=legal] .atmosphere-token:nth-of-type(n+8),.payment-atmosphere[data-context=legal] .atmosphere-comet{display:none}.payment-atmosphere[data-context=checkout] .atmosphere-token{opacity:.12}.payment-atmosphere[data-context=checkout] .atmosphere-comet{display:none}
.payment-atmosphere[data-paused=true] *{animation-play-state:paused!important}.payment-atmosphere[data-reduced=true] *{animation:none!important;transition:none!important}.payment-atmosphere[data-reduced=true] .atmosphere-comet{display:none}
@keyframes sky-breathe{0%{transform:translate3d(-2%,1%,0) scale(.91)}50%{transform:translate3d(7%,8%,0) scale(1.08)}100%{transform:translate3d(13%,-4%,0) scale(.96)}}
@keyframes sky-ribbon{0%{transform:translate3d(-2%,-3%,0) rotate(-6deg) scaleY(.93)}100%{transform:translate3d(3%,6%,0) rotate(7deg) scaleY(1.12)}}
@keyframes sky-token{0%,100%{transform:translate3d(0,0,0) rotate(-8deg)}35%{transform:translate3d(12px,-19px,0) rotate(14deg)}70%{transform:translate3d(-9px,7px,0) rotate(-18deg)}}
@keyframes sky-constellation{from{transform:translate3d(0,0,0) rotate(-5deg)}to{transform:translate3d(-18px,25px,0) rotate(9deg)}}
@keyframes sky-comet{0%,12%,100%{opacity:0;transform:translate3d(-80px,0,0) scaleX(.2)}4%{opacity:.65}8%{opacity:0;transform:translate3d(170px,0,0) scaleX(1)}}
@media(max-width:600px){.atmosphere-wash{width:105vmax;height:105vmax;opacity:.13}.wash-0{left:-78vmax;top:-37vmax}.wash-1{right:-81vmax;bottom:-25vmax}.wash-2{display:none}.atmosphere-ribbon{width:190%;left:-60%;opacity:.7}.ribbon-2{display:none}.atmosphere-token{width:23px;height:23px;opacity:.17}.token-1,.token-4,.token-7,.token-8,.token-10,.token-11{display:none}.atmosphere-constellation{width:65%;right:-18%;opacity:.22}.comet-2{display:none}}
@media(prefers-reduced-motion:reduce){.payment-atmosphere *{animation:none!important;transition:none!important}.payment-atmosphere .atmosphere-comet{display:none}}
:root[data-motion=reduced] .payment-atmosphere *{animation:none!important;transition:none!important}:root[data-motion=reduced] .payment-atmosphere .atmosphere-comet{display:none}
.payment-atmosphere[data-paused=true] .atmosphere-depth{transition:none}
