/* Qinglong homepage stability and navigation changes, 2026-08-25. */
html {
  scrollbar-gutter: stable;
}

#app {
  overflow-y: scroll !important;
  overflow-x: hidden !important;
  overflow-anchor: none;
  overscroll-behavior-y: contain;
}

.navHead {
  z-index: 50;
}

.navHead .lgBtn {
  display: none !important;
}

.ql-onepage-section {
  width: 100%; padding: 72px 0 0; overflow: hidden; background: #fff; scroll-margin-top: 88px;
}
.ql-onepage-title {
  margin: 0 0 24px; color: #161c2d; font-size: 42px; font-weight: 800; line-height: 1.25; text-align: center;
}
.ql-onepage-frame {
  display: block; width: 100%; min-height: 900px; border: 0; overflow: hidden; background: #fff;
}

[data-ql-trial], .syBtn, .freeBtn, .lanLocalBtn, .tl1, .tl2 {
  cursor: pointer !important;
}

.ql-modal-open {
  overflow: hidden !important;
}

.ql-trial-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(13, 22, 42, .66);
  backdrop-filter: blur(5px);
}

.ql-trial-modal.is-open {
  display: flex;
}

.ql-trial-dialog {
  position: relative;
  width: min(420px, calc(100vw - 36px));
  padding: 34px 34px 28px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .3);
  text-align: center;
}

.ql-trial-dialog h2 {
  margin: 0 0 20px;
  color: #17233d;
  font-size: 25px;
  line-height: 1.35;
}

.ql-trial-dialog img {
  display: block;
  width: min(300px, 100%);
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
}

.ql-trial-dialog p {
  margin: 16px 0 0;
  color: #64708a;
  font-size: 16px;
}

.ql-trial-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #eef2f8;
  color: #39445c;
  font-size: 29px;
  line-height: 34px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .navHead {
    box-sizing: border-box;
    height: auto !important;
    min-height: 64px;
    padding: 8px 10px !important;
    line-height: 1.2 !important;
    gap: 8px;
  }
  .navHead > img { width: 76px !important; flex: 0 0 76px; }
  .navHead .rjVox { min-width: 0; gap: 7px !important; justify-content: flex-end; }
  .navHead .rjVox > div {
    width: auto !important;
    min-width: 0;
    padding: 5px 2px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-align: center;
  }
  .navHead .syBtn { padding: 7px 8px !important; border-radius: 16px; }

  .firstBg {
    box-sizing: border-box;
    width: 100% !important;
    padding: 44px 20px 34px !important;
    flex-direction: column;
    align-items: stretch !important;
    background-size: cover !important;
  }
  .firstBg > div { width: 100% !important; flex: 0 0 auto !important; }
  .firstBg .fdix { box-sizing: border-box; width: 100% !important; padding: 0 !important; }
  .firstBg .f1 { width: auto !important; font-size: 34px !important; line-height: 1.25 !important; }
  .firstBg .f2 { width: auto !important; margin: 12px 0 26px !important; font-size: 24px !important; }
  .firstBg .freeBtn { padding: 10px 22px !important; font-size: 18px !important; line-height: 1.35 !important; }
  .firstBg .imagebg { margin-top: 30px; }
  .firstBg .imagebg > img { width: 100% !important; height: auto !important; }

  .whyChose { padding: 0 16px 44px; }
  .whyChose .whyChoseTl {
    padding: 54px 0 28px !important;
    font-size: 31px !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
  }
  .whyChose > div:last-child {
    flex-direction: column !important;
    align-items: center;
    gap: 16px !important;
  }
  .whyChose .whyChoseItem {
    box-sizing: border-box;
    width: min(330px, 100%) !important;
    padding: 25px 24px !important;
    gap: 14px !important;
    border-radius: 22px !important;
  }
  .whyChose .whyChoseItem > p { font-size: 20px !important; }
  .whyChose .whyChoseItem > div { font-size: 15px !important; line-height: 1.55 !important; }

  .secondBg { box-sizing: border-box; width: 100% !important; height: auto !important; padding: 46px 12px 52px; }
  .secondBg .tlBt { padding-top: 0 !important; font-size: 30px !important; }
  .secondBg .tlDes { font-size: 15px !important; line-height: 1.5 !important; }
  .secondItem { width: 100%; margin-top: 34px !important; gap: 0 !important; justify-content: space-between !important; }
  .secondItem .iiitem { box-sizing: border-box; flex: 0 0 33.333%; min-width: 0; text-align: center; }
  .secondItem .iiitem > div { font-size: 34px !important; }
  .secondItem .iiitem > div:last-of-type { font-size: 14px !important; }

  .lanLocal { margin-top: 0 !important; }
  .lanLocal .topDiv,
  .lanLocal .mid,
  .lanLocal .btom {
    box-sizing: border-box;
    width: 100% !important;
    height: auto !important;
    min-height: 520px;
    padding: 64px 20px 34px !important;
    background-size: min(72vw, 320px) auto !important;
    background-position-y: bottom !important;
  }
  .lanLocal .mid { background-position-x: 100% !important; }
  .lanLocal .lanLocalTl { font-size: 32px !important; line-height: 1.3 !important; }
  .lanLocal .lanLocalDes { width: auto !important; font-size: 17px !important; line-height: 1.65 !important; }
  .lanLocal .lanLocalBtn { margin-top: 26px !important; padding: 10px 22px !important; font-size: 17px !important; }

  /* The iframe buttons already have their own click layer. The transparent
     parent overlays are only needed by older desktop browsers and can widen
     the internal scroller when cards stack on a phone. */
  .ql-frame-card-overlay { display: none !important; }

  .ql-onepage-section { padding-top: 46px; }
  .ql-onepage-title { font-size: 30px; }
  .ql-trial-dialog { padding: 30px 22px 24px; }
  .ql-trial-dialog h2 { font-size: 22px; }
}
