        .blog-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            min-height: 100vh;
            display: flex;
            gap: 30px;
        }
        
        .sidebar {
            width: 280px;
            flex-shrink: 0;
            position: sticky;
            top: 20px;
            align-self: flex-start;
            max-height: calc(100vh - 40px);
            display: flex;
            flex-direction: column;
        }
        
        .main-content {
            flex: 1;
            min-width: 0;
        }
        
        .blog-header {
            text-align: center;
            padding: 60px 20px;
            margin-bottom: 40px;
            background: #fff;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(0, 0, 0, 0.06);
        }
        
        .blog-title {
            font-size: 2.2em;
            font-weight: 600;
            background: linear-gradient(135deg, #667eea, #764ba2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 12px;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            font-family: "Old English Text MT", "Engravers' Old English BT", "Lato", "PingFang SC", "Microsoft YaHei", sans-serif;
        }
        
        .blog-description {
            color: #666;
            font-size: 1em;
            font-weight: 300;
            max-width: 500px;
            margin: 0 auto;
            line-height: 1.5;
            font-family: "ff-tisa-web-pro-1", "ff-tisa-web-pro-2", "Lucida Grande", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
        }
        
        .post-item {
            margin-bottom: 30px;
            padding: 30px;
            background: #fff;
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(0, 0, 0, 0.06);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
            overflow: hidden;
            /* 独立合成层，减少滚动时重绘导致的闪烁 */
            transform: translateZ(0);
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
        }
        
        .post-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, #667eea, #764ba2);
        }
        
        .post-item:hover {
            transform: translateZ(0) translateY(-5px);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
        }
        
        .post-title {
            font-size: 1.5em;
            font-weight: 600;
            margin-bottom: 12px;
            line-height: 1.3;
        }
        
        .post-title a {
            color: #333;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .post-title a:hover {
            background: linear-gradient(135deg, #667eea, #764ba2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .post-meta {
            color: #888;
            font-size: 0.85em;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
        }
        
        .post-meta::before {
            content: '📅';
            font-size: 1.1em;
        }
        
        .post-meta [data-category] {
            color: #667eea;
            text-decoration: none;
            font-weight: 500;
            padding: 2px 8px;
            border-radius: 12px;
            background: rgba(102, 126, 234, 0.1);
            transition: all 0.3s ease;
        }
        
        .post-meta [data-category]:hover {
            background: rgba(102, 126, 234, 0.2);
            transform: translateY(-1px);
        }

        .post-meta [data-category].active {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
        }
        
        .post-excerpt {
            color: #555;
            line-height: 1.6;
            font-size: 0.95em;
            margin-bottom: 18px;
        }
        
        .post-tags {
            margin-top: 20px;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        
        .tag {
            display: inline-block;
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            color: #495057;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.85em;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.3s ease;
            border: 1px solid rgba(0, 0, 0, 0.05);
        }
        
        .tag:hover,
        .tag.active {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
        }

        .post-item {
            text-align: center;
        }

        .post-item .post-meta,
        .post-item .post-tags {
            justify-content: center;
        }

        /* 卡片、分类、标签的点击都由页面 JS 处理，悬浮时状态栏不出网址 */
        .post-item,
        [data-category],
        [data-tag] {
            cursor: pointer;
        }

        .post-item:hover .post-title a {
            background: linear-gradient(135deg, #667eea, #764ba2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .blog-search {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            padding: 10px;
            background: #fff;
            border-radius: 30px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(0, 0, 0, 0.06);
        }

        .blog-search input {
            flex: 1;
            min-width: 0;
            padding: 10px 16px;
            border: 1px solid #e9ecef;
            border-radius: 22px;
            font-size: 1em;
            outline: none;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }

        .blog-search input:focus {
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
        }

        .search-count {
            align-self: center;
            padding: 0 12px 0 2px;
            color: #888;
            font-size: 0.9em;
            white-space: nowrap;
        }

        /* .post-item 等自带 display，hidden 属性要压过它 */
        .main-content [hidden] {
            display: none !important;
        }
        
        .back-home {
            position: fixed;
            top: 20px;
            left: 20px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            padding: 12px 20px;
            border-radius: 25px;
            text-decoration: none;
            font-size: 0.9em;
            font-weight: 500;
            box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
            transition: all 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.25);
            z-index: 9999;
        }
        
        .back-home:hover {
            transform: translateY(-2px);
            box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
        }
        
        /* 侧边栏样式 */
        .nav-section {
            background: #fff;
            border-radius: 20px;
            padding: 25px;
            margin-bottom: 25px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(0, 0, 0, 0.06);
            animation: slideInLeft 0.8s ease-out;
        }
        
        .nav-title {
            font-size: 1.1em;
            font-weight: 600;
            color: #333;
            margin-bottom: 16px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .nav-title::before {
            content: '📂';
            font-size: 1.1em;
            background: none;
            -webkit-text-fill-color: initial;
        }
        
        .category-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .category-item {
            margin-bottom: 8px;
        }
        
        .category-link {
            display: block;
            padding: 10px 14px;
            color: #666;
            text-decoration: none;
            border-radius: 10px;
            transition: all 0.3s ease;
            font-weight: 500;
            font-size: 0.9em;
            position: relative;
            overflow: hidden;
        }
        
        .category-link:hover,
        .category-link.active {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            transform: translateX(5px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
        }
        
        .category-link::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 3px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            transform: scaleY(0);
            transition: transform 0.3s ease;
        }
        
        .category-link:hover::before,
        .category-link.active::before {
            transform: scaleY(1);
        }
        
        .category-count {
            background: rgba(102, 126, 234, 0.1);
            color: #667eea;
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 0.8em;
            font-weight: 600;
            margin-left: 8px;
            transition: all 0.3s ease;
        }
        
        .category-count.zero {
            background: rgba(150, 150, 150, 0.1);
            color: #999;
        }
        
        .category-link:hover .category-count,
        .category-link.active .category-count {
            background: rgba(255, 255, 255, 0.2);
            color: white;
        }
        
        /* 标签云 */
        .tag-cloud {
            display: flex;
            flex-wrap: wrap;
            align-content: flex-start;
            gap: 8px;
        }

        /* 标签区吃掉侧边栏剩余高度，标签多了在区内滚动；padding 给悬停上浮和阴影留位置 */
        .tag-section {
            display: flex;
            flex-direction: column;
            min-height: 0;
            margin-bottom: 0;
        }

        .tag-section .tag-cloud {
            min-height: 0;
            max-height: 320px;
            overflow-y: auto;
            padding: 4px 4px 8px;
            scrollbar-width: thin;
        }
        
        .tag-cloud-item {
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            color: #495057;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.85em;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.3s ease;
            border: 1px solid rgba(0, 0, 0, 0.05);
        }
        
        .tag-cloud-item:hover,
        .tag-cloud-item.active {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
        }
        
        /* 响应式设计 */
        @media (max-width: 1024px) {
            .blog-container {
                flex-direction: column;
                gap: 20px;
            }
            
            .sidebar {
                width: 100%;
                order: 2;
                position: static;
                max-height: none;
            }
            
            .main-content {
                order: 1;
            }
            
            .nav-section {
                padding: 20px;
                margin-bottom: 20px;
            }
        }
        
        @media (max-width: 768px) {
            .blog-container {
                padding: 15px;
            }
            
            .blog-header {
                padding: 40px 20px;
                margin-bottom: 30px;
            }
            
            .blog-title {
                font-size: 1.8em;
            }
            
            .blog-description {
                font-size: 0.9em;
            }
            
            .post-item {
                padding: 20px 16px;
                margin-bottom: 20px;
            }
            
            .post-title {
                font-size: 1.3em;
            }
            
            .back-home {
                top: 15px;
                left: 15px;
                padding: 8px 14px;
                font-size: 0.8em;
                z-index: 9999;
            }
            
            .post-meta {
                font-size: 0.8em;
                gap: 8px;
            }
            
            .sidebar {
                order: 1;
            }
            
            .main-content {
                order: 2;
            }
        }
        
        /* 加载动画 - 从上往下滑入，delay 由模板内联 style 按当前页数量动态设置 */
        .post-item {
            animation: slideInDown 0.6s ease-out forwards;
            visibility: hidden;
            opacity: 0;
            transform: translateZ(0) translateY(-30px);
        }
        
        @keyframes slideInDown {
            0% {
                visibility: visible;
                opacity: 0;
                transform: translateZ(0) translateY(-30px);
            }
            to {
                visibility: visible;
                opacity: 1;
                transform: translateZ(0) translateY(0);
            }
        }
        
        .blog-header {
            animation: fadeInDown 0.8s ease-out;
        }
        
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        /* 分页 */
        .pagination {
            margin-top: 40px;
            padding: 25px;
            background: #fff;
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(0, 0, 0, 0.06);
        }
        .pagination-info {
            text-align: center;
            color: #888;
            font-size: 0.9em;
            margin-bottom: 16px;
        }
        .pagination-links {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 10px;
        }
        .pagination-btn {
            display: inline-block;
            font-family: inherit;
            cursor: pointer;
            min-width: 40px;
            padding: 10px 16px;
            text-align: center;
            border-radius: 12px;
            font-size: 0.95em;
            font-weight: 500;
            text-decoration: none;
            color: #667eea;
            background: rgba(102, 126, 234, 0.1);
            border: 1px solid rgba(102, 126, 234, 0.2);
            transition: all 0.3s ease;
        }
        .pagination-btn:hover {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border-color: transparent;
        }
        .pagination-btn.current {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border-color: transparent;
            cursor: default;
        }
