/* =======================================================================
   PSN UI
   - Presentation lives in the child theme
   - Behavior/logic lives in MU-plugins
   - Cleaned / deduped / optimized
   ======================================================================= */

/* Hide "Active X ago" on Rooms/Groups cards */
.last-activity.item-meta {
    display: none !important;
}
.list-title a {
    font-weight: 500;
	line-height: 20px!important;
}
/* =======================================================================
   0) Shared utility / empty states
   ======================================================================= */

.psn-empty-discussion-state {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  color: #4b5563;
  margin-top: 18px;
}

.psn-empty-discussion-state strong {
  display: block;
  font-size: 24px;
  line-height: 1.2;
  color: #1f2937;
  margin-bottom: 8px;
}

.psn-selected {
  opacity: 0.85;
  cursor: default !important;
  pointer-events: none !important;
}

.psn-icon {
  width: 14px !important;
  height: 14px !important;
  display: inline-block;
  flex: 0 0 14px;
  vertical-align: -2px;
}


/* =======================================================================
   1) Forum / discussion page targeted cleanup
   ======================================================================= */

/* Hide posting block on specific forum landing pages */
body.groups.single-item.forum #bbp-forum-544,
body.groups.single-item.forum #bbp-forum-723,
body.groups.single-item.forum #bbp-forum-724,
body.groups.single-item.forum #bbp-forum-725,
body.groups.single-item.forum #bbp-forum-726,
body.groups.single-item.forum #bbp-forum-891 {
  display: none !important;
}

/* Hide large group hero only on forum/discussion views */
.groups.single-item.forum #item-header {
  display: none;
}

/* Hide "Sub Forums" title on Industry Discussions page */
.groups.single-item.forum .bp-group-single-forums .bb-sub-forum-title {
  display: none;
}

/* Group forums root cleanup */
body.psn-group-forums-root #bbpress-forums .bbp-topics,
body.psn-group-forums-root #bbpress-forums .bbp-pagination,
body.psn-group-forums-root #bbpress-forums .bbp-template-notice,
body.psn-group-forums-root #bbpress-forums .bp-feedback,
body.psn-group-forums-root #bbpress-forums .bb-forums-header,
body.psn-group-forums-root #bbpress-forums a.btn-new-topic {
  display: none !important;
}


/* =======================================================================
   2) PSN shell branding
   ======================================================================= */

header#masthead.site-header.site-header--bb,
#masthead {
  background: #f8f6f1;
  border-top: 3px solid #c9a24a;
  border-bottom: 1px solid #e6dfcf;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

/* Top navigation */
.bb-header nav a {
  padding: 8px 14px;
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.bb-header nav a:hover {
  background: rgba(201, 162, 74, 0.18);
}

.bb-header .current-menu-item a,
.bb-header .selected a {
  background: rgba(201, 162, 74, 0.28);
  color: #2d2d2d;
  font-weight: 600;
}

/* Header nav box hover */
#site-navigation #primary-menu > li,
#site-navigation #primary-menu > li:hover,
#site-navigation #primary-menu > li:focus-within {
  background: transparent !important;
  box-shadow: none !important;
}

#site-navigation #primary-menu > li > a {
  position: relative;
  padding: 6px 12px;
  border-radius: 8px;
  background: transparent !important;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

#site-navigation #primary-menu > li:hover > a,
#site-navigation #primary-menu > li > a:hover,
#site-navigation #primary-menu > li > a:focus {
  background: rgba(201, 162, 74, 0.12) !important;
  color: #1f2430 !important;
  box-shadow: inset 0 0 0 1px rgba(201, 162, 74, 0.22);
}

#site-navigation #primary-menu > li.current-menu-item > a,
#site-navigation #primary-menu > li.current_page_item > a,
#site-navigation #primary-menu > li.current-menu-ancestor > a {
  background: rgba(201, 162, 74, 0.16) !important;
  box-shadow: inset 0 0 0 1px rgba(201, 162, 74, 0.28);
  color: #1f2430 !important;
}

#site-navigation #primary-menu > li.current-menu-item > a,
#site-navigation #primary-menu > li.current_page_item > a {
  font-weight: 600;
  border-bottom: 2px solid #c9a24a;
}

/* Left icon sidebar */
.bb-icon-sidebar {
  background: #f6f3ea;
  border-right: 1px solid #e6dfcf;
}

.bb-icon-sidebar .active,
.bb-icon-sidebar .current {
  background: #fff;
  border-left: 4px solid #c9a24a;
}

.bb-icon-sidebar a:hover {
  background: rgba(201, 162, 74, 0.08);
}

/* Widget headings */
.widget h2,
.widget-title {
  position: relative;
  padding-bottom: 6px;
}

.widget-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  background: #c9a24a;
  border-radius: 2px;
}

/* Cards / widgets / activity items */
.bb-card,
.group-item,
.widget,
.activity-item {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.group-item,
.activity-item {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.group-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.activity-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
}


/* =======================================================================
   3) Group page cleanup / sticky tabs / compact context
   ======================================================================= */

.groups.single-item .bb-single-nav,
.groups.single-item .item-list-tabs {
  position: sticky;
  top: 78px;
  z-index: 30;
  margin-top: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
  background: #f5f6f8;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

nav.bb-single-main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#psn-group-context {
  margin: 0 0 12px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #f8f5e8;
  border: 1px solid #dcc680;
  border-left: 6px solid #c9a24a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  font-size: 16px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

#psn-group-context.psn-show {
  opacity: 1;
  transform: translateY(0);
}

#psn-group-context::before {
  content: "GROUP";
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #9d7a22;
  margin-bottom: 6px;
  text-transform: uppercase;
}

