@charset "UTF-8";

:root {
  color-scheme: dark;
  --bg: #0A0612;
  --surface: #140A26;
  --surface-2: #1B0F33;
  --surface2: #1B0F33;
  --line: #2C1B4D;
  --pink: #FF5CC8;
  --violet: #A855F7;
  --cyan: #22D3EE;
  --text: #F4F0FF;
  --muted: #A89DC0;
  --gradient: linear-gradient(100deg, #FF5CC8, #A855F7 55%, #22D3EE);
  --positive: #73E2BA;
  --sidebar-width: 236px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; background: var(--bg); }
body { margin: 0; color: var(--text); font-size: 14px; line-height: 1.5; background: var(--bg); }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; color: inherit; }
button { border: 0; }
a { color: inherit; text-decoration: none; }
button, a, input, select, textarea { outline: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}
button:disabled { cursor: not-allowed; opacity: .42; transform: none !important; }
button, a { transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease; }
svg { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--text); font-weight: 600; }
h1 { font-size: clamp(27px, 3vw, 34px); line-height: 1.2; letter-spacing: -1.1px; }
h2 { font-size: 18px; line-height: 1.35; letter-spacing: -.4px; }
h3 { font-size: 16px; line-height: 1.4; letter-spacing: -.25px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.mobile-only { display: none; }

.app-shell { min-height: 100dvh; }
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  width: var(--sidebar-width);
  padding: 35px 22px 25px;
  border-right: 1px solid rgba(168, 157, 192, .12);
  background: #0D0718;
}
.brand { display: flex; align-items: center; gap: 11px; padding: 0 13px; }
.brand-logo { display: grid; place-items: center; width: 36px; height: 41px; flex-shrink: 0; object-fit: contain; border-radius: 8px; }
.brand-logo svg, .brand-logo img { width: 36px; height: 41px; }
.brand-name { display: block; font-size: 25px; line-height: 1.2; font-weight: 650; letter-spacing: -.9px; }
.brand-caption { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: 2.2px; text-transform: uppercase; }
.nav-list { display: grid; gap: 8px; margin-top: 54px; }
.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  width: 100%;
  min-height: 48px;
  padding: 13px 16px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
}
.nav-item svg { width: 19px; height: 19px; opacity: .88; }
.nav-item:hover { color: var(--text); background: rgba(168, 85, 247, .07); }
.nav-item.active { color: var(--text); border-color: rgba(168, 85, 247, .23); background: linear-gradient(100deg, rgba(168, 85, 247, .16), rgba(168, 85, 247, .055)); }
.nav-item.active svg { color: var(--pink); opacity: 1; }
.nav-item.active::before { content: ""; position: absolute; left: -23px; top: 15px; bottom: 15px; width: 3px; border-radius: 0 3px 3px 0; background: var(--pink); }
.sidebar-foot { margin-top: auto; padding: 28px 14px 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.sidebar-foot p + p { margin-top: 8px; }
.sidebar-foot a:hover { color: var(--text); }
.network-dots { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.network-dots span, .network-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }
.network-dots :nth-child(3n + 2) { background: var(--pink); }
.network-dots :nth-child(3n) { background: var(--cyan); }
.sidebar-foot > a { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; }
.sidebar-foot > a svg { width: 12px; height: 12px; }
.main-shell { margin-left: var(--sidebar-width); min-height: 100dvh; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 89px;
  padding: 19px 44px;
  border-bottom: 1px solid rgba(168, 157, 192, .1);
}
.breadcrumb { display: flex; align-items: center; gap: 11px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.breadcrumb svg { width: 13px; height: 13px; opacity: .6; }
.breadcrumb strong, .breadcrumb > span:last-child { color: var(--text); font-weight: 500; }
.topbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 13px; }
.preview-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; font-size: 10px; font-weight: 500; letter-spacing: .4px; white-space: nowrap; }
.preview-badge::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--pink); }
.icon-button { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--muted); flex-shrink: 0; }
.icon-button:hover { background: var(--surface-2); color: var(--text); border-color: #513276; }
.wallet-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 39px; padding: 9px 14px; color: var(--text); background: var(--surface); border: 1px solid #4A2866; border-radius: 9px; font-size: 12px; font-weight: 550; white-space: nowrap; }
.wallet-button svg { width: 16px; height: 16px; color: var(--pink); }
.wallet-button:hover { background: var(--surface-2); border-color: var(--violet); }
.avatar { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, rgba(255, 92, 200, .35), rgba(34, 211, 238, .22)); color: var(--text); font-size: 10px; font-weight: 650; }
.page-content { max-width: 1238px; margin: 0 auto; padding: 40px 44px 28px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.eyebrow { margin-bottom: 10px; color: var(--pink); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; }
.subtitle { margin-top: 9px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.heading-actions { display: flex; align-items: center; gap: 10px; }
.network-select { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 38px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; color: #CEC4E2; background: transparent; font-size: 11px; white-space: nowrap; }
.network-select:hover { background: var(--surface); border-color: #4D2B6D; }
.network-select svg { width: 13px; height: 13px; color: var(--muted); }
.network-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; flex-shrink: 0; background: var(--positive); box-shadow: 0 0 0 3px rgba(115, 226, 186, .08); }
.wallet-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 22px; align-items: start; }
.card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.portfolio-card { position: relative; padding: 27px 28px 23px; background: radial-gradient(ellipse at 92% 0, rgba(168, 85, 247, .075), transparent 58%), var(--surface); }
.portfolio-card > .card-heading { padding: 0; border: 0; margin: 0 0 2px; }
.portfolio-card > .card-heading .icon-button { width: 26px; height: 26px; border: 0; border-radius: 6px; }
.portfolio-card > .card-heading .icon-button svg { width: 15px; height: 15px; }
.portfolio-label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.portfolio-label svg { width: 14px; height: 14px; opacity: .7; }
.balance-row { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 9px; margin-top: 9px; }
.balance-amount { color: var(--text); font-size: clamp(34px, 4.2vw, 48px); font-weight: 550; line-height: 1.25; font-variant-numeric: tabular-nums; letter-spacing: -2px; }
.balance-currency { color: var(--muted); font-size: 13px; font-weight: 450; letter-spacing: 0; }
.sample-label { display: inline-flex; align-items: center; padding: 3px 7px; margin-left: auto; border: 1px solid rgba(168, 157, 192, .18); border-radius: 5px; color: var(--muted); font-size: 9px; font-weight: 450; letter-spacing: .2px; line-height: 1.4; vertical-align: middle; }
.balance-change { display: flex; align-items: center; gap: 5px; margin-top: 8px; color: var(--positive); font-size: 11px; font-variant-numeric: tabular-nums; }
.balance-change svg { width: 13px; height: 13px; }
.balance-change span:last-child { margin-left: 4px; color: var(--muted); }
.portfolio-chart { position: relative; width: 100%; height: 177px; margin-top: 24px; }
.portfolio-chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.chart-axis { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; color: #807291; font-size: 9px; }
.chart-periods { display: flex; gap: 5px; justify-content: flex-end; margin-top: 20px; }
.period-button { min-width: 32px; height: 26px; padding: 4px 8px; border: 1px solid transparent; border-radius: 6px; color: var(--muted); background: transparent; font-size: 9px; }
.period-button:hover { color: var(--text); background: rgba(168, 85, 247, .1); }
.period-button.active { border-color: rgba(168, 85, 247, .28); background: rgba(168, 85, 247, .13); color: #E4BAFF; }
.quick-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.action-button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 10px 9px; border: 1px solid var(--line); border-radius: 9px; background: rgba(27, 15, 51, .6); color: var(--text); font-size: 11px; font-weight: 500; }
.action-button:hover { border-color: rgba(168, 85, 247, .6); background: #24113D; transform: translateY(-1px); }
.action-button:first-child { background: var(--gradient); border-color: transparent; color: #140A26; font-weight: 650; }
.action-button:first-child:hover { filter: brightness(1.07); }
.action-icon { display: inline-flex; align-items: center; justify-content: center; }
.action-icon svg, .action-button > svg { width: 15px; height: 15px; }
.onboarding-card { position: relative; padding: 22px 23px 23px; background: radial-gradient(ellipse at 50% 5%, rgba(168, 85, 247, .13), transparent 48%), var(--surface); }
.onboarding-card h2 { font-size: 20px; letter-spacing: -.7px; }
.onboarding-card > p { margin-top: 9px; color: var(--muted); font-size: 11px; line-height: 1.85; }
.orbit-art { position: relative; display: grid; place-items: center; width: 156px; height: 130px; margin: 0 auto 19px; }
.orbit-ring { position: absolute; inset: 11px 20px; border: 1px solid rgba(168, 85, 247, .24); border-radius: 50%; transform: rotate(-28deg) scaleX(1.2); }
.orbit-ring:nth-child(2) { inset: 26px 34px; transform: rotate(32deg) scaleX(1.33); border-color: rgba(255, 92, 200, .2); }
.orbit-ring::before { content: ""; position: absolute; top: 12px; left: 12px; width: 5px; height: 5px; background: var(--pink); border-radius: 50%; box-shadow: 0 0 15px rgba(255, 92, 200, .3); }
.orbit-ring:nth-child(2)::before { top: auto; left: auto; bottom: 7px; right: 7px; width: 4px; height: 4px; background: var(--cyan); }
.orbit-logo { display: grid; place-items: center; width: 58px; height: 63px; object-fit: contain; border-radius: 12px; filter: drop-shadow(0 7px 18px rgba(168, 85, 247, .22)); }
.orbit-logo svg, .orbit-logo img { width: 58px; height: 63px; }
.step-list { display: grid; gap: 15px; margin: 21px 0 24px; padding: 0; list-style: none; }
.step-row { display: flex; align-items: center; gap: 11px; font-size: 11px; color: #D4C9E6; }
.step-row strong { display: block; color: #E5DBF4; font-size: 11px; font-weight: 500; }
.step-row p, .step-row small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.step-number { display: grid; place-items: center; width: 24px; height: 24px; flex-shrink: 0; border: 1px solid rgba(168, 85, 247, .28); border-radius: 7px; background: rgba(168, 85, 247, .07); color: #CA94ED; font-size: 10px; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 43px; padding: 12px 18px; border: 1px solid transparent; border-radius: 9px; font-size: 12px; font-weight: 600; line-height: 1.4; }
.primary-button { background: var(--gradient); color: #100718; }
.primary-button:hover:not(:disabled) { box-shadow: 0 5px 22px rgba(168, 85, 247, .17); filter: brightness(1.08); transform: translateY(-1px); }
.primary-button svg { width: 16px; height: 16px; }
.secondary-button { border-color: #40245E; background: rgba(27, 15, 51, .55); color: var(--text); }
.secondary-button:hover { border-color: var(--violet); background: #24113D; }
.onboarding-card > .primary-button, .onboarding-card > .secondary-button { width: 100%; }
.onboarding-card > .primary-button { margin-top: 25px; }
.onboarding-card > .eyebrow { color: var(--pink); font-size: 8px; letter-spacing: 1.5px; margin-bottom: 9px; }
.onboarding-card > .secondary-button { margin-top: 10px; }
.text-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 5px 0; background: transparent; color: #D6ADF2; font-size: 11px; font-weight: 500; }
.text-button svg { width: 13px; height: 13px; }
.text-button:hover { color: var(--pink); }
.onboarding-card > .text-button { display: flex; width: 100%; margin-top: 11px; }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 22px 25px; border-bottom: 1px solid var(--line); }
.card-heading h2 { font-size: 15px; letter-spacing: -.25px; }
.card-heading p { margin-top: 4px; font-size: 11px; color: var(--muted); }
.wallet-grid > .card + .card { margin-top: 0; }
.wallet-grid + .card, .wallet-grid + section, .card + .card, .card + .section-heading { margin-top: 23px; }
.tabs { display: flex; align-items: center; gap: 21px; }
.tab { position: relative; padding: 3px 0; background: transparent; color: var(--muted); font-size: 12px; font-weight: 500; }
.tab:hover { color: var(--text); }
.tab.active { color: var(--text); }
.tab.active::after { content: ""; position: absolute; bottom: -23px; left: 0; right: 0; height: 2px; background: var(--gradient); border-radius: 2px; }
.asset-list { padding: 0 24px; }
.assets-card > .asset-header { padding: 14px 24px 9px; margin: 0; }
.asset-header { display: grid; grid-template-columns: minmax(130px, 1fr) 98px 135px; align-items: center; gap: 16px; padding: 17px 0 6px; color: #867796; font-size: 9px; text-transform: uppercase; letter-spacing: .65px; }
.asset-header > :last-child { text-align: right; }
.asset-row { display: grid; grid-template-columns: minmax(130px, 1fr) 98px 135px; align-items: center; gap: 16px; min-height: 84px; padding: 17px 0; border-bottom: 1px solid rgba(44, 27, 77, .7); }
.asset-row:last-child { border-bottom: 0; }
.asset-main { display: flex; align-items: center; gap: 11px; min-width: 0; }
.coin-icon { display: grid; place-items: center; width: 35px; height: 35px; flex-shrink: 0; border: 1px solid rgba(168, 157, 192, .1); border-radius: 50%; background: var(--surface-2); font-size: 14px; font-weight: 600; }
.coin-icon svg { width: 19px; height: 22px; }
.coin-icon.crptk { background: linear-gradient(135deg, rgba(255, 92, 200, .17), rgba(168, 85, 247, .11)); color: var(--pink); border-color: rgba(255, 92, 200, .16); }
.coin-icon.eth { background: rgba(130, 139, 255, .09); color: #B0B6EF; }
.coin-icon.usdc { background: #1D5CAC; color: #FFFFFF; font-size: 21px; font-weight: 450; }
.asset-info { min-width: 0; }
.asset-name { color: #E4DCF0; font-size: 12px; font-weight: 500; white-space: nowrap; }
.asset-symbol { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.asset-sparkline { width: 82px; height: 29px; color: var(--positive); justify-self: center; }
.asset-sparkline svg { display: block; width: 100%; height: 100%; overflow: visible; }
.asset-sparkline.negative { color: var(--pink); }
.asset-value { text-align: right; color: #EAE1F5; font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.asset-amount { margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 400; }
.asset-change { margin-top: 3px; color: var(--positive); font-size: 10px; font-weight: 400; font-variant-numeric: tabular-nums; }
.asset-change.negative { color: var(--pink); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 30px 0 16px; }
.section-heading h2 { font-size: 16px; }
.activity-list { padding: 0 24px; }
.activity-row { display: flex; align-items: center; gap: 13px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.activity-row:last-child { border-bottom: 0; }
.activity-icon { display: grid; place-items: center; width: 35px; height: 35px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 10px; background: rgba(168, 85, 247, .07); color: #C4A4E2; }
.activity-icon svg { width: 16px; height: 16px; }
.activity-description { min-width: 0; color: #E5DDF1; font-size: 12px; font-weight: 500; }
.activity-description p, .activity-description small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 400; }
.activity-date { color: var(--muted); font-size: 10px; font-weight: 400; }
.activity-amount { margin-left: auto; color: var(--text); font-size: 12px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.activity-amount p, .activity-amount small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border: 1px solid rgba(115, 226, 186, .15); border-radius: 5px; background: rgba(115, 226, 186, .055); color: var(--positive); font-size: 9px; font-weight: 450; white-space: nowrap; }
.explore-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.explore-grid > .card + .card { margin-top: 0; }
.explore-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 226px; padding: 25px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.explore-card > .card-heading { width: 100%; padding: 0; border: 0; }
.explore-card > .card-heading .explore-icon { margin-bottom: 0; }
.mini-explore .explore-icon { margin: 0; flex-shrink: 0; }
.explore-card:hover { border-color: rgba(168, 85, 247, .4); }
.explore-icon { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 24px; border: 1px solid rgba(168, 85, 247, .2); border-radius: 11px; color: #DBACFF; background: rgba(168, 85, 247, .085); }
.explore-icon svg { width: 21px; height: 21px; }
.explore-card:nth-child(2) .explore-icon { color: var(--pink); background: rgba(255, 92, 200, .055); }
.explore-card:nth-child(3) .explore-icon { color: var(--cyan); background: rgba(34, 211, 238, .055); }
.explore-card > p { margin-top: 9px; margin-bottom: 22px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.explore-card .text-button, .explore-card > button:last-child { margin-top: auto; }
.settings-list { padding: 0 25px; }
.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 89px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.settings-row:last-child { border-bottom: 0; }
.settings-row h3, .settings-row strong { font-size: 12px; font-weight: 500; }
.settings-row p { margin-top: 5px; color: var(--muted); font-size: 11px; }
.toggle { position: relative; display: block; width: 37px; min-width: 37px; height: 21px; padding: 0; border: 1px solid #4B3066; border-radius: 30px; background: var(--line); }
.toggle::after { content: ""; position: absolute; left: 3px; top: 3px; width: 13px; height: 13px; border-radius: 50%; background: #C5BAD8; transition: transform .18s ease; }
.toggle[aria-checked="true"], .toggle.active { background: var(--violet); border-color: var(--violet); }
.toggle[aria-checked="true"]::after, .toggle.active::after { transform: translateX(16px); background: #FFF; }
.empty-state { padding: 53px 24px; text-align: center; }
.empty-state > svg, .empty-state > .activity-icon { display: block; width: 37px; height: 37px; margin: 0 auto 18px; color: #AA79CB; }
.empty-state h2, .empty-state h3 { font-size: 16px; }
.empty-state p { max-width: 350px; margin: 9px auto 20px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.information-box, .notice { padding: 13px 15px; border: 1px solid rgba(168, 85, 247, .24); border-radius: 9px; background: rgba(168, 85, 247, .065); color: #B9A6CB; font-size: 11px; line-height: 1.75; }
.information-box { display: flex; align-items: flex-start; gap: 10px; }
.information-box svg { width: 16px; height: 16px; margin-top: 2px; color: #BD8EE0; }
.information-box strong, .notice strong { color: #D8B8EF; font-weight: 500; }
.notice { margin-top: 20px; }
.connected-banner { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 12px 16px; border: 1px solid rgba(115, 226, 186, .17); border-radius: 10px; background: rgba(115, 226, 186, .04); color: #A0D9C1; font-size: 11px; }
.connected-banner svg { width: 16px; height: 16px; }
.connected-banner .text-button { margin-left: auto; color: #B3E9D2; }
.welcome-view { max-width: 520px; margin: 52px auto; padding: 35px; text-align: center; }
.welcome-view > p { margin: 12px 0 25px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.welcome-view .primary-button, .welcome-view .secondary-button { width: 100%; margin-top: 10px; }
.footer-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 27px; color: #756786; font-size: 9px; line-height: 1.7; text-align: center; }
.footer-note svg { width: 12px; height: 12px; }

.modal-backdrop, .modal::backdrop { background: rgba(5, 2, 11, .79); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.modal-backdrop { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; }
.modal { width: min(460px, calc(100% - 32px)); max-height: min(90dvh, 800px); padding: 0; margin: auto; border: 1px solid #4A2B68; border-radius: 19px; background: #140A26; color: var(--text); box-shadow: 0 26px 100px rgba(0, 0, 0, .6); overflow: auto; overscroll-behavior: contain; }
.modal[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.modal:not([open]) { display: none; }
.modal-header { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 25px 26px 20px; border-bottom: 1px solid var(--line); }
.modal-header h2 { margin: 3px 0 0; font-size: 20px; letter-spacing: -.65px; }
.modal-header p { margin-top: 6px; color: var(--muted); font-size: 11px; }
.modal-header .icon-button { width: 31px; height: 31px; margin: 0 -5px 0 0; border-color: transparent; border-radius: 8px; }
.modal-header .icon-button svg { width: 18px; height: 18px; }
.modal-body { padding: 24px 26px; overflow-y: auto; }
.modal-body > p { margin-bottom: 17px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.modal-body .notice, .modal-body .information-box { margin-top: 18px; }
.modal-footer { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 18px 26px 23px; border-top: 1px solid var(--line); }
.modal-footer > .primary-button:only-child { width: 100%; }
.modal-footer .primary-button { flex: 1; }
.modal-footer:has(.centered) { flex-direction: column; }
.field { display: block; margin-bottom: 18px; }
.field:last-child { margin-bottom: 0; }
.field-label { display: block; margin-bottom: 8px; color: #DACEE8; font-size: 11px; font-weight: 500; }
.input, .select { display: block; width: 100%; min-height: 44px; padding: 12px 13px; border: 1px solid #3C2457; border-radius: 8px; background: #10071F; color: var(--text); font-size: 12px; line-height: 1.5; }
.input::placeholder { color: #766585; }
.input:hover, .select:hover { border-color: #694287; }
.input:focus, .select:focus { border-color: var(--violet); }
.input[readonly] { color: #C5B3D8; }
.select { cursor: pointer; }
.amount-field { display: flex; align-items: center; gap: 8px; padding: 14px; border: 1px solid #3C2457; border-radius: 9px; background: #10071F; }
.amount-field:focus-within { border-color: var(--violet); box-shadow: 0 0 0 2px rgba(168, 85, 247, .12); }
.amount-field .input, .amount-field input { min-width: 0; width: 100%; min-height: 0; padding: 2px 0; border: 0; background: transparent; font-size: 24px; letter-spacing: -.7px; box-shadow: none; outline: none; color: var(--text); }
.amount-field > span { color: var(--muted); font-size: 12px; }
.amount-field .text-button { flex-shrink: 0; padding: 5px 8px; border-radius: 5px; background: rgba(168, 85, 247, .12); font-size: 9px; }
.inline-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 7px 0; color: var(--muted); font-size: 10px; }
.inline-label .field-label { margin-bottom: 0; }
.form-error { margin-top: 10px; color: #FF95D9; font-size: 11px; line-height: 1.6; }
.form-error:empty { display: none; }
.review-list { display: grid; gap: 0; margin: 15px 0; border: 1px solid var(--line); border-radius: 10px; padding: 0 15px; }
.review-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.review-row:last-child { border-bottom: 0; }
.review-row > :first-child { color: var(--muted); flex-shrink: 0; }
.review-row > :last-child { color: #E6D7F2; text-align: right; overflow-wrap: anywhere; }
.address-box { margin: 16px 0; padding: 15px; border: 1px solid #3C2457; border-radius: 9px; background: #10071F; color: #DCC8EF; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; line-height: 1.9; overflow-wrap: anywhere; text-align: center; user-select: all; }
.provider-list { display: grid; gap: 10px; }
.provider-button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 15px; border: 1px solid #3C2457; border-radius: 10px; background: #190D2D; color: var(--text); text-align: left; font-size: 12px; font-weight: 500; }
.provider-button:hover { border-color: var(--violet); background: #24113D; }
.provider-button > svg:last-child { margin-left: auto; width: 15px; height: 15px; color: var(--muted); }
.provider-mark { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 8px; background: #2E164A; color: var(--pink); font-size: 16px; }
.choice-button { display: flex; align-items: center; gap: 13px; width: 100%; margin-top: 11px; padding: 17px 15px; border: 1px solid #3C2457; border-radius: 11px; background: #190D2D; text-align: left; }
.choice-button:first-child { margin-top: 0; }
.choice-button:hover { background: #24113D; border-color: var(--violet); }
.choice-icon { display: grid; place-items: center; width: 37px; height: 37px; flex-shrink: 0; border: 1px solid rgba(168, 85, 247, .25); border-radius: 9px; background: rgba(168, 85, 247, .09); color: #D49BF5; }
.choice-description { flex: 1; font-size: 12px; font-weight: 500; }
.choice-description small, .choice-description p { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 400; line-height: 1.7; }
.choice-button > svg:last-child { width: 15px; height: 15px; color: var(--muted); }
.toast { position: fixed; z-index: 120; bottom: 25px; left: calc(50% + var(--sidebar-width) / 2); transform: translateX(-50%); display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100vw - var(--sidebar-width) - 48px); padding: 13px 18px; border: 1px solid #5B3579; border-radius: 11px; background: #24113D; color: #F0E7F7; box-shadow: 0 12px 40px rgba(0, 0, 0, .4); font-size: 12px; animation: toast-enter .2s ease-out; }
.toast svg { width: 17px; height: 17px; color: var(--positive); }
@keyframes toast-enter { from { opacity: 0; margin-bottom: -7px; } to { opacity: 1; margin-bottom: 0; } }

@media (min-width: 1500px) {
  .topbar { padding-right: max(44px, calc((100vw - var(--sidebar-width) - 1150px) / 2)); padding-left: max(44px, calc((100vw - var(--sidebar-width) - 1150px) / 2)); }
}
@media (max-width: 1180px) {
  .topbar { padding: 19px 28px; }
  .page-content { padding: 34px 28px 26px; }
  .wallet-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; }
  .portfolio-card { padding: 24px 22px 22px; }
  .onboarding-card { padding: 22px 20px; }
  .quick-actions { gap: 7px; }
  .action-button { gap: 6px; padding: 9px 5px; font-size: 10px; }
  .asset-list { padding: 0 21px; }
  .asset-header, .asset-row { grid-template-columns: minmax(110px, 1fr) 70px 110px; gap: 10px; }
  .asset-sparkline { width: 65px; }
  .explore-card { padding: 21px; }
}
@media (min-width: 821px) and (max-width: 1030px) {
  :root { --sidebar-width: 206px; }
  .sidebar { padding-left: 17px; padding-right: 17px; }
  .brand { padding-left: 7px; }
  .nav-item.active::before { left: -18px; }
  .wallet-grid { grid-template-columns: minmax(0, 1fr); }
  .onboarding-card { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .onboarding-card .orbit-art { display: none; }
  .onboarding-card > h2 { grid-column: 1; align-self: end; }
  .onboarding-card > p { grid-column: 1; }
  .onboarding-card .step-list { grid-column: 2; grid-row: 1 / span 3; margin: 3px 0 12px; align-self: center; }
  .onboarding-card > .primary-button { grid-column: 1; margin-top: 16px; }
  .onboarding-card > .secondary-button, .onboarding-card > .text-button { grid-column: 2; }
  .onboarding-card > .secondary-button { margin-top: 16px; }
  .explore-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  :root { --sidebar-width: 0px; }
  .sidebar { inset: auto 0 0; width: 100%; padding: 7px 15px calc(7px + env(safe-area-inset-bottom)); border: 0; border-top: 1px solid #302041; background: rgba(13, 7, 24, .96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
  .sidebar > .brand, .sidebar-foot { display: none; }
  .nav-list { display: flex; align-items: center; justify-content: space-around; gap: 4px; margin: 0; }
  .nav-item { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 49px; max-width: 95px; padding: 7px 3px; border-radius: 8px; font-size: 9px; line-height: 1.35; text-align: center; }
  .nav-item svg { width: 19px; height: 19px; }
  .nav-item.active { color: #F1DAFD; background: rgba(168, 85, 247, .11); border-color: transparent; }
  .nav-item.active::before { display: none; }
  .main-shell { margin-left: 0; padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .topbar { min-height: 77px; padding: 17px 26px; }
  .topbar .brand { display: flex; padding: 0; gap: 8px; }
  .topbar .brand-logo, .topbar .brand-logo svg, .topbar .brand-logo img { width: 27px; height: 32px; }
  .topbar .brand-name { font-size: 21px; }
  .topbar .brand-caption { display: none; }
  .page-content { max-width: 740px; padding: 31px 26px 20px; }
  .wallet-grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 17px; }
  .onboarding-card { padding: 22px 19px; }
  .portfolio-card { padding: 24px 21px 20px; }
  .balance-amount { font-size: 39px; }
  .quick-actions { gap: 6px; }
  .action-button { flex-direction: column; gap: 5px; padding: 10px 4px; font-size: 10px; }
  .action-icon svg, .action-button > svg { width: 17px; height: 17px; }
  .mobile-only { display: initial; }
  .desktop-only { display: none !important; }
  .assets-card .asset-row, .assets-card .asset-header { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .toast { bottom: calc(89px + env(safe-area-inset-bottom)); left: 50%; max-width: calc(100vw - 32px); font-size: 11px; }
}
@media (max-width: 660px) {
  .topbar { min-height: 70px; padding: 15px 20px; gap: 10px; }
  .breadcrumb { font-size: 11px; }
  .topbar-actions { gap: 8px; }
  .preview-badge { font-size: 8px; padding: 4px 6px; }
  .topbar-actions .icon-button { display: none; }
  .wallet-button { min-height: 35px; padding: 8px 10px; font-size: 10px; gap: 7px; }
  .wallet-button svg { width: 14px; height: 14px; }
  .avatar { width: 25px; height: 25px; font-size: 9px; }
  .page-content { padding: 29px 20px 15px; }
  .page-heading { align-items: flex-start; gap: 12px; margin-bottom: 24px; }
  h1 { font-size: 28px; letter-spacing: -1px; }
  .eyebrow { font-size: 9px; margin-bottom: 8px; letter-spacing: 1.8px; }
  .subtitle { max-width: 260px; font-size: 11px; margin-top: 8px; }
  .heading-actions { align-self: flex-start; margin-top: 4px; }
  .network-select { min-height: 33px; gap: 6px; padding: 8px; border-radius: 8px; font-size: 9px; }
  .network-select svg { width: 11px; height: 11px; }
  .wallet-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .card { border-radius: 14px; }
  .portfolio-card { padding: 23px 20px 20px; }
  .portfolio-label { font-size: 11px; }
  .balance-amount { font-size: 41px; letter-spacing: -1.7px; }
  .balance-currency { font-size: 11px; }
  .sample-label { font-size: 8px; padding: 3px 6px; }
  .balance-change { margin-top: 7px; font-size: 10px; }
  .portfolio-chart { height: 157px; margin-top: 21px; }
  .chart-periods { margin-top: 16px; gap: 5px; }
  .period-button { min-width: 34px; height: 28px; }
  .chart-axis { font-size: 8px; }
  .quick-actions { gap: 8px; padding-top: 19px; margin-top: 20px; }
  .action-button { flex-direction: row; gap: 6px; padding: 11px 4px; min-height: 42px; font-size: 10px; }
  .action-icon svg, .action-button > svg { width: 14px; height: 14px; }
  .onboarding-card { padding: 22px; }
  .orbit-art { float: right; width: 116px; height: 102px; margin: 0 -6px 3px 5px; }
  .orbit-ring { inset: 8px 17px; }
  .orbit-ring:nth-child(2) { inset: 22px 26px; }
  .orbit-logo, .orbit-logo svg, .orbit-logo img { width: 43px; height: 49px; }
  .onboarding-card h2 { max-width: 210px; font-size: 21px; padding-top: 4px; }
  .onboarding-card > p { max-width: 290px; font-size: 11px; margin-top: 8px; }
  .step-list { clear: both; gap: 13px; margin: 22px 0; }
  .step-row, .step-row strong { font-size: 11px; }
  .step-number { width: 24px; height: 24px; }
  .card-heading { padding: 20px; gap: 10px; }
  .card-heading h2 { font-size: 14px; }
  .tabs { gap: 20px; }
  .tab { font-size: 11px; }
  .tab.active::after { bottom: -21px; }
  .asset-list { padding: 0 19px; }
  .assets-card > .asset-header { padding: 13px 19px 8px; }
  .asset-header, .asset-row { grid-template-columns: minmax(106px, 1fr) 60px 103px; gap: 9px; }
  .asset-header { padding-top: 16px; font-size: 8px; }
  .asset-row { min-height: 78px; padding: 16px 0; }
  .asset-main { gap: 9px; }
  .coin-icon { width: 31px; height: 31px; }
  .coin-icon svg { width: 17px; height: 19px; }
  .asset-name, .asset-value { font-size: 11px; }
  .asset-symbol, .asset-amount, .asset-change { font-size: 9px; }
  .asset-sparkline { width: 58px; height: 25px; }
  .activity-list { padding: 0 19px; }
  .activity-row { gap: 10px; padding: 18px 0; }
  .activity-description, .activity-amount { font-size: 11px; }
  .activity-description p, .activity-description small, .activity-amount p, .activity-amount small { font-size: 9px; }
  .activity-icon { width: 32px; height: 32px; }
  .status-pill { font-size: 8px; padding: 3px 5px; }
  .explore-grid { grid-template-columns: 1fr; gap: 14px; }
  .explore-card { min-height: 200px; padding: 23px; }
  .explore-icon { margin-bottom: 18px; }
  .settings-list { padding: 0 20px; }
  .settings-row { gap: 17px; }
  .settings-row p { font-size: 10px; line-height: 1.7; }
  .settings-row .select { width: 120px; font-size: 11px; padding: 10px; }
  .footer-note { margin-top: 23px; font-size: 8px; }
  .connected-banner { align-items: flex-start; font-size: 10px; padding: 12px; }
  .connected-banner .text-button { font-size: 10px; padding: 0; }
  .welcome-view { margin: 20px auto; padding: 25px 22px; }
  .modal { max-height: 88dvh; border-radius: 16px; }
  .modal-header { padding: 21px 21px 18px; }
  .modal-header h2 { font-size: 19px; }
  .modal-body { padding: 21px; }
  .modal-footer { padding: 17px 21px 21px; }
  .modal .input, .modal .select { font-size: 16px; }
  .modal .amount-field input { font-size: 25px; }
}
@media (max-width: 380px) {
  .topbar { padding-left: 16px; padding-right: 16px; }
  .topbar .brand-name { font-size: 19px; }
  .topbar-actions { gap: 6px; }
  .page-content { padding-left: 16px; padding-right: 16px; }
  .portfolio-card { padding-left: 17px; padding-right: 17px; }
  .asset-list { padding-left: 16px; padding-right: 16px; }
  .assets-card > .asset-header { padding-left: 16px; padding-right: 16px; }
  .asset-header, .asset-row { grid-template-columns: minmax(102px, 1fr) 44px 99px; gap: 6px; }
  .asset-sparkline { width: 43px; }
  .balance-amount { font-size: 38px; }
  .quick-actions { gap: 6px; }
  .action-button { gap: 4px; font-size: 9px; }
  .network-select { font-size: 8px; }
  .heading-actions { margin-top: 5px; }
  .onboarding-card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
