/* skin/css/list.css */

.category-tabs {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding: 15px 0;
    gap: 10px;
}

.category-tabs a {
    display: block;
    padding: 6px 16px;
    background: #fff;
    border-radius: var(--border-radius);
    font-size: 14px;
    color: var(--text-main);
    border: 1px solid var(--border-color); /* DNA: 细灰边 */
    flex-shrink: 0;
}
.category-tabs a.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.list-card {
    background: #fff;
    border: 1px solid var(--border-color); /* DNA: 细灰边 */
    border-radius: var(--border-radius);
    padding: 15px;
    display: flex;
    align-items: center;
}

.lc-left img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    margin-right: 15px;
}

.lc-mid {
    flex: 1;
    min-width: 0; /* Text truncation fix */
}

.lc-mid h4 {
    font-size: 16px;
    margin-bottom: 4px;
    font-weight: 600;
}
.lc-mid p {
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
}
.lc-mid .desc {
    font-size: 13px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lc-right a {
    display: block;
    width: 60px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    background: #fff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-size: 13px;
}
.lc-right a:hover {
    background: var(--primary-color);
    color: #fff;
}

/* MANDATORY CSS FROM REQUIREMENTS */
.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; }