
/* --- olegtix-league-tabs --- */
.league-tabs__nav {
  margin: 0;
}
.league-section-season {
  font-size: 14px;
  font-weight: 500;
  color: var(--grey);
}
.league-section-season:empty {
  display: none;
}
.league-stats__seasons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 24px;
}
.league-stats__seasons[hidden] {
  display: none;
}
.league-stats__seasons-label {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}
.league-stats__seasons-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.league-stats__chips {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  gap: 4px;
  min-width: 0;
  overflow: hidden;
}
.league-stats__chip,
.league-stats__option {
  flex: 0 0 auto;
  padding: 6px 12px;
  border: 0;
  border-radius: 10px;
  background: var(--white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease;
  line-height: 1.55;
}
.league-stats__chip:hover,
.league-stats__option:hover {
  color: var(--primary);
}
.league-stats__chip:focus-visible,
.league-stats__option:focus-visible,
.league-stats__more-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.league-stats__chip--active,
.league-stats__option--active {
  color: var(--primary);
}
.league-stats__chip--clipped {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.league-stats__more {
  flex: 0 0 auto;
}
.league-stats__more-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border: 0;
  border-radius: 10px;
  background: var(--white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.league-stats__more-btn:hover {
  color: var(--primary);
}
.league-stats__more-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.league-stats__more-btn[aria-expanded="true"] .league-stats__more-icon {
  transform: rotate(180deg);
}
.league-stats__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 4px;
  max-height: 320px;
  padding: 8px;
  overflow-y: auto;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.league-stats__option {
  text-align: center;
}
.league-stats__dropdown .league-stats__option {
  flex: 0 1 auto;
  max-width: 100%;
  min-width: 88px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.league-stats__option:hover {
  background: var(--grey-light);
}
.league-stats__option--active {
  background: var(--grey-light);
}
.league-stats__body {
  transition: opacity 0.15s ease;
}
.league-stats__body--loading {
  opacity: 0.5;
  pointer-events: none;
}
.league-stats__empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--grey-light);
  font-size: 14px;
  color: var(--grey);
}
.league-stats__retry {
  flex-shrink: 0;
  padding: 8px 20px;
  font-size: 14px;
}
.league-stats__pending-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 200px;
}
.league-stats__progress {
  display: flex;
  align-items: center;
  gap: 10px;
}
.league-stats__progress[hidden] {
  display: none;
}
.league-stats__progress-track {
  flex: 1 1 auto;
  max-width: 320px;
  height: 6px;
  border-radius: 3px;
  background: var(--grey-light);
  overflow: hidden;
}
.league-stats__progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.league-stats__progress-pct {
  flex-shrink: 0;
  min-width: 36px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 768px) {
  .league-tabs__nav {
    margin: 0;
  }
  .league-stats__seasons {
    margin: 0 0 16px;
  }
  .league-stats__seasons-label {
    font-size: 18px;
  }
  .league-stats__dropdown {
    max-height: 260px;
  }
  .league-stats__dropdown .league-stats__option {
    min-width: 72px;
  }
}


/* --- olegtix-team-stats --- */
.team-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: "Onest", sans-serif;
}

.team-stats__slice {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.team-stats__slice[hidden] {
  display: none;
}

.team-stats__slices {
  margin: 0;
}

.team-stats__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 16px 20px;
  border-radius: 14px;
  background: #fff;
}

.team-stats__scope {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.team-stats__tournament {
  color: #232323;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

a.team-stats__tournament:hover {
  color: #9345d8;
}

.team-stats__season,
.team-stats__type {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 8px;
  background: #f4f4f4;
  color: #3d3d3d;
  font-size: 13px;
}

.team-stats__updated {
  color: #7d7d7d;
  font-size: 13px;
}

.team-stats__tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.team-stats__tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
}

.team-stats__tile-label {
  color: #7d7d7d;
  font-size: 13px;
  line-height: 1.3;
}

.team-stats__tile-value {
  color: #232323;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
}

.team-stats__group {
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.team-stats__group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  cursor: pointer;
  color: #232323;
  font-size: 16px;
  font-weight: 600;
  list-style: none;
}

.team-stats__group-title::-webkit-details-marker {
  display: none;
}

.team-stats__group-title::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-right: 2px solid #7d7d7d;
  border-bottom: 2px solid #7d7d7d;
  transform: rotate(45deg);
  transform-origin: center;
  transition: transform 0.15s ease;
}

