#toka-back-to-top-v199{--top-size:clamp(50px,4vw,58px);position:fixed;right:clamp(16px,2vw,28px);bottom:calc(24px + env(safe-area-inset-bottom,0px));z-index:1040;display:grid;place-items:center;width:var(--top-size);height:var(--top-size);padding:0;border:1px solid rgba(255,255,255,.65);border-radius:50%;background:linear-gradient(145deg,#cf8bb4,#b568a2);color:#fff;box-shadow:0 5px 18px rgba(181,104,162,.26);cursor:pointer;touch-action:manipulation;transition:background .18s ease,box-shadow .18s ease,transform .18s ease;-webkit-tap-highlight-color:transparent}
#toka-back-to-top-v199 svg{display:block;width:52%;height:52%;pointer-events:none}
@media(hover:hover){#toka-back-to-top-v199:hover{background:linear-gradient(145deg,#c77daa,#a85d94);transform:translateY(-2px);box-shadow:0 7px 22px rgba(181,104,162,.32)}}
#toka-back-to-top-v199:active{transform:scale(.96)}
#toka-back-to-top-v199:focus-visible{outline:3px solid #e8bbd9;outline-offset:4px}
@media(max-width:1024px){#toka-back-to-top-v199{--top-size:50px;right:20px}}
@media(max-width:640px){#toka-back-to-top-v199{--top-size:clamp(44px,12vw,48px);right:calc(14px + env(safe-area-inset-right,0px));bottom:calc(88px + env(safe-area-inset-bottom,0px))}}
@media(max-height:450px) and (orientation:landscape){#toka-back-to-top-v199{--top-size:44px;bottom:calc(20px + env(safe-area-inset-bottom,0px))}}
@media(prefers-reduced-motion:reduce){#toka-back-to-top-v199{transition:none}}

/* Explicitly replace browser/framework black focus outlines, including mouse focus. */
#toka-back-to-top-v199,#toka-back-to-top-v199:focus,#toka-back-to-top-v199:active{outline:none!important;border-color:rgba(255,255,255,.65)!important}
#toka-back-to-top-v199:focus{box-shadow:0 5px 18px rgba(181,104,162,.26)}
#toka-back-to-top-v199:focus-visible{outline:none!important;box-shadow:0 0 0 4px #f5e0ee,0 0 0 6px #d59abe,0 5px 18px rgba(181,104,162,.26)}
