.scene p:not(.visual-clue) { cursor: auto; }
.scene p:not(.visual-clue):hover { background: transparent; }
.teen-word {
  display: inline-block;
  font: inherit;
  line-height: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: .2em;
  padding: 0;
  touch-action: manipulation;
}
.teen-word:focus-visible, .teen-word.selected { outline: 2px solid #50766a; outline-offset: 1px; }
.teen-sentence.reading { background: #fff4d7; }
.teen-word.reading { background: #ffdb77; color: #2b230f; }
#practice-tooltip, #word-practice {
  position: fixed;
  z-index: 6;
  background: #fffefa;
  border: 1px solid #b9ccbf;
  border-radius: 12px;
  box-shadow: 0 6px 24px #25473e30;
  color: #244b43;
}
#practice-tooltip {
  padding: .5rem .75rem;
  max-width: min(260px, calc(100vw - 16px));
  pointer-events: none;
}
#word-practice {
  inset: auto 12px max(10px, env(safe-area-inset-bottom)) 12px;
  max-width: 620px;
  max-height: 45vh;
  overflow: auto;
  margin-inline: auto;
  padding: .65rem .9rem;
}
.practice-open { padding-bottom: var(--practice-space, 190px); }
.practice-heading, .practice-actions { display: flex; align-items: center; gap: .45rem; }
.practice-heading { justify-content: space-between; }
.practice-actions { flex-wrap: wrap; }
#word-practice button {
  min-height: 44px;
  border: 1px solid #cbd4cb;
  border-radius: 8px;
  background: #edf2ed;
  color: inherit;
  padding: .3rem .6rem;
  font: inherit;
}
#practice-sentence { margin: .25rem 0 .65rem; font-family: Georgia, serif; }
#practice-status:not(:empty) { margin-top: .45rem; font-size: .9rem; }
#practice-recording { max-width: 100%; margin-top: .45rem; }
@media (max-width: 450px) {
  header { flex-wrap: wrap; }
  .controls button, .controls select { min-height: 40px; }
  .practice-actions button { font-size: .85rem !important; }
}
.practice-translation {
  margin: 0 0 .65rem;
  padding: .45rem .65rem;
  border-radius: 8px;
  background: #edf2ed;
  line-height: 1.5;
}
.practice-translation strong { margin-inline-end: .35rem; }
#voice { max-width: 9.5rem; }
