/* fokus.schalke · Matchcenter Reference Edition · 03.11.2026
   Companion stylesheet loaded LAST. Keeps the real website, provider data,
   navigation and the official crests; only the match view is restyled. */
body.portal-body:has(#matchcenterRoot),
body.portal-body:has(#matchcenterRoot) #app,
body.portal-body:has(#matchcenterRoot) .main-content{
  background:#111214!important;color:#f7f7f8!important;
}
#matchcenterRoot{
  --mc-bg:#191b1e;--mc-red:#e21b36;--mc-dark:#151719;
  --mc-border:#41444a;--mc-text:#f9f9fa;
  color:var(--mc-text)!important;background:#111214!important;
  max-width:1040px;margin:0 auto;padding:22px clamp(12px,2vw,26px) 32px;
}
#matchcenterRoot .back-link{color:#e8e8e8!important}
#matchcenterRoot .mc-title{
  background:linear-gradient(115deg,#222429,#17191d)!important;
  border-left:5px solid var(--mc-red)!important;
  border-bottom:0!important;padding:18px 22px!important;margin:10px 0 20px!important;
  color:#fff!important;
}
#matchcenterRoot .mc-title p{color:#bfc4cc!important;max-width:740px;font-size:clamp(12px,1.6vw,14px)!important}
#matchcenterRoot .mc-title .eyebrow{color:#d0d4da!important}
#matchcenterRoot .mc-heading-art{max-width:min(550px,100%)!important}
#matchcenterRoot .mc-history-head{
  background:#25282d!important;color:#fff!important;border-left:4px solid var(--mc-red)!important;
  padding:17px 19px!important;margin-bottom:12px!important;
}
#matchcenterRoot .mc-history-head small{color:#adb3ba!important}
#matchcenterRoot .mc-history-controls{background:#111214!important;padding:3px 0 14px!important;max-width:none!important}
#matchcenterRoot .mc-history-controls label{color:#e4e4e6!important}
#matchcenterRoot .mc-history-controls select{
  color:white!important;background:#292c31!important;border:1px solid #555a63!important;
  min-height:44px!important;height:44px!important;border-radius:5px!important;
}
#matchcenterRoot .mc-history-controls select:focus-visible{outline:2px solid #f14560!important}
#matchcenterRoot .mc-refresh{background:#d71b33!important;color:white!important;border-radius:5px!important;min-height:44px!important;height:44px!important}
#matchcenterRoot .mc-scorecard{background:#24262a!important;box-shadow:none!important;margin:10px 0 20px!important;border-top:4px solid var(--mc-red)!important}
#matchcenterRoot .mc-score-top{background:#b90e25!important;color:white!important;border-bottom:0!important}
#matchcenterRoot .mc-score-row{background:#27292d!important;color:#fff!important}
#matchcenterRoot .mc-venue{background:#1b1d20!important;color:#d2d4d8!important}
#matchcenterRoot[data-competition="zweite"] .mc-score-top{background:#41454c!important;border-bottom:4px solid var(--mc-red)!important}
#matchcenterRoot[data-competition="zweite"] .mc-scorecard{border-top-color:#e21b36!important}
#matchcenterRoot[data-competition="pokal"] .mc-score-top{background:#0c5239!important}
#matchcenterRoot[data-competition="pokal"] .mc-scorecard{border-top-color:#18a36d!important}
/* Exactly one team-color accent line, not a second short border. */
#matchcenterRoot .mc-score-row .mc-team{border:0!important;box-shadow:none!important}
#matchcenterRoot .mc-score-row .mc-team::before{content:none!important}
#matchcenterRoot .mc-score-row .mc-team::after{content:""!important;display:block!important;height:3px!important;left:4%!important;right:4%!important;background:var(--mc-club-accent,#fff)!important}
#matchcenterRoot .mc-score-row .mc-team:not(.mc-score-opponent)::after{background:#fff!important}
/* The user selects a side; we do not squeeze two tactical fields together. */
#matchcenterRoot .mc-lineup-switcher{max-width:950px;margin:0 auto 26px;background:transparent}
#matchcenterRoot .mc-lineup-tabs{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:4px!important;margin:0 0 12px!important;
  border:1px solid #494d53!important;border-radius:12px!important;
  overflow:hidden!important;background:#222428!important;padding:4px!important;
}
#matchcenterRoot .mc-lineup-tab{
  display:flex!important;align-items:center;justify-content:center;gap:10px!important;
  min-width:0!important;padding:15px 6px!important;border:0!important;
  background:#303237!important;color:#c3c7cf!important;
  font:800 clamp(13px,2.8vw,21px)/1.13 var(--display)!important;
  border-radius:8px!important;box-shadow:none!important;cursor:pointer;
}
#matchcenterRoot .mc-lineup-tab span{min-width:0;overflow-wrap:anywhere;text-align:center}
#matchcenterRoot .mc-lineup-tab .mc-team-logo{width:clamp(27px,4vw,39px)!important;height:clamp(27px,4vw,39px)!important;object-fit:contain!important}
#matchcenterRoot .mc-lineup-tab.is-active{
  background:#131416!important;color:#fff!important;
  box-shadow:inset 0 -4px #e01c35!important;
}
#matchcenterRoot .mc-lineup-tab:focus-visible{outline:3px solid #f36175;outline-offset:-3px}
#matchcenterRoot .mc-lineup-grid{display:block!important;grid-template-columns:1fr!important;max-width:100%!important;gap:0!important}
#matchcenterRoot .mc-lineup-grid[data-active-side="home"]>.mc-lineup-panel:nth-child(2),
#matchcenterRoot .mc-lineup-grid[data-active-side="away"]>.mc-lineup-panel:nth-child(1){display:none!important}
#matchcenterRoot .mc-lineup-panel{
  display:flex!important;flex-direction:column!important;
  width:100%!important;max-width:none!important;min-width:0!important;
  background:#1b1d20!important;border:1px solid #373b41!important;
  color:#f6f6f7!important;border-radius:13px!important;
  overflow:hidden!important;grid-template-rows:none!important;
}
#matchcenterRoot .mc-lineup-heading{
  background:#232529!important;border:0!important;border-left:5px solid var(--mc-red)!important;
  padding:15px 19px!important;min-height:65px!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;
}
#matchcenterRoot .mc-lineup-heading h3{font:900 clamp(22px,4vw,32px)/1 var(--display)!important;color:#fff!important}
#matchcenterRoot .mc-lineup-heading>strong{
  color:#cbd0d6!important;font:800 clamp(15px,2.7vw,20px)/1 var(--display)!important;
}
#matchcenterRoot .mc-lineup-heading .mc-team-logo{width:36px;height:36px;object-fit:contain}
#matchcenterRoot .mc-pitch:not(.mc-pitch-coordinates){
  position:relative!important;box-sizing:border-box!important;
  display:flex!important;flex-direction:column!important;
  height:auto!important;max-height:none!important;min-height:730px!important;
  gap:15px!important;padding:30px clamp(9px,2vw,20px)!important;
  overflow:visible!important;justify-content:space-around!important;
  background:repeating-linear-gradient(180deg,#155039 0,#155039 82px,#10452f 82px,#10452f 164px)!important;
}
#matchcenterRoot .mc-pitch::before{inset:16px 11px!important;border:2px solid #b5d4c74a!important}
#matchcenterRoot .mc-pitch::after{border-color:#b5d4c74a!important}
#matchcenterRoot .mc-midline{border-color:#b5d4c74a!important}
#matchcenterRoot .mc-pitch:not(.mc-pitch-coordinates)>.mc-pitch-row{
  box-sizing:border-box!important;display:grid!important;
  grid-template-columns:repeat(var(--mc-count),minmax(0,1fr))!important;
  align-items:center!important;justify-items:center!important;
  flex:1 1 auto!important;min-height:123px!important;
  padding:10px 1px!important;gap:2px!important;
  position:relative!important;z-index:2!important;
}
#matchcenterRoot .mc-pitch-row>.mc-player,
#matchcenterRoot .mc-pitch-position>.mc-player{
  width:100%!important;max-width:140px!important;min-width:0!important;
  box-sizing:border-box!important;align-self:center!important;justify-self:center!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;
  gap:6px!important;padding:2px!important;overflow:visible!important;text-decoration:none!important;
}
#matchcenterRoot .mc-player-head{
  width:clamp(62px,11vw,92px)!important;height:clamp(73px,13vw,100px)!important;
  flex:0 0 auto!important;isolation:isolate!important;
  background:#1e3449!important;border-radius:8px!important;
}
#matchcenterRoot .mc-player-head .mc-photo-viewport,
#matchcenterRoot .mc-bench-photo .mc-photo-viewport{overflow:hidden!important;border-radius:7px!important}
#matchcenterRoot .mc-player-head img,
#matchcenterRoot .mc-bench-photo img{object-fit:cover!important;object-position:center 17%!important}
#matchcenterRoot .mc-player strong{
  max-width:100%!important;width:100%!important;text-align:center!important;
  font:800 clamp(12px,1.85vw,16px)/1.2 var(--display)!important;
  overflow-wrap:break-word!important;word-break:normal!important;
  text-shadow:0 2px 5px #000a!important;
}
#matchcenterRoot .mc-player small{font:700 clamp(10px,1.3vw,12px)/1 var(--display)!important;color:#e5e9e6!important}
#matchcenterRoot .mc-player-head .mc-rating{
  top:-12px!important;right:-14px!important;bottom:auto!important;left:auto!important;
  display:block!important;padding:3px 6px!important;min-width:25px!important;
  border:2px solid #373b40!important;border-radius:8px!important;
  color:#f6464c!important;background:#202124!important;
  font:900 clamp(10px,1.7vw,14px)/1.05 var(--display)!important;
  text-shadow:none!important;z-index:6!important;
}
#matchcenterRoot .mc-player-head .mc-change-marker{
  left:-9px!important;bottom:-4px!important;top:auto!important;right:auto!important;
  font:800 clamp(9px,1.3vw,11px)/1 var(--display)!important;
  padding:3px 5px!important;border:1px solid #fff!important;
  border-radius:4px!important;z-index:6!important;
}
#matchcenterRoot .mc-change-in{background:#007d50!important;color:#fff!important}
#matchcenterRoot .mc-change-out{background:#aa182b!important;color:#fff!important}
#matchcenterRoot .mc-photo-number{display:none!important}
#matchcenterRoot .mc-pitch.mc-pitch-coordinates{
  box-sizing:border-box!important;height:750px!important;min-height:750px!important;max-height:750px!important;
  position:relative!important;overflow:visible!important;
  background:repeating-linear-gradient(180deg,#155039 0,#155039 82px,#10452f 82px,#10452f 164px)!important;
}
#matchcenterRoot .mc-pitch-position{width:18%!important;max-width:125px!important;min-width:0!important}
/* Reference-inspired side-specific events; each team is independent. */
#matchcenterRoot .mc-md-changes,
#matchcenterRoot .mc-bench,
#matchcenterRoot .mc-md-coach{
  background:#1a1b1e!important;color:#f5f5f5!important;
  padding:22px clamp(12px,2.6vw,24px)!important;
  border:0!important;border-top:14px solid #101114!important;
  margin:0!important;
}
#matchcenterRoot .mc-md-changes h4,
#matchcenterRoot .mc-bench h4,
#matchcenterRoot .mc-md-coach h4{
  margin:0 0 20px!important;padding:0!important;border:0!important;background:transparent!important;
  color:#fff!important;text-align:center!important;
  font:900 clamp(23px,3vw,31px)/1 var(--display)!important;
}
#matchcenterRoot .mc-bench h4 span{float:right;color:#adb4bd;font:700 11px var(--body)}
#matchcenterRoot .mc-md-change-list{display:flex;flex-direction:column;gap:12px}
#matchcenterRoot .mc-md-change-row{
  display:grid;grid-template-columns:minmax(0,1fr) 76px minmax(0,1fr);
  align-items:center;gap:7px;min-width:0;
}
#matchcenterRoot .mc-md-change-clock{
  display:flex;align-items:center;justify-content:space-between;gap:3px;
  white-space:nowrap;text-align:center;color:#fff;
  font:900 clamp(15px,2.6vw,24px)/1 var(--display);
}
#matchcenterRoot .mc-md-up{color:#37b946!important;background:transparent!important;border:0!important;font-size:.9em}
#matchcenterRoot .mc-md-down{color:#fa233b!important;background:transparent!important;border:0!important;font-size:.9em}
#matchcenterRoot .mc-md-mini-person{
  display:flex;align-items:center;gap:9px;min-width:0;min-height:75px;
  border:1px solid #4c4f55;border-radius:9px;overflow:hidden;
  color:#f6f6f6;background:#202124;text-decoration:none;
}
#matchcenterRoot .mc-md-change-out .mc-md-mini-person{flex-direction:row-reverse;text-align:right}
#matchcenterRoot .mc-md-mini-photo{
  position:relative;display:block;flex:0 0 62px;width:62px;height:72px;
  overflow:hidden;background:#32353b;
}
#matchcenterRoot .mc-md-mini-photo .mc-photo-viewport{width:100%;height:100%;display:block;overflow:hidden}
#matchcenterRoot .mc-md-mini-photo img{width:100%;height:100%;object-fit:cover;object-position:center 17%}
#matchcenterRoot .mc-md-shirt{position:absolute;bottom:0;left:0;background:#0871c2;color:white;border-radius:0 4px 0 0;padding:2px 5px;font:900 14px var(--display)}
#matchcenterRoot .mc-md-mini-name{min-width:0;padding:4px 2px;display:flex;flex-direction:column;gap:2px}
#matchcenterRoot .mc-md-mini-name>span{font:500 clamp(11px,1.7vw,15px)/1.2 var(--body);color:#b7b8bc;overflow-wrap:anywhere}
#matchcenterRoot .mc-md-mini-name>strong{font:800 clamp(13px,2.5vw,21px)/1 var(--display);color:white;overflow-wrap:anywhere}
#matchcenterRoot .mc-md-unknown{padding:10px;color:#adb3b9}
#matchcenterRoot .mc-bench-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 14px!important}
#matchcenterRoot .mc-bench-person{
  min-width:0!important;min-height:78px!important;width:100%!important;
  display:flex!important;align-items:center!important;gap:10px!important;
  border:1px solid #50535a!important;border-radius:8px!important;
  background:#202124!important;color:#fff!important;
  padding:0!important;overflow:hidden!important;text-decoration:none!important;
}
#matchcenterRoot .mc-bench-person .mc-bench-photo{
  display:block!important;flex:0 0 72px!important;width:72px!important;height:78px!important;
  overflow:hidden!important;border-radius:0!important;
  background:#31353b!important;
}
#matchcenterRoot .mc-bench-person .mc-bench-photo img{width:100%!important;height:100%!important;object-fit:cover!important}
#matchcenterRoot .mc-bench-person .mc-bench-details{
  min-width:0!important;background:transparent!important;color:white!important;
  align-items:flex-start!important;display:flex!important;flex-direction:column!important;gap:2px!important;padding:5px 5px 5px 0!important;
}
#matchcenterRoot .mc-bench-details .mc-md-firstname{
  display:block!important;font:500 clamp(11px,2.1vw,15px)/1.2 var(--body)!important;
  color:#aeb0b5!important;opacity:1!important;margin:0!important;
}
#matchcenterRoot .mc-bench-details strong{
  color:#fff!important;font:800 clamp(15px,2.7vw,21px)/1.06 var(--display)!important;
  overflow-wrap:anywhere!important;
}
#matchcenterRoot .mc-bench-arrow{display:none!important}
#matchcenterRoot .mc-md-coach-person{
  display:flex;gap:13px;align-items:center;min-height:75px;
  padding:0;border:1px solid #50535a;border-radius:9px;
  background:#202124;overflow:hidden;
}
#matchcenterRoot .mc-md-coach-person img,
#matchcenterRoot .mc-md-coach-placeholder{
  flex:0 0 73px;width:73px;height:80px;object-fit:cover;object-position:center 20%;
  display:grid;place-items:center;background:#343943;color:#aab5c5;
  font:900 27px var(--display);
}
#matchcenterRoot .mc-md-coach-person>span:last-child{display:flex;flex-direction:column;gap:2px}
#matchcenterRoot .mc-md-coach-person small{font-size:15px;color:#b5b8bd}
#matchcenterRoot .mc-md-coach-person strong{font:900 22px var(--display);color:#fff}
#matchcenterRoot .mc-source{color:#b2b7c0!important}
#matchcenterRoot .mc-goal-events,#matchcenterRoot .mc-stats,#matchcenterRoot .mc-changes,
#matchcenterRoot .mc-team-comparison{background:#202226!important;color:#fff!important;border-color:#474a50!important}
@media(max-width:650px){
 #matchcenterRoot{padding:14px 10px 25px!important}
 #matchcenterRoot .mc-history-controls{grid-template-columns:1fr 1fr!important;max-width:100%!important}
 #matchcenterRoot .mc-history-controls>.mc-match-filter,#matchcenterRoot .mc-history-controls>.mc-refresh{grid-column:1/-1!important}
 #matchcenterRoot .mc-pitch:not(.mc-pitch-coordinates){min-height:710px!important;padding:25px 9px!important;gap:9px!important}
 #matchcenterRoot .mc-pitch:not(.mc-pitch-coordinates)>.mc-pitch-row{min-height:116px!important;padding:8px 1px!important}
 #matchcenterRoot .mc-player-head{width:clamp(55px,16vw,76px)!important;height:clamp(65px,19vw,88px)!important}
 #matchcenterRoot .mc-player strong{font-size:clamp(11px,3vw,13px)!important;line-height:1.13!important}
 #matchcenterRoot .mc-player small{font-size:10px!important}
 #matchcenterRoot .mc-player-head .mc-rating{font-size:11px!important;right:-9px!important;top:-11px!important;padding:3px 4px!important}
 #matchcenterRoot .mc-player-head .mc-change-marker{font-size:9px!important;left:-4px!important;bottom:-3px!important}
 #matchcenterRoot .mc-pitch.mc-pitch-coordinates{height:770px!important;min-height:770px!important;max-height:770px!important}
 #matchcenterRoot .mc-md-change-row{grid-template-columns:minmax(0,1fr) 66px minmax(0,1fr);gap:4px}
 #matchcenterRoot .mc-md-mini-person{gap:5px!important;min-height:63px}
 #matchcenterRoot .mc-md-mini-photo{flex-basis:47px;width:47px;height:62px}
 #matchcenterRoot .mc-md-mini-name>strong{font-size:clamp(12px,3.5vw,17px)}
 #matchcenterRoot .mc-md-mini-name>span{font-size:10px}
 #matchcenterRoot .mc-bench-person{min-height:73px!important;gap:7px!important}
 #matchcenterRoot .mc-bench-person .mc-bench-photo{flex-basis:59px!important;width:59px!important;height:73px!important}
 #matchcenterRoot .mc-bench-list{gap:9px!important}
 #matchcenterRoot .mc-bench-details strong{font-size:clamp(13px,3.7vw,18px)!important}
 #matchcenterRoot .mc-bench-details .mc-md-firstname{font-size:11px!important}
 #matchcenterRoot .mc-lineup-heading h3{font-size:23px!important}
}
@media(max-width:375px){
 #matchcenterRoot .mc-pitch:not(.mc-pitch-coordinates){min-height:700px!important}
 #matchcenterRoot .mc-player-head{width:53px!important;height:63px!important}
 #matchcenterRoot .mc-pitch-row>.mc-player{gap:5px!important}
 #matchcenterRoot .mc-bench-person .mc-bench-photo{flex-basis:52px!important;width:52px!important}
 #matchcenterRoot .mc-md-mini-photo{flex-basis:43px;width:43px;height:58px}
}

