/* Scroll progress and return-to-top control. */
.back-to-top{position:fixed;right:calc(44px + env(safe-area-inset-right,0px));bottom:calc(44px + env(safe-area-inset-bottom,0px));z-index:900;width:47.6px;height:47.6px;display:grid;place-items:center;padding:0;border:1px solid #e3ded4;border-radius:50%;background:#fffdf8;color:#282521;box-shadow:0 3px 12px #0002;cursor:pointer;transition:box-shadow .2s,background .2s,transform .2s;-webkit-tap-highlight-color:transparent}.back-to-top[hidden]{display:none}.back-to-top-ring{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.back-to-top-track{stroke:#e5e0d8;stroke-width:2}.back-to-top-progress{stroke:#b58b48;stroke-width:2.5;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100;transform:rotate(-90deg);transform-origin:28px 28px}.back-to-top-arrow{width:20.4px;height:20.4px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.back-to-top:hover{background:#fff;box-shadow:0 5px 18px #0003;transform:translateY(-2px)}.back-to-top:focus-visible{outline:2px solid #874b2d;outline-offset:4px}body:has(dialog[open]) .back-to-top{visibility:hidden}@media(max-width:600px){.back-to-top{width:42.5px;height:42.5px;right:calc(36px + env(safe-area-inset-right,0px));bottom:calc(36px + env(safe-area-inset-bottom,0px))}.back-to-top-arrow{width:18.7px;height:18.7px}}@media(prefers-reduced-motion:reduce){.back-to-top{transition:none}}
