.tab-content {
  margin-top: 90px;
  background-color:#FFFFFF
}
/* search-results.css */
/* 搜索结果页面整体样式 */
.search-results {
  padding: 20px 0;
}

/* 搜索结果标题样式 */
.content__title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  margin-left: 20px;
}
#search-results-title {
  color: #9E6DFC;
}

/* 搜索结果项样式 - PC端三列布局 */
.item {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  display: flex;
  flex-direction: row;
  padding: 0;
  gap: 20px;
  flex-grow: 1;
  z-index: 0;
  position: static;
  width: 100%;
  height: auto;
  opacity: 1;
  background-color: #FFFFFF;
}

.item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* 封面图片样式 - 左侧 */
.item__cover-wrapper {
  position: static;
  width: 153px;
  height: 213px;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 10px;
  background: #EEEEEE;
  opacity: 1;
  z-index: 0;
  margin-left: 20px;
}

.item__cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.item__cover:hover {
  transform: scale(1.05);
}

.item__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(123, 77, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.item__cover:hover .item__play {
  opacity: 1;
}

.item__play svg {
  width: 24px;
  height: 24px;
  fill: white;
}

/* 内容区域样式 - 中间 */
.item__content {
  position: static;
  width: 630px;
  height: 214px;
  opacity: 1;
  display: flex;
  flex-direction: column;
  padding: 0;
  gap: 8px;
  flex-grow: 1;
  z-index: 1;
  background-color: white;
  left: 173px;
}

/* 标题样式 */
.item__title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease;
}

.item__title a { 
    color: #333;
}


.item__title:hover {
  color: #7b4dff;
}

/* 作者名样式 */
.item__author {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

/* 描述样式 */
.item__description {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
  max-height: 48px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0;
}

/* 标签样式 */
.item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.item__tag {
  display: inline-block;
  padding: 4px 8px;
  background-color: #f0f0f0;
  border-radius: 12px;
  font-size: 12px;
  color: #666;
  transition: background-color 0.2s ease;
}

.item__tag:hover {
  background-color: #e0e0e0;
}

/* 状态和统计信息 */
.item__info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
  width: 100%;
}

.item__status {
  font-size: 14px;
  color: #666;
  flex-shrink: 0;
  display: none;
}

/* 统计图标 */
.item__stats {
  display: flex;
  gap: 16px;
  margin-right: auto; /* 将统计信息推到右边 */
}

.item__stat {
  display: flex;
  align-items: center;
  gap: 4px;
}

.item__stat svg {
  width: 16px;
  height: 16px;
  fill: #666;
}

/* 操作按钮组 - 右侧 */
.item__actions {
  position: static;
  width: 201px;
  height: 117px;
  opacity: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  gap: 28px;
  z-index: 0;
  background-color: white;
}

/* 添加到书架按钮 - 上方 */
.add-to-library-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  gap: 10px;
  z-index: 0;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  background-image: url('../img/add-to-library.png');
  background-size: 112px 24px; /* 修改为指定尺寸 */
  background-repeat: no-repeat;
  background-position: center;
  width: 148px;
  height: 24px;
  top: 4px;
}

/* 已在书架按钮 - 上方 */
.in-library-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  gap: 10px;
  z-index: 0;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  background-image: url('../img/in-library.png');
  background-size: 112px 24px; /* 修改为指定尺寸 */
  background-repeat: no-repeat;
  background-position: center;
  width: 112px;
  height: 24px;
  top: 4px;
}

.in-library-btn:hover {
  background-color: #f0f0ff;
}

/* 阅读按钮 - 下方 */
.read-now-btn {
  /* position: absolute;
  width: 201px;
  height: 65px; */
  border-radius: 33.5px;
  opacity: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 13px 52px;
  gap: 5px;
  background: #9E6DFC;
  border: none;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 160px;
  background-image: url('../img/read-now.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 150px;
  height: 40px;
}

.read-now-btn:hover {
  background-color: #8a58d8;
  transform: translateY(-1px);
}
