/* 帮助中心站内搜索 */
body.help .ub-help-search input[type="search"] {
  -webkit-appearance: none;
  appearance: none;
}

body.help .ub-help-search input[type="search"]::-webkit-search-cancel-button,
body.help .ub-help-search input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  display: none;
}

body.help .ub-help-search .btn {
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
}

body.help .ub-help-search .btn:focus-visible {
  outline: 2px solid #1b2c50;
  outline-offset: 2px;
}

body.help .ub-search-results {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 0 110px;
  box-sizing: border-box;
}

body.help .ub-search-results[hidden] {
  display: none;
}

body.help.ub-searching .help-mian {
  display: none;
}

body.help .ub-search-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

body.help .ub-search-summary {
  margin: 0;
  color: #5d6b82;
  font-size: 15px;
  line-height: 24px;
}

body.help .ub-search-summary strong {
  color: #2d5aff;
  font-weight: 700;
}

body.help .ub-search-clear {
  flex: 0 0 auto;
  padding: 7px 14px;
  border: 1px solid #dbe5f7;
  border-radius: 999px;
  background: #fff;
  color: #5d6b82;
  font-family: inherit;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}

body.help .ub-search-clear:hover {
  color: #2d5aff;
  border-color: #b9cdf7;
}

body.help .ub-search-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.help .ub-search-item {
  padding: 22px 26px;
  border: 1px solid #e9effa;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(27, 44, 80, .04);
  transition: border-color .2s ease, box-shadow .2s ease;
}

body.help .ub-search-item:hover {
  border-color: #b9cdf7;
  box-shadow: 0 14px 34px rgba(45, 90, 255, .1);
}

body.help .ub-search-cat {
  margin: 0 0 6px;
  color: #8a96a8;
  font-size: 12.5px;
  line-height: 18px;
  letter-spacing: .2px;
}

body.help .ub-search-title {
  display: inline-block;
  color: #1b2c50;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
}

body.help .ub-search-title:hover {
  color: #2d5aff;
}

body.help .ub-search-snippet {
  margin: 8px 0 0;
  color: #5d6b82;
  font-size: 14px;
  line-height: 25px;
}

body.help .ub-search-hits {
  margin: 10px 0 0;
  color: #9aa5b8;
  font-size: 12.5px;
  line-height: 20px;
}

body.help .ub-search-results mark {
  padding: 0 2px;
  border-radius: 3px;
  background: #e8efff;
  color: #2d5aff;
  font-weight: 600;
}

body.help .ub-search-loading,
body.help .ub-search-error {
  margin: 0;
  padding: 26px;
  border: 1px solid #e9effa;
  border-radius: 14px;
  background: #fff;
  color: #7a8699;
  font-size: 14px;
  text-align: center;
}

body.help .ub-search-empty {
  padding: 46px 26px;
  border: 1px solid #e9effa;
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

body.help .ub-search-empty-title {
  margin: 0;
  color: #1b2c50;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
}

body.help .ub-search-empty-tip {
  margin: 10px 0 0;
  color: #7a8699;
  font-size: 14px;
  line-height: 24px;
}

body.help .ub-search-empty-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

body.help .ub-search-empty-links a {
  padding: 8px 14px;
  border: 1px solid #dbe5f7;
  border-radius: 999px;
  color: #5d6b82;
  font-size: 13px;
  line-height: 1;
  transition: color .2s ease, border-color .2s ease;
}

body.help .ub-search-empty-links a:hover {
  color: #2d5aff;
  border-color: #b9cdf7;
}

@media (max-width: 1240px) {
  body.help .ub-search-results {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 767px) {
  body.help .ub-search-results {
    padding: 26px 16px 80px;
  }

  body.help .ub-search-head {
    flex-wrap: wrap;
    gap: 10px;
  }

  body.help .ub-search-item {
    padding: 18px;
  }

  body.help .ub-search-title {
    font-size: 16.5px;
    line-height: 25px;
  }

  body.help .ub-search-snippet {
    font-size: 13.5px;
    line-height: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.help .ub-search-item,
  body.help .ub-search-clear,
  body.help .ub-search-empty-links a {
    transition: none;
  }
}
