/* 全局重置与字体，与列表页一致 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            background-color: #f9fafc;
            color: #1e293b;
            line-height: 1.7;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
            width: 100%;
        }

        /* 头部样式（与列表页相同） */
        .site-header {
            background-color: #ffffff;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
            padding: 24px 0;
            border-bottom: 1px solid #eef2f6;
            margin-bottom: 48px;
        }

        .site-header .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 16px;
        }

        .logo a {
            font-size: 2rem;
            font-weight: 700;
            text-decoration: none;
            color: #0f172a;
            letter-spacing: -0.02em;
            background: linear-gradient(135deg, #2563eb, #7c3aed);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .logo span {
            background: #eef2f6;
            padding: 4px 12px;
            border-radius: 40px;
            font-size: 0.9rem;
            font-weight: 400;
            margin-left: 8px;
            color: #475569;
            -webkit-text-fill-color: #475569;
        }

        .nav-links {
            display: flex;
            gap: 32px;
        }

        .nav-links a {
            text-decoration: none;
            color: #334155;
            font-weight: 500;
            font-size: 1.1rem;
            transition: color 0.2s;
            border-bottom: 2px solid transparent;
            padding-bottom: 4px;
        }

        .nav-links a:hover {
            color: #2563eb;
            border-bottom-color: #2563eb;
        }

        /* 页脚样式 */
        .site-footer {
            margin-top: 60px;
            background-color: #ffffff;
            border-top: 1px solid #eef2f6;
            padding: 32px 0;
            text-align: center;
            color: #64748b;
            font-size: 0.95rem;
        }

        /* 文章页专属样式 */
        .post-wrapper {
            background: #ffffff;
            border-radius: 32px;
            padding: 52px 56px;
            box-shadow: 0 15px 40px -12px rgba(0,0,0,0.08);
            border: 1px solid #edf2f9;
        }

        #post-title {
            font-size: 2.8rem;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 20px;
            color: #0f172a;
            letter-spacing: -0.01em;
        }

        #post-date {
            display: inline-block;
            background: #f1f5f9;
            padding: 8px 24px;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: 500;
            color: #334155;
            margin-bottom: 40px;
            border: 1px solid #e2e8f0;
        }

        #post-content {
            font-size: 1.15rem;
            color: #1e293b;
            border-top: 2px dashed #e2e8f0;
            padding-top: 48px;
        }

        #post-content p {
            margin-bottom: 1.8em;
        }

        #post-content h2, #post-content h3 {
            margin: 2.2em 0 1em 0;
            font-weight: 600;
            color: #0f172a;
        }

        #post-content h2 {
            font-size: 2rem;
            border-left: 6px solid #2563eb;
            padding-left: 20px;
        }

        #post-content h3 {
            font-size: 1.5rem;
        }

        #post-content pre {
            background: #0f172a;
            color: #e2e8f0;
            padding: 24px;
            border-radius: 20px;
            overflow-x: auto;
            font-size: 0.95rem;
            margin: 32px 0;
        }

        #post-content code {
            font-family: 'JetBrains Mono', 'Fira Code', monospace;
            background: #ecfdf5;
            color: #065f46;
            padding: 4px 10px;
            border-radius: 8px;
            font-size: 0.9em;
        }

        #post-content blockquote {
            border-left: 4px solid #2563eb;
            background: #f8fafd;
            padding: 20px 28px;
            border-radius: 16px;
            margin: 28px 0;
            font-style: italic;
            color: #334155;
        }

        /* 上一篇/下一篇导航 */
        .post-navigation {
            display: flex;
            justify-content: space-between;
            margin-top: 56px;
            padding-top: 32px;
            border-top: 2px solid #eef2f6;
            gap: 24px;
        }
        .post-navigation .prev,
        .post-navigation .next {
            flex: 1;
        }
        .post-navigation .next {
            text-align: right;
        }
        .post-navigation a,
        .post-navigation span {
            display: inline-block;
            padding: 12px 24px;
            background-color: #f8fafc;
            border: 2px solid #e2e8f0;
            border-radius: 50px;
            color: #1e293b;
            text-decoration: none;
            font-size: 1rem;
            font-weight: 500;
            transition: all 0.2s;
            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .post-navigation a:hover {
            background-color: #2563eb;
            border-color: #2563eb;
            color: white;
        }
        .post-navigation span.disabled {
            background-color: #f1f5f9;
            color: #94a3b8;
            border-color: #e2e8f0;
            cursor: not-allowed;
        }

        /* 返回列表链接 */
        .back-link {
            margin-top: 40px;
            text-align: center;
        }
        .back-link a {
            display: inline-block;
            background: #f1f5f9;
            border: 2px solid #e2e8f0;
            border-radius: 50px;
            padding: 14px 38px;
            color: #1e293b;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.2s;
            font-size: 1.05rem;
        }
        .back-link a:hover {
            background: #2563eb;
            border-color: #2563eb;
            color: white;
        }

        /* 响应式 */
        @media (max-width: 768px) {
            .post-wrapper {
                padding: 32px 28px;
            }
            #post-title {
                font-size: 2.2rem;
            }
            .post-navigation {
                flex-direction: column;
                align-items: stretch;
                gap: 16px;
            }
            .post-navigation .next {
                text-align: left;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 16px;
            }
            .post-wrapper {
                padding: 24px 20px;
            }
            #post-title {
                font-size: 1.8rem;
            }
            .back-link a {
                padding: 12px 28px;
                font-size: 0.95rem;
            }
        }