/* The hub: a plain games page. One row per game: its color tile and icon,
   name, one line, and today's result once you've played. */

.hub { max-width: 760px; margin: 0 auto; padding: 24px 16px max(36px, env(safe-area-inset-bottom)); }

.intro { margin-bottom: 22px; }
.intro .date { margin: 0 0 4px; font-size: 15px; font-weight: 700; }
.intro h2 { margin: 0 0 6px; font: 700 clamp(28px, 7vw, 36px)/1.1 var(--slab); letter-spacing: -0.01em; }
.intro .next { margin: 0; font-size: 14px; color: var(--muted); }
.intro .next b { color: var(--ink); font-variant-numeric: tabular-nums; }

.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 720px) { .list { grid-template-columns: 1fr 1fr; } }

.game {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center;
  min-height: 100px; padding: 14px; border: 1px solid var(--rule); border-radius: 8px;
  color: inherit; text-decoration: none; background: var(--paper);
}
a.game:hover { background: #fafafa; border-color: #c4c4c4; }
.tile { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 8px; background: var(--game); }
.tile svg { width: 44px; height: 44px; }
.txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.txt b { font: 700 22px/1.1 var(--slab); }
.txt .title { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.txt .by { font-size: 13px; font-weight: 600; color: var(--muted); }
.txt .tag { font-size: 14px; color: var(--muted); line-height: 1.3; }
.txt .status { margin-top: 4px; font-size: 13px; font-weight: 700; }
.sqs { display: inline-flex; gap: 3px; vertical-align: -3px; }
.sq { display: inline-grid; place-items: center; width: 16px; height: 16px; font-style: normal; font-size: 10px; color: #fff; }
.sq.g { background: var(--green); }
.sq.y { background: var(--yellow); }
.sq.x { background: var(--gray); }
.sq.r { background: var(--red); }
.cta { white-space: nowrap; }
.soon .game { background: var(--paper); }
.soon .tile { opacity: 0.45; }
.soon .txt b { color: #8a8a8a; }
.soon .cta { font-size: 13px; font-weight: 600; color: #9a9a9a; }

.more { margin: 40px 0 16px; padding-top: 22px; border-top: 1px solid var(--ink); }
.more h2 { margin: 0 0 4px; font: 700 clamp(24px, 6vw, 30px)/1.1 var(--slab); }
.more p { margin: 0; font-size: 14px; color: var(--muted); }

.foot { margin-top: 32px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.foot a { color: var(--ink); }
