/* 列表页样式 */
.list-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #7BC4A3 0%, #97D3B6 100%);
    padding: 20px 0 0 0;
    padding-bottom: 200px;
}

.header {
    max-width: 800px;
    margin: 0 auto 20px;
    padding: 0 32px;
    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: 16px 16px 0 0;
    padding: 20px;
    margin: 0 12px;
    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;
}

/* 脑图列表卡片样式 */
.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: stretch;
    height: 120px;
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.news-card:active {
    transform: translateY(0);
}

.news-cover {
    width: 90px;
    height: 120px;
    object-fit: cover;
    flex-shrink: 0;
}

.news-info {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.news-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-color);
    text-align: center;
}

/* 到底提示 */
.end-message {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 14px;
    transition: opacity 0.3s;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 28px;
    }
    
    .list-container {
        padding: 16px;
    }
    
    .news-card {
        height: 100px;
    }
    
    .news-cover {
        width: 75px;
        height: 100px;
    }
    
    .news-title {
        font-size: 16px;
    }
}
