.ShareButtons {
    display: flex;
    flex-wrap: wrap;
    margin: 0.5rem 0;
    padding: 0;
    gap: 0.2rem;
    list-style: none;
}

.ShareButtons--preview {
    margin: 0;
    pointer-events: none;
}

.ShareButtons__item {
    list-style-image: none;
    background-image: none;
}

.ShareButtons__item:before {
    content: none;
}

.ShareButtons__link {
    display: flex;
    gap: 0.5em;
    align-items: center;
    justify-content: center;
    padding: 0.5em 1em;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.92);
    transition: background 0.2s ease-in-out;
}

.ShareButtons__link:hover,
.ShareButtons__link:focus {
    text-decoration: none;
    filter: contrast(.8);
}

.ShareButtons .ShareButtons__link,
.ShareButtons .ShareButtons__link:hover,
.ShareButtons .ShareButtons__link:focus {
    color: var(--ShareButtons-brandColor);
}

.ShareButtons svg {
    width: 1em;
    height: 1em;
    fill: var(--ShareButtons-brandColor);
}

.ShareButtons__name {
    font-size: 0.9rem;
    line-height: 1;
    white-space: nowrap;
}

/**
 * Size: 14, 16, 21
 */

.ShareButtons--sizeNormal {
    font-size: 1rem;
}

.ShareButtons--sizeLarge {
    font-size: 1.3125rem;
}

.ShareButtons--sizeSmall .ShareButtons__link {
    padding: 0.375em 0.45em;
}

.ShareButtons--sizeSmall {
    font-size: 0.8125rem;
}

.ShareButtons--sizeSmall .ShareButtons__name {
    font-size: 0.8125rem;
}

/*
 * Style: straight, rounded, round
 */

.ShareButtons--cornersRounded .ShareButtons__link {
    border-radius: 0.3em;
}

.ShareButtons--cornersRound .ShareButtons__link {
    border-radius: 1.3em;
}

.ShareButtons--cornersRound.ShareButtons--textVisible.ShareButtons--sizeSmall .ShareButtons__link {
    padding-inline: 0.8em;
}

/**
 * Text: visible, invisible
 */

.ShareButtons--textInvisible .ShareButtons__link {
    padding: 0.5em;
}

.ShareButtons--textInvisible .ShareButtons__name {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

/**
 * Background: color, transparent
 */

.ShareButtons--backgroundColor .ShareButtons__link,
.ShareButtons--backgroundCustom .ShareButtons__link {
    color: var(--ShareButtons-iconColor, #fff);
    background-color: var(--ShareButtons-brandColor);
}

.ShareButtons--backgroundColor .ShareButtons__link:hover,
.ShareButtons--backgroundColor .ShareButtons__link:active,
.ShareButtons--backgroundColor .ShareButtons__link:focus,
.ShareButtons--backgroundCustom .ShareButtons__link:hover,
.ShareButtons--backgroundCustom .ShareButtons__link:active,
.ShareButtons--backgroundCustom .ShareButtons__link:focus {
    color: var(--ShareButtons-iconColor, #fff);
}

.ShareButtons--backgroundColor svg,
.ShareButtons--backgroundCustom svg {
    fill: var(--ShareButtons-iconColor, #fff);
}

/**
 * Notices for copy button
 */

.ShareButtons__linkNotice {
    position: absolute;
}

.ShareButtons__linkNotice--ok {
    background: #000;
    color: #fff;
    padding: .2em .5em;
    line-height: 1;
    font-size: 1rem;
    transform: translate(-50%, -4em);
    margin-left: 1.5em;
}