/* Tiếng Anh Tiểu học – phần riêng của máy chạy bài tiếng Anh.
   Khung trang, bảng con, nút, bông hoa… dùng chung toan-tieu-hoc/assets/tth.css (nạp trước tệp này). */

/* ---------- trang chủ, trang lớp ---------- */
.ta-unit-chip { display: inline-flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; margin: 0 0 8px; font-size: 15px; color: var(--mo); }
.ta-unit-chip b { display: inline-grid; place-items: center; min-width: 38px; height: 28px; padding: 0 8px; border-radius: 999px; background: var(--vang); color: var(--den); border: 2px solid var(--muc); font: 800 16px/1 var(--chu-hoa); }
.tth-chude > h3 small, .tth-chude > summary i { font: 400 15px var(--chu); color: var(--mo); font-style: normal; }
.tth-chude > h3 small { display: block; margin-top: 2px; }

/* ---------- màn mở đầu của bài ---------- */
.ta-mo-dau .ta-unit { margin: 0 0 4px; font: 600 15px/1.3 var(--chu); color: var(--mo); }
.ta-mo-dau h2 { margin-top: 0; }
.ta-bat-dau { min-height: 60px; padding: 0 30px; font-size: 22px; }

/* ---------- ô hình ---------- */
.ta-o {
  position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; padding: 9%; border-radius: 18px;
  border: 3px solid transparent; background: var(--phan); box-shadow: 0 4px 0 rgba(0, 0, 0, .25); animation: tth-no .25s both;
  transition: translate .06s, box-shadow .06s;
}
.ta-o:active { translate: 0 3px; box-shadow: 0 1px 0 rgba(0, 0, 0, .25); }
.ta-hinh { display: grid; place-items: center; width: 100%; height: 100%; min-width: 0; }
.ta-hinh svg { display: block; width: 100%; height: 100%; }
.ta-hinh.chu { font: 800 22px/1 var(--chu-hoa); color: var(--den); }
.ta-hinh.nguoi { grid-template-rows: 1fr auto; }
.ta-hinh.nguoi b { font: 800 clamp(16px, 5cqw, 22px)/1.2 var(--chu-hoa); color: var(--den); }
.ta-luoi { display: grid; grid-template-columns: repeat(var(--cot, 3), minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 480px; }
.ta-luoi.rong { grid-template-columns: minmax(0, 1fr); max-width: 300px; }
@container (min-width: 470px) { .ta-luoi.rong { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; } }
.ta-luoi.rong .ta-o { aspect-ratio: 20 / 11; padding: 0; overflow: hidden; }
.ta-o.sang { border-color: var(--phan-vang); box-shadow: 0 0 0 5px var(--phan-vang); scale: 1.04; }
.ta-o.dung { border-color: #1f7a40; box-shadow: 0 0 0 5px var(--phan-vang); }
.ta-o.sai { opacity: .32; box-shadow: none; translate: 0 3px; }
.ta-o.goi { animation: tth-tho 1s infinite; box-shadow: 0 0 0 5px var(--phan-vang); }
.ta-o.xem::after, .ta-bong.xem::after {
  content: "✓"; position: absolute; right: -6px; top: -8px; width: 24px; height: 24px; border-radius: 50%; background: var(--la); color: #fff;
  font: 800 15px/24px var(--chu-hoa); text-align: center; box-shadow: 0 0 0 2px var(--phan);
}
.tth-nut.ta-loa { min-height: 60px; padding: 0 26px; background: var(--vang); color: var(--den); font-size: 21px; }
.ta-may { scroll-margin-top: 8px; }

/* ---------- thẻ từ ---------- */
.ta-the { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; }
.ta-the.nay .ta-o { animation: tth-lac .45s 1; }
.ta-o.to { width: min(56%, 230px); }
.ta-tu { margin: 6px 0 0; font: 800 clamp(36px, 11vw, 56px)/1.05 var(--chu-hoa); color: var(--phan-vang); letter-spacing: .01em; }
@supports (width: 1cqw) { .ta-tu { font-size: clamp(34px, 13cqw, 60px); } }
.ta-tu-nho { min-height: 1.1em; font-size: clamp(28px, 8vw, 40px); }
.ta-tu .ta-am { font-style: normal; color: var(--den); background: var(--phan-vang); border-radius: 8px; padding: 0 .12em; margin-right: .04em; }
.ta-nghia { margin: 0; font: 500 clamp(16px, 4.6vw, 20px)/1.3 var(--chu); color: var(--phan); opacity: .9; text-align: center; }
.ta-nho { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ta-o.nho { width: 72px; padding: 8px; background: var(--trang); border: 2.5px solid var(--muc); box-shadow: 0 4px 0 var(--muc); animation: none; }
.ta-o.nho.dang { background: var(--vang); }
.ta-o.nho.xem::after { box-shadow: 0 0 0 2px var(--trang); }

/* ---------- chữ cái, âm, bài vè ---------- */
.ta-chucai {
  position: relative; display: inline-flex; align-items: baseline; gap: .18em; padding: 0 .3em .05em; border: 3px dashed var(--phan-vang); border-radius: 18px;
  background: rgba(255, 255, 255, .06); font: 800 clamp(58px, 20vw, 96px)/1.1 var(--chu-hoa);
}
@supports (width: 1cqw) { .ta-chucai { font-size: clamp(54px, 22cqw, 104px); } }
.ta-chucai b { color: var(--phan-vang); }
.ta-chucai small { font: 700 .3em/1 var(--chu); color: var(--phan); opacity: .85; }
.ta-chucai.xem { border-style: solid; }
.ta-ve { display: grid; gap: 8px; width: 100%; max-width: 520px; }
.ta-ve p { display: flex; align-items: center; gap: 10px; margin: 0; padding: 6px 12px; border-radius: 14px; border: 2px solid transparent; font: 700 clamp(17px, 5vw, 24px)/1.25 var(--chu-hoa); }
@supports (width: 1cqw) { .ta-ve p { font-size: clamp(16px, 5.4cqw, 25px); } }
.ta-ve .ta-emo { flex: 0 0 auto; font: 1.3em/1 var(--emoji); }
.ta-ve p.dang { background: var(--phan-vang); color: var(--den); border-color: var(--phan-vang); }

/* ---------- hai bạn nói chuyện ---------- */
.ta-canh { width: min(100%, 400px); border-radius: 14px; overflow: hidden; box-shadow: 0 3px 0 rgba(0, 0, 0, .25); line-height: 0; }
.ta-canh svg { display: block; width: 100%; height: auto; }
.ta-thoai { display: grid; gap: 10px; width: 100%; max-width: 480px; }
.ta-loi-noi { display: flex; align-items: center; gap: 10px; }
.ta-loi-noi.phai { flex-direction: row-reverse; }
.ta-mat { flex: 0 0 52px; width: 52px; height: 60px; border-radius: 12px; background: var(--phan); padding: 3px 3px 0; overflow: hidden; }
.ta-mat svg { display: block; width: 100%; height: 100%; }
.ta-bong {
  position: relative; flex: 0 1 auto; min-height: 52px; padding: 8px 16px; border: 0; border-radius: 18px; background: var(--phan); text-align: left;
  font: 800 clamp(19px, 5.6vw, 26px)/1.2 var(--chu-hoa); box-shadow: 0 4px 0 rgba(0, 0, 0, .25); transition: translate .06s, box-shadow .06s;
}
.tth-bang-trong .ta-bong { color: var(--den); }
.ta-bong::before { content: "🔊"; font: .8em/1 var(--emoji); margin-right: 8px; }
.ta-bong:active { translate: 0 3px; box-shadow: 0 1px 0 rgba(0, 0, 0, .25); }

/* ---------- tranh chung: bạn nhỏ + đồ vật (vd "mai+cake+car+ben") ---------- */
.ta-cc {
  position: relative; display: flex; align-items: flex-end; justify-content: space-evenly; width: 100%; aspect-ratio: 20 / 11;
  padding: 0 3% 3.5%; border-radius: 12px; overflow: hidden; container-type: inline-size; line-height: 1;
  background: radial-gradient(circle at 12% 20%, #ffd166 0 6%, transparent 6.5%), linear-gradient(#cdeffd 0 76%, #9bd18b 76%);
}
/* tranh chung có từ thời tiết (Mầm non chủ đề 11): nền trời đổi theo thời tiết, không có mặt trời (veTranh thêm lớp troi-<từ>) */
.ta-cc.troi-rainy { background: repeating-linear-gradient(105deg, transparent 0 13px, rgba(255, 255, 255, .45) 13px 15px) 0 0 / 100% 76% no-repeat, linear-gradient(#a9bccf 0 76%, #8fbf80 76%); }
.ta-cc.troi-cloudy { background: radial-gradient(ellipse at 18% 22%, #fff 0 9%, transparent 9.5%), radial-gradient(ellipse at 82% 16%, #eef2f6 0 8%, transparent 8.5%), linear-gradient(#d5dee8 0 76%, #9bd18b 76%); }
.ta-cc.troi-snowy { background: radial-gradient(circle, #fff 0 2.5px, transparent 3px) 0 0 / 22px 22px, linear-gradient(#c9d8ea 0 76%, #f4f8fc 76%); }
.ta-cc.troi-windy { background: linear-gradient(#d9f2ff 0 76%, #9bd18b 76%); }
.ta-cc-ng { flex: 0 0 auto; width: 26%; aspect-ratio: 80 / 100; }
.ta-cc-ng svg { display: block; width: 100%; height: 100%; }
.ta-cc-ng.lat svg { transform: scaleX(-1); }
.ta-cc-vat { flex: 0 0 auto; display: grid; width: 19%; aspect-ratio: 1; margin-bottom: 1%; }
.ta-cc.it .ta-cc-ng { width: 34%; }
.ta-cc.it .ta-cc-vat { width: 27%; }
.ta-noi-hinh { display: block; width: min(30%, 130px); aspect-ratio: 1; }
.ta-noi-hinh.canh { width: min(66%, 280px); aspect-ratio: 20 / 11; }

/* ---------- chạm vào bộ phận trên hình bạn nhỏ (kiểu "chamnguoi") ---------- */
.ta-nguoi-to {
  display: block; width: min(100%, 300px); aspect-ratio: 200 / 250; max-height: min(56vh, 400px); border-radius: 18px; overflow: hidden;
  background: radial-gradient(circle at 88% 12%, #ffd166 0 7%, transparent 7.5%), linear-gradient(#cdeffd 0 82%, #9bd18b 82%);
  box-shadow: 0 4px 0 rgba(0, 0, 0, .25); line-height: 0; animation: tth-no .25s both;
}
.ta-nguoi-to svg { display: block; width: 100%; height: 100%; }
.ta-vung { cursor: pointer; -webkit-tap-highlight-color: transparent; transition: fill-opacity .15s, stroke-opacity .15s; }
.ta-vung.dung { fill: #ffd166; fill-opacity: .55; stroke: #ffb703; stroke-opacity: 1; }
.ta-vung.net.dung { stroke: #ffd166; stroke-opacity: .7; }
.ta-vung.sai { fill: #e63946; fill-opacity: .35; }
.ta-vung.net.sai { stroke: #e63946; stroke-opacity: .4; }
.ta-vung.goi { fill: #ffd166; stroke: #ffd166; animation: ta-vung-goi 1s infinite; }
@keyframes ta-vung-goi { 0%, 100% { fill-opacity: .1; stroke-opacity: .2; } 50% { fill-opacity: .6; stroke-opacity: .8; } }
@media (prefers-reduced-motion: reduce) { .ta-vung.goi { animation: none; fill-opacity: .5; stroke-opacity: .7; } }

/* ---------- đếm theo (phần "dem", Mầm non) ---------- */
.ta-demtheo { display: grid; grid-template-columns: repeat(var(--cot, 3), minmax(0, 1fr)); gap: 10px; width: 100%; max-width: calc(var(--cot, 3) * 116px); }
.ta-o.dem { padding: 12%; }
.ta-o.dem.da { background: var(--vang); border-color: var(--muc); box-shadow: 0 0 0 4px var(--phan-vang); }
.ta-demtheo-nhan {
  position: absolute; right: 5%; top: 5%; min-width: 1.6em; padding: 0 .25em; border-radius: 999px; background: var(--muc); color: #fff;
  font: 800 clamp(14px, 4.4vw, 20px)/1.6 var(--chu-hoa); text-align: center;
}
.ta-demtheo-so { min-height: 1.1em; margin: 2px 0 0; font: 800 clamp(40px, 13vw, 64px)/1 var(--chu-hoa); color: var(--phan-vang); }

/* ---------- tô màu (kiểu câu "tomau") ---------- */
.ta-tomau { display: block; width: min(46%, 210px); aspect-ratio: 1; padding: 3%; border-radius: 18px; background: var(--phan); box-shadow: 0 4px 0 rgba(0, 0, 0, .25); line-height: 0; }
.ta-tomau svg { display: block; width: 100%; height: 100%; }
.ta-tomau .to { transition: fill .45s; }
.ta-tomau.xong { animation: tth-lac .45s 1; }

/* ---------- bài vè có hình (Mầm non) ---------- */
.ta-ve-hinh { flex: 0 0 auto; display: grid; width: clamp(40px, 11vw, 54px); aspect-ratio: 1; padding: 3px; border-radius: 10px; background: var(--phan); }

/* ---------- Mầm non: chưa học chữ – chữ nhỏ chỉ để phụ huynh xem, hình to hơn ---------- */
.ta-mn .ta-the .ta-tu { font-size: clamp(22px, 6vw, 30px); opacity: .85; }
.ta-mn .ta-o.to { width: min(64%, 260px); }
.ta-mn .ta-cau-to { font-size: clamp(20px, 5.6vw, 28px); opacity: .9; }
.ta-mn .ta-noi-hinh { width: min(40%, 170px); }
.ta-mn .ta-noi-hinh.canh { width: min(72%, 300px); }
.ta-mn .ta-bong { font-size: clamp(17px, 4.8vw, 22px); }

/* ---------- lật thẻ ---------- */
.ta-lat { display: grid; grid-template-columns: repeat(var(--cot, 3), minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 420px; }
.ta-latthe {
  position: relative; display: grid; place-items: center; aspect-ratio: 1; padding: 10%; border-radius: 16px; border: 3px solid var(--khung-dam);
  background: var(--khung); box-shadow: 0 4px 0 rgba(0, 0, 0, .25); animation: tth-no .25s both;
}
.ta-latthe .ta-up { font: 800 clamp(30px, 10vw, 48px)/1 var(--chu-hoa); color: var(--bang-dam); }
.ta-latthe .ta-hinh { display: none; }
.ta-latthe.mo { background: var(--phan); border-color: var(--phan); }
.ta-latthe.mo .ta-up { display: none; }
.ta-latthe.mo .ta-hinh { display: grid; animation: tth-no .2s both; }
.ta-latthe.xong { box-shadow: 0 0 0 4px var(--phan-vang); opacity: .8; }

/* ---------- tô chữ ---------- */
.ta-to { display: block; width: min(74%, 300px); height: auto; max-height: 46vh; touch-action: none; border-radius: 18px; background: rgba(255, 255, 255, .06); cursor: crosshair; }
.ta-to .nen { fill: none; stroke: rgba(252, 252, 242, .22); stroke-width: 15; stroke-linecap: round; stroke-linejoin: round; }
.ta-to .cham { fill: none; stroke: var(--phan); stroke-width: 2; stroke-dasharray: 1 6; stroke-linecap: round; }
.ta-to .dau { fill: var(--phan-vang); }
.ta-to .so { fill: var(--den); font: 800 9px/1 var(--chu-hoa); text-anchor: middle; pointer-events: none; }
.ta-to .ve polyline { fill: none; stroke: var(--phan-vang); stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.ta-to.xong { background: rgba(255, 226, 122, .18); }
.ta-to .moc { animation: tth-tho 1.1s infinite; }
.ta-to.xong .moc, .ta-to.xong .cham { display: none; }

/* ---------- em nói ---------- */
.ta-noi { display: grid; gap: 6px; justify-items: center; text-align: center; width: 100%; }
.ta-noi p { margin: 0; }
.ta-mau { font: 600 clamp(15px, 4.4vw, 19px)/1.3 var(--chu); color: var(--phan); opacity: .85; }
.ta-cau-to { font: 800 clamp(28px, 8.6vw, 46px)/1.15 var(--chu-hoa); color: var(--phan-vang); text-wrap: balance; }
@supports (width: 1cqw) { .ta-cau-to { font-size: clamp(26px, 9.5cqw, 50px); } }
.ta-dem { margin-top: 6px !important; font: 600 15px/1 var(--chu); color: var(--phan); opacity: .7; }
.ta-hang-nut { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ta-hang-nut .tth-nut { padding: 0 16px; font-size: 17px; }
.tth-nut.dang { background: var(--do); border-color: #b92a30; box-shadow: 0 4px 0 #b92a30; color: #fff; animation: tth-tho 1s infinite; }

@media (min-width: 860px) {
  .ta-luoi { gap: 16px; }
  .ta-o.nho { width: 84px; }
}
/* điện thoại: bông hoa nằm trên tên phần để tên ("Chọn hình", "Chữ C c"…) vừa một dòng */
@media (max-width: 520px) {
  .ta-may .tth-buoc-nut { flex-direction: column; gap: 2px; padding: 4px 2px; white-space: nowrap; }
  .ta-may .tth-buoc-nut .tth-hoa { width: 17px; height: 17px; }
}
@media (max-width: 380px) {
  .ta-may .tth-buoc-nut { font-size: 12.5px; }
  .ta-luoi { gap: 8px; }
  .ta-o.nho { width: 64px; }
  .ta-hang-nut .tth-nut { padding: 0 12px; font-size: 16px; }
}

/* khung "Dành cho phụ huynh" rộng bằng hàng thẻ phía trên (thầy chỉnh 30/11/2026); trang chủ trên máy tính chia hai cột */
.tth-main .tth-giay { max-width: none; }
@media (min-width: 900px) {
  .tth-main .ta-ph ul { columns: 2; column-gap: 40px; }
  .tth-main .ta-ph li { break-inside: avoid; }
}

/* ---------- đếm (kiểu "demso", Đợt 5): khung nhóm vật trên bảng, chạm từng vật để đếm; ô số ---------- */
.ta-dem-khung {
  display: block; width: 100%; max-width: 560px; padding: 4px; border-radius: 18px; background: var(--phan);
  box-shadow: 0 4px 0 rgba(0, 0, 0, .25); line-height: 0; animation: tth-no .25s both;
}
.ta-dem-khung svg { display: block; width: 100%; height: auto; max-height: min(28vh, 210px); margin: 0 auto; }
.ta-mot { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ta-mot-nen { fill: #ffd166; fill-opacity: 0; stroke: #ffb703; stroke-opacity: 0; stroke-width: 4; transition: fill-opacity .15s, stroke-opacity .15s; }
.ta-mot.dem .ta-mot-nen { fill-opacity: .55; stroke-opacity: 1; }
.ta-mot-so { font: 800 30px var(--chu-hoa); fill: #e63946; paint-order: stroke; stroke: #fff; stroke-width: 5px; pointer-events: none; }
.ta-luoi.so { max-width: 380px; }

/* ---------- lớp 2: có hay không (kiểu "yesno") – tranh to + hai câu trả lời ---------- */
.ta-yn-tranh { display: block; width: min(62%, 240px); aspect-ratio: 1; padding: 3%; border-radius: 18px; background: var(--phan); box-shadow: 0 4px 0 rgba(0, 0, 0, .25); line-height: 0; animation: tth-no .25s both; }
.ta-yn-tranh.rong { width: min(100%, 420px); aspect-ratio: 20 / 11; padding: 0; overflow: hidden; }
.ta-yn-tranh .ta-hinh svg { display: block; width: 100%; height: 100%; }
.ta-luoi.dap { max-width: 560px; }
.ta-luoi.dap .ta-o { aspect-ratio: auto; min-height: 66px; padding: 10px 12px; }
@container (max-width: 420px) { .ta-luoi.dap { grid-template-columns: minmax(0, 1fr); max-width: 300px; gap: 10px; } .ta-luoi.dap .ta-o { min-height: 56px; padding: 8px 12px; } .ta-dap b { font-size: 20px; } }
.ta-hinh.ta-dap { display: flex; align-items: center; justify-content: center; gap: 8px; }
.ta-dap i { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; font: 800 20px/1 var(--chu-hoa); font-style: normal; }
.ta-dap.yes i { background: #2f9e44; }
.ta-dap.no i { background: #e63946; }
.ta-dap b { min-width: 0; font: 800 clamp(17px, 5vw, 24px)/1.15 var(--chu-hoa); color: var(--den); text-align: left; }
@supports (width: 1cqw) { .ta-dap b { font-size: clamp(16px, 5.4cqw, 25px); } }

/* ---------- lớp 2: điền chữ còn thiếu (kiểu "dienchu", "Look and write") ---------- */
.ta-dien { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; width: 100%; }
.ta-dien-hinh { flex: 0 0 auto; display: grid; width: min(40%, 170px); aspect-ratio: 1; padding: 3%; border-radius: 18px; background: var(--phan); box-shadow: 0 4px 0 rgba(0, 0, 0, .25); }
.ta-dien-tu { margin: 0; white-space: nowrap; font-size: clamp(30px, 10vw, 54px); color: var(--phan); }
@supports (width: 1cqw) { .ta-dien-tu { font-size: clamp(28px, 11cqw, 56px); } }
.ta-trong { display: inline-block; min-width: .78em; margin: 0 .06em; padding: 0 .06em; border: .07em dashed var(--phan-vang); border-radius: .16em; background: rgba(255, 255, 255, .1);
  color: transparent; font-style: normal; text-align: center; line-height: 1.05; vertical-align: baseline; }
.ta-trong.xong { color: var(--den); background: var(--phan-vang); border-style: solid; animation: tth-lac .45s 1; }
.ta-luoi.chu { max-width: 380px; }
.ta-chu-o b { font: 800 clamp(38px, 12vw, 60px)/1 var(--chu-hoa); color: var(--den); }
@supports (width: 1cqw) { .ta-chu-o b { font-size: clamp(36px, 13cqw, 62px); } }

/* Trang chủ: khung "Em học lớp mấy?" cân với hàng "Mỗi bài có ba phần" bên dưới (thầy chỉnh 01/12/2026):
   cùng khoảng cách 12px, màn rộng 6 ô đều nhau trải hết bề ngang (2 ô lớp = 1 ô "ba phần"), vừa thì 3 ô, điện thoại 2 ô. Không sửa tth.css dùng chung. */
.tth-main .tth-lop { gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 560px) { .tth-main .tth-lop { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .tth-main .tth-lop { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* Trang chủ: nhãn vở và đoạn giới thiệu rộng bằng các khung bên dưới (thầy chỉnh 01/12/2026); máy tính thì tên trang bên trái, ô "Tên của em" bên phải trên cùng một hàng. Không sửa tth.css dùng chung. */
.tth-main .tth-nhanvo { max-width: none; margin-right: 6px; }
.tth-main .tth-nhanvo-trong { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 32px; }
.tth-main .tth-nhanvo .tth-dong { margin-top: 0; flex: 1 1 280px; max-width: 420px; padding-bottom: 8px; }
.tth-main > .sub { max-width: none; }

/* Trang chủ trên điện thoại (thầy báo 01/12/2026): tên trang "Tiếng Anh Tiểu học" luôn MỘT dòng (cỡ chữ co theo bề ngang màn hình),
   "Tên của em:" nằm trên dòng riêng và ô nhập rộng hết hàng, cỡ chữ co theo màn để tên dài 4 chữ vẫn hiện đủ. Không sửa tth.css dùng chung. */
/* màn rộng: ô tên đủ chỗ cho tên 4 chữ */
.tth-main .tth-nhanvo .tth-dong { max-width: 480px; }
@media (max-width: 700px) {
  .tth-main .tth-nhanvo h1 { white-space: nowrap; font-size: clamp(20px, calc((100vw - 98px) / 9.6), 64px); }
  .tth-main .tth-nhanvo-trong { padding: 16px 16px 18px; gap: 10px 0; }
  .tth-main .tth-nhanvo .tth-dong { flex: 1 1 100%; max-width: none; flex-direction: column; align-items: stretch; gap: 2px; padding-bottom: 0; }
  .tth-main .tth-nhanvo .tth-dong input { font-size: clamp(15px, calc((100vw - 98px) / 13.6), 22px); }
}