.team-stats__group[open] .team-stats__group-title::after {
  transform: rotate(-135deg);
}

.team-stats__group-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  padding: 0 6px;
  border-radius: 10px;
  background: #f4f4f4;
  color: #7d7d7d;
  font-size: 12px;
  font-weight: 600;
}

.team-stats__legend {
  padding: 0 20px 8px;
  color: #7d7d7d;
  font-size: 12px;
}

.team-stats__rows {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0 24px;
  padding: 0 20px 12px;
}

.team-stats__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid #f4f4f4;
  font-size: 14px;
  line-height: 1.3;
}

.team-stats__row-label {
  min-width: 0;
  color: #3d3d3d;
}

.team-stats__row-value {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex: 0 0 auto;
  color: #232323;
  font-weight: 600;
  white-space: nowrap;
}

.team-stats__row-against {
  color: #7d7d7d;
  font-weight: 400;
}

.team-stats__row-against::before {
  content: "/";
  margin-right: 8px;
  color: #d5d5d5;
}

@media (max-width: 768px) {
  .team-stats__header {
    padding: 14px 16px;
  }

  .team-stats__tiles {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
  }

  .team-stats__tile {
    padding: 12px 14px;
  }

  .team-stats__tile-value {
    font-size: 22px;
  }

  .team-stats__group-title {
    padding: 14px 16px;
    font-size: 15px;
  }

  .team-stats__legend {
    padding: 0 16px 8px;
  }

  .team-stats__rows {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 16px 12px;
  }
}

.team-stats-seasons__body--loading {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.team-stats-seasons .league-stats__seasons {
  margin-bottom: 16px;
}
.team-stats-seasons .league-stats__seasons-label {
  font-size: 16px;
}


/* --- olegtix-player-header --- */
.player-header {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    column-gap: 24px;
    row-gap: 8px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #ebebeb;
    border-radius: 14px;
    margin-bottom: 20px;
}

.player-header__photo-wrap {
    grid-column: 1;
    grid-row: 1;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-header__photo {
    display: block;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.player-header__body {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 0;
}

.player-header__top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 24px;
    font-size: 14px;
    line-height: 1.3;
    color: #232323;
}

.player-header__country,
.player-header__club {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #232323;
    text-decoration: none;
    transition: color 0.15s ease;
}

.player-header__club:hover {
    color: #9345d8;
}

.player-header__club-label {
    color: #7d7d7d;
}

.player-header__flag,
.player-header__club-logo {
    width: 16px;
    height: 16px;
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0;
}

.player-header__name {
    margin: 0;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    color: #232323;
}

.player-header__name-original {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 400;
    color: #7d7d7d;
}

.player-header__chips {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.player-header__chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    border-radius: 10px;
    background: rgba(104, 40, 186, 0.1);
    font-size: 14px;
    line-height: 1.2;
    color: #232323;
}

.player-header__chip-value {
    font-weight: 700;
}

.player-header__cards {
    grid-column: 1 / -1;
    display: flex;
    align-items: stretch;
    gap: 24px;
    margin-top: 12px;
}

.player-header__card {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    border: 1px solid #f4f4f4;
    border-radius: 14px;
    background: #ffffff;
}

.player-header__card-title {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    color: #232323;
}

.player-header__row {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary, #6828ba);
}

.player-header__row-icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
}

.player-header__row-label {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 14px;
    line-height: 1.3;
    color: #232323;
}

.player-header__row-value {
    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
    color: #232323;
    text-align: right;
}

@media (max-width: 1200px) {
    .player-header__cards {
        gap: 12px;
    }

    .player-header__card {
        padding: 16px;
        gap: 8px;
    }

    .player-header__card-title {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .player-header {
        grid-template-columns: 64px minmax(0, 1fr);
        column-gap: 16px;
        row-gap: 12px;
        padding: 14px;
    }

    .player-header__photo-wrap,
    .player-header__photo {
        width: 64px;
        height: 64px;
    }

    .player-header__top {
        gap: 4px 12px;
        font-size: 12px;
    }

    .player-header__flag,
    .player-header__club-logo {
        width: 14px;
        height: 14px;
    }

    .player-header__name {
        font-size: 20px;
        line-height: 1.25;
    }

    .player-header__name-original {
        font-size: 14px;
    }

    .player-header__chips {
        grid-area: auto / 1 / auto / -1;
        gap: 8px;
    }

    .player-header__chip {
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
    }

    .player-header__cards {
        flex-direction: column;
        gap: 8px;
        margin-top: 0;
    }

    .player-header__card {
        padding: 12px;
        gap: 8px;
    }

    .player-header__card-title {
        font-size: 16px;
    }

    .player-header__row-icon {
        flex-basis: 20px;
        width: 20px;
        height: 20px;
    }
}


/* --- olegtix-player-tabs --- */
.player-tabs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: "Onest", sans-serif;
}

.player-tabs__nav {
  margin: 0;
}

.player-tabs__panels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.player-tabs__panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.player-tabs__panel[hidden] {
  display: none;
}

.player-tab-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: 14px;
  background: #fff;
}

