.header-cluster {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  min-width: 0;
}
.header-community {
  flex: 0 0 auto;
}
.header-community [data-stx-auth],
.header-community.stx-community-auth {
  max-width: none;
  color: var(--white);
}
.header-community .stx-auth-identity strong,
.header-community .stx-auth-identity small,
.header-community .stx-composer-user {
  color: var(--white);
}
.header-community .stx-auth-identity small {
  color: var(--muted);
}
.header-community .stx-btn {
  min-height: 38px;
  padding: .62rem .82rem;
  font-size: .76rem;
}
.header-community .stx-btn-google {
  box-shadow: none;
}
.header-community .stx-profile-editor {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  width: min(520px, calc(100vw - 34px));
  color: var(--stx-community-ink);
}
.site-header {
  position: relative;
}
@media (max-width: 940px) {
  .site-header {
    align-items: flex-start;
  }
  .header-cluster {
    align-items: flex-end;
    flex-direction: column;
    gap: 9px;
  }
  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 11px;
  }
}
@media (max-width: 680px) {
  .site-header,
  .header-cluster {
    width: 100%;
  }
  .header-cluster {
    align-items: stretch;
  }
  .nav {
    justify-content: flex-start;
  }
  .header-community .stx-auth-member {
    align-items: center;
    flex-direction: row;
  }
}
@media (max-width: 520px) {
  .header-community .stx-auth-member {
    align-items: stretch;
    flex-direction: column;
  }
  .header-community .stx-profile-editor {
    position: fixed;
    top: 10px;
    right: 10px;
    left: 10px;
    width: auto;
    max-height: calc(100vh - 20px);
    overflow: auto;
  }
}
