:root{--truthful-blue:#002850}
.v1-qr-hud-field{display:grid;gap:6px}
.v1-qr-hud-field[hidden]{display:none}
.v1-scanner{position:relative;overflow:hidden;background:#0d171c;color:#fff}
.v1-scanner-camera{position:absolute;inset:0 0 202px;overflow:hidden;background:#0b151a}
.v1-scan-image{position:absolute;inset:-2%;width:104%;height:104%;object-fit:cover;object-position:center;transition:filter .22s ease,transform .22s ease,opacity .22s ease}
.v1-scan-shade{position:absolute;z-index:1;top:194.5px;left:36.5px;right:36.5px;height:auto;aspect-ratio:1;border-radius:10px;background:transparent;box-shadow:0 0 0 999px rgba(1,20,26,.62);pointer-events:none;transition:box-shadow .2s ease}
.v1-scan-top{position:absolute;z-index:4;top:24px;left:20px;right:20px;display:flex;align-items:center;justify-content:space-between}
.v1-scan-top>div{display:flex;gap:12px}
.v1-scan-top button{width:44px;height:44px;padding:0;border:0;border-radius:50%;background:#fff;display:grid;place-items:center}
.v1-scan-top button img{width:24px;height:24px}
.v1-scan-top .v1-scan-close{background:transparent;color:#fff;font-size:42px;font-weight:300;line-height:1}
.v1-scan-stage{position:absolute;z-index:2;inset:76px 0 54px;width:100%;padding:0;border:0;background:transparent;color:#fff;text-align:center;cursor:pointer}
.v1-scan-instruction{position:absolute;top:14px;left:20px;right:20px;display:flex;flex-direction:column;gap:2px}
.v1-scan-instruction strong{font-size:20px;line-height:28px}
.v1-scan-instruction small{font-size:14px;line-height:20px}
.v1-scanner:not(.problem-none) .v1-scan-instruction strong{color:#ff9f2e}
.v1-scan-frame{--scan-corner:#fff;position:absolute;top:116px;left:34px;right:34px;height:auto;aspect-ratio:1}
.v1-scanner:not(.problem-none) .v1-scan-frame{--scan-corner:#ff9f2e}
.v1-scan-frame i{position:absolute;width:42px;height:42px}
.v1-scan-frame i::before,.v1-scan-frame i::after{content:"";position:absolute;border-radius:999px;background:var(--scan-corner)}
.v1-scan-frame i::before{width:42px;height:5px}
.v1-scan-frame i::after{width:5px;height:42px}
.v1-scan-frame i:nth-child(1){top:0;left:0}.v1-scan-frame i:nth-child(1)::before,.v1-scan-frame i:nth-child(1)::after{top:0;left:0}
.v1-scan-frame i:nth-child(2){top:0;right:0}.v1-scan-frame i:nth-child(2)::before,.v1-scan-frame i:nth-child(2)::after{top:0;right:0}
.v1-scan-frame i:nth-child(3){right:0;bottom:0}.v1-scan-frame i:nth-child(3)::before,.v1-scan-frame i:nth-child(3)::after{right:0;bottom:0}
.v1-scan-frame i:nth-child(4){bottom:0;left:0}.v1-scan-frame i:nth-child(4)::before,.v1-scan-frame i:nth-child(4)::after{bottom:0;left:0}
.v1-qris-supported{position:absolute;z-index:3;left:50%;bottom:10px;transform:translateX(-50%);display:grid;place-items:center}
.v1-qris-supported img{width:82px;height:42px;object-fit:contain;filter:brightness(0) invert(1)}
.v1-scan-drawer{position:absolute;z-index:5;left:0;right:0;bottom:0;height:202px;padding:18px 18px 16px;border-radius:18px 18px 0 0;background:#f7f7fa;color:var(--ink)}
.v1-scan-drawer header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.v1-scan-drawer h2{margin:0;font-size:20px;line-height:28px}
.v1-scan-drawer header button{padding:0;border:0;background:transparent;color:var(--blue);font-size:14px;font-weight:600}
.v1-qr-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.v1-qr-actions button{min-width:0;height:110px;padding:10px 5px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;font-size:13px;font-weight:600;line-height:17px}
.v1-qr-actions img{width:38px;height:38px;object-fit:contain}
.v1-scanner.problem-far .v1-scanner-camera{background-image:url('assets/icon-batch-2/scan-qr/qris.png');background-size:cover;background-position:center}
.v1-scanner.problem-far .v1-scan-image{transform:scale(.78)}
.v1-scanner.problem-far .v1-qris-supported{display:none}
.v1-scanner.problem-dark .v1-scan-image{filter:brightness(.28) saturate(.7)}
.v1-scanner.problem-dark .v1-scan-shade{box-shadow:0 0 0 999px rgba(0,7,10,.78)}
.v1-scanner.problem-shaking .v1-scan-image{filter:blur(5px);animation:v1-camera-shake .16s infinite alternate ease-in-out}
.v1-simple-qr{position:absolute;inset:0;background:#fff}
.v1-simple-qr>span{position:absolute;top:216px;left:50%;width:270px;height:270px;transform:translateX(-50%);overflow:hidden;background:#fff}
.v1-simple-qr img{position:absolute;top:-161px;left:-43px;width:356px;height:auto;max-width:none}
.v1-scanner.flash-on .v1-scan-image{filter:brightness(1.38)}
.v1-scanner.flash-on .v1-simple-qr{filter:brightness(1.08)}
.v1-scanner.problem-dark.flash-on .v1-scan-image{filter:brightness(.52) saturate(.75)}
.v1-scanner.problem-shaking.flash-on .v1-scan-image{filter:blur(5px) brightness(1.38)}
@keyframes v1-camera-shake{from{transform:translate3d(-7px,3px,0) scale(1.04)}to{transform:translate3d(7px,-4px,0) scale(1.04)}}

/* Version 1 — QR payment confirmation and reusable Confirmation List. */
.merchant-row small{display:flex;align-items:center;flex-wrap:wrap;gap:4px}
.merchant-detail-link{min-height:28px;padding:0;border:0;background:transparent;color:var(--blue);font-size:inherit;font-weight:600}
.from-label{display:flex;align-items:center;gap:4px}
.qr-balance-toggle{width:28px;height:28px;padding:4px;border:0;border-radius:6px;background:transparent;display:grid;place-items:center}
.qr-balance-toggle img{width:20px;height:20px}
.points-group{padding-bottom:0}
.points-info{margin:12px 0 0}
.merchant-detail-sheet{padding-top:10px}
.merchant-detail-sheet .sheet-handle{display:block;width:64px;height:4px;margin:0 auto 12px;border-radius:2px;background:#cbcaca}
.merchant-detail-sheet .sheet-head{margin-bottom:12px}
.confirmation-list{display:flex;flex-direction:column}
.confirmation-list-group{padding:18px 0;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:4px}
.confirmation-list-group:first-child{padding-top:8px}
.confirmation-list-group small,.confirmation-list-group span{color:var(--muted);font-size:14px;line-height:20px}
.confirmation-list-group strong{font-size:18px;line-height:24px}
.prototype-reset{position:absolute;top:16px;right:16px;min-height:40px;padding:0;border:0;background:transparent;color:#6a7078;display:flex;align-items:center;gap:5px;font-size:13px;font-weight:600}
.prototype-reset span{font-size:20px;line-height:1;font-weight:400}

/* Version 1 — Show QR · Make Payment. */
.selectable-source{width:100%;padding:0;border:0;border-bottom:1px solid var(--line);background:#fff;text-align:left}
.v1-cpm-page{padding-bottom:0;background:#fff}
.v1-cpm-page .general-head{border-bottom:0;background:#fff}
.v1-cpm-content{height:calc(100% - 112px);padding:20px;overflow-y:auto;text-align:center}
.v1-cpm-content .qr-lead{min-height:0;margin:0 0 16px;font-size:16px;line-height:24px}
.v1-cpm-card{width:338px;max-width:100%;padding:22px 16px 16px;border:0;border-radius:20px;background:var(--truthful-blue);color:#fff}
.v1-cpm-qris-logo{width:86px;height:34px;margin:0 auto 16px;overflow:hidden;position:relative}
.v1-cpm-qris-logo img{position:absolute;left:0;top:0;width:86px;height:60px;max-width:none;object-fit:fill;filter:brightness(0) invert(1)}
.v1-cpm-qr-shell{padding:12px;border-radius:14px;background:#fff;overflow:hidden}
.v1-cpm-qr-shell .qr-crop{width:100%;height:auto;aspect-ratio:1;border-radius:0}
.v1-cpm-qr-shell .qr-crop .qr-img{width:121.5%;left:-10.75%;top:-53.8%}
.v1-cpm-card .expiry{min-height:28px;margin:12px 0 0!important;padding:0!important;background:transparent;color:#fff!important;display:flex;align-items:center;justify-content:center;font-size:14px}
.v1-cpm-card .expiry b{margin-left:4px}
.v1-cpm-card .expiry.expiry-skeleton{height:28px}
.v1-cpm-card .expiry-skeleton span{background:linear-gradient(90deg,#315575 25%,#5f7b95 50%,#315575 75%);background-size:200% 100%}
.v1-cpm-funding{margin-top:18px;text-align:left}
.v1-cpm-funding .source-row{min-height:64px}
.v1-cpm-funding .selectable-source{border-bottom:1px solid var(--line)}
.v1-cpm-funding .source-icon{width:44px;height:44px;flex-basis:44px}
.v1-cpm-funding .points-group{border-bottom:1px solid var(--line);padding-bottom:0}

/* Version 1 — Show QR · Receive Transfer. */
.v1-receive-page{background:#fff}
.v1-receive-page .v1-cpm-content{position:static;padding-top:20px;text-align:left}
.v1-receive-page .qr-lead{margin-bottom:14px;text-align:center}
.v1-receive-card{padding:18px 16px 16px}
.v1-receive-card-head{height:38px;margin-bottom:10px;display:flex;align-items:flex-start;justify-content:space-between}
.v1-receive-card-head .v1-cpm-qris-logo{width:72px;height:30px;margin:0}
.v1-receive-card-head .v1-cpm-qris-logo img{width:72px;height:50px}
.v1-receive-card-head>button{min-height:36px;padding:0;border:0;background:transparent;color:#fff;display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600}
.v1-receive-card-head>button img{width:20px;height:20px;filter:brightness(0) invert(1)}
.v1-receive-qr-shell{padding:12px 12px 10px}
.v1-receive-qr-shell .qr-crop{width:100%;height:auto;aspect-ratio:1;border-radius:0}
.v1-receive-qr-shell .qr-crop .qr-img{width:121.5%;left:-10.75%;top:-53.8%}
.v1-receive-qr-shell>p{margin:8px 0 0;color:#858b92;font-size:12px;line-height:17px;text-align:center}
.v1-receive-qr-shell>p b{color:#181a1a}
.v1-receive-customer{padding:14px 0 12px;display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center}
.v1-receive-customer b{font-size:16px;line-height:22px}
.v1-receive-customer span{font-size:13px;line-height:18px}
.v1-receive-amount-cta{width:100%;min-height:42px;margin:0;padding:0 12px;border:0;border-radius:7px;background:#fff;color:var(--blue);font-size:14px;font-weight:700}
.v1-receive-amount-cta.has-amount{position:relative;padding:0;display:block;overflow:hidden}
.v1-receive-amount-cta.has-amount button{width:100%;min-height:42px;padding:0 44px;border:0;background:#fff;color:var(--blue);font-weight:700;text-align:center}
.v1-receive-amount-cta.has-amount button:last-child{position:absolute;top:0;right:0;width:42px;padding:0;color:#858b92;font-size:20px}
.v1-receive-to{margin-top:22px}
.v1-receive-to>small{color:var(--muted);font-size:14px;line-height:20px}
.v1-receive-to .source-row{min-height:70px}
.v1-receive-to .source-icon{width:44px;height:44px;flex-basis:44px}
.v1-receive-qr-skeleton{height:290px;border-radius:14px;background:linear-gradient(90deg,#7894ad 25%,#a9bbcb 50%,#7894ad 75%);background-size:200% 100%;animation:qr-skeleton 1.2s infinite}
.v1-receive-notification{position:absolute;z-index:18;top:12px;left:12px;right:12px;min-height:82px;padding:10px 12px;border:0;border-radius:14px;background:rgba(48,48,49,.82);backdrop-filter:blur(14px);color:#fff;display:flex;align-items:flex-start;gap:10px;text-align:left;box-shadow:0 8px 24px #0003;animation:v1-notification-drop .48s cubic-bezier(.22,1,.36,1) both}
.v1-receive-notification>img{width:24px;height:24px;margin-top:2px;filter:brightness(0) invert(1)}
.v1-receive-notification>span{min-width:0;flex:1;display:flex;flex-direction:column}
.v1-receive-notification small{font-size:12px;line-height:18px;letter-spacing:.02em}
.v1-receive-notification time{float:right;color:#ddd}
.v1-receive-notification b{font-size:15px;line-height:20px}
.v1-receive-notification em{font-size:14px;line-height:20px;font-style:normal}

.v1-receive-amount-sheet{padding-top:10px;padding-bottom:0}
.v1-receive-amount-sheet .sheet-handle{display:block;width:64px;height:4px;margin:0 auto 12px;border-radius:2px;background:#cbcaca}
.v1-receive-amount-sheet .sheet-head{margin-bottom:16px}
.v1-receive-amount-field{position:relative;min-height:66px;padding-bottom:10px;border-bottom:2px solid var(--blue);display:flex;flex-direction:column;gap:4px}
.v1-receive-amount-field span{color:var(--muted);font-size:13px;line-height:18px}
.v1-receive-amount-field strong{min-height:24px;color:#b3b6ba;font-size:16px;line-height:24px;font-weight:400}
.v1-receive-amount-field.has-value strong{color:inherit}
.v1-receive-amount-field>button{position:absolute;right:0;bottom:12px;width:24px;height:24px;padding:0;border:1px solid #9aa0a6;border-radius:50%;background:#fff;color:#858b92}
.v1-amount-keypad{margin:24px -20px 0;padding:8px 20px 20px;background:#f1f1f1;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.v1-amount-keypad button{height:52px;border:0;border-radius:4px;background:#fff;font-size:20px;font-weight:600}
.v1-amount-keypad button:nth-last-child(3),.v1-amount-keypad button:last-child{background:transparent}
.v1-amount-keypad button:disabled{color:#aaa}

.v1-receive-inbox{padding-bottom:0;background:#fff;display:flex;flex-direction:column}
.v1-inbox-head{height:96px;padding:40px 20px 16px;background:var(--truthful-blue);color:#fff;display:grid;grid-template-columns:40px 1fr 40px;align-items:center}
.v1-inbox-head button{width:40px;height:40px;padding:8px;border:0;background:transparent;color:#fff;font-size:30px}
.v1-inbox-head button img{width:24px;height:24px;filter:brightness(0) invert(1)}
.v1-inbox-head h1{margin:0;text-align:center;font-size:17px;line-height:24px}
.v1-receive-inbox main{flex:1;padding:24px 20px;overflow:auto}
.v1-inbox-time{margin:0;color:var(--muted);font-size:14px}
.v1-receive-inbox h2{margin:6px 0 36px;font-size:24px;line-height:32px}
.v1-inbox-intro{margin:0 0 32px;font-size:16px}
.v1-receive-inbox h3{margin:0 0 8px;font-size:17px;line-height:24px}
.v1-inbox-list{margin-bottom:34px}
.v1-inbox-list>div{padding:12px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:43% 57%;gap:10px;font-size:14px;line-height:20px}
.v1-inbox-list span{color:var(--muted)}
.v1-inbox-list p{margin:0;overflow-wrap:anywhere}
.v1-receive-inbox footer{padding:14px 20px 18px;background:#fff}
.v1-receive-inbox footer button{width:100%;min-height:50px;border:1px solid var(--blue);border-radius:8px;background:#fff;color:var(--blue);display:flex;align-items:center;justify-content:center;gap:8px;font-weight:700}
.v1-receive-inbox footer img{width:20px;height:20px}
@keyframes v1-notification-drop{from{opacity:0;transform:translateY(-120%)}to{opacity:1;transform:translateY(0)}}

.source-of-fund-sheet{padding-top:10px}
.source-of-fund-sheet .sheet-handle{display:block;width:64px;height:4px;margin:0 auto 12px;border-radius:2px;background:#cbcaca}
.source-account-options{margin:0 -20px -16px}
.source-account-options>button{width:100%;min-height:104px;padding:14px 20px;border:0;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;gap:12px;text-align:left}
.source-account-options>button:last-child{border-bottom:0}
.source-account-options img{width:48px;height:48px;flex:0 0 48px;object-fit:contain}
.source-account-options span{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}
.source-account-options b{font-size:16px;line-height:24px}
.source-account-options small{color:var(--muted);font-size:14px;line-height:20px}
.source-account-options em{margin-top:2px;font-size:16px;line-height:24px;font-style:normal}
.source-radio{width:24px;height:24px;flex:0 0 24px;border:1px solid #858b92;border-radius:50%;position:relative}
.source-radio.selected{border:2px solid var(--blue)}
.source-radio.selected:after{content:"";position:absolute;inset:4px;border-radius:50%;background:var(--blue)}

/* Version 1 — payment result, amount detail, and receipt. */
.confirm-page .savings-used{margin-top:8px;padding-top:14px;border-top:1px solid var(--line);font-weight:700}
.confirm-page .savings-used b{font-weight:700}
.success-page{display:flex;flex-direction:column;background:#fff}
.success-page .success-content{flex:1;padding:64px 24px 12px;overflow:auto}
.success-page .success-check{margin-bottom:20px}
.success-page .success-content h1{margin-bottom:4px;text-transform:none}
.success-page .success-content>p{margin:0 0 34px}
.success-page .receipt-row{padding:16px 0;border-bottom:1px solid var(--line);display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.success-page .receipt-row small,.success-page .receipt-row span{color:var(--muted)}
.success-page .receipt-row b{font-size:18px}
.success-detail-link{min-height:30px;padding:0;border:0;background:transparent;color:var(--blue);display:inline-flex;align-items:center;gap:4px;font-size:14px;font-weight:700}
.success-detail-link img{width:20px;height:20px;transform:rotate(-90deg);filter:brightness(0) saturate(100%) invert(34%) sepia(92%) saturate(3550%) hue-rotate(211deg) brightness(101%)}
.success-page .payment-details{width:100%;min-height:52px;padding:0;border:0;background:transparent;color:var(--blue);font-size:15px;font-weight:700;text-align:center}
.success-page .remaining{left:24px;right:24px;margin:0}
.amount-detail-sheet{padding-top:10px}
.amount-detail-sheet .sheet-handle{display:block;width:64px;height:4px;margin:0 auto 12px;border-radius:2px;background:#cbcaca}
.amount-detail-list{display:flex;flex-direction:column}
.amount-detail-list>div{padding:10px 0;display:flex;justify-content:space-between;gap:16px;font-size:14px}
.amount-detail-list b{font-weight:400}
.amount-detail-list .amount-detail-paid{margin-top:4px;padding-top:16px;border-top:1px solid var(--line);font-weight:700}
.amount-detail-list .amount-detail-paid b{font-weight:700}

.receipt-page{display:flex;flex-direction:column;background:#f5f5f7}
.receipt-page .general-head{flex:0 0 auto;background:#fff}
.receipt-content{flex:1;margin-top:12px;padding:32px 24px 24px;overflow:auto;background:#fff}
.receipt-logo{display:block;width:142px;height:48px;margin-bottom:30px;object-fit:contain;object-position:left center}
.receipt-title{margin-bottom:32px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.receipt-title h1{margin:0;font-size:18px;line-height:24px}
.receipt-title span{padding:4px 10px;border-radius:999px;background:#d7f4e8;color:#008f70;font-size:12px;font-weight:700}
.receipt-content h2{margin:0 0 8px;font-size:16px;line-height:24px}
.receipt-list{margin-bottom:30px}
.receipt-list>div{padding:12px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:43% 57%;gap:10px;font-size:13px;line-height:19px}
.receipt-list small{color:var(--muted);font-size:13px}
.receipt-list p{margin:0;overflow-wrap:anywhere}
.receipt-actions{flex:0 0 auto;padding:14px 20px 18px;background:#fff;display:grid;grid-template-columns:1fr 1fr;gap:10px;border-top:10px solid #f5f5f7}
.receipt-actions button{min-height:50px;border:1px solid var(--blue);border-radius:8px;background:#fff;color:var(--blue);display:flex;align-items:center;justify-content:center;gap:8px;font-size:15px;font-weight:700}
.receipt-actions img{width:20px;height:20px;object-fit:contain}

/* Version 1 — QRIS Tap (tap once). */
.v1-tap-page{padding-bottom:0;background:#fff}
.v1-tap-page .general-head{border-bottom:0;background:#fff}
.v1-tap-content{height:calc(100% - 112px);padding:24px 20px 18px;overflow:auto;display:flex;flex-direction:column}
.v1-tap-hero{display:flex;flex-direction:column;align-items:center;text-align:center}
.v1-tap-visual{width:260px;height:260px;padding:0;border:0;border-radius:50%;background:#fff;overflow:hidden;cursor:pointer}
.v1-tap-visual img{width:100%;height:100%;object-fit:contain}
.v1-tap-visual-skeleton{width:260px;height:260px;border-radius:50%;background:linear-gradient(90deg,#eef1f4 25%,#dfe5eb 50%,#eef1f4 75%);background-size:200% 100%;animation:qr-skeleton 1.2s infinite}
.v1-tap-hero h1{margin:18px 0 4px;font-size:20px;line-height:28px}
.v1-tap-hero .expiry{min-height:24px;margin:0!important;padding:0!important;border-radius:0!important;background:transparent!important;color:var(--ink)!important;font-size:15px;line-height:22px}
.v1-tap-hero .expiry b{margin-left:4px}
.v1-tap-hero .expiry.expiry-skeleton{width:126px;height:24px;margin-top:2px}
.v1-tap-mark{margin-top:32px;display:flex;align-items:center;justify-content:center}
.v1-tap-mark img{width:116px;height:auto;object-fit:contain}
.v1-tap-funding{margin-top:40px;padding-top:0;text-align:left}
.v1-tap-funding>small{color:var(--muted);font-size:14px;line-height:20px}
.v1-tap-funding .source-row{min-height:72px}
.v1-tap-funding .source-icon{width:46px;height:46px;flex-basis:46px}
.v1-tap-funding .selectable-source{border-bottom:1px solid var(--line)}
.v1-tap-funding .points-group{padding-bottom:0;border-bottom:1px solid var(--line)}
.v1-tap-success .success-content{padding-top:56px}
.v1-tap-success .payment-details{border-bottom:0}
.v1-tap-receipt .receipt-content{margin-top:0}
@media (prefers-reduced-motion:reduce){.v1-scanner.problem-shaking .v1-scan-image{animation:none;transform:translateX(4px)}.v1-receive-notification{animation:none}}
