:root {
  --bg: #08080d;
  --bg-soft: #0f1018;
  --panel: rgba(20, 21, 31, .86);
  --panel-strong: #151620;
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.14);
  --text: #f5f5f7;
  --muted: #9a9cad;
  --muted-2: #6f7283;
  --green: #79f7c2;
  --purple: #a77bf3;
  --cyan: #6fe9e6;
  --danger: #ff7d8a;
  --ok: #7cf0b4;
  --shadow: 0 26px 80px rgba(0,0,0,.34);
  --radius: 24px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 20% -20%, rgba(112, 76, 238, .14), transparent 34%), var(--bg); color: var(--text); overflow-x: hidden; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }
.shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.shell-wide { width: min(1280px, calc(100% - 48px)); margin: 0 auto; }
.view { min-height: 100vh; position: relative; z-index: 1; }
.ambient { position: fixed; width: 560px; height: 560px; border-radius: 50%; filter: blur(110px); opacity: .11; pointer-events: none; z-index: 0; }
.ambient-a { top: 10%; right: -270px; background: #7c55ff; }
.ambient-b { bottom: -340px; left: -180px; background: #53e5c4; }
.topbar, .wallet-nav { height: 90px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 38px; display: grid; gap: 5px; transform: skew(-12deg); }
.brand-mark span { display: block; height: 6px; border-radius: 4px; background: linear-gradient(90deg, var(--green), var(--purple)); }
.brand-mark span:nth-child(2) { transform: translateX(6px); background: linear-gradient(90deg, var(--purple), var(--cyan)); }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 18px; letter-spacing: .2px; }
.brand-copy small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 1.1px; margin-top: 4px; }
.network-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: #c8cad5; font-size: 13px; background: rgba(255,255,255,.025); }
.network-pill.small { padding: 6px 10px; font-size: 12px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 12px rgba(124, 240, 180, .7); }
.hero { min-height: 650px; display: grid; grid-template-columns: 1.05fr .82fr; gap: 82px; align-items: center; padding: 72px 0 48px; }
.eyebrow, .section-kicker { color: #b7bac8; font-size: 12px; text-transform: uppercase; letter-spacing: 1.4px; font-weight: 700; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 10px 7px 8px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.025); }
.shield-icon { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(121,247,194,.1); color: var(--green); }
.hero h1 { font-size: clamp(48px, 5.5vw, 76px); line-height: .98; letter-spacing: -3.8px; margin: 25px 0 24px; max-width: 720px; }
.hero h1 span { color: transparent; background: linear-gradient(100deg, #f7f7fa 0%, #8df4d0 48%, #b68bf6 95%); -webkit-background-clip: text; background-clip: text; }
.hero-copy > p { color: var(--muted); font-size: 18px; line-height: 1.7; max-width: 640px; margin: 0; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-badges span { color: #aeb0be; font-size: 13px; padding: 7px 10px; border-left: 2px solid rgba(121,247,194,.5); background: rgba(255,255,255,.02); }
.glass-card { background: linear-gradient(150deg, rgba(28,29,42,.92), rgba(14,15,23,.84)); border: 1px solid var(--line-strong); box-shadow: var(--shadow); backdrop-filter: blur(24px); }
.access-panel { border-radius: 28px; padding: 28px; position: relative; overflow: hidden; }
.access-panel:before { content: ""; position: absolute; width: 220px; height: 180px; top: -100px; right: -70px; background: rgba(139, 102, 239, .16); filter: blur(55px); border-radius: 50%; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 22px; position: relative; }
.panel-head h2, .modal-head h2, .section-head h2 { margin: 7px 0 0; font-size: 24px; letter-spacing: -.8px; }
.status-lock { font-size: 11px; color: var(--green); border: 1px solid rgba(121,247,194,.18); background: rgba(121,247,194,.06); border-radius: 999px; padding: 6px 9px; }
.access-card { width: 100%; border: 1px solid var(--line); background: rgba(255,255,255,.025); color: var(--text); border-radius: 17px; padding: 18px; display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 14px; text-align: left; margin-top: 12px; transition: .2s ease; }
.access-card:hover { border-color: rgba(121,247,194,.34); background: rgba(255,255,255,.048); transform: translateY(-1px); }
.access-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; font-size: 22px; color: #fff; background: linear-gradient(145deg, rgba(121,247,194,.14), rgba(167,123,243,.16)); border: 1px solid rgba(255,255,255,.08); }
.access-text { display: grid; gap: 5px; }
.access-text strong { font-size: 15px; }
.access-text small { color: var(--muted); font-size: 13px; }
.chevron { font-size: 27px; color: var(--muted-2); }
.security-note { margin-top: 22px; display: flex; gap: 11px; color: var(--muted-2); font-size: 12px; line-height: 1.55; }
.security-note p { margin: 0; }
.mini-lock { color: var(--green); margin-top: 1px; }
.feature-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--line); margin-top: 14px; }
.feature-row article { padding: 24px; display: flex; gap: 15px; background: rgba(12,13,19,.9); }
.feature-row article > span { color: var(--muted-2); font-size: 11px; font-weight: 800; margin-top: 3px; }
.feature-row article div { display: grid; gap: 6px; }
.feature-row strong { font-size: 14px; }
.feature-row small { color: var(--muted); line-height: 1.5; }
.landing-footer, .wallet-footer { color: var(--muted-2); font-size: 12px; padding: 34px 0 36px; }

.wallet-nav { border-bottom: 1px solid var(--line); }
.brand.compact .brand-mark { width: 32px; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.ghost-btn, .icon-btn, .refresh-btn, .copy-btn, .secondary-btn, .load-more { border: 1px solid var(--line); background: rgba(255,255,255,.025); color: #d8d9e1; border-radius: 11px; padding: 10px 13px; transition: .18s; }
.ghost-btn:hover, .icon-btn:hover, .refresh-btn:hover, .copy-btn:hover, .secondary-btn:hover, .load-more:hover { background: rgba(255,255,255,.06); border-color: var(--line-strong); }
.icon-btn { width: 40px; height: 40px; padding: 0; display: grid; place-items: center; font-size: 16px; }
.rpc-status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; }
.danger-ghost { color: #d6a2a8; }
.icon-only-exit { width: 40px; height: 40px; padding: 8px; display: inline-grid; place-items: center; }
.icon-only-exit svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wallet-main { padding-top: 54px; }
.welcome-line { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.welcome-line h1 { margin: 7px 0 0; font-size: 36px; letter-spacing: -1.4px; }
.refresh-btn { display: flex; gap: 7px; align-items: center; }
.summary-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 16px; }
.summary-card, .content-card { background: linear-gradient(150deg, rgba(23,24,34,.86), rgba(14,15,22,.92)); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 12px 45px rgba(0,0,0,.16); }
.summary-card { min-height: 188px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.card-label { color: var(--muted); font-size: 13px; }
.address-row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mono { font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace; }
.address-value { font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.address-actions { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; }
.copy-btn { font-size: 12px; flex: 0 0 auto; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.subtle-link { color: #9fa2b4; font-size: 12px; }
.subtle-link:hover { color: var(--text); }
.balance-card { position: relative; overflow: hidden; }
.balance-card:after { content: ""; position: absolute; width: 160px; height: 160px; right: -60px; bottom: -70px; border-radius: 50%; background: rgba(121,247,194,.09); filter: blur(35px); }
.balance-line { display: flex; align-items: baseline; gap: 10px; position: relative; z-index: 1; }
.balance-line strong { font-size: clamp(34px, 4vw, 50px); letter-spacing: -2.5px; }
.balance-line span { color: var(--muted); font-size: 16px; }
.balance-usd { position: relative; z-index: 1; color: #b8bac7; font-size: 14px; margin-top: 5px; }
.balance-meta { color: var(--muted-2); font-size: 11px; display: flex; justify-content: space-between; gap: 8px; position: relative; z-index: 1; }
.quick-actions { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 12px; margin: 16px 0 30px; }
.quick-actions button { min-height: 76px; border-radius: 16px; padding: 15px 18px; color: var(--text); text-align: left; display: flex; align-items: center; gap: 13px; transition: .18s; }
.quick-actions button > span { width: 37px; height: 37px; border-radius: 11px; display: grid; place-items: center; font-size: 19px; background: rgba(255,255,255,.06); }
.quick-actions button div { display: grid; gap: 3px; }
.quick-actions button strong { font-size: 14px; }
.quick-actions button small { color: #8f92a2; font-size: 11px; }
.primary-action { border: 1px solid rgba(121,247,194,.24); background: linear-gradient(135deg, rgba(63,155,128,.22), rgba(118,82,186,.12)); }
.secondary-action { border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.quick-actions button:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.18); }
.content-card { padding: 24px; margin-top: 16px; }
.section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.count-pill { border: 1px solid var(--line); background: rgba(255,255,255,.025); padding: 7px 10px; border-radius: 999px; color: var(--muted); font-size: 11px; }
.token-list { display: grid; gap: 8px; }
.token-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, .5fr) auto; align-items: center; gap: 18px; padding: 15px; border: 1px solid rgba(255,255,255,.065); border-radius: 14px; background: rgba(255,255,255,.018); }
.token-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.token-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(145deg, rgba(121,247,194,.12), rgba(167,123,243,.13)); color: #e9e9ef; font-weight: 800; }
.token-copy { min-width: 0; display: grid; gap: 4px; }
.token-copy strong { font-size: 14px; }
.token-copy small { color: var(--muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.token-balance { text-align: right; display: grid; gap: 3px; }
.token-balance strong { font-size: 15px; }
.token-balance small { color: var(--muted-2); }
.send-token-btn { border: 1px solid var(--line); background: rgba(255,255,255,.03); color: #d8dae2; border-radius: 10px; padding: 9px 12px; }
.send-token-btn:hover { border-color: rgba(121,247,194,.25); }
.empty-state { min-height: 160px; display: grid; place-items: center; align-content: center; gap: 8px; color: var(--muted); text-align: center; padding: 28px; }
.empty-state strong { color: #d0d1d8; font-size: 14px; }
.empty-state span { font-size: 12px; }
.empty-orb { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.025); margin-bottom: 5px; }
.compact-empty { min-height: 130px; }
.tx-table-wrap { overflow-x: auto; }
.tx-table { width: 100%; border-collapse: collapse; min-width: 820px; }
.tx-table th { color: var(--muted-2); font-size: 10px; text-transform: uppercase; letter-spacing: 1px; text-align: left; font-weight: 700; padding: 0 12px 10px; }
.tx-table td { border-top: 1px solid rgba(255,255,255,.055); padding: 14px 12px; font-size: 12px; color: #c3c5cf; }
.tx-signature { max-width: 330px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; color: #cbb9ef; text-decoration: none; }
.tx-signature:hover { color: #e2d8f7; text-decoration: underline; }
.tx-row.incoming td { background: rgba(124,240,180,.018); }
.tx-row.outgoing td { background: rgba(198,180,235,.018); }
.tx-row.failed td { background: rgba(255,125,138,.018); }
.tx-direction { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; }
.tx-direction b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; background: rgba(255,255,255,.04); }
.tx-direction.incoming { color: var(--ok); }
.tx-direction.incoming b { background: rgba(124,240,180,.09); }
.tx-direction.outgoing { color: #cbb9ef; }
.tx-direction.outgoing b { background: rgba(198,180,235,.09); }
.tx-direction.failed { color: var(--danger); }
.tx-direction.failed b { background: rgba(255,125,138,.09); }
.tx-direction.neutral { color: var(--muted); }
.status-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 999px; font-size: 10px; background: rgba(124,240,180,.08); color: var(--ok); }
.status-chip.failed { color: var(--danger); background: rgba(255,125,138,.08); }
.tx-action { color: #c6b4eb; border: 0; background: none; padding: 5px; }
.load-more { display: block; margin: 18px auto 0; font-size: 12px; }
.wallet-footer { text-align: center; }

.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(8px); z-index: 50; }
.modal { position: fixed; z-index: 60; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(540px, calc(100% - 28px)); max-height: min(90vh, 820px); overflow-y: auto; background: #12131c; border: 1px solid var(--line-strong); border-radius: 22px; box-shadow: 0 36px 110px rgba(0,0,0,.62); padding: 28px; }
.wide-modal { width: min(720px, calc(100% - 28px)); }
.modal-close { position: absolute; top: 15px; right: 15px; width: 34px; height: 34px; border: 1px solid var(--line); color: #aeb0bb; background: rgba(255,255,255,.025); border-radius: 10px; font-size: 21px; line-height: 1; }
.modal-head { padding-right: 34px; margin-bottom: 22px; }
.modal-head h2 { font-size: 25px; }
.modal-head p { color: var(--muted); line-height: 1.55; font-size: 13px; margin: 9px 0 0; }
.tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: rgba(255,255,255,.035); padding: 4px; border-radius: 12px; margin-bottom: 18px; }
.tab { border: 0; border-radius: 9px; padding: 10px; background: transparent; color: var(--muted); }
.tab.active { color: var(--text); background: #20212e; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
label { display: grid; gap: 8px; color: #c7c9d2; font-size: 12px; margin-top: 14px; }
input, textarea, select { width: 100%; color: #f2f2f5; background: #0c0d14; border: 1px solid var(--line); border-radius: 11px; outline: none; padding: 12px 13px; resize: vertical; transition: .15s; }
input:focus, textarea:focus, select:focus { border-color: rgba(121,247,194,.4); box-shadow: 0 0 0 3px rgba(121,247,194,.045); }
textarea { line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: 1fr 130px; gap: 12px; }
.advanced { margin-top: 14px; color: var(--muted); font-size: 12px; }
.advanced summary { cursor: pointer; }
.primary-btn { border: 1px solid rgba(121,247,194,.25); color: #07110d; background: linear-gradient(110deg, #82f1ca, #9be4d7); border-radius: 11px; padding: 12px 16px; font-weight: 800; transition: .18s; }
.primary-btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.primary-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.full { width: 100%; margin-top: 18px; }
.field-help { color: var(--muted-2); font-size: 11px; line-height: 1.55; }
.warning-box, .info-box { border: 1px solid rgba(255,195,105,.17); background: rgba(255,195,105,.055); border-radius: 12px; padding: 13px; display: grid; gap: 5px; color: #d6c2a3; font-size: 12px; line-height: 1.5; }
.warning-box strong { color: #ead6b7; }
.info-box { border-color: rgba(111,233,230,.15); background: rgba(111,233,230,.045); color: #9ebfbe; margin-top: 13px; }
.copy-field { display: flex; align-items: stretch; gap: 8px; }
.copy-field.stacked { align-items: flex-start; }
.copy-field textarea { resize: none; }
.confirm-check { display: flex; grid-template-columns: auto 1fr; align-items: center; gap: 9px; }
.confirm-check input { width: 17px; height: 17px; }
.amount-input { display: flex; align-items: center; gap: 8px; background: #0c0d14; border: 1px solid var(--line); border-radius: 11px; padding-right: 13px; }
.amount-input input { border: 0; background: transparent; box-shadow: none; }
.amount-input span { color: var(--muted); font-weight: 700; font-size: 12px; }
.max-btn { flex: 0 0 auto; border: 0; border-radius: 7px; padding: 6px 8px; color: #93edcf; background: rgba(121,247,194,.08); font-size: 10px; font-weight: 800; letter-spacing: .45px; }
.max-btn:hover { background: rgba(121,247,194,.14); }
.fee-panel { margin-top: 17px; padding: 15px; border: 1px solid var(--line); background: rgba(255,255,255,.018); border-radius: 14px; }
.fee-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.fee-heading > span { color: #d7d9e0; font-size: 12px; font-weight: 700; }
.fee-heading small { color: var(--muted-2); font-size: 10px; text-align: right; }
.fee-modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; background: rgba(255,255,255,.025); padding: 4px; border-radius: 10px; }
.fee-mode { border: 0; border-radius: 8px; padding: 8px 5px; background: transparent; color: var(--muted); font-size: 10px; font-weight: 700; }
.fee-mode.active { color: #eafbf5; background: rgba(121,247,194,.10); box-shadow: inset 0 0 0 1px rgba(121,247,194,.13); }
.advanced-fee { margin-top: 12px; }
.advanced-fee label { margin-top: 0; }
.fee-summary { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-top: 13px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.055); }
.fee-summary > div:first-child { display: grid; gap: 4px; }
.fee-summary > div:first-child span { color: var(--muted-2); font-size: 10px; }
.fee-summary strong { font-size: 13px; }
.fee-conversions { display: grid; gap: 3px; text-align: right; color: var(--muted); font-size: 10px; }
.send-balance-row { display: flex; justify-content: space-between; gap: 16px; margin: 10px 2px 0; color: var(--muted-2); font-size: 11px; }
.send-balance-row strong { color: #c9cbd3; font-weight: 600; }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; }
.confirm-details { display: grid; gap: 10px; }
.confirm-row { border: 1px solid var(--line); border-radius: 11px; padding: 11px 12px; display: grid; grid-template-columns: 110px 1fr; gap: 10px; font-size: 12px; }
.confirm-row span { color: var(--muted); }
.confirm-row strong { text-align: right; word-break: break-all; font-weight: 600; }
.receive-qr-wrap { width: 244px; height: 244px; margin: 4px auto 18px; padding: 11px; border-radius: 18px; background: #fff; box-shadow: 0 12px 34px rgba(0,0,0,.28); }
.receive-qr { display: block; width: 220px; height: 220px; object-fit: contain; background: #fff; }
.receive-address { border: 1px solid var(--line); background: #0c0d14; border-radius: 12px; padding: 14px; word-break: break-all; text-align: center; font-size: 13px; line-height: 1.55; }
.tx-details { display: grid; gap: 10px; }
.tx-detail-card { border: 1px solid var(--line); background: rgba(255,255,255,.018); border-radius: 12px; padding: 13px; }
.tx-detail-card > span { color: var(--muted-2); font-size: 10px; text-transform: uppercase; letter-spacing: 1px; }
.tx-detail-card > strong, .tx-detail-card > a { display: block; margin-top: 7px; font-size: 12px; word-break: break-all; }
.tx-deltas { display: grid; gap: 7px; margin-top: 8px; }
.delta-line { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
.delta-line span { color: var(--muted); }
.loading-line { color: var(--muted); padding: 20px 0; text-align: center; }
.toast-region { position: fixed; z-index: 100; right: 18px; bottom: 18px; display: grid; gap: 8px; width: min(360px, calc(100% - 36px)); }
.toast { padding: 12px 14px; border: 1px solid var(--line-strong); background: #191a24; color: #e5e6eb; border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,.35); font-size: 12px; line-height: 1.45; animation: toastIn .18s ease; }
.toast.error { border-color: rgba(255,125,138,.25); color: #f1b6bc; }
.toast.success { border-color: rgba(124,240,180,.22); color: #b8efd1; }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.busy { opacity: .6; pointer-events: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 38px; padding-top: 48px; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .eyebrow { margin-inline: auto; }
  .hero-badges { justify-content: center; }
  .feature-row { grid-template-columns: 1fr; }
  .summary-grid { grid-template-columns: 1fr; }
  .quick-actions { grid-template-columns: 1fr; }
  .token-row { grid-template-columns: minmax(0,1fr) auto; }
  .token-row .send-token-btn { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .shell, .shell-wide { width: min(100% - 28px, 100%); }
  .topbar, .wallet-nav { height: 76px; }
  .hero { min-height: auto; padding: 45px 0 30px; }
  .hero h1 { font-size: 46px; letter-spacing: -2.5px; }
  .hero-copy > p { font-size: 16px; }
  .access-panel { padding: 20px; }
  .network-pill:not(.small) { display: none; }
  .wallet-main { padding-top: 35px; }
  .welcome-line { align-items: center; }
  .welcome-line h1 { font-size: 30px; }
  .rpc-status { display: none; }
  .danger-ghost { width: 40px; height: 40px; padding: 8px; }
  .summary-card { min-height: 165px; }
  .address-row { align-items: flex-start; flex-direction: column; }
  .card-foot { align-items: flex-start; flex-direction: column; }
  .balance-meta { flex-direction: column; }
  .feature-row article { padding: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .modal { padding: 22px; }
  .confirm-row { grid-template-columns: 1fr; }
  .confirm-row strong { text-align: left; }
}
#networkStatus.offline .dot { background: var(--danger); }
#networkStatus.offline { opacity: .72; }


/* v3 interface refinements */
.icon-only-copy { width: 38px; height: 38px; padding: 8px; display: inline-grid; place-items: center; }
.icon-only-copy svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.quick-actions .action-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-foot.single-action { justify-content: flex-end; }
@media (max-width: 560px) {
  .tabs { grid-template-columns: 1fr; gap: 3px; }
}


/* v4 SEO and informational content */
.site-nav { display: flex; align-items: center; gap: 22px; font-size: 12px; color: #aeb0be; }
.site-nav a { transition: color .18s; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--text); }
.seo-content { padding: 88px 0 18px; }
.seo-intro { max-width: 820px; }
.seo-intro h2, .seo-note h2 { margin: 10px 0 20px; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -1.7px; }
.seo-intro > p:not(.section-kicker), .seo-note p { color: var(--muted); font-size: 15px; line-height: 1.8; }
.seo-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 36px; }
.seo-grid article { border: 1px solid var(--line); background: rgba(255,255,255,.018); border-radius: 18px; padding: 24px; }
.seo-grid h3 { margin: 0 0 12px; font-size: 17px; letter-spacing: -.35px; }
.seo-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.seo-grid a, .seo-note a { display: inline-block; margin-top: 15px; color: #9fe5ce; font-size: 12px; }
.seo-grid a:hover, .seo-note a:hover { color: #c5f5e5; }
.seo-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 16px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--line); }
.seo-facts > div { display: grid; gap: 6px; padding: 22px; background: rgba(12,13,19,.94); }
.seo-facts strong { font-size: 14px; }
.seo-facts span { color: var(--muted); font-size: 11px; line-height: 1.5; }
.seo-note { max-width: 920px; margin: 82px 0 28px; }
.seo-note h2 { font-size: clamp(27px, 3.5vw, 38px); }
.site-footer { border-top: 1px solid var(--line); margin-top: 50px; text-align: left; line-height: 1.65; }
.site-footer p { margin: 9px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; color: #a9abba; margin-bottom: 17px; }
.footer-links a:hover { color: var(--text); }
.footer-disclaimer { color: #5f6273; }
@media (max-width: 820px) {
  .site-nav { gap: 13px; font-size: 11px; }
  .seo-grid { grid-template-columns: 1fr; }
  .seo-facts { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .topbar { height: auto; min-height: 76px; padding: 16px 0; gap: 14px; align-items: flex-start; }
  .site-nav { max-width: 210px; justify-content: flex-end; flex-wrap: wrap; row-gap: 7px; }
  .seo-content { padding-top: 62px; }
  .seo-grid article { padding: 20px; }
}

/* v5 shared adaptive navigation */
.site-header { position: relative; z-index: 30; }
.header-controls { display: flex; align-items: center; justify-content: flex-end; gap: 14px; min-width: 0; }
.site-nav a[aria-current="page"] { color: var(--text); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.025); color: var(--text); align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle span { display: block; width: 18px; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .18s ease, opacity .18s ease; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.wallet-header-controls { flex: 1; }
.wallet-header-controls .site-nav { margin-left: auto; }
.wallet-footer { text-align: left; }
.wallet-footer .footer-links { justify-content: flex-start; }
@media (max-width: 980px) {
  .site-nav { gap: 14px; font-size: 11px; }
}
@media (max-width: 760px) {
  .topbar, .wallet-nav { min-height: 76px; height: 76px; padding: 0; align-items: center; overflow: visible; }
  .site-header .brand { position: relative; z-index: 32; }
  .header-controls { gap: 9px; }
  .menu-toggle { display: inline-flex; position: relative; z-index: 32; flex: 0 0 42px; }
  .site-header .site-nav {
    display: none;
    position: absolute;
    z-index: 31;
    top: calc(100% - 2px);
    right: 0;
    width: min(320px, calc(100vw - 28px));
    max-width: none;
    padding: 10px;
    border: 1px solid var(--line-strong);
    border-radius: 15px;
    background: rgba(18,19,28,.985);
    box-shadow: 0 22px 65px rgba(0,0,0,.5);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .site-header .site-nav.is-open { display: flex; }
  .site-header .site-nav a { display: block; padding: 11px 12px; border-radius: 9px; font-size: 13px; }
  .site-header .site-nav a:hover, .site-header .site-nav a:focus-visible, .site-header .site-nav a[aria-current="page"] { background: rgba(255,255,255,.045); }
  .wallet-header-controls .site-nav { margin-left: 0; }
  .wallet-footer { padding-top: 28px; }
}
@media (max-width: 420px) {
  .brand-copy strong { font-size: 16px; }
  .brand-copy small { font-size: 9px; }
  .brand-mark { width: 32px; }
  .wallet-nav .danger-ghost { width: 38px; height: 38px; }
}

@media (max-width: 560px) {
  .fee-modes { grid-template-columns: repeat(2, 1fr); }
  .fee-heading, .fee-summary { align-items: flex-start; flex-direction: column; }
  .fee-heading small, .fee-conversions { text-align: left; }
  .receive-qr-wrap { width: 224px; height: 224px; padding: 7px; }
  .receive-qr { width: 210px; height: 210px; }
}

/* v10 token metadata, logos and market values */
.token-icon { position: relative; overflow: hidden; flex: 0 0 40px; }
.token-icon > span { position: relative; z-index: 1; }
.token-icon img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; background: #171923; }
.token-balance strong { display: flex; justify-content: flex-end; align-items: baseline; gap: 5px; }
.token-balance strong span { color: var(--muted); font-size: 11px; font-weight: 700; }
.token-balance .token-usd { color: #a4a7b5; font-size: 11px; }
@media (max-width: 640px) {
  .token-row { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .token-balance { min-width: 112px; }
  .token-row .send-token-btn { grid-column: 1 / -1; width: 100%; }
}
