:root {
  --bg: #0F2429;
  --surface: #15323A;
  --line: #24474F;
  --text: #E6EFEC;
  --muted: #8FAAA6;
  --up: #35D49A;
  --down: #FF6B6B;
  --accent: #F2C14E;
  --on-accent: #1E1804;
  --up-bg: rgba(53, 212, 154, .2);
  --down-bg: rgba(255, 107, 107, .2);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #F2F6F5;
    --surface: #FFFFFF;
    --line: #D3E0DD;
    --text: #0F2429;
    --muted: #56716E;
    --up: #0A7D56;
    --down: #D23B3B;
    --accent: #9A6F00;
    --on-accent: #FFFFFF;
    --up-bg: rgba(11, 143, 98, .14);
    --down-bg: rgba(210, 59, 59, .14);
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.5 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-variant-numeric: tabular-nums;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* Thanh trên cùng */
.top { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 14px; height: 58px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; white-space: nowrap; }
.brand .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.search { flex: 1; max-width: 360px; margin-left: auto; }
.search input {
  width: 100%; height: 38px; padding: 0 12px;
  border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font: inherit;
}
.search input::placeholder { color: var(--muted); }

/* Câu tổng quan thị trường — phần mở đầu trang */
.pulse {
  font-size: clamp(20px, 4.4vw, 30px);
  line-height: 1.38;
  font-weight: 400;
  letter-spacing: -.015em;
  margin: 30px 0 24px;
  max-width: 32em;
}
.pulse b { font-weight: 700; }

.bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.h1 { font-size: 17px; font-weight: 600; margin: 0; }

/* Nút chuyển USD/VND và khung thời gian */
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; padding: 3px; background: var(--surface); }
.seg button {
  border: 0; background: none; color: var(--muted); font: inherit; font-weight: 600;
  padding: 5px 12px; border-radius: 7px; cursor: pointer;
}
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.seg-sm button { padding: 4px 9px; font-size: 13px; }

/* Bảng */
.tbl-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th, .tbl td { padding: 12px 10px; text-align: left; white-space: nowrap; }
.tbl thead th { font-size: 13px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); }
.tbl th button { all: unset; cursor: pointer; }
.tbl th button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tbl th[aria-sort] { color: var(--text); }
.tbl th[aria-sort="ascending"] button::after { content: ' ↑'; }
.tbl th[aria-sort="descending"] button::after { content: ' ↓'; }
.tbl tbody tr + tr td { border-top: 1px solid var(--line); }
.tbl tbody tr:hover td { background: color-mix(in srgb, var(--line) 35%, transparent); }
.tbl .num { text-align: right; }
.rk { color: var(--muted); width: 44px; }
.coin a { display: flex; align-items: center; gap: 10px; }
.nm { font-weight: 600; overflow: hidden; text-overflow: ellipsis; max-width: 16ch; }
.sy { color: var(--muted); font-size: 13px; }
.px { font-weight: 600; }
.up { color: var(--up); }
.down { color: var(--down); }
.msg td { padding: 32px 16px; text-align: center; color: var(--muted); white-space: normal; }

.ic { width: 24px; height: 24px; border-radius: 50%; flex: none; }
.ic-lg { width: 36px; height: 36px; }
.ic-letter { display: inline-grid; place-items: center; background: var(--line); color: var(--text); font-size: 12px; font-weight: 700; }

.pager { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 18px 0; }
.btn {
  display: inline-block; border: 1px solid var(--line); background: var(--surface); color: var(--text);
  font: inherit; font-weight: 500; padding: 8px 14px; border-radius: 10px; cursor: pointer;
}
.btn:disabled { opacity: .4; cursor: default; }

.foot { color: var(--muted); font-size: 13px; padding: 24px 0 40px; border-top: 1px solid var(--line); margin-top: 28px; }

