.sticky-icons {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 1000;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 12px;
    transition: all 0.3s ease;
}

/* Base button style */
.sticky-icon {
    display: none;
    align-items: center;
    justify-content: center;
    background-color: var(--color6, #222);
    border-radius: 999px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sticky-icon svg,
.sticky-icon i {
    width: 26px;
    height: 26px;
    transition: all 0.3s ease;
}

.sticky-icon:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

/* Expandable: only toggle initially visible */
.sticky-icons--expandable .sticky-icon.toggle-icon {
    display: flex;
}

/* Expanded → show all icons */
.sticky-icons--expandable.expanded .sticky-icon {
    display: flex;
}

@keyframes stickySlideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sticky-icons--expandable.expanded .sticky-icon:not(.toggle-icon) {
    animation: stickySlideUp 0.4s ease forwards;
}

/* Single mode: always show the top icon */
.sticky-icons--single .sticky-icon {
    display: flex;
}


/* Always visible mode: show all icons, no toggle needed */
.sticky-icons--always .sticky-icon {
    display: flex;
}

/* Safety: hide toggle if present */
.sticky-icons--always .sticky-icon.toggle-icon {
    display: none;
}


/* Fix FA <i>::before baseline shift inside flex circles */
.sticky-icon {
  line-height: 1;
}

.sticky-icon i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  height: 1em;
}

.sticky-icon i::before {
  line-height: 1;
  display: block;
}

/* SVG centering polish (prevents baseline gaps) */
.sticky-icon svg {
  display: block;
}
