/* si-standing-widget-03 — every selector is scoped under the plugin root.
   The binding's colours arrive as inline custom properties on the root
   (header, text, highlighted row, points), overriding the defaults here. */

.si-standing-widget-03 {
  --sist-head: #044f96;
  --sist-head-text: #fff;
  --sist-ink: #00327a;
  --sist-highlight-bg: #f5a500;
  --sist-highlight-text: #00327a;
  --sist-points: var(--sist-ink);
  --sist-row: #f2f2f2;
  --sist-row-alt: #fff;
  --sist-row-border: #d9d9d9;
  --sist-white: #fff;
  --sist-muted: #6b6b6b;
  --sist-bar: #f2f2f2;
  --sist-divider: #d4d4d4;
  --sist-note-head: #033059;
  --sist-note-pill: rgb(218 56 50 / 20%);
  --sist-red: #e30613;
  --sist-option-text: #00327a;
  --sist-option-divider: #c3cedd;
  --sist-option-hover: #f1f4f9;
  --sist-font: Manrope, manrope, system-ui, sans-serif;
  --sist-qualified: #f5a500;
  --sist-row-line: rgb(79 79 79 / 30%);
  /* team_column_width (inline); unset = each screen size's default share. */
  --sist-team-width: initial;
  --sist-logo: 35px;
  /* The old page's 45px logo box (the 35px logo in 5px padding). */
  --sist-logo-box: calc(var(--sist-logo) + 10px);
  --sist-team-head-offset: calc(var(--sist-logo-box) + 7.5px);
  --sist-win: #238b45;
  --sist-loss: #da3832;
  /* Height the empty and error states hold, so the footer stays low. */
  --sist-state-min-height: 60vh;

  /* The old site's container (540 / 720 / 960 / 1140 / 1400px by screen width;
     set below), less its 15px gutters. */
  --sist-container: 100%;

  max-width: var(--sist-container);
  margin: 0 auto;
  padding: 16px 0;
  font-family: var(--sist-font);
  color: var(--sist-ink);
}

.si-standing-widget-03,
.si-standing-widget-03 *,
.si-standing-widget-03 *::before,
.si-standing-widget-03 *::after {
  box-sizing: border-box;
}

/* ── Season filter (only when the binding lists several) ────────────────── */

.si-standing-widget-03 .sist-filters {
  display: flex;
  min-height: 56px;
  margin-bottom: 20px;
  background: var(--sist-bar);
}

.si-standing-widget-03 .sist-filter {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  width: 260px;
  padding: 7px 18px 7px 14px;
  border-right: 1px solid var(--sist-divider);
}

.si-standing-widget-03 .sist-filter__label {
  grid-column: 1;
  font-size: 14px;
  color: var(--sist-muted);
}

.si-standing-widget-03 .sist-filter__value {
  grid-column: 1;
  font-size: 15px;
  font-weight: 600;
  color: #111;
}

.si-standing-widget-03 .sist-filter .sist-icon--chevron-down {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 22px;
  height: 22px;
}

.si-standing-widget-03 .sist-filter--open .sist-icon--chevron-down {
  transform: rotate(180deg);
}

.si-standing-widget-03 .sist-filter__button {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.si-standing-widget-03 .sist-filter__button:focus-visible {
  outline: 2px solid var(--sist-head);
  outline-offset: -2px;
}

.si-standing-widget-03 .sist-filter__menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  z-index: 20;
  width: max(100%, 200px);
  max-height: 320px;
  padding: 3px;
  overflow-y: auto;
  border-radius: 4px;
  background: var(--sist-white);
  box-shadow: 0 6px 18px rgb(0 0 0 / 18%);
}

.si-standing-widget-03 .sist-filter__option {
  position: relative;
  display: block;
  width: 100%;
  padding: 10px 11px;
  border: 0;
  border-radius: 4px;
  background: none;
  font: inherit;
  font-size: 14px;
  text-align: left;
  color: var(--sist-option-text);
  cursor: pointer;
}

