/* RoMi Coastal Swap v0.4.17 — back to top */
.rcs-back-to-top{
 position:fixed; z-index:9990; bottom:max(var(--rcs-top-offset,26px),env(safe-area-inset-bottom,0px));
 inline-size:var(--rcs-top-size,50px); block-size:var(--rcs-top-size,50px);
 display:grid;place-items:center; border:1px solid rgba(255,255,255,.28);
 border-radius:50%;background:var(--rcs-top-bg,#1E88FF);color:var(--rcs-top-fg,#fff);
 box-shadow:0 10px 26px rgba(11,42,82,.24);padding:0;cursor:pointer;
 opacity:0;visibility:hidden;transform:translateY(12px) scale(.94);
 pointer-events:none; transition:opacity .25s ease,transform .25s ease,visibility .25s ease,background .25s ease,box-shadow .25s ease;
}
.rcs-back-to-top--right{right:var(--rcs-top-offset,26px)}
.rcs-back-to-top--left{left:var(--rcs-top-offset,26px)}
.rcs-back-to-top.is-visible{opacity:1;visibility:visible;transform:translateY(0) scale(1);pointer-events:auto}
.rcs-back-to-top.is-visible:hover{transform:translateY(-4px) scale(1.03);box-shadow:0 15px 32px rgba(11,42,82,.3)}
.rcs-back-to-top:focus-visible{outline:3px solid #0b2a52;outline-offset:4px}
.rcs-back-to-top svg{display:block}
@media(max-width:781px){
 .rcs-back-to-top{bottom:calc(var(--rcs-top-mobile-offset,18px) + env(safe-area-inset-bottom,0px));}
 .rcs-back-to-top--right{right:var(--rcs-top-mobile-offset,18px)}
 .rcs-back-to-top--left{left:var(--rcs-top-mobile-offset,18px)}
}
@media(prefers-reduced-motion:reduce){.rcs-back-to-top{transition:none!important}.rcs-back-to-top.is-visible:hover{transform:none}}

/* Never inherit decorative transforms or opacity from animated sections. */
body>.rcs-back-to-top{isolation:isolate;will-change:opacity,transform}
