/*
Theme Name: SoftDown - 软件下载主题
Theme URI: https://www.example.com/
Author: SoftDown Team
Description: 专为软件下载站设计的WordPress主题，极度符合百度SEO标准，自适应移动端，支持自定义字段、主题设置面板、结构化数据等功能。
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: softdown
Domain Path: /languages
Tags: software-download, seo, responsive, baidu-seo, custom-fields, theme-options
*/

/* ============ Reset & Base ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
:root{
    --c-primary:#1a73e8;
    --c-primary-dark:#1557b0;
    --c-accent:#ff6b35;
    --c-accent-dark:#ef4c15;
    --c-green:#12b886;
    --c-purple:#845ef7;
    --c-pink:#f06595;
    --c-yellow:#f59f00;
    --c-red:#fa5252;
    --c-teal:#20c997;
    --c-ios:#2c3e50;
    --c-android:#3ddc84;
    --c-windows:#0078d7;
    --c-mac:#6c757d;
    --bg-page:#f4f6fb;
    --bg-card:#ffffff;
    --text-body:#444;
    --text-muted:#868e96;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-body);
    background: var(--bg-page);
    background-image:
        radial-gradient(1200px 600px at 10% -10%, rgba(26,115,232,.08), transparent 60%),
        radial-gradient(900px 500px at 100% 0%, rgba(255,107,53,.07), transparent 60%);
    word-wrap: break-word;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--c-primary); text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: var(--c-accent); }
img { max-width: 100%; height: auto; border: 0; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: #222; }
h1 { font-size: 24px; }
h2 { font-size: 20px; }
h3 { font-size: 18px; }
h4 { font-size: 16px; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* ============ Layout ============ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.site-main {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 30px;
}
.content-area {
    flex: 1;
    min-width: 0;
}
.widget-area {
    width: 300px;
    flex-shrink: 0;
}
/* 首页/文章页全宽（无侧边栏） */
.site-main.full-width {
    display: block;
}
.site-main.full-width .content-area {
    width: 100%;
    max-width: 100%;
}

/* ============ Header ============ */
.site-header {
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-top {
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    font-size: 12px;
    color: #666;
    padding: 6px 0;
}
.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-main {
    padding: 15px 0;
}
.header-main .container {
    display: flex;
    align-items: center;
    gap: 30px;
}
.site-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.site-logo img {
    max-height: 48px;
    width: auto;
}
.site-logo .site-title {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -.5px;
}
.site-logo .site-description {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}
.header-search {
    flex: 1;
    max-width: 500px;
}
.header-search .search-form {
    display: flex;
    border: 2px solid var(--c-accent);
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 3px 10px rgba(255,107,53,.15);
    transition: box-shadow .2s;
}
.header-search .search-form:focus-within { box-shadow: 0 5px 18px rgba(255,107,53,.25); }
.header-search .search-field {
    flex: 1;
    padding: 10px 18px;
    border: 0;
    outline: 0;
    font-size: 14px;
}
.header-search .search-submit {
    background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark));
    color: #fff;
    border: 0;
    padding: 0 26px;
    cursor: pointer;
    font-weight: 600;
    transition: filter .2s;
}
.header-search .search-submit:hover { filter: brightness(1.05); }

/* ============ Navigation ============ */
.main-nav {
    background: linear-gradient(135deg, #1a73e8 0%, #5c7cfa 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(26,115,232,.2);
}
.main-nav .container {
    display: flex;
    align-items: center;
}
.main-nav ul.menu {
    display: flex;
    flex-wrap: wrap;
}
.main-nav ul.menu > li {
    position: relative;
}
.main-nav ul.menu > li > a {
    display: block;
    padding: 14px 20px;
    color: #fff;
    font-weight: 500;
    white-space: nowrap;
}
.main-nav ul.menu > li > a:hover,
.main-nav ul.menu > li.current-menu-item > a,
.main-nav ul.menu > li.current-menu-parent > a {
    background: rgba(255,255,255,.15);
}
.main-nav ul.menu ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
    border-radius: 0 0 4px 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .2s;
    z-index: 200;
}
.main-nav ul.menu li:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.main-nav ul.sub-menu li a {
    display: block;
    padding: 10px 18px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}
.main-nav ul.sub-menu li a:hover {
    background: #f5f7fa;
    color: #1a73e8;
}
.menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    font-size: 20px;
    padding: 12px 15px;
    cursor: pointer;
}
/* 移动端分类导航条（PC端隐藏） */
.mob-cat-nav { display: none; }

/* ============ Section Common ============ */
.section {
    background: var(--bg-card);
    border-radius: 14px;
    margin-bottom: 22px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(30,50,90,.05), 0 0 0 1px rgba(0,0,0,.03);
}
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border-bottom: 1px solid #f1f3f5;
    background: linear-gradient(180deg, #fbfcfe 0%, #ffffff 100%);
}
.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #212529;
    position: relative;
    padding-left: 14px;
}
.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 20px;
    background: linear-gradient(180deg, var(--c-primary), var(--c-accent));
    border-radius: 3px;
}
/* 不同区块左条不同色，丰富观感 */
#sec-game .section-title::before { background: linear-gradient(180deg,#ef4c15,#f59f00); }
#sec-app  .section-title::before { background: linear-gradient(180deg,#1a73e8,#5c7cfa); }
#sec-plugin .section-title::before { background: linear-gradient(180deg,#845ef7,#f06595); }
#sec-rank .section-title::before, .widget-title::before { background: linear-gradient(180deg,#fa5252,#ff6b35); }
#sec-recent .section-title::before { background: linear-gradient(180deg,#12b886,#20c997); }