.si-standing-widget-03 .sist-filter__option::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 0;
  left: 11px;
  height: 1px;
  background: var(--sist-option-divider);
}

.si-standing-widget-03 .sist-filter__option:hover,
.si-standing-widget-03 .sist-filter__option:focus-visible {
  outline: none;
  background: var(--sist-option-hover);
}

.si-standing-widget-03 .sist-filter__option--selected,
.si-standing-widget-03 .sist-filter__option--selected:hover {
  background: var(--sist-red);
  color: var(--sist-white);
  font-weight: 600;
}

/* ── Table ──────────────────────────────────────────────────────────────── */

/* The old page's 1090px table, 10px in from each side; on small screens it
   shrinks with the page and only scrolls when it truly can't fit. */
.si-standing-widget-03 .sist-table-wrap {
  margin: 0 10px;
  overflow-x: auto;
}

.si-standing-widget-03 .sist-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  font-weight: 700;
  line-height: 14.4px;
  text-align: center;
}

.si-standing-widget-03 .sist-table th {
  height: 35px;
  padding: 0 7.5px;
  background: var(--sist-head);
  color: var(--sist-head-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 14.4px;
}

.si-standing-widget-03 .sist-table thead tr th:first-child {
  border-top-left-radius: 4px;
}

.si-standing-widget-03 .sist-table thead tr th:last-child {
  border-top-right-radius: 4px;
}

.si-standing-widget-03 .sist-table td {
  height: 70px;
  padding: 0 7.5px;
  border-bottom: 1px solid var(--sist-row-line);
  font-weight: 700;
}

.si-standing-widget-03 .sist-table tbody tr:nth-child(odd) {
  background: var(--sist-row);
}

.si-standing-widget-03 .sist-table tbody tr:nth-child(even) {
  background: var(--sist-row-alt);
}

/* The old page's column shares: POS 5%, Teams and Form Guide 32% each on a
   tablet (the numbers take what is left, by content). */
.si-standing-widget-03 .sist-table__pos {
  width: 5%;
}

/* team_column_width (Dubai Capitals 40%) sets --sist-team-width. */
.si-standing-widget-03 .sist-table__team {
  width: var(--sist-team-width, 32%);
}

.si-standing-widget-03 .sist-table__form {
  width: 32%;
}

.si-standing-widget-03 .sist-table th.sist-table__team,
.si-standing-widget-03 .sist-table td.sist-table__team {
  text-align: left;
}

/* "Teams" sits over the team names, past the logo box, as on the old page. */
/* "Teams" over the names (past the logo box), or over the logos with
   team_heading_position: logo (Dubai Capitals). */
.si-standing-widget-03 .sist-table th.sist-table__team {
  padding-left: calc(7.5px + var(--sist-team-head-offset));
}

.si-standing-widget-03.sist--team-head-logo {
  --sist-team-head-offset: 0px;
}

.si-standing-widget-03 .sist-pos--qualified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* India Capitals (cricket default, qualified_box): Q1 … Q4 in a 30px
   yellow-bordered box. */
.si-standing-widget-03 .sist-pos--boxed {
  min-width: 30px;
  height: 30px;
  border: 1px solid var(--sist-qualified);
}

/* Cricket: team names in near-black, numbers in the table colour. */
.si-standing-widget-03--cricket {
  --sist-team-name: #00020d;
}

.si-standing-widget-03 .sist-table td.sist-table__points {
  color: var(--sist-points);
}

/* The page's own team. */
.si-standing-widget-03 .sist-table tbody tr.sist-row--highlight {
  background: var(--sist-highlight-bg);
}

.si-standing-widget-03 .sist-table tbody tr.sist-row--highlight td {
  color: var(--sist-highlight-text);
}

.si-standing-widget-03 .sist-team {
  display: flex;
  align-items: center;
  gap: 7.5px;
}

.si-standing-widget-03 .sist-team__logo {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: var(--sist-logo-box);
  height: var(--sist-logo-box);
  padding: calc((var(--sist-logo-box) - var(--sist-logo)) / 2);
}

.si-standing-widget-03 .sist-team__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.si-standing-widget-03 .sist-team__name {
  font-weight: 700;
  color: var(--sist-team-name, inherit);
}

/* The highlighted row's name keeps the highlight text colour. */
.si-standing-widget-03 .sist-table
  tbody
  tr.sist-row--highlight
  .sist-team__name {
  color: inherit;
}

.si-standing-widget-03 .sist-label--short {
  display: none;
}

/* ── Form guide ─────────────────────────────────────────────────────────── */

.si-standing-widget-03 .sist-form {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7.5px;
}

.si-standing-widget-03 .sist-form__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  color: var(--sist-white);
}

