.msg-row {
  width: 100%;
  display: flex;
  margin-top: 20px;
  box-sizing: border-box;
  padding-right: 40rpx;
  /* padding-right: 36rpx; */
}

.msg-row.timestamp {
  flex-direction: column;
  align-items: center;
  padding-right: 0px;
}

.msg-time {
  background-color: #d2d2d2;
  box-sizing: border-box;
  padding: 2px 5px;
  border-radius: 5px;
  font-size: 12px;
  color: #fff;
}

.msg-row.user {
  flex-direction: row-reverse;
  padding-right: 0;
  /* padding-left: 40px; */
  padding-left: 36rpx;
}

.msg-img {
  width: 70rpx;
  height: 70rpx;
  overflow: hidden;
  flex-shrink: 0;
}

.img-head {
  width: 70rpx;
}

.msg-body {
  margin-left: 20rpx;
  box-sizing: border-box;
  position: relative;
}

.msg-body.user {
  margin-left: 0;
  margin-right: 10rpx;
  box-sizing: border-box;
  position: relative;
}

.msg-name {
  font-size: 12px;
  color: #969696;
}

.msg-content-main {
  display: flex;
  width: 100%;
  align-items: center;
  box-sizing: border-box;
  padding-top: 8px;
  border-radius: 10rpx;
  overflow: hidden;
}

.msg-notrans-tips {
  width: 100%;
  font-size: 26rpx;
  line-height: 46rpx;
  color: #969696;
}

.msg-disclaimer {
  margin-top: 24rpx;
  font-size: 26rpx;
  font-weight: 400;
  color: rgba(150, 150, 150, 1);
  line-height: 36rpx;
  /* display: flex; */
  /* justify-content: center; */
}

.msg-disclaimer.warn {
  color: #F62525;
}

.msg-disclaimer.warn.center {
  text-align: center;
}

.msg-disclaimer-link {
  color: var(--hh-main-color, #0592f5);
  text-decoration: underline;
}

.msg-content-main.user {
  padding-top: 0px;
  /* flex-direction: row-reverse; */
}

.msg {
  background-color: #fff;
  box-sizing: border-box;
  padding: 0 0 20rpx;
  border-radius: 10rpx;
  overflow: hidden;
  position: relative;
}

.msg::before {
  content: '';
}

.msg.user {
  background-color: #c4e7ff;
}

.msg.user::before {
  border-top: 0px solid #fff;
  border-left: 0px solid transparent;
}

.msg.user::after {
  content: '';
}

.msg.text {
  font-size: 15px;
  color: #666;
  word-wrap: break-word;
  word-break: break-all;
  white-space: normal;
  box-sizing: border-box;
  padding: 20rpx;
}

.text-link {
  color: var(--hh-main-color, #0592f5);
}

.text-link::after .text-link::before {
  content: ' ';
}


.msg.user.text {
  color: #333;
}

.msg.image {
  /* max-width: 100px; */
  width: 330rpx;
  max-height: 400rpx;
  border-radius: 5px;
  overflow: hidden;
  padding: 0px;
}

.msg.image::before {
  border-top: 0px solid #fff;
  border-left: 0px solid transparent;
}

.msg.audio {
  width: 100px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.msg.video::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  z-index: 99;
  width: 100%;
  height: 100%;
  border: none;
  background-image: url('https://imgs.hh-medic.com/icon/wmp/hhdoctor/video-play.png');
  background-position: center;
  background-size: 70rpx 70rpx;
  background-repeat: no-repeat;
}

/* 
.msg.video.autohight {
  width: 300rpx;
  height: auto;
}

.msg.video.autowidth {
  height: 300rpx;
  width: auto;
} */

.msg-progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
}

.sound-icon {
  border: 2px solid #646464;
  border-left: 2px solid transparent;
  border-bottom: 2px solid transparent;
  border-top: 2px solid transparent;
  border-radius: 50%;
  position: absolute;
}

.sound-icon.user {
  border: 2px solid #646464;
  border-right: 2px solid transparent;
  border-bottom: 2px solid transparent;
  border-top: 2px solid transparent;
}

.sound-icon.arc1 {
  width: 0px;
  height: 0px;
  border-width: 3px;
  left: 8px;
  top: 17px;
}

.sound-icon.arc2 {
  width: 10px;
  height: 10px;
  left: 5px;
  top: 13px;
}

.sound-icon.arc3 {
  width: 20px;
  height: 20px;
  left: 0px;
  top: 8px;
}

.sound-icon.arc1.user {
  left: auto;
  right: 8px;
}

.sound-icon.arc2.user {
  left: auto;
  right: 5px;
}

.sound-icon.arc3.user {
  left: auto;
  right: 0px;
}

.sound-length {
  margin-left: 10px;
  line-height: 40px;
  height: 40px;
  font-size: 12px;
  color: #969696;
}

.sound-length.user {
  margin-left: auto;
  margin-right: 10px;
}

.msg-body.card {
  width: 100%;
}

.msg.card {
  width: 100%;
  box-shadow: 0px 1rpx 7rpx 5rpx rgba(240, 240, 240, 0.5);
  border-radius: 10rpx 10rpx 0 0;
  overflow: hidden;
}

.msg.card.big {
  padding: 20rpx;
}

.msg.card.no-foot {
  padding: 0;
}

.msg-element {
  border-bottom: solid 0.5px #d2d2d2;
}

.msg-card-head {
  font-size: 32rpx;
  line-height: 80rpx;
  font-weight: bold;
  color: #3A69C4;
  box-sizing: border-box;
  padding-left: 30rpx;
  position: relative;
  background-color: #E2ECFF;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.msg-card-head.orange {
  color: #FB8420;
  background-color: #FFEEE2;
}

.msg-card-head.green {
  color: #3CA35D;
  background-color: #E9F6ED;
}

.msg-card-mark {
  width: 100rpx;
  height: 30rpx;
  background: #2786F2;
  border-radius: 8rpx;
  color: #fff;
  padding: 3rpx 10rpx;
  font-size: 22rpx;
  vertical-align: middle;
  font-family: PingFangSC-Regular;
  font-weight: 400;
}

.msg-card-mark.link {
    position: absolute;
    right: 30rpx;
    background: none;
    width: auto;
    height: auto;
    color: inherit;
    font-size: 26rpx;
    white-space: nowrap;
  }

.msg-card-mark.link::after {
    content: '';
    display: inline-block;
    width: 14rpx;
    height: 14rpx;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg) translate(2rpx, -4rpx);
    margin-left: 8rpx;
  }