.section-more {
    font-size: 13px;
    color: var(--c-primary);
    background: #eaf2ff;
    padding: 5px 12px;
    border-radius: 14px;
    transition: all .2s;
}
.section-more:hover { background: var(--c-primary); color: #fff; }
.section-body { padding: 12px 22px 22px; }

/* ============ Ad Spots ============ */
.ad-spot {
    background: var(--bg-card);
    border-radius: 12px;
    margin-bottom: 22px;
    padding: 14px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(30,50,90,.05), 0 0 0 1px rgba(0,0,0,.03);
}
.ad-spot img { margin: 0 auto; border-radius: 8px; }

/* ============ Recent Updates 最近更新（横向图标，保留原风格） ============ */
.recent-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}
.recent-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 14px 10px;
    border-radius: 10px;
    transition: all .2s;
}
.recent-item:hover { background: #f8f9ff; transform: translateY(-2px); }
.recent-thumb {
    width: 64px; height: 64px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 10px;
    background: #f5f7fa;
    box-shadow: 0 4px 10px rgba(0,0,0,.08);
}
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-title {
    font-size: 13px;
    color: #222;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}
.recent-date {
    font-size: 11px;
    color: var(--c-accent);
    margin-top: 3px;
    background: #fff4e6;
    padding: 1px 8px;
    border-radius: 8px;
}
.recent-btn {
    display: inline-block;
    margin-top: 6px;
    padding: 3px 14px;
    font-size: 11px;
    background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark));
    color: #fff;
    border-radius: 12px;
    font-weight: 600;
}
.recent-btn:hover { color: #fff; filter: brightness(1.05); }

/* ============ App List Card 列表卡片（3列，参考图片样式） ============ */
.app-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}
.app-list-card {
    display: flex;
    gap: 14px;
    padding: 16px 14px;
    border-bottom: 1px solid #f1f3f5;
    border-right: 1px solid #f1f3f5;
    align-items: center;
    transition: background .18s;
    position: relative;
}
/* 每列第三项(3n)去掉右边框，每行最后一项去底边框用section-body padding+整体border处理 */
.app-list-card:nth-child(3n) { border-right: 0; }
.app-list-card:hover { background: linear-gradient(90deg, rgba(26,115,232,.03), transparent 70%); }

.app-list-icon {
    width: 60px; height: 60px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f7fa;
    box-shadow: 0 3px 8px rgba(0,0,0,.08);
}
.app-list-icon img { width: 100%; height: 100%; object-fit: cover; }

