/* ── Trang công khai (trang chủ + đăng nhập): tông mực tối, nhấn vàng champagne ── */
body:has(.lux) { background: #0b0d12; }
.lux {
    --ink: #0b0d12; --text: #ece8e1; --soft: #a39e94; --line: rgba(236, 232, 225, .09);
    --panel: rgba(255, 255, 255, .035); --gold: #c9a96e; --gold-hi: #ead7ac;
    --ease: cubic-bezier(.2, .7, .2, 1);
    position: relative; min-height: 100vh; overflow-x: clip; color-scheme: dark;
    background: var(--ink); color: var(--text);
    font: 300 16px/1.65 "Be Vietnam Pro", system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.lux main { position: relative; max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.lux a { color: inherit; text-decoration: none; }
.lux h1, .lux h2 { font-family: "Playfair Display", Georgia, "Songti SC", "SimSun", serif; font-weight: 500; letter-spacing: -.01em; line-height: 1.12; }
.lux h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 0 0 1.4rem; text-wrap: balance; }
.lux h1:focus { outline: none; }
.lux h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 0 0 2.5rem; }
.lux h3 { font-size: 1.05rem; font-weight: 500; margin: 0 0 .5rem; }
.lux em { font-style: italic; color: var(--gold-hi); }
.lux .muted { color: var(--soft); }
.lux .eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin: 0 0 1.2rem; }
.lux .lead { font-size: 1.1rem; color: var(--soft); max-width: 34rem; margin: 0 0 2.2rem; }

/* nền: hai quầng sáng trôi rất chậm */
.lux-aurora { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.lux-aurora i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: .16; }
.lux-aurora i:first-child { background: #b08a4a; top: -30vmax; right: -18vmax; animation: lux-drift 26s ease-in-out infinite alternate; }
.lux-aurora i:last-child { background: #3a4a6b; top: 40vh; left: -28vmax; animation: lux-drift 32s ease-in-out infinite alternate-reverse; }
@keyframes lux-drift { to { transform: translate3d(6vmax, 4vmax, 0) scale(1.08); } }

/* thanh điều hướng + chân trang */
.lux-nav { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; max-width: 1180px; margin: 0 auto; padding: 1.4rem clamp(16px, 4vw, 40px); }
.lux-nav nav { display: flex; gap: clamp(1rem, 2.5vw, 2.2rem); align-items: center; font-size: 14px; }
.lux-nav nav > a:not(.lux-btn) { color: var(--soft); transition: color .3s; }
.lux-nav nav > a:not(.lux-btn):hover { color: var(--text); }
.lux-brand { display: inline-flex; align-items: center; gap: .6rem; font-family: "Playfair Display", serif; font-size: 1.3rem; letter-spacing: .02em; }
.lux-mark { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: .95rem; font-style: italic; }
.lux-foot { position: relative; border-top: 1px solid var(--line); margin-top: 6rem; }
.lux-foot-in { max-width: 1180px; margin: 0 auto; padding: 2.5rem clamp(16px, 4vw, 40px); display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.lux-foot nav { display: flex; flex-wrap: wrap; gap: .6rem 1.8rem; font-size: 14px; }
.lux-foot nav a { color: var(--soft); transition: color .3s; }
.lux-foot nav a:hover { color: var(--gold-hi); }
.lux-foot p { width: 100%; margin: 0; font-size: 13px; color: var(--soft); opacity: .7; }

/* nút: vàng đặc / viền mảnh, vệt sáng lướt qua khi rê chuột */
.lux-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .9rem 1.7rem; border-radius: 999px; border: 1px solid var(--gold); background: linear-gradient(135deg, var(--gold-hi), var(--gold));
    color: #17130b !important; font: 500 14px/1 "Be Vietnam Pro", sans-serif; letter-spacing: .04em; cursor: pointer;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.lux-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.lux-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -12px rgba(201, 169, 110, .55); }
.lux-btn:hover::after { transform: translateX(120%); }
.lux-btn.ghost { background: transparent; color: var(--text) !important; border-color: rgba(236, 232, 225, .22); }
.lux-btn.ghost::after { background: linear-gradient(110deg, transparent 30%, rgba(234, 215, 172, .14) 50%, transparent 70%); }
.lux-btn.ghost:hover { border-color: var(--gold); box-shadow: none; }
.lux-btn.sm { padding: .55rem 1.2rem; font-size: 13px; }
.lux-btn.block { width: 100%; }
.lux .cta { display: flex; flex-wrap: wrap; gap: .9rem; }
.lux :focus-visible { outline: 1px solid var(--gold-hi); outline-offset: 3px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; min-height: calc(100vh - 90px); padding: 3rem 0 5rem; }
.hairline { display: block; width: 120px; height: 1px; margin-top: 3rem; background: linear-gradient(90deg, var(--gold), transparent); transform-origin: left; }
.hero-art { position: relative; justify-self: center; }
.receipt { width: min(340px, 82vw); padding: 1.6rem; border: 1px solid var(--line); border-radius: 20px;
    background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.015)); backdrop-filter: blur(14px);
    box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06);
    animation: lux-float 8s ease-in-out infinite; }
