.sps-share,
.sps-floating {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin: 18px 0;
}
.sps-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #f8fafc;
    color: #0f172a;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    line-height: 1;
}
.sps-share-btn span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #2563eb;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}
.sps-size-small .sps-share-btn { min-height: 28px; padding: 4px 8px; font-size: 12px; }
.sps-size-compact .sps-share-btn { min-height: 34px; padding: 6px 11px; font-size: 13px; }
.sps-size-large .sps-share-btn { min-height: 42px; padding: 9px 15px; font-size: 15px; }
.sps-display-icon_only .sps-share-btn b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sps-display-icon_only .sps-share-btn { border-radius: 999px; padding-left: 6px; padding-right: 6px; }
.sps-style-outline .sps-share-btn { background: transparent; }
.sps-style-solid .sps-share-btn { background: #0f172a; color: #fff; border-color: #0f172a; }
.sps-floating {
    position: fixed;
    z-index: 999;
    margin: 0;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 10px 26px rgba(15,23,42,.16);
}
.sps-floating-left { left: 14px; top: 45%; transform: translateY(-50%); flex-direction: column; }
.sps-floating-right { right: 14px; top: 45%; transform: translateY(-50%); flex-direction: column; }
.sps-floating-bottom { left: 50%; bottom: 16px; transform: translateX(-50%); }
.sps-floating .sps-share-btn b { display: none; }
@media (max-width: 760px) {
    .sps-floating-left,
    .sps-floating-right,
    .sps-floating-bottom { left: 10px; right: 10px; bottom: 12px; top: auto; transform: none; flex-direction: row; justify-content: center; }
}

/* 0.2.9: design themes for website share buttons */
.sps-share-btn { transition: transform .14s ease, box-shadow .14s ease, background .14s ease; }
.sps-share-btn:hover { transform: translateY(-1px); }
.sps-share-btn .sps-icon,
.sps-share-btn span {
    text-transform: uppercase;
}
.sps-net-facebook .sps-icon { background: #1877f2; }
.sps-net-linkedin .sps-icon { background: #0a66c2; }
.sps-net-whatsapp .sps-icon { background: #25d366; }
.sps-net-x .sps-icon { background: #111827; }
.sps-net-pinterest .sps-icon { background: #e60023; }
.sps-net-email .sps-icon { background: #64748b; }
.sps-net-copy .sps-icon { background: #0ea5e9; }
.sps-net-review .sps-icon { background: #f59e0b; }

.sps-theme-brand_round .sps-share-btn {
    border-color: transparent;
    background: transparent;
    padding: 4px;
    min-width: 36px;
}
.sps-theme-brand_round .sps-share-btn .sps-icon,
.sps-theme-brand_round .sps-share-btn span {
    min-width: 34px;
    width: 34px;
    height: 34px;
    box-shadow: 0 6px 14px rgba(15,23,42,.16);
}
.sps-theme-brand_round .sps-share-btn b { display: none; }

.sps-theme-brand_square .sps-share-btn {
    border-radius: 10px;
    border-color: transparent;
    padding: 4px;
    background: transparent;
}
.sps-theme-brand_square .sps-share-btn .sps-icon,
.sps-theme-brand_square .sps-share-btn span {
    border-radius: 9px;
    min-width: 36px;
    width: 36px;
    height: 36px;
}
.sps-theme-brand_square .sps-share-btn b { display: none; }

.sps-theme-soft_pills .sps-share-btn {
    background: #f8fafc;
    border-color: #dbe7f6;
    color: #1e293b;
    box-shadow: 0 4px 10px rgba(15,23,42,.06);
}

.sps-theme-outline_minimal .sps-share-btn {
    background: #fff;
    border-color: #cbd5e1;
    color: #1e293b;
    box-shadow: none;
}
.sps-theme-outline_minimal .sps-share-btn .sps-icon,
.sps-theme-outline_minimal .sps-share-btn span {
    background: transparent;
    color: inherit;
    border: 1px solid #cbd5e1;
}

.sps-theme-floating_stack.sps-floating {
    border-radius: 12px;
    padding: 0;
    gap: 0;
    overflow: hidden;
    background: transparent;
}
.sps-theme-floating_stack .sps-share-btn,
.sps-floating.sps-theme-floating_stack .sps-share-btn {
    border-radius: 0;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
}
.sps-theme-floating_stack .sps-share-btn .sps-icon,
.sps-floating.sps-theme-floating_stack .sps-share-btn .sps-icon,
.sps-theme-floating_stack .sps-share-btn span,
.sps-floating.sps-theme-floating_stack .sps-share-btn span {
    border-radius: 0;
    width: 42px;
    height: 38px;
    min-width: 42px;
}
.sps-theme-floating_stack .sps-share-btn b { display: none; }

.sps-theme-counter_tiles .sps-share-btn {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-width: 58px;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.sps-theme-counter_tiles .sps-share-btn::before {
    content: 'Share';
    display: block;
    padding: 4px 5px;
    font-size: 10px;
    color: #334155;
    background: #f8fafc;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}
.sps-theme-counter_tiles .sps-share-btn .sps-icon,
.sps-theme-counter_tiles .sps-share-btn span {
    width: 100%;
    height: 32px;
    border-radius: 0;
}
.sps-theme-counter_tiles .sps-share-btn b { display: none; }

.sps-theme-dark_bar {
    padding: 10px;
    border-radius: 12px;
    background: #111827;
}
.sps-theme-dark_bar .sps-share-btn {
    border-color: rgba(255,255,255,.12);
    background: #1f2937;
    color: #fff;
    border-radius: 8px;
}
.sps-theme-dark_bar .sps-share-btn .sps-icon,
.sps-theme-dark_bar .sps-share-btn span {
    box-shadow: none;
}

.sps-theme-reaction_bubbles .sps-share-btn {
    border: 0;
    background: transparent;
    padding: 4px;
}
.sps-theme-reaction_bubbles .sps-share-btn .sps-icon,
.sps-theme-reaction_bubbles .sps-share-btn span {
    width: 40px;
    height: 32px;
    min-width: 40px;
    border-radius: 11px;
    background: #111827;
    position: relative;
}
.sps-theme-reaction_bubbles .sps-share-btn .sps-icon::after,
.sps-theme-reaction_bubbles .sps-share-btn span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 12px;
    border-width: 6px 6px 0 0;
    border-style: solid;
    border-color: #111827 transparent transparent transparent;
}
.sps-theme-reaction_bubbles .sps-share-btn b { display: none; }

/* 0.3.0: full-colour SVG icon themes for website share buttons */
.sps-share-btn .sps-icon {
    width: 24px;
    min-width: 24px;
    height: 24px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
}
.sps-share-btn .sps-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    display: block;
}
.sps-net-facebook .sps-icon { background: #1877f2; }
.sps-net-linkedin .sps-icon { background: #0a66c2; }
.sps-net-whatsapp .sps-icon { background: #25d366; }
.sps-net-x .sps-icon { background: #111827; }
.sps-net-pinterest .sps-icon { background: #e60023; }
.sps-net-email .sps-icon { background: #64748b; }
.sps-net-copy .sps-icon { background: #0ea5e9; }
.sps-net-review .sps-icon { background: #f59e0b; }

.sps-theme-brand_strip .sps-share-btn {
    border-color: transparent;
    color: #fff;
    border-radius: 9px;
    box-shadow: 0 6px 14px rgba(15, 23, 42, .14);
}
.sps-theme-brand_strip .sps-net-facebook { background: #1877f2; }
.sps-theme-brand_strip .sps-net-linkedin { background: #0a66c2; }
.sps-theme-brand_strip .sps-net-whatsapp { background: #25d366; }
.sps-theme-brand_strip .sps-net-x { background: #111827; }
.sps-theme-brand_strip .sps-net-pinterest { background: #e60023; }
.sps-theme-brand_strip .sps-net-email { background: #64748b; }
.sps-theme-brand_strip .sps-net-copy { background: #0ea5e9; }
.sps-theme-brand_strip .sps-share-btn .sps-icon { background: rgba(255,255,255,.18); color: #fff; }

.sps-theme-brand_squares .sps-share-btn,
.sps-theme-rounded_icons .sps-share-btn {
    border: 0;
    background: transparent;
    padding: 2px;
}
.sps-theme-brand_squares .sps-share-btn .sps-icon,
.sps-theme-rounded_icons .sps-share-btn .sps-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    box-shadow: 0 8px 16px rgba(15,23,42,.15);
}
.sps-theme-brand_squares .sps-share-btn .sps-icon { border-radius: 9px; }
.sps-theme-rounded_icons .sps-share-btn .sps-icon { border-radius: 999px; }
.sps-theme-brand_squares .sps-share-btn b,
.sps-theme-rounded_icons .sps-share-btn b { display: none; }

.sps-theme-compact_pills .sps-share-btn {
    border-color: #dbe7f6;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(15,23,42,.06);
}
.sps-theme-compact_pills .sps-share-btn .sps-icon {
    width: 22px;
    min-width: 22px;
    height: 22px;
}

.sps-theme-outline_clean .sps-share-btn {
    background: #fff;
    color: #1e293b;
    border-color: #cbd5e1;
    box-shadow: none;
    border-radius: 9px;
}
.sps-theme-outline_clean .sps-share-btn .sps-icon {
    background: transparent;
    border: 1px solid #d1d5db;
}
.sps-theme-outline_clean .sps-net-facebook .sps-icon { color: #1877f2; }
.sps-theme-outline_clean .sps-net-linkedin .sps-icon { color: #0a66c2; }
.sps-theme-outline_clean .sps-net-whatsapp .sps-icon { color: #25d366; }
.sps-theme-outline_clean .sps-net-x .sps-icon { color: #111827; }
.sps-theme-outline_clean .sps-net-pinterest .sps-icon { color: #e60023; }
.sps-theme-outline_clean .sps-net-email .sps-icon { color: #64748b; }
.sps-theme-outline_clean .sps-net-copy .sps-icon { color: #0ea5e9; }

.sps-theme-floating_stack.sps-floating {
    border-radius: 10px;
    gap: 0;
    padding: 0;
    overflow: hidden;
    background: transparent;
}
.sps-floating.sps-theme-floating_stack .sps-share-btn {
    border: 0;
    border-radius: 0;
    padding: 0;
    margin: 0;
    background: transparent;
}
.sps-floating.sps-theme-floating_stack .sps-share-btn .sps-icon {
    width: 42px;
    min-width: 42px;
    height: 38px;
    border-radius: 0;
}
.sps-floating.sps-theme-floating_stack .sps-share-btn b { display: none; }

.sps-theme-counter_tiles .sps-share-btn {
    min-width: 62px;
    padding: 0;
    border-radius: 9px;
    overflow: hidden;
    flex-direction: column;
    gap: 0;
    background: #fff;
}
.sps-theme-counter_tiles .sps-share-btn::before {
    content: 'Share';
    width: 100%;
    padding: 4px 4px;
    font-size: 10px;
    color: #334155;
    background: #f8fafc;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}
.sps-theme-counter_tiles .sps-share-btn .sps-icon {
    width: 100%;
    min-width: 100%;
    height: 34px;
    border-radius: 0;
}
.sps-theme-counter_tiles .sps-share-btn b { display: none; }

.sps-theme-dark_bar {
    padding: 10px;
    border-radius: 12px;
    background: #111827;
}
.sps-theme-dark_bar .sps-share-btn {
    border-radius: 8px;
    border-color: rgba(255,255,255,.14);
    background: #1f2937;
    color: #fff;
}
.sps-theme-dark_bar .sps-share-btn .sps-icon { box-shadow: none; }

/* 0.3.8 centered default website share panel */
.sps-share {
    justify-content: center;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 12px;
    padding-right: 12px;
}
.sps-share .sps-share-btn {
    flex: 0 0 auto;
}
@media (max-width: 640px) {
    .sps-share {
        justify-content: center;
        gap: 7px;
    }
}