#psn-group-context .psn-group-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #9d7a22;
}

#psn-group-context .psn-muted {
  color: #555;
  line-height: 1.5;
}

#psn-group-context a.psn-industry-link {
  color: #c6a03a;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 6px;
  border-radius: 8px;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

#psn-group-context a.psn-industry-link:hover {
  background: rgba(198, 160, 58, 0.14);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}


/* =======================================================================
   4) Posting context banner
   ======================================================================= */

.psn-posting-context {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-left: 6px solid #c9a24a;
  border-radius: 14px;
  padding: 16px 18px;
  padding-right: 190px;
  margin: 0 0 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.psn-posting-context__path {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.psn-posting-context__arrow {
  opacity: 0.4;
  margin: 0 6px;
}

.psn-posting-context__note {
  font-size: 13px;
  line-height: 1.45;
  color: #6b6b6b;
}

.psn-posting-context::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  bottom: 14px;
  width: 150px;
  border-radius: 14px;
  background-image: var(--psn-forum-img, none);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: rgba(0, 0, 0, 0.04);
  pointer-events: none;
}


/* =======================================================================
   5) Onboarding cleanup + CTAs
   ======================================================================= */

.bb-onboarding-steps,
.bb-onboarding-steps-wrapper,
.bb-onboarding-nav,
.bb-onboarding-header,
.bb-onboarding-breadcrumbs,
.buddyboss-onboarding-nav,
.buddyboss-onboarding-steps {
  display: none !important;
}

p a.button.outline.psn-edit-cta {
  display: none !important;
}

#buddypress a.button[href*="change-avatar"],
#buddypress a.button[href*="profile-photo"],
#buddypress a.button[href*="avatar"],
#buddypress a.button[href*="/welcome"],
#buddypress a.button[href*="welcome"] {
  display: none !important;
}

.bp-feedback.psn-pay-nudge {
  background: #fffaf0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-left: 6px solid #c9a24a;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.onboarding-actions {
  margin-top: 24px;
}

.onboarding-btn {
  display: inline-block;
  background: #daa33f;
  color: #fff !important;
  text-decoration: none !important;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 700;
}

.onboarding-btn:hover {
  opacity: 0.92;
}

.onboarding-sub {
  margin-top: 10px;
  font-size: 0.95rem;
}

body.onboarding-active #masthead,
body.onboarding-active .bb-header,
body.onboarding-active .bb-sidebar,
body.onboarding-active .bp-member-navigation {
  display: none !important;
}


/* =======================================================================
   6) Discussion/forum header layout
   ======================================================================= */

.bs-item-wrap.bs-header-item {
  display: block !important;
  width: 100%;
  align-items: initial !important;
  padding-top: 6px;
}

.bs-item-wrap.bs-header-item > .flex-1 {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100%;
  gap: 0 !important;
}

.bs-item-wrap.bs-header-item .bs-section-title {
  display: none !important;
  margin: 0 !important;
  width: 100%;
}

.bs-item-wrap.bs-header-item .bbp-forum-buttons-wrap,
.bbp-forum-buttons-wrap {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 20px;
  width: 100%;
  margin-top: 4px !important;
  padding-top: 4px;
}

.bs-item-wrap.bs-header-item #subscription-toggle,
#subscription-toggle {
  display: flex !important;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}

.bs-item-wrap.bs-header-item .bb-topic-content-meta-sep {
  display: none !important;
}

.bs-item-wrap.bs-header-item .bbp_before_forum_new_post,
.bbp_before_forum_new_post {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
  flex: 1;
}

.bs-item-wrap.bs-header-item a.button.full.btn-new-topic,
a.button.full.btn-new-topic {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  max-width: 100%;
  white-space: nowrap;
  padding: 12px 22px;
  font-weight: 600;
}


/* =======================================================================
   7) Single topic page cleanup / context
   ======================================================================= */

.single-topic #bbpress-forums .bp-feedback.info {
  display: none;
}

.bbp-topic-header {
  margin-bottom: 16px;
}

.psn-topic-meta {
  margin-bottom: 14px;
}

.psn-discussion-context {
  background: #f8f5eb;
  border: 1px solid #dcc680;
  border-left: 6px solid #c9a24a;
  border-radius: 18px;
  padding: 14px 18px;
  margin-bottom: 12px;
}

.psn-discussion-context-line {
  margin: 0;
  line-height: 1.4;
}

.psn-discussion-context-line + .psn-discussion-context-line {
  margin-top: 4px;
}

.psn-discussion-context-line:first-child {
  opacity: 0.85;
  font-size: 0.98rem;
}

.psn-discussion-context-line:last-child {
  font-size: 1.02rem;
}

.psn-discussion-context-label {
  font-weight: 700;
  color: #2d2d2d;
}


/* =======================================================================
   8) Topic content typography
   ======================================================================= */

#bbpress-forums .bbp-topic-content,
.bbp-topic-content {
  max-width: 720px;
  line-height: 1.72;
  font-size: 1.05rem;
  color: #2c2c2c;
}

.item-description p:empty,
.bbp-topic-content p:empty {
  display: none;
}

.bbp-topic-content p {
  margin-bottom: 1.15em;
}

.bbp-topic-content h1,
.bbp-topic-content h2,
.bbp-topic-content h3,
.bbp-topic-content h4 {
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  line-height: 1.3;
}

.bbp-topic-content ul,
.bbp-topic-content ol {
  margin: 1em 0 1.2em 1.4em;
}

.bbp-topic-content p:first-of-type {
  font-size: 1.07rem;
}


/* =======================================================================
   9) Rooms directory cleanup
   ======================================================================= */

nav.groups-type-navs.main-navs.bp-navs.dir-navs.bp-subnavs {
  display: none !important;
}

