@import url('https://fonts.bunny.net/css?family=Comic+Neue:400,700|Kalam:400,700&display=swap');
/* SpectraHub V144 — font isolation, real mobile profile tabs, inline XenForo-like editing. */

/* Stable, visibly different cross-platform fallbacks for Windows-only editor faces. */
body.spectrahubForum [data-sh-font='Segoe Print'],
body.spectrahubAdmin [data-sh-font='Segoe Print'],
.shXfEditorShell [data-sh-font='Segoe Print']{
  font-family:'Segoe Print',Kalam,cursive!important;
}
body.spectrahubForum [data-sh-font='Comic Sans MS'],
body.spectrahubAdmin [data-sh-font='Comic Sans MS'],
.shXfEditorShell [data-sh-font='Comic Sans MS']{
  font-family:'Comic Sans MS','Comic Neue',cursive!important;
}
/* The signature starts from the forum default font every time. Its own BBCode span can
   then override this with its inline !important font, so the post font never leaks in. */
body.spectrahubForum .shV107Signature,
body.spectrahubForum .shV107SignatureContent{
  font-family:Inter,Arial,system-ui,sans-serif!important;
}
body.spectrahubForum .shV107SignatureContent [data-sh-font='Segoe Print']{font-family:'Segoe Print',Kalam,cursive!important}
body.spectrahubForum .shV107SignatureContent [data-sh-font='Comic Sans MS']{font-family:'Comic Sans MS','Comic Neue',cursive!important}

/* Mobile profile navigation: one proper compact tab bar, not three giant cards. */
@media(max-width:720px){
  body.spectrahubForum .shProfileMobileTabs{
    display:flex!important;flex-direction:row!important;align-items:stretch!important;
    width:100%!important;min-height:42px!important;height:auto!important;
    margin:-1px 0 12px!important;padding:0!important;gap:0!important;
    overflow-x:auto!important;overflow-y:hidden!important;
    border:1px solid var(--shc-border,#555b63)!important;border-radius:0 0 7px 7px!important;
    background:var(--shc-surface,#383c42)!important;box-shadow:none!important;
  }
  body.spectrahubForum .shProfileMobileTabs a{
    display:flex!important;flex:0 0 auto!important;width:auto!important;min-width:0!important;
    min-height:42px!important;height:42px!important;margin:0!important;padding:0 13px!important;
    align-items:center!important;justify-content:center!important;
    border:0!important;border-right:1px solid var(--shc-border,#555b63)!important;border-bottom:2px solid transparent!important;
    border-radius:0!important;background:transparent!important;color:var(--shc-muted,#bbc4ce)!important;
    font-size:11px!important;font-weight:700!important;line-height:1!important;white-space:nowrap!important;
  }
  body.spectrahubForum .shProfileMobileTabs a:last-child{border-right:0!important}
  body.spectrahubForum .shProfileMobileTabs a.is-active{
    background:rgba(33,150,243,.08)!important;color:#80c6ff!important;border-bottom-color:#2196f3!important;
  }
}

/* Inline topic/reply edit, modelled after XenForo's in-place editor. */
body.spectrahubForum .shInlineEditHost{margin:0 0 10px!important}
body.spectrahubForum .shInlineEditCard{
  margin:0!important;padding:10px!important;border:1px solid #53616e!important;border-radius:6px!important;
  background:#30363c!important;box-shadow:none!important;
}
body.spectrahubForum .shInlineEditTitleLine{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:0!important;align-items:stretch!important;margin-bottom:8px!important}
body.spectrahubForum .shInlineEditPrefix{min-width:0!important;position:relative!important;z-index:40!important}
body.spectrahubForum .shInlineEditPrefix .shV97Prefix{max-width:190px!important;height:100%!important}
body.spectrahubForum .shInlineEditPrefix .shV97PrefixToggle{min-height:38px!important;height:38px!important;border:1px solid #607184!important;border-right:0!important;border-radius:6px 0 0 6px!important;padding:4px 8px!important}
body.spectrahubForum .shInlineEditPrefix .shV97PrefixTag{font-size:10.5px!important;max-width:135px!important}
body.spectrahubForum .shInlineEditTitleInput{height:38px!important;min-height:38px!important;margin:0!important;padding:7px 10px!important;border:1px solid #607184!important;border-radius:0 6px 6px 0!important;background:#2a333c!important;color:#eef3f8!important;font-size:11.5px!important;font-weight:600!important}
body.spectrahubForum .shInlineEditTagsLabel{display:grid!important;grid-template-columns:68px minmax(0,1fr)!important;align-items:center!important;gap:8px!important;margin:0 0 8px!important;color:#aebac5!important;font-size:10px!important;font-weight:600!important}
body.spectrahubForum .shInlineEditTagsLabel input{height:34px!important;min-height:34px!important;margin:0!important;padding:6px 9px!important;font-size:10.5px!important}
body.spectrahubForum .shInlineEditCard .shXfEditorShell{margin:0 0 8px!important;border-radius:6px!important}
body.spectrahubForum .shInlineEditCard .shXfEditorShell{--sh-editor-min:150px!important}
body.spectrahubForum .shInlineEditFooter{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;min-height:34px!important;padding-top:2px!important}
body.spectrahubForum .shInlineEditFooter .btn{min-height:32px!important;padding:6px 11px!important;font-size:10.5px!important;border-radius:5px!important}
body.spectrahubForum .shInlineEditStatus{margin-right:auto!important;color:#9fb0be!important;font-size:10px!important}
body.spectrahubForum .shInlineEditStatus.is-error{color:#ff9da6!important}
body.spectrahubForum .shInlineEditStatus.is-ok{color:#7edbb7!important}
body.spectrahubForum .shInlineEditing [data-sh-thread-body][hidden],
body.spectrahubForum .shInlineEditing [data-sh-post-body][hidden]{display:none!important}
@media(max-width:620px){
  body.spectrahubForum .shInlineEditCard{padding:8px!important}
  body.spectrahubForum .shInlineEditTitleLine{grid-template-columns:minmax(105px,38%) minmax(0,1fr)!important}
  body.spectrahubForum .shInlineEditPrefix .shV97Prefix{max-width:100%!important;width:100%!important}
  body.spectrahubForum .shInlineEditPrefix .shV97PrefixToggle{width:100%!important;justify-content:space-between!important}
  body.spectrahubForum .shInlineEditPrefix .shV97PrefixTag{font-size:9.5px!important;max-width:90px!important}
  body.spectrahubForum .shInlineEditTitleInput{font-size:10.5px!important}
  body.spectrahubForum .shInlineEditTagsLabel{grid-template-columns:1fr!important;gap:4px!important}
  body.spectrahubForum .shInlineEditFooter{flex-wrap:wrap!important}
}
