@import"https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700;800;900&family=DM+Sans:wght@400;500;600;700&display=swap";:root{font-family:DM Sans,system-ui,sans-serif;color:#dce9e8;background:#101d23;font-synthesis:none;font-weight:400}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input{font:inherit}button{cursor:pointer}a{color:#a8e8c8}.shell{min-height:100vh;display:flex;flex-direction:column;background:#111f25}.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 34px;border-bottom:1px solid #30444a;gap:16px}.brand{display:flex;align-items:center;gap:12px}.brand-emblem{font-family:Barlow Condensed,sans-serif;font-size:29px;font-weight:900;letter-spacing:-2px;position:relative;background:#f26358;color:#12242a;width:53px;height:53px;display:grid;place-items:center;transform:skew(-8deg)}.brand-emblem span{position:absolute;font-size:12px;right:1px;top:0;color:#fff}.brand strong{font-family:Barlow Condensed;display:block;line-height:.9;font-size:29px;font-weight:900;letter-spacing:1.5px;color:#f3f4e9}.brand small{display:block;font-size:9px;color:#80a19d;letter-spacing:3.3px;margin-top:7px}.brand i{font-style:normal;color:#f27b6c}.top-tag{font-size:10px;letter-spacing:2px;font-weight:700;color:#9fbdba}.status-dot,.tiny-dot{width:7px;height:7px;border-radius:50%;background:#a6df91;display:inline-block;margin-right:9px;box-shadow:0 0 0 4px #a6df9120}.slash{color:#f26358;margin:0 10px}.toolbar{display:flex;gap:8px}.light-button{color:#e4ece5;background:#1d3037;border:1px solid #405057;padding:12px 14px;font-family:Barlow Condensed;font-size:13px;font-weight:800;letter-spacing:1px}.light-button:hover,.preset-row button:hover{border-color:#97cab2;color:#fff}.layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:0;flex:1;min-height:calc(100vh - 78px)}.stage{min-height:640px;position:relative;overflow:hidden;background:radial-gradient(#314957,#172a34);isolation:isolate}.render-canvas{width:100%;height:100%;display:block;position:absolute;inset:0;outline:0}.stage-vignette{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(to bottom,#0b1e24ae,transparent 21%,transparent 75%,#0b1c23c9)}.stage-upper,.stage-bottom{z-index:2;pointer-events:none;position:absolute;left:36px;right:36px;display:flex;justify-content:space-between;align-items:flex-start}.stage-upper{top:32px}.race-label span,.race-label small,.lap-counter small,.time-block span{display:block;font-size:10px;color:#b8cecb;letter-spacing:2.1px;font-weight:700}.race-label span{color:#fdc772}.race-label strong{font-family:Barlow Condensed;font-weight:900;font-size:38px;line-height:1.1;letter-spacing:1.4px;display:block;color:#f3f3e9}.race-label small{color:#b2c6c1}.lap-counter{text-align:right}.lap-counter strong{font-family:Barlow Condensed;font-size:43px;letter-spacing:1px;color:#fff}.lap-counter strong span{font-size:21px;color:#a4b6b0}.stage-bottom{bottom:28px;align-items:end}.time-block b{font-family:Barlow Condensed;font-size:36px;letter-spacing:2px;color:#f4f5e7}.surface-chip{font-family:Barlow Condensed;font-weight:700;font-size:13px;color:#d7efde;letter-spacing:1px;padding:10px 14px;border:1px solid #79b79775;background:#1d3635bd}.surface-chip.warning{color:#ffce96;border-color:#fbaa6688}.surface-dot{display:inline-block;width:7px;height:7px;background:#9de4b9;border-radius:50%;margin-right:8px}.surface-chip.warning .surface-dot{background:#fbaa66}.speed-block{text-align:right;display:flex;align-items:baseline;gap:7px}.speed-block b{font-family:Barlow Condensed;font-size:62px;line-height:.8;color:#f5f7ec}.speed-block span{font-size:10px;color:#a6c1bb;letter-spacing:1px}.sidebar{background:#14252b;border-left:1px solid #2f464d;padding:20px 21px 16px;display:flex;flex-direction:column;gap:14px}.panel{border:1px solid #365058;background:#1a3037;padding:21px 21px 18px}.panel-heading{display:flex;align-items:center;gap:13px;margin-bottom:11px}.panel-heading span{font-family:Barlow Condensed;font-size:17px;color:#f78370;font-weight:800}.panel-heading h3{font-family:Barlow Condensed;font-size:19px;letter-spacing:1.35px;margin:0;font-weight:900;color:#edf4e9}.panel p{font-size:12px;line-height:1.55;color:#a4bdb8;margin:0 0 17px}.preset-row{display:flex;gap:6px;margin:17px 0 23px}.preset-row button{flex:1;background:#1e3c45;border:1px solid #45616a;padding:9px 3px;color:#ccdfd8;font-family:Barlow Condensed;font-weight:800;letter-spacing:.7px;font-size:12px}.slider-label{display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:1.2px;font-weight:700;margin-top:15px;color:#b5cdc5}.slider-label b{color:#eeefe1;font-size:12px}.panel input[type=range]{accent-color:#eb6a5e;width:100%;margin:9px 0 3px;cursor:pointer}.hidden-input{display:none}.upload-button{width:100%;padding:14px;background:#e76d5d;color:#172a2b;border:0;font-family:Barlow Condensed;font-size:15px;font-weight:900;letter-spacing:1px;transition:background .15s}.upload-button:hover{background:#ffa38c}.upload-button:disabled{opacity:.7;cursor:wait}.upload-button span{font-size:22px;vertical-align:-2px;margin-right:9px}.import-status{border-top:1px solid #37505a;margin-top:15px;padding-top:14px;display:flex;align-items:start;gap:3px}.import-status .tiny-dot{margin-top:5px;flex:none}.import-status strong,.import-status small{font-size:11px;font-weight:600;color:#d5e0d9;line-height:1.4;display:block}.import-status small{font-weight:400;color:#91aea8;margin-top:3px}.run-progress{display:flex;gap:7px;margin:12px 0 20px}.run-step{flex:1;display:flex;align-items:center;gap:7px;color:#78958f;font-family:Barlow Condensed;font-weight:800}.run-step div{height:4px;flex:1;background:#41555a}.run-step.current{color:#f3f4ea}.run-step.current div{background:#f27e68}.run-step.done div{background:#9acb98}.stats>div{display:flex;justify-content:space-between;border-top:1px solid #365059;padding:9px 0;font-size:10px;letter-spacing:1px;color:#9cb9b2;font-weight:700}.stats b{color:#f3ce8a;font-size:12px}.help .keys{display:flex;align-items:center;gap:5px;margin:14px 0}.help .keys span{display:grid;place-items:center;background:#28414a;border-bottom:3px solid #0e1b20;width:29px;height:29px;font-weight:700;font-size:13px;color:#fff}.help .keys small{margin-left:8px;color:#b0c9bf;font-size:11px}.help p{margin-bottom:0}.sidebar footer{font-size:9px;line-height:1.65;letter-spacing:.9px;color:#63837e;text-align:center;padding:2px 0}.overlay{position:absolute;inset:0;z-index:4;background:#11242ac9;display:grid;place-items:center;padding:24px;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.result-card{max-width:660px;width:100%;padding:34px 36px;background:#172f36;border:1px solid #5f7876;box-shadow:0 22px 60px #0007;text-align:center}.result-card .eyebrow{color:#f39a7c;letter-spacing:3px;font-size:11px;font-weight:800}.result-card h2{margin:6px 0 4px;font-family:Barlow Condensed;font-size:61px;font-weight:900;letter-spacing:1px;color:#fcf6e6}.result-card p{color:#b9cfc6;line-height:1.5;font-size:14px;margin:0 0 20px}.upgrade-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.upgrade-card{text-align:left;display:flex;flex-direction:column;padding:18px 15px;min-height:184px;background:#25444b;border:1px solid #51716b;color:#fff}.upgrade-card:hover{border-color:#f4ad8e;background:#2f5355}.upgrade-icon{font-size:28px;color:#f5ba79;height:42px}.upgrade-card strong{font-family:Barlow Condensed;font-size:22px;letter-spacing:.5px}.upgrade-card small{font-size:11px;color:#bed2c5;line-height:1.4;margin-top:7px}.upgrade-card em{font-family:Barlow Condensed;font-size:13px;letter-spacing:1px;font-weight:800;color:#ffb58c;font-style:normal;margin-top:auto;padding-top:10px}.cta{padding:16px 24px;background:#f37865;color:#1b302e;font-family:Barlow Condensed;font-size:18px;font-weight:900;border:0;letter-spacing:1px}@media(max-width:1050px){.layout{grid-template-columns:1fr}.stage{min-height:calc(100svh - 85px);max-height:900px}.sidebar{display:grid;grid-template-columns:1fr 1fr;padding:16px;align-items:start}.sidebar footer{grid-column:1/-1}.top-tag{display:none}}@media(max-width:680px){.topbar{padding:0 12px;height:66px}.brand-emblem{width:41px;height:41px;font-size:23px}.brand strong{font-size:21px}.brand small{font-size:7px;letter-spacing:1.5px}.toolbar{gap:4px}.light-button{font-size:11px;padding:8px 7px}.stage{min-height:560px;height:75svh;max-height:680px}.stage-upper,.stage-bottom{left:16px;right:16px}.race-label strong{font-size:28px}.lap-counter strong{font-size:33px}.stage-bottom{bottom:20px}.time-block b{font-size:27px}.speed-block b{font-size:47px}.surface-chip{display:none}.sidebar{display:flex;padding:14px}.result-card{padding:22px 17px}.result-card h2{font-size:47px}.upgrade-grid{gap:6px}.upgrade-card{min-height:170px;padding:10px 7px}.upgrade-card strong{font-size:16px}.upgrade-card small{font-size:10px}}.menu-overlay{background:#10242a60;-webkit-backdrop-filter:none;backdrop-filter:none}.menu-overlay .light-button{display:block;margin:16px auto 0}.editor-actions{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.panel input:not([type=checkbox]),.panel select{width:100%;background:#14252b;color:#e3eee4;border:1px solid #45616a;padding:8px;margin:5px 0}.property-row{display:grid;grid-template-columns:1fr 100px;align-items:center;font-size:12px}.asset-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;max-height:340px;overflow:auto}.asset-card{background:#203b42;border:1px solid #45616a;color:#dce9e8;min-width:0;padding:4px}.asset-card img{width:100%;display:block;aspect-ratio:1.28}.asset-card small{display:block;overflow-wrap:anywhere;font-size:10px}.valid{color:#a6df91!important}.invalid{color:#ffab89!important;white-space:pre-line}button:disabled{opacity:.45;cursor:not-allowed}.panel label{font-size:12px}.stage{touch-action:none}@media(min-width:1051px){.layout{height:calc(100vh - 78px);min-height:640px;flex:none}.sidebar{overflow-y:auto;max-height:100%}}
