/* 用户确认改为右下角；53接入时可调整间距或停用。 */
.back-to-top{position:fixed;right:var(--hontoo-top-right,24px);bottom:calc(var(--hontoo-top-bottom,28px) + env(safe-area-inset-bottom,0px));z-index:19;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:52px;height:58px;padding:7px 5px;border:1px solid #dce5ef;border-top:2px solid #dc182c;border-radius:14px;background:#fffffff5;color:#174c88;box-shadow:0 5px 20px #102e551a;cursor:pointer;transition:background .18s,color .18s,box-shadow .18s}
.back-to-top span{font-size:10px;line-height:1.3;letter-spacing:1px}
.back-to-top:hover{background:#174c88;border-color:#174c88;color:#fff;box-shadow:0 7px 22px #102e5530}
.back-to-top:focus-visible{outline:3px solid #dc182c;outline-offset:4px}
.back-to-top[hidden],body:has(dialog[open]) .back-to-top{display:none}
@media(max-width:540px){.back-to-top{right:var(--hontoo-top-right,12px);bottom:calc(var(--hontoo-top-bottom,82px) + env(safe-area-inset-bottom,0px));width:44px;height:50px;border-radius:12px}}
@media(prefers-reduced-motion:reduce){.back-to-top{transition:none}}
