#ywkf-chat,
#weChat-consulting,
#service-phone {
  display: none !important;
}

.side a.ck-consult-side {
  color: #fff;
  background: linear-gradient(140deg, #0d5ba8, #1a7fd4);
  border-color: rgba(46, 230, 255, .72);
  box-shadow: 0 8px 24px rgba(13, 91, 168, .28);
}

.side {
  top: 204px;
  max-height: calc(100vh - 220px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  transition: top .18s ease, max-height .18s ease;
}

.side::-webkit-scrollbar {
  display: none;
}

.ck-consult-modal[hidden] {
  display: none !important;
}

.ck-wechat-modal[hidden] {
  display: none !important;
}

.ck-consult-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.ck-consult-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 16, 31, .72);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.ck-consult-modal__panel {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  height: min(90vh, 900px);
  border: 1px solid rgba(46, 230, 255, .38);
  border-radius: 20px;
  background: #eef5fb;
  box-shadow: 0 32px 90px rgba(0, 20, 40, .46);
  overflow: hidden;
}

.ck-consult-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #c9dceb;
  border-radius: 50%;
  background: #fff;
  color: #24445f;
  font: 24px/1 Arial, sans-serif;
  box-shadow: 0 6px 18px rgba(8, 45, 78, .16);
  cursor: pointer;
}

.ck-consult-modal__close:hover {
  color: #0d5ba8;
  border-color: #63bfe2;
}

.ck-consult-modal__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #eef5fb;
}

body.ck-consult-lock {
  overflow: hidden;
}

.ck-wechat-modal {
  position: fixed;
  inset: 0;
  z-index: 1220;
  display: grid;
  place-items: center;
  padding: 22px;
}

.ck-wechat-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 16, 31, .74);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.ck-wechat-modal__panel {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  box-sizing: border-box;
  border: 1px solid rgba(46, 230, 255, .38);
  border-radius: 20px;
  padding: 30px 28px 25px;
  background: #fff;
  text-align: center;
  box-shadow: 0 32px 90px rgba(0, 20, 40, .5);
}

.ck-wechat-modal__close {
  position: absolute;
  top: 11px;
  right: 11px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #d5e3ee;
  border-radius: 50%;
  background: #fff;
  color: #29465f;
  font: 23px/1 Arial, sans-serif;
  cursor: pointer;
}

.ck-wechat-modal__icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(140deg, #0d5ba8, #1a7fd4);
  color: #fff;
}

.ck-wechat-modal__icon svg {
  width: 26px;
  height: 26px;
}

.ck-wechat-modal h2 {
  margin: 0;
  color: #102a43;
  font-size: 23px;
}

.ck-wechat-modal p {
  margin: 8px 0 18px;
  color: #60758b;
  font-size: 13px;
  line-height: 1.7;
}

.ck-wechat-modal__qr {
  width: min(260px, 76vw);
  margin: 0 auto;
  padding: 9px;
  border: 1px solid #dbe8f2;
  border-radius: 14px;
  background: #fff;
}

.ck-wechat-modal__qr img {
  display: block;
  width: 100%;
  height: auto;
}

.ck-wechat-modal small {
  display: block;
  margin-top: 14px;
  color: #8193a5;
  font-size: 11.5px;
}

.ck-wechat-modal__phone {
  display: inline-block;
  margin-top: 5px;
  color: #0d5ba8;
  font: 700 18px/1.5 Consolas, monospace;
  text-decoration: none;
}

@media (max-width: 820px) {
  .mobilebar {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }

  .mobilebar a {
    min-width: 0;
    font-size: 11px !important;
  }

  .side {
    top: 96px;
    max-height: none;
    overflow: visible;
  }

  .ck-consult-modal {
    padding: 0;
  }

  .ck-consult-modal__panel {
    width: 100%;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .ck-consult-modal__close {
    top: 10px;
    right: 10px;
  }

  .ck-wechat-modal {
    padding: 14px;
  }

  .ck-wechat-modal__panel {
    padding: 27px 20px 22px;
  }
}
