/* PH Boosting — web khách v2 (31/10/2026). Mobile-first, 1 họ chữ tự host, 1 hệ màu xanh dương (navy cho chữ), không thư viện. */
@font-face {
  font-family: 'Jakarta'; src: url('fonts/jakarta-var.woff2') format('woff2');
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face { /* chữ dự phòng cùng kích thước → không nhảy bố cục khi font tải xong */
  font-family: 'Jakarta fallback'; src: local('Arial'), local('Helvetica'), local('Roboto');
  size-adjust: 104%; ascent-override: 99%; descent-override: 21%; line-gap-override: 0%;
}

:root {
  --bg: #f4f7fc;          /* nền xám xanh rất nhạt */
  --surface: #ffffff;     /* thẻ */
  --sunk: #f6f8fc;        /* ô bên trong thẻ */
  --line: #e3e8f1;
  --line-2: #d3dbe8;
  --ink: #0d1b3e;         /* navy — chữ */
  --ink-2: #33415f;
  --muted: #64718c;
  --blue: #1f5fe0;        /* xanh chủ đạo: nút, đang chọn, viền, điểm nhấn */
  --blue-2: #174fc4;      /* hover / nhấn */
  --blue-50: #eef4ff;
  --blue-100: #dce7fe;
  --on-blue: #ffffff;
  --ok: #157a52; --ok-bg: #e5f5ee;
  --warn: #8f5700; --warn-bg: #fff3dd;
  --bad: #c0262d; --bad-bg: #fdecec;
  --sh-1: 0 1px 2px rgba(13, 27, 62, .04), 0 2px 10px rgba(13, 27, 62, .04);
  --sh-2: 0 12px 40px rgba(13, 27, 62, .14);
  --r-s: 10px; --r-m: 14px; --r-l: 18px;
  --pad: 16px;
  --top-h: 60px;
  --font: 'Jakarta', 'Jakarta fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1222; --surface: #121b30; --sunk: #0f172a; --line: #223050; --line-2: #2c3c61; --ink: #e7edf9; --ink-2: #c3cde2; --muted: #93a1bd;
    --blue: #5b8cff; --blue-2: #7aa2ff; --blue-50: #172848; --blue-100: #1e3460; --on-blue: #071226;
    --ok: #5fd3a2; --ok-bg: #113427; --warn: #ffc866; --warn-bg: #3a2a08; --bad: #ff8a8f; --bad-bg: #3d1518;
    --sh-1: 0 1px 2px rgba(0, 0, 0, .3); --sh-2: 0 12px 40px rgba(0, 0, 0, .5); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1222; --surface: #121b30; --sunk: #0f172a; --line: #223050; --line-2: #2c3c61; --ink: #e7edf9; --ink-2: #c3cde2; --muted: #93a1bd;
  --blue: #5b8cff; --blue-2: #7aa2ff; --blue-50: #172848; --blue-100: #1e3460; --on-blue: #071226;
  --ok: #5fd3a2; --ok-bg: #113427; --warn: #ffc866; --warn-bg: #3a2a08; --bad: #ff8a8f; --bad-bg: #3d1518;
  --sh-1: 0 1px 2px rgba(0, 0, 0, .3); --sh-2: 0 12px 40px rgba(0, 0, 0, .5); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 12px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.5 var(--font); font-feature-settings: 'lnum' 1; overflow-x: hidden; min-height: 100vh; -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { line-height: 1.22; margin: 0; letter-spacing: -0.015em; color: var(--ink); }
h1 { font-size: 1.45rem; font-weight: 800; }
h2 { font-size: 1.06rem; font-weight: 750; }
h3 { font-size: .95rem; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.sprite { position: absolute; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-s { width: 13px; height: 13px; fill: currentColor; stroke: none; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 45%, transparent); outline-offset: 2px; border-radius: 8px; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 60; background: var(--blue); color: var(--on-blue); padding: 10px 14px; border-radius: var(--r-s); font-weight: 700; }
.skip:focus { top: 8px; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.mb { margin-bottom: 12px; }
.lede { color: var(--muted); margin-top: 4px; }
.hint { display: block; font-size: .8rem; color: var(--muted); margin-top: 6px; }
.err { color: var(--bad); font-size: .88rem; font-weight: 600; }
.err:empty { display: none; }
.note { background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--ink-2); border-radius: var(--r-s); padding: 10px 12px; font-size: .88rem; }
.note.warn { background: var(--warn-bg); border-color: color-mix(in srgb, var(--warn) 25%, transparent); color: var(--warn); }
.linkish { background: none; border: 0; padding: 0; color: var(--blue); font-weight: 650; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

/* ---------------------------------------------------------------- khung: đầu trang */
.top {
  position: sticky; top: 0; z-index: 30; height: var(--top-h); display: flex; align-items: center; gap: 10px;
  padding: 0 var(--pad); padding-top: env(safe-area-inset-top); background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.logo-full { height: 36px; width: auto; }
:root[data-theme="dark"] .logo-full { background: #fff; border-radius: 10px; padding: 3px 8px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-full { background: #fff; border-radius: 10px; padding: 3px 8px; } }
.top-nav { display: none; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid transparent; background: none; color: var(--ink); cursor: pointer; flex: none; }
.icon-btn:hover { background: var(--sunk); }
.menu-btn { margin-left: -8px; }
.wallet-btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 12px; font-weight: 700; text-decoration: none; border: 1px solid var(--line-2); background: var(--surface); white-space: nowrap; font-size: .92rem; }
.wallet-btn.bal { background: var(--blue-50); border-color: var(--blue-100); color: var(--ink); }
.wallet-btn.bal .ic { color: var(--blue); width: 18px; height: 18px; }
.add-funds { display: none !important; }
.me-btn { display: none !important; }
.notice-bar { background: var(--blue-50); color: var(--ink-2); border-bottom: 1px solid var(--blue-100); padding: 9px var(--pad); font-size: .86rem; font-weight: 600; text-align: center; }

/* thanh bên = menu trượt trên điện thoại */
.install-btn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 12px 12px 14px; border: 0; border-radius: 16px; cursor: pointer; text-align: left; color: #fff;
  background: linear-gradient(135deg, #1f5fe0 0%, #3d7bff 60%, #5b8cff 100%); box-shadow: 0 10px 24px rgba(31, 95, 224, .28); }
.install-btn:hover { filter: brightness(1.05); }
.ib-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, .18); flex: none; }
.ib-tx { display: grid; flex: 1; min-width: 0; line-height: 1.2; }
.ib-tx b { font-size: .84rem; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ib-tx small { font-size: .75rem; opacity: .85; }
.ib-go { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .2); flex: none; }
.ib-go .ic { width: 18px; height: 18px; }
.inst { display: grid; gap: 12px; }
.inst ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: .92rem; }
.inst .ic-inline { width: 18px; height: 18px; vertical-align: -4px; color: var(--blue); }
.install-cta { display: none; }
.shell { display: block; max-width: 1480px; margin: 0 auto; }
.side {
  position: fixed; z-index: 50; inset: 0 auto 0 0; width: min(300px, 86vw); background: var(--surface); border-right: 1px solid var(--line);
  padding: 14px 14px calc(18px + env(safe-area-inset-bottom)); overflow-y: auto; transform: translateX(-102%); transition: transform .22s ease; display: flex; flex-direction: column; gap: 16px;
}
body.nav-open .side { transform: none; box-shadow: var(--sh-2); }
.scrim { position: fixed; inset: 0; z-index: 45; background: rgba(9, 17, 38, .45); }
.side-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.side-head .logo-full { height: 34px; }
.side-nav { display: grid; gap: 4px; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; text-decoration: none; font-weight: 650; color: var(--ink-2); }
.side-nav a .ic { color: var(--muted); }
.side-nav a:hover { background: var(--sunk); }
.side-nav a.on { background: var(--blue); color: var(--on-blue); box-shadow: 0 6px 16px color-mix(in srgb, var(--blue) 30%, transparent); }
.side-nav a.on .ic { color: var(--on-blue); }
.side-card { position: relative; overflow: hidden; border-radius: var(--r-l); padding: 18px 16px 16px; color: #fff;
  background: linear-gradient(160deg, #13306d 0%, #1f5fe0 100%); margin-top: auto; }
.side-card .sc-art { position: absolute; right: -26px; top: -26px; width: 120px; height: 120px; opacity: .9; }
.side-card h2 { color: #fff; font-size: 1.12rem; font-weight: 800; max-width: 75%; line-height: 1.25; }
.side-card ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; font-size: .88rem; font-weight: 600; }
.side-card li { display: flex; align-items: center; gap: 8px; }
.side-card li .ic { width: 18px; height: 18px; color: #a9c4ff; }
main { display: block; min-width: 0; padding: 16px var(--pad) calc(28px + env(safe-area-inset-bottom)); outline: none; }

/* ---------------------------------------------------------------- nút, ô nhập, thẻ */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 16px; box-shadow: var(--sh-1); }
.stack > * + * { margin-top: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--blue);
  background: var(--blue); color: var(--on-blue); font-weight: 750; text-decoration: none; cursor: pointer; text-align: center; transition: background .15s, box-shadow .15s;
}
.btn:hover { background: var(--blue-2); border-color: var(--blue-2); }
.btn:disabled { background: var(--line); border-color: var(--line); color: var(--muted); cursor: not-allowed; box-shadow: none; }
.btn.block { display: flex; width: 100%; }
.btn.lg { min-height: 52px; font-size: 1rem; border-radius: 14px; box-shadow: 0 8px 20px color-mix(in srgb, var(--blue) 25%, transparent); }
.btn.lg:disabled { box-shadow: none; }
.btn.ghost { background: var(--surface); color: var(--blue); border-color: var(--blue-100); }
.btn.ghost:hover { background: var(--blue-50); }
.btn.sm { min-height: 36px; padding: 0 12px; font-size: .86rem; border-radius: 10px; }
.btn .ic { width: 18px; height: 18px; }
.input {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
  font-size: 16px; transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 14%, transparent); }
.input[aria-invalid="true"] { border-color: var(--bad); }
textarea.input { min-height: 120px; resize: vertical; }
.field { display: block; }
.field > span:first-child, .label, .blk-h { display: block; font-weight: 750; font-size: .95rem; margin-bottom: 8px; color: var(--ink); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--blue); }
.form { display: grid; gap: 14px; margin-top: 16px; }
.chip { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 650; font-size: .88rem; cursor: pointer; color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.quick, .methods-pick, .theme-pick, .seg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: .72rem; font-weight: 700; background: var(--sunk); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; line-height: 1.5; }
.pill.ok { background: var(--blue-50); color: var(--blue); border-color: var(--blue-100); }
.pill.spd { background: var(--blue-50); color: var(--blue); border-color: var(--blue-100); }
.pill.tst { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.pill.off { background: var(--bad-bg); color: var(--bad); border-color: transparent; }
.pill.ph { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.flag { width: 16px; height: 8px; margin-right: 2px; border-radius: 1.5px; vertical-align: -1px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.pill.ph .flag { width: 14px; height: 7px; }

/* logo nền tảng */
.pf { flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; font-size: .72rem; font-weight: 800; color: #fff; background: #33415f; letter-spacing: .02em; }
.pf .lg { width: 58%; height: 58%; fill: #fff; }
.pf-kick .lg { fill: #0b0b0b; } .pf-tiktok .lg { width: 54%; height: 54%; }
.pf-facebook { background: #1877f2; } .pf-instagram { background: radial-gradient(circle at 30% 107%, #fdc95a 0%, #fd5949 45%, #d6249f 62%, #285aeb 92%); } .pf-tiktok { background: #111; } .pf-youtube { background: #ff0000; }
.pf-telegram { background: #229ed9; } .pf-xtwitter { background: #111; } .pf-spotify { background: #1db954; } .pf-shopee { background: #ee4d2d; } .pf-twitch { background: #9146ff; }
.pf-kick { background: #53fc18; } .pf-linkedin { background: #0a66c2; } .pf-soundcloud { background: #ff5500; } .pf-reddit { background: #ff4500; } .pf-rumble { background: #85c742; } .pf-whatsapp { background: #25d366; }
.pf-more { background: var(--sunk); color: var(--ink-2); border: 1px solid var(--line); }
.pf-more .ic { width: 20px; height: 20px; stroke-width: 3; }
.ch .pf-messenger { background: #0a7cff; } .ch .pf-telegram { background: #229ed9; } .ch .pf-whatsapp { background: #25d366; } .ch .pf-viber { background: #7360f2; } .ch .pf-email { background: var(--blue); }

/* ---------------------------------------------------------------- trang đặt đơn */
.order-page, .order-main, .order-side, .oform, .tu-grid, .tu-main, .tu-side, .pay, .steps, .cols, .sup-grid, .ocards, #fields, .buy, .paybar { grid-template-columns: minmax(0, 1fr); }
.order-page { display: grid; gap: 14px; }
.order-main { display: grid; gap: 12px; min-width: 0; }
.order-side { display: grid; gap: 12px; align-content: start; min-width: 0; }
.oform { display: grid; gap: 18px; padding: 16px; }
.blk { min-width: 0; }
#custom { display: grid; gap: 18px; }
@media (min-width: 640px) { #custom { gap: 22px; } }
.blk-h1 { font-size: 1.32rem; }
.blk > .lede { margin-bottom: 12px; font-size: .9rem; }

/* luật gọn, bấm mới mở */
.rules { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--sh-1); }
.rules summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 11px 14px; cursor: pointer; }
.rules summary::-webkit-details-marker { display: none; }
.r-ic { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--blue-50); color: var(--blue); flex: none; }
.r-ic .ic { width: 18px; height: 18px; }
.r-t { display: grid; min-width: 0; flex: 1; }
.r-t b { font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-t small { color: var(--muted); font-size: .78rem; }
.r-new { font-size: .7rem; font-weight: 800; color: var(--on-blue); background: var(--blue); border-radius: 999px; padding: 2px 8px; }
.r-more { font-size: .84rem; font-weight: 700; color: var(--blue); flex: none; }
.rules ul { margin: 0; padding: 0 16px 14px 40px; display: grid; gap: 7px; font-size: .88rem; color: var(--ink-2); }
.rules li.hot, .rules-list li.hot { color: var(--bad); font-weight: 650; }

/* tiến độ */
.steps { display: grid; gap: 10px; }
.st-chip { display: inline-flex; align-items: center; gap: 6px; justify-self: start; font-size: .8rem; font-weight: 750; color: var(--blue); background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 999px; padding: 4px 10px 4px 7px; }
.st-chip .ic { width: 16px; height: 16px; }
.st-bar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.st-bar li { display: grid; gap: 6px; font-size: .74rem; color: var(--muted); font-weight: 600; min-width: 0; }
.st-bar i { display: block; height: 5px; border-radius: 99px; background: var(--line); }
.st-bar li.done i { background: var(--blue); }
.st-bar li.cur i { background: linear-gradient(90deg, var(--blue) 50%, var(--blue-100) 50%); }
.st-bar li.cur, .st-bar li.done { color: var(--ink-2); }
.st-bar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-bar em { font-style: normal; display: none; }

/* tìm dịch vụ */
.find-btn { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--sunk); color: var(--muted); cursor: pointer; text-align: left; }
.find-btn:hover { border-color: var(--blue-100); background: var(--blue-50); }
.find-btn .ic { color: var(--blue); }
.find-btn .pk-ph { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .92rem; }

/* International | Pinoy */
.aud { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.aud.aud-3 { grid-template-columns: 1fr 1fr; }
.aud.aud-3 .aud-card:first-child { grid-column: 1 / -1; }
.aud-card {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 12px; border-radius: var(--r-m); border: 1.5px solid var(--line-2);
  background: var(--surface); cursor: pointer; text-align: left; min-width: 0; transition: border-color .15s, box-shadow .15s, background .15s;
}
.aud-card:hover { border-color: var(--blue-100); }
.aud-card[aria-checked="true"] { border-color: var(--blue); background: var(--blue-50); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 12%, transparent); }
.aud-ic { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue-50); color: var(--blue); border: 1px solid var(--blue-100); overflow: hidden; }
.aud-ic .ic { width: 24px; height: 24px; }
.aud-ph .aud-ic { background: #fff; }
.flag-lg { width: 44px; height: 44px; transform: scale(1.6); }
.aud-tx { display: grid; min-width: 0; }
.aud-tx b { font-size: 1rem; }
.aud-tx span { font-size: .8rem; color: var(--ink-2); }
.aud-tx small { font-size: .76rem; color: var(--blue); font-weight: 600; margin-top: 2px; display: none; }
.aud-ck { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--on-blue); opacity: 0; transform: scale(.6); transition: .15s; }
.aud-ck .ic { width: 14px; height: 14px; stroke-width: 3; }
.aud-card[aria-checked="true"] .aud-ck { opacity: 1; transform: none; }
.geo-hint { margin-top: 10px; }

/* ô nền tảng */
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.tile, .tile-more .tile {
  width: 100%; display: grid; justify-items: center; align-content: center; gap: 6px; min-height: 78px; padding: 10px 4px; border-radius: var(--r-m);
  border: 1.5px solid var(--line-2); background: var(--surface); cursor: pointer; font-size: .78rem; font-weight: 650; color: var(--ink-2); min-width: 0;
}
.tile span:last-child { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile:hover { border-color: var(--blue-100); }
.tile.on, .tile[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-50); color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 12%, transparent); }
.tile .pf { width: 34px; height: 34px; }
.tile-more { min-width: 0; }
.tile-more .pk { position: relative; }   /* danh sách "Others" mở ngay dưới nút, không bay ra góc trang */

/* ô chọn (combobox) */
.pk { position: relative; }
.pk-btn.input { display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer; padding-right: 12px; min-height: 52px; }
.pk-val { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }
.pk-ph { color: var(--muted); }
.pk-chev { margin-left: auto; color: var(--muted); transition: transform .15s; }
.pk-btn[aria-expanded="true"] .pk-chev { transform: rotate(180deg); }
.pk-btn[aria-expanded="true"].input { border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 14%, transparent); }
.pk-pop { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--sh-2); padding: 8px; }
.tile-more .pk-pop { left: auto; right: 0; width: min(360px, 92vw); }
.pk-head { display: none; }
.pk-qw { position: relative; margin-bottom: 6px; }
.pk-qi { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; width: 18px; height: 18px; }
.pk-q { padding-left: 38px; min-height: 44px; }
.pk-list { list-style: none; margin: 0; padding: 0; max-height: 340px; overflow-y: auto; overscroll-behavior: contain; }
.pk-opt { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; cursor: pointer; min-height: 48px; }
.pk-opt.act, .pk-opt:hover { background: var(--sunk); }
.pk-opt[aria-selected="true"] { background: var(--blue-50); box-shadow: inset 3px 0 0 var(--blue); }
.pk-none { padding: 14px; color: var(--muted); font-size: .9rem; }
.opt-name { font-weight: 650; min-width: 0; }
.opt-n { margin-left: auto; font-size: .76rem; font-weight: 700; color: var(--muted); background: var(--sunk); border-radius: 999px; padding: 1px 8px; }
.opt-id { font-size: .76rem; font-weight: 700; color: var(--muted); flex: none; }
.cat-ic { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--blue-50); color: var(--blue); flex: none; }
.cat-ic .ic { width: 18px; height: 18px; }
.opt-svc { flex: 1; min-width: 0; display: flex; align-items: flex-start; gap: 10px; }
.sv-main { flex: 1; min-width: 0; display: grid; gap: 4px; }
.sv-top { display: flex; gap: 6px; align-items: baseline; min-width: 0; }
.sv-top .opt-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-cat { font-size: .76rem; color: var(--muted); }
.sv-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.opt-price { flex: none; display: grid; justify-items: end; line-height: 1.15; }
.opt-price b { font-size: 1rem; color: var(--blue); font-weight: 800; }
.opt-price small { font-size: .7rem; color: var(--muted); }
.svc-btn .pk-val .sv-tags { display: none; }
.svc-btn { border-color: var(--blue-100); }

/* thông số ngay dưới service */
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.spec:empty { display: none; }
.sp { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 12px; background: var(--sunk); border: 1px solid var(--line); min-width: 0; }
.sp .ic { color: var(--blue); width: 18px; height: 18px; }
.sp span { display: grid; min-width: 0; line-height: 1.25; }
.sp small { font-size: .72rem; color: var(--muted); }
.sp b { font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* link + số lượng + tổng tiền */
#fields { display: grid; gap: 16px; }
#fields:empty { display: none; }
.in-ic { position: relative; }
.in-ic > .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.in-ic .input { padding-left: 44px; }
.buy { display: grid; gap: 14px; }
.qslot:empty { display: none; }
.stepper { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: var(--surface); }
.stepper:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 14%, transparent); }
.stepper .input { border: 0; border-radius: 0; text-align: center; font-weight: 750; font-size: 1.05rem; box-shadow: none; min-height: 50px; }
.st-b { border: 0; background: var(--sunk); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.st-b:hover { background: var(--blue-50); color: var(--blue); }
.paybar { display: grid; gap: 10px; }
.total-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: var(--r-m); background: var(--blue-50); border: 1px solid var(--blue-100); }
.total-box > div { display: grid; min-width: 0; }
.tb-l { font-weight: 750; font-size: .95rem; }
#tsub { font-size: .76rem; color: var(--muted); }
#tbig { font-size: 1.55rem; font-weight: 800; color: var(--blue); white-space: nowrap; letter-spacing: -.02em; }
.pick-first { padding: 4px 2px; }

/* chi tiết dịch vụ (cột phải; điện thoại = gập lại) */
.sd { padding: 0; overflow: hidden; }
.sd > summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 14px 16px; cursor: pointer; }
.sd > summary::-webkit-details-marker { display: none; }
.sd > summary h2 { font-size: 1.02rem; }
.sd-tg { margin-left: auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--sunk); }
.sd[open] .sd-chev { transform: rotate(180deg); }
.sd > :not(summary) { margin-left: 16px; margin-right: 16px; }
.sd > :last-child { margin-bottom: 16px; }
.sd > p.muted { padding: 16px 0; }
.sd-id { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: var(--r-m); background: var(--sunk); border: 1px solid var(--line); }
.sd-id .pf { width: 44px; height: 44px; border-radius: 12px; }
.sd-id b { display: block; font-size: .95rem; line-height: 1.3; }
.sd-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.sd-rows { margin: 10px 16px 0; display: grid; }
.sd-rows > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.sd-rows > div:last-child { border-bottom: 0; }
.sd-rows dt { display: flex; align-items: center; gap: 9px; color: var(--muted); }
.sd-rows dt .ic { width: 18px; height: 18px; color: var(--blue); }
.sd-rows dd { margin: 0; font-weight: 700; text-align: right; }
.about { font-size: .86rem; color: var(--ink-2); background: var(--sunk); border-radius: 10px; padding: 10px 12px; margin-top: 10px; }
.tips { margin-top: 10px; padding-left: 18px; font-size: .82rem; color: var(--muted); display: grid; gap: 4px; }
.pk-sum { margin-top: 2px; }
.rel { padding: 14px 10px 10px; }
.rel-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 0 6px 8px; }
.rel-h .muted { font-size: .8rem; }
.cmp { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.cmp-row { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 12px; border: 1px solid transparent; background: none; cursor: pointer; text-align: left; }
.cmp-row:hover { background: var(--sunk); }
.cmp-row.on { background: var(--blue-50); border-color: var(--blue-100); }
.cmp-m { display: grid; min-width: 0; flex: 1; }
.cmp-m b { font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmp-m small { font-size: .75rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmp-p { display: grid; justify-items: end; line-height: 1.15; flex: none; }
.cmp-p b { color: var(--blue); font-size: .92rem; }
.cmp-p small { font-size: .68rem; color: var(--muted); }
.cmp-go { color: var(--muted); width: 18px; height: 18px; }
.help-card { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.help-card .hc-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue-50); color: var(--blue); }
.help-card p { color: var(--muted); font-size: .86rem; }
.help-card .btn { grid-column: 1 / -1; }

/* Sulit (đang tắt) */
.sulit-pf { display: flex; gap: 8px; overflow-x: auto; }
.sulit-pf button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; }
.sulit-pf button[aria-selected="true"] { border-color: var(--blue); background: var(--blue-50); }
.sulit-grid { display: grid; gap: 12px; margin-top: 12px; }
.sulit-card { border: 1px solid var(--line); border-radius: var(--r-m); padding: 12px; }
.sulit-tiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 8px; }
.tier-btn { display: grid; gap: 2px; padding: 10px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; }
.tier-btn.on { border-color: var(--blue); background: var(--blue-50); }
.tq { font-weight: 800; } .tp { color: var(--blue); font-weight: 700; } .to { color: var(--muted); font-size: .78rem; }

/* ---------------------------------------------------------------- hộp xác nhận */
dialog { border: 0; padding: 0; border-radius: var(--r-l); width: min(480px, calc(100vw - 24px)); background: var(--surface); color: var(--ink); box-shadow: var(--sh-2); }
dialog::backdrop { background: rgba(9, 17, 38, .5); }
.dlg { padding: 18px; display: grid; gap: 14px; }
.dlg-head { display: flex; justify-content: space-between; align-items: center; }
.kv { margin: 0; display: grid; gap: 0; }
.kv > div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 650; text-align: right; overflow-wrap: anywhere; }
.kv .grand dd { font-size: 1.15rem; color: var(--blue); font-weight: 800; }
.dlg-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.dlg-actions .btn { flex: 1 1 140px; }

