html {
    height: 100%;
}

/* ==================== 全局样式 ==================== */
body {
    padding-top: 0 !important;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.bg-fixed {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -998;
    background: url(../../../assets/img/bg-fixed.png) repeat;
}

body > section.container {
    flex: 1;
    max-width: 1400px !important;
    width: 90% !important;
    margin-top: 20px !important;
}

/* ==================== 首屏大Banner ==================== */
.hero-banner-section {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    margin-bottom: -80px;
}

.hero-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://t.alcy.cc/pc');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.9);
}

.hero-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.35) 100%);
}

.hero-banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    color: #fff;
    width: 90%;
    max-width: 800px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    margin: 0;
    opacity: 0.95;
    font-weight: 400;
    text-shadow: 0 1px 8px rgba(0,0,0,0.2);
    line-height: 1.6;
}

/* ==================== 导航栏样式 ==================== */
.header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* 滚动后的导航栏样式 */
.header.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: saturate(180%) blur(20px) !important;
    -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.header-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 32px !important;
    height: 70px !important;
    max-width: 1600px !important;
    margin: 0 auto !important;
    gap: 24px !important;
    transition: all 0.3s ease !important;
}

.header.scrolled .header-container {
    height: 60px !important;
}

/* Logo样式 */
.logo {
    flex-shrink: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.logo a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    transition: opacity 0.2s ease !important;
}

.logo a:hover {
    opacity: 0.85 !important;
}

.logo img {
    max-height: 36px !important;
    height: auto !important;
    width: auto !important;
    display: block !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)) !important;
}

.header.scrolled .logo img {
    filter: brightness(0) saturate(100%) invert(12%) sepia(8%) saturate(1085%) hue-rotate(169deg) brightness(97%) contrast(92%) !important;
}

.logo .site-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1 !important;
    letter-spacing: -0.3px !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
}

.header.scrolled .logo .site-title {
    color: #1a1a1a !important;
    text-shadow: none !important;
}

.header-categories {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    flex: 1 !important;
    margin-left: 32px !important;
}

.header-categories .category-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 16px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
    background: transparent !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    border: none !important;
    white-space: nowrap !important;
    position: relative !important;
}

.header-categories .category-link:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.header-categories .category-link.active {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.header-categories .category-link.active::after {
    content: '' !important;
    position: absolute !important;
    bottom: 4px !important;
    left: 16px !important;
    right: 16px !important;
    height: 2px !important;
    background: #ffffff !important;
    border-radius: 2px !important;
}

.header-categories .category-link i {
    font-size: 14px !important;
}

.header.scrolled .header-categories .category-link {
    color: #4e5969 !important;
    background: transparent !important;
}

.header.scrolled .header-categories .category-link:hover {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #1a1a1a !important;
}

.header.scrolled .header-categories .category-link.active {
    color: #1a1a1a !important;
}

.header.scrolled .header-categories .category-link.active::after {
    background: #4e89ff !important;
}

.header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    margin-left: auto !important;
    margin-right: 80px !important;
}

.header-order-query {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: saturate(180%) blur(10px) !important;
    -webkit-backdrop-filter: saturate(180%) blur(10px) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.header-order-query:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-1px) !important;
}

.header-order-query i {
    font-size: 16px !important;
}

.header.scrolled .header-order-query {
    background: rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: #1a1a1a !important;
}

.header.scrolled .header-order-query:hover {
    background: rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
    color: #1a1a1a !important;
}

.header-search-wrapper {
    flex-shrink: 0 !important;
}

