/* 02-league.css · 리그 화면: 리그 정보, 리그 코드, 참가자 명단, 일정, 순위표 */

/* ===== 리그 정보 ===== */
.league-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.league-head h2 {
  margin: 0;
}

.badge {
  font-size: 12px;
  font-weight: 800;
  padding: 5px 11px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--olive);
  color: #fff;
  white-space: nowrap;
}

/* ===== 리그 코드 박스 ===== */
.code-box {
  margin-top: 18px;
  padding: 18px;
  background: var(--yellow-soft);
  border: 3px solid var(--ink);
  border-radius: 8px;
  text-align: center;
}

.code-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #6b7256;
  margin-bottom: 6px;
}

.code-value {
  display: block;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 8px;
  color: var(--ink);
  margin-bottom: 8px;
}

/* ===== 참가자 명단 ===== */
.count {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--ink);
  padding: 3px 9px;
  border-radius: 6px;
}

.member-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.member-list li {
  padding: 9px 15px;
  background: var(--yellow-soft);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

/* ===== 주차 안내 ===== */
.week-info {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--grass-dark);
}

/* ===== 이번 주 경기 ===== */
.opponent {
  font-size: 18px;
  margin: 4px 0 0;
}

.opponent strong {
  font-size: 22px;
  color: var(--grass-dark);
}

/* ===== 내 전체 일정 ===== */
.schedule-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.schedule-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-bottom: 2px dashed #d8d6c2;
  font-size: 15px;
}

.schedule-list li:last-child {
  border-bottom: none;
}

.schedule-list li.now {
  background: var(--yellow-soft);
  border-radius: 8px;
  font-weight: 800;
}

.schedule-list .wk {
  min-width: 56px;
  font-weight: 700;
  color: #6b7256;
}

.schedule-list .bye {
  color: #a08b3a;
}

/* ===== 순위표 ===== */
.standings {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.standings th,
.standings td {
  padding: 9px 6px;
  text-align: center;
  border-bottom: 2px solid #e4e2d0;
}

.standings th {
  font-size: 12px;
  color: #6b7256;
  border-bottom: 3px solid var(--ink);
}

.standings td:nth-child(2) {
  text-align: left;
  font-weight: 700;
}

.standings .pts {
  font-weight: 900;
  color: var(--grass-dark);
}

.standings tr.me {
  background: var(--yellow-soft);
}

.standings tr.me td {
  font-weight: 800;
}

