/* Игра "Сложение" */

.mode-checkboxes {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.mode-checkboxes label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.add-score {
  text-align: center;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 700;
}

.add-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 24px;
}

.equation-area {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #f8fafc;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  margin-bottom: 24px;
  transition: background 0.2s;
}

.equation-area.add-error {
  background: #fecaca;
  border-color: #dc2626;
}

.equation-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.eq-card {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 2px solid #94a3b8;
  border-radius: 10px;
  overflow: hidden;
}

.eq-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.eq-answer {
  border-style: dashed;
  min-width: 80px;
}

.eq-op {
  font-size: 32px;
  font-weight: 700;
  color: #64748b;
}

.add-bottom-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 20px;
}

.add-bottom-card {
  width: 70px;
  height: 70px;
  padding: 6px;
  background: white;
  border: 2px solid #94a3b8;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.add-bottom-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.add-bottom-card:hover {
  background: #eff6ff;
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.2);
}

.add-bottom-card:active {
  transform: translateY(0);
}
