/* Слух: dictation, minimal pairs, numbers, IPA, shadowing. Everything scoped under .v-listen. */
.v-listen [hidden] { display: none !important; }
.v-listen .lt-body { display: block; min-width: 0; }
.v-listen .lt-keys { margin-top: 2px; }
.v-listen .lt-audio { gap: 8px; }
.v-listen .lt-play { min-height: 46px; padding: 0 18px; border-radius: 999px; }

/* dictation */
.v-listen .lt-ta { font-size: var(--t-lg); line-height: 1.45; min-height: 92px; resize: none; }
.v-listen .lt-line { font-size: var(--t-lg); line-height: 2.3; overflow-wrap: anywhere; }
.v-listen .lt-gap { display: inline-block; width: auto; min-height: 36px; padding: 2px 8px; margin: 0 2px; font-family: var(--f-read); font-size: inherit; text-align: center; border-style: dashed; border-color: var(--ink-3); background: var(--marker-soft); max-width: 100%; }
.v-listen .lt-gap::placeholder { color: var(--ink-2); opacity: .8; }
.v-listen .lt-hint { font-size: var(--t-lg); letter-spacing: .04em; margin: 0; }
.v-listen .lt-diff { font-size: var(--t-lg); line-height: 2.1; margin: 0; overflow-wrap: anywhere; }
.v-listen .lt-w { display: inline-block; padding: 0 5px; border-radius: 6px; }
.v-listen .lt-w.ok { background: var(--good-soft); }
.v-listen .lt-w.near { background: var(--warn-soft); }
.v-listen .lt-w.near b { color: var(--warn); }
.v-listen .lt-w.wrong, .v-listen .lt-w.extra { background: var(--bad-soft); }
.v-listen .lt-w.miss { background: var(--marker-soft); border: 1px dashed var(--ink-3); }
.v-listen .lt-w del { text-decoration-thickness: 2px; }
.v-listen .lt-w ins { text-decoration: none; font-weight: 600; }
.v-listen .lt-answer { font-size: var(--t-xl); line-height: 1.4; margin: 0; overflow-wrap: anywhere; }

/* option buttons: pairs + IPA quiz */
.v-listen .lt-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.v-listen .lt-opts-4 { grid-template-columns: 1fr 1fr; }
.v-listen .lt-opt {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 96px; padding: 14px 10px; border: 2px solid var(--line-2); border-radius: var(--radius-lg);
  background: var(--surface); color: var(--ink); text-align: center; transition: border-color .15s ease, background .15s ease;
}
.v-listen .lt-opt:hover { border-color: var(--blue); background: var(--surface-2); }
.v-listen .lt-opt .kbd { position: absolute; top: 6px; left: 6px; }
.v-listen .lt-opt-w { font-size: var(--t-xl); line-height: 1.2; overflow-wrap: anywhere; }
.v-listen .lt-opt.is-right { border-color: var(--good); background: var(--good-soft); }
.v-listen .lt-opt.is-wrong { border-color: var(--bad); background: var(--bad-soft); }
.v-listen .lt-opt.is-dim { opacity: .6; }
.v-listen .lt-opt.is-right:hover, .v-listen .lt-opt.is-wrong:hover { background: inherit; }
.v-listen .lt-hint-box summary { cursor: pointer; font-size: var(--t-sm); font-weight: 550; color: var(--ink-2); min-height: 32px; display: flex; align-items: center; }

/* numbers */
.v-listen .lt-ans { flex-wrap: nowrap; }
.v-listen .lt-ans .input { flex: 1 1 auto; min-width: 0; }
.v-listen .lt-num { font-family: var(--f-mono); font-size: var(--t-xl); min-height: 52px; letter-spacing: .02em; }
.v-listen .lt-ans .btn { flex: none; min-height: 52px; }
.v-listen .lt-digits { font-size: var(--t-lg); letter-spacing: .12em; margin: 0; }
.v-listen .lt-fb p { margin: 0; }

/* IPA */
.v-listen .lt-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.v-listen .lt-tile {
  min-height: 56px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface);
  color: var(--ink); display: grid; place-items: center; transition: background .12s ease, border-color .12s ease;
}
.v-listen .lt-tile:hover { border-color: var(--ink-3); }
.v-listen .lt-tile[aria-pressed="true"] { background: var(--marker-soft); border-color: var(--marker); box-shadow: var(--shadow); }
.v-listen .lt-sym { font-size: var(--t-xl); color: var(--ink); }
.v-listen .lt-big { font-size: var(--t-2xl); line-height: 1.15; font-family: var(--f-read); text-align: center; overflow-wrap: anywhere; color: var(--ink); }
.v-listen .lt-detail .lt-big { text-align: left; }
.v-listen .lt-exs { display: flex; flex-wrap: wrap; gap: 8px; }
.v-listen .lt-ex {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface-2); color: var(--ink);
}
.v-listen .lt-ex:hover { border-color: var(--blue); background: var(--blue-soft); }
.v-listen .lt-ex .ipa { font-size: var(--t-sm); }

/* shadowing */
.v-listen .lt-chunks { display: flex; flex-wrap: wrap; gap: 8px; }
.v-listen .lt-chunk {
  min-height: 44px; padding: 6px 14px; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--surface-2); color: var(--ink); font-size: var(--t-lg); text-align: left;
}
.v-listen .lt-chunk:hover { border-color: var(--blue); background: var(--blue-soft); }

@media (max-width: 520px) {
  .v-listen .lt-opts, .v-listen .lt-opts-4 { gap: 8px; }
  .v-listen .lt-opt { min-height: 84px; padding: 12px 6px; }
  .v-listen .lt-opt-w { font-size: var(--t-lg); }
  .v-listen .lt-ans { flex-wrap: wrap; }
  .v-listen .lt-ans .input { flex: 1 1 100%; }
  .v-listen .lt-ans .btn { flex: 1 1 100%; }
  .v-listen .lt-answer { font-size: var(--t-lg); }
  .v-listen .lt-big { font-size: var(--t-xl); }
}
