/* ========== 内容页样式 ========== */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(255, 255, 255, 0.4);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        }
        
        .header-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .logo-link {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--slate-800);
            text-decoration: none;
        }
        
        .logo-icon {
            color: var(--blue-500);
        }
        
        .header-nav {
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }
        
        .nav-link {
            color: var(--slate-600);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.2s;
        }
        
        .nav-link:hover {
            color: var(--blue-500);
        }

        .nav-link i {
            margin-right: 0.25rem;
            opacity: 0.7;
        }

        /* 移动端菜单按钮 */
        .mobile-menu-btn {
            display: none;
            background: rgba(255,255,255,0.6);
            border: 1px solid rgba(255,255,255,0.5);
            border-radius: 0.5rem;
            padding: 0.5rem 0.75rem;
            color: var(--slate-700);
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.2s;
        }

        .mobile-menu-btn:hover {
            background: #3b82f6;
            color: white;
        }

        .mobile-nav {
            display: none;
            flex-direction: column;
            padding: 0.75rem 1.25rem;
            background: rgba(255,255,255,0.8);
            border-top: 1px solid rgba(255,255,255,0.3);
        }

        .mobile-nav.open {
            display: flex;
        }

        .mobile-nav-link {
            padding: 0.75rem 0;
            color: var(--slate-700);
            text-decoration: none;
            font-weight: 600;
            font-size: 1rem;
            border-bottom: 1px solid rgba(255,255,255,0.3);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .mobile-nav-link:last-child {
            border-bottom: none;
        }

        @media (max-width: 768px) {
            .header-nav {
                display: none;
            }
            .mobile-menu-btn {
                display: flex;
            }
        }

        .content-wrapper {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1.5rem 1rem;
            position: relative;
            z-index: 10;
        }
        
        /* 面包屑 */
        .breadcrumb {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.875rem 1.25rem;
            margin-bottom: 1.5rem;
            font-size: 0.875rem;
            color: var(--slate-600);
            flex-wrap: wrap;
        }
        
        .breadcrumb a {
            color: var(--slate-600);
            text-decoration: none;
            transition: color 0.2s;
        }
        
        .breadcrumb a:hover {
            color: var(--blue-500);
        }
        
        .breadcrumb .separator {
            color: var(--slate-400);
            font-size: 0.75rem;
        }
        
        .breadcrumb .current {
            color: var(--blue-500);
            font-weight: 600;
            max-width: 200px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        /* 主布局 */
        .article-layout {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        
        @media (min-width: 1024px) {
            .article-layout {
                flex-direction: row;
                align-items: flex-start;
            }
            
            .article-main {
                flex: 1;
                min-width: 0;
            }
            
            .sidebar {
                width: 300px;
                flex-shrink: 0;
                position: sticky;
                top: 5rem;
            }
        }
        
        /* 文章详情卡片 */
        .article-detail {
            padding: 2rem;
            margin-bottom: 1.5rem;
        }
        
        /* 文章头部 */
        .detail-header {
            margin-bottom: 2rem;
        }
        
        .detail-meta {
            display: flex;
            align-items: center;
            gap: 1.25rem;
            margin-bottom: 1.25rem;
            flex-wrap: wrap;
        }
        
        .meta-tag {
            display: flex;
            align-items: center;
            gap: 0.375rem;
            font-size: 0.8rem;
            color: var(--slate-500);
            font-weight: 500;
        }
        
        .meta-tag i {
            font-size: 0.75rem;
        }
        
        .detail-title {
            font-size: 1.875rem;
            font-weight: 800;
            color: var(--slate-800);
            line-height: 1.3;
            margin-bottom: 1rem;
            background: linear-gradient(to right, var(--slate-800), var(--blue-500));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .detail-lead {
            font-size: 1rem;
            color: var(--slate-600);
            line-height: 1.7;
            margin-bottom: 1.25rem;
            padding: 1rem 1.25rem;
            background: rgba(255, 255, 255, 0.4);
            border-left: 4px solid var(--blue-400);
            border-radius: 0 8px 8px 0;
        }
        
        .detail-author {
            display: flex;
            align-items: center;
            gap: 0.625rem;
        }
        
        .author-avatar {
            width: 2.25rem;
            height: 2.25rem;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--blue-400), var(--sky-400));
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
        }
        
        .author-name {
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--slate-700);
        }
        
        /* 文章正文 */
        .detail-body {
            line-height: 1.9;
            color: var(--slate-700);
            margin-bottom: 2rem;
        }
        
        .detail-body h2 {
            font-size: 1.375rem;
            font-weight: 700;
            color: var(--slate-800);
            margin: 2rem 0 1rem;
            padding-left: 1rem;
            border-left: 4px solid var(--blue-400);
        }
        
        .detail-body h3 {
            font-size: 1.125rem;
            font-weight: 600;
            color: var(--slate-800);
            margin: 1.5rem 0 0.75rem;
        }
        
        .detail-body p {
            margin-bottom: 1rem;
            font-size: 0.95rem;
        }
        
        .detail-body ul,
        .detail-body ol {
            margin: 1rem 0 1.25rem 1.5rem;
            line-height: 1.8;
        }
        
        .detail-body li {
            margin-bottom: 0.375rem;
        }
        
        .detail-body blockquote {
            border-left: 4px solid var(--blue-400);
            background: rgba(255, 255, 255, 0.5);
            padding: 1rem 1.25rem;
            margin: 1.25rem 0;
            border-radius: 0 8px 8px 0;
            color: var(--slate-600);
        }
        
        .detail-body code {
            background: rgba(255, 255, 255, 0.6);
            padding: 2px 6px;
            border-radius: 4px;
            font-family: 'Monaco', 'Menlo', monospace;
            font-size: 0.875em;
        }
        
        .detail-body pre {
            background: #1e293b;
            color: #e2e8f0;
            padding: 1.25rem;
            border-radius: 12px;
            overflow-x: auto;
            margin: 1.25rem 0;
        }
        
        .detail-body pre code {
            background: none;
            color: inherit;
        }
        
        .detail-body img {
            max-width: 100%;
            border-radius: 12px;
            margin: 1.25rem 0;
            box-shadow: 0 8px 24px rgba(59, 130, 246, 0.1);
        }
        
        .detail-body table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.25rem 0;
        }
        
        .detail-body th,
        .detail-body td {
            border: 1px solid rgba(255, 255, 255, 0.4);
            padding: 0.625rem 0.875rem;
            text-align: left;
        }
        
        .detail-body th {
            background: rgba(255, 255, 255, 0.4);
            font-weight: 600;
        }
        
        /* 标签 */
        .detail-tags {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 1rem 0;
            border-top: 1px solid rgba(255, 255, 255, 0.4);
            border-bottom: 1px solid rgba(255, 255, 255, 0.4);
            flex-wrap: wrap;
        }
        
        .detail-tags i {
            color: var(--blue-400);
        }
        
        .tag-btn {
            display: inline-flex;
            align-items: center;
            padding: 0.3rem 0.875rem;
            border-radius: 9999px;
            font-size: 0.8rem;
            font-weight: 600;
            background: rgba(59, 130, 246, 0.1);
            color: var(--blue-600);
            text-decoration: none;
            border: 1px solid rgba(59, 130, 246, 0.2);
            transition: all 0.2s;
        }
        
        .tag-btn:hover {
            background: var(--blue-500);
            color: white;
            border-color: var(--blue-500);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
        }
        
        /* 版权声明 */
        .detail-copyright {
            display: flex;
            align-items: flex-start;
            gap: 0.625rem;
            padding: 1rem 1.25rem;
            margin-top: 1.25rem;
            border-radius: 10px;
            background: rgba(59, 130, 246, 0.06);
            border: 1px dashed rgba(59, 130, 246, 0.2);
            font-size: 0.825rem;
            color: var(--slate-500);
            line-height: 1.6;
        }
        
        .detail-copyright i {
            color: var(--blue-400);
            flex-shrink: 0;
            margin-top: 0.125rem;
        }
        
        /* 上一篇/下一篇 */
        .detail-nav {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin-top: 1.5rem;
        }
        
        .nav-item {
            padding: 1rem;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.25);
        }
        
        .nav-label {
            display: flex;
            align-items: center;
            gap: 0.375rem;
            font-size: 0.75rem;
            color: var(--slate-400);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 0.5rem;
        }
        
        .nav-title {
            display: block;
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--slate-700);
            text-decoration: none;
            line-height: 1.4;
            transition: color 0.2s;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .nav-title:hover {
            color: var(--blue-500);
        }
        
        .nav-empty {
            font-size: 0.875rem;
            color: var(--slate-400);
        }
        
        /* 相关文章 */
        .related-section {
            margin-top: 0.5rem;
        }
        
        .related-header {
            display: flex;
            align-items: center;
            gap: 0.625rem;
            font-size: 1rem;
            font-weight: 700;
            color: var(--slate-700);
            margin-bottom: 1rem;
        }
        
        .related-icon {
            color: var(--blue-400);
        }
        
        .related-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            gap: 1rem;
        }
        
        .related-card {
            display: block;
            text-decoration: none;
            padding: 1rem;
            transition: all 0.3s ease;
        }
        
        .related-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 16px 48px rgba(59, 130, 246, 0.15);
        }
        
        .related-cover {
            width: 100%;
            height: 140px;
            border-radius: 10px;
            overflow: hidden;
            margin-bottom: 0.75rem;
        }
        
        .related-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        
        .related-card:hover .related-cover img {
            transform: scale(1.05);
        }
        
        .related-title {
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--slate-700);
            line-height: 1.4;
            margin-bottom: 0.375rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .related-meta {
            display: flex;
            align-items: center;
            gap: 0.375rem;
            font-size: 0.75rem;
            color: var(--slate-400);
        }
        
        /* 侧边栏 */
        .sidebar-card {
            margin-bottom: 1.25rem;
            padding: 1.25rem;
        }
        
        .sidebar-header {
            display: flex;
            align-items: center;
            gap: 0.625rem;
            font-size: 0.9rem;
            font-weight: 700;
            color: var(--slate-700);
            margin-bottom: 1rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.4);
        }
        
        .sidebar-icon {
            color: var(--blue-400);
        }
        
        .sidebar-list {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        
        .sidebar-item {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
            padding: 0.625rem;
            border-radius: 0.75rem;
            background: rgba(255, 255, 255, 0.25);
            text-decoration: none;
            transition: all 0.2s;
        }
        
        .sidebar-item:hover {
            background: rgba(255, 255, 255, 0.5);
            transform: translateX(4px);
        }
        
        .item-title {
            font-size: 0.825rem;
            font-weight: 600;
            color: var(--slate-700);
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .item-meta {
            display: flex;
            align-items: center;
            gap: 0.25rem;
            font-size: 0.7rem;
            color: var(--slate-400);
            font-weight: 500;
        }
        
        .empty-text {
            font-size: 0.8rem;
            color: var(--slate-400);
            text-align: center;
            padding: 0.5rem 0;
        }
        
        /* 作者卡片 */
        .author-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 0.5rem;
        }
        
        .author-avatar-lg {
            width: 4rem;
            height: 4rem;
            border-radius: 50%;
            overflow: hidden;
            border: 3px solid rgba(59, 130, 246, 0.2);
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
        }
        
        .author-avatar-lg img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .author-name {
            font-size: 0.9rem;
            font-weight: 700;
            color: var(--slate-700);
        }
        
        .author-bio {
            font-size: 0.8rem;
            color: var(--slate-500);
            line-height: 1.5;
        }
        
        /* 响应式 */
        @media (max-width: 640px) {
            .article-detail {
                padding: 1.25rem;
            }
            
            .detail-title {
                font-size: 1.375rem;
            }
            
            .detail-nav {
                grid-template-columns: 1fr;
            }
            
            .header-nav {
                display: none;
            }
        }

