/* ============================================================
   Calculia — Word problems: the card, the statement and the answers.
   Shared by the four «Resuelve problemas» activities.
   ============================================================ */

.problem-card {
  width: min(100%, 560px);
  margin: 0 auto;
  gap: 16px;
  align-items: center;
}

.problem-icon {
  font-size: 64px;
  line-height: 1;
}

.problem-statement {
  margin: 0;
  font-size: var(--texto-grande);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.problem-options {
  display: grid;
  gap: 12px;
  width: min(100%, 320px);
  margin: 0 auto;
}

.problem-option {
  min-height: 56px;
  font-size: 1.5rem;
  font-weight: 700;
}

.problem-option.correct { border-color: var(--color-acierto); }
.problem-option.incorrect { opacity: 0.5; text-decoration: line-through; }

/* Keypad (config.answer 'keypad'): the child types the number. */
.answer-display {
  min-height: 3.5rem;
  margin: 0 auto;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-align: center;
  border: 2px dashed var(--color-borde);
  border-radius: 12px;
  width: min(100%, 320px);
  padding: 8px 12px;
}

.answer-display.correct { border-style: solid; border-color: var(--color-acierto); }

.answer-pad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: min(100%, 320px);
  margin: 0 auto;
}

.answer-key {
  min-height: 56px;
  font-size: 1.5rem;
  font-weight: 700;
}

.answer-key:disabled { opacity: 0.6; }
