html.theme-aek .tabs-x.tabs-above>.nav-tabs,
html.theme-aek .tabs-x.tabs-below>.nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}

html.theme-aek .tabs-x.tabs-below>.nav-tabs {
  margin: 12px 0 0;
}

html.theme-aek .tabs-x.tab-align-center>.nav-tabs {
  justify-content: center;
}

html.theme-aek .tabs-x.tab-align-right>.nav-tabs {
  justify-content: flex-end;
}

html.theme-aek .tabs-x.tabs-above>.nav-tabs>li,
html.theme-aek .tabs-x.tabs-below>.nav-tabs>li {
  float: none;
  margin: 0;
}

html.theme-aek .tabs-x.tabs-above>.nav-tabs>li>a,
html.theme-aek .tabs-x.tabs-below>.nav-tabs>li>a,
html.theme-aek .tabs-x.tabs-left:not(.tab-sideways)>.nav-tabs>li>a,
html.theme-aek .tabs-x.tabs-right:not(.tab-sideways)>.nav-tabs>li>a {
  display: block;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid rgba(255, 204, 0, 0.28);
  border-radius: 10px;
  background: rgba(30, 35, 36, 0.95);
  color: #f5f5f5;
  font-weight: 600;
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
}

html.theme-aek .tabs-x.tabs-above>.nav-tabs>li:not(.disabled)>a:hover,
html.theme-aek .tabs-x.tabs-below>.nav-tabs>li:not(.disabled)>a:hover,
html.theme-aek .tabs-x.tabs-above>.nav-tabs>li:not(.disabled)>a:focus,
html.theme-aek .tabs-x.tabs-below>.nav-tabs>li:not(.disabled)>a:focus,
html.theme-aek .tabs-x.tabs-left:not(.tab-sideways)>.nav-tabs>li:not(.disabled)>a:hover,
html.theme-aek .tabs-x.tabs-left:not(.tab-sideways)>.nav-tabs>li:not(.disabled)>a:focus,
html.theme-aek .tabs-x.tabs-right:not(.tab-sideways)>.nav-tabs>li:not(.disabled)>a:hover,
html.theme-aek .tabs-x.tabs-right:not(.tab-sideways)>.nav-tabs>li:not(.disabled)>a:focus {
  border-color: #ffcc00 !important;
  background: rgba(255, 204, 0, 0.12);
  color: #ffcc00;
}

html.theme-aek .tabs-x.tabs-above>.nav-tabs>li>a:focus-visible,
html.theme-aek .tabs-x.tabs-below>.nav-tabs>li>a:focus-visible,
html.theme-aek .tabs-x.tabs-left:not(.tab-sideways)>.nav-tabs>li>a:focus-visible,
html.theme-aek .tabs-x.tabs-right:not(.tab-sideways)>.nav-tabs>li>a:focus-visible {
  outline: 2px solid #ffcc00;
  outline-offset: 2px;
}

html.theme-aek .tabs-x.tabs-above>.nav-tabs>li.active>a,
html.theme-aek .tabs-x.tabs-above>.nav-tabs>li.active>a:hover,
html.theme-aek .tabs-x.tabs-above>.nav-tabs>li.active>a:focus,
html.theme-aek .tabs-x.tabs-below>.nav-tabs>li.active>a,
html.theme-aek .tabs-x.tabs-below>.nav-tabs>li.active>a:hover,
html.theme-aek .tabs-x.tabs-below>.nav-tabs>li.active>a:focus,
html.theme-aek .tabs-x.tabs-left:not(.tab-sideways)>.nav-tabs>li.active>a,
html.theme-aek .tabs-x.tabs-left:not(.tab-sideways)>.nav-tabs>li.active>a:hover,
html.theme-aek .tabs-x.tabs-left:not(.tab-sideways)>.nav-tabs>li.active>a:focus,
html.theme-aek .tabs-x.tabs-right:not(.tab-sideways)>.nav-tabs>li.active>a,
html.theme-aek .tabs-x.tabs-right:not(.tab-sideways)>.nav-tabs>li.active>a:hover,
html.theme-aek .tabs-x.tabs-right:not(.tab-sideways)>.nav-tabs>li.active>a:focus {
  border-color: rgba(255, 204, 0, 0.7) !important;
  background: rgba(255, 204, 0, 0.18);
  color: #ffcc00;
  box-shadow: 0 0 0 2px rgba(255, 204, 0, 0.08);
}

html.theme-aek .tabs-x>.nav-tabs>li.disabled>a {
  opacity: .5;
  cursor: not-allowed;
}

html.theme-aek.admin .view-match-players .lineup-teams {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

html.theme-aek.admin .view-match-players .lineup-team {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 204, 0, 0.3);
  border-radius: 14px;
  background: rgba(20, 28, 31, 0.75);
}

