/* WSB Public Button */
.wsb-wrapper {
    position: fixed;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.wsb-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: fixed;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
    transition: transform .2s ease, box-shadow .2s ease;
    z-index: 9999;
}

.wsb-btn:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
}

/* Pulse animation */
.wsb-pulse::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    opacity: .6;
    animation: wsb-pulse 2s ease-out infinite;
    z-index: -1;
}

@keyframes wsb-pulse {
    0%   { transform: scale(1);   opacity: .6; }
    70%  { transform: scale(1.5); opacity: 0;  }
    100% { transform: scale(1.5); opacity: 0;  }
}

/* Tooltip */
.wsb-tooltip {
    position: fixed;
    bottom: calc(var(--wsb-y, 24px) + var(--wsb-size, 60px) + 10px);
    background: #333;
    color: #fff;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
    z-index: 9998;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.wsb-wrapper:hover .wsb-tooltip { opacity: 1; }

/* bottom-right */
.wsb-wrapper[data-position="bottom-right"] .wsb-tooltip { right: var(--wsb-x, 24px); }
/* bottom-left */
.wsb-wrapper[data-position="bottom-left"] .wsb-tooltip { left: var(--wsb-x, 24px); }
/* bottom-center */
.wsb-wrapper[data-position="bottom-center"] .wsb-tooltip { left: 50%; transform: translateX(-50%); }