.app-list-body { flex: 1; min-width: 0; }
.app-list-title {
    font-size: 14px;
    font-weight: 700;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 6px;
}
.app-list-title a { color: inherit; }
.app-list-title a:hover { color: var(--c-primary); }
.app-list-title .ver {
    display: inline-block;
    font-size: 11px;
    color: #868e96;
    font-weight: 500;
    margin-left: 6px;
    vertical-align: 1px;
}
.app-list-sub {
    font-size: 12px;
    color: #868e96;
    line-height: 1.65;
}
.app-list-date {
    font-size: 9px;
    color: #c8c8c8;
    margin: 1px 0 3px;
}
.app-list-sub .row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.app-list-sub .sep { color: #ced4da; font-size: 11px; }
.app-list-sub .mob-rating { display: inline-flex; align-items: center; gap: 1px; }
.app-list-sub .mob-rating .mr-star { font-size: 12px; color: #e53935; line-height: 1; }
.app-list-sub .mob-rating .mr-score { font-size: 11px; color: #e53935; font-weight: 600; }
/* 分类和大小彩色标签 */
.tag-cat {
    display: inline-block;
    font-size: 11px;
    color: var(--c-green);
    background: #e6fcf5;
    padding: 1px 8px;
    border-radius: 10px;
}
.tag-size {
    display: inline-block;
    font-size: 11px;
    color: #495057;
    background: #f1f3f5;
    padding: 1px 7px;
    border-radius: 10px;
    font-weight: 600;
}

/* ============ Download Buttons 下载按钮（多平台Logo + 横向排布） ============ */
.dl-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #fff !important;
    text-decoration: none;
    transition: all .18s;
    white-space: nowrap;
    border: 0;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,.08);
}
.dl-btn:hover { transform: translateY(-1px); filter: brightness(1.05); color: #fff; }
.dl-btn svg { width: 15px; height: 15px; flex-shrink: 0; }

/* 通用下载（橙色主按钮） */
.dl-btn-common {
    background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark));
    border-radius: 16px;
    padding: 6px 16px;
}
/* iOS 暗黑风格 */
.dl-btn-ios { background: linear-gradient(135deg, #2c3e50, #1a252f); }
/* Android 机器人绿 */
.dl-btn-android { background: linear-gradient(135deg, #3ddc84, #2ab56c); }
/* Windows 蓝 */
.dl-btn-windows { background: linear-gradient(135deg, #0078d7, #0063b1); }
/* Mac 灰 */
.dl-btn-mac { background: linear-gradient(135deg, #6c757d, #495057); }
/* Linux 黄 */
.dl-btn-linux { background: linear-gradient(135deg, #f59f00, #e67700); }
/* 蓝奏云 紫 */
.dl-btn-lanzou { background: linear-gradient(135deg, #845ef7, #5f3dc4); }
/* 百度网盘 蓝 */
.dl-btn-baidu { background: linear-gradient(135deg, #2b87e3, #1e6fd0); }

/* 详情页大按钮 */
.dl-btn-xl {
    padding: 14px 28px;
    font-size: 15px;
    border-radius: 10px;
    gap: 10px;
}
.dl-btn-xl svg { width: 20px; height: 20px; }

/* 列表卡片右侧下载按钮（列表卡片里使用圆形橙色） */
.app-list-action { flex-shrink: 0; padding-left: 10px; }
.app-card-download:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(26,115,232,.3);
}

/* ============ Recent Update (Horizontal List) ============ */
.recent-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
.recent-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px;
    border-radius: 6px;
    transition: background .2s;
}
.recent-item:hover { background: #f5f7fa; }
.recent-thumb {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 6px;
    background: #f5f7fa;
}
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-title {
    font-size: 12px;
    color: #333;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}
.recent-date {
    font-size: 11px;
    color: #f57c00;
    margin-top: 2px;
}
.recent-btn {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 12px;
    font-size: 11px;
    background: #e8f0fe;
    color: #1a73e8;
    border-radius: 10px;
}

/* ============ Rank List ============ */
.rank-list { }
.rank-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}
.rank-item:last-child { border-bottom: 0; }
.rank-num {
    width: 26px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    border-radius: 50%;
    background: #eee;
    color: #666;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}
.rank-item:nth-child(1) .rank-num { background: #ff4757; color: #fff; }
.rank-item:nth-child(2) .rank-num { background: #ff6348; color: #fff; }
.rank-item:nth-child(3) .rank-num { background: #ffa502; color: #fff; }
.rank-thumb {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f7fa;
}
.rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rank-info { flex: 1; min-width: 0; }
.rank-title {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rank-title a { color: inherit; }
.rank-meta {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}
.rank-view {
    flex-shrink: 0;
    font-size: 12px;
    color: #1a73e8;
    background: #e8f0fe;
    padding: 3px 10px;
    border-radius: 4px;
}

/* ============ Sidebar Widgets ============ */
.widget {
    background: var(--bg-card);
    border-radius: 14px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(30,50,90,.05), 0 0 0 1px rgba(0,0,0,.03);
}
/* PC端隐藏扫码下载 */
.single-sidebar .side-qr-widget { display: none; }
.widget-title {
    padding: 15px 18px;
    font-size: 15px;
    font-weight: 700;
    border-bottom: 1px solid #f1f3f5;
    position: relative;
    padding-left: 28px;
    color: #212529;
    background: linear-gradient(180deg,#fbfcfe,#fff);
}
.widget-title::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background: #1a73e8;
    border-radius: 2px;
}
.widget-body { padding: 14px 18px; }
.tag-cloud a {
    display: inline-block;
    padding: 5px 12px;
    margin: 4px 3px;
    background: #f1f3f5;
    color: #495057;
    border-radius: 14px;
    font-size: 12px;
    transition: all .18s;
}
.tag-cloud a:hover {
    background: linear-gradient(135deg, var(--c-primary), #5c7cfa);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(26,115,232,.2);
}
/* Widget 列表（热门/最新等） */
.widget-body ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #f1f3f5;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}
.widget-body ul li:last-child { border-bottom: 0; padding-bottom: 0; }
.widget-body ul li:first-child { padding-top: 0; }
.widget-body ul li a { color: #495057; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.widget-body ul li a:hover { color: var(--c-primary); }
.widget-body ul li .no {
    display: inline-block;
    width: 22px; height: 22px;
    border-radius: 6px;
    background: #e9ecef;
    color: #868e96;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    line-height: 22px;
    flex-shrink: 0;
}
.widget-body ul li:nth-child(1) .no { background: linear-gradient(135deg,#fa5252,#ff6b35); color:#fff; }
.widget-body ul li:nth-child(2) .no { background: linear-gradient(135deg,#f59f00,#e67700); color:#fff; }
.widget-body ul li:nth-child(3) .no { background: linear-gradient(135deg,#fcc419,#fab005); color:#fff; }

/* ============ Breadcrumb ============ */
.breadcrumb {
    padding: 12px 0;
    font-size: 13px;
    color: #868e96;
}
.breadcrumb a { color: #495057; }
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb .separator { margin: 0 6px; color: #ced4da; }
.breadcrumb .current { color: #212529; font-weight: 600; }

/* ============ Archive / Category Page ============ */
.archive-header {
    background: linear-gradient(135deg, rgba(26,115,232,.06), rgba(255,107,53,.04));
    border-radius: 14px;
    padding: 22px 26px;
    margin-bottom: 22px;
    box-shadow: 0 2px 8px rgba(30,50,90,.05), 0 0 0 1px rgba(0,0,0,.03);
    border-left: 5px solid var(--c-primary);
}
.archive-title {
    font-size: 20px;
    margin-bottom: 6px;
    color: #212529;
    font-weight: 700;
}
.archive-description {
    font-size: 13px;
    color: #495057;
    line-height: 1.7;
}
/* Archive 列表卡片 */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    background: var(--bg-card);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(30,50,90,.05), 0 0 0 1px rgba(0,0,0,.03);
    padding: 4px;
}
.archive-grid .app-list-card {
    border-bottom: 1px solid #f1f3f5;
    border-right: 1px solid #f1f3f5;
}
.archive-grid .app-list-card:nth-child(2n) { border-right: 0; }
.archive-grid .app-list-card:nth-last-child(-n+2) { border-bottom: 0; }

.pagination {
    text-align: center;
    padding: 28px 0;
    clear: both;
}
.pagination .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 4px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    color: #495057;
    font-size: 13px;
    font-weight: 600;
    transition: all .18s;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: linear-gradient(135deg, var(--c-primary), #5c7cfa);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(26,115,232,.25);
    transform: translateY(-1px);
}

/* ============ Single / Detail Page ============ */
.single-article {
    background: var(--bg-card);
    border-radius: 14px;
    padding: 0;
    margin-bottom: 22px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(30,50,90,.05), 0 0 0 1px rgba(0,0,0,.03);
}
.app-header {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}
.app-header-left {
    display: flex;
    gap: 20px;
    flex: 1;
}
.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f7fa;
    box-shadow: 0 4px 14px rgba(0,0,0,.1);
}
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.app-info h1 {
    font-size: 22px;
    margin: 0 0 8px 0;
    color: #1a1a1a;
    font-weight: 700;
    line-height: 1.3;
}
.app-cat-tag {
    display: inline-block;
    padding: 4px 10px;
    background: linear-gradient(135deg, #12b886, #0ca678);
    color: #fff;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 14px;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 2px 6px rgba(18, 184, 134, 0.2);
}
.app-dl-main { margin-top: 6px; }
.app-dl-btn-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 26px;
    background: linear-gradient(135deg, #12b886, #0ca678);
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    border-radius: 28px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(18,184,134,.35);
    transition: all .2s;
}
.app-dl-btn-main:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(18,184,134,.45);
    color: #fff;
}
.app-header-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.app-qrcode {
    text-align: center;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
}
.app-qrcode img {
    display: block;
    border: 1px solid #eee;
    border-radius: 6px;
}
.qr-desc {
    margin: 8px 0 0 0;
    font-size: 12px;
    color: #888;
}

/* 信息栏 */
.app-info-bar {
    display: flex;
    align-items: center;
    padding: 18px 28px;
    background: #fafbfc;
    border-bottom: 1px solid #f0f0f0;
    gap: 10px;
}
.info-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
}
.info-bar-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
}
.info-bar-value {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}
.info-bar-value .star-color { color: #fab005; margin-right: 2px; }
.info-bar-divider {
    width: 1px;
    height: 28px;
    background: #e5e7eb;
}

/* 正文区 */
.app-content-wrap {
    padding: 28px;
}
.app-content {
    font-size: 15px;
    line-height: 1.85;
    color: #333;
}

/* 下载区（多平台） */
.app-download-box {
    padding: 20px 28px;
    background: linear-gradient(135deg, #fff8f0 0%, #f0f7ff 100%);
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
}
.app-download-box .download-tip {
    font-size: 13px;
    color: #888;
    margin-bottom: 14px;
}
.app-content h2 {
    margin: 28px 0 14px;
    padding: 10px 16px;
    background: linear-gradient(90deg, rgba(26,115,232,.08), transparent 80%);
    border-left: 5px solid var(--c-primary);
    border-radius: 4px;
    font-size: 19px;
    color: #212529;
    font-weight: 700;
}
.app-content h3 {
    margin: 22px 0 10px;
    padding-left: 12px;
    border-left: 3px solid var(--c-accent);
    font-size: 16px;
    color: #212529;
    font-weight: 700;
}
.app-content p { margin-bottom: 16px; }
.app-content ul, .app-content ol { padding-left: 26px; margin-bottom: 16px; }
.app-content ul li { list-style: disc; margin-bottom: 7px; }
.app-content ol li { list-style: decimal; margin-bottom: 7px; }
.app-content img { border-radius: 8px; margin: 18px auto; box-shadow: 0 4px 12px rgba(0,0,0,.08); border: 1px solid #f1f3f5; }
.app-content a { color: var(--c-primary); text-decoration: underline; }
.app-content a:hover { color: var(--c-accent); }
.app-content blockquote {
    background: #fffaf5;
    border-left: 4px solid var(--c-accent);
    padding: 12px 18px;
    margin: 15px 0;
    border-radius: 0 8px 8px 0;
    color: #495057;
}
.app-content table {
    border-collapse: collapse;
    margin: 18px 0;
    width: 100%;
    font-size: 14px;
}
.app-content table th, .app-content table td {
    border: 1px solid #f1f3f5;
    padding: 10px 14px;
}
.app-content table th {
    background: #f8f9fa;
    font-weight: 700;
    color: #212529;
}
.app-content code {
    background: #f1f3f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: Consolas, Menlo, monospace;
    color: #c92a2a;
    font-size: 13px;
}
.app-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f1f3f5;
}
.app-tags strong { color: #495057; }
.app-tags a {
    display: inline-block;
    padding: 5px 13px;
    margin: 4px 3px;
    background: #f1f3f5;
    color: #495057;
    border-radius: 14px;
    font-size: 13px;
    transition: all .18s;
    text-decoration: none;
}
.app-tags a:hover {
    background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark));
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(255,107,53,.25);
}

/* ============ Single Sidebar Widgets ============ */
.single-sidebar .widget { margin-bottom: 18px; }

/* 软件信息卡片 */
.app-info-widget .widget-body { padding: 0; }
.app-info-list { list-style: none; padding: 0; margin: 0; }
.app-info-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #f1f3f5;
    font-size: 13px;
}
.app-info-list li:last-child { border-bottom: 0; }
.app-info-list .label { color: #868e96; font-weight: 500; }
.app-info-list .value { color: #212529; font-weight: 600; }
.app-info-list .value a { color: var(--c-primary); }

/* 热门下载列表 */
.side-dl-list { list-style: none; padding: 0; margin: 0; }
.side-dl-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed #f1f3f5;
}
.side-dl-item:last-child { border-bottom: 0; }
.side-dl-item .rank-num { flex-shrink: 0; }
.side-dl-info { flex: 1; min-width: 0; }
.side-dl-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}
.side-dl-title:hover { color: var(--c-primary); }
.side-dl-meta { font-size: 11px; color: #868e96; display: flex; gap: 8px; }
.side-dl-item .dl-btn { padding: 4px 10px; font-size: 11px; }

/* 火爆排行列表 */
.side-rank-list { list-style: none; padding: 0; margin: 0; }
.side-rank-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px dashed #f1f3f5;
    font-size: 13px;
}
.side-rank-item:last-child { border-bottom: 0; }
.side-rank-title {
    flex: 1;
    color: #495057;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.side-rank-title:hover { color: var(--c-primary); }
.side-rank-count { font-size: 12px; color: #868e96; }

/* 热门下载 - 网格卡片样式 */
.side-hot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 12px;
}
.side-hot-item {
    text-align: center;
    min-width: 0;
}
.side-hot-thumb {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    margin-bottom: 8px !important;
    background: #f8f9fa !important;
    position: relative !important;
    box-sizing: border-box !important;
}
.side-hot-thumb img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
}
.side-hot-thumb > div {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 10px !important;
    font-size: 20px !important;
}
.side-hot-title {
    display: block;
    font-size: 13px;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 8px;
    text-align: center;
}
.side-hot-title:hover { color: var(--c-primary); }
.side-hot-btn {
    display: inline-block;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #ff6b35, #ef4c15);
    border-radius: 14px;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.4;
}
.side-hot-btn:hover {
    box-shadow: 0 2px 8px rgba(255, 107, 53, .35);
    color: #fff;
}

/* 火爆排行 - 带缩略图列表 */
.side-rank-list-new {
    list-style: none;
    padding: 0;
    margin: 0;
}
.side-rank-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px dashed #f1f3f5;
    min-width: 0;
}
.side-rank-row:last-child { border-bottom: 0; }
.rank-num-big {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #adb5bd;
    background: #f1f3f5;
    border-radius: 6px;
}
.rank-num-big.rank-top {
    background: linear-gradient(135deg, #ff6b35, #ef4c15);
    color: #fff;
}
.side-rank-thumb {
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    background: #f8f9fa;
    display: block !important;
    position: relative !important;
    box-sizing: border-box !important;
}
.side-rank-thumb img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}
.side-rank-info {
    flex: 1;
    min-width: 0;
}
.side-rank-title-new {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}
.side-rank-title-new:hover { color: var(--c-primary); }
.side-rank-meta {
    font-size: 11px;
    color: #adb5bd;
    margin-bottom: 1px;
}
.side-rank-sub {
    font-size: 11px;
    color: #868e96;
}
.side-rank-btn {
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    flex-basis: auto !important;
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
    padding: 4px 10px !important;
    background: linear-gradient(135deg, #ff7a45, #f04820) !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    line-height: 1.5 !important;
    box-shadow: 0 2px 4px rgba(240, 72, 32, .2) !important;
    transition: all .2s !important;
    margin-left: auto !important;
    display: inline-block !important;
    text-align: center !important;
    vertical-align: middle !important;
    overflow: visible !important;
}
.side-rank-btn:hover {
    box-shadow: 0 4px 10px rgba(240, 72, 32, .35) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

/* ============ Related Apps ============ */
.related-section { margin-bottom: 22px; }

/* ============ Footer ============ */
.site-footer {
    background: linear-gradient(180deg, #2a3447 0%, #1f2737 100%);
    color: #bdc3c7;
    margin-top: 45px;
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--c-accent), var(--c-primary), var(--c-green), var(--c-accent));
    background-size: 200% 100%;
    animation: footer-glow 8s linear infinite;
}
@keyframes footer-glow {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}
.footer-widgets {
    padding: 42px 0 28px;
    position: relative;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    position: relative;
    display: inline-block;
    padding-right: 20px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0; bottom: -1px;
    width: 40px; height: 2px;
    background: linear-gradient(90deg, var(--c-accent), var(--c-primary));
    border-radius: 1px;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col a {
    color: #bdc3c7;
    font-size: 13px;
    transition: all .18s;
    position: relative;
    padding-left: 10px;
}
.footer-col a::before {
    content: '';
    position: absolute;
    left: 0; top: 8px;
    width: 4px; height: 4px;
    background: var(--c-primary);
    border-radius: 50%;
    transition: all .18s;
}
.footer-col a:hover {
    color: #fff;
    padding-left: 13px;
}
.footer-col a:hover::before {
    background: var(--c-accent);
    transform: scale(1.4);
}
.footer-about p {
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 12px;
    color: #a8b2c4;
}
.footer-about .footer-about-title {
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 10px;
}
.footer-about .footer-about-title .accent {
    background: linear-gradient(135deg, var(--c-accent), var(--c-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,.08);
    text-align: center;
    font-size: 12px;
    color: #7d8799;
    line-height: 1.9;
    background: rgba(0,0,0,.15);
}
.footer-bottom a { color: #95a5a6; transition: color .18s; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .icp-line { margin-top: 5px; font-size: 11px; opacity: .85; }

/* ============ 404 Page ============ */
.error-404 {
    text-align: center;
    padding: 90px 25px;
    background: var(--bg-card);
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(30,50,90,.05), 0 0 0 1px rgba(0,0,0,.03);
}
.error-404 .code {
    font-size: 130px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -2px;
}
.error-404 h2 { margin: 22px 0 10px; font-size: 28px; color: #212529; }
.error-404 p { color: #495057; margin-bottom: 28px; }
.error-404 .error-btn {
    display: inline-block;
    padding: 10px 28px;
    background: linear-gradient(135deg, var(--c-primary), #5c7cfa);
    color: #fff;
    border-radius: 26px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(26,115,232,.3);
    transition: all .2s;
}
.error-404 .error-btn:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 6px 16px rgba(26,115,232,.35); }

/* ============ Search Results ============ */
.search-item {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 14px;
    display: flex;
    gap: 18px;
    box-shadow: 0 2px 6px rgba(30,50,90,.04), 0 0 0 1px rgba(0,0,0,.02);
    transition: all .2s;
    align-items: center;
}
.search-item:hover {
    box-shadow: 0 4px 14px rgba(30,50,90,.08), 0 0 0 1px rgba(26,115,232,.15);
    transform: translateY(-1px);
}
.search-thumb {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f7fa;
    box-shadow: 0 3px 8px rgba(0,0,0,.08);
}
.search-thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-info { flex: 1; min-width: 0; }
.search-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #212529;
}
.search-title a { color: inherit; }
.search-title a:hover { color: var(--c-primary); }
.search-excerpt {
    font-size: 13px;
    color: #495057;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.search-meta {
    margin-top: 5px;
    font-size: 12px;
    color: #868e96;
}
.search-meta .sm {
    display: inline-block;
    margin-right: 12px;
}
.search-meta .sm-cat {
    color: var(--c-green);
    background: #e6fcf5;
    padding: 1px 8px;
    border-radius: 8px;
}

/* ============ Comments ============ */
.comments-area {
    background: var(--bg-card);
    border-radius: 14px;
    padding: 28px 32px;
    margin-bottom: 22px;
    box-shadow: 0 2px 8px rgba(30,50,90,.05), 0 0 0 1px rgba(0,0,0,.03);
}
.comments-title {
    font-size: 18px;
    margin-bottom: 22px;
    padding-left: 12px;
    border-left: 4px solid var(--c-accent);
    color: #212529;
    font-weight: 700;
}
.comment-list li { padding: 16px 0; border-bottom: 1px dashed #f1f3f5; }
.comment-list li:last-child { border-bottom: 0; }
.comment-body { display: flex; gap: 14px; }
.comment-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.comment-content { flex: 1; min-width: 0; }
.comment-meta {
    font-size: 12px;
    color: #868e96;
    margin-bottom: 6px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.comment-meta .author { color: var(--c-primary); font-weight: 700; }
.comment-meta .reply a {
    color: #fff;
    background: linear-gradient(135deg, var(--c-primary), #5c7cfa);
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}
.comment-text {
    font-size: 14px;
    line-height: 1.8;
    color: #343a40;
    background: #f8f9fa;
    padding: 10px 14px;
    border-radius: 8px;
    border-left: 3px solid var(--c-green);
}
.comment-respond { margin-top: 28px; }
.comment-respond h3 {
    font-size: 17px;
    margin-bottom: 18px;
    padding-left: 12px;
    border-left: 4px solid var(--c-green);
    font-weight: 700;
    color: #212529;
}
.comment-form p { margin-bottom: 16px; }
.comment-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #495057;
    font-size: 13px;
}
.comment-form input[type=text], .comment-form input[type=email], .comment-form textarea {
    width: 100%;
    padding: 11px 16px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    outline: 0;
    transition: all .2s;
    font-size: 14px;
    background: #fbfcfe;
    box-sizing: border-box;
}
.comment-form input:focus, .comment-form textarea:focus {
    border-color: var(--c-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(26,115,232,.12);
}
/* 昵称和邮箱同一行 */
.comment-form-author,
.comment-form-email {
    display: inline-block;
    width: 49%;
    vertical-align: top;
}
.comment-form-author { margin-right: 2%; }
.comment-form-email { margin-right: 0; }
.comment-form .form-submit input {
    background: linear-gradient(135deg, var(--c-primary), #5c7cfa);
    color: #fff;
    border: 0;
    padding: 11px 30px;
    border-radius: 26px;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(26,115,232,.25);
    transition: all .2s;
}
.comment-form .form-submit input:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(26,115,232,.32);
}

/* ============ Responsive: Tablet ============ */
@media (max-width: 992px) {
    .container { max-width: 100%; }
    .site-main { flex-direction: column; }
    .widget-area { width: 100%; }
    .recent-list { grid-template-columns: repeat(4, 1fr); }
    .app-list-grid { grid-template-columns: repeat(2, 1fr); }
    .app-list-card:nth-child(3n) { border-right: 1px solid #f1f3f5; }
    .app-list-card:nth-child(2n) { border-right: 0; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .app-meta-table { font-size: 12px; }
    .app-meta-table th, .app-meta-table td { padding: 7px 10px; }
    .header-main .container { gap: 15px; }
    .header-search { max-width: 100%; }
    .single-article { padding: 22px 20px; }
}

/* ============ Responsive: Mobile ============ */
@media (max-width: 768px) {
    /* 移动端显示扫码下载 */
    .single-sidebar .side-qr-widget { display: block; }
    body { font-size: 13px; }
    .site-main { margin-top: 12px; padding: 0 10px; gap: 12px; }
    .header-top { display: none; }
    .header-main { padding: 8px 0; }
    .header-main .container { flex-wrap: nowrap; gap: 8px; }
    .site-logo { order: 1; flex-shrink: 0; }
    .site-logo img { max-height: 34px; }
    .site-logo .site-title { font-size: 16px; }
    .site-logo .site-description { display: none; }
    .header-search { order: 2; flex: 1; max-width: 100%; margin-left: 8px; }
    .header-search .search-form { border-width: 1.5px; border-radius: 20px; }
    .header-search .search-field { font-size: 13px; }
    .header-search .search-submit { padding: 6px 14px; font-size: 12px; }
    .menu-toggle { display: none; }
    .main-nav { display: none; }
    /* 移动端分类导航条 */
    .mob-cat-nav {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        background: #fff;
        border-bottom: 1px solid #eee;
        padding: 0;
        gap: 0;
        position: relative;
    }
    .mob-cat-nav::-webkit-scrollbar { display: none; }
    .mob-cat-nav a {
        flex-shrink: 0;
        padding: 10px 14px;
        font-size: 13px;
        color: #555;
        white-space: nowrap;
        border-bottom: 2px solid transparent;
        transition: all .15s;
    }
    .mob-cat-nav a:hover,
    .mob-cat-nav a.active {
        color: #1a73e8;
        border-bottom-color: #1a73e8;
    }
    .app-list-grid { grid-template-columns: repeat(2, 1fr); }
    .app-list-card {
        padding: 10px 8px;
        gap: 8px;
        flex-wrap: nowrap;
    }
    .app-list-card:nth-child(3n) { border-right: 1px solid #f1f3f5; }
    .app-list-card:nth-child(2n) { border-right: 0; }
    .app-list-icon { width: 44px; height: 44px; border-radius: 10px; }
    .app-list-action { width: auto; padding-left: 4px; padding-top: 0; flex-shrink: 0; }
    .app-list-action .dl-btn { padding: 5px 10px; font-size: 12px !important; }
    .app-list-action .dl-btn svg { width: 14px !important; height: 14px !important; }
    .app-list-title { font-size: 13px; }
    .app-list-title .ver { font-size: 10px; }
    .app-list-sub .row { gap: 3px; }
    .app-list-sub .tag-cat, .app-list-sub .tag-size { font-size: 10px; padding: 1px 4px; }
    .app-list-sub .date { font-size: 10px; }
    .section-body { padding: 6px; }
    .section-header { padding: 10px 12px; }
    .section-title { font-size: 15px; }
    .recent-list { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .recent-item { padding: 6px 3px; }
    .recent-thumb { width: 46px; height: 46px; border-radius: 10px; }
    .recent-title { font-size: 11px; }
    .recent-date { font-size: 10px; }
    .recent-btn { font-size: 10px; padding: 2px 8px; }
    .archive-grid { grid-template-columns: repeat(1, 1fr); gap: 0; padding: 2px; }
    .archive-grid .app-list-card:nth-child(2n) { border-right: 1px solid #f1f3f5; }
    .archive-grid .app-list-card { border-right: 0 !important; }
    .archive-grid .app-list-card:nth-last-child(-n+2) { border-bottom: 1px solid #f1f3f5; }
    .archive-grid .app-list-card:last-child { border-bottom: 0 !important; }
    .archive-header { padding: 15px 18px; margin-bottom: 12px; }
    .archive-title { font-size: 17px; }
    .pagination .page-numbers { padding: 6px 10px; font-size: 12px; }
    .single-article { padding: 0; }
    .app-header { flex-direction: column; gap: 18px; padding: 20px; align-items: stretch; }
    .app-header-left { flex-direction: column; gap: 15px; align-items: center; text-align: center; }
    .app-icon { width: 90px; height: 90px; border-radius: 18px; }
    .app-info { align-items: center; }
    .app-info h1 { font-size: 20px; text-align: center; }
    .app-cat-tag { margin-bottom: 12px; }
    .app-header-right { justify-content: center; }
    .app-qrcode img { width: 120px; height: 120px; }
    .app-info-bar { flex-wrap: wrap; padding: 14px 15px; gap: 8px; }
    .info-bar-item { flex: 0 0 calc(50% - 4px); }
    .info-bar-divider { display: none; }
    .app-content-wrap { padding: 18px 15px; }
    .app-download-box { padding: 20px 14px; margin-top: 20px; }
    .dl-group { gap: 6px; }
    .dl-btn-xl { padding: 10px 16px; font-size: 13px !important; }
    .dl-btn-xl svg { width: 16px !important; height: 16px !important; }
    .app-content { font-size: 14px; }
    .app-content h2 { font-size: 17px; padding: 8px 12px; }
    .app-content h3 { font-size: 15px; }
    .search-item { padding: 12px; gap: 12px; flex-wrap: nowrap; }
    .search-thumb { width: 48px; height: 48px; border-radius: 10px; }
    .search-title { font-size: 14px; }
    .footer-widgets { padding: 28px 0 18px; }
    .footer-grid { grid-template-columns: 1fr; gap: 22px; }
    .footer-col h4 { font-size: 15px; margin-bottom: 12px; }
    .footer-bottom { padding: 16px 0; font-size: 11px; line-height: 1.9; }
    .error-404 { padding: 50px 15px; }
    .error-404 .code { font-size: 80px; }
    .error-404 h2 { font-size: 22px; }
    .comments-area { padding: 16px 14px; }
    .widget { margin-bottom: 12px; }
    .widget-title { padding: 12px 15px; font-size: 15px; padding-left: 24px; }
    .widget-title::before { left: 15px; }
    .widget-body { padding: 12px 15px; }
    .rank-item { padding: 8px 0; gap: 10px; }
    .rank-thumb { width: 38px; height: 38px; border-radius: 8px; }
    .rank-num { width: 22px; height: 22px; line-height: 22px; font-size: 11px; }
    .breadcrumb { padding: 8px 10px 0; font-size: 12px; }
    .ad-spot { margin-bottom: 12px; padding: 10px; }
}

/* ============ Responsive: Small Mobile ============ */
@media (max-width: 480px) {
    .recent-list { grid-template-columns: repeat(3, 1fr); }
    .app-list-grid { grid-template-columns: repeat(1, 1fr); }
    .app-list-card {
        border-right: 0 !important;
        flex-wrap: nowrap;
        gap: 10px;
        padding: 10px 12px;
    }
    .app-list-icon { width: 48px; height: 48px; border-radius: 12px; }
    .app-list-card .app-list-action { padding-left: 0; text-align: right; flex-shrink: 0; width: auto; }
    .archive-grid { grid-template-columns: repeat(1, 1fr); }
    .search-item { padding: 10px; gap: 10px; flex-wrap: nowrap; }
    .search-thumb { width: 44px; height: 44px; border-radius: 10px; }
    .app-content-wrap { padding: 15px 12px; }
    .app-info-bar { padding: 12px 10px; }
    .info-bar-item { flex: 0 0 50%; }
    .app-list-title { font-size: 14px; }
    .dl-btn-xl { padding: 10px 14px; font-size: 13px !important; }
    .app-dl-btn-main { padding: 10px 20px; font-size: 14px; }
    .recent-thumb { width: 42px; height: 42px; }
    .recent-title { font-size: 10px; }
    .recent-date { font-size: 9px; }
    .recent-btn { font-size: 9px; padding: 2px 6px; }
}

/* ============ Utility ============ */
.clearfix::after { content: ''; display: table; clear: both; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.hidden { display: none !important; }
.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }

/* ============ 内联样式提取（整洁化） ============ */
.page-links.pagination {
    margin: 20px 0;
}

.sd-notice-box {
    margin-top: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 13px;
    color: #666;
    line-height: 1.9;
}
.sd-notice-sub {
    margin-top: 6px;
}

.sd-sec-title {
    font-size: 16px;
}
.sd-rel-body {
    padding-top: 8px;
}
.sd-rel-grid {
    grid-template-columns: repeat(3, 1fr);
}

.sd-post-nav {
    padding: 18px 25px;
}
.sd-post-nav-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.sd-post-nav-item {
    flex: 1;
    min-width: 200px;
}
.sd-post-nav-right {
    text-align: right;
}
.sd-post-nav-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
}
.sd-post-nav-link {
    font-size: 14px;
    color: #333;
    text-decoration: none;
}
.sd-post-nav-link:hover {
    color: #ef4c15;
}

.sd-qr-body {
    text-align: center;
    padding: 15px;
}
.sd-qr-img {
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
}
.sd-qr-desc {
    margin: 10px 0 0;
    font-size: 12px;
    color: #888;
}

.sd-empty-tip {
    text-align: center;
    color: #999;
    padding: 10px;
}

/* ============ 分类页样式 ============ */
.cat-desc {
    margin-top: 8px;
}
.cat-parent {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
}
.cat-children {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #eee;
}
.cat-children-label {
    font-size: 13px;
    color: #888;
    margin-right: 8px;
}
.cat-child-link {
    display: inline-block;
    padding: 3px 10px;
    margin: 3px;
    background: #f5f7fa;
    color: #666;
    border-radius: 14px;
    font-size: 12px;
    text-decoration: none;
}
.cat-child-link:hover {
    color: #ef4c15;
}
.cat-child-count {
    margin-left: 4px;
    color: #aaa;
}
.cat-empty {
    padding: 50px 20px;
    text-align: center;
}
.cat-empty-title {
    margin-bottom: 10px;
}
.cat-empty-desc {
    color: #666;
    margin-bottom: 20px;
}
.cat-empty-btn {
    display: inline-block;
    padding: 8px 25px;
    background: #1a73e8;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
}
.cat-empty-btn:hover {
    background: #1557b0;
}

/* ============ 纠错反馈 ============ */
.app-icon-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}
.app-icon-col .app-icon {
    margin: 0;
}
.app-fb-wrap {
    margin-top: 12px;
}
.app-fb-btn {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #ff6b35, #ef4c15);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s;
    cursor: pointer;
}
.app-fb-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, .35);
    color: #fff;
}
.sd-fb-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 0;
    padding: 14px 18px;
    background: linear-gradient(135deg, #fff8e1, #fff3cd);
    border: 1px dashed #ffc107;
    border-radius: 10px;
}
.sd-fb-btn {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #ff6b35, #ef4c15);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s;
    cursor: pointer;
}
.sd-fb-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(255, 107, 53, .35);
    color: #fff;
}
.sd-fb-hint {
    font-size: 12px;
    color: #8a6d3b;
}

.sd-fb-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
.sd-fb-modal.active { display: flex; }
.sd-fb-modal-mask {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, .5);
    backdrop-filter: blur(4px);
}
.sd-fb-dialog {
    position: relative;
    width: 460px;
    max-width: 92vw;
    max-height: 90vh;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
    overflow: hidden;
    animation: sdFbIn .25s ease-out;
}
@keyframes sdFbIn {
    from { opacity: 0; transform: translateY(-20px) scale(.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.sd-fb-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    background: linear-gradient(135deg, #1a73e8, #5c7cfa);
    color: #fff;
}
.sd-fb-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}
.sd-fb-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}
.sd-fb-close:hover { background: rgba(255, 255, 255, .2); }

.sd-fb-body {
    padding: 20px 22px;
    overflow-y: auto;
    max-height: calc(90vh - 120px);
}
.sd-fb-field {
    margin-bottom: 18px;
}
.sd-fb-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}
.sd-fb-field .required {
    color: #ef4444;
}
.sd-fb-field textarea,
.sd-fb-field input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
    resize: vertical;
}
.sd-fb-field textarea:focus,
.sd-fb-field input[type="text"]:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, .1);
}

.sd-fb-type-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.sd-fb-type-btn {
    padding: 7px 14px;
    background: #f5f6fa;
    border: 1px solid #e0e0e0;
    border-radius: 18px;
    font-size: 12px;
    color: #555;
    cursor: pointer;
    transition: all .15s;
    font-family: inherit;
}
.sd-fb-type-btn:hover {
    border-color: #1a73e8;
    color: #1a73e8;
}
.sd-fb-type-btn.active {
    background: linear-gradient(135deg, #1a73e8, #5c7cfa);
    border-color: #1a73e8;
    color: #fff;
}

.sd-fb-msg {
    display: none;
    margin: 0 0 14px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
}
.sd-fb-msg.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.sd-fb-msg.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.sd-fb-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}
.sd-fb-actions button {
    flex: 1;
    padding: 11px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
    font-family: inherit;
}
.sd-fb-cancel {
    background: #f5f6fa;
    color: #666;
}
.sd-fb-cancel:hover { background: #e8eaed; }
.sd-fb-submit {
    background: linear-gradient(135deg, #1a73e8, #5c7cfa);
    color: #fff;
}
.sd-fb-submit:hover {
    box-shadow: 0 4px 14px rgba(26, 115, 232, .35);
    transform: translateY(-1px);
}
.sd-fb-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

/* ============ Print ============ */
@media print {
    .site-header, .site-footer, .widget-area, .app-download-box, .main-nav { display: none; }
    .site-main { display: block; }
    .content-area { width: 100%; }
}
