/* Promotion pop-up (ui/screens/promotion.js, also shown by tools/promo-comp.html): a "Skill learned" pop-up (books.css) with a pixel illustration. */
.promo-pop .illo { display: block; width: 400px; height: 224px; margin: 28px 0 14px; border-radius: 10px; image-rendering: pixelated; } /* top margin clears the close button; radius = .unlock .can; 4x of 100x56 art px */
.promo-pop h2 { margin-top: 8px; }
.promo-pop .can { margin-top: 8px; } /* gap between the two cards */
.promo-pop h2 + .can { margin-top: 10px; } /* title to the first card */
.promo-pop .can p.pay { font-weight: 800; }
.promo-pop .can .meter { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.promo-pop .can .bar { flex: 1; height: 10px; } /* the year report's bar (.modal.report .bar) */
.promo-pop > .unlock > .muted { margin: 10px 0 0; text-wrap: balance; }
/* whole-number scale only: 4x, then 3x, then 2x as the pop-up gets narrower (content = viewport - 24 around the pop-up - 46 inside it) */
@media (max-width: 469px) { .promo-pop .illo { width: 300px; height: 168px; } }
@media (max-width: 369px) { .promo-pop .illo { width: 200px; height: 112px; } }
