html{scroll-behavior:smooth}
#pageTop{scroll-margin-top:100px}
#pageTop:focus{outline:none}
.back-to-top{position:fixed;right:24px;bottom:24px;right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));z-index:1100;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;min-width:48px;padding:0 17px;border:1px solid #6b7d66;border-radius:999px;background:#344e41;color:#fffdf4;box-shadow:0 4px 18px #243b3026;font-family:-apple-system,BlinkMacSystemFont,"Noto Sans TC",sans-serif;font-size:14px;font-weight:500;line-height:1.4;letter-spacing:.03em;text-decoration:none;white-space:nowrap;touch-action:manipulation}
.back-to-top[hidden]{display:none}
.back-to-top svg{width:17px;height:17px;flex:none}
.back-to-top:hover{background:#253e32;color:#fffdf4;text-decoration:none}
.back-to-top:focus-visible{outline:3px solid #ba9e66;outline-offset:4px}
footer{padding-bottom:88px}
@media(max-width:600px){.back-to-top{right:16px;bottom:16px;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));padding:0 14px;min-height:46px;font-size:13px;gap:7px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
