/* Homepage app cards: the Explore button's label shrinks to fit its card.
   Kept out of index.html's inline <style> because the HTML validator's CSS checker does not
   know container queries yet and reports these valid rules as errors. Linked after that
   <style>, so these win; a browser without container units drops them and keeps the fixed
   sizes set there. --cta-em is the label's width in em, set on the cards with long names. */
.app-card { container-type: inline-size; }
.app-cta { font-size: min(0.95rem, calc((100cqi - 36px) / var(--cta-em, 10))); }
@media (max-width: 430px) {
  .app-cta { font-size: min(0.88rem, calc((100cqi - 24px) / var(--cta-em, 10))); }
}
@media (max-width: 380px) {
  .app-cta { font-size: min(0.78rem, calc((100cqi - 12px) / var(--cta-em, 10))); }
}
