.head {
  width: 100vw;
  height: 30vw;
  background: var(--main-bg-color);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--main-space);

  .profile {
    flex: none;
    font-size: 42px;

    .badge {
      display: inline-block;
      position: relative;
      padding-right: 24px;
      padding-left: 72px;
      margin-top: var(--main-space);
      height: 48px;
      line-height: 46px; // 向上偏移2像素
      background: linear-gradient(0, #e36a00, #ffa658);
      border-radius: 22px;
      font-size: 24px;
      text-align: center;

      .icon {
        top: -8px;
        left: -8px;
        position: absolute;
        width: 64px;
        height: 64px;
        border-radius: 50%;
        box-sizing: content-box;

        image {
          width: 100%;
          height: 100%;
        }
      }
    }
  }

  .avatar {
    flex: none;
    width: 16vw;
    height: 16vw;

    button {
      background: transparent;
      padding: 0;
      width: 100%;
      height: 100%;

      &::after {
        border: none;
      }
    }
    image {
      background: #fff;
      width: 100%;
      height: 100%;
      border-radius: 50%;
      border: 4px solid #fff;
      box-sizing: border-box;
    }
  }
}
