/* SpectraHub V107: compact topic action buttons and full-width signature divider.
   Loaded AFTER V106 so previous important declarations cannot reintroduce
   joined square buttons or the old dashed, short signature rule. */
body.spectrahubForum.shThreadPageV106 .shV107TopicToolbar{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  flex-wrap:wrap!important;gap:10px!important;
  width:100%!important;max-width:100%!important;
  margin:12px 0 14px!important;padding:0!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
  position:relative!important;z-index:40!important;overflow:visible!important;
}
body.spectrahubForum.shThreadPageV106 .shV107TopicToolbar .shV107ReaderControls{
  display:inline-flex!important;flex-wrap:wrap!important;align-items:center!important;
  justify-content:flex-end!important;gap:8px!important;
}
body.spectrahubForum.shThreadPageV106 .shV107TopicToolbar form{margin:0!important;display:flex!important}
body.spectrahubForum.shThreadPageV106 .shV107TopicToolbar .shV106Action,
body.spectrahubForum.shThreadPageV106 .shV107TopicToolbar .shV107ModMenu>summary{
  appearance:none!important;-webkit-appearance:none!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:8px!important;width:auto!important;max-width:100%!important;
  height:36px!important;min-height:36px!important;
  padding:0 13px!important;margin:0!important;
  border-radius:9px!important;border:1px solid #596674!important;
  background:#3a424c!important;color:#e3edf8!important;
  box-shadow:0 1px 0 rgba(0,0,0,.1)!important;
  font:650 14px/1.25 system-ui,Arial,sans-serif!important;
  text-decoration:none!important;white-space:nowrap!important;letter-spacing:0!important;
  cursor:pointer!important;transition:background .14s ease,border-color .14s ease!important;
}
body.spectrahubForum.shThreadPageV106 .shV107TopicToolbar .shV106Action:hover,
body.spectrahubForum.shThreadPageV106 .shV107TopicToolbar .shV107ModMenu>summary:hover{
  background:#485669!important;border-color:#80a8d1!important;color:#fff!important;
}
body.spectrahubForum.shThreadPageV106 .shV107TopicToolbar .shV106Action:focus-visible,
body.spectrahubForum.shThreadPageV106 .shV107TopicToolbar .shV107ModMenu>summary:focus-visible{
  outline:2px solid #8dc6ff!important;outline-offset:2px!important;
}
body.spectrahubForum.shThreadPageV106 .shV107TopicToolbar .shV106Action.is-active{
  background:#2e4762!important;border-color:#577fa6!important;color:#d7eaff!important;
}
body.spectrahubForum.shThreadPageV106 .shV107TopicToolbar .shFa,
body.spectrahubForum.shThreadPageV106 .shV107TopicToolbar .shFa img{
  width:14px!important;height:14px!important;flex:0 0 14px!important;
}
body.spectrahubForum.shThreadPageV106 .shV107TopicToolbar .shV106BookmarkLabel{
  display:inline!important;max-width:none!important;white-space:nowrap!important;font-size:14px!important;
}
body.spectrahubForum.shThreadPageV106 .shV107TopicToolbar .shV107ModMenu{
  display:inline-block!important;position:relative!important;margin-left:4px!important;
}
body.spectrahubForum.shThreadPageV106 .shV107TopicToolbar .shV107ModMenu>summary{
  border-color:#637789!important;background:#344b62!important;
  list-style:none!important;
}
body.spectrahubForum.shThreadPageV106 .shV107TopicToolbar .shV107ModMenu>summary::-webkit-details-marker{display:none!important}
body.spectrahubForum.shThreadPageV106 .shV107TopicToolbar .shV107ModMenu[open]>summary{
  background:#4c6785!important;border-color:#91bce6!important;color:#fff!important;
}
body.spectrahubForum.shThreadPageV106 .shV107TopicToolbar .shV106Chevron{
  margin-left:4px!important;font-size:16px!important;line-height:1!important;
}
body.spectrahubForum.shThreadPageV106 .shV107TopicToolbar .shV106ModDropdown{
  top:calc(100% + 8px)!important;right:0!important;
  min-width:216px!important;width:216px!important;max-width:min(280px,calc(100vw - 30px))!important;
  padding:7px!important;border:1px solid #596a7a!important;border-radius:10px!important;
  background:#343f4c!important;box-shadow:0 12px 30px rgba(0,0,0,.35)!important;
  z-index:21000!important;
}
body.spectrahubForum.shThreadPageV106 .shV107TopicToolbar .shV106ModDropdown :is(a,button){
  border-radius:6px!important;min-height:36px!important;
  padding:9px 12px!important;
}
body.spectrahubForum.shThreadPageV106 .shV107TopicToolbar .shV106ModDropdown :is(a,button):hover{
  background:#536b82!important;
}
/* Show the topic report link only in the message footer, alongside reactions.
   There is already a report action in dmrp_reaction_bar() for each post. */