.si-standing-widget-03 .sist-form__dot--win {
  background: var(--sist-win);
}

.si-standing-widget-03 .sist-form__dot--loss {
  background: var(--sist-loss);
}

.si-standing-widget-03 .sist-form__dot--tie {
  border: 1px solid #b5b5b5;
  background: var(--sist-white);
  color: #444;
}

/* ── Points system box ──────────────────────────────────────────────────── */

/* As the old kho kho page: 7.5px wider than the table column on each side,
   a 35px heading bar, 10px / 600 labels over 12px / 700 pills, and the form
   key with 24px dots. */
.si-standing-widget-03 .sist-note {
  margin: 60px -7.5px 0;
}

.si-standing-widget-03 .sist-note__head {
  display: flex;
  align-items: center;
  min-height: 35px;
  margin: 0;
  padding: 0 15px;
  border-radius: 4px;
  background: var(--sist-note-head);
  color: var(--sist-white);
  font-size: 12px;
  font-weight: 700;
  line-height: 14.4px;
}

.si-standing-widget-03 .sist-note__body {
  padding: 15px;
  border: 1px solid var(--sist-row);
  border-radius: 0 0 4px 4px;
  background: var(--sist-white);
}

.si-standing-widget-03 .sist-note__items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Each item 51px as the old box: label, 7.5px, pill, and the 4px the old
   inline pill left under its line. */
.si-standing-widget-03 .sist-note__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7.5px;
  margin-bottom: 15px;
  padding-bottom: 4px;
}

/* An empty label (the footer's) still holds its 12px line, as the old box. */
.si-standing-widget-03 .sist-note__label {
  min-height: 12px;
  font-size: 10px;
  font-weight: 600;
  line-height: 12px;
  color: var(--sist-note-head);
}

.si-standing-widget-03 .sist-note__value,
.si-standing-widget-03 .sist-note__footer,
.si-standing-widget-03 .sist-note__key {
  padding: 7.5px 10px;
  border-radius: 0 0 2px 2px;
  font-size: 12px;
  font-weight: 700;
  line-height: 12px;
  color: var(--sist-ink);
}

.si-standing-widget-03 .sist-note__value {
  background: var(--sist-note-pill);
}

.si-standing-widget-03 .sist-note__footer {
  background: var(--sist-row);
}

.si-standing-widget-03 .sist-note__legend {
  display: flex;
  flex-direction: column;
  gap: 7.5px;
  padding-bottom: 4px;
}

.si-standing-widget-03 .sist-note__keys {
  display: flex;
  flex-wrap: wrap;
  gap: 3.5px;
}

.si-standing-widget-03 .sist-note__key {
  position: relative;
  padding-left: 35px;
}

.si-standing-widget-03 .sist-note__key .sist-form__dot {
  position: absolute;
  top: 50%;
  left: 5px;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
}

/* ── States ─────────────────────────────────────────────────────────────── */

.si-standing-widget-03 .sist-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--sist-state-min-height);
  margin: 0;
  font-size: 15px;
  color: var(--sist-muted);
}

.si-standing-widget-03 .sist-skeleton {
  min-height: var(--sist-state-min-height);
  background: linear-gradient(
    90deg,
    var(--sist-row) 25%,
    var(--sist-row-alt) 50%,
    var(--sist-row) 75%
  );
  background-size: 200% 100%;
  animation: sist-shimmer 1.2s ease-in-out infinite;
}

@keyframes sist-shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .si-standing-widget-03 .sist-skeleton {
    animation: none;
  }
}

