.internal-page {
  min-height: 100vh;
  background: #080d16;
}

.internal-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 18%, rgba(213, 17, 35, 0.14), transparent 26rem),
    radial-gradient(circle at 88% 14%, rgba(54, 65, 83, 0.16), transparent 28rem),
    linear-gradient(180deg, #080d16 0, #0d1420 315px, #fbfcff 315px, #f7f9fd 100%);
}

.inner-container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.inner-hero {
  position: relative;
  overflow: hidden;
  min-height: 315px;
  border-bottom: 1px solid rgba(213, 17, 35, 0.42);
  background: var(--standings-hero-background, #07090d);
}

.inner-hero-bg {
  position: absolute;
  inset: 0;
  background:
    var(--standings-hero-image, url("../images/uploads/sliders/1763709027603-271614278.png"))
      var(--standings-hero-position, center) / var(--standings-hero-size, var(--standings-hero-fit, cover)) no-repeat;
  opacity: 0.72;
}

.inner-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: var(--standings-hero-dark-opacity, 0.82);
}

.inner-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(213, 17, 35, 0.45), rgba(7, 9, 13, 0.9)),
    linear-gradient(180deg, rgba(7, 9, 13, 0.12), var(--standings-hero-background, #07090d) 100%);
  opacity: var(--standings-hero-gradient-opacity, 0.7);
}

.inner-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: 315px;
  padding: 54px 0;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-bottom: 26px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 800;
}

.breadcrumbs a {
  color: #fff;
}

.breadcrumbs strong {
  color: var(--red);
}

.inner-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.inner-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: #ffb4bd;
  font-size: 13px;
  font-weight: 900;
}

.inner-title-row h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0;
}

.inner-title-row p {
  max-width: 640px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.8;
}

.season-chip {
  display: grid;
  gap: 6px;
  min-width: 145px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
}

.season-chip span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 800;
}

.season-chip strong {
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

.standings-card {
  position: relative;
  z-index: 2;
  margin-top: -34px;
  margin-bottom: 74px;
  border: 1px solid rgba(13, 21, 34, 0.12);
  border-radius: 12px;
  background: #fff;
  color: #111827;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.16);
  overflow: hidden;
}

.standings-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(190px, 1fr));
  gap: 12px;
  padding: 18px 26px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.09);
  background: #fbfcff;
}

.standings-filters label {
  display: grid;
  gap: 8px;
}

.standings-filters span {
  color: #7d8796;
  font-size: 12px;
  font-weight: 900;
}

.standings-side-menu {
  display: grid;
  gap: 8px;
  margin: 18px 26px 0;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  background: #f8fafc;
}

.standings-side-menu[hidden] {
  display: none;
}

.standings-side-menu strong {
  color: #111827;
  font-size: 14px;
  font-weight: 900;
}

.standings-side-menu a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 7px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 900;
}

.standings-side-menu a:hover {
  background: rgba(213, 17, 35, 0.08);
  color: var(--red);
}

.native-filter-select,
.native-match-select {
  display: none;
}

.filter-combo,
.match-filter-combo {
  position: relative;
}

.filter-combo-button,
.match-filter-combo-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  color: #111827;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

.filter-combo-button::after,
.match-filter-combo-button::after {
  content: "";
  width: 8px;
  height: 8px;
  border-inline-end: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.75;
}

.filter-combo.is-open .filter-combo-button,
.match-filter-combo.is-open .match-filter-combo-button {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(213, 17, 35, 0.14);
}

.filter-combo-menu,
.match-filter-combo-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  inset-inline: 0;
  display: none;
  max-height: 280px;
  overflow: auto;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
}

.filter-combo.is-open .filter-combo-menu,
.match-filter-combo.is-open .match-filter-combo-menu {
  display: grid;
}

.filter-combo-option,
.match-filter-combo-option {
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  color: #111827;
  background: transparent;
  text-align: start;
  cursor: pointer;
  font-weight: 900;
}

