/* FOKUS SCHALKE – final reference portrait layout + competition colors, 03.11.2026. */
#matchcenterRoot .mc-player-head,
#matchcenterRoot .mc-bench-person .mc-bench-photo{background:#f5f6f6!important;border-radius:8px!important;}
#matchcenterRoot .mc-player-head .mc-photo-viewport,
#matchcenterRoot .mc-bench-person .mc-photo-viewport{background:#f5f6f6!important;border-radius:8px!important;}
#matchcenterRoot .mc-photo-viewport>img,
#matchcenterRoot .mc-player-head img,
#matchcenterRoot .mc-bench-photo img,
#matchcenterRoot .mc-panel-schalke .mc-photo-viewport>img,
#matchcenterRoot .mc-panel-opponent .mc-photo-viewport>img{
  display:block!important;object-fit:contain!important;object-position:center bottom!important;
  transform:none!important;transform-origin:center center!important;background:#f7f8f8!important;
  width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;
}
/* Same card grid for every player's name / position / goal count. */
#matchcenterRoot .mc-pitch-row>.mc-player,
#matchcenterRoot .mc-pitch-position>.mc-player{
  display:grid!important;grid-template-rows:var(--mc-photo-height,76px) 2.8em 1.3em 1.4em!important;
  align-items:start!important;justify-items:center!important;align-self:stretch!important;
  gap:3px!important;padding:2px 1px!important;
}
#matchcenterRoot .mc-pitch-row .mc-player-head,
#matchcenterRoot .mc-pitch-position .mc-player-head{
  height:var(--mc-photo-height,76px)!important;width:clamp(55px,8vw,88px)!important;
  align-self:start!important;justify-self:center!important;
}
#matchcenterRoot .mc-pitch-row .mc-player strong,
#matchcenterRoot .mc-pitch-position .mc-player strong{
  display:flex!important;align-items:center!important;justify-content:center!important;
  height:2.8em!important;min-height:2.8em!important;line-height:1.17!important;
  overflow-wrap:break-word!important;text-wrap:balance!important;margin:0!important;
}
#matchcenterRoot .mc-pitch-row .mc-player small,
#matchcenterRoot .mc-pitch-position .mc-player small{height:1.3em!important;line-height:1.3!important}
#matchcenterRoot .mc-pitch-row .mc-contributions,
#matchcenterRoot .mc-pitch-position .mc-contributions{
  min-height:1.4em!important;align-self:start!important;margin:0!important;
  font-weight:900!important;letter-spacing:.1px!important;font-size:10px!important;
}
#matchcenterRoot .mc-pitch:not(.mc-pitch-coordinates)>.mc-pitch-row{
  align-items:start!important;align-content:center!important;justify-items:center!important;
  min-height:135px!important;
}
#matchcenterRoot .mc-lineup-panel>.mc-pitch:not(.mc-pitch-coordinates){
  min-height:760px!important;padding:17px 9px!important;gap:7px!important;
}
#matchcenterRoot .mc-player-placeholder{
  display:grid;place-items:center;padding:0!important;width:100%;height:100%;
  background:#e4e9ed;color:#354b61;font:900 19px/1 var(--display);
  border-radius:7px;
}
/* DFB-Pokal, irrespective of the generic reference stylesheet's !important gray. */
:root:not([data-theme="dark"]) body.portal-body:has(#matchcenterRoot[data-competition="pokal"]),
:root:not([data-theme="dark"]) body.portal-body:has(#matchcenterRoot[data-competition="pokal"]) #app,
:root:not([data-theme="dark"]) body.portal-body:has(#matchcenterRoot[data-competition="pokal"]) .main-content,
:root:not([data-theme="dark"]) #matchcenterRoot[data-competition="pokal"]{
 background:#8DCAB1!important;color:#133c30!important;
}
:root[data-theme="dark"] body.portal-body:has(#matchcenterRoot[data-competition="pokal"]),
:root[data-theme="dark"] body.portal-body:has(#matchcenterRoot[data-competition="pokal"]) #app,
:root[data-theme="dark"] body.portal-body:has(#matchcenterRoot[data-competition="pokal"]) .main-content,
:root[data-theme="dark"] #matchcenterRoot[data-competition="pokal"]{
 background:#092A1D!important;color:#e9fff1!important;
}
#matchcenterRoot[data-competition="pokal"] .mc-title,
#matchcenterRoot[data-competition="pokal"] .mc-history-head{background:#145239!important;border-left-color:#5ec18c!important;color:white!important;}
#matchcenterRoot[data-competition="pokal"] .mc-history-controls{background:transparent!important;}
:root:not([data-theme="dark"]) #matchcenterRoot[data-competition="pokal"] .mc-history-controls label{color:#164a35!important;}
:root[data-theme="dark"] #matchcenterRoot[data-competition="pokal"] .mc-history-controls label{color:#b9e9cf!important;}
#matchcenterRoot[data-competition="pokal"] .mc-scorecard{background:#165a3e!important;border-top-color:#6acf99!important;}
#matchcenterRoot[data-competition="pokal"] .mc-score-top{background:#0c5037!important;}
#matchcenterRoot[data-competition="pokal"] .mc-score-row,
#matchcenterRoot[data-competition="pokal"] .mc-score-scorers{background:#164a36!important;}
#matchcenterRoot[data-competition="pokal"] .mc-lineup-panel{border-color:#458d69!important;}
#matchcenterRoot[data-competition="pokal"] .mc-lineup-heading{background:#1b4b38!important;border-left-color:#6acf99!important;}
#matchcenterRoot[data-competition="pokal"] .mc-pitch{background:repeating-linear-gradient(180deg,#155039 0,#155039 82px,#10452f 82px,#10452f 164px)!important;}
#matchcenterRoot[data-competition="pokal"] .mc-lineup-tabs{background:#163d2e!important;border-color:#427e60!important;}
#matchcenterRoot[data-competition="pokal"] .mc-lineup-tab{background:#28513e!important;color:#e7f5ec!important;}
#matchcenterRoot[data-competition="pokal"] .mc-lineup-tab.is-active{background:#0e3323!important;box-shadow:inset 0 -4px #7be6a6!important;}
#matchcenterRoot[data-competition="pokal"] .mc-bench,
#matchcenterRoot[data-competition="pokal"] .mc-md-changes,
#matchcenterRoot[data-competition="pokal"] .mc-md-coach{background:#153e2d!important;border-top-color:#0c2e20!important;}
@media(max-width:650px){
 #matchcenterRoot{--mc-photo-height:75px;}
 #matchcenterRoot .mc-pitch-row .mc-player-head,
 #matchcenterRoot .mc-pitch-position .mc-player-head{width:clamp(53px,17vw,80px)!important;}
 #matchcenterRoot .mc-lineup-panel>.mc-pitch:not(.mc-pitch-coordinates){min-height:740px!important;gap:8px!important;padding:18px 7px!important;}
 #matchcenterRoot .mc-pitch:not(.mc-pitch-coordinates)>.mc-pitch-row{min-height:133px!important;padding:4px 0!important;}
 #matchcenterRoot .mc-pitch-row>.mc-player,
 #matchcenterRoot .mc-pitch-position>.mc-player{max-width:100%!important;min-width:0!important;}
 #matchcenterRoot .mc-pitch-row .mc-player strong{font-size:clamp(10px,2.5vw,13px)!important;}
 #matchcenterRoot .mc-pitch-row .mc-player small{font-size:10px!important;}
}
@media(max-width:390px){#matchcenterRoot{--mc-photo-height:66px;}
 #matchcenterRoot .mc-lineup-panel>.mc-pitch:not(.mc-pitch-coordinates){min-height:690px!important;}
 #matchcenterRoot .mc-pitch:not(.mc-pitch-coordinates)>.mc-pitch-row{min-height:125px!important;}
}

/* Version 6: Porträt-Kachel einheitlich, kein Weißstreifen/Zoom/abgeschnittener Kopf.
   DFL-Media-Porträts sind bereits quadratisch als Kopf-/Oberkörperfotos zugeschnitten. */
#matchcenterRoot .mc-player-head,
#matchcenterRoot .mc-bench-photo,
#matchcenterRoot .mc-player-head .mc-photo-viewport,
#matchcenterRoot .mc-bench-photo .mc-photo-viewport{
  background:#f2f4f3!important;
  box-sizing:border-box!important;
  border-radius:8px!important;
  overflow:hidden!important;
}
#matchcenterRoot .mc-player-head .mc-photo-viewport>img,
#matchcenterRoot .mc-bench-photo .mc-photo-viewport>img,
#matchcenterRoot .mc-panel-schalke .mc-photo-viewport>img,
#matchcenterRoot .mc-panel-opponent .mc-photo-viewport>img{
  width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
  display:block!important;object-fit:cover!important;object-position:50% 48%!important;
  transform:none!important;filter:none!important;
  border:0!important;outline:0!important;
  background:#f2f4f3!important;
}


/* Version 7: saubere Zentrierung auf dem Feld + frontale Schalke-Porträts + keine abgeschnittenen Köpfe */
#matchcenterRoot .mc-pitch-row,
#matchcenterRoot .mc-pitch-position-row,
#matchcenterRoot .mc-pitch:not(.mc-pitch-coordinates)>.mc-pitch-row{
  justify-items:center!important;
  align-items:start!important;
  align-content:start!important;
}
#matchcenterRoot .mc-pitch-row>.mc-player,
#matchcenterRoot .mc-pitch-position>.mc-player,
#matchcenterRoot .mc-pitch-row .mc-player{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  text-align:center!important;
  width:100%!important;
  max-width:126px!important;
  min-width:0!important;
  margin:0 auto!important;
  gap:4px!important;
  padding:2px 1px!important;
  box-sizing:border-box!important;
  justify-self:center!important;
}
#matchcenterRoot .mc-pitch-row .mc-player-head,
#matchcenterRoot .mc-pitch-position .mc-player-head{
  position:relative!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:center!important;
  width:64px!important;
  height:72px!important;
  margin:0 auto!important;
  overflow:hidden!important;
  border-radius:8px!important;
  background:#f4f5f5!important;
  box-shadow:0 1px 4px rgba(0,0,0,.20)!important;
}
#matchcenterRoot .mc-bench-person .mc-bench-photo{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:center!important;
  overflow:hidden!important;
  background:#f4f5f5!important;
}
#matchcenterRoot .mc-player-head .mc-photo-viewport,
#matchcenterRoot .mc-bench-photo .mc-photo-viewport{
  position:absolute!important;
  inset:0!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:center!important;
  overflow:hidden!important;
  border-radius:inherit!important;
  background:#f4f5f5!important;
}
#matchcenterRoot .mc-photo-viewport>img,
#matchcenterRoot .mc-player-head img,
#matchcenterRoot .mc-bench-photo img,
#matchcenterRoot .mc-panel-schalke .mc-photo-viewport>img,
#matchcenterRoot .mc-panel-opponent .mc-photo-viewport>img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  display:block!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  transform:none!important;
  filter:none!important;
  background:#f4f5f5!important;
}
#matchcenterRoot .mc-player strong,
#matchcenterRoot .mc-player small,
#matchcenterRoot .mc-player .mc-contributions{
  width:100%!important;
  text-align:center!important;
  margin:0!important;
}
#matchcenterRoot .mc-player strong{
  display:block!important;
  min-height:2.4em!important;
  line-height:1.16!important;
  overflow-wrap:anywhere!important;
}
#matchcenterRoot .mc-player small{line-height:1.2!important;min-height:1.2em!important}
#matchcenterRoot .mc-contributions{min-height:1.3em!important;justify-content:center!important}
#matchcenterRoot .mc-lineup-panel>.mc-pitch:not(.mc-pitch-coordinates){
  min-height:730px!important;
  padding:18px 8px 20px!important;
  gap:10px!important;
  justify-content:space-between!important;
}
#matchcenterRoot .mc-pitch:not(.mc-pitch-coordinates)>.mc-pitch-row{
  min-height:112px!important;
  padding:4px 0!important;
  gap:8px!important;
}
@media(max-width:900px){
  #matchcenterRoot .mc-pitch-row .mc-player-head,
  #matchcenterRoot .mc-pitch-position .mc-player-head{width:60px!important;height:68px!important;}
  #matchcenterRoot .mc-lineup-panel>.mc-pitch:not(.mc-pitch-coordinates){min-height:690px!important;}
}
@media(max-width:560px){
  #matchcenterRoot .mc-pitch-row .mc-player,
  #matchcenterRoot .mc-pitch-position>.mc-player{max-width:92px!important;gap:3px!important;}
  #matchcenterRoot .mc-pitch-row .mc-player-head,
  #matchcenterRoot .mc-pitch-position .mc-player-head{width:54px!important;height:61px!important;}
  #matchcenterRoot .mc-lineup-panel>.mc-pitch:not(.mc-pitch-coordinates){min-height:650px!important;padding:16px 5px 18px!important;gap:8px!important;}
  #matchcenterRoot .mc-pitch:not(.mc-pitch-coordinates)>.mc-pitch-row{min-height:104px!important;gap:4px!important;}
  #matchcenterRoot .mc-player strong{font-size:10.5px!important;}
  #matchcenterRoot .mc-player small{font-size:10px!important;}
}


