.wrapper {
  padding-top: 20rpx;
}

.leaving-a-message {
  position: relative;
  left: 0;
  top: 0;
}

.leaving-a-message image {
  display: block;
  width: 40rpx;
  height: 50rpx;
  background: pink;
}

.leaving-a-message view {
  position: absolute;
  top: -9rpx;
  right: -9rpx;
  z-index: 1;
  min-width: 36rpx;
  min-height: 36rpx;
  border-radius: 18rpx;
  background: #FA5151;
  font-size: 24rpx;
  font-weight: 500;
  color: #FFF;
  line-height: 36rpx;
  text-align: center;
}

.btn-send {
  position: fixed;
  right: 30rpx;
  bottom: 58rpx;
  z-index: 100;

  &:after {
    display: block;
    content: '';
    width: 100%;
    padding-bottom: constant(safe-area-inset-bottom);
    padding-bottom: env(safe-area-inset-bottom);
  }

  image {
    display: block;
    width: 134rpx;
    height: 134rpx;
    background: pink;
  }
}

.main {
  padding: 42rpx 0 134rpx;
}

.list {
  width: 690rpx;
  margin: 20rpx auto 74rpx;
}

.top {
  display: flex;
  align-items: center;
  padding-left: 12rpx;
}

.portrait {
  width: 88rpx;
  height: 88rpx;
  border-radius: 50%;
  overflow: hidden;

  image {
    display: block;
    width: 100%;
    height: 100%;
    background: pink;
  }
}

.blogger-name-wrap {
  width: 450rpx;
  padding: 0 16rpx;

  view {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .user-name {
    line-height: 36rpx;
    font-size: 30rpx;
    font-weight: 500;
    color: rgba(29, 29, 31, 1);
  }

  .business-name {
    margin-top: 2rpx;
    line-height: 32rpx;
    font-size: 24rpx;
    color: rgba(0, 0, 0, 0.4);
  }
}

.follow {
  width: 140rpx;
  height: 56rpx;
  border-radius: 8rpx;
  background: rgba(145, 179, 121, 1);
  font-size: 24rpx;
  font-weight: 600;
  color: rgba(255, 255, 255, 1);
}

.news {
  margin-top: 20rpx;

  .text {
    line-height: 44rpx;
    font-size: 28rpx;
    color: rgba(102, 102, 102, 1);
    word-break: break-all;
    word-wrap: break-word;
  }

  .photo-wrap {
    display: flex;
    flex-flow: row wrap;
  }

  .box {
    width: 222rpx;
    height: 218rpx;
    margin-top: 24rpx;
    margin-left: 12rpx;
    border-radius: 8rpx;
    overflow: hidden;

    &:nth-of-type(1),
    &:nth-of-type(2),
    &:nth-of-type(3) {
      margin-top: 20rpx;
    }

    &:nth-of-type(3n + 1) {
      margin-left: 0;
    }
  }

  image {
    display: block;
    width: 100%;
    height: 100%;
    background: pink;
  }
}

.tools-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12rpx;

  image {
    display: block;
    width: 48rpx;
    height: 48rpx;
    background: pink;
  }

  .collection-favorite {
    display: flex;
    justify-content: flex-end;
  }

  .favorite {
    margin-left: 30rpx;
  }
}

.message-list {
  .list {
    display: flex;
    margin-top: 20rpx;
  }

  .message {
    width: 614rpx;
    line-height: 44rpx;
    font-size: 28rpx;
    color: rgba(153, 153, 153, 1);
  }

  .btn-reply {
    width: 76rpx;
    line-height: 44rpx;
    font-size: 24rpx;
    color: rgba(153, 153, 153, 1);
    text-align: center;
  }
}
