/* Academy experiment: retain the pitch as the main comparison surface. */
.sl-tactics-lab { min-width:0; }
.sl-ac-page:has(.sl-tactics-lab) { grid-template-columns:minmax(0,1fr); }
#academy-matchup { min-width:0; }
.sl-tactics-clubs, .sl-tactics-setups { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.sl-tactics-lab fieldset { min-width:0; margin:0; border:1px solid currentColor; }
.sl-tactics-lab legend { font-weight:700; }
.sl-tactics-lab label { display:flex; flex-direction:column; gap:4px; margin:8px 0; min-width:0; }
.sl-tactics-lab select, .sl-tactics-lab button { min-height:44px; max-width:100%; font:inherit; }
.sl-tactics-lab select { width:100%; }
.sl-tactics-lab button { cursor:pointer; }
.sl-tactics-lab input[type=range] { width:100%; min-height:44px; }
.sl-tactics-table { overflow-x:auto; }
.sl-tactics-table table { min-width:470px; }
.sl-tactics-lab #tl-json { max-height:240px; overflow:auto; white-space:pre-wrap; overflow-wrap:anywhere; }
.sl-tactics-lab .sl-spatial-actions { align-items:flex-end; }
.sl-tactics-pitches { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.sl-tactics-pitches figure { margin:0; min-width:0; }
.sl-tactics-pitches svg { display:block; width:100%; border:2px solid #111; }
.sl-tactics-pitches figcaption { min-height:48px; font-size:11px; }
@media(max-width:699px) {
  .sl-tactics-clubs, .sl-tactics-setups, .sl-tactics-pitches { grid-template-columns:minmax(0,1fr); }
  .sl-tactics-lab select { font-size:16px; }
}
