/* The pictures lib/skills.js draws — the guide's figures, the daily
   exercises, a coach's designed skills — and the canvas lib/designer.js puts
   handles on. Shared by the Skills page and the coach desk (coaching.html),
   which draws a picture into an answer. */
.fg{width:100%;max-width:300px;display:block;margin:0 auto;background:var(--panel-2);border-radius:12px}
.fg polyline,.fg line,.fg path{fill:none;stroke-linecap:round;stroke-linejoin:round}
.fg-near{stroke:var(--text);stroke-width:3.4}
.fg-far{stroke:#6F7D93;stroke-width:3.2}
.fg-head{fill:var(--panel-2);stroke:var(--text);stroke-width:3}
.fg-ball{fill:var(--home);stroke:#7A3B08;stroke-width:1}
.fg-trail{fill:var(--home);opacity:.55}
.fg-floor{stroke:var(--line);stroke-width:1.5}
.fg-board{stroke:var(--muted);stroke-width:2.2}
.fg-rim{stroke:var(--bad);stroke-width:2;fill:none}
.fg-net{stroke:var(--muted);stroke-width:.8}
.fg-lead{stroke:var(--away);stroke-width:.8;opacity:.8}
.fg-dot{fill:var(--away)}
.fg-n{fill:#0B1A1D;font:700 7.5px Archivo,Arial,sans-serif;text-anchor:middle}
.fg-arrow{stroke:var(--home);stroke-width:2}
.fg-court{stroke:var(--line);stroke-width:1.4;fill:none}
.fg-chalk{stroke:var(--text);stroke-width:2.2;opacity:.55;stroke-linecap:round}
.fg-o{fill:none;stroke:var(--text);stroke-width:2.4}
.fg-x{stroke:var(--away);stroke-width:2.8}
.fg-dash{stroke:var(--muted);stroke-width:1.4;stroke-dasharray:3 3}
.fg-see{stroke:var(--away);stroke-width:1.2;stroke-dasharray:1.5 2.5}
.fg-run{stroke:var(--home);stroke-width:2}
.fg-foot{fill:none;stroke:var(--text);stroke-width:2}
.fg-planted{fill:rgba(247,128,31,.3);stroke:var(--home)}
.fg-ghost{stroke:var(--muted);stroke-dasharray:3 2.5}
.fg-pin{fill:var(--home)}
/* pictures made of parts: the defender in the other colour, the far limbs fainter */
.fg-def{stroke:var(--away);stroke-width:3.4}
.fg-dim{opacity:.5}
.fg .fg-dhead{stroke:var(--away)}
.fg .fg-dfoot{stroke:var(--away)}
.fg-toe{fill:var(--text)}
.fg-dtoe{fill:var(--away)}
.fg-pass line{stroke-dasharray:4 3}
.fg-orbit{stroke:var(--home);stroke-width:2;stroke-dasharray:4 3}
.fg-tennis{fill:#D7E84A;stroke:#6B7A12;stroke-width:.8}
.fg-wall{stroke:var(--muted);stroke-width:3}
.fg .fg-cone{fill:var(--home);stroke:#7A3B08;stroke-width:1}
.fg .fg-nose{fill:var(--text)}
.fg-back{stroke-dasharray:4 3}

/* the canvas a skill is drawn on (lib/designer.js) */
.dz{margin:0 0 12px}
.dz-canvas{max-width:440px;touch-action:none;user-select:none;-webkit-user-select:none;cursor:default}
.dz-hit{fill:transparent;cursor:grab}
.dz-h{fill:var(--panel);stroke:var(--text);stroke-width:1.2;pointer-events:none}
.dz-h.dz-on{fill:var(--home);stroke:#fff}
.dz-grip{stroke:var(--home)}
.dz-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:8px 0 0}
.dz-row label{font-size:12px;color:var(--muted);font-weight:600;display:flex;gap:8px;align-items:center}
.dz .chip{padding:7px 10px;font-size:12px}
.dz .chip.dz-d{border-color:var(--away);color:var(--away)}
.dz-picked{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:8px 0 0;padding:8px;border-radius:10px;background:var(--panel-2)}
.dz-picked span{font-size:12px;font-weight:700;margin-right:auto}
.dz .chip.dz-del{color:#F3B5AE;border-color:rgba(228,104,93,.5)}
.dz-row select{padding:8px 10px;border-radius:10px;background:var(--panel-2);border:1px solid var(--line);
  color:var(--text);font:inherit;font-size:13px;min-width:0;max-width:100%}
