@charset "UTF-8";
/* V7.0 黑金主题文库页面 */
.library-page[data-v-8e09d447] {
  background: var(--bg-page);
  min-height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.content-body[data-v-8e09d447] {
  padding: 24px 24px 24px 30px;
  max-width: 100%;
  margin: 0;
}

/* 面包屑导航 */
.breadcrumb[data-v-8e09d447] {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb-item[data-v-8e09d447] {
  cursor: pointer;
  transition: color 0.2s;
}
.breadcrumb-item[data-v-8e09d447]:hover:not(.active) {
  color: var(--color-primary);
}
.breadcrumb-item.active[data-v-8e09d447] {
  color: var(--color-primary);
  font-weight: 500;
  cursor: default;
}
.breadcrumb-item .separator[data-v-8e09d447] {
  margin-left: 8px;
  color: var(--text-muted);
}

/* 页面横幅 - 黑金主题 */
.page-banner[data-v-8e09d447] {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  padding: 48px 32px;
}
.banner-bg[data-v-8e09d447] {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #1a1a1a, #2a2a2a, #0a0a0a);
}
.banner-pattern[data-v-8e09d447] {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.banner-line[data-v-8e09d447] {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--color-primary), transparent);
  opacity: 0.5;
}
.banner-content[data-v-8e09d447] {
  position: relative;
  z-index: 1;
  text-align: center;
}
.banner-title[data-v-8e09d447] {
  font-size: 36px;
  font-weight: bold;
  background: linear-gradient(to bottom right, #F3E5AB, #D4AF37, #B8860B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  letter-spacing: 4px;
}
.title-divider[data-v-8e09d447] {
  width: 80px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--color-primary), transparent);
  margin: 0 auto 16px;
}
.banner-subtitle[data-v-8e09d447] {
  font-size: 16px;
  color: var(--text-muted);
  letter-spacing: 2px;
}

