/* 字体定义 */
@font-face {
  font-family: 'Pacifico';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/Pacifico/SourceSansPro-Regular.ttf.woff') format('truetype');
  font-display: swap;
} 


/* 优化字体渲染 */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}


a {
    text-decoration: none;
    color: inherit;
}

b,
strong {
  font-weight: bolder;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

button,
select {
  text-transform: none;
}


[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}


textarea {
  resize: vertical;
}

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

ul,ol,li{list-style: none;}

*{
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
        'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif, 'Apple Color Emoji',
        'Segoe UI Emoji', 'Segoe UI Symbol';
  background-color: #111827;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  box-sizing: border-box;
  color:rgb(243 244 246);
}
a{
  text-decoration: none;
}

/* 首页 */
.container{
  width: 100%;
  padding: 0 20px;
  max-width: 680px;
  margin: 60px auto 20px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.logo{
  float:left;
  justify-content: center;
  height: 50px;
}
.logo_index{  
  display: flex;
  margin-bottom: 2vh;
  justify-content: center;
  margin-top: 4vh;
}
.logo_index img{
  width: 150px;
  height: 51px;
}
.logo img{
  width: 80px;
  height: 27px;
}
.search-box{
  flex: 1;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 41, 55, 0.9);
  border-radius: 100px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(55, 65, 81, 0.5);
  backdrop-filter: blur(8px);
}
.search-box:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(223, 225, 229, 1);
}
.outsearch-box{
  width: 50%;
  margin: 0 auto;
}
.search-input {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border: none;
  outline: none;
  background: transparent;
  color: #e5e7eb;
}
.search-input::placeholder {
  color: #9ca3af;
}
.search-icon {
  padding: 6px 14px;
  display: flex;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}

.search-icon svg {
  width: 17px;
  height: 17px;
  color: rgb(59 130 246 / 0.8);
}

.hot-box, .detail-box{
  margin-top: 20px;
  flex: 1;
  background: rgba(31, 41, 55, 0.6);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(55, 65, 81, 0.5);
}

.hot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(55, 65, 81, 0.5);
  font-size: 14px;
  color: #e5e7eb;
  font-weight: 500;
}

