/* --- 基础全局初始化 --- */
:root {
    --main-blue: #1e88e5;
    --dark-blue: #0d47a1;
    --accent-blue: #2979ff;
    --bg-gray: #f4f7f9;
}

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

body { 
    font-family: "Microsoft YaHei", sans-serif; 
    background-color: var(--bg-gray); 
    color: #333; 
    line-height: 1.6; 
}

html {
    scroll-behavior: smooth;
}

#download,
#changelog,
#latest-news {
    scroll-margin-top: 86px;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }

/* --- 1. 顶部导航栏：解决 901my 垂直居中 --- */
header { 
    background: #fff; 
    border-bottom: 2px solid var(--main-blue); 
    height: 65px; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    width: 100%;
}

.nav-wrapper { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px;
    height: 65px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { 
    font-size: 26px; 
    font-weight: bold; 
    color: var(--dark-blue); 
    line-height: 65px; /* 强制文字在 65px 高度内垂直居中 */
    height: 65px;
    display: flex;
    align-items: center;
}

.top-nav, .top-nav ul { 
    display: flex;
    list-style: none;
    height: 65px;
}

.top-nav a { 
    display: flex;
    align-items: center;
    padding: 0 18px;
    font-weight: bold;
    font-size: 15px;
    color: #444;
    height: 65px;
}

.top-nav a:hover { color: var(--main-blue); background: rgba(30,136,229,0.05); }

/* --- 2. 首页 & 文章页主体区域 --- */
.hero { 
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--main-blue) 100%); 
    color: white; 
    padding: 100px 0; 
    text-align: center; 
    clear: both;
}

.hero h1 { font-size: 48px; margin-bottom: 10px; }

.hero p {
    font-size: 18px;
    opacity: 0.92;
}

.single-hero-inner {
    max-width: 960px;
    margin: 0 auto;
}

.btn-down { 
    display: inline-block; 
    background: #fff; 
    color: var(--dark-blue); 
    padding: 14px 48px; 
    border-radius: 50px; 
    font-weight: bold; 
    font-size: 22px;
    margin-top: 25px; 
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.btn-down:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0,0,0,0.24);
}

