.esteira-jogos {
  --esteira-purple: #2b006b;
  --esteira-bg: #f3f3f3;
  --esteira-muted: #b6acd0;
  --esteira-divider: #7d61a9;
  color: var(--esteira-purple);
  font-family: "OpenSans-Regular", Arial, sans-serif;
  grid-column: 1 / -1;
  max-width: 1200px;
  width: 100%;
}

.esteira-jogos,
.esteira-jogos * {
  box-sizing: border-box;
}

.esteira-jogos__header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  width: 100%;
}

.esteira-jogos__title {
  color: var(--esteira-purple);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.16;
  margin: 0;
}

.esteira-jogos__title strong {
  font-family: "OpenSans-ExtraBold", Arial, sans-serif;
  font-weight: 800;
}

.esteira-jogos__button {
  align-items: center;
  background: var(--esteira-purple);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  height: 30px;
  justify-content: center;
  line-height: 1;
  min-width: 187px;
  padding: 0 18px;
  text-decoration: none;
  white-space: nowrap;
}

.esteira-jogos__button:hover,
.esteira-jogos__button:focus {
  color: #fff;
  text-decoration: none;
}

.esteira-jogos__button--mobile {
  display: none;
}

.esteira-jogos__viewport {
  background: var(--esteira-bg);
  border-bottom: 8px solid var(--esteira-purple);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  width: 100%;
}

.esteira-jogos__viewport::-webkit-scrollbar {
  display: none;
}

.esteira-jogos__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 100px;
  width: 100%;
}

.esteira-jogos__match {
  align-items: center;
  display: grid;
  grid-template-columns: 1fr 54px 1fr;
  min-width: 0;
  padding: 25px 48px 20px;
  position: relative;
}

.esteira-jogos__match + .esteira-jogos__match::before {
  background: var(--esteira-divider);
  content: "";
  height: 50px;
  left: 0;
  position: absolute;
  top: 26px;
  width: 2px;
}

.esteira-jogos__team {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}

.esteira-jogos__flag {
  align-items: center;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 5px 10px rgba(34, 13, 59, 0.18);
  display: flex;
  height: 21px;
  justify-content: center;
  overflow: hidden;
  width: 34px;
}

.esteira-jogos__flag img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.esteira-jogos__flag--empty {
  background: linear-gradient(135deg, #fff 0 42%, #c9c4d8 43% 100%);
}

.esteira-jogos__code {
  color: var(--esteira-purple);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  max-width: 54px;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.esteira-jogos__team--empty .esteira-jogos__code {
  color: var(--esteira-muted);
}

.esteira-jogos__meta {
  align-items: center;
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  min-width: 0;
}

.esteira-jogos__versus {
  color: var(--esteira-purple);
  font-size: 16px;
  line-height: 1;
}

.esteira-jogos__time {
  background: var(--esteira-purple);
  border-radius: 4px;
  color: #fff;
  display: block;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  max-width: 74px;
  overflow: hidden;
  padding: 3px 6px 2px;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.esteira-jogos__time--live {
background: #df0000;
border-radius: 7px;
font-size: 11px;
max-width: none;
min-width: 70px;
padding: 2px 3px 3px 19px;
position: relative;
}

.esteira-jogos__time--live::before {
  background: #fff;
  border-radius: 50%;
  content: "";
  height: 10px;
  left: 5px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
}

.esteira-jogos__state {
  align-items: center;
  color: var(--esteira-purple);
  display: flex;
  font-size: 14px;
  justify-content: center;
  min-height: 100px;
  padding: 24px;
  text-align: center;
}

@media (max-width: 900px) {
  .esteira-jogos {
    max-width: none;
    width: 100%;
  }

  .esteira-jogos__header {
    display: block;
    margin-bottom: 14px;
  }

  .esteira-jogos__title {
    font-size: 18px;
    line-height: 1.2;
    padding: 0;
  }

  .esteira-jogos__button--desktop {
    display: none;
  }

  .esteira-jogos__button--mobile {
    display: flex;
    font-size: 14px;
    height: 27px;
    margin: 16px 0 0;
    min-width: 0;
    width: 100%;
  }

  .esteira-jogos__viewport {
    border-bottom-width: 8px;
    margin-right: -20px;
    width: auto;
    mask-image: linear-gradient(to right, rgb(0, 0, 0) 0%, rgb(0, 0, 0) 80%, rgba(0, 0, 0, 0) 100%);
  }

  .esteira-jogos__list {
    display: flex;
    min-height: 82px;
    width: max-content;
  }

  .esteira-jogos__match {
    flex: 0 0 200px;
    grid-template-columns: 1fr 42px 1fr;
    padding: 16px 18px 14px;
  }

  .esteira-jogos__match + .esteira-jogos__match::before {
    height: 50px;
    top: 16px;
  }

  .esteira-jogos__team {
    gap: 9px;
  }

  .esteira-jogos__flag {
    height: 21px;
    width: 34px;
  }

  .esteira-jogos__meta {
    gap: 11px;
  }

  .esteira-jogos__versus {
    font-size: 15px;
  }

  .esteira-jogos__state {
    min-height: 82px;
  }
}
