html.theme-aek .match-overview {
  margin-bottom: 24px;
}
html.theme-aek .match-overview-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}
html.theme-aek .match-overview-detail {
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid rgba(255, 204, 0, 0.2);
  border-radius: 12px;
  background: rgba(30, 35, 36, 0.75);
}
html.theme-aek .match-overview-detail dt {
  margin-bottom: 4px;
  color: #aeb8b7;
  font-size: 12px;
  font-weight: 600;
}
html.theme-aek .match-overview-detail dd {
  color: #f5f5f5;
  overflow-wrap: anywhere;
}
html.theme-aek .match-overview-scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 360px) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 26px 0 4px;
}
html.theme-aek .match-overview-team {
  min-width: 0;
  text-align: center;
}
html.theme-aek .match-overview-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  margin-bottom: 8px;
}
html.theme-aek .match-overview-logo img.thumb.large {
  width: auto;
  height: auto;
  max-width: 88px;
  max-height: 88px;
  object-fit: contain;
}
html.theme-aek .match-overview-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
html.theme-aek .match-overview-results {
  min-width: 0;
  text-align: center;
}
html.theme-aek .match-overview-final {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 12px;
  min-height: 64px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 204, 0, 0.65);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(245, 195, 14, 0.22), rgba(97, 77, 5, 0.32));
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
}
html.theme-aek .match-overview-aggregate {
  color: #e3dbaa;
  font-size: 13px;
  white-space: nowrap;
}
html.theme-aek .match-overview-periods {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
}
html.theme-aek .match-overview-period,
html.theme-aek .match-overview-leg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(30, 35, 36, 0.85);
  text-align: left;
}
html.theme-aek .match-overview-period dt {
  min-width: 0;
  color: #c4cecd;
  font-weight: 600;
}
html.theme-aek .match-overview-period dd {
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
html.theme-aek .match-overview-leg {
  margin-top: 12px;
  color: #c4cecd;
  font-size: 12px;
}
html.theme-aek .match-overview-leg span {
  min-width: 0;
  overflow-wrap: anywhere;
}
html.theme-aek .match-overview-leg span:last-child {
  text-align: right;
}
html.theme-aek .penalty-row {
  display: flex;
  align-items: center;
}
html.theme-aek .penalty-row .penalty.score {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: auto;
  min-width: 100px;
}
html.theme-aek .penalty-row .name {
  flex: 1;
  min-width: 0;
}
html.theme-aek .penalty-row .penalty-outcome {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid;
  border-radius: 50%;
  font-size: 13px;
  line-height: 1;
}
html.theme-aek .penalty-row .penalty-outcome-goal {
  border-color: #69d69b;
  background: #185b3d;
  color: #baf5d1;
}
html.theme-aek .penalty-row .penalty-outcome-missed {
  border-color: #f08a85;
  background: #762f31;
  color: #ffe0dd;
}
@media (max-width: 767px) {
  html.theme-aek .match-overview-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  html.theme-aek .match-overview-scoreboard {
    grid-template-columns: minmax(0, 1fr) minmax(110px, 1.2fr) minmax(0, 1fr);
    gap: 8px;
    padding-top: 20px;
  }
  html.theme-aek .match-overview-logo {
    height: 66px;
  }
  html.theme-aek .match-overview-logo img.thumb.large {
    max-width: 64px;
    max-height: 64px;
  }
  html.theme-aek .match-overview-name {
    font-size: 13px;
  }
  html.theme-aek .match-overview-final {
    min-height: 54px;
    padding: 8px;
    font-size: 23px;
  }
  html.theme-aek .match-overview-period,
  html.theme-aek .match-overview-leg {
    flex-wrap: wrap;
    padding: 7px 8px;
    font-size: 12px;
  }
}
