/* =====================================================================
   Fast and Clear: its own pieces, on top of /site.css (the shared options, chunks, word card, note and tutor live there since 3 Nov).
   Rule 8 (controls never next to each other): every row of controls keeps 24px between them;
   lists of answer options keep 12px (a mis-tap there is changed with the next tap);
   "Start again" sits alone on its own line.
   ===================================================================== */

/* Bigger, calmer text for A1 to A2 readers */
.page-simple .slide { font-family: var(--font-body); }
.page-simple .slide-intro { font-size: var(--fs-body); color: var(--fg); }
/* learner lines in the interface face, not the condensed one: easier for A2 readers (F5) */
.big-line { font-family: var(--font-body); font-size: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem); font-weight: 600; line-height: 1.35; color: var(--fg); }


/* Words: each card is one button that speaks the word */
.words { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: var(--sp-5); }
.word {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--sp-3);
  width: 100%; min-height: 64px; padding: var(--sp-3) var(--sp-4); text-align: left; cursor: pointer;
  background: var(--surface); border: 1.5px solid var(--border-strong); border-radius: var(--radius-lg);
}
@media (hover: hover) { .word:hover { border-color: var(--accent); } }
.word.is-heard { border-color: var(--success); }
.word-ico { font-size: 1.75rem; line-height: 1; }
.word-en { display: block; font-family: var(--font-display); font-size: 1.375rem; font-weight: 800; color: var(--fg); line-height: 1.15; }
.word-say { display: block; font-size: var(--fs-small); color: var(--fg-muted); line-height: 1.35; }
.word-play { font-size: 1rem; color: var(--accent); }
.word.is-playing .word-play { color: var(--gold); }
.words-count { font-size: var(--fs-small); color: var(--fg-muted); }
.words-hdr { font-size: var(--fs-h3); font-weight: 800; }

/* The story: short lines with times */
.scene { list-style: none; padding: 0; display: grid; gap: var(--sp-3); }
.scene li { display: grid; grid-template-columns: 4.25rem 1fr; gap: var(--sp-3); align-items: baseline; margin: 0; padding: var(--sp-3) var(--sp-4); background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--radius); }
.scene .t { font-family: var(--font-display); font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; }
.scene .l { font-family: var(--font-body); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.125rem); font-weight: 600; color: var(--fg); line-height: 1.4; }
.scene li.same-time .t { visibility: hidden; } /* a time shows only when it changes (F13) */
.you-are { display: flex; gap: var(--sp-3); align-items: center; }
.you-are .ico { font-size: 2rem; line-height: 1; }
/* the answer options, the feedback line and the play row are shared (site.css 5.14) */

/* Fast choices: one round at a time, with a gentle timer the learner can switch off */
.decide { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--pad-card); }
.decide > * + * { margin-top: var(--sp-4); }
.decide-n { font-family: var(--font-display); font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.decide-q { font-family: var(--font-body); font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.25rem); font-weight: 600; line-height: 1.35; }
.decide .say-first { font-family: var(--font-body); font-size: var(--fs-small); font-weight: 600; color: var(--star-t); }
.decide .say-first:empty { display: none; }
.decide.is-waiting .opts, .decide.is-waiting .timer { display: none; }
.timer { height: 10px; border-radius: 5px; background: var(--surface2); overflow: hidden; }
.timer-fill { height: 100%; width: 100%; background: var(--gold); transform-origin: left; }
.timer-txt { font-size: var(--fs-small); color: var(--fg-muted); font-variant-numeric: tabular-nums; }
.timer-switch { display: inline-flex; align-items: center; gap: var(--sp-2); min-height: 44px; cursor: pointer; font-size: var(--fs-small); color: var(--fg); }
.timer-switch input { width: 22px; height: 22px; accent-color: var(--accent); }
.decide-next { margin-top: var(--sp-2); }

/* Radio talk with two voices */
.radio { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--pad-card); }
.radio > * + * { margin-top: var(--sp-4); }
/* the transcript lines (.radio-tx) are shared in site.css 9 since 5 Nov */
.rq > * + * { margin-top: var(--sp-3); }
.rq-text { font-family: var(--font-body); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.125rem); font-weight: 600; line-height: 1.4; }
.radio-res { font-size: var(--fs-body); font-weight: 600; }
.radio-res:empty { display: none; }
.radio-res:focus { outline: none; }

/* Say it back */
.sb { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--pad-card); }
.sb > * + * { margin-top: var(--sp-3); }
.sb-order { font-family: var(--font-body); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.125rem); font-weight: 600; color: var(--star-t); }
.sb-n { font-family: var(--font-display); font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.sb-list { display: grid; gap: var(--sp-5); }

/* the call builder's pieces are shared (site.css 5.14) */
.bl-model .big-line { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); }

/* Landing: the sample line on each story card */
.page-simple .scenario-grid { gap: var(--sp-5); }
.sc-sample { font-family: var(--font-display); font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem); font-weight: 700; color: var(--accent); }
.teach-list { font-size: var(--fs-small); color: var(--fg-muted); }

@media (max-height: 500px) {
  .page-simple .cover-links { display: none; }
}

/* the second panel (4 Nov): D6, the words count sits under the instruction */
.words-count { margin-top: 0; }
.words-status { font-size: var(--fs-small); color: var(--danger); font-weight: 600; }
.words-status:empty { display: none; }
