@charset "utf-8";

/* 客服中心：在参考站 kf 样式上补页脚、详情与窄屏适配 */

.page-portal-kefu {
  background: #fff;
}

.page-portal-kefu .kbj {
  min-height: 720px;
  overflow: hidden;
}

.page-portal-kefu .kmain {
  overflow: hidden;
}

.page-portal-kefu .kmain::after {
  content: "";
  display: table;
  clear: both;
}

.page-portal-kefu .kl {
  overflow: visible;
}

.page-portal-kefu .kleft {
  height: auto !important;
  min-height: 624px;
  overflow: visible !important;
}

.page-portal-kefu .kefu-contact {
  width: 100%;
  box-sizing: border-box;
  padding: 4px 14px 20px;
  text-align: center;
  color: #555;
  font-size: 13px;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  line-height: 1.45;
}

.page-portal-kefu .kefu-contact__title {
  margin: 0 0 6px;
  color: #555;
  font-size: 15px;
  line-height: 1.4;
}

.page-portal-kefu .kefu-contact__qr {
  height: auto;
  margin: 0 auto 10px;
}

.page-portal-kefu .kefu-contact__qr img {
  display: block;
  width: 118px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 4px;
  background: #fff;
  border: 1px solid #e6e6e6;
  box-sizing: border-box;
}

.page-portal-kefu .kefu-contact__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 118px;
  margin: 10px auto 0;
  text-align: left;
  color: #555;
  line-height: 1.4;
}

.page-portal-kefu .kefu-contact__qq strong {
  display: block;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.02em;
  word-break: break-all;
}

.page-portal-kefu .kefu-contact__item a {
  display: block;
  line-height: 0;
}

.page-portal-kefu .kefu-contact__item img {
  display: block;
  padding: 0;
  border: 0;
}

.page-portal-kefu .chang--list .chang2 img {
  width: 36px;
  height: 11px;
  vertical-align: middle;
  margin-left: 6px;
}

.page-portal-kefu .kefu-detail-contact {
  margin-top: 12px;
  text-align: left;
  color: #2f3030;
  font-size: 14px;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  line-height: 1.5;
}

.page-portal-kefu .kefu-detail-contact__label {
  margin: 0 0 8px;
  color: #555;
  font-size: 15px;
  line-height: 1.4;
}

.page-portal-kefu .kefu-detail-contact__wechat {
  margin-bottom: 16px;
}

.page-portal-kefu .kefu-detail-contact__wechat img {
  display: block;
  width: 148px;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 4px;
  background: #fff;
  border: 1px solid #e6e6e6;
  box-sizing: border-box;
  vertical-align: top;
}

.page-portal-kefu .kefu-detail-contact__qq-num {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.02em;
}

.page-portal-kefu .portal-kefu-empty {
  color: #666;
  line-height: 40px;
}

.page-portal-kefu .portal-kefu-detail,
.page-portal-kefu .portal-kefu-detail p,
.page-portal-kefu .portal-kefu-detail span,
.page-portal-kefu .portal-kefu-detail strong {
  color: #2f3030;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.page-portal-kefu .chang--detail .portal-kefu-detail img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin-left: 0;
  vertical-align: top;
}

.page-portal-kefu .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-portal-kefu .qhy a {
  display: block;
  margin-top: 35px;
  margin-left: 300px;
}

.page-portal-kefu .qhy a.btn01 {
  width: 230px;
  height: 48px;
  line-height: 48px;
  background: url(../cscs/nreg/findpwd.png) no-repeat left;
  text-align: right;
  color: red;
  font-size: 16px;
  cursor: pointer;
}

.page-portal-kefu .qhy a.btn01:hover {
  background-image: url(../cscs/nreg/findpwda.png);
  color: red !important;
}

.page-portal-kefu .qhy a.btn03 {
  width: 144px;
  height: 48px;
  background: url(../cscs/nreg/forget.png) no-repeat left;
  cursor: pointer;
  text-indent: -9999px;
}

.page-portal-kefu .qhy a.btn03:hover {
  background-image: url(../cscs/nreg/forgeta.png);
}

.page-portal-kefu .qhy a.btn04 {
  width: 144px;
  height: 48px;
  background: url(../cscs/nreg/update.png) no-repeat left;
  cursor: pointer;
  text-indent: -9999px;
}

.page-portal-kefu .qhy a.btn04:hover {
  background-image: url(../cscs/nreg/updatea.png);
}

/* 页脚沿用 layout.footer / app.css，压过客服皮肤里 a:hover !important */
.page-portal-kefu .site-footer {
  position: relative;
  z-index: 2;
  margin-top: 0;
}

.page-portal-kefu .footer-nav a:hover {
  color: #f5f5f5 !important;
}

