/* сцени напрямків P2P (/technology, головна) */
.ibx-p{margin:0;font-size:16px;line-height:1.55;color:#C3C8D2}
.ibx-st{position:absolute;top:18px;right:18px;font-size:12.5px;font-weight:600;padding:4px 11px;border-radius:999px;border:1px solid rgba(255,255,255,.22);color:#C9CDD6}
.ibx-st.on{color:#7ee2a8;border-color:rgba(43,209,90,.45);background:rgba(43,209,90,.08)}
/* ілюстрації напрямків (еталон: P2P між біржами). Декор: без подій, сцена 3,4 с один раз при появі (mrsac.js) */
.rscn{container-type:inline-size;margin-top:22px;pointer-events:none}
.rv-b{position:relative;width:236px;height:244px;margin:0 auto}
.rv-s{position:absolute;top:0;left:0;width:236px;height:244px}
.rv-c{position:absolute;box-sizing:border-box;width:186px;padding:11px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:#141820;box-shadow:0 6px 14px rgba(0,0,0,.35)}
.rv-l{top:0;left:0}
.rv-d{top:128px;right:0}
.rv-h{display:flex;align-items:center;gap:9px;height:34px;margin-bottom:9px}
.rv-h img{flex:none;display:block;width:26px;height:26px;border-radius:50%}
.rv-h span{display:flex;flex-direction:column;min-width:0;line-height:1.15}
.rv-h b{font-size:14.5px;font-weight:600;color:#fff}
.rv-h i{margin-top:2px;font-style:normal;font-size:13px;color:#C3C8D2}
.rv-r{display:flex;align-items:center;gap:7px;height:24px;margin-top:3px;padding:0 8px;border-radius:7px;background:rgba(255,255,255,.04)}
.rv-h+.rv-r{margin-top:0}
.rv-r:nth-child(4){display:none}
.rv-d{display:flex;flex-direction:column}
.rv-d .rv-h{order:-2}
.rv-d .rv-sell{order:-1}
.rv-r u{flex:none;width:11px;height:11px;border-radius:50%;background:#59647a}
.rv-r s{display:block;height:5px;border-radius:2px;background:#59647a}
.rv-r s.p{width:26px;margin-left:auto;background:#aeb7c6}
.rv-w{display:none}
.rv-n,.rv-w{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.rscn path{stroke-linecap:round}
.rv-base{stroke:rgba(255,255,255,.26);stroke-width:1.5}
.rv-p1,.rv-p2{stroke:#4DA3FF;stroke-width:2.2;stroke-dasharray:32 300;stroke-dashoffset:36}
.rv-coin{position:absolute;left:192px;top:103px;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.18);background:#141820;box-shadow:0 4px 10px rgba(0,0,0,.4)}
.rv-coin img{display:block;width:26px;height:26px}
@container (min-width:280px){
  .rv-b{width:280px;height:177px}
  .rv-s{width:316px;height:200px;transform:scale(.886);transform-origin:0 0}
  .rv-c{width:146px}
  .rv-l{top:0;left:0}
  .rv-d{top:52px;right:0}
  .rv-r:nth-child(4){display:flex}
  .rv-d{display:block}
  .rv-n{display:none}
  .rv-w{display:block}
  .rv-coin{left:138px;top:80px;width:40px;height:40px}
}
@container (min-width:316px){
  .rv-b{width:316px;height:200px}
  .rv-s{transform:none}
}
.rscn.play{animation:rv-fin 3400ms linear}
.rscn.play .rv-buy{animation:rv-buy 3400ms ease}
.rscn.play .rv-sell{animation:rv-sell 3400ms ease}
.rscn.play .rv-p1{animation:rv-p1 3400ms ease-in-out}
.rscn.play .rv-p2{animation:rv-p2 3400ms ease-in-out}
.rscn.play .rv-coin{animation:rv-coin 3400ms ease}
@keyframes rv-fin{to{opacity:1}}
@keyframes rv-buy{0%,100%{background:rgba(255,255,255,.04);box-shadow:none}8%,82.35%{background:rgba(77,163,255,.18);box-shadow:inset 0 0 0 1px rgba(77,163,255,.5)}}
@keyframes rv-sell{0%,64.7%,100%{background:rgba(255,255,255,.04);box-shadow:none}72%,82.35%{background:rgba(77,163,255,.18);box-shadow:inset 0 0 0 1px rgba(77,163,255,.5)}}
@keyframes rv-p1{0%,17.65%{stroke-dashoffset:36}41.18%,100%{stroke-dashoffset:-106}}
@keyframes rv-p2{0%,41.18%{stroke-dashoffset:36}64.7%,100%{stroke-dashoffset:-106}}
@keyframes rv-coin{0%,35%,100%{border-color:rgba(255,255,255,.18)}41.18%,52%{border-color:#4DA3FF}}
.rscn:not(.rv-in),.rscn:not(.rv-in) *,.mrsac-page.m-paused .rscn,.mrsac-page.m-paused .rscn *{animation-play-state:paused!important}

/* решта сцен: той самий матеріал, таймінг задають --t (старт) і --d (тривалість) */
.rscn.s1{--nh1:222px}.rscn.s3{--nh1:212px}.rscn.s4,.rscn.s5{--nh1:200px}.rscn.s6{--nh1:176px}
.rscn[class*=" s"] .rv-b,.rscn[class*=" s"] .rv-s{height:var(--nh1)}
.rv-base.rv-ds{stroke-dasharray:4 4}
.rv-tx{font-size:13.5px;font-weight:600;fill:#fff}
.rv-i{stroke:#4DA3FF;stroke-width:2.2;stroke-dasharray:32 300;stroke-dashoffset:36}
.rv-lb{margin:0 0 4px;height:20px;font-size:13px;line-height:20px;color:#C3C8D2}
.rv-col{position:absolute}.rv-col .rv-lb+.rv-r{margin-top:0}
.rv-ring{position:absolute;border:1px solid transparent;border-radius:50%}
.rv-swap{position:absolute;margin:0;text-align:center;font-size:13px;color:#C3C8D2}
.rv-bk{display:flex;flex-direction:column;gap:9px}
.rv-bk i{display:block;height:8px;border-radius:2px;background:#59647a}
.rv-t{display:flex;align-items:center;justify-content:center;gap:8px;height:68px;top:30px;padding:0}
.rv-t img{display:block;width:26px;height:26px;border-radius:50%}
.rv-t b{font-size:16px;font-weight:600;color:#fff}
/* вузька композиція (менше 280 px) */
.s1 .rv-p{top:0;left:0;width:236px;height:214px}
.s1 .rv-col{left:13px;width:210px}.s1 .rv-col.b{top:52px}.s1 .rv-col.s{top:152px}
.s1 .rv-col .rv-r:not(.rv-g){display:none}
.s1 .rv-col .rv-r.rv-g{display:flex}
.s1 .rv-coin{left:99px;top:119px}
.s3 .rv-c{left:0;width:236px;box-sizing:border-box}
.s3 .rv-a{top:0;height:56px;padding:9px 11px}.s3 .rv-m{top:66px;height:76px}.s3 .rv-z{top:152px;height:56px;padding:9px 11px}
.s3 .rv-a .rv-r,.s3 .rv-z .rv-r{display:none}
.s3 .rv-a .rv-h,.s3 .rv-z .rv-h{margin:0}
.s3 .rv-m .rv-h{justify-content:center;text-align:center;margin:8px 0 0}
.s3 .rv-coin img{width:24px;height:24px}
.s3 .rv-coin{width:32px;height:32px;top:88px}.s3 .c1{left:28px}.s3 .c2{left:176px}
.s3 .rv-swap{display:none}
.s4 .n1{left:94px;top:10px;width:48px;height:48px}.s4 .n2{left:176px;top:136px;width:48px;height:48px}.s4 .n3{left:12px;top:136px;width:48px;height:48px}
.s4 .n1 img,.s4 .n2 img,.s4 .n3 img{width:32px;height:32px}
.s4 .n0{left:101px;top:99px;width:34px;height:34px}.s4 .n0 img{width:24px;height:24px}
.s4 .rv-ring.n1{box-sizing:border-box}
.s5 .rv-a,.s5 .rv-z{top:0;width:110px}.s5 .rv-a{left:0}.s5 .rv-z{left:126px;right:auto}
.s5 .rv-z .rv-bk i{margin-left:auto}
.s5 .rv-coin{left:99px;top:153px}
.s6 .rv-t{width:76px}.s6 .rv-t.a{left:0}.s6 .rv-t.b{left:160px}
.s6 .rv-coin{left:99px;top:45px}
@container (min-width:280px){
  .rscn[class*=" s"] .rv-b{height:177px}
  .rscn[class*=" s"] .rv-s{height:200px}
  .s1 .rv-p{top:6px;width:316px;height:170px}
  .s1 .rv-col{width:118px}.s1 .rv-col.b{left:14px;top:60px}.s1 .rv-col.s{left:184px;top:60px}
  .s1 .rv-col .rv-r:not(.rv-g){display:flex}
  .s1 .rv-coin{left:139px;top:104px}
  .s3 .rv-c{height:auto;padding:11px}
  .s3 .rv-a{left:0;top:44px;width:84px;height:130px}.s3 .rv-m{left:104px;top:14px;width:108px;height:150px}.s3 .rv-z{left:232px;top:44px;width:84px;height:130px}
  .s3 .rv-a .rv-r,.s3 .rv-z .rv-r{display:flex;padding:0 6px}
  .s3 .rv-a .rv-r s:not(.p),.s3 .rv-z .rv-r s:not(.p){display:none}
  .s3 .rv-a .rv-h,.s3 .rv-z .rv-h{margin-bottom:9px}
  .s3 .rv-m .rv-h{justify-content:flex-start;text-align:left;margin:0 0 9px}
  .s3 .c1{left:110px;top:96px}.s3 .c2{left:174px;top:96px}
  .s3 .rv-swap{display:block;left:104px;width:108px;top:134px}
  .s4 .n1{left:134px;top:10px}.s4 .n2{left:238px;top:136px}.s4 .n3{left:30px;top:136px}.s4 .n0{left:141px;top:99px}
  .s5 .rv-a,.s5 .rv-z{width:146px}.s5 .rv-z{left:170px}
  .s5 .rv-coin{left:139px;top:153px}
  .s6 .rv-t{width:104px}.s6 .rv-t.b{left:212px}
  .s6 .rv-coin{left:139px;top:45px}
}
@container (min-width:316px){
  .rscn[class*=" s"] .rv-b{height:200px}
}
.rscn.play .rv-g{animation:rv-glow var(--d) ease var(--t) both}
.rscn.play .rv-gb{animation:rv-gbar var(--d) ease var(--t) both}
.rscn.play .rv-gc{animation:rv-gcoin var(--d) ease var(--t) both}
.rscn.play .rv-i{animation:rv-imp var(--d) ease-in-out var(--t) both}
@keyframes rv-glow{0%,100%{background:var(--rv-bg);box-shadow:var(--rv-sh)}15%,85%{background:rgba(77,163,255,.18);box-shadow:inset 0 0 0 1px rgba(77,163,255,.5)}}
@keyframes rv-gbar{0%,100%{background:#59647a}15%,85%{background:#4DA3FF}}
@keyframes rv-gcoin{0%,100%{border-color:rgba(255,255,255,.18)}20%,80%{border-color:#4DA3FF}}
@keyframes rv-imp{from{stroke-dashoffset:36}to{stroke-dashoffset:-106}}
.rv-r{--rv-bg:rgba(255,255,255,.04);--rv-sh:none}
.rv-c{--rv-bg:#141820;--rv-sh:0 6px 14px rgba(0,0,0,.35)}

/* секція арбітражу на головній */
.ha{background:#000;padding:0 0 150px}
.ha .l4-h2{max-width:900px}
.ha-p{margin:24px 0 32px;max-width:640px;font-size:18px;line-height:1.55;color:#C9D3E6}
.ha-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:48px}
.ha-card{position:relative;display:flex;flex-direction:column;padding:24px 26px 28px;border:1px solid rgba(255,255,255,.12);border-radius:24px;background:#07080B}
.ha-card h3{margin:16px 0 10px;font-family:var(--disp);font-weight:800;text-transform:uppercase;font-size:20px;letter-spacing:-.01em;color:#fff}
@media(max-width:760px){.ha{padding-bottom:96px}.ha-p{font-size:16.5px}.ha-cards{grid-template-columns:minmax(0,1fr);margin-top:32px}}
