.feed-container {
    max-width: 600px;
    width: 92%;
    margin: 32px auto 60px auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ephemeral-notice {
    text-align: center;
    font-size: 1.02rem;
    font-weight: 600;
    font-style: italic;
    color: var(--custom-burbujas-texto, #111111);
    background: var(--custom-burbujas, #ffffff);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--custom-burbujas-borde, #dcdcdc);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.composer-card {
    background: var(--custom-burbujas, #ffffff);
    color: var(--custom-burbujas-texto, #111111);
    border: 1px solid var(--custom-burbujas-borde, #dcdcdc);
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.composer-header strong {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.02rem;
    color: var(--custom-burbujas-texto, #111111);
    font-weight: 700;
}

.composer-textarea {
    width: 100%;
    min-height: 110px;
    padding: 12px;
    border: 1px solid #b5b5b5;
    border-radius: 10px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.92rem;
    background: #ffffff;
    outline: none;
    resize: vertical;
    color: #111111;
}

.composer-link-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #b5b5b5;
    border-radius: 10px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.9rem;
    background: #ffffff;
    outline: none;
    color: #111111;
}

.composer-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.composer-tools {
    display: flex;
    gap: 8px;
}

.posts-timeline {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feed-post-card {
    background: var(--custom-burbujas, #ffffff);
    color: var(--custom-burbujas-texto, #111111);
    border: 1px solid var(--custom-burbujas-borde, #dcdcdc);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    min-width: 0;
    position: relative;
}

.post-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.post-avatar {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    background: #ececec;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.post-header-meta {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    min-width: 0;
}

.post-username {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 0.94rem;
    color: var(--custom-burbujas-texto, #111111);
    cursor: pointer;
    line-height: 1.25;
}

.post-username:hover {
    text-decoration: underline;
}

.post-time,
.post-time * {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 0.8rem !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-variant-numeric: tabular-nums;
    color: var(--custom-burbujas-texto-suave, #6e767d) !important;
    line-height: 1.25;
}

.post-content {
    width: 100%;
    min-width: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.92rem;
    font-weight: 400;
    color: var(--custom-burbujas-texto, #141414);
    line-height: 1.45;
    text-align: left;
    overflow-wrap: break-word;
    word-break: normal;
}

.post-link-preview {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    min-height: 104px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.post-link-preview:hover {
    border-color: #c8c8c8;
    background: #fafafa;
}

.post-link-thumb {
    width: 112px;
    min-width: 112px;
    flex-shrink: 0;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.post-link-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-link-icon {
    font-size: 1.2rem;
    color: #666666;
}

.post-link-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 12px 16px;
    overflow: hidden;
    flex: 1;
    min-width: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}


.post-link-title {
  font-weight: 600;
  font-size: 0.96rem;
  line-height: 1.25;
  color: #111111;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-link-url {
    font-size: 0.86rem;
    color: #666666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-footer {
    width: 100%;
    min-width: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2px;
}

.post-actions-group {
    display: flex;
    align-items: center;
    gap: 22px;
}

.like-btn {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.86rem;
    font-variant-numeric: tabular-nums;
    color: var(--custom-burbujas-texto-secundario, #536471);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 4px;
    border-radius: 6px;
    height: auto;
    transition: color 0.15s ease;
}

.like-btn:hover {
    color: var(--custom-burbujas-texto, #111111);
}

.like-btn.liked {
    color: #c92a2a;
}

body.burbujas-oscuras .like-btn.liked {
    color: #ff7b7b;
}

.delete-post-btn {
    background: transparent;
    border: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.8rem;
    color: var(--custom-burbujas-texto-suave, #777777);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
}

.delete-post-btn:hover {
    background: rgba(128, 128, 128, 0.18);
    color: var(--custom-burbujas-texto, #111111);
}

@media (max-width: 600px) {
    .feed-post-card {
        padding: 14px 15px;
    }

    .post-avatar {
        width: 34px;
        height: 34px;
    }

    .post-link-thumb {
        width: 92px;
        min-width: 92px;
    }
}