.page-portal-kefu .site-footer__icp a:hover {
  color: rgba(255, 255, 255, 0.55) !important;
}

.page-portal-kefu .chang--detail {
  padding-top: 60px;
  padding-bottom: 48px;
}

.page-portal-kefu .kl__text {
  display: none;
}

@media (max-width: 1099px) {
  .page-portal-kefu .kh a {
    display: none !important;
  }
}

@media (max-width: 960px) {
  html:has(.page-portal-kefu) {
    height: 100%;
  }

  .page-portal-kefu {
    overflow-x: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
  }

  .page-portal-kefu .kbj {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: visible;
    background: #fff;
  }

  .page-portal-kefu .kmain {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: visible;
    box-sizing: border-box;
  }

  .page-portal-kefu .kmain::after {
    display: none;
  }

  .page-portal-kefu .site-footer {
    flex-shrink: 0;
    margin-top: auto;
  }

  .page-portal-kefu .kh {
    display: flex;
    align-items: flex-end;
    box-sizing: border-box;
    width: 100%;
    min-height: 148px;
    margin-top: 0;
    padding: 10px 16px 12px;
    background: url(../cscs/kfzx_bg.png) center bottom / cover no-repeat;
  }

  .page-portal-kefu .kh a {
    display: none !important;
  }

  .page-portal-kefu .kleft,
  .page-portal-kefu .kright {
    float: none;
    display: block;
    width: auto;
    height: auto;
    min-height: 0;
    margin: 0;
    box-sizing: border-box;
  }

  .page-portal-kefu .kleft {
    width: 100%;
    margin: 0 0 12px;
    padding: 0;
    background: transparent;
  }

  .page-portal-kefu .kl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 10px;
    overflow: visible;
    box-sizing: border-box;
    background: #eef3fb;
    border-radius: 0;
  }

  .page-portal-kefu .kl dd {
    width: auto;
    height: auto;
    line-height: normal;
    background: transparent;
  }

  .page-portal-kefu .kl dd.me {
    background: transparent;
  }

  .page-portal-kefu .kl a {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 42px;
    line-height: 42px;
    padding: 0 8px;
    border-radius: 0;
    background: #fff;
    color: #3d4f73;
    font-size: 14px;
    font-weight: 600;
  }

  .page-portal-kefu .kl a:hover {
    background: #fff !important;
    color: #126aff !important;
  }

  .page-portal-kefu .kl dd.me a,
  .page-portal-kefu .kl dd.me a:hover {
    background: #126aff !important;
    color: #fff !important;
  }

  .page-portal-kefu .kl a img {
    display: none;
  }

  .page-portal-kefu .kl__text {
    display: inline;
  }

  .page-portal-kefu .kefu-contact {
    display: none;
  }

  .page-portal-kefu .kright {
    flex: 1 1 auto;
    padding: 8px 8px 24px;
    background: #fff;
  }

  .page-portal-kefu .chang,
  .page-portal-kefu .chang--detail {
    padding-top: 12px;
  }

  .page-portal-kefu .chang--detail {
    padding-bottom: 24px;
  }

  .page-portal-kefu .chang1 {
    width: auto;
    margin-left: 12px;
    margin-right: 12px;
  }

  .page-portal-kefu .chang2 {
    line-height: 1.7;
  }

  .page-portal-kefu .chang2 b,
  .page-portal-kefu .chang5 {
    float: none;
  }

  .page-portal-kefu .chang5 {
    display: inline;
  }

  .page-portal-kefu .chang2 a {
    word-break: break-word;
  }

  .page-portal-kefu .chang3 p {
    line-height: 1.8;
  }

  .page-portal-kefu .kefu-detail-contact__wechat img {
    width: 132px;
  }

  .page-portal-kefu .kright:has(.qhy) {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .page-portal-kefu .qhy {
    display: flex;
    flex-direction: column;
    align-items: center;
    float: none;
    width: 144px;
    max-width: calc(100% - 24px);
    margin: 8px auto 24px;
    padding: 0;
  }

  .page-portal-kefu .qhy a {
    margin: 16px auto 0;
    background-position: center;
  }

  .page-portal-kefu .qhy a.btn01 {
    width: 144px;
    background-size: contain;
  }

  .page-portal-kefu .qhy a:first-child {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .page-portal-kefu .kh {
    min-height: 120px;
    padding: 8px 12px 10px;
  }

  .page-portal-kefu .kh a {
    display: none !important;
  }

  .page-portal-kefu .kleft {
    margin: 0 0 8px;
  }

  .page-portal-kefu .chang1 {
    margin-left: 8px;
    margin-right: 8px;
  }

  .page-portal-kefu .qhy a.btn01,
  .page-portal-kefu .qhy a.btn03,
  .page-portal-kefu .qhy a.btn04 {
    max-width: 100%;
    background-size: contain;
  }
}