.player-tab-section__title {
  margin: 0;
  color: #232323;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.player-tab-section__empty {
  padding: 20px;
  border-radius: 14px;
  background: #fff;
  color: #7d7d7d;
  font-size: 15px;
}

.player-tab-section--traits {
  gap: 20px;
}

.player-traits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.player-traits__group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid #f4f4f4;
  border-radius: 14px;
  background: #fff;
}

.player-traits__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-traits__title {
  margin: 0;
  color: #232323;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.player-traits__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.player-traits__group--positive .player-traits__count {
  background: #34b945;
}

.player-traits__group--negative .player-traits__count {
  background: #f85c5f;
}

.player-traits__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.player-traits__item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #232323;
  font-size: 14px;
  line-height: 1.3;
}

.player-traits__icon {
  flex-shrink: 0;
}

.player-traits__num {
  flex-shrink: 0;
  min-width: 20px;
  font-weight: 700;
}

.player-traits__name {
  flex: 1;
}

.player-positions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
  background: #f4f4f4;
}

.player-positions__title {
  margin: 0;
  color: #232323;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.player-positions__row {
  margin: 0;
  color: #232323;
  font-size: 14px;
  line-height: 1.4;
}

.player-radar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border-radius: 14px;
  background: #fff;
}

.player-radar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.player-radar__years {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: #f4f4f4;
}

.player-radar__year {
  padding: 6px 14px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #7d7d7d;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}

.player-radar__year.is-active {
  background: #fff;
  color: #232323;
  font-weight: 600;
}

.player-radar .is-hidden {
  display: none;
}

.player-radar__card {
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(270px, 1fr) minmax(200px, 250px);
  border: 1px solid #f4f4f4;
  border-radius: 16px;
  overflow: hidden;
}

.player-radar__card--no-profile {
  grid-template-columns: minmax(270px, 1fr) minmax(200px, 250px);
}

.player-radar__profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 16px;
  border-right: 1px solid #f4f4f4;
}

.player-radar__photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.player-radar__ident {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}

.player-radar__name {
  color: #232323;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.player-radar__position {
  color: #7d7d7d;
  font-size: 14px;
}

.player-radar__club {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #232323;
  font-size: 14px;
  text-decoration: none;
}

a.player-radar__club:hover {
  color: #6828ba;
}

.player-radar__club-label {
  color: #7d7d7d;
}

.player-radar__club-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.player-radar__chart-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-right: 1px solid #f4f4f4;
}

.player-radar__chart {
  width: 100%;
  height: auto;
  overflow: visible;
}

.player-radar__rings {
  fill: rgba(214, 219, 237, 0.4);
  stroke: rgba(0, 0, 26, 0.15);
  stroke-width: 1;
}

.player-radar__rays {
  fill: none;
  stroke: rgba(0, 0, 26, 0.15);
  stroke-width: 1;
}

.player-radar__scale text {
  fill: rgba(0, 0, 0, 0.5);
  font-family: "Onest", sans-serif;
  font-size: 10px;
  text-anchor: start;
}