/* ---------------------------------------------------------------- các trang khác */
.page-head { margin-bottom: 14px; }
.page-head h1 { font-size: 1.4rem; }
.row-between { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.cols { display: grid; gap: 14px; }
.toolbar { margin-bottom: 12px; }
.toolbar .seg { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; margin: 0; }
.toolbar .chip { flex: none; }
.ocards { display: grid; gap: 10px; }
.ocard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 14px; box-shadow: var(--sh-1); display: grid; gap: 8px; min-width: 0; }
.ocard .lnk { font-size: .82rem; color: var(--muted); overflow-wrap: anywhere; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .82rem; color: var(--muted); }
.facts b { color: var(--ink); }
.progress { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--blue); border-radius: 99px; }
.slow-note { font-size: .84rem; background: var(--warn-bg); color: var(--warn); border-radius: 10px; padding: 8px 10px; }
.acts { display: flex; gap: 8px; flex-wrap: wrap; }
.more-btn { justify-self: center; background: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 16px; cursor: pointer; font-weight: 650; }
.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 750; white-space: nowrap; background: var(--sunk); color: var(--ink-2); }
.b-completed, .b-approved { background: var(--ok-bg); color: var(--ok); }
.b-in_progress, .b-submitted, .b-processing, .b-queued, .b-pending { background: var(--blue-50); color: var(--blue); }
.b-partial { background: var(--warn-bg); color: var(--warn); }
.b-canceled, .b-failed, .b-rejected { background: var(--bad-bg); color: var(--bad); }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.list li:last-child { border-bottom: 0; }
.list small { color: var(--muted); }
.ta-r { text-align: right; }
.amt.plus { color: var(--ok); font-weight: 750; } .amt.minus { color: var(--ink); font-weight: 750; }
.big-num { font-size: 2rem; font-weight: 800; color: var(--blue); letter-spacing: -.02em; }
.empty { text-align: center; padding: 30px 18px; display: grid; gap: 8px; justify-items: center; }
.empty p { color: var(--muted); }
.switch { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: var(--sunk); border-radius: 12px; border: 1px solid var(--line); }
.switch button { border: 0; background: none; padding: 10px; border-radius: 9px; font-weight: 700; cursor: pointer; color: var(--muted); }
.switch button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); }
.auth { max-width: 460px; margin: 8px auto; padding: 22px 18px; }
.auth-logo { height: 40px; width: auto; margin: 0 auto 10px; }
.auth h1 { text-align: center; }
.auth > .lede { text-align: center; }
.prose { max-width: 820px; }
.prose h2 { margin-top: 20px; }
.prose p, .prose ul { margin-top: 8px; color: var(--ink-2); }
.prose ul { padding-left: 20px; display: grid; gap: 4px; }
.foot-note { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; margin-top: 22px; font-size: .78rem; color: var(--muted); text-align: center; }
.foot-note a { color: var(--blue); font-weight: 650; }

