/* Share panel — compact inline pill with circular glyph buttons.
   Replaces the wide, full-width strip with misaligned icons.
   Used on article/chart/gallery view pages via http/layout/panels/share.tpl. */

.social-wrap {
    float: none;
    width: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 18px;
    padding: 6px 14px 6px 16px;
    background: #f6f6f9;
    border: 1px solid #ececf0;
    border-radius: 999px;
}
.social-wrap > span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b6777;
}
.social-wrap .soc-icons {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.social-wrap .soc-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e5e5eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1D1929;
    transition:
        background .18s ease,
        border-color .18s ease,
        transform .2s cubic-bezier(.22,1,.36,1),
        box-shadow .22s ease;
}
.social-wrap .soc-icon img {
    width: 15px;
    height: 15px;
    display: block;
    filter: none;
}
.social-wrap .soc-icon:hover {
    transform: translateY(-1px);
    border-color: transparent;
    box-shadow: 0 6px 14px rgba(18, 14, 30, 0.16);
}
.social-wrap .shr-facebook:hover { background: #1877F2; }
.social-wrap .shr-twitter:hover  { background: #111827; }
.social-wrap .shr-viber:hover    { background: #7360F2; }
.social-wrap .shr-copy:hover     { background: linear-gradient(135deg, #E84E0F 0%, #FAA31C 100%); }
.social-wrap .soc-icon:hover img { filter: brightness(0) invert(1); }

@media (max-width: 640px) {
    .social-wrap {
        width: auto;
        padding: 5px 12px 5px 14px;
        gap: 8px;
    }
    .social-wrap > span { font-size: 11px; }
    .social-wrap .soc-icon { width: 32px; height: 32px; }
    .social-wrap .soc-icon img { width: 14px; height: 14px; }
}
