/* 13/11 anh Canh: mui ten lat trang GIU NGUYEN cho, khong nhay khi bam/hover/focus, khong doi cho giua cac trang (ca desktop lan dien thoai) */
body.dang-doc .doc-0611e .lat-trang [data-di],
body.dang-doc .doc-0611e .lat-trang [data-di]:hover,
body.dang-doc .doc-0611e .lat-trang [data-di]:active,
body.dang-doc .doc-0611e .lat-trang [data-di]:focus,
body.dang-doc .doc-0611e .lat-trang [data-di]:focus-visible,
body.dang-doc .doc-0611e .lat-trang [data-di]:disabled{transform:none!important;translate:none!important;animation:none!important;transition:none!important}
@media(min-width:601px){
  body.dang-doc .doc-0611e [data-di]{bottom:0!important;top:auto!important;width:72px!important;height:72px!important;box-sizing:border-box}
  body.dang-doc .doc-0611e [data-di="-1"]{left:0!important}
  body.dang-doc .doc-0611e [data-di="1"]{right:0!important}
  body.dang-doc .doc-0611e .lat-trang [data-di="1"]:disabled{visibility:visible}
}
/* tiep-doc khong che mui ten phai */
@media(min-width:601px){body.dang-doc .doc-0611e .tiep-doc{left:90px;right:90px}}

/* 13/11 anh Canh: hinh minh hoa o bai Ngu phap to hon */
body .ngu-phap-4p .vi-du > .vd-hinh{flex:0 0 140px;width:140px;height:140px;font-size:88px;border-radius:26px}
body .ngu-phap-4p .vi-du{min-height:150px;gap:16px}
body .ngu-phap-4p .vi-du > .vd-cau{font-size:22px}
@media (max-width:430px){body .ngu-phap-4p .vi-du > .vd-hinh{flex-basis:104px;width:104px;height:104px;font-size:64px;border-radius:22px}body .ngu-phap-4p .vi-du{min-height:112px}body .ngu-phap-4p .vi-du > .vd-cau{font-size:18px}}

/* 13/11 anh Canh: Rewards - o Tong Ken Do / Co the dung thanh 1 COT dung bang chieu cao cot Cua hang qua tang (gon) */
@media(min-width:700px){
  body .rewards-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:20px;align-items:stretch}
  body .rewards-layout .coin-jar{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;width:auto;height:auto;padding:20px 12px;margin:0;box-sizing:border-box}
  body .rewards-layout .coin-jar .so-du-qua{display:flex;flex-direction:column;gap:14px;width:100%;margin:0}
  body .rewards-layout .coin-jar .so-du-qua>div{display:flex;flex-direction:column;align-items:center;gap:2px}
  body .rewards-layout .coin-jar .ken-coin svg,body .rewards-layout .coin-jar .ken-coin img{width:80px;height:80px}
}

