/* Feed, picture first (inc/feedv.php, pages/feed.php) · 2026-11-23 */

/* Band on top: greeting + post box */
.fv-hello{margin:0 0 18px;padding:18px 18px 16px;border-radius:24px;color:#fff;background:linear-gradient(120deg,#15803D 0%,#16A34A 45%,#84CC16 100%);box-shadow:0 10px 28px rgba(22,163,74,.22);position:relative;overflow:hidden}
.fv-hello::after{content:"";position:absolute;right:-50px;top:-70px;width:210px;height:210px;border-radius:50%;background:radial-gradient(circle,rgba(253,224,71,.55),rgba(253,224,71,0) 70%);pointer-events:none}
.fv-hello h2{margin:0 0 12px;font-size:22px;line-height:1.2;color:#fff;position:relative;z-index:1}
.fv-hello .fdx-compose{margin:0;position:relative;z-index:1;color:var(--ink,#13231A)}
.fv-hello .sc-composer{border-color:transparent}

/* A row of pictures between the posts */
.fv-sec{margin:0 0 20px}
.fv-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 2px 10px}
.fv-head h2{margin:0;font-size:17px;line-height:1.2;display:flex;align-items:center;gap:9px}
.fv-ico{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:var(--c,#16A34A);color:#fff;font-size:14px;flex-shrink:0}
.fv-head a{font-size:13.5px;font-weight:600;white-space:nowrap;text-decoration:none}
.fv-row{display:flex;gap:12px;overflow-x:auto;padding:2px 2px 10px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.fv-row>*{scroll-snap-align:start;flex-shrink:0}

/* Photo card */
.fv-card{width:210px;border-radius:18px;overflow:hidden;background:var(--card,#fff);border:1px solid var(--line-2,#EEEAE0);text-decoration:none;color:var(--ink,#13231A);display:flex;flex-direction:column;transition:transform .18s,box-shadow .18s}
.fv-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(20,40,25,.13);color:var(--ink,#13231A)}
.fv-img{position:relative;display:block;aspect-ratio:4/3;background:linear-gradient(135deg,#DCFCE7,#FEF3C7)}
.fv-img img{width:100%;height:100%;object-fit:cover;display:block}
.fv-tag{position:absolute;left:8px;top:8px;padding:3px 9px;border-radius:999px;background:var(--c,#16A34A);color:#fff;font-size:11.5px;font-weight:700;line-height:1.5;max-width:calc(100% - 16px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fv-rate{position:absolute;left:8px;bottom:8px;padding:2px 8px;border-radius:999px;background:rgba(255,255,255,.94);font-size:13px;line-height:1.4}
.fv-body{display:flex;flex-direction:column;gap:2px;padding:10px 12px 12px;min-width:0}
.fv-body b{font-size:14.5px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fv-body small{font-size:12.5px;color:var(--muted,#6B776F);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fv-stars{font-size:12.5px;display:flex;align-items:center;gap:5px;margin-top:2px}
.fv-stars em{font-style:normal;color:var(--muted,#6B776F)}
.fv-card-rev{width:240px}
.fv-who{display:flex;gap:7px;align-items:flex-start;margin-top:6px;font-size:13px;line-height:1.35;color:var(--ink-2,#3F4F45)}
.fv-who .avatar{flex-shrink:0}
.fv-who>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fv-who i{font-style:normal;font-weight:650}

/* New members: round photos with a colourful ring */
.fv-faces{gap:14px}
.fv-face{width:78px;display:flex;flex-direction:column;align-items:center;gap:4px;text-decoration:none;color:var(--ink,#13231A);text-align:center}
.fv-ring{padding:3px;border-radius:50%;background:conic-gradient(from 210deg,#F59E0B,#EC4899,#84CC16,#16A34A,#F59E0B);display:block;line-height:0}
.fv-ring .avatar{border-radius:50%;border:3px solid #fff;box-sizing:content-box;object-fit:cover}
.fv-face b{font-size:12.5px;font-weight:650;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fv-face small{font-size:11.5px;color:var(--muted,#6B776F);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:-3px}

/* "Welcome new members": one block, round photos on top, a newcomer's first post under them */
.fv-welcome{padding:16px 16px 6px;border-radius:24px;background:linear-gradient(160deg,#FDF2F8 0%,#FFF7ED 55%,#F0FDF4 100%);border:1px solid #FBCFE8}
.fv-welcome .fv-faces{padding-bottom:12px}
.fv-welcome-posts{margin-top:4px}
.fv-welcome-posts>*{margin-bottom:10px}

/* "You replanted": the section heading says it, so the small line above the card is hidden here */
.fv-rp .rp{margin-bottom:0}
.fv-rp .rp-by{display:none}

/* "Your communities": in the right column on a computer, as a section of the feed on phones */
.fv-comm{display:none}
.fv-comm-list{display:flex;flex-direction:column;border:1px solid var(--line-2,#EEEAE0);border-radius:18px;background:var(--card,#fff);overflow:hidden}
.fv-comm-list a{display:flex;align-items:center;gap:11px;padding:10px 14px;text-decoration:none;color:var(--ink,#13231A);font-weight:600;font-size:14.5px}
.fv-comm-list a+a{border-top:1px solid var(--line-2,#EEEAE0)}
.fv-comm-list a>span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fv-comm-go{color:var(--muted,#6B776F);font-size:12px}
.feed-left .gr-side{display:none}   /* shown in the right column on the feed */
.feed-right .fv-comm-box{padding:14px 12px}
.feed-right .fv-comm-box .gr-side{margin:0}
@media (max-width:999px){.fv-comm{display:block}}

/* Heading above the tabs and the posts */
.fv-feedhead{margin-top:6px}

@media (max-width:520px){
  .fv-welcome{padding:14px 12px 4px;border-radius:20px}
  .fv-hello{padding:14px 12px 12px;border-radius:20px;margin-bottom:14px}
  .fv-hello h2{font-size:19px;margin-bottom:10px}
  .fv-card{width:172px}
  .fv-card-rev{width:210px}
}
@media (prefers-reduced-motion:reduce){.fv-card{transition:none}.fv-card:hover{transform:none}}
