.article-detail { max-width: 880px; margin: 0 auto; }
    .article-detail h1 { font-size: 26px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
    .article-detail .meta { font-size: 13px; color: #999; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid #f0f0f0; }
    .article-detail .meta span { margin-right: 14px; }
    .article-detail .meta a { color: #999; text-decoration: none; margin-right: 6px; }
    .article-detail .meta a:hover { color: #1a1a1a; }
    .article-detail .content { font-size: 16px; line-height: 1.9; color: #222; }
    .article-detail .content img { max-width: 100%; height: auto; margin: 16px 0; }
    .article-detail .content p { margin-bottom: 14px; }
    .article-detail .content h1,
    .article-detail .content h2,
    .article-detail .content h3 { font-weight: 600; margin-top: 28px; margin-bottom: 12px; line-height: 1.4; }
    .article-detail .content h1 { font-size: 22px; }
    .article-detail .content h2 { font-size: 19px; border-bottom: 1px solid #f0f0f0; padding-bottom: 6px; }
    .article-detail .content h3 { font-size: 17px; }
    .article-detail .content ul,
    .article-detail .content ol { margin: 10px 0 14px 24px; }
    .article-detail .content li { margin-bottom: 4px; }
    .article-detail .content blockquote { margin: 14px 0; padding: 8px 16px; border-left: 3px solid #1a1a1a; background: #fafafa; color: #555; font-size: 14px; }
    .article-detail .content code { background: #f4f4f4; padding: 2px 6px; font-size: 13px; font-family: "SF Mono", Menlo, Consolas, monospace; border-radius: 2px; }
    .article-detail .content pre { background: #1a1a1a; color: #e8e8e8; padding: 14px 16px; overflow-x: auto; margin: 14px 0; font-size: 13px; line-height: 1.6; border-radius: 2px; }
    .article-detail .content pre code { background: none; padding: 0; color: inherit; }
    .article-detail .content table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
    .article-detail .content th,
    .article-detail .content td { border: 1px solid #e5e5e5; padding: 8px 12px; text-align: left; }
    .article-detail .content th { background: #fafafa; font-weight: 600; }
    .article-detail .content hr { border: none; border-top: 1px solid #f0f0f0; margin: 24px 0; }

    .actions { margin-bottom: 24px; display: flex; gap: 10px; }
    .actions a, .actions button { padding: 6px 16px; font-size: 13px; border: 1px solid #1a1a1a; background: #fff; color: #1a1a1a; text-decoration: none; cursor: pointer; font-family: inherit; }
    .actions a:hover, .actions button:hover { background: #1a1a1a; color: #fff; }
    .actions button.btn-del { border-color: #d93025; color: #d93025; }
    .actions button.btn-del:hover { background: #d93025; color: #fff; }

    .content-extras { margin-top: 32px; display: grid; gap: 24px; }

    .extras-card { border: 1px solid #eaeaea; border-radius: 6px; overflow: hidden; background: #fff; }
    .extras-card-head { display: flex; align-items: center; gap: 8px; padding: 12px 18px; background: #fafafa; border-bottom: 1px solid #eaeaea; font-size: 13px; font-weight: 600; color: #333; }
    .extras-card-head .count { font-weight: 400; color: #999; margin-left: 2px; }
    .extras-card-head .card-icon { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; border-radius: 3px; color: #fff; }
    .extras-card-head .icon-img { background: #5c5c5c; }
    .extras-card-head .icon-file { background: #8a6d3b; }
    .extras-card-body { padding: 16px 18px; }

    .gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
    .gallery .thumb { display: block; cursor: zoom-in; }
    .gallery .thumb img { width: 100%; height: auto; border: 1px solid #e5e5e5; border-radius: 3px; transition: opacity .15s; display: block; }
    .gallery .thumb:hover img { opacity: .85; }
    .gallery .thumb p { font-size: 12px; color: #999; margin-top: 6px; }

    .file-list ul { list-style: none; padding: 0; margin: 0; }
    .file-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #eee; border-radius: 4px; margin-bottom: 8px; transition: background .15s; }
    .file-list li:last-child { margin-bottom: 0; }
    .file-list li:hover { background: #fafafa; }
    .file-list a.file-link { flex: 1; font-size: 14px; color: #1a1a1a; text-decoration: none; font-weight: 500; }
    .file-list a.file-link:hover { text-decoration: underline; }
    .file-list .file-meta { font-size: 12px; color: #999; white-space: nowrap; }
    .file-list .file-ext { font-size: 11px; color: #fff; background: #1a1a1a; padding: 3px 8px; border-radius: 2px; text-transform: uppercase; letter-spacing: .5px; flex-shrink: 0; min-width: 40px; text-align: center; }

    .lightbox {
        position: fixed; inset: 0;
        background: rgba(0,0,0,.88);
        display: none;
        align-items: center; justify-content: center;
        z-index: 1000;
        animation: fadeIn .2s ease;
    }
    .lightbox.active { display: flex; }
    @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
    .lightbox img {
        max-width: 92vw; max-height: 88vh;
        object-fit: contain;
        box-shadow: 0 8px 32px rgba(0,0,0,.4);
    }
    .lightbox .lb-close {
        position: absolute; top: 20px; right: 24px;
        width: 40px; height: 40px;
        border: none; background: rgba(255,255,255,.15);
        color: #fff; font-size: 22px; line-height: 1;
        cursor: pointer; border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        transition: background .15s;
    }
    .lightbox .lb-close:hover { background: rgba(255,255,255,.3); }

    .back { display: inline-block; margin-bottom: 20px; font-size: 13px; color: #999; text-decoration: none; }
    .back:hover { color: #1a1a1a; }

    .related-good-bar { margin: 36px 0 24px; text-align: center; }
    .related-good-bar a { display: inline-block; padding: 18px 48px; font-size: 20px; font-weight: 700; color: #1a1a1a; background: linear-gradient(135deg, #ffe066, #ffc940); border: 2px solid #32e600; border-radius: 8px; text-decoration: none; box-shadow: 0 4px 14px rgba(230, 168, 0, .25); transition: transform .15s, box-shadow .15s; }
    .related-good-bar a:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(230, 168, 0, .35); }