/* Paycoi – Ví Điểm USDXu
   Chất liệu: sơn mài Việt Nam. Nền sơn then đỏ thẫm, điểm nhấn vàng lá, chữ màu vỏ trứng. */

:root {
  --lac-0: #120706;
  --lac-1: #1c0c0a;
  --lac-2: #28120f;
  --lac-3: #3a1c17;
  --lac-4: #52281f;
  --cinnabar: #b5402a;
  --gold: #d9ae52;
  --gold-hi: #f3da92;
  --gold-lo: #9c6b22;
  --shell: #efe4ce;
  --shell-2: #cdbb9f;
  --shell-3: #95806a;
  --jade: #86bfa3;
  --line: rgba(239, 228, 206, .1);
  --line-2: rgba(239, 228, 206, .18);
  --paper: #f6ecd9;
  --ink: #2a120e;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;
  --gutter: 16px;
  --nav-h: 66px;
  --gold-grad: linear-gradient(135deg, #f6de97 0%, #d9ae52 46%, #b07f2e 78%, #e9c878 100%);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--lac-1);
  background-image:
    radial-gradient(120% 60% at 50% -10%, #3b1712 0%, transparent 60%),
    linear-gradient(180deg, var(--lac-1) 0%, var(--lac-0) 100%);
  background-attachment: fixed;
  color: var(--shell);
  font: 400 15px/1.55 var(--sans);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold-hi); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.ic { flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Khung ứng dụng ---------- */
.app { max-width: 480px; margin: 0 auto; padding: 0 var(--gutter) calc(var(--nav-h) + 28px + env(safe-area-inset-bottom)); }
.app.bare { padding-bottom: 40px; }
.wide { max-width: 1040px; margin: 0 auto; padding: 0 var(--gutter); }

.topbar { display: flex; align-items: center; gap: 10px; padding: 16px 0 12px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--shell); }
.brand:hover { text-decoration: none; }
.brand b { font: 600 21px/1 var(--serif); letter-spacing: .01em; color: var(--gold-hi); }
.brand small { font-size: 12px; color: var(--shell-3); }
.topbar .sp { flex: 1; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--lac-3);
  color: var(--gold-hi); font: 600 13px var(--sans); border: 1px solid var(--line-2); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.lang { font-size: 12px; color: var(--shell-3); padding: 6px 8px; border: 1px solid var(--line); border-radius: 999px; }
.lang:hover { color: var(--shell); text-decoration: none; }

/* ---------- Chữ ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--shell); margin: 0; letter-spacing: .005em; }
h1 { font-size: 34px; line-height: 1.1; }
h2 { font-size: 24px; line-height: 1.2; }
h3 { font-size: 19px; line-height: 1.25; }
p { margin: 0 0 12px; }
.muted { color: var(--shell-3); }
.soft { color: var(--shell-2); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.num { font-variant-numeric: tabular-nums; }
.gold { color: var(--gold-hi); }
.jade { color: var(--jade); }
.center { text-align: center; }
.sec { margin: 30px 0 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sec-head a { font-size: 13px; }

/* ---------- Thẻ sơn mài (điểm nhớ chính) ---------- */
.lacquer {
  --tx: 0deg; --ty: 0deg;
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-lg);
  padding: 20px 20px 18px;
  min-height: 212px;
  display: flex; flex-direction: column;
  color: var(--shell);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(181, 64, 42, .55) 0%, transparent 55%),
    radial-gradient(80% 90% at 0% 100%, rgba(82, 20, 12, .9) 0%, transparent 60%),
    linear-gradient(160deg, #5a1d14 0%, #2b0d09 55%, #160605 100%);
  box-shadow: 0 1px 0 rgba(243, 218, 146, .25) inset, 0 0 0 1px rgba(217, 174, 82, .28) inset, 0 24px 48px -20px rgba(0, 0, 0, .8);
  transform: perspective(900px) rotateX(var(--ty)) rotateY(var(--tx));
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
/* vàng lá rắc + vân rạn vỏ trứng */
.lacquer::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='%23e9c46a'%3E%3Cpath d='M188 18l9 3-4 7-8-2z' opacity='.55'/%3E%3Cpath d='M206 40l6 1-1 6-6-2z' opacity='.4'/%3E%3Cpath d='M170 44l4 2-3 4-3-3z' opacity='.5'/%3E%3Cpath d='M222 70l10 2-5 8-7-4z' opacity='.35'/%3E%3Cpath d='M196 84l3 1-1 3-3-1z' opacity='.6'/%3E%3Cpath d='M152 22l5 1-2 4-4-2z' opacity='.3'/%3E%3Cpath d='M30 196l5 2-2 4-4-2z' opacity='.25'/%3E%3Cpath d='M214 120l4 1-2 4-3-2z' opacity='.3'/%3E%3C/g%3E%3Cg fill='none' stroke='%23efe4ce' stroke-opacity='.07' stroke-width='.8'%3E%3Cpath d='M0 150l38-10 22 18 40-6 18 22 46-12 30 14 46-8'/%3E%3Cpath d='M60 158l-6 34 26 22M118 152l10 40-18 34M164 160l-4 30 30 22'/%3E%3Cpath d='M0 200l30 4 24-12M190 186l50 6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 240px 240px; background-position: right top;
}
.lacquer::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 50% at var(--gx, 70%) var(--gy, 0%), rgba(243, 218, 146, .18), transparent 70%);
}
.lacquer .row1 { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lacquer .who { font-size: 13px; color: var(--shell-2); }
.lacquer .bal { margin-top: auto; }
.lacquer .bal .lbl { font-size: 13px; color: var(--shell-2); }
.bignum {
  font: 600 52px/1 var(--serif); letter-spacing: -.01em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: lining-nums tabular-nums;
}
.lacquer .unit { font: 500 20px var(--serif); color: var(--gold); margin-left: 6px; }
.lacquer .foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-top: 14px; font-size: 12px; color: var(--shell-3); }
.lacquer .code { font-family: var(--sans); letter-spacing: .12em; color: var(--shell-2); }
@media (prefers-reduced-motion: reduce) { .lacquer { transition: none; transform: none !important; } }