/* Version 8: kompakteres Feld, damit die Aufstellung nicht so gestreckt wirkt */
#matchcenterRoot .mc-lineup-panel>.mc-pitch:not(.mc-pitch-coordinates){
  min-height:640px!important;
  padding:14px 8px 16px!important;
  gap:6px!important;
}
#matchcenterRoot .mc-pitch:not(.mc-pitch-coordinates)>.mc-pitch-row{
  min-height:96px!important;
  gap:6px!important;
  padding:2px 0!important;
}
#matchcenterRoot .mc-pitch-row .mc-player,
#matchcenterRoot .mc-pitch-position>.mc-player{
  max-width:108px!important;
  gap:2px!important;
}
#matchcenterRoot .mc-pitch-row .mc-player-head,
#matchcenterRoot .mc-pitch-position .mc-player-head{
  width:58px!important;
  height:66px!important;
}
#matchcenterRoot .mc-player strong{min-height:2.2em!important;font-size:12px!important;}
#matchcenterRoot .mc-player small{font-size:10px!important;}
#matchcenterRoot .mc-contributions{font-size:10px!important;min-height:1.1em!important;}
@media(max-width:900px){
  #matchcenterRoot .mc-lineup-panel>.mc-pitch:not(.mc-pitch-coordinates){min-height:610px!important;}
  #matchcenterRoot .mc-pitch:not(.mc-pitch-coordinates)>.mc-pitch-row{min-height:92px!important;}
  #matchcenterRoot .mc-pitch-row .mc-player-head,
  #matchcenterRoot .mc-pitch-position .mc-player-head{width:54px!important;height:61px!important;}
}
@media(max-width:560px){
  #matchcenterRoot .mc-lineup-panel>.mc-pitch:not(.mc-pitch-coordinates){min-height:570px!important;padding:12px 5px 14px!important;gap:5px!important;}
  #matchcenterRoot .mc-pitch:not(.mc-pitch-coordinates)>.mc-pitch-row{min-height:86px!important;gap:3px!important;}
  #matchcenterRoot .mc-pitch-row .mc-player,
  #matchcenterRoot .mc-pitch-position>.mc-player{max-width:82px!important;}
  #matchcenterRoot .mc-pitch-row .mc-player-head,
  #matchcenterRoot .mc-pitch-position .mc-player-head{width:50px!important;height:56px!important;}
  #matchcenterRoot .mc-player strong{font-size:10px!important;min-height:2.1em!important;line-height:1.1!important;}
  #matchcenterRoot .mc-player small{font-size:9px!important;}
}
@media(max-width:390px){
  #matchcenterRoot .mc-lineup-panel>.mc-pitch:not(.mc-pitch-coordinates){min-height:540px!important;}
  #matchcenterRoot .mc-pitch:not(.mc-pitch-coordinates)>.mc-pitch-row{min-height:82px!important;}
  #matchcenterRoot .mc-pitch-row .mc-player-head,
  #matchcenterRoot .mc-pitch-position .mc-player-head{width:46px!important;height:52px!important;}
}