/* Override the more specific legacy V2 competition variants as well. */
#matchcenterRoot[data-competition] .mc-lineup-heading{background:#232529!important;color:#fff!important}
#matchcenterRoot[data-competition="zweite"] .mc-lineup-heading{background:#34373d!important;color:#fff!important}
#matchcenterRoot[data-competition="pokal"] .mc-lineup-heading{background:#21392f!important;color:#fff!important}
#matchcenterRoot[data-competition] .mc-lineup-heading h3,
#matchcenterRoot[data-competition] .mc-lineup-heading>strong{color:#fff!important}
#matchcenterRoot[data-competition] .mc-v2-history select{
  height:44px!important;min-height:44px!important;max-height:44px!important;
  border-radius:5px!important;background:#292c31!important;
  color:#fff!important;border-color:#545963!important;
}
#matchcenterRoot[data-competition] .mc-v2-history>label{color:#e9ebed!important}
#matchcenterRoot[data-competition] .mc-v2-history #mc-refresh{
  height:44px!important;min-height:44px!important;background:#d71b33!important;
  border-color:#d71b33!important;color:#fff!important;border-radius:5px!important;
}
#matchcenterRoot .mc-player-head{background:#353940!important}
#matchcenterRoot .mc-player-placeholder{color:#a5abb4!important;font-size:28px!important}
@media(max-width:650px){
 #matchcenterRoot .mc-v2-history{width:100%!important;max-width:none!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #matchcenterRoot .mc-v2-history>.mc-match-filter,
 #matchcenterRoot .mc-v2-history>#mc-refresh{grid-column:1/-1!important}
}
/* Large statistics tables scroll within their section on narrow phones. */
#matchcenterRoot .mc-stats-team,
#matchcenterRoot .mc-stats-scroll{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
#matchcenterRoot .mc-stats-scroll{width:100%!important;display:block!important;overflow-x:auto!important;overscroll-behavior-inline:contain}
#matchcenterRoot .mc-stats-scroll table{max-width:none;min-width:700px}
#matchcenterRoot .mc-stats{min-width:0!important;max-width:100%!important;overflow:hidden!important}
#matchcenterRoot .mc-stats-team{min-width:0!important;overflow:hidden!important}
/* Only the statistics grids scroll sideways; the whole page must not. */
html:has(#matchcenterRoot),body.portal-body:has(#matchcenterRoot){max-width:100%;overflow-x:clip!important}


/* 03.11.2026 · Mobile layout/selection repair based on real screenshots.
   Restore naturally-sized bench text: old .mc-bench-person > span was forcing
   flex: 0 0 28px and height: 28px on the whole name column. */
#matchcenterRoot .mc-bench-list{align-items:start!important;grid-auto-rows:minmax(0,auto)!important}
#matchcenterRoot .mc-bench-list>.mc-bench-person{
  display:flex!important;flex-direction:row!important;align-items:center!important;
  justify-content:flex-start!important;align-self:start!important;
  min-height:86px!important;height:auto!important;max-height:none!important;
  gap:9px!important;box-sizing:border-box!important;
}
#matchcenterRoot .mc-bench-person>.mc-bench-photo{
  flex:0 0 68px!important;min-width:68px!important;width:68px!important;
  height:86px!important;max-height:86px!important;
  display:flex!important;align-items:stretch!important;justify-content:center!important;
}
#matchcenterRoot .mc-bench-person>.mc-bench-details{
  flex:1 1 0!important;height:auto!important;width:auto!important;
  min-width:0!important;max-width:100%!important;
  display:flex!important;flex-direction:column!important;
  justify-content:center!important;align-items:flex-start!important;
  padding:5px 5px 5px 0!important;
  background:transparent!important;
  word-break:normal!important;overflow-wrap:normal!important;
  white-space:normal!important;writing-mode:horizontal-tb!important;
}
#matchcenterRoot .mc-bench-person>.mc-bench-details>strong,
#matchcenterRoot .mc-bench-person>.mc-bench-details>small{
  display:block!important;flex:0 1 auto!important;
  width:100%!important;height:auto!important;min-width:0!important;
  word-break:normal!important;overflow-wrap:break-word!important;
  white-space:normal!important;writing-mode:horizontal-tb!important;
  line-height:1.16!important;
}
/* Users can select either club from the scorecard or these clear tabs. */
#matchcenterRoot .mc-lineup-select-label{
  display:block!important;margin:6px 0 9px!important;
  color:#d5d8de!important;font:800 13px/1.15 var(--display)!important;
  letter-spacing:1.1px!important;
}
#matchcenterRoot .mc-lineup-tabs{display:grid!important;visibility:visible!important;opacity:1!important}
#matchcenterRoot .mc-lineup-tabs .mc-lineup-tab{min-height:57px!important;touch-action:manipulation}
#matchcenterRoot .mc-lineup-tabs .mc-lineup-tab.is-active{
  box-shadow:inset 0 -4px #fff!important;
}
#matchcenterRoot .mc-score-row .mc-team.mc-score-team-selector{
  appearance:none!important;-webkit-appearance:none!important;cursor:pointer!important;
  font:inherit!important;color:inherit!important;background:transparent!important;
  border:0!important;border-radius:0!important;margin:0!important;
  padding:0 0 6px!important;min-width:0!important;width:100%!important;
}
#matchcenterRoot .mc-score-team-selector:focus-visible{
  outline:2px solid #fff!important;outline-offset:6px!important;
}
/* Schalke scoreline: ONE royal-blue line, never the old white line. */
#matchcenterRoot .mc-score-row .mc-team:not(.mc-score-opponent)::after{
  background:#0873d3!important;
}
/* Schalke lineup header: white stripe instead of red; opponent remains its own accent. */
#matchcenterRoot .mc-lineup-panel.mc-panel-schalke .mc-lineup-heading{
  border-left:5px solid #fff!important;
}
@media(max-width:650px){
 #matchcenterRoot .mc-bench-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 #matchcenterRoot .mc-bench-list>.mc-bench-person{min-height:77px!important}
 #matchcenterRoot .mc-bench-person>.mc-bench-photo{
   flex-basis:52px!important;min-width:52px!important;width:52px!important;
   height:77px!important;max-height:77px!important;
 }
 #matchcenterRoot .mc-bench-person>.mc-bench-details{padding-right:3px!important}
 #matchcenterRoot .mc-bench-person>.mc-bench-details>strong{
   font-size:clamp(13px,3.7vw,17px)!important;
 }
 #matchcenterRoot .mc-bench-person>.mc-bench-details>small{
   font-size:clamp(10px,3vw,12px)!important;
 }
 #matchcenterRoot .mc-lineup-tabs .mc-lineup-tab{font-size:clamp(14px,3.7vw,19px)!important}
}
@media(max-width:355px){
 #matchcenterRoot .mc-bench-list{grid-template-columns:1fr!important}
 #matchcenterRoot .mc-bench-person>.mc-bench-photo{
   flex-basis:68px!important;width:68px!important;height:76px!important
 }
}