/* ── Mobile ─────────────────────────────────────────────────────────────── */

@media (max-width: 767px) {
  .si-standing-widget-03 {
    --sist-state-min-height: 50vh;
  }

  /* As the old phone page: full headings, 70px rows and 35px logos, with
     No Result (N/R), Score Diff and the form guide left out so the rest
     fits the screen. POS 10% and Teams 45% of the table. */
  .si-standing-widget-03 .sist-table th.sist-table__noresult,
  .si-standing-widget-03 .sist-table td.sist-table__noresult,
  .si-standing-widget-03 .sist-table th.sist-table__score_diff,
  .si-standing-widget-03 .sist-table td.sist-table__score_diff,
  .si-standing-widget-03 .sist-table th.sist-table__form,
  .si-standing-widget-03 .sist-table td.sist-table__form {
    display: none;
  }

  /* The number columns share the rest equally (34px each on the old
     phone page), and the headings are 11px. */
  .si-standing-widget-03 .sist-table {
    table-layout: fixed;
  }

  .si-standing-widget-03 .sist-table th {
    font-size: 11px;
  }

  .si-standing-widget-03 .sist-table__pos {
    width: 10%;
  }

  .si-standing-widget-03 .sist-table__team {
    width: 45%;
  }

  /* NRR (+1.173) needs a little more than the other numbers (41px). */
  .si-standing-widget-03 .sist-table__nrr {
    width: 13%;
  }

  /* 3px cell sides keep the headings inside the old 340px table; the team
     cell keeps 7.5px and the logo its 45px box, so Q1 … sits as far from
     the logo as on the old phone page. */
  .si-standing-widget-03 .sist-table th,
  .si-standing-widget-03 .sist-table td {
    padding: 0 3px;
  }

  .si-standing-widget-03 .sist-table td.sist-table__team {
    padding-left: 7.5px;
  }

  /* Dubai Capitals' phone page (team_heading_position: logo) packs the
     logo 3px from the position, without its box. */
  .si-standing-widget-03.sist--team-head-logo {
    --sist-logo-box: var(--sist-logo);
  }

  .si-standing-widget-03.sist--team-head-logo .sist-table td.sist-table__team {
    padding-left: 3px;
  }

  .si-standing-widget-03 .sist-filter {
    width: 100%;
  }

  .si-standing-widget-03 .sist-note__items {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .si-standing-widget-03 .sist-note__item--footer {
    grid-column: 1 / -1;
  }

  /* The form guide column is hidden, and so is its key. */
  .si-standing-widget-03 .sist-note__legend {
    display: none;
  }

  /* A phone user agent gets the short headings (MP, W, L …), as the old
     pages serve them; a narrow desktop window keeps the full ones. */
  .si-standing-widget-03.sist--mobile-agent .sist-label--long {
    display: none;
  }

  .si-standing-widget-03.sist--mobile-agent .sist-label--short {
    display: inline;
  }
}

/* Tablet: the points-system box in two columns, as the old page; the five
   results on one line (the old row ran past the table instead). */
@media (min-width: 768px) and (max-width: 991px) {
  .si-standing-widget-03 .sist-note__items {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .si-standing-widget-03 .sist-form {
    flex-wrap: nowrap;
  }

  /* 4px cell sides so the one-line results and kho kho's seven number
     columns fit the 670px table without scrolling. */
  .si-standing-widget-03 .sist-table th,
  .si-standing-widget-03 .sist-table td {
    padding-right: 4px;
    padding-left: 4px;
  }

  .si-standing-widget-03 .sist-table th.sist-table__team {
    padding-left: calc(4px + var(--sist-team-head-offset));
  }
}

/* Cricket from 768px, as the old pages: the number columns equal, NRR only
   as wide as its values. */
@media (min-width: 768px) {
  .si-standing-widget-03--cricket .sist-table {
    table-layout: fixed;
  }

  .si-standing-widget-03--cricket .sist-table__nrr {
    width: 47px;
  }
}

/* ── Drawer layout (layout: drawer, the U.P. Yoddhas home page) ─────────── */

/* Phones (as the old home page below 768px): the heading and a compact
   table in the page, rows alternating dark and white. Unlike the old page,
   the dark rows get white text and every row shows its position. */
.si-standing-widget-03.sist--drawer {
  --sist-drawer-top: 125px;
  --sist-drawer-tab: #da3832;
  --sist-drawer-bg: rgb(0 2 13 / 90%);
  --sist-drawer-title: #2b3278;
  --sist-drawer-row: #022d55;
  --sist-drawer-points: #7fb2ff;
  --sist-drawer-width: 465px;
  --sist-drawer-line: rgb(255 255 255 / 10%);
  --sist-drawer-ink: #00020d;
  --sist-drawer-border: #e0e0e0;
  --sist-state-min-height: 200px;

  max-width: none;
  padding: 20px 0;
}

.si-standing-widget-03 .sist-drawer__tab {
  display: none;
}

.si-standing-widget-03 .sist-drawer__title {
  margin: 7.5px 0 22.5px;
  color: var(--sist-drawer-title);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  text-transform: capitalize;
}

.si-standing-widget-03 .sist-drawer__scroll {
  border: 1px solid var(--sist-drawer-border);
}

/* POS 11%, Teams 33%, the number columns share the rest (the old 44 / 56
   split); a 7.5px frame of the text colour round the blue heading row. */
.si-standing-widget-03 .sist-dtable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.si-standing-widget-03 .sist-dtable th {
  height: 40px;
  padding: 0 7.5px;
  background: var(--sist-head);
  color: var(--sist-head-text);
  font-size: 12px;
  font-weight: 700;
}

.si-standing-widget-03 .sist-dtable thead tr th:first-child {
  border-left: 7.5px solid var(--sist-ink);
}

.si-standing-widget-03 .sist-dtable thead tr th:last-child {
  border-right: 7.5px solid var(--sist-ink);
}

.si-standing-widget-03 .sist-dtable th.sist-dtable__team {
  font-size: 11px;
  text-align: left;
}

.si-standing-widget-03 .sist-dtable__pos {
  width: 11%;
}

.si-standing-widget-03 .sist-dtable__team {
  width: 33%;
}

.si-standing-widget-03 .sist-dtable td {
  height: 60px;
  padding: 0 7.5px;
  border-bottom: 1px solid var(--sist-drawer-line);
  color: var(--sist-drawer-ink);
}

.si-standing-widget-03 .sist-dtable td:first-child {
  padding-left: 15px;
}

.si-standing-widget-03 .sist-dtable td:last-child {
  padding-right: 15px;
}

.si-standing-widget-03 .sist-dtable td.sist-dtable__points {
  color: var(--sist-points);
}

.si-standing-widget-03 .sist-dtable tbody tr:nth-child(odd) {
  background: var(--sist-drawer-row);
}

.si-standing-widget-03 .sist-dtable tbody tr:nth-child(odd) td {
  color: var(--sist-white);
}

.si-standing-widget-03
  .sist-dtable
  tbody
  tr:nth-child(odd)
  td.sist-dtable__points {
  color: var(--sist-drawer-points);
}

.si-standing-widget-03 .sist-dtable tbody tr:nth-child(even) {
  background: var(--sist-white);
}

.si-standing-widget-03 .sist-dtable__teamwrap {
  display: flex;
  align-items: center;
  gap: 7.5px;
}

/* The 30px logo in a 40px round, faintly shaded. */
.si-standing-widget-03 .sist-dtable__logo {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 5px;
  overflow: hidden;
  border-radius: 50%;
  background: rgb(0 2 13 / 10%);
}

.si-standing-widget-03 .sist-dtable__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.si-standing-widget-03 .sist-dtable__name {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  line-height: 15.4px;
  text-align: center;
  text-transform: capitalize;
}

/* From 768px (as the old home page): a 465px dark panel fixed to the right
   edge, off-screen until its red tab slides it in (500ms). While closed its
   content is hidden from the keyboard and screen readers; the tab stays. */
@media (min-width: 768px) {
  .si-standing-widget-03.sist--drawer {
    padding: 0;
  }

  .si-standing-widget-03 .sist-drawer {
    position: fixed;
    z-index: 50;
    top: var(--sist-drawer-top);
    right: calc(-1 * var(--sist-drawer-width));
    width: var(--sist-drawer-width);
    padding: 20px 7.5px;
    background: var(--sist-drawer-bg);
    transition: right 500ms ease-in-out;
  }

  .si-standing-widget-03 .sist-drawer--open {
    right: 0;
  }

  .si-standing-widget-03 .sist-drawer__body {
    visibility: hidden;
    transition: visibility 0s linear 500ms;
  }

  .si-standing-widget-03 .sist-drawer--open .sist-drawer__body {
    visibility: visible;
    transition-delay: 0s;
  }

  /* The 28 x 144.5px tab on the panel's left edge, its ends slanted. */
  .si-standing-widget-03 .sist-drawer__tab {
    position: absolute;
    top: 50%;
    left: -28px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 144.5px;
    padding: 0;
    border: 0;
    background: var(--sist-drawer-tab);
    clip-path: polygon(0 13%, 100% 0, 100% 100%, 0 87%);
    color: var(--sist-white);
    font: inherit;
    cursor: pointer;
    transform: translateY(-50%);
  }

  .si-standing-widget-03 .sist-drawer__tab:focus-visible {
    outline: 2px solid var(--sist-white);
    outline-offset: -5px;
  }

  /* The label reads bottom to top; the chevron points out (closed) or in. */
  .si-standing-widget-03 .sist-drawer__tab-text {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 7.5px;
    font-size: 13px;
    font-weight: 700;
    line-height: 18.2px;
    white-space: nowrap;
    text-transform: capitalize;
    transform: rotate(270deg);
  }

  .si-standing-widget-03 .sist-drawer__chevron {
    width: 12px;
    height: 12px;
    transform: rotate(-90deg);
    transition: transform 500ms ease-in;
  }

  .si-standing-widget-03 .sist-drawer--open .sist-drawer__chevron {
    transform: rotate(90deg);
  }

  .si-standing-widget-03 .sist-drawer__title {
    color: var(--sist-white);
  }

  /* 325px of rows under the 40px heading row, then an inner scrollbar. */
  .si-standing-widget-03 .sist-drawer__scroll {
    max-height: 365px;
    overflow-y: auto;
    border: 0;
  }

  .si-standing-widget-03 .sist-drawer__scroll::-webkit-scrollbar {
    width: 5px;
  }

  .si-standing-widget-03 .sist-drawer__scroll::-webkit-scrollbar-track {
    border-radius: 10px;
    background: var(--sist-bar);
  }

  .si-standing-widget-03 .sist-drawer__scroll::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: rgb(0 2 13 / 50%);
  }

  .si-standing-widget-03 .sist-dtable thead th {
    position: sticky;
    z-index: 1;
    top: 0;
  }

  .si-standing-widget-03 .sist-dtable tbody tr:nth-child(odd),
  .si-standing-widget-03 .sist-dtable tbody tr:nth-child(even) {
    background: var(--sist-drawer-bg);
  }

  .si-standing-widget-03 .sist-dtable td,
  .si-standing-widget-03 .sist-dtable tbody tr:nth-child(odd) td {
    color: var(--sist-white);
  }

  .si-standing-widget-03 .sist-dtable td.sist-dtable__points,
  .si-standing-widget-03
    .sist-dtable
    tbody
    tr:nth-child(odd)
    td.sist-dtable__points {
    color: var(--sist-drawer-points);
  }
}

@supports not selector(::-webkit-scrollbar) {
  .si-standing-widget-03 .sist-drawer__scroll {
    scrollbar-width: thin;
    scrollbar-color: rgb(0 2 13 / 50%) var(--sist-bar);
  }
}

@media (prefers-reduced-motion: reduce) {
  .si-standing-widget-03 .sist-drawer,
  .si-standing-widget-03 .sist-drawer__body,
  .si-standing-widget-03 .sist-drawer__chevron {
    transition: none;
  }
}

/* ── Page heading band (page_title …) ──────────────────────────────────── */

/* As the old team pages: a 75px band to the screen edges, the title in the
   plugin's column. The colour reaches the edges as a side-clipped shadow (the
   page does not widen); the image layer is sized to the screen in the browser
   (--page-head-left / --page-head-width, set by shared/page-head). */
.si-standing-widget-03 .sist-page-head {
  --page-head-bg: #00327a;
  --page-head-color: #fff;
  --page-head-image: none;
  --page-head-left: 0px;
  /* 0 until sized to the screen in the browser: the colour shows first, never a cropped image. */
  --page-head-width: 0px;

  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 75px;
  margin: -16px 0 15px;
  padding: 20px 0;
  background: var(--page-head-bg);
  box-shadow: 0 0 0 100vmax var(--page-head-bg);
  clip-path: inset(0 -100vmax);
  color: var(--page-head-color);
}

.si-standing-widget-03 .sist-page-head--cover::before,
.si-standing-widget-03 .sist-page-head--pattern::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: var(--page-head-left);
  width: var(--page-head-width);
  background: var(--page-head-image) center / cover no-repeat;
}

