
/* FEED-GLORY 2: the Signal Rail (28 Sep 2026) */
html body.pfh-app{--fg-rail:52px;--fg-node:30px;--fg-ring:#F5F7F6}
/* ---------- the control deck: tabs + search + filter ---------- */
html body.pfh-app #buddypress nav.activity-type-navs{margin:0 0 10px!important;padding:0!important;background:none!important;border:0!important}
html body.pfh-app #buddypress nav.activity-type-navs ul.component-navigation{display:inline-flex!important;gap:4px;margin:0!important;padding:5px!important;border-radius:999px!important;background:#EAF0EC!important;box-shadow:inset 0 0 0 1px rgba(20,35,63,.06)!important;border:0!important}
html body.pfh-app #buddypress nav.activity-type-navs ul.component-navigation>li{margin:0!important;padding:0!important;border:0!important;background:none!important;float:none!important}
html body.pfh-app #buddypress nav.activity-type-navs ul.component-navigation>li>a{display:inline-flex!important;align-items:center;gap:8px;height:38px!important;padding:0 18px!important;border-radius:999px!important;border:0!important;background:transparent!important;color:#4A5563!important;font-size:14px!important;font-weight:700!important;letter-spacing:.01em;text-decoration:none!important;box-shadow:none!important;transition:background .2s,color .2s,box-shadow .2s}
html body.pfh-app #buddypress nav.activity-type-navs ul.component-navigation>li>a:hover{color:#14233F!important;background:rgba(255,255,255,.6)!important}
html body.pfh-app #buddypress nav.activity-type-navs ul.component-navigation>li.selected>a,html body.pfh-app #buddypress nav.activity-type-navs ul.component-navigation>li.current>a{background:#FFFFFF!important;color:#14233F!important;box-shadow:0 1px 2px rgba(11,23,41,.08),0 6px 16px -10px rgba(11,23,41,.5),inset 0 -2px 0 #2E7D5B!important}
html body.pfh-app #buddypress nav.activity-type-navs ul.component-navigation>li>a .count{display:none!important}
html body.pfh-app #buddypress nav.activity-type-navs ul.component-navigation>li>a:focus-visible{outline:3px solid #E07A2F!important;outline-offset:2px}
/* ---------- the rail ---------- */
html body.pfh-app #buddypress ul.activity-list{position:relative!important;padding-left:var(--fg-rail)!important}
html body.pfh-app #buddypress ul.activity-list::before{content:""!important;display:block!important;position:absolute!important;left:calc(var(--fg-rail)/2 - 1px);top:8px;bottom:24px;width:2px;border-radius:2px;background:linear-gradient(180deg,rgba(46,125,91,.0) 0,rgba(46,125,91,.55) 40px,rgba(46,125,91,.35) 60%,rgba(224,122,47,.35) 100%)!important;z-index:0;pointer-events:none}
html body.pfh-app #buddypress ul.activity-list::after{content:""!important;display:block!important;position:absolute!important;left:calc(var(--fg-rail)/2 - 2px);top:8px;bottom:24px;width:4px;border-radius:4px;background:linear-gradient(180deg,transparent,rgba(63,191,132,.95) 45%,#FFFFFF 50%,rgba(63,191,132,.95) 55%,transparent) 0 -140px/100% 140px no-repeat!important;filter:drop-shadow(0 0 6px rgba(63,191,132,.8));z-index:0;pointer-events:none;animation:fg-signal 5.5s cubic-bezier(.65,0,.35,1) infinite}
@keyframes fg-signal{0%{background-position:0 -140px}70%,100%{background-position:0 calc(100% + 140px)}}
html body.pfh-app #buddypress ul.activity-list>li.activity-item{position:relative!important;overflow:visible!important}
/* the node on the rail (absolute, so it is not a grid cell) */
html body.pfh-app #buddypress ul.activity-list>li.activity-item::after{content:""!important;display:block!important;position:absolute!important;left:calc(var(--fg-rail) * -1 + (var(--fg-rail) - var(--fg-node))/2);top:20px;width:var(--fg-node);height:var(--fg-node);border-radius:999px;box-shadow:0 0 0 5px var(--fg-ring),0 6px 14px -6px rgba(11,23,41,.45);background:#2E7D5B var(--fg-ico) center/15px no-repeat;z-index:1;clear:none!important;visibility:visible!important}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini::after{top:14px}
html body.pfh-app #buddypress ul.activity-list>li.activity-item{--fg-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z'/%3E%3C/svg%3E")}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.groups{--fg-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E")}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.new_member::after{background-color:#E07A2F}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.new_member{--fg-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='4'/%3E%3Cpath d='M2 21c0-3.9 3.1-7 7-7s7 3.1 7 7'/%3E%3Cpath d='M19 8v6M16 11h6'/%3E%3C/svg%3E")}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.new_event::after{background-color:#14233F}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.new_event{--fg-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2.5'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E")}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.new_avatar::after{background-color:#256B4D}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.new_avatar{--fg-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v12H4z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E")}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.pfh-pinned::after{background-color:#E07A2F;box-shadow:0 0 0 5px var(--fg-ring),0 0 0 9px rgba(224,122,47,.18),0 6px 14px -6px rgba(11,23,41,.45)}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.pfh-pinned{--fg-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4h6l-1 6 4 3v2H6v-2l4-3z'/%3E%3Cpath d='M12 15v6'/%3E%3C/svg%3E")}
/* ---------- day markers on the rail ---------- */
html body.pfh-app #buddypress ul.activity-list>li.fg-day{position:relative!important;display:flex!important;align-items:center;gap:12px;margin:26px 0 14px!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;list-style:none!important}
html body.pfh-app #buddypress ul.activity-list>li.fg-day:first-child{margin-top:4px!important}
html body.pfh-app #buddypress ul.activity-list>li.fg-day::before{content:""!important;position:absolute!important;left:calc(var(--fg-rail) * -1 + var(--fg-rail)/2 - 6px);top:50%;width:12px;height:12px;margin-top:-6px;border-radius:3px;transform:rotate(45deg);background:#FFFFFF;box-shadow:inset 0 0 0 2.5px #2E7D5B,0 0 0 5px var(--fg-ring)}
html body.pfh-app #buddypress ul.activity-list>li.fg-day>span{font-family:var(--font-display,"Anton","Arial Narrow",Impact,sans-serif);font-size:22px;line-height:1;letter-spacing:.03em;text-transform:uppercase;color:#14233F}
html body.pfh-app #buddypress ul.activity-list>li.fg-day>em{font-style:normal;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#1E5C42;background:#E3EFE8;border-radius:999px;padding:4px 10px}
html body.pfh-app #buddypress ul.activity-list>li.fg-day>i{flex:1;height:1px;background:linear-gradient(90deg,rgba(20,35,63,.18),transparent)}
/* ---------- system notices become slim strips ---------- */
html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini{display:grid!important;grid-template-columns:38px minmax(0,1fr) auto!important;column-gap:12px!important;align-items:center!important;margin:0 0 10px!important;padding:10px 12px 10px 14px!important;border:0!important;border-radius:16px!important;background:#FFFFFF!important;box-shadow:0 1px 2px rgba(11,23,41,.05),inset 0 0 0 1px rgba(20,35,63,.07)!important;transition:box-shadow .2s,transform .2s}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini:hover{box-shadow:0 10px 24px -16px rgba(11,23,41,.45),inset 0 0 0 1px rgba(46,125,91,.28)!important;transform:translateX(2px)}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini>.activity-avatar{grid-column:1!important;grid-row:1!important;width:38px!important}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini>.activity-avatar img.avatar{width:38px!important;height:38px!important;border-radius:12px!important;box-shadow:0 0 0 1px rgba(20,35,63,.1)!important}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini>.activity-content{grid-column:2 / 4!important;grid-row:1!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:10px}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini .activity-header{grid-column:1;margin:0!important}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini .activity-header p{font-size:14.5px!important;line-height:1.45!important;color:#4A5563!important}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini .activity-header p>a:first-child{display:inline!important;margin:0!important;font-size:14.5px!important;font-weight:800!important;color:#14233F!important}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini .activity-header a:not(:first-child):not(.activity-time-since){color:#1E5C42!important;font-weight:700!important}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini .activity-header .time-since{margin-left:6px}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini .activity-header a.activity-time-since::before{content:""!important}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini .activity-inner{grid-column:1;margin:4px 0 0!important;font-size:14px!important}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini .activity-inner:empty{display:none!important}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini .pfh-rec-chips{grid-column:1}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini .pfh-rec-chips:empty{display:none!important}
/* the "became a member" card: no giant photo, one welcome action */
html body.pfh-app #buddypress ul.activity-list>li.activity-item.new_member .bp-member-activity-preview,html body.pfh-app #buddypress ul.activity-list>li.activity-item.new_member .bp-member-short-description{display:flex!important;align-items:center;gap:10px;margin:0!important;padding:0!important;border:0!important;background:none!important;text-align:left!important}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.new_member .bp-member-avatar-content,html body.pfh-app #buddypress ul.activity-list>li.activity-item.new_member .bp-member-short-description-title{display:none!important}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.new_member .bp-member-nickname{margin:0!important;font-size:13px!important}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.new_member .bp-member-nickname a{color:#5E6672!important;font-weight:600!important;text-decoration:none!important}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.new_member .bp-profile-button{margin:0!important;padding:0!important;float:none!important}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.new_member .bp-profile-button a.button{display:inline-flex!important;align-items:center;height:30px!important;min-height:0!important;margin:0!important;padding:0 14px!important;border:0!important;border-radius:999px!important;background:#FBEBDD!important;color:#A9501A!important;font-size:13px!important;font-weight:800!important;line-height:1!important;box-shadow:none!important;text-decoration:none!important}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.new_member .bp-profile-button a.button::after{content:" \2192"}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.new_member .bp-profile-button a.button:hover,html body.pfh-app #buddypress ul.activity-list>li.activity-item.new_member .bp-profile-button a.button:focus{background:#E07A2F!important;color:#FFFFFF!important}
/* strip actions: icons only, quiet until hover */
html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini>.activity-content>.action{grid-column:2!important;grid-row:1 / span 3;margin:0!important;padding:0!important;border:0!important;gap:2px!important;flex-wrap:nowrap!important;opacity:.55;transition:opacity .2s}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini:hover>.activity-content>.action,html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini:focus-within>.activity-content>.action{opacity:1}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini>.activity-content>.action .generic-button:has(.fav),html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini>.activity-content>.action .generic-button:has(.unfav){display:none!important}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini>.activity-content>.action .generic-button:has(.delete-activity){margin-left:0!important}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini>.activity-content>.action a.button{height:32px!important;padding:0 9px!important;gap:5px}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini>.activity-content>.action a.button::after{content:none!important;display:none!important}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini>.activity-content>.action a.acomment-reply .comment-count:empty,html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini>.activity-content>.action a.acomment-reply[data-fg-zero] .comment-count{display:none}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini>.activity-comments{grid-column:2 / -1!important}
/* repeats collapsed by the page script */
html body.pfh-app #buddypress ul.activity-list>li.activity-item.fg-dup{display:none!important}
html body.pfh-app #buddypress .fg-times{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:999px;background:#14233F;color:#FFFFFF;font-size:11.5px;font-weight:800;letter-spacing:.04em;vertical-align:1px}
/* ---------- post cards: plugged into the rail ---------- */
html body.pfh-app #buddypress ul.activity-list>li.activity-item:not(.mini){border-radius:20px!important}
/* the group a post is in, as a chip */
html body.pfh-app #buddypress ul.activity-list>li.activity-item.groups:not(.mini) .activity-header a[href*="/groups/"]{display:inline-flex!important;align-items:center;margin:2px 0 0!important;padding:2px 10px!important;border-radius:999px!important;background:#E3EFE8!important;color:#1E5C42!important;font-size:12.5px!important;font-weight:800!important;text-decoration:none!important}
/* ---------- phone ---------- */
@media (max-width:640px){
 html body.pfh-app{--fg-rail:30px;--fg-node:22px}
 html body.pfh-app #buddypress ul.activity-list>li.activity-item::after{background-size:11px;box-shadow:0 0 0 3px var(--fg-ring)}
 html body.pfh-app #buddypress ul.activity-list>li.fg-day>span{font-size:18px}
 html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini>.activity-content{grid-template-columns:minmax(0,1fr)}
 html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini>.activity-content>.action{grid-column:1!important;grid-row:auto;opacity:1}
 html body.pfh-app #buddypress nav.activity-type-navs ul.component-navigation{display:flex!important;width:100%}
 html body.pfh-app #buddypress nav.activity-type-navs ul.component-navigation>li{flex:1}
 html body.pfh-app #buddypress nav.activity-type-navs ul.component-navigation>li>a{justify-content:center;padding:0 8px!important;width:100%}
}
@media (prefers-reduced-motion:reduce){
 html body.pfh-app #buddypress ul.activity-list::after{animation:none;display:none!important}
 html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini{transition:none}
}
/* ---------- dark ---------- */
html body.pfh-app.pfh-dark{--fg-ring:#0F141A}
html body.pfh-app.pfh-dark #buddypress nav.activity-type-navs ul.component-navigation{background:#151A21!important;box-shadow:inset 0 0 0 1px #2A323D!important}
html body.pfh-app.pfh-dark #buddypress nav.activity-type-navs ul.component-navigation>li>a{color:#AEB7C2!important}
html body.pfh-app.pfh-dark #buddypress nav.activity-type-navs ul.component-navigation>li.selected>a{background:#222A33!important;color:#FFFFFF!important;box-shadow:inset 0 -2px 0 #3FBF84!important}
html body.pfh-app.pfh-dark #buddypress ul.activity-list>li.activity-item.mini{background:#151A21!important;box-shadow:inset 0 0 0 1px #2A323D!important}
html body.pfh-app.pfh-dark #buddypress ul.activity-list>li.activity-item.mini .activity-header p{color:#AEB7C2!important}
html body.pfh-app.pfh-dark #buddypress ul.activity-list>li.activity-item.mini .activity-header p>a:first-child{color:#FFFFFF!important}
html body.pfh-app.pfh-dark #buddypress ul.activity-list>li.activity-item.mini .activity-header a:not(:first-child):not(.activity-time-since){color:#6FD3A4!important}
html body.pfh-app.pfh-dark #buddypress ul.activity-list>li.fg-day>span{color:#FFFFFF}
html body.pfh-app.pfh-dark #buddypress ul.activity-list>li.fg-day>em{background:#1E2B25;color:#6FD3A4}
html body.pfh-app.pfh-dark #buddypress ul.activity-list>li.fg-day::before{background:#151A21}
html body.pfh-app.pfh-dark #buddypress ul.activity-list>li.activity-item.new_member .bp-profile-button a.button{background:#33261C!important;color:#F2A66B!important}
html body.pfh-app.pfh-dark #buddypress ul.activity-list>li.activity-item.groups:not(.mini) .activity-header a[href*="/groups/"]{background:#1E2B25!important;color:#6FD3A4!important}
/* profile-picture notices: the new picture is already the avatar; no cover banner */
html body.pfh-app #buddypress ul.activity-list>li.activity-item.new_avatar .activity-inner{display:none!important}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.new_member .bp-member-preview-cover,html body.pfh-app #buddypress ul.activity-list>li.activity-item.new_member .bp-member-activity-preview img:not(.avatar){display:none!important}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.new_member .bp-profile-button a.button{white-space:nowrap!important;width:auto!important}
/* post cards: room for the 48px photo */
html body.pfh-app #buddypress ul.activity-list>li.activity-item:not(.mini){grid-template-columns:48px minmax(0,1fr)!important;column-gap:14px!important}
html body.pfh-app #buddypress ul.activity-list>li.activity-item:not(.mini)>.activity-avatar,html body.pfh-app #buddypress ul.activity-list>li.activity-item:not(.mini)>.activity-avatar img.avatar{width:48px!important;height:48px!important}
@media (max-width:640px){html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini{align-items:start!important}}
/* ---------- pass 2: the rail comes alive ---------- */
/* the card's signal line */
html body.pfh-app #buddypress ul.activity-list>li.activity-item:not(.mini){background:#FFFFFF linear-gradient(90deg,#2E7D5B,#3FBF84 55%,rgba(224,122,47,.9)) top left/100% 3px no-repeat!important}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.pfh-pinned:not(.mini){background:#FFFFFF linear-gradient(90deg,#E07A2F,#F2A66B 60%,rgba(224,122,47,.25)) top left/100% 4px no-repeat!important}
/* the node answers the card */
html body.pfh-app #buddypress ul.activity-list>li.activity-item::after{transition:transform .25s cubic-bezier(.34,1.56,.64,1),box-shadow .25s}
html body.pfh-app #buddypress ul.activity-list>li.activity-item:hover::after,html body.pfh-app #buddypress ul.activity-list>li.activity-item:focus-within::after{transform:scale(1.18);box-shadow:0 0 0 5px var(--fg-ring),0 0 0 11px rgba(63,191,132,.22),0 8px 18px -6px rgba(11,23,41,.5)}
/* today = live: the node breathes */
html body.pfh-app #buddypress ul.activity-list>li.activity-item.fg-new::after{animation:fg-live 2.4s ease-out infinite}
@keyframes fg-live{0%{box-shadow:0 0 0 5px var(--fg-ring),0 0 0 5px rgba(224,122,47,.55)}70%{box-shadow:0 0 0 5px var(--fg-ring),0 0 0 16px rgba(224,122,47,0)}100%{box-shadow:0 0 0 5px var(--fg-ring),0 0 0 16px rgba(224,122,47,0)}}
html body.pfh-app #buddypress ul.activity-list>li.fg-day.is-today>span{color:#14233F}
html body.pfh-app #buddypress ul.activity-list>li.fg-day.is-today>em{background:#FBEBDD;color:#A9501A}
html body.pfh-app #buddypress ul.activity-list>li.fg-day.is-today::before{box-shadow:inset 0 0 0 2.5px #E07A2F,0 0 0 5px var(--fg-ring)}
/* posts people are talking about */
html body.pfh-app #buddypress ul.activity-list li.activity-item>.activity-content>.action a.acomment-reply:not([data-fg-zero]){background:#E3EFE8!important;color:#1E5C42!important}
html body.pfh-app #buddypress ul.activity-list li.activity-item>.activity-content>.action a.acomment-reply:not([data-fg-zero]) .comment-count{background:#2E7D5B!important;color:#FFFFFF!important}
/* the avatar ring takes the node colour */
html body.pfh-app #buddypress ul.activity-list>li.activity-item:not(.mini)>.activity-avatar img.avatar{box-shadow:0 0 0 2px #FFFFFF,0 0 0 4px rgba(46,125,91,.55)!important}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.pfh-pinned:not(.mini)>.activity-avatar img.avatar{box-shadow:0 0 0 2px #FFFFFF,0 0 0 4px rgba(224,122,47,.65)!important}
/* the day title gets weight */
html body.pfh-app #buddypress ul.activity-list>li.fg-day>span{font-size:26px;letter-spacing:.02em}
@media (max-width:640px){html body.pfh-app #buddypress ul.activity-list>li.fg-day>span{font-size:20px}}
@media (prefers-reduced-motion:reduce){html body.pfh-app #buddypress ul.activity-list>li.activity-item.fg-new::after{animation:none}html body.pfh-app #buddypress ul.activity-list>li.activity-item::after{transition:none}}
html body.pfh-app.pfh-dark #buddypress ul.activity-list>li.activity-item:not(.mini){background:#151A21 linear-gradient(90deg,#2E7D5B,#3FBF84 55%,rgba(224,122,47,.9)) top left/100% 3px no-repeat!important}
html body.pfh-app.pfh-dark #buddypress ul.activity-list>li.fg-day.is-today>em{background:#33261C;color:#F2A66B}
/* ---------- pass 3: the Dispatch Board (29 Sep 2026) ---------- */
/* the rail becomes a ruler: centre line + tick marks every 22px */
html body.pfh-app #buddypress ul.activity-list::before{left:calc(var(--fg-rail)/2 - 7px)!important;width:14px!important;border-radius:0!important;background:linear-gradient(180deg,rgba(46,125,91,0) 0,rgba(46,125,91,.6) 40px,rgba(46,125,91,.38) 60%,rgba(224,122,47,.38) 100%) center/2px 100% no-repeat,repeating-linear-gradient(180deg,rgba(20,35,63,.20) 0 1px,transparent 1px 22px) center/10px 100% no-repeat!important}
/* the live deck: tabs + a LIVE readout */
html body.pfh-app #buddypress nav.activity-type-navs{display:flex!important;flex-wrap:wrap;align-items:center;gap:10px 14px}
html body.pfh-app #buddypress .fg-live{display:inline-flex;align-items:center;gap:9px;height:38px;padding:0 16px 0 12px;border-radius:999px;background:#FFFFFF;box-shadow:inset 0 0 0 1px rgba(20,35,63,.10),0 6px 16px -12px rgba(11,23,41,.5);font-size:13.5px;font-weight:700;color:#14233F;white-space:nowrap}
html body.pfh-app #buddypress .fg-live__dot{position:relative;width:10px;height:10px;border-radius:50%;background:#2E7D5B;flex:none}
html body.pfh-app #buddypress .fg-live__dot::after{content:"";position:absolute;inset:-4px;border-radius:50%;border:2px solid rgba(46,125,91,.55);animation:fg-ping 2.2s ease-out infinite}
@keyframes fg-ping{0%{transform:scale(.6);opacity:1}80%,100%{transform:scale(1.6);opacity:0}}
html body.pfh-app #buddypress .fg-live__k{font-family:var(--font-display,"Anton","Arial Narrow",Impact,sans-serif);font-weight:400;font-size:15px;letter-spacing:.08em;color:#1E5C42}
html body.pfh-app #buddypress .fg-live.is-new .fg-live__dot{background:#E07A2F}html body.pfh-app #buddypress .fg-live.is-new .fg-live__dot::after{border-color:rgba(224,122,47,.55)}
html body.pfh-app #buddypress .fg-live.is-new .fg-live__k{color:#A9501A}
/* day markers become stations */
html body.pfh-app #buddypress ul.activity-list>li.fg-day{margin:30px 0 16px!important}
html body.pfh-app #buddypress ul.activity-list>li.fg-day::before{left:calc(var(--fg-rail) * -1 + var(--fg-rail)/2 - 10px)!important;width:20px!important;height:20px!important;margin-top:-10px!important;border-radius:50%!important;transform:none!important;background:radial-gradient(circle,#2E7D5B 0 3.5px,#FFFFFF 4px)!important;box-shadow:inset 0 0 0 3px #2E7D5B,0 0 0 5px var(--fg-ring),0 6px 14px -6px rgba(11,23,41,.45)!important}
html body.pfh-app #buddypress ul.activity-list>li.fg-day.is-today::before{background:radial-gradient(circle,#E07A2F 0 3.5px,#FFFFFF 4px)!important;box-shadow:inset 0 0 0 3px #E07A2F,0 0 0 5px var(--fg-ring),0 0 0 10px rgba(224,122,47,.16)!important}
html body.pfh-app #buddypress ul.activity-list>li.fg-day>span{font-size:30px;letter-spacing:.02em}
html body.pfh-app #buddypress ul.activity-list>li.fg-day>em{display:inline-flex;align-items:baseline;gap:6px;padding:5px 12px 5px 10px}
html body.pfh-app #buddypress ul.activity-list>li.fg-day>em>b{font-family:var(--font-display,"Anton","Arial Narrow",Impact,sans-serif);font-weight:400;font-size:17px;letter-spacing:.02em;line-height:1}
html body.pfh-app #buddypress ul.activity-list>li.fg-day>i{height:2px;background:repeating-linear-gradient(90deg,rgba(20,35,63,.28) 0 8px,transparent 8px 14px);-webkit-mask-image:linear-gradient(90deg,#000 40%,transparent);mask-image:linear-gradient(90deg,#000 40%,transparent)}
/* each card is wired to its node */
html body.pfh-app #buddypress ul.activity-list>li.activity-item>.fg-wire,html body.pfh-app #buddypress ul.activity-list>li.activity-item>.fg-tag,html body.pfh-app #buddypress ul.activity-list>li.activity-item>.fg-newtag{grid-area:auto!important;grid-column:auto!important;grid-row:auto!important;margin:0!important}
html body.pfh-app #buddypress ul.activity-list>li.activity-item>.fg-wire{position:absolute;left:calc((var(--fg-rail) - var(--fg-node))/-2);top:34px;width:calc((var(--fg-rail) - var(--fg-node))/2);height:2px;background:#2E7D5B;pointer-events:none}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini>.fg-wire{top:28px}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.new_member>.fg-wire,html body.pfh-app #buddypress ul.activity-list>li.activity-item.pfh-pinned>.fg-wire{background:#E07A2F}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.new_event>.fg-wire{background:#14233F}
html body.pfh-app #buddypress ul.activity-list>li.activity-item>.fg-wire{transition:height .2s,box-shadow .2s,transform .2s}
html body.pfh-app #buddypress ul.activity-list>li.activity-item:hover>.fg-wire,html body.pfh-app #buddypress ul.activity-list>li.activity-item:focus-within>.fg-wire{height:3px;transform:translateY(-.5px);box-shadow:0 0 10px rgba(63,191,132,.85)}
/* cards lift and a signal glint runs the top line on hover */
html body.pfh-app #buddypress ul.activity-list>li.activity-item:not(.mini):not(.pfh-pinned){background:linear-gradient(90deg,transparent,rgba(255,255,255,.95),transparent) -60% 0/32% 4px no-repeat,linear-gradient(90deg,#2E7D5B,#3FBF84 55%,rgba(224,122,47,.9)) 0 0/100% 3px no-repeat,#FFFFFF!important;transition:transform .25s cubic-bezier(.22,1,.36,1),box-shadow .25s,background-position .9s cubic-bezier(.65,0,.35,1),background-size .25s}
html body.pfh-app #buddypress ul.activity-list>li.activity-item:not(.mini):not(.pfh-pinned):hover{transform:translateY(-3px);background-position:170% 0,0 0!important;background-size:32% 4px,100% 5px!important;box-shadow:0 1px 2px rgba(11,23,41,.06),0 26px 44px -28px rgba(11,23,41,.6),inset 0 0 0 1px rgba(46,125,91,.24)!important}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.pfh-pinned:not(.mini){transition:transform .25s cubic-bezier(.22,1,.36,1)}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.pfh-pinned:not(.mini):hover{transform:translateY(-3px)}
/* the author line reads like a dispatch header */
html body.pfh-app #buddypress ul.activity-list>li.activity-item:not(.mini) .activity-header p>a:first-child{font-size:16px!important;font-weight:800!important;letter-spacing:-.005em;color:#14233F!important}
/* type tags on the slim strips */
html body.pfh-app #buddypress ul.activity-list>li.activity-item>.fg-tag{position:absolute;top:-9px;left:62px;z-index:2;padding:3px 9px;border-radius:999px;background:#FFFFFF;box-shadow:inset 0 0 0 1.5px #2E7D5B;color:#1E5C42;font-size:10.5px;font-weight:800;letter-spacing:.14em;line-height:1.2;text-transform:uppercase;pointer-events:none}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.new_member>.fg-tag{box-shadow:inset 0 0 0 1.5px #E07A2F;color:#A9501A}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.new_event>.fg-tag{box-shadow:inset 0 0 0 1.5px #14233F;color:#14233F}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.mini{margin-top:18px!important}
/* NEW since your last visit */
html body.pfh-app #buddypress ul.activity-list>li.activity-item>.fg-newtag{position:absolute;top:-11px;right:18px;z-index:2;display:inline-flex;align-items:center;gap:6px;padding:4px 11px 4px 9px;border-radius:999px;background:#E07A2F;color:#0B1729;font-size:11px;font-weight:800;letter-spacing:.16em;line-height:1.2;text-transform:uppercase;box-shadow:0 6px 14px -8px rgba(224,122,47,.9);pointer-events:none}
html body.pfh-app #buddypress ul.activity-list>li.activity-item>.fg-newtag::before{content:"";width:6px;height:6px;border-radius:50%;background:#0B1729}
html body.pfh-app #buddypress ul.activity-list>li.activity-item.fg-unseen::after{background-color:#E07A2F}
/* the list arrives in order */
@keyframes fg-in{from{opacity:0;transform:translateY(12px)}}
html body.pfh-app #buddypress ul.activity-list>li.activity-item:not(.fg-dup){animation:fg-in .5s cubic-bezier(.22,1,.36,1) backwards}
html body.pfh-app #buddypress ul.activity-list>li:nth-child(2){animation-delay:.04s}html body.pfh-app #buddypress ul.activity-list>li:nth-child(3){animation-delay:.08s}html body.pfh-app #buddypress ul.activity-list>li:nth-child(4){animation-delay:.12s}html body.pfh-app #buddypress ul.activity-list>li:nth-child(5){animation-delay:.16s}html body.pfh-app #buddypress ul.activity-list>li:nth-child(6){animation-delay:.2s}html body.pfh-app #buddypress ul.activity-list>li:nth-child(7){animation-delay:.24s}html body.pfh-app #buddypress ul.activity-list>li:nth-child(8){animation-delay:.28s}
/* phone */
@media (max-width:640px){
 html body.pfh-app #buddypress ul.activity-list>li.activity-item>.fg-wire{display:none}
 html body.pfh-app #buddypress ul.activity-list>li.fg-day>span{font-size:22px}
 html body.pfh-app #buddypress ul.activity-list>li.fg-day::before{left:calc(var(--fg-rail) * -1 + var(--fg-rail)/2 - 8px)!important;width:16px!important;height:16px!important;margin-top:-8px!important;box-shadow:inset 0 0 0 2.5px #2E7D5B,0 0 0 3px var(--fg-ring)!important}
 html body.pfh-app #buddypress ul.activity-list>li.fg-day.is-today::before{box-shadow:inset 0 0 0 2.5px #E07A2F,0 0 0 3px var(--fg-ring)!important}
 html body.pfh-app #buddypress ul.activity-list>li.activity-item>.fg-tag{left:52px}
 html body.pfh-app #buddypress .fg-live{height:34px;font-size:12.5px}
}
@media (prefers-reduced-motion:reduce){
 html body.pfh-app #buddypress .fg-live__dot::after{animation:none;display:none}
 html body.pfh-app #buddypress ul.activity-list>li{animation:none!important}
 html body.pfh-app #buddypress ul.activity-list>li.activity-item{transition:none!important}
 html body.pfh-app #buddypress ul.activity-list>li.activity-item:hover{transform:none!important}
}
/* dark */
html body.pfh-app.pfh-dark #buddypress .fg-live{background:#151A21;box-shadow:inset 0 0 0 1px #2A323D;color:#E6EAF0}
html body.pfh-app.pfh-dark #buddypress .fg-live__k{color:#6FD3A4}html body.pfh-app.pfh-dark #buddypress .fg-live.is-new .fg-live__k{color:#F2A66B}
html body.pfh-app.pfh-dark #buddypress ul.activity-list>li.activity-item:not(.mini):not(.pfh-pinned){background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent) -60% 0/32% 4px no-repeat,linear-gradient(90deg,#2E7D5B,#3FBF84 55%,rgba(224,122,47,.9)) 0 0/100% 3px no-repeat,#151A21!important}
html body.pfh-app.pfh-dark #buddypress ul.activity-list>li.activity-item:not(.mini) .activity-header p>a:first-child{color:#FFFFFF!important}
html body.pfh-app.pfh-dark #buddypress ul.activity-list>li.activity-item>.fg-tag{background:#151A21;color:#6FD3A4;box-shadow:inset 0 0 0 1.5px #3FBF84}
html body.pfh-app.pfh-dark #buddypress ul.activity-list>li.activity-item.new_member>.fg-tag{color:#F2A66B;box-shadow:inset 0 0 0 1.5px #E07A2F}
html body.pfh-app.pfh-dark #buddypress ul.activity-list>li.activity-item.new_event>.fg-tag{color:#E6EAF0;box-shadow:inset 0 0 0 1.5px #8A94A3}
html body.pfh-app.pfh-dark #buddypress ul.activity-list>li.fg-day::before{background:radial-gradient(circle,#3FBF84 0 3.5px,#151A21 4px)!important}
html body.pfh-app.pfh-dark #buddypress ul.activity-list::before{background:linear-gradient(180deg,rgba(63,191,132,0) 0,rgba(63,191,132,.55) 40px,rgba(63,191,132,.3) 60%,rgba(224,122,47,.35) 100%) center/2px 100% no-repeat,repeating-linear-gradient(180deg,rgba(230,234,240,.16) 0 1px,transparent 1px 22px) center/10px 100% no-repeat!important}
/* ---------- pass 4: Live Board (4 Oct 2026) ---------- */
/* split-flap numbers on the Feed's stat cards (digits only; words stay translatable) */
html body.pfh-app.directory.activity .pa-head .gx-stat .gx-n .fp4-d{position:relative;display:inline-grid;place-items:center;min-width:.74em;height:1.16em;margin:0 .05em 0 0;padding:0 .08em;border-radius:.14em;background:linear-gradient(180deg,#1B3A5C 0 49%,#14233F 51% 100%);color:#FFFFFF;line-height:1;box-shadow:0 .08em .16em -.04em rgba(11,23,41,.55),inset 0 -1px 0 rgba(255,255,255,.06);transform-origin:50% 50%;animation:fp4-flip .62s cubic-bezier(.22,1,.36,1) both;animation-delay:var(--fp4-w,0s)}
html body.pfh-app.directory.activity .pa-head .gx-stat .gx-n .fp4-d::after{content:"";position:absolute;left:0;right:0;top:50%;height:1px;margin-top:-.5px;background:rgba(0,0,0,.45);box-shadow:0 1px 0 rgba(255,255,255,.08)}
html body.pfh-app.directory.activity .pa-head .gx-stat .gx-n i .fp4-d{background:linear-gradient(180deg,#F08A3E 0 49%,#E07A2F 51% 100%)}
html body.pfh-app.directory.activity .pa-head .gx-stat .gx-n .fp4-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@keyframes fp4-flip{0%{transform:perspective(300px) rotateX(-92deg);opacity:0}60%{transform:perspective(300px) rotateX(14deg);opacity:1}100%{transform:none}}
/* a coloured spine on every post, by what kind of post it is */
html body.pfh-app #buddypress .activity-list>li.activity-item>.fp4-spine{position:absolute;left:0;top:18px;bottom:18px;width:5px;border-radius:0 5px 5px 0;background:var(--fp4-c,#14233F);grid-area:auto!important;pointer-events:none;z-index:2}
html body.pfh-app #buddypress .activity-list>li.activity-item.activity_update{--fp4-c:#2E7D5B}
html body.pfh-app #buddypress .activity-list>li.activity-item.new_member{--fp4-c:#3FBF84}
html body.pfh-app #buddypress .activity-list>li.activity-item.new_booking,html body.pfh-app #buddypress .activity-list>li.activity-item.new_event{--fp4-c:#E07A2F}
html body.pfh-app #buddypress .activity-list>li.activity-item.joined_group,html body.pfh-app #buddypress .activity-list>li.activity-item.created_group{--fp4-c:#2B4A7A}
html body.pfh-app #buddypress .activity-list>li.activity-item.new_avatar,html body.pfh-app #buddypress .activity-list>li.activity-item.updated_profile,html body.pfh-app #buddypress .activity-list>li.activity-item.friendship_created{--fp4-c:#8A5CC2}
html body.pfh-app #buddypress .activity-list>li.activity-item.pfh-pinned>.fp4-spine{background:#E07A2F;width:6px}
/* Featured: a pinned bulletin note */
html body.pfh-app aside.pa-feat{position:relative;overflow:visible!important;padding:26px 18px 16px!important;border:0!important;border-radius:6px 6px 18px 18px!important;background:#FFFDF7 repeating-linear-gradient(180deg,transparent 0 27px,rgba(20,35,63,.06) 27px 28px) 0 54px/100% calc(100% - 54px) no-repeat!important;box-shadow:0 1px 2px rgba(11,23,41,.08),0 22px 40px -26px rgba(11,23,41,.55),inset 0 0 0 1px rgba(20,35,63,.08)!important;transform:rotate(-.6deg)}
html body.pfh-app aside.pa-feat::before{content:"";position:absolute;left:50%;top:-11px;width:22px;height:22px;margin-left:-11px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#F6B37A,#E07A2F 55%,#A9501A);box-shadow:0 6px 10px -4px rgba(11,23,41,.6),inset 0 -2px 0 rgba(0,0,0,.18);z-index:2}
html body.pfh-app aside.pa-feat::after{content:"";position:absolute;left:50%;top:6px;width:2px;height:10px;margin-left:-1px;background:rgba(11,23,41,.35);border-radius:2px}
html body.pfh-app aside.pa-feat h2{display:flex!important;align-items:baseline;justify-content:space-between;gap:10px;margin:0 0 10px!important;padding:0 0 8px!important;border:0!important;border-bottom:2px solid #14233F!important;background:none!important;font-family:var(--font-display,"Anton","Arial Narrow",Impact,sans-serif)!important;font-weight:400!important;font-size:24px!important;letter-spacing:.02em;text-transform:uppercase;color:#14233F!important}
html body.pfh-app aside.pa-feat h2 a{font-family:var(--font-body,"Space Grotesk",sans-serif)!important;font-size:12.5px!important;font-weight:800!important;letter-spacing:.06em;text-transform:none;color:#1E5C42!important}
html body.pfh-app aside.pa-feat .pa-fi{display:flex!important;align-items:flex-start;gap:10px;padding:10px 4px!important;border:0!important;box-shadow:none!important;outline:0;border-radius:10px!important;background:transparent!important;color:#14233F!important;font-size:14.5px!important;line-height:1.45!important;font-weight:600;transition:background .15s}
html body.pfh-app aside.pa-feat .pa-fi:hover{background:rgba(224,122,47,.08)!important}
html body.pfh-app aside.pa-feat .pa-fi img{flex:none;width:34px!important;height:34px!important;border-radius:10px!important;box-shadow:0 0 0 2px #FFFFFF,0 4px 10px -4px rgba(11,23,41,.5)}
@media (prefers-reduced-motion:reduce){html body.pfh-app.directory.activity .pa-head .gx-stat .gx-n .fp4-d{animation:none}html body.pfh-app aside.pa-feat{transform:none}}
html body.pfh-app.pfh-dark aside.pa-feat{background:#1A2029 repeating-linear-gradient(180deg,transparent 0 27px,rgba(255,255,255,.04) 27px 28px) 0 54px/100% calc(100% - 54px) no-repeat!important;box-shadow:inset 0 0 0 1px #2A323D!important}
html body.pfh-app.pfh-dark aside.pa-feat h2{color:#FFFFFF!important;border-bottom-color:#3A4452!important}
html body.pfh-app.pfh-dark aside.pa-feat h2 a{color:#6FD3A4!important}
html body.pfh-app.pfh-dark aside.pa-feat .pa-fi{color:#E6EBF2!important}
html body.pfh-app.pfh-dark aside.pa-feat .pa-fi img{box-shadow:0 0 0 2px #1A2029}