        /* 全局重置和变量 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
a {
    text-decoration: none !important;
    color:#3b4553;
}
        :root {
            --primary: #6366f1;
            --primary-dark: #4f46e5;
            --secondary: #8b5cf6;
            --accent: #ec4899;
            --success: #10b981;
            --warning: #f59e0b;
            --danger: #ef4444;
            --dark: #1e293b;
            --light: #f8fafc;
            --gray-50: #f9fafb;
            --gray-100: #f3f4f6;
            --gray-200: #e5e7eb;
            --gray-300: #d1d5db;
            --gray-400: #9ca3af;
            --gray-500: #6b7280;
            --gray-600: #4b5563;
            --gray-700: #374151;
            --gray-800: #1f2937;
            --gray-900: #111827;
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
            --radius-sm: 0.375rem;
            --radius-md: 0.5rem;
            --radius-lg: 0.75rem;
            --radius-xl: 1rem;
            --radius-2xl: 1.5rem;
        }

        /* 深色主题 */
        [data-theme="dark"] {
            --gray-50: #111827;
            --gray-100: #1f2937;
            --gray-200: #374151;
            --gray-300: #4b5563;
            --gray-400: #6b7280;
            --gray-500: #9ca3af;
            --gray-600: #d1d5db;
            --gray-700: #e5e7eb;
            --gray-800: #f3f4f6;
            --gray-900: #f9fafb;
            --light: #1e293b;
            --dark: #f8fafc;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            color: var(--gray-900);
            transition: all 0.3s ease;
            position: relative;
            overflow-x: hidden;
            font-size: 14px;
        }

        [data-theme="dark"] body {
            background: linear-gradient(135deg, #1a1c2e 0%, #2d1b69 100%);
            color: var(--gray-100);
        }

        /* 背景装饰 */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
            pointer-events: none;
            z-index: 0;
        }

        /* 主题切换 */
        .theme-toggle {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--gray-100);
            border: 2px solid var(--gray-200);
            color: var(--gray-600);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1.1rem;
        }

        [data-theme="dark"] .theme-toggle {
            background: var(--gray-800);
            border-color: var(--gray-700);
            color: var(--gray-300);
        }

        .theme-toggle:hover {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
            transform: scale(1.1) rotate(180deg);
        }

        /* 主容器 */
        .main-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 1rem;
            position: relative;
            z-index: 1;
        }

        /* 面包屑 */
        .breadcrumb-wrapper {
            height: 3rem;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            border-radius: var(--radius-2xl);
            padding: 1rem 1.5rem;
            margin-bottom: 1.5rem;
            box-shadow: var(--shadow-xl);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        [data-theme="dark"] .breadcrumb-wrapper {
            background: rgba(30, 41, 59, 0.9);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .breadcrumb {
            background: none;
            margin: 0;
            padding: 0;
            display: flex;
            align-items: center;
            flex-wrap: wrap;
        }

        .breadcrumb-item {
            color: var(--gray-500);
            font-weight: 500;
            font-size: 0.8rem;
        }

        [data-theme="dark"] .breadcrumb-item {
            color: var(--gray-400);
        }

        .breadcrumb-item a {
            color: var(--gray-500);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        [data-theme="dark"] .breadcrumb-item a {
            color: var(--gray-400);
        }

        .breadcrumb-item a:hover {
            color: var(--primary);
        }

        .breadcrumb-item.active {
            color: var(--primary);
            font-weight: 600;
        }

        .breadcrumb-item + .breadcrumb-item::before {
            content: '→';
            margin: 0 0.75rem;
            color: var(--gray-400);
        }

        /* 分类头部 */
        .category-hero {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-radius: var(--radius-2xl);
            padding: 2rem;
            margin-bottom: 1.5rem;
            box-shadow: var(--shadow-xl);
            border: 1px solid rgba(255, 255, 255, 0.2);
            position: relative;
            overflow: hidden;
        }

        [data-theme="dark"] .category-hero {
            background: rgba(30, 41, 59, 0.95);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .category-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
            animation: float 20s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translate(0, 0) rotate(0deg); }
            33% { transform: translate(30px, -30px) rotate(120deg); }
            66% { transform: translate(-20px, 20px) rotate(240deg); }
        }

        .category-content {
            position: relative;
            z-index: 1;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 1.5rem;
        }

        .category-info {
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }

        .category-icon {
            width: 80px;
            height: 80px;
            border-radius: 20px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            color: white;
            box-shadow: var(--shadow-xl);
            flex-shrink: 0;
            position: relative;
            overflow: hidden;
        }

        .category-icon::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
            animation: shine 3s infinite;
        }

        @keyframes shine {
            0% { transform: translateX(-100%) translateY(-100%) rotate(30deg); }
            100% { transform: translateX(100%) translateY(100%) rotate(30deg); }
        }

        .category-text h1 {
            font-size: 2rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-600) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 0.25rem;
            line-height: 1.2;
        }

        [data-theme="dark"] .category-text h1 {
            background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-300) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .category-text p {
            font-size: 1rem;
            color: var(--gray-500);
            margin: 0;
            font-weight: 500;
        }

        [data-theme="dark"] .category-text p {
            color: var(--gray-400);
        }

        /* 内容切换 */
        .content-switcher {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            border-radius: var(--radius-full);
            padding: 0.25rem;
            margin-bottom: 1.5rem;
            box-shadow: var(--shadow-xl);
            border: 1px solid rgba(255, 255, 255, 0.2);
            display: inline-flex;
            gap: 0.25rem;
        }

        [data-theme="dark"] .content-switcher {
            background: rgba(30, 41, 59, 0.9);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .switch-tab {
            padding: 0.5rem 1.5rem;
            border-radius: var(--radius-full);
            background: transparent;
            border: none;
            color: var(--gray-500);
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            position: relative;
            font-size: 0.85rem;
        }

        [data-theme="dark"] .switch-tab {
            color: var(--gray-400);
        }

        .switch-tab:hover {
            color: var(--primary);
        }

        .switch-tab.active {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            color: white;
            box-shadow: var(--shadow-md);
        }

        /* 内容区域 */
        .content-area {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            border-radius: var(--radius-2xl);
            padding: 1.5rem;
            box-shadow: var(--shadow-xl);
            border: 1px solid rgba(255, 255, 255, 0.2);
            margin-bottom: 1.5rem;
        }

        [data-theme="dark"] .content-area {
            background: rgba(30, 41, 59, 0.9);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* 网站网格 */
        .sites-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1rem;
        }

        .site-card {
            background: var(--gray-50);
            border-radius: var(--radius-xl);
            padding: 1.25rem;
            text-align: center;
            text-decoration: none;
            color: var(--gray-900);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            border: 2px solid transparent;
            box-shadow: var(--shadow-md);
        }

        [data-theme="dark"] .site-card {
            background: var(--gray-800);
            color: var(--gray-100);
        }

        .site-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .site-card:hover {
            transform: translateY(-4px) scale(1.02);
            box-shadow: var(--shadow-xl);
            border-color: var(--primary);
        }

        .site-card:hover::before {
            opacity: 0.05;
        }

        .site-icon {
            width: 60px;
            height: 60px;
            margin: 0 auto 0.75rem;
            border-radius: var(--radius-xl);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.75rem;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            color: white;
            box-shadow: var(--shadow-lg);
            transition: all 0.3s ease;
            position: relative;
            z-index: 1;
        }

        .site-card:hover .site-icon {
            transform: scale(1.1) rotate(5deg);
        }

        .site-name {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 0.25rem;
            position: relative;
            z-index: 1;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .site-desc {
            font-size: 0.75rem;
            color: var(--gray-500);
            position: relative;
            z-index: 1;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        [data-theme="dark"] .site-desc {
            color: var(--gray-400);
        }

        /* 文章列表 */
        .articles-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1rem;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .articles-title {
            font-size: 1.5rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-600) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        [data-theme="dark"] .articles-title {
            background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-300) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .articles-icon {
            width: 40px;
            height: 40px;
            border-radius: var(--radius-xl);
            background: linear-gradient(135deg, var(--accent) 0%, var(--danger) 100%);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            box-shadow: var(--shadow-lg);
        }

        .articles-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1rem;
        }

        .article-card {
            background: var(--gray-50);
            border-radius: var(--radius-xl);
            overflow: hidden;
            transition: all 0.3s ease;
            cursor: pointer;
            box-shadow: var(--shadow-md);
            border: 2px solid transparent;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        [data-theme="dark"] .article-card {
            background: var(--gray-800);
        }

        .article-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-xl);
            border-color: var(--primary);
        }

        .article-image {
            width: 100%;
            height: 140px;
            object-fit: cover;
            background: var(--gray-200);
        }

        [data-theme="dark"] .article-image {
            background: var(--gray-700);
        }

        .article-content {
            padding: 1rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

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

        .article-category {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: var(--radius-full);
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            box-shadow: var(--shadow-md);
        }

        .article-date,
        .article-views {
            display: flex;
            align-items: center;
            gap: 0.25rem;
            font-size: 0.75rem;
            color: var(--gray-500);
            font-weight: 500;
        }

        [data-theme="dark"] .article-date,
        [data-theme="dark"] .article-views {
            color: var(--gray-400);
        }

        .article-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--gray-900);
            margin-bottom: 0.5rem;
            line-height: 1.3;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        [data-theme="dark"] .article-title {
            color: var(--gray-100);
        }

        .article-excerpt {
            font-size: 0.85rem;
            color: var(--gray-600);
            line-height: 1.5;
            margin-bottom: 0.75rem;
            flex-grow: 1;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        [data-theme="dark"] .article-excerpt {
            color: var(--gray-300);
        }

        .article-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: 0.75rem;
            border-top: 1px solid var(--gray-200);
            margin-top: auto;
        }

        [data-theme="dark"] .article-footer {
            border-top-color: var(--gray-700);
        }

        .article-author {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.8rem;
            color: var(--gray-600);
            font-weight: 500;
        }

        [data-theme="dark"] .article-author {
            color: var(--gray-400);
        }

        .article-author-avatar {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 0.75rem;
            overflow: hidden;
            flex-shrink: 0;
        }

        .article-author-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .read-more {
            color: var(--primary);
            text-decoration: none;
            font-size: 0.8rem;
            font-weight: 700;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
        }

        .read-more:hover {
            gap: 0.5rem;
        }

        /* 分页 */
        .pagination-wrapper {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 2rem;
            gap: 0.5rem;
        }

        .pagination {
            display: flex;
            gap: 0.25rem;
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .page-item {
            display: flex;
            align-items: center;
        }

        .page-link {
            width: 36px;
            height: 36px;
            border-radius: var(--radius-md);
            background: var(--gray-100);
            border: 1px solid var(--gray-200);
            color: var(--gray-700);
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.875rem;
            transition: all 0.3s ease;
        }

        [data-theme="dark"] .page-link {
            background: var(--gray-700);
            border-color: var(--gray-600);
            color: var(--gray-300);
        }

        .page-link:hover {
            background: var(--primary);
            border-color: var(--primary);
            color: white;
            transform: translateY(-2px);
        }

        .page-item.active .page-link {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            border-color: transparent;
            color: white;
            box-shadow: var(--shadow-md);
        }

        .page-item.disabled .page-link {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .page-info {
            color: var(--gray-600);
            font-size: 0.875rem;
            font-weight: 500;
            margin: 0 1rem;
        }

        [data-theme="dark"] .page-info {
            color: var(--gray-400);
        }

        /* 工具栏 */
        .toolbar {
            position: fixed;
            bottom: 1rem;
            right: 1rem;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            z-index: 1000;
        }

        .tool-btn {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border: 2px solid var(--gray-200);
            box-shadow: var(--shadow-xl);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            color: var(--gray-600);
            font-size: 1.1rem;
        }

        [data-theme="dark"] .tool-btn {
            background: rgba(30, 41, 59, 0.95);
            border-color: var(--gray-700);
            color: var(--gray-300);
        }

        .tool-btn:hover {
            transform: scale(1.1) translateY(-3px);
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }

        /* Toast */
        .toast-container {
            position: fixed;
            top: 1rem;
            right: 1rem;
            z-index: 1050;
        }

        .toast {
            background: var(--gray-50);
            border: none;
            border-radius: var(--radius-xl);
            box-shadow: var(--shadow-xl);
            min-width: 250px;
            margin-bottom: 0.75rem;
            overflow: hidden;
        }

        [data-theme="dark"] .toast {
            background: var(--gray-800);
        }

        .toast-header {
            background: transparent;
            border-bottom: 1px solid var(--gray-200);
            color: var(--gray-900);
            padding: 0.75rem;
        }

        [data-theme="dark"] .toast-header {
            border-bottom-color: var(--gray-700);
            color: var(--gray-100);
        }

        .toast-body {
            padding: 0.75rem;
            color: var(--gray-700);
            font-size: 0.875rem;
        }

        [data-theme="dark"] .toast-body {
            color: var(--gray-300);
        }

        .toast-success {
            border-left: 4px solid var(--success);
        }

        .toast-error {
            border-left: 4px solid var(--danger);
        }

        .toast-info {
            border-left: 4px solid var(--primary);
        }

        .toast-warning {
            border-left: 4px solid var(--warning);
        }

        /* 标签内容隐藏 */
        .content-section {
            display: none;
        }

        .content-section.active {
            display: block;
            animation: fadeInUp 0.6s ease forwards;
        }

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

            .category-content {
                flex-direction: column;
                text-align: center;
            }

            .category-icon {
                width: 60px;
                height: 60px;
                font-size: 1.75rem;
            }

            .category-text h1 {
                font-size: 1.5rem;
            }

            .category-text p {
                font-size: 0.875rem;
            }

            .content-switcher {
                width: 100%;
                justify-content: center;
            }

            .switch-tab {
                padding: 0.375rem 1rem;
                font-size: 0.8rem;
            }

            .sites-grid {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
                gap: 0.75rem;
            }

            .site-card {
                padding: 1rem;
            }

            .site-icon {
                width: 48px;
                height: 48px;
                font-size: 1.5rem;
            }

            .articles-grid {
                grid-template-columns: 1fr;
                gap: 0.75rem;
            }

            .toolbar {
                bottom: 0.75rem;
                right: 0.75rem;
            }

            .tool-btn {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }
        }

        /* 动画 */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in-up {
            animation: fadeInUp 0.6s ease forwards;
        }

        /* 加载动画 */
        .skeleton {
            background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-300) 50%, var(--gray-200) 75%);
            background-size: 200% 100%;
            animation: loading 1.5s infinite;
        }

        @keyframes loading {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }
        /* Bootstrap风格分页 */
.pagination-wrapper {
    margin: 40px 0;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
}

.pagination li {
    margin: 0 2px;
}

.pagination li a,
.pagination li span {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #4e73df;
    background-color: #fff;
    border: 1px solid #dddfeb;
    transition: all 0.3s;
}

.pagination li a:hover {
    z-index: 2;
    color: #224abe;
    text-decoration: none;
    background-color: #eaecf4;
    border-color: #dddfeb;
}

.pagination li a:focus {
    z-index: 3;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

.pagination li:first-child a,
.pagination li:first-child span {
    margin-left: 0;
    border-top-left-radius: 0.35rem;
    border-bottom-left-radius: 0.35rem;
}

.pagination li:last-child a,
.pagination li:last-child span {
    border-top-right-radius: 0.35rem;
    border-bottom-right-radius: 0.35rem;
}

.pagination li.active span {
    z-index: 3;
    color: #fff;
    background-color: #4e73df;
    border-color: #4e73df;
}

.pagination li.disabled span {
    color: #858796;
    pointer-events: none;
    cursor: auto;
    background-color: #fff;
    border-color: #dddfeb;
}
