.tms-im {
  position: fixed;
  bottom: 100px;
  right: 0px;
  padding-right: 0px;
  background-color: #1E7EFB;
  color: #ffffff;
  height: 27px;
  line-height: 42px;
  cursor: pointer;
  text-align: center;
  z-index: 99999999;
  box-shadow: 0px 2px 10px 0 rgb(15 66 76 / 25%);
  transition: box-shadow 0.4s ease;
  display: flex;
  align-items: center;
  padding-left: 5px;
  border-bottom-left-radius: 21px;
  border-top-left-radius: 21px;
}
.tms-im .text {
  user-select: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  padding-left: 4px;
  width: 0;
}
.tms-im:hover .text {
  width: 60px;
}

.tms-im-shadow:hover {
  box-shadow: 0px 4px 10px 0 rgb(15 66 76 / 70%);
}

.tms-im-count {
  position: absolute;
  top: -11px;
  left: 10px;
  min-width: 10px;
  height: 16px;
  color: #ffffff;
  font-weight: normal;
  font-size: 12px;
  line-height: 16px;
  white-space: nowrap;
  text-align: center;
  background: #ff4d4f;
  border-radius: 10px;
  box-shadow: 0 0 0 1px #ffffff;
  transition: background 0.2s;
  padding: 0 3px;
  z-index: 1000;
}

.tms-im-down {
  width: 0px;
  height: 0px;
  border-width: 5px;
  border-style: solid;
  border-color: #fff #1E7EFB #1E7EFB #1E7EFB;
  margin-left: 4px;
  cursor: pointer;
}

.tms-im-down:hover {
  border-color: #b5cdeb #1E7EFB #1E7EFB #1E7EFB;
}

.tms-im-down-list {
  position: absolute;
  width: 100px;
  top: 50px;
  right: 0;
  border: 1px solid #ddd;
  color: #333;
  text-align: right;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.tms-im-down-item {
  height: 32px;
  line-height: 32px;
  padding-right: 5px;
  transition: padding-right 0.2s ease-in-out;
}
.tms-im-down-item:hover {
  padding-right: 10px;
}

.tms-im-hide {
  display: none;
}
.tms-im-show {
  display: block;
}

@media print {
  .tms-im,.tms-im-count,.tms-im-down,.tms-im-show {
    display: none;
  }
}