/* nạp tiền: giống trang thanh toán web shop */
.tu-grid { display: grid; gap: 14px; }
.tu-main, .tu-side { display: grid; gap: 12px; align-content: start; min-width: 0; }
.tu-bal { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tu-bal b { font-size: 1.3rem; color: var(--blue); }
.pay { display: grid; gap: 14px; }
.pay-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pay-top p { color: var(--muted); font-size: .86rem; margin-top: 2px; }
.pay-price { font-size: 1.5rem; font-weight: 800; color: var(--blue); white-space: nowrap; }
.pay-scan { text-align: center; font-size: 1.02rem; margin-top: 4px; }
.pay-qrbox { display: grid; place-items: center; padding: 14px; border-radius: var(--r-l); border: 1px solid var(--line); background: #fff; width: min(272px, 100%); margin: 8px auto 0; }
.pay-qrbox .qr { width: 100%; height: auto; image-rendering: pixelated; }
.pay-save { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 10px auto 0; background: none; border: 1px solid var(--blue-100); color: var(--blue); border-radius: 999px; padding: 8px 16px; font-weight: 700; cursor: pointer; }
.pay-save .dl { transform: rotate(90deg); width: 18px; height: 18px; }
.pay-same, .pay-apps { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 6px; }
.pay-apps { font-weight: 700; color: var(--ink-2); }
.pay-exact, .pay-acct { text-align: center; font-size: .92rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 8px; margin-top: 8px; }
.pay-secure { background: var(--sunk); border: 1px solid var(--line); border-radius: var(--r-m); padding: 12px 14px; font-size: .85rem; color: var(--ink-2); }
.ps-h { display: flex; align-items: center; gap: 7px; font-weight: 750; color: var(--ink); margin-bottom: 4px; }
.ps-h svg { color: var(--blue); }
.paidbtn { letter-spacing: .02em; }
.paidhint { text-align: center; font-size: .8rem; color: var(--muted); margin-top: -6px; }
.pay-h { font-size: 1.25rem; text-align: center; }
.pay-sub { text-align: center; color: var(--muted); font-size: .9rem; }
.upl { cursor: pointer; letter-spacing: .02em; }
.upl .up { transform: rotate(-90deg); }
.upl.busy { opacity: .6; pointer-events: none; }
.rc-help { text-align: center; }
.where { border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); }
.where > summary { padding: 12px 14px; cursor: pointer; font-weight: 700; font-size: .9rem; color: var(--blue); }
.where > :not(summary) { margin: 0 14px 14px; }
.where ul { padding-left: 18px; font-size: .85rem; color: var(--ink-2); display: grid; gap: 4px; }
.payref { display: grid; gap: 4px; }
.payref .btn { margin-top: 8px; }
.pay-back { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .84rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; flex-wrap: wrap; }
.wait { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--blue-50); font-size: .88rem; }
.spin { width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--blue-100); border-top-color: var(--blue); animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 2s; } }
.vf-spin { display: grid; place-items: center; }
.vf-spin .spin { width: 48px; height: 48px; border-width: 5px; }
.vf-note { text-align: center; font-size: .82rem; color: var(--muted); }
.vf-ref { text-align: center; font-size: .9rem; background: var(--sunk); border-radius: 12px; padding: 10px; overflow-wrap: anywhere; }
.vf-ok { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; background: var(--ok-bg); color: var(--ok); }
.vf-ok .ic { width: 34px; height: 34px; stroke-width: 2.6; }
.verified .pay-sub b { color: var(--ink); font-size: 1.05rem; }
.rc-pick { display: grid; gap: 8px; }
.rc-cand { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: center; }
.rc-cand small { grid-column: 2; color: var(--muted); font-size: .76rem; }
.rcpt { margin: 0 0 10px; border: 1px dashed var(--line-2); border-radius: 12px; padding: 10px 12px; font-size: .8rem; }
.rcpt figcaption { font-size: .72rem; color: var(--muted); margin-bottom: 6px; }
.rc-top { display: flex; align-items: center; gap: 8px; justify-content: space-between; font-weight: 700; }
.rc-ok { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); }
.rcpt dl { margin: 8px 0 0; display: grid; gap: 4px; }
.rcpt dl > div { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; }
.rcpt dt { color: var(--muted); } .rcpt dd { margin: 0; text-align: right; }
.rcpt .hl, .rcpt .hl2 { background: var(--blue-50); border-radius: 8px; padding: 4px 6px; }
.rcpt em { grid-column: 1 / -1; font-style: normal; color: var(--blue); font-weight: 700; font-size: .72rem; }

