.game-card.learn,
.game-box.learn {
  --scene: url('../collection/garden.svg');
  --tint: #dfecd9;
}
.game-card.memory,
.game-box.memory,
.game-card.letters,
.game-box.letters {
  --scene: url('stars.svg');
  --tint: #efe3f2;
}
.game-card.words,
.game-box.words {
  --scene: url('../collection/market.svg');
  --tint: #fae8cf;
}
.game-card.learn .game-art > svg {
  left: 50%;
  top: 49%;
  transform: translate(-50%, -50%);
  width: clamp(50px, 9vw, 110px);
  filter: drop-shadow(0 3px 4px #69435430);
}
.game-box.learn .play-scene {
  height: clamp(275px, 42vw, 395px);
}
.learn-board {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: column;
  padding: 12px;
  gap: 8px;
}
.learn-clue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff9edef;
  border: 1px solid #c9b6a9;
  padding: 8px 15px;
  border-radius: 18px;
  min-width: 83px;
  min-height: 74px;
}
.learn-clue svg {
  width: clamp(44px, 8vw, 74px);
  height: auto;
}
.learn-clue .built-rainbow {
  width: 104px;
}
.learn-choices {
  display: flex;
  justify-content: center;
  gap: clamp(6px, 2vw, 14px);
  width: 100%;
  align-items: center;
}
.learn-choice {
  display: grid;
  place-items: center;
  width: clamp(55px, 14vw, 90px);
  height: clamp(58px, 14vw, 90px);
  padding: 5px;
  border-radius: 17px;
  border: 1.5px solid #bca89b;
  background: #fff9f1;
  box-shadow: 0 3px 0 #a88a7d77;
}
.learn-choice svg {
  width: 90%;
  height: 90%;
}
.flowers-board .learn-choice {
  border-bottom: 8px solid #cc9984;
  border-radius: 12px 12px 26px 26px;
}
.memory-board .learn-choices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 420px;
  justify-items: center;
}
.learn-choice.paired {
  background: #e4eed7;
  box-shadow: none;
}
.letter-tile,
.word-strip {
  font-size: clamp(1.6rem, 5vw, 2.65rem);
  font-weight: 750;
  color: #573853;
}
.word-strip {
  display: flex;
  gap: 3px;
}
.word-strip b {
  padding: 0 2px;
  opacity: 0.65;
}
.word-strip .filled {
  opacity: 1;
  color: #437853;
}
.word-strip .needed {
  opacity: 1;
  border-bottom: 4px solid #ac5980;
}
.word-illustration {
  font-size: 2.1rem;
}
.pony-road {
  position: relative;
  width: 92px;
  height: 45px;
  border-bottom: 4px dotted #99aa7d;
}
.pony-road svg {
  position: absolute;
  bottom: 0;
  width: 30px;
}
@media (max-width: 640px) {
  .game-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .game-art {
    aspect-ratio: 1.7;
  }
  .game-card-footer {
    padding: 8px;
    min-height: 61px;
  }
  .game-card-footer strong {
    font-size: 1.02rem;
    overflow-wrap: anywhere;
  }
  .play-triangle {
    width: 25px;
    height: 25px;
  }
  .game-card-footer .play-triangle:after {
    width: 8px;
    height: 10px;
  }
  .word-strip {
    font-size: 1.45rem;
  }
  .word-illustration {
    font-size: 1.7rem;
  }
}

.trail-obstacle {
  font-size: 2rem;
}
.round-prize .prize-icon:has(.finished-word) {
  width: auto;
  aspect-ratio: auto;
  font-size: 1.4rem;
  font-weight: 750;
}
.round-prize .built-rainbow {
  width: 95px;
  height: auto;
}

.learn-clue.hint {
  outline: 3px solid #b67592;
}
@media (prefers-reduced-motion: no-preference) {
  .learn-clue.hint {
    animation: show-clue 0.36s ease-in-out;
  }
  .learn-choice:active {
    transform: scale(0.96);
  }
  @keyframes show-clue {
    50% {
      transform: scale(1.055);
    }
  }
}
