.avi-floating-button {
    position: fixed;
    right: calc(1rem + env(safe-area-inset-right));
    bottom: calc(1rem + env(safe-area-inset-bottom));
    z-index: 1050;
    display: flex;
    width: 72px;
    height: 72px;
    padding: 3px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #ffffff;
    border: 2px solid rgb(149, 1, 1);
    border-radius: 50%;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.avi-floating-button img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.avi-floating-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 22px rgba(0, 0, 0, 0.32);
}

.avi-floating-button:focus {
    outline: 3px solid #ffffff;
    box-shadow: 0 0 0 5px rgb(149, 1, 1), 0 7px 22px rgba(0, 0, 0, 0.32);
}

@media (max-width: 767.98px) {
    .avi-floating-button {
        width: 64px;
        height: 64px;
        padding: 2px;
    }
}

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