html,
body {
  margin: 0;
  padding: 0;
  background: #f8fbf5;
  color: #243544;
  font-family: Arial, Helvetica, sans-serif;
}

.vitamin-game {
  box-sizing: border-box;
  min-height: 610px;
  padding: 14px;
  background: linear-gradient(#fbfff8, #eef8e8);
}

.vitamin-shell {
  max-width: 940px;
  margin: 0 auto;
}

.vitamin-topbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.vitamin-stat {
  min-height: 48px;
  border: 1px solid #bad0a8;
  border-radius: 6px;
  background: #fff;
  color: #60714f;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 1px 3px rgba(47, 72, 38, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vitamin-stat strong {
  margin-top: 2px;
  color: #244217;
  font-size: 21px;
}

.challenge-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 12px;
  align-items: center;
  min-height: 104px;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid #b1c99d;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(47, 72, 38, 0.14);
}

.prompt-label {
  color: #6a7c5a;
  font-size: 14px;
  font-weight: bold;
}

.prompt-main {
  margin-top: 4px;
  color: #1f4d16;
  font-size: 30px;
  font-weight: bold;
  line-height: 1.15;
}

.prompt-sub {
  margin-top: 4px;
  color: #526a42;
  font-size: 14px;
}

.feedback {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #f4f8f0;
  color: #2f4f25;
  font-weight: bold;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feedback.correct {
  background: #e1f6d8;
  color: #23661d;
}

.feedback.wrong {
  background: #ffe7e2;
  color: #913d2f;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.choice-card {
  min-height: 120px;
  border: 2px solid #bed2aa;
  border-radius: 8px;
  background: #fff;
  color: #203947;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(47, 72, 38, 0.12);
  display: grid;
  grid-template-rows: 34px minmax(0, 1fr);
  transition: transform 0.1s ease, border-color 0.1s ease, background 0.1s ease;
}

.choice-card:hover,
.choice-card:focus {
  border-color: #5d9c33;
  background: #f5fbef;
  outline: none;
  transform: translateY(-1px);
}

.choice-card.correct {
  border-color: #37a84e;
  background: #ecfae7;
}

.choice-card.wrong {
  border-color: #d85243;
  background: #fff0ed;
}

.choice-icon {
  align-self: center;
  justify-self: center;
  font-size: 26px;
}

.choice-text {
  align-self: center;
  padding: 0 10px 12px;
  color: #233846;
  font-size: 17px;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
}

.control-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 12px 0;
}

.vitamin-button {
  height: 34px;
  padding: 0 13px;
  border: 1px solid #88a673;
  border-radius: 5px;
  background: #fff;
  color: #254719;
  font-weight: bold;
  cursor: pointer;
}

.vitamin-button:hover {
  background: #edf8e8;
}

.study-panel {
  display: none;
  border: 1px solid #b6cba5;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(47, 72, 38, 0.12);
}

.study-panel.is-open {
  display: block;
}

.study-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #d7e5cc;
}

.study-item {
  min-height: 76px;
  padding: 9px 10px;
  background: #fff;
  font-size: 13px;
  line-height: 1.32;
}

.study-item strong {
  display: block;
  margin-bottom: 3px;
  color: #214a18;
  font-size: 15px;
}

@media (max-width: 760px) {
  .vitamin-topbar,
  .choice-grid,
  .study-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .challenge-card {
    grid-template-columns: 1fr;
  }
}
