/* Datova Felt UI – mẫu giao diện khu học sinh (01/12). Theo đặc tả ChatGPT: mau-ui/chatgpt/tra-loi-1.md */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700;800&family=Nunito:wght@500;600;700;800&display=swap');

@scope (body.hs-felt) {
:scope {
  --giay: #FAF1E2; --giay-sang: #FFF9EF; --giay-dam: #EAD8BC; --vien: #E2CFB1;
  --ngoc: #287C70; --ngoc-dam: #18594F; --co: #83A94F; --co-dam: #51783A;
  --cam: #EF913A; --cam-dam: #C96F1F; --vang: #F5C84C; --vang-dam: #D9A52A;
  --go: #A86D3D; --chu: #583B26; --chu-phu: #786653; --do: #D9573F;
  --k-phonics: #F6D4CC; --k-thuvien: #F9E5B2; --k-lop: #D3E8EF; --k-thuong: #F8DE9C; --k-tro: #E5D7ED; --k-on: #DCE9C8;
  --bong: 0 2px 0 rgba(88,59,38,.08), 0 10px 24px -10px rgba(88,59,38,.35);
  --vai: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .23 0 0 0 0 .15 0 0 0 .3 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23f)'/%3E%3C/svg%3E");
  --soi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .6' numOctaves='2' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 -.1'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23f)'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
:scope { margin: 0; }
:scope {
  font-family: 'Nunito', system-ui, sans-serif; color: var(--chu); font-weight: 600;
  background: var(--giay);
  background-image: var(--vai);
  background-size: 160px; background-blend-mode: multiply;
  -webkit-font-smoothing: antialiased; min-height: 100vh;
}
:scope::before { /* sắc giấy: mép tối nhẹ */
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(120% 90% at 50% 30%, transparent 60%, rgba(168,109,61,.06));
}
h1, h2, h3, .baloo { font-family: 'Baloo 2', 'Nunito', sans-serif; line-height: 1.1; margin: 0; }
a { color: inherit; text-decoration: none; }
.wrap { position: relative; z-index: 1; max-width: 1328px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 1024px) { .wrap { padding: 0 52px; } }

/* ---- vật liệu ---- */
.giay { /* thẻ giấy nổi */
  position: relative; background: var(--giay-sang); border: 1.5px solid var(--vien);
  border-radius: 24px; box-shadow: var(--bong);
}
.ni { /* miếng nỉ: màu + vân sợi + đường may */
  position: relative; border-radius: 24px; isolation: isolate;
  box-shadow: 0 3px 0 rgba(88,59,38,.12), 0 12px 22px -12px rgba(88,59,38,.45);
}
.ni::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--vai); background-size: 120px; opacity: .55; mix-blend-mode: multiply; z-index: -1; pointer-events: none; }
.ni::after { content: ''; position: absolute; inset: 7px; border-radius: calc(24px - 7px); border: 2px dashed rgba(255,255,255,.75); pointer-events: none; }
.ni.may-toi::after { border-color: rgba(88,59,38,.28); }

/* ---- nút bấm lún ---- */
.nut {
  --n: var(--ngoc); --nd: var(--ngoc-dam);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border: 0; border-radius: 18px; cursor: pointer;
  font: 800 19px/1 'Baloo 2', sans-serif; color: #fff; letter-spacing: .2px;
  background: var(--n); background-image: var(--vai); background-size: 110px; background-blend-mode: soft-light;
  box-shadow: 0 5px 0 var(--nd), 0 12px 18px -8px rgba(24,89,79,.6);
  transform: translateY(0); transition: transform .12s, box-shadow .12s; position: relative;
}
.nut::after { content: ''; position: absolute; inset: 5px; border-radius: 13px; border: 1.5px dashed rgba(255,255,255,.55); pointer-events: none; }
.nut:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--nd), 0 4px 8px -4px rgba(24,89,79,.6); }
.nut.cam { --n: var(--cam); --nd: var(--cam-dam); box-shadow: 0 5px 0 var(--nd), 0 12px 18px -8px rgba(201,111,31,.6); }
.nut .tron { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.22); display: grid; place-items: center; }
@media (min-width: 1024px) { .nut { min-height: 62px; font-size: 22px; padding: 0 32px; } }

