.i3-back-to-top {
    position: fixed;
    right: 24px;
    bottom: 80px;
    z-index: 998;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    background: #193477;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,.18);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s, transform .25s,
                visibility .25s, background .25s;
}

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

.i3-back-to-top:hover {
    background: #219bc7;
    transform: translateY(-3px);
}

.i3-back-to-top:focus-visible {
    outline: 3px solid #219bc7;
    outline-offset: 3px;
}

.i3-back-to-top svg {
    width: 22px;
    height: 22px;
    pointer-events: none;
}

@media (max-width: 768px) {
    .i3-back-to-top {
        right: 16px;
        bottom: 72px;
    }
}

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