/* =====================================================================
   LỚP MÀU TOÀN SITE (16/10/2026) — theo bản soát của GPT (đồng bộ 8,3/10, "màu phân bố chưa đều")
   Nguyên tắc: thêm màu bằng NỀN NHẠT cho mảng / thẻ theo 4 màu thương hiệu; chữ + viền vẫn mực;
   KHÔNG dải màu ở mép trên thẻ; chế độ tối dùng bản sẫm tương ứng.
   Nạp sau CSS riêng của trang, trước theme-dark.css.
   ===================================================================== */
:root {
  --tint-red: #F7E2DC; --tint-orange: #FAE5D2; --tint-yellow: #F8EFCB; --tint-green: #E6EBE2;
  --tint-ink: #121212;
}
/* mảng màu bao một nhóm nội dung (thẻ bên trong giữ nền giấy) */
.tint-zone { padding: 24px; border: 0; border-radius: 16px; box-shadow: none; } /* mảng nền nhạt không viền/bóng: tránh khung lồng khung */
.tint-zone.red { background: var(--tint-red); } .tint-zone.orange { background: var(--tint-orange); }
.tint-zone.yellow { background: var(--tint-yellow); } .tint-zone.green { background: var(--tint-green); }
@media (max-width: 640px) { .tint-zone { padding: 16px; border-radius: 14px; } }

