/* FM27 R27.44. Only matchday list, cup result detail and XI aspect sizing.
   Global bars, headings, navigation and match engine are untouched. */
body.fm27-midnight .fm27-r2714-matchcenter .fm27-p2-fixtures{
  display:block!important;padding:0!important;grid-template-columns:none!important;gap:0!important;
}
body.fm27-midnight .fm27-r2714-matchcenter .fm27-p2-fixtures>.fm27-r2740-fixture{
  border:0;border-bottom:1px solid rgba(166,186,222,.15);border-radius:0;margin:0;
  background:#192840;min-width:0;
}
body.fm27-midnight .fm27-r2714-matchcenter .fm27-p2-fixtures>.fm27-r2740-fixture:nth-child(even){background:#1b2a44;}
body.fm27-midnight .fm27-r2714-matchcenter .fm27-p2-fixtures>.fm27-r2740-fixture:hover{background:#243450;}
.fm27-r2744-has-note{grid-template-rows:auto auto;row-gap:2px;}
.fm27-r2744-result-note{grid-column:2/5;grid-row:2;min-width:0;text-align:center;
  color:#b9c8e5;font-size:.69rem;line-height:1.5;font-weight:650;padding:0 4px 4px;
  overflow-wrap:anywhere;}
/* Use more vertical pitch space on wide screens; keep narrower breakpoints untouched. */
@media(min-width:1350px){
  body.fm27-midnight .fm27-bestxi-rev3 .fm27-bestxi-pitch{min-height:clamp(580px,45vw,790px);padding-top:38px;padding-bottom:38px;}
  body.fm27-midnight .fm27-bestxi-rev3 .fm27-bestxi-portrait{width:clamp(62px,5.1vw,84px);height:clamp(68px,5.7vw,92px);}
  body.fm27-midnight .fm27-bestxi-rev3 .fm27-bestxi-line{flex:1;}
  body.fm27-midnight .fm27-bestxi-rev3 .fm27-bestxi-line-goalkeeper{flex:.8;}
}
@media(max-width:820px){
  .fm27-r2744-result-note{grid-column:1/-1;grid-row:3;text-align:center;}
  body.fm27-midnight .fm27-r2714-matchcenter .fm27-p2-fixtures>.fm27-r2740-fixture{border-bottom:1px solid #394a66;}
}
@media(max-width:520px){.fm27-r2744-result-note{font-size:.62rem;}}
