:root{--panel: #2b2b2b;--panel-2: #353535;--panel-3: #444;--text: #ddd;--text-dim: #999;--accent: #3d8bff;--tool-size: 36px;color-scheme:dark}*{box-sizing:border-box}html,body,#root{margin:0;height:100%;overflow:hidden;background:var(--panel);color:var(--text);font:12px/1.3 system-ui,-apple-system,Segoe UI,sans-serif;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;overscroll-behavior:none}.app{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) 0 env(safe-area-inset-left,0px);background:var(--panel);touch-action:none}.app.coarse{--tool-size: 48px}button{font:inherit;color:var(--text);background:var(--panel-2);border:1px solid #1e1e1e;border-radius:4px;padding:4px 9px;cursor:pointer;touch-action:manipulation}button:hover:not(:disabled){background:var(--panel-3)}button:disabled{opacity:.4;cursor:default}button.on{background:var(--accent);color:#fff}.topbar{display:flex;align-items:center;gap:12px;padding:6px 10px;background:var(--panel);border-bottom:1px solid #1a1a1a;flex-wrap:wrap}.coarse .topbar button{padding:8px 12px}.brand{font-weight:600;letter-spacing:.02em}.bar-group{display:flex;gap:4px;align-items:center}.spacer{flex:1}.field{display:flex;align-items:center;gap:5px;color:var(--text-dim)}.field input{width:56px;background:#1f1f1f;color:var(--text);border:1px solid #111;border-radius:3px;padding:3px 5px;font:inherit}.zoom-label{min-width:56px}.rotation-label{font-variant-numeric:tabular-nums;white-space:nowrap}.main{flex:1;display:flex;min-height:0}.toolbar{width:max(60px,calc(var(--tool-size) + 14px));background:var(--panel);border-right:1px solid #1a1a1a;display:flex;flex-direction:column;align-items:center;padding:8px 0;gap:6px}.tool-group{display:flex;flex-direction:column;gap:2px;padding-bottom:6px;border-bottom:1px solid #1f1f1f}.tool{width:var(--tool-size);height:var(--tool-size);padding:0;display:grid;place-items:center;background:transparent;border:1px solid transparent}.tool svg{width:24px;height:24px}.tool.active{background:#1d1d1d;border-color:#111;color:#fff}.tool.temp{outline:1px dashed var(--accent)}.fill-stroke{margin-top:6px;display:flex;flex-direction:column;align-items:center;gap:6px}.fs-swatches{position:relative;width:44px;height:44px}.fs{position:absolute;width:28px;height:28px;padding:0;border-radius:1px}.fs-fill{left:0;top:0;border:1px solid #888}.fs-stroke{right:0;bottom:0;background:var(--panel)!important;border:7px solid #000;outline:1px solid #888;outline-offset:-1px}.fs[data-none=true]{background:#fff linear-gradient(to top right,transparent calc(50% - 1px),#e33 calc(50% - 1px),#e33 calc(50% + 1px),transparent calc(50% + 1px))!important}.fs-stroke[data-none=true]{border-color:#fff!important}.focus-fill .fs-fill,.focus-stroke .fs-stroke{z-index:1}.focus-stroke .fs-fill{z-index:0}.fs-actions{display:flex;gap:2px}.fs-actions button{width:18px;height:18px;padding:0;background:transparent;border:none}.fs-actions svg{width:14px;height:14px}.hidden-color{position:absolute;opacity:0;width:0;height:0;pointer-events:none}.stage{position:relative;flex:1;min-width:0}.canvas{display:block;width:100%;height:calc(100% - var(--tl-h, 0px));touch-action:none;outline:none}.hint{position:absolute;left:0;right:0;bottom:0;padding:4px 10px;padding-bottom:max(4px,env(safe-area-inset-bottom,0px));background:#1e1e1ed9;color:var(--text-dim);font-size:11px;pointer-events:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hint strong{color:var(--text)}.context-bar{position:absolute;display:flex;gap:2px;padding:3px;background:#2b2b2bf5;border:1px solid #111;border-radius:10px;box-shadow:0 4px 16px #00000059;z-index:5}.ctx-btn{display:grid;place-items:center;width:32px;height:32px;padding:0;border:none;background:transparent;border-radius:5px}.ctx-btn svg{width:18px;height:18px}.coarse .ctx-btn{width:38px;height:38px}.ctx-pen{left:50%;bottom:calc(36px + env(safe-area-inset-bottom,0px));transform:translate(-50%)}.puck-wrap{position:absolute;left:24px;bottom:48px;width:72px;height:72px;border-radius:50%;background:#00000014;border:1px dashed rgba(0,0,0,.25);display:grid;place-items:center;z-index:4}.puck{width:52px;height:52px;border-radius:50%;background:#2b2b2be6;border:2px solid #111;box-shadow:0 2px 10px #00000059;display:grid;place-items:center;font-size:20px;color:#fff;touch-action:none}.puck.shift{background:var(--accent)}.puck.alt{background:#d9762b}.puck.locked{box-shadow:0 0 0 3px var(--accent)}.tool-slot{position:relative}.tool.has-group:after{content:"";position:absolute;right:3px;bottom:3px;border:3px solid transparent;border-right-color:currentColor;border-bottom-color:currentColor;opacity:.7}.tool{position:relative;-webkit-touch-callout:none}.flyout{position:absolute;left:calc(100% + 6px);top:-4px;z-index:31;display:flex;flex-direction:column;min-width:210px;padding:4px;background:#262626;border:1px solid #111;border-radius:8px;box-shadow:0 6px 20px #00000073}.flyout-item{display:flex;align-items:center;gap:10px;padding:6px 8px;border:none;background:transparent;text-align:left}.coarse .flyout-item{padding:10px}.flyout-item svg{width:20px;height:20px;flex:none}.flyout-item.active{background:#1a1a1a}.flyout-name{flex:1;white-space:nowrap}.flyout-item kbd{font:11px system-ui,sans-serif;color:var(--text-dim)}.flyout-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30}.color-panel{position:absolute;left:10px;bottom:34px;z-index:20;width:260px;display:flex;flex-direction:column;gap:10px;padding:10px;background:#262626;border:1px solid #111;border-radius:10px;box-shadow:0 8px 28px #00000073}.color-panel.hosted{position:static;width:auto;padding:0;background:none;border:0;border-radius:0;box-shadow:none}.cp-head{display:flex;gap:4px;align-items:center}.cp-tabs{flex:1;display:flex;background:#1b1b1b;border-radius:6px;padding:2px}.cp-tab{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;border:none;background:transparent;padding:5px 6px}.cp-tab.on{background:var(--panel-3)}.cp-chip{width:14px;height:14px;border:1px solid #888;display:inline-block}.cp-chip-stroke{background:transparent;border:4px solid #000;outline:1px solid #888;outline-offset:-1px}.cp-chip[data-none=true]{background:#fff linear-gradient(to top right,transparent 45%,#e33 45%,#e33 55%,transparent 55%);border-color:#fff}.cp-icon{width:28px;height:28px;padding:0;background:transparent;border:none}.cp-pad{position:relative;border-radius:6px;touch-action:none;cursor:crosshair}.cp-sv{height:150px}.cp-hue{height:16px;border-radius:8px;background:linear-gradient(to right,red,#ff0,#0f0,#0ff,#00f,#f0f,red)}.cp-knob{position:absolute;width:16px;height:16px;margin:-8px 0 0 -8px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #00000080,0 1px 4px #00000080;pointer-events:none}.cp-row{display:flex;align-items:center;gap:8px}.cp-hex{flex:1;display:flex;align-items:center;gap:4px;color:var(--text-dim)}.cp-hex input,.cp-weight input[type=number]{width:100%;min-width:0;background:#1b1b1b;color:var(--text);border:1px solid #111;border-radius:4px;padding:5px 6px;font:13px ui-monospace,SF Mono,Menlo,monospace;text-transform:uppercase;-webkit-user-select:text;user-select:text}.cp-weight{color:var(--text-dim)}.cp-weight input[type=range]{flex:1;min-width:0}.cp-weight input[type=number]{width:58px;flex:none}.cp-none{width:28px;height:28px;padding:0;background:#fff linear-gradient(to top right,transparent 46%,#e33 46%,#e33 54%,transparent 54%);border:2px solid transparent}.cp-none.on,.cp-swatch.on{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.cp-swatch-head{display:flex;justify-content:space-between;align-items:center;color:var(--text-dim);font-size:11px;text-transform:uppercase;letter-spacing:.06em}.cp-link{background:none;border:none;color:var(--accent);padding:2px 4px;text-transform:none;letter-spacing:0}.cp-swatches{display:grid;grid-template-columns:repeat(auto-fill,minmax(26px,1fr));gap:5px}.cp-swatch{aspect-ratio:1;padding:0;border:1px solid rgba(255,255,255,.15);border-radius:4px;position:relative}.cp-swatch.editing:after{content:"×";position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;font-size:16px;font-weight:700;color:#fff;background:#00000073;border-radius:3px}.cp-add{background:transparent;border:1px dashed #777;color:var(--text-dim);font-size:16px}@media (max-width: 640px){.desktop-only,.hint{display:none!important}.topbar{flex-wrap:nowrap;overflow-x:auto;touch-action:pan-x;gap:6px;padding:6px 8px}.topbar{justify-content:flex-start}.topbar .spacer{display:block;flex:1;min-width:0}.topbar .bar-group{gap:3px}.topbar button{padding:7px 9px;white-space:nowrap}.zoom-label{min-width:0}.main{flex-direction:column}.stage{order:1;flex:1;min-height:0}.toolbar{order:2;width:100%;flex-direction:row;align-items:center;justify-content:space-between;gap:2px;padding:4px 6px;padding-bottom:max(4px,env(safe-area-inset-bottom,0px));border-right:none;border-top:1px solid #1a1a1a;overflow:visible}.app.coarse{--tool-size: 42px}.tool-group{flex-direction:row;padding-bottom:0;border-bottom:none}.fill-stroke{margin-top:0;flex-direction:row}.fs-actions{flex-direction:column}.flyout{left:50%;top:auto;bottom:calc(100% + 8px);transform:translate(-50%);min-width:0;width:max-content;max-width:calc(100vw - 16px)}.tool-group:first-child .flyout{left:0;transform:none}.color-panel{left:0;right:0;bottom:0;width:auto;border-radius:14px 14px 0 0;padding:12px max(12px,env(safe-area-inset-left,0px)) 12px max(12px,env(safe-area-inset-right,0px))}.cp-sv{height:130px}.puck-wrap{bottom:16px;left:12px}.ctx-pen{bottom:16px}}.ctx-sep{width:1px;margin:6px 2px;background:#444}.isolation-bar{position:absolute;top:0;left:0;right:0;z-index:6;display:flex;align-items:center;gap:2px;padding:4px 8px;background:#c8d2e6eb;color:#222;border-bottom:1px solid rgba(0,0,0,.15);overflow-x:auto;white-space:nowrap}.isolation-bar button{background:transparent;border:none;color:#222;padding:4px 6px}.isolation-bar button:hover:not(:disabled){background:#00000014}.isolation-bar button:disabled{opacity:1;font-weight:600}.iso-back{font-size:18px;line-height:1}.iso-sep{color:#666}.ctx-btn.has-hold{position:relative}.ctx-btn.has-hold:after{content:"";position:absolute;right:3px;bottom:3px;border:2.5px solid transparent;border-right-color:currentColor;border-bottom-color:currentColor;opacity:.6}.menu-wrap{position:relative}.menu{position:absolute;top:calc(100% + 6px);left:0;z-index:31;display:flex;flex-direction:column;min-width:170px;max-height:calc(100dvh - 70px - env(safe-area-inset-top,0px));overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;padding:4px;background:#262626;border:1px solid #111;border-radius:8px;box-shadow:0 6px 20px #00000073}.menu button{text-align:left;border:none;background:transparent;padding:8px 10px}.icon-btn{display:grid;place-items:center;width:32px;height:28px;padding:0}.icon-btn svg{width:18px;height:18px}.coarse .icon-btn{width:40px;height:36px}.floating-panel{position:absolute;z-index:15;width:268px;background:#262626;border:1px solid #111;border-radius:10px;box-shadow:0 8px 28px #00000073}.fp-head{display:flex;align-items:center;justify-content:space-between;padding:4px 4px 4px 10px;border-bottom:1px solid #1a1a1a;cursor:grab;touch-action:none}.fp-title{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--text-dim)}.fp-body{padding:10px}.pn{display:flex;flex-direction:column;gap:8px}.pn-label{font-size:11px;color:var(--text-dim)}.pn-row{display:flex;gap:4px;align-items:center;flex-wrap:wrap}.pn-btn{display:grid;place-items:center;width:36px;height:32px;padding:0;background:#1f1f1f}.coarse .pn-btn{width:40px;height:38px}.pn-btn svg{width:20px;height:20px}.pn-btn.on{background:var(--accent);color:#fff}.pn-field{display:flex;align-items:center;gap:5px;color:var(--text-dim)}.pn-field input,.pn-select{min-width:0;width:64px;background:#1b1b1b;color:var(--text);border:1px solid #111;border-radius:4px;padding:5px 6px;font:inherit}.pn-select{flex:1;width:100%}.pn-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pn-grid .pn-field input{flex:1;width:100%}.pn-glyph{font-size:11px;font-weight:600;width:18px;color:var(--text)}.pn-note{margin:0;font-size:11px;color:var(--text-dim)}.text-editor{position:absolute;left:0;top:0;z-index:4;transform-origin:0 0;margin:0;padding:0;border:0;outline:none;resize:none;overflow:hidden;background:transparent;color:transparent;-webkit-user-select:text;user-select:text;touch-action:auto}.text-editor::selection{background:#3d8bff59}@media (max-width: 640px){.floating-panel{left:0!important;right:0;top:auto!important;bottom:0;width:auto;border-radius:14px 14px 0 0}.fp-head{cursor:default}.fp-body{padding-bottom:max(10px,env(safe-area-inset-bottom,0px))}.menu{position:fixed;top:calc(env(safe-area-inset-top,0px) + 52px);left:8px;max-height:calc(100dvh - 130px);overflow-y:auto;overscroll-behavior:contain}}.font-picker{position:relative}.fpk-button{width:100%;display:flex;align-items:center;gap:8px;background:#1b1b1b;border:1px solid #111;padding:6px 8px;font-size:16px;text-align:left}.fpk-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fpk-chevron{font:12px system-ui,sans-serif;color:var(--text-dim)}.fpk-pop{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:31;display:flex;flex-direction:column;background:#262626;border:1px solid #111;border-radius:8px;box-shadow:0 8px 24px #00000080}.fpk-pop.up{top:auto;bottom:calc(100% + 4px)}.fpk-list{flex:1 1 auto;min-height:0;overflow-y:auto;padding:4px;outline:none;touch-action:pan-y}.fpk-option{display:flex;align-items:center;gap:6px}.fpk-option-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}.fpk-option.first-custom{margin-top:4px;border-top:1px solid #3a3a3a;border-top-left-radius:0;border-top-right-radius:0}.fpk-remove{font:11px system-ui,sans-serif;border:none;background:transparent;color:var(--text-dim);padding:2px 6px}.fpk-add{border-top:1px solid #1a1a1a;padding:6px}.fpk-add-open{width:100%;border:none;background:transparent;color:var(--accent);text-align:left;padding:6px}.fpk-add-form{display:flex;flex-direction:column;gap:6px}.fpk-add-row{display:flex;gap:4px}.fpk-add-row input{flex:1;min-width:0;background:#1b1b1b;color:var(--text);border:1px solid #111;border-radius:4px;padding:6px 7px;font:inherit;-webkit-user-select:text;user-select:text}.fpk-suggest{display:flex;flex-wrap:wrap;gap:4px}.fpk-suggest button{padding:4px 8px;font-size:12px}.fpk-error{margin:0;color:#ff8a80;font-size:11px}.fpk-hint{margin:0;color:var(--text-dim);font-size:11px}.fpk-option{padding:7px 10px;border-radius:5px;font-size:18px;line-height:1.25;cursor:pointer;white-space:nowrap}.coarse .fpk-option{padding:10px 12px}.fpk-option.active{background:#333}.fpk-option.current{color:#fff;box-shadow:inset 3px 0 0 var(--accent)}.pn-wide{width:100%;padding:7px 10px}.nf{display:flex;align-items:center;gap:4px;min-width:0;color:var(--text-dim)}.nf-glyph{font-size:11px;font-weight:600;min-width:18px;color:var(--text)}.nf-input{flex:1;min-width:0;width:100%;background:#1b1b1b;color:var(--text);border:1px solid #111;border-radius:4px;padding:5px 6px;font:13px ui-monospace,SF Mono,Menlo,monospace;font-variant-numeric:tabular-nums;cursor:ew-resize;touch-action:none;-webkit-user-select:text;user-select:text}.nf-input:focus{cursor:text;outline:1px solid var(--accent);touch-action:auto}.nf-unit{font-size:11px}.nf-steps{display:flex;flex-direction:column;gap:1px}.nf-step{display:grid;place-items:center;width:22px;height:13px;padding:0;border-radius:3px;background:#1f1f1f;touch-action:none}.nf-step svg{width:9px;height:6px}.coarse .nf-step{width:30px;height:18px}.coarse .nf-input{padding:8px;font-size:16px}.cp-weight-field{width:112px;flex:none}.field-link{padding:2px 4px;margin:0 -2px;border:0;border-radius:4px;background:transparent;color:var(--text-dim);font:inherit;text-decoration:underline dotted;text-underline-offset:3px;cursor:pointer}.field-link:hover{color:var(--text);background:#333}.field-link.on{color:var(--accent);text-decoration-style:solid}.top-stroke .nf,.top-opacity .nf{width:112px}.top-stroke .nf-input,.top-opacity .nf-input{padding:3px 5px}.puck-wrap{transition:transform .2s ease}@media (prefers-reduced-motion: reduce){.puck-wrap{transition:none}}.pn-row-fill{flex-wrap:nowrap}.pn-grow{flex:1;min-width:0}.pn-check{display:flex;align-items:center;gap:8px;color:var(--text)}.pn-check input{width:16px;height:16px;accent-color:var(--accent)}.coarse .pn-check input{width:22px;height:22px}.pn-side{width:34px;font-size:11px;color:var(--text-dim)}.pn-arrow{width:30px}.coarse .pn-arrow{width:38px}.top-count .nf{width:92px}.top-count .nf-input{padding:3px 5px}.nf-glyph{white-space:nowrap}@media (max-width: 640px){.topbar .icon-btn{width:36px}}.fp-body{max-height:calc(100vh - 160px);overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y}@media (max-width: 640px){.fp-body{max-height:52vh}}@media (max-width: 640px){.topbar{gap:4px;padding-left:max(6px,env(safe-area-inset-left,0px));padding-right:max(6px,env(safe-area-inset-right,0px))}.topbar .bar-group{gap:2px}.topbar .icon-btn{width:30px}.topbar button{padding:7px 8px}}.pn-compact{gap:7px}.pn-mini{font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:var(--text-dim)}.pn-pair{display:flex;gap:10px;flex-wrap:wrap}.pn-labeled{display:flex;flex-direction:column;gap:3px}.pn-seg{display:flex;gap:2px}.pn-compact .pn-btn{width:34px;height:30px}.pn-compact .pn-btn svg{width:18px;height:18px}.coarse .pn-compact .pn-btn{width:40px;height:36px}.dash-grid{display:grid;grid-template-columns:34px repeat(3,minmax(0,1fr));gap:4px;align-items:center}.dash-row{display:contents}.dash-col{text-align:center}.nf-compact{gap:2px}.nf-compact .nf-input{padding:4px;text-align:center}.nf-compact .nf-step{width:16px}.coarse .nf-compact .nf-step{width:22px}.arrows-row{gap:4px;margin-top:-3px}.arrows-row .nf{min-width:96px}.arrow-picker{position:relative}.pn-compact .arrow-current{width:46px;display:flex;align-items:center;justify-content:center;gap:1px}.arrow-caret{font-size:9px;color:var(--text-dim)}.arrow-grid{z-index:31;display:grid;grid-template-columns:repeat(3,auto);gap:3px;padding:4px;background:#262626;border:1px solid #111;border-radius:8px;box-shadow:0 6px 20px #00000073}.ab-list{display:flex;flex-direction:column;gap:2px;max-height:180px;overflow-y:auto}.ab-row{display:flex;align-items:center;gap:6px;padding:3px 6px;border-radius:4px;cursor:pointer}.ab-row:hover{background:#333}.ab-row.on{background:#2e3f5c}.ab-num{width:16px;color:var(--text-dim);font-variant-numeric:tabular-nums}.ab-name{flex:1;min-width:0;background:transparent;border:1px solid transparent;border-radius:3px;color:var(--text);font:inherit;padding:3px 4px}.ab-name:focus{background:#1d1d1d;border-color:#555;outline:none}.ab-size{color:var(--text-dim);font-variant-numeric:tabular-nums;white-space:nowrap}.coarse .ab-row{padding:6px 8px}.pn-seg-text .pn-btn{width:auto;padding:0 10px;flex:1}.boot{position:fixed;top:0;right:0;bottom:0;left:0;background:#161616}.gallery-btn{display:inline-flex;align-items:center;gap:6px}.gallery-btn svg{width:18px;height:18px}.gallery{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:#161616;color:#eee;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:0 max(16px,env(safe-area-inset-right)) 40px max(16px,env(safe-area-inset-left));font:13px/1.3 system-ui,-apple-system,Segoe UI,sans-serif}.gal-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:max(14px,env(safe-area-inset-top)) 0 12px;background:linear-gradient(#161616 75%,#16161600)}.gal-head h1{margin:0;font-size:22px;font-weight:600;letter-spacing:-.01em}.gal-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.gal-count{color:#999;margin-right:4px}.gal-btn{background:transparent;color:#ddd;border:0;border-radius:8px;padding:8px 12px;font:inherit;font-size:15px;cursor:pointer}.gal-btn:hover:not(:disabled){background:#262626}.gal-btn:disabled{opacity:.35;cursor:default}.gal-btn.on{color:var(--accent)}.gal-btn.danger{color:#ff6b5f}.gal-btn.solid{background:var(--accent);color:#fff}.gal-btn.danger.solid{background:#e5483b}.gal-plus{padding:6px;display:grid;place-items:center}.gal-plus svg{width:24px;height:24px}.gal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:28px 24px}@media (max-width: 640px){.gal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}}.gal-card{min-width:0}.gal-thumb-wrap{position:relative;aspect-ratio:1;overflow:hidden;border-radius:6px;touch-action:pan-y;cursor:pointer;-webkit-user-select:none;user-select:none}.gal-slide{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:flex-end;justify-content:center;transition:transform .22s cubic-bezier(.2,.8,.2,1);z-index:1}.gal-card.revealed .gal-slide{transform:translate(-140px)}.gal-thumb{max-width:100%;max-height:100%;background:#fff;border-radius:3px;overflow:hidden;box-shadow:0 2px 10px #00000073}.gal-thumb.land{width:100%}.gal-thumb.port{height:100%}.gal-thumb img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}.gal-card.selected .gal-thumb{outline:3px solid var(--accent);outline-offset:2px}.gal-swipe-actions{position:absolute;top:0;right:0;bottom:0;width:140px;display:flex;flex-direction:column;justify-content:center;gap:8px;padding:0 10px}.gal-swipe-actions{opacity:0;pointer-events:none;transition:opacity .15s}.gal-swipe-actions.shown{opacity:1;pointer-events:auto}.gal-swipe-actions button{border:0;border-radius:8px;padding:10px 8px;background:#2c2c2c;color:#eee;font:inherit;font-size:14px}.gal-swipe-actions button.danger{background:#e5483b;color:#fff}.gal-check{position:absolute;right:8px;bottom:8px;z-index:2;width:22px;height:22px;border-radius:50%;border:2px solid #fff;background:#00000059;box-shadow:0 1px 4px #0006}.gal-check.on{background:var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5 L10 16.5 L18 8' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat}.gal-meta{display:flex;flex-direction:column;align-items:center;gap:2px;margin-top:8px;min-width:0}.gal-name{max-width:100%;background:none;border:0;color:#eee;font:inherit;font-size:14px;padding:2px 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:text}.gal-name-input{width:100%;text-align:center;background:#262626;border:1px solid #444;border-radius:4px;color:#fff;font:inherit;font-size:16px;padding:2px 6px}.gal-size{color:#888;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}.gal-empty{text-align:center;color:#999;padding:80px 0}.gal-foot{text-align:center;color:#666;font-size:12px;margin-top:36px}.gal-new{position:absolute;top:calc(max(14px,env(safe-area-inset-top)) + 48px);right:0;z-index:30;width:min(320px,calc(100vw - 32px));background:#232323;border:1px solid #333;border-radius:12px;box-shadow:0 12px 40px #00000080;padding:10px}.gal-new-title{font-weight:600;font-size:15px;padding:4px 6px 8px}.gal-new-list{max-height:min(380px,55vh);overflow-y:auto;display:flex;flex-direction:column}.gal-new-item{display:flex;align-items:center;gap:10px;background:none;border:0;border-radius:6px;color:#eee;font:inherit;font-size:14px;padding:8px 6px;text-align:left;cursor:pointer}.gal-new-item:hover{background:#2e2e2e}.gal-new-name{flex:1}.gal-new-shape{width:22px;height:22px;display:grid;place-items:center}.gal-new-shape span{display:block;max-width:100%;max-height:100%;border:1.5px solid #bbb;border-radius:2px}.gal-new-custom{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;align-items:center;border-top:1px solid #333;margin-top:8px;padding-top:10px}.gal-confirm-back{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;background:#00000073;display:grid;place-items:center}.gal-confirm{background:#262626;border-radius:14px;padding:18px 18px 12px;width:min(320px,calc(100vw - 48px));text-align:center;box-shadow:0 20px 50px #00000080}.gal-confirm p{margin:0 0 6px;font-size:15px}.gal-dim{color:#999;font-size:13px!important}.gal-confirm-row{display:flex;justify-content:center;gap:10px;margin-top:12px}.phone-only{display:none}.file-btn svg{width:18px;height:18px}@media (max-width: 640px){.phone-only{display:block}.topbar .gallery-btn,.topbar .file-btn{width:32px;padding:0;justify-content:center;display:inline-grid;place-items:center}.topbar .undo-redo button{width:30px;padding:0}.topbar{gap:4px}.topbar .zoom-label{padding-left:3px;padding-right:3px}.topbar .undo-redo button,.topbar .bar-group .icon-btn{width:29px}}.ui-glyph,.bar-glyph,.nf-icon{display:inline-flex;align-items:center;justify-content:center;line-height:0}.ui-glyph svg{width:14px;height:14px}.bar-glyph svg{width:16px;height:16px}@media (max-width: 640px){.topbar .bar-glyph svg{width:15px;height:15px}.topbar button:has(>.bar-glyph){padding-left:6px;padding-right:6px}}.nf-icon svg{width:16px;height:16px}.iso-sep.ui-glyph svg{width:11px;height:11px}.fpk-chevron svg{width:12px;height:12px;display:block}.pn-btn .arrow-caret svg{width:8px;height:8px;display:block}.pn-btn>svg:only-child{display:block}.menu-sep{height:1px;background:#3a3a3a;margin:4px 6px}.menu-label{padding:6px 10px 2px;font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--text-dim)}.menu button{display:flex;align-items:center;gap:8px}.menu-icon{display:grid;place-items:center;width:18px;height:18px}.menu-icon svg{width:16px;height:16px}.menu-check{margin-left:auto;color:var(--accent)}.topbar .icon-btn[data-panel-toggle]{animation:panel-btn-in .16s ease-out}@keyframes panel-btn-in{0%{opacity:0;transform:scale(.85)}}@media (prefers-reduced-motion: reduce){.topbar .icon-btn[data-panel-toggle]{animation:none}}.coarse .topbar .undo-redo button{height:36px}.phone-only-flex,.zoom-hud{display:none}.fill-stroke.compact{margin:0;padding:1px;background:transparent;border:0;display:block}.fill-stroke.compact .fs{display:block;box-sizing:border-box}.fill-stroke.compact .fs-swatches{width:34px;height:34px}.fill-stroke.compact .fs{width:22px;height:22px}.fill-stroke.compact .fs-stroke{border-width:5px}@media (max-width: 640px){.phone-only-flex{display:flex}.toolbar-fs,.topbar .zoom-label{display:none}.toolbar{justify-content:space-around}.zoom-hud{display:block;position:absolute;top:10px;left:50%;transform:translate(-50%);z-index:6;padding:5px 12px;border-radius:14px;background:#1e1e1ee0;color:#fff;font-size:13px;font-variant-numeric:tabular-nums;pointer-events:none;opacity:0;transition:opacity .25s}.zoom-hud.on{opacity:1;transition-duration:.08s}}@media (max-width: 640px){.toolbar .tool-group{display:contents}}@media (max-width: 640px){.toolbar .tool-slot:has(>[data-group=hand]) .flyout{left:auto;right:0;transform:none}}.topbar .fill-stroke.compact{flex:none;width:36px;height:36px;padding:1px}@media (max-width: 640px){.topbar .spacer{flex:1 1 0}.topbar .zoom-group:not(:has(.rotation-label)){display:none}}@media (max-width: 640px){.topbar>.bar-group,.topbar .bar-group>button{flex-shrink:0}}.fill-stroke.compact .fs-swatches{display:block}@media (max-width: 640px){.app .topbar{gap:4px;align-items:center}.app .topbar .bar-group{gap:2px;align-items:center}.app .topbar>.bar-group>button{width:34px;min-width:34px;height:34px;padding:0;display:inline-grid;place-items:center;border-radius:8px;flex:none}.app .topbar>.bar-group>button svg,.app .topbar>.bar-group>button .bar-glyph svg{width:20px;height:20px}.app .topbar>.bar-group>button.desktop-only,.app .topbar>.bar-group>.zoom-label,.app .topbar .zoom-group{display:none}.app .topbar>.bar-group>.fill-stroke.compact{width:34px;height:34px}.app .topbar .fill-stroke.compact{background:transparent;border:0}.app .topbar .fill-stroke.compact .fs-swatches{width:26px;height:26px}.app .topbar .fill-stroke.compact .fs{width:18px;height:18px}.app .topbar .fill-stroke.compact .fs-stroke{border-width:4px}}.rotation-pill{display:none}@media (max-width: 640px){.rotation-pill{display:block;position:absolute;top:8px;left:8px;z-index:6;padding:6px 10px;border:0;border-radius:14px;background:#1e1e1ee0;color:#fff;font:inherit;font-size:13px;font-variant-numeric:tabular-nums}}.ly{min-width:0}.ly-list{display:flex;flex-direction:column;gap:2px;max-height:min(340px,45vh);overflow-y:auto;overscroll-behavior:contain}.ly-row{display:flex;align-items:center;gap:6px;min-height:48px;padding:4px 4px 4px 0;border-radius:6px;background:#2c2c2c;cursor:pointer;position:relative}.ly-row.on{background:#2e3f5c}.ly-row.dragging{opacity:.5}.ly-color{align-self:stretch;width:3px;border-radius:6px 0 0 6px}.ly-expand,.ly-toggle{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;background:transparent;color:var(--text);flex:none}.ly-expand svg,.ly-toggle svg,.ly-grip svg{width:18px;height:18px}.ly-expand svg{transition:transform .15s}.ly-expand.open svg{transform:rotate(90deg)}.ly-toggle.off,.ly-toggle:not(.on) svg{color:var(--text-dim)}.ly-toggle.on{color:var(--text)}.ly-thumb{width:40px;height:40px;flex:none;border-radius:3px;background:#fff linear-gradient(45deg,#eee 25%,transparent 25%,transparent 75%,#eee 75%) 0 0 / 8px 8px;box-shadow:0 0 0 1px #111}.ly-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;flex-direction:column}.ly-meta{color:var(--text-dim);font-size:10px}.ly-name-input{flex:1;min-width:0;background:#1d1d1d;border:1px solid #555;border-radius:3px;color:var(--text);font:inherit;padding:3px 4px}.ly-sel{width:7px;height:7px;flex:none}.ly-grip{display:grid;place-items:center;width:28px;height:36px;color:var(--text-dim);cursor:grab;touch-action:none;flex:none}.ly-drop{height:2px;margin:-1px 4px;background:var(--accent);border-radius:1px}.ly-objects{display:flex;flex-direction:column;margin:2px 0 4px 26px}.ly-obj{display:flex;align-items:center;gap:6px;min-height:32px;padding:0 4px 0 8px;border-radius:4px;cursor:pointer}.ly-obj:hover{background:#2c2c2c}.ly-obj.on{background:#263347}.ly-obj-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ly-empty{color:var(--text-dim);padding:6px 8px;font-size:11px}.ly-settings{border-top:1px solid #333;padding-top:8px}.ly-blend{flex:0 1 46%;min-width:0}.brush-sliders{position:absolute;left:8px;top:50%;transform:translateY(-50%);z-index:6;display:flex;flex-direction:column;align-items:center;padding:8px 5px;border-radius:14px;background:#262626eb;box-shadow:0 4px 16px #00000059}.brush-sliders-gap{height:14px}.side-slider{position:relative;width:22px;height:130px;border-radius:11px;background:#1a1a1a;touch-action:none;cursor:ns-resize}.side-fill{position:absolute;left:0;right:0;bottom:0;border-radius:11px;background:#4a4a4a}.side-knob{position:absolute;left:2px;right:2px;height:14px;border-radius:7px;background:#f2f2f2;box-shadow:0 1px 3px #00000073;transition:background .12s}.side-slider.active .side-knob{background:var(--accent)}.side-preview{position:absolute;left:calc(100% + 18px);top:50%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 12px;border-radius:12px;background:#1e1e1ee6;pointer-events:none;white-space:nowrap}.side-dot{display:block;max-width:200px;max-height:200px;border-radius:50%;border:1.5px solid #fff;box-shadow:0 0 0 1px #0009}.side-value{color:#fff;font-size:12px;font-variant-numeric:tabular-nums}@media (max-width: 640px){.side-slider{height:110px}}.br-list{display:flex;flex-direction:column;gap:2px;max-height:min(230px,30vh);overflow-y:auto;overscroll-behavior:contain}.br-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 8px;border:0;border-radius:6px;background:transparent;color:var(--text);font:inherit;text-align:left}.br-item:hover{background:#2c2c2c}.br-item.on{background:#2e3f5c}.br-name{display:flex;flex-direction:column}.br-name small{color:var(--text-dim);font-size:10px}.br-preview{flex:none}.br-pad{position:relative}.br-pad-canvas{display:block;width:100%;height:90px;border-radius:6px;background:#fff;touch-action:none}.br-pad-clear{position:absolute;right:6px;top:6px;padding:2px 8px;border:0;border-radius:10px;background:#0000008c;color:#fff;font-size:11px}.br-rename{background:#1d1d1d;border:1px solid #444;border-radius:4px;color:var(--text);font:inherit;padding:5px 6px}.br-range{display:grid;grid-template-columns:112px 1fr 38px;align-items:center;gap:6px;font-size:12px;color:var(--text-dim)}.br-range input{width:100%;accent-color:var(--accent)}.br-range-val{text-align:right;font-variant-numeric:tabular-nums}.app.painting .topbar{background:#1b1b1b;border-bottom-color:#111}.paint-done{display:inline-flex;align-items:center;gap:6px;padding:6px 12px 6px 8px;border-radius:8px;font-weight:600}.paint-done svg{width:18px;height:18px}.paint-tools{gap:6px}.paint-color{width:34px;height:34px;padding:3px;border-radius:50%;border:0;background:transparent;display:grid;place-items:center}.paint-color span{display:block;width:26px;height:26px;border-radius:50%;box-shadow:0 0 0 2px #fff,0 0 0 3px #00000080}.paint-color.on span{box-shadow:0 0 0 2px var(--accent),0 0 0 3px #00000080}.side-square{display:grid;place-items:center;width:32px;height:32px;margin:0;padding:0;border:0;border-radius:9px;background:#1a1a1a;color:#eee;cursor:pointer}.side-square:hover:not(:disabled):not(.on){background:#333}.paint-sidebar{gap:10px;padding:10px 6px}.paint-sidebar .side-history{display:none}@media (max-width: 640px){.paint-sidebar .side-history{display:grid}}.side-square svg{width:18px;height:18px}.side-square.on{background:var(--accent)}.side-square:disabled{opacity:.35}.ly-check{display:grid;place-items:center;width:28px;height:28px;flex:none}.ly-check input{width:18px;height:18px;accent-color:var(--accent)}.pn-text-btn{width:auto!important;padding:0 12px}.cp-title{flex:1;font-weight:600;padding:0 4px}.paint-dim{margin-top:8px;grid-template-columns:120px 1fr 38px}@media (max-width: 640px){.app.painting .topbar>.bar-group>.paint-done{width:auto;min-width:0;padding:0 12px 0 8px;display:inline-flex}.app.painting .topbar>.bar-group>.paint-color{padding:4px}}.crop-bar{position:absolute;left:50%;bottom:max(16px,env(safe-area-inset-bottom));transform:translate(-50%);z-index:8;display:flex;align-items:center;gap:6px;padding:6px;border-radius:12px;background:#1e1e1ef0;box-shadow:0 6px 20px #0006;white-space:nowrap}.crop-bar button{border:0;border-radius:8px;padding:8px 12px;background:#2e2e2e;color:#eee;font:inherit}.crop-bar button.solid{background:var(--accent);color:#fff}.crop-size{color:#aaa;font-size:12px;padding:0 6px;font-variant-numeric:tabular-nums}.sym-chip{display:inline-flex;align-items:center;gap:4px;height:30px;padding:0 8px 0 6px;border-radius:15px;background:#16a0f029;color:#6cc4ff;font-size:12px;white-space:nowrap}.sym-chip.on{background:#16a0f0;color:#fff}.sym-chip-icon svg{width:18px;height:18px;display:block}.sym-chip-caret{font-size:9px;opacity:.8}.sym-toggle.on{background:#16a0f0;color:#fff}.sym-panel{width:268px;max-width:100%}.sym-types{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.sym-types .sym-type{width:auto;height:auto;padding:6px 2px 5px;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10.5px}.sym-types .sym-type svg{width:22px;height:22px}.sym-panel .pn-wide.on{background:var(--accent);color:#fff}@media (max-width: 640px){.sym-panel{width:auto}.app .topbar>.bar-group>button.sym-chip{width:auto;min-width:0;padding:0 6px 0 4px;display:inline-flex;border-radius:17px}}.sym-panel .pn-row .pn-wide{flex:1;width:auto}.sym-saved{display:flex;flex-direction:column;gap:4px;border-top:1px solid rgba(255,255,255,.08);padding-top:8px}.sym-saved-head{display:flex;align-items:center;justify-content:space-between}.sym-save{padding:3px 9px;border-radius:12px;font-size:11.5px;background:#16a0f02e;color:#6cc4ff}.sym-save:disabled{background:transparent;color:var(--text-dim);opacity:1}.sym-saved-list{display:flex;flex-direction:column;gap:2px;max-height:168px;overflow-y:auto}.sym-saved-row{display:flex;align-items:center;gap:6px;padding:3px 4px 3px 6px;border-radius:6px;background:#1f1f1f;cursor:pointer}.sym-saved-row.on{box-shadow:inset 0 0 0 1.5px #16a0f0}.sym-saved-icon svg{width:18px;height:18px;display:block}.sym-saved-name{flex:1;min-width:0;background:transparent;border:0;color:var(--text);font:inherit;padding:4px 2px}.sym-saved-del{width:26px;height:26px;padding:0;background:transparent;color:var(--text-dim);font-size:16px}.coarse .sym-saved-row{padding:6px 6px 6px 8px}.coarse .sym-saved-del{width:34px;height:34px}span.sym-saved-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ctx-more{position:relative;display:inline-flex}.ctx-btn.on{background:var(--panel-3)}.app .menu.ctx-menu{position:fixed;top:auto;bottom:auto;right:auto;width:200px;z-index:60}.menu button:disabled{opacity:.4}.anim-progress{height:6px;border-radius:3px;background:#111;overflow:hidden}.anim-progress i{display:block;height:100%;background:var(--accent);transition:width .1s linear}.pn-error{color:#ff6b6b}.print-list{display:flex;flex-direction:column;gap:2px;max-height:220px;overflow:auto}.print-list .pn-check{display:flex;align-items:center;gap:6px}.print-all{border-bottom:1px solid #333;padding-bottom:4px;margin-bottom:2px}.print-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.print-size{color:var(--text-dim);font-variant-numeric:tabular-nums}.sheet-dialog{position:absolute;top:12px;left:50%;transform:translate(-50%);width:290px;max-width:calc(100% - 32px);display:flex;flex-direction:column;gap:10px;padding:12px;background:var(--panel);border:1px solid #111;border-radius:12px;box-shadow:0 8px 28px #0006;z-index:70}.sd-title{font-weight:600;color:var(--text)}.sd-joins .pn-btn{flex:1;width:auto}.sd-actions{display:flex;gap:6px}.sd-actions .pn-wide{flex:1;width:auto}.sd-ok{background:var(--accent);color:#fff}.cp-kinds{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.cp-kinds .cp-kind{width:auto;height:30px;display:flex;flex-direction:row;gap:5px;font-size:11.5px}.cp-kinds .cp-kind svg{width:16px;height:16px}.coarse .cp-kinds .cp-kind{height:36px}.cp-grad-wrap{display:flex;flex-direction:column;gap:6px}.cp-grad{position:relative;height:22px;margin:0 9px 16px;border-radius:4px;box-shadow:inset 0 0 0 1px #ffffff26;cursor:copy;touch-action:none}.cp-stop{position:absolute;top:26px;width:16px;height:16px;margin-left:-8px;border-radius:3px 3px 8px 8px;border:2px solid #ddd;box-shadow:0 1px 3px #00000080;cursor:grab;touch-action:none}.cp-stop:before{content:"";position:absolute;left:50%;top:-7px;margin-left:-1px;width:2px;height:5px;background:#ddd}.cp-stop.on{border-color:var(--accent);transform:scale(1.15)}.cp-stop.removing{opacity:.35}.coarse .cp-stop{width:22px;height:22px;margin-left:-11px}.coarse .cp-grad{margin-bottom:22px}.cp-grad-row{gap:6px}.cp-grad-row .nf{flex:1}.cp-opacity{border-top:1px solid rgba(255,255,255,.08);padding-top:8px;display:flex;flex-direction:column;gap:6px}.cp-blend{max-width:130px}.fill-stroke.single{display:grid;place-items:center;padding:0;background:transparent;border:0}.fs-single{display:block;width:30px;height:30px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #0006}.sheet-dialog.settings{top:50%;transform:translate(-50%,-50%);width:340px;max-height:calc(100dvh - 40px);overflow-y:auto}.sd-head{display:flex;align-items:center;justify-content:space-between}.sd-close{font-size:18px}.sd-section{display:flex;flex-direction:column;gap:7px;padding-top:8px;border-top:1px solid rgba(255,255,255,.08)}.sd-label{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--text-dim)}.sd-units{gap:6px;flex-wrap:nowrap}.sd-units .pn-mini{width:70px;flex:none}.sd-units .pn-select{flex:1}.sd-units .pn-text-btn.on{background:var(--accent);color:#fff}.fs-modes{display:flex;gap:1px}.fs-modes button{width:16px;height:16px;padding:0;background:transparent;border:none;border-radius:2px;opacity:.75}.fs-modes button.on{opacity:1;box-shadow:0 0 0 1px var(--accent)}.fs-modes svg{width:14px;height:14px;display:block;margin:1px}.sd-target{gap:8px;flex-wrap:nowrap}.sd-target input[type=range]{flex:1;accent-color:var(--accent)}.sd-target-value{width:40px;text-align:right;font-variant-numeric:tabular-nums;color:var(--text)}.sd-target-preview{display:block;max-width:100%;height:auto;background:#1c1c1c;border-radius:8px}.app .menu.object-menu{position:fixed;top:auto;bottom:auto;right:auto;width:236px;max-height:none;overflow:visible;z-index:80}.app .menu.object-menu.narrow{max-height:calc(100dvh - 16px);overflow-y:auto;overscroll-behavior:contain}.object-menu .om-item{padding:5px 10px}.coarse .object-menu .om-item{padding:9px 12px}.object-menu .om-item-wrap{position:relative}.object-menu .om-item{display:flex;align-items:center;gap:8px;width:100%}.object-menu .om-item>span:first-child{flex:1;text-align:left}.object-menu kbd{font:inherit;font-size:11px;color:var(--text-dim)}.object-menu .om-caret{color:var(--text-dim)}.object-menu .om-sub{position:absolute;left:calc(100% - 4px);top:-4px;width:200px;z-index:81}.coarse .object-menu .om-sub,.object-menu.narrow .om-sub{position:static;width:auto;margin:2px 0 4px 10px;box-shadow:none;border-color:#333}@media (max-width: 640px){.app .menu.object-menu{max-height:calc(100dvh - 16px);overflow-y:auto}.object-menu .om-sub{position:static;width:auto;margin:2px 0 4px 10px;box-shadow:none}}.sym-lock{display:inline-flex;align-items:center;justify-content:center;gap:6px}.sym-lock svg{width:16px;height:16px}.symbols-panel{min-width:0}.symbol-props .pn-field input{flex:1;width:100%;min-width:0}.symbol-lib{display:flex;flex-direction:column;gap:8px;max-height:320px;overflow-y:auto}.symbol-set{display:flex;flex-direction:column;gap:4px}.symbol-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(60px,1fr));gap:4px}.symbol-tile{display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 4px 4px;background:#1f1f1f;border:1px solid transparent;border-radius:6px;color:var(--text);font:inherit;font-size:10.5px;touch-action:none;cursor:grab}.symbol-tile img{width:40px;height:40px;object-fit:contain;background:#fff;border-radius:4px;pointer-events:none}.symbol-tile span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.symbol-tile.on{border-color:var(--accent);background:#2e3f5c}.symbol-props{display:flex;flex-direction:column;gap:8px;border-top:1px solid rgba(255,255,255,.08);padding-top:8px}.symbols-panel .pn-row .pn-wide{flex:1;width:auto}.symbol-ghost{position:fixed;width:48px;height:48px;margin:-24px 0 0 -24px;object-fit:contain;opacity:.8;pointer-events:none;z-index:1000}.tut-card{position:fixed;left:calc(var(--tool-size, 36px) + 40px);bottom:40px;z-index:900;width:320px;max-width:calc(100vw - 32px);padding:12px 14px;background:#1d2433;color:#e8ecf4;border:1px solid #3d8bff;border-radius:12px;box-shadow:0 10px 30px #00000073;font-size:13px;line-height:1.45;user-select:text;-webkit-user-select:text}.tut-card.done{border-color:#2fbf71}.tut-head{display:flex;align-items:center;gap:4px}.tut-count{flex:1;font-size:11px;color:#9fb3d9}.tut-x{width:26px;height:26px;padding:0;background:transparent;color:#9fb3d9;font-size:16px;border-radius:6px}.tut-x:hover{background:#ffffff14}.tut-progress{height:3px;margin:6px 0 8px;background:#ffffff1a;border-radius:2px;overflow:hidden}.tut-progress span{display:block;height:100%;background:#3d8bff;transition:width .3s}.tut-card.done .tut-progress span{background:#2fbf71}.tut-card h3{margin:0 0 6px;font-size:15px}.tut-check{color:#2fbf71}.tut-card p{margin:0 0 6px}.tut-card strong{color:#fff}.tut-waiting{font-size:11px;color:#9fb3d9;font-style:italic}.tut-foot{display:flex;justify-content:space-between;margin-top:8px}.tut-btn{padding:6px 14px;border-radius:7px;background:#ffffff14;color:#e8ecf4}.tut-btn.primary{background:#3d8bff;color:#fff}.tut-btn:disabled{opacity:.35}.tut-pill{position:fixed;left:calc(var(--tool-size, 36px) + 40px);bottom:40px;z-index:900;padding:7px 12px;border-radius:16px;background:#3d8bff;color:#fff;font-size:12px;box-shadow:0 4px 14px #00000059}.tut-ring{position:fixed;z-index:950;border:2px solid #ffb020;border-radius:8px;pointer-events:none;animation:tut-pulse 1.4s ease-in-out infinite}@keyframes tut-pulse{0%,to{box-shadow:0 0 #ffb0208c}50%{box-shadow:0 0 0 7px #ffb02000}}@media (max-width: 640px){.tut-card,.tut-pill{left:8px;right:8px;bottom:auto;top:calc(56px + env(safe-area-inset-top,0px));width:auto;max-width:none}.tut-card{padding:10px 12px;font-size:12.5px}.tut-card h3{font-size:14px}.tut-pill{right:auto}}.menu-section{flex-direction:column}.menu-key{float:right;margin-left:18px;color:var(--text-dim);font-size:11px}.outline-chip{height:30px;padding:0 10px;border-radius:15px;background:#1b1b1b;color:#fff;border:1px solid #888;font-size:12px;white-space:nowrap}.toast{position:fixed;left:50%;bottom:calc(48px + env(safe-area-inset-bottom,0px));transform:translate(-50%);z-index:1200;max-width:calc(100vw - 32px);padding:8px 16px;border-radius:18px;background:#141414eb;color:#fff;font-size:13px;box-shadow:0 6px 18px #0000004d;pointer-events:none;animation:toast-in .18s ease-out}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,8px)}}@media (max-width: 640px){.toast{bottom:calc(96px + env(safe-area-inset-bottom,0px))}}@media (max-width: 640px){.gal-actions{gap:2px}.gal-btn{padding:8px}}.menu>*{flex-shrink:0}.flyout-item.hot{background:var(--accent);color:#fff}.panel-host{position:absolute;top:0;right:0;bottom:0;left:0;z-index:15;pointer-events:none}.panel-host>.floating-panel,.panel-dock>*{pointer-events:auto}.panel-dock{position:absolute;top:8px;right:8px;bottom:8px;width:268px;display:flex;flex-direction:column;gap:6px;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;pointer-events:none;scrollbar-width:thin}.panel-dock.hint{outline:2px dashed rgba(61,139,255,.5);outline-offset:2px;border-radius:10px}.floating-panel.docked{position:relative;left:auto;top:auto;width:100%;flex-shrink:0;box-shadow:0 4px 14px #00000059}.floating-panel.dragging{opacity:.92;z-index:20}.floating-panel.collapsed .fp-head{border-bottom:0}.dock-drop{flex-shrink:0;height:4px;border-radius:2px;background:var(--accent);pointer-events:none}.fp-head .fp-collapse{width:22px;height:22px;margin-left:-6px}.fp-chevron{font-size:11px;color:var(--text-dim)}.fp-head .fp-title{flex:1}@media (max-width: 640px){.paint-bar .undo-redo,.paint-bar .panel-buttons,.paint-bar>.bar-group.phone-only-flex{display:none!important}.paint-bar .paint-done span{display:none}}.card-deck-name{background:transparent;border:1px solid transparent;border-radius:4px;color:var(--text);font:inherit;font-size:13px;font-weight:600;padding:3px 4px}.card-deck-name:focus{background:#1b1b1b;border-color:#555;outline:none}.card-stepper-row{display:flex;gap:4px;align-items:center}.card-step-label{flex:1;height:32px;border-radius:6px;background:#1f1f1f;color:var(--text);font:inherit}.card-step-label.on{background:#2e3f5c;color:#fff}.card-cols{display:flex;flex-wrap:wrap;gap:4px}.card-col-chip{padding:2px 7px;border-radius:10px;background:#33415a;color:#cfe0ff;font-size:11px}.card-count{margin-left:6px;padding:0 6px;border-radius:8px;background:#ffffff1f;font-size:11px}.cards-panel .pn-row .pn-wide{flex:1;width:auto}.card-warn{color:#f0b45a}.card-fields{display:flex;flex-direction:column;gap:5px;border-top:1px solid rgba(255,255,255,.08);padding-top:8px}.card-field{display:flex;align-items:center;gap:6px;font-size:12px}.card-field-kind{color:var(--text-dim);min-width:62px}.card-field-col{flex:1;font-weight:600}.card-field .pn-select{flex:0 0 auto;width:auto}.card-field-del{width:24px;height:24px;padding:0;background:transparent;color:var(--text-dim)}.card-field-add{display:flex;gap:4px}.card-field-add .pn-select{flex:0 0 96px}.card-col-input{flex:1;min-width:0;background:#1b1b1b;color:var(--text);border:1px solid #111;border-radius:4px;padding:5px 6px;font:inherit}.card-remove{align-self:flex-start;background:transparent;color:var(--text-dim);font-size:11px;padding:2px 0;text-decoration:underline}.cards-table-back{position:absolute;top:0;right:0;bottom:0;left:0;z-index:40;background:#00000059;display:flex;align-items:stretch;justify-content:center;padding:16px}.cards-table{display:flex;flex-direction:column;width:min(1100px,100%);background:#1e1e1e;border:1px solid #111;border-radius:12px;box-shadow:0 12px 40px #00000080;overflow:hidden;touch-action:auto;-webkit-user-select:text;user-select:text}.ct-head{display:flex;align-items:center;gap:8px;padding:10px 14px;border-bottom:1px solid #111;flex-wrap:wrap}.ct-head h2{margin:0;font-size:15px}.ct-count{color:var(--text-dim);font-size:12px}.ct-head .spacer{flex:1}.ct-paste{display:flex;flex-direction:column;gap:6px;padding:10px 14px;border-bottom:1px solid #111}.ct-paste textarea{min-height:120px;background:#141414;color:var(--text);border:1px solid #333;border-radius:6px;padding:8px;font:12px/1.4 ui-monospace,Menlo,monospace}.ct-paste-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.ct-scroll{flex:1;overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y;padding-bottom:10px}.ct-grid{border-collapse:collapse;min-width:100%;font-size:12.5px}.ct-grid th{position:sticky;top:0;z-index:1;background:#262626;color:var(--text-dim);font-weight:600;text-align:left;padding:6px 8px;border-bottom:1px solid #111;white-space:nowrap}.ct-grid td{border-bottom:1px solid #2a2a2a;border-right:1px solid #2a2a2a;padding:0;vertical-align:top;min-width:120px}.ct-grid td textarea{display:block;width:100%;min-height:30px;resize:vertical;background:transparent;color:var(--text);border:0;padding:6px 8px;font:inherit}.ct-grid td textarea:focus{background:#15233a;outline:1px solid var(--accent)}.ct-grid .ct-num{min-width:0;width:40px;text-align:center}.ct-num button{width:100%;height:30px;background:transparent;color:var(--text-dim)}.ct-grid tr.on .ct-num button{background:var(--accent);color:#fff}.ct-addcol input{width:110px;background:transparent;color:var(--text);border:1px dashed #555;border-radius:4px;padding:3px 6px;font:inherit}.ct-grid td.ct-actions{min-width:0;white-space:nowrap;border-right:0}.ct-actions button{width:30px;height:30px;padding:5px;background:transparent;color:var(--text-dim)}.ct-actions svg{width:18px;height:18px}.ct-addrow{margin:8px 10px}.ct-pictures{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 14px;border-top:1px solid #111;max-height:110px;overflow-y:auto}.ct-pic{display:inline-flex;align-items:center;gap:4px;padding:2px 4px 2px 2px;border-radius:6px;background:#2a2a2a;font-size:11px}.ct-pic img{width:26px;height:26px;object-fit:cover;border-radius:4px}.ct-pic button{width:18px;height:18px;padding:0;background:transparent;color:var(--text-dim)}@media (max-width: 640px){.cards-table-back{padding:0}.cards-table{border-radius:0}}.card-chip{position:absolute;left:0;top:0;z-index:6;display:flex;align-items:center;height:24px;border-radius:12px;background:#262626e0;color:#eee;font-size:11.5px;box-shadow:0 2px 8px #00000040;white-space:nowrap}.card-chip.on{background:var(--accent)}.card-chip button{height:24px;min-width:24px;padding:0 6px;background:transparent;color:inherit;font:inherit}.coarse .card-chip,.coarse .card-chip button{height:32px;min-width:32px}.coarse .card-chip{border-radius:16px}.card-chip-label{font-variant-numeric:tabular-nums}.dv-grid{flex:1;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px;padding:14px;align-content:start}.dv-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px;background:#262626;border:2px solid transparent;border-radius:10px;color:var(--text);font:inherit;font-size:12px;cursor:pointer}.dv-card.on{border-color:var(--accent)}.dv-card img{max-width:100%;max-height:200px;border-radius:6px;box-shadow:0 2px 10px #00000059}.dv-loading{width:100%;aspect-ratio:5 / 7;border-radius:6px;background:#333}.dv-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dv-count{position:absolute;top:4px;right:4px;padding:1px 7px;border-radius:9px;background:var(--accent);color:#fff;font-weight:600}.cards-export{align-self:center;width:min(460px,100%);display:flex;flex-direction:column;gap:8px;padding:16px;background:#1e1e1e;border:1px solid #111;border-radius:12px;box-shadow:0 12px 40px #00000080}.cards-export h2{margin:0 0 4px;font-size:15px}.ce-format{display:grid;grid-template-columns:auto 1fr;column-gap:8px;padding:8px 10px;border:1px solid #333;border-radius:8px;cursor:pointer}.ce-format.on{border-color:var(--accent);background:#1d2a40}.ce-format input{grid-row:span 2}.ce-title{font-weight:600}.ce-note{color:var(--text-dim);font-size:11.5px}.ce-options{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:4px 0}.ce-options .pn-select{width:auto}.ce-actions{display:flex;align-items:center;gap:8px}.ce-actions .pn-note{flex:1}.cards-panel .primary-ish{background:#2e4a78;color:#fff}.card-tweak-color{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:var(--text-dim)}.card-tweak-color input{width:32px;height:28px;padding:0;border:0;background:transparent}.card-nudge .pn-btn{width:32px}.paint-res{display:flex;flex-direction:column;gap:2px}.paint-res .pn-select{width:auto;flex:1}.color-drop-ghost{position:fixed;z-index:1300;width:34px;height:34px;margin:-17px 0 0 -17px;border-radius:50%;border:3px solid #fff;box-shadow:0 3px 12px #00000073;pointer-events:none}.is-artworks{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;max-height:min(360px,55vh);overflow-y:auto}.is-artwork{display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px;background:#262626;border:1px solid #333;border-radius:8px;color:inherit;font:inherit;font-size:12px;cursor:pointer}.is-artwork:hover{border-color:var(--accent)}.is-artwork img{width:100%;aspect-ratio:1;object-fit:contain;background:#fff;border-radius:4px}.is-artwork span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.is-symbols{max-height:min(320px,50vh);overflow-y:auto}.is-note{font-size:10px;color:var(--accent)}.card-field{flex-wrap:wrap}.card-field-hint{order:10;flex-basis:100%;margin:0}.ct-grid td select.ct-symbol{display:block;width:100%;min-height:30px;background:transparent;color:var(--text);border:0;padding:6px 8px;font:inherit}.ct-grid td select.ct-symbol:focus{background:#15233a;outline:1px solid var(--accent)}.ct-grid td select.ct-symbol option{background:#1e1e1e}.card-link-hint{display:flex;flex-direction:column;gap:6px;padding:8px;border:1px solid var(--accent);border-radius:8px;background:#3c82f614;font-size:12px}.ct-grid th.ct-col{padding:2px 4px}.ct-col-head{display:flex;align-items:center;gap:2px}.ct-col-name{flex:1;min-width:40px;background:transparent;color:var(--text-dim);font:inherit;font-weight:600;border:1px solid transparent;border-radius:4px;padding:4px}.ct-col-name:hover{border-color:#3a3a3a}.ct-col-name:focus{color:var(--text);border-color:var(--accent);outline:none}.ct-col-tools{display:flex;opacity:0;transition:opacity .12s}.ct-col:hover .ct-col-tools,.ct-col:focus-within .ct-col-tools{opacity:1}@media (pointer: coarse){.ct-col-tools{opacity:1}}.ct-col-tools button{width:22px;height:24px;padding:0;background:transparent;border:0;border-radius:4px;color:var(--text-dim);font-size:15px;cursor:pointer}.ct-col-tools button:hover:not(:disabled){background:#333;color:var(--text)}.ct-col-tools button:disabled{opacity:.3;cursor:default}.symbol-geometry{display:flex;align-items:center;gap:8px}.symbol-origin{display:grid;grid-template-columns:repeat(3,14px);grid-template-rows:repeat(3,14px);gap:3px;padding:4px;border:1px solid #3a3a3a;border-radius:6px;flex-shrink:0}.symbol-origin button{width:14px;height:14px;padding:0;border:1.5px solid #777;border-radius:50%;background:transparent;cursor:pointer}.symbol-origin button:hover{border-color:var(--text)}.symbol-origin button.on{background:var(--accent);border-color:var(--accent)}@media (pointer: coarse){.symbol-origin{grid-template-columns:repeat(3,22px);grid-template-rows:repeat(3,22px)}.symbol-origin button{width:22px;height:22px}}.symbol-size{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.symbol-lock{flex-shrink:0}.simplify-row{display:flex;align-items:center;gap:8px}.simplify-row input[type=range]{flex:1}.simplify-count{font-size:13px;color:var(--text-dim)}.simplify-count b{color:var(--text)}.timeline{position:absolute;left:0;right:0;bottom:0;z-index:8;display:flex;flex-direction:column;background:#1e1e1e;border-top:1px solid #111;box-shadow:0 -6px 20px #0000004d;color:var(--text);font-size:12px;touch-action:none}.tl-bar{display:flex;align-items:center;gap:4px;padding:5px 8px;border-bottom:1px solid #2c2c2c;flex-wrap:wrap}.tl-bar .spacer{flex:1}.tl-btn{display:grid;place-items:center;min-width:30px;height:30px;padding:0 6px;border:0;border-radius:7px;background:transparent;color:var(--text);font-size:16px;cursor:pointer}.tl-btn svg{width:18px;height:18px}.tl-btn:hover:not(:disabled){background:#333}.tl-btn.on{color:var(--accent)}.tl-play.on{background:var(--accent);color:#fff}.tl-btn:disabled{opacity:.35}.tl-key svg{width:14px;height:14px;color:#f2c94c}.tl-frame{min-width:64px;text-align:center;font-variant-numeric:tabular-nums;font-weight:600}.tl-frame small{color:var(--text-dim);font-weight:400}.tl-ease{max-width:140px}.tl-length .nf{width:92px}.tl-grid{position:relative;overflow:auto;overscroll-behavior:contain}.tl-inner{position:relative;min-width:100%;min-height:100%;box-sizing:border-box;padding-bottom:8px}.timeline.focused{box-shadow:0 -6px 20px #0000004d,inset 0 1px #3d8bff8c}.tl-time{justify-content:space-between;gap:4px}.tl-zoom{display:flex;gap:2px}.tl-zoom button{width:18px;height:16px;padding:0;border:0;border-radius:4px;background:transparent;color:var(--text-dim);font:inherit;font-size:13px;line-height:16px;cursor:pointer}.tl-zoom button:hover:not(:disabled){background:#333;color:var(--text)}.tl-zoom button:disabled{opacity:.35;cursor:default}.tl-ruler,.tl-row{position:relative;height:24px;border-bottom:1px solid #242424}.tl-row:nth-child(2n of.tl-row){background:#ffffff04}.tl-ruler{height:22px;background:#232323;cursor:ew-resize;position:sticky;top:0;z-index:6}.tl-label{position:sticky;left:0;height:100%;box-sizing:border-box;width:var(--tl-label, 168px);display:flex;align-items:center;padding:0 8px;color:var(--text-dim);background:inherit;font-variant-numeric:tabular-nums;z-index:4}.tl-name{border:0;background:#1e1e1e;color:var(--text);font:inherit;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;display:flex;align-items:center;gap:6px}.tl-name-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tl-parent{flex:none;margin-left:auto;width:66px;height:18px;padding:0 2px;border:1px solid transparent;border-radius:4px;background:transparent;color:var(--muted, #8a8a8a);font:inherit;font-size:11px}.tl-parent:hover,.tl-parent.on{border-color:#444;background:#1c1c1c;color:var(--text)}.tl-thumb{flex:none;width:20px;height:20px;border-radius:4px;background:#fff;display:grid;place-items:center;overflow:hidden}.tl-thumb img{max-width:100%;max-height:100%}.tl-rename{flex:1;min-width:0;height:20px;padding:0 4px;border:1px solid var(--accent);border-radius:4px;background:#111;color:var(--text);font:inherit}.tl-menu{position:fixed;z-index:60;transform:translateY(-100%)}.tl-row.sel .tl-name{color:var(--accent)}.tl-row.sel{background:#3d8bff12}.tl-tick{position:absolute;top:0;bottom:0;border-left:1px solid #383838;padding-left:3px;font-size:10px;line-height:22px;color:var(--text-dim)}.tl-tick.sec{border-left-color:#5a5a5a;color:var(--text)}.tl-hidden{position:absolute;top:3px;bottom:3px;border-radius:3px;background:repeating-linear-gradient(135deg,rgba(255,255,255,.06) 0 3px,transparent 3px 7px);pointer-events:none}.tl-eye{flex:none;width:18px;height:18px;padding:1px;border:0;border-radius:4px;background:transparent;color:var(--text-dim);cursor:pointer;opacity:.55}.tl-eye svg{width:100%;height:100%}.tl-eye:hover,.tl-eye.off{opacity:1}.tl-eye.off{color:var(--text-dim)}.tl-tween{position:absolute;top:11px;height:2px;border-radius:1px;background:#3d8bff8c;pointer-events:none}.tl-row.sel .tl-tween{background:#3d8bffd9}.tl-tween.shape{background:#4cc26a99}.tl-row.sel .tl-tween.shape{background:#4cc26ae6}.tl-tween.hold{background:repeating-linear-gradient(90deg,rgba(170,170,170,.55) 0 4px,transparent 4px 7px)}.tl-key-dot{position:absolute;top:4px;width:16px;height:16px;margin-left:-8px;display:grid;place-items:center;cursor:grab;z-index:1;touch-action:none}.tl-key-dot svg{display:block;width:10px;height:10px;overflow:visible;transition:transform .08s}.tl-key-dot:hover svg{transform:scale(1.2)}.tl-key-dot path{fill:#e3be55;stroke:#0000008c;stroke-width:1;stroke-linejoin:round}.tl-key-dot.on path{fill:#fff;stroke:var(--accent);stroke-width:2}@media (pointer: coarse){.tl-key-dot{width:28px;height:24px;margin-left:-14px;top:0}.tl-key-dot svg{width:12px;height:12px}}.tl-onion{position:absolute;bottom:1px;height:4px;border-radius:2px;pointer-events:none}.tl-split{display:flex}.tl-split .tl-view{border-top-right-radius:0;border-bottom-right-radius:0}.tl-caret{padding:0 4px;min-width:0;border-top-left-radius:0;border-bottom-left-radius:0;font-size:10px}.tl-onion-pop{padding:6px 4px;min-width:190px}.tl-onion-field{display:flex;align-items:center;gap:6px;padding:4px 10px;font-size:12px}.tl-onion-field i{width:8px;height:8px;border-radius:2px}.tl-onion-field input[type=number]{width:44px;margin-left:auto;height:22px;padding:0 4px;border:1px solid #444;border-radius:4px;background:#111;color:var(--text);font:inherit}.tl-playhead{position:absolute;top:0;bottom:0;width:0;border-left:1.5px solid #e0119d;pointer-events:none;z-index:3}.tl-ruler-head{position:absolute;top:0;bottom:0;border-left:1.5px solid #e0119d;pointer-events:none}.tl-ruler-head:before{content:"";position:absolute;top:0;left:-5.75px;border:5px solid transparent;border-top:6px solid #e0119d}.tl-empty{padding:10px 12px 10px calc(var(--tl-label, 168px) + 8px)}.tl-bar{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.tl-bar::-webkit-scrollbar{display:none}.tl-bar>*{flex:none}.tl-bar .spacer{flex:1 0 8px}@media (max-width: 640px){.tl-parent{width:22px}}.timeline .tl-btn.on:not(.tl-play){background:#2e3f5c;color:var(--accent)}.tl-marquee{position:fixed;z-index:20;border:1px solid var(--accent);background:#3d8bff1f;pointer-events:none}.tl-view{font-size:12px;font-weight:600}.tl-curves{display:flex;gap:14px;padding:10px 12px;align-items:flex-start;overflow:auto}.tl-curve{flex:none;width:260px;height:150px;background:#161616;border-radius:8px;touch-action:none}.tl-curve-box{fill:none;stroke:#333}.tl-curve-diag{stroke:#333;stroke-dasharray:3 3}.tl-curve-line{fill:none;stroke:#f2c94c;stroke-width:2}.tl-curve-arm{stroke:#888;stroke-width:1}.tl-curve-handle{fill:#1e1e1e;stroke:var(--accent);stroke-width:2;cursor:grab}.tl-curve-handle.on{fill:var(--accent)}.tl-curve-side{display:flex;flex-direction:column;gap:8px;min-width:0}.tl-presets{display:flex;flex-wrap:wrap;gap:4px}.tl-presets .pn-btn{flex:none;width:auto;min-width:0;height:28px;padding:0 10px;font-size:12px;white-space:nowrap}.tl-resize{position:absolute;left:0;right:0;top:-4px;height:8px;cursor:ns-resize;z-index:5;touch-action:none}.tl-resize:after{content:"";position:absolute;left:50%;top:2px;width:36px;height:4px;margin-left:-18px;border-radius:2px;background:#555}.tl-tabs .pn-btn{height:28px;padding:0 10px;font-size:12px;width:auto}.tl-grid{flex:1;min-height:0}.ge{flex:1;min-height:0;display:flex;flex-direction:column}.ge-tools{display:flex;align-items:center;gap:2px;padding:3px 8px;border-bottom:1px solid #2c2c2c;flex-wrap:wrap}.ge-tools .tl-btn{font-size:12px;height:26px}.ge-sep{width:1px;height:18px;background:#333;margin:0 6px}.ge-body{flex:1;min-height:0;display:flex;position:relative}.ge-list{flex:none;overflow-y:auto;border-right:1px solid #2c2c2c;padding:4px 0}.ge-obj-name{padding:3px 8px;font-weight:600;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ge-ch{display:flex;align-items:center;gap:2px;padding-left:10px}.ge-ch.off .ge-ch-name{color:var(--text-dim)}.ge-eye,.ge-ch-name{border:0;background:transparent;color:var(--text);font:inherit;cursor:pointer;padding:3px 4px}.ge-ch-name:hover{color:var(--accent)}.ge-swatch{display:block;width:11px;height:11px;border-radius:3px;border:1.5px solid}.ge-empty{padding:8px}.ge-graph{flex:1;display:block;background:#181818;touch-action:none;-webkit-user-select:none;user-select:none}.ge-axis{fill:#242424;cursor:ew-resize}.ge-tick{fill:#8a8a8a;font-size:10px;pointer-events:none}.ge-grid{stroke:#262626}.ge-grid.sec{stroke:#333}.ge-range{fill:#ffffff05;pointer-events:none}.ge-curve{fill:none;stroke-width:1.75;pointer-events:none}.ge-key{fill:#181818;stroke-width:1.75;cursor:grab;rx:1.5}.ge-key.on{fill:#fff}.ge-arm{stroke:#9a9a9a;pointer-events:none}.ge-handle{fill:#181818;stroke:#fff;stroke-width:1.5;cursor:grab}.ge-handle.weighted{fill:#fff}.ge-playhead{stroke:#e0119d;stroke-width:1.5;pointer-events:none}.ge-marquee{fill:#3d8bff1f;stroke:var(--accent);pointer-events:none}@media (pointer: coarse){.ge-key{stroke-width:2.5}}.tl-tabs .pn-btn{white-space:nowrap}.panel-crash{position:absolute;left:0;right:0;bottom:0;z-index:8;display:flex;align-items:center;gap:8px;padding:12px;background:#2a1d1d;border-top:1px solid #5a2a2a;color:var(--text);font-size:13px}.panel-crash .pn-btn{width:auto;padding:0 12px}.tl-retime-row{position:relative;height:18px;background:#1b2433;border-bottom:1px solid #262626}.tl-retime{position:absolute;top:0;height:18px;background:#1b2433;cursor:copy;z-index:4}.ge-body>.tl-retime{top:0}.tl-anchor{position:absolute;top:1px;width:12px;height:16px;margin-left:-6px;cursor:ew-resize;touch-action:none}.tl-anchor:before{content:"";position:absolute;left:1px;top:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:8px solid #4c8dff}.tl-anchor:after{content:"";position:absolute;left:5px;top:6px;width:2px;height:10px;background:#4c8dff}.tl-anchor.on:before{border-top-color:#fff}.tl-anchor.on:after{background:#fff}
