/* Shot chart v2 (flags.shotchart_v2): the card's Shots tab as a matchup map. Dark theme, green accent, 8px grid,
   tabular numbers, system / Inter type. Fill = opponent FG% allowed vs league (5 steps); text clears 4.5:1. */
.scv2{padding:24px;border-radius:20px;background:#0e1217;font-family:system-ui,-apple-system,"Inter",sans-serif;font-variant-numeric:tabular-nums;color:#e8edf2}
.scv2 .scv2-h{margin:0 0 8px;font-size:18px;font-weight:700;letter-spacing:-.01em;line-height:1.25;text-transform:none;font-family:inherit}
.scv2 .scv2-n{font-size:12px;font-weight:500;color:#9aa4b2;white-space:nowrap}
.scv2 .scv2-sum{margin:0 0 16px;font-size:14px;line-height:1.5;color:#d6dde5}
.scv2 .scv2-tally{margin:-8px 0 16px;font-size:13px;color:#9aa4b2}
.scv2 .vd{display:none}.scv2.v-threes .vd-threes,.scv2.v-all .vd-all,.scv2.v-paint .vd-paint{display:inline}
.scv2-v{display:inline-flex;gap:4px;padding:4px;margin:0 0 16px;border-radius:999px;background:rgba(255,255,255,.04);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.scv2-v button{min-height:44px;padding:0 16px;border:0;border-radius:999px;background:none;color:#9aa4b2;font:600 13px system-ui,-apple-system,"Inter",sans-serif;cursor:pointer;transition:background 150ms ease,color 150ms ease}
.scv2-v button[aria-pressed="true"]{background:rgba(255,255,255,.1);color:#fff}
.scv2 svg{width:100%;height:auto}
.scv2-court{display:block;max-width:560px;margin:0 auto 16px;border-radius:12px}
.scv2-court .floor{fill:#11151b}
.scv2-court .z{stroke:#11151b;stroke-width:1.5}
.scv2-court .z.tint{opacity:0}
.scv2-court .hx{stroke:#11151b;stroke-width:.6;transition:opacity 150ms ease}
.scv2.hl .hx:not(.on){opacity:.35}
.scv2 .z.tint.on{opacity:.14;filter:none}
.scv2.v-threes .hx:not(.zg3){opacity:.18}.scv2.v-paint .hx:not(.zgp){opacity:.18}

.scv2-court .cl{fill:none;stroke:#5a6270;stroke-width:2.2;pointer-events:none}
.scv2-court .ld{stroke:#c9d1da;stroke-width:1.5;vector-effect:non-scaling-stroke;pointer-events:none}
.scv2-court .ld-dot{stroke:#11151b;stroke-width:1}
.scv2-court .pb{fill:#11151b;fill-opacity:.9;stroke:rgba(255,255,255,.1);stroke-width:1;vector-effect:non-scaling-stroke}
.scv2-court .zl text{text-anchor:middle;font-family:system-ui,-apple-system,"Inter",sans-serif;font-variant-numeric:tabular-nums}
.scv2-court .zl .l1{font-weight:700}
.scv2-court .zl .l2{font-weight:500;fill:#9aa4b2}
.scv2-court .zl.on .pb{stroke:#c9d1da;stroke-width:1}
.scv2 [data-scz]{transition:opacity 150ms ease,filter 150ms ease,background 150ms ease;cursor:pointer}
.scv2 .z.on{filter:brightness(1.3)}
.scv2.v-threes .zl:not(.zg3),.scv2.v-threes .ldg:not(.zg3){display:none}
.scv2.v-paint .zl:not(.zgp),.scv2.v-paint .ldg:not(.zgp){display:none}
.scv2-lg{margin:0 0 16px}
.scv2-lg .lg-row{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:8px 24px}
.scv2-lg .sw{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;flex:1 1 320px}
.scv2-lg .sw span{display:grid;gap:4px;text-align:center}
.scv2-lg .sw i{display:block;height:8px;border-radius:2px}
.scv2-lg small{font-size:11px;color:#9aa4b2;white-space:nowrap}
.scv2-lg .fq{display:flex;align-items:center;justify-content:center;gap:6px;flex:none;font-size:11px;color:#9aa4b2}
.scv2-lg .fq svg{width:var(--s);height:var(--s);flex:none}.scv2-lg .fq polygon{fill:#9aa4b2}
.scv2-lg p{margin:8px 0 0;font-size:12px;line-height:1.4;color:#9aa4b2;text-align:center}
.scv2-t{--cols:minmax(0,1fr) 72px 64px 96px 56px;--g:32px;margin:0 0 16px;font-size:13.5px}
.scv2-t .r{display:grid;grid-template-columns:var(--cols);column-gap:var(--g);align-items:center;padding:8px;border-bottom:1px solid rgba(255,255,255,.06);border-radius:8px}
.scv2-t .r.hd{padding-top:0;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#9aa4b2;border-radius:0;cursor:default}
.scv2-t .hd i,.scv2-t .n i{font-style:normal}.scv2-t .hd .hs,.scv2-t .n .ns{display:none}
.scv2-t .r.on{background:rgba(47,191,113,.1)}
.scv2-t .c{text-align:center;white-space:nowrap}
.scv2-t .n{display:flex;align-items:center;gap:8px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#e8edf2}
.scv2-t .tag{font-style:normal;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:2px 6px;border-radius:999px}
.scv2-t .tag.s{background:rgba(47,191,113,.15);color:#2fbf71}.scv2-t .tag.t{background:rgba(192,80,77,.15);color:#e8908d}
.scv2-t .shr{display:grid;justify-items:center;gap:4px}
.scv2-t .shr u{display:block;width:48px;height:3px;border-radius:2px;background:rgba(255,255,255,.08);overflow:hidden;text-decoration:none}
.scv2-t .shr u i{display:block;height:100%;background:#9aa4b2;transform-origin:left}
.scv2-t em{display:inline-block;min-width:44px;padding:2px 8px;border-radius:999px;font-style:normal;font-weight:700}
.scv2-t .dim,.scv2-t .low .c{color:#8a94a2}
.scv2-s{display:none;flex-wrap:wrap;gap:8px}
.scv2.v-threes .scv2-s{display:flex}
.scv2-s span{display:grid;gap:2px;padding:8px 12px;border-radius:12px;background:rgba(255,255,255,.04);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
.scv2-s small{font-size:11px;color:#9aa4b2}.scv2-s b{font-size:13.5px;font-weight:600;color:#e8edf2}
@media (max-width:767px){
  .scv2{padding:16px}
  .scv2-t{--cols:minmax(0,1fr) 48px 48px 56px 48px;--g:8px;font-size:12.5px}
  .scv2-t .r{padding:8px 0}
  .scv2-t .shr u{width:32px}
  .scv2-t em{min-width:0;padding:2px 6px}
  .scv2-t .tag{flex:none;width:6px;height:6px;padding:0;border-radius:50%;font-size:0}.scv2-t .tag.s{background:#3ddc97}.scv2-t .tag.t{background:#e8776f}
  .scv2-t .n{gap:4px}.scv2-t .n .nl{display:none}.scv2-t .n .ns{display:inline}
  .scv2-t .hd .hl{display:none}.scv2-t .hd .hs{display:inline}
  .scv2-lg small{font-size:9.5px;white-space:normal}
  .scv2-lg .fq{flex:1 1 100%}
  .scv2-v{display:flex}.scv2-v button{flex:1;padding:0 8px}
}
@media (prefers-reduced-motion:reduce){.scv2 [data-scz],.scv2-v button{transition:none}}