/* hỗ trợ */
.sup-grid { display: grid; gap: 14px; }
.ch-list { display: grid; gap: 8px; margin: 12px 0; }
.ch { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-m); text-decoration: none; }
.ch:hover { border-color: var(--blue-100); background: var(--blue-50); }
.ch small { display: block; color: var(--muted); font-size: .78rem; }
.sform { display: grid; gap: 12px; margin-top: 10px; }
.msg-prev { white-space: pre-wrap; font-size: .85rem; background: var(--sunk); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; color: var(--ink-2); }
.faq { display: grid; gap: 8px; margin-top: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-m); padding: 0 14px; }
.faq summary { padding: 12px 0; cursor: pointer; font-weight: 700; font-size: .9rem; }
.faq p { padding-bottom: 12px; font-size: .88rem; color: var(--ink-2); }
.rules-list { padding-left: 18px; display: grid; gap: 6px; font-size: .88rem; margin-top: 8px; }
.sup-grid h3 { margin-top: 18px; }
.demo-note { color: var(--warn); }

/* khung chờ tải */
.page-skel { display: grid; gap: 12px; }
.sk { background: linear-gradient(90deg, var(--line) 25%, var(--sunk) 50%, var(--line) 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 12px; }
@keyframes sk { to { background-position: -200% 0; } }
.sk-h { height: 30px; width: 55%; } .sk-p { height: 16px; width: 80%; } .sk-line { height: 64px; }
.sk-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; } .sk-tile { height: 80px; }
.toast { position: fixed; z-index: 70; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--surface); padding: 12px 16px; border-radius: 12px; font-weight: 650; font-size: .9rem; max-width: calc(100vw - 32px); box-shadow: var(--sh-2); transition: .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.noscript { padding: 20px; text-align: center; }

