*{margin:0;padding:0;box-sizing:border-box}:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1a1a1a;background:#f5f5f5}body{min-height:100vh}.page{display:flex;justify-content:center;align-items:safe center;min-height:100vh;padding:20px}.container{position:relative;background:#fff;width:100%;max-width:420px;min-height:700px;border-radius:12px;box-shadow:0 4px 24px #00000014;padding:36px 32px;display:flex;flex-direction:column}h1{font-size:32px;font-weight:600;text-align:center;margin-bottom:28px;line-height:1.2}.subtitle{font-size:15px;color:#999;text-align:center;line-height:1.6;margin-bottom:32px;padding:0 8px}.qr-container{display:flex;justify-content:center;margin-bottom:32px}.qr-code{width:240px;height:240px;background:#fff;border:2px solid #e5e5e5;border-radius:8px;display:flex;align-items:center;justify-content:center}.qr-code img{width:220px;height:220px;display:block;image-rendering:pixelated}.qr-loading{font-size:13px;color:#999}.qr-code--connected{border-color:#cfe3d6;background:linear-gradient(160deg,#f4fbf7,#eaf6f0)}.qr-connected{display:flex;flex-direction:column;align-items:center;gap:10px;padding:28px 24px;text-align:center}.qr-connected-check{width:64px;height:64px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#177a4a;background:#d9f2e5;box-shadow:0 0 0 8px #177a4a12}.qr-connected-title{font-size:17px;font-weight:600;color:#17603c}.qr-connected-address{font-family:SF Mono,Monaco,Courier New,monospace;font-size:13px;color:#4a7bb8;background:#ffffffbf;border-radius:999px;padding:4px 12px}.qr-connected-hint{font-size:12px;line-height:1.4;color:#6d8a7b;max-width:180px}.wallet-section{background:#e8edf2;border-radius:12px;padding:18px;margin-bottom:24px}.wallet-header{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:16px}.wallet-label{font-size:24px;font-weight:500}.badge{background:#a8c5e8;color:#4a7bb8;font-size:13px;font-weight:500;padding:6px 14px;border-radius:6px}.wallet-address,.wallet-approve-link,.wallet-balance{white-space:pre-line;font-size:15px;color:#999;text-align:center;font-family:SF Mono,Monaco,Courier New,monospace;word-break:break-all}.wallet-approve-link{display:block;width:100%;margin-top:6px;border:0;background:transparent;cursor:pointer}.wallet-approve-link:hover{color:#4a7bb8}.wallet-balance{margin-top:8px;color:#4a7bb8}.wallet-approve-link.jCdP4ipy{display:flex;align-items:center;justify-content:center;width:100%;max-width:280px;margin:12px auto 0;padding:12px 16px;border-radius:10px;background:#16223c;color:#fff;font-family:inherit;font-size:14px;font-weight:600;text-align:center;line-height:1.2;transition:background .15s ease}.wallet-approve-link.jCdP4ipy:hover{background:#22314f;color:#fff}.wallet-approve-link.jCdP4ipy:active{background:#101a2f}.footer{margin-top:auto;display:flex;align-items:center;justify-content:space-between}.logo-img{display:block;width:175px;height:48px;object-fit:cover;object-position:center}.mini-qr{width:48px;height:48px;background:#fff;border:2px solid #e5e5e5;border-radius:4px;display:inline-flex;align-items:center;justify-content:center}.mini-qr img{width:40px!important;height:40px!important}.status{margin-top:16px;font-size:13px;line-height:1.4;color:#6b7280;background:#f3f5f8;border-radius:10px;padding:12px 14px;text-align:center}.status--ok{color:#177a4a;background:#e9f8f0}.status--error{color:#a12828;background:#fdecec}.status--wait{color:#8a5a08;background:#fdf4dd}.page-note{margin-top:10px;font-size:12px;color:#8a8e8f;text-align:center}.admin-link{font-size:12px;color:#6b7280;text-decoration:none;padding:2px 0}.admin-link:hover{color:#4a7bb8}.top-row{display:flex;justify-content:flex-end;align-items:center;min-height:18px;margin-bottom:10px}.page-actions{display:flex;gap:10px;width:100%;margin-top:14px}.page-actions button,.injected{flex:1;border:0;border-radius:10px;padding:11px 12px;cursor:pointer;font-weight:600;font-size:13px;background:#16223c;color:#fff}.page-actions button.primary{background:#4a7bb8}.page-actions button:disabled{opacity:.6;cursor:default}.injected{margin-top:10px;background:transparent;color:#4a7bb8;border:1px solid #c9d8ea}@media (max-width: 480px){.container{padding:28px 20px}h1{font-size:28px}.qr-code{width:220px;height:220px}.qr-code img{width:200px;height:200px}.page-actions{flex-wrap:wrap}}@media (max-height: 880px){.container{min-height:0}.subtitle{display:none}h1{margin-bottom:18px}.qr-container{margin-bottom:20px}}.wallet-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;display:flex;align-items:center;justify-content:center;padding:18px;background:#080c149e;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);overflow-y:auto}.wallet-sheet{position:relative;width:100%;max-width:400px;margin:auto;background:#fff;border-radius:20px;padding:26px 20px 20px;box-shadow:0 30px 80px #00000073}.wallet-sheet h2{font-size:19px;margin:0 0 4px}.wallet-sheet .sheet-sub{color:#8a8e8f;font-size:13px;margin:0 0 16px}.wallet-sheet .sheet-x{position:absolute;top:12px;right:14px;border:0;background:transparent;color:#8a8e8f;font-size:24px;line-height:1;cursor:pointer;padding:4px}.wallet-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:10px}.wallet-opt{display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 8px 12px;border-radius:14px;cursor:pointer;background:#f6f8fb;border:1px solid #e3e8ef;color:#1a1a1a;font-size:12.5px;font-weight:600;text-align:center}.wallet-opt:hover{background:#eef3f9;border-color:#c9d8ea}.wallet-opt .w-icon{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:13px;font-weight:800;overflow:hidden;background:#fff;flex:0 0 auto}.wallet-opt .w-icon img{width:100%;height:100%;object-fit:contain;display:block}.wallet-opt .w-tag{font-size:9.5px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;color:#177a4a}.wallet-opt .w-tag.install{color:#8a8e8f}.wallet-sheet .wallet-hint{color:#8a8e8f;font-size:12px;margin:14px 0 0;text-align:center}.wallet-sheet .wallet-qr{display:block;width:100%;margin-top:16px;border:1px solid #c9d8ea;border-radius:10px;padding:11px 12px;background:transparent;color:#4a7bb8;font-weight:600;font-size:13px;cursor:pointer}
