.instruction {
  display: flex;
  margin: -8px auto 22px;
  font-size: 12px;
  padding: 8px 14px;
  min-height: 40px;
  background: transparent;
  border-color: var(--line);
}
main[tabindex]:focus-visible {
  outline: none;
}
.activity-tools {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.activity-tools .listen {
  font-size: 12px;
  min-height: 44px;
}
.support-box {
  background: #eaf2e5;
  border: 1px solid #bfd1bb;
  border-radius: 20px;
  padding: 22px;
  margin: 20px 0;
  text-align: center;
}
.support-box p {
  font-size: 14px;
  margin: 10px auto;
  max-width: 490px;
}
.support-letters {
  display: flex;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
}
.support-letters .tile {
  font-size: 28px;
  min-width: 48px;
  min-height: 50px;
}
.word-choice {
  font-size: 29px;
  letter-spacing: 2px;
}
.listen.playing {
  background: #d6e9d0;
  border-color: #4b7b5b;
  box-shadow: 0 0 0 4px #b3d6a955;
}
.activity-word {
  white-space: normal;
}
.activity .actions {
  justify-content: center;
}
.audio-choice,
.rhyme-choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 16px;
  background: var(--paper);
}
.audio-choice .button {
  width: 100%;
}
.audio-choice .listen {
  padding: 12px 18px;
  min-height: 60px;
}
.rhyme-choice {
  border: 0;
  background: none;
  padding: 0;
}
.activity > .actions {
  justify-content: center;
}
.activity-figure {
  display: grid;
  width: max-content;
}
.rhyme-choice .listen {
  font-size: 12px;
  min-height: 42px;
}
.record-card [hidden] {
  display: none !important;
}
.audio-choice .button {
  min-height: 48px;
}
@media (max-width: 760px) {
  .audio-choice {
    padding: 17px 9px;
    flex: 1;
    max-width: 160px;
  }
  .audio-choice .listen {
    font-size: 12px;
    padding: 10px;
  }
  .audio-choice .button {
    font-size: 11px;
    padding: 8px;
  }
  .rhyme-choice {
    flex: 1;
    max-width: 130px;
  }
  .rhyme-choice .choice {
    min-width: 0;
    width: 100%;
  }
  .instruction {
    margin-bottom: 18px;
  }
  .activity-word {
    letter-spacing: 3px;
  }
}
/* Depois do acerto as opções ficam desativadas; a certa continua nítida e marcada. */
.choice.is-correct,
.button.is-correct {
  opacity: 1;
  position: relative;
  border-color: var(--green);
  background: var(--green-light);
  box-shadow: 0 0 0 4px #b3d6a955;
}
.choice.is-correct::after {
  content: '✓';
  position: absolute;
  top: -12px;
  right: -12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 17px;
  line-height: 30px;
  text-align: center;
}
