/* Moving pictures for the public site. Each one runs only while it is on
 * screen (.is-live from the layout script, .is-run from assets/site/exchange.js)
 * and rests on its finished picture without script or with reduced motion.
 *   Pay scene ........ views/site/_pay_scene.php (home hero)
 *   Tool pictures .... views/site/home.php (invoice, link, store, exchange)
 *   Invoice and link . views/site/business.php
 *   Store window ..... views/site/store.php
 *   Exchange ......... views/site/_exchange.php (home and /exchange)
 * Brand: navy #1a2842 / #0d1526, gold #D6B370 / #c39a4e. */

/* ---------- Pay scene: choose a way, pay, money in the balance (9s) ---------- */
.pc{position:relative;width:min(100%,430px);margin-inline:auto;padding:26px 18px 46px}
.pc-card{position:relative;overflow:hidden;padding:16px;border-radius:28px;background:#fff;border:1px solid #e4e7ee;box-shadow:0 60px 100px -50px rgba(13,21,38,.55),0 2px 6px rgba(13,21,38,.05)}
.pc-bar{display:flex;align-items:center;justify-content:center;gap:6px;margin:-2px auto 12px;padding:5px 12px;width:max-content;max-width:100%;border-radius:99px;background:#f2f4f8;color:#667085;font:600 11.5px/1.3 var(--mono)}
.pc-bar .ui-icon{width:12px;height:12px;color:#12b76a;flex:none}
.pc-bar span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pc-top{display:flex;align-items:center;gap:10px}
.pc-shop{width:42px;height:42px;flex:none;border-radius:14px;display:grid;place-items:center;background:linear-gradient(150deg,#f3e9d5,#e8d5ac);color:#8a6b30}
.pc-shop .ui-icon{width:22px;height:22px}
.pc-who{display:grid;min-width:0}
.pc-who b{display:flex;align-items:center;gap:5px;font-size:16px;font-weight:800}
.pc-who small{font-size:12.5px;color:#667085}
.pc-verified{display:inline-grid;color:#2f6fd6}.pc-verified .ui-icon{width:17px;height:17px}
.pc-amt{margin:12px 0 12px;text-align:center;font-size:40px;font-weight:800;letter-spacing:-.03em;font-variant-numeric:tabular-nums;color:#0d1526}
.pc-methods{list-style:none;margin:0;padding:0;display:grid;gap:7px}
.pc-methods li{display:flex;align-items:center;gap:10px;height:46px;padding:0 12px;border-radius:14px;border:1.5px solid #e8ebf1;background:#fff;transition:border-color .25s,background .25s,box-shadow .25s}
.pc-logos{display:flex;align-items:center;gap:6px}
.pc-logo{height:26px;width:auto;max-width:56px;object-fit:contain;border-radius:7px}
.pc-logo.is-visa{height:15px}.pc-logo.is-mastercard{height:22px}.pc-logo.is-apple-pay,.pc-logo.is-google-pay{height:16px;padding:3px 5px;border:1px solid #e4e7ec;border-radius:7px;box-sizing:content-box}
.pc-logo.is-paypal{height:22px}
.pc-methods b{font-size:14px;font-weight:700;color:#344054}
.pc-radio{margin-inline-start:auto;width:20px;height:20px;border-radius:99px;border:2px solid #cfd5df;flex:none;transition:border-color .25s,box-shadow .25s}
.pc-methods li:first-child{border-color:#1a2842;background:#f7f8fb}
.pc-methods li:first-child .pc-radio{border-color:#1a2842;box-shadow:inset 0 0 0 4px #fff,inset 0 0 0 10px #1a2842}
.pc-pay{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:12px;height:50px;border-radius:15px;background:linear-gradient(150deg,#1a2842,#0d1526);color:#fff;font-weight:800;font-size:15.5px}
.pc-done{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:12px;background:rgba(255,255,255,.96);opacity:0;visibility:hidden}
.pc-done span{width:84px;height:84px;border-radius:99px;display:grid;place-items:center;background:linear-gradient(150deg,#32d583,#079455);color:#fff;box-shadow:0 20px 40px -18px rgba(7,148,85,.8)}
.pc-done span .ui-icon{width:44px;height:44px;stroke-width:2.6}
.pc-done b{font-size:24px;font-weight:800;color:#067647}
.pc-toast{position:absolute;inset-block-end:4px;inset-inline-start:0;display:flex;align-items:center;gap:12px;padding:12px 18px 12px 12px;border-radius:20px;background:linear-gradient(150deg,#1a2842,#0d1526);color:#fff;box-shadow:0 26px 50px -22px rgba(13,21,38,.75)}
html[dir="rtl"] .pc-toast{padding:12px 12px 12px 18px}
.pc-toast-ic{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:rgba(214,179,112,.16);color:#D6B370}
.pc-toast-ic .pu-mark{width:22px;height:22px}
.pc-toast span:last-child{display:grid}
.pc-toast small{font-size:12px;color:rgba(255,255,255,.65)}
.pc-toast b{font-size:22px;font-weight:800;color:#6ce9a6;font-variant-numeric:tabular-nums}
.pc-chip{position:absolute;display:flex;align-items:center;gap:7px;padding:9px 13px;border-radius:14px;background:#fff;border:1px solid #e4e7ee;box-shadow:0 18px 36px -20px rgba(13,21,38,.45);font-size:13px;font-weight:700;color:#344054;white-space:nowrap}
.pc-chip .ui-icon{width:17px;height:17px;color:#8a6b30}
.pc-chip-1{inset-block-start:4px;inset-inline-end:-6px;transform:rotate(3deg)}
.pc-chip-2{inset-block-start:46%;inset-inline-end:-26px;transform:rotate(-2deg);font-family:var(--mono);font-size:12px}
@media (max-width:640px){.pc{padding-inline:6px}.pc-chip-2{inset-inline-end:-4px;inset-block-start:auto;inset-block-end:-8px}.pc-chip-1{inset-inline-end:0}.pc-amt{font-size:34px}}
@media (max-width:380px){.pc-chip-2{display:none}}
/* Motion */
.pc.is-live .pc-methods li{animation:pcRow 9s infinite}
.pc.is-live .pc-methods li:nth-child(2){animation-delay:.9s}.pc.is-live .pc-methods li:nth-child(3){animation-delay:1.8s}.pc.is-live .pc-methods li:nth-child(4){animation-delay:2.7s}.pc.is-live .pc-methods li:nth-child(5){animation-delay:3.6s}
.pc.is-live .pc-methods li:first-child{animation-name:pcRowFirst}
.pc.is-live .pc-radio{animation:inherit;animation-name:pcRadio}
.pc.is-live .pc-methods li:first-child .pc-radio{animation-name:pcRadioFirst}
.pc.is-live .pc-pay{animation:pcPress 9s infinite}
.pc.is-live .pc-done{animation:pcDone 9s infinite}
.pc.is-live .pc-done span{animation:pcPop 9s infinite}
.pc.is-live .pc-toast{animation:pcToast 9s infinite}
.pc.is-live .pc-chip-1{animation:pcFloat 6s ease-in-out infinite}
.pc.is-live .pc-chip-2{animation:pcFloat 7s ease-in-out -2s infinite}
@keyframes pcRow{0%,10%,100%{border-color:#e8ebf1;background:#fff}2%,8%{border-color:#1a2842;background:#f7f8fb}}
@keyframes pcRadio{0%,10%,100%{border-color:#cfd5df;box-shadow:none}2%,8%{border-color:#1a2842;box-shadow:inset 0 0 0 4px #fff,inset 0 0 0 10px #1a2842}}
@keyframes pcRowFirst{0%,8%,48%,100%{border-color:#1a2842;background:#f7f8fb}10%,46%{border-color:#e8ebf1;background:#fff}}
@keyframes pcRadioFirst{0%,8%,48%,100%{border-color:#1a2842;box-shadow:inset 0 0 0 4px #fff,inset 0 0 0 10px #1a2842}10%,46%{border-color:#cfd5df;box-shadow:none}}
@keyframes pcPress{0%,52%,58%,100%{transform:none;filter:none}55%{transform:scale(.96);filter:brightness(1.3)}}
@keyframes pcDone{0%,58%{opacity:0;visibility:hidden}61%,93%{opacity:1;visibility:visible}97%,100%{opacity:0;visibility:hidden}}
@keyframes pcPop{0%,59%{transform:scale(.3)}64%{transform:scale(1.12)}67%,100%{transform:none}}
@keyframes pcToast{0%,62%{opacity:0;transform:translateY(22px) scale(.92)}66%,94%{opacity:1;transform:none}98%,100%{opacity:0;transform:translateY(10px)}}
@keyframes pcFloat{50%{translate:0 -8px}}

/* ---------- Tool pictures on the home page ---------- */
.ws-tool-art{position:relative;display:flex;align-items:center;justify-content:center;height:210px;border-radius:20px;overflow:hidden;background:radial-gradient(80% 90% at 50% 0%,#fbf6ea,#f4f5f8)}
.tl-paper{position:relative;display:grid;gap:9px;width:210px;padding:16px;border-radius:16px;background:#fff;border:1px solid #e4e7ee;box-shadow:0 30px 50px -28px rgba(13,21,38,.45);transform:rotate(-3deg)}
.tl-paper-h{display:flex;align-items:center;gap:7px;font-size:14px}
.tl-paper-h .ui-icon{width:18px;height:18px;color:#8a6b30}
.tl-paper-h bdi{margin-inline-start:auto;color:#98a2b3;font-size:12px;font-weight:700}
.tl-paper>i{height:9px;border-radius:5px;background:#eceef3}
.tl-paper>i.is-short{width:60%}
.tl-paper-total{display:flex;justify-content:flex-end;padding-top:6px;border-top:1px dashed #e4e7ee}
.tl-paper-total b{font-size:22px;font-weight:800}
.tl-stamp{position:absolute;inset-block-start:52px;inset-inline-start:40px;padding:6px 14px;border:3px solid #079455;border-radius:10px;color:#079455;font-size:20px;font-weight:800;transform:rotate(-14deg);background:rgba(255,255,255,.85)}
.tl-send{position:absolute;inset-block-end:22px;inset-inline-end:calc(50% - 150px);width:52px;height:52px;border-radius:99px;display:grid;place-items:center;background:#1faa52;color:#fff;box-shadow:0 14px 28px -12px rgba(18,140,62,.8)}
.tl-send .ui-icon{width:26px;height:26px}
.tl-link{flex-direction:column;gap:18px}
.tl-url{display:flex;align-items:center;gap:8px;max-width:92%;padding:12px 14px 12px 16px;border-radius:16px;background:#fff;border:1.5px solid #1a2842;box-shadow:0 24px 40px -24px rgba(13,21,38,.45);font:700 15px/1 var(--mono);color:#0d1526}
.tl-url>.ui-icon{width:18px;height:18px;color:#8a6b30;flex:none}
.tl-url b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tl-url i{width:32px;height:32px;flex:none;border-radius:10px;display:grid;place-items:center;background:#1a2842;color:#D6B370}
.tl-url i .ui-icon{width:16px;height:16px}
.tl-share{display:flex;gap:12px}
.tl-share i{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:#fff;border:1px solid #e4e7ee;color:#344054}
.tl-share i.is-wa{background:#1faa52;color:#fff;border-color:#1faa52}
.tl-share .ui-icon{width:22px;height:22px}
.tl-store{gap:10px;padding-inline:14px}
.tl-prod{display:grid;justify-items:center;gap:8px;width:86px;padding:10px 8px 12px;border-radius:16px;background:#fff;border:1px solid #e4e7ee;box-shadow:0 18px 30px -22px rgba(13,21,38,.4)}
.tl-prod i{width:100%;height:58px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(150deg,#f3e9d5,#e8d5ac);color:#8a6b30}
.tl-prod:nth-child(2) i{background:linear-gradient(150deg,#e0ecff,#b9d2fb);color:#2f6fd6}
.tl-prod:nth-child(3) i{background:linear-gradient(150deg,#e7f8ee,#b7ebcd);color:#0f8a5f}
.tl-prod:nth-child(4) i{background:linear-gradient(150deg,#f0e8ff,#d6c4fb);color:#7a4fd0}
.tl-prod i .ui-icon{width:26px;height:26px}
.tl-prod b{font-size:14px;font-weight:800}
.tl-cart{position:absolute;inset-block-start:14px;inset-inline-end:14px;width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:#1a2842;color:#D6B370}
.tl-cart .ui-icon{width:22px;height:22px}
.tl-cart em{position:absolute;inset-block-start:-6px;inset-inline-end:-6px;width:22px;height:22px;border-radius:99px;display:grid;place-items:center;background:#12b76a;color:#fff;font-style:normal;font-size:12px;font-weight:800}
.ws-tool.is-dark .ws-tool-art{background:radial-gradient(70% 90% at 50% 0%,rgba(214,179,112,.18),transparent 70%),#0e172b}
.tl-x{gap:14px}
.tl-coins{display:grid;grid-template-columns:repeat(3,auto);gap:8px}
.tl-coins i{width:48px;height:48px;border-radius:99px;display:grid;place-items:center;background:linear-gradient(150deg,#e6f5ea,#bfe3c9);color:#0f5132;font-style:normal;font-weight:800;font-size:16px;box-shadow:0 10px 20px -12px rgba(0,0,0,.6)}
.tl-coins i:nth-child(4),.tl-coins i:nth-child(5){font-size:13px}
.tl-arrows{display:grid;gap:4px;color:#D6B370}
.tl-arrows .ui-icon{width:26px;height:26px}
.tl-mark{width:84px;height:84px;border-radius:26px;display:grid;place-items:center;background:linear-gradient(150deg,#1a2842,#0d1526);color:#D6B370;border:1px solid rgba(214,179,112,.4);box-shadow:0 0 0 8px rgba(214,179,112,.08),0 0 40px rgba(214,179,112,.25)}
.tl-mark .pu-mark{width:40px;height:40px}
@media (max-width:640px){.ws-tool-art{height:180px}.tl-prod{width:72px;padding:8px 6px 10px}.tl-prod i{height:48px}.tl-store{gap:7px}.tl-coins i{width:42px;height:42px}.tl-mark{width:70px;height:70px}.tl-send{inset-inline-end:14px}}
@media (max-width:360px){.tl-prod:nth-child(4){display:none}}
/* Motion */
.tl-inv.is-live .tl-stamp{animation:tlStamp 5s infinite}
.tl-inv.is-live .tl-send{animation:tlPulse 5s infinite}
.tl-link.is-live .tl-share i{animation:tlShare 5s infinite}
.tl-link.is-live .tl-share i:nth-child(2){animation-delay:.15s}.tl-link.is-live .tl-share i:nth-child(3){animation-delay:.3s}.tl-link.is-live .tl-share i:nth-child(4){animation-delay:.45s}
.tl-link.is-live .tl-url i{animation:tlCopy 5s infinite}
.tl-store.is-live .tl-prod{animation:tlProd 5s infinite;animation-delay:calc(var(--k) * .2s)}
.tl-store.is-live .tl-cart em{animation:tlCart 5s infinite}
.tl-x.is-live .tl-coins i{animation:tlCoin 4s infinite;animation-delay:calc(var(--k) * .35s)}
.tl-x.is-live .tl-mark{animation:tlGlow 4s infinite}
@keyframes tlStamp{0%,30%{opacity:0;transform:rotate(-14deg) scale(2.2)}38%{opacity:1;transform:rotate(-14deg) scale(.92)}42%,88%{opacity:1;transform:rotate(-14deg) scale(1)}96%,100%{opacity:0;transform:rotate(-14deg) scale(1)}}
@keyframes tlPulse{0%,14%,30%,100%{transform:none}20%{transform:scale(1.14)}}
@keyframes tlShare{0%,20%,44%,100%{transform:none}30%{transform:translateY(-10px)}}
@keyframes tlCopy{0%,8%,22%,100%{transform:none;background:#1a2842}12%{transform:scale(.88);background:#12b76a}}
@keyframes tlProd{0%,10%,36%,100%{transform:none}20%{transform:translateY(-8px)}}
@keyframes tlCart{0%,40%{transform:scale(0)}48%{transform:scale(1.3)}54%,90%{transform:scale(1)}96%,100%{transform:scale(0)}}
@keyframes tlCoin{0%,100%{transform:none;opacity:1}40%{transform:translateX(calc(var(--dir,1) * 12px)) scale(.9);opacity:.6}}
@keyframes tlGlow{0%,100%{box-shadow:0 0 0 8px rgba(214,179,112,.08),0 0 40px rgba(214,179,112,.25)}50%{box-shadow:0 0 0 14px rgba(214,179,112,.12),0 0 60px rgba(214,179,112,.45)}}
html[dir="rtl"] .tl-x{--dir:-1}

/* ---------- Invoice: create, send on WhatsApp, paid (8s) ---------- */
.iv{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:stretch;padding:22px;border-radius:28px;background:radial-gradient(80% 90% at 50% 0%,#fbf6ea,#f4f5f8);border:1px solid var(--line)}
.iv-form,.iv-chat{display:grid;gap:10px;padding:16px;border-radius:20px;background:#fff;border:1px solid #e4e7ee;box-shadow:0 30px 50px -32px rgba(13,21,38,.45);min-width:0}
.iv-f{display:grid;gap:4px;padding:9px 12px;border-radius:12px;background:#f6f7fa;border:1px solid #eceef3;min-width:0}
.iv-f small{font-size:11.5px;color:#667085;font-weight:600}
.iv-f b{font-size:15px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.iv-btn{display:flex;align-items:center;justify-content:center;gap:6px;height:44px;border-radius:13px;background:linear-gradient(150deg,#1a2842,#0d1526);color:#fff;font-weight:800;font-size:14px}
.iv-btn .ui-icon{width:18px;height:18px;color:#D6B370}
.iv-chat{background:#efe7dd;border-color:#e2d6c6;align-content:start}
.iv-chat-h{display:flex;align-items:center;gap:8px;padding-bottom:8px;border-bottom:1px solid rgba(0,0,0,.06)}
.iv-chat-h .ui-icon{width:22px;height:22px;color:#1faa52}
.iv-chat-h b{font-size:14px}
.iv-bubble{justify-self:end;display:grid;gap:6px;max-width:100%;padding:10px 12px;border-radius:14px 14px 4px 14px;background:#d9fdd3;box-shadow:0 1px 1px rgba(0,0,0,.08)}
html[dir="rtl"] .iv-bubble{justify-self:start;border-radius:14px 14px 14px 4px}
.iv-link{font:700 12px/1.4 var(--mono);color:#1d64c8;text-decoration:underline;overflow-wrap:anywhere}
.iv-bubble b{font-size:20px;font-weight:800}
.iv-paid{justify-self:center;display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:99px;background:linear-gradient(150deg,#32d583,#079455);color:#fff;font-size:17px;font-weight:800}
.iv-paid .ui-icon{width:20px;height:20px;stroke-width:2.6}
@media (max-width:560px){.iv{grid-template-columns:minmax(0,1fr);padding:14px}}
.iv.is-live .iv-btn{animation:ivPress 8s infinite}
.iv.is-live .iv-bubble{animation:ivIn 8s infinite}
.iv.is-live .iv-paid{animation:ivPaid 8s infinite}
@keyframes ivPress{0%,14%,20%,100%{transform:none;filter:none}17%{transform:scale(.95);filter:brightness(1.4)}}
@keyframes ivIn{0%,22%{opacity:0;transform:translateY(14px) scale(.95)}28%,94%{opacity:1;transform:none}98%,100%{opacity:0}}
@keyframes ivPaid{0%,52%{opacity:0;transform:scale(.4)}58%{opacity:1;transform:scale(1.12)}62%,94%{opacity:1;transform:none}98%,100%{opacity:0}}

/* ---------- Payment link: one address, the customer types the amount (7s) ---------- */
.lk{display:grid;gap:16px;justify-items:center;padding:26px 20px;border-radius:28px;background:radial-gradient(80% 90% at 50% 0%,#eef4ff,#f4f5f8);border:1px solid var(--line)}
.lk-url{display:flex;align-items:center;gap:8px;max-width:100%;padding:12px 12px 12px 16px;border-radius:16px;background:#fff;border:1.5px solid #1a2842;font:700 16px/1 var(--mono);color:#0d1526;box-shadow:0 24px 40px -26px rgba(13,21,38,.45)}
.lk-url>.ui-icon{width:16px;height:16px;color:#12b76a;flex:none}
.lk-url b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lk-url em{font-style:normal;color:#8a6b30}
.lk-url i{width:34px;height:34px;flex:none;border-radius:10px;display:grid;place-items:center;background:#1a2842;color:#D6B370}
.lk-url i .ui-icon{width:16px;height:16px}
.lk-page{display:grid;gap:12px;width:min(100%,320px);padding:16px;border-radius:22px;background:#fff;border:1px solid #e4e7ee;box-shadow:0 40px 60px -36px rgba(13,21,38,.5)}
.lk-who{display:flex;align-items:center;gap:10px}
.lk-who b{display:flex;align-items:center;gap:5px;font-size:16px;font-weight:800}
.lk-amt{display:grid;gap:4px;padding:10px 14px;border-radius:14px;border:1.5px solid #1a2842}
.lk-amt small{font-size:12px;color:#667085;font-weight:600}
.lk-amt b{font-size:30px;font-weight:800;font-variant-numeric:tabular-nums}
.lk-type{display:inline-block;overflow:hidden;vertical-align:bottom;white-space:nowrap}
.lk-go{display:flex;align-items:center;justify-content:center;gap:6px;height:48px;border-radius:14px;background:linear-gradient(150deg,#1a2842,#0d1526);color:#fff;font-weight:800}
.lk-go .ui-icon{width:18px;height:18px;color:#D6B370}
.lk.is-live .lk-type{animation:lkType 7s steps(5,end) infinite}
.lk.is-live .lk-url i{animation:tlCopy 7s infinite}
.lk.is-live .lk-go{animation:lkGo 7s infinite}
@keyframes lkType{0%,20%{width:0}50%,94%{width:5ch}100%{width:0}}
@keyframes lkGo{0%,60%,68%,100%{transform:none}64%{transform:scale(.95)}}

/* ---------- Store window: a code bought and delivered (8s) ---------- */
.sh{position:relative;width:min(100%,520px);margin-inline:auto;border-radius:22px;overflow:hidden;background:#fff;border:1px solid #dde2ea;box-shadow:0 60px 100px -50px rgba(13,21,38,.55)}
.sh-bar{display:flex;align-items:center;gap:6px;height:36px;padding:0 12px;background:#eceff4;border-bottom:1px solid #dde2ea}
.sh-bar>i{width:10px;height:10px;border-radius:99px;background:#f87171}.sh-bar>i:nth-child(2){background:#fbbf24}.sh-bar>i:nth-child(3){background:#34d399}
.sh-bar>span{margin-inline:auto;display:inline-flex;align-items:center;gap:6px;padding:3px 12px;border-radius:99px;background:#fff;color:#667085;font:600 11.5px/1.4 var(--mono);max-width:70%;overflow:hidden;white-space:nowrap}
.sh-bar .ui-icon{width:12px;height:12px;color:#12b76a;flex:none}
.sh-head{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid #eceef3}
.sh-head b{font-size:16px;font-weight:800}
.sh-stars{margin-inline-start:auto;display:flex;align-items:center;gap:1px;color:#f5b301}
.sh-stars .ui-icon{width:14px;height:14px;fill:currentColor}
.sh-stars small{margin-inline-start:4px;color:#344054;font-weight:800;font-size:13px}
.sh-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px}
.sh-prod{display:grid;gap:6px;padding:10px;border-radius:16px;border:1px solid #eceef3;background:#fff;min-width:0}
.sh-prod i{height:86px;border-radius:12px;display:grid;place-items:center;background:var(--bg);color:var(--fg)}
.sh-prod i .ui-icon{width:34px;height:34px}
.sh-prod b{font-size:14px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sh-prod em{font-style:normal;font-weight:800;font-size:16px}
.sh-order{position:absolute;inset-inline:14px;inset-block-end:14px;display:grid;gap:10px;padding:16px;border-radius:20px;background:linear-gradient(150deg,#1a2842,#0d1526);color:#fff;box-shadow:0 30px 60px -20px rgba(13,21,38,.7);opacity:0;transform:translateY(30px)}
.sh-order-h{display:flex;align-items:center;gap:8px}
.sh-order-h .ui-icon{width:26px;height:26px;padding:4px;border-radius:99px;background:#12b76a;color:#fff;stroke-width:2.8}
.sh-order-h b{font-size:17px}
.sh-code{display:grid;gap:4px;padding:10px 14px;border-radius:14px;background:rgba(255,255,255,.07);border:1px dashed rgba(214,179,112,.5)}
.sh-code small{font-size:12px;color:rgba(255,255,255,.65)}
.sh-code b{font:800 22px/1.2 var(--mono);color:#e6c98d;letter-spacing:.08em;white-space:nowrap;overflow:hidden}
.sh:not(.is-live) .sh-order{opacity:1;transform:none}
.sh.is-live .sh-prod:first-child{animation:shPick 8s infinite}
.sh.is-live .sh-order{animation:shOrder 8s infinite}
.sh.is-live .sh-code b{animation:shCode 8s infinite}
@keyframes shPick{0%,18%,30%,100%{transform:none;border-color:#eceef3;box-shadow:none}22%,26%{transform:scale(1.04);border-color:#1a2842;box-shadow:0 0 0 3px rgba(26,40,66,.15)}}
@keyframes shOrder{0%,36%{opacity:0;transform:translateY(30px)}42%,92%{opacity:1;transform:none}98%,100%{opacity:0;transform:translateY(20px)}}
@keyframes shCode{0%,46%{clip-path:inset(0 100% 0 0)}62%,100%{clip-path:inset(0 0 0 0)}}
@media (max-width:480px){.sh-prod i{height:64px}.sh-grid{gap:8px;padding:12px}.sh-code b{font-size:18px}}

/* ---------- Exchange: cash in your currency ⇄ PAYUNIT balance (6s a round) ----------
   Lanes are grids with the same columns as the heads and the hub, so every
   pipe lines up. Notes ride the pipes with container units (100cqw is the
   pipe's length); in sell mode the same rides play backwards. */
.xs{--dir:1;--T:6s;--cols:62px minmax(18px,.55fr) minmax(0,1.7fr) minmax(26px,.8fr) 112px minmax(26px,.8fr) minmax(0,1.3fr);--lh:80px;max-width:1040px;margin-inline:auto}
html[dir="rtl"] .xs{--dir:-1}
.xs-switch{display:flex;justify-content:center;gap:6px;width:max-content;max-width:100%;margin:0 auto 26px;padding:6px;border-radius:99px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12)}
.xs-switch button{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 22px;border-radius:99px;border:0;background:transparent;color:rgba(255,255,255,.75);font:inherit;font-size:16px;font-weight:800;cursor:pointer;transition:background .2s,color .2s}
.xs-switch button .ui-icon{width:20px;height:20px}
.xs-switch button.is-on{background:linear-gradient(150deg,#e6c98d,#c39a4e);color:#1b1407}
.xs-switch button:focus-visible{outline:2px solid #e6c98d;outline-offset:2px}
.xs-stage{position:relative;padding:18px clamp(12px,2vw,24px) 20px;border-radius:30px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1)}
.xs-cols,.xs-lane{display:grid;grid-template-columns:var(--cols);align-items:center}
.xs-cols{margin-bottom:8px}
.xs-cols span{display:flex;align-items:center;justify-content:center;gap:7px;color:rgba(255,255,255,.7);font-size:14px;font-weight:700;text-align:center;min-width:0}
.xs-cols .ui-icon,.xs-cols .pu-mark{width:18px;height:18px;flex:none;color:#e6c98d}
.xs-body{display:grid;grid-template-columns:var(--cols)}
.xs-lanes{grid-column:1/-1;grid-row:1;list-style:none;margin:0;padding:0}
.xs-lane{height:var(--lh)}
.xs-hub{grid-column:5;grid-row:1;position:relative;z-index:1;display:grid;place-items:center;align-content:center;gap:12px;margin:6px 6px;border-radius:28px;background:linear-gradient(180deg,rgba(214,179,112,.2),rgba(214,179,112,.06));border:1px solid rgba(214,179,112,.42)}
.xs-hub-mark{position:relative;width:66px;height:66px;border-radius:22px;display:grid;place-items:center;background:linear-gradient(150deg,#1a2842,#0d1526);color:#D6B370;border:1px solid rgba(214,179,112,.5);box-shadow:0 0 34px rgba(214,179,112,.35)}
.xs-hub-mark .pu-mark{width:32px;height:32px}
.xs-hub-ring{position:absolute;inset:-1px;border-radius:inherit;border:2px solid rgba(214,179,112,.6);opacity:0}
.xs-hub-tag{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:99px;background:rgba(13,21,38,.75);color:#ecd6a6;font-size:12.5px;font-weight:800;white-space:nowrap}
.xs-hub-tag .ui-icon{width:14px;height:14px}
.xs-who{position:relative;justify-self:center;width:54px;height:54px}
.xs-av{width:54px;height:54px;border-radius:99px;display:block;box-shadow:0 0 0 2px rgba(255,255,255,.2)}
.xs-who>.site-flag{position:absolute;inset-block-end:-2px;inset-inline-end:-6px;width:22px;height:15px;border-radius:3px;box-shadow:0 0 0 2px #121c31}
.xs-hand{position:absolute;inset-block-start:-6px;inset-inline-end:-14px;display:grid;place-items:center;min-width:30px;height:20px;padding:0 4px;border-radius:5px;background:linear-gradient(150deg,#d9f2df,#a9dcb6);border:1px solid #6fbf86;color:#0f5132;font-style:normal;font-size:11px;font-weight:800;transform:rotate(-8deg)}
.xs-t{position:relative;height:100%;container-type:inline-size}
.xs-t::before{content:"";position:absolute;inset-inline:0;top:50%;height:2px;margin-top:-1px;background:repeating-linear-gradient(90deg,rgba(255,255,255,.26) 0 7px,transparent 7px 13px)}
.xs-t2::before{background:repeating-linear-gradient(90deg,rgba(214,179,112,.55) 0 7px,transparent 7px 13px)}
.xs-t2{grid-column:6}
.xs-bill,.xs-coin{position:absolute;top:50%;inset-inline-start:0;display:grid;place-items:center;opacity:0;font-style:normal}
.xs-bill{width:42px;height:26px;margin-top:-13px;border-radius:5px;background:linear-gradient(150deg,#d9f2df,#a9dcb6);border:1px solid #6fbf86;color:#0f5132;font-size:12px;font-weight:800;box-shadow:0 6px 14px -6px rgba(0,0,0,.6)}
.xs-bill::before{content:"";position:absolute;inset:3px;border:1px dashed rgba(15,81,50,.35);border-radius:3px}
.xs-coin{width:32px;height:32px;margin-top:-16px;border-radius:99px;background:radial-gradient(circle at 35% 30%,#f6e2b3,#c39a4e 70%);color:#1a2842;box-shadow:0 0 18px rgba(214,179,112,.7)}
.xs-coin .pu-mark{width:16px;height:16px}
.xs-cash{position:relative;display:flex;align-items:center;gap:10px;height:62px;padding:0 12px;border-radius:16px;background:linear-gradient(150deg,#f3fbf5,#dcf1e3);border:1px solid #9fd3ae;color:#0d1526;min-width:0}
.xs-cash::after{content:"";position:absolute;inset:4px;border:1px dashed rgba(15,81,50,.22);border-radius:12px;pointer-events:none}
.xs-cash-ic{width:38px;height:38px;flex:none;border-radius:12px;display:grid;place-items:center;background:#0f5132;color:#d9f2df}
.xs-cash-ic .ui-icon{width:20px;height:20px}
.xs-cash-tx{display:grid;gap:2px;min-width:0}
.xs-cash-tx b{font-size:20px;font-weight:800;line-height:1.2;white-space:nowrap}
.xs-amt{display:flex;gap:.28em;direction:ltr;justify-content:flex-end}
html[dir="ltr"] .xs-amt{justify-content:flex-start}
.xs-cash-tx small{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:#3d5a49;white-space:nowrap;overflow:hidden}
.xs-cash-tx small span{overflow:hidden;text-overflow:ellipsis}
.xs-cash-tx .site-flag{width:18px;height:12px;border-radius:2px;flex:none;box-shadow:0 0 0 1px rgba(0,0,0,.12)}
.xs-ok{position:absolute;inset-block-start:-8px;inset-inline-end:-8px;width:26px;height:26px;border-radius:99px;display:grid;place-items:center;background:#12b76a;color:#fff;box-shadow:0 0 0 3px #121c31}
.xs-ok .ui-icon{width:15px;height:15px;stroke-width:3}
.xs-bal{display:flex;align-items:center;justify-content:center;height:62px;padding:0 12px;border-radius:16px;background:linear-gradient(150deg,#1d2a47,#0f1830);border:1px solid rgba(214,179,112,.4);min-width:0}
.xs-bal b{font-size:21px;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}
.xs-bal .for-buy{color:#6ce9a6}.xs-bal .for-sell{color:#ffd59e}
.xs[data-mode="buy"] .for-sell,.xs[data-mode="sell"] .for-buy{display:none}
/* Phones: three columns (cash, PAYUNIT, balance), the people step aside */
@media (max-width:760px){
  .xs{--cols:32px 0 minmax(0,1.5fr) minmax(14px,.4fr) 46px minmax(14px,.4fr) minmax(0,1.1fr);--lh:66px}
  .xs-t0,.xs-cols .c-t0{visibility:hidden;overflow:hidden}
  .xs-who{width:30px;height:30px}
  .xs-av{width:30px;height:30px;box-shadow:0 0 0 1.5px rgba(255,255,255,.25)}
  .xs-who>.site-flag,.xs-hand{display:none}
  .xs-stage{padding:12px 6px 14px;border-radius:22px}
  .xs-cols span{font-size:12px;gap:4px}
  .xs-cols .ui-icon,.xs-cols .pu-mark{width:14px;height:14px}
  .xs-cash{height:54px;padding:0 9px;gap:7px;border-radius:13px}
  .xs-cash-ic{display:none}
  .xs-cash-tx b{font-size:16px}
  .xs-cash-tx small{font-size:11px;gap:4px}
  .xs-bal{height:54px;padding:0 6px;border-radius:13px}
  .xs-bal b{font-size:15px}
  .xs-hub{margin:4px 2px;border-radius:18px;gap:8px}
  .xs-hub-mark{width:38px;height:38px;border-radius:12px}
  .xs-hub-mark .pu-mark{width:20px;height:20px}
  .xs-hub-tag{padding:4px;border-radius:99px}
  .xs-hub-tag b{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .xs-bill{width:30px;height:20px;margin-top:-10px;font-size:9.5px}
  .xs-coin{width:24px;height:24px;margin-top:-12px}
  .xs-coin .pu-mark{width:12px;height:12px}
  .xs-ok{width:20px;height:20px;inset-block-start:-6px;inset-inline-end:-6px}
  .xs-ok .ui-icon{width:12px;height:12px}
  .xs-switch button{padding:0 16px;font-size:15px}
}
@media (max-width:380px){.xs-bal{padding:0 3px}.xs-bal b{font-size:13.5px}.xs-cash-tx b{font-size:15px}.xs-cash{padding:0 7px}.xs-cash-tx small{font-size:10.5px}}
/* Motion: only while running */
.xs-stage.is-run .xs-lane>*,.xs-stage.is-run .xs-lane i,.xs-stage.is-run .xs-lane b,.xs-stage.is-run .xs-lane em,.xs-stage.is-run .xs-av{animation-duration:var(--T);animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-delay:calc(var(--i) * -1.17s)}
.xs-stage.is-run .xs-t0 .xs-bill{animation-name:xsRide0}
.xs-stage.is-run .xs-t1 .xs-bill{animation-name:xsRide1}
.xs-stage.is-run .xs-t2 .xs-coin{animation-name:xsRide2}
.xs-stage.is-run .xs-cash{animation-name:xsCash}
.xs-stage.is-run .xs-ok{animation-name:xsOk}
.xs-stage.is-run .xs-bal{animation-name:xsBalBox}
.xs-stage.is-run .xs-bal b{animation-name:xsBal}
.xs-stage.is-run .xs-hand{animation-name:xsHand}
.xs-stage.is-run .xs-av{animation-name:xsAv}
.xs[data-mode="sell"] .xs-stage.is-run .xs-bill,.xs[data-mode="sell"] .xs-stage.is-run .xs-coin{animation-direction:reverse}
.xs[data-mode="sell"] .xs-stage.is-run .xs-cash{animation-name:xsCashSell}
.xs[data-mode="sell"] .xs-stage.is-run .xs-ok{animation-name:xsOkSell}
.xs[data-mode="sell"] .xs-stage.is-run .xs-bal{animation-name:xsBalBoxSell}
.xs[data-mode="sell"] .xs-stage.is-run .xs-bal b{animation-name:xsBalSell}
.xs[data-mode="sell"] .xs-stage.is-run .xs-hand{animation-name:xsHandSell}
.xs[data-mode="sell"] .xs-stage.is-run .xs-av{animation-name:xsAvSell}
.xs-stage.is-run .xs-hub-ring{animation:xsRing 2s ease-out infinite}
@keyframes xsRide0{0%,3%{opacity:0;transform:none}6%{opacity:1;transform:none}19%{opacity:1;transform:translateX(calc((100cqw - 42px) * var(--dir)))}22%,100%{opacity:0;transform:translateX(calc((100cqw - 42px) * var(--dir)))}}
@keyframes xsRide1{0%,25%{opacity:0;transform:none}28%{opacity:1;transform:none}42%{opacity:1;transform:translateX(calc((100cqw - 42px) * var(--dir)))}45%,100%{opacity:0;transform:translateX(calc((100cqw - 42px) * var(--dir)))}}
@keyframes xsRide2{0%,46%{opacity:0;transform:none}49%{opacity:1;transform:none}63%{opacity:1;transform:translateX(calc((100cqw - 32px) * var(--dir))) rotate(calc(var(--dir) * 360deg))}66%,100%{opacity:0;transform:translateX(calc((100cqw - 32px) * var(--dir))) rotate(calc(var(--dir) * 360deg))}}
@keyframes xsCash{0%,19%,30%,100%{transform:none;box-shadow:none}23%{transform:scale(1.05);box-shadow:0 0 0 4px rgba(18,183,106,.4),0 0 26px rgba(18,183,106,.35)}}
@keyframes xsOk{0%,21%{opacity:0;transform:scale(.3)}25%{opacity:1;transform:scale(1.2)}28%,90%{opacity:1;transform:none}96%,100%{opacity:0;transform:scale(.3)}}
@keyframes xsBalBox{0%,63%,78%,100%{box-shadow:none}68%{box-shadow:0 0 0 4px rgba(214,179,112,.45),0 0 30px rgba(214,179,112,.45)}}
@keyframes xsBal{0%,63%{opacity:.16;transform:scale(.9)}68%{opacity:1;transform:scale(1.14)}72%,92%{opacity:1;transform:none}98%,100%{opacity:.16;transform:scale(.9)}}
@keyframes xsHand{0%,4%{opacity:1;transform:rotate(-8deg)}8%,92%{opacity:0;transform:rotate(-8deg) translateX(calc(var(--dir) * 14px))}97%,100%{opacity:1;transform:rotate(-8deg)}}
@keyframes xsAv{0%,8%,100%{transform:none}3%{transform:translateY(-5px)}}
@keyframes xsCashSell{0%,56%,66%,100%{transform:none;box-shadow:none}60%{transform:scale(1.05);box-shadow:0 0 0 4px rgba(214,179,112,.45),0 0 26px rgba(214,179,112,.35)}}
@keyframes xsOkSell{0%,72%{opacity:0;transform:scale(.3)}76%{opacity:1;transform:scale(1.2)}79%,94%{opacity:1;transform:none}99%,100%{opacity:0;transform:scale(.3)}}
@keyframes xsBalBoxSell{0%,3%,18%,100%{box-shadow:none}8%{box-shadow:0 0 0 4px rgba(255,213,158,.45),0 0 30px rgba(255,213,158,.4)}}
@keyframes xsBalSell{0%,3%{opacity:.16;transform:scale(.9)}8%{opacity:1;transform:scale(1.14)}12%,92%{opacity:1;transform:none}98%,100%{opacity:.16;transform:scale(.9)}}
@keyframes xsHandSell{0%,18%{opacity:1;transform:rotate(-8deg)}24%,93%{opacity:0;transform:rotate(-8deg) translateX(calc(var(--dir) * 14px))}97%,100%{opacity:1;transform:rotate(-8deg)}}
@keyframes xsAvSell{0%,93%,100%{transform:none}96%{transform:translateY(-5px) scale(1.06)}}
@keyframes xsRing{0%{opacity:.8;transform:scale(1)}100%{opacity:0;transform:scale(1.7)}}
@media (prefers-reduced-motion:reduce){
  .pc *,.ws-tool-art *,.iv *,.lk *,.sh *,.xs *{animation:none!important}
  .sh .sh-order{opacity:1;transform:none}
  .lk .lk-type{width:auto}
}
