/* Home: compact hero, two-column body, dense row feed. */

.hero {
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
  padding: 30px 0 24px;
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(107,89,204,.16), transparent 62%);
}
.hero h1 {
  margin: 0 0 6px;
  font-size: clamp(26px, 4.2vw, 38px);
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.hero .tagline {
  margin: 0 0 16px;
  color: var(--text-dim);
  font-size: 14px;
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- two-column body ---------- */
.cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 26px;
  align-items: start;
}
.col-side section { margin-bottom: 24px; }
.col-main section { margin-bottom: 24px; }

.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.sec-head .more { color: var(--text-dim); font-size: 12.5px; }
.sec-head .more:hover { color: var(--accent); }

/* ---------- row feed ---------- */
.feed {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elev);
}
.feed .row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  min-height: 80px;
}
.feed.compact .row { min-height: 62px; padding: 7px 10px; }
.feed .row:last-child { border-bottom: none; }
.feed .row:hover { background: var(--bg-hover); }

.row-art {
  width: 46px;
  height: 62px;
  flex: none;
  border-radius: 5px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feed.compact .row-art { width: 34px; height: 46px; }
.row-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.row-art i { font-style: normal; font-size: 17px; opacity: .5; }

.row-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.row-t {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.row:hover .row-t { color: var(--accent); }
.row-s {
  font-size: 12px;
  color: var(--text-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.row-tag {
  flex: none;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(107,89,204,.16);
  border: 1px solid rgba(107,89,204,.34);
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
}
.row-when {
  flex: none;
  font-size: 11.5px;
  color: var(--text-dim);
  min-width: 62px;
  text-align: right;
}

/* ---------- sidebar bits ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.stat {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 10px;
  text-align: center;
}
.stat b { display: block; font-size: 19px; letter-spacing: -0.02em; }
.stat span {
  display: block; margin-top: 2px; color: var(--text-dim);
  font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em;
}

.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-art {
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  display: flex; align-items: center; justify-content: center;
}
.mini-art img { width: 100%; height: 100%; object-fit: cover; }
.mini-art i { font-style: normal; opacity: .5; }
.mini:hover .mini-art { border-color: var(--accent); }
.mini-t {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 5px; font-size: 11.5px; line-height: 1.3; color: var(--text-dim);
}
.mini:hover .mini-t { color: var(--text); }

@media (max-width: 900px) {
  .cols { grid-template-columns: 1fr; gap: 8px; }
  .col-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
}
@media (max-width: 640px) {
  .hero { padding: 22px 0 18px; }
  .row-when { display: none; }
  .col-side { grid-template-columns: 1fr; }
}
