.single-digi_tournament .digi-dashboard__content {
  padding: 0;
}

.digi-tournament-single {
  width: min(100% - 64px, 940px);
  margin: 44px auto 96px;
  direction: rtl;
}

.digi-tournament-single__card {
  min-height: 930px;
  padding: 58px 34px 46px;
  border-radius: 34px;
  background: #fff;
}

.digi-tournament-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100%, 650px);
  margin: 0 auto 34px;
  padding: 5px;
  border-radius: 15px;
  background: #f4f4f4;
}

.digi-tournament-tabs button {
  position: relative;
  min-height: 49px;
  padding: 8px 10px;
  border-radius: 12px;
  color: #303030;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.digi-tournament-tabs button.is-active {
  background: #fff;
  color: #f57c00;
  box-shadow: 0 3px 7px rgba(0, 0, 0, .12);
}

.digi-tournament-tabs button span {
  position: absolute;
  top: 2px;
  left: 50%;
  padding: 1px 6px;
  border-radius: 6px;
  background: #f57c00;
  color: #fff;
  font-size: 7px;
  font-weight: 700;
  transform: translateX(-50%);
}

.digi-tournament-single__heading {
  margin: 0 3px 15px;
}

.digi-tournament-single__title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.digi-tournament-single__heading h1 {
  margin: 0;
  font-size: clamp(23px, 2.5vw, 31px);
  line-height: 1.5;
}

.digi-tournament-single__heading p {
  margin: 0;
  color: #9b9b9b;
  font-size: 11px;
  direction: ltr;
  text-align: right;
}

.digi-tournament-single__status {
  padding: 4px 9px;
  border-radius: 9px;
  background: #fff0e2;
  color: #f57c00;
  font-size: 9px;
  font-weight: 700;
}

.digi-tournament-single__status--live,
.digi-tournament-single__status--ongoing {
  background: #e9f8ee;
  color: #168a42;
}

.digi-tournament-single__status--finished {
  background: #eee;
  color: #777;
}

.digi-tournament-single__banner {
  height: clamp(190px, 23vw, 260px);
  margin: 0 0 38px;
  overflow: hidden;
  border: 8px solid #f5f5f5;
  border-radius: 24px;
  background: #111;
}

.digi-tournament-single__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.digi-tournament-section {
  margin-top: 0;
}

.digi-tournament-section + .digi-tournament-section {
  margin-top: 46px;
}

.digi-tournament-section h2,
.digi-tournament-empty h2 {
  margin: 0 0 13px;
  font-size: 14px;
  font-weight: 800;
}

.digi-tournament-section__box {
  min-height: 126px;
  padding: 21px 24px;
  border: 1px solid #ddd;
  border-radius: 15px;
  color: #8a8a8a;
}

.digi-tournament-section__content {
  font-size: 12px;
  line-height: 2;
}

.digi-tournament-section__content > * {
  margin-top: 0;
}

.digi-tournament-section__content > *:last-child {
  margin-bottom: 0;
}

.digi-tournament-section--rules ul {
  margin: 0;
  padding: 0 19px 0 0;
  list-style: none;
}

.digi-tournament-section--rules li {
  position: relative;
  margin-bottom: 18px;
  padding-right: 15px;
  font-size: 12px;
  line-height: 1.95;
}

.digi-tournament-section--rules li::before {
  content: "";
  position: absolute;
  top: .85em;
  right: 0;
  width: 5px;
  height: 5px;
  background: #f57c00;
}

.digi-tournament-single__register {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 470px);
  min-height: 55px;
  margin: 70px auto 0;
  border-radius: 12px;
  background: #f57c00;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.digi-tournament-single__register:hover {
  background: #e76f00;
  color: #fff;
}

.digi-tournament-panel[hidden] {
  display: none;
}

.digi-tournament-single__card[data-active-panel="participants"] .digi-tournament-single__heading,
.digi-tournament-single__card[data-active-panel="participants"] .digi-tournament-single__banner {
  display: none;
}

.digi-participants__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 6px 0 32px;
}

