/* =====================================================
   信息列表页样式 list.css
   ===================================================== */

/* ---------- 列表页 Banner ---------- */
.list-banner {
  background: linear-gradient(120deg, #4c1d95 0%, #7c3aed 38%, #c026d3 72%, #ec4899 100%);
  padding: 46px 0 54px; color: #fff; position: relative; overflow: hidden;
}
.list-banner::after {
  content: ""; position: absolute; right: -80px; top: -100px;
  width: 340px; height: 340px; border-radius: 50%;
  background: rgba(255, 255, 255, .07);
}
.lb-crumbs { font-size: 13px; color: rgba(255, 255, 255, .75); margin-bottom: 18px; }
.lb-crumbs a { color: rgba(255, 255, 255, .75); }
.lb-crumbs a:hover { color: #fff; }
.lb-crumbs i { margin: 0 8px; font-size: 11px; }
.lb-crumbs span { color: #fff; }
.list-banner h1 { font-size: 34px; letter-spacing: 2px; margin-bottom: 10px; }
.list-banner h1 i { margin-right: 6px; }
.list-banner > .container > p { font-size: 14px; color: rgba(255, 255, 255, .82); margin-bottom: 26px; letter-spacing: 1px; }
.lb-search {
  width: 640px; height: 52px;
  display: flex; align-items: center;
  background: #fff; border-radius: 26px; padding: 0 6px 0 22px;
  box-shadow: 0 12px 30px rgba(59, 10, 89, .30);
  position: relative; z-index: 2;
}
.lb-search i { color: var(--pink); margin-right: 10px; }
.lb-search input { flex: 1; font-size: 14px; color: var(--ink); }
.lb-search input::placeholder { color: var(--muted); }
.lb-search button {
  height: 42px; padding: 0 30px; border-radius: 22px;
  background: var(--grad); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 2px;
  transition: all .3s;
}
.lb-search button:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(236, 72, 153, .4); }

/* ---------- 主体布局 ---------- */
.list-main { display: flex; gap: 24px; margin-top: 28px; }
.list-content { width: 866px; }
.list-side { width: 310px; }

/* ---------- 筛选面板 ---------- */
.filter-panel {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 10px 24px 6px; box-shadow: var(--shadow-soft);
}
.f-row { display: flex; align-items: flex-start; padding: 14px 0; border-bottom: 1px dashed var(--border); }
.f-row:last-child { border-bottom: none; }
.f-label {
  width: 96px; flex-shrink: 0; font-size: 14px; font-weight: 700; color: var(--ink);
  line-height: 28px;
}
.f-label i { margin-right: 7px; color: var(--pink); }
.f-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.f-tags a {
  padding: 5px 18px; border-radius: 15px; font-size: 13px; color: var(--text);
  background: var(--bg-page); border: 1px solid transparent;
  transition: all .25s;
}
.f-tags a:hover { color: var(--pink); border-color: rgba(236, 72, 153, .45); background: #fff; }
.f-tags a.on {
  background: var(--grad); color: #fff; font-weight: 600;
  box-shadow: 0 4px 10px rgba(236, 72, 153, .30);
}

/* ---------- 排序工具条 ---------- */
.sort-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin: 20px 0 18px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 8px 20px;
}
.sort-tabs { display: flex; }
.sort-tabs a {
  padding: 10px 22px; font-size: 14px; color: var(--text); position: relative;
  transition: color .25s;
}
.sort-tabs a i { margin-right: 6px; font-size: 13px; }
.sort-tabs a.on { color: var(--pink); font-weight: 700; }
.sort-tabs a.on::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 2px;
  width: 24px; height: 3px; border-radius: 2px; background: var(--grad-h);
}
.sort-tabs a:hover { color: var(--pink); }
.sort-count { font-size: 13px; color: var(--muted); }
.sort-count strong { color: var(--pink); font-size: 16px; }

/* ---------- 卡片网格（3列） ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid .act-cover { height: 165px; }
.card-grid .act-body { padding: 14px 16px 16px; }
.card-grid .act-title { font-size: 15px; height: 44px; }
.card-grid .act-price { font-size: 19px; }

/* ---------- 分页 ---------- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 34px 0 10px; }
.pagination a {
  min-width: 38px; height: 38px; padding: 0 14px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 19px; font-size: 14px; color: var(--text);
  background: #fff; border: 1px solid var(--border);
  transition: all .25s;
}
.pagination a:hover {
  color: var(--pink); border-color: rgba(236, 72, 153, .5);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, .10);
}
.pagination a.on { background: var(--grad); color: #fff; font-weight: 700; border-color: transparent; box-shadow: 0 6px 14px rgba(236, 72, 153, .30); }
.pagination a.disabled { color: #cdbfda; cursor: not-allowed; }
.pagination a.disabled:hover { color: #cdbfda; border-color: var(--border); box-shadow: none; }
.pg-dots { color: var(--muted); }

/* ---------- 侧栏：发布活动入口 ---------- */
.side-publish {
  background: linear-gradient(150deg, #6d28d9 0%, #a855f7 55%, #ec4899 100%);
  border-radius: var(--radius); color: #fff;
  padding: 30px 26px 26px; text-align: center;
  position: relative; overflow: hidden;
  box-shadow: 0 12px 30px rgba(124, 58, 237, .30);
}
.side-publish::before {
  content: "\f004"; /* heart icon code */
  position: absolute; right: -18px; bottom: -30px;
  font-family: "Font Awesome 6 Free"; font-weight: 900;
  font-size: 120px; color: rgba(255, 255, 255, .10);
}
.side-publish > i {
  width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 16px;
  background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .3);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.side-publish h3 { font-size: 19px; letter-spacing: 1px; margin-bottom: 10px; }
.side-publish p { font-size: 12px; line-height: 1.8; color: rgba(255, 255, 255, .85); margin-bottom: 20px; }
.side-publish .btn { background: #fff; color: var(--pink); box-shadow: 0 8px 18px rgba(59, 10, 89, .25); }
.side-publish .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(59, 10, 89, .35); color: var(--purple-deep); }
.sp-link { display: inline-block; margin-top: 14px; font-size: 12px; color: rgba(255, 255, 255, .8); }
.sp-link i { margin-right: 5px; color: #ffd166; }
.sp-link:hover { color: #fff; }

/* ---------- 侧栏通用卡片 ---------- */
.side-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  margin-top: 24px; box-shadow: var(--shadow-soft);
  padding: 20px 20px 12px;
}
.side-head { border-bottom: 1px dashed var(--border); padding-bottom: 12px; margin-bottom: 6px; }
.side-head h3 { font-size: 16px; color: var(--ink); }
.side-head h3 i { margin-right: 8px; color: var(--pink); }

/* 侧栏排行 */
.side-rank li + li { border-top: 1px dashed #f6edf8; }
.side-rank a { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-radius: 10px; }
.side-rank img { width: 86px; height: 58px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.sr-no {
  width: 22px; flex-shrink: 0; text-align: center;
  font-size: 16px; font-weight: 800; font-style: italic; color: #c9b6d8;
}
.sr-no.n1 { color: var(--pink); }
.sr-no.n2 { color: var(--purple); }
.sr-no.n3 { color: #c084fc; }
.sr-info { flex: 1; min-width: 0; }
.sr-info h4 {
  font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.5;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  transition: color .25s;
}
.side-rank a:hover .sr-info h4 { color: var(--pink); }
.sr-info p { margin-top: 5px; font-size: 12px; color: var(--muted); }
.sr-info p i { margin-right: 4px; color: var(--orange); }

/* 侧栏安全提示 */
.side-card.safe { padding-bottom: 20px; }
.side-tips li { padding: 9px 0 9px 2px; font-size: 13px; color: var(--text); }
.side-tips i { margin-right: 9px; color: var(--green); }
.side-tips li:hover { color: var(--pink); }
