﻿/* luxd-icefox theme.css — 提取自原 emlog 主题 icefox header.php 内联 <style> 块（761-2104行），原样保留视觉规则 */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes fadeOut {
            from { opacity: 1; }
            to { opacity: 0; }
        }
        
        .animate-fade-in {
            animation: fadeIn 0.3s ease-in-out;
        }
        
        .animate-fade-out {
            animation: fadeOut 0.3s ease-in-out;
        }

        :root {
            --primary-color: #6366f1;
            --primary-dark: #4f46e5;
            --secondary-color: #f1f5f9;
            --accent-color: #06b6d4;
            --text-primary: #1e293b;
            --text-secondary: #64748b;
            --border-color: #e2e8f0;
            --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
            --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
            --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
        }

        /* Primary color utility classes */
        .text-primary {
            color: var(--primary-color);
        }

        .bg-primary {
            background-color: var(--primary-color);
        }

        .border-primary {
            border-color: var(--primary-color);
        }

        .hover\:text-primary:hover {
            color: var(--primary-color);
        }

        .hover\:bg-primary:hover {
            background-color: var(--primary-color);
        }

        .hover\:border-primary:hover {
            border-color: var(--primary-color);
        }

        .focus\:ring-primary:focus {
            --tw-ring-color: var(--primary-color);
        }

        #loading-indicator {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
            z-index: 9999;
            display: none;
            animation: loading-progress 2s ease-in-out infinite;
        }

        @keyframes loading-progress {
            0% {
                transform: translateX(-100%);
            }

            50% {
                transform: translateX(0%);
            }

            100% {
                transform: translateX(100%);
            }
        }

        .animate-pulse {
            animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }

        @keyframes pulse {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: .5;
            }
        }

        .gradient-bg {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

        .glass-effect {
            backdrop-filter: blur(10px);
            background: rgba(255, 255, 255, 0.9);
        }

        .hover-lift {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .hover-lift:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .text-gradient {
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-link {
            position: relative;
            display: flex;
            align-items: center;
            padding: 8px 16px;
            color: #64748b;
            font-weight: 500;
            border-radius: 8px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            text-decoration: none;
        }

        .nav-link:hover {
            color: #3b82f6;
            background: rgba(59, 130, 246, 0.05);
            transform: translateY(-1px);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #3b82f6, #8b5cf6);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .nav-link:hover::after,
        .nav-link.active::after {
            width: 80%;
        }

        .nav-link.active {
            color: #3b82f6;
            background: rgba(59, 130, 246, 0.08);
        }

        .nav-link i {
            font-size: 16px;
            transition: transform 0.3s ease;
        }

        .nav-link:hover i {
            transform: scale(1.1);
        }

        /* 快捷操作按钮 */
        .quick-action-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(226, 232, 240, 0.8);
            color: #64748b;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            backdrop-filter: blur(10px);
        }

        .quick-action-btn:hover {
            background: #3b82f6;
            color: white;
            border-color: #3b82f6;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
        }

        .quick-action-btn i {
            font-size: 18px;
        }

        @media (max-width: 1023px) {
            .quick-action-btn {
                width: 36px;
                height: 36px;
                border-radius: 8px;
            }

            .quick-action-btn i {
                font-size: 16px;
            }
        }

        /* 社交链接 */
        .social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 8px;
            color: #374151;
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(226, 232, 240, 0.8);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            text-decoration: none;
            position: relative;
            overflow: hidden;
        }

        .social-link::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, #3b82f6, #8b5cf6);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .social-link:hover::before {
            opacity: 0.1;
        }

        .social-link:hover {
            color: #3b82f6;
            transform: translateY(-1px) scale(1.05);
        }

        .social-link i {
            font-size: 16px;
            position: relative;
            z-index: 1;
        }

        /* 移动端导航 */
        .mobile-nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 12px 8px;
            color: #64748b;
            text-decoration: none;
            border-radius: 12px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            background: rgba(248, 250, 252, 0.8);
            border: 1px solid rgba(226, 232, 240, 0.6);
            min-height: 70px;
            gap: 6px;
        }

        .mobile-nav-item:hover {
            background: rgba(59, 130, 246, 0.08);
            color: #3b82f6;
            border-color: rgba(59, 130, 246, 0.2);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
        }

        .mobile-nav-item i {
            transition: transform 0.3s ease;
        }

        .mobile-nav-item:hover i {
            transform: scale(1.1);
        }

        .mobile-social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 10px;
            color: #64748b;
            background: rgba(248, 250, 252, 0.9);
            border: 1px solid rgba(226, 232, 240, 0.8);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            text-decoration: none;
        }

        .mobile-social-link:hover {
            background: #3b82f6;
            color: white;
            border-color: #3b82f6;
            transform: translateY(-1px) scale(1.05);
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
        }

        .mobile-social-link i {
            font-size: 16px;
        }

        /* 移动端导航 - 侧拉式菜单 */
        #mobile-menu {
            box-shadow: 5px 0 25px rgba(0, 0, 0, 0.15);
        }

        #mobile-menu-overlay {
            backdrop-filter: blur(4px);
        }

        #mobile-menu .mobile-social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 10px;
            color: #64748b;
            background: rgba(248, 250, 252, 0.9);
            border: 1px solid rgba(226, 232, 240, 0.8);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            text-decoration: none;
        }

        #mobile-menu .mobile-social-link:hover {
            background: #3b82f6;
            color: white;
            border-color: #3b82f6;
            transform: translateY(-1px) scale(1.05);
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
        }

        #mobile-menu .mobile-social-link i {
            font-size: 16px;
        }

        /* 移动端菜单网格布局样式 */
        #mobile-menu nav.grid {
            gap: 8px;
        }

        #mobile-menu nav.grid a {
            padding: 12px 16px;
            border-radius: 10px;
            background: rgba(248, 250, 252, 0.5);
            border: 1px solid rgba(226, 232, 240, 0.5);
            transition: all 0.2s ease;
        }

        #mobile-menu nav.grid a:hover {
            background: rgba(59, 130, 246, 0.1);
            border-color: rgba(59, 130, 246, 0.2);
            transform: translateX(5px);
        }

        #mobile-menu nav.grid a i {
            font-size: 18px;
            transition: transform 0.2s ease;
        }

        #mobile-menu nav.grid a:hover i {
            transform: scale(1.1);
            color: #3b82f6;
        }

        /* 暗色模式适配 */
        .dark #mobile-menu nav.grid a {
            background: rgba(30, 41, 59, 0.5);
            border-color: rgba(51, 65, 85, 0.5);
        }

        .dark #mobile-menu nav.grid a:hover {
            background: rgba(59, 130, 246, 0.15);
            border-color: rgba(59, 130, 246, 0.3);
        }

        /* 搜索模态框 */
        #search-modal .bg-white,
        #search-modal .dark\:bg-gray-800 {
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        #search-modal #search-input {
            transition: all 0.2s ease;
        }

        #search-modal #search-input:focus {
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
        }

        #search-results {
            transition: all 0.3s ease;
        }

        /* 搜索结果项 */
        #search-results .search-result-link {
            transition: all 0.2s ease;
        }

        #search-results .search-result-link:hover {
            color: #4f46e5;
        }

        #search-results mark {
            background-color: rgba(250, 204, 21, 0.4);
            padding: 0.1em 0.2em;
            border-radius: 2px;
            font-weight: 500;
        }

        /* 移动端 */
        @media (max-width: 640px) {

            #search-modal .bg-white,
            #search-modal .dark\:bg-gray-800 {
                max-width: calc(100% - 32px);
            }

            #search-results {
                max-height: 50vh;
            }
        }

        .main-content {
            margin-left: 0;
            width: 100%;
        }

        @media (min-width: 1024px) {

            /* 确保移动端菜单按钮在PC端隐藏 */
            #mobile-menu-toggle {
                display: none !important;
            }

            #mobile-menu {
                display: none !important;
            }
        }

        /* 顶部导航栏始终显示 */
        header {
            display: block !important;
        }

        @media (max-width: 1023px) {
            header .container {
                padding-top: 0.75rem;
                padding-bottom: 0.75rem;
            }

            header .flex.flex-col {
                gap: 0.75rem;
            }

            .flex.items-center.justify-between.w-full {
                margin-bottom: 0.75rem;
            }

            #mobile-menu-toggle {
                position: relative;
                left: 0;
                margin-right: 16px;
            }
        }

        @media (max-width: 767px) {
            .nav-link span {
                display: none;
            }

            .nav-link {
                padding: 8px;
                min-width: 40px;
                justify-content: center;
            }

            .page-header {
                padding: 1.5rem 0;
                margin-bottom: 1.5rem;
            }

            .page-title {
                font-size: 1.5rem;
                margin-bottom: 0.75rem;
            }

            .page-description {
                font-size: 1rem;
                margin-bottom: 0.75rem;
            }

            .breadcrumb {
                font-size: 0.85rem;
                flex-wrap: wrap;
            }

            .container {
                padding-left: 1rem;
                padding-right: 1rem;
            }

            header .container {
                padding-left: 1rem;
                padding-right: 1rem;
            }

        }

        .pagination-wrapper {
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 20px 0;
        }

        .pagination-wrapper>* {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }

        .pagination-wrapper a,
        .pagination-wrapper span,
        .pagination-wrapper .page-link,
        .pagination-wrapper .page-item {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 40px;
            height: 40px;
            padding: 8px 12px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            border: 1px solid #e2e8f0;
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
            color: #64748b;
            margin: 0 2px;
        }

        /* 悬停效果 */
        .pagination-wrapper a:hover,
        .pagination-wrapper .page-link:hover {
            background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
            color: white;
            border-color: #3b82f6;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
        }

        /* 当前页样式 */
        .pagination-wrapper .current,
        .pagination-wrapper .active,
        .pagination-wrapper span:not([class]) {
            background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
            color: white;
            border-color: #3b82f6;
            box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
        }

        /* 禁用状态 */
        .pagination-wrapper .disabled {
            opacity: 0.5;
            cursor: not-allowed;
            background: #f8fafc;
            color: #94a3b8;
        }

        /* 上一页下一页样式 */
        .pagination-wrapper a[href*="page"]:first-child:before {
            content: "‹ ";
            margin-right: 4px;
        }

        .pagination-wrapper a[href*="page"]:last-child:after {
            content: " ›";
            margin-left: 4px;
        }

        /* 响应式设计 */
        @media (max-width: 640px) {
            .pagination-wrapper>* {
                gap: 4px;
            }

            .pagination-wrapper a,
            .pagination-wrapper span,
            .pagination-wrapper .page-link,
            .pagination-wrapper .page-item {
                min-width: 36px;
                height: 36px;
                padding: 6px 10px;
                font-size: 14px;
            }
        }

        /* 页面标题区域 */
        .page-header {
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.1));
            border-bottom: 1px solid rgba(139, 92, 246, 0.2);
            padding: 2rem 0;
            margin-bottom: 2rem;
            opacity: 0;
            transform: translateY(-20px);
            transition: all 0.3s ease;
        }

        .page-header.show {
            opacity: 1;
            transform: translateY(0);
        }

        .page-title {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
            transform: translateX(-20px);
            opacity: 0;
            transition: all 0.4s ease 0.1s;
        }

        .page-header.show .page-title {
            transform: translateX(0);
            opacity: 1;
        }

        .page-description {
            color: #64748b;
            font-size: 1.1rem;
            margin-bottom: 1rem;
            transform: translateX(-20px);
            opacity: 0;
            transition: all 0.4s ease 0.2s;
        }

        .page-header.show .page-description {
            transform: translateX(0);
            opacity: 1;
        }

        .breadcrumb {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.9rem;
            color: #64748b;
            transform: translateX(-20px);
            opacity: 0;
            transition: all 0.4s ease 0.3s;
        }

        .page-header.show .breadcrumb {
            transform: translateX(0);
            opacity: 1;
        }

        .breadcrumb-current {
            color: var(--primary-color);
            font-weight: 500;
        }

        /* 文章内容样式 */
        .prose {
            line-height: 1.8;
            color: #374151;
        }

        /* 标题样式 */
        .prose h1 {
            font-size: 2.25rem;
            font-weight: 800;
            line-height: 1.2;
            margin: 2rem 0 1.5rem 0;
            background: linear-gradient(135deg, #1e293b 0%, #3b82f6 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            position: relative;
        }

        .prose h1:after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 60px;
            height: 4px;
            background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
            border-radius: 2px;
        }

        .prose h2 {
            font-size: 1.875rem;
            font-weight: 700;
            line-height: 1.3;
            margin: 2rem 0 1rem 0;
            color: #1e293b;
            position: relative;
            padding-left: 20px;
        }

        .prose h2:before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 24px;
            background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
            border-radius: 2px;
        }

        .prose h3 {
            font-size: 1.5rem;
            font-weight: 600;
            line-height: 1.4;
            margin: 1.5rem 0 0.75rem 0;
            color: #1e293b;
        }

        .prose h4,
        .prose h5,
        .prose h6 {
            font-weight: 600;
            margin: 1.25rem 0 0.5rem 0;
            color: #374151;
        }

        /* 段落样式 */
        .prose p {
            margin: 1.25rem 0;
            text-align: justify;
        }

        /* 行内代码 */
        .prose code {
            background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
            color: #1e293b;
            padding: 0.25rem 0.5rem;
            border-radius: 0.375rem;
            font-size: 0.875em;
            font-weight: 500;
            font-family: 'Fira Code', 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Consolas', 'Ubuntu Mono', monospace;
            word-break: break-word;
            white-space: normal;
            overflow-wrap: anywhere;
            max-width: 100%;
            display: inline-block;
            border: 1px solid rgba(148, 163, 184, 0.2);
            transition: all 0.2s ease;
            position: relative;
        }

        /* 代码块样式 */
        .prose pre {
            word-wrap: normal;
            white-space: pre;
            background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
            border: 1px solid rgba(148, 163, 184, 0.2);
            position: relative;
            overflow-x: auto;
            padding: 3.5rem 1.5rem 1.5rem 1.5rem;
            /* 增大顶部内边距，避开圆点 */
            margin: 1.5rem 0;
            border-radius: 0.75rem;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15), 0 4px 6px rgba(0, 0, 0, 0.1);
            font-family: 'Fira Code', 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Consolas', 'Ubuntu Mono', monospace;
        }

        .prose pre:before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2.5rem;
            background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
            border-bottom: 1px solid rgba(148, 163, 184, 0.2);
            border-radius: 0.75rem 0.75rem 0 0;
        }

        .prose pre:after {
            content: "● ● ●";
            position: absolute;
            top: 0.75rem;
            left: 1rem;
            color: #94a3b8;
            font-size: 0.75rem;
            font-weight: bold;
            letter-spacing: 0.25rem;
            z-index: 2;
            pointer-events: none;
        }

        /* 代码块复制按钮 */
        .prose pre .copy-btn {
            position: absolute;
            top: 0.5rem;
            right: 1rem;
            background: rgba(59, 130, 246, 0.1);
            color: #60a5fa;
            border: 1px solid rgba(59, 130, 246, 0.2);
            padding: 0.25rem 0.75rem;
            border-radius: 0.375rem;
            font-size: 0.75rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
            z-index: 10;
            display: flex !important;
            align-items: center;
            gap: 0.25rem;
            opacity: 0.8;
        }

        .prose pre .copy-btn:hover {
            background: rgba(59, 130, 246, 0.2);
            color: #93c5fd;
            border-color: rgba(59, 130, 246, 0.3);
            opacity: 1;
        }

        .prose pre .copy-btn.copied {
            background: rgba(34, 197, 94, 0.2);
            color: #4ade80;
            border-color: rgba(34, 197, 94, 0.3);
        }

        .prose pre .copy-btn.copied::before {
            content: "✓";
            margin-right: 0.25rem;
        }

        .prose pre code {
            background: transparent;
            color: #e2e8f0;
            font-size: 0.875rem;
            line-height: 1.6;
            display: block;
            padding: 0.5rem 0 0 0;
            border-radius: 0;
            margin-top: 0;
            word-break: normal;
            white-space: pre;
            overflow-x: auto;
            width: 100%;
            border: none;
            font-weight: normal;
            text-indent: 0;
            position: relative;
            z-index: 1;
            box-sizing: border-box;
        }

        /* 代码高亮语法 */
        .prose pre code .token.comment,
        .prose pre code .token.prolog,
        .prose pre code .token.doctype,
        .prose pre code .token.cdata {
            color: #6b7280;
        }

        .prose pre code .token.punctuation {
            color: #e5e7eb;
        }

        .prose pre code .token.property,
        .prose pre code .token.tag,
        .prose pre code .token.boolean,
        .prose pre code .token.number,
        .prose pre code .token.constant,
        .prose pre code .token.symbol,
        .prose pre code .token.deleted {
            color: #fbbf24;
        }

        .prose pre code .token.selector,
        .prose pre code .token.attr-name,
        .prose pre code .token.string,
        .prose pre code .token.char,
        .prose pre code .token.builtin,
        .prose pre code .token.inserted {
            color: #34d399;
        }

        .prose pre code .token.operator,
        .prose pre code .token.entity,
        .prose pre code .token.url,
        .prose pre code .language-css .token.string,
        .prose pre code .style .token.string {
            color: #60a5fa;
        }

        .prose pre code .token.atrule,
        .prose pre code .token.attr-value,
        .prose pre code .token.keyword {
            color: #a78bfa;
        }

        .prose pre code .token.function,
        .prose pre code .token.class-name {
            color: #f472b6;
        }

        .prose pre code .token.regex,
        .prose pre code .token.important,
        .prose pre code .token.variable {
            color: #f87171;
        }

        .prose pre code .token.important,
        .prose pre code .token.bold {
            font-weight: bold;
        }

        .prose pre code .token.italic {
            font-style: italic;
        }

        .prose pre code .token.entity {
            cursor: help;
        }

        /* 移动端代码块 */
        @media (max-width: 768px) {
            .prose pre {
                padding: 2.5rem 1rem 1.25rem 1rem;
                margin: 1.25rem 0;
                border-radius: 0.5rem;
                font-size: 0.8125rem;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }

            .prose pre:before {
                height: 2.25rem;
                border-radius: 0.5rem 0.5rem 0 0;
            }

            .prose pre:after {
                top: 0.625rem;
                left: 0.75rem;
                font-size: 0.6875rem;
                pointer-events: none;
            }

            .prose pre .copy-btn {
                top: 0.375rem;
                right: 0.75rem;
                padding: 0.125rem 0.5rem;
                font-size: 0.6875rem;
                display: flex !important;
                z-index: 10;
            }

            .prose pre code {
                font-size: 0.8125rem;
                line-height: 1.5;
                white-space: pre;
                word-wrap: normal;
                overflow-x: auto;
                padding-top: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .prose pre {
                padding: 2.25rem 0.75rem 1rem 0.75rem;
                margin: 1rem 0;
                font-size: 0.75rem;
                line-height: 1.4;
                border-radius: 0.375rem;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }

            .prose pre:before {
                height: 2rem;
                border-radius: 0.375rem 0.375rem 0 0;
            }

            .prose pre:after {
                top: 0.5rem;
                left: 0.5rem;
                font-size: 0.625rem;
                letter-spacing: 0.125rem;
                pointer-events: none;
            }

            .prose pre .copy-btn {
                top: 0.25rem;
                right: 0.5rem;
                padding: 0.125rem 0.375rem;
                font-size: 0.625rem;
                display: flex !important;
                z-index: 10;
            }

            .prose pre code {
                font-size: 0.75rem;
                line-height: 1.4;
                white-space: pre;
                word-wrap: normal;
                overflow-x: auto;
                padding-top: 1.25rem;
            }
        }

        /* 暗色主题 */
        @media (prefers-color-scheme: dark) {
            .prose pre {
                background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
                border-color: rgba(148, 163, 184, 0.3);
                box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 4px 6px rgba(0, 0, 0, 0.2);
            }

            .prose pre:before {
                background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
                border-bottom-color: rgba(148, 163, 184, 0.3);
            }

            .prose pre:after {
                color: #64748b;
            }

            .prose code {
                background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
                color: #e2e8f0;
                border-color: rgba(148, 163, 184, 0.3);
            }
        }

        /* 引用块样式 */
        .prose blockquote {
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
            border-left: 4px solid #3b82f6;
            margin: 1.5rem 0;
            padding: 1.5rem 2rem;
            border-radius: 0 12px 12px 0;
            position: relative;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        }

        .prose blockquote:before {
            content: '"';
            position: absolute;
            top: -10px;
            left: 20px;
            font-size: 4rem;
            color: #3b82f6;
            opacity: 0.3;
            font-family: serif;
        }

        .prose blockquote p {
            margin: 0;
            font-style: italic;
            color: #475569;
            font-size: 1.1rem;
        }

        /* 列表样式 */
        .prose ul,
        .prose ol {
            margin: 1.25rem 0;
            padding-left: 1.5rem;
        }

        .prose ul li {
            position: relative;
            margin: 0.5rem 0;
        }

        .prose ul li:before {
            content: '';
            position: absolute;
            left: -1.5rem;
            top: 0.75rem;
            width: 6px;
            height: 6px;
            background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
            border-radius: 50%;
        }

        .prose ol li {
            margin: 0.5rem 0;
        }

        /* 表格样式 */
        .prose table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        }

        .prose table th {
            background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
            color: white;
            padding: 1rem;
            text-align: left;
            font-weight: 600;
        }

        .prose table td {
            padding: 1rem;
            border-bottom: 1px solid #e2e8f0;
        }

        .prose table tr:hover {
            background: #f8fafc;
        }

        /* 链接样式 */
        .prose a {
            color: #3b82f6;
            text-decoration: none;
            font-weight: 500;
            position: relative;
            transition: all 0.3s ease;
        }

        .prose a:hover {
            color: #1d4ed8;
        }

        .prose a:after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
            transition: width 0.3s ease;
        }

        .prose a:hover:after {
            width: 100%;
        }

        /* 图片样式 */
        .prose img {
            border-radius: 12px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            margin: 1.5rem 0;
            transition: transform 0.3s ease;
        }

        .prose img:hover {
            transform: scale(1.02);
        }

        /* 分隔线样式 */
        .prose hr {
            border: none;
            height: 2px;
            background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
            margin: 2rem 0;
            border-radius: 1px;
        }

        @media (max-width: 768px) {
            .prose h1 {
                font-size: 1.875rem;
            }

            .prose h2 {
                font-size: 1.5rem;
                padding-left: 16px;
            }

            .prose h2:before {
                width: 3px;
                height: 20px;
            }

            .prose pre {
                padding: 1rem;
                margin: 1rem -1rem;
                border-radius: 0;
            }

            .prose blockquote {
                margin: 1rem -1rem;
                border-radius: 0;
                padding: 1rem 1.5rem;
            }
        }

        /* 二级分类导航样式 */
        .nav-link {
            position: relative;
            display: flex;
            align-items: center;
            padding: 8px 16px;
            color: #64748b;
            font-weight: 500;
            border-radius: 8px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            text-decoration: none;
        }

        .nav-link:hover {
            color: #3b82f6;
            background: rgba(59, 130, 246, 0.05);
            transform: translateY(-1px);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #3b82f6, #8b5cf6);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .nav-link:hover::after,
        .nav-link.active::after {
            width: 80%;
        }

        .nav-link.active {
            color: #3b82f6;
            background: rgba(59, 130, 246, 0.08);
        }

        .nav-link i {
            font-size: 16px;
            transition: transform 0.3s ease;
        }

        .nav-link:hover i {
            transform: scale(1.1);
        }

        /* 下拉菜单样式 */
        .group:hover .group-hover\:opacity-100 {
            opacity: 1;
        }

        .group:hover .group-hover\:visible {
            visibility: visible;
        }

        .group:hover .group-hover\:scale-100 {
            transform: scale(1);
        }

        .group:hover .group-hover\:rotate-180 {
            transform: rotate(180deg);
        }

        /* 移动端二级分类样式 */
        .mobile-category-toggle {
            background: none;
            border: none;
            cursor: pointer;
            outline: none;
            width: 100%;
            text-align: left;
        }

        .mobile-category-toggle.active .ri-arrow-down-s-line {
            transform: rotate(180deg);
        }

        .mobile-subcategories {
            transition: all 0.3s ease;
        }

        .mobile-subcategories.show {
            display: block !important;
        }

        /* 大菜单样式（预留） */
        .mega-menu {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            z-index: 50;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
        }

        .group:hover .mega-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        /* 侧边栏样式（预留） */
        .sidebar-menu {
            position: fixed;
            top: 0;
            right: -300px;
            width: 300px;
            height: 100vh;
            background: white;
            box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
            z-index: 60;
            transition: right 0.3s ease;
        }

        .sidebar-menu.show {
            right: 0;
        }
