/* MyVillage web Share — the village square.
   Builds on ../styles.css + ../assets/members.css (palette, panels,
   buttons). Audience rule: big tap targets (48px+), readable type,
   plain language. Post cards mirror the app's Share feed: author and
   date, a photo rail, the caption, tagged-piece chips, then the
   Report / Block / Delete row. */

.feed-heading { margin-top: 2.2rem; }

/* ---------- Post cards ---------- */
.post-card { margin: 1.2rem 0; }
.post-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; margin-bottom: 0.6rem;
}
.post-author {
  font-family: "Fraunces", Georgia, serif; font-weight: 700;
  font-size: 1.25rem; color: var(--pine-dark);
}
.post-date { color: var(--ink-soft); font-size: 0.9rem; white-space: nowrap; }

.post-photos {
  display: flex; gap: 0.6rem; overflow-x: auto;
  scroll-snap-type: x mandatory; padding-bottom: 0.4rem;
}
.post-photos img {
  width: min(100%, 34rem); height: 18rem; object-fit: cover;
  border-radius: 12px; scroll-snap-align: start; flex: 0 0 auto;
  background: var(--cream);
}
.post-caption { font-size: 1.1rem; margin-top: 0.6rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.6rem 0; }
.chip {
  display: inline-block; background: #e3efe4; color: var(--pine);
  font-weight: 600; font-size: 0.95rem; border-radius: 999px;
  padding: 0.45rem 0.9rem; text-decoration: none;
  min-height: 44px; line-height: 1.9;
}
a.chip:hover { background: var(--pine); color: #fff; }
.chip-btn { border: none; cursor: pointer; font-family: inherit; }

.post-actions {
  display: flex; gap: 1.2rem; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 0.7rem; margin-top: 0.8rem;
}
.post-actions .btn { min-height: 48px; }
.post-actions .btn-quiet.armed { color: var(--brick); }
.post-signin-link { display: inline-block; padding: 0.7rem 0; font-weight: 600; }
.post-error { margin: 0.8rem 0 0; }

/* ---------- Compose ---------- */
.compose .big-form textarea {
  width: 100%; min-height: 56px; padding: 0.6rem 0.8rem;
  font-size: 1.05rem; font-family: inherit; color: var(--ink);
  background: #fff; border: 2px solid var(--line); border-radius: 10px;
  margin-bottom: 1rem;
}
.compose .big-form textarea:focus {
  outline: 3px solid var(--gold); outline-offset: 2px; border-color: var(--pine);
}
.compose .big-form input[type="file"] { padding: 0.8rem; }

.thumb-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 0.8rem; }
.thumb-wrap { text-align: center; }
.thumb-wrap img {
  width: 6.5rem; height: 6.5rem; object-fit: cover; border-radius: 12px;
  background: var(--cream);
}
.thumb-remove { min-height: 44px; }

.tag-result {
  display: block; width: 100%; text-align: left; cursor: pointer;
  background: #fff; border: none; border-top: 1px solid var(--line);
  font-family: inherit; font-size: 1.05rem; font-weight: 600;
  color: var(--pine-dark); padding: 0.7rem 0.4rem; min-height: 48px;
}
.tag-result-meta { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.9rem; }

.btn-row { display: flex; gap: 0.8rem; flex-wrap: wrap; }
