/* si-player-widget-01 — every selector is scoped under the plugin root.
   Colours are custom properties: the binding's colours are set inline on the
   root (--sipw-primary, --sipw-accent, --sipw-name, --sipw-highlight,
   --sipw-tab); the defaults below are the U.P. Yoddhas page's. */

.si-player-widget-01 {
  --sipw-primary: #16397a;
  --sipw-accent: #f5a500;
  --sipw-name: #fff;
  --sipw-highlight: #fdebc8;
  --sipw-tab: #e10a17;
  --sipw-bio-pad: 0px;
  --sipw-ring: var(--sipw-accent);
  --sipw-text: #111;
  --sipw-muted: #6b6b6b;
  --sipw-white: #fff;
  --sipw-bar: #f2f2f2;
  --sipw-divider: #d4d4d4;
  --sipw-row: #f3f3f3;
  --sipw-cell-border: #e2e2e2;
  --sipw-card-shadow: 0 2px 8px rgb(0 0 0 / 12%);
  --sipw-ink: #0b3a75;
  --sipw-band: #f0f0f0;
  --sipw-dive-other: #3d8be0;
  --sipw-dive-pole: #0f2d63;
  --sipw-dive-sky: #f5a623;
  --sipw-option-text: #2b2e83;
  --sipw-option-divider: #c3cedd;
  --sipw-option-hover: #f1f4f9;
  /* Height the not-found and error states hold, so the global footer stays low. */
  --sipw-state-min-height: 60vh;
  /* Header background image from the binding (set inline on the root). */
  --sipw-hero-image: none;
  /* Cricket header patterns and the kabaddi journey images (set inline on the root). */
  --sipw-pattern-left: none;
  --sipw-pattern-right: none;
  --sipw-journey-image: none;
  /* Cricket table header row and figures (set inline on the root). */
  --sipw-table-head: #162b71;
  --sipw-table-head-mobile: var(--sipw-table-head);
  --sipw-table-text: #313cae;
  /* Kabaddi phone images (below 768px; set inline on the root). */
  --sipw-hero-image-mobile: none;
  --sipw-journey-image-mobile: none;
  --sipw-court-image: none;
  /* Kho kho: width of the hero content, cards and form guide. */
  --sipw-kk-width: 1200px;
  /* Kabaddi hero stripes over the header colour. */
  --sipw-stripe: color-mix(in srgb, #fff 4%, var(--sipw-primary));

  --sipw-font: Manrope, manrope, system-ui, sans-serif;
  /* The old site's container (540 / 720 / 960 / 1140 / 1400px by screen width; set below). */
  --sipw-container: 100%;

  /* A container, so headers can reach the screen edges: (100vw - 100cqw) / 2. */
  container-type: inline-size;
  max-width: var(--sipw-container);
  margin: 0 auto;
  padding: 0 0 32px;
  color: var(--sipw-text);
  font-family: var(--sipw-font);
}

.si-player-widget-01--khokho {
  --sipw-ring: var(--sipw-primary);
}

/* Cricket: content 15px inside the column (1110px of 1140px), as the old pages. */
.si-player-widget-01--cricket {
  --sipw-ink: #313cae;

  padding-right: 15px;
  padding-left: 15px;
}

.si-player-widget-01,
.si-player-widget-01 *,
.si-player-widget-01 *::before,
.si-player-widget-01 *::after {
  box-sizing: border-box;
}

.si-player-widget-01 h1,
.si-player-widget-01 h2,
.si-player-widget-01 h3,
.si-player-widget-01 p,
.si-player-widget-01 dl,
.si-player-widget-01 dd,
.si-player-widget-01 ul {
  margin: 0;
  padding: 0;
}

.si-player-widget-01 ul {
  list-style: none;
}

.si-player-widget-01 .sipw-icon {
  width: 20px;
  height: 20px;
}

.si-player-widget-01 .sipw-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--sipw-state-min-height);
  padding: 24px;
  color: var(--sipw-muted);
  font-size: 16px;
  text-align: center;
}

.si-player-widget-01 .sipw-section {
  margin-top: 24px;
}

.si-player-widget-01 .sipw-section__title {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 700;
}

.si-player-widget-01 .sipw-section__title--small {
  font-size: 16px;
}

.si-player-widget-01 .sipw-section--band {
  padding: 20px;
  background: var(--sipw-band);
}

.si-player-widget-01 .sipw-name {
  color: var(--sipw-name);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
}

.si-player-widget-01 .sipw-name strong {
  font-weight: 700;
}

.si-player-widget-01 .sipw-role {
  margin-top: 4px;
  color: var(--sipw-white);
  font-size: 14px;
}

/* ── Images ─────────────────────────────────────────────────────────────── */

.si-player-widget-01 .sipw-logo {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 2px solid var(--sipw-accent);
  border-radius: 50%;
  background: var(--sipw-white);
}

.si-player-widget-01 .sipw-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.si-player-widget-01 .sipw-logo__initials {
  color: var(--sipw-primary);
  font-size: 12px;
  font-weight: 700;
}

.si-player-widget-01 .sipw-ring {
  position: relative;
  display: inline-flex;
  flex: none;
}

.si-player-widget-01 .sipw-ring svg {
  width: 100%;
  height: 100%;
}

.si-player-widget-01 .sipw-ring__track {
  fill: none;
  stroke: var(--sipw-cell-border);
  stroke-width: 8;
}

.si-player-widget-01 .sipw-ring__value {
  fill: none;
  stroke: var(--sipw-ring);
  stroke-width: 8;
}

.si-player-widget-01 .sipw-ring__label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.si-player-widget-01 .sipw-ring-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 12px;
  border-bottom: 1px solid var(--sipw-cell-border);
  font-size: 13px;
}

.si-player-widget-01 .sipw-ring-stat__value {
  color: var(--sipw-ink);
  font-size: 18px;
  font-weight: 700;
}

/* ── Cricket header ─────────────────────────────────────────────────────── */

/* As the old pages: a 6px-rounded card; 24px name (first name 600); labels
   over 22px numbers; facts as "label : value". */
.si-player-widget-01 .sipw-cricket-hero {
  display: flex;
  gap: 30px;
  min-height: 203px;
  padding: 10px 0 0 30px;
  overflow: hidden;
  border-radius: 6px;
  background: linear-gradient(
      110deg,
      var(--sipw-primary) 70%,
      rgb(255 255 255 / 8%) 70%
    )
    var(--sipw-primary);
  color: var(--sipw-white);
}

.si-player-widget-01 .sipw-cricket-hero__photo {
  display: flex;
  flex: none;
  align-items: flex-end;
  width: 185px;
  padding: 0 15px;
}

.si-player-widget-01 .sipw-cricket-hero__photo img {
  width: 100%;
  height: auto;
}

.si-player-widget-01 .sipw-cricket-hero__body {
  flex: 1;
  min-width: 0;
  padding-bottom: 15px;
}

.si-player-widget-01 .sipw-cricket-hero__top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 10px;
}

.si-player-widget-01 .sipw-cricket-hero .sipw-name {
  font-size: 24px;
}

.si-player-widget-01 .sipw-cricket-hero .sipw-name strong {
  font-weight: 600;
}

.si-player-widget-01 .sipw-cricket-hero .sipw-role {
  margin-top: 10px;
  font-size: 12px;
}

.si-player-widget-01 .sipw-cricket-hero__numbers {
  display: flex;
  padding-top: 5px;
}

.si-player-widget-01 .sipw-cricket-hero__numbers > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 118px;
  padding: 0 10px;
}

.si-player-widget-01 .sipw-cricket-hero__numbers > div + div {
  border-left: 1px solid rgb(255 255 255 / 30%);
}

.si-player-widget-01 .sipw-cricket-hero__numbers dt {
  font-size: 12px;
}

.si-player-widget-01 .sipw-cricket-hero__numbers dd {
  font-size: 22px;
  font-weight: 700;
}

.si-player-widget-01 .sipw-cricket-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px 0;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 25%);
  font-size: 13px;
}

.si-player-widget-01 .sipw-cricket-hero__facts > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
}

.si-player-widget-01 .sipw-cricket-hero__facts dt {
  display: flex;
  justify-content: space-between;
  padding-right: 10px;
  font-size: 14px;
}

.si-player-widget-01 .sipw-cricket-hero__facts dt::after {
  content: ":";
}

.si-player-widget-01 .sipw-cricket-hero__facts dd {
  font-weight: 600;
}

.si-player-widget-01 .sipw-biography {
  display: grid;
  gap: 14px;
  font-size: 14px;
  line-height: 1.6;
}

.si-player-widget-01--cricket .sipw-section__title {
  font-size: 18px;
}

.si-player-widget-01--cricket .sipw-biography {
  color: #00020d;
}

/* ── Cricket tables ─────────────────────────────────────────────────────── */

.si-player-widget-01 .sipw-table-wrap {
  margin-bottom: 24px;
  overflow-x: auto;
  border-radius: 6px;
}

.si-player-widget-01 .sipw-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  font-size: 14px;
  text-align: center;
}

/* 50px rows split by a light line, no column lines, as the old tables. */
.si-player-widget-01 .sipw-table th,
.si-player-widget-01 .sipw-table td {
  padding: 15px 10px;
  border-bottom: 1px solid var(--sipw-cell-border);
}

.si-player-widget-01 .sipw-table thead th {
  border-bottom: 0;
  background: var(--sipw-primary);
  color: var(--sipw-white);
  font-weight: 400;
}

.si-player-widget-01 .sipw-table tbody th {
  color: var(--sipw-ink);
  font-weight: 600;
}

.si-player-widget-01 .sipw-table td {
  color: var(--sipw-ink);
}

.si-player-widget-01 .sipw-table .sipw-table__highlight {
  background: var(--sipw-highlight);
}

.si-player-widget-01 .sipw-table__first {
  min-width: 170px;
}

/* ── Kabaddi hero and tabs ──────────────────────────────────────────────── */

.si-player-widget-01 .sipw-hero {
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: 210px;
  padding: 0 48px;
  overflow: hidden;
  background: var(--sipw-primary);
  /* Painted out to both screen edges (border-image outset), without widening the page. */
  border-image:
    repeating-linear-gradient(
      135deg,
      var(--sipw-stripe) 0 2px,
      var(--sipw-primary) 2px 16px
    )
    fill 0 / / 0 calc((100vw - 100cqw) / 2);
  color: var(--sipw-white);
}

.si-player-widget-01 .sipw-hero__photo {
  display: flex;
  flex: none;
  align-items: flex-end;
  align-self: flex-end;
  width: 240px;
}

.si-player-widget-01 .sipw-hero__photo img {
  width: 100%;
  height: auto;
}

.si-player-widget-01 .sipw-hero__nationality {
  margin-top: 24px;
  font-size: 15px;
}

.si-player-widget-01 .sipw-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 770px;
  margin: 10px auto 0;
}

.si-player-widget-01 .sipw-tabs__tab {
  padding: 16px;
  border: 0;
  background: var(--sipw-bar);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--sipw-text);
  cursor: pointer;
}

.si-player-widget-01 .sipw-tabs__tab--active {
  background: var(--sipw-tab);
  color: var(--sipw-white);
}

/* Kabaddi, as the old page: 28px name, 330px tabs at 12px, 14px section headings. */
.si-player-widget-01--kabaddi .sipw-hero .sipw-name {
  font-size: 28px;
}

.si-player-widget-01--kabaddi .sipw-tabs {
  max-width: 660px;
}

.si-player-widget-01--kabaddi .sipw-tabs__tab {
  font-size: 12px;
  font-weight: 700;
}

.si-player-widget-01--kabaddi .sipw-section__title {
  font-size: 14px;
}

.si-player-widget-01 .sipw-tabs__tab:focus-visible {
  outline: 2px solid var(--sipw-primary);
  outline-offset: 2px;
}

/* ── Kabaddi journey ────────────────────────────────────────────────────── */

