/* ===== 面包屑 ===== */
.breadcrumb-nav {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 16px;
}

.breadcrumb-nav a {
    color: #4a6cf7;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-nav .separator {
    margin: 0 8px;
    color: #d0d7de;
}

/* ===== 文章卡片 ===== */
.article-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 40px;
    border: 1px solid #eef2f6;
}

.article-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.4;
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #94a3b8;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef2f6;
    margin-bottom: 20px;
}

.article-meta .source {
    color: #4a6cf7;
    font-weight: 500;
}

.article-meta .source i {
    margin-right: 4px;
}

.article-meta .divider {
    color: #d0d7de;
}

.article-meta .views i {
    margin-right: 4px;
}

.article-meta .category-badge {
    background: #eef2ff;
    color: #4a6cf7;
    padding: 2px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.article-meta .important-badge {
    background: #fee2e2;
    color: #dc2626;
    padding: 2px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.article-meta .edit-badge {
    background: #e9ecef;
    color: #6c757d;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
}

.article-meta .update-time {
    font-size: 0.75rem;
    color: #adb5bd;
}

.btn-favorite {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-favorite:hover {
    color: #f59e0b;
}

.btn-favorite .fas.fa-star.text-warning {
    color: #f59e0b;
}

.btn-edit-toggle {
    background: none;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    cursor: pointer;
    font-size: 0.8rem;
    padding: 2px 12px;
    border-radius: 20px;
    transition: 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-edit-toggle:hover {
    background: #eef2ff;
    border-color: #4a6cf7;
    color: #4a6cf7;
}

/* ===== 文章内容 ===== */
.article-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #1e293b;
}

.article-content p {
    margin-bottom: 16px;
}

.article-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 16px 0;
}

.article-content blockquote {
    border-left: 4px solid #4a6cf7;
    padding-left: 16px;
    margin: 16px 0;
    color: #475569;
    background: #f8fafc;
    padding: 12px 20px;
    border-radius: 8px;
}

/* VIP / SVIP 标签样式 */
.article-content .vip-content {
    border-left: 4px solid #28a745;
    padding: 12px 16px;
    margin: 10px 0;
    background: #f0fff4;
    border-radius: 8px;
}

.article-content .vip-locked {
    border-left: 4px solid #ffc107;
    padding: 12px 16px;
    margin: 10px 0;
    background: #fff8e1;
    border-radius: 8px;
}

.article-content .svip-content {
    border-left: 4px solid #8b5cf6;
    padding: 12px 16px;
    margin: 10px 0;
    background: #f3e8ff;
    border-radius: 8px;
}

.article-content .svip-locked {
    border-left: 4px solid #8b5cf6;
    padding: 12px 16px;
    margin: 10px 0;
    background: #f3e8ff;
    border-radius: 8px;
}

.article-content .reply-content {
    border-left: 4px solid #4a6cf7;
    padding: 12px 16px;
    margin: 10px 0;
    background: #f0f4ff;
    border-radius: 8px;
}

.article-content .reply-locked {
    border-left: 4px solid #4a6cf7;
    padding: 12px 16px;
    margin: 10px 0;
    background: #f0f7ff;
    border-radius: 8px;
}

.article-content .login-content {
    border-left: 4px solid #28a745;
    padding: 12px 16px;
    margin: 10px 0;
    background: #f0fff4;
    border-radius: 8px;
}

.article-content .login-locked {
    border-left: 4px solid #6c757d;
    padding: 12px 16px;
    margin: 10px 0;
    background: #f8f9fa;
    border-radius: 8px;
}

/* ===== 文件列表 ===== */
.files-section {
    margin: 16px 0;
    padding: 16px 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #eef2f6;
}

.files-section .file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-bottom: 6px;
}

.files-section .file-item:last-child {
    margin-bottom: 0;
}

.files-section .file-item .file-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.files-section .file-item .file-info i {
    color: #4a6cf7;
    font-size: 1.2rem;
}

.files-section .file-item .file-info .file-name {
    font-size: 0.9rem;
}

.files-section .file-item .file-info .file-size {
    font-size: 0.75rem;
    color: #94a3b8;
}

.coin-price-badge {
    background: #fef3c7;
    color: #d97706;
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 8px;
}

/* ===== 来源链接 ===== */
.source-link {
    margin: 20px 0 16px 0;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #475569;
}

.source-link a {
    color: #4a6cf7;
    text-decoration: none;
}

.source-link a:hover {
    text-decoration: underline;
}

/* ===== 分享 ===== */
.share-section {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
    margin: 16px 0 20px 0;
}

.share-section .share-label {
    font-size: 0.85rem;
    color: #94a3b8;
}

.share-section .share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    transition: 0.2s;
}

