.matchday-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.matchday-stat {
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.matchday-stat strong {
  display: block;
  font-family: var(--eagles-heading-family);
  font-size: 28px;
  line-height: 1;
  margin-bottom: 8px;
  color: #fff;
}
.matchday-stat span {
  display: block;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
}
.matchday-round {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(17, 18, 21, 0.92), rgba(11, 12, 15, 0.96));
}
.matchday-round-header {
  display: grid;
  grid-template-columns: minmax(72px, auto) 1fr minmax(72px, auto);
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding: 4px 2px 0;
}
.matchday-round-spacer {
  min-width: 72px;
  min-height: 1px;
}
.matchday-round-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
  flex: 1 1 auto;
}
.matchday-round-title h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1;
  font-family: var(--eagles-heading-family);
  text-transform: uppercase;
}
.matchday-round-title .matchday-round-window-desktop {
  display: block;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #ffffff;
  opacity: .82;
}
.matchday-round-title .matchday-round-window-mobile {
  display: none;
}
.matchday-round-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.68);
}
.matchday-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}
.matchday-card {
  padding: 16px 22px 14px;
  border-radius: 0;
  background: #ffffff;
  color: #11161c;
  box-shadow: none;
  border-bottom: 1px solid rgba(13, 17, 23, 0.10);
}
.matchday-card:last-child {
  border-bottom: 0;
}
.matchday-round-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.matchday-group {
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.matchday-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.matchday-group-head strong {
  font-family: var(--eagles-heading-family);
  font-size: 18px;
  line-height: 1;
  color: #fff;
}
.matchday-group-head span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.58);
}
.matchday-card-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 2px;
  align-items: center;
  min-height: 96px;
}
.matchday-side {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  width: 100%;
  align-self: center;
  transform: translateY(-12px);
}
.matchday-side.is-home {
  text-align: right;
  justify-content: space-between;
}
.matchday-side.is-away {
  flex-direction: row-reverse;
  text-align: left;
  justify-content: space-between;
}
.matchday-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 42px;
  background: linear-gradient(145deg, #c92525, #721818);
  border: 1px solid rgba(17,22,28,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.10);
}
.matchday-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.matchday-avatar-fallback {
  width: 78%;
  height: 78%;
  object-fit: contain;
  display: block;
}
.matchday-player {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.matchday-side.is-home .matchday-player {
  text-align: right;
  align-items: flex-end;
  padding-right: 2px;
}
.matchday-side.is-away .matchday-player {
  text-align: left;
  align-items: flex-start;
  padding-left: 2px;
}
.matchday-player strong {
  display: block;
  font-family: var(--eagles-heading-family);
  font-size: 18px;
  line-height: 1;
  color: #10151b;
  width: auto;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .18s ease, transform .18s ease;
}
.matchday-player small {
  display: block;
  margin-top: 0;
  font-size: 10px;
  letter-spacing: 0.10em;
  color: rgba(16,21,27,0.48);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: inherit;
  transition: color .18s ease;
}
.matchday-player.is-winner strong {
  transform: translateY(-1px);
}
.matchday-center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 142px;
  min-height: 96px;
  padding-bottom: 30px;
  align-self: center;
}
.matchday-result {
  width: 111px;
  min-width: 111px;
  min-height: 60px;
  padding: 8px 14px 8px;
  border-radius: 0;
  background: #ececec;
  border: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.matchday-result:not(.is-winner-left):not(.is-winner-right):not(.is-all-square) {
  clip-path: polygon(0 0, 90% 0, 90% 90%, 0 90%);
}
.matchday-result.is-all-square {
  width: 68px;
  min-width: 68px;
  max-width: 68px;
  height: 68px;
  min-height: 68px;
  max-height: 68px;
  padding: 0;
  clip-path: none;
  margin-bottom: 0;
  align-self: center;
  justify-self: center;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  gap: 0;
}
.matchday-result.is-all-square .matchday-result-score {
  width: 100%;
  text-align: center;
}
.matchday-result-score {
  display: block;
  font-family: var(--eagles-heading-family);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  color: #0c1117;
}
.matchday-result-meta {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(12,17,23,0.62);
}
.matchday-result.is-winner-left {
  background: #b11d26;
  clip-path: polygon(20px 0, 86% 0, 86% 100%, 20px 100%, 0 50%);
}
.matchday-result.is-winner-right {
  background: #b11d26;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
}
.matchday-result.is-winner-left .matchday-result-score,
.matchday-result.is-winner-left .matchday-result-meta,
.matchday-result.is-winner-right .matchday-result-score,
.matchday-result.is-winner-right .matchday-result-meta {
  color: #ffffff;
}
.matchday-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(17,22,28,0.1);
  position: absolute;
  left: 50%;
  bottom: 0;
  margin-top: 0;
  transform: translateX(-50%);
  opacity: .94;
  white-space: nowrap;
}
.matchday-status.is-played {
  background: transparent;
  color: #0d6847;
  border-color: rgba(13,104,71,0.32);
}
.matchday-status.is-scheduled {
  background: #ffffff;
  color: #d87a10;
  border-color: rgba(216,122,16,0.34);
}
.matchday-status.is-conceded {
  background: #ffffff;
  color: #b8322a;
  border-color: rgba(184,50,42,0.34);
}
.matchday-status.is-walkover {
  background: #ffffff;
  color: #8d1f1f;
  border-color: rgba(141,31,31,0.34);
}
.matchday-status.is-undisputed {
  background: #ffffff;
  color: rgba(17,22,28,0.56);
  border-color: rgba(17,22,28,0.18);
}
.matchday-group-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 12px 18px 14px;
  border-top: 1px solid rgba(255,255,255,0.10);
  font-size: 11px;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}
