.site-footer{position:relative;min-height:88px}
.back-to-top{display:inline-flex;align-items:center;justify-content:center;gap:9px;width:168px;min-height:44px;padding:9px 14px;border:1px solid #394254;border-radius:30px;background:transparent;color:#b1b9c9!important;font:inherit;font-size:16px;line-height:1.4;white-space:nowrap;transition:color 150ms ease,border-color 150ms ease,background-color 150ms ease}
.back-to-top svg{flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:square;stroke-linejoin:miter}
@media(hover:hover){.back-to-top:hover{color:#f3f6ff!important;border-color:#8092b7;background:#101216}}
.back-to-top:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.back-to-top.is-floating{position:fixed;right:max(clamp(22px,4.7vw,80px),calc((100vw - 1720px)/2 + 80px));bottom:24px;z-index:30;background:#101216ed;box-shadow:0 8px 24px #0005}
/* Phones: the same compact pill as the homepage's pause control in the footer (the tap area stays 44px); floating, a 44px
   round arrow at the corner, clear of the safe area, so it covers as little of the cards as possible. */
@media(max-width:700px){.back-to-top{position:relative;width:124px;min-height:36px;padding:6px 12px;gap:8px;font-size:12px}.back-to-top::after{content:"";position:absolute;inset:-4px 0}.back-to-top.is-floating{width:44px;min-height:44px;padding:0;gap:0;border-radius:50%;right:max(16px,env(safe-area-inset-right));bottom:calc(16px + env(safe-area-inset-bottom))}.back-to-top.is-floating span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.back-to-top.is-floating svg{width:16px;height:16px}}
