.back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 9999; display: grid; width: 56px; height: 56px; place-items: center; padding: 0; border: 1px solid #ffca68; border-radius: 50%; background: linear-gradient(180deg, #ffad32, #f47a00); box-shadow: 0 8px 20px rgba(244,122,0,.34), inset 0 1px 0 rgba(255,255,255,.35); color: #fff; cursor: pointer; font-size: 29px; font-weight: 800; line-height: 1; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(10px); transition: opacity .22s ease, visibility .22s ease, transform .22s ease, box-shadow .22s ease; }
.back-to-top.show { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }.back-to-top:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 25px rgba(244,122,0,.43), inset 0 1px 0 rgba(255,255,255,.4); }.back-to-top:focus-visible { outline: 3px solid #008fa3; outline-offset: 3px; }
.back-to-top-tooltip { position: absolute; right: calc(100% + 12px); top: 50%; padding: 7px 10px; border-radius: 7px; background: #053e4c; color: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap; opacity: 0; pointer-events: none; transform: translateY(-50%) translateX(5px); transition: opacity .18s ease, transform .18s ease; }.back-to-top:hover .back-to-top-tooltip, .back-to-top:focus-visible .back-to-top-tooltip { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 650px) { .back-to-top { right: 16px; bottom: 16px; width: 48px; height: 48px; font-size: 25px; }.back-to-top-tooltip { display: none; } }
@media print { .back-to-top { display: none !important; } }