@media (max-width: 1100px) {
  .matchday-summary {
    grid-template-columns: 1fr;
  }
  .matchday-round-groups {
    grid-template-columns: 1fr;
  }
  .matchday-card-main {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .matchday-side,
  .matchday-side.is-away {
    flex-direction: row;
    text-align: center;
  }
  .matchday-side.is-home .matchday-player,
  .matchday-side.is-away .matchday-player {
    text-align: center;
  }
  .matchday-center {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    min-width: 0;
    padding: 2px 0;
    gap: 12px;
  }
}
@media (max-width: 720px) {
  .matchday-round-header {
    grid-template-columns: minmax(56px, auto) 1fr minmax(56px, auto);
    justify-items: stretch;
  }
  .matchday-round-spacer {
    display: block;
    min-width: 56px;
  }
  .matchday-round-title {
    align-items: center;
    text-align: center;
  }
  .matchday-round-title .matchday-round-window-desktop {
    display: none;
  }
  .matchday-round-title .matchday-round-window-mobile {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    opacity: 0.82;
  }
  .matchday-player strong {
    font-size: 17px;
  }
  .matchday-player small {
    font-size: 10px;
  }
  .matchday-result {
    min-width: 84px;
    min-height: 52px;
    padding: 7px 10px 6px;
  }
  .matchday-result-score {
    font-size: 20px;
  }
  .matchday-result-meta {
    font-size: 8px;
    letter-spacing: 0.10em;
  }
  .matchday-avatar {
    display: none;
  }
  .matchday-card {
    padding: 18px 16px 14px;
  }
  .matchday-group-head {
    padding: 16px 18px;
  }
  .matchday-card-main {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 10px;
    min-height: 88px;
  }
  .matchday-side.is-home {
    justify-content: flex-start;
    flex-direction: row;
  }
  .matchday-side.is-away {
    justify-content: flex-end;
    flex-direction: row;
  }
  .matchday-side {
    flex-direction: row;
    align-items: center;
    transform: translateY(-9px);
  }
  .matchday-side.is-home .matchday-player {
    text-align: left;
    align-items: flex-start;
    padding-right: 0;
  }
  .matchday-side.is-away .matchday-player {
    text-align: right;
    align-items: flex-end;
    padding-left: 0;
  }
  .matchday-center {
    flex-direction: column;
  gap: 0;
  justify-content: center;
  min-width: 92px;
  min-height: 76px;
  padding-bottom: 24px;
  }
  .matchday-player {
    width: 100%;
    min-width: 0;
  }
  .matchday-status {
    min-height: 22px;
    padding: 0 8px;
    font-size: 8px;
    letter-spacing: 0.12em;
    transform: translateX(-50%);
  }
  .matchday-group-footer {
    min-height: 48px;
    padding: 10px 14px 12px;
    font-size: 9px;
  }
  .matchday-side.is-away .matchday-avatar {
    order: 2;
  }
  .matchday-side.is-away .matchday-player {
    order: 1;
  }
}
