/*
 * G&C REV10W FIX45 — global text safety + activity-tab legibility.
 * Cumulative from the undeployed FIX44 candidate, which remains based on live FIX43.
 */

/* Member identities must never be silently cropped by compact feed/flex layouts. */
.gcHomeActivityV2Body,
.gcHomeActivityV2Topline,
.gcHomeActivityV2Sentence,
.gcGoldMemberIdentity,
.gcMemberHubMemberIdentity,
.gcMemberCardIdentity,
.gcQotdCommentHead > div,
.gameReviewMemberIdentity,
.gameReviewMemberMeta{min-width:0!important}

.gcHomeActivityV2Sentence{overflow:visible!important}
.gcHomeActivityV2Member{
  display:inline-block!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  vertical-align:baseline!important;
  line-height:inherit!important;
  padding:0 1px!important;
  margin:0 1px 0 0!important;
  clip-path:none!important;
}

:is(.gcGoldMemberLink,.gcMemberHubMemberId,.gcProfileMemberId,.gameReviewMemberIdLink,.gcQotdMember,.adminMemberDetailHandle){
  min-width:0!important;
  max-width:100%!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}

/* Active Community Activity tabs need a contrast-safe icon and count in every theme. */
.gcHomeActivityV2Tab.isActive .gcHomeActivityV2TabIcon{
  color:var(--gc-theme-text-strong,#f7fbff)!important;
  background:color-mix(in srgb,var(--gc-theme-accent,#5adce7) 20%,rgba(0,0,0,.42))!important;
  border:1px solid color-mix(in srgb,var(--gc-theme-accent,#5adce7) 36%,transparent)!important;
}
.gcHomeActivityV2Tab.isActive .gcHomeActivityV2TabCount{
  background:var(--gc-theme-text-strong,#f7fbff)!important;
  color:var(--gc-theme-bg,#071018)!important;
  border:1px solid color-mix(in srgb,var(--gc-theme-accent,#5adce7) 45%,transparent)!important;
  box-shadow:0 2px 9px rgba(0,0,0,.24)!important;
  font-weight:950!important;
}

@media(max-width:520px){
  .gcHomeActivityV2Sentence{font-size:12.5px!important;line-height:1.55!important}
  .gcHomeActivityV2Member{max-width:100%!important}
}
