/* predictions.css
   Predictions page (predictions.html): a compact list of forecasts, soonest first.
   Needs theme.css, page-shell.css and lists.css. */

.pred-list { display: grid; align-content: start; }
.pred-item { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 7px; align-items: baseline; padding: 4px 4px; border-bottom: 1px solid var(--line); border-radius: 6px; transition: background-color 150ms ease; }
.pred-item:hover { background-color: var(--hover-gold); }
.pred-when { color: var(--blue); font-size: 11px; font-weight: 400; line-height: 1.4; white-space: nowrap; }
.pred-text { margin: 0; color: #fff; font-size: 12px; line-height: 1.4; }
.pred-by { color: var(--muted); font-size: 11px; white-space: nowrap; }

@media (max-width: 560px) {
  .pred-item { grid-template-columns: 72px minmax(0, 1fr); gap: 4px; padding: 3px 2px; }
  .pred-when { font-size: 10px; line-height: 1.5; }
  .pred-text { font-size: 11px; line-height: 1.5; }
  .pred-by { font-size: 10px; }
}