/* ---------- Trang chủ: 6 thẻ kỹ năng có nền nhạt theo kỹ năng, ô icon màu đậm ---------- */
/* nền màu đậm theo mẫu chủ site chụp (19/10/2026), ô icon nền giấy cho nổi + lưới chấm 20px; chữ mô tả to, đậm, mực đặc */
.card-row .skill-card { --skg: rgba(18, 18, 18, .22); background-image: radial-gradient(circle, var(--skg) 1.6px, transparent 2.2px) !important; background-size: 20px 20px !important; background-position: -1px -1px !important; }
.card-row .skill-card:nth-child(1) { background-color: #D47470 !important; --skc: #FFFDF8; }
.card-row .skill-card:nth-child(2) { background-color: #E4905C !important; --skc: #FFFDF8; }
.card-row .skill-card:nth-child(3) { background-color: #E8C864 !important; --skc: #FFFDF8; }
.card-row .skill-card:nth-child(4) { background-color: #98A888 !important; --skc: #FFFDF8; }
.card-row .skill-card:nth-child(5) { background-color: #B7CCDA !important; --skc: #FFFDF8; }
.card-row .skill-card:nth-child(6) { background-color: #AE9BCF !important; --skc: #FFFDF8; }
.card-row .skill-card p { font-size: 14.5px !important; font-weight: 700; line-height: 1.5 !important; color: #121212 !important; opacity: 1 !important; }
@media (max-width: 600px) { .card-row .skill-card p { font-size: 14px !important; } }
.card-row .skill-card .sk-icon { background: var(--skc, #EBC24F) !important; border: 2px solid var(--tint-ink); border-radius: 8px; }
/* 4 ô số liệu: icon trong ô màu cầu vồng */
.impact-card .ip-ic { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 2px solid var(--tint-ink); border-radius: 8px; }
.impact-card .ip1 .ip-ic { background: #D56461; } .impact-card .ip2 .ip-ic { background: #E58344; }
.impact-card .ip3 .ip-ic { background: #EBC24F; } .impact-card .ip4 .ip-ic { background: #8E9F7E; }
.impact-card .ip-ic svg, .impact-card .ip-ic img { color: #121212; }

/* ---------- Giới thiệu ---------- */
/* quyền lợi: 4 thẻ nền nhạt đỏ / cam / vàng / xanh */
.a-perks .perk:nth-child(1) { background: var(--tint-red) !important; }
.a-perks .perk:nth-child(2) { background: var(--tint-orange) !important; }
.a-perks .perk:nth-child(3) { background: var(--tint-yellow) !important; }
.a-perks .perk:nth-child(4) { background: var(--tint-green) !important; }
/* hệ sinh thái: chỉ vùng minh hoạ sản phẩm có màu, khung + chữ mô tả giữ kem */
.eco .eb-cell:nth-child(1) .eb-body { background: var(--tint-green); border-radius: 12px; }
.eco .eb-cell:nth-child(2) .eb-body { background: var(--tint-orange); border-radius: 12px; }
.eco .eb-cell:nth-child(3) .eb-body { background: var(--tint-yellow); border-radius: 12px; }
.eco .eb-cell:nth-child(4) .eb-body { background: var(--tint-red); border-radius: 12px; }
/* câu hỏi thường gặp: câu đóng nền kem, câu đang mở nền vàng nhạt */
#faqList .folder > summary { background: #FCF6E8 !important; }
#faqList .folder[open] > summary { background: var(--tint-yellow) !important; }
/* nút Facebook: xanh dương chữ trắng (chủ site 19/10/2026), viền + bóng mực */
.btn-fb { background: #1565D8 !important; color: #FFFFFF !important; border: 2px solid #121212 !important; box-shadow: 2px 2px 0 #121212 !important; } /* xanh Facebook đậm, chữ trắng 5,1:1 */
.btn-fb svg { color: #FFFFFF; fill: currentColor; }

/* ---------- Định hướng ---------- */

/* ---------- Luyện nghe: thư viện bài luyện thành một mảng hồng nhạt ---------- */
.v3-listening .sp-section:has(#libList) { padding: 24px; background: var(--tint-red); border-radius: 16px; }
.v3-listening .lib-more { border-top-color: rgba(18, 18, 18, .2); }
.v3-listening .lib-more a { background: #F07A3C !important; color: #121212 !important; border: 2px solid #121212 !important; border-radius: 12px !important; box-shadow: 2px 2px 0 #121212; min-height: 44px; }
.v3-listening .lib-more a:hover { filter: brightness(1.05); }

/* ---------- Luyện đọc: bộ lọc + danh sách đề trên mảng cam nhạt (bọc trong .tint-zone) ---------- */
.v3-reading .ets-zone { display: grid; gap: 16px; margin-top: 8px; }
.v3-reading .ets-zone > * { margin-top: 0 !important; margin-bottom: 0 !important; }

/* ---------- Phát âm: thẻ đọc nhiều chữ nền nhạt; bỏ sọc chéo cho phẳng ---------- */
.v3-speaking .tile.t-tall { background: var(--tint-yellow) !important; }
.v3-speaking .tile.t-pink { background: var(--tint-orange) !important; }
.v3-speaking .tile.t-yellow, .v3-speaking .tile.t-full { background: var(--tint-yellow) !important; background-image: none !important; }
.v3-speaking .tile.t-yellow .bg, .v3-speaking .tile.t-full .bg { display: none !important; }

/* ---------- Giải đề: 2 lựa chọn phân biệt bằng nền nhạt ---------- */
.v3-writing .wr-card:nth-child(1) { background-color: var(--tint-green) !important; }
.v3-writing .wr-card:nth-child(2) { background-color: var(--tint-orange) !important; }

/* ---------- Từ vựng: 5 bước gói trong mảng cam nhạt, ô số theo 4 màu + olive ---------- */
.vsteps-zone { margin-top: 8px; margin-bottom: 24px; }
.vsteps-zone .vsteps { margin: 0 !important; }
.vsteps-zone .vsteps li { background: #FFFDF8 !important; }
.vc .tip { background: var(--tint-yellow) !important; }

/* ---------- Ngữ pháp: 2 mảng nền khác nhau, hàng bên trong giữ giấy ---------- */
main.gr > section.panel:nth-of-type(1) { background: var(--tint-green) !important; }
main.gr > section.panel:nth-of-type(2) { background: var(--tint-yellow) !important; }
main.gr .topic, main.gr .adv > a { background: #FFFDF8 !important; }

/* ---------- Video: lưới video chiếm đủ chiều rộng, đặt trên mảng xanh nhạt ---------- */
.vid-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important; gap: 24px !important; padding: 24px; background: var(--tint-green); border-radius: 16px; }

/* ---------- Cộng đồng: phân cấp bằng nền, không tô từng bài ---------- */
.cm-post.pinned { background: var(--tint-yellow) !important; }
.cm-post.pinned ~ .cm-post.pinned { background: var(--cm-card, #FCF6E8) !important; } /* chỉ bài ghim đầu tiên nền vàng */
.cm-quiz { background: var(--tint-red) !important; }
.cm-helpers { background: var(--tint-green) !important; }

/* ---------- Đăng nhập: tab đang chọn vàng ---------- */
.card .tabs [role="tab"][aria-selected="true"] { background: #EBC24F !important; color: #121212 !important; }

/* ô chứa logo TOEX: nền giấy để logo hiện đúng màu (không đặt logo lên nền màu) */
.impact-card .ip-ic:has(img) { background: #FFFDF8 !important; }

/* ---------- Trang chủ: khối "Học thật, điểm thật" nền vàng chấm mực; khung bên trong giấy ấm, nút cam (19/10/2026) ---------- */
.impact .impact-map, .impact .impact-foot { background-color: #E8C864 !important; background-image: radial-gradient(circle, rgba(18, 18, 18, .16) 1.6px, transparent 2.2px) !important; background-size: 32px 32px !important; }
.impact .ip1, .impact .ip2, .impact .ip3, .impact .ip4, .impact .ip5 p, .impact .impact-foot p { background: #FFF6EA !important; color: #121212 !important; }
.impact .impact-foot h3 { background: #FFF6EA !important; }
.impact .btn-more { background: #F07A3C !important; color: #121212 !important; }
.impact .btn-more-arrow { background: #121212 !important; color: #fff !important; }

/* ---------- Trang Định hướng (Lịch học cá nhân): MỘT màu chủ đạo xanh dương như thẻ ngoài trang chủ (19/10/2026) ----------
   xanh #86ADCB · xanh nhạt #DCE8F1 · xanh vừa #B7CEE0 · xanh đậm #2F4A5F (footer, thẻ đậm); còn lại chỉ kem + mực */
body.v3-orientation { --sk: #86ADCB; --ob: #86ADCB; --ob-t: #DCE8F1; --ob-m: #B7CEE0; --ob-d: #2F4A5F; }
body.v3-orientation section.old, body.v3-orientation .stage { background: var(--ob-t) !important; }
body.v3-orientation .stage { --st: var(--ob) !important; --s-c: #121212 !important; }
body.v3-orientation .stage li::before { background: var(--ob) !important; opacity: 1; }
body.v3-orientation :is(.sp-btn.primary, .stage a, .club .join, .club-art .card a) { background: var(--ob) !important; color: #121212 !important; }
body.v3-orientation .sp-btn.soft { background: var(--ob-t) !important; }
body.v3-orientation .cell.lvl { background: var(--ob-m) !important; }
body.v3-orientation .intro u { text-decoration-color: var(--ob) !important; }
body.v3-orientation .intro p::before { content: "✦"; color: var(--ob-d); }
body.v3-orientation .old h2 em { background: var(--ob-m) !important; }
body.v3-orientation .club-art .card { background-color: var(--ob-d) !important; background-image: radial-gradient(circle, rgba(255, 255, 255, .22) 1.6px, transparent 2.2px) !important; background-size: 20px 20px !important; }
body.v3-orientation .club-art .note { background: var(--ob-t) !important; }

/* ---------- Từ vựng + Ngữ pháp: MỘT màu tím như thẻ "Từ vựng & Ngữ pháp" ngoài trang chủ (20/10/2026, theo GPT rà soát) ---------- */
body.v3-vocabulary, body.v3-grammar { --sk: #AE9BCF; --pk: #AE9BCF; --pk-t: #ECE5F5; --pk-m: #CFC2E6; --pk-d: #6E5C92; }
:is(body.v3-vocabulary, body.v3-grammar) .sp-btn.primary { background: var(--pk) !important; color: #121212 !important; }
body.v3-vocabulary .tint-zone.vsteps-zone, body.v3-vocabulary .tip { background: var(--pk-t) !important; }
body.v3-vocabulary .vc-text u { text-decoration-color: var(--pk) !important; }
body.v3-vocabulary .rc-orange { background: var(--pk) !important; }
body.v3-vocabulary .rc-green { background-color: var(--pk-d) !important; }
body.v3-vocabulary .rc-green small { background: var(--pk-m) !important; }
body.v3-grammar main.gr > section.panel:nth-of-type(n) { background: var(--pk-t) !important; }
body.v3-grammar .topics .topic b, body.v3-grammar .adv .lv { background: var(--pk) !important; }
body.v3-grammar .adv a:nth-child(n) .ic { background: var(--pk-m) !important; }

/* ---------- Trang con: nút chính + tab đang chọn theo màu của trang (--sk), như trang Định hướng (20/10/2026) ---------- */
body:is(.v3-listening, .v3-speaking, .v3-writing) .sp-btn.primary { background: var(--sk) !important; color: #121212 !important; }
body.v3-listening .lib-tabs button.active { background: var(--sk) !important; border-color: #121212 !important; color: #121212 !important; }

/* ---------- Reading: chỉ họ cam (20/10/2026) ---------- */
body.v3-reading { --rd-m: #F2B48A; --rd-d: #C77A47; }
body.v3-reading .banner.rb-feature { background-color: var(--rd-d) !important; }
body.v3-reading :is(main mark, li > b, .band, .ribbon) { background: var(--rd-m) !important; }
body.v3-reading .real { background: var(--sk) !important; }

/* ---------- Giải đề: chỉ họ xanh Dill (20/10/2026) ---------- */
body.v3-writing .wr-card:nth-child(2) { background-color: #DCE4D2 !important; }
body.v3-writing .wr-card .geo > *:nth-child(3n+1), body.v3-writing .wr-card .geo > * > *:nth-child(3n+1) { background: #8E9F7E !important; }
body.v3-writing .wr-card .geo > *:nth-child(3n+2), body.v3-writing .wr-card .geo > * > *:nth-child(3n+2) { background: #86A3BB !important; }
body.v3-writing .wr-card .geo > *:nth-child(3n), body.v3-writing .wr-card .geo > * > *:nth-child(3n) { background: #C9D2BF !important; }
body.v3-writing .wr-card .txt button, body.v3-writing .wr-card .txt a { background: var(--sk) !important; color: #121212 !important; }

/* ---------- Phát âm: chỉ họ vàng (20/10/2026) ---------- */
body.v3-speaking .tile.t-green { background-color: #E3B941 !important; }
body.v3-speaking .tile.t-green .cards .c1 { background: #FFFDF8 !important; color: #121212 !important; }
body.v3-speaking .ipa-book .b1 { background: #9C7A1C !important; }
body.v3-speaking .dub .bars i.on { background: #C9A034 !important; }
body.v3-speaking .tile.t-pink { background: var(--tint-yellow) !important; }
body.v3-speaking .tile .card button { background: var(--sk) !important; color: #121212 !important; }
body.v3-vocabulary .rc-green h3 { color: #FFFDF8 !important; }
body.v3-speaking .tile.t-green, body.v3-speaking .tile.t-green :is(h3, p, small, span) { color: #121212 !important; -webkit-text-stroke: 0 !important; text-shadow: none !important; }

/* ---------- Tăng màu (chủ trung tâm muốn web sặc sỡ hơn; GPT gợi ý 20/10/2026) ---------- */
.media-grid .media-card.sky-card { background-color: #F9D9BF !important; }
.media-grid .media-card.night-card { background-color: #F6E7AE !important; }
.impact .impact-card .ip1 { background: #F5D3CC !important; } .impact .impact-card .ip2 { background: #F9D9BF !important; }
.impact .impact-card .ip3 { background: #FBEFC4 !important; } .impact .impact-card .ip4 { background: #DCE4CF !important; }

/* ---------- Thêm màu đợt 2 (GPT gợi ý, chủ trung tâm duyệt 20/10/2026) ---------- */
/* Trang chủ — Cộng đồng: nhãn cam, dòng phụ nền vàng */
.community-banner .cb-kicker { background: #E58344 !important; color: #121212 !important; border-color: #121212 !important; }
.community-banner .cb-sub { background: #F6E3A1 !important; color: #121212 !important; }
/* Trang chủ — form tư vấn: khung vàng nhạt viền mực thay vì ô trắng rời trên nền xanh */
.consult .consult-form { padding: 18px; background: #F8EFCB; border: 2px solid #121212; border-radius: 16px; box-shadow: 4px 4px 0 #121212; }
.consult .consult-form :is(.form-note, .form-msg) { color: #121212 !important; }

/* ---------- Xanh nền sáng hơn (#86A3BB, 21/10/2026): khung có chữ trắng dùng xanh đậm hơn, chữ xanh trên nền kem đậm hơn ---------- */
.mc-post i { color: #3B5873 !important; }

/* ---------- Màu chủ đạo Glacier Lake #86A3BB (PANTONE 16-4118, 21/10/2026): chữ trên nền xanh hồ dùng màu mực ---------- */
.p-logo .hide-sm b, .blog-page header span em, header .logo-text em { color: #3E5B76 !important; }
.blog-subscribe, .blog-subscribe p, .blog-subscribe h2 { color: #121212 !important; }
.blog-subscribe > svg { color: rgba(18, 18, 18, .45) !important; }

/* ---------- GPT góp ý màu Glacier Lake (21/10/2026) ---------- */
/* thẻ "Lịch học cá nhân": xanh sáng để tách khỏi nền xanh hồ; icon xanh hồ đậm */
.card-row .skill-card:nth-child(5) :is(svg, .sk-ico, .skill-ico) { color: #2F4A62 !important; }
/* Cộng đồng: thêm mảng cam lớn để bớt đơn sắc xanh */
.community-banner { position: relative; overflow: hidden; }
.community-banner::before { content: ""; position: absolute; left: -90px; bottom: -120px; width: 300px; height: 300px; border-radius: 50%; background: #E58344; border: 3px solid #121212; z-index: 0; pointer-events: none; }
.community-banner::after { content: ""; position: absolute; left: -40px; bottom: -70px; width: 200px; height: 200px; border-radius: 50%; background: #EBC24F; border: 3px solid #121212; z-index: 0; pointer-events: none; }
.community-banner > * { position: relative; z-index: 1; }
/* chân trang: chữ phụ sáng hơn, tiêu đề và link chính màu kem */
.footer { color: #F7F0DF !important; }
.footer p, .footer-topics h5, .footer-topics a, .socials a, .footer-logo span:first-of-type { color: #C8D4DD !important; }
.newsletter input::placeholder { color: #C8D4DD !important; }

/* ---------- Khu ClassIn, Kiến thức và Học thật: phương án 2 của GPT, theo tông Glacier Lake (21/10/2026) ---------- */
/* nền các sắc xanh hồ + chấm bi trắng như khối Cộng đồng; nhấn cam (nút) và vàng (nhãn, ô icon) */
.media-grid .media-card.sky-card, .media-grid .media-card.night-card, .impact .impact-card {
  background-image: radial-gradient(circle, rgba(255, 255, 255, .33) 1.6px, transparent 2.2px) !important; background-size: 32px 32px !important;
}
.media-grid .media-card.sky-card { background-color: #A7BDD0 !important; }
.media-grid .media-card.night-card { background-color: #98B3CA !important; }
.mc-post:nth-child(2)::before { background-color: #EBC24F; }
.impact .impact-card { background-color: #86A3BB !important; }
.impact .impact-foot h3 { background: #EBC24F !important; color: #121212 !important; }
/* 4 thẻ số liệu: nền sáng xen kẽ xanh băng / kem, mảng tròn mờ ở góc */
.impact .impact-card .ip1 { background: #EBF2F8 !important; } .impact .impact-card .ip2 { background: #FFF6E3 !important; }
.impact .impact-card .ip3 { background: #FFF7E5 !important; } .impact .impact-card .ip4 { background: #E7F0F7 !important; }
.impact .impact-card :is(.ip1, .ip4) { background-image: radial-gradient(circle at 100% 100%, rgba(134, 163, 187, .2) 0 34%, transparent 34.5%) !important; }
.impact .impact-card :is(.ip2, .ip3) { background-image: radial-gradient(circle at 100% 100%, rgba(235, 194, 79, .2) 0 34%, transparent 34.5%) !important; }
.impact-card .ip3 .ip-ic, .impact-card .ip4 .ip-ic { background: #EBC24F; }

/* ---------- Trang bìa trang chủ toàn màn hình v2 (mockup GPT duyệt 21/10/2026) ----------
   nhãn TOEX ENGLISH trên tiêu đề · chữ và cáo co giãn theo màn hình · cảnh bàn học sau cáo · dải 4 ý ở chân */
.hero-eyebrow {
  justify-self: start; display: inline-block; width: max-content; margin: 0 0 12px; padding: 6px 14px;
  background: #121212; color: #F7F0DF; border-radius: 999px; font: 800 13px/1 var(--font-body, inherit); letter-spacing: .06em;
}
.owl-art .owl-scene { position: absolute; left: 47%; bottom: -6%; width: 136%; max-width: none; height: auto; transform: translateX(-50%); z-index: 0; pointer-events: none; }
.owl-art .owl-float { z-index: 1; }
.hero-strip {
  grid-column: 1 / -1; position: relative; z-index: 2; list-style: none; margin: 0; padding: 12px 20px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #F7F0DF; border: 3px solid #121212; border-radius: 18px; box-shadow: 5px 5px 0 #121212;
}
.hero-strip li { display: flex; align-items: center; gap: 14px; padding: 6px 18px; color: #121212; font-weight: 700; font-size: clamp(14px, 1.05vw, 20px); line-height: 1.3; }
.hero-strip li + li { border-left: 2px solid rgba(18, 18, 18, .55); }
.hero-strip .hs-ic { flex: 0 0 auto; display: grid; place-items: center; width: clamp(40px, 3vw, 58px); aspect-ratio: 1; border-radius: 50%; background: #EBC24F; border: 2.5px solid #121212; color: #121212; }
.hero-strip .hs-ic svg { width: 54%; height: 54%; }
@media (min-width: 1101px) {
  main > section.hero {
    min-height: 100vh; min-height: 100svh; box-sizing: border-box; align-content: center;
    grid-template-columns: minmax(0, 52fr) minmax(0, 48fr); row-gap: clamp(18px, 3.5vh, 44px);
    padding: 100px clamp(32px, 3.6vw, 76px) 28px;
  }
  main > section.hero .hero-kicker { font-size: clamp(56px, min(5.6vw, 11vh), 118px); }
  main > section.hero .hero-title .typed { font-size: clamp(42px, min(4.1vw, 8vh), 86px); }
  main > section.hero .hero-desc { font-size: clamp(17px, min(1.22vw, 2.4vh), 25px); max-width: 44vw; padding: .75em 1.1em; }
  main > section.hero .btn-hero { font-size: clamp(17px, min(1.35vw, 2.6vh), 26px) !important; min-height: clamp(56px, min(4.2vw, 8vh), 80px) !important; padding: 0 1.4em !important; }
  main > section.hero .owl { max-width: none; width: min(76%, max(400px, calc(100svh - 370px))); justify-self: center; }
}
@media (max-width: 1100px) {
  .owl-art .owl-scene { left: 50%; width: 112%; bottom: -4%; }
  .hero-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 6px; margin-top: 28px; }
  .hero-strip li:nth-child(3) { border-left: 0; }
}
@media (max-width: 560px) {
  .hero-strip { grid-template-columns: 1fr; padding: 8px 12px; }
  .hero-strip li { padding: 8px 6px; font-size: 15px; }
  .hero-strip li + li { border-left: 0; border-top: 1.5px solid rgba(18, 18, 18, .2); }
}

/* ---------- Cộng đồng: thu nhỏ hình 4 linh vật (21/10/2026, chủ trung tâm yêu cầu) ---------- */
.community-banner .cb-crew:has(.cb-road) { justify-content: center; }
.community-banner .cb-road { width: 76%; max-height: 74%; justify-self: center; }
@media (max-width: 800px) { .community-banner .cb-road { width: 84%; margin: 0 auto; } }

/* (21/10/2026) cáo form tư vấn: thu nhỏ theo góp ý GPT, xem khối "Bớt ồn" cuối file */

/* ---------- Trang chủ: nền kem có chấm bi giống nền bài học trang Giới thiệu (21/10/2026) ---------- */
body:has(> main > section.hero) {
  background-color: #F7F0DF;
  background-image: radial-gradient(circle, rgba(18, 18, 18, .08) 1.6px, transparent 2.2px);
  background-size: 20px 20px;
}


/* =====================================================================
   BỚT ỒN TRANG CHỦ (21/10/2026) — góp ý người xem + GPT đánh giá, chủ trung tâm duyệt làm cả 6 việc
   Bảng màu 60-30-10: kem #F7F0DF 60% · Glacier Lake #86A3BB 25–30% (trang bìa, Cộng đồng, form) · cam #F07A3C 10% · vàng ≤5%
   Đỏ / Dill / tím / xanh chỉ còn là màu nhận diện kỹ năng ở diện tích nhỏ (ô icon)
   ===================================================================== */
/* 1. 6 thẻ kỹ năng: nền kem, bỏ con vật mặc định; di chuột / bấm Tab vào thẻ thì con vật nhỏ ló lên ở góc dưới */
.card-row .skill-card:nth-child(n) { background-color: #FFFDF8 !important; background-image: none !important; }
.card-row .skill-card { position: relative; min-height: 0 !important; padding-bottom: 58px !important; }
.card-row .skill-card:nth-child(1) { --skc: #D47470; } .card-row .skill-card:nth-child(2) { --skc: #E4905C; }
.card-row .skill-card:nth-child(3) { --skc: #E8C864; } .card-row .skill-card:nth-child(4) { --skc: #98A888; }
.card-row .skill-card:nth-child(5) { --skc: #B7CCDA; } .card-row .skill-card:nth-child(6) { --skc: #AE9BCF; }
.card-row .skill-card .sk-art {
  position: absolute; right: 8px; bottom: 0; margin: 0; width: 92px; height: 58px; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; transform: translateY(14px); transition: opacity .2s ease, transform .2s ease; pointer-events: none;
}
.card-row .skill-card .sk-art img { width: 92px !important; max-width: none; margin: 0 !important; transform: none !important; }
.card-row .skill-card:is(:hover, :focus-visible) .sk-art { opacity: 1; transform: none; }
@media (hover: none) { .card-row .skill-card .sk-art { display: none; } .card-row .skill-card { padding-bottom: 18px !important; } }

/* 2. Trang bìa: cáo nhỏ lại ~18%, tiêu đề và nút là thứ nhìn thấy trước */
@media (min-width: 1101px) {
  main > section.hero .owl { width: min(62%, max(330px, calc((100svh - 370px) * .82))) !important; }
}
@media (max-width: 1100px) { main > section.hero .owl { width: min(345px, 70vw) !important; } }
/* form tư vấn: cáo nhỏ dẫn mắt vào form */
.consult-card .consult-art img { width: 170px !important; max-width: 100% !important; }
@media (max-width: 900px) { .consult-card .consult-art img { width: 140px !important; } }

/* 3 + 4. Hai thẻ ClassIn / Kiến thức và khối Học thật, Điểm thật: nền kem trơn = vùng nghỉ mắt (không chấm bi, không con vật) */
.media-grid .media-card.sky-card, .media-grid .media-card.night-card { background-color: #FFFDF8 !important; background-image: none !important; }
.impact .impact-card { background-color: #FFFDF8 !important; background-image: none !important; }
.impact .impact-card .ip1, .impact .impact-card .ip2, .impact .impact-card .ip3, .impact .impact-card .ip4 { background: #F7F0DF !important; background-image: none !important; }
.impact .impact-foot h2 { color: #121212 !important; -webkit-text-stroke: 0 !important; text-shadow: 3px 3px 0 #EBC24F !important; }
.impact .impact-foot p { background: #F7F0DF !important; } /* nền thẻ tối là cát sẫm → chữ mực (kem chỉ đạt 1.9:1) */

/* 5. Cộng đồng: nhóm nhân vật không quá ~40% chiều rộng khối */
@media (min-width: 801px) { .community-banner .cb-road { width: 58% !important; max-height: 66% !important; } }
@media (max-width: 800px) { .community-banner .cb-road { width: 70% !important; } }
/* cột cáo hẹp lại theo cáo nhỏ, form rộng ra */
@media (min-width: 901px) { .consult .consult-card { grid-template-columns: 220px minmax(0, 1fr) !important; gap: 32px !important; } }
/* GPT xem lại sau khi sửa (21/10/2026, ồn 8 → 4,5/10): 3 chỉnh nhỏ */
.card-row .skill-card { padding-bottom: 34px !important; }   /* bớt khoảng trống đáy thẻ */
.impact .impact-card .ip1 { background: #EEF2F6 !important; } .impact .impact-card .ip2 { background: #FBEDE0 !important; }
.impact .impact-card .ip3 { background: #FAF1D6 !important; } .impact .impact-card .ip4 { background: #EDF0E8 !important; }
.community-banner::before { width: 260px !important; height: 260px !important; left: -84px !important; bottom: -110px !important; }
.community-banner::after { width: 172px !important; height: 172px !important; left: -38px !important; bottom: -66px !important; }
/* form tư vấn: dòng "Thông tin của bạn được bảo mật" nằm giữa khoảng dưới nút Gửi (ô báo kết quả rỗng thì không chiếm chỗ) */
.consult-form .form-msg:empty { display: none !important; }
.consult-form .form-note { justify-content: center; text-align: center; margin: 4px 0 0 !important; }