.filter-combo-option:hover,
.filter-combo-option.is-selected,
.match-filter-combo-option:hover,
.match-filter-combo-option.is-active {
  color: var(--red);
  background: rgba(213, 17, 35, 0.08);
}

.standings-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 26px 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.09);
}

.standings-eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.standings-card h2 {
  margin: 0;
  color: #111827;
  font-size: 26px;
  font-weight: 900;
}

.standings-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  background: #f6f7fb;
}

.standings-tabs[hidden] {
  display: none !important;
}

.standings-tabs button {
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  color: #6b7280;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.standings-tabs button.is-active {
  color: #fff;
  background: var(--red);
  box-shadow: 0 10px 24px rgba(213, 17, 35, 0.24);
}

.standings-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 14px 26px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
}

.standings-table-wrap {
  overflow-x: auto;
}

.standings-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

.standings-table th,
.standings-table td {
  padding: 16px 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  text-align: center;
  font-size: 14px;
  font-weight: 800;
}

.standings-table th {
  color: #7d8796;
  background: #fbfcff;
  font-size: 12px;
  font-weight: 900;
}

.standings-table .team-col,
.standings-table th:nth-child(2) {
  text-align: start;
}

.standings-team {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #172033;
  font-weight: 900;
}

.standings-logo,
.standings-crest {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.standings-logo {
  object-fit: contain;
  padding: 4px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
}

.standings-crest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #1f2937;
  font-size: 12px;
  font-weight: 900;
}

.rank-col {
  width: 58px;
  color: #6b7280;
}

.points-col {
  color: var(--red);
  font-size: 16px;
  font-weight: 900;
}

.standings-table tr.is-sakhnin {
  background: linear-gradient(90deg, rgba(213, 17, 35, 0.11), rgba(213, 17, 35, 0.02));
}

.standings-table tr.is-sakhnin .rank-col {
  color: var(--red);
}

.standings-empty {
  padding: 34px 16px;
  color: #6b7280;
}

.standings-notes {
  padding: 20px 26px 26px;
  border-top: 1px solid rgba(15, 23, 42, 0.09);
  background: #fbfcff;
}

.standings-notes-head {
  margin-bottom: 12px;
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}

.standings-notes-list {
  display: grid;
  gap: 10px;
}

.standings-note-item {
  padding: 14px 16px;
  border: 1px solid rgba(213, 17, 35, 0.14);
  border-radius: 8px;
  background: rgba(213, 17, 35, 0.05);
}

.standings-note-item strong {
  display: block;
  margin-bottom: 5px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.standings-note-item p {
  margin: 0;
  color: #4b5563;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
}

@media (max-width: 760px) {
  .inner-title-row,
  .standings-card-head,
  .standings-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .inner-title-row h1 {
    font-size: 46px;
  }

  .standings-card {
    width: min(100% - 20px, 1180px);
  }

  .standings-filters {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .standings-tabs {
    width: 100%;
  }

  .standings-tabs button {
    flex: 1;
    padding: 0 10px;
  }
}

/* Standings page motion and interaction polish */
.site-shell-ready .inner-hero-content {
  animation: standingsHeroIn 0.65s ease both;
}

.site-shell-ready .standings-card {
  animation: standingsCardIn 0.72s ease both;
}

.standings-table tbody tr,
.standings-tabs button,
.match-filter-combo-button,
.standings-note-item,
.standings-side-menu a {
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
}

.standings-table tbody tr {
  animation: standingsRowIn 0.36s ease both;
}

.standings-table tbody tr:hover {
  background: rgba(213, 17, 35, 0.045);
}

.standings-table tbody tr.is-sakhnin:hover {
  background: linear-gradient(90deg, rgba(213, 17, 35, 0.14), rgba(213, 17, 35, 0.035));
}

.standings-tabs button:hover,
.match-filter-combo-button:hover {
  color: var(--red);
}

.standings-tabs button.is-active:hover {
  color: #fff;
}

@keyframes standingsHeroIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes standingsCardIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes standingsRowIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
