/* 提示卡片（可点击展开）*/
.alert-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: white;
    border-radius: var(--radius);
    padding: 12px;
    margin-bottom: 8px;
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.alert-card:active {
    transform: scale(0.98);
}

.alert-card.forex { border-left-color: var(--orange); }
.alert-card.stock { border-left-color: var(--green); }

.alert-icon { 
    font-size: 20px;
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,0.03);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.alert-content { flex: 1; }

.alert-title { 
    font-size: 12px; 
    font-weight: 600; 
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.alert-text { 
    font-size: 13px; 
    font-weight: 500;
    color: var(--text);
    line-height: 1.4;
}

.alert-detail {
    display: none;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 0.5px solid var(--border);
    font-size: 12px;
    line-height: 1.6;
    color: var(--text2);
}

.alert-card.expanded .alert-detail {
    display: block;
}

.alert-card.expanded .alert-text {
    display: none;
}

.alert-arrow {
    font-size: 18px;
    color: var(--text3);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-top: 8px;
}

.alert-card.expanded .alert-arrow {
    transform: rotate(90deg);
}

/* 新闻列表 */
.news-list { 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
}

.news-item {
    background: white;
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.news-item:active { 
    transform: scale(0.98); 
}

.news-rank {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: var(--primary);
    color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.news-rank.hot { background: var(--red); }

.news-body { flex: 1; }

.news-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.news-source {
    font-size: 11px;
    padding: 2px 6px;
    background: rgba(0,122,255,0.08);
    color: var(--primary);
    border-radius: 4px;
    font-weight: 500;
}

.news-time { 
    font-size: 11px; 
    color: var(--text3);
}

.news-title { 
    font-size: 14px; 
    font-weight: 600; 
    margin-bottom: 4px;
    letter-spacing: -0.2px;
}

.news-summary { 
    font-size: 13px; 
    color: var(--text2);
    line-height: 1.4;
}

.news-detail {
    display: none;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 0.5px solid var(--border);
    font-size: 12px;
    line-height: 1.6;
    color: var(--text);
}

.news-item.expanded .news-detail { 
    display: block; 
}

.news-item.expanded .news-summary { 
    display: none; 
}

.news-arrow {
    font-size: 16px;
    color: var(--text3);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-top: 4px;
}

.news-item.expanded .news-arrow {
    transform: rotate(90deg);
}
