/* SpectraHub V61 - final editor corner treatment + consistent public editor cards */
body.spectrahubForum .shXfEditorShell,
body.spectrahubForum .xfProfilePostForm .shXfEditorShell,
body.spectrahubForum .xfAccountContent .shXfEditorShell,
body.spectrahubForum .composer .shXfEditorShell,
body.spectrahubForum .formCard .shXfEditorShell{
  position:relative!important;
  border:1px solid #5a636c!important;
  border-radius:16px!important;
  background:#34393f!important;
  box-shadow:none!important;
  background-clip:padding-box!important;
}
body.spectrahubForum .shXfEditorShell>.fr-box,
body.spectrahubForum .shXfEditorShell .fr-box.fr-basic{
  border:0!important;
  border-radius:15px!important;
  background:#34393f!important;
  box-shadow:none!important;
  background-clip:padding-box!important;
}
body.spectrahubForum .shXfEditorShell .fr-toolbar,
body.spectrahubForum .shXfEditorShell>.shXfFallbackTools{
  border-radius:15px 15px 0 0!important;
  border-top-left-radius:15px!important;
  border-top-right-radius:15px!important;
  background-clip:padding-box!important;
}
body.spectrahubForum .shXfEditorShell .fr-wrapper,
body.spectrahubForum .shXfEditorShell>.shXfVisualHost,
body.spectrahubForum .shXfEditorShell>.shXfBbcodeArea{
  border-radius:0!important;
  background-clip:padding-box!important;
}
body.spectrahubForum .shXfEditorShell .shXfAttachmentArea{
  border-radius:0 0 15px 15px!important;
  border-bottom-left-radius:15px!important;
  border-bottom-right-radius:15px!important;
  background-clip:padding-box!important;
}
body.spectrahubForum .shXfEditorShell .shXfAttachmentArea .shXfAttachmentHead:last-child{
  border-radius:0 0 15px 15px!important;
}
body.spectrahubForum .shXfEditorShell:not(:has(.shXfAttachmentArea)) .fr-wrapper,
body.spectrahubForum .shXfEditorShell:not(:has(.shXfAttachmentArea))>.shXfVisualHost,
body.spectrahubForum .shXfEditorShell:not(:has(.shXfAttachmentArea))>.shXfBbcodeArea{
  border-radius:0 0 15px 15px!important;
}
/* Make the corners visible even when an outer card has the same background. */
body.spectrahubForum .shXfEditorShell:before{
  content:"";
  position:absolute;
  inset:-1px;
  border:1px solid #66717b;
  border-radius:16px;
  pointer-events:none;
  z-index:12;
}
body.spectrahubForum .shXfEditorShell :is(.fr-popup,.fr-dropdown-menu){z-index:12000!important}
body.spectrahubForum :is(.xfProfilePostForm,.xfAccountContent,.composer,.formCard):has(.shXfEditorShell){
  border-radius:16px!important;
}
