/* GG Master Compound V34 — English mobile header regression fix only. */
@media (max-width: 820px) {
  html[dir="ltr"].gg-mobile-v17 .member-app:not(.flow-mode) > .community-head,
  .gg-mobile-v17 .member-app[dir="ltr"]:not(.flow-mode) > .community-head {
    grid-template-columns: 112px minmax(0, 1fr) 38px !important;
    gap: 6px !important;
    padding-inline: 11px !important;
  }

  html[dir="ltr"].gg-mobile-v17 .member-app:not(.flow-mode) > .community-head > .gg-v18-brand-mark,
  .gg-mobile-v17 .member-app[dir="ltr"]:not(.flow-mode) > .community-head > .gg-v18-brand-mark {
    width: 38px !important;
    height: 38px !important;
    justify-self: end !important;
  }

  html[dir="ltr"].gg-mobile-v17 .member-app:not(.flow-mode) > .community-head > div:nth-child(2),
  .gg-mobile-v17 .member-app[dir="ltr"]:not(.flow-mode) > .community-head > div:nth-child(2) {
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 28px !important;
    align-items: center !important;
    column-gap: 5px !important;
    direction: ltr !important;
    text-align: left !important;
  }

  html[dir="ltr"].gg-mobile-v17 .member-app:not(.flow-mode) > .community-head h1,
  .gg-mobile-v17 .member-app[dir="ltr"]:not(.flow-mode) > .community-head h1 {
    min-width: 0 !important;
    margin: 0 !important;
    font-size: 11.7px !important;
    line-height: 1.08 !important;
    letter-spacing: -0.02em !important;
    font-weight: 820 !important;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  html[dir="ltr"].gg-mobile-v17 .member-app:not(.flow-mode) > .community-head .gg-mobile-more,
  .gg-mobile-v17 .member-app[dir="ltr"]:not(.flow-mode) > .community-head .gg-mobile-more {
    width: 28px !important;
    height: 28px !important;
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    justify-self: end !important;
    align-self: center !important;
    margin: 0 !important;
  }

  html[dir="ltr"].gg-mobile-v17 .member-app:not(.flow-mode) > .community-head .head-person,
  .gg-mobile-v17 .member-app[dir="ltr"]:not(.flow-mode) > .community-head .head-person {
    width: 112px !important;
    max-width: 112px !important;
    min-width: 0 !important;
    padding: 4px 6px !important;
    gap: 6px !important;
  }

  html[dir="ltr"].gg-mobile-v17 .community-head .head-person .gg-avatar,
  .gg-mobile-v17 .member-app[dir="ltr"] .community-head .head-person .gg-avatar {
    flex-basis: 31px !important;
    width: 31px !important;
    height: 31px !important;
  }

  html[dir="ltr"].gg-mobile-v17 .community-head .head-person strong,
  .gg-mobile-v17 .member-app[dir="ltr"] .community-head .head-person strong {
    max-width: 62px !important;
    font-size: 9.7px !important;
  }

  html[dir="ltr"].gg-mobile-v17 .community-head .head-person small,
  .gg-mobile-v17 .member-app[dir="ltr"] .community-head .head-person small {
    max-width: 62px !important;
    font-size: 7.8px !important;
  }
}

@media (max-width: 360px) {
  html[dir="ltr"].gg-mobile-v17 .member-app:not(.flow-mode) > .community-head,
  .gg-mobile-v17 .member-app[dir="ltr"]:not(.flow-mode) > .community-head {
    grid-template-columns: 102px minmax(0, 1fr) 36px !important;
    gap: 5px !important;
    padding-inline: 9px !important;
  }
  html[dir="ltr"].gg-mobile-v17 .member-app:not(.flow-mode) > .community-head .head-person,
  .gg-mobile-v17 .member-app[dir="ltr"]:not(.flow-mode) > .community-head .head-person {
    width: 102px !important;
    max-width: 102px !important;
  }
  html[dir="ltr"].gg-mobile-v17 .member-app:not(.flow-mode) > .community-head h1,
  .gg-mobile-v17 .member-app[dir="ltr"]:not(.flow-mode) > .community-head h1 {
    font-size: 10.9px !important;
  }
}
