:root{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Segoe UI,sans-serif;color:#191a26;background:#f0f0f4;font-synthesis:none;font-weight:400;--primary: #4935f5;--tint: #f0edff;--text: #191a26;--muted: #6c6d80;--line: #ebebf1;--secondary: #f5f5f8;--up: #11845c;--down: #cf3654;line-height:1.5;font-variant-numeric:tabular-nums}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button{color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b7aaff;outline-offset:3px}h1,h2,h3,p,figure{margin:0}h1{font-size:27px;letter-spacing:-.8px;line-height:1.35}h2{font-size:18px;letter-spacing:-.3px}h3{font-size:15px}p{margin:10px 0;overflow-wrap:anywhere}small{font-size:12px}svg{flex-shrink:0}.app{max-width:430px;margin:auto;min-height:100dvh;background:#f0f0f4;position:relative;box-shadow:0 0 80px #2420390b}main{padding:16px 20px calc(108px + env(safe-area-inset-bottom));min-height:calc(100dvh - 64px)}.desktop-brand{padding:25px 24px 8px;display:flex;align-items:center;justify-content:space-between}.desktop-brand>span{font-size:25px;font-weight:800;letter-spacing:-1.4px}.brand-dot{color:var(--primary)}.desktop-brand small{font-size:8px;letter-spacing:1.3px;color:var(--muted)}.home-header,.row{display:flex;align-items:center;justify-content:space-between;gap:12px}.home-header{margin-bottom:24px}.tight{gap:0}.wallet-pill{border:1px solid var(--line);background:#fff;min-height:44px;border-radius:30px;display:inline-flex;align-items:center;padding:7px 12px;gap:8px;font-size:12px;font-weight:600;max-width:100%;overflow-wrap:anywhere}.avatar{width:24px;height:24px;border-radius:50%;background:conic-gradient(from 60deg,#d7afff,#4935f5,#a7edc3,#d7afff);border:3px solid #f5f0ff}.connection-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--up);margin-right:3px}.icon-button{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;border-radius:14px;flex-shrink:0}.balance-card{padding:6px 6px 12px}.balance-card>.row>span{color:var(--muted);font-size:13px}.balance-card .total{font-size:44px;line-height:1.15;font-weight:650;letter-spacing:-2px;margin:4px 0 10px;overflow-wrap:anywhere}.balance-meta{font-size:11px}.balance-card .balance-meta>span{font-size:11px}.balance-card small{color:var(--muted);font-size:10px}.text-button{background:none;border:0;color:var(--primary);font-size:12px;min-height:44px;padding:7px 0;display:inline-flex;gap:4px;align-items:center;justify-content:center}.quick-actions{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:16px -3px 26px}.quick-actions a,.quick-actions button{border:0;background:none;display:flex;align-items:center;flex-direction:column;gap:9px;padding:0;font-size:12px;font-weight:500;min-height:75px}.quick-actions span{width:50px;height:50px;border-radius:18px;background:#fff;border:1px solid #eeedf4;display:flex;align-items:center;justify-content:center;box-shadow:0 3px 10px #24203904}.quick-actions>:last-child span{background:var(--primary);color:#fff;border-color:var(--primary);box-shadow:0 5px 16px #4935f528}.guide-banner{border-radius:24px;background:var(--tint);display:flex;align-items:center;justify-content:space-between;padding:22px 19px;min-height:137px;position:relative;overflow:hidden}.eyebrow{font-size:8px;font-weight:700;letter-spacing:1.5px;color:var(--primary)}.guide-banner h2{font-size:18px;margin-top:9px}.guide-banner p{font-size:12px;color:var(--primary);margin:9px 0 0}.guide-banner p span{margin-left:12px}.banner-art{transform:rotate(12deg);color:var(--primary);position:relative;background:#fff9;border-radius:22px;padding:14px;box-shadow:4px 7px #d9d3ff;flex-shrink:0;margin-left:6px}.banner-art i{position:absolute;top:-10px;right:-5px;font-size:24px;color:#a796fc}.section{margin-top:26px}.filters{margin:12px 0}.chip,.tag{display:inline-flex;align-items:center;gap:6px;border-radius:10px;background:var(--secondary);border:0;font-size:11px;color:var(--muted);padding:5px 9px}.chip{min-height:44px}.chip.active{background:var(--tint);color:var(--primary)}.eth-dot{background:#fff;border-radius:50%;height:22px;width:22px;display:inline-flex;align-items:center;justify-content:center;font-size:18px}.card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:22px;margin:16px 0}.asset-card{padding:2px 18px;margin-top:4px}.asset-row{display:flex;gap:12px;align-items:center;padding:17px 0;min-height:80px;border-bottom:1px solid var(--line)}.asset-row:last-child{border-bottom:none}.asset-row strong{font-size:14px;font-weight:600}.asset-row small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.asset-row .up,.up{color:var(--up)!important}.asset-row .down,.down{color:var(--down)!important}.coin-icon{width:38px;height:38px;border-radius:50%;object-fit:cover;flex-shrink:0}.grow{flex:1;min-width:0}.align-right{text-align:right;max-width:50%;overflow-wrap:anywhere}.footnote{display:flex;justify-content:center;align-items:center;gap:4px;font-size:10px;color:#8f8f9f;margin-top:25px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translate(-50%);max-width:430px;width:100%;height:calc(76px + env(safe-area-inset-bottom));padding:8px 15px calc(8px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(4,1fr);background:#ffffffed;backdrop-filter:blur(16px);border-top:1px solid var(--line);z-index:30}.bottom-nav a{min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#9392a4;font-size:11px}.bottom-nav a.active{color:var(--primary);font-weight:650}.bottom-nav a.active svg{background:var(--tint);box-shadow:0 0 0 6px var(--tint);border-radius:5px}.page-header{display:flex;align-items:center;justify-content:space-between;margin:0 -8px 22px}.page-header h1{font-size:18px}.header-spacer{width:44px}.muted{color:var(--muted)}.small{font-size:12px}.center{text-align:center}.center .feature-icon{margin:6px auto 16px}.center h2{margin:10px 0}.state{min-height:125px;padding:24px 8px;color:var(--muted);font-size:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:9px}.state h3{color:var(--text)}.state p{margin:0 0 8px}.notice{background:var(--tint);color:#635797;border-radius:14px;padding:14px;font-size:12px;line-height:1.7;margin:16px 0}.notice.danger{background:#fff0f3;color:var(--down)}.danger-text{color:var(--down)}.button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;border:0;border-radius:15px;font-size:14px;font-weight:600;gap:8px;padding:12px 18px;text-align:center}.button.primary{background:var(--primary);color:#fff;box-shadow:0 5px 15px #4935f51a}.button.secondary{background:var(--tint);color:var(--primary)}.button.full{width:100%;margin-top:10px}.external{color:var(--primary);font-size:13px;display:inline-flex;align-items:center;min-height:44px;margin-top:8px}.feature-icon{width:54px;height:54px;border-radius:18px;background:var(--tint);color:var(--primary);display:flex;align-items:center;justify-content:center;flex-shrink:0}.chart{width:100%;margin:20px 0 14px}.chart svg{width:100%;height:140px}.chart.compact svg{height:78px}.chart figcaption{display:flex;justify-content:space-between;color:var(--muted);font-size:10px}.detail-price{font-size:36px;font-weight:650;letter-spacing:-1px;margin-top:16px}.segmented{display:flex;background:#eeedf3;border-radius:14px;padding:4px;gap:3px;margin:18px 0}.segmented button{border:0;background:none;min-height:44px;flex:1;color:var(--muted);border-radius:11px;font-size:13px}.segmented button.active{background:#fff;color:var(--text);font-weight:600;box-shadow:0 2px 5px #191a2606}.top-title{margin:6px 0 22px}.top-title h1{margin:8px 0}.top-title p{font-size:13px}.table-head{font-size:10px;color:var(--muted);padding:0 6px;margin:18px 0 10px}.tabs{display:flex;gap:20px;margin:10px 0}.tabs button{border:0;background:none;min-height:44px;color:var(--muted);font-size:13px;padding:0 8px}.tabs button.active{color:var(--primary);border-bottom:2px solid var(--primary);font-weight:600}.news-card{display:block;padding:18px 0;border-bottom:1px solid var(--line)}.news-card h3{font-size:14px;line-height:1.7}.news-card p{color:var(--muted);font-size:10px}.disclaimer{text-align:center;padding:16px;font-size:11px;color:var(--muted);background:var(--secondary);border-radius:12px}.stock-placeholder{padding-top:35px;padding-bottom:35px}.rank{font-size:10px;color:#aaa}label{display:block;font-size:12px;font-weight:500;color:var(--muted);margin:16px 0 8px}input:not([type=checkbox]),select,textarea{display:block;width:100%;min-width:0;min-height:48px;border:1px solid var(--line);background:var(--secondary);border-radius:12px;padding:12px;color:var(--text);outline:none;font-size:14px;margin-top:8px}select{padding-right:24px;text-overflow:ellipsis}input::placeholder{color:#a5a4b1}label.checkbox{display:flex;align-items:flex-start;gap:10px;min-height:44px;line-height:1.7}input[type=checkbox]{width:20px;height:20px;flex-shrink:0;accent-color:var(--primary)}.token-input{background:var(--secondary);border-radius:16px;padding:14px}.token-input>div{display:flex;align-items:center;gap:10px}.token-input input{background:none;border:0;padding:8px 0;font-size:30px;font-weight:600;letter-spacing:-.5px;margin:0}.token-input strong{font-size:17px;color:var(--text)}.confirm-list{margin:14px 0}.confirm-list>div{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.confirm-list dt{color:var(--muted);flex-shrink:0;max-width:40%}.confirm-list dd{margin:0;text-align:right;overflow-wrap:anywhere;min-width:0}.confirm-list>div:last-child{border:0}.address{word-break:break-all;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,monospace;font-size:12px}.qr{display:block;max-width:100%;width:250px;margin:20px auto;border-radius:20px}.camera{display:block;width:100%;max-height:300px;background:var(--secondary);border-radius:16px}.sticky-action{position:sticky;bottom:calc(84px + env(safe-area-inset-bottom));background:#f0f0f4f5;padding:10px 0;z-index:10}.overlay{position:fixed;inset:0;background:#13102570;z-index:100;display:flex;align-items:flex-end;justify-content:center;backdrop-filter:blur(3px)}.sheet{width:100%;max-width:430px;max-height:90dvh;overflow:auto;background:#fff;border-radius:28px 28px 0 0;padding:12px 24px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -10px 70px #191a2620;animation:slide-in .2s ease-out}.handle{width:34px;height:4px;background:#dedde6;border-radius:4px;margin:0 auto 12px}.sheet header{margin-bottom:12px}.toast{position:fixed;bottom:100px;left:50%;transform:translate(-50%);width:max-content;max-width:calc(100% - 40px);background:#191a26ed;color:#fff;border-radius:14px;padding:13px 18px;z-index:200;font-size:13px;box-shadow:0 8px 25px #191a2630}.spinner{width:21px;height:21px;border:2px solid var(--tint);border-top-color:var(--primary);border-radius:50%;animation:spin 1s linear infinite}.intro{padding:12px 0 5px}.intro h1{margin-top:12px}.lesson-number{color:#dfdce9;font-size:32px;font-weight:700}.lesson h2{margin:18px 0 8px}.lesson p{font-size:13px;line-height:1.9}.referral-hero{text-align:center;background:var(--tint);border-radius:24px;padding:25px 16px}.referral-hero .feature-icon{margin:0 auto 14px;background:#fff}.referral-hero h1{font-size:25px}.referral-hero p{font-size:12px;color:#73649d}.invite-code{font-size:32px;letter-spacing:4px;color:var(--primary);font-weight:650;padding:10px 0}.rules{padding-left:20px;color:var(--muted);font-size:13px;line-height:1.85}.rules li{margin:9px 0}.steps{display:flex;justify-content:space-between;gap:3px;margin:20px 0}.steps button{display:flex;align-items:center;gap:6px;background:none;border:0;font-size:11px;min-height:44px;padding:4px;color:var(--muted)}.steps span{width:23px;height:23px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#e9e8ef}.steps .active{color:var(--primary)}.steps .active span{background:var(--primary);color:#fff}.form-fieldset{min-width:0}.form-fieldset legend{padding:0}.choice-grid,.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.choice,.strategy-choice{width:100%;text-align:left;min-height:70px;background:var(--secondary);border:1px solid transparent;border-radius:15px;padding:14px;margin-top:12px}.choice strong,.choice small{display:block}.choice strong{font-size:15px}.choice small{font-size:10px;margin-top:7px;color:var(--muted)}.selected{background:var(--tint)!important;border-color:#bfb4ff!important;color:var(--primary)}.disabled-choice{display:flex;gap:6px;align-items:center;justify-content:space-between;font-size:12px;color:#9998a7;margin:15px 0;padding:12px 0}.disabled-choice .tag{font-size:9px}.strategy-choice strong{font-size:14px}.strategy-choice p{font-size:12px;line-height:1.8;color:var(--muted);margin:8px 0 0}.swap-divider{border-radius:50%;background:var(--tint);width:34px;height:34px;display:flex;justify-content:center;align-items:center;margin:12px auto;color:var(--primary)}.transaction-row{display:flex;align-items:center;gap:10px;padding:17px}.transaction-row strong{font-size:13px}.transaction-row small{display:block;font-size:10px;color:var(--muted);margin-top:6px}.result-card{padding-top:32px}.result-symbol{width:80px;height:80px;border-radius:28px;background:var(--tint);color:var(--primary);margin:0 auto 24px;display:flex;align-items:center;justify-content:center}.result-symbol.success{background:#e4f6ed;color:var(--up)}.result-symbol.failed{background:#fceaf0;color:var(--down)}.stages{text-align:left;font-size:12px;line-height:2.3;color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.orderbook{display:grid;grid-template-columns:1fr 1fr;gap:16px;font-size:11px}.orderbook .book-line{display:flex;justify-content:space-between;padding:4px 0;gap:7px}.orderbook header{font-size:10px;color:var(--muted);margin-bottom:8px}.perps-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}.perps-summary small{display:block;color:var(--muted);font-size:10px}.perps-summary strong{font-size:17px}.direction{display:flex;gap:10px}.direction button{flex:1;min-height:48px;background:var(--secondary);border:1px solid transparent;border-radius:12px;font-weight:600;font-size:13px}.direction .long.active{background:#e8f6ef;border-color:var(--up);color:var(--up)}.direction .short.active{background:#fff0f3;border-color:var(--down);color:var(--down)}.risk-note{font-size:11px;color:var(--muted);line-height:1.8}.leverage-options{display:flex;gap:8px}.leverage-options button{min-height:44px;flex:1;border:1px solid var(--line);background:var(--secondary);border-radius:10px}.leverage-options button.active{color:var(--primary);background:var(--tint);border-color:#bfb4ff}@keyframes spin{to{transform:rotate(360deg)}}@keyframes slide-in{0%{transform:translateY(30px);opacity:.4}to{transform:translateY(0);opacity:1}}@media(max-width:360px){main{padding-left:14px;padding-right:14px}.card{padding:18px}.asset-card{padding:2px 12px}.quick-actions{gap:3px}.quick-actions span{width:45px;height:45px}.guide-banner{padding:18px 14px}.guide-banner h2{font-size:16px}.banner-art{padding:10px}.balance-card .total{font-size:39px}.invite-code{font-size:26px;letter-spacing:3px}.desktop-brand{padding-left:18px;padding-right:18px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(min-width:700px){body{padding:24px 0}.app{border:1px solid #e6e4ed;border-radius:30px 30px 0 0}.desktop-brand{padding-top:20px}}
