/* Three persistent entry points for the WeChat mini-program support center. */
body {
  padding-bottom: 76px;
}

.zy-service-top,
.zy-service-bottom,
.zy-service-side {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  box-sizing: border-box;
}

.zy-service-top *,
.zy-service-bottom *,
.zy-service-side * {
  box-sizing: border-box;
}

.zy-service-top {
  position: sticky;
  top: 0;
  z-index: 1040;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 8px 20px;
  background: #eafaf2;
  border-bottom: 1px solid #b9e9cd;
  box-shadow: 0 3px 12px rgba(7, 72, 41, .10);
  color: #164a32;
}

.zy-service-top__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.zy-service-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #05bd66;
  box-shadow: 0 0 0 4px rgba(5, 189, 102, .15);
}

.zy-service-top__hint {
  font-size: 13px;
}

.zy-service-top__button,
.zy-service-bottom__button,
.zy-service-side__primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #05bd66;
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
  transition: background .2s, transform .2s;
}

.zy-service-top__button:hover,
.zy-service-bottom__button:hover,
.zy-service-side__primary:hover,
.zy-service-top__button:focus,
.zy-service-bottom__button:focus,
.zy-service-side__primary:focus {
  background: #008e4a;
  color: #fff;
  transform: translateY(-1px);
}

.zy-service-top__button {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  white-space: nowrap;
}

.zy-service-side {
  position: fixed;
  z-index: 1030;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  width: 320px;
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  padding: 22px;
  border: 1px solid #d9e8de;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(24, 58, 44, .24);
  color: #25403a;
}

.zy-service-side__heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.zy-service-side__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: #e5f9ed;
  color: #04a957;
  font-size: 25px;
}

.zy-service-side__heading strong {
  display: block;
  font-size: 21px;
  line-height: 1.25;
  color: #143d2a;
}

.zy-service-side__heading div > span {
  display: inline-block;
  margin-top: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #e9f8ed;
  color: #009d50;
  font-size: 12px;
  font-weight: 700;
}

.zy-service-side__description {
  margin: 18px 0;
  font-size: 14px;
  line-height: 1.65;
  color: #526477;
}

.zy-service-side__primary {
  width: 100%;
  min-height: 52px;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 7px 17px rgba(5, 189, 102, .24);
  font-size: 15px;
  text-align: center;
}

.zy-service-side__phone {
  display: block;
  margin-top: 10px;
  padding: 12px 8px;
  border: 2px solid #1565ed;
  border-radius: 12px;
  color: #155be5;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.zy-service-side__phone:hover,
.zy-service-side__phone:focus {
  background: #edf4ff;
  text-decoration: none;
}

.zy-service-side__hours {
  margin: 10px 0 0;
  color: #8898ab;
  font-size: 12px;
  text-align: center;
}

.zy-service-bottom {
  position: fixed;
  z-index: 1040;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 68px;
  padding: 10px 20px;
  border-top: 1px solid #bfe9d0;
  background: #f4fcf7;
  box-shadow: 0 -5px 20px rgba(20, 72, 44, .11);
  color: #173d2b;
}

.zy-service-bottom__copy strong,
.zy-service-bottom__copy span {
  display: block;
}

.zy-service-bottom__copy strong {
  font-size: 16px;
}

.zy-service-bottom__copy span {
  margin-top: 3px;
  color: #5f796c;
  font-size: 12px;
}

.zy-service-bottom__button {
  min-width: 128px;
  padding: 11px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 1500px) {
  .zy-service-side {
    width: 260px;
    padding: 17px;
  }
}

@media (max-width: 900px) {
  .zy-service-side {
    top: auto;
    bottom: 82px;
    left: 8px;
    transform: none;
    width: 165px;
    padding: 10px;
    border-radius: 15px;
  }

  .zy-service-side__heading {
    gap: 7px;
  }

  .zy-service-side__icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    font-size: 17px;
  }

  .zy-service-side__heading strong {
    font-size: 15px;
  }

  .zy-service-side__heading div > span,
  .zy-service-side__description,
  .zy-service-side__phone,
  .zy-service-side__hours {
    display: none;
  }

  .zy-service-side__primary {
    min-height: 38px;
    margin-top: 8px;
    padding: 7px 4px;
    font-size: 11px;
  }
}

@media (max-width: 650px) {
  body {
    padding-bottom: 68px;
  }

  .zy-service-top {
    min-height: 47px;
    gap: 8px;
    justify-content: space-between;
    padding: 7px 10px;
  }

  .zy-service-top__label {
    font-size: 13px;
  }

  .zy-service-top__hint,
  .zy-service-bottom__copy span {
    display: none;
  }

  .zy-service-top__button {
    padding: 7px 10px;
    font-size: 12px;
  }

  .zy-service-bottom {
    min-height: 60px;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
  }

  .zy-service-bottom__copy strong {
    font-size: 13px;
  }

  .zy-service-bottom__button {
    min-width: 100px;
    padding: 9px 11px;
    font-size: 12px;
  }

  .zy-service-side {
    bottom: 70px;
  }
}
