/* SpectraHub V99 – author-centred topic rows, consistent member information and editor menus. */
body.spectrahubForum .shV99TopicRow{cursor:default!important;min-width:0}
body.spectrahubForum .shV99TopicRow .cleanMain{min-width:0}
body.spectrahubForum .shV99TopicRow .cleanMain h3{margin:2px 0 5px!important}
body.spectrahubForum .shV99TopicTitle,body.spectrahubForum .shV99ForumNode .xfNodeMain h3 a{color:#f4f8ff!important;text-decoration:none!important}
body.spectrahubForum .shV99TopicTitle:hover,body.spectrahubForum .shV99ForumNode .xfNodeMain h3 a:hover{color:#8dc7ff!important}
body.spectrahubForum .shV99TopicAvatar,body.spectrahubForum .shV99LastAvatar{display:grid;place-items:center;width:44px;height:44px;min-width:44px;max-width:44px;overflow:hidden;border:1px solid #607487;border-radius:50%;background:#354e65;color:#fff;font-size:14px;font-weight:800;text-decoration:none!important}
body.spectrahubForum .shV99TopicAvatar img,body.spectrahubForum .shV99LastAvatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
body.spectrahubForum .shV99TopicRow .cleanMain p{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;display:flex;align-items:center;gap:5px;flex-wrap:wrap;min-width:0}
body.spectrahubForum .shV99TopicRow .shAuthorV74,body.spectrahubForum .shV99LastInfo small>a{font-size:14px;color:#b2cde8!important;text-decoration:none!important}
body.spectrahubForum .shV99TopicRow .shAuthorV74:hover,body.spectrahubForum .shV99LastInfo small>a:hover{color:#8dc7ff!important}
body.spectrahubForum .shV99TopicRow .shTopicMetaDate{font-size:14px;color:#9baaba}
body.spectrahubForum .shV99TopicRow .shV99MetaDot{color:#8b9dad}
/* Homepage: replace counters by the most recent topic, author and avatar. */
body.spectrahubForum .homeForumList .xfCategoryHead{grid-template-columns:minmax(0,1fr)!important}
body.spectrahubForum .homeForumList .xfCategoryHead .xfCatCols{display:none!important}
body.spectrahubForum .homeForumList .shV99ForumNode{grid-template-columns:45px minmax(120px,1fr) minmax(185px,250px)!important;min-height:85px!important;gap:13px!important;cursor:default!important}
body.spectrahubForum .shV99ForumNode .xfNodeIcon{border-radius:10px!important}
body.spectrahubForum .shV99ForumNode .xfNodeMain p{white-space:normal!important;line-height:1.35!important;max-height:2.7em;overflow:hidden!important}
body.spectrahubForum .shV99ForumLatest{display:flex;align-items:center;gap:10px;min-width:0;width:100%;padding:0 0 0 10px;border-left:1px solid #576571;min-height:49px}
body.spectrahubForum .shV99LastAvatar{width:38px;height:38px;min-width:38px;max-width:38px}
body.spectrahubForum .shV99LastInfo{min-width:0;flex:1;display:grid;gap:5px}
body.spectrahubForum .shV99LastInfo .shV99LastTitle{font-size:14px;color:#eff5fb!important;font-weight:750;text-decoration:none!important;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.spectrahubForum .shV99LastInfo .shV99LastTitle:hover{color:#8cc5fc!important}
body.spectrahubForum .shV99LastInfo small{font-size:14px;color:#aebccb;display:block;overflow-wrap:anywhere;line-height:1.4}
body.spectrahubForum .shV99LatestEmpty{color:#8996a3;font-size:14px}
/* The homepage contains real page rows too; keep them unchanged. */
/* Authors in threads: same identity structure for creator and every reply. */
body.spectrahubForum .postUser{min-width:0;gap:7px!important}
body.spectrahubForum .postUser .shV99MemberId{display:grid;gap:4px;justify-items:center;min-width:0;max-width:100%;width:100%;text-align:center}
body.spectrahubForum .postUser .shV99UserName{font-size:14px;color:#f2f7fd!important;text-decoration:none!important;overflow-wrap:anywhere;font-weight:800}
body.spectrahubForum .postUser .shV99UserName:hover{color:#92c9ff!important}
body.spectrahubForum .postUser .shV99RankLabel{font-size:14px;color:#a9caf0;font-weight:700;overflow-wrap:anywhere}
body.spectrahubForum .postUser .shV99CustomTitle{font-size:14px;color:#adb8c4;overflow-wrap:anywhere}
body.spectrahubForum .postUser .shV99AuthorMark{display:inline-flex;gap:5px;align-items:center;border:1px solid #527397;border-radius:6px;padding:5px 8px;background:rgba(47,138,231,.12);color:#b6dcff;font-size:14px;font-weight:750}
body.spectrahubForum .postUser .shV99AuthorMark span{font-size:14px;line-height:1}
body.spectrahubForum .postUser .shV99MemberNumbers{margin:10px 0 0;padding-top:9px;border-top:1px solid #535e69;width:100%;display:grid;gap:6px;font-size:14px}
body.spectrahubForum .postUser .shV99MemberNumbers>div{display:flex;justify-content:space-between;align-items:baseline;gap:8px;min-width:0}
body.spectrahubForum .postUser .shV99MemberNumbers dt{color:#adbac9}
body.spectrahubForum .postUser .shV99MemberNumbers dd{margin:0;text-align:right;color:#f1f6fd;font-weight:750;overflow-wrap:anywhere}
body.spectrahubForum .xfMemberMeta{display:flex!important;align-items:center;gap:10px 18px!important;flex-wrap:wrap!important;max-width:100%;line-height:1.5}
body.spectrahubForum .xfMemberMeta span{white-space:nowrap}
body.spectrahubForum .shMemberCardStatsV76{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important}
body.spectrahubForum .shMemberCardStatV76{min-width:0}
body.spectrahubForum .shMemberCardStatV76 span{font-size:14px;overflow-wrap:anywhere}
/* Transparent monochrome icon controls; blue only marks the currently selected command. */
body.spectrahubForum .shXfEditorShell .fr-toolbar .fr-command.fr-btn:not(.fr-active):not(:hover):not(:focus-visible),
body.spectrahubForum .shXfEditorShell .shXfFallbackTools .shXfFallbackButton:not(.is-open):not(:hover){background:transparent!important;background-color:transparent!important;box-shadow:none!important;border-color:transparent!important}
body.spectrahubForum .shXfEditorShell .fr-toolbar .fr-command.fr-btn img,
body.spectrahubForum .shXfEditorShell .shXfFallbackTools .shXfFallbackButton img{filter:brightness(0) invert(1)!important}
body.spectrahubForum .shXfEditorShell .fr-toolbar .fr-command.fr-btn:hover,
body.spectrahubForum .shXfEditorShell .shXfFallbackTools .shXfFallbackButton:hover{background:#505862!important}
/* Dropdowns have an opaque, consistent background and always stay within screen limits. */
body.spectrahubForum .shXfEditorShell .fr-dropdown-menu,
body.spectrahubForum .shXfEditorShell .fr-dropdown-wrapper,
body.spectrahubForum .shXfEditorShell .fr-dropdown-content,
body.spectrahubForum .shXfEditorShell .shXfFallbackMenu,
body.spectrahubAdmin .shXfEditorShell .fr-dropdown-menu,
body.spectrahubAdmin .shXfEditorShell .shXfFallbackMenu{background:#35404b!important;color:#f2f7fb!important;border-color:#67788b!important;box-shadow:0 18px 48px rgba(0,0,0,.49)!important;max-height:min(400px,65dvh)!important;overscroll-behavior:contain!important}
body.spectrahubForum .shXfEditorShell .fr-dropdown-list,
body.spectrahubForum .shXfEditorShell .fr-dropdown-list li,
body.spectrahubForum .shXfEditorShell .fr-dropdown-list li a{background-color:#35404b!important}
body.spectrahubForum .shXfEditorShell .fr-dropdown-list li a:is(:hover,:focus-visible){background-color:#536b81!important}
body.spectrahubForum .shXfEditorShell .shXfFontMenu,
body.spectrahubForum .shXfEditorShell .shXfSizeMenu{max-height:min(360px,54dvh)!important;overflow-y:auto!important}
body.spectrahubForum .shXfEditorShell .shXfColorMenu{width:min(320px,calc(100vw - 24px))!important}
body.spectrahubForum .shXfEditorShell .shXfColorGrid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:5px!important}
body.spectrahubForum .shXfEditorShell .shXfColorChoice{width:38px!important;min-width:0!important;height:35px!important;justify-self:center!important;border-radius:5px!important}
body.spectrahubForum .shXfEditorShell .shXfColorName{display:none!important}
body.spectrahubForum .shXfEditorShell .shXfColorCustom{display:block!important;padding:9px 10px!important;color:#dce9fa!important}
body.spectrahubForum .shXfEditorShell .shXfFallbackMenu.shV99ColorPalette{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:4px!important;padding:9px!important;width:260px!important;max-width:calc(100vw - 30px)!important}
body.spectrahubForum .shXfEditorShell .shXfFallbackMenu.shV99ColorPalette:not(.is-open){display:none!important}
body.spectrahubForum .shXfEditorShell .shXfFallbackMenu.shV99ColorPalette .shXfFallbackColorItem{display:grid!important;place-items:center!important;padding:5px!important;min-width:0!important;width:100%!important;height:38px!important}
body.spectrahubForum .shXfEditorShell .shXfFallbackMenu.shV99ColorPalette .shXfFallbackColorItem>span:last-child{display:none!important}
body.spectrahubForum .shXfEditorShell .shXfFallbackMenu.shV99ColorPalette .shXfFallbackMenuItem:not(.shXfFallbackColorItem){grid-column:1/-1!important}
body.spectrahubForum .shXfEditorShell .shXfFallbackMenu.shV99ColorPalette .shXfColorSwatch{width:27px!important;height:27px!important;min-width:27px!important}
body.spectrahubForum .shXfEditorShell .shXfFallbackMenu:not(.shV99ColorPalette){max-width:min(295px,calc(100vw - 28px))!important}
/* Keep the inline composer completely collapsed until the title field is activated. */
body.spectrahubForum .shV97InlineTopic:not(.is-open) [data-sh-inline-expanded]{display:none!important}
body.spectrahubForum .shV97InlineTopic.is-open [data-sh-inline-expanded]{display:block!important}
body.spectrahubForum .shV97InlineTopic .shV96TopicTitle{font-weight:500!important;text-align:left!important;background:transparent!important}
body.spectrahubForum :is(.shV97InlineTopic,.xfProfilePostForm) .shXfEditorShell{overflow:visible!important;max-width:100%!important}
@media(max-width:980px){
 body.spectrahubForum .homeForumList .shV99ForumNode{grid-template-columns:45px minmax(0,1fr)!important}
 body.spectrahubForum .homeForumList .shV99ForumNode .shV99ForumLatest{grid-column:2;max-width:100%;border-left:0;border-top:1px solid #536270;padding:10px 0 0}
}
@media(max-width:650px){
 body.spectrahubForum .shV99TopicRow{grid-template-columns:44px minmax(0,1fr)!important;gap:10px!important;padding:12px!important}
 body.spectrahubForum .shV99TopicRow .cleanStat{display:none!important}
 body.spectrahubForum .postUser .shV99MemberNumbers{max-width:260px;margin:8px auto 0}
 body.spectrahubForum .shXfEditorShell .fr-dropdown-menu{max-width:calc(100vw - 20px)!important}
}
/* Global white FA glyphs have NO coloured blue tile or icon-only padding. */
body.spectrahubForum .shFa{background:transparent!important;background-color:transparent!important;padding:0!important;box-shadow:none!important;border:0!important;border-radius:0!important}
body.spectrahubForum .shFa img{filter:brightness(0) invert(1)!important;opacity:1!important}