/* Trang coin */
.bar-top { margin: 18px 0 14px; }
.crumb { color: var(--muted); font-size: 14px; }
.coin-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0; font-size: clamp(22px, 5vw, 30px); font-weight: 700; letter-spacing: -.015em; }
.coin-h .sy { font-size: .55em; font-weight: 500; }
.rank-tag { font-size: 13px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; }
.price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.price { font-size: clamp(32px, 8vw, 46px); font-weight: 700; letter-spacing: -.02em; border-radius: 8px; }
.chg { font-size: 18px; font-weight: 600; }
.sub { color: var(--muted); margin: 2px 0 0; }

.chart-card { margin: 22px 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.chart-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; font-size: 14px; }
.chart { height: 380px; position: relative; }
.chart-msg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); z-index: 3; pointer-events: none; }
.chart-msg[hidden] { display: none; }

.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; margin: 0 0 30px;
}
.stats div { background: var(--surface); padding: 12px 14px; }
.stats dt { color: var(--muted); font-size: 13px; }
.stats dd { margin: 2px 0 0; font-weight: 600; }
.h2 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 12px; }
.note { color: var(--muted); font-size: 13px; margin: 10px 0 0; max-width: 70ch; }
.empty-page { padding: 48px 16px; }
.empty-page .btn { margin-top: 12px; }

@media (max-width: 960px) { .hide-md { display: none; } }
@media (max-width: 720px) {
  .hide-sm { display: none; }
  .chart { height: 300px; }
}
@media (max-width: 520px) {
  .top .wrap { gap: 10px; }
  .brand { font-size: 16px; }
  .tbl th, .tbl td { padding: 11px 8px; }
  .rk { width: 32px; }
  .coin .nm { display: none; }
  .coin .sy { color: var(--text); font-weight: 600; font-size: 15px; }
}

/* ===== Đợt 1b: chế độ xem, tùy chỉnh, bộ lọc ===== */
.pulse { font-size: clamp(19px, 3.8vw, 27px); }
.bar-r { display: flex; align-items: center; gap: 8px; }
.bar-sub { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 4px 0 10px; }
.btn-sm { padding: 6px 12px; font-size: 14px; font-weight: 600; }
.btn-sm.on { border-color: var(--accent); color: var(--accent); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }

/* Ẩn/hiện cột theo tùy chỉnh */
.no-mc .c-mc, .no-vol .c-vol, .no-sup .c-sup, .no-ex .c-ex { display: none; }

/* Bảng tùy chỉnh */
.dlg {
  border: 1px solid var(--line); border-radius: 16px; padding: 0;
  background: var(--surface); color: var(--text);
  width: min(820px, calc(100% - 24px)); max-height: calc(100dvh - 32px);
}
.dlg::backdrop { background: rgba(4, 14, 16, .6); }
.dlg form { display: flex; flex-direction: column; max-height: calc(100dvh - 34px); }
.dlg-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px 6px; }
.dlg-head .h2 { margin: 0; }
.x { border: 0; background: none; color: var(--muted); font-size: 20px; line-height: 1; padding: 8px; cursor: pointer; border-radius: 8px; }
.dlg-body { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 36px; padding: 6px 22px 8px; overflow-y: auto; }
.dlg fieldset { border: 0; margin: 0 0 14px; padding: 0; min-width: 0; }
.dlg legend { color: var(--muted); font-size: 13px; font-weight: 600; padding: 0; margin-bottom: 4px; }
.sw { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 0; cursor: pointer; }
.sw small { display: block; color: var(--muted); font-size: 12.5px; }
.sw input {
  appearance: none; -webkit-appearance: none; margin: 0; flex: none; cursor: pointer;
  width: 44px; height: 26px; border-radius: 13px; background: var(--line); position: relative; transition: background .15s;
}
.sw input::before {
  content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; transition: transform .15s;
}
.sw input:checked { background: var(--accent); }
.sw input:checked::before { transform: translateX(18px); }
.hint { color: var(--muted); font-size: 13px; margin: 0 0 10px; }
.rng { margin-bottom: 14px; }
.rng-l { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.rng-in { display: flex; align-items: center; gap: 8px; }
.rng-in span { color: var(--muted); font-size: 13px; }
.rng-in input {
  flex: 1; min-width: 0; height: 40px; padding: 0 12px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit;
}
.rng-in input::placeholder { color: var(--muted); }
.rng-in input[aria-invalid="true"] { border-color: var(--down); }
.err { color: var(--down); margin: 0 22px; font-size: 14px; }
.dlg-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px 18px; border-top: 1px solid var(--line); margin-top: 6px; }
@media (prefers-reduced-motion: reduce) { .sw input, .sw input::before { transition: none; } }
@media (max-width: 640px) {
  .dlg { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; border: 0; }
  .dlg form { max-height: 100dvh; height: 100%; }
  .dlg-body { grid-template-columns: 1fr; flex: 1; }
  .dlg-foot { justify-content: space-between; }
}