.tier { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 4px 10px 4px 8px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--shell-2); background: rgba(18, 7, 6, .35); }
.tier-bac { color: #e6e3dc; border-color: rgba(230, 227, 220, .4); }
.tier-vang { color: var(--gold-hi); border-color: rgba(217, 174, 82, .55); }
.tier-bachkim { color: #e9f1f2; border-color: rgba(200, 225, 228, .55); background: rgba(200, 225, 228, .08); }
.vip { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--lac-1); background: var(--gold-grad);
  padding: 3px 8px; border-radius: 999px; }

/* ---------- Nút ---------- */
.btn { appearance: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--sans); padding: 15px 20px; border-radius: var(--r-md); text-decoration: none; color: var(--shell);
  min-height: 50px; transition: transform .08s ease, filter .15s ease, background .15s ease; }
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.985); }
.btn-gold { background: var(--gold-grad); color: var(--ink); box-shadow: 0 1px 0 rgba(255, 245, 210, .6) inset, 0 10px 24px -12px rgba(217, 174, 82, .6); }
.btn-gold:hover { filter: brightness(1.05); }
.btn-ghost { background: transparent; border: 1px solid var(--line-2); color: var(--shell); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-dark { background: var(--lac-3); color: var(--shell); }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 9px 14px; font-size: 13px; border-radius: var(--r-sm); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--gold-hi); font: inherit; cursor: pointer; }
.linkbtn:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Hàng thao tác nhanh dưới thẻ */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.quick a { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 12px 4px 10px; border-radius: var(--r-md);
  color: var(--shell-2); font-size: 12px; text-align: center; background: rgba(42, 20, 17, .6); border: 1px solid var(--line); }
.quick a:hover { text-decoration: none; color: var(--shell); border-color: var(--line-2); }
.quick .ic { color: var(--gold); }

