/* =====================================================================
   HỆ THIẾT KẾ CHUNG (19/10/2026) — chuẩn hoá theo bản soát của GPT (8,7/10, 3 việc còn lại)
   1) chữ: tiêu đề Fraunces, thân chữ Quicksand; cỡ tiêu đề theo cấp
   2) nút / ô nhập / nhãn: một bộ hình dáng chung
   3) Giới thiệu: khung phương pháp nền kem, bảng bài học đứng thẳng
   Nạp sau CSS riêng của trang + color-pass.css, trước theme-dark.css.
   ===================================================================== */
:root {
  --ds-ink: #121212;
  --ds-cta: #F07A3C;
  --ds-paper: #FFFDF8;
  --ds-card: #FCF6E8;
  --ds-display: "Fraunces", "Plus Jakarta Sans", serif;
  --ds-body: "Quicksand", "Plus Jakarta Sans", system-ui, sans-serif;
  --ds-h1-page: 52px;     /* tiêu đề trang luyện tập */
  --ds-h2: 40px;          /* tiêu đề mục trang luyện tập */
  --ds-h2-mkt: 48px;      /* tiêu đề mục trang chủ / Giới thiệu */
  --ds-h3: 24px;          /* tiêu đề thẻ */
}

/* ---------- 1. CHỮ ---------- */
/* trang Giới thiệu còn lẫn Plus Jakarta ở thân chữ: đưa về Quicksand như mọi trang */
body.about-page p, body.about-page li, body.about-page label, body.about-page td, body.about-page small { font-family: var(--ds-body); }

/* tiêu đề trang luyện tập (Nghe, Đọc, Phát âm, Giải đề, Từ vựng, Ngữ pháp, Định hướng) */
body.v3 .sp-hero h1, body.v3 h1.sp-long { font-family: var(--ds-display) !important; font-size: var(--ds-h1-page) !important; font-weight: 900 !important; line-height: 1.1 !important; }
/* tiêu đề mục trang luyện tập */
body.v3 .sp-sec-title, body.v3-orientation main h2, body.v3 main.gr > section.panel > h2 {
  font-family: var(--ds-display) !important; font-size: var(--ds-h2) !important; font-weight: 800 !important; line-height: 1.15 !important; letter-spacing: -.01em;
}
/* tiêu đề mục trang Giới thiệu + trang chủ (trang giới thiệu nên lớn hơn một bậc) */
body.about-page .lt-title, body.about-page #roadmap .lt-title, body.about-page .letter .serif-italic, body.about-page .eco h2,
body.about-page .a-lessons .round-title, body.about-page .round-title, body.about-page .stories-head .serif-title,
body.about-page .faq-title, body.about-page .faq-split .faq-title {
  font-size: var(--ds-h2-mkt) !important; line-height: 1.1 !important;
}
body.about-page .faq-title .tilted-tag > span, body.about-page .faq-split .faq-title .tilted-tag > span { font-size: calc(var(--ds-h2-mkt) * .82) !important; }
.impact-card h2, .consult-card h2 { font-size: var(--ds-h2-mkt) !important; line-height: 1.1 !important; }
/* tiêu đề thẻ */
body.v3 .sp-section h3:not(.wr-card *), body.v3-speaking .tile h3, body.v3-orientation .stage h3, body.v3-vocabulary .res h3 {
  font-family: var(--ds-display); font-size: var(--ds-h3) !important; line-height: 1.25 !important;
}
body.v3-speaking .tile.t-full h3 { font-size: 28px !important; }
body.v3-listening .book-head h3 { font-size: 28px !important; }
body.v3-writing .wr-card h2, body.v3-vocabulary .res .big h3 { font-size: 36px !important; line-height: 1.15 !important; }
body.about-page .level-panel h3, body.about-page .lcard h3 { font-size: 32px !important; line-height: 1.15 !important; }
/* tiêu đề H2/H3 trên nền kem: chữ mực, không bóng chữ */
body.v3 .sp-sec-title, body.v3 .sp-section h3, body.about-page .eco h2, body.about-page .lt-title { text-shadow: none !important; -webkit-text-stroke: 0 !important; color: var(--ds-ink); }

@media (max-width: 900px) {
  :root { --ds-h1-page: 40px; --ds-h2: 32px; --ds-h2-mkt: 36px; --ds-h3: 22px; }
  body.v3-writing .wr-card h2, body.v3-vocabulary .res .big h3 { font-size: 28px !important; }
  body.about-page .level-panel h3, body.about-page .lcard h3 { font-size: 26px !important; }
}
@media (max-width: 480px) {
  :root { --ds-h1-page: 34px; --ds-h2: 28px; --ds-h2-mkt: 30px; --ds-h3: 20px; }
}