body.spectrahubForum.shThreadPageV106 .post:not(.pmPost) .postContent{
  min-width:0!important;
}
/* Solid divider extends to the ENTIRE message column, not a 70%-wide dashed line. */
body.spectrahubForum.shThreadPageV106 .post:not(.pmPost) .postContent>.signature.shV107Signature{
  box-sizing:border-box!important;position:relative!important;
  display:block!important;clear:both!important;
  width:100%!important;max-width:none!important;min-width:0!important;
  flex:0 0 100%!important;grid-column:1 / -1!important;
  margin:24px 0 0!important;padding:19px 0 5px!important;
  border:0!important;border-top:1px solid #68727d!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
  min-height:0!important;max-height:none!important;overflow:visible!important;
  color:#bfcad7!important;font-size:14px!important;line-height:1.5!important;
  text-align:center!important;
}
body.spectrahubForum.shThreadPageV106 .post:not(.pmPost) .postContent>.signature.shV107Signature::before,
body.spectrahubForum.shThreadPageV106 .post:not(.pmPost) .postContent>.signature.shV107Signature::after{
  content:none!important;display:none!important;
}
body.spectrahubForum.shThreadPageV106 .post:not(.pmPost) .shV107SignatureContent{
  display:block!important;width:100%!important;max-width:100%!important;
  margin:0!important;padding:0!important;
  text-align:center!important;overflow-wrap:anywhere!important;
}
body.spectrahubForum.shThreadPageV106 .post:not(.pmPost) .shV107SignatureContent img{
  max-width:100%!important;height:auto!important;object-fit:contain!important;
}
/* The post footer spans the full width below the signature, as in the reference. */
body.spectrahubForum.shThreadPageV106 .post:not(.pmPost) .postContent>.shReactionBar{
  box-sizing:border-box!important;width:100%!important;max-width:none!important;
  flex:0 0 100%!important;grid-column:1 / -1!important;
  display:flex!important;align-items:center!important;
  margin:18px 0 0!important;padding:10px 0 0!important;
  border-top:1px solid #55616b!important;
  border-bottom:0!important;min-height:42px!important;
}
@media(max-width:690px){
  body.spectrahubForum.shThreadPageV106 .shV107TopicToolbar{justify-content:flex-start!important;gap:8px!important}
  body.spectrahubForum.shThreadPageV106 .shV107TopicToolbar .shV107ReaderControls{justify-content:flex-start!important;gap:6px!important}
  body.spectrahubForum.shThreadPageV106 .shV107TopicToolbar .shV106Action,
  body.spectrahubForum.shThreadPageV106 .shV107TopicToolbar .shV107ModMenu>summary{
    height:34px!important;min-height:34px!important;padding:0 9px!important;font-size:14px!important;
  }
  body.spectrahubForum.shThreadPageV106 .shV107TopicToolbar .shV106BookmarkLabel{font-size:14px!important}
  body.spectrahubForum.shThreadPageV106 .shV107TopicToolbar .shV107ModMenu{margin-left:0!important}
}
/* Keep the breadcrumb compact on mobile; generic mobile nav rules must not turn
   it into a full-width popup or vertical navigation. */
@media(max-width:780px){
  body.spectrahubForum.shThreadPageV106 .shV106ThreadBreadcrumb{
    position:static!important;display:flex!important;flex-direction:row!important;
    align-items:center!important;justify-content:flex-start!important;
    flex-wrap:wrap!important;gap:4px 8px!important;width:100%!important;
    margin:0!important;padding:0!important;min-height:0!important;
    background:transparent!important;border:0!important;border-radius:0!important;
    box-shadow:none!important;transform:none!important;
  }
  body.spectrahubForum.shThreadPageV106 .shV106ThreadBreadcrumb a,
  body.spectrahubForum.shThreadPageV106 .shV106ThreadBreadcrumb strong,
  body.spectrahubForum.shThreadPageV106 .shV106ThreadBreadcrumb span{
    position:static!important;display:inline!important;flex:none!important;
    width:auto!important;max-width:100%!important;min-height:0!important;height:auto!important;
    padding:0!important;margin:0!important;border:0!important;border-radius:0!important;
    background:transparent!important;box-shadow:none!important;
    font-size:14px!important;font-weight:500!important;line-height:1.5!important;
    white-space:normal!important;overflow-wrap:anywhere!important;
  }
  body.spectrahubForum.shThreadPageV106 .shV106ThreadBreadcrumb strong{font-weight:650!important}
}