.si-player-widget-01 .sipw-journey {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 32px 48px;
  background:
    repeating-linear-gradient(
      135deg,
      rgb(255 255 255 / 4%) 0 2px,
      transparent 2px 18px
    ),
    linear-gradient(120deg, var(--sipw-primary), #0a5bd8);
  color: var(--sipw-white);
}

.si-player-widget-01 .sipw-journey__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.si-player-widget-01 .sipw-journey__move {
  align-self: center;
  padding: 4px;
  border: 0;
  background: none;
  color: var(--sipw-white);
  cursor: pointer;
}

.si-player-widget-01 .sipw-journey__move:disabled {
  opacity: 0.3;
  cursor: default;
}

.si-player-widget-01 .sipw-journey__move:focus-visible {
  outline: 2px solid var(--sipw-accent);
}

.si-player-widget-01 .sipw-journey__current {
  display: flex;
  align-items: center;
  gap: 20px;
}

.si-player-widget-01 .sipw-journey__current .sipw-logo {
  width: 80px;
  height: 80px;
  border: 0;
}

.si-player-widget-01 .sipw-journey__team {
  padding-bottom: 6px;
  border-bottom: 1px solid rgb(255 255 255 / 40%);
  font-size: 18px;
}

.si-player-widget-01 .sipw-journey__season {
  margin-top: 6px;
  font-size: 14px;
}

.si-player-widget-01 .sipw-journey__current .sipw-journey__year {
  color: var(--sipw-accent);
  font-size: 28px;
  font-weight: 700;
}

.si-player-widget-01 .sipw-journey__others {
  display: grid;
  gap: 12px;
  padding-left: 100px;
  font-size: 14px;
  opacity: 0.3;
}

.si-player-widget-01 .sipw-journey__others .sipw-journey__year {
  font-size: 22px;
  font-weight: 700;
}

.si-player-widget-01 .sipw-journey__stats {
  display: grid;
  justify-items: center;
  gap: 24px;
}

.si-player-widget-01 .sipw-journey__court {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 48px;
  border: 1px solid rgb(255 255 255 / 60%);
  box-shadow:
    inset 12px 0 0 -11px rgb(255 255 255 / 60%),
    inset -12px 0 0 -11px rgb(255 255 255 / 60%);
  font-size: 13px;
  font-weight: 600;
}

.si-player-widget-01 .sipw-journey__court strong,
.si-player-widget-01 .sipw-journey__points strong {
  color: var(--sipw-accent);
  font-size: 34px;
}

.si-player-widget-01 .sipw-journey__rings {
  display: flex;
  gap: 48px;
}

.si-player-widget-01 .sipw-journey .sipw-ring-stat {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  color: var(--sipw-white);
}

.si-player-widget-01 .sipw-journey .sipw-ring-stat__label {
  order: 3;
  font-size: 14px;
  font-weight: 600;
}

.si-player-widget-01 .sipw-journey .sipw-ring__label {
  font-size: 18px;
}

.si-player-widget-01 .sipw-journey .sipw-ring__track {
  stroke: var(--sipw-white);
}

.si-player-widget-01 .sipw-journey__points {
  display: grid;
  justify-items: center;
  width: 100%;
  padding-top: 18px;
  border-top: 1px solid rgb(255 255 255 / 30%);
  font-size: 13px;
  font-weight: 600;
}

/* ── Season filter ──────────────────────────────────────────────────────── */

.si-player-widget-01 .sipw-filters {
  display: flex;
  align-items: stretch;
  min-height: 52px;
  margin-top: 20px;
  border: 1px solid var(--sipw-divider);
  background: var(--sipw-bar);
}

.si-player-widget-01 .sipw-filter {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  width: 240px;
  padding: 6px 16px 6px 12px;
  border-right: 1px solid var(--sipw-divider);
}

.si-player-widget-01 .sipw-filter__label {
  grid-column: 1;
  color: var(--sipw-muted);
  font-size: 12px;
}

.si-player-widget-01 .sipw-filter__value {
  grid-column: 1;
  overflow: hidden;
  color: var(--sipw-text);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.si-player-widget-01 .sipw-filter .sipw-icon--chevron-down {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.si-player-widget-01 .sipw-filter--open .sipw-icon--chevron-down {
  transform: rotate(180deg);
}

/* The button covers the whole field; the label/value above is what shows. */
.si-player-widget-01 .sipw-filter__button {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.si-player-widget-01 .sipw-filter__button:focus-visible {
  outline: 2px solid var(--sipw-primary);
  outline-offset: -2px;
}

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

.si-player-widget-01 .sipw-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(--sipw-option-text);
  cursor: pointer;
}

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

.si-player-widget-01 .sipw-filter__option:hover,
.si-player-widget-01 .sipw-filter__option:focus-visible {
  outline: none;
  background: var(--sipw-option-hover);
}

.si-player-widget-01 .sipw-filter__option--selected,
.si-player-widget-01 .sipw-filter__option--selected:hover,
.si-player-widget-01 .sipw-filter__option--selected:focus-visible {
  background: var(--sipw-tab);
  color: var(--sipw-white);
  font-weight: 600;
}

.si-player-widget-01 .sipw-filter__option--selected::after {
  display: none;
}

.si-player-widget-01 .sipw-reset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 0 20px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  color: var(--sipw-muted);
  cursor: pointer;
}

.si-player-widget-01 .sipw-reset:focus-visible {
  outline: 2px solid var(--sipw-primary);
  outline-offset: -2px;
}

/* ── Stat cards (kabaddi and kho kho) ───────────────────────────────────── */

.si-player-widget-01 .sipw-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
  margin-top: 16px;
}

.si-player-widget-01 .sipw-cards__column {
  display: grid;
  gap: 16px;
}

.si-player-widget-01 .sipw-card {
  background: var(--sipw-white);
  box-shadow: var(--sipw-card-shadow);
}

.si-player-widget-01 .sipw-card__title {
  padding: 10px 12px;
  background: var(--sipw-primary);
  color: var(--sipw-white);
  font-size: 14px;
  font-weight: 700;
}

.si-player-widget-01 .sipw-stat-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--sipw-cell-border);
  font-size: 13px;
}

.si-player-widget-01 .sipw-stat-rows dd {
  color: var(--sipw-ink);
  font-size: 15px;
  font-weight: 600;
}

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

.si-player-widget-01 .sipw-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.si-player-widget-01 .sipw-form-card {
  background: var(--sipw-white);
  box-shadow: var(--sipw-card-shadow);
}

.si-player-widget-01 .sipw-form-card__player {
  padding: 10px 12px;
  background: var(--sipw-primary);
  color: var(--sipw-white);
  font-size: 14px;
  font-weight: 700;
}

.si-player-widget-01 .sipw-form-card__teams {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 8px;
  margin: 10px;
  padding: 8px;
  background: var(--sipw-bar);
  font-size: 12px;
  font-weight: 600;
}

.si-player-widget-01 .sipw-form-card__teams > span:nth-child(4) {
  text-align: right;
}

.si-player-widget-01 .sipw-form-card__vs {
  color: var(--sipw-muted);
  font-weight: 400;
}

.si-player-widget-01 .sipw-form-card__rows > div {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid var(--sipw-cell-border);
  font-size: 13px;
}

.si-player-widget-01 .sipw-form-card__rows dd {
  font-weight: 700;
}

.si-player-widget-01 .sipw-form-card__rows .sipw-form-card__total {
  background: var(--sipw-primary);
  color: var(--sipw-white);
  font-weight: 700;
}

.si-player-widget-01 .sipw-form-card__pairs {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.si-player-widget-01 .sipw-form-card__pairs > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 10px;
  border-bottom: 1px solid var(--sipw-cell-border);
  font-size: 12px;
}

.si-player-widget-01 .sipw-form-card__pairs > div:nth-child(odd) {
  border-right: 1px solid var(--sipw-cell-border);
}

.si-player-widget-01 .sipw-form-card__pairs dd {
  color: var(--sipw-ink);
  font-weight: 700;
}

/* ── Kho kho ────────────────────────────────────────────────────────────── */

.si-player-widget-01 .sipw-kk-hero {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px max(24px, calc((100% - var(--sipw-kk-width)) / 2));
  background: linear-gradient(
      115deg,
      rgb(255 255 255 / 6%) 0 6%,
      transparent 6% 94%,
      rgb(255 255 255 / 6%) 94%
    )
    var(--sipw-primary);
  /* Out to both screen edges: a side-clipped shadow, so the page does not widen. */
  box-shadow: 0 0 0 100vmax var(--sipw-primary);
  clip-path: inset(0 -100vmax);
  color: var(--sipw-white);
}

.si-player-widget-01 .sipw-kk-hero__photo {
  display: flex;
  flex: none;
  align-items: flex-end;
  justify-content: center;
  width: 150px;
  height: 150px;
  overflow: hidden;
  border: 4px solid var(--sipw-accent);
  border-radius: 50%;
  background: var(--sipw-white);
}

.si-player-widget-01 .sipw-kk-hero__photo img {
  width: 100%;
  height: auto;
}

.si-player-widget-01 .sipw-kk-hero__body {
  flex: 1;
  min-width: 0;
}

.si-player-widget-01--khokho .sipw-name {
  font-size: 30px;
  font-weight: 700;
}

.si-player-widget-01 .sipw-kk-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  font-size: 15px;
}

.si-player-widget-01 .sipw-kk-hero__facts > div {
  display: flex;
  gap: 24px;
  min-width: 360px;
  padding: 8px 14px;
  background: rgb(255 255 255 / 8%);
}

.si-player-widget-01 .sipw-kk-hero__strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 12px;
  padding: 14px 0;
  border-top: 1px solid rgb(255 255 255 / 20%);
  border-bottom: 1px solid rgb(255 255 255 / 20%);
  text-align: center;
}

.si-player-widget-01 .sipw-kk-hero__strip > div {
  display: grid;
  gap: 4px;
  border-right: 1px solid rgb(255 255 255 / 20%);
}

.si-player-widget-01 .sipw-kk-hero__strip > div:last-child {
  border-right: 0;
}

.si-player-widget-01 .sipw-kk-hero__strip dd {
  font-size: 30px;
  font-weight: 700;
}

.si-player-widget-01 .sipw-kk-hero__strip dt {
  font-size: 14px;
  font-weight: 600;
}

.si-player-widget-01--khokho .sipw-section {
  max-width: var(--sipw-kk-width);
  margin-right: auto;
  margin-left: auto;
}

.si-player-widget-01--khokho .sipw-section--band {
  /* Out to both screen edges: a side-clipped shadow, so the page does not widen. */
  box-shadow: 0 0 0 100vmax var(--sipw-band);
  clip-path: inset(0 -100vmax);
  max-width: none;
  padding-right: max(20px, calc((100% - var(--sipw-kk-width)) / 2));
  padding-left: max(20px, calc((100% - var(--sipw-kk-width)) / 2));
}

.si-player-widget-01 .sipw-discipline {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.si-player-widget-01 .sipw-discipline > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 14px;
  font-size: 15px;
}

.si-player-widget-01 .sipw-discipline > div:first-child {
  border-right: 1px solid var(--sipw-cell-border);
}

.si-player-widget-01 .sipw-discipline dt {
  display: flex;
  align-items: center;
  gap: 6px;
}

.si-player-widget-01 .sipw-icon--yellow {
  color: #f6c900;
}

.si-player-widget-01 .sipw-icon--red {
  color: #e04b4b;
}

.si-player-widget-01 .sipw-kk-ring {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 18px 12px;
  font-size: 15px;
}

.si-player-widget-01 .sipw-kk-ring strong {
  color: var(--sipw-ink);
  font-size: 26px;
}

.si-player-widget-01 .sipw-kk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.si-player-widget-01 .sipw-kk-grid > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--sipw-cell-border);
  font-size: 15px;
}

.si-player-widget-01 .sipw-kk-grid > div:nth-child(odd) {
  border-right: 1px solid var(--sipw-cell-border);
}

.si-player-widget-01 .sipw-kk-grid dd {
  color: var(--sipw-ink);
  font-weight: 700;
}

.si-player-widget-01 .sipw-kk-dives {
  padding: 12px;
}

.si-player-widget-01 .sipw-kk-dives__title {
  font-size: 15px;
  font-weight: 700;
}

.si-player-widget-01 .sipw-donut {
  display: block;
  width: 130px;
  height: 130px;
  margin: 10px 0;
}

.si-player-widget-01 .sipw-donut__track,
.si-player-widget-01 .sipw-donut__part {
  fill: none;
  stroke-width: 9;
}

.si-player-widget-01 .sipw-donut__track {
  stroke: var(--sipw-cell-border);
}

.si-player-widget-01 .sipw-donut__part--other {
  stroke: var(--sipw-dive-other);
}

.si-player-widget-01 .sipw-donut__part--pole {
  stroke: var(--sipw-dive-pole);
}

.si-player-widget-01 .sipw-donut__part--sky {
  stroke: var(--sipw-dive-sky);
}

.si-player-widget-01 .sipw-kk-dives__legend {
  display: grid;
  gap: 6px;
  font-size: 13px;
}

.si-player-widget-01 .sipw-kk-dives__legend li::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 9px;
  margin-right: 8px;
  vertical-align: middle;
}

.si-player-widget-01 .sipw-kk-dives__key--other::before {
  background: var(--sipw-dive-other);
}

.si-player-widget-01 .sipw-kk-dives__key--pole::before {
  background: var(--sipw-dive-pole);
}

.si-player-widget-01 .sipw-kk-dives__key--sky::before {
  background: var(--sipw-dive-sky);
}

.si-player-widget-01 .sipw-form-card--khokho {
  max-width: 380px;
}

.si-player-widget-01--khokho .sipw-section__title--small {
  font-size: 20px;
}

.si-player-widget-01--khokho .sipw-card__title {
  padding: 12px 14px;
  font-size: 16px;
}

.si-player-widget-01--khokho .sipw-stat-rows > div {
  padding: 15px 14px;
  font-size: 15px;
}

.si-player-widget-01--khokho .sipw-stat-rows dd {
  font-size: 17px;
}

.si-player-widget-01--khokho .sipw-form-card__teams {
  font-size: 14px;
}

.si-player-widget-01--khokho .sipw-form-card__teams .sipw-logo {
  width: 52px;
  height: 52px;
}

