.frame {
  display: flex;
  flex-direction: column;
  width: 254px;
  align-items: flex-start;
  gap: 10px;
  position: relative;
}

.frame .text-wrapper {
  position: relative;
  align-self: stretch;
  height: 28px;
  margin-top: -1.00px;
  font-family: var(--web-headers-h5-font-family);
  font-weight: var(--web-headers-h5-font-weight);
  color: var(--all-gradients-grey-200);
  font-size: var(--web-headers-h5-font-size);
  letter-spacing: var(--web-headers-h5-letter-spacing);
  line-height: var(--web-headers-h5-line-height);
  font-style: var(--web-headers-h5-font-style);
}

.frame .button-currently {
  display: flex;
  height: 48px;
  align-items: center;
  padding: 16px;
  position: relative;
  align-self: stretch;
  width: 100%;
  background-color: #0000004c;
  border-radius: 8px;
  border: 1px solid;
  border-color: var(--all-gradients-grey-200);
}

.frame .frame-wrapper {
  display: flex;
  gap: 12px;
  flex: 1;
  flex-grow: 1;
  margin-top: -4.00px;
  margin-bottom: -4.00px;
  align-items: center;
  position: relative;
}

.frame .div {
  display: flex;
  justify-content: space-between;
  flex: 1;
  flex-grow: 1;
  align-items: center;
  position: relative;
}

.frame .div-2 {
  display: inline-flex;
  gap: 12px;
  flex: 0 0 auto;
  align-items: center;
  position: relative;
}

.frame .ellipse {
  position: relative;
  width: 24px;
  height: 24px;
  object-fit: cover;
}

.frame .text-wrapper-2 {
  position: relative;
  width: fit-content;
  font-family: var(--web-input-button-font-family);
  font-weight: var(--web-input-button-font-weight);
  color: var(--backgroundwhite);
  font-size: var(--web-input-button-font-size);
  text-align: center;
  letter-spacing: var(--web-input-button-letter-spacing);
  line-height: var(--web-input-button-line-height);
  white-space: nowrap;
  font-style: var(--web-input-button-font-style);
}

.frame .text-wrapper-3 {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: var(--web-values-v3-font-family);
  font-weight: var(--web-values-v3-font-weight);
  color: var(--backgroundwhite);
  font-size: var(--web-values-v3-font-size);
  text-align: center;
  letter-spacing: var(--web-values-v3-letter-spacing);
  line-height: var(--web-values-v3-line-height);
  white-space: nowrap;
  font-style: var(--web-values-v3-font-style);
}

.frame .div-wrapper {
  display: flex;
  height: 48px;
  align-items: center;
  padding: 16px;
  position: relative;
  align-self: stretch;
  width: 100%;
  background-color: #0000004c;
  border-radius: 8px;
  border: 1px solid;
  border-color: #bf27cd66;
  box-shadow: inset 0px 0px 15px #9413a0, 0px 0px 10px #bf27cd66;
}

.frame .text-wrapper-4 {
  position: relative;
  align-self: stretch;
  height: 28px;
  opacity: 0;
  font-family: var(--web-headers-h5-font-family);
  font-weight: var(--web-headers-h5-font-weight);
  color: #ffffff;
  font-size: var(--web-headers-h5-font-size);
  letter-spacing: var(--web-headers-h5-letter-spacing);
  line-height: var(--web-headers-h5-line-height);
  font-style: var(--web-headers-h5-font-style);
}
.match-container {
  display: flex;
  margin-top: 70px;
  margin-bottom: 70px;
  flex-direction: column;
  max-width: 508px;
  align-items: flex-start;
  gap: 10px;
}

.match-title {
  align-self: stretch;
  font-family: var(--web-headers-h5-font-family);
  font-weight: var(--web-headers-h5-font-weight);
  color: var(--all-gradients-grey-200);
  font-size: var(--web-headers-h5-font-size);
  letter-spacing: var(--web-headers-h5-letter-spacing);
  line-height: var(--web-headers-h5-line-height);
  font-style: var(--web-headers-h5-font-style);
}

.player-section {
  width: 100%;
}

.player-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 1px solid var(--all-gradients-grey-200);
}

.player-card.highlighted {
  border-color: rgba(191, 39, 205, 0.4);
  box-shadow:
    inset 0px 0px 15px #9413a0,
    0px 0px 0px 1px #BF27CD,
    0px 0px 10px rgba(191, 39, 205, 0.4);
}

.player-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.player-name {
  font-family: var(--web-input-button-font-family);
  font-weight: var(--web-input-button-font-weight);
  color: var(--backgroundwhite);
  font-size: var(--web-input-button-font-size);
  letter-spacing: var(--web-input-button-letter-spacing);
  line-height: var(--web-input-button-line-height);
  font-style: var(--web-input-button-font-style);
}

.player-score {
  font-family: var(--web-values-v3-font-family);
  font-weight: var(--web-values-v3-font-weight);
  color: var(--backgroundwhite);
  font-size: var(--web-values-v3-font-size);
  letter-spacing: var(--web-values-v3-letter-spacing);
  line-height: var(--web-values-v3-line-height);
  font-style: var(--web-values-v3-font-style);
}

/* Inject original CSS code here */
.matches-grid {
    display: flex;
    flex-direction: column;
    width: 100%; /* Takes 70% of parent width */
}

.branch {
    position: absolute;
    right: 395px;
    top: 207px;
    height: 303px; /* Adjust based on your needs */
}


.nav-frame {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 32px;
    position: relative;
    background-color: #00000080;
    border-radius: 8px 8px 0px 0px;
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.nav-frame .div {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
}

.nav-frame .league-filter-tabs {
    display: inline-flex;
    height: 44px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 16px;
    position: relative;
    flex: 0 0 auto;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid;
    border-color: rgba(255, 255, 255, 0.2);
}

.nav-frame .group {
    position: relative;
    width: 77px;
    height: 17px;
    margin-right: -2.00px;
}

.nav-frame .PREMIER-LEAGUE {
    position: absolute;
    height: 17px;
    top: 0;
    left: 0;
    font-family: "IBM Plex Sans", Helvetica;
    font-weight: 700;
    color: var(--backgroundwhite);
    font-size: var(--web-input-buttonfilters-font-size);
    letter-spacing: var(--web-input-buttonfilters-letter-spacing);
    line-height: var(--web-input-buttonfilters-line-height);
    white-space: nowrap;
    font-style: var(--web-input-buttonfilters-font-style);
}

.nav-frame .PREMIER-LEAGUE-wrapper {
    width: 107px;
    position: relative;
    height: 17px;
    margin-right: -2.00px;
}

.nav-frame .div-wrapper {
    width: 79px;
    position: relative;
    height: 17px;
    margin-right: -2.00px;
}

.nav-frame .group-wrapper {
    display: inline-flex;
    height: 44px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 16px;
    position: relative;
    flex: 0 0 auto;
    background-color: var(--variable-collection-primary-20);
    border-radius: 12px;
    border: 1px solid;
    border-color: var(--variable-collection-primary-500);
}

.nav-frame .group-2 {
    width: 42px;
    position: relative;
    height: 17px;
    margin-right: -2.00px;
}