/* V9 — REFERENZ 04.11.2026: Spielfeld im Smartphone-Seitenverhältnis ~0,68:1.
   Gilt fuer Schalke UND Gegner und ueberschreibt alte 730/780/610px-Mindesthoehen.
   Die komplette Startelf bleibt sichtbar; Portraet-Bilder werden nicht neu beschnitten. */
#matchcenterRoot .mc-lineup-panel > .mc-pitch:not(.mc-pitch-coordinates),
#matchcenterRoot .mc-lineup-panel > .mc-pitch.mc-pitch-coordinates {
  box-sizing:border-box!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio: 0.68 / 1!important;
  padding:15px 8px!important;
  overflow:hidden!important;
}
#matchcenterRoot .mc-lineup-panel > .mc-pitch:not(.mc-pitch-coordinates){
  display:flex!important;
  flex-direction:column!important;
  justify-content:space-between!important;
  gap:4px!important;
}
#matchcenterRoot .mc-pitch:not(.mc-pitch-coordinates) > .mc-pitch-row {
  box-sizing:border-box!important;
  flex:1 1 0!important;
  min-height:0!important;
  height:auto!important;
  width:100%!important;
  padding:1px 0!important;
  gap:3px!important;
  align-content:center!important;
  align-items:center!important;
  justify-items:center!important;
}
#matchcenterRoot .mc-pitch-row > .mc-player {
  max-width:96px!important;
  min-height:0!important;
  gap:2px!important;
  padding:0!important;
  align-self:center!important;
  justify-self:center!important;
}
#matchcenterRoot .mc-pitch-row .mc-player-head,
#matchcenterRoot .mc-pitch-position .mc-player-head {
  width:clamp(46px, 13vw, 66px)!important;
  height:clamp(52px, 15vw, 72px)!important;
  flex:0 0 auto!important;
}
#matchcenterRoot .mc-pitch-row .mc-player strong,
#matchcenterRoot .mc-pitch-position .mc-player strong {
  font-size:clamp(9px,2.6vw,12px)!important;
  line-height:1.12!important;
  min-height:2.2em!important;
  height:auto!important;
}
#matchcenterRoot .mc-pitch-row .mc-player small,
#matchcenterRoot .mc-pitch-position .mc-player small {
  font-size:clamp(8px,2.2vw,10px)!important;
  line-height:1.1!important;
  min-height:1.1em!important;
}
#matchcenterRoot .mc-pitch-row .mc-contributions,
#matchcenterRoot .mc-pitch-position .mc-contributions {
  min-height:1em!important;
  font-size:9px!important;
  line-height:1.1!important;
}
@media(min-width:850px){
 #matchcenterRoot .mc-lineup-panel > .mc-pitch:not(.mc-pitch-coordinates),
 #matchcenterRoot .mc-lineup-panel > .mc-pitch.mc-pitch-coordinates{
  height:700px!important;
  min-height:0!important;
  max-height:700px!important;
  aspect-ratio:auto!important;
 }
 #matchcenterRoot .mc-pitch-row > .mc-player {max-width:125px!important}
}
@media(max-width:380px){
 #matchcenterRoot .mc-lineup-panel > .mc-pitch:not(.mc-pitch-coordinates){padding:10px 4px!important;gap:2px!important}
 #matchcenterRoot .mc-pitch-row .mc-player-head,
 #matchcenterRoot .mc-pitch-position .mc-player-head{width:44px!important;height:49px!important}
 #matchcenterRoot .mc-pitch-row .mc-player strong{font-size:9px!important}
}


