/* SpectraHub v120: one coherent composer, prefix picker and responsive site footer. */
body.spectrahubForum {
  --sh120-card:#3c434b;
  --sh120-raised:#424b55;
  --sh120-field:#303941;
  --sh120-border:#6b7b8c;
  --sh120-edge:#566675;
  --sh120-text:#f1f5fb;
  --sh120-muted:#bfcbd8;
  --sh120-blue:#2497ed;
}

/* The footer must follow short pages to the viewport bottom without covering content. */
html {min-height:100%;}
body.spectrahubForum {display:flex!important;flex-direction:column!important;min-height:100vh!important;min-height:100dvh!important;}
body.spectrahubForum > main.main {flex:1 0 auto!important;min-width:0!important;}
body.spectrahubForum > footer.shV120SiteFooter {
  box-sizing:border-box!important;display:block!important;flex:0 0 auto!important;
  width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;
  padding:24px 0 25px!important;background:#20252b!important;color:#bfc9d4!important;
  border:0!important;border-top:1px solid #46505a!important;box-shadow:none!important;
}
body.spectrahubForum .shV120FooterInner{
  box-sizing:border-box!important;display:flex!important;align-items:center!important;
  justify-content:space-between!important;gap:25px!important;
  width:min(1200px,calc(100% - 36px))!important;max-width:1200px!important;
  padding:0!important;margin:0 auto!important;min-width:0!important;
}
body.spectrahubForum .shV120FooterLogo {
  display:block!important;flex:0 1 238px!important;width:238px!important;max-width:100%!important;
  padding:0!important;line-height:0!important;min-width:0!important;text-decoration:none!important;
}
body.spectrahubForum .shV120FooterLogo img {
  display:block!important;width:100%!important;max-width:238px!important;height:auto!important;
  aspect-ratio:3/1!important;object-fit:contain!important;object-position:center left!important;
}
body.spectrahubForum .shV120FooterContent{
  display:flex!important;flex:1 1 auto!important;flex-direction:column!important;
  align-items:flex-end!important;gap:13px!important;max-width:100%!important;min-width:0!important;
}
body.spectrahubForum .shV120FooterNav{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  flex-wrap:wrap!important;column-gap:21px!important;row-gap:8px!important;
  max-width:100%!important;min-width:0!important;
}
body.spectrahubForum .shV120FooterNav :is(a,button.shCookieFooterLink){
  display:inline-block!important;width:auto!important;max-width:100%!important;
  background:transparent!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;margin:0!important;padding:0!important;
  font:500 14px/1.5 system-ui,Arial,sans-serif!important;
  color:#b6c8dd!important;text-decoration:none!important;white-space:nowrap!important;
  cursor:pointer!important;overflow-wrap:normal!important;
}
body.spectrahubForum .shV120FooterNav :is(a,button.shCookieFooterLink):is(:hover,:focus-visible){
  color:#91c9ff!important;text-decoration:underline!important;
}
body.spectrahubForum .shV120FooterCredit{
  color:#9caebe!important;font-size:14px!important;line-height:1.5!important;
  white-space:normal!important;text-align:right!important;overflow-wrap:normal!important;
}
body.spectrahubForum .shV120FooterCredit strong{font-weight:750!important;color:#dde8f2!important;}
body.spectrahubForum .shV120FooterCredit sup{
  position:relative!important;top:-.2em!important;vertical-align:super!important;
  font-size:14px!important;line-height:0!important;
}

/* Shared form language: consistent graphite fields without extreme black backgrounds. */
body.spectrahubForum :is(.shV97InlineTopic,.shV120ProfileComposer,.shV97FullTopic){
  box-sizing:border-box!important;background:var(--sh120-card)!important;
  border:1px solid var(--sh120-edge)!important;border-radius:9px!important;
  box-shadow:none!important;min-width:0!important;
}
body.spectrahubForum .shV97InlineTopic{
  padding:13px 15px!important;margin-bottom:20px!important;overflow:visible!important;
}
body.spectrahubForum .shV97InlineTopic .shV97DraftInput,
body.spectrahubForum .shV97FullTopic .shV97FullTitleLine{
  box-sizing:border-box!important;display:flex!important;background:var(--sh120-field)!important;
  border:1px solid var(--sh120-border)!important;border-radius:6px!important;
  max-width:100%!important;min-width:0!important;box-shadow:none!important;
}
body.spectrahubForum .shV97InlineTopic .shV97DraftInput:focus-within,
body.spectrahubForum .shV97FullTopic .shV97FullTitleLine:focus-within {
  border-color:#5dabf9!important;box-shadow:0 0 0 2px rgba(36,151,237,.16)!important;
}
body.spectrahubForum .shV97InlineTopic .shV97TitleLine,
body.spectrahubForum .shV97FullTopic .shV97FullTitleLine{
  min-height:44px!important;max-width:100%!important;align-items:stretch!important;
}
body.spectrahubForum .shV97InlineTopic .shV97TitleLine>.shV96TopicTitle,
body.spectrahubForum .shV97FullTopic .shV97FullTitleLine>input {
  display:block!important;flex:1 1 0!important;min-width:0!important;width:0!important;
  height:44px!important;min-height:44px!important;
  padding:9px 12px!important;margin:0!important;background:transparent!important;
  border:0!important;border-radius:0 6px 6px 0!important;box-shadow:none!important;
  color:var(--sh120-text)!important;font:500 14px/1.5 system-ui,Arial,sans-serif!important;
}
body.spectrahubForum .shV97InlineTopic .shV97TitleLine>.shV96TopicTitle:focus,
body.spectrahubForum .shV97FullTopic .shV97FullTitleLine>input:focus{outline:0!important;box-shadow:none!important;}
body.spectrahubForum .shV97InlineTopic .shV97TitleLine>.shV96TopicTitle::placeholder,
body.spectrahubForum .shV97FullTopic .shV97FullTitleLine>input::placeholder {
  color:#b7c4cf!important;opacity:1!important;
}
body.spectrahubForum .shV97InlineTopic .shV96InlineTopicTop{
  grid-template-columns:40px minmax(0,1fr)!important;gap:11px!important;align-items:center!important;
}
body.spectrahubForum .shV97InlineTopic.is-open .shV96InlineTopicExpanded {
  margin-top:12px!important;overflow:visible!important;
}
body.spectrahubForum .shV97InlineTopic .shV96TopicAvatar {
  width:40px!important;height:40px!important;min-width:40px!important;
  border:1px solid #7a8a99!important;border-radius:50%!important;
}
body.spectrahubForum .shV97InlineTopic .shV96InlineTopicActions{margin-top:12px!important;gap:8px!important;}

/* Prefix selector: make selection look like the XenForo-style colored label menu. */
body.spectrahubForum .shV97InlineTopic .shV100TitlePrefix,
body.spectrahubForum .shV97FullTitleLine>.shV97Prefix {
  display:flex!important;align-items:stretch!important;flex:0 1 auto!important;
  width:auto!important;min-width:0!important;max-width:min(240px,46%)!important;
  position:relative!important;z-index:60!important;
}
body.spectrahubForum .shV97InlineTopic:not(.is-open) .shV100TitlePrefix {display:none!important;}
body.spectrahubForum .shV97Prefix{min-width:0!important;position:relative!important;}
body.spectrahubForum .shV97PrefixToggle,
body.spectrahubForum .shV97InlineTopic .shV100TitlePrefix .shV97PrefixToggle {
  display:flex!important;align-items:center!important;justify-content:center!important;
  gap:7px!important;width:100%!important;max-width:100%!important;
  height:44px!important;min-height:44px!important;margin:0!important;
  padding:6px 10px!important;background:#424e5b!important;
  border:0!important;border-right:1px solid #657685!important;
  border-radius:5px 0 0 5px!important;
  font:700 14px/1.2 system-ui,Arial,sans-serif!important;
  color:#e5edf4!important;cursor:pointer!important;box-shadow:none!important;
}
body.spectrahubForum .shV97PrefixToggle:is(:hover,[aria-expanded="true"]){background:#4c5e70!important;}
body.spectrahubForum .shV97PrefixToggle .shV120PrefixChevron{
  flex:0 0 7px!important;width:7px!important;height:7px!important;
  border:solid #e1eaf4!important;border-width:0 1.5px 1.5px 0!important;
  transform:rotate(45deg) translateY(-2px)!important;margin:0 1px 0 3px!important;
}
body.spectrahubForum .shV97PrefixToggle[aria-expanded="true"] .shV120PrefixChevron {transform:rotate(225deg) translateY(-1px)!important;}
body.spectrahubForum .shV97PrefixTag{
  box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;
  justify-content:center!important;max-width:100%!important;min-width:0!important;
  border-radius:4px!important;border:0!important;
  padding:5px 8px!important;min-height:25px!important;
  background:#687887!important;color:#fff!important;
  font:800 14px/1.15 system-ui,Arial,sans-serif!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
body.spectrahubForum .shV97PrefixTag[style]{
  background:var(--sh-prefix-color,#3389d9)!important;
  color:var(--sh-prefix-text,#fff)!important;
}
body.spectrahubForum .shV97PrefixMenu,
body.spectrahubForum .shV97InlineTopic .shV97PrefixMenu {
  box-sizing:border-box!important;display:block!important;
  position:absolute!important;top:calc(100% + 6px)!important;left:0!important;right:auto!important;
  width:min(284px,calc(100vw - 34px))!important;min-width:210px!important;
  max-width:calc(100vw - 34px)!important;max-height:min(326px,55dvh)!important;
  overflow-x:hidden!important;overflow-y:auto!important;
  border:1px solid #6d7f90!important;border-radius:7px!important;
  background:#39424b!important;padding:5px!important;z-index:39000!important;
  box-shadow:0 12px 30px rgba(7,13,20,.37)!important;
}
body.spectrahubForum .shV97PrefixMenu[hidden]{display:none!important;}
body.spectrahubForum .shV120PrefixMenuCaption{
  padding:9px 9px 11px!important;border-bottom:1px solid #5b6874!important;
  margin:0 0 5px!important;color:#bfcbd7!important;
  font:700 14px/1.4 system-ui,Arial,sans-serif!important;
}
body.spectrahubForum .shV97PrefixMenu>button[data-sh-prefix-option]{
  position:relative!important;display:flex!important;width:100%!important;
  align-items:center!important;gap:8px!important;min-height:42px!important;
  padding:7px 31px 7px 10px!important;margin:0!important;
  border:0!important;border-radius:4px!important;
  background:transparent!important;color:#eaf1f8!important;
  text-align:left!important;cursor:pointer!important;
}
body.spectrahubForum .shV97PrefixMenu>button[data-sh-prefix-option]:is(:hover,:focus-visible),
body.spectrahubForum .shV97PrefixMenu>button[data-sh-prefix-option][aria-selected="true"]{
  background:#536274!important;outline:0!important;
}
body.spectrahubForum .shV97PrefixMenu>button[data-sh-prefix-option][aria-selected="true"]::after{
  content:'✓'!important;position:absolute!important;right:12px!important;top:50%!important;
  transform:translateY(-50%)!important;color:#b9e5ff!important;font-size:15px!important;
}
body.spectrahubForum .shV97PrefixClear{color:#d2dce6!important;font-size:14px!important;}

/* Profile composer: identical BBCode surface and neutral input styling as the topic composer. */
body.spectrahubForum .xfProfilePostsBlock{background:#394048!important;border:1px solid #53616e!important;}
body.spectrahubForum .xfProfilePostsBlock>.xfBlockHeader {
  background:#454d56!important;color:#f4f7fa!important;border-bottom:1px solid #5a6774!important;
}
body.spectrahubForum .xfProfilePostForm.shV120ProfileComposer {
  padding:12px 14px!important;border:0!important;border-bottom:1px solid #5b6771!important;
  margin:0!important;background:#3c434b!important;border-radius:0!important;
}
body.spectrahubForum .shV120ProfileComposerRow {
  display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;
  gap:12px!important;align-items:start!important;max-width:100%!important;min-width:0!important;
}
body.spectrahubForum .shV120ProfileComposerAvatar {
  display:grid!important;place-items:center!important;overflow:hidden!important;
  border:1px solid #697986!important;border-radius:50%!important;
  width:40px!important;height:40px!important;min-width:40px!important;
  background:#546677!important;color:#fff!important;
  font-size:14px!important;font-weight:800!important;
}
body.spectrahubForum .shV120ProfileComposerAvatar img{width:100%!important;height:100%!important;object-fit:cover!important;}
body.spectrahubForum .shV120ProfileComposerFields{min-width:0!important;max-width:100%!important;}
body.spectrahubForum .shV120ProfileComposer .shV96ProfilePrompt {
  display:flex!important;align-items:center!important;gap:10px!important;
  width:100%!important;min-height:41px!important;height:41px!important;
  padding:9px 12px!important;margin:0!important;
  border:1px solid #677889!important;border-radius:6px!important;
  background:#303941!important;color:#c4d0db!important;
  box-shadow:none!important;font:500 14px/1.4 system-ui,Arial,sans-serif!important;
  text-align:left!important;
}
body.spectrahubForum .shV120ProfileComposer .shV96ProfilePrompt:is(:hover,:focus-visible) {
  border-color:#67acfa!important;background:#36424d!important;outline:0!important;
}
body.spectrahubForum .shV120ProfileComposer .shV96ProfilePrompt .shFa img {
  width:15px!important;height:15px!important;filter:brightness(0) invert(1)!important;
}
body.spectrahubForum .shV120ProfileComposer.is-open .shV96ProfilePrompt{display:none!important;}
body.spectrahubForum .shV120ProfileComposer .shV96ProfileExpanded {
  min-width:0!important;max-width:100%!important;
}
body.spectrahubForum .shV120ProfileComposer .shXfEditorShell,
body.spectrahubForum .shV97InlineTopic .shXfEditorShell{
  --sh-editor-min:132px!important;
  box-sizing:border-box!important;width:100%!important;max-width:100%!important;
  border:1px solid #6b7b89!important;border-radius:7px!important;
  background:#3d454d!important;overflow:visible!important;
}
body.spectrahubForum .shV120ProfileComposer .shXfEditorShell {--sh-editor-min:122px!important;}
body.spectrahubForum :is(.shV97InlineTopic,.shV120ProfileComposer) .shXfEditorShell :is(.fr-toolbar,.shXfFallbackTools) {
  background:#454e58!important;color:#eef4fa!important;border-color:#697785!important;
  border-radius:6px 6px 0 0!important;
}
body.spectrahubForum :is(.shV97InlineTopic,.shV120ProfileComposer) .shXfEditorShell :is(.fr-wrapper,.fr-element,.shXfVisualHost[contenteditable="true"],.shXfBbcodeArea){
  background:#39434c!important;color:#f1f5fa!important;
}
body.spectrahubForum .shV120ProfileComposer .shXfEditorShell :is(.fr-wrapper,.fr-element,.shXfVisualHost[contenteditable="true"]){
  min-height:122px!important;max-height:420px!important;
}
body.spectrahubForum .shV120ProfileComposer .xfProfileComposerActions {
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  gap:8px!important;flex-wrap:wrap!important;margin:0!important;
  padding-top:11px!important;
}
body.spectrahubForum .shV120ProfileComposer .xfProfileComposerActions .shUIButton {
  min-height:36px!important;font-size:14px!important;
}
body.spectrahubForum :is(.shV97InlineTopic,.shV120ProfileComposer) .shXfEditorShell .shFa img {
  filter:brightness(0) invert(1)!important;
}
body.spectrahubForum .shV120ProfileComposer .shXfEditorShell :is(.fr-toolbar,.shXfFallbackTools) button img{
  filter:brightness(0) invert(1)!important;
}
/* Non-editor form fields (search, account, full topic) use one consistent neutral surface. */
body.spectrahubForum :is(.formCard,.shMemberSearch,.shUIAdvancedSearch,.shV97ModManage) :is(input[type="text"],input[type="search"],input[type="email"],input[type="password"],select):not(.shXfEditor),
body.spectrahubForum .shV97FullTitleLine > input{
  color:#f3f7fc!important;border-color:#677889!important;box-shadow:none!important;
}
body.spectrahubForum :is(.formCard,.shMemberSearch,.shUIAdvancedSearch,.shV97ModManage) :is(input,select,textarea):not(.shXfEditor):focus-visible{
  outline:2px solid rgba(95,177,251,.38)!important;outline-offset:0!important;
}

@media(max-width:760px){
  body.spectrahubForum >footer.shV120SiteFooter{padding:22px 0 26px!important;}
  body.spectrahubForum .shV120FooterInner{
    flex-direction:column!important;justify-content:center!important;align-items:center!important;
    gap:17px!important;width:calc(100% - 32px)!important;
  }
  body.spectrahubForum .shV120FooterLogo{
    flex:0 0 auto!important;width:208px!important;max-width:70vw!important;align-self:center!important;
  }
  body.spectrahubForum .shV120FooterLogo img{max-width:100%!important;object-position:center!important;}
  body.spectrahubForum .shV120FooterContent{
    align-items:center!important;justify-content:center!important;gap:13px!important;width:100%!important;
  }
  body.spectrahubForum .shV120FooterNav{justify-content:center!important;gap:9px 18px!important;}
  body.spectrahubForum .shV120FooterNav :is(a,button.shCookieFooterLink){font-size:14px!important;line-height:1.6!important;}
  body.spectrahubForum .shV120FooterCredit{
    text-align:center!important;font-size:14px!important;line-height:1.5!important;
  }
  body.spectrahubForum .shV97InlineTopic{padding:12px 10px!important;}
  body.spectrahubForum .shV97InlineTopic .shV96InlineTopicTop{
    grid-template-columns:34px minmax(0,1fr)!important;gap:8px!important;
  }
  body.spectrahubForum .shV97InlineTopic .shV96TopicAvatar{
    width:34px!important;min-width:34px!important;height:34px!important;
  }
  body.spectrahubForum .shV97InlineTopic .shV100TitlePrefix,
  body.spectrahubForum .shV97FullTitleLine>.shV97Prefix{max-width:min(152px,48%)!important;}
  body.spectrahubForum .shV97PrefixToggle,
  body.spectrahubForum .shV97InlineTopic .shV100TitlePrefix .shV97PrefixToggle{
    padding:5px 7px!important;font-size:14px!important;gap:4px!important;
  }
  body.spectrahubForum .shV97PrefixTag{max-width:100%!important;font-size:14px!important;padding:4px 6px!important;}
  body.spectrahubForum .shV97InlineTopic .shV97TitleLine>.shV96TopicTitle,
  body.spectrahubForum .shV97FullTitleLine>input{font-size:14px!important;padding:8px 9px!important;}
  body.spectrahubForum .shV120ProfileComposerRow{grid-template-columns:32px minmax(0,1fr)!important;gap:8px!important;}
  body.spectrahubForum .shV120ProfileComposerAvatar{width:32px!important;height:32px!important;min-width:32px!important;}
  body.spectrahubForum .xfProfilePostForm.shV120ProfileComposer{padding:11px 9px!important;}
  body.spectrahubForum .shV120ProfileComposer .xfProfileComposerActions .shUIButton{min-width:0!important;}
}
@media(max-width:420px){
  body.spectrahubForum .shV97PrefixToggle,
  body.spectrahubForum .shV97InlineTopic .shV100TitlePrefix .shV97PrefixToggle {padding:5px!important;}
  body.spectrahubForum .shV97InlineTopic .shV100TitlePrefix,
  body.spectrahubForum .shV97FullTitleLine>.shV97Prefix{max-width:min(132px,47%)!important;}
  body.spectrahubForum .shV120FooterNav{column-gap:14px!important;}
}
/* Older responsive forum styles globally turn <nav> into a fixed-width floating drawer.
   Explicitly isolate the new semantic footer navigation from that legacy selector. */
body.spectrahubForum footer.shV120SiteFooter nav.shV120FooterNav {
  position:static!important;inset:auto!important;z-index:auto!important;
  width:auto!important;max-width:100%!important;min-width:0!important;height:auto!important;
  min-height:0!important;margin:0!important;padding:0!important;
  background:transparent!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;transform:none!important;
}
body.spectrahubForum .shV120ProfileComposer .shV96ProfilePrompt>span:not(.shFa){
  display:inline!important;font:500 14px/1.4 system-ui,Arial,sans-serif!important;
  color:#c4d0db!important;letter-spacing:0!important;
}
body.spectrahubForum footer.shV120SiteFooter nav.shV120FooterNav{
  flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;
  justify-content:flex-end!important;row-gap:8px!important;column-gap:20px!important;
}
@media(max-width:760px){
  body.spectrahubForum footer.shV120SiteFooter nav.shV120FooterNav{
    flex-direction:row!important;justify-content:center!important;row-gap:9px!important;
    column-gap:18px!important;
  }
}


/* V120.1 – NO NESTED EDITOR CARD.
   The profile post / quick-topic form is already a card. The editor must be
   one continuous toolbar → typing surface → attachments inside that card,
   not an extra card with pseudo-element outlines from V61/V62. */
body.spectrahubForum :is(.shV120ProfileComposer,.shV97InlineTopic) .shXfEditorShell {
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #718291!important;
  border-radius:9px!important;
  box-shadow:none!important;
  outline:0!important;
  background:#39434c!important;
  overflow:visible!important;
}
body.spectrahubForum :is(.shV120ProfileComposer,.shV97InlineTopic) .shXfEditorShell::before,
body.spectrahubForum :is(.shV120ProfileComposer,.shV97InlineTopic) .shXfEditorShell::after {
  display:none!important;
  content:none!important;
  border:0!important;
}
/* Reset legacy 6px editor indents on mobile; the composer owns spacing. */
body.spectrahubForum :is(.shV120ProfileComposer,.shV97InlineTopic) .shXfEditorShell .fr-box,
body.spectrahubForum :is(.shV120ProfileComposer,.shV97InlineTopic) .shXfEditorShell .fr-box.fr-basic{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  margin:0!important;
}
body.spectrahubForum :is(.shV120ProfileComposer,.shV97InlineTopic) .shXfEditorShell :is(.fr-toolbar,.shXfFallbackTools) {
  border:0!important;
  border-bottom:1px solid #667583!important;
  border-radius:8px 8px 0 0!important;
  box-shadow:none!important;
  background:#454e58!important;
  margin:0!important;
}
body.spectrahubForum :is(.shV120ProfileComposer,.shV97InlineTopic) .shXfEditorShell :is(.fr-wrapper,.fr-element,.shXfVisualHost[contenteditable="true"],.shXfBbcodeArea) {
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:#39434c!important;
  color:#f1f5fa!important;
}
body.spectrahubForum :is(.shV120ProfileComposer,.shV97InlineTopic) .shXfEditorShell .shXfAttachmentArea,
body.spectrahubForum :is(.shV120ProfileComposer,.shV97InlineTopic) .shXfEditorShell .shXfAttachmentHead {
  border-radius:0!important;
  box-shadow:none!important;
  background:#3d454d!important;
}
body.spectrahubForum .xfProfilePostForm.shV120ProfileComposer {
  background:#394048!important;
  border-radius:0!important;
}


/* V120.2 – exactly ONE visible editor outline, shared by toolbar + text + attachments. */
body.spectrahubForum :is(.shV120ProfileComposer,.shV97InlineTopic) .shXfEditorShell > .shXfAttachmentArea {
  border-radius:0 0 8px 8px!important;
  overflow:hidden!important;
}
body.spectrahubForum :is(.shV120ProfileComposer,.shV97InlineTopic) .shXfEditorShell > .shXfAttachmentArea .shXfAttachmentHead:last-child {
  border-radius:0 0 8px 8px!important;
}
body.spectrahubForum :is(.shV120ProfileComposer,.shV97InlineTopic) .shXfEditorShell:not(:has(> .shXfAttachmentArea)) > :is(.shXfVisualHost,.shXfBbcodeArea,.fr-wrapper) {
  border-radius:0 0 8px 8px!important;
}
