.floating-support {
    position: fixed;
    left: 10px;
    bottom: 10px;
    z-index: 1000;
    font-family: inherit;
}

.floating-support__items {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transform: translateX(-50%) translateY(10px) scale(0.4);
    transform-origin: bottom center;
    visibility: hidden;
    pointer-events: none;
    transition:
            transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
            visibility 0s 0.4s;
}

.floating-support.is-open .floating-support__items {
    transform: translateX(-50%) translateY(0) scale(1);
    visibility: visible;
    pointer-events: auto;
    transition:
            transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
            visibility 0s;
}

.floating-support__item,
.floating-support__toggle {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
    flex-shrink: 0;
    padding: 0;
}

.floating-support__item {
    background: var(--item-color);
    color: #fff;
    transform: translateY(12px) scale(0.6);
    opacity: 0;
    transition:
            opacity 0.22s ease,
            transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
            box-shadow 0.2s ease;
    transition-delay: 0s;
}

.floating-support.is-open .floating-support__item {
    transform: translateY(0) scale(1);
    opacity: 1;
    transition-delay: calc(var(--i, 0) * 0.05s);
}

.floating-support.is-open .floating-support__item:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
    transition-delay: 0s;
}

.floating-support__item img,
.floating-support__item svg {
    width: 20px;
    height: 20px;
    display: block;
    object-fit: contain;
    color: #fff;
    pointer-events: none;
    flex-shrink: 0;
}

.floating-support__toggle {
    background: #e83e8c;
    color: #fff;
    cursor: pointer;
}

.floating-support__toggle svg {
    width: 18px;
    height: 18px;
    display: block;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.floating-support.is-open .floating-support__toggle svg {
    transform: scale(0.9);
}

@media (max-width: 767px) {
    .floating-support {
        left: 8px;
        bottom: 88px;
    }

    .floating-support__item,
    .floating-support__toggle {
        width: 42px;
        height: 42px;
    }

    .floating-support__item img,
    .floating-support__item svg {
        width: 20px;
        height: 20px;
    }

    .floating-support__toggle svg {
        width: 16px;
        height: 16px;
    }

    .floating-support__items {
        gap: 8px;
    }
}