/* The existing VK page_top is hidden only after the new control is initialized. */
body.tanba-page-top-ready #page_top.page_top_btn { display:none !important; }
button.tanba-site-page-top { box-sizing:border-box; position:fixed; z-index:850; right:22px; bottom:22px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; width:56px; height:56px; margin:0; padding:4px; border:1px solid #8cbc57; border-radius:14px; background:#fff; color:#456331; box-shadow:0 3px 12px rgba(41,72,26,.13); font-family:inherit; font-size:11px; font-weight:700; line-height:1.1; cursor:pointer; }
button.tanba-site-page-top[hidden],body.tanba-site-drawer-open button.tanba-site-page-top { display:none !important; }
button.tanba-site-page-top:hover,button.tanba-site-page-top:active { background:#eff5e6; color:#365322; border-color:#8cbc57; }
button.tanba-site-page-top:focus-visible { outline:3px solid #557b38; outline-offset:3px; }
button.tanba-site-page-top svg { display:block; width:24px; height:24px; flex:none; }
@media (max-width:767px) { button.tanba-site-page-top { right:12px; bottom:calc(12px + env(safe-area-inset-bottom,0px)); width:48px; height:48px; border-radius:12px; font-size:10px; } button.tanba-site-page-top svg { width:21px; height:21px; } }
