:root{--bg:#050911;--surface:#101721;--raised:#172231;--line:#27364a;--soft-line:#1d2a3b;--text:#f7f9fc;--muted:#8f99aa;--blue:#1683ff;--cyan:#13b8e8;--green:#30c49a;--amber:#ffc43d;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-synthesis:none}body{background:var(--bg);color:var(--text)}body::before{background-image:linear-gradient(rgb(3 8 15 / 42%),rgb(3 8 15 / 18%)),url('/static/assets/space-background.png')}.app{width:min(100%,460px);padding:max(14px,env(safe-area-inset-top)) 16px calc(30px + env(safe-area-inset-bottom))}.profile-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:94px;padding:18px;border:1px solid #123d66;border-radius:14px;background:rgb(8 35 65 / 92%);backdrop-filter:blur(10px);box-shadow:0 16px 38px rgb(0 14 31 / 35%)}.profile-header .brand{display:flex;align-items:center;flex:0 0 auto;gap:9px;width:auto;color:inherit;text-decoration:none}.profile-header .brand img{display:block;width:34px;height:auto;flex:0 0 34px}.profile-header .brand strong{display:block;color:#fff;font-family:Arial,sans-serif;font-size:31px;font-weight:700;line-height:1}.profile-user{display:flex;align-items:center;justify-content:flex-end;min-width:0;gap:12px}.profile-copy{display:block;min-width:0;text-align:right}.profile-copy>*{display:block}.profile-eyebrow{color:#5bb4ff;font-size:11px;font-weight:750}.profile-copy h1{margin:4px 0 6px;overflow:hidden;font-size:14px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.user-identity{overflow:hidden;color:#f4f7fb;font-size:12px;font-weight:650;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.telegram-user-button{display:inline-flex;align-items:center;float:right;gap:6px;width:fit-content;min-height:31px;margin-top:8px;padding:6px 11px;border:1px solid rgb(44 213 163 / 22%);border-radius:14px;background:#075d4d;color:#e8fff8;font-size:10px;font-weight:700;cursor:pointer;transition:background 150ms ease,transform 150ms ease}.telegram-user-button i{width:8px;height:8px;border:2px solid #c8ffef;border-radius:50%;background:var(--green)}.telegram-user-button:active{background:#08705c;transform:scale(.97)}.profile-header .avatar{display:block;flex:0 0 50px;width:50px;height:50px;border:1px solid #4d759f;border-radius:50%;background:#173a5c url('/static/assets/profile-danla.png') center/cover no-repeat}.card,.active-trade,.transaction{border:1px solid var(--line);background:rgb(16 23 33 / 94%);box-shadow:0 14px 34px rgb(0 0 0 / 28%);backdrop-filter:blur(10px)}.card{border-radius:18px}.balance-card hr,.trade-info hr{border-color:var(--soft-line)}.balance-card>p,.pnl-row label,.axis,.tx-copy span,.tx-value span,.trade-info>span,.trade-info small,.trade-status span{color:var(--muted)}.eyebrow{color:#5bb4ff}.pnl-row strong,.tx-value strong,.trade-status strong,.result{color:var(--green)}.segmented{border:1px solid var(--line);border-radius:10px}.segmented button{min-height:48px;background:var(--raised);color:#9ca8ba;font-weight:650;transition:transform 150ms ease,filter 150ms ease}.segmented button.active{background:var(--blue);color:#fff}.segmented button:active{transform:scale(.985);filter:brightness(1.1)}.transaction{border-radius:18px}.tx-icon,.trade-icon{border:1px solid #243b55;background:#112a45;color:var(--cyan)}.trade-status mark{background:var(--blue)}.overlay{background:rgb(3 6 10 / 82%);backdrop-filter:blur(4px)}.modal{border:1px solid #353e4b;border-radius:18px;background:#181d25;box-shadow:0 28px 90px rgb(0 0 0 / 62%)}.ok{min-height:56px;border-radius:8px;background:linear-gradient(105deg,#137cff,#0cbbe6);box-shadow:0 13px 32px rgb(18 139 255 / 28%);transition:transform 150ms ease,filter 150ms ease}.ok:active{transform:scale(.985);filter:brightness(1.1)}button:focus-visible,a:focus-visible{outline:2px solid #49b8ff;outline-offset:3px}@media(max-width:400px){.app{padding-inline:12px}.profile-header{gap:10px;padding:15px 14px}.profile-header .brand{gap:7px}.profile-header .brand img{width:29px;flex-basis:29px}.profile-header .brand strong{font-size:25px}.profile-user{gap:9px}.profile-header .avatar{flex-basis:46px;width:46px;height:46px}.profile-copy h1{font-size:13px}}@media(max-width:350px){.profile-header .brand strong{font-size:21px}.profile-header .brand img{width:25px;flex-basis:25px}.profile-user{gap:7px}.profile-header .avatar{flex-basis:42px;width:42px;height:42px}.telegram-user-button{padding-inline:8px;font-size:9px}}
