
    :root {
        --primary-color: #3b82f6;
        --primary-light: #60a5fa;
        --primary-dark: #2563eb;
        --secondary-color: #f59e0b;
        --accent-color: #ec4899;
        --text-primary: #1f2937;
        --text-secondary: #6b7280;
        --text-muted: #9ca3af;
        --bg-primary: #ffffff;
        --bg-secondary: #f8fafc;
        --bg-accent: #f1f5f9;
        --border-color: #e2e8f0;
        --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
        --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
        --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, #f97316 100%);
        --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, #d946ef 100%);
        --gradient-bg: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
        line-height: 1.6;
        color: var(--text-primary);
        background: var(--bg-secondary);
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1rem;
    }

    /* 面包屑导航 */
    .breadcrumb-section {
        background: var(--bg-primary);
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
        position: sticky;
        top: 0;
        z-index: 100;
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.9);
    }

    .breadcrumb {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.9rem;
        color: var(--text-secondary);
    }

    .breadcrumb-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .breadcrumb-link {
        color: var(--text-secondary);
        text-decoration: none;
        padding: 0.5rem 0.75rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        font-weight: 500;
    }

    .breadcrumb-link:hover {
        color: var(--primary-color);
        background: rgba(59, 130, 246, 0.1);
        transform: translateY(-1px);
    }

    .breadcrumb-separator {
        color: var(--text-muted);
        font-size: 0.8rem;
    }

    .breadcrumb-current {
        color: var(--text-primary);
        font-weight: 600;
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* 文章主体 */
    .article-wrapper {
        min-height: 100vh;
        padding: 2rem 0;
    }

    .article-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 900px;
        margin: 0 auto;
    }

    .article-card {
        background: var(--bg-primary);
        border-radius: 20px;
        box-shadow: var(--shadow-xl);
        overflow: hidden;
        position: relative;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .article-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-primary);
        border-radius: 20px 20px 0 0;
    }

    /* 文章标题区域 */
    .article-header {
        padding: 3rem 3rem 1.5rem;
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(59, 130, 246, 0.05) 100%);
        border-bottom: 1px solid var(--border-color);
    }

    .article-title {
        font-size: 2.5rem;
        font-weight: 800;
        line-height: 1.2;
        color: var(--text-primary);
        margin-bottom: 1.5rem;
        background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
        -webkit-background-clip: text;
        /* -webkit-text-fill-color: transparent; */
        background-clip: text;
    }

    .article-meta {
        display: flex;
        align-items: center;
        gap: 2rem;
        flex-wrap: wrap;
        margin-bottom: 1rem;
    }

    .meta-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--text-secondary);
        font-size: 0.95rem;
        font-weight: 500;
        padding: 0.5rem 1rem;
        background: rgba(59, 130, 246, 0.1);
        border-radius: 12px;
        transition: all 0.3s ease;
    }

    .meta-item:hover {
        background: rgba(59, 130, 246, 0.15);
        transform: translateY(-2px);
    }

    .meta-item i {
        color: var(--primary-color);
        font-size: 1rem;
    }

    /* 文章内容 */
    .article-content {
        padding: 3rem;
    }

    .content-title {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 2rem;
        padding-bottom: 0.75rem;
        border-bottom: 2px solid var(--primary-color);
        background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
        -webkit-background-clip: text;
        /* -webkit-text-fill-color: transparent; */
        background-clip: text;
    }

    .content-body {
        font-size: 1.125rem;
        line-height: 1.8;
        color: var(--text-secondary);
        max-width: none;
    }

    .content-body h1,
    .content-body h2,
    .content-body h3,
    .content-body h4,
    .content-body h5,
    .content-body h6 {
        color: var(--text-primary);
        margin: 2rem 0 1rem;
        font-weight: 700;
        line-height: 1.3;
    }

    .content-body h1 {
        font-size: 2.25rem;
        border-bottom: 3px solid var(--primary-color);
        padding-bottom: 0.5rem;
    }

    .content-body h2 {
        font-size: 1.875rem;
        border-bottom: 2px solid var(--border-color);
        padding-bottom: 0.5rem;
    }

    .content-body h3 {
        font-size: 1.5rem;
        color: var(--primary-color);
    }

    .content-body h4 {
        font-size: 1.25rem;
    }

    .content-body p {
        margin-bottom: 1.5rem;
        text-align: justify;
    }

    .content-body strong,
    .content-body b {
        color: var(--text-primary);
        font-weight: 600;
    }

    .content-body em,
    .content-body i {
        font-style: italic;
    }

    .content-body a {
        color: var(--primary-color);
        text-decoration: none;
        border-bottom: 1px solid transparent;
        transition: all 0.3s ease;
        font-weight: 500;
    }

    .content-body a:hover {
        border-bottom-color: var(--primary-color);
        color: var(--primary-dark);
    }

    .content-body ul,
    .content-body ol {
        margin: 1.5rem 0;
        padding-left: 2rem;
    }

    .content-body li {
        margin-bottom: 0.5rem;
        line-height: 1.6;
    }

    .content-body li::marker {
        color: var(--primary-color);
    }

    .content-body img {
        max-width: 100%;
        height: auto;
        border-radius: 16px;
        margin: 2rem 0;
        box-shadow: var(--shadow-lg);
        transition: transform 0.3s ease;
    }

    .content-body img:hover {
        transform: scale(1.02);
    }

    .content-body blockquote {
        margin: 2rem 0;
        padding: 1.5rem 2rem;
        background: var(--bg-accent);
        border-left: 4px solid var(--primary-color);
        border-radius: 12px;
        font-style: italic;
        box-shadow: var(--shadow-sm);
    }

    .content-body code {
        background: var(--bg-accent);
        padding: 0.25rem 0.5rem;
        border-radius: 6px;
        font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', monospace;
        font-size: 0.9rem;
        color: var(--primary-color);
        border: 1px solid var(--border-color);
    }

    .content-body pre {
        background: var(--bg-accent);
        padding: 1.5rem;
        border-radius: 12px;
        overflow-x: auto;
        margin: 2rem 0;
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-sm);
    }

    .content-body pre code {
        background: transparent;
        padding: 0;
        border: none;
        color: var(--text-primary);
    }

    .content-body table {
        width: 100%;
        border-collapse: collapse;
        margin: 2rem 0;
        background: var(--bg-primary);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: var(--shadow-md);
    }

    .content-body th,
    .content-body td {
        padding: 1rem;
        text-align: left;
        border-bottom: 1px solid var(--border-color);
    }

    .content-body th {
        background: var(--bg-accent);
        font-weight: 600;
        color: var(--text-primary);
    }

    .content-body tr:hover {
        background: rgba(59, 130, 246, 0.02);
    }

    /* 标签区域 */
    .article-tags {
        padding: 2rem 3rem;
        border-top: 1px solid var(--border-color);
        background: var(--bg-accent);
    }

    .tags-title {
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 1.2rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .tags-title i {
        color: var(--primary-color);
    }

    .tags-list {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .tag-item {
        background: var(--gradient-primary);
        color: white;
        padding: 0.5rem 1rem;
        border-radius: 20px;
        text-decoration: none;
        font-size: 0.8rem;
        font-weight: 500;
        transition: all 0.3s ease;
        box-shadow: var(--shadow-sm);
        position: relative;
        overflow: hidden;
    }

    .tag-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s ease;
    }

    .tag-item:hover::before {
        left: 100%;
    }

    .tag-item:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: var(--shadow-lg);
    }

    /* 分享功能 */
    .article-share {
        padding: 2rem 3rem;
        border-top: 1px solid var(--border-color);
        background: var(--bg-primary);
    }

    .share-title {
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 1.2rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .share-title i {
        color: var(--primary-color);
    }

    .share-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        align-items: center;
    }

    .share-button {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        padding: 0.5rem 1rem;
        border-radius: 10px;
        text-decoration: none;
        font-size: 0.8rem;
        font-weight: 500;
        transition: all 0.3s ease;
        box-shadow: var(--shadow-sm);
        position: relative;
        overflow: hidden;
        cursor: pointer;
        border: none;
        font-family: inherit;
    }

    .share-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s ease;
    }

    .share-button:hover::before {
        left: 100%;
    }

    .share-button:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    .share-facebook {
        background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
        color: white;
    }

    .share-twitter {
        background: linear-gradient(135deg, #1da1f2 0%, #42a5f5 100%);
        color: white;
    }

    .share-linkedin {
        background: linear-gradient(135deg, #0077b5 0%, #42a5f5 100%);
        color: white;
    }

    .share-copy {
        background: linear-gradient(135deg, var(--text-secondary) 0%, var(--text-primary) 100%);
        color: white;
    }

    .share-copy.copied {
        background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    }

    .share-weibo {
        background: linear-gradient(135deg, #e6162d 0%, #ff4757 100%);
        color: white;
    }

    .share-wechat {
        background: linear-gradient(135deg, #00b04f 0%, #1dd1a1 100%);
        color: white;
    }

    /* 推荐文章 */
    .recommendations {
        margin-top: 3rem;
    }

    .recommendations-title {
        font-size: 2rem;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 2rem;
        text-align: center;
        background: var(--gradient-primary);
        -webkit-background-clip: text;
        /* -webkit-text-fill-color: transparent; */
        background-clip: text;
    }

    .recommendations-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
    }

    .recommendation-card {
        background: var(--bg-primary);
        border-radius: 20px;
        overflow: hidden;
        box-shadow: var(--shadow-lg);
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.2);
        position: relative;
    }

    .recommendation-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--gradient-primary);
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 1;
    }

    .recommendation-card:hover::before {
        opacity: 0.02;
    }

    .recommendation-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-xl);
    }

    .recommendation-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .recommendation-card:hover .recommendation-image {
        transform: scale(1.05);
    }

    .recommendation-content {
        padding: 1.5rem;
        position: relative;
        z-index: 2;
    }

    .recommendation-title {
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--text-primary);
        margin-bottom: 0.75rem;
        line-height: 1.4;
    }

    .recommendation-title a {
        color: inherit;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .recommendation-title a:hover {
        color: var(--primary-color);
    }

    .recommendation-summary {
        color: var(--text-secondary);
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .recommendation-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 0.85rem;
        color: var(--text-muted);
    }

    .recommendation-meta-item {
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }

    /* 响应式设计 */
    @media (max-width: 768px) {
        .container {
            padding: 0 0.75rem;
        }

        .article-wrapper {
            padding: 1rem 0;
        }

        .article-card {
            border-radius: 16px;
        }

        .article-header {
            padding: 2rem 1.5rem 1rem;
        }

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

        .article-meta {
            gap: 1rem;
        }

        .meta-item {
            font-size: 0.85rem;
            padding: 0.4rem 0.8rem;
        }

        .article-content {
            padding: 1.5rem;
        }

        .content-title {
            font-size: 1.25rem;
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
        }

        .content-body {
            font-size: 1rem;
        }

        .content-body h1 {
            font-size: 1.75rem;
        }

        .content-body h2 {
            font-size: 1.5rem;
        }

        .content-body h3 {
            font-size: 1.25rem;
        }

        .article-tags {
            padding: 1.5rem;
        }

        .tags-list {
            gap: 0.6rem;
        }

        .tag-item {
            padding: 0.4rem 0.8rem;
            font-size: 0.75rem;
        }

        .article-share {
            padding: 1.5rem;
        }

        .share-buttons {
            gap: 0.6rem;
        }

        .share-button {
            padding: 0.45rem 0.9rem;
            font-size: 0.75rem;
        }

        .recommendations-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .recommendation-card {
            border-radius: 16px;
        }

        .breadcrumb-current {
            max-width: 120px;
        }
    }

    @media (max-width: 480px) {
        .article-header {
            padding: 1.5rem 1rem 0.75rem;
        }

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

        .article-content {
            padding: 1rem;
        }

        .content-title {
            font-size: 1.1rem;
            margin-bottom: 1rem;
            padding-bottom: 0.4rem;
        }

        .article-tags {
            padding: 1rem;
        }

        .article-share {
            padding: 1rem;
        }

        .share-buttons {
            justify-content: center;
            gap: 0.4rem;
        }

        .share-button {
            padding: 0.4rem 0.8rem;
            font-size: 0.7rem;
        }

        .recommendations-grid {
            grid-template-columns: 1fr;
        }
    }

    /* 滚动条样式 */
    ::-webkit-scrollbar {
        width: 8px;
    }

    ::-webkit-scrollbar-track {
        background: var(--bg-secondary);
    }

    ::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: var(--primary-dark);
    }

    /* 动画效果 */
    .article-card {
        animation: fadeInUp 0.6s ease-out;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .recommendations-grid .recommendation-card {
        animation: fadeInUp 0.6s ease-out;
    }

    .recommendations-grid .recommendation-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .recommendations-grid .recommendation-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .recommendations-grid .recommendation-card:nth-child(3) {
        animation-delay: 0.3s;
    }
