/* ==== money/assets/flows.css ==== */
.mx-content{max-width:660px;margin:0 auto;display:grid;gap:16px}.mx-content .mx-card{padding:20px}.mx-content form{display:grid;gap:16px}.mx-content .twm-field{display:grid;gap:7px;margin:0}.mx-content h2{font-size:18px;margin:0 0 12px}.mx-content p{line-height:1.6;overflow-wrap:anywhere}.mx-content input,.mx-content select{width:100%;box-sizing:border-box;min-height:48px;font-size:16px}.mx-content .twm-btn{width:100%;cursor:pointer}.mx-link{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:10px 0;color:inherit;text-decoration:none;border-bottom:1px solid #eceafa}.mx-link:last-child{border-bottom:0}.mx-error{color:#a32132;background:#fff1f3;padding:12px;border-radius:12px}.mx-error[hidden]{display:none}.mx-content details{padding:12px 0;border-bottom:1px solid #eceafa}.mx-content summary{cursor:pointer;font-weight:800}.mx-content details p{white-space:pre-wrap}.mx-content address,.mx-content article{padding:14px 0;border-bottom:1px solid #eceafa}.mx-utilities{display:flex;flex-wrap:wrap;gap:20px;max-width:1200px;margin:18px auto}.mx-utilities .mx-link{font-size:13px;min-height:40px;border:0;color:#6553b0}.mx-content button:disabled{opacity:.6;cursor:wait}
.mx-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mx-products img{max-width:100%;height:140px;object-fit:contain}.mx-product-photo{width:100%;max-width:320px;max-height:320px;object-fit:contain}.mx-receipt{max-width:100%;max-height:480px;object-fit:contain}@media(min-width:1024px){.mx-products{grid-template-columns:repeat(3,minmax(0,1fr))}}
.mx-content{width:100%;box-sizing:border-box}.mx-content .mx-card{width:100%;box-sizing:border-box}.mx-products{grid-column:1/-1}
.mx-content form+form{margin-top:20px}.mx-barcode{padding:14px;background:white;overflow:auto}.mx-barcode svg{display:block;width:100%;min-width:260px;height:72px}
/* 1.39.0 KYC wizard + track */
.mx-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.mx-row .twm-btn{flex:1 1 140px}
.mx-choices{display:grid;gap:8px;margin:10px 0}.mx-choice{display:flex;gap:10px;align-items:center;padding:12px 14px;border:1px solid #e3e8f2;border-radius:14px;background:#fff;font-weight:700;cursor:pointer}
.mx-shot{margin-bottom:14px}.mx-prev{display:block;width:100%;max-height:260px;object-fit:contain;border-radius:14px;background:#f4f6fb;margin:6px 0}.mx-prev.sm{max-height:120px}
.mx-review{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0}
.mx-cam video{width:100%;max-height:320px;border-radius:16px;background:#0b1730;transform:scaleX(-1);object-fit:cover}
.mx-small{font-size:13px;color:#5a6a7a;margin:8px 0}.mx-or{text-align:center;color:#8a96a8;font-size:13px;margin:8px 0}.mx-google{display:flex;justify-content:center;gap:8px}
.mx-track-res{margin-top:14px;padding:14px;border-radius:14px;background:#f4f7ff}

.mx-empty{text-align:center;padding:18px 8px}.mx-empty img{width:120px;height:120px;object-fit:contain}.mx-empty h2{margin:8px 0 4px;font-size:17px}.mx-empty p{color:#6b7280;font-size:13px;margin:0}.mx-voucher{display:flex;gap:8px;align-items:flex-end;margin-top:14px}.mx-voucher>*{flex:1}.mx-voucher button{flex:0 0 auto}.mx-bot p{background:#f3f0ff;border-radius:14px 14px 14px 4px;padding:10px 12px;display:inline-block;margin:0 0 10px}

/* Notification display only; do not affect navigation or other cards. */
.mx-notification-item { min-width:0; padding-block:1rem; }
.mx-notification-item + .mx-notification-item { border-top:1px solid #e5e7eb; }
.mx-notification-item h2 { margin:0 0 .5rem; line-height:1.45; overflow-wrap:anywhere; }
.mx-notification-item p { margin:0 0 .625rem; line-height:1.65; white-space:pre-wrap; overflow-wrap:anywhere; }
.mx-notification-item small { display:block; line-height:1.5; overflow-wrap:anywhere; }
/* ==== money/assets/money.css ==== */
/* TW PAY · Money flows S00–S09 · Aurora · scoped under .twm · LOT-HOME-02 build 20261104home2 */
@font-face{font-family:"Nunito";src:url("nunito-var-lv.woff2?v=1") format("woff2"),url("nunito-var-lv.ttf?v=1") format("truetype");font-weight:200 1000;font-display:swap}
:root{--tw5-grad4:linear-gradient(100deg,#087BFF 0%,#743DFF 36%,#F414A0 70%,#FF8740 100%);--twm-nav-h:64px;--twm-cta-h:76px;
  --twm-navy:#16204a;--twm-ink:#2b3566;--twm-muted:#6b7398;--twm-line:#e8e6f5;--twm-bg:#f6f4ff;
  --twm-card:#fff;--twm-soft:#f3f1ff;--twm-violet:#6a4cf5;--twm-blue:#2f6bff;--twm-pink:#ee4fa6;--twm-orange:#ff8a3d;
  --twm-ok:#16a36a;--twm-ok-bg:#e8f8f0;--twm-err:#d93a4a;--twm-err-bg:#fff0f1;--twm-warn:#c76a00;--twm-warn-bg:#fff5e8;
  --twm-grad:linear-gradient(100deg,#2f6bff 0%,#7a4cf5 38%,#ee4fa6 72%,#ff8a3d 100%);
  --twm-r:20px;--twm-r-sm:14px;--twm-shadow:0 1px 2px rgba(22,32,74,.04),0 8px 24px rgba(74,60,170,.08);
  --twm-focus:0 0 0 3px #fff,0 0 0 5px #6a4cf5;
}
*{box-sizing:border-box}
html,body{margin:0}
body.twm-body{font-family:"Nunito",system-ui,-apple-system,"Segoe UI","Noto Sans TC","Noto Sans Thai",sans-serif;color:var(--twm-navy);
  background:var(--twm-bg);min-height:100vh;-webkit-font-smoothing:antialiased;font-variant-numeric:tabular-nums}
body.twm-body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(60vmax 40vmax at 0% 0%,rgba(122,76,245,.14),transparent 60%),radial-gradient(50vmax 40vmax at 100% 10%,rgba(238,79,166,.10),transparent 60%),radial-gradient(60vmax 50vmax at 50% 100%,rgba(47,107,255,.10),transparent 60%),var(--twm-bg)}
:where(.twm) :where(button,input,select){font:inherit;color:inherit}
.twm :focus-visible{outline:none;box-shadow:var(--twm-focus);border-radius:12px}
.twm .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* top bar */
.twm-top{position:sticky;top:0;z-index:20;background:rgba(246,244,255,.82);backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px);padding-top:env(safe-area-inset-top)}
.twm-top-in{max-width:1200px;margin:0 auto;display:flex;align-items:center;gap:10px;padding:10px 16px;min-height:60px}
.twm-brand{display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--twm-navy);font-weight:900;font-size:19px;letter-spacing:.2px;min-height:44px}
.twm-brand img{width:36px;height:36px;border-radius:50%}
.twm-sp{flex:1}
.twm-lang{position:relative}
.twm-lang select{appearance:none;-webkit-appearance:none;border:1px solid var(--twm-line);background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b7398' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;border-radius:999px;height:44px;padding:0 30px 0 14px;font-weight:800;font-size:14px;cursor:pointer}
.twm-icobtn{width:44px;height:44px;border-radius:50%;border:1px solid var(--twm-line);background:#fff;display:grid;place-items:center;cursor:pointer;color:var(--twm-ink)}
.twm-desk-nav{display:none;gap:4px}
.twm-desk-nav a{display:flex;align-items:center;gap:6px;padding:0 14px;height:44px;border-radius:999px;color:var(--twm-ink);text-decoration:none;font-weight:800;font-size:15px}
.twm-desk-nav a[aria-current="page"]{background:#fff;color:var(--twm-violet);box-shadow:var(--twm-shadow)}
/* page */
.twm-main{max-width:560px;margin:0 auto;padding:4px 16px calc(var(--twm-nav-h) + var(--twm-cta-h) + 40px + env(safe-area-inset-bottom))}
/* QA-016: keep focused/scrolled-to content clear of the fixed CTA + nav */
html{scroll-padding-bottom:calc(var(--twm-nav-h) + var(--twm-cta-h) + 16px + env(safe-area-inset-bottom))}
.twm-main>:last-child{scroll-margin-bottom:calc(var(--twm-nav-h) + var(--twm-cta-h) + 16px + env(safe-area-inset-bottom))}
.twm-head{display:flex;align-items:center;gap:10px;margin:6px 0 12px}
.twm-back{width:44px;height:44px;border-radius:50%;border:0;background:#fff;box-shadow:var(--twm-shadow);display:grid;place-items:center;cursor:pointer;flex:none;color:var(--twm-navy)}
.twm-h1{font-size:24px;line-height:1.2;font-weight:900;margin:0;letter-spacing:-.2px}
.twm-sub{color:var(--twm-muted);font-size:14.5px;margin:-4px 0 12px;font-weight:600}
.twm-dir{display:flex;align-items:center;gap:10px;background:#fff;border-radius:999px;padding:8px 14px;box-shadow:var(--twm-shadow);font-weight:800;font-size:14.5px;margin-bottom:14px;border:1px solid transparent;background-image:linear-gradient(#fff,#fff),var(--twm-grad);background-origin:border-box;background-clip:padding-box,border-box}
.twm-dir .fl{font-size:20px;line-height:1}
.twm-dir .ar{color:var(--twm-violet);font-weight:900}
.twm-dir b{font-weight:900}
.twm-dir small{color:var(--twm-muted);font-weight:800;margin-left:auto;white-space:nowrap}
/* stepper */
.twm-steps{display:grid;grid-template-columns:repeat(var(--n,4),1fr);margin:2px 0 16px;list-style:none;padding:0}
.twm-steps li{position:relative;text-align:center;font-size:12px;font-weight:800;color:var(--twm-muted)}
.twm-steps li::before{content:"";position:absolute;top:14px;left:-50%;right:50%;height:3px;background:var(--twm-line);z-index:0}
.twm-steps li:first-child::before{display:none}
.twm-steps li.done::before,.twm-steps li.on::before{background:var(--twm-grad)}
.twm-steps .dot{position:relative;z-index:1;width:30px;height:30px;margin:0 auto 4px;border-radius:50%;display:grid;place-items:center;background:#fff;border:2px solid var(--twm-line);font-size:13px;color:var(--twm-muted)}
.twm-steps li.on{color:var(--twm-violet)}
.twm-steps li.on .dot{border:0;background:var(--twm-grad);color:#fff;box-shadow:0 4px 12px rgba(122,76,245,.35)}
.twm-steps li.done{color:var(--twm-ok)}
.twm-steps li.done .dot{border:0;background:var(--twm-ok);color:#fff}
/* cards */
.twm-card{background:var(--twm-card);border-radius:var(--twm-r);box-shadow:var(--twm-shadow);padding:16px;margin-bottom:12px}
.twm-card h2{font-size:16px;font-weight:900;margin:0 0 12px;display:flex;align-items:center;gap:8px}
.twm-lbl{display:block;font-weight:800;font-size:14px;margin:0 0 6px;color:var(--twm-ink)}
.twm-field{position:relative;margin-bottom:12px}
.twm-input{width:100%;height:56px;border-radius:var(--twm-r-sm);border:1.5px solid var(--twm-line);background:#fff;padding:0 16px;font-size:20px;font-weight:800;transition:border-color .15s}
.twm-input.sm{height:52px;font-size:16px;font-weight:700}
.twm-input::placeholder{color:#a9aecb;font-weight:600}
.twm-input:focus{outline:none;border-color:var(--twm-violet);box-shadow:0 0 0 4px rgba(106,76,245,.14)}
.twm-input[aria-invalid="true"]{border-color:var(--twm-err);background:var(--twm-err-bg)}
.twm-unit{position:absolute;right:14px;top:50%;transform:translateY(-50%);font-weight:900;color:var(--twm-muted);pointer-events:none}
.twm-chips{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.twm-chip{min-height:46px;border-radius:14px;border:1.5px solid transparent;background:linear-gradient(180deg,#f1edff,#e9e4ff);font-weight:800;font-size:14.5px;cursor:pointer;color:var(--twm-ink)}
.twm-chip:hover{border-color:#cfc8f7}
.twm-chip[aria-pressed="true"]{border-color:transparent;color:#fff;background:var(--twm-grad);box-shadow:0 6px 14px rgba(122,76,245,.28)}
.twm-hint{font-size:13px;color:var(--twm-muted);font-weight:600;margin-top:6px}
.twm-err{display:flex;gap:8px;align-items:flex-start;background:var(--twm-err-bg);color:var(--twm-err);border-radius:12px;padding:10px 12px;font-size:13.5px;font-weight:700;margin-top:8px}
.twm-err[hidden]{display:none}
/* hero receive */
.twm-recv{border-radius:var(--twm-r);padding:16px;margin-bottom:12px;background:linear-gradient(135deg,#f1edff,#fdf0f8 60%,#fff4ea);border:1px solid #ece6ff}
.twm-recv .k{font-size:14px;font-weight:800;color:var(--twm-ink)}
.twm-recv .v{font-size:34px;font-weight:900;letter-spacing:-.5px;line-height:1.15;margin-top:4px;background:var(--twm-grad);-webkit-background-clip:text;background-clip:text;color:transparent;word-break:break-all}
.twm-recv .v span{font-size:20px}
/* receipt rows */
.twm-rows{margin:0;padding:0}
.twm-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 0;border-bottom:1px dashed var(--twm-line);font-size:14.5px}
.twm-row:last-child{border-bottom:0}
.twm-row dt{color:var(--twm-muted);font-weight:700;display:flex;align-items:center;gap:8px}
.twm-row dd{margin:0;font-weight:900;text-align:right;color:var(--twm-navy)}
.twm-row.total dt{color:var(--twm-navy);font-weight:900}
.twm-row.total dd{font-size:18px}
.twm-ico{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:var(--twm-soft);color:var(--twm-violet);flex:none}
.twm-limit{margin-top:6px}
.twm-bar{height:8px;border-radius:99px;background:var(--twm-soft);overflow:hidden;margin-top:6px}
.twm-bar i{display:block;height:100%;width:0;background:var(--twm-grad);border-radius:99px;transition:width .25s}
.twm-bar.over i{background:var(--twm-err)}
.twm-limit-meta{display:flex;justify-content:space-between;font-size:12.5px;color:var(--twm-muted);font-weight:700;margin-top:4px}
/* option cards */
.twm-opts{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.twm-opt{position:relative;min-height:72px;border-radius:16px;border:1.5px solid var(--twm-line);background:#fff;padding:12px;display:flex;align-items:center;gap:10px;cursor:pointer;text-align:left;font-weight:800;font-size:14.5px;color:var(--twm-navy)}
.twm-opt[aria-checked="true"],.twm-opt[aria-pressed="true"]{border-color:transparent;background-image:linear-gradient(#f8f6ff,#f8f6ff),var(--twm-grad);background-origin:border-box;background-clip:padding-box,border-box;border-width:2px}
.twm-opt[aria-checked="true"]::after,.twm-opt[aria-pressed="true"]::after{content:"";position:absolute;top:8px;right:8px;width:20px;height:20px;border-radius:50%;background:var(--twm-violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat}
.twm-opt:disabled{opacity:.5;cursor:not-allowed}
.twm-opt .em{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-size:22px;background:var(--twm-soft);flex:none}
.twm-opt small{display:block;color:var(--twm-muted);font-weight:700;font-size:12px}
.twm-cvs{display:grid;place-items:center;height:40px;min-width:40px;padding:0 8px;border-radius:10px;font-weight:900;font-size:13px;letter-spacing:.2px;background:var(--twm-soft);color:var(--twm-navy)}
/* flow cards S00 */
.twm-flow{display:flex;align-items:center;gap:14px;width:100%;text-align:left;background:#fff;border:1.5px solid transparent;border-radius:24px;padding:18px 16px;box-shadow:var(--twm-shadow);cursor:pointer;margin-bottom:12px;text-decoration:none;color:var(--twm-navy);transition:transform .15s,box-shadow .15s}
.twm-flow:hover{transform:translateY(-1px);box-shadow:0 2px 4px rgba(22,32,74,.05),0 14px 30px rgba(74,60,170,.14)}
.twm-flow .art{width:76px;height:76px;border-radius:20px;flex:none;display:grid;place-items:center;font-size:30px;background:linear-gradient(135deg,#e9e3ff,#ffe6f2)}
.twm-flow.b .art{background:linear-gradient(135deg,#e2ecff,#efe6ff)}
.twm-flow .t{font-size:19px;font-weight:900;line-height:1.25}
.twm-flow .p{display:inline-flex;align-items:center;gap:6px;margin:6px 0 4px;padding:3px 10px;border-radius:99px;background:var(--twm-soft);font-weight:900;font-size:13.5px}
.twm-flow .d{font-size:13.5px;color:var(--twm-muted);font-weight:600}
.twm-flow .go{margin-left:auto;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--twm-soft);color:var(--twm-violet);flex:none}
.twm-rate-card .r{display:flex;justify-content:space-between;padding:6px 0;font-weight:800;font-size:15px}
.twm-rate-card .src{font-size:12.5px;color:var(--twm-muted);font-weight:600;margin-top:6px}
/* ticket */
.twm-ticket{position:relative;background:#fff;border-radius:var(--twm-r);box-shadow:0 2px 4px rgba(22,32,74,.05),0 16px 36px rgba(74,60,170,.12);padding:16px;margin-bottom:12px;overflow:hidden}
.twm-ticket::before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:var(--twm-grad)}
.twm-amount-big{font-size:32px;font-weight:900;letter-spacing:-.4px}
.twm-copy{min-height:36px;min-width:44px;border-radius:10px;border:1px solid var(--twm-line);background:var(--twm-soft);color:var(--twm-violet);font-weight:800;font-size:13px;padding:0 10px;cursor:pointer;display:inline-flex;align-items:center;gap:4px}
.twm-copy.ok{color:var(--twm-ok);background:var(--twm-ok-bg);border-color:#bfe9d4}
/* timeline */
.twm-tl{display:grid;grid-template-columns:repeat(3,1fr);list-style:none;padding:0;margin:4px 0 14px}
.twm-tl li{text-align:center;position:relative;font-size:12.5px;font-weight:800;color:var(--twm-muted)}
.twm-tl li::before{content:"";position:absolute;top:15px;left:-50%;right:50%;height:3px;background:var(--twm-line)}
.twm-tl li:first-child::before{display:none}
.twm-tl li.done::before,.twm-tl li.on::before{background:var(--twm-grad)}
.twm-tl .dot{position:relative;z-index:1;width:32px;height:32px;border-radius:50%;margin:0 auto 4px;display:grid;place-items:center;background:#fff;border:2px solid var(--twm-line)}
.twm-tl li.done{color:var(--twm-ok)}.twm-tl li.done .dot{background:var(--twm-ok);border:0;color:#fff}
.twm-tl li.on{color:var(--twm-violet)}.twm-tl li.on .dot{background:var(--twm-grad);border:0;color:#fff;animation:twmPulse 1.6s ease-in-out infinite}
@keyframes twmPulse{0%,100%{box-shadow:0 0 0 0 rgba(122,76,245,.45)}50%{box-shadow:0 0 0 8px rgba(122,76,245,0)}}
@media (prefers-reduced-motion:reduce){.twm-tl li.on .dot,.twm-skel{animation:none!important}}
.twm-skel{height:52px;border-radius:12px;margin:8px 0;background:linear-gradient(90deg,#f0eef9 0%,#e6e3f5 40%,#f0eef9 80%);background-size:200% 100%;animation:twmShim 1.4s linear infinite}
@keyframes twmShim{to{background-position:-200% 0}}
/* pay card / barcodes */
.twm-paycard{position:relative;background:#fff;border-radius:var(--twm-r);padding:16px 14px;box-shadow:0 2px 4px rgba(22,32,74,.05),0 18px 40px rgba(74,60,170,.14);margin-bottom:12px;overflow:hidden}
.twm-paycard .wm{position:absolute;inset:0;display:grid;place-items:center;font-weight:900;font-size:64px;color:rgba(106,76,245,.045);transform:rotate(-18deg);pointer-events:none;letter-spacing:4px}
.twm-bc{position:relative;background:#fff;border:1px solid #eceaf6;border-radius:12px;padding:10px 10px 6px;margin-bottom:10px;display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center}
.twm-bc .n{font-size:12px;font-weight:900;color:var(--twm-muted);writing-mode:horizontal-tb;background:var(--twm-soft);border-radius:8px;padding:4px 6px}
.twm-bc svg{width:100%;height:58px;display:block;background:#fff}
.twm-bc .txt{grid-column:2;text-align:center;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:13px;font-weight:700;letter-spacing:2px;color:#111}
.twm-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:99px;font-size:12.5px;font-weight:900}
.twm-badge.ok{background:var(--twm-ok-bg);color:var(--twm-ok)}
.twm-badge.wait{background:var(--twm-warn-bg);color:var(--twm-warn)}
.twm-badge.info{background:var(--twm-soft);color:var(--twm-violet)}
.twm-sample{display:inline-block;font-size:11px;font-weight:900;padding:2px 8px;border-radius:6px;background:#fff3cd;color:#8a5a00;letter-spacing:.5px}
.twm-howto{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;list-style:none;padding:0;margin:0;counter-reset:s}
.twm-howto li{background:var(--twm-soft);border-radius:14px;padding:10px 8px;font-size:12.5px;font-weight:800;text-align:center;counter-increment:s}
.twm-howto li::before{content:counter(s);display:grid;place-items:center;width:26px;height:26px;margin:0 auto 6px;border-radius:50%;background:var(--twm-grad);color:#fff;font-weight:900}
/* QR */
.twm-qr{display:grid;place-items:center;padding:12px;background:#fff;border-radius:16px;border:1px solid var(--twm-line);width:220px;height:220px;margin:4px auto 10px}
.twm-qr.empty{color:var(--twm-muted);font-weight:800;font-size:13px;text-align:center;background:repeating-linear-gradient(45deg,#faf9ff,#faf9ff 8px,#f3f1ff 8px,#f3f1ff 16px)}
/* notices */
.twm-note{display:flex;gap:10px;align-items:flex-start;border-radius:14px;padding:12px;font-size:13.5px;font-weight:700;margin-bottom:12px}
.twm-note.warn{background:var(--twm-warn-bg);color:#8a4d00}
.twm-note.info{background:var(--twm-soft);color:var(--twm-ink)}
.twm-note.err{background:var(--twm-err-bg);color:var(--twm-err)}
.twm-note.ok{background:var(--twm-ok-bg);color:#0d7a4e}
.twm-secure{display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px;font-weight:800;color:#0d7a4e;margin:14px 0 4px}
.twm-secure .lk{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:var(--twm-ok-bg)}
/* sticky CTA */
.twm-cta{position:fixed;left:0;right:0;bottom:calc(64px + env(safe-area-inset-bottom));z-index:15;padding:10px 16px;background:#f6f4ff;box-shadow:0 -8px 16px -8px rgba(30,20,80,.18)}
.twm-cta-in{max-width:528px;margin:0 auto;display:grid;gap:8px}
.twm-sum{display:flex;justify-content:space-between;gap:8px;background:#fff;border-radius:14px;padding:8px 12px;box-shadow:var(--twm-shadow);font-size:12.5px;font-weight:700;color:var(--twm-muted)}
.twm-sum b{display:block;color:var(--twm-navy);font-size:14px;font-weight:900}
.twm-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:54px;border-radius:16px;border:0;background:var(--twm-grad);color:#fff;font-weight:900;font-size:17px;cursor:pointer;box-shadow:0 8px 20px rgba(122,76,245,.32);text-decoration:none;transition:filter .15s,transform .05s}
.twm-btn:hover{filter:brightness(1.05)}.twm-btn:active{transform:translateY(1px)}
.twm-btn:disabled,.twm-btn[aria-disabled="true"]{background:#d9d6ea;box-shadow:none;color:#fff;cursor:not-allowed}
.twm-btn.ghost{background:#fff;color:var(--twm-violet);border:1.5px solid #d9d1fb;box-shadow:none;min-height:48px;font-size:15.5px}
.twm-btn .spin{width:18px;height:18px;border-radius:50%;border:2.5px solid rgba(255,255,255,.5);border-top-color:#fff;animation:twmSpin .8s linear infinite}
@keyframes twmSpin{to{transform:rotate(360deg)}}
/* bottom nav */
.twm-nav{position:fixed;left:0;right:0;bottom:0;z-index:16;background:#fff;border-top:1px solid var(--twm-line);padding-bottom:env(safe-area-inset-bottom)}
.twm-nav ul{max-width:560px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);list-style:none;padding:0;margin-top:0;margin-bottom:0}
.twm-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;height:64px;font-size:12px;font-weight:800;color:var(--twm-muted);text-decoration:none}
.twm-nav a[aria-current="page"]{color:var(--twm-violet)}
.twm-nav a[aria-current="page"] svg{stroke:url(#twmG)}
/* sheet */
.twm-sheet-bg{position:fixed;inset:0;background:rgba(22,32,74,.4);z-index:40;display:flex;align-items:flex-end;justify-content:center}
.twm-sheet{background:#fff;width:100%;max-width:560px;max-height:82vh;border-radius:24px 24px 0 0;padding:8px 16px calc(16px + env(safe-area-inset-bottom));display:flex;flex-direction:column}
.twm-sheet .grab{width:40px;height:5px;border-radius:9px;background:#dcd9ec;margin:4px auto 10px}
.twm-sheet ul{list-style:none;margin:8px 0 0;padding:0;overflow:auto}
.twm-sheet li button{width:100%;min-height:52px;border:0;background:none;text-align:left;padding:8px 6px;border-bottom:1px solid var(--twm-line);cursor:pointer;display:flex;flex-direction:column;justify-content:center}
.twm-sheet li button small{color:var(--twm-muted);font-weight:600}
.twm-select{width:100%;min-height:52px;border-radius:var(--twm-r-sm);border:1.5px solid var(--twm-line);background:#fff;padding:0 14px;text-align:left;font-weight:700;font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:space-between;color:var(--twm-navy)}
.twm-select .ph{color:#a9aecb;font-weight:600}
.twm-inline{display:flex;gap:8px}.twm-inline .twm-input{flex:1}
.twm-inline .twm-btn{width:auto;min-height:52px;padding:0 16px;font-size:15px}
.twm-toast{position:fixed;left:50%;bottom:calc(150px + env(safe-area-inset-bottom));transform:translateX(-50%);background:var(--twm-navy);color:#fff;font-weight:800;padding:10px 16px;border-radius:12px;z-index:50;font-size:14px}
.twm-hero-ill{width:120px;height:120px;margin:4px auto 10px;border-radius:32px;display:grid;place-items:center;font-size:54px;background:linear-gradient(135deg,#ebe5ff,#ffe8f3 60%,#fff1e3);box-shadow:var(--twm-shadow)}
.twm-center{text-align:center}
/* desktop */
@media (min-width:1024px){
  .twm-desk-nav{display:flex}
  .twm-nav{display:none}
  .twm-main{max-width:1080px;padding:12px 32px 64px;display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:24px;align-items:start}
  .twm-main>.twm-col-main{min-width:0}
  .twm-main>.twm-col-side{position:sticky;top:84px}
  .twm-main.one{grid-template-columns:minmax(0,640px);justify-content:center}
  .twm-cta{position:static;padding:0;background:none}
  .twm-cta-in{max-width:none}
  .twm-h1{font-size:30px}
  .twm-flows{display:grid;grid-template-columns:1fr 1fr;gap:16px}
  .twm-flows .twm-flow{margin:0}
}
@media (min-width:1024px){.twm-toast{bottom:40px}}
@media (max-width:380px){.twm-chip{font-size:13.5px}.twm-recv .v{font-size:30px}.twm-opt{font-size:13.5px}}
.twm-skip{position:absolute;left:8px;top:-60px;z-index:100;background:#fff;color:var(--twm-navy);padding:10px 14px;border-radius:10px;font-weight:800}
.twm-skip:focus{top:8px}
.twm .twm-h1:focus,.twm .twm-h1:focus-visible{box-shadow:none;outline:none}

/* flow art v2 */
.twm-flow .art{position:relative;width:84px;height:84px;border-radius:24px;overflow:hidden}
.twm-flow .art .f1,.twm-flow .art .f2{position:absolute;font-size:30px;line-height:1;filter:drop-shadow(0 3px 4px rgba(22,32,74,.18))}
.twm-flow .art .f1{left:10px;top:12px}.twm-flow .art .f2{right:10px;bottom:12px}
.twm-flow .art svg{position:absolute;inset:0;margin:auto}
.twm-flow .art .coin{position:absolute;right:8px;top:8px;width:26px;height:26px;border-radius:50%;background:linear-gradient(135deg,#ffd76a,#f5a623);color:#7a4a00;font-size:10px;font-weight:900;display:grid;place-items:center;box-shadow:0 2px 5px rgba(160,100,0,.3)}
.twm-flow .t{font-size:18.5px}
.twm-recv{display:flex;align-items:center;gap:14px}
.twm-recv .ic{width:52px;height:52px;border-radius:16px;flex:none;display:grid;place-items:center;background:#fff;box-shadow:var(--twm-shadow);font-size:26px}
.twm-recv .v{font-size:32px}
.twm-nav a[aria-current="page"]{color:#c13ad1}
.twm-rate-card .r span:last-child{color:var(--twm-violet)}
.twm-row dt{white-space:nowrap}
.twm-opts.col{grid-template-columns:1fr}
.twm-opts.col .twm-opt{min-height:64px}

/* ===== v2 visual layer (20261103b) ===== */
body.twm-body{background:
 radial-gradient(70vmax 50vmax at -10% -10%,rgba(122,76,245,.30),transparent 60%),
 radial-gradient(60vmax 45vmax at 110% 0%,rgba(238,79,166,.24),transparent 60%),
 radial-gradient(60vmax 50vmax at 100% 80%,rgba(255,138,61,.14),transparent 60%),
 radial-gradient(70vmax 55vmax at 0% 100%,rgba(47,107,255,.22),transparent 60%),#f4f1ff;background-attachment:fixed}
.twm-card,.twm-flow,.twm-dir{background-color:rgba(255,255,255,.78);-webkit-backdrop-filter:blur(14px) saturate(1.3);backdrop-filter:blur(14px) saturate(1.3);border:1px solid rgba(255,255,255,.9);box-shadow:0 1px 2px rgba(22,32,74,.05),0 14px 36px rgba(74,60,170,.13)}
.twm-card{border-radius:24px;padding:20px;margin-bottom:16px}
.twm-card h2{font-size:18px;font-weight:900}
.twm-h1{font-size:28px;font-weight:900;letter-spacing:-.5px}
.twm-sub{font-size:15.5px;margin:-2px 0 18px}
/* direction banner */
.twm-dir{border-radius:22px;padding:14px 16px;gap:14px;margin-bottom:18px;background-image:linear-gradient(rgba(255,255,255,.9),rgba(255,255,255,.9)),var(--twm-grad);border:2px solid transparent}
.twm-dir .fls{display:flex;align-items:center;gap:6px;flex:none}
.twm-dir .twm-flag{filter:drop-shadow(0 3px 5px rgba(22,32,74,.2))}
.twm-dir .tx{display:flex;flex-direction:column;min-width:0}
.twm-dir b{font-size:17px;line-height:1.2}
.twm-dir small{margin:2px 0 0;font-size:13.5px;color:var(--twm-violet)}
.twm-flag{display:inline-block;vertical-align:middle;flex:none}
/* flow cards */
.twm-flows{display:grid;gap:16px;margin-bottom:18px}
.twm-flow{border-radius:28px;padding:16px;gap:14px;align-items:center;min-height:132px;position:relative;overflow:hidden}
.twm-flow::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:2px;background:var(--twm-grad);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:.55;pointer-events:none}
.twm-flow .art{width:112px;height:96px;border-radius:22px;background:linear-gradient(135deg,#ebe4ff,#ffe7f3 60%,#fff1e4)!important;overflow:visible}
.twm-flow.b .art{background:linear-gradient(135deg,#e1ebff,#ece4ff 60%,#f6e9ff)!important}
.twm-art-svg{width:100%;height:100%;display:block}
.twm-flow .bd{min-width:0;flex:1}
.twm-flow .t{font-size:20px;line-height:1.2;display:block}
.twm-flow .p{gap:5px;padding:4px 10px;font-size:13.5px;background:#fff;box-shadow:inset 0 0 0 1px #e7e1ff}
.twm-flow .p .pa{color:var(--twm-violet)}
.twm-flow .d{display:block;line-height:1.35}
.twm-flow .go{width:44px;height:44px;background:var(--twm-grad);color:#fff;box-shadow:0 6px 14px rgba(122,76,245,.32)}
.twm-flow br{display:none}
/* rate card */
.twm-rate-card{position:relative;overflow:hidden}
.twm-rate-card .rart{position:absolute;right:10px;top:8px;width:84px;height:74px;opacity:.95}
.twm-rate-card h2{padding-right:90px}
.twm-rate-card .r{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 0;border-top:1px dashed #e3ddfa;font-weight:900;font-size:16.5px}
.twm-rate-card .r span:first-child{display:flex;align-items:center;gap:8px}
/* lock badge pill */
.twm-secure{margin:18px auto 6px;width:max-content;max-width:100%;padding:10px 18px 10px 10px;border-radius:999px;background:linear-gradient(135deg,#e6f9ef,#d3f4e3);color:#0b6b43;font-size:14.5px;font-weight:900;box-shadow:0 6px 18px rgba(22,163,106,.18),inset 0 0 0 1px #bfead4;min-height:44px}
.twm-secure .lk{width:30px;height:30px;border-radius:50%;background:#16a36a;color:#fff}
.twm-secure .lk svg{stroke:#fff}
/* amounts */
.twm-recv{padding:20px;border-radius:24px;box-shadow:0 14px 36px rgba(122,76,245,.14)}
.twm-recv .ic{width:60px;height:60px;border-radius:18px}
.twm-recv .v{font-size:40px;letter-spacing:-1px}
.twm-amount-big{font-size:40px;letter-spacing:-1px;line-height:1.1;background:var(--twm-grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.twm-input{height:62px;font-size:24px;border-radius:16px}
.twm-chip{min-height:50px;font-size:15.5px}
.twm-btn{min-height:58px;font-size:18px;border-radius:18px;box-shadow:0 10px 24px rgba(122,76,245,.32)}
.twm-opt{min-height:78px;border-radius:18px}
/* store logos */
.twm-opts .twm-opt[data-st]{flex-direction:column;justify-content:center;gap:6px;min-height:96px;text-align:center}
.twm-logo{display:grid;place-items:center;height:44px;width:100%}
.twm-logo img{max-height:44px;max-width:100%;width:auto;height:auto;object-fit:contain}
.twm-logo.sm{height:36px;width:auto;padding:4px 8px;background:#fff;border-radius:12px;box-shadow:inset 0 0 0 1px #ece6ff}
.twm-logo.sm img{max-height:28px;max-width:110px}
.twm-cvs-n{font-size:13px;font-weight:800;color:var(--twm-ink)}
/* status row */
.twm-status{list-style:none;margin:0 0 16px;padding:12px;display:grid;grid-template-columns:repeat(3,1fr);gap:6px;border-radius:20px;background:rgba(255,255,255,.75);box-shadow:0 10px 28px rgba(74,60,170,.12)}
.twm-status li{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;font-size:13px;font-weight:900;color:var(--twm-muted);position:relative}
.twm-status li+li::before{content:"";position:absolute;top:17px;right:calc(50% + 22px);width:calc(100% - 38px);height:3px;border-radius:3px;background:var(--twm-line)}
.twm-status li.done::before,.twm-status li.now::before{background:var(--twm-grad)}
.twm-status .dot{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#fff;border:2px solid var(--twm-line);font-size:14px}
.twm-status .dot svg{width:18px;height:18px}
.twm-status li.done{color:var(--twm-ok)}.twm-status li.done .dot{background:var(--twm-ok);border-color:var(--twm-ok);color:#fff}.twm-status li.done .dot svg{stroke:#fff}
.twm-status li.now{color:#b35c00}.twm-status li.now .dot{background:#fff5e8;border-color:#ff9f43;color:#b35c00;box-shadow:0 0 0 5px rgba(255,159,67,.18)}
.twm-status li.now.done{color:var(--twm-ok)}.twm-status li.now.done .dot{background:var(--twm-ok);border-color:var(--twm-ok);box-shadow:0 0 0 5px rgba(22,163,106,.18)}
/* how-to with icons */
.twm-howto.ic{list-style:none;padding:0;margin:0;display:grid;gap:12px;counter-reset:none}
.twm-howto.ic li{display:flex;align-items:center;gap:14px;font-weight:800;font-size:15px;padding:0;min-height:56px}
.twm-howto.ic li::before{display:none}
.twm-howto.ic .hi{position:relative;width:52px;height:52px;border-radius:16px;flex:none;display:grid;place-items:center;color:var(--twm-violet);background:linear-gradient(135deg,#ece6ff,#ffe7f3)}
.twm-howto.ic .hi b{position:absolute;top:-6px;right:-6px;width:22px;height:22px;border-radius:50%;background:var(--twm-grad);color:#fff;font-size:12px;display:grid;place-items:center;box-shadow:0 3px 8px rgba(122,76,245,.4)}
.twm-paycard{border-radius:26px;box-shadow:0 18px 44px rgba(74,60,170,.18)}
@media (min-width:1024px){
 .twm-main{max-width:1200px;grid-template-columns:minmax(0,1fr) 420px;gap:32px;padding-top:20px}
 .twm-main.one{grid-template-columns:minmax(0,1fr);max-width:1200px}
 .twm-h1{font-size:38px}
 .twm-flows{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
 .twm-flow{min-height:170px;padding:22px}
 .twm-flow .art{width:150px;height:128px}
 .twm-flow .t{font-size:23px}
 .twm-rate-card .r{font-size:18px}
 .twm-recv .v,.twm-amount-big{font-size:46px}
}
@media (min-width:1280px){ .twm-main.one .twm-rate-card{display:grid;grid-template-columns:auto 1fr 1fr;column-gap:32px;align-items:center}
 .twm-main.one .twm-rate-card .rart{position:static;grid-row:span 3}
 .twm-main.one .twm-rate-card h2{padding:0;grid-column:2/4}
 .twm-main.one .twm-rate-card .src{grid-column:2/4} }
@media (max-width:380px){.twm-flow .art{width:96px;height:84px}.twm-flow .t{font-size:18px}.twm-recv .v,.twm-amount-big{font-size:34px}}
.twm-flow .p{white-space:nowrap;flex-wrap:nowrap}
.twm-rate-card .rart{width:66px;height:58px;top:12px;right:14px}
.twm-rate-card h2{min-height:58px;display:flex;align-items:center;margin-bottom:4px}
.twm-howto.ic{grid-template-columns:1fr!important}
.twm-howto.ic li{flex-direction:row!important;text-align:left!important;background:none!important;box-shadow:none!important}
.twm-flow{padding:14px 10px 14px 14px;gap:12px}
.twm-flow .go{width:32px;height:44px;border-radius:12px;background:none;box-shadow:none;color:var(--twm-violet)}
.twm-flow .go svg{width:24px;height:24px;stroke-width:3}
.twm-flow .art{width:118px;height:104px}
.twm-flow .t{font-size:21px;letter-spacing:-.3px}
.twm-flow .p{font-size:13px;padding:4px 8px;max-width:100%}
.twm-flow .d{font-size:14px}
@media (min-width:1024px){.twm-flow .art{width:160px;height:136px}.twm-flow .t{font-size:25px}.twm-flow .p{font-size:15px}.twm-flow .d{font-size:15.5px}.twm-main.one .twm-sub{margin-top:8px}}
.twm-flows .twm-flow{margin:0}
.twm-logo.sm{display:inline-flex;gap:8px;align-items:center;height:48px;padding:6px 12px}
.twm-logo.sm b{font-weight:900;font-size:15px;white-space:nowrap}
.twm-paycard .twm-btn.ghost{min-height:54px;font-size:17px}
.twm-bc .n{font-size:14px}
/* ===== v3 polish ===== */
.twm-h1{font-size:30px;letter-spacing:-.6px}
.twm-card h2{font-size:19px}
.twm-lbl{font-size:16px;font-weight:900;color:var(--twm-navy)}
.twm-row{font-size:16px;padding:13px 0}
.twm-row dd{font-size:16.5px}
.twm-row.total dd{font-size:21px;background:var(--twm-grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.twm-row .twm-ico{width:34px;height:34px;border-radius:11px;background:linear-gradient(135deg,#ece6ff,#ffe7f3);color:var(--twm-violet)}
.twm-recv .k{font-size:15.5px;font-weight:900}
.twm-recv .v{font-size:44px}
.twm-recv{border:2px solid transparent;background-image:linear-gradient(135deg,#f3eeff,#fdf0f8 60%,#fff4ea),var(--twm-grad);background-origin:border-box;background-clip:padding-box,border-box}
.twm-input{font-size:26px;height:64px}
.twm-chip{font-size:16.5px;min-height:52px;font-weight:900}
.twm-note,.twm-hint{font-size:14.5px}
.twm-secure{font-size:15.5px;padding:12px 22px 12px 12px}
.twm-dir b{font-size:18px}
.twm-steps li{font-size:13px}.twm-steps .dot{width:34px;height:34px;font-size:15px}
/* hero art */
.twm-hero-ill.art{width:220px;height:180px;background:none;box-shadow:none;border-radius:0;margin:0 auto 6px}
.twm-hero-ill.art.big{width:260px;height:210px}
/* quick-bank logo */
.twm-qb .lg{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:#fff;box-shadow:inset 0 0 0 1px var(--twm-line)}
.twm-qb .lg img{width:34px;height:34px;object-fit:contain;display:block}
/* text-only store tile (unused fallback) */
.twm-txtlogo{font-family:"Nunito",sans-serif;font-weight:900;font-style:italic;font-size:22px;letter-spacing:-.5px;color:#e4002b;padding:4px 12px;border-radius:12px;background:#fff1f3;box-shadow:inset 0 0 0 1.5px #ffc7d0}
/* S05 */
.twm-status{padding:14px 10px;border-radius:24px}
.twm-status .dot{width:48px;height:48px;font-size:17px}
.twm-status .dot svg{width:24px;height:24px}
.twm-status li{font-size:14.5px}
.twm-status li+li::before{top:23px;right:calc(50% + 28px);width:calc(100% - 50px)}
.twm-status li.now span:last-child{background:#fff1df;padding:3px 10px;border-radius:99px}
.twm-bc .n{font-size:16px!important;font-weight:900;padding:6px 12px;border-radius:12px;background:linear-gradient(135deg,#ece6ff,#ffe7f3);color:var(--twm-violet)}
.twm-bc .txt{font-size:15px;font-weight:900;letter-spacing:2px}
.twm-paycard .twm-btn.ghost{min-height:56px;font-size:18px;border:2px solid #cfc3fb}
.twm-howto.ic{grid-template-columns:repeat(3,1fr)!important;gap:8px;position:relative}
.twm-howto.ic li{flex-direction:column!important;text-align:center!important;gap:10px;font-size:14px;line-height:1.3;align-items:center;position:relative}
.twm-howto.ic .hi{width:60px;height:60px;border-radius:20px}
.twm-howto.ic .hi svg{width:30px;height:30px}
.twm-howto.ic li+li::after{content:"";position:absolute;left:-14px;top:22px;width:18px;height:18px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a4cf5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat}
@media (min-width:1024px){.twm-h1{font-size:40px}.twm-hero-ill.art.big{width:300px;height:240px}}
@media (max-width:380px){.twm-h1{font-size:27px}.twm-recv .v{font-size:36px}.twm-howto.ic li{font-size:13px}}
.twm-flow .art{width:128px;height:112px}
.twm-flow .t{font-size:22px}
@media (max-width:380px){.twm-flow .art{width:104px;height:92px}.twm-flow .t{font-size:19px}}
.twm-recv .ic.art{position:relative;width:96px;height:84px;background:none;box-shadow:none;border-radius:0}
.twm-recv .ic.art .mini{position:absolute;right:-2px;bottom:2px;filter:drop-shadow(0 2px 4px rgba(22,32,74,.25))}
.twm-recv{min-height:120px}
/* S06 quick-pick bank tiles (text monograms, no logos) */
.twm-qbanks{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:-4px 0 16px}
.twm-qb{position:relative;min-height:84px;border-radius:18px;border:1.5px solid var(--twm-line);background:#fff;padding:10px 6px;display:flex;flex-direction:column;align-items:center;gap:6px;cursor:pointer;text-align:center;color:var(--twm-navy)}
.twm-qb .mono{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--bc);color:#fff;font-weight:900;font-size:15px;letter-spacing:-1px;box-shadow:0 4px 10px color-mix(in srgb,var(--bc) 35%,transparent)}
.twm-qb .nm b{display:block;font-size:14px;font-weight:900;line-height:1.2}
.twm-qb .nm small{display:block;font-size:11.5px;color:var(--twm-muted);font-weight:700;line-height:1.2}
.twm-qb[aria-checked="true"]{border-color:transparent;background-image:linear-gradient(#f8f6ff,#f8f6ff),var(--twm-grad);background-origin:border-box;background-clip:padding-box,border-box;box-shadow:0 8px 20px rgba(122,76,245,.2)}
.twm-qb[aria-checked="true"]::after{content:"✓";position:absolute;top:6px;right:6px;width:20px;height:20px;border-radius:50%;background:var(--twm-violet);color:#fff;font-size:12px;font-weight:900;display:grid;place-items:center}
/* S07 */
.twm-qr.pending{width:220px;height:220px;margin:4px auto 14px;border-radius:24px;border:2.5px dashed #c9bdf8;background:linear-gradient(135deg,#f6f2ff,#fff3f9);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:16px;text-align:center;color:var(--twm-violet)}
.twm-qr.pending .qi{position:relative;display:grid;place-items:center}
.twm-qr.pending .spin{position:absolute;right:-10px;bottom:-6px;width:22px;height:22px;border-width:3px}
.twm-qr.pending b{font-size:16.5px;color:var(--twm-navy)}
.twm-qr.pending small{font-size:13.5px;color:var(--twm-muted);font-weight:700;line-height:1.35}
.twm-ticket a.twm-btn[aria-disabled="true"]{opacity:.55;pointer-events:none}
.twm-ticket .twm-amount-big{font-size:42px}
.twm-ticket .twm-hint{font-size:15px}
@media (prefers-reduced-motion:reduce){.twm-qr.pending .spin{animation:none}}
.twm-qr.pending .spin{border-radius:50%;border:3px solid #e2dafc;border-top-color:#7a4cf5;animation:twmSpin .8s linear infinite;background:#fff}
.twm-ticket~.twm-card .twm-rows dt{font-size:15px;font-weight:800}
.twm-ticket~.twm-card .twm-rows dd{font-size:16px;font-weight:900}
.twm-qb .nm b{font-size:15px}.twm-qb .nm small{font-size:12px}
.twm-skel{position:relative;overflow:hidden}
.twm-skel::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.7) 50%,rgba(255,255,255,0) 100%);animation:twmSweep 1.4s ease-in-out infinite}
@keyframes twmSweep{to{transform:translateX(100%)}}
@media (prefers-reduced-motion:reduce){.twm-skel::after{animation:none;display:none}}
.twm-method b,.twm-method .t{font-size:16px}
/* ===== HOME (#/home) ===== */

/* build u: official logos + partner links */
.twm-qb .lg.wide{width:100%;max-width:132px;height:44px;padding:0 8px;box-sizing:border-box}
.twm-qb .lg.wide img{width:100%;height:auto;max-height:30px;object-fit:contain}
.twm-qb .lg.dark{background:#E60012;box-shadow:none}
.twm-qb .lg.ico svg{display:block}
/* build v: partner products (#/home) */
.twp{background:linear-gradient(160deg,#fff 0%,#f7f3ff 55%,#fff1f6 100%);border-radius:24px;padding:18px 14px;box-shadow:var(--twm-shadow)}
.twp-hd .k{margin:0 0 2px;font-size:13px;font-weight:800;color:var(--twm-violet);text-transform:uppercase;letter-spacing:.5px}
.twp-hd h2{margin:0;font-size:21px;font-weight:900;line-height:1.2;color:var(--twm-navy)}
.twp-hd .d{margin:4px 0 12px;color:var(--twm-muted);font-size:14px}
.twp-tabs{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 10px;margin:0 -2px;scrollbar-width:none}
.twp-tabs::-webkit-scrollbar{display:none}
.twp-tabs button{flex:none;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 16px;border-radius:99px;border:1.5px solid var(--twm-line);background:#fff;color:var(--twm-ink);font:inherit;font-weight:800;font-size:14px;cursor:pointer}
.twp-tabs button img{width:20px;height:20px;object-fit:contain;border-radius:5px}
.twp-tabs button[aria-pressed="true"]{background:var(--twm-grad);border-color:transparent;color:#fff;box-shadow:0 6px 16px rgba(122,76,245,.28)}
.twp-tabs button[aria-pressed="true"] img{background:#fff;padding:1px}
.twp-tabs button:focus-visible,.twp-card:focus-visible{outline:3px solid var(--twm-blue);outline-offset:2px}
.twp-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.twp-card{display:flex;flex-direction:column;height:100%;background:#fff;border-radius:18px;overflow:hidden;text-decoration:none;color:var(--twm-ink);border:1px solid var(--twm-line);box-shadow:0 4px 14px rgba(43,53,102,.06);transition:transform .2s,box-shadow .2s}
.twp-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(122,76,245,.16)}
.twp-card .im{display:block;aspect-ratio:1/1;background:linear-gradient(180deg,#fff,#f4f2fb);padding:10px}
.twp-card .im img{width:100%;height:100%;object-fit:contain;display:block}
.twp-card .bd{display:flex;flex-direction:column;gap:4px;padding:8px 10px 10px;flex:1}
.twp-card .pn{display:flex;align-items:center;gap:5px;font-size:11.5px;font-weight:800;color:var(--twm-muted)}
.twp-card .pn img{width:16px;height:16px;object-fit:contain;border-radius:4px}
.twp-card .nm{font-size:13.5px;font-weight:700;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--twm-navy)}
.twp-card .vi{font-size:12px;color:var(--twm-muted);line-height:1.3;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.twp-card .pr{font-size:16px;font-weight:900;background:var(--twm-grad);-webkit-background-clip:text;background-clip:text;color:transparent;margin-top:2px}
.twp-card .go{margin-top:auto;display:flex;align-items:center;justify-content:center;gap:4px;min-height:44px;margin-top:auto;border-radius:12px;background:var(--twm-soft);color:var(--twm-violet);font-weight:800;font-size:13px;text-align:center;padding:0 6px}
.twp-card:hover .go{background:var(--twm-grad);color:#fff}
.twp-card.sk .im{border-radius:0}
.twp-more{display:flex;justify-content:center;margin-top:14px}
.twp-more .twm-btn{min-height:48px;width:auto;padding:0 28px}
.twp-more .c{font-weight:700;opacity:.7}
.twp-note{margin:12px 2px 0;font-size:12px;color:var(--twm-muted);text-align:center}
@media (min-width:600px){.twp-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1024px){.twp{padding:24px}.twp-hd h2{font-size:26px}.twp-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}}
@media (min-width:1360px){.twp-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media (prefers-reduced-motion:reduce){.twp-card{transition:none}.twp-card:hover{transform:none}}
/* build v: disabled partners (QA-017/018) */
.twp-card.off{cursor:default}.twp-card.off:hover{transform:none;box-shadow:0 4px 14px rgba(43,53,102,.06)}
.twp-card .soon{align-self:flex-start;margin-top:auto;display:inline-block;padding:3px 10px;border-radius:99px;background:#eef0f7;color:var(--twm-muted);font-size:11.5px;font-weight:800;line-height:1.4}
/* QA-019: quick-bank chips become rows on phones so wide logos (Taishin, E.SUN) get ~160px width */
@media (max-width:600px){
 .twm-qbanks{grid-template-columns:1fr;gap:8px}
 .twm-qb{flex-direction:row;min-height:60px;padding:8px 12px;gap:12px;text-align:left}
 .twm-qb .lg.wide{width:160px;max-width:160px;flex:none;height:44px}
 .twm-qb .lg.wide img{max-height:32px}
 .twm-qb[aria-checked="true"]::after{top:50%;transform:translateY(-50%);right:12px}
}
@media (min-width:601px){.twm-qb .lg.wide{max-width:none;padding:0 6px}.twm-qb .lg.wide img{max-height:34px}}

/* ===== build w: home S00-v5 + shop (prefix .tw5-) ===== */
.tw5{display:grid;gap:16px;grid-template-columns:minmax(0,1fr)}
.tw5>*,.tw5-sp>*,.tw5-split>*{min-width:0}
.tw5 h2,.tw5 h3{color:var(--twm-navy)}
.tw5-hero{position:relative}
.tw5-vp{overflow:hidden;border-radius:20px;box-shadow:var(--twm-shadow)}
.tw5-track{display:flex;transition:transform .45s cubic-bezier(.2,.8,.2,1)}
.tw5-slide{flex:0 0 100%;min-width:0}
.tw5-ban{display:grid;grid-template-columns:58fr 42fr;align-items:center;gap:8px;min-height:172px;padding:14px 14px 14px 16px;box-sizing:border-box;background:#f4f6fc;color:var(--twm-navy);border-radius:20px;overflow:hidden}
.tw5-slide .tw5-ban{border-radius:0;height:100%}
.tw5-ban.img{display:block;padding:0;min-height:0;background:none}.tw5-ban.img img{display:block;width:100%;height:auto}
.tw5-ban .tx{min-width:0}
.tw5-ban .k{display:flex;align-items:center;gap:6px;margin:0 0 4px;font-size:12px;font-weight:900;letter-spacing:.4px;color:var(--twm-violet);text-transform:uppercase}
.tw5-ban .k img{border-radius:5px}
.tw5-ban h2{margin:0 0 6px;font-size:17px;line-height:1.22;font-weight:900}
.tw5-ban .d{margin:0 0 10px;font-size:12px;line-height:1.4;font-weight:700;color:var(--twm-ink)}
.tw5-ban .ch{list-style:none;margin:0 0 10px;padding:0;display:flex;flex-wrap:wrap;gap:4px}
.tw5-ban .ch li{padding:2px 8px;border-radius:99px;background:#fff;font-size:11.5px;font-weight:800;color:var(--twm-navy)}
.tw5-ban .vis{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0}
.tw5-ban .vis img{max-width:100%;height:auto}
.tw5-ban .vis>svg{width:84px;height:84px}
.tw5-cta{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 16px;border-radius:999px;background:var(--tw5-grad4);color:#fff;font-weight:900;font-size:14px;text-decoration:none;box-shadow:0 8px 18px rgba(116,61,255,.25)}
.tw5-cta:focus-visible,.tw5 a:focus-visible,.tw5 button:focus-visible,.tw5-sp a:focus-visible{outline:3px solid var(--twm-violet);outline-offset:2px}
.tw5-soon{display:inline-block;padding:3px 10px;border-radius:99px;background:#eef0f7;color:var(--twm-muted);font-size:11.5px;font-weight:800;line-height:1.4}
.tw5-ban.b01{background:linear-gradient(120deg,#eef3ff,#f6f0ff)}
.tw5-ban.b01 .cc{display:grid;justify-items:center;gap:2px;padding:12px 14px;background:#fff;border-radius:16px;box-shadow:var(--twm-shadow)}
.tw5-ban.b01 .cc .r{display:flex;align-items:center;gap:6px;font-size:15px}.tw5-ban.b01 .sw{font-size:20px;font-weight:900;color:var(--twm-violet)}
.tw5-ban.b02{background:linear-gradient(120deg,#fff5e8,#fff0f3)}
.tw5-ban.b03{background:#14151c;color:#fff}.tw5-ban.b03 h2{color:#fff}.tw5-ban.b03 .d{color:#c9cbd6}.tw5-ban.b03 .k{color:#ff8a3d}
.tw5-ban.b03 .vis img{width:50%}
.tw5-ban.b03 .tw5-soon{background:#2a2c38;color:#c9cbd6}
.tw5-ctl{display:flex;justify-content:center;align-items:center}
.tw5-arw{width:44px;height:44px;border:0;background:none;font-size:24px;line-height:1;color:var(--twm-ink);cursor:pointer;border-radius:50%}
.tw5-arw.pp{font-size:13px;letter-spacing:-1px}
.tw5-dots{display:flex}.tw5-dots button{width:32px;height:44px;border:0;background:none;cursor:pointer;display:grid;place-items:center;padding:0}
.tw5-dots span{width:8px;height:8px;border-radius:99px;background:#c9c3f2;transition:width .3s}
.tw5-dots [aria-current] span{width:20px;background:var(--twm-navy)}
.tw5-rate{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;background:#fff;border-radius:18px;padding:12px 14px;box-shadow:var(--twm-shadow)}
.tw5-rate h2{margin:0;font-size:13px;font-weight:800;color:var(--twm-muted)}
.tw5-rate .pair{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin:2px 0;font-size:14px}
.tw5-rate .pair strong{margin-left:4px;font-size:17px;font-weight:900;color:var(--twm-navy)}.tw5-rate .pair strong.na{color:var(--twm-muted)}
.tw5-rate .src{margin:0;font-size:11px;color:var(--twm-muted);font-weight:600}
.tw5-send{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:999px;background:var(--tw5-grad4);color:#fff;font-weight:900;text-decoration:none}
.tw5-svc{margin-top:14px}
.tw5-svc ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.tw5-svc a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:78px;padding:8px 4px;background:#fff;border-radius:16px;box-shadow:var(--twm-shadow);color:var(--twm-navy);text-decoration:none;font-size:13px;font-weight:800;text-align:center}
.tw5-svc .ic svg{width:34px;height:34px}
.tw5-ban.b04{grid-template-columns:62fr 38fr;background:linear-gradient(120deg,#f0fbf6,#eef3ff)}
.tw5-ban.b04 h2{font-size:16px}
.tw5-ban .cv{list-style:none;margin:0 0 10px;padding:0;display:flex;gap:5px}
.tw5-ban .cv li{display:grid;place-items:center;width:44px;height:32px;background:#fff;border-radius:8px;box-shadow:0 2px 6px rgba(43,53,102,.08)}
.tw5-ban .cv img{width:36px;height:24px;object-fit:contain}
.tw5-ban.b04 .vis{flex-direction:column;align-items:stretch;gap:3px;background:#fff;border-radius:12px;padding:8px;box-shadow:var(--twm-shadow)}
.tw5-ban .demo{font-size:10px;font-weight:800;color:var(--twm-muted);text-align:center}
.tw5-ban .bc svg{display:block;width:100%;height:22px}
.tw5-ban.b05{min-height:0;background:linear-gradient(120deg,#eef3ff,#fff0f6)}.tw5-ban.b05 .vis svg{width:64px;height:64px}
.tw5-ban.b06{background:linear-gradient(120deg,#fff0f3,#f6f0ff)}.tw5-ban.b06 .vis img{border-radius:12px}
.tw5-shop{background:#fff;border-radius:18px;padding:14px;box-shadow:var(--twm-shadow)}
.tw5-hd{display:flex;align-items:center;justify-content:space-between;gap:8px}
.tw5-hd h2{margin:0;font-size:17px;font-weight:900}
.tw5-hd a{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;color:var(--twm-violet);font-weight:900;text-decoration:none;font-size:14px}
.tw5-chip{display:inline-block;margin:6px 0 8px;padding:3px 10px;border-radius:99px;background:#eef0f7;font-size:12.5px;font-weight:900;color:var(--twm-navy)}
.tw5-empty{display:flex;align-items:center;gap:10px;margin:0;padding:10px 12px;border:1.5px dashed #d6d9ea;border-radius:14px;color:var(--twm-muted);font-size:12.5px;font-weight:600}
.tw5-empty b{display:block;color:var(--twm-navy);font-size:14px}.tw5-empty .ic svg{width:36px;height:36px}
.tw5-pg{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.tw5-pc{display:flex;flex-direction:column;gap:4px;min-height:44px;color:var(--twm-navy);text-decoration:none;font-size:12px;font-weight:700}
.tw5-pc .im{aspect-ratio:1;border-radius:12px;background:#f4f6fc;overflow:hidden}.tw5-pc img{width:100%;height:100%;object-fit:contain}
.tw5-pc .nm{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tw5-pc .pr{font-weight:900}
.tw5-pts{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.tw5-pts.two{grid-template-columns:1fr 1fr}
.tw5-pt{display:flex;align-items:center;gap:8px;min-height:56px;padding:6px 10px;border:1px solid #e6e8f2;border-radius:14px;background:#fff;color:var(--twm-navy);text-decoration:none;font-size:13px;font-weight:900}
.tw5-pt .lg{display:grid;place-items:center;flex:none;width:52px;height:36px;border-radius:9px;background:#fff}
.tw5-pt .lg img{max-width:46px;max-height:28px;width:auto;height:auto;object-fit:contain}
.tw5-pt.p-shopeemall .lg{background:#EE4D2D}.tw5-pt.p-shopeemall .lg img{filter:brightness(0) invert(1)}
.tw5-pt .nm{flex:1;min-width:0}.tw5-pt .go{color:var(--twm-violet)}
.tw5-pt.off{opacity:.85;cursor:default}
.tw5-foot{text-align:center;color:var(--twm-muted);font-size:13px;font-weight:700}
.tw5-foot ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:2px}
.tw5-foot button{min-width:44px;min-height:44px;border:0;background:none;color:var(--twm-ink);font:inherit;font-weight:800;cursor:pointer;border-radius:12px}
.tw5-foot button[aria-current]{color:var(--twm-violet);background:#fff;box-shadow:var(--twm-shadow)}
.tw5-foot p{margin:0}.tw5-foot a{color:var(--twm-violet);font-weight:800;display:inline-block;min-height:44px;line-height:44px}
.tw5-sp{display:grid;gap:16px}
.tw5-split{display:grid;gap:16px;grid-template-columns:minmax(0,1fr)}
.tw5-twp,.tw5-ptc{background:#fff;border-radius:18px;padding:14px;box-shadow:var(--twm-shadow)}
.tw5-ptc .twm-hint{margin:0 0 8px}
@media (max-width:359px){.tw5-ban h2{font-size:15px}.tw5-ban .d{font-size:11px}}
@media (min-width:600px){.tw5-ban{min-height:220px;padding:22px 24px}.tw5-ban h2{font-size:22px}.tw5-ban .d{font-size:14px}.tw5-svc ul{grid-template-columns:repeat(6,1fr)}}
@media (min-width:1024px){
 .tw5{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:24px}.tw5-d,.tw5-e{grid-column:1/-1}
 .tw5-b{display:flex;flex-direction:column}.tw5-svc ul{grid-template-columns:repeat(3,1fr)}.tw5-svc a{min-height:88px}
 .tw5-ban{min-height:280px}.tw5-ban h2{font-size:28px}.tw5-ban.b04{min-height:0;grid-template-columns:1fr 260px}
 .tw5-pts.two{max-width:520px}
 .tw5-split{grid-template-columns:7fr 3fr;align-items:start}.tw5-ptc .tw5-pts{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){.tw5-track,.tw5-dots span{transition:none}}
@media (max-width:479px){.tw5-ptc .tw5-pts{grid-template-columns:1fr}}
/* --- build x: S05 store picker, S09 estimate, S14 installments --- */
.twm-payhd{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;position:relative;margin-bottom:12px}
.twm-stpick{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:14px}
.twm-stp{min-height:64px;border-radius:14px;border:1.5px solid var(--twm-line);background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:6px 4px;font:inherit;font-size:11.5px;font-weight:800;color:var(--twm-ink);cursor:pointer}
.twm-stp img{width:100%;max-width:72px;height:24px;object-fit:contain}
.twm-stp[aria-checked="true"]{border-color:var(--twm-violet);background:var(--twm-soft);box-shadow:0 0 0 1px var(--twm-violet)}
.twm-stp:focus-visible,.twm-agree input:focus-visible{outline:none;box-shadow:var(--twm-focus)}
.twm-bc svg.c39{height:64px}
.twm-zoomlist{background:#fff;padding:4px 0;overflow:auto}
.twm-zbc{margin:10px 0}.twm-zbc svg{width:100%;height:110px;display:block}
.twm-zbc .txt{text-align:center;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:18px;letter-spacing:3px}
.twm-iprod{display:flex;gap:12px;align-items:center}
.twm-iprod .im img{width:72px;height:72px;object-fit:contain;border-radius:12px;background:var(--twm-soft)}
.twm-isheet{border-radius:24px 24px var(--twm-r) var(--twm-r);box-shadow:0 -8px 28px rgba(74,60,170,.14)}
.twm-isheet .grab{width:44px;height:5px;border-radius:5px;background:var(--twm-line);margin:-4px auto 10px}
.twm-chips.two{grid-template-columns:1fr 1fr;margin-bottom:10px}
.twm-chip[aria-checked="true"]{color:#fff;background:var(--twm-grad);box-shadow:0 6px 14px rgba(122,76,245,.28)}
.twm-isch{list-style:none;margin:0 0 14px;padding:0;display:flex;gap:8px;overflow-x:auto}
.twm-isch li{flex:1 0 76px;border:1px solid var(--twm-line);border-radius:12px;padding:8px;text-align:center;font-size:12px;color:var(--twm-muted)}
.twm-isch li b{display:block;color:var(--twm-navy);font-size:13px}
.twm-istores{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.twm-istores li{border:1px solid var(--twm-line);border-radius:12px;background:#fff;display:grid;place-items:center;min-height:48px;padding:4px}
.twm-istores img{width:100%;max-width:80px;height:26px;object-fit:contain}
.twm-agree{display:flex;gap:10px;align-items:flex-start;min-height:44px;font-weight:700;font-size:14px;cursor:pointer}
.twm-agree input{width:24px;height:24px;margin:2px 0 0;flex:none;accent-color:var(--twm-violet)}
.twm-agree a{color:var(--twm-violet);font-weight:900}
/* full-width bars so the narrow module stays >=1 CSS px on 375px phones */
.twm-bc{grid-template-columns:1fr;gap:6px;padding:10px 8px 6px}
.twm-bc .n{justify-self:start}
.twm-bc .txt{grid-column:1}
/* y: bank logos */
.twm-sheet li button{flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;min-height:56px}
.twm-sheet li button .tx{display:flex;flex-direction:column;min-width:0}
.twm-blg{flex:0 0 40px;width:40px;height:40px;border-radius:10px;background:#fff;border:1px solid var(--twm-line);display:inline-flex;align-items:center;justify-content:center;overflow:hidden}
.twm-blg img{width:32px;height:32px;object-fit:contain;display:block}
.twm-blg.dk{background:var(--twm-navy);border-color:var(--twm-navy)}
.twm-blg.ini{background:linear-gradient(135deg,#e9f0ff,#f3eaff 55%,#ffeef6);color:var(--twm-navy);font-weight:900;font-size:12px;letter-spacing:.2px}
.twm-selb{display:inline-flex;align-items:center;gap:10px;min-width:0}

/* y3: QA-024 partner logos >=20px tall on mobile */
.tw5-pt .lg{width:auto;min-width:52px;padding:0 6px}
.tw5-pt .lg img{max-width:110px;max-height:none;height:20px;width:auto}
.twp-card .pn{flex-wrap:wrap}
.twp-card .pn img{width:auto;max-width:104px;height:20px}
/* y3 §1 fixes */
.twp-card .pr,.twp .pr{background:none!important;-webkit-text-fill-color:#071B49;color:#071B49!important}
.tw5-b4 .demo,.vis .demo{font-size:14px!important;font-weight:800;letter-spacing:.02em}
.vis .y3-c39{display:block;font-size:12px;color:#5b6b8c;margin-top:4px}
.y3-fee,.y3-lim{font-size:12.5px;line-height:1.45}
.y3-rl{display:flex;align-items:center;gap:8px}
.y3-spin{width:14px;height:14px;border:2px solid #c9d3e6;border-top-color:#071B49;border-radius:50%;animation:y3s 1s linear infinite}
@keyframes y3s{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.y3-spin{animation:none}}
.y3-retry{margin-top:6px;min-height:40px;padding:0 14px;font-size:14px}
.y3-sk .im{display:block;aspect-ratio:1;border-radius:12px}
.y3-empt{margin:0 0 8px}
/* ===== HOME-01R (2026-11-04) — home polish; scoped to .tw5 home blocks ===== */
/* 1) Mua sắm empty state: clean navy, solid soft card, no dashed/skeleton */
.tw5-empty.r-empty{gap:12px;padding:14px 16px;min-height:72px;border:1px solid #e3e8f5;border-radius:16px;background:#f6f8fd;color:#071B49;font-size:14px;font-weight:700}
.tw5-empty.r-empty b{color:#071B49;font-size:15px;font-weight:900;line-height:1.35}
.tw5-empty.r-empty .ic svg{width:40px;height:40px}
/* 2) loading skeleton: plain soft blocks + sweep (stripes removed above) */
.r-load .twm-skel{margin:0;background:#eef1f8;animation:none}
.r-load .y3-sk .pr{color:#9aa3bd}
/* 4) Aurora hero: pastel blue–violet–pink glow behind the card, content untouched */
.tw5-hero{isolation:isolate}
.tw5-hero::before{content:"";position:absolute;z-index:-1;inset:-14px -10px 30px;border-radius:32px;pointer-events:none;
 background:radial-gradient(42% 60% at 12% 18%,rgba(8,123,255,.22),transparent 70%),radial-gradient(40% 58% at 88% 22%,rgba(116,61,255,.20),transparent 70%),radial-gradient(46% 60% at 60% 92%,rgba(244,20,160,.14),transparent 72%);filter:blur(18px)}
.tw5-vp{box-shadow:0 2px 4px rgba(7,27,73,.05),0 14px 36px rgba(74,60,170,.14)}
.tw5-ban.b01{background:radial-gradient(60% 90% at 0% 0%,#e3eeff 0%,transparent 70%),radial-gradient(55% 80% at 100% 10%,#efe6ff 0%,transparent 70%),radial-gradient(60% 70% at 70% 110%,#ffe6f3 0%,transparent 70%),#f7f8ff}
.tw5-ban.b02{background:radial-gradient(60% 90% at 0% 0%,#fff1e2 0%,transparent 70%),radial-gradient(55% 80% at 100% 100%,#ffe6f1 0%,transparent 70%),#fff8f4}
.tw5-ban h2{color:#071B49}.tw5-ban.b03 h2{color:#fff}
.tw5-rate,.tw5-svc a,.tw5-shop{box-shadow:0 1px 2px rgba(7,27,73,.04),0 10px 28px rgba(74,60,170,.10)}
/* 5) tap targets >=44px on home controls */
.tw5-dots button{width:44px;min-width:44px;height:44px}
.tw5-pc{min-height:44px}
.tw5 .y3-retry{min-height:44px}
.tw5-pt{min-height:56px}
/* 6) 4-stop gradient: CTA (.tw5-cta/.tw5-send) + selected chip only */
.tw5-foot button[aria-current]{color:#fff;background:var(--tw5-grad4);box-shadow:0 6px 16px rgba(116,61,255,.25)}
@media (max-width:389px){.tw5-dots button{width:44px}.tw5-ctl{flex-wrap:wrap}}
/* ===== LOT-HOME-02 (20261104home2) — pastel glass Home. Scope: #twm-app.tw-home02 (set by home() via page.h02; removed on every other screen).
   Locked visual: canva-home02-products-v2 (MAHZ5y8pxgM). Navy #071B49; 4-stop gradient only on CTA (.tw5-send) + selected language chip. ===== */
.tw-home02{--home02-navy:#071B49;--home02-gradient:var(--tw5-grad4);--home02-glass:rgba(255,255,255,.9);--home02-glass-solid:rgba(255,255,255,.97);--home02-radius:18px;--home02-gap:8px;--home02-page-gutter:16px;--home02-violet:#5b2bd9;--home02-pink:#b80f73;--home02-ink:#3a4468;
 --home02-shadow:0 1px 2px rgba(7,27,73,.04),0 10px 28px rgba(74,60,170,.12);--home02-edge:1px solid rgba(255,255,255,.95);color:var(--home02-navy)}
.tw-home02::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
 background:radial-gradient(55vmax 40vmax at 0% 0%,rgba(8,123,255,.14),transparent 62%),radial-gradient(50vmax 40vmax at 100% 8%,rgba(116,61,255,.14),transparent 62%),radial-gradient(55vmax 45vmax at 85% 100%,rgba(244,20,160,.09),transparent 62%),radial-gradient(50vmax 40vmax at 0% 85%,rgba(160,220,255,.22),transparent 62%),#f7f6ff}
.tw-home02 .tw5{gap:12px}
.tw-home02 .tw5 h2,.tw-home02 .tw5 h3{color:var(--home02-navy)}
/* A header */
.tw-home02 .twm-top{background:rgba(255,255,255,.72)}
.tw-home02 .twm-brand{color:var(--home02-navy);font-weight:900}
.tw-home02 .twm-lang select{min-height:44px;border-radius:999px;border:var(--home02-edge);box-shadow:var(--home02-shadow);font-weight:800;color:var(--home02-navy)}
.tw-home02 .twm-icobtn{border:var(--home02-edge);background:#fff;box-shadow:var(--home02-shadow);color:#d6336c}
/* B hero: explore slide first, next slide peeks on mobile (track data-step=88) */
.tw-home02 .tw5-hero::before{inset:-10px -8px 34px}
.tw-home02 .tw5-vp{box-shadow:none;border-radius:20px}
.tw-home02 .tw5-slide{flex:0 0 88%;padding-right:10px;box-sizing:border-box}
.tw-home02 .tw5-slide .tw5-ban{border-radius:20px;border:var(--home02-edge);min-height:176px}
.tw-home02 .tw5-ban.b00{grid-template-columns:56fr 44fr;padding:16px 10px 16px 16px;
 background:radial-gradient(70% 90% at 0% 0%,#e6f0ff 0%,transparent 70%),radial-gradient(60% 80% at 100% 0%,#eee4ff 0%,transparent 72%),radial-gradient(60% 70% at 70% 115%,#ffe4f2 0%,transparent 72%),#f8f9ff}
.tw-home02 .tw5-ban.b00 h2{font-size:clamp(19px,5.4vw,24px);line-height:1.18;font-weight:900;margin:0 0 6px;color:var(--home02-navy)}
.tw-home02 .tw5-ban.b00 h2 .br{color:var(--home02-violet)}
.tw-home02 .tw5-ban.b00 .d{font-size:13px;font-weight:700;color:var(--home02-ink);margin:0 0 12px}
.tw-home02 .h2-x{display:inline-flex;align-items:center;gap:4px;min-height:44px;padding:0 14px 0 18px;border-radius:999px;border:1.5px solid #c9bdf8;background:#fff;color:var(--home02-violet);font:inherit;font-size:15px;font-weight:900;cursor:pointer;box-shadow:0 6px 16px rgba(116,61,255,.14)}
.tw-home02 .tw5-ctl{margin-top:-2px}
/* C rate + CTA */
.tw-home02 .tw5-rate{grid-template-columns:auto minmax(0,1fr) auto;gap:10px;padding:12px 12px 12px 12px;border-radius:20px;background:var(--home02-glass);border:var(--home02-edge);box-shadow:var(--home02-shadow);-webkit-backdrop-filter:blur(14px) saturate(1.2);backdrop-filter:blur(14px) saturate(1.2)}
.tw-home02 .h2-ri{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff,#e8eeff 60%,#dfe3ff);box-shadow:0 6px 14px rgba(8,123,255,.18)}
.tw-home02 .tw5-rate h2{font-size:12.5px;font-weight:800;color:var(--home02-ink)}
.tw-home02 .tw5-rate .pair{gap:6px;margin:2px 0;font-size:14px}
.tw-home02 .tw5-rate .pair b{font-size:19px;font-weight:900;color:var(--home02-navy)}
.tw-home02 .tw5-rate .pair .sw{font-size:18px;font-weight:900;color:var(--home02-violet)}
.tw-home02 .tw5-rate .pair strong{flex-basis:100%;margin:0;font-size:14px}
.tw-home02 .tw5-rate .src{font-size:11.5px;color:var(--home02-ink)}
.tw-home02 .tw5-send{gap:6px;min-height:52px;padding:0 12px 0 14px;border-radius:16px;background-color:var(--home02-navy);background-image:var(--home02-gradient);color:#fff;font-size:19px;font-weight:900;text-shadow:0 1px 2px rgba(7,27,73,.35);box-shadow:0 10px 22px rgba(116,61,255,.30);white-space:nowrap}
.tw-home02 .tw5-send svg{flex:none;stroke:#fff}
.tw-home02 .tw5-send>svg:first-child{width:22px;height:22px}
/* D services grid 3x2 */
.tw-home02 .tw5-svc{margin-top:12px}
.tw-home02 .tw5-svc ul{gap:var(--home02-gap)}
.tw-home02 .tw5-svc a{min-height:96px;gap:6px;padding:10px 4px;border-radius:var(--home02-radius);background:var(--home02-glass);border:var(--home02-edge);box-shadow:var(--home02-shadow);font-size:14px;font-weight:800;color:var(--home02-navy);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.tw-home02 .tw5-svc .ic{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:linear-gradient(135deg,#f3efff,#ffeef6)}
.tw-home02 .tw5-svc .ic svg{width:36px;height:36px}
.tw-home02 .tw5-svc .lb{line-height:1.2;overflow-wrap:anywhere}
/* E TW PAY products — horizontal scroller (replaces shop banner + partner strip on Home) */
.tw-home02 .h2-prod{padding:10px 0 12px;border-radius:20px;background:var(--home02-glass);border:var(--home02-edge);box-shadow:var(--home02-shadow);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.tw-home02 .h2-prod .tw5-hd{padding:0 10px 0 14px}
.tw-home02 .h2-prod .tw5-hd h2{font-size:15px;font-weight:800;color:var(--home02-navy)}
.tw-home02 .h2-prod .tw5-hd a{color:var(--home02-violet);font-size:14px;gap:4px;padding:0 6px}
.tw-home02 .h2-row,.tw-home02 .h2-prod .tw5-pg{display:flex;gap:10px;list-style:none;margin:0;padding:4px 14px 8px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding:0 14px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.tw-home02 .h2-row::-webkit-scrollbar,.tw-home02 .h2-prod .tw5-pg::-webkit-scrollbar{display:none}
.tw-home02 .h2-row>li,.tw-home02 .h2-prod .tw5-pg>li{flex:0 0 132px;scroll-snap-align:start;min-width:0}
.tw-home02 .h2-pc{position:relative;display:flex;flex-direction:column;height:100%;min-height:44px;box-sizing:border-box;padding:8px;border-radius:16px;background:#fff;border:1px solid #eceaf8;box-shadow:0 4px 14px rgba(74,60,170,.08);color:var(--home02-navy);text-decoration:none}
.tw-home02 .h2-pc .im{display:grid;place-items:center;aspect-ratio:1;border-radius:12px;background:#f6f7fc;overflow:hidden}
.tw-home02 .h2-pc .im img{width:100%;height:100%;object-fit:contain}
.tw-home02 .h2-pc .nm{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.5em;margin:8px 0 6px;font-size:12.5px;line-height:1.25;font-weight:700}
.tw-home02 .h2-pc .ft{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-top:auto}
.tw-home02 .h2-pc .pr{font-size:14px;font-weight:900;color:var(--home02-pink);white-space:nowrap}
.tw-home02 .h2-pc .cart{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:10px;background:#f1edff;color:var(--home02-violet)}
.tw-home02 a.h2-pc:hover{box-shadow:0 8px 22px rgba(74,60,170,.16)}
.tw-home02 .h2-prod .tw5-pc.y3-sk{padding:8px;border-radius:16px;background:#fff;border:1px solid #eceaf8}
.tw-home02 .h2-prod .tw5-empty{margin:4px 14px 0}
/* F languages */
.tw-home02 .tw5-foot{color:var(--home02-ink)}
.tw-home02 .tw5-foot button{color:var(--home02-navy)}
.tw-home02 .tw5-foot a{color:var(--home02-violet)}
/* G bottom nav (same component, glass skin) */
.tw-home02 .twm-nav{background:rgba(255,255,255,.9);border-top:var(--home02-edge);border-radius:22px 22px 0 0;box-shadow:0 -8px 24px rgba(74,60,170,.10);-webkit-backdrop-filter:blur(16px) saturate(1.2);backdrop-filter:blur(16px) saturate(1.2)}
.tw-home02 .twm-nav a{color:#4a5378;min-height:44px}
.tw-home02 .twm-nav a[aria-current="page"]{color:var(--home02-pink)}
.tw-home02 :focus-visible{outline:3px solid var(--home02-violet);outline-offset:2px}
/* glass fallback: no backdrop-filter / reduced transparency -> near-opaque white, text opacity unchanged */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
 .tw-home02 .tw5-rate,.tw-home02 .tw5-svc a,.tw-home02 .h2-prod,.tw-home02 .twm-nav,.tw-home02 .twm-top{background:var(--home02-glass-solid)}}
@media (prefers-reduced-transparency:reduce){
 .tw-home02 .tw5-rate,.tw-home02 .tw5-svc a,.tw-home02 .h2-prod,.tw-home02 .twm-nav,.tw-home02 .twm-top{background:var(--home02-glass-solid);-webkit-backdrop-filter:none;backdrop-filter:none}}
@media (prefers-reduced-motion:reduce){.tw-home02 .h2-row,.tw-home02 .h2-prod .tw5-pg{scroll-behavior:auto}}
@media (max-width:359px){.tw-home02 .tw5-send{font-size:19px;padding:0 10px}.tw-home02 .tw5-send>svg:first-child{display:none}.tw-home02 .tw5-svc a{font-size:13px}}
@media (min-width:600px){.tw-home02 .tw5-slide{flex-basis:92%}.tw-home02 .h2-row>li,.tw-home02 .h2-prod .tw5-pg>li{flex-basis:150px}}
@media (min-width:1024px){
 .tw-home02 .tw5-slide{flex-basis:100%;padding-right:0}
 .tw-home02 .tw5-slide .tw5-ban{min-height:280px}
 .tw-home02 .tw5-ban.b00 h2{font-size:30px}.tw-home02 .tw5-ban.b00 .d{font-size:15px}
  .tw-home02 .h2-row>li,.tw-home02 .h2-prod .tw5-pg>li{flex-basis:168px}
}
/* HOME-02 fit: brand never splits; rate retry compact; narrow screens keep CTA on the right without squeezing the rate text */
.tw-home02 .tw5-ban.b00 h2 .br{white-space:nowrap}
.tw-home02 .tw5-rate .y3-retry{width:auto;min-height:44px;padding:0 14px;margin-top:4px}
@media (max-width:419px){.tw-home02 .h2-ri{width:40px;height:40px}.tw-home02 .h2-ri svg{width:24px;height:auto}.tw-home02 .tw5-rate{gap:8px;padding:12px 10px}.tw-home02 .tw5-send{padding:0 12px;gap:6px;max-width:48vw}.tw-home02 .tw5-send>svg:last-child{display:none}}
.tw-home02 .tw5-svc li{display:flex}.tw-home02 .tw5-svc li>a{flex:1}

/* ===== HOME-02 fix round 2b (ChatGPT review): hero art = img/home02-hero.webp (globe + phone + Taipei 101/landmarks + aurora, cropped from locked Canva MAHZ5y8pxgM; no UI text baked in).
   Text stays live HTML on the left; art fills the right side and fades into the pastel card. Tighter hero/rate/spacing toward Canva. ===== */
.tw-home02 .tw5{gap:10px}
.tw-home02 .tw5-slide{flex-basis:90%;padding-right:8px}
.tw-home02 .tw5-ban.b00{position:relative;display:block;min-height:160px;padding:14px 12px 12px 14px;isolation:isolate;
 background:radial-gradient(80% 100% at 0% 0%,#eaf2ff 0%,transparent 70%),radial-gradient(70% 90% at 0% 100%,#f3ecff 0%,transparent 70%),#eef3fe}
.tw-home02 .tw5-ban.b00{display:flex;align-items:center}
.tw-home02 .tw5-ban.b00 .tx{position:relative;z-index:1;max-width:52%}
.tw-home02 .tw5-ban.b00 h2{font-size:clamp(19px,5.4vw,26px);line-height:1.16;letter-spacing:-.3px;margin:0 0 6px}
.tw-home02 .tw5-ban.b00 h2 .br{color:var(--home02-violet);white-space:normal}
.tw-home02 .tw5-ban.b00 .d{font-size:12px;line-height:1.35;margin:0 0 10px;max-width:11.8em}
/* peek slides share the track height: trim their kicker so the hero is not stretched taller than Canva */
.tw-home02 .tw5-slide .tw5-ban:not(.b00){padding-top:12px;padding-bottom:12px}
.tw-home02 .tw5-ban.b01 .k,.tw-home02 .tw5-ban.b03 .k{margin-bottom:2px}
.tw-home02 .tw5-ban.b01 h2,.tw-home02 .tw5-ban.b03 h2{font-size:16px;line-height:1.18;margin-bottom:4px}
.tw-home02 .tw5-ban.b01 .d,.tw-home02 .tw5-ban.b03 .d{font-size:11.5px;line-height:1.3;margin-bottom:8px}
.tw-home02 .tw5-ban.b00 .h2-x{min-height:44px;padding:0 12px 0 16px;font-size:14.5px;background:rgba(255,255,255,.92)}
.tw-home02 .h2-art{position:absolute;z-index:0;top:0;right:0;bottom:0;width:64%;display:block;pointer-events:none;
 -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.55) 18%,#000 34%);mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.55) 18%,#000 34%)}
.tw-home02 .h2-art img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:58% 50%}
.tw-home02 .tw5-ctl{margin-top:-4px;min-height:44px}
/* rate: compact like Canva (icon · title/pair/source · CTA); "—" duplicate hidden while not connected (source line already says so) */
.tw-home02 .tw5-rate{padding:10px 10px 10px 12px;border-radius:20px}
.tw-home02 .tw5-rate .pair{margin:1px 0}
.tw-home02 .tw5-rate .pair strong.na{display:none}
.tw-home02 .tw5-rate .src{line-height:1.3}
.tw-home02 .tw5-rate .y3-retry{min-height:44px;margin-top:2px;padding:0 12px;font-size:13.5px}
.tw-home02 .tw5-svc{margin-top:10px}
.tw-home02 .tw5-svc a{min-height:92px}
.tw-home02 .h2-pc .im{background:#fff}
.tw-home02 .h2-pc .im img{padding:4px;box-sizing:border-box}
@media (max-width:359px){.tw-home02 .tw5-ban.b00 .tx{max-width:64%}
.tw-home02 .h2-art{width:56%}
}
@media (min-width:600px){.tw-home02 .tw5-slide{flex-basis:92%}
.tw-home02 .tw5-ban.b00{min-height:200px}
.tw-home02 .tw5-ban.b00 .tx{max-width:52%}
}
@media (min-width:1024px){.tw-home02 .tw5-slide{flex-basis:100%;padding-right:0}
.tw-home02 .tw5-ban.b00{min-height:280px;padding:32px 28px 28px 36px}
.tw-home02 .tw5-ban.b00 .tx{max-width:46%}
.tw-home02 .tw5-ban.b00 h2{font-size:34px}
.tw-home02 .tw5-ban.b00 .d{font-size:16px}
.tw-home02 .h2-art{width:64%}
}

/* ===== HOME-02 fix round 2c (20261104home2c): tighten bottom blank space on Home. Home has no .twm-cta bar, so drop the
   --twm-cta-h (76px) + 40px reserve from .twm-main; keep room for the fixed glass nav + safe-area (home indicator) + ~14px gap. ===== */
.tw-home02 .twm-main{padding-bottom:calc(var(--twm-nav-h) + 14px + env(safe-area-inset-bottom))}
.tw-home02 .twm-main>:last-child{scroll-margin-bottom:calc(var(--twm-nav-h) + 14px + env(safe-area-inset-bottom))}
html:has(.tw-home02){scroll-padding-bottom:calc(var(--twm-nav-h) + 14px + env(safe-area-inset-bottom))}
.tw-home02 .tw5-foot{display:grid;gap:2px;margin:0}
.tw-home02 .tw5-foot p{line-height:1}
@media (min-width:1024px){.tw-home02 .twm-main{padding-bottom:28px}}

/* 1.40.0 sheet: above bottom nav, never clipped */
.twm-sheet-bg{z-index:1000}.twm-sheet{max-height:min(82vh,calc(100dvh - 24px));overflow:hidden}.twm-sheet ul{flex:1 1 auto;min-height:0;overscroll-behavior:contain}
/* ==== money/assets/customer-flow-polish.css ==== */
/* TW PAY — Existing-screen polish 2026-11-07.
   Presentation-only patch. Never change Home, Shop, authentication, data, routes, fee, rate or business logic.
   All selectors are scoped to app data-scr for explicitly identified customer screens.
*/
:root{--twp-polish-navy:#071B49;--twp-polish-grad:linear-gradient(100deg,#087BFF 0%,#743DFF 36%,#F414A0 70%,#FF8740 100%)}
#twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"],[data-scr="orders"],[data-scr="account-orders"],[data-scr="order-detail"],[data-scr="cart"],[data-scr="checkout"],[data-scr="checkout-review"],[data-scr="product"],[data-scr="kyc"],[data-scr="help"],[data-scr="faq"]){
 --twm-navy:#071B49;--twm-ink:#283b67;--twm-muted:#536286;
 --twm-line:#e4e7f8;--twm-bg:#f7f7ff;--twm-grad:var(--twp-polish-grad);
 --twm-r:18px;--twm-shadow:0 2px 5px rgba(18,32,74,.035),0 8px 24px rgba(48,58,145,.075);
 color:#071B49;
}
/* Scoped common foundation: prioritize legibility over decorative glow. */
#twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"],[data-scr="orders"],[data-scr="account-orders"],[data-scr="order-detail"],[data-scr="cart"],[data-scr="checkout"],[data-scr="checkout-review"],[data-scr="product"],[data-scr="kyc"],[data-scr="help"],[data-scr="faq"]) .twm-card{
 border:1px solid #e9e9f8;border-radius:18px;background:#fff;
 box-shadow:0 2px 4px rgba(24,32,80,.025),0 8px 25px rgba(64,53,128,.07);
}
#twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"],[data-scr="orders"],[data-scr="account-orders"],[data-scr="order-detail"],[data-scr="cart"],[data-scr="checkout"],[data-scr="checkout-review"],[data-scr="product"],[data-scr="kyc"],[data-scr="help"],[data-scr="faq"]) .twm-h1{font-size:clamp(22px,5.6vw,28px);line-height:1.2;letter-spacing:-.5px}
#twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"],[data-scr="orders"],[data-scr="account-orders"],[data-scr="order-detail"],[data-scr="cart"],[data-scr="checkout"],[data-scr="checkout-review"],[data-scr="product"],[data-scr="kyc"],[data-scr="help"],[data-scr="faq"]) :is(input,textarea,select,button){font-family:inherit}
#twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"],[data-scr="orders"],[data-scr="account-orders"],[data-scr="order-detail"],[data-scr="cart"],[data-scr="checkout"],[data-scr="checkout-review"],[data-scr="product"],[data-scr="kyc"],[data-scr="help"],[data-scr="faq"]) :where(a,button,input,select,textarea):focus-visible{
 outline:3px solid #743DFF;outline-offset:2px;box-shadow:0 0 0 5px rgba(116,61,255,.12)
}
/* Clear hierarchy, but keep every field and every validation as implemented. */
#twm-app:is([data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s06"],[data-scr="s09"],[data-scr="checkout"],[data-scr="checkout-review"]) .twm-lbl{color:#071B49;font-weight:850}
#twm-app:is([data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s06"],[data-scr="s09"],[data-scr="checkout"],[data-scr="checkout-review"]) .twm-input{border:1.5px solid #dbe1f4;border-radius:14px;min-height:48px;background:#fff}
#twm-app:is([data-scr="s01"],[data-scr="s06"]) .twm-recv{
 border:1px solid #d9e2fb;background:linear-gradient(135deg,#f3f8ff,#f7f0ff);
 box-shadow:inset 0 1px 0 rgba(255,255,255,.9)
}
#twm-app:is([data-scr="s01"],[data-scr="s06"]) .twm-recv .v{color:#172fa4;font-size:clamp(22px,6.4vw,31px);font-weight:1000;line-height:1.2}
#twm-app:is([data-scr="s01"],[data-scr="s06"]) .s1-tab.on{background:var(--twp-polish-grad)}
#twm-app:is([data-scr="s01"],[data-scr="s06"]) .s1-tab{border-radius:13px}
/* Recipient form: make bank validation and choices obvious. */
#twm-app[data-scr="s02"] .s2-saved{border:1px solid #e2e4fb}
#twm-app[data-scr="s02"] .s2-chip[aria-checked="true"]{background:#f2f0ff;border-color:#743DFF;color:#4c31b5}
#twm-app[data-scr="s02"] .s2-holder{border:1px solid #e4e6f0}
/* Payment store selection: do not change chosen store, event handlers or source logos. */
#twm-app[data-scr="s03"] .s3-tile{box-shadow:0 3px 8px rgba(55,52,116,.045);min-height:68px;border:1.5px solid #dce2f6}
#twm-app[data-scr="s03"] .s3-tile.on{border:2px solid transparent;background:linear-gradient(#fff,#fff) padding-box,var(--twp-polish-grad) border-box}
#twm-app[data-scr="s03"] .s3-tile img{max-height:30px;object-fit:contain}
#twm-app[data-scr="s03"] .s3-tot b{font-weight:1000}
/* Waiting & barcode: codes must remain crisp and unmodified, no overlays. */
#twm-app:is([data-scr="s04"],[data-scr="s05"]) .s45-sum{border:1px solid #e2e7f8}
#twm-app:is([data-scr="s04"],[data-scr="s05"]) .twm-tl{background:#fff;border-radius:15px}
#twm-app[data-scr="s05"] .s45-bc{background:#fff!important;border:1px solid #e9eaf4!important;box-shadow:0 3px 12px rgba(36,34,95,.04);break-inside:avoid}
#twm-app[data-scr="s05"] .s45-bc .sv svg.c39{height:72px;min-height:72px;background:#fff;filter:none}
#twm-app[data-scr="s05"] .s45-bc .txt{color:#071B49;letter-spacing:.7px}
/* Installments: information-first, do not change formula, down-payment, terms. */
#twm-app[data-scr="s14"] .twm-card{background:linear-gradient(175deg,#fff,#fcfbff)}
#twm-app[data-scr="s14"] :is(.twm-input,select){min-height:44px}
/* Orders and order details: hierarchy, readable statuses, no fake paid state. */
#twm-app:is([data-scr="orders"],[data-scr="account-orders"],[data-scr="order-detail"]) .twm-card{padding:14px}
#twm-app:is([data-scr="orders"],[data-scr="account-orders"],[data-scr="order-detail"]) .twm-row{gap:12px;line-height:1.35;border-bottom:1px solid #eff0f8}
#twm-app:is([data-scr="orders"],[data-scr="account-orders"],[data-scr="order-detail"]) .twm-row :is(b,strong){color:#071B49}
/* Purchase: details remain scrollable; sticky CTA may not obscure actual content. */
#twm-app:is([data-scr="product"],[data-scr="cart"],[data-scr="checkout"],[data-scr="checkout-review"],[data-scr="kyc"]) .mx-content .mx-card{border:1px solid #e8e8f8;border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(40,46,120,.05)}
#twm-app:is([data-scr="product"],[data-scr="cart"],[data-scr="checkout"],[data-scr="checkout-review"],[data-scr="kyc"]) .mx-content :is(input,select){font-size:16px;min-height:44px}
#twm-app:is([data-scr="product"],[data-scr="cart"],[data-scr="checkout"],[data-scr="checkout-review"],[data-scr="kyc"]) .mx-error{border:1px solid #e9a6b7;border-radius:12px;color:#9c263b;background:#fff8fa}
/* Help: bring content closer to top without changing routing or contact details. */
#twm-app:is([data-scr="help"],[data-scr="faq"]) .mx-content{gap:12px}
#twm-app:is([data-scr="help"],[data-scr="faq"]) .mx-content .mx-card{border:1px solid #e6e7fa;border-radius:18px;box-shadow:0 7px 21px rgba(53,46,135,.06)}
#twm-app:is([data-scr="help"],[data-scr="faq"]) .mx-link{font-weight:750;line-height:1.4}
/* Mobile compactness without clipping: never overflow:hidden on content. */
@media(max-width:600px){
 #twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"],[data-scr="orders"],[data-scr="account-orders"],[data-scr="order-detail"],[data-scr="cart"],[data-scr="checkout"],[data-scr="checkout-review"],[data-scr="product"],[data-scr="kyc"],[data-scr="help"],[data-scr="faq"]) .twm-main{padding-left:12px;padding-right:12px}
 #twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"]) .twm-head{margin:4px 0 8px}
 #twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"]) .twm-card{padding:12px 13px;margin-bottom:9px}
 #twm-app:is([data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s06"],[data-scr="s09"]) .twm-steps{margin-bottom:9px}
 #twm-app:is([data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s06"],[data-scr="s09"]) .twm-field{margin-bottom:9px}
 #twm-app:is([data-scr="s04"],[data-scr="s05"]) .s45{gap:8px}
 #twm-app[data-scr="s05"] .s45-bcs{gap:10px}
 #twm-app[data-scr="s05"] .s45-bc{padding:7px 8px}
}
@media(min-width:1024px){
 #twm-app:is([data-scr="help"],[data-scr="faq"],[data-scr="orders"],[data-scr="account-orders"],[data-scr="order-detail"]) .twm-main{max-width:1040px}
 #twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"]) .twm-head{margin-bottom:12px}
}
@media(prefers-reduced-motion:reduce){
 #twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"]) :is(button,a){transition:none!important}
}
/* ==== money/assets/partner-strip.css ==== */
/* TW PAY — Dải «Ưu đãi đối tác» (iChannels) — fix ich1-fix contrast + mobile */
.twp-partners{
  --pp-navy:#071B49; --pp-ink:#3a4468; --pp-muted:#6b7398;
  --pp-glass:rgba(255,255,255,.9); --pp-edge:1px solid rgba(255,255,255,.95);
  --pp-shadow:0 1px 2px rgba(7,27,73,.04),0 10px 28px rgba(74,60,170,.12);
  --pp-grad:linear-gradient(100deg,#087BFF 0%,#743DFF 36%,#F414A0 70%,#FF8740 100%);
  --pp-r:18px;
  margin:16px 16px 24px; padding:16px 14px 14px;
  background:var(--pp-glass); border:var(--pp-edge); border-radius:var(--pp-r);
  box-shadow:var(--pp-shadow); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  font-family:inherit; color:var(--pp-ink);
}
.twp-partners__head{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-bottom:12px}
.twp-partners__title{margin:0;font-size:17px;line-height:1.25;font-weight:800;color:var(--pp-navy)}
.twp-partners__sub{margin:3px 0 0;font-size:12.5px;color:var(--pp-muted)}
.twp-partners__badge{flex:none;font-size:11px;font-weight:700;color:#fff;background:var(--pp-grad);
  padding:4px 9px;border-radius:999px;white-space:nowrap}
.twp-partners__list{list-style:none;margin:0;padding:2px 10px 8px 2px;display:flex;gap:10px;
  overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;
  scroll-padding-inline:8px}
.twp-partners__list::-webkit-scrollbar{display:none}
.twp-partners__item{flex:0 0 100px;scroll-snap-align:start;display:flex}
.twp-partners__link{display:flex;flex-direction:column;align-items:center;gap:7px;flex:1;box-sizing:border-box;
  padding:10px 8px 9px;border-radius:14px;background:#fff;border:1px solid #ece9fb;
  text-decoration:none;color:var(--pp-navy);box-shadow:0 1px 2px rgba(7,27,73,.04);
  transition:transform .15s ease,box-shadow .15s ease;min-width:0}
.twp-partners__link:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(74,60,170,.14)}
.twp-partners__link:focus-visible{outline:none;box-shadow:0 0 0 3px #fff,0 0 0 5px #6a4cf5}
.twp-partners__logo{width:84px;height:44px;display:flex;align-items:center;justify-content:center;
  border-radius:10px;overflow:hidden;background:#f4f2fb;flex:none}
.twp-partners__logo img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block}
/* plated assets already include brand bg — no cover-crop */
.twp-partners__logo--fill{background:#d0011b}
.twp-partners__logo--fill img{width:100%;height:100%;object-fit:contain}
.twp-partners__name{font-size:12.5px;font-weight:700;line-height:1.2;text-align:center}
.twp-partners__cat{font-size:11px;color:var(--pp-muted);text-align:center}
.twp-partners__note{margin:10px 2px 0;font-size:11px;line-height:1.45;color:var(--pp-muted)}
@media (min-width:768px){
  .twp-partners{margin:24px auto 32px;max-width:1120px;padding:22px 24px 18px}
  .twp-partners__title{font-size:20px}
  .twp-partners__list{overflow:visible;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;padding:2px}
  .twp-partners__item{flex:none}
  .twp-partners__logo{width:120px;height:56px}
  .twp-partners__link{padding:14px 10px 12px}
}
@media (prefers-reduced-motion:reduce){.twp-partners__link{transition:none}.twp-partners__link:hover{transform:none}}
/* ==== money/assets/home-noscroll.css ==== */
/* ===== LOT-HOME-NOSCROLL + 7SP (20261104ns1) — BẢN NHÁP, CHƯA LIVE =====
   Mục tiêu: Home vừa 1 màn điện thoại (390×700 / 390×844) không cuộn dọc.
   Scope: chỉ #twm-app.tw-home02 (Home). Load SAU money.css + partner-strip.css.
   Không khóa overflow: nếu người dùng phóng chữ lớn, trang vẫn cuộn được (a11y). */
.tw-home02{--ns-nav:var(--twm-nav-h,64px)}
/* A header gọn */
.tw-home02 .twm-top-in{min-height:52px;padding:4px 14px}
/* main: bỏ khoảng trống đáy cho CTA dính (Home không có) */
.tw-home02 .twm-main{padding:4px 12px calc(var(--ns-nav) + 6px + env(safe-area-inset-bottom))}
.tw-home02 .twm-main>:last-child{scroll-margin-bottom:0}
.tw-home02 .tw5{gap:8px}

/* B hero mỏng: 1 banner ~108px, mô tả ẩn, điều khiển carousel đè trong banner */
.tw-home02 .tw5-hero{position:relative}
.tw-home02 .tw5-slide .tw5-ban,.tw-home02 .tw5-ban.b00{min-height:108px}
.tw-home02 .tw5-ban.b00{padding:10px 10px 10px 14px}
.tw-home02 .tw5-ban.b00 h2{font-size:clamp(17px,4.8vw,20px);margin:0 0 6px}
.tw-home02 .tw5-ban.b00 .d,.tw-home02 .tw5-slide .tw5-ban .d,.tw-home02 .tw5-slide .tw5-ban .ch{display:none}
.tw-home02 .tw5-ban.b00 .h2-x{min-height:40px;font-size:14px;padding:0 10px 0 14px}
.tw-home02 .tw5-slide .tw5-ban:not(.b00){padding-top:8px;padding-bottom:8px}
.tw-home02 .tw5-slide .tw5-ban h2{font-size:15px}
.tw-home02 .tw5-ctl{position:absolute;left:0;right:12%;bottom:2px;margin:0;gap:2px;pointer-events:none;flex-wrap:nowrap;min-height:0}
.tw-home02 .tw5-ctl>*{pointer-events:auto}
.tw-home02 .tw5-ctl .tw5-arw:not(.pp){display:none}
.tw-home02 .tw5-ctl .tw5-arw.pp{min-height:28px;min-width:28px;font-size:11px;opacity:.8}

/* C tỷ giá 1 hàng */
.tw-home02 .tw5-rate{padding:8px 10px;gap:8px;border-radius:16px}
.tw-home02 .h2-ri{width:34px;height:34px}
.tw-home02 .h2-ri svg{width:22px;height:auto}
.tw-home02 .tw5-rate h2{font-size:11.5px}
.tw-home02 .tw5-rate .pair{margin:0;font-size:13px}
.tw-home02 .tw5-rate .pair b{font-size:16px}
.tw-home02 .tw5-rate .pair strong{font-size:13px}
.tw-home02 .tw5-rate .src{font-size:11px;display:flex;align-items:center;gap:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tw-home02 .tw5-rate .y3-retry{min-height:32px;padding:0 10px;margin:0;font-size:12px}
.tw-home02 .tw5-send{min-height:44px;font-size:16px;border-radius:14px}

/* D dịch vụ 2×3 thấp (icon + nhãn) */
.tw-home02 .tw5-svc{margin-top:0}
.tw-home02 .tw5-svc ul{gap:6px}
.tw-home02 .tw5-svc a{min-height:58px;flex-direction:row;justify-content:flex-start;gap:6px;padding:6px 6px;border-radius:14px;font-size:12.5px;text-align:left}
.tw-home02 .tw5-svc .ic{width:34px;height:34px;border-radius:11px;flex:none}
.tw-home02 .tw5-svc .ic svg{width:24px;height:24px}
.tw-home02 .tw5-svc .lb{line-height:1.15}

/* E «Mua sắm tại TW PAY» + badge «Sản phẩm TW PAY (7)» + 1 hàng mini-card cuộn ngang */
.tw-home02 .h2-prod{padding:4px 0 6px;border-radius:16px}
.tw-home02 .h2-prod .tw5-hd{padding:0 6px 0 12px}
.tw-home02 .h2-prod .tw5-hd h2{font-size:15px;font-weight:900}
.tw-home02 .h2-prod .tw5-hd a{min-height:36px;font-size:13px}
.tw-home02 .h2-badge{display:inline-flex;align-items:center;gap:5px;margin:0 0 2px 12px;padding:2px 10px 2px 8px;border-radius:999px;background:#f1edff;color:var(--home02-violet,#5b2bd9);font-size:12px;font-weight:800}
.tw-home02 .h2-badge svg{width:14px;height:14px}
.tw-home02 .h2-row{gap:8px;padding:4px 12px 4px}
.tw-home02 .h2-row>li{flex:0 0 92px}
.tw-home02 .h2-pc{padding:5px;border-radius:12px}
.tw-home02 .h2-pc .im{border-radius:9px;aspect-ratio:auto;height:58px}
.tw-home02 .h2-pc .nm{-webkit-line-clamp:1;min-height:0;margin:4px 0 2px;font-size:11.5px}
.tw-home02 .h2-pc .pr{font-size:12px}
.tw-home02 .h2-pc .cart{display:none}

/* F đối tác: 1 hàng logo chip (giống target-logo-strip-user.png) */
.tw-home02 .twp-partners{margin:0;padding:6px 8px 6px 12px;border-radius:16px;display:flex;align-items:center;gap:8px}
.tw-home02 .twp-partners__head{margin:0;flex:none}
.tw-home02 .twp-partners__title{font-size:13px;white-space:nowrap}
.tw-home02 .twp-partners__sub,.tw-home02 .twp-partners__badge,.tw-home02 .twp-partners__note,
.tw-home02 .twp-partners__name,.tw-home02 .twp-partners__cat{display:none}
.tw-home02 .twp-partners__list{flex:1;min-width:0;gap:6px;padding:2px}
.tw-home02 .twp-partners__item{flex:0 0 auto}
.tw-home02 .twp-partners__link{padding:0;border-radius:10px;min-height:44px;justify-content:center}
.tw-home02 .twp-partners__logo{width:72px;height:40px}

/* G hàng ngôn ngữ + liên hệ: bỏ khỏi Home (đã có VI ▾ ở header; liên hệ ở Hỗ trợ) */
.tw-home02 .tw5-e{display:none}

/* ---- vòng 2: siết theo đo 390×700 ---- */
.tw-home02 .tw5-slide .tw5-ban{height:104px;min-height:0;overflow:hidden;box-sizing:border-box}
.tw-home02 .tw5-slide .tw5-ban .k{margin-bottom:0;font-size:10.5px}
.tw-home02 .tw5-slide .tw5-ban:not(.b00) h2{font-size:14px;margin-bottom:4px}
.tw-home02 .tw5-slide .tw5-ban:not(.b00) .vis{max-height:84px}
.tw-home02 .tw5-ctl{left:auto;right:13%;bottom:4px}
.tw-home02 .tw5-dots button{min-width:20px;min-height:20px}
/* tỷ giá: tiêu đề chỉ cho trình đọc màn hình; thông báo + Thử lại cùng 1 dòng */
.tw-home02 .tw5-rate .rb{display:flex;flex-wrap:wrap;align-items:center;column-gap:6px;row-gap:2px;min-width:0}
.tw-home02 .tw5-rate .rb h2{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tw-home02 .tw5-rate .pair{flex-basis:100%}
.tw-home02 .tw5-rate .src{flex:1 1 0;min-width:0}
.tw-home02 .tw5-rate .y3-retry{flex:none;min-height:30px;padding:0 8px;font-size:11.5px}
/* SP: header + badge sát nhau */
.tw-home02 .h2-prod .tw5-hd{min-height:32px}
.tw-home02 .h2-prod .tw5-hd a{min-height:32px}
.tw-home02 .h2-badge{margin-bottom:0}
.tw-home02 .h2-pc .im{height:50px}
.tw-home02 .h2-row{padding-top:3px;padding-bottom:2px}

/* Safari có thanh công cụ (~660–690px): hero 86px, ô dịch vụ 52px */
@media (max-height:690px) and (max-width:767px){
 .tw-home02 .tw5-slide .tw5-ban{height:86px}
 .tw-home02 .tw5-ban.b00 h2{font-size:16px;margin-bottom:4px}
 .tw-home02 .tw5-ban.b00 .h2-x{min-height:36px;font-size:13px}
 .tw-home02 .tw5-svc a{min-height:52px}
}
/* Màn thấp: ẩn hero (giữ tỷ giá + CTA lên đầu) */
@media (max-height:640px) and (max-width:767px){
 .tw-home02 .tw5-a{display:none}
}
/* Màn rất thấp: bỏ badge SP */
@media (max-height:560px) and (max-width:767px){.tw-home02 .h2-badge{display:none}}
/* Desktop giữ bố cục cũ của partner strip */
@media (min-width:768px){
 .tw-home02 .twp-partners{display:block;padding:16px 20px}
 .tw-home02 .twp-partners__head{margin-bottom:10px}
 .tw-home02 .tw5-e{display:block}
}
/* ==== money/assets/home-b2.css ==== */
/* ===== LOT-HOME-NOSCROLL B2 (20261104nsb2) — sửa theo ChatGPT TÁN THÀNH có ĐK. BẢN NHÁP, CHƯA LIVE =====
   Load SAU home-noscroll.css. Điều kiện: chữ chính ≥14px · phụ ≥12px · vùng chạm ≥44px · nhãn «Đối tác · Liên kết giới thiệu». */
@media (max-width:767px){
/* Hero: nút chạm ≥44; chấm chỉ là chỉ báo (không nhận chạm), ‹ › hiện 44×44 */
.tw-home02 .tw5-ban.b00 h2{font-size:17px}
.tw-home02 .tw5-ban.b00 .h2-x{min-height:44px;font-size:14px}
.tw-home02 .tw5-slide .tw5-ban .k{font-size:12px}
.tw-home02 .tw5-slide .tw5-ban:not(.b00) h2{font-size:15px}
.tw-home02 .tw5-ctl{right:8px;bottom:6px;gap:4px;align-items:center}
.tw-home02 .tw5-dots{pointer-events:none}
.tw-home02 .tw5-dots button{min-width:12px;min-height:12px;padding:0}
.tw-home02 .tw5-ctl .tw5-arw:not(.pp){display:none}
.tw-home02 .tw5-ctl .tw5-arw.pp{min-width:44px;min-height:44px;font-size:13px;opacity:.9}
/* Tỷ giá */
.tw-home02 .tw5-rate .pair{font-size:14px}
.tw-home02 .tw5-rate .pair b{font-size:16px}
.tw-home02 .tw5-rate .pair strong{font-size:14px}
.tw-home02 .tw5-rate .src{font-size:12px}
.tw-home02 .tw5-rate .y3-retry{min-height:44px;min-width:44px;font-size:12px;padding:0 10px}
.tw-home02 .tw5-send{min-height:48px;font-size:16px}
/* Dịch vụ: ô ≥48 (chạm ≥44), nhãn 14px */
.tw-home02 .tw5-svc a{min-height:50px;font-size:14px;padding:4px 6px}
.tw-home02 .tw5-svc .ic{width:32px;height:32px}
.tw-home02 .tw5-svc .ic svg{width:22px;height:22px}
/* SP: tiêu đề 15–16, link «Xem tất cả» 44, tên 14, giá 14 đậm, badge 12 */
.tw-home02 .h2-prod .tw5-hd h2{font-size:16px}
.tw-home02 .h2-prod .tw5-hd a{min-height:44px;font-size:14px;display:inline-flex;align-items:center;padding:0 8px}
.tw-home02 .h2-badge{font-size:12px}
.tw-home02 .h2-row>li{flex:0 0 104px}
.tw-home02 .h2-pc{min-height:44px;padding:5px}
.tw-home02 .h2-pc .im{height:46px}
.tw-home02 .h2-pc .nm{font-size:14px;margin:3px 0 1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.tw-home02 .h2-pc .pr{font-size:14px;font-weight:900}
/* Đối tác: nhãn affiliate nhỏ 12px ngay trên dải logo; logo chạm ≥44 */
.tw-home02 .twp-partners{display:block;padding:4px 8px 6px 12px}
.tw-home02 .twp-partners__head{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tw-home02 .twp-partners__aff{display:block;margin:0 0 2px;font-size:12px;font-weight:700;color:#3d4a6b;line-height:1.3}
.tw-home02 .twp-partners__list{display:flex;overflow-x:auto}
.tw-home02 .twp-partners__link{min-height:44px;min-width:44px}
.tw-home02 .twp-partners__logo{width:72px;height:44px}
}
/* Màn ≤690 (Safari có thanh): hero gọn hơn */
@media (max-height:690px) and (max-width:767px){
 .tw-home02 .tw5-ban.b00 .h2-x{min-height:44px}
 .tw-home02 .tw5-svc a{min-height:48px}
}
.twp-partners__aff{display:none}
@media (max-width:767px){.tw-home02 .twp-partners__aff{display:block}}
/* vòng 2 B2: bù chiều cao để 390×700 và 375×667 không cuộn */
@media (max-width:767px){
 .tw-home02 .h2-badge{display:none}
 .tw-home02 .h2-prod{padding:2px 0 4px}
 .tw-home02 .h2-row{padding:2px 12px 2px}
 .tw-home02 .twp-partners{padding:3px 8px 4px 12px}
 .tw-home02 .twp-partners__aff{margin:0}
}
@media (max-height:690px) and (max-width:767px){
 .tw-home02 .tw5-slide .tw5-ban{height:80px}
 .tw-home02 .h2-pc .im{height:40px}
}
/* vòng 3 B2: ≤690 hero không cắt chữ */
@media (max-height:690px) and (max-width:767px){
 .tw-home02 .tw5-slide .tw5-ban{height:90px}
 .tw-home02 .tw5-ban.b00{padding:6px 10px 6px 14px}
 .tw-home02 .tw5-ban.b00 h2{font-size:15px;line-height:1.2;margin:0 0 4px}
 .tw-home02 .tw5-rate{padding:4px 10px}
 .tw-home02 .h2-pc .im{height:34px}
 .tw-home02 .h2-prod .tw5-hd{min-height:40px}
}
/* ==== money/assets/home-b3.css ==== */
/* ===== HOME B3 spacing (20261104homeb3) — ChatGPT TÁN THÀNH. BẢN NHÁP, CHƯA LIVE. Load SAU home-b2.css ===== */
@media (max-width:767px){
.tw-home02 .twm-main{padding:4px 12px calc(var(--ns-nav) + 6px + env(safe-area-inset-bottom))}
.tw-home02 .tw5{gap:6px}
/* hero 88–94 */
.tw-home02 .tw5-slide .tw5-ban{height:92px}
.tw-home02 .tw5-ban.b00{padding:6px 10px 6px 14px}
.tw-home02 .tw5-ban.b00 h2{line-height:1.2;margin:0 0 4px}
/* rate 64–70; CTA ≥44 */
.tw-home02 .tw5-rate{padding:4px 10px;min-height:64px;box-sizing:border-box}
.tw-home02 .tw5-send{min-height:44px}
/* grid 3×2, ô ≥48, gap 6 */
.tw-home02 .tw5-svc ul{gap:6px}
.tw-home02 .tw5-svc a{min-height:48px;padding:3px 6px}
/* SP gọn hơn */
.tw-home02 .h2-prod{padding:0 0 2px}
.tw-home02 .h2-prod .tw5-hd{min-height:44px}
.tw-home02 .h2-row{gap:6px;padding:0 12px 2px}
.tw-home02 .h2-pc{padding:4px}
.tw-home02 .h2-pc .im{height:40px}
.tw-home02 .h2-pc .nm{margin:2px 0 0}
/* đối tác padding −6–8 */
.tw-home02 .twp-partners{padding:2px 8px 2px 12px}
.tw-home02 .twp-partners__list{padding:0}
}
@media (max-height:690px) and (max-width:767px){
.tw-home02 .tw5-slide .tw5-ban{height:88px}
.tw-home02 .h2-pc .im{height:34px}
}
/* phân bổ lại chiều cao dư theo màn (không đệm giả: phóng ảnh SP/hero thật) */
@media (min-height:691px) and (max-width:767px){
.tw-home02 .tw5{gap:8px}
.tw-home02 .tw5-slide .tw5-ban{height:94px}
.tw-home02 .tw5-svc a{min-height:52px}
.tw-home02 .h2-pc .im{height:62px}
.tw-home02 .h2-pc{padding:6px}
.tw-home02 .twp-partners{padding:4px 8px 4px 12px}
}
@media (min-height:800px) and (max-width:767px){
.tw-home02 .tw5-svc a{min-height:60px}
.tw-home02 .h2-row>li{flex-basis:124px}
.tw-home02 .h2-pc .im{height:104px}
.tw-home02 .twp-partners__logo{height:52px}
}
/* tinh chỉnh vòng 2 theo đo */
@media (max-height:690px) and (max-width:767px){.tw-home02 .tw5{gap:8px}.tw-home02 .tw5-svc a{min-height:56px}.tw-home02 .h2-pc .im{height:54px}}
@media (min-height:691px) and (max-width:767px){.tw-home02 .tw5-svc a{min-height:56px}.tw-home02 .h2-pc .im{height:78px}}
@media (min-height:800px) and (max-width:767px){.tw-home02 .tw5{gap:10px}.tw-home02 .tw5-svc a{min-height:72px}.tw-home02 .h2-row>li{flex-basis:150px}.tw-home02 .h2-pc .im{height:160px}.tw-home02 .twp-partners__logo{height:60px}}
@media (max-height:690px) and (max-width:767px){.tw-home02 .h2-pc .im{height:62px}}
@media (min-height:691px) and (max-width:767px){.tw-home02 .h2-pc .im{height:82px}}
@media (min-height:800px) and (max-width:767px){.tw-home02 .h2-pc .im{height:172px}}

/* FIX6 2026-11-07: mobile home — no truncated service labels, rate line not crowded by CTA */
@media (max-width:480px){
#twm-app .hmx .tl a.t b{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;font-size:12px!important;line-height:1.15!important;overflow-wrap:break-word;word-break:normal;-webkit-hyphens:auto;hyphens:auto;letter-spacing:-.1px;min-width:0}
#twm-app .hmx section.rate{gap:8px!important}
#twm-app .hmx section.rate .rt{flex:1 1 auto!important;min-width:0!important;width:auto!important}
#twm-app .hmx section.rate .rt .v{white-space:normal!important;font-size:13.5px!important;line-height:1.2!important}
#twm-app .hmx section.rate a.go{flex:0 0 auto!important;width:auto!important;max-width:44%!important;padding-left:14px!important;padding-right:14px!important;font-size:15px!important;white-space:nowrap}
}
/* ==== money/assets/s01-draft.css ==== */
/* LOT-S01 draft 20261104s01d — tab chiều NT$→VND | VND→NT$ (S01 + S06). BẢN NHÁP, chưa live. */
.s1-tabs{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;padding:4px;margin-bottom:14px;background:#fff;border-radius:16px;border:1px solid #ece6ff;box-shadow:var(--twm-shadow)}
.s1-tab{display:flex;align-items:center;gap:5px;min-width:0;min-height:52px;padding:6px 7px;border-radius:12px;color:var(--twm-navy,#071B49);text-decoration:none;border:1px solid transparent}
.s1-tab .fls{display:inline-flex;align-items:center;gap:1px;flex:none}
.s1-tab .fls svg,.s1-tab .fls img{border-radius:4px}
.s1-tab .ar{font-weight:900;font-size:11px;color:#743DFF}
.s1-tab .tx{display:flex;flex-direction:column;min-width:0;line-height:1.2}
.s1-tab b{font-size:14px;font-weight:900;white-space:nowrap}
.s1-tab small{font-size:12px;font-weight:700;color:#4a557a;line-height:1.15}
.s1-tab.on{color:#fff;background:linear-gradient(100deg,#0057C2,#5A2BD9 38%,#B80E78 75%,#A8430E);box-shadow:0 6px 14px rgba(116,61,255,.28)}
.s1-tab.on .ar,.s1-tab.on small{color:#fff}
.s1-tab:focus-visible{outline:3px solid #087BFF;outline-offset:2px}
.s1-tab:not(.on):hover{border-color:#cfc8f7}
.s1-vchips{grid-template-columns:repeat(4,1fr)}
@media (max-width:360px){.s1-tab small{display:none}}
/* số nhận: không ngắt giữa số (trước: «3.962.4 / 50» xuống dòng) */
.twm-recv .v{font-size:clamp(22px,6.8vw,30px);word-break:normal;overflow-wrap:normal;white-space:normal}
.twm-recv .v span{white-space:nowrap}
/* ô nhập số to theo brief (30–36px) */
#twm-amt,#twm-vamt{font-size:30px;font-weight:900}
/* ==== money/assets/s02-draft.css ==== */
.s2-chips{display:flex;flex-wrap:wrap;gap:8px}.s2-chip{min-height:44px;padding:0 16px;border-radius:22px;border:1.5px solid #D5DCEB;background:#fff;color:#071B49;font:700 14px Nunito,sans-serif}
.s2-chip[aria-checked=true]{border-color:#743DFF;background:linear-gradient(90deg,#087BFF14,#743DFF1f);color:#4a1fd0}
.s2-holder{min-height:48px;display:flex;align-items:center;gap:8px;padding:0 14px;border-radius:14px;background:#F3F5FA;color:#071B49;font-size:15px}.s2-holder.ok{background:#EAF8F0;color:#0B6B3A}.s2-holder .ph{color:#8A93A8}
.s2-cf{display:flex;gap:10px;align-items:center;min-height:44px;font-weight:700;font-size:14px;color:#071B49;margin:-4px 0 12px}.s2-cf input{width:22px;height:22px;accent-color:#743DFF}
.s2-saved{margin:0 0 12px;background:#fff;border-color:transparent;box-shadow:var(--twm-shadow)}.s2-2b{margin:0 0 12px}
.s2-spin{width:16px;height:16px;border:2px solid #743DFF55;border-top-color:#743DFF;border-radius:50%;animation:s2s .8s linear infinite;display:inline-block}@keyframes s2s{to{transform:rotate(360deg)}}
.twm-btn#twm-next{min-height:48px}
/* S02 spacing tighten (owner t150u, like Home B3): scoped to S02 via :has(.s2-chips) */
.twm-main:has(.s2-chips){padding-bottom:calc(var(--twm-nav-h) + 132px + env(safe-area-inset-bottom))}
.twm-main:has(.s2-chips) .twm-steps{margin:0 0 8px}
.twm-main:has(.s2-chips) .twm-card{padding:12px 14px;margin-bottom:8px;border-radius:20px}
.twm-main:has(.s2-chips) .twm-card h2{margin:0 0 8px}
.twm-main:has(.s2-chips) .twm-field{margin-bottom:8px}
.twm-main:has(.s2-chips) .twm-lbl{margin-bottom:4px}
.twm-main:has(.s2-chips) .twm-flow{padding:10px 14px;margin-bottom:8px;border-radius:18px}
.twm-main:has(.s2-chips) .s2-chips{gap:6px}
.twm-main:has(.s2-chips) .s2-chip{padding:0 12px}
.twm-main:has(.s2-chips) .s2-cf{margin:-2px 0 6px}
.twm-main:has(.s2-chips) .s2-saved,.twm-main:has(.s2-chips) .s2-2b{margin:0 0 8px}
.twm-main:has(.s2-chips) .twm-note{margin:6px 0 0}
body:has(.s2-chips) .twm-cta{padding:8px 16px}
/* S02 NO-SCROLL (owner t151u, like Home B3) v=s02f — mobile only, scoped to S02 */
@media (max-width:899px){
html:has(.s2-chips){scroll-padding-bottom:0}
.twm-main:has(.s2-chips){padding:4px 16px calc(var(--twm-nav-h) + 98px + env(safe-area-inset-bottom))}
.twm-main:has(.s2-chips) .twm-col-side{display:none}
.twm-main:has(.s2-chips) .twm-col-main{display:grid;grid-template-columns:1fr 1fr 92px;gap:6px;align-items:center}
.twm-main:has(.s2-chips) .twm-col-main>*{margin:0;min-width:0}
.twm-main:has(.s2-chips) .twm-col-main>.twm-head{grid-column:1/3;margin:0;min-height:44px}
.twm-main:has(.s2-chips) .twm-col-main>.twm-dir{display:none}
.twm-main:has(.s2-chips) .twm-col-main>.twm-steps{grid-column:3;margin:0}
.twm-main:has(.s2-chips) .twm-steps li{font-size:0}
.twm-main:has(.s2-chips) .twm-steps li::before{top:9px;height:2px}
.twm-main:has(.s2-chips) .twm-steps .dot{width:20px;height:20px;margin:0 auto;font-size:11px;border-width:1.5px}
.twm-main:has(.s2-chips) .twm-steps .dot svg{width:11px;height:11px}
.twm-main:has(.s2-chips) .twm-col-main>section.twm-card:first-of-type{grid-column:1/3;padding:0;background:none;box-shadow:none;border:0}
.twm-main:has(.s2-chips) section.twm-card:first-of-type h2{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.twm-main:has(.s2-chips) .twm-opts{gap:6px}
.twm-main:has(.s2-chips) .twm-opt{min-height:48px;padding:6px 8px;gap:6px;font-size:14px;border-radius:14px}
.twm-main:has(.s2-chips) .twm-opt small{display:none}
.twm-main:has(.s2-chips) .twm-opt .em{font-size:18px}
.twm-main:has(.s2-chips) .twm-opt[aria-checked=true]::after{top:4px;right:4px;width:14px;height:14px;background-size:9px}
.twm-main:has(.s2-chips) .s2-saved{grid-column:3;min-height:48px;padding:4px 6px;font-size:12px;line-height:1.15;border-radius:14px}
.twm-main:has(.s2-chips) .s2-saved>span{gap:4px!important;font-weight:800}
.twm-main:has(.s2-chips) .s2-saved .twm-ico{display:none}
.twm-main:has(.s2-chips) .s2-saved>svg{width:14px;height:14px;flex:none}
.twm-main:has(.s2-chips) .twm-col-main>section.twm-card:last-of-type{grid-column:1/-1;padding:8px 12px 10px;border-radius:18px}
.twm-main:has(.s2-chips) .twm-field{margin-bottom:6px}
.twm-main:has(.s2-chips) .twm-lbl{font-size:14px;line-height:16px;margin:0 0 3px}
.twm-main:has(.s2-chips) .twm-input.sm,.twm-main:has(.s2-chips) .twm-select{height:44px;min-height:44px;font-size:16px}
.twm-main:has(.s2-chips) .twm-inline .twm-btn{min-height:44px;height:44px}
.twm-main:has(.s2-chips) .s2-chip{min-height:44px;padding:0 10px;font-size:14px}
.twm-main:has(.s2-chips) .s2-chips{flex-wrap:nowrap}
.twm-main:has(.s2-chips) .s2-chip{flex:1 1 auto}
.twm-main:has(.s2-chips) .s2-holder{min-height:44px}
.twm-main:has(.s2-chips) .s2-cf{min-height:44px;margin:-4px 0 2px}
.twm-main:has(.s2-chips) .s2-2b{font-size:12px;margin:0 0 6px}
.twm-main:has(.s2-chips) #twm-chk-st .twm-err,.twm-main:has(.s2-chips) #twm-ph-st .twm-err,.twm-main:has(.s2-chips) #twm-form-err{margin-top:4px;padding:6px 10px;font-size:13px}
body:has(.s2-chips) .twm-cta{padding:6px 16px}
body:has(.s2-chips) .twm-cta-in{gap:6px}
body:has(.s2-chips) .twm-sum{padding:5px 10px;border-radius:12px;font-size:12px;align-items:baseline}
body:has(.s2-chips) .twm-sum>span{display:flex;flex-direction:column;line-height:1.15}
body:has(.s2-chips) .twm-sum b{font-size:13px}
.twm-main:has(.s2-chips) #twm-bank-l{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.twm-main:has(.s2-chips) section.twm-card:first-of-type .twm-opts{display:grid}
.twm-main:has(.s2-chips) .twm-col-main>section.twm-card:first-of-type,.twm-main:has(.s2-chips) .twm-opt{min-height:0;height:48px}
.twm-main:has(.s2-chips) .twm-col-main>section.twm-card:last-of-type{padding:6px 12px 8px}
.twm-main:has(.s2-chips) .s2-cf{margin:-4px 0 0}
body:has(.s2-chips) .twm-sum{padding:4px 10px}
body:has(.s2-chips) .twm-sum>span{flex-direction:row;flex-wrap:wrap;gap:0 4px;align-items:baseline;justify-content:center}
body:has(.s2-chips) .twm-sum>span:first-child{justify-content:flex-start}body:has(.s2-chips) .twm-sum>span:last-child{justify-content:flex-end}
body:has(.s2-chips) .twm-sum b{display:inline}
body:has(.s2-chips) .twm-sum{gap:6px;padding:3px 10px;line-height:16px}
body:has(.s2-chips) .twm-sum>span{flex-wrap:nowrap;white-space:nowrap;min-width:0}
body:has(.s2-chips) .twm-cta-in{grid-template-columns:minmax(0,1fr)}
body:has(.s2-chips) .twm-sum{padding:3px 10px;line-height:14px;gap:6px}
body:has(.s2-chips) .twm-sum>span{display:block;white-space:normal;min-width:0}
body:has(.s2-chips) .twm-sum b{display:block;line-height:15px;white-space:nowrap}
.twm-main:has(.s2-chips) .twm-field{margin-bottom:5px}
.twm-main:has(.s2-chips) .twm-lbl{margin:0 0 2px}
.twm-main:has(.s2-chips) .twm-col-main{grid-template-columns:1fr 1fr 104px}
.twm-main:has(.s2-chips) .s2-saved{font-size:12.5px}
body:has(.s2-chips) .twm-cta{padding:5px 16px}
body:has(.s2-chips) .twm-cta-in{gap:5px}
.twm-main:has(.s2-chips) .twm-col-main>section.twm-card:last-of-type{padding:6px 12px 6px}
}
/* v=s02g (owner t153u, recommended option): 1-line error + compact label|field rows for holder & phone; holder row hidden until lookup OK (JS adds .ok after lookup) */
@media (max-width:899px){
.twm-main:has(.s2-chips) #twm-chk-st .twm-err,.twm-main:has(.s2-chips) #twm-ph-st .twm-err{padding:4px 8px;font-size:12.5px;line-height:16px;margin-top:3px}
.twm-main:has(.s2-chips) #twm-chk-st .twm-err span,.twm-main:has(.s2-chips) #twm-ph-st .twm-err span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.twm-main:has(.s2-chips) .twm-field:has(> #twm-holder-ro:not(.ok)){display:none}
.twm-main:has(.s2-chips) .twm-field:has(> #twm-holder-ro),.twm-main:has(.s2-chips) .twm-field:has(> #twm-phone){display:grid;grid-template-columns:96px minmax(0,1fr);gap:0 8px;align-items:center}
.twm-main:has(.s2-chips) .twm-field:has(> #twm-holder-ro)>.twm-lbl,.twm-main:has(.s2-chips) .twm-field:has(> #twm-phone)>.twm-lbl{margin:0;font-size:13px;line-height:15px}
.twm-main:has(.s2-chips) .twm-field:has(> #twm-phone)>#twm-ph-st{grid-column:1/-1}
}
@media (max-width:899px){
.twm-main:has(.s2-chips) .twm-field:has(> #twm-holder-ro){display:block}
.twm-main:has(.s2-chips) .twm-field:has(> #twm-holder-ro)>.twm-lbl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.twm-main:has(.s2-chips) .s2-cf{margin:-2px 0 0;min-height:44px}
}
/* ==== money/assets/s03-draft.css ==== */
/* LOT-S03 draft 20261104s03d — BẢN NHÁP. Siết khoảng trống 6–8px, không cuộn 390×844/700, 375. */
.s3{display:flex;flex-direction:column;gap:6px}
.s3 .twm-head{margin:0}.s3 .twm-steps{margin:0}
.s3-sum{background:#fff;border-radius:20px;padding:10px 14px;box-shadow:0 4px 14px rgba(30,20,80,.08);color:#071B49}
.s3-tot{display:flex;justify-content:space-between;align-items:baseline;font-size:14px}
.s3-tot b{font-size:24px;font-weight:900;background:linear-gradient(90deg,#087BFF,#743DFF,#F414A0,#FF8740);-webkit-background-clip:text;background-clip:text;color:transparent}
.s3-sum dl{margin:4px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:2px 10px}
.s3-sum dl div{display:flex;justify-content:space-between;gap:6px;font-size:13px;min-width:0}
.s3-sum dl div.w{grid-column:1/-1}
.s3-sum dt{color:#5b6488;white-space:nowrap}.s3-sum dd{margin:0;font-weight:800;text-align:right;min-width:0}
.s3-sum dd small{display:block;font-weight:600;font-size:12px;color:#5b6488}
.s3-st{background:#fff;border-radius:20px;padding:10px 12px;box-shadow:0 4px 14px rgba(30,20,80,.08)}
.s3-st h2{font-size:15px;margin:0 0 6px;color:#071B49}
.s3-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.s3-tile{position:relative;min-height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:2px solid #e3e6f3;border-radius:16px;background:#fff;font:700 12px Nunito,sans-serif;color:#071B49;cursor:pointer;padding:4px}
.s3-tile img{height:26px;width:auto;max-width:88px;object-fit:contain}
.s3-tile.on{border-color:transparent;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(90deg,#087BFF,#743DFF,#F414A0,#FF8740) border-box}
.s3-tile .tk{position:absolute;top:4px;right:4px;width:20px;height:20px;border-radius:50%;background:#743DFF;color:#fff;display:grid;place-items:center}
.s3-tile .tk svg{width:12px;height:12px}
.s3-tile:disabled{opacity:.55;cursor:not-allowed}
.s3-note{display:flex;gap:6px;align-items:flex-start;margin:6px 0 0;font-size:12px;color:#5b6488}
.s3-err{margin:0}
body:has(.s3) .twm-cta{padding:6px 16px}
body:has(.s3) .twm-cta-in{display:flex;flex-direction:column;gap:2px}
body:has(.s3) #twm-next{min-height:48px}
.s3-new{min-height:44px;background:none;border:0;font:700 14px Nunito,sans-serif;color:#743DFF;cursor:pointer}
.s3-new:disabled{opacity:.5}
body:has(.s3) .twm-main{padding-bottom:calc(64px + 110px + env(safe-area-inset-bottom))}
@media(min-width:900px){body:has(.s3) .twm-main{padding-bottom:16px}body:has(.s3) .twm-cta-in{flex-direction:row}}
/* r2: Tạo lệnh mới nằm trong dòng ghi chú; padding đáy = CTA 60 + nav 64 */
.s3-note{align-items:center}.s3-note span{flex:1}
.s3-new{flex:none;min-height:44px;padding:0 4px;font-size:13px}
body:has(.s3) .twm-main{padding-bottom:calc(64px + 62px + env(safe-area-inset-bottom))}
@media(max-width:899px){body:has(.s3) .twm-col-side{display:none}}
@media(min-width:900px){body:has(.s3) .twm-main{padding-bottom:16px}}
/* r3: màn thấp */
.s3-sum dd .twm-sample{margin-left:4px}
.s3-err{padding:8px 12px;font-size:13px}
@media(max-width:899px) and (max-height:760px){
 body:has(.s3) .twm-head{min-height:0}body:has(.s3) .twm-h1{font-size:22px}body:has(.s3) .twm-back{width:40px;height:40px}
 body:has(.s3) .twm-steps li{font-size:11px}body:has(.s3) .twm-steps .dot{width:26px;height:26px}
 .s3-sum{padding:8px 12px}.s3-tot b{font-size:21px}.s3-st{padding:8px 10px}.s3-st h2{font-size:14px;margin-bottom:4px}
 .s3-note{margin-top:4px}.s3-new{min-height:44px}
}
/* ==== money/assets/s04s05-draft.css ==== */
/* LOT-S04-S05 draft 20261104s04a — không cuộn dọc, khoảng siết như Home B3 */
.s45{display:flex;flex-direction:column;gap:6px}
.s45 .twm-head{margin:0}.s45 .twm-steps{margin:0}
.s45 .twm-card{margin:0;padding:10px 12px;border-radius:20px}
.s45-sum .r{display:flex;align-items:center;gap:8px;justify-content:space-between;min-height:30px;font-size:14px}
.s45-sum .r>span:first-child{color:#4a5a80;font-weight:700}
.s45-sum .r.sm{font-size:12px;min-height:24px}
.s45-sum .big{font-size:22px;color:#071B49;font-weight:900}
.s45-sum .twm-copy{min-height:44px}
.s45-st{display:inline-flex;align-items:center;gap:6px}.s45-st img{height:20px;width:auto}
.s45 .twm-tl{margin:0 0 6px}
.s45-msg{margin:4px 0 0;font-size:14px;font-weight:700;color:#071B49;text-align:center}
.s45-slow{margin:6px 0 0;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:800;font-size:14px}
.s45-re{min-height:44px;width:auto;padding:0 14px}
.s45-bcs{display:flex;flex-direction:column;gap:6px}
.s45 .s45-bc{display:block;background:#fff!important;border-radius:14px;padding:4px 6px 4px;margin:0}
.s45 .s45-bc .sv{overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.s45 .s45-bc .sv svg.c39{display:block;height:56px;width:auto;max-width:none;margin:0 auto;background:#fff}
.s45 .s45-bc .ft{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:2px}
.s45 .s45-bc .n{font-size:12px!important;padding:2px 8px!important;border-radius:8px}
.s45 .s45-bc .txt{font:800 13px/1.2 ui-monospace,Menlo,monospace;letter-spacing:1px;margin:0}
.s45 .twm-head{min-height:0}.s45 .twm-head .twm-h1{font-size:22px}
.s05x .s45-sum{padding:8px 12px}
.s05x .s45-sum .r>span:first-child{white-space:nowrap;font-size:12px}
.s45-hint{margin:0;text-align:center;font-size:12px;color:#4a5a80}
.s45~*,.s45 .twm-note{display:none}
.twm-cta .twm-btn{min-height:48px}
body:has(.s45) .twm-cta-in{display:flex;gap:8px}
body:has(.s45) .twm-cta-in .twm-btn{flex:1;margin:0}
@media (max-height:760px){.s45 .s45-bc .sv svg.c39{height:46px}.s05x .twm-head .twm-back{width:40px;height:40px}.s45-hint{display:none}.s45 .twm-steps{display:none}.s45-bc .sv svg{height:56px}.s45-sum .r{min-height:26px}}
.s45-slow[hidden]{display:none!important}
.s45 .s45-bc .sv svg.c39{width:100%!important;min-width:340px;margin:0}
/* s04c t167u countdown */
.s45-cd{margin:8px 0 0;text-align:center;font-size:14px;color:#5b5f7a}.s45-cd b{font-size:22px;font-variant-numeric:tabular-nums;color:#4b3fd1;margin-left:4px}.s45-sub{font-size:13px;color:#5b5f7a}
/* s04c t168u: watermark logo TW PAY mờ, lưới đều, nằm dưới nội dung (không che mã/CTA) */
.s45{position:relative;isolation:isolate}
.s45::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.06;background:url(img/twpay-logo.png?v=20261104s04c) 0 0/56px auto repeat space;background-size:56px auto;background-repeat:space;background-position:center 24px;filter:grayscale(1)}
.s45 .twm-card{position:relative;z-index:1}
/* t170u/t169u s04c */
.s45-cd .s2-spin{display:inline-block;width:14px;height:14px;vertical-align:-2px}
.s5cd{margin:2px 0 0;font-size:13px}.s5cd b{font-size:18px}
.twm-toast.s5-ready{background:#0f9d58;color:#fff;font-weight:800}
/* ==== money/assets/ds-140.css ==== */
/* TW PAY 1.40.0 design system pass: one palette/font/radius/shadow for every screen (source: light home). */
:root{--tw-purple:#6a4cf5;--tw-blue:#2f6bff;--tw-pink:#ee4fa6;--tw-navy:#16204a;--tw-orange:#ff8a3d;
 --twm-violet:var(--tw-purple);--twm-blue:var(--tw-blue);--twm-pink:var(--tw-pink);--twm-navy:var(--tw-navy);--twm-orange:var(--tw-orange)}
/* Banner: fixed 2:1 frame, one slide per view (no peek / leak), light Xiaomi slide */
.tw-home02 .tw5-track[data-step]>*{flex:0 0 100%;max-width:100%}
.tw-home02 .tw5-slide .tw5-ban,.tw5-ban{height:auto!important;aspect-ratio:2/1;min-height:0;box-sizing:border-box;overflow:hidden}
@media (min-width:1024px){.tw5-ban{aspect-ratio:auto;min-height:220px}}
.tw5-ban.b03{background:linear-gradient(120deg,#fff4ea,#ffe9f4)!important;color:var(--tw-navy)!important}
.tw5-ban.b03 h2,.tw-home02 .tw5-ban.b03 h2{color:var(--tw-navy)!important}.tw5-ban.b03 .d{color:#6b7398!important}
.tw5-ban.b03 .tw5-soon{background:#fff;color:var(--tw-navy)}
.tw5-ban .vis img{object-fit:contain}
.tw5-hd{display:flex;align-items:center;justify-content:space-between;gap:8px}.tw5-hd a{white-space:nowrap;flex:none}
/* Service tiles: never split words mid-letter */
.tw5-svc .lb{overflow-wrap:normal;word-break:normal;hyphens:auto;font-size:11.5px;min-width:0}
.tw-home02 .tw5-svc a{gap:5px;padding:6px 5px}.tw-home02 .tw5-svc .ic{width:30px;height:30px}.tw-home02 .tw5-svc .ic svg,.tw-home02 .tw5-svc .ic img{width:22px;height:22px}
/* s00 rate card: art in its own column, never over text */
.twm-rate-card{display:grid;grid-template-columns:minmax(0,1fr) 64px;column-gap:10px;align-items:start}
.twm-rate-card>*{grid-column:1/-1}
.twm-rate-card>h2{grid-column:1;grid-row:1;align-self:center}
.twm-rate-card>.rart{grid-column:2;grid-row:1;position:relative!important;width:64px;height:64px;transform:none!important;inset:auto!important}
.twm-rate-card>.rart svg{width:64px;height:64px}
/* Shared account screens (flows.js) */
.mx-content{display:flex;flex-direction:column;gap:12px}
.mx-content .twm-card{border-radius:var(--twm-r);box-shadow:var(--twm-shadow)}
.mx-tabs{display:grid;grid-template-columns:1fr 1fr;background:#fff;border-radius:999px;padding:4px;box-shadow:var(--twm-shadow)}
.mx-tabs a{text-align:center;padding:10px;border-radius:999px;font-weight:800;color:var(--twm-muted);text-decoration:none}
.mx-tabs a[aria-current]{background:var(--twm-grad);color:#fff}
.mx-ahead{text-align:center;padding:4px 8px 0}.mx-ahead h2{margin:6px 0 2px;font-size:22px;font-weight:900;color:var(--tw-navy)}.mx-ahead p{margin:0;color:var(--twm-muted);font-size:14px}
.mx-art{width:104px;height:104px;object-fit:contain;display:block;margin:0 auto}
.mx-otp{border:0;padding:0;margin:0 0 12px}.mx-otp-row{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-top:6px}
.mx-otp-row input{text-align:center;font-size:22px;font-weight:900;padding:0;height:52px;border-radius:14px}
.mx-center{text-align:center}.mx-small{font-size:13px;color:var(--twm-muted)}
.mx-linkbtn{background:none;border:0;padding:0;color:var(--tw-purple);font-weight:800;text-decoration:underline;cursor:pointer;font:inherit}
.mx-linkbtn:disabled{color:var(--twm-muted);cursor:default}
.mx-price{font-size:22px;font-weight:900;color:var(--tw-pink)}
.mx-cart-row{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--twm-line)}
.mx-cart-row:last-child{border-bottom:0}.mx-cart-row img{width:64px;height:64px;object-fit:contain;border-radius:14px;background:var(--twm-soft)}
.mx-cart-main{display:flex;flex-direction:column;gap:4px;min-width:0}.mx-cart-main b{font-size:14px}.mx-cart-main small{color:var(--twm-muted)}
.mx-qty{display:inline-flex;align-items:center;border:1px solid var(--twm-line);border-radius:999px;width:max-content}
.mx-qty button{width:36px;height:36px;border:0;background:none;font-size:18px;font-weight:900;color:var(--tw-purple);cursor:pointer}
.mx-qty input{width:36px;border:0;text-align:center;font-weight:800;-moz-appearance:textfield}.mx-qty input::-webkit-inner-spin-button{display:none}
.mx-cart-side{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.mx-cart-side b{color:var(--tw-pink)}
.mx-rm{color:var(--twm-err)}
.mx-sum{display:grid;grid-template-columns:1fr auto;gap:8px;margin:0 0 8px}.mx-sum dd{margin:0;font-weight:800;text-align:right}
.mx-sum .mx-tot{font-size:18px;font-weight:900;padding-top:8px;border-top:1px dashed var(--twm-line)}.mx-sum dd.mx-tot{color:var(--tw-pink)}
.mx-legal h2{font-size:16px;margin:16px 0 6px;color:var(--tw-navy)}.mx-legal p,.mx-legal li{font-size:14px;line-height:1.55;color:var(--twm-ink)}.mx-legal ul{padding-left:20px}
.mx-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}
.mx-products .twm-card{margin:0;display:flex;flex-direction:column;gap:4px}.mx-products img{width:100%;height:140px;object-fit:contain}
.mx-products h2{font-size:14px;margin:4px 0 0}.mx-products p{font-size:12px;color:var(--twm-muted);margin:0}.mx-products b{color:var(--tw-pink)}
.mx-ocard{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid var(--twm-line);text-decoration:none;color:inherit}
.mx-ocard:last-child{border-bottom:0}.mx-ocard .ic{width:44px;height:44px;border-radius:14px;background:var(--twm-soft);display:grid;place-items:center;font-size:20px}
.mx-ocard small{display:block;color:var(--twm-muted);font-size:12px}
.mx-pill{display:inline-block;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:800;background:#efeaff;color:var(--tw-purple)}
.mx-pill.ok{background:var(--twm-ok-bg);color:var(--twm-ok)}.mx-pill.warn{background:var(--twm-warn-bg);color:var(--twm-warn)}.mx-pill.err{background:var(--twm-err-bg);color:var(--twm-err)}
#mx-messages article{margin:0 0 10px}#mx-messages article b{display:block;margin-left:auto;width:max-content;max-width:80%;background:var(--twm-grad);color:#fff;border-radius:14px 14px 4px 14px;padding:10px 12px;font-weight:700}
#mx-messages article p{background:#f3f0ff;border-radius:14px 14px 14px 4px;padding:10px 12px;display:inline-block;max-width:85%;margin:6px 0 0}
.mx-empty,.mx-empty h2,.mx-empty p{text-align:center}
.twm-sheet #twm-bq{flex:none;min-height:46px}.twm-sheet .twm-blg{flex:0 0 40px;width:40px;height:40px;overflow:hidden}.twm-sheet .twm-blg img{width:100%;height:100%;object-fit:contain}
.twm-blg{flex:0 0 40px;width:40px!important;height:40px!important;overflow:hidden}.twm-blg img{width:100%;height:100%;object-fit:contain}
/* 1.40.1 home polish reverted in 1.40.2 (owner keeps home-goc layout) */

/* ===== 1.40.3 HOME (design-target/home, original layout kept) =====
   Tweak points for the coming small home revision: --hx-top (gap under header), --hx-peek (next-slide reveal),
   --hx-gap (between blocks), --hx-tile-gap. */
.tw-home02{--hx-top:12px;--hx-peek:18px;--hx-gap:16px;--hx-tile-gap:10px;font-family:"Nunito",system-ui,sans-serif}
.tw-home02 .twm-main{padding-top:var(--hx-top)}
.tw-home02 .tw5>*+*,.tw-home02 .tw5-b>*+*{margin-top:var(--hx-gap)!important}
.tw-home02 .tw5-hero{margin:0!important;position:relative}
/* banner: peek of next slide, 2.1:1, dots bottom-left, no pause/arrows over the art */
.tw-home02 .tw5-vp{overflow:hidden;border-radius:0!important;box-shadow:none!important;margin:0 -16px;padding:0 16px}
.tw-home02 .tw5-track[data-step]>.tw5-slide{flex:0 0 calc(100% - var(--hx-peek) - 10px)!important;max-width:none!important;padding-right:10px!important;box-sizing:content-box}
.tw-home02 .tw5-slide .tw5-ban,.tw-home02 .tw5-ban{aspect-ratio:2.1/1!important;height:auto!important;border-radius:22px!important;box-shadow:0 8px 22px rgba(70,50,180,.12)}
.tw-home02 .tw5-ctl{position:absolute!important;left:34px;bottom:12px;top:auto!important;right:auto!important;transform:none!important;margin:0!important;height:auto;width:auto;background:none!important;box-shadow:none!important;padding:0;z-index:3}
.tw-home02 .tw5-ctl .tw5-arw{display:none!important}
.tw-home02 .tw5-dots{display:flex;gap:5px;height:auto}
.tw-home02 .tw5-dots button{width:auto;height:auto;min-width:0;min-height:0;padding:4px 0;background:none;border:0}
.tw-home02 .tw5-dots span{display:block;width:6px;height:6px;border-radius:3px;background:#C9C1F7;transition:width .2s}
.tw-home02 .tw5-dots [aria-current] span{width:18px;background:#6A4CF5}
/* rate card */
.tw-home02 .hx-rate{display:flex!important;align-items:center;gap:12px;padding:16px!important;border-radius:20px!important;background:#fff;box-shadow:0 6px 20px rgba(70,50,180,.08)}
.tw-home02 .hx-rate .h2-ri{width:36px;height:auto;flex:none;background:none!important;box-shadow:none!important}
.tw-home02 .hx-rate .h2-ri svg{width:34px!important;height:24px!important;border-radius:4px}
.tw-home02 .hx-rate .rb{display:flex!important;flex-direction:column!important;align-items:flex-start!important;flex:1;min-width:0;gap:0!important}
.tw-home02 .hx-rate .pair{margin:0!important;font-size:15px!important;font-weight:800;flex-basis:auto!important}.tw-home02 .hx-rate .pair b{font-size:15px!important}
.tw-home02 .hx-rate .pair .sw{color:#6A4CF5;margin:0 4px}
.tw-home02 .hx-big{font-size:24px;font-weight:800;line-height:1.2;color:#16204A;white-space:nowrap;letter-spacing:-.3px}
.tw-home02 .hx-at{font-size:12px;color:#5B6385}
.tw-home02 .hx-na{font-size:13px;color:#5B6385}.tw-home02 .hx-retry{border:0;background:none;color:#6A4CF5;font:700 13px "Nunito",sans-serif;padding:0;cursor:pointer;text-decoration:underline}
.tw-home02 .hx-sk{display:block;height:18px;width:150px;border-radius:8px;margin:4px 0}.tw-home02 .hx-sk.s{height:12px;width:110px}
.tw-home02 .hx-rate .tw5-send{flex:none;display:inline-flex;align-items:center;gap:6px;min-height:48px;padding:0 20px;border-radius:999px;background:linear-gradient(90deg,#6A4CF5,#2F6BFF)!important;color:#fff;font:800 16px "Nunito",sans-serif;box-shadow:0 8px 18px rgba(80,76,245,.30);white-space:nowrap}
.tw-home02 .hx-rate .tw5-send svg{width:18px;height:18px}
/* 6 tiles: icon left 30px, label right, one line */
.tw-home02 .tw5-svc ul{display:grid!important;grid-template-columns:.9fr 1.25fr .9fr;gap:var(--hx-tile-gap)!important}
.tw-home02 .tw5-svc a{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;padding:10px 8px!important;min-height:50px!important;border-radius:16px!important;background:#fff;box-shadow:0 4px 14px rgba(70,50,180,.07);text-align:left!important}
.tw-home02 .tw5-svc .ic{width:30px!important;height:30px!important;border-radius:11px!important;background:#F3F0FF!important;flex:none;display:grid!important;place-items:center}
.tw-home02 .tw5-svc .ic svg,.tw-home02 .tw5-svc .ic img,.tw-home02 .tw5-svc .ic.tw-custom-art{width:26px!important;height:26px!important}
.tw-home02 .tw5-svc .lb{font-size:12.5px!important;font-weight:700!important;white-space:nowrap!important;letter-spacing:-.2px;hyphens:none!important;overflow:visible}
/* products: 132px horizontal cards */
.tw-home02 .h2-prod{background:#fff;border-radius:20px;padding:16px;box-shadow:0 6px 20px rgba(70,50,180,.08)}
.tw-home02 .h2-prod .tw5-hd h2{font-size:16px;font-weight:700}.tw-home02 .h2-prod .tw5-hd a{color:#6A4CF5;font-size:13px;font-weight:600}
.tw-home02 .h2-badge{display:none}
.tw-home02 .h2-row{display:flex;gap:10px!important;overflow-x:auto;scrollbar-width:none;margin-right:-16px!important;padding-right:16px!important}
.tw-home02 .h2-row::-webkit-scrollbar{display:none}
.tw-home02 .h2-row>li{flex:0 0 132px!important}
.tw-home02 .h2-pc{display:flex!important;flex-direction:column;height:auto!important;border:1px solid #E6E3F7;border-radius:16px;padding:8px!important;background:#fff;box-shadow:none}
.tw-home02 .h2-pc .im{width:100%;aspect-ratio:1;height:auto!important;border-radius:12px;background:#F7F6FF;display:grid;place-items:center;overflow:hidden}
.tw-home02 .h2-pc .im img{width:100%!important;height:100%!important;object-fit:contain}
.tw-home02 .h2-pc .nm{font-weight:700;font-size:13px;line-height:1.3;margin-top:6px;min-height:34px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal!important;text-overflow:clip!important}
.tw-home02 .h2-pc .pr{color:#C2187A!important;font-weight:800;font-size:14px}.tw-home02 .h2-pc .cart{display:none}
/* partners: uniform 96x56 strip */
.tw-home02 .twp-partners{background:#fff;border-radius:20px;padding:12px 16px 16px;box-shadow:0 6px 20px rgba(70,50,180,.08)}
.tw-home02 .twp-partners__head,.tw-home02 .twp-partners__note{display:none!important}
.tw-home02 .twp-partners__aff{display:block!important;margin:0 0 10px;font-size:13px;font-weight:700;color:#5B6385}
.tw-home02 .twp-partners__list{display:flex!important;gap:10px!important;overflow-x:auto;scrollbar-width:none;margin:0 -16px 0 0!important;padding:0 16px 0 0!important}
.tw-home02 .twp-partners__list::-webkit-scrollbar{display:none}
.tw-home02 .twp-partners__item{flex:0 0 96px!important;width:96px!important}
.tw-home02 .twp-partners__item[data-optional]{display:block!important}
.tw-home02 .twp-partners__link{display:block}
.tw-home02 .twp-partners__logo{width:96px!important;height:56px!important;border-radius:14px;border:1px solid #E6E3F7;background:#fff!important;display:grid!important;place-items:center;padding:8px;box-sizing:border-box}
.tw-home02 .twp-partners__logo img{max-height:30px!important;max-width:72px!important;width:auto!important;height:auto!important;object-fit:contain}
.tw-home02 .twp-partners__name,.tw-home02 .twp-partners__cat{display:none!important}
@media(min-width:1024px){
 .tw-home02{--hx-top:24px;--hx-gap:24px}
 .tw-home02 .tw5{max-width:1200px;margin:0 auto}
 .tw-home02 .tw5-vp{margin:0;padding:0}
 .tw-home02 .tw5-track[data-step]>.tw5-slide{flex:0 0 calc(50% - 10px)!important}
 .tw-home02 .tw5-slide .tw5-ban,.tw-home02 .tw5-ban{aspect-ratio:2.4/1!important;min-height:0!important}
 .tw-home02 .hx-big{font-size:30px}
 .tw-home02 .tw5-svc ul{grid-template-columns:repeat(6,1fr);gap:16px!important}.tw-home02 .tw5-svc a{padding:16px!important;gap:10px!important}.tw-home02 .tw5-svc .lb{font-size:14px!important}
 .tw-home02 .h2-row{overflow:visible;margin-right:0!important;padding-right:0!important}.tw-home02 .h2-row>li{flex:1 1 0!important;min-width:0}.tw-home02 .h2-row>li:nth-child(n+7){display:none}
 .tw-home02 .twp-partners__list{overflow:visible;margin:0!important;padding:0!important}.tw-home02 .twp-partners__item{flex:1 1 0!important;width:auto!important}.tw-home02 .twp-partners__logo{width:100%!important;height:72px!important}.tw-home02 .twp-partners__logo img{max-height:40px!important;max-width:110px!important}
}
@media(min-width:1024px){
 .tw-home02 .tw5{display:flex!important;flex-direction:column;gap:var(--hx-gap)!important;padding:0 24px}
 .tw-home02 .tw5>*,.tw-home02 .tw5-b>*{grid-column:auto!important;grid-row:auto!important;margin-top:0!important}
 .tw-home02 .tw5-b{display:flex!important;flex-direction:column;gap:var(--hx-gap)}
 .tw-home02 .twp-partners{width:auto!important;max-width:none!important}
 .tw-home02 .hx-rate{grid-template-columns:none!important;padding:16px 20px!important}
}
/* ===== 1.40.4 home QA ===== */
body:has(.tw-home02) #tw-support-mascot{width:48px!important;height:48px!important;right:8px!important;left:auto!important;bottom:calc(84px + env(safe-area-inset-bottom))!important;top:auto!important;padding:0!important}
body:has(.tw-home02) #tw-support-mascot img{width:48px!important;height:48px!important}
.tw-home02 .twm-main{padding-bottom:calc(150px + env(safe-area-inset-bottom))!important}
@media(min-width:1024px){
 body:has(.tw-home02) #tw-support-mascot{bottom:24px!important;right:24px!important}
 .tw-home02 .twm-main{padding-bottom:96px!important}
 .tw-home02 .tw5-slide .tw5-ban{aspect-ratio:auto!important;height:280px!important}
 .tw-home02 .tw5-ban .tx{position:absolute!important;left:32px!important;top:50%!important;transform:translateY(-50%)!important;width:52%!important;max-width:none!important;display:flex!important;flex-direction:column;align-items:flex-start;gap:10px;text-align:left!important;margin:0!important;padding:0!important}
 .tw-home02 .tw5-ban .tx h2{font-size:30px!important;line-height:1.2!important;font-weight:800!important;margin:0!important}
 .tw-home02 .tw5-ban .tx .k{font-size:14px!important;margin:0!important}
 .tw-home02 .tw5-ban .tx .d{display:block!important;font-size:14px!important;line-height:1.4;margin:0!important}
 .tw-home02 .tw5-ban .tx .h2-x,.tw-home02 .tw5-ban .tx .tw5-cta{font-size:15px!important;min-height:42px;padding:0 18px!important}
 .tw-home02 .h2-pc .nm{font-size:15px!important;min-height:40px}
 .tw-home02 .h2-pc .pr{font-size:16px!important;font-weight:800!important}
 .tw-home02 .hx-at{font-size:13px!important}
}
@media(min-width:1024px){.tw-home02 .tw5-slide .tw5-ban{position:relative!important;overflow:hidden}}
@media(min-width:1024px){.tw-home02 .tw5-ban.b01 .vis,.tw-home02 .tw5-ban.b03 .vis{position:absolute!important;right:36px!important;left:auto!important;top:50%!important;transform:translateY(-50%)!important;margin:0!important}}
/* partners strip: exactly 3 full tiles visible at mobile, snap, no half tile */
.tw-home02 .twp-partners__list{margin:0!important;padding:0!important;scroll-snap-type:x mandatory}
.tw-home02 .twp-partners__item{flex:0 0 calc((100% - 20px)/3)!important;width:auto!important;scroll-snap-align:start}
.tw-home02 .twp-partners__logo{width:100%!important;background:#fff!important}
.tw-home02 .twp-partners__logo img{background:transparent!important}
@media(min-width:1024px){.tw-home02 .twp-partners__item{flex:1 1 0!important}}
body.hx-mhide #tw-support-mascot{opacity:0!important;pointer-events:none!important;transform:scale(.6);transition:opacity .2s,transform .2s}body:has(.tw-home02) #tw-support-mascot{transition:opacity .2s,transform .2s}
/* ===== 1.41.0 HOME MOBILE (<=768px) = design-target/home/after-mobile.html ===== */
.hmx,.hmx-parts{display:none}
@media(max-width:768px){
 #twm-app[data-scr=home] .tw5,#twm-app[data-scr=home] .twm-top,#twm-app[data-scr=home] .twm-nav,body:has(#twm-app[data-scr=home]) #tw-support-mascot{display:none!important}
 .tw-home02 .twm-main{padding:0!important;max-width:none!important}
 .tw-home02{background:linear-gradient(180deg,#EEEAFB,#F3F1FC 50%,#EFEDFA)}
 .hmx{display:block;font-family:"Nunito",system-ui,sans-serif;color:#16204A;padding-bottom:76px}
 .hmx a{color:inherit;text-decoration:none}
 .hmx .hd{height:52px;display:flex;align-items:center;padding:0 12px;gap:8px;background:rgba(255,255,255,.35);position:sticky;top:0;z-index:5;backdrop-filter:blur(8px)}
 .hmx .hd .lg{display:flex;align-items:center;gap:7px;font-weight:800;font-size:19px;flex:1;letter-spacing:.2px}.hmx .hd .lg img{width:34px;height:34px}
 .hmx .vi{position:relative;width:73px;height:42px;border-radius:21px;background:#fff;display:flex;align-items:center;box-shadow:0 3px 10px rgba(80,60,200,.08)}
 .hmx .vi select{appearance:none;-webkit-appearance:none;border:0;background:transparent;width:100%;height:100%;padding:0 26px 0 15px;font:700 14px "Nunito",sans-serif;color:#16204A;border-radius:21px}
 .hmx .vi .cv{position:absolute;right:12px;top:50%;transform:translateY(-60%);color:#8A90AE;font-size:11px;pointer-events:none}
 .hmx .bell{width:44px;height:44px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 3px 10px rgba(80,60,200,.08)}
 .hmx .m{padding:3px 12px 0;display:flex;flex-direction:column;gap:7px}
 .hmx .rate{height:78px;background:#fff;border-radius:18px;display:flex;align-items:center;padding:0 10px 0 14px;gap:12px;box-shadow:0 4px 14px rgba(70,50,180,.07)}
 .hmx .fl{width:32px;height:32px;border-radius:50%;background:#F4F2FF;display:grid;place-items:center;flex:none}.hmx .fl span{width:22px;height:15px;border-radius:2px;background:#FE0000;position:relative;display:block}.hmx .fl span:before{content:"";position:absolute;left:0;top:0;width:11px;height:7.5px;background:#000095}
 .hmx .rt{min-width:0}.hmx .rt b{font-size:15px;font-weight:800;white-space:nowrap}.hmx .rt .v{font-size:13px;font-weight:700;margin-top:3px;white-space:nowrap}.hmx .rt .u{font-size:11px;color:#6B7398;white-space:nowrap}
 .hmx .hx-retry{font-size:11px}
 .hmx .go{margin-left:auto;height:44px;padding:0 16px;border-radius:22px;background:linear-gradient(90deg,#2F6BFF,#6A4CF5 50%,#EE4FA6);color:#fff!important;font-weight:800;font-size:15.5px;display:flex;align-items:center;gap:7px;box-shadow:0 6px 14px rgba(80,76,245,.30);flex:none;white-space:nowrap}
 .hmx .tl{display:grid;grid-template-columns:1fr 1.18fr 1fr;gap:6px}
 .hmx .t{height:55px;background:#fff;border-radius:15px;display:flex;align-items:center;gap:7px;padding:0 8px;box-shadow:0 3px 10px rgba(70,50,180,.06);min-width:0}
 .hmx .t .q{width:32px;height:32px;border-radius:10px;background:#F5F1FF;display:grid;place-items:center;flex:none}.hmx .t b{font-size:13.5px;font-weight:800;white-space:nowrap;letter-spacing:-.1px;overflow:hidden;text-overflow:clip}
 .hmx .shop{background:#fff;border-radius:18px;padding:10px 0 10px 12px;box-shadow:0 4px 14px rgba(70,50,180,.07)}
 .hmx .sh{display:flex;justify-content:space-between;align-items:center;padding-right:12px;margin-bottom:8px}.hmx .sh b{font-size:15.5px;font-weight:800}.hmx .sh a{font-size:12.5px;color:#5B3FE0;font-weight:800}
 .hmx .pr{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;padding-right:12px}.hmx .pr::-webkit-scrollbar{display:none}
 .hmx .pc{flex:0 0 103px;border:1px solid #ECE9F8;border-radius:12px;padding:6px}
 .hmx .pc img{width:100%;height:70px;object-fit:contain}.hmx .pc .n{font-size:13px;font-weight:700;white-space:nowrap;margin-top:3px;letter-spacing:-.2px}.hmx .pc .p{font-size:13px;font-weight:800;color:#C2187A}
 .hmx .tb{position:fixed;left:0;right:0;bottom:0;height:64px;background:#fff;border-radius:20px 20px 0 0;display:flex;justify-content:space-around;align-items:center;box-shadow:0 -4px 18px rgba(70,50,180,.08);z-index:9;padding-bottom:env(safe-area-inset-bottom)}
 .hmx .tb a{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:12px;font-weight:800;color:#5B6385}.hmx .tb a.on{color:#6A4CF5}
 .hmx-parts{display:flex;flex-direction:column;gap:12px;margin-top:24px}
}
/* banner + partners pieces (home mobile and #/s00) */
.hmx .car,.hmx-parts .car{display:flex;gap:8px;margin-right:-12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;height:93px}
.hmx .car::-webkit-scrollbar,.hmx-parts .car::-webkit-scrollbar{display:none}
.hmx .sl,.hmx-parts .sl{flex:0 0 calc(100% - 46px);max-width:340px;height:93px;border-radius:18px;position:relative;overflow:hidden;background:linear-gradient(110deg,#F2EEFF,#E6ECFF);box-shadow:0 4px 14px rgba(70,50,180,.10);border:1px solid #fff;scroll-snap-align:start;color:#16204A;text-decoration:none}
.hmx .sl.n,.hmx-parts .sl.n{background:linear-gradient(110deg,#F2EEFF,#E3EBFF)}
.hmx .st,.hmx-parts .st{position:absolute;left:14px;top:8px;right:46%;font-weight:800;font-size:16px;line-height:1.3;z-index:2}
.hmx .sl.n .st,.hmx-parts .sl.n .st{right:14px}
.hmx .kb,.hmx-parts .kb{position:absolute;left:14px;bottom:10px;height:31px;padding:0 13px;border-radius:16px;background:#fff;border:1.5px solid #D9D0FF;color:#5B3FE0;font-weight:800;font-size:12.5px;display:flex;align-items:center;gap:6px;z-index:2}
.hmx .art,.hmx-parts .art{position:absolute;right:0;top:0;height:100%;width:58%;object-fit:cover;object-position:left center;-webkit-mask-image:linear-gradient(90deg,transparent,#000 18%);mask-image:linear-gradient(90deg,transparent,#000 18%)}
.hmx .dots,.hmx-parts .dots{position:absolute;right:12px;bottom:8px;display:flex;gap:4px;align-items:center;background:rgba(255,255,255,.85);padding:4px 7px;border-radius:10px;z-index:3}
.hmx .dots i,.hmx-parts .dots i{width:5px;height:5px;border-radius:3px;background:#C9C1F7}.hmx .dots i.on,.hmx-parts .dots i.on{width:14px;background:#16204A}
.hmx .pt,.hmx-parts .pt{background:#fff;border-radius:16px;padding:7px 10px 8px;box-shadow:0 4px 14px rgba(70,50,180,.07);font-family:"Nunito",sans-serif}
.hmx .pt .h,.hmx-parts .pt .h{font-size:10.5px;font-weight:700;color:#5B6385;margin-bottom:5px}
.hmx .pg,.hmx-parts .pg{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}
.hmx .pg a,.hmx-parts .pg a{height:42px;border-radius:10px;border:1px solid #ECE9F8;background:#fff;display:grid;place-items:center}
.hmx .pg img,.hmx-parts .pg img{max-width:70%;max-height:20px;object-fit:contain}
@media(min-width:769px){.hmx-parts{display:flex;flex-direction:column;gap:16px;margin-top:24px}
 .hmx-parts .car{height:180px;margin-right:0}.hmx-parts .sl{flex:0 0 calc(50% - 4px);max-width:none;height:180px}.hmx-parts .st{font-size:26px;top:24px;left:28px}.hmx-parts .kb{left:28px;bottom:24px;height:40px;font-size:14px}
 .hmx-parts .pt{padding:14px 16px}.hmx-parts .pt .h{font-size:13px}.hmx-parts .pg a{height:64px}.hmx-parts .pg img{max-height:32px}}
/* ===== 1.41.0 s00 corridor cards (v3) ===== */
.twm-flows{display:flex;flex-direction:column;gap:16px}
.twm-flow{background:#fff!important;border:1px solid #E3DDFF!important;border-radius:20px!important;box-shadow:0 6px 20px rgba(70,50,180,.06)!important;padding:14px!important;gap:14px!important;font-family:"Nunito",sans-serif}
.twm-flow .art{width:72px!important;height:72px!important;border-radius:18px;background:linear-gradient(135deg,#F3EFFF,#FFEFF7)!important;flex:none;display:grid;place-items:center}
.twm-flow .art svg,.twm-flow .art img{width:56px!important;height:56px!important}
.twm-flow .t{font-size:16.5px!important;font-weight:700!important;line-height:1.3;color:#16204A}
.twm-flow .p{display:inline-flex!important;align-items:center;gap:6px;margin:6px 0 4px;padding:4px 10px;border:1px solid #E3DDFF;border-radius:999px;font-size:13px;font-weight:600;white-space:nowrap;background:#fff}
.twm-flow .d{font-size:12.5px!important;color:#5B6385!important}
.twm-flow .go{color:#6A4CF5}
.twm-flow .cx-sk{display:inline-block;width:150px;height:12px;border-radius:6px}
.twm-flow br{display:none}.twm-flow .bd{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.twm-flow::before,.twm-flow::after{display:none!important}
@media(max-width:768px){.tw-home02 .mx-utilities{display:none!important}
 .hmx .tl{grid-template-columns:.95fr 1.3fr .95fr}.hmx .t{gap:6px;padding:0 7px}.hmx .t b{font-size:13px;letter-spacing:-.25px}}
@media(min-width:1024px){
 .twm-flows{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px}
 .twm-flow{min-height:0!important;height:auto!important;padding:16px 18px!important}
 .twm-flow .t{font-size:18px!important}.twm-flow .p{font-size:14px}.twm-flow .d{font-size:13.5px!important}
 .hmx-parts{margin-top:20px;gap:12px}.hmx-parts .car{height:150px}.hmx-parts .sl{height:150px}.hmx-parts .st{font-size:22px;top:18px}.hmx-parts .kb{bottom:18px}
}
/* no-scroll rule: 5 corridors (EN/繁中) -> compact cards, banner hidden, partners kept compact */
.twm-flows.many{gap:8px}
.twm-flows.many .twm-flow{padding:8px 12px!important;gap:10px!important}
.twm-flows.many .twm-flow .art{width:48px!important;height:48px!important;border-radius:14px}.twm-flows.many .twm-flow .art svg,.twm-flows.many .twm-flow .art img{width:38px!important;height:38px!important}
.twm-flows.many .twm-flow .t{font-size:15px!important}.twm-flows.many .twm-flow .p{margin:3px 0 2px;padding:2px 8px;font-size:12px}.twm-flows.many .twm-flow .d{font-size:11.5px!important}
.twm-flows.many+.hmx-parts{margin-top:10px}.twm-flows.many+.hmx-parts .car{display:none}
@media(min-width:1024px){.twm-flows.many{grid-template-columns:repeat(3,1fr)}.twm-flows.many+.hmx-parts .car{display:flex;height:120px}.twm-flows.many+.hmx-parts .sl{height:120px}}
.twm-flows.many .twm-flow{min-height:0!important;height:auto!important;max-height:none!important}.twm-flows.many{grid-auto-rows:auto!important}
@media(max-width:768px){.twm-flows.many+.hmx-parts{display:none}}
/* 1.41.0 home WEB: one viewport (1440x900) */
@media(min-width:1024px){
 .tw-home02 .mx-utilities,.tw-home02 .tw5-e,.tw-home02 .twm-foot,.tw-home02 footer{display:none!important}
 .tw-home02{--hx-top:16px;--hx-gap:14px}
 .tw-home02 .twm-main{padding-bottom:16px!important}
 .tw-home02 .tw5-slide .tw5-ban{height:230px!important}
 .tw-home02 .tw5-ban .tx h2{font-size:32px!important}
 .tw-home02 .hx-rate{padding:12px 20px!important}.tw-home02 .hx-big{font-size:28px}
 .tw-home02 .tw5-svc a{padding:12px 16px!important;min-height:56px!important}.tw-home02 .tw5-svc .lb{font-size:15px!important}
 .tw-home02 .h2-prod{padding:12px 16px}.tw-home02 .h2-prod .tw5-hd{margin-bottom:8px}.tw-home02 .h2-prod .tw5-hd h2{font-size:18px}
 .tw-home02 .h2-pc .im{aspect-ratio:auto;height:120px!important}.tw-home02 .h2-pc .nm{font-size:16px!important;min-height:0;-webkit-line-clamp:1}
 .tw-home02 .twp-partners{padding:10px 16px 12px}.tw-home02 .twp-partners__aff{font-size:14px;margin-bottom:8px}.tw-home02 .twp-partners__logo{height:60px!important}
 .tw-home02 .twp-partners__logo img{background:transparent}
}
@media(min-width:1024px){.tw-home02 .twp-partners__logo img{max-height:32px!important;max-width:60%!important}}
@media(min-width:1024px){.tw-home02 .twp-partners__logo img{height:32px!important;width:110px!important;max-width:80%!important;max-height:32px!important;object-fit:contain!important}}
/* 1.41.0-b1r: home phone fills 390x844 down to the tab bar, reference proportions (home-goc-exact) */
@media(max-width:768px){
 .hmx{padding-bottom:0;height:100vh;height:100dvh;display:flex!important;flex-direction:column;overflow:hidden}
 .hmx .hd{height:56px;flex:none;padding:0 14px}.hmx .hd .lg{font-size:21px;gap:8px}.hmx .hd .lg img{width:38px;height:38px}
 .hmx .vi{width:76px;height:44px}.hmx .bell{width:46px;height:46px}
 .hmx .m{flex:1;min-height:0;padding:4px 12px 8px;margin-bottom:68px;display:flex;flex-direction:column;justify-content:space-between;gap:8px}
 .hmx .car{height:112px}.hmx .sl{height:112px;flex-basis:calc(100% - 40px)}.hmx .st{font-size:18px;top:12px}.hmx .kb{height:36px;font-size:14px;bottom:12px}
 .hmx .dots{right:auto;left:52%;bottom:12px}
 .hmx .rate{height:92px;padding:0 12px 0 14px}
 .hmx .fl{width:44px;height:44px;background:#fff;box-shadow:0 2px 8px rgba(70,50,180,.14)}.hmx .fl span{width:26px;height:18px}.hmx .fl span:before{width:13px;height:9px}
 .hmx .rt b{font-size:17px}.hmx .rt .v{font-size:15px}.hmx .rt .u{font-size:12px}
 .hmx .go{height:52px;padding:0 20px;border-radius:26px;font-size:17px}
 .hmx .tl{gap:8px}.hmx .t{height:62px;gap:8px;padding:0 8px}.hmx .t .q{width:38px;height:38px;border-radius:12px}.hmx .t .q svg{width:24px;height:24px}
 .hmx .t b{font-size:15px;letter-spacing:-.3px}
 .hmx .tl{grid-template-columns:.92fr 1.36fr .92fr}
 .hmx .shop{padding:12px 0 12px 12px}.hmx .sh b{font-size:17px}.hmx .sh a{font-size:14px}
 .hmx .pc{flex:0 0 112px;padding:8px;border-radius:14px}.hmx .pc img{height:84px}.hmx .pc .n{font-size:14.5px;margin-top:6px}.hmx .pc .p{font-size:15px}
 .hmx .pt{padding:9px 0 10px 12px}.hmx .pt .h{font-size:12.5px;margin-bottom:6px}
 .hmx .pg{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none}.hmx .pg::-webkit-scrollbar{display:none}
 .hmx .pg a{flex:0 0 76px;height:48px;border-radius:12px}.hmx .pg img{max-height:24px}
 .hmx .tb{height:68px}.hmx .tb svg{width:24px;height:24px}.hmx .tb a{font-size:13px}
}
@media(max-width:768px){
 .hmx .tl{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,1fr);gap:6px}
 .hmx .t{gap:6px;padding:0 6px}.hmx .t .q{width:32px;height:32px;border-radius:10px}.hmx .t .q svg{width:22px;height:22px}
 .hmx .t b{font-size:14px;letter-spacing:-.35px}
}
@media(max-width:768px){.hmx .pc{flex-basis:106px}}
/* ===== 1.41.0 s02 recipient TW→VN (design-target/recipient/after.html) ===== */
.rx-page{font-family:"Nunito",sans-serif}
.rx-page .twm-main{padding-top:4px!important;padding-bottom:84px!important}
.rx-wrap{display:flex;flex-direction:column;gap:10px;max-width:640px;margin:0 auto}
.rx-wrap>*{margin:0!important}
.rx-wrap .twm-steps{margin:0!important}
.rx-wrap .twm-card{border-radius:20px;padding:12px 14px!important;background:#fff;box-shadow:0 6px 20px rgba(70,50,180,.07);border:0}
.rx-wrap .twm-card h2{font-size:16px;font-weight:700;margin:0 0 8px;color:#16204A}
.rx-chips{display:flex;gap:8px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
.rx-chip{flex:none;height:34px;padding:0 13px;border-radius:999px;border:0;background:#F1EEFF;color:#6A4CF5;font:600 13.5px "Nunito",sans-serif;cursor:pointer;white-space:nowrap}
.rx-chip.on{background:linear-gradient(90deg,#6A4CF5,#2F6BFF);color:#fff}
.rx-f{display:flex;flex-direction:column;gap:4px;margin-bottom:8px}
.rx-f label,.rx-f .lb{font-weight:600;font-size:13px;color:#16204A}
.rx-f small{font-size:12px;color:#5B6385}
.rx-wrap .twm-input.sm,.rx-sel{height:44px!important;min-height:0!important;border:1.5px solid #E6E3F7!important;border-radius:14px!important;background:#fff!important;font:500 15px "Nunito",sans-serif!important;padding:0 14px!important;box-shadow:none!important;width:100%}
.rx-wrap .twm-input.sm:focus{border-color:#6A4CF5!important;box-shadow:0 0 0 4px rgba(106,76,245,.12)!important;outline:0}
.rx-wrap .twm-input[aria-invalid=true]{border-color:#E5484D!important}
.rx-sel{display:flex!important;align-items:center;justify-content:space-between;cursor:pointer;text-align:left}.rx-sel .cv{color:#16204A;font-size:12px}.rx-sel>svg{display:none}
.rx-sel .twm-blg{width:28px;height:28px}
.rx-in{display:flex;gap:8px}.rx-in input{flex:1}
.rx-chk{flex:none;height:44px;padding:0 14px;border-radius:14px;border:1.5px solid #D9D2FF;background:#fff;color:#6A4CF5;font:700 14px "Nunito",sans-serif;cursor:pointer}.rx-chk:disabled{opacity:.5}
.rx-ok{display:flex;gap:6px;align-items:center;margin-top:4px;font-size:12.5px;color:#147A43}.rx-ok svg{width:16px;height:16px}
.rx-add{background:none;border:0;padding:2px 0 8px;color:#6A4CF5;font:700 13.5px "Nunito",sans-serif;cursor:pointer;text-align:left}
.rx-wrap .twm-err{margin-top:4px;font-size:12px;color:#D93036}
.rx-next{width:100%;height:50px!important;min-height:0!important;border-radius:16px!important;margin:2px 0 12px!important;font:700 16px "Nunito",sans-serif!important;background:linear-gradient(90deg,#6A4CF5,#2F6BFF)!important;color:#fff!important;box-shadow:0 8px 18px rgba(80,76,245,.30)}
.rx-next:disabled{background:#E4E2F0!important;color:#9A9FB8!important;box-shadow:none}
.rx-page .twm-cta{display:none!important}
.rx-page #tw-support-mascot{display:none!important}
@media(min-width:1024px){.rx-page .twm-main{padding-bottom:24px!important}.rx-wrap{max-width:720px;gap:12px}}
body:has(.rx-page) #tw-support-mascot{display:none!important}
.rx-page .twm-main{padding-bottom:72px!important}
.rx-wrap{gap:8px}.rx-wrap .twm-card{padding:10px 14px!important}.rx-wrap .twm-card h2{font-size:15.5px;margin-bottom:6px}
.rx-f{margin-bottom:6px;gap:3px}.rx-f label small{font-weight:500}
.rx-wrap .twm-input.sm,.rx-sel,.rx-chk{height:42px!important}
.rx-sel .twm-blg{width:30px!important;height:22px!important;min-width:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}.rx-sel .twm-blg img{width:30px!important;height:22px!important;object-fit:contain}
.rx-sel .twm-selb{display:flex;align-items:center;gap:10px}
.rx-e{margin:2px 0 0;font-size:12px;color:#D93036;font-weight:600}
.rx-ok{margin-top:2px}
.rx-add{padding:0 0 6px}
.rx-wrap .twm-head,.rx-wrap .twm-steps{margin:0!important}
.rx-next{height:48px!important;margin:0 0 12px!important}
@media(min-width:1024px){.rx-page .twm-main{max-width:none!important;width:100%!important}.rx-wrap{width:720px;max-width:720px}.rx-wrap .twm-head{justify-content:flex-start}}
/* 1.41.0-b1 home phone gaps.md: single 10px gap, Mua sắm flexes, partners 6-col grid */
@media(max-width:768px){
 .hmx .hd{height:52px}.hmx .hd .lg{font-size:20px}.hmx .hd .lg img{width:36px;height:36px}
 .hmx .bell img{width:22px;height:22px}
 .hmx .m{gap:10px!important;padding:6px 12px 10px!important;margin-bottom:64px;justify-content:flex-start!important;height:calc(100dvh - 52px - 64px - env(safe-area-inset-bottom));flex:none;overflow:hidden;box-sizing:border-box}
 .hmx .m>*{margin:0!important;flex:none}
 .hmx .car,.hmx .sl{height:118px!important}
 .hmx .rate{height:84px!important;padding:0 10px 0 14px}
 .hmx .fl img{width:26px;height:18px;border-radius:3px}
 .hmx .go img{width:20px;height:20px}
 .hmx .tl{gap:8px 6px!important}.hmx .t{height:60px!important}
 .hmx .t .q{width:32px!important;height:32px!important;border-radius:10px!important;background:#F5F1FF!important}.hmx .t .q img{width:22px;height:22px}
 .hmx .shop{flex:1 1 auto!important;min-height:0;display:flex;flex-direction:column}
 .hmx .shop .pr{flex:1;min-height:0;display:flex;align-items:stretch}
 .hmx .pc{display:flex!important;flex-direction:column;flex:0 0 108px!important}
 .hmx .pc img{flex:1;min-height:0;height:auto!important;object-fit:contain}
 .hmx .pt{padding:8px 10px 10px!important}
 .hmx .pg{display:grid!important;grid-template-columns:repeat(6,1fr)!important;gap:6px!important;overflow:visible!important}
 .hmx .pg a{height:44px!important;flex:none!important;width:auto!important;background:#fff;border:1px solid #ECE9F8;border-radius:10px}
 .hmx .pg img{max-width:70%!important;max-height:22px!important;object-fit:contain}
 .hmx .tb{height:64px!important}.hmx .tb img{width:24px;height:24px}
}
/* ===== 1.41.0 s03 Confirm TW→VN (design-target/confirm) ===== */
.cf-wrap{display:flex;flex-direction:column;gap:10px;max-width:640px;margin:0 auto;font-family:"Nunito",sans-serif;color:#16204A}
.cf-wrap>*{margin:0!important}
.cf-get{display:flex;align-items:center;gap:14px;padding:12px 16px;border-radius:20px;background:linear-gradient(135deg,#F6F3FF,#EEF2FF);border:1.5px solid #D9D2FF}
.cf-get .ic{width:64px;height:64px;flex:none;display:grid;place-items:center}.cf-get .ic svg,.cf-get .ic img{width:60px;height:60px}
.cf-get .k{font-size:13px;color:#5B6385}.cf-get .v{font-size:28px;font-weight:800;color:#5B3FE0;line-height:1.2}.cf-get .h{font-size:12.5px;color:#5B6385}.cf-get .h b{color:#16204A}
.cf-exp{background:#FFF1E6;border:1px solid #FFD2B0;color:#7A3A0A;border-radius:14px;padding:8px 12px;font-size:13px;display:flex;flex-direction:column}
.cf-sum{padding:12px 16px!important;border-radius:20px;background:#fff;box-shadow:0 6px 20px rgba(70,50,180,.07)}
.cf-sum h3{font-size:15px;font-weight:700;margin:0 0 4px}.cf-sum dl{margin:0}.cf-sum dl>div{display:flex;justify-content:space-between;padding:3px 0;font-size:14px}
.cf-sum dt{color:#5B6385}.cf-sum dd{margin:0;font-weight:700}.cf-sum .tot dd{color:#6A4CF5;font-size:18px;font-weight:800}.cf-sum .tot dt{color:#16204A;font-weight:600}
.cf-sum hr{border:0;height:1px;background:#E6E3F7;margin:8px 0}
.cf-terms{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:#5B6385;cursor:pointer}.cf-terms input{width:20px;height:20px;accent-color:#6A4CF5;flex:none;margin:0}.cf-terms a{color:#6A4CF5;font-weight:600}
.cf-cta{width:100%;height:48px!important;min-height:0!important;border-radius:16px!important;font:700 16px "Nunito",sans-serif!important;background:linear-gradient(90deg,#6A4CF5,#2F6BFF)!important;color:#fff!important;box-shadow:0 8px 18px rgba(80,76,245,.30)}
.cf-cta:disabled{background:#E4E2F0!important;color:#9A9FB8!important;box-shadow:none}
.cf-pt{display:flex!important;margin-top:0!important}.cf-pt .pt{width:100%;box-sizing:border-box}.cf-pt .pg{grid-template-columns:repeat(6,1fr)!important}
.cf-pt .pg a{height:40px}
.cf-foot{display:flex;align-items:center;justify-content:center;gap:6px;font-size:12.5px;color:#5B6385;margin:0 0 8px!important}.cf-foot b{color:#16204A;font-size:14px}
@media(min-width:1024px){.cf-page .twm-main{max-width:none!important;width:100%!important}.cf-wrap{width:720px;max-width:720px}.cf-pt .pt{padding:10px 14px}.cf-pt .pg a{height:48px}}
.cf-re .cf-foot,.cf-re .cf-pt .pt .h{display:none!important}
.cf-re .cf-exp{flex-direction:row;flex-wrap:wrap;gap:0 6px;padding:6px 12px;font-size:12.5px}
.cf-re .cf-get{padding:8px 16px}.cf-re .cf-get .v{font-size:24px}
/* ===== 1.41.0-b2 one-viewport app shell (all screens except home): header / main / CTA / tab bar stacked in 100dvh.
   The page itself never scrolls; CTA sits in flow above the tab bar and can never cover content.
   Only long content (catalogue list, legal text) scrolls inside its own panel. ===== */
html:has(#twm-app[data-scr]:not([data-scr=home])),body:has(#twm-app[data-scr]:not([data-scr=home])){height:100%;overflow:hidden}
#twm-app[data-scr]:not([data-scr=home]){display:flex;flex-direction:column;height:100vh;height:100dvh;overflow:hidden;font-family:"Nunito",system-ui,sans-serif}
#twm-app[data-scr]:not([data-scr=home])>.twm-top{flex:none;position:relative}
#twm-app[data-scr]:not([data-scr=home])>.twm-main{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-bottom:12px!important;margin-bottom:0!important;scrollbar-width:thin}
#twm-app[data-scr]:not([data-scr=home])>.twm-cta{flex:none;position:relative!important;bottom:auto!important;left:auto;right:auto;box-shadow:0 -6px 14px -10px rgba(30,20,80,.25)}
#twm-app[data-scr]:not([data-scr=home])>.twm-nav{flex:none;position:relative!important;bottom:auto!important}
#twm-app[data-scr]:not([data-scr=home]) .twm-main{min-height:0!important}
@media(min-width:1024px){#twm-app[data-scr]:not([data-scr=home])>.twm-cta{max-width:none;padding:10px max(24px,calc(50% - 600px))}}
#twm-app.tw-home02[data-scr]:not([data-scr=home]){display:flex!important;flex-direction:column!important;height:100dvh!important;overflow:hidden!important}
#twm-app.tw-home02[data-scr]:not([data-scr=home])>.twm-main{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;height:auto!important;max-height:none!important}
#twm-app.tw-home02[data-scr]:not([data-scr=home])>.twm-nav{position:relative!important}
/* ===== 1.41.0-b2 per-screen polish / one-viewport fit ===== */
@media(max-width:1023px){body:has(#twm-app[data-scr]:not([data-scr=home])) #tw-support-mascot{display:none!important}}
#twm-app[data-scr] .twm-main .twm-card{border-radius:20px}
/* s01 amount */
#twm-app[data-scr=s01] .twm-main{padding-top:4px!important}
#twm-app[data-scr=s01] .twm-col-main,#twm-app[data-scr=s01] .twm-col-side{gap:10px!important}
#twm-app[data-scr=s01] .twm-col-main>*,#twm-app[data-scr=s01] .twm-col-side>*{margin-top:0!important;margin-bottom:10px!important}
#twm-app[data-scr=s01] .twm-head{margin-bottom:6px!important}
#twm-app[data-scr=s01] .twm-card{padding:12px 14px!important}
#twm-app[data-scr=s01] .twm-input{height:52px!important;font-size:22px!important}
#twm-app[data-scr=s01] .twm-chips{margin-top:8px!important;gap:8px!important}#twm-app[data-scr=s01] .twm-chip{height:40px!important;min-height:0!important}
#twm-app[data-scr=s01] .twm-chip[aria-pressed=true]{background:linear-gradient(90deg,#6A4CF5,#2F6BFF)!important;color:#fff!important;border-color:transparent!important}
#twm-app[data-scr=s01] .twm-recv{padding:10px 14px!important;border:1.5px solid #D9D2FF!important;background:linear-gradient(135deg,#F6F3FF,#EEF2FF)!important}
#twm-app[data-scr=s01] .twm-recv .ic{width:52px!important;height:52px!important}#twm-app[data-scr=s01] .twm-recv .v{font-size:24px!important;color:#5B3FE0}
#twm-app[data-scr=s01] .twm-rows>div{padding:4px 0!important}
#twm-app[data-scr=s01] .twm-steps{margin:4px 0 8px!important}
@media(max-width:1023px){
 #twm-app[data-scr=s01] .twm-limit,#twm-app[data-scr=s01] .y3-fee,#twm-app[data-scr=s01] .twm-secure,#twm-app[data-scr=s01] .secure,#twm-app[data-scr=s01] #twm-est,#twm-app[data-scr=s01] .twm-col-side .twm-note{display:none!important}
 #twm-app[data-scr=s01] .twm-dir,#twm-app[data-scr=s01] .twm-dirtabs{margin:0 0 6px!important}
 #twm-app[data-scr=s01] .twm-card h2{font-size:15px!important;margin:0 0 4px!important}
}
/* s06 VND -> NT$ */
#twm-app[data-scr=s06] .twm-main{padding-top:4px!important}
#twm-app[data-scr=s06] .twm-col-main>*,#twm-app[data-scr=s06] .twm-col-side>*{margin-top:0!important;margin-bottom:10px!important}
#twm-app[data-scr=s06] .twm-card{padding:12px 14px!important}
#twm-app[data-scr=s06] .twm-input{height:50px!important;font-size:20px!important}#twm-app[data-scr=s06] .twm-input.sm{height:44px!important;font-size:15px!important}
#twm-app[data-scr=s06] .twm-chip{height:38px!important;min-height:0!important}
#twm-app[data-scr=s06] .twm-recv{padding:10px 14px!important;border:1.5px solid #D9D2FF!important}#twm-app[data-scr=s06] .twm-recv .ic{width:48px!important;height:48px!important}
#twm-app[data-scr=s06] .twm-field{margin-bottom:8px!important}
#twm-app[data-scr=s06] .twm-qbanks{gap:6px!important;margin:6px 0 8px!important;flex-wrap:nowrap!important;overflow-x:auto}
#twm-app[data-scr=s06] .twm-qb{min-height:0!important;padding:4px 8px!important}#twm-app[data-scr=s06] .twm-qb small{display:none}
#twm-app[data-scr=s06] .twm-hint{margin:4px 0 0!important;font-size:12px!important}
@media(max-width:1023px){
 #twm-app[data-scr=s06] .twm-col-side,#twm-app[data-scr=s06] .twm-sub,#twm-app[data-scr=s06] .y3-fee{display:none!important}
 #twm-app[data-scr=s06] .twm-dirtabs,#twm-app[data-scr=s06] .twm-dir{margin:0 0 6px!important}
}
@media(min-width:1024px){#twm-app[data-scr=s06] .twm-secure,#twm-app[data-scr=s06] .secure{display:none!important}#twm-app[data-scr=s06] .twm-sub{margin:0 0 6px!important}}
/* login / signup */
#twm-app[data-scr=login] .mx-art,#twm-app[data-scr=login] .twm-art,#twm-app[data-scr=login] [class*=art3d]{max-height:72px!important;width:72px!important;height:72px!important}
#twm-app[data-scr=login] .mx-content,#twm-app[data-scr=signup] .mx-content{padding:12px 16px!important}
#twm-app[data-scr=login] .mx-field,#twm-app[data-scr=signup] .mx-field,#twm-app[data-scr=login] .twm-field,#twm-app[data-scr=signup] .twm-field{margin-bottom:8px!important}
#twm-app[data-scr=login] input,#twm-app[data-scr=signup] input,#twm-app[data-scr=signup] select{height:44px!important;min-height:0!important}
#twm-app[data-scr=signup] .mx-art,#twm-app[data-scr=signup] [class*=art3d]{width:56px!important;height:56px!important}
#twm-app[data-scr=signup] h1,#twm-app[data-scr=signup] h2,#twm-app[data-scr=login] h2{margin:4px 0!important}
/* kyc nationality list */
#twm-app[data-scr=kyc] .mx-choice{min-height:0!important;padding:8px 12px!important}
#twm-app[data-scr=kyc] .mx-choices{gap:6px!important}
/* product */
#twm-app[data-scr=product] .twm-main img:first-of-type{max-height:38vh;object-fit:contain}
#twm-app[data-scr]:not([data-scr=home])>.twm-main{min-height:0!important;flex:1 1 0!important}
#twm-app[data-scr=s01] .twm-sub,#twm-app[data-scr=s01] .twm-head p{display:none!important}
@media(max-width:1023px){#twm-app[data-scr=s01] .twm-steps{display:none!important}#twm-app[data-scr=s06] .twm-steps{display:none!important}
#twm-app[data-scr=login] .twm-main [class*=art],#twm-app[data-scr=signup] .twm-main [class*=art]{display:none!important}
#twm-app[data-scr=kyc] .twm-main p,#twm-app[data-scr=product] .twm-main p.desc{font-size:13px!important;margin:4px 0!important}}
#twm-app[data-scr]:not([data-scr=home])>.twm-main{position:relative}
.sr{top:0!important;left:0!important}
/* b2 fit pass 2 */
#twm-app[data-scr=kyc] .mx-choice input{width:20px!important;height:20px!important;min-height:0!important;flex:0 0 20px!important;margin:0!important}
#twm-app[data-scr=kyc] .mx-choice{min-height:46px!important;height:46px;display:flex!important;align-items:center;gap:12px;flex-direction:row!important;justify-content:flex-start!important;text-align:left!important}
#twm-app[data-scr=kyc] .mx-choice *{text-align:left!important}
#twm-app[data-scr=kyc] .twm-h1{font-size:22px!important;line-height:1.2}
#twm-app[data-scr=signup] .twm-field{gap:4px!important;margin-bottom:6px!important;font-size:13px}
#twm-app[data-scr=signup] .mx-ahead{display:none!important}
#twm-app[data-scr=signup] .mx-small{font-size:11px!important;line-height:1.3;margin:2px 0 0!important}
#twm-app[data-scr=signup] .mx-card{padding:12px 14px!important}
#twm-app[data-scr=signup] .mx-tabs{margin-bottom:8px!important}
#twm-app[data-scr=signup] form{display:grid!important;grid-template-columns:1fr 1fr;column-gap:10px;row-gap:0}
#twm-app[data-scr=signup] form>*{grid-column:1/-1}
#twm-app[data-scr=signup] form>label.twm-field:nth-of-type(5),#twm-app[data-scr=signup] form>label.twm-field:nth-of-type(6){grid-column:auto}
#twm-app[data-scr=signup] .twm-btn{height:50px!important;margin-top:6px!important}
#twm-app[data-scr=s06] .twm-qbanks{display:grid!important;grid-template-columns:repeat(3,1fr);grid-auto-rows:44px;max-height:44px;overflow:hidden}
#twm-app[data-scr=s06] .twm-qb{height:44px!important}
#twm-app[data-scr=s06] .twm-recv,#twm-app[data-scr=s01] .twm-recv{min-height:0!important;height:auto!important;padding:8px 14px!important}
#twm-app[data-scr=s06] .s1-tabs,#twm-app[data-scr=s01] .s1-tabs{margin-bottom:8px!important}
@media(max-width:1023px){#twm-app[data-scr=s01] .twm-rows>div:last-child{display:none!important}#twm-app[data-scr=s06] .twm-field>small,#twm-app[data-scr=s06] .twm-hint{display:none!important}}
#twm-app[data-scr=product] .twm-main{padding-bottom:4px!important}
@media(max-width:1023px){#twm-app[data-scr=signup] .twm-head{margin-bottom:4px!important}#twm-app[data-scr=signup] .twm-h1{font-size:22px!important}#twm-app[data-scr=signup] .mx-content{padding-top:4px!important}
#twm-app[data-scr=product] .twm-main{padding-top:0!important}#twm-app[data-scr=product] .twm-head{margin-bottom:2px!important}}
@media(min-width:1024px){#twm-app[data-scr=s06] .twm-main{padding-bottom:16px!important}}
/* b2 official TW bank cards (twpay-visuals) */
#twm-app .twm-qbanks:has(.lg.tv){display:grid!important;grid-template-columns:repeat(4,1fr);gap:8px!important;max-height:none!important;grid-auto-rows:auto!important}
#twm-app .twm-qb:has(.lg.tv){height:auto!important;min-height:64px!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px 4px!important;background:#fff!important;border:1.5px solid #ECE8FF!important;border-radius:14px!important;box-shadow:0 2px 8px rgba(80,60,180,.06)}
#twm-app .twm-qb[aria-checked=true]:has(.lg.tv){border-color:#6A4CF5!important;box-shadow:0 0 0 3px rgba(106,76,245,.15)}
#twm-app .twm-qb .lg.tv{width:auto!important;height:28px!important;background:none!important;display:flex;align-items:center;justify-content:center}
#twm-app .twm-qb .lg.tv img{max-width:64px;max-height:28px;width:auto;height:auto;object-fit:contain}
#twm-app .twm-qb:has(.lg.tv) .nm b{font-size:11px;font-weight:700;color:#3B3466;white-space:nowrap}
#twm-app .twm-qb:has(.lg.tv) .nm small{display:none}
@media(max-width:1023px){#twm-app[data-scr=s06] .twm-head,#twm-app[data-scr=signup] .mx-tabs{margin-bottom:4px!important}#twm-app[data-scr=s06] .twm-card{padding:10px 12px!important}#twm-app[data-scr=signup] .twm-field{margin-bottom:4px!important}#twm-app[data-scr=product] .twm-main{padding-bottom:6px!important}}
#twm-app .s45-st img{object-fit:contain;max-height:32px;width:auto}
/* ===== b2 new shop (user spec 05/11) ===== */
#twm-app[data-scr=shop] .shp{display:flex;flex-direction:column;gap:10px;min-width:0}
#twm-app[data-scr=shop] .shp .tw5-hero{margin:0}
#twm-app[data-scr=shop] .shp .tw5-ban{min-height:0;height:124px;border-radius:20px}
#twm-app[data-scr=shop] .shp-sec{background:#fff;border-radius:20px;padding:10px 12px;box-shadow:0 4px 16px rgba(80,60,180,.06);min-width:0}
#twm-app[data-scr=shop] .shp-hd{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:8px}
#twm-app[data-scr=shop] .shp-hd h2{font:800 15px/1.2 Nunito,sans-serif;color:#1E1B4B;margin:0}
#twm-app[data-scr=shop] .shp-hd small,#twm-app[data-scr=shop] .shp-hd a{font:600 12px Nunito,sans-serif;color:#6A4CF5;text-decoration:none}
#twm-app[data-scr=shop] .shp-hd small{color:#6B6890}
#twm-app[data-scr=shop] .shp-pts,#twm-app[data-scr=shop] .shp-cats{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(64px,1fr);gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px}
#twm-app[data-scr=shop] .shp-pt,#twm-app[data-scr=shop] .shp-cat{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;height:62px;padding:6px 4px;background:#fff;border:1.5px solid #ECE8FF;border-radius:14px;font:700 11px/1.1 Nunito,sans-serif;color:#3B3466;cursor:pointer;white-space:nowrap}
#twm-app[data-scr=shop] .shp-pt .lg{height:26px;display:flex;align-items:center}#twm-app[data-scr=shop] .shp-pt img{max-width:56px;max-height:26px;width:auto;height:auto;object-fit:contain}
#twm-app[data-scr=shop] .shp-cat img{width:30px;height:30px;object-fit:contain}
#twm-app[data-scr=shop] [aria-pressed=true].shp-pt,#twm-app[data-scr=shop] [aria-pressed=true].shp-cat{border-color:#6A4CF5;background:#F5F1FF;box-shadow:0 0 0 3px rgba(106,76,245,.15);color:#5B3FE0}
#twm-app[data-scr=shop] .shp-row{list-style:none;margin:8px 0 0;padding:2px;display:grid;grid-auto-flow:column;grid-auto-columns:116px;gap:8px;overflow-x:auto;scrollbar-width:thin}
#twm-app[data-scr=shop] .shp-pc{display:flex;flex-direction:column;gap:3px;height:158px;padding:6px;border:1px solid #F0EDFF;border-radius:14px;background:#fff;text-decoration:none;color:#1E1B4B}
#twm-app[data-scr=shop] .shp-pc .im{display:flex;align-items:center;justify-content:center;height:84px;border-radius:10px;background:#F8F7FF;overflow:hidden}
#twm-app[data-scr=shop] .shp-pc .im img{max-width:100%;max-height:84px;object-fit:contain}
#twm-app[data-scr=shop] .shp-pc .nm{font:700 12px/1.25 Nunito,sans-serif;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#twm-app[data-scr=shop] .shp-pc .pr{font:800 13px Nunito,sans-serif;color:#6A4CF5;margin-top:auto}
#twm-app[data-scr=shop] .shp-none{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;padding:12px;border-radius:14px;background:#F8F7FF;font:600 13px Nunito,sans-serif;color:#6B6890}
@media(min-width:1024px){#twm-app[data-scr=shop] .shp{display:grid;grid-template-columns:1fr 1fr;gap:14px}#twm-app[data-scr=shop] .shp .tw5-hero{grid-column:1/-1}#twm-app[data-scr=shop] .shp .tw5-ban{height:150px}
 #twm-app[data-scr=shop] .shp-row{grid-auto-flow:row;grid-template-columns:repeat(4,1fr);grid-auto-columns:auto;grid-template-rows:auto auto;max-height:none;overflow:hidden}
 #twm-app[data-scr=shop] .shp-row li:nth-child(n+9){display:none}#twm-app[data-scr=shop] .shp-pc{height:178px}#twm-app[data-scr=shop] .shp-pc .im{height:96px}}
#twm-app[data-scr=shop] .shp .tw5-vp,#twm-app[data-scr=shop] .shp .tw5-slide,#twm-app[data-scr=shop] .shp .tw5-slide>*{height:118px!important;min-height:0!important}
#twm-app[data-scr=shop] .shp .tw5-ban{padding:12px 16px!important;display:flex;align-items:center}
#twm-app[data-scr=shop] .shp .tw5-ban h2{font-size:16px!important;margin:2px 0!important}#twm-app[data-scr=shop] .shp .tw5-ban .d{font-size:11.5px!important;margin:2px 0 6px!important;-webkit-line-clamp:2;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}
#twm-app[data-scr=shop] .shp .tw5-ban .k{font-size:11px!important;margin:0!important}#twm-app[data-scr=shop] .shp .tw5-cta{padding:6px 14px!important;font-size:12px!important;min-height:0!important}
#twm-app[data-scr=shop] .shp .tw5-ban .vis{max-width:34%}#twm-app[data-scr=shop] .shp .tw5-ban .vis img{max-height:96px;width:auto}
#twm-app[data-scr=shop] .shp .tw5-ban ul.ch{display:none}
#twm-app[data-scr=shop] .shp .tw5-ctl{margin:4px 0 0!important;height:14px}#twm-app[data-scr=shop] .shp .tw5-arw{display:none!important}
#twm-app[data-scr=shop] .twm-head{margin:0 0 6px!important}#twm-app[data-scr=shop] .twm-h1{font-size:22px!important}
#twm-app[data-scr=shop] .shp-pc{height:150px}#twm-app[data-scr=shop] .shp-pc .im{height:76px}
@media(min-width:1024px){#twm-app[data-scr=shop] .shp .tw5-vp,#twm-app[data-scr=shop] .shp .tw5-slide,#twm-app[data-scr=shop] .shp .tw5-slide>*{height:140px!important}#twm-app[data-scr=shop] .shp-row li:nth-child(n+5){display:none}#twm-app[data-scr=shop] .shp-row{grid-template-rows:auto}}
#twm-app[data-scr=shop] .shp{width:100%;max-width:100%;overflow:hidden}#twm-app[data-scr=shop] .shp>*{max-width:100%;min-width:0}
#twm-app[data-scr=shop] .shp .tw5-hero{overflow:hidden;border-radius:20px}
@media(max-width:1023px){#twm-app[data-scr=shop] .twm-head{display:none!important}#twm-app[data-scr=shop] .shp{gap:8px}#twm-app[data-scr=shop] .shp-sec{padding:8px 10px}
 #twm-app[data-scr=shop] .shp-pc{height:136px}#twm-app[data-scr=shop] .shp-pc .im{height:66px}#twm-app[data-scr=shop] .shp-pc .im img{max-height:66px}
 #twm-app[data-scr=shop] .shp-pt,#twm-app[data-scr=shop] .shp-cat{height:56px}#twm-app[data-scr=shop] .shp-hd{margin-bottom:6px}#twm-app[data-scr=shop] .shp-row{margin-top:6px;grid-auto-columns:110px}}
#twm-app[data-scr=shop] .shp-pt img[src*=xiaomi]{max-height:24px;width:24px}
@media(max-width:1023px){#twm-app[data-scr=shop] .shp .tw5-vp,#twm-app[data-scr=shop] .shp .tw5-slide,#twm-app[data-scr=shop] .shp .tw5-slide>*{height:104px!important}#twm-app[data-scr=shop] .shp .tw5-ctl{margin-top:2px!important;height:10px}}
#twm-app[data-scr=shop]>.twm-main{overflow-x:hidden!important}
@media(max-width:1023px){#twm-app[data-scr=shop] .shp{width:calc(100vw - 28px)!important;margin:0 auto}}
@media(max-width:1023px){#twm-app[data-scr=shop] .mx-utilities{display:none!important}
 #twm-app[data-scr=shop] .shp .tw5-ban .vis{display:none!important}#twm-app[data-scr=shop] .shp .tw5-ban .tx{max-width:100%!important;width:100%}
 #twm-app[data-scr=shop] .shp .tw5-ban h2{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}
/* ===== shop mockup match (design-target/shop/after) ===== */
#twm-app[data-scr=shop] .shp-pts{display:grid!important;grid-template-columns:repeat(6,1fr)!important;grid-auto-flow:row!important;grid-auto-columns:unset!important;overflow:visible!important;gap:8px!important}
#twm-app[data-scr=shop] .shp-pt{height:46px!important;border:2px solid #EDEFF7!important;border-radius:14px!important;background:#fff!important;box-shadow:none!important;position:relative}
#twm-app[data-scr=shop] .shp-pt .lg{height:28px}#twm-app[data-scr=shop] .shp-pt img{max-width:70%;max-height:28px;width:auto;height:auto;object-fit:contain}
#twm-app[data-scr=shop] .shp-pt .nm{display:none}
#twm-app[data-scr=shop] .shp-pt[aria-pressed=true]{border-color:#6A4CF5!important;background:#F2EFFF!important;box-shadow:0 3px 10px rgba(106,76,245,.25)!important}
#twm-app[data-scr=shop] .shp-pt[aria-pressed=true]:after{content:"";position:absolute;bottom:-8px;left:50%;margin-left:-6px;border:6px solid transparent;border-top-color:#6A4CF5}
#twm-app[data-scr=shop] .shp-pnm{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-top:4px;font:800 10.5px Nunito,sans-serif;color:#6B7393;text-align:center}
#twm-app[data-scr=shop] .shp-pnm .on{color:#6A4CF5}
#twm-app[data-scr=shop] .shp-row{display:grid!important;grid-template-columns:repeat(3,1fr)!important;grid-auto-flow:row!important;grid-auto-columns:unset!important;gap:8px!important;overflow:hidden!important;margin-top:10px;padding:8px;background:#F7F5FF;border-radius:14px}
#twm-app[data-scr=shop] .shp-pc{height:auto!important;min-height:0;background:#fff;border:0;box-shadow:none}
#twm-app[data-scr=shop] .shp-pc .im{height:52px!important;background:#F5F6FB}#twm-app[data-scr=shop] .shp-pc .im img{max-height:52px}
#twm-app[data-scr=shop] .shp-pc .nm{font-size:11px!important;-webkit-line-clamp:1;white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}
#twm-app[data-scr=shop] .shp-pc .pr{font-size:12.5px!important}
#twm-app[data-scr=shop] .shp-cats{display:grid!important;grid-template-columns:repeat(5,1fr)!important;grid-auto-flow:row!important;overflow:visible!important;gap:6px!important}
#twm-app[data-scr=shop] .shp-cat{height:auto!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;gap:4px;font:800 10px Nunito,sans-serif;color:#16204A;letter-spacing:-.2px}
#twm-app[data-scr=shop] .shp-cat .ic{display:grid;place-items:center;width:42px;height:42px;border-radius:15px;background:#EEF2FF;margin:0 auto}
#twm-app[data-scr=shop] .shp-cat .ic svg{width:24px;height:24px;fill:none;stroke:#6A4CF5;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#twm-app[data-scr=shop] .shp-cat[aria-pressed=true]{color:#6A4CF5}
#twm-app[data-scr=shop] .shp-cat[aria-pressed=true] .ic{background:linear-gradient(135deg,#6A4CF5,#2F6BFF)}
#twm-app[data-scr=shop] .shp-cat[aria-pressed=true] .ic svg{stroke:#fff}
#twm-app[data-scr=shop] #shp-tw.shp-row,#twm-app[data-scr=shop] #shp-tw > .shp-row{background:#fff;padding:0}
#twm-app[data-scr=shop] #shp-tw .shp-pc{background:#F7F8FC}
#twm-app[data-scr=shop] .shp-smp{font:700 9.5px Nunito,sans-serif;color:#6B7393;text-align:right;margin-top:3px}
#twm-app[data-scr=shop] .shp .tw5-ban{background:linear-gradient(120deg,#6A4CF5,#2F6BFF 60%,#EE4FA6)!important;color:#fff}
@media(min-width:1024px){
 #twm-app[data-scr=shop] .shp-row{grid-template-columns:repeat(4,1fr)!important}
 #twm-app[data-scr=shop] .shp-pc .im{height:92px!important}#twm-app[data-scr=shop] .shp-pc .im img{max-height:92px}
 #twm-app[data-scr=shop] .shp-pt{height:58px!important}#twm-app[data-scr=shop] .shp-cat .ic{width:52px;height:52px}
 #twm-app[data-scr=shop] .shp-pnm{font-size:12px}
}
/* ===== payment s04/s05 + zoom + recipient vn_tw ===== */
#twm-app[data-scr=s04] .s45-wait{text-align:center;padding:16px}
#twm-app[data-scr=s04] .s45-wait::before{content:"";display:block;width:96px;height:96px;margin:0 auto 10px;background:url(img/tv/icons/payment-scanner.webp) center/contain no-repeat}
#twm-app[data-scr=s04] .s45-msg b{font-size:18px}
#twm-app[data-scr=s04] .s45-sub{color:#6B7393;font-size:13px}
#twm-app[data-scr=s04] .s45-sum .big{color:#6A4CF5;font-size:22px}
#twm-app[data-scr=s04] .twm-tl{display:flex;gap:8px;justify-content:center;list-style:none;padding:0;margin:0 0 12px}
#twm-app[data-scr=s04] .twm-tl li{display:flex;flex-direction:column;align-items:center;gap:4px;font:700 11px Nunito,sans-serif;color:#8A90AB}
#twm-app[data-scr=s04] .twm-tl .dot{width:28px;height:28px;border-radius:50%;background:#EDEFF7;display:grid;place-items:center;font-weight:900}
#twm-app[data-scr=s04] .twm-tl .done .dot{background:#22C55E;color:#fff}
#twm-app[data-scr=s04] .twm-tl .on .dot{background:linear-gradient(135deg,#6A4CF5,#2F6BFF);color:#fff}
#twm-app[data-scr=s05] .s5-br{display:flex;align-items:center;gap:8px;background:#FFF6D8;color:#7A4B00;border-radius:12px;padding:8px 12px;margin:8px 0;font:800 13px Nunito,sans-serif}
#twm-app[data-scr=s05] .s45-bcs{display:flex;flex-direction:column;gap:8px}
#twm-app[data-scr=s05] .s45-bc{background:#fff;border-radius:14px;padding:10px;border:1px solid #EDEFF7}
#twm-app[data-scr=s05] .s45-bc .sv svg,#twm-app[data-scr=s05] .s45-bc .sv{width:100%;max-height:56px}
#twm-app[data-scr=s05] .s5-cta{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}
#twm-app[data-scr=s05] .s45-sum .big{font-size:24px;color:#6A4CF5}
body:has(.twm-zoomlist) .twm-sheet{background:#fff}
.twm-zoomlist .twm-zbc{padding:12px 0;border-bottom:1px solid #EDEFF7}
.twm-zoomlist .twm-zbc .sv,.twm-zoomlist .twm-zbc svg{width:100%;height:70px}
.twm-zoomlist .txt{font:900 18px/1.2 Nunito,monospace;letter-spacing:.04em;text-align:center;margin-top:6px}
/* VN→TW recipient */
#twm-app .rxv-lock{background:#F1F0F6!important;color:#5B6385}
#twm-app .rxv-b{display:flex;align-items:center;gap:10px;margin:6px 0;font-weight:800}
#twm-app .rxv-get .v{font:900 28px Nunito,sans-serif;color:#6A4CF5}
#twm-app .rxv-get .h{font:600 12px Nunito,sans-serif;color:#6B7393;margin-top:4px}
@media(max-width:1023px){#twm-app[data-scr=s04] .twm-h1,#twm-app[data-scr=s05] .twm-h1{font-size:18px}#twm-app[data-scr=s04] .twm-steps,#twm-app[data-scr=s05] .twm-steps{margin:4px 0!important}}
#twm-app[data-scr=s04] .s4-bar{height:6px;border-radius:4px;background:#EDEFF7;overflow:hidden;margin:12px auto;max-width:220px}
#twm-app[data-scr=s04] .s4-bar i{display:block;height:100%;width:40%;background:linear-gradient(90deg,#6A4CF5,#2F6BFF,#EE4FA6);border-radius:4px;animation:s4bar 1.4s ease-in-out infinite}
@keyframes s4bar{0%{transform:translateX(-100%)}100%{transform:translateX(350%)}}

/* 3d official icons @2x */
.hmx .t .q img,.tw-home02 .tw5-svc .ic img{object-fit:contain;image-rendering:auto}
.hmx .t .q{overflow:visible}
.hmx .bell img{width:26px!important;height:26px!important;object-fit:contain}
.hmx .t .q img{width:26px!important;height:26px!important}
.tw-home02 .tw5-svc .ic img{width:28px!important;height:28px!important}
.twm-hero-ill img{display:block;margin:0 auto;max-width:140px;height:auto;object-fit:contain}
#twm-app[data-scr=s04] .s45-wait::before{width:112px;height:112px}
/* ==== money/visuals/visuals-v2-20261105.css ==== */
.tw-custom-art{position:relative;display:inline-block;background:transparent!important;flex-shrink:0}.tw-custom-art::after{content:"";position:absolute;inset:0;background-image:var(--tw-art);background-position:center;background-repeat:no-repeat;background-size:contain;pointer-events:none}.tw-custom-art>svg,.tw-custom-art>img,.tw-custom-art>.twm-art-svg{visibility:hidden!important}.tw-art-hidden{display:none!important}.tw5-svc .ic.tw-custom-art{width:48px!important;height:48px!important;overflow:visible}.twm-icobtn.tw-custom-art::after{inset:5px}.twm-secure .lk.tw-custom-art{width:24px;height:28px}.twm-hero-ill.tw-custom-art{width:180px!important;height:160px!important;display:block!important;margin:12px auto!important}.tw-error-art{width:32px;height:34px;flex:0 0 32px}.twm-blg:has(.tw-supplied-logo){width:76px;min-width:76px;height:40px;background:#fff!important;border-radius:8px;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;padding:2px;box-sizing:border-box}.twm-blg img.tw-supplied-logo{width:100%!important;height:100%!important;max-width:100%;object-fit:contain}.twm-qb .lg:has(.tw-supplied-logo){height:44px;min-height:44px;background:#fff!important;border-radius:8px}.twm-qb .lg img.tw-supplied-logo{width:100%!important;height:100%!important;object-fit:contain}.s3-tile img.tw-supplied-logo,.twm-istores img.tw-supplied-logo{width:94px!important;height:48px!important;object-fit:contain}.tw-supplied-logo{object-fit:contain!important}.twp-partners__logo img.tw-supplied-logo{width:100%;height:100%;object-fit:contain}#tw-support-mascot{position:fixed;right:14px;bottom:calc(88px + env(safe-area-inset-bottom,0px));z-index:45;width:60px;height:60px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#fff,#ece2ff);border:2px solid #bc9cff;box-shadow:0 5px 18px #7c51b333}#tw-support-mascot img{width:56px;height:56px;object-fit:contain}#tw-support-mascot:focus-visible{outline:3px solid #3c5cff;outline-offset:4px}@media(min-width:1024px){#tw-support-mascot{bottom:24px;width:68px;height:68px}#tw-support-mascot img{width:64px;height:64px}}
.twm-flow>.art.tw-custom-art{width:100px;height:90px}.twm-rate-card>.rart.tw-custom-art{width:90px;height:80px}.twm-recv>.ic.art.tw-custom-art{width:80px;height:70px}.tw-payment-art{display:block;object-fit:contain;margin:0 auto 12px}.mx-link .tw-link-icon{object-fit:contain;flex:0 0 32px;margin-right:4px}.mx-content .mx-link:has(.tw-link-icon){justify-content:flex-start}.mx-content .mx-link:has(.tw-link-icon)>span:last-child{margin-left:auto}
.tw-nav-icon{width:26px;height:26px;object-fit:contain;flex-shrink:0}.tw-store-choice{display:flex;align-items:center;height:52px;background:white;border-radius:10px;padding:4px 12px}.tw-store-choice[hidden]{display:none}.tw-store-choice img{width:100px;height:48px;object-fit:contain}

/* V2: consistent artwork size inside the existing service tiles. */
.tw-home02 .tw5-svc .ic.tw-custom-art{width:32px!important;height:32px!important;background:transparent!important;border-radius:0!important}.tw-home02 .tw5-svc .ic.tw-custom-art::after{inset:-2px}

.hmx .tl .t .q{width:32px!important;height:32px!important;flex:0 0 32px;background:transparent!important}.hmx .tl .t .q img{width:36px!important;height:36px!important;max-width:none;object-fit:contain}.hmx .bell img.tw-supplied-logo{width:30px!important;height:30px!important}.hmx .tb img.tw-supplied-logo{width:28px!important;height:28px!important}
/* ==== money/assets/banner-v2.css ==== */
/* BANNERS-V2-20261106: Home hero image banners 1560x600 (desktop .tw5-hero + mobile .hmx .car). Only targets .bv2 / .bv2m / .bv2-car. */
.tw5-slide>a.bv2{display:block;aspect-ratio:1560/600;border-radius:20px;overflow:hidden;line-height:0;background:#eef0ff;box-shadow:0 2px 4px rgba(7,27,73,.05),0 10px 26px rgba(74,60,170,.12)}
.tw5-slide>a.bv2 img{display:block;width:100%;height:100%;object-fit:cover;-webkit-user-drag:none;user-select:none}
.tw5-slide>a.bv2:focus-visible{outline:3px solid #6A4CF5;outline-offset:2px}
.hmx .car.bv2-car .sl.bv2m{flex:0 0 auto;width:auto;max-width:none;height:100%;aspect-ratio:1560/600;padding:0;background:#eef0ff;line-height:0}
.hmx .car.bv2-car .sl.bv2m img{display:block;width:100%;height:100%;object-fit:cover;-webkit-user-drag:none;user-select:none}
.hmx .car.bv2-car .sl.bv2m .dots{position:absolute;left:50%;transform:translateX(-50%);bottom:6px;display:flex;gap:3px;padding:3px 6px;border-radius:999px;background:rgba(255,255,255,.72);line-height:0}
.hmx .car.bv2-car .sl.bv2m .dots i{width:5px;height:5px;border-radius:50%;background:#c9c3ee;display:block}
.hmx .car.bv2-car .sl.bv2m .dots i.on{background:#6A4CF5;width:12px;border-radius:3px}
/* ==== money/assets/shop-c.css ==== */
/* SHOP-C 20261106 — pastel-C shop screens (owner pick C, t303u/t304u). Scoped to #/catalog #/product #/cart #/checkout #/checkout-review; markup from flows.js (sc-*). */
#twm-app:is([data-scr=catalog],[data-scr=product],[data-scr=cart],[data-scr=checkout],[data-scr=checkout-review])>.twm-main{background:radial-gradient(120% 60% at 100% 0%,#ffe3ee 0%,rgba(255,227,238,0) 55%),radial-gradient(90% 50% at 0% 10%,#dcecff 0%,rgba(220,236,255,0) 60%),linear-gradient(180deg,#eef4ff 0%,#f6f1ff 45%,#fff4f0 100%)}
@media (max-width:899px){#twm-app:is([data-scr=catalog],[data-scr=product],[data-scr=cart],[data-scr=checkout],[data-scr=checkout-review])>.twm-main{width:100%;box-sizing:border-box}}
@media (min-width:900px){#twm-app:is([data-scr=catalog],[data-scr=product],[data-scr=cart],[data-scr=checkout],[data-scr=checkout-review])>.twm-main{width:min(760px,100%);box-sizing:border-box}}
#twm-app:is([data-scr=catalog],[data-scr=checkout],[data-scr=checkout-review])>.twm-main .twm-head{position:relative;padding-right:78px;min-height:64px}
#twm-app:is([data-scr=catalog],[data-scr=checkout],[data-scr=checkout-review])>.twm-main .twm-head::after{content:"";position:absolute;right:0;top:50%;width:76px;height:76px;transform:translateY(-50%);background:url(img/tv/icons/shopping-bag.webp) center/contain no-repeat;pointer-events:none}
#twm-app:is([data-scr=catalog],[data-scr=product],[data-scr=cart],[data-scr=checkout],[data-scr=checkout-review]) .twm-h1{color:#16204a}
.mx-content:has(>.sc){grid-template-columns:minmax(0,1fr)}
.sc{display:flex;flex-direction:column;gap:14px;color:#16204a;min-width:0;max-width:100%}
.sc-filters{max-width:100%}
.sc .sc-svg{flex:none;display:block}
.sc h2,.sc h3{margin:0}
.sc-card{background:rgba(255,255,255,.88);border:1px solid rgba(255,255,255,.9);border-radius:22px;box-shadow:0 1px 2px rgba(22,32,74,.04),0 10px 26px rgba(106,76,245,.09);padding:16px}
.sc-pill{display:inline-block;align-self:flex-start;background:#ece6ff;color:#3b2f86;border-radius:999px;padding:4px 14px;font-weight:800;font-size:14px;line-height:1.3}
.sc-brand{display:inline-block;font-size:12px;font-weight:800;color:#6b7398;letter-spacing:.2px}
.sc-price{color:#ee2f8f;font-weight:900;font-size:17px}
.sc-price-lg{font-size:32px;margin:6px 0 4px;letter-spacing:-.3px}
.sc-btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:58px;border-radius:20px;border:0;background:linear-gradient(100deg,#2f6bff 0%,#7a4cf5 45%,#ee4fa6 78%,#ff8a3d 100%);color:#fff;font:inherit;font-weight:900;font-size:19px;cursor:pointer;text-decoration:none;box-shadow:0 10px 24px rgba(122,76,245,.3)}
.sc-btn:focus-visible,.sc-row:focus-visible,.sc-pc:focus-visible,.sc-chip:focus-within,.sc-search:focus-within{outline:none;box-shadow:0 0 0 3px #fff,0 0 0 5px #6a4cf5}
.sc-btn-ghost{background:#fff;color:#16204a;border:2px solid #4b47d6;box-shadow:none;min-height:54px;font-size:17px;font-weight:800}
.sc-btn-kyc{background:linear-gradient(100deg,#2f6bff 0%,#6a4cf5 40%,#ee4fa6 75%,#ff8a3d 100%);justify-content:space-between;padding:0 18px}
.sc-btn-kyc .sc-btn-l,.sc-btn-kyc .sc-btn-r{display:flex}
.sc-linkc{align-self:center;color:#4b3fd6;font-weight:800;text-decoration:none;padding:6px 8px}
.sc-linkbtn{background:none;border:0;color:#7a3cf0;font:inherit;font-weight:800;cursor:pointer;padding:4px 0}
/* search + filters */
.mx-content .sc-search{display:flex!important;flex-direction:row;align-items:center;gap:10px;background:#fff;border:2px solid #8f6bff;border-radius:22px;padding:0 14px;min-height:56px;box-shadow:0 6px 18px rgba(106,76,245,.12)}
.sc-search-i{color:#2b3566;display:flex}
.sc-search input{flex:1;min-width:0;border:0;outline:0;background:none;font:inherit;font-size:18px;font-weight:700;color:#16204a;padding:12px 0}
.sc-search input::-webkit-search-cancel-button{display:none}
.sc-clear{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;border:0;background:#a9acc0;color:#fff;cursor:pointer;flex:none}
.sc-filters{display:flex;gap:8px;overflow-x:auto;padding:2px 1px 4px;scrollbar-width:none}
.sc-filters::-webkit-scrollbar{display:none}
.sc-chip{position:relative;display:flex;align-items:center;gap:5px;flex:none;min-width:0;cursor:pointer;background:#fff;border:1px solid #e3dcff;border-radius:16px;padding:0 10px;min-height:44px;color:#3b2f86;box-shadow:0 2px 8px rgba(106,76,245,.08)}
.sc-chip.on{background:#efe9ff;border-color:#8f6bff}
.sc-chip-i{color:#7a4cf5;display:flex}
.sc-chip select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:16px;border:0}
.sc-chip-t{font-weight:800;font-size:14px;color:#16204a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;max-width:150px}
.sc-chip-v{display:flex;pointer-events:none;color:#3b2f86}
.sc-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:800;color:#6b7398;font-size:14px}
.sc-cartlink{display:inline-flex;align-items:center;gap:6px;color:#4b3fd6;text-decoration:none;font-weight:800}
/* product grid */
.sc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.sc-grid-3{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.sc-pc{display:flex;flex-direction:column;gap:3px;background:#fff;border-radius:20px;padding:12px;text-decoration:none;color:#16204a;box-shadow:0 1px 2px rgba(22,32,74,.04),0 8px 20px rgba(106,76,245,.08);min-width:0}
.sc-pc.is-sold{opacity:.6}
.sc-pimg{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;background:linear-gradient(180deg,#f7f5ff,#fff);border-radius:14px;margin-bottom:6px;overflow:hidden}
.sc-pimg img{width:100%;height:100%;object-fit:contain}
.sc-pname{font-size:15px;line-height:1.25;font-weight:900;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.sc-pspec{font-size:12px;color:#6b7398;font-weight:700;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.sc-sold{font-size:12px;font-weight:800;color:#d93a4a}
.sc-grid-3 .sc-pc{padding:8px;border-radius:16px}
.sc-grid-3 .sc-pname{font-size:13px}
.sc-grid-3 .sc-price{font-size:14px}
.sc-pager{display:flex;justify-content:space-between;gap:10px}
.sc-pg{flex:1;text-align:center;background:#fff;border-radius:16px;padding:14px;font-weight:800;color:#4b3fd6;text-decoration:none;box-shadow:0 6px 16px rgba(106,76,245,.08)}
/* empty states */
.sc-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:8px 6px}
.sc-empty-art{width:150px;height:150px;object-fit:contain;filter:drop-shadow(0 14px 22px rgba(106,76,245,.22))}
.sc-empty h2{font-size:24px;font-weight:900}
.sc-empty p{margin:0;color:#4d5680;font-size:16px;line-height:1.5}
.sc-empty-cart{padding:24px 10px 10px;gap:10px}
.sc-empty-cart .sc-empty-art{width:200px;height:200px}
.sc-empty-cart .sc-btn{margin-top:14px;max-width:380px}
.sc-tips{display:flex;gap:12px;background:linear-gradient(180deg,#f3ecff,#efe7ff);border-radius:18px;padding:14px 16px}
.sc-tips-i{color:#f5a400;display:flex;padding-top:2px}
.sc-tips b{color:#7a3cf0;font-size:17px}
.sc-tips ul{margin:6px 0 0;padding-left:18px;color:#2b3566;line-height:1.55}
.sc-sh{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.sc-sh h3{display:flex;align-items:center;gap:8px;font-size:18px;font-weight:900}
.sc-sh h3 .sc-svg{color:#7a4cf5}
.sc-star .sc-svg{color:#f5a400;fill:#ffc531}
.sc-recent-row{display:flex;flex-wrap:wrap;gap:8px}
.sc-rchip{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid #e3dcff;border-radius:999px;padding:8px 14px;color:#16204a;text-decoration:none;font-weight:700}
.sc-rchip .sc-svg{color:#7a4cf5}
/* PDP */
.sc-hero{position:relative;display:grid;grid-template-columns:minmax(0,42%) minmax(0,58%);align-items:center;min-height:280px;border-radius:24px;padding:12px 6px 8px 12px;background:linear-gradient(160deg,rgba(220,236,255,.9) 0%,rgba(244,238,255,.8) 55%,rgba(255,226,214,.9) 100%);overflow:hidden}
.sc-hero-tx{display:flex;flex-direction:column;gap:8px;align-self:start;padding-top:18px;position:relative;z-index:2}
.sc-hero-tx h2{font-size:26px;line-height:1.15;font-weight:900}
.sc-hero-bag{position:absolute;left:10px;bottom:10px;width:104px;height:104px;object-fit:contain;z-index:2;filter:drop-shadow(0 10px 16px rgba(106,76,245,.25))}
.sc-stage{position:relative;display:flex;justify-content:center;align-items:flex-end;padding-bottom:22px}
.sc-stage::after{content:"";position:absolute;left:4%;right:4%;bottom:6px;height:34px;border-radius:50%;background:linear-gradient(180deg,#fff,#e9e6f6);box-shadow:0 8px 18px rgba(22,32,74,.12)}
.sc-hero-img{position:relative;z-index:1;width:100%;max-width:240px;aspect-ratio:1/1;object-fit:contain;mix-blend-mode:multiply}
.sc-info-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.sc-info-top>div{display:flex;flex-direction:column;gap:6px}
.sc-info-name{font-size:20px;font-weight:900}
.sc-info-brand{font-weight:900;font-size:17px;padding-left:12px;border-left:1px solid #d9d6ea}
.sc-cond{margin:0;color:#2b3566;font-weight:600}
.sc-row{display:flex;align-items:center;gap:14px;background:rgba(255,255,255,.9);border-radius:20px;padding:14px 16px;text-decoration:none;color:#16204a;box-shadow:0 6px 18px rgba(106,76,245,.07)}
.sc-row-i{display:flex;color:#7a4cf5}
.sc-row-tx{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.sc-row-tx b{font-size:17px;font-weight:900}
.sc-row-tx small{color:#4d5680;font-size:14px}
.sc-row-c{display:flex;color:#16204a}
.sc-kyc{display:flex;align-items:center;gap:14px;background:linear-gradient(180deg,#fff0f4,#ffe8ef);border:1px solid #f7b9cc;border-radius:20px;padding:14px 16px}
.sc-kyc img{width:72px;height:72px;object-fit:contain;flex:none}
.sc-kyc p{margin:0;color:#16204a;font-size:16px;line-height:1.5;border-left:1px solid #f2b8c8;padding-left:14px}
.sc-kyc p b{color:#ee2f8f}
.sc-kyc .mx-small{border:0;font-size:13px;color:#6b7398;margin-top:6px}
/* cart */
.sc-ci{display:flex;gap:14px;align-items:center;border:1px solid #ffd8b8}
.sc-ci-img{flex:none;display:flex;align-items:center;justify-content:center;width:108px;height:108px;border-radius:16px;background:#fff;overflow:hidden}
.sc-ci-img img{width:100%;height:100%;object-fit:contain}
.sc-ci-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.sc-ci-main>b{font-size:19px;font-weight:900;line-height:1.2}
.sc-ci-main .sc-price{font-size:22px}
.sc-each{color:#6b7398;font-weight:700}
.sc-ci-act{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:4px}
.sc-step{display:flex;align-items:center;border:1px solid #dcd5f7;border-radius:999px;background:#fff;padding:2px}
.sc-step button{width:40px;height:40px;border:0;background:none;color:#4b3fd6;font-size:22px;font-weight:900;cursor:pointer;border-radius:50%}
.sc-step input{width:40px;border:0;background:none;text-align:center;font:inherit;font-weight:900;font-size:18px;color:#16204a;-moz-appearance:textfield}
.sc-step input::-webkit-inner-spin-button,.sc-step input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.sc-trash{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:14px;border:1px solid #ffc9cf;background:#fff3f4;color:#e0394c;cursor:pointer;flex:none}
.sc-sum h2,.sc-items h2,.sc-addr h2,.sc-pay h2{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:900;margin-bottom:12px}
.sc-sum h2 .sc-svg,.sc-items h2 .sc-svg,.sc-pay h2 .sc-svg{color:#4b7bff}
.sc-sr{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:6px 0;font-size:16px}
.sc-sr b{font-weight:900}
.sc-info-i{display:inline-flex;vertical-align:middle;color:#6b7398}
.sc-pend{background:#e3ecff;color:#2b3566;border-radius:999px;padding:5px 12px;font-weight:700;font-size:14px}
.sc-note{display:flex;align-items:center;gap:12px;background:#eef3ff;border-radius:14px;padding:12px 14px;margin:8px 0;color:#2b3566}
.sc-note .sc-svg{color:#4b7bff}
.sc-total{display:flex;justify-content:space-between;align-items:center;gap:10px;background:linear-gradient(100deg,#ffece6,#ffe6ee);border-radius:14px;padding:14px;margin-top:8px}
.sc-total span{font-size:19px;font-weight:900}
.sc-total b{font-size:24px;font-weight:900;color:#ee2f8f}
.sc-small{margin:10px 0 0;font-size:13px;color:#6b7398}
/* checkout */
.sc-steps{display:flex;list-style:none;margin:0 0 2px;padding:0;position:relative}
.sc-steps li{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;position:relative;font-weight:700;color:#4d5680;font-size:15px}
.sc-steps li::before{content:"";position:absolute;top:18px;left:-50%;right:50%;height:3px;background:#d7dcf3;z-index:0}
.sc-steps li:first-child::before{display:none}
.sc-steps li.done::before,.sc-steps li.on::before{background:linear-gradient(90deg,#2f6bff,#7a4cf5)}
.sc-dot{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:#e9ecf8;color:#4d5680;font-weight:900;font-size:17px;border:3px solid #fff;box-shadow:0 2px 8px rgba(22,32,74,.12)}
.sc-steps li.done .sc-dot{background:#2f6bff;color:#fff}
.sc-steps li.on .sc-dot{background:linear-gradient(135deg,#7a4cf5,#ee4fa6);color:#fff}
.sc-steps li.on{color:#9b2fe0;font-weight:900}
.sc-form{display:flex!important;flex-direction:column;gap:14px!important}
.sc-addr{background:linear-gradient(120deg,#fff3ea,#fff 70%)}
.sc-h-ico{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#ff9a3d,#ff6a3d);color:#fff;flex:none}
.sc-addr .twm-field,.sc-pay .twm-field{margin-top:10px}
.sc-addr-l,.sc-addr-s{margin:2px 0!important}
.sc-addr-s{color:#4d5680}
.sc-it{display:flex;align-items:center;gap:12px;border:1px solid #e8e6f5;border-radius:16px;padding:8px;background:#fff}
.sc-it+.sc-it{margin-top:8px}
.sc-it .sc-ci-img{width:76px;height:76px}
.sc-it-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.sc-it-main b{font-size:17px;font-weight:900}
.sc-it-side{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.sc-it-side small{color:#4d5680;font-weight:700}
.sc-inst img{width:64px;height:64px;object-fit:contain;flex:none}
@media (min-width:900px){
  .sc-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
  .sc-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .sc-hero{min-height:340px}
  .sc-hero-img{max-width:300px}
}
@media (max-width:480px){
  #twm-app:is([data-scr=catalog],[data-scr=checkout],[data-scr=checkout-review]) .twm-h1{font-size:23px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .sc-chip{padding:0 8px}
  .sc-chip-i .sc-svg{width:16px;height:16px}
}
/* ==== money/assets/ui-upgrade.css ==== */
/* UIUP1 20261106 (t129u) — adapted from LOT-UI-UPGRADE gemini pay-flow.css + pdp-gallery.css. Markup: money.js s03 (pf-*), flows.js product/review/order-detail (pdp-*, pf-*). */
.pf-sec{background:#fff;border-radius:20px;padding:8px 10px;box-shadow:0 4px 14px rgba(30,20,80,.08);margin:0 0 8px}
.pf-sec h2{display:flex;align-items:center;gap:8px;font-size:15px;margin:0 0 6px;color:#071B49}
.pf-opts{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.sc-paypick .pf-opts{grid-template-columns:1fr}
.pf-opt{position:relative;display:flex;align-items:center;gap:8px;text-align:left;min-height:56px;border:2px solid #e3e6f3;border-radius:16px;background:#fff;padding:6px 30px 6px 8px;font:inherit;color:#071B49;cursor:pointer}
.pf-opt.on{border-color:transparent;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(90deg,#087BFF,#743DFF,#F414A0,#FF8740) border-box}
.pf-opt:disabled{opacity:.55;cursor:not-allowed}
.pf-ic{flex:none;width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:#eef2ff;font-size:17px;line-height:1}
.pf-tx{display:flex;flex-direction:column;gap:1px;min-width:0}
.pf-tx b{font-size:13px;line-height:1.25}
.pf-tx small{font-size:11px;line-height:1.3;color:#5a6280}
.pf-rd{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:16px;height:16px;border-radius:50%;border:2px solid #c6cbe0;box-sizing:border-box}
.pf-opt.on .pf-rd{border:5px solid #743DFF}
.pf-chains{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:0 0 2px}
@media (max-width:420px){.pf-chains{grid-template-columns:1fr 1fr}}
.pf-chain{display:flex;flex-direction:column;align-items:center;gap:2px;min-height:56px;border:2px solid #e3e6f3;border-radius:14px;background:#fff;font:700 11px Nunito,sans-serif;color:#071B49;cursor:pointer;padding:4px}
.pf-chain img{height:24px;width:auto;max-width:80px;object-fit:contain}
.pf-chain.on{border-color:#743DFF;box-shadow:0 0 0 2px rgba(116,61,255,.15)}
.pf-bank{background:#fff;border-radius:20px;padding:16px 12px;box-shadow:0 4px 14px rgba(30,20,80,.08);text-align:center;margin:0 0 8px}
.mx-card .pf-bank{box-shadow:none;padding:8px 0}
.pf-load p{margin:6px 0;color:#071B49;font-size:14px}
.pf-load .s2-spin{display:inline-block;width:22px;height:22px;border:3px solid #dfe3f5;border-top-color:#743DFF;border-radius:50%;animation:pfspin 1s linear infinite}
@keyframes pfspin{to{transform:rotate(360deg)}}
.pf-cd{font-size:26px;font-weight:800;color:#16204a;font-variant-numeric:tabular-nums;margin:4px 0}
.pf-bar{height:6px;border-radius:6px;background:#eceffa;overflow:hidden;margin:6px auto 0;max-width:320px}
.pf-bar i{display:block;height:100%;width:100%;background:linear-gradient(90deg,#087BFF,#743DFF,#F414A0);transition:width 1s linear}
.pf-none-t{color:#c62828;font-weight:800;margin:0 0 4px}
.pf-none-d{color:#5a6280;font-size:13px;margin:0 0 10px}
.pf-none form{text-align:left}
/* PDP gallery (swipe) */
.pdp-stage{flex-direction:column;align-items:stretch}
.pdp-gallery-scroll{position:relative;z-index:1;display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;width:100%;max-width:300px;margin:0 auto;scroll-behavior:smooth}
.pdp-gallery-scroll::-webkit-scrollbar{display:none}
.pdp-gallery-scroll .pdp-gallery-img{flex:0 0 100%;max-width:100%;scroll-snap-align:center}
.pdp-dots{position:relative;z-index:2;display:flex;justify-content:center;gap:6px;margin-top:8px}
.pdp-dot{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:#c9cbe0;cursor:pointer;transition:width .2s,background .2s}
.pdp-dot.active{background:#743DFF;width:18px;border-radius:4px}
/* PDP colours */
.pdp-swatches-section{padding:12px 14px}
.pdp-swatches-title{font-size:14px;font-weight:800;margin-bottom:8px;color:#16204a}
.pdp-swatches-title span{font-weight:600;color:#5a6280}
.pdp-swatches-row{display:flex;gap:8px;flex-wrap:wrap}
.pdp-swatch{display:inline-flex;align-items:center;gap:6px;border:2px solid #e3e6f3;border-radius:999px;background:#fff;padding:5px 12px 5px 6px;font:700 13px Nunito,sans-serif;color:#16204a;cursor:pointer}
.pdp-swatch i{width:18px;height:18px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.18)}
.pdp-swatch:not(:has(i)){padding-left:12px}
.pdp-swatch.on{border-color:#743DFF;box-shadow:0 0 0 2px rgba(116,61,255,.15)}
.pdp-sw-note{margin:8px 0 0;font-size:12px;color:#6b7290}
.pf-acct{text-align:left}
.pf-acct-t{font-weight:800;color:#16204a;margin:0 0 8px}
.pf-acct dl{margin:0;display:grid;gap:6px}
.pf-acct dl div{display:flex;justify-content:space-between;gap:10px;border-bottom:1px dashed #e3e6f3;padding-bottom:4px}
.pf-acct dt{color:#5a6280;font-size:13px}
.pf-acct dd{margin:0;font-size:14px;color:#16204a;text-align:right}
/* ==== money/assets/banner-sync.css ==== */
/* TW PAY banner sync — 2026-11-06. The #/s00 and #/shop landing views
   reuse the exact ten Home V2 1560x600 PNG slides across all six languages.
   Layout only: remittance/payment, catalog, KYC and pricing code are unchanged. */
#twm-app:is([data-scr="s00"],[data-scr="exchange"],[data-scr="shop"]) .twp-bv2-shared {
  min-width:0; width:100%; align-self:stretch; grid-column:1/-1;
}
.twp-bv2-shared-wide{display:block;min-width:0}
.twp-bv2-shared-phone{display:none!important}
.twp-bv2-shared .tw5-vp{min-width:0;border-radius:20px;overflow:hidden}
.twp-bv2-shared .tw5-track>.tw5-slide{flex:0 0 95%;max-width:none}
.twp-bv2-shared .tw5-slide>a.bv2{width:100%;height:auto;aspect-ratio:1560/600;border-radius:0}
.twp-bv2-shared .tw5-slide>a.bv2 img{display:block;width:100%;height:100%;object-fit:cover}
.twp-bv2-shared .tw5-ctl{margin-top:4px;min-height:44px}
.twp-bv2-shared .tw5-arw{min-width:44px;min-height:44px}
#twm-app[data-scr="shop"] .shp>.twp-bv2-shared{grid-column:1/-1;min-width:0}
/* Narrow devices use the identical compact image carousel already used on Home. */
@media(max-width:768px){
  .twp-bv2-shared-wide{display:none!important}
  .twp-bv2-shared-phone{display:block!important;margin:0!important;width:100%;min-width:0}
  .twp-bv2-shared-phone .car.bv2-car{
    display:flex!important;gap:8px;height:112px!important;margin:0!important;
    overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;
    scrollbar-width:none;overscroll-behavior-x:contain;
  }
  .twp-bv2-shared-phone .car.bv2-car::-webkit-scrollbar{display:none}
  .twp-bv2-shared-phone .car.bv2-car .sl.bv2m{
    display:block;position:relative;flex:0 0 auto!important;width:auto!important;
    max-width:none!important;height:100%!important;aspect-ratio:1560/600;
    box-sizing:border-box;padding:0!important;overflow:hidden;
    border:0!important;border-radius:16px;line-height:0;
    scroll-snap-align:start;background:#eef0ff;
  }
  .twp-bv2-shared-phone .car.bv2-car .sl.bv2m img{
    display:block!important;width:100%!important;height:100%!important;
    object-fit:cover!important;object-position:center;
  }
  .twp-bv2-shared-phone .car.bv2-car .sl.bv2m .dots{
    position:absolute;left:50%;right:auto;bottom:6px;transform:translateX(-50%);
    display:flex;gap:3px;line-height:0;z-index:2;padding:3px 6px;
    border-radius:999px;background:rgba(255,255,255,.72);
  }
  .twp-bv2-shared-phone .car.bv2-car .sl.bv2m .dots i{display:block;width:5px;height:5px;border-radius:50%;background:#c9c3ee}
  .twp-bv2-shared-phone .car.bv2-car .sl.bv2m .dots i.on{width:12px;border-radius:3px;background:#6A4CF5}
  #twm-app[data-scr="s00"] .twm-sub{margin-bottom:8px}
  #twm-app[data-scr="s00"] .twp-bv2-shared{margin-bottom:12px}
  #twm-app[data-scr="shop"] .shp>.twp-bv2-shared{margin-bottom:2px}
}
@media(min-width:1024px){
  .twp-bv2-shared .tw5-track>.tw5-slide{flex:0 0 50%;max-width:50%}
}
@media(prefers-reduced-motion:reduce){
  .twp-bv2-shared .tw5-track{transition:none}
  .twp-bv2-shared .car.bv2-car{scroll-behavior:auto}
}
/* ==== money/assets/shop-aurora.css ==== */
/* TW PAY SHOP-AURORA (2026-11-06) — accessible, lightweight storefront only.
   Scoped to #/shop. Brand identity & original Home V2 artwork reused; no fake
   discounts, no price calculations, no change to API/cart/checkout/remittance. */
#twm-app[data-scr=shop]{--sa-navy:#071B49;--sa-muted:#64718d;--sa-blue:#087BFF;--sa-violet:#743DFF;--sa-pink:#F414A0;--sa-orange:#FF8740;--sa-glass:rgba(255,255,255,.92);--sa-line:#e4e6f8}
#twm-app[data-scr=shop]>.twm-main{background:radial-gradient(90% 50% at 100% -10%,rgba(189,170,255,.28),transparent 72%),radial-gradient(80% 35% at -10% 45%,rgba(132,198,255,.16),transparent 65%),linear-gradient(180deg,#fafaff,#f2f0ff 70%,#f9faff)!important;overflow-x:hidden!important}
#twm-app[data-scr=shop] .shp.shp-aurora{display:flex!important;flex-direction:column!important;gap:12px!important;max-width:1200px!important;width:100%!important;box-sizing:border-box!important;margin:0 auto!important;overflow:visible!important;color:var(--sa-navy);font-family:Nunito,system-ui,sans-serif}
#twm-app[data-scr=shop] .shp-aurora *{box-sizing:border-box}
#twm-app[data-scr=shop] .shp-aurora svg{height:22px;width:22px;flex:none}
#twm-app[data-scr=shop] .twm-head{margin-bottom:8px!important}
#twm-app[data-scr=shop] .shp-lead{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:4px 2px 0}
#twm-app[data-scr=shop] .shp-lead h2{font:900 clamp(19px,2.8vw,27px)/1.2 Nunito,system-ui,sans-serif;color:var(--sa-navy);margin:0 0 2px;letter-spacing:-.03em}
#twm-app[data-scr=shop] .shp-lead p{font-size:13px;font-weight:650;margin:0;color:var(--sa-muted)}
#twm-app[data-scr=shop] .shp-cart{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:14px;border:1px solid #dedafa;color:#743DFF;background:var(--sa-glass);box-shadow:0 2px 8px rgba(41,35,100,.06)}
/* Same artwork as Home, but a single readable slide on desktop and a FULL slide on phone. */
#twm-app[data-scr=shop] .shp-aurora>.twp-bv2-shared{grid-column:auto!important;width:100%!important;margin:0!important}
#twm-app[data-scr=shop] .twp-bv2-shared .tw5-track>.tw5-slide{flex:0 0 100%!important;max-width:100%!important}
#twm-app[data-scr=shop] .twp-bv2-shared .tw5-vp{border-radius:20px!important;box-shadow:0 10px 28px rgba(61,51,138,.15)!important}
#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2{display:block;width:100%!important;height:auto!important;aspect-ratio:1560/600!important;overflow:hidden;border-radius:18px!important}
#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2 img{width:100%!important;height:100%!important;object-fit:cover!important}
#twm-app[data-scr=shop] .twp-bv2-shared .tw5-ctl{margin:2px 0 0!important;min-height:30px!important}
#twm-app[data-scr=shop] .twp-bv2-shared .tw5-arw{min-width:40px!important;min-height:40px!important}
/* Functional benefits, no unverifiable guarantees. */
#twm-app[data-scr=shop] .shp-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;min-width:0;background:var(--sa-glass);border:1px solid #fff;border-radius:18px;box-shadow:0 4px 20px rgba(60,48,122,.065);padding:10px 8px}
#twm-app[data-scr=shop] .shp-benefit{display:flex;gap:9px;align-items:center;min-width:0;padding:3px 12px;border-right:1px solid #eceafb}
#twm-app[data-scr=shop] .shp-benefit:last-child{border:0}
#twm-app[data-scr=shop] .shp-bi{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:13px;color:var(--sa-violet);background:linear-gradient(135deg,rgba(8,123,255,.12),rgba(244,20,160,.08))}
#twm-app[data-scr=shop] .shp-benefit:nth-child(2) .shp-bi{color:var(--sa-blue)}
#twm-app[data-scr=shop] .shp-benefit:nth-child(3) .shp-bi{color:#b030b2}
#twm-app[data-scr=shop] .shp-benefit:nth-child(4) .shp-bi{color:#e17b1a}
#twm-app[data-scr=shop] .shp-btext{min-width:0;display:flex;flex-direction:column;gap:2px}
#twm-app[data-scr=shop] .shp-btext b{font-size:13px;line-height:1.25;color:var(--sa-navy);font-weight:900}
#twm-app[data-scr=shop] .shp-btext small{font-size:11px;line-height:1.25;font-weight:700;color:var(--sa-muted)}
/* Search routes to the EXISTING #/catalog?q= implementation. */
#twm-app[data-scr=shop] form.shp-search{display:flex;align-items:center;gap:7px;padding:6px;background:var(--sa-glass);border:1px solid #dcdff8;border-radius:20px;box-shadow:0 5px 18px rgba(90,68,170,.09);margin:0;min-width:0}
#twm-app[data-scr=shop] .shp-sinput{display:flex;align-items:center;gap:9px;flex:1;min-width:0;padding:0 12px;color:#5d55aa}
#twm-app[data-scr=shop] .shp-search input{border:none!important;min-width:0;outline:0!important;box-shadow:none!important;flex:1;background:transparent!important;font:700 14px Nunito,system-ui,sans-serif;color:var(--sa-navy);height:39px}
#twm-app[data-scr=shop] .shp-search input::placeholder{color:#7b83a2;opacity:1}
#twm-app[data-scr=shop] .shp-search button{border:0;min-height:42px;padding:0 20px;border-radius:15px;color:#fff;white-space:nowrap;cursor:pointer;font:900 14px Nunito,sans-serif;background:linear-gradient(100deg,#087BFF 0%,#743DFF 40%,#F414A0 76%,#FF8740 100%);box-shadow:0 4px 12px rgba(116,61,255,.17)}
/* 8 categories that match actual catalog types; buttons filter visible TW PAY products. */
#twm-app[data-scr=shop] .shp-catalog-intro{min-width:0;background:var(--sa-glass);border:1px solid #fff;border-radius:19px;padding:12px 14px;box-shadow:0 4px 20px rgba(60,48,122,.065)}
#twm-app[data-scr=shop] .shp-cats-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}
#twm-app[data-scr=shop] .shp-cats-title h2{margin:0;font-size:16px;font-weight:900}
#twm-app[data-scr=shop] .shp-cats-title a{display:inline-flex;gap:4px;align-items:center;font-size:12px;font-weight:800;text-decoration:none;color:#6539ce}
#twm-app[data-scr=shop] .shp-cats-title a svg{width:14px;height:14px}
#twm-app[data-scr=shop] .shp-cats{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;grid-auto-flow:row!important;gap:8px!important;overflow:visible!important;padding:0!important}
#twm-app[data-scr=shop] .shp-cat{min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px!important;background:#fdfcff!important;border:1px solid var(--sa-line)!important;border-radius:15px!important;min-height:78px!important;padding:9px 4px!important;cursor:pointer;color:var(--sa-navy)!important;font:800 11.5px/1.2 Nunito,sans-serif!important;box-shadow:0 2px 7px rgba(61,50,110,.04)!important;white-space:normal!important}
#twm-app[data-scr=shop] .shp-cat .ic{height:36px!important;width:42px!important;border-radius:13px!important;margin:0!important;background:#f1efff!important;display:grid;place-items:center}
#twm-app[data-scr=shop] .shp-cat .ic svg{height:23px!important;width:23px!important;stroke:#763bdf!important;fill:none;stroke-width:1.85}
#twm-app[data-scr=shop] .shp-cat .nm{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:center}
#twm-app[data-scr=shop] .shp-cat[aria-pressed=true]{color:#fff!important;border-color:transparent!important;background:linear-gradient(120deg,#087BFF,#743DFF 44%,#F414A0 84%,#FF8740)!important;box-shadow:0 5px 13px rgba(108,67,231,.20)!important}
#twm-app[data-scr=shop] .shp-cat[aria-pressed=true] .ic{background:rgba(255,255,255,.16)!important}
#twm-app[data-scr=shop] .shp-cat[aria-pressed=true] .ic svg{stroke:#fff!important}
/* Real brand assets bundled in TW PAY, not drawn or replaced. */
#twm-app[data-scr=shop] .shp-partner-wrap{min-width:0;background:var(--sa-glass);border:1px solid #fff;border-radius:19px;padding:12px 14px;box-shadow:0 4px 20px rgba(60,48,122,.065)}
#twm-app[data-scr=shop] .shp-aurora .shp-hd{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 9px!important}
#twm-app[data-scr=shop] .shp-aurora .shp-hd>div{min-width:0}
#twm-app[data-scr=shop] .shp-aurora .shp-hd h2{display:flex;align-items:center;gap:7px;margin:0!important;font:900 17px/1.2 Nunito,sans-serif!important;color:var(--sa-navy)!important}
#twm-app[data-scr=shop] .shp-aurora .shp-hd p{font-size:11.5px;line-height:1.3;margin:4px 0 0;color:var(--sa-muted);font-weight:700}
#twm-app[data-scr=shop] .shp-aurora .shp-hd>a{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;text-decoration:none;font-size:12px;font-weight:900;color:#6d36de}
#twm-app[data-scr=shop] .shp-aurora .shp-hd>a svg{height:15px;width:15px}
#twm-app[data-scr=shop] .shp-pts{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important;overflow:visible!important;padding:1px!important}
#twm-app[data-scr=shop] .shp-pt{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px!important;height:73px!important;min-width:0;position:relative;padding:6px 5px!important;background:#fff!important;border:1px solid #e6e7f6!important;border-radius:13px!important;box-shadow:none!important;color:var(--sa-navy);font:800 12px Nunito,sans-serif!important;cursor:pointer}
#twm-app[data-scr=shop] .shp-pt .lg{display:grid;place-items:center;height:34px!important;width:100%}
#twm-app[data-scr=shop] .shp-pt img{display:block;max-height:32px!important;max-width:115px!important;height:auto!important;width:auto!important;object-fit:contain}
#twm-app[data-scr=shop] .shp-pt img[src*=xiaomi]{max-height:32px!important;max-width:115px!important;width:auto!important}
#twm-app[data-scr=shop] .shp-pt .nm{display:block!important;white-space:normal;text-align:center;line-height:1.15;font-size:11px}
#twm-app[data-scr=shop] .shp-pt[aria-pressed=true]{border-color:transparent!important;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(95deg,#087BFF,#743DFF,#F414A0,#FF8740) border-box!important;box-shadow:0 3px 12px rgba(116,61,255,.16)!important}
#twm-app[data-scr=shop] .shp-pt[aria-pressed=true]:after{display:none!important}
/* Product panels use real data and link to original product detail for KYC/cart gating. */
#twm-app[data-scr=shop] .shp-aurora .shp-sec{min-width:0;background:var(--sa-glass)!important;border:1px solid #fff!important;border-radius:20px!important;padding:14px!important;box-shadow:0 4px 20px rgba(60,48,122,.065)!important}
#twm-app[data-scr=shop] .shp-section-ic{display:grid;place-items:center;color:#743DFF;background:#eeeafe;width:32px;height:32px;border-radius:10px}
#twm-app[data-scr=shop] .shp-section-ic svg{width:20px;height:20px}
#twm-app[data-scr=shop] .shp-row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;grid-auto-flow:row!important;overflow:visible!important;background:transparent!important;margin:0!important;padding:0!important}
#twm-app[data-scr=shop] .shp-pc{display:flex;flex-direction:column;gap:5px!important;min-width:0;min-height:216px!important;height:auto!important;border:1px solid #e9e7f8!important;border-radius:15px!important;padding:10px!important;background:#fff!important;box-shadow:0 3px 12px rgba(36,35,94,.045)!important;text-decoration:none!important;color:var(--sa-navy)!important}
#twm-app[data-scr=shop] .shp-pc .im{display:grid;place-items:center;min-width:0;height:135px!important;background:linear-gradient(145deg,#fcfcff,#f1f2fd)!important;border-radius:10px!important;overflow:hidden}
#twm-app[data-scr=shop] .shp-pc .im img{max-height:130px!important;max-width:100%!important;width:auto!important;object-fit:contain}
#twm-app[data-scr=shop] .shp-pc .nm{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;white-space:normal!important;overflow:hidden!important;text-overflow:ellipsis!important;font:800 12.5px/1.35 Nunito,sans-serif!important;min-height:33px}
#twm-app[data-scr=shop] .shp-pc .pr{margin-top:auto;font:900 15px Nunito,sans-serif!important;color:#6739e4!important;letter-spacing:-.02em}
#twm-app[data-scr=shop] .shp-pc:hover{border-color:#b6a7ff!important;transform:translateY(-1px)}
#twm-app[data-scr=shop] .shp-none{background:#f6f4ff!important;border:1px solid #ece8ff;color:#5c6681}
#twm-app[data-scr=shop] .shp-smp{margin-top:8px;text-align:right;font-size:11px;color:var(--sa-muted)}
#twm-app[data-scr=shop] .shp-aurora :is(button,a,input):focus-visible{outline:3px solid #087BFF!important;outline-offset:2px!important}
@media(max-width:1023px){
 #twm-app[data-scr=shop] .shp.shp-aurora{width:min(100%,550px)!important;gap:9px!important}
 #twm-app[data-scr=shop] .shp-lead{padding:0 1px}
 #twm-app[data-scr=shop] .shp-lead h2{font-size:19px}
 #twm-app[data-scr=shop] .shp-aurora>.twp-bv2-shared .twp-bv2-shared-phone{display:block!important;width:100%!important}
 #twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car{display:flex!important;gap:0!important;max-width:100%!important;width:100%!important;height:auto!important;aspect-ratio:1560/600!important;border-radius:16px!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important}
 #twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m{flex:0 0 100%!important;width:100%!important;max-width:100%!important;min-width:100%!important;height:auto!important;aspect-ratio:1560/600!important;border-radius:16px!important}
 #twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m img{width:100%!important;height:100%!important;object-fit:cover!important}
 #twm-app[data-scr=shop] .shp-benefits{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 2px;padding:9px 7px}
 #twm-app[data-scr=shop] .shp-benefit{padding:0 5px;gap:6px}
 #twm-app[data-scr=shop] .shp-benefit:nth-child(2){border:0}
 #twm-app[data-scr=shop] .shp-bi{height:34px;width:34px;border-radius:10px}
 #twm-app[data-scr=shop] .shp-bi svg{height:19px;width:19px}
 #twm-app[data-scr=shop] .shp-btext b{font-size:11.5px}
 #twm-app[data-scr=shop] .shp-btext small{font-size:10px}
 #twm-app[data-scr=shop] .shp-search input{font-size:12.5px;height:35px}
 #twm-app[data-scr=shop] .shp-search button{min-height:38px;font-size:12px;padding:0 12px}
 #twm-app[data-scr=shop] .shp-search svg{height:19px;width:19px}
 #twm-app[data-scr=shop] .shp-catalog-intro{padding:10px}
 #twm-app[data-scr=shop] .shp-cats-title{margin-bottom:7px}
 #twm-app[data-scr=shop] .shp-cats-title h2{font-size:14px}
 #twm-app[data-scr=shop] .shp-cats{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
 #twm-app[data-scr=shop] .shp-cat{min-height:60px!important;border-radius:11px!important;gap:3px!important;padding:5px 2px!important;font-size:10px!important}
 #twm-app[data-scr=shop] .shp-cat .ic{height:28px!important;width:32px!important;border-radius:9px!important}
 #twm-app[data-scr=shop] .shp-cat .ic svg{height:18px!important;width:18px!important}
 #twm-app[data-scr=shop] .shp-partner-wrap{padding:10px}
 #twm-app[data-scr=shop] .shp-aurora .shp-hd h2{font-size:15px!important}
 #twm-app[data-scr=shop] .shp-aurora .shp-hd p{font-size:10.5px}
 #twm-app[data-scr=shop] .shp-pts{gap:5px!important}
 #twm-app[data-scr=shop] .shp-pt{height:61px!important;padding:4px 2px!important;border-radius:10px!important}
 #twm-app[data-scr=shop] .shp-pt .lg{height:29px!important}
 #twm-app[data-scr=shop] .shp-pt img,#twm-app[data-scr=shop] .shp-pt img[src*=xiaomi]{max-height:28px!important;max-width:100%!important}
 #twm-app[data-scr=shop] .shp-pt .nm{font-size:9px!important}
 #twm-app[data-scr=shop] .shp-aurora .shp-sec{padding:10px!important}
 #twm-app[data-scr=shop] .shp-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 #twm-app[data-scr=shop] .shp-pc{min-height:179px!important;padding:7px!important}
 #twm-app[data-scr=shop] .shp-pc .im{height:92px!important}
 #twm-app[data-scr=shop] .shp-pc .im img{max-height:88px!important}
 #twm-app[data-scr=shop] .shp-pc .nm{font-size:11.5px!important;min-height:30px}
 #twm-app[data-scr=shop] .shp-pc .pr{font-size:13.5px!important}
}
@media(max-width:380px){
 #twm-app[data-scr=shop] .shp-btext b{font-size:10.5px}
 #twm-app[data-scr=shop] .shp-btext small{font-size:9.5px}
 #twm-app[data-scr=shop] .shp-aurora .shp-hd h2{font-size:14px!important}
 #twm-app[data-scr=shop] .shp-pt .nm{font-size:8.5px!important}
}
@media(prefers-reduced-motion:reduce){#twm-app[data-scr=shop] .shp-pc{transform:none!important;transition:none!important}}
/* Old ds-140.css fixed every shop slide to 140px on desktop.
   Override that legacy size so Home campaign images are not cut off. */
@media(min-width:1024px){
 #twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared .tw5-vp{height:auto!important;min-height:0!important}
 #twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared .tw5-track>.tw5-slide{flex:0 0 50%!important;max-width:50%!important;height:auto!important;min-height:0!important}
 #twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared .tw5-track>.tw5-slide>a.bv2{width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1560/600!important;display:block!important}
}
@media(min-width:769px) and (max-width:1023px){
 #twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared .tw5-vp{height:auto!important;min-height:0!important}
 #twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared .tw5-track>.tw5-slide{height:auto!important;min-height:0!important}
 #twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared .tw5-track>.tw5-slide>a.bv2{height:auto!important;min-height:0!important;aspect-ratio:1560/600!important}
}


/* 2026-11-07 compact 3D refresh: remove benefits strip, denser layout, 3D category icons, mobile horizontal products */
#twm-app[data-scr=shop] .shp-benefits{display:none!important}
#twm-app[data-scr=shop] .shp.shp-aurora{gap:10px!important}
#twm-app[data-scr=shop] .shp-lead{padding:0 2px 0!important;margin-bottom:-2px!important}
#twm-app[data-scr=shop] .shp-lead h2{font-size:clamp(18px,2.3vw,24px)!important}
#twm-app[data-scr=shop] .shp-lead p{font-size:12px!important}
#twm-app[data-scr=shop] form.shp-search{padding:5px!important;border-radius:18px!important}
#twm-app[data-scr=shop] .shp-search button{border-radius:14px!important;min-height:40px!important}
#twm-app[data-scr=shop] .shp-catalog-intro,
#twm-app[data-scr=shop] .shp-partner-wrap,
#twm-app[data-scr=shop] .shp-aurora .shp-sec{padding:10px 12px!important;border-radius:18px!important}
#twm-app[data-scr=shop] .shp-cats{gap:7px!important}
#twm-app[data-scr=shop] .shp-cat{position:relative;min-height:84px!important;padding:8px 4px!important;border-radius:16px!important;background:linear-gradient(180deg,#ffffff 0%,#f6f4ff 100%)!important;box-shadow:0 6px 18px rgba(65,54,130,.08), inset 0 1px 0 rgba(255,255,255,.85)!important;overflow:hidden}
#twm-app[data-scr=shop] .shp-cat::after{content:"";position:absolute;left:10px;right:10px;bottom:6px;height:10px;background:radial-gradient(50% 100% at 50% 50%,rgba(120,85,255,.16),rgba(120,85,255,0));pointer-events:none}
#twm-app[data-scr=shop] .shp-cat .ic{position:relative;height:40px!important;width:44px!important;border-radius:15px!important;background:linear-gradient(180deg,#ffffff 0%,#ede8ff 100%)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 8px 14px rgba(117,87,224,.16)!important}
#twm-app[data-scr=shop] .shp-cat .ic::before{content:"";position:absolute;inset:4px;border-radius:12px;background:radial-gradient(circle at 30% 24%,rgba(255,255,255,.95),rgba(255,255,255,.35) 40%,transparent 41%),linear-gradient(140deg,rgba(8,123,255,.20),rgba(116,61,255,.18) 40%,rgba(244,20,160,.12) 72%,rgba(255,135,64,.14));}
#twm-app[data-scr=shop] .shp-cat .ic svg{position:relative;z-index:1;height:20px!important;width:20px!important;stroke:#7a3df2!important;filter:drop-shadow(0 1px 0 rgba(255,255,255,.7))}
#twm-app[data-scr=shop] .shp-cat .nm{font-size:11px;font-weight:900}
#twm-app[data-scr=shop] .shp-cat[aria-pressed=true]{background:linear-gradient(135deg,#087BFF 0%,#743DFF 42%,#F414A0 78%,#FF8740 100%)!important;box-shadow:0 10px 22px rgba(110,72,228,.22)!important}
#twm-app[data-scr=shop] .shp-cat[aria-pressed=true]::after{background:radial-gradient(50% 100% at 50% 50%,rgba(255,255,255,.32),rgba(255,255,255,0))}
#twm-app[data-scr=shop] .shp-cat[aria-pressed=true] .ic{background:linear-gradient(180deg,rgba(255,255,255,.34) 0%,rgba(255,255,255,.12) 100%)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 8px 16px rgba(39,20,114,.24)!important}
#twm-app[data-scr=shop] .shp-cat[aria-pressed=true] .ic::before{background:radial-gradient(circle at 30% 24%,rgba(255,255,255,.9),rgba(255,255,255,.25) 42%,transparent 43%),linear-gradient(140deg,rgba(255,255,255,.16),rgba(255,255,255,.04))}
#twm-app[data-scr=shop] .shp-cat[aria-pressed=true] .ic svg{stroke:#fff!important}
#twm-app[data-scr=shop] .shp-pt{height:70px!important;border-radius:14px!important;box-shadow:0 5px 16px rgba(76,57,153,.05)!important;background:linear-gradient(180deg,#fff,#faf8ff)!important}
#twm-app[data-scr=shop] .shp-pt .lg{height:32px!important}
#twm-app[data-scr=shop] .shp-pc{border-radius:16px!important;box-shadow:0 8px 22px rgba(76,57,153,.07)!important;background:linear-gradient(180deg,#ffffff 0%,#fbfaff 100%)!important}
#twm-app[data-scr=shop] .shp-pc .im{height:128px!important;border-radius:12px!important;background:radial-gradient(circle at 50% 0%,rgba(255,255,255,.9),rgba(255,255,255,.4) 36%,transparent 37%),linear-gradient(180deg,#f7f5ff,#eef1ff)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.85)!important}
#twm-app[data-scr=shop] .shp-pc .im img{filter:drop-shadow(0 10px 14px rgba(48,54,125,.16))}
#twm-app[data-scr=shop] .shp-pc .pr{font-size:14px!important}
#twm-app[data-scr=shop] .shp-cart{box-shadow:0 8px 18px rgba(116,61,255,.12)!important}

@media(max-width:1023px){
 #twm-app[data-scr=shop] .shp.shp-aurora{gap:8px!important;width:min(100%,520px)!important}
 #twm-app[data-scr=shop] .shp-lead h2{font-size:17px!important}
 #twm-app[data-scr=shop] .shp-lead p{display:none!important}
 #twm-app[data-scr=shop] .shp-catalog-intro,
 #twm-app[data-scr=shop] .shp-partner-wrap,
 #twm-app[data-scr=shop] .shp-aurora .shp-sec{padding:9px 10px!important;border-radius:16px!important}
 #twm-app[data-scr=shop] .shp-search input{height:33px!important}
 #twm-app[data-scr=shop] .shp-search button{min-height:36px!important;padding:0 11px!important}
 #twm-app[data-scr=shop] .shp-cats-title{margin-bottom:6px!important}
 #twm-app[data-scr=shop] .shp-cats-title h2{font-size:13px!important}
 #twm-app[data-scr=shop] .shp-cats{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
 #twm-app[data-scr=shop] .shp-cat{min-height:72px!important;border-radius:13px!important;padding:6px 3px!important;gap:4px!important}
 #twm-app[data-scr=shop] .shp-cat .ic{height:34px!important;width:36px!important;border-radius:12px!important}
 #twm-app[data-scr=shop] .shp-cat .ic::before{inset:3px;border-radius:10px!important}
 #twm-app[data-scr=shop] .shp-cat .ic svg{height:17px!important;width:17px!important}
 #twm-app[data-scr=shop] .shp-cat .nm{font-size:9.5px!important;line-height:1.12!important}
 #twm-app[data-scr=shop] .shp-aurora .shp-hd{margin:0 0 7px!important}
 #twm-app[data-scr=shop] .shp-aurora .shp-hd p{display:none!important}
 #twm-app[data-scr=shop] .shp-pts{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px!important}
 #twm-app[data-scr=shop] .shp-pt{height:55px!important;padding:3px 2px!important;border-radius:10px!important}
 #twm-app[data-scr=shop] .shp-pt .lg{height:25px!important}
 #twm-app[data-scr=shop] .shp-pt img,#twm-app[data-scr=shop] .shp-pt img[src*=xiaomi]{max-height:24px!important}
 #twm-app[data-scr=shop] .shp-pt .nm{display:none!important}
 #twm-app[data-scr=shop] .shp-row{display:flex!important;grid-template-columns:none!important;gap:8px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity!important;padding-bottom:2px!important}
 #twm-app[data-scr=shop] .shp-row>li{flex:0 0 42%!important;min-width:42%!important;list-style:none!important;scroll-snap-align:start}
 #twm-app[data-scr=shop] .shp-pc{min-height:154px!important;padding:7px!important;border-radius:14px!important}
 #twm-app[data-scr=shop] .shp-pc .im{height:78px!important}
 #twm-app[data-scr=shop] .shp-pc .im img{max-height:74px!important}
 #twm-app[data-scr=shop] .shp-pc .nm{font-size:11px!important;min-height:28px!important}
 #twm-app[data-scr=shop] .shp-pc .pr{font-size:12.5px!important}
 #twm-app[data-scr=shop] .shp-smp{display:none!important}
}

@media(max-width:380px){
 #twm-app[data-scr=shop] .shp-cats{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 #twm-app[data-scr=shop] .shp-cat{min-height:68px!important}
 #twm-app[data-scr=shop] .shp-cat .nm{font-size:9px!important}
 #twm-app[data-scr=shop] .shp-row>li{flex-basis:46%!important;min-width:46%!important}
}
/* ==== money/assets/pdp-checkout-detail.css ==== */
/* TW PAY detail screens — Aurora dimensional UI, high contrast and authentic assets.
   Home (#/home) and Shop landing (#/shop) intentionally unaffected. */
#twm-app:has(.mx-content) {
 --detail-navy:#071B49;--detail-muted:#52617c;--detail-line:#e1e7f4;
 --detail-rainbow:linear-gradient(100deg,#087BFF 0%,#743DFF 42%,#F414A0 75%,#FF8740 100%);
}
#twm-app:has(.mx-content)>.twm-main{
 background:radial-gradient(60% 28% at 90% -5%,rgba(144,121,254,.12),transparent 80%),linear-gradient(180deg,#fafbff 0%,#f6f5ff 100%)!important;
}
#twm-app:has(.mx-content) .mx-content{color:var(--detail-navy);gap:10px;max-width:780px}
#twm-app:has(.mx-content) :is(.sc-card,.mx-card,.sc-row){border:1px solid #e9eafb;box-shadow:0 5px 18px rgba(40,39,104,.065);background:linear-gradient(175deg,#fff 15%,#fbfbff)}
#twm-app:has(.mx-content) .twm-btn:not(.ghost){background:var(--detail-rainbow)!important;color:#fff!important;border:0!important;font-weight:900;min-height:48px;border-radius:15px;box-shadow:0 6px 18px rgba(116,61,255,.16)}
#twm-app[data-scr=shop] .sc-pdp{gap:10px}
#twm-app[data-scr=shop] .sc-pdp .sc-hero{grid-template-columns:1fr;gap:6px;min-height:0;overflow:visible;padding:12px;border:1px solid #e2e7ff;background:linear-gradient(150deg,#f5faff,#f4f0ff 55%,#fff4f1);border-radius:20px}
#twm-app[data-scr=shop] .sc-pdp .sc-hero-tx{padding-top:0;gap:4px}
#twm-app[data-scr=shop] .sc-pdp .sc-hero-tx h2{font-size:18px;margin:0}
#twm-app[data-scr=shop] .sc-pdp .sc-hero-bag{left:auto;right:10px;top:5px;bottom:auto;width:42px;height:42px;opacity:.8;filter:drop-shadow(0 5px 8px rgba(68,59,143,.13))}
#twm-app[data-scr=shop] .sc-pdp .pdp-stage{display:flex;flex-direction:column;align-items:stretch;padding:0;width:100%;min-width:0;gap:8px}
#twm-app[data-scr=shop] .sc-pdp .pdp-stage::after{display:none}
#twm-app[data-scr=shop] .sc-pdp .pdp-gallery-scroll{height:230px;max-width:min(100%,390px);width:100%;margin:0 auto;display:flex;gap:0;align-items:center;border-radius:16px;background:linear-gradient(160deg,#fff,#f6f8ff);box-shadow:inset 0 0 0 1px #edf0fa,0 5px 15px rgba(70,60,145,.045)}
#twm-app[data-scr=shop] .sc-pdp .pdp-gallery-img{flex:0 0 100%;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;padding:7px;mix-blend-mode:normal;filter:drop-shadow(0 7px 8px rgba(36,39,89,.12))}
#twm-app[data-scr=shop] .sc-pdp .pdp-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;width:100%}
#twm-app[data-scr=shop] .sc-pdp .pdp-photo-slot{display:flex;min-width:0;min-height:75px;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid #e1e4f5;border-radius:12px;padding:4px;background:linear-gradient(160deg,#fff,#faf9ff);color:#071B49;font:800 10px/1.2 Nunito,sans-serif;overflow:hidden;cursor:pointer}
#twm-app[data-scr=shop] .sc-pdp .pdp-photo-slot img{display:block;height:45px;max-width:100%;object-fit:contain}
#twm-app[data-scr=shop] .sc-pdp .pdp-photo-slot span{white-space:nowrap}
#twm-app[data-scr=shop] .sc-pdp .pdp-photo-slot.active{border-color:#743DFF;box-shadow:0 0 0 2px rgba(116,61,255,.15)}
#twm-app[data-scr=shop] .sc-pdp .pdp-photo-slot.missing{border-style:dashed;color:#717c96;background:#f4f6fb;cursor:default}
#twm-app[data-scr=shop] .sc-pdp .pdp-photo-pending{height:45px;display:grid;place-items:center;font-size:22px;color:#a1aaca}
#twm-app[data-scr=shop] .sc-pdp .pdp-photo-note{margin:0;color:#5e6883;font-size:11px;line-height:1.35;text-align:center}
#twm-app[data-scr=shop] .sc-pdp .sc-info{padding:12px 14px}
#twm-app[data-scr=shop] .sc-pdp .sc-info-name{font-size:17px}
#twm-app[data-scr=shop] .sc-pdp .sc-price-lg{font-size:23px;color:#743DFF;font-weight:900;margin:7px 0}
#twm-app[data-scr=shop] .sc-pdp .pdp-condition{padding:14px;border-radius:18px}
#twm-app[data-scr=shop] .sc-pdp .pdp-condition-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:7px}
#twm-app[data-scr=shop] .sc-pdp .pdp-condition-title h2{font:900 16px/1.25 Nunito,sans-serif;margin:0}
#twm-app[data-scr=shop] .sc-pdp .pdp-condition-state{background:#f0ebff;color:#5e2ee1;white-space:nowrap;border-radius:999px;padding:5px 10px;font-size:11px;font-weight:900}
#twm-app[data-scr=shop] .sc-pdp .pdp-condition-warning{font-size:11.5px;color:#6b617e;margin:4px 0 8px;line-height:1.4}
#twm-app[data-scr=shop] .sc-pdp .pdp-condition-summary{font:700 12px/1.4 Nunito,sans-serif;color:#25375e;margin:4px 0 10px}
#twm-app[data-scr=shop] .sc-pdp .pdp-condition-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px;margin:0}
#twm-app[data-scr=shop] .sc-pdp .pdp-check-row{display:flex;align-items:baseline;justify-content:space-between;gap:6px;padding:7px 0;border-bottom:1px solid #e9eaf5;font-size:12px}
#twm-app[data-scr=shop] .sc-pdp .pdp-check-row dt{color:#5b6780}
#twm-app[data-scr=shop] .sc-pdp .pdp-check-row dd{margin:0;text-align:right;font-weight:900;color:#142752;overflow-wrap:anywhere}
#twm-app[data-scr=shop] .sc-pdp .pdp-more{border:0;padding:9px 0 0;margin-top:4px}
#twm-app[data-scr=shop] .sc-pdp .pdp-more summary{list-style-position:inside;font-size:13px;font-weight:900;color:#633ce6;cursor:pointer;padding:3px 0 8px}
#twm-app[data-scr=shop] .sc-pdp .pdp-meta{font-size:12px;line-height:1.45;padding:5px 0 0;margin:5px 0 0;color:#39466d}
#twm-app[data-scr=shop] .sc-pdp .sc-kyc{background:#fff9f7;border:1px solid #ffc9ba;padding:10px;border-radius:16px}
#twm-app[data-scr=shop] .sc-pdp .sc-kyc p{font-size:12.5px}
#twm-app[data-scr=shop] .sc-pdp .sc-kyc img{width:52px;height:52px}
#twm-app[data-scr=shop] .sc-pdp .sc-row{padding:10px 12px;border-radius:14px}
#twm-app[data-scr=shop] .sc-pdp .sc-row-tx b{font-size:14px}
#twm-app[data-scr=shop] .sc-pdp .sc-row-tx small{font-size:12px}
#twm-app[data-scr=shop] .sc-pdp .pdp-swatches-section{padding:11px 12px}
#twm-app[data-scr=shop] .sc-pdp .sc-btn{border-radius:15px;min-height:48px}
#twm-app[data-scr=shop] :is(.sc-co,.sc-cart) .sc-steps li{font-size:12px}
#twm-app[data-scr=shop] :is(.sc-co,.sc-cart) .sc-card{padding:12px 14px}
#twm-app[data-scr=shop] :is(.sc-co,.sc-cart) .sc-card h2{font-size:16px}
#twm-app[data-scr=shop] :is(.sc-co,.sc-cart) .sc-sr{font-size:13px}
#twm-app[data-scr=shop] :is(.sc-co,.sc-cart) :is(input,select){border:1px solid #dbe2f3;border-radius:12px;color:#071B49}
#twm-app .mx-content .mx-barcode{border:1px solid #e3e8ef;border-radius:14px;background:#fff;overflow-x:auto}
#twm-app .mx-content .mx-barcode svg{min-width:280px;height:84px}
@media(max-width:480px){
 #twm-app[data-scr=shop] .sc-pdp .sc-hero{padding:10px}
 #twm-app[data-scr=shop] .sc-pdp .pdp-gallery-scroll{height:185px}
 #twm-app[data-scr=shop] .sc-pdp .pdp-photo-slot{min-height:65px;font-size:9.5px}
 #twm-app[data-scr=shop] .sc-pdp .pdp-photo-slot img,#twm-app[data-scr=shop] .sc-pdp .pdp-photo-pending{height:36px}
 #twm-app[data-scr=shop] .sc-pdp .pdp-condition-grid{grid-template-columns:1fr}
 #twm-app[data-scr=shop] .sc-pdp .pdp-check-row{padding:5px 0}
}
@media(prefers-reduced-motion:reduce){#twm-app[data-scr=shop] .sc-pdp .pdp-gallery-scroll{scroll-behavior:auto}}


/* Order progress & consolidated history — only after purchase / transfer entry screens */
#twm-app .mx-timeline{border-radius:18px;background:linear-gradient(180deg,#fff,#faf8ff);}
#twm-app .mx-timeline h2{font-size:16px;font-weight:900;color:#071B49;margin:0 0 10px}
#twm-app .mx-timeline ol{padding:0;margin:0;list-style:none;display:grid;gap:10px}
#twm-app .mx-timeline li{display:flex;align-items:flex-start;gap:10px;color:#60708b;line-height:1.3}
#twm-app .mx-timeline li.complete{color:#071B49}
#twm-app .mx-timeline-node{flex:0 0 29px;height:29px;border-radius:50%;display:grid;place-items:center;border:1px solid #d6d4ef;background:#f6f5ff;font-size:11px;font-weight:900}
#twm-app .mx-timeline li.complete .mx-timeline-node{color:#fff;background:#743DFF;border-color:#743DFF}
#twm-app .mx-timeline li span:last-child{display:flex;flex-direction:column;gap:3px}
#twm-app .mx-timeline li b{font-size:13px}
#twm-app .mx-timeline li small{font-size:11px;color:#64718d}
#twm-app .mx-timeline-warning{color:#8c4900;border:1px solid #f2dba8;background:#fffaf0;padding:10px;border-radius:12px;font-size:12px;font-weight:750}
#twm-app .mx-order-tabs{display:flex;gap:6px;overflow-x:auto;padding:2px 0 7px;scrollbar-width:thin}
#twm-app .mx-order-tabs button{flex:none;min-height:42px;border:1px solid #dedcf7;border-radius:14px;background:#fff;color:#071B49;font:850 12px Nunito,sans-serif;padding:8px 12px}
#twm-app .mx-order-tabs button[aria-pressed=true]{background:linear-gradient(110deg,#087BFF,#743DFF,#F414A0,#FF8740);border:0;color:#fff}
#twm-app .mx-order-item{min-width:0}
#twm-app .mx-order-copy{min-width:0;overflow-wrap:anywhere}
#twm-app .mx-order-item[hidden],#twm-app #mx-order-filter-empty[hidden]{display:none!important}
@media(max-width:390px){#twm-app .mx-order-item{gap:7px}#twm-app .mx-order-item .mx-pill{font-size:10px}#twm-app .mx-order-item b{font-size:12px}}

/* 2026-11-07 SKU photo provenance and sellability clarity */
#twm-app[data-scr=shop] .sc-pdp .pdp-img-placeholder{width:100%;min-width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;color:#5D6383;text-align:center;font-size:12px}
#twm-app[data-scr=shop] .sc-pdp .pdp-img-placeholder img{width:min(75%,220px);height:70%;object-fit:contain;opacity:.85}
#twm-app[data-scr=shop] .sc-pdp .pdp-photo-source{font:700 11px/1.45 Nunito,sans-serif;color:#5D6383;margin:3px 0 0}
#twm-app[data-scr=shop] .sc-pdp .pdp-stock-notice{font-size:11.5px;color:#5d6084;font-weight:700}
#twm-app[data-scr=shop] .sc-pdp .pdp-img-load-error{flex:0 0 100%;min-width:100%;height:100%;display:grid;place-items:center;text-align:center;padding:12px;color:#626d85;font-size:12px;background:#f8f7ff}
#twm-app[data-scr=shop] .sc-pdp .pdp-photo-slot .pdp-img-load-error{height:45px;min-width:100%}
#twm-app[data-scr=shop] .sc-pdp .pdp-sale-blocked{border:1px solid #ffc8b3;background:#fff9f5;border-radius:12px;color:#6d4355;padding:12px;font-size:13px;font-weight:800}
#twm-app[data-scr=shop] .sc-pdp .pdp-swatches-static .pdp-swatch-plain{display:inline-flex;align-items:center;gap:5px;cursor:default;min-height:36px}

/* 2026-11-07: Product condition dossier, readable and collapsed by default. */
#twm-app[data-scr=shop] .sc-pdp .pdp-dossier{padding:12px 14px;border-radius:17px}
#twm-app[data-scr=shop] .sc-pdp .pdp-dossier summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:8px;list-style:none;min-height:44px;font:900 13px/1.35 Nunito,sans-serif;color:#071B49}
#twm-app[data-scr=shop] .sc-pdp .pdp-dossier summary::-webkit-details-marker{display:none}
#twm-app[data-scr=shop] .sc-pdp .pdp-dossier summary:focus-visible{outline:3px solid #087BFF;outline-offset:3px;border-radius:7px}
#twm-app[data-scr=shop] .sc-pdp .pdp-dossier summary::after{content:'⌄';font-size:21px;color:#743DFF}
#twm-app[data-scr=shop] .sc-pdp .pdp-dossier[open] summary::after{transform:rotate(180deg)}
#twm-app[data-scr=shop] .sc-pdp .pdp-dossier-amount{font-size:11px;color:#66648c;font-weight:800;white-space:nowrap}
#twm-app[data-scr=shop] .sc-pdp .pdp-dossier-disclaimer{font-size:12px;line-height:1.5;color:#615778;background:#f8f6ff;border:1px solid #ede7ff;padding:10px;border-radius:12px;margin:7px 0}
#twm-app[data-scr=shop] .sc-pdp .pdp-dossier-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;margin:0}
#twm-app[data-scr=shop] .sc-pdp .pdp-dossier-row{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px;min-width:0;padding:8px 0;border-bottom:1px solid #eef0f9;line-height:1.35}
#twm-app[data-scr=shop] .sc-pdp .pdp-dossier-row dt{font-size:11.5px;color:#5d6881}
#twm-app[data-scr=shop] .sc-pdp .pdp-dossier-row dd{font-size:12px;font-weight:800;color:#071B49;margin:0;overflow-wrap:anywhere}
#twm-app[data-scr=shop] .sc-pdp .pdp-dossier-row dd.missing{color:#8d7992;font-weight:650}
#twm-app[data-scr=shop] .sc-pdp .pdp-dossier-photo{font-size:11.5px;line-height:1.5;color:#5b6483;margin:12px 0 8px}
#twm-app[data-scr=shop] .sc-pdp .pdp-dossier-help{display:inline-flex;align-items:center;min-height:44px;color:#6238db;font-size:12px;font-weight:900;text-decoration:underline;text-underline-offset:3px}
@media(max-width:480px){#twm-app[data-scr=shop] .sc-pdp .pdp-dossier-list{grid-template-columns:1fr}#twm-app[data-scr=shop] .sc-pdp .pdp-dossier-amount{font-size:10px}}
/* ==== money/assets/icons3d-v2.css ==== */
/* TW PAY Aurora 3D UI, change icon visual language only, preserve layout and checkout. */
.tw3-icon {display:inline-block;object-fit:contain;flex:none;vertical-align:middle;filter:drop-shadow(0 2px 2px rgba(51,32,120,.10));}
.tw3-nav{width:24px;height:24px;object-fit:contain}
.twm-nav .tw3-nav,.twm-desk-nav .tw3-nav{width:23px;height:23px;max-width:23px;max-height:23px;flex:none}
.tw3-mascot{object-fit:contain;vertical-align:middle;flex:none;max-width:none}
#twm-app[data-scr=shop] .shp-cat .ic img.tw3-cat{height:40px!important;width:40px!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;filter:drop-shadow(0 3px 4px rgba(81,56,166,.13))}
#twm-app[data-scr=shop] .shp-cat[aria-pressed=true] .ic img.tw3-cat{filter:drop-shadow(0 2px 2px rgba(32,17,82,.35))}
.tw3-shop-actions{display:flex;gap:7px;align-items:center}
.tw3-shop-help{width:44px;height:44px;display:grid;place-items:center;border:1px solid #e8e1fc;border-radius:14px;background:#fff;text-decoration:none;box-shadow:0 2px 9px rgba(43,33,93,.08)}
.tw3-shop-help:focus-visible{outline:3px solid #087BFF;outline-offset:2px}
#twm-app[data-scr=shop] .tw3-shop-help .tw3-mascot{height:38px;width:38px}
.tw3-help-main{max-width:850px;margin:0 auto;padding:10px 0 32px;color:#071B49;font-family:Nunito,system-ui,sans-serif}
.tw3-help-hero{display:flex;gap:24px;align-items:center;border-radius:21px;padding:16px 19px;background:linear-gradient(120deg,#eaf4ff,#f3ebff 54%,#ffeaf4);box-shadow:0 5px 24px rgba(61,58,136,.09)}
.tw3-help-hero img{width:124px;height:134px;object-fit:contain;flex:none}
.tw3-help-hero h2{margin:0 0 6px;font-size:21px;line-height:1.2;font-weight:900}
.tw3-help-hero p{font-size:13px;line-height:1.5;color:#455274;margin:0 0 12px}
.tw3-help-hero button{background:linear-gradient(95deg,#087BFF,#743DFF,#F414A0,#FF8740);color:white;border:0;border-radius:13px;min-height:44px;padding:0 16px;font:800 12px Nunito,system-ui,sans-serif;cursor:pointer}
.tw3-help-faq{margin-top:12px;border-radius:18px;background:white;border:1px solid #edebfa;padding:14px 16px}
.tw3-help-faq h2{font-size:16px;margin:0 0 10px;font-weight:900}
.tw3-faq{border-top:1px solid #eceafa;padding:0}
.tw3-faq summary{cursor:pointer;padding:14px 2px;font-size:14px;font-weight:850;min-height:44px;line-height:1.4}
.tw3-faq p{padding:0 3px 13px;margin:0;color:#58637a;font-size:13px;line-height:1.6}
.tw3-help-links{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.tw3-help-links a{border:1px solid #dfd8fb;border-radius:14px;background:white;color:#5632ba;text-decoration:none;padding:11px 14px;min-height:44px;display:inline-flex;align-items:center;font:800 13px Nunito,system-ui,sans-serif}
.tw3-help-note{font-size:11px;line-height:1.5;color:#5c6681;margin:12px 4px}
@media(max-width:580px){
 #twm-app[data-scr=shop] .shp-cat .ic img.tw3-cat{height:30px!important;width:30px!important}
 .tw3-help-hero{gap:10px;padding:12px}
 .tw3-help-hero img{width:92px;height:100px}
 .tw3-help-hero h2{font-size:17px}
 .tw3-help-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .tw3-help-links a{font-size:11.5px;justify-content:center;text-align:center}
}
@media(prefers-reduced-motion:reduce){.tw3-icon,.tw3-mascot{transition:none!important;animation:none!important}}
/* ==== money/assets/catalog-qc-review.css ==== */
/* TW PAY QC — scoped only to product details; no changes to Home/Shop/auth. */
#twm-app[data-scr="product"] .pdp-qc-note, #twm-app .sc-pdp .pdp-qc-note {border:1px solid #d5d6ff;background:#f8f9ff;border-radius:16px;padding:12px 14px;margin:9px 0;color:#071b49;box-shadow:none}
#twm-app .sc-pdp .pdp-qc-note>b{font-size:14px;display:block;margin-bottom:5px}
#twm-app .sc-pdp .pdp-qc-note ul{padding-left:17px;margin:4px 0 0;color:#485672;font-size:13px;line-height:1.45}
#twm-app .sc-pdp .pdp-reference{margin-top:9px;border-top:1px solid #e4e7fa;padding-top:9px}
#twm-app .sc-pdp .pdp-reference summary{cursor:pointer;font-size:13px;font-weight:700;min-height:36px;display:flex;align-items:center;color:#5138c8}
#twm-app .sc-pdp .pdp-reference-media{display:grid;grid-template-columns:110px 1fr;gap:10px;margin:8px 0}
#twm-app .sc-pdp .pdp-reference-media img{width:110px;height:92px;object-fit:contain;background:white;border-radius:10px}
#twm-app .sc-pdp .pdp-reference-media p{font-size:12px;line-height:1.35;margin:4px 0}
#twm-app .sc-pdp .pdp-reference-media a{font-size:12px;text-decoration:underline}
#twm-app .sc-reference-tag, #twm-app .sc .sc-reference-tag{position:absolute;bottom:3px;left:3px;padding:2px 5px;border-radius:5px;background:#f4f2ff;color:#46339a;font-size:10px;font-weight:700;box-shadow:0 1px 3px #0002;white-space:nowrap}
#twm-app .sc .sc-pimg{position:relative}
@media(max-width:430px){#twm-app .sc-pdp .pdp-qc-note{padding:10px 12px}#twm-app .sc-pdp .pdp-reference-media{grid-template-columns:82px 1fr}#twm-app .sc-pdp .pdp-reference-media img{width:82px;height:82px}}

/* TW PAY: clean product photography — no image stickers, disclosure outside the bitmap. */
#twm-app .sc-reference-tag{display:none!important}
#twm-app .sc-ai-disclosure{display:block;font-size:11px;line-height:1.2;color:#55617d;margin:4px 0 1px}
#twm-app .pdp-ai-disclosure{font-size:12px;line-height:1.4;color:#465370;margin:6px 0 2px}
#twm-app .pdp-gallery-img{object-fit:contain}
/* ==== money/assets/responsive-flow-v2.css ==== */
/* TW PAY / responsive-flow-v2.css / 2026-11-07
   Scoped visual refinement for customer task screens. Does NOT target Home, Shop
   landing/catalog, login/signup, payment math, network requests, or state changes.
   The design goal is one PRIMARY TASK visible per viewport, never hiding required
   disclosures, errors, barcode details or terms to force a "no-scroll" claim.
*/
:root{--tw-r2-ink:#071B49;--tw-r2-sub:#51617f;--tw-r2-edge:#e7e9f8;--tw-r2-grad:linear-gradient(100deg,#087BFF 0%,#743DFF 36%,#F414A0 70%,#FF8740 100%)}
#twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"],[data-scr="product"],[data-scr="cart"],[data-scr="checkout"],[data-scr="checkout-review"],[data-scr="kyc"],[data-scr="orders"],[data-scr="account-orders"],[data-scr="order-detail"],[data-scr="help"],[data-scr="faq"],[data-scr="addresses"],[data-scr="track"],[data-scr="installments"]){
  --twm-navy:var(--tw-r2-ink); --twm-line:var(--tw-r2-edge);
  color:var(--tw-r2-ink);min-width:0;overflow-x:clip;
}
#twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"],[data-scr="product"],[data-scr="cart"],[data-scr="checkout"],[data-scr="checkout-review"],[data-scr="kyc"],[data-scr="orders"],[data-scr="account-orders"],[data-scr="order-detail"],[data-scr="help"],[data-scr="faq"],[data-scr="addresses"],[data-scr="track"],[data-scr="installments"]) *{box-sizing:border-box;min-width:0}
#twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"],[data-scr="product"],[data-scr="cart"],[data-scr="checkout"],[data-scr="checkout-review"],[data-scr="kyc"],[data-scr="orders"],[data-scr="account-orders"],[data-scr="order-detail"],[data-scr="help"],[data-scr="faq"],[data-scr="addresses"],[data-scr="track"],[data-scr="installments"]) .twm-main{
  width:100%; max-width:760px; margin-inline:auto;
  padding-inline:clamp(12px,3.2vw,24px);
  padding-top:clamp(6px,1.6vh,14px);
  padding-bottom:calc(var(--twm-nav-h,64px) + var(--twm-cta-h,68px) + 28px + env(safe-area-inset-bottom));
  overflow-wrap:anywhere;
}
#twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"]) :is(.twm-h1,.twm-head h1){font-size:clamp(21px,5.6vw,30px);line-height:1.18;letter-spacing:-.5px}
#twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"]) .twm-head{margin-top:3px;margin-bottom:9px}
#twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"]) .twm-card{
  padding:clamp(12px,2.8vw,17px); margin-bottom:10px;
  border-radius:19px;border:1px solid var(--tw-r2-edge);
  background:#fff;box-shadow:0 4px 16px rgba(29,35,96,.065);
}
#twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"]) :is(.twm-card h2,.twm-lbl){font-weight:850;color:var(--tw-r2-ink)}
#twm-app:is([data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s06"],[data-scr="s09"],[data-scr="s14"],[data-scr="checkout"],[data-scr="checkout-review"],[data-scr="kyc"]) :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){max-width:100%;font-size:16px;min-height:44px}
#twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"],[data-scr="product"],[data-scr="cart"],[data-scr="checkout"],[data-scr="checkout-review"],[data-scr="kyc"],[data-scr="orders"],[data-scr="account-orders"],[data-scr="order-detail"],[data-scr="help"],[data-scr="faq"]) :is(a,button,summary,select,input){touch-action:manipulation}
#twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"],[data-scr="product"],[data-scr="cart"],[data-scr="checkout"],[data-scr="checkout-review"],[data-scr="kyc"],[data-scr="orders"],[data-scr="account-orders"],[data-scr="order-detail"],[data-scr="help"],[data-scr="faq"]) :is(a,button,summary):focus-visible{outline:3px solid #743DFF;outline-offset:3px}
/* Correct flex shrinking for amount / price labels on all phone widths. */
#twm-app:is([data-scr="s01"],[data-scr="s06"],[data-scr="s09"]) .twm-recv{max-width:100%;padding:clamp(10px,2.2vw,16px);border-radius:18px;gap:10px}
#twm-app:is([data-scr="s01"],[data-scr="s06"],[data-scr="s09"]) .twm-recv .v{font-size:clamp(21px,5.8vw,29px);line-height:1.18;overflow-wrap:anywhere}
#twm-app:is([data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s06"],[data-scr="s09"]) .twm-steps{margin-bottom:9px}
#twm-app:is([data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s06"],[data-scr="s09"]) .twm-steps li{font-size:clamp(11px,2.8vw,13px)}
#twm-app:is([data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s06"],[data-scr="s09"]) .twm-steps .dot{width:28px;height:28px}
#twm-app:is([data-scr="s01"],[data-scr="s06"]) .twm-chips{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
#twm-app:is([data-scr="s01"],[data-scr="s06"]) .twm-chip{min-height:43px;padding:7px 2px;font-size:clamp(12px,3.6vw,15px);white-space:nowrap}
#twm-app:is([data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s06"],[data-scr="s09"]) .twm-row{gap:10px;padding:8px 0;font-size:14px}
#twm-app:is([data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s06"],[data-scr="s09"]) .twm-row dd{white-space:normal;overflow-wrap:anywhere;min-width:0}
/* Barcode readability is non-negotiable: never shrink or crop the 3 Code39 SVGs. */
#twm-app[data-scr="s05"] .s45-bcs{display:grid;gap:9px;max-width:100%}
#twm-app[data-scr="s05"] .s45-bc{max-width:100%;padding:8px;border-radius:15px;background:#fff;overflow-x:auto;overflow-y:visible}
#twm-app[data-scr="s05"] .s45-bc .sv svg.c39{width:100%;height:72px;min-height:72px;max-width:none;filter:none;background:#fff}
#twm-app[data-scr="s05"] .twm-nav{display:none} /* S05 retains header back action and primary CTA. */
#twm-app[data-scr="s05"] .twm-cta{bottom:env(safe-area-inset-bottom)}
#twm-app[data-scr="s05"] .twm-main{padding-bottom:calc(78px + env(safe-area-inset-bottom))}
/* Orders/help: make cards navigable, not dense miniature text. */
#twm-app:is([data-scr="orders"],[data-scr="account-orders"],[data-scr="order-detail"]) .twm-row{gap:10px;padding-block:10px;line-height:1.4}
#twm-app:is([data-scr="orders"],[data-scr="account-orders"],[data-scr="order-detail"]) :is(.twm-row dd,.twm-row dt){overflow-wrap:anywhere}
#twm-app:is([data-scr="help"],[data-scr="faq"]) .mx-content{max-width:760px;gap:10px}
#twm-app:is([data-scr="help"],[data-scr="faq"]) .mx-content .mx-card{padding:clamp(12px,2.7vw,18px)}
#twm-app:is([data-scr="help"],[data-scr="faq"]) .mx-link{min-height:46px}
/* Existing PDP already provides a 4-image gallery + expandable inspection dossier.
   Keep those details accessible in place of creating fragile duplicate business routes. */
#twm-app[data-scr="product"] :is(.mx-content,.sc-pdp){max-width:100%;min-width:0}
#twm-app[data-scr="product"] .pdp-gallery-scroll{max-width:100%;scroll-snap-type:x mandatory}
#twm-app[data-scr="product"] .pdp-gallery-img{scroll-snap-align:center}
#twm-app[data-scr="product"] .pdp-photo-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
#twm-app[data-scr="product"] :is(.pdp-dossier summary,.pdp-more summary){min-height:44px}
#twm-app[data-scr="product"] :is(.pdp-dossier,.pdp-condition,.pdp-swatches-section){max-width:100%}
/* Panels with more details can scroll naturally; no hidden disclosures. */
#twm-app:is([data-scr="product"],[data-scr="cart"],[data-scr="checkout"],[data-scr="checkout-review"],[data-scr="kyc"],[data-scr="order-detail"]) :is(.mx-content,.mx-card,form,details,article){overflow-wrap:anywhere}
#twm-app:is([data-scr="product"],[data-scr="cart"],[data-scr="checkout"],[data-scr="checkout-review"],[data-scr="kyc"]) .mx-content{width:100%;max-width:780px;gap:12px}
#twm-app:is([data-scr="product"],[data-scr="cart"],[data-scr="checkout"],[data-scr="checkout-review"],[data-scr="kyc"]) .mx-content .mx-card{padding:clamp(13px,3vw,22px)}
/* Respect safe-area with persistent checkout CTA, allow form content to scroll. */
#twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"]) .twm-cta{padding:8px clamp(12px,4vw,22px);background:rgba(248,247,255,.96);backdrop-filter:blur(10px)}
#twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"]) .twm-cta :is(button,a.twm-btn){min-height:48px}
/* 320–359px: single field stays readable, no horizontal overflow. */
@media(max-width:359px){
 #twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"]) .twm-main{padding-inline:9px}
 #twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"]) .twm-card{padding:11px}
 #twm-app:is([data-scr="s01"],[data-scr="s06"]) .twm-chips{gap:4px}
 #twm-app:is([data-scr="s01"],[data-scr="s06"]) .twm-chip{font-size:11.5px;min-height:44px}
 #twm-app[data-scr="s03"] .s3-tile img{max-width:100%;height:auto}
}
/* Compact-height phones. DO NOT clamp mandatory text, terms, or barcode height. */
@media(max-width:600px) and (max-height:740px){
 #twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"]) .twm-head{margin-block:1px 5px}
 #twm-app:is([data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s06"],[data-scr="s09"]) .twm-steps{margin-block:0 6px}
 #twm-app:is([data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s06"],[data-scr="s09"]) .twm-steps li{font-size:11px}
 #twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"]) .twm-card{margin-bottom:7px}
 #twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"]) .twm-cta{padding-block:6px}
}
/* Tablet portrait and foldable devices: use the available width without stretching text. */
@media(min-width:601px) and (max-width:1023px){
 #twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"],[data-scr="product"],[data-scr="cart"],[data-scr="checkout"],[data-scr="checkout-review"],[data-scr="kyc"],[data-scr="orders"],[data-scr="account-orders"],[data-scr="order-detail"],[data-scr="help"],[data-scr="faq"]) .twm-main{max-width:820px;padding-inline:clamp(20px,4vw,34px)}
 #twm-app:is([data-scr="product"],[data-scr="cart"],[data-scr="checkout"],[data-scr="checkout-review"]) .mx-content{max-width:760px}
 #twm-app:is([data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s06"],[data-scr="s09"]) .twm-row{padding:9px 0}
}
/* Desktop: left task column, right summary column; never a stretched 1,500px form. */
@media(min-width:1024px){
 #twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"],[data-scr="product"],[data-scr="cart"],[data-scr="checkout"],[data-scr="checkout-review"],[data-scr="kyc"],[data-scr="orders"],[data-scr="account-orders"],[data-scr="order-detail"],[data-scr="help"],[data-scr="faq"],[data-scr="addresses"],[data-scr="track"],[data-scr="installments"]) .twm-main{max-width:1160px;grid-template-columns:minmax(0,1fr) minmax(320px,385px);column-gap:clamp(16px,2.6vw,30px);padding:16px clamp(20px,3vw,36px) 55px}
 #twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"],[data-scr="product"],[data-scr="cart"],[data-scr="checkout"],[data-scr="checkout-review"],[data-scr="kyc"],[data-scr="orders"],[data-scr="account-orders"],[data-scr="order-detail"],[data-scr="help"],[data-scr="faq"],[data-scr="addresses"],[data-scr="track"],[data-scr="installments"]) .twm-main.one{grid-template-columns:minmax(0,1fr);max-width:1080px}
 #twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"]) .twm-col-side{position:sticky;top:80px;min-width:0}
 #twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"]) .twm-cta{position:static;padding:8px 0;background:transparent;box-shadow:none;backdrop-filter:none}
 #twm-app:is([data-scr="product"],[data-scr="cart"],[data-scr="checkout"],[data-scr="checkout-review"],[data-scr="kyc"]) .mx-content{max-width:980px;margin-inline:auto}
 #twm-app:is([data-scr="s01"],[data-scr="s06"]) .twm-recv .v{font-size:30px}
 #twm-app[data-scr="s05"] .s45-bcs{gap:14px}
}
/* Wide desktop: content centered instead of huge whitespace or 4-column form. */
@media(min-width:1600px){
 #twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"],[data-scr="product"],[data-scr="cart"],[data-scr="checkout"],[data-scr="checkout-review"],[data-scr="kyc"],[data-scr="orders"],[data-scr="account-orders"],[data-scr="order-detail"],[data-scr="help"],[data-scr="faq"]) .twm-main{max-width:1200px}
}
@media(prefers-reduced-motion:reduce){
 #twm-app:is([data-scr="s00"],[data-scr="s01"],[data-scr="s02"],[data-scr="s03"],[data-scr="s04"],[data-scr="s05"],[data-scr="s06"],[data-scr="s07"],[data-scr="s08"],[data-scr="s09"],[data-scr="s14"]) :is(.twm-flow,.twm-card,button,a){animation:none!important;transition:none!important}
}
/* Five order filters fit on small phones without an off-screen last tab. */
@media(max-width:600px){
 #twm-app[data-scr="account-orders"] .mx-order-tabs{display:flex;flex-wrap:wrap;overflow-x:visible;gap:6px;padding-block:2px 9px}
 #twm-app[data-scr="account-orders"] .mx-order-tabs button{min-height:44px;padding:8px clamp(8px,2.7vw,12px);font-size:12px;flex:0 1 auto}
}
/* S05 has three actions (zoom, refresh, orders). Avoid squeezing them off-screen.
   The third barcode remains scrollable on short phones; never reduce Code39 height. */
@media(max-width:600px){
 #twm-app[data-scr="s05"] .twm-cta-in{display:grid;grid-template-columns:minmax(0,1fr);gap:5px}
 #twm-app[data-scr="s05"] .twm-cta-in .s5-cta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%}
 #twm-app[data-scr="s05"] .twm-cta-in .s5-cta .twm-btn{font-size:clamp(12px,3.5vw,15px);min-height:44px;padding:6px 5px;white-space:normal;text-align:center}
 #twm-app[data-scr="s05"] .twm-cta-in > a.twm-btn{font-size:13px;min-height:41px;width:100%;border-radius:12px}
 #twm-app[data-scr="s05"] .twm-main{padding-bottom:calc(115px + env(safe-area-inset-bottom))}
}
/* S05 desktop/tablet: show the three full-size barcodes alongside the order
   summary rather than forcing customers through a tall phone-width column. */
@media(min-width:820px){
 #twm-app[data-scr="s05"] .twm-main{grid-template-columns:minmax(0,1fr)!important;max-width:1160px}
 #twm-app[data-scr="s05"] .twm-col-main.s05x{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(380px,1.15fr);grid-template-rows:repeat(5,min-content);align-items:start;gap:10px 22px;max-width:100%}
 #twm-app[data-scr="s05"] .s05x > .twm-head{grid-column:1/-1;grid-row:1}
 #twm-app[data-scr="s05"] .s05x > .s45-sum{grid-column:1;grid-row:2}
 #twm-app[data-scr="s05"] .s05x > #s5-br{grid-column:1;grid-row:3}
 #twm-app[data-scr="s05"] .s05x > .s45-bcs{grid-column:2;grid-row:2/6}
 #twm-app[data-scr="s05"] .s05x > .s45-hint{grid-column:1;grid-row:4}
 #twm-app[data-scr="s05"] .s05x > .twm-cta{grid-column:1;grid-row:5;position:static;padding:0;background:transparent;box-shadow:none;backdrop-filter:none;width:100%;margin-top:4px}
 #twm-app[data-scr="s05"] .twm-cta-in{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;width:100%}
 #twm-app[data-scr="s05"] .twm-cta-in .s5-cta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 #twm-app[data-scr="s05"] .twm-cta-in .s5-cta .twm-btn{min-height:44px;font-size:clamp(12px,1.2vw,14px);padding:6px;text-align:center}
 #twm-app[data-scr="s05"] .twm-cta-in > a.twm-btn{min-height:42px;font-size:14px}
 #twm-app[data-scr="s05"] .s45-bc .sv svg.c39{min-height:72px;height:72px}
}
/* ==== money/assets/no-scroll-steps-v3.css ==== */
/* TW PAY : paged viewport layouts, original content retained, 2026-11-07 */
#twm-app.ns-v3{
 --ns-ink:#071B49;--ns-edge:#e7eafa;--ns-accent:#743DFF;
 --ns-grad:linear-gradient(104deg,#087BFF,#743DFF 36%,#F414A0 70%,#FF8740);
 min-width:0;color:var(--ns-ink);height:100dvh;min-height:0;
}
body:has(#twm-app.ns-v3),html:has(#twm-app.ns-v3){height:100dvh;overflow:hidden!important;overscroll-behavior:none}
#twm-app.ns-v3 .twm-main{
 box-sizing:border-box!important;height:calc(100dvh - var(--ns-v3-top,65px) - var(--ns-v3-nav,64px) - 62px)!important;
 max-height:calc(100dvh - var(--ns-v3-top,65px) - var(--ns-v3-nav,64px) - 62px)!important;
 overflow:hidden!important;overflow-wrap:anywhere!important;
 padding:6px clamp(10px,3vw,24px) 3px!important;
 margin:0 auto!important;align-content:start;gap:10px!important;
}
#twm-app.ns-v3 .twm-main.one{width:100%;max-width:960px}
#twm-app.ns-v3 .twm-main:not(.one){max-width:1120px}
#twm-app.ns-v3 :is(.twm-card,.mx-card,.sc-card,.twm-ticket){box-shadow:0 4px 14px rgba(33,40,99,.05);border-radius:17px}
#twm-app.ns-v3 :is(input,textarea,select){font-size:max(16px,1em)}
#twm-app.ns-v3 :is(button,.twm-btn){min-height:44px}
#twm-app.ns-v3 .twm-head{margin-bottom:5px!important;margin-top:0!important}
#twm-app.ns-v3 .twm-h1{font-size:clamp(18px,2.6vw,22px);line-height:1.2}
#twm-app.ns-v3 :is(.twm-steps,.twm-dir,.twm-sub){margin-bottom:5px!important}
#twm-app.ns-v3 [hidden]{display:none!important}
#twm-app.ns-v3 .ns-text-segment{display:block;margin-bottom:8px}
#twm-app.ns-v3 .twm-cta.ns-v3-cta{position:static!important;inset:auto!important;background:transparent!important;box-shadow:none!important;padding:0!important;margin:0!important;width:auto!important;max-width:100%;backdrop-filter:none!important}
#twm-app.ns-v3 .twm-cta.ns-v3-cta .twm-cta-in{display:flex;gap:6px;width:100%;max-width:none}
#twm-app.ns-v3 .twm-cta.ns-v3-cta .twm-cta-in :is(button,a){width:100%;min-height:44px}
#twm-app.ns-v3 .ns-v3-pager{
 position:fixed;z-index:21;left:0;right:0;
 bottom:calc(var(--ns-v3-nav,64px) + env(safe-area-inset-bottom,0px));
 min-height:56px;max-height:62px;background:rgba(250,249,255,.98);
 border-top:1px solid #e7eafa;display:flex;align-items:center;justify-content:center;
 gap:8px;padding:5px 12px 5px;box-sizing:border-box;
 box-shadow:0 -4px 18px rgba(25,25,90,.07);
}
#twm-app.ns-v3 .ns-v3-pager button{border:1px solid #d8d9f5;border-radius:13px;padding:8px 14px;background:#fff;color:#071B49;font:800 14px/1.1 Nunito,system-ui;min-height:44px;cursor:pointer;max-width:42vw;white-space:nowrap}
#twm-app.ns-v3 .ns-v3-pager button.ns-next{color:#fff;border:0;background:var(--ns-grad)}
#twm-app.ns-v3 .ns-v3-pager button:disabled{opacity:.4;cursor:default}
#twm-app.ns-v3 .ns-v3-pager .ns-count{flex:0 0 auto;color:#5b617f;font:800 12px/1.2 Nunito,system-ui}
#twm-app.ns-v3 .ns-v3-pager .ns-v3-original-cta{display:none;flex:1;max-width:540px;min-width:0}
#twm-app.ns-v3 .ns-v3-pager:has(.ns-next[hidden]) .ns-v3-original-cta:has(.twm-cta:not([hidden])){display:block}
#twm-app.ns-v3 .ns-v3-pager:has(.ns-next[hidden]) .ns-count{display:none}
#twm-app.ns-v3 .ns-v3-pager:has(.ns-next[hidden]) .ns-prev{flex:0 0 auto}
#twm-app.ns-v3 .s45-bc svg.c39{min-height:72px!important;height:72px!important;width:100%!important}
@media(max-width:600px){
 #twm-app.ns-v3 .twm-main{display:block!important;padding:4px 10px 0!important}
 #twm-app.ns-v3 .twm-main>*{width:100%;min-width:0}
 #twm-app.ns-v3 :is(.twm-col-main,.twm-col-side,.rx-wrap,.cf-wrap,.mx-content){width:100%;max-width:100%!important;min-width:0}
 #twm-app.ns-v3 :is(.twm-card,.sc-card,.mx-card){padding:10px 12px;margin-bottom:6px}
 #twm-app.ns-v3 .twm-steps{transform:none!important}
 #twm-app.ns-v3 .sc-pdp .pdp-gallery-scroll{height:150px;min-height:0}
 #twm-app.ns-v3 .sc-pdp .sc-hero{padding:8px}
 #twm-app.ns-v3 .twm-hero-ill{width:96px;height:96px;margin:2px auto}
 #twm-app.ns-v3 .s45-bcs{gap:6px}
 #twm-app.ns-v3 .s45-bc{padding:6px}
 #twm-app.ns-v3 .ns-v3-pager{gap:6px;padding-inline:8px}
 #twm-app.ns-v3 .ns-v3-pager button{font-size:12.5px;padding:6px 10px}
}
@media(min-width:601px){
 #twm-app.ns-v3 .twm-main{max-width:1024px!important}
 #twm-app.ns-v3 .twm-main:has(>.twm-col-main){display:grid!important;grid-template-columns:minmax(0,1fr) minmax(250px,330px);align-items:start}
 #twm-app.ns-v3 .twm-main.one{display:block!important}
 #twm-app.ns-v3 .twm-col-side{position:static!important}
 #twm-app.ns-v3 .sc-pdp{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 #twm-app.ns-v3 .sc-pdp > *{min-width:0}
 #twm-app.ns-v3 .sc-pdp .sc-hero{grid-row:span 2}
 #twm-app.ns-v3 .sc-pdp .pdp-gallery-scroll{height:clamp(160px,26vh,280px)}
}
@media(max-height:710px){#twm-app.ns-v3 .twm-head{margin-bottom:3px!important}#twm-app.ns-v3 :is(.twm-card,.sc-card,.mx-card){margin-block:0 5px}}
@media(prefers-reduced-motion:reduce){#twm-app.ns-v3 *{scroll-behavior:auto;animation:none}}
/* No orphaned card shells when their substantive content moves to another part. */
#twm-app.ns-v3 [data-ns-empty="1"]{display:none!important}
#twm-app.ns-v3 .twm-cta.ns-v3-cta{display:block!important;max-width:100%;position:static!important;transform:none!important}
#twm-app.ns-v3 .twm-cta.ns-v3-cta .twm-cta-in{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:7px!important;width:100%!important}
#twm-app.ns-v3 .twm-cta.ns-v3-cta .s5-cta{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
#twm-app.ns-v3 .twm-cta.ns-v3-cta :is(a,button){min-height:44px!important;width:100%!important;white-space:normal!important}
#twm-app.ns-v3 .ns-v3-pager:has(.ns-next[hidden]){justify-content:center}
#twm-app.ns-v3 .ns-v3-pager:has(.ns-next[hidden]) .ns-count{display:block}
#twm-app.ns-v3 .sc-pdp .sc-hero{height:auto!important;min-height:0!important;align-self:start}
#twm-app.ns-v3 .sc-pdp .sc-stage{height:auto!important;min-height:0!important;align-self:start}
#twm-app.ns-v3 .sc-pdp :is(.pdp-gallery-scroll,.pdp-stage){height:clamp(110px,22dvh,205px)!important;min-height:0!important}
#twm-app.ns-v3 .sc-pdp .sc-hero-bag{height:56px!important;max-height:56px}

@media(max-height:710px){#twm-app.ns-v3 .ns-v3-pager{padding-block:4px}#twm-app.ns-v3 .twm-main{gap:6px!important}}
/* V3 product-detail correction: never compress image to 0px or overlay disclosure on title. */
@media(max-width:600px){
 #twm-app[data-scr="product"].ns-v3 .sc-pdp .sc-hero{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:5px!important;padding:8px 10px!important;min-height:0!important;height:auto!important}
 #twm-app[data-scr="product"].ns-v3 .sc-pdp .sc-hero-tx{width:100%!important;max-width:none!important;min-height:0!important;flex:0 0 auto!important;padding:0!important;margin:0!important;gap:3px!important}
 #twm-app[data-scr="product"].ns-v3 .sc-pdp .sc-hero-tx h2{font-size:17px!important;line-height:1.2!important;margin:0!important}
 #twm-app[data-scr="product"].ns-v3 .sc-pdp .sc-hero-bag{display:none!important}
 #twm-app[data-scr="product"].ns-v3 .sc-pdp .pdp-stage{height:auto!important;max-height:none!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important;overflow:visible!important}
 #twm-app[data-scr="product"].ns-v3 .sc-pdp .pdp-gallery-scroll{height:clamp(105px,18dvh,145px)!important;min-height:105px!important;max-height:145px!important;flex:0 0 auto!important;overflow-x:auto!important;overflow-y:hidden!important}
 #twm-app[data-scr="product"].ns-v3 .sc-pdp .pdp-photo-grid{height:40px!important;min-height:40px!important;max-height:40px!important;overflow:hidden!important}
 #twm-app[data-scr="product"].ns-v3 .sc-pdp :is(.pdp-ai-disclosure,.pdp-photo-note,.pdp-photo-source){font-size:12px!important;line-height:1.3!important;margin:3px 0!important}
}

/* Photorealistic AI family reference: image unadorned, attribution placed below. */
@media(max-width:600px){
 #twm-app[data-scr="product"].ns-v3 .sc-pdp .ai-reference .pdp-gallery-scroll{height:185px!important;min-height:185px!important;max-height:185px!important;border:0!important;background:#f5f5f4!important;overflow:hidden!important}
 #twm-app[data-scr="product"].ns-v3 .sc-pdp .ai-reference .pdp-gallery-img{width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;object-fit:contain!important;flex:0 0 100%!important}
 #twm-app[data-scr="product"].ns-v3 .sc-pdp .ai-reference .pdp-photo-grid{display:none!important}
 #twm-app[data-scr="product"].ns-v3 .sc-pdp .ai-reference .pdp-photo-note{display:none!important}
 #twm-app[data-scr="product"].ns-v3 .sc-pdp .sc-hero::after{display:none!important}
}
@media(max-width:600px){
 #twm-app[data-scr="product"].ns-v3 .sc-pdp .sc-hero{background:linear-gradient(160deg,#f1f5ff,#ffffff)!important;overflow:visible!important}
 #twm-app[data-scr="product"].ns-v3 .sc-pdp .sc-hero::before,
 #twm-app[data-scr="product"].ns-v3 .sc-pdp .sc-hero::after,
 #twm-app[data-scr="product"].ns-v3 .sc-pdp .pdp-stage::before,
 #twm-app[data-scr="product"].ns-v3 .sc-pdp .pdp-stage::after{content:none!important;display:none!important}
 #twm-app[data-scr="product"].ns-v3 .sc-pdp .ai-reference .pdp-ai-disclosure{position:relative!important;z-index:3!important;display:block!important;margin:8px 0 4px!important;padding:4px 0!important;color:#516081!important}
}
/* Critical: pagination hidden sections must win over decorative responsive display rules. */
#twm-app[data-scr="product"].ns-v3 .sc-pdp [hidden],
#twm-app[data-scr="product"].ns-v3 .sc-pdp[hidden],
#twm-app[data-scr="product"].ns-v3 .sc-hero[hidden],
#twm-app[data-scr="product"].ns-v3 .pdp-stage[hidden]{display:none!important}
@media(max-width:420px) and (max-height:710px){
 #twm-app[data-scr="s08"].ns-v3 .twm-card{padding-block:7px!important;margin-bottom:3px!important}
 #twm-app[data-scr="s08"].ns-v3 .twm-cta.ns-v3-cta .twm-cta-in{gap:3px!important}
}
/* ==== money/assets/s11b-product.css ==== */
/* S11-B | Owner's approved product-detail composition, scoped ONLY to #/product.
   Content is grouped into adjacent pages, not silently clipped. Home/Shop unaffected. */
:root{--s11b-grad:linear-gradient(107deg,#087BFF,#743DFF 37%,#F414A0 73%,#FF8740)}
html:has(#twm-app[data-scr="product"] .s11b-ready),body:has(#twm-app[data-scr="product"] .s11b-ready){height:100%;overflow-y:auto!important}
#twm-app[data-scr="product"]{min-height:100vh;overflow-y:auto!important}
#twm-app[data-scr="product"]>.twm-main{width:100%!important;max-width:1120px!important;height:calc(100dvh - 64px - 64px - env(safe-area-inset-bottom));max-height:calc(100dvh - 64px - 64px - env(safe-area-inset-bottom));box-sizing:border-box;padding:6px 12px 6px!important;overflow:hidden!important;display:flex!important;flex-direction:column;gap:4px;margin:0 auto}
#twm-app[data-scr="product"]>.twm-main .twm-head{flex:0 0 auto;margin:0 0 4px!important;gap:9px}
#twm-app[data-scr="product"]>.twm-main .twm-head h1{font-size:clamp(18px,3.2vw,22px);line-height:1.1}
#twm-app[data-scr="product"]>.twm-main .mx-content{display:flex;flex:1;min-height:0;max-width:none!important;width:100%;gap:0;overflow:hidden;align-items:stretch}
#twm-app[data-scr="product"] .s11b-ready{display:flex!important;flex:1;min-height:0;min-width:0;gap:0;width:100%;max-width:none}
#twm-app[data-scr="product"] .s11b-shell{display:flex;flex:1;flex-direction:column;min-height:0;gap:4px;width:100%;max-width:100%}
#twm-app[data-scr="product"] .s11b-pages{min-height:0;flex:1;display:flex;flex-direction:column}
#twm-app[data-scr="product"] .s11b-page{height:100%;min-height:0;min-width:0}
#twm-app[data-scr="product"] .s11b-page[hidden]{display:none!important}
#twm-app[data-scr="product"] .s11b-overview{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(9px,2vw,24px);height:100%;align-items:stretch}
#twm-app[data-scr="product"] .s11b-gallery,#twm-app[data-scr="product"] .s11b-summary{position:relative;min-width:0;min-height:0;border:1px solid #e9e4fa;border-radius:22px;background:linear-gradient(155deg,#f5f2ff,#eef5ff 55%,#fffafb);box-shadow:0 5px 18px rgba(47,38,117,.08);overflow:hidden}
#twm-app[data-scr="product"] .s11b-gallery{display:flex;align-items:stretch;justify-content:center;padding:14px 14px 10px}
#twm-app[data-scr="product"] .s11b-gallery .pdp-stage{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:0;min-width:0;width:100%;height:100%;padding:0!important;overflow:visible}
#twm-app[data-scr="product"] .s11b-gallery .pdp-stage::after{display:none!important}
#twm-app[data-scr="product"] .s11b-gallery .pdp-gallery-scroll{display:flex;flex:1;min-height:0;height:100%;width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;border:0;background:transparent;box-shadow:none;border-radius:16px;align-items:center}
#twm-app[data-scr="product"] .s11b-gallery .pdp-gallery-scroll::-webkit-scrollbar{display:none}
#twm-app[data-scr="product"] .s11b-gallery .pdp-gallery-img{display:block;flex:0 0 100%;max-width:100%;min-width:100%;width:100%;height:100%;max-height:100%;object-fit:contain;mix-blend-mode:normal;filter:drop-shadow(0 8px 12px rgba(30,20,50,.09));scroll-snap-align:center;padding:4px}
#twm-app[data-scr="product"] .s11b-gallery .pdp-img-placeholder{min-width:100%;display:grid;place-items:center;text-align:center;color:#56627c;font-size:13px}
#twm-app[data-scr="product"] .s11b-gallery .pdp-photo-grid{flex:0 0 auto;height:64px;min-height:0;width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
#twm-app[data-scr="product"] .s11b-gallery .pdp-photo-slot{height:64px;min-height:0;min-width:0;border:1px solid #e6e1f9;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:3px;background:rgba(255,255,255,.95);overflow:hidden;box-shadow:0 3px 8px rgba(80,60,150,.06);font:800 10px/1.1 Nunito,system-ui;color:#52627d}
#twm-app[data-scr="product"] .s11b-gallery .pdp-photo-slot.active{border-color:#743DFF;box-shadow:0 0 0 2px rgba(116,61,255,.12)}
#twm-app[data-scr="product"] .s11b-gallery .pdp-photo-slot img{height:40px;width:100%;object-fit:contain}
#twm-app[data-scr="product"] .s11b-gallery .pdp-photo-slot.missing{border-style:dashed;background:#f9f9ff}
#twm-app[data-scr="product"] .s11b-gallery .pdp-photo-pending{height:34px;display:grid;place-items:center;font-size:18px}
#twm-app[data-scr="product"] .s11b-gallery .pdp-photo-slot span{white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
#twm-app[data-scr="product"] .s11b-gallery .pdp-photo-note,#twm-app[data-scr="product"] .s11b-gallery .pdp-photo-source{display:none!important}
#twm-app[data-scr="product"] .s11b-image-arrows{position:absolute;left:12px;right:12px;top:40%;display:flex;justify-content:space-between;pointer-events:none}
#twm-app[data-scr="product"] .s11b-image-arrows button{pointer-events:auto;width:44px;height:44px;border:1px solid #e8e2fb;border-radius:50%;background:rgba(255,255,255,.93);color:#743DFF;display:grid;place-items:center;font:900 26px Nunito,system-ui;box-shadow:0 4px 12px rgba(60,30,96,.12)}
#twm-app[data-scr="product"] .s11b-summary{display:flex;flex-direction:column;gap:8px;background:linear-gradient(175deg,#fff,#fff 73%,#faf5ff);padding:clamp(12px,2vw,24px)}
#twm-app[data-scr="product"] .s11b-summary .sc-info{border:0;background:none;box-shadow:none;padding:0!important;display:flex;flex-direction:column;gap:2px}
#twm-app[data-scr="product"] .s11b-summary .sc-info-top{display:flex;flex-direction:column-reverse;align-items:flex-start;gap:2px}
#twm-app[data-scr="product"] .s11b-summary .sc-info-top>div{gap:2px}
#twm-app[data-scr="product"] .s11b-summary .sc-info-name{font-size:clamp(18px,2.5vw,26px);font-weight:900;line-height:1.18;color:#071B49}
#twm-app[data-scr="product"] .s11b-summary .sc-info-brand{font-weight:800;font-size:12px;color:#7a3af0;background:#f5ebff;border:0;border-radius:100px;padding:6px 12px}
#twm-app[data-scr="product"] .s11b-summary .sc-price-lg{font-size:clamp(24px,3vw,34px);font-weight:950;color:#7a2ee7;margin:0;line-height:1.2}
#twm-app[data-scr="product"] .s11b-summary .sc-pill{display:none}
#twm-app[data-scr="product"] .s11b-summary .pdp-stock-notice{margin:0;color:#67738a;font-size:12px;line-height:1.3}
#twm-app[data-scr="product"] .s11b-summary .sc-cond{color:#5a657d;font-size:13px;line-height:1.3;margin:0}
#twm-app[data-scr="product"] .s11b-summary .s11b-colours{padding:0;border:0;background:none;box-shadow:none;margin:0}
#twm-app[data-scr="product"] .s11b-summary .s11b-colours .pdp-swatches-title,#twm-app[data-scr="product"] .s11b-section-label{display:block;font:850 13px Nunito,system-ui;color:#071B49;margin:0 0 4px}
#twm-app[data-scr="product"] .s11b-summary .s11b-colours .pdp-swatches-row{display:flex;gap:7px;align-items:center;flex-wrap:nowrap;overflow:hidden}
#twm-app[data-scr="product"] .s11b-summary .s11b-colours .pdp-swatch{padding:0;display:flex;align-items:center;gap:4px;min-width:0;max-width:90px;white-space:nowrap;font-size:11px}
#twm-app[data-scr="product"] .s11b-summary .s11b-colours .pdp-swatch:nth-child(n+5){display:none}
#twm-app[data-scr="product"] .s11b-summary .s11b-colours .pdp-swatch i{width:27px;height:27px;flex:0 0 27px;border-radius:50%;border:1.5px solid #bdb4d3}
#twm-app[data-scr="product"] .s11b-summary .s11b-colours .pdp-sw-note{display:none}
#twm-app[data-scr="product"] .s11b-capacity{min-height:0}
#twm-app[data-scr="product"] .s11b-capacity-current{display:inline-flex;padding:6px 14px;background:linear-gradient(125deg,#f8f0ff,#eeeaff);border:1.5px solid #c5b4ff;color:#5530b1;border-radius:12px;font-weight:900;font-size:13px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
#twm-app[data-scr="product"] .s11b-detail-link{border:0;background:#f3edff;color:#5d36cd;min-height:44px;border-radius:13px;padding:8px 11px;font:850 13px Nunito,system-ui;display:flex;align-items:center;justify-content:space-between;gap:4px;width:100%;text-align:left;margin-top:auto}
#twm-app[data-scr="product"] .s11b-detail-link span{font-size:26px;line-height:1}
#twm-app[data-scr="product"] .s11b-footer{flex:0 0 auto;display:flex;flex-direction:column;gap:5px;background:transparent;padding:0;margin:0}
#twm-app[data-scr="product"] .s11b-pager{display:grid;grid-template-columns:minmax(78px,1fr) auto minmax(90px,1fr);align-items:center;gap:7px}
#twm-app[data-scr="product"] .s11b-pager button{height:42px;min-height:42px;max-height:42px;border-radius:12px;border:1px solid #e2dafd;background:#fff;color:#071B49;font:850 13px Nunito,system-ui;cursor:pointer;white-space:nowrap}
#twm-app[data-scr="product"] .s11b-pager button:disabled{opacity:.42;cursor:default}
#twm-app[data-scr="product"] .s11b-pager button.s11b-next{border:0;background:#eee8ff;color:#6134da}
#twm-app[data-scr="product"] .s11b-count{font:900 13px Nunito,system-ui;color:#756a95;white-space:nowrap}
#twm-app[data-scr="product"] .s11b-sale{display:grid;grid-template-columns:1fr 1.1fr;gap:8px;min-height:0}
#twm-app[data-scr="product"] .s11b-sale:empty{display:none}
#twm-app[data-scr="product"] .s11b-sale:has(> :only-child){grid-template-columns:1fr}
#twm-app[data-scr="product"] .s11b-sale :is(.sc-btn,.sc-linkc){display:flex;align-items:center;justify-content:center;text-align:center;gap:6px;margin:0;padding:6px 9px!important;width:100%;min-width:0;min-height:48px;height:48px;border-radius:15px;font:900 clamp(12px,2.2vw,16px)/1.1 Nunito,system-ui;white-space:normal}
#twm-app[data-scr="product"] .s11b-sale #mx-add{order:0;background:#fff6ff;border:1.5px solid #bca3fc;color:#6733da;box-shadow:none}
#twm-app[data-scr="product"] .s11b-sale #sc-buy{order:1;background:var(--s11b-grad);color:#fff;border:0;box-shadow:0 5px 14px rgba(117,66,204,.2)}
#twm-app[data-scr="product"] .s11b-sale #sc-kyc-go{grid-column:1/-1;background:var(--s11b-grad);order:1}
#twm-app[data-scr="product"] .s11b-sale #sc-signin{grid-column:1/-1;height:auto;min-height:44px}
#twm-app[data-scr="product"] .s11b-details-page{background:linear-gradient(155deg,#fff,#faf8ff);border:1px solid #e8e3f9;border-radius:20px;padding:clamp(11px,2vw,20px);overflow:hidden}
#twm-app[data-scr="product"] .s11b-panel-title{font:900 clamp(17px,2.4vw,21px)/1.2 Nunito,system-ui;color:#071B49;margin:0 0 10px}
#twm-app[data-scr="product"] .s11b-detail-content{display:grid;grid-template-columns:1fr;align-content:start;gap:8px;min-width:0}
#twm-app[data-scr="product"] .s11b-detail-content :is(.pdp-check-row,.pdp-dossier-row,.s11b-text-row){display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:5px 14px;padding:9px 11px;border:1px solid #f0eafd;background:#fff;border-radius:11px;min-width:0}
#twm-app[data-scr="product"] .s11b-detail-content dt,#twm-app[data-scr="product"] .s11b-text-row span{font-size:13px;font-weight:700;color:#5c647e}
#twm-app[data-scr="product"] .s11b-detail-content dd,#twm-app[data-scr="product"] .s11b-text-row b{font-size:14px;font-weight:900;color:#071B49;margin:0;max-width:100%;overflow-wrap:anywhere}
#twm-app[data-scr="product"] .s11b-detail-content p{font-size:13px;line-height:1.4;margin:0}
#twm-app[data-scr="product"] .s11b-helptext{border-radius:11px;background:#f5f0ff;padding:9px 12px;color:#344669;font-weight:650;overflow-wrap:anywhere}
#twm-app[data-scr="product"] .s11b-detail-content .sc-row{box-shadow:none;border:1px solid #e9e4f9;border-radius:13px;padding:9px 12px}
#twm-app[data-scr="product"] .s11b-detail-content .sc-row-tx b{font-size:14px}
#twm-app[data-scr="product"] .s11b-detail-content .sc-row-tx small{font-size:12px}
#twm-app[data-scr="product"] .s11b-detail-content .pdp-dossier-disclaimer{font-size:12px;line-height:1.35;margin:0;background:#fdf7f0;padding:8px;border-radius:12px}
#twm-app[data-scr="product"] .s11b-detail-content .s11b-colours{padding:10px;border-radius:12px;background:#fff}
#twm-app[data-scr="product"] .s11b-color-full .pdp-swatches-row{display:flex;flex-wrap:wrap;gap:8px}
#twm-app[data-scr="product"] .s11b-color-full .pdp-swatch{display:inline-flex;align-items:center;gap:4px;font-size:12px;padding:3px}
#twm-app[data-scr="product"] .s11b-color-full .pdp-swatch i{width:27px;height:27px;border-radius:50%;border:1px solid #d7d1e9}
#twm-app[data-scr="product"] .s11b-color-full .pdp-sw-note{font-size:12px;color:#6b6381;line-height:1.35}
#twm-app[data-scr="product"] .s11b-source{font-weight:800;color:#673bd6;text-decoration:underline}
@media(max-width:680px){
 #twm-app[data-scr="product"]>.twm-main{height:calc(100dvh - 64px - 64px - env(safe-area-inset-bottom));padding:5px 9px 5px!important}
 #twm-app[data-scr="product"] .s11b-overview{display:flex;flex-direction:column;gap:5px}
 #twm-app[data-scr="product"] .s11b-gallery{height:clamp(160px,36%,340px);flex:0 0 auto;display:flex;align-items:stretch;justify-content:center;padding:7px 10px 6px;border-radius:19px}
 #twm-app[data-scr="product"] .s11b-gallery .pdp-stage{gap:4px}
 #twm-app[data-scr="product"] .s11b-gallery .pdp-photo-grid{height:47px;gap:5px}
 #twm-app[data-scr="product"] .s11b-gallery .pdp-photo-slot{height:47px;font-size:9px;border-radius:9px}
 #twm-app[data-scr="product"] .s11b-gallery .pdp-photo-slot img{height:27px}
 #twm-app[data-scr="product"] .s11b-gallery .pdp-photo-pending{height:25px;font-size:16px}
 #twm-app[data-scr="product"] .s11b-image-arrows{top:31%;left:10px;right:10px}
 #twm-app[data-scr="product"] .s11b-image-arrows button{width:38px;height:38px;font-size:24px}
 #twm-app[data-scr="product"] .s11b-summary{flex:1;min-height:0;padding:10px 12px 8px;gap:5px;border-radius:19px}
 #twm-app[data-scr="product"] .s11b-summary .sc-info-name{font-size:18px}
 #twm-app[data-scr="product"] .s11b-summary .sc-price-lg{font-size:24px}
 #twm-app[data-scr="product"] .s11b-summary .s11b-colours .pdp-swatch span{display:none}
 #twm-app[data-scr="product"] .s11b-summary .s11b-colours .pdp-swatch i{width:24px;height:24px;flex-basis:24px}
 #twm-app[data-scr="product"] .s11b-summary .s11b-section-label{font-size:12px}
 #twm-app[data-scr="product"] .s11b-capacity-current{padding:4px 10px;font-size:12px}
 #twm-app[data-scr="product"] .s11b-detail-link{margin-top:auto;min-height:38px;font-size:12.5px;padding:4px 9px}
 #twm-app[data-scr="product"] .s11b-pager button{min-height:40px;height:40px}
}
@media(max-width:420px) and (max-height:720px){
 #twm-app[data-scr="product"]>.twm-main{padding:2px 8px 3px!important}
 #twm-app[data-scr="product"]>.twm-main .twm-head{margin-bottom:1px!important}
 #twm-app[data-scr="product"] .s11b-overview{gap:3px}
 #twm-app[data-scr="product"] .s11b-gallery{height:clamp(125px,33%,165px);padding:4px 8px}
 #twm-app[data-scr="product"] .s11b-gallery .pdp-photo-grid{height:33px;gap:4px}
 #twm-app[data-scr="product"] .s11b-gallery .pdp-photo-slot{height:33px;font-size:8px;gap:0;padding:1px}
 #twm-app[data-scr="product"] .s11b-gallery .pdp-photo-slot img{height:21px}
 #twm-app[data-scr="product"] .s11b-gallery .pdp-photo-pending{height:18px}
 #twm-app[data-scr="product"] .s11b-gallery .pdp-photo-slot span{font-size:8px}
 #twm-app[data-scr="product"] .s11b-summary{padding:7px 10px 6px;gap:3px}
 #twm-app[data-scr="product"] .s11b-summary .sc-info-name{font-size:16.5px}
 #twm-app[data-scr="product"] .s11b-summary .sc-price-lg{font-size:22px}
 #twm-app[data-scr="product"] .s11b-summary .sc-info-brand{font-size:11px;padding:4px 8px}
 #twm-app[data-scr="product"] .s11b-summary .pdp-stock-notice{font-size:11px}
 #twm-app[data-scr="product"] .s11b-summary .sc-cond{font-size:11.5px}
 #twm-app[data-scr="product"] .s11b-detail-link{min-height:34px;padding:2px 7px}
 #twm-app[data-scr="product"] .s11b-detail-content{gap:5px}
 #twm-app[data-scr="product"] .s11b-detail-content :is(.pdp-check-row,.pdp-dossier-row,.s11b-text-row){padding:6px 8px}
 #twm-app[data-scr="product"] .s11b-detail-content dt,#twm-app[data-scr="product"] .s11b-text-row span{font-size:12px}
 #twm-app[data-scr="product"] .s11b-detail-content dd,#twm-app[data-scr="product"] .s11b-text-row b{font-size:13px}
}
@media(min-width:901px){
 #twm-app[data-scr="product"]>.twm-main{height:calc(100dvh - 72px);max-height:calc(100dvh - 72px);padding:12px 24px 16px!important}
 #twm-app[data-scr="product"] .s11b-gallery{padding:22px 32px 16px}
 #twm-app[data-scr="product"] .s11b-gallery .pdp-photo-grid{height:80px}
 #twm-app[data-scr="product"] .s11b-gallery .pdp-photo-slot{height:80px}
 #twm-app[data-scr="product"] .s11b-gallery .pdp-photo-slot img{height:54px}
 #twm-app[data-scr="product"] .s11b-details-page{max-width:920px;width:100%;margin:0 auto}
 #twm-app[data-scr="product"] .s11b-detail-content{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 #twm-app[data-scr="product"] .s11b-footer{max-width:850px;width:100%;margin:0 auto}
}
@media(min-width:681px) and (max-width:900px){#twm-app[data-scr="product"]>.twm-main{height:calc(100dvh - 64px - 64px);max-height:calc(100dvh - 64px - 64px)}}
@media(prefers-reduced-motion:reduce){#twm-app[data-scr="product"] .pdp-gallery-scroll{scroll-behavior:auto}}

/* Final compact corrections: bigger hero photo, details instead of hidden data on very short screens. */
@media(max-width:680px) and (min-height:721px){
 #twm-app[data-scr="product"] .s11b-gallery{height:clamp(220px,44%,370px)}
}
@media(max-width:420px) and (min-height:601px) and (max-height:720px){
 #twm-app[data-scr="product"] .s11b-gallery{height:160px}
 #twm-app[data-scr="product"] .s11b-detail-link{display:none}
}
@media(max-width:420px) and (max-height:600px){
 #twm-app[data-scr="product"] .s11b-detail-link,
 #twm-app[data-scr="product"] .s11b-summary .s11b-colours,
 #twm-app[data-scr="product"] .s11b-summary .s11b-capacity,
 #twm-app[data-scr="product"] .s11b-summary .sc-cond{display:none}
 #twm-app[data-scr="product"] .s11b-summary{justify-content:center}
 #twm-app[data-scr="product"] .s11b-gallery{height:clamp(140px,39%,155px)}
 #twm-app[data-scr="product"] .s11b-panel-title{margin-bottom:6px}
}

@media(max-width:420px) and (max-height:720px){
 #twm-app[data-scr="product"] .s11b-summary .sc-cond{display:none}
}

/* Standalone swatch pages, no false selectable colours. */
#twm-app[data-scr="product"] .s11b-swatch-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#twm-app[data-scr="product"] .s11b-swatch-list .pdp-swatch{display:flex;align-items:center;min-height:44px;gap:8px;border:1px solid #ede7f8;border-radius:12px;padding:8px 10px;font-size:13px;font-weight:750}
#twm-app[data-scr="product"] .s11b-swatch-list .pdp-swatch i{height:25px;width:25px;flex:0 0 25px;border-radius:50%;border:1px solid #b7adc6}
#twm-app[data-scr="product"] .s11b-status .sc-kyc{padding:8px 12px;gap:5px}
#twm-app[data-scr="product"] .s11b-status .sc-kyc img{display:none}
#twm-app[data-scr="product"] .s11b-status .sc-kyc p{font-size:13px;line-height:1.35;border:0;padding:0;margin:0}
@media(max-width:420px) and (max-height:600px){
 #twm-app[data-scr="product"] .s11b-panel-title{font-size:16px;margin-bottom:3px}
 #twm-app[data-scr="product"] .s11b-details-page{padding:7px}
 #twm-app[data-scr="product"] .s11b-helptext{padding:6px 8px;font-size:12px;line-height:1.25}
}

#twm-app[data-scr="product"] .s11b-head-cart{margin-left:auto;position:relative;flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#fff;box-shadow:0 3px 12px rgba(55,30,107,.09);border:1px solid #e8e0f8}
#twm-app[data-scr="product"] .s11b-head-cart img{width:30px;height:30px;object-fit:contain}
#twm-app[data-scr="product"] .s11b-head-count{position:absolute;right:-3px;top:-4px;min-width:18px;height:18px;border-radius:999px;background:#ff8830;color:#fff;display:grid;place-items:center;font:900 10px Nunito,system-ui}

#twm-app[data-scr="product"] .s11b-summary.s11b-tight .s11b-colours,
#twm-app[data-scr="product"] .s11b-summary.s11b-tight .s11b-capacity,
#twm-app[data-scr="product"] .s11b-summary.s11b-tight .sc-cond{display:none!important}
@media(max-width:420px) and (max-height:600px){
 #twm-app[data-scr="product"] .s11b-summary{padding:5px 10px 4px}
}

/* FIX6 one-screen 390x844: compact login/signup/account so they fit without scrolling */
@media (max-width:480px) and (max-height:900px){
#twm-app:is([data-scr=login],[data-scr=signup],[data-scr=account])>.twm-main{padding-top:4px!important}
#twm-app:is([data-scr=login],[data-scr=signup],[data-scr=account]) .twm-h1,#twm-app:is([data-scr=login],[data-scr=signup],[data-scr=account]) h1{font-size:22px!important;margin:0!important}
#twm-app:is([data-scr=login],[data-scr=signup]) .twm-main h2{font-size:18px!important;margin:4px 0 0!important}
#twm-app:is([data-scr=login],[data-scr=signup]) .twm-main p{margin:2px 0!important;font-size:12.5px!important}
#twm-app:is([data-scr=login],[data-scr=signup]) .twm-main :is(.twm-card,section,form){padding-top:10px!important;padding-bottom:10px!important;margin-top:6px!important;margin-bottom:6px!important}
#twm-app:is([data-scr=login],[data-scr=signup]) .twm-main :is(input.twm-input,.twm-input){min-height:40px!important;height:40px!important}
#twm-app:is([data-scr=login],[data-scr=signup]) .twm-main label,#twm-app:is([data-scr=login],[data-scr=signup]) .twm-field{margin-bottom:6px!important;gap:3px!important}
#twm-app:is([data-scr=login],[data-scr=signup]) .twm-main a{padding-top:7px!important;padding-bottom:7px!important}
#twm-app:is([data-scr=login],[data-scr=signup]) .twm-main .twm-btn{min-height:44px!important;margin-top:6px!important}
#twm-app[data-scr=account] .twm-main :is(.twm-card,section){padding-top:4px!important;padding-bottom:4px!important;margin-top:6px!important;margin-bottom:6px!important}
#twm-app[data-scr=account] .twm-main :is(a,button){padding-top:8px!important;padding-bottom:8px!important;min-height:0!important}
}

/* FIX6 one-screen 390x844: shop fits one viewport — categories become one swipe row, partner-product rail hidden on phones (still in catalog) */
@media (max-width:480px) and (max-height:900px){
#twm-app[data-scr=shop] .shp-cats{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;gap:6px!important;scrollbar-width:none;scroll-snap-type:x mandatory}
#twm-app[data-scr=shop] .shp-cats>.shp-cat{flex:0 0 23%!important;min-height:64px!important;height:64px!important;scroll-snap-align:start}
#twm-app[data-scr=shop] .shp-catalog-intro,#twm-app[data-scr=shop] .shp-partner-wrap{padding-top:6px!important;padding-bottom:6px!important;margin-top:6px!important}
#twm-app[data-scr=shop] .shp-partner-products{display:none!important}
#twm-app[data-scr=shop] .shp>*{min-width:0!important;max-width:100%!important;box-sizing:border-box}
#twm-app[data-scr=shop] .shp-catalog-intro{overflow:hidden!important}
#twm-app[data-scr=shop]>.twm-main{min-width:0!important;max-width:100%!important;width:100%!important;box-sizing:border-box!important;overflow-x:hidden!important}
#twm-app[data-scr=shop] .shp{grid-template-columns:minmax(0,1fr)!important;min-width:0!important;width:100%!important}
#twm-app[data-scr=shop] .shp-cats{width:100%!important;max-width:100%!important;min-width:0!important}
}

/* FIX6b: login reached from a protected route (extra notice) still fits */
@media (max-width:480px) and (max-height:900px){
#twm-app[data-scr=login] .twm-main :is(input.twm-input,.twm-input){min-height:36px!important;height:36px!important}
#twm-app[data-scr=login] .twm-main :is(.twm-card,section,form){padding-top:6px!important;padding-bottom:6px!important;margin-top:4px!important;margin-bottom:4px!important}
#twm-app[data-scr=login] .twm-main a{padding-top:5px!important;padding-bottom:5px!important}
#twm-app[data-scr=login] .twm-main .twm-btn{min-height:42px!important}
}

/* FIX6c: catalog = one screen, product grid scrolls inside; PDP thumbs without raw "Ảnh N" text */
@media (max-width:480px) and (max-height:900px){
#twm-app[data-scr=catalog]>.twm-main{overflow:hidden!important;display:flex!important;flex-direction:column!important}
#twm-app[data-scr=catalog]>.twm-main .mx-content{flex:1 1 auto!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
#twm-app[data-scr=catalog] .sc-cat{flex:1 1 auto!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
#twm-app[data-scr=catalog] .sc-cat>*{flex:0 0 auto}
#twm-app[data-scr=catalog] .sc-grid{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-bottom:8px}
#twm-app[data-scr=catalog] .sc-search input{height:40px!important;min-height:40px!important}
#twm-app[data-scr=catalog] .sc-chip{min-height:36px!important}
}
#twm-app[data-scr=product] .s11b-gallery .pdp-photo-slot>span:not(:has(img)){display:none!important}

/* FIX6d: logged-in account fits one screen */
@media (max-width:480px) and (max-height:900px){
#twm-app[data-scr=account] .twm-main :is(p,h2,h3){margin-top:2px!important;margin-bottom:2px!important}
#twm-app[data-scr=account] .twm-main :is(a,button){padding-top:6px!important;padding-bottom:6px!important}
}

/* S11-B Seamless Scroll & Natural PDP Layout */
#twm-app[data-scr="product"]>.twm-main{height:auto!important;max-height:none!important;overflow:visible!important;padding-bottom:140px!important;}
#twm-app[data-scr="product"] .s11b-shell{height:auto!important;display:flex!important;flex-direction:column!important;gap:14px!important;}
#twm-app[data-scr="product"] .s11b-pages{height:auto!important;display:flex!important;flex-direction:column!important;gap:14px!important;overflow:visible!important;}
#twm-app[data-scr="product"] .s11b-page{height:auto!important;min-height:auto!important;overflow:visible!important;}
#twm-app[data-scr="product"] .s11b-overview{height:auto!important;}
#twm-app[data-scr="product"] .s11b-pager{display:none!important;}
#twm-app[data-scr="product"] .s11b-footer{position:fixed!important;bottom:calc(var(--twm-nav-h,64px) + env(safe-area-inset-bottom,0px))!important;left:0!important;right:0!important;z-index:99!important;background:rgba(255,255,255,0.96)!important;backdrop-filter:blur(10px)!important;padding:8px 16px!important;box-shadow:0 -4px 16px rgba(15,23,42,0.08)!important;}
#twm-app[data-scr="product"] .s11b-sale{max-width:600px!important;margin:0 auto!important;width:100%!important;}
/* ==== money/assets/tw-polish-2611.css ==== */
/* TW PAY · UI polish 2026-11-09 — CHỈ trình bày, không đổi logic/nghiệp vụ/phí/tỷ giá.
   Nạp SAU CÙNG trong money/index.html. Đi kèm việc gỡ no-scroll-steps-v3.js (không còn "Phần 1/N").
   Chuẩn: chữ ≥12px, vùng bấm ≥44px, ô nhập 48px, CTA 52px, CTA không bị thanh điều hướng che.
   Ghi chú: các file CSS cũ dùng "#twm-app[data-scr=…] …!important", nên các quy tắc kích thước ở đây
   phải cùng mức ưu tiên (#twm-app + !important). Chỉ áp cho thuộc tính kích thước/hiển thị, không đổi màu thương hiệu. */

/* 1 · CTA của form (Đăng ký / Đăng nhập / Quên MK / Tra cứu…) ghim ở đáy khung cuộn, luôn nhìn thấy */
#twm-app .twm-main form button[type="submit"].twm-btn{
  position:sticky!important;bottom:10px;z-index:4;min-height:52px!important;height:auto!important;font-size:16px!important;
  box-shadow:0 10px 24px rgba(122,76,245,.28),0 0 0 10px rgba(248,246,255,.94);
}
#twm-app .twm-main .mx-card{overflow:visible!important}

/* 2 · Ô nhập và tab đủ lớn để chạm (không áp cho ô số tiền lớn của s01/s06 đã có 50–52px) */
#twm-app .twm-main form .twm-input,
#twm-app .twm-main form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
#twm-app .twm-main form select{min-height:48px!important;font-size:16px!important}
#twm-app .mx-tabs a{min-height:44px!important;display:flex;align-items:center;justify-content:center}

/* 3 · Bước chuyển tiền (s01–s09): một CTA duy nhất ngay trên thanh điều hướng; chip đủ lớn */
#twm-app > .twm-cta{box-shadow:0 -8px 20px rgba(71,52,160,.08);background:rgba(255,255,255,.96)}
#twm-app > .twm-cta .twm-btn{min-height:52px!important;font-size:16px!important}
#twm-app .twm-chips > *{min-height:44px!important;font-size:14px!important}
#twm-app .twm-qbanks *{font-size:12px!important}
.ns-v3-pager{display:none!important} /* phòng khi trình duyệt còn giữ bản cũ trong cache */

/* 4 · Mua sắm: chữ không nhỏ hơn 12px (trước: 9–11px) — giữ nguyên bố cục đã duyệt */
#twm-app .shp-cat,#twm-app .shp-cat .nm{font-size:12px!important;letter-spacing:-.2px}
#twm-app .shp-pc .nm{font-size:12px!important}
#twm-app .shp-pc .pr{font-size:13px!important}

/* 5 · Tài khoản: mọi mục đều có icon 3D chính thức, dòng cao ≥48px */
#twm-app .mx-link{min-height:48px!important;display:flex;align-items:center;gap:12px}
#twm-app .mx-link:not(:has(img))::before{content:"";flex:none;width:28px;height:28px;background:url("img/tv/icons-3d-v2/profile.webp") center/contain no-repeat}
#twm-app .mx-link[href="#/kyc"]:not(:has(img))::before{background-image:url("img/tv/icons-3d-v2/security.webp")}
#twm-app .mx-link[href="#/track"]:not(:has(img))::before,
#twm-app .mx-link[href="#/account-orders"]:not(:has(img))::before{background-image:url("img/tv/icons-3d-v2/orders.webp")}
#twm-app .mx-link[href="#/addresses"]:not(:has(img))::before{background-image:url("img/tv/icons-3d-v2/location.webp")}
#twm-app .mx-link[href="#/installments"]:not(:has(img))::before{background-image:url("img/tv/icons-3d-v2/installment.webp")}
#twm-app .mx-link[href="#/promo"]:not(:has(img))::before{background-image:url("img/tv/icons-3d-v2/gift.webp")}
#twm-app .mx-link[href="#/notifications"]:not(:has(img))::before{background-image:url("img/tv/icons-3d-v2/notification.webp")}
#twm-app .mx-link[href="#/help"]:not(:has(img))::before{background-image:url("img/tv/icons-3d-v2/support.webp")}
#twm-app .mx-link[href="#/settings"]:not(:has(img))::before{background-image:url("img/tv/icons-3d-v2/settings.webp")}
#twm-app .mx-link > span[aria-hidden]{margin-left:auto}

/* 6 · Văn bản pháp lý: cuộn liền mạch, dễ đọc */
#twm-app .mx-legal{font-size:15px;line-height:1.6}

/* 7 · Phản hồi khi chạm + vào màn mượt (tắt khi người dùng bật "giảm chuyển động") */
#twm-app .twm-btn,#twm-app .mx-link,#twm-app .shp-cat,#twm-app .shp-pc{transition:transform .12s ease,box-shadow .12s ease}
#twm-app .twm-btn:active,#twm-app .mx-link:active,#twm-app .shp-cat:active,#twm-app .shp-pc:active{transform:scale(.98)}
#twm-app .twm-main{animation:twFadeIn .18s ease both}
@keyframes twFadeIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){#twm-app .twm-main{animation:none}#twm-app .twm-btn,#twm-app .mx-link{transition:none}}

/* 8 · Bổ sung độ ưu tiên (các file cũ dùng #twm-app[data-scr=…] … !important) */
#twm-app[data-scr=shop] .shp-cat,#twm-app[data-scr=shop] .shp-cat .nm{font-size:12px!important;line-height:1.15!important}
#twm-app:is([data-scr=login],[data-scr=signup],[data-scr=forgot]) .twm-main form :is(input.twm-input,select.twm-input,.twm-input,input,select){height:48px!important;min-height:48px!important;font-size:16px!important}
#twm-app[data-scr=signup] .twm-main form :is(p,small){font-size:12px!important}
#twm-app:is([data-scr="s01"],[data-scr="s06"]) .twm-chips > *{min-height:44px!important;height:auto!important;font-size:14px!important}
#twm-app[data-scr=account] .twm-main a.mx-link{min-height:48px!important}
#twm-app[data-scr=shop] .shp-search button{min-height:44px!important}
#twm-app[data-scr=shop] .shp-search input{height:44px!important;font-size:16px!important}
/* "Xem tất cả" ở Mua sắm: vùng chạm 44px mà không đổi bố cục (dùng padding âm lề) */
#twm-app[data-scr=shop] :is(.shp-cats-title,.shp-hd) > a{display:inline-flex;align-items:center;min-height:44px;padding:0 6px;margin:-14px -6px}

/* 9 · S05: Sửa vỡ dòng số tiền và tránh che mã vạch thứ 3 */
#twm-app[data-scr="s05"] .s45-sum{display:flex!important;flex-wrap:wrap!important;justify-content:space-between!important;align-items:center!important;gap:8px!important}
#twm-app[data-scr="s05"] .s45-sum .big{white-space:nowrap!important;font-size:clamp(19px,5.2vw,26px)!important;letter-spacing:-.3px!important}
#twm-app[data-scr="s05"] .twm-main{padding-bottom:110px!important}

/* 10 · Checkout: Bỏ kẹp tràn cuộn, không để nút bấm che khuất địa chỉ */
#twm-app[data-scr="checkout"] .twm-main{padding-bottom:120px!important;overflow-y:auto!important;height:auto!important;max-height:none!important}
#twm-app[data-scr="checkout"] button.twm-btn{position:relative!important;margin-top:20px!important;z-index:2!important}

/* 11 · S15 & S16: Đơn hàng hiển thị đầy đủ, không cắt mã vạch */
#twm-app:is([data-scr="account-orders"],[data-scr="order-detail"]) .twm-main{padding-bottom:100px!important;overflow-y:auto!important}
#twm-app[data-scr="order-detail"] .tw-barcode-box{max-height:none!important;overflow:visible!important}

/* 12 · S06: Đổi tiền VND -> NT$, đệm cuộn đáy cho điện thoại nhỏ */
#twm-app[data-scr="s06"] .twm-main{padding-bottom:120px!important}

/* 12 · S05: Sửa dứt điểm rớt dòng số tiền trên mobile */
#twm-app .s45-sum .r:first-child, .s45-sum .r:first-child, .s05x .s45-sum .r:first-child {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px 12px !important;
}
#twm-app .s45-sum .r:first-child .big, .s45-sum .r:first-child .big, .s05x .s45-sum .r:first-child .big {
  white-space: nowrap !important;
  word-break: keep-all !important;
  font-size: clamp(20px, 5.2vw, 24px) !important;
  color: #4b3fd1 !important;
  display: inline-block !important;
}
#twm-app .s45-sum .r:first-child .twm-badge, .s45-sum .r:first-child .twm-badge {
  margin-left: auto !important;
}

/* 13 · S03: Thêm khoảng đệm tránh che mất nút Tạo lệnh mới */
#twm-app:is([data-scr="s01"],[data-scr="s02"],[data-scr="s03"]) .twm-main {
  padding-bottom: 140px !important;
  overflow-y: auto !important;
}

/* 14 · Checkout & Review: Tránh che khuất trường nhập địa chỉ và cửa hàng nhận */
#twm-app:is([data-scr="checkout"],[data-scr="checkout-review"]) .twm-main {
  padding-bottom: 160px !important;
  overflow-y: auto !important;
  height: auto !important;
  max-height: none !important;
}

/* 15 · S15 & S16: Đơn hàng & Chi tiết đơn hàng */
#twm-app:is([data-scr="orders"],[data-scr="account-orders"],[data-scr="order-detail"]) .twm-main {
  padding-bottom: 130px !important;
  overflow-y: auto !important;
}
#twm-app[data-scr="order-detail"] .mx-barcode {
  margin-bottom: 16px !important;
}
/* ==== money/assets/tw-floating-support.css ==== */
/* Floating Support Widget for Taiwan Pay */

.tw-float-support {

  position: fixed;

  right: 18px;

  bottom: 84px;

  z-index: 99999;

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

}

@media (min-width: 768px) {

  .tw-float-support {

    right: 28px;

    bottom: 28px;

  }

}

.tw-float-btn {

  width: 54px;

  height: 54px;

  border-radius: 50%;

  background: linear-gradient(135deg, #2b66ff 0%, #7848f4 50%, #e0329b 100%);

  box-shadow: 0 8px 24px rgba(120, 72, 244, 0.45);

  display: flex;

  align-items: center;

  justify-content: center;

  cursor: pointer;

  border: none;

  outline: none;

  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;

  position: relative;

  -webkit-tap-highlight-color: transparent;

}

.tw-float-btn:hover {

  transform: scale(1.08);

  box-shadow: 0 12px 28px rgba(120, 72, 244, 0.55);

}

.tw-float-btn:active {

  transform: scale(0.94);

}

.tw-float-badge {

  position: absolute;

  top: -2px;

  right: -2px;

  width: 14px;

  height: 14px;

  background: #10b981;

  border: 2.5px solid #ffffff;

  border-radius: 50%;

}

.tw-float-pulse {

  position: absolute;

  top: 0; left: 0; right: 0; bottom: 0;

  border-radius: 50%;

  border: 2px solid rgba(120, 72, 244, 0.6);

  animation: twPulse 2.2s infinite;

  pointer-events: none;

}

@keyframes twPulse {

  0% { transform: scale(1); opacity: 0.8; }

  100% { transform: scale(1.45); opacity: 0; }

}

.tw-float-card {

  position: absolute;

  right: 0;

  bottom: 68px;

  width: 310px;

  background: #ffffff;

  border-radius: 20px;

  box-shadow: 0 18px 45px rgba(23, 27, 72, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.05);

  padding: 16px;

  opacity: 0;

  visibility: hidden;

  transform: translateY(14px) scale(0.96);

  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.22s;

  pointer-events: none;

}

.tw-float-card.is-open {

  opacity: 1;

  visibility: visible;

  transform: translateY(0) scale(1);

  pointer-events: auto;

}

.tw-float-header {

  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-bottom: 12px;

  border-bottom: 1px solid #f1f2f8;

  padding-bottom: 10px;

}

.tw-float-brand {

  display: flex;

  align-items: center;

  gap: 10px;

}

.tw-float-avatar {

  width: 36px;

  height: 36px;

  border-radius: 50%;

  background: #f4f2ff;

  display: flex;

  align-items: center;

  justify-content: center;

  flex-shrink: 0;

}

.tw-float-title h4 {

  margin: 0;

  font-size: 15px;

  font-weight: 700;

  color: #121a36;

}

.tw-float-title span {

  font-size: 11.5px;

  color: #10b981;

  display: flex;

  align-items: center;

  gap: 5px;

}

.tw-float-title span::before {

  content: "";

  display: inline-block;

  width: 6px;

  height: 6px;

  border-radius: 50%;

  background: #10b981;

}

.tw-float-close {

  background: #f1f3f9;

  border: none;

  width: 28px;

  height: 28px;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  cursor: pointer;

  color: #64748b;

  font-size: 18px;

  line-height: 1;

}

.tw-float-actions {

  display: flex;

  flex-direction: column;

  gap: 9px;

}

.tw-float-channel {

  display: flex;

  align-items: center;

  gap: 12px;

  padding: 11px 14px;

  border-radius: 14px;

  text-decoration: none;

  transition: background 0.15s ease, transform 0.12s ease;

}

.tw-float-channel:active {

  transform: scale(0.98);

}

.tw-float-channel.is-messenger {

  background: #f0f6ff;

  border: 1px solid #dbeafe;

}

.tw-float-channel.is-messenger:hover {

  background: #e0edff;

}

.tw-float-channel.is-messenger b {

  color: #0078ff;

}

.tw-float-channel.is-telegram {

  background: #f0f9ff;

  border: 1px solid #e0f2fe;

}

.tw-float-channel.is-telegram:hover {

  background: #e0f4fe;

}

.tw-float-channel.is-telegram b {

  color: #0284c7;

}

.tw-channel-icon {

  width: 32px;

  height: 32px;

  flex-shrink: 0;

  border-radius: 50%;

}

.tw-channel-text {

  display: flex;

  flex-direction: column;

}

.tw-channel-text b {

  font-size: 13.5px;

  font-weight: 700;

  line-height: 1.25;

}

.tw-channel-text span {

  font-size: 11px;

  color: #64748b;

  line-height: 1.2;

}

.tw-float-footer {

  margin-top: 10px;

  padding-top: 8px;

  font-size: 11px;

  color: #8a94a6;

  text-align: center;

  line-height: 1.35;

}



/* Installment Teaser & Trust Badges */

.s11b-installment-teaser {

  display: inline-flex;

  align-items: center;

  gap: 6px;

  background: linear-gradient(135deg, #f5f0ff 0%, #ede8ff 100%);

  border: 1px solid #d8cbfa;

  border-radius: 10px;

  padding: 6px 12px;

  margin: 6px 0 10px;

  font-size: 12.5px;

  color: #5533aa;

  line-height: 1.35;

}

.s11b-installment-teaser b {

  font-weight: 700;

  color: #4a21b3;

}

.s11b-trust-badges {

  display: grid;

  grid-template-columns: 1fr;

  gap: 8px;

  background: #f9faff;

  border: 1px solid #e4e7f8;

  border-radius: 14px;

  padding: 12px 14px;

  margin: 12px 0 10px;

}

@media (min-width: 480px) {

  .s11b-trust-badges {

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;

    padding: 10px 12px;

  }

}

.s11b-badge-item {

  display: flex;

  align-items: center;

  gap: 8px;

}

.s11b-badge-icon {

  font-size: 20px;

  line-height: 1;

  flex-shrink: 0;

}

.s11b-badge-item b {

  display: block;

  font-size: 12px;

  font-weight: 700;

  color: #1a2342;

  line-height: 1.25;

}

.s11b-badge-item small {

  display: block;

  font-size: 10.5px;

  color: #6b7794;

  line-height: 1.2;

}



/* Banner picture support 20261109 */

.twp-bv2-shared a.bv2 picture.bv2-pic,

.twp-bv2-shared .sl.bv2m picture.bv2-pic {

  display: block;

  width: 100%;

  height: 100%;

}

.twp-bv2-shared a.bv2 picture.bv2-pic img,

.twp-bv2-shared .sl.bv2m picture.bv2-pic img {

  display: block;

  width: 100%;

  height: 100%;

  object-fit: cover;

}



/* ==========================================================================

   TW PAY HYPER-FUTURISTIC MOTION & HIGH-END FINTECH POLISH 2026

   Hardware-accelerated (60fps GPU), Specular Glassmorphism, Spring Physics

   ========================================================================== */



/* 1. HIDE DUPLICATE MASCOT BUTTON (Resolves overlapping floating buttons) */

#tw-support-mascot {

  display: none !important;

}



/* 2. DYNAMIC FLOATING ISLAND CSKH DOCK */

.tw-float-support {

  position: fixed;

  right: 20px;

  bottom: 84px;

  z-index: 999999;

  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Plus Jakarta Sans", "Segoe UI", Roboto, sans-serif;

  -webkit-font-smoothing: antialiased;

}

@media (min-width: 769px) {

  .tw-float-support {

    right: 32px;

    bottom: 32px;

  }

}



.tw-float-btn {

  width: 58px;

  height: 58px;

  border-radius: 50%;

  background: linear-gradient(135deg, #161b2e 0%, #2a1f52 50%, #4c1d95 100%);

  border: 1px solid rgba(255, 255, 255, 0.28);

  box-shadow: 0 12px 36px -4px rgba(106, 76, 245, 0.45), 0 4px 12px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.4);

  display: flex;

  align-items: center;

  justify-content: center;

  cursor: pointer;

  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;

  position: relative;

  will-change: transform;

}

.tw-float-btn:hover {

  transform: translateY(-3px) scale(1.08);

  box-shadow: 0 18px 44px -4px rgba(106, 76, 245, 0.65), 0 0 0 2px rgba(168, 85, 247, 0.5);

}

.tw-float-btn:active {

  transform: scale(0.94);

}



/* Futuristic pulsing radar ring around support button */

.tw-float-btn::before {

  content: "";

  position: absolute;

  inset: -3px;

  border-radius: 50%;

  border: 2px solid rgba(168, 85, 247, 0.6);

  animation: radarWave 2.8s infinite cubic-bezier(0.16, 1, 0.3, 1);

  pointer-events: none;

}

@keyframes radarWave {

  0% { transform: scale(1); opacity: 0.8; }

  70% { transform: scale(1.35); opacity: 0; }

  100% { transform: scale(1.35); opacity: 0; }

}



/* 3. EXCHANGE RATE WIDGET - FUTURISTIC FINANCIAL PULSE */

.rate, .hx-rate, .tw5-rate {

  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 255, 0.88) 100%) !important;

  backdrop-filter: blur(24px) saturate(190%) !important;

  -webkit-backdrop-filter: blur(24px) saturate(190%) !important;

  border: 1px solid rgba(255, 255, 255, 0.85) !important;

  border-radius: 22px !important;

  box-shadow: 0 14px 38px -8px rgba(106, 76, 245, 0.12), 0 4px 12px rgba(0, 0, 0, 0.03), inset 0 1px 1px #fff !important;

  padding: 16px 20px !important;

  position: relative !important;

  overflow: hidden !important;

  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;

  will-change: transform;

}

.rate:hover, .hx-rate:hover, .tw5-rate:hover {

  transform: translateY(-2px);

  box-shadow: 0 20px 48px -8px rgba(106, 76, 245, 0.2), 0 0 0 1.5px rgba(106, 76, 245, 0.25) !important;

}



/* Subtle live ambient beam on rate card */

.rate::after, .hx-rate::after, .tw5-rate::after {

  content: "";

  position: absolute;

  top: 0;

  left: -100%;

  width: 50%;

  height: 100%;

  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);

  transform: skewX(-20deg);

  animation: rateShimmer 6s infinite ease-in-out;

  pointer-events: none;

}

@keyframes rateShimmer {

  0%, 75% { left: -100%; }

  100% { left: 200%; }

}



/* Send button with neon gradient and active micro-bounce */

.rate .go, .tw5-send {

  background: linear-gradient(135deg, #6A4CF5 0%, #8B5CF6 60%, #A855F7 100%) !important;

  border-radius: 14px !important;

  box-shadow: 0 8px 22px -3px rgba(106, 76, 245, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;

  color: #fff !important;

  font-weight: 700 !important;

  letter-spacing: -0.01em !important;

  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease !important;

  position: relative !important;

  overflow: hidden !important;

}

.rate .go:hover, .tw5-send:hover {

  transform: translateY(-2px) scale(1.025) !important;

  box-shadow: 0 12px 28px -3px rgba(106, 76, 245, 0.7) !important;

}

.rate .go:active, .tw5-send:active {

  transform: scale(0.96) !important;

}



/* Numbers in rate card */

.rate .rt b, .hx-rate .pair b {

  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Plus Jakarta Sans", sans-serif !important;

  font-variant-numeric: tabular-nums !important;

  letter-spacing: -0.02em !important;

}



/* 4. 6 SERVICE BENTO TILES (Magpadala, Pamimili, Hulugan...) */

.tl, .tw5-svc ul {

  gap: 12px !important;

}

.tl .t, .tw5-svc li a {

  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(249, 250, 254, 0.9) 100%) !important;

  border: 1px solid rgba(255, 255, 255, 0.9) !important;

  border-radius: 20px !important;

  box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.04), 0 2px 6px rgba(106, 76, 245, 0.04), inset 0 1px 1px #fff !important;

  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease !important;

  padding: 16px 12px !important;

  will-change: transform;

}

.tl .t:hover, .tw5-svc li a:hover {

  transform: translateY(-5px) scale(1.025) !important;

  box-shadow: 0 18px 36px -6px rgba(106, 76, 245, 0.18), 0 0 0 1.5px rgba(106, 76, 245, 0.4) !important;

  border-color: rgba(106, 76, 245, 0.4) !important;

}

.tl .t .q img, .tl .t .q svg, .tw5-svc li a .ic img, .tw5-svc li a .ic svg {

  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;

  will-change: transform;

}

.tl .t:hover .q img, .tl .t:hover .q svg, .tw5-svc li a:hover .ic img, .tw5-svc li a:hover .ic svg {

  transform: scale(1.14) rotate(-3deg) !important;

}

.tl .t b, .tw5-svc li a .lb {

  font-weight: 700 !important;

  letter-spacing: -0.015em !important;

  font-size: 13.5px !important;

  margin-top: 6px !important;

}



/* 5. PRODUCT ROW - APPLE STORE / BNPL PRO LEVEL */

.shop .pr {

  gap: 14px !important;

  padding: 4px 4px 16px !important;

}

.shop .pr .pc, .shp-row a {

  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 251, 255, 0.94) 100%) !important;

  border: 1px solid rgba(255, 255, 255, 0.9) !important;

  border-radius: 22px !important;

  box-shadow: 0 12px 30px -6px rgba(0, 0, 0, 0.05), 0 3px 8px rgba(106, 76, 245, 0.03), inset 0 1px 1px #fff !important;

  padding: 16px 14px 18px !important;

  position: relative !important;

  overflow: hidden !important;

  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease !important;

  will-change: transform;

}

.shop .pr .pc:hover, .shp-row a:hover {

  transform: translateY(-6px) scale(1.03) !important;

  box-shadow: 0 24px 44px -8px rgba(106, 76, 245, 0.22), 0 0 0 1.5px rgba(106, 76, 245, 0.4) !important;

  border-color: rgba(106, 76, 245, 0.4) !important;

}



/* Floating Device Image */

.shop .pr .pc img, .shp-row a img {

  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.08)) !important;

  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease !important;

  will-change: transform;

}

.shop .pr .pc:hover img, .shp-row a:hover img {

  transform: scale(1.08) translateY(-4px) !important;

  filter: drop-shadow(0 18px 28px rgba(106, 76, 245, 0.2)) !important;

}



/* Product Name & Pricing */

.shop .pr .pc .n, .shp-row a b {

  font-weight: 700 !important;

  letter-spacing: -0.015em !important;

  color: #1a1e36 !important;

  font-size: 14px !important;

  margin-top: 8px !important;

}

.shop .pr .pc .p, .shp-row a .p {

  background: linear-gradient(135deg, #6A4CF5 0%, #EE4FA6 100%) !important;

  -webkit-background-clip: text !important;

  -webkit-text-fill-color: transparent !important;

  font-weight: 800 !important;

  font-size: 15px !important;

  font-variant-numeric: tabular-nums !important;

  letter-spacing: -0.02em !important;

  margin-top: 4px !important;

}



/* Metallic Installment Pill (0% LÃI SUẤT) */

.shop .pr .pc::before {

  content: "0% TRẢ GÓP";

  position: absolute;

  top: 10px;

  left: 10px;

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 0.04em;

  padding: 3px 7px;

  border-radius: 6px;

  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);

  color: #c4b5fd;

  box-shadow: 0 2px 6px rgba(49, 46, 129, 0.3);

  z-index: 2;

  pointer-events: none;

}



/* 6. BANNER CAROUSEL POLISH */

.twp-bv2-shared, .car.bv2-car {

  border-radius: 22px !important;

  overflow: hidden !important;

  box-shadow: 0 16px 42px -8px rgba(106, 76, 245, 0.16) !important;

}

.twp-bv2-shared a.bv2, .twp-bv2-shared .sl.bv2m {

  border-radius: 22px !important;

  overflow: hidden !important;

}

.twp-bv2-shared a.bv2 picture.bv2-pic,

.twp-bv2-shared .sl.bv2m picture.bv2-pic {

  display: block !important;

  width: 100% !important;

  height: 100% !important;

}

.twp-bv2-shared a.bv2 picture.bv2-pic img,

.twp-bv2-shared .sl.bv2m picture.bv2-pic img {

  display: block !important;

  width: 100% !important;

  height: 100% !important;

  object-fit: cover !important;

}



/* 7. PERFORMANCE & REDUCED MOTION SAFEGUARDS */

@media (prefers-reduced-motion: reduce) {

  *, ::before, ::after {

    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;

  }

}





/* ==========================================================================

   TW PAY UNIVERSAL HYPER-FUTURISTIC DESIGN ENGINE 2026

   60fps GPU Hardware-Accelerated · Glassmorphism 2.0 · Specular Lighting

   Elevating Home, Remittance (#/s00 - #/s05), Shop/Catalog, Product, Orders

   ========================================================================== */



/* --- 1. GLOBAL AMBIENT AURORA BACKGROUND --- */

body, #twm-app {

  background-color: #f7f8fe !important;

  background-image: 

    radial-gradient(at 0% 0%, rgba(106, 76, 245, 0.07) 0px, transparent 50%),

    radial-gradient(at 100% 20%, rgba(238, 79, 166, 0.05) 0px, transparent 50%),

    radial-gradient(at 50% 100%, rgba(79, 142, 247, 0.06) 0px, transparent 60%) !important;

  background-attachment: fixed !important;

  -webkit-font-smoothing: antialiased;

  -moz-osx-font-smoothing: grayscale;

}



/* --- 2. HEADER GLASS NAVIGATION PILLS --- */

header.hd, .hd {

  background: rgba(255, 255, 255, 0.82) !important;

  backdrop-filter: blur(24px) saturate(180%) !important;

  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;

  border-bottom: 1px solid rgba(255, 255, 255, 0.7) !important;

  box-shadow: 0 4px 20px -2px rgba(106, 76, 245, 0.06) !important;

}

.hd .lg img {

  filter: drop-shadow(0 4px 8px rgba(106, 76, 245, 0.3));

  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);

}

.hd .lg:hover img {

  transform: rotate(-8deg) scale(1.1);

}



/* Top Navigation Pills */

nav.hd-nav a, .tb a {

  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease !important;

}

nav.hd-nav a.on {

  box-shadow: 0 4px 14px -1px rgba(106, 76, 245, 0.35) !important;

}



/* --- 3. REMITTANCE ROUTE CARDS (#/s00) --- */

#twm-app[data-scr="s00"] .fl,

#twm-app[data-scr="s00"] a[href^="#/s01"],

#twm-app[data-scr="s00"] a[href^="#/s06"] {

  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 251, 255, 0.92) 100%) !important;

  backdrop-filter: blur(20px) !important;

  -webkit-backdrop-filter: blur(20px) !important;

  border: 1px solid rgba(255, 255, 255, 0.95) !important;

  border-radius: 22px !important;

  box-shadow: 0 12px 32px -6px rgba(106, 76, 245, 0.08), 0 2px 8px rgba(0, 0, 0, 0.03), inset 0 1px 1px #fff !important;

  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease !important;

  will-change: transform;

  position: relative !important;

  overflow: hidden !important;

}

#twm-app[data-scr="s00"] a[href^="#/s01"]:hover,

#twm-app[data-scr="s00"] a[href^="#/s06"]:hover {

  transform: translateY(-4px) scale(1.015) !important;

  box-shadow: 0 20px 44px -8px rgba(106, 76, 245, 0.2), 0 0 0 1.5px rgba(106, 76, 245, 0.4) !important;

  border-color: rgba(106, 76, 245, 0.4) !important;

}

#twm-app[data-scr="s00"] a[href^="#/s01"] img,

#twm-app[data-scr="s00"] a[href^="#/s06"] img {

  filter: drop-shadow(0 6px 12px rgba(106, 76, 245, 0.18));

  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);

}

#twm-app[data-scr="s00"] a[href^="#/s01"]:hover img,

#twm-app[data-scr="s00"] a[href^="#/s06"]:hover img {

  transform: scale(1.1) rotate(-3deg);

}



/* Route card arrow micro-animation */

#twm-app[data-scr="s00"] a svg, #twm-app[data-scr="s00"] a .arr {

  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);

}

#twm-app[data-scr="s00"] a:hover svg, #twm-app[data-scr="s00"] a:hover .arr {

  transform: translateX(4px);

}



/* --- 4. CATALOG & SHOPPING CARDS (#/catalog & #/shop) --- */

.sc-pc {

  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 251, 255, 0.92) 100%) !important;

  backdrop-filter: blur(20px) !important;

  -webkit-backdrop-filter: blur(20px) !important;

  border: 1px solid rgba(255, 255, 255, 0.95) !important;

  border-radius: 22px !important;

  box-shadow: 0 12px 30px -6px rgba(0, 0, 0, 0.05), 0 2px 8px rgba(106, 76, 245, 0.04), inset 0 1px 1px #fff !important;

  padding: 16px 14px 18px !important;

  position: relative !important;

  overflow: hidden !important;

  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease !important;

  will-change: transform;

}

.sc-pc:hover {

  transform: translateY(-7px) scale(1.028) !important;

  box-shadow: 0 24px 46px -8px rgba(106, 76, 245, 0.22), 0 0 0 1.5px rgba(106, 76, 245, 0.4) !important;

  border-color: rgba(106, 76, 245, 0.4) !important;

}



/* Floating Device in Catalog */

.sc-pimg img, .sc-pc img {

  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.09)) !important;

  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease !important;

  will-change: transform;

}

.sc-pc:hover .sc-pimg img, .sc-pc:hover img {

  transform: scale(1.08) translateY(-4px) !important;

  filter: drop-shadow(0 18px 28px rgba(106, 76, 245, 0.24)) !important;

}



/* Hologram Tag for Catalog Cards */

.sc-pc::before {

  content: "0% TRẢ GÓP";

  position: absolute;

  top: 10px;

  left: 10px;

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 0.04em;

  padding: 3px 8px;

  border-radius: 6px;

  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);

  color: #c4b5fd;

  box-shadow: 0 2px 8px rgba(49, 46, 129, 0.35);

  z-index: 2;

  pointer-events: none;

}



/* Catalog Price Tag */

.sc-price {

  background: linear-gradient(135deg, #6A4CF5 0%, #EE4FA6 100%) !important;

  -webkit-background-clip: text !important;

  -webkit-text-fill-color: transparent !important;

  font-weight: 800 !important;

  font-size: 16px !important;

  font-variant-numeric: tabular-nums !important;

  letter-spacing: -0.02em !important;

}



/* Catalog Search Bar - Futuristic Glass */

#sc-search, .sc-search {

  background: rgba(255, 255, 255, 0.95) !important;

  backdrop-filter: blur(20px) !important;

  border: 1.5px solid rgba(106, 76, 245, 0.3) !important;

  border-radius: 30px !important;

  box-shadow: 0 8px 24px -4px rgba(106, 76, 245, 0.1), inset 0 1px 1px #fff !important;

  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;

}

#sc-search:focus-within, .sc-search:focus-within {

  border-color: #6A4CF5 !important;

  box-shadow: 0 12px 32px -4px rgba(106, 76, 245, 0.25), 0 0 0 3px rgba(106, 76, 245, 0.2) !important;

}



/* Filter Pills in Catalog */

.sc-pills button, select[data-sc-f] {

  background: rgba(255, 255, 255, 0.92) !important;

  border: 1px solid rgba(106, 76, 245, 0.2) !important;

  border-radius: 20px !important;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;

  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;

}

.sc-pills button:hover, select[data-sc-f]:hover {

  border-color: #6A4CF5 !important;

  transform: translateY(-1px) !important;

  box-shadow: 0 6px 16px rgba(106, 76, 245, 0.15) !important;

}



/* --- 5. PRODUCT DETAIL SCREEN (#/product?id=...) --- */

.pdp-main, .sc-detail {

  background: rgba(255, 255, 255, 0.95) !important;

  backdrop-filter: blur(24px) !important;

  border: 1px solid rgba(255, 255, 255, 0.9) !important;

  border-radius: 26px !important;

  box-shadow: 0 20px 48px -10px rgba(106, 76, 245, 0.12), inset 0 1px 1px #fff !important;

}

.pdp-gallery img {

  filter: drop-shadow(0 20px 32px rgba(0, 0, 0, 0.12));

  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);

}

.pdp-gallery img:hover {

  transform: scale(1.05) rotate(1deg);

}



/* Variant & Storage Pills */

.pdp-opt button, .sc-variant {

  border-radius: 12px !important;

  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;

}

.pdp-opt button.on, .sc-variant.on {

  background: #6A4CF5 !important;

  color: #fff !important;

  box-shadow: 0 6px 18px rgba(106, 76, 245, 0.45) !important;

  transform: scale(1.04) !important;

}



/* Add to Cart / Buy Now CTA */

.pdp-buy, .sc-buy-btn {

  background: linear-gradient(135deg, #6A4CF5 0%, #8B5CF6 50%, #EC4899 100%) !important;

  border-radius: 16px !important;

  box-shadow: 0 10px 28px -3px rgba(106, 76, 245, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;

  font-weight: 800 !important;

  letter-spacing: -0.01em !important;

  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease !important;

  position: relative !important;

  overflow: hidden !important;

}

.pdp-buy:hover, .sc-buy-btn:hover {

  transform: translateY(-2px) scale(1.025) !important;

  box-shadow: 0 16px 36px -3px rgba(106, 76, 245, 0.7) !important;

}



/* --- 6. ORDERS SCREEN (#/orders) --- */

#twm-app[data-scr="orders"] .twm-empty,

#twm-app[data-scr="orders"] .sc-card {

  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 251, 255, 0.92) 100%) !important;

  border: 1px solid rgba(255, 255, 255, 0.9) !important;

  border-radius: 24px !important;

  box-shadow: 0 16px 40px -8px rgba(106, 76, 245, 0.1), inset 0 1px 1px #fff !important;

}

#twm-app[data-scr="orders"] .twm-empty img,

#twm-app[data-scr="orders"] .empty img {

  animation: floatBob 3.5s infinite ease-in-out;

}

@keyframes floatBob {

  0%, 100% { transform: translateY(0); }

  50% { transform: translateY(-8px); }

}



/* --- 7. BARCODE CVS PAYMENTS SCREEN (#/s05) --- */

.tw5-bc, .s05-barcode-box {

  background: #fff !important;

  border: 2px dashed rgba(106, 76, 245, 0.3) !important;

  border-radius: 20px !important;

  box-shadow: 0 12px 32px rgba(106, 76, 245, 0.12) !important;

  position: relative !important;

  overflow: hidden !important;

}



/* Laser scan simulation bar */

.tw5-bc::before, .s05-barcode-box::before {

  content: "";

  position: absolute;

  top: 0;

  left: 0;

  right: 0;

  height: 2px;

  background: linear-gradient(90deg, transparent, #EE4FA6, #6A4CF5, transparent);

  box-shadow: 0 0 8px #6A4CF5;

  animation: laserScan 2.5s infinite ease-in-out;

  z-index: 5;

  pointer-events: none;

}

@keyframes laserScan {

  0%, 100% { top: 5%; opacity: 0.3; }

  50% { top: 95%; opacity: 1; }

}



/* --- 8. GLOBAL BUTTER-SMOOTH HARDWARE ACCELERATION --- */

.car, .pr, .shp-row, .sc-grid, .tl {

  -webkit-overflow-scrolling: touch !important;

  scroll-behavior: smooth !important;

  contain: layout style !important;

}





/* ==========================================================================

   TW PAY SHOP & CATALOG NEXT-LEVEL FINTECH ELEVATION 2026

   ========================================================================== */

.sc-grid {

  display: grid !important;

  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)) !important;

  gap: 16px !important;

}

@media (max-width: 600px) {

  .sc-grid {

    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    gap: 12px !important;

  }

}

.sc-pc {

  display: flex !important;

  flex-direction: column !important;

  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 251, 255, 0.94) 100%) !important;

  border: 1px solid rgba(255, 255, 255, 0.95) !important;

  border-radius: 22px !important;

  padding: 14px 12px 16px !important;

  box-shadow: 0 10px 28px -6px rgba(0, 0, 0, 0.05), 0 2px 8px rgba(106, 76, 245, 0.04), inset 0 1px 1px #fff !important;

  position: relative !important;

  overflow: hidden !important;

  min-height: 290px !important;

  height: auto !important;

  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease !important;

  will-change: transform;

}

.sc-pc:hover {

  transform: translateY(-6px) scale(1.025) !important;

  box-shadow: 0 22px 46px -8px rgba(106, 76, 245, 0.22), 0 0 0 1.5px rgba(106, 76, 245, 0.45) !important;

  border-color: rgba(106, 76, 245, 0.45) !important;

}

.sc-pimg {

  width: 100% !important;

  aspect-ratio: 1 / 1 !important;

  display: flex !important;

  align-items: center !important;

  justify-content: center !important;

  background: linear-gradient(180deg, #f7f5ff 0%, #ffffff 100%) !important;

  border-radius: 16px !important;

  margin-bottom: 10px !important;

  overflow: hidden !important;

}

.sc-pimg img {

  width: 86% !important;

  height: 86% !important;

  object-fit: contain !important;

  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.08)) !important;

  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease !important;

  will-change: transform;

}

.sc-pc:hover .sc-pimg img {

  transform: scale(1.08) translateY(-4px) !important;

  filter: drop-shadow(0 16px 26px rgba(106, 76, 245, 0.22)) !important;

}

.sc-bnpl-pill {

  display: inline-flex;

  align-items: center;

  gap: 4px;

  background: rgba(106, 76, 245, 0.08);

  color: #6A4CF5;

  border: 1px solid rgba(106, 76, 245, 0.22);

  border-radius: 7px;

  padding: 3px 8px;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: -0.01em;

  margin-top: 5px;

  line-height: 1.2;

}

.sc-pr-row {

  display: flex;

  flex-direction: column;

  gap: 2px;

  margin-top: auto;

  padding-top: 6px;

}

.sc-pname {

  font-size: 14.5px !important;

  font-weight: 800 !important;

  line-height: 1.3 !important;

  color: #1a1e36 !important;

  margin-top: 2px !important;

}

.sc-brand {

  font-size: 11px !important;

  text-transform: uppercase !important;

  letter-spacing: 0.05em !important;

  color: #6A4CF5 !important;

  font-weight: 800 !important;

}





/* ==========================================================================

   FIX CRITICAL BUG: Mobile Home Product Row Height Collapse (.hmx .shop)

   ========================================================================== */

@media (max-width: 768px) {

  /* Allow natural scrolling on mobile home so no sections get squished */

  #twm-app .hmx {

    min-height: 100dvh !important;

    height: auto !important;

    padding-bottom: 84px !important;

    overflow-y: visible !important;

  }

  #twm-app .hmx .m {

    height: auto !important;

    max-height: none !important;

    min-height: 0 !important;

    overflow: visible !important;

    flex: none !important;

    margin-bottom: 24px !important;

    gap: 12px !important;

  }

  /* Fix Shop section container on mobile home */

  #twm-app .hmx .shop {

    flex: none !important;

    height: auto !important;

    min-height: 220px !important;

    display: flex !important;

    flex-direction: column !important;

    overflow: visible !important;

    padding: 12px 0 14px 14px !important;

    background: #fff !important;

    border-radius: 20px !important;

    box-shadow: 0 4px 18px rgba(70,50,180,0.06) !important;

  }

  #twm-app .hmx .shop .sh {

    margin-bottom: 10px !important;

    padding-right: 14px !important;

  }

  /* Fix Product Row */

  #twm-app .hmx .shop .pr {

    flex: none !important;

    display: flex !important;

    flex-direction: row !important;

    gap: 12px !important;

    overflow-x: auto !important;

    -webkit-overflow-scrolling: touch !important;

    padding: 4px 14px 10px 2px !important;

    scrollbar-width: none !important;

    height: auto !important;

    min-height: 165px !important;

    align-items: stretch !important;

  }

  #twm-app .hmx .shop .pr::-webkit-scrollbar {

    display: none !important;

  }

  /* Fix Individual Product Card */

  #twm-app .hmx .pc {

    flex: 0 0 120px !important;

    width: 120px !important;

    min-width: 120px !important;

    min-height: 160px !important;

    height: auto !important;

    display: flex !important;

    flex-direction: column !important;

    justify-content: space-between !important;

    align-items: center !important;

    padding: 10px 8px !important;

    border-radius: 16px !important;

    background: #ffffff !important;

    border: 1px solid rgba(220, 224, 240, 0.8) !important;

    box-shadow: 0 4px 12px rgba(80, 70, 180, 0.05) !important;

    text-decoration: none !important;

    box-sizing: border-box !important;

    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;

  }

  #twm-app .hmx .pc:active {

    transform: scale(0.96) !important;

  }

  /* Force image to always display with full 82px height */

  #twm-app .hmx .pc img {

    flex: none !important;

    width: 82px !important;

    height: 82px !important;

    min-height: 82px !important;

    max-height: 82px !important;

    object-fit: contain !important;

    margin: 0 auto 6px !important;

    display: block !important;

    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.08)) !important;

  }

  #twm-app .hmx .pc .n {

    font-size: 12.5px !important;

    font-weight: 700 !important;

    color: #1e293b !important;

    text-align: center !important;

    white-space: nowrap !important;

    overflow: hidden !important;

    text-overflow: ellipsis !important;

    width: 100% !important;

    line-height: 1.25 !important;

  }

  #twm-app .hmx .pc .p {

    font-size: 13.5px !important;

    font-weight: 800 !important;

    color: #6366f1 !important;

    text-align: center !important;

    margin-top: 4px !important;

    width: 100% !important;

  }

  /* Fix Partners section spacing */

  #twm-app .hmx .pt {

    margin-top: 4px !important;

    padding: 10px 12px !important;

  }

}





/* ==========================================================================

   COMPREHENSIVE UI UPGRADE & BUG FIXES 2026-11-09

   Fixes across Desktop & Mobile:

   1. Brand logo size in promotional banners (prevent circle stretching)

   2. PDP Sticky Bar Overlap on Mobile & Floating Footer on Desktop

   3. PDP Summary & Gallery scrollbars on Desktop (no clipped buttons)

   4. Orders screen Desktop button width (max 360px) & centered empty state

   5. Mobile bottom nav bar comfortable height & safe padding

   6. Corridor selection screen (s00) spacing & clean banner containment

   7. Toast notification positioning above bottom bars

   ========================================================================== */



/* 1. Prevent banner brand logo from stretching */

.twp-editorial-brand img,

.twp-mobile-stage .twp-editorial-brand img,

.car.bv2-car .twp-editorial-brand img,

.tw5-slide .twp-editorial-brand img {

  width: 24px !important;

  height: 24px !important;

  min-width: 24px !important;

  max-width: 24px !important;

  min-height: 24px !important;

  max-height: 24px !important;

  object-fit: contain !important;

  border-radius: 50% !important;

  display: inline-block !important;

  flex: none !important;

}



/* 2 & 3. Product Detail (PDP) Layout Fixes */

@media (min-width: 769px) {

  #twm-app[data-scr="product"] .s11b-footer {

    position: static !important;

    bottom: auto !important;

    left: auto !important;

    right: auto !important;

    z-index: 1 !important;

    background: transparent !important;

    box-shadow: none !important;

    backdrop-filter: none !important;

    padding: 16px 0 32px !important;

    width: 100% !important;

  }

  #twm-app[data-scr="product"] .s11b-sale {

    max-width: 540px !important;

    margin: 0 auto !important;

    display: flex !important;

    flex-direction: column !important;

    gap: 10px !important;

  }

  #twm-app[data-scr="product"] .s11b-summary {

    overflow-y: auto !important;

    scrollbar-width: thin !important;

    padding-bottom: 24px !important;

  }

  #twm-app[data-scr="product"] .s11b-gallery {

    overflow-y: auto !important;

    padding-bottom: 20px !important;

  }

  #twm-app[data-scr="product"] > .twm-main {

    padding-bottom: 60px !important;

  }

}



@media (max-width: 768px) {

  #twm-app[data-scr="product"] > .twm-main {

    padding-bottom: 165px !important;

  }

  #twm-app[data-scr="product"] .s11b-footer {

    position: fixed !important;

    bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;

    left: 0 !important;

    right: 0 !important;

    height: auto !important;

    max-height: 80px !important;

    padding: 8px 14px !important;

    background: rgba(255, 255, 255, 0.96) !important;

    backdrop-filter: blur(16px) !important;

    -webkit-backdrop-filter: blur(16px) !important;

    box-shadow: 0 -4px 20px rgba(70, 50, 180, 0.12) !important;

    border-top: 1px solid rgba(220, 224, 240, 0.8) !important;

    z-index: 99 !important;

    box-sizing: border-box !important;

  }

  #twm-app[data-scr="product"] .s11b-sale {

    display: flex !important;

    flex-direction: row !important;

    align-items: center !important;

    gap: 10px !important;

    width: 100% !important;

    max-width: none !important;

  }

  #twm-app[data-scr="product"] #mx-add {

    flex: 0 0 52px !important;

    width: 52px !important;

    min-width: 52px !important;

    height: 48px !important;

    min-height: 48px !important;

    padding: 0 !important;

    border-radius: 14px !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    margin: 0 !important;

    background: #f1edff !important;

    border: 1.5px solid #d9d1fb !important;

    color: #6A4CF5 !important;

  }

  #twm-app[data-scr="product"] #mx-add span {

    display: none !important;

  }

  #twm-app[data-scr="product"] :is(#sc-buy, #sc-kyc-go, #sc-signin) {

    flex: 1 1 auto !important;

    height: 48px !important;

    min-height: 48px !important;

    margin: 0 !important;

    border-radius: 14px !important;

    font-size: 14.5px !important;

    font-weight: 800 !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    white-space: nowrap !important;

  }

  #twm-app[data-scr="product"] .sc-signin-link, 

  #twm-app[data-scr="product"] a#sc-signin {

    display: none !important;

  }

}



/* 4. Orders Screen Desktop Button Width & Empty State */

@media (min-width: 769px) {

  #twm-app[data-scr="orders"] .twm-cta .twm-btn,

  #twm-app[data-scr="orders"] .twm-main .twm-btn,

  .twm-main.one .twm-btn {

    max-width: 360px !important;

    margin: 16px auto !important;

    display: flex !important;

  }

  #twm-app[data-scr="orders"] .twm-card {

    text-align: center !important;

    max-width: 680px !important;

    margin: 0 auto !important;

  }

  #twm-app[data-scr="orders"] .twm-card h2,

  #twm-app[data-scr="orders"] .twm-card .twm-h2 {

    text-align: center !important;

  }

}



/* 5. Mobile Global Bottom Nav Bar Padding */

@media (max-width: 768px) {

  .hmx .tb, .twm-nav {

    height: 68px !important;

    padding-top: 4px !important;

    padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px)) !important;

    box-sizing: border-box !important;

  }

  .hmx .tb a, .twm-nav a {

    gap: 3px !important;

    height: 100% !important;

    justify-content: center !important;

    font-size: 11.5px !important;

    line-height: 1.1 !important;

  }

}



/* 6. Corridor Screen (s00) Improvements */

#twm-app[data-scr="s00"] .twm-sub {

  margin-bottom: 16px !important;

}

#twm-app[data-scr="s00"] .twp-bv2-shared {

  margin: 12px 0 20px !important;

  border-radius: 18px !important;

  overflow: hidden !important;

}

#twm-app[data-scr="s00"] .twm-flows {

  margin-top: 8px !important;

}



/* 7. Toast notification positioning */

.twm-toast {

  bottom: calc(90px + env(safe-area-inset-bottom, 0px)) !important;

  z-index: 100 !important;

}





/* ==========================================================================

   MASTER UI FIX 2026-11-09 (Full Responsive Polish for Desktop & Mobile)

   ========================================================================== */



/* 1. CRITICAL: Remove containing-block transform on #twm-main so fixed bottom navs lock to viewport */

#twm-app .twm-main {

  animation: none !important;

  transform: none !important;

  -webkit-transform: none !important;

}



/* 2. Global Mobile Bottom Navigation Bar (Home & All Other Screens) */

@media (max-width: 768px) {

  .hmx .tb, .twm-nav {

    position: fixed !important;

    bottom: 0 !important;

    left: 0 !important;

    right: 0 !important;

    height: 66px !important;

    z-index: 9999 !important;

    background: rgba(255, 255, 255, 0.96) !important;

    backdrop-filter: blur(16px) !important;

    -webkit-backdrop-filter: blur(16px) !important;

    box-shadow: 0 -4px 20px rgba(70, 50, 180, 0.10) !important;

    border-top: 1px solid rgba(220, 224, 240, 0.8) !important;

    padding: 6px 0 calc(6px + env(safe-area-inset-bottom, 0px)) !important;

    box-sizing: border-box !important;

    display: flex !important;

    justify-content: space-around !important;

    align-items: center !important;

  }

  .hmx .tb a, .twm-nav a {

    display: flex !important;

    flex-direction: column !important;

    align-items: center !important;

    justify-content: center !important;

    gap: 3px !important;

    height: 100% !important;

    font-size: 11.5px !important;

    font-weight: 800 !important;

    line-height: 1.1 !important;

    color: #64748b !important;

    text-decoration: none !important;

  }

  .hmx .tb a, .twm-nav a, .tb a {

    display: flex !important;

    flex-direction: column !important;

    align-items: center !important;

    justify-content: center !important;

    gap: 3px !important;

    height: 100% !important;

    font-size: 11.5px !important;

    font-weight: 700 !important;

    line-height: 1.1 !important;

    color: #64748b !important;

    text-decoration: none !important;

    background: transparent !important;

    box-shadow: none !important;

    border: none !important;

    outline: none !important;

    -webkit-tap-highlight-color: transparent !important;

  }

  .hmx .tb a.on, .twm-nav a[aria-current="page"], .tb a.on {

    color: #6A4CF5 !important;

    font-weight: 800 !important;

    background: transparent !important;

    box-shadow: none !important;

    border: none !important;

    outline: none !important;

  }

  .hmx .tb a.on img, .twm-nav a[aria-current="page"] img, .tb a.on img {

    transform: scale(1.1) !important;

  }

  .hmx .tb a img, .twm-nav a img {

    width: 24px !important;

    height: 24px !important;

  }

}



/* 3. Desktop Banner Slider Controls (Glass Pill Capsule) */

@media (min-width: 769px) {

  .tw5-ctl {

    display: inline-flex !important;

    align-items: center !important;

    justify-content: center !important;

    gap: 10px !important;

    margin: 14px auto 8px !important;

    padding: 6px 16px !important;

    background: rgba(255, 255, 255, 0.85) !important;

    backdrop-filter: blur(12px) !important;

    border-radius: 999px !important;

    box-shadow: 0 4px 16px rgba(80, 60, 180, 0.08) !important;

    border: 1px solid rgba(220, 224, 240, 0.6) !important;

  }

  .tw5-arw {

    width: 28px !important;

    height: 28px !important;

    border-radius: 50% !important;

    background: rgba(106, 76, 245, 0.08) !important;

    color: #6A4CF5 !important;

    display: grid !important;

    place-items: center !important;

    font-size: 16px !important;

    font-weight: 800 !important;

    line-height: 1 !important;

    border: 0 !important;

    cursor: pointer !important;

    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;

  }

  .tw5-arw:hover {

    background: #6A4CF5 !important;

    color: #fff !important;

    transform: scale(1.08) !important;

  }

  .tw5-arw.pp {

    font-size: 11px !important;

    letter-spacing: 0 !important;

  }

  .tw5-dots {

    display: flex !important;

    align-items: center !important;

    gap: 6px !important;

  }

  .tw5-dots button {

    width: auto !important;

    height: 20px !important;

    padding: 0 2px !important;

    background: none !important;

    border: 0 !important;

    cursor: pointer !important;

  }

  .tw5-dots span {

    display: block !important;

    width: 7px !important;

    height: 7px !important;

    border-radius: 99px !important;

    background: #cbd5e1 !important;

    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;

  }

  .tw5-dots [aria-current] span {

    width: 22px !important;

    background: linear-gradient(90deg, #6A4CF5, #8B5CF6) !important;

  }

}



/* 4. Desktop Service Tiles Elegance */

@media (min-width: 769px) {

  .tw-home02 .tw5-svc a {

    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease !important;

    border: 1px solid rgba(220, 224, 240, 0.7) !important;

  }

  .tw-home02 .tw5-svc a:hover {

    transform: translateY(-3px) scale(1.02) !important;

    box-shadow: 0 10px 24px rgba(80, 60, 180, 0.12) !important;

    border-color: rgba(106, 76, 245, 0.3) !important;

  }

}


/* ==========================================================================
   HELP & SUPPORT SCREEN 2026-11-09 UPGRADE (Fintech Glassmorphism & Aurora)
   ========================================================================== */
#twm-app[data-scr="help"] .twm-head {
  display: none !important;
}
#twm-app[data-scr="help"] .twm-main {
  background: radial-gradient(circle at 10% 10%, rgba(238, 230, 255, 0.7) 0%, rgba(245, 243, 255, 0.3) 50%, #faf8ff 100%) !important;
  min-height: 100dvh !important;
  padding-bottom: 96px !important;
}
.tw-help-pro {
  max-width: 900px;
  margin: 0 auto;
  padding: 16px 16px 40px;
  box-sizing: border-box;
}

/* 1. Hero Header */
.tw-help-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  position: relative;
}
.tw-help-hero-text {
  flex: 1;
}
.tw-help-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tw-help-back {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 1px solid rgba(220, 224, 240, 0.8) !important;
  box-shadow: 0 4px 12px rgba(80, 60, 180, 0.06) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 24px !important;
  color: #1e1b4b !important;
  cursor: pointer !important;
  transition: transform 0.2s ease !important;
  padding: 0 !important;
  line-height: 1 !important;
}
.tw-help-back:active {
  transform: scale(0.92) !important;
}
.tw-help-title {
  font-size: 26px !important;
  font-weight: 850 !important;
  color: #16204a !important;
  margin: 0 !important;
  letter-spacing: -0.02em !important;
}
.tw-help-subtitle {
  margin: 6px 0 0 52px !important;
  font-size: 14.5px !important;
  color: #64748b !important;
  font-weight: 600 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.tw-pill-247 {
  display: inline-flex !important;
  align-items: center !important;
  padding: 2px 8px !important;
  border-radius: 99px !important;
  background: linear-gradient(135deg, #a855f7, #6366f1) !important;
  color: #ffffff !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
.tw-help-mascot-box {
  position: relative;
  width: 140px;
  height: 120px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.tw-help-mascot-img {
  width: 115px !important;
  height: 115px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 10px 20px rgba(106, 76, 245, 0.22)) !important;
  animation: twHelpFloat 4s ease-in-out infinite !important;
}
@keyframes twHelpFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.tw-help-mascot-decor-q {
  position: absolute;
  top: 6px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
}
.tw-help-mascot-decor-chat {
  position: absolute;
  top: 32px;
  right: -4px;
  font-size: 14px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  border: none;
}

/* 2. Quick 4 Action Cards Grid */
.tw-help-grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.tw-hq-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(70, 50, 180, 0.05);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.tw-hq-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 28px rgba(106, 76, 245, 0.12);
}
.tw-hq-ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.tw-hq-card.c-blue .tw-hq-ico { background: #eff6ff; color: #2563eb; }
.tw-hq-card.c-cyan .tw-hq-ico { background: #ecfeff; color: #0891b2; }
.tw-hq-card.c-pink .tw-hq-ico { background: #fdf2f8; color: #db2777; }
.tw-hq-card.c-yellow .tw-hq-ico { background: #fefce8; color: #ca8a04; }
.tw-hq-name {
  font-size: 13.5px;
  font-weight: 800;
  color: #1e1b4b;
  line-height: 1.25;
  flex: 1;
}
.tw-hq-arr {
  font-size: 18px;
  color: #94a3b8;
  font-weight: 700;
}

/* 3. Main Channel Card */
.tw-help-channels-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 28px;
  padding: 10px 24px;
  box-shadow: 0 14px 40px rgba(70, 50, 180, 0.07);
}
.tw-ch-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(241, 245, 249, 0.9);
  text-decoration: none !important;
  color: inherit !important;
  transition: opacity 0.15s ease;
}
.tw-ch-row:last-child {
  border-bottom: none;
}
a.tw-ch-row:hover {
  opacity: 0.85;
}
.tw-ch-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.tw-ch-icon.ic-purple { background: #f3e8ff; color: #9333ea; }
.tw-ch-icon.ic-logo { background: #ffffff; border: 1.5px solid #e2e8f0; }
.tw-ch-icon.ic-fb { background: #1877f2; color: #ffffff; }
.tw-ch-icon.ic-msgr { background: linear-gradient(135deg, #0084ff, #a033ff); color: #ffffff; }
.tw-ch-icon.ic-tele { background: #229ed9; color: #ffffff; }
.tw-ch-icon.ic-phone { background: #dcfce7; color: #16a34a; }
.tw-ch-icon.ic-email { background: #e0f2fe; color: #0284c7; }

.tw-ch-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tw-ch-name {
  font-size: 15px;
  font-weight: 800;
  color: #1e1b4b;
}
.tw-ch-desc {
  font-size: 12.5px;
  color: #64748b;
  font-weight: 500;
}
.tw-ch-arrow {
  font-size: 20px;
  color: #94a3b8;
  font-weight: 700;
}

/* Action Buttons in Channel Rows */
.tw-ch-btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.tw-ch-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  height: 38px !important;
  padding: 0 16px !important;
  border-radius: 99px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  border: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
  white-space: nowrap !important;
}
.tw-ch-btn:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12) !important;
}
.tw-ch-btn:active {
  transform: scale(0.96) !important;
}
.btn-fanpage {
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #f43f5e 100%) !important;
  color: #ffffff !important;
}
.btn-messenger {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%) !important;
  color: #ffffff !important;
}
.btn-telegram {
  background: linear-gradient(135deg, #7c3aed 0%, #ec4899 50%, #f43f5e 100%) !important;
  color: #ffffff !important;
}
.btn-call {
  background: #f0fdf4 !important;
  color: #16a34a !important;
  border: 1px solid #bbf7d0 !important;
}
.btn-copy {
  background: #f8fafc !important;
  color: #334155 !important;
  border: 1px solid #e2e8f0 !important;
}
.btn-copy.copied {
  background: #ecfdf5 !important;
  color: #059669 !important;
  border-color: #a7f3d0 !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .tw-help-pro {
    padding: 12px 12px 110px !important;
  }
  .tw-help-hero {
    margin-bottom: 18px;
  }
  .tw-help-title {
    font-size: 21px !important;
  }
  .tw-help-subtitle {
    margin-left: 0 !important;
    font-size: 13px !important;
    flex-wrap: nowrap !important;
  }
  .tw-help-mascot-box {
    width: 90px;
    height: 90px;
  }
  .tw-help-mascot-img {
    width: 80px !important;
    height: 80px !important;
  }
  .tw-help-grid4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 18px;
  }
  .tw-hq-card {
    padding: 12px 14px;
    border-radius: 16px;
  }
  .tw-hq-ico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .tw-help-channels-card {
    padding: 6px 14px;
    border-radius: 20px;
  }
  /* Navigational rows: keep single-line with arrow on far right */
  a.tw-ch-row {
    flex-wrap: nowrap !important;
    gap: 12px !important;
    padding: 14px 0 !important;
  }
  a.tw-ch-row .tw-ch-text {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  a.tw-ch-row .tw-ch-arrow {
    flex: none !important;
    margin-left: auto !important;
  }
  /* Action rows with buttons: let button wrap below title */
  .tw-ch-static {
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding: 14px 0 !important;
  }
  .tw-ch-static .tw-ch-text {
    flex: 1 1 calc(100% - 60px) !important;
  }
  .tw-ch-static .tw-ch-btn, .tw-ch-static .tw-ch-btn-group {
    margin-left: 54px !important;
    width: calc(100% - 54px) !important;
    justify-content: center !important;
  }
  .tw-ch-static .tw-ch-btn-group .tw-ch-btn {
    flex: 1 !important;
    margin-left: 0 !important;
  }
}
/* ==== money/assets/ui-fix-20261109.css ==== */
/* UIFIX-20261109 — UI-only fixes (QA 09/11) */
/* 1. #/inst product picker: Aurora cards instead of bare links */
.twm-ipick{list-style:none;margin:14px 0 0;padding:0;display:grid;grid-template-columns:1fr;gap:10px;text-align:left}
@media(min-width:681px){.twm-ipick{grid-template-columns:repeat(2,minmax(0,1fr))}}
.twm-ipick li{margin:0;padding:0}
.twm-ipick .twm-ipc{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--twm-line,#e6e2fb);border-radius:16px;background:#fff;color:var(--twm-navy,#16204a);text-decoration:none!important;box-shadow:0 6px 18px -12px rgba(76,52,180,.35);transition:transform .15s,box-shadow .15s,border-color .15s}
.twm-ipick .twm-ipc:hover,.twm-ipick .twm-ipc:focus-visible{border-color:#8b5cf6;box-shadow:0 10px 24px -12px rgba(124,58,237,.45);transform:translateY(-1px)}
.twm-ipick .im{flex:none;width:64px;height:64px;border-radius:12px;background:linear-gradient(135deg,#f4f1ff,#eef6ff);display:grid;place-items:center;overflow:hidden}
.twm-ipick .im img{width:56px;height:56px;object-fit:contain}
.twm-ipick .tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.twm-ipick .nm{font-weight:800;font-size:14px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.twm-ipick .pr{font-weight:800;font-size:14px;color:#7c3aed}
.twm-ipick .go{flex:none;padding:7px 14px;border-radius:999px;font-weight:800;font-size:13px;color:#fff;background:linear-gradient(90deg,#1e6bff,#e83e8c 70%,#ff8a3d)}
/* 4. shop / catalog grid: product names up to 3 lines, equal card height */
#twm-app[data-scr=shop] .shp-pc .nm{-webkit-line-clamp:3!important;min-height:calc(3 * 1.35em)!important}
#twm-app .sc-pc .sc-pname{-webkit-line-clamp:3;line-clamp:3}
/* 3. PDP desktop: sale bar inline in right column, not fixed over gallery */
@media(min-width:901px){
 #twm-app[data-scr="product"] .s11b-footer{position:static!important;left:auto!important;right:auto!important;bottom:auto!important;z-index:auto!important;background:transparent!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none!important;padding:0!important;max-width:none!important;width:100%!important;margin:12px 0 0!important}
 #twm-app[data-scr="product"] .s11b-summary>.s11b-footer .s11b-sale{max-width:none!important;margin:0!important}
 #twm-app[data-scr="product"]>.twm-main{padding-bottom:24px!important}
}
/* 1b. #/inst store logos: readable size */
.twm-istores li{min-height:56px!important;padding:6px!important}
.twm-istores img{height:40px!important;max-width:120px!important;width:100%!important;object-fit:contain!important}
/* UIFIX2-20261109 */
/* 2. unconfirmed trust badges are not shown */
#twm-app .s11b-trust-badges{display:none!important}
/* 4a. mobile catalog / page titles: wrap instead of cutting with "…" */
@media(max-width:600px){
 #twm-app .twm-head .twm-h1{white-space:normal!important;text-overflow:clip!important;overflow:hidden!important;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;font-size:clamp(18px,5.4vw,23px)!important;line-height:1.15!important;overflow-wrap:anywhere}
}
/* 4b. mobile sign-in gate: last link must not sit behind the bottom nav */
@media(max-width:600px){
 #twm-app[data-scr=login] .mx-link{min-height:42px!important;padding-top:2px!important;padding-bottom:2px!important;line-height:1.25!important}
 #twm-app[data-scr=login]>.twm-main{padding-bottom:calc(16px + env(safe-area-inset-bottom))!important;scroll-padding-bottom:16px}
}
@media(max-width:600px){
 #twm-app[data-scr=login] .mx-card form{row-gap:10px!important}
 #twm-app[data-scr=login] .mx-card .twm-field{margin-bottom:0!important}
 #twm-app[data-scr=login] .mx-card .twm-lbl{margin-bottom:2px!important}
 #twm-app[data-scr=login] .mx-card .twm-input{height:44px!important;min-height:44px!important}
 #twm-app[data-scr=login] .twm-note{padding-top:8px!important;padding-bottom:8px!important}
}
/* 3. product-page installment line: amount on one line, fee note under it */
#twm-app .s11b-installment-teaser{display:flex!important;flex-wrap:wrap;align-items:baseline;gap:2px 6px;max-width:100%}
#twm-app .s11b-installment-teaser small{flex-basis:100%;font-size:11.5px;opacity:.85}
/* 1b. phones/tablets (<1024px): screens are fixed-height, so a floating chat button always covers
   a primary button (Send / Next page / last link). Same rule the site already uses for the mascot.
   Support stays reachable via the "Hỗ trợ" tile on home and #/help. */
@media(max-width:1023px){#tw-float-support{display:none!important}}
/* 5. UIFIX3: PDP. s11b-product.css:9 sets .mx-content{overflow:hidden} inside a fixed-height main (body is overflow:hidden),
   so content below the fold could never be reached: on mobile the name/price/installment line/options sit under the
   fixed buy bar; on desktop the KYC button and the spec/condition/warranty pages are cut off.
   Make .mx-content the scroll area; on <=900px add an end spacer under the fixed buy bar (height set by ui-fix JS). */
#twm-app[data-scr="product"]>.twm-main .mx-content{overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
@media(max-width:900px){
 #twm-app[data-scr="product"] .s11b-pages::after{content:"";display:block;flex:0 0 var(--uifix-pdp-pad,240px);height:var(--uifix-pdp-pad,240px);pointer-events:none}
}
/* ==== money/assets/effects-20261109.css ==== */
/* TW PAY effects 20261109 — progressive enhancement only. No business logic. */
:root{
  --fx-grad:linear-gradient(100deg,#2f6bff 0%,#7a4cf5 38%,#ee4fa6 72%,#ff8a3d 100%);
  --fx-lift:0 8px 16px rgba(22,32,74,.08),0 20px 40px rgba(74,60,170,.16);
}

/* —— 2. Product card hover lift + gradient border —— */
#twm-app a.shp-pc,
#twm-app a.sc-pc,
#twm-app a.tw5-pc,
#twm-app a.h2-pc,
#twm-app a.pc,
#twm-app a.twm-ipc{
  position:relative;
  transition:transform .2s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color:transparent;
}
#twm-app a.shp-pc::before,
#twm-app a.sc-pc::before,
#twm-app a.tw5-pc::before,
#twm-app a.h2-pc::before,
#twm-app a.pc::before,
#twm-app a.twm-ipc::before{
  content:"";position:absolute;inset:-1.5px;border-radius:inherit;padding:1.5px;
  background:var(--fx-grad);
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
  opacity:0;transition:opacity .22s ease;pointer-events:none;z-index:0;
}
#twm-app a.shp-pc:hover,
#twm-app a.sc-pc:hover,
#twm-app a.tw5-pc:hover,
#twm-app a.h2-pc:hover,
#twm-app a.pc:hover,
#twm-app a.twm-ipc:hover{
  transform:translateY(-4px)!important;
  box-shadow:var(--fx-lift)!important;
  z-index:2;
}
#twm-app a.shp-pc:hover::before,
#twm-app a.sc-pc:hover::before,
#twm-app a.tw5-pc:hover::before,
#twm-app a.h2-pc:hover::before,
#twm-app a.pc:hover::before,
#twm-app a.twm-ipc:hover::before{opacity:1}
#twm-app a.shp-pc:active,
#twm-app a.sc-pc:active,
#twm-app a.tw5-pc:active,
#twm-app a.h2-pc:active,
#twm-app a.pc:active,
#twm-app a.twm-ipc:active{
  transform:translateY(1px) scale(.985)!important;
  box-shadow:0 1px 4px rgba(22,32,74,.08)!important;
}

/* —— 3. Skeleton shimmer (enhance existing .twm-skel) —— */
#twm-app .twm-skel{
  background:linear-gradient(90deg,#ebe8f8 25%,#f7f5ff 50%,#ebe8f8 75%)!important;
  background-size:200% 100%!important;
  animation:fxShim 1.2s ease-in-out infinite!important;
}
@keyframes fxShim{0%{background-position:200% 0}100%{background-position:-200% 0}}

/* —— 4. Primary button light sweep —— */
#twm-app .twm-btn:not(.ghost){
  position:relative;
  overflow:hidden;
}
#twm-app .twm-btn:not(.ghost)::after{
  content:"";position:absolute;top:0;left:-45%;width:40%;height:100%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.42),transparent);
  transform:skewX(-20deg);pointer-events:none;
  animation:fxSweep 3.6s ease-in-out infinite;
}
#twm-app .twm-btn:not(.ghost)[disabled]::after,
#twm-app .twm-btn:not(.ghost)[aria-disabled="true"]::after,
#twm-app .twm-btn:not(.ghost)[aria-busy="true"]::after{animation:none;opacity:0}
@keyframes fxSweep{0%,38%{left:-45%}72%{left:120%}100%{left:120%}}

/* —— 5. Toast success polish + confetti canvas —— */
.twm-toast.fx-toast-ok{
  display:flex!important;align-items:center;gap:10px;
  padding-left:14px!important;
}
.twm-toast.fx-toast-ok .fx-check{
  flex:none;width:28px;height:28px;border-radius:50%;
  background:#e8f8f0;display:grid;place-items:center;
}
.twm-toast.fx-toast-ok .fx-check svg{width:16px;height:16px;display:block}
.twm-toast.fx-toast-ok .fx-check .fx-path{
  fill:none;stroke:#16a36a;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:28;stroke-dashoffset:28;animation:fxDraw .5s ease forwards;
}
@keyframes fxDraw{to{stroke-dashoffset:0}}
#fx-confetti{
  position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:9998;
}

/* —— 6. Scroll reveal —— */
#twm-app .fx-reveal{
  opacity:0;transform:translateY(22px);
  transition:opacity .5s ease, transform .5s ease;
  will-change:opacity,transform;
}
#twm-app .fx-reveal.fx-in{opacity:1;transform:none;will-change:auto}

/* —— 6b. Mascot wave (existing #tw-support-mascot / .tw3-mascot) —— */
#tw-support-mascot.fx-wave img,
img.tw3-mascot.fx-wave,
#tw3-help-mascot.fx-wave{
  transform-origin:70% 80%;
  animation:fxWave .9s ease-in-out 1;
}
@keyframes fxWave{
  0%,100%{transform:rotate(0)}
  20%{transform:rotate(14deg)}
  40%{transform:rotate(-8deg)}
  60%{transform:rotate(10deg)}
  80%{transform:rotate(-4deg)}
}

@media (prefers-reduced-motion: reduce){
  #twm-app a.shp-pc,
  #twm-app a.sc-pc,
  #twm-app a.tw5-pc,
  #twm-app a.h2-pc,
  #twm-app a.pc,
  #twm-app a.twm-ipc,
  #twm-app a.shp-pc:hover,
  #twm-app a.sc-pc:hover,
  #twm-app a.tw5-pc:hover,
  #twm-app a.h2-pc:hover,
  #twm-app a.pc:hover,
  #twm-app a.twm-ipc:hover{transform:none!important;transition:none!important}
  #twm-app a.shp-pc::before,
  #twm-app a.sc-pc::before,
  #twm-app a.tw5-pc::before,
  #twm-app a.h2-pc::before,
  #twm-app a.pc::before,
  #twm-app a.twm-ipc::before{opacity:0!important;transition:none!important}
  #twm-app .twm-skel{animation:none!important}
  #twm-app .twm-btn:not(.ghost)::after{animation:none!important;display:none!important}
  #twm-app .fx-reveal{opacity:1!important;transform:none!important;transition:none!important}
  #tw-support-mascot.fx-wave img,
  img.tw3-mascot.fx-wave,
  #tw3-help-mascot.fx-wave{animation:none!important}
  .twm-toast.fx-toast-ok .fx-check .fx-path{stroke-dashoffset:0;animation:none}
}
/* ==== money/assets/banner-premium-20261109/premium.css ==== */
/* TW PAY Premium: scoped banner artwork and motion only. */
.twp-editorial{--ink:#10283e;--muted:#4c6171;--surface:#e6eff5;position:relative;isolation:isolate;width:100%;height:100%;overflow:hidden;background:var(--surface);color:var(--ink);line-height:1.2;font-family:Nunito,system-ui,sans-serif;container-type:inline-size;text-align:left}
.twp-editorial *{box-sizing:border-box}
.twp-editorial-iphone{--surface:#2b1e25;--ink:#fff8f2;--muted:#e2cdd3;background:linear-gradient(160deg,#21171e,#473039 78%,#665057)}
.twp-editorial-xiaomi{--surface:#deded7;--ink:#233a30;--muted:#4c5b50}
.twp-editorial-macbook{--surface:#e4eff5;--ink:#123a50;--muted:#3c6276;background:radial-gradient(ellipse at 90% 80%,#cadfea,transparent 65%),#e8f1f5}
.twp-editorial-remit{--surface:#e8e7f5;--ink:#27264e;--muted:#545377;background:radial-gradient(ellipse at 90% 40%,#d4d4ed,transparent 60%),#eeedf8}
.twp-editorial-stores{--surface:#e7eee8;--ink:#153d36;--muted:#3f655b;background:radial-gradient(ellipse at 85% 65%,#cadfd2,transparent 65%),#eef4ef}
.twp-editorial-copy{position:relative;z-index:2;padding:5% 5.5%;height:100%;display:flex;flex-direction:column;justify-content:space-between;width:65%;pointer-events:none}
.twp-editorial-brand{display:flex;align-items:center;gap:7px;font-size:clamp(12px,2.5cqw,17px);font-weight:900;letter-spacing:.02em;color:var(--ink);line-height:1}
.twp-editorial .twp-editorial-brand img{width:clamp(18px,4.4cqw,28px)!important;height:clamp(18px,4.4cqw,28px)!important;object-fit:contain!important;flex:none;filter:none!important}
.twp-editorial-heading{padding-bottom:2.5%}
.twp-editorial .twp-editorial-heading h2{color:var(--ink)!important;font-size:clamp(23px,6.3cqw,42px)!important;font-weight:900!important;line-height:1.08!important;letter-spacing:-.035em!important;margin:0 0 9px!important;white-space:normal;overflow-wrap:normal}
.twp-editorial .twp-editorial-heading p{color:var(--muted)!important;font-size:clamp(13px,2.8cqw,18px)!important;font-weight:700!important;line-height:1.25!important;letter-spacing:0!important;margin:0!important;max-width:95%;text-wrap:balance}
.twp-editorial-art{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;transform:translateZ(0)}
.twp-editorial .twp-editorial-photo{position:absolute;right:0;top:0;width:58%!important;height:100%!important;object-fit:cover!important;object-position:center 33%;mask-image:linear-gradient(90deg,transparent,#000 27%);-webkit-mask-image:linear-gradient(90deg,transparent,#000 27%);user-select:none}
.twp-editorial-iphone .twp-editorial-photo{right:-3%;width:57%!important;object-position:54% 27%}
.twp-editorial-xiaomi .twp-editorial-photo{width:100%!important;mask-image:linear-gradient(90deg,transparent 25%,#000 56%);-webkit-mask-image:linear-gradient(90deg,transparent 25%,#000 56%);object-position:center}
.twp-editorial-xiaomi .twp-editorial-copy{width:60%}
.twp-editorial-macbook .twp-editorial-photo{right:-2%;top:10%;width:62%!important;height:88%!important;object-fit:contain!important;object-position:center;mask-image:none;-webkit-mask-image:none;filter:drop-shadow(0 10px 9px rgba(27,65,86,.12))}
.twp-bank-scene{position:absolute;inset:4% 3% 6% 57%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5%;transform:rotate(-5deg)}
.twp-editorial .twp-plane{width:48%!important;height:48%!important;object-fit:contain!important;filter:drop-shadow(0 10px 8px rgba(63,52,132,.13))}
.twp-bank-logos{display:grid;grid-template-columns:1fr 1fr;gap:5px;width:100%;align-items:center;background:rgba(255,255,255,.74);padding:9px;border-radius:13px;box-shadow:0 5px 20px rgba(48,43,104,.06);transform:rotate(5deg)}
.twp-editorial .twp-bank-logos img{width:100%!important;height:32px!important;object-fit:contain!important;min-width:0}
.twp-store-scene{position:absolute;inset:10% 3% 10% 57%;display:grid;grid-template-columns:1fr 1fr;align-content:center;gap:8px;transform:rotate(-5deg)}
.twp-store-logo{padding:9px;background:#fff;border-radius:14px;box-shadow:0 9px 18px rgba(27,75,56,.08);display:flex;align-items:center;justify-content:center;min-width:0;aspect-ratio:1.3}
.twp-store-logo:last-child{grid-column:1/-1;width:55%;justify-self:center;aspect-ratio:1.8}
.twp-editorial .twp-store-logo img{width:100%!important;height:100%!important;object-fit:contain!important;max-height:60px}
a.bv2,a.bv2m{text-decoration:none!important}
.tw5-slide>a.bv2{box-shadow:none!important;border:1px solid rgba(255,255,255,.54)!important;border-radius:20px!important;isolation:isolate}
.tw5-hero .tw5-track{transition:transform 700ms cubic-bezier(.22,.75,.18,1)!important;will-change:transform}
.tw5-hero .tw5-slide{transition:opacity 600ms ease;opacity:.7}
.tw5-hero .tw5-slide.twp-visible{opacity:1}
.tw5-hero .tw5-ctl{display:flex!important;position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;top:auto!important;transform:none!important;justify-content:center;align-items:center;gap:0;margin:0!important;height:36px!important;min-height:36px!important;z-index:3}
.tw5-hero .tw5-dots{display:flex;align-items:center;gap:0}
.tw5-hero .tw5-dots button{width:44px!important;height:44px!important;min-height:44px!important;display:grid;place-items:center;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
.tw5-hero .tw5-dots button span{height:5px;width:5px;border-radius:8px;background:#a9a4bf;transition:width .5s cubic-bezier(.2,.7,.2,1),background .4s}
.tw5-hero .tw5-dots button[aria-current=true] span{width:22px;background:#6756c9}
#twm-app .tw5-hero .tw5-ctl .tw5-arw{display:grid!important;place-items:center;background:none!important;border:0!important;box-shadow:none!important;color:#3f3c68!important;width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;font-size:22px!important;border-radius:10px!important}
.tw5-hero .tw5-arw.pp{font-size:12px!important}
.tw5-hero button:focus-visible{outline:2px solid #6756c9;outline-offset:-4px}
.tw5-hero .tw5-slide.twp-enter .twp-editorial-heading{animation:twp-type-enter 700ms cubic-bezier(.2,.7,.2,1) both}
.tw5-hero .tw5-slide.twp-enter .twp-editorial-art{animation:twp-photo-settle 6500ms cubic-bezier(.15,.5,.2,1) both}
.tw5-hero.twp-motion-paused .twp-editorial-art{animation-play-state:paused!important}
@keyframes twp-type-enter{from{opacity:.3;transform:translate3d(0,9px,0)}to{opacity:1;transform:translateZ(0)}}
@keyframes twp-photo-settle{from{transform:scale(1.025)}to{transform:scale(1)}}
@media(min-width:769px){.tw-home02 .tw5-vp{box-shadow:none!important;overflow:hidden}.tw-home02 .tw5-hero{margin-bottom:-4px}}
@media(min-width:1024px){.tw5-hero .tw5-dots button:last-child{display:none!important}}
.twp-mobile-stage{position:relative;min-width:0;width:100%}
.twp-mobile-play{position:absolute!important;left:263px;right:auto;bottom:0;width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;box-shadow:none!important;color:#3d345f!important;z-index:4;font-size:11px!important;display:grid;place-items:center;line-height:1!important;isolation:isolate}
.twp-mobile-play:before{content:'';position:absolute;width:26px;height:26px;background:rgba(255,255,255,.88);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.7);border-radius:50%;z-index:-1}
.twp-mobile-play:focus-visible{outline:2px solid #6756c9;outline-offset:-5px}
@media(max-width:768px){
 .car.bv2-car,.twp-bv2-shared-phone .car.bv2-car{height:118px!important;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain}
 .car.bv2-car .sl.bv2m{aspect-ratio:2.6!important;flex:0 0 auto!important;width:auto!important;max-width:none!important;height:100%!important;position:relative;padding:0!important;overflow:hidden!important;border:1px solid rgba(255,255,255,.6)!important;border-radius:18px!important;scroll-snap-align:start;scroll-snap-stop:always;line-height:normal!important}
 .twp-editorial-copy{padding:11px 15px 17px;width:64%}
 .twp-editorial-brand{font-size:10px;gap:4px}
 .twp-editorial .twp-editorial-brand img{width:16px!important;height:16px!important}
 .twp-editorial .twp-editorial-heading h2{font-size:22px!important;margin-bottom:4px!important;line-height:1.07!important}
 .twp-editorial .twp-editorial-heading p{font-size:11.5px!important;line-height:1.2!important;max-width:100%}
 .twp-editorial-heading{padding:0}
 .twp-editorial[lang=th] .twp-editorial-heading h2{font-size:23px!important;line-height:1.16!important}
 .twp-editorial-remit .twp-editorial-copy,.twp-editorial-stores .twp-editorial-copy{width:59%}
 .twp-bank-scene{inset:5% 3% 9% 59%;gap:0;transform:none}
 .twp-editorial .twp-plane{height:43%!important;width:45%!important}
 .twp-bank-logos{padding:5px;gap:3px;border-radius:9px;transform:none}
 .twp-editorial .twp-bank-logos img{height:20px!important}
 .twp-store-scene{inset:8% 3% 9% 59%;gap:5px}
 .twp-store-logo{border-radius:9px;padding:5px}
 .twp-editorial .twp-store-logo img{max-height:35px}
 .car.bv2-car .sl.bv2m .dots{left:15px!important;right:auto!important;transform:none!important;bottom:5px!important;padding:0!important;background:none!important;gap:4px!important;height:4px!important;line-height:0!important}
 .car.bv2-car .sl.bv2m .dots i{height:3px!important;width:4px!important;background:rgba(68,62,92,.25)!important}
 .car.bv2-car .sl.bv2m .dots i.on{width:15px!important;background:#6756c9!important}
 .car.bv2-car .sl.bv2m:has(.twp-editorial-iphone) .dots i{background:rgba(255,248,242,.3)!important}
 .car.bv2-car .sl.bv2m:has(.twp-editorial-iphone) .dots i.on{background:#fff8f2!important}
}
@media(prefers-reduced-motion:reduce){.tw5-hero .tw5-track,.tw5-hero .tw5-slide,.tw5-hero .tw5-dots button span{transition:none!important}.tw5-hero .twp-editorial-art,.tw5-hero .twp-editorial-heading{animation:none!important;transform:none!important}.car.bv2-car{scroll-behavior:auto!important}}

/* Isolate live-text artwork from legacy Shop rules that size every banner image. */
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial{--ink:#10283e;--muted:#4c6171;--surface:#e6eff5;position:relative;isolation:isolate;width:100%;height:100%;overflow:hidden;background:var(--surface);color:var(--ink);line-height:1.2;font-family:Nunito,system-ui,sans-serif;container-type:inline-size;text-align:left}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial *{box-sizing:border-box}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial-iphone{--surface:#2b1e25;--ink:#fff8f2;--muted:#e2cdd3;background:linear-gradient(160deg,#21171e,#473039 78%,#665057)}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial-xiaomi{--surface:#deded7;--ink:#233a30;--muted:#4c5b50}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial-macbook{--surface:#e4eff5;--ink:#123a50;--muted:#3c6276;background:radial-gradient(ellipse at 90% 80%,#cadfea,transparent 65%),#e8f1f5}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial-remit{--surface:#e8e7f5;--ink:#27264e;--muted:#545377;background:radial-gradient(ellipse at 90% 40%,#d4d4ed,transparent 60%),#eeedf8}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial-stores{--surface:#e7eee8;--ink:#153d36;--muted:#3f655b;background:radial-gradient(ellipse at 85% 65%,#cadfd2,transparent 65%),#eef4ef}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial-copy{position:relative;z-index:2;padding:5% 5.5%;height:100%;display:flex;flex-direction:column;justify-content:space-between;width:65%;pointer-events:none}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial-brand{display:flex;align-items:center;gap:7px;font-size:clamp(12px,2.5cqw,17px);font-weight:900;letter-spacing:.02em;color:var(--ink);line-height:1}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial .twp-editorial-brand img{width:clamp(18px,4.4cqw,28px)!important;height:clamp(18px,4.4cqw,28px)!important;object-fit:contain!important;flex:none;filter:none!important}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial-heading{padding-bottom:2.5%}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial .twp-editorial-heading h2{color:var(--ink)!important;font-size:clamp(23px,6.3cqw,42px)!important;font-weight:900!important;line-height:1.08!important;letter-spacing:-.035em!important;margin:0 0 9px!important;white-space:normal;overflow-wrap:normal}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial .twp-editorial-heading p{color:var(--muted)!important;font-size:clamp(13px,2.8cqw,18px)!important;font-weight:700!important;line-height:1.25!important;letter-spacing:0!important;margin:0!important;max-width:95%;text-wrap:balance}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial-art{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;transform:translateZ(0)}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial .twp-editorial-photo{position:absolute;right:0;top:0;width:58%!important;height:100%!important;object-fit:cover!important;object-position:center 33%;mask-image:linear-gradient(90deg,transparent,#000 27%);-webkit-mask-image:linear-gradient(90deg,transparent,#000 27%);user-select:none}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial-iphone .twp-editorial-photo{right:-3%;width:57%!important;object-position:54% 27%}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial-xiaomi .twp-editorial-photo{width:100%!important;mask-image:linear-gradient(90deg,transparent 25%,#000 56%);-webkit-mask-image:linear-gradient(90deg,transparent 25%,#000 56%);object-position:center}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial-xiaomi .twp-editorial-copy{width:60%}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial-macbook .twp-editorial-photo{right:-2%;top:10%;width:62%!important;height:88%!important;object-fit:contain!important;object-position:center;mask-image:none;-webkit-mask-image:none;filter:drop-shadow(0 10px 9px rgba(27,65,86,.12))}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-bank-scene{position:absolute;inset:4% 3% 6% 57%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5%;transform:rotate(-5deg)}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial .twp-plane{width:48%!important;height:48%!important;object-fit:contain!important;filter:drop-shadow(0 10px 8px rgba(63,52,132,.13))}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-bank-logos{display:grid;grid-template-columns:1fr 1fr;gap:5px;width:100%;align-items:center;background:rgba(255,255,255,.74);padding:9px;border-radius:13px;box-shadow:0 5px 20px rgba(48,43,104,.06);transform:rotate(5deg)}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial .twp-bank-logos img{width:100%!important;height:32px!important;object-fit:contain!important;min-width:0}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-store-scene{position:absolute;inset:10% 3% 10% 57%;display:grid;grid-template-columns:1fr 1fr;align-content:center;gap:8px;transform:rotate(-5deg)}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-store-logo{padding:9px;background:#fff;border-radius:14px;box-shadow:0 9px 18px rgba(27,75,56,.08);display:flex;align-items:center;justify-content:center;min-width:0;aspect-ratio:1.3}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-store-logo:last-child{grid-column:1/-1;width:55%;justify-self:center;aspect-ratio:1.8}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial .twp-store-logo img{width:100%!important;height:100%!important;object-fit:contain!important;max-height:60px}
@media(max-width:768px){
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial-copy{padding:11px 15px 17px;width:64%}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial-brand{font-size:10px;gap:4px}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial .twp-editorial-brand img{width:16px!important;height:16px!important}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial .twp-editorial-heading h2{font-size:22px!important;margin-bottom:4px!important;line-height:1.07!important}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial .twp-editorial-heading p{font-size:11.5px!important;line-height:1.2!important;max-width:100%}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial-heading{padding:0}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial[lang=th] .twp-editorial-heading h2{font-size:23px!important;line-height:1.16!important}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial-remit .twp-editorial-copy,:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial-stores .twp-editorial-copy{width:59%}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-bank-scene{inset:5% 3% 9% 59%;gap:0;transform:none}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial .twp-plane{height:43%!important;width:45%!important}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-bank-logos{padding:5px;gap:3px;border-radius:9px;transform:none}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial .twp-bank-logos img{height:20px!important}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-store-scene{inset:8% 3% 9% 59%;gap:5px}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-store-logo{border-radius:9px;padding:5px}
:is(#twm-app[data-scr=shop] .twp-bv2-shared .tw5-slide>a.bv2,#twm-app[data-scr=shop] .shp-aurora .twp-bv2-shared-phone .car.bv2-car .sl.bv2m) .twp-editorial .twp-store-logo img{max-height:35px}
#twm-app[data-scr=shop] .twp-bv2-shared-phone .twp-mobile-play{left:auto;right:4px}
}

.twp-store-scene{transform:none!important}
/* ==== money/assets/tw-cust-polish-v6.css ==== */
/* TW PAY — Customer screens polish v6 (2026-11-09)
   ADDITIVE ONLY. Loaded LAST. Scoped to customer account/orders/notifications/
   track/promo routes via html[data-twp6-cust="1"] set by tw-cust-polish-v6.js.
   Goal: modern light look + gentle motion. No business-logic / layout breakage. */

:root{
  --twp6-ink:#0b1f4d; --twp6-sub:#51608a; --twp6-line:#e7e3fb;
  --twp6-grad:linear-gradient(105deg,#2f6bff 0%,#7a4cf5 48%,#ee4fa6 100%);
  --twp6-grad-soft:linear-gradient(120deg,#f4f1ff 0%,#fdf3fb 100%);
  --twp6-shadow:0 10px 30px rgba(86,66,170,.12);
  --twp6-shadow-h:0 16px 40px rgba(86,66,170,.20);
}

/* ---------- gentle entrance (staggered) ---------- */
html[data-twp6-cust="1"] #twm-app .mx-content.twp6-anim > *{
  opacity:0; transform:translateY(12px) scale(.995);
  animation:twp6In .52s cubic-bezier(.22,.9,.3,1) forwards;
  animation-delay:var(--twp6-d,0ms);
}
@keyframes twp6In{to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  html[data-twp6-cust="1"] #twm-app .mx-content.twp6-anim > *{animation:none;opacity:1;transform:none}
}

/* ---------- card polish ---------- */
html[data-twp6-cust="1"] #twm-app .mx-content .mx-card{
  position:relative; border:1px solid var(--twp6-line);
  border-radius:22px; background:#fff;
  box-shadow:var(--twp6-shadow);
  transition:box-shadow .28s ease, transform .28s ease;
}
html[data-twp6-cust="1"] #twm-app .mx-content .mx-card::before{
  content:""; position:absolute; inset:0 auto 0 0; width:4px; border-radius:22px 0 0 22px;
  background:var(--twp6-grad); opacity:.0; transition:opacity .28s ease;
}
html[data-twp6-cust="1"] #twm-app .mx-content .mx-card:hover{box-shadow:var(--twp6-shadow-h)}
html[data-twp6-cust="1"] #twm-app .mx-content .mx-card:hover::before{opacity:.9}

/* account/menu rows — the .mx-link list */
html[data-twp6-cust="1"] #twm-app .mx-content .mx-link{
  border-radius:14px; transition:background .2s ease, transform .2s ease, box-shadow .2s ease;
}
html[data-twp6-cust="1"] #twm-app .mx-content .mx-link:hover{
  background:var(--twp6-grad-soft); transform:translateX(3px);
}
html[data-twp6-cust="1"] #twm-app .mx-content .mx-link:hover > span[aria-hidden]{transform:translateX(3px);color:#7a4cf5}
html[data-twp6-cust="1"] #twm-app .mx-content .mx-link > span[aria-hidden]{transition:transform .2s ease,color .2s ease}

/* page title head — refined */
html[data-twp6-cust="1"] #twm-app .twm-head .twm-h1{
  letter-spacing:-.4px;
}
html[data-twp6-cust="1"] #twm-app .twm-head .twm-back{
  transition:transform .2s ease, box-shadow .2s ease;
}
html[data-twp6-cust="1"] #twm-app .twm-head .twm-back:hover{transform:translateX(-2px);box-shadow:var(--twp6-shadow)}

/* status pills a touch richer */
html[data-twp6-cust="1"] #twm-app .mx-content .mx-pill{font-weight:800;letter-spacing:.1px}

/* order list rows + filter chips (Đơn của tôi) */
html[data-twp6-cust="1"] #twm-app .mx-order-item{transition:background .2s ease, transform .2s ease}
html[data-twp6-cust="1"] #twm-app .mx-order-item:hover{background:var(--twp6-grad-soft);transform:translateY(-1px)}
html[data-twp6-cust="1"] #twm-app .mx-order-switch button,
html[data-twp6-cust="1"] #twm-app .mx-tabs a{transition:all .2s ease}

/* ---------- Notifications auto-rotating banner ---------- */
.twp6-nbanner{
  position:relative; margin:0 0 14px; border-radius:22px; overflow:hidden;
  background:#120a2e; box-shadow:0 14px 34px rgba(60,30,110,.28);
  isolation:isolate;
}
.twp6-nbanner .twp6-aura{
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(520px 320px at 16% 10%,rgba(123,92,255,.55),transparent 60%),
    radial-gradient(520px 320px at 92% 90%,rgba(238,79,166,.5),transparent 60%),
    linear-gradient(120deg,#1a1038,#2a1140);
}
.twp6-nbanner .twp6-track{position:relative;z-index:1;display:flex;transition:transform .6s cubic-bezier(.3,.9,.3,1)}
.twp6-nbanner .twp6-slide{flex:0 0 100%;display:flex;align-items:center;gap:14px;padding:16px 18px;min-height:112px;color:#fff;text-decoration:none}
.twp6-nbanner .twp6-ph{flex:none;width:92px;height:92px;border-radius:16px;background:#fff;display:grid;place-items:center;box-shadow:0 8px 20px rgba(0,0,0,.3);overflow:hidden}
.twp6-nbanner .twp6-ph img{width:100%;height:100%;object-fit:contain;padding:6px;box-sizing:border-box}
.twp6-nbanner .twp6-tx{min-width:0;flex:1;display:flex;flex-direction:column;justify-content:center}
.twp6-nbanner .twp6-k{display:block;font-size:11px;font-weight:800;letter-spacing:.22em;text-transform:uppercase;color:#ffd9a8;margin:0 0 4px}
.twp6-nbanner .twp6-nm{display:block;font-size:17px;font-weight:900;line-height:1.2;margin:0 0 6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.twp6-nbanner .twp6-pr{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:#ffe3ea}
.twp6-nbanner .twp6-pr b{font-size:16px;background:linear-gradient(92deg,#ffe08a,#ff9e5e);-webkit-background-clip:text;background-clip:text;color:transparent}
.twp6-nbanner .twp6-go{margin-left:auto;flex:none;display:inline-grid;place-items:center;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.16);color:#fff;font-size:18px;transition:transform .2s ease,background .2s ease}
.twp6-nbanner .twp6-slide:hover .twp6-go{background:rgba(255,255,255,.3);transform:translateX(2px)}
.twp6-nbanner .twp6-dots{position:absolute;z-index:2;left:18px;bottom:10px;display:flex;gap:6px}
.twp6-nbanner .twp6-dot{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.35);border:0;padding:0;cursor:pointer;transition:all .25s ease}
.twp6-nbanner .twp6-dot.on{width:20px;border-radius:5px;background:linear-gradient(92deg,#ffd27a,#ff8aa8)}
@media (max-width:620px){
  .twp6-nbanner .twp6-ph{width:76px;height:76px}
  .twp6-nbanner .twp6-nm{font-size:15px}
  .twp6-nbanner .twp6-slide{padding:13px 14px;min-height:98px}
}
@media (prefers-reduced-motion:reduce){.twp6-nbanner .twp6-track{transition:none}}

/* ---------- Notification list items (when customer HAS notifications) ---------- */
html[data-twp6-route="notifications"] #twm-app .mx-notification-item{
  display:flex; align-items:flex-start; gap:13px; position:relative;
  padding:14px 14px 14px 12px; border:0; border-bottom:1px solid #eee7fb;
  border-radius:14px; transition:background .2s ease, transform .18s ease, box-shadow .2s ease;
}
html[data-twp6-route="notifications"] #twm-app .mx-notification-item:last-child{border-bottom:0}
html[data-twp6-route="notifications"] #twm-app .mx-notification-item:hover{
  background:var(--twp6-grad-soft); transform:translateX(2px); box-shadow:0 6px 18px rgba(86,66,170,.08);
}
html[data-twp6-route="notifications"] #twm-app .mx-notification-item::before{
  content:""; position:absolute; left:0; top:12px; bottom:12px; width:3px; border-radius:3px;
  background:var(--twp6-grad); opacity:0; transition:opacity .2s ease;
}
html[data-twp6-route="notifications"] #twm-app .mx-notification-item:hover::before{opacity:.85}
.twp6-nicon{flex:none;width:44px;height:44px;border-radius:13px;background:#f5f2ff;
  display:grid;place-items:center;box-shadow:inset 0 0 0 1px #ece6ff}
.twp6-nicon img{width:30px;height:30px;object-fit:contain}
.twp6-ncopy{min-width:0;flex:1}
html[data-twp6-route="notifications"] #twm-app .mx-notification-item h2{
  font-size:15px!important;font-weight:900;color:var(--twp6-ink);line-height:1.3;margin:0 0 2px!important;
  overflow-wrap:anywhere}
.twp6-nchip{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.02em;
  color:#6246c0;background:#efe9ff;border-radius:999px;padding:2px 9px;margin:0 0 5px}
html[data-twp6-route="notifications"] #twm-app .mx-notification-item p{
  font-size:13px;color:var(--twp6-sub);line-height:1.45;margin:0 0 5px!important;overflow-wrap:anywhere}
html[data-twp6-route="notifications"] #twm-app .mx-notification-item small{
  display:block;color:#8b93b0;font-size:12px}

/* ---------- Custom language dropdown ---------- */
.twp6-lang .twp6-globe{color:#7a4cf5;flex:none}
.twp6-lang .twp6-tag{font-size:11px;font-weight:900;color:#5a2fd6;background:#ede9ff;border-radius:7px;padding:2px 7px;min-width:34px;text-align:center}
.twp6-lang .twp6-nm2{flex:1}
.twp6-lang{position:relative;display:inline-block}
.twp6-lang .twp6-lang-btn{
  display:inline-flex;align-items:center;gap:7px;cursor:pointer;
  border:1px solid var(--twp6-line);border-radius:999px;background:#fff;
  padding:7px 12px;font:inherit;font-weight:800;color:var(--twp6-ink);
  box-shadow:0 4px 12px rgba(86,66,170,.1);transition:box-shadow .2s ease,border-color .2s ease}
.twp6-lang .twp6-lang-btn:hover{box-shadow:0 8px 18px rgba(86,66,170,.18);border-color:#d7cffb}
.twp6-lang .twp6-lang-btn .twp6-flag{font-size:15px;line-height:1}
.twp6-lang .twp6-lang-btn .twp6-cv{font-size:11px;color:#8a7bc0;transition:transform .2s ease}
.twp6-lang.is-open .twp6-lang-btn .twp6-cv{transform:rotate(180deg)}
.twp6-lang .twp6-lang-menu{
  position:absolute;top:calc(100% + 8px);right:0;z-index:60;min-width:168px;
  background:#fff;border:1px solid var(--twp6-line);border-radius:16px;
  box-shadow:0 18px 44px rgba(40,20,90,.22);padding:6px;
  opacity:0;transform:translateY(-6px) scale(.97);pointer-events:none;
  transition:opacity .18s ease,transform .18s ease}
.twp6-lang.is-open .twp6-lang-menu{opacity:1;transform:none;pointer-events:auto}
.twp6-lang .twp6-lang-opt{
  display:flex;align-items:center;gap:10px;width:100%;border:0;background:transparent;
  padding:9px 11px;border-radius:11px;cursor:pointer;font:inherit;font-weight:700;color:var(--twp6-ink);text-align:left;transition:background .15s ease}
.twp6-lang .twp6-lang-opt:hover{background:var(--twp6-grad-soft)}
.twp6-lang .twp6-lang-opt .twp6-flag{font-size:17px}
.twp6-lang .twp6-lang-opt.on{background:linear-gradient(120deg,#eef0ff,#fbeefb);color:#5a2fd6}
.twp6-lang .twp6-lang-opt.on::after{content:"✓";margin-left:auto;color:#5a2fd6;font-weight:900}
@media (prefers-reduced-motion:reduce){.twp6-lang .twp6-lang-menu{transition:none}}

/* ---------- Floating support button → cat mascot ---------- */
#tw-float-btn .twp6-cat{width:60%;height:60%;object-fit:contain;display:block;filter:drop-shadow(0 3px 6px rgba(0,0,0,.25))}
#tw-float-btn .twp6-cat-wrap{position:relative;z-index:1;display:grid;place-items:center;width:100%;height:100%}

/* ================= ORDERS: list + detail (match premium mockup) ================= */
/* ----- order list rows ----- */
html[data-twp6-route="account-orders"] #twm-app .mx-order-tabs,
html[data-twp6-route="track"] #twm-app .mx-order-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 12px}
html[data-twp6-route="account-orders"] #twm-app .mx-order-tabs button{
  border:1px solid var(--twp6-line);background:#fff;color:#2a3566;border-radius:999px;
  padding:9px 16px;font-weight:800;font-size:13px;cursor:pointer;transition:all .18s ease}
html[data-twp6-route="account-orders"] #twm-app .mx-order-tabs button:hover{border-color:#cdbffb;box-shadow:0 4px 12px rgba(86,66,170,.1)}
html[data-twp6-route="account-orders"] #twm-app .mx-order-tabs button[aria-pressed="true"]{
  color:#fff;border-color:transparent;background:var(--twp6-grad);box-shadow:0 6px 16px rgba(123,76,245,.28)}
html[data-twp6-route="account-orders"] #twm-app .mx-ocard.mx-order-item{
  display:flex;align-items:center;gap:13px;padding:13px 14px;border:1px solid var(--twp6-line);
  border-radius:18px;background:#fff;margin-bottom:10px;text-decoration:none;position:relative;
  box-shadow:0 6px 18px rgba(86,66,170,.07);transition:transform .18s ease,box-shadow .2s ease,border-color .2s ease}
html[data-twp6-route="account-orders"] #twm-app .mx-ocard.mx-order-item:hover{
  transform:translateY(-2px);box-shadow:var(--twp6-shadow-h);border-color:#d7cffb}
html[data-twp6-route="account-orders"] #twm-app .mx-ocard .ic{
  flex:none;width:54px;height:54px;border-radius:14px;background:#f5f2ff;display:grid;place-items:center;
  font-size:26px;overflow:hidden;box-shadow:inset 0 0 0 1px #ece6ff}
.twp6-othumb{width:100%;height:100%;object-fit:contain;padding:5px;box-sizing:border-box}
html[data-twp6-route="account-orders"] #twm-app .mx-order-copy{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
html[data-twp6-route="account-orders"] #twm-app .mx-order-copy>small:first-child{
  font-size:11px;font-weight:800;color:#7a4cf5;text-transform:uppercase;letter-spacing:.04em}
html[data-twp6-route="account-orders"] #twm-app .mx-order-copy b{font-size:15px;color:var(--twp6-ink);line-height:1.25;overflow-wrap:anywhere}
html[data-twp6-route="account-orders"] #twm-app .mx-order-copy small{font-size:12px;color:#8b93b0}
html[data-twp6-route="account-orders"] #twm-app .mx-cart-side{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex:none;text-align:right}
html[data-twp6-route="account-orders"] #twm-app .mx-cart-side b{font-size:15px;color:#6a2fd6;font-weight:900;white-space:nowrap}
/* status badges */
html[data-twp6-cust="1"] #twm-app .mx-pill{display:inline-flex;align-items:center;gap:5px;font-weight:800;font-size:12px;border-radius:999px;padding:5px 11px;line-height:1}
html[data-twp6-cust="1"] #twm-app .mx-pill::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}
html[data-twp6-cust="1"] #twm-app .mx-pill.warn{background:#fff3da;color:#b06a00}
html[data-twp6-cust="1"] #twm-app .mx-pill.ok{background:#e4f8ed;color:#0b8a4f}
html[data-twp6-cust="1"] #twm-app .mx-pill.err{background:#fdecee;color:#c23a46}

/* ----- order detail: barcodes as premium tickets ----- */
html[data-twp6-route="order-detail"] #twm-app .mx-barcode{
  position:relative;display:flex;align-items:center;gap:16px;background:#fff;border:1px solid var(--twp6-line);
  border-radius:18px;padding:16px 18px 16px 86px;margin:10px 0;box-shadow:0 6px 18px rgba(86,66,170,.08);overflow:hidden}
html[data-twp6-route="order-detail"] #twm-app .mx-barcode svg{max-width:100%;height:auto}
html[data-twp6-route="order-detail"] #twm-app .mx-barcode p{margin:6px 0 0;font-family:ui-monospace,Menlo,Consolas,monospace;font-weight:700;letter-spacing:.14em;color:#334;font-size:13px;text-align:center}
.twp6-mapill{position:absolute;left:14px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;gap:2px;
  background:#efe9ff;color:#6a2fd6;border-radius:12px;padding:8px 10px;font-weight:900;font-size:12px;line-height:1.1;min-width:58px;text-align:center}
.twp6-mapill small{font-size:10px;font-weight:800;opacity:.75}
/* detail cards get the general polish; hero chip */
html[data-twp6-route="order-detail"] #twm-app .mx-content>.mx-card:first-of-type{
  background:linear-gradient(120deg,#f3efff,#fdf2fb);border-color:#e7ddff}
@media (max-width:620px){
  html[data-twp6-route="order-detail"] #twm-app .mx-barcode{padding-left:78px;gap:10px}
  .twp6-mapill{min-width:52px;padding:7px 8px}
}

/* ================= HOME: subtle 3D tilt + depth ================= */
.twp6-tilt{transition:transform .28s cubic-bezier(.2,.8,.3,1),box-shadow .28s ease;will-change:transform;transform-style:preserve-3d}
.twp6-tilt.twp6-tilting{transition:transform .07s linear,box-shadow .2s ease}
@media (hover:hover) and (pointer:fine){
  html[data-twp6-route="home"] #twm-app .tw5-svc li a.twp6-tilt:hover,
  html[data-twp6-route="home"] #twm-app .tw5-pg>li.twp6-tilt:hover,
  html[data-twp6-route="s00"] #twm-app .tw5-svc li a.twp6-tilt:hover{box-shadow:0 20px 44px rgba(86,66,170,.24)}
  /* lift the 3D icon inside service tiles for parallax depth */
  html[data-twp6-route="home"] #twm-app .tw5-svc li a.twp6-tilt .ic,
  html[data-twp6-route="home"] #twm-app .tw5-svc li a.twp6-tilt img{transition:transform .28s cubic-bezier(.2,.8,.3,1)}
  html[data-twp6-route="home"] #twm-app .tw5-svc li a.twp6-tilt:hover .ic,
  html[data-twp6-route="home"] #twm-app .tw5-svc li a.twp6-tilt:hover img{transform:translateZ(22px) scale(1.06)}
}
@media (prefers-reduced-motion:reduce){.twp6-tilt{transition:none!important;transform:none!important}}
/* ==== money/assets/pro-cards-20261110.css ==== */
/* TW PAY · pro-cards-20261110 — Aurora product cards (catalog / shop / PDP hero)
   Additive only. Does not change prices, fees, limits, or business rules. */
:root{
  --twpc-c1:#c7d2fe; --twpc-c2:#e9d5ff; --twpc-c3:#fbcfe8; --twpc-c4:#ffedd5;
}

/* ===== Catalog grid cards (.sc-pc) ===== */
#twm-app .sc-pc{
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 10px 28px rgba(79,70,229,.10),0 2px 8px rgba(15,23,42,.05)!important;
  padding:12px!important;
  gap:4px!important;
  transition:transform .18s ease, box-shadow .18s ease;
}
#twm-app .sc-pc:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(79,70,229,.14),0 4px 12px rgba(15,23,42,.06)!important;
}
#twm-app .sc-pimg{
  position:relative!important;
  border-radius:16px!important;
  margin-bottom:8px!important;
  overflow:hidden!important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 42%),
    linear-gradient(160deg, var(--twpc-c1), var(--twpc-c2) 52%, var(--twpc-c3))!important;
}
#twm-app .sc-pimg::before{
  content:"";position:absolute;left:-20%;top:6%;width:78%;height:120%;
  background:linear-gradient(125deg, rgba(255,255,255,.38), rgba(255,255,255,0) 62%);
  transform:skewX(-18deg);pointer-events:none;z-index:0;
}
#twm-app .sc-pimg img{
  position:relative;z-index:1;
  width:88%!important;height:88%!important;margin:6%!important;
  object-fit:contain!important;
  filter:drop-shadow(0 12px 16px rgba(15,23,42,.16));
}
/* White-bg JPGs: multiply blends white into tinted media */
#twm-app .sc-pimg img:not([src*="cutouts/"]):not([src*=".png"]):not([src*="pending"]){
  mix-blend-mode:multiply;
}
#twm-app .sc-pimg img[src*="cutouts/"],
#twm-app .sc-pimg img.twpc-cutout{
  mix-blend-mode:normal!important;
  filter:drop-shadow(0 14px 18px rgba(15,23,42,.18));
}
#twm-app .sc-brand{
  color:#7c3aed!important;
  font-size:11px!important;
  letter-spacing:.08em!important;
  text-transform:uppercase;
}
#twm-app .sc-pname{color:#0f172a!important;font-weight:900!important}
#twm-app .sc-price{color:#7c3aed!important}
#twm-app .sc-pr-row{
  display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin-top:4px;
}
#twm-app .sc-bnpl-pill{
  display:inline-flex;align-items:center;gap:5px;
  font-size:11px;font-weight:800;color:#6d28d9;
  background:#f3e8ff;padding:5px 10px;border-radius:999px;width:fit-content;
}
#twm-app .sc-bnpl-pill svg{flex:none}

/* Alternating tint per card position */
#twm-app .sc-grid > .sc-pc:nth-child(6n+1) .sc-pimg,
#twm-app .sc-grid > a.sc-pc:nth-child(6n+1) .sc-pimg{--twpc-c1:#c7d2fe;--twpc-c2:#e9d5ff;--twpc-c3:#fbcfe8}
#twm-app .sc-grid > .sc-pc:nth-child(6n+2) .sc-pimg,
#twm-app .sc-grid > a.sc-pc:nth-child(6n+2) .sc-pimg{--twpc-c1:#a5f3fc;--twpc-c2:#c7d2fe;--twpc-c3:#fce7f3}
#twm-app .sc-grid > .sc-pc:nth-child(6n+3) .sc-pimg,
#twm-app .sc-grid > a.sc-pc:nth-child(6n+3) .sc-pimg{--twpc-c1:#fbcfe8;--twpc-c2:#ddd6fe;--twpc-c3:#ffedd5}
#twm-app .sc-grid > .sc-pc:nth-child(6n+4) .sc-pimg,
#twm-app .sc-grid > a.sc-pc:nth-child(6n+4) .sc-pimg{--twpc-c1:#e9d5ff;--twpc-c2:#bfdbfe;--twpc-c3:#fde68a}
#twm-app .sc-grid > .sc-pc:nth-child(6n+5) .sc-pimg,
#twm-app .sc-grid > a.sc-pc:nth-child(6n+5) .sc-pimg{--twpc-c1:#fce7f3;--twpc-c2:#ede9fe;--twpc-c3:#fed7aa}
#twm-app .sc-grid > .sc-pc:nth-child(6n+6) .sc-pimg,
#twm-app .sc-grid > a.sc-pc:nth-child(6n+6) .sc-pimg{--twpc-c1:#ddd6fe;--twpc-c2:#a5b4fc;--twpc-c3:#f9a8d4}

/* ===== Home / shop landing product tiles ===== */
#twm-app .h2-pc .im,
#twm-app .shp-pc .im,
#twm-app a.pc > img,
#twm-app .pc .im{
  border-radius:14px;
  background:linear-gradient(160deg,#c7d2fe,#e9d5ff 55%,#fbcfe8)!important;
  overflow:hidden;
}
#twm-app .h2-pc .im img,
#twm-app .shp-pc .im img,
#twm-app a.pc > img{
  object-fit:contain!important;
  filter:drop-shadow(0 8px 12px rgba(15,23,42,.14));
}
#twm-app .h2-pc .im img:not([src*="cutouts/"]),
#twm-app .shp-pc .im img:not([src*="cutouts/"]),
#twm-app a.pc > img:not([src*="cutouts/"]){
  mix-blend-mode:multiply;
}
#twm-app .h2-pc .im img[src*="cutouts/"],
#twm-app .shp-pc .im img[src*="cutouts/"],
#twm-app a.pc > img[src*="cutouts/"],
#twm-app .h2-pc .im img.twpc-cutout,
#twm-app .shp-pc .im img.twpc-cutout{
  mix-blend-mode:normal!important;
}
#twm-app .h2-pc,
#twm-app .shp-pc,
#twm-app a.pc{
  border-radius:18px;
  box-shadow:0 8px 22px rgba(79,70,229,.08);
}

/* ===== Product detail hero ===== */
#twm-app .sc-pdp .sc-hero,
#twm-app[data-scr="product"] .sc-hero,
#twm-app[data-scr="product"] .s11b-gallery{
  background:
    linear-gradient(165deg, #dbeafe 0%, #e9d5ff 48%, #ffedd5 100%)!important;
  border-radius:24px!important;
  overflow:hidden;
  position:relative;
}
#twm-app[data-scr="product"] .s11b-gallery::after{
  content:"";position:absolute;left:50%;bottom:-36%;transform:translateX(-50%);
  width:140%;height:55%;border-radius:50% 50% 0 0;
  background:linear-gradient(180deg, transparent, rgba(255,255,255,.55) 40%, #fff);
  pointer-events:none;z-index:0;
}
#twm-app[data-scr="product"] .pdp-stage,
#twm-app[data-scr="product"] .pdp-gallery-img,
#twm-app .sc-hero-img,
#twm-app[data-scr="product"] .pdp-photo-slot img{
  position:relative;z-index:1;
  filter:drop-shadow(0 18px 24px rgba(15,23,42,.18));
}
#twm-app[data-scr="product"] .pdp-gallery-img:not([src*="cutouts/"]):not(.twpc-cutout),
#twm-app .sc-hero-img:not([src*="cutouts/"]):not(.twpc-cutout){
  mix-blend-mode:multiply;
}
#twm-app[data-scr="product"] .pdp-gallery-img[src*="cutouts/"],
#twm-app[data-scr="product"] .pdp-gallery-img.twpc-cutout,
#twm-app .sc-hero-img[src*="cutouts/"],
#twm-app .sc-hero-img.twpc-cutout{
  mix-blend-mode:normal!important;
}

/* Cart / wishlist icons already in UI — keep consistent soft chip look if present */
#twm-app .s11b-head-cart,
#twm-app .sc-cartlink{
  border-radius:999px;
}
/* ==== money/assets/tw-lilac-live-20261110.css ==== */
/* ==========================================================================
   TW PAY — 3D GLOSSY CYBER-LILAC & PEDESTAL SHOWCASE (2026-11-10)
   Exact match for user mockup (media_1794245171201_c1180653.jpg)
   ========================================================================== */

:root {
  --tw-lilac-bg: radial-gradient(120% 120% at 20% 0%, #faf6ff 0%, #ede6fb 50%, #f4edfc 100%);
  --tw-lilac-surface: rgba(255, 255, 255, 0.88);
  --tw-lilac-border: rgba(255, 255, 255, 0.95);
  --tw-lilac-border-subtle: #ede8fa;
  --tw-lilac-purple: #6a4cf5;
  --tw-lilac-purple-hover: #5838ea;
  --tw-lilac-dark: #12102e;
  --tw-lilac-sub: #555273;
  --tw-lilac-magenta: #d946ef;
  --tw-lilac-gradient-cta: linear-gradient(90deg, #2563eb 0%, #7c3aed 50%, #ec4899 100%);
  --tw-lilac-shadow: 0 12px 36px rgba(125, 95, 215, 0.09), 0 2px 8px rgba(0, 0, 0, 0.02);
  --tw-lilac-shadow-hover: 0 18px 46px rgba(125, 95, 215, 0.18), 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* Base Body Aura */
body.twm-body {
  background: var(--tw-lilac-bg) !important;
  color: var(--tw-lilac-dark) !important;
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
}

#twm-app {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px 48px;
}

/* ==========================================================================
   1. DESKTOP HEADER & NAVIGATION
   ========================================================================== */
.tw-lilac-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  margin-bottom: 20px;
}

.tw-lilac-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  color: #12102e;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.tw-lilac-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.tw-lilac-nav-center {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 16px rgba(125, 95, 215, 0.04);
}

.tw-lilac-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  color: #555273;
  text-decoration: none;
  transition: all 0.22s ease;
}

.tw-lilac-nav-item:hover {
  color: var(--tw-lilac-purple);
  background: rgba(235, 228, 252, 0.5);
}

.tw-lilac-nav-item.active {
  background: #ebe4fc !important;
  color: var(--tw-lilac-purple) !important;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(106, 76, 245, 0.12);
}

.tw-lilac-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tw-lilac-lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #ffffff;
  border: 1px solid var(--tw-lilac-border-subtle);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: #2e2a56;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(125, 95, 215, 0.04);
  transition: all 0.2s ease;
}

.tw-lilac-lang-pill:hover {
  border-color: #d1c5f3;
  box-shadow: 0 4px 12px rgba(125, 95, 215, 0.1);
}

.tw-lilac-avatar-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ede6fb, #dfd4fa);
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(106, 76, 245, 0.15);
  display: grid;
  place-items: center;
  cursor: pointer;
  text-decoration: none;
  font-size: 17px;
  color: var(--tw-lilac-purple);
  transition: transform 0.2s ease;
}

.tw-lilac-avatar-btn:hover {
  transform: scale(1.05);
}

/* ==========================================================================
   2. TOP SECTION: HERO BANNER & RATE BOX
   ========================================================================== */
.tw-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(320px, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.tw-lilac-banner-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  height: 250px;
}

.tw-banner-card {
  position: relative;
  border-radius: 24px;
  padding: 24px 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: #fff;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.28s ease;
  box-shadow: 0 12px 32px rgba(30, 20, 60, 0.12);
}

.tw-banner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(30, 20, 60, 0.18);
}

.tw-banner-card.card-iphone {
  background: linear-gradient(145deg, #1f141a 0%, #3e2632 70%, #583b48 100%);
}

.tw-banner-card.card-xiaomi {
  background: linear-gradient(145deg, #ece9e2 0%, #ded9ce 70%, #cbc4b4 100%);
  color: #1e2922;
}

.tw-banner-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

.tw-banner-brand-tag img {
  width: 18px;
  height: 18px;
}

.tw-banner-copy {
  margin-top: 10px;
  z-index: 2;
  max-width: 60%;
}

.tw-banner-copy h3 {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.tw-banner-copy p {
  font-size: 13.5px;
  font-weight: 600;
  margin: 0 0 14px;
  opacity: 0.85;
}

.tw-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(106, 76, 245, 0.9);
  color: #fff !important;
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(106, 76, 245, 0.3);
  transition: all 0.2s ease;
  width: fit-content;
}

.tw-banner-btn:hover {
  background: #5838ea;
  transform: translateX(2px);
}

.tw-banner-img {
  position: absolute;
  right: -8px;
  bottom: -10px;
  width: 52%;
  height: 95%;
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.3));
}

/* Rate Widget (Right side) */
.tw-lilac-rate-card {
  background: var(--tw-lilac-surface) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1.5px solid var(--tw-lilac-border) !important;
  border-radius: 24px !important;
  box-shadow: var(--tw-lilac-shadow) !important;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 250px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.tw-lilac-rate-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  color: #1e1b4b;
}

.tw-rate-swap-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1edfc;
  color: var(--tw-lilac-purple);
  font-size: 13px;
}

.tw-lilac-rate-body {
  text-align: center;
  margin: 12px 0 10px;
}

.tw-lilac-rate-number {
  font-size: 32px;
  font-weight: 900;
  color: #0b132b;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.tw-lilac-rate-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #94a3b8;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  cursor: help;
}

.tw-lilac-rate-time {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.tw-lilac-send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--tw-lilac-gradient-cta) !important;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.32);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-sizing: border-box;
}

.tw-lilac-send-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.42);
}

/* ==========================================================================
   3. 6 QUICK ACTION TILES (WITH GLOWING NEON HALO - MOCKUP 20261110)
   ========================================================================== */
.tw-quick-actions-grid,
.tw-quick-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 26px;
}

.tw-quick-action-tile,
.tw-quick-card {
  background: var(--tw-lilac-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--tw-lilac-border);
  border-radius: 24px;
  padding: 20px 12px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  box-shadow: var(--tw-lilac-shadow);
  transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: visible;
}

.tw-quick-action-tile:hover,
.tw-quick-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tw-lilac-shadow-hover);
  background: #ffffff;
}

.tw-quick-icon-wrap {
  width: 58px;
  height: 58px;
  max-width: 58px;
  max-height: 58px;
  display: grid;
  place-items: center;
  position: relative;
  transition: transform 0.25s ease;
}

/* Glowing luminous ring underneath each quick action icon */
.tw-quick-icon-wrap::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.45) 0%, transparent 75%);
  border: 1.5px solid rgba(216, 180, 254, 0.7);
  box-shadow: 0 0 12px rgba(192, 132, 252, 0.8), inset 0 0 8px rgba(236, 72, 153, 0.4);
  pointer-events: none;
}

.tw-quick-action-tile:hover .tw-quick-icon-wrap {
  transform: scale(1.08);
}

.tw-quick-icon-wrap svg {
  width: 48px !important;
  height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  filter: drop-shadow(0 6px 10px rgba(106, 76, 245, 0.22));
  z-index: 2;
}

.tw-quick-label {
  font-size: 15px;
  font-weight: 800;
  color: #1e1b4b;
  text-align: center;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   4. SHOPPING SECTION: "Mua sắm tại TW PAY" (WITH 3D PEDESTALS & NEON HALOS)
   ========================================================================== */
.tw-shopping-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 245, 255, 0.90) 100%) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid var(--tw-lilac-border);
  border-radius: 28px;
  padding: 24px 26px;
  margin-bottom: 26px;
  box-shadow: 0 16px 44px rgba(125, 95, 215, 0.1);
  position: relative;
}

/* Iridescent neon wave across header */
.tw-shopping-section::before {
  content: "";
  position: absolute;
  top: 56px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(192, 132, 252, 0.85) 25%, rgba(244, 114, 182, 0.85) 75%, transparent 100%);
  box-shadow: 0 0 16px rgba(236, 72, 153, 0.7);
  pointer-events: none;
}

.tw-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.tw-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  color: #12102e;
  margin: 0;
}

.tw-section-title .sec-icon {
  font-size: 22px;
  filter: drop-shadow(0 4px 8px rgba(168, 85, 247, 0.3));
}

.tw-see-all-link {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--tw-lilac-purple);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease;
}

.tw-see-all-link:hover {
  transform: translateX(3px);
}

.tw-shopping-row,
.tw-products-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.tw-product-card,
.tw-product-col {
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  padding: 16px 10px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 6px 20px rgba(125, 95, 215, 0.05);
  position: relative;
  overflow: visible;
}

.tw-product-card:hover,
.tw-product-col:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(125, 95, 215, 0.16);
  border-color: #d8c8fc;
}

.tw-product-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.tw-product-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 4px;
}

.tw-product-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e1b4b;
  text-align: center;
}

.tw-product-price {
  font-size: 13.5px;
  font-weight: 800;
  color: #9333ea;
  text-align: center;
  margin-top: 3px;
}

.tw-product-img-box {
  width: 100%;
  aspect-ratio: 0.92;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  position: relative;
}

/* 3D Glowing Podium / Pedestal beneath each product */
.tw-product-pedestal {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 82%;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.35) 0%, rgba(216, 180, 254, 0.15) 60%, transparent 85%);
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.35);
  z-index: 1;
  pointer-events: none;
}

.tw-product-pedestal::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1.5px solid rgba(216, 180, 254, 0.7);
  box-shadow: 0 0 10px rgba(192, 132, 252, 0.65);
}

.tw-product-stage-3d {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 74%;
  height: 10px;
  background: linear-gradient(180deg, #f3e8ff 0%, #d8b4fe 60%, #c084fc 100%);
  border-radius: 50% / 35%;
  box-shadow: 0 6px 12px rgba(126, 34, 206, 0.2);
  z-index: 2;
  pointer-events: none;
}

.tw-product-img-box img {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
  transition: transform 0.28s ease;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 10px 16px rgba(40, 20, 80, 0.18));
}

.tw-product-card:hover .tw-product-img-box img {
  transform: scale(1.06) translateY(-2px);
}

.tw-product-name {
  font-size: 14px;
  font-weight: 800;
  color: #1e1b4b;
  margin: 0 0 6px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.tw-product-price {
  font-size: 15px;
  font-weight: 900;
  color: var(--tw-lilac-magenta);
  margin: 0;
  text-align: center;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   5. PARTNERS STRIP ("Đối tác • Liên kết giới thiệu")
   ========================================================================== */
.tw-partner-section {
  background: var(--tw-lilac-surface);
  backdrop-filter: blur(16px);
  border: 1.5px solid var(--tw-lilac-border);
  border-radius: 26px;
  padding: 18px 24px;
  box-shadow: var(--tw-lilac-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.tw-partner-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: #2a2656;
  white-space: nowrap;
}

.tw-partner-title span:first-child {
  font-size: 18px;
  color: var(--tw-lilac-purple);
}

.tw-partner-pills-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tw-partner-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  background: #ffffff;
  border: 1.5px solid var(--tw-lilac-border-subtle);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(125, 95, 215, 0.04);
  text-decoration: none;
  font-weight: 800;
  font-size: 14.5px;
  transition: all 0.22s ease;
}

.tw-partner-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(125, 95, 215, 0.1);
  border-color: #d8cff8;
}

.tw-partner-pill.momo {
  color: #d81b60;
  font-weight: 900;
  font-size: 17px;
}

.tw-partner-pill.shopee {
  color: #1e1b4b;
  display: inline-flex;
  gap: 6px;
}

.tw-partner-pill.udemy {
  color: #1e1b4b;
  font-weight: 900;
}

.tw-partner-pill.apple-music {
  color: #1e1b4b;
  display: inline-flex;
  gap: 5px;
}

/* ==========================================================================
   6. ABSOLUTE GLOBAL FIX FOR MOBILE BOTTOM BAR & GIANT ICONS
   ========================================================================== */
/* NEVER SHOW ON DESKTOP UNDER ANY CIRCUMSTANCE */
@media (min-width: 769px) {
  .tw-mobile-bottom-bar {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    pointer-events: none !important;
  }
}

/* STRICT ICON SIZE RESTRICTION */
.tw-mobile-bottom-bar svg,
.tw-mob-bar-item svg {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  flex: none !important;
}

@media (max-width: 768px) {
  #twm-app {
    padding: 0 12px 92px;
  }

  .tw-lilac-header {
    margin-bottom: 14px;
  }

  .tw-lilac-nav-center {
    display: none;
  }

  .tw-top-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .tw-lilac-banner-container {
    grid-template-columns: 1fr;
    height: auto;
  }

  .tw-banner-card {
    height: 180px;
    padding: 18px 20px;
  }

  .tw-banner-card.card-xiaomi {
    display: none;
  }

  .tw-quick-actions-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .tw-quick-action-tile {
    padding: 14px 8px 12px;
    border-radius: 18px;
  }

  .tw-quick-icon-wrap {
    width: 44px;
    height: 44px;
    max-width: 44px;
    max-height: 44px;
  }

  .tw-quick-icon-wrap svg {
    width: 40px !important;
    height: 40px !important;
  }

  .tw-quick-label {
    font-size: 13px;
  }

  .tw-shopping-section {
    padding: 16px 14px;
    border-radius: 20px;
  }

  .tw-shopping-row,
  .tw-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .tw-partner-section {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }

  .tw-partner-pills-row {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  /* Fixed Bottom Navigation Bar for Mobile */
  .tw-mobile-bottom-bar {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-top: 1px solid rgba(225, 215, 250, 0.8) !important;
    justify-content: space-around !important;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)) !important;
    box-shadow: 0 -4px 20px rgba(100, 70, 180, 0.08) !important;
    z-index: 99999 !important;
  }

  .tw-mob-bar-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 3px !important;
    padding: 6px 14px !important;
    border-radius: 14px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    text-decoration: none !important;
  }

  .tw-mob-bar-item.active {
    background: #ede6fb !important;
    color: var(--tw-lilac-purple) !important;
    font-weight: 800 !important;
  }
}

/* ==========================================================================
   7. PRODUCT DETAIL PAGE (PDP) — BOSE QUIETCOMFORT LILAC DESIGN (Ảnh 4)
   ========================================================================== */
.pdp-lilac-card-wrapper {
  max-width: 900px;
  margin: 10px auto 40px;
}

.pdp-lilac-card {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1.5px solid var(--tw-lilac-border) !important;
  border-radius: 32px !important;
  box-shadow: 0 20px 48px rgba(125, 95, 215, 0.12) !important;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .pdp-lilac-card {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }
}

.pdp-lilac-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.pdp-page-indicator {
  position: absolute;
  top: 4px;
  left: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  background: #f1edfc;
  padding: 4px 10px;
  border-radius: 999px;
}

.pdp-lilac-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 24px 0 16px;
}

.pdp-lilac-img-wrap img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(100, 70, 180, 0.14));
}

.pdp-floating-actions {
  position: absolute;
  bottom: 30px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pdp-circle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--tw-lilac-border-subtle);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(125, 95, 215, 0.12);
  color: #555273;
  transition: all 0.2s ease;
}

.pdp-circle-btn svg {
  width: 18px !important;
  height: 18px !important;
}

.pdp-circle-btn:hover {
  transform: scale(1.08);
  color: var(--tw-lilac-purple);
}

.pdp-circle-btn.liked {
  color: #e11d48;
  background: #ffe4e6;
}

.pdp-dots-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.pdp-dots-row span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
}

.pdp-dots-row span.active {
  width: 18px;
  border-radius: 999px;
  background: var(--tw-lilac-purple);
}

.pdp-lilac-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pdp-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.pdp-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.pdp-badge-item.bestseller {
  background: #f3effe;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
}

.pdp-badge-item.discount {
  background: #fff1f2;
  color: #e11d48;
  border: 1px solid #fecdd3;
}

.pdp-lilac-title {
  font-size: 24px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.25;
  margin: 0 0 8px;
}

.pdp-lilac-meta {
  font-size: 13.5px;
  font-weight: 600;
  color: #64748b;
  margin: 0 0 16px;
}

.pdp-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}

.pdp-main-price {
  font-size: 30px;
  font-weight: 900;
  color: #0f172a;
}

.pdp-orig-price {
  font-size: 16px;
  color: #94a3b8;
  text-decoration: line-through;
}

.pdp-stock-tag {
  font-size: 13.5px;
  font-weight: 800;
  color: #10b981;
  margin: 0 0 14px;
}

.pdp-rating-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.pdp-stars {
  color: #f59e0b;
  font-size: 14px;
  display: inline-flex;
  gap: 2px;
}

.pdp-rating-score {
  font-size: 14px;
  font-weight: 800;
  color: #1e293b;
}

.pdp-questions-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--tw-lilac-purple);
  text-decoration: none;
}

.pdp-qty-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--tw-lilac-border-subtle);
}

.pdp-qty-widget {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #cbd5e1;
  border-radius: 999px;
  padding: 4px 10px;
  gap: 12px;
}

.pdp-qty-btn {
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 800;
  color: #475569;
  cursor: pointer;
  padding: 0 4px;
}

.pdp-qty-value {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  min-width: 20px;
  text-align: center;
}

.pdp-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: #334155;
}

.pdp-actions-cta {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.pdp-buy-now-btn {
  flex: 1.5;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--tw-lilac-gradient-cta);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.32);
  transition: all 0.2s ease;
}

.pdp-buy-now-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.42);
}

.pdp-add-cart-btn {
  flex: 1;
  padding: 14px 20px;
  border-radius: 999px;
  background: #ffffff;
  border: 1.5px solid var(--tw-lilac-purple);
  color: var(--tw-lilac-purple);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pdp-add-cart-btn:hover {
  background: #f5f2fe;
}
/* ==== money/assets/tw-v7.css ==== */
/* TW PAY v7 (2026-11-10) — bug fixes + premium screens (promo, s00, order detail).
   Additive, loaded last. */

/* ===== BUG FIX: single bottom nav on mobile, never covering CTAs/sheets ===== */
#tw-mobile-bottom-bar{display:none!important}
@media (max-width:768px){
  html body #twm-app#twm-app>.twm-nav.twm-nav{
    position:fixed!important;left:10px!important;right:10px!important;top:auto!important;
    bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;z-index:9000!important;margin:0!important;
    display:block!important;border-radius:24px!important;background:rgba(255,255,255,.93)!important;
    -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);
    box-shadow:0 10px 30px rgba(86,66,170,.18)!important;border:1px solid #ece6ff!important}
  html body #twm-app#twm-app>.twm-nav.twm-nav ul{display:flex!important;justify-content:space-around;margin:0;padding:6px!important;list-style:none}
  html body #twm-app#twm-app>.twm-nav.twm-nav li{flex:1}
  html body #twm-app#twm-app>.twm-nav.twm-nav a{display:flex!important;flex-direction:column;align-items:center;gap:3px;
    padding:7px 4px!important;border-radius:18px;font-size:12px;font-weight:700;color:#5b6690;text-decoration:none!important}
  html body #twm-app#twm-app>.twm-nav.twm-nav a[aria-current=page]{background:linear-gradient(120deg,#efe9ff,#fbeefb);color:#6a2fd6}
  #twm-app#twm-app{padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))!important}
  #twm-app#twm-app[data-scr] .s11b-footer{bottom:calc(86px + env(safe-area-inset-bottom,0px))!important}
  #twm-app#twm-app[data-scr] .twm-cta{bottom:calc(86px + env(safe-area-inset-bottom,0px))!important}
}
/* BUG FIX: flex child .twm-main grew wider than the phone (content cut off on the right) */
#twm-app>.twm-main{min-width:0!important;max-width:100%!important;box-sizing:border-box}
#twm-app .mx-content,#twm-app .mx-content>*{min-width:0;max-width:100%;box-sizing:border-box}
/* sheets (bank picker…) always above nav / CTA */
.twm-sheet-bg{z-index:100000!important}
body:has(.twm-sheet-bg) #twm-app>.twm-nav,
body:has(.twm-sheet-bg) .s11b-footer,
body:has(.twm-sheet-bg) #tw-float-support{display:none!important}
/* account-name lookup has no backend yet → hide the dead button + error */
#twm-chk,#twm-chk-st .rx-e{display:none!important}

/* ===== shared tokens ===== */
:root{--v7-ink:#0b1f4d;--v7-sub:#5b6690;--v7-line:#ebe5ff;--v7-grad:linear-gradient(105deg,#2f6bff,#7a4cf5 48%,#ee4fa6);
  --v7-card:linear-gradient(160deg,rgba(255,255,255,.96),rgba(250,247,255,.92));--v7-sh:0 14px 36px rgba(86,66,170,.12)}
.v7-hero{position:relative;display:flex;align-items:center;gap:16px;margin:0 0 14px;min-height:120px}
.v7-hero .v7-ht{flex:1;min-width:0}
.v7-hero .v7-sub{margin:6px 0 0;color:var(--v7-sub);font-size:14px;line-height:1.5}
.v7-hero .v7-art{flex:none;width:150px;height:130px;position:relative}
.v7-hero .v7-art img{position:absolute;object-fit:contain;filter:drop-shadow(0 16px 26px rgba(120,80,220,.35))}
.v7-float{animation:v7f 5s ease-in-out infinite}
.v7-float2{animation:v7f 6s ease-in-out -2s infinite}
@keyframes v7f{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.v7-glow{position:absolute;left:10%;right:0;bottom:4px;height:24px;border-radius:50%;background:radial-gradient(closest-side,rgba(150,110,255,.45),transparent);filter:blur(4px)}
.v7-swoosh{display:block;width:150px;height:14px;margin-top:-4px}
@media (prefers-reduced-motion:reduce){.v7-float,.v7-float2{animation:none}}
@media (max-width:620px){.v7-hero .v7-art{width:118px;height:104px}}

/* ===== PROMO (Ưu đãi & giới thiệu) ===== */
html[data-twp6-route="promo"] #twm-app .mx-content{max-width:900px;margin:0 auto}
html[data-twp6-route="promo"] #twm-app .mx-content>.mx-card{background:var(--v7-card)!important;border:1px solid var(--v7-line)!important;border-radius:26px!important;box-shadow:var(--v7-sh)!important;padding:20px!important}
.v7-sech{display:flex;align-items:center;gap:10px;margin:0 0 12px!important;font-size:20px!important;font-weight:900!important;color:var(--v7-ink)!important}
.v7-sech .v7-si{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:var(--v7-grad);color:#fff;font-size:16px;box-shadow:0 6px 14px rgba(123,76,245,.35)}
.v7-orow{display:flex;align-items:center;gap:12px;padding:12px 14px;margin:0 0 8px;background:#fff;border:1px solid var(--v7-line);border-radius:16px}
.v7-orow .v7-oi{flex:none;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#f3efff;font-size:18px}
.v7-orow .v7-ol{flex:1;min-width:0;font-weight:800;color:var(--v7-ink);font-size:14px}
.v7-pill{flex:none;display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:6px 12px;font-size:12px;font-weight:800;white-space:nowrap}
.v7-pill.g{background:#e4f8ed;color:#0b8a4f}.v7-pill.o{background:#fff1e3;color:#d26a00}.v7-pill.n{background:#eef0f6;color:#6b7393}
.v7-refrow{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0 0 18px}
.v7-code{flex:1 1 160px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 16px;border-radius:16px;
  background:linear-gradient(120deg,#efe9ff,#f8efff);font:900 22px/1 ui-monospace,Consolas,monospace;letter-spacing:.06em;color:#4a22c9}
.v7-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:14px;padding:12px 18px;font-weight:800;font-size:14px;cursor:pointer;border:1.5px solid #cdbff9;background:#fff;color:#5a2fd6;transition:transform .15s ease,box-shadow .2s ease}
.v7-btn:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(86,66,170,.16)}
.v7-btn.pri{border:0;color:#fff;background:var(--v7-grad);box-shadow:0 10px 22px rgba(123,76,245,.32)}
.v7-btn svg{width:17px;height:17px}
.v7-vrow{display:flex;align-items:center;gap:12px;padding:11px 14px;margin:0 0 8px;background:#fff;border:1px solid var(--v7-line);border-radius:16px}
.v7-vrow .v7-vt{flex:none;width:44px;height:30px;border-radius:8px;display:grid;place-items:center;color:#fff;font-weight:900;font-size:15px;
  background:linear-gradient(120deg,#ff6fae,#ff9a5c);box-shadow:0 6px 12px rgba(255,100,140,.3);transform:rotate(-6deg)}
.v7-vrow .v7-vc{flex:1;min-width:0;font:800 14px ui-monospace,Consolas,monospace;color:var(--v7-ink);overflow:hidden;text-overflow:ellipsis}
.v7-vrow .v7-copy{flex:none;width:36px;height:36px;border-radius:11px;border:1px solid var(--v7-line);background:#f7f4ff;display:grid;place-items:center;cursor:pointer;color:#5a2fd6}
.v7-invite{display:flex;align-items:center;gap:12px;padding:14px 16px;margin-top:6px;border-radius:16px;text-decoration:none;
  background:linear-gradient(120deg,#f1ecff,#fdf0f8);color:var(--v7-ink);font-weight:800;cursor:pointer;border:0;width:100%;text-align:left;font-size:14px}
.v7-invite img{width:40px;height:40px;object-fit:contain}
.v7-invite span{flex:1}

/* ===== S00 (Chọn giao dịch) ===== */
html[data-twp6-route="s00"] #twm-app .twm-head{display:none}
html[data-twp6-route="s00"] #twm-app .twm-sub{display:none}
.v7-hero h1.v7-big{font-size:clamp(28px,5vw,46px);font-weight:900;letter-spacing:-.8px;color:var(--v7-ink);margin:0;line-height:1.1}
html[data-twp6-route="s00"] #twm-app .twm-flow{border-radius:24px!important;background:var(--v7-card)!important;border:1px solid var(--v7-line)!important;box-shadow:var(--v7-sh)!important;transition:transform .2s ease,box-shadow .2s ease}
html[data-twp6-route="s00"] #twm-app .twm-flow:hover{transform:translateY(-3px);box-shadow:0 20px 44px rgba(86,66,170,.2)!important}
.v7-note{display:flex;align-items:center;gap:12px;color:#6b7393;font-size:13px;margin:18px 0 6px}
.v7-note:before,.v7-note:after{content:"";flex:1;height:1px;background:#e3dcf8}
/* desktop: kill the empty white tail below short pages */
@media (min-width:769px){html[data-twp6-route="s00"] #twm-app .twm-main{min-height:0!important}}

/* ===== ORDER DETAIL ===== */
.v7-ohero{position:relative;overflow:hidden;border-radius:26px!important;padding:22px 22px!important;
  background:radial-gradient(420px 220px at 85% 30%,rgba(238,79,166,.22),transparent 60%),linear-gradient(120deg,#efe8ff,#f7eefe)!important;border:1px solid #e5dbff!important;min-height:130px}
.v7-ohero .v7-ok{font-size:12px;font-weight:800;color:#7a4cf5;letter-spacing:.06em;text-transform:uppercase}
.v7-ohero h2{font-size:clamp(20px,3.4vw,30px)!important;font-weight:900!important;color:var(--v7-ink)!important;margin:4px 0 10px!important;max-width:62%}
.v7-ohero .v7-oart{position:absolute;right:14px;top:50%;transform:translateY(-50%);width:170px;height:120px;pointer-events:none}
.v7-ohero .v7-oart img{position:absolute;object-fit:contain;filter:drop-shadow(0 14px 22px rgba(90,40,160,.35))}
.v7-store{display:flex;align-items:center;gap:14px;padding:4px 0 12px;margin-bottom:6px;border-bottom:1px dashed #e3dcf8}
.v7-store img{width:52px;height:52px;object-fit:contain;border-radius:12px;background:#fff;padding:4px;box-shadow:0 4px 12px rgba(0,0,0,.08)}
.v7-store small{display:block;font-size:12px;color:var(--v7-sub);font-weight:700}
.v7-store b{display:block;font-size:17px;color:var(--v7-ink)}
#twm-app .v7-paycard .mx-barcode{overflow:hidden!important;display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:14px;
  padding:12px 14px!important;margin:10px 0!important;background:#fff!important;border:1px solid var(--v7-line)!important;border-radius:18px!important;box-shadow:0 6px 18px rgba(86,66,170,.08)!important;min-height:0!important;height:auto!important}
#twm-app .v7-paycard .mx-barcode .twp6-mapill{position:static!important;transform:none!important;grid-row:1/3;grid-column:1}
#twm-app .v7-paycard .mx-barcode>svg,#twm-app .v7-paycard .mx-barcode>img,#twm-app .v7-paycard .mx-barcode>canvas{grid-column:2;width:100%!important;max-width:100%!important;height:62px!important;display:block}
#twm-app .v7-paycard .mx-barcode>p{grid-column:2;margin:4px 0 0!important;text-align:center;font:700 12px ui-monospace,Consolas,monospace!important;letter-spacing:.18em;color:#222}
.v7-zoom .mx-barcode>svg{height:110px!important}
.v7-tools{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}
.v7-tools .v7-btn{width:100%;border:0;background:#f1ecff}
.v7-warn{background:#fff8e6;border:1px solid #ffe7b0;border-radius:16px;padding:12px 14px 12px 40px;position:relative;color:#5a4a1e;font-size:13px;line-height:1.55;margin:10px 0}
.v7-warn:before{content:"!";position:absolute;left:12px;top:12px;width:20px;height:20px;border-radius:50%;background:#f5a524;color:#fff;font-weight:900;display:grid;place-items:center;font-size:13px}
.v7-warn b{display:block;margin-bottom:3px}
.v7-warn ul{margin:0;padding-left:16px}
/* Zoom overlay & bright mode */
.v7-zoom{position:fixed;inset:0;z-index:100001;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:20px;overflow:auto}
.v7-zoom .mx-barcode{width:min(96vw,720px);transform:none!important;padding:20px!important}
.v7-zoom .mx-barcode svg{width:100%!important;height:auto!important}
.v7-zoom-x{position:fixed;top:14px;right:14px;width:44px;height:44px;border-radius:50%;border:0;background:#1f1b3a;color:#fff;font-size:20px;cursor:pointer}
body.v7-bright #twm-app .mx-barcode{background:#fff!important;filter:contrast(1.15)}
body.v7-bright{background:#fff!important}
body.v7-bright #twm-app .v7-paycard{box-shadow:0 0 0 4px #fff,0 0 40px rgba(255,255,255,1)!important}
@media (max-width:620px){.v7-ohero h2{max-width:100%}.v7-ohero .v7-oart{width:110px;height:84px;top:auto;bottom:10px;transform:none;opacity:.9}}

/* ===== Partner strip: real logos ===== */
.tw-partner-pill.v7-logo{display:inline-flex!important;align-items:center;justify-content:center;min-width:96px;height:46px;padding:6px 16px!important;background:#fff!important;transition:transform .18s ease,box-shadow .2s ease}
.tw-partner-pill.v7-logo:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(86,66,170,.16)}
.tw-partner-pill.v7-logo img{height:26px;width:auto;max-width:110px;object-fit:contain;display:block}
@media (max-width:620px){.tw-partner-pill.v7-logo{min-width:78px;height:42px;padding:6px 12px!important}.tw-partner-pill.v7-logo img{height:22px}}

/* ===== FIX s00 desktop: banner container was forced to 0px high (banner cut + arrow clicks lost) ===== */
#twm-app .twm-main>.twp-bv2-shared{height:auto!important;max-height:none!important;overflow:visible!important}
#twm-app .twm-main{grid-template-rows:none!important;grid-auto-rows:auto!important}
#twm-app[data-scr="s00"] .twm-main>.twm-head,#twm-app[data-scr="s00"] .twm-main>.twm-sub{display:none!important}
#twm-app[data-scr="s00"] .twm-main{row-gap:18px!important}
#twm-app[data-scr="s00"] .v7-hero{margin-bottom:0}
/* ===== FIX: sticky submit button floating over form fields (login, signup, forms) ===== */
#twm-app#twm-app .mx-content form button[type="submit"].twm-btn{position:relative!important;bottom:auto!important;top:auto!important;margin-top:8px}
/* ===== FIX: product gallery ‹ › arrows were under the image (z-index 1) → clicks did nothing ===== */
.s11b-image-arrows{z-index:5!important;pointer-events:none}
.s11b-image-arrows button{pointer-events:auto!important;position:relative;z-index:6}
/* home (mobile) has its own tab bar (.hmx .tb) → don't show a second nav */
@media (max-width:768px){html body #twm-app#twm-app:has(.hmx .tb)>.twm-nav.twm-nav{display:none!important}}

/* ===== Product variant picker ===== */
html.v7-has-vpick #twm-app .tw-verified-variants,
html.v7-has-vpick #twm-app .pdp-swatches-section.s11b-colours,
html.v7-has-vpick #twm-app .s11b-capacity{display:none!important}
.v7-vpick{display:grid;gap:16px;padding:16px 18px!important;border-radius:20px!important;border:1px solid #ebe5ff!important;background:#fff!important;box-shadow:0 10px 28px rgba(86,66,170,.08)!important;margin:12px 0}
.v7-vh{font-weight:900;font-size:15px;color:#0b1f4d;margin-bottom:8px}.v7-vh b{color:#5a2fd6}
.v7-sw,.v7-st{display:flex;flex-wrap:wrap;gap:8px}
.v7-swb{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:6px 14px 6px 8px;border-radius:999px;border:1.5px solid #e3defa;background:#fff;color:#0b1f4d;font-weight:800;font-size:13px;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.v7-swb i{width:26px;height:26px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15),0 2px 6px rgba(0,0,0,.12);flex:none}
.v7-swb.on{border-color:#743DFF;box-shadow:0 0 0 3px rgba(116,61,255,.18)}
.v7-stb{display:grid;justify-items:start;gap:1px;min-width:118px;min-height:62px;padding:9px 14px;border-radius:14px;border:1.5px solid #e3defa;background:#fff;color:#0b1f4d;cursor:pointer;text-align:left;transition:border-color .15s,box-shadow .15s,transform .15s}
.v7-stb b{font-size:16px;font-weight:900}.v7-stb span{font-size:13px;font-weight:800;color:#5a2fd6;font-variant-numeric:tabular-nums}.v7-stb small{font-size:11px;color:#6b7393;font-weight:700}
.v7-stb.on{border-color:#743DFF;background:linear-gradient(120deg,#f3eeff,#fdf1fa);box-shadow:0 0 0 3px rgba(116,61,255,.18)}
.v7-stb:hover:not(:disabled),.v7-swb:hover:not(:disabled){border-color:#b9a8ff;transform:translateY(-1px)}
.v7-stb:disabled,.v7-swb:disabled{opacity:.45;cursor:not-allowed}
.v7-stb:focus-visible,.v7-swb:focus-visible{outline:3px solid #743DFF;outline-offset:2px}
.v7-vnote{margin:8px 0 0!important;font-size:12px;color:#6b7393}
@media (max-width:620px){.v7-stb{min-width:calc(50% - 4px)}.v7-swb span{font-size:12px}}
.v7-vtag{display:block;font-size:11px;font-weight:800;color:#6b5bb5;margin-top:2px}

.v7-vpick .v7-vprow{display:block;padding:0;border:0;background:none;margin:0}
.v7-vpick .v7-vh{white-space:normal}

/* 20261110 QA fix: s05 action bar — "Xem Đơn hàng" was squeezed to 2px beside .s5-cta at 621–900px (letters stacked). Always stack it under the 2 buttons. */
html body #twm-app[data-scr="s05"] .twm-cta-in{flex-direction:column;align-items:stretch;gap:8px}
html body #twm-app[data-scr="s05"] .twm-cta-in>.s5-cta,html body #twm-app[data-scr="s05"] .twm-cta-in>.twm-btn{flex:0 0 auto;width:100%;min-width:0;margin:0}
html body #twm-app[data-scr="s05"] .s5-cta>.twm-btn{min-height:52px;height:auto}
/* 20261110 QA fix: s04 waiting card showed the payment-scanner art twice (ds-140 ::before + visuals img). Keep the img only. */
#twm-app[data-scr="s04"] .s45-wait:has(.tw-payment-art)::before{content:none;display:none}

/* 20261110 PDP colour photos */
html body #twm-app img.v7-cimg{object-fit:contain;mix-blend-mode:normal!important;background:#fff!important;filter:none!important}
/* colour photo: white rounded panel like a studio shot (blend can't cross the composited scroller) */
html body #twm-app[data-scr="product"] .pdp-gallery-scroll:has(img.v7-cimg){background:#fff;border-radius:22px;box-shadow:inset 0 0 0 1px rgba(124,92,255,.08)}
html body #twm-app[data-scr="product"] .pdp-gallery-scroll img.v7-cimg{width:100%;height:100%;max-width:100%;min-width:100%;max-height:none;padding:6%;box-sizing:border-box}
html body #twm-app[data-scr="product"] .pdp-photo-slot:has(img.v7-cimg) img{background:#fff!important;filter:none!important;mix-blend-mode:normal!important}
#twm-app .v7-cimg-off{display:none!important}

/* 20261110 UX: s04 permanent check button, s05 save image, s00 ARC notice */
#twm-app .s45-re-row{text-align:center;margin:12px 0 0}
#twm-app .s45-re-row .s45-re{display:inline-flex;width:auto;min-height:44px;padding:0 22px}
html body #twm-app[data-scr="s05"] .s5-cta>.v7-savebc{grid-column:1/-1;min-height:48px}
.v7-toast{position:fixed;left:50%;bottom:96px;transform:translateX(-50%);z-index:9999;background:#1d1446;color:#fff;font-weight:700;font-size:14px;padding:12px 18px;border-radius:14px;box-shadow:0 10px 30px rgba(29,20,70,.3);max-width:calc(100vw - 32px)}
#twm-app .v7-kyc{display:flex;align-items:center;gap:12px;margin:0 0 14px;padding:12px 14px;border-radius:16px;background:#fff7e6;border:1px solid #ffd99a;color:#5a3d00}
#twm-app .v7-kyc.pend{background:#eef4ff;border-color:#c9dbff;color:#1f3a7a}
#twm-app .v7-kyc-i{font-size:22px;line-height:1}
#twm-app .v7-kyc-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;font-size:13.5px;line-height:1.4}
#twm-app .v7-kyc-t b{font-size:14.5px}
#twm-app .v7-kyc-b{flex:none;display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:12px;background:#6c3bf5;color:#fff;font-weight:800;font-size:13.5px;text-decoration:none;white-space:nowrap}
@media (max-width:420px){#twm-app .v7-kyc{flex-wrap:wrap}#twm-app .v7-kyc-b{width:100%;justify-content:center}}

/* 20261110 pre-order note in variant picker */
#twm-app .v7-pre{margin:10px 0 0;padding:9px 12px;border-radius:12px;background:#eef4ff;border:1px solid #c9dbff;color:#1f3a7a;font-size:13px;font-weight:700;line-height:1.4}