.player-radar__shape {
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.player-radar__shape--player {
  fill: rgba(104, 40, 186, 0.2);
  stroke: #6828ba;
}

.player-radar__shape--average {
  fill: rgba(104, 40, 186, 0.2);
  stroke: #6828ba;
  stroke-dasharray: 4 4;
}

.player-radar__dot {
  fill: #6828ba;
  stroke: #fff;
  stroke-width: 2;
}

.player-radar__axis-label {
  fill: #232323;
  font-family: "Onest", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.player-radar__axis-value {
  fill: #6828ba;
  font-family: "Onest", sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.player-radar__data {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
}

.player-radar__legend {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.player-radar__legend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #232323;
  font-size: 14px;
}

.player-radar__legend-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-radar__swatch {
  flex: 0 0 auto;
  width: 40px;
  height: 0;
  border-top: 2px solid #6828ba;
}

.player-radar__swatch--average {
  border-top-style: dashed;
}

.player-radar__table {
  width: 100%;
  border-collapse: collapse;
}

.player-radar__table th,
.player-radar__table td {
  padding: 8px 4px;
  border-bottom: 1px solid #f4f4f4;
}

.player-radar__table tbody tr:last-child th,
.player-radar__table tbody tr:last-child td {
  border-bottom: none;
}

.player-radar__table tbody th {
  color: #232323;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.player-radar__th-player,
.player-radar__th-average {
  font-size: 12px;
  font-weight: 400;
  text-align: center;
}

.player-radar__th-player {
  color: #6828ba;
}

.player-radar__th-average {
  color: #7d7d7d;
}

.player-radar__cell-player,
.player-radar__cell-average {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.player-radar__cell-player {
  color: #6828ba;
}

.player-radar__cell-average {
  color: #7d7d7d;
}

.player-radar__note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 16px;
  border-radius: 14px;
  background: #f4f4f4;
  color: #232323;
  font-size: 14px;
  line-height: 1.45;
}

.player-radar__note svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: #6828ba;
}

.player-radar__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.player-stats__ranks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.player-stats__rank {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
}

.player-stats__rank-label {
  color: #7d7d7d;
  font-size: 13px;
}

.player-stats__rank-value {
  color: #232323;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.player-stats__rank-place {
  color: #6828ba;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 1240px) {
  .player-radar__card {
    grid-template-columns: minmax(190px, 240px) 1fr;
  }

  .player-radar__card--no-profile {
    grid-template-columns: 1fr;
  }

  .player-radar__chart-col {
    border-right: none;
  }

  .player-radar__data {
    grid-column: 1 / -1;
    border-top: 1px solid #f4f4f4;
  }
}

@media (max-width: 768px) {
  .player-tab-section,
  .player-radar,
  .player-stats__rank {
    padding: 16px;
  }

  .player-radar__card,
  .player-radar__card--no-profile {
    grid-template-columns: 1fr;
  }

  .player-radar__profile {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "photo ident"
      "photo club";
    align-items: center;
    gap: 4px 12px;
    border-right: none;
    border-bottom: 1px solid #f4f4f4;
  }

  .player-radar__photo {
    grid-area: photo;
    width: 80px;
    height: 80px;
  }

  .player-radar__ident {
    grid-area: ident;
    align-items: flex-start;
    text-align: left;
  }

  .player-radar__name {
    font-size: 18px;
  }

  .player-radar__club {
    grid-area: club;
    gap: 8px;
    font-size: 12px;
  }

  .player-radar__club-logo {
    width: 20px;
    height: 20px;
  }

  .player-radar__chart-col {
    padding: 12px;
    border-bottom: 1px solid #f4f4f4;
  }

  .player-radar__scale {
    display: none;
  }

  .player-radar__data {
    border-top: none;
  }

  .player-radar__note {
    padding: 12px;
    font-size: 12px;
  }

  .player-tab-section--traits {
    gap: 12px;
  }

  .player-tab-section__title {
    font-size: 18px;
  }

  .player-traits {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .player-traits__group {
    gap: 8px;
    padding: 12px;
  }

  .player-traits__title {
    font-size: 16px;
  }

  .player-traits__count {
    min-width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .player-traits__list {
    gap: 8px;
  }

  .player-positions {
    gap: 8px;
    padding: 12px;
  }

  .player-positions__title {
    font-size: 16px;
  }
}


/* --- olegtix-entity-description --- */
.entity-description__season {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 10px;
    border-radius: 8px;
    background: #efe6fd;
    color: #6828ba;
    font-size: 13px;
    font-weight: 600;
}

.entity-description__params {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
    margin: 24px 0 0 0;
    padding: 18px 20px;
    border: 1px solid #ececf0;
    border-radius: 14px;
}

.entity-description__param {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f3f3f6;
}

.entity-description__param:nth-child(odd):nth-last-child(-n + 2),
.entity-description__param:nth-child(odd):nth-last-child(-n + 2) ~ .entity-description__param {
    padding-bottom: 0;
    border-bottom: none;
}

.entity-description__param-key {
    font-size: 14px;
    color: #8b8b93;
}

.entity-description__param-value {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #1b1b1f;
    text-align: right;
}

@media (max-width: 720px) {
    .entity-description__params {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 20px;
        padding: 14px 16px;
    }

    .entity-description__param:nth-child(odd):nth-last-child(-n + 2):not(:last-child) {
        padding-bottom: 8px;
        border-bottom: 1px solid #f3f3f6;
    }

    .entity-description__param:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }
}


/* --- olegtix-match-history-card --- */
.match-history-card {
  display: block;
  position: relative;
  padding: 12px 20px;
  background: #fff;
  border: 1px solid #ebebeb;
  border-left: 3px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

a.match-history-card:hover {
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.match-history-card--win {
  border-left-color: #22c55e;
}

.match-history-card--draw {
  border-left-color: #9ca3af;
}

.match-history-card--loss {
  border-left-color: #f85c5f;
}

.match-history-card__header {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #7d7d7d;
  background: #f5f5f5;
  margin: -8px -16px 12px;
  padding: 10px 20px;
  border-radius: 8px;
}
.match-history-card__flag {
  width: 16px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
}

.match-history-card__badge {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 6px;
  background: #f1ecfb;
  color: #7133b0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.match-history-card--current {
  border-left-color: #7133b0;
}

.match-history-card__dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #cbd5e1;
  flex-shrink: 0;
}

.match-history-card__body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}

.match-history-card__body::before {
  content: "";
}

.match-history-card__teams {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
}

.match-history-card__home-name,
.match-history-card__away-name {
  font-size: 14px;
  font-weight: 400;
  color: #232323;
  line-height: 1.3;
}

.match-history-card__home-name {
  text-align: right;
}

.match-history-card__away-name {
  text-align: left;
}

.match-history-card__logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}

.match-history-card__score {
  font-size: 16px;
  font-weight: 400;
  color: #232323;
  padding: 0 4px;
  white-space: nowrap;
}

.match-history-card__stats {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.match-history-card__stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7d7d7d;
  font-size: 14px;
  line-height: 1;
}

.match-history-card__stat-icon {
  flex-shrink: 0;
  color: #7d7d7d;
}

.match-history-card__stat-icon--card {
  width: 15px;
  height: 20px;
}

.match-history-card__stat-value {
  font-size: 14px;
  font-weight: 400;
  color: #232323;
}

@media (max-width: 768px) {
  .match-history-card {
    padding: 10px 14px;
  }

  .match-history-card__header {
    font-size: 12px;
    gap: 4px;
    background: transparent;
    margin: 0 -14px 0;
    padding: 0 14px 10px;
    border-bottom: 1px solid #ebebeb;
  }

  .match-history-card__body {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .match-history-card__body::before {
    display: none;
  }

  .match-history-card__teams,
  .match-history-card__stats {
    grid-column: 1;
    justify-self: stretch;
  }

  .match-history-card__teams {
    justify-content: center;
    padding-top: 10px;
  }

  .match-history-card__stats {
    justify-content: center;
    gap: 18px;
    margin: 10px -14px 0;
    padding: 10px 14px 0;
    border-top: 1px solid #ebebeb;
  }

  .match-history-card__home-name,
  .match-history-card__away-name {
    font-size: 12px;
  }
}

.match-history-card__rating {
  min-width: 34px;
  padding: 2px 6px;
  border-radius: 6px;
  background: #f4f4f4;
  color: #232323;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
}

.match-history-card__rating--top {
  background: rgba(19, 129, 84, 0.14);
  color: #0f6b45;
}

.match-history-card__rating--high {
  background: rgba(104, 40, 186, 0.12);
  color: #4a1c85;
}

.match-history-card__rating--low {
  background: rgba(248, 92, 95, 0.14);
  color: #b02b2e;
}

.match-history-card__minutes {
  color: #7d7d7d;
  font-size: 13px;
}

.match-history-card__marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #6828ba;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.match-history-card__marker--sub {
  background: #7d7d7d;
}

.match-history-legend {
  margin-top: 16px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 14px;
}

.match-history-legend__title {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #232323;
}

.match-history-legend__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.match-history-legend__item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.match-history-legend__sample {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  flex-shrink: 0;
}

.match-history-legend__text {
  font-size: 13px;
  color: #232323;
}

@media (max-width: 768px) {
  .match-history-legend {
    padding: 14px 16px;
  }

  .match-history-legend__list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}


/* --- olegtix-match-info-strip --- */
.match-info-strip {
  background: #fff;
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 16px;
}

.match-info-strip__title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: #232323;
}

.match-info-strip__items {
  display: flex;
  flex-wrap: wrap;
  row-gap: 12px;
  column-gap: 24px;
}

.match-info-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.3;
  color: #232323;
}

.match-info-strip__icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
}