.groups-directory .bp-dir-header {
  margin-bottom: 10px;
}


/* =======================================================================
   10) Better Messages UI
   ======================================================================= */

.better-messages-mini,
.bm-mini-thread,
.bm-mini-threads,
.bm-chat-open,
.bm-chat-window,
.bm-chat,
.bp-messages-wrap {
  background: #ffffff !important;
  border: 1px solid #d9dee5 !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14) !important;
  overflow: hidden !important;
}

/* Headers */
.bm-mini-threads .threads-header,
.bm-chat-header,
.bm-header,
.bm-thread-header {
  background: #ffffff !important;
  border-bottom: 1px solid #e6ebf0 !important;
  min-height: 54px !important;
  color: #1d2a38 !important;
}

.bm-mini-threads .threads-header,
.bm-chat-header .thread-title,
.bm-thread-title,
.bm-thread-header .user {
  color: #1d2a38 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

/* Thread list */
.bm-thread,
.bm-mini-threads .thread,
.bm-mini-threads .bm-thread-item,
.bp-messages-wrap .threads-list .thread {
  border-bottom: 1px solid #eef2f5 !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, padding-left 0.2s ease !important;
  background: #ffffff !important;
}

.bp-messages-wrap .threads-list .thread:hover,
.bm-thread:hover,
.bm-mini-threads .thread:hover,
.bm-mini-threads .bm-thread-item:hover {
  background: #e8eef4 !important;
  border-left: 3px solid #b89b5e !important;
  padding-left: 15px !important;
  cursor: pointer !important;
}

.bm-thread .name,
.bm-thread .user,
.bm-mini-threads .thread .name,
.bp-messages-wrap .thread .user,
.bp-messages-wrap .thread .thread-name {
  color: #182230 !important;
  font-weight: 600 !important;
}

.bm-thread .excerpt,
.bm-thread .last-message,
.bm-mini-threads .thread .excerpt,
.bp-messages-wrap .thread .excerpt,
.bp-messages-wrap .thread .thread-excerpt {
  color: #5f6b7a !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}

.bm-thread time,
.bm-thread .time,
.bm-mini-threads .time,
.bp-messages-wrap .thread .time {
  color: #7d8794 !important;
  font-size: 13px !important;
}

.bm-thread img.avatar,
.bm-mini-threads img.avatar,
.bp-messages-wrap .thread img.avatar {
  border-radius: 8px !important;
}

/* Message area */
.bp-messages-wrap .chat-content,
.bp-messages-wrap .bm-thread-content,
.bm-chat-content,
.bm-messages-list {
  background: #ffffff !important;
}

/* Message bubbles */
.bm-message-content,
.bp-messages-wrap .message-content,
.bp-messages-wrap .bm-message-text,
.bm-message .bm-text,
.bm-message .bm-message-content-text,
.bm-message-text {
  border-radius: 14px !important;
  padding: 10px 14px !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
}

/* Other person's messages = right side */
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-right-side .bm-message .bm-message-content:not(.bm-hide-background) {
  background: #f2f4f7 !important;
}

.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-right-side .bm-message .bm-message-content:not(.bm-hide-background),
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-right-side .bm-message .bm-message-content:not(.bm-hide-background) *,
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-right-side .bm-message .bm-message-content-text,
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-right-side .bm-message .bm-message-content-text *,
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-right-side .bm-message .bm-message-content-text p,
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-right-side .bm-message .bm-time,
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-right-side .bm-message .bm-message-info,
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-right-side .bm-message .bpbm-call,
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-right-side .bm-message .bpbm-call-video,
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-right-side .bm-message .call-accepted,
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-right-side .bm-message .call-missed,
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-right-side .bm-message .call-started,
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-right-side .bm-message .call-ended,
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-right-side .bm-message .bm-message-content-centered,
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-right-side .bm-message .bm-message-content-centered * {
  color: #1f2937 !important;
  -webkit-text-fill-color: #1f2937 !important;
  opacity: 1 !important;
  filter: none !important;
}

.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-right-side .bm-message .bm-message-content svg,
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-right-side .bm-message .bm-message-content-centered svg {
  color: #1f2937 !important;
  fill: currentColor !important;
  opacity: 1 !important;
  filter: none !important;
}

/* Your messages = left side */
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-left-side .bm-message .bm-message-content:not(.bm-hide-background) {
  background: #0b1e2d !important;
}

.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-left-side .bm-message .bm-message-content:not(.bm-hide-background),
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-left-side .bm-message .bm-message-content:not(.bm-hide-background) *,
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-left-side .bm-message .bm-message-content-text,
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-left-side .bm-message .bm-message-content-text *,
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-left-side .bm-message .bm-message-content-text p,
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-left-side .bm-message .bm-time,
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-left-side .bm-message .bm-message-info,
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-left-side .bm-message .bpbm-call,
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-left-side .bm-message .bpbm-call-video,
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-left-side .bm-message .call-accepted,
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-left-side .bm-message .call-missed,
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-left-side .bm-message .call-started,
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-left-side .bm-message .call-ended,
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-left-side .bm-message .bm-message-content-centered,
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-left-side .bm-message .bm-message-content-centered * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  filter: none !important;
}

.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-left-side .bm-message .bm-message-content svg,
.bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-left-side .bm-message .bm-message-content-centered svg {
  color: #ffffff !important;
  fill: currentColor !important;
  opacity: 1 !important;
  filter: none !important;
}

.bp-messages-wrap .message .user-name,
.bm-message .user-name {
  color: #223041 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}

/* Date separators */
.bp-messages-wrap .messages-date,
.bm-date-separator,
.bm-message-date {
  background: transparent !important;
  color: #5f6b7a !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

/* Composer */
.bp-messages-wrap .reply,
.bm-reply,
.bm-chat-footer,
.bm-composer,
.bm-message-input {
  background: #ffffff !important;
  border-top: 1px solid #e6ebf0 !important;
  padding: 10px 12px !important;
}

.bp-messages-wrap textarea,
.bp-messages-wrap .message-editor,
.bm-composer textarea,
.bm-chat-footer textarea,
.bm-message-input textarea,
.bp-messages-wrap .reply textarea,
.bp-messages-wrap input[type="text"] {
  background: #f8fafc !important;
  border: 1px solid #d8e0e8 !important;
  border-radius: 22px !important;
  color: #1f2937 !important;
  min-height: 44px !important;
  padding: 10px 14px !important;
  box-shadow: none !important;
}

.bp-messages-wrap textarea::placeholder,
.bm-composer textarea::placeholder,
.bm-chat-footer textarea::placeholder,
.bm-message-input textarea::placeholder {
  color: #8a94a3 !important;
}

.bp-messages-wrap .send-message,
.bm-send-button,
.bm-send-message,
.bm-message-send-button,
.bp-messages-wrap button[type="submit"] {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #d3b04b !important;
}

/* Icons / status */
.bp-messages-wrap .fas,
.bp-messages-wrap .far,
.bp-messages-wrap .fa,
.bp-messages-wrap svg,
.bm-chat-footer svg,
.bm-thread-header svg {
  color: #d3b04b !important;
}

.online,
.user-status.online,
.bp-online-status,
.bm-user-status.online,
.bm-user-online {
  background: #66b82f !important;
  box-shadow: 0 0 0 2px #fff !important;
}

.bm-typing {
  font-size: 12px !important;
  color: #6b7280 !important;
}

.messages-wrap i.bb-icon-inbox:before {
  content: '\ee62';
}

/* Closed mini chat dock */
.bm-minimized,
.bm-minimized-thread,
.bm-open-mini-chat,
.bm-mini-chat-button {
  background: #ffffff !important;
  color: #1d2a38 !important;
  border: 1px solid #d9dee5 !important;
  border-bottom: 0 !important;
  border-radius: 12px 12px 0 0 !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
  min-height: 52px !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease !important;
}

.bm-minimized:hover,
.bm-minimized-thread:hover,
.bm-open-mini-chat:hover,
.bm-mini-chat-button:hover {
  background: #b89b5e !important;
  border-color: #b89b5e !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.bm-minimized *,
.bm-minimized-thread *,
.bm-open-mini-chat *,
.bm-mini-chat-button * {
  color: inherit !important;
}

.bm-minimized .thread-title,
.bm-open-mini-chat .thread-title,
.bm-mini-chat-button .thread-title {
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

.bm-minimized.has-unread,
.bm-minimized-thread.has-unread,
.bm-open-mini-chat.has-unread {
  border-color: #b89b5e !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14) !important;
}

.bm-minimized.has-unread::after,
.bm-minimized-thread.has-unread::after,
.bm-open-mini-chat.has-unread::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b89b5e;
  position: absolute;
  top: 10px;
  right: 12px;
  box-shadow: 0 0 0 2px #fff;
}

.bm-unread-count,
.bm-thread-unread,
.bm-unread-badge {
  background: #b89b5e !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  min-width: 18px !important;
  height: 18px !important;
  line-height: 18px !important;
  padding: 0 6px !important;
  box-shadow: none !important;
}

/* Hide mini chat on onboarding/payment flow */
body.page-welcome .better-messages-mini,
body.page-activate .better-messages-mini,
body.page-welcome .bm-mini-threads,
body.page-activate .bm-mini-threads {
  display: none !important;
}

/* Text color fixes */
.bm-message-text,
.bm-message.bm-left .bm-message-text {
  color: #1f2937 !important;
}

.bm-message.bm-right .bm-message-text {
  color: #ffffff !important;
}

body .bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-right-side .bm-content .bm-messages-listing .bm-message .bm-message-content:not(.bm-hide-background) *,
body .bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-right-side .bm-content .bm-messages-listing .bm-message .bm-message-content .bm-message-content-text,
body .bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-right-side .bm-content .bm-messages-listing .bm-message .bm-message-content .bm-message-content-text *,
body .bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-right-side .bm-content .bm-messages-listing .bm-message .bm-message-content .bm-message-info,
body .bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-right-side .bm-content .bm-messages-listing .bm-message .bm-message-content .bm-time {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  opacity: 1 !important;
  filter: none !important;
}

body .bp-messages-wrap .bm-messages-list .bm-list .bm-message-stack.bm-right-side .bm-content .bm-messages-listing .bm-message .bm-message-content:not(.bm-hide-background) {
  background: #f2f4f7 !important;
}


/* =======================================================================
   11) Profile header / video button / action stack
   ======================================================================= */

.psn-video-call-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px !important;
  padding: 12px 22px !important;
  margin-left: 10px !important;
  margin-top: 14px !important;
  border-radius: 10px !important;
  font-weight: 500;
  background: #c8963e !important;
  color: #fff !important;
  border: none !important;
  text-decoration: none !important;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.psn-video-call-button:hover {
  background: #b18335 !important;
}

.psn-video-call-button a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.psn-video-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
}

.psn-video-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.psn-video-call-button svg,
.psn-video-call-button i {
  margin-right: 8px;
}

/* Profile header layout */
#buddypress .member-header,
.bb-profile-header,
.bb-cover-wrap .bb-profile-grid {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 40px !important;
}

#buddypress .member-header .item-header-content,
.bb-profile-header .bb-profile-content,
.bb-cover-wrap .bb-profile-content,
.bb-user-content-wrap {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: none !important;
}

#buddypress .member-header .item-header-content h2,
.bb-profile-header h1,
.bb-profile-header h2 {
  max-width: 100% !important;
  line-height: 1.08 !important;
  margin-bottom: 18px !important;
}

#item-buttons,
.member-header-actions,
.bb-profile-actions,
.profile-header-actions,
.bp-profile-button-wrap,
.member-primary-actions,
.members-header-actions {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 18px !important;
  width: 280px !important;
  min-width: 280px !important;
  margin-left: auto !important;
}

#item-buttons > *,
.member-header-actions > *,
.bb-profile-actions > *,
.profile-header-actions > * {
  width: 100% !important;
  margin: 0 !important;
  display: block !important;
}

#item-buttons a,
#item-buttons button,
.member-header-actions a,
.bb-profile-actions a,
.profile-header-actions a,
.psn-video-call-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 320px !important;
  min-width: 0 !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

/* Compact 3-dot menu */
#item-buttons .generic-button:last-child,
#item-buttons .more-action,
#item-buttons .bb-more-dropdown,
#item-buttons .push-right {
  width: auto !important;
  align-self: flex-end !important;
  margin-top: 6px !important;
}

.single-item .bb-more-dropdown,
.single-item .more-action-dropdown,
.single-item .bp-dropdown {
  min-width: 240px !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
  padding: 10px !important;
}

.single-item .bb-more-dropdown a,
.single-item .more-action-dropdown a,
.single-item .bp-dropdown a {
  border-radius: 12px !important;
  padding: 14px 18px !important;
}

.members-header-actions .more-action,
.member-header-actions .more-action,
.bb-profile-actions .more-action,
#item-buttons .more-action {
  border: 1px solid #d9dee5 !important;
  border-radius: 12px !important;
  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.18s ease, transform 0.18s ease !important;
}

.members-header-actions .more-action:hover,
.member-header-actions .more-action:hover,
.bb-profile-actions .more-action:hover,
#item-buttons .more-action:hover {
  background: #f6f8fb !important;
  border-color: #c9d2dd !important;
}