/* Dubai Capitals: the pattern at the top-right at its own size. */
.si-standing-widget-03 .sist-page-head--pattern::before {
  background-position: right top;
  background-size: auto;
}

.si-standing-widget-03 .sist-page-head__title {
  margin: 0;
  color: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  text-transform: capitalize;
}

/* The old site's container width by screen size. */
@media (min-width: 576px) {
  .si-standing-widget-03 {
    --sist-container: 510px;
  }
}

@media (min-width: 768px) {
  .si-standing-widget-03 {
    --sist-container: 690px;
  }
}

@media (min-width: 992px) {
  .si-standing-widget-03 {
    --sist-container: 930px;
  }

  /* Laptop and up, as the old page: POS 5%, Teams 22%, Form Guide 18%
     (20% below 1200px so its five results fit), the number columns share
     the rest equally. */
  .si-standing-widget-03 .sist-table {
    table-layout: fixed;
  }

  .si-standing-widget-03 .sist-table__team {
    width: var(--sist-team-width, 22%);
  }

  .si-standing-widget-03 .sist-table__form {
    width: 20%;
  }
}

@media (min-width: 1200px) {
  .si-standing-widget-03 {
    --sist-container: 1110px;
  }

  .si-standing-widget-03 .sist-table__form {
    width: 18%;
  }
}

