/* CSS riêng trang GỘP «Của con» (/tai-khoan khi công tắc `thanhCuaConBat()` bật) — lính CUA-CON 17/11. Mọi luật bắt đầu bằng `.gdm`
   (không rò sang trang cũ). Số đo CHÉP từ màn mẫu thu/luat-giao-dien-17-11/cua-con/ve-con.css (phần bản vẽ 2 `.mot2` + phần dùng chung);
   gốc trang = `div.gdm.goc.mot2` (KhungTrang className). Thêm: cỡ Gà Bông thật (GaBongTuoi) trong vòng tròn, khung lại màu của
   các khối cũ dùng lại nguyên (Tiếng Anh của con, Gửi báo cáo, Con đọc được, Bài văn) — chỉ đổi màu về luật, không đổi chữ / hành vi. */

/* hình thật */
.gdm img.h{display:block;width:62%;height:62%;object-fit:contain}
.gdm button.ga-tron{cursor:pointer;padding:0;font:inherit;color:inherit}
.gdm .ga-tron .loa{position:absolute;left:-6px;top:-6px;width:26px;height:26px;border-radius:50%;background:#fff;color:var(--xd);display:grid;place-items:center}
.gdm .ga-tron .loa svg{width:14px;height:14px}
.gdm.goc .ga-tron{width:74px;height:74px}
.gdm.goc .hero h1{padding-right:84px}
.gdm .ga-tron [data-soi="ga-bong-tuoi"]{width:86%!important;height:86%!important}
.gdm .ga-tron .gabong-wrap{width:92%!important;height:92%!important}
.gdm .ga-tron [data-soi="ga-bong-tuoi"]>span[aria-hidden]{font-size:20px!important}
.gdm .ga-tron [data-soi="ga-bong-tuoi"]>[role="img"]{font-size:42px!important;animation:none!important}
.gdm .hero .nho.bai1{display:flex;justify-content:center;white-space:pre;min-width:0}
.gdm .hero .nho.bai1 .b1{min-width:0;overflow:hidden;text-overflow:ellipsis}
.gdm .hero .nho.bai1 .k1n{flex:none}
.gdm .cu-cu button{min-height:44px}
.gdm .hero .loi-ga{font-size:12.5px;font-weight:600;color:#fff;background:rgba(0,0,0,.18);border-radius:12px;padding:6px 10px;margin-top:8px;line-height:1.4;font-family:var(--gdm-f)}

/* nút là <button> */
.gdm button.cta{width:100%;border:0;border-bottom:5px solid #bfdc9f;cursor:pointer}
.gdm button.nutv,.gdm button.nut{border-top:0;border-left:0;border-right:0;cursor:pointer}
.gdm button.nut.n-phu{border:2px solid var(--vien);border-bottom-width:4px}

/* dòng danh sách gộp không gập: <a class="dong"> (bấm được) · <div class="dong"> (chỉ đọc) — cùng số đo summary */
.gdm .nhom .dong{display:flex;align-items:center;gap:12px;padding:9px 12px;min-height:62px}
.gdm .dong .sm b{color:var(--chu)}
.gdm .dong .nutv{height:44px;padding:0 14px;font-size:13.5px}
.gdm .sao{color:#f2b100;font-weight:900}
.gdm .dong>a.l{display:flex;align-items:center;gap:12px;flex:1;min-width:0;min-height:44px}
.gdm .dong .nut{flex:none}
.gdm .ruot .nutv,.gdm .ruot .nut{margin-top:10px}

/* lưới biểu tượng: ô không phải link (hình dán, huy hiệu) */
.gdm .app>span,.gdm .app>button{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;font-size:11.5px;font-weight:700;line-height:1.2;padding:0 3px;font-family:var(--gdm-f)}
.gdm .app>button{background:none;border:0;cursor:pointer;color:var(--chu)}
.gdm .app .o{font-size:28px}
.gdm .app .chua .o{background:#f1f5f9}
.gdm .app .chua img.h{filter:grayscale(1);opacity:.45}
.gdm .app .chua{color:#94a3b8}
.gdm .app .hoi .o{background:#f1f5f9;color:#cbd5e1;font-weight:900;font-size:22px}
.gdm .app .qua .o{box-shadow:inset 0 0 0 3px var(--x);background:#f3fbe8}
.gdm .the .gt{padding:0 14px 0}
.gdm .gt{font-size:12.5px;color:var(--phu);line-height:1.5}

/* chọn lớp (5 ô vuông 44) */
.gdm .so8 button{width:44px;height:44px;border-radius:14px;border:2px solid var(--vien);border-bottom-width:4px;display:grid;place-items:center;font-weight:900;background:#fff;font-family:var(--gdm-f9);font-size:15px;cursor:pointer;color:var(--chu)}
.gdm .so8 button.c{background:var(--x);color:#fff;border-color:var(--x);border-bottom-color:var(--xd)}
.gdm .hero .so8{margin-top:10px}
.gdm .hero .so8 a,.gdm .hero .so8 button{color:var(--chu)}
/* 18/11: dòng gập «Khoá lớp khác» (đã chọn lớp → khoá lớp khác gom vào đây) — tên các khoá một dòng, ruột nền xám rất nhạt */
.gdm .nhom details.lop-k>summary .g{min-width:0}
.gdm .nhom details.lop-k>summary .g small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gdm .nhom .lop-khac{border-top:1px solid #edf1f6;background:#f8fafc}
.gdm .nhom .lop-khac>*+*{border-top:1px solid #edf1f6}
/* 18/11: ô lớp ĐANG CHỌN trong khối đầu xanh — nền xanh đậm, viền + chữ trắng (trước: chữ đen trên nền xanh, lẫn với khối đầu) */
.gdm .hero .so8 button.c{background:var(--xd);color:#fff;border-color:#fff}
/* báo lỗi / xoá: hồng đỏ như khu giáo viên */
.gdm .nut.do{background:#fff1f2;color:#be123c;border:2px solid #fecdd3;border-bottom-width:4px}
.gdm .canh{font-size:12.5px;line-height:1.5;color:#9f1239;background:#fff1f2;border:2px solid #fecdd3;border-radius:14px;padding:10px 12px}
.gdm .loi-do{font-size:12.5px;font-weight:700;color:#be123c;margin-top:8px}

/* công tắc (ẩn tên trên bảng xếp hạng) */
.gdm .cong{flex:none;width:52px;height:30px;border-radius:99px;background:#e2e8f0;position:relative}
.gdm .cong::after{content:"";position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.25)}
.gdm .cong.bat{background:var(--x)}.gdm .cong.bat::after{left:25px}
.gdm button.dong[role="switch"]{width:100%;background:none;border:0;border-top:1px solid #edf1f6;font:inherit;text-align:left;cursor:pointer;color:var(--chu)}

.gdm .avt{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--xn);color:var(--xd);font-weight:900;font-size:17px;overflow:hidden}
.gdm .avt img{width:100%;height:100%;object-fit:cover}
.gdm .chan .lk button{font-family:inherit}

/* MỘT TRANG «Của con» (bản vẽ 2) */
.gdm.mot2 .hai-cot,.gdm.mot2 .cot-trai,.gdm.mot2 .cot-phai{display:contents}
.gdm.mot2 .khoi{display:grid;gap:14px;min-width:0}
.gdm.mot2 .k1{order:1}.gdm.mot2 .k3{order:2}.gdm.mot2 .k4{order:3}.gdm.mot2 .k5{order:4}.gdm.mot2 .k6{order:5}.gdm.mot2 .k7{order:6}.gdm.mot2 .k8{order:7}.gdm.mot2 .k9{order:8}.gdm.mot2 .k10{order:9}
.gdm .nhom .moi-dn{background:var(--xn);padding:14px;display:grid;gap:8px}
.gdm .moi-dn b{font-size:15px;font-weight:900;line-height:1.3;font-family:var(--gdm-f9)}
.gdm .moi-dn small{font-size:12.5px;color:#3d5a26;line-height:1.45}
.gdm .nhom button.dong{width:100%;background:none;border:0;border-top:1px solid #edf1f6;font:inherit;text-align:left;cursor:pointer;color:var(--chu)}
.gdm .ruot .dong{padding-left:4px;padding-right:4px;border-top:1px solid #edf1f6;min-height:56px}
.gdm .ruot .so8{margin-top:6px}
.gdm .ruot .canh{margin-top:12px}
.gdm .hero .lopn{display:inline-flex;align-items:center;gap:4px;min-height:44px;padding:0 14px;border-radius:99px;background:rgba(255,255,255,.15);border:1.5px solid rgba(255,255,255,.32);color:#fff;font:inherit;font-size:12.5px;font-weight:800;cursor:pointer;font-family:var(--gdm-f)}
.gdm .hero .lopn u{text-underline-offset:2px}
.gdm .nhk{font-weight:800;color:var(--xd)}
.gdm .nhk.xam{color:#475569;font-weight:700}
.gdm .nhk.vang{color:#7a4d00;background:#fff4d6;border-radius:99px;padding:1px 8px}
.gdm .nhk.do{color:#be123c;background:#fff1f2;border-radius:99px;padding:1px 8px}
.gdm .dong>.nhk{flex:none;font-size:11.5px;white-space:nowrap}
.gdm .tuan.k3{background:#fff4d6;border-color:#f5c542}
.gdm .tuan.k3 .nhan{color:#7a4d00}
.gdm .tuan.k3 .lich{background:#fff;border-color:#f5c542}
.gdm .tuan.k3 .lich b{font-size:24px}
.gdm .k8 .o2 a{font-size:12.5px}
.gdm .k8 small{margin-top:10px}
.gdm .ruot details summary{padding-left:4px;padding-right:4px;min-height:56px;border-top:1px solid #edf1f6}
.gdm .hero h1.hn1{font-size:22px;line-height:1.25;margin-top:8px;padding-right:84px}
.gdm .o2.o3{grid-template-columns:repeat(3,1fr)}
.gdm.mot2 .k9 .nhom>details>summary,.gdm.mot2 .k9 .nhom>.dong{min-height:52px;padding-top:6px;padding-bottom:6px}
.gdm .nho2{font-size:10.5px;font-weight:800;letter-spacing:.08em;color:var(--phu);text-transform:uppercase;margin-top:12px;font-family:var(--gdm-f)}
.gdm .ruot input.go{width:100%;min-height:44px;border:2px solid var(--vien);border-radius:14px;padding:0 12px;font:inherit;font-size:14px;margin-top:8px;background:#fff;color:var(--chu)}
.gdm .ruot input.go:focus{outline:2px solid var(--x);outline-offset:1px}
.gdm .ruot label.tich{display:flex;gap:10px;align-items:flex-start;font-size:12.5px;line-height:1.45;color:#334155;padding:8px 4px 0}
.gdm .ruot label.tich input{width:20px;height:20px;flex:none;margin-top:1px;accent-color:#367c00}
.gdm .ruot .hai-nut{display:flex;gap:8px;margin-top:10px}
.gdm .ruot .hai-nut>*{flex:1}
.gdm .ruot .sua-ten{display:flex;gap:8px;align-items:center;flex:1;min-width:0}
.gdm .ruot .sua-ten input.go{margin-top:0;flex:1;min-width:0}
.gdm .hidden-file{display:none}

/* khung «Con học thế nào»: khối cũ dùng lại nguyên (TiengAnhCon, GuiBaoCaoTA, ConDocDuoc, BaiVanCuaCon) — đổi màu về luật */
.gdm .cu-cu{margin-top:10px}
.gdm .cu-cu [class*="from-sky"],.gdm .cu-cu [class*="from-indigo"],.gdm .cu-cu [class*="from-violet"],.gdm .cu-cu [class*="from-amber"],.gdm .cu-cu [class*="from-emerald"],.gdm .cu-cu [class*="to-violet"]{background:#fff!important;background-image:none!important}
.gdm .cu-cu [class*="border-sky"],.gdm .cu-cu [class*="border-violet"],.gdm .cu-cu [class*="border-indigo"],.gdm .cu-cu [class*="border-amber"]{border-color:var(--vien)!important}
.gdm .cu-cu [class*="text-sky"],.gdm .cu-cu [class*="text-violet"],.gdm .cu-cu [class*="text-indigo"]{color:var(--xd)!important}
.gdm .cu-cu [class*="bg-sky-6"],.gdm .cu-cu [class*="bg-violet-6"],.gdm .cu-cu [class*="bg-indigo-6"],.gdm .cu-cu [class*="bg-[#58CC02]"]{background:var(--x)!important;border-color:var(--xd)!important;color:#fff!important}
.gdm .cu-cu [class*="bg-sky-5"],.gdm .cu-cu [class*="bg-violet-5"],.gdm .cu-cu [class*="bg-indigo-5"],.gdm .cu-cu [class*="bg-sky-1"],.gdm .cu-cu [class*="bg-violet-1"],.gdm .cu-cu [class*="bg-indigo-1"]{background:#f3fbe8!important}
.gdm .cu-cu [data-soi="tieng-anh-con"],.gdm .cu-cu [data-soi="gui-bao-cao-ta"]{margin:10px 0 0!important;border-radius:16px}
.gdm .cu-cu h2{font-size:14.5px}

/* thanh đầu máy tính: nhãn «Của con» của KhungTrang trỏ chính trang này → không hiện ở đây (ô thanh dưới / chữ đầu đã là «Của con») */
.gdm.goc .top a.bg[href="/goc-cua-con"]{display:none}
/* trang này CHÍNH LÀ trang tài khoản → không vẽ nút tròn ảnh đại diện (menu tài khoản) cạnh chuông; chuông giữ (màn mẫu ve-cua-con2) */
.gdm.goc .tk .relative:has(img){display:none}

@media (min-width:1024px){
.gdm.goc .ga-tron{width:178px;height:178px}
.gdm.goc .hero h1{padding-right:0}
.gdm .hero h1.hn1{font-size:32px;padding-right:0;max-width:440px}
.gdm .ga-tron [data-soi="ga-bong-tuoi"]>span[aria-hidden]{font-size:48px!important}
.gdm .ga-tron [data-soi="ga-bong-tuoi"]>[role="img"]{font-size:104px!important}
.gdm.mot2 .k9 .nhom>details>summary,.gdm.mot2 .k9 .nhom>.dong{min-height:48px;padding-top:4px;padding-bottom:4px}
.gdm.mot2 .k8 small{margin-top:8px}
.gdm .ga-tron .loa{width:44px;height:44px;left:6px;top:6px}.gdm .ga-tron .loa svg{width:22px;height:22px}
.gdm .hero .loi-ga{max-width:400px}
.gdm .hero .so8{max-width:420px}
.gdm.mot2 .hai-cot{display:grid;grid-template-columns:minmax(0,1fr) 372px;gap:20px;align-items:start}
.gdm.mot2 .cot-trai,.gdm.mot2 .cot-phai{display:grid;gap:14px;align-content:start;min-width:0}
.gdm.mot2 .khoi>.dau:first-child{margin-top:4px}
.gdm.mot2 .tuan.k3{display:flex;padding:12px 14px;border-radius:22px;gap:12px}
.gdm.mot2 .k3 .lich{width:52px;height:56px;border-radius:14px}
.gdm.mot2 .k3 .t{font-size:15px;-webkit-line-clamp:2}.gdm.mot2 .k3 .s{font-size:12px}
.gdm.mot2 .k3 .nutv{height:46px;font-size:14px;padding:0 16px;border-radius:14px}
}

/* HERO-NHAY vòng 2 (19/11): khối đầu thật hiện thay khung chờ (cao đúng chỗ đã giữ) → nội dung hiện mờ dần, không dịch chuyển */
.gdm .hero.k1[data-mo]>*{animation:cc-mo .18s ease-out both}
@keyframes cc-mo{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.gdm .hero.k1[data-mo]>*{animation:none}}