/* ---- header ---- */
.dau { display: flex; align-items: center; justify-content: space-between; height: 64px; }
@media (min-width: 1024px) { .dau { height: 86px; } }
.logo { display: flex; align-items: center; gap: 8px; }
.logo b { font: 800 24px/0.9 'Baloo 2'; color: var(--ngoc); display: block; }
.logo small { font: 800 13px/1 'Baloo 2'; color: var(--cam); letter-spacing: 1px; display: block; }
.logo .la { width: 34px; height: 34px; }
.phai { display: flex; align-items: center; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px 0 8px; border-radius: 99px; background: var(--giay-sang); border: 1.5px solid var(--vien); font: 800 17px/1 'Baloo 2'; box-shadow: 0 2px 0 var(--vien); }
.chip svg { width: 26px; height: 26px; }
.ava { width: 44px; height: 44px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--vien), 0 3px 0 var(--vien); background: #FCE3C6 center/86% no-repeat; overflow: hidden; }
.ava img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transform: scale(1.5) translateY(14%); }

/* ---- menu dưới (mobile) ---- */
.menu-duoi { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: var(--giay-sang); border-top: 1.5px solid var(--vien);
  box-shadow: 0 -8px 20px -12px rgba(88,59,38,.3); }
.menu-duoi a { display: flex; flex-direction: column; align-items: center; gap: 2px; font: 800 12.5px/1.2 'Nunito'; color: var(--chu-phu); padding: 6px 0; border-radius: 14px; }
.menu-duoi a svg { width: 28px; height: 28px; }
.menu-duoi a.dang { color: var(--ngoc); background: #E4F0EC; }
@media (min-width: 1024px) { .menu-duoi { display: none; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---- khung chung (khung.js) ---- */
.ve { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--giay-sang); border: 1.5px solid var(--vien); box-shadow: 0 3px 0 var(--vien); }
.dau-tieu-de { font-size: 21px; font-weight: 800; flex: 1; margin: 0 10px 0 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu-tren { display: none; }
@media (min-width: 1024px) {
  .dau-tieu-de { font-size: 30px; flex: none; }
  .menu-tren { display: flex; gap: 6px; margin: 0 auto; padding: 6px; border-radius: 18px; background: rgba(255,249,239,.7); border: 1.5px solid var(--vien); }
  .menu-tren a { font: 800 17px/1 'Baloo 2'; padding: 11px 18px; border-radius: 13px; color: var(--chu-phu); }
  .menu-tren a:hover { background: var(--giay-dam); }
  .menu-tren a.dang { background: var(--ngoc); color: #fff; box-shadow: 0 3px 0 var(--ngoc-dam); }
  .menu-duoi { display: none; }
}
.menu-duoi { grid-template-columns: repeat(5, 1fr) !important; padding-left: 4px !important; padding-right: 4px !important; }
.menu-duoi a { font-size: 11.5px !important; }
main.co-menu { padding-bottom: 112px; }
@media (min-width: 1024px) { main.co-menu { padding-bottom: 56px; } }

/* ---- phần dùng chung ---- */
.tieu-de { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 24px 2px 12px; }
.tieu-de h2 { font-size: 22px; font-weight: 800; }
.tieu-de a { font: 800 14px/1 'Nunito'; color: var(--ngoc); }
@media (min-width: 1024px) { .tieu-de h2 { font-size: 26px; } }
.nut.phu { --n: var(--giay-sang); --nd: var(--vien); color: var(--chu); border: 1.5px solid var(--vien); box-shadow: 0 5px 0 var(--vien), 0 10px 14px -10px rgba(88,59,38,.4); background-blend-mode: multiply; }
.nut.phu::after { border-color: rgba(168,109,61,.25); }
.nut.do { --n: #CD6554; --nd: #9C4236; box-shadow: 0 5px 0 var(--nd), 0 12px 18px -8px rgba(156,66,54,.55); }
.nut.rong { width: 100%; }
.nut.nho { min-height: 46px; font-size: 16px; padding: 0 16px; border-radius: 15px; }
.nut.nho::after { border-radius: 11px; }
.nut svg { flex: none; }
.the { position: relative; background: var(--giay-sang); border: 1.5px solid var(--vien); border-radius: 24px; box-shadow: var(--bong); }
.the.may::after { content: ''; position: absolute; inset: 7px; border-radius: 17px; border: 2px dashed rgba(226,207,177,.9); pointer-events: none; }
.nhan { display: inline-flex; align-items: center; gap: 5px; font: 800 12.5px/1 'Nunito'; padding: 5px 9px; border-radius: 99px; background: #E4F0EC; color: var(--ngoc); white-space: nowrap; }
.nhan.cam { background: #FCE6CF; color: var(--cam-dam); }
.nhan.vang { background: #FBEFC6; color: #9A7414; }
.nhan.xam { background: var(--giay-dam); color: var(--chu-phu); }
.nhan.do { background: #F6DFD6; color: #B75C48; }
.thanh { height: 10px; border-radius: 10px; background: var(--giay-dam); overflow: hidden; }
.thanh i { display: block; height: 100%; border-radius: inherit; background: var(--co); background-image: repeating-linear-gradient(90deg, transparent 0 8px, rgba(255,255,255,.35) 8px 10px); }
.bia { position: relative; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; background: var(--giay-dam); }
.bia img { width: 100%; height: 100%; object-fit: cover; display: block; }
.o-sach { display: block; padding: 8px 8px 12px; border-radius: 20px; transition: transform .15s; }
.o-sach:hover { transform: translateY(-3px); }
.o-sach b { display: block; font: 800 16px/1.2 'Baloo 2'; margin: 9px 4px 6px; min-height: 2.4em; }
.o-sach .dong { display: flex; gap: 6px; margin: 0 4px; flex-wrap: wrap; }
.o-sach .dau-tick { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; background: var(--co); border: 2.5px solid #fff; display: grid; place-items: center; }
.loi-foxy { position: relative; background: #fff; border-radius: 18px; padding: 12px 16px; font: 700 15px/1.4 'Nunito'; box-shadow: 0 3px 0 var(--vien); }
.loi-foxy::before { content: ''; position: absolute; left: -9px; top: 22px; border: 9px solid transparent; border-left: 0; border-right-color: #fff; }
.an-dt { display: none; } @media (min-width: 1024px) { .an-dt { display: revert; } .an-mt { display: none !important; } }
@keyframes nay { 0% { transform: scale(.4); opacity: 0 } 60% { transform: scale(1.15); opacity: 1 } 100% { transform: scale(1) } }
.nay { animation: nay .45s cubic-bezier(.3,1.4,.5,1) both; }

/* Soát ChatGPT 01/12 */
img[src*="nhan-vat/"] { filter: drop-shadow(0 7px 5px rgba(88,59,38,.22)); }
@media (max-width: 1023px) {
  .dau:has(.ve) .chip { display: none; }            /* màn con: bỏ sao để tiêu đề đủ chỗ */
  .dau-tieu-de { white-space: normal; font-size: 19px; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

}

@scope (body.hs-felt .felt-home) {

  
  /* ---- banner chào ---- */
  .chao { position: relative; overflow: hidden; border-radius: 30px; min-height: 236px;
    background: linear-gradient(180deg, #DCEEF0 0%, #EEF5E6 62%, #F3F1DC 100%); border: 1.5px solid var(--vien); box-shadow: var(--bong); }
  .chao::after { content: ''; position: absolute; inset: 8px; border-radius: 23px; border: 2px dashed rgba(255,255,255,.8); pointer-events: none; z-index: 3; }
  .chao .doi { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; }
  .chao .deco { position: absolute; z-index: 1; }
  .chao .mt, .chao .m1 { display: none; }
  .chao .mt { top: 22px; right: 40px; }
  .chao .m1 { top: 18px; left: 70%; }
  .chao .m2 { top: 70px; left: 44%; display: none; }
  .chao .c1 { right: 10px; bottom: 26px; width: 230px; display: none; }
  .chao .n1 { right: 250px; bottom: 34px; width: 90px; display: none; }
  .chao .nam { left: 300px; bottom: 14px; width: 80px; display: none; }
  .chao .birdie { display: none; width: 80px; animation: bay 3s ease-in-out infinite; }
  @keyframes bay { 50% { transform: translateY(-6px) rotate(-4deg); } }
  .chao .foxy { position: absolute; z-index: 2; left: 10px; top: 26px; width: 124px; transform-origin: 50% 90%; animation: vay .8s ease-in-out .4s 1; }
  @keyframes vay { 0%,100% { transform: rotate(0) } 30% { transform: rotate(-4deg) } 70% { transform: rotate(3deg) } }
  .chao .noi { position: relative; z-index: 2; margin-left: 140px; padding: 26px 20px 0 0; min-height: 168px; }
  .chao h1 { font-size: 27px; font-weight: 800; color: var(--chu); }
  .chao h1 span { color: var(--cam); }
  .chao p { margin: 6px 0 0; font-size: 15px; color: var(--chu-phu); line-height: 1.35; }
  .dang-hoc { position: relative; z-index: 2; margin: 0 16px 18px; padding: 12px; display: flex; align-items: center; gap: 12px; }
  .dang-hoc .the-am { flex: none; width: 54px; height: 54px; border-radius: 16px; background: var(--k-phonics); display: grid; place-items: center; font: 800 30px/1 'Baloo 2'; color: var(--do); box-shadow: inset 0 -3px 0 rgba(88,59,38,.12); }
  .dang-hoc .tt { flex: 1; min-width: 0; }
  .dang-hoc .tt small { display: block; font: 700 12.5px/1.2 'Nunito'; color: var(--chu-phu); }
  .dang-hoc .tt b { display: block; font: 800 18px/1.2 'Baloo 2'; margin-top: 2px; }
  .thanh { height: 9px; border-radius: 9px; background: var(--giay-dam); margin-top: 7px; overflow: hidden; }
  .thanh i { display: block; height: 100%; width: 40%; border-radius: inherit; background: var(--co); background-image: repeating-linear-gradient(90deg, transparent 0 8px, rgba(255,255,255,.35) 8px 10px); }
  .dang-hoc .nut { flex: none; min-height: 50px; padding: 0 14px; font-size: 17px; gap: 8px; }
  .dang-hoc .nut .tron { width: 26px; height: 26px; }

  /* ---- 6 ô ---- */
  .tieu-de { display: flex; align-items: baseline; justify-content: space-between; margin: 26px 2px 12px; }
  .tieu-de h2 { font-size: 22px; font-weight: 800; }
  .tieu-de a { font: 800 14px/1 'Nunito'; color: var(--ngoc); }
  .o-khu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .o { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 16px 10px 16px; min-height: 172px; transition: transform .15s; }
  .o:active { transform: translateY(3px) scale(.99); }
  .o-khu { margin-top: 30px; row-gap: 34px; }
  .o { padding-top: 0 !important; }
  .o .hinh { position: relative; z-index: 2; height: 112px; display: grid; place-items: end center; margin: -34px 0 8px; transition: transform .2s; }
  .o:hover .hinh, .o:active .hinh { transform: translateY(-4px) rotate(-3deg); }
  .o .hinh img, .o .hinh svg { max-height: 110px; max-width: 128px; filter: drop-shadow(0 4px 3px rgba(88,59,38,.18)); }
  .o h3 { font-size: 20px; font-weight: 800; }
  .o small { display: block; font: 700 13px/1.25 'Nunito'; color: var(--chu-phu); margin-top: 3px; }
  .o .huy { position: absolute; top: 10px; right: 12px; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 99px; background: var(--do); color: #fff; font: 800 14px/26px 'Baloo 2'; box-shadow: 0 2px 0 #A8402C; z-index: 2; }
  .k1 { background: var(--k-phonics) } .k2 { background: var(--k-thuvien) } .k3 { background: var(--k-lop) }
  .k4 { background: var(--k-thuong) } .k5 { background: var(--k-tro) } .k6 { background: var(--k-on) }

  /* ---- sách gợi ý ---- */
  .ke { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; padding: 2px 2px 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .sach { scroll-snap-align: start; padding: 8px 8px 12px; }
  .sach .bia { aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; background: var(--giay-dam); }
  .sach .bia img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .sach b { display: block; font: 800 16px/1.2 'Baloo 2'; margin: 9px 4px 2px; }
  .co-foxy { display: flex; align-items: flex-end; gap: 8px; } .co-foxy img { width: 54px; margin: -18px 0 -6px; }
  .sach { position: relative; }
  .sach .dau-trang { position: absolute; top: 0; right: 14px; width: 26px; height: 38px; background: var(--do); clip-path: polygon(0 0,100% 0,100% 100%,50% 76%,0 100%); z-index: 2; }
  .sach small { display: inline-block; margin: 0 4px; font: 800 12px/1 'Nunito'; color: var(--ngoc); background: #E4F0EC; padding: 4px 8px; border-radius: 99px; }

  /* ---- máy tính ---- */
  @media (min-width: 1024px) {
    .chao { min-height: 330px; border-radius: 34px; display: grid; grid-template-columns: 360px 1fr; align-items: center; }
    .chao::after { border-radius: 27px; }
    .chao .foxy { width: 290px; left: 46px; top: auto; bottom: 6px; }
    .chao .mt, .chao .m1 { display: block; }
    .dang-hoc .nut .tron { width: 30px; height: 30px; }
    .chao .noi { grid-column: 2; margin: 0; padding: 40px 40px 0 0; align-self: start; min-height: 0; }
    .chao h1 { font-size: 46px; }
    .chao p { font-size: 18px; max-width: 520px; margin-top: 10px; }
    .chao .m2, .chao .c1, .chao .n1, .chao .nam { display: block; }
    .chao .birdie { display: block; right: 250px; top: 44px; }
    .chao .mt { right: 270px; }
            .dang-hoc { grid-column: 2; margin: 18px 0 40px; max-width: 560px; padding: 14px; align-self: end; }
    .dang-hoc .the-am { width: 64px; height: 64px; font-size: 36px; }
    .dang-hoc .tt b { font-size: 21px; }
    .dang-hoc .nut { min-height: 60px; padding: 0 26px; font-size: 22px; }
    .duoi { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
    .o-khu { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .o { min-height: 200px; padding: 20px 12px; }
    .o .hinh { height: 128px; margin-top: -40px; } .o .hinh img, .o .hinh svg { max-height: 126px; max-width: 150px; }
    .o-khu { row-gap: 40px; }
    .o h3 { font-size: 23px; } .o small { font-size: 14px; }
    .o:hover { transform: translateY(-3px); }
    .tieu-de { margin-top: 30px; } .tieu-de h2 { font-size: 26px; }
    .ke { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr 1fr; overflow: visible; padding: 0; gap: 16px; }
    .ke .sach:first-child { grid-column: 1 / -1; }
  }

}

/* App navigation and API-backed views. */
body.che-do-thay { --coban-dam: #18594f; --coban-nhat: #dceee9; }
body.hs-felt { --kem: #faf1e2; --coban-dam: #18594f; --coban-nhat: #dceee9; --chu-nhat: #6b5847; --chu-thuong: 'Nunito', system-ui, sans-serif; --chu-tieu-de: 'Baloo 2', 'Nunito', sans-serif; }
body.hs-felt .canh-nen { display: none; }
body.hs-felt .thanh-tren { background: #fff9ef; color: #18594f; }
body.hs-felt .thanh-tren .logo { color: #18594f; }
body.hs-felt .noi-dung { width: min(100%, 1328px); max-width: 1328px; min-width: 0; }
body.hs-felt .chao { background: #dceee9; }
body.hs-felt .dang-hoc .the-am img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
body.hs-felt .dang-hoc .tt { overflow-wrap: anywhere; }
body.hs-felt .v1-book-card, body.hs-felt .v1-book-intro, body.hs-felt .v1-paper,
body.hs-felt .the, body.hs-felt .cau { background-color: #fff9ef; }
body.hs-felt .v1-title h1 { color: #583b26; }
body.hs-felt .v1-ribbon { background: #a8432e; color: white; }
body.hs-felt .v1-step { background: #fff9ef; color: #583b26; }
body.hs-felt .v1-step:nth-child(2) { background: #d3e8ef; }
body.hs-felt .v1-step:nth-child(3) { background: #f8de9c; }
body.hs-felt #thanh-duoi { background: #fff9ef; color: #583b26; }
body.hs-felt #thanh-duoi a { min-width: 0; min-height: 48px; color: inherit; }
body.hs-felt #thanh-duoi a.dang-mo { background: #dceee9; color: #18594f; }
body.hs-felt #thanh-duoi b { font-size: clamp(.66rem, 2.6vw, .95rem); white-space: normal; }
body.hs-felt #thanh-duoi img { object-fit: contain; }
body.hs-felt #thanh-duoi[hidden], body.hs-felt.trong-tram #thanh-duoi { display: none; }
body.hs-felt .v1-login { background: #f2e5cb; color: #583b26; }
body.hs-felt .v2-login-sky { background: #dceee9; display: flex; justify-content: center; align-items: end; overflow: hidden; }
body.hs-felt .v2-login-sky img { width: min(40%, 220px); object-fit: contain; max-height: 95%; }
body.hs-felt .felt-tim { display: grid; gap: 4px; margin: 0 0 12px; }
body.hs-felt .felt-tim input { max-width: 35rem; min-height: 44px; padding: 0 16px; border-radius: 16px; background: #fff9ef; }
body.hs-felt .felt-book-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 12px; }
body.hs-felt .felt-book-filter button { min-height: 44px; padding: 0 12px; border-radius: 14px; background: #fff9ef; }
body.hs-felt .felt-book-filter [aria-pressed="true"] { color: white; background: #287c70; }
body.hs-felt .felt-am-banner, body.hs-felt .felt-the-am { padding: clamp(16px, 4vw, 32px); }
body.hs-felt .felt-am-banner { display: flex; align-items: center; gap: 16px; background-color: #dceee9; }
body.hs-felt .felt-am-banner img { width: min(30%, 180px); }
body.hs-felt .felt-am-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 120px), 1fr)); list-style: none; padding: 0; margin-block: 16px; }
body.hs-felt .felt-am-grid :is(a, button) { display: grid; place-items: center; align-content: center; min-height: 80px; width: 100%; padding: 8px; }
body.hs-felt .felt-am-grid b { font: 800 24px/1.2 'Baloo 2', system-ui, sans-serif; }
body.hs-felt .felt-the-am > a { display: inline-flex; align-items: center; min-height: 44px; margin: 0 12px; color: #18594f; text-decoration: underline; }
body.hs-felt .felt-the-am > p { margin-block: 12px; }
@media (min-width: 1024px) {
  body.hs-felt.co-thanh-duoi { padding-left: 0 !important; }
  body.hs-felt.co-thanh-duoi #thanh-duoi { position: absolute; inset: 4px auto auto 50%; transform: translateX(-50%); width: max-content; max-width: 54vw; padding: 4px; display: flex; flex-direction: row; gap: 2px; overflow: visible; border-radius: 18px; }
  body.hs-felt.co-thanh-duoi #thanh-duoi a { flex: auto; min-height: 44px; padding: 6px 10px; gap: 4px; }
  body.hs-felt.co-thanh-duoi #thanh-duoi img { width: 26px; height: 26px; }
  body.hs-felt.trong-tram #thanh-duoi { display: none; }
}
body.hs-felt .felt-motion { position: absolute; z-index: 4; top: 5px; right: 8px; min-height: 44px; font-size: .75rem; }
body.hs-felt .felt-still .chao img { animation: none; }
@media (prefers-reduced-motion: reduce) { body.hs-felt .felt-motion { display: none; } }
body.hs-felt .felt-quiz .cau[hidden], body.hs-felt .felt-quiz button[hidden] { display: none; }
body.hs-felt .felt-quiz-nav { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-block: 16px; }
body.hs-felt .felt-quiz-nav .nut { min-height: 44px; padding-inline: 12px; }
body.hs-felt .felt-quiz-anh { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); gap: 12px; }
body.hs-felt .felt-quiz-anh img { aspect-ratio: 4/3; width: 100%; height: auto; object-fit: cover; border-radius: 12px; }
body.hs-felt .felt-quiz [role="status"] .nut { margin: 5px; }
body.hs-felt { background: #faf1e2 var(--vai) repeat; background-size: 160px; background-blend-mode: multiply; }
body.hs-felt .felt-home .chao { display: block; background-color: #dceee9; min-height: 236px; }
body.hs-felt .felt-home .chao .noi { margin-left: 140px; }
body.hs-felt .felt-home .dang-hoc { min-width: 0; width: auto; justify-content: start; gap: 10px; }
body.hs-felt .felt-home .dang-hoc .nut { min-width: 0; font-size: clamp(.85rem, 3.6vw, 1.05rem); padding-inline: 12px; }
body.hs-felt .felt-home :is(h1, h2, h3) { color: #583b26; font-family: 'Baloo 2', 'Nunito', system-ui, sans-serif; }
body.hs-felt .felt-home .o-khu h3 { color: #583b26; }
body.hs-felt .felt-home .duoi > * { min-width: 0; }
body.hs-felt .felt-home .ke { max-width: 100%; }
body.hs-felt :is(h1, h2, h3, a, button, input):focus-visible { outline-color: #18594f; scroll-margin-block: 80px; }
@media (min-width: 1024px) {
  body.hs-felt .felt-home .chao { display: grid; min-height: 330px; }
  body.hs-felt .felt-home .chao .noi { margin-left: 0; }
  body.hs-felt .felt-home .dang-hoc .nut { font-size: 1.22rem; padding-inline: 20px; }
}
body.hs-felt .felt-home .dang-hoc .bia-sach,
body.hs-felt .felt-home .bia > .bia-sach { width: 100%; height: 100%; min-width: 0; min-height: 0; margin: 0; position: relative; overflow: hidden; }
body.hs-felt .felt-home .dang-hoc .tt { font-family: 'Nunito', system-ui, sans-serif; }
body.hs-felt .felt-home .dang-hoc .the-am { overflow: hidden; }
body.hs-felt .felt-home .chao h1 span { color: #a74022; }
body:has(.vao-thay) .vao-vao:not(.v1-login) { background: #dceee9; }
body:has(.vao-thay) .vao-thanh { background: #287c70; }
body.hs-felt .felt-title { display: flex; align-items: center; gap: 10px; margin-block: 0 16px; }
body.hs-felt .felt-title img { margin-inline-start: auto; width: clamp(48px, 13vw, 90px); height: auto; }
body.hs-felt .felt-title :is(h1, h2) { font-family: 'Baloo 2', 'Nunito', system-ui, sans-serif; color: #583b26; }
body.hs-felt .v2-chang button { color: #583b26; background-color: #f3e1bb; }
body.hs-felt .v2-chang button:nth-child(3n+2) { background-color: #d3e8ef; }
body.hs-felt .v2-chang button:nth-child(3n) { background-color: #dce9c8; }
body.hs-felt :is(.v2-chang, .v1-levels, .v1-filters) button[aria-pressed="true"] { color: white; background-color: #287c70; }
body.hs-felt .bai-duoc-giao { border-radius: 24px; box-shadow: 0 10px 24px -12px #583b2655; }
body.hs-felt .coin-jar { background: #f8de9c; }
body.hs-felt .prize-grid .sach-mini { background: #fff9ef; }
body.hs-felt.co-thanh-duoi .thanh-tren { display: flex; justify-content: space-between; gap: 8px; background: #fff9ef; }
body.hs-felt.co-thanh-duoi .thanh-tren > .logo { display: flex; flex: none; padding: 4px; }
body.hs-felt.co-thanh-duoi #menu-tren { width: auto; margin-inline-start: auto; gap: 8px; }
body.hs-felt.co-thanh-duoi #menu-tren .menu-tai-khoan { order: 1; }
body.hs-felt .felt-home img, body.hs-felt .felt-am-banner img { height: auto; }
body.hs-felt .felt-home h1 { text-wrap: balance; }
body.hs-felt .felt-home .chao h1 span { color: #a64e1a; }
body.hs-felt .felt-home :is(.dang-hoc .tt b, .ke b) { font-family: 'Baloo 2', 'Nunito', system-ui, sans-serif; }
body.hs-felt .felt-home :is(.dang-hoc .tt small, .ke small, .tieu-de a) { font-family: 'Nunito', system-ui, sans-serif; }
body.hs-felt .felt-book-filter button:hover:not([aria-pressed="true"]), body.hs-felt .felt-am-grid :is(a, button):hover { background-color: #e3efe9; }
@media (min-width: 1024px) {
  body.hs-felt.co-thanh-duoi .thanh-tren > .logo { max-width: 190px; gap: 6px; }
  body.hs-felt.co-thanh-duoi #thanh-duoi { top: 14px; max-width: 49vw; }
  body.hs-felt.co-thanh-duoi #thanh-duoi b { white-space: nowrap; }
}