.si-player-widget-01--khokho .sipw-form-card__pairs > div {
  padding: 16px 12px;
  font-size: 14px;
}

/* ── Header background image from the binding ──────────────────────────── */

/* Kabaddi and kho kho headers run to the screen edges, so the image is drawn
   as a border image over the header plus the gap to each edge. */
.si-player-widget-01--hero-image .sipw-hero,
.si-player-widget-01--hero-image .sipw-kk-hero {
  border-image:
    var(--sipw-hero-image) 0 fill / 0 / 0 calc((100vw - 100cqw) / 2) stretch;
  box-shadow: none;
}

/* The cricket header is a card: the image covers it. */
.si-player-widget-01--hero-image .sipw-cricket-hero {
  background:
    var(--sipw-hero-image) center / cover no-repeat,
    var(--sipw-primary);
}

/* ── Smaller screens ────────────────────────────────────────────────────── */

@media (max-width: 1023px) {
  .si-player-widget-01 .sipw-cards,
  .si-player-widget-01 .sipw-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .si-player-widget-01 .sipw-journey {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

@media (max-width: 767px) {
  .si-player-widget-01 {
    --sipw-state-min-height: 50vh;
  }

  .si-player-widget-01 .sipw-cricket-hero,
  .si-player-widget-01 .sipw-hero,
  .si-player-widget-01 .sipw-kk-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 16px 0;
  }

  .si-player-widget-01 .sipw-kk-hero {
    padding-bottom: 20px;
  }

  .si-player-widget-01 .sipw-cricket-hero__top {
    flex-direction: column;
  }

  .si-player-widget-01 .sipw-cricket-hero__numbers > div:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .si-player-widget-01 .sipw-cricket-hero__facts,
  .si-player-widget-01 .sipw-cards,
  .si-player-widget-01 .sipw-form-grid {
    grid-template-columns: 1fr;
  }

  .si-player-widget-01 .sipw-kk-hero__strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 12px;
  }

  .si-player-widget-01 .sipw-kk-hero__facts > div {
    min-width: 0;
  }

  .si-player-widget-01 .sipw-hero__photo {
    width: 180px;
  }

  .si-player-widget-01 .sipw-name {
    font-size: 24px;
  }

  .si-player-widget-01 .sipw-journey__others {
    padding-left: 0;
  }

  .si-player-widget-01 .sipw-journey__rings {
    gap: 24px;
  }

  .si-player-widget-01 .sipw-filter {
    width: auto;
    flex: 1;
  }

  .si-player-widget-01 .sipw-form-card--khokho {
    max-width: none;
  }
}

/* ── Old-site sizes (QA) ────────────────────────────────────────────────── */

/* Section headings and biography, as the old pages (Manrope). */
.si-player-widget-01 .sipw-section__title {
  color: #00020d;
}

.si-player-widget-01--cricket .sipw-section__title,
.si-player-widget-01--khokho .sipw-section__title,
.si-player-widget-01--khokho .sipw-section__title--small {
  font-size: 18px;
}

.si-player-widget-01 .sipw-biography {
  gap: 25px;
  color: #00020d;
  line-height: 25px;
  text-align: justify;
}

/* Cricket header: the team's patterns at the top corners, at their own size. */
.si-player-widget-01--hero-pattern .sipw-cricket-hero {
  background-color: var(--sipw-primary);
  background-image: var(--sipw-pattern-left), var(--sipw-pattern-right);
  background-position:
    left top,
    right top;
  background-repeat: no-repeat;
}

/* Phones: only the left pattern, as the old pages (the right one is 768px up). */
@media (max-width: 767px) {
  .si-player-widget-01--hero-pattern .sipw-cricket-hero {
    background-image: var(--sipw-pattern-left);
  }
}

/* Shorter dividers between Matches / Runs / Wickets: just the two lines of text. */
.si-player-widget-01 .sipw-cricket-hero__numbers dt {
  line-height: 17px;
}

.si-player-widget-01 .sipw-cricket-hero__numbers dd {
  line-height: 30px;
}

/* Kabaddi: content 1100px inside the 1140px column; the header still runs edge to edge. */
.si-player-widget-01--kabaddi {
  --sipw-card-head: #044f96;
  --sipw-card-ink: #033059;

  padding-right: 20px;
  padding-left: 20px;
}

.si-player-widget-01--kabaddi .sipw-hero {
  gap: 34px;
  min-height: 235px;
  padding: 0;
}

.si-player-widget-01--kabaddi .sipw-hero__photo {
  width: 230px;
}

.si-player-widget-01--kabaddi .sipw-hero .sipw-name {
  line-height: 28px;
}

.si-player-widget-01--kabaddi .sipw-hero__nationality {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  min-height: 45px;
}

.si-player-widget-01 .sipw-flag {
  display: inline-block;
  width: 23px;
  height: 14px;
  object-fit: cover;
}

.si-player-widget-01--kabaddi .sipw-flag {
  width: 45px;
  height: auto;
}

/* Season filter above the tabs, as the other plugins' filter bars. */
.si-player-widget-01--kabaddi .sipw-filters {
  min-height: 50px;
  margin-top: 10px;
  border: 0;
}

.si-player-widget-01--kabaddi .sipw-filters + .sipw-tabs {
  margin-top: 15px;
}

.si-player-widget-01 .sipw-filter {
  padding: 5px 15px 5px 11px;
  border-right: 1px solid rgb(0 2 13 / 10%);
}

.si-player-widget-01 .sipw-filter__label {
  color: #4f4f4f;
  font-size: 14px;
  line-height: 20px;
}

.si-player-widget-01 .sipw-filter__value {
  color: #00204e;
  font-weight: 700;
  line-height: 20px;
}

.si-player-widget-01 .sipw-filter__menu {
  width: 100%;
}

.si-player-widget-01 .sipw-filter__option {
  color: #00327a;
  font-weight: 600;
}

.si-player-widget-01 .sipw-filter__option::after {
  background: rgb(0 50 122 / 15%);
}

/* Hover and the picked season: red text, no red block. */
.si-player-widget-01 .sipw-filter__option:hover,
.si-player-widget-01 .sipw-filter__option:focus-visible,
.si-player-widget-01 .sipw-filter__option--selected,
.si-player-widget-01 .sipw-filter__option--selected:hover,
.si-player-widget-01 .sipw-filter__option--selected:focus-visible {
  background: none;
  color: #da3832;
}

.si-player-widget-01 .sipw-filter__option--selected::after {
  display: block;
}

.si-player-widget-01 .sipw-reset {
  color: rgb(0 2 13 / 60%);
  font-size: 12px;
  font-weight: 600;
}

/* Journey: 1100px card, a kabaddi court behind Total Matches Played, the season sliding in. */
.si-player-widget-01--journey-image .sipw-journey {
  background:
    var(--sipw-journey-image) center / cover no-repeat,
    var(--sipw-primary);
}

.si-player-widget-01 .sipw-journey__court {
  justify-content: center;
  width: 210px;
  height: 120px;
  padding: 0 20px;
  border: 0;
  box-shadow: none;
  /* Court lines: outline, lobbies, centre and baulk lines. */
  background:
    linear-gradient(rgb(255 255 255 / 50%), rgb(255 255 255 / 50%)) 0 0 / 100%
    1px no-repeat,
    linear-gradient(rgb(255 255 255 / 50%), rgb(255 255 255 / 50%)) 0 100% /
    100% 1px no-repeat,
    linear-gradient(rgb(255 255 255 / 50%), rgb(255 255 255 / 50%)) 0 0 / 1px
    100% no-repeat,
    linear-gradient(rgb(255 255 255 / 50%), rgb(255 255 255 / 50%)) 100% 0 / 1px
    100% no-repeat,
    linear-gradient(rgb(255 255 255 / 50%), rgb(255 255 255 / 50%)) 0 12px /
    100% 1px no-repeat,
    linear-gradient(rgb(255 255 255 / 50%), rgb(255 255 255 / 50%)) 0
    calc(100% - 12px) / 100% 1px no-repeat,
    linear-gradient(rgb(255 255 255 / 50%), rgb(255 255 255 / 50%)) 50% 0 / 1px
    100% no-repeat,
    linear-gradient(rgb(255 255 255 / 50%), rgb(255 255 255 / 50%)) 23px 12px /
    1px calc(100% - 24px) no-repeat,
    linear-gradient(rgb(255 255 255 / 50%), rgb(255 255 255 / 50%)) 36px 12px /
    1px calc(100% - 24px) no-repeat,
    linear-gradient(rgb(255 255 255 / 50%), rgb(255 255 255 / 50%))
    calc(100% - 23px) 12px / 1px calc(100% - 24px) no-repeat,
    linear-gradient(rgb(255 255 255 / 50%), rgb(255 255 255 / 50%))
    calc(100% - 36px) 12px / 1px calc(100% - 24px) no-repeat;
  font-size: 12px;
  font-weight: 700;
}

.si-player-widget-01--court-image .sipw-journey__court {
  background: var(--sipw-court-image) center / contain no-repeat;
}

.si-player-widget-01 .sipw-journey__court span {
  max-width: 60px;
}

.si-player-widget-01 .sipw-journey .sipw-ring-stat__label {
  color: #f2f2f2;
  font-weight: 700;
}

.si-player-widget-01 .sipw-journey__points {
  width: 350px;
  max-width: 100%;
}

.si-player-widget-01 .sipw-journey__current {
  animation: sipw-slide-in 0.45s ease;
}

@keyframes sipw-slide-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .si-player-widget-01 .sipw-journey__current {
    animation: none;
  }
}

/* Kabaddi cards: no shadow, 3px corners, row lines inset 15px. */
.si-player-widget-01--kabaddi .sipw-cards {
  gap: 15px;
  margin-top: 15px;
}

.si-player-widget-01--kabaddi .sipw-card,
.si-player-widget-01--kabaddi .sipw-form-card {
  overflow: hidden;
  border: 1px solid #e9e9e9;
  border-radius: 3px;
  box-shadow: none;
}

.si-player-widget-01--kabaddi .sipw-card__title,
.si-player-widget-01--kabaddi .sipw-form-card__player {
  padding: 10px 15px;
  background: var(--sipw-card-head);
  font-size: 16px;
  font-weight: 700;
}

.si-player-widget-01--kabaddi .sipw-stat-rows,
.si-player-widget-01--kabaddi .sipw-form-card__rows {
  padding: 0 15px;
}

.si-player-widget-01--kabaddi .sipw-stat-rows > div,
.si-player-widget-01--kabaddi .sipw-form-card__rows > div {
  align-items: center;
  padding: 15px 0;
  color: var(--sipw-card-ink);
  font-size: 13px;
  font-weight: 700;
}