/* ---------- 2. NÚT ---------- */
/* nút chính (cam) + nút phụ (giấy): bo 12px, viền 2px mực, bóng cứng 2px, cao ≥ 44px, chữ 14px/700 */
.btn-more, .consult-form button[type="submit"], .consult-form > button,
.btn-pink, .lp-toggle, .btn-orange, .btn-fb, form.phone-form button,
.sp-btn, .v3-orientation .stage a, .v3-orientation a.join, .v3-listening .lib-more a,
.tc-btns a, .v3-writing .wr-card a, .v3-writing .wr-card button,
.sub-form button, form.auth button.submit, .cm-btn {
  min-height: 44px !important; padding: 0 20px !important;
  border: 2px solid var(--ds-ink) !important; border-radius: 12px !important;
  box-shadow: 2px 2px 0 var(--ds-ink) !important;
  font-family: var(--ds-body) !important; font-size: 14px !important; font-weight: 700 !important; letter-spacing: 0 !important;
  display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; line-height: 1.2 !important;
  transition: transform .15s, box-shadow .15s;
}
.btn-more:hover, .consult-form button:hover, .btn-pink:hover, .lp-toggle:hover, .btn-orange:hover, .btn-fb:hover,
.sp-btn:hover, .v3-orientation .stage a:hover, .v3-orientation a.join:hover, .v3-listening .lib-more a:hover,
.tc-btns a:hover, .v3-writing .wr-card a:hover, .sub-form button:hover, form.auth button.submit:hover, .cm-btn:hover {
  transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ds-ink) !important;
}
/* nút lớn ở phần đầu trang: cùng hình dáng, to hơn một bậc */
.btn-hero, .welcome-cta {
  min-height: 56px !important; padding: 0 28px !important; border: 2px solid var(--ds-ink) !important; border-radius: 14px !important;
  box-shadow: 3px 3px 0 var(--ds-ink) !important; font-size: 17px !important; font-weight: 800 !important;
}
.welcome-cta { font-size: 20px !important; min-height: 60px !important; }
/* nút nhỏ trong bảng lịch khai giảng giữ gọn */
.lp-classes a { display: inline-flex !important; align-items: center; justify-content: center; line-height: 1 !important; min-height: 32px !important; padding: 0 12px !important; border-radius: 10px !important; box-shadow: 2px 2px 0 var(--ds-ink) !important; font-size: 12.5px !important; }
.cm-compose .cm-btn { min-height: 40px !important; }
.cm-compose.open #cmCancel { padding: 0 12px !important; }
.cm-compose.open #cmPost { padding: 0 14px !important; }

/* ---------- 2b. Ô NHẬP ---------- */
.consult-form .field, form.phone-form input, form.phone-form select, form.auth .input,
#search, #libSearch, .sub-form input {
  min-height: 44px !important; border-radius: 12px !important;
}
form.phone-form input, form.phone-form select { height: 44px !important; border-width: 2px !important; }
.sub-form input { height: 48px !important; border-width: 2px !important; }
.sub-form button, form.auth button.submit { height: 48px !important; min-height: 48px !important; }
.consult-form button[type="submit"], .consult-form > button { height: 48px !important; }

/* ---------- 2c. NHÃN MỤC (kicker) ---------- */
.sp-kicker, .sp-label, .cb-kicker, .blog-badge, .p-tag, p.kick, .v3-orientation .tag, .lb-tag {
  display: inline-flex !important; align-items: center; min-height: 24px; padding: 0 10px !important;
  border: 2px solid var(--ds-ink) !important; border-radius: 999px !important; box-shadow: none !important;
  font-family: var(--ds-body) !important; font-size: 11px !important; font-weight: 800 !important; letter-spacing: .08em !important; line-height: 1 !important;
}
.cm-kind, .cm-skill, .cm-badge, .cm-pin, .v-cat, .t-badge { border-width: 2px !important; box-shadow: none !important; min-height: 22px; }