/* Archive filter fallback, for builds where V2Controls hasn't loaded yet. */
#matchcenterRoot .mc-history-controls:not(.mc-v2-history){
  grid-auto-rows:min-content!important;align-items:end!important;
}
#matchcenterRoot .mc-history-controls:not(.mc-v2-history)>label{
  flex-basis:auto!important;flex-grow:0!important;flex-shrink:0!important;
  height:auto!important;min-height:0!important;align-self:end!important;
}
#matchcenterRoot .mc-history-controls:not(.mc-v2-history) select{
  flex:0 0 44px!important;height:44px!important;max-height:44px!important;
}


/* 03.11.2026 · Final compact mobile tuning after live screenshots. */
#matchcenterRoot .mc-lineup-panel>.mc-pitch:not(.mc-pitch-coordinates),
#matchcenterRoot .mc-pitch:not(.mc-pitch-coordinates){
  min-height:580px!important;
  padding:18px clamp(8px,1.6vw,14px)!important;
  gap:8px!important;
  justify-content:space-evenly!important;
}
#matchcenterRoot .mc-pitch:not(.mc-pitch-coordinates)>.mc-pitch-row{
  min-height:88px!important;
  padding:4px 0!important;
  gap:3px!important;
}
#matchcenterRoot .mc-pitch-row>.mc-player,
#matchcenterRoot .mc-pitch-position>.mc-player{max-width:112px!important;gap:4px!important}
#matchcenterRoot .mc-player-head{
  width:clamp(56px,9vw,78px)!important;
  height:clamp(64px,10.5vw,88px)!important;
}
#matchcenterRoot .mc-player strong{font-size:clamp(11px,1.5vw,14px)!important;line-height:1.08!important}
#matchcenterRoot .mc-player small{font-size:clamp(9px,1.1vw,11px)!important}
#matchcenterRoot .mc-pitch.mc-pitch-coordinates,
#matchcenterRoot .mc-lineup-panel>.mc-pitch.mc-pitch-coordinates{
  height:560px!important;min-height:560px!important;max-height:560px!important;
}
#matchcenterRoot .mc-pitch-position{max-width:108px!important}
/* Specific opponent mugshots with white background should sit cleaner in frame. */
#matchcenterRoot img[data-player-slug="david-raum"],
#matchcenterRoot img[data-player-slug="brajan-gruda"]{
  object-fit:contain!important;
  object-position:center 16%!important;
  background:#fff!important;
}
@media(max-width:650px){
  #matchcenterRoot .mc-lineup-panel>.mc-pitch:not(.mc-pitch-coordinates),
  #matchcenterRoot .mc-pitch:not(.mc-pitch-coordinates){
    min-height:515px!important;
    padding:14px 7px 16px!important;
    gap:6px!important;
  }
  #matchcenterRoot .mc-pitch:not(.mc-pitch-coordinates)>.mc-pitch-row{
    min-height:78px!important;
    padding:2px 0!important;
  }
  #matchcenterRoot .mc-player-head{width:52px!important;height:60px!important}
  #matchcenterRoot .mc-player strong{font-size:11px!important}
  #matchcenterRoot .mc-player small{font-size:9px!important}
  #matchcenterRoot .mc-pitch.mc-pitch-coordinates,
  #matchcenterRoot .mc-lineup-panel>.mc-pitch.mc-pitch-coordinates{
    height:500px!important;min-height:500px!important;max-height:500px!important;
  }
  #matchcenterRoot .mc-bench-list{grid-template-columns:1fr!important;gap:8px!important}
  #matchcenterRoot .mc-bench-list>.mc-bench-person{min-height:74px!important}
  #matchcenterRoot .mc-bench-person>.mc-bench-photo{
    flex-basis:54px!important;min-width:54px!important;width:54px!important;height:74px!important;max-height:74px!important;
  }
}
@media(max-width:390px){
  #matchcenterRoot .mc-lineup-panel>.mc-pitch:not(.mc-pitch-coordinates),
  #matchcenterRoot .mc-pitch:not(.mc-pitch-coordinates){min-height:490px!important}
  #matchcenterRoot .mc-pitch:not(.mc-pitch-coordinates)>.mc-pitch-row{min-height:72px!important}
  #matchcenterRoot .mc-player-head{width:48px!important;height:56px!important}
  #matchcenterRoot .mc-pitch.mc-pitch-coordinates,
  #matchcenterRoot .mc-lineup-panel>.mc-pitch.mc-pitch-coordinates{
    height:470px!important;min-height:470px!important;max-height:470px!important;
  }
}