.match-info-strip__icon svg {
  display: block;
  width: 18px;
  height: auto;
}

.match-info-strip__flag {
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 2px;
  flex-shrink: 0;
}

.match-info-strip__text {
  color: #232323;
}

a.match-info-strip__text--link {
  text-decoration: none;
  color: inherit;
  transition: color 0.15s ease;
}

a.match-info-strip__text--link:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .match-info-strip {
    padding: 14px 16px;
    border-radius: 12px;
  }

  .match-info-strip__title {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .match-info-strip__items {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 10px;
  }

  .match-info-strip__item {
    font-size: 13px;
  }
}


/* --- olegtix-match-scorers --- */
.pe-card__finished-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding: 6px 12px;
  margin: 8px 0;
  background: #fee7e7;
  color: #f85c5f;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.25;
}

.pe-card__scorers {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  column-gap: 24px;
  align-items: start;
  width: 100%;
  margin-top: 16px;
}

.pe-card__scorers-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pe-card__scorers-col--home {
  text-align: right;
  align-items: flex-end;
}

.pe-card__scorers-col--away {
  text-align: left;
  align-items: flex-start;
}

.pe-card__scorers-icon {
  width: 16px;
  height: 16px;
  align-self: flex-start;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.7;
}

.pe-card__scorers-icon svg {
  width: 100%;
  height: 100%;
}