.digi-participants__heading h2 {
  margin: 0;
  color: #242424;
  font-size: clamp(23px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.45;
}

.digi-participants__heading p {
  margin: 0;
  color: #9b9b9b;
  direction: ltr;
  font-size: 11px;
  text-align: right;
}

.digi-participants__register {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 265px;
  min-height: 59px;
  border-radius: 14px;
  background: #ffb23e;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.digi-participants__register:hover {
  background: #f6a72f;
  color: #fff;
}

.digi-participants__filters {
  display: grid;
  grid-template-columns: 175px 175px minmax(260px, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.digi-participants__filters select,
.digi-participants__filters input {
  width: 100%;
  height: 39px;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  background: #fff;
  color: #424242;
  font: inherit;
  font-size: 12px;
  outline: none;
}

.digi-participants__filters select {
  padding: 0 14px;
}

.digi-participants__filters input {
  padding: 0 40px 0 14px;
}

.digi-participants__filters select:focus,
.digi-participants__filters input:focus,
.digi-participants__table-wrap:focus {
  border-color: #ffb23e;
  box-shadow: 0 0 0 3px rgba(255, 178, 62, .14);
}

.digi-participants__search {
  position: relative;
  grid-column: 3;
  grid-row: 1;
}

.digi-participants__search > span:last-child {
  position: absolute;
  top: 50%;
  right: 14px;
  color: #333;
  font-size: 20px;
  line-height: 1;
  transform: translateY(-54%) rotate(-20deg);
}

.digi-participants__search input::placeholder {
  color: #c5c5c5;
}

.digi-participants__table-wrap {
  overflow-x: auto;
  border: 1px solid #dedede;
  border-radius: 13px;
  outline: none;
  scrollbar-color: #ffb23e #dedede;
  scrollbar-width: thin;
}

.digi-participants__table {
  width: 100%;
  min-width: 700px;
  border: 0;
  border-collapse: collapse;
  table-layout: fixed;
  color: #333;
  font-size: 12px;
  text-align: center;
}

.digi-participants__table th,
.digi-participants__table td {
  height: 49px;
  padding: 5px 12px;
  border-left: 1px solid #e2e2e2;
  border-bottom: 1px solid #e7e7e7;
  vertical-align: middle;
}

.digi-participants__table th:last-child,
.digi-participants__table td:last-child {
  border-left: 0;
}

.digi-participants__table tr:last-child td {
  border-bottom: 0;
}

.digi-participants__table th {
  height: 34px;
  padding-top: 3px;
  padding-bottom: 3px;
  background: #fff;
  color: #262626;
  font-weight: 700;
}

.digi-participants__table th:nth-child(1) { width: 9%; }
.digi-participants__table th:nth-child(2) { width: 29%; }
.digi-participants__table th:nth-child(3) { width: 24%; }
.digi-participants__table th:nth-child(4) { width: 18%; }
.digi-participants__table th:nth-child(5) { width: 20%; }

.digi-participants__table tbody tr:nth-child(even) {
  background: #fafafa;
}

.digi-participants__table tbody tr:nth-child(2) {
  background: #dff4ff;
}

.digi-participants__table tr[hidden] {
  display: none;
}

.digi-participants__player,
.digi-participants__country {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.digi-participants__player img,
.digi-participants__avatar {
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  border-radius: 50%;
}

.digi-participants__player img {
  object-fit: cover;
}

.digi-participants__avatar {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: #f7e2d7;
  color: #2f3441;
  font-size: 25px;
  line-height: .9;
}

.digi-participants__country > span:first-child {
  font-size: 22px;
  line-height: 1;
}

.digi-participants__rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff3df;
  color: #f57c00;
  font-size: 12px;
  font-weight: 800;
}

.digi-participants__no-results {
  margin: 30px 0;
  color: #777;
  text-align: center;
}

.digi-tournament-empty {
  min-height: 340px;
  padding: 40px;
  border: 1px solid #e1e1e1;
  border-radius: 16px;
  color: #777;
  text-align: center;
}

.digi-tournament-empty h2 {
  color: #222;
}

.digi-tournament-empty p {
  margin: 15px 0 0;
  line-height: 2;
}

@media (max-width: 767px) {
  .digi-tournament-single {
    width: min(100% - 24px, 620px);
    margin: 18px auto 55px;
  }

  .digi-tournament-single__card {
    min-height: 0;
    padding: 18px 12px 28px;
    border-radius: 19px;
  }

  .digi-tournament-tabs {
    margin-bottom: 24px;
    overflow-x: auto;
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    scrollbar-width: none;
  }

  .digi-tournament-tabs::-webkit-scrollbar {
    display: none;
  }

  .digi-tournament-tabs button {
    font-size: 11px;
  }

  .digi-tournament-single__heading h1 {
    font-size: 21px;
  }

  .digi-tournament-single__banner {
    height: clamp(150px, 48vw, 230px);
    margin-bottom: 26px;
    border-width: 5px;
    border-radius: 17px;
  }

  .digi-tournament-section__box {
    padding: 16px;
  }

  .digi-tournament-section + .digi-tournament-section {
    margin-top: 32px;
  }

  .digi-tournament-single__register {
    margin-top: 42px;
  }

  .digi-tournament-tabs {
    width: calc(100% + 24px);
    margin-right: -12px;
    margin-left: -12px;
    padding-right: 12px;
    padding-left: 12px;
    border-radius: 0;
  }

  .digi-participants__heading {
    margin: 8px 0 20px;
  }

  .digi-participants__heading h2 {
    font-size: 21px;
  }

  .digi-participants__register {
    display: none;
  }

  .digi-participants__filters {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 17px;
  }

  .digi-participants__search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .digi-participants__table-wrap {
    width: calc(100% + 24px);
    margin-right: -12px;
    margin-left: -12px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .digi-participants__table {
    min-width: 720px;
  }

  .digi-participants__table th,
  .digi-participants__table td {
    height: 52px;
  }
}