.header-search-form {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

.header-search-form .search-icon {
    position: absolute !important;
    left: 14px !important;
    font-size: 15px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

.header.scrolled .header-search-form .search-icon {
    color: #9ca3af !important;
}

.header-search-input {
    width: 260px !important;
    height: 40px !important;
    padding: 0 16px 0 42px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: saturate(180%) blur(10px) !important;
    -webkit-backdrop-filter: saturate(180%) blur(10px) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    outline: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.header-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.header-search-input:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}

.header-search-input:focus {
    width: 320px !important;
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

.header.scrolled .header-search-input {
    background: rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: #1a1a1a !important;
}

.header.scrolled .header-search-input::placeholder {
    color: #9ca3af !important;
}

.header.scrolled .header-search-input:hover {
    background: rgba(0, 0, 0, 0.06) !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
}

.header.scrolled .header-search-input:focus {
    background: #ffffff !important;
    border-color: #4e89ff !important;
    box-shadow: 0 0 0 3px rgba(78, 137, 255, 0.1) !important;
}


.mobile-menu-toggle {
    display: none !important;
}

.mobile-sidebar {
    display: none;
}

@media (max-width: 1024px) {
    .header-categories {
        margin-left: 20px !important;
    }
    
    .header-actions {
        margin-right: 40px !important;
    }
    
    .header-search-input {
        width: 200px !important;
    }
    
    .header-search-input:focus {
        width: 240px !important;
    }
}

@media (max-width: 768px) {
    .hero-banner-section {
        height: 320px !important;
        margin-bottom: -60px !important;
    }
    
    .hero-title {
        font-size: 32px !important;
        margin-bottom: 12px !important;
    }
    
    .hero-subtitle {
        font-size: 15px !important;
    }
    
    body {
        padding-top: 0 !important;
    }
    
    body > section.container {
        margin-top: 15px !important;
        width: 100% !important;
        padding: 0 !important;
    }
    
    .header-container {
        padding: 0 15px !important;
        height: 56px !important;
        gap: 12px !important;
    }
    
    .header.scrolled .header-container {
        height: 56px !important;
    }
    
    .logo {
        order: 1 !important;
    }
    
    .header-actions {
        order: 2 !important;
        margin-right: 15px !important;
        gap: 10px !important;
    }
    
    .header-order-query {
        padding: 8px 12px !important;
    }
    
    .header-order-query span {
        display: none !important;
    }
    
    .header-search-wrapper {
        order: 3 !important;
    }
    
    .mobile-menu-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 53px !important;
        height: 36px !important;
        padding: 0 !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        border-radius: 8px !important;
        color: #ffffff !important;
        font-size: 16px !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        backdrop-filter: saturate(180%) blur(10px) !important;
        -webkit-backdrop-filter: saturate(180%) blur(10px) !important;
        order: 4 !important;
    }
    
    .header.scrolled .mobile-menu-toggle {
        background: rgba(0, 0, 0, 0.04) !important;
        border-color: rgba(0, 0, 0, 0.08) !important;
        color: #1a1a1a !important;
    }
    
    .logo img {
        max-height: 28px !important;
    }
    
    .logo .site-title {
        font-size: 16px !important;
    }
    
    .header-categories {
        display: none !important;
    }
    
    .header-search-wrapper {
        flex: 1 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .header-search-input {
        width: 100% !important;
        height: 36px !important;
    }
    
    .header-search-input:focus {
        width: 100% !important;
    }
    
    .header-search-form .search-icon {
        left: 12px !important;
        font-size: 14px !important;
    }
    
    /* 移动侧边栏 */
    .mobile-sidebar {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: -280px !important;
        width: 280px !important;
        height: 100% !important;
        background: #fff !important;
        z-index: 9998 !important;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        overflow-y: auto !important;
        box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15) !important;
    }
    
    .mobile-sidebar.active {
        left: 0 !important;
    }
    
    .mobile-sidebar-header {
        padding: 20px !important;
        background: #ffffff !important;
        color: #1d2129 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        border-bottom: 1px solid #e4e6eb !important;
    }
    
    .mobile-sidebar-title {
        font-size: 18px !important;
        font-weight: 600 !important;
        margin: 0 !important;
        color: #1d2129 !important;
    }
    
    .mobile-sidebar-close {
        width: 36px !important;
        height: 36px !important;
        border: none !important;
        background: #f2f3f5 !important;
        border-radius: 6px !important;
        color: #4e5969 !important;
        font-size: 18px !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.2s ease !important;
    }
    
    .mobile-sidebar-menu {
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }
    
    .mobile-sidebar-menu li {
        border-bottom: 1px solid #f0f0f0 !important;
    }
    
    .mobile-sidebar-menu a {
        display: flex !important;
        align-items: center !important;
        padding: 14px 20px !important;
        color: #4e5969 !important;
        text-decoration: none !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        transition: all 0.2s ease !important;
    }
    
    .mobile-sidebar-menu a.active {
        background: #e8f3ff !important;
        color: #1e80ff !important;
        font-weight: 600 !important;
    }
    
    .mobile-sidebar-menu a i {
        margin-right: 12px !important;
        width: 20px !important;
        text-align: center !important;
        color: #86909c !important;
        font-size: 16px !important;
    }
    
    .mobile-sidebar-menu a.active i {
        color: #1e80ff !important;
    }
    
    .mobile-sidebar-overlay {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(0, 0, 0, 0.5) !important;
        z-index: 9997 !important;
        opacity: 0 !important;
        transition: opacity 0.3s ease !important;
    }
    
    .mobile-sidebar-overlay.active {
        display: block !important;
        opacity: 1 !important;
    }
}

.content-wrap {
    display: flex;
    margin-top: 20px;
    gap: 20px;
}

.content {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 300px;
    flex-shrink: 0;
}

.section-info {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    padding: 24px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.vieuttitle {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
    font-weight: bold;
}

.vieu-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 文章标题和排序控制区域 */
.mac-articles-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 12px 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    border: 1px solid #e8e8e8;
}

.mac-articles-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mac-title-bar {
    width: 3px;
    height: 18px;
    background: linear-gradient(to bottom, #4e89ff 0%, #3d7ce6 100%);
    border-radius: 2px;
}

.mac-title-text {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: -0.2px;
}

.mac-sort-controls {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 6px;
    padding: 3px;
}

.mac-sort-item {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 14px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #666;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    position: relative;
}

.mac-sort-item:hover {
    background: rgba(78, 137, 255, 0.08);
    color: #4e89ff;
}

.mac-sort-item.active {
    background: #4e89ff;
    color: #ffffff;
    font-weight: 600;
}

.mac-sort-label {
    white-space: nowrap;
}

.mac-sort-item i {
    font-size: 11px;
}

/* macOS风格文章卡片网格布局 */
.mac-article-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-bottom: 30px;
    padding: 0;
}

/* macOS风格文章卡片 */
.mac-article-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mac-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.08);
}

/* macOS窗口控制按钮 */
.mac-window-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 12px 12px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.mac-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.mac-dot-red {
    background: #ff5f57;
    box-shadow: 0 0 0 1px rgba(255, 95, 87, 0.3);
}

.mac-dot-yellow {
    background: #ffbd2e;
    box-shadow: 0 0 0 1px rgba(255, 189, 46, 0.3);
}

.mac-dot-green {
    background: #28ca42;
    box-shadow: 0 0 0 1px rgba(40, 202, 66, 0.3);
}

.mac-dot:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

/* 卡片图片区域 */
.mac-card-image {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
    background: #ffffff;
    padding: 8px;
    box-sizing: border-box;
}

.mac-card-image a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.mac-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mac-article-card:hover .mac-thumb {
    transform: scale(1.05);
}

.mac-placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    font-size: 24px;
    opacity: 0.7;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mac-sticky-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(255, 107, 107, 0.3);
    z-index: 10;
}

/* 卡片标题 */
.mac-card-title {
    padding: 10px 10px 6px;
    flex: 1;
}

.mac-card-title h2 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
}

.mac-card-title h2 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mac-card-title h2 a:hover {
    color: #4e89ff;
}

