/* Soccer 411 v0.20.100 — restrained, portrait-first Premier League-inspired squad roster.
   Changes apply ONLY to the full roster, not to Season Leaders, Starting XI or site sidebars. */
.dm-football-club-page .dm-club-squad-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:12px!important;
  width:100%;
}
.dm-football-club-page .dm-club-squad-groups{min-width:0}
.dm-football-club-page .dm-club-squad-groups > section{min-width:0}
.dm-football-club-page .s411-roster-card-v20100{
  --s411-roster-divider:rgba(113,139,176,.15);
  display:grid!important;
  grid-template-columns:clamp(108px,16%,146px) minmax(0,1fr)!important;
  grid-template-rows:auto 1fr!important;
  grid-template-areas:"photo copy" "photo stats"!important;
  align-items:stretch!important;
  width:100%;
  min-height:164px!important;
  overflow:hidden!important;
  border-radius:17px!important;
  border:1px solid var(--s411-premium-border)!important;
  background:linear-gradient(120deg,var(--s411-premium-surface),var(--s411-premium-surface-2))!important;
  box-shadow:0 6px 22px rgba(10,22,39,.06)!important;
  text-decoration:none!important;
  transition:box-shadow .2s ease,transform .2s ease,border-color .2s ease!important;
}
html[data-s411-effective-theme="dark"] .dm-football-club-page .s411-roster-card-v20100{
  background:linear-gradient(120deg,#172640,#111b2e)!important;
  box-shadow:0 8px 22px rgba(0,6,16,.26)!important;
}
.dm-football-club-page .s411-roster-card-v20100::before{
  top:0!important;right:auto!important;bottom:0!important;left:0!important;
  height:auto!important;width:3px!important;
  background:#ef0107!important;
  z-index:2;
}
.dm-football-club-page .s411-roster-card-v20100 .dm-squad-player-photo{
  grid-area:photo!important;
  width:100%!important;height:100%!important;min-height:164px!important;
  padding:0!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  border:0!important;border-radius:0!important;
  background:linear-gradient(155deg,var(--s411-photo-stage),var(--s411-photo-stage-2))!important;
  position:relative!important;
}
.dm-football-club-page .s411-roster-card-v20100 .dm-squad-player-photo::after{display:none!important}
.dm-football-club-page .s411-roster-card-v20100 .dm-squad-player-photo img{
  width:100%!important;height:100%!important;
  min-width:0!important;min-height:0!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  object-fit:contain!important;object-position:center center!important;
  background:transparent!important;
  max-width:100%!important;
}
.dm-football-club-page .s411-roster-card-v20100 .dm-squad-player-photo span{
  width:80px!important;height:80px!important;
  color:var(--s411-premium-text)!important;
  background:var(--s411-premium-surface-3)!important;
  border-radius:50%!important;
}
.dm-football-club-page .s411-roster-card-v20100 .dm-squad-player-copy{
  grid-area:copy!important;
  padding:18px 20px 6px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:5px!important;
  min-width:0!important;
}
.dm-football-club-page .s411-roster-card-v20100 .s411-roster-player-meta{
  display:flex!important;align-items:center!important;gap:7px!important;
  color:#d52b38!important;
  font-size:.72rem!important;font-weight:850!important;
  line-height:1.25!important;
  letter-spacing:.06em!important;text-transform:uppercase!important;
}
html[data-s411-effective-theme="dark"] .dm-football-club-page .s411-roster-card-v20100 .s411-roster-player-meta{color:#ff8388!important}
.dm-football-club-page .s411-roster-card-v20100 .s411-roster-meta-divider{opacity:.5}
.dm-football-club-page .s411-roster-card-v20100 .dm-squad-player-copy strong{
  font-size:clamp(1.03rem,1.4vw,1.28rem)!important;
  font-weight:900!important;line-height:1.12!important;letter-spacing:-.012em!important;
  color:var(--s411-premium-text)!important;
  white-space:normal!important;overflow-wrap:anywhere!important;
}
.dm-football-club-page .s411-roster-card-v20100 .s411-roster-nationality{
  font-size:.76rem!important;line-height:1.3!important;
  color:var(--s411-premium-muted)!important;
}
.dm-football-club-page .s411-roster-card-v20100 .dm-squad-player-stats{
  grid-area:stats!important;
  display:flex!important;flex-wrap:wrap!important;
  align-content:start!important;justify-content:flex-start!important;
  gap:0!important;
  margin:4px 0 14px!important;
  padding:10px 20px 0!important;
  background:transparent!important;
  border:0!important;
}
.dm-football-club-page .s411-roster-card-v20100 .dm-squad-player-stats>span{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  justify-content:flex-start!important;
  min-height:0!important;min-width:50px!important;
  padding:2px 13px 2px 0!important;margin:0 13px 0 0!important;
  border:0!important;border-right:1px solid var(--s411-roster-divider)!important;
  border-radius:0!important;background:transparent!important;box-shadow:none!important;
}
.dm-football-club-page .s411-roster-card-v20100 .dm-squad-player-stats>span:last-child{border-right:0!important;margin-right:0!important;padding-right:0!important}
.dm-football-club-page .s411-roster-card-v20100 .dm-squad-player-stats b{
  color:var(--s411-premium-text)!important;font-size:1rem!important;
  font-weight:850!important;line-height:1.1!important;
}
.dm-football-club-page .s411-roster-card-v20100 .dm-squad-player-stats small{
  color:var(--s411-premium-muted)!important;font-size:.61rem!important;
  font-weight:750!important;letter-spacing:.07em!important;
  margin-top:3px!important;
}
@media (hover:hover) and (pointer:fine){
  .dm-football-club-page .s411-roster-card-v20100:hover{
    transform:translateY(-2px)!important;
    border-color:rgba(239,1,7,.34)!important;
    box-shadow:0 13px 32px rgba(10,22,39,.16)!important;
  }
}
.dm-football-club-page .s411-roster-card-v20100:focus-visible{
  outline:3px solid #ef0107!important;outline-offset:3px!important;
}
@media(max-width:760px){
  .dm-football-club-page .s411-roster-card-v20100{
    grid-template-columns:104px minmax(0,1fr)!important;min-height:148px!important;
  }
  .dm-football-club-page .s411-roster-card-v20100 .dm-squad-player-photo{min-height:148px!important}
  .dm-football-club-page .s411-roster-card-v20100 .dm-squad-player-copy{padding:13px 12px 5px!important;gap:4px!important}
  .dm-football-club-page .s411-roster-card-v20100 .dm-squad-player-copy strong{font-size:1.03rem!important}
  .dm-football-club-page .s411-roster-card-v20100 .dm-squad-player-stats{padding:7px 12px 0!important;margin:3px 0 12px!important}
  .dm-football-club-page .s411-roster-card-v20100 .dm-squad-player-stats>span{min-width:39px!important;margin-right:7px!important;padding-right:8px!important}
  .dm-football-club-page .s411-roster-card-v20100 .dm-squad-player-stats b{font-size:.89rem!important}
  .dm-football-club-page .s411-roster-card-v20100 .dm-squad-player-stats small{font-size:.55rem!important}
}
@media(max-width:380px){
  .dm-football-club-page .s411-roster-card-v20100{grid-template-columns:92px minmax(0,1fr)!important}
  .dm-football-club-page .s411-roster-card-v20100 .dm-squad-player-stats>span{min-width:35px!important;margin-right:5px!important;padding-right:6px!important}
}
@media(prefers-reduced-motion:reduce){
  .dm-football-club-page .s411-roster-card-v20100{transition:none!important}
}
