html {
    scroll-behavior: smooth;
}

.skippy-back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    width: 68px;
    height: 68px;
    padding: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #b45a21;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease, box-shadow .25s ease;
}

.skippy-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.skippy-back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.skippy-back-to-top:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

.skippy-back-to-top img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.skippy-back-to-top__arrow {
    font-family: Arial, sans-serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    color: #b45a21;
}

@media (max-width: 768px) {
    .skippy-back-to-top {
        right: 14px;
        bottom: 14px;
        width: 56px;
        height: 56px;
        padding: 6px;
    }

    .skippy-back-to-top__arrow {
        font-size: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .skippy-back-to-top {
        transition: none;
    }
}