.share-section .share-btn:hover {
    transform: scale(1.1);
}

.share-section .share-btn.twitter {
    background: #1da1f2;
}

.share-section .share-btn.weibo {
    background: #e6162d;
}

.share-section .share-btn.wechat {
    background: #07c160;
}

.share-section .share-btn.copy {
    background: #64748b;
}

/* ===== 作者信息 ===== */
.author-info {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #eef2f6;
    margin-bottom: 20px;
}

.author-info .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #4a6cf7;
    font-size: 1.2rem;
}

.author-info .author-name {
    font-weight: 600;
    color: #1a1a2e;
}

.author-info .author-desc {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* ===== 标签 ===== */
.tag-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 16px 0 20px 0;
}

.tag-list .tag {
    background: #f1f4f9;
    color: #4a5568;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: 0.2s;
}

.tag-list .tag:hover {
    background: #e2e8f0;
    color: #4a6cf7;
}

/* ===== 评论 ===== */
.comment-section {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #eef2f6;
}

.comment-section .section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 16px;
}

.comment-section .section-title .count {
    color: #94a3b8;
    font-weight: 400;
    font-size: 0.9rem;
}

.comment-item {
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-item .comment-author {
    font-weight: 600;
    color: #1a1a2e;
}

.comment-item .comment-time {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-left: 12px;
}

.comment-item .comment-content {
    margin-top: 4px;
    color: #475569;
}

.comment-form textarea {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 12px 16px;
    resize: vertical;
    transition: 0.2s;
}

.comment-form textarea:focus {
    border-color: #4a6cf7;
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
}

.comment-form .btn-submit {
    background: #4a6cf7;
    border: none;
    border-radius: 40px;
    padding: 8px 32px;
    font-weight: 500;
    transition: 0.2s;
}

.comment-form .btn-submit:hover {
    background: #3b5de7;
    transform: translateY(-1px);
}

.empty-comment {
    color: #94a3b8;
    font-size: 0.9rem;
    padding: 8px 0;
}

/* ===== 相关文章 ===== */
.related-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eef2f6;
}

.related-section .related-title {
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
    font-size: 1rem;
}

.related-section .related-item {
    display: block;
    padding: 6px 0;
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
}

.related-section .related-item:hover {
    color: #4a6cf7;
}

.related-section .related-item .arrow {
    color: #94a3b8;
    margin-right: 8px;
}

/* ===== 返回顶部 ===== */
.back-top {
    display: inline-block;
    margin-top: 24px;
    color: #4a6cf7;
    text-decoration: none;
    font-size: 0.9rem;
}

.back-top:hover {
    text-decoration: underline;
}

/* ===== 音频播放器 ===== */
.audio-player audio {
    max-width: 100%;
}

.audio-file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0;
    font-size: 0.85rem;
    color: #6c757d;
}

.audio-file-info i {
    color: #4a6cf7;
}

.audio-file-info .file-name {
    font-weight: 500;
}

.audio-download-btn {
    margin-left: auto;
}

/* ===== 文章页响应式 ===== */
@media (max-width: 992px) {
    .article-card {
        padding: 20px;
    }

    .article-title {
        font-size: 1.3rem;
    }

    .files-section .file-item {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
}

@media (max-width: 576px) {
    .article-meta {
        font-size: 0.78rem;
        gap: 10px;
    }

    .article-content {
        font-size: 0.95rem;
    }

    .share-section .share-label {
        display: none;
    }
}