@import "../../v11/docs/search.css";
@import "../../v11/docs/api-list.css?v=1.5";
@import "../../v11/docs/apiservice.css";
.width1440 {
  max-width: 1440px;
  min-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
  box-sizing: border-box;
}
.search {
  min-width: 1200px;
}
.search .banner-search {
  border: 1px solid rgba(51, 51, 51, 0.08);
}
.search .banner-search-btn {
  background: #333333;
}
.search-banner {
  height: 240px;
  background: #262626;
}
.search-banner .width1440 {
  height: 100%;
  position: relative;
  padding-top: 125px;
  box-sizing: border-box;
}
/* 标签页样式 */
.search-tabs {
  display: flex;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 99;
  padding: 0 12px;
  column-gap: 68px;
  overflow-x: auto;
}
.tab-item {
  flex-shrink: 0;
  padding: 15px 0;
  text-decoration: none;
  font-size: 14px;
  line-height: 22px;
  color: #ffffff;
  position: relative;
  cursor: pointer;
}
.tab-item:hover {
  opacity: 0.8;
}
.tab-item.active {
  color: #07aaff;
  font-weight: 600;
}
.tab-item.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #07aaff;
  border-radius: 2px;
}
.tab-item-num {
  margin-left: 4px;
  padding: 2px 8px;
  line-height: 1;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}
