.floating-service-dock {
  position: absolute;
  z-index: 900;
  top: 120px;
  left: 12px;
  width: 154px;
  transition: top .42s cubic-bezier(.22, .61, .36, 1);
  will-change: top;
}

.floating-service {
  position: relative;
  width: 154px;
  border: 2px solid #3495e6;
  background: #fff;
  box-shadow: 0 8px 24px rgba(28, 91, 145, .18);
  color: #4c5c69;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  opacity: 1;
  transform: translateX(0) scale(1);
  transform-origin: left center;
  visibility: visible;
  transition: opacity .22s ease, transform .3s cubic-bezier(.22, .61, .36, 1), visibility 0s;
}

.floating-service-head {
  display: grid;
  grid-template-columns: 22px 1fr 22px;
  align-items: center;
  min-height: 42px;
  padding: 0 6px;
  background: #3495e6;
  color: #fff;
}

.floating-service-head strong {
  font-size: 17px;
  text-align: center;
  white-space: nowrap;
}

.floating-service-chat {
  display: block;
  width: 21px;
  height: 21px;
}

.floating-service-close {
  width: 22px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.floating-service-body {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 10px 10px 13px;
}

.floating-service-divider {
  width: 100%;
  height: 1px;
  margin: 8px 0;
  background: #d8d8d8;
}

.floating-qq-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  cursor: default;
}

.floating-qq-button img {
  display: block;
  width: auto;
  height: 22px;
  margin: 0;
}

.floating-service-qr {
  display: block;
  width: 116px;
  height: 116px;
  object-fit: contain;
}

.floating-service-tip {
  margin: 10px 0 6px;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.floating-service-phone {
  color: #4c687e;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
}

.floating-service-tab {
  position: absolute;
  top: 0;
  left: -12px;
  display: flex;
  align-items: center;
  width: 28px;
  min-height: 106px;
  padding: 7px 4px;
  border: 0;
  border-radius: 0 4px 4px 0;
  background: #3495e6;
  box-shadow: 0 6px 16px rgba(28, 91, 145, .2);
  color: #fff;
  cursor: pointer;
  flex-direction: column;
  font: inherit;
  font-size: 15px;
  letter-spacing: 2px;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-110%);
  visibility: hidden;
  transition: opacity .2s ease, transform .28s cubic-bezier(.22, .61, .36, 1), visibility 0s .28s;
  writing-mode: vertical-rl;
}

.floating-service-tab-icon {
  display: block;
  width: 21px;
  height: 21px;
  margin-bottom: 5px;
  writing-mode: horizontal-tb;
}

.floating-service-dock.is-collapsed .floating-service {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-118%) scale(.96);
  visibility: hidden;
  transition: opacity .2s ease, transform .28s cubic-bezier(.55, .06, .68, .19), visibility 0s .28s;
}

.floating-service-dock.is-collapsed .floating-service-tab {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  visibility: visible;
  transition: opacity .2s ease .16s, transform .3s cubic-bezier(.22, .61, .36, 1) .12s, visibility 0s;
}

@media (max-width: 760px) {
  .floating-service-dock {
    display: none;
  }
}
