body{--sw-bg:#0b0e11;--sw-panel:#181a20;--sw-chart:#181a20;--sw-border:#2b3139;--sw-text:#eaecef;--sw-muted:#929cab;--sw-gold:#f0b90b}
body[data-theme=midnight]{--sw-bg:#090f1c;--sw-panel:#111d30;--sw-chart:#111d30;--sw-border:#2a3d56}
body[data-theme=graphite]{--sw-bg:#18191c;--sw-panel:#25272c;--sw-chart:#25272c;--sw-border:#424650}
body[data-theme=amber]{--sw-bg:#17130e;--sw-panel:#242018;--sw-chart:#242018;--sw-border:#4b402d}
body[data-theme]{background:var(--sw-bg);color:var(--sw-text)}body[data-theme] :is(.chart-box,#controls,#big-chart-container,#orderbook-panel){background:var(--sw-panel);border-color:var(--sw-border)}
#controls .learn-launch{height:42px;padding:0 13px;background:#1d222a;color:#d3dbe5;border:1px solid #3a414d;border-radius:10px;font:600 12px Inter,Arial,sans-serif;cursor:pointer;box-shadow:none;white-space:nowrap}#controls .learn-launch:hover{border-color:#f0b90b;color:#f0b90b}
.profile-shell{margin:0;font:15px Inter,system-ui,sans-serif;min-height:100vh;background:radial-gradient(ellipse at 80% 0%,#f0b90b08,transparent 50%),var(--sw-bg);color:var(--sw-text)}.profile-shell *{box-sizing:border-box}.profile-shell a{color:inherit;text-decoration:none}.profile-nav{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1150px;margin:auto;padding:25px 24px;border-bottom:1px solid var(--sw-border);font-size:13px;color:var(--sw-muted)}.profile-brand{font-weight:850;letter-spacing:2px;color:var(--sw-text)!important}.profile-brand span{color:var(--sw-gold)}.profile-main{max-width:1100px;margin:auto;padding:45px 24px}.profile-intro{display:flex;align-items:center;gap:22px;margin-bottom:35px}.profile-avatar{display:grid;place-items:center;flex:none;width:90px;height:90px;font-size:44px;border-radius:24px;background:var(--sw-panel);border:1px solid var(--sw-border);overflow:hidden}.profile-eyebrow{font-size:10px;font-weight:750;letter-spacing:2px;color:var(--sw-gold)}.profile-intro h1{font-size:34px;margin:8px 0}.profile-intro p,.profile-muted{color:var(--sw-muted);font-size:13px;line-height:1.7}.profile-intro p{margin:0}.profile-plan{margin-left:auto;color:var(--sw-gold);border:1px solid #776127;background:#f0b90b0c;padding:8px 15px;border-radius:8px;font-weight:750;font-size:12px}.profile-columns{display:grid;grid-template-columns:.9fr 1.1fr;gap:24px}.profile-panel{background:var(--sw-panel);border:1px solid var(--sw-border);border-radius:16px;padding:25px}.profile-panel h2{margin:0 0 24px;font-size:18px}.profile-panel dl{margin:0}.profile-panel dl>div{padding:16px 0;border-bottom:1px solid var(--sw-border)}.profile-panel dt{font-size:11px;color:var(--sw-muted);margin-bottom:7px}.profile-panel dd{margin:0;font-size:15px;overflow-wrap:anywhere}.profile-secondary{display:block;padding:14px 0;font-size:13px;color:var(--sw-gold)!important}.profile-panel fieldset{border:0;padding:0;margin:0 0 24px}.profile-panel legend{padding:0;margin-bottom:12px;font-size:13px;font-weight:650}.avatar-choices{display:flex;flex-wrap:wrap;gap:8px}.avatar-choices label{cursor:pointer}.avatar-choices input{position:absolute;opacity:0;width:1px;height:1px}.avatar-choices span{display:grid;place-items:center;width:48px;height:48px;font-size:24px;border:1px solid var(--sw-border);border-radius:10px}.avatar-choices input:checked+span{border-color:var(--sw-gold);background:#f0b90b12}.theme-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}.theme-choices label{display:grid;grid-template-columns:1fr auto;gap:5px;padding:12px;border:1px solid var(--sw-border);border-radius:10px;cursor:pointer}.theme-choices input{grid-column:2;grid-row:2;accent-color:var(--sw-gold)}.theme-preview{grid-column:1/-1;height:45px;border-radius:6px;background:linear-gradient(120deg,#0b0e11,#242730);border:1px solid #ffffff0d}.theme-choices [data-swatch=midnight] .theme-preview{background:linear-gradient(120deg,#090f1c,#203c61)}.theme-choices [data-swatch=graphite] .theme-preview{background:linear-gradient(120deg,#18191c,#51545e)}.theme-choices [data-swatch=amber] .theme-preview{background:linear-gradient(120deg,#17130e,#5a4527)}.theme-choices strong{font-size:12px;grid-row:2}.theme-choices small{grid-column:1/-1;color:var(--sw-muted);font-size:10px}.theme-choices label:has(input:checked){border-color:var(--sw-gold)}.profile-primary{width:100%;padding:13px;border:0;border-radius:9px;background:var(--sw-gold);color:#171a20;font-weight:750;cursor:pointer}.profile-notice{padding:12px 16px;border:1px solid #627c3c;border-radius:8px;background:#62a13115}.profile-shell :is(a,button,input):focus-visible,.avatar-choices label:focus-within span{outline:2px solid var(--sw-gold);outline-offset:3px}
@media(max-width:750px){.profile-columns{grid-template-columns:1fr}.profile-main{padding:30px 16px}.profile-intro{gap:13px;flex-wrap:wrap}.profile-avatar{width:65px;height:65px;font-size:30px}.profile-intro h1{font-size:27px}.profile-plan{margin-left:0}.profile-panel{padding:20px}.profile-nav{padding:20px 16px}}

.demo-banner{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:12px 16px;margin:0 0 14px;background:#29251a;border:1px solid #6b5c29;border-radius:10px;color:#f1d170;font:12px Inter,system-ui,sans-serif}.demo-banner div{display:flex;gap:16px}.demo-banner a{color:#f0b90b;text-decoration:none}

.avatar-choices span{overflow:hidden}