/* 主内容区布局 */
.library-content[data-v-8e09d447] {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

/* 左侧分类树 - 黑金主题 */
.category-sidebar[data-v-8e09d447] {
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  height: fit-content;
  position: sticky;
  top: 24px;
}
.sidebar-header[data-v-8e09d447] {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border-bottom: 1px solid var(--border-light);
}
.gold-indicator[data-v-8e09d447] {
  width: 3px;
  height: 20px;
  background: var(--color-primary);
  border-radius: 2px;
}
.sidebar-title[data-v-8e09d447] {
  font-size: 17px;
  font-weight: bold;
  color: var(--text-primary);
  margin: 0;
}
.category-list[data-v-8e09d447] {
  list-style: none;
  padding: 12px;
  margin: 0;
}
.category-group[data-v-8e09d447] {
  margin-bottom: 4px;
}
.category-item[data-v-8e09d447] {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-primary);
}
.category-item[data-v-8e09d447]:hover {
  background: rgba(255, 255, 255, 0.05);
}
.category-item.active[data-v-8e09d447] {
  background: linear-gradient(to right, #2c2c2c, #1a1a1a);
  border-left: 3px solid var(--color-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.category-item.active .category-name[data-v-8e09d447] {
  color: var(--color-primary);
}
.category-item.parent[data-v-8e09d447] {
  font-weight: 500;
}
.category-item.parent.expanded[data-v-8e09d447] {
  background: rgba(212, 175, 55, 0.05);
}
.category-item.child[data-v-8e09d447] {
  padding-left: 32px;
  font-size: 14px;
  color: var(--text-secondary);
}
.category-item.child[data-v-8e09d447]:hover {
  color: var(--color-primary);
}
.category-item.child.active[data-v-8e09d447] {
  color: var(--color-primary);
}
.category-icon[data-v-8e09d447] {
  font-size: 16px;
  margin-right: 10px;
  flex-shrink: 0;
}
.category-name[data-v-8e09d447] {
  font-size: 15px;
  flex: 1;
}
.article-count[data-v-8e09d447] {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--color-primary);
  margin-left: 8px;
}
.expand-icon[data-v-8e09d447] {
  font-size: 10px;
  color: var(--text-muted);
  margin-left: 8px;
  transition: transform 0.2s;
}
.children-list[data-v-8e09d447] {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.children-list.expanded[data-v-8e09d447] {
  max-height: 500px;
}
.child-indicator[data-v-8e09d447] {
  color: var(--text-muted);
  margin-right: 8px;
  font-size: 12px;
}

/* 右侧文章列表 */
.article-content[data-v-8e09d447] {
  min-width: 0;
}
.content-header[data-v-8e09d447] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 20px 24px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-light);
}
.content-title[data-v-8e09d447] {
  font-size: 20px;
  font-weight: bold;
  color: var(--color-primary);
  margin: 0;
}
.article-total[data-v-8e09d447] {
  font-size: 14px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
}
.article-total .total-num[data-v-8e09d447] {
  color: var(--color-primary);
  font-weight: bold;
}

/* 文章列表 */
.article-list[data-v-8e09d447] {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 400px;
}
.article-item[data-v-8e09d447] {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.3s ease;
}
.article-item[data-v-8e09d447]:hover {
  transform: translateY(-2px);
  border-color: rgba(197, 160, 89, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.article-item:hover .article-cover img[data-v-8e09d447] {
  transform: scale(1.05);
}
.article-cover[data-v-8e09d447] {
  width: 180px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  /* 无图时显示金色渐变 */
}
.article-cover img[data-v-8e09d447] {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.article-cover.default-cover[data-v-8e09d447] {
  background: linear-gradient(135deg, #1a1610 0%, #0d0a05 50%, #1a1610 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
}
.article-cover.default-cover[data-v-8e09d447]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(197, 160, 89, 0.15), transparent 60%);
  border-radius: inherit;
}
.cover-text[data-v-8e09d447] {
  color: rgba(197, 160, 89, 0.3);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  position: relative;
  z-index: 1;
}
.article-info[data-v-8e09d447] {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.article-title[data-v-8e09d447] {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 10px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-desc[data-v-8e09d447] {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 auto 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-meta[data-v-8e09d447] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}
.meta-category[data-v-8e09d447] {
  font-size: 12px;
  color: var(--color-primary);
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid rgba(197, 160, 89, 0.2);
  padding: 4px 14px;
  border-radius: 20px;
}
.read-btn[data-v-8e09d447] {
  padding: 8px 20px;
  background: transparent;
  color: var(--color-primary);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}
.read-btn[data-v-8e09d447]:hover {
  background: var(--color-primary);
  color: #000;
  transform: translateX(4px);
}

/* 空状态 - 黑金主题 */
.empty-state[data-v-8e09d447] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  min-height: 500px;
}
.empty-decor[data-v-8e09d447] {
  position: absolute;
  top: 40px;
  right: 60px;
  font-size: 120px;
  opacity: 0.03;
}
.empty-icon-wrap[data-v-8e09d447] {
  width: 120px;
  height: 120px;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1));
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}
.empty-icon[data-v-8e09d447] {
  font-size: 48px;
}
.empty-title[data-v-8e09d447] {
  font-size: 22px;
  font-weight: bold;
  color: var(--text-primary);
  margin: 0 0 16px 0;
}
.empty-divider[data-v-8e09d447] {
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  margin-bottom: 20px;
}
.empty-desc[data-v-8e09d447] {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  text-align: center;
  margin: 0 0 32px 0;
}
.home-btn[data-v-8e09d447] {
  padding: 10px 24px;
  background: transparent;
  color: var(--color-primary);
  border: 1px solid rgba(197, 160, 89, 0.5);
  border-radius: 24px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}
.home-btn[data-v-8e09d447]:hover {
  background: var(--color-primary);
  color: #000;
}

/* 分页器 */
.pagination-wrap[data-v-8e09d447] {
  display: flex;
  justify-content: center;
  padding: 24px 0;
}

/* 响应式适配 */
@media (max-width: 1024px) {
.library-content[data-v-8e09d447] {
    grid-template-columns: 240px 1fr;
}
.article-cover[data-v-8e09d447] {
    width: 140px;
    height: 100px;
}
}
@media (max-width: 768px) {
.content-body[data-v-8e09d447] {
    padding: 12px;
}
.library-content[data-v-8e09d447] {
    grid-template-columns: 1fr;
}
.category-sidebar[data-v-8e09d447] {
    position: relative;
    top: 0;
}
.page-banner[data-v-8e09d447] {
    padding: 32px 20px;
}
.banner-title[data-v-8e09d447] {
    font-size: 26px;
}
.article-item[data-v-8e09d447] {
    flex-direction: column;
    padding: 16px;
}
.article-cover[data-v-8e09d447] {
    width: 100%;
    height: 160px;
}
.content-header[data-v-8e09d447] {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 16px;
}
.article-title[data-v-8e09d447] {
    font-size: 15px;
}
.article-desc[data-v-8e09d447] {
    font-size: 13px;
}
.empty-state[data-v-8e09d447] {
    padding: 60px 20px;
    min-height: 400px;
}
.empty-icon-wrap[data-v-8e09d447] {
    width: 100px;
    height: 100px;
}
}