.more-action i,
.more-action svg {
  font-size: 18px !important;
}

/* Show/hide 3-dot menu */
@media (min-width: 768px) {
  .members-header-actions .more-action,
  .member-header-actions .more-action,
  .bb-profile-actions .more-action,
  #item-buttons .more-action {
    opacity: 0;
    transform: translateY(-4px);
  }

  .member-header:hover .more-action,
  .bb-profile-header:hover .more-action,
  .bb-cover-wrap:hover .more-action {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  .members-header-actions .more-action,
  .member-header-actions .more-action,
  .bb-profile-actions .more-action,
  #item-buttons .more-action {
    opacity: 1;
    transform: none;
  }
}

/* Prevent member profile names from wrapping */
.member-title-wrap {
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: 100% !important;
}

.member-title-wrap .user-nicename,
h2.user-nicename {
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  max-width: none !important;
  line-height: 1.1 !important;
}


/* =======================================================================
   12) Industry Discussions profile UI
   ======================================================================= */

.psn-room-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a94a3;
  margin-bottom: 2px;
}

.item-title a.bbp-topic-permalink {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1d2a38;
  transition: color 0.2s ease;
}

.item-title a.bbp-topic-permalink:hover {
  color: #b89b5e;
}

.psn-room-label + .item-title {
  margin-top: 2px;
}

