#yz-page-scroll{position:fixed;z-index:8998;inset-inline-end:24px;bottom:calc(var(--yz-scroll-offset,24px) + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:10px;color:#123d32}
#yz-page-scroll[hidden],#yz-page-scroll button[hidden]{display:none!important}
#yz-page-scroll button{box-sizing:border-box;width:44px;height:44px;min-width:44px;min-height:44px;display:grid;place-items:center;padding:10px;border:1px solid #b9934e;border-radius:50%;background:#f8f5ed;color:#123d32;box-shadow:0 3px 12px #123d321a;cursor:pointer;touch-action:manipulation;transition:background .15s,color .15s,transform .15s}
#yz-page-scroll button svg{width:22px;height:22px;pointer-events:none}
#yz-page-scroll button:hover{background:#123d32;color:#f8f5ed}
#yz-page-scroll button:active{transform:scale(.95)}
#yz-page-scroll button:focus-visible{outline:3px solid #b9934e;outline-offset:3px}
@media(max-width:767px){#yz-page-scroll{inset-inline-end:16px}}
@media(prefers-reduced-motion:reduce){#yz-page-scroll button{transition:none}}

/* Reserve the mobile home sample launcher's 48px height plus a 16px gap. */
@media(max-width:767px) {
 body[data-page="home"]:has(#yz-sample-popup .yzi-launcher:not([hidden])) #yz-page-scroll {
  bottom:calc(max(var(--yz-scroll-offset,16px),80px) + env(safe-area-inset-bottom,0px));
 }
}
