.feed-item {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s;
}

.feed-item:hover {
    /* background-color: rgba(0, 0, 0, 0.01); */
    cursor: default;
}

.feed-avatar {
    flex-shrink: 0;
}

.avatar-circle {
    width: 40px;
    height: 40px;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.feed-content-wrapper {
    flex-grow: 1;
    min-width: 0;
    /* Important for flex child text wrapping */
}

.poem-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 5px;
}

.author-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-color);
    text-decoration: none;
}

.poem-date {
    font-size: 0.9rem;
    color: var(--secondary-text);
    font-weight: 400;
}

.poem-content {
    white-space: pre-wrap;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    /* Cleaner sans-serif looks more modern often, but let's see */
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.35;
    position: relative;
    margin-bottom: 10px;
}

.poem-content.collapsed {
    max-height: 310px;
    /* Approx 15 lines */
    overflow: hidden;
    mask-image: linear-gradient(180deg, #000 60%, transparent);
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
}

.read-more-btn {
    display: none;
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 0.9rem;
    padding: 0;
    margin-bottom: 10px;
    cursor: pointer;
}

.feed-actions {
    display: flex;
    justify-content: flex-end;
    /* Align unique button to the right */
    width: 100%;
    margin-top: 5px;
}

.action-btn {
    background: transparent;
    border: none;
    color: var(--secondary-text);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn i {
    font-size: 1.2rem;
}

.action-btn:hover {
    color: var(--accent-color);
    background-color: rgba(0, 0, 0, 0.05);
}

.action-btn.liked {
    color: #e0245e;
    /* Twitter red like color */
}

.like-count {
    margin-left: 5px;
    font-size: 0.9rem;
    font-weight: 500;
}

.delete-btn {
    background: transparent;
    color: #ff4444;
    padding: 5px;
    font-size: 1.1rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.delete-btn:hover {
    opacity: 1;
}