#scb-root.scb-container {
    all: initial;
    position: fixed !important;
    z-index: 2147483000 !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-family: -apple-system, sans-serif;
    box-sizing: border-box;
}

#scb-root * {
    box-sizing: border-box;
}

#scb-root.scb-pos-bottom-right { right: var(--scb-offset, 20px); bottom: var(--scb-offset, 20px); }
#scb-root.scb-pos-bottom-left  { left: var(--scb-offset, 20px);  bottom: var(--scb-offset, 20px); }
#scb-root.scb-pos-top-right    { right: var(--scb-offset, 20px); top: var(--scb-offset, 20px); }
#scb-root.scb-pos-top-left     { left: var(--scb-offset, 20px);  top: var(--scb-offset, 20px); }

#scb-root.scb-pos-top-right,
#scb-root.scb-pos-top-left {
    flex-direction: column-reverse;
}

#scb-root .scb-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#scb-root .scb-item {
    position: relative;
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--scb-item-color, #333) !important;
    box-shadow: 0 3px 10px rgba(0,0,0,.2);
    opacity: 0;
    transform: scale(0.3) translateY(10px);
    transition: all .25s ease;
    pointer-events: none;
    border: none;
    outline: none;
    text-decoration: none;
    line-height: 0;
}

#scb-root.scb-style-mono .scb-item {
    background: var(--scb-main-color, #333) !important;
}

#scb-root.scb-open .scb-item {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

#scb-root .scb-item svg {
    width: 22px;
    height: 22px;
    fill: #fff !important;
    flex-shrink: 0;
}

#scb-root .scb-tooltip {
    position: absolute;
    right: 56px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.75);
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

#scb-root.scb-pos-bottom-left .scb-tooltip,
#scb-root.scb-pos-top-left .scb-tooltip {
    right: auto;
    left: 56px;
}

#scb-root .scb-item:hover .scb-tooltip {
    opacity: 1;
}

#scb-root .scb-main-btn {
    -webkit-appearance: none;
    appearance: none;
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 50%;
    border: none !important;
    outline: none !important;
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
    background: var(--scb-main-color, #25d366) !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform .2s ease;
    padding: 0;
    margin: 0;
    -webkit-tap-highlight-color: transparent;
}

#scb-root .scb-main-btn:hover,
#scb-root .scb-main-btn:focus,
#scb-root .scb-main-btn:active {
    border: none !important;
    outline: none !important;
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
    transform: scale(1.06);
}

#scb-root .scb-main-btn svg {
    width: 26px;
    height: 26px;
    fill: #fff !important;
    display: block;
    transition: opacity .2s ease, transform .2s ease;
}

#scb-root .scb-icon-close,
#scb-root .scb-icon-open {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#scb-root .scb-icon-close { opacity: 0; }
#scb-root .scb-icon-open  { opacity: 1; }
#scb-root .scb-icon-close svg { transform: rotate(-90deg); }
#scb-root .scb-icon-open svg  { transform: rotate(0deg); }

#scb-root.scb-open .scb-icon-open  { opacity: 0; }
#scb-root.scb-open .scb-icon-close { opacity: 1; }
#scb-root.scb-open .scb-icon-open svg  { transform: rotate(90deg); }
#scb-root.scb-open .scb-icon-close svg { transform: rotate(0deg); }

@media (max-width: 480px) {
    #scb-root.scb-pos-bottom-right,
    #scb-root.scb-pos-bottom-left {
        bottom: calc(var(--scb-offset, 20px) - 6px);
    }
    #scb-root .scb-main-btn { width: 52px; height: 52px; min-width: 52px; }
    #scb-root .scb-item { width: 42px; height: 42px; min-width: 42px; }
}
