/* 公众号文章 样式 — 从 extras.css 拆分 */
/* --- 【全新】公众号样式 --- */
#public-articles-page .page-content {
    padding: 10px 0;
}
.article-list-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background-color 0.2s;
}
.article-list-item:hover {
    background-color: #f8f9fa;
}
.article-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
    background-color: #e9ecef;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
}
.article-info .title {
    font-weight: 600;
    margin-bottom: 5px;
}
.article-info .meta {
    font-size: 13px;
    color: var(--secondary-text);
}
.article-viewer-iframe {
    width: 100%;
    height: 100%;
    border: none;
}
/* ---【更新】公众号文章分享气泡 (杂志风格) --- */
.chat-bubble.bubble-article-share {
    background-color: var(--bg-color-primary); /* 使用更干净的底色 */
    border-radius: 8px; /* 稍微硬朗一点的圆角 */
    padding: 16px;
    max-width: 300px;
    cursor: pointer;
    border: none; /* 移除边框，依赖阴影 */
    box-shadow: 0 4px 16px rgba(0,0,0,0.08); /* 更柔和、弥散的阴影 */
    transition: all 0.2s ease-in-out;
}
.chat-bubble.bubble-article-share:hover {
    transform: translateY(-2px); /* 悬浮时轻微上移 */
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.article-share-title {
    font-family: Georgia, 'Songti SC', serif; /* 【核心】杂志风衬线字体 */
    font-weight: 600;
    font-size: 17px;
    line-height: 1.4;
    color: var(--primary-text);
    margin-bottom: 8px; /* 增加与摘要的间距 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.article-share-snippet {
    font-size: 14px;
    color: var(--secondary-text);
    line-height: 1.6; /* 增加行高，提升阅读舒适度 */
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 可以显示3行摘要 */
    line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}
.article-share-footer {
    position: relative; /* 为装饰线定位 */
    padding-top: 12px;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 500;
    color: var(--tertiary-text);
    text-transform: uppercase; /* 字母大写，更具设计感 */
    letter-spacing: 0.5px;
    border-top: none; /* 移除旧的顶部边框 */
}
/* 【核心】用伪元素创建一条精巧的装饰短线 */
.article-share-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: var(--accent-color); /* 使用主题强调色 */
    border-radius: 1px;
}