/* ---------------------------------------------------------------- điện thoại: ô chọn = bảng trượt, thanh tổng tiền dính đáy */
@media (max-width: 639px) {
  .pk-pop, .tile-more .pk-pop {
    position: fixed; z-index: 60; left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 78vh; display: flex; flex-direction: column;
    border-radius: 20px 20px 0 0; padding: 8px 12px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 0 0 100vmax rgba(9, 17, 38, .45), var(--sh-2);
  }
  .pk-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 2px 8px; }
  .pk-head b { font-size: 1rem; }
  .pk-head::before { content: ''; position: absolute; left: 50%; top: 6px; width: 40px; height: 4px; border-radius: 99px; background: var(--line-2); transform: translateX(-50%); }
  .pk-list { max-height: none; flex: 1; }
  body.pk-open { overflow: hidden; }
  .buy { display: contents; }   /* thanh tổng tiền dính đáy theo CẢ form, không chỉ trong khung .buy */
  .paybar { position: sticky; bottom: 0; z-index: 15; margin: 0 -16px -16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 96%, transparent);
    border-top: 1px solid var(--line); border-radius: 0 0 var(--r-l) var(--r-l); backdrop-filter: blur(8px); }
  .oform:has(input:focus, textarea:focus) .paybar { position: static; }   /* đang gõ (bàn phím mở) → không dính đáy, không che ô nhập */
  .total-box { padding: 8px 12px; }
  #tbig { font-size: 1.3rem; }
  .sv-tags .pill:nth-child(n+4) { display: none; }
  .aud-card { flex-direction: column; align-items: flex-start; padding: 12px; gap: 8px; }
  .aud-tx b { overflow-wrap: anywhere; }
  .aud-ic { width: 38px; height: 38px; }
  .aud-ck { top: 6px; right: 6px; width: 20px; height: 20px; }
  .aud-tx b { font-size: .95rem; }
  .paybar .btn.lg { min-height: 48px; font-size: .95rem; }
}
@media (max-width: 359px) {
  :root { --pad: 12px; }
  .logo-full { height: 30px; }
  .wallet-btn { padding: 0 10px; font-size: .85rem; }
  .tile { min-height: 70px; font-size: .72rem; }
  .paybar { margin: 0 -12px -12px; }
  .oform { padding: 12px; }
}