/* V10 — Große, randfüllende Spielerbilder; gleich hohe Karten bei allen Teams */
#matchcenterRoot .mc-pitch-row,
#matchcenterRoot .mc-pitch:not(.mc-pitch-coordinates)>.mc-pitch-row {
  align-items:start!important;
  align-content:center!important;
  justify-items:center!important;
  justify-content:stretch!important;
}
/* Jede Kachel hat dieselben Zeilen und dieselbe Oberkante innerhalb ihrer Reihe. */
#matchcenterRoot .mc-pitch-row>.mc-player,
#matchcenterRoot .mc-pitch-position>.mc-player {
  display:grid!important;
  grid-template-rows:var(--s04-cardphoto-h,76px) minmax(2.4em,auto) 1.2em 1.1em!important;
  justify-items:center!important;
  align-items:start!important;
  align-content:start!important;
  justify-content:center!important;
  align-self:start!important;
  justify-self:stretch!important;
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
  margin:0 auto!important;
  gap:2px!important;
  padding:0 1px!important;
  box-sizing:border-box!important;
}
#matchcenterRoot .mc-pitch-row .mc-player-head,
#matchcenterRoot .mc-pitch-position .mc-player-head {
  box-sizing:border-box!important;
  position:relative!important;
  width:var(--s04-cardphoto-w,73px)!important;
  height:var(--s04-cardphoto-h,76px)!important;
  min-width:0!important;
  min-height:0!important;
  max-width:100%!important;
  justify-self:center!important;
  align-self:start!important;
  margin:0!important;
  border-radius:8px!important;
  overflow:visible!important; /* Rating/EIN/AUS-Badges nicht abschneiden */
  background:#f1f3f2!important;
}
#matchcenterRoot .mc-player-head .mc-photo-viewport,
#matchcenterRoot .mc-bench-photo .mc-photo-viewport {
  inset:0!important;
  box-sizing:border-box!important;
  width:100%!important;
  height:100%!important;
  border-radius:8px!important;
  overflow:hidden!important;
  background:#e7edf0!important;
}
#matchcenterRoot .mc-player-head .mc-photo-viewport>img,
#matchcenterRoot .mc-bench-photo .mc-photo-viewport>img,
#matchcenterRoot .mc-panel-schalke .mc-photo-viewport>img,
#matchcenterRoot .mc-panel-opponent .mc-photo-viewport>img {
  position:relative!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:50% 38%!important;
  transform:scale(1.08)!important;
  transform-origin:50% 35%!important;
  display:block!important;
  max-width:none!important;
  max-height:none!important;
  border-radius:0!important;
  background:#eef0f2!important;
}
/* Schalke-Bilder enthalten bereits einen Hintergrund; der leichte Zoom entfernt helle Außenstreifen. */
#matchcenterRoot .mc-panel-schalke .mc-photo-viewport>img {
  object-position:50% 40%!important;
  transform:scale(1.12)!important;
}
#matchcenterRoot .mc-player strong,
#matchcenterRoot .mc-pitch-row .mc-player strong,
#matchcenterRoot .mc-pitch-position .mc-player strong {
  display:flex!important;
  justify-content:center!important;
  align-items:start!important;
  width:100%!important;
  min-width:0!important;
  height:auto!important;
  min-height:2.4em!important;
  margin:0!important;
  padding:0!important;
  text-align:center!important;
  font-size:10.5px!important;
  line-height:1.16!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
