html, body {
  width: 100vw;
  height: 100vh;
  color: #004C59;
}
div {
  box-sizing: border-box;
}
ul, p {
  margin: 0;
}

.fx {
  display: flex;
}
.fx-c {
  justify-content: center;
}
.fx-end {
  justify-content: flex-end;
}
.fx-sa {
  justify-content: space-around;
}
.fx-sb {
  justify-content: space-between;
}
.fx-fw {
  flex-wrap: wrap;
}
.ai-fs {
  align-items: flex-start;
}
.ai-c {
  align-items: center;
}
.ai-fe {
  align-items: flex-end;
}
.ai-b {
  align-items: baseline;
}
.ai-str {
  align-items: stretch;
}
.fd-c {
  flex-direction: column;
}
.fd-row-reverse {
  flex-direction: row-reverse;
}
.al-c{align-content: center;}

.fx-1 {
  flex: 1;
}

.list-area {
  overflow-y: scroll;
}
.list-area::-webkit-scrollbar {
  width: 0;
}
.list-area:hover::-webkit-scrollbar {
  background-color: #30A9BE;
}
.list-area:hover::-webkit-scrollbar-thumb:vertical {
  background-color: #30A9BE;
  border-radius: 4px;
}

.text-ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.common-page {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.common-page .top {
  position: relative;
  height: 48px;
  padding: 10px 24px;
  font-size: 16px;
  color: #004C59;
  display: flex;
  align-items: center;
}
.top-arrow-left {
  position: absolute;
  left: 24px;
}
.common-page .main-content {
  flex: 1;
  padding: 10px 24px;
}

.logo {
  width: 32px;
  height: 32px;
  display: block;
}

.default-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 46px;
  color: #fff;
  background: linear-gradient( 158deg, #0197B0 0%, #004C59 100%), #0197B0;
  border-radius: 8px;
  box-sizing: border-box;
  cursor: pointer;
}

.text-align-left {
  text-align: left;
}
.text-align-center {
  text-align: center;
}
.text-align-right {
  text-align: right;
}

.opacity-50 {
  opacity: 0.5;
}

.with-custom-padding {
  padding: 12px;
}

.is-reference-message .with-custom-padding {
  padding: 12px 0 0 0;
}

.without-custom-padding {
  padding: 0;
}

.with-bg-in {
  color: #FFFFFF;
  background-color: #30A9BE;
  border-radius: 0px 10px 10px 10px;
}

.with-bg-out {
  background-color: #FFFFFF;
  border-radius: 10px 0px 10px 10px;
}

.border-box {
  box-sizing: border-box;
}

.cursor-pointer {
  cursor: pointer;
}

.main-content .van-cell:after {
  border-bottom: 1px solid #d5d5d5;
}

.oss-flag {
  display: block;
  width: 24px;
  height: 16px;
}

.arrow-left {
  width: 20px;
  height: 20px;
  background: url('../img/arrow-left.svg');
  background-repeat: no-repeat;
}

.input-class {
  border: none;
  outline: none;
  font-size: 16px;
}

.forgot-password {
  font-size: 16px;
  text-align: right;
  opacity: 0.75;
}

.verify-words {
  min-height: 24px;
}

.verify-modal-body {
  min-height: 255px;
}

.verify-img-box {
  width: 300px;
  height: 225px;
}

.verify-dot {
  position: absolute;
  display: flex;
  justify-content: center;
  width: 20px;
  height: 20px;
  line-height: 20px;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.7;
}
.verify-operate {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
}
.verify-revoke {
  width: 24px;
  height: 24px;
  background: url('../img/light-chat-msg-revoke.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.verify-refresh {
  width: 24px;
  height: 24px;
  background: url('../img/voice-operate-restart.svg');
}
.voice-loading {
  width: 24px;
  height: 24px;
  background: url('../img/voice-loading.svg');
}
.send-verification-code {
  width: 20px;
  height: 20px;
  background: url('../img/send-verification-code.svg');
}

.full-width-offcanvas.offcanvas {
  width: 100%;
  border-left: none;
}

.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.5s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

.select-version-language-offcanvas-select .offcanvas-select-item {
  font-size: 18px;
  text-align: center;
}
.offcanvas-select-item {
  cursor: pointer;
}

.search-contact {
  width: 16px;
  height: 16px;
  background: url('../img/search-contact.svg');
}

/* 服务 */
.nav-service-offcanvas {
  width: 235px;
}
.nav-service-offcanvas-avatar {
  width: 48px;
  height: 48px;
}
.nav-service-offcanvas-avatar img {
  border-radius: 4px;
}
.nav-service-offcanvas-item {
  cursor: pointer;
}
.nav-service-logout-item {
  width: fit-content;
  height: 32px;
  border-radius: 16px;
  background-color: #d9d9d9;
  cursor: pointer;
}
.add-friend-notice-panel {
  height: 38px;
  background-color: rgba(1, 151, 176, 0.10);
}
.add-friend-notice-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  background-color: #EB4F41;
}
.add-friend-apply-offcanvas .left {
  width: 38px;
  height: 38px;
}
.add-friend-apply-offcanvas .left .avatar {
  border-radius: 4px;
}

.search-type-mobile-code {
  padding: 6px;
  box-sizing: content-box;
  border-radius: 8px;
  background-color: rgba(1, 151, 176, 0.05);
}
.search-type-mobile-code .flag {
  width: 24px;
  height: 16px;
}
.search-type-email-box {
  height: 33px;
}

.recommend-friend-item {
  width: 100px;
  height: 100px;
}
.recommend-friend-item .recommend-friend-avatar {
  border-radius: 4px;
}
.recommend-friend-item .recommend-friend-info {
  position: absolute;
  width: 100%;
  padding: 0 5px;
  left: 0;
  bottom: 5px;
  color: #fff !important;
}

.qrcode-type-title {
  border-bottom: 1px solid transparent;
}
.qrcode-type-title.selected {
  border-bottom: 1px solid #30A9BE;
}

.flag {
  width: 24px;
  height: 16px;
}

.qrcode-img {
  width: 240px;
  height: 240px;
  display: block;
}

.carousel-control-next-icon, .carousel-control-prev-icon {
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.3);
  box-shadow: 0px 0px 15px 0px rgba(0, 76, 89, 0.5);
  background-size: 80% 80%;
}

.carousel-indicators .inactive {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  margin: 0 5px;
  opacity: 0.5;
}
.carousel-indicators .active {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  margin: 0 5px;
  opacity: 1;
}

.menu-item-conversation {
    position: relative;
}
.menu-item-conversation .num {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    right: 2px;
    top: 2px;
    width: 20px;
    height: 20px;
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    line-height: 15px;
    border-radius: 65%;
    color: #fff;
    background: #f00;
}
.isPC .menu-item-conversation .num {
    top: calc(50% - 32px);
}