@charset "UTF-8";
.search-page[data-v-7c20dd87] {
  max-width: 1200px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 20px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* 搜索框样式 */
.search-container[data-v-7c20dd87] {
  padding: 30px 0;
  background: linear-gradient(135deg, #1d9c40 0%, #eefdf4 100%);
  border-radius: 12px;
  margin-bottom: 30px;
  -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
          box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.search-box[data-v-7c20dd87] {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-width: 800px;
  margin: 0 auto;
  height: 56px;
  border-radius: 28px;
  overflow: hidden;
  background: white;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.search-box input[data-v-7c20dd87] {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  border: none;
  outline: none;
  padding: 0 24px;
  font-size: 16px;
  color: #333;
}
.search-box input[data-v-7c20dd87]::-webkit-input-placeholder {
  color: #999;
}
.search-box input[data-v-7c20dd87]::-moz-placeholder {
  color: #999;
}
.search-box input[data-v-7c20dd87]:-ms-input-placeholder {
  color: #999;
}
.search-box input[data-v-7c20dd87]::-ms-input-placeholder {
  color: #999;
}
.search-box input[data-v-7c20dd87]::placeholder {
  color: #999;
}
.search-box .search-btn[data-v-7c20dd87] {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 120px;
  background: linear-gradient(135deg, #1d9c40 0%, #eefdf4 100%);
  color: white;
  border: none;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.search-box .search-btn[data-v-7c20dd87]:hover {
  background: #1d9c40;
}
.search-box .search-btn .search-icon[data-v-7c20dd87] {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  background-size: contain;
  background-repeat: no-repeat;
}

/* 搜索结果样式 */
.search-results[data-v-7c20dd87] {
  min-height: 400px;
}
.result-count[data-v-7c20dd87] {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}
.novel-list[data-v-7c20dd87] {
  width: 100%;
  margin-top: 20px;
}
.novel-item[data-v-7c20dd87] {
  width: 100%;
  margin-top: 20px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.novel-item[data-v-7c20dd87]:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
          box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.novel-cover[data-v-7c20dd87] {
  position: relative;
}
.novel-cover img[data-v-7c20dd87] {
  width: 180px;
  height: 220px;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: -webkit-transform 0.5s;
  transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  transition: transform 0.5s, -webkit-transform 0.5s;
}
.novel-cover .novel-type[data-v-7c20dd87] {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
}
.novel-item:hover .novel-cover img[data-v-7c20dd87] {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
.novel-info[data-v-7c20dd87] {
  padding: 16px;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.novel-title[data-v-7c20dd87] {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.novel-author[data-v-7c20dd87] {
  margin: 0 0 12px 0;
  font-size: 14px;
  color: #666;
}
.novel-desc[data-v-7c20dd87] {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: auto;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

/* 无结果样式 */
.no-results[data-v-7c20dd87] {
  text-align: center;
  padding: 60px 0;
  background: white;
  border-radius: 12px;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.no-results img[data-v-7c20dd87] {
  width: 200px;
  margin-bottom: 20px;
  opacity: 0.8;
}
.no-results h3[data-v-7c20dd87] {
  font-size: 20px;
  color: #333;
  margin-bottom: 10px;
}
.no-results p[data-v-7c20dd87] {
  font-size: 16px;
  color: #999;
  margin-bottom: 30px;
}
.no-results .retry-btn[data-v-7c20dd87] {
  background: linear-gradient(135deg, #1d9c40 0%, #eefdf4 100%);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 16px;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  -webkit-box-shadow: 0 4px 12px rgba(106, 17, 203, 0.25);
          box-shadow: 0 4px 12px rgba(106, 17, 203, 0.25);
}
.no-results .retry-btn[data-v-7c20dd87]:hover {
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  background: #1d9c40;
  -webkit-box-shadow: 0 6px 16px rgba(106, 17, 203, 0.3);
          box-shadow: 0 6px 16px rgba(106, 17, 203, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
.search-box[data-v-7c20dd87] {
    height: 48px;
}
.search-box input[data-v-7c20dd87] {
    padding: 0 16px;
}
.search-box .search-btn[data-v-7c20dd87] {
    width: 80px;
    font-size: 14px;
}
.novel-list[data-v-7c20dd87] {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
.novel-cover[data-v-7c20dd87] {
    height: 150px;
}
}
