.qwallet{padding:24px;border:1px solid var(--line,#dbe2e8);border-radius:20px;background:var(--panel,var(--card,#fff));color:var(--ink,#182c38);margin-bottom:24px}
.qwallet *{box-sizing:border-box}.qwallet-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:24px}.qwallet-eyebrow{font-size:10px;letter-spacing:.16em;font-weight:800;color:var(--muted,#627483)}.qwallet h3{margin:7px 0 5px;font-size:24px;letter-spacing:-.04em}.qwallet p{line-height:1.5;color:var(--muted,#627483);font-size:13px;margin:6px 0}.qwallet-chip{display:inline-flex;align-items:center;font-size:11px;font-weight:700;padding:7px 10px;border-radius:20px;background:var(--soft,#eef3f6);color:var(--ink,#182c38);white-space:nowrap}.qwallet-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:32px}.qwallet-layout>div{min-width:0}
.qwallet-card{display:flex;flex-direction:column;position:relative;aspect-ratio:1.5856;border-radius:16px;background:linear-gradient(130deg,#17191c,#050607 60%,#141719);color:#fff;padding:20px 24px;box-shadow:0 14px 28px #0002;overflow:hidden}.qwallet-card-top{display:flex;justify-content:space-between;gap:12px;font-size:9px;letter-spacing:.15em;color:#dadfe3}.qwallet-card-top>span:first-child{font-weight:900;font-size:14px}.qwallet-logo{position:absolute;height:53%;width:62%;object-fit:contain;filter:invert(1);left:19%;top:17%}.qwallet-card-bottom{margin-top:auto;display:flex;align-items:flex-end;gap:12px;position:relative;z-index:1}.qwallet-card-bottom>div{min-width:0;flex:1}.qwallet-card-bottom strong{display:block;overflow-wrap:anywhere;font-size:clamp(13px,1.5vw,19px);line-height:1.15}.qwallet-card-bottom span{display:block;font-size:10px;color:#c5cdd3;margin-top:5px}.qwallet-card-bottom>b{font-size:25px;letter-spacing:.13em;white-space:nowrap}
.qwallet-qr-row{display:flex;align-items:center;gap:18px;margin-top:20px}.qwallet-qr{flex-shrink:0;width:116px;aspect-ratio:1;background:#fff;color:#111;border:1px solid #e1e6ec;border-radius:10px;overflow:hidden}.qwallet-qr svg{display:block;width:100%;height:100%}.qwallet-qr-row strong{font-size:13px}.qwallet small{display:block;line-height:1.5;font-size:11px;color:var(--muted,#627483)}.qwallet h4{font-size:16px;margin:0 0 6px}.qwallet-provider{margin-top:15px}.qwallet-provider small{margin-top:7px}.qwallet-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:11px 15px;font:inherit;font-size:13px;font-weight:700;color:#fff;background:#15232d;border:1px solid #15232d;border-radius:10px;cursor:pointer;text-decoration:none}.qwallet-add{width:100%;justify-content:space-between}.qwallet-button:disabled{background:var(--soft,#eef3f6);border-color:var(--line,#dbe2e8);color:var(--muted,#627483);cursor:not-allowed}.qwallet-button:focus-visible{outline:3px solid #2698cf;outline-offset:3px}.qwallet-nfc{margin-top:22px;border-top:1px solid var(--line,#dbe2e8);padding-top:18px}.qwallet-format-note{margin-top:14px}.qwallet .qwallet-error{color:#c63e43}.qwallet [data-wallet-feedback]:empty{display:none}
html[data-qps-theme=dark] .qwallet{background:#122430;color:#edf4f9;border-color:#2d4352}html[data-qps-theme=dark] .qwallet p,html[data-qps-theme=dark] .qwallet small{color:#a9bdc9}html[data-qps-theme=dark] .qwallet-chip,html[data-qps-theme=dark] .qwallet-button:disabled{background:#223744;color:#c6d5de;border-color:#355061}
@media(max-width:720px){.qwallet{padding:17px;border-radius:15px}.qwallet-layout{grid-template-columns:minmax(0,1fr);gap:26px}.qwallet-heading{margin-bottom:18px;gap:10px}.qwallet h3{font-size:22px}.qwallet-card{padding:17px 18px}.qwallet-card-bottom strong{font-size:15px}.qwallet-card-bottom>b{font-size:22px}.qwallet-qr-row{gap:13px}.qwallet-qr{width:106px}}
.qwallet-setup{width:min(1020px,calc(100vw - 32px));max-width:none;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));padding:0;border:1px solid var(--line,#dbe2e8);border-radius:22px;background:var(--panel,var(--card,#fff));color:var(--ink,#182c38);box-shadow:0 30px 100px #0006;overflow:hidden;font-family:inherit;overscroll-behavior:contain}
.qwallet-setup[open]{display:flex;flex-direction:column}.qwallet-setup::backdrop{background:#07131dbc;backdrop-filter:blur(6px)}.qwallet-setup *{box-sizing:border-box}.qwallet-setup [hidden]{display:none!important}.qwallet-setup-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 28px 19px;border-bottom:1px solid var(--line,#dbe2e8);flex-shrink:0}.qwallet-setup h2{font-size:25px;line-height:1.2;letter-spacing:-.04em;margin:7px 0}.qwallet-setup h3{font-size:16px;line-height:1.4;letter-spacing:normal;margin:16px 0 8px}.qwallet-setup p{font-size:13px;line-height:1.55;color:var(--muted,#627483);margin:8px 0}.qwallet-setup small{display:block;font-size:11px;line-height:1.5;color:var(--muted,#627483)}.qwallet-close{flex:0 0 40px;width:40px;height:40px;border:1px solid var(--line,#dbe2e8);border-radius:50%;background:var(--soft,#eef3f6);color:inherit;font:inherit;font-size:25px;cursor:pointer}.qwallet-setup-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;padding:24px 28px 28px;overflow:auto;min-height:0;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.qwallet-setup-body>div{min-width:0}.qwallet-step{display:block;font-size:10px;font-weight:800;letter-spacing:.12em;color:var(--muted,#627483);margin-bottom:14px}.qwallet-image-frame{background:#0b0b0d;border-radius:16px;overflow:hidden;min-height:200px;display:grid;place-items:center}.qwallet-image-frame img{display:block;width:100%;height:auto;max-width:100%;-webkit-touch-callout:default;user-select:auto}.qwallet-image-frame p{color:#dce4ea;padding:20px}.qwallet-export-buttons{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 10px}.qwallet-export-buttons>*{flex:1;white-space:nowrap}.qwallet-secondary{background:var(--soft,#eef3f6);color:var(--ink,#182c38);border-color:var(--line,#dbe2e8)}.qwallet-methods{display:flex;padding:4px;gap:4px;background:var(--soft,#eef3f6);border:1px solid var(--line,#dbe2e8);border-radius:12px}.qwallet-methods button{flex:1;min-width:0;min-height:40px;border:0;border-radius:8px;padding:8px;font:inherit;font-size:12px;font-weight:700;background:transparent;color:var(--muted,#627483);cursor:pointer}.qwallet-methods button[aria-pressed=true]{background:var(--panel,#fff);color:var(--ink,#182c38);box-shadow:0 2px 5px #0001}.qwallet-setup ol{padding-left:21px;margin:12px 0;font-size:13px;line-height:1.65}.qwallet-setup li{padding-left:3px;margin:10px 0}.qwallet-setup a:not(.qwallet-button){color:var(--steel,#25678f);text-underline-offset:3px}.qwallet-help-link{font-size:12px}.qwallet-copy-fields{border-top:1px solid var(--line,#dbe2e8);margin-top:20px}.qwallet-copy-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line,#dbe2e8)}.qwallet-copy-row>div{min-width:0;flex:1}.qwallet-copy-row span{display:block;font-size:12px;font-weight:600;overflow-wrap:anywhere;user-select:text;-webkit-user-select:text}.qwallet-copy-row small{margin-bottom:3px}.qwallet-copy{flex:0 0 auto;min-height:36px;padding:7px 11px;border:1px solid var(--line,#dbe2e8);border-radius:8px;color:inherit;background:var(--soft,#eef3f6);font:inherit;font-size:11px;font-weight:700;cursor:pointer}.qwallet-setup .qwallet-manual-note{font-size:11px;margin-top:18px}.qwallet-setup .qwallet-error{color:#c63e43}.qwallet-setup [data-wallet-setup-feedback]:empty{display:none}.qwallet-setup button:focus-visible,.qwallet-setup a:focus-visible{outline:3px solid #2698cf;outline-offset:3px}
html[data-qps-theme=dark] .qwallet-setup{background:#122430;color:#edf4f9;border-color:#2d4352}html[data-qps-theme=dark] .qwallet-setup p,html[data-qps-theme=dark] .qwallet-setup small{color:#a9bdc9}html[data-qps-theme=dark] .qwallet-setup .qwallet-error{color:#ff989d}html[data-qps-theme=dark] .qwallet-setup a:not(.qwallet-button){color:#8dccf3}
@media(max-width:720px){.qwallet-setup{width:calc(100vw - 20px);border-radius:17px;max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}.qwallet-setup-heading{padding:17px 16px 14px;gap:12px}.qwallet-setup h2{font-size:21px}.qwallet-setup-body{grid-template-columns:minmax(0,1fr);padding:19px 16px 24px;gap:26px}.qwallet-export{max-width:420px;width:100%;margin:0 auto}.qwallet-export-buttons>*{font-size:12px;padding:10px}.qwallet-setup .qwallet-eyebrow{font-size:9px}.qwallet-close{width:36px;height:36px;flex-basis:36px}}
