.floating-support-button {
    position: fixed;
    right: max(16px, calc((100vw - 430px) / 2 + 14px));
    bottom: calc(92px + env(safe-area-inset-bottom));
    z-index: 58;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #10d783, #08a965);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .2);
    transition: box-shadow .18s ease;
    animation: floating-support-motion 5.5s ease-in-out infinite;
}

.floating-support-button:hover,
.floating-support-button:focus-visible {
    box-shadow: 0 13px 32px rgba(0, 0, 0, .4), inset 0 1px rgba(255, 255, 255, .22);
}

@keyframes floating-support-motion {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(-1.5deg);
    }
    50% {
        transform: translate3d(0, -6px, 0) rotate(1.5deg);
    }
}

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


.floating-support-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.floating-support-button.has-custom-icon {
    overflow: hidden;
    padding: 0;
    background: transparent;
}

.floating-support-button svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 520px) {
    .floating-support-button {
        right: 14px;
        bottom: calc(90px + env(safe-area-inset-bottom));
        width: 46px;
        height: 46px;
    }
}
