:root{color-scheme:dark;--base:#171918;--panel:#202221;--line:#373a37;--muted:#a3a8a2;--lime:#d2f694;--white:#eef1eb}*{box-sizing:border-box}body{margin:0;background:var(--base);color:var(--white);font:13px/1.5 Segoe UI,Microsoft YaHei,sans-serif}button,input{font:inherit}button{background:none;color:inherit;border:0;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:hover{color:var(--lime)}button:disabled{opacity:.35;cursor:not-allowed}button:focus-visible,input:focus-visible{outline:2px solid var(--lime);outline-offset:3px}svg{flex-shrink:0;stroke-width:1.75}h1,h2,h3,p{margin:0}h1,h2{font-size:16px}h3{font-size:13px}i{height:20px;width:1px;background:var(--line)}.studio{display:grid;height:100vh;height:100dvh;grid-template-columns:78px minmax(0,1fr) clamp(254px,22vw,322px);grid-template-rows:66px minmax(0,1fr) 27px;grid-template-areas:"top top top" "rail work insp" "foot foot foot";overflow:hidden}.top{grid-area:top;padding:0 24px;gap:20px;background:#1e201f;border-bottom:1px solid var(--line)}.brand,.top{display:flex;align-items:center}.brand{gap:9px}.brandmark{width:35px;height:35px;background:var(--lime);color:#20271a;border-radius:9px;display:grid;place-items:center}.brandmark svg{stroke-width:2}.brand strong{font-size:21px}.brand b{font:700 11px/1 Consolas,monospace;color:var(--lime)}.headDivider{height:18px;border-left:1px solid var(--line)}.workspace{color:#bdc1bb;font-size:13px}.actions{display:flex;align-items:center;gap:12px;margin-left:auto}.history{display:flex;gap:4px}.history button{width:32px;height:32px}.actions svg,.save svg{width:17px}.open,.primary{height:35px;padding:0 16px;border-radius:6px;font-weight:600}.open{border:1px solid #494d47;background:#2c2f2c}.primary{background:var(--lime);color:#1d2716}.primary:hover{color:#111;background:#e1ffac}.rail{grid-area:rail;background:#202221;border-right:1px solid var(--line);display:flex;align-items:center;padding:17px 7px;gap:8px}.rail,.rail button{flex-direction:column}.rail button{gap:4px;width:60px;height:61px;color:#a7aca6;border-radius:7px;font-size:11px}.rail button svg{width:20px}.rail button.active{background:#333d2b;color:var(--lime)}.rail button:hover:not(.active){background:#2b2e2b;color:#fff}.work{grid-area:work;min-height:0;min-width:0;display:grid;grid-template-rows:47px minmax(0,1fr) 39px auto}.docbar,.viewbar{padding:0 21px;display:flex;align-items:center;gap:10px}.docbar{border-bottom:1px solid #303330;background:#232523}.fileicon{color:#abb1a8;display:flex}.docbar strong{font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.docdims,.local span,.spaceEnd,.striptitle small,.zoom span,footer,output{font-family:Consolas,Microsoft YaHei,monospace}.docdims{color:var(--muted)}.compare,.docdims{font-size:11px;white-space:nowrap}.compare{margin-left:auto;color:#c1c6be;padding:4px 8px;border:1px solid var(--line);border-radius:4px}.compare.on{color:var(--lime)}.desk,.viewbar{background-color:#171918}.desk{position:relative;min-height:0;background-image:radial-gradient(#30332f .7px,transparent .9px);background-size:12px 12px}.scroll{position:absolute;inset:0;overflow:auto}.mat{display:flex;min-width:100%;min-height:100%;width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;padding:12px;align-items:center;justify-content:center}.mat canvas{display:block;box-shadow:0 5px 20px #0005}.marking{cursor:crosshair;touch-action:none}.viewbar{justify-content:space-between;color:var(--muted);font-size:11px}.live,footer span{display:inline-flex;align-items:center;gap:7px}.live b,footer b{width:5px;height:5px;background:var(--lime);border-radius:50%}.zoom{display:flex;align-items:center;gap:2px}.zoom span{min-width:38px;text-align:center}.zoom button{height:26px;width:24px}.zoom svg{width:13px}.zoom i{height:12px;margin:0 5px}.film{padding:13px 20px 14px;border-top:1px solid var(--line);background:#212321;min-width:0}.inspecttitle,.sectionhead,.secttoggle,.striptitle{display:flex;align-items:center}.striptitle{gap:9px;margin-bottom:10px}.striptitle svg{color:#b4bbaf}.striptitle h2{font-size:14px}.striptitle small{font-size:10px;color:#93998f}.presets{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.presets button{display:block;padding:0;text-align:left;min-width:0;color:#b5bbb2;font-size:11px}.thumb{height:clamp(48px,7.3vh,79px);position:relative;border-radius:5px;overflow:hidden;border:2px solid transparent}.library img,.thumb img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;display:block}.picked .thumb{border-color:var(--lime)}.picked label{color:var(--lime)}.thumb span{position:absolute;right:3px;bottom:3px;border-radius:50%;width:15px;height:15px;background:var(--lime);color:#222;display:grid;place-items:center}.presets label{display:block;padding:4px 2px 0;cursor:pointer}.inspector{grid-area:insp;border-left:1px solid var(--line);background:var(--panel);display:flex;flex-direction:column;min-height:0}.inspecttitle{height:54px;gap:10px;padding:0 20px;border-bottom:1px solid var(--line);flex:none}.inspecttitle>svg:first-child{color:var(--lime)}.closePanel,.desktopGlyph{margin-left:auto;color:#969d91}.closePanel,.mobileDone{display:none!important}.innerscroll{flex:1;overflow:auto;scrollbar-width:thin}.group,.options,.plot{padding:16px 20px;border-bottom:1px solid var(--line)}.sectionhead{justify-content:space-between}.rgb{display:flex;gap:5px;font:10px Consolas,monospace}.rgb b:first-child{color:#e5a099}.rgb b:nth-child(2){color:#9bcba2}.rgb b:nth-child(3){color:#a5badb}.plot svg{display:block;width:100%;height:56px;background:repeating-linear-gradient(90deg,transparent 0 calc(25% - 1px),#3b3e39 25%);border-bottom:1px solid #4d534b;margin-top:12px}.plot path{opacity:.68;mix-blend-mode:screen}.secttoggle{gap:8px;padding:0}.secttoggle svg:first-child{color:#bbc3b6}.reset,.secttoggle svg:last-child{color:#969e93}.reset{width:24px;height:24px}.sliders{display:grid;gap:12px;margin-top:13px}.sliders label>span{display:flex;align-items:center;justify-content:space-between;color:#c5c9c2;font-size:12px}output{color:#d8ded2;min-width:34px;text-align:center;font-size:11px;background:#292c29;border:1px solid #3e423c;border-radius:4px;line-height:18px}input[type=range]{width:100%;display:block;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;height:15px;margin:4px 0 0;cursor:pointer}input[type=range]::-webkit-slider-runnable-track{background:#52574e;border-radius:2px;height:3px}input[type=range]::-moz-range-track{background:#52574e;height:3px}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:var(--lime);width:10px;height:10px;border-radius:50%;margin-top:-3.5px}input[type=range]::-moz-range-thumb{background:var(--lime);width:10px;height:10px;border:0;border-radius:50%}.local{border-top:1px solid var(--line);display:flex;align-items:center;gap:7px;color:#b0b7aa;padding:12px 20px;font-size:11px}.local svg{color:#a8c68b}.local span{margin-left:auto;font-size:9px;color:#7e8779}footer{grid-area:foot;border-top:1px solid var(--line);background:#191b19;display:flex;align-items:center;gap:20px;padding:0 20px;font-size:10px;color:#9da398}footer .spaceEnd{margin-left:auto}.dialog h3,.options h3{margin:8px 0 12px}.choices,.library{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:20px}.choices button,.library button,.textfield,.wide{background:#292c29;border:1px solid #41463f;border-radius:5px;padding:7px}.sel{color:var(--lime);border-color:#9cbe77!important}.wide{width:100%;margin-bottom:8px}.wide svg{width:16px}.library{grid-template-columns:repeat(2,1fr)}.library button{display:flex;flex-direction:column}.library img{height:62px;border-radius:3px}.textfield{width:100%;color:#fff;margin-bottom:10px}.swatches{display:flex;align-items:center;gap:9px}.swatches button,.swatches input{width:22px;height:22px;border-radius:50%;padding:0;border:1px solid #797e74}.swatches .chosen{outline:2px solid var(--lime);outline-offset:2px}.options input[type=range]{margin-bottom:20px}.toast{position:fixed;bottom:48px;left:50%;transform:translateX(-50%);z-index:5;background:#e5efda;color:#20251c;padding:9px 18px;border-radius:6px}.overlay{position:fixed;inset:0;z-index:6;background:#0009;display:grid;place-items:center}.dialog{width:min(360px,92vw);padding:22px;background:#242724;border:1px solid #454b40;border-radius:8px}.dialog p{margin:13px 0 18px;color:var(--muted);overflow-wrap:anywhere}.save{width:100%;margin-top:16px}@media(max-width:850px){.studio{grid-template-columns:62px minmax(0,1fr) 230px}.rail button{width:48px}.film{padding:10px}.presets{gap:5px}.group,.options,.plot{padding:12px 14px}}@media(max-width:700px){.studio{grid-template-rows:56px minmax(0,1fr) 62px;grid-template-columns:minmax(0,1fr);grid-template-areas:"top" "work" "rail"}.top{padding:0 10px;gap:8px}.brand{gap:5px}.brand strong{font-size:16px}.brandmark{width:28px;height:28px}.brandmark svg{width:24px}.actions i,.brand b,.headDivider,.workspace,footer{display:none}.actions{gap:5px}.history{gap:0}.history button{width:25px}.open,.primary{font-size:12px;padding:0 9px;gap:5px;height:32px}.rail{flex-direction:row;justify-content:space-around;border-top:1px solid var(--line);padding:4px;gap:0}.rail button{width:18%;height:51px}.work{grid-template-rows:40px minmax(0,1fr) 32px auto}.docbar,.viewbar{padding:0 12px}.docdims{font-size:9px}.film{padding:9px 12px}.presets{display:flex;overflow:auto}.presets button{flex:0 0 69px}.thumb{height:42px}.striptitle{margin-bottom:5px}.inspector{display:none}.inspector.shown{display:flex;position:fixed;bottom:62px;left:0;right:0;max-height:48dvh;z-index:3;border:1px solid var(--line);box-shadow:0 -8px 35px #0005}.desktopGlyph,.local{display:none}.closePanel,.mobileDone{display:inline-flex!important}.mobileDone{margin:15px 0 0}.inspecttitle{height:40px}.plot{display:none}.options{padding:12px}.group{padding:10px 18px}.sliders{gap:5px}.options h3{margin:4px 0 8px}.library{grid-template-columns:repeat(3,1fr)}}