/* 稻城文章聚合 - 前台样式 */
.dcf-wrap {
  --dcf-accent: #b8860b;
  --dcf-accent-soft: #fbf3dd;
  --dcf-ink: #23201a;
  --dcf-muted: #8a8272;
  --dcf-line: #ece6d8;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--dcf-ink);
  max-width: 820px;
  margin: 0 auto 32px;
}
.dcf-title {
  font-size: 22px; font-weight: 600; margin: 0 0 18px;
  padding-left: 12px; position: relative;
}
.dcf-title::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 4px; border-radius: 2px; background: var(--dcf-accent);
}
.dcf-rule {
  font-size: 12.5px; color: var(--dcf-muted); margin: -8px 0 14px; padding-left: 16px;
}
.dcf-items { list-style: none; margin: 0; padding: 0; }
.dcf-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 13px 6px; border-bottom: 1px solid var(--dcf-line);
  transition: background .15s ease;
}
.dcf-item:hover { background: #fcfaf4; }
.dcf-rank {
  flex: 0 0 26px; height: 26px; line-height: 26px; text-align: center;
  font-size: 13px; font-weight: 600; color: var(--dcf-muted);
  background: #f3efe4; border-radius: 6px; margin-top: 1px;
}
.dcf-rank-top { color: #fff; background: var(--dcf-accent); }
.dcf-body { flex: 1; min-width: 0; }
.dcf-link {
  display: block; font-size: 15px; line-height: 1.5; font-weight: 500;
  color: var(--dcf-ink); text-decoration: none;
}
.dcf-link:hover { color: var(--dcf-accent); }
.dcf-meta { font-size: 12px; color: var(--dcf-muted); margin-top: 5px; }
.dcf-account { color: #8a6d1f; }
.dcf-also { color: #48733f; background: #eef6ef; padding: 1px 7px; border-radius: 9px; }
.dcf-sep { margin: 0 6px; color: #c9c1ae; }
.dcf-summary {
  font-size: 13px; line-height: 1.65; color: #6f6858; margin: 6px 0 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.dcf-empty { padding: 20px; text-align: center; color: #999; font-size: 14px; }

/* 网格布局 */
.dcf-grid .dcf-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.dcf-grid .dcf-item {
  display: block; border: 1px solid var(--dcf-line); border-radius: 10px;
  padding: 14px; background: #fff;
}
.dcf-grid .dcf-rank { float: left; margin: 0 10px 6px 0; }
.dcf-grid .dcf-body { clear: both; }
.dcf-grid .dcf-summary { -webkit-line-clamp: 3; }
