* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f1ea;
  color: #222;
  overflow-x: hidden;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
}

#done {
  display: none;
  font-size: 22px;
  font-weight: bold;
  color: #b03030;
  margin-bottom: 8px;
}

#stats {
  display: none;
  font-size: 18px;
  margin-bottom: 16px;
}

#area {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}

.card {
  width: 300px;
}

.question {
  position: relative;
  background: white;
  border: 2px solid #ccc;
  border-radius: 8px;
  padding: 12px 40px 12px 12px;
}

.marker {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 22px;
  font-weight: bold;
}

.ok {
  color: green;
}

.bad {
  color: red;
}

.answer {
  background: white;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 8px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: background 0.3s, transform 0.7s, opacity 0.7s;
}

.answer:hover {
  background: #ffe9a8;
}

.selected {
  border-color: #3366cc;
}

.right {
  transform: scale(1.08);
  background: #d9f5dc;
}

.gone {
  transform: translateY(100vh);
  opacity: 0;
}

.note {
  margin-top: 8px;
  font-size: 14px;
}

.clickable {
  cursor: pointer;
}

.clickable:hover {
  background: #eef3ff;
}

.solution {
  margin-top: 8px;
  background: #d9f5dc;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
}
