/* shared/cv-rarity.css: the cosmetic rarity chip and tile for pages outside .cv-ds (the member's My Avatar page,
   served at /account/cv-rarity.css). GENERATED from design-system/components.css ("work tools" .cv-rarity* rules) and
   design-system/tokens.css by scripts/design-sync-operator.mjs: change those, then run it.
   tests/design-tokens-sync.test.mjs fails when this copy differs. */
.cv-rarity,.cv-rarity-tile{
  --cv-rarity-typical:#a3abb5;
  --cv-rarity-typical-on-light:#5f6368;
  --space-2:8px;
  --space-3:12px;
  --radius-pill:999px;
  --color-text:var(--cv-ink);
  --weight-bold:700;
  --text-small:15px;
  --font-body:"Rubik","Segoe UI",system-ui,sans-serif;
  --cv-rarity-common:#3ddc5a;
  --cv-rarity-common-on-light:#15722f;
  --cv-rarity-uncommon:#4da3ff;
  --cv-rarity-uncommon-on-light:#0a5cb8;
  --cv-rarity-rare:#bf8af8;
  --cv-rarity-rare-on-light:#7a2fc2;
  --cv-rarity-exotic:#ff8c1a;
  --cv-rarity-exotic-on-light:#9c4a07;
  --cv-rarity-unique:#ffd35c;
  --cv-rarity-unique-on-light:#7a5c00;
  --cv-rarity-unique-border:double 3px var(--cv-rarity-unique);
  --color-surface-sunken:var(--cv-tone-1);
  --duration-sweep:1600ms;
  --ease-standard:ease;
  --cv-ink:#e8ecf1;
  --cv-tone-1:#10161d;
}
.cv-rarity{--cv-rarity-ink:var(--cv-rarity-typical);--cv-rarity-ink-light:var(--cv-rarity-typical-on-light);display:inline-flex;align-items:center;gap:var(--space-2);max-width:100%;min-height:24px;padding:2px var(--space-3);border:1px solid var(--cv-rarity-ink);border-radius:var(--radius-pill);background-color:color-mix(in srgb,var(--cv-rarity-ink) 10%,transparent);color:var(--color-text);font:var(--weight-bold) var(--text-small)/1.2 var(--font-body);white-space:nowrap;vertical-align:middle}
.cv-rarity--common{--cv-rarity-ink:var(--cv-rarity-common);--cv-rarity-ink-light:var(--cv-rarity-common-on-light)}
.cv-rarity--uncommon{--cv-rarity-ink:var(--cv-rarity-uncommon);--cv-rarity-ink-light:var(--cv-rarity-uncommon-on-light)}
.cv-rarity--rare{--cv-rarity-ink:var(--cv-rarity-rare);--cv-rarity-ink-light:var(--cv-rarity-rare-on-light)}
.cv-rarity--exotic{--cv-rarity-ink:var(--cv-rarity-exotic);--cv-rarity-ink-light:var(--cv-rarity-exotic-on-light)}
.cv-rarity--unique{--cv-rarity-ink:var(--cv-rarity-unique);--cv-rarity-ink-light:var(--cv-rarity-unique-on-light);border:var(--cv-rarity-unique-border);background-image:linear-gradient(110deg,transparent 35%,color-mix(in srgb,var(--cv-rarity-ink) 14%,transparent) 50%,transparent 65%);background-size:250% 100%;background-position:100% 0}
.cv-rarity--light{border-color:var(--cv-rarity-ink-light);background-color:color-mix(in srgb,var(--cv-rarity-ink-light) 8%,transparent);color:var(--cv-rarity-ink-light)}
.cv-rarity-tile{--cv-tier-dark:var(--cv-rarity-typical);--cv-tier-light:var(--cv-rarity-typical-on-light);--cv-tier:var(--cv-tier-dark);--cv-tier-wash:26%;--cv-tier-glow:0%;--cv-tier-glow-size:0px;--cv-tier-strength:1;--cv-tier-foil:none;--cv-tier-shine:none;border:2px solid var(--cv-tier);background-color:var(--color-surface-sunken);background-image:var(--cv-tier-shine),var(--cv-tier-foil),radial-gradient(circle at 50% 42%,color-mix(in srgb,var(--cv-tier) calc(var(--cv-tier-wash) * var(--cv-tier-strength)),transparent),color-mix(in srgb,var(--cv-tier) calc(var(--cv-tier-wash) * var(--cv-tier-strength) * .5),transparent) 78%);background-size:250% 100%,100% 100%,100% 100%;background-position:100% 0,0 0,0 0;background-repeat:no-repeat;box-shadow:inset 0 0 var(--cv-tier-glow-size) color-mix(in srgb,var(--cv-tier) calc(var(--cv-tier-glow) * var(--cv-tier-strength)),transparent)}
.cv-rarity-tile--common{--cv-tier-dark:var(--cv-rarity-common);--cv-tier-light:var(--cv-rarity-common-on-light);--cv-tier-wash:34%}
.cv-rarity-tile--uncommon{--cv-tier-dark:var(--cv-rarity-uncommon);--cv-tier-light:var(--cv-rarity-uncommon-on-light);--cv-tier-wash:38%}
.cv-rarity-tile--rare{--cv-tier-dark:var(--cv-rarity-rare);--cv-tier-light:var(--cv-rarity-rare-on-light);--cv-tier-wash:36%;--cv-tier-glow:35%;--cv-tier-glow-size:10px}
.cv-rarity-tile--exotic{--cv-tier-dark:var(--cv-rarity-exotic);--cv-tier-light:var(--cv-rarity-exotic-on-light);--cv-tier-wash:32%;--cv-tier-glow:45%;--cv-tier-glow-size:12px}
.cv-rarity-tile--unique{--cv-tier-dark:var(--cv-rarity-unique);--cv-tier-light:var(--cv-rarity-unique-on-light);--cv-tier-wash:32%;--cv-tier-glow:40%;--cv-tier-glow-size:12px;--cv-tier-foil:linear-gradient(125deg,transparent 20%,color-mix(in srgb,var(--cv-tier) 10%,transparent) 36%,color-mix(in srgb,var(--cv-rarity-uncommon) 7%,transparent) 48%,color-mix(in srgb,var(--cv-rarity-rare) 7%,transparent) 58%,transparent 76%);--cv-tier-shine:linear-gradient(110deg,transparent 40%,color-mix(in srgb,var(--color-text) 24%,transparent) 50%,transparent 60%)}
.cv-rarity-tile--locked{--cv-tier-strength:.45;--cv-tier-foil:none}
.cv-rarity-tile--light{--cv-tier:var(--cv-tier-light);background-color:transparent}
@media (prefers-reduced-motion:no-preference){.cv-rarity-tile--unique:hover,:hover>.cv-rarity-tile--unique,:focus-visible>.cv-rarity-tile--unique{animation:cv-rarity-shine var(--duration-sweep) var(--ease-standard) 1}}
@media (prefers-reduced-motion:reduce){.cv-rarity-tile--unique:hover,:hover>.cv-rarity-tile--unique,:focus-visible>.cv-rarity-tile--unique{--cv-tier-glow:70%}}
@keyframes cv-rarity-shine{from{background-position:100% 0,0 0,0 0}to{background-position:-150% 0,0 0,0 0}}
