.members-page {
  padding:
    72px
    0
    100px;
}


.members-heading {
  display:
    flex;

  justify-content:
    space-between;

  gap:
    40px;

  align-items:
    end;
}


.members-heading h1 {
  margin:
    10px
    0
    8px;

  font-size:
    clamp(
      2.8rem,
      7vw,
      5.7rem
    );

  line-height:
    .94;

  letter-spacing:
    -.065em;

  font-weight:
    590;
}


.members-heading p {
  margin:
    0;

  color:
    var(--text-soft);
}


.member-search {
  width:
    min(
      100%,
      430px
    );

  display:
    flex;

  gap:
    8px;
}


.member-search input {
  flex:
    1;

  min-width:
    0;

  min-height:
    44px;

  padding:
    0
    13px;

  border:
    1px solid
    var(--line);

  border-radius:
    11px;

  outline:
    none;

  background:
    var(--bg-elevated);

  color:
    var(--text);
}


.member-search input:focus {
  border-color:
    var(--accent);
}


.member-filters,
.role-filter {
  display:
    flex;

  flex-wrap:
    wrap;

  gap:
    6px;

  margin-top:
    30px;
}


.member-filters a,
.role-filter a {
  min-width:
    32px;

  min-height:
    32px;

  display:
    inline-grid;

  place-items:
    center;

  padding:
    5px
    9px;

  border:
    1px solid
    var(--line);

  border-radius:
    8px;

  background:
    var(--bg-elevated);

  color:
    var(--text-soft);

  font-size:
    .7rem;
}


.member-filters a.active,
.role-filter a.active {
  border-color:
    rgba(139,92,246,.35);

  background:
    var(--accent-soft);

  color:
    var(--text);
}


.role-filter {
  margin-top:
    10px;
}


.members-grid {
  display:
    grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap:
    12px;

  margin-top:
    35px;
}


.member-card {
  min-height:
    120px;

  display:
    flex;

  align-items:
    center;

  gap:
    15px;

  padding:
    18px;

  border:
    1px solid
    var(--line);

  border-radius:
    17px;

  background:
    var(--panel);

  transition:
    transform
    .2s
    var(--ease),
    border-color
    .2s
    ease;
}


.member-card:hover {
  transform:
    translateY(-3px);

  border-color:
    var(--line-strong);
}


.member-avatar {
  width:
    68px;

  height:
    68px;

  flex:
    0 0 auto;

  object-fit:
    cover;

  border-radius:
    16px;
}


.member-info {
  min-width:
    0;

  flex:
    1;
}


.member-name {
  display:
    flex;

  align-items:
    center;

  gap:
    6px;
}


.member-name strong {
  overflow:
    hidden;

  text-overflow:
    ellipsis;

  white-space:
    nowrap;

  font-size:
    .9rem;
}


.verified-mini {
  width:
    18px;

  height:
    18px;

  display:
    grid;

  place-items:
    center;

  border-radius:
    50%;

  background:
    #2d8cff;

  color:
    white;

  font-size:
    .55rem;

  font-weight:
    800;
}


.member-user {
  display:
    block;

  margin-top:
    2px;

  color:
    var(--text-faint);

  font-size:
    .7rem;
}


.member-role-list {
  display:
    flex;

  flex-wrap:
    wrap;

  gap:
    5px;

  margin-top:
    10px;
}


.member-role {
  display:
    inline-flex;

  align-items:
    center;

  gap:
    4px;

  padding:
    4px
    6px;

  border-radius:
    6px;

  background:
    var(--bg-soft);

  color:
    var(--text-soft);

  font-size:
    .58rem;
}


.member-role img {
  width:
    14px;

  height:
    14px;

  object-fit:
    contain;
}


.member-arrow {
  color:
    var(--text-faint);
}


.members-empty {
  margin-top:
    35px;

  padding:
    50px;

  text-align:
    center;

  border:
    1px solid
    var(--line);

  border-radius:
    18px;

  color:
    var(--text-soft);
}


.pagination {
  display:
    flex;

  flex-wrap:
    wrap;

  justify-content:
    center;

  gap:
    7px;

  margin-top:
    35px;
}


.pagination a {
  width:
    36px;

  height:
    36px;

  display:
    grid;

  place-items:
    center;

  border:
    1px solid
    var(--line);

  border-radius:
    8px;

  background:
    var(--bg-elevated);

  font-size:
    .7rem;
}


.pagination a.active {
  border-color:
    var(--accent);

  background:
    var(--accent-soft);
}


@media (
  max-width:
  1050px
) {

  .members-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

}


@media (
  max-width:
  720px
) {

  .members-heading {
    display:
      block;
  }


  .member-search {
    width:
      100%;

    margin-top:
      25px;
  }


  .members-grid {
    grid-template-columns:
      1fr;
  }

}


@media (
  max-width:
  480px
) {

  .members-page {
    padding-top:
      45px;
  }


  .member-search {
    display:
      grid;
  }


  .member-card {
    min-height:
      105px;

    padding:
      14px;
  }


  .member-avatar {
    width:
      58px;

    height:
      58px;

    border-radius:
      14px;
  }

}