/* Live community + Founder image display fixes */
#founder > div:first-child,
#founder .founder-card,
#founder .founder-image,
#founder .founder-visual,
#founder .profile-card,
#founder .photo-frame {
  overflow: hidden;
}

#founder img[src*="founder"],
#founder img[alt*="Founder"],
#founder img[alt*="founder"],
#founder img[alt*="Yutani"] {
  width: min(220px, 58vw) !important;
  max-width: 220px !important;
  height: auto !important;
  max-height: 300px !important;
  object-fit: contain !important;
  object-position: center !important;
  margin-inline: auto !important;
  transform: none !important;
  image-rendering: auto !important;
}

@media (min-width: 900px) {
  #founder img[src*="founder"],
  #founder img[alt*="Founder"],
  #founder img[alt*="founder"],
  #founder img[alt*="Yutani"] {
    width: 230px !important;
    max-width: 230px !important;
    max-height: 310px !important;
  }
}

#communityFeed .post-card { contain: layout paint; }
#communityFeed .reaction-btn.active { transform: translateY(-1px); }
#communityFeed .share-group.active { display: flex; flex-wrap: wrap; gap: 6px; }
#communityFeed .comment-panel.active { display: block; }

#communityFeed .post-edit-form {
  margin: 12px 0 14px;
  padding: 12px;
  border: 1px solid rgba(191,154,255,.28);
  border-radius: 16px;
  background: rgba(16,10,30,.72);
}
#communityFeed .post-edit-form[hidden] { display: none !important; }
#communityFeed .post-edit-form textarea {
  width: 100%;
  min-height: 120px;
  resize: vertical;
  padding: 12px 14px;
  border: 1px solid rgba(191,154,255,.32);
  border-radius: 12px;
  background: rgba(8,6,17,.92);
  color: #fff;
  font: inherit;
  line-height: 1.55;
  box-sizing: border-box;
}
#communityFeed .post-edit-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
#communityFeed .post-edit-status {
  color: #cdbcea;
  font-size: .86rem;
}
