.aw-pairing { display:grid; justify-items:center; gap:16px; padding:4px 0 0; text-align:center; }
.aw-pairing img { width:280px; height:280px; max-width:100%; border-radius:16px; background:#fff; }
.aw-pairing-code { display:flex; align-items:center; justify-content:center; gap:16px; }
.aw-pairing-code span { color:var(--muted); font-size:13px; }
.aw-pairing strong { color:var(--yellow); font:700 26px/1.4 ui-monospace,monospace; letter-spacing:.14em; }
.aw-scan-note,.aw-pairing-countdown { margin:0; color:var(--text-2); font-size:14px; line-height:1.6; }
.aw-is-pairing>[data-i18n="wallet.body"],.aw-is-pairing>[data-i18n="wallet.note"],.aw-is-pairing>[data-wallet-status] { display:none; }
.aw-cancel-pairing { width:100%; }
.aw-pairing a { color:var(--mint,#76e1d2); text-decoration:underline; text-underline-offset:4px; }
.aw-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:14px; }
.aw-actions button,.aw-recovery button { border:1px solid #476875; color:inherit; background:#17333e; border-radius:10px; padding:10px 14px; cursor:pointer; }
.aw-actions button:disabled,.aw-recovery button:disabled { opacity:.55; cursor:wait; }
.aw-payment-note { margin:12px 0; text-align:left; }
.aw-payment-note strong { display:block; color:var(--text-2); font-weight:600; }
.aw-payment-note span { display:block; margin-top:4px; }
.aw-success { width:min(460px,calc(100vw - 32px)); gap:16px; padding:22px; max-height:calc(100dvh - 32px); overflow:auto; }
.aw-success .modal-head h2 { margin:0; font-size:22px; }
.aw-risk { color:#ffcf80; font-size:13px; line-height:1.6; overflow-wrap:anywhere; }
.aw-status { color:#bfd1d7; line-height:1.65; overflow-wrap:anywhere; }
.aw-recovery { margin:12px 0; padding:12px; border:1px solid #40606b; border-radius:12px; }
.aw-recovery input { display:block; width:100%; box-sizing:border-box; margin:10px 0; padding:11px; border:1px solid #40606b; border-radius:8px; background:#091820; color:#eaf5f5; }
.aw-recovery summary { cursor:pointer; font-size:13px; margin:8px 0; }
.aw-identity { margin:10px 0; font-size:14px; overflow-wrap:anywhere; }
.modal-back[hidden], [data-aw-pairing][hidden], [data-aw-connected][hidden], [data-aw-recovery][hidden] { display:none!important; }
body:has(.modal-back:not([hidden])) { overflow:hidden; }
@media(max-width:600px) { .modal-back { padding:12px; } .aw-pairing img { width:min(260px,100%); height:auto; aspect-ratio:1; } .aw-success { padding:18px; } }

.aw-wallet-notices:empty { display:none; }
.aw-wallet-notices p { margin:0 0 8px; padding:10px 12px; border:1px solid #a57e42; border-radius:10px; color:#ffcf80; font-size:13px; line-height:1.6; overflow-wrap:anywhere; }
.aw-wallet-notices strong { display:block; }
