/* 1TTD skill colours (publish23): see /assets/js/skill-colours.js. Pitch colours for the nine pitch-badge skills,
   category colours for the rest. Dark text on light fills, so chips stay legible on screen and on a printed sheet. */
/* publish24: THE single skill colour map. The :root values are the trainer's pitch skill-ring colours (Charlie Victor
   skill-band scheme as used on the 1TTD pitch rings, moved here from trainer/index.html unchanged); the pitch rings, the
   Stand Firm / Juggernaut badges, Free Play skill buttons, Team Builder chips, the Skills Index, the skill popup and the
   skills search all read these variables. Skills with no ring colour use the category fallback (cat-G … cat-T). */
/* publish28: THE single skill colour map, taken from Charlie Victor's Blood Bowl skill rings (Mk III 25 mm "Skill
   Bands", charlievictorproducts.co.uk, colours sampled from each ring's product photo). Charlie Victor colours a skill by
   its category: General grey, Agility tan, Strength light blue, Passing yellow, Devious pink, Mutation magenta; and gives
   nine skills their own colour: Block navy, Dodge yellow, Guard green, Tackle orange, Wrestle white, Mighty Blow red,
   Dirty Player purple, Sneaky Git teal, Leader purple. Traits have no Charlie Victor ring, so they stay stone. The pitch
   rings and badges (frenzy, sidestep, stand firm, juggernaut keep their own variables) read the same values. */
:root{--skill-block:#17468c;--skill-dodge:#fee608;--skill-guard:#5cb947;--skill-tackle:#f8a05c;--skill-wrestle:#feffff;--skill-mightyblow:#ec1b2e;--skill-dirtyplayer:#512584;--skill-sneakygit:#13b697;--skill-leader:#a33995;--skill-frenzy:#8d9194;--skill-sidestep:#dec8a3;--skill-standfirm:#55c7e1;--skill-juggernaut:#55c7e1}
[data-skc]{--skc-bg:#e6e1d4;--skc-fg:#17140c;--skc-bd:#8c8574}
[data-skc="block"]{--skc-bg:var(--skill-block);--skc-fg:#ffffff;--skc-bd:#0e2b56}
[data-skc="dodge"]{--skc-bg:var(--skill-dodge);--skc-fg:#14120c;--skc-bd:#9d8e04}
[data-skc="guard"]{--skc-bg:var(--skill-guard);--skc-fg:#14120c;--skc-bd:#39722c}
[data-skc="tackle"]{--skc-bg:var(--skill-tackle);--skc-fg:#14120c;--skc-bd:#996339}
[data-skc="wrestle"]{--skc-bg:var(--skill-wrestle);--skc-fg:#14120c;--skc-bd:#9a9a92}
[data-skc="mightyblow"]{--skc-bg:var(--skill-mightyblow);--skc-fg:#14120c;--skc-bd:#92101c}
[data-skc="dirtyplayer"]{--skc-bg:var(--skill-dirtyplayer);--skc-fg:#ffffff;--skc-bd:#321651}
[data-skc="sneakygit"]{--skc-bg:var(--skill-sneakygit);--skc-fg:#14120c;--skc-bd:#0b705d}
[data-skc="leader"]{--skc-bg:var(--skill-leader);--skc-fg:#ffffff;--skc-bd:#65235c}
[data-skc="frenzy"]{--skc-bg:var(--skill-frenzy);--skc-fg:#14120c;--skc-bd:#57595b}
[data-skc="sidestep"]{--skc-bg:var(--skill-sidestep);--skc-fg:#14120c;--skc-bd:#897c65}
[data-skc="standfirm"]{--skc-bg:var(--skill-standfirm);--skc-fg:#14120c;--skc-bd:#347b8b}
[data-skc="juggernaut"]{--skc-bg:var(--skill-juggernaut);--skc-fg:#14120c;--skc-bd:#347b8b}
[data-skc="cat-G"]{--skc-bg:#8d9194;--skc-fg:#14120c;--skc-bd:#57595b}
[data-skc="cat-A"]{--skc-bg:#dec8a3;--skc-fg:#14120c;--skc-bd:#897c65}
[data-skc="cat-S"]{--skc-bg:#55c7e1;--skc-fg:#14120c;--skc-bd:#347b8b}
[data-skc="cat-P"]{--skc-bg:#f0e907;--skc-fg:#14120c;--skc-bd:#949004}
[data-skc="cat-D"]{--skc-bg:#eba8cb;--skc-fg:#14120c;--skc-bd:#91687d}
[data-skc="cat-M"]{--skc-bg:#cd4a9a;--skc-fg:#14120c;--skc-bd:#7f2d5f}
[data-skc="cat-T"]{--skc-bg:#e6e1d4;--skc-fg:#2a261c;--skc-bd:#8c8574}
.skc-chip,[data-skc].skc-on{background:var(--skc-bg)!important;color:var(--skc-fg)!important;border-color:var(--skc-bd)!important}
.skc-legend{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0;padding:0;list-style:none;font-size:11px}
.skc-legend li{border:1px solid var(--skc-bd);background:var(--skc-bg);color:var(--skc-fg);border-radius:9px;padding:0 7px;line-height:17px}
@media print{[data-skc]{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
li[data-skc]{border-left:5px solid var(--skc-bg);padding-left:7px}
.sk-tag.skc-chip{border:1px solid var(--skc-bd)}
