/* Answer numbers sit on small piles of sand on the beach. */
.game[data-scene="groups"] .answer {
  position: relative;
  isolation: isolate;
  min-height: 70px;
  padding: 7px 12px 21px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: #4b2c12;
  box-shadow: none;
  text-shadow: 0 1px 1px #fff4d7;
  transition: transform .15s ease, filter .15s ease;
}
.game[data-scene="groups"] .answer::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: 0;
  background: url('/assets/lighthouse/answer-sand-mound-v1.webp') center / contain no-repeat;
  pointer-events: none;
}
.game[data-scene="groups"] .answer:hover:not(:disabled) {
  background: transparent;
  filter: brightness(1.06);
  transform: translateY(-3px);
}
.game[data-scene="groups"] .answer:focus-visible {
  outline: 3px solid #176d70;
  outline-offset: 2px;
}
.game[data-scene="groups"] .answer.answer-correct,
.game[data-scene="groups"] .answer.answer-wrong {
  background: transparent;
  box-shadow: none;
  opacity: 1;
}
.game[data-scene="groups"] .answer.answer-correct {
  outline: 3px solid #32834e;
  outline-offset: -3px;
  color: #174b2a;
}
.game[data-scene="groups"] .answer.answer-wrong {
  outline: 3px solid #ad5136;
  outline-offset: -3px;
  color: #74351c;
}
.game[data-scene="groups"] .answer.answer-correct::after,
.game[data-scene="groups"] .answer.answer-wrong::after {
  position: absolute;
  top: 3px;
  right: 7px;
  width: 1.3em;
  height: 1.3em;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-size: .75rem;
  line-height: 1;
  text-shadow: none;
}
.game[data-scene="groups"] .answer.answer-correct::after { content: '✓'; background: #32834e; }
.game[data-scene="groups"] .answer.answer-wrong::after { content: '×'; background: #ad5136; }
@media (max-width: 390px) {
  .game[data-scene="groups"] .answer { min-height: 62px; padding: 5px 7px 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .game[data-scene="groups"] .answer { transition: none; }
  .game[data-scene="groups"] .answer:hover:not(:disabled) { transform: none; }
}
