.io-share-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 28px 0 8px;
    color: var(--muted-color, #888);
    font-size: 14px;
}

.io-share-label {
    margin-right: 2px;
    white-space: nowrap;
}

.io-share-btn {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #888;
    background: rgba(136, 136, 136, .12);
    text-decoration: none;
    line-height: 1;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.io-share-btn:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.io-share-btn i {
    font-size: 17px;
}

.io-share-wechat:hover {
    background: #20b767;
}

.io-share-qq:hover {
    background: #2f86ff;
}

.io-share-qzone:hover {
    background: #FFCC00;
}

.io-share-weibo:hover {
    background: #e6162d;
}

.io-share-poster:hover {
    background: #ff8a34;
}

.io-share-modal {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px 14px;
}

.io-share-modal.is-visible {
    display: flex;
}

.io-share-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
}

.io-share-dialog {
    position: relative;
    width: min(92vw, 360px);
    max-height: calc(100vh - 48px);
    overflow: auto;
    border-radius: 8px;
    background: var(--main-bg-color, #fff);
    color: var(--main-text-color, #333);
    box-shadow: 0 20px 55px rgba(0, 0, 0, .24);
    padding: 24px;
    text-align: center;
}

.io-share-dialog h3 {
    margin: 0 0 18px;
    font-size: 18px;
}

.io-share-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: rgba(136, 136, 136, .12);
    color: #888;
    line-height: 30px;
    cursor: pointer;
}

.io-share-qr-img {
    width: 210px;
    height: 210px;
    padding: 10px;
    border-radius: 8px;
    background: #fff;
}

.io-share-qr-dialog p {
    margin: 16px auto 0;
    max-width: 240px;
    color: #777;
    font-size: 13px;
}

.io-share-poster-dialog {
    width: min(92vw, 420px);
    padding: 20px;
}

.io-share-poster-preview {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(136, 136, 136, .08);
    overflow: hidden;
}

.io-share-poster-preview img {
    display: none;
    width: 100%;
    height: auto;
}

.io-share-poster-preview.is-ready img {
    display: block;
}

.io-share-poster-preview.is-ready .io-share-poster-loading {
    display: none;
}

.io-share-poster-loading {
    color: #888;
    font-size: 14px;
}

.io-share-poster-actions {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.io-share-modal-open {
    overflow: hidden;
}

.io-black-mode .io-share-dialog {
    background: #24252b;
    color: #ddd;
}

@media (max-width: 575.98px) {
    .io-share-bar {
        gap: 8px;
        flex-wrap: wrap;
    }

    .io-share-btn {
        width: 32px;
        height: 32px;
    }

    .io-share-poster-preview {
        min-height: 360px;
    }
}
