/* Phần bổ sung trang chủ 14/11/2026 (inc/home-extra.php): máy tính lãi nhanh, bán chạy, đơn 199k đi đâu. Lớp riêng .mhx-*.
   Nền tối + vàng champagne như markethub.vn; số dùng JetBrains Mono, chữ tiếng Việt dùng Be Vietnam Pro (mono làm dính dấu).
   Chữ: tiêu đề 700 (không 800), giãn chữ dương nhẹ + giãn dòng rộng cho tiếng Việt nhiều dấu. !important vì theme.css ép letter-spacing.
   Chuyển động chỉ bật khi JS thêm html.mhx-motion (tắt JS / giảm chuyển động thì mọi thứ hiện sẵn). */
@property --mhx-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

.mhx {
  --x-bg: #09080b; --x-bg2: #0f0e13; --x-card: #15131a; --x-line: #ffffff12; --x-line2: #ffffff24;
  --x-text: #f6f3ee; --x-muted: #b9b3bc; --x-faint: #827c88;
  --x-gold: #eabf72; --x-gold2: #f7dca4; --x-gold3: #c98f3c; --x-green: #63d9a0; --x-red: #f39383; --x-fee: #9584e0;
  --x-ease: cubic-bezier(.2,.75,.2,1);
  position: relative; background: var(--x-bg); color: var(--x-text); font-family: "Be Vietnam Pro", system-ui, sans-serif; overflow-x: clip;
  letter-spacing: .012em; word-spacing: .05em;
}
.mhx *, .mhx *::before, .mhx *::after { box-sizing: border-box; }
.mhx-wrap { position: relative; z-index: 1; width: min(100% - 32px, 1180px); margin-inline: auto; }
.mhx :is(h1, h2, h3) { margin: 0; color: var(--x-text); font-weight: 700; line-height: 1.22; letter-spacing: -.004em !important; word-spacing: .06em; }
.mhx h2 { font-size: clamp(1.9rem, 3.5vw, 2.9rem); }
.mhx em { font-style: normal; background: linear-gradient(100deg, var(--x-gold2) 0%, var(--x-gold) 35%, #fff2cf 50%, var(--x-gold) 65%, var(--x-gold3) 100%) 0 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.mhx p { margin: 0; }
.mhx a { color: inherit; }
.mhx-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px !important; color: var(--x-gold); font-size: 11.5px; font-weight: 600; letter-spacing: .2em !important; }
.mhx-kicker::before { content: ""; width: 22px; height: 1px; background: linear-gradient(90deg, transparent, var(--x-gold)); }
.mhx-kicker:has(.mhx-live)::before { display: none; }
.mhx :is(output, .mhx-plat-profit, .mhx-flow-list b, .mhx-hot-rank, .mhx-count) { font-family: "JetBrains Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; letter-spacing: 0 !important; word-spacing: 0; }

/* ---- Thử ngay ---- */
.mhx-try { padding: 112px 0 104px; border-top: 1px solid var(--x-line); background: var(--x-bg); }
.mhx-try::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(ellipse 42% 55% at 78% 42%, #c98f3c26, transparent 70%),
  radial-gradient(ellipse 30% 40% at 8% 12%, #9584e01c, transparent 70%),
  linear-gradient(var(--x-line) 1px, transparent 1px) 0 0 / 56px 56px,
  linear-gradient(90deg, var(--x-line) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 85%); mask: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 85%); pointer-events: none; }
.mhx-try-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 72px; align-items: center; }
.mhx-try h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.16; }
.mhx-lead { max-width: 500px; margin-top: 22px !important; color: var(--x-muted); font-size: 16.5px; font-weight: 400; line-height: 1.85; }
.mhx-trust { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.mhx-trust li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border: 1px solid var(--x-line); border-radius: 99px; background: #ffffff06; color: var(--x-muted); font-size: 12.5px; }
.mhx-trust svg { color: var(--x-green); }
.mhx-live { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--x-green); display: inline-block; }
.mhx-live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--x-green); animation: mhx-ping 2s var(--x-ease) infinite; }
@keyframes mhx-ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(3.2); opacity: 0; } }

