.avatar-box {
  width: 1.7067rem;
  height: 1.7067rem;
  margin: 0.56rem auto 0;
  border: 1px #ed5d18 solid;
  border-radius: 50%;
  // background-image: url('@/assets/images/avatar_default.jpg');
  background-size: 100%;
  background-repeat: no-repeat;
  position: fixed;
  top: 0.2667rem;
  left: 0.2667rem;
  z-index: 100;
  overflow: hidden;
  .tips {
    width: 100%;
    height: 0.5rem;
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    bottom: 0;
    left: 0;
    text-align: center;
    line-height: 0.5rem;
    font-size: 0.22rem;
    color: #ed5d18;
  }
  input {
    width: 100%;
    height: 100%;
    opacity: 0;
    position: relative;
    z-index: 10;
    cursor: pointer;
  }
}
#PageRtcLive {
  position: absolute;
  left: 0;
  bottom: 0;
  // height: 7.31rem;
  width: 100%;
  z-index: 999;
  //   background: rgba(0, 0, 0, 0.1);
  padding: 0 0.44rem;
  box-sizing: border-box;
  // pointer-events: none;
  .member_number {
    // width: 1.67rem;
    height: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.25rem;
    position: fixed;
    top: 0.56rem;
    right: 0.44rem;
    padding: 0.07rem 0.17rem;
    display: flex;
    align-items: center;
    justify-content: center;
    .members {
      width: 0.42rem;
      height: 0.42rem;
      background: url(/@/assets/images/rtcLive/members@2x.png);
      background-size: 100% 100%;
      margin-right: 0.07rem;
    }
    span {
      font-size: 0.24rem;
      color: #fff;
    }
  }
  .room_valid {
    // width: 1.67rem;
    height: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.25rem;
    position: fixed;
    top: 0.56rem;
    left: 0.44rem;
    padding: 0.07rem 0.17rem;
    display: flex;
    align-items: center;
    justify-content: center;
    .members {
      width: 0.42rem;
      height: 0.42rem;
      background: url(/@/assets/images/rtcLive/members@2x.png);
      background-size: 100% 100%;
      margin-right: 0.07rem;
    }
    span {
      font-size: 0.24rem;
      color: #fff;
    }
  }
  .controlBar {
    width: 9.51rem;
    height: 1.173333rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 0.67rem;
    border: 0.03rem solid rgba(255, 255, 255, 0.1);
    margin: 0.67rem auto 0;
    // position: absolute;
    position: fixed;
    z-index: 9999;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 0.266667rem;
    box-sizing: border-box;
    bottom: 0.94rem;
    display: flex;
    align-items: center;
    justify-content: space-between;

    .saySomething {
      color: #fff;
      // font-size: 0.42rem;
      height: 0.8rem;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(0, 0, 0, 0.5);
      padding: 0 0.2rem 0 0.2rem;
      border-radius: 0.64rem;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      .disSpeakBtn {
        width: 0.533333rem;
        height: 0.533333rem;
        background: url(/@/assets/images/rtcLive/pop-up_screen_on@2x.png) no-repeat;
        background-size: 100% 100%;
        cursor: pointer;
        &.dis {
          background: url(/@/assets/images/rtcLive/pop-up_screen_off@2x.png) no-repeat;
          background-size: 100% 100%;
        }
      }
      .speakIcon {
        width: 0.32rem;
        height: 0.32rem;
        background: url(/@/assets/images/rtcLive/Input_norma@2x.png);
        background-size: 100% 100%;
        display: block;
        margin-right: 0.1rem;
        &.dis {
          background: url(/@/assets/images/rtcLive/Input_disabled@2x.png);
          background-size: 100% 100%;
        }
      }
      span {
        font-size: 0.266667rem;
        // overflow: hidden;
        // white-space: nowrap;
        // text-overflow: ellipsis;
      }
      // &::after {
      //   content: "";
      //   position: absolute;
      //   width: 0.04rem;
      //   height: 0.44rem;
      //   background: #ffffff;
      //   border-radius: 0.03rem;
      //   top: 50%;
      //   transform: translateY(-50%);
      //   right: -0.28rem;
      // }
    }
    .control_btn {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-left: 0.2rem;
      > div {
        // width: 0.56rem;
        // height: 0.56rem;
        width: 0.65rem;
        height: 0.65rem;
        // font-size: 0.56rem;
        // background: #FD5151;
        margin-right: 0.18rem;
        // &.iconexit {
        //   //   width: 0.56rem;
        //   //   height: 0.56rem;
        //   color: #fd5151;
        //   //   background: #fff;
        //   //   border-radius: 50%;
        //   //   overflow: hidden;
        // }
        &.brushesBack {
          background: url(/@/assets/images/rtcLive/revocation@2x.png);
          background-size: 100% 100%;
        }
        &.brushes {
          // background: url(/@/assets/images/rtcLive/brushes@2x.png);
          background: url(/@/assets/images/rtcLive/brushes@2x.png);
          background-size: 100% 100%;
        }
        &.brushed {
          background: url(/@/assets/images/rtcLive/brushes_selected@2_1.png);
          background-size: 100% 100%;
        }
        &.invitation {
          background: url(/@/assets/images/rtcLive/invitation@2x.png);
          background-size: 100% 100%;
        }
        &.members {
          background: url(/@/assets/images/rtcLive/members@2x.png);
          background-size: 100% 100%;
        }
        &.mic_on {
          background: url(/@/assets/images/rtcLive/mic_on@2x.png);
          background-size: 100% 100%;
        }
        &.mic_no {
          background: url(/@/assets/images/rtcLive/mic_off_50@2x.png);
          background-size: 100% 100%;
        }
        &.mic_off {
          background: url(/@/assets/images/rtcLive/mic_off@2x.png);
          background-size: 100% 100%;
        }
        &.video_on {
          background: url(/@/assets/images/rtcLive/video_on@2x.png);
          background-size: 100% 100%;
        }
        &.video_no {
          background: url(/@/assets/images/rtcLive/video_off_50@2x.png);
          background-size: 100% 100%;
        }
        &.video_off {
          background: url(/@/assets/images/rtcLive/video_off@2x.png);
          background-size: 100% 100%;
        }
        &.exit {
          background: url(/@/assets/images/rtcLive/exit@2x.png);
          background-size: 100% 100%;
        }
        &:last-child {
          margin-right: 0;
        }
      }
    }
  }
  .layer {
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.1);
    z-index: 10000;

    position: fixed;
    bottom: 0;
    left: 0;
    // right: unset;
    // top: unset;
    .inputBox {
      width: 100vw;
      height: 1.39rem;
      // background: #f2f2f2;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(0, 0, 0, 0.5);

      position: absolute;
      bottom: 0;
      left: 0;
      padding: 0 0.44rem;
      box-sizing: border-box;
      display: flex;
      align-items: center;
      justify-content: center;
      .msgBox {
        width: 9.53rem;
        height: 0.94rem;
        position: absolute;
        > input {
          width: 9.53rem;
          height: 0.94rem;
          background: rgba(0, 0, 0, 0.5);
          border-radius: 0.56rem;
          font-size: 0.42rem;
          padding: 0 1.6rem 0 0.44rem;
          box-sizing: border-box;
          border: none;
          outline: none;
          color: #fff;
          resize: none;
          line &::placeholder {
            color: rgba(255, 255, 255, 0.5);
          }
        }
        .iconfont {
          // width: 0.56rem;
          // height: 0.56rem;
          // background: #ed5d18;
          font-size: 0.56rem;
          position: absolute;
          top: 50%;
          transform: translateY(-50%);
          right: 0.78rem;
          color: #fff;
          &.active {
            color: #ed5d18;
          }
        }
        .iconsend_icon {
          position: absolute;
          top: 50%;
          transform: translateY(-50%);
          // right: 0.78rem;
          right: 0.106667rem;
          width: 1.28rem;
          height: 0.693333rem;
          background: #ed5d18;
          color: #fff;
          font-size: 0.32rem;
          text-align: center;
          line-height: 0.693333rem;
          border-radius: 0.533333rem;
          // width: 0.67rem;
          // height: 0.67rem;
          // background-image: url(/@/assets/images/rtcLive/send_selected@2x.png);
          // background-size: 100% 100%;
        }
      }
    }
    .memberContent {
      height: auto;
      width: 100%;
      // background: #ffffff;
      border-radius: 0.28rem 0.28rem 0px 0px;
      position: absolute;
      left: 0;
      bottom: 0;
      &.animated {
        animation-duration: 0.3s;
      }
      .blurBox {
        background: rgba(0, 0, 0, 0.9);
        border-radius: 0.14rem 0.14rem 0px 0px;
        filter: blur(1px);
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 1;
        top: 0;
        left: 0;
      }
      .content {
        position: relative;
        width: 100%;
        height: 100%;
        z-index: 2;
        top: 0;
        left: 0;
      }
      .memberHeader {
        width: 100%;
        height: 1.28rem;
        text-align: center;
        line-height: 1.28rem;
        > span {
          font-size: 0.42rem;
          color: #fff;
        }
      }
      .memberList {
        width: 100%;
        height: 8.33rem;
        border-top-style: solid;
        border-top-color: rgba(0, 0, 0, 0.1);
        border-top-width: 1px;
        border-bottom-style: solid;
        border-bottom-color: rgba(0, 0, 0, 0.1);
        border-bottom-width: 1px;
        box-sizing: border-box;
        overflow-y: auto;
        &::-webkit-scrollbar {
          display: none;
        }
        .memberItem {
          width: 100%;
          height: 1.39rem;
          display: flex;
          align-items: center;
          justify-content: space-between;
          padding: 0.19rem 0.44rem;
          &.offline {
            // cursor: not-allowed;
            opacity: 0.5;
          }

          .userMsg {
            display: flex;
            align-items: center;
            justify-content: center;

            .avatar {
              width: 1.3rem;
              height: 1.3rem;
              border-radius: 50%;
              overflow: hidden;
              margin-right: 0.28rem;
              display: flex;
              justify-content: center;
              align-items: center;
              position: relative;
              .avatar-crown {
                background-image: url(/@/assets/images/rtcLive/leader_bg.png);
                background-position: center center;
                background-size: contain;
                background-repeat: no-repeat;
                width: 100%;
                height: 100%;
                position: absolute;
                top: 0;
                left: 0;
                z-index: 2;
              }
              .avatar-crown-assistant {
                background-image: url(/@/assets/images/rtcLive/assistant_crown.png);
                background-position: center center;
                background-size: contain;
                background-repeat: no-repeat;
                width: 100%;
                height: 100%;
                position: absolute;
                top: 0;
                left: 0;
                z-index: 2;
              }
              > img {
                // width: 100%;
                // height: 100%;
                border-radius: 50%;
                overflow: hidden;
                width: 1rem;
                height: 1rem;
                position: relative;
                z-index: 1;
              }
            }
            .name {
              font-size: 0.39rem;
              color: #fff;
            }
          }
          .button {
            display: flex;
            align-items: center;
            justify-content: center;
            .kick_icon {
              width: 0.65rem;
              height: 0.65rem;
              margin-right: 0.3rem;
            }
            > div {
              //   width: 0.56rem;
              //   height: 0.56rem;
              //   background: #fc6970;
              font-size: 0.65rem;
              color: #fff;
              &.micBtn {
                width: 0.65rem;
                height: 0.65rem;
                margin-right: 0.3rem;
                &.mute_all_mic {
                  background-image: url(/@/assets/images/rtcLive/mic_all_on@2x.png);
                  background-size: 100% 100%;
                }
                &.open_all_mic {
                  background-image: url(/@/assets/images/rtcLive/mic_all_off@2x.png);
                  background-size: 100% 100%;
                }
                &.mute_one_mic_on {
                  background-image: url(/@/assets/images/rtcLive/mic_on@2x.png);
                  background-size: 100% 100%;
                }
                &.mute_one_mic_off {
                  background-image: url(/@/assets/images/rtcLive/mic_off@2x.png);
                  background-size: 100% 100%;
                }
                &.ban_speak_on {
                  background-image: url(/@/assets/images/rtcLive/chat_on@2x.png);
                  background-size: 100% 100%;
                }
                &.ban_speak_off {
                  background-image: url(/@/assets/images/rtcLive/chat_off@2x.png);
                  background-size: 100% 100%;
                }
              }
              &.outBtn {
                margin-right: 0.3rem;
                width: 0.65rem;
                height: 0.65rem;
                &.icon_remove {
                  background-image: url(/@/assets/images/rtcLive/remove@2x.png);
                  background-size: 100% 100%;
                }
              }
            }
          }
        }
      }
      .memberBottom {
        width: 100%;
        padding: 0 0.44rem;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.28rem 0;
        box-sizing: border-box;
        > div {
          width: 4.61rem;
          height: 1.11rem;
          color: #ed5d18;
          border-radius: 0.11rem;
          border: 0.03rem solid #ed5d18;
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 0.39rem;
          &.mute_all {
            margin-right: 0.31rem;
          }
        }
      }
    }
  }

  .chat__area-layoutBox {
    display: block;
    width: 100%;
    height: auto;
    position: fixed;
    bottom: 0;
    left: 0;
    right: unset;
    top: unset;
    background: #fff;
    // padding-bottom: 0.821256rem;
    .chat__area-layoutBox_bg {
      width: 100vw;
      height: 100vh;
      position: fixed;
      z-index: 1;
      top: 0;
      left: 0;
    }
    .chat__area-l-content {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: horizontal;
      -webkit-box-direction: normal;
      -ms-flex-direction: row;
      flex-direction: row;
      -webkit-box-align: center;
      -ms-flex-align: center;
      align-items: center;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      justify-content: center;
      min-height: 0.821256rem;
      padding: 0.241546rem 0;
      width: 100%;
      position: relative;
      z-index: 100;
      textarea {
        width: calc(100% - 0.96618rem);
        -ms-flex-preferred-size: calc(100% - 0.96618rem);
        flex-basis: calc(100% - 0.96618rem);
        background: none;
        border: none;
        border-radius: 0;
        color: #000;
        font-size: 0.386473rem;
        line-height: 0.483092rem;
        padding: 0 0.241546rem;
        resize: none;
        -webkit-user-select: text;
        caret-color: #ff4500;
        overflow: hidden !important;
      }
    }
  }

  @keyframes myAnimation {
    0% {
      background-position: 0px 0px;
      background-size: 13.3344rem auto;
    }

    100% {
      background-position: -13.1104rem 0px;
      background-size: 13.3344rem auto;
    }
  }
}
.sharetip {
  position: fixed;
  z-index: 99999;
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background-color: rgba($color: #000000, $alpha: 0.66);
  > img {
    position: absolute;
    right: 16%;
    top: 0;
    max-width: 70vw;
  }
}
.cropper-box {
  z-index: 1000;
}

.disable {
  opacity: 0.5;
  pointer-events: none;
}
// #local{
//   position: relative;
//   z-index: 10000;
// }
@media screen and (max-width: 768px) {
  #PageRtcLive .controlBar .control_btn > div {
    margin-right: 0.16rem;
  }
}
