.back-to-top{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));z-index:900;min-height:48px;padding:12px 18px;border:2px solid var(--brand-red,#ff0000);border-radius:4px;background:#101113;color:#fff;font:700 16px/1.4 Arial,sans-serif;box-shadow:0 4px 14px #0008;cursor:pointer;touch-action:manipulation}
.back-to-top[hidden]{display:none}
.back-to-top:hover{background:var(--brand-red,#ff0000)}
.back-to-top:focus-visible{outline:3px solid #fff;outline-offset:3px}
body:has(#main-nav.is-open) .back-to-top,body:has(dialog[open]) .back-to-top{display:none}
@media(max-width:600px){.back-to-top{padding:10px 14px;max-width:calc(100vw - 32px)}}
