@font-face{font-family:Inter;src:url('assets/Inter.ttf') format('truetype');font-weight:100 900;font-display:swap}*{box-sizing:border-box} :root{color-scheme:dark;--bg:#111111;--panel:#202020;--purple:#b8a3fa;--muted:#939397;--green:#19cc8c;--red:#f26772;--ease:cubic-bezier(.22,.75,.2,1)}body{margin:0;background:#090909;color:#fff;font-family:-apple-system,BlinkMacSystemFont,Inter,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased}button,input{font:inherit}button{color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button{border:0;background:none;transition:transform .16s,opacity .16s}button:active{transform:scale(.96);opacity:.8}button:focus-visible,input:focus-visible{outline:2px solid var(--purple);outline-offset:3px}button:disabled{opacity:.4;cursor:default}input{color:#fff;background:#202020;border:0;border-radius:12px;padding:17px;width:100%;min-width:0}input::placeholder{color:#777}h1,h2,h3,p{margin:0}h2{font-size:22px;font-weight:650}h3{font-size:18px}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.muted{color:var(--muted)}.green{color:var(--green)}.purple{color:var(--purple)}.red{color:var(--red)}.small{font-size:14px}.center{text-align:center}.row{display:flex;align-items:center;gap:12px}.spread{justify-content:space-between}.grow{flex:1}.stack{display:flex;flex-direction:column;gap:6px}.icon-button{display:grid;place-items:center;width:40px;height:40px;border-radius:50%}.close{background:#2a2a2b;color:#bbb;width:30px;height:30px}.close svg{width:17px;height:17px}.avatar{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border-radius:50%;background:#29292e;font-size:23px}.app-shell{position:relative;width:100%;max-width:393px;min-height:100dvh;margin:auto;background:var(--bg);overflow:hidden;padding-bottom:96px}.topbar{padding:calc(env(safe-area-inset-top) + 14px) 20px 10px;display:flex;align-items:center;gap:10px;height:calc(74px + env(safe-area-inset-top))}.account-label{font-size:20px;font-weight:600}.topbar .icon-button{color:#bbb;width:35px}.screen{padding:0 16px;animation:fade-in .22s var(--ease)}.balance-block{padding:27px 0 24px;text-align:center}.balance{font-size:42px;line-height:1.18;letter-spacing:-.8px;font-weight:650;font-variant-numeric:tabular-nums}.change{font-size:16px;margin-top:10px}.asset-hotspots{position:relative;width:100%;line-height:0}.asset-hotspots img{width:100%;display:block}.hotspots{position:absolute;inset:0;display:flex}.hotspots button{flex:1;min-width:0;border-radius:18px}.hotspots button:active{background:#b8a3fa18}.home-actions{margin:0 0 25px}.cash-tile{background:linear-gradient(110deg,#ffffff14,#ffffff05);border-radius:18px;padding:17px 18px;display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.cash-tile .cash-amount{font-size:24px;font-weight:600;margin-top:7px}.cash-tile .muted{font-size:15px;color:#ccc}.cash-tile button{font-size:16px;color:#ccc}.section-head{display:flex;align-items:center;justify-content:space-between;margin:21px 0 13px}.section-head .icon-button{color:#a3a3a3}.perp-banner{width:100%;border-radius:14px;display:block}.tokens{padding-top:0}.token-row{display:flex;width:100%;align-items:center;text-align:left;padding:15px 0;gap:12px}.coin{width:44px;height:44px;border-radius:50%;object-fit:cover;flex-shrink:0;background:#292929;display:grid;place-items:center;font-weight:650;font-size:24px}.coin img{width:100%;height:100%;border-radius:50%}.token-name{font-size:17px;font-weight:600}.token-sub{font-size:14px;color:var(--muted);margin-top:6px}.token-value{text-align:right;font-size:17px;font-weight:500}.token-value small{display:block;font-size:14px;margin-top:6px;font-weight:400}.spark{width:54px;height:26px;stroke:#19cc8c;stroke-width:1.5}.bottom-nav{position:fixed;z-index:3;bottom:0;width:100%;max-width:393px;background:#111;padding:0 0 env(safe-area-inset-bottom);height:calc(81px + env(safe-area-inset-bottom))}.bottom-nav .asset-hotspots{height:81px}.bottom-nav img{height:81px;object-fit:fill}.bottom-nav button{border-radius:0}.home-indicator{height:5px;width:130px;background:#fff;border-radius:5px;margin:9px auto 8px;display:none}.primary{background:var(--purple);color:#171320;border-radius:28px;min-height:54px;padding:16px 20px;width:100%;font-size:17px;font-weight:650}.secondary{border-radius:15px;background:#242424;padding:15px 20px;width:100%;font-weight:550}.spacer{height:24px}.empty{padding:80px 15px;text-align:center;color:var(--muted);line-height:1.6}.empty svg{width:46px;height:46px;margin-bottom:18px}.sheet-backdrop{position:fixed;inset:0;background:#0008;z-index:10;display:flex;justify-content:center;align-items:flex-end;animation:fade-in .25s}.sheet{position:relative;background:#111;width:min(100%,393px);border-radius:24px 24px 0 0;max-height:94dvh;min-height:55dvh;overflow:auto;padding:0 20px calc(22px + env(safe-area-inset-bottom));animation:sheet-up .38s var(--ease);overscroll-behavior:contain;box-shadow:0 -5px 45px #0003}.sheet.full{height:94dvh;display:flex;flex-direction:column}.sheet-handle{background:#424242;width:36px;height:5px;border-radius:5px;margin:9px auto 0;flex-shrink:0}.sheet-header{min-height:65px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}.sheet-header h2{font-size:20px;text-align:center;flex:1}.sheet-header .header-side{width:34px}.sheet-body{flex:1;min-height:0}.sheet-footer{padding-top:20px;margin-top:auto}.sheet-backdrop.closing{opacity:0;transition:opacity .2s}.sheet-backdrop.closing .sheet{transform:translateY(100%);transition:transform .2s}.detail-screen{position:fixed;inset:0;margin:auto;width:min(100%,393px);z-index:5;background:#111;overflow-y:auto;padding:calc(env(safe-area-inset-top) + 12px) 20px 30px;animation:push-in .32s var(--ease)}.search-input{margin:10px 0 16px;background:#222;padding-left:43px}.search-wrap{position:relative}.search-wrap svg{position:absolute;left:13px;top:26px;width:19px;color:#888}#toast{position:fixed;left:50%;bottom:105px;transform:translate(-50%,15px);max-width:360px;width:max-content;background:#333;color:#fff;border:1px solid #444;padding:13px 20px;border-radius:14px;z-index:99;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;font-size:14px;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}@keyframes sheet-up{from{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes push-in{from{transform:translateX(100%)}to{transform:translateX(0)}}@keyframes fade-in{from{opacity:0}to{opacity:1}}@media(min-width:600px){.app-shell{box-shadow:0 0 70px #0008;min-height:100dvh}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}
.cash-card{width:260px;max-width:85%;display:block;border-radius:16px;margin:4px auto 38px;box-shadow:0 14px 35px #0006}.tx-icon{width:42px;height:42px;border-radius:50%;background:#252525;display:grid;place-items:center;color:#aaa}.form-grid{display:flex;flex-direction:column;gap:16px;padding-top:16px}.form-grid label{display:flex;flex-direction:column;gap:10px;color:#999;font-size:14px}.field-error{color:var(--red);min-height:22px;font-size:14px;text-align:center;margin-top:12px}.summary-amount{padding:35px 0 30px;text-align:center}.summary-amount .coin{width:68px;height:68px;margin:0 auto 20px}.summary-amount h1{font-size:36px;letter-spacing:-1px;overflow-wrap:anywhere}.summary-amount p{margin-top:12px}.info-card{border-radius:16px;background:#202020;overflow:hidden;margin:15px 0}.info-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;font-size:15px;line-height:1.5}.info-row+.info-row{border-top:1px solid #ffffff08}.info-row span:first-child{color:#969699}.info-row span:last-child{text-align:right;max-width:65%;overflow-wrap:anywhere}.recipient-pill{background:#202020;border-radius:16px;padding:15px 16px;margin:10px 0 15px}.recipient-pill .avatar{width:32px;height:32px;font-size:18px}.amount-display{padding:20px 0;text-align:center}.amount-input{background:transparent;text-align:center;font-size:56px;padding:8px 0;font-weight:500;letter-spacing:-2px}.amount-display .row{justify-content:center}.currency-toggle{background:#242424;border-radius:100%;width:34px;height:34px;display:grid;place-items:center}.currency-toggle svg{width:16px}.max-button{font-size:14px;color:var(--purple);background:#b8a3fa14;border-radius:12px;padding:7px 10px}.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;margin:15px -5px 0}.keypad button{height:58px;font-size:29px;font-weight:400;border-radius:20px}.keypad button:active{background:#262626}.available{display:flex;justify-content:space-between;align-items:center;margin-top:14px;gap:8px}.available .small{font-size:13px}.video-state{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60dvh;text-align:center}.video-state video{width:196px;height:188px;object-fit:contain;margin-bottom:20px}.video-state h1{font-size:30px;font-weight:600;margin:14px 0}.video-state p{max-width:310px;line-height:1.6;color:#aaa;overflow-wrap:anywhere}.success-check{display:grid;place-items:center;background:#1fc273;color:#111;border-radius:100%;width:82px;height:82px;animation:check-pop .5s var(--ease)}.success-check svg{width:43px;height:43px;stroke-width:3}.quick-sell-title{font-size:15px;color:#999;margin:20px 0 8px}.sell-coin{display:flex;align-items:center;gap:12px;width:100%;padding:15px 0}.sell-coin .stack{text-align:left}.sell-value{margin-left:auto;text-align:right}.pill{border-radius:24px;padding:10px 17px;background:#28282a;font-size:14px}.pill.active{background:var(--purple);color:#171320}.quick-actions{display:flex;gap:10px;margin:15px 0}.qr-box{width:256px;max-width:90%;padding:18px;border-radius:20px;background:white;margin:30px auto 22px;line-height:0}.qr-box svg{width:100%;height:auto;stroke:none}.qr-address{font-family:Inter,sans-serif;color:#999;overflow-wrap:anywhere;line-height:1.6;font-size:14px;max-width:280px;margin:0 auto 28px}.profile-top{text-align:center;padding:22px 0}.profile-top .avatar{width:80px;height:80px;font-size:43px;margin:0 auto 18px}.profile-top h1{font-size:27px;margin-bottom:9px}.account-row{display:flex;align-items:center;gap:13px;padding:17px 12px;margin:5px 0;width:100%;border-radius:15px;text-align:left}.account-row.selected{background:#242424}.account-row .avatar{width:42px;height:42px;font-size:15px;font-weight:600}.profile-art{display:block;width:100%;max-width:350px;margin:25px auto}.menu-row{display:flex;align-items:center;gap:12px;width:100%;padding:18px 2px;text-align:left;font-size:17px}.menu-row svg:last-child{margin-left:auto;color:#777}.detail-top{display:flex;align-items:center;gap:12px;padding-bottom:24px}.detail-top h1{font-size:26px;letter-spacing:-.6px}.detail-top .coin{width:38px;height:38px}.follow{margin-left:auto;background:#262626;border-radius:20px;font-size:15px;padding:10px 15px}.detail-price{font-size:38px;font-weight:600;letter-spacing:-1px;margin:28px 0 8px}.chart{width:calc(100% + 40px);height:175px;margin:20px -20px 3px;stroke:var(--green);stroke-width:2;fill:none}.chart path{stroke-dasharray:1000;stroke-dashoffset:0;animation:chart-in .6s var(--ease)}.ranges{display:flex;justify-content:space-between;padding:10px 0 20px}.range{color:#888;border-radius:15px;font-size:13px;padding:8px 10px}.range.active{background:#292929;color:#fff}.chat-tile{border-radius:16px;padding:19px;background:#222;display:flex;justify-content:space-between;margin:22px 0}.chat-tile button{background:#393939;padding:11px 16px;border-radius:23px;font-size:16px}.position-card{padding:20px;background:linear-gradient(135deg,#25232e,#1c1c20);border-radius:20px;margin-top:18px}.position-card h3{font-size:22px;font-weight:550}.position-values{display:grid;grid-template-columns:1fr 1fr;gap:23px;margin-top:23px}.position-values p{font-size:14px;color:#aaa;margin-bottom:8px}.position-values strong{font-size:19px;font-weight:500}.addcash-image{width:100%;display:block}.addcash-hotspot{position:absolute;inset:0 0 67%;border-radius:25px}.addcash-wrap{position:relative}.login{min-height:100dvh;display:flex;flex-direction:column;justify-content:center;padding:30px}.login h1{font-size:32px;margin-bottom:12px}.login .brand{width:80px;height:80px;object-fit:cover;margin:0 auto 35px}.login form{margin-top:28px}.login input{margin-bottom:15px}.login .primary{margin-top:15px}.modal-alert{min-height:0;padding:25px;text-align:center}.modal-alert h2{font-size:20px;margin:8px 0 15px}.modal-alert p{color:#aaa;line-height:1.55;margin-bottom:25px}.action-row{display:flex;gap:12px}.action-row button{flex:1}.legal-note{font-size:12px;color:#777;line-height:1.6;margin-top:30px}.sweep-exit{animation:fade-in .2s reverse forwards}.sell-video{width:136px;height:40px;display:block;margin:auto}.back-label{color:var(--purple)}@keyframes check-pop{0%{transform:scale(.3);opacity:0}65%{transform:scale(1.1)}100%{transform:scale(1);opacity:1}}@keyframes chart-in{from{stroke-dashoffset:1000}to{stroke-dashoffset:0}}@media(max-height:730px){.keypad button{height:44px}.amount-display{padding:4px 0}.amount-input{font-size:46px}.recipient-pill{margin:0 0 8px}.sheet.full{height:96dvh}.sheet-header{min-height:58px}.sheet-footer{padding-top:12px}}
/* WalletView constants recovered from the ARM64 executable. */
.topbar{padding-left:16px;padding-right:16px}.balance-block{padding:8px 0}.change{margin-top:4px}.home-actions{margin:0 0 8px}.cash-tile{padding:10px 16px;border-radius:22px;margin-bottom:8px}.cash-tile .cash-amount{margin-top:4px}.section-head{margin:12px 0 8px}.section-head .icon-button{width:26px;height:26px}.section-head:has(+button) h2{font-size:20px}.token-row{padding:12px 0}.token-sub{line-height:1.35}.token-value{line-height:1.35}.bottom-nav img{object-fit:contain;object-position:bottom}.bottom-nav .asset-hotspots{display:flex;align-items:flex-end}.asset-hotspots{isolation:isolate}.asset-hotspots img{pointer-events:none}.sheet-body{line-height:1.4}.primary svg,.secondary svg{vertical-align:middle;margin-right:5px}
.primary:has(video){background:#111;opacity:1;padding:7px 0}.token-row .grow{min-width:0}.token-name{white-space:nowrap}.token-value{flex-shrink:0}@media(max-width:360px){.spark{width:32px}.token-row{gap:9px}.token-name,.token-value{font-size:16px}.token-sub{font-size:12px}.token-value small{font-size:12px}.topbar .account-label{font-size:18px}}
body,.sheet,.detail-screen{scrollbar-width:none}body::-webkit-scrollbar,.sheet::-webkit-scrollbar,.detail-screen::-webkit-scrollbar{display:none}
.balance-edit{font:inherit;letter-spacing:inherit;padding:0;color:inherit}.form-grid select{width:100%;min-height:54px;border:1px solid #333;border-radius:13px;background:#242424;color:#fff;padding:14px;font:inherit;appearance:auto}.trade-screen h1{font-size:28px;margin:18px 0 28px}.trade-quote{color:#aaa;font-size:14px;min-height:20px}.trade-reverse{justify-self:center;padding:9px}.trade-reverse svg{width:22px;height:22px}.contact-avatar{width:40px;height:40px;font-size:17px;flex-shrink:0}.contact-address{overflow-wrap:anywhere;font-weight:400}.tx-party{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px}.tx-value{text-align:right;font-size:14px}.tx-value small{display:block;margin-top:4px}.menu-row .grow{min-width:0}.chart{touch-action:pan-y;cursor:crosshair}.chart .chart-cursor{stroke:#777;stroke-width:1;stroke-dasharray:3 3}.chart .chart-dot{fill:var(--green);stroke:#111;stroke-width:2}.chart .chart-line{animation:chart-in .6s var(--ease)}.chart text{stroke:none;fill:#aaa;font-family:inherit;font-size:11px}.chart:focus-visible{outline:1px solid var(--purple);outline-offset:2px}.chart .chart-cursor,.chart .chart-dot{pointer-events:none}

/* Normalize the draw animation to the entire path, including dense histories. */
.chart .chart-line{stroke-dasharray:1;stroke-dashoffset:0;animation:chart-draw .6s var(--ease)}@keyframes chart-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}

/* SwiftUI-style bottom sheets stay attached to the wallet's bottom edge at every width. */
.sheet{display:flex;flex-direction:column;overflow:hidden}.sheet-body{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}.sheet-body::-webkit-scrollbar{display:none}.sheet-footer{flex-shrink:0}.sheet-header,.sheet-handle{touch-action:none;user-select:none}.sheet-handle{position:relative;cursor:grab}.sheet-handle::before{content:"";position:absolute;inset:-9px -24px}.sheet.dragging{animation:none!important;transition:none!important;cursor:grabbing}