/* ---------------------------------------------------------------- màn rộng */
@media (min-width: 560px) {
  .tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .aud-tx small { display: block; }
  .spec { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .st-bar em { display: inline; margin-right: 4px; }
  .aud.aud-3 { grid-template-columns: repeat(3, 1fr); }
  .aud.aud-3 .aud-card:first-child { grid-column: auto; }
}
@media (min-width: 640px) {
  :root { --pad: 22px; --top-h: 68px; }
  .logo-full { height: 42px; }
  main { padding-top: 22px; }
  .oform { padding: 22px; gap: 22px; }
  .add-funds { display: inline-flex !important; }
  .add-funds[hidden] { display: none !important; }
  .buy { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
  .paybar { display: contents; }
  .paybar .total-box { grid-column: 2; grid-row: 1; min-height: 52px; }
  .paybar .btn { grid-column: 1 / -1; }
  .buy.no-q .paybar .total-box { grid-column: 1 / -1; }
  .buy:not(.no-q) .total-box { margin-bottom: 26px; }
  .cols { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
  .sup-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .panel { padding: 20px; }
  .rel, .sd { padding: 0; }
  .rel { padding: 14px 10px 10px; }
  .page-head h1 { font-size: 1.65rem; }
  .blk-h1 { font-size: 1.5rem; }
  .auth { padding: 28px; }
}
@media (min-width: 900px) {
  .menu-btn { display: none; }
  .top { gap: 22px; }
  .top-nav { display: flex; gap: 4px; margin-left: 18px; height: 100%; }
  .top-nav a { display: flex; align-items: center; padding: 0 12px; text-decoration: none; font-weight: 650; color: var(--ink-2); border-bottom: 2.5px solid transparent; margin-bottom: -1px; }
  .top-nav a:hover { color: var(--blue); }
  .top-nav a.on { color: var(--blue); border-bottom-color: var(--blue); }
  .me-btn { display: inline-flex !important; align-items: center; gap: 10px; text-decoration: none; padding: 4px 8px 4px 4px; border-radius: 14px; }
  .me-btn[hidden] { display: none !important; }
  .me-btn:hover { background: var(--sunk); }
  .avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--blue-50); color: var(--blue); font-weight: 800; border: 1px solid var(--blue-100); }
  .me-txt { display: grid; line-height: 1.2; max-width: 160px; }
  .me-txt b { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .me-txt small { font-size: .74rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .me-chev { width: 16px; height: 16px; color: var(--muted); }
  .wallet-btn { height: 44px; padding: 0 16px; }
  .add-funds { min-height: 44px; padding: 0 16px; border-radius: 12px; }
  .order-page { grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); align-items: start; gap: 18px; }
  .order-side { position: sticky; top: calc(var(--top-h) + 18px); }
  .sd > summary { pointer-events: none; padding-bottom: 8px; }
  .sd-tg { display: none; }
  .tu-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); align-items: start; }
  .tu-side { position: sticky; top: calc(var(--top-h) + 18px); }
  .tu-main .pay { padding: 26px; }
}
@media (min-width: 1280px) {
  .shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: 4px; }
  .side { position: sticky; top: var(--top-h); z-index: 1; height: calc(100vh - var(--top-h)); width: auto; transform: none; border-right: 0; background: transparent; padding: 22px 0 22px 22px; box-shadow: none; }
  .side-head { display: none; }
  .side-nav { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 10px; box-shadow: var(--sh-1); }
  .side-card { margin-top: 0; }
  .scrim { display: none !important; }
  main { padding: 22px 26px 40px 18px; }
  .order-page { grid-template-columns: minmax(0, 1fr) 372px; }
}