/* 03.11.2026 – Sortierbare Match-Statistik: echte Zahlen statt Textvergleich. */
#matchcenterRoot .mc-stats-tools{
  display:flex;align-items:end;gap:10px;justify-content:flex-start;flex-wrap:wrap;
  padding:12px 12px 4px;background:#202226;color:#fff;
}
#matchcenterRoot .mc-stats-tools .mc-sort-label{
  display:flex;flex-direction:column;gap:6px;flex:1 1 170px;min-width:0;
  color:#c8cbd0;font:800 11px/1.1 var(--display);letter-spacing:.6px;
}
#matchcenterRoot .mc-stats-tools .mc-stats-sort-select{
  width:100%;max-width:320px;box-sizing:border-box;
  background:#34373d;color:#fff;border:1px solid #676c76;
  border-radius:5px;padding:9px 29px 9px 10px;height:41px;
  font:750 13px/1.2 var(--body);
}
#matchcenterRoot .mc-stats-order{
  display:flex;align-items:center;justify-content:center;gap:8px;
  height:41px;padding:6px 10px;border:1px solid #666b76;border-radius:5px;
  background:#34373d;color:#fff;font:800 12px/1.1 var(--display);
  cursor:pointer;white-space:nowrap;
}
#matchcenterRoot .mc-stats-order-icon{
  display:block;width:8px;height:8px;border-bottom:2px solid currentColor;
  border-right:2px solid currentColor;transform:rotate(45deg);margin-top:-4px;
}
#matchcenterRoot .mc-stats-order[data-sort-direction="asc"] .mc-stats-order-icon{
  transform:rotate(225deg);margin-top:4px;
}
#matchcenterRoot .mc-stats-sort-select:focus-visible,
#matchcenterRoot .mc-stats-sort:focus-visible,
#matchcenterRoot .mc-stats-order:focus-visible{outline:3px solid #74a7f1;outline-offset:2px}
#matchcenterRoot .mc-sort-help{
  margin:0;padding:4px 12px 10px;color:#acb4bf;background:#202226;
  font:500 11px/1.4 var(--body);
}
#matchcenterRoot .mc-stats-team table{border-collapse:separate!important;border-spacing:0!important}
#matchcenterRoot .mc-stats-team thead th{padding:0!important;vertical-align:middle!important}
#matchcenterRoot .mc-stats-sort{
  width:100%;min-height:36px;display:flex;align-items:center;justify-content:center;gap:5px;
  appearance:none;border:0;border-radius:0;background:transparent;color:inherit;
  font:900 10px/1.15 var(--display);letter-spacing:.15px;
  padding:7px 7px;white-space:nowrap;cursor:pointer;
}
#matchcenterRoot .mc-stats-sort .mc-sort-glyph{
  width:0;height:0;display:inline-block;flex:0 0 auto;
  border-left:4px solid transparent;border-right:4px solid transparent;
  border-bottom:6px solid currentColor;opacity:.45;transform:rotate(180deg);
}
#matchcenterRoot .mc-stats-team th[aria-sort="ascending"] .mc-sort-glyph{opacity:1;transform:rotate(0deg)}
#matchcenterRoot .mc-stats-team th[aria-sort="descending"] .mc-sort-glyph{opacity:1;transform:rotate(180deg)}
#matchcenterRoot .mc-stats-team th[aria-sort="ascending"],
#matchcenterRoot .mc-stats-team th[aria-sort="descending"]{
  background:#17477f!important;color:#fff!important;
}
#matchcenterRoot .mc-stats-team tbody th:first-child,
#matchcenterRoot .mc-stats-team thead th:first-child{
  position:sticky;left:0;z-index:2;background:#292b30!important;
  box-shadow:2px 0 5px #0005;
}
#matchcenterRoot .mc-stats-team thead th:first-child{z-index:3;background:#383b43!important}
#matchcenterRoot .mc-stats-team thead th:first-child[aria-sort="ascending"],
#matchcenterRoot .mc-stats-team thead th:first-child[aria-sort="descending"]{background:#17477f!important}
#matchcenterRoot .mc-stats-team tbody th:first-child a{color:#fff!important}
/* Auswechslungen: eigene SVG-Pfeile statt systemabhängiger Emoji-Symbole. */
#matchcenterRoot .mc-md-change-clock .mc-md-up,
#matchcenterRoot .mc-md-change-clock .mc-md-down{
  display:inline-flex!important;align-items:center;justify-content:center;
  background:transparent!important;border:0!important;box-shadow:none!important;
  color:inherit!important;padding:0!important;flex:0 0 20px;
}
#matchcenterRoot .mc-sub-arrow{
  display:inline-block;flex:0 0 auto;width:19px;height:19px;
  stroke:currentColor;fill:none;vertical-align:middle;
}
#matchcenterRoot .mc-sub-arrow--in{color:#30cf70!important}
#matchcenterRoot .mc-sub-arrow--out{color:#f4434a!important}
#matchcenterRoot .mc-md-change-clock{gap:5px!important}
#matchcenterRoot .mc-sub-in .mc-sub-arrow,
#matchcenterRoot .mc-sub-out .mc-sub-arrow{margin-right:4px}
@media(max-width:650px){
  #matchcenterRoot .mc-stats-tools{padding:10px 8px 4px;gap:7px}
  #matchcenterRoot .mc-stats-tools .mc-sort-label{flex-basis:155px}
  #matchcenterRoot .mc-stats-tools .mc-stats-sort-select{font-size:12px}
  #matchcenterRoot .mc-stats-order{font-size:10px;padding:6px 8px}
  #matchcenterRoot .mc-stats-sort{font-size:10px;min-height:39px}
  #matchcenterRoot .mc-md-change-clock .mc-md-up,
  #matchcenterRoot .mc-md-change-clock .mc-md-down{flex-basis:16px}
  #matchcenterRoot .mc-sub-arrow{width:16px;height:16px}
}

