/* ===== TM All – cổng tìm kiếm (nền sáng, xanh – cam theo logo) ===== */
:root {
  --bg: #f4f7fb; --card: #fff; --line: #e3e9f2; --tx: #14213d; --mut: #5b6b82; --dim: #8a97aa;
  --blue: #0c8f6c; --blue2: #12a882; --sky: #e2f6ef; --orange: #ff7a1a; --orange2: #ff5e14; --red: #e53935; --gold: #f5a623;
  --grad: linear-gradient(100deg, #0c8f6c, #19c39a); --cta: linear-gradient(100deg, #ff5e14, #ff9a2b);
  --navy: #0d1416; --navy2: #14201f; --cyan: #2fe0a5; --ok: #12a150; --field: #fff;
  --r: 14px; --sh: 0 2px 10px rgba(10,80,62,.07); --nav: 58px; --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--tx); font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; padding-bottom: calc(var(--nav) + var(--safe-b)); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pwrap { max-width: 1200px; margin: 0 auto; padding: 0 12px; }
.btn { display: inline-block; padding: 11px 18px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 700; text-align: center; }
.btn2 { display: inline-block; padding: 11px 18px; border-radius: 12px; background: var(--sky); color: var(--blue); font-weight: 700; text-align: center; }

/* ---------- Logo & đầu trang (nền navy công nghệ) ---------- */
.plogo { display: inline-flex; align-items: center; gap: 8px; }
.plogo img { height: 42px; width: auto; border-radius: 6px; }
.plogo .lt { display: flex; flex-direction: column; line-height: 1.1; color: #fff; }
.plogo .lt b { font-size: 19px; font-weight: 900; letter-spacing: .02em; white-space: nowrap; }
.plogo .lt small { font-size: 11px; font-weight: 700; color: var(--cyan); margin-left: 1px; }
.plogo .lt i { font-style: normal; font-size: 10.5px; color: #9fc7b9; white-space: nowrap; letter-spacing: .02em; }
.plogo.big { display: block; }
.plogo.big img { width: 100%; height: auto; display: block; }
.phead { position: sticky; top: 0; z-index: 30; background: var(--navy); background-image: linear-gradient(90deg, rgba(47,224,165,.14), transparent 40%, rgba(255,122,26,.10)); box-shadow: 0 2px 14px rgba(0,0,0,.25); }
.phead .pwrap { display: flex; align-items: center; gap: 12px; height: 62px; }
.phead .plogo { flex: none; }
.phead .sbar { flex: 1; min-width: 0; border-color: transparent; }
.pmenu { display: none; gap: 2px; }
.pmenu a { padding: 8px 11px; border-radius: 10px; font-weight: 600; font-size: 14px; color: #c9d6ee; white-space: nowrap; position: relative; }
.pmenu a:hover { background: rgba(255,255,255,.08); color: #fff; }
.thm { flex: none; width: 36px; height: 36px; border-radius: 50%; color: #fff; background: rgba(255,255,255,.08); font-size: 17px; }
@media (max-width: 640px) { .phead .pwrap { gap: 8px; height: 58px; } .phead .plogo img { height: 30px; } .phead .thm { width: 32px; height: 32px; font-size: 15px; } }

/* ---------- Ô tìm kiếm ---------- */
.sbar { position: relative; display: flex; align-items: center; height: 44px; background: var(--card); border: 2px solid var(--blue2); border-radius: 24px; padding: 0 4px 0 38px; }
.sbar:focus-within { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,138,0,.15); }
.sbar .si { position: absolute; left: 12px; top: 50%; width: 19px; height: 19px; margin-top: -9.5px; fill: none; stroke: var(--blue2); stroke-width: 2.4; stroke-linecap: round; }
.sbar input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: var(--tx); -webkit-appearance: none; }
.sbar input::-webkit-search-cancel-button { display: none; }
.sbar .mic { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.sbar .mic svg { width: 20px; height: 20px; fill: none; stroke: var(--blue2); stroke-width: 2; stroke-linecap: round; }
.sbar .mic.rec { background: #ffe9e9; animation: pulse 1s infinite; }
.sbar .mic.rec svg { stroke: var(--red); }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(229,57,53,.15); } }
.sbar .go { height: 34px; padding: 0 16px; border-radius: 18px; background: var(--cta); color: #fff; font-weight: 800; }
.sbar.big { height: 54px; border-radius: 30px; padding-left: 46px; box-shadow: 0 8px 28px rgba(10,80,62,.14); }
.sbar.big .si { left: 16px; width: 22px; height: 22px; margin-top: -11px; }
.sbar.big .go { height: 42px; padding: 0 22px; border-radius: 22px; font-size: 16px; }
/* Gợi ý */
.sugg { position: absolute; left: -2px; right: -2px; top: calc(100% + 6px); z-index: 40; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px rgba(13,40,90,.18); overflow: hidden; max-height: 72vh; overflow-y: auto; text-align: left; }
.sugg a, .sugg button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 14px; font-size: 15px; text-align: left; }
.sugg a:hover, .sugg a.act, .sugg button:hover { background: var(--sky); }
.sugg .t svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--dim); stroke-width: 2.2; }
.sugg .t b { font-weight: 700; }
.sugg .c i { font-style: normal; }
.sugg .c small { color: var(--mut); }
.sugg .h { padding: 8px 14px 4px; font-size: 12px; font-weight: 700; color: var(--dim); text-transform: uppercase; letter-spacing: .04em; }
.sugg .p img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; }
.sugg .p span { flex: 1; min-width: 0; }
.sugg .p em { display: block; font-style: normal; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sugg .p small { color: var(--mut); font-size: 12.5px; }
.sugg .p small b { color: var(--orange2); }
.sugg .all { justify-content: center; color: var(--blue2); font-weight: 700; border-top: 1px solid var(--line); }
.sugg .rm { margin-left: auto; color: var(--dim); font-size: 13px; padding: 0 4px; width: auto; }

/* ---------- Trang chủ ---------- */
.hhead { display: none; background: var(--navy); }
.hhead .pwrap { display: flex; justify-content: flex-end; height: 48px; align-items: center; }
.hhead .pmenu { display: flex; overflow-x: auto; scrollbar-width: none; }
.hero { text-align: center; padding: 0 0 18px; background: linear-gradient(var(--navy) 0, var(--navy) 55%, transparent 55%); }
.hero .banner { margin: 0 -12px; max-width: none; margin: 0 auto; border-radius: 0 0 20px 20px; overflow: hidden; background: var(--navy); box-shadow: 0 10px 30px rgba(6,14,13,.35); }
.hero .sbar.big { position: relative; margin-top: -26px; z-index: 2; box-shadow: 0 8px 26px rgba(6,14,13,.25); }

.slogan { margin: 12px 0 0; color: var(--mut); font-size: 14px; }
.slogan b { color: var(--blue); }
.hero .sbar { max-width: 640px; margin: 0 auto; }
.trend { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin: 14px auto 0; max-width: 680px; font-size: 13.5px; }
.trend span { color: var(--mut); font-weight: 600; padding: 5px 2px; }
.trend a { padding: 5px 11px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); color: var(--blue); }
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 640px; margin: 16px auto 0; }
.quick a { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 6px; font-size: 13px; font-weight: 600; box-shadow: var(--sh); }
.quick b { display: block; font-size: 20px; }
.sec { margin: 22px 0 6px; }
.sh { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.sh h2 { margin: 0; font-size: 18px; letter-spacing: -.01em; }
.sh a { color: var(--blue2); font-size: 14px; font-weight: 600; white-space: nowrap; }
.catg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 6px; }
.catg a { text-align: center; font-size: 12px; line-height: 1.25; }
.catg .ci { position: relative; display: block; width: 62px; height: 62px; margin: 0 auto 5px; border-radius: 18px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh); }
.catg .ci img { width: 100%; height: 100%; object-fit: cover; }
.catg .ci i { position: absolute; right: 2px; bottom: 0; font-style: normal; font-size: 18px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.3)); }
.catg b { display: block; font-weight: 600; }
.catg small { color: var(--dim); }
.row { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -12px; padding: 2px 12px 8px; }
.row::-webkit-scrollbar { display: none; }
.row .pc { flex: 0 0 44%; max-width: 190px; scroll-snap-align: start; }
.luot-banner { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; padding: 16px; border-radius: 18px; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #12b886, transparent 60%), radial-gradient(120% 140% at 100% 100%, #ff7a1a, transparent 55%), #0b1a18; box-shadow: 0 10px 30px rgba(6,14,13,.3); }
.luot-banner span { flex: 1; }
.luot-banner b { display: block; font-size: 17px; }
.luot-banner small { opacity: .9; font-size: 13px; }
.luot-banner i { font-style: normal; font-weight: 800; background: var(--card); color: var(--blue); padding: 9px 12px; border-radius: 12px; white-space: nowrap; }
.rvl { display: grid; gap: 8px; }
.rvc { display: flex; gap: 10px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px; }
.rvc img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; }
.rvc span { min-width: 0; font-size: 13px; }
.rvc em { display: block; font-style: normal; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.why ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.why li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: 14px; color: var(--mut); }
.why li b { display: block; color: var(--tx); }
.why h2 { font-size: 18px; margin: 0 0 10px; }

