.live-pitch-identity{width:min(600px,calc(100vw - 32px));max-height:90dvh;overflow:auto}.live-pitch-identity-content{padding:24px;display:grid;gap:18px}.live-pitch-identity-content label{display:grid;gap:8px}.live-pitch-identity-content select{width:100%;min-height:48px;font:inherit}.live-pitch-identity-content p{margin:0;line-height:1.5}.live-pitch-identity-content small{line-height:1.5;color:var(--muted,#b5bfcd)}.machine-scrimmage-log article:has(.pitch-history-edit){grid-template-columns:34px minmax(0,1fr) auto auto}.machine-scrimmage-log .pitch-history-edit{min-height:40px;padding:8px 14px;font:inherit;font-size:13px;border:1px solid var(--border,#637184);border-radius:8px;background:var(--panel,#323c49);color:inherit}.pitch-history-tools{display:flex;gap:12px;align-items:center}

/* Four explicit cells keep the action out of the pitch-number column. */
html[data-theme] body .machine-scrimmage-recorder.live-guided .machine-scrimmage-log article:has(> .pitch-history-edit){
 grid-template-columns:44px minmax(0,1fr) auto max-content;
 grid-template-areas:"number details result edit";
 align-items:center;min-height:76px;
}
html[data-theme] body .machine-scrimmage-recorder.live-guided .machine-scrimmage-log article:has(> .pitch-history-edit)>b{grid-area:number}
html[data-theme] body .machine-scrimmage-recorder.live-guided .machine-scrimmage-log article:has(> .pitch-history-edit)>span{grid-area:details;min-width:0}
html[data-theme] body .machine-scrimmage-recorder.live-guided .machine-scrimmage-log article:has(> .pitch-history-edit)>em{grid-area:result;white-space:nowrap}
html[data-theme] body .machine-scrimmage-recorder.live-guided .machine-scrimmage-log article>.pitch-history-edit{
 grid-area:edit;justify-self:end;align-self:center;width:auto;min-width:104px;min-height:40px;margin:0;
 padding:8px 14px;white-space:nowrap;font-size:13px;line-height:1.3;box-sizing:border-box;
}
@media(max-width:640px){
 html[data-theme] body .machine-scrimmage-recorder.live-guided .machine-scrimmage-log article:has(> .pitch-history-edit){grid-template-columns:44px minmax(0,1fr) max-content;grid-template-areas:"number details details" ". result edit";gap:10px 12px}
 html[data-theme] body .machine-scrimmage-recorder.live-guided .machine-scrimmage-log article:has(> .pitch-history-edit)>em{justify-self:start}
}