/* 03.11.2026 · Goal scorers, verified archive lineups and live-event tabs. */
#matchcenterRoot .mc-score-scorers{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:clamp(14px,4vw,50px)!important;
  padding:8px clamp(12px,3vw,32px) 13px!important;
  border-top:1px solid #42464d!important;background:#27292d!important;
}
#matchcenterRoot .mc-score-scorers>div{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  gap:4px!important;min-width:0!important;
}
#matchcenterRoot .mc-score-scorers>div:last-child{align-items:flex-end!important;text-align:right!important}
#matchcenterRoot .mc-goal-chip{display:block;color:#f4f6f9!important;font:700 clamp(12px,1.6vw,16px)/1.35 var(--body)!important;overflow-wrap:break-word!important}
#matchcenterRoot .mc-goal-chip strong{font-weight:800!important;color:#fff!important}
#matchcenterRoot .mc-goal-chip>span:last-child{color:#bcc5d0!important;font-size:.9em}
#matchcenterRoot .mc-goal-symbol{font-size:9px!important;color:#e8e9ee!important;display:inline-block;vertical-align:middle;margin-right:4px}
#matchcenterRoot .mc-content-tabs{
  display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;
  margin:12px 0 17px!important;padding:4px!important;
  background:#202226!important;border:1px solid #494d55!important;border-radius:9px!important;
}
#matchcenterRoot .mc-content-tab{
  min-width:0!important;min-height:50px!important;padding:9px 5px!important;
  border:0!important;border-radius:6px!important;background:#30343b!important;color:#bfc4ca!important;
  font:900 clamp(15px,2.2vw,21px)/1.15 var(--display)!important;
  cursor:pointer!important;transition:background-color .16s ease,color .16s ease!important;
}
#matchcenterRoot .mc-content-tab.is-active{background:#131519!important;color:white!important;box-shadow:inset 0 -4px #e11935!important}
#matchcenterRoot .mc-content-tab:focus-visible{outline:2px solid #fff!important;outline-offset:-2px}
#matchcenterRoot [data-match-content][hidden]{display:none!important}
#matchcenterRoot .mc-ticker-screen{width:100%!important;box-sizing:border-box!important;min-height:270px!important;background:#191b1f!important;color:#f6f6f8!important;border:1px solid #474b51!important;border-radius:12px!important;overflow:hidden!important;margin:0 0 18px!important}
#matchcenterRoot .mc-ticker-inner{padding:clamp(14px,2vw,23px)!important}
#matchcenterRoot .mc-ticker-inner>header{display:flex!important;gap:10px!important;align-items:center!important;flex-wrap:wrap!important;border-bottom:1px solid #41454b!important;padding-bottom:15px!important;margin-bottom:12px!important}
#matchcenterRoot .mc-ticker-inner h3{color:#fff!important;font:900 clamp(25px,4vw,36px)/1 var(--display)!important;margin:0!important}
#matchcenterRoot .mc-ticker-inner header small{display:block;flex-basis:100%!important;font:700 11px/1.3 var(--body)!important;color:#bfc3c9!important;letter-spacing:.6px!important;margin-left:19px!important}
#matchcenterRoot .mc-ticker-live-dot{width:10px!important;height:10px!important;border-radius:50%!important;background:#858990!important;flex:0 0 10px!important}
#matchcenterRoot .mc-ticker-live-dot.active{background:#f33e52!important;box-shadow:0 0 0 4px #f33e522a!important}
#matchcenterRoot .mc-ticker-source{font:500 12px/1.4 var(--body)!important;color:#b5bac3!important;max-width:700px!important;margin:0 0 22px!important}
#matchcenterRoot .mc-ticker-events{display:grid;gap:0!important}
#matchcenterRoot .mc-ticker-event{display:grid!important;grid-template-columns:70px minmax(0,1fr)!important;gap:12px!important;padding:13px 0!important;border-top:1px solid #373b43!important;align-items:start!important}
#matchcenterRoot .mc-ticker-event.is-goal{background:linear-gradient(90deg,#0a4a67,#202226 54%)!important;padding-left:8px!important;border-left:3px solid #1179b5!important}
#matchcenterRoot .mc-ticker-minute{font:900 25px/1 var(--display)!important;color:#f1f2f4!important;white-space:nowrap!important}
#matchcenterRoot .mc-ticker-event>div{min-width:0!important;display:flex!important;flex-direction:column!important;gap:4px!important}
#matchcenterRoot .mc-ticker-event-type{color:#c2c6cd!important;font:800 11px/1.25 var(--body)!important;text-transform:uppercase!important;letter-spacing:.3px!important}
#matchcenterRoot .mc-ticker-event strong{color:#fff!important;font:700 clamp(16px,2.5vw,20px)/1.3 var(--body)!important;overflow-wrap:break-word!important}
#matchcenterRoot .mc-ticker-empty{font:500 15px/1.5 var(--body)!important;color:#cbd1d9!important;max-width:520px!important;padding:6px 0 12px!important}
@media(max-width:450px){
  #matchcenterRoot .mc-content-tabs{margin-top:11px!important;gap:4px!important}
  #matchcenterRoot .mc-content-tab{min-height:49px!important;font-size:15px!important}
  #matchcenterRoot .mc-score-scorers{gap:11px!important;padding:9px 12px 12px!important}
  #matchcenterRoot .mc-goal-chip{font-size:12px!important}
  #matchcenterRoot .mc-ticker-event{grid-template-columns:54px minmax(0,1fr)!important;gap:8px!important}
  #matchcenterRoot .mc-ticker-minute{font-size:23px!important}
}
#matchcenterRoot .mc-lineup-validation{
  padding:7px 12px!important;text-align:center!important;color:#c5ced6!important;
  background:#24272b!important;letter-spacing:.55px!important;
  font:800 clamp(10px,1.35vw,12px)/1.3 var(--body)!important;
}


