/* 05-match.css · 경기 상태, 문제 풀기, 채점 결과, 상품 구간, 지난 경기, 상품 입력 */

/* ===== 이번 주 경기 상태 ===== */
.match-status {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: #5f6652;
  line-height: 1.5;
}

/* ===== 문제 풀기 ===== */
.solve-content {
  font-size: 16px;
  margin: 4px 0 12px;
  line-height: 1.5;
}

.solve-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
}

.solve-choice input {
  width: 20px;
  height: 20px;
  margin: 0;
  flex: 0 0 auto;
}

.solve-answer {
  margin-top: 0;
}

/* ===== 채점 결과 ===== */
.result-head {
  text-align: center;
}

.result-score {
  font-size: 22px;
  font-weight: 900;
  color: var(--grass-dark);
  margin: 8px 0 18px;
}

.result-block {
  border-left: 10px solid var(--ink);
}

.result-block.correct {
  border-left-color: #4a9d4a;
}

.result-block.wrong {
  border-left-color: var(--red);
}

.result-q {
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.4;
}

.result-mark {
  font-size: 16px;
  font-weight: 800;
  margin: 6px 0;
}

.result-line {
  font-size: 14px;
  color: #333;
  margin: 4px 0;
}

.result-expl {
  font-size: 14px;
  color: #5f6652;
  background: var(--yellow-soft);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 8px 0 0;
  line-height: 1.5;
}

/* 내 줄 강조 */
.standings tr.me td {
  background: var(--yellow-soft);
}

/* 상품 범례 */
.reward-legend {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legend-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 11px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
}

/* ===== 지난 경기 기록 ===== */
.history-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.history-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 6px;
  border-bottom: 2px dashed #d8d6c2;
  font-size: 14px;
}

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

.history-list .h-opp {
  flex: 1;
  font-weight: 700;
}

.history-list .h-score {
  font-weight: 800;
  color: var(--grass-dark);
}

.history-list .h-outcome {
  min-width: 44px;
  text-align: center;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  border: 2px solid var(--ink);
}

.h-outcome.o-win {
  background: #c7e9c7;
  background: #c7e9c7;
}

.h-outcome.o-lose {
  background: #f6c9c0;
}

.h-outcome.o-draw {
  background: #eee4b8;
}

.h-outcome.o-pending {
  background: #e5e7eb;
  font-size: 12px;
}

/* ===== 상품 입력 행 ===== */
.reward-row {
  display: flex;
  flex-wrap: wrap; /* 안내 글이 줄 아래로 내려가게 */
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.reward-row input {
  margin-top: 0;
}

.reward-row .reward-from,
.reward-row .reward-to {
  width: 52px;
  text-align: center;
  padding: 10px 6px;
}

.reward-row .reward-text {
  flex: 1;
  min-width: 0;
}

