/* 赛季射门图（assets/shotmap.js）：人物页、球队页共用。
   **颜色、线宽、透明度照比赛页那张（match.html 的 .pitch 一节）**，那边每一个值都是取像素核过的：
   线色 #c3bacd（再浅在 580px 宽的图上 1px 的线就被抗锯齿摊没了）、所有线 1px 且 non-scaling-stroke、
   三种结果靠 fill-opacity 区分（不用元素 opacity：那会把描边一起调淡，射正看着比偏出还弱）、
   圆相乘混合（叠在一起变深而不是互相盖住）、混合只在射门那一组里（不把球场线压深）。
   类名换成 .smap 开头：比赛页自己那一套还在它的页面里，两边互不影响。 */
.smap{width:100%;display:block}
.smap .turf{fill:#f6f4f7;stroke:#c3bacd;stroke-width:1;vector-effect:non-scaling-stroke}
.smap .ln{fill:none;stroke:#c3bacd;stroke-width:1;vector-effect:non-scaling-stroke}
.smap .gline{stroke:#a79cb5}
.smap .post{stroke:var(--plum);stroke-width:3;opacity:.5}
.smap .spot{fill:#dcd7e0;stroke:none}
.smap .shots{isolation:isolate}
.smap .sh{cursor:pointer;paint-order:stroke;mix-blend-mode:multiply;transition:fill-opacity .12s}
.smap .goal{fill-opacity:.72;stroke-width:.5}
.smap .ontarget{fill-opacity:.26;stroke-width:.34}
.smap .miss{fill-opacity:0;stroke-width:.3}
.smap .sh:hover{fill-opacity:.8}
/* 选中的那一脚（图下面那一行写的就是它）：加一圈深色描边，不改大小 —— 改了大小就不是按 xG 画的了 */
.smap .sh.sel{stroke:var(--ink);stroke-width:.7;fill-opacity:.85}

/* 图周围的东西：筛选条、图例、读数那一行。和比赛页的 .shotfilter / .shotkey 一个样子 */
.smap-filter{display:flex;gap:6px;margin:0 0 14px;flex-wrap:wrap}
.smap-filter button{padding:6px 13px;border:1px solid var(--line);background:none;border-radius:999px;
  font:650 12px/1 var(--sans);color:var(--ink-2);cursor:pointer;transition:.14s}
.smap-filter button:hover{border-color:var(--orchid);color:var(--orchid)}
.smap-filter button.on{background:var(--plum);border-color:var(--plum);color:#fff}
.smap-key{display:flex;gap:6px 15px;margin-top:10px;font-size:11.5px;color:var(--ink-2);flex-wrap:wrap}
.smap-key span{display:inline-flex;align-items:center;gap:5px}
.smap-key .kd{width:11px;height:11px;border-radius:50%;display:inline-block;box-sizing:border-box}
.smap-key .kd.goal{background:var(--ink-2)}
/* 半透明填充写死 rgba（--ink-2 的 30%），不用 color-mix：旧浏览器上降级成没有背景，图例就和偏出一样了 */
.smap-key .kd.on{background:rgba(74,63,80,.3);border:1.4px solid var(--ink-2)}
.smap-key .kd.off{border:1.2px solid var(--ink-3)}
.smap-read{min-height:1.6em;margin:8px 0 0;font-size:12.5px;line-height:1.55;color:var(--ink-2);
  font-variant-numeric:tabular-nums}
.smap-read a{color:var(--orchid);font-weight:700;text-decoration:none;white-space:nowrap}
.smap-read a:hover{text-decoration:underline}
.smap-sum{margin:0 0 10px;font-size:12px;color:var(--ink-3);font-variant-numeric:tabular-nums}
.smap-sum b{color:var(--ink);font-weight:800}
