.UserCard {
  background: var(--usercard-bg);
  .light-contents();
  background-size: 100% 100%;
}
.UserCard .container {
  display: grid;
  grid-template-columns: 1fr auto;
}
.UserCard-controls {
  .Dropdown-menu {
    left: auto;
    right: 0;
  }
}
.UserCard--popover {
  width: 500px;
  box-shadow: 0 2px 6px var(--shadow-color);

  &, .darkenBackground {
    border-radius: var(--border-radius);
  }
  .container {
    width: auto !important;
    padding: 20px !important;
  }
  .UserCard-identity {
    font-size: 22px;
  }
}
.UserCard-profile {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 26px;
  text-align: left;
  padding-right: 20px;

  @media @phone {
    grid-template-columns: 1fr;
    text-align: center;
    padding-right: 0;
  }
}
.UserCard-identity {
  font-weight: normal;
  display: inline;
  vertical-align: middle;
}
.UserCard-avatar {
  @media @phone {
    display: block;
    float: none;
    margin: 0 auto 20px;
    width: 64px + 8px;
  }
  .Avatar {
    .Avatar--size(96px);
    border: 4px solid #fff;
    box-shadow: 0 2px 6px var(--shadow-color);

    @media @phone {
      .Avatar--size(64px);
    }
  }
}
.UserCard-badges {
  list-style: none;
  margin: 0 0 0 15px;
  padding: 0;

  &, > li {
    display: inline-block;
    margin-right: 5px
  }
}
.UserCard-info {
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12px;

  > li {
    display: inline-block;
    margin-right: 15px;
  }
}
.UserCard-lastSeen {
  & .icon {
    font-size: 14px;
  }
  &.online .fa-circle {
    color: var(--online-user-circle-color);
  }
  &.online .icon {
    font-size: 12px;
  }
}