.download-meta {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.download-meta span {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 13px;
}

.main-wrapper { 
    min-height: 600px; 
    padding: 40px 20px !important;
    max-width: 1200px;
    margin: 0 auto;
}

.post-article { 
    background: #fff; 
    padding: 35px; 
    border-radius: 12px; 
    box-shadow: 0 2px 15px rgba(0,0,0,0.05); 
}

/* --- 3. 首页卡片与列表 --- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1200px; margin: -40px auto 40px; padding: 0 20px; position: relative; z-index: 10; }
.feature-item { background: white; padding: 25px; border-radius: 12px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-top: 4px solid var(--main-blue); }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 1200px; margin: 0 auto 50px; padding: 0 20px; }
.list-box { background: white; border-radius: 12px; box-shadow: 0 2px 15px rgba(0,0,0,0.05); overflow: hidden; }
.list-header { background: #f8fbff; padding: 15px 20px; border-bottom: 1px solid #eef2f7; font-weight: bold; color: var(--dark-blue); }
.list-body li { display: flex; justify-content: space-between; padding: 12px 20px; border-bottom: 1px dashed #eee; font-size: 14px; }

.single-download-home {
    width: 100%;
    max-width: 1160px;
    margin: 34px auto 58px;
    padding: 0 20px;
}

.features-3col {
    max-width: none;
    margin: 0 0 26px;
    padding: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.single-panel {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 26px rgba(16, 40, 82, 0.08);
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid #edf2f8;
}

.single-panel-head {
    background: #f7faff;
    padding: 15px 20px;
    border-bottom: 1px solid #eef2f7;
    font-weight: bold;
    color: var(--dark-blue);
    font-size: 18px;
}

.single-log-list {
    list-style: none;
    padding: 10px 0;
}

.single-log-list li {
    padding: 14px 20px;
    border-bottom: 1px dashed #eee;
    font-size: 15px;
}

.recent-post-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.recent-post-list li a {
    color: #1f2d3d;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recent-post-list li a:hover {
    color: var(--main-blue);
}

.recent-post-list li span {
    color: #9aa5b1;
    font-size: 12px;
    flex-shrink: 0;
}

.single-log-list li:last-child {
    border-bottom: none;
}

.backup-links {
    padding: 16px 20px 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.backup-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 20px;
    background: #edf4ff;
    color: var(--dark-blue);
    font-size: 14px;
    font-weight: bold;
}

.backup-link:hover {
    background: #dcecff;
}

.ad-slot {
    margin: 18px 0;
    border: 1px solid #e8eef8;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(22, 48, 94, 0.06);
    overflow: hidden;
}

.ad-slot iframe {
    display: block;
    width: 100%;
    height: 580px;
    border: 0;
}

.ad-slot-home {
    margin-top: 4px;
    margin-bottom: 20px;
}

.ad-slot-article {
    max-width: 1000px;
    margin: 16px auto 0;
}

/* --- 4. 底部 Footer：终极修复高度与断层 --- */
footer { 
    background: #2c3e50 !important; 
    color: #bdc3c7 !important; 
    padding: 35px 0 !important; /* 这里控制整体厚度，35px-40px 最协调 */
    text-align: center; 
    width: 100%;
    clear: both;
    display: block !important;
}

/* 核心：强制内部所有层级透明，消除白条断层 */
footer div, footer .container, footer .wrap, footer .footer {
    background: transparent !important;
    background-color: transparent !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 auto !important;
    border: none !important;
    box-shadow: none !important;
}

footer p { 
    margin: 0 !important; 
    padding: 5px 0 !important; /* 文字行间距 */
    line-height: 1.6;
}

.site-footer {
    background: linear-gradient(180deg, #10223a 0%, #0d1c31 100%) !important;
    color: #c9d4e6 !important;
    padding: 28px 0 !important;
    text-align: left;
}

.site-footer .site-footer-inner {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto !important;
    padding: 0 24px !important;
    display: grid;
    grid-template-columns: 260px 1fr 320px;
    align-items: center;
    gap: 24px;
}

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

.site-footer .footer-brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: linear-gradient(180deg, #2f8dff 0%, #1b5eff 100%);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 38px;
    text-align: center;
    box-shadow: 0 8px 18px rgba(24, 95, 255, 0.3);
}

.site-footer .footer-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.site-footer .footer-brand-copy strong {
    color: #fff;
    font-size: 18px;
}

.site-footer .footer-brand-copy em {
    margin-top: 3px;
    color: #8fa0ba;
    font-size: 12px;
    font-style: normal;
}

.site-footer .footer-center {
    text-align: center;
    color: #aebbd0;
    font-size: 13px;
}

.site-footer .footer-center p {
    margin: 0 !important;
    padding: 2px 0 !important;
}

.site-footer .footer-center a {
    color: #57a1ff;
}

.site-footer .footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 22px;
}

.site-footer .footer-links a {
    color: #d6dfec;
    font-size: 14px;
}

.site-footer .footer-links a:hover {
    color: #57a1ff;
}

/* --- 5. 移动端适配 --- */
@media (max-width: 768px) { 
    .features, .content-grid { grid-template-columns: 1fr; } 
    .top-nav { display: none; } 
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 15px; }
    footer { padding: 30px 0 !important; }
    .download-meta { justify-content: flex-start; }
    .features-3col {
        grid-template-columns: 1fr;
    }
    .single-download-home {
        margin-top: 24px;
        margin-bottom: 40px;
        padding: 0 14px;
    }
    .recent-post-list li {
        flex-wrap: wrap;
        gap: 6px;
    }

    .ad-slot iframe {
        height: 520px;
    }

    .site-footer .site-footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .site-footer .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px;
    }
}


        /* 分类页专用样式 */
        body { background-color: #f4f7f9; }
        .main-wrapper { padding: 30px 0; min-height: 600px; }
        .catalog-container { max-width: 1000px; margin: 0 auto; }
        
        /* 面包屑导航 */
        .breadcrumb { 
            background: #fff; 
            padding: 12px 20px; 
            border-radius: 6px; 
            margin-bottom: 25px; 
            box-shadow: 0 2px 5px rgba(0,0,0,0.03); 
            font-size: 14px; 
            color: #666; 
            border-left: 4px solid var(--main-blue);
        }
        .breadcrumb a { color: var(--main-blue); font-weight: bold; }

        /* 文章列表项美化 */
        .post-item { 
            background: #fff; 
            padding: 25px; 
            border-radius: 12px; 
            margin-bottom: 20px; 
            box-shadow: 0 4px 15px rgba(0,0,0,0.04); 
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s ease;
        }
        .post-item:hover { 
            transform: translateY(-5px); 
            box-shadow: 0 8px 25px rgba(30,136,229,0.15); 
        }

        .post-info { flex: 1; padding-right: 30px; }
        .post-info h2 { font-size: 22px; margin-bottom: 12px; color: var(--dark-blue); }
        .post-info h2 a:hover { color: var(--accent-blue); }
        .post-info p { font-size: 14px; color: #777; line-height: 1.7; height: 48px; overflow: hidden; }

        .post-meta-right { text-align: right; min-width: 120px; }
        .date-box { font-size: 16px; font-weight: bold; color: #555; margin-bottom: 8px; }
        .view-count { font-size: 12px; color: #bbb; }
        
        .btn-more { 
            display: inline-block; 
            margin-top: 15px; 
            padding: 7px 18px; 
            background: var(--main-blue); 
            color: #fff !important; 
            border-radius: 4px; 
            font-size: 13px; 
            font-weight: bold;
        }

        /* 分页条美化 */
        .pagebar { text-align: center; margin-top: 50px; padding: 20px; }
        .pagebar span, .pagebar a { 
            display: inline-block; 
            margin: 0 4px; 
            padding: 10px 18px; 
            background: #fff; 
            border-radius: 6px; 
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            font-weight: bold;
            color: #666;
        }
        .pagebar .now-page { background: var(--main-blue); color: #fff; }
        .pagebar a:hover { background: var(--dark-blue); color: #fff; }

        @media (max-width: 768px) {
            .post-item { flex-direction: column; align-items: flex-start; }
            .post-meta-right { text-align: left; margin-top: 15px; border-top: 1px solid #eee; width: 100%; padding-top: 10px; }
        }


/* --- 顶部导航彻底对齐修复 --- */
header {
    height: 65px !important;
    background: #fff;
    border-bottom: 2px solid var(--main-blue);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* 核心：确保 nav-wrapper 内部所有元素垂直居中 */
.nav-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 65px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important; /* 强制垂直居中 */
}

/* Logo 居中修复 */
.logo {
    font-size: 26px;
    font-weight: bold;
    color: var(--dark-blue);
    display: flex !important;
    align-items: center !important;
    height: 65px !important;
    line-height: 1 !important; /* 消除默认行高偏移 */
    margin: 0 !important;
}

/* 导航容器居中 */
.top-nav {
    display: flex !important;
    align-items: center !important;
    height: 65px !important;
}

/* 首页按钮：拒绝圆形，恢复胶囊且上下居中 */
.top-nav a {
    background: var(--main-blue) !important;
    color: #fff !important;
    
    /* 1. 形状控制：取消所有写死的高度和宽度 */
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    
    /* 2. 居中控制：依靠 padding 撑开，让 flex 自动定位 */
    padding: 8px 24px !important;  
    border-radius: 50px !important; /* 大圆角实现胶囊感 */
    
    /* 3. 文字控制 */
    font-size: 14px !important;
    font-weight: bold !important;
    line-height: 1 !important;
    white-space: nowrap !important; /* 防止文字换行导致变形 */
    
    /* 4. 对齐补丁 */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    transition: all 0.3s ease;
}

.top-nav a:hover {
    background: var(--dark-blue) !important;
    transform: translateY(-1px);
}

/* ------------------------------
   单下载首页高保真样式（仅首页）
------------------------------ */
.single-download-homepage header {
    position: relative;
    border-bottom: 1px solid #dfe6f1;
    box-shadow: 0 3px 16px rgba(22, 49, 93, 0.08);
}

.single-download-homepage .nav-wrapper {
    max-width: 1320px;
    height: 72px !important;
    padding: 0 24px;
}

.single-download-homepage .site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.single-download-homepage .brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: linear-gradient(180deg, #2f8dff 0%, #1b5eff 100%);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 38px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(24, 95, 255, 0.35);
}

.single-download-homepage .brand-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}

.single-download-homepage .brand-copy strong {
    font-size: 18px;
    letter-spacing: 0.2px;
    color: #1b2b49;
}

.single-download-homepage .brand-copy em {
    margin-top: 2px;
    font-style: normal;
    font-size: 11px;
    color: #5f6f86;
    line-height: 1.2;
}

.single-download-homepage .top-nav,
.single-download-homepage .top-nav ul {
    display: inline-flex !important;
    align-items: center !important;
    height: auto !important;
    gap: 10px;
}

.single-download-homepage .top-nav a {
    background: transparent !important;
    color: #2d3950 !important;
    padding: 8px 10px !important;
    border-radius: 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.single-download-homepage .top-nav a.on,
.single-download-homepage .top-nav a:hover {
    color: #1f6bff !important;
    border-bottom-color: #1f6bff;
    transform: none;
}

.single-download-homepage .hero-pro {
    min-height: 420px;
    padding: 52px 0 34px;
    background:
        linear-gradient(116deg, rgba(120, 205, 255, 0.18) 12%, rgba(120, 205, 255, 0) 48%),
        linear-gradient(126deg, #2194ff 0%, #1460f2 48%, #1043d8 100%);
    position: relative;
    overflow: hidden;
}

.single-download-homepage .hero-pro::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.24) 0 2px, transparent 3px),
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2) 0 4px, transparent 5px),
        linear-gradient(130deg, rgba(255, 255, 255, 0.1) 0 11%, transparent 12% 100%);
    opacity: 0.72;
    pointer-events: none;
}

.single-download-homepage .single-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1160px;
}

.single-download-homepage .hero h1 {
    margin: 6px 0 10px;
    font-size: 64px;
    letter-spacing: 1px;
    text-shadow: 0 8px 18px rgba(9, 42, 122, 0.35);
}

.single-download-homepage .hero p {
    margin: 0;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.95);
}

.single-download-homepage .btn-down {
    margin-top: 26px;
    min-width: 320px;
    border-radius: 14px;
    padding: 14px 28px;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: linear-gradient(180deg, #4eb5ff 0%, #1f76ff 54%, #1a57eb 100%);
    box-shadow: 0 14px 30px rgba(8, 34, 110, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.35);
}

.single-download-homepage .download-ico {
    margin-right: 14px;
    font-size: 28px;
    line-height: 1;
}

.single-download-homepage .download-meta {
    margin: 30px auto 0;
    width: max-content;
    max-width: 100%;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    gap: 14px;
}

.single-download-homepage .download-meta span {
    background: transparent;
    border: none;
    padding: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
}

.single-download-homepage .download-meta b {
    margin-right: 6px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 700;
}

.single-download-homepage .single-download-home {
    max-width: 1180px;
    margin: 26px auto 64px;
}

.single-download-homepage .pro-features {
    gap: 18px;
}

.single-download-homepage .pro-features .feature-item {
    border-radius: 16px;
    border-top: none;
    padding: 18px 20px;
    position: relative;
    box-shadow: 0 10px 22px rgba(22, 48, 94, 0.08);
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
}

.single-download-homepage .feature-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    color: #2a74ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.single-download-homepage .feature-svg {
    width: 46px;
    height: 46px;
}

.single-download-homepage .feature-copy {
    flex: 1;
}

.single-download-homepage .feature-order {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f0f5ff;
    color: #8da5d8;
    font-size: 16px;
    line-height: 34px;
    text-align: center;
    font-weight: 700;
}

.single-download-homepage .pro-features h3 {
    margin: 0 0 4px;
    font-size: 16px;
    color: #1f2f4e;
}

.single-download-homepage .pro-features p {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    color: #556784;
}

.single-download-homepage .home-two-cols {
    margin-top: 18px;
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr 1fr;
}

.single-download-homepage .single-panel {
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(22, 48, 94, 0.08);
}

.single-download-homepage .single-panel-head {
    font-size: 18px;
    color: #16396e;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.single-download-homepage .single-panel-head span {
    position: relative;
    padding-left: 12px;
}

.single-download-homepage .single-panel-head span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 18px;
    transform: translateY(-50%);
    border-radius: 2px;
    background: #2a74ff;
}

