/* COACHSL-AGENDA-PITCH-V3-3-3a : styles propres aux pages Agenda. */
.agenda-pitches{margin-top:16px}
.agenda-pitches-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}
.agenda-pitches-heading h2{margin:0 0 4px}
.agenda-pitches-heading .help{margin:0}
.agenda-pitch-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.agenda-pitch-team{min-width:0}
.agenda-pitch-team-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}
.agenda-pitch-team-title h3{display:flex;align-items:center;gap:8px;margin:0;font-size:1rem}
.agenda-pitch-team-title .team-dot{width:15px;height:15px;border-radius:50%;display:inline-block}
.agenda-pitch-team-title .team-dot.yellow{background:#efc94b}
.agenda-pitch-team-title .team-dot.red{background:#df5b65}
.agenda-pitch-team .live-pitch{min-height:470px;padding:25px 8px;border:5px solid #287c59;border-radius:18px}
.agenda-pitch-team-yellow .live-pitch{border-color:#d7b336}
.agenda-pitch-team-red .live-pitch{border-color:#d04b5c}
.agenda-pitch-team .live-pitch-rows{gap:12px}
.agenda-pitch-team .live-pitch-row{gap:4px}
.agenda-pitch-team .live-pitch-row-1{grid-template-columns:minmax(80px,130px)}
.agenda-pitch-team .live-pitch-row-2{grid-template-columns:repeat(2,minmax(72px,120px))}
.agenda-pitch-team .live-pitch-row-3{grid-template-columns:repeat(3,minmax(68px,118px))}
.agenda-pitch-team .live-pitch-row-4{grid-template-columns:repeat(4,minmax(60px,110px))}
.agenda-pitch-team .live-slot{padding:6px 5px;gap:5px;min-height:48px;min-width:0}
.agenda-pitch-team .live-number{width:26px;height:26px;flex-basis:26px;font-size:.8rem}
.agenda-pitch-team .live-person strong{font-size:.76rem}
.agenda-pitch-team .live-person small{font-size:.6rem}
.agenda-pitch-team .live-slot:focus-visible,.match-formation .live-slot:focus-visible{outline:3px solid var(--match-pink);outline-offset:2px}
.agenda-pitch-available,.agenda-pitch-unassigned{margin-top:10px;border:1px solid var(--match-line, #4d4566);border-radius:12px;padding:10px}
.agenda-pitch-available>strong,.agenda-pitch-unassigned>strong{font-size:.84rem}
.agenda-pitch-available-list{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}
.agenda-pitch-available-player{border-radius:8px;padding:5px 7px;background:var(--match-soft,#332c4b);font-size:.8rem}
.agenda-pitch-unassigned p{margin:5px 0 0}
/* Match : meme carte verte et memes joueurs que le LIVE, dans l'Agenda. */
.match-formation .agenda-match-pitch{margin-top:12px}
.match-formation .agenda-match-pitch .live-slot:disabled{opacity:1}
.match-formation .agenda-match-pitch .live-slot-empty{cursor:pointer}
.match-formation .agenda-match-pitch .live-pitch{min-height:600px}
@media(max-width:800px){.agenda-pitch-columns{grid-template-columns:1fr}.agenda-pitch-team .live-pitch{min-height:480px}.agenda-pitch-team .live-pitch-row{gap:6px}}
@media(max-width:420px){.agenda-pitches-heading{flex-direction:column}.agenda-pitch-team .live-pitch{min-height:470px;padding:25px 5px}.agenda-pitch-team .live-pitch-row{gap:3px}.agenda-pitch-team .live-pitch-row-4{grid-template-columns:repeat(4,minmax(0,1fr))}.agenda-pitch-team .live-slot{padding:6px 3px;font-size:.7rem}.agenda-pitch-team .live-person strong{font-size:.65rem}.agenda-pitch-team .live-person small{display:none}.agenda-pitch-team .live-number{width:23px;height:23px;flex-basis:23px;font-size:.72rem}}


/* COACHSL-AGENDA-NAV-V3-3-3c1: sticky shortcuts inside Agenda events only. */
.agenda-session-jump-nav{
  position:sticky;
  top:calc(64px + env(safe-area-inset-top, 0px));
  z-index:8;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin:2px 0 16px;
  padding:8px;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--surface);
  box-shadow:0 8px 20px rgba(0,0,0,.10);
}
.agenda-session-jump-nav .agenda-session-jump{
  min-width:0;
  min-height:50px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  padding:10px 8px;
  border-radius:12px;
  border:1px solid var(--line);
  background:var(--bg);
  color:var(--ink);
  font:inherit;
  font-size:.91rem;
  font-weight:750;
  cursor:pointer;
  touch-action:manipulation;
}
.agenda-session-jump-nav .agenda-session-jump span:first-child{font-size:1.15rem;line-height:1}
.agenda-session-jump-nav .agenda-session-jump:active{background:var(--match-soft-pink,var(--surface))}
.agenda-session-jump-nav .agenda-session-jump:focus-visible{outline:3px solid var(--brand);outline-offset:2px}
#agenda-section-sequences,#agenda-section-terrain,#agenda-section-joueurs{
  scroll-margin-top:calc(138px + env(safe-area-inset-top, 0px));
}
#agenda-section-sequences:focus,#agenda-section-terrain:focus,#agenda-section-joueurs:focus{outline:none}
@media(max-width:500px){
  .agenda-session-jump-nav{gap:5px;padding:6px;border-radius:13px}
  .agenda-session-jump-nav .agenda-session-jump{min-height:52px;gap:4px;padding:8px 4px;font-size:.82rem;flex-direction:column}
  .agenda-session-jump-nav .agenda-session-jump span:first-child{font-size:1.22rem}
}
