/* 分类导航 - 横向滚动 */
.category-nav { display: flex; gap: 10px; overflow-x: auto; padding: 15px 5px; scrollbar-width: none; white-space: nowrap; flex-wrap: wrap; }
.category-nav::-webkit-scrollbar { display: none; }
.cat-item { padding: 6px 16px; background: var(--white); border-radius: 20px; font-size: 13px; color: var(--text-sub); border: 1px solid transparent; }
.cat-item.active { background: var(--primary-color); color: var(--white); box-shadow: 0 2px 5px rgba(37, 99, 235, 0.3); }

/* 列表网格 */
.app-grid-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding-bottom: 20px; }
.app-card-simple { background: var(--white); border-radius: var(--radius); padding: 12px;  min-width: 0;}
.app-card-simple a { display: flex; flex-direction: column; align-items: center; text-align: center; }
.card-icon { width: 56px; height: 56px; border-radius: 12px; margin-bottom: 10px; object-fit: contain; }
.card-title { font-size: 14px; font-weight: 600; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-ver { font-size: 11px; color: var(--text-sub); margin: 4px 0 10px; }
.card-btn { width: 100%; background: var(--secondary-color); color: var(--primary-color); padding: 6px 0; border-radius: 4px; font-size: 12px; font-weight: 600; }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 8px; padding: 20px 0 40px; }
.page-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--white); border-radius: 4px; font-size: 14px; color: var(--text-sub); }
.page-btn.active { background: var(--primary-color); color: var(--white); }
.page-btn.disabled { opacity: 0.5; pointer-events: none; }

.tspage {
    font-size: 14px !important;
    background: none !important;
    clear: both !important;
    height: auto !important;
    overflow: hidden !important;
    line-height: 32px !important;
    padding: 0;
    text-align: center !important;
    border-radius: 12px !important;
    margin: 20px 0 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
}

.tspage i {
    font-style: normal;
    font-weight: 500;
}

.tspage a {
    color: #64748b !important;
    text-decoration: none;
    padding: 10px 16px;
    margin: 0 6px;
    display: inline-block;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    border: 1px solid transparent;
}

.tspage a:hover {
    color: #4a6cf7 !important;
    background-color: #f8fafc !important;
    border-color: #e2e8f0 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
}

.tspage b {
    color: #fff !important;
    background-color: #4a6cf7 !important;
    padding: 10px 16px !important;
    margin: 0 6px !important;
    display: inline-block !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    box-shadow: 0 3px 12px rgba(74, 108, 247, 0.3) !important;
    transition: all 0.3s !important;
}

.tspage b:hover {
    box-shadow: 0 4px 15px rgba(74, 108, 247, 0.4) !important;
}

.tspage .tsp_count,
.tspage i:not(.tsp_next i):not(.tsp_prev i),
.tspage .tsp_end,
.tspage .tsp_first,
.tspage a.tsp_more,
.tspage a.tsp_end,
.tspage a.tsp_first,
.tspage .tsp_change {
    display: none !important;
}


@media (min-width: 768px) {
    .app-grid-list { grid-template-columns: repeat(5, 1fr); gap: 15px; }
    .category-nav { flex-wrap: wrap; overflow: visible; justify-content: center; }
}