@charset "utf-8";
/* ========== 分类页增强样式 ========== */
/* 适配 9yaoyao.com 蓝色主题 */

/* 页面背景 */
.page-search-none {
  background-color: var(--bg-color, #F7F8FA) !important;
}

/* 左侧分类栏 */
.cate-side {
  background-color: var(--bg-gray, #F5F6F8) !important;
}

.cate-tabs ul li {
  transition: all 0.2s ease;
  position: relative;
  border-radius: 0;
}

.cate-tabs ul li a {
  color: var(--text-secondary, #969799);
  transition: color 0.2s ease;
}

.cate-tabs ul li.active {
  background-color: var(--card-bg, #fff) !important;
}

.cate-tabs ul li.active a {
  color: var(--primary-color, #1989FA) !important;
  font-weight: 600;
}

/* 隐藏旧版红色竖条（在 a:before 上） */
.cate-tabs ul li.active a:before {
  background-image: none !important;
  background: var(--primary-gradient, linear-gradient(135deg, #1989FA 0%, #4DA6FF 100%)) !important;
  width: 3px !important;
  border-radius: 0 2px 2px 0;
}

/* 右侧内容区 */
.cate-body {
  background-color: var(--card-bg, #fff);
}

/* 分类网格项 */
.cate-body .cate-grid li a,
.cate-body .cate-item a {
  border-radius: var(--radius-small, 8px);
  transition: all 0.2s ease;
}

.cate-body .cate-grid li a:active,
.cate-body .cate-item a:active {
  background-color: rgba(25, 137, 250, 0.05);
  transform: scale(0.96);
}

/* 分类标题 */
.cate-body .cate-hd,
.cate-body .grid-hd {
  font-weight: 600;
  color: var(--text-primary, #323233);
  border-bottom: 1px solid var(--border-light, #F5F5F5);
}

/* 分类图标圆角 */
.cate-body .cate-grid li img,
.cate-body .cate-item img {
  border-radius: var(--radius-small, 8px);
  background-color: var(--bg-gray, #F5F6F8);
}

/* 分类文字 */
.cate-body .cate-grid li .item-name,
.cate-body .cate-item .item-name {
  color: var(--text-primary, #323233);
  font-size: .72rem;
}
