

@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("fonts/bvp-vietnamese-400.woff2") format("woff2");
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("fonts/bvp-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 500;
  font-display: swap; src: url("fonts/bvp-vietnamese-500.woff2") format("woff2");
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 500;
  font-display: swap; src: url("fonts/bvp-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 600;
  font-display: swap; src: url("fonts/bvp-vietnamese-600.woff2") format("woff2");
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 600;
  font-display: swap; src: url("fonts/bvp-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 700;
  font-display: swap; src: url("fonts/bvp-vietnamese-700.woff2") format("woff2");
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 700;
  font-display: swap; src: url("fonts/bvp-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --bg: #f6f7f9;
  --panel: #ffffff;
  --panel-2: #f1f3f6;
  --line: #e2e6ec;
  --ink: #15181d;
  --ink-2: #5b6472;
  --accent: #CF3A22;
  --accent-ink: #ffffff;
  --ok: #117a4a;
  --warn: #9a6400;
  --bad: #b42318;
  --seg-on: #ffffff;
  --radius: 10px;
  color-scheme: light;
}

:root[data-theme="dark"] {
    --bg: #0f1115;
    --panel: #161a20;
    --panel-2: #1d222a;
    --line: #272d37;
    --ink: #e7eaef;
    --ink-2: #99a3b2;
    --accent: #FF8A6B;
    --accent-ink: #0b0e13;
    --ok: #3ecf8e;
    --warn: #e0a33a;
    --bad: #ff7a6b;
    --seg-on: #2c333e;
    color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1115;
    --panel: #161a20;
    --panel-2: #1d222a;
    --line: #272d37;
    --ink: #e7eaef;
    --ink-2: #99a3b2;
    --accent: #FF8A6B;
    --accent-ink: #0b0e13;
    --ok: #3ecf8e;
    --warn: #e0a33a;
    --bad: #ff7a6b;
    --seg-on: #2c333e;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }

[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.55 "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }


header.top {
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  position: sticky; top: 0; z-index: 10;
}

header.top .wrap { display: flex; align-items: center; gap: 14px; min-height: 58px;
  flex-wrap: wrap; padding-block: 9px; }
.brand { font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: -0.01em; }
nav.main { display: flex; gap: 16px; margin-left: 4px; flex: 1 1 auto;
  overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
nav.main::-webkit-scrollbar { display: none; }
@media (max-width: 640px) {
  
  header.top .wrap { gap: 10px; }
  nav.main { order: 9; flex-basis: 100%; margin: 0; padding-bottom: 2px; }
  .brand { margin-right: auto; }
}
nav.main a { color: var(--ink-2); font-size: 14px; position: relative; padding: 2px 0; }
nav.main a:hover, nav.main a.on { color: var(--ink); text-decoration: none; }
nav.main a.on { font-weight: 600; }

nav.main a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px;
  border-radius: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: center; transition: transform .2s ease;
}
nav.main a:hover::after, nav.main a.on::after { transform: scaleX(1); }
@media (prefers-reduced-motion: no-preference) {
  nav.main a.on::after { animation: nav-underline .3s ease; }
}
@keyframes nav-underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.balance {
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 12px; font-size: 13px; font-variant-numeric: tabular-nums;
}


main { padding: 26px 0 56px; }
h1 { font-size: 24px; margin: 0 0 6px; letter-spacing: -0.02em; }
h2 { font-size: 17px; margin: 28px 0 10px; }
.sub { color: var(--ink-2); margin: 0 0 20px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px;
}
.grid { display: grid; gap: 12px; }
.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid.c4 { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.split { display: grid; gap: 18px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }


.tile { display: block; padding: 14px; border-radius: var(--radius); background: var(--panel);
  border: 1px solid var(--line); color: var(--ink); }
.tile:hover { border-color: var(--accent); text-decoration: none; }
.tile b { display: block; font-size: 15px; }
.tile span { color: var(--ink-2); font-size: 13px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.stat b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; }
.stat span { color: var(--ink-2); font-size: 13px; }


table { width: 100%; border-collapse: collapse; font-size: 14px; }
.scroll { overflow-x: auto; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink-2); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
tbody tr:hover { background: var(--panel-2); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }


label { display: block; font-size: 13px; color: var(--ink-2); margin: 12px 0 5px; }
input, select, textarea, button {
  font: inherit; color: var(--ink); background: var(--panel-2);
  border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
button, .btn {
  background: var(--accent); color: var(--accent-ink); border: 0; font-weight: 600;
  cursor: pointer; width: auto; padding: 10px 16px; display: inline-block; text-align: center;
  
  border-radius: 10px;
}
button:hover, .btn:hover { filter: brightness(1.08); text-decoration: none; }
button.ghost, .btn.ghost { background: var(--panel-2); color: var(--ink); border: 1px solid var(--line); }
button.small, .btn.small { padding: 6px 10px; font-size: 13px; border-radius: 8px; }
.row { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.row > * { flex: 1 1 160px; }
.row > button { flex: 0 0 auto; }
form.inline { display: flex; gap: 8px; align-items: center; }


.tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px;
  background: var(--panel-2); border: 1px solid var(--line); white-space: nowrap; }
.tag.ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, var(--line)); }
.tag.run { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.tag.warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 40%, var(--line)); }
.tag.bad { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 40%, var(--line)); }


.flash { padding: 11px 14px; border-radius: 8px; margin-bottom: 18px; font-size: 14px; }
.flash.ok { background: color-mix(in srgb, var(--ok) 14%, var(--panel)); color: var(--ok); }
.flash.err { background: color-mix(in srgb, var(--bad) 14%, var(--panel)); color: var(--bad); }
.flash.warn { background: color-mix(in srgb, var(--warn) 16%, var(--panel)); color: var(--warn);
  border: 1px solid color-mix(in srgb, var(--warn) 35%, var(--line)); }


.toasts { position: fixed; z-index: 60; top: 72px; right: 16px; display: flex;
  flex-direction: column; gap: 10px; max-width: min(92vw, 380px); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 12px 12px 14px; border-radius: 12px; background: var(--panel); color: var(--ink);
  border: 1px solid var(--line); border-left: 4px solid var(--accent);
  box-shadow: 0 10px 30px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.08);
  font-size: 14px; line-height: 1.45; animation: toast-in .28s cubic-bezier(.2,.9,.3,1.25); }
.toast-ok { border-left-color: var(--ok); }
.toast-err { border-left-color: var(--bad); }
.toast-ic { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; }
.toast-ok .toast-ic { color: var(--ok); }
.toast-err .toast-ic { color: var(--bad); }
.toast > span { flex: 1 1 auto; min-width: 0; word-break: break-word; }
.toast-x { flex: 0 0 auto; background: none; border: 0; color: var(--ink-2);
  font-size: 20px; line-height: 1; cursor: pointer; padding: 0 2px; }
.toast-x:hover { color: var(--ink); }
.toast.hide { animation: toast-out .24s ease forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateX(18px); } }
@media (max-width: 480px) { .toasts { left: 12px; right: 12px; top: 66px; max-width: none; } }
@media (prefers-reduced-motion: reduce) {
  .toast { animation: none; } .toast.hide { animation: none; opacity: 0; } }

.foot-brand { margin-bottom: 2px; }
.muted { color: var(--ink-2); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.price { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
footer { border-top: 1px solid var(--line); padding: 20px 0; color: var(--ink-2); font-size: 13px; }


.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand:hover { text-decoration: none; }
.mark { flex: 0 0 auto; border-radius: 8px; }
.wordmark { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.wordmark em { font-style: normal; color: var(--accent); }


.foot { display: grid; gap: 18px; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
@media (max-width: 700px) { .foot { grid-template-columns: 1fr; } }
.footnav { display: grid; gap: 6px; align-content: start; }
.footnav a { color: var(--ink-2); font-size: 13px; }
.footnav a:hover { color: var(--ink); }


.lead { font-size: 16px; line-height: 1.65; max-width: 62ch; }
ul.checks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
ul.checks li { padding-left: 26px; position: relative; }
ul.checks li::before { content: "↑"; position: absolute; left: 6px; color: var(--accent); font-weight: 700; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 10px 0 0; color: var(--ink-2); }
.crumb { font-size: 13px; color: var(--ink-2); margin-bottom: 10px; }
.crumb a { color: var(--ink-2); }
.crumb a:hover { color: var(--ink); }


td a:not(.btn) { color: var(--ink); }
td a:not(.btn):hover { color: var(--accent); }


.ic { width: 20px; height: 20px; flex: 0 0 auto; fill: currentColor; vertical-align: -4px; }
.ic-lg { width: 28px; height: 28px; }
.ic-xl { width: 34px; height: 34px; }

.p-tiktok { color: #111; } .p-facebook { color: #1877F2; } .p-youtube { color: #FF0000; }
.p-instagram { color: #E4405F; } .p-telegram { color: #26A5E4; } .p-twitter { color: #111; }
.p-shopee { color: #EE4D2D; } .p-spotify { color: #1DB954; } .p-discord { color: #5865F2; }
.p-twitch { color: #9146FF; } .p-linkedin { color: #0A66C2; } .p-soundcloud { color: #FF5500; }
.p-traffic { color: #0EA5E9; } .p-threads { color: #111; } .p-vote { color: #8B5CF6; }
.p-google { color: #EA4335; } .p-khac { color: var(--ink-2); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) :is(.p-tiktok, .p-twitter, .p-threads) { color: #e7eaef; }
}
:root[data-theme="dark"] :is(.p-tiktok, .p-twitter, .p-threads) { color: #e7eaef; }


.hero { padding: 26px 0 8px; }
.hero h1 { font-size: 32px; line-height: 1.2; max-width: 20ch; }
@media (max-width: 640px) { .hero h1 { font-size: 26px; } }
.hero .sub { font-size: 16px; max-width: 58ch; }
.hero form { display: flex; gap: 8px; max-width: 520px; margin: 18px 0 14px; }
.hero form input { flex: 1; }
.trust { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.trust span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px;
  color: var(--ink-2); background: var(--panel); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 13px; }
.trust .ic { width: 15px; height: 15px; color: var(--accent); }


.plat { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); }
.plat a { display: flex; align-items: center; gap: 11px; padding: 13px 14px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); transition: border-color .12s, transform .12s; }
.plat a:hover { border-color: var(--accent); transform: translateY(-1px); text-decoration: none; }
.plat b { display: block; font-size: 14px; line-height: 1.3; }
.plat span { color: var(--ink-2); font-size: 12px; }


.cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gcard { display: flex; flex-direction: column; gap: 8px; padding: 15px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); }
.gcard:hover { border-color: var(--accent); text-decoration: none; }
.gcard .top { display: flex; align-items: center; gap: 9px; }
.gcard b { font-size: 14.5px; line-height: 1.35; }
.gcard .foot { display: flex; justify-content: space-between; align-items: baseline;
  margin-top: auto; padding-top: 6px; }
.gcard .gia { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gcard .sl { color: var(--ink-2); font-size: 12px; }


@media (min-width: 900px) { .order-panel { position: sticky; top: 76px; } }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 7px; }
.chips button { background: var(--panel-2); color: var(--ink-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 11px; font-size: 12.5px; font-weight: 500; }
.chips button:hover { color: var(--ink); border-color: var(--accent); filter: none; }
.total-box { display: flex; justify-content: space-between; align-items: baseline;
  background: var(--panel-2); border-radius: 10px; padding: 11px 13px; margin: 14px 0 12px; }
.total-box b { font-size: 20px; font-variant-numeric: tabular-nums; }
button[disabled] { opacity: .6; cursor: progress; }


tr.dang-chon td { background: color-mix(in srgb, var(--accent) 7%, var(--panel)); }
tr.dang-chon td:first-child { box-shadow: inset 3px 0 0 var(--accent); }


.code-box { display: flex; align-items: center; gap: 10px; background: var(--panel-2);
  border: 1px dashed var(--line); border-radius: 10px; padding: 12px 14px; margin: 10px 0; }
.code-box .ma { font-family: ui-monospace, Menlo, monospace; font-size: 21px; font-weight: 700;
  letter-spacing: .12em; }


@media (max-width: 560px) {
  th, td { padding: 9px 8px; }
  .hero form { flex-direction: column; }
  .hero form button { width: 100%; }
}


@media (max-width: 560px) {
  .trust { gap: 7px; }
  .trust span { font-size: 12px; padding: 6px 10px; }
  .hero { padding-top: 18px; }
  .hero .sub { font-size: 15px; }
}


.legal { max-width: 74ch; }
.legal h2 { margin-top: 30px; font-size: 18px; }
.legal p { line-height: 1.75; }
.legal ul.checks li::before { content: "•"; }


@media (max-width: 899px) {
  .nhom-split { display: flex; flex-direction: column; }
  .nhom-split .order-panel { order: -1; }
}

.foot { grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, .85fr)); }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot { grid-template-columns: 1fr; } }
.footnav b { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }


.support { position: fixed; right: 16px; z-index: 40;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
.support > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center;
  gap: 8px; background: var(--accent); color: var(--accent-ink); border-radius: 999px;
  padding: 11px 16px; font-weight: 600; font-size: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.support > summary::-webkit-details-marker { display: none; }
.support > summary:hover { filter: brightness(1.08); }
.support[open] > summary { filter: brightness(.92); }
.support-menu { position: absolute; right: 0; bottom: 54px; min-width: 212px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(0,0,0,.16); padding: 6px; display: grid; gap: 2px; }
.support-menu a { display: flex; align-items: center; gap: 9px; padding: 10px 11px;
  border-radius: 8px; color: var(--ink); font-size: 14px; }
.support-menu a:hover { background: var(--panel-2); text-decoration: none; }
.p-zalo { color: #0068FF; }

@media (max-width: 560px) {
  .support > summary span { display: none; }
  .support > summary { padding: 13px; }
}


ul.checks.todo li::before { content: "☐"; color: var(--warn); font-weight: 400; }


.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px;
       overflow: hidden; margin: 2px 0 6px }
.seg button, .seg a { border: 0; background: var(--panel); color: var(--ink-2);
              padding: 5px 10px; font: inherit; font-size: .82rem; cursor: pointer;
              text-decoration: none; display: inline-block }
.seg button + button, .seg a + a { border-left: 1px solid var(--line) }
.seg button:hover, .seg a:hover { color: var(--ink) }
.seg button.on, .seg a.on { background: var(--accent); color: var(--accent-ink); font-weight: 600 }


.code-box .addr { word-break: break-all; font-size: .9rem; line-height: 1.4 }


.vi-dau { display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
          margin: 0 0 18px }


.canh-bao { border: 1px solid var(--warn); background: color-mix(in srgb, var(--warn) 8%, transparent);
            border-radius: var(--radius); padding: 10px 12px; margin: 12px 0;
            font-size: .88rem; line-height: 1.5 }
.canh-bao > b:first-child { display: block; margin-bottom: 2px }


.buoc { list-style: none; counter-reset: b; padding: 0; margin: 0 }
.buoc li { counter-increment: b; position: relative; padding: 0 0 16px 42px }
.buoc li::before { content: counter(b); position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%; background: var(--accent);
  color: var(--accent-ink); font-weight: 700; display: grid; place-items: center;
  font-size: .9rem }
.buoc li > b:first-child { display: block; margin-bottom: 4px }
.buoc li p { margin: 0 0 6px }


.seg-sm button, .seg-sm a { padding: 3px 8px; font-size: .78rem; min-width: 26px;
  text-align: center; }

.top-tog { display: inline-flex; align-items: center; padding: 3px;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 999px; }
.top-tog .seg { border: 0; margin: 0; overflow: visible; gap: 2px; border-radius: 0;
  background: transparent; }
.top-tog .seg + .seg { margin-left: 5px; padding-left: 5px; border-left: 1px solid var(--line); }
.top-tog .seg button, .top-tog .seg a { display: inline-grid; place-items: center;
  height: 26px; min-width: 30px; padding: 0 9px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink-2); font-size: 12.5px; font-weight: 600;
  line-height: 1; letter-spacing: .02em; }
.top-tog .seg button + button, .top-tog .seg a + a { border-left: 0; }
.top-tog .seg button:hover, .top-tog .seg a:hover { color: var(--ink); filter: none;
  text-decoration: none; }
.top-tog .seg .on { background: var(--seg-on); color: var(--ink);
  box-shadow: 0 1px 2px rgba(0,0,0,.10), 0 0 0 1px var(--line); }
.top-tog .seg.giao-dien button { min-width: 28px; padding: 0 7px; }
@media (max-width: 640px) {
  
  .top-tog { order: 2; }
}


.bottomnav { display: none; }
@media (max-width: 640px) {
  .bottomnav {
    display: flex; position: fixed; z-index: 50; left: 0; right: 0; bottom: 0;
    background: var(--panel); border-top: 1px solid var(--line);
    box-shadow: 0 -2px 14px rgba(0,0,0,.07);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .bnav-item {
    flex: 1 1 0; min-width: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 3px;
    padding: 8px 2px 7px; min-height: 54px; font-size: 10.5px; font-weight: 600;
    color: var(--ink-2); text-decoration: none; -webkit-tap-highlight-color: transparent;
  }
  .bnav-item span {
    line-height: 1; max-width: 100%; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
  }
  .bnav-ic { width: 23px; height: 23px; fill: currentColor; }
  .bnav-item.on { color: var(--accent); }
  .bnav-item:active { background: var(--panel-2); }
  
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
  
  header.top nav.main { display: none; }
  
  .support { bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
}


@media (max-width: 640px) {
  .rtable thead { display: none; }
  .rtable, .rtable tbody { display: block; }
  .rtable tr {
    display: flex; flex-direction: column;
    border: 1px solid var(--line); border-radius: 12px; background: var(--panel);
    padding: 11px 13px; margin-bottom: 10px;
  }
  .rtable tr:last-child { margin-bottom: 0; }
  .rtable tbody tr:hover { background: var(--panel); }
  .rtable td { display: block; padding: 2px 0; border: 0; white-space: normal; }
  
  .rtable td.rt-primary {
    order: -1; font-weight: 600; padding-bottom: 8px; margin-bottom: 4px;
    border-bottom: 1px solid var(--line);
  }
  
  .rtable td[data-label] {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 14px; padding: 6px 0; text-align: right;
  }
  .rtable td[data-label] ~ td[data-label] { border-top: 1px dashed var(--line); }
  .rtable td[data-label]::before {
    content: attr(data-label); flex: 0 0 auto; text-align: left;
    color: var(--ink-2); font-weight: 600; font-size: 12.5px;
    text-transform: none; letter-spacing: 0;
  }
}


.order-cta { display: none; }
@media (max-width: 640px) {
  .order-cta {
    display: flex; align-items: center; gap: 12px;
    position: fixed; left: 0; right: 0; z-index: 45;
    bottom: calc(55px + env(safe-area-inset-bottom, 0px));
    padding: 10px 14px; background: var(--panel);
    border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.08);
  }
  .order-cta-sum { flex: 1 1 auto; line-height: 1.15; }
  .order-cta-sum .muted { font-size: 12px; display: block; }
  .order-cta-sum b { font-size: 18px; }
  .order-cta .cta-btn { flex: 0 0 auto; margin: 0; padding: 12px 24px; font-size: 15px; }
  
  body:has(.order-cta) .order-panel .total-box,
  body:has(.order-cta) .order-panel .order-submit { display: none; }
  
  body:has(.order-cta) { padding-bottom: calc(118px + env(safe-area-inset-bottom, 0px)); }
}


.sheet-backdrop {
  position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.45);
  display: flex; align-items: flex-end; opacity: 0; transition: opacity .2s ease;
}
.sheet-backdrop.show { opacity: 1; }
.sheet {
  width: 100%; max-height: 72vh; display: flex; flex-direction: column;
  background: var(--panel); border-radius: 16px 16px 0 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  transform: translateY(100%); transition: transform .24s cubic-bezier(.2,.8,.2,1);
}
.sheet.open { transform: none; }
.sheet-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 16px 11px; border-bottom: 1px solid var(--line);
  font-weight: 700; font-size: 15px;
}
.sheet-x { background: none; border: 0; font-size: 24px; line-height: 1;
  color: var(--ink-2); cursor: pointer; padding: 0 4px; }

.nt-sec { margin-top: 24px; }
.nt-sec:first-of-type { margin-top: 16px; }
.nt-head { display: flex; align-items: center; gap: 9px; margin: 0 0 10px; font-size: 18px; }
.nt-head .ic { flex: 0 0 auto; }
.nt-head .nt-count { font-weight: 400; font-size: 14px; color: var(--ink-2); }
.nt-head .nt-all { margin-left: auto; font-size: 13px; font-weight: 500; white-space: nowrap; }
@media (max-width: 480px) {
  .nt-head { font-size: 16px; gap: 8px; }
  .nt-head .nt-count { display: none; }
}


.nt-chips {
  display: flex; gap: 8px; overflow-x: auto; margin: 4px 0 2px;
  padding-bottom: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
  
  scroll-snap-type: x proximity;
}
.nt-chips.auto-run { scroll-snap-type: none; }
.nt-chip { scroll-snap-align: center; }
@media (prefers-reduced-motion: reduce) { .nt-chips { scroll-snap-type: none; } }
.nt-chips::-webkit-scrollbar { display: none; }
.nt-chip {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: 999px; background: var(--panel-2);
  border: 1px solid var(--line); color: var(--ink); font-size: 13px;
  font-weight: 500; white-space: nowrap;
}
.nt-chip:hover { text-decoration: none;
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.nt-chip .ic { width: 15px; height: 15px; flex: 0 0 auto; }



a, button, .btn, .tile, .gcard, .nt-chip, .bnav-item, .seg button, .seg a,
.chips button, .chon-nut, .chon-muc, .toast-x, .support > summary, .scrolltop {
  transition: background-color .15s ease, border-color .15s ease, color .15s ease,
              box-shadow .18s ease, filter .15s ease, transform .12s ease;
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }

@view-transition { navigation: auto; }   

@media (prefers-reduced-motion: no-preference) {
  
  button:active, .btn:active, .nt-chip:active, .chips button:active,
  .seg button:active, .bnav-item:active { transform: scale(.96); }
  
  .tile:active, .gcard:active { transform: scale(.985); }
  
  
  main > .wrap { animation: fade-up .26s ease backwards; }
  
  .bnav-item.on .bnav-ic { animation: bnav-pop .34s ease; }
  
  ::view-transition-old(root) { animation: vt-out .18s ease both; }
  ::view-transition-new(root) { animation: vt-in .24s ease both; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  
  .tile:hover, .gcard:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.10); }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
@keyframes fade-up { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes bnav-pop { 0% { transform: scale(1); } 45% { transform: scale(1.22); } 100% { transform: scale(1); } }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }


html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

button.is-loading, .btn.is-loading {
  position: relative; pointer-events: none; -webkit-text-fill-color: transparent;
}
button.is-loading > svg, .btn.is-loading > svg { visibility: hidden; }
button.is-loading::after, .btn.is-loading::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px;
  margin: -8px 0 0 -8px; border: 2px solid currentColor; border-right-color: transparent;
  border-radius: 50%; animation: spin .6s linear infinite;
}
.scrolltop {
  position: fixed; right: 16px; z-index: 44; width: 42px; height: 42px; padding: 0;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: grid; place-items: center; border-radius: 50%;
  background: var(--panel); color: var(--ink); border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(0,0,0,.14);
  opacity: 0; transform: translateY(8px) scale(.9); pointer-events: none;
}
.scrolltop.show { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 640px) { .scrolltop { bottom: calc(66px + env(safe-area-inset-bottom, 0px)); } }

body:has(.support) .scrolltop { bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 640px) {
  body:has(.support) .scrolltop { bottom: calc(124px + env(safe-area-inset-bottom, 0px)); }
}


@media (prefers-reduced-motion: no-preference) { .kenh:active { transform: scale(.99); } }


.bct-badge { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px;
  font-size: 12px; color: var(--ink-2); border: 1px solid var(--line);
  border-radius: 6px; padding: 4px 9px; }
.bct-badge:hover { border-color: var(--accent); color: var(--ink); text-decoration: none; }


.dlcn {
  position: fixed; z-index: 70; left: 16px; right: 16px; bottom: 16px;
  max-width: 560px; margin: 0 auto; padding: 14px 16px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 10px 34px rgba(0,0,0,.16); font-size: 13.5px;
}
.dlcn p { margin: 0 0 8px; }
.dlcn-nut { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.dlcn-nut button { flex: 0 0 auto; }
@media (max-width: 640px) {
  
  body:has(.bottomnav) .dlcn { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}
.dong-y { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; margin: 10px 0 2px; }
.dong-y input { width: auto; margin-top: 3px; flex: 0 0 auto; }

body:has(.dlcn) { padding-bottom: 190px; }
@media (max-width: 640px) {
  body:has(.dlcn) { padding-bottom: calc(300px + env(safe-area-inset-bottom, 0px)); }
}

body:has(.dlcn) .scrolltop, body:has(.dlcn) .support { display: none; }

.tg-tat { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: -4px 0 14px;
  color: var(--ink-2); font-size: 14px; }
.tg-tat .ic { width: 18px; height: 18px; color: #229ed9; }


.tien-trinh { margin-bottom: 16px; }
.tt-buoc { list-style: none; display: flex; gap: 0; padding: 0; margin: 2px 0 14px; counter-reset: b; }
.tt-buoc li { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 6px;
  position: relative; text-align: center; color: var(--ink-2); font-size: 12.5px; }
.tt-buoc li + li::before { content: ""; position: absolute; top: 14px; right: 50%; width: 100%;
  height: 2px; background: var(--line); z-index: 0; }
.tt-buoc li.xong + li::before, .tt-buoc li.xong + li.dang::before { background: var(--accent); }
.tt-cham { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 13px;
  background: var(--panel-2); border: 2px solid var(--line); color: var(--ink-2); }
.tt-buoc li.xong .tt-cham { background: var(--accent); border-color: var(--accent); color: #fff; }
.tt-buoc li.dang .tt-cham { border-color: var(--accent); color: var(--accent);
  animation: tt-nhip 1.6s ease-in-out infinite; }
.tt-buoc li.dang .tt-ten, .tt-buoc li.xong .tt-ten { color: var(--ink); font-weight: 600; }
@keyframes tt-nhip { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); }
  50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 0%, transparent); } }
@media (prefers-reduced-motion: reduce) { .tt-buoc li.dang .tt-cham { animation: none; } }
.tt-thanh { height: 8px; border-radius: 99px; background: var(--panel-2); overflow: hidden; margin-bottom: 8px; }
.tt-thanh span { display: block; height: 100%; background: var(--accent); border-radius: 99px; }


.copy-ic { display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0;
  margin: -4px 0 -6px 6px; vertical-align: middle; border-radius: 8px;
  background: transparent; border: 1px solid var(--line); color: var(--ink-2); cursor: pointer; }
.copy-ic:hover { color: var(--accent); border-color: var(--accent); }
.copy-ic .ic { width: 16px; height: 16px; }
.copy-ic.ok { color: var(--ok, #16a34a); border-color: currentColor; }
.stk { font-size: 15px; font-weight: 600; letter-spacing: .02em; }
#copy-code .ic, #tai-qr .ic { width: 15px; height: 15px; vertical-align: -2px; }


th:has(+ td) { width: 36%; }
th:has(+ td) ~ td { overflow-wrap: anywhere; }



.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 46px; }
.pw-wrap input::-ms-reveal { display: none; }   
.pw-eye { position: absolute; right: 3px; top: 50%; margin-top: -19px; width: 38px; height: 38px;
  padding: 0; display: grid; place-items: center; background: transparent; color: var(--ink-2);
  border: 0; border-radius: 6px; }
.pw-eye:hover { color: var(--accent); filter: none; }
.pw-eye[aria-pressed="true"] { color: var(--accent); }
.pw-eye .ic { width: 20px; height: 20px; }


.seg-sm.giao-dien .ic { width: 14px; height: 14px; }


.hero2 { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; padding: 30px 0 6px; }
.hero2-chu { flex: 1 1 440px; min-width: 0; }
.hero2 h1 { font-size: 40px; line-height: 1.15; letter-spacing: -.01em; margin: 14px 0 10px; max-width: 18ch; }
.hero2 .sub { font-size: 16.5px; line-height: 1.6; max-width: 56ch; }
.nhan-noi { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, var(--panel)); border-radius: 999px; padding: 6px 12px; }
.dat-nhanh { flex: 1 1 340px; min-width: 0; padding: 20px 22px; border-radius: 18px;
  box-shadow: 0 12px 32px rgba(0,0,0,.06); }
.dat-nhanh h2 { margin: 0 0 6px; font-size: 17px; }
.dat-nhanh ul { list-style: none; margin: 0; padding: 0; }
.dat-nhanh li + li { border-top: 1px solid var(--line); }
.dat-nhanh li a { display: flex; align-items: center; gap: 10px; padding: 11px 0; color: var(--ink); }
.dat-nhanh li a:hover { text-decoration: none; color: var(--accent); }
.dn-ten { flex: 1; min-width: 0; font-size: 14.5px; line-height: 1.35; }
.dn-gia, .dv-gia, .goi-gia { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dn-gia small, .dv-gia small, .goi-gia small { font-weight: 400; color: var(--ink-2); font-size: 12px; }
.dn-het { display: block; text-align: center; margin-top: 12px; }
.plat a { padding: 16px; border-radius: 14px; }

.kenh-dai { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); margin: 18px 0 6px; }
.kenh { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 9px 14px 9px 10px;
  border-radius: 14px; color: var(--ink); background: var(--panel); border: 1px solid var(--line); }
.kenh:hover { text-decoration: none; border-color: var(--accent); }
.kenh b { flex: 1; min-width: 0; font-size: 14.5px; line-height: 1.35; }
.kenh b .muted { font-weight: 500; }
.kenh-ic { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  color: #fff; background: linear-gradient(135deg, #FF7A3D, #D92D20); }
.kenh-ic.kenh-tg { background: #26A5E4; }
.kenh-ic .ic { width: 20px; height: 20px; }
.kenh-cta { flex: none; color: var(--accent); font-weight: 600; font-size: 14px; white-space: nowrap; }
@media (max-width: 640px) {
  .kenh-dai { grid-template-columns: 1fr; gap: 8px; }
  .kenh-cta > span { display: none; }      
}
.buoc4 { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.buoc4 li { background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px; display: flex; gap: 12px; align-items: flex-start; }
.buoc4 b { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 12%, var(--panel)); color: var(--accent); font-size: 15px; }
.buoc4 span { font-size: 14px; line-height: 1.5; }
@media (max-width: 640px) {
  .hero2 { padding-top: 16px; gap: 20px; }
  .hero2 h1 { font-size: 28px; }
}


.tim-lon { display: flex; align-items: center; gap: 8px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 14px; padding: 6px 6px 6px 14px;
  max-width: 600px; margin: 16px 0 14px; box-shadow: 0 4px 14px rgba(0,0,0,.04); }
.tim-lon:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.tim-lon > .ic { width: 18px; height: 18px; color: var(--ink-2); flex: none; }
.tim-lon input { border: 0; background: transparent; padding: 10px 2px; flex: 1; min-width: 0; }
.tim-lon input:focus { outline: none; }
.tim-lon button { border-radius: 10px; padding: 10px 18px; flex: none; }


.dv-cong-cu { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px; margin: 14px 0 8px; }
.dv-loc { display: flex; flex-wrap: wrap; gap: 8px; }
.dv-loc select { width: auto; }

.xem-tog { margin: 0; padding: 3px; gap: 2px; background: var(--panel-2); border-radius: 10px; }
.xem-tog button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border-radius: 8px; background: transparent; color: var(--ink-2); font-weight: 600; }
.xem-tog button + button { border-left: 0; }
.xem-tog button.on { background: var(--seg-on); color: var(--ink);
  box-shadow: 0 1px 2px rgba(0,0,0,.10), 0 0 0 1px var(--line); }
.xem-tog .ic { width: 15px; height: 15px; }
.dv-ds { display: grid; gap: 10px; }
.dv-ds.xem-luoi { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.dv-the { display: grid; gap: 4px 16px; padding: 14px 16px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; }
.dv-the:hover { border-color: var(--accent); text-decoration: none; }
.dv-nt { grid-area: nt; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); }
.dv-nt .ic { width: 15px; height: 15px; }
.dv-ten { grid-area: ten; font-size: 15px; line-height: 1.35; }
.dv-phu { grid-area: phu; font-size: 12.5px; color: var(--ink-2); }
.dv-gia { grid-area: gia; font-size: 16.5px; }
.dv-tu { font-weight: 400; font-size: 12px; color: var(--ink-2); }
.xem-ds .dv-the { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "nt gia" "ten gia" "phu gia";
  align-items: center; }
.xem-luoi .dv-the { grid-template-columns: minmax(0, 1fr); grid-template-areas: "nt" "ten" "phu" "gia";
  grid-template-rows: auto auto auto 1fr; padding: 16px; }

.xem-luoi .dv-gia { align-self: end; margin-top: 10px; font-size: 18px; }
@media (max-width: 640px) {
  
  .dv-ds.xem-luoi { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .xem-luoi .dv-the { padding: 12px; }
  .xem-luoi .dv-ten { font-size: 14px; }
  .xem-luoi .dv-gia { font-size: 16px; }
  .xem-luoi .dv-tu { display: block; }
  
  .dv-cong-cu { flex-wrap: nowrap; }
  .dv-loc { flex: 1; flex-wrap: nowrap; min-width: 0; }
  .dv-loc select { flex: 1; min-width: 0; }
  .xem-tog span { display: none; }
  .xem-tog button { padding: 8px 10px; }
}

html.dang-doi-xem::view-transition-old(root), html.dang-doi-xem::view-transition-new(root) { animation: none; }
html.dang-doi-xem::view-transition-group(*) { animation-duration: .38s;
  animation-timing-function: cubic-bezier(.2, .8, .2, 1); }


.goi-ds { display: grid; gap: 8px; }
.goi-the { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "ten gia" "nhan gia" "phu gia";
  gap: 3px 14px; align-items: center; padding: 13px 16px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none;
  transition: border-color .15s, box-shadow .15s, background-color .15s; }
.goi-the:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); text-decoration: none; }
.goi-the.dang-chon { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent);
  background: color-mix(in srgb, var(--accent) 5%, var(--panel)); }
.goi-ten { grid-area: ten; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.goi-phu { grid-area: phu; font-size: 12.5px; color: var(--ink-2); }
.goi-gia { grid-area: gia; font-size: 16px; }


.o-loi { margin: 6px 0 0; color: var(--bad); font-size: 13.5px; line-height: 1.45; }
input[aria-invalid="true"] { border-color: var(--bad); }
.thieu-tien { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
  margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; font-size: 14px;
  background: color-mix(in srgb, var(--warn) 10%, var(--panel)); border: 1px solid color-mix(in srgb, var(--warn) 40%, var(--line)); }
.thieu-tien .btn { flex: none; }


.goi-nhan { grid-area: nhan; display: flex; flex-wrap: wrap; gap: 5px; margin: 3px 0 1px; }
.goi-nhan:empty { display: none; }
.nhan-goi { display: inline-block; font-size: 12px; font-weight: 500; line-height: 1.3; padding: 2px 8px;
  border-radius: 999px; background: var(--panel-2); color: var(--ink-2); border: 1px solid var(--line); }
.nhan-goi.tot { color: var(--ok); background: color-mix(in srgb, var(--ok) 9%, var(--panel));
  border-color: color-mix(in srgb, var(--ok) 30%, var(--line)); }
.nhan-goi.canh { color: var(--warn); background: color-mix(in srgb, var(--warn) 9%, var(--panel));
  border-color: color-mix(in srgb, var(--warn) 30%, var(--line)); }
.nhan-goi.re { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); font-weight: 600; }


.loai-head { font-size: 16px; margin: 22px 0 10px; display: flex; align-items: baseline; gap: 6px; }
.loai-head .muted { font-weight: 400; font-size: 13.5px; }

@media (max-width: 640px) {
  
  .dlcn { left: 10px; right: 10px; padding: 10px 12px; font-size: 12.5px; line-height: 1.45; }
  .dlcn > p:first-of-type { display: none; }
  .dlcn p { margin-bottom: 6px; }
  .dlcn-nut button { padding: 7px 16px; }
  body:has(.dlcn) { padding-bottom: calc(220px + env(safe-area-inset-bottom, 0px)); }
  
  .hero2 .trust { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  
  .hero2 .trust span { font-size: 12.5px; padding: 8px 10px; align-items: center; line-height: 1.35;
    border-radius: 12px; min-height: 48px; }
  .hero2 .trust .ic { flex: none; }
}


.stk-dong { display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; }
#qr-nhanh { margin-top: 8px; }
#qr-nhanh button.on { border-color: var(--accent); color: var(--accent); }


.loc-don { margin: 0 0 12px; overflow-x: auto; max-width: 100%; }
.loc-don a { white-space: nowrap; }
.don-ds { display: grid; gap: 8px; }
.don-the { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 12px; }
.don-chinh { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; color: var(--ink); }
.don-chinh:hover { text-decoration: none; }
.don-chinh:hover .don-ten { color: var(--accent); }
.don-ten { font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.don-link { font-size: 12px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.don-so { font-size: 12.5px; color: var(--ink-2); }
.don-ben { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }


.support { transition: transform .22s ease, opacity .22s ease; }
.support.an-tam:not([open]) { transform: translateY(160%); opacity: 0; pointer-events: none; }

@media (max-width: 640px) {
  
  .top-tog .seg button, .top-tog .seg a { height: 34px; min-width: 36px; }
}

@media (max-width: 640px) {
  
  .goi-the { grid-template-areas: "ten gia" "nhan nhan" "phu phu"; align-items: start; }
}


.chon { position: relative; display: block; }

.js-chon .chon > select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0;
  pointer-events: none; }
.chon-nut { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; min-height: 42px; padding: 9px 12px; text-align: left; font: inherit; font-weight: 500;
  color: var(--ink); background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px;
  cursor: pointer; }
.chon-nut:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); filter: none; }
.chon-nut:focus-visible, .chon-nut[aria-expanded="true"] { outline: 2px solid var(--accent); outline-offset: -1px; }
.chon-nut.chon-loi { border-color: var(--bad); }
.chon-gt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.chon-mui { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--ink-2); stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round; transition: transform .15s ease; }
.chon-nut[aria-expanded="true"] .chon-mui { transform: rotate(180deg); }

.dv-loc .chon, .row > .chon, form.inline .chon, td .chon { display: inline-block; }
.dv-loc .chon-nut { width: auto; min-width: 150px; }

.chon-khung { position: absolute; z-index: 80; padding: 5px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 36px rgba(0,0,0,.16);
  animation: chon-mo .14s ease-out; }
@keyframes chon-mo { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.chon-ds { list-style: none; margin: 0; padding: 0; overflow-y: auto; outline: none; }
.chon-muc { display: flex; align-items: flex-start; gap: 8px; padding: 9px 10px; border-radius: 8px;
  font-size: 14.5px; line-height: 1.35; color: var(--ink); cursor: pointer; }
.chon-muc.dang-tro { background: var(--panel-2); }
.chon-muc.on { font-weight: 600; color: var(--accent); }
.chon-muc.tat { opacity: .45; cursor: default; }
.chon-dau { flex: none; width: 16px; height: 16px; margin-top: 1px; fill: none; stroke: currentColor;
  stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; visibility: hidden; }
.chon-muc.on .chon-dau { visibility: visible; }

.sheet .chon-ds { padding: 6px; }
.sheet .chon-muc { padding: 14px 12px; font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .chon-khung { animation: none; } }


.scrolltop { transition: transform .26s cubic-bezier(.2,.8,.2,1), opacity .2s ease,
  background-color .15s ease, box-shadow .18s ease; }
body.ho-tro-an .scrolltop.show { transform: translateY(var(--st-xuong, 56px)); }

.ck-dl { font-size: 13px; color: var(--ok); line-height: 1.45; }


.khoa-api { display: flex; align-items: center; gap: 6px; }
.khoa-api .pw-wrap { flex: 1; min-width: 0; }
.khoa-api input { font-size: 13px; }


.nap-cho { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 12px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--panel-2); font-weight: 500; }
.nap-cho-cham { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--warn);
  animation: nap-nhay 1.4s ease-in-out infinite; }
@keyframes nap-nhay { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
@media (prefers-reduced-motion: reduce) { .nap-cho-cham { animation: none; } }
.nap-dang-cho { padding: 8px 12px; border-radius: 10px; background: var(--panel-2); margin: 0 0 10px; }
.nap-bao > summary { list-style: none; display: inline-flex; cursor: pointer; }
.nap-bao > summary::-webkit-details-marker { display: none; }
.nap-xong h2 { color: var(--ok); }
