.salam-back-to-top {
    position:fixed;
    right:24px;
    bottom:calc(24px + env(safe-area-inset-bottom, 0px));
    z-index:90;
    display:flex;
    align-items:center;
    justify-content:center;
    width:46px;
    height:46px;
    padding:0;
    border:1px solid #183f36;
    border-radius:50%;
    background:#f7f3e7;
    color:#183f36;
    cursor:pointer;
    opacity:0;
    transform:translateY(8px);
    pointer-events:none;
    transition:opacity .3s ease,transform .3s ease,background-color .2s ease,color .2s ease;
}
.salam-back-to-top[hidden] { display:none; }
.salam-back-to-top.is-visible { opacity:1; transform:translateY(0); pointer-events:auto; }
.salam-back-to-top .material-symbols-outlined { transform:rotate(180deg); font-size:24px; width:24px; height:24px; line-height:1; }
.salam-back-to-top:focus-visible { outline:2px solid #bd9c48; outline-offset:4px; }
@media(hover:hover) { .salam-back-to-top:hover { background:#183f36; color:#fff; } }
@media(max-width:767px) { .salam-back-to-top { right:16px; bottom:calc(16px + env(safe-area-inset-bottom, 0px)); width:44px; height:44px; } }
@media(prefers-reduced-motion:reduce) { .salam-back-to-top { transition:none; transform:none; } }
