/* Flock Press — Home Feed.
   Phase 1 of the website-to-app rebuild (owner
   decision Dec 2, 2026): the homepage feed wears
   the app Home look — the app's theme.ts values
   throughout (ground #F7F8FC, cards white with a
   1px #E3E7F0 border and 16px radius, text
   #17203A, muted #6B7280, navy #1B3A8C, giveaway
   #FFF6D6 / #F2DE8C / #6B5B00). Same class hooks
   as before; this is presentation only. */

.fp-feed { max-width: 680px; margin: 0 auto; padding: 12px 12px 28px; }
.fp-feed a { text-decoration: none; }

/* Slim search pill */
.fp-feed-search { display: flex; gap: 8px; margin-bottom: 12px; }
.fp-feed-search input { flex: 1; border: 1px solid #e3e7f0; border-radius: 999px; padding: 11px 16px; font-size: 15px; background: #fff; color: #17203a; }
.fp-feed-search input::placeholder { color: #6b7280; }
.fp-feed-search button { border: 0; border-radius: 999px; padding: 11px 18px; background: #1b3a8c; color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; }

/* Composer + sign-in strip (the app's composer
   card: white, bordered, avatar + prompt field) */
.fp-feed-composer { display: flex; gap: 10px; background: #fff; border: 1px solid #e3e7f0; border-radius: 16px; padding: 12px; margin-bottom: 12px; }
.fp-feed-ava { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.fp-feed-form { flex: 1; min-width: 0; }
.fp-feed-form textarea { width: 100%; border: 0; resize: vertical; font: inherit; font-size: 14.5px; color: #17203a; background: #f7f8fc; border-radius: 999px; padding: 11px 16px; box-sizing: border-box; }
.fp-feed-form textarea::placeholder { color: #6b7280; }
.fp-feed-form textarea:focus { outline: 2px solid #c9d6f8; background: #fff; border-radius: 16px; }
.fp-feed-form-row { display: flex; align-items: center; gap: 10px; margin-top: 9px; }
.fp-feed-photo { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: #3e9b4f; background: none; border-radius: 999px; padding: 7px 10px; cursor: pointer; }
.fp-feed-photo:hover { background: #eef7ee; }
.fp-feed-photoname { font-size: 12.5px; color: #6b7280; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 130px; }
.fp-feed-sell { margin-left: auto; font-size: 13.5px; font-weight: 700; color: #6b7280; }
.fp-feed-btn { border: 0; background: #1b3a8c; color: #fff; font-weight: 700; font-size: 14px; border-radius: 999px; padding: 9px 20px; cursor: pointer; display: inline-block; }
.fp-feed-signin { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid #e3e7f0; border-radius: 16px; padding: 13px 15px; margin-bottom: 12px; }
.fp-feed-signin p { flex: 1; font-size: 14.5px; color: #17203a; margin: 0; line-height: 1.45; }
.fp-feed-flash { background: #e7f6ec; color: #177245; font-size: 14px; font-weight: 600; border-radius: 12px; padding: 10px 14px; margin: 0 0 12px; }

/* Cards */
.fp-feed-list { display: flex; flex-direction: column; gap: 12px; }
.fp-feed-card { background: #fff; border: 1px solid #e3e7f0; border-radius: 16px; overflow: hidden; padding-bottom: 4px; }
.fp-feed-empty p { padding: 18px 16px; margin: 0; color: #6b7280; font-size: 15px; }
.fp-feed-chead { display: flex; gap: 8px; padding: 12px 12px 0; align-items: flex-start; }
.fp-feed-chead .fp-feed-ava { width: 40px; height: 40px; }
.fp-feed-gava { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 800; color: #fff; flex: none; }
.fp-feed-who { flex: 1; min-width: 0; }
.fp-feed-l1 { font-size: 14.5px; font-weight: 700; color: #17203a; line-height: 1.3; display: flex; align-items: center; flex-wrap: wrap; }
.fp-feed-l1 a { color: #17203a; }
.fp-feed-l2 { font-size: 12.5px; color: #6b7280; margin-top: 1px; }
.fp-feed-chip { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .02em; border-radius: 999px; padding: 2.5px 8px; margin-left: 6px; }
.fp-feed-chip.grp { background: #eaf0ff; color: #1b3a8c; }
.fp-feed-chip.fol { background: #e7f6ec; color: #177245; }
.fp-feed-chip.sug { background: #fdf1e7; color: #9a6a12; }
.fp-feed-chip.want { background: #fde8ef; color: #b02a4a; }
.fp-feed-chip.near { background: #ece9ff; color: #5a48c7; }
/* The app's Follow chip: a quiet "· Follow" in
   navy beside the name; "· Following" muted. */
.fp-feed-followform { display: inline-flex; margin: 0; }
.fp-feed-follow { appearance: none; background: none; border: 0; padding: 2px 0 2px 2px; font: inherit; font-size: 13.5px; font-weight: 600; color: #1b3a8c; cursor: pointer; }
.fp-feed-follow.on { color: #6b7280; }
.fp-feed-join { background: #1b3a8c; color: #fff; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 7px 13px; flex: none; }
.fp-feed-text { padding: 8px 12px 0; font-size: 14.5px; line-height: 1.5; color: #17203a; }
.fp-feed-text p { margin: 0 0 8px; }
/* Post photos sit inside the card padding with the
   app's 12px radius; listing photos (inside
   .fp-feed-photowrap) run full-bleed like the
   app's ListingCard. */
.fp-feed-photo { display: block; margin: 10px 12px 0; border-radius: 12px; overflow: hidden; }
.fp-feed-photo img { width: 100%; height: auto; max-height: 430px; object-fit: cover; display: block; }
.fp-feed-photowrap { position: relative; margin-top: 10px; }
.fp-feed-photowrap .fp-feed-photo { margin: 0; border-radius: 0; }
.fp-feed-badge { position: absolute; left: 8px; bottom: 8px; background: rgba(20, 44, 107, 0.7); color: #fff; font-size: 14px; font-weight: 800; border-radius: 999px; padding: 3px 8px; line-height: 1.3; }
.fp-feed-badge small { font-size: 12px; font-weight: 700; }
.fp-feed-counts { padding: 8px 12px 0; font-size: 12.5px; color: #6b7280; min-height: 15px; }
.fp-feed-actions { display: flex; border-top: 1px solid #e3e7f0; margin: 8px 12px 0; padding: 4px 0 5px; align-items: center; }
.fp-feed-actions a { flex: 1; text-align: center; font-size: 13.5px; font-weight: 600; color: #6b7280; }
.fp-feed-delform { flex: 1; text-align: center; }
.fp-feed-del { background: none; border: 0; font: inherit; font-size: 13.5px; font-weight: 600; color: #b3261e; cursor: pointer; }

/* Listing body inside a card */
.fp-feed-listing { padding: 9px 12px 0; }
.fp-feed-lt { font-size: 16.5px; font-weight: 700; color: #17203a; }
.fp-feed-lt a { color: #17203a; }
.fp-feed-lm { font-size: 13px; color: #6b7280; margin-top: 2px; }
.fp-feed-lbtns { display: flex; gap: 8px; padding: 11px 12px 8px; align-items: stretch; }
.fp-feed-msg { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; background: #1b3a8c; color: #fff; text-align: center; font-weight: 700; font-size: 14px; border-radius: 999px; padding: 10px 0; }
.fp-feed-msg:hover { color: #fff; background: #142c6b; }
.fp-feed-favform { margin: 0; display: flex; }
.fp-feed-fav { width: 52px; min-height: 41px; background: #eef1f7; color: #1b3a8c; border: 0; font-size: 16px; border-radius: 999px; cursor: pointer; }
.fp-feed-fav.on { background: #fde8ef; color: #b02a4a; }

/* Pager + endless note */
.fp-feed-pages { text-align: center; padding: 16px 0 4px; }
.fp-feed-pages a { font-weight: 700; color: #1b3a8c; font-size: 14.5px; }
.fp-feed-note { text-align: center; color: #6b7280; font-size: 12.5px; padding: 10px 0 2px; margin: 0; }

/* The safety strip at the feed's foot (the Safety
   module's own markup; spacing only — its colours
   live in safety.css). */
.fp-feed .fp-safety-strip { margin-top: 14px; }

/* How your feed works (Settings page) */
.fp-feed-how { max-width: 680px; margin: 0 auto; background: #fff; border: 1px solid #e3e7f0; border-radius: 16px; padding: 18px; }
.fp-feed-how h2 { font-size: 20px; font-weight: 900; color: #17203a; margin: 0; }
.fp-feed-how-sub { font-size: 13.5px; color: #6b7280; margin: 6px 0 0; line-height: 1.45; }
.fp-feed-rule { display: flex; gap: 11px; margin-top: 15px; }
.fp-feed-rule-n { width: 27px; height: 27px; border-radius: 50%; background: #1b3a8c; color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; flex: none; }
.fp-feed-rule-t { font-size: 14.5px; font-weight: 800; color: #17203a; margin: 0; }
.fp-feed-rule-d { font-size: 13px; color: #6b7280; line-height: 1.45; margin: 1px 0 0; }

/* In-feed interactions (0.8.51), app-shaped in
   Phase 1: three equal actions, outline icons,
   the liked one filled navy. */
.fp-feed-actions .fp-feed-act { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; text-align: center; font-size: 13.5px; font-weight: 600; color: #6b7280; background: none; border: 0; font-family: inherit; cursor: pointer; padding: 2px 0; border-radius: 8px; transition: background-color 0.15s ease; }
.fp-feed-actions .fp-feed-act:hover { background: #f7f8fc; }
.fp-feed-actions .fp-feed-act.on { color: #1b3a8c; font-weight: 700; }
.fp-feed-act .fp-ic-on { display: none; }
.fp-feed-act.on .fp-ic-on { display: inline-flex; }
.fp-feed-act.on .fp-ic-off { display: none; }
.fp-feed-act svg { flex: none; }
.fp-feed-comments { margin: 2px 12px 10px; border-top: 1px solid #e3e7f0; padding-top: 10px; }
.fp-feed-comment { display: flex; gap: 8px; margin-bottom: 9px; }
.fp-feed-cava { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; }
.fp-feed-cbody { background: #f7f8fc; border-radius: 12px; padding: 7px 11px; flex: 1; min-width: 0; }
.fp-feed-cname { font-weight: 800; font-size: 13px; color: #17203a; }
.fp-feed-ctime { font-size: 11.5px; color: #6b7280; margin-left: 5px; }
.fp-feed-ctext { font-size: 13.5px; color: #17203a; line-height: 1.45; word-wrap: break-word; }
.fp-feed-cform { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
.fp-feed-cform input { flex: 1; border: 0; background: #f7f8fc; border-radius: 999px; padding: 9px 14px; font: inherit; font-size: 13.5px; color: #17203a; min-width: 0; }
.fp-feed-cform button { border: 0; background: #1b3a8c; color: #fff; font-weight: 700; font-size: 13px; border-radius: 999px; padding: 9px 15px; cursor: pointer; flex: none; }
.fp-feed-cerr { color: #b3261e; font-size: 13px; margin: 7px 0 0; }
.fp-feed-csignin { font-size: 13.5px; color: #6b7280; margin: 4px 0 0; }
.fp-feed-csignin a { color: #1b3a8c; font-weight: 700; }
/* The app's giveaway strip colours. */
.fp-feed-giveaway { display: flex; align-items: center; justify-content: center; gap: 6px; background: #fff6d6; border: 1px solid #f2de8c; color: #6b5b00; font-size: 13.5px; font-weight: 600; border-radius: 12px; padding: 9px 12px; margin-bottom: 12px; text-align: center; line-height: 1.35; }
.fp-feed-giveaway strong { font-weight: 800; }
.fp-feed-giveaway [data-fp-giveaway-left] { font-variant-numeric: tabular-nums; font-weight: 800; }

/* Multi-photo galleries + composer previews (0.8.58). */
.fp-gal{display:grid;gap:3px;border-radius:12px;overflow:hidden;margin:10px 12px 4px}
.fp-gal img{width:100%;height:100%;object-fit:cover;display:block}
.fp-gal-1{grid-template-columns:1fr}
.fp-gal-2{grid-template-columns:1fr 1fr}
.fp-gal-2 img,.fp-gal-4 img{aspect-ratio:1/1}
.fp-gal-3{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}
.fp-gal-3 img{aspect-ratio:1/1}
.fp-gal-3 img:first-child{grid-row:1/3;aspect-ratio:auto;height:100%}
.fp-gal-4{grid-template-columns:1fr 1fr}
.fp-gal-more{position:relative;display:block}
.fp-gal-more img{aspect-ratio:1/1}
.fp-gal-more b{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(10,15,25,.45);color:#fff;font-size:24px;font-weight:800}

.fp-feed-previews{display:flex;flex-wrap:wrap;gap:8px;padding:10px 2px 2px}
.fp-feed-previews[hidden]{display:none}
.fp-feed-prev{position:relative;width:64px;height:64px}
.fp-feed-prev img{width:64px;height:64px;object-fit:cover;border-radius:10px;display:block}
.fp-feed-prev-x{position:absolute;top:-6px;right:-6px;width:22px;height:22px;border-radius:50%;border:0;background:#20312a;color:#fff;font-size:15px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}

/* Full-screen photo viewer (1.0). */
.fp-viewer{position:fixed;inset:0;z-index:99990;background:rgba(8,12,20,.95);display:flex;align-items:center;justify-content:center}
.fp-viewer img{max-width:100%;max-height:100%;object-fit:contain;display:block;cursor:zoom-in;transition:transform .18s ease}
.fp-viewer-x{position:absolute;z-index:2;top:calc(12px + env(safe-area-inset-top));right:14px;width:42px;height:42px;border-radius:50%;border:0;background:rgba(255,255,255,.16);color:#fff;font-size:24px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}
.fp-viewer-p,.fp-viewer-n{position:absolute;z-index:2;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;border:0;background:rgba(255,255,255,.16);color:#fff;font-size:30px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}
.fp-viewer-p{left:10px}
.fp-viewer-n{right:10px}
.fp-viewer-count{position:absolute;z-index:2;bottom:calc(16px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);color:#fff;font-size:14px;font-weight:700}
.fp-gal img{cursor:zoom-in}
