/* rem适配基础设置 */
html {
  font-size: 16px; /* 基准字体大小 */
  background: #000;
  color: #fff;
}
/* 根据屏幕宽度动态调整rem基准值 */
@media screen and (max-width: 768px) {
  html {
    font-size: calc(16px * (100vw / 768)); /* 动态调整字体大小 */
  }
}
@media screen and (max-width: 480px) {
  html {
    font-size: calc(16px * (100vw / 480));
  }
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
  overflow-y: auto;
}
a,a:link,a:visited,a:hover,a:active{
    text-decoration: none;
    color:inherit;
}
.header {
  padding: 0 16px;
  box-sizing: border-box;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.backBtn {
  width: 24px;
  height: 24px;
}
.searchBox {
  width: 259px;
  height: 32px;
  padding: 0 12px;
  box-sizing: border-box;
  color: #9E9E9E;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  display: flex;
  align-items: center;
  border-radius: 999px;
  background:  rgba(255, 255, 255, 0.05);
}
.searchInput {
  padding: 10px;
  border: none; /* 去除边框 */
  border-radius: 4px;
  flex: 1;
  outline: none; /* 去除聚焦时的轮廓 */
  background:transparent;
  color:#fff;
}
.searchIcon {
  width: 20px;
  height: 20px;
  margin-right: 4px;
}
.searchBtn {
  color: #9E9E9E;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  white-space: nowrap;
}
.main {
  padding: 0 16px;
  box-sizing: border-box;
}
.historyTitleBox {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}
.historyTitle {
  color: #9E9E9E;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px;
}
.clearBox {
  display: flex;
  align-items: center;
  color: #9E9E9E;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
}
.clearBox .clearIcon {
  width: 18px;
  height: 18px;
  margin-right: 6px;
}
.historyList {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 12px;
  column-gap: 10px;
  margin-bottom: 28px;
}
.historyItem {
  padding: 8px 15px;
  box-sizing: border-box;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: #E0E0E0;
}
.hotSearchTitle {
  color: #9E9E9E;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px;
  margin-bottom: 12px;
}
.searchRankBox {
  padding: 18px 12px;
  box-sizing: border-box;
  background-image: url('/static/images/searchRankBox.png');
  background-size: 100% 100%;
  border-radius: 12px;
  background-color:rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 12px 10px rgba(15, 15, 15, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.searchRank {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topIcon {
  width: 20px;
  height: 20px;
}
.postTitle {
  color:  #E0E0E0;
  font-family: "PingFang SC";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  white-space: nowrap;        /* 不换行 */
    overflow: hidden;           /* 隐藏超出部分 */
    text-overflow: ellipsis;    /* 显示省略号 */
    max-width:90%;
    margin-left:10px;
    margin-right:10px;
}
.searchCount {
  color: #F68216;
  font-family: "PingFang SC";
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
}
.topNum {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888888;
}