.hot-title {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hot-icon::before {
  content: "";
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 16c3.314 0 6-2 6-5.5 0-1.5 0-4-2-7 0 0 4 1 6 4 2 3 2.5 6.5 0 10-2.5 3.5-6 4-10 3-3.5-1-6-3-6-6 0-4 3-6 6-6v1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100%;
}
.hot-more{
  color: #9ca3af;
  transition: all 0.3 ease-in-out;
}
.hot-more:hover{
  color: #fff;
}

.hot-list{
  flex: 1;
}
.hot-item{
  display: flex;
  align-items: center;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(55, 65, 81, 0.3);
  transition: all 0.3s ease-in-out;
  gap: 0 6px;
  font-size: 14px;
}
.hot-item:last-child {
  border-bottom: none;
}
.hot-item:hover {
  transform: translateX(5px);
}
.hot-rank {
  width: 18px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #9ca3af;
}
.hot-rank1{width: 28px;}
.hot-rank.top1 {
  color: #ef4444;
}
.hot-rank.top2 {
  color: #f97316;
}
.hot-rank.top3 {
  color: #eab308;
}
.hot-text {
  flex: 1;
  color: #e5e7eb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}
.hot-item:hover .hot--text {
  color: #fff;
}
.hot-item .hot-rank .topping{
  background-color: #ef4444;
  color: #fff;
  font-size: 10px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  border-radius: 2px;
  padding: 2px 4px;
}

.footer{
  flex: 1;
  display: flex;
  display: flex;
  flex-direction: column;
  padding: 15px 0;
}
.links{
  margin-bottom: 10px;
  font-size: 14px;
  display: flex;
  justify-content: center;
  gap: 0 10px;
}
.links a{
  color: #9ca3af;
  transition: all 0.3s ease-in-out;
}
.links a::after{
  display: inline-block;
  content: "|";
  color: #9ca3af;
  margin-left: 10px;
}
.links a:last-child:after{
  content: '';
}
.copy-right{
  flex: 1;
  text-align: center;
  color: #6b7280;
  font-size: 12px;
}

/* 更多热门 */
.hot-container{
  max-width: 990px;
  margin-top: 20px;
  padding: 0 20px;
}
.hot-top{
  /* padding:20px 20px 0 20px; */
  max-width: 990px;
  width: 100%;
}
.hot-top .hot-search-right{
  display: flex;
  align-items: center;
  float: right;
  margin-top: 4px;
}
.hot-top .hot-search-right{
  flex: 1;
}
.hot-top .logo{
  flex: none;
  margin-right: 10%;
}
.hot-top .search-box{
  margin: 0 50px;
}
.hot-top .search-box .search-input{
  padding-top: 5px;
  padding-bottom: 5px;
}
.hot-right{
  float: right;
  font-size: 14px;

}
.hot-right a{
  color: #e5e7eb;
  padding: 7px 10px;
  transition: all 0.3s ease-in-out;
}
.hot-right a:hover{
  background-color: rgba(55, 65, 81, 1);
  border-radius: 5px;
}
.more-hot-rank{
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
}
.more-hot-rank .title{
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.more-hot-rank .rx{
  font-size: 14px;
  color: rgba(156, 163, 175, 1);
}
.more-hot-header{
  justify-content: normal;
}
.more-hot-header .hot-title,
.more-host-item .hot-item{
  width: 60%;
  box-sizing: border-box;
}
.more-hot-header .source,
.more-host-item .pans{
  text-align: center;
  width: 60%;
}
.more-hot-header .numbers,
.more-host-item .numbers{
  flex: 1;
  text-align: center;
}
.more-host-item{
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid rgba(55, 65, 81, 0.5);
}
.pans-numbers,
.source-numbers{
  display: flex;
  flex: 1;
}
.more-host-item:last-child{
  border-bottom: none;
}
.more-host-item .hot-item{
  font-size: 16px;
  border-bottom: none;
  padding: 16px 0;
}
.more-host-item .pans{
  font-size: 14px;
  color: rgba(156, 163, 175, 1);
}
.more-host-item .numbers{
  font-size: 12px;
  color: rgba(156, 163, 175, 1);
}
.more-host-item .hot-icon::before{
  width: 22px;
  height: 22px;
}
.more-host-item .hot-rank{
  width: 22px;
  height: 22px;
  font-size: 10px;
  background-color: rgba(55, 65, 81, 1);
  border-radius: 50%;
}
/* 手机端展示 */
@media (max-width: 750px) {
  .search-box{
    width: 100%;
    margin-top: 10px;
  }
  .hot-top .search-box{
    margin: 0;
  }
  .container{
    margin-top: 20px;
  }
  .hot-top{
    flex-direction: column;
    gap: 15px 0;
  }
  .hot-search-right{
    gap: 0 10px;
  }
  .hot-search-right .search-box{
    margin: 0;
    flex: 1;
  }
  .hot-search-right .hot-right{
    font-size: 12px;
    gap: 0 10px;
    align-items: center;
  }
  .hot-right a{
    padding: 8px 5px;
  }
  .more-hot-header{
    display: none;
  }
  .more-host-item{
    flex-direction: column;
    align-items: start;
    padding: 8px;
  }
  .more-host-item .hot-item{
    width: 100%;
    font-size: 14px;
    padding: 0;
  }
  .more-host-item .pans,
  .more-host-item .numbers{
    width: auto;
    font-size: 12px;
  }
  .pans-numbers{
    margin-left: 34px;
    gap: 0 10px;
  }
}


/*页面相关*/

.page-content {
    background-color: #1f2937;
    border-radius: 12px;
    padding: 24px;
    margin-top: ;
    color: #e5e7eb;
    text-align: left;
    line-height: 1.6;
    margin: 20px 0;
}

.page-content h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
}

.page-content h2 {
    font-size: 20px;
    margin: 24px 0 12px;
    color: #f3f4f6;
}

.page-content p {
    margin-bottom: 16px;
}

.page-content ul {
    margin-bottom: 16px;
    padding-left: 20px;
}

.page-content li {
    margin-bottom: 8px;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: #8E6FF7;
    text-decoration: none;
    transition: color 0.2s;
}

.back-link:hover {
    color: #a28ff9;
}
    

/*搜索下面提示字体样式*/
.text-sm{
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin-top: 1.5rem;
}

/*分页*/
.pagebar{text-align: center;margin-top: 20px;}
.pagebar li{display: inline-block;}
.pagebar li a, .pagebar li span{
  display: inline-block;
  border-radius:8px;
  padding:4px 9px;
  font-size: 0.875rem;
  margin-left: 5px;
}
.pagebar .active span{
  background: rgb(142 111 247 / var(--tw-bg-opacity, 1));
}


/* 详情 */
.shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  margin-top: 20px;
  flex: 1;
  background: rgb(31 41 55 / var(--tw-bg-opacity, 1));
  border-radius: 18px;
  overflow: hidden;
}
.lx{
  background-color: rgba(55, 65, 81, 1);
  border-radius: 15px;
  padding: 2px 8px;
  font-size: 12px;
  margin: 0 10px;
}
.ml10{
  margin-left: 10px;
}
.detail-box{
  display: flex;
  flex-direction: column;
  gap: 15px 0;
  padding: 14px;
}
.detail-box .title{
  color: #e5e7eb;
  font-size: 18px;
  flex: 1;
  line-height: 24px;
}
.detail-box .classifi{
  font-size: 12px;
  color: rgba(156, 163, 175, 1);
  align-items: center;
}
.detail-box .pans-list{
  display: flex;
  margin: 10px 0;
  font-size: 14px;
}
.detail-box .pans-list a{
  display: flex;
  padding: 0 8px;
  margin-right: 10px;
  height: 34px;
  border-radius: 5px;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease-in-out;
  background-color: rgb(241, 53, 32)
}
.detail-box .pans-list a:hover{
  opacity: 0.9;
}
.detail-box .pans-list .quark{
  background-color: rgb(142, 111, 247);
}
.detail-box .pans-list .baidu{
  background-color: rgb(22, 163, 74)
}
.detail-recommend .hot-text{
  overflow: visible;
  line-height: 24px;
  white-space: wrap;
  cursor: pointer;
}

/*svg图标样式*/
.classifi .svgIcon1{
  font-size: 14px;
}
.classifi .svgIcon2{
  margin-right: 3px;
  font-size: 13px;
}
.classifi .svgIcon3{
  margin-right: 3px;
  margin-left: 10px;
}

.pans-list .svgIcon4{
  margin-right:3px;
  font-size: 13px;
  /* color:rgb(59 130 246 / 0.5); */
}

.svgIcon4{
  margin-right:3px;
  font-size: 13px;
  /* color:rgb(142 111 247 / var(--tw-text-opacity, 1)); */
  /* color:rgb(239, 68, 68); */
}
.svgIcon5{
  margin-right:3px;
  font-size: 13px;
  /* color:rgb(142 111 247 / var(--tw-text-opacity, 1)); */
  color:rgb(239, 68, 68);
}

/*搜索相关*/
.no-results {
    text-align: center;
    margin: 40px auto;
    max-width: 500px;
    padding: 25px;
    background-color: rgba(31, 41, 55, 0.8);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.no-results-icon {
    font-size: 48px;
    color: #8E6FF7;
    margin-bottom: 15px;
}

.no-results-title {
    color: #e5e7eb;
    font-size: 18px;
    margin-bottom: 10px;
}

.no-results-text {
    color: #9ca3af;
    margin-bottom: 20px;
}

.help-link-container {
    margin-top: 20px;
}

.help-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, #8E6FF7, #9f84ff);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.help-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(142, 111, 247, 0.3);
}

/* 相关推荐 */
.tuijian_out{

}
.hot_rank_tuijian{
  width: 22px;
  height: 22px;
  font-size: 10px;
  background-color: rgba(55, 65, 81, 1);
  border-radius: 50%;
  font-weight: 600;
  color: #9ca3af;
  float: left;
  text-align: center;
  line-height: 22px;
}

.pans-numbers{padding:5px 0 3px;}
.pans_tuijian{padding:0;}
.hot-rank1{
  color:rgb(59 130 246 / var(--tw-text-opacity, 1));
}



