/* V24 front-end fixes: XenForo-like profile posts and compact profile composer. */
body.spectrahubForum .xfProfilePostsBlock{overflow:visible!important}
body.spectrahubForum .xfProfilePostForm{padding:15px 18px 17px!important;background:#3a3f45!important;border-bottom:1px solid #555d65!important}
body.spectrahubForum .xfProfileComposerTitle{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:9px}
body.spectrahubForum .xfProfileComposerTitle strong{color:#eef1f3;font-size:14px}
body.spectrahubForum .xfProfileComposerTitle span{color:#9ca7b0;font-size:14px}
body.spectrahubForum .xfProfileComposerActions{display:flex;justify-content:flex-end;margin-top:10px}
body.spectrahubForum .xfProfilePost{display:grid!important;grid-template-columns:46px minmax(0,1fr)!important;gap:12px!important;padding:15px 18px!important;background:#373c42!important;border-bottom:1px solid #505861!important;line-height:1.45!important}
body.spectrahubForum .xfProfilePost:last-child{border-bottom:0!important}
body.spectrahubForum .xfMiniAvatar{position:relative!important;display:grid!important;place-items:center!important;width:44px!important;height:44px!important;overflow:hidden!important;border:1px solid #5b6570!important;border-radius:50%!important;background:#263b4c!important;color:#e8eef3!important;text-decoration:none!important}
body.spectrahubForum .xfMiniAvatar .xfAvatarFallback{position:absolute;inset:0;display:grid;place-items:center;font-size:15px;font-weight:800;color:#e9eff4}
body.spectrahubForum .xfMiniAvatar img{position:relative!important;z-index:1!important;display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;background:#263b4c!important}
body.spectrahubForum .xfProfilePostMain{min-width:0}
body.spectrahubForum .xfProfilePostHead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:7px}
body.spectrahubForum .xfProfilePostHead>div{display:flex;align-items:center;gap:7px;min-width:0;flex-wrap:wrap}
body.spectrahubForum .xfProfilePostUser{color:#e8edf1!important;font-size:14px;font-weight:800;text-decoration:none!important}
body.spectrahubForum .xfProfilePostUser:hover{color:#79c2f4!important}
body.spectrahubForum .xfProfilePostRank{display:inline-flex;align-items:center;min-height:20px;padding:2px 6px;border:1px solid #5c6670;border-radius:999px;background:#30363b;color:#b8c2ca;font-size:14px;font-weight:700}
body.spectrahubForum .xfProfilePostHead time{flex:0 0 auto;color:#8f9ba4;font-size:14px;white-space:nowrap}
body.spectrahubForum .xfProfilePostBody{min-width:0;color:#e0e5e9!important;font-size:14px;overflow-wrap:anywhere}
body.spectrahubForum .xfProfilePostBody>*:first-child{margin-top:0!important}
body.spectrahubForum .xfProfilePostBody>*:last-child{margin-bottom:0!important}
body.spectrahubForum .xfProfilePostFoot{display:flex;align-items:center;gap:12px;margin-top:10px;padding-top:8px;border-top:1px solid #4a525a}
body.spectrahubForum .xfProfilePostFoot a{color:#9eb1bf!important;font-size:14px;text-decoration:none!important}
body.spectrahubForum .xfProfilePostFoot a:hover{color:#73bdf0!important}
body.spectrahubForum .xfProfileEmpty{padding:18px!important;color:#aab5bd!important}
body.spectrahubForum .xfProfilePostForm .shXfEditorShell{margin-bottom:0!important}
@media(max-width:620px){body.spectrahubForum .xfProfileComposerTitle{align-items:flex-start;flex-direction:column;gap:3px}body.spectrahubForum .xfProfilePost{grid-template-columns:38px minmax(0,1fr)!important;padding:12px!important;gap:9px!important}body.spectrahubForum .xfMiniAvatar{width:38px!important;height:38px!important}body.spectrahubForum .xfProfilePostHead{flex-direction:column;gap:2px}body.spectrahubForum .xfProfileComposerActions{justify-content:flex-start}}


/* V32 – compact XenForo/UI.X-like home, profile menu, messages and modern thread options */
body.spectrahubForum .shHeaderProfileWrap{position:relative;display:flex;align-items:stretch}
body.spectrahubForum .shHeaderProfileWrap>.shHeaderProfile{height:100%}
body.spectrahubForum .shHeaderProfileMenu{position:absolute;right:0;top:calc(100% + 7px);z-index:220;display:none;width:220px;padding:6px;background:#34393f;border:1px solid #5a6168;border-radius:4px;box-shadow:0 12px 30px rgba(0,0,0,.32)}
body.spectrahubForum .shHeaderProfileMenu:before{content:"";position:absolute;left:0;right:0;top:-9px;height:9px;background:transparent}
body.spectrahubForum .shHeaderProfileWrap:hover .shHeaderProfileMenu,body.spectrahubForum .shHeaderProfileWrap:focus-within .shHeaderProfileMenu,body.spectrahubForum .shHeaderProfileWrap.is-menu-open .shHeaderProfileMenu{display:grid}
body.spectrahubForum .shHeaderProfileMenu a{display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:3px;color:#e7eaed;text-decoration:none;font-size:14px;font-weight:650}
body.spectrahubForum .shHeaderProfileMenu a:hover{background:#454b51}.shHeaderProfileMenu .shFa{width:16px}.shHeaderProfileMenu .shFa img{width:14px;height:14px}.shHeaderProfileMenu a.is-danger{color:#ffb6b6}
body.spectrahubForum .shHomeV32{align-items:start}.shHomeV32 .homeForumList{min-width:0}.shHomeV32 .xfCategory,.shHomeV32 .forumSectionClean{margin-bottom:14px!important}.shKnowledgeInline .xfCategoryHead{border-bottom:1px solid #555d65}.shKnowledgeRows{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:0!important}.shKnowledgeRows .shPageLink{border-radius:0!important;border:0!important;border-bottom:1px solid #505860!important;background:#383d43!important}.shKnowledgeRows .shPageLink:nth-child(odd){border-right:1px solid #505860!important}
body.spectrahubForum .shHomeSidebar{display:grid;gap:12px}.shHomeSidebar .sideCard{margin:0!important;padding:0!important;border-radius:4px!important;background:#383d43!important;border:1px solid #555d65!important;box-shadow:none!important;overflow:hidden}.shSideTitle{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;background:#34393f;border-bottom:1px solid #555d65}.shSideTitle h3,.shOnlineStatsCard>h3{font-size:14px!important;margin:0!important;color:#f0f2f4}.shSideTitle b{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#444a50;border:1px solid #646c74;color:#dfe4e8;font-size:14px}.shOnlineNames{padding:12px 13px;color:#9eabb5;font-size:14px;line-height:1.75;overflow-wrap:anywhere}.shOnlineNames a{color:#dce7ef;text-decoration:none;font-weight:700}.shOnlineNames a:hover{color:#73bdf0}.shOnlineSummary{padding:9px 13px;border-top:1px solid #50585f;background:#353a40;color:#9faab3;font-size:14px}.shOnlineStatsCard>h3{padding:11px 13px;background:#34393f;border-bottom:1px solid #555d65}.shOnlineStatsCard dl{margin:0;padding:0}.shOnlineStatsCard dl>div{display:flex;align-items:center;justify-content:space-between;padding:10px 13px;border-bottom:1px solid #50585f}.shOnlineStatsCard dt{color:#b9c1c8;font-size:14px}.shOnlineStatsCard dd{margin:0;color:#fff;font-weight:800;font-size:14px}.shOnlineStatsCard>p{margin:0;padding:9px 13px;color:#8f9aa3;font-size:14px}.shActivityList{display:grid}.shActivityItem{display:grid;grid-template-columns:36px minmax(0,1fr);gap:9px;padding:10px 12px;border-bottom:1px solid #50585f;color:#e8ecef;text-decoration:none}.shActivityItem:last-child{border-bottom:0}.shActivityItem:hover{background:#40464c}.shActivityAvatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;overflow:hidden;background:#2b4051;border:1px solid #606a72;color:#fff;font-size:14px;font-weight:800}.shActivityAvatar img{width:100%;height:100%;object-fit:cover}.shActivityText{display:grid;gap:2px;min-width:0}.shActivityText strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.shActivityText small{color:#aeb7bf;font-size:14px}.shActivityText em{color:#79b9e9;font-style:normal;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shHomeSidebar .shOnlineEmpty{padding:12px 13px!important;margin:0!important;color:#9ba5ad!important;font-size:14px!important}
.shThreadOptionGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0}.shModernCheck{position:relative;display:grid!important;grid-template-columns:36px minmax(0,1fr);gap:10px;align-items:center;margin:0!important;padding:11px 12px!important;background:#343a40!important;border:1px solid #555e66!important;border-radius:4px!important;cursor:pointer}.shModernCheck input{position:absolute;opacity:0;pointer-events:none}.shModernCheckUi{position:relative;width:32px;height:18px;border-radius:999px;background:#252a2f;border:1px solid #656e76;transition:.15s}.shModernCheckUi:after{content:"";position:absolute;left:2px;top:2px;width:12px;height:12px;border-radius:50%;background:#aeb7bf;transition:.15s}.shModernCheck input:checked+.shModernCheckUi{background:#247dba;border-color:#3ca4e8}.shModernCheck input:checked+.shModernCheckUi:after{transform:translateX(14px);background:#fff}.shModernCheck>span:last-child{display:grid;gap:2px}.shModernCheck strong{color:#eef2f5;font-size:14px}.shModernCheck small{color:#9fa9b1;font-size:14px;font-weight:500}
.shMessageInbox{overflow:hidden;border:1px solid #555d65;border-radius:4px;background:#383d43}.shMessageInboxTitle{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #555d65;background:#34393f}.shMessageInboxTitle strong{font-size:14px}.shMessageInboxTitle span{font-size:14px;color:#9da8b1}.shMessageRows{display:grid}.shMessageRow{display:grid;grid-template-columns:46px minmax(0,1fr) 40px;gap:11px;align-items:center;padding:12px 14px;border-bottom:1px solid #50585f;color:#e9edf0;text-decoration:none}.shMessageRow:last-child{border-bottom:0}.shMessageRow:hover{background:#40464c}.shMessageRow.is-unread{background:#3d464d}.shMessageAvatar{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;overflow:hidden;border:1px solid #626c74;background:#2b4051;font-size:14px;font-weight:800}.shMessageAvatar img{width:100%;height:100%;object-fit:cover}.shMessageMain{min-width:0;display:grid;gap:5px}.shMessageTop{display:flex;justify-content:space-between;gap:10px}.shMessageTop strong{font-size:14px}.shMessageTop time{color:#929ca4;font-size:14px}.shMessagePreview{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#b7c0c7;font-size:14px}.shMessageRight{display:flex;align-items:center;justify-content:flex-end;gap:8px;color:#9da8b1}.shMessageRight b{display:grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border-radius:999px;background:#2196f3;color:#fff;font-size:14px}.shMessageRight>span{font-size:20px}.shMessageEmpty{padding:28px;text-align:center;display:grid;gap:5px}.shMessageEmpty strong{color:#e6eaed}.shMessageEmpty span{color:#9ba5ad;font-size:14px}
@media(max-width:900px){.shKnowledgeRows{grid-template-columns:1fr}.shKnowledgeRows .shPageLink:nth-child(odd){border-right:0!important}.shThreadOptionGrid{grid-template-columns:1fr}.shHeaderProfileMenu{display:none!important}}


/* V35 forum-bound content pages */
body.spectrahubForum .shContentPageHead{margin-bottom:14px!important}
body.spectrahubForum .shContentPageHead .path{margin-bottom:6px!important;color:#aeb7c0!important;font-size:14px!important}
body.spectrahubForum .shContentPageForumStyle{overflow:hidden!important}
body.spectrahubForum .shContentPageForumStyle .shDocumentContent{padding:22px 24px!important;min-height:80px!important;background:#383c42!important;color:#eef0f2!important}
body.spectrahubForum .shForumPageRow .cleanMain h3{margin-bottom:0!important}
body.spectrahubForum .shForumPageRow .cleanMain p{display:none!important}
body.spectrahubForum .shForumPageRow .shPageTypeStat .shFa img{width:14px!important;height:14px!important}
body.spectrahubForum .shPageDirectoryForumStyle .sectionTitleClean h2 a{color:inherit!important;text-decoration:none!important}
body.spectrahubForum .shPageDirectoryForumStyle .sectionTitleClean h2 a:hover{text-decoration:underline!important}
