/* SCORES PAGE */

.score-status-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 26px;
}

.score-status-panel h2 {
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--cream);
}

.score-status-panel p {
  margin: 0;
  max-width: 780px;
  font-size: 1.04rem;
  line-height: 1.6;
  color: rgba(249, 230, 183, 0.92);
}

.last-updated {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  background: rgba(2, 10, 12, 0.58);
  border: 1px solid rgba(201, 164, 88, 0.28);
  text-align: center;
}

.last-updated span {
  margin-bottom: 8px;
  font-family: "Oswald", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.last-updated strong {
  font-family: "Oswald", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
}

.score-legend {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 28px;
  border: 1px solid rgba(201, 164, 88, 0.22);
  background: rgba(1, 8, 10, 0.42);
}

.score-legend div {
  padding: 16px 18px;
  border-right: 1px solid rgba(201, 164, 88, 0.16);
}

.score-legend div:last-child {
  border-right: 0;
}

.score-legend strong {
  display: block;
  margin-bottom: 5px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--gold-soft);
}

.score-legend span {
  display: block;
  font-size: 0.92rem;
  line-height: 1.35;
  color: rgba(249, 230, 183, 0.88);
}

.score-division {
  margin-top: 28px;
  border: 1px solid rgba(201, 164, 88, 0.22);
  background: rgba(2, 10, 12, 0.42);
}

.score-division:first-of-type {
  margin-top: 0;
}

.score-division-header {
  padding: 18px 22px;
  background:
    linear-gradient(
      90deg,
      rgba(11, 45, 49, 0.96),
      rgba(6, 20, 24, 0.96)
    );
  border-bottom: 1px solid rgba(201, 164, 88, 0.22);
}

.score-division-header p {
  margin: 0 0 6px;
  font-family: "Oswald", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.score-division-header h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--cream);
}

.score-table-wrap {
  overflow-x: auto;
}

.score-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

.score-table th {
  padding: 16px 14px;
  border-bottom: 1px solid rgba(201, 164, 88, 0.18);
  text-align: left;
  font-family: "Oswald", sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.score-table td {
  padding: 16px 14px;
  border-bottom: 1px solid rgba(201, 164, 88, 0.12);
  font-size: 0.96rem;
  line-height: 1.45;
  color: rgba(249, 230, 183, 0.92);
}

.score-table tbody tr:last-child td {
  border-bottom: 0;
}

.score-table tbody tr:hover {
  background: rgba(201, 164, 88, 0.05);
}

.score-table td:nth-child(1),
.score-table td:nth-child(6),
.score-table td:nth-child(7),
.score-table td:nth-child(8),
.score-table td:nth-child(9),
.score-table th:nth-child(1),
.score-table th:nth-child(6),
.score-table th:nth-child(7),
.score-table th:nth-child(8),
.score-table th:nth-child(9) {
  text-align: center;
}

.score-table td:nth-child(9) strong {
  font-family: "Oswald", sans-serif;
  font-size: 1.05rem;
  color: var(--gold-soft);
}

.score-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(201, 164, 88, 0.28);
  font-family: "Oswald", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.score-status.confirmed {
  color: #9fd79f;
  border-color: rgba(159, 215, 159, 0.38);
}

.score-status.pending {
  color: #f1c97a;
  border-color: rgba(241, 201, 122, 0.34);
}

.score-status.unofficial {
  color: #f7d99a;
  border-color: rgba(247, 217, 154, 0.36);
}

.score-footnote {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(201, 164, 88, 0.18);
}

.score-footnote p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(249, 230, 183, 0.9);
}

@media (max-width: 900px) {
  .score-status-panel {
    grid-template-columns: 1fr;
  }

  .last-updated {
    text-align: left;
    align-items: flex-start;
  }

  .score-legend {
    grid-template-columns: repeat(2, 1fr);
  }

  .score-legend div:nth-child(2) {
    border-right: 0;
  }

  .score-legend div:nth-child(3),
  .score-legend div:nth-child(4) {
    border-top: 1px solid rgba(201, 164, 88, 0.16);
  }
}

@media (max-width: 620px) {
  .score-legend {
    grid-template-columns: 1fr;
  }

  .score-legend div {
    border-right: 0;
    border-top: 1px solid rgba(201, 164, 88, 0.16);
  }

  .score-legend div:first-child {
    border-top: 0;
  }
}
