#back-to-top {
    position: fixed;
    width: 64px;
    height: 64px;
    right: 22px;
    bottom: 20px;
    z-index: 9998;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none;
    display: block;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
    cursor: pointer;
}

#back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

#back-to-top img {
    position: absolute;
    inset: 0;
    display: block;
    max-width: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

#back-to-top .cc-floating-hover { opacity: 0; }
#back-to-top:focus-visible { outline: 2px solid #a87942; outline-offset: 2px; }
#back-to-top:focus-visible img:not(.cc-floating-hover) { opacity: 0; }
#back-to-top:focus-visible .cc-floating-hover { opacity: 1; }

@media (hover: hover) {
    #back-to-top:hover img:not(.cc-floating-hover) { opacity: 0; }
    #back-to-top:hover .cc-floating-hover { opacity: 1; }
}

@media (max-width: 600px) {
    #back-to-top { width: 52px; height: 52px; right: 13px; bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    #back-to-top { transition: none; }
}
