/* 조합 분석 전용 페이지 */
.combo-page {
  padding-bottom: 5.5rem;
}
.combo-page-head {
  margin: 1.25rem 0 1.25rem;
}
.combo-page-head h1 {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
}
.combo-page-head p {
  margin: 0;
  color: var(--lotto-muted, #64748b);
  line-height: 1.5;
}
.combo-picker h2 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
}
.combo-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 6px;
}
@media (max-width: 640px) {
  .combo-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
  }
}
.combo-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 0;
  border: 1px solid var(--lotto-border, #e2e8f0);
  border-radius: 8px;
  background: var(--lotto-surface, #fff);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--lotto-text, #0f172a);
}
.combo-num:hover {
  border-color: var(--lotto-accent, #2563eb);
}
.combo-num.is-on {
  background: var(--lotto-accent, #2563eb);
  border-color: var(--lotto-accent, #2563eb);
  color: #fff;
}
.combo-num:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.combo-selected-label {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  color: var(--lotto-muted, #64748b);
}
.combo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1rem;
}
.combo-actions .lotto-btn {
  min-height: 44px;
}
.combo-result-balls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 1rem;
}
.combo-ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-weight: 700;
  color: #fff;
}
.combo-ball.b1 { background: #fbc400; color: #1a1a1a; }
.combo-ball.b2 { background: #4aa3c8; color: #0f172a; }
.combo-ball.b3 { background: #e5484d; color: #fff; }
.combo-ball.b4 { background: #5f6368; color: #fff; }
.combo-ball.b5 { background: #8fbe28; color: #1a1a1a; }
.combo-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
}
.combo-metrics div {
  border: 1px solid var(--lotto-border, #e2e8f0);
  border-radius: 8px;
  padding: 10px 12px;
}
.combo-metrics dt {
  margin: 0;
  font-size: 0.75rem;
  color: var(--lotto-muted, #64748b);
}
.combo-metrics dd {
  margin: 0.2rem 0 0;
  font-weight: 700;
}
.combo-compare {
  margin-top: 1.1rem;
}
.combo-compare h3 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
}
.combo-compare ul {
  margin: 0;
  padding-left: 1.1rem;
  line-height: 1.55;
}
.combo-disclaimer,
.combo-to-gen {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--lotto-muted, #64748b);
}
.combo-empty {
  color: var(--lotto-muted, #64748b);
}
.combo-error {
  color: #b91c1c;
}
@media (max-width: 520px) {
  .combo-grid {
    grid-template-columns: repeat(7, 1fr);
  }
  .combo-metrics {
    grid-template-columns: 1fr;
  }
}