/* ---------- 3. GIỚI THIỆU: khung phương pháp nền kem, bảng bài học đứng thẳng ---------- */
body.about-page .a-about { background: var(--rt-cream, #F7F0DF) !important; color: var(--ds-ink) !important; }
body.about-page .about-gap { background: transparent; }
body.about-page .frame {
  background: var(--ds-card) !important; color: var(--ds-ink) !important;
  border: 2px solid var(--ds-ink) !important; border-radius: 16px !important; box-shadow: 3px 3px 0 var(--ds-ink) !important;
}
body.about-page .frame-tab { background: #EBC24F !important; color: var(--ds-ink) !important; border: 2px solid var(--ds-ink); border-radius: 8px 8px 0 0; transform: translate(14px, -100%) !important; top: 0 !important; left: 0 !important; }
body.about-page .frame .serif-title { color: var(--ds-ink) !important; -webkit-text-stroke: 0 !important; text-shadow: none !important; font-size: 36px !important; }
body.about-page .frame .serif-title mark { color: var(--ds-ink) !important; background: #EBC24F !important; border: 2px solid var(--ds-ink); border-radius: 6px; box-shadow: 2px 2px 0 var(--ds-ink); padding: 0 .3em .05em !important; transform: rotate(-2deg) !important; font-size: inherit !important; }
body.about-page .frame .feature-list h3 { color: var(--ds-ink) !important; }
body.about-page .frame .feature-list p { color: var(--ds-ink) !important; opacity: .75 !important; }
/* video "Xem buổi học mẫu" giữ nền riêng của nó */

/* bảng "Bài học được thiết kế trực quan": bỏ nghiêng, khoảng cách đều */
body.about-page .lcard { transform: none !important; } /* giữ hiệu ứng xếp chồng khi cuộn, chỉ bỏ nghiêng */
@media (max-width: 767px) { body.about-page .lcard { transform: none !important; } }

/* ---------- vòng soát cuối (GPT 9,1/10) ---------- */
/* Giới thiệu → FAQ: bỏ tai cam ở mép trên mỗi câu hỏi (không dùng dải màu mép trên) */
body.about-page .folder::before { display: none !important; }
body.about-page .folder { padding-top: 0 !important; margin-top: 0 !important; }
body.about-page .folder summary { margin-top: 0 !important; }
/* "Tư vấn trực tiếp!" cùng kiểu tiêu đề mực như "Câu hỏi thường gặp" */
body.about-page .faq-split .cloud-title { color: var(--ds-ink) !important; -webkit-text-stroke: 0 !important; text-shadow: none !important; filter: none !important; font-size: var(--ds-h2-mkt) !important; }
/* Luyện đọc → hàng năm đề chiếm trọn một hàng, Sắp xếp + Tìm kiếm dồn phải ở hàng dưới */
body.v3-reading .toolbar { display: flex !important; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 12px; }
body.v3-reading .toolbar .ychips { flex: 0 0 100%; display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 700px) {
  body.v3-reading .toolbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  body.v3-reading .toolbar .ychips { flex: none; }
  body.v3-reading .toolbar .sort, body.v3-reading .toolbar .search { width: 100%; min-width: 0; box-sizing: border-box; }
  body.v3-reading .toolbar .sort select, body.v3-reading .toolbar .search input { min-width: 0; max-width: 100%; }
}
/* Định hướng → chân trang cùng màu trang chủ */
/* chân trang Định hướng: cùng màu xanh đậm với chân trang chung (20/10/2026) */
body.v3-orientation .or-foot { background: #2F4A62 !important; color: #D6E2EC !important; padding: 48px 0 32px !important; font-size: 14px; line-height: 1.6; }
body.v3-orientation .or-foot a { color: #D6E2EC !important; }
body.v3-orientation section.old[hidden] { display: none !important; }

/* ---------- Giới thiệu → thẻ cấp độ: mọi ô bên trong cùng viền 2px mực, bo 12px ---------- */
body.about-page .level-panel .io-box,
body.about-page .level-panel .lp-dur,
body.about-page .level-panel .lp-price {
  border: 2px solid var(--ds-ink) !important; border-radius: 12px !important; box-shadow: 2px 2px 0 var(--ds-ink) !important;
}
/* học phí: bỏ dải vàng cạnh trái, giữ nền kem + ô icon */
body.about-page .level-panel .lp-price { border-left-width: 2px !important; background: var(--ds-paper) !important; }
body.about-page .level-panel .lp-price::before { display: none !important; }
/* lịch khai giảng: tiêu đề + hàng cột + danh sách lớp thành MỘT khung viền 2px mực */
body.about-page .level-panel .lp-sub {
  margin-bottom: 0 !important; background: var(--tint-green) !important;
  border: 2px solid var(--ds-ink) !important; border-bottom: 0 !important; border-radius: 12px 12px 0 0 !important;
}
body.about-page .level-panel .lp-classes-head {
  background: var(--tint-green) !important; border: 2px solid var(--ds-ink) !important; border-top: 0 !important; border-bottom: 0 !important; border-radius: 0 !important;
}
body.about-page .level-panel .lp-classes {
  background: var(--tint-green) !important; border: 2px solid var(--ds-ink) !important; border-top: 0 !important;
  border-radius: 0 0 12px 12px !important; box-shadow: 2px 2px 0 var(--ds-ink) !important;
}
body.about-page .level-panel .lp-classes li { border: 2px solid var(--ds-ink) !important; border-radius: 10px !important; }

/* Trang chủ → form tư vấn: cáo to hơn một chút và đứng yên (bỏ nhún) */
.consult-art img { max-width: 280px !important; animation: none !important; transform: none !important; }
@media (max-width: 900px) { .consult-art img { max-width: 200px !important; } }

/* Giới thiệu → "Nơi phương pháp giảng dạy": viền trắng + mép mực như tiêu đề đầu trang (cỡ nhỏ hơn nên viền mảnh hơn) */
body.about-page .frame .serif-title {
  -webkit-text-stroke: 6px #fff !important; paint-order: stroke fill; letter-spacing: .01em !important;
  filter: drop-shadow(1.5px 0 0 #121212) drop-shadow(-1.5px 0 0 #121212) drop-shadow(0 1.5px 0 #121212) drop-shadow(0 -1.5px 0 #121212) drop-shadow(0 4px 0 #121212) !important;
}
body.about-page .frame .serif-title mark { -webkit-text-stroke: 0 !important; box-shadow: none !important; }
/* nút lớn đầu trang: chữ nằm giữa nút */
.btn-hero, .welcome-cta { display: inline-flex !important; align-items: center !important; justify-content: center !important; line-height: 1.1 !important; padding-top: 0 !important; padding-bottom: 0 !important; }
body.about-page .frame .serif-title { line-height: 1.32 !important; padding-left: 6px; }
@media (max-width: 480px) {
  body.about-page .frame .serif-title { font-size: 27px !important; -webkit-text-stroke-width: 5px !important; }
  body.about-page .frame .serif-title mark { white-space: nowrap; }
}

/* ---------- Giới thiệu → Lộ trình: tiêu đề viền trắng như "Nơi phương pháp…" ---------- */
body.about-page #roadmap .lt-title {
  -webkit-text-stroke: 7px #fff !important; paint-order: stroke fill; letter-spacing: .005em !important; line-height: 1.25 !important;
  filter: drop-shadow(1.5px 0 0 #121212) drop-shadow(-1.5px 0 0 #121212) drop-shadow(0 1.5px 0 #121212) drop-shadow(0 -1.5px 0 #121212) drop-shadow(0 4px 0 #121212) !important;
}
body.about-page #roadmap .lt-title mark { -webkit-text-stroke: 0 !important; box-shadow: none !important; }

/* ---------- Giới thiệu → 3 thẻ cấp độ: nhìn rõ là nút bấm ---------- */
#roadmap .rm-levels .level-tab {
  position: relative; cursor: pointer; padding: .7rem 2.9rem .7rem .9rem !important;
  background: color-mix(in srgb, var(--lc) 38%, #FFFDF8) !important; border: 2px solid #121212 !important;
  box-shadow: 3px 3px 0 #121212 !important; transform: none; transition: transform .15s, box-shadow .15s, background .15s;
}
#roadmap .rm-levels .level-tab::before { display: none !important; } /* bỏ dải màu cạnh trái */
/* nút tròn mũi tên ở góc phải: báo hiệu bấm được */
#roadmap .rm-levels .level-tab::after {
  content: "→" !important; display: grid !important; place-items: center; position: absolute; right: 10px; top: 50%; left: auto; bottom: auto;
  width: 26px; height: 26px; margin: -13px 0 0; border: 2px solid #121212 !important; border-radius: 50%; background: #FFFDF8;
  font: 800 14px/1 var(--ds-body); color: #121212; transform: none; clip-path: none;
}
#roadmap .rm-levels .level-tab:hover { transform: translate(-2px, -2px) !important; box-shadow: 5px 5px 0 #121212 !important; background: color-mix(in srgb, var(--lc) 55%, #FFFDF8) !important; }
#roadmap .rm-levels .level-tab:focus-visible { outline: 3px solid #EBC24F; outline-offset: 2px; }
/* thẻ đang xem: đậm màu, nổi lên, dấu ✓ */
#roadmap .rm-levels .level-tab.active {
  background: var(--lc) !important; transform: translate(-2px, -3px) !important; box-shadow: 5px 6px 0 #121212 !important;
}
#roadmap .rm-levels .level-tab.active::after { content: "✓" !important; background: #121212; color: #FFFDF8; }
@media (max-width: 480px) {
  body.about-page #roadmap .lt-title { -webkit-text-stroke-width: 5px !important; }
}

/* Giới thiệu → bong bóng lời thoại của cáo: đuôi nhọn viền mực chỉ về phía cáo (thay đuôi bị bóp méo) */
.fox-bubble { border-radius: 16px !important; animation: none !important; } /* đứng yên: đuôi luôn chỉ đúng vào cáo (chủ TT 19/10/2026) */
@media (min-width: 768px) { .fox-bubble:hover { transform: none !important; } }
.fox-bubble::after {
  left: -9px !important; bottom: 18px !important; width: 14px !important; height: 14px !important;
  background: #FFFDF8 !important; border: 0 !important; border-left: 2px solid #121212 !important; border-bottom: 2px solid #121212 !important;
  transform: rotate(45deg) !important; border-radius: 0 0 0 3px;
}
@media (max-width: 767px) {
  .fox-bubble::after { left: 50% !important; bottom: -9px !important; margin-left: -7px; transform: rotate(-45deg) !important; }
}

/* Giới thiệu → "Câu hỏi" + "Tư vấn trực tiếp!": chữ mực viền trắng + mép mực như các tiêu đề khác (chủ TT 19/10/2026) */
body.about-page .faq-title .fq-l1, body.about-page .faq-split .cloud-title {
  color: var(--ds-ink) !important; -webkit-text-stroke: 7px #fff !important; paint-order: stroke fill; letter-spacing: .01em !important;
  filter: drop-shadow(1.5px 0 0 #121212) drop-shadow(-1.5px 0 0 #121212) drop-shadow(0 1.5px 0 #121212) drop-shadow(0 -1.5px 0 #121212) drop-shadow(0 4px 0 #121212) !important;
}
body.about-page .faq-title .fq-l1 { display: inline-block; padding: 0 6px; }
@media (max-width: 480px) { body.about-page .faq-title .fq-l1, body.about-page .faq-split .cloud-title { -webkit-text-stroke-width: 5px !important; } }
/* Giới thiệu → bảng bài học: 4 khung Mục tiêu / Kiến thức / Bài nghe mẫu / Luyện tập hẹp lại 1 chút (khe rộng hơn, lùi vào 2 bên) */
@media (min-width: 1101px) { body.about-page .lb-cols { gap: 1.5rem !important; padding-inline: .5rem; } }
/* Định hướng: bỏ khối video nên rút khoảng trắng giữa đoạn mở đầu và bảng thời gian (GPT 20/10/2026) */
body.v3-orientation section.intro { padding-bottom: 8px !important; }

/* ---- con trỏ chuột kiểu pixel, dùng chung mọi trang (giống trang Giới thiệu, 21/10/2026) ---- */
body, body * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='38' viewBox='0 0 24 38'%3E%3Cg opacity='1'%3E%3Cpath d='M2 4h2v2h-2zM2 6h4v2h-4zM2 8h6v2h-6zM2 10h8v2h-8zM2 12h10v2h-10zM2 14h12v2h-12zM2 16h14v2h-14zM2 18h16v2h-16zM2 20h18v2h-18zM2 22h12v2h-12zM2 24h6v2h-6zM10 24h4v2h-4zM2 26h4v2h-4zM10 26h4v2h-4zM2 28h2v2h-2zM12 28h4v2h-4zM12 30h4v2h-4zM14 32h4v2h-4zM14 34h4v2h-4z' fill='%23FFFEFB'/%3E%3Cpath d='M0 0h2v2h-2zM0 2h4v2h-4zM0 4h2v2h-2zM4 4h2v2h-2zM0 6h2v2h-2zM6 6h2v2h-2zM0 8h2v2h-2zM8 8h2v2h-2zM0 10h2v2h-2zM10 10h2v2h-2zM0 12h2v2h-2zM12 12h2v2h-2zM0 14h2v2h-2zM14 14h2v2h-2zM0 16h2v2h-2zM16 16h2v2h-2zM0 18h2v2h-2zM18 18h2v2h-2zM0 20h2v2h-2zM20 20h2v2h-2zM0 22h2v2h-2zM14 22h10v2h-10zM0 24h2v2h-2zM8 24h2v2h-2zM14 24h2v2h-2zM0 26h2v2h-2zM6 26h4v2h-4zM14 26h2v2h-2zM0 28h2v2h-2zM4 28h2v2h-2zM10 28h2v2h-2zM16 28h2v2h-2zM0 30h4v2h-4zM10 30h2v2h-2zM16 30h2v2h-2zM0 32h2v2h-2zM12 32h2v2h-2zM18 32h2v2h-2zM12 34h2v2h-2zM18 34h2v2h-2zM14 36h4v2h-4z' fill='%23131313'/%3E%3C/g%3E%3C/svg%3E") 1 1, auto; }
body :is(p, li, h1, h2, h3, h4, h5, blockquote, q, [data-text]),
body :is(p, li, h1, h2, h3, h4, h5) *,
body :is(input[type="text"], input[type="email"], input[type="tel"], input:not([type]), textarea) { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='38' viewBox='0 0 18 38'%3E%3Cg opacity='1'%3E%3Cpath d='M0 0h18v2h-18zM0 2h2v2h-2zM8 2h2v2h-2zM16 2h2v2h-2zM0 4h8v2h-8zM10 4h8v2h-8zM6 6h2v2h-2zM10 6h2v2h-2zM6 8h2v2h-2zM10 8h2v2h-2zM6 10h2v2h-2zM10 10h2v2h-2zM6 12h2v2h-2zM10 12h2v2h-2zM6 14h2v2h-2zM10 14h2v2h-2zM6 16h2v2h-2zM10 16h2v2h-2zM6 18h2v2h-2zM10 18h2v2h-2zM6 20h2v2h-2zM10 20h2v2h-2zM6 22h2v2h-2zM10 22h2v2h-2zM6 24h2v2h-2zM10 24h2v2h-2zM6 26h2v2h-2zM10 26h2v2h-2zM6 28h2v2h-2zM10 28h2v2h-2zM6 30h2v2h-2zM10 30h2v2h-2zM0 32h8v2h-8zM10 32h8v2h-8zM0 34h2v2h-2zM8 34h2v2h-2zM16 34h2v2h-2zM0 36h18v2h-18z' fill='%23FFFEFB'/%3E%3Cpath d='M2 2h6v2h-6zM10 2h6v2h-6zM8 4h2v2h-2zM8 6h2v2h-2zM8 8h2v2h-2zM8 10h2v2h-2zM8 12h2v2h-2zM8 14h2v2h-2zM8 16h2v2h-2zM8 18h2v2h-2zM8 20h2v2h-2zM8 22h2v2h-2zM8 24h2v2h-2zM8 26h2v2h-2zM8 28h2v2h-2zM8 30h2v2h-2zM8 32h2v2h-2zM2 34h6v2h-6zM10 34h6v2h-6z' fill='%23131313'/%3E%3C/g%3E%3C/svg%3E") 9 19, text; }
body .owl-art, body .owl-art *,
body :is(a, button, select, summary, label, [role="tab"], input[type="submit"], input[type="radio"], input[type="checkbox"]),
body :is(a, button, summary, label, [role="tab"]) * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='36' viewBox='0 0 32 36'%3E%3Cg opacity='1'%3E%3Cpath d='M10 2h4v2h-4zM10 4h4v2h-4zM10 6h4v2h-4zM10 8h4v2h-4zM10 10h4v2h-4zM16 10h4v2h-4zM10 12h4v2h-4zM16 12h4v2h-4zM22 12h2v2h-2zM10 14h4v2h-4zM16 14h4v2h-4zM22 14h4v2h-4zM2 16h4v2h-4zM10 16h4v2h-4zM16 16h4v2h-4zM22 16h4v2h-4zM28 16h2v2h-2zM2 18h6v2h-6zM10 18h16v2h-16zM28 18h2v2h-2zM4 20h4v2h-4zM10 20h20v2h-20zM6 22h24v2h-24zM6 24h22v2h-22zM8 26h20v2h-20zM8 28h18v2h-18zM10 30h16v2h-16zM10 32h16v2h-16z' fill='%23FFFEFB'/%3E%3Cpath d='M10 0h4v2h-4zM8 2h2v2h-2zM14 2h2v2h-2zM8 4h2v2h-2zM14 4h2v2h-2zM8 6h2v2h-2zM14 6h2v2h-2zM8 8h2v2h-2zM14 8h6v2h-6zM8 10h2v2h-2zM14 10h2v2h-2zM20 10h4v2h-4zM8 12h2v2h-2zM14 12h2v2h-2zM20 12h2v2h-2zM24 12h4v2h-4zM2 14h4v2h-4zM8 14h2v2h-2zM14 14h2v2h-2zM20 14h2v2h-2zM26 14h4v2h-4zM0 16h2v2h-2zM6 16h4v2h-4zM14 16h2v2h-2zM20 16h2v2h-2zM26 16h2v2h-2zM30 16h2v2h-2zM0 18h2v2h-2zM8 18h2v2h-2zM26 18h2v2h-2zM30 18h2v2h-2zM2 20h2v2h-2zM8 20h2v2h-2zM30 20h2v2h-2zM4 22h2v2h-2zM30 22h2v2h-2zM4 24h2v2h-2zM28 24h2v2h-2zM6 26h2v2h-2zM28 26h2v2h-2zM6 28h2v2h-2zM26 28h2v2h-2zM8 30h2v2h-2zM26 30h2v2h-2zM8 32h2v2h-2zM26 32h2v2h-2zM8 34h20v2h-20z' fill='%23131313'/%3E%3C/g%3E%3C/svg%3E") 11 1, pointer; }
/* trên thẻ giáo viên: con trỏ thật mờ đi, nhãn tên cam thay vai trò con trỏ */
body .t-card[data-sticky-cursor], body .t-card[data-sticky-cursor] * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='38' viewBox='0 0 24 38'%3E%3Cg opacity='0.2'%3E%3Cpath d='M2 4h2v2h-2zM2 6h4v2h-4zM2 8h6v2h-6zM2 10h8v2h-8zM2 12h10v2h-10zM2 14h12v2h-12zM2 16h14v2h-14zM2 18h16v2h-16zM2 20h18v2h-18zM2 22h12v2h-12zM2 24h6v2h-6zM10 24h4v2h-4zM2 26h4v2h-4zM10 26h4v2h-4zM2 28h2v2h-2zM12 28h4v2h-4zM12 30h4v2h-4zM14 32h4v2h-4zM14 34h4v2h-4z' fill='%23FFFEFB'/%3E%3Cpath d='M0 0h2v2h-2zM0 2h4v2h-4zM0 4h2v2h-2zM4 4h2v2h-2zM0 6h2v2h-2zM6 6h2v2h-2zM0 8h2v2h-2zM8 8h2v2h-2zM0 10h2v2h-2zM10 10h2v2h-2zM0 12h2v2h-2zM12 12h2v2h-2zM0 14h2v2h-2zM14 14h2v2h-2zM0 16h2v2h-2zM16 16h2v2h-2zM0 18h2v2h-2zM18 18h2v2h-2zM0 20h2v2h-2zM20 20h2v2h-2zM0 22h2v2h-2zM14 22h10v2h-10zM0 24h2v2h-2zM8 24h2v2h-2zM14 24h2v2h-2zM0 26h2v2h-2zM6 26h4v2h-4zM14 26h2v2h-2zM0 28h2v2h-2zM4 28h2v2h-2zM10 28h2v2h-2zM16 28h2v2h-2zM0 30h4v2h-4zM10 30h2v2h-2zM16 30h2v2h-2zM0 32h2v2h-2zM12 32h2v2h-2zM18 32h2v2h-2zM12 34h2v2h-2zM18 34h2v2h-2zM14 36h4v2h-4z' fill='%23131313'/%3E%3C/g%3E%3C/svg%3E") 1 1, auto; }

/* ---- Rà soát 22/10/2026 ---- */
/* nút nổi "Đăng ký" không che link "Điều khoản" ở cuối chân trang (màn hình rộng) */
@media (min-width: 481px) { body:has(.fab) .footer-bottom { padding-right: 104px; } }
/* điện thoại: vùng chạm link chân trang cao ~36px, không đổi khoảng cách hiển thị */
@media (max-width: 767px) {
  .footer :is(.leaf-list a, .contact-list a, .footer-topics a, .footer-bottom a) { padding-block: 8px; margin-block: -8px; }
  .footer .socials { gap: 4px; }
  .footer .socials a { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }
}
/* Cộng đồng: quy tắc nút chung (display/padding !important ở mục 2) đè mất quy tắc ẩn "Huỷ" khi ô đăng bài chưa mở
   và làm "Đăng bài" bị bẻ 2 dòng trên điện thoại – trả lại đúng ý community.css */
.cm-compose:not(.open) #cmCancel { display: none !important; }
@media (max-width: 480px) {
  .cm-compose #cmPost, .cm-compose #cmCancel { padding: 0 12px !important; white-space: nowrap; }
  .cm-compose .cm-pick svg { display: none; } /* nhường chỗ cho chữ "Hỏi bài", "Chung" */
  .cm-compose .cm-pick { padding-left: 2px; }
}
/* TikTok / Instagram chưa có kênh: ẩn (thuộc tính hidden), data.js bỏ hidden khi data/site.json có link */
:is(.socials, .notice-btns) a[hidden] { display: none !important; }
/* Luyện phát âm: dòng thời gian trên khung video mẫu bị quy tắc ".tile p" tô mực trên nền đen (#111) – trả lại chữ trắng */
.v3-speaking .tile .yt p { color: #fff !important; }
/* Câu chuyện: số điểm trên huy hiệu vàng – chữ mực (chữ trắng trên vàng chỉ đạt 1.7:1) */
.fcard-caption .score { color: #121212 !important; }

/* ---------- Cụm tài khoản trên thanh đầu trang: [ảnh + tên | Sổ từ vựng | Lịch sử] chung một khung (10/2026) ---------- */
.ubar, .p-ubar { display: inline-flex; align-items: center; gap: 2px; padding: 2px 6px 2px 2px; border: 2px solid #121212; border-radius: 999px; background: var(--v3-paper, #FFFDF8); color: #121212; box-shadow: 2px 2px 0 #121212; }
.ubar .pill { height: 40px; border: 0 !important; background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; }
.ubar .pill:hover { transform: none; }
.ubar .pill-user { padding: 0 10px 0 2px; }
.ubar-sep { flex: none; width: 2px; height: 22px; margin: 0 4px; border-radius: 1px; background: rgba(18, 18, 18, .18); }
.ubar-link, .p-ulink { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border-radius: 999px; color: inherit; font-size: 13.5px; font-weight: 700; white-space: nowrap; text-decoration: none; }
.ubar .ubar-link:hover, .p-ulink:hover { background: rgba(18, 18, 18, .07) !important; }
.ubar-link:focus-visible, .p-ulink:focus-visible { outline: 3px solid var(--v3-cta, #F07A3C); outline-offset: 1px; }
body .p-ubar .p-user { height: 40px; padding: 0 10px 0 2px; border: 0 !important; background: transparent !important; box-shadow: none !important; }
.p-ulink { font-size: 12.5px; }
.p-user i img, .ubar .avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.p-online { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #5E8A3F; vertical-align: 1px; }
/* trải rộng như mẫu: khoảng cách lớn hơn, đã đăng nhập thì bỏ mũi tên (menu vẫn mở khi bấm / rê chuột) */
.ubar, .p-ubar { gap: 2px; padding: 1px 5px 1px 1px; }
.ubar-sep { margin: 0 3px; }
.ubar-link, .p-ulink { padding: 0 9px; }
.ubar .pill-user { padding-right: 8px; }
.user-menu.signed-in .um-chev { display: none; }
.user-meta small, .p-user small { letter-spacing: .08em; }
/* màn hình nhỏ: vẫn giữ nút Sổ từ vựng / Lịch sử, chỉ còn biểu tượng */
@media (max-width: 800px) {
  .ubar-link span, .p-ulink span { display: none; }
  .ubar-link, .p-ulink { width: 38px; padding: 0; justify-content: center; }
  .ubar-sep { margin: 0 2px; }
  .ubar, .p-ubar { padding: 2px 4px 2px 2px; gap: 2px; }
  .ubar .pill-user, body .p-ubar .p-user { padding: 0 2px; }
}
@media (max-width: 480px) {
  .header .logo-text { display: none; } /* chừa chỗ cho cụm tài khoản */
  .header-actions, .p-nav-actions { gap: 6px; }
  .ubar-link[href*="tab=history"], .p-ulink[href*="tab=history"] { display: none; } /* điện thoại: Lịch sử vẫn có trong Góc học tập */
}
/* chưa đăng nhập: chỉ còn nút Khách (như mẫu); đăng nhập rồi mới trải Sổ từ vựng + Lịch sử */
.ubar:not(.signed-in) :is(.ubar-sep, .ubar-link), .p-ubar:not(.signed-in) :is(.ubar-sep, .p-ulink) { display: none !important; }
.ubar:not(.signed-in), .p-ubar:not(.signed-in) { padding-right: 3px; }

/* thanh trên cùng trang con khi ở đầu trang: cùng màu khối đầu trang, không viền / bóng (theme.js gắn .nav-at-top) */
:is(.blog-nav, .p-nav) { transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease; }
:is(.blog-nav, .p-nav).nav-at-top, body.v3 :is(.blog-nav, .p-nav).nav-at-top { background: var(--nav-top-bg, transparent) !important; border-bottom-color: transparent !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }

/* 31/10: thanh trên cùng đồng bộ toàn web (trang chủ .header + mọi trang con / Góc học tập .p-nav): cao 60px;
   ở đầu trang trong suốt hoà vào nền, cuộn xuống mới hiện kính sáng (theme.js gắn .nav-at-top, script.js gắn .scrolled) */
html body .header.header.header.header { padding-top: 9px !important; padding-bottom: 9px !important; }
html body .header.header.header.header .logo-mark { width: 42px !important; height: 42px !important; }
html body .header.header.header.header :is(.pill, .ubar) { height: 40px !important; min-height: 0 !important; }
html body .p-nav.p-nav.p-nav.p-nav { padding: 9px 0 !important; transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  background: linear-gradient(90deg, rgba(236, 238, 228, .72), rgba(244, 240, 228, .7) 60%, rgba(250, 236, 218, .72)) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.4) !important; backdrop-filter: blur(22px) saturate(1.4) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .75) !important; box-shadow: 0 6px 24px rgba(20, 30, 20, .1) !important; }
html body .p-nav.p-nav.p-nav.p-nav.nav-at-top { background: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border-bottom-color: transparent !important; box-shadow: none !important; }
html body .p-nav.p-nav.p-nav.p-nav .p-logo-mark { width: 42px !important; height: 42px !important; }
html body .p-nav.p-nav.p-nav.p-nav :is(.p-pill, .p-user, .p-ubar) { height: 40px !important; min-height: 0 !important; }
html body .p-nav.p-nav.p-nav.p-nav :is(.p-pill, .p-user, .p-ubar, .pill) { background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .7)) !important; border: 1px solid rgba(255, 255, 255, .95) !important; box-shadow: 0 2px 10px rgba(20, 30, 20, .08) !important; }
html body .p-nav.p-nav.p-nav.p-nav :is(.p-pill, .p-user, .p-ubar, .pill) :is(span, b, small, a, svg) { color: #2A3226 !important; text-shadow: none !important; }
html body .p-nav.p-nav.p-nav.p-nav > .p-nav-in > .p-logo > span:not(.p-logo-mark), html body .p-nav.p-nav.p-nav.p-nav > .p-nav-in > .p-logo > span:not(.p-logo-mark) b { color: #2A3226 !important; text-shadow: none !important; }
html body .p-nav.p-nav.p-nav.p-nav.nav-at-top > .p-nav-in > .p-logo > span:not(.p-logo-mark), html body .p-nav.p-nav.p-nav.p-nav.nav-at-top > .p-nav-in > .p-logo > span:not(.p-logo-mark) b { color: #FFFDF6 !important; text-shadow: 0 2px 8px rgba(0, 0, 0, .35) !important; }
/* 31/10: nút "Về trang chủ" (.back-home – Giới thiệu, Câu chuyện học viên) chuyển sang kính sáng như nút về ở các trang khác */
html body a.back-home.back-home { background: linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .36)) !important; -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .78) !important; box-shadow: 0 4px 14px rgba(0, 0, 0, .14), inset 0 1px 0 rgba(255, 255, 255, .85) !important; color: #263427 !important; text-shadow: none !important; }
html body a.back-home.back-home :is(svg, span, i) { color: inherit !important; stroke: currentColor; }
html body a.back-home.back-home:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .5)) !important; }

/* điện thoại: ô nhập chữ >= 16px để iPhone không tự phóng to trang khi chạm vào */
@media (max-width: 640px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="color"]):not([type="button"]):not([type="submit"]), textarea, select { font-size: 16px !important; }
}

/* điện thoại: nút/chip thấp hơn 44px được nâng lên 44px (chạm dễ hơn) */
@media (max-width: 640px) {
  .blog-tabs button, .ht-chude button, a.back-home, a.rp-reg, a.soc-btn, #cmRefresh, .cm-filter-toggle, .cm-hero-x { min-height: 44px; }
  .cm-hero-x { min-width: 44px; }
  .footer div > a:not([class]), .footer li > a:not([class]) { display: inline-flex; align-items: center; min-height: 44px; }
  .header .pill-user { min-width: 44px; min-height: 44px; }
}

/* điện thoại: nút nhỏ trong Góc học tập cao 44px */
@media (max-width: 640px) {
  .ex-kbtn.sm, .ex-btn.sm, .gm-chip, .hd-tat { min-height: 44px; }
  .rg-goal-btns button { position: relative; }
  .rg-goal-btns button::after { content: ""; position: absolute; inset: -8px -6px; }
  a[data-go], .dash-main a[href*="flashcard"] { display: inline-flex; align-items: center; min-height: 44px; }
}

/* 20/11 chủ trung tâm: logo TOEX ở thanh trên bỏ khung trắng viền đen – chỉ còn hình logo trên nền trong suốt */
html body:not(#_lg1):not(#_lg2):not(#_lg3) :is(.logo-mark, .p-logo-mark, .brand-mark) { background: transparent !important; border: 0 !important; box-shadow: none !important; }
html[data-theme] body:not(#_lg1):not(#_lg2):not(#_lg3) :is(.logo-mark, .p-logo-mark, .brand-mark) { background: transparent !important; }
