                                                                                
.btt-button {
    position: fixed;
    z-index: 799;
    right: max(14px, env(safe-area-inset-right));
                                                                     
    bottom: calc(max(17px, env(safe-area-inset-bottom)) + 70px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid #d7e0e9;
    border-radius: 50%;
    color: #1a3154;
    background: #fff;
    box-shadow: 0 7px 18px rgba(23, 44, 77, 0.16);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease,
        color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btt-button.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.btt-button:hover,
.btt-button:focus-visible {
    color: #9f124b;
    border-color: #e5b8cb;
    box-shadow: 0 9px 22px rgba(117, 20, 67, 0.20);
    outline: none;
}

.btt-button:focus-visible {
    outline: 3px solid rgba(8, 126, 155, 0.42);
    outline-offset: 3px;
}

.btt-button.is-visible:active {
    transform: scale(0.97);
}

@media (prefers-reduced-motion: reduce) {
    .btt-button {
        transition: none;
    }
}

@media (min-width: 701px) {
    .btt-button {
                                                           
        right: 22px;
        bottom: 122px;
    }

    body.jt-map-view .btt-button {
                                                                                   
        bottom: 152px;
    }
}

@media (max-width: 700px) {
    body.jt-map-view .btt-button {
                                                                                
        bottom: calc(max(70px, calc(52px + env(safe-area-inset-bottom))) + 70px);
    }
}