.item-meta,
.item-meta a,
.item-meta span {
  font-size: 13px;
  color: #7a8594;
}

#bbpress-forums .bs-item-list,
#bbpress-forums .bbp-body {
  border-radius: 14px;
  overflow: hidden;
}

/* Discussion rows */
#bbpress-forums .bs-item-wrap,
#bbpress-forums .bb-forums-list li,
#bbpress-forums .bbp-topic {
  padding: 14px 18px;
  border-bottom: 1px solid #eef1f5;
  box-sizing: border-box;
  transition: background-color 0.2s ease;
}

#bbpress-forums .bs-item-wrap:hover,
#bbpress-forums .bb-forums-list li:hover {
  background: #f8fafc;
}

/* Remove discussion row avatars 
#bbpress-forums .item-avatar,
#bbpress-forums .bs-item-avatar,
#bbpress-forums img.avatar {
  display: none !important;
}

#bbpress-forums .bs-item-wrap {
  display: flex !important;
  align-items: flex-start;
  gap: 0 !important;
  padding-left: 10px !important;
}

#bbpress-forums .bs-item-wrap .item,
#bbpress-forums .bs-item-wrap .item-content,
#bbpress-forums .bs-item-wrap .bs-forum-content,
#bbpress-forums .bs-item-wrap .bbp-topic-content,
#bbpress-forums .bs-item-wrap .topic-info {
  margin-left: 0 !important;
  padding-left: 0 !important;
  width: 100% !important;
  flex: 1 1 auto !important;
}

#bbpress-forums .bs-item-wrap .item-avatar,
#bbpress-forums .bs-item-wrap .bs-item-avatar {
  width: 0 !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 0 !important;
}

#bbpress-forums .topic-tag,
#bbpress-forums .bb-topic-tag,
#bbpress-forums .forum-tag,
#bbpress-forums .bbp-topic-tags {
  margin-right: 0 !important;
}
*/

/* Main profile nav */
#object-nav ul {
  display: flex !important;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

#object-nav li {
  float: none !important;
  display: inline-flex !important;
}