/* ---------- Bề mặt ---------- */
.panel { background: rgba(40, 18, 15, .72); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; }
.panel + .panel { margin-top: 12px; }
.panel.flat { background: transparent; }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-md); font-size: 14px;
  background: rgba(217, 174, 82, .08); border: 1px solid rgba(217, 174, 82, .25); color: var(--shell); }
.note .ic { color: var(--gold); margin-top: 2px; }
.note.red { background: rgba(181, 64, 42, .14); border-color: rgba(181, 64, 42, .45); }
.note.red .ic { color: #e98a74; }
.note.jade { background: rgba(134, 191, 163, .1); border-color: rgba(134, 191, 163, .35); }
.note.jade .ic { color: var(--jade); }
.flash { margin: 6px 0 14px; }

/* Danh sách giao dịch – hàng có đường kẻ, không chia thẻ */
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.rows li:last-child { border-bottom: 0; }
.rows .dot { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--lac-3); color: var(--gold); }
.rows .dot.in { background: rgba(134, 191, 163, .12); color: var(--jade); }
.rows .main { flex: 1; min-width: 0; }
.rows .t { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rows .s { display: block; font-size: 12px; color: var(--shell-3); margin-top: 2px; }
.rows .amt { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rows .amt.plus { color: var(--jade); }
.rows a.row-link { display: contents; color: inherit; }

.empty { text-align: center; padding: 28px 10px; color: var(--shell-3); }
.empty .ic { color: var(--gold-lo); margin: 0 auto 10px; }

/* Tiến độ hạng */
.progress { height: 6px; border-radius: 99px; background: var(--lac-3); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--gold-grad); border-radius: 99px; }

/* ---------- Biểu mẫu ---------- */
label { display: block; font-size: 13px; color: var(--shell-2); margin: 0 0 6px; }
.field { margin-bottom: 14px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], input[type=search], select, textarea {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--shell); background: var(--lac-0); border: 1px solid var(--line-2);
  border-radius: var(--r-md); padding: 14px 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 174, 82, .18); }
