:root{color-scheme:dark;font-family:Inter,Arial,sans-serif;background:#030a14;color:#f8fafc}
*{box-sizing:border-box}
html,body{min-height:100%;margin:0;background:#030a14}
body{min-height:100dvh;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);overflow-x:hidden}
button,input{font:inherit}
.wallet-submit{display:flex;align-items:center;justify-content:center;gap:10px}
.wallet-submit img{width:30px;height:30px;object-fit:contain;border-radius:6px;background:#fff;padding:3px;flex-shrink:0}
.wallet-page{width:min(100%,540px);min-height:100dvh;margin:0 auto;background:radial-gradient(circle at 85% 0,rgba(14,165,233,.16),transparent 32%),#030a14}
.wallet-header{position:sticky;z-index:5;top:0;display:flex;align-items:center;gap:12px;min-height:68px;padding:10px 16px;border-bottom:1px solid #17304a;background:#040d18}
.wallet-header a{width:42px;height:42px;display:grid;place-items:center;border:1px solid #215172;border-radius:12px;background:#071827;color:#67e8f9;font-size:31px;line-height:1;text-decoration:none}
.wallet-header small{display:block;color:#22d3ee;font-size:8px;font-weight:900;letter-spacing:.16em}.wallet-header h1{margin:3px 0 0;font-size:17px}
.wallet-card{margin:16px 12px 28px;padding:22px 16px;border:1px solid rgba(34,211,238,.34);border-radius:22px;background:#071424;box-shadow:0 20px 48px rgba(0,0,0,.42)}
.wallet-badge{display:inline-flex;align-items:center;gap:7px;padding:5px 10px;border:1px solid #155e75;border-radius:999px;background:#082f49;color:#67e8f9;font-size:9px;font-weight:900;letter-spacing:.08em}.wallet-badge img{width:20px;height:20px;object-fit:contain}
.wallet-card h2{margin:15px 0 5px;font-size:21px}.wallet-card>p{margin:0 0 19px;color:#94a3b8;font-size:12px;line-height:1.5}
form{display:grid;gap:14px}label{display:grid;gap:7px}label>span{color:#cbd5e1;font-size:11px;font-weight:800}
input{width:100%;height:48px;padding:0 14px;border:1px solid #27405a;border-radius:13px;outline:0;background:#030b16;color:#fff;font-size:16px;font-weight:700;-webkit-appearance:none;appearance:none}input:focus{border-color:#22d3ee;box-shadow:0 0 0 3px rgba(34,211,238,.15)}input[readonly]{background:#092138;color:#7dd3fc}
.wallet-amount{position:relative}.wallet-amount b{position:absolute;z-index:1;left:14px;top:50%;color:#38bdf8;font-size:13px;transform:translateY(-50%);pointer-events:none}.wallet-amount input{padding-left:45px;font-weight:900}
.wallet-values{display:flex;flex-wrap:wrap;gap:7px}.wallet-values button{min-height:34px;padding:0 13px;border:1px solid #1e4e70;border-radius:999px;background:#092039;color:#7dd3fc;font-size:11px;font-weight:900;touch-action:manipulation}
output{min-height:18px;color:#38bdf8;font-size:11px;font-weight:800;text-align:center}.wallet-requests{display:grid;gap:7px}.wallet-request{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;border:1px solid #1a3148;border-radius:11px;background:#040d18;font-size:10px}.wallet-request small{display:block;margin-top:3px;color:#64748b}.wallet-request b{padding:4px 7px;border-radius:999px;background:#422006;color:#fbbf24;font-size:8px}.wallet-request b.confirmed{background:#052e25;color:#4ade80}.wallet-request b.rejected{background:#3f1016;color:#fb7185}
.wallet-submit{height:50px;border:0;border-radius:14px;background:linear-gradient(90deg,#0284c7,#06b6d4);color:#020617;font-size:14px;font-weight:950;letter-spacing:.04em;touch-action:manipulation}.wallet-submit span{margin-left:7px;font-size:20px}.wallet-submit:disabled{opacity:.6}
.wallet-note{margin:0;color:#64748b;font-size:10px;line-height:1.45;text-align:center}
@media(min-width:768px){.wallet-card{margin-top:28px;padding:28px 24px}}

/* Giveaway-inspired wallet form; payment behaviour is unchanged. */
:root,html,body{background:#020817}
.wallet-page{background:linear-gradient(115deg,transparent 64%,#17355466 64.1%,transparent 64.35%),radial-gradient(ellipse at 0 0,#12394d55,transparent 65%),#020817}
.wallet-header{background:#030b19f5;border-color:#214259;backdrop-filter:blur(16px)}
.wallet-header a{border-radius:4px 12px 4px 12px;background:#091c2e}
.wallet-header h1{font:800 24px/1 'Barlow Condensed',sans-serif}
.wallet-header small{font-size:9px;letter-spacing:2px}
.wallet-card{margin:22px 14px 28px;padding:24px 18px;border:1px solid #28526b;border-radius:4px 22px 4px 22px;background:linear-gradient(145deg,#0b2234e6,#061125f5);box-shadow:0 18px 48px #00000026}
.wallet-badge{border-radius:4px 10px 4px 10px;background:#0b3045;color:#83e7f8;padding:6px 10px;font-size:9px}
.wallet-eyebrow{display:flex;align-items:center;gap:10px;margin-top:25px;color:#3cdbf6;font:800 12px 'Barlow Condensed',sans-serif;letter-spacing:2.5px}
.wallet-eyebrow:before{content:'';width:28px;height:2px;background:#3cdbf6}
.wallet-card h2{margin:16px 0 18px;color:#f7fbff;font:900 clamp(36px,9vw,49px)/1.02 'Barlow Condensed',sans-serif;letter-spacing:-.4px}
.wallet-card h2 span{color:transparent;-webkit-text-stroke:1px #42d9f4}
.wallet-card>p{margin-bottom:24px;padding-bottom:22px;border-bottom:1px solid #25465e;color:#a6b8ca;font-size:12px;line-height:1.75}
#walletPageForm{gap:16px}
#walletPageForm label>span{font-size:11px;font-weight:600;color:#c5d6e5}
#walletPageForm input{height:48px;border-radius:4px 12px 4px 12px;border-color:#31506b;background:#040e1d;font-weight:500;font-size:16px}
#walletPageForm input::placeholder{color:#758a9e;font-size:13px}
#walletPageForm input[readonly]{background:#0b273a;color:#76def5;border-color:#2e5c73}
#walletPageForm input:focus{border-color:#42d9f4}
#walletTngPanel .wallet-eyebrow{margin-top:18px}
#walletTngPanel #walletTitle{margin:12px 0 18px}
#walletPageForm input[name="payer_name"]{font-size:13px;font-weight:400;letter-spacing:-.2px;padding-inline:10px}
@media(max-width:767px){#walletPageForm input[name="payer_name"]:focus{font-size:16px}}
.wallet-values{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
.wallet-values button{padding:0 4px;height:37px;border-radius:3px 9px 3px 9px;border-color:#2e6078;background:#0d293e;color:#8fe4f5;font-size:10px}
.wallet-values button:hover,.wallet-values button:focus-visible{background:#164a63;border-color:#42d9f4;outline:none}
.wallet-submit{height:54px;border-radius:3px 14px 3px 14px;background:linear-gradient(105deg,#1484ed,#25c2e5);color:#fff;font:800 20px 'Barlow Condensed',sans-serif;letter-spacing:.6px}
.wallet-submit img{width:27px;height:27px}
.wallet-submit:focus-visible{outline:2px solid #a0f3ff;outline-offset:4px}
.wallet-note{color:#8299ad;font-size:10px;line-height:1.65}
.wallet-request{border-radius:3px 12px 3px 12px;border-color:#25465e}
#walletPageStatus:empty,#walletPageRequests:empty{display:none}
@media(min-width:768px){.wallet-card{margin:28px 16px;padding:28px}}

.wallet-mode-tabs{display:flex;gap:8px;align-items:stretch}
.wallet-mode-tabs .wallet-badge{cursor:pointer;justify-content:center;min-height:37px;padding:7px 9px;font-size:9px}
.wallet-mode-tabs [aria-selected="true"]{border-color:#42d9f4;background:#10435b;color:#e8fbff}
.wallet-mode-tabs [aria-selected="false"]{background:#061526;color:#8eaac0;border-color:#31506b}
.wallet-mode-tabs button:focus-visible{outline:2px solid #80eaff;outline-offset:3px}
#walletTngPanel[hidden],#walletManualPanel[hidden]{display:none!important}
#walletTngPanel>p,.manual-intro{margin:0 0 22px;padding-bottom:20px;border-bottom:1px solid #25465e;color:#a6b8ca;font-size:12px;line-height:1.75}
.wallet-manual-qr{max-width:260px;margin:0 auto;padding:9px;background:white;border-radius:4px 16px 4px 16px}
.wallet-manual-qr img{display:block;width:100%;height:auto}
.wallet-save-qr{display:block;width:max-content;margin:12px auto 22px;color:#7ee7f7;font-size:12px;text-underline-offset:4px}
.wallet-manual-help{padding:15px;border:1px solid #28526b;border-radius:4px 14px 4px 14px;background:#0a2538}
.wallet-manual-help h3{margin:0 0 8px;font:800 20px 'Barlow Condensed',sans-serif;color:#e8faff}
.wallet-manual-help p{margin:0;color:#b7cad9;font-size:12px;line-height:1.75}
.wallet-manual-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}
.wallet-manual-actions a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:8px;border-radius:3px 12px 3px 12px;background:linear-gradient(105deg,#1484ed,#25c2e5);color:#fff;text-decoration:none;font:800 16px 'Barlow Condensed',sans-serif}
.wallet-manual-actions a:last-child{background:#0b3543;border:1px solid #3ab3c3;color:#8ef0ec}

.wallet-supported{margin:0 0 22px}
.wallet-supported>small{display:block;margin-bottom:10px;color:#7eddee;font-size:9px;font-weight:700;letter-spacing:1.5px}
.wallet-supported-logos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.wallet-supported-logos>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:70px;padding:8px 4px;background:#fff;border:1px solid #d8e6ed;border-radius:4px 11px 4px 11px}
.wallet-supported-logos img{display:block;width:45px;height:27px;object-fit:contain}
.wallet-supported-logos span{font-size:9px;color:#173047;font-weight:700;white-space:nowrap}
.wallet-supported>p{margin:10px 0 0;color:#9eb7c9;font-size:10px;line-height:1.6}

.wallet-supported-logos{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
.wallet-supported-logos>div{min-height:54px;padding:6px 3px;gap:5px;border-radius:3px 8px 3px 8px}
.wallet-supported-logos img{width:34px;height:22px;max-width:100%}
.wallet-supported-logos span{font-size:8px}
@media(max-width:360px){.wallet-supported-logos span{font-size:7px}}
.wallet-mode-tabs{display:flex;flex-wrap:wrap;gap:8px}
.wallet-mode-tabs .wallet-badge{flex:1;justify-content:center;min-width:100px;min-height:42px;font-size:10px;padding:8px;letter-spacing:.02em}
.wallet-pin-heading{display:flex;align-items:center;gap:12px;margin-top:24px}
.wallet-pin-heading img{width:44px;height:44px;object-fit:contain;border-radius:9px}
.wallet-pin-heading small{color:#67e8f9;font-size:9px;letter-spacing:.12em}
.wallet-pin-heading h2{margin:4px 0;font:800 28px/1.1 'Barlow Condensed',sans-serif}
#walletPinPanel>p{color:#b7cad9;font-size:12px;line-height:1.7;margin:16px 0 22px}
#walletPinForm input[name="reload_pin"]{font-size:20px;letter-spacing:.08em}
#walletPinHint{font-size:11px;color:#94a3b8;line-height:1.5}
.wallet-pin-guide{display:grid;gap:10px;padding:20px;border:1px solid #2185aa;border-radius:14px;background:linear-gradient(120deg,#0c4465,#0a243b)}
.wallet-pin-guide span{color:#8fe9ff;font-size:11px;font-weight:700}
.wallet-pin-guide strong{font-size:26px;letter-spacing:.12em}
.wallet-pin-guide small{font-size:10px;line-height:1.5;color:#b7cad9}
.wallet-request .rejected{color:#fda4af}

/* Compact PIN cards, shared by wallet and Digi/Celcom. */
.wallet-pin-heading{margin-top:18px;gap:9px}.wallet-pin-heading img{width:34px;height:34px}.wallet-pin-heading h2{font-size:23px}.wallet-pin-heading small{font-size:8px}
#walletPinPanel>p{font-size:11px;margin:10px 0 14px;line-height:1.6}
#walletPinForm{gap:10px}#walletPinForm label{gap:5px}#walletPinForm label>span{font-size:10px}#walletPinForm input,#walletPinForm select{height:42px;font-size:16px}#walletPinForm input[name="reload_pin"]{font-size:16px;letter-spacing:.03em}
#walletPinForm select{width:100%;padding:8px 12px;background:#051324;border:1px solid #28526b;border-radius:9px;color:#e5faff}
#walletPinHint{font-size:10px}.wallet-pin-guide{padding:12px;gap:6px;border-radius:10px}.wallet-pin-guide strong{font-size:18px}.wallet-pin-guide span{font-size:10px}.wallet-pin-guide small{font-size:9px}
#walletPinSubmit{min-height:44px;padding:10px;font-size:17px}#walletPinForm .wallet-note{font-size:10px}
.wallet-telco-card .wallet-pin-heading{margin-top:0}.wallet-telco-card{padding:18px 16px}


/* Payment code card. */
#walletPaymentCode{box-sizing:border-box;width:min(360px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:hidden;margin:auto;padding:20px;border:1px solid #23728a;border-radius:20px;background:#081b2b;color:#e8f7ff;font-family:Inter,Arial,sans-serif;box-shadow:0 24px 80px #0008}
#walletPaymentCode::backdrop{background:#010710b8;backdrop-filter:blur(4px)}
.payment-code-heading{display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:1.8px;color:#36d1ec}
.payment-code-brand{display:flex;align-items:center;gap:9px}.payment-code-logo{width:30px;height:30px;object-fit:contain;border-radius:7px}
.payment-code-heading button{border:0;background:#163343;color:#b3cdd9;border-radius:50%;width:30px;height:30px;font-size:22px;cursor:pointer}
#walletPaymentCode h2{font-size:18px;font-weight:700;line-height:1.2;letter-spacing:1.4px;margin:18px 0 6px}
.payment-code-subtitle{font-size:11px;line-height:1.5;color:#a7c7d5;margin:0 0 15px}
.payment-code-row{display:grid;grid-template-columns:minmax(68px,max-content) minmax(0,1fr) 36px;gap:8px;align-items:center;padding:7px 8px 7px 10px;border:1px solid #238da3;border-radius:12px;background:#0c293a}
.payment-code-total{display:grid;gap:4px;padding-right:10px;border-right:1px solid #28566a}
.payment-code-total>span{font-size:8px;font-weight:600;letter-spacing:.8px;color:#a3c7d8}
.payment-code-total strong{white-space:nowrap;font-size:13px;font-weight:600;color:#e8fbff;font-variant-numeric:tabular-nums}
.payment-code-total strong small{font-size:10px;color:#8bcad8}
#walletPaymentCode [data-code-amount]{font:inherit;color:inherit;margin:0}
.payment-code-row input{box-sizing:border-box;min-width:0;width:100%;height:42px;border:0;border-radius:7px;background:transparent;color:#60e1f2;font-size:23px;font-weight:700;letter-spacing:2px;padding:4px 0;text-align:center}
.payment-code-row button{display:grid;place-items:center;width:36px;height:38px;padding:0;border:1px solid #28566a;border-radius:9px;background:#153649;color:#d5f8ff;cursor:pointer}
.payment-code-row button svg{width:18px;height:18px}
#walletPaymentCode [data-copy-status]{font-size:10px;color:#66e6be;margin:7px 0}#walletPaymentCode [data-copy-status][hidden]{display:none!important}
#walletPaymentCode .payment-code-help{font-size:11px;line-height:1.55;color:#b1c7d4;margin:13px 0}.payment-code-help strong{color:#eefaff}
.payment-code-guide{display:flex;align-items:center;gap:10px;width:100%;margin:0 0 12px;padding:8px;border:1px solid #254b60;border-radius:12px;background:#0c2638;color:#d8eff8;text-align:left;cursor:pointer}
.payment-code-guide>img{width:38px;height:48px;flex:0 0 38px;object-fit:contain;border-radius:5px;background:#fff}.payment-code-guide>strong{flex:1;font-size:11px}.payment-code-guide .payment-guide-arrow{font-size:25px;color:#61d9ed;line-height:1}
#walletPaymentCode [data-code-pay]{width:100%;min-height:44px;justify-content:center;border-radius:12px;font-size:16px;padding:10px}
.payment-guide-viewer{width:min(460px,calc(100vw - 24px));max-height:90dvh;padding:14px;border:1px solid #23728a;border-radius:18px;background:#081b2b;color:#d8eff8;box-sizing:border-box;overflow:auto}
.payment-guide-viewer::backdrop{background:#010710d9;backdrop-filter:blur(4px)}.payment-guide-viewer>button{display:block;margin:0 0 10px auto;width:36px;height:36px;border:0;border-radius:50%;background:#163343;color:#d8eff8;font-size:25px;cursor:pointer}.payment-guide-viewer>img{display:block;width:100%;height:auto;border-radius:8px}.payment-guide-viewer>p{font:12px/1.5 Inter,Arial,sans-serif;margin:10px 0 0;color:#a7c7d5}
@media(max-width:359px){#walletPaymentCode{padding:16px}.payment-code-row{gap:6px}.payment-code-row input{font-size:21px;letter-spacing:1.4px}}
@media(max-height:600px){#walletPaymentCode{padding:15px}#walletPaymentCode h2{margin-top:12px}.payment-code-subtitle{margin-bottom:10px}.payment-code-guide>img{height:38px}.payment-code-guide{margin-bottom:9px}#walletPaymentCode .payment-code-help{margin:10px 0}}

/* Payment-code instructions and missing-code processing notice. */
.payment-code-subtitle strong{color:#fff;font-weight:800}
#walletPaymentCode .payment-code-help{color:#ff747d}

.wallet-header>div{min-width:0}
.wallet-tutorial-button{flex:none;margin-left:auto;padding:9px 11px;border:1px solid #27677e;border-radius:10px;background:#0a2c40;color:#9be8f4;font:700 11px Inter,sans-serif;white-space:nowrap;cursor:pointer}
.wallet-tutorial-button:focus-visible{outline:2px solid #67e8f9;outline-offset:3px}
.wallet-manual-actions{grid-template-columns:minmax(0,1fr)}
.wallet-manual-actions a:only-child{background:linear-gradient(105deg,#1484ed,#25c2e5);border:0;color:#fff}
@media(max-width:360px){.wallet-header{gap:8px;padding:10px}.wallet-header h1{font-size:20px}.wallet-tutorial-button{font-size:10px;padding:9px 8px}}

.payment-code-subtitle strong.payment-code-speed{color:#4ade80;font-weight:800;white-space:nowrap}

#walletPaymentCode .payment-code-help{display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:10px}
.payment-note-cat{display:block;width:54px;height:60px;object-fit:contain;transform-origin:50% 85%}
.payment-note-copy{display:grid;position:relative;min-width:0}
.payment-note-copy>span:not(.payment-note-accessible){grid-area:1/1;overflow-wrap:anywhere}
.payment-note-measure{visibility:hidden;pointer-events:none}
.payment-note-accessible{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.payment-code-help.is-animated .payment-note-cat{animation:payment-cat-pop 440ms cubic-bezier(.2,.75,.25,1) both}
@keyframes payment-cat-pop{0%{opacity:0;transform:scale(.15) rotate(-14deg)}48%{opacity:1;transform:scale(1.24) rotate(6deg)}74%{transform:scale(.94) rotate(-3deg)}100%{opacity:1;transform:scale(1) rotate(0)}}
@media(prefers-reduced-motion:reduce){.payment-code-help.is-animated .payment-note-cat{animation:none}}
