$namespace: "person";
@include b(info) {
  @include e(wrap) {
    position: relative;
    height: 3.7rem;
    color: #4c4c4c;
    font-size: $--font-size-medium;
    @include flex($direction: column);
  }
  @include e(username) {
    margin: 0.12rem 0 0.08rem;
    color: #4d4d4d;
  }
  @include e(id) {
    display: flex;
    align-items: center;
    font-size: $--font-size-small;
    span {
      display: inline-block;
      background: rgba(50, 161, 255, 0.1);
      color: $--color-theme-boy;
      border: 0.02rem solid $--color-theme-boy;
      border-radius: 0.15rem;
      font-size: $--font-size-tiny;
      padding: 0 0.12rem;
      margin: 0 0.1rem;
    }
  }
  @include e(bg) {
    background-color: $--color-theme-boy-person;
    width: 100%;
    height: 3rem;
    position: absolute;
    z-index: -1;
  }
  @include e(portrait) {
    height: 1.25rem;
    width: 1.25rem;
    margin-top: 0.15rem;
    box-shadow: $--book-shadow;
    border-radius: 50%;
    overflow: hidden;
    img {
      width: 100%;
      display: block;
    }
  }
  @include e(balancebox) {
    background: url(https://cdn-novel.bookkks.com/static/img/personal-card.png)
      no-repeat center / 100%;
    box-sizing: border-box;
    padding: 0.04rem 0.42rem 0.37rem;
    margin-top: 0.1rem;
    width: 5.45rem;
    height: 1.14rem;
    @include flex($space: space-around);
    img {
      width: 1.2em;
    }
  }
  @include e(btn) {
    background-color: $--color-theme-girl;
    border-radius: $--radius;
    color: #fff;
    padding: 0.1em 0.8em;
    line-height: normal;
  }
}

@include b(entry) {
  @include e(wrap) {
    & > div {
      @include flex();
      height: 1.08rem;
      position: relative;
    }
    hr {
      margin-left: 1rem;
      border-color: #e6e6e6;
    }
  }
  @include e(buyvip) {
    width: 92%;
    margin: 0 auto;
    display: block;
  }
  @include e(icon) {
    box-sizing: border-box;
    width: 1rem;
    padding: 0 0.3rem;
  }
  @include e(text) {
    width: 5rem;
    font-size: $--font-size-big;
  }
  @include e(arrow) {
    box-sizing: border-box;
    width: 2.5rem;
    padding: 0 0.18rem 0 2.18rem;
  }
  @include e(vip) {
    color: #ffa734;
    span:last-child {
      width: 2.5rem;
      text-align: right;
      box-sizing: border-box;
      padding-right: 0.18rem;
    }
  }
}

.binding-text {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translate(0, -50%);
  font-size: 0.24rem;
  color: #999;

  i {
    font-style: normal;
    color: #ff7130;
    font-weight: bold;
    font-size: 0.26rem;
  }

  &.binding-text__binded {
    position: relative;
    top: 0;
    right: 0;
    transform: translate(0, 0);
    width: 2.5rem;
    text-align: right;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-right: 0.18rem;
  }
}

.clear-cache {
  margin: 0.4rem auto 0;
  font-size: $--font-size-medium;
  color: $--font-color-light;
  text-align: center;
  width: 2rem;
  border: 1px solid #999;
  border-radius: 0.1rem;
  padding: 0.1rem 0;
}
