#lf-back-to-top {
    position: fixed;
    right: max(18px, env(safe-area-inset-right));
    bottom: calc(18px + env(safe-area-inset-bottom) + var(--lf-top-clearance, 0px));
    z-index: 45;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 19px 0 0;
    min-width: 56px;
    height: 56px;
    border: 1px solid #efdfd4;
    border-radius: 999px;
    background: #fbf7f2;
    color: #b50d38;
    box-shadow: 0 6px 24px #40172724, 0 1px 3px #40172712;
    font: 900 14px/1.2 Nunito, system-ui, sans-serif;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background .18s, color .18s, box-shadow .18s;
}
#lf-back-to-top[hidden] { display: none !important; }
#lf-back-to-top .lf-top-icon { position: relative; display: block; flex: 0 0 54px; width: 54px; height: 54px; }
#lf-back-to-top .lf-top-ring { position: absolute; inset: 0; width: 54px; height: 54px; stroke-width: 2; }
#lf-back-to-top .lf-top-track { stroke: #ead9d3; }
#lf-back-to-top .lf-top-progress { stroke: #e91048; stroke-dasharray: 100; stroke-dashoffset: var(--lf-top-progress, 100); transform: rotate(-90deg); transform-origin: center; stroke-linecap: round; }
#lf-back-to-top .lf-top-arrow { position: absolute; inset: 15px; width: 24px; height: 24px; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
#lf-back-to-top .lf-top-label { white-space: nowrap; }
#lf-back-to-top:focus-visible { outline: 3px solid #1a1a1a; outline-offset: 4px; }
@media (hover: hover) {
    #lf-back-to-top:hover { background: #e91048; color: #fff; box-shadow: 0 8px 28px #e9104838; }
    #lf-back-to-top:hover .lf-top-progress { stroke: #fff; }
    #lf-back-to-top:hover .lf-top-track { stroke: #ffffff50; }
}
@media (max-width: 640px) {
    #lf-back-to-top { right: max(14px, env(safe-area-inset-right)); padding: 0; }
    #lf-back-to-top .lf-top-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    #lf-back-to-top { transition: none; }
}
@media (forced-colors: active) {
    #lf-back-to-top { border: 2px solid ButtonText; }
    #lf-back-to-top .lf-top-progress { stroke: ButtonText; }
}
@media print { #lf-back-to-top { display: none !important; } }
