/* 收藏夹 样式 — 从 extras.css 拆分 */
/* --- 【全新】收藏功能样式 --- */
#favorite-heart-voice-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: rgba(0,0,0,0.3);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.2s, transform 0.2s;
}
#favorite-heart-voice-btn:hover {
    background: rgba(0,0,0,0.5);
}
#favorite-heart-voice-btn .svg-icon {
    width: 18px;
    height: 18px;
    color: white;
}
.favorite-item {
    background-color: #fff;
    margin: 0 15px 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.favorite-message-bubble {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.favorite-message-bubble .avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}
.favorite-message-bubble .bubble-preview {
    background-color: #f0f2f5;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 15px;
    color: #333;
    white-space: pre-wrap;
    word-break: break-word;
}
.favorite-heart-voice-text {
    font-family: 'Songti SC', serif;
    font-size: 16px;
    line-height: 1.8;
    color: #4a4a4a;
    padding: 10px;
    border-left: 3px solid #e9d8c1;
    background-color: #fdfaf4;
    white-space: pre-wrap;
}
.favorite-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
}
.favorite-item-footer .source-info {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.favorite-item-footer .delete-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    opacity: 0.6;
}
.favorite-item-footer .delete-btn:hover {
    opacity: 1;
}
.favorite-item-footer .delete-btn .svg-icon {
    width: 18px;
    height: 18px;
    color: #E53935;
}
