.prono-league-page .auth-shell {
  width: min(1080px, calc(100% - 28px));
}

.prono-league-page .auth-card {
  max-width: none;
}

.league-round-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.league-round-summary > * {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #173d2c;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}

.league-login-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #f3f8f5;
}

.league-login-note p {
  margin: 0;
  color: #52635a;
}

.match-list {
  display: grid;
  gap: 10px;
}

.match-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 170px;
  align-items: center;
  gap: 18px;
  padding: 15px 18px;
  border: 1px solid rgba(23, 61, 44, 0.12);
  border-radius: 16px;
  background: #fff;
}

.match-row.is-locked {
  background: #f7f8f7;
}

.match-row__time,
.match-row__teams {
  display: grid;
  gap: 4px;
}

.match-row__time strong,
.match-row__teams span:first-child {
  color: #173d2c;
}

.match-row__time span,
.match-row__teams span:last-child {
  color: #68766e;
}

.match-row__score {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  text-align: right;
}

.match-row__score label {
  margin: 0;
}

.match-row__score input {
  width: 58px;
  min-height: 46px;
  padding: 8px;
  border: 1px solid rgba(23, 61, 44, 0.22);
  border-radius: 12px;
  background: #fff;
  color: #173d2c;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  text-align: center;
}

.match-row__score strong,
.match-row__score small {
  display: block;
}

.match-row__score strong {
  color: #173d2c;
  font-size: 1.05rem;
}

.match-row__score small {
  color: #78857e;
}

.match-row__separator {
  color: #708078;
  font-weight: 800;
}

.round-challenges {
  margin-top: 26px;
  padding: 22px;
  border-radius: 18px;
  background: #f5f9f6;
}

.round-challenges__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.round-challenges h2 {
  margin: 0 0 4px;
  color: #173d2c;
}

.round-challenges p {
  margin: 0;
  color: #64736b;
}

.round-challenges__heading > span {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.round-challenges__heading > span.is-open {
  color: #14683f;
  background: #dff3e7;
}

.round-challenges__heading > span.is-locked {
  color: #755320;
  background: #f6ead4;
}

.round-challenges__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.round-challenges__grid label {
  display: grid;
  gap: 8px;
  color: #294b3b;
  font-weight: 700;
}

.round-challenges select {
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid rgba(23, 61, 44, 0.2);
  border-radius: 12px;
  background: #fff;
  color: #243d31;
  font: inherit;
}

.round-challenges__locked {
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
}

.league-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
}

.league-form-actions p {
  max-width: 620px;
  margin: 0;
  color: #66756d;
  line-height: 1.5;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 760px) {
  .match-row {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .match-row__score {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-top: 6px;
    border-top: 1px solid rgba(23, 61, 44, 0.08);
  }

  .round-challenges__grid {
    grid-template-columns: 1fr;
  }

  .league-login-note,
  .league-form-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Navigația comună Pronosticuri / Clasament general */
.league-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -4px 0 22px;
}

.league-section-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid rgba(23, 61, 44, 0.16);
  border-radius: 999px;
  background: #fff;
  color: #234b38;
  font-weight: 800;
  text-decoration: none;
}

.league-section-nav a:hover,
.league-section-nav a:focus-visible {
  border-color: #1a7549;
  background: #e8f5ed;
  color: #135d39;
}

.league-section-nav a.league-section-nav__active,
.league-section-nav a.league-section-nav__active:hover,
.league-section-nav a.league-section-nav__active:focus-visible {
  border-color: #173d2c;
  background: #173d2c;
  color: #fff;
}

.prono-league-page .auth-card-heading {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.prono-league-page .auth-card-heading h1,
.prono-league-page .auth-card-heading p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
