/* 文章页整体：卡片容器 */
    .detail-card {
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(0,0,0,.06);
        overflow: hidden;
        border: 1px solid rgba(0,0,0,.06);
    }
    .detail-card .card-body { padding: 1.75rem 1.5rem; }
    @media (min-width: 768px) {
        .detail-card .card-body { padding: 2rem 2.25rem; }
    }

    /* 标题区 */
    .blog-post-title {
        font-size: 1.5rem;
        font-weight: 600;
        color: #1a1a1a;
        line-height: 1.35;
        margin-bottom: 0;
    }
    @media (min-width: 768px) {
        .blog-post-title { font-size: 1.75rem; }
    }

    /* 音频控制区 */
    .audio-controls {
        background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
        border-radius: 10px;
        padding: 0.75rem 1rem;
        border: 1px solid rgba(0,0,0,.06);
    }
    .audio-controls audio { max-width: 100%; height: 40px; }
    .audio-controls .btn-success {
        border-radius: 8px;
        font-weight: 500;
    }

    /* 元信息栏 */
    .detail-meta {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.5rem 1rem;
        color: #5c5c5c;
        font-size: 0.9rem;
    }
    .detail-meta a { color: #5c5c5c; }
    .detail-meta a:hover { color: #0d6efd; }
    .detail-meta .meta-dot { color: #ccc; margin: 0 0.25rem; }
    .detail-meta .favorite-link { margin-left: auto; }

    /* 标签 */
    .detail-tags .badge {
        font-weight: 500;
        padding: 0.35em 0.65em;
        border-radius: 6px;
    }

    /* 正文图片区 */
    .detail-images {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin: 1rem 0;
    }
    .detail-images img {
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,.08);
        max-height: 280px;
        object-fit: cover;
    }

    /* 正文内容 */
    .blog-post img { max-width: 100%; height: auto; border-radius: 6px; }
    .blog-post pre {
        white-space: pre-wrap;
        word-wrap: break-word;
        overflow-x: auto;
        background: #f6f8fa;
        padding: 1rem;
        border-radius: 8px;
        border: 1px solid #e8eaed;
    }
    .blog-post table {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        display: block;
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid #e8eaed;
    }
    .blog-post code {
        word-wrap: break-word;
        white-space: pre-wrap;
        background: #f6f8fa;
        padding: 0.2em 0.4em;
        border-radius: 4px;
        font-size: 0.9em;
    }
    .blog-post .article-body {
        line-height: 1.85;
        word-wrap: break-word;
        color: #333;
    }
    /* 字体大小：默认大 */
    .blog-post .article-body.font-size-large { font-size: 1.125rem; }
    .blog-post .article-body.font-size-medium { font-size: 1rem; }
    .blog-post .article-body.font-size-small { font-size: 0.875rem; }
    .blog-post .article-body p { margin-bottom: 0.85em; }
    .blog-post .article-body p:last-child { margin-bottom: 0; }
    .blog-post .article-body br { display: block; content: ""; margin-bottom: 0.25em; }
    .blog-post .article-body h1, .blog-post .article-body h2, .blog-post .article-body h3 {
        margin-top: 1.1em;
        margin-bottom: 0.5em;
        color: #1a1a1a;
    }

    /* 文章底部信息 */
    .detail-footer {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding-top: 1rem;
        margin-top: 1rem;
        border-top: 1px solid #eee;
        font-size: 0.875rem;
        color: #6c757d;
    }
    .detail-footer .btn { border-radius: 8px; }

    /* 评论区 */
    .comments-section {
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(0,0,0,.06);
        border: 1px solid rgba(0,0,0,.06);
        padding: 1.5rem 1.5rem;
        margin-top: 2rem;
    }
    @media (min-width: 768px) {
        .comments-section { padding: 1.75rem 2rem; }
    }
    .comments-title {
        font-size: 1.15rem;
        font-weight: 600;
        color: #1a1a1a;
        margin-bottom: 1.25rem;
        padding-bottom: 0.75rem;
        border-bottom: 2px solid #f0f0f0;
    }
    .comment-item {
        display: flex;
        gap: 1rem;
        padding: 1rem 0;
        border-bottom: 1px solid #f0f0f0;
    }
    .comment-item:last-child { border-bottom: none; }
    .comment-avatar {
        flex-shrink: 0;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #eee;
    }
    .comment-body { flex: 1; min-width: 0; }
    .comment-author {
        font-weight: 600;
        color: #1a1a1a;
        margin-bottom: 0.25rem;
    }
    .comment-author small { font-weight: 400; color: #8c8c8c; }
    .comment-text { color: #444; font-size: 0.95rem; line-height: 1.6; }

    /* 评论表单 */
    .comment-form-box {
        background: #f8f9fa;
        border-radius: 10px;
        padding: 1.25rem;
        margin-top: 1.5rem;
        border: 1px solid #eee;
    }
    .comment-form-box .form-control {
        border-radius: 8px;
        border: 1px solid #dee2e6;
    }
    .comment-form-box .form-control:focus {
        border-color: #86b7fe;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
    }
    .comment-form-box .btn-primary { border-radius: 8px; font-weight: 500; }
    .comment-login-hint {
        text-align: center;
        padding: 1.5rem;
        color: #6c757d;
        background: #f8f9fa;
        border-radius: 10px;
    }
    .comment-login-hint a { font-weight: 500; }

    /* 正文字号切换 */
    .font-size-toolbar {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        margin-bottom: 0.75rem;
    }
    .font-size-toolbar span {
        color: #6c757d;
        font-size: 0.875rem;
        margin-right: 0.5rem;
    }
    .font-size-toolbar .btn-font {
        min-width: 2.25rem;
        padding: 0.25rem 0.5rem;
        font-size: 0.9rem;
        border-radius: 6px;
        border: 1px solid #dee2e6;
        background: #fff;
        color: #495057;
    }
    .font-size-toolbar .btn-font:hover {
        background: #f8f9fa;
        border-color: #adb5bd;
    }
    .font-size-toolbar .btn-font.active {
        background: #0d6efd;
        border-color: #0d6efd;
        color: #fff;
    }

    .audio-mini-bar { display: none; }
    body.has-mini-player { padding-bottom: 52px; }
