.back-to-top{position:fixed;right:calc(20px + env(safe-area-inset-right,0px));bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:50;display:grid;place-items:center;width:48px;height:48px;padding:0;border:1px solid #ffffff80;border-radius:4px;background:#333333;color:#fff;box-shadow:0 2px 8px #0003;cursor:pointer;touch-action:manipulation}
.back-to-top[hidden]{display:none}
.back-to-top::before{content:"";display:block;width:12px;height:12px;border-top:2px solid currentColor;border-left:2px solid currentColor;transform:translateY(3px) rotate(45deg)}
.back-to-top:hover{background:#4a4a4a}
.back-to-top:focus-visible{outline:3px solid #ce153d;outline-offset:3px}
@media(max-width:600px){.back-to-top{right:calc(12px + env(safe-area-inset-right,0px));bottom:calc(12px + env(safe-area-inset-bottom,0px));width:44px;height:44px}}
@media print{.back-to-top{display:none}}
