:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;background:#07111c;color:#edf5f8}
*{box-sizing:border-box}html,body,#app{margin:0;width:100%;height:100%;overflow:hidden}button,input{font:inherit}button{cursor:pointer}
#viewport{position:absolute;inset:0;background:radial-gradient(ellipse at 61% 40%,#223b4a 0,#0e1b27 48%,#060b12 100%);z-index:0}#viewport canvas{display:block;width:100%;height:100%}
#loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;color:#8acbd9;font-size:12px;letter-spacing:.3em;background:#08131e;z-index:8}.spinner{width:43px;height:43px;border:2px solid #184253;border-top-color:#57d0dc;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.topbar{position:fixed;top:0;left:0;right:0;height:66px;display:flex;align-items:center;justify-content:space-between;padding:0 34px;background:linear-gradient(#06111cdd,#07111b77);border-bottom:1px solid #8fd4e51d;z-index:4}.brand{font-size:15px;font-weight:850;letter-spacing:.07em}.brand-mark{color:#60d2df;font-size:29px;vertical-align:-3px;margin-right:7px}.muted{color:#5eafbf}.asset-code{font-size:10px;letter-spacing:.2em;color:#7a9cab}.status{font-size:10px;letter-spacing:.17em;color:#79d5bd}
.ui{position:absolute;inset:0;pointer-events:none;z-index:3}.hero{position:absolute;top:14%;left:4.6%;width:320px;pointer-events:auto}.eyebrow{color:#6bd3e0;font-size:10px;letter-spacing:.24em;font-weight:700}.hero h1{font-size:clamp(39px,3.25vw,58px);line-height:.94;letter-spacing:-.075em;margin:21px 0 25px;font-weight:850}.hero h1 em{font-style:normal;color:#6bd0de}.hero p{color:#9eafbd;font-size:13px;line-height:1.82;margin:0 0 22px;max-width:315px}.legend{display:flex;flex-wrap:wrap;gap:15px;margin:22px 0 28px;font-size:9px;letter-spacing:.06em;color:#adbfcb}.key{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px}.key.gold{background:#cf9762}.key.blue{background:#5dbed7}.hero-buttons{display:flex;gap:10px}.hero-buttons button,.actions button{font-size:10px;letter-spacing:.08em;font-weight:750;padding:15px;border-radius:4px;border:1px solid #406875;color:#b9e4ee;background:#111f2d;white-space:nowrap}.hero-buttons .primary{background:#68c9d5;color:#041b23;border-color:#68c9d5;box-shadow:0 7px 35px #47bed32f}.hero-buttons button:hover,.actions button:hover{filter:brightness(1.16)}
.controls{position:absolute;right:2.2%;top:12%;width:326px;max-height:calc(100vh - 135px);overflow:auto;background:#0c1a27e9;border:1px solid #52829240;box-shadow:0 20px 70px #0007;backdrop-filter:blur(19px);padding:23px 24px 19px;pointer-events:auto;scrollbar-width:thin;scrollbar-color:#426371 transparent}.sectiontop{display:flex;align-items:center;justify-content:space-between;margin:1px 0 25px;color:#e8f6f9;font-size:13px;font-weight:800;letter-spacing:.08em}.tiny{font-size:8px;font-weight:500;color:#70abbc}.control{margin-bottom:21px}.control-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.control-label label{font-size:10px;letter-spacing:.11em;font-weight:750;color:#b2c5d1}.control-label strong{font-size:12px;color:#7bdeeb}input[type=range]{display:block;width:100%;height:4px;accent-color:#5ed5df;cursor:pointer}.scale{display:flex;justify-content:space-between;margin-top:9px;font-size:8px;letter-spacing:.08em;color:#678390}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:13px;border-top:1px solid #7294a52c;border-bottom:1px solid #7294a52c;padding:20px 0}.metrics div{display:flex;flex-direction:column;min-width:0}.metrics small{font-size:9px;color:#7b9caa;letter-spacing:.1em}.metrics strong{font-weight:750;font-size:31px;letter-spacing:-.05em;font-variant-numeric:tabular-nums;margin:1px 0;color:#eefaff}.metrics span{font-size:10px;color:#74bac9}.scope-title{display:flex;justify-content:space-between;margin:20px 0 10px;font-size:10px;font-weight:700;letter-spacing:.1em}.scope-title span{font-size:9px;font-weight:400;color:#668e9c}#plot{width:100%;height:88px;background:#081621;border:1px solid #3e667538}.actions{display:flex;gap:9px;margin-top:18px}.actions button{flex:1;padding:12px 6px;font-size:9px}.help{margin-top:18px;font-size:10px;color:#6f8c9a;line-height:1.5}
.lower-left{position:absolute;bottom:32px;left:35px;font-size:9px;letter-spacing:.09em;color:#a6bac4;display:flex;align-items:center;gap:12px;z-index:4}.dot{width:7px;height:7px;border-radius:50%;background:#57cabc;box-shadow:0 0 13px #5de6d9}.sep{height:10px;width:1px;background:#57717d}.credit{position:absolute;bottom:17px;right:30px;color:#638494;font-size:8px;letter-spacing:.14em;z-index:2}.credit span{color:#62d3d7}
.inspector{position:fixed;left:38%;bottom:30px;z-index:8;background:#102437f7;border:1px solid #477e8b;padding:16px 20px;min-width:290px;box-shadow:0 10px 36px #0008}.inspector strong,.inspector span{display:block}.inspector strong{font-size:13px;margin:9px 0;max-width:320px;overflow-wrap:anywhere}.inspector #partHint{font-size:10px;color:#96b5c2}.inspector button{float:right;background:none;border:none;color:#b3d2db}
@media(max-width:1100px){.hero{left:2%;width:260px;top:12%}.hero h1{font-size:42px}.hero p{font-size:11px}.controls{right:1%;width:285px;padding:18px}.asset-code{display:none}}
@media(max-width:740px){#app{overflow:auto}.topbar{padding:0 16px;height:52px}.brand{font-size:12px}.brand-mark{font-size:21px}.status{font-size:8px}.hero{top:70px;left:16px;width:220px}.hero h1{font-size:34px;margin:10px 0 15px}.hero p{font-size:10px;line-height:1.4;max-width:205px}.legend{display:none}.hero-buttons{flex-direction:column;align-items:start;gap:7px}.hero-buttons button{padding:10px;font-size:9px}.controls{top:auto;bottom:0;right:0;left:0;width:100%;max-height:40vh;overflow:auto;border-radius:12px 12px 0 0;padding:13px 17px}.sectiontop{margin-bottom:10px}.control{margin-bottom:12px}.metrics{padding:12px 0}.metrics strong{font-size:24px}.control-label{margin-bottom:7px}.lower-left,.credit{display:none}.inspector{left:10px;bottom:43vh;right:10px;min-width:0}}