.msg-main-wrap {
  width: 100%;
  box-sizing: border-box;
  padding: 0;
}

.msg-card-body {
  box-sizing: border-box;
  padding: 20rpx 0;
  overflow: hidden;
}

.msg-card-body.with-foot {
  border-bottom: solid 1px #E6E6E6;
}

.msg-card-body.image,
.msg-card-body.expert {
  padding: 0;
  position: relative;
}

.msg-card-body.medicine {
  padding-bottom: 5px;
  display: flex;
  flex-direction: column;
}

.msg-card-body.hideline {
  border-bottom: none;
}

.msg-card-body.home-check-body {
  padding-bottom: 13rpx;
}

.msg-card-mask {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, .2);
  min-height: 60rpx;
  font-size: 26rpx;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: 5rpx 10rpx;
  color: #fff;
}

.summary-row {
  display: flex;
  margin-bottom: 5px;
  box-sizing: border-box;
  padding: 0 30rpx;
}

.summary-row:last-child {
  margin-bottom: 0px;
}

.summary-row.tip {
  margin-left: 10px;
}

.summary-row.tip::before {
  content: '';
  position: relative;
  left: -10px;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #666;
}

.summary {
  font-size: 30rpx;
  line-height: 46rpx;
  color: #323232;
}

.summary-tip {
  font-size: 26rpx;
  color: red;
}

.summary.name {
  /* width: 158rpx; */
  /* min-width: 158rpx; */
  margin-right: 30rpx;
}

.summary.value {
  flex-grow: 1;
  /* width: 160rpx; */
  text-align: right;
}

.summary.medicine {
  font-size: 15px;
  color: #333;
}


.show-more {
  margin: 18rpx 30rpx 0;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.show-more-default {
  flex-grow: 1;
  color: #999;
  font-size: 26rpx;
}

.show-more-text {
  flex-grow: 1;
  color: #999;
  font-size: 26rpx;
}

.show-more-text:before {
  content: '详情';
}


.show-more-right {
  color: #999;
  font-size: 26rpx;
  width: 98%;
  display: flex;
  justify-content: space-between;
}

.show-more-right:after {
  content: '更多权益';
}


.show-more-text-right::after {
  content: '详情';
  position: relative;
  color: #999;
  font-size: 26rpx;
  top: -2px;
}

.show-more-text.center,
.show-more-text.custom {
  color: #999;
  font-size: 26rpx;
}

.show-more-text.center:before,
.show-more-text.custom:before {
  content: '';
}

.show-more-text.center {
  text-align: center;
}

.show-more-text.blue {
  color: #3A69C4;
}

.show-more-text.blue::before {
  content: '';
}

.show-more-arraw {
  width: 14rpx;
  height: 14rpx;
  border-top: 1px solid #969696;
  border-right: 1px solid #969696;
  transform: rotate(45deg) translate(2rpx, -4rpx);
}

.show-more-btn {
  width: 100%;
  height: 35px;
  border-radius: 5px;
  background-color: var(--hh-main-color, #0592f5);
  color: #fff;
  text-align: center;
  line-height: 35px;
  font-size: 14px;
}

.show-more-btn.btn-b2c {
  background-color: #FC8E20;
}

.show-more-btn.view-order {
  background-color: #fff;
  /* color: var(--hh-main-color, #F98924); */
  /* border: 1px solid var(--hh-main-color, #F98924); */
  color: #F98924;
  border: 1px solid #F98924;
}

.disabled.disabled {
  background-color: #d2d2d2;
  color: #000;
}

.jump-link {
  width: 100%;
  font-size: 30rpx;
  line-height: 80rpx;
  text-align: center;
  margin-top: 13rpx;
  color: var(--hh-main-color, #0592f5);
  text-decoration: underline;
}
