* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* padding-top: 40px; */
  max-width: 750px;
  margin: 0 auto;
  color: #333;
}

a {
  text-decoration: none;
  color: #000;
}

li {
  list-style: none;
}

em, i {
  font-style: normal;
}

.header {
  max-width: 750px;
  margin: 0 auto;
  /* height: 40px; */
  /* position: fixed; */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #020d18;
}

.logo {
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
}

.logo a {
  color: #fff;
}

.logo img {
  width: 20px;
  height: 20px;
}

.logo .icon {
  display: flex;
  align-items: center;
}

.menu {
  display: none;
  width: 100%;
  background: #020d18;
  flex-direction: row;
  justify-content: space-around;
  transition: max-height 0.3s ease-in-out ;
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: all 0.3s;
  z-index: 999;
}

.menu.show {
  display: flex;
  height: 40px;
  overflow: visible;
}

.logo .menu-btn {
  margin-left: 5px;
  width: 26px;
  height: 26px;
}

.guide-nav-a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  padding: 0.5rem;
  transition: all 0.3s ease;
}

.guide-nav-a .icon {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
}

.guide-nav-h {
  font-size: 12px;
  font-weight: normal;
  margin: 0;
  color: #fff;
}

.guide-nav-h.active {
  position: relative;
}

.guide-nav-h.active::after {
  content: '';
  position: absolute;
  bottom: -6px;  /* 调整距离，让下划线更靠近底部 */
  left: 50%;
  transform: translateX(-50%);
  width: 24px;  /* 增加宽度，让下划线更长 */
  height: 1px;  /* 减小高度，让下划线更细腻 */
  background-color: rgba(255, 255, 255, 0.9);  /* 稍微调整透明度，让效果更柔和 */
  border-radius: 0.5px;  /* 减小圆角，配合更细的线条 */
}

.home-icon {
  width: 26px;
}

/* detail 底部 btn */
.mobile-read-btn {
  position: fixed;
  bottom: 50px;
  left: 0;
  right: 0;
  padding: 0.8rem 1rem;
  background: #fff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 100;
  max-width: 100vw;
}

.read-btn-fixed {
  display: block;
  width: 100%;
  padding: 0.8rem;
  background: #000;
  color: #fff;
  text-align: center;
  border-radius: 2rem;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}

/* PC端隐藏固定按钮 */
@media screen and (min-width: 750px) {
  .mobile-read-btn {
    display: none;
  }
}


.sort-ul {
  background: #fff;
  border-radius: 8px;
  margin: 0 0 15px;
  padding: 0;
  list-style: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sort-li {
  border-bottom: 1px solid #f0f0f0;
  padding: 0;
}

.sort-li:last-child {
  border-bottom: none;
}

.sort-li-title {
  font-size: 14px;
  color: #333;
  padding: 12px 15px;
  margin: 0;
  background: #f9f9f9;
  font-weight: 600;
}

.sort-li-detail {
  padding: 8px 10px 3px;
  display: flex;
  flex-wrap: wrap;
}

.btn-tag {
  display: inline-block;
  padding: 5px 10px;
  font-size: 12px;
  margin: 0 4px 5px 0;
  color: #666;
  background: #f5f5f5;
  border-radius: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-tag:hover {
  background: #eee;
  color: #020d18;
}

/* 选中状态 */
.btn-tag.cate1,
.btn-tag.num,
.btn-tag.sort,
.btn-tag.tag {
  background: #020d18;
  color: #fff;
}

/* 全部按钮特殊样式 */
.sort-li-detail a:first-child {
  margin-left: 0;
}

#text {
  margin: 5px;
}

/* list active */
.sort,
.num,
.tag,
.cate1 {
  color: #020d18;
  border-color: #020d18;
}

/* 面包屑导航样式 */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  padding: 10px 15px;
  margin: 0;
  list-style: none;
  background: linear-gradient(90deg, rgba(2,13,24,0.05) 0%, rgba(2,13,24,0.1) 100%);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.breadcrumbs::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: #020d18;
}

.breadcrumbsItem {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #666;
}

.breadcrumbsItem a {
  color: #666;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-right: 5px;
}

.breadcrumbsItem:last-child a {
  color: #020d18;
  font-weight: 500;
}

.breadcrumbsItem a:hover {
  color: #020d18;
}

.breadcrumbsItem a.cate {
  color: #18a3e9;
}

.breadcrumbsItem a.cate:hover {
  text-decoration: underline;
}

/* 分页样式 */
.PAGE {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 20px 0;
  margin: 0;
}

.PAGE li {
  margin: 0 3px;
}

.PAGE li a,
.PAGE li span {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 32px;
  height: 32px;
  color: #fff;
  background-color: #333;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
}

.PAGE li.active a {
  background-color: #ff2b57;
  color: #fff;
}

.PAGE li a:hover:not(.active) {
  background-color: #444;
}

.PAGE li.disabled span {
  background-color: #222;
  color: #666;
  cursor: not-allowed;
}

/* 省略号样式 */
.PAGE li.ellipsis span {
  background: none;
  border: none;
  color: #666;
  padding: 0 5px;
}

/* 上一页下一页的箭头样式 */
.PAGE li:first-child a,
.PAGE li:last-child a {
  padding: 0;
  width: 32px;
  font-weight: bold;
}

#listText {
  display: flex;
  border: 0;
  padding: 0 1rem 1rem;
}



/* footer */
.footer {
  padding: 1rem;
  background: #020d18;
  text-align: center;
  font-size: 12px;
  color: #666;
}

.footer .content {
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
  color: #999;
}

.footer .content a {
  color: #cc3e64;
  text-decoration: none;
  margin: 0 3px;
}

.footer .content a:hover {
  text-decoration: underline;
}

.share {
  padding: 0 20px 20px;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btnAddShelf {
  width: 150px;
  height: 40px;
  background-color: #fff;
  color: #020d18;
  border-radius: 10px;
  line-height: 40px;
  text-align: center;
}

.take-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 160px;
  height: 40px;
  border-radius: 10px;
}

.share .blue {
  padding: 10px;
  margin-left: 4px;
  width: 40px;
  height: 40px !important;
  border-radius: 10px;
  background-color: #fff;
}

/* 广告 */
.positionFixed {
  bottom: 0px;
  left: 50%;
  position: fixed;
  transform: translate(-50%, 0%);
  z-index: 999;
  width: 100%;
  display: flex;
  justify-content: center;
}

.ad-div {
  width: 100%;
  min-width: 250px;
  clear: both;

}

.t_de {
  height: 0.2rem;
  max-width: 100%;
  line-height: 0.3rem;
  font-size: 0.6rem;
  padding: 0.5rem 0 1rem 0;
  box-sizing: border-box;
  color: #707070;
  text-align: center;
}