.lc-back-to-top {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 29;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    padding: 10px;
    border: 1px solid #756132;
    border-radius: 6px;
    background: #101210;
    color: #f1c857;
    box-shadow: 0 3px 12px #0006;
    cursor: pointer;
    appearance: none;
    touch-action: manipulation;
}
.lc-back-to-top[hidden] { display: none !important; }
.lc-back-to-top:hover { background: #29251a; border-color: #f1c857; }
.lc-back-to-top:focus-visible { outline: 2px solid #ffe794; outline-offset: 3px; }
.lc-back-to-top svg { display: block; width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; }
@media (max-width: 800px) {
    .lc-back-to-top { right: calc(max(16px, env(safe-area-inset-right)) + 56px); }
}