/* Hide BuddyBoss overflow / three-dots in main nav */
#object-nav li.hideshow,
#object-nav li.hideshow > a,
#object-nav li.hideshow .sub-menu,
#object-nav li.hideshow .submenu,
#object-nav li.hideshow .more-button,
#object-nav li.hideshow .bb-more-nav,
#object-nav li.hideshow .bb-submenu,
#object-nav .push-right,
#object-nav .more-button-dropdown {
  display: none !important;
}

/* Industry Discussions sub-nav */
#subnav ul,
#item-body #subnav ul,
.bbp-user-page #subnav ul {
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  border: 0;
  background: transparent;
}

#subnav li,
#item-body #subnav li,
.bbp-user-page #subnav li {
  display: inline-flex !important;
  float: none !important;
  list-style: none;
  margin: 0;
  padding: 0;
}

#subnav li a,
#item-body #subnav li a,
.bbp-user-page #subnav li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid #dde4ec;
  border-radius: 12px;
  background: #fff;
  color: #1d2a38;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

#subnav li a:hover,
#item-body #subnav li a:hover,
.bbp-user-page #subnav li a:hover {
  border-color: #b89b5e;
  color: #b89b5e;
  background: #fffdfa;
}

#subnav li.current a,
#subnav li.selected a,
#item-body #subnav li.current a,
#item-body #subnav li.selected a,
.bbp-user-page #subnav li.current a,
.bbp-user-page #subnav li.selected a {
  background: #f7f2e8;
  border-color: #b89b5e;
  color: #1d2a38;
  font-weight: 600;
  box-shadow: none;
}

/* Hide BuddyBoss overflow / three-dots in subnav */
#subnav li.hideshow,
#subnav li.hideshow > a,
#subnav li.hideshow .sub-menu,
#subnav li.hideshow .submenu,
#subnav li.hideshow .more-button,
#subnav li.hideshow .bb-more-nav,
#subnav li.hideshow .bb-submenu,
#subnav li.last.filter,
#subnav .push-right {
  display: none !important;
}

/* Remove excess animations in profile nav */
#object-nav a,
#subnav a,
#object-nav li,
#subnav li {
  animation: none !important;
}

/* Make pills feel interactive immediately */
#subnav .subnav a,
#buddypress .subnav a {
  cursor: pointer !important;
  pointer-events: auto !important;
  opacity: 1 !important;
  transition: none !important;
}

#subnav .subnav li,
#buddypress .subnav li {
  opacity: 1 !important;
}

#subnav .current a,
#buddypress .subnav .current a {
  background-color: #f5f5f5;
}

.psn-feed-end {
	text-align: center;
	margin: 30px 0 10px;
}

.psn-feed-end-inner {
	display: inline-block;
	padding: 22px 28px;
	background: #ffffff;
	border: 1px solid #e5e9ef;
	border-radius: 12px;
	box-shadow: 0 10px 28px rgba(0,0,0,0.05);
}

.psn-feed-end p {
	font-size: 16px;
	font-weight: 600;
	color: #0b1e2d;
	margin-bottom: 6px;
}

.psn-feed-end span {
	display: block;
	font-size: 13px;
	color: #6b7785;
	margin-bottom: 14px;
}

.psn-feed-btn {
	display: inline-block;
	padding: 10px 18px;
	background: #C9A24A;
	color: #fff;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 600;
	transition: all 0.2s ease;
}

.psn-feed-btn:hover {
	background: #b89b5e; /* slightly deeper gold */
	color: #0b1e2d;     /* PSN navy text */
	transform: translateY(-1px);
	box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}


/* ==========================================================
   PSN Group Industry Sidebar
   ========================================================== */

.psn-group-industries-widget {
	margin-top: 20px;
}

/* Card */
.psn-group-industries-card {
	background: #ffffff;
	border: 1px solid #e7e7e7;
	border-radius: 16px;
	padding: 18px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.04);
	transition: all 0.2s ease;
}

/* Title */
.psn-group-industries-title {
	margin: 0 0 6px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	color: #1f2230;
}

/* Helper text */
.psn-group-industries-help {
	margin: 0 0 14px;
	font-size: 13.5px;
	line-height: 1.5;
	color: #6e6f78;
}

/* List */
.psn-group-industries-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* Item */
.psn-group-industries-item {
	margin: 0;
	padding: 0;
}

/* Link (row) */
.psn-group-industries-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;

	padding: 12px 14px;
	border: 1px solid #ececec;
	border-radius: 12px;

	background: #fafafa;
	color: #1f2230;
	text-decoration: none;

	transition: all 0.2s ease;
}

/* Hover / focus */
.psn-group-industries-link:hover,
.psn-group-industries-link:focus {
	border-color: #c9a24a; /* PSN gold */
	background: #fffaf0;
	color: #1f2230;
	outline: none;
}

/* Active state (current forum) */
.psn-group-industries-item.is-active .psn-group-industries-link {
	border-color: #c9a24a;
	background: #fff8e8;
	box-shadow: 0 0 0 1px rgba(201,162,74,0.2);
}

/* Name */
.psn-group-industries-name {
	font-weight: 600;
	font-size: 14.5px;
	line-height: 1.35;
}

/* Count badge */
.psn-group-industries-count {
	flex: 0 0 auto;
	min-width: 28px;
	padding: 3px 8px;

	border-radius: 999px;
	background: #f1f1f1;

	font-size: 11.5px;
	font-weight: 600;
	text-align: center;
	color: #555;

	transition: all 0.2s ease;
}

/* Count hover sync */
.psn-group-industries-link:hover .psn-group-industries-count {
	background: #f3e7c6;
	color: #7a6225;
}

/* ==========================================================
   Optional: tighter BuddyBoss sidebar spacing
   ========================================================== */

.psn-has-group-industries-sidebar .psn-group-industries-widget {
	margin-bottom: 20px;
}

