/* 列表页样式 */
.list-page {
    min-height: 100vh;
    background: var(--title-color);
    padding: 20px 0 0 0;
    padding-bottom: 110px;
}

.header {
    max-width: 800px;
    margin: 0 auto 20px;
    padding: 0 20px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.header h1 {
    font-size: 32px;
    font-weight: bold;
    color: white;
}

.header .count {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.list-container {
    background: var(--bg-white);
    border-radius: 24px 24px 0 0;
    padding: 20px;
    min-height: calc(100vh - 100px);
    padding-bottom: 220px;
}

.card {
    padding: 14px 0;
    border-bottom: 1px solid #e8e8e8;
    cursor: pointer;
    transition: background 0.2s;
}

.card:last-child {
    border-bottom: none;
}

.card:hover {
    background: #fafafa;
}

.card-row-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    gap: 12px;
}

.card-title {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-title.selected {
    color: var(--primary-color);
}

.card-right {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.play-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s, transform 0.1s;
}

.play-btn:active {
    transform: scale(0.9);
}

.play-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.play-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.duration {
    font-size: 13px;
    color: #999;
    min-width: 40px;
    text-align: right;
}

.duration.selected {
    color: var(--primary-color);
}

.card-row-2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-date {
    color: #999;
    font-size: 13px;
}

.card-date.selected {
    color: var(--primary-color);
}

.card-badges {
    display: flex;
    gap: 6px;
}

.status-badge {
    padding: 2px 8px;
    border-radius: 10px;
    background: #f0f0f0;
    font-size: 12px;
    color: #666;
}

/* 底部导航栏 */
.bottom-tabs {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg-white);
    border-top: 1px solid #e8e8e8;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 100;
}

.tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s;
    padding: 8px 0;
}

.tab-item:active {
    transform: scale(0.95);
}

.tab-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.tab-label {
    font-size: 12px;
    color: #999;
}

.tab-item.active .tab-label {
    color: var(--primary-color);
}

/* 时政页和我的页样式 */
.news-page, .profile-page {
    min-height: 100vh;
    background: var(--title-color);
    padding: 20px 0 0 0;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 28px;
    }
    
    .list-container {
        padding: 16px;
    }
}
