/* Trend Radar (trends.js). Uses the dashboard tokens from styles.css. */
.trend-intro { margin: 6px 0 22px; }
.trend-intro h2 { font-family: var(--display); font-stretch: 108%; font-weight: 800; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.035em; line-height: 1.05; margin: 0 0 6px; }
.trend-intro p { margin: 0; color: var(--muted); font-size: 14px; max-width: 70ch; }
.trend-list { display: grid; gap: 12px; }
@media (min-width: 1100px) { .trend-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; } }
.trend-card { padding: 18px; display: grid; gap: 12px; min-width: 0; }
.trend-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.trend-head h3, .trend-head h4 { margin: 0; flex: 1; min-width: 0; font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.trend-head h4 { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trend-n { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.trend-why { margin: 0; color: var(--text-2); font-size: 13.5px; line-height: 1.5; }
.trend-ev { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.trend-ev li { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 10px; font-size: 13px; line-height: 1.4; }
.trend-ev li > a, .trend-ev li > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.trend-src { font-family: var(--mono); font-size: 11px; color: var(--muted); padding-top: 2px; grid-row: span 2; }
.trend-metric { grid-column: 2; color: var(--muted); font-family: var(--mono); font-size: 11.5px; }
.trend-ideas { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.trend-idea { display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.ti-body { display: grid; gap: 3px; min-width: 0; justify-items: start; }
.ti-body b { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.ti-body > span:last-child:not(.badge) { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.trend-idea .btn { flex: none; }
.trend-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
.trend-rail::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .trend-rail { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin: 0; padding: 0; overflow: visible; } }
.trend-mini { padding: 14px; display: grid; gap: 8px; scroll-snap-align: start; color: inherit; text-decoration: none; transition: border-color .15s; }
.trend-mini:hover { border-color: var(--line-2); }
.trend-mini p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
#homeTrends { margin-bottom: 24px; }
