:root {
  --ink:#141414; --muted:#77737a; --line:#ebe5dd;
  --lime:#C6F264; --moss:#3F5A12; --mist:#EEF2E4; --hov:#e0e6d2;
  --page:#efe9e1; --panel:#faf7f3; --side:#f1ebe3; --card:#fff;
  --coral:#f0426a; --coral2:#ff8a7a;
  /* màu thẻ theo chủ đề */
  --pink:#f6c8c8; --peach:#fbdcb6; --lilac:#d6d2fb; --mint:#c2ead8; --sky:#cfe2f6; --sand:#efe3cf;
}
/* ---------- bảng màu (thêm ?theme=ten vào địa chỉ để xem thử) ---------- */
:root[data-theme="trang"] { --page:#ececef; --panel:#ffffff; --side:#f3f3f6; --line:#e7e7ec;
  --pink:#fde1e3; --peach:#fdebd2; --lilac:#e9e5fc; --mint:#dcf2e8; --sky:#e0ebfb; --sand:#f1ece4; }
:root[data-theme="bac-ha"] { --page:#c4eadb; --panel:#fffdf8; --side:#f2eee6; --line:#e9e3d8;
  --pink:#ffc8bd; --peach:#ffe19f; --lilac:#cdc6ff; --mint:#b2ead0; --sky:#bae2f5; --sand:#efe3cf; }
:root[data-theme="xanh-duong"] { --page:#e4eaf6; --panel:#fbfcff; --side:#edf1f9; --line:#dfe5f1;
  --pink:#ffd8d0; --peach:#ffe8bf; --lilac:#d9d5fb; --mint:#caede1; --sky:#cfe0fd; --sand:#ece6dc; }
:root[data-theme="hoang-hon"] { --page:#f0e1d1; --panel:#fffaf3; --side:#f5e9da; --line:#e9d9c5;
  --pink:#f4b3a2; --peach:#f8cd83; --lilac:#d6bfee; --mint:#b5d9bf; --sky:#b3cfe8; --sand:#ead9c0; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--page); color:var(--ink); font:15px/1.6 "Be Vietnam Pro", system-ui, sans-serif; }
a { color:inherit; text-decoration:none; }
button { font-family:inherit; }
svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.muted { color:var(--muted); }
.dot { width:9px; height:9px; border-radius:50%; background:linear-gradient(135deg,var(--coral2),var(--coral)); display:inline-block; flex:none; }

/* ---------- khung 3 cột ---------- */
.shell { display:grid; grid-template-columns:76px minmax(0,1fr) 340px; gap:18px; max-width:1480px; margin:0 auto; padding:18px; min-height:100vh; }
.rail, .trend { position:sticky; top:18px; height:calc(100vh - 36px); }
.main { background:var(--panel); border-radius:28px; padding:44px 44px 56px; min-width:0; }

/* cột trái */
.rail { background:var(--side); border-radius:28px; display:flex; flex-direction:column; align-items:center; padding:18px 0; }
.rail-logo img { width:44px; height:44px; display:block; }
.rail-logo .word { display:none; }
/* logo chữ BS. CEO HỌC AI ở đầu cột giữa */
.brand-bar { display:inline-block; margin:0 0 34px; }
.brand-bar img { height:34px; width:auto; display:block; }
.rail-nav { display:flex; flex-direction:column; gap:14px; margin:auto 0; }
.rail-nav a, .rail-help { width:48px; height:48px; border-radius:50%; display:grid; place-items:center; background:#fff; color:var(--ink); position:relative; transition:.15s; }
.rail-nav a:hover, .rail-help:hover { transform:scale(1.06); }
.rail-nav a.on, .rail-help.on { background:var(--ink); color:#fff; }
.has-dot::after { content:""; position:absolute; top:9px; right:10px; width:8px; height:8px; border-radius:50%; background:var(--coral); box-shadow:0 0 0 2px #fff; }

/* ---------- trang chủ ---------- */
.hero h1 { font-weight:400; font-size:clamp(38px,4.6vw,60px); line-height:1.08; letter-spacing:-.035em; margin:0 0 28px; }
.hero h1 .dot { width:.17em; height:.17em; margin-left:.03em; }
.hero p { color:var(--muted); margin:0 0 26px; max-width:520px; font-size:16px; }
.hero h1.rot-h { transition:opacity .45s ease, transform .45s ease; }
.hero h1.rot-h.fade { opacity:0; transform:translateY(-8px); }
@media (prefers-reduced-motion: reduce) { .hero h1.rot-h { transition:none; } }
.tools { display:flex; gap:12px; align-items:center; flex-wrap:wrap; margin-bottom:30px; }
.search { position:relative; flex:1 1 260px; max-width:360px; }
.search input { width:100%; height:48px; border-radius:999px; border:0; background:#fff; padding:0 18px 0 46px; font:15px "Be Vietnam Pro", sans-serif; outline:none; box-shadow:inset 0 0 0 1.5px var(--line); }
.search input:focus { box-shadow:inset 0 0 0 1.5px var(--ink); }
.search svg { position:absolute; left:16px; top:50%; transform:translateY(-50%); width:18px; height:18px; color:var(--muted); }
.pills { display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; padding-bottom:2px; }
.pills::-webkit-scrollbar { display:none; }
.pill { display:inline-flex; align-items:center; gap:10px; border:0; cursor:pointer; background:var(--side); border-radius:999px; padding:5px 16px 5px 5px; font-size:13.5px; font-weight:500; color:var(--ink); white-space:nowrap; }
.pill .ic { width:38px; height:38px; border-radius:50%; background:#fff; color:var(--ink); display:grid; place-items:center; }
.pill .ic svg { width:18px; height:18px; }
.pill.on { background:var(--ink); color:#fff; }
.sec-title { font-size:14px; color:var(--muted); margin:0 0 12px; display:flex; justify-content:space-between; }
.grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.card { border-radius:22px; padding:18px 20px 18px; min-height:190px; display:flex; flex-direction:column; transition:transform .15s; }
.card:hover { transform:translateY(-3px); }
.card-top { display:flex; justify-content:space-between; align-items:center; font-size:13px; }
.card-top .t { display:flex; align-items:center; gap:10px; }
.card-top .ic { width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.75); display:grid; place-items:center; }
.card-top .ic svg { width:17px; height:17px; }
.badge { background:#fff; border-radius:999px; padding:3px 10px; font-size:12px; font-weight:600; }
.card h3 { font-weight:500; font-size:21px; line-height:1.3; letter-spacing:-.01em; margin:22px 0 10px; }
.card-foot { margin-top:auto; display:flex; justify-content:space-between; align-items:center; font-size:12.5px; color:rgba(20,20,20,.65); }
.card-foot .go { width:34px; height:34px; border-radius:50%; background:var(--ink); color:#fff; display:grid; place-items:center; }
.card-foot .go svg { width:16px; height:16px; }
.empty { color:var(--muted); padding:30px 0; }
.howto { margin-top:36px; display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.howto div { background:#fff; border-radius:18px; padding:16px; font-size:13.5px; color:var(--muted); }
.howto b { display:block; color:var(--ink); font-size:14.5px; margin-bottom:2px; }
.howto i { font-style:normal; color:var(--coral); font-weight:700; margin-right:6px; }

/* ---------- cột phải: tin hot ---------- */
.trend { background:var(--side); border-radius:28px; padding:22px 18px; overflow-y:auto; scrollbar-width:thin; }
.trend-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; padding:0 4px; }
.trend-head h2 { margin:0; font-size:20px; font-weight:600; letter-spacing:-.01em; }
.live { display:inline-flex; align-items:center; gap:7px; font-size:12px; color:var(--muted); background:#fff; border-radius:999px; padding:5px 11px; }
.live i { width:7px; height:7px; border-radius:50%; background:var(--coral); animation:pulse 1.6s infinite; }
@keyframes pulse { 0%{ box-shadow:0 0 0 0 rgba(240,66,106,.5);} 70%{ box-shadow:0 0 0 7px rgba(240,66,106,0);} 100%{ box-shadow:0 0 0 0 rgba(240,66,106,0);} }
.feature { display:block; background:var(--ink); color:#fff; border-radius:22px; padding:18px; margin-bottom:14px; }
.feature .k { display:flex; justify-content:space-between; font-size:12px; color:#b9b5bd; }
.feature .k b { color:#fff; background:linear-gradient(135deg,var(--coral2),var(--coral)); border-radius:999px; padding:2px 10px; font-weight:600; }
.feature h3 { margin:14px 0 4px; font-size:17px; font-weight:500; line-height:1.4; }
.feature .src { font-size:12px; color:#9e9aa3; }
.news { background:#fff; border-radius:22px; padding:6px 16px; margin-bottom:14px; }
.news a, .news div.item { display:flex; gap:12px; padding:12px 0; align-items:flex-start; }
.news .item + .item { border-top:1px solid var(--line); }
.news .n { font-weight:700; color:var(--coral); font-size:13px; width:18px; flex:none; padding-top:1px; }
.news .tt { font-size:13.5px; line-height:1.45; }
.news .mt { font-size:11.5px; color:var(--muted); margin-top:3px; }
.news .tg { display:inline-block; border-radius:999px; padding:1px 8px; margin-right:6px; font-weight:600; color:var(--ink); }
.box { background:#fff; border-radius:22px; padding:16px; }
.box h4 { margin:0 0 10px; font-size:13.5px; font-weight:600; }
.tags { display:flex; flex-wrap:wrap; gap:6px; }
.tags span { background:var(--side); border-radius:999px; padding:4px 10px; font-size:12.5px; cursor:pointer; }
.tags span:hover { background:var(--ink); color:#fff; }
.note { font-size:11.5px; color:var(--muted); text-align:center; margin:12px 0 0; }
.note a { text-decoration:underline; }
.oneone { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:14px; padding:12px 16px; border-radius:18px; border:1.5px dashed #d9d1c6; font-size:13px; color:var(--muted); }
.oneone b { color:var(--ink); font-weight:600; white-space:nowrap; }
.oneone:hover { border-color:var(--ink); }

/* thẻ nâng cấp ở trang chủ */
.promo { display:flex; align-items:center; gap:16px; background:var(--ink); color:#fff; border-radius:24px; padding:18px 20px; margin:0 0 28px; transition:transform .15s; }
.promo:hover { transform:translateY(-2px); }
.promo .bolt { width:52px; height:52px; border-radius:16px; background:linear-gradient(135deg,var(--coral2),var(--coral)); display:grid; place-items:center; flex:none; }
.promo .bolt svg { width:24px; height:24px; stroke:#fff; }
.promo h3 { margin:0; font-size:18px; font-weight:600; }
.promo p { margin:2px 0 0; color:#bdb8c0; font-size:14px; }
.promo .go { margin-left:auto; width:40px; height:40px; border-radius:50%; background:#fff; color:var(--ink); display:grid; place-items:center; flex:none; }
.promo .go svg { width:18px; height:18px; }
.sec { margin-bottom:34px; }
.sec-title b { color:var(--ink); font-weight:600; font-size:16px; }
.sec-title a { color:var(--muted); text-decoration:underline; cursor:pointer; }
.card { cursor:pointer; min-width:0; }
.card-foot { gap:10px; }
.card-foot .who { flex:1; min-width:0; }
.act { max-width:60%; overflow:hidden; text-overflow:ellipsis; }
.card .desc { margin:0 0 14px; font-size:13.5px; color:rgba(20,20,20,.68); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.card h3 { margin:18px 0 6px; }
.act { border:0; cursor:pointer; background:var(--ink); color:#fff; border-radius:999px; padding:8px 14px; font:600 12.5px/1 "Be Vietnam Pro", sans-serif; white-space:nowrap; display:inline-flex; align-items:center; gap:6px; }
.card-foot .who { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding-right:10px; }
.pill .cnt { opacity:.55; font-weight:400; margin-left:-4px; }

/* bộ nâng cấp */
.kit-head { background:var(--ink); color:#fff; border-radius:24px; padding:26px 28px; margin-bottom:22px; }
.kit-head h1 { font-weight:500; font-size:clamp(28px,3.4vw,40px); letter-spacing:-.03em; margin:12px 0 6px; line-height:1.15; }
.kit-head p { margin:0; color:#c9c4cc; max-width:560px; }
.kit-head .bolt { width:44px; height:44px; border-radius:14px; background:linear-gradient(135deg,var(--coral2),var(--coral)); display:grid; place-items:center; }
.kit-head .bolt svg { stroke:#fff; }
.os { display:inline-flex; background:var(--side); border-radius:999px; padding:4px; margin-bottom:18px; }
.os button { border:0; background:transparent; border-radius:999px; padding:8px 18px; font:600 14px "Be Vietnam Pro", sans-serif; cursor:pointer; color:var(--muted); }
.os button.on { background:#fff; color:var(--ink); box-shadow:0 1px 4px rgba(0,0,0,.08); }
.kit { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.9fr); gap:18px; align-items:start; }
.group { background:#fff; border-radius:20px; padding:8px 16px; margin-bottom:14px; }
.group h3 { font-size:13px; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); margin:10px 0 2px; }
.row { display:flex; gap:12px; align-items:flex-start; padding:11px 0; border-top:1px solid var(--line); cursor:pointer; }
.group h3 + .row { border-top:0; }
.row input { width:18px; height:18px; margin-top:2px; accent-color:var(--ink); flex:none; cursor:pointer; }
.row .nm { font-weight:600; font-size:14.5px; }
.row .ds { font-size:13px; color:var(--muted); }
.row .lk { margin-left:auto; font-size:12px; color:var(--muted); text-decoration:underline; white-space:nowrap; }
.row .orig { display:inline-block; white-space:nowrap; font-size:11px; background:var(--side); color:var(--muted); border-radius:999px; padding:1px 8px; margin-left:6px; font-weight:600; }
.row .manual { font-size:11px; background:var(--peach); border-radius:999px; padding:1px 8px; margin-left:6px; font-weight:600; }
.script { position:sticky; top:18px; }
.script .prompt { margin:0; }
.script pre { max-height:360px; overflow:auto; overflow-wrap:anywhere; }
.script .hint { font-size:13px; color:var(--muted); margin:10px 2px 0; }
.manual-list { background:#fff; border-radius:18px; padding:14px 16px; margin-top:12px; font-size:13.5px; }
.manual-list b { display:block; margin-bottom:6px; }
.manual-list a { display:block; color:var(--coral); text-decoration:underline; padding:2px 0; }
.soft-link { display:block; margin-top:28px; text-align:center; font-size:13.5px; color:var(--muted); }
.soft-link b { color:var(--ink); text-decoration:underline; font-weight:600; }

/* hỗ trợ 1:1 */
.support-head { background:var(--side); border-radius:24px; padding:26px 28px; margin-bottom:10px; }
.support-head span { font-size:13px; color:var(--muted); font-weight:600; }
.support .md h1 { display:none; }
.support .md h2#lien-he + p { display:flex; flex-wrap:wrap; gap:8px; font-size:0; }
.support .md h2#lien-he + p a { font-size:14px; background:var(--ink); color:#fff; text-decoration:none; border-radius:999px; padding:10px 18px; font-weight:600; }

/* ---------- màu theo loại nội dung ---------- */
.t-all { --t:var(--side); --c:var(--ink); }
.t-prompt { --t:var(--sky); --c:var(--ink); }
.t-skill { --t:var(--lilac); --c:var(--ink); }
.t-repo { --t:var(--mint); --c:var(--ink); }
.t-guide { --t:var(--peach); --c:var(--ink); }
.t-other { --t:var(--sand); --c:var(--ink); }
.card, .doc-head { background:var(--t); }
.act { background:var(--c); }
.act:hover { filter:brightness(.88); }

/* ---------- trang đọc ---------- */
.back { display:inline-flex; align-items:center; gap:6px; color:var(--muted); font-size:14px; margin-bottom:22px; }
.back:hover { color:var(--ink); }
.doc-head { border-radius:24px; padding:26px 28px; margin-bottom:26px; }
.doc-head .card-top { margin-bottom:6px; }
.doc-head h1 { font-weight:500; font-size:clamp(28px,3.4vw,40px); line-height:1.15; letter-spacing:-.03em; margin:14px 0 18px; }
.ai-bar { display:flex; flex-wrap:wrap; gap:8px; }
.btn { display:inline-flex; align-items:center; gap:8px; border:0; cursor:pointer; background:var(--ink); color:#fff; border-radius:999px; padding:10px 18px; font:600 14px/1 "Be Vietnam Pro", sans-serif; white-space:nowrap; }
.btn.ghost { background:rgba(255,255,255,.8); color:var(--ink); }
.btn.sm { padding:7px 12px; font-size:13px; }
.ai-note { font-size:12.5px; color:rgba(20,20,20,.6); margin:12px 0 0; }
.toc-chips { display:flex; flex-wrap:wrap; gap:6px; margin:0 0 8px; }
.toc-chips a { background:#fff; border-radius:999px; padding:5px 12px; font-size:13px; color:var(--muted); }
.toc-chips a:hover { color:var(--ink); }

/* markdown */
.md { max-width:720px; }
.md h2 { font-size:23px; font-weight:600; line-height:1.3; margin:36px 0 10px; letter-spacing:-.01em; scroll-margin-top:24px; }
.md h3 { font-size:18px; margin:26px 0 8px; }
.md p, .md li { color:#2e2b30; font-size:15.5px; }
.md ul, .md ol { padding-left:22px; }
.md li { margin:4px 0; }
.md a:not(.btn) { color:var(--coral); text-decoration:underline; }
.md code { background:var(--side); border-radius:6px; padding:2px 6px; font:14px ui-monospace, SFMono-Regular, Menlo, monospace; }
.md blockquote { margin:20px 0; padding:14px 18px; border-radius:16px; background:#fff; border-left:3px solid var(--coral); }
.md blockquote p { margin:0; }
.md table { width:100%; border-collapse:collapse; margin:18px 0; font-size:14.5px; display:block; overflow-x:auto; background:#fff; border-radius:16px; }
.md th, .md td { text-align:left; padding:10px 14px; border-bottom:1px solid var(--line); vertical-align:top; }
.md th { font-weight:600; }
.md tr:last-child td { border-bottom:0; }
.md hr { border:0; border-top:1px solid var(--line); margin:32px 0; }
.prompt { margin:18px 0; border-radius:18px; background:var(--ink); overflow:hidden; }
.prompt-bar { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 12px 10px 16px; border-bottom:1px solid #2a2a2f; }
.prompt-bar span { color:#9a9aa6; font-size:12px; font-weight:600; letter-spacing:.05em; text-transform:uppercase; display:flex; align-items:center; gap:8px; }
.prompt-bar div { display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end; }
.prompt-bar .btn { background:#2a2a30; }
.prompt-bar .btn:hover { background:#3a3a42; }
.prompt pre { margin:0; padding:16px 18px; color:#ececf1; white-space:pre-wrap; font:14px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }

.toast { position:fixed; left:50%; bottom:28px; transform:translate(-50%,20px); background:var(--ink); color:#fff; padding:10px 18px; border-radius:999px; font-size:14px; opacity:0; transition:.2s; pointer-events:none; z-index:50; }
.toast.show { opacity:1; transform:translate(-50%,0); }

/* ---------- màn hình nhỏ ---------- */
@media (max-width: 1180px) {
  .shell { grid-template-columns:76px minmax(0,1fr); }
  .trend { grid-column:2; position:static; height:auto; }
}
@media (max-width: 1000px) { .kit { grid-template-columns:1fr; } .script { position:static; } }
@media (max-width: 760px) {
  .shell { grid-template-columns:1fr; padding:10px; gap:10px; align-content:start; }
  .rail { position:sticky; top:10px; z-index:20; height:auto; flex-direction:row; padding:8px 10px; border-radius:22px; }
  .rail-nav { flex-direction:row; margin:0 0 0 auto; gap:8px; }
  .rail-nav a, .rail-help { width:42px; height:42px; }
  .rail-help { margin-left:8px; }
  .rail-logo .mark { display:none; }
  .rail-logo .word { display:block; width:auto; height:24px; margin-left:4px; }
  .brand-bar { display:none; }
  .trend { grid-column:1; }
  .main { padding:28px 20px 36px; border-radius:24px; }
  .grid, .howto { grid-template-columns:1fr; }
  .card { min-height:160px; }
  .search { max-width:none; }
  .doc-head { padding:20px; }
  .prompt-bar { flex-direction:column; align-items:start; }
  .prompt-bar div { justify-content:flex-start; }
}

/* ---------- bảng màu lấy cảm hứng từ Gemini: nền sáng xanh xám, chữ chuyển màu xanh → tím → hồng, nút dạng tông màu ---------- */
:root[data-theme="gemini"] {
  --ink:#1f1f1f; --muted:#5f6368; --page:#f0f4f9; --panel:#ffffff; --side:#f0f4f9; --line:#e3e8ef;
  --pink:#fce4ec; --peach:#fef3d6; --lilac:#ece4fb; --mint:#dcf3e4; --sky:#dfe9fd; --sand:#f1ede6;
  --grad:linear-gradient(90deg,#4b7bf5 0%,#9b6bd6 48%,#e2667d 100%);
  --soft-grad:linear-gradient(115deg,#e8f0fe 0%,#f1e9fd 55%,#fde8ed 100%);
  --blue:#0b57d0; --tonal:#d3e3fd; --on-tonal:#041e49;
}
[data-theme="gemini"] .main { border-radius:32px; }
[data-theme="gemini"] .hero h1 { color:#a9afb8; }
[data-theme="gemini"] .hero h1 .grad { background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
[data-theme="gemini"] .rail-nav a, [data-theme="gemini"] .rail-help { background:transparent; }
[data-theme="gemini"] .rail-nav a:hover, [data-theme="gemini"] .rail-help:hover { background:#e3e8ef; transform:none; }
[data-theme="gemini"] .rail-nav a.on, [data-theme="gemini"] .rail-help.on { background:var(--tonal); color:var(--on-tonal); }
[data-theme="gemini"] .has-dot::after { box-shadow:0 0 0 2px var(--side); }
[data-theme="gemini"] .search input { background:var(--side); box-shadow:none; height:56px; border-radius:28px; }
[data-theme="gemini"] .search input:focus { background:#fff; box-shadow:0 1px 6px rgba(32,33,36,.18); }
[data-theme="gemini"] .pill { background:#fff; box-shadow:inset 0 0 0 1px var(--line); }
[data-theme="gemini"] .pill .ic { background:var(--side); }
[data-theme="gemini"] .pill.on { background:var(--tonal); color:var(--on-tonal); box-shadow:none; }
[data-theme="gemini"] .pill.on .ic { background:#fff; }
[data-theme="gemini"] .card { border-radius:24px; }
[data-theme="gemini"] .btn:not(.ghost) { background:var(--blue); }
[data-theme="gemini"] .btn:not(.ghost):hover { filter:brightness(.88); }
[data-theme="gemini"] .btn.ghost { background:#fff; box-shadow:inset 0 0 0 1px var(--line); }
[data-theme="gemini"] .prompt-bar .btn { background:#2d2e30; }
[data-theme="gemini"] .promo, [data-theme="gemini"] .kit-head, [data-theme="gemini"] .feature { background:var(--soft-grad); color:var(--ink); }
[data-theme="gemini"] .promo p, [data-theme="gemini"] .kit-head p, [data-theme="gemini"] .feature .k { color:var(--muted); }
[data-theme="gemini"] .promo .bolt, [data-theme="gemini"] .kit-head .bolt, [data-theme="gemini"] .feature .k b { background:var(--grad); }
[data-theme="gemini"] .promo .go { background:#fff; }
[data-theme="gemini"] .trend { background:var(--panel); }
[data-theme="gemini"] .news, [data-theme="gemini"] .box { background:var(--side); }
[data-theme="gemini"] .tags span { background:#fff; }
[data-theme="gemini"] .live { background:var(--side); }
[data-theme="gemini"] .os { background:var(--side); }
[data-theme="gemini"] .group, [data-theme="gemini"] .manual-list, [data-theme="gemini"] .md table, [data-theme="gemini"] .md blockquote { background:var(--side); }
[data-theme="gemini"] .rail { background:transparent; }
[data-theme="gemini"] .search { max-width:640px; }

/* Gemini: mỗi loại một màu rõ ràng (xanh dương, tím, xanh lá, cam) */
[data-theme="gemini"] .t-all { --c:#3c4043; --t:#e3e8ef; }
[data-theme="gemini"] .t-prompt { --c:#1a62d6; --t:#d7e5fd; }
[data-theme="gemini"] .t-skill { --c:#8430ce; --t:#ecdcfc; }
[data-theme="gemini"] .t-repo { --c:#137333; --t:#cbeed5; }
[data-theme="gemini"] .t-guide { --c:#b45309; --t:#fde4c3; }
[data-theme="gemini"] .t-other { --c:#5f6368; --t:#ece7df; }
[data-theme="gemini"] .card .ic, [data-theme="gemini"] .doc-head .ic, [data-theme="gemini"] .pill:not(.t-all) .ic { background:var(--c); color:#fff; }
[data-theme="gemini"] .card-top .t { color:var(--c); font-weight:600; }
[data-theme="gemini"] .card h3 { color:#1f1f1f; }
[data-theme="gemini"] .pill.on { background:var(--t); color:var(--c); font-weight:600; }
[data-theme="gemini"] .pill.on.t-all .ic { background:#fff; }
[data-theme="gemini"] .sec-title b { display:inline-flex; align-items:center; gap:8px; }
[data-theme="gemini"] .sec-title b::before { content:""; width:12px; height:12px; border-radius:4px; background:var(--c); }
[data-theme="gemini"] .doc-head .btn:not(.ghost) { background:var(--c); }
[data-theme="gemini"] .rail .r-blue { color:#1a62d6; } [data-theme="gemini"] .rail .r-purple { color:#8430ce; } [data-theme="gemini"] .rail .r-red { color:#d93025; }
[data-theme="gemini"] .rail .r-blue.on { background:#d7e5fd; } [data-theme="gemini"] .rail .r-purple.on { background:#ecdcfc; } [data-theme="gemini"] .rail .r-red.on { background:#fce8e6; }
[data-theme="gemini"] .group:nth-child(3n+1) h3 { color:#1a62d6; } [data-theme="gemini"] .group:nth-child(3n+2) h3 { color:#8430ce; } [data-theme="gemini"] .group:nth-child(3n) h3 { color:#137333; }
[data-theme="gemini"] .row input { accent-color:#1a62d6; }

/* ---------- bảng màu "Báo giấy": màu in trên giấy báo, dịu, chữ mực đen, tiêu đề có chân ---------- */
:root[data-theme="bao-giay"] {
  --ink:#1d1d1b; --muted:#6b675f; --page:#e9e4d8; --panel:#f8f5ee; --side:#efeadf; --line:#ddd6c8;
  --serif:"Noto Serif", Georgia, serif;
  --grain:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
[data-theme="bao-giay"] .t-all { --t:#e4ded1; --m:#1d1d1b; }
[data-theme="bao-giay"] .t-prompt { --t:#dcdc8c; --m:#c2c544; }
[data-theme="bao-giay"] .t-skill { --t:#f1aebb; --m:#e3657f; }
[data-theme="bao-giay"] .t-repo { --t:#9fd3b1; --m:#4fae7c; }
[data-theme="bao-giay"] .t-guide { --t:#f2a197; --m:#df564c; }
[data-theme="bao-giay"] .t-other { --t:#e4ded1; --m:#8a857a; }
[data-theme="bao-giay"] [class*="t-"] { --c:#1d1d1b; }
[data-theme="bao-giay"] .card, [data-theme="bao-giay"] .doc-head, [data-theme="bao-giay"] .feature { background-image:var(--grain); }
[data-theme="bao-giay"] .card { border-radius:6px; }
[data-theme="bao-giay"] .main, [data-theme="bao-giay"] .trend, [data-theme="bao-giay"] .rail { border-radius:10px; }
[data-theme="bao-giay"] .doc-head, [data-theme="bao-giay"] .promo, [data-theme="bao-giay"] .kit-head, [data-theme="bao-giay"] .feature, [data-theme="bao-giay"] .news, [data-theme="bao-giay"] .box, [data-theme="bao-giay"] .group { border-radius:8px; }
[data-theme="bao-giay"] .hero h1, [data-theme="bao-giay"] .card h3, [data-theme="bao-giay"] .doc-head h1, [data-theme="bao-giay"] .kit-head h1, [data-theme="bao-giay"] .support-head h1, [data-theme="bao-giay"] .feature h3, [data-theme="bao-giay"] .trend-head h2, [data-theme="bao-giay"] .md h2 { font-family:var(--serif); font-weight:700; letter-spacing:-.015em; }
[data-theme="bao-giay"] .hero h1 { color:#a39d91; }
[data-theme="bao-giay"] .hero h1 .grad { color:var(--ink); }
[data-theme="bao-giay"] .card .ic, [data-theme="bao-giay"] .doc-head .ic { background:var(--ink); color:#f8f5ee; }
[data-theme="bao-giay"] .card-top .t { font-weight:600; }
[data-theme="bao-giay"] .pill { background:#fffdf8; box-shadow:inset 0 0 0 1px var(--line); }
[data-theme="bao-giay"] .pill .ic { background:var(--t); }
[data-theme="bao-giay"] .pill.on { background:var(--ink); color:#f8f5ee; }
[data-theme="bao-giay"] .pill.on .ic { background:var(--t); color:var(--ink); }
[data-theme="bao-giay"] .sec-title b { display:inline-flex; align-items:center; gap:8px; }
[data-theme="bao-giay"] .sec-title b::before { content:""; width:12px; height:12px; border-radius:2px; background:var(--m); }
[data-theme="bao-giay"] .search input { background:#fffdf8; box-shadow:inset 0 0 0 1.5px var(--line); }
[data-theme="bao-giay"] .promo, [data-theme="bao-giay"] .kit-head { background:var(--ink); color:#f8f5ee; }
[data-theme="bao-giay"] .promo p, [data-theme="bao-giay"] .kit-head p { color:#bdb7aa; }
[data-theme="bao-giay"] .promo .bolt, [data-theme="bao-giay"] .kit-head .bolt { background:#df564c; }
[data-theme="bao-giay"] .feature { background-color:#f2a197; color:var(--ink); }
[data-theme="bao-giay"] .feature .k { color:rgba(29,29,27,.7); }
[data-theme="bao-giay"] .feature .k b { background:var(--ink); color:#f8f5ee; }
[data-theme="bao-giay"] .rail-nav a, [data-theme="bao-giay"] .rail-help { background:#fffdf8; }
[data-theme="bao-giay"] .rail-nav a.on, [data-theme="bao-giay"] .rail-help.on { background:var(--ink); color:#f8f5ee; }
[data-theme="bao-giay"] .btn.ghost { background:#fffdf8; }
[data-theme="bao-giay"] .tags span { background:var(--panel); }
[data-theme="bao-giay"] .md blockquote { background:#fffdf8; border-left-color:#df564c; }
[data-theme="bao-giay"] .tg-0 { background:#dcdc8c; color:#1d1d1b; } [data-theme="bao-giay"] .tg-1 { background:#f1aebb; color:#1d1d1b; }
[data-theme="bao-giay"] .tg-2 { background:#9fd3b1; color:#1d1d1b; } [data-theme="bao-giay"] .tg-3 { background:#f2a197; color:#1d1d1b; }
[data-theme="bao-giay"] .tg-4 { background:#e4ded1; color:#1d1d1b; }

/* nhãn tin hot theo bảng màu */
.tg-0 { background:var(--sky); } .tg-1 { background:var(--lilac); } .tg-2 { background:var(--mint); } .tg-3 { background:var(--peach); } .tg-4 { background:var(--pink); }
[data-theme="gemini"] .tg-0 { background:#d7e5fd; color:#1a4fb0; } [data-theme="gemini"] .tg-1 { background:#ecdcfc; color:#6a1fb0; }
[data-theme="gemini"] .tg-2 { background:#cbeed5; color:#0d652d; } [data-theme="gemini"] .tg-3 { background:#fde4c3; color:#8a4200; }
[data-theme="gemini"] .tg-4 { background:#fce8e6; color:#b3261e; }

/* chế độ chụp ảnh toàn trang (thêm &full vào địa chỉ) */
.full-shot .rail, .full-shot .trend { position:static; height:auto; align-self:start; }
.full-shot .rail-nav { margin:28px 0; }

/* chữ đổi luân phiên trong tiêu đề trang chủ */
.hero h1 .rot { display:inline-block; position:relative; vertical-align:bottom; white-space:nowrap; transition:width .5s cubic-bezier(.2,.7,.2,1); }
.hero h1 .rot-word { display:inline-block; transition:transform .55s cubic-bezier(.2,.7,.2,1), opacity .45s ease; }
.hero h1 .rot-word.in { transform:translateY(55%); opacity:0; }
.hero h1 .rot-word.out { position:absolute; left:0; top:0; transform:translateY(-55%); opacity:0; }
[data-theme="gemini"] .hero h1 .rot-word { color:#5f6368; }
@media (prefers-reduced-motion: reduce) { .hero h1 .rot, .hero h1 .rot-word { transition:none; } }
.hero h1 .m-only { display:none; }
@media (max-width: 620px) { .hero h1 .m-only { display:inline; } }

/* tên + lời giải thích đi liền nhau (kiểu Apple: tên đậm, lời giải thích nhạt hơn, cùng cỡ chữ) */
.card h3 .nm, .doc-head h1 .nm { font-weight:600; }
.card h3 .ex, .doc-head h1 .ex { color:rgba(31,31,31,.58); }
.sec-title { align-items:baseline; gap:16px; }
.sec-title .st { min-width:0; }
.sec-title .ex { color:var(--muted); font-weight:400; font-size:14px; }
.sec-title > span:last-child, .sec-title > a { white-space:nowrap; }
.row .nm { font-weight:600; }
.row .ex { font-weight:500; color:var(--ink); }

/* ============ DỊCH VỤ TÍCH HỢP AI · đồng xu vàng óng (logo/dong-xu.png) · tông trầm, không mời chào ============ */
:root { --steel:#6b7178; --steel-l:#eef0f2; --steel-line:#dfe2e6; }

/* biểu tượng trên thanh trái và dòng nhỏ ở cột phải */
.rail-help.coin-link picture, .oneone.coin-box picture { display:block; line-height:0; }
/* đồng xu như một nút bấm: bóng tròn dưới chân, rê chuột thì nổi lên, bấm thì lún xuống */
.rail-help.coin-link img { width:22px; height:22px; display:block; position:relative; z-index:1;
  filter:drop-shadow(0 1.5px 1.5px rgba(120,80,20,.35)); transition:transform .18s cubic-bezier(.2,.7,.2,1), filter .18s; }
.rail-help.coin-link::after { content:""; position:absolute; left:50%; bottom:10px; width:18px; height:4px; margin-left:-9px; border-radius:50%;
  background:radial-gradient(closest-side, rgba(90,60,15,.38), rgba(90,60,15,0)); transition:transform .18s, opacity .18s; }
.rail-help.coin-link:hover img { transform:translateY(-3px) scale(1.12); filter:drop-shadow(0 4px 4px rgba(120,80,20,.35)); }
.rail-help.coin-link:hover::after { transform:scale(.8); opacity:.7; }
.rail-help.coin-link:active img { transform:translateY(1px) scale(.92); filter:drop-shadow(0 .5px .5px rgba(120,80,20,.4)); transition-duration:.06s; }
.rail-help.coin-link:active::after { transform:scale(1.1); opacity:1; }
.rail-help.coin-link:focus-visible { outline:2px solid #e2b04a; outline-offset:2px; }
/* xu không có nền tròn ở mọi trạng thái, mọi bảng màu */
.rail-help.coin-link, .rail-help.coin-link:hover, .rail-help.coin-link.on,
[data-theme] .rail-help.coin-link, [data-theme] .rail-help.coin-link:hover, [data-theme] .rail-help.coin-link.on { background:transparent !important; box-shadow:none; }
.oneone.coin-box { justify-content:flex-start; gap:10px; border:0; padding:10px 4px; color:var(--muted); font-size:12.5px; background:none; }
.oneone.coin-box img { width:22px; height:22px; flex:none; display:block; filter:drop-shadow(0 1.5px 1.5px rgba(120,80,20,.3)); transition:transform .18s cubic-bezier(.2,.7,.2,1); }
.oneone.coin-box:hover img { transform:translateY(-2px) scale(1.1); }
.oneone.coin-box:active img { transform:translateY(1px) scale(.92); transition-duration:.06s; }
.oneone.coin-box i { margin-left:auto; font-style:normal; color:var(--steel); }
.oneone.coin-box:hover { color:var(--ink); }

/* trang dịch vụ */
.svc-head { padding:6px 2px 8px; margin-bottom:30px; border-bottom:1px solid var(--steel-line); }
.svc-eyebrow { display:inline-flex; align-items:center; gap:8px; font-size:12.5px; font-weight:600; letter-spacing:.04em; color:var(--steel); }
.svc-eyebrow img { width:22px; height:22px; filter:drop-shadow(0 1px 1.5px rgba(120,80,20,.25)); }
.svc-head h1 { font-weight:500; font-size:clamp(26px,3vw,36px); line-height:1.2; letter-spacing:-.025em; margin:14px 0 10px; color:var(--ink); }
.svc-head p { margin:0 0 18px; max-width:600px; color:var(--muted); font-size:15px; line-height:1.65; }

.svc-sec { margin:0 0 32px; }
.svc-sec > h2 { font-size:13px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--steel); margin:0 0 12px; }
.svc-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.svc-card { position:relative; background:#fff; border-radius:18px; padding:18px 20px; box-shadow:inset 0 0 0 1px var(--steel-line); }
.svc-ic { width:38px; height:38px; border-radius:12px; display:grid; place-items:center; background:var(--steel-l); }
.svc-ic svg { width:19px; height:19px; fill:none; stroke:#4a5058; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.svc-no { position:absolute; top:18px; right:20px; font-size:12px; color:#a7acb2; letter-spacing:.04em; }
.svc-card h3 { font-size:17px; font-weight:600; letter-spacing:-.005em; margin:14px 0 4px; }
.svc-card p { margin:0; font-size:14px; line-height:1.55; color:var(--muted); }

.who-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.who { display:flex; flex-direction:column; gap:3px; border-radius:16px; padding:14px 16px; font-size:13.5px; color:var(--muted); line-height:1.5; box-shadow:inset 0 0 0 1px var(--steel-line); }
.who b { color:var(--ink); font-size:14.5px; font-weight:600; }
.who-ic svg { width:20px; height:20px; fill:none; stroke:var(--steel); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; margin-bottom:4px; }

.steps { list-style:none; counter-reset:st; margin:0; padding:0; display:grid; gap:8px; }
.steps li { counter-increment:st; display:flex; align-items:center; gap:12px; font-size:14.5px; color:var(--ink); padding:4px 0; }
.steps li::before { content:counter(st); flex:none; width:26px; height:26px; border-radius:50%; display:grid; place-items:center; font-size:12.5px; font-weight:600; color:#4a5058;
  background:linear-gradient(160deg,#f7f8f9,#d6dade); box-shadow:inset 0 0 0 1px #c9ced4; }

.svc-cta { border-top:1px solid var(--steel-line); padding-top:22px; margin-top:6px; }
.svc-cta h2 { font-size:13px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--steel); margin:0 0 12px; }
.cta-links { display:flex; flex-wrap:wrap; gap:8px; }
.cta-links a { font-size:14px; font-weight:500; border-radius:999px; padding:9px 16px; color:var(--ink); background:#fff; box-shadow:inset 0 0 0 1px var(--steel-line); }
.cta-links a:hover { box-shadow:inset 0 0 0 1px var(--steel); }

@media (max-width: 760px) { .svc-grid, .who-grid { grid-template-columns:1fr; } }

/* ============ DỊCH VỤ · màu đồng bộ theo bảng màu phân loại của web (tông Gemini), nền vẫn sáng và trầm ============ */
.svc-card.k1 { --k:#1a62d6; --kt:#e0ebfb; }   /* AI căn bản: xanh dương (như Prompt) */
.svc-card.k2 { --k:#8430ce; --kt:#efe5fc; }   /* video: tím (như Skill) */
.svc-card.k3 { --k:#137333; --kt:#dcf2e8; }   /* tự động hóa: xanh lá (như Repo) */
.svc-card.k4 { --k:#b45309; --kt:#fdebd2; }   /* chương trình riêng: cam (như Hướng dẫn) */
.svc-card.k5 { --k:#d6335b; --kt:#fde4e8; }   /* làm web: hồng coral (màu nhấn của logo) */
.svc-card[class*=" k"] {
  background:radial-gradient(130% 90% at 100% 0%, color-mix(in srgb, var(--kt) 70%, transparent) 0%, transparent 55%), #fff;
  transition:transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; overflow:hidden; }
.svc-card[class*=" k"]::before { content:""; position:absolute; top:0; left:20px; width:28px; height:2px; border-radius:0 0 2px 2px;
  background:var(--k); transition:width .35s cubic-bezier(.2,.7,.2,1); }
.svc-card[class*=" k"] .svc-ic { background:var(--kt); transition:background .25s, transform .35s cubic-bezier(.2,.7,.2,1); }
.svc-card[class*=" k"] .svc-ic svg { stroke:var(--k); transition:stroke .25s; }
.svc-card[class*=" k"] .svc-no { color:var(--k); opacity:.5; font-weight:600; font-variant-numeric:tabular-nums; transition:opacity .25s; }
.svc-card[class*=" k"]:hover { transform:translateY(-2px);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--k) 30%, transparent), 0 14px 30px -16px color-mix(in srgb, var(--k) 45%, transparent); }
.svc-card[class*=" k"]:hover::before { width:72px; }
.svc-card[class*=" k"]:hover .svc-ic { background:var(--k); transform:rotate(-6deg) scale(1.04); }
.svc-card[class*=" k"]:hover .svc-ic svg { stroke:#fff; }
.svc-card[class*=" k"]:hover .svc-no { opacity:1; }

/* tông vàng của biểu tượng dịch vụ cho tiêu đề mục, "Dành cho" và các bước */
.svc-eyebrow { color:#9a6a17; }
.svc-sec > h2, .svc-cta h2 { display:flex; align-items:center; gap:10px; }
.svc-sec > h2::before, .svc-cta h2::before { content:""; width:16px; height:2px; border-radius:2px; background:linear-gradient(90deg,#c58a1c,#f2c24e); }
.who { background:#fff; transition:box-shadow .25s, transform .25s; }
.who:hover { transform:translateY(-2px); box-shadow:inset 0 0 0 1px rgba(197,138,28,.35), 0 12px 26px -16px rgba(160,110,20,.45); }
.who-ic { width:34px; height:34px; border-radius:11px; display:grid; place-items:center; background:#fbf1dc; margin-bottom:6px; }
.who-ic svg { stroke:#a8741a; margin:0; width:19px; height:19px; }
.steps li::before { color:#5a3c06; background:radial-gradient(circle at 35% 30%,#fff3c4,#f2c24e 55%,#c98a1e); box-shadow:inset 0 0 0 1px rgba(150,100,20,.35), 0 1px 2px rgba(120,80,10,.25); }
.cta-links a:hover { box-shadow:inset 0 0 0 1px #c58a1c; color:#7a5310; }
@media (prefers-reduced-motion: reduce) { .svc-card, .svc-card::before, .svc-ic, .who { transition:none !important; } }

/* ============ HELLO AI VIETNAM · bảng màu chính thức (DEFAULT_THEME = "hello-ai") ============
   Xanh chanh #C6F264 · Đen #000 · Trắng · Sương #EEF2E4 · Rêu #3F5A12 · chữ Montserrat.
   Màu phân loại (Prompt, Skill, Repo, Hướng dẫn) giữ như cũ để dễ nhận biết. */
:root[data-theme="hello-ai"] {
  --lime:#C6F264; --moss:#3F5A12; --mist:#EEF2E4; --hov:#e0e6d2;
  --ink:#000; --muted:#5b6157; --page:#EEF2E4; --panel:#fff; --side:#EEF2E4; --line:#dfe4d3;
  --coral:#000; --coral2:#000;
  --pink:#fce4ec; --peach:#fef3d6; --lilac:#ece4fb; --mint:#dcf3e4; --sky:#dfe9fd; --sand:#f1ede6;
}
[data-theme="hello-ai"] body, [data-theme="hello-ai"] .search input { font-family:"Montserrat", "Be Vietnam Pro", system-ui, sans-serif; }
[data-theme="hello-ai"] .main { border-radius:32px; }
[data-theme="hello-ai"] .brand-bar img { height:38px; }
[data-theme="hello-ai"] .rail-logo .mark { width:34px; height:34px; }
/* tiêu đề trang chủ: dòng đầu đen đậm, dòng sau xám */
[data-theme="hello-ai"] .hero h1 { color:#9aa093; font-weight:600; letter-spacing:-.04em; }
[data-theme="hello-ai"] .hero h1 .grad { color:var(--ink); }
[data-theme="hello-ai"] .hero h1 .rot-word { color:var(--moss); }
[data-theme="hello-ai"] .hero h1 .dot { background:var(--lime); box-shadow:inset 0 0 0 .035em #000; border-radius:0;
  clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%); width:.26em; height:.26em; box-shadow:none; background:#000; }
[data-theme="hello-ai"] .dot { background:#000; }
/* thanh trái */
[data-theme="hello-ai"] .rail { background:transparent; }
[data-theme="hello-ai"] .rail-nav a, [data-theme="hello-ai"] .rail-help { background:transparent; }
[data-theme="hello-ai"] .rail-nav a:hover, [data-theme="hello-ai"] .rail-help:hover { background:var(--hov); transform:none; }
[data-theme="hello-ai"] .rail-nav a.on, [data-theme="hello-ai"] .rail-help.on { background:#000; color:var(--lime) !important; }
[data-theme="hello-ai"] .rail .r-blue { color:#1a62d6; } [data-theme="hello-ai"] .rail .r-purple { color:#8430ce; } [data-theme="hello-ai"] .rail .r-red { color:#d93025; }
[data-theme="hello-ai"] .has-dot::after { background:#000; box-shadow:0 0 0 2px var(--page); }
/* tìm kiếm và nút lọc */
[data-theme="hello-ai"] .search { max-width:640px; }
[data-theme="hello-ai"] .search input { background:var(--side); box-shadow:none; height:56px; border-radius:28px; }
[data-theme="hello-ai"] .search input:focus { background:#fff; box-shadow:inset 0 0 0 2px #000; }
[data-theme="hello-ai"] .pill { background:#fff; box-shadow:inset 0 0 0 1px var(--line); }
[data-theme="hello-ai"] .pill .ic { background:var(--side); }
[data-theme="hello-ai"] .pill:not(.t-all) .ic { background:var(--c); color:#fff; }
[data-theme="hello-ai"] .pill.on { background:#000; color:#fff; box-shadow:none; font-weight:600; }
[data-theme="hello-ai"] .pill.on .ic { background:var(--lime); color:#000; }
/* khối nổi bật: nền xanh chanh, chữ đen */
[data-theme="hello-ai"] .promo, [data-theme="hello-ai"] .kit-head, [data-theme="hello-ai"] .feature { background:var(--lime); color:#000; }
[data-theme="hello-ai"] .promo p, [data-theme="hello-ai"] .kit-head p, [data-theme="hello-ai"] .feature .k, [data-theme="hello-ai"] .feature .src { color:rgba(0,0,0,.66); }
[data-theme="hello-ai"] .promo .bolt, [data-theme="hello-ai"] .kit-head .bolt { background:#000; }
[data-theme="hello-ai"] .promo .bolt svg, [data-theme="hello-ai"] .kit-head .bolt svg { stroke:var(--lime); }
[data-theme="hello-ai"] .feature .k b { background:#000; color:var(--lime); }
[data-theme="hello-ai"] .promo .go { background:#000; color:var(--lime); }
/* nút */
[data-theme="hello-ai"] .btn:not(.ghost) { background:#000; color:#fff; }
[data-theme="hello-ai"] .btn:not(.ghost):hover { background:var(--lime); color:#000; filter:none; }
[data-theme="hello-ai"] .btn.ghost { background:#fff; box-shadow:inset 0 0 0 1px var(--line); }
[data-theme="hello-ai"] .prompt-bar .btn { background:#000; }
[data-theme="hello-ai"] .card-foot .go { background:#000; color:var(--lime); }
/* thẻ theo loại: giữ màu phân loại */
[data-theme="hello-ai"] .card { border-radius:24px; }
[data-theme="hello-ai"] .t-all { --c:#000; --t:#e3e8d8; }
[data-theme="hello-ai"] .t-prompt { --c:#1a62d6; --t:#d7e5fd; }
[data-theme="hello-ai"] .t-skill { --c:#8430ce; --t:#ecdcfc; }
[data-theme="hello-ai"] .t-repo { --c:#137333; --t:#cbeed5; }
[data-theme="hello-ai"] .t-guide { --c:#b45309; --t:#fde4c3; }
[data-theme="hello-ai"] .t-other { --c:#5b6157; --t:#ece7df; }
[data-theme="hello-ai"] .card .ic, [data-theme="hello-ai"] .doc-head .ic { background:var(--c); color:#fff; }
[data-theme="hello-ai"] .card-top .t { color:var(--c); font-weight:600; }
[data-theme="hello-ai"] .card h3 { color:#000; }
[data-theme="hello-ai"] .card h3 .ex, [data-theme="hello-ai"] .doc-head h1 .ex { color:rgba(0,0,0,.58); }
[data-theme="hello-ai"] .sec-title b { display:inline-flex; align-items:center; gap:8px; }
[data-theme="hello-ai"] .sec-title b::before { content:""; width:12px; height:12px; border-radius:4px; background:var(--c); }
[data-theme="hello-ai"] .doc-head .btn:not(.ghost) { background:var(--c); }
[data-theme="hello-ai"] .doc-head .btn:not(.ghost):hover { background:#000; color:#fff; }
[data-theme="hello-ai"] .group:nth-child(3n+1) h3 { color:#1a62d6; } [data-theme="hello-ai"] .group:nth-child(3n+2) h3 { color:#8430ce; } [data-theme="hello-ai"] .group:nth-child(3n) h3 { color:#137333; }
[data-theme="hello-ai"] .row input { accent-color:#000; }
/* cột phải tin hot */
[data-theme="hello-ai"] .trend { background:var(--panel); }
[data-theme="hello-ai"] .news, [data-theme="hello-ai"] .box, [data-theme="hello-ai"] .live, [data-theme="hello-ai"] .os { background:var(--side); }
[data-theme="hello-ai"] .tags span { background:#fff; }
[data-theme="hello-ai"] .news .n { color:#000; }
[data-theme="hello-ai"] .live i { background:#6fa80f; }
[data-theme="hello-ai"] .tg-0 { background:#d7e5fd; color:#1a4fb0; } [data-theme="hello-ai"] .tg-1 { background:#ecdcfc; color:#6a1fb0; }
[data-theme="hello-ai"] .tg-2 { background:#cbeed5; color:#0d652d; } [data-theme="hello-ai"] .tg-3 { background:#fde4c3; color:#8a4200; }
[data-theme="hello-ai"] .tg-4 { background:var(--lime); color:#000; }
[data-theme="hello-ai"] .group, [data-theme="hello-ai"] .manual-list, [data-theme="hello-ai"] .md table { background:var(--side); }
[data-theme="hello-ai"] .md blockquote { background:var(--side); border-left-color:var(--lime); }
/* điện thoại: logo ngang trên thanh đầu trang */
@media (max-width: 900px) { [data-theme="hello-ai"] .rail-logo .word { height:26px; } }

/* ================= LAYOUT TẠP CHÍ (từ 04/12/2026, mẫu: anh-demo/layout-mau/basho-blog.webp) =================
   Giữ thanh trái có logo · bỏ cột phải · trang chủ 4 mục: News, Review model, Kho tool, AI cho học sinh lớp 5 */
.shell.mag { grid-template-columns:76px minmax(0,1fr); max-width:1380px; }
.mag .main { padding:40px 56px 40px; }
.mag .brand-bar { margin-bottom:46px; }
.rail .r-lime { color:var(--moss); } .rail .r-orange { color:#b45309; }
.mag .rail-nav a.has-dot::after { top:9px; right:9px; }

/* tiêu đề lớn: phần đầu đậm, phần sau mảnh */
.mg-hero { margin:0 0 56px; }
.mg-h1 { font-size:clamp(34px, 4.6vw, 62px); line-height:1.12; letter-spacing:-.035em; font-weight:400; margin:0 0 30px; max-width:15em; transition:opacity .45s; }
.mg-h1 b { font-weight:700; }
.mg-h1.fade { opacity:0; }
/* Câu nói chuyên gia + dòng ghi người nói (04/12/2026) */
.mg-h1 .mg-q { display:block; }
.mg-h1 .mg-by { display:block; margin-top:14px; font-size:15px; line-height:1.4; letter-spacing:0; font-weight:600; color:var(--moss); }
.mg-h1 .mg-by::before { content:""; display:inline-block; width:22px; height:2px; background:currentColor; vertical-align:middle; margin-right:10px; }
@media (max-width:760px) { .mg-h1 { font-size:30px; } .mg-h1 .mg-by { font-size:13px; margin-top:10px; } }
/* Nhịp khoảng cách đầu trang (04/12/2026): tiêu đề + bảng điện là một cụm, rồi các khối cách nhau đều.
   Máy tính: logo → tiêu đề 40 · tiêu đề → bảng 24 · bảng → thanh tab 32 · thanh tab → khối đầu 32.
   Điện thoại: tiêu đề → bảng 18 · bảng → thanh tab 24 · thanh tab → khối đầu 24. */
.shell.mag .brand-bar { margin-bottom:40px; }
.shell .mg-hero { margin-bottom:40px; }
.mg-hero .mg-h1 { margin-bottom:24px; }
.mg-hero + .lb-sec { padding-top:0; }
@media (max-width:760px) {
  .shell .mg-hero { margin-bottom:28px; }
  .mg-hero .mg-h1 { margin-bottom:18px; }
}
.mg-search { display:flex; align-items:center; max-width:520px; background:var(--side); border-radius:999px; padding:5px; }
.mg-search input { flex:1; min-width:0; border:0; background:transparent; font:inherit; font-size:15px; padding:0 20px; height:46px; outline:none; }
.mg-search button { border:0; background:#000; color:#fff; font:inherit; font-weight:600; font-size:14px; height:46px; padding:0 28px; border-radius:999px; cursor:pointer; }
.mg-search button:hover { background:var(--lime); color:#000; }
.mg-search:focus-within { box-shadow:inset 0 0 0 2px #000; }

/* mục */
.mg-sec { border-top:1px solid var(--line); padding-top:22px; margin-top:64px; }
.mg-sec:first-of-type { margin-top:0; }
.mg-row-head { display:flex; justify-content:space-between; align-items:center; font-size:13px; margin-bottom:18px; color:var(--muted); }
.mg-row-head b { color:#000; }
.mg-arrows { display:flex; gap:6px; }
.mg-arrows button { width:34px; height:34px; border-radius:50%; border:0; background:var(--side); font-size:15px; cursor:pointer; }
.mg-arrows button:hover { background:#000; color:var(--lime); }
.mg-sec-head { display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin:0 0 30px; }
.mg-sec-head h2 { margin:0; font-size:clamp(28px, 3vw, 40px); line-height:1.12; font-weight:400; letter-spacing:-.03em; }
.mg-sec-head h2 b { font-weight:700; }
.mg-lead { margin:-14px 0 30px; color:var(--muted); font-size:16px; }
.mg-faces { display:flex; }
.mg-faces span { width:44px; height:44px; border-radius:50%; display:grid; place-items:center; font-weight:700; font-size:17px; margin-left:-8px; box-shadow:0 0 0 3px #fff; }
.mg-faces .f0 { background:#d97757; color:#fff; } .mg-faces .f1 { background:#000; color:#fff; } .mg-faces .f2 { background:#4285f4; color:#fff; }
.mg-faces .f3 { background:#4d6bfe; color:#fff; } .mg-faces .f4 { background:#3a3a3a; color:#fff; } .mg-faces .f5 { background:#615ced; color:#fff; }
.mg-more { display:inline-block; margin-top:26px; font-weight:600; font-size:14px; border-bottom:2px solid var(--lime); padding-bottom:2px; }
.mg-more:hover { border-color:#000; }

/* dải tin trượt ngang */
.mg-track { display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 72px) / 4.25); gap:24px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; padding-bottom:4px; }
.mg-track::-webkit-scrollbar { display:none; }
.mg-track .mg-card { scroll-snap-align:start; }
.mg-track .mg-thumb { aspect-ratio:4/5; }

/* lưới thẻ */
.mg-grid { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:36px 26px; }
.mg-card { display:flex; flex-direction:column; cursor:pointer; min-width:0; color:#000; }
.mg-card:focus-visible { outline:2px solid #000; outline-offset:6px; border-radius:18px; }
.mg-thumb { position:relative; aspect-ratio:5/6; border-radius:16px; overflow:hidden; background:var(--t, var(--side)); color:var(--c, #000);
  display:flex; flex-direction:column; justify-content:flex-end; padding:22px; margin-bottom:14px; transition:transform .25s; }
.mg-grid .mg-thumb { aspect-ratio:4/3.4; }
.mg-card:hover .mg-thumb { transform:translateY(-4px); }
.mg-big { font-size:clamp(44px, 5vw, 76px); font-weight:700; letter-spacing:-.05em; line-height:.95; }
.mg-small { font-size:15px; font-weight:600; margin-top:6px; opacity:.8; }
.mg-ic { position:absolute; top:18px; right:18px; width:44px; height:44px; border-radius:50%; display:grid; place-items:center; background:rgba(255,255,255,.75); color:var(--c, #000); }
.mg-ic svg { width:20px; height:20px; }
.mg-av { position:absolute; top:18px; left:18px; width:26px; height:26px; padding:5px; border-radius:50%; background:#fff; }
.mg-thumb::after { content:""; position:absolute; right:-30px; bottom:-30px; width:150px; height:150px; border-radius:50%; background:var(--c, #000); opacity:.08; }
.t-lime { --c:#000; --t:var(--lime); }
.t-model { --c:#000; --t:var(--mist); }
.mg-tags { display:flex; flex-wrap:wrap; gap:5px; margin-bottom:8px; }
.mg-tags span { font-size:11px; font-weight:500; padding:2px 9px; border-radius:999px; background:var(--side); color:#333; }
.mg-tags span:first-child { background:var(--t, var(--side)); color:var(--c, #000); font-weight:600; }
.t-lime .mg-tags span:first-child, .mg-card.t-model .mg-tags span:first-child { background:#000; color:var(--lime); }
.mg-card h3 { margin:0 0 6px; font-size:17px; line-height:1.35; font-weight:700; letter-spacing:-.01em; }
.mg-card h3 .ex { font-weight:600; color:rgba(0,0,0,.55); }
.mg-card p { margin:0; font-size:13.5px; line-height:1.55; color:var(--muted); display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.mg-act { align-self:flex-start; margin-top:12px; border:0; background:none; padding:0; font:inherit; font-size:13px; font-weight:600; color:var(--c, #000); cursor:pointer; }
.mg-act:hover { text-decoration:underline; }

/* thanh điểm của model */
.mg-bars { margin-top:14px; display:grid; gap:7px; }
.mg-bars div { display:grid; grid-template-columns:88px 1fr 28px; align-items:center; gap:10px; font-size:12px; color:var(--muted); }
.mg-bars i { height:6px; border-radius:6px; background:var(--side); position:relative; overflow:hidden; }
.mg-bars i::before { content:""; position:absolute; inset:0 auto 0 0; width:var(--v); background:#000; border-radius:6px; }
.mg-bars b { color:#000; text-align:right; }
.mg-table-wrap { overflow-x:auto; margin:0 0 48px; }
.mg-table { width:100%; border-collapse:collapse; font-size:14px; }
.mg-table th { text-align:left; font-size:12px; font-weight:600; color:var(--muted); padding:10px 12px; border-bottom:1px solid var(--line); }
.mg-table td { padding:14px 12px; border-bottom:1px solid var(--line); }
.mg-table td span { display:block; font-size:12px; color:var(--muted); }
.mg-table td em { font-style:normal; font-weight:700; background:var(--lime); padding:3px 10px; border-radius:999px; }
.mg-table tr:first-child td em { background:#000; color:var(--lime); }

/* Bộ nâng cấp: dải xanh chanh */
.mg-promo { display:flex; align-items:center; gap:16px; margin-top:34px; padding:18px 20px; border-radius:18px; background:var(--lime); color:#000; font-size:15px; }
.mg-promo .bolt { width:42px; height:42px; border-radius:50%; background:#000; display:grid; place-items:center; flex:none; }
.mg-promo .bolt svg { stroke:var(--lime); width:20px; height:20px; }
.mg-promo .go { margin-left:auto; width:38px; height:38px; border-radius:50%; background:#000; color:var(--lime); display:grid; place-items:center; flex:none; transition:transform .2s; }
.mg-promo:hover .go { transform:translateX(4px); }

/* chân trang */
.mg-foot { margin-top:80px; padding-top:26px; border-top:1px solid var(--line); display:flex; flex-wrap:wrap; align-items:center; gap:14px 28px; font-size:13px; color:var(--muted); }
.mg-foot img { height:26px; width:auto; }
.mg-foot nav { display:flex; flex-wrap:wrap; gap:6px 20px; }
.mg-foot nav a:hover { color:#000; }
.mg-foot p { margin:0 0 0 auto; }

@media (max-width: 1100px) {
  .mg-track { grid-auto-columns:calc((100% - 48px) / 3.2); }
  .mg-grid { grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .mag .main { padding:28px 18px 30px; }
  .mg-hero { margin-bottom:40px; }
  .mg-track { grid-auto-columns:72%; gap:16px; }
  .mg-grid { grid-template-columns:1fr; gap:30px; }
  .mg-sec { margin-top:48px; }
  .mg-sec-head { flex-direction:column; align-items:flex-start; gap:14px; }
  .mg-foot p { margin:0; }
}
.mg-big.long { font-size:clamp(30px, 3.2vw, 46px); letter-spacing:-.035em; overflow-wrap:anywhere; }
/* ảnh thật trên thẻ (kiểu báo) */
.mg-thumb.has-photo { padding:0; background:#e6e9df; }
.mg-thumb.has-photo::after { display:none; }
.mg-photo { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.mg-thumb.has-photo .mg-av { top:auto; bottom:14px; left:14px; }
.mg-chip { position:absolute; top:14px; left:14px; background:#000; color:var(--lime); font-weight:700; font-size:22px; letter-spacing:-.02em; padding:6px 14px; border-radius:999px; }
.mg-chip small { font-size:12px; opacity:.7; margin-left:2px; }
@media (max-width: 760px) { .shell.mag { grid-template-columns:1fr; } }

/* ================= REVIEW MODEL: 3 option ================= */
.rv-switch { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 34px; }
.rv-switch a { padding:10px 18px; border-radius:999px; background:var(--side); font-size:14px; }
.rv-switch a small { color:var(--muted); margin-left:4px; }
.rv-switch a.on { background:#000; color:#fff; } .rv-switch a.on small { color:var(--lime); }
.rv-kicker { display:inline-block; font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--moss); margin-bottom:6px; }
.rv-src { margin:16px 0 0; font-size:12.5px; color:var(--muted); } .rv-src a { text-decoration:underline; color:#000; }
.org-dot { display:inline-grid; place-items:center; width:26px; height:26px; border-radius:8px; background:var(--o); color:#fff; font-style:normal; font-weight:700; font-size:12px; margin-right:10px; vertical-align:middle; }

/* Option 1: bảng xếp hạng kiểu Arena */
.rv1 { border:1px solid var(--line); border-radius:22px; padding:28px; }
.rv1-head { display:flex; justify-content:space-between; gap:24px; align-items:flex-start; margin-bottom:20px; }
.rv1-head h3 { margin:0 0 6px; font-size:24px; letter-spacing:-.02em; } .rv1-head p { margin:0; color:var(--muted); max-width:34em; font-size:14px; }
.rv1-stat { text-align:right; background:var(--side); border-radius:16px; padding:12px 18px; flex:none; }
.rv1-stat b { display:block; font-size:22px; letter-spacing:-.02em; } .rv1-stat span { font-size:12px; color:var(--muted); }
.rv1-tabs { display:flex; gap:6px; flex-wrap:wrap; border-bottom:1px solid var(--line); padding-bottom:14px; margin-bottom:6px; }
.rv1-tabs span { font-size:13px; padding:6px 14px; border-radius:999px; color:var(--muted); }
.rv1-tabs span.on { background:#000; color:#fff; font-weight:600; }
.rv1-table { width:100%; border-collapse:collapse; font-size:14px; }
.rv1-table th { text-align:left; font-size:11.5px; font-weight:600; color:var(--muted); text-transform:uppercase; letter-spacing:.05em; padding:12px 10px; }
.rv1-table td { padding:11px 10px; border-top:1px solid var(--line); }
.rv1-table td small { color:var(--muted); margin-left:8px; font-size:12px; }
.rv1-table .rk { display:inline-grid; place-items:center; width:30px; height:30px; border-radius:50%; background:var(--side); font-weight:700; font-size:13px; }
.rv1-table tr.top .rk { background:#000; color:var(--lime); }
.rv1-table .sc { font-weight:700; font-variant-numeric:tabular-nums; font-size:15px; }
.rv1-table .bar { display:block; height:8px; width:180px; border-radius:8px; background:var(--side); position:relative; overflow:hidden; }
.rv1-table .bar::before { content:""; position:absolute; inset:0 auto 0 0; width:var(--v); background:var(--o); border-radius:8px; }
.rv1-table td:last-child { font-variant-numeric:tabular-nums; color:var(--muted); }

/* Option 2: biểu đồ chỉ số kiểu Artificial Analysis */
.rv2-tabs { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:16px; }
.rv2-tabs button { border:0; font:inherit; font-size:14px; padding:10px 18px; border-radius:12px; background:var(--side); cursor:pointer; }
.rv2-tabs button.on { background:#000; color:#fff; font-weight:600; }
.rv2-card { background:#0d0f0a; color:#fff; border-radius:22px; padding:28px; }
.rv2-title { display:flex; justify-content:space-between; gap:20px; align-items:flex-start; margin-bottom:22px; }
.rv2-title h3 { margin:0 0 4px; font-size:22px; } .rv2-title p { margin:0; color:#a7ad9e; font-size:13.5px; }
.rv2-better { font-size:12px; background:color-mix(in srgb, var(--lime) 14%, transparent); color:var(--lime); padding:6px 12px; border-radius:999px; flex:none; }
.rv2-chart { display:grid; gap:9px; }
.rv2-row { display:grid; grid-template-columns:210px 1fr 86px; align-items:center; gap:14px; font-size:13px; }
.rv2-name { color:#dfe3d8; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rv2-track { height:22px; background:rgba(255,255,255,.05); border-radius:6px; overflow:hidden; }
.rv2-track i { display:block; height:100%; width:var(--v); background:var(--o); border-radius:6px; animation:rvGrow .7s ease-out; transform-origin:left; }
@keyframes rvGrow { from { transform:scaleX(0); } }
.rv2-row b { font-variant-numeric:tabular-nums; text-align:right; }
.rv2-legend { display:flex; flex-wrap:wrap; gap:14px; margin-top:22px; padding-top:16px; border-top:1px solid rgba(255,255,255,.1); font-size:12px; color:#a7ad9e; }
.rv2-legend i { display:inline-block; width:10px; height:10px; border-radius:3px; margin-right:6px; }

/* Option 3: thẻ review kiểu tạp chí */
.rv3-hero { position:relative; border-radius:24px; overflow:hidden; min-height:420px; display:flex; align-items:flex-end; color:#fff; }
.rv3-hero > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.rv3-hero::before { content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,.82)); z-index:1; }
.rv3-hero-body { position:relative; z-index:2; padding:34px; width:100%; }
.rv3-hero .rv-kicker { color:var(--lime); }
.rv3-hero h3 { margin:6px 0 2px; font-size:clamp(28px,3.4vw,44px); letter-spacing:-.03em; }
.rv3-hero p { margin:0 0 18px; color:rgba(255,255,255,.75); }
.rv3-ring { --s:58px; width:var(--s); height:var(--s); border-radius:50%; display:inline-grid; place-items:center; align-content:center; flex:none;
  background:radial-gradient(closest-side, #fff 78%, transparent 80% 100%), conic-gradient(#000 calc(var(--v) * 1%), #e3e8d8 0); color:#000; line-height:1; }
.rv3-ring b { font-size:19px; } .rv3-ring small { font-size:9px; color:var(--muted); }
.rv3-ring.big { --s:92px; position:absolute; right:34px; top:-120px; background:radial-gradient(closest-side, #000 78%, transparent 80% 100%), conic-gradient(var(--lime) calc(var(--v) * 1%), rgba(255,255,255,.2) 0); color:#fff; }
.rv3-ring.big b { font-size:32px; } .rv3-ring.big small { color:#bbb; font-size:11px; }
.rv3-facts { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:10px; margin:0; }
.rv3-facts div { background:rgba(255,255,255,.1); border-radius:12px; padding:10px 12px; }
.rv3-facts dt { font-size:11px; opacity:.7; } .rv3-facts dd { margin:2px 0 0; font-weight:700; font-size:16px; }
.rv3-grid { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:18px; margin-top:18px; }
.rv3-card { border:1px solid var(--line); border-radius:20px; padding:20px; }
.rv3-top { display:flex; align-items:center; font-size:13px; color:var(--muted); }
.rv3-top .rv3-ring { margin-left:auto; }
.rv3-card h3 { margin:14px 0 14px; font-size:18px; letter-spacing:-.01em; }
.rv3-card .rv3-facts { grid-template-columns:1fr 1fr; }
.rv3-card .rv3-facts div { background:var(--side); }

/* ================= KHO TOOL: logo hoặc biểu tượng nhóm ================= */
.tool-thumb { align-items:center; justify-content:center; gap:14px; padding:22px; }
.tool-thumb::after { display:none; }
.tool-logo { width:96px; height:96px; border-radius:24px; background:#fff; object-fit:contain; box-shadow:0 8px 24px rgba(0,0,0,.08); }
.tool-ic { width:96px; height:96px; border-radius:24px; background:#fff; display:grid; place-items:center; color:var(--c); box-shadow:0 8px 24px rgba(0,0,0,.08); }
.tool-ic svg { width:46px; height:46px; stroke-width:1.5; }
.tool-name { font-weight:700; font-size:20px; letter-spacing:-.02em; color:#000; text-align:center; }
.tool-cat { position:absolute; top:14px; left:14px; display:inline-flex; align-items:center; gap:6px; font-size:11.5px; font-weight:600; background:rgba(255,255,255,.8); color:var(--c); padding:5px 10px 5px 8px; border-radius:999px; }
.tool-cat svg { width:14px; height:14px; }

@media (max-width: 1100px) { .rv3-grid { grid-template-columns:1fr 1fr; } .rv2-row { grid-template-columns:150px 1fr 76px; } }
@media (max-width: 760px) {
  .rv1 { padding:16px; } .rv1-head { flex-direction:column; } .rv1-stat { text-align:left; }
  .rv1-table .hide-m { display:none; } .rv1-table td small { display:block; margin:2px 0 0 36px; } .rv1-table td { padding:10px 6px; }
  .rv2-card { padding:18px; } .rv2-row { grid-template-columns:1fr 64px; } .rv2-name { grid-column:1 / -1; } .rv2-title { flex-direction:column; }
  .rv3-hero-body { padding:22px; } .rv3-ring.big { right:22px; top:-100px; --s:76px; } .rv3-facts { grid-template-columns:1fr 1fr; }
  .rv3-grid { grid-template-columns:1fr; }
}

/* Review model ở trang chủ: bảng theo dõi nhỏ gọn */
img.org-dot { object-fit:cover; background:#fff; box-shadow:0 0 0 1px var(--line); }
.mg-faces img { width:36px; height:36px; border-radius:50%; margin-left:-8px; box-shadow:0 0 0 3px #fff; background:#fff; }
.trk { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.trk-col { background:var(--side); border-radius:18px; padding:14px 14px 8px; }
.trk-h { display:flex; align-items:baseline; gap:8px; padding:0 6px 8px; font-size:13px; }
.trk-h span { color:var(--muted); font-size:12px; }
.trk-row { display:grid; grid-template-columns:22px 26px 1fr 112px; align-items:center; gap:8px; padding:7px 6px; border-radius:10px; font-size:13px; }
.trk-row:hover { background:#fff; }
.trk-row .org-dot { margin:0; width:24px; height:24px; border-radius:7px; }
.trk-rk { font-size:12px; font-weight:700; color:var(--muted); text-align:center; }
.trk-rk.one { color:#000; }
.trk-nm { font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.trk-nm small { font-weight:400; color:var(--muted); margin-left:6px; font-size:11.5px; }
.trk-v { display:flex; align-items:center; gap:8px; justify-content:flex-end; }
.trk-v b { font-variant-numeric:tabular-nums; font-size:13px; }
.trk-v i { width:52px; height:5px; border-radius:5px; background:#dfe4d3; position:relative; overflow:hidden; flex:none; }
.trk-v i::before { content:""; position:absolute; inset:0 auto 0 0; width:var(--v); background:#000; border-radius:5px; }
.trk-src { grid-column:1 / -1; margin:2px 0 0; font-size:12px; color:var(--muted); }
.trk-src a { text-decoration:underline; color:#000; }
/* trang Review model gọn hơn */
.rv1 { padding:20px; } .rv1-head h3 { font-size:19px; } .rv1-table td { padding:7px 10px; font-size:13px; } .rv1-table .rk { width:24px; height:24px; font-size:12px; }
.rv1-table .org-dot { width:22px; height:22px; border-radius:6px; }
.rv2-card { padding:20px; } .rv2-row { font-size:12.5px; gap:10px; } .rv2-track { height:14px; } .rv2-chart { gap:6px; }
.rv3-hero { min-height:300px; } .rv3-hero-body { padding:24px; } .rv3-card { padding:16px; } .rv3-card h3 { font-size:16px; margin:10px 0; }
.rv3-facts dd { font-size:14px; }
@media (max-width: 900px) { .trk { grid-template-columns:1fr; } }
.rv3-ring.big { top:24px; right:24px; z-index:2; }
.rv3-hero .rv-kicker .org-dot { width:22px; height:22px; border-radius:6px; margin-right:8px; }
.tool-name.sm { font-size:16px; line-height:1.3; max-width:15em; }
@media (max-width: 760px) { .rv3-ring.big { top:18px; right:18px; } }
.rv-switch[hidden] { display:none; }

/* trang chủ: mỗi chuyên mục một hàng ngang (04/12/2026) */
.mg-sec { margin-top:44px; }
.mg-all { font-size:12.5px; font-weight:600; color:#000; margin-right:8px; align-self:center; border-bottom:2px solid var(--lime); }
.mg-track .mg-card .mg-thumb { aspect-ratio:4/5; }
.mg-track .tool-thumb .tool-logo, .mg-track .tool-thumb .tool-ic { width:76px; height:76px; border-radius:20px; }
.mg-track .tool-name { font-size:17px; } .mg-track .tool-name.sm { font-size:14px; }
/* Review AI: hàng thấp, khoảng nửa chiều cao hàng News */
.mg-track.rv { grid-auto-columns:calc((100% - 72px) / 4); }
.rv-mini { display:flex; flex-direction:column; padding:16px 16px 14px; background:#fff; }
.rv-mini:hover { border-color:#000; }
.rv-mini h3 { margin:10px 0 8px; font-size:15px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rv-mini .rv3-ring { --s:46px; } .rv-mini .rv3-ring b { font-size:15px; }
.rv-mini-f { display:flex; gap:12px; margin:auto 0 0; font-size:12px; color:var(--muted); }
.rv-mini-f b { color:#000; }
/* trang Review: thẻ lớn không ảnh */
.rv3-hero.no-photo { background:#0d0f0a; min-height:0; }
.rv3-hero.no-photo::before { display:none; }
.rv3-hero.no-photo .rv3-hero-body { padding-right:150px; }
.rv3-hero.no-photo .rv3-ring.big { top:50%; transform:translateY(-50%); }
@media (max-width: 1100px) { .mg-track.rv { grid-auto-columns:calc((100% - 48px) / 3); } }
@media (max-width: 760px) {
  .mg-track.rv { grid-auto-columns:78%; }
  .rv3-hero.no-photo .rv3-hero-body { padding-right:22px; padding-top:110px; }
  .rv3-hero.no-photo .rv3-ring.big { top:22px; transform:none; left:22px; right:auto; }
}

/* Review AI trang chủ: 5 thẻ một hàng, gọn hơn */
.mg-track.rv { grid-auto-columns:calc((100% - 96px) / 5); }
.rv-mini { padding:12px 12px 11px; border-radius:16px; }
.rv-mini .rv3-top { font-size:12px; gap:0; }
.rv-mini .org-dot { width:28px; height:28px; border-radius:8px; margin-right:8px; box-shadow:none; background:transparent; }
.rv-mini .rv3-ring { --s:38px; } .rv-mini .rv3-ring b { font-size:13px; } .rv-mini .rv3-ring small { font-size:8px; }
.rv-mini h3 { font-size:13.5px; margin:8px 0 6px; }
.rv-mini-f { gap:8px; font-size:11px; flex-wrap:wrap; }
img.org-dot { object-fit:contain; }
@media (max-width: 1100px) { .mg-track.rv { grid-auto-columns:calc((100% - 48px) / 3.3); } }
@media (max-width: 760px) { .mg-track.rv { grid-auto-columns:60%; } }

/* dòng ghi nguồn ảnh dưới thẻ tin */
.mg-card p.mg-credit { margin-top:8px; font-size:11px; color:#5f6459; -webkit-line-clamp:2; }
.mg-credit a { text-decoration:underline; text-underline-offset:2px; }
.mg-credit a:hover { color:#000; }
.mg-photo { object-position:center 30%; }

/* ================= SO SÁNH 3 KIỂU TRANG CHỦ: A · B · D ================= */

/* dòng "Hiểu nhanh" trên thẻ tin */
.mg-hn { margin-top:10px; padding:9px 12px; border-radius:12px; background:#f3f8e4; border-left:3px solid var(--lime); font-size:12.5px; line-height:1.5; color:#2a3020; }
.mg-hn b { color:var(--moss); }

/* Option B: thanh tab dính */
.lb-sec { padding-top:44px; scroll-margin-top:70px; }
.lb-sec + .lb-sec { border-top:1px solid var(--line); margin-top:44px; }
.lb-rv { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:14px; }

/* Option D: lộ trình cho người mới */
.ld-start { background:#0d0f0a; color:#fff; border-radius:24px; padding:26px; margin:0 0 20px; }
.ld-start-h { display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin-bottom:18px; }
.ld-start .rv-kicker { color:var(--lime); }
.ld-start h2 { margin:0; font-size:clamp(20px, 2.2vw, 28px); letter-spacing:-.02em; }
.ld-prog { font-size:12.5px; color:#a7ad9e; display:grid; gap:6px; min-width:160px; }
.ld-prog b { color:#fff; font-size:15px; }
.ld-prog i { height:6px; border-radius:6px; background:rgba(255,255,255,.12); position:relative; overflow:hidden; }
.ld-prog i::before { content:""; position:absolute; inset:0 auto 0 0; width:var(--v); background:var(--lime); }
.ld-steps { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:12px; }
.ld-step { position:relative; display:flex; flex-direction:column; gap:6px; padding:18px; border-radius:18px; background:rgba(255,255,255,.06); transition:.2s; }
.ld-step:hover { background:var(--lime); color:#000; }
.ld-step:hover span, .ld-step:hover em { color:#000; }
.ld-step b { font-size:16px; } .ld-step > span:not(.ld-n):not(.ld-ic) { font-size:13px; color:#a7ad9e; }
.ld-step em { font-style:normal; font-size:13px; font-weight:600; color:var(--lime); margin-top:auto; padding-top:8px; }
.ld-step.done { background:color-mix(in srgb, var(--lime) 12%, transparent); }
.ld-n { width:30px; height:30px; border-radius:50%; display:grid; place-items:center; background:var(--lime); color:#000; font-weight:700; font-size:14px; }
.ld-step:hover .ld-n { background:#000; color:var(--lime); }
.ld-ic { position:absolute; top:18px; right:18px; opacity:.5; }
.ld-path { list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.ld-path a { display:grid; grid-template-columns:36px 1fr auto; align-items:center; gap:14px; padding:14px 16px; border-radius:16px; background:var(--side); transition:.15s; }
.ld-path a:hover { background:#e3e9d4; }
.ld-path .ld-n { width:34px; height:34px; background:#fff; box-shadow:inset 0 0 0 1px var(--line); }
.ld-path .done .ld-n { background:#000; color:var(--lime); box-shadow:none; }
.ld-t b { display:block; font-size:15px; } .ld-t small { color:var(--muted); font-size:13px; }
.ld-m { font-size:12.5px; color:var(--muted); white-space:nowrap; }

@media (max-width: 1100px) { .lb-rv { grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width: 760px) {
  .lb-rv { grid-template-columns:1fr; }
  .ld-start { padding:18px; } .ld-start-h { flex-direction:column; align-items:flex-start; } .ld-steps { grid-template-columns:1fr; }
}

/* ================= KHO TOOL · cổng vào + "thế giới" riêng (04/12/2026) =================
   Trang chủ chỉ có một cổng (.hub-3, thư mục logo). Bấm vào, lớp #kho-world (.kw) phóng ra từ chỗ bấm,
   nền đen, cột trái là các ngăn của kho. Chốt 04/12/2026: Option 3 (đã bỏ kiểu 1 Cổng đen, 2 Ngăn kéo). */
.t-all { --k:#000; --kt:var(--mist); } .t-prompt { --k:#1a62d6; --kt:#dfe9fd; } .t-skill { --k:#8430ce; --kt:#ece4fb; }
.t-repo { --k:#137333; --kt:#dcf3e4; } .t-kit { --k:var(--moss); --kt:#e7f6c4; }

/* ---- cổng vào trên trang chủ ---- */
.hub-wrap { border-top:0; padding-top:0; }
.hub { position:relative; display:flex; border-radius:28px; overflow:hidden; color:inherit; isolation:isolate; }
.hub h2 { margin:10px 0 0; font-size:clamp(28px, 3.2vw, 44px); line-height:1.1; letter-spacing:-.035em; font-weight:400; }
.hub h2 b { font-weight:700; }
.hub-k { font-size:12px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; }
.hub-chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:24px; }
.hub-chip { display:inline-flex; align-items:center; gap:8px; padding:6px 14px 6px 6px; border-radius:999px; background:var(--kt); color:var(--k); font-size:13px; font-weight:600; }
.hub-chip .ic { width:26px; height:26px; border-radius:50%; background:#fff; display:grid; place-items:center; }
.hub-chip .ic svg { width:15px; height:15px; }
.hub-chip b { color:#000; }
.hub-go { display:inline-flex; align-items:center; gap:12px; font-weight:600; font-size:15px; }
.hub-go i { font-style:normal; width:44px; height:44px; border-radius:50%; display:grid; place-items:center; transition:transform .35s cubic-bezier(.2,.8,.2,1); }

/* cổng: thư mục kiểu điện thoại, bấm là phóng vào */
.hub-3 { background:var(--side); padding:30px; gap:34px; align-items:center; transition:background .3s; }
.hub-3:hover { background:#e3e9d6; }
.hub-folder { flex:none; width:210px; height:210px; border-radius:46px; background:#000; padding:22px; display:grid; grid-template-columns:repeat(3, 1fr); gap:12px;
  box-shadow:0 22px 40px -18px rgba(0,0,0,.55); transition:transform .45s cubic-bezier(.2,.8,.2,1); }
.hub-folder i { border-radius:13px; overflow:hidden; background:#fff; }
.hub-folder img { width:100%; height:100%; object-fit:cover; display:block; }
.hub-3:hover .hub-folder { transform:scale(1.06) rotate(-3deg); }
.hub-3 .hub-txt { flex:1; display:block; }
.hub-3 .hub-k { color:var(--moss); }
.hub-3 > .hub-go i { width:64px; height:64px; background:#000; color:var(--lime); font-size:22px; }
.hub-3:hover > .hub-go i { transform:translateX(6px); }

/* ---- thế giới Kho ---- */
.kw { position:fixed; inset:0; z-index:60; overflow-y:auto; overscroll-behavior:contain; background:var(--page); }
.kw[hidden] { display:none; }
html.in-kho, html.in-kho body { overflow:hidden; }
.kw-shell { display:grid; min-height:100%; }
.kw-main { background:var(--panel); min-width:0; padding:30px 56px 56px; }
.kw-top { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; margin-bottom:34px; }
.kw-crumb { font-size:13px; color:var(--muted); } .kw-crumb i { font-style:normal; margin:0 6px; opacity:.5; } .kw-crumb b { color:#000; }
.kw-brand { display:flex; align-items:center; gap:10px; }
.kw-brand img { width:34px; height:34px; }
.kw-brand b { font-size:18px; letter-spacing:-.02em; }
.kw-nav { display:flex; }
.kw-nav a { display:flex; align-items:center; gap:10px; border-radius:999px; color:inherit; transition:.2s; }
.kw-nav .ic { width:40px; height:40px; border-radius:50%; display:grid; place-items:center; color:var(--k); flex:none; transition:.2s; }
.kw-nav .cnt { font-size:12px; opacity:.6; }
.kw-exit { display:flex; align-items:center; gap:8px; color:inherit; }

/* thế giới tối, cột trái có chữ, bảng trắng bên trong */
.kw.o3 { background:#000; color:#fff; }
.kw.o3 .kw-shell { grid-template-columns:250px minmax(0,1fr); gap:14px; padding:14px; }
.kw.o3 .kw-side { position:sticky; top:14px; height:calc(100vh - 28px); display:flex; flex-direction:column; gap:30px; padding:22px 12px 14px; }
.kw.o3 .kw-brand { padding:0 8px; }
.kw.o3 .kw-brand img { filter:invert(1); }
.kw.o3 .kw-brand b { font-size:22px; } .kw.o3 .kw-brand b::after { content:"."; color:var(--lime); }
.kw.o3 .kw-nav { flex-direction:column; gap:4px; }
.kw.o3 .kw-nav a { padding:6px 14px 6px 6px; color:rgba(255,255,255,.72); font-weight:600; font-size:15px; }
.kw.o3 .kw-nav .ic { background:rgba(255,255,255,.07); color:#fff; }
.kw.o3 .kw-nav .cnt { margin-left:auto; }
.kw.o3 .kw-nav a:hover { background:#14170f; color:#fff; }
.kw.o3 .kw-nav a.on { background:#1b2012; color:var(--lime); }
.kw.o3 .kw-nav a.on .ic { background:var(--k); color:#fff; }
.kw.o3 .kw-nav a.t-all.on .ic, .kw.o3 .kw-nav a.t-kit.on .ic { background:var(--lime); color:#000; }
.kw.o3 .kw-exit { margin-top:auto; padding:12px 16px; border-radius:16px; border:1px solid #2a2f22; color:rgba(255,255,255,.75); font-size:14px; font-weight:600; }
.kw.o3 .kw-exit:hover { border-color:var(--lime); color:#fff; }
.kw.o3 .kw-main { border-radius:28px; color:var(--ink); }
.kw.o3.enter { transform-origin:var(--ox) var(--oy); animation:kwZoom .65s cubic-bezier(.2,.8,.2,1) both; }
.kw.o3.leave { transform-origin:var(--ox) var(--oy); animation:kwZoom .45s cubic-bezier(.6,0,.8,.4) reverse both; }
@keyframes kwZoom { from { transform:scale(.35); opacity:0; border-radius:60px; } to { transform:none; opacity:1; border-radius:0; } }

@media (prefers-reduced-motion: reduce) {
  .kw.enter, .kw.leave, .kw.enter *, .kw.leave * { animation:none !important; }
}
@media (max-width: 980px) {
  .hub-3 { flex-direction:column; align-items:flex-start; } .hub-3 > .hub-go { display:none; }
  .kw.o3 .kw-shell { grid-template-columns:1fr; padding:10px; gap:10px; }
  .kw.o3 .kw-side { position:sticky; top:0; z-index:5; height:auto; flex-direction:row; align-items:center; gap:8px; padding:8px 10px; border-radius:22px; overflow-x:auto; }
  .kw.o3 .kw-side { background:#000; }
  .kw.o3 .kw-nav { flex-direction:row; margin:0; gap:6px; }
  .kw.o3 .kw-exit { order:-1; margin:0; }
  .kw.o3 .kw-nav .tx, .kw.o3 .kw-nav .cnt, .kw.o3 .kw-exit span, .kw.o3 .kw-brand { display:none; }
  .kw-main { padding:22px 18px 40px; border-radius:24px; }
}
.toast { z-index:100; }

/* ================= ĐẦU TRANG: bảng điện Review AI (thay ô tìm kiếm, chốt 04/12/2026) =================
   Dải đen chạy ngang, không chú giải. Mỗi model: hạng · logo · điểm trí tuệ (đồng hồ đo, xanh chanh) · giá mỗi việc (đồng xu, xanh dương).
   Đầu dải là nút ký hiệu thông tin (i), bấm sang #/model. */
.rvs { --iq:var(--lime); --cost:#7fb2ff; display:flex; align-items:center; max-width:100%; color:inherit; }
.rvs .org-dot { width:26px; height:26px; border-radius:7px; object-fit:contain; background:#fff; flex:none; box-shadow:none; }
.rvs-info { flex:none; width:40px; height:40px; border-radius:50%; background:var(--lime); color:#000; display:grid; place-items:center; position:relative; z-index:1; transition:transform .3s cubic-bezier(.2,.8,.2,1); }
.rvs-info svg { width:21px; height:21px; stroke-width:2.2; }
.rvs:hover .rvs-info { transform:rotate(-10deg) scale(1.06); }
.v-iq { --c:var(--iq); } .v-cost { --c:var(--cost); }
.rvs-mq { flex:1; min-width:0; overflow:hidden; -webkit-mask-image:linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image:linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.rvs-run, .rvs-dup { display:flex; width:max-content; }
.rvs-run { animation:rvsRun 44s linear infinite; }
.rvs:hover .rvs-run { animation-play-state:paused; }
@keyframes rvsRun { to { transform:translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .rvs-run { animation:none; } }

/* ================= BẢNG ĐIỆN REVIEW AI, kiểu Op1 (chốt 04/12/2026): 1 dòng, tên + thanh điểm + giá Rẻ/Vừa/Đắt, huy chương top 3 ================= */
.rvb { --iq:var(--lime); --cost:#7fb2ff; background:#000; color:#fff; border-radius:22px; padding:6px; width:min(820px, 100%); gap:6px; }
.rvb .org-dot { width:30px; height:30px; border-radius:8px; object-fit:contain; background:#fff; flex:none; }
.rvb small { font-weight:500; }
.tier { display:inline-flex; align-items:baseline; gap:5px; padding:4px 10px; border-radius:999px; font-size:12px; font-weight:700; line-height:1.2; white-space:nowrap; }
.tier small { font-size:11px; opacity:.75; }
.t-re { background:var(--lime); color:#000; }
.t-vua { background:#7fb2ff; color:#000; }
.t-dat { background:#ff9d6c; color:#000; }
.t-na { background:#262a22; color:#9aa08f; }

.b1-i { display:flex; align-items:center; gap:12px; padding:4px 20px; white-space:nowrap; border-right:1px solid #24281f; }
.b1-i .rk { font-style:normal; flex:none; width:22px; height:22px; border-radius:50%; border:1.5px solid #4a5140; display:grid; place-items:center; font-size:12px; font-weight:800; color:#cfd5c3; }
/* huy chương hạng: số 1 vàng to nhất, số 2 bạc và số 3 đồng nhỏ hơn; từ hạng 4 là vòng tròn số. Mọi hạng đều ghi số, đánh liền 1–7 */
.md[class*="md-"] { flex:none; display:grid; place-items:center; width:24px; }
.md[class*="md-"] svg { display:block; width:19px; height:24px; filter:drop-shadow(0 2px 3px rgba(0,0,0,.5)); }
.md-vang svg { width:26px; height:33px; }
.md[class*="md-"] .ci { fill:var(--m1); } .md[class*="md-"] .ri { fill:none; stroke:var(--m2); stroke-width:1.4; } .md[class*="md-"] .st { fill:var(--m2); }
.md[class*="md-"] .rb { fill:var(--rb); }
.md[class*="md-"] text { font:800 10px Montserrat, sans-serif; fill:var(--m2); }
.md-vang text { font-size:11px; }
.md-vang { --m1:#f5c542; --m2:#7a5300; --rb:#c9971c; }
.md-bac  { --m1:#d9dde3; --m2:#596170; --rb:#8a93a1; }
.md-dong { --m1:#d99a5e; --m2:#6b3a12; --rb:#9c5a26; }
.b1-i.is-top .b1-nm { color:var(--lime); }
.b1-txt { display:flex; flex-direction:column; gap:6px; min-width:118px; }
.b1-nm { font-size:14px; font-weight:700; letter-spacing:-.01em; }
.b1-bar { display:block; height:5px; border-radius:3px; background:#24281f; overflow:hidden; }
.b1-bar i { display:block; height:100%; width:var(--v); background:var(--iq); border-radius:3px; }
.b1-sc { font-size:22px; font-weight:800; color:var(--iq); line-height:1; display:flex; flex-direction:column; align-items:center; }
.b1-sc small { font-size:10px; color:#8d9480; margin-top:2px; }

@media (max-width: 760px) {
  .b1-i { padding:4px 14px; }
}

/* ================= BẢNG ĐIỆN kiểu "Giỏi nhất" (mặc định, trả về 04/12/2026): ghim số 1 + nhãn dễ hiểu =================
   Kiểu Op1 (tên + thanh điểm + huy chương) vẫn xem được qua ?bd=1. */
.b3-tag { display:inline-flex; align-items:baseline; padding:4px 10px; border-radius:999px; font-size:12px; font-weight:700; line-height:1.2; white-space:nowrap; }
.g-re { background:var(--lime); color:#000; }
.g-dt { background:#7fb2ff; color:#000; }
.g-sat { background:#fff; color:#000; }
.g-na { background:#262a22; color:#9aa08f; }
.g-x { background:#262a22; color:#cfd5c3; }
.rvb3 { padding:6px; }
.b3-pin { flex:none; display:flex; align-items:center; gap:10px; background:var(--lime); color:#000; border-radius:16px; padding:6px 16px 6px 8px; position:relative; z-index:1; }
.b3-pin .org-dot { width:34px; height:34px; }
/* Số hạng đính trên góc logo, như huy hiệu thông báo trên biểu tượng ứng dụng */
.b3-ic { position:relative; flex:none; display:inline-flex; }
.b3-ic .org-dot { margin:0; }
.b3-rk { position:absolute; top:-8px; left:-9px; min-width:19px; height:19px; padding:0 5px; box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center;
  border-radius:999px; background:#fff; color:#000; font-style:normal; font-size:11px; font-weight:800; line-height:1; letter-spacing:-.02em;
  box-shadow:0 0 0 2.5px #000; font-variant-numeric:tabular-nums; }
/* Hạng 1: cùng kiểu số #N nhưng to hơn, nền đen chữ xanh chanh viền xanh chanh để nổi bật */
.b3-rk1 { top:-10px; left:-11px; min-width:26px; height:22px; padding:0 6px; font-size:13px; background:#000; color:var(--lime); box-shadow:0 0 0 2.5px var(--lime); }
.b3-rk1 small { font-size:9.5px; opacity:1; }
.b3-pin .org-dot { box-shadow:0 0 0 2px #000; }
/* Cỡ bảng (04/12/2026): thu 35%, to lại 40%, rồi nhỏ lại 20% (0,91 × 0,8 ≈ 0,73); bảng dài hết cột nội dung */
.rvb3 { width:100%; padding:4px; border-radius:16px; gap:4px; }
.rvb3 > .b3-pin, .rvb3 > .rvs-mq { zoom:.95; }
.b3-pin { padding-left:14px; }
.b3-pt { display:flex; flex-direction:column; line-height:1.15; white-space:nowrap; }
.b3-pt b { font-size:15px; font-weight:800; }
.b3-pt span { font-size:12px; font-weight:600; color:#2c3a10; }
.b3-i { display:flex; align-items:center; gap:10px; padding:10px 22px 4px; white-space:nowrap; border-right:1px solid #24281f; }
.b3-nm { font-size:14px; font-weight:700; }
.b3-sc { font-size:18px; font-weight:800; color:var(--lime); line-height:1; }
.b3-sc small { font-size:11px; color:#8d9480; margin-left:3px; }
@media (max-width: 760px) {
  .b3-i { padding:10px 14px 4px; }
  .b3-pt span { display:none; }
}

/* ================= HỌC AI / AI CHO HỌC SINH LỚP 5 (04/12/2026) =================
   Cảm hứng Claude Academy (thẻ lộ trình xếp nghiêng, dải màu trên đầu, huy hiệu bát giác, dòng thông tin khoá học),
   giữ màu Hello AI: xanh chanh, đen, rêu, sương + cam Hướng dẫn. */
.hc-card, .hc-row { --band:var(--lime); --ic:#000; }
.h-lime  { --band:var(--lime); --ic:#000; }
.h-moss  { --band:var(--moss); --ic:var(--moss); }
.h-ink   { --band:#111;    --ic:#111; }
.h-fog   { --band:#DCE5C6; --ic:var(--moss); }
.h-peach { --band:#F5D3AE; --ic:#b45309; }
.h-sky   { --band:#CFDFFB; --ic:#1a62d6; }
.hc-badge { flex:none; display:grid; place-items:center; width:62px; height:62px; background:#F8FAF2;
  clip-path:polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); }
.hc-badge svg { width:30px; height:30px; fill:none; stroke:var(--ic); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }

/* Trang chủ: hàng thẻ lộ trình */
.hc-fan { display:grid; grid-template-columns:repeat(6, minmax(0,1fr)); gap:12px; padding:14px 4px 22px; }
.hc-card { display:flex; flex-direction:column; background:#fff; border:1px solid var(--line); border-radius:20px; overflow:hidden; cursor:pointer;
  transform:rotate(var(--r, 0deg)); box-shadow:0 10px 24px -14px rgba(20,30,0,.35); transition:transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.hc-card:hover, .hc-card:focus-visible { transform:rotate(0) translateY(-8px); box-shadow:0 18px 34px -16px rgba(20,30,0,.45); outline:none; }
.hc-top { height:96px; background:var(--band); display:grid; place-items:center; }
.hc-body { display:flex; flex-direction:column; gap:6px; padding:14px 14px 16px; flex:1; }
.hc-no { font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--moss); }
.hc-card h3 { margin:0; font-size:15px; line-height:1.3; font-weight:700; letter-spacing:-.01em; flex:1; }
.hc-min { font-size:12px; color:var(--muted); }
.hc-go { align-self:flex-start; display:inline-flex; align-items:center; gap:6px; margin-top:4px; padding:7px 12px; border-radius:999px;
  background:#000; color:var(--lime); font-size:12.5px; font-weight:700; }
.hc-go i { font-style:normal; transition:transform .25s; }
.hc-card:hover .hc-go i { transform:translateX(3px); }
.hc-meta { display:flex; flex-wrap:wrap; align-items:center; gap:6px 0; margin-top:6px; font-size:13.5px; color:var(--muted); }
.hc-meta > span + span::before { content:"·"; margin:0 10px; color:#b9bfae; }
.hc-meta b { color:#000; }
.hc-all { margin-left:auto; font-size:14px; font-weight:700; color:#000; border-bottom:2px solid var(--lime); padding-bottom:1px; }
.hc-all.top { margin:0; white-space:nowrap; }
@media (max-width: 1100px) {
  .hc-fan { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; padding:14px 6px 24px; margin:0 -6px; }
  .hc-fan::-webkit-scrollbar { display:none; }
  .hc-card { flex:0 0 200px; scroll-snap-align:start; }
}
@media (max-width: 760px) {
  .hc-card { flex-basis:72%; }
  .hc-all { margin-left:0; width:100%; margin-top:6px; border:0; }
}

/* Trang #/lop-5: đầu trang kiểu khoá học + danh sách bài */
.hc-hero { position:relative; overflow:hidden; background:var(--side); border-radius:28px; padding:48px 48px 44px; margin:0 0 40px; }
.hc-hero > .hc-art { position:absolute; right:56px; top:50%; width:330px; height:300px; margin-top:-150px; z-index:1; }
.hc-mini { position:absolute; left:var(--x); top:var(--y); width:168px; background:#fff; border-radius:16px; overflow:hidden;
  transform:rotate(var(--r)); box-shadow:0 14px 30px -16px rgba(20,30,0,.45); padding-bottom:12px; }
.hc-mini .hc-top { height:64px; }
.hc-mini .hc-badge { width:42px; height:42px; } .hc-mini .hc-badge svg { width:21px; height:21px; }
.hc-mini .hc-no { display:block; padding:10px 12px 2px; font-size:9.5px; }
.hc-mini b { display:block; padding:0 12px; font-size:12.5px; line-height:1.3; }
@media (max-width: 1100px) { .hc-art { display:none; } }
.hc-hero > * { position:relative; z-index:1; }
.hc-kicker { display:inline-block; font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--moss); margin-bottom:14px; }
.hc-hero h1 { margin:0 0 12px; font-size:clamp(34px, 4.4vw, 56px); line-height:1.1; letter-spacing:-.035em; font-weight:400; max-width:12em; }
.hc-hero h1 b { font-weight:700; white-space:nowrap; }
.hc-hero p { margin:0 0 20px; font-size:17px; color:var(--muted); max-width:34em; }
.hc-chips { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:26px; }
.hc-chips span { padding:6px 12px; border-radius:999px; background:#fff; font-size:13px; font-weight:600; }
.hc-start { display:inline-flex; align-items:center; gap:8px; padding:13px 22px; border-radius:999px; background:#000; color:var(--lime); font-weight:700; font-size:15px; }
.hc-start i { font-style:normal; transition:transform .25s; }
.hc-start:hover i { transform:translateX(4px); }
.hc-h2 { margin:0 0 8px; font-size:clamp(24px, 2.6vw, 32px); font-weight:700; letter-spacing:-.03em; }
.hc-rows { list-style:none; margin:0; padding:0; }
.hc-row { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:22px; padding:20px 14px; border-bottom:1px solid var(--line); cursor:pointer; transition:background .2s; }
.hc-row .hc-badge { width:58px; height:58px; background:var(--band); }
.hc-row.h-moss .hc-badge svg, .hc-row.h-ink .hc-badge svg { stroke:#fff; }
.hc-row.h-lime .hc-badge svg { stroke:#000; }
.hc-row:hover, .hc-row:focus-visible { background:var(--side); outline:none; }
.hc-row h3 { margin:4px 0 4px; font-size:18px; font-weight:700; letter-spacing:-.01em; }
.hc-row p { margin:0; font-size:14px; line-height:1.55; color:var(--muted); max-width:44em; }
.hc-arrow { display:grid; place-items:center; width:42px; height:42px; border-radius:50%; border:1px solid var(--line); font-size:18px; transition:background .2s, color .2s; }
.hc-row:hover .hc-arrow { background:#000; color:var(--lime); border-color:#000; }
@media (max-width: 760px) {
  .hc-hero { padding:30px 22px 28px; border-radius:22px; }
  .hc-row { grid-template-columns:auto 1fr; gap:14px; padding:16px 6px; }
  .hc-row .hc-badge { width:48px; height:48px; } .hc-row .hc-badge svg { width:24px; height:24px; }
  .hc-arrow { display:none; }
}
@media (min-width: 1101px) { .hc-hero > :not(.hc-art) { max-width:calc(100% - 400px); } .hc-hero { min-height:360px; } }


/* ============ 3 PHƯƠNG ÁN LAYOUT TRANG CHỦ (04/12/2026): xem qua ?lo=1 | ?lo=2 | ?lo=3 ============
   Chỉ xếp lại phần thân bằng các thành phần gốc. Code: LO, loBar, HOME_LO trong app.js. Bản sao trước khi thêm: _ban-sao_truoc-3-layout_20261204/. */
.lo-bar { display:inline-flex; flex-wrap:wrap; gap:4px; padding:5px; border-radius:999px; background:var(--side); margin:0 0 28px; font-size:13px; }
.lo-bar a { padding:8px 16px; border-radius:999px; color:var(--muted); white-space:nowrap; }
.lo-bar a b { color:#000; font-weight:700; }
.lo-bar a.on { background:#000; color:#fff; } .lo-bar a.on b { color:var(--lime); }
.lo-h { margin:0 0 14px; font-size:20px; font-weight:700; letter-spacing:-.02em; }
.lo-nr { display:grid; grid-template-columns:84px minmax(0,1fr); gap:14px; padding:14px 0; border-top:1px solid var(--line); align-items:start; color:#000; }
.lo-nr img { width:84px; height:84px; border-radius:14px; object-fit:cover; object-position:center 30%; background:#e6e9df; }
.lo-nr .mg-tags { margin-bottom:5px; } .lo-nr .mg-tags span { background:#fff; } .lo-nr .mg-tags span:first-child { background:#000; color:var(--lime); }
.lo-nr div > b { display:block; font-size:15px; line-height:1.35; }
.lo-nr small { display:block; margin-top:5px; font-size:12.5px; line-height:1.5; color:var(--muted); }
.lo-nr small b { color:var(--moss); }
.lo-nr:hover div > b { text-decoration:underline; }
.lo-h + .lo-nr { border-top:0; padding-top:0; }
.lo-side, .lo-box { background:var(--side); border-radius:28px; padding:24px 22px; }
.lo-side .mg-more, .lo-box .mg-more { margin-top:14px; }
/* Option 1 · Hành trang */
.lo-split { display:grid; grid-template-columns:minmax(0,1.75fr) minmax(0,1fr); gap:44px; margin-top:44px; align-items:start; }
.mg-grid.lo-g2 { grid-template-columns:repeat(2, minmax(0,1fr)); }
/* Option 2 · Bản tin */
.lo-lead { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr); gap:36px 26px; margin-bottom:36px; }
.lo-big .mg-thumb { aspect-ratio:16/10; }
.lo-big .mg-card h3 { font-size:clamp(22px, 2.4vw, 32px); line-height:1.2; letter-spacing:-.025em; }
.lo-big .mg-card p:not(.mg-credit) { font-size:16px; -webkit-line-clamp:unset; }
.lo-big .mg-hn { font-size:14px; }
.lo-stack { display:grid; gap:26px; align-content:start; }
.lo-stack .mg-thumb { aspect-ratio:16/9; }
.lo-stack .mg-card > p:not(.mg-credit), .lo-stack .mg-hn { display:none; }
/* Option 3 · Tổng quan */
.lo-bento { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:20px; align-items:stretch; }
.lo-t { min-width:0; }
.lo-bento .lo-kho { grid-column:span 2; display:flex; } .lo-bento .lo-kho > section { flex:1; display:flex; } .lo-bento .lo-kho .hub { flex:1; }
.lo-start { display:flex; flex-direction:column; gap:12px; padding:28px; border-radius:28px; background:var(--lime); color:#000; }
.lo-start .hub-k { color:#000; }
.lo-start h2 { margin:0; font-size:clamp(24px, 2.4vw, 32px); line-height:1.12; letter-spacing:-.03em; font-weight:400; } .lo-start h2 b { font-weight:700; }
.lo-start p { margin:0; font-size:14px; font-weight:500; flex:1; }
.lo-start .hc-go { font-size:14px; padding:11px 18px; }
.lo-start:hover .hc-go i { transform:translateX(3px); }
.lo-news1 .mg-thumb { aspect-ratio:4/3; }
.lo-les { list-style:none; margin:0; padding:0; }
.lo-le { display:grid; grid-template-columns:auto minmax(0,1fr); gap:14px; align-items:center; padding:10px 0; border-top:1px solid var(--line); color:#000; }
.lo-les li:first-child .lo-le { border-top:0; padding-top:0; }
.lo-le .hc-badge { width:44px; height:44px; background:var(--band); } .lo-le .hc-badge svg { width:22px; height:22px; }
.lo-le.h-moss .hc-badge svg, .lo-le.h-ink .hc-badge svg { stroke:#fff; } .lo-le.h-lime .hc-badge svg { stroke:#000; }
.lo-le b { display:block; font-size:15px; line-height:1.3; }
.lo-le small { font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--moss); }
.lo-le:hover b { text-decoration:underline; }
@media (max-width: 1100px) { .lo-split, .lo-lead { grid-template-columns:1fr; } .lo-bento { grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width: 760px) {
  .lo-bar { border-radius:20px; } .lo-bento { grid-template-columns:1fr; } .lo-bento .lo-kho { grid-column:auto; } .mg-grid.lo-g2 { grid-template-columns:1fr; }
}
.lo-bento .lo-kho .hub h2 { font-size:clamp(24px, 2.5vw, 34px); }

/* ================= THANH MENU TRÊN ĐẦU TRANG (chốt 04/12/2026, thay cột biểu tượng bên trái) =================
   <html data-sb="3">. Logo bên trái, menu có chữ bên phải: Tin tức · Kho AI · Học AI · Xếp hạng AI · Dịch vụ. Dính theo khi cuộn.
   Khối nội dung bên dưới rộng đúng bằng bản có cột trái. Logo ngang ở đầu khối nội dung (.brand-bar) ẩn đi vì đã có trên thanh menu. */
.rail .rl { display:none; }
[data-sb] .rl { display:block; font-weight:600; line-height:1.2; color:var(--ink); white-space:nowrap; }
[data-sb] .rail a.on .rl { color:inherit; }
[data-sb] .rail-help.coin-link::after { display:none; }
[data-sb] .brand-bar { display:none; }

@media (min-width:761px) {
  /* lề 65px = 18 lề cũ + nửa (76 cột trái + 18 khe): khối nội dung rộng đúng bằng bản có cột trái, chỉ dời vào giữa */
  [data-sb="3"] .shell.mag { grid-template-columns:minmax(0,1fr); padding-left:65px; padding-right:65px; }
  [data-sb="3"] .rail { position:sticky; top:12px; z-index:20; height:auto; flex-direction:row; align-items:center; padding:9px 12px 9px 24px; border-radius:999px;
    background:color-mix(in srgb, var(--panel) 86%, transparent) !important; -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); box-shadow:0 1px 0 var(--line), 0 8px 24px rgba(0,0,0,.06); }
  [data-sb="3"] .rail-logo .mark { display:none; }
  [data-sb="3"] .rail-logo .word { display:block; width:auto; height:30px; }
  [data-sb="3"] .rail-nav { flex-direction:row; margin:0 0 0 auto; gap:2px; }
  [data-sb="3"] .rail-nav a { width:auto; height:44px; border-radius:999px; padding:0 16px; margin:0; display:flex; flex-direction:row; align-items:center; gap:9px; }
  [data-sb="3"] .rl { font-size:14px; }
  [data-sb="3"] .rail-nav a.has-dot::after { top:8px; left:30px; right:auto; }
}
/* màn hẹp (máy tính bảng): thu lề và khoảng đệm để 5 mục không tràn */
@media (min-width:761px) and (max-width:900px) {
  [data-sb="3"] .shell.mag { padding-left:18px; padding-right:18px; }
  [data-sb="3"] .rail { padding-left:18px; }
  [data-sb="3"] .rail-nav a { padding:0 10px; gap:7px; }
  [data-sb="3"] .rl { font-size:13.5px; }
}
/* Điện thoại: hàng biểu tượng đầu trang, tên nhỏ dưới mỗi biểu tượng */
@media (max-width:760px) {
  [data-sb] .rail { padding:6px 6px 6px 8px; }
  [data-sb] .rail-nav { gap:0; }
  [data-sb] .rail-nav a { width:auto; min-width:40px; height:auto; border-radius:12px; padding:6px 3px 5px; margin:0; display:flex; flex-direction:column; align-items:center; gap:3px; }
  [data-sb] .rl { font-size:9.5px; }
  [data-sb] .rail-nav a.has-dot::after { top:4px; right:6px; }
  [data-sb] .rail-logo .word { height:22px; margin-left:2px; }
}
/* mục đang mở trên menu: mọi mục cùng một kiểu (viên đen, chữ xanh chanh), kể cả Dịch vụ */
[data-sb] .rail-nav a.on, [data-sb] .rail-nav a.rail-help.coin-link.on { background:#000 !important; color:var(--lime) !important; }
/* Kho AI trên điện thoại và máy tính bảng: thêm tên dưới mỗi biểu tượng, cùng kiểu với menu chính (04/12/2026) */
@media (max-width: 980px) {
  .kw.o3 .kw-side { gap:2px; padding:6px 8px; }
  .kw.o3 .kw-nav { gap:2px; }
  .kw.o3 .kw-nav a, .kw.o3 .kw-exit { flex-direction:column; align-items:center; gap:3px; padding:5px 5px 6px; border:0; border-radius:14px; font-size:10.5px; font-weight:600; line-height:1.2; white-space:nowrap; flex:none; }
  .kw.o3 .kw-nav .tx, .kw.o3 .kw-exit span { display:block; }
  .kw.o3 .kw-nav .ic { width:36px; height:36px; }
  .kw.o3 .kw-exit svg { width:36px; height:36px; padding:8px; box-sizing:border-box; border-radius:50%; background:rgba(255,255,255,.07); }
}
@media (max-width: 760px) { .kw.o3 .kw-nav a, .kw.o3 .kw-exit { font-size:9.5px; padding:5px 3px 6px; } }

/* ================= HỌC AI NHIỀU ACADEMY (04/12/2026) =================
   #/lop-5 là cổng: mỗi academy một thẻ (hoc-ai.json). #/hoc/<id> là trang một academy, bài chia theo khoá. */
.ac-grid { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:20px; }
.ac-card { position:relative; display:flex; flex-direction:column; gap:10px; padding:24px 24px 22px; border-radius:26px; background:var(--side); color:inherit; min-height:270px; overflow:hidden; transition:transform .2s, box-shadow .2s; }
.ac-card::before { content:""; position:absolute; left:0; right:0; top:0; height:8px; background:var(--band); }
a.ac-card:hover { transform:translateY(-3px); box-shadow:0 14px 34px rgba(0,0,0,.09); }
.ac-top { display:flex; align-items:center; justify-content:space-between; margin:6px 0 8px; }
.ac-logo { display:grid; place-items:center; width:58px; height:58px; border-radius:16px; background:#fff; box-shadow:0 1px 0 var(--line); }
.ac-logo img { width:36px; height:36px; border-radius:8px; display:block; }
.ac-logo svg { width:30px; height:30px; fill:none; stroke:#000; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.ac-tag { padding:5px 11px; border-radius:999px; background:#fff; font-size:12px; font-weight:700; color:var(--muted); }
.ac-tag.on { background:#000; color:var(--lime); }
.ac-card h3 { margin:0; font-size:24px; font-weight:700; letter-spacing:-.03em; }
.ac-card p { margin:0; font-size:14.5px; line-height:1.55; color:var(--muted); }
.ac-meta { display:flex; flex-wrap:wrap; gap:6px; margin-top:auto; padding-top:10px; }
.ac-meta span { padding:5px 11px; border-radius:999px; background:#fff; font-size:12.5px; font-weight:600; }
.ac-go { display:inline-flex; align-items:center; gap:8px; margin-top:6px; font-weight:700; font-size:15px; }
.ac-go i { font-style:normal; transition:transform .25s; } a.ac-card:hover .ac-go i { transform:translateX(4px); }
.ac-card.soon { opacity:.62; } .ac-card.soon .ac-logo img { filter:grayscale(1); }
.ac-note { margin:0 0 36px; padding:14px 18px; border-radius:16px; background:var(--side); font-size:13.5px; line-height:1.6; color:var(--muted); max-width:760px; }
.ac-note a, .ac-src a { color:var(--ink); font-weight:600; text-decoration:underline; text-underline-offset:3px; }
.ac-course { margin:0 0 52px; scroll-margin-top:90px; }
.ac-course .hc-kicker { margin-bottom:8px; }
.ac-cdesc { margin:0 0 10px; font-size:15.5px; color:var(--muted); max-width:44em; }
.ac-src { margin:14px 0 0; font-size:13.5px; color:var(--muted); }
.md + .ac-note { margin:44px 0 0; }
.ls-nav { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:28px 0 0; max-width:760px; }
.ls-step { display:flex; flex-direction:column; gap:6px; padding:16px 18px; border-radius:18px; border:1px solid var(--line); color:inherit; transition:background .2s, border-color .2s; }
.ls-step.next { text-align:right; background:#000; color:#fff; border-color:#000; } .ls-step.next small { color:var(--lime); }
.ls-step small { font-size:12px; font-weight:700; color:var(--muted); } .ls-step b { font-size:15.5px; line-height:1.35; }
.ls-step.prev:hover { background:var(--side); }
@media (max-width:1000px) { .ac-grid { grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width:760px) { .ac-grid, .ls-nav { grid-template-columns:1fr; } .ac-card { min-height:0; } .ls-step.next { text-align:left; } }
/* điện thoại: thanh menu dính có nền mờ, để chữ bài viết không chồng lên menu khi cuộn */
@media (max-width:760px) { [data-sb] .rail { background:color-mix(in srgb, var(--page) 90%, transparent) !important; -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); } }

/* ================= HỌC AI KIỂU KHÁM PHÁ (05/12/2026) · 3 option qua ?hoc=1|2|3 =================
   Bài chưa học tới không khoá: chỉ giảm màu (grayscale) và nhạt dần theo khoảng cách --d; rê chuột hoặc chạm là sáng lại. */
.xp-bar { margin-bottom:18px; }
.xp-hero { position:relative; overflow:hidden; display:grid; grid-template-columns:1fr auto; gap:40px; align-items:center; background:#0b0c09; color:#fff; border-radius:32px; padding:56px 56px 52px; margin:0 0 36px; isolation:isolate; }
.xp-hero::before { content:""; position:absolute; z-index:-1; width:620px; height:620px; right:-160px; top:-260px; border-radius:50%; background:radial-gradient(closest-side, color-mix(in srgb, var(--lime) 55%, transparent), transparent); opacity:.55; }
.xp-hero::after { content:""; position:absolute; z-index:-1; inset:0; background:radial-gradient(1200px 400px at 0% 120%, color-mix(in srgb, var(--band) 30%, transparent), transparent 70%); }
.xp-wm { position:absolute; z-index:-1; right:26%; bottom:-90px; width:340px; height:340px; opacity:.07; filter:grayscale(1) brightness(3); }
.xp-wm img { width:100%; height:100%; object-fit:contain; }
.xp-logo { flex:none; display:grid; place-items:center; width:44px; height:44px; border-radius:13px; background:#fff; box-shadow:0 2px 10px rgba(0,0,0,.18); }
.xp-logo img { width:68%; height:68%; object-fit:contain; }
.xp-brand { display:inline-flex; align-items:center; gap:12px; font-size:13px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--lime); margin-bottom:22px; }
.xp-hero h1 { margin:0 0 16px; font-size:clamp(40px, 6.2vw, 84px); line-height:1; letter-spacing:-.045em; font-weight:300; }
.xp-hero h1 b { font-weight:700; color:var(--lime); }
.xp-hero p { margin:0 0 24px; font-size:18px; line-height:1.55; color:rgba(255,255,255,.72); max-width:34em; }
.xp-chips { display:flex; flex-wrap:wrap; gap:8px; }
.xp-chips span { padding:7px 14px; border-radius:999px; border:1px solid rgba(255,255,255,.22); font-size:13px; color:rgba(255,255,255,.85); }
.xp-hr { display:flex; flex-direction:column; align-items:center; gap:16px; }
.xp-ring { position:relative; width:176px; height:176px; }
.xp-ring svg { width:100%; height:100%; transform:rotate(-90deg); }
.xp-ring circle { fill:none; stroke-width:8; } .xp-ring .bg { stroke:rgba(255,255,255,.14); } .xp-ring .fg { stroke:var(--lime); stroke-linecap:round; transition:stroke-dashoffset .8s; }
.xp-ring div { position:absolute; inset:0; display:grid; place-content:center; text-align:center; }
.xp-ring b { font-size:52px; line-height:1; letter-spacing:-.04em; font-weight:700; } .xp-ring span { font-size:13px; color:rgba(255,255,255,.65); }
.xp-cta { display:inline-flex; align-items:center; gap:10px; padding:15px 26px; border-radius:999px; background:var(--lime); color:#000; font-weight:700; font-size:15px; white-space:nowrap; transition:transform .2s; }
.xp-cta:hover { transform:translateY(-2px); } .xp-cta i, .xp-go i { font-style:normal; } .xp-cta.off { background:rgba(255,255,255,.14); color:#fff; }
.xp-reset { background:none; border:0; color:rgba(255,255,255,.55); font:inherit; font-size:12.5px; text-decoration:underline; cursor:pointer; }

/* thẻ bài đang học (dùng ở Option 1) */
.xp-now { position:relative; display:grid; grid-template-columns:auto 1fr auto; gap:26px; align-items:start; padding:36px 38px; border-radius:28px; background:var(--lime); color:#000; margin:0 0 34px; box-shadow:0 24px 60px color-mix(in srgb, var(--lime) 45%, transparent); transition:transform .25s; }
a.xp-now:hover { transform:translateY(-3px); }
.xp-now .xp-logo { width:64px; height:64px; border-radius:18px; }
.xp-now small { font-size:13px; font-weight:600; letter-spacing:.05em; text-transform:uppercase; color:var(--moss); }
.xp-now h2 { margin:8px 0 10px; font-size:clamp(26px, 3.4vw, 42px); line-height:1.12; letter-spacing:-.035em; font-weight:700; }
.xp-now p { margin:0 0 18px; font-size:16px; line-height:1.55; max-width:40em; color:#1c2408; }
.xp-go { display:inline-flex; gap:10px; padding:13px 24px; border-radius:999px; background:#000; color:var(--lime); font-weight:700; font-size:15px; }
.xp-now em { font-style:normal; font-size:13px; font-weight:600; padding:7px 13px; border-radius:999px; background:rgba(0,0,0,.09); white-space:nowrap; }
.xp-past { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 18px; font-size:13px; color:var(--muted); }
.xp-past span { margin-right:6px; font-weight:600; }
.xp-past a { display:grid; place-items:center; width:30px; height:30px; border-radius:50%; background:#000; color:var(--lime); font-size:12px; font-weight:700; }
.xp-h { display:flex; flex-wrap:wrap; align-items:baseline; gap:12px; margin:0 0 16px; } .xp-h b { font-size:22px; letter-spacing:-.02em; } .xp-h span { font-size:14px; color:var(--muted); }

/* ô bài dùng chung: đã học thì đủ màu, chưa tới thì xám dần */
.xp-t { display:flex; flex-direction:column; gap:14px; padding:18px; border-radius:20px; background:var(--side); color:inherit; min-height:150px; transition:filter .35s, opacity .35s, transform .25s, box-shadow .25s; }
.xp-n { display:grid; place-items:center; width:46px; height:46px; border-radius:14px; background:var(--band); color:#000; font-weight:700; font-size:15px; }
.xp-t.h-moss .xp-n, .xp-t.h-ink .xp-n { color:#fff; }
.xp-tt small { display:block; font-size:12px; color:var(--muted); margin-bottom:5px; } .xp-tt b { font-size:15.5px; line-height:1.3; letter-spacing:-.01em; }
.xp-t.ahead, .xp-s.ahead a, .xp-mile.ahead, .xp-zone.ahead > header { filter:grayscale(1); opacity:calc(.82 - var(--d, 3) * .075); }
.xp-t.ahead:hover, .xp-t.ahead:focus-visible, .xp-s.ahead a:hover, .xp-s.ahead a:focus-visible { filter:none; opacity:1; transform:translateY(-3px); box-shadow:0 12px 30px rgba(0,0,0,.09); outline:none; }
.xp-t.done .xp-n { background:#000; color:var(--lime); }
.xp-t.now { background:var(--lime); box-shadow:0 18px 44px color-mix(in srgb, var(--lime) 45%, transparent); } .xp-t.now .xp-n { background:#000; color:var(--lime); } .xp-t.now small { color:var(--moss); }

/* Option 1 · dải bài phía trước, vuốt ngang */
.xp-rail { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(210px, 1fr); gap:14px; overflow-x:auto; padding:6px 2px 22px; margin:0 0 20px; scroll-snap-type:x proximity; -webkit-mask-image:linear-gradient(90deg, #000 82%, transparent); mask-image:linear-gradient(90deg, #000 82%, transparent); }
.xp-rail .xp-t { scroll-snap-align:start; }

/* Option 2 · đường mòn */
.xp2 { list-style:none; margin:0 0 20px; padding:0 0 0 30px; position:relative; max-width:820px; }
.xp2::before { content:""; position:absolute; left:29px; top:10px; bottom:10px; width:3px; border-radius:3px; background:repeating-linear-gradient(#000 0 6px, transparent 6px 14px); opacity:.18; }
.xp2.fold { -webkit-mask-image:linear-gradient(#000 78%, transparent); mask-image:linear-gradient(#000 78%, transparent); }
.xp-s.far { display:none; }
.xp-s a { position:relative; display:grid; grid-template-columns:auto 1fr; gap:22px; align-items:center; padding:12px 16px 12px 0; margin-left:-30px; color:inherit; border-radius:18px; transition:filter .35s, opacity .35s, transform .25s; }
.xp-dot { position:relative; z-index:1; flex:none; display:grid; place-items:center; width:60px; height:60px; border-radius:50%; background:var(--side); border:3px solid var(--panel, #fff); font-style:normal; font-weight:700; font-size:15px; box-shadow:0 0 0 2px rgba(0,0,0,.12); }
.xp-s.done .xp-dot { background:#000; color:var(--lime); box-shadow:none; }
.xp-s.ahead .xp-dot { background:var(--lime); }
.xp-s small { display:block; font-size:12px; color:var(--muted); margin-bottom:3px; } .xp-s b { font-size:17px; letter-spacing:-.01em; }
.xp-s.now a { background:var(--lime); padding:26px 28px 26px 0; margin:14px 0 14px -30px; box-shadow:0 20px 50px color-mix(in srgb, var(--lime) 45%, transparent); align-items:start; }
.xp-s.now .xp-dot { width:76px; height:76px; margin-left:-8px; background:#fff; box-shadow:0 0 0 6px color-mix(in srgb, var(--lime) 60%, transparent), 0 6px 18px rgba(0,0,0,.18); } .xp-s.now .xp-dot img { width:58%; height:58%; object-fit:contain; }
.xp-s.now small { color:var(--moss); font-weight:600; text-transform:uppercase; letter-spacing:.05em; } .xp-s.now b { font-size:clamp(22px, 2.8vw, 32px); line-height:1.15; letter-spacing:-.03em; }
.xp-s.now p { margin:8px 0 14px; font-size:15.5px; line-height:1.55; } .xp-s.now u { display:inline-block; text-decoration:none; padding:11px 22px; border-radius:999px; background:#000; color:var(--lime); font-weight:700; font-size:14.5px; }
.xp-mile { margin:26px 0 8px 46px; } .xp-mile:first-child { margin-top:0; } .xp-mile span { display:block; font-size:12px; font-weight:600; letter-spacing:.07em; text-transform:uppercase; color:var(--moss); } .xp-mile b { font-size:24px; letter-spacing:-.03em; }
.xp-more { display:block; margin:0 0 30px 46px; padding:13px 22px; border-radius:999px; border:1.5px dashed rgba(0,0,0,.3); background:none; font:inherit; font-size:14px; font-weight:600; cursor:pointer; } .xp-more:hover { background:#000; color:var(--lime); border-color:#000; }

/* Option 3 · bản đồ */
.xp-zone { margin:0 0 34px; padding:26px; border-radius:28px; background:var(--side); }
.xp-zone.ahead { background:transparent; border:1.5px dashed rgba(0,0,0,.18); }
.xp-zone > header { position:relative; margin:0 0 18px; padding-right:80px; } .xp-zone header span { font-size:12px; font-weight:600; letter-spacing:.07em; text-transform:uppercase; color:var(--moss); }
.xp-zone h2 { margin:4px 0 4px; font-size:28px; letter-spacing:-.03em; } .xp-zone header p { margin:0; font-size:14.5px; color:var(--muted); max-width:44em; }
.xp-zone header em { position:absolute; right:0; top:0; font-style:normal; font-weight:700; font-size:14px; padding:7px 14px; border-radius:999px; background:#000; color:var(--lime); }
.xp-map { display:grid; grid-template-columns:repeat(auto-fill, minmax(190px, 1fr)); gap:12px; }
.xp-map .xp-t { background:var(--panel, #fff); min-height:136px; } .xp-map .xp-t.now { background:var(--lime); }
.xp-map .xp-t.big { grid-column:span 2; min-height:160px; } .xp-map .xp-t.big b { font-size:22px; letter-spacing:-.02em; }

/* cổng Học AI: thanh tiến độ trên mỗi thẻ */
.ac-bar { display:block; height:5px; border-radius:5px; background:rgba(0,0,0,.09); overflow:hidden; margin-top:auto; } .ac-bar i { display:block; height:100%; background:#000; border-radius:5px; }
.ac-card .ac-bar + .ac-go { margin-top:0; }

@media (max-width:900px) {
  .xp-hero { grid-template-columns:1fr; padding:34px 24px 30px; border-radius:24px; gap:26px; }
  .xp-hr { flex-direction:row; flex-wrap:wrap; justify-content:flex-start; } .xp-ring { width:104px; height:104px; } .xp-ring b { font-size:30px; } .xp-ring span { font-size:11px; }
  .xp-hero p { font-size:16px; } .xp-wm { right:-60px; }
  .xp-now { grid-template-columns:1fr; padding:26px 22px; gap:16px; border-radius:22px; } .xp-now em { justify-self:start; order:-1; } .xp-now .xp-logo { width:52px; height:52px; }
  .xp-rail { grid-auto-columns:72%; }
  .xp-s a { gap:14px; } .xp-s.now a { padding:20px 18px 20px 0; } .xp-dot { width:52px; height:52px; } .xp2 { padding-left:26px; } .xp2::before { left:25px; } .xp-s a { margin-left:-26px; } .xp-s.now a { margin-left:-26px; } .xp-s.now .xp-dot { width:60px; height:60px; margin-left:-4px; }
  .xp-mile, .xp-more { margin-left:40px; }
  .xp-zone { padding:18px 14px; border-radius:22px; } .xp-map { grid-template-columns:repeat(2, minmax(0,1fr)); } .xp-zone h2 { font-size:23px; }
}
@media (prefers-reduced-motion: reduce) { .xp-t, .xp-s a, .xp-now, .xp-cta { transition:none; } }
.xp-wm { display:none; }
@media (max-width:900px) { .xp-bar { display:flex; flex-direction:column; border-radius:20px; } .xp-bar a { white-space:normal; border-radius:14px; } }

/* Chốt 05/12/2026: giữ kiểu Đường mòn. Cổng Học AI cùng kiểu: khối đầu nền đen + thẻ academy có vệt đường mòn */
.xp-hero.hub h1 { font-size:clamp(34px, 5vw, 66px); line-height:1.04; } .xp-hero.hub h1 b { display:block; }
.xp-hubg { grid-template-columns:repeat(2, minmax(0,1fr)); }
.xp-hubg .ac-card { min-height:320px; padding:30px 30px 26px; }
.xp-hubg .ac-card.cur { background:var(--lime); box-shadow:0 20px 50px color-mix(in srgb, var(--lime) 40%, transparent); } .xp-hubg .ac-card.cur::before { display:none; } .xp-hubg .ac-card.cur p { color:#1c2408; }
.xp-hubg .ac-logo { width:64px; height:64px; border-radius:18px; } .xp-hubg .ac-card h3 { font-size:30px; }
.ac-trail { display:flex; align-items:center; gap:6px; margin-top:auto; padding-top:8px; }
.ac-trail i { width:12px; height:12px; border-radius:50%; background:rgba(0,0,0,.13); } .ac-trail i.d { background:#000; } .ac-trail i.n { width:18px; height:18px; background:#000; box-shadow:0 0 0 4px color-mix(in srgb, var(--lime) 80%, #fff); }
.ac-trail em { font-style:normal; font-size:12px; font-weight:600; color:var(--muted); margin-left:4px; }
.ac-next { display:block; font-size:15px; font-weight:600; line-height:1.35; } .ac-next small { display:block; font-size:11.5px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--moss); margin-bottom:2px; }
.xp-hubg .ac-go { margin-top:4px; }
@media (max-width:760px) { .xp-hubg { grid-template-columns:1fr; } .xp-hubg .ac-card { min-height:0; padding:24px 22px 22px; } .xp-hubg .ac-card h3 { font-size:25px; } .ac-trail i { width:10px; height:10px; } }

/* Trang chủ · mục Học AI kiểu Đường mòn (05/12/2026) */
.xp-home { position:relative; overflow:hidden; isolation:isolate; display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:44px 56px; background:#0b0c09; color:#fff; border-radius:32px; padding:60px 56px 40px; }
.xp-home::before { content:""; position:absolute; z-index:-1; width:700px; height:700px; right:-200px; top:-300px; border-radius:50%; background:radial-gradient(closest-side, color-mix(in srgb, var(--lime) 55%, transparent), transparent); opacity:.5; }
.xp-home h2 { margin:0 0 18px; font-size:clamp(36px, 5vw, 68px); line-height:1.03; letter-spacing:-.045em; font-weight:300; } .xp-home h2 b { display:block; font-weight:700; color:var(--lime); }
.xp-hm-l p { margin:0 0 24px; font-size:18px; line-height:1.55; color:rgba(255,255,255,.72); max-width:32em; }
.xp-hm-cta { display:flex; flex-wrap:wrap; align-items:center; gap:14px; margin-top:28px; }
.xp-ghost { padding:14px 22px; border-radius:999px; border:1px solid rgba(255,255,255,.3); color:#fff; font-weight:600; font-size:15px; } .xp-ghost:hover { background:#fff; color:#000; }
.xp-hm-r { align-self:center; } .xp-hm-k { display:block; font-size:12px; font-weight:600; letter-spacing:.07em; text-transform:uppercase; color:var(--lime); margin:0 0 14px 2px; }
.xp-hm-trail { margin:0; max-width:none; } .xp-hm-trail::before { background:repeating-linear-gradient(#fff 0 6px, transparent 6px 14px); opacity:.25; }
.xp-hm-trail .xp-s a { color:#fff; padding:10px 14px 10px 0; } .xp-hm-trail .xp-s small { color:rgba(255,255,255,.6); } .xp-hm-trail .xp-s b { font-size:16px; }
.xp-hm-trail .xp-dot { width:52px; height:52px; border-color:#0b0c09; color:#000; box-shadow:none; }
.xp-hm-trail .xp-s.now a { color:#000; padding:18px 20px 18px 0; margin:0 0 10px -30px; align-items:center; box-shadow:0 18px 50px color-mix(in srgb, var(--lime) 35%, transparent); }
.xp-hm-trail .xp-s.now small { color:var(--moss); } .xp-hm-trail .xp-s.now b { font-size:21px; line-height:1.2; } .xp-hm-trail .xp-s.now .xp-dot { width:64px; height:64px; margin-left:-6px; }
.xp-hm-trail .xp-s.ahead a:hover { box-shadow:none; background:rgba(255,255,255,.08); }
.xp-hm-more { display:inline-block; margin:12px 0 0 46px; font-size:14px; font-weight:600; color:var(--lime); }
.xp-hm-ac { grid-column:1 / -1; display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:10px; padding-top:28px; border-top:1px solid rgba(255,255,255,.14); }
.xp-hm-ac a { display:flex; align-items:center; gap:12px; padding:12px 14px; border-radius:18px; background:rgba(255,255,255,.07); color:#fff; transition:background .2s, transform .2s; }
.xp-hm-ac a:hover { background:rgba(255,255,255,.14); transform:translateY(-2px); } .xp-hm-ac a.cur { background:var(--lime); color:#000; }
.xp-hm-ac b { display:block; font-size:14.5px; line-height:1.2; } .xp-hm-ac small { font-size:12px; opacity:.7; } .xp-hm-ac a > span:nth-child(2) { flex:1; min-width:0; } .xp-hm-ac i { font-style:normal; opacity:.6; }
@media (max-width:1000px) { .xp-home { grid-template-columns:1fr; padding:36px 24px 26px; border-radius:24px; gap:30px; } .xp-hm-ac { grid-template-columns:repeat(2, minmax(0,1fr)); } .xp-hm-l p { font-size:16px; }
  .xp-hm-trail .xp-s.now a { margin-left:-26px; } .xp-hm-more { margin-left:40px; } }
@media (max-width:520px) { .xp-hm-ac { grid-template-columns:1fr; } }
.xp-hm-ac i { display:none; }

/* ================= 3 OPTION MỤC HỌC AI TRÊN TRANG CHỦ (05/12/2026, chưa chốt) · ?hh=1|2|3 =================
   Cả ba nằm trong nền trang (sương, trắng, xanh chanh), cùng cỡ chữ với cổng Kho AI và tiêu đề mục; không tách khối đen. */
.hh .xp-logo { box-shadow:0 1px 4px rgba(0,0,0,.12); }
.hh-cta { display:inline-flex; align-items:center; gap:10px; padding:14px 24px; border-radius:999px; background:#000; color:var(--lime); font-weight:700; font-size:15px; transition:transform .2s; } .hh-cta:hover { transform:translateY(-2px); } .hh-cta i { font-style:normal; }
.hh-ghost { padding:13px 20px; border-radius:999px; border:1.5px solid rgba(0,0,0,.2); font-weight:600; font-size:15px; } .hh-ghost:hover { background:#000; color:#fff; border-color:#000; }
.hh-btn { display:flex; flex-wrap:wrap; gap:12px; margin-top:26px; }
.hh-ac { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:10px; }
.hh-ac a { display:flex; align-items:center; gap:12px; padding:12px 14px; border-radius:18px; background:var(--panel, #fff); color:inherit; transition:transform .2s, box-shadow .2s; }
.hh-ac a:hover { transform:translateY(-2px); box-shadow:0 10px 26px rgba(0,0,0,.08); } .hh-ac a.cur { background:var(--lime); }
.hh-ac b { display:block; font-size:14.5px; line-height:1.2; } .hh-ac small { font-size:12px; color:var(--muted); } .hh-ac a.cur small { color:var(--moss); }

/* Option 1 · Đường mòn sáng */
.hh1 { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:34px 48px; align-items:center; background:var(--side); border-radius:28px; padding:44px 44px 30px; }
.hh1 .hub-k { color:var(--moss); }
.hh1 h2 { margin:10px 0 14px; font-size:clamp(30px, 3.6vw, 50px); line-height:1.08; letter-spacing:-.035em; font-weight:400; } .hh1 h2 b { font-weight:700; }
.hh1 p { margin:0; font-size:16.5px; line-height:1.55; color:var(--muted); max-width:30em; }
.hh-trail { margin:0; max-width:none; } .hh-trail .xp-dot { width:52px; height:52px; border-color:var(--side); }
.hh-trail .xp-s a { padding:9px 14px 9px 0; } .hh-trail .xp-s b { font-size:16px; }
.hh-trail .xp-s.now a { padding:18px 20px 18px 0; margin:0 0 10px -30px; align-items:center; box-shadow:0 16px 40px color-mix(in srgb, var(--lime) 45%, transparent); }
.hh-trail .xp-s.now b { font-size:21px; line-height:1.2; } .hh-trail .xp-s.now .xp-dot { width:64px; height:64px; margin-left:-6px; }
.hh-more { display:inline-block; margin:10px 0 0 46px; font-size:14px; font-weight:600; color:var(--moss); }
.hh1 .hh-ac { grid-column:1 / -1; padding-top:26px; border-top:1px solid rgba(0,0,0,.09); }

/* Option 2 · Con đường ngang (không khung) */
.hh-road { list-style:none; margin:0 0 30px; padding:0; display:grid; grid-template-columns:1.7fr repeat(4, minmax(0,1fr)); gap:14px; position:relative; }
.hh-road::before { content:""; position:absolute; left:20px; right:20px; top:44px; height:3px; background:repeating-linear-gradient(90deg, #000 0 6px, transparent 6px 14px); opacity:.18; }
.hh-road li { position:relative; } .hh-road a { display:block; height:100%; padding:16px 16px 18px; border-radius:22px; color:inherit; transition:filter .35s, opacity .35s, transform .25s, background .25s; }
.hh-road .xp-dot { width:56px; height:56px; margin-bottom:16px; border-color:var(--panel, #fff); background:var(--lime); }
.hh-road small { display:block; font-size:12px; color:var(--muted); margin-bottom:4px; } .hh-road b { display:block; font-size:16px; line-height:1.3; letter-spacing:-.01em; }
.hh-road .ahead a { filter:grayscale(1); opacity:calc(.85 - var(--d, 2) * .11); } .hh-road .ahead a:hover, .hh-road .ahead a:focus-visible { filter:none; opacity:1; background:var(--side); transform:translateY(-3px); outline:none; }
.hh-road .now a { background:var(--lime); padding:22px 24px 24px; box-shadow:0 18px 44px color-mix(in srgb, var(--lime) 45%, transparent); }
.hh-road .now .xp-dot { width:68px; height:68px; margin-top:-10px; background:#fff; box-shadow:0 0 0 5px color-mix(in srgb, var(--lime) 60%, transparent), 0 6px 16px rgba(0,0,0,.16); } .hh-road .now .xp-dot img { width:58%; height:58%; object-fit:contain; }
.hh-road .now small { color:var(--moss); font-weight:600; text-transform:uppercase; letter-spacing:.05em; } .hh-road .now b { font-size:clamp(20px, 2.2vw, 27px); line-height:1.15; letter-spacing:-.03em; }
.hh-road u { display:inline-block; text-decoration:none; margin-top:16px; padding:11px 20px; border-radius:999px; background:#000; color:var(--lime); font-weight:700; font-size:14.5px; }
.hh2 .hh-ac a { background:var(--side); } .hh2 .hh-ac a.cur { background:var(--lime); }

/* Option 3 · Cổng học (anh em với cổng Kho AI) */
.hh-folder { grid-template-columns:repeat(2, 1fr); gap:14px; padding:26px; } .hh-folder i { display:grid; place-items:center; border-radius:18px; } .hh-folder img { width:68%; height:68%; object-fit:contain; }
.hh-chip { --kt:var(--panel, #fff); --k:#000; padding-left:14px; } .hh-chip b { color:var(--moss); }
.hh-road.sm { grid-template-columns:1.3fr repeat(3, minmax(0,1fr)); margin:22px 0 0; } .hh-road.sm::before { top:38px; }
.hh-road.sm .now a { padding:16px 18px 18px; box-shadow:none; } .hh-road.sm .now b { font-size:19px; } .hh-road.sm .xp-dot, .hh-road.sm .now .xp-dot { width:46px; height:46px; margin:0 0 12px; box-shadow:none; }

@media (max-width:900px) {
  .hh1 { grid-template-columns:1fr; padding:28px 20px 22px; border-radius:22px; gap:26px; } .hh-trail .xp-s.now a { margin-left:-26px; } .hh-more { margin-left:40px; }
  .hh-ac { grid-template-columns:repeat(2, minmax(0,1fr)); }
  .hh-road, .hh-road.sm { grid-template-columns:1fr; gap:6px; } .hh-road::before { display:none; }
  .hh-road .ahead a { display:grid; grid-template-columns:auto 1fr; column-gap:14px; align-items:center; padding:10px 12px; } .hh-road .ahead .xp-dot { grid-row:1 / 3; width:46px; height:46px; margin:0; } .hh-road .ahead small { align-self:end; margin:0; } .hh-road .ahead b { align-self:start; }
  .hh-road .now a { margin-bottom:8px; }
}
@media (max-width:480px) { .hh-ac { grid-template-columns:1fr; } }

/* Logo hãng phủ kín ô (05/12/2026): logo Claude, ChatGPT, Gemini hiện đủ cỡ, không thu nhỏ trong ô trắng */
.xp-logo, .ac-logo, .hh-folder i, .xp-dot { overflow:hidden; }
.xp-logo img.lg-full, .ac-logo img.lg-full, .hh-folder img.lg-full, .xp-dot img.lg-full, .xp-s.now .xp-dot img.lg-full, .hh-road .now .xp-dot img.lg-full { width:100%; height:100%; object-fit:cover; border-radius:inherit; display:block; filter:none; }
img.lg-mark { width:70%; height:70%; object-fit:contain; }
.hh-ac .xp-logo, .xp-hm-ac .xp-logo { width:54px; height:54px; border-radius:15px; }
.hh-ac b, .xp-hm-ac b { font-size:15.5px; }

/* ================= MỤC HỌC AI TRANG CHỦ · chốt "Con đường ngang" + chút neon (05/12/2026) ================= */
:root { --neon:0 0 0 1.5px color-mix(in srgb, var(--lime) 85%, #fff), 0 0 18px color-mix(in srgb, var(--lime) 75%, transparent), 0 0 46px color-mix(in srgb, var(--lime) 45%, transparent); }
.hh2 .mg-sec-head { margin-bottom:12px; }
.hh2 .mg-sec-head h2 b { background:linear-gradient(transparent 62%, color-mix(in srgb, var(--lime) 85%, transparent) 62% 92%, transparent 92%); padding:0 .08em; margin:0 -.08em; }
.hh-sub { margin:0 0 34px; font-size:16px; line-height:1.55; color:var(--muted); max-width:44em; } .hh-sub b { color:#000; font-weight:600; }
.hh2 .hh-road { grid-template-columns:1.75fr repeat(4, minmax(0,1fr)); gap:10px; margin-bottom:26px; padding:10px 0 4px; }
/* vệt sáng: sáng nhất ở bài đang học, tắt dần về phía trước */
.hh2 .hh-road::before { left:40px; right:10px; top:56px; height:4px; border-radius:4px; opacity:1;
  background:linear-gradient(90deg, var(--lime) 0 26%, color-mix(in srgb, var(--lime) 55%, #d9dccf) 46%, #d9dccf 70%, transparent);
  box-shadow:0 0 14px color-mix(in srgb, var(--lime) 80%, transparent), 0 0 34px color-mix(in srgb, var(--lime) 40%, transparent);
  -webkit-mask-image:linear-gradient(90deg, #000 0 38%, transparent 82%); mask-image:linear-gradient(90deg, #000, #000); }
.hh2 .hh-road::after { content:""; position:absolute; left:40px; right:10px; top:57px; height:2px; background:repeating-linear-gradient(90deg, rgba(0,0,0,.28) 0 5px, transparent 5px 13px); -webkit-mask-image:linear-gradient(90deg, transparent 30%, #000 60%); mask-image:linear-gradient(90deg, transparent 30%, #000 60%); }
.hh2 .hh-road li { z-index:1; }
.hh2 .hh-road a { padding:16px 14px 18px; border-radius:24px; }
.hh2 .hh-road .xp-dot { width:54px; height:54px; margin-bottom:18px; background:var(--panel, #fff); border:2px solid #d9dccf; box-shadow:none; color:#000; font-size:15px; }
.hh2 .hh-road .ahead a { opacity:calc(.92 - var(--d, 2) * .13); }
.hh2 .hh-road .ahead a:hover .xp-dot, .hh2 .hh-road .ahead a:focus-visible .xp-dot { border-color:var(--lime); background:var(--lime); box-shadow:var(--neon); }
.hh2 .hh-road .now a { background:#0b0c09; color:#fff; padding:24px 26px 26px; border-radius:28px; box-shadow:var(--neon); }
.hh2 .hh-road .now a:hover { transform:translateY(-3px); }
.hh2 .hh-road .now .xp-dot { width:72px; height:72px; margin:-4px 0 20px; border:0; background:#fff; box-shadow:0 0 0 3px var(--lime), 0 0 22px color-mix(in srgb, var(--lime) 80%, transparent); animation:hh-pulse 2.6s ease-in-out infinite; }
.hh2 .hh-road .now small { color:var(--lime); } .hh2 .hh-road .now b { font-size:clamp(21px, 2.3vw, 29px); }
.hh2 .hh-road u { background:var(--lime); color:#000; box-shadow:0 0 18px color-mix(in srgb, var(--lime) 60%, transparent); }
@keyframes hh-pulse { 50% { box-shadow:0 0 0 3px var(--lime), 0 0 38px color-mix(in srgb, var(--lime) 95%, transparent), 0 0 70px color-mix(in srgb, var(--lime) 40%, transparent); } }
/* thẻ academy */
.hh2 .hh-ac { gap:12px; }
.hh2 .hh-ac a { position:relative; gap:14px; padding:14px 16px; border-radius:22px; background:var(--side); border:1.5px solid transparent; transition:transform .2s, box-shadow .25s, border-color .25s, background .25s; }
.hh2 .hh-ac a:hover { background:var(--panel, #fff); border-color:var(--lime); box-shadow:var(--neon); transform:translateY(-3px); }
.hh2 .hh-ac a.cur { background:var(--panel, #fff); border-color:var(--lime); box-shadow:0 0 0 1.5px color-mix(in srgb, var(--lime) 85%, #fff), 0 0 16px color-mix(in srgb, var(--lime) 55%, transparent); }
.hh2 .hh-ac a > span:nth-child(2) { flex:1; min-width:0; } .hh2 .hh-ac b { font-size:16px; letter-spacing:-.01em; } .hh2 .hh-ac small { font-size:12.5px; }
.hh2 .hh-ac i { font-style:normal; opacity:0; transform:translateX(-6px); transition:opacity .2s, transform .2s; } .hh2 .hh-ac a:hover i { opacity:1; transform:none; }
.hh2 .hh-ac .xp-logo { width:58px; height:58px; border-radius:16px; }

/* Tỉ lệ logo (05/12/2026): logo hãng nằm giữa ô trắng bo góc, cỡ quang học ngang nhau; --ls chỉnh riêng từng hãng trong hoc-ai.json (logoScale) */
.xp-logo, .ac-logo, .xp-dot { display:grid; place-items:center; background:#fff; }
.xp-logo img.lg-full, .ac-logo img.lg-full, .hh-folder img.lg-full, .xp-dot img.lg-full, .xp-s.now .xp-dot img.lg-full, .hh-road .now .xp-dot img.lg-full { width:calc(var(--ls, .88) * 100%); height:calc(var(--ls, .88) * 100%); object-fit:contain; border-radius:0; }
img.lg-mark, .xp-dot img.lg-mark, .xp-s.now .xp-dot img.lg-mark, .hh-road .now .xp-dot img.lg-mark { width:64%; height:64%; object-fit:contain; }
.hh2 .hh-road .ahead .xp-dot, .hh-trail .ahead .xp-dot { background:var(--panel, #fff); }

@media (max-width:900px) {
  .hh2 .hh-road { grid-template-columns:1fr; padding-top:0; } .hh2 .hh-road::before, .hh2 .hh-road::after { display:none; }
  .hh2 .hh-road .now a { padding:22px 20px 22px; margin-bottom:10px; }
  .hh2 .hh-road .ahead .xp-dot { width:46px; height:46px; margin:0; }
  .hh2 .hh-ac i { display:none; }
}
@media (prefers-reduced-motion: reduce) { .hh2 .hh-road .now .xp-dot { animation:none; } }

.hh2 .hh-ac b { font-size:15px; line-height:1.2; } .hh2 .hh-ac .xp-logo { width:54px; height:54px; border-radius:15px; } .hh2 .hh-ac a { gap:12px; padding:14px; }

/* ================= MỤC HỌC AI TRANG CHỦ · TONE XANH NEON (05/12/2026, theo ảnh mẫu của người dùng) =================
   Nền đen ánh xanh + lưới chấm, chữ mono, số lớn chuyển sắc xanh, lưới ô bài nhiều sắc xanh. Màu: --nx1 sáng nhất → --nx4 trầm nhất. */
.nx { --nx1:#C6F264; --nx2:#8BD13C; --nx3:#4C9A2A; --nx4:#1E4A17; --nxbg:#050805;
  position:relative; isolation:isolate; overflow:hidden; border-radius:32px; padding:56px 52px 40px; color:#fff; background:var(--nxbg);
  display:grid; grid-template-columns:minmax(0,1fr) auto; gap:26px 40px; align-items:end; }
.nx::before { content:""; position:absolute; inset:0; z-index:-2; background:radial-gradient(60% 55% at 50% 42%, rgba(96,170,40,.42), rgba(40,90,20,.16) 55%, transparent 78%); }
.nx::after { content:""; position:absolute; inset:0; z-index:-1; background-image:radial-gradient(rgba(198,242,100,.20) 1px, transparent 1.4px); background-size:22px 22px; -webkit-mask-image:radial-gradient(75% 70% at 50% 45%, #000, transparent); mask-image:radial-gradient(75% 70% at 50% 45%, #000, transparent); }
.nx-mono, .nx-ac small, .nx-nt small, .nx-stat small { font-family:ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; }
.nx-mono { display:block; font-size:14px; letter-spacing:.02em; color:rgba(198,242,100,.6); margin-bottom:18px; } .nx-mono i { font-style:normal; opacity:.6; } .nx-mono b { color:#e9f7c8; font-weight:600; }
.nx h2 { margin:0 0 14px; font-size:clamp(34px, 4.6vw, 62px); line-height:1.04; letter-spacing:-.04em; font-weight:400; }
.nx h2 b, .nx-stat > b { font-weight:800; background:linear-gradient(100deg, var(--nx1) 0%, var(--nx2) 45%, var(--nx3) 100%); -webkit-background-clip:text; background-clip:text; color:transparent; filter:drop-shadow(0 0 22px rgba(139,209,60,.45)); }
.nx h2 b { display:block; }
.nx-head p { margin:0; font-size:16.5px; line-height:1.55; color:rgba(255,255,255,.62); max-width:36em; }
.nx-stat { display:flex; align-items:flex-end; gap:12px; } .nx-stat > b { font-size:clamp(84px, 11vw, 150px); line-height:.82; letter-spacing:-.06em; }
.nx-stat span { font-size:20px; font-weight:600; color:rgba(255,255,255,.75); padding-bottom:8px; } .nx-stat small { display:block; font-size:12px; font-weight:400; color:rgba(198,242,100,.6); margin-top:4px; }
.nx-grid { grid-column:1 / -1; display:grid; gap:14px; margin-top:8px; }
.nx-row { display:grid; grid-template-columns:210px 1fr; gap:18px; align-items:center; }
.nx-ac { display:flex; align-items:center; gap:12px; color:#fff; } .nx-ac .xp-logo { width:46px; height:46px; border-radius:13px; box-shadow:none; }
.nx-ac b { display:block; font-size:15px; line-height:1.2; } .nx-ac small { font-size:11.5px; color:rgba(198,242,100,.6); }
.nx-row.cur .nx-ac .xp-logo { box-shadow:0 0 0 2px var(--nx1), 0 0 18px rgba(198,242,100,.7); }
.nx-cells { display:flex; flex-wrap:wrap; gap:6px; }
.nx-cells a { width:26px; height:26px; border-radius:7px; transition:transform .18s, box-shadow .18s, background .18s; }
.nx-cells .s0 { background:#16321a; } .nx-cells .s1 { background:var(--nx4); } .nx-cells .s2 { background:#2f6a22; } .nx-cells .s3 { background:#3f8228; }
.nx-cells .d { background:var(--nx1); box-shadow:0 0 12px rgba(198,242,100,.65); }
.nx-cells .n { background:#f3ffd2; box-shadow:0 0 0 2px var(--nx1), 0 0 18px rgba(198,242,100,.95); animation:nx-pulse 2.2s ease-in-out infinite; }
.nx-cells a:hover, .nx-cells a:focus-visible { background:var(--nx1); transform:scale(1.25); box-shadow:0 0 16px rgba(198,242,100,.9); outline:none; }
@keyframes nx-pulse { 50% { box-shadow:0 0 0 2px var(--nx1), 0 0 34px rgba(198,242,100,1), 0 0 60px rgba(139,209,60,.5); } }
.nx-now { grid-column:1 / -1; display:grid; grid-template-columns:auto 1fr auto; gap:18px; align-items:center; margin-top:14px; padding:18px 20px; border-radius:22px; color:#fff;
  background:rgba(198,242,100,.07); border:1px solid rgba(198,242,100,.45); box-shadow:0 0 26px rgba(139,209,60,.22), inset 0 0 30px rgba(139,209,60,.08); transition:box-shadow .25s, background .25s; }
.nx-now:hover { background:rgba(198,242,100,.12); box-shadow:0 0 40px rgba(139,209,60,.45), inset 0 0 30px rgba(139,209,60,.12); }
.nx-now .xp-logo { width:56px; height:56px; border-radius:16px; }
.nx-nt small { display:block; font-size:12px; color:var(--nx1); margin-bottom:4px; } .nx-nt b { font-size:clamp(19px, 2.2vw, 26px); line-height:1.2; letter-spacing:-.02em; }
.nx-go { display:inline-flex; gap:10px; padding:14px 24px; border-radius:999px; background:var(--nx1); color:#000; font-weight:700; font-size:15px; white-space:nowrap; box-shadow:0 0 24px rgba(198,242,100,.55); } .nx-go i { font-style:normal; }
.nx-all { grid-column:1 / -1; justify-self:start; font-size:14px; font-weight:600; color:var(--nx1); margin-top:4px; }
@media (max-width:900px) {
  .nx { grid-template-columns:1fr; padding:34px 22px 28px; border-radius:24px; gap:22px; }
  .nx-row { grid-template-columns:1fr; gap:10px; } .nx-cells a { width:22px; height:22px; border-radius:6px; }
  .nx-now { grid-template-columns:auto 1fr; } .nx-go { grid-column:1 / -1; justify-content:center; }
  .nx-stat > b { font-size:92px; }
}
@media (prefers-reduced-motion: reduce) { .nx-cells .n { animation:none; } }

/* ================= MỤC HỌC AI TRANG CHỦ · Con đường ngang + TONE XANH & GLOW (05/12/2026) =================
   Người dùng chỉ lấy TONE MÀU và GLOW của ảnh mẫu (xanh chanh → xanh lá đậm, quầng sáng), KHÔNG lấy bố cục của ảnh. Bố cục vẫn là Con đường ngang. */
.hh2 { --g1:#C6F264; --g2:#8BD13C; --g3:#4C9A2A; --g4:#1E4A17;
  --neon:0 0 0 1.5px var(--g2), 0 0 18px rgba(139,209,60,.75), 0 0 48px rgba(76,154,42,.45); }
.hh2 .mg-sec-head h2 b { background:linear-gradient(100deg, var(--g3) 0%, var(--g2) 55%, #6fbf2e 100%); -webkit-background-clip:text; background-clip:text; color:transparent; padding:0; margin:0; filter:drop-shadow(0 0 16px rgba(139,209,60,.55)); }
.hh-sub b { color:var(--g4); }
.hh2 .hh-road::before { height:5px; background:linear-gradient(90deg, var(--g1) 0, var(--g2) 28%, var(--g3) 52%, #cfd6c2 76%, transparent);
  box-shadow:0 0 16px rgba(139,209,60,.9), 0 0 40px rgba(76,154,42,.5); }
.hh2 .hh-road .now a { background:radial-gradient(120% 90% at 30% 0%, #2c6a1c 0%, #12300f 42%, #050805 100%); box-shadow:var(--neon), inset 0 0 40px rgba(139,209,60,.14); }
.hh2 .hh-road .now a:hover { box-shadow:0 0 0 1.5px var(--g1), 0 0 26px rgba(198,242,100,.85), 0 0 70px rgba(76,154,42,.6), inset 0 0 40px rgba(139,209,60,.2); }
.hh2 .hh-road .now small { color:var(--g1); }
.hh2 .hh-road .now b { background:linear-gradient(100deg, #fff 0%, #e6f9bf 60%, var(--g1) 100%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hh2 .hh-road .now .xp-dot { box-shadow:0 0 0 3px var(--g1), 0 0 24px rgba(198,242,100,.9); }
@keyframes hh-pulse { 50% { box-shadow:0 0 0 3px var(--g1), 0 0 40px rgba(198,242,100,1), 0 0 76px rgba(76,154,42,.6); } }
.hh2 .hh-road u { background:linear-gradient(100deg, var(--g1), var(--g2)); box-shadow:0 0 22px rgba(139,209,60,.7); }
/* bài phía trước: chấm số mang sắc xanh trầm dần thay cho xám; vẫn giảm màu, rê chuột là sáng */
.hh2 .hh-road .ahead a { filter:saturate(calc(.75 - var(--d, 2) * .14)); }
.hh2 .hh-road .ahead .xp-dot { border-color:color-mix(in srgb, var(--g3) calc(70% - var(--d, 2) * 13%), #d9dccf); color:var(--g4); }
.hh2 .hh-road .ahead a:hover, .hh2 .hh-road .ahead a:focus-visible { filter:none; }
.hh2 .hh-road .ahead a:hover .xp-dot, .hh2 .hh-road .ahead a:focus-visible .xp-dot { background:var(--g1); border-color:var(--g2); }
.hh2 .hh-ac a.cur { border-color:var(--g2); box-shadow:0 0 0 1.5px var(--g2), 0 0 18px rgba(139,209,60,.6); }
.hh2 .hh-ac a:hover { border-color:var(--g2); }
.hh2 .hh-ac a.cur small { color:#2f6a1e; }

/* ================= TONE XANH & GLOW CHO CÁC TRANG HỌC AI BÊN TRONG (05/12/2026) =================
   Cùng lớp màu với mục Học AI ở trang chủ; bố cục Đường mòn giữ nguyên. */
:root { --g1:#C6F264; --g2:#8BD13C; --g3:#4C9A2A; --g4:#1E4A17;
  --gneon:0 0 0 1.5px var(--g2), 0 0 18px rgba(139,209,60,.75), 0 0 48px rgba(76,154,42,.45);
  --gdark:radial-gradient(120% 90% at 30% 0%, #2c6a1c 0%, #12300f 42%, #050805 100%); }
/* khối đầu (cổng + academy) */
.xp-hero { background:#050805; }
.xp-hero::before { width:760px; height:760px; right:-180px; top:-300px; opacity:.9; background:radial-gradient(closest-side, rgba(110,190,45,.55), rgba(50,110,25,.22) 55%, transparent); }
.xp-hero::after { background:radial-gradient(900px 380px at 0% 120%, rgba(76,154,42,.35), transparent 70%); }
.xp-hero h1 b { background:linear-gradient(100deg, var(--g1) 0%, var(--g2) 50%, var(--g3) 100%); -webkit-background-clip:text; background-clip:text; color:transparent; filter:drop-shadow(0 0 22px rgba(139,209,60,.5)); }
.xp-brand { color:var(--g1); }
.xp-ring .fg { stroke:var(--g2); filter:drop-shadow(0 0 8px rgba(139,209,60,.9)); }
.xp-ring b { background:linear-gradient(180deg, #fff, var(--g1)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.xp-cta { background:linear-gradient(100deg, var(--g1), var(--g2)); box-shadow:0 0 26px rgba(139,209,60,.6); }
.xp-cta:hover { box-shadow:0 0 40px rgba(198,242,100,.85); }
/* đường mòn */
.xp2:not(.xp-hm-trail)::before { background:linear-gradient(var(--g2), var(--g3) 40%, #cfd6c2 75%, transparent); opacity:1; width:4px; box-shadow:0 0 14px rgba(139,209,60,.7); }
.xp2 .xp-s.done .xp-dot { background:var(--g4); color:var(--g1); box-shadow:0 0 12px rgba(139,209,60,.5); }
.xp2 .xp-s.ahead .xp-dot { background:var(--panel, #fff); box-shadow:none; border:2px solid color-mix(in srgb, var(--g3) calc(70% - var(--d, 3) * 10%), #d9dccf); color:var(--g4); }
.xp2 .xp-s.ahead a:hover .xp-dot, .xp2 .xp-s.ahead a:focus-visible .xp-dot { background:var(--g1); border-color:var(--g2); box-shadow:var(--gneon); }
.xp2 .xp-s.now a { background:var(--gdark); color:#fff; box-shadow:var(--gneon), inset 0 0 40px rgba(139,209,60,.14); }
.xp2 .xp-s.now small { color:var(--g1); }
.xp2 .xp-s.now b { background:linear-gradient(100deg, #fff 0%, #e6f9bf 60%, var(--g1) 100%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.xp2 .xp-s.now p { color:rgba(255,255,255,.75); }
.xp2 .xp-s.now u { background:linear-gradient(100deg, var(--g1), var(--g2)); color:#000; box-shadow:0 0 22px rgba(139,209,60,.7); }
.xp2 .xp-s.now .xp-dot { box-shadow:0 0 0 3px var(--g1), 0 0 24px rgba(198,242,100,.9); animation:hh-pulse 2.6s ease-in-out infinite; }
.xp-mile span { color:var(--g3); }
.xp-more:hover { background:var(--g4); color:var(--g1); border-color:var(--g2); box-shadow:var(--gneon); }
/* cổng Học AI: thẻ academy */
.xp-hubg .ac-card.cur { background:var(--gdark); color:#fff; box-shadow:var(--gneon); }
.xp-hubg .ac-card.cur p { color:rgba(255,255,255,.72); } .xp-hubg .ac-card.cur .ac-meta span { background:rgba(255,255,255,.12); color:#fff; }
.xp-hubg .ac-card.cur .ac-next small { color:var(--g1); } .xp-hubg .ac-card.cur .ac-tag.on { background:var(--g1); color:#000; }
.xp-hubg .ac-card.cur .ac-trail i { background:rgba(255,255,255,.2); } .xp-hubg .ac-card.cur .ac-trail em { color:rgba(255,255,255,.6); }
.ac-trail i.d { background:var(--g3); } .ac-trail i.n, .xp-hubg .ac-card.cur .ac-trail i.n { background:var(--g1); box-shadow:0 0 0 3px rgba(139,209,60,.35), 0 0 12px rgba(198,242,100,.9); }
a.ac-card:not(.cur):hover { box-shadow:var(--gneon); }
.ac-next small { color:var(--g3); }
/* trang đọc bài: nút bài tiếp theo */
.ls-step.next:hover { box-shadow:var(--gneon); }
@media (prefers-reduced-motion: reduce) { .xp2 .xp-s.now .xp-dot { animation:none; } }
.ls-step.next { background:var(--gdark); border-color:var(--g3); } .ls-step.next small { color:var(--g1); }

/* 05/12/2026: thẻ bài đang học trên đường mòn gọn lại; số phút mỗi bài thành nhãn nổi */
.xp-min { display:inline-flex; align-items:center; gap:5px; margin-left:8px; padding:3px 9px 3px 7px; border-radius:999px; font-style:normal; font-size:12px; font-weight:700; letter-spacing:0; text-transform:none; line-height:1.2; vertical-align:middle;
  background:color-mix(in srgb, var(--g2) 22%, #fff); color:var(--g4); border:1px solid color-mix(in srgb, var(--g3) 45%, transparent); }
.xp-min::before { content:""; width:11px; height:11px; border-radius:50%; border:1.6px solid currentColor; box-sizing:border-box; background:linear-gradient(currentColor, currentColor) 50% 28% / 1.6px 3.4px no-repeat, linear-gradient(currentColor, currentColor) 66% 50% / 3px 1.6px no-repeat; }
.now .xp-min, .xp-s.now .xp-min { background:var(--g1); color:#000; border-color:transparent; box-shadow:0 0 12px rgba(198,242,100,.6); }
.xp2 .xp-s.now a { padding:16px 22px 16px 0; margin:10px 0 10px -30px; align-items:center; }
.xp2 .xp-s.now .xp-dot { width:60px; height:60px; margin-left:0; }
.xp2 .xp-s.now b { font-size:clamp(19px, 2vw, 23px); line-height:1.2; }
.xp2 .xp-s.now p { margin:5px 0 10px; font-size:14.5px; line-height:1.5; max-width:46em; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.xp2 .xp-s.now u { padding:8px 18px; font-size:14px; }
.xp2 .xp-s.now small { font-size:11.5px; }
@media (max-width:900px) { .xp2 .xp-s.now a { padding:14px 16px 14px 0; margin-left:-26px; } .xp2 .xp-s.now .xp-dot { width:52px; height:52px; } }

/* ================= PHÂN CẤP TRÊN ĐƯỜNG MÒN (05/12/2026) =================
   Người dùng: thẻ bài đang học nổi quá, trông như một bài lớn / một tầng trên chứ không phải một mục trong danh sách.
   Quy tắc: Chặng (khoá) là tầng lớn nhất; bài đang học NGANG HÀNG các bài khác: cùng lề, cùng cỡ chấm, cùng cỡ tiêu đề.
   Chỉ khác ở: viền sáng xanh quanh phần chữ, chấm có logo, nhãn "bạn đang ở đây" và nút. Không phủ khối tối, không tràn qua vệt đường. */
.xp-mile { margin:34px 0 12px 46px; padding-bottom:10px; border-bottom:1px solid rgba(0,0,0,.08); }
.xp-mile span { font-size:12px; } .xp-mile b { display:block; font-size:clamp(24px, 2.6vw, 30px); line-height:1.15; }
.xp2 .xp-s.now a { background:none; box-shadow:none; color:inherit; padding:12px 16px 12px 0; margin:0 0 0 -30px; align-items:center; }
.xp2 .xp-s.now .xp-dot { width:60px; height:60px; margin-left:0; }
.xp2 .xp-s.now a > span { display:block; padding:12px 16px 14px; border-radius:16px; background:color-mix(in srgb, var(--g1) 16%, var(--panel, #fff)); border:1.5px solid var(--g2); box-shadow:0 0 14px rgba(139,209,60,.45); }
.xp2 .xp-s.now small { color:var(--g3); font-size:12px; text-transform:none; letter-spacing:0; font-weight:600; }
.xp2 .xp-s.now b { font-size:17px; line-height:1.3; letter-spacing:-.01em; background:none; -webkit-background-clip:border-box; background-clip:border-box; color:#000; }
.xp2 .xp-s.now p { margin:4px 0 10px; font-size:14px; line-height:1.5; color:var(--muted); -webkit-line-clamp:1; }
.xp2 .xp-s.now u { padding:7px 16px; font-size:13.5px; box-shadow:0 0 12px rgba(139,209,60,.5); }
.xp2 .xp-s.now .xp-min { box-shadow:none; }
@media (max-width:900px) { .xp-mile { margin-left:40px; } .xp2 .xp-s.now a { margin-left:-26px; padding:10px 0; } .xp2 .xp-s.now .xp-dot { width:52px; height:52px; } .xp2 .xp-s.now p { -webkit-line-clamp:2; } }

/* ===== HẬU KỲ 05/12/2026: chống nhảy bố cục khi trang đang tải (Lighthouse CLS) =====
   Lúc app.js chưa vẽ xong, #app còn trống: giữ chỗ một màn hình để chân trang không bị đẩy xuống. */
#app:empty { min-height:100vh; }
/* Tương phản chữ nhỏ đủ chuẩn đọc (WCAG 4.5:1), giữ nguyên tông màu */
.kw.o3 .kw-nav .cnt { opacity:.8; }
.xp-mile span { color:#3b7f20; }
.xp2 .xp-s.now small { color:#2f6a1e; }