#matchcenterRoot .mc-pitch-row .mc-player small,
#matchcenterRoot .mc-pitch-position .mc-player small {
  display:block!important;
  width:100%!important;
  height:1.2em!important;
  min-height:1.2em!important;
  line-height:1.2!important;
  margin:0!important;
  text-align:center!important;
  font-size:9.5px!important;
}
#matchcenterRoot .mc-pitch-row .mc-contributions,
#matchcenterRoot .mc-pitch-position .mc-contributions {
  min-height:1.1em!important;
  height:1.1em!important;
  font-size:9px!important;
  line-height:1.1!important;
  align-self:start!important;
  align-items:start!important;
  justify-content:center!important;
  margin:0!important;
}
/* Die Fünferreihe braucht kleinere Kacheln, sonst laufen die Außenpositionen über den Rand. */
#matchcenterRoot .mc-pitch-row[style*="--mc-count:5"] {--s04-cardphoto-w:54px;--s04-cardphoto-h:65px;}
#matchcenterRoot .mc-pitch-row[style*="--mc-count:4"] {--s04-cardphoto-w:66px;--s04-cardphoto-h:73px;}
#matchcenterRoot .mc-pitch-row[style*="--mc-count:3"] {--s04-cardphoto-w:76px;--s04-cardphoto-h:81px;}
#matchcenterRoot .mc-pitch-row[style*="--mc-count:2"] {--s04-cardphoto-w:78px;--s04-cardphoto-h:82px;}
#matchcenterRoot .mc-pitch-row[style*="--mc-count:1"] {--s04-cardphoto-w:79px;--s04-cardphoto-h:83px;}
/* Bank ebenfalls randfüllend. */
#matchcenterRoot .mc-bench-person .mc-bench-photo {overflow:visible!important;}
#matchcenterRoot .mc-bench-person .mc-bench-photo .mc-photo-viewport {overflow:hidden!important;}
/* Spielfeld-Größe V9 beibehalten, nur die Spieler füllen ihre Bildflächen größer aus. */
@media(max-width:560px){
  #matchcenterRoot .mc-pitch-row[style*="--mc-count:5"] {--s04-cardphoto-w:49px;--s04-cardphoto-h:58px;}
  #matchcenterRoot .mc-pitch-row[style*="--mc-count:4"] {--s04-cardphoto-w:61px;--s04-cardphoto-h:69px;}
  #matchcenterRoot .mc-pitch-row[style*="--mc-count:3"] {--s04-cardphoto-w:69px;--s04-cardphoto-h:77px;}
  #matchcenterRoot .mc-pitch-row[style*="--mc-count:2"] {--s04-cardphoto-w:73px;--s04-cardphoto-h:81px;}
  #matchcenterRoot .mc-pitch-row[style*="--mc-count:1"] {--s04-cardphoto-w:73px;--s04-cardphoto-h:81px;}
}
@media(max-width:360px){
  #matchcenterRoot .mc-pitch-row[style*="--mc-count:5"] {--s04-cardphoto-w:45px;--s04-cardphoto-h:54px;}
  #matchcenterRoot .mc-pitch-row[style*="--mc-count:4"] {--s04-cardphoto-w:55px;--s04-cardphoto-h:63px;}
  #matchcenterRoot .mc-pitch-row[style*="--mc-count:3"] {--s04-cardphoto-w:64px;--s04-cardphoto-h:71px;}
  #matchcenterRoot .mc-pitch-row[style*="--mc-count:2"],
  #matchcenterRoot .mc-pitch-row[style*="--mc-count:1"] {--s04-cardphoto-w:69px;--s04-cardphoto-h:74px;}
  #matchcenterRoot .mc-player strong{font-size:9.5px!important;}
}

/* Gleiche Porträtgröße innerhalb einer Startelf, abhängig von der Anzahl der Linien.
   Fünf Linien brauchen weniger Höhe als vier, damit 1:0-Torschützeninfos lesbar bleiben. */