html.theme-aek.admin .view-match-players .lineup-team-heading {
  margin: 0;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 204, 0, 0.25);
  background: linear-gradient(140deg, #1d1800, #514300);
  color: #f5f5f5;
  font-size: 18px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

html.theme-aek.admin .view-match-players .lineup-team-body {
  padding: 12px;
}

html.theme-aek.admin .view-match-players .lineup-section-heading {
  margin: 0 0 10px;
  color: #ffcc00;
  font-size: 15px;
  font-weight: 600;
}

html.theme-aek.admin .view-match-players .lineup-team-body>.list-group {
  margin-bottom: 16px;
}

html.theme-aek.admin .view-match-players .lineup-team-body>.list-group:last-child {
  margin-bottom: 0;
}

html.theme-aek.admin .view-match-players .lineup-team-body .list-group-item.empty {
  color: #b7bfc0;
}

html.theme-aek.admin .view-match-players .player-row {
  display: flex;
  align-items: center;
}

html.theme-aek.admin .view-match-players .player-row>div {
  height: auto;
  line-height: normal;
}

html.theme-aek.admin .view-match-players .player-row>.name {
  min-width: 0;
}

@media (max-width: 767px) {
  html.theme-aek.admin .view-match-players .lineup-teams {
    grid-template-columns: minmax(0, 1fr);
  }
}

html.theme-aek .tabs-x.tabs-left:not(.tab-sideways),
html.theme-aek .tabs-x.tabs-right:not(.tab-sideways) {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

html.theme-aek .tabs-x.tabs-right:not(.tab-sideways)>.nav-tabs {
  order: 1;
}

html.theme-aek .tabs-x.tabs-left:not(.tab-sideways)>.nav-tabs,
html.theme-aek .tabs-x.tabs-right:not(.tab-sideways)>.nav-tabs {
  display: flex;
  flex: 0 0 187px;
  flex-direction: column;
  gap: 8px;
  float: none;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
}

html.theme-aek .tabs-x.tabs-left:not(.tab-sideways)>.nav-tabs::before,
html.theme-aek .tabs-x.tabs-left:not(.tab-sideways)>.nav-tabs::after,
html.theme-aek .tabs-x.tabs-right:not(.tab-sideways)>.nav-tabs::before,
html.theme-aek .tabs-x.tabs-right:not(.tab-sideways)>.nav-tabs::after {
  display: none;
}

html.theme-aek .tabs-x.tabs-left:not(.tab-sideways)>.nav-tabs>li,
html.theme-aek .tabs-x.tabs-right:not(.tab-sideways)>.nav-tabs>li {
  float: none;
  margin: 0;
}

html.theme-aek .tabs-x.tabs-left:not(.tab-sideways)>.nav-tabs>li>a,
html.theme-aek .tabs-x.tabs-right:not(.tab-sideways)>.nav-tabs>li>a {
  overflow-wrap: anywhere;
}

html.theme-aek .tabs-x.tabs-left:not(.tab-sideways)>.tab-content,
html.theme-aek .tabs-x.tabs-right:not(.tab-sideways)>.tab-content {
  flex: 1 1 0;
  min-width: 0;
  height: auto;
  margin: 0;
  border: 0;
}

html.theme-aek .top-statistics .top-who-toggle,
html.theme-aek .top-statistics .top-menu,
html.theme-aek ul.stat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
}

html.theme-aek .top-statistics .top-who-toggle {
  justify-content: center;
  margin-bottom: 12px;
}

html.theme-aek .top-statistics .top-who-toggle::before,
html.theme-aek .top-statistics .top-who-toggle::after,
html.theme-aek .top-statistics .top-menu::before,
html.theme-aek .top-statistics .top-menu::after,
html.theme-aek ul.stat-nav::before,
html.theme-aek ul.stat-nav::after {
  display: none;
}

html.theme-aek .top-statistics .top-menu>li,
html.theme-aek .top-statistics .top-who-toggle>li,
html.theme-aek ul.stat-nav>li {
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  opacity: 1;
}

html.theme-aek .top-statistics .top-menu>li>a,
html.theme-aek .top-statistics .top-who-toggle>li>a,
html.theme-aek ul.stat-nav>li>a {
  display: block;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid rgba(255, 204, 0, 0.28);
  border-radius: 10px;
  background: rgba(30, 35, 36, 0.95);
  color: #f5f5f5;
  font-weight: 600;
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
}

html.theme-aek ul.stat-nav>li>a {
  overflow-wrap: anywhere;
}

html.theme-aek .aek-panel table.table.stats-total>tbody>tr>td {
  background: rgba(245, 195, 14, 0.1);
  color: #f5f5f5;
  font-weight: 700;
}

html.theme-aek .aek-panel table.stats-table td {
  text-align: center;
}

html.theme-aek .aek-panel table.stats-table th {
  text-align: center;
}

html.theme-aek .aek-panel table.stats-table a.stats-link {
  display: inline-block;
  margin: 0;
  padding: 2px 10px;
  border: 1px solid rgba(255, 204, 0, 0.28);
  border-radius: 10px;
  background: rgba(30, 35, 36, 0.95);
  min-width: 35px;
  color: #f5f5f5;
  font-weight: 600;
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
}

html.theme-aek .aek-panel table.stats-table a.stats-link:hover {
  background: rgba(255, 204, 0, 0.15);
  border-color: #ffcc00;
  color: #ffcc00;
  box-shadow: 0 0 8px rgba(255, 204, 0, 0.25);
  text-decoration: none;
}

html.theme-aek .stats-match-results {
  margin-top: 20px;
}

html.theme-aek .top-statistics .top-menu>li>a:hover,
html.theme-aek .top-statistics .top-menu>li>a:focus,
html.theme-aek .top-statistics .top-who-toggle>li>a:hover,
html.theme-aek .top-statistics .top-who-toggle>li>a:focus,
html.theme-aek ul.stat-nav>li>a:hover,
html.theme-aek ul.stat-nav>li>a:focus {
  border-color: #ffcc00;
  background: rgba(255, 204, 0, 0.12);
  color: #ffcc00;
}

html.theme-aek .top-statistics .top-menu>li.active>a,
html.theme-aek .top-statistics .top-menu>li.active>a:hover,
html.theme-aek .top-statistics .top-menu>li.active>a:focus,
html.theme-aek .top-statistics .top-who-toggle>li.active>a,
html.theme-aek .top-statistics .top-who-toggle>li.active>a:hover,
html.theme-aek .top-statistics .top-who-toggle>li.active>a:focus,
html.theme-aek ul.stat-nav>li.active>a,
html.theme-aek ul.stat-nav>li.active>a:hover,
html.theme-aek ul.stat-nav>li.active>a:focus {
  border-color: rgba(255, 204, 0, 0.7);
  background: rgba(255, 204, 0, 0.18);
  color: #ffcc00;
  box-shadow: 0 0 0 2px rgba(255, 204, 0, 0.08);
}

html.theme-aek .top-statistics .top-menu>li>a:focus-visible,
html.theme-aek .top-statistics .top-who-toggle>li>a:focus-visible,
html.theme-aek ul.stat-nav>li>a:focus-visible {
  outline: 2px solid #ffcc00;
  outline-offset: 2px;
}

@media (min-width: 768px) {
  html.theme-aek .player-stat-groups {
    flex-direction: column;
  }

  html.theme-aek .player-stat-groups>li {
    width: 100%;
  }
}

@media (max-width: 767px) {
  html.theme-aek .player-stat-groups {
    margin-bottom: 16px;
  }
}

@media (min-width: 992px) {
  html.theme-aek .top-statistics .top-menu {
    flex-direction: column;
  }

  html.theme-aek .top-statistics .top-menu>li {
    width: 100%;
  }
}

html.theme-aek .tabs-x.tabs-above.tab-bordered>.tab-content,
html.theme-aek .tabs-x.tabs-below.tab-bordered>.tab-content,
html.theme-aek .tabs-x.tabs-left.tab-bordered:not(.tab-sideways)>.tab-content,
html.theme-aek .tabs-x.tabs-right.tab-bordered:not(.tab-sideways)>.tab-content {
  padding: 16px;
  border: 1px solid rgba(255, 204, 0, 0.2);
  border-radius: 14px;
  background: rgba(20, 28, 31, 0.55);
}

@media (max-width: 991px) {

  html.theme-aek .admin-controller-site .tabs-x.tabs-left:not(.tab-sideways),
  html.theme-aek .admin-controller-site .tabs-x.tabs-right:not(.tab-sideways) {
    flex-direction: column;
  }

  html.theme-aek .admin-controller-site .tabs-x.tabs-left:not(.tab-sideways)>.nav-tabs,
  html.theme-aek .admin-controller-site .tabs-x.tabs-right:not(.tab-sideways)>.nav-tabs {
    flex: 0 1 auto;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    order: 0;
  }

  html.theme-aek .admin-controller-site .tabs-x.tabs-left:not(.tab-sideways)>.tab-content,
  html.theme-aek .admin-controller-site .tabs-x.tabs-right:not(.tab-sideways)>.tab-content {
    width: 100%;
  }
}

@media (max-width: 767px) {

  html.theme-aek .tabs-x.tabs-above>.nav-tabs,
  html.theme-aek .tabs-x.tabs-below>.nav-tabs {
    gap: 6px;
  }

  html.theme-aek .tabs-x.tabs-above>.nav-tabs>li>a,
  html.theme-aek .tabs-x.tabs-below>.nav-tabs>li>a,
  html.theme-aek .tabs-x.tabs-left:not(.tab-sideways)>.nav-tabs>li>a,
  html.theme-aek .tabs-x.tabs-right:not(.tab-sideways)>.nav-tabs>li>a {
    padding: 9px 12px;
  }

  html.theme-aek .tabs-x.tabs-above.tab-bordered>.tab-content,
  html.theme-aek .tabs-x.tabs-below.tab-bordered>.tab-content,
  html.theme-aek .tabs-x.tabs-left.tab-bordered:not(.tab-sideways)>.tab-content,
  html.theme-aek .tabs-x.tabs-right.tab-bordered:not(.tab-sideways)>.tab-content {
    padding: 12px;
  }
}