/* Tab Rewards | Progress (gop 2 muc) */
.rp-tabs{display:flex;gap:8px;margin:0 0 14px}
.rp-tabs a{flex:1;text-align:center;padding:12px 10px;border-radius:999px;background:#eef5ff;color:#173b61;font-weight:900;text-decoration:none;min-height:44px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}
.rp-tabs a.dang-mo{background:#ffc43d;box-shadow:0 3px #d99a00}
#thanh-duoi .ic-ga-ai{width:44px;height:44px;object-fit:contain}

/* 13/11 menu 6 tab: khong cho chu bi cat dong, du cho o man hep */
@media(max-width:1099px){body.co-thanh-duoi #thanh-duoi{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}}
/* 20/11 anh Canh: AI Ken an -> menu duoi chia deu theo so nut (truoc co dinh 6 cot, du 1 cot trong) */
@media(max-width:600px){
  body.co-thanh-duoi #thanh-duoi{padding-left:2px;padding-right:2px;gap:0}
  #thanh-duoi a{padding:4px 1px}
  body:not(.che-do-thay) #thanh-duoi a b{font-size:12px!important;letter-spacing:-.4px!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;max-width:none}
  #thanh-duoi a{min-width:0}
  #thanh-duoi img{width:36px;height:36px}
  #thanh-duoi .ic-ga-ai{width:40px;height:40px}
}

/* 14/11 gop y anh Canh: ban do hanh trinh – chu luon NAM TRONG khung, moi tram 1 khung trang dac, cung kich thuoc */
.hanh-trinh-0611e.duong-hoc .tram,.hanh-trinh-0611e.duong-hoc .tram:not(.xong):not(.tiep){opacity:1!important;width:min(250px,64%)!important;max-width:none!important}
.hanh-trinh-0611e.duong-hoc .tram .tram-nut{width:100%!important;background:#fff!important;border-radius:999px;justify-content:flex-start}
.hanh-trinh-0611e.duong-hoc .tram:not(.xong):not(.tiep) .tram-nut .ic{filter:saturate(.6)}
.hanh-trinh-0611e.duong-hoc .tram .tram-chu{background:none!important;box-shadow:none!important;padding:0!important;flex:1;text-align:left;color:#0b3b8f}
.hanh-trinh-0611e.duong-hoc .tram .tram-chu b{display:block;white-space:nowrap}
@media(max-width:600px){.hanh-trinh-0611e.duong-hoc .tram,.hanh-trinh-0611e.duong-hoc .tram:not(.xong):not(.tiep){width:min(220px,66%)!important}}
/* 15/11 anh Canh: 3 chuong trinh – nen ban do rieng. Primary giu nen dao; Secondary nui hoang hon; Academic ban do sao navy. */
.hanh-trinh-0611e.duong-hoc.ct-secondary{background:#1e1b4b url('/img/nen-hanh-trinh-thcs.svg') center/cover no-repeat!important}
.hanh-trinh-0611e.duong-hoc.ct-academic{background:#0b1220 url('/img/nen-hanh-trinh-thpt.svg') center/cover no-repeat!important}
.hanh-trinh-0611e .duong-noi{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;overflow:visible}
.hanh-trinh-0611e .duong-noi path{fill:none;stroke-linecap:round;stroke-width:10px}
.hanh-trinh-0611e.ct-secondary .duong-noi path{stroke:#fde68a;stroke-opacity:.85;stroke-dasharray:2 18}
.hanh-trinh-0611e.ct-academic .duong-noi path{stroke:#7dd3fc;stroke-opacity:.7;stroke-width:3px;stroke-dasharray:10 10}
.hanh-trinh-0611e.ct-secondary .tram .tram-nut,.hanh-trinh-0611e.ct-academic .tram .tram-nut{box-shadow:0 6px 18px rgba(0,0,0,.35)!important}
.hanh-trinh-0611e.ct-academic .tram .tram-nut{border-radius:14px!important;border-color:#e0f2fe!important}
.hanh-trinh-0611e.ct-academic .tram .tram-chu{color:#0f1e3d!important}
.hanh-trinh-0611e.ct-academic .tram.tiep .tram-nut{outline:3px solid #fbbf24!important;box-shadow:0 0 0 6px rgba(251,191,36,.25),0 6px 18px rgba(0,0,0,.4)!important}
.hanh-trinh-0611e.ct-academic .so-tram{background:#0f1e3d!important}
/* 15/11 icon Community: vong tron xanh + nhom nguoi (thay emoji 💬) */
.ic.ic-community{display:inline-block;width:36px;height:36px;flex:0 0 36px}
/* 16/11 anh Canh: o tram GON, vua du chu (khong keo dai het 250px) */
.hanh-trinh-0611e.duong-hoc .tram,.hanh-trinh-0611e.duong-hoc .tram:not(.xong):not(.tiep){width:max-content!important;max-width:72%!important}
.hanh-trinh-0611e.duong-hoc .tram .tram-nut{width:auto!important;padding-right:18px!important;gap:8px}
.hanh-trinh-0611e.duong-hoc .tram .tram-chu{flex:0 1 auto}
@media(max-width:600px){.hanh-trinh-0611e.duong-hoc .tram,.hanh-trinh-0611e.duong-hoc .tram:not(.xong):not(.tiep){width:max-content!important;max-width:74%!important}.hanh-trinh-0611e.duong-hoc .tram .tram-nut{padding-right:14px!important}}
/* 16/11 anh Canh: man cho co anh thay Ken + gia dinh – dai NHIEU ANH CHAY NGANG o phan tren khung, nhan vat hoat hinh xuong duoi */
#man-cho .cho-anh img#anh-cho{top:25%;height:75%}
#man-cho .cho-day{position:absolute;z-index:3;left:0;right:0;top:3%;height:20%;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
#man-cho .cho-ray{display:flex;gap:10px;height:100%;width:max-content;animation:cho-chay 9s linear infinite}
#man-cho .cho-ray img{position:static;height:100%;width:auto;flex:none;object-fit:cover;border:4px solid #fff;border-radius:14px;box-shadow:0 6px 14px rgba(0,20,60,.25)}
@keyframes cho-chay{from{transform:translateX(0)}to{transform:translateX(calc(-50% - 5px))}}
@media(prefers-reduced-motion:reduce){#man-cho .cho-ray{animation:none}}
/* 16/11 anh Canh: anh bai Community hien DU ANH, khong cat. 1 anh: theo ty le that; nhieu anh: contain tren nen nhat */
.community .community-media.n1{aspect-ratio:auto!important;display:block}
.community .community-media.n1 .photo{height:auto}
.community .community-media.n1 .photo img{position:static;width:100%;height:auto;max-height:80vh;object-fit:contain}
.community .community-media:not(.n1) .photo img{object-fit:contain}
