/*
 * StileJuventus.com — V9.406
 * Campo formazioni verticale, ottimizzato per la colonna centrale.
 * Mantiene la palette verde e gli indicatori esistenti; sul campo mostra
 * soltanto gol e cartellini. Le sostituzioni restano nella distinta sottostante.
 */

body.slr-social-match-page [data-live-pitch],
body.slr-social-match-page .slr-social-match-pitch-block{
  min-width:0!important;
}

body.slr-social-match-page .slr-social-match-pitch-block{
  overflow:visible!important;
  padding:15px 14px 20px!important;
}

body.slr-social-match-page .slr-social-match-pitch-head{
  width:min(100%,590px)!important;
  min-width:0!important;
  margin:0 auto 12px!important;
  padding:0 2px!important;
}

body.slr-social-match-page .slr-social-match-pitch.is-vertical{
  position:relative!important;
  width:min(100%,590px)!important;
  height:clamp(760px,145vw,900px)!important;
  min-width:0!important;
  min-height:760px!important;
  max-height:900px!important;
  margin:0 auto!important;
  overflow:hidden!important;
  aspect-ratio:auto!important;
  border:1px solid rgba(200,224,210,.42)!important;
  border-radius:12px!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.022) 50%,transparent 50%),
    repeating-linear-gradient(0deg,rgba(255,255,255,.018) 0 8.33%,rgba(0,0,0,.018) 8.33% 16.66%),
    #12392b!important;
  box-shadow:none!important;
}

body.slr-social-match-page .slr-social-match-pitch.is-vertical:before{
  inset:3.4%!important;
  border:1px solid rgba(214,232,221,.42)!important;
  border-radius:4px!important;
}

body.slr-social-match-page .slr-social-match-pitch.is-vertical:after{
  inset:0!important;
  border:0!important;
  background:linear-gradient(180deg,rgba(240,181,29,.035),transparent 40%,transparent 60%,rgba(152,11,53,.035))!important;
}

/* Linea di metà campo orizzontale. */
body.slr-social-match-page .slr-social-match-pitch.is-vertical .slr-social-pitch-line.is-half{
  top:50%!important;
  right:3.4%!important;
  bottom:auto!important;
  left:3.4%!important;
  width:auto!important;
  height:1px!important;
  background:rgba(214,232,221,.42)!important;
  transform:translateY(-50%)!important;
}

body.slr-social-match-page .slr-social-match-pitch.is-vertical .slr-social-pitch-circle{
  top:50%!important;
  left:50%!important;
  width:27%!important;
  height:auto!important;
  aspect-ratio:1/1!important;
  border:1px solid rgba(214,232,221,.42)!important;
  border-radius:50%!important;
  transform:translate(-50%,-50%)!important;
}

body.slr-social-match-page .slr-social-match-pitch.is-vertical .slr-social-pitch-circle:after{
  width:4px!important;
  height:4px!important;
  background:rgba(214,232,221,.56)!important;
}

/* Aree di rigore alle due estremità del campo. */
body.slr-social-match-page .slr-social-match-pitch.is-vertical .slr-social-pitch-box{
  right:auto!important;
  left:29%!important;
  width:42%!important;
  height:14%!important;
  border:1px solid rgba(214,232,221,.42)!important;
}
body.slr-social-match-page .slr-social-match-pitch.is-vertical .slr-social-pitch-box.is-top{
  top:3.4%!important;
  bottom:auto!important;
  border-top:0!important;
}
body.slr-social-match-page .slr-social-match-pitch.is-vertical .slr-social-pitch-box.is-bottom{
  top:auto!important;
  bottom:3.4%!important;
  border-bottom:0!important;
}

body.slr-social-match-page .slr-social-pitch-goal-box{
  position:absolute;
  z-index:2;
  left:39%;
  width:22%;
  height:6.5%;
  border:1px solid rgba(214,232,221,.42);
  pointer-events:none;
}
body.slr-social-match-page .slr-social-pitch-goal-box.is-top{
  top:3.4%;
  border-top:0;
}
body.slr-social-match-page .slr-social-pitch-goal-box.is-bottom{
  bottom:3.4%;
  border-bottom:0;
}

body.slr-social-match-page .slr-social-pitch-spot{
  position:absolute;
  z-index:2;
  left:50%;
  width:4px;
  height:4px;
  border-radius:50%;
  background:rgba(214,232,221,.56);
  transform:translateX(-50%);
  pointer-events:none;
}
body.slr-social-match-page .slr-social-pitch-spot.is-top{top:14.5%}
body.slr-social-match-page .slr-social-pitch-spot.is-bottom{bottom:14.5%}