#matchcenterRoot .mc-pitch[data-row-count="5"] {--s04-cardphoto-w:60px;--s04-cardphoto-h:54px;}
#matchcenterRoot .mc-pitch[data-row-count="4"] {--s04-cardphoto-w:68px;--s04-cardphoto-h:72px;}
#matchcenterRoot .mc-pitch[data-row-count="3"] {--s04-cardphoto-w:72px;--s04-cardphoto-h:83px;}
#matchcenterRoot .mc-pitch[data-row-count="5"] .mc-player,
#matchcenterRoot .mc-pitch[data-row-count="4"] .mc-player {
  grid-template-rows:var(--s04-cardphoto-h) 2.15em 1.05em 1em!important;
  row-gap:1px!important;
}
#matchcenterRoot .mc-pitch[data-row-count="5"] .mc-player strong,
#matchcenterRoot .mc-pitch[data-row-count="4"] .mc-player strong {
  min-height:2.15em!important;
  font-size:10px!important;
  line-height:1.08!important;
}
#matchcenterRoot .mc-pitch[data-row-count="5"] .mc-player small,
#matchcenterRoot .mc-pitch[data-row-count="4"] .mc-player small {
  height:1.05em!important;min-height:1.05em!important;font-size:9px!important;
}
#matchcenterRoot .mc-pitch[data-row-count="5"] .mc-contributions,
#matchcenterRoot .mc-pitch[data-row-count="4"] .mc-contributions {
  height:1em!important;min-height:1em!important;font-size:9px!important;
}
@media(max-width:560px){
 #matchcenterRoot .mc-pitch[data-row-count="5"] {--s04-cardphoto-w:57px;--s04-cardphoto-h:54px;}
 #matchcenterRoot .mc-pitch[data-row-count="4"] {--s04-cardphoto-w:65px;--s04-cardphoto-h:69px;}
}
@media(max-width:360px){
 #matchcenterRoot .mc-pitch[data-row-count="5"] {--s04-cardphoto-w:54px;--s04-cardphoto-h:52px;}
 #matchcenterRoot .mc-pitch[data-row-count="4"] {--s04-cardphoto-w:61px;--s04-cardphoto-h:65px;}
}

/* Final priority: override per-row legacy sizing so every player in ONE lineup has same photo dimensions. */
#matchcenterRoot .mc-pitch[data-row-count="5"]>.mc-pitch-row {--s04-cardphoto-w:60px;--s04-cardphoto-h:54px;}
#matchcenterRoot .mc-pitch[data-row-count="4"]>.mc-pitch-row {--s04-cardphoto-w:68px;--s04-cardphoto-h:72px;}
#matchcenterRoot .mc-pitch[data-row-count="3"]>.mc-pitch-row {--s04-cardphoto-w:72px;--s04-cardphoto-h:83px;}
@media(max-width:560px){
 #matchcenterRoot .mc-pitch[data-row-count="5"]>.mc-pitch-row {--s04-cardphoto-w:57px;--s04-cardphoto-h:54px;}
 #matchcenterRoot .mc-pitch[data-row-count="4"]>.mc-pitch-row {--s04-cardphoto-w:65px;--s04-cardphoto-h:69px;}
}
@media(max-width:360px){
 #matchcenterRoot .mc-pitch[data-row-count="5"]>.mc-pitch-row {--s04-cardphoto-w:54px;--s04-cardphoto-h:52px;}
 #matchcenterRoot .mc-pitch[data-row-count="4"]>.mc-pitch-row {--s04-cardphoto-w:61px;--s04-cardphoto-h:65px;}
}
/* Pixelgenaue Zeilen statt em-Maße (em hing vorher an 14px und erzeugte Überlappungen). */
#matchcenterRoot .mc-pitch[data-row-count="5"] .mc-pitch-row>.mc-player,
#matchcenterRoot .mc-pitch[data-row-count="4"] .mc-pitch-row>.mc-player {
  grid-template-rows:var(--s04-cardphoto-h) 22px 11px 10px!important;
  row-gap:1px!important;
}
#matchcenterRoot .mc-pitch[data-row-count="5"] .mc-player strong,
#matchcenterRoot .mc-pitch[data-row-count="4"] .mc-player strong {
  height:22px!important;min-height:22px!important;max-height:22px!important;
  overflow:visible!important;
}
#matchcenterRoot .mc-pitch[data-row-count="5"] .mc-player small,
#matchcenterRoot .mc-pitch[data-row-count="4"] .mc-player small {
  height:11px!important;min-height:11px!important;max-height:11px!important;
}
#matchcenterRoot .mc-pitch[data-row-count="5"] .mc-contributions,
#matchcenterRoot .mc-pitch[data-row-count="4"] .mc-contributions {
  height:10px!important;min-height:10px!important;max-height:10px!important;
}
/* Auch auf schmalen iPhones dürfen Torschützen-/Positionszeilen nicht überlappen. */
@media(max-width:380px){
 #matchcenterRoot .mc-pitch[data-row-count="5"]>.mc-pitch-row {--s04-cardphoto-h:49px;}
}
@media(max-width:360px){
 #matchcenterRoot .mc-pitch[data-row-count="5"]>.mc-pitch-row {--s04-cardphoto-h:47px;}
}
/* Wunschformat Schalke: die aktiven 2026/27-BEUMER-Bilder füllen den Rahmen ohne hellen Oberrand. */
#matchcenterRoot .mc-panel-schalke .mc-photo-viewport>img {
  object-fit:cover!important;
  object-position:50% 45%!important;
  transform:scale(1.16)!important;
  transform-origin:50% 100%!important;
}


