/* Le due colonne della lega affiancano il giornale; sugli schermi piccoli si aprono a richiesta. */
.league-layout { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; }
.league-news { min-width: 0; order: 2; }
.league-panel { min-width: 0; margin: 0; align-self: stretch; border: 1px solid #dfb7c1; border-top: 3px solid #c4105c; border-radius: 4px; background: #fff5f7; overflow: hidden; }
.league-rosters { order: 0; }
.league-lineups { order: 1; }
.league-panel > summary { cursor: pointer; list-style: none; padding: 11px 13px; background: #fbdde3; }
.league-panel > summary::-webkit-details-marker { display: none; }
.league-panel > summary:focus-visible { outline: 3px solid #c4105c; outline-offset: -3px; }
.league-panel-eyebrow { display: block; color: #754253; font-size: 9px; font-weight: 700; letter-spacing: .08em; margin-bottom: 3px; }
.league-panel-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 17px; font-weight: 800; line-height: 1.2; }
.league-panel-toggle { font-size: 24px; font-weight: 400; line-height: 1; }
.league-panel[open] > summary .league-panel-toggle { transform: rotate(45deg); }
.league-panel-content { padding: 13px; }
.league-select-label { display: block; margin-bottom: 5px; font-size: 11px; font-weight: 700; color: #59414a; }
.league-select { display: block; width: 100%; max-width: 100%; min-width: 0; padding: 9px 6px; border: 1px solid #d5b4bd; border-radius: 3px; background: #fff; color: #161013; font: 600 12px/1.3 var(--gz-sans); }
.league-state { font-size: 10px; color: #72545d; line-height: 1.5; margin: 9px 0 13px; }
.league-team-heading { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; }
.league-team-heading img { flex-shrink: 0; object-fit: contain; }
.league-team-heading h3 { font-size: 14px; line-height: 1.3; margin: 0; overflow-wrap: anywhere; }
.league-team-sub { font-size: 11px; color: #72545d; }
.league-role-group { margin-bottom: 10px; }
.league-role-group h4, .league-lineup-label { margin: 0 0 5px; padding: 5px 0; font-size: 10px; color: #a00d49; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid #e8cad3; }
.league-panel ul, .league-panel ol { list-style: none; padding: 0; margin: 0; }
.league-player { display: flex; align-items: center; gap: 7px; padding: 7px 0; border-bottom: 1px solid #efdce1; }
.league-role { flex: 0 0 20px; width: 20px; height: 20px; line-height: 20px; border-radius: 3px; text-align: center; background: #eadfe3; font-size: 10px; font-weight: 800; }
.league-role.role-P { background: #f4df9e; color: #694400; }
.league-role.role-D { background: #bce5ce; color: #165136; }
.league-role.role-C { background: #bcdff1; color: #184a70; }
.league-role.role-A { background: #f5c7c9; color: #871d2c; }
.league-player-name { min-width: 0; flex: 1; }
.league-player-name strong { display: block; font-size: 12px; line-height: 1.3; font-weight: 650; overflow-wrap: anywhere; }
.league-player-name small { display: block; font-size: 10px; color: #755e66; margin-top: 1px; }
.league-panel-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; border-top: 1px solid #e3c4ca; padding-top: 11px; margin-top: 12px; font-size: 11px; }
.league-panel-foot a { color: #9c0c47; font-weight: 700; }
.league-refresh { border: 1px solid #c5a7b0; border-radius: 3px; padding: 7px 9px; background: transparent; color: #613744; font: 600 11px var(--gz-sans); cursor: pointer; }
.league-refresh:disabled { opacity: .5; cursor: wait; }
.league-source { margin: 10px 0 0; font-size: 9px; color: #755e66; }
.league-source a { color: inherit; }
.league-waiting { padding: 15px 6px; text-align: center; background: #f8e9ec; border-radius: 4px; }
.league-waiting-icon { font-size: 34px; color: #a00d49; }
.league-waiting h3 { font-size: 17px; margin: 6px 0; }
.league-waiting p, .league-empty { font-size: 12px; line-height: 1.6; margin: 8px 0; }
.league-muted { color: #755e66; }
.league-fixture { font-weight: 700; border-top: 1px solid #dfc2cb; padding-top: 10px; }
.league-lineup + .league-lineup { border-top: 2px solid #dfc2cb; margin-top: 20px; padding-top: 16px; }
.league-pitch { border: 3px solid #326048; border-radius: 4px; background: repeating-linear-gradient(#326c4d 0 25%, #397854 25% 50%); padding: 14px 3px; display: flex; flex-direction: column; gap: 14px; }
.league-pitch-row { display: flex; justify-content: space-around; gap: 2px; }
.league-pitch-player { min-width: 0; flex: 1; max-width: 88px; text-align: center; }
.league-shirt { display: block; margin: 0 auto 4px; width: 25px; height: 25px; line-height: 25px; border-radius: 6px 6px 3px 3px; background: #fff3f5; color: #971343; box-shadow: 0 2px 3px #0003; font-size: 11px; font-weight: 800; }
.league-pitch-name { display: block; color: #fff; font-size: 10px; line-height: 1.3; overflow-wrap: anywhere; text-shadow: 0 1px 2px #0008; }
.league-starters-list, .league-bench { margin: 4px 0; }
.league-starters-list > summary, .league-bench > summary { cursor: pointer; font-size: 11px; font-weight: 700; padding: 10px 0; color: #613744; }
.league-bench-order { color: #80616d; font-size: 10px; }
.league-page { max-width: 980px; margin: 24px auto; }
.league-full .league-panel-content { padding: 20px; }
.league-full .league-select { max-width: 440px; }
.league-full .league-roster-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.league-full .league-lineup-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.league-full .league-lineup + .league-lineup { border-top: 0; margin-top: 0; padding-top: 0; }
.league-full .league-pitch { min-height: 310px; justify-content: space-between; }
@media (min-width: 1280px) {
  .main.with-league { width: min(1780px, calc(100% - 40px)); }
  .league-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr) 240px; gap: 18px; align-items: start; }
  .league-news { order: 1; }
  .league-lineups { order: 2; }
  .league-layout > .league-panel { position: sticky; top: 16px; align-self: start; }
  .league-layout > .league-panel > .league-panel-content { max-height: calc(100vh - 110px); overflow-y: auto; scrollbar-width: thin; }
  .with-league .gz-primo { margin-top: 0; }
  .with-league .gz-side-item { grid-template-columns: minmax(80px, .8fr) minmax(0, 1fr); gap: 12px; }
  .with-league .gz-side-item h3 { font-size: 17px; }
  .with-league .gz-lead-title { font-size: 28px; }
  .with-league .gz-front { grid-template-columns: minmax(0, 1fr) 220px; gap: 20px; }
  .with-league .gz-row { grid-template-columns: 140px minmax(0, 1fr); gap: 14px; }
}
@media (min-width: 1700px) {
  .league-layout { grid-template-columns: 220px minmax(0, 1fr) 260px; gap: 22px; }
}
@media (max-width: 1279px) {
  .league-layout > .league-panel .league-panel-result { max-height: 520px; overflow-y: auto; }
}
@media (max-width: 600px) {
  .league-full .league-roster-list, .league-full .league-lineup-pair { grid-template-columns: 1fr; gap: 12px; }
  .league-full .league-panel-content { padding: 13px; }
  .league-full .league-lineup + .league-lineup { border-top: 2px solid #dfc2cb; margin-top: 12px; padding-top: 16px; }
}