.single-download-homepage .panel-more {
    font-size: 13px;
    color: #3c7bff;
}

.single-download-homepage .single-log-list li {
    font-size: 14px;
    padding: 14px 20px;
    color: #30425f;
}

.single-download-homepage .log-pro-list {
    list-style: none;
    padding: 10px 0;
}

.single-download-homepage .log-pro-list li {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px dashed #eef2f7;
}

.single-download-homepage .log-pro-list li:last-child {
    border-bottom: none;
}

.single-download-homepage .log-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2b78ff;
    flex-shrink: 0;
}

.single-download-homepage .log-badge {
    font-size: 12px;
    color: #3a74e6;
    background: #eaf1ff;
    border-radius: 12px;
    padding: 2px 8px;
    flex-shrink: 0;
}

.single-download-homepage .log-text {
    flex: 1;
    color: #495d7b;
    font-size: 13px;
}

.single-download-homepage .log-date {
    color: #9aabc4;
    font-size: 12px;
    flex-shrink: 0;
}

.single-download-homepage .backup-list {
    list-style: none;
    padding: 10px 0;
}

.single-download-homepage .backup-list li {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px dashed #e6ecf5;
}

.single-download-homepage .backup-list li:last-child {
    border-bottom: none;
}

.single-download-homepage .backup-ico {
    width: 24px;
    text-align: center;
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}

