/* Đọc từng câu (trong Tự đọc). Tách riêng khỏi reader.css để không đụng việc sửa font đang làm song song. */
.nut-tung-cau { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 20px 0 7px; border-radius: 999px; background: var(--giay); color: var(--muc); text-align: left; box-shadow: 0 5px 0 -1px #CFC4AC, 0 16px 30px -14px rgba(0,0,0,.7); transition: transform .15s; }
.nut-tung-cau:hover { transform: translateY(-1px); }
.nut-tung-cau:active { transform: translateY(2px); }
.nut-tung-cau > svg { width: 38px; height: 38px; padding: 7px; border-radius: 50%; background: var(--do); color: #fff; flex: none; }
.nut-tung-cau span { display: grid; line-height: 1.15; }
.nut-tung-cau b { font-size: 15px; }
.nut-tung-cau small { font-size: 11.5px; color: var(--muc-2); font-weight: 600; }
.cong-cu .nut-tung-cau { width: 100%; height: auto; display: grid; justify-items: center; gap: 3px; padding: 6px 4px; border-radius: 14px; background: var(--giay); color: var(--muc); box-shadow: 0 3px 0 -1px #CFC4AC; text-align: center; font-size: 11px; font-weight: 700; }
.cong-cu .nut-tung-cau > svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--do); color: #fff; }
@media (max-width: 760px) {
  .che-tu .chan-hang .goi-y { display: none; }
}

.dtc-lop .lp-than { width: min(1040px, 96vw); padding: 14px 18px max(16px, env(safe-area-inset-bottom)); border-radius: 22px; overflow: hidden; }
.dtc-lop .lp-dau { margin-bottom: 8px; }
.dtc-lop .lp-dau > b { font-size: 17px; }
.dtc-than .lp-dau .nut-tron { flex: none; }
.dtc-khung { flex: 1; display: flex; flex-direction: column; gap: 10px; min-height: 0; overflow: auto; -webkit-overflow-scrolling: touch; }
.dtc-ds { flex: none; border-radius: 16px; background: var(--giay-2); box-shadow: inset 0 0 0 1px var(--vien); }
.dtc-ds summary { cursor: pointer; padding: 8px 14px; font-weight: 800; font-size: 14px; color: var(--muc); list-style: revert; }
.dtc-ds ol { list-style: none; margin: 0; padding: 0 8px 10px; max-height: 30dvh; overflow: auto; display: grid; gap: 4px; }
.dtc-ds li button { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 3px 10px; padding: 7px 10px; border-radius: 12px; text-align: left; color: var(--muc); }
.dtc-ds li button em { grid-column: 1 / -1; font-style: normal; font-size: 11.5px; font-weight: 800; color: var(--muc-2); text-transform: uppercase; letter-spacing: .03em; }
.dtc-ds li button span { font-family: var(--han); font-size: 16px; line-height: 1.32; white-space: normal; word-break: break-word; display: grid; gap: 2px; }
.dtc-ds li button span small { font-family: var(--ui); font-size: 12.5px; font-weight: 500; color: var(--muc-2); line-height: 1.35; }
.dtc-ds li button i { font-style: normal; font-size: 12.5px; font-weight: 800; min-width: 34px; text-align: center; padding: 2px 7px; border-radius: 999px; color: #fff; background: var(--do); }
.dtc-ds li button i.dat { background: var(--la); }
.dtc-ds li button:hover { background: rgba(31,42,68,.05); }
.dtc-ds li button[aria-current="true"] { background: #fff; box-shadow: inset 0 0 0 2px var(--do); }
.dtc-luyen { display: flex; flex-direction: column; min-width: 0; }
.dtc-vt { margin: 0 2px 8px; font-size: 14px; font-weight: 700; color: var(--muc-2); }
.dtc-vt b { color: var(--muc); }
.dtc-cau { cursor: default; padding: 8px 6px 6px; gap: 1px 1px; }
.dtc-cau .o { font-size: clamp(15px, 1vw + 11px, 20px); font-weight: 700; line-height: 1.15; padding: 0; }
.dtc-cau .o rt { font-size: clamp(8.5px, .15vw + 7.5px, 10.5px); letter-spacing: -.01em; }
.dtc-cau .o.dau, .dtc-cau .o.er { align-self: flex-end; }
.dtc-doan { display: inline-flex; flex-wrap: wrap; max-width: 100%; align-items: flex-end; justify-content: center; gap: 2px 3px; padding: 3px 2px; border-radius: 12px; cursor: pointer; opacity: .45; transition: opacity .15s, background .15s; }
.dtc-doan:only-of-type, .dtc-doan.nay { opacity: 1; cursor: default; }
.dtc-cau .dtc-doan.nay:not(:only-of-type) { background: #fff; box-shadow: inset 0 0 0 2px rgba(215,38,30,.35); }
.dtc-ngat { align-self: center; font-family: var(--ui); font-size: 22px; font-weight: 800; color: var(--do); padding: 0 2px; }
.dtc-tb { margin: 10px 2px 0; padding: 9px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; color: #6B4A00; background: #FFF4D6; }
.dtc-lech { color: var(--do-dam); background: #FDECEA; }
.dtc-tab { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 6px 0 0; }
.dtc-tab button { min-height: 32px; padding: 0 12px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--muc-2); background: var(--giay-2); box-shadow: inset 0 0 0 1px var(--vien); }
.dtc-tab button[aria-selected="true"] { background: var(--muc); color: #fff; box-shadow: none; }
.dtc-tab button:disabled { opacity: .45; }
.dtc-luyen .theo-ket { min-height: 84px; gap: 8px; align-content: center; }
.dtc-sai { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dtc-sai li { padding: 7px 10px; border-radius: 12px; background: #FDECEA; font-size: 13.5px; line-height: 1.45; color: var(--muc); }
.dtc-sai li b { font-family: var(--han); font-size: 18px; color: var(--do); }
.dtc-sai li span { font-weight: 700; color: var(--do-dam); }
.dtc-sai li small { display: block; color: var(--muc-2); }
.dtc-khong-ct { font-style: italic; }
.dtc-nut { flex-wrap: wrap; gap: 10px clamp(8px, 4vw, 26px); }
.dtc-nut .tn { min-width: 64px; max-width: 86px; text-align: center; line-height: 1.25; }
.dtc-nut .tn svg { width: 52px; height: 52px; padding: 14px; }
.dtc-nut .tn-ghi svg { width: 68px; height: 68px; padding: 18px; }
.dtc-nut .tn-nghe.dang svg { box-shadow: 0 0 0 6px rgba(46,158,106,.22); }
@media (max-width: 420px) {
  .dtc-nut .tn { min-width: 60px; font-size: 12px; }
  .dtc-nut .tn svg { width: 46px; height: 46px; padding: 12px; }
  .dtc-nut .tn-ghi svg { width: 62px; height: 62px; padding: 16px; }
}
@media (min-width: 761px) {
  .dtc-khung { flex-direction: row; align-items: stretch; gap: 14px; overflow: hidden; }
  .dtc-ds { width: 310px; display: flex; flex-direction: column; min-height: 0; }
  .dtc-ds ol { max-height: none; flex: 1; }
  .dtc-luyen { flex: 1; overflow: auto; padding-right: 4px; }
  .dtc-lop .lp-than { height: min(740px, 88dvh); }
}
