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

body {
  padding-top: 75px;
  max-width: 750px;
  margin: 0 auto;
  font-size: 14px;
  color: #333;
  /* background-color: #f5f5f5; */
}

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

li{
  list-style: none;
}

.header {
  max-width: 750px;
  margin: 0 auto;
  height: 5.3rem;
  box-sizing: border-box;
  /* padding-top: 0.6875rem; */
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--outline-black-8);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 149;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-size: 100% 100%;
  box-shadow: 0px 4px 20px 0px rgba(102, 126, 234, 0.25);
}

.logo {
  min-width: 150px;
  height: 100%;
  line-height: 44px;
  color: #ffffff !important;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}



.logo-a {
  /* position: absolute; */
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 1rem;
}

.home-icon {
  width: 26px;
}

/* 导航栏搜索按钮样式 */
.nav-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 0.75rem;
  flex-shrink: 0;
}

.nav-search-btn svg {
  color: #ffffff;
  width: 1.2rem;
  height: 1.2rem;
}

#searchContainer {
  background-color: #fff7f2;
  margin: 0;
  padding: 1.75rem 0 1rem;
}

.search-guide {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 3rem;
  margin: 0 .75rem;
  background-color: #fff;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  text-align: left;
  padding: 0 1rem;
  color: #666;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}

.search-guide:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border-color: #d0d0d0;
}

.search-guide svg {
  margin-right: 0.75rem;
  color: #999;
  flex-shrink: 0;
}

.search-guide span {
  flex: 1;
  color: #999;
  font-weight: 400;
}

/* 搜索按钮样式 */
.search-guide::after {
  content: '';
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #d68c54;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.75rem;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
  background-size: 1.2rem 1.2rem;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(217, 154, 107, 0.3);
}

.search-area {
  width: 260px;
  height: 3rem;
  background: #fff;
  border-radius: 0.75rem;
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 0;
  bottom: 0;
  margin: auto;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  padding: 0 1rem;
}

.search-area img {
  position: static;
  margin-right: 0.75rem;
  width: 1.2rem;
  height: 1.2rem;
  color: #999;
}

.search-input {
  border: none;
  background: none;
  height: 100%;
  width: 100%;
  color: #191919;
  padding: 0;
  font-size: 0.875rem;
  outline: none;
  flex: 1;
}

.search-input::placeholder {
  color: #999;
  font-weight: 400;
}

/* 搜索按钮样式 */
.search-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(214, 140, 84, 0.3);
  margin-left: 0.75rem;
  flex-shrink: 0;
}

.search-icon:hover {
  background-color: #C88A5B;
  box-shadow: 0 4px 12px rgba(214, 140, 84, 0.4);
  transform: scale(1.05);
}

.search-icon img {
  width: 1.2rem;
  height: 1.2rem;
  filter: brightness(0) invert(1);
  position: static;
  margin: 0;
}


/* footer */
.novel-footer {
  padding: 2rem 15px;
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
  border-top: 1px solid rgba(102, 126, 234, 0.2);
  text-align: center;
  font-size: 12px;
  color: #e2e8f0;
  margin-top: 2rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.footer-social {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer-social p {
  margin: 0;
  line-height: 1.6;
}

.footer-social a {
  color: #a0aec0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #667eea;
  text-decoration: none;
}

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

.grecaptcha-badge {
  visibility: hidden;
}

.sort,
.num,
.tag,
.cate1 {
  color: #d33c33;
  border-color: d33c33;
}

/* 面包屑的样式 */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 20px 10px 10px;
}

.breadcrumbsItem {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 14px;
  max-width: 100%;
}

.breadcrumbsItem a {
  color: #667eea;
  padding: 0 5px;
  white-space: nowrap;  /* 防止文字中间换行 */
  overflow: hidden;
  text-overflow: ellipsis;  /* 超长时显示省略号 */
  max-width: 200px;
  font-weight: 500;
}

.breadcrumbsItem:last-child a {
  color: #2d3748;
  font-weight: 700;
  max-width: none;  /* 最后一项不限制宽度 */
  white-space: normal;
}

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

.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 10px;
  color: #666;
  background-color: #fff;
  /* border: 1px solid #ddd; */
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.PAGE li.active a {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

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

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

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