/* Back-to-top — Version A: hairline pill, Inter caps label, no icon. Mirrors .pill.ghost. */
.totop{position:fixed;right:var(--pad);bottom:calc(20px + var(--lift,0px));z-index:30;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:64px;height:44px;padding:0 20px;border-radius:99px;background:var(--paper);color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink);font:500 11px/1 var(--sans);letter-spacing:.14em;text-transform:uppercase;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .5s var(--ease-o),transform .5s var(--ease-o),visibility 0s linear .5s,background .35s,color .35s}
.totop.on{opacity:1;visibility:visible;transform:none;transition-delay:0s}
.totop::before{content:"";width:1px;height:12px;background:currentColor;transition:height .35s var(--ease-o)}
.totop .lg{display:none}
.totop:hover{background:var(--ink);color:#fff}
.totop:hover::before{height:18px}
.totop:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:99px}
@media(min-width:760px){.totop{bottom:calc(28px + var(--lift,0px))}.totop .lg{display:inline}.totop .sm{display:none}}
@media(prefers-reduced-motion:reduce){.totop,.totop::before{transition:none}}
