/* Trust badges (app/components/badges.js), prefix bd-. Duolingo's small capital tag: a soft fill with the strong
   colour on it (their green ._12f9L, blue "NEW" ._3LDH7, yellow hint label), radius 6, bold, uppercase. Colours only
   from tokens.css; the purple one has no soft token, so it is a tint of beetle. */

.bd { display: inline-flex; align-items: center; flex-shrink: 0; border-radius: 6px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; background: var(--bd-bg); color: var(--bd-fg); }
.bd--sm { padding: 2px 7px; font-size: 12px; line-height: 16px; }
.bd--md { padding: 3px 8px; font-size: 13px; line-height: 18px; }

.bd--green { --bd-bg: var(--color-sea-sponge); --bd-fg: var(--color-on-soft-green); }
.bd--blue { --bd-bg: var(--color-iguana); --bd-fg: var(--color-info-text); }   /* 6.6:1 (macaw on iguana was 2.5:1) */
.bd--gold { --bd-bg: var(--color-canary); --bd-fg: var(--color-warn-text); }   /* 6.7:1 */
.bd--grey { --bd-bg: var(--color-swan); --bd-fg: var(--color-eel); }   /* "New trader": wolf on swan was 3.6:1 */
.bd--purple { --bd-bg: rgba(var(--color-beetle-rgb), .18); --bd-fg: var(--color-butterfly); }

/* "screenshot": the inventory added from the kid's own screenshots, a weaker mark than Scanned's pill: the check in an
   outline circle in the muted text colour (badges-markup.js shotMark) */
.bd-shot { display: inline-flex; align-items: center; flex-shrink: 0; color: var(--color-label); }
.bd-shot > svg { display: block; }