/* 标签区域 */
.mac-card-tags {
    padding: 0 10px 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.mac-tag {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.mac-tag-primary {
    background: #e8f4fd;
    color: #4e89ff;
    border: 1px solid #d0e7f9;
}

.mac-tag-primary:hover {
    background: #d0e7f9;
    color: #3d7ce6;
    transform: translateY(-1px);
}

.mac-tag-secondary {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #e0e0e0;
}

.mac-tag-secondary:hover {
    background: #e8e8e8;
    color: #333;
    transform: translateY(-1px);
}

.mac-tag i {
    font-size: 7px;
}

/* 卡片底部 */
.mac-card-footer {
    padding: 8px 10px 10px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fafafa;
    margin-top: auto;
}

.mac-author-info {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mac-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.mac-author-name {
    font-size: 10px;
    font-weight: 500;
    color: #333;
}

.mac-stats {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mac-stat-item {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 9px;
    color: #666;
    font-weight: 500;
}

.mac-stat-item i {
    font-size: 8px;
    color: #999;
}

.mac-stat-item:hover {
    color: #4e89ff;
}

.mac-stat-item:hover i {
    color: #4e89ff;
}

/* 点赞按钮样式 */
.mac-like-btn {
    cursor: pointer;
    transition: all 0.2s ease;
}

.mac-like-btn:hover {
    color: #ff4757 !important;
    transform: scale(1.1);
}

.mac-like-btn:hover i {
    color: #ff4757 !important;
}

.mac-like-btn.liked {
    color: #ff4757 !important;
}

.mac-like-btn.liked i {
    color: #ff4757 !important;
}

.mac-like-btn.liked:hover {
    color: #ff3742 !important;
}

.mac-like-btn.liked:hover i {
    color: #ff3742 !important;
}

@media (max-width: 768px) {
    .mac-articles-header {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        margin-bottom: 16px;
        padding: 12px 14px;
    }
    
    .mac-articles-title {
        gap: 6px;
        flex-shrink: 0;
    }
    
    .mac-title-bar {
        width: 3px;
        height: 14px;
    }
    
    .mac-title-text {
        font-size: 14px;
        white-space: nowrap;
    }
    
    .mac-sort-controls {
        flex: 1;
        justify-content: flex-end;
        padding: 2px;
        gap: 1px;
    }
    
    .mac-sort-item {
        padding: 3px 6px;
        font-size: 10px;
        flex: 0 0 auto;
        justify-content: center;
        min-width: 40px;
    }
    
    .mac-article-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .mac-article-card {
        border-radius: 6px;
    }
    
    .mac-window-controls {
        padding: 10px 10px 10px;
    }
    
    .mac-dot {
        width: 8px;
        height: 8px;
    }
    
    .mac-card-image {
        height: 100px;
        padding: 6px;
    }
    
    .mac-card-title {
        padding: 6px 8px 4px;
    }
    
    .mac-card-title h2 {
        font-size: 11px;
    }
    
    .mac-card-tags {
        padding: 0 8px 6px;
        gap: 3px;
    }
    
    .mac-tag {
        font-size: 8px;
        padding: 2px 4px;
    }
    
    .mac-card-footer {
        padding: 6px 8px 8px;
    }
    
    .mac-avatar {
        width: 16px;
        height: 16px;
    }
    
    .mac-author-name {
        font-size: 9px;
    }
    
    .mac-stats {
        gap: 6px;
    }
    
    .mac-stat-item {
        font-size: 8px;
    }
    
    .mac-stat-item i {
        font-size: 7px;
    }
    
    .mac-sticky-badge {
        top: 10px;
        left: 10px;
        font-size: 8px;
        padding: 3px 6px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .mac-articles-header {
        padding: 10px 18px;
        margin-bottom: 20px;
    }
    
    .mac-title-text {
        font-size: 15px;
    }
    
    .mac-sort-item {
        padding: 5px 12px;
        font-size: 12px;
    }
    
    .mac-article-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
}

@media (min-width: 1025px) and (max-width: 1200px) {
    .mac-article-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 12px;
    }
}

@media (min-width: 1201px) {
    .mac-article-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 12px;
    }
}

.new_article {
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.search-page-form {
    margin: 20px 0;
}

.search-page-form .search-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.search-page-form .search-btn {
    margin-left: 10px;
}

.search-result-info {
    padding: 15px;
    background: #f8f9fa;
    margin-bottom: 20px;
    border-radius: 5px;
    color: #666;
}

.new_article .excerpt {
    margin-bottom: 20px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 8px;
    margin: 20px 0;
}

.empty-state p {
    color: #999;
    font-size: 16px;
}

.error-page {
    padding: 40px 0;
}

.error-box {
    text-align: center;
    background: #fff;
    padding: 80px 40px;
    border-radius: 8px;
    box-shadow: 0 0px 20px rgba(160,160,160,0.1);
}

.error-title {
    font-size: 120px;
    color: #4e89ff;
    margin-bottom: 20px;
    font-weight: bold;
}

.error-desc {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.comments-box {
    background: #fff;
    padding: 30px;
    margin-top: 30px;
    border-radius: 5px;
    box-shadow: 0 0px 20px rgba(160,160,160,0.1);
}

.comments-box .title {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.comments-box .title .count {
    color: #999;
    font-size: 16px;
}

.comment-form-box {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
}

.comment-form .form-group {
    margin-bottom: 15px;
}

.comment-form .form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.comment-form textarea.form-control {
    resize: vertical;
}

.comment-item {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-header {
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 600;
    color: #333;
    margin-right: 15px;
}

.comment-time {
    font-size: 12px;
    color: #999;
}

.comment-content {
    color: #666;
    line-height: 1.6;
}

.article-content {
    background: #fff;
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 0px 20px rgba(160,160,160,0.1);
}

.article-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.article-title {
    font-size: 32px;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.4;
}

.article-meta {
    color: #999;
    font-size: 14px;
}

.article-meta span {
    margin-right: 15px;
}

.article-meta .category a {
    color: #4e89ff;
}

.article-meta .category a:hover {
    text-decoration: underline;
}

.btn-primary {
    background: #4e89ff;
    border: none;
}

.btn-primary:hover {
    background: #3782c7;
    opacity: 0.9;
}

.widget {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: saturate(180%) blur(20px) !important;
    -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

.widget .title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.widget .title i {
    color: #4e89ff;
    margin-right: 5px;
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: #333;
    text-decoration: none;
    display: block;
    transition: color 0.3s;
}

.widget ul li a:hover {
    color: #4e89ff;
}

.widget ul li i {
    color: #999;
    margin-right: 8px;
    width: 14px;
    text-align: center;
}

.site-search-form {
    display: flex;
    gap: 8px;
}

.site-search-form .search-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.site-search-form .search-input:focus {
    outline: none;
    border-color: #4e89ff;
}

.site-search-form .search-btn {
    padding: 10px 20px;
    background: #4e89ff;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.site-search-form .search-btn:hover {
    background: #3782c7;
}

.widget_categories .count {
    float: right;
    color: #999;
    font-size: 12px;
}
.widget_ui_posts li {
    border-bottom: 1px solid #f0f0f0;
    padding: 10px 0;
}

.widget_ui_posts li:first-child {
    padding-top: 0;
}

.widget_ui_posts li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.widget_ui_posts li a {
    display: block !important;
    padding: 0 !important;
    color: #333;
    text-decoration: none;
    transition: all 0.15s ease;
}

.widget_ui_posts li a:hover {
    padding-left: 5px !important;
}

.widget_ui_posts .thumbnail {
    display: none !important;
}

.widget_ui_posts li a > i.fa-file-text-o {
    color: #4e88fe;
    font-size: 12px;
    margin-right: 6px;
    vertical-align: middle;
}

.widget_ui_posts .text {
    color: #333;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 400;
    transition: color 0.15s ease;
    display: inline;
    vertical-align: middle;
}

.widget_ui_posts li a:hover .text {
    color: #4e88fe !important;
}

.widget_ui_posts .muted {
    font-size: 11px;
    color: #999;
    padding-left: 0;
    display: block;
    margin-top: 4px;
}

.widget_ui_posts .muted i {
    margin-right: 4px;
    font-size: 11px;
}

/* ==================== 专业Footer设计 ==================== */
#footer {
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
    border-top: 1px solid #e8e8e8;
    margin-top: auto;
    width: 100%;
    position: relative;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

/* 主要内容区域 */
.footer-main {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 60px;
    padding: 60px 0 40px;
    border-bottom: 1px solid #e8e8e8;
}

/* 品牌区域 */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    display: inline-block;
    width: fit-content;
}

.footer-logo img {
    height: 42px;
    width: auto;
    filter: brightness(0) saturate(100%) invert(12%) sepia(8%) saturate(1085%) hue-rotate(169deg) brightness(97%) contrast(92%);
}

.footer-site-name {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.footer-description {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 0;
    max-width: 280px;
}

/* 社交媒体图标 */
.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f5f5f5;
    color: #666;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
}

.social-link:hover {
    background: #4e89ff;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(78, 137, 255, 0.3);
}

/* 链接组 */
.footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    letter-spacing: -0.2px;
    position: relative;
    padding-bottom: 12px;
}

.footer-column-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 3px;
    background: linear-gradient(90deg, #4e89ff 0%, transparent 100%);
    border-radius: 2px;
}

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link-list li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    transition: all 0.2s ease;
    position: relative;
}

.footer-link-list li a i {
    font-size: 12px;
    color: #4e89ff;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.footer-link-list li a:hover {
    color: #4e89ff;
    padding-left: 8px;
}

.footer-link-list li a:hover i {
    opacity: 1;
}

/* 底部版权区域 */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    gap: 20px;
}

.footer-copyright {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-copyright p {
    margin: 0;
    font-size: 14px;
    color: #999;
    line-height: 1;
}

.footer-divider {
    color: #ddd;
    user-select: none;
    font-size: 12px;
}

.icp-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.icp-link:hover {
    color: #4e89ff;
}

.icp-link i {
    font-size: 13px;
}

.footer-stats {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-stats .stat-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #999;
    font-size: 13px;
    white-space: nowrap;
}

.footer-stats .stat-item i {
    font-size: 13px;
    color: #bbb;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    right: 32px;
    bottom: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    color: #4e89ff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    z-index: 999;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #4e89ff;
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(78, 137, 255, 0.35);
}

.back-to-top:active {
    transform: translateY(-2px);
}

/* 响应式设计 - 平板 */
@media (max-width: 1024px) {
    .footer-container {
        padding: 0 24px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 0 30px;
    }
    
    .footer-links-group {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .footer-bottom {
        padding: 20px 0;
    }
    
    .back-to-top {
        right: 24px;
        bottom: 24px;
    }
}

/* 响应式设计 - 移动端 */
@media (max-width: 768px) {
    body > section.container {
        margin-bottom: 40px !important;
    }
    
    .footer-container {
        padding: 0 18px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px 0 20px;
        border-bottom: none;
    }
    
    /* 品牌区域 - 简化 */
    .footer-brand {
        gap: 10px;
        text-align: center;
    }
    
    .footer-logo {
        display: none; /* 移动端隐藏Logo */
    }
    
    .footer-site-name {
        font-size: 18px;
    }
    
    .footer-description {
        display: none; /* 移动端隐藏描述 */
    }
    
    .footer-social {
        gap: 8px;
        margin-top: 0;
        justify-content: center;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 14px;
        border-radius: 6px;
    }
    
    /* 链接区域 - 折叠式设计 */
    .footer-links-group {
        display: none; /* 移动端隐藏详细链接 */
    }
    
    /* 移动端快捷链接 */
    .footer-main::after {
        content: '';
        display: block;
        width: 100%;
        height: 1px;
        background: #e8e8e8;
        margin: 20px 0 0;
    }
    
    /* 底部版权区域 - 紧凑 */
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px 0;
        gap: 12px;
    }
    
    .footer-copyright {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
    
    .footer-copyright p {
        font-size: 12px;
    }
    
    .icp-link {
        font-size: 12px;
    }
    
    .footer-divider {
        display: none;
    }
    
    .footer-stats {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }
    
    .footer-stats .stat-item {
        font-size: 11px;
    }
    
    .footer-stats .stat-item i {
        font-size: 11px;
    }
    
    .back-to-top {
        right: 16px;
        bottom: 80px; /* 避开底部导航 */
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* 超小屏幕 */
@media (max-width: 480px) {
    .footer-main {
        padding: 24px 0 16px;
        gap: 16px;
    }
    
    .footer-site-name {
        font-size: 16px;
    }
    
    .social-link {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
    
    .footer-bottom {
        padding: 14px 0;
        gap: 10px;
    }
    
    .footer-copyright p,
    .icp-link {
        font-size: 11px;
    }
    
    .footer-stats .stat-item {
        font-size: 10px;
    }
    
    .back-to-top {
        right: 12px;
        bottom: 70px;
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
}
.excerpt {
    position: relative;
    padding: 0;
    margin-bottom: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    height: 100%;
}

.excerpt:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.85);
}

.excerpt .post-image-wrapper {
    position: relative;
    width: 100%;
    height: 120px;
    flex-shrink: 0;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.excerpt .focus {
    float: none;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f5f5f5;
}

.excerpt .focus::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: loading 1.5s infinite;
    z-index: 1;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

.excerpt .focus:has(img.loaded)::before {
    display: none;
}

.excerpt .post-sticky-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
}

.excerpt .post-category {
    margin-bottom: 6px;
}

.excerpt .cat-tag {
    display: inline-block;
    padding: 2px 6px;
    background: #e8f4fd;
    color: #4e89ff;
    font-size: 10px;
    font-weight: 500;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.excerpt .cat-tag:hover {
    background: #d0e7f9;
    color: #3d7ce6;
}

.excerpt .thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.excerpt .thumb.loaded {
    opacity: 1;
}

.excerpt:hover .thumb {
    transform: scale(1.08);
}

.excerpt-post {
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}


.excerpt .m-zd {
    color: #fff;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    border: none;
    box-shadow: 0 2px 6px rgba(255, 107, 107, 0.3);
    line-height: 1;
    height: 22px;
}


.excerpt h2 {
    display: block;
    font-size: 13px;
    line-height: 1.4;
    margin: 0 0 6px 0;
    font-weight: 600;
}

.excerpt h2 a {
    color: #2c3e50;
    font-size: 13px;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.excerpt h2 a:hover {
    color: #4e89ff;
}

.excerpt .note {
    display: none;
}

.excerpt .post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #999;
    font-size: 11px;
    padding-top: 6px;
    padding-left: 44px;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
    position: relative;
}

.excerpt .post-meta .author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    position: absolute;
    top: -18px;
    left: 0;
    z-index: 2;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.excerpt .post-meta .author-avatar .avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.excerpt .post-meta .date,
.excerpt .post-meta .view {
    display: inline-flex;
    align-items: center;
}

.excerpt .post-meta .date::before {
    content: "•";
    margin-right: 6px;
    color: #4e89ff;
    font-weight: bold;
}

.excerpt .post-meta .view::before {
    content: "•";
    margin-right: 6px;
    color: #4e89ff;
    font-weight: bold;
}

.excerpt.no-cover {
    display: flex;
    flex-direction: column;
}

.excerpt.no-cover .post-image-wrapper {
    height: 120px;
}

.excerpt.no-cover .focus {
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.excerpt.no-cover .focus::before {
    content: "图片加载失败";
    color: #999;
    font-size: 14px;
}

.excerpt.no-cover .excerpt-post {
    padding: 10px;
}

.excerpt.no-cover h2 {
    font-size: 13px;
}


@media (min-width: 769px) and (max-width: 1200px) {
    .new_article {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .excerpt h2 {
        font-size: 15px;
    }
    
    .excerpt h2 a {
        font-size: 15px;
    }
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 40px 0 20px 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    font-size: 14px;
    color: #666;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover {
    color: #4e89ff;
    border-color: #4e89ff;
    background: #f0f7ff;
}

.pagination span.current {
    color: #fff;
    background: #4e89ff;
    border-color: #4e89ff;
    font-weight: 500;
}

.pagination span:not(.current) {
    color: #999;
    border: none;
    background: transparent;
}

.pagination a:first-child,
.pagination a:last-child {
    font-weight: 500;
}

@media (max-width: 768px) {
    .pagination {
        gap: 6px;
        margin: 30px 0 20px 0;
    }
    
    .pagination a,
    .pagination span {
        min-width: 32px;
        height: 32px;
        padding: 0 10px;
        font-size: 13px;
    }
}

.content {
    padding-right: 0 !important;
}

.content-wrap {
    display: block !important;
}

.sidebar {
    display: none !important;
}
/* ==================== 墨星博客风格 - 文章详情页样式 ==================== */

/* 详情页容器 */
.post-detail-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* 面包屑导航 */
.zib-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
    background: #fff;
    border-radius: 8px;
    font-size: 13px;
    color: #666;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.zib-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.zib-breadcrumb a:hover {
    color: #4e89ff;
}

.zib-breadcrumb i {
    font-size: 12px;
}

.zib-breadcrumb > i {
    color: #ddd;
}

.zib-breadcrumb > span {
    color: #999;
}

/* 文章盒子 */
.zib-article-box {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
    overflow: hidden;
}

/* 文章头部 */
.zib-article-header {
    padding: 30px 30px 25px;
    border-bottom: 1px solid #f0f0f0;
}

.zib-article-title {
    font-size: 28px;
    line-height: 1.5;
    color: #333;
    font-weight: 700;
    margin: 0 0 20px 0;
    word-break: break-word;
}

.zib-article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.zib-author-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.zib-author-avatar {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: visible;
    flex-shrink: 0;
    text-decoration: none;
}

.zib-author-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.zib-author-badge {
    position: absolute;
    bottom: -3px;
    right: -3px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(255, 107, 107, 0.3);
    white-space: nowrap;
}

.zib-author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.zib-author-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    line-height: 1;
}

.zib-author-name:hover {
    color: #4e89ff;
}

.zib-author-level {
    font-size: 11px;
    color: #999;
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    line-height: 1;
    display: inline-block;
    width: fit-content;
}

.zib-meta-divider {
    width: 1px;
    height: 20px;
    background: #e0e0e0;
}

.zib-meta-items {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.zib-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #999;
}

.zib-meta-item i {
    font-size: 14px;
    color: #bbb;
}

/* 文章内容 */
.zib-article-content {
    padding: 30px;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    word-wrap: break-word;
}

.zib-article-content p {
    margin: 0 0 20px 0;
    line-height: 1.8;
}

.zib-article-content h1,
.zib-article-content h2,
.zib-article-content h3,
.zib-article-content h4,
.zib-article-content h5,
.zib-article-content h6 {
    margin: 30px 0 15px 0;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
}

.zib-article-content h2 {
    font-size: 22px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.zib-article-content h3 {
    font-size: 20px;
}

.zib-article-content h4 {
    font-size: 18px;
}

.zib-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 20px 0;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.zib-article-content blockquote {
    margin: 20px 0;
    padding: 15px 20px;
    background: #f8f9fa;
    border-left: 4px solid #4e89ff;
    color: #666;
    border-radius: 0 4px 4px 0;
}

.zib-article-content code {
    padding: 3px 8px;
    background: #f5f5f5;
    border-radius: 3px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    color: #e74c3c;
    border: 1px solid #e0e0e0;
}

.zib-article-content pre {
    margin: 20px 0;
    padding: 20px;
    background: #f3f3f3;
    border-radius: 6px;
    overflow-x: auto;
}

.zib-article-content pre code {
    padding: 0;
    background: none;
    color: #fff;
    border: none;
}

.zib-article-content ul,
.zib-article-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.zib-article-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.zib-article-content a {
    color: #4e89ff;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
}

.zib-article-content a:hover {
    color: #3d7ce6;
    border-bottom-color: #4e89ff;
}

/* 文章标签 */
.zib-article-tags {
    padding: 20px 30px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.zib-article-tags i {
    color: #999;
    font-size: 14px;
}

.zib-article-tags .zib-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    background: #f5f5f5;
    color: #666;
    border-radius: 3px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}

.zib-article-tags .zib-tag:hover {
    background: #e8f4fd;
    color: #4e89ff;
}

/* 文章操作按钮 */
.zib-article-actions {
    padding: 20px 30px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.zib-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #f5f5f5;
    border: none;
    border-radius: 50px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.zib-action-btn:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.zib-action-btn em {
    font-style: normal;
    font-weight: 600;
    margin-left: 4px;
}

.zib-action-like.active {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: #fff;
}

.zib-action-like.active:hover {
    background: linear-gradient(135deg, #ee5a6f, #dd4960);
}

/* 版权声明 */
.zib-copyright-box {
    margin: 20px 30px 30px;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid #4e89ff;
    border-radius: 0 6px 6px 0;
}

.zib-copyright-content {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
}

.zib-copyright-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.zib-copyright-title i {
    color: #4e89ff;
    font-size: 16px;
}

.zib-copyright-text {
    margin-bottom: 8px;
}

.zib-copyright-link {
    word-break: break-all;
}

.zib-copyright-link strong {
    font-weight: 600;
    color: #333;
}

.zib-copyright-link a {
    color: #4e89ff;
    text-decoration: none;
}

.zib-copyright-link a:hover {
    text-decoration: underline;
}

/* 评论区域 */
.zib-comments-box {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.zib-comments-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.zib-comments-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.zib-comments-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    background: #f5f5f5;
    color: #999;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 600;
}

/* 评论表单 */
.zib-comment-form-wrapper {
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 6px;
}

.zib-comment-alert {
    margin-bottom: 15px;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
    align-items: center;
    gap: 8px;
}

.zib-comment-alert.success {
    background: #e8ffe8;
    color: #00b42a;
    border: 1px solid #b3ffb3;
}

.zib-comment-alert.error {
    background: #ffece8;
    color: #f53f3f;
    border: 1px solid #ffcccc;
}

.zib-comment-alert i {
    font-size: 16px;
}

.zib-comment-form .zib-form-group {
    margin-bottom: 18px;
}

.zib-form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.zib-input-wrapper {
    position: relative;
}

.zib-form-input,
.zib-form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: all 0.2s;
    font-family: inherit;
    line-height: 1.5;
    box-sizing: border-box;
}

.zib-form-input::placeholder,
.zib-form-textarea::placeholder {
    color: #ccc;
}

.zib-form-input:hover,
.zib-form-textarea:hover {
    border-color: #bbb;
}

.zib-form-input:focus,
.zib-form-textarea:focus {
    outline: none;
    border-color: #4e89ff;
    box-shadow: 0 0 0 3px rgba(78, 137, 255, 0.1);
}

.zib-form-textarea {
    resize: vertical;
    min-height: 120px;
}

.zib-qq-status {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.zib-qq-status.status-loading {
    color: #4e89ff;
}

.zib-qq-status.status-success {
    color: #00b42a;
}

.zib-qq-status.status-error {
    color: #f53f3f;
}

.zib-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #4e89ff, #3d7ce6);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.zib-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(78, 137, 255, 0.3);
}

.zib-submit-btn:active {
    transform: translateY(0);
}

.zib-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.zib-submit-btn i {
    font-size: 13px;
}

/* 评论列表 */
.zib-comments-list {
    margin-top: 25px;
}

.zib-empty-comments {
    text-align: center;
    padding: 50px 20px;
    color: #999;
}

.zib-empty-comments i {
    font-size: 50px;
    color: #ddd;
    margin-bottom: 15px;
}

.zib-empty-comments p {
    margin: 10px 0 0 0;
    font-size: 15px;
}

.zib-comment-item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.zib-comment-item:first-child {
    padding-top: 0;
}

.zib-comment-item:last-child {
    border-bottom: none;
}

.zib-comment-avatar {
    flex-shrink: 0;
}

.zib-comment-avatar img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.zib-avatar-placeholder {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 20px;
}

.zib-comment-body {
    flex: 1;
    min-width: 0;
}

.zib-comment-head {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.zib-comment-author {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.zib-comment-time {
    font-size: 13px;
    color: #999;
}

.zib-comment-content {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    word-break: break-word;
}

.zib-admin-reply {
    margin-top: 12px;
    padding: 15px;
    background: #fff4f4;
    border-radius: 4px;
    border-left: 3px solid #ff6b6b;
}

.zib-reply-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.zib-reply-header i {
    color: #ff6b6b;
    font-size: 13px;
}

.zib-reply-header span:first-of-type {
    font-size: 13px;
    font-weight: 600;
    color: #ff6b6b;
}

.zib-reply-time {
    font-size: 12px;
    color: #999;
}

.zib-reply-content {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    word-break: break-word;
}

/* Toast消息 */
.zib-toast-message {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    padding: 14px 24px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-size: 14px;
    white-space: nowrap;
}

.zib-toast-message.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .post-detail-wrapper {
        padding: 12px 0;
    }
    
    .zib-breadcrumb {
        padding: 12px 15px;
        margin-bottom: 12px;
        font-size: 12px;
        border-radius: 0;
    }
    
    .zib-article-box {
        border-radius: 0;
        margin-bottom: 12px;
    }
    
    .zib-article-header {
        padding: 20px 18px 18px;
    }
    
    .zib-article-title {
        font-size: 22px;
        margin-bottom: 16px;
    }
    
    .zib-article-meta {
        gap: 12px;
    }
    
    .zib-author-meta {
        gap: 10px;
    }
    
    .zib-author-avatar {
        width: 42px;
        height: 42px;
    }
    
    .zib-author-badge {
        font-size: 9px;
        padding: 2px 5px;
    }
    
    .zib-author-name {
        font-size: 14px;
    }
    
    .zib-author-level {
        font-size: 10px;
    }
    
    .zib-meta-divider {
        display: none;
    }
    
    .zib-meta-items {
        gap: 12px;
    }
    
    .zib-meta-item {
        font-size: 12px;
    }
    
    .zib-article-content {
        padding: 20px 18px;
        font-size: 14px;
    }
    
    .zib-article-content h2 {
        font-size: 20px;
        margin: 24px 0 12px 0;
    }
    
    .zib-article-content h3 {
        font-size: 18px;
    }
    
    .zib-article-content h4 {
        font-size: 16px;
    }
    
    .zib-article-content img {
        margin: 16px 0;
    }
    
    .zib-article-tags {
        padding: 15px 18px;
    }
    
    .zib-article-actions {
        padding: 15px 18px;
        flex-wrap: wrap;
    }
    
    .zib-action-btn {
        flex: 1;
        padding: 10px 18px;
        font-size: 13px;
        justify-content: center;
    }
    
    .zib-copyright-box {
        margin: 18px;
        padding: 16px;
    }
    
    .zib-copyright-title {
        font-size: 13px;
    }
    
    .zib-copyright-content {
        font-size: 12px;
    }
    
    .zib-comments-box {
        border-radius: 0;
        padding: 20px 18px;
    }
    
    .zib-comments-header {
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    
    .zib-comments-title {
        font-size: 18px;
        gap: 8px;
    }
    
    .zib-comments-count {
        min-width: 22px;
        height: 22px;
        font-size: 12px;
    }
    
    .zib-comment-form-wrapper {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .zib-form-label {
        font-size: 13px;
    }
    
    .zib-form-input,
    .zib-form-textarea {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .zib-form-textarea {
        min-height: 100px;
    }
    
    .zib-qq-status {
        position: static;
        transform: none;
        margin-top: 8px;
    }
    
    .zib-submit-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }
    
    .zib-comments-list {
        margin-top: 20px;
    }
    
    .zib-empty-comments {
        padding: 40px 16px;
    }
    
    .zib-empty-comments i {
        font-size: 40px;
    }
    
    .zib-comment-item {
        gap: 12px;
        padding: 16px 0;
    }
    
    .zib-comment-avatar img,
    .zib-avatar-placeholder {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
    
    .zib-comment-author {
        font-size: 13px;
    }
    
    .zib-comment-time {
        font-size: 12px;
    }
    
    .zib-comment-content {
        font-size: 14px;
    }
    
    .zib-admin-reply {
        margin-top: 10px;
        padding: 12px;
    }
    
    .zib-reply-header span:first-of-type {
        font-size: 12px;
    }
    
    .zib-reply-time {
        font-size: 11px;
    }
    
    .zib-reply-content {
        font-size: 13px;
    }
    
    .zib-toast-message {
        top: 60px;
        max-width: 90%;
        white-space: normal;
        text-align: center;
        padding: 12px 20px;
    }
}

/* 平板端适配 */
@media (min-width: 769px) and (max-width: 1024px) {
    .post-detail-wrapper {
        max-width: 900px;
        padding: 18px 0;
    }
    
    .zib-article-header,
    .zib-article-content,
    .zib-article-tags,
    .zib-article-actions {
        padding-left: 26px;
        padding-right: 26px;
    }
    
    .zib-download-box {
        margin: 26px 26px;
    }
    
    .zib-copyright-box {
        margin-left: 26px;
        margin-right: 26px;
    }
    
    .zib-comments-box {
        padding: 26px;
    }
}

/* 精选栏目区域 */
.featured-categories {
    margin: 60px 0 40px 0;
    padding: 0;
}

.featured-categories-header {
    text-align: center;
    margin-bottom: 40px;
}

.featured-categories-title {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.featured-categories-subtitle {
    font-size: 15px;
    color: #666;
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
}

.featured-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
}

.featured-category-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.featured-category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #d0d7de;
}

.category-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 16px;
    padding: 0 20px;
}

.category-info {
    flex: 1;
    min-width: 0;
}

.category-name {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.category-name a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
}

.category-name a:hover {
    color: #4e89ff;
}

.category-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.stat-item i {
    font-size: 12px;
    color: #999;
}

.category-avatar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: visible;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #e8e8e8;
    flex-shrink: 0;
    position: relative;
}

.category-avatar-btn:hover {
    transform: scale(1.1);
    border-color: #4e89ff;
    box-shadow: 0 4px 12px rgba(78, 137, 255, 0.3);
}

.category-avatar-btn .avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.verified-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    background: #ff6b35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(255, 107, 53, 0.3);
    z-index: 10;
}

.v-letter {
    font-size: 8px;
    color: #ffffff;
    font-weight: 700;
    font-family: Arial, sans-serif;
    text-shadow: none;
    line-height: 1;
}

.category-posts {
    margin-top: 4px;
    padding: 0 20px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.posts-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.post-item {
    border-bottom: 1px solid #f0f0f0;
}

.post-item:first-child .post-link {
    padding-top: 4px;
}

.post-item:last-child {
    border-bottom: none;
}

.post-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.post-dot {
    color: #d0d7de;
    font-size: 18px;
    margin-right: 8px;
    flex-shrink: 0;
    line-height: 1;
}

.post-link:hover {
    background: #f8f9fa;
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
    border-radius: 6px;
}

.post-title {
    flex: 1;
    color: #1a1a1a;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 12px;
    transition: color 0.2s ease;
}

.post-link:hover .post-title {
    color: #4e89ff;
}

.post-date {
    flex-shrink: 0;
    color: #8c8c8c;
    font-size: 12px;
    font-weight: 400;
}

@media (max-width: 768px) {
    .featured-categories {
        margin: 40px 0 20px 0;
    }
    
    .featured-categories-header {
        margin-bottom: 24px;
    }
    
    .featured-categories-title {
        font-size: 24px;
    }
    
    .featured-categories-subtitle {
        font-size: 14px;
    }
    
    .featured-categories-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .featured-category-card {
        padding: 0;
        border-radius: 8px;
        min-height: auto;
    }
    
    .category-card-header {
        margin-bottom: 12px;
        gap: 12px;
        padding: 0 16px;
    }
    
    .category-name {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .category-stats {
        gap: 10px;
    }
    
    .stat-item {
        font-size: 12px;
    }
    
    .category-avatar-btn {
        width: 36px;
        height: 36px;
    }
    
    .verified-badge {
        width: 12px;
        height: 12px;
        bottom: -1px;
        right: -1px;
        box-shadow: 0 1px 3px rgba(255, 107, 53, 0.4);
    }
    
    .v-letter {
        font-size: 7px;
        font-weight: 700;
    }
    
    .category-posts {
        margin-top: 0;
        padding: 0 16px 16px 16px;
    }
    
    .post-link {
        padding: 8px 0;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
    }
    
    .post-item:first-child .post-link {
        padding-top: 2px;
    }
    
    .post-item:last-child .post-link {
        padding-bottom: 2px;
    }
    
    .post-link:hover {
        margin: 0 -16px;
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .post-dot {
        font-size: 16px;
        margin-right: 6px;
        flex-shrink: 0 !important;
        display: inline-block !important;
    }
    
    .post-title {
        font-size: 13px;
        flex: 1 !important;
        margin-right: 8px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
    
    .post-date {
        font-size: 11px;
        flex-shrink: 0 !important;
        display: inline-block !important;
    }
    
    .featured-categories:last-child {
        margin-bottom: 20px;
    }
    
    .featured-category-card:last-child {
        margin-bottom: 0;
    }
    
    .posts-list {
        gap: 0;
    }
    
    .post-item:last-child {
        border-bottom: none;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .featured-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .featured-category-card {
        padding: 0;
    }
    
    .category-card-header {
        padding: 0 22px;
    }
    
    .category-posts {
        padding: 0 22px 22px 22px;
    }
    
    .category-name {
        font-size: 17px;
    }
    
    .post-title {
        font-size: 13px;
    }
}

@media (min-width: 1025px) and (max-width: 1199px) {
    .featured-categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1200px) {
    .featured-categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

@media (min-width: 1400px) {
    .featured-categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 28px;
    }
    
    .featured-category-card {
        padding: 0;
    }
    
    .category-card-header {
        padding: 0 24px;
    }
    
    .category-posts {
        padding: 0 24px 24px 24px;
    }
}

/* 资源下载区域样式 - 简洁大厂风格 */
.zib-download-box {
    margin: 30px 30px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    padding: 0;
    overflow: hidden;
}

.zib-download-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: #fafafa;
    border-bottom: 1px solid #e8e8e8;
    font-size: 16px;
    font-weight: 500;
    color: #343a3c;
}

.zib-download-header i {
    font-size: 18px;
    color: #4e89ff;
}

.zib-download-content {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.zib-download-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.zib-download-name {
    font-size: 16px;
    font-weight: 500;
    color: #343a3c;
    display: flex;
    align-items: center;
    gap: 8px;
}

.zib-download-name i {
    color: #4e89ff;
    font-size: 16px;
}

.zib-download-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: #999;
}

.zib-download-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.zib-download-meta-item i {
    font-size: 14px;
}

.zib-download-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.zib-download-price {
    text-align: right;
}

.price-label {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
}

.price-value {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #ff5e52;
    line-height: 1;
}

.zib-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: #4e89ff;
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    min-width: 120px;
    justify-content: center;
}

.zib-download-btn:hover {
    background: #3782c7;
    color: white;
    text-decoration: none;
}

.zib-download-btn.free {
    background: #52c41a;
}

.zib-download-btn.free:hover {
    background: #389e0d;
}

.zib-download-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 支付弹窗样式 */
.download-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.download-modal.active {
    display: flex;
}

.download-modal-content {
    background: white;
    border-radius: 4px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.download-modal-header {
    padding: 20px;
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.download-modal-title {
    font-size: 18px;
    font-weight: 500;
    color: #343a3c;
}

.download-modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    transition: all 0.3s;
}

.download-modal-close:hover {
    background: #f5f5f5;
    color: #666;
}

.download-modal-body {
    padding: 30px 20px;
}

.contact-form {
    margin-bottom: 30px;
}

.contact-form-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.contact-form-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #e8e8e8;
    border-radius: 2px;
    font-size: 14px;
    transition: all 0.3s;
}

.contact-input:focus {
    outline: none;
    border-color: #4e89ff;
}

.contact-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-toggle-btn {
    flex: 1;
    padding: 8px;
    border: 1px solid #e8e8e8;
    background: white;
    border-radius: 2px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-toggle-btn.active {
    border-color: #4e89ff;
    color: #4e89ff;
    background: #f0f5ff;
}

.order-info {
    padding: 20px;
    background: #fafafa;
    border-radius: 4px;
    margin-bottom: 20px;
}

.order-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.order-info-label {
    font-size: 14px;
    color: #666;
}

.order-info-value {
    font-size: 14px;
    color: #343a3c;
    font-weight: 500;
}

.order-info-value.price {
    font-size: 24px;
    color: #ff5e52;
}

.qr-code-section {
    text-align: center;
    padding: 30px 20px;
}

.qr-code-box {
    display: inline-block;
    padding: 20px;
    background: #fafafa;
    border-radius: 4px;
    margin: 20px 0;
}

#qrCodeImg {
    width: 240px;
    height: 240px;
}

.qr-code-tips {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.payment-status {
    text-align: center;
    padding: 20px;
}

.status-checking {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #4e89ff;
    font-size: 14px;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #e8e8e8;
    border-top-color: #4e89ff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.countdown {
    margin-top: 15px;
    font-size: 13px;
    color: #999;
}

.success-section {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: #52c41a;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.success-icon i {
    font-size: 32px;
    color: white;
}

.success-title {
    font-size: 20px;
    font-weight: 500;
    color: #343a3c;
    margin-bottom: 10px;
}

.success-desc {
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
}

.download-link-box {
    padding: 20px;
    background: #fafafa;
    border-radius: 4px;
    text-align: left;
    margin-top: 20px;
}

.download-link-box code {
    display: block;
    padding: 12px;
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 2px;
    word-break: break-all;
    font-size: 13px;
    color: #666;
    margin-top: 8px;
}

/* 订单查询入口 */
.order-query-entrance {
    margin: 20px 0;
    text-align: center;
}

.order-query-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4e89ff;
    font-size: 14px;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #4e89ff;
    border-radius: 2px;
    transition: all 0.3s;
}

.order-query-link:hover {
    background: #4e89ff;
    color: white;
    text-decoration: none;
}

/* 响应式 */
@media (max-width: 768px) {
    .zib-download-box {
        margin: 20px 18px;
    }
    
    .zib-download-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .zib-download-action {
        align-items: stretch;
    }
    
    .zib-download-price {
        text-align: left;
    }
    
    .zib-download-btn {
        width: 100%;
    }
    
    .download-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .download-modal-body {
        padding: 20px 15px;
    }
    
    #qrCodeImg {
        width: 200px;
        height: 200px;
    }
}


