.list-page {
  padding-top: 30px;
}

/* 顶部区域 */
.list-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 30px;
  margin-bottom: 22px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 159, 67, 0.24), transparent 34%),
    #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.list-hero h1 {
  margin-bottom: 8px;
  color: #222;
  font-size: 34px;
}

.list-hero p {
  color: #777;
  font-size: 15px;
}

.list-search-box {
  display: flex;
  width: 420px;
  max-width: 100%;
  height: 46px;
  padding: 5px;
  border-radius: 999px;
  background: #f7f7f7;
  border: 1px solid #eeeeee;
}

.list-search-box input {
  flex: 1;
  min-width: 0;
  padding: 0 14px;
  border: none;
  outline: none;
  background: transparent;
  color: #333;
  font-size: 14px;
}

.list-search-box button {
  width: 86px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6b35, #ff9f43);
  color: #fff;
  font-size: 14px;
}

/* 分类筛选 */
.filter-card {
  padding: 20px 22px;
  margin-bottom: 22px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.filter-title {
  margin-bottom: 14px;
  color: #222;
  font-size: 18px;
  font-weight: 700;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-tag {
  padding: 8px 16px;
  border-radius: 999px;
  background: #f6f6f6;
  color: #666;
  font-size: 14px;
  transition: 0.2s;
}

.filter-tag:hover,
.filter-tag.active {
  background: #ff6b35;
  color: #fff;
}

/* 结果卡片 */
.result-card {
  padding: 22px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.result-header h2 {
  margin-bottom: 4px;
  color: #222;
  font-size: 24px;
}

.result-header p {
  color: #999;
  font-size: 14px;
}

.result-header select {
  width: 132px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #eeeeee;
  border-radius: 999px;
  outline: none;
  background: #fafafa;
  color: #666;
  font-size: 14px;
}

/* 列表 */
.list-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.list-book-card {
  display: grid;
  grid-template-columns: 108px 1fr auto;
  gap: 22px;
  padding: 20px;
  border-radius: 22px;
  background: #fafafa;
  transition: 0.2s;
}

.list-book-card:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.list-book-cover {
  width: 108px;
  height: 146px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff6b35, #ffb35c);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  letter-spacing: 5px;
  font-size: 19px;
  font-weight: 800;
}

.list-book-info {
  min-width: 0;
}

.list-book-info h3 {
  margin-bottom: 6px;
  color: #222;
  font-size: 22px;
}

.list-book-info h3:hover {
  color: #ff6b35;
}

.list-book-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 10px;
  color: #888;
  font-size: 13px;
}

.list-book-meta span {
  padding: 4px 10px;
  border-radius: 999px;
  background: #f0f0f0;
}

.list-book-desc {
  max-width: 820px;
  min-height: 48px;
  max-height: 72px;
  color: #666;
  font-size: 14px;
  line-height: 1.7;
  overflow: hidden;
  margin-bottom: 12px;
}

.list-book-data {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #999;
  font-size: 13px;
}

.list-book-data strong {
  color: #ff6b35;
}

.list-book-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-width: 118px;
}

.list-book-actions a,
.list-book-actions button {
  width: 118px;
  height: 38px;
  border-radius: 999px;
  font-size: 14px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.list-preview-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff4ed;
  color: #ff6b35;
}

.list-read-btn {
  background: #ff6b35;
  color: #fff;
}

.list-shelf-btn {
  background: #f1f1f1;
  color: #666;
}

/* 空状态 */
.empty-list {
  display: none;
  padding: 64px 20px;
  text-align: center;
}

.empty-list.show {
  display: block;
}

.empty-icon {
  margin-bottom: 12px;
  font-size: 52px;
}

.empty-list h3 {
  margin-bottom: 8px;
  color: #222;
  font-size: 24px;
}

.empty-list p {
  color: #888;
}

/* 页脚备案 */
.site-footer a {
  color: #888;
}

.site-footer a:hover {
  color: #ff6b35;
}

.footer-note {
  margin-top: 4px;
}

/* 响应式 */
@media (max-width: 860px) {
  .list-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .list-search-box {
    width: 100%;
  }

  .list-book-card {
    grid-template-columns: 92px 1fr;
  }

  .list-book-cover {
    width: 92px;
    height: 126px;
    font-size: 17px;
  }

  .list-book-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: flex-start;
  }

  .list-book-actions a,
  .list-book-actions button {
    padding: 0 14px;
  }
}

@media (max-width: 620px) {
  .list-hero h1 {
    font-size: 28px;
  }

  .result-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .list-book-card {
    grid-template-columns: 1fr;
  }

  .list-book-cover {
    width: 120px;
    height: 160px;
  }

  .list-book-actions {
    flex-wrap: wrap;
  }
}

/* 排行榜列表 */
.rank-page-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rank-page-item {
  display: grid;
  grid-template-columns: 42px 108px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 20px;
  border-radius: 22px;
  background: #fafafa;
  transition: 0.2s;
}

.rank-page-item:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.rank-page-num {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #eeeeee;
  color: #777;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.rank-page-item:nth-child(1) .rank-page-num {
  background: #ff6b35;
  color: #fff;
}

.rank-page-item:nth-child(2) .rank-page-num {
  background: #ff9f43;
  color: #fff;
}

.rank-page-item:nth-child(3) .rank-page-num {
  background: #ffc46b;
  color: #fff;
}

.rank-page-cover {
  width: 108px;
  height: 146px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff6b35, #ffb35c);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  letter-spacing: 5px;
  font-size: 19px;
  font-weight: 800;
}

.rank-page-info {
  min-width: 0;
}

.rank-page-info h3 {
  margin-bottom: 8px;
  color: #222;
  font-size: 22px;
}

.rank-page-info h3:hover {
  color: #ff6b35;
}

.rank-page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 10px;
  color: #888;
  font-size: 13px;
}

.rank-page-meta span {
  padding: 4px 10px;
  border-radius: 999px;
  background: #f0f0f0;
}

.rank-page-desc {
  max-width: 820px;
  min-height: 48px;
  max-height: 72px;
  color: #666;
  font-size: 14px;
  line-height: 1.7;
  overflow: hidden;
  margin-bottom: 12px;
}

.rank-page-data {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #999;
  font-size: 13px;
}

.rank-page-data strong {
  color: #ff6b35;
}

.rank-page-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-width: 118px;
}

.rank-page-actions a,
.rank-page-actions button {
  width: 118px;
  height: 38px;
  border-radius: 999px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 手机端排行榜 */
@media (max-width: 860px) {
  .rank-page-item {
    grid-template-columns: 36px 92px 1fr;
  }

  .rank-page-cover {
    width: 92px;
    height: 126px;
    font-size: 17px;
  }

  .rank-page-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .rank-page-item {
    grid-template-columns: 1fr;
  }

  .rank-page-num {
    width: 32px;
    height: 32px;
  }

  .rank-page-cover {
    width: 120px;
    height: 160px;
  }

  .rank-page-actions {
    flex-wrap: wrap;
  }
}