/* ===== Đợt 2: điều hướng, watchlist, cột lịch sử giá, biểu đồ 7 ngày ===== */
.nav { border-top: 1px solid var(--line); }
.nav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; height: auto; }
.nav .wrap::-webkit-scrollbar { display: none; }
.nav a {
  flex: none; padding: 9px 10px; font-size: 14px; font-weight: 500; color: var(--muted);
  border-bottom: 2px solid transparent; white-space: nowrap;
}
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); font-weight: 600; }
.top .nav .wrap { height: auto; }

.bar-l { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pager[hidden] { display: none; }

/* Ẩn/hiện cột mới */
.no-h1 .c-h1, .no-d7 .c-d7, .no-ath .c-ath, .no-sp .c-sp { display: none; }

/* Nút ☆ watchlist nằm trong ô thứ hạng */
.tbl .rk { width: 64px; }
.star, .star-ph {
  display: inline-grid; place-items: center; width: 28px; height: 28px; margin: -6px 2px -6px -6px;
  border: 0; background: none; color: var(--muted); font-size: 16px; line-height: 1; cursor: pointer; border-radius: 6px;
  vertical-align: middle;
}
.star[aria-pressed="true"] { color: var(--accent); }
.star:hover { color: var(--accent); }

/* Biểu đồ 7 ngày */
.c-sp { width: 96px; padding-top: 6px !important; padding-bottom: 6px !important; }
.spark { width: 84px; height: 30px; display: block; overflow: visible; }
.spark polyline { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.c-ath.up { font-weight: 600; }

/* Điện thoại: giữ cột # và Coin đứng yên khi vuốt ngang bảng */
@media (max-width: 720px) {
  #tbl .rk, #tbl .coin, .cmp .coin { position: sticky; z-index: 1; background: var(--surface); }
  #tbl .rk { left: 0; width: 56px; min-width: 56px; }
  #tbl .coin { left: 56px; box-shadow: 1px 0 0 var(--line); }
  .cmp .coin { left: 0; box-shadow: 1px 0 0 var(--line); }
  .tbl tbody tr:hover td.rk, .tbl tbody tr:hover td.coin { background: color-mix(in srgb, var(--line) 35%, var(--surface)); }
}
.star-btn { margin-left: auto; font-size: 14px; }
.star-btn[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.stats dd.up { color: var(--up); }
.stats dd.down { color: var(--down); }
.note-ath { margin: -18px 0 30px; }

.seg button { white-space: nowrap; }
@media (max-width: 520px) {
  .xs-hide { display: none; }
  .seg-sm button { padding: 4px 8px; }
  .coin .sy { max-width: 8ch; overflow: hidden; text-overflow: ellipsis; display: inline-block; vertical-align: middle; }
  .tbl { font-size: 14px; }
  .tbl th, .tbl td { padding: 11px 6px; }
  #tbl .rk { width: 46px; min-width: 46px; font-size: 12px; }
  #tbl .coin { left: 46px; }
  .coin a { gap: 7px; }
  .coin .sy { font-size: 14px; }
  .star, .star-ph { width: 24px; margin-right: 0; }
}
/* Sửa: cột trong hộp Tùy chỉnh không được rộng hơn màn hình (công tắc bị đẩy ra ngoài) */
.dlg-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.dlg-col { min-width: 0; }
@media (max-width: 640px) { .dlg-body { grid-template-columns: minmax(0, 1fr); } }

/* ===== Trang phụ: tiêu đề, khối chữ ===== */
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--accent); color: var(--on-accent); padding: 8px 12px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }
.page { padding-bottom: 12px; }
.page-h { font-size: clamp(24px, 5.5vw, 34px); font-weight: 700; letter-spacing: -.02em; margin: 26px 0 8px; }
.lead { color: var(--muted); font-size: 16px; max-width: 64ch; margin: 0 0 20px; }
.page .h2 { margin-top: 30px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.empty { color: var(--muted); padding: 24px 8px; text-align: center; margin: 0; }
.prose { max-width: 70ch; }
.prose li { margin-bottom: 8px; }
.sw-inline { padding: 0; gap: 10px; font-size: 14px; font-weight: 500; }

/* ===== Sợ hãi & Tham lam ===== */
.fg-b1 { stroke: var(--down); background: var(--down); }
.fg-b2 { stroke: color-mix(in srgb, var(--down) 55%, var(--line)); background: color-mix(in srgb, var(--down) 55%, var(--line)); }
.fg-b3 { stroke: var(--muted); background: var(--muted); }
.fg-b4 { stroke: color-mix(in srgb, var(--up) 55%, var(--line)); background: color-mix(in srgb, var(--up) 55%, var(--line)); }
.fg-b5 { stroke: var(--up); background: var(--up); }
.fg-b1-t, .fg-b2-t { color: var(--down); }
.fg-b4-t, .fg-b5-t { color: var(--up); }
.fg-top { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.gauge { width: min(300px, 100%); height: auto; }
.gauge-arcs path { fill: none; stroke-width: 16; stroke-linecap: butt; }
.gauge-needle { stroke: var(--text); stroke-width: 4; stroke-linecap: round; }
.gauge-hub { fill: var(--text); }
.fg-num { display: flex; flex-direction: column; gap: 2px; }
.fg-v { font-size: 64px; font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.fg-l { font-size: 22px; font-weight: 700; }
.fg-parts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.fg-parts li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.fg-parts p { margin: 8px 0 0; font-size: 14px; }
.fg-ph { display: flex; align-items: baseline; gap: 8px; }
.fg-ph .muted { font-size: 13px; }
.fg-ps { margin-left: auto; font-size: 20px; font-weight: 700; }
.meter { height: 6px; border-radius: 3px; background: var(--line); margin-top: 8px; overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: 3px; }

/* Biểu đồ đường tự vẽ */
.chart-box { padding: 10px 6px; }
.line-chart { position: relative; min-height: 220px; }
.lc { display: block; width: 100%; height: auto; touch-action: pan-y; }
.lc-grid { stroke: var(--line); stroke-width: 1; }
.lc-ax { fill: var(--muted); font-size: 11px; }
.lc-line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.lc-dot { fill: var(--accent); stroke: var(--surface); stroke-width: 2; }
.lc-cross { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; }
.lc-tip {
  position: absolute; top: 4px; transform: translateX(-50%); pointer-events: none; z-index: 5;
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px;
  font-size: 13px; display: flex; flex-direction: column; white-space: nowrap; box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
.lc-tip span { color: var(--muted); }

/* ===== Heatmap ===== */
.hm-bar { justify-content: flex-start; }
.hm-wrap { position: relative; }
.hm { position: relative; width: 100%; min-height: 300px; border-radius: 14px; overflow: hidden; background: var(--surface); }
.hm-t {
  position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15em;
  color: #fff; text-align: center; overflow: hidden; line-height: 1.1; box-shadow: inset 0 0 0 1px var(--bg);
  transition: filter .15s;
}
.hm-t:hover { color: #fff; filter: brightness(1.15); }
.hm-t:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; border-radius: 0; z-index: 2; }
.hm-t b { font-weight: 700; }
.hm-p { font-size: .72em; font-weight: 600; }
.hm-px { font-size: .6em; opacity: .9; }
.hm-ssr { position: static; display: inline-block; color: var(--text); padding: 4px; }
.hm-tip { transform: none; }
.hm-leg { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); margin-top: 10px; }
.hm-grad { flex: 0 1 220px; height: 10px; border-radius: 5px; background: linear-gradient(90deg, rgb(184,58,64), rgb(59,74,78), rgb(16,125,85)); }
@media (max-width: 520px) { .fg-top { justify-content: center; text-align: center; } .fg-num { align-items: center; } }
.mood { margin: -12px 0 22px; font-size: 15px; }
.mood a { display: inline-flex; gap: 6px; align-items: baseline; border: 1px solid var(--line); background: var(--surface); padding: 6px 12px; border-radius: 999px; }

/* ===== Cảnh báo giá ===== */
.al-card { margin: 30px 0 0; padding: 18px; }
.al-card .h2 { margin: 0 0 4px; }
.al-lead { margin: 0 0 14px; font-size: 14px; }
.al-why { background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 10px; padding: 10px 12px; margin: 0 0 14px; font-size: 14px; }
.al-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: end; }
.al-f { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.al-f select, .al-in input {
  height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font: inherit; font-weight: 500; width: 100%;
}
.al-in { display: flex; align-items: center; gap: 8px; }
.al-in span { color: var(--muted); font-weight: 500; min-width: 2.5em; }
.al-in input[aria-invalid="true"] { border-color: var(--down); }
.al-chk { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.al-chk input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.al-form .btn-primary { grid-column: 1 / -1; justify-self: start; }
.al-msg { margin: 12px 0 0; font-size: 14px; }
.al-msg.err { color: var(--down); }
.al-list { list-style: none; padding: 0; margin: 14px 0 0; }
.al-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.al-list li > div { display: flex; flex-direction: column; min-width: 0; }
.al-list li span { font-size: 13px; }
.al-list li.off b { color: var(--muted); }
.al-list .al-empty { color: var(--muted); font-size: 14px; }
.al-card #alertTest { margin-top: 14px; }
@media (max-width: 520px) { .al-form { grid-template-columns: minmax(0, 1fr); } }

/* ===== Điểm rủi ro ===== */
.no-risk .c-risk { display: none; }
.rk-lo { color: var(--up); }
.rk-mid { color: var(--accent); }
.rk-hi { color: var(--down); }
.rk-lo-bg { background: var(--up); }
.rk-mid-bg { background: var(--accent); }
.rk-hi-bg { background: var(--down); }
.rk-card { margin: 0 0 30px; padding: 18px; }
.rk-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.rk-top .h2 { margin: 0; }
.rk-v { font-size: 18px; font-weight: 600; }
.rk-v b { font-size: 28px; }
.rk-lead { font-size: 14px; margin: 4px 0 14px; }
.rk-parts li { background: var(--bg); }
.rk-how { margin-top: 14px; font-size: 14px; }
.rk-how summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
.rk-how li { margin-bottom: 6px; }
@media (max-width: 720px) {
  .nav .wrap { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 32px; }
}

/* ===== So sánh sàn ===== */
.cmp-sp { font-weight: 700; color: var(--accent); }
.cmp-ex { display: inline-block; min-width: 4.2em; font-weight: 600; }
.cmp td .num { color: var(--muted); }
.search-lg { max-width: 420px; margin: 18px 0 6px; }
