@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;450;500;550;600;650;700;750;800&display=swap');
:root{color-scheme:dark;--bg:#080808;--panel:#121212;--panel2:#191919;--border:#2b2b2b;--text:#f1f1f1;--muted:#9a9a9a;--accent:#e9d9bd;--green:#74d8ad;--red:#ee8c99}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:13px 'Manrope',system-ui,sans-serif;line-height:1.5}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.4}button{border:0;background:none}a{color:inherit;text-decoration:none}button,input,select{outline:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}svg.icon{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:26px;letter-spacing:-.9px;font-weight:750}h2{font-size:17px;letter-spacing:-.4px;font-weight:700}h3{font-size:14px;font-weight:650}.muted{color:var(--muted)}.positive{color:var(--green)}.negative{color:var(--red)}.accent{color:var(--accent)}.mono{font-variant-numeric:tabular-nums}.topbar{height:78px;border-bottom:1px solid #1c1c1c;background:#0c0c0c;position:relative;z-index:20}.top-inner{height:100%;max-width:1392px;margin:auto;padding:0 40px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:8px;font-size:23px;font-weight:800;letter-spacing:-1.1px;white-space:nowrap}.brand svg{width:27px;height:27px;fill:var(--accent)}.brand-dot{color:var(--accent)}.exchange-picker{position:relative}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--border);background:var(--panel2);padding:10px 14px;border-radius:8px;font-size:12px;font-weight:600;transition:background .15s,border-color .15s;white-space:nowrap}.button:hover{background:#242424;border-color:#3e3e3e}.button.primary{background:var(--accent);color:#151515;border-color:var(--accent)}.button.primary:hover{background:#e9d9bd}.button.ghost{background:transparent}.button.small{padding:7px 10px;font-size:11px}.exchange-button{gap:10px;padding:9px 11px}.exchange-symbol{color:var(--accent);font-size:20px;line-height:1}.chevron{color:var(--muted);margin-left:6px}nav{display:flex;align-items:stretch;height:100%;gap:23px;flex:1;white-space:nowrap}.nav-item{position:relative;font-size:12px;padding:0;color:#898989;font-weight:550}.nav-item:hover{color:#e9d9bd}.nav-item.active{color:var(--text);font-weight:700}.nav-item.active:after{content:'';height:2px;background:var(--accent);position:absolute;bottom:0;left:0;right:0}.nav-dot{display:inline-block;width:5px;height:5px;background:var(--accent);border-radius:50%;vertical-align:middle;margin-left:4px}.top-actions{display:flex;gap:12px;align-items:center;margin-left:auto}.icon-button{display:grid;place-items:center;width:33px;height:33px;border-radius:8px;color:#969696}.icon-button:hover{background:var(--panel2);color:var(--text)}.notification-button{position:relative}.notification-button:after{content:'';width:5px;height:5px;border:2px solid var(--bg);border-radius:50%;background:var(--accent);position:absolute;top:4px;right:6px}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#e9d9bd,#5d5d5d);color:#1a1a1a;font-weight:800;border:3px solid #1b1b1b;box-shadow:0 0 0 1px #6b6b6b}.avatar.small{width:34px;height:34px;flex-shrink:0}.profile-wrap{position:relative}.dropdown{position:absolute;top:calc(100% + 12px);left:0;width:220px;border:1px solid #2d2d2d;background:#151515;box-shadow:0 18px 50px #0009;border-radius:12px;padding:7px;z-index:60}.dropdown button{display:flex;align-items:center;gap:11px;width:100%;text-align:left;padding:11px;border-radius:7px;font-size:12px}.dropdown button:hover{background:#222222}.dropdown .selected{background:#222222;color:var(--accent)}.dropdown button svg{width:16px;height:16px}.profile-menu{left:auto;right:0;width:264px}.profile-info{padding:10px 7px 18px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--border);margin-bottom:7px}.profile-info span:not(.avatar){display:block;font-size:10px;color:var(--muted);margin-top:3px}.profile-info strong{font-size:12px}.menu-count{margin-left:auto;color:var(--muted)}.dropdown-note{padding:12px 11px 6px;color:#6d6d6d;font-size:10px;border-top:1px solid var(--border);margin-top:8px}#app{max-width:1392px;margin:0 auto;padding:34px 40px 45px;min-height:calc(100vh - 133px)}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:29px;gap:15px}.eyebrow{font-size:10px;letter-spacing:1.6px;color:#7a7a7a;margin-bottom:7px;font-weight:650}.heading-subtitle{color:var(--muted);margin-top:7px;font-size:12px}.heading-actions{display:flex;align-items:center;gap:14px}.demo-chip{font-size:10px;color:#9d9d9d;background:#171717;border:1px solid #262626;padding:5px 9px;border-radius:5px;white-space:nowrap}.wallet-layout{display:grid;grid-template-columns:264px minmax(0,1fr);gap:32px}.sidebar{display:flex;flex-direction:column;gap:22px}.balance-box{padding:0 0 22px;border-bottom:1px solid var(--border)}.label-line{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px}.balance{font-size:36px;letter-spacing:-1.7px;line-height:1.3;font-weight:750;margin-top:11px;white-space:nowrap}.balance small{font-size:11px;color:var(--muted);letter-spacing:0;font-weight:500;margin-left:5px}.balance-change{margin-top:9px;display:flex;gap:8px;align-items:center;font-size:11px}.balance-change span:first-child{color:var(--green);background:#1e1e1e;padding:3px 6px;border-radius:4px}.mini-chart{width:100%;height:73px;display:block;margin:13px 0 7px}.wide{width:100%}.side-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.side-heading h2{font-size:12px;letter-spacing:0}.side-heading span{font-size:10px;color:var(--muted)}.exchange-row{display:flex;align-items:center;gap:9px;margin-top:13px}.exchange-logo{width:25px;height:25px;background:#1c1c1c;color:#f0c147;border-radius:7px;display:grid;place-items:center;font-size:17px;font-weight:750;flex-shrink:0}.exchange-logo.bybit{background:#222222;color:#f1d9a5;font-size:10px}.exchange-logo.okx{background:#242424;color:#eee;font-size:13px}.exchange-name{font-size:11px}.exchange-amount{margin-left:auto;text-align:right;font-size:11px;font-weight:650}.exchange-amount small{display:block;font-size:9px;color:var(--muted);font-weight:500}.allocation{display:flex;gap:4px;margin-top:17px;height:4px}.allocation i{border-radius:3px}.card{background:var(--panel);border:1px solid var(--border);border-radius:11px}.assets-card{padding:16px 14px}.asset-row{display:flex;gap:9px;align-items:center;padding:12px 0;border-bottom:1px solid #222222}.asset-row:last-of-type{border:0}.coin{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:var(--coin,#777);color:white;font-size:15px;font-weight:700;flex-shrink:0}.coin.small{width:25px;height:25px;font-size:12px}.asset-name{font-weight:650;font-size:11px}.asset-name small{display:block;font-size:9px;color:var(--muted);font-weight:400;margin-top:2px}.asset-value{margin-left:auto;text-align:right;font-size:11px;font-weight:600}.asset-value small{display:block;color:var(--muted);font-size:9px;font-weight:400;margin-top:2px}.text-button{color:var(--accent);font-size:11px;padding:0;display:flex;align-items:center;gap:6px}.text-button:hover{color:#efefef}.text-button svg{width:13px;height:13px}.asset-more{padding-top:13px;margin-top:4px;border-top:1px solid var(--border);width:100%;justify-content:center}.guard-card{padding:16px;background:linear-gradient(130deg,#181818,#121212);border-color:#2d2d2d}.guard-card .icon{color:var(--accent);width:21px;height:21px}.guard-title{display:flex;gap:9px;align-items:center;font-size:12px;font-weight:650}.guard-card p{font-size:10px;color:#8c8c8c;line-height:1.8;margin:10px 0 15px}.main-column{min-width:0}.metric-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:30px}.metric{padding:17px 19px}.metric-label{color:var(--muted);font-size:11px;display:flex;justify-content:space-between;align-items:center;gap:8px}.metric-label svg{width:15px;height:15px;color:#6c6c6c}.metric-value{font-size:23px;font-weight:650;margin-top:8px;letter-spacing:-.6px}.metric-value small{font-size:10px;color:var(--muted);font-weight:450;letter-spacing:0}.metric-note{font-size:10px;color:var(--muted);margin-top:6px}.metric-note .positive{margin-right:5px}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;gap:10px}.section-title{display:flex;align-items:center;gap:9px}.count{font-size:10px;display:inline-grid;place-items:center;min-width:21px;height:21px;border:1px solid #2d2d2d;border-radius:5px;background:#191919;color:var(--accent);font-weight:600}.section-tools{display:flex;gap:9px;align-items:center}.section-tools select{background:var(--panel);color:var(--muted);border:1px solid var(--border);border-radius:6px;padding:6px 8px;font-size:10px;max-width:125px}.position-list{display:flex;flex-direction:column;gap:10px}.position{padding:17px 19px;transition:border-color .15s}.position:hover{border-color:#393939}.position-top{display:flex;gap:10px;align-items:center;margin-bottom:20px}.symbol{font-size:13px;font-weight:750;letter-spacing:.1px}.pair{font-size:10px;color:#747474;font-weight:450;margin-left:3px}.badge{font-size:9px;border-radius:4px;padding:3px 6px;font-weight:650;background:#183025;color:#86ddb3;white-space:nowrap}.badge.short{background:#321f28;color:#e397a9}.badge.neutral{background:#222222;color:#b1b1b1}.position-exchange{font-size:10px;color:var(--muted)}.position-menu{margin-left:auto;display:flex;gap:12px;align-items:center}.position-data{display:grid;grid-template-columns:1.05fr 1fr 1fr 1fr 1fr;gap:12px}.datum span{font-size:9px;color:var(--muted);display:block;margin-bottom:5px}.datum strong{font-size:12px;font-weight:550;white-space:nowrap;font-variant-numeric:tabular-nums}.datum.right{text-align:right}.datum strong.positive,.datum strong.negative{font-weight:650}.datum small{display:block;font-size:9px;margin-top:3px}.orders-section{margin-top:29px}.table-shell{border:1px solid var(--border);border-radius:10px;overflow:auto;background:var(--panel)}table{border-collapse:collapse;width:100%;text-align:left;font-size:11px;white-space:nowrap}th{font-weight:450;color:var(--muted);font-size:9px;padding:13px 17px;background:#141414}td{padding:15px 17px;border-top:1px solid var(--border);font-variant-numeric:tabular-nums}td:last-child,th:last-child{text-align:right}.table-symbol{display:flex;align-items:center;gap:8px;font-weight:650}.table-symbol small{display:block;color:var(--muted);font-size:9px;font-weight:450;margin-top:2px}.table-foot{display:flex;align-items:center;justify-content:space-between;color:#717171;font-size:10px;padding-top:12px}.quiet-note{display:flex;align-items:center;gap:6px}.quiet-note svg{width:12px;height:12px}.footer{max-width:1392px;margin:auto;padding:17px 40px;border-top:1px solid #1a1a1a;color:#626262;font-size:9px;display:flex;align-items:center;gap:24px}.footer>span{display:flex;align-items:center;gap:6px}.footer>span:last-child{margin-left:auto;font-size:9px;letter-spacing:1.5px;color:#7a7a7a}.footer b{font-weight:400;color:#4c4c4c}.status-dot{width:5px;height:5px;background:#e9d9bd;border-radius:50%;display:inline-block}.footer-divider{margin:0 8px}.alerts-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px}.alert-banner{display:flex;align-items:center;gap:15px;padding:19px 22px;margin-bottom:26px;background:linear-gradient(110deg,#1c1c1c,#131313);border-color:#313131}.shield-tile{width:43px;height:43px;border-radius:12px;background:#2a2a2a;display:grid;place-items:center;color:var(--accent);flex-shrink:0}.shield-tile svg{width:23px;height:23px}.alert-banner p{font-size:11px;color:#999999;margin-top:4px}.alert-banner .demo-chip{margin-left:auto}.alert-rules{display:flex;flex-direction:column;gap:12px}.rule{padding:19px 20px;display:flex;gap:15px;align-items:flex-start}.rule-icon{width:36px;height:36px;display:grid;place-items:center;background:#1f1f1f;color:#e9d9bd;border-radius:9px;flex-shrink:0}.rule-content{flex:1;min-width:0}.rule-description{font-size:11px;color:var(--muted);margin:5px 0 12px}.rule-bottom{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.rule-bottom span{font-size:9px;color:#939393;background:#1a1a1a;padding:3px 7px;border-radius:4px}.rule-actions{display:flex;align-items:center;gap:11px}.switch{width:33px;height:19px;background:#333333;border-radius:12px;padding:3px;position:relative;flex-shrink:0;transition:background .2s}.switch:after{content:'';display:block;width:13px;height:13px;border-radius:50%;background:#959595;transition:transform .2s}.switch[aria-checked=true]{background:#e9d9bd}.switch[aria-checked=true]:after{transform:translateX(14px);background:#efefef}.rule.disabled{opacity:.55}.rule .icon-button{height:22px;width:22px}.rule .icon-button svg{width:14px;height:14px}.alert-side{display:flex;flex-direction:column;gap:17px}.settings-card{padding:20px}.settings-card h3{display:flex;align-items:center;gap:8px}.settings-card h3 svg{width:16px;height:16px;color:var(--accent)}.settings-card p{font-size:11px;color:var(--muted);line-height:1.8;margin:10px 0 17px}.time-range{display:flex;gap:9px;align-items:center;margin:15px 0}.time-range input{min-width:0;width:100%;padding:9px 7px;font-size:12px}.field{display:block;margin:17px 0;color:#aaaaaa;font-size:11px}.field input,.field select,input[type=time]{color:var(--text);background:#0e0e0e;border:1px solid #2d2d2d;border-radius:7px}.field input,.field select{display:block;width:100%;padding:11px 12px;margin-top:7px}.field input:disabled{color:#686868}.field small{display:block;color:var(--muted);margin-top:6px;font-size:10px}.channel{display:flex;align-items:center;gap:10px;padding:15px 0;border-bottom:1px solid var(--border)}.channel:last-child{border:0;padding-bottom:0}.channel>svg{color:#919191;width:19px;height:19px}.channel strong{font-size:11px;font-weight:600}.channel small{display:block;color:var(--muted);font-size:9px;margin-top:3px}.channel button{margin-left:auto;font-size:10px}.activity{margin-top:29px}.activity-row{display:flex;align-items:flex-start;gap:11px;padding:14px 0;border-bottom:1px solid var(--border)}.activity-dot{height:7px;width:7px;background:var(--accent);border-radius:50%;margin-top:5px}.activity-row p{font-size:11px}.activity-row small{font-size:10px;color:var(--muted)}.activity-row time{margin-left:auto;font-size:10px;color:var(--muted)}.empty{padding:45px 20px;text-align:center;color:var(--muted);border:1px dashed #2c2c2c;border-radius:10px;font-size:12px}.empty .icon{width:30px;height:30px;margin-bottom:12px;color:#6d6d6d}.empty p{margin-top:6px}.placeholder-page{max-width:640px;margin:90px auto;text-align:center}.placeholder-page h1{margin:20px 0 10px}.placeholder-page p{color:var(--muted);line-height:1.9;margin-bottom:24px}.placeholder-page .shield-tile{margin:auto;width:64px;height:64px}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#272727;border:1px solid #4a4a4a;color:#e9d9bd;border-radius:10px;padding:13px 22px;font-size:12px;z-index:100;box-shadow:0 12px 35px #0007;max-width:calc(100vw - 30px);width:max-content}.toast[hidden],[hidden]{display:none!important}dialog{background:#131313;border:1px solid #333333;color:var(--text);border-radius:15px;width:min(490px,calc(100vw - 28px));padding:26px;box-shadow:0 25px 100px #000b}dialog::backdrop{background:#050505b8;backdrop-filter:blur(5px)}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:7px}.modal-description{color:var(--muted);font-size:11px;line-height:1.8;margin-bottom:20px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;border-top:1px solid var(--border);padding-top:20px;margin-top:22px}.connection-row{display:flex;align-items:center;gap:12px;border:1px solid var(--border);border-radius:9px;padding:13px;margin:10px 0}.connection-row strong{font-size:12px}.connection-row small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.connection-row .badge{margin-left:auto}.notice{font-size:11px;color:#a2a2a2;background:#1c1c1c;border:1px solid #313131;padding:12px;border-radius:8px;line-height:1.8;margin:15px 0}.setting-row{display:flex;justify-content:space-between;gap:20px;padding:17px 0;border-bottom:1px solid var(--border);font-size:12px}.setting-row small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.chart-panel{padding:16px;margin-top:15px}.detail-chart{width:100%;height:170px}.detail-price{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);padding:8px 0}.modal-chart-label{font-size:10px;color:var(--accent)}.filter-pill{background:#1e1e1e;color:var(--accent);padding:4px 8px;border-radius:5px;font-size:10px}.notification-item{padding:14px 0;border-bottom:1px solid var(--border)}.notification-item strong{font-size:12px}.notification-item p{font-size:11px;color:var(--muted);margin-top:4px}.notification-item small{display:block;color:#767676;font-size:10px;margin-top:7px}
@media(min-width:1500px){#app{padding-top:42px}.top-inner{gap:32px}.wallet-layout{gap:40px}.position{padding:20px}.metric-row{margin-bottom:34px}}
@media(max-width:1180px){.top-inner{gap:20px;padding:0 24px}nav{gap:17px}.nav-item{font-size:11px}.top-actions{gap:6px}#app{padding:30px 24px}.wallet-layout{grid-template-columns:234px minmax(0,1fr);gap:24px}.metric{padding:15px}.metric-value{font-size:20px}.position-data{gap:6px}.position{padding:16px}.position-data strong{font-size:11px}.balance{font-size:32px}.brand{font-size:21px}.footer{padding:17px 24px}.alerts-layout{grid-template-columns:minmax(0,1fr) 280px}}
@media(max-width:960px){.topbar{height:118px}.top-inner{position:relative;height:65px;gap:18px}nav{position:absolute;top:65px;left:24px;right:24px;height:53px;justify-content:flex-start;gap:30px;overflow:auto}.nav-item{font-size:12px}.top-actions{gap:10px}.wallet-layout{grid-template-columns:210px minmax(0,1fr);gap:20px}.metric-row{gap:8px}.metric{padding:12px}.metric-value{font-size:17px}.metric-label{font-size:9px}.metric-label svg{display:none}.metric-note{font-size:9px}.position-data{grid-template-columns:repeat(3,1fr);gap:14px}.datum.right{text-align:left}.position-exchange{display:none}.alerts-layout{grid-template-columns:1fr}.alert-side{display:grid;grid-template-columns:1fr 1fr}.balance{font-size:28px}.position-top{gap:7px}.footer{font-size:8px}}
@media(max-width:650px){.top-inner{padding:0 18px;gap:16px}.brand{font-size:21px}.brand svg{width:23px}.exchange-button{font-size:10px;padding:7px 8px;gap:5px}.exchange-symbol{font-size:17px}.top-actions{gap:4px}.top-actions>#privacy-button{display:none}.top-actions .icon-button{width:28px}.avatar{width:30px;height:30px}nav{left:18px;right:18px;gap:24px}.nav-item{font-size:11px}#app{padding:25px 18px 32px}.page-heading{margin-bottom:25px;align-items:flex-start}h1{font-size:23px}.heading-subtitle{font-size:10px;max-width:240px}.heading-actions{gap:7px}.heading-actions>.button{padding:8px;font-size:10px}.heading-actions>.button svg{width:14px;height:14px}.heading-actions .demo-chip{display:none}.wallet-layout{grid-template-columns:1fr;gap:28px}.sidebar{display:grid;grid-template-columns:1fr 1fr;gap:17px}.balance-box{grid-column:1/-1;padding-bottom:18px}.balance{font-size:40px}.mini-chart{height:63px;margin-top:4px}.balance-box>.button{display:none}.sidebar>.exchanges-block{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);column-gap:9px}.exchanges-block .side-heading{grid-column:1/-1}.exchange-row{flex-wrap:wrap;margin:0;padding:10px;background:var(--panel);border-radius:8px;gap:6px}.exchange-logo{width:21px;height:21px}.exchange-name{font-size:10px}.exchange-amount{width:100%;text-align:left;margin:3px 0 0;font-size:12px}.exchange-amount small{display:none}.allocation{grid-column:1/-1;margin-top:12px}.assets-card{grid-column:1/-1;padding:15px}.asset-row{padding:10px 0}.asset-name,.asset-value{font-size:12px}.asset-name small,.asset-value small{font-size:10px}.sidebar>.guard-card{display:none}.metric-row{margin-bottom:27px;gap:7px}.metric{padding:12px 9px}.metric-label{font-size:8px}.metric-value{font-size:17px;letter-spacing:-.8px}.metric-value small{font-size:8px}.metric-note{font-size:8px}h2{font-size:15px}.position{padding:15px}.position-data{grid-template-columns:repeat(3,1fr);row-gap:17px}.datum span{font-size:8px}.datum strong{font-size:11px}.position-top{margin-bottom:18px}.position .text-button{font-size:10px}.symbol{font-size:12px}.badge{font-size:8px}.table-foot{font-size:9px}.footer{padding:16px 18px;gap:12px;flex-wrap:wrap}.footer>span:last-child{display:none}.alert-banner{padding:15px;gap:10px}.alert-banner h3{font-size:12px}.alert-banner p{font-size:10px}.alert-banner .demo-chip{display:none}.alert-side{grid-template-columns:1fr}.rule{padding:15px;gap:10px}.rule-icon{width:30px;height:30px}.rule h3{font-size:12px}.rule-description{font-size:10px}.rule-actions{gap:6px}.rule-actions .icon-button{width:17px}.rule-bottom span{font-size:8px}.heading-actions .button.primary{white-space:normal;max-width:110px}.activity-row time{font-size:9px;white-space:nowrap}.profile-menu{right:0}.section-tools .text-button{font-size:10px}dialog{padding:20px}.placeholder-page{margin:60px auto}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.brand-reserve{font-weight:650;letter-spacing:-1px}nav{scrollbar-width:none}nav::-webkit-scrollbar{display:none}
.brand .reserve-logo{width:38px;height:38px;object-fit:contain}.brand{gap:7px}.avatar img{width:25px;height:25px;object-fit:contain}.avatar{background:#181818;border-color:#232323}.reserve-logo{filter:none}.coverage-note{color:#858585;font-size:10px;line-height:1.8;margin:16px 0}.service-notice{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 24px}.live-chart{width:100%;height:150px;margin:15px 0}.balance-box .live-chart{height:65px}.chart-empty{min-height:63px;display:grid;place-items:center;font-size:10px;color:#696969;text-align:center}.form-error{color:#f09eac;font-size:11px;line-height:1.7;margin-top:15px}.push-test{margin-top:18px}.delivery-state{display:block;margin-top:4px}.activity-row>div{min-width:0}.activity-row small{overflow-wrap:anywhere}.empty h3{color:#b2b2b2}.empty p{max-width:400px;margin:8px auto 0;line-height:1.8}.button svg{flex-shrink:0}.live-chart{overflow:visible}.asset-value{max-width:140px;overflow-wrap:anywhere}.profile-menu .avatar img{width:27px;height:27px}
.spot-filter{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;color:var(--muted);font-size:10px}.spot-filter select{background:var(--panel);color:var(--text);border:1px solid var(--border);border-radius:6px;padding:6px 8px;font-size:10px}.position-filter-row{display:flex;justify-content:flex-end;margin:0 0 15px}@media(max-width:650px){.section-header:has(.spot-filter){flex-wrap:wrap}.section-header:has(.spot-filter) .section-tools{width:100%;justify-content:space-between}}
@media(max-width:650px){.brand .reserve-logo{width:31px;height:31px}.service-notice{align-items:flex-start;flex-direction:column;gap:12px}.heading-actions>.button:first-child{display:none}.metric-value{overflow-wrap:anywhere}.balance{font-size:34px}.coverage-note{font-size:9px}}
@media(max-width:650px){nav{gap:15px}.nav-item{font-size:10px}.top-inner{gap:12px}.brand{font-size:20px}.brand svg{width:21px}.section-header>.muted{max-width:104px;text-align:right;font-size:9px!important}}
@media(max-width:650px){.page-heading{flex-direction:column;align-items:stretch}.heading-actions{width:100%;flex-wrap:wrap}.heading-actions>.button:first-child{display:inline-flex}.heading-actions>.button{max-width:none;flex:1 1 auto}}
/* Position values use responsive columns so precise prices remain readable. */
.exchange-logo:has(img){background:transparent;color:inherit;overflow:hidden}
.exchange-logo img{display:block;width:100%;height:100%;object-fit:contain}
.position-exchange{display:inline-flex;align-items:center;gap:5px;min-width:0}
.position-exchange .exchange-logo{width:17px;height:17px;border-radius:3px}
.position-data{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.position-data .datum{min-width:0}
.position-data .datum strong{white-space:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.position-data .datum:first-child{grid-column:span 1}
.table-symbol small .exchange-logo,td>.exchange-logo{display:inline-grid;width:14px;height:14px;vertical-align:middle;margin-right:3px}
@media(max-width:1180px){.position-data{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.datum.right{text-align:left}}
@media(max-width:650px){.position-data{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.position-exchange{display:inline-flex;max-width:100%;font-size:9px}.position-top{flex-wrap:wrap}.position-menu{margin-left:auto}}
.position-actions{display:flex;align-items:center;gap:15px;margin-left:auto;flex-shrink:0}
.position-actions .position-menu{margin-left:0}
.spot-hide{color:var(--muted)}.spot-hide:hover{color:var(--accent)}
.assets-scroll{max-height:330px;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#494949 transparent;padding-right:6px;scrollbar-gutter:stable}
.assets-scroll:focus-visible{outline:1px solid var(--accent);outline-offset:4px;border-radius:5px}
.assets-scroll .asset-row{display:block}
.asset-main{display:flex;align-items:center;gap:8px;min-width:0}
.asset-main .asset-name{min-width:0;overflow-wrap:anywhere}
.asset-main .asset-value{min-width:0;max-width:115px;flex-shrink:0}
.asset-restore{font-size:9px;margin:8px 0 0 33px;gap:5px}
.asset-restore svg{width:12px;height:12px}
.hidden-spot-asset .asset-name{color:var(--accent)}
@media(max-width:650px){.position-actions{gap:12px}.assets-scroll{max-height:320px}.asset-main .asset-value{max-width:160px}}
.connection-hint{font-size:12px;line-height:1.6;color:var(--muted);margin:0 0 20px}
.credential-input{position:relative;display:block}.credential-input input{width:100%;padding-right:42px}.credential-eye{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:var(--muted);cursor:pointer;padding:5px}.credential-eye:hover{color:var(--text)}.credential-eye .icon{width:18px;height:18px}.connection-ip{display:block;color:var(--muted);font-size:11px;line-height:1.6;margin-bottom:12px}

.credential-input input{padding-right:112px}.credential-eye{right:74px}.credential-paste{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:var(--accent);font-size:10px;cursor:pointer;padding:8px 4px}
dialog:has(:is(#connection-form,#connection-details-form)){padding:22px}dialog:has(:is(#connection-form,#connection-details-form)) .modal-description{margin-bottom:12px}:is(#connection-form,#connection-details-form) .field{margin-bottom:12px}:is(#connection-form,#connection-details-form) .connection-hint{margin-bottom:12px;font-size:11px}:is(#connection-form,#connection-details-form) .modal-actions{padding-top:14px;margin-top:14px}

/* Compact account ledger. Labels and values stay together at every width. */
.token-coin{position:relative;overflow:hidden;isolation:isolate}
.token-coin img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block}
.token-coin img[data-token-icon="lit.png"]{transform:scale(1.35)}
.token-coin.has-token-icon{background:transparent}
.has-token-icon .coin-fallback{visibility:hidden}
.assets-card .coin.stable-coin{width:29px;height:29px;flex:0 0 29px;font-size:19px}
.assets-card .stable-coin img{transform:scale(1.1)}
.exchange-logo:has(img){border-radius:0;overflow:visible;background:transparent}
.exchange-logo img{object-position:center;max-width:100%;max-height:100%}
.connected-accounts,.account-list,.account-card{min-width:0;max-width:100%}
.connected-accounts .side-heading{margin-bottom:8px;gap:8px}
.account-count{margin-left:5px;font-weight:400}
.account-list{display:flex;flex-direction:column;gap:0}
.account-card{display:grid;grid-template-columns:22px minmax(0,1fr);column-gap:9px;padding:7px 0;border-bottom:1px solid var(--border)}
.account-card:first-child{padding-top:0}.account-card:last-child{border-bottom:0;padding-bottom:0}
.account-heading{grid-column:2;display:flex;align-items:center;gap:7px;min-width:0;min-height:22px}
.account-card>.exchange-logo{grid-column:1;grid-row:1 / span 2;align-self:center;width:22px;height:22px}
.account-card>.exchange-logo.hyperliquid img{width:26px;max-width:none}
.account-name{font-size:12px;font-weight:600;min-width:0;overflow-wrap:anywhere;flex:1;line-height:1.35}
.account-name small{display:block;font-weight:400;color:var(--muted);font-size:9px;margin-top:1px}
.account-total{font-size:12px;font-weight:650;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.account-breakdown{grid-column:2;display:flex;flex-wrap:wrap;align-items:center;gap:2px 10px;margin:3px 0 0;min-height:14px}
.account-breakdown.two-markets,.account-breakdown.three-markets{justify-content:space-between}
.account-breakdown.three-markets{column-gap:6px}
.account-market{display:inline-flex;align-items:baseline;justify-content:flex-start;gap:8px;font-size:9px;line-height:14px;min-width:0;white-space:nowrap}
.account-market>span{color:var(--muted)}
.account-market strong{font-weight:500;font-size:10px;font-variant-numeric:tabular-nums}
.account-market.shared-account{gap:7px}
.account-market .shared-label{font-size:9px;color:#a7a7a7}
.connection-row{display:grid;grid-template-columns:25px minmax(0,1fr) auto;gap:12px;padding:11px 12px}
.connection-info{min-width:0;overflow-wrap:anywhere}
.connection-actions{display:flex;align-items:center;gap:2px}
.connection-toggle{min-width:42px;height:25px;padding:0 7px;border-radius:6px;border:1px solid #373737;background:#212121;color:#a6a6a6;font-size:10px;font-weight:650;line-height:1}
.connection-toggle.is-on{border-color:#34674f;background:#193629;color:#82e0ac}
.connection-toggle:hover{filter:brightness(1.2)}
.connection-paused .connection-info{opacity:.66}
.connection-actions .icon-button{width:28px;height:30px;flex:none}
.connection-actions .icon{width:16px;height:16px}
.connection-list{max-height:55vh;overflow-y:auto;scrollbar-width:thin;margin-bottom:12px}
.exchange-choices{display:flex;flex-direction:column;gap:6px}
.exchange-choice{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:7px 12px;border:1px solid var(--border);border-radius:9px;background:var(--panel);transition:border-color .15s,background .15s}
dialog:has(.exchange-choices){padding:22px}dialog:has(.exchange-choices) .modal-description{margin-bottom:14px}dialog:has(.exchange-choices) .modal-actions{margin-top:14px;padding-top:12px}
.exchange-choice:hover,.exchange-choice:focus-visible{border-color:#686868;background:#1f1f1f}
.exchange-choice strong{font-size:12px;font-weight:600}
.exchange-choice>.icon{margin-left:auto;color:var(--muted);width:16px;height:16px}
.connection-selected{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--border);border-radius:9px;margin:12px 0;background:var(--panel)}
.connection-selected strong{font-size:13px}.connection-selected>span:last-child{margin-left:auto;color:var(--muted);font-size:10px}
.connection-link-label{display:flex;justify-content:space-between;align-items:center;gap:12px}
.connection-link-label a{font-size:10px;color:var(--accent)}.connection-link-label a[aria-disabled=true]{opacity:.4}
#connection-details-form .field{margin-bottom:14px}
@media(max-width:420px){.connection-row{gap:8px;padding:10px 8px}.connection-actions{gap:0}.connection-actions .icon-button{width:25px}}
.shared-label:before{content:'·';margin-right:7px;color:var(--muted)}
.account-status{grid-column:2;display:block;font-size:9px;line-height:1.5;color:var(--muted);margin:4px 0 0}
.assets-caption{font-size:9px;line-height:1.5;color:var(--muted);margin:-5px 0 12px}.valuation-note{margin:10px 0 0;padding-top:10px;border-top:1px solid var(--border)}
.asset-main .asset-value{flex:1;max-width:none;overflow-wrap:anywhere}.asset-main .asset-name{flex:0 1 auto}
.sync-summary{margin:-6px 0 24px;color:var(--muted);font-size:11px;line-height:1.6}
.sync-summary summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none;min-width:0}.sync-summary summary::-webkit-details-marker{display:none}
.sync-summary summary>span:nth-child(2){overflow-wrap:anywhere}.sync-dot{width:6px;height:6px;border-radius:50%;background:#57ba97;flex-shrink:0}.sync-link{color:var(--accent);margin-left:auto;white-space:nowrap}
.sync-summary.is-updating .sync-dot{background:#c8ae76}.sync-summary.needs-action .sync-dot{background:#e88e8e}.sync-summary.needs-action summary{color:#e6b9b9}
.sync-content{margin-top:14px;padding:16px;border:1px solid var(--border);border-radius:10px;background:var(--card)}
.sync-content>p{margin:0 0 16px}.sync-content section+section{border-top:1px solid var(--border);padding-top:12px;margin-top:12px}.sync-content strong{color:var(--text)}.sync-content small{display:block;margin-top:3px}.sync-content p{margin:5px 0 0;overflow-wrap:anywhere}
@media(max-width:650px){.sidebar>.connected-accounts{grid-column:1/-1}.sidebar>.assets-card{grid-column:1/-1}.account-name,.account-total{font-size:13px}.account-market{font-size:10px}.account-market strong{font-size:11px}}

/* Compact desktop header keeps the existing controls at their original size. */
@media(min-width:961px){.topbar{height:52px}#app{min-height:calc(100vh - 107px)}}
.position-top{flex-wrap:wrap}.position-actions{flex-wrap:wrap;justify-content:flex-end;row-gap:8px;max-width:100%}.exchange-open{white-space:nowrap}.position-actions .exchange-open{font-size:11px}.table-shell .exchange-open{justify-content:flex-end;font-size:10px}

/* Tighter page spacing and aligned asset rows. */
#app{padding-top:16px}.page-heading{margin-bottom:20px}
@media(min-width:961px){.sidebar>.assets-card{width:calc(100% + 28px);max-width:none;margin-inline:-14px;padding-inline:14px}}
.assets-scroll .asset-row{padding:10px 0}.asset-main{min-height:35px}
.asset-main .asset-name{display:flex;align-items:center;gap:3px}
.asset-restore{display:inline-grid;width:22px;height:22px;flex:0 0 22px;margin:0;color:var(--accent);border-radius:6px}
.asset-restore svg{width:13px;height:13px}.asset-restore:hover{background:#252525}
/* Keep the real text in layout while a uniform mask conceals it. Hover cannot move the currency suffix. */
.private-value{display:inline-block;position:relative;vertical-align:baseline;font:inherit;color:inherit;white-space:nowrap;font-variant-numeric:tabular-nums}
.private-actual{font:inherit;color:inherit}
.amounts-hidden .private-value{min-width:8ch}
.amounts-hidden .private-value:not(.is-revealed){user-select:none}
.amounts-hidden .private-value:not(.is-revealed) .private-actual{visibility:hidden}
.amounts-hidden .private-value:not(.is-revealed)::after{content:'88 888,88';display:block;position:absolute;top:0;right:0;width:8ch;max-width:100%;white-space:nowrap;text-align:center;color:#bbbbbb;filter:blur(7px);opacity:.7;pointer-events:none}
.balance-box>.balance{margin-top:0}.balance-box>.balance-change+.button{margin-top:18px}
/* Match the visible amount's natural width in every privacy state. */
.amounts-hidden .balance .private-value{min-width:0}
.amounts-hidden .balance .private-value:not(.is-revealed)::after{filter:blur(12px);opacity:.6}
.amounts-hidden .account-market .private-value{min-width:5ch}
.amounts-hidden .account-market .private-value:not(.is-revealed)::after{content:'8 888';width:5ch;filter:blur(6px)}
.private-value:focus-visible{outline:1px solid #696969;outline-offset:3px;border-radius:3px}
@media(max-width:650px){#app{padding-top:14px}.page-heading{margin-bottom:18px}.asset-main{min-height:37px}}

.order-data{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px}.order-card .position-top{margin-bottom:16px}.order-data .datum strong{font-size:12px}.order-card .position-exchange{display:inline-flex}@media(max-width:650px){.order-data{gap:10px}.order-card .position-exchange{font-size:9px}}

/* Compact counters keep the positions and order cards prominent. */
.wallet-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:22px}
.wallet-metrics .metric{min-width:0;padding:10px 16px}
.wallet-metrics .metric-value{margin-top:3px;line-height:1.3}
@media(max-width:960px){.wallet-metrics .metric{padding:9px 12px}}
@media(max-width:650px){.wallet-metrics{gap:7px;margin-bottom:20px}.wallet-metrics .metric{padding:9px 8px}.wallet-metrics .metric-label{min-height:24px;line-height:1.4}}

/* The picker uses the same icon column as the account ledger. */
#exchange-menu button{padding:9px 11px}
#exchange-button .exchange-logo,#exchange-menu .exchange-logo{width:22px;height:22px;flex:0 0 22px}
#exchange-button .exchange-logo img,#exchange-menu .exchange-logo img{width:22px;height:22px;object-fit:contain}


.push-guide{font-size:11px;line-height:1.7;color:var(--muted);border:1px solid var(--border);border-radius:8px;padding:12px;margin:14px 0}.push-guide summary{cursor:pointer;color:var(--text);font-weight:600}.push-guide ol{padding-left:19px;margin:10px 0}.push-guide li+li{margin-top:8px}.push-guide a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}.push-guide p{margin:10px 0 0}.push-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.push-disclosure{font-size:10px;color:var(--muted);line-height:1.7}.push-test-status,.push-target{overflow-wrap:anywhere}.activity-row>div{min-width:0}.activity-row small{white-space:pre-line;overflow-wrap:anywhere}.activity-row .text-button{margin-top:8px}#modal:has(#push-form){max-height:90vh;overflow-y:auto}.rule-content{overflow-wrap:anywhere}

.profile-menu .profile-link{display:flex;align-items:center;gap:11px;width:100%;padding:11px;border-radius:7px;font-size:12px}.profile-menu .profile-link:hover{background:#222222;text-decoration:none}.profile-menu .profile-link span{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;color:var(--accent);font-size:16px}

/* Match the mobile distinction between protective and ordinary pending orders. */
.order-card.order-purpose-sl{border-left:3px solid #e05a72}
.order-card.order-purpose-sl .order-purpose-label{color:#ff879a}
.order-card.order-purpose-tp{border-left:3px solid #3baa8f}
.order-card.order-purpose-tp .order-purpose-label{color:#72dfb9}
.order-card .order-purpose-label{font-size:15px;font-weight:750}

/* Size the supplied lockup by its lettering; let the star exceed the bar. */
.brand{position:relative;flex-shrink:0;width:264px;height:40px;overflow:visible}.brand .reserve-wordmark{position:absolute;top:50%;left:0;transform:translateY(-50%);display:block;width:100%;height:auto;object-fit:contain;mix-blend-mode:lighten}
.avatar{padding:0;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.avatar img,.profile-menu .avatar img{display:block;width:100%;height:100%;object-fit:contain;transform:scale(1.24);mix-blend-mode:lighten}
@media(min-width:961px){.topbar::before{content:"";position:absolute;top:100%;left:0;right:0;height:12px;background:var(--bg);z-index:-1;pointer-events:none}}
@media(min-width:961px) and (max-width:1180px){.top-inner{gap:16px}nav{gap:13px}}
@media(max-width:650px){.brand{width:210px}}

.sync-status{display:flex;align-items:center;gap:8px;min-height:24px}.sync-status .button{margin-left:auto}.sync-summary.needs-action .sync-status{color:#e6b9b9}
.heading-actions>.button{height:36px;min-height:36px;box-sizing:border-box;padding:8px 12px;font-size:12px;line-height:18px}
.heading-actions{align-items:center}
.alert-side .push-settings{flex:1}
@media(max-width:1000px){.alert-side .push-settings{grid-column:1/-1}}
@media(min-width:651px){.page-heading{align-items:flex-start}}

/* Compact page titles keep connection health in the heading, not a separate row. */
#app .page-heading{margin-bottom:18px;align-items:center;min-height:36px}
.heading-title{display:flex;align-items:center;gap:8px;min-width:0;flex-wrap:wrap}
.heading-health{display:inline-flex;align-items:center;gap:7px;min-width:24px;min-height:28px;padding:4px 7px;border:0;border-radius:6px;font-size:10px;color:#eea6a6;letter-spacing:0;font-weight:400;text-align:left}
.heading-health .sync-dot{width:6px;height:6px;background:#57ba97}.heading-health.needs-action .sync-dot{background:#e88e8e}.heading-health.is-updating .sync-dot{background:#c8ae76}
.heading-health:hover{background:#ffffff08}.heading-health:focus-visible{outline:2px solid var(--accent)}
#analytics-status:empty{display:none}

#exchange-button .chevron{display:inline-flex;align-items:center;justify-content:center;align-self:center;flex:0 0 16px;width:16px;height:16px;margin-left:3px;line-height:0;color:#aaa}
#exchange-button .chevron svg{display:block;width:16px;height:10px}
#exchange-button[aria-expanded=true] .chevron svg{transform:rotate(180deg)}
