/* Student lessons: illustrated journey and large, touch-friendly activities. */
.doc-0611e .trang-giay .bia-trang{height:68dvh;max-height:620px;min-height:220px;aspect-ratio:auto!important}.doc-0611e .trang-giay .tranh-trang{height:100%;max-height:100%;object-fit:contain}.doc-0611e .chu-wrap .chu{height:72px;min-height:72px;box-sizing:border-box;overflow:auto;align-content:center}.doc-0611e .chu-wrap{min-height:84px;box-sizing:border-box}
@media(max-width:600px){.doc-0611e .trang-giay .bia-trang{height:52dvh;max-height:52dvh;min-height:200px}.doc-0611e .chu-wrap .chu{height:72px;min-height:72px}}
.phonics-games .phonics-choi:has(.ghep-o){display:grid;grid-template-columns:minmax(90px,1fr) minmax(190px,2fr);gap:12px;align-items:center}.phonics-games .phonics-choi:has(.ghep-o)>p,.phonics-games .phonics-choi:has(.ghep-o)>.ghep-khay,.phonics-games .phonics-choi:has(.ghep-o)>.phonics-tiep{grid-column:1/-1}.phonics-games .phonics-choi:has(.ghep-o)>.phonics-tranh{grid-column:1;grid-row:2}.phonics-games .phonics-choi:has(.ghep-o)>.ghep-o{grid-column:2;grid-row:2;flex-wrap:nowrap;gap:8px}.phonics-games .phonics-tranh img{width:100%;max-height:170px;object-fit:contain}.hanh-trinh-0611e.duong-hoc .duong-ga{display:block}.hanh-trinh-0611e.duong-hoc .tram-chu{max-width:none}.hanh-trinh-0611e .tram-nut{animation:none!important}.doc-0611e .bia-trang{height:auto;min-height:220px}.doc-0611e .tranh-trang{height:auto}.doc-0611e .lat-trang{display:flex;justify-content:center;align-items:center;gap:12px}
.doc-0611e .chu-wrap{display:flex;align-items:center;gap:12px;background:white;border-radius:999px;padding:6px 12px;margin:12px auto}.doc-0611e .chu-wrap .chu{margin:0;padding:6px;flex:1;background:none}.doc-0611e .chu-wrap>.nut-loa{flex:0 0 48px;width:48px;height:48px;background:#2f7bea;color:white}.game-dau .cu{width:90px;flex:0 0 90px}.game-dau .cu img{width:90px;max-height:100px;object-fit:contain}
.hanh-trinh-0611e .sach-noi .bia-sach{width:55px!important;height:78px!important;min-width:55px!important;flex:0 0 55px!important;overflow:hidden;font-size:12px!important;border-radius:8px}.hanh-trinh-0611e .sach-noi .bia-sach>*{max-width:100%;font-size:12px!important}.hanh-trinh-0611e .sach-noi>div{min-width:0}.hanh-trinh-0611e .sach-noi b{display:block;overflow-wrap:anywhere}.hanh-trinh-0611e.duong-hoc .tram .tram-nut>.ic{flex:0 0 44px}.hanh-trinh-0611e.duong-hoc .tram .tram-chu{flex:1;min-width:0}.hanh-trinh-0611e.duong-hoc .tram .tram-chu b{display:block}
.hanh-trinh-0611e .tram:before{display:none!important}.hanh-trinh-0611e.duong-hoc .tram .tram-nut{width:100%;height:62px;min-width:0;border-radius:999px;gap:6px;padding:5px 12px;justify-content:flex-start}.hanh-trinh-0611e.duong-hoc .tram .tram-chu{padding:0;background:none;box-shadow:none;white-space:normal;line-height:1.15;text-align:left}.hanh-trinh-0611e .so-tram{position:absolute;top:-13px;left:32px;border:3px solid white;border-radius:50%;width:28px;height:28px;background:#166abb;color:white;font-size:16px;font-weight:900;display:grid;place-items:center}.hanh-trinh-0611e.duong-hoc .tram.tiep .tram-chu{outline:0;box-shadow:none}.game-dau{display:flex;align-items:center;gap:12px;margin:15px auto;max-width:760px}.game-dau>img,.game-dau>span img{width:95px;max-height:110px;object-fit:contain}.game-dau>b{background:white;border-radius:999px;padding:15px;font-size:19px;color:#0b3b8f}.diem-game{margin-left:auto;background:white;border-radius:999px;padding:10px;white-space:nowrap;font-weight:900}.o-phat-am .hang:has(.mic-nho):before,.o-phat-am .hang:has(.mic-nho):after{content:'';display:block;width:42px;height:25px;background:repeating-linear-gradient(90deg,transparent 0 4px,#66acd0 4px 7px);border-radius:50%;opacity:.75}
.hanh-trinh-0611e.duong-hoc{width:100%;max-width:560px;height:auto;aspect-ratio:800/1420;margin:20px auto;background:url('/img/nen-hanh-trinh.webp') center/100% 100% no-repeat;position:relative;border-radius:28px;overflow:hidden}
.hanh-trinh-0611e .tram{position:absolute;transform:translate(-50%,-50%);width:54%;display:flex;align-items:center;gap:8px;z-index:2}
.hanh-trinh-0611e .tram-nut{width:62px;height:62px;min-width:62px;background:white;border:3px solid white;border-radius:50%;position:relative;box-shadow:0 4px 0 #86b0c7;display:flex;align-items:center;justify-content:center}
.hanh-trinh-0611e .tram-nut .ic{width:44px;height:44px;object-fit:contain}
.hanh-trinh-0611e .tram-chu{background:white;padding:10px 14px;border-radius:24px;box-shadow:0 4px 0 #86b0c7;white-space:nowrap;color:#0b3b8f}
.hanh-trinh-0611e .tram-chu b{font-weight:900;font-size:17px}.hanh-trinh-0611e .tram-chu small{display:none}
.hanh-trinh-0611e .tram:not(.xong):not(.tiep){opacity:.8}.hanh-trinh-0611e .tram.tiep .tram-nut,.hanh-trinh-0611e .tram.tiep .tram-chu{outline:4px solid #ffd23f;box-shadow:0 0 17px #ffd23f}
.hanh-trinh-0611e .ba-sao{position:absolute;bottom:-22px;left:0;color:#ffd23f;text-shadow:0 2px #dba500;font-size:24px}.hanh-trinh-0611e .sao-xong{position:absolute;left:-8px;top:-8px;background:#36ba71;color:white;border:3px solid white;border-radius:50%;font-size:20px}
.hanh-trinh-0611e .duong-ga{position:absolute;width:18%;transform:translate(-50%,-50%);z-index:3}.hanh-trinh-0611e .duong-ga img{width:100%}.loi-tram{position:absolute;top:-24px;left:-10px;white-space:nowrap;padding:7px;background:white;border-radius:18px;color:#0b3b8f}
.hanh-trinh-0611e .sach-noi{position:absolute;top:2%;left:3%;width:42%;padding:9px;z-index:3;display:flex!important;gap:8px!important;font-size:12px}.hanh-trinh-0611e .sach-noi img{max-width:55px;max-height:78px;object-fit:contain}.hanh-trinh-0611e .sach-noi p{display:none}.hanh-trinh-0611e .sach-noi .vien{font-size:12px}
.doc-0611e{max-width:980px;margin:auto}.doc-0611e .trang-giay{max-width:980px;background:none;box-shadow:none;padding:0}.doc-0611e .bia-trang{position:relative;max-height:68dvh;width:100%;border:6px solid white;border-radius:22px;overflow:hidden}.doc-0611e .tranh-trang{width:100%;height:100%;max-height:66dvh;object-fit:contain}.doc-0611e [data-di]{position:absolute;top:50%;transform:translateY(-50%);width:60px;height:60px;background:#2f7bea;color:white;border:4px solid white;box-shadow:0 4px #1c55b0;z-index:2}.doc-0611e [data-di="-1"]{left:8px}.doc-0611e [data-di="1"]{right:8px}.doc-0611e .chu{margin:12px auto;background:white;border-radius:999px;padding:12px 20px;line-height:1.5;font-weight:900}.doc-0611e .chu .sang{background:#ffd23f;border-radius:5px}.doc-0611e .cham-trang{justify-content:center}.chon-luot{margin:8px 0 12px auto;width:max-content;max-width:100%;background:white;border-radius:20px;padding:9px 15px}.chon-luot summary{cursor:pointer;font-weight:800;min-height:30px}.chon-luot .chon-so{flex-wrap:wrap}
.khung-kien-thuc{position:relative}.ga-giang{width:95px;float:left;margin:15px 12px 0 0}.cac-cong-thuc .cong-thuc{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;background:none}.phan-cong-thuc{padding:10px 18px;background:#dff3ff;color:#0069a9;border-radius:16px;font-size:28px;font-weight:900}.phan-cong-thuc:nth-of-type(even){background:#ffe1f1;color:#c83887}.dau-cong{font-size:30px}.cac-vi-du{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;clear:both}.cac-vi-du .vi-du{display:flex;flex-direction:column;justify-content:space-between;background:white;border:3px solid #d2e9f5;border-radius:20px;padding:20px 12px;font-size:21px;font-weight:800}.vi-du.sang{border-color:#ffd23f;box-shadow:0 0 15px #ffd23f}.nghe-giang{display:block;width:auto!important;margin:0 auto 18px}
.cau-sap-xep .o-xep{background:white;border:3px solid #d9ecf8;border-radius:22px;min-height:80px;padding:22px;text-align:center;font-size:26px;font-weight:900}.khay-tu{background:#f8e5bb;border:5px solid #fff3d8;border-radius:24px;padding:22px 14px;display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin:14px 0}.khay-tu button{border:2px solid #a8c7df;border-bottom:5px solid #82a9c6;border-radius:18px;background:white;color:#0b3b8f;font-size:23px;font-weight:900;min-height:52px}.khay-tu button:disabled{opacity:.35}
.phonics-games .phonics-choi{text-align:center}.phonics-games .the-chu{background:#ffd23f;border:2px solid #ffe992;border-bottom:6px solid #dca619;color:#0b3b8f;font-size:34px;font-weight:900;min-width:64px;min-height:68px;border-radius:15px}.phonics-games .ghep-khay{padding:18px;background:#f7e4bd;border-radius:22px}.phonics-games .o-chu{border:3px solid #9cbed5;border-bottom-width:5px;background:white;border-radius:14px;width:72px;height:76px;font-size:35px;color:#0b3b8f}.phonics-games .phonics-tranh{border-radius:22px;background:white;padding:15px}.phonics-games .o-am-game small{display:block;background:white;border-radius:12px;font-size:20px;margin-top:8px}.chon-game.tab-pron{display:flex;flex-wrap:wrap;padding:5px;background:white;border-radius:24px;gap:4px}.tab-pron button{flex:1;min-height:52px;border-radius:18px}.o-phat-am[hidden]{display:none!important}.pronunciation{font-size:30px;color:#0b3b8f;text-align:center}.pronunciation h3{font-size:38px;font-weight:900}.pronunciation .am-tiet{background:#e5f3ff;color:#0b3b8f;border:2px solid #aac9dd;border-bottom-width:5px;border-radius:16px;min-height:70px;padding:10px 18px;font-size:29px;font-weight:900}.pronunciation .am-tiet.nhan,.pronunciation .am-tiet.sang{background:#ffd23f;transform:scale(1.08);position:relative}.pronunciation .am-tiet.nhan:before{content:'●';position:absolute;top:-27px;left:45%;font-size:20px}.o-phat-am .mic-nho{background:#f14d49;width:74px;height:74px;border:4px solid white;box-shadow:0 5px #bd302e;border-radius:50%;font-size:32px}
body:not(.che-do-thay) .luoi-hinh{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}body:not(.che-do-thay) .luoi-hinh .o-hinh{background:white;border:4px solid #c8dfec;border-bottom-width:7px;border-radius:20px;min-height:150px}body:not(.che-do-thay) .luoi-hinh .o-hinh img{width:100%;max-height:160px;object-fit:contain}body:not(.che-do-thay) .luoi-hinh .o-hinh.dung{border-color:#35b86b;position:relative}body:not(.che-do-thay) .luoi-hinh .o-hinh.dung:after{content:'✓';position:absolute;right:5px;top:5px;background:#35b86b;color:white;border-radius:50%;width:30px;height:30px}body:not(.che-do-thay) .loa-to{width:96px;height:96px;background:#2f7bea;color:white;border:5px solid white;border-bottom:7px solid #1c55b0;border-radius:50%;display:block;margin:15px auto 22px}
@media(max-width:600px){.hanh-trinh-0611e .tram{width:58%;gap:4px}.hanh-trinh-0611e .tram-nut{width:46px;height:46px;min-width:46px}.hanh-trinh-0611e .tram-nut .ic{width:34px;height:34px}.hanh-trinh-0611e .tram-chu{padding:8px}.hanh-trinh-0611e .tram-chu b{font-size:12px}.hanh-trinh-0611e .tram-chu .vien{font-size:12px}.doc-0611e .bia-trang{max-height:52dvh}.doc-0611e .tranh-trang{max-height:50dvh}.doc-0611e [data-di]{width:48px;height:48px}.doc-0611e .chu{font-size:20px!important;padding:10px 15px;border-radius:22px}.cac-vi-du{grid-template-columns:1fr}body:not(.che-do-thay) .luoi-hinh{grid-template-columns:repeat(2,minmax(0,1fr))}.phonics-games .o-chu{width:58px;height:64px}.phonics-games .the-chu{min-width:48px;font-size:28px}.ga-giang{width:65px}.phan-cong-thuc{font-size:23px}.pronunciation .am-tiet{font-size:23px;padding:8px 12px}.tab-pron button{font-size:12px;flex-basis:28%}}
.hanh-trinh-0611e .sach-noi{height:11%;max-height:110px;overflow:hidden;pointer-events:none;align-items:center}.hanh-trinh-0611e .sach-noi .bia-sach{height:100%!important;min-height:0}.hanh-trinh-0611e .sach-noi>div:last-child{font-size:12px;line-height:1.15}.hanh-trinh-0611e .sach-noi .sao{font-size:12px;white-space:nowrap}
@media(max-width:600px){.hanh-trinh-0611e .sach-noi{height:10%;padding:5px;gap:5px!important}.hanh-trinh-0611e .sach-noi .bia-sach{width:34px!important;min-width:34px!important;flex-basis:34px!important}.hanh-trinh-0611e .sach-noi>div:last-child{font-size:9px}.hanh-trinh-0611e .sach-noi .vien,.hanh-trinh-0611e .sach-noi .sao{font-size:9px;padding:2px 4px}}
.hanh-trinh-0611e.duong-hoc .tram .tram-nut{background:#fff;color:#0b3b8f}.hanh-trinh-0611e.duong-hoc .tram.tiep .tram-nut{border-color:#ffd23f;outline:4px solid #fff3a1}
.doc-0611e .bia-trang .nut-loa[data-di],.doc-0611e .chu-wrap button.nut-loa{background:#2f7bea;color:#fff;box-shadow:0 4px 0 #1c55b0}.doc-0611e .bia-trang .nut-loa[data-di]{border:4px solid white}.dau-buoc h3{background:white;border-radius:999px;padding:0 12px;line-height:48px;font-weight:900;color:#0b3b8f}
.o-phat-am .hang:has(.mic-nho){justify-content:center}
/* Raz-Kids: tranh phong to het khung */ .doc-0611e .trang-giay .tranh-trang{width:100%;height:100%;max-width:none;max-height:none;object-fit:contain}@media(max-width:600px){.doc-0611e .trang-giay .bia-trang{height:auto;min-height:0;max-height:none}.doc-0611e .trang-giay .tranh-trang{height:auto;max-height:60dvh}}
/* 07/11 gop y anh Canh: ban do chu to, o nho, bot chu, ga khong che tram */
.hanh-trinh-0611e.duong-hoc .tram{width:auto!important;max-width:62%}
.hanh-trinh-0611e.duong-hoc .tram .tram-nut{width:auto!important;height:auto!important;min-height:56px;padding:5px 16px 5px 6px!important;gap:8px}
.hanh-trinh-0611e.duong-hoc .tram .tram-chu b{font-size:18px!important;white-space:nowrap}
.hanh-trinh-0611e .sach-noi{width:auto!important;max-width:48%;padding:8px 12px!important;align-items:center}
.hanh-trinh-0611e .sach-noi b{font-size:16px!important;line-height:1.2}
.hanh-trinh-0611e .sach-noi .vien{font-size:14px!important}
.hanh-trinh-0611e .sach-noi .sao{font-size:14px!important;display:inline!important}
.hanh-trinh-0611e .duong-ga{width:15%!important;z-index:1!important;pointer-events:none}
.hanh-trinh-0611e .duong-ga .loi-tram{font-size:15px}
@media(max-width:600px){
 .hanh-trinh-0611e.duong-hoc .tram .tram-nut{min-height:50px;padding:4px 12px 4px 4px!important}
 .hanh-trinh-0611e.duong-hoc .tram .tram-nut .ic{width:40px!important;height:40px!important;flex:0 0 40px!important}
 .hanh-trinh-0611e.duong-hoc .tram .tram-chu b{font-size:16px!important}
 .hanh-trinh-0611e .sach-noi .bia-sach{display:none!important}
 .hanh-trinh-0611e .sach-noi b{font-size:15px!important}
 .hanh-trinh-0611e .duong-ga{width:17%!important}
}
.hanh-trinh-0611e .duong-ga.ga-phai .loi-tram{left:auto;right:-4px}

/* 0911C: fast letter taps and readable picture matching cards. */
.phonics-games .the-chu,.phonics-games .o-chu,.phonics-games .ghep-xoa{touch-action:manipulation}
.noi-cap.noi-tranh{display:block}
.noi-tranh .trai,.noi-tranh .phai{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-width:0}
.noi-tranh .phai{margin-top:16px}
.noi-tranh button{min-width:0;width:100%;min-height:44px;overflow-wrap:anywhere}
.noi-tranh .phai button{aspect-ratio:1;padding:8px}
@media(max-width:600px){.noi-tranh .trai,.noi-tranh .phai{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}

.noi-cap.noi-tranh .trai button{min-height:44px!important}
/* Anh Canh 09/11: anh bi ghim cung 120px trong khi khung cao hon nhieu (desktop) -> luon phu kin khung bang aspect-ratio + object-fit. */
.noi-cap.noi-tranh .phai button img{position:absolute;inset:8px;width:calc(100% - 16px)!important;height:calc(100% - 16px)!important;max-height:none!important;object-fit:contain}
@media(max-width:600px){.noi-cap.noi-tranh .phai{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
/* 23/11 dung thu Phonics: dang choi Ghep tu thi an nut "Ve ban do hanh trinh" cua tram (trung voi Tu tiep theo); ket qua hien lai. */
div:has(> .phonics-games:not([hidden]) .ghep-o) + div{display:none!important}
/* Dien thoai: tranh to vua khung, khong lot tho m trong khung trang cao. */
@media(max-width:600px){.phonics-games .phonics-choi:has(.ghep-o) .phonics-tranh img{width:100%;height:auto;max-height:180px}}
/* 24/11: nut "Choi game" o cuoi Hoc the; an khi dang o tab Choi cua Pronunciation (cung cha voi .pronun-games). */
.pronun-games:not([hidden]) ~ .nut-sang-game{display:none!important}
.nut-sang-game{margin-top:12px}

/* 24/11 P0: Ghep tu - nut nghe lai tu tren tranh + chu goi y sang khi sai lan 3. Chi .phonics-games. */
.phonics-games .phonics-tranh{position:relative}
.phonics-games .phonics-tranh .nghe-tu{position:absolute;right:6px;bottom:6px;width:46px;height:46px;font-size:22px;z-index:2}
.phonics-games .the-chu.goi-y-chu{box-shadow:0 0 0 5px #22c55e,0 6px 0 #dca619;animation:goi-y-nhay .8s ease-in-out infinite alternate}
@keyframes goi-y-nhay{from{transform:translateY(0)}to{transform:translateY(-6px)}}
@media(prefers-reduced-motion:reduce){.phonics-games .the-chu.goi-y-chu{animation:none}}
