@font-face{font-family:Geist;src:url("assets/geist.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
:root{--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--text-secondary:#74747c;--line:#e8e8ec}
body,button,input,select,textarea{font-family:Geist,sans-serif}
body{font-optical-sizing:auto;-webkit-font-smoothing:antialiased}
header{padding-left:24px;padding-right:24px;font-size:16px;line-height:24px}
.content{padding:24px 24px 12px}.items article{gap:16px;padding:16px 0}article div{padding-top:0}h2{font-size:16px;line-height:20px;margin-bottom:8px}article p{line-height:16px;margin-bottom:4px}article strong{margin-top:8px;font-size:14px;line-height:20px}.summary{padding-top:16px;gap:8px}
footer{padding:16px 24px 28px}.total{line-height:24px;margin-bottom:16px}.total strong{font-size:24px;line-height:28px}#checkout{height:56px;border-radius:28px}
.phone:not(.pix-mode) .blank-card{width:calc(100% - 40px);padding:20px;border-radius:24px}
.phone:not(.pix-mode) .blank-card.compact-banks{height:552px}
.panel-heading,.compact-banks .panel-heading{gap:8px;margin-bottom:16px}.panel-heading h1{font-size:20px;line-height:24px;letter-spacing:-.6px;font-weight:650}
.blank-card #back{width:32px;height:32px;position:relative}.blank-card #back:after{content:"";position:absolute;inset:-6px;border-radius:50%}
.bank-grid{gap:8px}.bank-tile{min-height:64px;gap:8px;padding:12px 8px;border-radius:12px}.bank-tile b{font-size:11px;line-height:16px;font-weight:600}.bank-tile small{font-size:10px;line-height:12px;margin-top:4px;color:var(--text-secondary)}.bank-logo{width:32px;min-width:32px;height:32px;border-radius:8px}.bank-tile:hover{transform:none}
.simple-payment .payment-back{margin-bottom:16px}.simple-payment .selected-bank{justify-content:center;gap:16px;padding:0 0 24px;margin-bottom:24px}.simple-payment .selected-bank .bank-logo{width:68px;min-width:68px;height:68px}.selected-bank b{font-size:14px;line-height:20px;font-weight:600}.selected-bank small{font-size:12px;line-height:16px;margin-top:4px}.simple-plan{padding:0 0 16px}.simple-plan>span{font-size:12px;line-height:16px;margin-bottom:8px}.plan-toggle{min-height:48px;padding:12px 16px;gap:12px;font-size:14px;line-height:20px;border-radius:12px}.plan-interest{font-size:12px;line-height:16px;margin-top:4px}.plan-detail{font-size:12px;line-height:20px;margin:0 0 24px;min-height:20px}.plan-menu{padding:4px;border-radius:12px}.plan-menu button{min-height:44px;padding:8px 12px;line-height:16px}.panel-pay{padding-top:16px}.panel-pay>div{font-size:14px;line-height:24px;margin-bottom:16px}.panel-pay>div b{font-size:20px;line-height:24px}.selfie{min-height:48px;border-radius:24px;font-size:14px;line-height:20px;font-weight:600}.simple-payment .panel-pay{margin-top:0}
.quiet-receipt{padding-top:24px}.paid-check{margin-bottom:24px}.quiet-receipt h1{font-size:24px;line-height:32px;margin:0 0 8px;letter-spacing:-.6px}.quiet-receipt p{font-size:14px;line-height:20px;margin:0}.quiet-receipt .selected-bank{margin-top:32px;padding-bottom:24px;gap:12px}.quiet-receipt .selfie{margin-top:24px}
.live-label{font-size:14px;line-height:20px}.pix-page .panel-heading{margin-bottom:24px}.pix-merchant{gap:8px}.pix-merchant strong{font-size:32px;line-height:40px}.pix-wait{gap:8px;margin:16px 0;line-height:20px}.pix-lead{margin:16px 0;line-height:20px}.pix-qr{margin:24px 0;gap:8px}.pix-qr img{width:144px;height:144px}.pix-steps{padding-left:20px;line-height:20px}.pix-steps li{padding-left:4px;margin-bottom:8px}.pix-return{font-size:12px;line-height:20px}
@media(max-width:500px){footer{padding-bottom:max(24px,env(safe-area-inset-bottom))}}
@media(max-width:360px){.phone:not(.pix-mode) .blank-card{width:calc(100% - 24px);padding:16px}.bank-tile{padding:8px;gap:4px}.panel-heading h1{font-size:18px}}
.blank-card #back{top:auto;left:auto}
.phone:not(.pix-mode) #reveal{grid-template-rows:minmax(0,1fr);min-height:0}
.phone:not(.pix-mode) .blank-card{min-height:0;max-height:100%;overflow-y:auto}

.shipping{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.shipping-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:8px}.shipping-heading h2{font-size:14px;line-height:20px;margin:0;font-weight:600}.shipping-heading button{border:0;background:none;padding:8px 0 8px 12px;color:#191919;font-size:12px;text-decoration:underline;text-underline-offset:3px;min-height:40px}.shipping address{font-style:normal;font-size:12px;line-height:20px;color:var(--text-secondary);padding-bottom:12px}
#address-dialog{width:min(352px,calc(100vw - 32px));max-height:calc(100svh - 48px);padding:24px;border:1px solid var(--line);border-radius:24px;color:#191919;background:#fff;box-shadow:0 24px 64px #0002;overflow:auto}#address-dialog::backdrop{background:#0005;backdrop-filter:blur(2px)}#address-form{display:grid;gap:16px}#address-form .shipping-heading{margin:0}#address-title{font-size:20px;line-height:24px}#address-form label{display:grid;gap:8px;font-size:12px;line-height:16px;color:var(--text-secondary)}#address-form input{width:100%;min-width:0;border:1px solid #dedee4;border-radius:12px;background:#fafafa;color:#191919;font-size:16px;padding:12px;min-height:48px}#address-form input:focus{outline:2px solid #191919;outline-offset:2px}.address-columns{display:grid;grid-template-columns:2fr 1fr;gap:12px}.address-country{margin:0;font-size:12px;color:var(--text-secondary)}
/* Give the selected bank a clearer focal point. */
.simple-payment .selected-bank{gap:20px}
.simple-payment .selected-bank .bank-logo{width:88px;min-width:88px;height:88px}
.simple-payment .selected-bank b{font-size:18px;line-height:24px}
.simple-payment .selected-bank small{font-size:14px;line-height:20px;margin-top:4px}
@media(max-width:360px){.simple-payment .selected-bank{gap:16px}.simple-payment .selected-bank .bank-logo{width:80px;min-width:80px;height:80px}.simple-payment .selected-bank b{font-size:16px}}
/* Let bank artwork lead the choices while retaining a compact two-column grid. */
.bank-tile .bank-logo{width:44px;min-width:44px;height:44px}
.bank-tile{padding:8px;gap:8px;min-height:64px}
.bank-tile .pix-symbol{font-size:40px}
.phone:not(.pix-mode) .blank-card.compact-banks{height:528px}
@media(max-width:360px){.bank-tile .bank-logo{width:36px;min-width:36px;height:36px}.bank-tile{gap:8px}.bank-tile b{font-size:10px}}

/* One merchant-configured payment screen. */
.phone:not(.pix-mode) #reveal{bottom:20px;padding-bottom:0}
.phone:not(.pix-mode) .blank-card.compact-banks{height:100%;padding-bottom:0}
.unified-payment .bank-grid{padding-bottom:20px}
.credit-choice{position:relative;min-height:88px;gap:8px;padding:12px 8px 24px;background:linear-gradient(135deg,#fff,#f0f0f3);border-color:#dedee4;overflow:hidden;box-shadow:0 2px 4px #00000004}
.credit-choice .bank-logo{width:48px;min-width:48px;height:48px}
.credit-choice .tile-label{display:flex;flex-direction:column;gap:4px}.credit-choice .tile-label small{font-size:12px;line-height:16px;margin:0;color:#555;white-space:nowrap}.credit-choice .tile-label b{font-size:10px;line-height:12px;font-weight:500;color:#777}
.card-chip{position:absolute;left:12px;bottom:10px;width:16px;height:12px;border:1px solid #c4c4ca;border-radius:4px;background:linear-gradient(90deg,transparent 45%,#c4c4ca 48%,#c4c4ca 52%,transparent 55%)}
.card-selected{position:absolute;right:10px;bottom:8px;opacity:0;font-size:12px}.credit-choice[aria-pressed=true]{border-color:#202024;background:linear-gradient(135deg,#fff,#e8e8ed);box-shadow:inset 0 0 0 1px #202024}.credit-choice[aria-pressed=true] .card-selected{opacity:1}
.merchant-payment{position:sticky;bottom:0;background:#fff;padding:16px 0 12px;border-top:1px solid var(--line);box-shadow:0 -12px 16px #ffffffed;z-index:2}.merchant-total{display:flex;justify-content:space-between;align-items:center;font-size:14px;line-height:24px}.merchant-total strong{font-size:20px}.merchant-terms{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 8px;font-size:12px;line-height:16px;margin:8px 0 16px}.merchant-terms b{font-weight:500}.merchant-terms span,.merchant-terms small{color:var(--text-secondary)}.merchant-terms small{flex-basis:100%;font-size:10px}.alternative-link{display:block;margin:8px auto 0;padding:8px;border:0;background:none;text-decoration:underline;text-underline-offset:3px;font-size:12px;color:#666}
@media(max-width:500px){.phone:not(.pix-mode) #reveal{bottom:calc(12px + env(safe-area-inset-bottom))}}
@media(max-width:360px){.credit-choice .bank-logo{width:40px;min-width:40px;height:40px}.credit-choice .tile-label small{font-size:11px}}
/* Compact, logo-led bank identities. */
.credit-choice{height:64px;min-height:64px;padding:8px;gap:12px;background:var(--card-tint,#f7f7f9);box-shadow:none}
.credit-choice:nth-child(1){--card-tint:#fff2e4}.credit-choice:nth-child(2){--card-tint:#f2e7ff}.credit-choice:nth-child(3){--card-tint:#fce8f0}.credit-choice:nth-child(4){--card-tint:#ffeded}.credit-choice:nth-child(5){--card-tint:#fffedb}.credit-choice:nth-child(6){--card-tint:#e3f4f8}.credit-choice:nth-child(7){--card-tint:#fff0e0}.credit-choice:nth-child(8){--card-tint:#e9e9ed}.credit-choice:nth-child(9){--card-tint:#e5edfb}.credit-choice:nth-child(10){--card-tint:#e4f7eb}
.credit-choice .bank-logo{width:48px;min-width:48px;height:48px}.credit-choice .tile-label b,.card-chip{display:none}.credit-choice .tile-label small{font-size:12px;line-height:16px;color:#48484d}.credit-choice[aria-pressed=true]{background:var(--card-tint);border-color:#202024;box-shadow:inset 0 0 0 1px #202024}.credit-choice:hover{background:var(--card-tint);filter:brightness(.98)}.card-selected{right:6px;bottom:3px;font-size:10px}
@media(max-width:360px){.credit-choice{gap:8px}.credit-choice .bank-logo{width:40px;min-width:40px;height:40px}.credit-choice .tile-label small{font-size:11px}}
/* Credit-card finish within the existing compact tile footprint. */
.credit-choice{--card-ink:#fff;--card-start:#27367b;--card-end:#10184b;background:linear-gradient(120deg,var(--card-start),var(--card-end));border-color:#ffffff24;box-shadow:0 2px 5px #16162216;border-radius:12px;isolation:isolate}
.credit-choice:nth-child(1){--card-start:#ee821d;--card-end:#b94b08}.credit-choice:nth-child(2){--card-start:#8c19dd;--card-end:#401164}.credit-choice:nth-child(3){--card-start:#cf1960;--card-end:#780e3b}.credit-choice:nth-child(4){--card-start:#e63338;--card-end:#990e1c}.credit-choice:nth-child(5){--card-start:#fff646;--card-end:#e0ce16;--card-ink:#123d93}.credit-choice:nth-child(6){--card-start:#168da8;--card-end:#055080}.credit-choice:nth-child(7){--card-start:#ff8824;--card-end:#c64c05}.credit-choice:nth-child(8){--card-start:#44444c;--card-end:#15151c}.credit-choice:nth-child(9){--card-start:#2867bc;--card-end:#122e69}.credit-choice:nth-child(10){--card-start:#17b66b;--card-end:#05683e}
.credit-choice:before{content:"";position:absolute;width:150px;height:150px;right:-80px;top:-108px;border:1px solid #ffffff30;border-radius:50%;pointer-events:none;z-index:-1}.credit-choice:after{content:"";position:absolute;inset:0;background:linear-gradient(145deg,#ffffff18,transparent 48%,#ffffff06);pointer-events:none;z-index:-1}
.credit-choice .bank-logo{width:44px;min-width:44px;height:44px;background:#fff;border-radius:8px;padding:2px}
.credit-choice .tile-label small{color:var(--card-ink);font-size:12px;font-weight:500;letter-spacing:.5px;font-variant-numeric:tabular-nums;text-shadow:0 1px 1px #0001}
.credit-choice .card-chip{display:block;left:auto;right:12px;bottom:7px;width:12px;height:8px;border:1px solid #ffffff70;background:linear-gradient(90deg,#ddc79b 45%,#a28b63 48%,#a28b63 52%,#ddc79b 55%);border-radius:2px;opacity:.8}
.credit-choice[aria-pressed=true]{background:linear-gradient(120deg,var(--card-start),var(--card-end));border-color:#202024;box-shadow:0 0 0 2px #fff inset,0 0 0 1px #202024}
.credit-choice:hover{background:linear-gradient(120deg,var(--card-start),var(--card-end));filter:brightness(1.04)}.credit-choice .card-selected{color:var(--card-ink);right:5px;top:3px;bottom:auto}

.coin-face.bank-face{background:#fff;overflow:hidden}.bank-face img{width:100%;height:100%;object-fit:contain;padding:3px}.merchant-terms{margin-bottom:8px}

/* Bank identity stays fixed; all progress indicators live in the center. */
.quiet-overlay .live-shell{background:var(--pill-bank);border-color:#ffffff40}
.quiet-overlay .live-label{color:var(--pill-ink);gap:8px;padding:8px 44px;font-size:12px;line-height:16px;flex-direction:column}
.quiet-overlay .live-coin{transform:none!important;background:#fff}
.quiet-overlay .coin-face.mark{opacity:1!important}
.quiet-overlay .coin-face.guidance,.quiet-overlay .coin-face.person,.quiet-overlay .coin-face.green,.quiet-overlay .live-check,.quiet-overlay .ring{display:none}
.pill-status-icon{display:flex;align-items:center;justify-content:center;height:16px;font-size:18px;line-height:16px}.pill-status-icon svg{width:18px;height:18px}
.pill-status-spinner{width:14px;height:14px;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;animation:pill-spin .8s linear infinite}
@keyframes pill-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.pill-status-spinner{animation:none}}

/* Stacked wallet exploration: the selected card lifts into its review position. */
.wallet-deck{position:relative;height:calc((var(--card-count) - 1)*44px + 188px);transition:height .6s cubic-bezier(.22,1,.36,1);margin:8px 0 24px;isolation:isolate}
.wallet-deck .wallet-card{position:absolute;top:0;left:0;width:100%;height:188px;min-height:188px;display:block;text-align:left;transform:translateY(calc(var(--index)*44px));z-index:calc(var(--index) + 1);border-radius:16px;padding:16px;box-shadow:0 -2px 8px #00000018,0 8px 16px #00000010;transition:transform .65s cubic-bezier(.22,1,.36,1),opacity .3s ease,box-shadow .5s ease;cursor:pointer}
.wallet-deck .wallet-card:hover{transform:translateY(calc(var(--index)*44px - 4px));filter:none}
.wallet-deck .wallet-card .bank-logo{position:absolute;top:8px;left:16px;width:32px;min-width:32px;height:28px;padding:2px;border-radius:6px;transition:width .5s,height .5s,top .5s}
.wallet-bank-name{position:absolute;top:12px;right:16px;font-size:13px;line-height:20px;color:var(--card-ink);font-weight:600}
.wallet-card-number{position:absolute;bottom:24px;left:20px;color:var(--card-ink);font-size:15px;letter-spacing:1px;font-variant-numeric:tabular-nums}
.wallet-card-kind{position:absolute;bottom:24px;right:20px;color:var(--card-ink);font-size:12px;opacity:.8}
.wallet-deck .wallet-card .card-chip{display:block;top:68px;left:20px;right:auto;bottom:auto;width:28px;height:20px;border-radius:4px}
.wallet-deck .wallet-card:before{width:280px;height:280px;right:-100px;top:-140px}.wallet-deck .wallet-card:after{background:linear-gradient(125deg,#ffffff20,transparent 55%,#00000010)}
.wallet-picked .wallet-deck{height:188px}
.wallet-picked .wallet-card{transform:translateY(28px) scale(.94);opacity:0;pointer-events:none}
.wallet-picked .wallet-card.wallet-active{transform:translateY(0);opacity:1;z-index:20;pointer-events:auto;box-shadow:0 12px 24px #00000020}
.wallet-picked .wallet-active .bank-logo{top:20px;width:56px;height:44px}.wallet-picked .wallet-active .wallet-bank-name{top:28px}
.wallet-payment{padding-top:8px;animation:wallet-details-in .4s .25s both}.wallet-payment[hidden]{display:none}.wallet-payment .merchant-total{margin-bottom:12px}.wallet-payment .merchant-terms{margin-bottom:24px}.wallet-payment .wallet-change{display:block;text-align:center;margin:8px auto 0;min-height:44px}.wallet-view>.alternative-link{margin:16px auto}
@keyframes wallet-details-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.wallet-deck,.wallet-deck .wallet-card,.wallet-deck .bank-logo{transition:none}.wallet-payment{animation:none}}
@media(max-width:360px){.wallet-deck .wallet-card{height:172px;min-height:172px}.wallet-deck{height:calc((var(--card-count) - 1)*44px + 172px)}.wallet-picked .wallet-deck{height:172px}.wallet-card-number{font-size:12px}.wallet-bank-name{font-size:12px}}

.wallet-show-all{display:block;margin:0 auto 12px;text-align:center;min-height:44px}.wallet-picked .wallet-show-all{display:none}

/* Unfold extra cards in the existing deck; keep the first four anchored. */
.wallet-deck:not(.wallet-expanded) .wallet-card:nth-child(n+5){transform:translateY(132px) scale(.98);opacity:0;pointer-events:none;z-index:0;visibility:hidden;transition:transform .5s cubic-bezier(.22,1,.36,1),opacity .25s,visibility 0s .5s}
.wallet-deck.wallet-expanded .wallet-card:nth-child(n+5){transition:transform .6s cubic-bezier(.22,1,.36,1),opacity .35s,visibility 0s;transition-delay:calc((var(--index) - 4)*22ms);visibility:visible}
.wallet-picked .wallet-deck .wallet-card:not(.wallet-active){opacity:0;pointer-events:none;transform:translateY(28px) scale(.94)}
.wallet-picked .wallet-deck .wallet-active{opacity:1;visibility:visible;transform:translateY(0);z-index:20}
.wallet-show-all{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 16px;border-radius:24px;background:#f5f5f7;font-size:12px;line-height:20px;transition:background .2s}
.wallet-show-all:after{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .3s}
.wallet-show-all[aria-expanded=true]:after{transform:rotate(225deg) translate(-2px,-1px)}
@media(prefers-reduced-motion:reduce){.wallet-deck .wallet-card:nth-child(n+5){transition:none!important}.wallet-show-all:after{transition:none}}

/* Fit the wallet shell to its content instead of filling the available screen. */
.phone:not(.pix-mode) .blank-card.compact-banks:has(.wallet-view){height:auto;padding-bottom:16px}
.wallet-deck{margin-bottom:16px}
.wallet-show-all{margin-bottom:8px}
.wallet-view>.alternative-link{margin:8px auto 0}

.wallet-picked>.alternative-link{display:none}

/* Bottom-anchor the wallet over the merchant total. */
.phone:not(.pix-mode) #reveal:has(.wallet-view){align-items:end;padding-top:88px;padding-bottom:0;bottom:12px}
.wallet-payment .merchant-terms{margin:0 0 16px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.wallet-payment .merchant-total{margin:0 0 20px}
@media(max-width:500px){.phone:not(.pix-mode) #reveal:has(.wallet-view){bottom:calc(8px + env(safe-area-inset-bottom));padding-top:calc(88px + env(safe-area-inset-top))}}

/* One coordinated lift; do not animate the deck's layout under the card. */
.wallet-picked .wallet-deck{transition:none}
.wallet-deck .wallet-card{transition:transform .56s cubic-bezier(.22,.78,.22,1),opacity .24s ease,box-shadow .56s ease}
.wallet-picked .wallet-deck .wallet-card:not(.wallet-active){transform:translateY(calc(var(--index)*44px + 12px));opacity:0;transition:opacity .18s ease,transform .32s ease}
.wallet-picked .wallet-deck .wallet-active{transform:translateY(0);transition:transform .56s cubic-bezier(.22,.78,.22,1),box-shadow .56s ease;z-index:20}
.wallet-payment{animation:wallet-details-in .32s .36s both}
@media(prefers-reduced-motion:reduce){.wallet-deck .wallet-card,.wallet-picked .wallet-deck .wallet-card{transition:none}.wallet-payment{animation:none}}

/* One wallet: card selection and payment remain together. */
.wallet-unified .wallet-deck{height:268px;overflow:auto;overscroll-behavior:contain;margin:0 0 8px;scrollbar-width:none;transition:none}
.wallet-unified .wallet-deck::-webkit-scrollbar{display:none}
.wallet-unified .wallet-deck .wallet-card{height:148px;min-height:148px;transform:translateY(calc(var(--slot)*40px));opacity:1;visibility:visible;pointer-events:auto;transition:transform .48s cubic-bezier(.22,1,.36,1),opacity .2s;}
.wallet-unified .wallet-deck .wallet-card:hover{transform:translateY(calc(var(--slot)*40px))}
.wallet-unified .wallet-deck .wallet-card[aria-hidden="true"]{opacity:0;visibility:hidden;pointer-events:none}
.wallet-unified .wallet-deck.wallet-expanded{height:268px}
.wallet-unified .wallet-deck .wallet-card .bank-logo{top:8px;width:36px;height:28px}
.wallet-unified .wallet-card-number,.wallet-unified .wallet-card-kind{bottom:20px}
.wallet-unified .wallet-show-all{min-height:36px;padding:8px 16px;margin:0 auto 12px}
.wallet-unified .wallet-payment{animation:none;padding-top:0}
.wallet-unified .wallet-payment .merchant-terms{margin-bottom:12px;padding-bottom:12px}
.wallet-unified .wallet-payment .merchant-total{margin-bottom:12px}
.wallet-unified .alternative-link{margin:12px auto 0;font-size:12px}
.wallet-unified .panel-heading{margin-bottom:16px}
@media(max-height:740px){.wallet-unified .wallet-deck,.wallet-unified .wallet-deck.wallet-expanded{height:228px}.wallet-unified .wallet-deck .wallet-card{height:120px;min-height:120px;transform:translateY(calc(var(--slot)*36px))}.wallet-unified .wallet-deck .wallet-card:hover{transform:translateY(calc(var(--slot)*36px))}.wallet-unified .wallet-show-all{margin-bottom:8px}.wallet-unified .wallet-payment .merchant-terms{margin-bottom:8px;padding-bottom:8px}}
@media(prefers-reduced-motion:reduce){.wallet-unified .wallet-deck .wallet-card{transition:none}}
/* Keep a selected card from the expanded list visible in the compact stack. */
.wallet-unified .wallet-deck:not(.wallet-expanded) .wallet-card:nth-child(n+5):not([aria-hidden="true"]){opacity:1;visibility:visible;pointer-events:auto;transform:translateY(calc(var(--slot)*40px));transition:transform .48s cubic-bezier(.22,1,.36,1),opacity .2s}
@media(max-height:740px){.wallet-unified .wallet-deck:not(.wallet-expanded) .wallet-card:nth-child(n+5):not([aria-hidden="true"]){transform:translateY(calc(var(--slot)*36px))}}
/* Bank-product-inspired finishes, with one prominent selected card. */
.wallet-unified .wallet-card:nth-child(1){--card-start:#343331;--card-end:#141414}
.wallet-unified .wallet-card:nth-child(2){--card-start:#48216c;--card-end:#190d2e}
.wallet-unified .wallet-card:nth-child(3){--card-start:#32343a;--card-end:#101216}
.wallet-unified .wallet-card:nth-child(4){--card-start:#373637;--card-end:#111112}
.wallet-unified .wallet-card:nth-child(5){--card-start:#3e3930;--card-end:#171715;--card-ink:#eee7cf}
.wallet-unified .wallet-card:nth-child(6){--card-start:#303e50;--card-end:#111b27}
.wallet-unified .wallet-card:nth-child(7){--card-start:#343232;--card-end:#151515}
.wallet-unified .wallet-card:nth-child(8){--card-start:#383a3c;--card-end:#121415}
.wallet-unified .wallet-card:nth-child(9){--card-start:#253240;--card-end:#0d141c}
.wallet-unified .wallet-card:nth-child(10){--card-start:#203d32;--card-end:#0c1d15}
.wallet-unified .wallet-deck{--stack-step:32px;--hero-height:172px;height:268px;padding:0 0 8px}
.wallet-unified .wallet-deck .wallet-card:not([aria-hidden="true"]),.wallet-unified .wallet-deck:not(.wallet-expanded) .wallet-card:nth-child(n+5):not([aria-hidden="true"]){height:var(--hero-height);min-height:var(--hero-height);transform:translateY(calc(var(--slot)*var(--stack-step))) scale(.94);transform-origin:50% 0;transition:transform .52s cubic-bezier(.22,1,.36,1),box-shadow .52s,opacity .25s;border:1px solid #ffffff38;background:radial-gradient(ellipse at 25% 0,#ffffff0d,transparent 60%),linear-gradient(120deg,var(--card-start),var(--card-end))}
.wallet-unified .wallet-deck .wallet-card.wallet-active:not([aria-hidden="true"]){transform:translateY(calc(var(--slot)*var(--stack-step))) scale(1);box-shadow:0 10px 20px #11111124,inset 0 1px #ffffff28;border-color:#ffffff58}
.wallet-unified .wallet-deck .wallet-card:before{inset:0;width:auto;height:auto;border:0;border-radius:0;background:repeating-linear-gradient(110deg,#ffffff05 0 1px,transparent 1px 5px)}
.wallet-unified .wallet-deck .wallet-card:after{background:linear-gradient(115deg,transparent 25%,#ffffff13 48%,transparent 70%);background-size:240% 100%;background-position:100% 0}
.wallet-unified .wallet-deck .wallet-active:after{animation:card-sheen .85s ease-out both}
@keyframes card-sheen{from{background-position:100% 0}to{background-position:0% 0}}
.wallet-unified .wallet-deck .wallet-card .bank-logo{top:4px;width:32px;height:24px;transition:width .45s,height .45s,top .45s}
.wallet-unified .wallet-deck .wallet-active .bank-logo{top:16px;width:52px;height:40px}
.wallet-unified .wallet-bank-name{top:6px;font-size:12px}
.wallet-unified .wallet-active .wallet-bank-name{top:24px}
.wallet-edition{position:absolute;left:20px;top:78px;font-size:18px;letter-spacing:.8px;font-weight:400;color:var(--card-ink);opacity:0;transition:opacity .3s}
.wallet-active .wallet-edition{opacity:.9}
.wallet-unified .wallet-card-kind{font-size:10px;font-weight:600;letter-spacing:.2px}
@media(max-height:740px){.wallet-unified .wallet-deck{--stack-step:28px;--hero-height:144px;height:228px}.wallet-edition{top:66px;font-size:16px}}
/* Neutral pill surface; preserve existing layout, bank logo and motion. */
.quiet-overlay .live-shell{background:#ededee;border-color:#ffffffb3}
.quiet-overlay .live-label{color:#55575b}
/* Slightly narrower neutral liveness pill. */
.quiet-overlay .live-pill{width:min(260px,calc(100% - 64px))}
/* Published card-face artwork, rather than a CSS imitation. */
.wallet-unified .wallet-deck .real-card{background:#16171b!important;padding:0;border:0!important}
.wallet-unified .wallet-deck .real-card:before,.wallet-unified .wallet-deck .real-card:after{display:none}
.card-artwork{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;display:block;border-radius:inherit;pointer-events:none}
.real-card .wallet-bank-name,.real-card .wallet-card-number,.real-card .wallet-card-kind,.real-card .wallet-edition{display:none}
.wallet-unified .wallet-deck{--hero-height:184px;height:280px}
@media(max-height:740px){.wallet-unified .wallet-deck{--hero-height:160px;height:244px}}
/* The selected artwork must win over the older expanded-list sizing rule. */
.wallet-unified .wallet-deck .wallet-card:not(.wallet-active):not([aria-hidden="true"]),
.wallet-unified .wallet-deck:not(.wallet-expanded) .wallet-card:nth-child(n+5):not(.wallet-active):not([aria-hidden="true"]){transform:translateY(calc(var(--slot)*var(--stack-step))) scale(.88);filter:brightness(.88);box-shadow:0 2px 6px #00000018}
.wallet-unified .wallet-deck .wallet-card.wallet-active[aria-pressed="true"]:not([aria-hidden="true"]){transform:translateY(calc(var(--slot)*var(--stack-step))) scale(1);filter:none;box-shadow:0 8px 16px #00000035,0 0 0 1px #00000030;outline:1px solid #ffffff45;outline-offset:-1px}

/* Digital wallet faces: artwork first, only demo last-four digits. */
.wallet-unified .real-card .wallet-card-number{display:block;position:absolute;left:7%;bottom:8%;font-size:16px;letter-spacing:.04em;color:#fff;text-shadow:0 1px 3px #0008}
.wallet-unified .real-card[data-bank="11"] .wallet-card-number{color:#222;text-shadow:0 1px 2px #fff;background:#e1e2e3cc;border-radius:4px;padding:2px 6px}

/* Card-matched tokens replace miniature card images in authentication. */
.quiet-overlay .live-coin,.quiet-overlay .coin-face.bank-face{background:transparent}
.auth-token{display:grid;place-items:center;width:100%;height:100%;overflow:hidden;border-radius:50%;background:var(--token-color);box-shadow:inset 0 0 0 1px #ffffff20}
.coin-face .auth-token svg{width:78%;height:78%;border-radius:50%;overflow:hidden}
.coin-face .token-2 svg{width:82%;height:82%;border-radius:0}
.bank-face .auth-token img{width:100%;height:100%;object-fit:contain;padding:2px}
.bank-face .auth-token .token-bank-1,.bank-face .auth-token .token-bank-7{filter:brightness(0) invert(1)}

/* Give the bank emblem more presence without changing the pill. */
.quiet-overlay .live-coin{inset:1px}
.coin-face .auth-token svg{width:86%;height:86%}
.coin-face .token-2 svg{width:90%;height:90%}
.bank-face .auth-token img{padding:1px}

/* Fixed status slots and a gentle fade between authentication messages. */
.quiet-overlay .live-label{display:grid;grid-template-rows:18px 16px;align-content:center;justify-items:center;gap:6px;transition:opacity 180ms ease-in-out}
.quiet-overlay .live-label.status-changing{opacity:0}
.quiet-overlay .live-label>span:last-child{white-space:nowrap;line-height:16px}
@media(prefers-reduced-motion:reduce){.quiet-overlay .live-label{transition:none}}

/* Hold the wallet at its final geometry while particles assemble it. */
.assembling .wallet-deck,.assembling .wallet-deck .wallet-card,.assembling .wallet-deck .bank-logo{transition:none!important;animation:none!important}
.assembling #back{transition:none;opacity:1}

/* More exposed bank artwork behind the full-size selected card. */
.wallet-unified .wallet-deck{--stack-step:40px;--hero-height:176px;height:296px}
.wallet-unified .wallet-deck .wallet-card:not(.wallet-active):not([aria-hidden="true"]),
.wallet-unified .wallet-deck:not(.wallet-expanded) .wallet-card:nth-child(n+5):not(.wallet-active):not([aria-hidden="true"]){transform:translateY(calc(var(--slot)*var(--stack-step))) scale(.92);filter:brightness(.97);box-shadow:0 -1px 5px #00000018}
@media(max-height:740px){.wallet-unified .wallet-deck{--stack-step:36px;--hero-height:152px;height:260px}}

/* Clear installment hierarchy and a concise order receipt. */
.wallet-unified .wallet-payment .merchant-terms{display:grid;grid-template-columns:1fr;gap:4px}
.wallet-unified .merchant-terms b{font-size:15px;line-height:20px;font-weight:600}
.wallet-unified .merchant-terms span{font-size:12px;line-height:16px}
.wallet-unified .merchant-terms small{font-size:10px;line-height:14px}
.receipt-details{margin-top:28px;text-align:left;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0}
.receipt-bank{display:flex;align-items:center;gap:12px;margin-bottom:24px}
.receipt-bank .auth-token{width:40px;height:40px;flex-shrink:0}
.receipt-bank .auth-token svg{width:82%;height:82%}
.receipt-bank .auth-token img{width:100%;height:100%;object-fit:contain}
.receipt-bank b,.receipt-bank small{display:block}.receipt-bank b{font-size:15px}.receipt-bank small{font-size:12px;color:#777;margin-top:4px}
.receipt-amount{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px}
.receipt-amount strong{font-size:24px;letter-spacing:-.5px}
.receipt-plan{display:grid;gap:4px;margin-top:16px;font-size:14px}.receipt-plan span,.receipt-plan small{color:#777;font-size:12px}

/* Keep the Centurion inside a single clean round token on the receipt. */
.receipt-bank .auth-token{display:grid;place-items:center;overflow:hidden;border-radius:50%}
.receipt-bank .auth-token svg{display:block;overflow:hidden;border-radius:50%;width:88%;height:88%}
.receipt-bank .token-10,.receipt-bank .token-11{background:linear-gradient(135deg,#d5d8d9,#8b9499);box-shadow:inset 0 0 0 1px #00000014}
.receipt-bank .token-10 svg,.receipt-bank .token-11 svg{width:100%;height:100%}

/* Larger selected card, with reserved space so payment details do not overlap. */
.wallet-unified .wallet-deck{height:320px}
.wallet-unified .wallet-deck .wallet-card.wallet-active[aria-pressed="true"]:not([aria-hidden="true"]){height:200px;min-height:200px;width:calc(100% + 12px);left:-6px;box-shadow:0 10px 22px #00000030,0 0 0 1px #00000022}
@media(max-height:740px){.wallet-unified .wallet-deck{height:280px}.wallet-unified .wallet-deck .wallet-card.wallet-active[aria-pressed="true"]:not([aria-hidden="true"]){height:172px;min-height:172px}}

/* Use the full summary width while keeping the final-payment detail secondary. */
.wallet-unified .wallet-payment .merchant-terms{grid-template-columns:minmax(0,1fr) auto;align-items:baseline;column-gap:16px;row-gap:4px}
.wallet-unified .merchant-terms span{text-align:right;white-space:nowrap}
.wallet-unified .merchant-terms small{grid-column:1 / -1}
