
:root{color-scheme:dark;--bg:#071019;--panel:rgba(5,13,20,.90);--line:rgba(138,199,201,.16);--text:#e5f3f0;--muted:#859b9e;--mint:#a9f4d5;--cyan:#70c9ce;--gold:#e4c488}*{box-sizing:border-box}html,body,#app{margin:0;width:100%;height:100%;overflow:hidden;font-family:'DM Sans',Arial,sans-serif;background:#03070e;color:var(--text);font-size:13px}button,input{font:inherit}button{cursor:pointer;color:inherit}button:focus-visible,input:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}#viewport,#vignette{position:absolute;inset:0}#viewport canvas{display:block;width:100%;height:100%;touch-action:none}#vignette{pointer-events:none;background:radial-gradient(ellipse at 54% 50%,transparent 35%,rgba(0,2,7,.42) 100%),linear-gradient(to bottom,rgba(0,5,12,.32),transparent 20%,transparent 79%,rgba(0,4,10,.42))}button{border:0;background:none}.topbar{position:absolute;top:0;left:0;right:0;height:82px;display:flex;align-items:center;justify-content:space-between;padding:0 35px 0 31px;z-index:20;border-bottom:1px solid var(--line);background:linear-gradient(180deg,rgba(3,10,15,.88),rgba(3,10,15,.16))}.brand{display:flex;align-items:center;gap:13px}.brandglyph{font-size:43px;font-weight:400;color:#b0e6d2;text-shadow:0 0 28px #72e5c988}.brandname{letter-spacing:.38em;font-size:15px;font-weight:700;color:#e0f6f1;font-family:'Space Grotesk',sans-serif}.brandtag{font-size:9px;color:#93b0ac;letter-spacing:.19em;margin-top:7px}.brandtag span{color:#566f71}.topright{display:flex;align-items:center;gap:23px;color:#b1c4c5;letter-spacing:.1em;font-size:11px;font-family:'Space Grotesk'}.live{color:#b9efd8;font-size:9px;display:flex;align-items:center;gap:9px;font-weight:700;letter-spacing:.16em}.live i{display:block;height:6px;width:6px;background:#a3f3b2;border-radius:50%;box-shadow:0 0 14px #8bf7a0;animation:pulse 2s infinite}.sep{width:1px;height:20px;background:var(--line)}.iconbutton{border:1px solid #71909166;width:27px;height:27px;border-radius:50%;font-size:13px}.sidebar{position:absolute;top:82px;left:0;bottom:93px;width:304px;overflow-y:auto;overflow-x:hidden;padding:27px 23px 26px 26px;background:linear-gradient(90deg,rgba(4,12,18,.96),rgba(5,13,19,.84));border-right:1px solid var(--line);z-index:15;scrollbar-width:thin;scrollbar-color:#335258 transparent}.overline{font-size:9px;letter-spacing:.14em;color:#a8c8bd;display:flex;align-items:center;justify-content:space-between}.tiny-state{border:1px solid #8ccd9960;color:#c2f4be;background:#173a2b60;padding:4px 6px;font-size:8px;letter-spacing:.1em}.tiny-state.warning{color:#ffcb95;border-color:#b3793966;background:#44251555}.tiny-state.danger{color:#ff8b91;border-color:#da677055}.panel-title{font-family:'Space Grotesk',sans-serif;font-weight:600;line-height:1.17;font-size:25px;letter-spacing:-.045em;max-width:235px;margin:17px 0 10px}.intro{font-size:11px;line-height:1.68;color:#849b9b;margin:0 0 22px}.hero-stat{padding:15px 15px 17px;background:linear-gradient(118deg,#163038aa,#10222366);border:1px solid #60999c55;border-radius:3px}.hero-stat>span{color:#9cc8bd;font-size:9px;letter-spacing:.15em}.hero-stat>div:nth-child(2){margin:6px 0 11px;display:flex;align-items:baseline;gap:12px}.hero-stat strong{font-size:37px;font-family:'Space Grotesk';line-height:1;letter-spacing:-.07em;font-weight:500}.hero-stat small{letter-spacing:.13em;font-size:9px;color:#88adab}.meter,.track{height:3px;background:#284043b3;border-radius:5px;overflow:hidden}.meter i,.track i{display:block;height:100%;background:#abedd4;transition:width .6s}.section-label{font-size:9px;font-weight:700;letter-spacing:.11em;color:#b7d1ca;border-top:1px solid var(--line);margin-top:20px;padding-top:17px;display:flex;justify-content:space-between;gap:5px}.section-label span{font-weight:400;color:#6a8b87;font-size:8px}.resource{display:grid;grid-template-columns:1fr auto;align-items:center;margin:13px 0 0;gap:7px 4px}.resource>div:first-child{color:#b8c9ca;font-size:10px}.resource b{font-weight:600;font-family:'Space Grotesk';font-size:11px;color:#ebf6ed}.resource-emoji{font-size:16px;margin-right:4px;color:#b3d6b7}.resource .track{grid-column:1/3;height:2px}.fill-cyan{background:#88e8cd!important}.fill-green{background:#b1e49a!important}.fill-blue{background:#82ade5!important}.fill-pink{background:#d2a8e7!important}.fill-gold{background:#e7ce94!important}.directive{margin-top:15px}.directive label{display:flex;justify-content:space-between;color:#acbfbd;font-size:10px}.directive label span{color:#b1efdb}.directive input{margin:10px 0 2px;width:100%;height:3px;accent-color:#9be5cb;cursor:pointer}.small-help{font-size:10px;line-height:1.5;color:#6b8787;margin:12px 0 4px}.action-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:14px}.action-grid button{display:flex;align-items:center;text-align:left;min-height:61px;padding:8px;border:1px solid #547b7a55;background:linear-gradient(120deg,#14292db8,#0b1c23ad);border-radius:3px;gap:8px;font-size:9.5px;font-weight:700;transition:background .2s,border-color .2s}.action-grid button:hover{background:#24443f;border-color:#9ddbc0}.action-grid button:active{transform:translateY(1px)}.action-grid button small{display:block;font-size:8px;color:#799c9a;margin-top:5px;font-weight:400}.actionIcon{font-size:21px;color:#a7ebd2}.action-grid button:disabled{opacity:.45;cursor:not-allowed}.bottom-mini{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin-top:20px;padding-top:13px;font-size:8px;color:#7f9995}.bottom-mini b{color:#cbe5dd;font-weight:600;margin-left:3px}.right-rail{position:absolute;top:111px;right:27px;z-index:14;width:178px;padding:17px;background:linear-gradient(110deg,rgba(5,16,24,.87),rgba(5,16,24,.68));border:1px solid #8bafae30;box-shadow:0 15px 55px #0007}.camera-label{letter-spacing:.13em;font-size:9px;color:#afcdca;display:flex;justify-content:space-between;font-weight:700}.camera-label span{color:#6c9692}#cameraOptions{display:flex;flex-direction:column;gap:2px;margin-top:13px}#cameraOptions button{font-family:'Space Grotesk';font-size:10px;text-align:left;letter-spacing:.02em;padding:9px 5px;color:#6e9696;border-left:2px solid transparent;display:flex;gap:11px}#cameraOptions button span{color:#aac7c5}#cameraOptions button.active{border-left-color:#9ef5cc;color:#b5f3db;background:#19343b66}#cameraOptions button:hover{background:#254a4933}.rail-separator{height:1px;background:var(--line);margin:13px 0}.layer-label{font-size:9px;letter-spacing:.15em;color:#708f90;margin:12px 0 9px}.rail-toggle{display:flex;align-items:center;gap:8px;margin:9px 0;font-size:10px;color:#b5c6c5}.rail-toggle input{accent-color:#9cebd0;margin:0;width:13px;height:13px;cursor:pointer}.quality-btn{width:100%;text-align:left;padding:10px;border:1px solid var(--line);color:#b2dcce;font-size:9px;letter-spacing:.09em;display:flex;justify-content:space-between}.inspector{position:absolute;right:27px;bottom:109px;width:260px;z-index:15;border:1px solid #719c9255;background:linear-gradient(140deg,rgba(7,22,27,.96),rgba(4,15,22,.90));padding:16px;box-shadow:0 18px 45px #0008;transform:translateY(0);transition:opacity .25s,transform .25s}.inspector.hidden{opacity:0;pointer-events:none;transform:translateY(10px)}.inspector-top{display:flex;justify-content:space-between;font-size:9px;letter-spacing:.13em;color:#8cbdad}.inspector-top button{color:#94b4ad;font-size:20px;line-height:10px}.inspector h2{font-family:'Space Grotesk';font-weight:500;font-size:20px;line-height:1.1;margin:15px 0 9px}.inspector p{line-height:1.6;color:#91a8a6;font-size:10px;margin:0 0 12px}.inspect-row{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;padding:9px 0;color:#91a4a4;font-size:10px}.inspect-row b{font-family:'Space Grotesk';color:#c3eee0;font-weight:500}.follow-btn{font-family:'Space Grotesk';border:1px solid #8ddcbe7a;color:#b0f6d9;width:100%;padding:10px;font-size:10px;letter-spacing:.09em;text-align:center;margin-top:5px}.follow-btn:hover{background:#1a4139}.hud-bottom{position:absolute;bottom:0;left:0;right:0;height:93px;z-index:16;background:linear-gradient(0deg,rgba(3,12,18,.98),rgba(4,13,19,.86));border-top:1px solid var(--line);display:flex;align-items:center;padding:0 31px;gap:36px}.timeline-panel{width:300px;flex-shrink:0}.hud-label{font-size:9px;color:#95b3ae;letter-spacing:.14em;display:flex;justify-content:space-between}.hud-label span{color:#9be3c1}.time-controls{display:flex;align-items:center;gap:6px;margin-top:10px}.time-controls button{border:1px solid #5b858466;font-size:10px;height:29px;min-width:34px;color:#97b6b4}.time-controls button.active{background:#a6e7d4;color:#0c2024;border-color:#a6e7d4;font-weight:700}.time-controls button:hover{border-color:#bbf7e0}.time-controls button.pause{font-size:11px;min-width:35px}.time-controls .minimal{min-width:0;border:0;letter-spacing:.04em;font-size:9px;white-space:nowrap}.bar-sep{height:19px;width:1px;background:var(--line);margin:0 3px}.hint{display:flex;gap:18px;font-size:9px;color:#668988;letter-spacing:.1em;flex:1}.fps{color:#a0c0ba;font-size:10px;white-space:nowrap}.eventlog{position:absolute;bottom:110px;left:323px;z-index:12;width:330px;border-left:1px solid #aacbc457;padding-left:13px;pointer-events:none;text-shadow:0 2px 10px #000}.event-head{color:#accbc7;font-size:9px;letter-spacing:.17em;font-weight:700;display:flex;justify-content:space-between}.event-head button{pointer-events:auto;color:#b2cdc5}.log-entry{font-size:10px;color:#abbab6;margin-top:9px;display:flex;gap:8px;line-height:1.5}.log-entry time{white-space:nowrap;color:#74bfae;font-size:9px}.log-entry em{font-style:normal;color:#e4c28f}.eventlog.collapsed #logEntries{display:none}.toaststack{position:absolute;top:100px;left:50%;transform:translateX(-50%);z-index:50;display:flex;flex-direction:column;gap:7px;pointer-events:none}.toast{max-width:420px;min-width:260px;padding:13px 18px;background:#0a252cee;border:1px solid #7ab7b188;box-shadow:0 8px 30px #0009;color:#e4f6ed;text-align:center;font-size:11px;animation:toastIn .3s ease}.toast.warn{border-color:#c69c5e}.toast.error{border-color:#f17f85}.help-overlay{position:absolute;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle,rgba(2,12,21,.74),rgba(0,4,10,.95));backdrop-filter:blur(9px);padding:24px}.help-overlay.hidden{display:none}.help-dialog{position:relative;width:min(790px,100%);padding:43px 49px 30px;border:1px solid #6b979066;background:linear-gradient(135deg,#11262b,#061217 80%);box-shadow:0 35px 100px #0009}.help-logo{font-size:10px;letter-spacing:.2em;color:#a3efce}.close-help{position:absolute;right:30px;top:26px;font-size:24px;color:#a0c6bd}.help-dialog h1{font-family:'Space Grotesk';font-weight:500;line-height:1.03;letter-spacing:-.064em;font-size:clamp(36px,6vw,63px);margin:30px 0 18px}.help-dialog h1 em{font-style:normal;color:#95dfbe}.help-dialog>p{max-width:610px;font-size:13px;line-height:1.75;color:#9ab3b0}.help-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:21px;margin:28px 0 32px}.help-columns>div{border-top:1px solid #67918c66;padding-top:15px}.help-columns b{color:#afeed5;font-size:10px;letter-spacing:.17em}.help-columns p{color:#91a9a6;font-size:11px;line-height:1.7}.enter-button{display:flex;align-items:center;justify-content:space-between;width:100%;background:#b2ebd2;color:#0b2929;letter-spacing:.12em;font-family:'Space Grotesk';font-weight:700;padding:17px 20px}.enter-button:hover{background:#d5ffeb}.footnote{font-size:9px;color:#63827e;letter-spacing:.12em;margin-top:19px;text-align:center}.fatal{position:absolute;inset:0;z-index:100;background:#080e13;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px}.fatal.hidden{display:none}.fatal button{border:1px solid #b0e7d0;padding:12px 25px;margin-top:20px}@keyframes pulse{50%{opacity:.35;transform:scale(.7)}}@keyframes toastIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1220px){.right-rail{right:14px;width:157px}.inspector{right:14px}.hint{gap:9px;font-size:8px}.sidebar{width:275px;padding:24px 18px}.eventlog{left:289px}.topbar{padding:0 21px}}@media(max-width:950px){.right-rail{top:92px;width:145px}.sidebar{top:82px;width:250px;bottom:87px}.hud-bottom{height:87px;padding:0 18px}.hint{display:none}.eventlog{left:265px;bottom:103px;width:260px}.inspector{right:14px;bottom:103px}.topright .sep,.live{display:none}}@media(max-width:680px){.topbar{height:60px;padding:0 13px}.brandglyph{font-size:30px}.brandname{font-size:11px}.brandtag{font-size:7px}.topright{gap:10px;font-size:9px}.sidebar{top:60px;bottom:76px;width:215px;padding:16px 13px;max-height:calc(100% - 136px)}.panel-title{font-size:19px}.resource{margin:9px 0}.right-rail{display:none}.eventlog{display:none}.inspector{right:7px;bottom:85px;width:190px}.hud-bottom{height:76px;padding:0 9px}.timeline-panel{width:100%}.time-controls .minimal{font-size:8px}.fps{display:none}.sidebar .intro{font-size:10px}.help-dialog{padding:23px}.help-columns{grid-template-columns:1fr;gap:4px}.help-columns p{margin:8px 0}.help-dialog h1{margin:18px 0}.help-dialog>p{font-size:11px}.footnote{font-size:7px}}
