/* Team keys mirror canvas colours and shapes; annotation lines never imply movement. */
#pitchCanvas{--viz-line:#bfcede;--viz-boundary:#8da6c3;--viz-field:#f7faff;cursor:crosshair}
.pitch-card .pitch-legend{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0;padding:14px 20px 0;color:#54677f;font-size:16px;line-height:1.45}
.pitch-card .pitch-legacy-key{display:none!important}
.pitch-marker-legend{flex:1;min-width:0}
.pitch-marker-legend[hidden]{display:none!important}
.pitch-key-teams,.pitch-key-states{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px}
.pitch-key-states{margin-top:7px}
.pitch-key-item{display:inline-flex;align-items:center;gap:7px;min-width:0}
.pitch-key-item>svg{width:23px;height:23px;flex:none;overflow:visible}
.pitch-key-home{fill:var(--viz-blue,#2563eb);stroke:white;stroke-width:1.25}
.pitch-key-away{fill:var(--viz-orange,#ea7b39);stroke:white;stroke-width:1.25}
.pitch-key-ball{fill:white;stroke:var(--viz-ink,#183553);stroke-width:1.5}
.pitch-key-ink{fill:var(--viz-ink,#183553)}
.pitch-key-ring{fill:none;stroke:var(--viz-ink,#183553);stroke-width:1.5}
.pitch-key-unknown{fill:var(--viz-unknown,#73869a);stroke:white;stroke-width:1.25}
.pitch-key-pending{display:inline-grid;place-items:center;width:23px;height:23px;color:#183553;font-size:17px;font-weight:700}
.pitch-key-note{margin:7px 0 0;color:#5b7087;font-size:15px;line-height:1.5}
.pitch-marker-tooltip{position:absolute;left:14px;bottom:14px;z-index:3;display:grid;gap:3px;max-width:calc(100% - 28px);padding:11px 14px;border:1px solid #c7d8ec;border-radius:10px;background:rgba(255,255,255,.97);color:#4e6680;font-size:15px;line-height:1.45;box-shadow:0 5px 20px #18355318;pointer-events:none;overflow-wrap:anywhere}
.pitch-marker-tooltip[hidden]{display:none!important}
.pitch-marker-tooltip strong{color:#183553;font-size:17px;font-weight:650}
.pitch-card #resetPlayer{flex:none;min-height:36px;padding:5px 0;font-size:16px;white-space:nowrap}
.pitch-card .pitch-legend.is-heat-mode{justify-content:flex-end;padding-top:3px}
.pitch-card #pitchHeatLegend{padding:0 20px 4px;gap:9px 16px;font-size:16px}
.pitch-card #pitchHeatLegend .viz-heat-scale{flex:1 1 240px;max-width:none}
.pitch-card #pitchHeatLegend .viz-heat-gradient{height:11px;border:none;border-radius:6px}
.pitch-card #pitchHeatLegend .viz-subtitle{flex-basis:100%;margin:0;font-size:15px}
.pitch-card .viz-pitch-controls{margin:13px 0 18px}
@media(max-width:760px){.pitch-card .pitch-legend{padding:12px 16px 0}.pitch-key-teams,.pitch-key-states{gap:7px 13px}.pitch-card #pitchHeatLegend{padding-inline:16px}}

.trajectory-availability{font-size:14px;line-height:1.5;color:#64748b;white-space:nowrap;align-self:center}.trajectory-availability.is-unavailable{color:#64748b}
.trajectory-coverage{padding:12px 16px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;margin:12px 0}.trajectory-coverage>div:first-child{display:flex;justify-content:space-between;gap:16px;font-size:15px}.trajectory-coverage-strip{display:flex;gap:2px;height:18px;margin:9px 0}.trajectory-coverage-strip button{flex:1;min-width:1px;padding:0;border:0;border-radius:2px;background:#3b82f6;cursor:pointer}.trajectory-coverage-strip button.has-estimate{background:#e9a13b}.trajectory-coverage-strip button.unavailable{background:#d8e0eb}.trajectory-coverage-strip button:hover{outline:2px solid #0f172a;outline-offset:1px}.trajectory-coverage small{font-size:14px;color:#64748b}
.trajectory-coverage-strip button{min-height:0!important;height:100%!important;line-height:0!important;font-size:0!important}.trajectory-coverage small{display:block;line-height:1.4}
