/* f1gures - page styles, stage 3 group a) Home (Sharp).
   Layout only: every component on the page comes from the Sharp library
   (src/components/sharp/, public/css/sharp.css). Linked from BaseLayout after
   app.css and before site.css; tokens live in app.css. Only the owning group
   edits this file (docs/redesign/inventory.md section 4). */

/* Two columns on desktop (next race | season, trivia, last race), one on phones. */
.home-top { margin-bottom: 14px; }
.home-stack { display: grid; gap: 14px; align-content: start; min-width: 0; }
.home-stack > * { margin: 0; }
.home-trivia { min-width: 0; }
.home-trivia .trivia { margin-bottom: 0; }

/* Race day forecast: one tile per hour inside the library Rail. */
.home-wx .s-card-body { padding: 10px 12px 12px; }
.home-wx-hour {
  display: grid; justify-items: center; gap: 6px; padding: 8px 4px;
  border: 1px solid var(--line-1); background: var(--bg-1);
}
.home-wx-hour time { font-family: var(--f-mono); font-size: 11px; color: var(--fg-3); white-space: nowrap; }

/* Season records card foot. */
.home-note {
  margin: 0; padding: 10px 16px; border-top: 1px solid var(--line-1);
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3);
}

/* Form guide: one chip per round on the library marquee Rail. */
.home-fg { margin: 4px 0 0; }
.home-fg-item {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px;
  background: var(--bg-2); white-space: nowrap; font-size: 13px;
}
.home-fg-item .flag-img { width: 20px; height: 14px; object-fit: cover; }
.home-fg-rd { font-family: var(--f-mono); font-size: 11px; color: var(--fg-3); }
.home-fg-gp { font-family: var(--f-display); font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.home-fg-item b { font-family: var(--f-display); font-weight: 800; font-size: 15px; text-transform: uppercase; }

/* Beginner's guide link at the foot. */
.home-guide { margin-top: 28px; }
.home-guide-t { font-family: var(--f-display); font-weight: 800; font-size: 18px; letter-spacing: 0.06em; text-transform: uppercase; }