/* Giocatori: dimensioni costanti e nomi leggibili su tutte le linee. */
body.slr-social-match-page .slr-social-match-pitch.is-vertical .slr-social-pitch-player{
  width:76px!important;
  transform:translate(-50%,-50%)!important;
}

body.slr-social-match-page .slr-social-match-pitch.is-vertical .slr-social-pitch-player-photo{
  width:42px!important;
  height:42px!important;
  flex-basis:42px!important;
}

body.slr-social-match-page .slr-social-match-pitch.is-vertical .slr-social-pitch-player-name{
  display:block!important;
  width:76px!important;
  max-width:76px!important;
  margin-top:5px!important;
  padding:3px 4px!important;
  overflow:hidden!important;
  color:#fff!important;
  font-size:8px!important;
  line-height:1.15!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

body.slr-social-match-page .slr-social-match-pitch.is-vertical .slr-social-pitch-player-name,
body.slr-social-match-page .slr-social-match-pitch.is-vertical .slr-social-pitch-player-name b{
  -webkit-text-fill-color:currentColor!important;
}

/* Solo pallone e cartellini sul campo: nessun pallino/freccia di cambio. */
body.slr-social-match-page .slr-social-match-pitch.is-vertical .slr-social-pitch-player>.slr-lineup-player-events.is-icons-only{
  top:-4px!important;
  right:-5px!important;
  left:auto!important;
  max-width:30px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:wrap!important;
  gap:3px!important;
}
body.slr-social-match-page .slr-social-match-pitch.is-vertical :is(
  .slr-lineup-player-event.is-substitution,
  .slr-lineup-player-event.is-missed,
  .slr-lineup-event-icon.is-substitution,
  .slr-lineup-event-icon.is-missed
){
  display:none!important;
}
body.slr-social-match-page .slr-social-match-pitch.is-vertical .slr-lineup-event-icon.is-goal{
  width:auto!important;
  height:auto!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  font-size:12px!important;
  line-height:1!important;
}
body.slr-social-match-page .slr-social-match-pitch.is-vertical .slr-lineup-event-icon.is-card{
  width:8px!important;
  height:12px!important;
  border:1px solid rgba(255,255,255,.88)!important;
  border-radius:1px!important;
  transform:none!important;
  box-shadow:0 1px 3px rgba(0,0,0,.3)!important;
}

@media (max-width:760px){
  body.slr-social-match-page .slr-social-match-pitch-block{
    overflow-x:visible!important;
    padding:11px 10px 16px!important;
  }
  body.slr-social-match-page .slr-social-match-pitch-head,
  body.slr-social-match-page .slr-social-match-pitch.is-vertical{
    width:100%!important;
    min-width:0!important;
    margin-inline:auto!important;
  }
  body.slr-social-match-page .slr-social-match-pitch-head{
    padding-inline:2px!important;
  }
  body.slr-social-match-page .slr-social-match-pitch.is-vertical{
    height:clamp(720px,185vw,820px)!important;
    min-height:720px!important;
    max-height:820px!important;
  }
  body.slr-social-match-page .slr-social-match-pitch.is-vertical .slr-social-pitch-player{
    width:62px!important;
  }
  body.slr-social-match-page .slr-social-match-pitch.is-vertical .slr-social-pitch-player-photo{
    width:36px!important;
    height:36px!important;
    flex-basis:36px!important;
  }
  body.slr-social-match-page .slr-social-match-pitch.is-vertical .slr-social-pitch-player-name{
    width:62px!important;
    max-width:62px!important;
    padding-inline:3px!important;
    font-size:7px!important;
  }
  body.slr-social-match-page .slr-social-match-pitch.is-vertical .slr-social-pitch-player>.slr-lineup-player-events.is-icons-only{
    top:-4px!important;
    right:-4px!important;
  }
}

@media (max-width:430px){
  body.slr-social-match-page .slr-social-match-pitch.is-vertical{
    height:740px!important;
    min-height:740px!important;
  }
  body.slr-social-match-page .slr-social-match-pitch.is-vertical .slr-social-pitch-player{
    width:56px!important;
  }
  body.slr-social-match-page .slr-social-match-pitch.is-vertical .slr-social-pitch-player-photo{
    width:34px!important;
    height:34px!important;
    flex-basis:34px!important;
  }
  body.slr-social-match-page .slr-social-match-pitch.is-vertical .slr-social-pitch-player-name{
    width:56px!important;
    max-width:56px!important;
    margin-top:4px!important;
    font-size:6.5px!important;
  }
  body.slr-social-match-page .slr-social-match-pitch.is-vertical .slr-social-pitch-rating{
    right:-6px!important;
    bottom:-3px!important;
  }
  body.slr-social-match-page .slr-social-match-pitch.is-vertical .slr-lineup-event-icon.is-goal{
    font-size:10px!important;
  }
}
