body .hexo-social-bubble-links,
body .hexo-social-bubble-links * {
    box-sizing: border-box;
}

body .hexo-social-bubble-links {
    --hsbl-color: #ff6f00;
    
    --hsbl-side-mobile: 16px;
    --hsbl-bottom-mobile: 16px;
    
    --hsbl-side-desktop: 24px;
    --hsbl-bottom-desktop: 24px;
    
    --hsbl-gap-mobile: 12px;
    --hsbl-gap-desktop: 16px;
    
    position: fixed;
    bottom: var(--hsbl-bottom-desktop);
    z-index: 999999;
    display: flex;
    align-items: flex-end;
    font-family: inherit;
}

body .hexo-social-bubble-links.is-right {
    right: var(--hsbl-side-desktop);
}

body .hexo-social-bubble-links.is-left {
    left: var(--hsbl-side-desktop);
}

body .hexo-social-bubble-links__button {
    position: relative;
    min-width: 116px;
    min-height: 45px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--hsbl-color);
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    outline: none;
    transition: transform 0.2s ease;
}

body .hexo-social-bubble-links__button::before {
    content: "";
    position: absolute;
    inset: -7px;
    z-index: -1;
    border-radius: inherit;
    background: var(--hsbl-color);
    opacity: 0.2;
    animation: hexo-social-bubble-pulse 1.9s infinite;
}

body .hexo-social-bubble-links__button:hover,
body .hexo-social-bubble-links.is-open .hexo-social-bubble-links__button {
    transform: translateY(-2px);
    background: var(--hsbl-color);
    color: white;
}

body .hexo-social-bubble-links__button:focus-visible {
    outline: 3px solid rgba(15, 23, 42, 0.22);
    outline-offset: 3px;
}

body .hexo-social-bubble-links__menu {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: none;
}

body .hexo-social-bubble-links.is-vertical .hexo-social-bubble-links__menu {
    bottom: calc(100% + var(--hsbl-gap-desktop));
    flex-direction: column-reverse;
}

body .hexo-social-bubble-links.is-horizontal .hexo-social-bubble-links__menu {
    bottom: 1px;
    flex-direction: row;
}

body .hexo-social-bubble-links.is-right .hexo-social-bubble-links__menu {
    right: 3px;
}

body .hexo-social-bubble-links.is-left .hexo-social-bubble-links__menu {
    left: 3px;
}

body .hexo-social-bubble-links.is-horizontal.is-right .hexo-social-bubble-links__menu {
    right: calc(100% + var(--hsbl-gap-desktop));
}

body .hexo-social-bubble-links.is-horizontal.is-left .hexo-social-bubble-links__menu {
    left: calc(100% + var(--hsbl-gap-desktop));
}

body .hexo-social-bubble-links__item {
    width: 50px;
    height: 50px;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px) scale(0.65);
    transition:
        opacity 0.2s ease,
        transform 0.35s cubic-bezier(0.2, 0.95, 0.2, 1.15);
    transition-delay: calc(var(--hsbl-index) * 45ms);
    overflow: hidden;
    text-decoration: none !important;
}

body .hexo-social-bubble-links.is-horizontal .hexo-social-bubble-links__item {
    transform: translateX(18px) scale(0.65);
}

body .hexo-social-bubble-links.is-open .hexo-social-bubble-links__item,
body .hexo-social-bubble-links.is-static .hexo-social-bubble-links__item,
body .hexo-social-bubble-links.is-hover:hover .hexo-social-bubble-links__item,
body .hexo-social-bubble-links.is-hover:focus-within .hexo-social-bubble-links__item {
    opacity: 1;
    pointer-events: auto;
    transform: translate(0) scale(1);
}

body .hexo-social-bubble-links__item:hover,
body .hexo-social-bubble-links__item:focus-visible {
    transform: translateY(-3px) scale(1.04) !important;
    outline: none;
}

body .hexo-social-bubble-links__item img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: inherit;
    object-fit: cover;
}

body .hexo-social-bubble-links__item.is-bale {
    background: #00a884;
}

body .hexo-social-bubble-links__item.is-bale img,
body .hexo-social-bubble-links__item.is-rubika img {
    width: 74%;
    height: 74%;
    object-fit: contain;
}

body .hexo-social-bubble-links.has-labels .hexo-social-bubble-links__item {
    width: auto;
    min-width: 50px;
    padding: 0 14px 0 7px;
    gap: 8px;
    color: #1f2937;
    font-size: 13px;
    font-weight: 600;
    overflow: visible;
}

body .hexo-social-bubble-links.has-labels.is-left .hexo-social-bubble-links__item {
    padding: 0 7px 0 14px;
}

body .hexo-social-bubble-links.has-labels .hexo-social-bubble-links__item img {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
}

body .hexo-social-bubble-links.has-labels .hexo-social-bubble-links__item.is-bale img,
body .hexo-social-bubble-links.has-labels .hexo-social-bubble-links__item.is-rubika img {
    padding: 5px;
}

body .hexo-social-bubble-links.is-static {
    align-items: center;
}

body .hexo-social-bubble-links.is-static .hexo-social-bubble-links__menu {
    position: static;
}

body .hexo-social-bubble-links.is-static.is-vertical .hexo-social-bubble-links__menu {
    flex-direction: column-reverse;
}

@keyframes hexo-social-bubble-pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.25;
    }
    70%,
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

@media (max-width: 600px) {
    body .hexo-social-bubble-links {
        bottom: var(--hsbl-bottom-mobile);
    }

    body .hexo-social-bubble-links.is-right {
        right: var(--hsbl-side-mobile);
    }

    body .hexo-social-bubble-links.is-left {
        left: var(--hsbl-side-mobile);
    }
    
    body .hexo-social-bubble-links.is-vertical .hexo-social-bubble-links__menu {
        bottom: calc(100% + var(--hsbl-gap-mobile));
        flex-direction: column-reverse;
    }
    
    body .hexo-social-bubble-links.is-horizontal.is-right .hexo-social-bubble-links__menu {
        right: calc(100% + var(--hsbl-gap-mobile));
    }
    
    body .hexo-social-bubble-links.is-horizontal.is-left .hexo-social-bubble-links__menu {
        left: calc(100% + var(--hsbl-gap-mobile));
    }

    body .hexo-social-bubble-links__button {
        min-width: 96px;
        min-height: 42px;
        padding: 0 18px;
        font-size: 13px;
    }

    body .hexo-social-bubble-links__item {
        width: 44px;
        height: 44px;
    }

    body .hexo-social-bubble-links.has-labels .hexo-social-bubble-links__item {
        min-width: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body .hexo-social-bubble-links__button::before {
        animation: none;
    }

    body .hexo-social-bubble-links__button,
    body .hexo-social-bubble-links__item {
        transition: none;
    }
}
