:root {
    --z-share-pop: 11000;
}

.share-pop {
    position: fixed;
    z-index: var(--z-share-pop);
    background: #fff;
    border: 1px solid rgb(229 231 235);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    border-radius: .75rem;
    padding: .5rem;
    width: 260px;
}

.share-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem .7rem;
    border-radius: .55rem;
    font-size: .9rem;
    line-height: 1.25rem;
    color: #111;
    text-decoration: none;
}

.share-item:hover {
    background: rgb(249 250 251);
}

.share-item .ico {
    width: 18px;
    height: 18px;
    display: inline-block;
}

.share-divider {
    height: 1px;
    background: rgb(229 231 235);
    margin: .25rem 0;
}

.share-btn {
    position: absolute;
    right: .5rem;
    top: .5rem;
    background: rgba(255, 255, 255, .9);
    border: 1px solid #6b7280;
    border-radius: .5rem;
    padding: .4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.share-btn:hover {
    background: #fff;
}

.share-icon {
    width: 20px;
    height: 20px;
}

.share-item .ico {
    color: currentColor;
}

.share-item span {
    color: #111;
}

.share-item[data-brand="whatsapp"] .ico {
    color: #25D366;
}

.share-item[data-brand="facebook"] .ico {
    color: #1877F2;
}

.share-item[data-brand="x"] .ico {
    color: #000;
}

.share-item[data-brand="linkedin"] .ico {
    color: #0A66C2;
}

.share-item[data-brand="telegram"] .ico {
    color: #26A5E4;
}

.share-item[data-brand="mail"] .ico {
    color: #F2C94C;
}

.share-item[data-brand="sms"] .ico {
    color: #22C55E;
}

.share-item[data-brand="copy"] .ico {
    color: #6B7280;
}

.share-item[data-brand="native"] .ico {
    color: #111;
}
