/* Account 3: consistent, compact member-first post experience. */
body.community-unified-theme .post{background:#fff!important;border:1px solid #d9e1ee!important;border-radius:15px!important;box-shadow:0 3px 16px #0d214512!important;margin-bottom:16px}
body.community-unified-theme .post-header{align-items:center;gap:10px}
body.community-unified-theme .post-identity{min-width:0;flex:1}
body.community-unified-theme .post-author{font-weight:850;color:#152a52!important;text-decoration:none;font-size:1rem}
body.community-unified-theme .post-header .post-menu{margin-left:auto}
body.community-unified-theme .gc-post-add-friend{display:inline-flex;align-items:center;margin:5px 0 0;background:#eef3ff;color:#1445ad;border:0;border-radius:8px;padding:6px 10px;min-height:32px;font-size: 16px;font-weight:850;cursor:pointer}
body.community-unified-theme .gc-post-add-friend:disabled{opacity:.7;cursor:default}
/* Release #821 fix (25 Nov 2026): the design-card text size on feed
   cards is set by the measured fit (designCardFitSize /
   layoutDesignCard in public/design-cards.js, .dc-fit 1em rules in
   premium-card-typography.css) — NOT by a clamp in this sheet. The
   old !important font-size clamps on .dc-message / .dc-scripture
   below capped the visible text at 32px desktop / 27px phone while
   the card itself fit 37-48px, so feed cards showed small text with
   a large empty area below. Never re-add a font-size !important
   here: test/release-821-design-cards-fix.checks.mjs fails on it. */
body.community-unified-theme .post .dc-size-square{width:100%;aspect-ratio:1/1;min-height:0!important;max-height:none!important;display:flex;align-items:center;justify-content:center;padding:clamp(18px,4vw,40px)}
body.community-unified-theme .post .dc-size-square .dc-inner{width:100%}
body.community-unified-theme .post .dc-size-square .dc-message{line-height:1.45!important;font-weight:750}
body.community-unified-theme .post .dc-size-square .dc-scripture{line-height:1.35}
body.community-unified-theme .gc-post-reactions{display:grid;gap:8px;padding-top:10px}
body.community-unified-theme .gc-reaction-summary{display:flex;gap:7px 14px;flex-wrap:wrap;align-items:center;font-size: 16px;color:#5d6981}
body.community-unified-theme .gc-reaction-summary strong{color:#193a83}
body.community-unified-theme .gc-reaction-controls{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
body.community-unified-theme .gc-reaction-controls>.reaction{border:0;background:#f0f4fa;color:#234473;min-height:38px;font-size: 16px;border-radius:9px}
body.community-unified-theme .gc-reaction-controls>.reaction[aria-pressed=true]{background:#dce8ff;color:#113a97}
body.community-unified-theme .gc-reaction-controls .reaction-menu>summary{padding:9px 11px;border-radius:9px;background:#f0f4fa;cursor:pointer;font-size: 16px;font-weight:700;color:#234473}
body.community-unified-theme .gcc-quick-panel,body.community-unified-theme .gcc-account-panel,body.community-unified-theme .gc-faith-topics,body.community-unified-theme .hk-ai-discovery-panel{display:none!important}
body.community-unified-theme .gcc-premium-header{max-width:100vw!important}
body.community-unified-theme .gcc-premium-header .gcc-search{min-width:0}
@media(max-width:760px){
body.community-unified-theme .gc-header-shortcuts{display:none!important}
body.community-unified-theme .gcc-premium-header .gcc-brand{height:65px!important;gap:9px!important}
body.community-unified-theme .gcc-premium-header .gcc-emblem{flex:none;width:43px;height:43px}
body.community-unified-theme .gcc-premium-header .gcc-name strong{font-size: 24px !important;line-height:1!important}
body.community-unified-theme .gcc-premium-header .gcc-name>span{font-size: 16px !important;padding:5px 9px!important}
body.community-unified-theme .gcc-premium-header .gcc-toolbar{display:flex!important;flex-direction:column;align-items:stretch;gap:8px;padding:8px 10px!important}
body.community-unified-theme .gcc-premium-header .gcc-menu{display:flex!important;flex-wrap:nowrap!important;width:100%;overflow-x:auto;min-height:40px;white-space:nowrap}
body.community-unified-theme .gcc-premium-header .gcc-menu a{font-size: 16px !important;padding:9px 11px!important}
body.community-unified-theme .gcc-premium-header .gcc-search{width:100%!important;flex:0 0 auto!important;max-width:none!important}
body.community-unified-theme .gcc-premium-header .gcc-search input{font-size: 16px !important;min-height:43px}
body.community-unified-theme .post .dc-size-square{width:100%;aspect-ratio:1;min-height:0!important;padding:16px!important}
/* Release #821 fix (25 Nov 2026): NO font-size on .dc-message /
   .dc-scripture here, at any width. The old !important clamps
   (32px desktop / 27px phone on the message, 16px on the scripture)
   capped the VISIBLE text while the card fit set 37-48px on the
   card — feed cards showed small text with empty space below.
   The measured fit governs now (premium-card-typography.css
   .dc-fit 1em rules); the 16px floor is enforced by the fit. */
body.community-unified-theme .gc-reaction-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
body.community-unified-theme .gc-reaction-controls>.reaction{font-size: 16px;padding:8px 3px;min-width:0}
body.community-unified-theme .gc-reaction-controls .reaction-menu{grid-column:1/-1}
body.community-unified-theme .gc-post-add-friend{font-size: 16px}
}

/* Verified badge (22 Nov 2026 correction, REVERSED 22 Nov 2026 Task G):
   the round ✓ badge no longer marks the 500 on post cards or profile
   headers — the magenta "Team Jesus" tag does (see .gc-team-jesus-tag in
   team-jesus-badge.css). This base rule stays ONLY because the Fellowship
   Center still renders the badge (owner decision pending — see the #791
   report); remove it when the Fellowship Center moves to the tag. */
body.community-unified-theme .gc-team-jesus-badge{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;background:#008cff;color:#fff;border:2px solid #fff;border-radius:50%;padding:0;font-size: 16px;font-weight:800;line-height:1;flex:none}
body.community-unified-theme .gc-ai-disclosure{display:block;color:#65748d;font-size: 16px;margin-top:3px}

/* Account 3: one continuous Facebook-style timeline rather than separate media tabs. */
body[data-page="home"] .composer-card{background:#fff;border-radius:14px}
/* 24 Nov 2026 (owner order — the four composer posting patterns were
   missing under the post field on home): the composer shortcuts and the
   format guide are NOT hidden. An earlier rule hid them as collateral of
   the feed-tabs hide below; the intent was only ever the tabs — "one
   continuous Facebook-style timeline rather than separate media tabs".
   With this rule gone, the designed show rules apply again
   (community-compact-home.css:28, display:grid, four columns). */
body[data-page="home"] .feed-tabs{display:none!important}
body[data-page="home"] .feed{display:grid;gap:12px}
body[data-page="home"] .feed>.post{max-width:100%;min-width:0;overflow-wrap:anywhere}

/* Facebook-style verse-post cards (22 Nov 2026 correction + refinement,
   Task G 22 Nov 2026): round avatar with ring, name with the magenta
   "Team Jesus" tag UNDER it for the 500, blue "• Add friend" right of
   the name, tag + chosen location + relative time below, counts row
   above four equal grey pill buttons, Save last (item 87, 22 Nov 2026). */
body.community-unified-theme .post-author-name{display:inline-block}
body.community-unified-theme .post-tag-line{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:2px}
body.community-unified-theme .post-location{display:block;color:#65676b;font-size: 16px;line-height:1.3}
body.community-unified-theme .post-timestamp{display:block;color:#65676b;font-size: 16px;line-height:1.3}
body.community-unified-theme .post-header .member-avatar{border:2px solid #fff;box-shadow:0 0 0 2px #d9e1ee,0 1px 8px #16345625}
body.community-unified-theme .gc-post-add-friend-text{background:none!important;border:0!important;padding:0!important;min-height:0!important;margin:0 0 0 6px!important;color:#0866ff!important;font-size: 1rem !important;font-weight:700!important}
body.community-unified-theme .gc-post-hide{margin-left:8px;background:none;border:0;color:#65676b;font-size:20px;line-height:1;cursor:pointer;padding:4px 6px;border-radius:50%}
body.community-unified-theme .gc-post-hide:hover{background:#f0f2f5}
body.community-unified-theme .gc-post-hidden{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid #d9e1ee;border-radius:15px;padding:12px 16px;margin-bottom:16px;color:#65676b;font-size: 16px}
body.community-unified-theme .post-verse-text p{white-space:pre-line;font-size:1rem;line-height:1.45}
body.community-unified-theme .post .read-more{background:none;border:0;color:#65676b;font-weight:600;cursor:pointer;padding:0;font-size:inherit}
body.community-unified-theme .gc-post-wrap{margin-bottom:16px}
body.community-unified-theme .gc-post-wrap>.post{margin-bottom:0!important}
body.community-unified-theme .gc-post-footer{padding:8px 4px 0}
body.community-unified-theme .gc-post-footer .community-care{display:block;color:#65676b;font-size: 16px;margin-bottom:6px}
body[data-page="home"] .feed>.gc-post-wrap{max-width:100%;min-width:0}
body[data-page="home"] .feed>.gc-post-wrap>.post{overflow-wrap:anywhere}
body.community-unified-theme .gc-fb-engagement{padding-top:10px}
body.community-unified-theme .gc-fb-counts{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:2px 4px 8px;font-size: 16px;color:#65676b}
body.community-unified-theme .gc-fb-counts-left{display:inline-flex;align-items:center;gap:6px}
body.community-unified-theme .gc-fb-top-icons{display:inline-flex}
/* #812 (24 Nov 2026): 18px -> 22px so the 16px reaction glyph fits the circle. */
body.community-unified-theme .gc-fb-top-icon{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#fff;border:1px solid #fff;font-size: 16px;margin-right:-4px}
/* Release #801 — item 101: the nine reactions each carry their own
   bright colour (Facebook-style), used by the picker badges, the
   counts-row mini-badges and the Like pill. Vocabulary unchanged. */
body.community-unified-theme .gc-reaction-colour--amen{background:#1877f2}
body.community-unified-theme .gc-reaction-colour--hallelujah{background:#7c3aed}
body.community-unified-theme .gc-reaction-colour--glory_to_god{background:#f59e0b}
body.community-unified-theme .gc-reaction-colour--praying{background:#0d9488}
body.community-unified-theme .gc-reaction-colour--encouraged{background:#059669}
body.community-unified-theme .gc-reaction-colour--thank_god{background:#d97706}
body.community-unified-theme .gc-reaction-colour--helpful{background:#4f46e5}
body.community-unified-theme .gc-reaction-colour--i_will_go{background:#0891b2}
body.community-unified-theme .gc-reaction-colour--challenge_accepted{background:#dc2626}
body.community-unified-theme .gc-fb-counts-right{color:#65676b}
body.community-unified-theme .gc-fb-actions{display:flex;gap:8px;border-top:1px solid #e4e6eb;padding-top:8px}
body.community-unified-theme .gc-fb-like-wrap{position:relative;flex:1;min-width:0}
body.community-unified-theme .gc-fb-action{flex:1;min-width:0;display:inline-flex;align-items:center;justify-content:center;gap:6px;background:#f0f4fa!important;color:#65676b;border:0;border-radius:999px;min-height:40px;font-size: 16px;font-weight:700;cursor:pointer;padding:8px 10px;touch-action:manipulation;white-space:nowrap}
/* Release #802 (#801 browser item 8): profile pills must not touch.
   Root cause, proven in code: the #801 fix set min-width:auto on
   `.member-profile-posts .gc-fb-action` in member-community-polish.css
   (specificity 0,2,0) — it LOSES to this file's base rule (0,2,1), so
   min-width:0 still applied and the pills shrank below content instead
   of wrapping; and it never covered `.gc-fb-like-wrap`, the actual
   flex item holding the Like pill, so the Like count overflowed onto
   Comment ("Commen"). Scoped here with the body.community-unified-theme
   prefix (0,3,1) the three rules beat the base: pills and the Like wrap
   keep min-content width and the row wraps to a second line. Home feed
   keeps nowrap (post-field LOCK untouched). */
body.community-unified-theme .member-profile-posts .gc-fb-actions{flex-wrap:wrap}
body.community-unified-theme .member-profile-posts .gc-fb-action{min-width:auto}
body.community-unified-theme .member-profile-posts .gc-fb-like-wrap{min-width:auto}
body.community-unified-theme .gc-fb-action[aria-pressed="true"]{background:#dce8ff!important;color:#113a97}
/* Release #801 — item 101: the Like pill takes the colour of the user's
   current reaction (placed after the pressed rule so it wins on equal
   specificity). */
body.community-unified-theme .gc-fb-action.gc-fb-like--amen{color:#1877f2}
body.community-unified-theme .gc-fb-action.gc-fb-like--hallelujah{color:#7c3aed}
body.community-unified-theme .gc-fb-action.gc-fb-like--glory_to_god{color:#f59e0b}
body.community-unified-theme .gc-fb-action.gc-fb-like--praying{color:#0d9488}
body.community-unified-theme .gc-fb-action.gc-fb-like--encouraged{color:#059669}
body.community-unified-theme .gc-fb-action.gc-fb-like--thank_god{color:#d97706}
body.community-unified-theme .gc-fb-action.gc-fb-like--helpful{color:#4f46e5}
body.community-unified-theme .gc-fb-action.gc-fb-like--i_will_go{color:#0891b2}
body.community-unified-theme .gc-fb-action.gc-fb-like--challenge_accepted{color:#dc2626}
/* Release #801 — item 101: the action-row pills use 20px SVG icons
   (thumb / bubble / arrow / bookmark) instead of emoji. */
body.community-unified-theme .gc-fb-action .gc-fb-action-icon{width:20px;height:20px;flex:0 0 20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.community-unified-theme .gc-fb-engagement[aria-busy="true"] .gc-fb-like{opacity:.55}
body.community-unified-theme .gc-fb-action:disabled{opacity:.6;cursor:default}
body.community-unified-theme .gc-fb-like-wrap .gc-fb-action{width:100%}
body.community-unified-theme .gc-reaction-picker{position:absolute;left:0;bottom:calc(100% + 8px);display:flex;flex-wrap:wrap;gap:6px;align-items:center;background:#fff;border:1px solid #d9e1ee;border-radius:999px;box-shadow:0 4px 16px rgba(0,0,0,.18);padding:6px 8px;z-index:20;max-width:100%}
body.community-unified-theme .gc-picker-reaction{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex:0 0 36px;border:0;font-size:22px;line-height:1;cursor:pointer;padding:0;border-radius:50%}
body.community-unified-theme .gc-picker-reaction:hover{transform:scale(1.15)}
body.community-unified-theme .gc-picker-more{background:#f0f4fa;border:0;border-radius:50%;width:28px;height:28px;font-size:16px;cursor:pointer;color:#234473}
body.community-unified-theme .gc-picker-grid{flex-basis:100%;display:flex;flex-wrap:wrap;gap:4px;border-top:1px solid #e4e6eb;padding-top:6px;margin-top:2px}
body.community-unified-theme .gc-picker-reaction-all{display:inline-flex;align-items:center;gap:6px;background:#f0f4fa;border:0;border-radius:999px;font-size: 16px;padding:6px 10px;cursor:pointer;color:#234473;white-space:normal;text-align:left}
body.community-unified-theme .gc-picker-badge{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;flex:0 0 22px;border-radius:50%;font-size: 16px;line-height:1}
body.community-unified-theme .gc-picker-reaction-all:hover{background:#dce8ff}
/* Owner correction 22 Nov 2026 (#791, Task D): the Member encouragement
   row is gone — the card is exactly Facebook's own. No rule here. */
/* Release #799 — Facebook-method comment thread: composer above the
   list, avatar + name + relative time per row, nested replies. */
body.community-unified-theme .gc-comment-thread{margin-top:10px}
body.community-unified-theme .gc-comment-composer{margin-bottom:10px}
body.community-unified-theme .gc-comment-composer .gc-comment-input{min-height:40px;max-height:160px;resize:vertical}
body.community-unified-theme .gc-comment-counter{font-size: 16px;color:#65676b;text-align:right}
body.community-unified-theme .gc-comment-replying{font-size: 16px;color:#65676b;margin:0}
body.community-unified-theme .gc-comment-list{display:grid;gap:10px}
body.community-unified-theme .gc-comment-row{padding:8px 10px;background:#f0f4fa;border-radius:12px}
body.community-unified-theme .gc-comment-head{display:flex;align-items:center;gap:8px;margin-bottom:4px}
body.community-unified-theme .gc-comment-head .member-avatar{width:28px;height:28px}
body.community-unified-theme .gc-comment-who{display:flex;align-items:baseline;gap:4px;flex-wrap:wrap}
body.community-unified-theme .gc-comment-time{font-size: 16px;color:#65676b}
body.community-unified-theme .gc-comment-row .post-text p{margin:0;font-size: 16px}
body.community-unified-theme .gc-comment-actions{display:flex;gap:10px;margin-top:6px}
body.community-unified-theme .gc-comment-actions .gc-comment-reply{background:none;border:0;color:#234473;font-size: 16px;font-weight:700;cursor:pointer;padding:0}
body.community-unified-theme .gc-comment-actions .btn{padding:2px 8px;font-size: 16px;min-height:0}
body.community-unified-theme .gc-comment-child{margin-left:28px}
body.community-unified-theme .gc-comment-pending{font-size: 16px;color:#8a6d00;margin:6px 0 0}
/* Release #800 (R5b): the action-row pills must fit a phone width
   without wrapping — the count hides on phones (the label stays), the
   pills size to their content and never wrap. */
@media(max-width:760px){
 body.community-unified-theme .gc-fb-actions{gap:6px}
 body.community-unified-theme .gc-fb-action,body.community-unified-theme .gc-fb-like-wrap{flex:1 1 auto}
 body.community-unified-theme .gc-fb-action{font-size: 16px;padding:8px 6px}
 body.community-unified-theme .gc-fb-count{display:none}
}
@media(max-width:380px){
 body.community-unified-theme .gc-fb-action{font-size: 16px}
 body.community-unified-theme .gc-fb-actions{gap:4px}
}

/* Release #812b (E-post, 24 Nov 2026): the four posting buttons use the
   cropped menu-sheet images (app.js formatIcon) instead of text glyphs.
   Compact professional buttons: small image + label, label 16px. The
   dialog format tiles are the same four patterns in a horizontal row
   layout instead of tall glossy cards; patterns, labels and destinations
   are unchanged. Specificity (0,3,1) beats hk-share.css (0,1,0). */
body.community-unified-theme .composer-shortcut img.shortcut-icon{width:30px!important;height:22px!important;object-fit:cover!important;border-radius:6px!important;flex:0 0 auto!important}
body.community-unified-theme .composer-format-tiles{gap:8px!important}
body.community-unified-theme .composer-format-tile{flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;gap:8px!important;min-height:44px!important;padding:8px 10px!important;text-align:left!important}
body.community-unified-theme .composer-format-tile img.tile-icon{width:36px!important;height:26px!important;object-fit:cover!important;border-radius:6px!important;flex:0 0 auto!important}
body.community-unified-theme .composer-format-tile .tile-label{font-size:16px!important}
