/* Tailwind integration extensions; the v4 original visual language is untouched. */
.platform-list > div a.platform-download { color: #f0b294; font-size: 13px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.platform-list > div a.platform-download:hover { color: #fff0de; }
.archive-empty { grid-column: 1/-1; text-align: center; padding: 45px 0; }
.archive-stack { grid-auto-rows: 330px; }
@media (max-width: 800px) { .archive-stack { grid-auto-rows: auto; } }

/* Match the canvas viewport without cropping or stretching the game. */
#platformer { aspect-ratio: 1200 / 420; min-height: 0; object-fit: contain; touch-action: manipulation; }
@media (max-width: 800px) {
  #platformer { aspect-ratio: 600 / 420; }
  .play-hud { flex-wrap: wrap; gap: 4px 12px; }
  .play-hud strong { font-size: 18px; }
}
