:root{color-scheme:dark;--bg:#070c13;--panel:#0d151f;--border:#22303a;--muted:#758997;--bright:#e3f2f1;--cyan:#66e9d7;--accent:#e4a98a;font-family:'DM Sans',system-ui,sans-serif}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--bright)}button,select,input{font:inherit}button{cursor:pointer}button:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}
.app{min-height:100vh}.masthead{height:78px;padding:0 35px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);background:#080f18;gap:20px}.brand-lockup{display:flex;align-items:center;gap:16px}.brand-icon{width:38px;height:38px;position:relative;display:grid;place-items:center}.brand-icon span{position:absolute;display:block;border:1px solid #58c9c3;border-radius:50%;height:28px;width:28px;transform:rotateX(60deg) rotate(-45deg)}.brand-icon span:nth-child(2){transform:rotateY(65deg) rotate(30deg)}.brand-icon span:nth-child(3){width:8px;height:8px;background:#7cead7;box-shadow:0 0 16px #4bd0c6}.eyebrow,.side-eyebrow{font-size:10px;letter-spacing:.18em;color:#72909b;font-weight:700}.slash{color:#c48773;padding:0 6px}.brand-title{font:700 20px 'Space Grotesk',sans-serif;letter-spacing:.1em}.brand-title small{font-size:13px;font-weight:400;letter-spacing:.01em;color:#abc0c6}.head-meta{font-size:10px;letter-spacing:.16em;color:#9caab0;display:flex;align-items:center;gap:12px}.status-led,.signal{display:inline-block;width:6px;height:6px;border-radius:50%;background:#72ddae;box-shadow:0 0 9px #72ddae}.header-line{height:13px;width:1px;background:#38505a}.version{border:1px solid #263740;padding:5px 7px;border-radius:4px;color:#5f7c88}
.workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;min-height:calc(100vh - 78px)}.stage{min-height:730px;position:relative;overflow:hidden;background:radial-gradient(circle at 40% 42%,#18232d 0%,#0c151e 48%,#080e16 90%)}#viewport{position:absolute;inset:0;z-index:0}#viewport canvas{display:block;width:100%;height:100%}.stage-top{position:absolute;z-index:2;top:38px;left:46px;right:45px;display:flex;justify-content:space-between;pointer-events:none;align-items:flex-start}.kicker{font-weight:700;letter-spacing:.22em;color:var(--cyan);font-size:10px}.stage h1{font-family:'Space Grotesk',sans-serif;letter-spacing:.045em;font-size:30px;line-height:1.1;margin:11px 0 8px;font-weight:600}.stage h1 em{font-style:normal;color:#8ea1ad;font-weight:400}.stage-top p{margin:0;font-size:10px;letter-spacing:.13em;color:#708a97}.top-tag{white-space:nowrap;border:1px solid #29414a;background:#0d2029a0;backdrop-filter:blur(9px);padding:9px 12px;border-radius:5px;font:600 10px 'Space Grotesk',sans-serif;letter-spacing:.1em;color:#bad1d2}.top-tag .signal{margin-right:7px}#fps{color:#7ea8ad;margin-left:11px}.viewport-overlay{position:absolute;z-index:2;pointer-events:none;font:500 11px 'Space Grotesk',sans-serif;letter-spacing:.1em;color:#8ca5af;line-height:2}.viewport-overlay-left{left:45px;bottom:173px}.cross{color:#55d1cf;margin-right:7px}.mono{font-size:10px}.dim{color:#567382}.viewport-overlay-right{right:46px;bottom:174px;text-align:right;font-size:10px}.viewport-overlay-right .dim{display:inline-block;margin-right:16px}.stage-bottom{position:absolute;bottom:66px;left:45px;right:45px;z-index:3;display:flex;justify-content:space-between;align-items:center;gap:18px}.transport{display:flex;gap:8px}.control{color:#e4ecee;background:#12212cbb;border:1px solid #32505c;border-radius:5px;min-height:42px;padding:0 17px;font-weight:700;font-size:17px;display:flex;align-items:center;gap:10px;transition:.18s}.control span{font-size:10px;letter-spacing:.09em}.control.primary{color:#0b1b1e;background:#7ce6d0;border-color:#7ce6d0}.control:hover{border-color:#73bcb7;transform:translateY(-1px)}.control.primary:hover{background:#a1ffe9}.control.icon-only{padding:0 14px;font-size:22px}.state-readout{white-space:nowrap;display:flex;align-items:center;gap:10px;font:600 10px 'Space Grotesk',sans-serif;letter-spacing:.1em;color:#b3bec5}.state-dot{width:6px;height:6px;background:#60d8b6;border-radius:100%}.divider-dot{color:#4a6571}.stage-footer{position:absolute;bottom:0;left:0;right:0;height:45px;background:#09111add;border-top:1px solid #23333d;display:flex;justify-content:space-around;align-items:center;gap:10px;font:600 9px 'Space Grotesk',sans-serif;letter-spacing:.12em;color:#50717f}.stage-footer b{color:#9ebbc0;margin-left:6px}
.sidebar{z-index:4;background:linear-gradient(180deg,#101c26,#0b141d);border-left:1px solid var(--border);display:flex;flex-direction:column;min-height:100vh}.side-head{padding:29px 26px 26px}.side-eyebrow{color:#63b0b0}.side-head h2{font:600 23px 'Space Grotesk',sans-serif;margin:12px 0 7px}.side-head p{font-size:12px;line-height:1.6;color:#8da1aa;margin:0}.section{padding:20px 26px 18px;border-top:1px solid #23333b}.section-label{font:700 10px 'Space Grotesk',sans-serif;letter-spacing:.15em;color:#d8e2e4;margin-bottom:19px}.section-label span{color:#63c9bd;font-weight:600;margin-right:10px}.field-label{display:block;font-size:11px;color:#8ba0aa;font-weight:600;margin-bottom:8px}select{appearance:none;width:100%;background:#111f2b;color:#d0e1e4;border:1px solid #344853;border-radius:4px;padding:10px 31px 10px 12px;background-image:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%238da7af" stroke-width="2"%3E%3Cpath d="m6 9 6 6 6-6"/%3E%3C/svg%3E');background-repeat:no-repeat;background-position:right 11px center;font-size:12px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:18px}.range-control{margin:0 0 18px}.range-control:last-child{margin-bottom:0}.range-control label{font-size:11px;font-weight:600;color:#92aab3;display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.range-control output{font-family:'Space Grotesk',sans-serif;color:#d7eff1;font-size:11px}.range-control input{width:100%;height:3px;display:block;accent-color:#75d5c9;cursor:pointer}.small-section{padding-bottom:20px}.check-row{display:flex;align-items:center;gap:10px;color:#9fb4bc;font-size:11px;margin-bottom:13px;cursor:pointer}.check-row input{accent-color:#7ee3d2;width:15px;height:15px}.swatches{display:flex;gap:14px;margin-top:19px}.swatches>div{flex:1}.swatches input{width:100%;height:31px;padding:2px;border:1px solid #344853;border-radius:4px;background:#111f2b;cursor:pointer}.sound-section{margin-top:auto}.audio-btn{width:100%;background:transparent;border:1px solid #44766f;border-radius:5px;padding:12px;color:#91e0d0;font:700 10px 'Space Grotesk',sans-serif;letter-spacing:.12em}.audio-btn:hover{background:#16312f}.hint{font-size:10px;color:#67808b;margin:9px 0 0;line-height:1.6}.sidebar-foot{border-top:1px solid #20313b;padding:14px 26px;font:600 9px 'Space Grotesk',sans-serif;color:#5f7b86;letter-spacing:.05em;display:flex;justify-content:space-between}.sidebar-foot span{font-size:8px}
@media(max-width:1000px){.workspace{grid-template-columns:minmax(0,1fr) 295px}.stage-top{left:26px;top:28px}.stage-bottom{left:26px;right:26px}.stage h1{font-size:24px}.viewport-overlay-left{left:26px}.viewport-overlay-right{right:26px}.control{padding:0 10px}.control span{display:none}.section,.side-head{padding-left:20px;padding-right:20px}.head-meta{display:none}}
@media(max-width:760px){.masthead{height:65px;padding:0 17px}.brand-title{font-size:17px}.brand-title small{font-size:11px}.workspace{display:flex;flex-direction:column}.stage{min-height:610px;height:72vh}.stage h1{font-size:21px}.stage-top{left:20px;right:20px;top:25px}.top-tag{font-size:8px;padding:7px}.stage-top p{font-size:8px}.viewport-overlay-right{display:none}.viewport-overlay-left{left:20px;bottom:151px}.stage-bottom{left:20px;right:20px;bottom:63px}.stage-footer{font-size:7px}.stage-footer div:nth-child(3),.stage-footer div:nth-child(4){display:none}.state-readout{font-size:9px}.sidebar{min-height:0}.side-head{padding:24px 22px}.section{padding:20px 22px}.brand-icon{width:26px}.brand-icon span{width:22px;height:22px}}
