/* Home (ui/home.js): one column, the Today card first and the only primary button on the screen.
   Motion: the leak bar fills with the `fill` token (900ms); off under Reduce Motion. */
.home { max-width: 560px; margin: 0 auto; padding: 18px 16px 40px; display: flex; flex-direction: column; gap: 12px; }
.home-game { align-self: flex-start; background: none; border: 0; padding: 4px 0; color: var(--gold); font-weight: 750; font-size: 14px; }
.home-game.muted { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.home-card { background: var(--panel); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.home-hero { background: linear-gradient(160deg, #1d4a86, var(--panel-2)); box-shadow: inset 0 1px 0 var(--gold-line), inset 0 0 0 1px rgba(216,192,138,0.28), var(--shadow); }
.home-card h2 { margin: 0; font-size: 22px; line-height: 1.12; font-weight: 850; font-stretch: 112%; letter-spacing: -0.01em; }
.home-card p { margin: 0; color: #dfe5ee; }
.home-k { color: var(--gold); font-weight: 750; font-size: 12.5px; }
.home-main { width: 100%; padding: 14px 18px; font-size: 15.5px; margin-top: 6px; }
.home-items { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.home-items li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13.5px; }
.home-items li.now { color: var(--text); font-weight: 700; }
.home-items li.done { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(243,239,228,0.35); }
.home-tick { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 11.5px; font-weight: 800; box-shadow: inset 0 0 0 1px var(--line-2); flex: none; }
.home-items li.now .home-tick { background: var(--gold); color: var(--accent-ink); box-shadow: none; }
.home-items li.done .home-tick { background: rgba(91,224,165,0.18); color: var(--good); box-shadow: none; }
.home-leak-name { font-size: 16px; }
.home-bar { height: 7px; border-radius: 4px; background: rgba(243,239,228,0.12); overflow: hidden; }
.home-bar i { display: block; height: 100%; border-radius: 4px; background: var(--good); transition: width 900ms cubic-bezier(.65,0,.35,1); }
.home-small { font-size: 13px; color: var(--muted) !important; }
.home-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.home-tile { background: var(--panel); border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; box-shadow: inset 0 0 0 1px var(--line); }
.home-tile b { font-size: 22px; font-weight: 850; font-stretch: 112%; }
.home-tile b.good { color: var(--good); }
.home-tile span { color: var(--muted); font-size: 12.5px; }
.home-tiles:has(> :only-child) { grid-template-columns: 1fr; }
.home-retake { align-self: center; margin-top: 6px; }
.play-pick { max-width: 460px; margin: 60px auto; padding: 0 16px; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.play-pick h2 { margin: 0; font-size: 22px; font-stretch: 112%; }
.play-pick p { margin: 0; color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
  .home-bar i { transition: none; }
}