/* Version 11: näher an der Referenzgrafik – Ball-Icon, team-spezifische Bildgrößen, kompaktere Gegner */
#matchcenterRoot .mc-contributions{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  min-height:1.15em!important;
  margin-top:1px!important;
}
#matchcenterRoot .mc-contrib{
  display:inline-flex!important;
  align-items:center!important;
  gap:3px!important;
  font-size:10px!important;
  font-weight:800!important;
  color:#ffffff!important;
  line-height:1!important;
  white-space:nowrap!important;
}
#matchcenterRoot .mc-contrib-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:11px!important;line-height:1!important}
#matchcenterRoot .mc-contrib-assist .mc-contrib-icon{font-size:10px!important}
#matchcenterRoot .mc-contrib-value{display:inline-block!important;min-width:auto!important}

/* Schalke: alte Quer-/BEUMER-Bilder etwas stärker füllen */
#matchcenterRoot .mc-panel-schalke .mc-photo-viewport>img{
  object-fit:cover!important;
  object-position:50% 42%!important;
  transform:scale(1.08)!important;
  background:#13345d!important;
}
#matchcenterRoot .mc-panel-schalke .mc-pitch[data-row-count="4"]>.mc-pitch-row{--s04-cardphoto-w:68px;--s04-cardphoto-h:72px;}
#matchcenterRoot .mc-panel-schalke .mc-pitch[data-row-count="5"]>.mc-pitch-row{--s04-cardphoto-w:61px;--s04-cardphoto-h:58px;}
#matchcenterRoot .mc-panel-schalke .mc-pitch[data-row-count="4"] .mc-player{max-width:90px!important;}
#matchcenterRoot .mc-panel-schalke .mc-pitch[data-row-count="5"] .mc-player{max-width:78px!important;}

/* Gegner: einheitlicher und etwas kleiner, damit es nicht überdimensioniert wirkt */
#matchcenterRoot .mc-panel-opponent .mc-photo-viewport>img{
  object-fit:cover!important;
  object-position:50% 18%!important;
  transform:scale(.94)!important;
  background:#ffffff!important;
}
#matchcenterRoot .mc-panel-opponent .mc-pitch[data-row-count="4"]>.mc-pitch-row{--s04-cardphoto-w:58px;--s04-cardphoto-h:64px;}
#matchcenterRoot .mc-panel-opponent .mc-pitch[data-row-count="5"]>.mc-pitch-row{--s04-cardphoto-w:52px;--s04-cardphoto-h:58px;}
#matchcenterRoot .mc-panel-opponent .mc-pitch[data-row-count="4"] .mc-player{max-width:82px!important;}
#matchcenterRoot .mc-panel-opponent .mc-pitch[data-row-count="5"] .mc-player{max-width:68px!important;gap:1px!important;}
#matchcenterRoot .mc-panel-opponent .mc-pitch[data-row-count="5"] .mc-player strong{font-size:10px!important;min-height:2.1em!important;line-height:1.08!important}
#matchcenterRoot .mc-panel-opponent .mc-pitch[data-row-count="5"] .mc-player small{font-size:9px!important}
#matchcenterRoot .mc-panel-opponent .mc-pitch[data-row-count="5"] .mc-contributions{font-size:9px!important;gap:4px!important}

/* enger am Referenzbild: Reihen in 5er-/4er-Formationen gleich hoch */
#matchcenterRoot .mc-panel-opponent .mc-pitch[data-row-count="5"]>.mc-pitch-row,
#matchcenterRoot .mc-panel-opponent .mc-pitch[data-row-count="4"]>.mc-pitch-row{
  min-height:92px!important;
  align-items:start!important;
}
#matchcenterRoot .mc-panel-schalke .mc-pitch[data-row-count="4"]>.mc-pitch-row{
  min-height:102px!important;
}
@media(max-width:560px){
  #matchcenterRoot .mc-panel-schalke .mc-pitch[data-row-count="4"]>.mc-pitch-row{--s04-cardphoto-w:64px;--s04-cardphoto-h:68px;min-height:98px!important;}
  #matchcenterRoot .mc-panel-schalke .mc-pitch[data-row-count="5"]>.mc-pitch-row{--s04-cardphoto-w:57px;--s04-cardphoto-h:55px;}
  #matchcenterRoot .mc-panel-opponent .mc-pitch[data-row-count="4"]>.mc-pitch-row{--s04-cardphoto-w:54px;--s04-cardphoto-h:60px;min-height:88px!important;}
  #matchcenterRoot .mc-panel-opponent .mc-pitch[data-row-count="5"]>.mc-pitch-row{--s04-cardphoto-w:48px;--s04-cardphoto-h:54px;min-height:88px!important;}
  #matchcenterRoot .mc-panel-opponent .mc-pitch[data-row-count="5"] .mc-player{max-width:64px!important;}
}


/* 04.11.2026 · V12 Startelf-/Wechselbild-Fix
   - keine abgeschnittenen Startelfbilder
   - Wechsel & Reservebank optisch wie Referenz (klassische Hochkant-Porträts)
   - letzte, stärkste Overrides gegen frühere contain/cover-Konflikte */