/* V192: trang team tự xem số liệu */
.team-page { display: grid; gap: 14px; min-width: 0; }
.team-page .page-head { align-items: flex-end; flex-wrap: wrap; gap: 10px; margin: 0; }
.tm-month { min-width: 180px; }
.tkpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tk { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 12px 14px; box-shadow: var(--sh-1); display: grid; gap: 2px; min-width: 0; }
.tk span { font-size: .78rem; color: var(--muted); font-weight: 650; }
.tk b { font-size: 1.3rem; color: var(--ink); letter-spacing: -.01em; overflow-wrap: anywhere; }
.tk:nth-child(2) b { color: var(--blue); }
.tk small { font-size: .74rem; color: var(--muted); }
.tw-wrap { overflow-x: auto; margin: 0 -4px; }
.tt { width: 100%; border-collapse: collapse; font-size: .88rem; }
.tt th { text-align: left; font-size: .74rem; color: var(--muted); font-weight: 700; padding: 6px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tt td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tt td.num, .tt th:not(:first-child) { text-align: right; }
.tt tr.off td { opacity: .55; }
.tl { display: flex; align-items: center; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
.tl code { font-size: .76rem; color: var(--muted); overflow-wrap: anywhere; }
.tm-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (max-width: 639px) {
  .tt thead { display: none; }
  .tt, .tt tbody, .tt tr, .tt td { display: block; width: 100%; }
  .tt tr { border-bottom: 1px solid var(--line); padding: 8px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 8px; }
  .tt td { border: 0; padding: 2px 0; text-align: left !important; }
  .tt td:first-child { grid-column: 1 / -1; }
  .tt td.num::before { content: attr(data-l); display: block; font-size: .7rem; color: var(--muted); }
}
@media (min-width: 900px) {
  .tkpis { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .tm-cols { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
}

/* V194: trang giới thiệu (khách chưa đăng nhập) */
.land { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0; }
.land-inv { display: flex; gap: 10px; align-items: center; }
.land-inv .ic { width: 20px; height: 20px; color: var(--blue); flex: none; }
.hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 24px 18px; border-radius: var(--r-l); color: #fff;
  background: radial-gradient(120% 90% at 100% 0%, #3b7bff 0%, transparent 55%), linear-gradient(155deg, #0f2a66 0%, #1f5fe0 100%); box-shadow: var(--sh-2); }
.hero::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 211, 77, .18); pointer-events: none; }
.hero-tx { position: relative; z-index: 1; display: grid; gap: 12px; min-width: 0; }
.hero-k { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .02em; color: #cfe0ff; }
.hero-k .flag { width: 22px; height: 11px; border-radius: 2px; }
.hero h1 { margin: 0; color: #fff; font-size: clamp(1.55rem, 5.4vw, 2.45rem); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; max-width: 20ch; }
.hero-sub { margin: 0; color: #dbe7ff; font-size: 1rem; line-height: 1.5; max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-cta .btn { flex: 1 1 210px; }
.hero .btn { background: #fff; color: #133a96; border-color: #fff; box-shadow: 0 8px 22px rgba(4, 16, 48, .3); }
.hero .btn:hover { background: #eef4ff; }
.hero .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); box-shadow: none; }
.hero .btn.ghost:hover { background: rgba(255, 255, 255, .1); }
.hero-chips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); font-size: .8rem; font-weight: 650; }
.hero-chips .ic { width: 16px; height: 16px; color: #ffd34d; }
.hero-card { position: relative; z-index: 1; display: none; align-self: center; gap: 10px; padding: 14px; border-radius: var(--r-l); background: rgba(255, 255, 255, .96); color: var(--ink);
  box-shadow: 0 18px 50px rgba(4, 16, 48, .35); transform: rotate(-1.5deg); }
.hc-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; background: #f4f7fc; }
.hc-row b { display: block; font-size: .9rem; color: #0d1b3e; }
.hc-row small { color: #5b6b8c; font-size: .76rem; }
.hc-n { font-weight: 800; color: #1f5fe0; font-size: .92rem; }
.hc-n.ok .ic { width: 22px; height: 22px; color: #12965a; }
.hc-foot { margin: 2px 0 0; font-size: .7rem; color: #7d8aa6; text-align: center; }
.land-sec { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; min-width: 0; }
.ls-head h2 { margin: 0; font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; }
.ls-head p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.how-i { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 2px; align-items: start; padding: 14px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-1); }
.how-n { position: absolute; top: 10px; right: 12px; font-size: 1.6rem; font-weight: 800; color: var(--blue-100); line-height: 1; }
.how-ic { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue); }
.how-ic .ic { width: 22px; height: 22px; }
.how-i h3 { margin: 2px 0 0; font-size: 1rem; font-weight: 750; padding-right: 26px; }
.how-i p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.ls-cta { margin: 0; }
.ls-cta .btn .ic { width: 18px; height: 18px; }
.deals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.deal { display: grid; gap: 10px; align-content: start; text-align: left; padding: 12px; border-radius: var(--r-l); border: 1px solid var(--line); background: var(--surface);
  box-shadow: var(--sh-1); cursor: pointer; color: var(--ink); font: inherit; min-width: 0; transition: border-color .15s, transform .15s; }
.deal:hover { border-color: var(--blue); transform: translateY(-1px); }
.deal-top { display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; }
.deal-t { display: grid; min-width: 0; flex: 1 1 90px; }
.deal-t b { font-size: .9rem; line-height: 1.25; }
.deal-t small { color: var(--muted); font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deal-p { display: grid; }
.deal-p small { color: var(--muted); font-size: .74rem; }
.deal-p b { font-size: 1.35rem; font-weight: 800; color: var(--blue); letter-spacing: -.01em; line-height: 1.15; }
.deal-go { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: .84rem; color: var(--blue); }
.deal-go .ic { width: 16px; height: 16px; }
.ls-more { margin: 0; }
.ls-more a { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--blue); text-decoration: none; }
.ls-more .ic { width: 16px; height: 16px; }
.why { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.why-i { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); }
.why-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blue-50); color: var(--blue); }
.why-ic .ic { width: 20px; height: 20px; }
.why-ic .flag { width: 24px; height: 12px; border-radius: 2px; }
.why-i h3 { margin: 0; font-size: .95rem; font-weight: 750; }
.why-i p { margin: 2px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.fb-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 78%); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; overscroll-behavior-x: contain; }
.fb-i { scroll-snap-align: start; padding: 0; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; background: #eef3fb; cursor: zoom-in; aspect-ratio: 4 / 3; }
.fb-i img { width: 100%; height: 100%; object-fit: contain; display: block; }
.fb-dlg { width: min(860px, calc(100vw - 16px)); background: transparent; box-shadow: none; }
.fb-dlg::backdrop { background: rgba(5, 10, 24, .82); }
.fb-box { display: grid; gap: 8px; }
.fb-box img { width: 100%; height: auto; max-height: 78vh; object-fit: contain; border-radius: var(--r-m); background: #fff; }
.fb-bar { display: flex; align-items: center; justify-content: center; gap: 12px; color: #fff; font-weight: 700; }
.fb-bar .icon-btn { background: rgba(255, 255, 255, .14); color: #fff; border-color: transparent; }
.ic.flip { transform: scaleX(-1); }
.faq-l { display: grid; gap: 8px; }
.faq-i { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 0 14px; }
.faq-i summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 0; cursor: pointer; font-weight: 700; font-size: .94rem; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary .ic { width: 18px; height: 18px; color: var(--muted); flex: none; transition: transform .2s; }
.faq-i[open] summary .ic { transform: rotate(180deg); }
.faq-i p { margin: 0 0 13px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.land-end { display: grid; gap: 12px; justify-items: center; text-align: center; padding: 22px 16px; border-radius: var(--r-l); background: var(--blue-50); border: 1px solid var(--blue-100); }
.land-end h2 { margin: 0; font-size: 1.2rem; font-weight: 800; }
.land-end .hero-cta { width: 100%; max-width: 520px; }
@media (min-width: 560px) {
  .how { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fb-row { grid-auto-columns: minmax(220px, 46%); }
}
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); padding: 36px 32px; }
  .hero-card { display: grid; }
  .how { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .how-i { grid-template-columns: minmax(0, 1fr); }
  .how-ic { grid-row: auto; margin-bottom: 6px; }
  .deals { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .why { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fb-row { grid-auto-columns: minmax(240px, 31%); }
}
.fb-wrap { position: relative; }
.fb-nav { display: none; position: absolute; top: calc(50% - 22px); z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); box-shadow: var(--sh-2); }
.fb-nav.prev { left: -14px; } .fb-nav.next { right: -14px; }
@media (min-width: 900px) and (hover: hover) { .fb-nav { display: grid; place-items: center; } }

/* ---------------------------------------------------------------- V199 (02/11): gói theo refill + bảng so sánh */
.tier { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 7px; font-size: .72rem; font-weight: 800; letter-spacing: .01em; white-space: nowrap; line-height: 1.5;
  background: var(--sunk); color: var(--ink-2); border: 1px solid var(--line-2); }
.tier.t-rf { background: var(--blue-50); color: var(--blue); border-color: var(--blue-100); }
.tier.t-pr { background: #fff4d6; color: #7a4f00; border-color: #f3dc9b; }
.sec-pill { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px; font-size: .72rem; font-weight: 750; white-space: nowrap; vertical-align: 1px;
  background: var(--sunk); color: var(--muted); border: 1px solid var(--line); }
.sec-pill.s-rf { background: var(--blue-50); color: var(--blue); border-color: var(--blue-100); }
.sec-pill.s-pr { background: #fff4d6; color: #7a4f00; border-color: #f3dc9b; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tier.t-pr, :root:not([data-theme="light"]) .sec-pill.s-pr { background: #3a2a08; color: #ffd27a; border-color: #5c4413; } }
:root[data-theme="dark"] .tier.t-pr, :root[data-theme="dark"] .sec-pill.s-pr { background: #3a2a08; color: #ffd27a; border-color: #5c4413; }
.ic-s { width: 13px; height: 13px; flex: none; }
/* dòng gói trong ô chọn: tên xuống dòng được, đủ thông số */
.opt-svc.tiered .opt-name { white-space: normal; overflow: visible; line-height: 1.3; }
.opt-svc.tiered .sv-top { align-items: center; flex-wrap: wrap; }
.sv-attrs { display: flex; flex-wrap: wrap; gap: 4px 5px; margin-top: 2px; }
.at { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 7px; font-size: .72rem; font-weight: 650; color: var(--ink-2); background: var(--sunk); border: 1px solid var(--line); white-space: nowrap; line-height: 1.45; }
.at .ic-s { color: var(--muted); }
.at-good, .at-rf { color: var(--ok); background: var(--ok-bg); border-color: transparent; }
.at-good .ic-s, .at-rf .ic-s { color: var(--ok); }
.at-no { color: var(--muted); }
.svc-btn .pk-val .sv-attrs { display: none; }
.svc-btn .pk-val .opt-svc.tiered .opt-name { font-size: .95rem; }
/* 6 ô thông số */
.spec.spec6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sp.sp-ok .ic { color: var(--ok); }
.sp.sp-ok b { color: var(--ok); }
.spec6 .sp b { white-space: normal; }
@media (min-width: 640px) { .spec.spec6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* bảng so sánh */
#cmpx:empty { display: none; }
.cmpx { margin-top: 12px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); overflow: hidden; }
.cmpx > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; cursor: pointer; background: var(--sunk); }
.cmpx > summary::-webkit-details-marker { display: none; }
.cmpx > summary > span { display: grid; gap: 2px; }
.cmpx > summary b { font-size: .95rem; }
.cmpx > summary small { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.cmpx[open] > summary .sd-chev { transform: rotate(180deg); }
.cmpx .hint { margin: 0; padding: 10px 14px 12px; }
.cx-wrap { overflow-x: auto; }
.cx { width: 100%; border-collapse: collapse; font-size: .84rem; }
.cx thead th { text-align: left; font-size: .72rem; font-weight: 750; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.cx td, .cx tbody th { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 600; color: var(--ink-2); }
.cx .cx-p { text-align: right; white-space: nowrap; }
.cx td.cx-p b { color: var(--blue); font-size: .95rem; font-weight: 800; display: block; }
.cx td.cx-p small { color: var(--muted); font-size: .7rem; }
.cx-sec th { padding: 10px 10px 6px; border-bottom: 0; background: var(--surface); }
.cx-row { cursor: pointer; }
.cx-row:hover td, .cx-row:hover th { background: var(--sunk); }
.cx-row.on td, .cx-row.on th { background: var(--blue-50); }
.cx-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.cx-id { font-size: .74rem; color: var(--muted); font-weight: 700; }
.cx-on { display: inline-flex; align-items: center; gap: 3px; font-size: .72rem; color: var(--blue); font-weight: 800; }
.cx-plus { display: flex; flex-wrap: wrap; gap: 2px 8px; margin-top: 5px; font-size: .74rem; font-weight: 700; color: var(--ok); }
.dr-good, .rf-y { color: var(--ok); font-weight: 750; }
.dr-meh, .rf-n { color: var(--muted); }
/* điện thoại: mỗi gói thành 1 thẻ */
@media (max-width: 719px) {
  .cx thead { display: none; }
  .cx, .cx tbody { display: block; }
  .cx-sec { display: block; }
  .cx-sec th { display: block; padding: 12px 12px 4px; }
  .cx-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; padding: 11px 12px; margin: 6px 10px; border: 1px solid var(--line); border-radius: 12px; }
  .cx-row td, .cx-row th, .cx-row:hover td, .cx-row:hover th, .cx-row.on td, .cx-row.on th { background: none; }
  .cx-row:hover { background: var(--sunk); }
  .cx-row.on { background: var(--blue-50); border-color: var(--blue-100); }
  .cx .cx-row td, .cx tbody .cx-row th { display: block; padding: 0; border: 0; }
  .cx-row th { grid-column: 1 / -1; }
  .cx-row td::before { content: attr(data-l); display: block; font-size: .68rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
  .cx-row td.cx-p { grid-column: 1 / -1; text-align: left; display: flex; align-items: baseline; gap: 4px; border-top: 1px dashed var(--line); padding-top: 6px; }
  .cx-row td.cx-p::before { display: none; }
}
.spec.spec6 .sp-eta { grid-column: 1 / -1; background: var(--ok-bg); border-color: transparent; }
.sp-eta .ic, .sp-eta b { color: var(--ok); }

/* ---------------------------------------------------------------- V200 (03/11): khuyến mãi khai trương */
.notice-bar.promo-on { background: var(--ok-bg); color: var(--ok); border-bottom-color: color-mix(in srgb, var(--ok) 25%, transparent); }
.notice-bar.promo-on a { color: inherit; font-weight: 800; margin-left: 4px; text-underline-offset: 2px; }
#promo-box:empty { display: none; }
#promo-box { margin-bottom: 12px; }
.promo-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-l); background: var(--ok-bg); color: var(--ink); border: 1px solid color-mix(in srgb, var(--ok) 25%, transparent); }
.promo-card .pc-ic { font-size: 1.6rem; line-height: 1; }
.promo-card b { color: var(--ok); font-size: 1rem; }
.promo-card p { margin: 4px 0 0; color: var(--ink-2); font-size: .9rem; }
.promo-calc { margin: 8px 0 0; padding: 8px 10px; border-radius: 10px; background: var(--ok-bg); color: var(--ok); font-weight: 650; font-size: .88rem; }
.promo-calc b { font-weight: 800; }
.promo-calc.no { background: var(--sunk); color: var(--muted); font-weight: 600; }

/* 03/11 (giống web shop v80): hộp "Checking your payment" + ưu tiên ảnh bill */
html.vfm-lock, html.vfm-lock body { overflow: hidden; }
.vfm { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px max(16px, env(safe-area-inset-left, 0px)); background: rgba(8, 15, 35, .55); animation: vfmIn .18s ease; }
.vfm-box { width: 100%; max-width: 400px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px 22px 18px; text-align: center; box-shadow: var(--sh-2); outline: none; }
.vfm-ic { position: relative; width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; color: var(--blue); background: var(--blue-50); border: 2px solid var(--blue-100); }
.vfm-ic::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--blue); opacity: 0; animation: vfmRing 1.8s ease-out infinite; }
.vfm-box h2 { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; text-wrap: balance; }
.vfm-box p { color: var(--muted); font-size: .92rem; line-height: 1.5; }
.vfm-box p b { color: var(--ink); word-break: break-all; }
.vfm-bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; margin: 18px 0 10px; }
.vfm-bar i { display: block; height: 100%; width: 100%; background: var(--blue); border-radius: 3px; transform-origin: left; animation-name: vfmBar; animation-timing-function: linear; animation-fill-mode: both; }
.vfm-box .vfm-amt { font-weight: 700; color: var(--ink); font-size: .88rem; }
.vfm-box .vfm-note { font-size: .8rem; margin-top: 4px; }
.vfm-fix { margin-top: 14px; font-size: .88rem; min-height: 40px; }
@keyframes vfmBar { from { transform: scaleX(.02); } to { transform: scaleX(1); } }
@keyframes vfmRing { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.45); opacity: 0; } }
@keyframes vfmIn { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .vfm-ic::after { animation: none; } }
.rc-alt { text-align: center; margin-top: 6px; }
.rc-alt .linkish { font-size: .88rem; min-height: 40px; font-weight: 600; color: var(--muted); }
.rc-nudge { margin-top: 6px; padding: 14px; border-radius: var(--r-m); background: var(--sunk); border: 1px solid var(--line); display: grid; gap: 10px; }
.rc-nudge p { font-size: .88rem; color: var(--muted); line-height: 1.5; }
.rc-nudge p b { color: var(--ink); }
.rc-nudge .btn { cursor: pointer; }
.upl2 .up { transform: rotate(-90deg); }
.rc-man { margin-top: 12px; }
.ref2-h { margin-top: 10px; }
.rc-again { margin-top: 12px; }