/* Rotascore: external official embed; dark, readable, NO chat or comments. */
#matchcenterRoot .mc-live-embed{
  background:#191b1e!important;border:1px solid #454950!important;border-radius:12px!important;
  margin:14px 0 22px!important;padding:clamp(13px,2.5vw,22px)!important;
  width:100%!important;box-sizing:border-box!important;overflow:hidden!important;
}
#matchcenterRoot .mc-live-embed-heading{
  display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap;
  padding:0 0 12px;border-bottom:2px solid #d61b34;margin-bottom:10px;
}
#matchcenterRoot .mc-live-embed-heading h3{
  color:#fff!important;font:900 clamp(21px,4.3vw,29px)/1.1 var(--display)!important;margin:0!important;
}
#matchcenterRoot .mc-live-embed-heading p{
  color:#bec3cc!important;font:700 12px/1.3 var(--body)!important;margin:0!important;
}
#matchcenterRoot .mc-live-embed-description{
  color:#c6cbd2!important;font:500 13px/1.5 var(--body)!important;margin:0 0 14px!important;
}
#matchcenterRoot .mc-live-embed .rotascore-widget{
  width:100%!important;min-width:0!important;max-width:100%!important;
  min-height:180px;display:block;background:#202328;border-radius:8px;overflow:hidden;
}
#matchcenterRoot .mc-live-embed .rotascore-widget iframe{
  display:block!important;width:100%!important;max-width:100%!important;border:0!important;
}
#matchcenterRoot .mc-live-embed-error{color:#e9b8c1!important;margin:10px 0!important}