@keyframes lux-float { 50% { transform: translateY(-8px); } }
.r-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--soft); margin-bottom: 1.2rem; }
.chip { padding: .2rem .65rem; border: 1px solid rgba(201,169,110,.4); border-radius: 999px; color: var(--gold-hi); font-size: 11px; letter-spacing: .05em; }
.receipt ul { list-style: none; margin: 0; padding: 0 0 1rem; border-bottom: 1px dashed var(--line); }
.receipt li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; font-size: 14px; }
.receipt b, .r-total b { font-weight: 500; font-variant-numeric: tabular-nums; }
.r-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 1rem; }
.r-total b { font-family: "Playfair Display", serif; font-size: 1.9rem; color: var(--gold-hi); }
.r-foot { display: flex; align-items: center; gap: .5rem; margin-top: 1.2rem; font-size: 12px; color: var(--soft); }
.r-foot i { width: 6px; height: 6px; border-radius: 50%; background: #7fbf95; box-shadow: 0 0 0 0 rgba(127,191,149,.6); animation: lux-pulse 2.8s ease-out infinite; }
@keyframes lux-pulse { 70%, 100% { box-shadow: 0 0 0 8px rgba(127,191,149,0); } }
.badge { position: absolute; left: -2.5rem; bottom: -1.4rem; padding: .7rem 1.1rem; border: 1px solid var(--line); border-radius: 12px;
    background: rgba(18, 21, 28, .85); backdrop-filter: blur(10px); font-size: 13px; animation: lux-float 8s ease-in-out -4s infinite; }
.badge span { color: var(--gold); margin-right: .3rem; }

/* các khối nội dung */
.lux-sec { padding: 5rem 0 0; scroll-margin-top: 1rem; }
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.feat { padding: 2rem 1.6rem 2.2rem; background: var(--ink); transition: background-color .5s var(--ease); }
.feat:hover { background: #10131a; }
.feat .num { display: block; font-family: "Playfair Display", serif; font-style: italic; color: var(--gold); margin-bottom: 2.5rem; }
.feat p, .steps p, .band p { margin: 0; color: var(--soft); font-size: 15px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.steps li { border-top: 1px solid var(--line); padding-top: 1.6rem; }
.steps li > span { display: block; font-family: "Playfair Display", serif; font-size: 2.2rem; color: var(--gold); line-height: 1; margin-bottom: 1.2rem; }
.lux .steps a, .lux .auth-links a { color: var(--gold-hi); background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.lux .steps a:hover, .lux .auth-links a:hover { background-size: 100% 1px; }
.band { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: center; padding: clamp(2rem, 5vw, 3.5rem);
    border: 1px solid rgba(201,169,110,.25); border-radius: 22px; background: radial-gradient(120% 140% at 0% 0%, rgba(201,169,110,.12), transparent 60%), var(--panel); }
.band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 .5rem; }

/* đăng nhập */
.auth { display: grid; grid-template-columns: 1fr 420px; gap: 5rem; align-items: center; min-height: calc(100vh - 90px); padding: 2rem 0 4rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; color: var(--soft); font-size: 15px; }
.ticks li::before { content: ""; display: inline-block; width: 18px; height: 1px; background: var(--gold); vertical-align: middle; margin-right: .9rem; }
.auth-card { padding: 2.6rem 2.4rem; border: 1px solid var(--line); border-radius: 22px;
    background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); backdrop-filter: blur(16px);
    box-shadow: 0 50px 100px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.05); }
.auth-card h2 { font-size: 1.8rem; margin: 0 0 1.4rem; }
.auth-card > p { font-size: 14px; margin: 0 0 1.4rem; }
.auth-card form { display: grid; gap: 1rem; }
.auth-err { padding: .75rem .9rem; border: 1px solid rgba(240,104,110,.35); border-radius: 10px; background: rgba(240,104,110,.08); color: #f3a6a9; font-size: 14px; margin: 0 0 1rem; }
form .auth-err { margin: 0; }
/* ô nhập có nhãn nổi */
.lux .field { position: relative; display: block; font-size: inherit; color: inherit; }
.lux .field input { width: 100%; padding: 1.35rem 1rem .55rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(0,0,0,.25);
    color: var(--text); font: 400 15px "Be Vietnam Pro", sans-serif; outline: none; transition: border-color .35s, background-color .35s; }
.lux .field input:focus { border-color: var(--gold); background: rgba(0,0,0,.35); }
.lux .field span { position: absolute; left: 1rem; top: 1rem; color: var(--soft); font-size: 15px; pointer-events: none; transform-origin: left top; transition: transform .35s var(--ease), color .35s; }
.lux .field input:focus + span, .lux .field input:not(:placeholder-shown) + span { transform: translateY(-.6rem) scale(.75); color: var(--gold); }
.lux .field input:-webkit-autofill { -webkit-text-fill-color: var(--text); -webkit-box-shadow: 0 0 0 40px #15171d inset; }
.lux-google { display: flex; align-items: center; justify-content: center; gap: .7rem; padding: .85rem; border: 1px solid rgba(236,232,225,.18); border-radius: 999px;
    font-size: 14px; font-weight: 400; transition: border-color .35s, background-color .35s; }
.lux-google:hover { border-color: var(--gold); background: rgba(255,255,255,.03); }
.auth-card > .auth-or { display: flex; align-items: center; gap: 1rem; margin: 1.4rem 0; color: var(--soft); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-links { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: 13px; }

/* chuyển động: hiện dần khi tải trang; hiện dần khi cuộn tới (trình duyệt hỗ trợ, còn lại hiện sẵn) */
.rise { animation: lux-rise 1.1s var(--ease) var(--d, 0s) both; }
.hairline.rise { animation-name: lux-line; }
@keyframes lux-rise { from { opacity: 0; transform: translateY(16px); filter: blur(4px); } }
@keyframes lux-line { from { opacity: 0; transform: scaleX(0); } }
@supports (animation-timeline: view()) {
    .reveal { animation: lux-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
}
@media (prefers-reduced-motion: reduce) {
    .lux *, .lux *::before, .lux *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 960px) {
    .hero, .auth { grid-template-columns: 1fr; gap: 3.5rem; min-height: 0; }
    .hero { padding-top: 2rem; }
    .feats { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr; gap: 2rem; }
    .badge { left: -1rem; }
}
@media (max-width: 600px) {
    .hide-sm { display: none; }
    .feats { grid-template-columns: 1fr; }
    .auth-card { padding: 2rem 1.4rem; }
    .lux .cta .lux-btn { flex: 1 1 100%; }
}

/* trang tải POS */
.dl-head { padding: 3rem 0 3.5rem; }
.dl-head .lead { margin: 0; }
.lux b { font-weight: 500; color: var(--text); }
.dl-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: start; }
.dl-step { display: flex; flex-direction: column; padding: 2rem 1.7rem; border: 1px solid var(--line); border-radius: 20px;
    background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.012));
    box-shadow: 0 40px 80px -40px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.05); transition: border-color .5s var(--ease); }
.dl-step:hover { border-color: rgba(201,169,110,.35); }
.dl-step .num { font-family: "Playfair Display", serif; font-size: 2.2rem; line-height: 1; color: var(--gold); margin-bottom: 1.2rem; }
.dl-step h3 { font-size: 1.1rem; margin-bottom: 1.2rem; }
.dl-step .lux-btn { align-self: flex-start; }
.dl-step ol { margin: 1.4rem 0 0; padding-left: 1.2rem; color: var(--soft); font-size: 14.5px; }
.dl-step li { margin: .45rem 0; }
.dl-step li::marker { color: var(--gold); }
.dl-note { margin: 1.2rem 0 0; padding: .8rem .95rem; border: 1px solid var(--line); border-radius: 12px; color: var(--soft); font-size: 13.5px; }
@media (max-width: 900px) { .dl-steps { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .dl-step .lux-btn { align-self: stretch; } }

/* chọn ngôn ngữ trên nền tối */
.lux .langs summary { color: var(--soft); font-size: 14px; transition: color .3s; }
.lux .langs summary:hover, .lux .langs[open] summary { color: var(--text); }
.lux .langs > div { background: rgba(18, 21, 28, .96); border-color: var(--line); backdrop-filter: blur(14px); animation: lux-rise .35s var(--ease) both; }
.lux .langs > div a { color: var(--soft); font-size: 14px; transition: color .25s, background-color .25s; }
.lux .langs > div a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.lux .langs > div a.on { color: var(--gold-hi); font-weight: 400; }

/* chữ Hán không có kiểu nghiêng — chỉ giữ màu nhấn */
:lang(zh) .lux em { font-style: normal; }

/* nút: phản hồi khi bấm + trạng thái tắt */
.lux-btn:active { transform: scale(.97); transition-duration: .12s; }
.lux-btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.lux-btn:disabled::after { display: none; }

/* ── Cổng khách (/portal): mỗi mã kích hoạt là một "thẻ hội viên" ── */
.lux main.portal { max-width: 1040px; }
.lux .who { color: var(--soft); font-size: 13px; }
.lux .ok { color: #9fd3b0; } .lux .warn { color: #e8c27a; font-weight: 400; } .lux .bad { color: #f3a6a9; font-weight: 400; }
.lux .small { font-size: 13px; }
.lux code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }
.p-head { padding: 2.5rem 0 .5rem; }
.p-head h1 { margin: 0; }
.p-empty { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; justify-content: space-between; margin-top: 2.5rem; padding: 2rem 2.2rem;
    border: 1px solid var(--line); border-radius: 22px; background: var(--panel); }
.p-empty p { margin: 0; max-width: 40rem; }

.shop { margin-top: 3rem; }
.shop > h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 1.4rem; }
.lic { padding: clamp(1.2rem, 3vw, 2.2rem); border: 1px solid var(--line); border-radius: 24px;
    background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.012));
    box-shadow: 0 50px 100px -50px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.05); }
