.vf-post-text { min-width: 0; }
.vf-unified-post-card > .vf-post-text { margin-left: 54px; }
.post-card .vf-post-text .content { margin-left: 0; }
@media (max-width: 480px) { .vf-unified-post-card > .vf-post-text { margin-left: 0; } }
.vf-translation-controls { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 8px 0 12px; }
.vf-translate-post { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 6px; background: transparent; color: var(--text); padding: 4px 0; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.vf-translate-post [data-vf-translate-label] { text-decoration: underline; text-underline-offset: 3px; }
.vf-translation-icon { flex: 0 0 18px; width: 18px; height: 18px; }
.vf-translate-post:hover { opacity: .8; }
.vf-translate-post:disabled { opacity: .6; cursor: wait; }
.vf-translate-post:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.vf-translation-status { font-size: 12px; color: var(--muted); }
.vf-post-translation { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.65; margin: 0 0 12px; }
.vf-post-text [hidden] { display: none !important; }
.vf-post-text [data-vf-original-text] { white-space: pre-wrap; }

/* Override generic .card button styling, including its hover state. */
.vf-post-text button.vf-translate-post,
.vf-post-text button.vf-translate-post:hover,
.vf-post-text button.vf-translate-post:active {
    min-height: 0;
    padding: 4px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    background-image: none;
    box-shadow: none;
    transform: none;
    color: var(--muted);
    font-weight: 500;
    line-height: 1.4;
}
.vf-post-text button.vf-translate-post:hover { color: var(--text); opacity: 1; }

/* The grid owns the frame; its media fills it without a second border or inset. */
.post-card .post-media-grid .post-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    border: 0;
    border-radius: 0;
}