input::placeholder { color: #6f5c4b; }
.otp { text-align: center; font: 600 30px/1 var(--serif) !important; letter-spacing: .5em; padding-left: .5em !important; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--shell-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); flex: none; }
.or { display: flex; align-items: center; gap: 12px; color: var(--shell-3); font-size: 12px; margin: 18px 0; }
.or::before, .or::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.btn-google { background: #fff; color: #1f1f1f; }
.err { color: #f0a08c; font-size: 14px; margin-top: 8px; }

/* ---------- Thanh tab dưới ---------- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding-bottom: env(safe-area-inset-bottom);
  background: rgba(18, 7, 6, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.tabbar nav { max-width: 480px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); height: var(--nav-h); }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--shell-3); font-size: 11px; }
.tabbar a:hover { text-decoration: none; color: var(--shell-2); }
.tabbar a.on { color: var(--gold-hi); }
.tabbar a.nap .ic { background: var(--gold-grad); color: var(--ink); border-radius: 12px; padding: 6px; width: 34px; height: 34px; margin-top: -6px; }

/* ---------- Trang thanh toán ---------- */
.pay-head { padding: 6px 0 18px; }
.merchant { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--shell-2); }
.merchant .mlogo { width: 34px; height: 34px; border-radius: 10px; background: var(--lac-3); display: grid; place-items: center; font: 600 15px var(--serif); color: var(--gold-hi); }
.amount-due { margin-top: 18px; }
.amount-due .bignum { font-size: 46px; }
.amount-due .was { font-size: 14px; color: var(--shell-3); text-decoration: line-through; margin-left: 8px; }
.item-title { font-size: 15px; color: var(--shell); margin-top: 4px; }

.step { margin-top: 14px; }
.step-title { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.step-title .n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700;
  background: var(--lac-3); color: var(--gold-hi); flex: none; }
.step-title .n.done { background: var(--gold-grad); color: var(--ink); }
.step-title h3 { font-size: 18px; }

.points-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.points-box .v { font: 600 26px/1 var(--serif); color: var(--gold-hi); }
.toggle { position: relative; width: 52px; height: 30px; flex: none; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle span { position: absolute; inset: 0; background: var(--lac-3); border-radius: 99px; transition: .2s; border: 1px solid var(--line-2); }
.toggle span::after { content: ""; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; border-radius: 50%; background: var(--shell-2); transition: .2s; }
.toggle input:checked + span { background: var(--gold); }
.toggle input:checked + span::after { transform: translateX(22px); background: var(--ink); }

.methods { display: grid; gap: 10px; }
.method { display: flex; align-items: center; gap: 12px; padding: 15px 14px; border-radius: var(--r-md); border: 1px solid var(--line-2);
  background: rgba(18, 7, 6, .4); cursor: pointer; color: var(--shell); width: 100%; text-align: left; font: inherit; }
.method:hover { border-color: var(--gold); }
.method[aria-expanded=true] { border-color: var(--gold); background: rgba(217, 174, 82, .07); }
.method .ic { color: var(--gold); }
.method .m { flex: 1; }
.method .m b { display: block; font-weight: 600; }
.method .m small { color: var(--shell-3); font-size: 12px; }
.method-body { display: none; padding: 14px 2px 4px; }
.method-body.open { display: block; }

/* Giấy QR – nền sáng để máy quét đọc chuẩn */
.qr-paper { background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: 18px; text-align: center; }
.qr-paper .qr { width: 256px; height: 256px; margin: 4px auto 10px; padding: 22px; background: #fff; border-radius: 14px; display: grid; place-items: center; }
.qr-paper .qr canvas, .qr-paper .qr img, .qr-paper .qr svg { width: 212px !important; height: 212px !important; image-rendering: pixelated; display: block; }
.qr svg path, .qr-mini svg path { fill: #1c0c0a; }
.qr-paper .bank { font-size: 13px; color: #6b4f3f; }
.qr-paper .hint { font-size: 13px; color: #6b4f3f; margin: 8px 0 0; }
.kv { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; text-align: left; }
.kv td { padding: 9px 0; border-top: 1px solid rgba(42, 18, 14, .12); vertical-align: middle; }
.kv td:first-child { color: #7a5c48; width: 40%; }
.kv b { font-weight: 700; }
.copy { appearance: none; border: 1px solid rgba(42, 18, 14, .2); background: transparent; color: var(--ink); border-radius: 8px;
  padding: 4px 8px; font: 600 12px var(--sans); cursor: pointer; display: inline-flex; gap: 4px; align-items: center; margin-left: 6px; }
.copy.done { background: #2a120e; color: var(--paper); }
.waiting { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--shell-2); margin-top: 14px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--jade); box-shadow: 0 0 0 0 rgba(134, 191, 163, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(134, 191, 163, 0); } 100% { box-shadow: 0 0 0 0 rgba(134, 191, 163, 0); } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }
.upload { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px dashed var(--line-2); border-radius: var(--r-md); cursor: pointer; color: var(--shell-2); font-size: 14px; }
.upload input { display: none; }
.upload .ic { color: var(--gold); }

/* Thành công */
.done-seal { width: 76px; height: 76px; margin: 18px auto 14px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-grad); color: var(--ink); box-shadow: 0 0 0 8px rgba(217, 174, 82, .1); }
.reward-slip { margin-top: 16px; padding: 16px; border-radius: var(--r-lg); text-align: center;
  background: linear-gradient(160deg, #5a1d14, #2b0d09); border: 1px solid rgba(217, 174, 82, .35); }
.reward-slip .bignum { font-size: 40px; }

/* ---------- Trang chủ ---------- */
.hero { padding: 22px 0 6px; }
.hero h1 { font-size: 40px; line-height: 1.05; font-weight: 600; }
.hero .lead { font-size: 16px; color: var(--shell-2); margin: 14px 0 22px; max-width: 34ch; }
.hero .lacquer { margin: 8px 0 22px; }
.hero .cta { display: grid; gap: 10px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font: 600 16px var(--serif); color: var(--gold-hi); border: 1px solid rgba(217, 174, 82, .45); }
.steps b { display: block; font-weight: 600; margin-bottom: 2px; }
.steps span { color: var(--shell-2); font-size: 14px; }

.sites { list-style: none; margin: 0; padding: 0; }
.sites li a { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--shell); }
.sites li:last-child a { border-bottom: 0; }
.sites li a:hover { text-decoration: none; }
.sites .mlogo { width: 38px; height: 38px; border-radius: 11px; background: var(--lac-3); display: grid; place-items: center; font: 600 16px var(--serif); color: var(--gold-hi); flex: none; }
.sites .nm { flex: 1; min-width: 0; }
.sites .nm b { display: block; font-weight: 500; }
.sites .nm small { color: var(--shell-3); font-size: 12px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sites .ic { color: var(--shell-3); }

.packs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pack { position: relative; padding: 16px 14px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: rgba(18, 7, 6, .45);
  display: flex; flex-direction: column; gap: 4px; color: var(--shell); cursor: pointer; text-align: left; font: inherit; width: 100%; }
.pack:hover { border-color: var(--gold); }
.pack.hl { border-color: rgba(217, 174, 82, .7); background: rgba(217, 174, 82, .07); }
.pack .pts { font: 600 30px/1 var(--serif); color: var(--gold-hi); }
.pack .pts small { font: 500 14px var(--sans); color: var(--shell-2); margin-left: 3px; }
.pack .bonus { font-size: 12px; color: var(--jade); min-height: 18px; }
.pack .price { font-weight: 600; margin-top: 6px; }
.pack .flag { position: absolute; top: -9px; right: 10px; font-size: 11px; font-weight: 700; background: var(--gold-grad); color: var(--ink); padding: 3px 8px; border-radius: 99px; }

.tiers { width: 100%; border-collapse: collapse; font-size: 14px; }
.tiers td, .tiers th { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.tiers th { color: var(--shell-3); font-size: 12px; }
.tiers td:last-child, .tiers th:last-child { text-align: right; }

details.faq { border-bottom: 1px solid var(--line); }
details.faq summary { cursor: pointer; list-style: none; padding: 15px 28px 15px 0; position: relative; font-weight: 500; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 2px; top: 12px; font: 400 22px var(--serif); color: var(--gold); }
details.faq[open] summary::after { content: "–"; }
details.faq p { color: var(--shell-2); font-size: 14px; padding-bottom: 14px; margin: 0; }

.footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 22px 0 10px; font-size: 12px; color: var(--shell-3); }
.footer a { color: var(--shell-2); }

/* Trang cá nhân */
.profile-top { text-align: center; padding: 20px 0 8px; }
.profile-top .avatar { width: 84px; height: 84px; font-size: 28px; margin: 0 auto 12px; border: 1px solid rgba(217, 174, 82, .5); }
.profile-top h1 { font-size: 30px; }
.qr-mini { width: 184px; height: 184px; margin: 0 auto; padding: 18px; background: #fff; border-radius: 14px; }
.qr-mini canvas, .qr-mini img, .qr-mini svg { width: 148px !important; height: 148px !important; display: block; }

/* Bảng nhỏ */
.dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 14px; }
.dl dt { color: var(--shell-3); }
.dl dd { margin: 0; text-align: right; }

.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; padding: 3px 9px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--shell-2); }
.chip.ok { color: var(--jade); border-color: rgba(134, 191, 163, .4); }
.chip.wait { color: var(--gold-hi); border-color: rgba(217, 174, 82, .4); }
.chip.bad { color: #f0a08c; border-color: rgba(181, 64, 42, .5); }

.tabs { display: flex; gap: 6px; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)) 14px; padding: 0 var(--gutter); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; font-size: 13px; padding: 8px 12px; border-radius: 99px; border: 1px solid var(--line); color: var(--shell-2); }
.tabs a.on { border-color: var(--gold); color: var(--gold-hi); }

hr.sep { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }

/* Màn hình rộng */
@media (min-width: 900px) {
  .home .hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 36px; }
  .home .hero h1 { font-size: 64px; }
  .home .hero .lead { font-size: 18px; }
  .home .hero .cta { grid-template-columns: auto auto; justify-content: start; }
  .home .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
  .home .packs { grid-template-columns: repeat(4, 1fr); }
}
