:root {
  --straw: #E8B34B;
  --primary: #8A5A13; --primary-dark: #6B450C; --primary-soft: #F6E6C2;
  --ink: #1F1A14; --muted: #6A6157; --line: #E9E2D6; --ground: #FAF6EE;
  --money: #1E6B47; --money-soft: #E4F1E8; --warn-bg: #FFF8EB; --warn-ink: #7C2D12; --error: #B91C1C;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 15px/1.45 'Be Vietnam Pro', system-ui, sans-serif; }
body.has-tabbar { padding-bottom: calc(124px + env(safe-area-inset-bottom)); }
a { color: var(--primary); text-decoration: none; } a:hover { color: var(--primary-dark); }
h1 { font-size: 20px; margin: 0; } h2 { font-size: 17px; margin: 0; }
.page { max-width: 560px; margin: 0 auto; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.card { background: #fff; border-radius: var(--radius); padding: 16px; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row > input, .row > label.grow { flex: 1 1 160px; }
.between { justify-content: space-between; }
.grow { flex: 1 1 auto; } .min0 { min-width: 0; }
.center { text-align: center; } .right { text-align: right; }
.small { font-size: 13px; } .muted { color: var(--muted); } .strong { font-weight: 600; color: var(--ink); }
.ellipsis { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.border-top { border-top: 1px solid #ECEEEC; padding-top: 10px; }
.money { color: var(--money); } .gold { color: #FCD34D; } .warn { color: var(--warn-ink); }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: #4B5563; }
input, textarea { font: inherit; color: var(--ink); background: #FAFBFA; border: 1.5px solid #D5DAD6; border-radius: 14px; padding: 12px 14px; min-height: 48px; width: 100%; }
input:focus, textarea:focus { outline: 3px solid var(--primary-soft); border-color: var(--primary); }
input[type=checkbox] { width: 20px; height: 20px; min-height: 0; accent-color: var(--primary); }
.btn { font: inherit; font-weight: 700; border-radius: 14px; min-height: 48px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; border: 1.5px solid transparent; }
.btn-primary { background: var(--primary); color: #fff; } .btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.btn-ghost { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-link { background: none; border: 0; color: var(--muted); font: inherit; min-height: 44px; cursor: pointer; }
.icon-btn { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid #D5DAD6; background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.icon-btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.icon-btn svg, .tabbar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flash { border-radius: 14px; padding: 12px 14px; font-size: 14px; background: var(--primary-soft); color: var(--primary-dark); }
.flash-error { background: #FDECEC; color: var(--error); } .flash-warn { background: var(--warn-bg); color: var(--warn-ink); }
.notice { background: var(--warn-bg); color: var(--warn-ink); border-radius: 14px; padding: 10px 14px; margin: 0; }
.empty { color: var(--muted); text-align: center; font-size: 14px; }
.topbar { display: flex; align-items: center; gap: 10px; padding-top: 4px; }
.topbar .grow { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; flex-shrink: 0; }
.chip { font-size: 12px; font-weight: 600; color: #5A3A0A; background: #F6E6C2; border-radius: 999px; padding: 3px 10px; }
.pill { min-height: 44px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; display: inline-flex; align-items: center; }
.link-card { display: flex; gap: 10px; align-items: center; padding: 12px; }
.link-card .grow { display: flex; flex-direction: column; gap: 2px; }
.subbar { display: flex; align-items: center; gap: 6px; min-height: 48px; }
.back { font-size: 32px; line-height: 1; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.hero, .wallet { background: var(--primary); color: #fff; display: flex; flex-direction: column; gap: 6px; }
.wallet { background: #3A2508; }
.big { font-size: 30px; font-weight: 700; letter-spacing: -.5px; }
.dim { color: #E3CFA8; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.grid3 > div { background: #4E3410; border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.stats .card { display: flex; flex-direction: column; gap: 4px; }
.checklist { border: 0; background: var(--warn-bg); display: flex; flex-direction: column; gap: 10px; margin: 0; }
.checklist legend { float: left; font-weight: 700; color: var(--warn-ink); padding: 0; margin-bottom: 4px; }
.checklist label { flex-direction: row; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink); font-weight: 400; }
.steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; }
.tabs a { flex-shrink: 0; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid #D5DAD6; background: #fff; color: #374151; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.tabs a[aria-current] { background: var(--primary); border-color: var(--primary); color: #fff; }
.badge { flex-shrink: 0; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 4px 10px; background: #E6EEFB; color: #1E40AF; }
.badge-available { background: var(--money-soft); color: var(--money); }
.badge-pending { background: #FFF4DB; color: #7A4B00; }
.badge-void, .badge-reversed { background: #F1F3F1; color: var(--muted); }
.progress { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; font-size: 11px; color: var(--muted); }
.progress li { display: flex; flex-direction: column; gap: 1px; }
.progress li::before { content: ""; display: block; height: 4px; border-radius: 2px; background: #DDD5C7; margin-bottom: 5px; }
.progress li b { font-weight: 600; color: var(--ink); }
.progress li.done::before { background: var(--money); }
.progress li.current::before { background: linear-gradient(90deg, var(--straw) 50%, #DDD5C7 50%); }
.progress li.fail::before { background: var(--error); } .progress li.fail b { color: var(--error); }
.tier-hero { background: linear-gradient(135deg, #FBF1DC, #F3DFB4); color: #5A3A0A; display: flex; flex-direction: column; gap: 6px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; padding: 6px 0; }
.table td { border-top: 1px solid #ECEEEC; padding: 12px 0; }
.table tr.current td { font-weight: 700; }
.auth { display: flex; flex-direction: column; gap: 14px; padding-top: 8vh; }
.brand { display: flex; align-items: center; gap: 10px; }
.logo { width: 48px; height: 48px; border-radius: 12px; }
.tabbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: 536px; margin: 0 auto; height: 68px; background: #fff; border: 1px solid var(--line); border-radius: 22px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: var(--muted); font-weight: 500; }
.tabbar a[aria-current] { color: var(--primary); font-weight: 700; }
.tabbar .tab-fab { justify-self: center; width: 60px; height: 60px; margin-top: -34px; border-radius: 50%; background: var(--primary); color: #fff; justify-content: center; border: 4px solid var(--ground); }
.tabbar .tab-fab svg { width: 26px; height: 26px; }
.toast { position: fixed; left: 50%; bottom: 100px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 14px; z-index: 10; }

/* Nhóm A */
.why { background: #FBF6EC; border-radius: 12px; padding: 10px 12px; font-size: 13px; color: var(--warn-ink); margin: 0; }
.eye { background: none; border: 0; color: inherit; cursor: pointer; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.eye svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.masked [data-amount] { filter: blur(7px); user-select: none; }
.select { font: inherit; color: var(--ink); background: #FAFBFA; border: 1.5px solid #D5CDBF; border-radius: 14px; padding: 12px 14px; min-height: 48px; width: 100%; }
.qr { width: 200px; height: 200px; margin: 0 auto; display: block; background: #fff; border-radius: 12px; }
.grid3-light { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.grid3-light > div { background: var(--ground); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.guest-bar { background: var(--primary-soft); color: var(--primary-dark); border-radius: 14px; padding: 10px 14px; font-size: 14px; }
.guest-bar a { font-weight: 700; text-decoration: underline; }
.pubbar { display: flex; align-items: center; gap: 10px; }
.pubbar .grow { font-weight: 700; font-size: 17px; color: var(--ink); }
.pubbar .logo { width: 36px; height: 36px; border-radius: 10px; }
.landing-hero { background: var(--primary); color: #fff; display: flex; flex-direction: column; gap: 10px; padding: 22px 18px; }
.landing-hero h1 { font-size: 24px; line-height: 1.25; }
.landing-hero p { margin: 0; color: #F6E6C2; }
.landing-hero input { background: #fff; }
.landing-hero .btn-primary { background: var(--straw); color: #3A2508; } .landing-hero .btn-primary:hover { background: #F2C76A; color: #3A2508; }
.landing-hero .btn-ghost { background: transparent; color: #fff; border-color: #F6E6C2; }
.journey { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: j; }
.journey li { display: flex; gap: 12px; align-items: flex-start; counter-increment: j; }
.journey li::before { content: counter(j); flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-dark); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.journey li div { display: flex; flex-direction: column; gap: 2px; }
details.faq { border-top: 1px solid var(--line); padding: 12px 0; }
details.faq:first-of-type { border-top: 0; }
details.faq summary { font-weight: 600; cursor: pointer; min-height: 28px; }
details.faq p, details.faq ul { margin: 8px 0 0; color: #3F3830; }
.prose h2 { margin-top: 8px; } .prose p, .prose ul { margin: 0; color: #3F3830; }
.prose ul { padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.footer { font-size: 12px; color: var(--muted); text-align: center; display: flex; flex-direction: column; gap: 6px; padding: 8px 0 4px; }
.footer nav { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.footer a { color: var(--muted); text-decoration: underline; }
.menu { padding: 4px 16px; }
.menu a, .menu button { display: flex; align-items: center; justify-content: space-between; min-height: 52px; border-top: 1px solid var(--line); color: var(--ink); font: inherit; background: none; border-left: 0; border-right: 0; border-bottom: 0; width: 100%; cursor: pointer; padding: 0; }
.menu > :first-child { border-top: 0; }
.menu a::after { content: "›"; color: var(--muted); font-size: 22px; }
.code-box { font-size: 26px; font-weight: 700; letter-spacing: 3px; color: var(--primary-dark); }
.bank-qr { width: 180px; border-radius: 10px; border: 1px solid var(--line); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pill, .chip, .row > strong, .badge { white-space: nowrap; }
.btn-google { background: #fff; color: var(--ink); border-color: #D5CDBF; width: 100%; min-height: 54px; font-size: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.btn-google:hover { background: #FBF6EC; color: var(--ink); }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.thumb { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
/* Thẻ xem trước sản phẩm */
.pcard { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.pcard-top { display: flex; gap: 14px; padding: 14px; align-items: stretch; }
.pcard-img { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: var(--ground); border: 1px solid var(--line); }
.pcard-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; justify-content: space-between; }
.pcard-name { font-size: 15px; line-height: 1.35; font-weight: 600; }
.pcard-meta { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-price { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pcard-price strong { font-size: 17px; }
.pill-rate { font-size: 12px; font-weight: 600; color: var(--primary-dark); background: var(--primary-soft); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.pcard-earn { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 14px; padding: 12px 14px; border-radius: 14px; background: var(--money-soft); color: var(--money); }
.pcard-earn > div { display: flex; flex-direction: column; gap: 2px; }
.pcard-earn .small { color: var(--money); opacity: .85; }
.earn-amount { font-size: 26px; font-weight: 700; letter-spacing: -.4px; line-height: 1.1; }
.earn-tier { font-size: 12px; font-weight: 600; background: #fff; color: var(--money); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.pcard-note { margin: 0; padding: 8px 14px 14px; font-size: 12px; color: var(--muted); }

/* ---------- Nâng cấp trang chủ 11/2026 ---------- */
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 12px; }
.earn-chip { align-self: flex-start; font-size: 12.5px; font-weight: 700; color: var(--money); background: var(--money-soft); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }

/* Trang chủ người dùng: trên điện thoại sắp lại thứ tự, trên máy tính chia 2 cột */
.home-grid { display: flex; flex-direction: column; gap: 14px; }
.home-main, .home-side { display: contents; }
.o-paste { order: 1; } .o-stats { order: 2; } .o-onboard { order: 3; } .o-invite { order: 4; } .o-recent { order: 5; }
.wallet-mini { display: flex; flex-direction: column; gap: 8px; color: var(--ink); }
.wallet-mini:hover { color: var(--ink); }
.wallet-mini .big { font-size: 28px; }

.onboard h2 { font-size: 16px; }
.ob-bar { height: 8px; background: #EEE6D8; border-radius: 999px; overflow: hidden; }
.ob-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--straw), var(--money)); border-radius: 999px; min-width: 8px; }
.ob-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ob-steps li { display: flex; flex-direction: column; gap: 1px; padding-left: 30px; position: relative; font-size: 14px; color: var(--muted); }
.ob-steps li b { font-weight: 500; }
.ob-steps li::before { content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #D5CDBF; box-sizing: border-box; background: #fff; }
.ob-steps li.done { color: var(--ink); }
.ob-steps li.done::before { content: "✓"; border-color: var(--money); background: var(--money); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ob-steps li.now { color: var(--ink); } .ob-steps li.now b { font-weight: 700; }
.ob-steps li.now::before { border-color: var(--straw); box-shadow: 0 0 0 4px #FBEFD3; }

.invite-card { display: flex; flex-direction: column; gap: 6px; color: #fff; background: linear-gradient(135deg, #1E6B47, #2F8C5E); position: relative; overflow: hidden; }
.invite-card:hover { color: #fff; }
.invite-card::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,.08); }
.invite-kicker { font-weight: 600; color: #CDEBD9; }
.invite-title { font-size: 19px; line-height: 1.3; }
.invite-title br + * { display: inline; }
.invite-card .small { color: #E4F4EA; }
.invite-btn { align-self: flex-start; margin-top: 6px; background: #fff; color: var(--money); min-height: 42px; }

/* Món mọi người vừa nhặt */
.pop { display: flex; flex-direction: column; gap: 10px; }
.pop-list { display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
.pop-card { background: #fff; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; scroll-snap-align: start; border: 1px solid var(--line); }
.pop-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--ground); display: block; }
.pop-body { padding: 10px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pop-body h3 { font-size: 13.5px; font-weight: 500; line-height: 1.35; margin: 0; min-height: 36px; }
.pop-price { font-size: 15px; }
.pop-body form { margin-top: auto; padding-top: 6px; }
.pop-body .btn { width: 100%; }

/* Trang chủ công khai */
.hero-kicker { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; background: rgba(255,255,255,.14); color: #FCE9C2; padding: 4px 10px; border-radius: 999px; }
.hero-copy, .hero-form { display: flex; flex-direction: column; gap: 10px; }
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: #FCE9C2; }
.hero-points li::before { content: "✓ "; color: var(--straw); font-weight: 700; }
.hero-label { color: #fff; font-size: 14px; }
.landing-hero .small a { color: #fff; text-decoration: underline; }
.journey .when { align-self: flex-start; font-size: 11.5px; font-weight: 700; color: var(--money); background: var(--money-soft); border-radius: 999px; padding: 2px 9px; margin-bottom: 2px; }
.landing-pair { display: flex; flex-direction: column; gap: 14px; }

/* Nút Zalo và lời nhắc cài đặt */
.zalo-fab { position: fixed; right: 12px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 8; width: 48px; height: 48px; border-radius: 50%; background: #0068FF; color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,104,255,.35); }
.zalo-fab:hover { color: #fff; background: #0057D6; }
.zalo-fab.has-tab { bottom: calc(96px + env(safe-area-inset-bottom)); }
.install { position: fixed; left: 12px; right: 12px; bottom: calc(18px + env(safe-area-inset-bottom)); max-width: 536px; margin: 0 auto; z-index: 9; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px; display: flex; align-items: center; gap: 10px; box-shadow: 0 10px 30px rgba(31,26,20,.15); }
.install[hidden], .install [hidden] { display: none !important; }
.install.has-tab { bottom: calc(92px + env(safe-area-inset-bottom)); }
.install img { border-radius: 10px; }
.install .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tab-brand { display: none !important; }

/* ---------- Máy tính ---------- */
@media (min-width: 720px) {
  .pop-list { grid-auto-columns: 30%; }
}
@media (min-width: 1024px) {
  .page.page-wide { max-width: 1120px; padding: 24px; gap: 18px; }
  body.has-tabbar { padding-bottom: 0; padding-top: 76px; }
  .tabbar { top: 0; bottom: auto; left: 0; right: 0; max-width: none; height: 64px; border-radius: 0; border: 0; border-bottom: 1px solid var(--line); display: flex; justify-content: center; gap: 4px; padding: 0 24px; z-index: 7; }
  .tabbar a { flex-direction: row; font-size: 14px; gap: 8px; padding: 8px 14px; border-radius: 10px; }
  .tabbar a:hover { background: var(--ground); color: var(--ink); }
  .tabbar a[aria-current] { background: var(--primary-soft); }
  .tabbar .tab-fab { order: 9; margin: 0 0 0 8px; width: 44px; height: 44px; border: 0; padding: 0; justify-content: center; }
  .tabbar .tab-fab:hover { background: var(--primary-dark); color: #fff; }
  .tabbar .tab-fab svg { width: 20px; height: 20px; }
  .tab-brand { display: flex !important; margin-right: auto; font-weight: 700 !important; font-size: 17px !important; color: var(--ink) !important; background: none !important; }
  .tab-brand img { border-radius: 8px; }
  .tabbar > a:last-of-type { margin-right: auto; }
  .zalo-fab.has-tab, .install.has-tab { bottom: 24px; }
  .zalo-fab { right: 24px; bottom: 24px; width: 54px; height: 54px; }

  .home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
  .home-main, .home-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
  .home-side { position: sticky; top: 88px; }

  .pop-list { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; }

  .landing-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; padding: 44px 40px; align-items: center; }
  .landing-hero h1 { font-size: 38px; letter-spacing: -.6px; }
  .landing-hero p { font-size: 16px; }
  .hero-form { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; padding: 22px; }
  .journey { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .journey li { flex-direction: column; }
  .landing-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
  .page-wide .pubbar { padding: 0 4px; }
}
.install .btn-link { white-space: nowrap; }
.hero-gift { margin: 0; align-self: flex-start; background: rgba(255,255,255,.95); color: #6B450C !important; border-radius: 12px; padding: 8px 12px; font-size: 14px; }
.hero-gift b { color: var(--money); }
.promo-note { margin: 0; background: var(--warn-bg); color: var(--warn-ink); border-radius: 10px; padding: 8px 10px; }
.promo-note a { font-weight: 700; text-decoration: underline; color: inherit; }
/* Bảng xếp hạng */
.rank-card h2 { font-size: 16px; }
.rank-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rank-list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.rank-list li:first-child { border-top: 0; }
.rank-list li.me { background: var(--primary-soft); margin: 0 -10px; padding: 9px 10px; border-radius: 10px; }
.rank-list .grow { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-no { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: var(--ground); color: var(--muted); font-weight: 700; font-size: 12.5px; display: flex; align-items: center; justify-content: center; }
.rank-no.r1 { background: #F6C76A; color: #5A3A0A; } .rank-no.r2 { background: #E2E2DE; color: #4A4A45; } .rank-no.r3 { background: #EBC3A0; color: #6B3A12; }
.o-rank { order: 6; }
