/* 社交分享组件样式 */
.social-share {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.social-share-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: all 0.2s ease;
    cursor: pointer;
}

.social-share-item:hover {
    background: #f5f5f5;
    border-color: #999;
    color: #333;
    text-decoration: none;
}

.social-share-item i {
    margin-right: 6px;
    font-size: 16px;
}

/* 微博 */
.social-share-weibo {
    color: #e6162d;
    border-color: #e6162d;
}

.social-share-weibo:hover {
    background: #e6162d;
    color: #fff;
}

/* QQ */
.social-share-qq {
    color: #12b7f5;
    border-color: #12b7f5;
}

.social-share-qq:hover {
    background: #12b7f5;
    color: #fff;
}

/* QQ空间 */
.social-share-qzone {
    color: #ffc20e;
    border-color: #ffc20e;
}

.social-share-qzone:hover {
    background: #ffc20e;
    color: #fff;
}

/* 微信 */
.social-share-wechat {
    color: #7bc549;
    border-color: #7bc549;
}

.social-share-wechat:hover {
    background: #7bc549;
    color: #fff;
}

/* 豆瓣 */
.social-share-douban {
    color: #072;
    border-color: #072;
}

.social-share-douban:hover {
    background: #072;
    color: #fff;
}

/* 贴吧 */
.social-share-tieba {
    color: #3385ff;
    border-color: #3385ff;
}

.social-share-tieba:hover {
    background: #3385ff;
    color: #fff;
}

/* 复制链接 */
.social-share-copy {
    color: #666;
    border-color: #666;
}

.social-share-copy:hover {
    background: #666;
    color: #fff;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .social-share {
        justify-content: center;
    }
    
    .social-share-item {
        flex: 1;
        min-width: 80px;
        padding: 10px 8px;
        font-size: 12px;
        text-align: center;
    }
    
    .social-share-item i {
        display: block;
        margin: 0 auto 4px;
        font-size: 18px;
    }
}

/* 文章页分享样式 */
.article-share {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.article-share-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

/* 移动端文章分享 */
.m-article-share {
    margin: 20px 0;
    padding: 15px 0;
    background: #f8f9fa;
    border-radius: 8px;
}

.m-article-share-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
}

.m-social-share {
    display: flex;
    justify-content: space-around;
    padding: 0 10px;
}

.m-social-share-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    text-decoration: none;
    color: #666;
    font-size: 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.m-social-share-item:hover {
    background: rgba(0,0,0,0.05);
    color: #333;
    text-decoration: none;
}

.m-social-share-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

/* 移动端分享面板 */
.mobile-share-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
}

.mobile-share-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.mobile-share-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.mobile-share-panel.show .mobile-share-content {
    transform: translateY(0);
}

.mobile-share-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.mobile-share-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.mobile-share-close:hover {
    background: #f5f5f5;
    color: #666;
}

.mobile-share-body {
    padding: 20px 0;
}

.mobile-share-panel.show {
    display: block;
}

/* 移动端分享图标颜色 */
#mobile-social-share .m-social-share-item:nth-child(1) { color: #07c160; } /* 微信 */
#mobile-social-share .m-social-share-item:nth-child(2) { color: #e6162d; } /* 微博 */
#mobile-social-share .m-social-share-item:nth-child(3) { color: #12b7f5; } /* QQ */
#mobile-social-share .m-social-share-item:nth-child(4) { color: #ffc20e; } /* QQ空间 */
#mobile-social-share .m-social-share-item:nth-child(5) { color: #007722; } /* 豆瓣 */
#mobile-social-share .m-social-share-item:nth-child(6) { color: #3385ff; } /* 贴吧 */
#mobile-social-share .m-social-share-item:nth-child(7) { color: #666; } /* 复制链接 */