@media (min-width: 1600px) {
  .si-standing-widget-03 {
    --sist-container: 1370px;
  }
}

/* si-language-toggle-01: EN / हि switch. Colours come from the binding as
   inline custom properties on the root. */

.si-language-toggle-01 {
  --silt-text: #fff;
  --silt-track: #fff;
  --silt-knob: #f5a300;
  display: inline-flex;
  align-items: center;
}

.si-language-toggle-01 .silt-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-radius: 4px;
  color: var(--silt-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

/* The link's name, for screen readers only. */
.si-language-toggle-01 .silt-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.si-language-toggle-01 .silt-toggle:focus-visible {
  outline: 2px solid var(--silt-text);
  outline-offset: 2px;
}

.si-language-toggle-01 .silt-track {
  position: relative;
  flex: none;
  box-sizing: border-box;
  width: 46px;
  height: 24px;
  border: 2px solid var(--silt-track);
  border-radius: 999px;
}

.si-language-toggle-01 .silt-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--silt-knob);
  transition: transform 0.2s ease;
}

/* On a Hindi page the knob sits on the हि side. */
.si-language-toggle-01--hi .silt-knob {
  transform: translateX(22px);
}

.si-language-toggle-01 .silt-toggle:hover .silt-knob {
  box-shadow: 0 0 0 3px rgb(255 255 255 / 25%);
}

@media (prefers-reduced-motion: reduce) {
  .si-language-toggle-01 .silt-knob {
    transition: none;
  }
}