.lic + .lic { margin-top: 1.4rem; }
.lic h3 { display: flex; flex-wrap: wrap; gap: .3rem 1rem; justify-content: space-between; align-items: baseline; margin: 2.4rem 0 1rem;
    font-family: "Playfair Display", Georgia, "Songti SC", serif; font-size: 1.3rem; }
.lic h3 span { font: 300 13px "Be Vietnam Pro", sans-serif; color: var(--soft); }
.lic > p { margin: 1.6rem 0 0; }

/* thẻ: viền vàng mảnh, quầng sáng góc, một vệt sáng lướt qua đúng một lần khi mở trang */
.pass { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem;
    padding: 1.7rem 1.9rem; border: 1px solid rgba(201,169,110,.3); border-radius: 18px;
    background: radial-gradient(120% 160% at 0% 0%, rgba(201,169,110,.15), transparent 55%), linear-gradient(160deg, #171a23, #0e1016);
    box-shadow: 0 30px 60px -35px rgba(0,0,0,.9), inset 0 1px 0 rgba(234,215,172,.12); }
.pass::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(110deg, transparent 35%, rgba(234,215,172,.11) 50%, transparent 65%);
    transform: translateX(-100%); animation: lux-sheen 2.2s var(--ease) .9s both; }
@keyframes lux-sheen { to { transform: translateX(100%); } }
.pass.locked { border-color: rgba(243,166,169,.3); background: linear-gradient(160deg, #1a171b, #0e1016); }
.pass.locked .key { color: var(--soft); }
.pass-label { display: block; margin-bottom: .45rem; font-size: 12.5px; letter-spacing: .04em; color: var(--soft); }
.pass .key { display: block; color: var(--gold-hi); font-size: clamp(1.05rem, 2.4vw, 1.45rem); font-weight: 500; letter-spacing: .12em; line-height: 1.25; user-select: all; overflow-wrap: anywhere; }
.pass-exp { display: grid; justify-items: end; gap: .2rem; text-align: right; }
.pass-exp strong { font-family: "Playfair Display", Georgia, serif; font-size: 1.9rem; font-weight: 500; line-height: 1.1; font-variant-numeric: lining-nums; }
.pass-exp strong.ok { color: var(--text); }

/* máy POS */
.devs ul { list-style: none; margin: 0; padding: 0; }
.devs li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; padding: .85rem 0; font-size: 15px; }
.devs li + li { border-top: 1px solid var(--line); }
.devs li code { margin-left: .5rem; color: var(--soft); font-size: 12px; }
.devs li > span:last-child { font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.devs li.revoked { opacity: .45; }
.buy { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .8rem 1rem; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.buy label { display: grid; gap: .45rem; font-size: 13px; color: var(--soft); }
.buy .small { flex-basis: 100%; }
.lux select { appearance: none; padding: .6rem 2.4rem .6rem 1rem; border: 1px solid rgba(236,232,225,.18); border-radius: 999px; color: var(--text); cursor: pointer;
    font: 400 14px "Be Vietnam Pro", sans-serif; transition: border-color .3s;
    background: rgba(0,0,0,.25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%23c9a96e' stroke-width='1.3'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 1rem center; }
.lux select:hover, .lux select:focus { border-color: var(--gold); outline: none; }
.lux option { background: #12151c; color: var(--text); }

/* gói gia hạn */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.plan { display: flex; flex-direction: column; gap: .3rem; padding: 1.5rem 1.4rem 1.4rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.02);
    transition: border-color .4s var(--ease), transform .4s var(--ease);
    animation: lux-rise .8s var(--ease) calc(.5s + var(--i, 0) * 70ms) backwards; }
.plan.deal { border-color: rgba(201,169,110,.42); background: radial-gradient(120% 120% at 100% 0%, rgba(201,169,110,.13), transparent 60%), rgba(255,255,255,.025); }
@media (hover: hover) { .plan:hover { border-color: rgba(201,169,110,.55); transform: translateY(-3px); } }
.plan-months { font-size: 14px; color: var(--soft); }
.plan-price { font-family: "Playfair Display", Georgia, serif; font-size: 1.85rem; line-height: 1.15; font-variant-numeric: lining-nums tabular-nums; }
.plan.deal .plan-price { color: var(--gold-hi); }
.plan-save { font-size: 13px; color: var(--gold); }
.plan-save s { display: block; color: var(--soft); opacity: .75; }
.plan-exp { margin-top: auto; padding-top: .8rem; font-size: 13px; color: var(--soft); }
.plan .lux-btn { margin-top: 1rem; }

/* lịch sử */
.history { margin-top: 1.4rem; }
.history summary { display: inline-flex; align-items: center; gap: .7rem; padding: .3rem 0; color: var(--gold-hi); font-size: 14px; cursor: pointer; list-style: none; }
.history summary::-webkit-details-marker { display: none; }
.history summary::after { content: ""; width: 6px; height: 6px; border-right: 1px solid; border-bottom: 1px solid; transform: translateY(-2px) rotate(45deg); transition: transform .35s var(--ease); }
.history[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.history[open] .scroll { animation: lux-rise .5s var(--ease) both; }
.scroll { overflow-x: auto; margin-top: .8rem; }
.lux-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lux-table th { padding: .6rem .8rem; border-bottom: 1px solid var(--line); text-align: left; font-size: 12px; font-weight: 500; letter-spacing: .05em; color: var(--soft); white-space: nowrap; }
.lux-table td { white-space: nowrap; padding: .75rem .8rem; border-bottom: 1px solid rgba(236,232,225,.05); font-variant-numeric: tabular-nums; }
.lux-table .num { text-align: right; }
.lux-table code { color: var(--gold-hi); font-size: 12.5px; }

/* sau thanh toán */
.result { display: grid; justify-items: center; gap: 1rem; max-width: 560px; margin: 8vh auto 0; padding: 3rem clamp(1.4rem, 4vw, 2.8rem); text-align: center;
    border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
    box-shadow: 0 50px 100px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.05); }
.result h1 { margin: 0; font-size: clamp(2rem, 4vw, 2.8rem); }
.result h1.ok { color: var(--text); }
.result p { margin: 0; }
.result code { color: var(--gold-hi); }
.result .lux-btn { margin-top: 1rem; }
.result.auth-err { color: #f3a6a9; border-color: rgba(240,104,110,.35); background: rgba(240,104,110,.08); }
.seal { position: relative; width: 64px; height: 64px; border: 1px solid var(--gold); border-radius: 50%; animation: lux-seal 1.4s var(--ease) .3s both; }
.seal::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 21px; border-right: 1.5px solid var(--gold-hi); border-bottom: 1.5px solid var(--gold-hi);
    transform: translate(-50%, -62%) rotate(45deg); animation: lux-check .6s var(--ease) .8s both; }
@keyframes lux-seal { from { opacity: 0; transform: scale(.9); box-shadow: 0 0 0 0 rgba(201,169,110,.45); } to { box-shadow: 0 0 0 20px rgba(201,169,110,0); } }
@keyframes lux-check { from { opacity: 0; transform: translate(-50%, -62%) rotate(45deg) scale(.6); } }
.sweep { position: relative; overflow: hidden; display: block; width: 140px; height: 1px; margin-bottom: .6rem; background: var(--line); }
.sweep::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--gold-hi), transparent); transform: translateX(-100%); animation: lux-sweep 1.6s ease-in-out infinite; }
@keyframes lux-sweep { to { transform: translateX(100%); } }

@media (max-width: 600px) {
    .pass { flex-direction: column; align-items: flex-start; padding: 1.4rem; }
    .pass-exp { justify-items: start; text-align: left; }
    .lux-nav nav { gap: .9rem; }
}
