/* Bé Học Vui – ⚡ Phản xạ nói + hội thoại ẩn dần (không dùng "gap" của flexbox để chạy được trên iPad cũ) */
.qabox { text-align: center; }
.qapic { font-size: 96px; line-height: 1.1; margin: 4px 0; }
.qaq { font-size: 1.45rem; font-weight: 900; min-height: 2em; margin: 6px 0 8px; color: #3b2a7a; }
.qahide { letter-spacing: 6px; color: #a78bfa; }
.qactl { display: flex; flex-wrap: wrap; justify-content: center; margin: 4px 0; }
.qactl > * { margin: 4px; }
.qahint { font-size: 1.25rem; font-weight: 900; background: #fff7d6; border: 3px dashed #ffd43b; border-radius: 16px;
  padding: 8px 12px; margin: 8px auto; max-width: 480px; }
.qahint .e { display: block; font-size: 58px; line-height: 1.15; }
.qatimer { height: 16px; background: #eee9ff; border-radius: 99px; overflow: hidden; margin: 12px auto 4px; max-width: 440px; }
.qatimer i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #22c55e, #84cc16); transition: width .1s linear; }
.qatimer.warn i { background: linear-gradient(90deg, #ff9f1c, #ffd43b); }
.qatimer.over i { background: #ff4d6d; }
.qatime { font-weight: 900; color: #6d3fe0; margin-bottom: 6px; }
.qastatus { font-weight: 800; min-height: 1.6em; margin: 8px 0; }
.qareveal { background: #f0fdf4; border: 3px solid #bbf7d0; border-radius: 16px; padding: 10px 14px; margin: 10px auto; max-width: 560px; text-align: left; }
.qamodel { font-size: 1.15rem; margin: 4px 0; }
.qamodel .saybtn { vertical-align: middle; width: 44px; height: 44px; font-size: 22px; box-shadow: 0 4px 0 var(--blue-d); margin-left: 6px; }
.qafast { display: inline-block; background: #fff3bf; border-radius: 99px; padding: 2px 10px; font-weight: 900; color: #b45309; }
.qabox .mic.hidden { display: none; }
/* Hội thoại ẩn dần: chữ bị che vẫn giữ độ rộng để bé đoán độ dài */
.wmask { background: #e9e4ff; color: transparent !important; border-radius: 8px; padding: 0 2px; -webkit-user-select: none; user-select: none; }
.fadenote { font-weight: 800; color: #7c3aed; margin: 4px 0 2px; }
