/* Below menus and consent dialogs; existing floating services retain their position. */
button.lavelal-wk-backtop {
    position: fixed;
    z-index: 90;
    right: max(24px, env(safe-area-inset-right));
    bottom: max(var(--lavelal-backtop-bottom, 136px), env(safe-area-inset-bottom));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    margin: 0;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #823f7c;
    color: #fff;
    box-shadow: 0 2px 8px rgb(0 0 0 / 18%);
    cursor: pointer;
}
button.lavelal-wk-backtop[hidden] { display: none !important; }
button.lavelal-wk-backtop:hover { background: #823f7c; color: #fff; filter: brightness(.94); }
button.lavelal-wk-backtop:focus-visible { outline: 3px solid #823f7c; outline-offset: 3px; }
button.lavelal-wk-backtop svg { display: block; pointer-events: none; }
@media (max-width: 1024px) {
    button.lavelal-wk-backtop { right: max(12px, env(safe-area-inset-right)); }
}
@media (forced-colors: active) {
    button.lavelal-wk-backtop { border-color: ButtonText; }
}