#matchcenterRoot .mc-player-head .mc-photo-viewport,
#matchcenterRoot .mc-md-mini-photo .mc-photo-viewport,
#matchcenterRoot .mc-bench-photo .mc-photo-viewport{
  background:#f3f5f6!important;
  overflow:hidden!important;
}
#matchcenterRoot .mc-player-head .mc-photo-viewport>img,
#matchcenterRoot .mc-md-mini-photo .mc-photo-viewport>img,
#matchcenterRoot .mc-bench-photo .mc-photo-viewport>img,
#matchcenterRoot .mc-player-head img,
#matchcenterRoot .mc-md-mini-photo img,
#matchcenterRoot .mc-bench-photo img{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  display:block!important;
  object-fit:cover!important;
  object-position:center 18%!important;
  background:#f3f5f6!important;
  transform:none!important;
}
/* Startelf minimal ruhiger: Foto etwas niedriger statt oben abgeschnitten */
#matchcenterRoot .mc-pitch-row .mc-player-head,
#matchcenterRoot .mc-pitch-position .mc-player-head{
  overflow:hidden!important;
}
/* Wechselkarten näher an Bild 2 */
#matchcenterRoot .mc-md-mini-photo{
  flex:0 0 60px!important;
  width:60px!important;
  height:74px!important;
  border-radius:8px!important;
  background:#f3f5f6!important;
}
#matchcenterRoot .mc-bench-person>.mc-bench-photo,
#matchcenterRoot .mc-bench-person .mc-bench-photo{
  flex:0 0 60px!important;
  min-width:60px!important;
  width:60px!important;
  height:74px!important;
  max-height:74px!important;
  border-radius:0!important;
  background:#f3f5f6!important;
}
#matchcenterRoot .mc-bench-list>.mc-bench-person,
#matchcenterRoot .mc-bench-person{
  min-height:74px!important;
}
@media(max-width:650px){
  #matchcenterRoot .mc-md-mini-photo{
    flex-basis:56px!important;
    width:56px!important;
    height:70px!important;
  }
  #matchcenterRoot .mc-bench-person>.mc-bench-photo,
  #matchcenterRoot .mc-bench-person .mc-bench-photo{
    flex-basis:56px!important;
    min-width:56px!important;
    width:56px!important;
    height:70px!important;
    max-height:70px!important;
  }
  #matchcenterRoot .mc-bench-list>.mc-bench-person,
  #matchcenterRoot .mc-bench-person{
    min-height:70px!important;
  }
}


/* 04.11.2026 · V13 exakter Nutzerwunsch
   1) Schalke nutzt wieder die frontalen Liga-/Archivporträts statt der blauen Seitenpose-Bilder
   2) Startelfbilder NICHT abgeschnitten
   3) Wechsel + Bank wie Referenz: gleiche ruhige Hochkantdarstellung */
#matchcenterRoot .mc-player-head,
#matchcenterRoot .mc-player-head .mc-photo-viewport,
#matchcenterRoot .mc-md-mini-photo,
#matchcenterRoot .mc-md-mini-photo .mc-photo-viewport,
#matchcenterRoot .mc-bench-photo,
#matchcenterRoot .mc-bench-photo .mc-photo-viewport{
  background:#f4f5f6!important;
  overflow:hidden!important;
}
#matchcenterRoot .mc-player-head .mc-photo-viewport>img,
#matchcenterRoot .mc-md-mini-photo .mc-photo-viewport>img,
#matchcenterRoot .mc-bench-photo .mc-photo-viewport>img,
#matchcenterRoot .mc-player-head img,
#matchcenterRoot .mc-md-mini-photo img,
#matchcenterRoot .mc-bench-photo img,
#matchcenterRoot .mc-panel-schalke .mc-photo-viewport>img,
#matchcenterRoot .mc-panel-opponent .mc-photo-viewport>img{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  display:block!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  transform:none!important;
  background:#f4f5f6!important;
}
/* Startelf-Karten leicht höher, damit die Bilder größer wirken aber nicht abgeschnitten werden */
#matchcenterRoot .mc-pitch-row .mc-player-head,
#matchcenterRoot .mc-pitch-position .mc-player-head{
  border-radius:8px!important;
}
/* Wechsel/Bank optisch näher an Referenzbild 2 */
#matchcenterRoot .mc-md-mini-photo{
  flex:0 0 62px!important;
  width:62px!important;
  height:78px!important;
  border-radius:8px!important;
}
#matchcenterRoot .mc-bench-person>.mc-bench-photo,
#matchcenterRoot .mc-bench-person .mc-bench-photo{
  flex:0 0 62px!important;
  min-width:62px!important;
  width:62px!important;
  height:78px!important;
  max-height:78px!important;
  border-radius:0!important;
}
#matchcenterRoot .mc-bench-list>.mc-bench-person,
#matchcenterRoot .mc-bench-person{
  min-height:78px!important;
}
@media(max-width:650px){
  #matchcenterRoot .mc-md-mini-photo{
    flex-basis:58px!important;
    width:58px!important;
    height:74px!important;
  }
  #matchcenterRoot .mc-bench-person>.mc-bench-photo,
  #matchcenterRoot .mc-bench-person .mc-bench-photo{
    flex-basis:58px!important;
    min-width:58px!important;
    width:58px!important;
    height:74px!important;
    max-height:74px!important;
  }
  #matchcenterRoot .mc-bench-list>.mc-bench-person,
  #matchcenterRoot .mc-bench-person{
    min-height:74px!important;
  }
}
