/* BastionGuard 1.10.8 — unified topic author and presence presentation.
   Final high-priority overrides deliberately replace pre-1.10.8 conflicting CSS. */
body.bbpress main.bsg-aurora-page .bsg-aurora-conversation .bsg-aurora-post,
body.bbpress main.bsg-aurora-page .bsg-aurora-conversation .bsg-aurora-post--reply {
  background: #ffffff !important;
  border-color: rgba(8,107,235,0.35) !important;
}
body.bbpress main.bsg-aurora-page .bsg-aurora-conversation .bsg-aurora-post__heading {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 9px !important;
  text-align: center !important;
  background: linear-gradient(145deg,#086beb,#086beb 70%,#086beb) !important;
  border-color: rgba(8,107,235,0.34) !important;
  box-shadow: inset -1px 0 rgba(8,107,235,0.08);
  padding: 20px 13px !important;
  min-width: 0 !important;
}
body.bbpress main.bsg-aurora-page .bsg-aurora-conversation .bsg-aurora-post__identity {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 5px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}
body.bbpress main.bsg-aurora-page .bsg-aurora-post__identity .bsg-author-name {
  display: block;
  text-align: center !important;
  overflow-wrap: anywhere;
  max-width: 100%;
}
body.bbpress main.bsg-aurora-page .bsg-aurora-post__identity .bsg-aurora-author-badges,
body.bbpress main.bsg-aurora-page .bsg-aurora-post__identity .bsg-member-badge-stack {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  align-self: center !important;
  justify-content: center !important;
  gap: 2px !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin: 2px auto !important;
  text-align: center !important;
}
body.bbpress main.bsg-aurora-page .bsg-aurora-post__identity .bsg-member-badge {align-self:center !important;margin-inline:auto !important;}
body.bbpress main.bsg-aurora-page .bsg-aurora-post__identity .bsg-badge-png {object-fit:contain !important;max-width:100%;height:auto !important;}
body.bbpress main.bsg-aurora-page .bsg-aurora-post__date {
  display: block !important;
  align-self: stretch !important;
  width: 100% !important;
  padding: 11px 2px 10px !important;
  margin: 7px 0 2px !important;
  border-bottom: 1px solid rgba(8,107,235,0.35) !important;
  color: #66768a !important;
  font-size: 11px !important;
  font-weight: 650 !important;
  line-height: 1.55 !important;
  text-align: left !important;
}
/* Native details: no nested card, frame, fill or secondary container. */
body.bbpress main.bsg-aurora-page .bsg-aurora-post__identity .bsg-mobile-member-more {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.bbpress main.bsg-aurora-page .bsg-aurora-post__identity .bsg-mobile-member-more > summary {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 8px 10px !important;
  margin: 0 auto !important;
  width: fit-content !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  color: #086beb !important;
  cursor: pointer;
}
body.bbpress main.bsg-aurora-page .bsg-aurora-post__identity .bsg-mobile-member-more__content,
body.bbpress main.bsg-aurora-page .bsg-aurora-post__identity .bsg-mobile-member-more__details,
body.bbpress main.bsg-aurora-page .bsg-aurora-post__identity .bsg-mobile-member-more__details > div {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #66768a !important;
}
body.bbpress main.bsg-aurora-page .bsg-aurora-post__identity .bsg-mobile-member-more__details > div {display:block!important;padding:6px 1px!important;line-height:1.5!important;text-align:center!important;overflow-wrap:anywhere;}
body.bbpress main.bsg-aurora-page .bsg-mobile-member-more__details dt,
body.bbpress main.bsg-aurora-page .bsg-mobile-member-more__details dd {margin:0!important;text-align:center!important;font-size:11px!important;}
body.bbpress main.bsg-aurora-page .bsg-mobile-member-more__details dt {font-weight:750!important;color:#086beb!important;}
body.bbpress main.bsg-aurora-page .bsg-mobile-member-more__details dd {color:#121f32!important;}
body.bbpress main.bsg-aurora-page .bsg-mobile-member-more__bio {text-align:center!important;white-space:normal!important;margin:5px 0!important;}
body.bbpress main.bsg-aurora-page .bbp-userpop__card {display:none!important;}
/* Online/offline is derived from the same 5-minute activity window as the sidebar. */
body.bbpress main.bsg-aurora-page .bsg-presence-badge {display:inline-flex!important;align-items:center;justify-content:center;gap:5px;align-self:center;width:fit-content;padding:3px 9px;margin:3px 0!important;border:1px solid currentColor;border-radius:100px;font-size:10px;line-height:1.35;font-weight:800;background:rgba(8,107,235,0.025);}
body.bbpress main.bsg-aurora-page .bsg-presence-badge--online {color:#086beb!important;}
body.bbpress main.bsg-aurora-page .bsg-presence-badge--offline {color:#4d5d73!important;}
body.bbpress main.bsg-aurora-page .bsg-presence-badge__dot {width:7px;height:7px;display:inline-block;background:currentColor;border-radius:50%;flex:0 0 auto;}
body.bbpress main.bsg-aurora-page--profile .bsg-aurora-profile-hero__identity > .bsg-presence-badge {align-self:center!important;margin:8px auto!important;}
body.bbpress main.bsg-aurora-page--profile .bsg-community-member-card .bsg-presence-badge {align-self:center!important;margin:6px auto!important;}
/* Keep author visibly different from content on narrow screens as well. */
@media(max-width:700px) {
 body.bbpress main.bsg-aurora-page .bsg-aurora-conversation .bsg-aurora-post__heading {
   background:linear-gradient(130deg,#086beb,#086beb)!important;
   border-right:0!important;
   border-bottom:1px solid rgba(8,107,235,0.34)!important;
   padding:17px 13px!important;
 }
 body.bbpress main.bsg-aurora-page .bsg-aurora-conversation .bsg-aurora-post__identity,
 body.bbpress main.bsg-aurora-page .bsg-aurora-conversation .bsg-aurora-post__heading {
   text-align:center!important;align-items:center!important;
 }
 body.bbpress main.bsg-aurora-page .bsg-aurora-post__identity .bsg-aurora-author-badges,
 body.bbpress main.bsg-aurora-page .bsg-aurora-post__identity .bsg-member-badge-stack {align-items:center!important;margin:2px auto!important;}
 body.bbpress main.bsg-aurora-page .bsg-aurora-post__date {text-align:left!important;padding:10px 3px!important;margin-top:9px!important;}
}

/* Keep the native hidden attribute authoritative. */
body.bbpress [data-bsg-online-members-row][hidden] { display: none !important; }

/* 1.11.44 — presence dot: pulsing green when online, red when offline */
@keyframes bsg-presence-pulse{0%{box-shadow:0 0 0 0 rgba(22,163,74,.6)}70%{box-shadow:0 0 0 6px rgba(22,163,74,0)}100%{box-shadow:0 0 0 0 rgba(22,163,74,0)}}
body.bbpress main.bsg-aurora-page .bsg-presence-badge--online .bsg-presence-badge__dot{background:#16a34a!important;animation:bsg-presence-pulse 1.6s ease-out infinite}
body.bbpress main.bsg-aurora-page .bsg-presence-badge--offline .bsg-presence-badge__dot{background:#dc2626!important;animation:none}
@media (prefers-reduced-motion:reduce){body.bbpress main.bsg-aurora-page .bsg-presence-badge--online .bsg-presence-badge__dot{animation:none}}
