.TUIChat-H5 {
  flex: 1;
  position: static;

  .TUIChat-header {
    width: 100%;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 2;

    .setting {
      width: 27Px;
    }
  }

  .TUIChat-main {
    .TUI-message-list {
      height: auto;
    }
  }

  .TUIChat-footer {
    width: 100%;
    box-sizing: border-box;
    position: sticky;
    bottom: 0;
    flex-direction: column-reverse;
    height: auto;
    padding: 14Px 23Px 23Px;
    z-index: 1;

    .func {
      display: flex;
      flex-direction: column;

      &-main {
        display: flex;
        justify-content: space-between;
      }
    }

    .reply {
      order: 1;
      padding-bottom: 10Px;

      &-box {
        padding: 0;

        i {
          display: none;
        }

        &-show {
          flex-direction: row;

          span {
            width: auto;
          }

          span:first-child {
            padding-right: 2Px;
          }

          span:last-child {
            flex: 1;
          }
        }
      }
    }

    .input {
      display: flex;
      flex-wrap: wrap;
      flex-direction: row;
      align-items: flex-end;

      textarea {
        width: auto;
        height: auto;
        padding: 0;
        flex: 1;
        background: #f4f5f9;
        border-radius: 9.4Px;
        padding: 7Px 18Px;
        font-size: 16Px;
        line-height: 18Px;
      }

      .reference {
        overflow: hidden;
        order: 1;
        width: 100%;
        max-width: 100%;
        margin: 0;

        &-box {
          overflow: hidden;
          padding: 0;
          width: 100%;
          max-width: 100%;
          padding: 10Px;
          margin: 5Px 0;

          &-show {
            overflow: hidden;
            width: 0;
            flex: 1;
            display: flex;
            flex-direction: row;
            text-overflow: ellipsis;

            span:last-child {
              overflow: hidden;
              text-overflow: ellipsis;
            }
          }
        }
      }

      button {
        position: static !important;
        margin-left: 7Px;
        word-break: keep-all;
        height: 32Px;
        flex: 0;
      }

      .memberList {
        position: fixed;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        background: rgba(0, 0, 0, 0.5);
        max-height: none;
        display: flex;
        align-items: flex-end;
        z-index: 1;

        &-box {
          position: static;
          flex: 1;
          max-height: 90%;
          border-radius: 12Px 12Px 0 0;
          padding: 14Px 23Px;

          &-title {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12Px 0;

            h1 {
              font-family: PingFangSC-Medium;
              font-weight: 500;
              font-size: 20Px;
              color: #000000;
              letter-spacing: 0;
              line-height: 28Px;
            }

            .close {
              font-family: PingFangSC-Regular;
              font-weight: 400;
              font-size: 18Px;
              color: #3370ff;
              letter-spacing: 0;
              line-height: 27Px;
            }
          }

          li {
            padding: 8Px 0;

            img {
              width: 30Px;
              height: 30Px;
              border-radius: 6.4Px;
              padding: 0;
            }

            span {
              font-size: 16Px;
              padding-left: 12Px;
            }
          }

          &-header {
            span {
              &:last-child {
                padding-left: 0;
              }
            }
          }
        }
      }
    }
  }

  .manage {
    position: fixed;
    height: 100%;
    top: 0;
  }

  .mask {
    position: fixed;
    width: 100vw;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9;

    &-main {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 150Px;
      background: white;
      border-radius: 4Px;
    }

    header {
      font-family: PingFangSC-Regular;
      font-weight: 400;
      font-size: 14Px;
      color: #000000;
      letter-spacing: 0;
      text-align: center;
      padding: 20Px 0;
    }

    footer {
      display: flex;
      width: 100%;
      justify-content: space-around;
      border-top: 1Px solid #dddddd;
      height: 40Px;
      align-items: center;

      p {
        font-family: PingFangSC-Regular;
        font-weight: 400;
        font-size: 14Px;
        color: #000000;
        letter-spacing: 0;
        text-align: center;
      }

      i {
        height: 40Px;
        width: 1Px;
        background: #dddddd;
      }
    }
  }
}