/* ---------- Thẻ sản phẩm ---------- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pc { position: relative; background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); border: 1px solid #edf1f7; display: flex; flex-direction: column; }
.pc-img { position: relative; display: block; aspect-ratio: 1; background: #eef2f8; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; }
.pc .dc { position: absolute; top: 6px; left: 6px; font-style: normal; font-size: 11.5px; font-weight: 800; color: #fff; background: var(--red); padding: 2px 6px; border-radius: 6px; }
.pc .pv { position: absolute; bottom: 6px; left: 6px; font-style: normal; font-size: 11px; color: #fff; background: rgba(0,0,0,.55); padding: 2px 6px; border-radius: 6px; }
.fav { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.92); font-size: 17px; line-height: 32px; text-align: center; color: var(--mut); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.fav.on { color: var(--red); }
.pc-b { padding: 8px 9px 10px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.pc-n { font-size: 13.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.mall { display: inline-block; font-size: 10.5px; font-weight: 800; color: #fff; background: #d0011b; padding: 0 5px; border-radius: 4px; margin-right: 4px; vertical-align: 1px; }
.pc-p { display: flex; align-items: baseline; gap: 6px; margin-top: auto; }
.pc-p b { font-size: 16.5px; color: var(--orange2); font-weight: 800; }
.pc-p s { font-size: 12px; color: var(--dim); }
.pc-m { display: flex; flex-wrap: wrap; gap: 2px 8px; font-size: 12px; color: var(--mut); }
.pc-m .st { color: #b7791f; font-weight: 700; }
.pc-m .gr { color: var(--blue2); font-weight: 700; }
.more-load { grid-column: 1 / -1; text-align: center; color: var(--mut); padding: 16px; font-size: 14px; }

/* ---------- Trang tìm kiếm ---------- */
.fbar { position: sticky; top: 60px; z-index: 20; background: var(--bg); margin: 0 -12px; padding: 8px 12px 6px; }
.chips { display: flex; gap: 6px; }
.chips.sc { overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
.chips.sc::-webkit-scrollbar { display: none; }
.chips.wrap { flex-wrap: wrap; justify-content: center; }
.chips a, .chips button { flex: none; padding: 7px 12px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; white-space: nowrap; color: var(--tx); }
.chips a small, .chips button small { color: var(--dim); font-weight: 500; margin-left: 2px; }
.chips .on { background: var(--blue); border-color: var(--blue); color: #fff; }
.chips .on small { color: #cfe0ff; }
.chips .fbtn { border-color: var(--blue2); color: var(--blue2); }
.chips .fbtn.on { background: var(--orange); border-color: var(--orange); color: #fff; }
.rsum { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 4px 0 10px; }
.rsum p { margin: 0; font-size: 14px; color: var(--mut); }
.rsum b { color: var(--tx); }
.luotq { font-size: 13.5px; font-weight: 700; color: #fff; background: var(--grad); padding: 7px 12px; border-radius: 16px; white-space: nowrap; }
.empty { text-align: center; padding: 40px 10px; color: var(--mut); }
.empty > b { display: block; font-size: 44px; }
/* Bảng lọc */
.panel { position: fixed; inset: 0; z-index: 60; }
.panel-bg { position: absolute; inset: 0; background: rgba(10,20,40,.45); }
.panel-card { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88dvh; overflow-y: auto; background: var(--card); border-radius: 20px 20px 0 0; padding: 0 16px calc(12px + var(--safe-b)); animation: up .22s ease-out; }
@keyframes up { from { transform: translateY(40px); opacity: .5; } }
.panel-h { position: sticky; top: 0; background: var(--card); display: flex; justify-content: space-between; align-items: center; padding: 14px 0 8px; font-size: 17px; z-index: 1; }
.panel-h button { width: 34px; height: 34px; border-radius: 50%; background: var(--bg); }
fieldset { border: 0; padding: 0; margin: 0 0 14px; }
legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 6px; }
.opts label { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; cursor: pointer; }
.opts label:has(input:checked) { border-color: var(--blue2); background: var(--sky); color: var(--blue); font-weight: 600; }
.opts input { accent-color: var(--blue2); }
.opts small { color: var(--dim); }
select, .range input { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; font: inherit; font-size: 16px; background: var(--card); color: var(--tx); }
.range { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.panel-f { position: sticky; bottom: 0; background: var(--card); display: grid; grid-template-columns: 1fr 2fr; gap: 8px; padding: 10px 0 4px; border-top: 1px solid var(--line); }

/* ---------- Trang sản phẩm ---------- */
.crumb { font-size: 13px; color: var(--mut); padding: 10px 0; }
.crumb a { color: var(--blue2); }
.pd-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.pd-top > * { min-width: 0; }
.gal { position: relative; margin: 0 -12px; background: var(--card); }
.gal-s { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gal-s::-webkit-scrollbar { display: none; }
.gal-s > img, .gal-s .gv { flex: 0 0 100%; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; scroll-snap-align: center; background: var(--card); }
.gal-s .gv { position: relative; overflow: hidden; }
.gal-s .gv video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.gal-n { position: absolute; right: 12px; top: 12px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; padding: 2px 9px; border-radius: 12px; }
.gal-vb { position: absolute; left: 12px; top: 12px; background: rgba(10,80,62,.9); color: #fff; font-size: 13px; font-weight: 700; padding: 5px 11px; border-radius: 14px; z-index: 2; }
.gal-t { display: flex; gap: 6px; overflow-x: auto; padding: 8px 12px; scrollbar-width: none; }
.gal-t button { flex: none; width: 54px; height: 54px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; }
.gal-t button.on { border-color: var(--orange); }
.gal-t img { width: 100%; height: 100%; object-fit: cover; }
.info h1 { font-size: 19px; line-height: 1.35; margin: 0 0 8px; letter-spacing: -.01em; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--mut); }
.meta .st { color: #b7791f; }
.meta .gst { color: var(--blue2); }
.meta a { color: var(--blue2); font-weight: 600; }
.pbox { margin: 12px 0; padding: 14px; border-radius: var(--r); background: linear-gradient(135deg, #fff7ef, #fff); border: 1px solid #ffe2c2; }
.pbox .pr { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pbox .pr b { font-size: 28px; font-weight: 800; color: var(--orange2); letter-spacing: -.02em; }
.pbox .pr s { color: var(--dim); }
.pbox .pr em { font-style: normal; font-weight: 800; color: #fff; background: var(--red); padding: 2px 8px; border-radius: 6px; font-size: 13px; }
.pbox p { margin: 8px 0 0; font-size: 13.5px; }
.pbox .good { color: #1b7f3b; }
.pbox .hint { color: var(--mut); }
.pbox .hint a { color: var(--blue2); }
.opts2 { font-size: 13.5px; color: var(--mut); line-height: 2.1; }
.opts2 b { color: var(--tx); }
.opts2 span { display: inline-block; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; margin: 0 4px 4px 0; line-height: 1.9; background: var(--card); color: var(--tx); }
.acts { display: flex; gap: 8px; margin: 12px 0 8px; }
.acts .buy { flex: 1; text-align: center; padding: 14px; border-radius: 14px; background: var(--cta); color: #fff; font-weight: 800; font-size: 16.5px; box-shadow: 0 8px 22px rgba(255,106,0,.3); }
.ibtn { width: 52px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: 20px; }
.ibtn.on { color: var(--red); }
.trust { list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--mut); line-height: 1.9; }
.luotp { display: block; margin-top: 10px; text-align: center; padding: 11px; border-radius: 12px; background: #0d2d6b; color: #fff; font-weight: 700; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: calc(var(--nav) + var(--safe-b)); z-index: 25; display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.06); transform: translateY(120%); transition: transform .2s; }
.sticky-buy.show { transform: none; }
.sticky-buy div { flex: 1; }
.sticky-buy b { font-size: 19px; color: var(--orange2); font-weight: 800; }
.sticky-buy em { font-style: normal; font-size: 12px; font-weight: 800; color: #fff; background: var(--red); padding: 1px 6px; border-radius: 5px; margin-left: 6px; }
.sticky-buy a { padding: 12px 18px; border-radius: 12px; background: var(--cta); color: #fff; font-weight: 800; }
/* Đánh giá */
.stars { position: relative; display: inline-block; width: 78px; height: 15px; vertical-align: -2px; background: linear-gradient(90deg, #d7dde6 0 100%); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 78 15'%3E%3Cpath d='M7.5 0l2.2 4.6 5 .6-3.7 3.4 1 5-4.5-2.5L3 13.6l1-5L.3 5.2l5-.6zM23.2 0l2.2 4.6 5 .6-3.7 3.4 1 5-4.5-2.5-4.5 2.5 1-5-3.7-3.4 5-.6zM38.9 0l2.2 4.6 5 .6-3.7 3.4 1 5-4.5-2.5-4.5 2.5 1-5-3.7-3.4 5-.6zM54.6 0l2.2 4.6 5 .6-3.7 3.4 1 5-4.5-2.5-4.5 2.5 1-5-3.7-3.4 5-.6zM70.3 0l2.2 4.6 5 .6-3.7 3.4 1 5-4.5-2.5-4.5 2.5 1-5-3.7-3.4 5-.6z'/%3E%3C/svg%3E") no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 78 15'%3E%3Cpath d='M7.5 0l2.2 4.6 5 .6-3.7 3.4 1 5-4.5-2.5L3 13.6l1-5L.3 5.2l5-.6zM23.2 0l2.2 4.6 5 .6-3.7 3.4 1 5-4.5-2.5-4.5 2.5 1-5-3.7-3.4 5-.6zM38.9 0l2.2 4.6 5 .6-3.7 3.4 1 5-4.5-2.5-4.5 2.5 1-5-3.7-3.4 5-.6zM54.6 0l2.2 4.6 5 .6-3.7 3.4 1 5-4.5-2.5-4.5 2.5 1-5-3.7-3.4 5-.6zM70.3 0l2.2 4.6 5 .6-3.7 3.4 1 5-4.5-2.5-4.5 2.5 1-5-3.7-3.4 5-.6z'/%3E%3C/svg%3E") no-repeat; }
.stars i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--gold); }
.rv { background: var(--card); border-radius: 18px; padding: 16px 14px; margin-left: -12px; margin-right: -12px; }
.rv-sum { display: flex; gap: 16px; align-items: center; }
.rv-sum .big { text-align: center; flex: none; }
.rv-sum .big b { display: block; font-size: 38px; font-weight: 800; line-height: 1.1; color: var(--blue); }
.rv-sum .big small { display: block; color: var(--mut); font-size: 12.5px; }
.bars { flex: 1; display: grid; gap: 3px; font-size: 12px; color: var(--mut); }
.bars div { display: flex; align-items: center; gap: 6px; }
.bars i { flex: 1; height: 7px; border-radius: 4px; background: #edf1f7; overflow: hidden; }
.bars i b { display: block; height: 100%; background: var(--gold); }
.bars span { width: 22px; }
.bars small { width: 22px; text-align: right; }
.rv-form { margin: 14px 0; padding: 14px; border-radius: 14px; background: var(--sky); text-align: center; }
.rv-q { margin: 0 0 6px; font-weight: 600; }
.rv-stars button { font-size: 36px; color: #c9d3e2; padding: 0 3px; transition: transform .1s; }
.rv-stars button.on { color: var(--gold); }
.rv-stars button:active { transform: scale(1.2); }
.rv-more { margin-top: 10px; display: grid; gap: 10px; text-align: left; }
.rv-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.rv-tags button { padding: 7px 11px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); font-size: 13.5px; }
.rv-tags button.on { background: var(--blue); color: #fff; border-color: var(--blue); }
.rv-more textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 10px; font: inherit; font-size: 16px; resize: vertical; }
.rv-own { font-size: 14px; display: flex; gap: 6px; align-items: center; }
.rv-login { text-align: center; font-size: 13.5px; color: var(--mut); }
.rv-login p { margin: 0 0 6px; }
#gBtn { display: flex; justify-content: center; min-height: 44px; }
.rvi { display: flex; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.rvi > img, .rvi .av { flex: none; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.av { display: flex; align-items: center; justify-content: center; background: var(--grad); color: #fff; font-style: normal; font-weight: 800; }
.rvi b { font-size: 14px; }
.rvi .own { font-size: 11.5px; color: #1b7f3b; font-weight: 700; }
.rvi small { color: var(--dim); font-size: 12px; }
.rvi p { margin: 4px 0; font-size: 14.5px; }
.rtags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.rtags span { font-size: 12px; padding: 1px 8px; border-radius: 10px; background: var(--sky); color: var(--blue); }
.hlp { font-size: 12.5px; color: var(--mut); padding: 4px 0; }
.hlp.on { color: var(--blue2); font-weight: 700; }
.rv-empty { color: var(--mut); text-align: center; }

/* ---------- Chân trang & điều hướng ---------- */
.pfoot { margin-top: 30px; padding: 22px 0 18px; background: var(--card); border-top: 1px solid var(--line); font-size: 13px; color: var(--mut); }
.pfoot img { height: 26px; width: auto; margin-bottom: 8px; }
.pfoot p { margin: 0 0 8px; }
.pfoot .note { font-size: 12px; color: var(--dim); }
.pfoot a { color: var(--blue2); }
.pnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: calc(var(--nav) + var(--safe-b)); padding-bottom: var(--safe-b); display: flex; background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -2px 12px rgba(10,80,62,.06); }
.pnav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font-size: 10.5px; font-weight: 600; color: var(--dim); position: relative; }
.pnav a.on { color: var(--blue); }
.pnav svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pnav a[data-mid] svg { width: 46px; height: 32px; padding: 5px 12px; margin-top: -2px; border-radius: 12px; background: var(--cta); stroke: #fff; fill: #fff; }
[data-savedcount][data-n]:not([data-n=""])::after { content: attr(data-n); position: absolute; top: 4px; left: calc(50% + 6px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.pmenu [data-savedcount][data-n]:not([data-n=""])::after { top: -2px; left: auto; right: -2px; }
.toast { position: fixed; left: 50%; bottom: calc(var(--nav) + var(--safe-b) + 70px); transform: translate(-50%, 20px); background: rgba(20,33,61,.95); color: #fff; padding: 10px 16px; border-radius: 22px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: .2s; z-index: 80; white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Máy tính bảng / máy tính ---------- */
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .catg { grid-template-columns: repeat(7, 1fr); }
  .quick { grid-template-columns: repeat(6, 1fr); }
  .row .pc { flex-basis: 30%; }
}
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .pnav { display: none; }
  .pmenu { display: flex; }
  .hhead { display: block; }
  .grid { grid-template-columns: repeat(5, 1fr); }
  .row .pc { flex-basis: 18.5%; }
  .catg { grid-template-columns: repeat(13, 1fr); }
  .hero { padding: 0 0 30px; }
  .hero .banner { margin: 0 auto; max-width: 1100px; border-radius: 0 0 26px 26px; }
  .hero .banner img { max-height: 400px; object-fit: cover; object-position: 50% 90%; }
  .pd-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 6px; }
  .gal { margin: 0; border-radius: 18px; overflow: hidden; }
  .rv { margin: 22px 0 6px; padding: 22px; }
  .sticky-buy { display: none; }
  .fbar { margin: 0; padding: 10px 0 6px; }
  .panel-card { left: 50%; right: auto; bottom: auto; top: 50%; width: 520px; transform: translate(-50%, -50%); border-radius: 20px; animation: none; }
  .rvl { grid-template-columns: repeat(2, 1fr); }
  .why ul { grid-template-columns: repeat(4, 1fr); }
  .toast { bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- Khám phá: mỗi món một khung (kiểu tạp chí quà tặng) ---------- */
.kp-top { text-align: center; padding: 16px 4px 6px; }
.kp-top h1 { margin: 0; font-size: 23px; color: var(--blue); letter-spacing: -.02em; }
.kp-top p { margin: 4px 0 0; color: var(--mut); font-size: 14px; }
.kp-cats, .kp-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 10px -12px 0; padding: 2px 12px 4px; }
.kp-cats::-webkit-scrollbar, .kp-tabs::-webkit-scrollbar { display: none; }
.kp-cats a { flex: none; padding: 7px 12px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--mut); white-space: nowrap; }
.kp-cats a.on { background: var(--sky); border-color: var(--blue2); color: var(--blue); }
.kp-tabs { position: sticky; top: 64px; z-index: 20; background: var(--bg); padding-top: 8px; padding-bottom: 8px; margin-bottom: 4px; }
.kp-tabs a { flex: none; padding: 8px 14px; border-radius: 10px; font-size: 14px; font-weight: 700; color: var(--blue); background: var(--card); border: 1px solid var(--line); white-space: nowrap; }
.kp-tabs a.on { background: var(--grad); color: #fff; border-color: transparent; }
.twl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; max-width: 560px; margin: 8px auto 0; }
.tw { background: var(--card); border-radius: 18px; box-shadow: 0 4px 22px rgba(10,80,62,.09); border: 1px solid #edf1f7; overflow: hidden; display: flex; flex-direction: column; content-visibility: auto; contain-intrinsic-size: auto 720px; }
.tw h3 { margin: 0; padding: 14px 16px 10px; font-size: 17px; line-height: 1.35; font-weight: 800; text-align: center; color: var(--tx); }
.tw h3 a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tw-img { position: relative; background: #eef2f8; aspect-ratio: 1; }
.tw-img > a[data-go], .tw-img img { display: block; width: 100%; height: 100%; }
.tw-img img { object-fit: cover; }
.tw-img .dc, .tw-img .ml { position: absolute; top: 10px; left: 10px; font-style: normal; font-size: 13px; font-weight: 800; color: #fff; background: var(--red); padding: 3px 8px; border-radius: 8px; }
.tw-img .ml { top: auto; left: auto; bottom: 10px; right: 10px; background: #d0011b; }
.home .kp-tabs { top: 0; }
.tw-img .vb { position: absolute; bottom: 10px; left: 10px; width: auto; height: auto; line-height: 1.2; font-size: 13px; font-weight: 700; color: #fff; background: rgba(0,0,0,.6); padding: 5px 10px; border-radius: 20px; }
.tw-img .fav { top: 10px; right: 10px; width: 40px; height: 40px; line-height: 40px; font-size: 21px; }
.tw-d { margin: 0; padding: 12px 16px 4px; font-size: 15px; line-height: 1.55; color: #33425a; }
.tw-f { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px 6px; }
.tw-p { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.tw-p b { font-size: 21px; font-weight: 800; color: var(--orange2); }
.tw-p s { font-size: 13px; color: var(--dim); }
.tw-go { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 12px; background: var(--cta); color: #fff; font-weight: 800; font-size: 16px; letter-spacing: .01em; text-transform: uppercase; box-shadow: 0 6px 16px rgba(255,106,0,.32); transition: transform .12s; }
.tw-go:active { transform: scale(.97); }
.tw-m { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 6px 16px 14px; font-size: 13px; color: var(--mut); }
.tw-m .st { color: #b7791f; font-weight: 700; }
.tw-m .gr { color: var(--blue2); font-weight: 700; }
.tw-m a { margin-left: auto; color: var(--blue2); font-weight: 600; }
.twl .more-load .btn { margin-top: 4px; }
@media (max-width: 380px) { .tw-go { padding: 0 16px; font-size: 14.5px; } .tw-p b { font-size: 19px; } }
@media (min-width: 900px) {
  .twl { max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .tw h3 { font-size: 15.5px; }
  .tw-d { font-size: 14px; }
  .tw-go { min-height: 44px; padding: 0 16px; font-size: 14px; }
}

/* ---------- Chế độ tối ---------- */
html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="dark"] body { --bg: #0b1112; --card: #131c1c; --line: #22332f; --tx: #e6edf8; --mut: #9fb0c9; --dim: #7688a3; --sky: #12302a; --blue: #5fe3b8; --blue2: #2fe0a5; --sh: 0 2px 12px rgba(0,0,0,.35); }
html[data-theme="dark"] .pc, html[data-theme="dark"] .tw { border-color: #1d2c29; }
html[data-theme="dark"] .pc-img, html[data-theme="dark"] .tw-img { background: #0f1717; }
html[data-theme="dark"] .tw-d { color: #c3cfe2; }
html[data-theme="dark"] .hero { background: linear-gradient(var(--navy) 0, var(--navy) 55%, transparent 55%); }

/* ---------- TM All: so sánh, trợ lý, deal hôm nay ---------- */
.luot-banner.gift { background: radial-gradient(120% 140% at 0% 0%, #ff5e14, transparent 60%), radial-gradient(120% 140% at 100% 100%, #2fe0a5, transparent 55%), #101c1a; }
.cdw { font-size: 12.5px; font-weight: 600; color: var(--mut); margin-left: 6px; white-space: nowrap; }
.cdw b { font-variant-numeric: tabular-nums; color: #fff; background: var(--navy); padding: 2px 7px; border-radius: 6px; letter-spacing: .04em; }
.cmpb { font-size: 12.5px; font-weight: 700; color: var(--blue2); padding: 4px 9px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); }
.cmpb.on, .ibtn[data-cmp].on { background: var(--blue2); color: #fff; border-color: var(--blue2); }
.tw-m .cmpb { margin-left: auto; }
.tw-m .cmpb + a { margin-left: 0; }
.cmpbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--nav) + var(--safe-b) + 10px); z-index: 45; display: flex; align-items: center; gap: 6px; padding: 11px 18px; border-radius: 30px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 8px 24px rgba(6,14,13,.4); white-space: nowrap; max-width: calc(100% - 24px); }
.cmpbar b { color: var(--cyan); }
.cmpbar i { font-style: normal; font-weight: 800; color: #ffb36b; margin-left: 4px; }
.cmpbar small { opacity: .75; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 960px) { .cmpbar { bottom: 18px; } }
[data-cmpcount][data-n]:not([data-n=""])::after { content: attr(data-n); margin-left: 4px; display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--orange); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.cmp-cta { text-align: center; margin: 14px 0 0; }
.verdict { display: flex; gap: 14px; align-items: center; margin: 12px 0 16px; padding: 14px; border-radius: 18px; background: linear-gradient(120deg, rgba(47,224,165,.12), rgba(255,122,26,.12)); border: 1px solid var(--line); }
.verdict .vi img { width: 84px; height: 84px; border-radius: 14px; object-fit: cover; }
.verdict small { display: block; font-weight: 800; color: var(--orange2); font-size: 13px; }
.verdict b { display: block; font-size: 15.5px; line-height: 1.35; margin: 2px 0; }
.verdict p { margin: 0 0 8px; font-size: 13.5px; color: var(--mut); }
.verdict .tw-go { min-height: 42px; font-size: 14px; padding: 0 16px; }
.ctbl-w { overflow-x: auto; margin: 0 -12px; padding: 0 12px 6px; }
.ctbl { border-collapse: separate; border-spacing: 0; min-width: 100%; background: var(--card); border-radius: 16px; overflow: hidden; box-shadow: var(--sh); font-size: 14px; }
.ctbl th, .ctbl td { padding: 10px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; min-width: 132px; }
.ctbl tbody th { position: sticky; left: 0; z-index: 1; background: var(--card); text-align: left; font-size: 12.5px; color: var(--mut); font-weight: 700; min-width: 96px; max-width: 110px; }
.ctbl thead th { position: relative; vertical-align: top; }
.ctbl thead th:first-child { position: sticky; left: 0; z-index: 2; background: var(--card); }
.ctbl thead img { width: 110px; height: 110px; object-fit: cover; border-radius: 12px; margin: 0 auto 6px; }
.ctbl thead span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; font-weight: 600; line-height: 1.35; }
.ctbl .cx { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; background: var(--bg); font-size: 12px; color: var(--mut); }
.ctbl .crown { display: inline-block; margin-top: 6px; font-style: normal; font-size: 11.5px; font-weight: 800; color: #fff; background: var(--cta); padding: 2px 8px; border-radius: 10px; }
.ctbl .cp { color: var(--orange2); font-size: 16px; }
.ctbl s { display: block; font-size: 12px; color: var(--dim); }
.ctbl td.win { background: rgba(18,161,80,.12); font-weight: 800; color: var(--ok); }
.ctbl td.win .cp { color: var(--ok); }
.ctbl .tw-go.sm { min-height: 38px; padding: 0 14px; font-size: 13px; }
.cmp-note { font-size: 12.5px; color: var(--dim); text-align: center; margin: 10px 0 0; }
.wz { max-width: 720px; margin: 10px auto 0; display: grid; gap: 14px; }
.wz fieldset { margin: 0; border: 0; padding: 14px; border-radius: 18px; background: var(--card); box-shadow: var(--sh); }
.wz legend { float: left; width: 100%; font-weight: 800; font-size: 16px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.wz legend i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.wz .ch { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.wz .ch button { padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); font-weight: 600; font-size: 14px; }
.wz .ch button.on { border-color: var(--blue2); background: var(--sky); color: var(--blue); box-shadow: 0 0 0 3px rgba(47,224,165,.15); }
.wz-q { display: block; font-weight: 700; padding: 0 4px; }
.wz-q small { font-weight: 500; color: var(--mut); }
.wz-q input { display: block; width: 100%; margin-top: 6px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); color: var(--tx); padding: 0 14px; font: inherit; font-size: 16px; }
.wz-go { height: 56px; border-radius: 16px; background: var(--cta); color: #fff; font-size: 18px; font-weight: 800; box-shadow: 0 8px 22px rgba(255,94,20,.35); }
.wz-res { margin-top: 22px; scroll-margin-top: 70px; }
.wz-res .sh { max-width: 560px; margin: 0 auto; }
@media (min-width: 900px) { .wz-res .sh { max-width: none; } }
.wz-res .sh .btn2 { white-space: nowrap; padding: 8px 12px; font-size: 14px; }
@media (min-width: 960px) { .phead .sbar { min-width: 280px; } .phead .pmenu a { padding: 8px 9px; font-size: 13.5px; } }
@media (min-width: 960px) and (max-width: 1320px) { .phead .pmenu a:nth-child(2), .phead .pmenu a:nth-child(6) { display: none; } }

/* ---------- TM All: bộ sưu tập ---------- */
.bst-k { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .18em; color: var(--blue2); margin-bottom: 4px; }
.bst-act { margin-top: 12px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.bst-sub { margin: -4px 0 10px; color: var(--mut); font-size: 13.5px; }
.bst-row .sh h2 a { color: inherit; }
.bst-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.bst-tiles a { display: flex; align-items: center; gap: 10px; padding: 14px 12px; border-radius: 14px; font-weight: 700; font-size: 14px; color: #e7f2ee; background: radial-gradient(120% 120% at 0% 0%, rgba(47,224,165,.22), transparent 60%), var(--navy); border: 1px solid rgba(47,224,165,.18); box-shadow: 0 6px 18px rgba(6,14,13,.18); }
.bst-tiles a b { font-size: 22px; }
.bst-tiles a.mk { background: var(--grad); color: #062b21; border-color: transparent; }
@media (min-width: 900px) { .bst-tiles { grid-template-columns: repeat(4, 1fr); } }
.bst-make { background: var(--card); border-radius: 18px; padding: 14px; box-shadow: var(--sh); }
.bst-hint { color: var(--mut); font-size: 14px; margin: 0 0 10px; }
.bst-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 700px) { .bst-pick { grid-template-columns: repeat(6, 1fr); } }
.bp { position: relative; text-align: left; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--bg); }
.bp img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.bp span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 11.5px; padding: 4px 6px; line-height: 1.3; }
.bp i { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; background: rgba(0,0,0,.35); color: transparent; font-style: normal; font-weight: 900; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.bp.on { border-color: var(--blue2); }
.bp.on i { background: var(--blue2); color: #fff; }
.bst-form { display: grid; gap: 10px; margin-top: 12px; }
.bst-form input { height: 48px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); color: var(--tx); padding: 0 14px; font: inherit; font-size: 16px; }

.hero .sbar.big { margin-top: 12px; }
@media (min-width: 960px) { .hero .sbar.big { margin-top: -26px; } }
@media (max-width: 640px) { .phead .plogo img { height: 26px; } }

/* ---------- TM All: TM Score, xếp hạng, nhắc đánh giá ---------- */
.tsb { position: absolute; right: 6px; bottom: 6px; min-width: 34px; padding: 3px 6px; border-radius: 8px; background: rgba(13,20,22,.86); color: #fff; font-size: 12px; font-weight: 800; text-align: center; letter-spacing: .02em; border: 1px solid rgba(47,224,165,.45); }
.tsb.hi { background: linear-gradient(135deg, #0c8f6c, #2fe0a5); color: #04231a; border-color: transparent; }
.tsc { font-size: 12.5px; font-weight: 700; color: var(--blue); background: var(--sky); padding: 3px 8px; border-radius: 8px; }
.tsc b { font-size: 14px; }
.tsc.hi { background: linear-gradient(135deg, #0c8f6c, #2fe0a5); color: #04231a; }
.tsc2 { display: inline-block; min-width: 40px; padding: 4px 8px; border-radius: 9px; background: var(--navy); color: #2fe0a5; font-weight: 900; font-size: 15px; text-align: center; }
.tsc2.hi { background: linear-gradient(135deg, #0c8f6c, #2fe0a5); color: #04231a; }
.tsp { margin: 10px 0; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh); overflow: hidden; }
.tsp summary { display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; list-style: none; }
.tsp summary::-webkit-details-marker { display: none; }
.tsp .tsn { flex: none; width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 21px; font-weight: 900; background: var(--navy); color: #2fe0a5; }
.tsp.hi .tsn { background: linear-gradient(135deg, #0c8f6c, #2fe0a5); color: #04231a; }
.tsp summary b { display: block; font-size: 15.5px; }
.tsp summary small { color: var(--mut); font-size: 12.5px; }
.tsbars { padding: 0 14px 12px; display: grid; gap: 10px; }
.tsbars > div { display: grid; grid-template-columns: 1fr 90px 34px; gap: 8px; align-items: center; font-size: 13.5px; }
.tsbars span { font-weight: 700; line-height: 1.25; }
.tsbars em { font-style: normal; font-weight: 600; color: var(--dim); font-size: 11.5px; }
.tsbars small { display: block; font-weight: 400; color: var(--mut); font-size: 11.5px; }
.tsbars i { height: 8px; border-radius: 6px; background: var(--line); overflow: hidden; }
.tsbars i b { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #0c8f6c, #2fe0a5); }
.tsbars strong { text-align: right; }
.rk { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.rk li { display: grid; grid-template-columns: 34px 84px 1fr; gap: 10px; align-items: center; padding: 10px; border-radius: 16px; background: var(--card); box-shadow: var(--sh); border: 1px solid var(--line); position: relative; }
.rk li.top1 { border-color: #e9c46a; box-shadow: 0 6px 22px rgba(233,196,106,.25); }
.rk .rn { font-style: normal; font-weight: 900; font-size: 20px; text-align: center; color: var(--mut); }
.rk .ri img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; }
.rk .rt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 700; font-size: 14px; line-height: 1.35; }
.rk .rs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 5px 0 3px; font-size: 13px; font-weight: 700; }
.rk .rs small { width: 100%; font-weight: 500; color: var(--mut); font-size: 11.5px; }
.rk .rp { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 12.5px; color: var(--mut); }
.rk .rp b { font-size: 16px; color: var(--orange2); }
.rk .rp s { color: var(--dim); }
.rk .rg { grid-column: 2 / -1; min-height: 42px; font-size: 14px; }
@media (min-width: 760px) { .rk li { grid-template-columns: 44px 96px 1fr 150px; } .rk .ri img { width: 96px; height: 96px; } .rk .rg { grid-column: auto; } }
.rvask { position: fixed; left: 12px; right: 12px; bottom: calc(var(--nav) + var(--safe-b) + 10px); z-index: 60; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 18px; background: var(--card); color: var(--tx); box-shadow: 0 12px 36px rgba(0,0,0,.28); border: 1px solid var(--line); transform: translateY(140%); transition: transform .35s cubic-bezier(.2,.9,.3,1.2); max-width: 520px; margin: 0 auto; }
.rvask.show { transform: none; }
.rvask img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; }
.rvask b { display: block; font-size: 15px; }
.rvask small { display: block; color: var(--mut); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 62vw; }
.rvask p { margin: 4px 0 2px; display: flex; gap: 4px; }
.rvask p a { font-size: 28px; line-height: 1; color: #f5b301; }
.rvask .x { position: absolute; top: 6px; right: 8px; font-size: 14px; color: var(--mut); }
@media (min-width: 960px) { .rvask { bottom: 18px; } }

.trust-strip { list-style: none; margin: 14px auto 0; padding: 0; max-width: 760px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; font-size: 12.5px; }
.trust-strip li { padding: 8px 10px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); color: var(--tx); text-align: left; }
@media (min-width: 760px) { .trust-strip { grid-template-columns: repeat(4, 1fr); } }
