/* Spanish by Leo - Listening, Writing and Speaking exercise screens (practice.html). Same look as the rest of /practice. */
.listen-box { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; background: var(--cream-dim); border-radius: var(--radius-md); padding: 16px; margin: 12px 0 16px; }
.listen-play { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 22px 0 14px; border-radius: 999px; border: 2px solid var(--ink); background: var(--orange); color: var(--ink); font: 700 1.05rem/1 var(--font-body); cursor: pointer; }
.listen-play:hover { background: var(--orange-hover); }
.listen-play:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.listen-play[aria-pressed="true"] { background: var(--white); }
.listen-ico { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--white); align-items: center; justify-content: center; }
.listen-ico svg { width: 22px; height: 22px; }
.listen-slow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-weight: 600; font-size: .92rem; cursor: pointer; }
.listen-slow input { width: 18px; height: 18px; accent-color: var(--orange); }
.listen-note { flex-basis: 100%; margin: 0; font-size: .88rem; color: var(--ink-soft); }
.cloze-sentence { font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; line-height: 1.4; margin: 0 0 16px; overflow-wrap: anywhere; }
.cloze-gap { display: inline-block; min-width: 76px; border-bottom: 3px solid var(--ink); margin: 0 4px; vertical-align: baseline; }
.pending-note { background: var(--teal-tint); border: 2px solid var(--teal); border-radius: var(--radius-md); padding: 16px; }
.pending-note p { margin: 8px 0 0; }
.fb-link { margin: 10px 0 0; font-weight: 600; }
@media (max-width: 380px) {
  .listen-box { padding: 12px; }
  .listen-play { width: 100%; justify-content: center; }
  .cloze-sentence { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) { .listen-play { transition: none; } }