.single-download-homepage .backup-name {
    font-size: 14px;
    color: #32425e;
    flex: 1;
}

.single-download-homepage .backup-tag {
    font-size: 11px;
    color: #16a34a;
    background: #dcfce7;
    padding: 2px 8px;
    border-radius: 10px;
    flex-shrink: 0;
}

.single-download-homepage .backup-btn {
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid #b8cfff;
    color: #1c67f5;
    font-size: 13px;
    font-weight: 700;
    background: #f4f8ff;
    flex-shrink: 0;
}

.single-download-homepage .backup-btn:hover {
    background: #e8f1ff;
}

.single-download-homepage .recent-post-list li {
    padding: 20px 26px;
}

.single-download-homepage .recent-post-list li a {
    font-size: 14px;
}

.single-download-homepage .recent-post-list li span {
    font-size: 12px;
}

@media (max-width: 1200px) {
    .single-download-homepage .nav-wrapper {
        height: 72px !important;
    }

    .single-download-homepage .brand-copy strong {
        font-size: 22px;
    }

    .single-download-homepage .brand-copy em {
        font-size: 12px;
    }

    .single-download-homepage .top-nav a {
        font-size: 15px !important;
    }

    .single-download-homepage .hero-pro {
        min-height: 420px;
        padding: 42px 0 34px;
    }

    .single-download-homepage .hero h1 {
        font-size: 54px;
    }

    .single-download-homepage .hero p {
        font-size: 34px;
    }

    .single-download-homepage .btn-down {
        min-width: 280px;
        font-size: 36px;
    }

    .single-download-homepage .download-ico {
        font-size: 38px;
    }

    .single-download-homepage .download-meta span {
        font-size: 14px;
    }

    .single-download-homepage .pro-features h3 {
        font-size: 16px;
    }

    .single-download-homepage .pro-features p {
        font-size: 12px;
    }

    .single-download-homepage .single-panel-head {
        font-size: 18px;
    }

    .single-download-homepage .single-log-list li,
    .single-download-homepage .backup-name,
    .single-download-homepage .backup-btn,
    .single-download-homepage .recent-post-list li a {
        font-size: 14px;
    }

    .single-download-homepage .recent-post-list li span {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .single-download-homepage .top-nav {
        display: none !important;
    }

    .single-download-homepage .brand-copy strong {
        font-size: 20px;
    }

    .single-download-homepage .hero h1 {
        font-size: 40px;
    }

    .single-download-homepage .hero p {
        font-size: 22px;
    }

    .single-download-homepage .btn-down {
        min-width: auto;
        width: 100%;
        font-size: 28px;
        padding: 14px 20px;
    }

    .single-download-homepage .download-ico {
        font-size: 30px;
    }

    .single-download-homepage .download-meta {
        width: 100%;
        border-radius: 16px;
        justify-content: flex-start;
    }

    .single-download-homepage .download-meta span {
        width: 100%;
    }

    .single-download-homepage .home-two-cols,
    .single-download-homepage .features-3col {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------
   文章页样式（参照首页风格）
------------------------------ */
.single-article-page header {
    position: relative;
    border-bottom: 1px solid #dfe6f1;
    box-shadow: 0 3px 16px rgba(22, 49, 93, 0.08);
}

.single-article-page .nav-wrapper {
    max-width: 1200px;
    height: 72px !important;
    padding: 0 20px;
}

.single-article-page .site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.single-article-page .brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(180deg, #2f8dff 0%, #1b5eff 100%);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 34px;
    text-align: center;
}

.single-article-page .brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.single-article-page .brand-copy strong {
    font-size: 18px;
    color: #1b2b49;
}

.single-article-page .brand-copy em {
    margin-top: 2px;
    font-style: normal;
    font-size: 11px;
    color: #68788f;
}

.single-article-page .top-nav,
.single-article-page .top-nav ul {
    display: inline-flex !important;
    align-items: center !important;
    height: auto !important;
    gap: 8px;
}

.single-article-page .top-nav a {
    background: transparent !important;
    color: #2d3950 !important;
    padding: 8px 10px !important;
    border-radius: 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-bottom: 2px solid transparent;
}

.single-article-page .top-nav a.on,
.single-article-page .top-nav a:hover {
    color: #1f6bff !important;
    border-bottom-color: #1f6bff;
    transform: none;
}

.single-article-page .article-hero {
    background: #f4f7fb;
    padding: 0 14px;
}

.single-article-page .article-hero-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px 24px 22px;
    background: #f7f9fc;
    border: 1px solid #e1e8f3;
    border-top: none;
    border-radius: 0 0 12px 12px;
}

.single-article-page .article-hero-inner .post-header {
    max-width: 860px;
}

.single-article-page .article-breadcrumb {
    margin: 0 0 14px;
    font-size: 15px;
    color: #8a96a8;
    font-weight: 700;
}

.single-article-page .article-breadcrumb a {
    color: #8a96a8;
}

.single-article-page .article-breadcrumb span {
    margin: 0 8px;
    opacity: 0.7;
}

.single-article-page .post-header h1 {
    margin: 0;
    color: #121722;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 800;
}

.single-article-page .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.single-article-page .post-meta span {
    padding: 7px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #dde5f0;
    color: #657184;
    font-size: 14px;
}

.single-article-page .article-hero-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.single-article-page .article-meta-actions {
    max-width: 860px;
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.standalone-page .article-meta-actions {
    justify-content: flex-start;
}

.standalone-page .post-meta {
    justify-content: flex-start;
}

.standalone-page .article-main {
    margin-top: 24px;
}

.standalone-page .article-hero {
    background: #f4f7fb;
    padding: 0 14px;
}

.standalone-page .article-hero-inner {
    max-width: 1080px;
    padding: 28px 32px 30px;
    background: linear-gradient(135deg, #2459d7 0%, #1f49ba 100%);
    border: none;
    border-radius: 0;
    color: #fff;
}

.standalone-page .article-breadcrumb {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    margin-bottom: 12px;
}

.standalone-page .article-breadcrumb a {
    color: rgba(255, 255, 255, 0.82);
}

.standalone-page .article-breadcrumb span {
    color: rgba(255, 255, 255, 0.92);
}

.standalone-page .post-header h1 {
    display: inline;
    color: #fff;
    font-size: 30px;
    line-height: 1.35;
    background: rgba(0, 39, 126, 0.18);
    box-shadow: 0 8px 0 rgba(0, 39, 126, 0.18);
}

.standalone-page .post-meta span {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.92);
}

.single-article-page .article-action-primary,
.single-article-page .article-action-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 800;
}

.single-article-page .article-action-primary {
    background: #fff;
    color: #121722;
    border: 1px solid #bfc7d3;
}

.single-article-page .article-action-ghost {
    border: 1px solid #d8e1ef;
    color: #657184;
    background: #fff;
}

.single-article-page .article-main {
    max-width: 1080px;
    margin: 20px auto 48px;
    padding: 0 14px;
}

.single-article-page .article-card {
    background: #fff;
    border: 1px solid #e8eef8;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(22, 48, 94, 0.08);
    padding: 30px 34px;
}

.single-article-page .post-content {
    max-width: 860px;
    margin: 0 auto;
    color: #2e4567;
    font-size: 17px;
    line-height: 2.05;
    letter-spacing: 0.1px;
    word-break: break-word;
}

.single-article-page .post-content p {
    margin: 0 0 16px;
}

.single-article-page .post-content > p:first-child {
    font-size: 19px;
    color: #26466e;
}

.single-article-page .post-content h2,
.single-article-page .post-content h3,
.single-article-page .post-content h4 {
    margin: 26px 0 14px;
    color: #183c70;
    line-height: 1.45;
    font-weight: 700;
}

.single-article-page .post-content h2 {
    font-size: 26px;
    padding-left: 12px;
    border-left: 4px solid #2a74ff;
}

.single-article-page .post-content h3 {
    font-size: 22px;
}

.single-article-page .post-content h4 {
    font-size: 18px;
}

.single-article-page .post-content ul,
.single-article-page .post-content ol {
    margin: 12px 0 18px 22px;
}

.single-article-page .post-content li {
    margin-bottom: 8px;
}

.single-article-page .post-content blockquote {
    margin: 16px 0;
    padding: 12px 16px;
    border-left: 4px solid #8db7ff;
    background: #f4f8ff;
    border-radius: 8px;
    color: #3d5680;
}

.single-article-page .post-content a {
    color: #1d64ea;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.single-article-page .post-content br + br {
    content: "";
    display: block;
    margin-top: 10px;
}

.single-article-page .post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.single-article-page .article-tags {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px dashed #e5ebf5;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.single-article-page .article-tags span {
    font-size: 13px;
    color: #7083a1;
}

.single-article-page .article-tags a {
    padding: 4px 10px;
    border-radius: 14px;
    background: #edf4ff;
    color: #2d64d6;
    font-size: 12px;
}

.single-article-page .article-bottom-panel {
    margin-top: 16px;
}

.single-article-page .single-panel-head {
    font-size: 18px;
    color: #16396e;
    padding: 16px 20px;
    display: flex;
    align-items: center;
}

.single-article-page .single-panel-head span {
    position: relative;
    padding-left: 12px;
}

.single-article-page .single-panel-head span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 18px;
    transform: translateY(-50%);
    border-radius: 2px;
    background: #2a74ff;
}

.single-article-page .recent-post-list li {
    padding: 12px 20px;
}

.single-article-page .recent-post-list li a {
    font-size: 14px;
}

.single-article-page .recent-post-list li span {
    font-size: 12px;
}

@media (max-width: 768px) {
    .single-article-page .top-nav {
        display: none !important;
    }

    .single-article-page .brand-copy strong {
        font-size: 16px;
    }

    .single-article-page .post-header h1 {
        font-size: 24px;
    }

    .single-article-page .article-hero-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .single-article-page .article-action-primary,
    .single-article-page .article-action-ghost {
        width: 100%;
    }

    .single-article-page .article-meta-actions {
        margin-top: 10px;
        flex-direction: column;
        align-items: flex-start;
    }

    .single-article-page .post-meta {
        justify-content: flex-start;
    }

    .single-article-page .article-card {
        padding: 16px;
    }

    .single-article-page .post-content {
        font-size: 15px;
        line-height: 1.9;
    }

    .single-article-page .post-content > p:first-child {
        font-size: 16px;
    }

    .single-article-page .post-content h2 {
        font-size: 22px;
    }

    .single-article-page .post-content h3 {
        font-size: 19px;
    }
}
