/* SpectraHub V75: scoped repairs. Overrides the legacy broad Quote/post rules. */
body.spectrahubForum .post {
  display:grid!important;
  grid-template-columns:178px minmax(0,1fr)!important;
  width:100%;max-width:100%;min-width:0;
  overflow:hidden;
}
body.spectrahubForum .post .postUser {
  min-width:0!important;max-width:100%;
  padding:20px 12px!important;overflow-wrap:break-word;
}
body.spectrahubForum .post .postContent {
  min-width:0!important;width:100%;max-width:100%;overflow:hidden;
  margin:0!important;padding:18px 22px!important;
}
body.spectrahubForum .post .postContent .postTop {
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;
  justify-content:space-between!important;gap:10px!important;
  width:100%!important;max-width:100%;min-width:0!important;
  min-height:40px!important;height:auto!important;overflow:visible!important;
  padding:0 0 12px!important;margin:0 0 14px!important;line-height:1.45!important;
}
body.spectrahubForum .post .postContent .postTop .postActions,
body.spectrahubForum .post .postContent .postTop .firstPostActions {
  display:flex!important;float:none!important;position:static!important;
  flex:0 1 auto!important;align-items:center!important;flex-wrap:wrap!important;
  gap:7px!important;width:auto!important;max-width:100%!important;min-width:0!important;
  padding:0!important;margin:0 0 0 auto!important;overflow:visible!important;
}
body.spectrahubForum .post .postContent .postTop .postActions form {
  display:inline-flex!important;flex:0 0 auto!important;
  padding:0!important;margin:0!important;width:auto!important;max-width:100%!important;
}
body.spectrahubForum .post .postContent .postTop .shPostQuote {
  display:inline-flex!important;flex:0 0 auto!important;
  justify-content:center!important;align-items:center!important;
  width:auto!important;max-width:100%!important;min-width:65px!important;
  min-height:34px!important;height:auto!important;
  margin:0!important;padding:7px 11px!important;
  border:1px solid #687480!important;border-radius:8px!important;
  background:#454c55!important;color:#eaf3fb!important;
  line-height:1.3!important;font:600 14px/1.3 Arial,sans-serif!important;
  white-space:nowrap!important;overflow:visible!important;
  word-break:normal!important;overflow-wrap:normal!important;
  text-decoration:none!important;cursor:pointer!important;
}
body.spectrahubForum .post .postContent .postTop .shPostQuote:hover {background:#536273!important;border-color:#91b9de!important;}
body.spectrahubForum .post .postUser .avatarImg,
body.spectrahubForum .post .postUser .avatarLetter,
body.spectrahubForum .post .postUser .shAvatarFallbackV75 {
  width:70px!important;height:70px!important;max-width:70px!important;
  margin:0 0 8px!important;border-radius:16px!important;
}
body.spectrahubForum .post .postUser .avatarImg {
  display:block;object-fit:cover!important;height:70px!important;
}
body.spectrahubForum .post .postUser .avatarLetter {font-size:25px!important;}
body.spectrahubForum .post .postUser .shPostAvatarLinkV74 {width:70px!important;max-width:70px!important;flex:0 0 70px;}
body.spectrahubForum .post .postUser b,
body.spectrahubForum .post .postUser a {max-width:100%;overflow-wrap:anywhere;}
body.spectrahubForum .post .postUser .postCustomTitle {max-width:100%;line-height:1.35!important;}

/* Rich quote: no nested scroll bars, no vertical one-letter words, no cropped author. */
body.spectrahubForum :is(.bodyText,.shPmMessageBody,.xfProfilePostBody,.shDocumentContent) .shBbQuote {
  display:block!important;position:relative!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  margin:14px 0!important;padding:0!important;
  border:1px solid #586574!important;border-radius:11px!important;
  background:#303942!important;
  box-shadow:inset 4px 0 0 #43a8f0!important;
  white-space:normal!important;word-break:normal!important;
  overflow:hidden!important;clear:both!important;
}
body.spectrahubForum :is(.bodyText,.shPmMessageBody,.xfProfilePostBody,.shDocumentContent) .shBbQuoteHead {
  display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;
  align-items:center!important;gap:6px 10px!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  margin:0!important;padding:10px 15px!important;
  line-height:1.4!important;white-space:normal!important;
  overflow:visible!important;word-break:normal!important;
  border-bottom:1px solid #536170!important;background:#3c4752!important;
}
body.spectrahubForum :is(.bodyText,.shPmMessageBody,.xfProfilePostBody,.shDocumentContent) .shBbQuoteHead > * {
  flex:0 0 auto!important;display:inline-block!important;
  width:auto!important;max-width:100%!important;min-width:0!important;
  margin:0!important;padding:0!important;
  line-height:1.4!important;white-space:normal!important;
  word-break:normal!important;overflow:visible!important;
}
body.spectrahubForum :is(.bodyText,.shPmMessageBody,.xfProfilePostBody,.shDocumentContent) .shBbQuoteAuthor {
  flex:0 1 auto!important;display:inline!important;width:auto!important;
  max-width:100%!important;margin-left:auto!important;
  white-space:normal!important;overflow-wrap:break-word!important;
}
body.spectrahubForum :is(.bodyText,.shPmMessageBody,.xfProfilePostBody,.shDocumentContent) .shBbQuoteBody {
  display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
  margin:0!important;padding:13px 15px!important;
  line-height:1.58!important;white-space:normal!important;
  word-break:normal!important;overflow-wrap:break-word!important;
  overflow-x:auto!important;overflow-y:visible!important;
  color:#e7edf3!important;
}
body.spectrahubForum .post .postContent .bodyText {min-width:0!important;max-width:100%!important;overflow-wrap:break-word!important;}
body.spectrahubForum .post .postContent .bodyText :is(pre,.bbcode-code) {
  max-width:100%!important;min-width:0!important;white-space:pre-wrap!important;
  word-break:normal!important;overflow-wrap:anywhere!important;overflow-x:auto!important;
}
body.spectrahubForum .post .postContent .bodyText .shBbCodeBox {max-width:100%!important;overflow:hidden!important;}
body.spectrahubForum .post .postContent .bodyText .shBbCodeBox pre {overflow-x:auto!important;}
body.spectrahubForum .post .postContent .signature {
  margin:20px 0 0!important;padding:15px 0 0!important;
  border-top:1px dashed #606a74!important;
  max-height:none!important;overflow:visible!important;
  line-height:1.5!important;
}
body.spectrahubForum .post .postContent .signature * {max-width:100%;line-height:inherit!important;}
body.spectrahubForum .post .postContent .signature img {height:auto!important;max-height:130px!important;width:auto!important;}

/* Profile images keep their intended rectangular/round crop, not the global image height:auto rule. */
body.spectrahubForum .xfMemberCover {overflow:hidden!important;background:#2d3440!important;}
body.spectrahubForum .xfMemberCover > img {width:100%!important;height:100%!important;object-fit:cover!important;display:block;}
body.spectrahubForum .xfMemberAvatar {overflow:hidden!important;}
body.spectrahubForum .xfMemberAvatar > img {width:100%!important;height:100%!important;object-fit:cover!important;display:block;}
body.spectrahubForum .xfMemberAvatar.shAvatarMissingV75::before {content:'Profilkép';font-size:14px;color:#ccd5e1;}
body.spectrahubForum .shMediaEditorPreview img {width:100%!important;height:100%!important;object-fit:cover!important;}
body.spectrahubForum .shMemberHoverV74 {width:320px!important;max-width:calc(100vw - 24px)!important;}
body.spectrahubForum .shMemberHoverCoverV74 {height:68px!important;}
body.spectrahubForum .shMemberHoverAvatarV74 {width:58px!important;height:58px!important;flex:0 0 58px!important;margin-top:-20px!important;font-size:20px!important;}

/* Latest activity, linkable topic title and excerpts, like a proper forum activity timeline. */
body.spectrahubForum .shActivityBlockV75 {min-width:0;overflow:hidden;}
body.spectrahubForum .shActivityFeedV75 {display:flex;flex-direction:column;}
body.spectrahubForum .shActivityEntryV75 {
  display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;
  align-items:start;gap:14px;padding:17px 18px!important;margin:0!important;
  border-bottom:1px solid #505962;background:#383e45;min-width:0;
}
body.spectrahubForum .shActivityEntryV75[hidden]{display:none!important;}
body.spectrahubForum .shActivityEntryV75:hover{background:#414953;}
body.spectrahubForum .shActivityAvatarV75 {
  display:grid!important;place-items:center!important;position:relative;
  width:46px!important;height:46px!important;min-width:46px;border-radius:50%;
  overflow:hidden!important;background:#2d658f!important;text-decoration:none!important;
  color:#fff!important;font-size:20px!important;font-weight:bold;
}
body.spectrahubForum .shActivityAvatarV75 img {position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover!important;}
body.spectrahubForum .shActivityEntryContentV75 {min-width:0;display:flex;flex-direction:column;gap:7px;}
body.spectrahubForum .shActivityTitleV75 {line-height:1.5!important;font-size:14px!important;color:#d3dce5;min-width:0;overflow-wrap:break-word;}
body.spectrahubForum .shActivityTitleV75 a {color:#8ccaff;font-weight:700;text-decoration:none;}
body.spectrahubForum .shActivityTitleV75 a:hover{text-decoration:underline;}
body.spectrahubForum .shActivityEntryContentV75 p {font-size:14px;line-height:1.6;margin:0!important;color:#bac6d3;overflow-wrap:anywhere;}
body.spectrahubForum .shActivityTimeV75 {display:inline-block;align-self:flex-start;color:#aeb8c3!important;font-size:14px;text-decoration:none;}
body.spectrahubForum .shActivityFeedMoreV75 {display:flex;justify-content:flex-end;padding:14px 16px;}
body.spectrahubForum .shActivityFeedMoreV75 button {font-size:14px!important;}
body.spectrahubForum .shPenaltyLedger{border-radius:14px;overflow:hidden;}
body.spectrahubForum .shPenaltyEmpty{padding:20px;}
body.spectrahubForum .shPenaltyLedgerRow{padding:18px 20px;border-bottom:1px solid #58616a;}
body.spectrahubForum .shPenaltyLedgerRow:last-child{border-bottom:0;}
body.spectrahubForum .shPenaltyLedgerHead{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-bottom:8px;}
body.spectrahubForum .shPenaltyLedgerRow p{margin:0 0 10px;line-height:1.55;white-space:normal;}
body.spectrahubForum .shPenaltyLedgerRow small{color:#b4c1cc;}
body.spectrahubForum .shPenaltyStatus{border:1px solid #65717a;padding:4px 9px;border-radius:6px;color:#cbd6df;font-size:14px;}
body.spectrahubForum .shPenaltyStatus.is-active{background:#7c4d18;color:#fff1d0;border-color:#a16f30;}

/* Editor dropdowns must overlay without cropping on all editor-containing pages. */
body.spectrahubForum .shXfEditorShell:focus-within{z-index:220!important;}
body.spectrahubForum .shXfEditorShell .fr-dropdown-menu,
body.spectrahubForum .shXfEditorShell .shXfFallbackMenu,
body.spectrahubForum > .fr-dropdown-menu,
body.spectrahubForum > .fr-popup {z-index:100500!important;min-width:140px!important;max-width:min(330px,calc(100vw - 24px))!important;}
body.spectrahubForum .shXfEditorShell :is(.fr-dropdown-list,.shXfFontMenu,.shXfSizeMenu){max-height:300px!important;overflow:auto!important;}
body.spectrahubForum .shXfEditorShell :is(.fr-dropdown-menu,.shXfFallbackMenu) *{word-break:normal!important;white-space:normal!important;}
@media(max-width:730px){
  body.spectrahubForum .post{grid-template-columns:1fr!important;}
  body.spectrahubForum .post .postUser {border-right:0!important;border-bottom:1px solid #55606d;}
  body.spectrahubForum .post .postContent {padding:15px!important;}
  body.spectrahubForum .post .postContent .postTop .postActions{margin:4px 0 0!important;}
  body.spectrahubForum .shActivityEntryV75{grid-template-columns:40px minmax(0,1fr)!important;padding:14px!important;gap:10px;}
  body.spectrahubForum .shActivityAvatarV75{width:40px!important;height:40px!important;min-width:40px;}
}

/* Consistent self-service penalty detail surface. */
body.spectrahubForum .shPenaltyPanelV75{border:1px solid #58636e;border-radius:12px;background:#353c44;overflow:hidden;margin:18px 0 28px;}
body.spectrahubForum .shPenaltyRowV75{padding:18px 20px;border-bottom:1px solid #58636e;}
body.spectrahubForum .shPenaltyRowV75:last-child{border-bottom:0;}
body.spectrahubForum .shPenaltyRowHeadV75{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;}
body.spectrahubForum .shPenaltyRowV75 p{line-height:1.6;white-space:normal;margin:12px 0;}
body.spectrahubForum .shPenaltyMetaV75{display:flex;gap:10px 18px;flex-wrap:wrap;font-size:14px;color:#becbd5;}
body.spectrahubForum .shPenaltyPointsV75{padding:5px 11px;border-radius:7px;background:#8e443f;color:white;font-weight:bold;}
