body {
  background-color: #000;
  color: #fff;
  font-family: "Plus Jakarta Sans";
}

a {
  text-decoration: none;
  color: inherit;
}

.x-extra-small-text {
  font-family: "Plus Jakarta Sans";
  font-size: 10px;
  font-style: normal;
}

.extra-small-text {
  font-family: "Plus Jakarta Sans";
  font-size: 12px;
  font-style: normal;
}

.small-text {
  font-family: "Plus Jakarta Sans";
  font-size: 14px;
  font-style: normal;
}

.bold-text {
  font-weight: 700;
}

.start-text {
  text-align: start !important;
}

.container {
  width: 100%;
  padding: 15px;
}

.main-container {
  width: 390px;
}

.sub-container {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #262626;
  background: #171717ff;
  width: 100%;
  gap: 15px;
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.header{
  display: flex;
  align-items: center;
  gap: 10px;

  h1, p {
    margin-bottom: 0px;
  }

  img {
    border-radius: 50%;
  }
}

.header-title{
  display: flex;
  justify-content: center;
  align-items: start;
  flex-direction: column;
}

.lazy {
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.lazy.loaded {
  opacity: 1;
}

.leagues-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: flex-start;
  gap: 8px;
  padding: 0px;
  border-radius: 8px;
  background: #171717ff;
  align-self: stretch;
  align-items: stretch;
}

.league {
  display: flex;
  padding: 12px;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  border: 1px solid #3f3f3f;
  background: #262626ff;
}

.league-image {
  display: flex;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.league-img {
  width: 119px;
  height: 119px;
  border-radius: 8px;
}

.league:hover .league-img {
  transform: scale(1.1, 1.1);
  transition: transform 0.3s ease;
  border-radius: 12px;
}

.league-title {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0px !important;
}

.league-button{
  padding: 8px;
  background: #f42a88ff;
  color: #ffffff;
  width: 100%;
  border-radius: 8px;
  text-align: center;
  text-transform: uppercase;
  border: none;
}

.last-selection-container {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  background: #262626ff;
  border: 1px solid #3f3f3f;
  align-self: stretch;
  justify-content: space-between;

  .image-container {
      display: flex;
      gap: 5px;

      .winner{
        border: solid 3px #f42a88ff;
      }

      .loser {
        opacity:0.2;
      }
    }
}

.last-selection-img {
  width: 50px;
  height: 60px;
  border-radius: 8px;
}

.last-selection{
  p{
    margin-bottom: 0px;
    color: #D2D2D2;
  }
  .title {
    color: #9C9C9C;
  }
}

.battle-contenders {
  border-radius: 24px;
  background: #171717ff;
  display: flex;
  padding: 0px;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border: none;
  gap: 10px;
}

.media {
  width: 100%;
}

.battle-contender {
  display: flex;
  padding: 12px;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  border-radius: 12px;
  border: 1px solid #3f3f3f;
  background: #262626ff;
  width: 100%;
  min-height: 254px;
  gap: 12px;

  .media {
    width: 137px;
  }
}

.battle-container-img {
  max-width: 137px;
  height: 162px;
  width: 100%;
  border-radius: 12px;
}

.image-credits {
  text-align: center;
  font-family: "Plus Jakarta Sans";
  font-size: 12px;
  font-style: normal;
  line-height: 12px;
  font-weight: 400;
  margin: 0px;
}

.contender-button {
  border: none;
  background: none;
  height: 100%;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  padding: 0px;
}

.battle-contender:hover {
  background: #262626ff;
}

.battle-contender:hover .battle-container-img {
  transform: scale(1.1, 1.1);
  transition: transform 0.3s ease;
}

.vs {
  display: flex;
  padding: 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  position: absolute;
  border-radius: 8px;
  border: 1px solid #f42a88ff;
  background: #f42a88ff;
  width: 61px;
  height: 53px;
  justify-content: center;
  align-items: center;
  place-self: center;
  z-index: 1000;
  color: #ffffff;
}

.vs-label {
  margin: 0px;
  color: #ffffff;
}

.progress {
  width: 100%;
  height: 0.5rem;
  --bs-progress-bar-bg: #47CD89;
}

.fig-container {
  margin: 0px;
}

.contender-name {
  text-align: center;
  margin: 15px 0;
  height: 36px;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 5px 0px !important;
}

.actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;

  a {
    color: #00FF00;
  }

  a span {
    text-decoration: none;
    display: inline-block;
  }

  p{
    margin-bottom: 0px;
  }

  span {
    font-size: 16px;
    margin-left: 5px;
  }
}

.leaderboard-battle {
  display: flex;
  border-radius: 24px;
  background: #171717ff;
  flex-direction: column;
  align-self: stretch;
  gap: 15px;
  padding: 0px;

  .leaderboard {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    align-self: stretch;
    border: 1px solid #3f3f3f;
    border-radius: 8px;
    background: #262626ff;
    padding: 12px;
  }

  .leader-label {
    font-size: 12px;
    margin: 0px;
  }

  p {
    text-align: center;
    font-weight: 500;
    margin: 0px;
  }

  .actions {
    .active {
      color: #00FF00;
      text-decoration: underline;
    }

    a span {
      text-decoration: none;
      display: inline-block;
    }
  }
}

.leaderboard-image-container {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: space-between;

  .contender{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  img {
    width: 38px;
    height: 45px;
    border-radius: 8px;
  }
}

.leaderboard-container {
  display: flex;
  padding: 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;
  border-radius: 24px;
  background: #262626ff;
  border: 1px solid #3f3f3f;
  gap: 24px;
  margin-bottom: 24px;
}

.leaderboard-battle-container {
  display: flex;
  gap: 24px;
  flex-direction: column;
  justify-content: end;
}

.leaderboard-image-container {
  display: flex;
  gap: 5px;
  align-items: center;

  img {
    width: 38px;
    height: 45px;
    border-radius: 8px;
  }
}

.leader-img {
  width: 148.987px;
  height: 176.73px;
  border-radius: 8px;
}

.leader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  align-self: stretch;
}

.media-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.battles_incomplete {
  .leaderboard {
    min-height: 200px;
  }
}

.battles_complete {
  .leaderboard {
    min-height: 50px;
  }
}

.leaderboard-message {
  p{
    text-align: start;
  }

  .leaderboard{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .buttons-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    vertical-align: middle;
    gap: 10px;
  }

  .button {
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 0 solid black;
    color: white;
    padding: 4px 8px;
    border-style: none;
    font-weight:700;
    width: fit-content;
  }

  .btn-pink {
    background: #f42a88ff;
  }

  .btn-black{
    background: black;
  }

  .link{
    color: #f42a88ff;
  }
}

/* DONUT Games Logo Badge with Link */
.donut-games-logo {
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
  display: inline-block;
  text-decoration: none;
  margin: 0 auto;
}

.donut-games-logo:hover {
  transform: scale(1.05);
}

.donut-games-logo img {
  height: 32px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.2s ease-in-out;
}

.donut-games-logo:hover img {
  opacity: 1;
}

.button.hide {
  display: none;
}