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

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

/* 头部导航栏样式 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #2962ff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  max-width: 1200px;
  margin: 0 auto;
}

/* 菜单按钮 */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  cursor: pointer;
  margin-right: 15px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* 网站标题 */
.site-logo {
  margin-right: 15px;
}

.site-logo a {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.search-empty-state {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

/* 搜索框 */
.search-box {
  position: relative;
  flex: 1;
  max-width: 500px;
  margin-left: auto;
}

.search-box input {
  padding: 7px 35px 7px 12px;
  font-size: 13px;
  width: 100%;
  border: none;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  transition: all 0.3s ease;
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.search-box input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.3);
}

.search-button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #fff;
}

/* 侧边菜单 */
.side-menu {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background-color: #fff;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: left 0.3s ease;
  overflow-y: auto;
}

.side-menu.active {
  left: 0;
}

.menu-header {
  display: flex;
  justify-content: flex-end;
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.menu-close {
  font-size: 28px;
  cursor: pointer;
  color: #666;
  line-height: 1;
}

.menu-nav {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
}

.menu-item {
  padding: 15px 20px;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.menu-item:hover,
.active {
  background-color: #f5f5f5;
  border-left-color: #2962ff;
  color: #2962ff;
}

/* 遮罩层 */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* 禁止滚动 */
.no-scroll {
  overflow: hidden;
}

/* detail 底部 btn */
.read_now {
  position: fixed;
  bottom: 50px;
  left: 0;
  width: 100%;
  padding: 15px 0;
  background-color: #2962ff;
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  display: block;
  transition: all 0.3s ease;
}

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


#text {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin: 15px 0;
  padding-left: 15px;
  border-left: 4px solid #2962ff;
  line-height: 1.4;
  position: relative;
}

/* 面包屑导航样式 */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  padding: 10px 0;
  list-style: none;
  font-size: 14px;
  color: #666;
  background-color: transparent;
}

.breadcrumbsItem {
  display: flex;
  align-items: center;
}

.breadcrumbsItem a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.breadcrumbsItem a.cate {
  color: #2962ff;
}


.PAGE {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 20px 0;
  margin: 0;
}

.PAGE li {
  margin: 0 5px;
}

.PAGE li a,
.PAGE li span {
  display: inline-block;
  padding: 4px 8px;
  color: #666;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.PAGE li.active a {
  background-color: #2962ff;
  color: #fff;
  border-color: #2962ff;
}

.PAGE li a:hover:not(.active) {
  background-color: #f5f5f5;
  border-color: #2962ff;
  color: #2962ff;
}

.PAGE li span {
  color: #999;
  cursor: default;
}

/* 上一页下一页的箭头样式 */
.PAGE li:first-child a,
.PAGE li:last-child a {
  padding: 4px 8px;
}

/* footer */
.footer {
  padding: 1rem;
  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 30px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
}

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

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

.share .blue {
  margin-left: 4px;
  width: 20px;
  height: 20px !important;
}

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

li {
  list-style: none;
}

em,
i {
  font-style: normal;
}

/* read  首行缩进 */
.chapter-content p {
  text-indent: 2em;
}

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

.ad-div {
  margin-bottom: 50px;
  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;
}