/* Top page only. Reads like a notice board: masthead, today's game, then a numbered list. */
body.hub { padding: 0 max(18px, env(safe-area-inset-right)) calc(28px + env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); }
.hub header, .hub main { width: min(100%, 880px); }
.mast { padding: 14px 0 10px; border-bottom: 3px solid var(--ink); }
.mast h1 { margin: 0; font-size: clamp(23px, 7.2vw, 44px); line-height: 1.4; letter-spacing: .02em; }
.mast h1 span { display: inline-block; }
.mast h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--yellow) 62% 94%, transparent 94%); }
.update { display: inline-block; margin: 14px 0 0; padding: 5px 14px; font-size: 14px; font-weight: 800; letter-spacing: .06em; color: #fff; background: var(--ink); }
.update span { display: inline-block; margin-right: 6px; }
.update em { display: inline-block; margin: 0 2px; padding: 0 5px; font-style: normal; color: #fff; background: var(--red); }
.update b { font-size: 20px; margin: 0 3px; color: var(--yellow); }
.tease { margin: 8px 0 0; font-size: 13px; line-height: 1.7; }
.tease span { display: inline-block; }
.tease .aside { color: var(--gray); }
.card { display: block; color: inherit; text-decoration: none; background: #fff; border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; }
.card:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.art { position: relative; background: #ddd; }
.art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.no { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--gray); }
.card h2 { margin: 0; font-size: 16px; line-height: 1.5; }

.featured { margin-top: 14px; box-shadow: 6px 6px 0 var(--ink); }
.featured .art { aspect-ratio: 2.35 / 1; border-bottom: 2px solid var(--ink); }
.featured .body { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; padding: 10px 14px 12px; }
.featured .no { grid-column: 1; color: var(--red); }
.featured h2 { grid-column: 1; font-size: 19px; }
.featured .text { display: none; }
.play { grid-column: 2; grid-row: 1 / span 2; padding: 11px 16px; font-weight: 900; font-size: 14px; white-space: nowrap; background: var(--yellow); border: 2px solid var(--ink); border-radius: 6px; box-shadow: 3px 3px 0 var(--ink); }
.featured:active { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--ink); }

.shelf { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.shelf .card { display: grid; grid-template-columns: 104px 1fr; align-items: stretch; height: 100%; }
.shelf .art { min-height: 66px; border-right: 2px solid var(--ink); }
.shelf .body { align-self: center; padding: 8px 14px; }
.shelf .card:active { background: var(--yellow); }

@media (min-width: 700px) {
  .mast { padding: 40px 0 24px; display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 24px; }
  .mast h1 { grid-column: 1 / -1; }
  .update { grid-column: 1; justify-self: start; margin-top: 20px; }
  .tease { grid-column: 2; margin: 0; font-size: 14px; }
  .featured { display: grid; grid-template-columns: 1.4fr 1fr; margin-top: 28px; }
  .featured .art { aspect-ratio: auto; height: 240px; border-bottom: 0; border-right: 2px solid var(--ink); }
  .featured .body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; padding: 26px; }
  .featured h2 { font-size: 27px; }
  .featured .text { display: block; margin: 0 0 8px; font-size: 14px; line-height: 1.8; }
  .shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
  .shelf .card { display: block; }
  .shelf .art { aspect-ratio: 16 / 9; border-right: 0; border-bottom: 2px solid var(--ink); }
  .shelf .body { padding: 10px 14px 12px; }
}
@media (hover: hover) { .shelf .card:hover { box-shadow: 4px 4px 0 var(--ink); } .featured:hover .play { background: #fff; } }