.si-player-widget-01--kabaddi .sipw-stat-rows dd,
.si-player-widget-01--kabaddi .sipw-form-card__rows dd {
  color: var(--sipw-card-ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 27px;
}

/* Ring stats: label, ring and value together in the middle, as the old cards. */
.si-player-widget-01--kabaddi .sipw-card .sipw-ring-stat {
  justify-content: center;
  gap: 25px;
  margin: 0 15px;
  padding: 25px 0;
}

.si-player-widget-01--kabaddi .sipw-card .sipw-ring-stat__label {
  max-width: 90px;
  color: var(--sipw-card-ink);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.si-player-widget-01--kabaddi .sipw-card .sipw-ring-stat__value {
  color: var(--sipw-card-head);
  font-size: 18px;
}

/* Form guide: three cards; the player bar with its "i", teams in a grey box. */
.si-player-widget-01--kabaddi .sipw-form-grid {
  gap: 6px;
}

.si-player-widget-01--kabaddi .sipw-form-card__player {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.si-player-widget-01 .sipw-form-card__info {
  display: inline-flex;
  color: var(--sipw-white);
}

.si-player-widget-01 .sipw-form-card__info .sipw-icon {
  width: 14px;
  height: 14px;
}

.si-player-widget-01--kabaddi .sipw-form-card__teams {
  grid-template-columns: auto minmax(0, 60px) auto minmax(0, 60px) auto;
  justify-content: center;
  gap: 10px;
  margin: 30px 15px 10px;
  padding: 10px;
  color: var(--sipw-card-ink);
  font-size: 12px;
  font-weight: 700;
}

.si-player-widget-01--kabaddi .sipw-form-card__teams .sipw-logo {
  width: 48px;
  height: 48px;
}

.si-player-widget-01--kabaddi .sipw-form-card__vs {
  color: var(--sipw-card-ink);
  font-size: 14px;
  font-weight: 700;
}

.si-player-widget-01--kabaddi .sipw-form-card__rows .sipw-form-card__total {
  margin: 0 -15px;
  padding: 10px 10px;
  background: var(--sipw-card-head);
}

.si-player-widget-01--kabaddi .sipw-form-card__rows .sipw-form-card__total,
.si-player-widget-01--kabaddi .sipw-form-card__rows .sipw-form-card__total dd {
  color: var(--sipw-white);
}

/* Kho kho header: plain navy (or the binding's image), 140px photo disc, fact pills. */
.si-player-widget-01--khokho {
  --sipw-kk-width: 100%;
  --sipw-kk-ink: #00327a;
  --sipw-dive-other: #2a7dc0;
  --sipw-dive-pole: #00327a;
  --sipw-dive-sky: #ffaf3f;
}

.si-player-widget-01 .sipw-kk-hero {
  gap: 30px;
  min-height: 265px;
  padding: 25px 0;
  background: var(--sipw-primary);
}

.si-player-widget-01 .sipw-kk-hero__photo {
  align-items: center;
  width: 140px;
  height: 140px;
}

.si-player-widget-01 .sipw-kk-hero__photo img {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
}

.si-player-widget-01--khokho .sipw-name {
  font-size: 25px;
  line-height: 35px;
}

.si-player-widget-01--khokho .sipw-role {
  font-size: 12px;
  font-weight: 600;
}

.si-player-widget-01 .sipw-kk-hero__facts {
  gap: 7px;
  font-size: 12px;
}

.si-player-widget-01 .sipw-kk-hero__facts > div {
  align-items: center;
  gap: 5px;
  width: 250px;
  min-width: 0;
  height: 32px;
  padding: 7.5px 10px;
  border-radius: 2px;
  background: rgb(0 37 91 / 30%);
}

.si-player-widget-01 .sipw-kk-hero__facts dd {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* As the old header: the facts and strip take about 735px beside the photo,
   the strip a row of items sized to their one-line labels. */
.si-player-widget-01 .sipw-kk-hero__body {
  max-width: 735px;
}

.si-player-widget-01 .sipw-kk-hero__strip {
  display: flex;
  margin-top: 10px;
  padding: 0;
}

.si-player-widget-01 .sipw-kk-hero__strip > div {
  flex: 1 1 auto;
  gap: 0;
  padding: 15px 20px;
  white-space: nowrap;
}

.si-player-widget-01 .sipw-kk-hero__strip dt {
  font-size: 12px;
}

/* Kho kho cards, as the old page: 2px corners, a soft shadow, #00327a text. */
.si-player-widget-01--khokho .sipw-card,
.si-player-widget-01--khokho .sipw-form-card {
  border-radius: 2px;
  box-shadow: rgb(0 2 13 / 10%) -1px 3px 5px 1px;
}

.si-player-widget-01--khokho .sipw-card__title {
  padding: 10px;
  border-radius: 2px;
  background: #00327a;
  font-size: 14px;
  font-weight: 600;
}

.si-player-widget-01--khokho .sipw-stat-rows > div,
.si-player-widget-01--khokho .sipw-kk-grid > div,
.si-player-widget-01--khokho .sipw-discipline > div {
  align-items: center;
  padding: 15px 10px;
  color: var(--sipw-kk-ink);
  font-size: 12px;
  font-weight: 600;
}

.si-player-widget-01--khokho .sipw-stat-rows dd,
.si-player-widget-01--khokho .sipw-kk-grid dd,
.si-player-widget-01--khokho .sipw-discipline dd {
  color: var(--sipw-kk-ink);
  font-size: 14px;
  font-weight: 700;
}

.si-player-widget-01--khokho .sipw-icon--card {
  width: 27px;
  height: 27px;
}

.si-player-widget-01--khokho .sipw-kk-ring {
  color: var(--sipw-kk-ink);
  font-size: 12px;
  font-weight: 600;
}

.si-player-widget-01--khokho .sipw-kk-ring strong {
  color: #00255b;
  font-size: 20px;
}

.si-player-widget-01--khokho .sipw-kk-dives__title {
  color: var(--sipw-kk-ink);
  font-size: 14px;
}

.si-player-widget-01--khokho .sipw-donut {
  width: 120px;
  height: 120px;
}

.si-player-widget-01--khokho .sipw-kk-dives__legend {
  color: var(--sipw-kk-ink);
  font-size: 10px;
  font-weight: 600;
}

.si-player-widget-01--khokho .sipw-kk-dives__legend li::before {
  width: 21px;
  height: 13px;
  border-radius: 2px;
}

/* Kho kho form guide: white 365px cards with 15px padding, teams in a grey box. */
.si-player-widget-01 .sipw-form-card--khokho {
  max-width: none;
  padding: 15px;
  background: var(--sipw-white);
}

.si-player-widget-01--khokho .sipw-form-grid {
  gap: 22px;
}

.si-player-widget-01--khokho .sipw-form-card__teams {
  margin: 0;
  padding: 10px;
  border-radius: 2px;
  color: var(--sipw-kk-ink);
  font-size: 12px;
  font-weight: 700;
}

.si-player-widget-01--khokho .sipw-form-card__teams .sipw-logo {
  width: 40px;
  height: 40px;
  border-width: 2px;
  box-shadow: 0 0 5px rgb(0 2 13 / 70%);
}

.si-player-widget-01--khokho .sipw-form-card__vs {
  color: var(--sipw-kk-ink);
  font-size: 14px;
  font-weight: 700;
}

.si-player-widget-01--khokho .sipw-form-card__pairs > div {
  align-items: center;
  padding: 13px 10px;
  color: var(--sipw-kk-ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 16.8px;
}

.si-player-widget-01--khokho .sipw-form-card__pairs dd {
  color: var(--sipw-kk-ink);
  font-size: 14px;
}

/* The old site's container width by screen size. */
@media (min-width: 576px) {
  .si-player-widget-01 {
    --sipw-container: 540px;
  }
}

@media (min-width: 768px) {
  .si-player-widget-01 {
    --sipw-container: 720px;
  }
}

@media (min-width: 992px) {
  .si-player-widget-01 {
    --sipw-container: 960px;
  }
}

@media (min-width: 1200px) {
  .si-player-widget-01 {
    --sipw-container: 1140px;
  }
}

@media (min-width: 1600px) {
  .si-player-widget-01 {
    --sipw-container: 1400px;
  }
}

/* Tablets: the old pages stack the stat and form cards one a row. */
@media (min-width: 577px) and (max-width: 991px) {
  .si-player-widget-01 .sipw-cards,
  .si-player-widget-01 .sipw-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Phones: 15px gutters; the kho kho header centred, as the old page. */
@media (max-width: 575px) {
  .si-player-widget-01,
  .si-player-widget-01--kabaddi {
    padding-right: 15px;
    padding-left: 15px;
  }

  .si-player-widget-01 .sipw-kk-hero {
    align-items: center;
    padding: 25px 0;
    text-align: center;
  }

  .si-player-widget-01 .sipw-kk-hero__photo {
    margin: 0 auto;
  }

  .si-player-widget-01--khokho .sipw-name {
    font-size: 28px;
  }

  .si-player-widget-01 .sipw-kk-hero__facts {
    flex-direction: column;
    align-items: center;
  }

  .si-player-widget-01 .sipw-kk-hero__facts > div {
    justify-content: center;
  }

  .si-player-widget-01 .sipw-kk-hero__strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .si-player-widget-01 .sipw-kk-hero__strip > div {
    flex: 1 1 33%;
    padding: 10px 5px;
  }
}

/* ── 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-player-widget-01 .sipw-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: 0 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-player-widget-01 .sipw-page-head--cover::before,
.si-player-widget-01 .sipw-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-player-widget-01 .sipw-page-head--pattern::before {
  background-position: right top;
  background-size: auto;
}

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

/* ── Responsive: tablet and phone layouts ─────────────────────────────── */

/* Below 1200px the cricket details run two to a row, so each label and
   value keeps its width. */
@media (max-width: 1199px) {
  .si-player-widget-01 .sipw-cricket-hero__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Tablets: the cricket name sits above Matches / Runs / Wickets; the kho kho
   strip wraps three items a row instead of running off the screen. */
@media (max-width: 991px) {
  .si-player-widget-01 .sipw-cricket-hero__top {
    flex-direction: column;
    gap: 12px;
  }

  .si-player-widget-01 .sipw-cricket-hero__numbers {
    padding-top: 0;
  }

  .si-player-widget-01 .sipw-cricket-hero__numbers > div:first-child {
    padding-left: 0;
  }

  .si-player-widget-01 .sipw-kk-hero__body {
    max-width: none;
  }

  .si-player-widget-01 .sipw-kk-hero__strip {
    flex-wrap: wrap;
  }

  .si-player-widget-01 .sipw-kk-hero__strip > div {
    flex: 1 1 33%;
    padding: 12px 10px;
    white-space: normal;
  }
}

/* Phones: the kabaddi journey stacks inside the screen (no sideways scroll). */
@media (max-width: 767px) {
  .si-player-widget-01 .sipw-journey {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px 15px;
  }

  .si-player-widget-01 .sipw-journey__list,
  .si-player-widget-01 .sipw-journey__stats {
    min-width: 0;
  }

  .si-player-widget-01 .sipw-journey__rings {
    flex-wrap: wrap;
    justify-content: center;
  }

  .si-player-widget-01 .sipw-journey .sipw-ring-stat__label {
    text-align: center;
  }

  .si-player-widget-01 .sipw-journey__court {
    max-width: 100%;
  }

  .si-player-widget-01 .sipw-journey__points {
    width: 100%;
  }
}

/* ── Responsive QA (round 2): measured against the old pages ─────────────── */

/* Biography: left-aligned, as the old pages (they never justify it). */
.si-player-widget-01 .sipw-biography {
  text-align: start;
}

/* Kabaddi header: the photo column is 24% of the header (the old head is 30%
   of 80%); the 230px photo overflows it under the name, as the old page. */
.si-player-widget-01--kabaddi .sipw-hero {
  gap: 0;
  min-height: 230px;
}

.si-player-widget-01--kabaddi .sipw-hero__photo {
  flex: 0 0 24%;
  width: 24%;
}

.si-player-widget-01--kabaddi .sipw-hero__photo img {
  width: 230px;
  max-width: none;
}

.si-player-widget-01--kabaddi .sipw-hero__body {
  position: relative;
  min-width: 0;
}

/* Bio / Stats tabs: 60% of the column (660px of 1100, 408px of 680). */
.si-player-widget-01--kabaddi .sipw-tabs {
  width: 60%;
  max-width: none;
}

/* Season filter: a 200px field, as the old bar. */
.si-player-widget-01--kabaddi .sipw-filter {
  flex: none;
  width: 200px;
}

/* Form guide cards: teams 30px below the bar, then Total Points and the rows
   inside the card's 15px padding, 10px in, 47px a row. */
.si-player-widget-01--kabaddi .sipw-form-card__teams {
  margin: 30px 15px 0;
}

.si-player-widget-01--kabaddi .sipw-form-card__rows {
  padding: 0 15px 15px;
}

.si-player-widget-01--kabaddi .sipw-form-card__rows > div,
.si-player-widget-01--kabaddi .sipw-form-card__rows .sipw-form-card__total {
  margin: 0;
  padding: 10px;
}

/* Journey from tablets up: two columns, as the old card (season list 400px,
   stats 350px at the right; 250px on tablets), 50px in, 480px tall. */
@media (min-width: 768px) {
  .si-player-widget-01 .sipw-journey {
    grid-template-columns: minmax(0, 400px) minmax(0, 350px);
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    min-height: 480px;
    padding: 25px 50px;
  }

  /* Stats sized to their column (Total Points' 350px line shrinks with it). */
  .si-player-widget-01 .sipw-journey__stats {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .si-player-widget-01 .sipw-journey {
    grid-template-columns: minmax(0, 1fr) 250px;
  }

  .si-player-widget-01 .sipw-journey__rings {
    gap: 20px;
  }

  .si-player-widget-01 .sipw-journey .sipw-ring-stat__label {
    max-width: 110px;
    text-align: center;
  }

  .si-player-widget-01 .sipw-journey__others {
    padding-left: 40px;
  }
}

/* Cricket header: the photo column is 20% of the card, the photo centred in it. */
.si-player-widget-01 .sipw-cricket-hero {
  gap: 0;
  min-height: 186px;
  padding-left: 0;
}

.si-player-widget-01 .sipw-cricket-hero__photo {
  flex: 0 0 20%;
  justify-content: center;
  width: 20%;
  padding: 0 20px;
}

.si-player-widget-01 .sipw-cricket-hero__photo img {
  max-width: 155px;
}

/* The phone table (figures turned on their side) only shows on phones. */
.si-player-widget-01 .sipw-table-wrap--stacked {
  display: none;
}

/* Kho kho: 37px from the header to Statistics; the form guide on a grey band
   (its heading and cards in the column); 57px form rows, as the old page. */
.si-player-widget-01--khokho .sipw-kk-hero + .sipw-section {
  margin-top: 37px;
}

.si-player-widget-01--khokho .sipw-section--band {
  padding: 28px 0 20px;
}

.si-player-widget-01--khokho .sipw-form-card__pairs > div {
  min-height: 57px;
}

@media (min-width: 992px) {
  .si-player-widget-01--khokho .sipw-cards {
    gap: 22px;
  }
}

/* Tablets: the cricket name beside Matches / Runs / Wickets (16px name,
   20px figures, 74px each). */
@media (min-width: 768px) and (max-width: 991px) {
  .si-player-widget-01 .sipw-cricket-hero__top {
    flex-direction: row;
  }

  .si-player-widget-01 .sipw-cricket-hero .sipw-name {
    font-size: 16px;
  }

  .si-player-widget-01 .sipw-cricket-hero__numbers > div {
    width: 74px;
    padding: 0;
  }

  .si-player-widget-01 .sipw-cricket-hero__numbers dd {
    font-size: 20px;
  }
}

/* Tablets and small laptops: the kho kho band content 15px in. */
@media (min-width: 768px) and (max-width: 1199px) {
  .si-player-widget-01--khokho .sipw-section--band {
    padding-right: 15px;
    padding-left: 15px;
  }
}

/* Phones, as the old pages. */
@media (max-width: 767px) {
  /* Kabaddi header stays a row: photo half the width (190px), name on two lines. */
  .si-player-widget-01--kabaddi .sipw-hero {
    flex-direction: row;
    align-items: center;
    min-height: 190px;
    padding: 0;
  }

  .si-player-widget-01--kabaddi .sipw-hero__photo {
    flex-basis: 50%;
    width: 50%;
  }

  .si-player-widget-01--kabaddi .sipw-hero__photo img {
    width: 190px;
  }

  .si-player-widget-01--kabaddi .sipw-hero .sipw-name {
    font-size: 22px;
    line-height: 22px;
  }

  .si-player-widget-01--kabaddi .sipw-hero .sipw-name strong {
    display: block;
  }

  .si-player-widget-01--kabaddi .sipw-tabs {
    width: 100%;
  }

  /* Filter bar: 38px, the reset as its icon only (the text stays for screen readers). */
  .si-player-widget-01--kabaddi .sipw-filters {
    min-height: 38px;
  }

  .si-player-widget-01 .sipw-reset span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  /* Journey: the current season between left / right arrows; the others hidden. */
  .si-player-widget-01 .sipw-journey__list {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .si-player-widget-01 .sipw-journey__others {
    display: none;
  }

  .si-player-widget-01 .sipw-journey__move .sipw-icon {
    transform: rotate(-90deg);
  }

  .si-player-widget-01 .sipw-journey__current {
    gap: 15px;
    min-width: 0;
  }

  .si-player-widget-01 .sipw-journey__current .sipw-logo {
    width: 63px;
    height: 63px;
  }

  /* Cricket header stacked and centred: photo, name, figures in three equal
     columns, then one detail a row (label 60%, value 40%). */
  .si-player-widget-01 .sipw-cricket-hero {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 15px;
    text-align: center;
  }

  .si-player-widget-01 .sipw-cricket-hero__photo {
    flex: none;
    width: auto;
    padding: 0;
  }

  .si-player-widget-01 .sipw-cricket-hero__photo img {
    width: 231px;
    max-width: 100%;
  }

  .si-player-widget-01 .sipw-cricket-hero__body {
    padding-bottom: 0;
  }

  .si-player-widget-01 .sipw-cricket-hero__top {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px 0 0;
  }

  .si-player-widget-01 .sipw-cricket-hero .sipw-name {
    font-size: 20px;
  }

  .si-player-widget-01 .sipw-cricket-hero .sipw-role {
    margin-top: 0;
  }

  .si-player-widget-01 .sipw-cricket-hero__numbers {
    padding: 15px 0;
  }

  .si-player-widget-01 .sipw-cricket-hero__numbers > div {
    flex: 1 1 0;
    width: auto;
    padding: 0;
  }

  .si-player-widget-01 .sipw-cricket-hero__numbers dd {
    font-size: 20px;
  }

  .si-player-widget-01 .sipw-cricket-hero__facts {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 30px;
    text-align: left;
  }

  .si-player-widget-01 .sipw-cricket-hero__facts > div {
    grid-template-columns: 60% 40%;
  }

  .si-player-widget-01 .sipw-cricket-hero__facts dd {
    font-size: 14px;
  }

  /* Tables turned on their side: labels down the left (sticky), a column per format. */
  .si-player-widget-01 .sipw-table-wrap {
    display: none;
  }

  .si-player-widget-01 .sipw-table-wrap--stacked {
    display: block;
  }

  .si-player-widget-01 .sipw-table--stacked {
    min-width: 0;
  }

  .si-player-widget-01 .sipw-table--stacked th,
  .si-player-widget-01 .sipw-table--stacked td {
    min-width: 110px;
    padding: 7px 10px;
    white-space: nowrap;
  }

  .si-player-widget-01 .sipw-table--stacked .sipw-table__first {
    position: sticky;
    left: 0;
    z-index: 1;
    width: 50%;
    min-width: 150px;
  }

  .si-player-widget-01 .sipw-table--stacked tbody th {
    background: var(--sipw-highlight);
    font-weight: 400;
  }

  .si-player-widget-01 .sipw-table--stacked td {
    background: var(--sipw-white);
    font-weight: 600;
  }

  .si-player-widget-01--khokho .sipw-section--band {
    padding-right: 0;
    padding-left: 0;
  }
}

/* Phones: the player pages get no side gap from the site (the plugin root
   sits at the screen edge), so the plugin keeps its own 15px; kabaddi 20px,
   as the old page. Kho kho: the name on two 20px lines, 20px strip figures. */
@media (max-width: 575px) {
  .si-player-widget-01--kabaddi {
    padding-right: 20px;
    padding-left: 20px;
  }

  .si-player-widget-01--khokho .sipw-name {
    font-size: 20px;
    line-height: 28px;
  }

  .si-player-widget-01--khokho .sipw-name span {
    display: block;
  }

  .si-player-widget-01 .sipw-kk-hero__strip > div {
    padding: 15px 10px;
  }

  .si-player-widget-01 .sipw-kk-hero__strip dd {
    font-size: 20px;
  }
}

/* ── Phone filter bar and panel (mobile user agents, below 768px) ─────── */

/* As the old pages on phones and tablets (they decide by user agent): one
   38px "Filter" bar with a filter and a reset icon instead of the filter
   row; the filter icon opens a full-screen panel (navy head with Cancel,
   the field, Apply / Reset at the bottom). Rendered only for mobile user
   agents; hidden from 768px. */
.si-player-widget-01 {
  --sipw-mfilter-icon: rgb(0 2 13 / 50%);
  --sipw-mfilter-value: #00204e;
  --sipw-sheet-head: #00327a;
  --sipw-sheet-accent: #f5a500;
  --sipw-sheet-apply-text: #000;
  --sipw-sheet-line: rgb(0 2 13 / 70%);
}

.si-player-widget-01 .sipw-mfilter {
  display: none;
  align-items: center;
  height: 38px;
  margin-top: 10px;
  background: var(--sipw-bar);
}

.si-player-widget-01 .sipw-mfilter__open,
.si-player-widget-01 .sipw-mfilter__reset {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

.si-player-widget-01 .sipw-mfilter__open {
  flex: 1 1 auto;
  justify-content: space-between;
  min-width: 0;
  padding-left: 8px;
}

.si-player-widget-01 .sipw-mfilter__title {
  color: var(--sipw-mfilter-value);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.si-player-widget-01 .sipw-mfilter .sipw-icon--filter {
  width: 24px;
  height: 14px;
  margin-right: 7.5px;
  color: var(--sipw-mfilter-icon);
}

.si-player-widget-01 .sipw-mfilter__reset {
  flex: none;
  justify-content: center;
  width: 30px;
  color: var(--sipw-mfilter-icon);
}

.si-player-widget-01 .sipw-mfilter__reset .sipw-icon {
  width: 16px;
  height: 16px;
}

.si-player-widget-01 .sipw-mfilter__open:focus-visible,
.si-player-widget-01 .sipw-mfilter__reset:focus-visible {
  outline: 2px solid var(--sipw-primary);
  outline-offset: -2px;
}

.si-player-widget-01 .sipw-sheet {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  background: var(--sipw-white);
}

.si-player-widget-01 .sipw-sheet__head {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  padding: 0 7.5px;
  border-radius: 0 0 4px 4px;
  background: var(--sipw-sheet-head);
}

.si-player-widget-01 .sipw-sheet__title {
  color: var(--sipw-white);
  font-size: 12px;
  font-weight: 600;
  line-height: 17px;
}

.si-player-widget-01 .sipw-sheet__cancel {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  color: var(--sipw-white);
  cursor: pointer;
}

.si-player-widget-01 .sipw-sheet__cancel .sipw-icon {
  width: 12px;
  height: 12px;
  color: var(--sipw-sheet-accent);
}

.si-player-widget-01 .sipw-sheet__body {
  flex: 1 1 auto;
  overflow-y: auto;
}

/* The field: a 40px full-width row with a line under it; its list opens in place. */
.si-player-widget-01 .sipw-sheet .sipw-filter {
  width: 100%;
  min-height: 40px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: start;
  padding: 0 15px;
  border-right: 0;
  border-bottom: 1px solid var(--sipw-sheet-line);
}

.si-player-widget-01 .sipw-sheet .sipw-filter__label,
.si-player-widget-01 .sipw-sheet .sipw-filter__value {
  line-height: 19.5px;
}

.si-player-widget-01 .sipw-sheet .sipw-filter__button {
  height: 40px;
}

.si-player-widget-01 .sipw-sheet .sipw-filter .sipw-icon--chevron-down {
  align-self: center;
  width: 18px;
  height: 18px;
}

.si-player-widget-01 .sipw-sheet .sipw-filter__menu {
  position: relative;
  top: auto;
  z-index: 1;
  grid-column: 1 / -1;
  width: auto;
  margin: 0 -15px;
  padding: 0 7.5px;
  border-radius: 0 0 4px 4px;
  box-shadow: none;
}

.si-player-widget-01 .sipw-sheet__foot {
  display: flex;
  flex: none;
  justify-content: center;
  gap: 15px;
  padding: 10px 0;
  box-shadow: 0 1px 10px 1px rgb(0 2 13 / 30%);
}

.si-player-widget-01 .sipw-sheet__apply,
.si-player-widget-01 .sipw-sheet__reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 140px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.si-player-widget-01 .sipw-sheet__apply {
  background: var(--sipw-sheet-accent);
  color: var(--sipw-sheet-apply-text);
}

.si-player-widget-01 .sipw-sheet__reset {
  background: var(--sipw-bar);
  color: var(--sipw-sheet-line);
}

.si-player-widget-01 .sipw-sheet__reset .sipw-icon {
  width: 16px;
  height: 16px;
}

.si-player-widget-01 .sipw-sheet button:focus-visible {
  outline: 2px solid var(--sipw-primary);
  outline-offset: -2px;
}

@media (max-width: 767px) {
  .si-player-widget-01 .sipw-mfilter {
    display: flex;
  }

  /* The bar replaces the season filter row. */
  .si-player-widget-01 .sipw-mfilter + .sipw-filters {
    display: none;
  }

  .si-player-widget-01--kabaddi .sipw-mfilter ~ .sipw-tabs {
    margin-top: 15px;
  }

  /* Cricket: the bar sits above "Statistics", 15px over it. */
  .si-player-widget-01--cricket .sipw-mfilter {
    margin: 0 0 15px;
  }
}

/* The panel's host on <body>: no container, column or padding of its own. */
.si-player-widget-01.sipw-sheet-root {
  container-type: normal;
  max-width: none;
  margin: 0;
  padding: 0;
}

.si-player-widget-01--kabaddi .sipw-filters,
.si-player-widget-01--kabaddi .sipw-mfilter {
  margin-top: 15px;
}

/* Phones, cricket header: a line under the photo, under the role and under
   Matches / Runs / Wickets, as the old card. */
@media (max-width: 767px) {
  .si-player-widget-01 .sipw-cricket-hero__photo {
    padding-bottom: 5px;
  }

  .si-player-widget-01 .sipw-cricket-hero__top {
    border-top: 1px solid rgb(255 255 255 / 40%);
  }

  .si-player-widget-01 .sipw-cricket-hero__numbers {
    margin-top: 20px;
    border-top: 1px solid rgb(255 255 255 / 40%);
  }

  .si-player-widget-01 .sipw-cricket-hero__facts {
    padding-top: 40px;
    border-top: 1px solid rgb(255 255 255 / 40%);
  }
}

/* The panel's open list on a light grey, as the old panel. */
.si-player-widget-01 .sipw-sheet .sipw-filter__menu {
  background: var(--sipw-band);
}

/* ── Responsive QA (round 4): measured against the old pages ─────────────── */

/* Text boxes as the old pages (line-height: normal for Manrope), and the old
   headings' capitalisation ("Journey With PKL"). */
.si-player-widget-01 {
  line-height: normal;
}

.si-player-widget-01 .sipw-section__title {
  text-transform: capitalize;
}

/* Kabaddi: tabs 15px under the header, the journey heading 15px under the
   tabs and 10px over the card. */
.si-player-widget-01--kabaddi .sipw-tabs {
  margin-top: 15px;
}

.si-player-widget-01--kabaddi .sipw-tabs + div > .sipw-section:first-child {
  margin-top: 15px;
}

.si-player-widget-01--kabaddi
  .sipw-section:has(> .sipw-journey)
  .sipw-section__title {
  margin-bottom: 10px;
}

.si-player-widget-01--kabaddi .sipw-role {
  margin-top: 5px;
}

/* Journey: the old 85px rings (80px circle, 2px line on a light track), the
   court and figures in the old sizes, the 1px divider before the season. */
.si-player-widget-01 .sipw-journey {
  overflow: hidden;
}

.si-player-widget-01 .sipw-journey .sipw-ring circle {
  r: 47px;
  stroke-width: 2.35;
}

.si-player-widget-01 .sipw-journey .sipw-ring__track {
  stroke: #f2f2f2;
}

.si-player-widget-01 .sipw-journey__current .sipw-logo {
  padding: 7.5px;
  border: 1px solid #f2f2f2;
  background: var(--sipw-white);
}

.si-player-widget-01 .sipw-journey__team {
  width: fit-content;
}

.si-player-widget-01 .sipw-journey__team strong {
  margin-right: 7.5px;
}

.si-player-widget-01 .sipw-journey__season,
.si-player-widget-01 .sipw-journey__others li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.si-player-widget-01 .sipw-journey__label {
  position: relative;
  padding-left: 15px;
  line-height: 1;
}

.si-player-widget-01 .sipw-journey__label::before {
  position: absolute;
  top: 0;
  left: 7.5px;
  width: 1px;
  height: 100%;
  background: currentcolor;
  content: "";
}

.si-player-widget-01 .sipw-journey__stats {
  gap: 0;
}

.si-player-widget-01 .sipw-journey__court {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 220px;
  height: 120px;
  margin-bottom: 40px;
  padding: 0;
}

.si-player-widget-01 .sipw-journey__court span {
  justify-self: end;
  width: 55px;
  max-width: none;
  margin-right: 5px;
}

.si-player-widget-01 .sipw-journey__court strong {
  justify-self: start;
  width: 55px;
  font-weight: 700;
  text-align: center;
}

.si-player-widget-01 .sipw-journey__rings {
  justify-content: center;
  gap: 40px;
}

.si-player-widget-01 .sipw-journey .sipw-ring-stat {
  gap: 15px;
}

.si-player-widget-01 .sipw-journey .sipw-ring-stat__label {
  text-align: center;
}

.si-player-widget-01 .sipw-journey__points {
  position: relative;
  gap: 0;
  margin-top: 60px;
  padding-top: 0;
  border-top: 0;
  color: #f2f2f2;
  font-size: 12px;
  font-weight: 700;
}

.si-player-widget-01 .sipw-journey__points::before {
  position: absolute;
  top: -30px;
  right: 0;
  left: 0;
  height: 1px;
  background: rgb(255 255 255 / 40%);
  content: "";
}

.si-player-widget-01 .sipw-journey__points strong {
  font-size: 40px;
  font-weight: 700;
}

/* Tablets and desktops: the current season in the middle of the left
   column, the arrows at its top and bottom, the older seasons faint below. */
@media (min-width: 768px) {
  .si-player-widget-01 .sipw-journey {
    padding: 50px;
  }

  .si-player-widget-01 .sipw-journey__list {
    position: relative;
    align-self: stretch;
    justify-content: center;
    min-height: 380px;
  }

  .si-player-widget-01 .sipw-journey__move {
    position: absolute;
    left: 50%;
    padding: 0;
    transform: translateX(-50%);
  }

  .si-player-widget-01 .sipw-journey__move:first-child {
    top: 2px;
  }

  .si-player-widget-01 .sipw-journey__move:last-child {
    bottom: 2px;
  }

  .si-player-widget-01 .sipw-journey__move:disabled {
    opacity: 1;
  }

  .si-player-widget-01 .sipw-journey__current {
    gap: 15px;
  }

  .si-player-widget-01 .sipw-journey__current .sipw-logo {
    width: 70px;
    height: 83px;
  }

  .si-player-widget-01 .sipw-journey__others {
    position: absolute;
    top: calc(50% + 75px);
    left: 0;
    gap: 15px;
    width: 100%;
    padding-left: 85px;
    opacity: 0.1;
  }

  .si-player-widget-01 .sipw-journey__others li {
    max-width: 209px;
  }

  .si-player-widget-01 .sipw-journey__others .sipw-journey__year {
    font-size: 28px;
  }

  .si-player-widget-01 .sipw-journey__stats {
    align-self: center;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .si-player-widget-01 .sipw-journey__current .sipw-logo {
    width: 50px;
  }

  .si-player-widget-01 .sipw-journey__others {
    padding-left: 65px;
  }

  /* Rings 85px wide, so their labels wrap ("Raid Strike / Rate"). */
  .si-player-widget-01 .sipw-journey .sipw-ring-stat {
    width: 85px;
  }
}

/* Phones: the old slider row (arrows at the edges, a 63px logo, the season
   on one line), a 190 x 100 court, rings spread across the card. */
@media (max-width: 767px) {
  .si-player-widget-01 .sipw-journey {
    gap: 0;
    padding: 30px 15px;
  }

  .si-player-widget-01 .sipw-journey__list {
    gap: 0;
    min-height: 100px;
  }

  .si-player-widget-01 .sipw-journey__move {
    padding: 0;
  }

  .si-player-widget-01 .sipw-journey__move .sipw-icon {
    width: 14px;
    height: 14px;
  }

  .si-player-widget-01 .sipw-journey__current {
    flex: 1;
    gap: 17px;
    margin-left: 26px;
  }

  .si-player-widget-01 .sipw-journey__team {
    padding-bottom: 0;
    border-bottom: 0;
    font-size: 16px;
  }

  .si-player-widget-01 .sipw-journey__season {
    margin-top: 0;
    font-size: 13px;
  }

  .si-player-widget-01 .sipw-journey__current .sipw-journey__year {
    font-size: 20px;
  }

  .si-player-widget-01 .sipw-journey__stats {
    padding-top: 20px;
  }

  .si-player-widget-01 .sipw-journey__court {
    width: 190px;
    height: 100px;
    font-size: 10px;
  }

  .si-player-widget-01 .sipw-journey__court span {
    width: 48px;
    margin-right: 0;
  }

  .si-player-widget-01 .sipw-journey__court strong {
    width: 48px;
    margin-left: 10px;
    font-size: 24px;
  }

  .si-player-widget-01 .sipw-journey__rings {
    flex-wrap: nowrap;
    justify-content: space-around;
    gap: 0;
    width: 100%;
  }

  /* Header: the old 35px flag and 13px country. */
  .si-player-widget-01--kabaddi .sipw-flag {
    width: 35px;
    height: 35px;
  }

  .si-player-widget-01--kabaddi .sipw-hero__nationality {
    font-size: 13px;
  }

  /* The phone images from the binding, as the old pages swap them in. The
     header image is the old 260px-tall cover from 65px down. */
  .si-player-widget-01--hero-image-mobile .sipw-hero {
    margin-right: calc((100cqw - 100vw) / 2);
    margin-left: calc((100cqw - 100vw) / 2);
    padding-right: calc((100vw - 100cqw) / 2);
    padding-left: calc((100vw - 100cqw) / 2);
    border-image: none;
    background:
      var(--sipw-hero-image-mobile) 50% -65px / 100vw auto no-repeat,
      var(--sipw-primary);
  }

  .si-player-widget-01--journey-image-mobile .sipw-journey {
    background:
      var(--sipw-journey-image-mobile) 50% 50% / 100% auto no-repeat,
      var(--sipw-primary);
  }

  /* Cricket details: the colon 50px before the value column, 31px a row. */
  .si-player-widget-01 .sipw-cricket-hero__facts {
    row-gap: 15px;
  }

  .si-player-widget-01 .sipw-cricket-hero__facts dt {
    padding-right: 50px;
  }

  .si-player-widget-01 .sipw-cricket-hero__facts dt,
  .si-player-widget-01 .sipw-cricket-hero__facts dd {
    line-height: 16px;
  }
}

/* Kho kho phones: the Team / Nationality boxes read from the left, and the
   discipline cards one a row, as the old page. */
@media (max-width: 575px) {
  .si-player-widget-01--khokho .sipw-kk-hero__facts > div {
    justify-content: flex-start;
    text-align: left;
  }

  .si-player-widget-01--khokho .sipw-kk-hero__facts dt {
    padding: 0 5px;
  }

  .si-player-widget-01--khokho .sipw-kk-hero__facts dd {
    padding: 0 5px 0 15px;
  }

  .si-player-widget-01--khokho .sipw-discipline {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 10px;
  }

  .si-player-widget-01--khokho .sipw-discipline > div {
    padding: 15px 0;
  }

  .si-player-widget-01--khokho .sipw-discipline > div:first-child {
    border-right: 0;
  }
}

/* Cricket tables: the old header navy (#162b71 on every team) and the
   team's figure colour, from the binding. */
.si-player-widget-01--cricket {
  --sipw-ink: var(--sipw-table-text);
}

.si-player-widget-01 .sipw-table thead th {
  background: var(--sipw-table-head);
}

/* Phones: the turned tables' header row in the team's own blue (Dubai
   Capitals), from the binding; the desktop header colour otherwise. */
@media (max-width: 767px) {
  .si-player-widget-01 .sipw-table--stacked thead th {
    background: var(--sipw-table-head-mobile);
  }
}

/* Kabaddi: the inactive tab in the old near-black. */
.si-player-widget-01--kabaddi .sipw-tabs__tab:not(.sipw-tabs__tab--active) {
  color: #00020d;
}

/* Line boxes the old pages leave at "normal" (cricket header figures and
   name, kho kho rows and strip); the biography at 1.8 (25.2px). */
.si-player-widget-01 .sipw-cricket-hero .sipw-name,
.si-player-widget-01 .sipw-cricket-hero .sipw-role,
.si-player-widget-01 .sipw-cricket-hero__numbers dt,
.si-player-widget-01 .sipw-cricket-hero__numbers dd,
.si-player-widget-01--khokho :is(dt, dd, h3, p) {
  line-height: normal;
}

.si-player-widget-01 .sipw-biography {
  line-height: 1.8;
}

/* Journey rings: the old line is about 5px on the 85px ring. */
.si-player-widget-01 .sipw-journey .sipw-ring circle {
  stroke-width: 5.5;
}

/* The arrows stay white at the ends of the list, as the old slider. */
.si-player-widget-01 .sipw-journey__move:disabled {
  opacity: 1;
}

@media (min-width: 768px) {
  /* The stats column overflows the card's 50px padding, as the old card
     (480px tall). */
  .si-player-widget-01 .sipw-journey__stats {
    margin-block: -16px;
  }

  .si-player-widget-01 .sipw-journey__move:first-child {
    top: 5px;
  }

  .si-player-widget-01 .sipw-journey__move:last-child {
    bottom: 15px;
  }

  /* Older seasons: year and season side by side in the old 194px slide
     (a long year wraps). */
  .si-player-widget-01 .sipw-journey__others li {
    flex-wrap: nowrap;
    max-width: 194px;
  }

  .si-player-widget-01 .sipw-journey__others .sipw-journey__year {
    min-width: 0;
  }
}

@media (max-width: 767px) {
  /* The old 8 x 14px arrows. */
  .si-player-widget-01 .sipw-journey__move {
    margin: 0 -10px;
  }

  .si-player-widget-01 .sipw-journey__move .sipw-icon {
    width: 28px;
    height: 28px;
  }
}

/* Kho kho phones: the header to the screen edges (the image as a cover, the
   old crop), a fading line over the name, the old 10px gaps, and the strip
   in 90px rows across the full width. */
@media (max-width: 575px) {
  .si-player-widget-01--khokho .sipw-kk-hero {
    margin-right: -15px;
    margin-left: -15px;
  }

  .si-player-widget-01--khokho.si-player-widget-01--hero-image .sipw-kk-hero {
    border-image: none;
    background:
      var(--sipw-hero-image) 50% 50% / cover no-repeat,
      var(--sipw-primary);
  }

  .si-player-widget-01--khokho .sipw-name {
    position: relative;
  }

  .si-player-widget-01--khokho .sipw-name::before {
    position: absolute;
    top: -15px;
    left: 50%;
    width: 351px;
    max-width: 100%;
    height: 1px;
    background: linear-gradient(
      90deg,
      rgb(255 255 255 / 10%) 0%,
      rgb(255 255 255 / 50%) 50%,
      rgb(255 255 255 / 10%) 100%
    );
    content: "";
    transform: translateX(-50%);
  }

  .si-player-widget-01--khokho .sipw-role {
    margin-top: 15px;
  }

  .si-player-widget-01--khokho .sipw-kk-hero__facts {
    gap: 10px;
    margin-top: 10px;
  }

  .si-player-widget-01--khokho .sipw-kk-hero__strip > div {
    min-height: 90px;
  }
}

/* ── Responsive QA (round 5): cricket header measured against the old pages ── */

/* The old card's 7.5px corners and 30px down to "Biography". */
.si-player-widget-01 .sipw-cricket-hero {
  border-radius: 7.5px;
}

.si-player-widget-01--cricket .sipw-cricket-hero + .sipw-section {
  margin-top: 30px;
}

@media (max-width: 767px) {
  /* The phone image from the binding (the old player-profile-mobile.png),
     covering the whole card. */
  .si-player-widget-01--hero-image-mobile .sipw-cricket-hero {
    background:
      var(--sipw-hero-image-mobile) 50% 50% / cover no-repeat,
      var(--sipw-primary);
  }

  /* Name 15px under the photo line; the figures 15px under the role, in
     17px / 27px lines; the detail rows in 19px lines 15px apart. */
  .si-player-widget-01 .sipw-cricket-hero__top {
    padding-top: 14px;
  }

  .si-player-widget-01 .sipw-cricket-hero .sipw-role {
    line-height: 17px;
  }

  .si-player-widget-01 .sipw-cricket-hero__numbers dt {
    line-height: 17px;
  }

  .si-player-widget-01 .sipw-cricket-hero__numbers dd {
    line-height: 27px;
  }

  .si-player-widget-01 .sipw-cricket-hero__numbers {
    margin-top: 15px;
    border-top-color: rgb(255 255 255 / 20%);
  }

  .si-player-widget-01 .sipw-cricket-hero__numbers > div + div {
    border-left-color: rgb(255 255 255 / 50%);
  }

  /* The old line colours: 50% under the photo, 20% round the figures. */
  .si-player-widget-01 .sipw-cricket-hero__top {
    border-top-color: rgb(255 255 255 / 50%);
  }

  .si-player-widget-01 .sipw-cricket-hero__facts {
    gap: 15px 0;
    padding-top: 45px;
    border-top-color: rgb(255 255 255 / 20%);
  }

  .si-player-widget-01 .sipw-cricket-hero__facts :is(dt, dd) {
    line-height: normal;
  }

  .si-player-widget-01 .sipw-cricket-hero__body {
    padding-bottom: 15px;
  }

  /* The turned tables: 36px cells in the old faint outline, 7.5px corners. */
  .si-player-widget-01 .sipw-table-wrap--stacked {
    border-radius: 7.5px;
  }

  .si-player-widget-01 .sipw-table--stacked :is(th, td) {
    height: 36px;
    padding-top: 0;
    padding-bottom: 0;
    border: 1px solid rgb(0 2 13 / 4%);
  }
}

/* Kabaddi journey: the older seasons keep the gold year under the fade, and
   a long season name runs in the old 139px column beside a wrapped year. */
.si-player-widget-01 .sipw-journey__others .sipw-journey__year {
  color: var(--sipw-accent);
}

@media (min-width: 768px) {
  .si-player-widget-01 .sipw-journey__others li {
    max-width: 304px;
  }
}

/* ── Responsive QA (round 5): kho kho measured against the old pages ─────── */

/* Header strip: the old faint lines over and under it (10%), and short
   dividers (20%, half the row, centred) between the figures; each figure
   sits at the top of its 15px-padded cell. */
.si-player-widget-01--khokho .sipw-kk-hero__strip {
  position: relative;
  border-top: 0;
  border-bottom: 0;
}

.si-player-widget-01--khokho .sipw-kk-hero__strip::before,
.si-player-widget-01--khokho .sipw-kk-hero__strip::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgb(255 255 255 / 10%);
  content: "";
}

.si-player-widget-01--khokho .sipw-kk-hero__strip::before {
  top: 0;
}

.si-player-widget-01--khokho .sipw-kk-hero__strip::after {
  bottom: 0;
}

.si-player-widget-01--khokho .sipw-kk-hero__strip > div {
  position: relative;
  align-content: start;
  border-right: 0;
}

.si-player-widget-01--khokho
  .sipw-kk-hero__strip
  > div:not(:last-child)::after {
  position: absolute;
  top: 25%;
  right: 0;
  width: 1px;
  height: 50%;
  background: rgb(255 255 255 / 20%);
  content: "";
}

/* Statistics cards: rows 15px over and under the text, the line drawn
   inside the 10px side padding in the old 8% ink. */
.si-player-widget-01--khokho .sipw-stat-rows {
  padding: 0 10px;
}

.si-player-widget-01--khokho .sipw-stat-rows > div {
  padding-right: 0;
  padding-left: 0;
  border-bottom: 0;
  box-shadow: inset 0 -1px rgb(0 2 13 / 8%);
}

.si-player-widget-01--khokho .sipw-discipline dt {
  gap: 0;
}

.si-player-widget-01--khokho .sipw-icon--card {
  margin-right: 10px;
}

@media (min-width: 576px) {
  /* Name 7.5px under the top and over the role, the role 15px over the
     Team / Nationality pills, the strip 8px under them. */
  .si-player-widget-01--khokho .sipw-name {
    margin-top: 13px;
  }

  .si-player-widget-01--khokho .sipw-role {
    margin-top: 8px;
  }

  .si-player-widget-01--khokho .sipw-kk-hero__facts {
    margin-top: 15px;
  }

  .si-player-widget-01--khokho .sipw-kk-hero__strip {
    margin-top: 8px;
  }

  .si-player-widget-01--khokho .sipw-kk-hero__strip > div {
    padding: 15px 20px;
  }

  .si-player-widget-01--khokho .sipw-cards {
    margin-top: 24px;
  }
}

@media (max-width: 575px) {
  /* Phones: the lines 90% of the strip wide (351px on a 390px screen) and
     centred, over the strip and between its two 90px rows, so they stop
     short of the screen edges as the old page; the header ends with the strip. */
  .si-player-widget-01--khokho .sipw-kk-hero {
    padding-bottom: 0;
  }

  .si-player-widget-01--khokho .sipw-kk-hero__strip::before,
  .si-player-widget-01--khokho .sipw-kk-hero__strip::after {
    left: 50%;
    width: 90%;
    transform: translateX(-50%);
  }

  .si-player-widget-01--khokho .sipw-kk-hero__strip::after {
    top: 90px;
    bottom: auto;
  }

  .si-player-widget-01--khokho .sipw-kk-hero__strip {
    row-gap: 0;
  }

  .si-player-widget-01--khokho .sipw-kk-hero__strip > div {
    min-height: 90px;
    padding: 15px 10px;
  }

  .si-player-widget-01--khokho .sipw-section__title--small {
    margin-bottom: 7px;
  }

  .si-player-widget-01--khokho .sipw-cards {
    margin-top: 7px;
  }
}

/* Kho kho form guide: each team name a word a line beside its logo, the
   labels in a 103px column on 16.8px lines (long ones wrap), the figures in
   a 30px right-hand column, the old 5% lines. */
.si-player-widget-01--khokho .sipw-form-card__teams
  > span:not(.sipw-logo, .sipw-form-card__vs) {
  width: min-content;
}

.si-player-widget-01--khokho .sipw-form-card__teams > span:nth-child(4) {
  justify-self: end;
}

.si-player-widget-01--khokho .sipw-form-card__pairs > div {
  border-color: rgb(0 2 13 / 5%);
}

.si-player-widget-01--khokho .sipw-form-card__pairs dt {
  max-width: 103px;
  line-height: 16.8px;
}

.si-player-widget-01--khokho .sipw-form-card__pairs dd {
  min-width: 30px;
  text-align: right;
}

@media (max-width: 575px) {
  /* Attacking: one figure a row, as the other phone cards. */
  .si-player-widget-01--khokho .sipw-kk-grid {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 10px;
  }

  .si-player-widget-01--khokho .sipw-kk-grid > div {
    padding: 15px 0;
    border-right: 0;
    border-bottom: 0;
    box-shadow: inset 0 -1px rgb(0 2 13 / 8%);
  }

  /* Total Dives: the 120px ring on the left, the key from the middle. */
  .si-player-widget-01--khokho .sipw-kk-dives {
    display: grid;
    grid-template-columns: 165px minmax(0, 1fr);
    align-items: center;
    padding: 15px;
  }

  .si-player-widget-01--khokho .sipw-kk-dives__title {
    grid-column: 1 / -1;
    margin: 7.5px 0 0;
  }

  .si-player-widget-01--khokho .sipw-donut {
    width: 120px;
    height: 120px;
    margin: 22px 0 15px;
  }

  .si-player-widget-01--khokho .sipw-kk-dives__legend {
    gap: 15px;
  }
}

/* Cricket details from tablets up: the value in the old 40% of its pair
   (a long one wraps, as "December 12, 1999" on a tablet). */
@media (min-width: 768px) {
  .si-player-widget-01 .sipw-cricket-hero__facts > div {
    grid-template-columns: 130px 40%;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .si-player-widget-01 .sipw-cricket-hero__numbers {
    padding-top: 5px;
  }
}

/* The old "Overall" total row: navy (#00327a on every team), bold white,
   over the RUNS highlight. The turned phone tables leave it plain. */
.si-player-widget-01 .sipw-table:not(.sipw-table--stacked)
  tr.sipw-table__overall
  > :is(th, td) {
  background: #00327a;
  color: var(--sipw-white);
  font-weight: 700;
}

/* Journey, measured on the old pages (U.P. Yoddhas, 390 / 820 / 1440px).
   Rings: the old 85px SVG draws r 15.9155 with a 2-unit line in a 33.83
   box, so the circle centre line is 40px out and the line 5.03px wide:
   r 47.04 and 5.91 here (100 box). Track #f2f2f2, arc from 3 o'clock
   clockwise, butt ends — as before. */
.si-player-widget-01 .sipw-journey .sipw-ring circle {
  r: 47.04px;
  stroke-width: 5.91;
}

/* Total Points: a 17px label over a 55px figure (72px), on every screen. */
.si-player-widget-01 .sipw-journey__points span {
  line-height: 17px;
}

.si-player-widget-01 .sipw-journey__points strong {
  line-height: 55px;
}

@media (min-width: 768px) {
  /* The stats column centred on the 380px season column, overflowing the
     card padding both ways (old: -15.5px on desktops, -25px on tablets). */
  .si-player-widget-01 .sipw-journey__stats {
    align-self: center;
    margin-block: -100px;
  }

  /* Three 17px lines of "Total Matches Played", as the old court. */
  .si-player-widget-01 .sipw-journey__court span {
    line-height: 17px;
  }

  /* The old 18 x 9px arrows (2px line), 7px right of the column middle;
     the top one 10px down, the bottom one on the column's foot. */
  .si-player-widget-01 .sipw-journey__move,
  .si-player-widget-01 .sipw-journey__move:first-child,
  .si-player-widget-01 .sipw-journey__move:last-child {
    left: calc(50% - 5px);
    width: 32px;
    height: 32px;
    transform: none;
  }

  .si-player-widget-01 .sipw-journey__move:first-child {
    top: -1px;
    bottom: auto;
  }

  .si-player-widget-01 .sipw-journey__move:last-child {
    top: auto;
    bottom: 0;
  }

  .si-player-widget-01 .sipw-journey__move .sipw-icon {
    width: 32px;
    height: 32px;
  }

  .si-player-widget-01 .sipw-journey__move .sipw-icon path {
    stroke-width: 1.5;
    stroke-linecap: square;
    stroke-linejoin: miter;
  }

  /* The logo: the old white oval with the crest square at its top. */
  .si-player-widget-01 .sipw-journey__current .sipw-logo {
    align-items: flex-start;
    width: 68.8px;
  }

  .si-player-widget-01 .sipw-journey__current .sipw-logo img {
    height: auto;
    aspect-ratio: 1;
  }

  /* Team line and season line 31.5px apart, as the old slide. */
  .si-player-widget-01 .sipw-journey__current .sipw-journey__season {
    margin-top: 0.5px;
  }

  /* Older seasons: the old 96px slides under the current one (team, year
     and season, all at 10%), the first starting 48px below the middle. */
  .si-player-widget-01 .sipw-journey__others {
    top: calc(50% + 48px);
    gap: 0;
    opacity: 1;
  }

  .si-player-widget-01 .sipw-journey__others li {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    height: 96px;
    opacity: 0.1;
  }

  /* The old inactive slides keep the team's line but hide it (no rule
     under it). */
  .si-player-widget-01 .sipw-journey__others .sipw-journey__team {
    padding-bottom: 0;
    border-bottom: 0;
    visibility: hidden;
  }

  .si-player-widget-01 .sipw-journey__others .sipw-journey__season {
    flex-wrap: nowrap;
    margin-top: 0;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .si-player-widget-01 .sipw-journey__current .sipw-logo {
    width: 51.8px;
  }

  /* The old 274.8px column puts the arrows 2.6px further left. */
  .si-player-widget-01 .sipw-journey__move,
  .si-player-widget-01 .sipw-journey__move:first-child,
  .si-player-widget-01 .sipw-journey__move:last-child {
    left: calc(50% - 7.6px);
  }
}

@media (max-width: 767px) {
  /* The old thin 7 x 13px arrows at the card edges. */
  .si-player-widget-01 .sipw-journey__move .sipw-icon {
    width: 24px;
    height: 24px;
  }

  .si-player-widget-01 .sipw-journey__move .sipw-icon path {
    stroke-width: 1.1;
  }

  .si-player-widget-01 .sipw-journey__move:first-child {
    margin: 0 0 0 -7.5px;
  }

  .si-player-widget-01 .sipw-journey__move:last-child {
    margin: 0 -8.5px 0 0;
  }

  /* The logo 40px in from the card's content edge, as the old slide. */
  .si-player-widget-01 .sipw-journey__current {
    margin-left: 23.5px;
  }
}

/* Cricket biography: the team's side padding (India Capitals' old wrapper
   7.5px, `biography_side_padding`) and the old word-break: break-all, so
   lines run to the edge and split words. */
.si-player-widget-01--cricket .sipw-section--biography {
  padding-inline: var(--sipw-bio-pad);
}

.si-player-widget-01--cricket .sipw-section--biography .sipw-biography {
  word-break: break-all;
}

/* Kho kho stat cards, measured on the old page (820 / 1440px). */

/* Rings as the old SVGs: the 2-unit line of a 33.83 box at 120px is 7.09px
   (5.91 here), centre line 56.45px out (r 47.04). Not Out %: #f2f2f2 track,
   #00255b arc. Total Dives: the old page's arc colour is an undefined
   variable, so only its full #00255b track shows — drawn the same here. */
.si-player-widget-01--khokho .sipw-kk-ring .sipw-ring circle,
.si-player-widget-01--khokho
  .sipw-donut
  :is(.sipw-donut__track, .sipw-donut__part) {
  r: 47.04px;
  stroke-width: 5.91;
}

.si-player-widget-01--khokho .sipw-kk-ring .sipw-ring__track {
  stroke: #f2f2f2;
}

.si-player-widget-01--khokho .sipw-kk-ring .sipw-ring__value {
  stroke: #00255b;
}

.si-player-widget-01--khokho .sipw-donut__track {
  stroke: #00255b;
}

.si-player-widget-01--khokho .sipw-donut__part {
  stroke: none;
}

/* The key: 14px rows (a 21 x 13px swatch beside 10px text). */
.si-player-widget-01--khokho .sipw-kk-dives__legend li {
  display: flex;
  align-items: center;
  height: 14px;
  line-height: 14px;
}

/* Not Out %: 15px round the 120px ring (150px band), on every screen. */
.si-player-widget-01--khokho .sipw-kk-ring {
  padding: 15px;
}

@media (min-width: 576px) {
  .si-player-widget-01--khokho .sipw-cards,
  .si-player-widget-01--khokho .sipw-cards__column {
    row-gap: 15px;
  }

  .si-player-widget-01--khokho .sipw-kk-dives {
    padding: 15px;
  }

  .si-player-widget-01--khokho .sipw-kk-dives__legend {
    gap: 15px;
  }
}

/* Tablets: Discipline and Attacking one figure a row (49 / 57px), the
   Total Dives ring on the left with its key from the middle. */
@media (min-width: 576px) and (max-width: 991px) {
  .si-player-widget-01--khokho .sipw-discipline,
  .si-player-widget-01--khokho .sipw-kk-grid {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 10px;
  }

  .si-player-widget-01--khokho .sipw-discipline > div,
  .si-player-widget-01--khokho .sipw-kk-grid > div {
    padding: 15px 0;
    border-right: 0;
  }

  .si-player-widget-01--khokho .sipw-kk-grid > div {
    border-bottom: 0;
    box-shadow: inset 0 -1px rgb(0 2 13 / 8%);
  }

  .si-player-widget-01--khokho .sipw-discipline > div:first-child,
  .si-player-widget-01--khokho .sipw-kk-grid > div:nth-child(odd) {
    border-right: 0;
  }

  .si-player-widget-01--khokho .sipw-kk-dives {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }

  .si-player-widget-01--khokho .sipw-kk-dives__title {
    grid-column: 1 / -1;
    margin: 7.5px 0;
  }

  .si-player-widget-01--khokho .sipw-donut {
    margin: 15px 0;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  /* The old tablet: Statistics 15px under the header, the first card
     7.5px under the title. */
  .si-player-widget-01--khokho .sipw-kk-hero + .sipw-section {
    margin-top: 15px;
  }

  .si-player-widget-01--khokho
    .sipw-kk-hero
    + .sipw-section
    > .sipw-section__title {
    margin-bottom: 7.5px;
  }

  .si-player-widget-01--khokho .sipw-cards {
    margin-top: 0;
  }
}

/* Desktops: three 365px columns 22.5px apart, the Defending and Attacking
   cards as tall as Overall + Discipline. */
@media (min-width: 992px) {
  .si-player-widget-01--khokho .sipw-cards {
    align-items: stretch;
    column-gap: 22.5px;
    margin-top: 22.5px;
  }

  .si-player-widget-01--khokho .sipw-discipline > div {
    padding: 25px 15px;
  }

  .si-player-widget-01--khokho .sipw-kk-grid > div {
    padding: 15px;
    border-bottom: 0;
    box-shadow: inset 0 -1px rgb(0 2 13 / 8%);
  }

  .si-player-widget-01--khokho .sipw-kk-dives__title {
    margin: 0 0 15px;
  }

  .si-player-widget-01--khokho .sipw-donut {
    margin: 0 0 15px;
  }
}

/* Cricket phone panel: the picked year as the old red block (#da3832, 4px
   corners, white 600 text) inset 7.5px from the sides. */
.si-player-widget-01.sipw-sheet-root--highlight .sipw-filter__option {
  width: calc(100% - 15px);
  margin-inline: 7.5px;
}

.si-player-widget-01.sipw-sheet-root--highlight .sipw-filter__option--selected,
.si-player-widget-01.sipw-sheet-root--highlight
  .sipw-filter__option--selected:hover {
  border-radius: 4px;
  background: #da3832;
  color: var(--sipw-white);
  font-weight: 600;
}

.si-player-widget-01.sipw-sheet-root--highlight
  .sipw-filter__option--selected::after {
  display: none;
}

/* Cricket tables from tablets up, as the old flex rows: every cell grows
   from 0 by the same share and never below its text (min-content), the
   first column from 150px and HS from 120px (border-box; the header cells
   carry the old faint 1px side lines), so the tables fit the card (no
   sideways scroll on tablets) and the cells come out as the old ones
   (header: desktop 208 / 60 / HS 178, tablet 170.6 / 22.6 / HS 140.6;
   rows: desktop 210 / 60). */
@media (min-width: 768px) {
  .si-player-widget-01 .sipw-table:not(.sipw-table--stacked) {
    display: block;
    min-width: 0;
  }

  .si-player-widget-01 .sipw-table:not(.sipw-table--stacked) :is(thead, tbody) {
    display: block;
  }

  .si-player-widget-01 .sipw-table:not(.sipw-table--stacked) tr {
    display: flex;
  }

  .si-player-widget-01 .sipw-table:not(.sipw-table--stacked) :is(th, td) {
    flex: 1 0 0;
    min-width: auto;
    padding-right: 0;
    padding-left: 0;
  }

  .si-player-widget-01
    .sipw-table:not(.sipw-table--stacked)
    :is(th, td).sipw-table__first {
    flex-basis: 150px;
    min-width: auto;
  }

  .si-player-widget-01
    .sipw-table:not(.sipw-table--stacked)
    :is(th, td).sipw-table__col--hs {
    flex-basis: 120px;
  }

  .si-player-widget-01 .sipw-table:not(.sipw-table--stacked) :is(th, td) {
    box-sizing: border-box;
  }
  /* The old 51px header row: a 20px line and a faint 1px rule. */
  .si-player-widget-01 .sipw-table:not(.sipw-table--stacked) thead th {
    border-right: 1px solid rgb(0 2 13 / 4%);
    border-bottom: 1px solid rgb(0 2 13 / 4%);
    border-left: 1px solid rgb(0 2 13 / 4%);
    line-height: 20px;
  }
}

/* Kho kho header image from tablets up: as the old page, a cover image
   centred on the full-width header (on tablets the old crop hides the
   side stripes), not the stretched border image. */
@media (min-width: 576px) {
  .si-player-widget-01--khokho.si-player-widget-01--hero-image .sipw-kk-hero {
    position: relative;
    isolation: isolate;
    border-image: none;
  }

  .si-player-widget-01--khokho.si-player-widget-01--hero-image
    .sipw-kk-hero::before {
    position: absolute;
    inset: 0 calc((100cqw - 100vw) / 2);
    z-index: -1;
    background: var(--sipw-hero-image) 50% 50% / cover no-repeat;
    content: "";
  }
}

/* Phone "Filter" panel: the old field keeps its arrow pointing down while
   the list is open (no open-state rule on the old pages). */
.si-player-widget-01.sipw-sheet-root .sipw-filter--open
  .sipw-icon--chevron-down {
  transform: none;
}

/* Kho kho desktop Attacking: the old middle line, 1px rgb(0 2 13 / 8%) at
   50%, in two parts — 80% of the figure rows (78.4 of 98px) and 95% of the
   Total Dives area (257.4 of 271px), each centred on its block. */
@media (min-width: 992px) {
  .si-player-widget-01--khokho .sipw-kk-grid > div:nth-child(odd) {
    border-right: 0;
  }

  .si-player-widget-01--khokho .sipw-kk-grid,
  .si-player-widget-01--khokho .sipw-kk-dives {
    position: relative;
  }

  .si-player-widget-01--khokho .sipw-kk-grid::after,
  .si-player-widget-01--khokho .sipw-kk-dives::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 80%;
    background: rgb(0 2 13 / 8%);
    transform: translateY(-50%);
    content: "";
    pointer-events: none;
  }

  .si-player-widget-01--khokho .sipw-kk-dives::before {
    height: 95%;
  }
}

/* Phone "Filter" panel arrow, matched to the old icon-font glyph at 390px:
   a 15 x 8px chevron with arms about 2px thick, 70% black (the old
   rgba(0, 0, 0, 0.7)); a 13.2 x 6.6 unit path, 1.7 line, at 23px. */
.si-player-widget-01.sipw-sheet-root .sipw-filter .sipw-icon--chevron-down {
  width: 23px;
  height: 23px;
  margin-right: -3.65px;
  color: rgb(0 0 0 / 70%);
}

.si-player-widget-01.sipw-sheet-root
  .sipw-filter
  .sipw-icon--chevron-down
  path {
  stroke-width: 1.7;
  d: path("M5.4 9.2l6.6 6.6 6.6-6.6");
}

/* Kho kho Form Guide band, measured on the old page (390 / 820 / 1440px):
   #f2f2f2 to the screen edges, 15px under the stat cards (30px on
   desktops), the first card 7.5px under the title, 35px under the cards;
   every label a 30px centred line box, so a two-line label ("Total Pole
   Dive Points") does not grow its 57px row (cards 377px tall). */
.si-player-widget-01--khokho .sipw-section--band {
  --sipw-band: #f2f2f2;
  margin-top: 15px;
  padding-bottom: 35px;
}

.si-player-widget-01--khokho .sipw-section--band > .sipw-section__title {
  margin-bottom: 7.5px;
}

.si-player-widget-01--khokho .sipw-form-card__pairs dt {
  display: flex;
  align-items: center;
  height: 30px;
}

@media (min-width: 992px) {
  .si-player-widget-01--khokho .sipw-section--band {
    margin-top: 30px;
  }
}

/* Kho kho form cards: the old 1px rgb(0 2 13 / 5%) frame inside the 15px
   padding, round the teams and figures (content from 16px, card 377px). */
.si-player-widget-01 .sipw-form-card--khokho {
  position: relative;
  padding: 16px;
}

.si-player-widget-01 .sipw-form-card--khokho::before {
  position: absolute;
  inset: 15px;
  border: 1px solid rgb(0 2 13 / 5%);
  content: "";
  pointer-events: none;
}

/* Kabaddi header image from 768px: as the old page, a cover image 300px tall
   across the screen, starting 65px above the header (the old breadcrumb), so
   the header shows its middle band, unstretched. The header runs to the
   screen edges itself, and its overflow keeps the image inside it. */
@media (min-width: 768px) {
  .si-player-widget-01--kabaddi.si-player-widget-01--hero-image .sipw-hero {
    position: relative;
    isolation: isolate;
    margin-right: calc((100cqw - 100vw) / 2);
    margin-left: calc((100cqw - 100vw) / 2);
    padding-right: calc((100vw - 100cqw) / 2);
    padding-left: calc((100vw - 100cqw) / 2);
    border-image: none;
  }

  .si-player-widget-01--kabaddi.si-player-widget-01--hero-image
    .sipw-hero::before {
    position: absolute;
    top: -65px;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 300px;
    background: var(--sipw-hero-image) 50% 50% / cover no-repeat;
    content: "";
    pointer-events: none;
  }
}

/* ── Kho kho biography (old page) ───────────────────────────────────────── */

/* The old page: "Biography" 18px/700 with 7.5px below it, then the write-up
   14px blue, one line per feed line break (no gap between them). */
.si-player-widget-01--khokho .sipw-section--biography .sipw-section__title {
  margin-bottom: 7.5px;
}

.si-player-widget-01--khokho .sipw-section--biography .sipw-biography {
  gap: 0;
  color: #00327a;
  font-size: 14px;
  line-height: normal;
}

/* 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;
  }
}