.pe-card__scorer,
.pe-card__scorer-link {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  color: #232323;
  font-size: 14px;
  line-height: 1.25;
  text-decoration: none;
}
@media (max-width: 480px) {
  .pe-card__scorer,
  .pe-card__scorer-link {
    font-size: 12px;
  }
}
.pe-card__scorer-link:hover .pe-card__scorer-name {
  color: var(--primary, #9345d8);
}

.pe-card__scorer-name {
  color: inherit;
}

.pe-card__scorer-minute {
  color: inherit;
}

.pe-card__scorer-marker {
  color: #7d7d7d;
}

.pe-card__odd-main--lost,
.pe-card__best-odd--lost {
  opacity: 0.5;
}


/* --- olegtix-match-tabs --- */
.match-tabs {
  margin: 20px 0;
}

.match-tabs__nav {
  margin: 0 0 16px;
}

.match-tabs--links .sport-tabs__tab--active,
.match-tabs--links .sport-tabs__tab--disabled {
  cursor: default;
}

.match-section-title {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--text, #232323);
  margin: 0 0 16px;
}

.match-section-card {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
}
.match-summary__card p {
  margin-bottom: 14px;
}
.match-summary__card p:last-child {
  margin-bottom: 0;
}

.match-ai-preview {
  margin: 0 0 20px;
}

.match-ai-preview__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.match-ai-preview__body {
  width: 100%;
}

.match-ai-preview__body p {
  margin: 0;
}

.match-ai-preview__body p + p {
  margin-top: 10px;
}

.match-ai-preview__body--clamped {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.match-ai-preview__more {
  margin: 10px 0 0;
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.15s ease;
}

.match-ai-preview__more::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-bottom: 3px;
}

.match-ai-preview__more[aria-expanded="true"]::after {
  transform: rotate(225deg);
  margin-bottom: -2px;
}

.match-ai-preview__more:hover {
  opacity: 0.75;
}

.match-ai-preview__more[hidden] {
  display: none;
}

.match-summary__title {
  margin: 0 0 16px;
}

.match-tabs__panel[hidden] {
  display: none;
}

.match-tabs__panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.match-tabs__placeholder {
  text-align: center;
  color: #9ca3af;
  font-size: 15px;
  padding: 48px 16px;
}

.match-predictions {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.match-predictions__main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.match-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.match-predictions__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.match-predictions__show-more {
  align-self: center;
  padding: 12px 24px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #232323;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.15s,
    color 0.15s;
}

.match-predictions__show-more:hover {
  border-color: #9345d8;
  color: #9345d8;
}

.match-predictions__show-more:disabled,
.match-predictions__show-more--loading {
  opacity: 0.6;
  cursor: progress;
}

.match-predictions__empty {
  padding: 48px 16px;
  text-align: center;
  color: #9ca3af;
  font-size: 15px;
}

@media (max-width: 768px) {
  .match-section-title {
    font-size: 18px;
  }

  .match-section-card {
    padding: 16px;
  }

  .match-tabs__panels {
    border-radius: 10px;
  }

  .match-tabs__placeholder {
    padding: 32px 12px;
  }

  .match-predictions__empty {
    padding: 32px 12px;
  }
}


/* --- olegtix-prediction-page --- */
.prediction-page__block {
  margin: 0 0 32px;
}

.prediction-page__block .match-section-title {
  margin: 0;
}

.prediction-page__block .match-section-title--spaced {
  margin: 0 0 16px;
}

.prediction-other-matches__title {
  margin: 8px 0 16px;
}

@media (max-width: 768px) {
  .prediction-page__block {
    margin-bottom: 24px;
  }
}


/* --- olegtix-match-lineups --- */
.match-lineups {
  margin-bottom: 16px;
}
.match-lineups__column {
  min-width: 0;
  background: #fff;
  padding: 5px;
  border-radius: 14px;
}

.match-lineups__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.match-lineups__column {
  min-width: 0;
}

.match-lineups__column-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f5f5f5;
  border-radius: 10px;
  margin-bottom: 12px;
}

a.match-lineups__column-header--link {
  text-decoration: none;
  color: inherit;
  transition: color 0.15s ease;
}

a.match-lineups__column-header--link:hover .match-lineups__team-name {
  color: var(--primary);
}

.match-lineups__team-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.match-lineups__team-name {
  font-size: 14px;
  font-weight: 700;
  color: #232323;
}

.match-lineups__section {
  margin-top: 16px;
}

.match-lineups__section:first-of-type {
  margin-top: 0;
}

.match-lineups__section-title {
  font-size: 13px;
  font-weight: 700;
  color: #232323;
  padding: 10px 16px;
  border-radius: 10px;
  margin-bottom: 4px;
}

.match-lineups__row {
  display: grid;
  grid-template-columns: 24px 32px 1fr auto auto 20px;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border-bottom: 1px solid #eee;
  border-radius: 0;
  color: #232323;
  text-decoration: none;
  transition: background 0.15s ease;
}
.match-lineups__row:last-child {
  border-bottom: none;
}
.match-lineups__row:hover {
  background: #f5f5f5;
}

.match-lineups__row--no-link {
  cursor: default;
}

.match-lineups__row--no-link:hover {
  background: transparent;
}

.match-lineups__shirt {
  font-size: 13px;
  font-weight: 600;
  color: #7d7d7d;
  text-align: center;
}

.match-lineups__avatar {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  object-fit: cover;
}

.match-lineups__name {
  font-size: 14px;
  color: #232323;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-lineups__flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

.match-lineups__flag-spacer {
  display: inline-block;
  width: 20px;
  height: 14px;
}

.match-lineups__events {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.match-lineups__events--empty {
  display: inline-block;
  width: 0;
}

.match-lineups__event {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  line-height: 1;
  color: #232323;
}

.match-lineups__event img {
  display: block;
  width: 14px;
  height: 14px;
}

.match-lineups__event-minute {
  font-weight: 600;
  color: #6b7280;
}

.match-lineups__rating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 18px;
  padding: 0 6px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.match-lineups__rating--low {
  background: #ef4444;
}
.match-lineups__rating--mid {
  background: #f5b400;
}
.match-lineups__rating--high {
  background: #22c55e;
}
.match-lineups__rating--top {
  background: #a855f7;
}

.match-lineups__rating-placeholder {
  display: inline-block;
  width: 30px;
  height: 18px;
  visibility: hidden;
}

.match-lineups__excluded {
  margin-top: 16px;
  padding: 5px;
  background: #fff;
  border-radius: 14px;
}

.match-lineups__excluded-header {
  font-size: 14px;
  font-weight: 700;
  color: #232323;
  padding: 12px 16px;
}

.match-lineups__excluded-list {
  margin-top: 4px;
}

.match-lineups__row--excluded {
  cursor: default;
}

.match-lineups__row--excluded:hover {
  background: transparent;
}

.match-lineups__legend {
  margin-top: 16px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 14px;
}

.match-lineups__legend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 24px;
}

.match-lineups__legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.match-lineups__legend-item__icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.match-lineups__legend-item__icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.match-lineups__legend-item__label {
  font-size: 13px;
  color: #232323;
}

@media (max-width: 768px) {
  .match-lineups__title {
    font-size: 18px;
  }

  .match-lineups__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .match-lineups__row {
    grid-template-columns: 20px 28px 1fr auto auto 20px;
    gap: 8px;
    padding: 8px 10px;
  }

  .match-lineups__event img {
    width: 12px;
    height: 12px;
  }

  .match-lineups__event-minute {
    font-size: 11px;
  }

  .match-lineups__rating,
  .match-lineups__rating-placeholder {
    min-width: 26px;
    width: 26px;
    height: 16px;
    font-size: 11px;
  }

  .match-lineups__legend-grid {
    grid-template-columns: 1fr;
  }

  .match-lineups__excluded-header {
    padding: 10px 12px;
  }

  .match-lineups__avatar {
    width: 28px;
    height: 28px;
  }

  .match-lineups__name {
    font-size: 13px;
  }
  .match-lineups__section-title {
    text-align: center;
  }
}


/* --- olegtix-match-formations --- */
.match-formations {
  margin-bottom: 16px;
}

.match-formations__title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
}

.match-formations__field {
  position: relative;
  width: 100%;
  container-type: inline-size;
  overflow: hidden;
  border-radius: 10px;
}

.match-formations__field-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.match-formations__players {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.match-formations__player {
  position: absolute;
  transform: translate(-50%, -50%);
  text-align: center;
  text-decoration: none;
  color: #fff;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  gap: 4px;
}

.match-formations__player:hover .match-formations__surname {
  text-decoration: underline;
}

.match-formations__jersey {
  position: relative;
  display: block;
  width: 5cqi;
  min-width: 18px;
  aspect-ratio: 40 / 38;
  line-height: 0;
}

.match-formations__jersey-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.match-formations__number {
  position: absolute;
  top: 62%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: 700;
  font-size: 1.6cqi;
  pointer-events: none;
  white-space: nowrap;
}

.match-formations__surname {
  display: block;
  margin-top: 0.4cqi;
  font-size: 1.5cqi;
  font-weight: 500;
  color: #fff;
  max-width: 10cqi;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-formations__field--ice-hockey {
  background: #e8efff;
}

.match-formations__field--ice-hockey .match-formations__surname {
  color: #1a1a1a;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.match-formations__field--ice-hockey .match-formations__jersey {
  aspect-ratio: 1 / 1;
}

.match-formations__field--ice-hockey .match-formations__jersey-svg path {
  fill: #1a1a1a;
}

.match-formations__field--ice-hockey .match-formations__number {
  color: #1a1a1a;
  top: 47%;
}


/* --- olegtix-match-h2h-list --- */
.match-h2h-list__title {
  margin: 0 0 16px;
}

.match-h2h-list__items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 768px) {
  .match-h2h-list__items {
    gap: 8px;
  }
}


/* --- olegtix-match-team-recent --- */
.match-team-recent__title {
  margin: 0 0 16px;
}

.match-team-recent__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.match-team-recent__column {
  min-width: 0;
}

.match-team-recent__column-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #fff;
  border-radius: 10px;
  margin-bottom: 12px;
}

a.match-team-recent__column-header--link {
  text-decoration: none;
  color: inherit;
  transition: color 0.15s ease;
}

a.match-team-recent__column-header--link:hover .match-team-recent__team-name {
  color: var(--primary);
}

.match-team-recent__team-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.match-team-recent__team-name {
  font-size: 14px;
  font-weight: 700;
}

.match-team-recent__items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 768px) {
  .match-team-recent__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .match-team-recent__items {
    gap: 8px;
  }
}

