/* Cú Bơ — Nói & Nghe */
.t-coral { --c: #FF6B6B; --cd: #D94848; }
.spk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.spk-card { position: relative; border: 0; text-align: left; cursor: pointer; padding: 14px; display: flex; flex-direction: column; gap: 4px; font: inherit; color: inherit; }
.spk-card:active { transform: scale(.98); }
.spk-card .em { font-size: 34px; }
.spk-card b { font-family: 'Baloo 2'; font-size: 17px; line-height: 1.2; }
.spk-card small { color: var(--muted); font-weight: 700; font-size: 13px; line-height: 1.3; }
.spk-done { position: absolute; top: 10px; right: 10px; background: #E3F7EC; color: var(--green-d); border-radius: 999px; padding: 2px 8px; font-weight: 900; font-size: 13px; }
.spk-q { font-family: 'Baloo 2'; font-size: 21px; font-weight: 800; line-height: 1.25; }
.phrases { display: flex; flex-wrap: wrap; gap: 8px; }
.phrase { border: 0; background: #EAF2FF; color: var(--blue-d); border-radius: 12px; padding: 7px 11px; font-weight: 700; font-size: 15px; cursor: pointer; text-align: left; }
.read-text { font-size: 19px; line-height: 1.7; font-weight: 600; }
.rec-box { min-height: 220px; }
.mic-btn {
  width: 120px; height: 120px; border-radius: 50%; border: 0; font-size: 52px; cursor: pointer; color: #fff;
  background: radial-gradient(circle at 35% 30%, #FF8A8A, #EF476F); box-shadow: 0 8px 0 #C9284F, 0 12px 30px rgba(239,71,111,.35);
}
.mic-btn:active { transform: translateY(5px); box-shadow: 0 3px 0 #C9284F; }
.mic-btn.on { background: radial-gradient(circle at 35% 30%, #7FD8D0, #2EC4B6); box-shadow: 0 8px 0 #1E9E92, 0 0 0 0 rgba(46,196,182,.6); animation: pulse 1.4s infinite; font-size: 44px; }
@keyframes pulse { 0% { box-shadow: 0 8px 0 #1E9E92, 0 0 0 0 rgba(46,196,182,.55); } 70% { box-shadow: 0 8px 0 #1E9E92, 0 0 0 26px rgba(46,196,182,0); } 100% { box-shadow: 0 8px 0 #1E9E92, 0 0 0 0 rgba(46,196,182,0); } }
.rec-time { font-family: 'Baloo 2'; font-size: 34px; font-weight: 800; margin-top: 12px; }
.level { width: 100%; max-width: 320px; height: 56px; display: block; margin: 6px auto; }
.live-cap { margin-top: 14px; background: #fff; border-radius: 18px; padding: 12px 14px; box-shadow: var(--shadow); min-height: 70px; font-size: 18px; font-weight: 600; }
.aud { width: 100%; }
.w-low { text-decoration: underline wavy #FF9F1C; text-underline-offset: 4px; }
.w-ok { color: var(--green-d); }
.w-wrong { color: var(--red-d); text-decoration: underline; font-weight: 800; }
.w-miss { color: var(--muted); text-decoration: line-through; }
.w-extra { color: var(--purple-d); font-style: italic; font-size: .9em; }
.legend span { margin-right: 10px; }
.crit { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; font-weight: 700; font-size: 15px; }
.crit .nm { width: 40%; flex: none; }
.crit .tr { flex: 1; height: 12px; background: #F2EBDD; border-radius: 999px; overflow: hidden; }
.crit .tr i { display: block; height: 100%; background: linear-gradient(90deg, #2EC4B6, #3BB273); border-radius: 999px; }
.listen .spd { width: auto; padding: 6px 10px; font-size: 15px; border-width: 2px; }
.mic-mini { border: 0; background: #FDE5EB; color: var(--red-d); border-radius: 999px; padding: 6px 14px; font-weight: 800; cursor: pointer; font-size: 15px; }
/* trang thai tai tung anh (man chup) */
.shot .up-st { position: absolute; left: 6px; bottom: 6px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #fff; font-size: 15px; box-shadow: 0 2px 0 rgba(0,0,0,.15); }
.shot .up-st.ok { background: var(--green); }
.shot .up-st.err { background: var(--red); }
.shot .up-bar { position: absolute; left: 6px; right: 6px; bottom: 6px; height: 8px; background: rgba(255,255,255,.85); border-radius: 999px; overflow: hidden; }
.shot .up-bar i { display: block; height: 100%; background: var(--teal); transition: width .2s; }
.mic-steps { margin: 12px 0 4px; padding-left: 24px; font-weight: 700; line-height: 1.7; }
.mic-steps li::marker { color: var(--orange-d); font-weight: 900; }
.spk-more { margin-top: 12px; }
.spk-more > summary { cursor: pointer; font-weight: 800; margin-bottom: 10px; }