/* ==========================================================
   Mobile tweaks
   ========================================================== */

@media (max-width: 768px) {
	.psn-group-industries-card {
		padding: 16px;
	}

	.psn-group-industries-title {
		font-size: 18px;
	}

	.psn-group-industries-link {
		padding: 11px 12px;
	}

	.psn-group-industries-name {
		font-size: 14px;
	}
}
/* ==========================================================
   PSN PWA / App Mode
   ========================================================== */

html.psn-pwa {
  margin-top: 0 !important;
}

html.psn-pwa #wpadminbar {
  display: none !important;
}

html.psn-pwa body {
  margin-top: 0 !important;
  background: #f7f9fb;
}

/* Tighten the main header a bit in app mode */
html.psn-pwa #masthead,
html.psn-pwa .site-header,
html.psn-pwa .bb-header {
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Remove any admin-bar offset WP/BuddyBoss may add */
html.psn-pwa .admin-bar .site,
html.psn-pwa .admin-bar .site-content,
html.psn-pwa .admin-bar .buddyboss-wrap,
html.psn-pwa .admin-bar #page {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.psn-posting-context__desc {
    margin-top: 8px;
    margin-bottom: 6px;
    max-width: 900px;
    font-size: 16px;
    line-height: 21px;
    color: #5f6368;
    background-color: #fffcea;
    padding: 10px;
}

/* =========================================
   PSN Home Right Rail - Active Discussions
   Targets only the bbPress Recent Topics widget
   ========================================= */

#bbp_topics_widget-3 {
  border-radius: 18px;
  overflow: hidden;
}

#bbp_topics_widget-3 .widget-title {
  margin-bottom: 14px;
}

#bbp_topics_widget-3 ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#bbp_topics_widget-3 ul li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  transition: background-color 0.18s ease, transform 0.18s ease;
}

#bbp_topics_widget-3 ul li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

#bbp_topics_widget-3 ul li:first-child {
  padding-top: 0;
}

#bbp_topics_widget-3 ul li:hover {
  background: rgba(212, 163, 63, 0.05);
}

#bbp_topics_widget-3 ul li a {
  display: block;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.4;
  color: #1f2937;
  margin-bottom: 4px;
}

#bbp_topics_widget-3 ul li a:hover {
  color: #c58a17;
}

/* Clamp longer titles to 2 lines */
#bbp_topics_widget-3 ul li a.bbp-forum-title,
#bbp_topics_widget-3 ul li a.bbp-topic-permalink,
#bbp_topics_widget-3 ul li > a:first-child {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Metadata styling */
#bbp_topics_widget-3 .bbp-topic-meta,
#bbp_topics_widget-3 .bbp-topic-started-by,
#bbp_topics_widget-3 .bbp-topic-started-in,
#bbp_topics_widget-3 .bbp-topic-freshness,
#bbp_topics_widget-3 .topic-author,
#bbp_topics_widget-3 .post-date,
#bbp_topics_widget-3 small {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: #6b7280;
}

/* Optional subtle top-item emphasis */
#bbp_topics_widget-3 ul li:first-child a {
  color: #111827;
}

/* Optional: tiny gold accent line under heading if needed */
#bbp_topics_widget-3 .widget-title::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 8px;
  border-radius: 999px;
  background: #d4a33f;
}
#bbp_topics_widget-3 img {
  width: 32px;
  height: 32px;
}
/* Make author + time appear on one line visually */
#bbp_topics_widget-3 .bbp-topic-info {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0;
}

/* Topic title stays full-width on its own row */
#bbp_topics_widget-3 .bbp-topic-info > .bbp-forum-title {
  display: block;
  width: 100%;
  margin-bottom: 6px;
}

/* Make author and time inline */
#bbp_topics_widget-3 .bbp-topic-info > .topic-author,
#bbp_topics_widget-3 .bbp-topic-info > .time-since {
  display: inline;
  width: auto;
  font-size: 12px;
  line-height: 1.45;
  color: #9ca3af;
  margin: 0;
}

/* Author slightly stronger than time */
#bbp_topics_widget-3 .bbp-topic-info > .topic-author {
  color: #6b7280;
}

/* Add separator before the time */
#bbp_topics_widget-3 .bbp-topic-info > .time-since::before {
  content: "·";
  margin: 0 6px;
  color: #9ca3af;
}
#bbp_topics_widget-3 .bbp-topic-info {
  font-size: 12px;
  color: #9ca3af;
}

/* Add spacing after the raw "by" text */
#bbp_topics_widget-3 .bbp-topic-info > .topic-author {
  margin-left: 4px;
}

/* PSN: Replace BuddyBoss thumbs-up with an eye for "Read" */

/* Hide the built-in icon inside Like/Unlike buttons */
#buddypress .acomment-like i,
#buddypress .acomment-like svg,
#buddypress .fav i,
#buddypress .fav svg,
#buddypress .unfav i,
#buddypress .unfav svg,
.bb-activity .acomment-like i,
.bb-activity .acomment-like svg,
.bb-activity .fav i,
.bb-activity .fav svg,
.bb-activity .unfav i,
.bb-activity .unfav svg {
	display: none !important;
}

/* Base button setup */
#buddypress .acomment-like,
#buddypress .fav,
#buddypress .unfav,
.bb-activity .acomment-like,
.bb-activity .fav,
.bb-activity .unfav {
	position: relative;
}

/* Add eye icon */
#buddypress .acomment-like::before,
#buddypress .fav::before,
#buddypress .unfav::before,
.bb-activity .acomment-like::before,
.bb-activity .fav::before,
.bb-activity .unfav::before {
	content: "";
	display: inline-block;
	width: 22px;
	height: 22px;
	margin-right: 6px;
	vertical-align: -2px;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A24A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7S1 12 1 12z'/><circle cx='12' cy='12' r='3'/></svg>");
}

