.back-to-top{position:fixed;z-index:25;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:48px;min-height:48px;padding:10px 16px;border:1px solid #777;border-radius:5px;background:#191919;color:#f6f5f1;font:500 14px/1.4 Inter,Arial,sans-serif;box-shadow:0 3px 18px #0004;cursor:pointer}
.back-to-top>span:first-child{font-size:23px;line-height:1}
.back-to-top:hover{background:#303030;color:#fff;border-color:#bbb}
.back-to-top:focus-visible{outline:3px solid #ee735d;outline-offset:3px}
.back-to-top[hidden],body:has(dialog[open]) .back-to-top{display:none!important}
body:has(#draft-banner:not([hidden])) .back-to-top{bottom:calc(64px + env(safe-area-inset-bottom))}
/* Keep the shortcut above the bulk uploader's sticky action bar. */
body.studio:has(#panel-upload:not([hidden])) .back-to-top{bottom:calc(160px + env(safe-area-inset-bottom))}
@media(max-width:760px){.back-to-top{right:max(14px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom));padding:10px 13px}}
