/* Compact feed cards: natural photo proportions and room for the response. */
#feed-list>.post{width:100%;max-width:620px;justify-self:center;border-radius:18px}
#feed-list .post-head{padding:8px 12px;gap:8px;row-gap:4px}
#feed-list .post-head>.profile-identity{--identity-size:32px}
#feed-list .post-head strong{font-size:13px}
#feed-list .post-head small{font-size:10px;line-height:1.4}
#feed-list .art{min-height:0;padding:18px 20px}
#feed-list .art h2{font-size:clamp(21px,2.4vw,26px);line-height:1.3;margin:0;overflow-wrap:anywhere}
#feed-list .art .star{font-size:19px}
#feed-list .post>.personal-photo{width:auto;height:auto;max-width:calc(100% - 24px);max-height:min(36svh,300px);object-fit:contain;margin:0 auto 6px;border-radius:14px}
#feed-list>.post.photo-shaped-post{width:100%;max-width:620px}
#feed-list .actions{padding:2px 12px 0;gap:10px}
#feed-list .actions button{min-height:44px}
#feed-list .post-copy{padding:3px 12px 10px;font-size:14px;line-height:1.5}
#feed-list .post-copy>p{margin:5px 0 7px}
#feed-list .post-copy>.text-link{min-height:36px;padding-top:6px;padding-bottom:6px;font-size:12px;line-height:1.4}
#feed-list .reflection-prompt-context{margin:2px 12px 8px;padding:9px 11px;border-radius:12px}
#feed-list .reflection-prompt-context p{font-size:16px;line-height:1.35}
#feed-list .reflection-prompt-context small{font-size:10px;margin-bottom:3px}
@media(max-width:600px){
 #feed-list>.post{border-radius:16px}
 #feed-list .art{padding:15px 16px}
 #feed-list .art h2{font-size:22px}
 #feed-list .post>.personal-photo{max-height:min(32svh,250px)}
 #feed-list .post-copy{font-size:14px}
}

/* Preserve rounded cards and media; compact identity and captions only. */
#feed-list .post-head{padding:6px 12px;gap:8px;min-height:44px}
#feed-list .post-head>.profile-identity{--identity-size:30px}
#feed-list .post-head strong{font-size:13px;line-height:1.3}
#feed-list .post-head small{font-size:10px;line-height:1.3}
#feed-list .post-copy{padding:2px 12px 8px;font-size:13px;line-height:1.45}
#feed-list .post-copy>strong{font-size:13px}
#feed-list .post-copy>p{margin:2px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
#feed-list .post-copy>.text-link{padding:3px 0;min-height:32px;font-size:12px;text-decoration:none}
#feed-list .caption-toggle{display:inline;padding:0 3px;min-height:28px;color:var(--muted);font:inherit}
#feed-list .caption-toggle:hover{text-decoration:underline}

/* Short, rounded media keeps the complete photo visible on small screens. */
#feed-list .post-head .username-badge,
#feed-list .post-head small{display:none}
#feed-list .post>.personal-photo{display:block;width:auto;max-width:calc(100% - 20px);height:auto;aspect-ratio:auto;max-height:min(34svh,280px);object-fit:contain;object-position:center;margin:0 auto 4px;border-radius:14px;background:var(--paper)}
#feed-list .post:has(>.personal-photo)>.art{display:none}
#feed-list .post-copy>p.caption-collapsed{white-space:normal}
#feed-list .reflection-prompt-context{margin:0 10px 5px;padding:6px 9px}
#feed-list .reflection-prompt-context p{font-size:15px;line-height:1.3}
#feed-list .art{padding:14px 16px}
#feed-list .art h2{font-size:22px;line-height:1.25}
#feed-list .post-head{padding:3px 10px;min-height:40px}
#feed-list .actions{padding:0 10px;gap:8px}
#feed-list .post-copy{padding:0 10px 7px}
@media(max-width:600px){
 #feed-list .post>.personal-photo{max-height:min(30svh,230px);border-radius:12px}
 #feed-list .art{padding:12px 14px}
 #feed-list .art h2{font-size:20px}
 #feed-list .reflection-prompt-context p{font-size:14px}
}

/* Desktop photos use the card width; mobile member photos stay compact. */
@media(min-width:601px){
 #feed-list .post>.personal-photo{width:calc(100% - 20px);max-height:none;height:auto}
}
/* Prevail artwork keeps its original size and full natural proportions. */
#feed-list .prevail-image-post>.personal-photo{width:calc(100% - 20px);height:auto;max-height:none;aspect-ratio:auto;object-fit:contain}
#feed-list .prevail-image-post>.art{min-height:255px;padding:35px 30px;border-radius:14px;margin:0 10px 4px}
#feed-list .prevail-image-post>.art h2{font-size:clamp(26px,4vw,32px);line-height:1.25}

/* Feed photos choose a portrait frame from their natural proportions. */
#feed-list>.post.photo-shaped-post{width:100%}
#feed-list .post>.personal-photo{display:block;width:calc(100% - 20px);max-width:calc(100% - 20px);height:auto;max-height:none;aspect-ratio:var(--post-photo-ratio,4 / 5);object-fit:cover;object-position:center;margin:0 auto 8px;border-radius:14px}

/* Keep portrait photos readable without filling the entire scroll. */
#feed-list .post>.personal-photo{width:min(calc(100% - 20px),360px,44svh);max-width:calc(100% - 20px);margin:0 auto 6px}