/* Default (unread / not clicked) */
.bb-activity .fav::before,
.bb-activity .unfav::before {
	filter: grayscale(100%) opacity(0.5);
}

/* Active (Read) */
.bb-activity .liked::before,
.bb-activity .unfav.liked::before,
.bb-activity .fav.liked::before {
	filter: none;
}
.bb-activity .fav:hover::before,
.bb-activity .unfav:hover::before {
	transform: scale(1.1);
	transition: transform 0.15s ease;
}
/* Replace reaction summary thumbs-up (above "You and Lisa...") */

/* Hide the thumbs-up icon */
.activity-state-reactions .bb-icon-thumbs-up {
	display: none !important;
}

/* Add eye icon in its place */
.activity-state-reactions .reactions_item::before {
	content: "";
	display: inline-block;
	width: 20px;
	height: 20px;
	margin-right: 8px;
	vertical-align: -3px;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A24A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7S1 12 1 12z'/><circle cx='12' cy='12' r='3'/></svg>");
}

.psn-edit-link,
.psn-edit-link a {
  display: block;
  position: relative;
  z-index: 9999;
  pointer-events: auto !important;
}


.psn-bm-helper-text {
    font-size: 15px;
    color: #64748b;
    line-height: 1.5;
    margin: 12px 0 24px;
    padding: 0 28px;
    display: block;
}

.better-messages input::placeholder,
.bp-messages-wrap input::placeholder {
    color: #64748b;
}


.bp-better-messages-list .tabs {
    font-size: 16px;
}

.psn-new-chat-btn {
    margin-left: auto;
    margin-right: 14px;
    font-size: 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s ease;
}

.psn-new-chat-btn:hover {
    transform: scale(1.08);
}

/* Bottom-left start message icon */

.new-message,
.bm-new-message,
.bp-messages-wrap .new-message {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.new-message svg,
.bm-new-message svg,
.bp-messages-wrap .new-message svg {
    width: 32px !important;
    height: 32px !important;
}

.new-message i,
.bm-new-message i {
    font-size: 28px !important;
}
If you want it more “premium”

body.bp-user:not(.my-account) .buddypress-wrap form#whats-new-form,
body.bp-user:not(.my-account) .buddypress-wrap .activity-update-form,
body.bp-user:not(.my-account) .buddypress-wrap #bp-nouveau-activity-form,
body.bp-user:not(.my-account) .buddypress-wrap .bp-nouveau-activity-form {
	display: none !important;
}

/* ==========================================
   BuddyBoss + GTranslate Profile Dropdown
   ========================================== */

/* BuddyBoss + GTranslate Profile Dropdown */
.user-wrap-container .sub-menu-inner {
    max-height: none !important;
    overflow: visible !important;
}

/* Make GTranslate feel like part of the menu */
#header-my-account-menu .menu-item-gtranslate {
    border-top: 1px solid #ececec;
    margin-top: 6px;
    padding: 0 !important;
}

#header-my-account-menu .gt_switcher {
    max-width: 210px !important;
	width: 100% !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

/* Current language row */
#header-my-account-menu .gt_selected a {
    display: flex !important;
    align-items: center !important;
    min-height: 27px !important;
    padding: 8px 16px 2px 8px !important;
    font-size: 16px !important;
    color: #444 !important;
    background: transparent !important;
    border: none !important;
    gap: 12px !important;
}
#header-my-account-menu .gt_selected a:hover {
    background: #f7f7f7 !important;
}

/* Dropdown choices */
#header-my-account-menu .gt_option {
    width: 100% !important;
    max-height: 190px !important;
    overflow-y: auto !important;
    background: #fff !important;
    border-top: 1px solid #eee !important;
}

#header-my-account-menu .gt_option a {
    display: flex !important;
    align-items: center !important;
    min-height: 14px !important;
    padding: 8px 18px !important;
    font-size: 13px !important;
    gap: 5px !important;
}

/* Flags */
#header-my-account-menu .gt_switcher img {
    position: static !important;
    width: 18px !important;
    height: auto !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}


/* =======================================================================
   13) Responsive adjustments
   ======================================================================= */

@media (max-width: 900px) {
  .bbp-forum-buttons-wrap {
    flex-direction: column !important;
    align-items: center !important;
    gap: 14px;
  }

  #subscription-toggle {
    justify-content: center !important;
    width: auto;
  }

  .bbp_before_forum_new_post {
    width: 100%;
    justify-content: center !important;
  }

  a.button.full.btn-new-topic {
    width: 100%;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .better-messages-mini,
  .bm-mini-threads,
  .bm-chat-window,
  .bp-messages-wrap {
    width: calc(100vw - 24px) !important;
    right: 12px !important;
    left: 12px !important;
    max-width: none !important;
  }
}

@media (max-width: 700px) {
  .bs-item-wrap.bs-header-item .bbp-forum-buttons-wrap {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .bs-item-wrap.bs-header-item #subscription-toggle,
  .bs-item-wrap.bs-header-item .bbp_before_forum_new_post {
    width: 100%;
    margin-left: 0 !important;
  }

  .bs-item-wrap.bs-header-item .bbp_before_forum_new_post a.button.full.btn-new-topic {
    width: 100% !important;
  }
}

@media (max-width: 640px) {
  .psn-posting-context {
    padding-right: 16px;
  }

  .psn-posting-context::after {
    position: relative;
    display: block;
    width: 100%;
    height: 140px;
    margin-top: 14px;
    top: auto;
    right: auto;
    bottom: auto;
  }
}