/* Wallet-only NEO skin. The navbar recharge button is intentionally untouched. */
#popupPay .lux-wallet-guest { display:flex; flex-direction:column; align-items:center; gap:12px; padding:32px 24px; text-align:center; }
#popupPay .lux-wallet-guest-icon { display:grid; place-items:center; width:44px; height:44px; border-radius:var(--br-8); background:var(--span-low); color:var(--span); }
#popupPay .lux-wallet-guest-icon svg { width:22px; height:22px; fill:currentColor; }
#popupPay .lux-wallet-guest h3 { margin:0; color:var(--text-custom); font-size:var(--font-size-m); font-weight:600; overflow-wrap:anywhere; }
#popupPay .lux-wallet-guest p { margin:0 0 8px; max-width:390px; color:var(--text-secondary); font-size:var(--font-size-s); line-height:1.7; overflow-wrap:anywhere; }
#popupPay .lux-wallet-guest .lux-wallet-primary { width:auto; max-width:100%; gap:9px; padding-inline:20px; text-decoration:none; overflow-wrap:anywhere; }
#popupPay .lux-wallet-guest .lux-wallet-primary svg { width:18px; height:18px; fill:currentColor; flex-shrink:0; }
#popupPay.lux-wallet [hidden], .lux-wallet-celebration[hidden] { display: none !important; }
#popupPay.lux-wallet, #popupPay.lux-wallet *, #popupPay.lux-wallet *::before, #popupPay.lux-wallet *::after { box-sizing: border-box; }
#popupPay.lux-wallet { font-family: var(--font-family-2); font-size: 14px; line-height: 1.4; }
#popupPay.lux-wallet .lux-wallet-surface { width: min(560px, calc(100vw - 28px)); min-width: 0; max-width: 560px; padding: 0; border-radius: var(--br-16); max-height: calc(100dvh - 32px); overflow: auto; }
#popupPay .lux-wallet-head { display: flex; align-items: center; justify-content: flex-start; gap: 15px; padding: 19px 22px; border-bottom: 1px solid var(--transparent-5-w); margin: 0; }
.lux-wallet-head h2 { font-family: var(--font-family-2); font-size: 17px; font-weight: 600; margin: 0; color: var(--text-default); }
.lux-wallet-balance { font-size: 13px; font-weight: 500; color: var(--text-custom); padding-left: 15px; border-left: 1px solid var(--transparent-10-w); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lux-wallet-head-actions { display: flex; align-items: center; gap: 13px; margin-left: auto; }
#popupPay .lux-wallet-history-toggle { width: auto; height: auto; padding: 0; min-height: 0; border: 0; background: transparent; color: var(--text-secondary); font-size: 12px; cursor: pointer; }
.lux-wallet-settings { display: flex; color: var(--text-secondary); }
.lux-wallet-settings svg { width: 15px; height: 15px; fill: currentColor; }
#popupPay .popup_modal_close svg { width: 17px; height: 17px; }
#popupPay #pay { width: 100%; padding: 20px 22px; margin: 0; }
#popupPay .popup_balance_content { display: block; padding: 0; overflow: visible; max-height: none; }
#popupPay .popub_balance_second { width: 100%; }
#popupPay .popup_balance_second_flex { gap: 0; }
#popupPay .lux-wallet-back { display:inline-flex; align-items:center; align-self:flex-start; gap:6px; width:auto; min-height:28px; margin:0 0 15px; padding:0; border:0; border-radius:0; background:transparent; color:var(--text-secondary); font-size:12px; cursor:pointer; }
#popupPay .lux-wallet-back svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
#popupPay .lux-wallet-back:hover { color:var(--span); }
#popupPay .lux-wallet-back:focus-visible { outline:2px solid var(--span); outline-offset:4px; }
.lux-wallet-payment-methods { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.lux-wallet-payment-methods legend { color: var(--text-custom); font-size: 12px; padding: 0; margin: 0 0 10px; }
#popupPay .lux-wallet-methods { display: grid; width: 100%; grid-template-columns: repeat(auto-fit,minmax(130px,1fr)); gap: 8px; }
#popupPay label.lux-wallet-method { position: relative; display: block; width: auto; max-width: none; min-width: 0; cursor: pointer; margin: 0 !important; padding: 0; }
.lux-wallet-method input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lux-wallet-method-body { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--transparent-5-w); border-radius: var(--br-8); background: var(--input-form); color: var(--text-custom); }
.lux-wallet-method-body > svg { width: 19px; height: 19px; fill: currentColor; }
.lux-wallet-method-body > img { width: 35px; height: 22px; object-fit: contain; }
.lux-wallet-method-body b { font-size: 13px; font-weight: 500; }
.lux-wallet-method-check { display: none; margin-left: auto; color: var(--span); font-size: 13px; }
.lux-wallet-method input:checked + .lux-wallet-method-body { border-color: var(--span-half); background: var(--span-low); }
.lux-wallet-method input:checked + .lux-wallet-method-body > svg { color: var(--span); }
.lux-wallet-method input:checked + .lux-wallet-method-body .lux-wallet-method-check { display: block; }
.lux-wallet-method input:focus-visible + .lux-wallet-method-body { outline: 2px solid var(--span); outline-offset: 3px; }
.lux-wallet-fields { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; margin-bottom: 20px; }
#popupPay .lux-wallet-fields label { display: block; width: auto; padding: 0; font-size: 12px; line-height: 1.4; margin: 0 0 9px; color: var(--text-custom); }
#popupPay .lux-wallet-fields input { height: 43px; width: 100%; min-width: 0; margin: 0; font-size: 13px; border: 1px solid var(--transparent-5-w); border-radius: var(--br-8); background: var(--input-form); color: var(--text-custom); padding: 0 12px; }
.lux-wallet-amount { height: 43px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--transparent-5-w); border-radius: var(--br-8); background: var(--input-form); }
.lux-wallet-amount > span { font-size: 14px; color: var(--text-secondary); }
#popupPay .lux-wallet-amount input { height: 100%; padding: 0; border: 0; background: transparent; font-size: 18px; font-weight: 500; box-shadow: none; outline: none; }
.lux-wallet-amount:focus-within { border-color: var(--span); }
.lux-wallet-presets { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; margin-top: 8px; }
#popupPay .lux-wallet-presets button { display: flex; align-items: center; justify-content: center; justify-self: stretch; width: 100%; height: 32px; padding: 0 3px; min-height: 32px; border: 1px solid transparent; border-radius: var(--br-6); font-size: 12px; line-height: normal; color: var(--text-custom); background: var(--button); }
#popupPay .lux-wallet-presets button.is-selected { color: var(--span); border-color: var(--span-middle); background: var(--span-10); }
#popupPay .lux-wallet-hint { display: block; width: auto; font-size: 11px; line-height: 1.6; margin: 8px 0 0; color: var(--text-secondary); }
.lux-wallet-terms { display: flex !important; align-items: center; gap: 8px; font-size: 12px; margin: 0 0 18px !important; color: var(--text-custom); cursor: pointer; }
.lux-wallet-terms input { width: 15px !important; height: 15px !important; margin: 0; accent-color: var(--span); flex-shrink: 0; }
#popupPay .lux-wallet-terms { font-weight: 400; line-height: 1.5; }
#popupPay .lux-wallet-terms > span { font-weight: 400; }
#popupPay .lux-wallet-terms label { display: inline; width: auto; padding: 0; margin: 0; color: inherit; font: inherit; cursor: pointer; }
#popupPay .lux-wallet-terms input[type="checkbox"] { border-radius: 4px; --active: var(--span); --active-inner: var(--text-default); }
#popupPay .lux-wallet-terms input[type="checkbox"]::after { width: 4px; height: 7px; left: 5px; top: 2px; border-width: 0 1.8px 1.8px 0; }
.lux-wallet-terms a { color: var(--span); }
#popupPay .lux-wallet-primary { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: 43px; min-height: 43px; padding: 0 15px; border: 0; border-radius: var(--br-8); background: var(--span); color: white; font-size: 13px; font-weight: 500; cursor: pointer; }
#popupPay .lux-wallet-primary:disabled { opacity: .45; cursor: default; }
.lux-wallet-primary .lux-wallet-primary-amount { font-size: 12px; font-variant-numeric: tabular-nums; }
#popupPay .lux-wallet-secure { text-align: center; color: var(--text-secondary); font-size: 11px; margin: 13px 0 0; }
/* Shared native-gateway components (Pix, crypto). Provider-specific rules live in each gateway stylesheet. */
#popupPay .lux-wallet-msg:empty { display: none; }
#popupPay .lux-wallet-msg { color: var(--text-custom); font-size: 12px; margin: 12px 0; line-height: 1.6; }
#popupPay .lux-wallet-test-note { margin: 0 0 12px; font-size: 11px; font-weight: 600; color: var(--money); }
#popupPay .lux-wallet-charge { display: flex; flex-direction: column; align-items: center; padding: 0; gap: 0; background: transparent; outline: 0; border: 0; }
.lux-wallet-status { display: inline-flex; align-items: center; justify-content: center; gap: 6px; max-width: 100%; padding: 6px 8px; border-radius: var(--br-6); background: rgb(246 185 73 / 9%); color: var(--orange); font-size: 10px; font-weight: 400; line-height: 1.2; text-align: center; }
.lux-wallet-status::before { content: ""; display: block; width: 5px; height: 5px; flex-shrink: 0; border-radius: 50%; background: currentColor; }
.lux-wallet-charge h3 { margin: 18px 0 0; color: var(--text-default); font-size: 22px; font-weight: 500; }
.lux-wallet-charge-amount { font-size: 28px; font-weight: 600; color: var(--text-default); margin: 14px 0 8px; font-variant-numeric: tabular-nums; }
.lux-wallet-instruction { font-size: 12px; color: var(--text-secondary); text-align: center; margin: 0 0 18px; }
.lux-wallet-qr-stage { --wallet-qr-size: min(353px,calc(100vw - 80px),max(240px,calc(100dvh - 420px))); width: var(--wallet-qr-size); height: var(--wallet-qr-size); display: grid; place-items: center; }
#popupPay .lux-wallet-qr-button { width: 186px; height: 186px; max-width: 100%; max-height: 100%; min-height: 0; margin: 0; padding: 8px; background: #fff; border: 0; border-radius: var(--br-10); display: block; cursor: zoom-in; transition: width .2s,height .2s; }
#popupPay .lux-wallet-qr-button.is-expanded { width: var(--wallet-qr-size); height: var(--wallet-qr-size); cursor: zoom-out; }
@media(hover:hover) and (pointer:fine) { #popupPay .lux-wallet-qr-button:hover { width: var(--wallet-qr-size); height: var(--wallet-qr-size); } }
#popupPay .lux-wallet-qr-button img { width: 100%; height: 100%; aspect-ratio: 1; padding: 0; border-radius: 0; object-fit: contain; display: block; image-rendering: pixelated; }
.lux-wallet-zoom-hint { text-align: center; }
.lux-wallet-expiry { margin: 8px 0 16px; font-size: 11px; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.lux-wallet-expiry:empty { display: none; }
#popupPay .lux-wallet-copy { width: min(340px,100%); display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; min-height: 42px; border: 1px solid var(--transparent-5-w); border-radius: var(--br-8); color: var(--text-custom); background: var(--button); font-size: 13px; }
.lux-wallet-copy svg { width: 15px; height: 15px; fill: currentColor; }
#popupPay .lux-wallet-copy.is-copied { border-color: rgb(100 206 130 / 30%); color: var(--green); background: rgb(100 206 130 / 10%); }
.lux-wallet-copy-feedback { margin: 10px 0 0; font-size: 11px; color: var(--green); text-align: center; }
.lux-wallet-copy-feedback.is-error { color: var(--red); }
.lux-wallet-charge-actions { margin-top: 16px; display: flex; flex-direction: column; width: 100%; gap: 12px; align-items: center; }
#popupPay .lux-wallet-charge-actions .lux-wallet-primary { justify-content: center; gap: 9px; text-decoration: none; }
.lux-wallet-charge-actions .lux-wallet-primary svg { width: 15px; height: 15px; fill: currentColor; }
.lux-wallet-charge-actions .lux-wallet-primary .lux-wallet-arrow { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#popupPay .lux-wallet-link { padding: 0; min-height: 0; border: 0; background: transparent; font-size: 11px; color: var(--text-secondary); }
.lux-wallet-history h3, .lux-wallet-legacy-history h3 { margin: 0 0 15px; font-size: 14px; color: var(--text-custom); }
.lux-wallet-history ul { margin: 0; padding: 0; list-style: none; }
#popupPay .lux-wallet-history li > button { width: 100%; display: flex; gap: 10px; align-items: center; justify-content: space-between; border: 0; border-top: 1px solid var(--transparent-5-w); border-radius: 0; color: var(--text-custom); background: transparent; padding: 14px 0; min-height: 0; text-align: left; font-size: 12px; }
.lux-wallet-history li small { display: block; font-size: 10px; color: var(--text-secondary); margin-top: 5px; }
.lux-wallet-legacy-history > div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--transparent-5-w); font-size: 12px; }
.lux-wallet-celebration { position: fixed; inset: 0; margin: 0; padding: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; border: 0; background: transparent; pointer-events: none; z-index: 2147483646; overflow: hidden; }
.lux-wallet-celebration:popover-open { display: block; }
.lux-wallet-celebration::backdrop { background: transparent; pointer-events: none; }
.lux-wallet-celebration canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#popupPay .popup_pay_info { display: none; }
.lux-wallet-demo-notice { display: flex; flex-direction: column; gap: 4px; padding: 11px 13px; margin: 0 0 18px; border: 1px solid var(--span-middle); border-radius: var(--br-8); background: var(--span-low); color: var(--text-custom); }
.lux-wallet-demo-notice b { font-size: 12px; font-weight: 500; color: var(--span); }
.lux-wallet-demo-notice span { font-size: 11px; line-height: 1.6; color: var(--text-secondary); }
.lux-wallet-demo-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
#popupPay .lux-wallet-demo-actions button { width: auto; height: auto; min-height: 30px; padding: 6px 9px; border: 1px solid var(--transparent-5-w); border-radius: var(--br-6); background: var(--button); color: var(--span); font-size: 11px; }
@media(max-width:480px) { #popupPay #pay { padding: 18px 16px; } #popupPay .lux-wallet-head { padding: 17px 16px; gap: 10px; } .lux-wallet-head h2 { font-size: 16px; } .lux-wallet-balance { padding-left: 10px; font-size: 12px; } .lux-wallet-head-actions { gap: 10px; } .lux-wallet-fields { gap: 12px; } .lux-wallet-presets { grid-template-columns: repeat(2,minmax(0,1fr)); } .lux-wallet-terms { font-size: 11px; } }
@media(prefers-reduced-motion:reduce) { #popupPay .lux-wallet-qr-button { transition: none; } }
