/* SpectraHub V134 · public document typography, HR and signature isolation. */

/* Content pages use normal forum-sized typography. */
body.spectrahubForum .shContentPageForumStyle .shDocumentContent{
  font-size:14px!important;
  line-height:1.58!important;
  letter-spacing:0!important;
}
body.spectrahubForum .shV111PageHead h1{
  font-size:19px!important;
  line-height:1.3!important;
  letter-spacing:0!important;
  margin:0!important;
}
body.spectrahubForum .shDocumentContent h1,
body.spectrahubForum .shDocumentContent h2,
body.spectrahubForum .shDocumentContent h3,
body.spectrahubForum .shDocumentContent h4{
  line-height:1.35!important;
  letter-spacing:0!important;
  margin:16px 0 8px!important;
}
body.spectrahubForum .shDocumentContent h1{font-size:18px!important;}
body.spectrahubForum .shDocumentContent h2,
body.spectrahubForum .shDocumentContent h2.bb-heading{font-size:16px!important;}
body.spectrahubForum .shDocumentContent h3,
body.spectrahubForum .shDocumentContent h3.bb-heading{font-size:15px!important;}
body.spectrahubForum .shDocumentContent h4,
body.spectrahubForum .shDocumentContent h4.bb-heading{font-size:14px!important;}

/* [HR] is only a clean one-pixel separator; never a tall/boxed element. */
body.spectrahubForum hr.bb-hr,
body.spectrahubForum :is(.shDocumentContent,.shStaticBody,.bbWrapper,.bodyText,.message-body,.postContent) hr.bb-hr{
  display:block!important;
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:0!important;
  min-height:0!important;
  margin:14px 0!important;
  padding:0!important;
  border:0!important;
  border-top:1px solid rgba(168,185,204,.52)!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  opacity:1!important;
  float:none!important;
  clear:both!important;
}

/* V138: signature font is intentionally not reset here.
   The signature's own BBCode/font choice must remain authoritative on desktop and mobile. */

/* V135 mobile profile: remove the obsolete floating settings/cog action and expose
   the exact desktop tabs in a dedicated mobile-safe bar outside the clipped profile header. */
body.spectrahubForum .shProfileMobileTabs{display:none!important}
@media(max-width:720px){
  body.spectrahubForum .xfMemberHeader.is-own-profile .xfMemberActions{display:none!important}
  body.spectrahubForum .xfMemberHeader .xfMemberActions{
    position:static!important;right:auto!important;top:auto!important;
    grid-column:1 / -1!important;width:auto!important;margin:2px 0 0!important;padding:0!important;
  }
  body.spectrahubForum .xfMemberHeader .xfMemberActions .btn{
    width:auto!important;height:auto!important;min-height:34px!important;
    padding:7px 10px!important;font-size:13px!important;line-height:1.25!important;
  }
  body.spectrahubForum .xfMemberHeader .xfMemberActions .btn::before,
  body.spectrahubForum .xfMemberHeader .xfMemberActions .btn::after{content:none!important;display:none!important}

  /* The in-card desktop tabs are hidden on mobile; the duplicate bar below is never clipped. */
  body.spectrahubForum .xfMemberHeader>.shProfileDesktopTabs{display:none!important}
  body.spectrahubForum .shProfileMobileTabs{
    position:relative!important;z-index:3!important;display:flex!important;visibility:visible!important;opacity:1!important;
    box-sizing:border-box!important;width:100%!important;min-height:40px!important;
    margin:-5px 0 14px!important;padding:0 4px!important;
    overflow-x:auto!important;overflow-y:hidden!important;gap:0!important;
    border:1px solid #555b63!important;border-top:0!important;border-radius:0 0 6px 6px!important;
    background:#42464d!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important;
  }
  body.spectrahubForum .shProfileMobileTabs::-webkit-scrollbar{display:none!important}
  body.spectrahubForum .shProfileMobileTabs a{
    display:flex!important;align-items:center!important;justify-content:center!important;
    flex:0 0 auto!important;min-height:39px!important;padding:8px 10px!important;
    border-right:1px solid #555b63!important;border-bottom:2px solid transparent!important;
    color:#bbc4ce!important;font-size:13px!important;font-weight:700!important;line-height:1.2!important;
    white-space:nowrap!important;text-decoration:none!important;
  }
  body.spectrahubForum .shProfileMobileTabs a.is-active{
    color:#80c6ff!important;border-bottom-color:#2196f3!important;background:#3b4249!important;
  }

  /* Slightly tighter mobile profile typography. */
  body.spectrahubForum .xfMemberIdentity h1{font-size:18px!important;line-height:1.15!important}
  body.spectrahubForum .xfMemberTitle{font-size:13px!important;line-height:1.35!important}
  body.spectrahubForum .xfMemberMeta{font-size:12.5px!important;gap:6px 9px!important;line-height:1.35!important}
  body.spectrahubForum .shNotice{padding:9px 11px!important}
  body.spectrahubForum .shNotice>b{font-size:15px!important;line-height:1.35!important}
  body.spectrahubForum .shNotice>div{font-size:14px!important;line-height:1.48!important}
}