/* Nhãn sàn trôi nền (JS chèn .mhx-floaters) */
.mhx-floaters { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.mhx-floaters span { position: absolute; left: var(--x); top: var(--y); padding: 6px 12px; border: 1px solid var(--x-line); border-radius: 99px; background: #ffffff05; color: var(--x-faint); font-size: 12px; white-space: nowrap; opacity: .55; animation: mhx-float var(--t, 14s) ease-in-out var(--d, 0s) infinite alternate; }
@keyframes mhx-float { to { transform: translate3d(var(--dx, 18px), var(--dy, -22px), 0); } }

/* ---- Khung máy tính ---- */
.mhx-desk { position: relative; isolation: isolate; padding: 26px; border-radius: 24px; background: linear-gradient(165deg, #1e1b24f5, #111015f7); box-shadow: 0 50px 100px -35px #000, 0 0 0 1px var(--x-line2), inset 0 1px 0 #ffffff17; }
.mhx-desk::before { content: ""; position: absolute; inset: -1px; z-index: -1; padding: 1px; border-radius: 25px; background: conic-gradient(from var(--mhx-a), transparent 0deg, #eabf72aa 50deg, transparent 110deg, transparent 220deg, #9584e088 270deg, transparent 320deg); -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: mhx-spin 7s linear infinite; }
.mhx-desk::after { content: ""; position: absolute; inset: auto 10% -30px; z-index: -2; height: 60px; border-radius: 50%; background: #c98f3c40; filter: blur(40px); }
@keyframes mhx-spin { to { --mhx-a: 360deg; } }
.mhx-desk-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.mhx-desk-head span { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; letter-spacing: .02em; }
.mhx-desk-head span::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: linear-gradient(135deg, var(--x-gold2), var(--x-gold3)); box-shadow: 0 0 12px #eabf72; }
.mhx-desk-head small { padding: 4px 10px; border: 1px solid var(--x-line); border-radius: 99px; color: var(--x-faint); font-size: 11.5px; letter-spacing: .03em; }
.mhx-field { display: block; margin-bottom: 18px; }
.mhx-field > span { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; color: var(--x-muted); font-size: 13px; letter-spacing: .02em; }
.mhx-field output { color: var(--x-text); font-weight: 600; font-size: 15px; }
.mhx-field input[type=range] { width: 100%; height: 5px; margin: 0; border-radius: 9px; background: linear-gradient(90deg, var(--x-gold3), var(--x-gold2) var(--p, 20%), #ffffff17 var(--p, 20%)); -webkit-appearance: none; appearance: none; cursor: pointer; }
.mhx-field input[type=range]::-webkit-slider-thumb { width: 20px; height: 20px; border: 4px solid #1a1309; border-radius: 50%; background: var(--x-gold2); box-shadow: 0 0 0 5px #eabf7226, 0 4px 14px #000; -webkit-appearance: none; transition: transform .2s var(--x-ease); }
.mhx-field input[type=range]:active::-webkit-slider-thumb { transform: scale(1.18); }
.mhx-field input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border: 4px solid #1a1309; border-radius: 50%; background: var(--x-gold2); }
.mhx-field input[type=range]:focus-visible { outline: 2px solid var(--x-gold); outline-offset: 7px; }
.mhx-plats { display: grid; gap: 10px; margin-top: 8px; }
.mhx-plat { position: relative; padding: 13px 15px 12px; border: 1px solid var(--x-line); border-radius: 15px; background: #ffffff04; transition: border-color .35s, background .35s, transform .35s var(--x-ease); }
.mhx-plat.is-best { border-color: #63d9a04d; background: linear-gradient(120deg, #63d9a012, #63d9a003); }
.mhx-plat.is-best::after { content: "Lãi nhất"; position: absolute; top: -9px; right: 14px; padding: 2px 9px; border-radius: 99px; background: var(--x-green); color: #07170f; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; animation: mhx-pop .45s var(--x-ease); }
@keyframes mhx-pop { from { transform: scale(.6) translateY(4px); opacity: 0; } }
.mhx-plat-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.mhx-plat-top b { font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.mhx-plat-profit { font-size: 17px; font-weight: 600; color: var(--x-green); transition: color .3s; }
.mhx-plat.is-loss .mhx-plat-profit { color: var(--x-red); }
.mhx-plat.is-loss { border-color: #f3938330; }
.mhx-bar { position: relative; display: flex; height: 6px; overflow: hidden; border-radius: 9px; background: #ffffff0e; }
.mhx-bar i { display: block; height: 100%; transition: width .55s var(--x-ease); }
.mhx-bar-cost { background: #6c6773; } .mhx-bar-fee { background: var(--x-fee); } .mhx-bar-profit { background: linear-gradient(90deg, #3fbf83, var(--x-green)); }
.mhx-plat.is-best .mhx-bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, #ffffff55 50%, transparent 70%) -150% 0 / 60% 100% no-repeat; animation: mhx-shine 2.8s ease-in-out infinite; }
@keyframes mhx-shine { to { background-position: 250% 0; } }
.mhx-plat-note { display: block; margin-top: 8px; color: var(--x-faint); font-size: 12px; letter-spacing: .025em; }
.mhx-desk-verdict { min-height: 48px; margin-top: 18px !important; color: var(--x-muted); font-size: 13.5px; line-height: 1.75; }
.mhx-desk-verdict b { color: var(--x-text); font-weight: 600; }
.mhx-desk-more { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; color: var(--x-gold) !important; font-size: 13px; font-weight: 600; letter-spacing: .02em; text-decoration: none; }
.mhx-desk-more svg { transition: transform .3s var(--x-ease); }
.mhx-desk-more:hover svg { transform: translateX(4px); }

/* ---- Bán chạy ---- */
.mhx-hot { padding: 8px 0 112px; background: var(--x-bg); }
.mhx-hot-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-bottom: 30px; }
.mhx-hot-head h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); white-space: nowrap; }
.mhx-hot-side { display: grid; justify-items: end; gap: 8px; text-align: right; }
.mhx-hot-side p { color: var(--x-faint); font-size: 12.5px; letter-spacing: .02em; }
.mhx-hot-side a { display: inline-flex; align-items: center; gap: 7px; color: var(--x-gold); font-size: 13px; font-weight: 600; letter-spacing: .02em; text-decoration: none; }
.mhx-hot-side a svg { transition: transform .3s var(--x-ease); }
.mhx-hot-side a:hover svg { transform: translateX(4px); }
.mhx-hot-list { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-auto-rows: 1fr; gap: 14px; margin: 0; padding: 0; list-style: none; }
.mhx-hot-list li { position: relative; isolation: isolate; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px; overflow: hidden; border: 1px solid var(--x-line); border-radius: 18px; background: var(--x-card); transition: border-color .3s, transform .4s var(--x-ease), box-shadow .4s; }
.mhx-hot-list li::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, -40%), #eabf721c, transparent 60%); opacity: 0; transition: opacity .3s; }
.mhx-hot-list li:hover { border-color: #eabf7240; transform: translateY(-3px); box-shadow: 0 24px 50px -24px #000; }
.mhx-hot-list li:hover::before { opacity: 1; }
.mhx-hot-rank { position: absolute; top: 10px; right: 14px; z-index: -1; color: transparent; font-size: 34px; font-weight: 700; line-height: 1; -webkit-text-stroke: 1px #eabf7244; }
.mhx-hot-list img, .mhx-hot-img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: #ffffff0d; transition: transform .5s var(--x-ease); }
.mhx-hot-list li:hover img { transform: scale(1.06); }
.mhx-hot-name { overflow: hidden; padding-right: 34px; color: #ece8e2; font-size: 13.5px; font-weight: 500; line-height: 1.55; letter-spacing: .01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mhx-hot-meta { margin-top: 6px !important; color: var(--x-faint); font-size: 12.5px; letter-spacing: .02em; }
.mhx-hot-meta b { color: var(--x-green); font-weight: 600; }
.mhx-hot-speed { display: block; height: 3px; margin-top: 9px; overflow: hidden; border-radius: 9px; background: #ffffff0d; }
.mhx-hot-speed i { display: block; width: var(--s, 0%); height: 100%; border-radius: 9px; background: linear-gradient(90deg, var(--x-gold3), var(--x-green)); transition: width 1.2s var(--x-ease) .2s; }
.mhx-hot-calc { display: inline-block; margin-top: 9px; color: var(--x-gold) !important; font-size: 12px; font-weight: 600; letter-spacing: .02em; text-decoration: none; }
.mhx-hot-calc:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Thẻ hạng 1: to, ảnh lớn, đứng dọc 2 hàng */
.mhx-hot-list li.is-top { grid-row: span 2; grid-template-columns: 1fr; align-content: end; gap: 18px; padding: 24px; border-color: #eabf7233; background: radial-gradient(120% 80% at 0% 0%, #c98f3c22, transparent 60%), var(--x-card); }
.mhx-hot-list li.is-top img, .mhx-hot-list li.is-top .mhx-hot-img { width: 100%; height: auto; max-height: 190px; aspect-ratio: 16 / 10; border-radius: 14px; }
.mhx-hot-list li.is-top .mhx-hot-rank { top: 36px; left: 38px; right: auto; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--x-gold2), var(--x-gold3)); box-shadow: 0 8px 24px -6px #000, 0 0 0 4px #0009; color: #1a1309; font-size: 18px; -webkit-text-stroke: 0; }
.mhx-hot-list li.is-top .mhx-hot-rank::after { content: "Bán chạy nhất"; position: absolute; left: 52px; padding: 4px 10px; border-radius: 99px; background: #000b; color: var(--x-gold2); font-family: "Be Vietnam Pro", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .06em; white-space: nowrap; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mhx-hot-list li.is-top .mhx-hot-name { padding-right: 0; font-size: 16px; -webkit-line-clamp: 3; }
.mhx-hot-list li.is-top .mhx-hot-meta { font-size: 13.5px; }
.mhx-hot-list li.is-top .mhx-hot-meta b { font-size: 15px; }

/* ---- Đơn 199k đi đâu ---- */
.mhx-flow { padding: 112px 0; border-block: 1px solid var(--x-line); background: radial-gradient(ellipse 40% 60% at 0% 50%, #c98f3c17, transparent 70%), var(--x-bg2); }
.mhx-flow-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.mhx-flow-grid > div > p:not(.mhx-kicker) { margin-top: 22px !important; color: var(--x-muted); font-size: 16px; line-height: 1.85; }
.mhx-btn-ghost { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; padding: 12px 20px; border: 1px solid var(--x-line2); border-radius: 13px; font-size: 14px; font-weight: 600; letter-spacing: .02em; text-decoration: none; transition: border-color .25s, background .25s; }
.mhx-btn-ghost:hover { border-color: var(--x-gold); background: #eabf7210; }
.mhx-btn-ghost svg { transition: transform .3s var(--x-ease); }
.mhx-btn-ghost:hover svg { transform: translateX(4px); }
.mhx-flow-card { position: relative; padding: 28px; border: 1px solid var(--x-line); border-radius: 22px; background: var(--x-card); box-shadow: 0 40px 80px -40px #000; }
/* Dải tiền: 199.000đ chia màu (JS dựng từ danh sách) */
.mhx-stream { display: flex; height: 14px; margin-bottom: 0; overflow: hidden; border-radius: 9px; background: #ffffff0a; gap: 2px; }
.mhx-stream i { width: var(--w); height: 100%; background: var(--c); transform-origin: left; }
.mhx-stream-legend { display: flex; justify-content: space-between; margin: 10px 0 24px !important; padding-bottom: 20px; border-bottom: 1px solid var(--x-line); color: var(--x-faint); font-size: 11.5px; letter-spacing: .04em; }
.mhx-flow-list { display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; }
.mhx-flow-list li { display: grid; grid-template-columns: 136px minmax(0, 1fr) 100px; gap: 16px; align-items: center; font-size: 14px; }
.mhx-flow-label { display: inline-flex; align-items: center; gap: 9px; color: var(--x-muted); letter-spacing: .015em; }
.mhx-flow-label::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 3px; background: var(--c, var(--x-fee)); }
.mhx-flow-track { height: 8px; overflow: hidden; border-radius: 9px; background: #ffffff0b; }
.mhx-flow-track i { display: block; width: var(--w); height: 100%; border-radius: 9px; background: var(--c, var(--x-fee)); transform-origin: left; }
.mhx-flow-list .is-cost { --c: #6c6773; }
.mhx-flow-list li:nth-child(2) { --c: #9584e0; } .mhx-flow-list li:nth-child(3) { --c: #b28fe0; } .mhx-flow-list li:nth-child(4) { --c: #7b9be6; } .mhx-flow-list li:nth-child(5) { --c: #e08fa8; }
.mhx-flow-list .is-profit { --c: var(--x-green); margin-top: 8px; padding-top: 18px; border-top: 1px dashed var(--x-line2); }
.mhx-flow-list .is-profit .mhx-flow-label { color: var(--x-text); font-weight: 600; }
.mhx-flow-list b { font-weight: 500; text-align: right; }
.mhx-flow-list .is-profit b { color: var(--x-green); font-size: 17px; font-weight: 600; }

/* Thanh kéo quảng cáo trong thẻ "đơn 199k đi đâu" (14/11 tối): lãi = lãi trước quảng cáo − tiền quảng cáo mỗi đơn (như adsPlan trong fees.ts). */
.mhx-flow-list .is-ads { --c: var(--x-gold); }
.mhx-flow-list .is-ads[hidden] { display: none; }
.mhx-flow-list .is-profit.is-loss { --c: var(--x-red); }
.mhx-flow-list .is-profit.is-loss b { color: var(--x-red); }
.mhx-ads { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--x-line); }
.mhx-ads .mhx-field { margin-bottom: 14px; }
.mhx-ads-verdict { min-height: 46px; color: var(--x-muted); font-size: 13.5px; line-height: 1.75; }
.mhx-ads-verdict b { color: var(--x-text); font-weight: 600; }
.mhx-ads-verdict.is-loss b { color: var(--x-red); }
/* Sau khi người dùng kéo thanh (JS thêm .is-live): thanh đổi bề rộng mượt thay cho hiệu ứng hiện lần đầu. */
.mhx-flow-card.is-live .mhx-flow-track i, .mhx-flow-card.is-live .mhx-stream i { transform: none !important; transition: width .4s var(--x-ease) !important; }

/* ---- So với Kalodata, FastMoss, EchoTik (14/11 tối) ---- */
.mhx-vs { padding: 112px 0; border-top: 1px solid var(--x-line); background: radial-gradient(ellipse 36% 50% at 100% 0%, #9584e014, transparent 70%), var(--x-bg); }
.mhx-vs-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 24px 64px; align-items: end; margin-bottom: 40px; }
.mhx-vs-lead { color: var(--x-muted); font-size: 16px; line-height: 1.85; }
.mhx-vs-list { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr; gap: 14px; margin: 0; padding: 0; list-style: none; }
.mhx-vs-list li { position: relative; isolation: isolate; padding: 24px 22px; overflow: hidden; border: 1px solid var(--x-line); border-radius: 18px; background: var(--x-card); transition: border-color .3s, transform .4s var(--x-ease), box-shadow .4s; }
.mhx-vs-list li::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, -40%), #eabf721c, transparent 60%); opacity: 0; transition: opacity .3s; }
.mhx-vs-list li:hover { border-color: #eabf7240; transform: translateY(-3px); box-shadow: 0 24px 50px -24px #000; }
.mhx-vs-list li:hover::before { opacity: 1; }
.mhx-vs-list li.is-us { border-color: #eabf7255; background: radial-gradient(120% 70% at 0% 0%, #c98f3c26, transparent 60%), var(--x-card); }
.mhx-vs-list li.is-us::after { content: "Trang này"; position: absolute; top: 18px; right: 18px; padding: 3px 10px; border-radius: 99px; background: linear-gradient(135deg, var(--x-gold2), var(--x-gold3)); color: #1a1309; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; }
.mhx-vs-name { color: var(--x-muted); font-size: 13px; font-weight: 600; letter-spacing: .08em !important; text-transform: uppercase; }
.mhx-vs-list li.is-us .mhx-vs-name { color: var(--x-gold); }
.mhx-vs-price { margin-top: 14px !important; color: var(--x-text); font-size: 21px; font-weight: 700; line-height: 1.3; letter-spacing: 0 !important; }
.mhx-vs-sub { margin-top: 5px !important; min-height: 38px; color: var(--x-faint); font-size: 12.5px; line-height: 1.5; }
.mhx-vs-list dl { display: grid; gap: 4px; margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--x-line); }
.mhx-vs-list dt { margin-top: 10px; color: var(--x-faint); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.mhx-vs-list dt:first-child { margin-top: 0; }
.mhx-vs-list dd { margin: 0; color: #ddd8d2; font-size: 13.5px; line-height: 1.65; }
.mhx-vs-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 30px; }
.mhx-vs-foot .mhx-btn-ghost { margin-top: 0; }
.mhx-vs-foot p { flex: 1 1 320px; color: var(--x-faint); font-size: 12.5px; line-height: 1.7; }
.mhx-motion .mhx-vs-list li.mhx-rv.is-in:hover { transform: translateY(-3px); }

/* ---- Chuyển động (chỉ khi html.mhx-motion) ---- */
.mhx-motion .mhx em { animation: mhx-sheen 6s ease-in-out infinite; }
@keyframes mhx-sheen { 0%, 55% { background-position: 100% 0; } 100% { background-position: -150% 0; } }
.mhx-motion .mhx-rv { opacity: 0; transform: translateY(22px); filter: blur(8px); transition: opacity .9s var(--x-ease) var(--d, 0s), transform .9s var(--x-ease) var(--d, 0s), filter .9s var(--x-ease) var(--d, 0s); }
.mhx-motion .mhx-rv.is-in { opacity: 1; transform: none; filter: none; }
.mhx-motion .mhx-w { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(2deg); filter: blur(6px); transition: opacity .8s var(--x-ease), transform .8s var(--x-ease), filter .8s var(--x-ease); transition-delay: calc(var(--wi) * 55ms); }
.mhx-motion .is-in .mhx-w { opacity: 1; transform: none; filter: none; }
.mhx-motion .mhx-desk.mhx-rv { transform: translateY(30px) scale(.97); }
.mhx-motion .mhx-desk.mhx-rv.is-in { transform: none; }
.mhx-motion .mhx-hot-list li.mhx-rv { transform: translateY(26px) scale(.98); }
.mhx-motion .mhx-hot-list li.mhx-rv.is-in { transform: none; }
.mhx-motion .mhx-hot-list li.mhx-rv.is-in:hover { transform: translateY(-3px); }
.mhx-motion .mhx-flow-card .mhx-flow-track i, .mhx-motion .mhx-stream i { transform: scaleX(0); transition: transform 1.1s var(--x-ease); transition-delay: calc(.25s + var(--i, 0) * .14s); }
.mhx-motion .mhx-flow-card.is-in .mhx-flow-track i, .mhx-motion .mhx-flow-card.is-in .mhx-stream i { transform: none; }
.mhx-motion .mhx-flow-card.is-in .is-profit b { animation: mhx-glow 1.4s ease 1.3s; }
@keyframes mhx-glow { 40% { text-shadow: 0 0 22px #63d9a0aa; } }
.mhx-bump { animation: mhx-bump .4s var(--x-ease); }
@keyframes mhx-bump { 40% { transform: translateY(-2px); } }

/* ---- Màn hình nhỏ ---- */
@media (max-width: 960px) {
  .mhx-try-grid, .mhx-flow-grid { grid-template-columns: 1fr; gap: 44px; }
  .mhx-hot-list { grid-template-columns: 1fr 1fr; }
  .mhx-hot-list li.is-top { grid-row: auto; grid-column: 1 / -1; grid-template-columns: 120px minmax(0, 1fr); align-items: center; }
  .mhx-hot-list li.is-top img, .mhx-hot-list li.is-top .mhx-hot-img { width: 120px; height: 120px; aspect-ratio: 1; }
  .mhx-floaters { display: none; }
  .mhx-hot-side { justify-items: start; text-align: left; }
  .mhx-vs-head { grid-template-columns: 1fr; }
  .mhx-vs-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .mhx-try { padding: 72px 0; }
  .mhx-lead { font-size: 15.5px; }
  .mhx-desk { padding: 20px; }
  .mhx-hot { padding-bottom: 80px; }
  .mhx-hot-head h2 { white-space: normal; }
  .mhx-hot-list { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .mhx-hot-list li.is-top { grid-template-columns: 1fr; }
  .mhx-hot-list li.is-top img, .mhx-hot-list li.is-top .mhx-hot-img { width: 100%; height: auto; }
  .mhx-hot-list li.is-top .mhx-hot-rank { font-size: 56px; }
  .mhx-flow { padding: 72px 0; }
  .mhx-flow-card { padding: 20px; }
  .mhx-flow-list li { grid-template-columns: 1fr auto; gap: 7px 10px; }
  .mhx-flow-track { grid-column: 1 / -1; grid-row: 2; }
  .mhx-vs { padding: 72px 0; }
  .mhx-vs-list { grid-template-columns: 1fr; }
  .mhx-vs-sub { min-height: 0; }
  .mhx-vs-list li:not(.is-us) :is(dt, dd):not(:nth-of-type(2)) { display: none; } /* thẻ đối thủ trên điện thoại: chỉ giữ dòng Hợp khi */
  .mhx-vs-list li:not(.is-us) { padding: 18px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .mhx *, .mhx *::before, .mhx *::after { animation: none !important; transition: none !important; }
}

/* 14/11/2026: điện thoại — kéo ô tìm kiếm hero lên màn hình đầu (trước đây ở 710–828px trên 390×720, khuất hẳn).
   Chỉ thu khoảng trống + cỡ chữ, không đổi nội dung. "html .mh-home" để thắng luật .mh-home .mh-hero của app CSS.
   Đo bằng iframe trên trang thật: 390×720 → ô tìm 476–594px, 360×640 → 489–607px (khách chưa đăng nhập). */
@media (max-width: 700px) {
  html .mh-home .mh-hero-center { padding-top: 20px; }
  html .mh-home .mh-hero h1 { max-width: none; margin: 14px auto 10px; font-size: clamp(1.75rem, 7.6vw, 2.4rem); line-height: 1.18; }
  html .mh-home .mh-hero-lead { margin-top: 10px; font-size: .9rem; line-height: 1.6; }
  html .mh-home .mh-hero-search { margin-top: 16px; }
}

/* 14/11/2026: thanh nút cố định trên điện thoại (inc/home-extra.php mht_hx_dock). Chừa 84px bên phải cho nút trợ lý. */
.mhx-dock { display: none; }
@media (max-width: 700px) {
  .mhx-dock:not([hidden]) { position: fixed; left: 12px; right: 84px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 9980;
    display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 999px;
    background: rgba(18, 16, 24, .92); border: 1px solid rgba(234, 191, 114, .35); box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .25s ease, opacity .25s ease; }
  .mhx-dock.is-off { transform: translateY(140%); opacity: 0; pointer-events: none; }
  .mhx-dock a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px; white-space: nowrap;
    background: linear-gradient(135deg, #fbe3b1, #f2c26c 45%, #d99a2b); color: #1b1408; font-weight: 700; font-size: 15px; text-decoration: none; }
  .mhx-dock a:focus-visible { outline: 2px solid #fbe3b1; outline-offset: 3px; }
  .mhx-dock span { color: #cfc8d8; font-size: 12.5px; line-height: 1.25; }
}
@media (max-width: 360px) { .mhx-dock span { display: none; } }
@media (prefers-reduced-motion: reduce) { .mhx-dock { transition: none !important; } }

/* ---- Soạn tin chốt khách: điện thoại chat minh hoạ (21/11/2026, mượn từ trang chủ Aurdeal) ---- */
.mhx-chat { padding: 112px 0; border-top: 1px solid var(--x-line); background: var(--x-bg2); }
.mhx-chat-grid { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 72px; align-items: center; }
.mhx-phone-wrap { position: relative; display: flex; justify-content: center; }
.mhx-phone-wrap::before { content: ""; position: absolute; width: 340px; height: 340px; top: 50%; left: 50%; margin: -170px 0 0 -170px; border-radius: 50%; background: conic-gradient(from var(--mhx-a), var(--x-gold3), var(--x-gold), var(--x-gold2), var(--x-gold3)); filter: blur(70px); opacity: .3; animation: mhx-spin 9s linear infinite; }
.mhx-phone { position: relative; width: 340px; height: 620px; border-radius: 46px; padding: 11px; background: linear-gradient(160deg, #2a2730, #0d0c11); box-shadow: 0 0 0 1px var(--x-line2), 0 50px 90px -30px #c98f3c88, inset 0 0 0 2px #ffffff12; }
.mhx-phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 96px; height: 24px; margin-left: -48px; border-radius: 20px; background: var(--x-bg); z-index: 3; }
.mhx-screen { position: relative; height: 100%; border-radius: 36px; background: linear-gradient(180deg, #121017, #0a090d); overflow: hidden; display: flex; flex-direction: column; }
.mhx-ph-h { padding: 52px 16px 12px; display: flex; gap: 10px; align-items: center; border-bottom: 1px solid var(--x-line); background: #121017cc; }
.mhx-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 700; font-size: 12px; background: linear-gradient(135deg, var(--x-gold3), var(--x-gold)); color: #241703; }
.mhx-ph-h b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.mhx-ph-h small { font-size: 11px; color: var(--x-green); }
.mhx-tag { margin-left: auto; flex: none; white-space: nowrap; font-size: 10px; font-weight: 700; color: #241703; background: var(--x-gold); border-radius: 99px; padding: 2px 8px; }
.mhx-chatlog { flex: 1; overflow-y: auto; padding: 14px 12px 18px; display: flex; flex-direction: column; gap: 8px; scroll-behavior: smooth; scrollbar-width: none; }
.mhx-chatlog::-webkit-scrollbar { display: none; }
.mhx-msg { max-width: 84%; padding: 9px 12px; border-radius: 16px; font-size: 13px; line-height: 1.5; letter-spacing: .01em; }
.mhx-msg.is-c { align-self: flex-start; background: #1e1b24; color: #ece8f0; border-bottom-left-radius: 6px; }
.mhx-msg.is-s { align-self: flex-end; background: linear-gradient(135deg, #b8862b, #d9a440); color: #1d1303; border-bottom-right-radius: 6px; }
.mhx-msg.is-v { align-self: center; max-width: 94%; background: #eabf7212; border: 1px dashed #eabf7299; color: #f3e3bd; font-size: 12px; border-radius: 12px; }
.mhx-msg.is-v::before { content: "✦ Market Hub gợi ý: "; color: var(--x-gold2); font-weight: 600; }
.mhx-msg.is-v b { color: #fff; }
.mhx-msg.is-card { align-self: flex-end; width: 84%; background: #121017; border: 1px solid var(--x-line2); border-bottom-right-radius: 6px; }
.mhx-msg.is-card small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .1em; color: var(--x-gold2); }
.mhx-msg.is-card b { display: block; font-size: 13.5px; margin: 2px 0; }
.mhx-msg.is-card span { font-size: 12px; color: var(--x-muted); }
.mhx-msg.is-pay { align-self: center; background: #63d9a01a; border: 1px solid #63d9a077; color: #b5f0d3; font-weight: 600; font-size: 12.5px; box-shadow: 0 0 24px #63d9a033; }
.mhx-typing { align-self: flex-start; display: flex; gap: 4px; padding: 11px 13px; background: #1e1b24; border-radius: 16px; border-bottom-left-radius: 6px; }
.mhx-typing.is-s { align-self: flex-end; background: #94691caa; border-radius: 16px; border-bottom-right-radius: 6px; }
.mhx-typing i { width: 6px; height: 6px; border-radius: 50%; background: #c9c3cc; animation: mhx-td 1s infinite; }
.mhx-typing i:nth-child(2) { animation-delay: .15s; } .mhx-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes mhx-td { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes mhx-pop { from { opacity: 0; transform: translateY(10px) scale(.95); } }
.mhx-chat.is-play .mhx-msg { animation: mhx-pop .38s var(--x-ease); }
.mhx-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 4; }
.mhx-confetti i { position: absolute; top: 55%; left: 50%; width: 7px; height: 11px; border-radius: 2px; animation: mhx-conf 1.5s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes mhx-conf { to { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; } }
.mhx-dsteps { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; counter-reset: mhxd; }
.mhx-dsteps li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--x-line); border-radius: 12px; color: var(--x-faint); font-size: 14.5px; transition: color .4s, border-color .4s, background .4s, box-shadow .4s; }
.mhx-dsteps li::before { counter-increment: mhxd; content: counter(mhxd); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 1px solid var(--x-line2); font-size: 12px; font-weight: 600; transition: all .4s; }
.mhx-dsteps li small { margin-left: auto; font-size: 11.5px; color: var(--x-faint); }
.mhx-dsteps li.is-on { color: var(--x-text); border-color: var(--x-gold); background: linear-gradient(90deg, #eabf7222, transparent); box-shadow: 0 0 0 1px var(--x-gold) inset, 0 10px 30px -18px var(--x-gold); }
.mhx-dsteps li.is-on::before { background: linear-gradient(135deg, var(--x-gold2), var(--x-gold3)); border-color: transparent; color: #241703; box-shadow: 0 0 14px var(--x-gold); }
.mhx-dsteps li.is-done { color: var(--x-muted); }
.mhx-dsteps li.is-done::before { content: "✓"; background: #63d9a022; color: var(--x-green); border-color: #63d9a066; }
.mhx-chat .mhx-lead { margin-top: 24px !important; }
.mhx-chat-act { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 26px; }
.mhx-chat-act .mhx-btn-ghost { margin-top: 0; }
.mhx-replay { padding: 12px 16px; border: 0; border-radius: 13px; background: transparent; color: var(--x-muted); font: inherit; font-size: 14px; cursor: pointer; }
.mhx-replay:hover { color: var(--x-gold); }
.mhx-chat-note { margin-top: 14px !important; color: var(--x-faint); font-size: 12.5px; }
@media (max-width: 960px) {
  .mhx-chat { padding: 80px 0; }
  .mhx-chat-grid { display: flex; flex-direction: column; gap: 0; }
  .mhx-chat-txt { display: contents; }
  .mhx-chat .mhx-kicker { order: 1; align-self: flex-start; }
  .mhx-chat h2 { order: 2; margin-bottom: 20px; }
  .mhx-dsteps { order: 3; flex-direction: row; gap: 6px; margin: 0 0 22px; }
  .mhx-dsteps li { flex: 1; flex-direction: column; gap: 5px; padding: 8px 2px; font-size: 0; text-align: center; }
  .mhx-dsteps li::before { width: 24px; height: 24px; font-size: 11px; }
  .mhx-dsteps li small { margin: 0; font-size: 10px; line-height: 1.3; color: inherit; }
  .mhx-phone-wrap { order: 4; }
  .mhx-chat .mhx-lead { order: 5; }
  .mhx-chat-act { order: 6; }
  .mhx-chat-note { order: 7; }
}
@media (max-width: 600px) { .mhx-phone { width: 290px; height: 540px; border-radius: 40px; } .mhx-screen { border-radius: 31px; } .mhx-phone-wrap::before { width: 260px; height: 260px; margin: -130px 0 0 -130px; } }
@media (prefers-reduced-motion: reduce) { .mhx-phone-wrap::before, .mhx-typing i { animation: none; } }

/* ---- Chức năng nổi bật (25/11/2026, inc/home-extra.php mht_hx_features) ----
   4 nhóm theo việc khách cần. JS (home-v2.js) bỏ hidden ở thanh tab và chỉ hiện nhóm đang chọn; tắt JS thì 4 nhóm xếp dọc, có tiêu đề nhóm. */
.mhx-feat { padding: 104px 0 96px; border-top: 1px solid var(--x-line); background: var(--x-bg2); }
.mhx-feat::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 40% 50% at 12% 0%, #eabf7214, transparent 70%), radial-gradient(ellipse 35% 45% at 92% 100%, #9584e014, transparent 70%); pointer-events: none; }
.mhx-feat-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: end; margin-bottom: 40px; }
.mhx-feat-lead { color: var(--x-muted); font-size: 16px; line-height: 1.85; }
.mhx-feat-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 26px; }
.mhx-feat-tabs[hidden] { display: none; }
.mhx-feat-tabs button { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; padding: 14px 16px; border: 1px solid var(--x-line); border-radius: 14px; background: #ffffff05; color: var(--x-muted); font: inherit; text-align: left; cursor: pointer; transition: border-color .25s, background .25s, color .25s; }
.mhx-feat-tabs button b { color: var(--x-text); font-size: 15px; font-weight: 600; text-wrap: balance; }
.mhx-feat-tabs button small { font-size: 12.5px; line-height: 1.5; }
.mhx-feat-tabs button:hover { border-color: var(--x-line2); background: #ffffff0a; }
.mhx-feat-tabs button[aria-selected="true"] { border-color: var(--x-gold); background: linear-gradient(160deg, #eabf721f, #eabf7208); }
.mhx-feat-tabs button[aria-selected="true"] b { color: var(--x-gold2); }
.mhx-feat-tabs button:focus-visible { outline: 2px solid var(--x-gold); outline-offset: 2px; }
.mhx-feat-group { margin: 30px 0 14px !important; font-size: 18px !important; }
.mhx-feat-group small { margin-left: 8px; color: var(--x-faint); font-size: 13px; font-weight: 400; }
.mhx-feat.is-tabbed .mhx-feat-group { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mhx-feat.is-tabbed .mhx-feat-panel:not(.is-on) { display: none; }
.mhx-feat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.mhx-feat-card { min-width: 0; }
.mhx-feat-card a { position: relative; display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 20px 18px 18px; border: 1px solid var(--x-line); border-radius: 18px; background: linear-gradient(170deg, #1b1920, #121116); text-decoration: none; transition: transform .35s var(--x-ease), border-color .3s, box-shadow .35s; }
.mhx-feat-card a:hover, .mhx-feat-card a:focus-visible { transform: translateY(-4px); border-color: #eabf7266; box-shadow: 0 26px 50px -28px #000, 0 0 0 1px #eabf7222; }
.mhx-feat-card a:focus-visible { outline: 2px solid var(--x-gold); outline-offset: 2px; }
.mhx-feat-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mhx-feat-no { font-family: "JetBrains Mono", ui-monospace, monospace; color: var(--x-faint); font-size: 12px; letter-spacing: 0 !important; }
.mhx-feat-tag { padding: 3px 9px; border-radius: 99px; font-size: 11px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.is-free .mhx-feat-tag { background: #63d9a01a; color: var(--x-green); }
.is-acc .mhx-feat-tag { background: #7b9be61f; color: #a9bff2; }
.is-credit .mhx-feat-tag { background: #eabf721a; color: var(--x-gold); }
.mhx-feat-ask { color: var(--x-muted); font-size: 13.5px; font-style: italic; line-height: 1.6; }
.mhx-feat-name { color: var(--x-text); font-size: 17px; font-weight: 700; line-height: 1.35; }
.mhx-feat-desc { color: var(--x-faint); font-size: 13.5px; line-height: 1.7; }
.mhx-feat-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.mhx-feat-chips i { padding: 4px 9px; border: 1px solid var(--x-line2); border-radius: 8px; color: var(--x-muted); font-size: 11.5px; font-style: normal; }
.mhx-feat-go { display: inline-flex; align-items: center; gap: 6px; color: var(--x-gold); font-size: 13.5px; font-weight: 600; }
.mhx-feat-go svg { transition: transform .3s var(--x-ease); }
.mhx-feat-card a:hover .mhx-feat-go svg { transform: translateX(4px); }
.mhx-feat-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--x-line); }
.mhx-feat-foot ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.mhx-feat-foot li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border: 1px solid var(--x-line); border-radius: 99px; color: var(--x-muted); font-size: 12.5px; }
.mhx-feat-foot li svg { color: var(--x-green); }
.mhx-feat-foot .mhx-btn-ghost { margin-top: 0; }
html.mhx-motion .mhx-feat.is-tabbed .mhx-feat-panel.is-on .mhx-feat-card { animation: mhx-feat-in .5s var(--x-ease) both; animation-delay: calc(var(--k, 0) * 70ms); }
@keyframes mhx-feat-in { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 1100px) { .mhx-feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .mhx-feat { padding: 80px 0 72px; }
  .mhx-feat-head { grid-template-columns: 1fr; gap: 18px; }
  .mhx-feat-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .mhx-feat-grid { grid-template-columns: 1fr; }
  .mhx-feat-tabs button { padding: 11px 12px; }
  .mhx-feat-tabs button small { display: none; }
  .mhx-feat-tabs button b { font-size: 13.5px; text-wrap: balance; }
  .mhx-feat-foot { flex-direction: column; align-items: stretch; }
  .mhx-feat-foot .mhx-btn-ghost { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .mhx-feat-card a { transition: none; } .mhx-feat-card a:hover { transform: none; } }