/*
.banner-tabs {
  position: absolute;
  left: 12px;
  bottom: 0;
  display: flex;
  z-index: 6;
  .banner-tab {
    display: flex;
    align-items: center;
    margin-right: 59px;
    padding: 16px 0;
    font-size: 18px;
    line-height: 1;
    color: #fff;
    font-weight: 600;
    opacity: .38;
    cursor: pointer;
    &.active {
      position: relative;
      opacity: 1;
      &::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 4px;
        border-radius: 2px;
      }
    }
    &:hover {
      opacity: 1;
    }
    .banner-tab-img {
      width: 16px;
      height: 16px;
      margin-right: 8px;
      background-size: 16px 16px;
    }
  }
  .banner-tab.active::after {
    background: #fff;
  }
  .banner-tab:nth-child(1) {
    .banner-tab-img {
      background: url(/images/v11/apiservice/sprites-icon.png) center no-repeat;
      background-position: -46px -10px;;
    }
  }
  .banner-tab:nth-child(2) {
    .banner-tab-img {
      background: url(/images/v11/apiservice/sprites-icon.png) center no-repeat;
      background-position: -10px -47px;
    }
  }
  .banner-tab:nth-child(3) {
    .banner-tab-img {
      background: url(/images/v11/apiservice/sprites-icon.png) center no-repeat;
      background-position: -10px -10px;
    }
  }
}
*/
.search-content {
  padding: 0 20px;
  box-sizing: border-box;
}
.content {
  padding-top: 0;
  padding-bottom: 0;
}
.api-list-ul-box .papi-list-li .api-price.gold {
  color: #886212;
  background: rgba(136, 98, 18, 0.1);
}
.api-list-ul-box .papi-list-li .api-price.green {
  color: #29c287;
  background: rgba(41, 194, 135, 0.1);
}
.api-list-ul-box .papi-list-li .api-price.test-blue {
  color: #2a64ff;
  background: rgba(42, 100, 255, 0.1);
}
.api-list-ul-box .papi-list-li .api-price {
  font-size: 12px;
}
.api-list-ul-box .papi-list-li:hover .api-price {
  opacity: 1 !important;
  display: inline-block !important;
}
.search-nodata {
  display: none;
}
.search-none {
  position: relative;
  display: flex;
  justify-content: center;
}
.search-none-text {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
  color: rgba(51, 51, 51, 0.4);
}
.search-none-link {
  margin: 0 3px;
  color: #07aaff;
  font-weight: 600;
}
.search-none-link_disabled {
  color: rgba(51, 51, 51, 0.4);
}
.search-none-customization {
  margin-right: 0;
}
.search-content {
  margin: 0 auto;
  padding-bottom: 40px;
  font-size: 14px;
  color: #666;
}
.select-type {
  margin-top: 40px;
}
.select-type-text {
  display: inline-block;
  position: relative;
  top: 1px;
  font-weight: 600;
  font-size: 14px;
  color: #333333;
  line-height: 22px;
}
.select-type-num {
  margin-left: 12px;
  font-size: 12px;
  color: #666666;
  line-height: 20px;
  font-weight: 400;
}
.tuijian-head {
  margin-top: 80px;
  display: flex;
  align-items: center;
  column-gap: 4px;
}
.tuijian-icon {
  width: 14px;
  height: 14px;
  background: url("https://main-statics.juhe.cn/www/home/v12/icon-tuijian.png") center no-repeat;
  background-size: 100% 100%;
}
.tuijian-title {
  font-size: 18px;
  color: #262626;
  line-height: 27px;
}
@media screen and (min-width: 1440px) {
  .api-list-ul-box li {
    width: calc((100% - 36px) / 4);
  }
}
@media screen and (max-width: 1439px) {
  .api-list-ul-box li {
    width: calc((100% - 24px) / 3);
  }
}
/* 修复：在 and 与括号之间添加空格（原为 and(min-width / and(max-width)） */
@media screen and (min-width: 751px) {
  .nav-mobile,
  .mobile-footer {
    display: none;
  }
}
@media screen and (max-width: 750px) {
  a {
    -webkit-tap-highlight-color: transparent;
  }
  .width1440 {
    min-width: 100%;
    padding: 0 0.32rem;
  }
  .api-list-ul-box li {
    width: 100%;
  }
  .search {
    min-width: 100%;
    padding-top: 1rem;
  }
  .search-banner {
    height: 3rem;
    padding-top: 0.9rem;
    box-sizing: border-box;
  }
  .search-banner .width1440 {
    padding: 0 0.3rem;
  }
  .banner-search {
    width: 100%;
    height: 0.8rem;
    border-radius: 0.08rem;
  }
  .banner-tab-img,
  .search-title {
    display: none;
  }
  .banner-search-input {
    font-size: 0.28rem;
  }
  .banner-search-btn {
    width: 1.2rem;
    height: 0.72rem;
    line-height: 0.72rem;
    margin-right: 0.04rem;
    font-size: 0.28rem;
    border-radius: 0.08rem;
  }
  .banner-tabs {
    left: 0;
  }
  .banner-tabs .banner-tab {
    margin-right: 0.8rem;
    padding: 0.2rem 0;
    font-size: 0.32rem;
    font-weight: 400;
    -webkit-tap-highlight-color: transparent;
  }
  .banner-tabs .banner-tab.active {
    font-weight: 600;
  }
  .banner-tabs .banner-tab.active::after {
    height: 0.08rem;
    border-radius: 0.04rem;
  }
  .search-content {
    padding-top: 0.1rem;
    padding-bottom: 0.3rem;
    min-height: calc(100vh - 7.8rem);
  }
  .search-content-select {
    padding-left: 0;
  }
  .search-content-select .text-select {
    display: none;
  }
  .search-tabs {
    padding: 0 0.32rem;
    column-gap: 0.8rem;
  }
  .tab-item {
    font-size: 0.28rem;
    line-height: 0.32rem;
  }
  .select-type {
    margin: 0.6rem 0 0.32rem;
  }
  .select-type-text {
    font-size: 0.24rem;
    line-height: 0.32rem;
  }
  .select-type-num {
    margin-left: 0.12rem;
    font-size: 0.2rem;
    line-height: 0.28rem;
  }
  .search-content-container {
    margin-left: 0;
    margin-right: 0.2rem;
  }
  .search-content-container:last-of-type {
    margin-right: 0;
  }
  .search-content-container em {
    display: none;
  }
  .api-list-ul-box .api-info .api-price {
    font-size: 0.2rem;
  }
  .api-list-ul-box .market-api-li .api-info .api-price {
    font-size: 0.28rem;
  }
  .tuijian-head {
    margin-top: 1rem;
  }
}
