body {
  padding-top: 50px;
  max-width: 750px;
  margin: 0 auto;
  color: #333;
  font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;

}

a {
  text-decoration: none;
  color: var(--text-color);
  ;
}

/* Header 样式调整 */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  color: #333;
  z-index: 11001;
}

.menu-toggle,
.theme-toggle {
  font-size: 20px;
  cursor: pointer;
  width: 40px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
}

.logo {
  height: 30px;
  line-height: 30px;
}

.logo img {
  height: 100%;
}

.side-menu {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: auto;
  max-height: 80vh;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overflow-y: auto;
}

.side-menu.active {
  top: 50px;
  opacity: 1;
  visibility: visible;
}

.side-menu-header {
  padding: 15px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
}

.close-menu {
  font-size: 20px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}


.menu-list li a {
  display: flex;
  align-items: center;
  padding: 15px;
  color: var(--text-color);
  text-decoration: none;
  font-size: 16px;
}

.menu-list li a i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.search-container {
  padding: 15px;
}

.search-box {
  display: flex;
  position: relative;
  width: 100%;
}

.search-box input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 14px;
  background-color: #f5f5f5;
  width: 100%;
}

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

.search-box button:hover {
  color: #2962ff;
}

/* 遮罩层 */
.overlay {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  height: calc(100% - 60px);
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

.overlay.active {
  display: block;
}


/* 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-btn {
    display: none;
  }
}


#text {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #6c5ce7;
  margin: 20px 0;
  padding: 8px 10px;
  position: relative;
  background: linear-gradient(to right, rgba(108, 92, 231, 0.1), rgba(162, 155, 254, 0.1), rgba(108, 92, 231, 0.1));
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(108, 92, 231, 0.1);
}

#text:before,
#text:after {
  content: "";
  position: absolute;
  height: 3px;
  width: 40px;
  background: linear-gradient(to right, #6c5ce7, #a29bfe);
  border-radius: 2px;
  left: 50%;
  transform: translateX(-50%);
}

#text:before {
  top: 0;
}

#text:after {
  bottom: 0;
}

/* 面包屑导航样式 */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  padding: 12px 15px;
  margin: 10px 0;
  list-style: none;
  font-size: 13px;
  background: linear-gradient(to right, rgba(255, 51, 51, 0.05), rgba(255, 51, 51, 0.02));
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.breadcrumbs::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: linear-gradient(to bottom, #ff3333, #ff6666);
  border-radius: 3px 0 0 3px;
}

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


.breadcrumbsItem a {
  color: #666;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 2px 5px;
  border-radius: 4px;
  position: relative;
  z-index: 1;
}

.breadcrumbsItem a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #ff3333;
  transition: width 0.3s ease;
  z-index: -1;
}

.breadcrumbsItem a.cate {
  color: #ff3333;
  font-weight: 500;
}


/* 添加小图标 */
.breadcrumbsItem:first-child a::before {
  content: '\f015';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: 3px;
  font-size: 12px;
  position: static;
  background: none;
  display: inline;
}


.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: #ff3333;
  color: #fff;
  border-color: #ff3333;
}

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

.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;
  background-color: #282828;
}

.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 {
  margin: 10px 0;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  border-radius: 12px;
}

.btnAddShelf {
  width: 150px;
  height: 40px;
  background-color: #ff3333;
  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%;
  background-color: #e4e4e4;
  display: flex;
  justify-content: center;
  height: 50px;
  max-width: 750px;
}

.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;
}