.match-status-toggler {
  overflow-x: auto;
}
.match-status-toggler ul {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 0;
  margin: 0;
  list-style: none;
}
.match-status-toggler li {
  padding: 0 !important;
}

.matches-empty-stub {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  padding: 40px;
  color: var(--color-11);
}
body.theme-light .matches-empty-stub {
  color: var(--text-color-2);
}
.matches-empty-stub [data-selector="icon"] {
  color: #6296aa;
}
.matches-empty-stub [data-selector="title"] {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}
.matches-empty-stub [data-selector="subtitle"] {
  font-size: 16px;
  line-height: 1.4;
  max-width: 600px;
}
.matches-empty-stub [data-selector="subtitle"]:empty {
  display: none;
}

.match-card {
  --bg-color: var(--color-9);
  --text-color: var(--color-3);
  --text-color2: var(--color-11);
  --primary-color: var(--color-2);

  display: grid;
  grid-template-columns: 0.85fr 1.5fr 1fr;
  justify-content: center;
  align-items: center;
  padding: 20px;
  gap: 40px;
  position: relative;

  border-radius: 16px;

  background: var(--bg-color);
  color: var(--text-color);
  font:
    700 15px/1 Manrope,
    sans-serif;
}
.match-card__link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
.match-card__link:hover {
  background-color: rgba(0, 0, 0, 0.1);
}
body.theme-light .match-card {
  --bg-color: var(--color-3);
  --text-color: var(--text-color-1);
  --text-color2: var(--text-color-2);
  --primary-color: var(--color-13);
}
.match-card__date {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 100%;
}
.match-card__date img {
  width: 20px;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
}
.match-card__fullname {
  color: var(--primary-color);
  width: 100%;
  height: 100%;
}
.match-card__fullname img {
  display: none;
}
.match-card__teams {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: center;
  gap: 20px;
}
.match-card__team {
  display: flex;
  align-items: center;
  gap: 10px;
}
.match-card__team:not(.right) .match-card__team-name {
  text-align: right;
}
.match-card__team-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 100%;
}
.match-card__team-logo {
  width: 32px;
  aspect-ratio: 1;
  flex-shrink: 0;
}
.match-card__team-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.match-card__team-logo .logo {
  display: none;
}
.match-card__team-logo .logo-dark {
  display: none;
}
.match-card__team-name {
  color: var(--text-color);
  width: 100%;
  word-break: break-word;
  transition: color 0.2s;
}
body.theme-light .match-card__team-logo .logo {
  display: block;
}
body.theme-dark .match-card__team-logo .logo-dark {
  display: block;
}
.match-card__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.match-card__center-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: auto;
}
.match-card__center-score {
  font:
    800 24px/1 Manrope,
    sans-serif;
}
.match-card__pari-logo-mob {
  display: none;
  margin-top: auto;
}
.match-card__center-subtext {
  color: var(--text-color2);
  font:
    700 12px/1 Manrope,
    sans-serif;
}
.match-card__center-subtext .live {
  color: var(--color-14);
  display: flex;
  align-items: center;
  gap: 4px;
}
.match-card__center-subtext .live::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.match-card__end {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 30px;
}
.match-card__league {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
}
.match-card .match-coef-chip {
  margin-top: auto;
}

.match-coef-chip {
  --accent-color: var(--color-2);
  --text-color: var(--text-color-3);

  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 8px;
  color: var(--text-color);
  border: 1px solid var(--accent-color);
  font:
    500 12px/1 Manrope,
    sans-serif;

  transition: background 0.2s;
}
.match-coef-chip:hover {
  background-color: var(--accent-color);
}
body.theme-light .match-coef-chip {
  --accent-color: var(--color-13);
  --text-color: var(--text-color-2);
}
body.theme-light .match-coef-chip:hover {
  --text-color: var(--text-color-3);
}

.match-card.square {
  display: flex;
  flex-direction: column;
  justify-content: start;
  gap: 16px;
  min-height: 210px;
}
.match-card.square .match-card__date {
  display: none;
}
.match-card.square .match-card__teams {
  order: 2;
}
.match-card.square .match-card__pari-logo-mob {
  display: block;
  margin-top: auto;
}
.match-card.square .match-card__pari-logo-desk {
  display: none;
}
.match-card.square .match-card__end {
  width: 100%;
}
.match-card.square .match-card__fullname {
  display: flex;
  gap: 8px;
}
.match-card.square .match-card__fullname img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  object-position: center;
}
.match-card.square .match-card__teams {
  grid-template-columns: 1fr 70px 1fr;
  align-items: stretch;
  height: 100%;
  flex-grow: 1;
}
.match-card.square .match-card__team {
  flex-direction: column;
  height: 100%;
}
.match-card.square .match-card__team-inner {
  flex-direction: column;
  height: 100%;
}
.match-card.square .match-card__team:not(.right) {
  flex-direction: column-reverse;
  margin-bottom: auto;
}
.match-card.square .match-card__team:not(.right) .match-card__team-inner {
  flex-direction: column-reverse;
}
.match-card.square .match-card__team-logo {
  width: 48px;
}
.match-card.square .match-card__team-name {
  text-align: center !important;
  font-size: 12px;
  margin-bottom: auto;
}
.match-card.square .match-card__center {
  padding-top: 12px;
  height: 100%;
}
.match-card.square .match-card__coef {
  margin-top: auto;
}

.matches-slider[data-loading="true"] {
  opacity: 0.8;
  pointer-events: none;
}
.matches-slider__top {
  display: flex;
  align-items: center;
  gap: 24px;
}
.matches-slider__card {
  height: 100%;
}
.matches-slider__all--mob {
  display: none !important;
}

@media (max-width: 850px) {
  .match-status-toggler {
    max-width: calc(100vw - 20px);
  }

  .match-card {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: 210px;
  }
  .match-card__date {
    display: none;
  }
  .match-card__end {
    grid-row: 1 / 2;
  }
  .match-card__pari-logo-mob {
    display: block;
    margin-top: auto;
  }
  .match-card__pari-logo-desk {
    display: none;
  }
  .match-card__fullname {
    display: flex;
    gap: 8px;
  }
  .match-card__fullname img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
  }
  .match-card__teams {
    grid-template-columns: 1fr 100px 1fr;
    align-items: stretch;
  }
  .match-card__team {
    flex-direction: column;
  }
  .match-card__team-inner {
    flex-direction: column;
  }
  .match-card__team:not(.right) {
    flex-direction: column-reverse;
  }
  .match-card__team:not(.right) .match-card__team-inner {
    flex-direction: column-reverse;
  }
  .match-card__team-logo {
    width: 48px;
  }
  .match-card__team-name {
    text-align: center !important;
    font-size: 12px;
  }
  .match-card__center {
    padding-top: 12px;
  }
  .match-card__coef {
    margin-top: auto;
  }

  .matches-slider .keen-slider__slide {
    padding: 0 !important;
  }
  .matches-slider__top {
    flex-direction: column;
    align-items: start;
    gap: 10px;
  }
  .matches-slider__all--desk {
    display: none;
  }
  .matches-slider__all--mob {
    display: flex !important;
    margin-top: 10px;
    width: 100% !important;
  }
}
