/* hang_moi.css — trang "Hàng mới về" (Rex 17/11/2026). Đi kèm hang_moi.js. HAI giao diện riêng:
   #hm.hm-mb  = điện thoại (<900px) kiểu Instagram · #hm.hm-pc = máy tính (≥900px) lưới thẻ + đầu đợt có banner.
   Trang dựng từ khung trang chủ (_hang_moi_gen.py) ⇒ thẻ .card.c7, biến --red/--line/--soft/--gray và phông lấy nguyên của trang chủ. Tiền tố hm- để không đụng CSS chung. */
html.hm-khoa,html.hm-khoa body{overflow:hidden}
#new.hm-sec .sec-head{margin-bottom:22px}
#hm{color:#e4e6eb}
#hm .hm-trong,#hm .hm-cho{padding:30px 16px;text-align:center;color:var(--soft,#b0b3b8);font-size:14px;min-height:4px}

/* ① STORIES theo hãng */
#hm .hm-st{display:flex;gap:16px;overflow-x:auto;scrollbar-width:none;padding:4px 2px 12px}
#hm .hm-st::-webkit-scrollbar{display:none}
#hm .hm-st button{flex:0 0 auto;width:72px;border:0;background:none;padding:0;color:#e4e6eb;font:inherit;cursor:pointer;text-align:center}
#hm .hm-st .av{display:block;width:66px;height:66px;border-radius:50%;padding:3px;margin:0 auto 6px;background:linear-gradient(45deg,#E12C2C,#ff7a45 55%,#ffb347);transition:transform .25s}
#hm .hm-st button:hover .av{transform:scale(1.06)}
#hm .hm-st button.xem .av{background:#4e4f50}
/* đợt GHIM (Rex 24/11: Orient nổi bật) — viền + vòng vàng; máy tính: vòng tròn nằm ở .hm-head, ngoài #hm */
.hm-head .hm-st button.ghim .av{background:linear-gradient(45deg,#8a6a1f,#ffdb8a 45%,#c99a3f)!important;box-shadow:0 0 16px rgba(255,219,138,.55)}.hm-head .hm-st button.ghim .av img{background:#0b0906!important}.hm-head .hm-st button.ghim .nh{color:#ffdb8a!important;font-weight:700}.hm-st button.ghim{width:112px!important}.hm-st button.ghim .nh{white-space:nowrap;overflow:visible}
#hm .hm-pp.ghim .cap h3{color:#ffdb8a!important}
#hm .hm-st button.ghim .av{background:linear-gradient(45deg,#8a6a1f,#ffdb8a 45%,#c99a3f);box-shadow:0 0 16px rgba(255,219,138,.55)}#hm .hm-st button.ghim .av img{background:#0b0906}#hm .hm-st button.ghim .nh{color:#ffdb8a;font-weight:700}
#hm .hm-pp.ghim .pp-bd{border:1px solid #c99a3f;box-shadow:0 0 0 1px rgba(255,219,138,.25),0 0 34px rgba(201,154,63,.22);background:linear-gradient(180deg,#17110a,#0b0906)}#hm .hm-pp.ghim h3,#hm .hm-dot.ghim h3{color:#ffdb8a}#hm .hm-pp.ghim .av img,#hm .hm-dot.ghim .av img{background:#0b0906}#hm .hm-dot.ghim{border:1px solid #c99a3f;border-radius:14px;overflow:hidden}
#hm .hm-st .av img{width:100%;height:100%;border-radius:50%;border:3px solid #1b1b1b;background:#fff;object-fit:contain;display:block}
#hm .hm-st .nh{display:block;font-size:11.5px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--soft,#b0b3b8)}
#hm.hm-pc .hm-st{gap:26px}
#hm.hm-pc .hm-st button{width:92px}
#hm.hm-pc .hm-st .av{width:84px;height:84px}
#hm.hm-pc .hm-st .nh{font-size:12.5px}

/* ② CHIP LỌC */
#hm .hm-chip{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:4px 2px 14px}
#hm .hm-chip::-webkit-scrollbar{display:none}
#hm .hm-chip button{flex:0 0 auto;border:1px solid var(--line,#3a3b3c);border-radius:999px;background:transparent;color:#e4e6eb;font:500 13px/1 'Be Vietnam Pro',system-ui,sans-serif;padding:9px 16px;cursor:pointer;white-space:nowrap;transition:background .2s,border-color .2s}
#hm .hm-chip button:hover{border-color:rgba(225,44,44,.6)}
#hm .hm-chip button.on{background:#E12C2C;border-color:#E12C2C;color:#fff}

/* ③ ĐẦU ĐỢT (dùng chung) */
#hm .hm-dot .av{width:28px;height:28px;border-radius:50%;background:#fff;overflow:hidden;flex:0 0 auto;display:flex}
#hm .hm-dot .av img{width:100%;height:100%;object-fit:contain}
#hm .hm-dot .hg{display:flex;align-items:center;gap:9px;font-size:13px;color:var(--soft,#b0b3b8)}
#hm .hm-dot .hg b{color:#fff;font-size:14px;letter-spacing:.3px}
#hm .hm-dot .bn{background:#111;overflow:hidden;display:flex;align-items:center;justify-content:center}
#hm .hm-dot .bn>img{width:100%;height:100%;object-fit:cover;display:block}
#hm .hm-dot .bn .lg{width:96px;height:96px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;padding:14px}
#hm .hm-dot .bn .lg img{max-width:100%;max-height:100%;object-fit:contain}

/* ③a MÁY TÍNH — kiểu Instagram bản máy tính (Rex 18/11): cột chính | cột phụ dính, nằm gọn trong .wrap */
/* Rex 18/11: khung lề như trang BỘ SƯU TẬP (1280px, lề 22px) — header/footer giữ nguyên như mọi trang */
.hm-body #new.hm-sec>.wrap{max-width:1280px;padding:0 22px}
#new.hm-sec{padding-top:34px}
#hm.hm-pc{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:32px;align-items:start}
@media(max-width:1180px){#hm.hm-pc{grid-template-columns:minmax(0,1fr)}#hm.hm-pc .hm-side{display:none}}
#hm.hm-pc .hm-main{min-width:0}
#hm.hm-pc .hm-st{gap:22px;padding:2px 2px 22px;margin-bottom:6px;border-bottom:1px solid var(--line,#2c2d2f)}
#hm.hm-pc .hm-st button{width:86px}
#hm.hm-pc .hm-st .av{width:78px;height:78px}
#hm.hm-pc .hm-st .nh{font-size:12.5px;color:#e4e6eb}
/* bài đăng = 1 đợt */
#hm .hm-pp{padding:26px 0 30px;border-bottom:1px solid var(--line,#2c2d2f)}
#hm .hm-pp:last-of-type{border-bottom:0}
#hm .hm-pp .pp-bd{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);border:1px solid var(--line,#2c2d2f);border-radius:6px;overflow:hidden;background:#141414}
#hm .hm-pp .md{position:relative;background:#000;min-height:clamp(430px,40vw,560px)}
#hm .hm-pp .car{position:absolute;inset:0;display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
#hm .hm-pp .car::-webkit-scrollbar{display:none}
#hm .hm-pp .sl{position:relative;flex:0 0 100%;height:100%;scroll-snap-align:center;overflow:hidden;display:block;background:#0c0c0c}
#hm .hm-pp .sl>img{width:100%;height:100%;object-fit:cover;object-position:50% 18%;display:block;transition:transform .6s}
#hm .hm-pp a.sl:hover>img{transform:scale(1.03)}
#hm .hm-pp .sl.bn .bg{position:absolute;inset:-30px;width:calc(100% + 60px);height:calc(100% + 60px);object-fit:cover;filter:blur(26px) brightness(.45);transform:none}
#hm .hm-pp .sl.bn .fg{position:relative;width:100%;height:100%;object-fit:contain;display:block}
#hm .hm-pp .sl.vd{cursor:pointer}
#hm .hm-pp .sl video{width:100%;height:100%;object-fit:contain;display:block;background:#000}
#hm .hm-pp .sl .pl{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:58px;height:58px;line-height:58px;text-align:center;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;font-style:normal;font-size:20px;pointer-events:none}
#hm .hm-pp .tagp{position:absolute;left:12px;bottom:34px;z-index:2;max-width:calc(100% - 24px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12.5px;font-weight:600;color:#fff;background:rgba(0,0,0,.66);border-radius:4px;padding:6px 10px;text-decoration:none;backdrop-filter:blur(4px)}
#hm .hm-pp .pv,#hm .hm-pp .nx{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:32px;height:32px;border-radius:50%;border:0;background:rgba(255,255,255,.88);color:#111;font-size:22px;line-height:30px;padding:0;cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.35)}
#hm .hm-pp .pv{left:12px}#hm .hm-pp .nx{right:12px}
#hm .hm-pp .pv[hidden],#hm .hm-pp .nx[hidden]{display:none}
#hm .hm-pp .dots{position:absolute;left:0;right:0;bottom:12px;display:flex;gap:5px;justify-content:center;z-index:2;pointer-events:none}
#hm .hm-pp .dots i{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.4)}
#hm .hm-pp .dots i.on{background:#fff}
#hm .hm-pp .cap{display:flex;flex-direction:column;padding:20px 24px 22px;min-width:0}
#hm .hm-pp .cap .ph{display:flex;align-items:center;gap:12px;padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid var(--line,#2c2d2f)}
#hm .hm-pp .cap .av{width:42px;height:42px;border-radius:50%;padding:2px;background:linear-gradient(45deg,#E12C2C,#ff7a45 55%,#ffb347);flex:0 0 auto}
#hm .hm-pp .cap .av img{width:100%;height:100%;border-radius:50%;border:2px solid #141414;background:#fff;object-fit:contain;display:block}
#hm .hm-pp .cap .ph div{flex:1;min-width:0;line-height:1.3}
#hm .hm-pp .cap .ph b{display:flex;align-items:center;gap:5px;font-size:14.5px;color:#fff;letter-spacing:.3px}
#hm .hm-pp .cap .ph span{font-size:12.5px;color:var(--soft,#b0b3b8)}
#hm .hm-pp .tk{width:15px;height:15px;flex:0 0 auto}
#hm .hm-pp .mi{font-style:normal;font-size:10.5px;font-weight:800;letter-spacing:.8px;color:#fff;background:#E12C2C;border-radius:3px;padding:4px 8px}
#hm .hm-pp .cap h3{font-family:'Cormorant Garamond',serif;font-size:clamp(25px,2vw,31px);line-height:1.15;font-weight:600;color:#fff;margin:0 0 14px;letter-spacing:.2px}
#hm .hm-pp .cap p{font-size:14.5px;line-height:1.7;color:#cfd1d4;font-weight:300;margin:0}
#hm .hm-pp .so{display:flex;flex-wrap:wrap;gap:6px 18px;margin:20px 0 0;font-size:13px;color:var(--soft,#b0b3b8)}
#hm .hm-pp .so b{color:#fff;font-weight:700}
#hm .hm-pp .nut{display:flex;gap:10px;margin-top:auto;padding-top:18px}
#hm .hm-pp .nut .zl,#hm .hm-pp .nut .xb{flex:1;text-align:center;font:700 14px/1 'Be Vietnam Pro',system-ui,sans-serif;border-radius:6px;padding:14px 12px;text-decoration:none;cursor:pointer}
#hm .hm-pp .nut .zl{color:#fff;background:#E12C2C;border:1px solid #E12C2C}
#hm .hm-pp .nut .xb{color:#fff;background:transparent;border:1px solid var(--line,#3a3b3c)}
#hm .hm-pp .nut .xb:hover{border-color:#fff}
#hm .hm-pp .pp-lb{margin:22px 0 12px;font:600 12px/1 'Be Vietnam Pro',system-ui,sans-serif;letter-spacing:2.5px;text-transform:uppercase;color:var(--soft,#b0b3b8)}
#hm.hm-pc .hm-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
@media(max-width:1100px){#hm.hm-pc .hm-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* dải ảnh nhỏ trong chú thích (bấm để chuyển ảnh) */
#hm .hm-pp .th{display:flex;gap:6px;margin-top:16px;flex-wrap:wrap}
#hm .hm-pp .th button{position:relative;width:46px;height:58px;padding:0;border:1px solid var(--line,#2c2d2f);border-radius:4px;overflow:hidden;background:#000;cursor:pointer;opacity:.55;transition:opacity .2s,border-color .2s}
#hm .hm-pp .th button.on,#hm .hm-pp .th button:hover{opacity:1;border-color:#fff}
#hm .hm-pp .th img{width:100%;height:100%;object-fit:cover;object-position:50% 20%;display:block}
#hm .hm-pp .th i{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:12px;color:#fff;text-shadow:0 1px 4px #000}
/* ô thước phim lấp chỗ trống hàng thẻ cuối */
#hm .hm-fill{position:relative;min-height:320px;border:1px solid var(--line,#2c2d2f);border-radius:6px;overflow:hidden;padding:0;background:#000;cursor:pointer;text-align:left}
#hm .hm-fill video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
#hm .hm-fill::after{content:"";position:absolute;inset:0;background:linear-gradient(rgba(0,0,0,.35),transparent 30%,transparent 60%,rgba(0,0,0,.85))}
#hm .hm-fill .lb{position:absolute;top:10px;left:10px;z-index:2;font:700 11px/1 'Be Vietnam Pro',system-ui,sans-serif;letter-spacing:.6px;color:#fff;background:rgba(0,0,0,.55);border-radius:3px;padding:5px 8px}
#hm .hm-fill .lb i{font-style:normal;color:#E12C2C}
#hm .hm-fill .tt{position:absolute;left:12px;right:12px;bottom:12px;z-index:2;font-size:13px;font-weight:600;line-height:1.35;color:#fff}
#hm.hm-pc .hm-grid .card.c7{position:relative}
#hm .card .ci .hm-moi{position:absolute;top:10px;left:10px;z-index:3;font-style:normal;font-size:10.5px;font-weight:800;letter-spacing:.8px;color:#fff;background:#E12C2C;border-radius:3px;padding:3px 7px}
#hm .hm-more{display:block;margin:18px auto 0;border:1px solid var(--line,#3a3b3c);border-radius:999px;background:transparent;color:#e4e6eb;font:600 13.5px/1 'Be Vietnam Pro',system-ui,sans-serif;padding:13px 26px;cursor:pointer}
#hm .hm-more:hover{border-color:#fff}
/* cột phụ (dính khi cuộn) */
#hm .hm-side{position:sticky;top:120px;display:flex;flex-direction:column;gap:16px}
#hm .hm-side .bx{border:1px solid var(--line,#2c2d2f);border-radius:6px;background:#141414;padding:16px 16px 12px}
#hm .hm-side .bh{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:10px}
#hm .hm-side .bh b{font-size:14px;color:#fff}
#hm .hm-side .bh span{font-size:12px;color:var(--soft,#b0b3b8)}
#hm .hm-side .dr{display:flex;align-items:center;gap:12px;width:100%;border:0;background:none;padding:8px 0;color:#e4e6eb;font:inherit;text-align:left;cursor:pointer}
#hm .hm-side .dr .av{width:44px;height:44px;border-radius:50%;padding:2px;background:linear-gradient(45deg,#E12C2C,#ff7a45 55%,#ffb347);flex:0 0 auto}
#hm .hm-side .dr .av.xem{background:#4e4f50}
#hm .hm-side .dr .av img{width:100%;height:100%;border-radius:50%;border:2px solid #141414;background:#fff;object-fit:contain;display:block}
#hm .hm-side .dr .tx{flex:1;min-width:0;line-height:1.3}
#hm .hm-side .dr .tx b{display:block;font-size:13.5px;color:#fff}
#hm .hm-side .dr .tx span{font-size:12px;color:var(--soft,#b0b3b8)}
#hm .hm-side .dr .go{font-size:12.5px;font-weight:700;color:#E12C2C}
#hm .hm-side .dr:hover .go{color:#ff5252}
#hm .hm-side .rg{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}
#hm .hm-side .rc{position:relative;aspect-ratio:9/14;border:0;border-radius:4px;overflow:hidden;padding:0;background:#000;cursor:pointer}
#hm .hm-side .rc video{width:100%;height:100%;object-fit:cover;display:block}
#hm .hm-side .rc i{position:absolute;left:6px;bottom:5px;font-style:normal;font-size:11px;color:#fff;text-shadow:0 1px 4px #000}
#hm .hm-side .bx.nho p{margin:0 0 12px;font-size:13px;line-height:1.6;color:var(--soft,#b0b3b8)}
#hm .hm-side .bx.nho p a{color:#fff;text-decoration:underline;text-underline-offset:3px}
#hm .hm-side .bx.nho .zl{display:block;text-align:center;font:700 14px/1 'Be Vietnam Pro',system-ui,sans-serif;color:#fff;background:#E12C2C;border-radius:6px;padding:13px;text-decoration:none;margin-bottom:4px}

/* ③b ĐIỆN THOẠI: bài đăng kiểu Instagram */
#hm.hm-mb{margin:0 calc(-1 * clamp(14px,2.2vw,36px))}
#hm.hm-mb .hm-st,#hm.hm-mb .hm-chip{padding-left:16px;padding-right:16px}
#hm.hm-mb .hm-chip{position:sticky;top:0;z-index:5;background:#1b1b1b}
#hm.hm-mb .hm-d-mb{margin:6px 0 0;border-top:8px solid #0e0f10}
#hm.hm-mb .hm-d-mb .bn{aspect-ratio:auto}#hm.hm-mb .hm-d-mb .bn>img{height:auto;max-height:640px}
#hm.hm-mb .hm-d-mb .tx{padding:12px 16px 6px}
#hm.hm-mb .hm-d-mb h3{font-size:17px;line-height:1.3;margin:8px 0 0;color:#fff;font-weight:700;font-family:'Be Vietnam Pro',system-ui,sans-serif}
#hm.hm-mb .hm-d-mb p{margin:6px 0 0;font-size:14px;line-height:1.55;color:#cfd1d4}
#hm .hm-post{margin:0;padding:12px 0 6px;border-bottom:1px solid #2c2d2f}
#hm .hm-post>.ph{display:flex;align-items:center;gap:10px;padding:0 14px 10px}
#hm .hm-post .av{width:34px;height:34px;border-radius:50%;background:#fff;overflow:hidden;flex:0 0 auto;display:flex;box-shadow:0 0 0 2px #E12C2C}
#hm .hm-post .av img{width:100%;height:100%;object-fit:contain}
#hm .hm-post>.ph div{flex:1;min-width:0;line-height:1.25}
#hm .hm-post>.ph b{display:block;font-size:13.5px;color:#fff}
#hm .hm-post>.ph span{font-size:12px;color:#b0b3b8}
#hm .hm-post .mi{font-style:normal;font-size:10.5px;font-weight:800;letter-spacing:.6px;color:#fff;background:#E12C2C;border-radius:4px;padding:3px 6px}
#hm .hm-post .md{position:relative;background:#000;cursor:pointer}
#hm .hm-post .car{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
#hm .hm-post .car::-webkit-scrollbar{display:none}
#hm .hm-post .sl{position:relative;flex:0 0 100%;scroll-snap-align:center;aspect-ratio:4/5;background:#111}
#hm .hm-post .sl img{width:100%;height:100%;object-fit:cover;object-position:50% 20%;display:block}
#hm .hm-post .sl video{width:100%;height:100%;object-fit:contain;background:#000;display:block}
#hm .hm-post .sl .pl{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:54px;height:54px;line-height:54px;text-align:center;border-radius:50%;background:rgba(0,0,0,.5);color:#fff;font-style:normal;font-size:20px;pointer-events:none}
#hm .hm-post .cnt{position:absolute;top:10px;right:10px;font-size:12px;font-weight:600;color:#fff;background:rgba(0,0,0,.6);border-radius:999px;padding:3px 9px}
#hm .hm-post .dots{position:absolute;left:0;right:0;bottom:8px;display:flex;gap:4px;justify-content:center;pointer-events:none}
#hm .hm-post .dots i{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.45)}
#hm .hm-post .dots i.on{background:#fff}
#hm .hm-post .bt{position:absolute;left:50%;top:50%;font-size:96px;line-height:1;color:#fff;transform:translate(-50%,-50%) scale(0);opacity:0;pointer-events:none;text-shadow:0 2px 18px rgba(0,0,0,.5)}
#hm .hm-post .md.tim .bt{animation:hmtim .8s ease}
@keyframes hmtim{0%{transform:translate(-50%,-50%) scale(0);opacity:0}25%{transform:translate(-50%,-50%) scale(1.15);opacity:1}50%{transform:translate(-50%,-50%) scale(.95)}100%{transform:translate(-50%,-50%) scale(1);opacity:0}}
#hm .hm-post .act{display:flex;align-items:center;gap:8px;padding:8px 12px 2px}
#hm .hm-post .cardfav{position:static!important;width:42px;height:42px;border:0;background:none;color:#fff;font-size:28px;line-height:1;cursor:pointer;opacity:1!important;transform:none!important;box-shadow:none!important}
#hm .hm-post .zl{flex:1;text-align:center;font-size:14px;font-weight:700;color:#fff;background:#E12C2C;border-radius:8px;padding:10px 12px;text-decoration:none}
#hm .hm-post .cap{padding:2px 14px 8px;font-size:14px;line-height:1.45}
#hm .hm-post .hm-mcap.card.c7{display:block;border:0;background:none;box-shadow:none;transform:none;overflow:visible}
#hm .hm-post .hm-mcap .meta{padding:2px 0 0}
#hm .hm-post .hm-mcap .nm{font-size:15px;-webkit-line-clamp:2}
#hm .hm-post .cap .xt{display:inline-block;margin-top:6px;font-size:13px;color:var(--soft,#b0b3b8);text-decoration:none}

/* ④ THƯỚC PHIM (chỉ có khi đợt/con có clip) */
#hm .hm-rl h4{margin:0 0 10px;font:600 13px/1 'Cormorant SC',serif;letter-spacing:3px;text-transform:uppercase;color:var(--soft,#b0b3b8)}
#hm .hm-rl .rw{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;padding:0 2px 4px}
#hm .hm-rl .rw::-webkit-scrollbar{display:none}
#hm .hm-rl button{position:relative;flex:0 0 220px;aspect-ratio:16/9;border:1px solid var(--line,#2c2d2f);border-radius:6px;overflow:hidden;padding:0;background:#111;cursor:pointer}
#hm .hm-rl video{width:100%;height:100%;object-fit:cover;display:block}
#hm .hm-rl button::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 50%,rgba(0,0,0,.8))}
#hm .hm-rl .tt{position:absolute;left:10px;right:10px;bottom:8px;z-index:2;font-size:12px;line-height:1.25;color:#fff;text-align:left;font-weight:600}
#hm .hm-rl i{position:absolute;top:8px;right:10px;z-index:2;font-style:normal;font-size:13px;color:#fff}
#hm.hm-mb .hm-rl{padding:12px 16px 10px;border-bottom:8px solid #0e0f10}
#hm.hm-mb .hm-rl button{flex-basis:200px}

/* STORY toàn màn hình + REEL dọc toàn màn hình (gắn vào body) */
.hm-sv,.hm-rv{position:fixed;inset:0;z-index:9999;background:#000;display:none;color:#fff;font-family:'Be Vietnam Pro',system-ui,sans-serif}
.hm-sv.mo,.hm-rv.mo{display:block}
.hm-sv .bars{position:absolute;top:8px;left:8px;right:8px;display:flex;gap:4px;z-index:3}
.hm-sv .bars i{flex:1;height:3px;border-radius:2px;background:rgba(255,255,255,.35);overflow:hidden}
.hm-sv .bars u{display:block;height:100%;width:0;background:#fff}
.hm-sv .top{position:absolute;top:18px;left:10px;right:10px;display:flex;align-items:center;gap:8px;z-index:3;font-size:13px}
.hm-sv .top .lg{width:32px;height:32px;border-radius:50%;background:#fff;object-fit:contain}
.hm-sv .top .tm{color:#cfd1d4;flex:1}
.hm-sv .x,.hm-rv .x{border:0;background:none;color:#fff;font-size:34px;line-height:1;cursor:pointer;z-index:5}
.hm-rv .x{position:absolute;top:10px;right:14px}
.hm-sv .anh{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.hm-sv .anh img{max-width:min(100%,560px);max-height:100%;width:100%;height:100%;object-fit:contain}
.hm-sv .ft{position:absolute;left:0;right:0;bottom:0;padding:60px 16px 22px;background:linear-gradient(transparent,rgba(0,0,0,.85));z-index:3;text-align:center}
.hm-sv .tt{font-size:17px;font-weight:700}.hm-sv .sb{font-size:13px;color:#cfd1d4;margin:3px 0 12px}
.hm-sv .go{display:inline-block;background:#E12C2C;color:#fff;font-weight:700;font-size:14px;border-radius:999px;padding:11px 22px;text-decoration:none}
.hm-sv .l,.hm-sv .r{position:absolute;top:70px;bottom:130px;width:35%;z-index:2;cursor:pointer}
.hm-sv .l{left:0}.hm-sv .r{right:0}
.hm-rv .ls{position:absolute;inset:0;overflow-y:auto;scroll-snap-type:y mandatory}
.hm-rv .it{position:relative;height:100%;scroll-snap-align:start;display:flex;justify-content:center;background:#000}
.hm-rv video{height:100%;width:100%;max-width:960px;object-fit:contain;background:#000}
.hm-rv .ft{position:absolute;left:0;right:0;bottom:0;padding:50px 16px 24px;background:linear-gradient(transparent,rgba(0,0,0,.8));max-width:960px;margin:0 auto}
.hm-rv .ft p{margin:3px 0 8px;font-size:14px}.hm-rv .ft a{color:#fff;font-weight:700;font-size:13.5px}
/* PC: tiêu đề trái · vòng tròn hãng phải, cùng một hàng (Rex 18/11: bớt khoảng trống) */
#new.hm-sec .sec-head.hm-head{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:26px}
#new.hm-sec .sec-head.hm-head::after{display:none}
#new.hm-sec .sec-head.hm-head .hm-tt::after{content:"";display:block;width:70px;height:2px;margin-top:18px;background:linear-gradient(90deg,var(--red),rgba(225,44,44,0))}
#new.hm-sec .sec-head.hm-head .hm-st{display:flex;gap:18px;padding:0;margin:0;border:0;flex:0 1 auto;min-width:0;overflow-x:auto;scrollbar-width:none}
#new.hm-sec .sec-head.hm-head .hm-st button{flex:0 0 auto;width:80px;border:0;background:none;padding:0;color:#e4e6eb;font:inherit;cursor:pointer;text-align:center}
#new.hm-sec .sec-head.hm-head .hm-st .av{display:block;width:72px;height:72px;border-radius:50%;padding:3px;margin:0 auto 6px;background:linear-gradient(45deg,#E12C2C,#ff7a45 55%,#ffb347);transition:transform .25s}
#new.hm-sec .sec-head.hm-head .hm-st button:hover .av{transform:scale(1.06)}
#new.hm-sec .sec-head.hm-head .hm-st button.xem .av{background:#4e4f50}
#new.hm-sec .sec-head.hm-head .hm-st .av img{width:100%;height:100%;border-radius:50%;border:3px solid #1b1b1b;background:#fff;object-fit:contain;display:block}
#new.hm-sec .sec-head.hm-head .hm-st .nh{display:block;font-size:12.5px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#e4e6eb}
#hm.hm-pc .hm-pp:first-child{padding-top:0}
#hm .hm-pp .tg{display:flex;flex-direction:column;gap:4px}
#hm .hm-pp .tg a{display:flex;align-items:center;gap:12px;padding:7px 8px;border-radius:6px;text-decoration:none;color:#e4e6eb;transition:background .2s}
#hm .hm-pp .tg a:hover{background:#1f1f1f}
#hm .hm-pp .tg img{width:44px;height:56px;border-radius:4px;object-fit:cover;object-position:50% 20%;flex:0 0 auto}
#hm .hm-pp .tg span{flex:1;min-width:0;line-height:1.35}
#hm .hm-pp .tg b{display:block;font-size:13.5px;font-weight:600;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#hm .hm-pp .tg em{font-style:normal;font-size:12px;color:var(--soft,#b0b3b8)}
#hm .hm-pp .tg i{font-style:normal;font-size:12.5px;font-weight:700;color:#E12C2C}
/* Rex 18/11: chữ MỚI → NEW nhấp nháy kiểu Telegram (dải sáng quét qua + nhịp nhẹ) */
#hm .hm-new{position:relative;overflow:hidden;font-style:normal;font-weight:800;letter-spacing:.8px;color:#fff;background:linear-gradient(135deg,#ff2d2d,#ff8a3d);border-radius:999px;padding:4px 9px;box-shadow:0 0 10px rgba(255,70,45,.55);animation:hmNhip 1.6s ease-in-out infinite}
#hm .hm-new::after{content:"";position:absolute;top:0;left:-70%;width:45%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.8),transparent);transform:skewX(-20deg);animation:hmLoe 2.2s ease-in-out infinite}
@keyframes hmNhip{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}
@keyframes hmLoe{0%{left:-70%}55%,100%{left:140%}}
@media(prefers-reduced-motion:reduce){#hm .hm-new,#hm .hm-new::after{animation:none}}
/* ĐT: ruy băng KM trong chú thích nằm gọn (ở thẻ nó vắt mép ảnh, ở đây không có ảnh) · "Xem chi tiết" sang phải giá */
#hm .hm-post .hm-mcap .sale-rb{position:static;transform:none;left:auto;right:auto;top:auto;width:auto;display:inline-flex;margin:2px 0 6px}
#hm .hm-post .cap{display:flex;align-items:flex-end;gap:12px}
#hm .hm-post .cap .hm-mcap{flex:1;min-width:0}
#hm .hm-post .cap .xt{flex:0 0 auto;margin:0 0 4px;padding:9px 13px;border:1px solid var(--line,#3a3b3c);border-radius:999px;color:#fff;font-size:12.5px;font-weight:600;white-space:nowrap}
#hm.hm-mb .hm-chip{top:var(--hdm-now,0px)}
#hm .hm-post .mi.hm-new,#hm .hm-pp .mi.hm-new,#hm .card .ci .hm-moi.hm-new{background:linear-gradient(135deg,#ff2d2d,#ff8a3d);border-radius:999px;box-shadow:0 0 10px rgba(255,70,45,.55)}

/* Rex 19/11 — ĐT: tiêu đề sát mép trên, gọn · dải KM nằm cột phải trên "Xem chi tiết" */
@media(max-width:899px){
#new.hm-sec{padding-top:12px}
#new.hm-sec .sec-head{margin-bottom:14px}
#new.hm-sec h2.sec{font-size:27px;margin:0}
#new.hm-sec .sec-head p{font-size:13px;line-height:1.45;margin-top:4px}
#new.hm-sec .sec-head::after{margin-top:10px}
}
#hm .hm-post .cap{align-items:stretch}
#hm .hm-post .cap .ben{flex:0 0 auto;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;gap:10px;max-width:46%}
#hm .hm-post .cap .ben .sale-rb{position:static;transform:none;left:auto;right:auto;top:auto;width:auto;display:inline-flex;margin:4px 0 0}
#hm .hm-post .cap .ben .sale-rb em{font-size:10px;letter-spacing:1.6px;text-indent:1.6px;padding:3px 10px;white-space:nowrap}
#hm .hm-post .cap .ben .xt{margin:0 0 4px}
#hm .hm-post .hm-mcap .nm{-webkit-line-clamp:3}
/* dòng Đầu liền thân (Rex 19/11) */
#hm .hm-dlt{display:inline-flex;align-items:center;gap:6px;margin:4px 0 2px;padding:2px 9px;border:1px solid rgba(255,196,90,.55);border-radius:999px;font-size:11.5px;font-weight:600;color:#ffd38a;background:rgba(255,180,60,.08);white-space:nowrap}
#hm .hm-dlt i{font-style:normal;font-weight:500;color:#e4e6eb;opacity:.85}
#hm .hm-post .cap .ben{justify-content:flex-end}
#hm .hm-post .cap .ben .sale-rb{margin-bottom:auto}
