/* BastionGuard 1.10.7 — disclosure of mobile author/profile details.
   Desktop UI deliberately unchanged except the existing 1.10.6 centered hero. */
body.bbpress main.bsg-aurora-page .bsg-mobile-member-more { display: none !important; }
@media (max-width: 700px) {
  /* Hide expanded desktop-only identity details; More is their accessible mobile replacement. */
  body.bbpress main.bsg-aurora-page .bsg-aurora-conversation .bsg-aurora-post__identity > .bsg-aurora-author-badges,
  body.bbpress main.bsg-aurora-page .bsg-aurora-conversation .bsg-aurora-post__identity > small,
  body.bbpress main.bsg-aurora-page--profile .bsg-aurora-profile-hero__identity > .bsg-aurora-profile-badge-row,
  body.bbpress main.bsg-aurora-page--profile .bsg-aurora-profile-hero__identity > .bsg-aurora-profile-joined,
  body.bbpress main.bsg-aurora-page--profile .bsg-aurora-profile-hero__identity > .bsg-aurora-profile-bio,
  body.bbpress main.bsg-aurora-page--profile .bsg-community-member-aside > .bsg-community-member-card { display: none !important; }

  body.bbpress main.bsg-aurora-page .bsg-mobile-member-more {
    display: block !important; width: 100% !important; min-width: 0 !important;
    max-width: min(100%, 360px) !important; margin: 8px auto 0 !important;
    align-self: center !important; text-align: center !important;
    color: #66768a !important;
  }
  body.bbpress main.bsg-aurora-page .bsg-mobile-member-more > summary {
    display: inline-flex !important; list-style: none !important;
    align-items: center !important; justify-content: center !important; gap: 8px !important;
    padding: 9px 20px !important; margin: 0 auto !important;
    font-size: 13px !important; font-weight: 750 !important; line-height: 1.2 !important;
    border-radius: 10px !important; color: #ffffff !important;
    border: 1px solid rgba(8,107,235,0.48) !important;
    background: rgba(8,107,235,0.72) !important; cursor: pointer !important;
    transition: background .15s ease, border-color .15s ease;
  }
  body.bbpress main.bsg-aurora-page .bsg-mobile-member-more > summary::-webkit-details-marker { display: none; }
  body.bbpress main.bsg-aurora-page .bsg-mobile-member-more > summary:hover,
  body.bbpress main.bsg-aurora-page .bsg-mobile-member-more > summary:focus-visible {
    outline: 2px solid rgba(8,107,235,0.6) !important; outline-offset: 3px !important;
    background: rgba(8,107,235,0.55) !important;
  }
  body.bbpress main.bsg-aurora-page .bsg-mobile-member-more[open] > summary i { transform: rotate(180deg); }
  body.bbpress main.bsg-aurora-page .bsg-mobile-member-more .bsg-more-open { display: none; }
  body.bbpress main.bsg-aurora-page .bsg-mobile-member-more[open] .bsg-more-open { display: inline; }
  body.bbpress main.bsg-aurora-page .bsg-mobile-member-more[open] .bsg-more-closed { display: none; }
  body.bbpress main.bsg-aurora-page .bsg-mobile-member-more:not([open]) > .bsg-mobile-member-more__content {
    display: none !important;
  }
  body.bbpress main.bsg-aurora-page .bsg-mobile-member-more__content {
    display: flex !important; flex-direction: column !important;
    align-items: center !important; justify-content: center !important;
    text-align: center !important; gap: 10px !important; padding: 14px 8px 6px !important;
    width: 100% !important; min-width: 0 !important;
  }
  body.bbpress main.bsg-aurora-page .bsg-mobile-member-more__badges,
  body.bbpress main.bsg-aurora-page .bsg-mobile-member-more__badges .bsg-member-badge-stack {
    display: flex !important; flex-direction: column !important;
    align-items: center !important; justify-content: center !important;
    align-self: center !important; gap: 2px !important;
    max-width: 100% !important; width: auto !important;
    padding: 0 !important; margin: 0 auto !important;
  }
  body.bbpress main.bsg-aurora-page .bsg-mobile-member-more__badges .bsg-member-badge {
    align-self: center !important; justify-content: center !important; margin-inline: auto !important;
  }
  body.bbpress main.bsg-aurora-page .bsg-mobile-member-more__badges img.bsg-badge-png {
    display: block !important; max-height: 52px !important;
    height: auto !important; width: auto !important; max-width: 100% !important;
    object-fit: contain !important; object-position: center !important; margin: 0 auto !important;
  }
  body.bbpress main.bsg-aurora-page .bsg-mobile-member-more__details {
    display: flex !important; flex-direction: column !important; gap: 10px !important;
    margin: 2px 0 0 !important; width: 100% !important; align-items: center !important;
  }
  body.bbpress main.bsg-aurora-page .bsg-mobile-member-more__details > div { display: block !important; text-align: center !important; }
  body.bbpress main.bsg-aurora-page .bsg-mobile-member-more__details dt {
    color: #086beb !important; font-weight: 550 !important; font-size: 11px !important; margin: 0 !important;
  }
  body.bbpress main.bsg-aurora-page .bsg-mobile-member-more__details dd {
    color: #121f32 !important; font-size: 12px !important;
    font-weight: 650 !important; margin: 3px 0 0 !important; overflow-wrap: anywhere !important;
  }
  body.bbpress main.bsg-aurora-page .bsg-mobile-member-more__details a {
    color: #086beb !important; text-decoration: underline !important; text-underline-offset: 3px;
  }
  body.bbpress main.bsg-aurora-page .bsg-mobile-member-more__bio {
    font-size: 12px !important; line-height: 1.6 !important;
    text-align: center !important; max-width: 30ch !important;
    margin: 0 auto !important; overflow-wrap: anywhere !important;
  }
  /* Profile head and topic author are centered; desktop profile sidebar remains as before. */
  body.bbpress main.bsg-aurora-page--profile .bsg-aurora-profile-hero__identity > .bsg-mobile-member-more,
  body.bbpress main.bsg-aurora-page .bsg-aurora-conversation .bsg-aurora-post__identity > .bsg-mobile-member-more {
    align-self: center !important; justify-self: center !important;
    text-align: center !important; margin-inline: auto !important;
  }
}
