:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f7f7f5;--dot:#c9c9c4;--grid-line:#e7e7e2;--panel:#fff;--panel-border:#e3e3df;--text:#1f1f1d;--muted:#74746e;--hover:#f0f0ec;--accent:#6a43cb;--accent-soft:#ede8f9;--guide:#e5366a;--code-keyword:#7c3aed;--code-key:#1f1f1d;--code-string:#0f7b45;--code-number:#b45309;--code-comment:#8a8a83;--code-attr:#2f6fed;--code-operator:#db2777;--code-table:#c2410c;--code-column:#1f1f1d;--code-type:#0e7490;--hl-yellow:#fff0a0;--hl-orange:#ffd8b0;--hl-red:#ffc9c4;--hl-pink:#ffcce4;--hl-violet:#e0d2ff;--hl-blue:#cde0ff;--hl-green:#cdeecb;--hl-gray:#e6e6e1;--c-ink:#1f1f1d;--instrument-body:#fbfbfa;--instrument-edge:#c9c9c4;--sticky-yellow:#fff1a8;--sticky-orange:#ffd3a3;--sticky-pink:#ffc8dc;--sticky-violet:#dccbff;--sticky-blue:#c3dcff;--sticky-green:#c6efc4;--sticky-gray:#e4e4e0;--sticky-text:#1f1f1d;--k-service:#2f6fed;--k-database:#15803d;--k-queue:#c2410c;--k-external:#6b7280;--k-person:#7c3aed;--k-system:#475569;--rel:#475569;--ec-blue:#2f6fed;--ec-teal:#0d9488;--ec-green:#15803d;--ec-amber:#b45309;--ec-orange:#ea580c;--ec-red:#dc2626;--ec-pink:#db2777;--ec-violet:#7c3aed;--ec-slate:#475569;--ec-gray:#737373}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#1b1b1a;--dot:#3d3d3a;--grid-line:#282827;--panel:#262625;--panel-border:#393937;--text:#ececea;--muted:#9c9c96;--hover:#313130;--accent:#9479e6;--accent-soft:#342a52;--guide:#ff5c8a;--code-keyword:#b49bff;--code-key:#ececea;--code-string:#6ee7a8;--code-number:#fbbf24;--code-comment:#85857f;--code-attr:#7ea6ff;--code-operator:#f472b6;--code-table:#fdba74;--code-column:#ececea;--code-type:#5eead4;--hl-yellow:#5c4f12;--hl-orange:#6b3d14;--hl-red:#6e2424;--hl-pink:#6a2348;--hl-violet:#45307a;--hl-blue:#22406e;--hl-green:#1f5230;--hl-gray:#45453f;--c-ink:#e6e6e3;--instrument-body:#4a4a47;--instrument-edge:#6c6c68;--sticky-yellow:#f2df7e;--sticky-orange:#f2bb82;--sticky-pink:#f2aac6;--sticky-violet:#c5aff7;--sticky-blue:#a5c6f5;--sticky-green:#a9dda7;--sticky-gray:#cfcfca;--k-service:#7ea6ff;--k-database:#4ade80;--k-queue:#fb923c;--k-external:#a1a1aa;--k-person:#b49bff;--k-system:#94a3b8;--rel:#a1a1aa;--ec-blue:#7ea6ff;--ec-teal:#2dd4bf;--ec-green:#4ade80;--ec-amber:#fbbf24;--ec-orange:#fb923c;--ec-red:#f87171;--ec-pink:#f472b6;--ec-violet:#b49bff;--ec-slate:#94a3b8;--ec-gray:#a3a3a3}*{box-sizing:border-box}html,body,#app,.app{--code-w:min(var(--code-width,400px), calc(100vw - 160px));height:100%;margin:0;overflow:hidden}body{background:var(--bg);color:var(--text);overscroll-behavior:none;touch-action:pan-x pan-y;font:14px/1.4 system-ui,-apple-system,Segoe UI,sans-serif}.canvas{touch-action:none;-webkit-user-select:none;user-select:none;position:absolute;inset:0;overflow:hidden}.grid{pointer-events:none;position:absolute;inset:0}.grid.dots{background-image:radial-gradient(circle, var(--dot) 1px, transparent 1.4px)}.grid.lines{background-image:linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px)}.world{transform-origin:0 0;pointer-events:none;position:absolute;top:0;left:0}.ff{pointer-events:none;position:absolute}.ff-section{pointer-events:none;box-sizing:border-box;border:calc(1px * var(--k)) solid color-mix(in srgb, var(--sec) 22%, transparent);background:color-mix(in srgb, var(--sec) 6%, var(--bg));border-radius:12px;position:absolute}.ff-section.collapsed{background:repeating-linear-gradient(135deg, color-mix(in srgb, var(--sec) 9%, transparent) 0 calc(8px * var(--k)), transparent 0 calc(16px * var(--k))), color-mix(in srgb, var(--sec) 5%, var(--bg));border-style:dashed}.ff-section.drop{box-shadow:0 0 0 calc(2px * var(--k)) var(--accent)}.ff-section-label{left:0;bottom:calc(100% + 5px * var(--lk));box-sizing:border-box;background:var(--sec);height:20px;color:var(--bg);white-space:nowrap;transform:scale(var(--lk));transform-origin:0 100%;border-radius:6px;align-items:center;gap:5px;padding:0 4px 0 8px;font-size:11px;font-weight:600;line-height:20px;display:flex;position:absolute}.ff-section-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.ff-section-name.editing{text-overflow:clip;cursor:text;outline:none;min-width:40px;overflow:visible}.ff-section-eye{opacity:.7;border-radius:4px;flex:none;justify-content:center;align-items:center;width:16px;height:16px;display:inline-flex}.ff-section.collapsed .ff-section-eye{opacity:1;background:color-mix(in srgb, var(--bg) 22%, transparent)}.ff-section-hidden{color:var(--sec);white-space:nowrap;transform:translate(-50%, -50%) scale(var(--k));align-items:center;gap:6px;font-size:12px;font-weight:600;display:flex;position:absolute;top:50%;left:50%}.ff-sticky{color:var(--sticky-text);border-radius:4px;flex-direction:column;padding:14px;font-size:16px;line-height:1.35;display:flex;overflow:hidden;box-shadow:0 1px 2px #00000014,0 4px 10px #00000014}.ff-sticky.middle{justify-content:safe center}.ff-sticky.bottom{justify-content:safe flex-end}.ff-shape{text-align:center;border:2px solid;border-radius:6px;justify-content:center;align-items:center;padding:10px;font-size:16px;line-height:1.35;display:flex;overflow:hidden}.ff-shape.ellipse{border-radius:50%}.ff-text{line-height:1.35}.ff-text.auto{width:max-content}.ff-text.auto .ff-body{white-space:pre}.ff-text .ff-body.blank{min-width:4ch}.ff-text .ff-body span,.ff-sticky .ff-body span{-webkit-box-decoration-break:clone;box-decoration-break:clone}.ff-body{white-space:pre-wrap;overflow-wrap:anywhere;outline:none;width:100%}.ff-body .tl-nl{display:none}.ff-body .tl-indent{white-space:pre}.ff-body .tl.done .tl-body{opacity:.5;text-decoration-line:line-through}.ff-body.editing .tl-marker.check{cursor:pointer}.ff-body .tl.check .tl-glyph{vertical-align:bottom;-webkit-text-fill-color:transparent;width:.8em;margin-right:.12em;display:inline-block;position:relative;overflow:hidden}.ff-body .tl.check .tl-glyph:after{content:"";box-sizing:border-box;border:.07em solid color-mix(in srgb, currentColor 45%, transparent);border-radius:.24em;width:.74em;height:.74em;transition:background-color .15s,border-color .15s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ff-body .tl.done .tl-glyph:after{border-color:var(--accent);background:var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.2 8.4l2.6 2.6 5-5.6' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat}.ff-body.empty:before{content:attr(data-placeholder);opacity:.4}.ff-body.editing{pointer-events:auto;-webkit-user-select:text;user-select:text;cursor:text;min-height:1.35em}.el{--k:var(--k-service);border:1.5px solid var(--k);background:color-mix(in srgb, var(--k) 7%, var(--panel));color:var(--text);pointer-events:none;border-radius:6px;display:flex;position:absolute}.el-service{--k:var(--k-service)}.el-database{--k:var(--k-database)}.el-queue{--k:var(--k-queue)}.el-external{--k:var(--k-external)}.el-person{--k:var(--k-person)}.el-system{--k:var(--k-system)}.el-external{background:color-mix(in srgb, var(--k) 5%, var(--panel));border-style:dashed}.el-person{border-radius:28px}.el-system{background:color-mix(in srgb, var(--k) 4%, transparent);border-width:2px;border-radius:10px}.el-database,.el-queue{background:0 0;border:0}.el-shape{position:absolute;inset:0;overflow:visible}.el-shape .body,.el-shape .lid{fill:color-mix(in srgb, var(--k) 7%, var(--panel));stroke:var(--k);stroke-width:1.5px}.el-shape .lid{fill:color-mix(in srgb, var(--k) 16%, var(--panel))}.el-shape .ring{fill:none;stroke:var(--k);stroke-width:1px;opacity:.45}.el-content{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;min-width:0;padding:8px 12px;display:flex;position:relative;overflow:hidden}.el-system .el-content{text-align:left;flex-flow:wrap;place-content:flex-start;align-items:center;column-gap:6px;padding:10px 14px}.el-system .el-name{width:auto}.el-kind{color:var(--k);letter-spacing:.04em;text-transform:uppercase;align-items:center;gap:4px;font-size:11px;font-weight:600;display:inline-flex}.el-name{font-size:15px;font-weight:600;line-height:1.3}.el-name.editing{min-width:2ch}.el-tech{max-width:100%;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.ff-svg.rel,.ff-svg.ff-arrow{color:var(--rel)}.ff-svg .connector-shaft{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:butt}.ff-svg .connector-head{fill:currentColor;stroke:currentColor;stroke-width:1px;stroke-linejoin:round}.rel-label{background:color-mix(in srgb, var(--bg) 85%, transparent);color:var(--muted);text-align:center;white-space:nowrap;border-radius:4px;padding:0 4px;font-size:14px;line-height:1.4}.rel-protocol{opacity:.75}.rel-label.editing{background:var(--panel);min-width:24px;box-shadow:0 0 0 2px var(--accent);color:var(--text);white-space:pre;pointer-events:auto;cursor:text;-webkit-user-select:text;user-select:text;outline:none}.ff-diagram{color:var(--text)}.seq{display:block;overflow:visible}.seq-frame{fill:var(--panel);stroke:var(--panel-border);stroke-width:1px;filter:drop-shadow(0 1px 2px #0000000f)}.seq-tab{fill:var(--hover);stroke:var(--panel-border);stroke-width:1px}.seq-title{fill:var(--text);font-size:13px;font-weight:600}.seq-title.empty{fill:var(--muted);font-weight:500}.seq-lifeline{stroke:var(--muted);stroke-width:1px;stroke-dasharray:4 4;opacity:.6}.seq-participant rect{fill:color-mix(in srgb, currentColor 7%, var(--panel));stroke:currentColor;stroke-width:1.5px}.seq-actor circle,.seq-actor path{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round}.seq-name{fill:var(--text);font-size:13px;font-weight:600}.seq-label{fill:var(--text);font-size:13px}.seq-line{fill:none;stroke:var(--rel);stroke-width:1.5px}.seq-line.dashed{stroke-dasharray:6 4}.part-name{overflow-wrap:anywhere;font-size:13px;font-weight:600}.part-name code{color:var(--muted);font-weight:400}.part-model{align-items:center;gap:6px;font-size:12px;font-weight:600;display:flex}.part-hint{color:var(--muted);font-size:12px}.seq .seq-pick{fill:color-mix(in srgb, var(--accent) 8%, transparent);stroke:var(--accent);stroke-width:1.5px}.seq .seq-pick-line{fill:none;stroke:var(--accent);stroke-width:7px;stroke-linecap:round;opacity:.45}.seq-head{fill:var(--rel)}.seq-head-open{fill:none;stroke:var(--rel);stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round}.seq-note path{fill:var(--sticky-yellow);stroke:color-mix(in srgb, var(--sticky-yellow) 75%, #000);stroke-width:1px}.seq-note text{fill:var(--sticky-text)}.seq-fragment{fill:none;stroke:var(--muted);stroke-width:1px}.seq-fragment-tab{fill:var(--hover);stroke:var(--muted);stroke-width:1px}.seq-fragment-kind{fill:var(--text);font-size:12px;font-weight:700}.seq-fragment-sep{stroke:var(--muted);stroke-width:1px;stroke-dasharray:5 4}.erd-table{color:var(--k-database)}.erd-box{fill:var(--panel);stroke:currentColor;stroke-width:1.5px}.erd-head{fill:color-mix(in srgb, currentColor 12%, var(--panel))}.erd-sep{stroke:currentColor;stroke-width:1px;opacity:.6}.erd-col{fill:var(--text);font-size:13px}.erd-col.pk{font-weight:600}.erd-type{fill:var(--muted);font-size:12px}.erd-badge{fill:currentColor;letter-spacing:.02em;font-size:10px;font-weight:700}.erd-line,.erd-card{fill:none;stroke:var(--rel);stroke-width:1.5px;stroke-linejoin:round}.erd-card .erd-zero{fill:var(--panel)}.erd-label{fill:var(--text);paint-order:stroke;stroke:var(--panel);stroke-width:4px;stroke-linejoin:round;font-size:12px}.seq-empty{color:var(--muted);border:1px dashed var(--panel-border);background:var(--panel);border-radius:8px;padding:24px;font-size:13px}.seq-errors{color:#fff;background:#dc2626;border-radius:10px;padding:2px 8px;font-size:11px;font-weight:600;position:absolute;top:-10px;right:-10px}.seq-input{background:var(--panel);box-shadow:0 0 0 2px var(--accent);color:var(--text);white-space:pre;pointer-events:auto;cursor:text;-webkit-user-select:text;user-select:text;border-radius:4px;outline:none;padding:1px 4px;font:13px/1.3 system-ui,-apple-system,Segoe UI,sans-serif;position:absolute}.erd-col-edit{z-index:2;background:var(--panel);box-shadow:0 0 0 2px var(--accent), 0 6px 18px #0000002e;pointer-events:auto;-webkit-user-select:text;user-select:text;border-radius:6px;flex-direction:column;font:13px/1.3 system-ui,-apple-system,Segoe UI,sans-serif;display:flex;position:absolute}.erd-col-edit-row{gap:4px;padding:2px;display:flex}.erd-col-edit input{background:var(--hover);min-width:0;color:var(--text);font:inherit;border:1px solid #0000;border-radius:4px;outline:none;padding:0 6px}.erd-col-edit input:focus{border-color:var(--accent);background:var(--panel)}.erd-col-edit input.invalid{border-color:#dc2626}.erd-col-edit-name{flex:1.4}.erd-col-edit-type{color:var(--muted);flex:1;font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:12px}.erd-col-edit-flags{border-top:1px solid var(--panel-border);align-items:center;gap:4px;padding:4px 4px 5px;display:flex}.erd-col-edit-flags button{border:1px solid var(--panel-border);color:var(--muted);letter-spacing:.02em;cursor:pointer;background:0 0;border-radius:10px;padding:1px 7px;font:600 10.5px/1.4 system-ui,-apple-system,Segoe UI,sans-serif}.erd-col-edit-flags button.active{border-color:var(--k-database);background:color-mix(in srgb, var(--k-database) 16%, transparent);color:var(--k-database)}.erd-col-edit-flags button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.erd-col-edit-hint{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-left:auto;font-size:11px;overflow:hidden}.erd-grip{fill:var(--panel);stroke:var(--accent);stroke-width:1.5px}.erd-link path{fill:none;stroke:var(--accent);stroke-width:1.5px;stroke-linecap:round}.erd-run-grip{fill:var(--accent);stroke:var(--panel);stroke-width:1.5px}.ff-image{overflow:hidden}.ff-image img{-webkit-user-select:none;user-select:none;width:100%;height:100%;display:block}.ff-stamp>svg,.ff-stamp>img{object-fit:contain;-webkit-user-select:none;user-select:none;width:100%;height:100%;display:block}.ff-stamp.broken{border:1px dashed var(--panel-border);color:var(--muted);border-radius:50%;justify-content:center;align-items:center;display:flex}.ff-image.broken{background:var(--sticky-gray);color:var(--muted);box-shadow:0 0 0 1px var(--panel-border);justify-content:center;align-items:center;display:flex}.ff-video{flex-direction:column;justify-content:flex-end;display:flex}.ff-video-note{color:var(--c-ink);white-space:pre-wrap;overflow-wrap:anywhere;flex:none;line-height:1.35}.ff-video-card{background:var(--panel);box-shadow:0 0 0 1px var(--panel-border), 0 1px 2px #00000014, 0 4px 10px #00000014;border-radius:8px;flex-direction:column;flex:none;display:flex;overflow:hidden}.ff-video-thumb{background:var(--sticky-gray);flex:none;justify-content:center;align-items:center;display:flex;position:relative}.ff-video-thumb img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.ff-video-play{position:relative}.ff-video-player{transform-origin:0 0;background:#000;outline:none;position:absolute;overflow:hidden}.ff-video-player iframe{border:0;width:100%;height:100%;display:block}.ff-video-player:fullscreen{border-radius:0!important;width:100%!important;height:100%!important;inset:0!important;transform:none!important}.ff-video-player iframe:fullscreen{border-radius:0}.ff-video-screen{background:#000;position:absolute;inset:0}.ff-video-stop{background:var(--hover);width:26px;height:26px;color:var(--text);cursor:pointer;pointer-events:auto;border:0;border-radius:6px;flex:none;justify-content:center;align-items:center;margin-left:auto;display:inline-flex}.ff-video-stop:hover{background:color-mix(in srgb, var(--accent) 16%, var(--hover));color:var(--accent)}.ff-video-play circle{fill:#000000a6}.ff-video-play path{fill:#fff}.ff-video-start{color:#fff;font-variant-numeric:tabular-nums;background:#000000bf;border-radius:4px;padding:2px 6px;font-size:12px;font-weight:500;position:absolute;bottom:8px;right:8px}.ff-video-title{color:var(--text);flex:none;align-items:flex-start;gap:8px;padding:8px 12px;font-size:14px;font-weight:500;line-height:1.35;display:flex}.ff-video-title span{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;flex:1;min-width:0;max-height:2.7em;display:-webkit-box;overflow:hidden}.ff-timer{box-sizing:border-box;background:var(--panel);color:var(--text);box-shadow:0 0 0 1px var(--panel-border), 0 1px 2px #00000014, 0 4px 10px #00000014;flex-direction:column;justify-content:space-between;display:flex;overflow:hidden}.ff-timer.running{box-shadow:0 0 0 1.5px var(--tone), 0 1px 2px #00000014, 0 4px 10px #00000014}.ff-timer-label{align-items:center;min-width:0;font-weight:600;line-height:1.35;display:flex}.ff-timer-dot{background:var(--tone);border-radius:50%;flex:none}.ff-timer-name{white-space:nowrap;text-overflow:ellipsis;outline:none;flex:1;min-width:0;overflow:hidden}.ff-timer-name.empty:before{content:attr(data-placeholder);color:var(--muted);font-weight:500}.ff-timer-name.editing{text-overflow:clip;cursor:text;-webkit-user-select:text;user-select:text;pointer-events:auto}.ff-timer-clock{white-space:nowrap;letter-spacing:-.01em;font-variant-numeric:tabular-nums;align-items:center;font-weight:600;line-height:1.1;display:flex}.ff-timer-today{color:var(--muted);font-variant-numeric:tabular-nums;line-height:1.35}.ff-timer-button{border:1.5px solid var(--tone);color:var(--tone);box-sizing:border-box;border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute}.ff-timer.running .ff-timer-button{background:var(--tone);color:var(--panel)}.ff-svg{width:1px;height:1px;top:0;left:0;overflow:visible}.ff-svg path{fill:none;stroke-linecap:round;stroke-linejoin:round}.overlay{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.sel-box{fill:none;stroke:var(--accent);stroke-width:1.5px}.sel-halo{fill:color-mix(in srgb, var(--accent) 5%, transparent);stroke:var(--accent);stroke-width:3px;stroke-opacity:.2}.crop-shade{fill:#0000008c}.crop-whole{fill:none;stroke:var(--panel-border);stroke-dasharray:4 3}.crop-third{stroke:#ffffff8c;stroke-width:1px}.crop-box{fill:none;stroke:var(--accent);stroke-width:2px}.handle{fill:var(--panel);stroke:var(--accent);stroke-width:1.5px}.sel-connector{fill:none;stroke:var(--accent);stroke-width:7px;stroke-linecap:round;opacity:.45}.anchor{fill:var(--panel);stroke:var(--accent);stroke-width:1.5px}.anchor.active{fill:var(--accent)}.drop-target{fill:color-mix(in srgb, var(--accent) 6%, transparent);stroke:var(--accent);stroke-width:2px;stroke-dasharray:6 4}.run-handle,.bend-handle{fill:var(--panel);stroke:var(--accent);stroke-width:1.5px}.bend-add{fill:color-mix(in srgb, var(--accent) 25%, var(--panel));stroke:var(--accent);stroke-width:1px;opacity:.8}.guide-line,.guide-gap line{stroke:var(--guide);stroke-width:1px}.guide-gap.equal line{stroke-width:2px}.guide-gap rect{fill:var(--guide)}.guide-gap text{fill:#fff;font-variant-numeric:tabular-nums;font-size:11px;font-weight:600}.measure-box{fill:none;stroke:var(--guide);stroke-width:1px}.measure .guide-line,.sel-box.locked{stroke-dasharray:4 3}.lock-badge circle{fill:var(--accent)}.lock-badge svg{color:#fff}.hover-box{fill:none;stroke:var(--accent);stroke-width:1px;opacity:.7}.marquee{fill:color-mix(in srgb, var(--accent) 10%, transparent);stroke:var(--accent);stroke-width:1px}.draft{fill:none;stroke:var(--accent);stroke-width:1.5px;stroke-dasharray:5 4}.draft-head{fill:var(--accent)}.panel{background:color-mix(in srgb, var(--panel) calc(var(--panel-opacity,1) * 100%), transparent);border:1px solid var(--panel-border);border-radius:12px;align-items:center;gap:2px;padding:6px;display:flex;position:absolute;box-shadow:0 2px 12px #00000014}.topbar,.menu,.context-menu,.format-bar,.format-pop,.toolbar,.element-kinds,.zoom{background:var(--panel)}.panel button{min-width:36px;height:36px;color:var(--text);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;padding:0 8px;display:inline-flex}.panel button:hover:not(:disabled){background:var(--hover)}.panel button.active{background:var(--accent-soft);color:var(--accent)}.panel button:disabled{opacity:.35;cursor:default}.panel .sep{background:var(--panel-border);width:1px;height:24px;margin:0 4px}.toolbar-dock{z-index:4;width:max-content;display:grid;position:absolute;bottom:16px;left:50%;transform:translate(-50%)}.toolbar-dock>.panel{grid-area:1/1;transition:transform .22s cubic-bezier(.2,.8,.2,1) 60ms,opacity .16s 60ms,visibility linear;position:relative}.toolbar-dock>.panel.away{opacity:0;visibility:hidden;pointer-events:none;transition:transform .2s cubic-bezier(.4,0,1,1),opacity .16s 40ms,visibility 0s linear .2s;transform:translateY(calc(100% + 24px))}@media (prefers-reduced-motion:reduce){.toolbar-dock>.panel,.toolbar-dock>.panel.away{transition:none}}.toolbar-dock>.panel>button{flex-shrink:0}.toolbar-dock>.toolbar{justify-self:center}.tool-row{background:var(--panel);justify-content:center}.tool-row button{width:40px;height:40px}.tool-row .tool-back{width:24px;min-width:24px;color:var(--muted);padding:0}.pencil-tools{clip-path:inset(-200px -200px 0);align-self:stretch;margin:-6px 0;display:flex}.tool-row .pencil-tools button{border-radius:0;width:42px;min-width:42px;height:auto;padding:0;overflow:visible}.tool-row .pencil-tools button:hover:not(:disabled),.tool-row .pencil-tools button.active{background:0 0}.instrument{filter:drop-shadow(0 1px 1.5px #0000002e);transition:transform .18s cubic-bezier(.2,.8,.2,1);position:absolute;bottom:0;left:50%;transform:translate(-50%,50px)}.pencil-tools button:hover .instrument{transform:translate(-50%,44px)}.pencil-tools button.active .instrument{transform:translate(-50%,32px)}.pencil-tools button .tip{bottom:calc(100% + 22px)}@media (prefers-reduced-motion:reduce){.instrument{transition:none}}.instrument-body{fill:var(--instrument-body);stroke:var(--instrument-edge);stroke-width:.75px}.instrument-wood{fill:#ecd3a8}.instrument-neck{fill:var(--instrument-edge)}.eraser-rubber{fill:#f2a7b6}.eraser-band{fill:var(--instrument-edge)}.pen-colors,.pen-widths{align-items:center;gap:0;display:flex}.pen-colors{justify-content:center;width:176px}.tool-row .pen-colors button{width:22px;min-width:22px;padding:0}.pen-colors .pen-dot{width:16px;height:16px}.pen-hint{color:var(--muted);font-size:13px}.pen-dot{border-radius:50%;flex-shrink:0;width:18px;height:18px;display:block;box-shadow:inset 0 0 0 1px #0000001f}.pen-dot.ring{box-shadow:inset 0 0 0 1.5px var(--muted);background:0 0}.pen-colors button.active{background:0 0}.pen-colors button.active .pen-dot{box-shadow:0 0 0 2px var(--panel), 0 0 0 4px var(--accent)}.tool-row .pen-widths button{width:28px;min-width:28px;padding:0}.toolbar button{width:40px;height:40px}.element-kinds{padding:4px;bottom:calc(100% + 8px);left:50%;transform:translate(-50%)}.toolbar .element-kinds button{white-space:nowrap;gap:6px;width:auto;height:32px;padding:0 10px;font-size:13px}.toolbar .stamp-kinds{scrollbar-width:none;align-items:center;gap:2px;max-width:min(720px,100vw - 32px);display:flex;overflow-x:auto}.toolbar .stamp-kinds button{flex:none;width:36px;min-width:36px;height:36px;padding:4px}.toolbar .stamp-kinds button svg,.toolbar .stamp-kinds .stamp-own img{object-fit:contain;width:28px;height:28px;transition:transform .12s}.toolbar .stamp-kinds button:hover svg,.toolbar .stamp-kinds .stamp-own:hover img{transform:scale(1.12)}.toolbar .stamp-kinds .stamp-settings{color:var(--muted)}.toolbar .stamp-kinds .stamp-settings svg{width:16px;height:16px}.toolbar .stamp-kinds .stamp-add{width:auto;color:var(--muted);gap:4px;padding:0 8px}.toolbar .stamp-kinds .stamp-add svg{width:16px;height:16px}.toolbar .stamp-kinds .sep{flex:none}.panel button{position:relative}.tip{z-index:20;background:var(--text);width:max-content;max-width:240px;color:var(--bg);text-align:left;white-space:normal;pointer-events:none;opacity:0;border-radius:8px;flex-direction:column;gap:3px;padding:7px 10px;font-size:12px;line-height:1.35;transition:opacity .12s,transform .12s;display:flex;position:absolute;bottom:calc(100% + 14px);left:50%;transform:translate(-50%,4px)}.tip.right{left:auto;right:-4px;transform:translateY(4px)}.panel button:hover .tip,.panel button:focus-visible .tip{opacity:1;transition-delay:.2s;transform:translate(-50%)}.panel button:hover .tip.right,.panel button:focus-visible .tip.right{transform:translateY(0)}.panel button[data-tip-off] .tip{opacity:0;transition-delay:0s}.tip-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.tip-head b{font-weight:600}.tip kbd{background:color-mix(in srgb, var(--bg) 22%, transparent);border-radius:4px;padding:0 5px;font:600 11px/1.6 system-ui,-apple-system,Segoe UI,sans-serif}.tip-does{opacity:.8}.zoom{padding:4px;bottom:16px;right:16px}.minimap{background:var(--bg);cursor:pointer;z-index:2;width:248px;height:155px;padding:0;bottom:16px;left:16px;overflow:hidden}.minimap svg{display:block;position:absolute;inset:0}.minimap-content{pointer-events:none}.minimap-picked{fill:none;stroke:var(--accent)}.minimap-view{fill:color-mix(in srgb, var(--accent) 10%, transparent);stroke:var(--accent);cursor:grab}.minimap.dragging,.minimap.dragging .minimap-view{cursor:grabbing}.zoom button{min-width:30px;height:30px;padding:0 6px}.zoom .zoom-value{font-variant-numeric:tabular-nums;min-width:52px}.topbar{z-index:10;padding:4px;top:16px;left:16px}.topbar .trial-label{color:var(--muted);white-space:nowrap;padding:0 10px 0 8px;font-size:12px;font-weight:600}.topbar .trial-save{background:var(--accent);color:#fff;white-space:nowrap;height:28px;box-shadow:0 1px 2px color-mix(in srgb, var(--accent) 30%, transparent);border:0;border-radius:7px;align-items:center;gap:6px;margin:0 4px 0 0;padding:0 12px 0 10px;font-size:12.5px;font-weight:600;transition:background-color .15s,box-shadow .2s,transform .1s;display:inline-flex}.topbar .trial-save svg{transition:transform .2s}.topbar .trial-save:hover:not(:disabled){background:color-mix(in srgb, var(--accent) 86%, #000);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent), 0 4px 12px color-mix(in srgb, var(--accent) 35%, transparent)}.topbar .trial-save:hover:not(:disabled) svg{transform:translate(2px)}.topbar .trial-save:active:not(:disabled){box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);transform:scale(.97)}.topbar .trial-save:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media (prefers-reduced-motion:reduce){.topbar .trial-save,.topbar .trial-save svg{transition:none}.topbar .trial-save:hover:not(:disabled) svg,.topbar .trial-save:active:not(:disabled){transform:none}}.topbar .sep{margin:0 2px}.topbar .view-badge{color:var(--muted);white-space:nowrap;align-items:center;gap:6px;padding:0 6px;font-size:12px;font-weight:600;display:inline-flex}.topbar .shared-status{color:var(--muted);transition:color .3s}.topbar .shared-status.shared{color:var(--accent)}.topbar .shared-status svg{animation:.28s cubic-bezier(.2,.8,.2,1) shared-status-in}@keyframes shared-status-in{0%{opacity:0;transform:scale(.6)}}.share{background:var(--panel);flex-direction:column;align-self:flex-start;align-items:stretch;gap:0;width:min(520px,100vw - 32px);max-height:calc(100vh - min(16vh,140px) - 16px);margin-top:min(16vh,140px);padding:0;position:relative;overflow:hidden;box-shadow:0 12px 48px #00000040}.share-head{border-bottom:1px solid var(--panel-border);justify-content:space-between;align-items:center;padding:14px 16px;display:flex}.share-head h2{align-items:center;gap:8px;margin:0;font-size:15px;display:flex}.share-note{color:var(--muted);text-align:center;margin:0;padding:32px 24px}.share-note small{opacity:.8;margin-top:8px;font-size:12px;display:block}.share-body{padding:4px 16px 16px;overflow-y:auto}.share-body section{border-bottom:1px solid var(--panel-border);padding:12px 0}.share-body section:last-child{border-bottom:0}.share-body h3{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;margin:0 0 10px;font-size:11.5px;font-weight:600}.share-hint{color:var(--muted);margin:-4px 0 6px;font-size:12px}.share-invite{gap:8px;margin-bottom:8px;display:flex}.share-invite input{border:1px solid var(--panel-border);background:var(--bg);min-width:0;height:36px;color:var(--text);font:inherit;border-radius:8px;flex:1;padding:0 10px;transition:border-color .15s,box-shadow .15s}.share .home-primary,.share .home-secondary{height:36px;padding:0 14px}.share .home-primary:disabled{opacity:.5;cursor:default}.share-people{margin:0;padding:0;list-style:none}.share-person,.share-row{align-items:center;gap:10px;min-height:44px;font-size:13px;display:flex}.share-avatar{background:var(--accent-soft);width:28px;height:28px;color:var(--accent);border-radius:50%;flex:none;justify-content:center;align-items:center;font-size:12px;font-weight:600;display:inline-flex}.share-who{overflow-wrap:anywhere;flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.share-who small{color:var(--muted);font-size:12px}.share-role{color:var(--muted);white-space:nowrap;font-size:12.5px}.share .share-remove{width:28px;min-width:28px;height:28px;color:var(--muted);padding:0}.share .share-copy{gap:6px;margin-top:8px;font-size:13px}.share-select{border:1px solid var(--panel-border);background:var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 9px center;height:30px;color:var(--text);font:inherit;cursor:pointer;appearance:none;border-radius:8px;flex:none;padding:0 26px 0 10px;font-size:12.5px;transition:border-color .15s,box-shadow .15s}.share-select:hover{border-color:color-mix(in srgb, var(--accent) 45%, var(--panel-border))}.share-select:focus,.share-invite input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:none}.share-invite .share-select{height:36px}.share-reveal{opacity:0;grid-template-rows:0fr;transition:grid-template-rows .3s cubic-bezier(.2,.8,.2,1),opacity .2s;display:grid}.share-reveal.open{opacity:1;grid-template-rows:1fr}.share-reveal>div{min-height:0;overflow:hidden}.share-link .share-avatar{background:var(--hover);color:var(--muted);transition:background .3s,color .3s;position:relative}.share-link.on .share-avatar{background:var(--accent-soft);color:var(--accent)}.share-flip svg{transition:opacity .25s,transform .35s cubic-bezier(.2,.8,.2,1);position:absolute}.share-flip .on-icon,.share-link.on .share-flip .off-icon{opacity:0;transform:rotate(-90deg)scale(.5)}.share-link.on .share-flip .on-icon{opacity:1;transform:none}.share-swap{display:grid}.share-swap>span{grid-area:1/1;transition:opacity .22s,transform .28s cubic-bezier(.2,.8,.2,1)}.share-swap .on-text,.share-link.on .share-swap .off-text{opacity:0;transform:translateY(4px)}.share-link.on .share-swap .on-text{opacity:1;transform:none}.share-link-role{padding-left:38px}@media (prefers-reduced-motion:reduce){.topbar .shared-status,.topbar .shared-status svg,.share-reveal,.share-link .share-avatar,.share-flip svg,.share-swap>span{transition:none;animation:none}}.share .share-sell{box-sizing:content-box;width:100%;height:auto;min-height:48px;color:var(--text);text-align:left;border-radius:10px;justify-content:flex-start;gap:10px;margin:0 -8px;padding:6px 8px;font-size:13px;display:flex}.share-sell .share-avatar{background:var(--accent-soft);color:var(--accent)}.share-sell-go{color:var(--muted)}.share-pro,.sell-badge{border-radius:999px;flex:none;align-items:center;gap:4px;padding:2px 8px;font-size:11px;font-weight:700;display:inline-flex}.share-pro{background:linear-gradient(135deg, var(--accent), #b44ad6);color:#fff}.sell-badge{background:var(--hover);color:var(--muted)}.share-head h2 .dialog-close{margin-left:-6px}.sell-lead{margin:0 0 8px;font-size:13px;line-height:1.45}.sell-soon{margin:0;padding:0;list-style:none}.shared-empty{color:var(--muted)}.shared-list{flex-direction:column;gap:8px;max-width:720px;margin:0;padding:0;list-style:none;display:flex}.shared-item{border:1px solid var(--panel-border);background:var(--panel);border-radius:12px;align-items:center;gap:4px;display:flex}.shared-item:hover{border-color:color-mix(in srgb, var(--accent) 45%, var(--panel-border))}.shared-open{min-width:0;color:inherit;flex:1;align-items:center;gap:12px;padding:12px 14px;text-decoration:none;display:flex}.shared-avatar{background:var(--accent-soft);width:34px;height:34px;color:var(--accent);border-radius:50%;flex:none;justify-content:center;align-items:center;font-weight:600;display:inline-flex}.shared-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.shared-text b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.shared-text small,.shared-role{color:var(--muted);font-size:12.5px}.shared-role{white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.shared-leave{width:34px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;margin-right:8px;display:inline-flex}.shared-leave:hover{background:var(--hover);color:var(--text)}.menu-anchor{position:relative}.panel .logo-button{color:var(--muted);gap:4px;padding:0 6px}.logo{color:var(--text);display:block}.menu{z-index:10;flex-direction:column;align-items:stretch;gap:2px;width:232px;padding:6px;position:absolute;top:calc(100% + 8px);left:-4px}.panel .menu-item{text-align:left;justify-content:flex-start;gap:10px;width:100%;height:34px;padding:0 8px}.panel .menu-item.active{background:var(--hover);color:var(--text)}.menu-icon{color:var(--muted);display:inline-flex}.menu-item.active .menu-icon{color:inherit}.menu-label{flex:1}.menu-hint{color:var(--muted);font-size:12px;display:inline-flex}.menu-sep{background:var(--panel-border);height:1px;margin:4px 2px}.menu-sub-anchor{position:relative}.menu.submenu{gap:12px;width:260px;padding:12px;top:-6px;left:calc(100% + 10px)}.menu h4{color:var(--muted);margin:0 0 8px;font-size:12px;font-weight:500}.menu .segmented button{flex:1;min-width:0;height:30px;padding:0 6px;font-size:13px}.menu .segmented button.active,.props .segmented button.active{background:var(--panel);color:var(--text);box-shadow:0 1px 2px #0000001a}.title{max-width:320px;display:inline-grid}.title:after,.title input{min-width:2ch;font:inherit;white-space:pre;grid-area:1/1;padding:0 8px;font-weight:500}.title:after{content:attr(data-value) " ";visibility:hidden;overflow:hidden}.title input{width:100%;height:36px;color:var(--text);text-overflow:ellipsis;background:0 0;border:0;border-radius:8px;outline:none}.title input:hover{background:var(--hover)}.title input:focus{background:var(--panel);box-shadow:inset 0 0 0 2px var(--accent);text-overflow:clip}.props{z-index:2;flex-direction:column;align-items:stretch;gap:12px;width:232px;padding:12px;top:16px;right:16px}.props h4{color:var(--muted);margin:0 0 8px;font-size:12px;font-weight:500}.swatches{flex-wrap:wrap;gap:6px;display:flex}.props .swatches button{border:1px solid #0000001f;border-radius:50%;width:24px;min-width:0;height:24px;padding:0}.props .swatches button:hover:not(:disabled){filter:brightness(.95)}.props .swatches button.active{box-shadow:0 0 0 2px var(--panel), 0 0 0 4px var(--accent)}.props.wide{width:380px}.code-editor{border:1px solid var(--panel-border);background:color-mix(in srgb, var(--bg) calc(var(--panel-opacity,1) * 100%), transparent);width:100%;min-height:260px;color:var(--text);tab-size:2;resize:vertical;white-space:pre;border-radius:8px;padding:8px 10px;font:12.5px/1.5 ui-monospace,SF Mono,Menlo,Consolas,monospace}.code-editor:focus{outline:2px solid var(--accent);outline-offset:-1px}.code-hl{position:relative}.code-hl-text{pointer-events:none;min-height:0;margin:0;position:absolute;inset:0;overflow:hidden}.code-hl .code-hl-input{color:#0000;caret-color:var(--text);background:0 0;display:block;position:relative}.code-hl-input::selection{background:color-mix(in srgb, var(--accent) 28%, transparent)}.code-hl .hl-keyword{color:var(--code-keyword)}.code-hl .hl-key{color:var(--code-table)}.code-hl .hl-column{color:var(--code-column)}.code-hl .hl-type{color:var(--code-type)}.code-hl .hl-string{color:var(--code-string)}.code-hl .hl-number{color:var(--code-number)}.code-hl .hl-comment{color:var(--code-comment)}.code-hl .hl-flag,.code-hl .hl-attr,.code-hl .hl-meta{color:var(--code-attr)}.code-hl .hl-operator{color:var(--code-operator)}.code-hl .hl-bracket{color:var(--code-comment)}.code-errors{color:#dc2626;margin:0;padding:0;font-size:12px;list-style:none}.code-ok{color:var(--muted);font-size:12px}.kind-row,.field-head{justify-content:space-between;align-items:center;display:flex}.props .eye{width:22px;min-width:0;height:22px;color:var(--muted);opacity:.7;border-radius:6px;padding:0}.props .eye:hover{opacity:1}.props .eye.off{color:var(--accent);opacity:1}.field-title{color:var(--muted);margin-bottom:6px;font-size:12px;font-weight:500;display:block}.props .element-colors{gap:5px}.props .element-colors button{width:20px;height:20px}.props .element-colors .by-kind{box-shadow:inset 0 0 0 3px var(--panel)}.props .element-colors .by-kind.active{box-shadow:inset 0 0 0 3px var(--panel), 0 0 0 2px var(--panel), 0 0 0 4px var(--accent)}.props .look-slider{grid-template-columns:52px 1fr 36px;align-items:center;gap:8px;display:grid}.props .look-slider .field-title{margin:0}.props .look-slider input{width:100%;min-width:0;accent-color:var(--accent)}.props .kind-label{letter-spacing:.04em;text-transform:uppercase;align-items:center;gap:6px;margin:0;font-size:12px;font-weight:600;display:inline-flex}.fields{flex-direction:column;gap:10px;display:flex}.field{flex-direction:column;gap:4px;display:flex}.field-head>span:first-child{color:var(--muted);font-size:12px;font-weight:500}.field input,.field textarea{border:1px solid var(--panel-border);background:var(--panel);width:100%;color:var(--text);font:inherit;resize:vertical;border-radius:8px;padding:6px 8px;font-size:13px}.field input:focus,.field textarea:focus{outline:2px solid var(--accent);outline-offset:-1px}.field .invalid,.field .invalid:focus{outline-offset:-1px;outline:2px solid #dc2626}.field-error{color:#dc2626;font-size:12px}.actions{flex-direction:column;gap:4px;display:flex}.props .actions button{border:1px solid var(--panel-border);justify-content:flex-start;gap:8px;height:34px;font-size:13px}.segmented{background:var(--hover);border-radius:8px;gap:2px;padding:2px;display:flex}.props .segmented button{flex:1;height:30px;font-size:13px}.fonts{grid-template-columns:repeat(4,1fr);gap:4px;display:grid}.props .fonts button{border:1px solid var(--panel-border);min-width:0;height:40px;font-size:18px}.size-row{gap:6px;display:flex}.size-row .segmented{flex:1}.align-row{gap:6px;display:flex}.align-row .segmented{flex:1;min-width:0}.align-row .segmented button{min-width:0;padding:0}.size-input{border:1px solid var(--panel-border);background:var(--panel);width:52px;height:34px;color:var(--text);font:inherit;text-align:center;font-variant-numeric:tabular-nums;border-radius:8px;padding:0 8px}.size-input:focus{outline:2px solid var(--accent);outline-offset:-1px}.format-bar{z-index:1}.format-bar button{min-width:32px;height:32px;padding:0 6px}.format-bar button.size{font-variant-numeric:tabular-nums;gap:2px}.format-pop{flex-wrap:wrap;max-width:300px;left:0}.format-pop.up{bottom:calc(100% + 6px)}.format-pop.down{top:calc(100% + 6px)}.format-pop.size button{min-width:40px}.format-pop .swatches button,.props .swatches.text-colors button,.props .swatches.highlights button{border:1px solid #0000001f;border-radius:50%;width:22px;min-width:0;height:22px;padding:0}.format-pop .swatches button.active{box-shadow:0 0 0 2px var(--panel), 0 0 0 4px var(--accent)}.swatches .default{background:var(--text)!important}.swatches .none{background:var(--panel)!important;color:var(--muted)!important}.props .segmented.flags{width:max-content}.connector-bar button{gap:2px}.connector-bar .line-dot{border:1px solid #0000001f;border-radius:50%;width:14px;height:14px}.connector-bar .format-pop{flex-wrap:nowrap;max-width:none}.swatches .default-line{background:var(--rel)!important}.context-menu{z-index:20;flex-direction:column;align-items:stretch;gap:0;min-width:220px;padding:4px;position:fixed}.context-menu .menu-section+.menu-section{border-top:1px solid var(--panel-border);margin-top:4px;padding-top:4px}.context-menu button{border-radius:6px;justify-content:space-between;gap:24px;width:100%;height:30px;padding:0 10px;font-size:13px;display:flex}.context-menu kbd{color:var(--muted);font:inherit;font-size:12px}.layers{z-index:2;flex-direction:column;align-items:stretch;width:248px;padding:6px 4px;top:72px;bottom:16px;left:16px}.app.minimap-open .layers{bottom:179px}.layers-list{flex-direction:column;flex:1;display:flex;overflow:hidden auto}.layer-row{flex:none}.layers-end{flex:1 0 32px;position:relative}.layers-end.drop-end:before{content:"";background:var(--accent);border-radius:1px;height:2px;position:absolute;top:0;left:20px;right:8px}.layer-row{cursor:default;-webkit-user-select:none;user-select:none;border-radius:6px;align-items:center;gap:6px;height:28px;padding-right:6px;font-size:13px;display:flex;position:relative}.layer-row:hover{background:var(--hover)}.layer-row.selected{background:color-mix(in srgb, var(--accent) 16%, transparent)}.layer-row.selected:hover{background:color-mix(in srgb, var(--accent) 22%, transparent)}.layer-row.join-top{border-top-left-radius:0;border-top-right-radius:0}.layer-row.join-bottom{border-bottom-right-radius:0;border-bottom-left-radius:0}.layers-head{border-bottom:1px solid var(--panel-border);align-items:center;gap:2px;margin-bottom:4px;padding:0 2px 6px;display:flex}.layers-head .side-tab{height:30px;color:var(--muted);gap:6px;padding:0 8px;font-size:13px;font-weight:600}.layers-head .side-tab.active{color:var(--text)}.layers-head .side-tab.active svg{color:var(--accent)}.layers-count{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;font-weight:500}.fav-grid{flex:1;grid-template-columns:1fr 1fr;align-content:start;gap:8px;padding:2px 4px 4px;display:grid;overflow-y:auto}.fav-card{border:1px solid var(--panel-border);background:var(--panel);-webkit-user-select:none;user-select:none;border-radius:8px;flex-direction:column;min-width:0;display:flex;overflow:hidden}.fav-card:hover{border-color:var(--accent)}.fav-thumb{cursor:grab;aspect-ratio:4/3;background:var(--bg);border-bottom:1px solid var(--panel-border);display:flex}.fav-meta{align-items:center;gap:2px;height:28px;padding:0 2px 0 8px;font-size:12px;display:flex}.fav-name{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.layer-drag-ghost{z-index:1000;border:1px solid var(--accent);background:var(--panel);max-width:220px;color:var(--text);pointer-events:none;border-radius:8px;flex-direction:column;gap:2px;padding:6px 10px;font:600 13px/1.4 system-ui,-apple-system,Segoe UI,sans-serif;display:flex;position:fixed;box-shadow:0 6px 18px #0000002e}.layer-drag-ghost div{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.layer-drag-ghost .more{color:var(--muted);font-weight:400}.layer-drag-ghost .count{background:var(--accent);color:#fff;text-align:center;border-radius:999px;min-width:20px;height:20px;padding:0 6px;font-size:11px;line-height:20px;position:absolute;top:-8px;right:-8px}.layer-row.moving{opacity:.4}.fav-meta .layer-rename{height:20px;font-size:12px}.layers .fav-remove{width:22px;min-width:22px;height:22px;color:var(--muted);visibility:hidden;border-radius:4px;flex:none;padding:0}.fav-card:hover .fav-remove{visibility:visible}.code-panel-editor .cm-panels{color:var(--text);border-color:var(--panel-border);background:0 0}.code-panel-editor .cm-panel.cm-search{flex-wrap:wrap;align-items:center;gap:4px;padding:6px 28px 6px 8px;font-size:12px;display:flex}.code-panel-editor .cm-panel.cm-search br{display:none}.code-panel-editor .cm-panel.cm-search input,.code-panel-editor .cm-panel.cm-search button{font:inherit;color:var(--text);margin:0}.code-panel-editor .cm-panel.cm-search .cm-textfield{border:1px solid var(--panel-border);background:var(--bg,transparent);border-radius:6px;flex:120px;min-width:0;padding:3px 6px}.code-panel-editor .cm-panel.cm-search .cm-button{border:1px solid var(--panel-border);background:var(--hover);background-image:none;border-radius:6px;padding:2px 8px}.code-panel-editor .cm-panel.cm-search label{color:var(--muted);align-items:center;gap:3px;display:inline-flex}.code-panel-editor .cm-panel.cm-search [name=close]{color:var(--muted)}.code-panel-editor .cm-selectionMatch{background:color-mix(in srgb, var(--accent) 14%, transparent)}.code-panel-editor .cm-searchMatch{background:#f59e0b47}.code-panel-editor .cm-searchMatch.cm-searchMatch-selected{background:#f59e0b80}.code-panel-editor .cm-line.cm-picked{background:color-mix(in srgb, var(--accent) 16%, transparent);box-shadow:inset 3px 0 0 var(--accent)}.layer-row.section{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;margin-top:6px;font-size:11px;font-weight:600}.layer-row.section:first-child{margin-top:0}.layer-row.is-hidden .layer-icon,.layer-row.is-hidden .layer-name,.layer-row.is-hidden .layer-note{opacity:.45}.layers .twisty{width:16px;min-width:16px;height:16px;color:var(--muted);background:0 0;border:0;border-radius:4px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.layers .twisty svg{transition:transform .12s}.layers .twisty.open svg{transform:rotate(90deg)}.layer-icon{color:var(--muted);flex:none;display:inline-flex}.layer-row.selected .layer-icon{color:var(--accent)}.layer-stamp svg,.layer-stamp img{object-fit:contain;width:16px;height:16px;display:block}.layer-thumb img{object-fit:cover;background:var(--hover);width:28px;height:16px;box-shadow:0 0 0 1px color-mix(in srgb, var(--text) 12%, transparent);border-radius:3px;display:block}.layer-name{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.layer-note{white-space:nowrap;text-overflow:ellipsis;max-width:72px;color:var(--muted);flex:none;font-size:12px;overflow:hidden}.layer-rename{border:1px solid var(--accent);background:var(--panel);min-width:0;height:22px;color:var(--text);font:inherit;border-radius:4px;outline:none;flex:1;padding:0 4px}.layer-flags{flex:none;gap:0;display:none}.layer-row:hover .layer-flags{display:inline-flex}.layer-flags:has(.on){display:inline-flex}.layers .layer-flags button{width:22px;min-width:22px;height:22px;color:var(--muted);border-radius:4px;padding:0}.layers .layer-flags button:not(.on){visibility:hidden}.layer-row:hover .layer-flags button{visibility:visible}.layer-row.drop-before:before,.layer-row.drop-after:after{content:"";left:var(--drop-indent,8px);background:var(--accent);border-radius:1px;height:2px;position:absolute;right:8px}.layer-row.drop-before:before{top:-1px}.layer-row.drop-after:after{bottom:-1px}.layer-guide{background:color-mix(in srgb, var(--text) 12%, transparent);pointer-events:none;width:1px;position:absolute;top:0;bottom:0}.layer-guide.on{background:color-mix(in srgb, var(--accent) 55%, transparent)}.layer-row.in-picked{background:color-mix(in srgb, var(--accent) 7%, transparent)}.layer-row.in-picked:hover{background:color-mix(in srgb, var(--accent) 12%, transparent)}.layer-row.drop-inside{box-shadow:inset 0 0 0 2px var(--accent)}.topbar .layers-toggle{margin-left:2px}.code-panel{width:var(--code-w);z-index:3;flex-direction:column;align-items:stretch;padding:0;top:16px;bottom:78px;right:16px;overflow:hidden}.code-panel-head{border-bottom:1px solid var(--panel-border);align-items:center;gap:8px;padding:6px 6px 6px 12px;font-weight:600;display:flex}.code-panel-head span:first-of-type{flex:1}.code-panel-dot{background:var(--accent);vertical-align:2px;border-radius:50%;width:7px;height:7px;margin-left:6px;display:inline-block}.code-panel-errors{color:#dc2626;background:#dc262624;border-radius:10px;flex:none;padding:2px 8px;font-size:12px;font-weight:600}.code-panel-editor{flex:1;min-height:0}.code-panel-editor .cm-editor{height:100%;font-size:13px}.code-panel-editor .cm-editor.cm-focused{outline:none}.code-panel-editor .cm-scroller{font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;line-height:1.55}.cm-fold-points{background:var(--hover);color:var(--muted);cursor:pointer;border-radius:4px;padding:0 4px}.layers-empty{color:var(--muted);text-align:center;flex-direction:column;flex:1;justify-content:center;padding:16px 20px;font-size:13px;line-height:1.5;display:flex}.layers-empty p{margin:0 0 6px}.layers-empty p:first-child{color:var(--text);font-weight:500}.layers-empty kbd{border:1px solid var(--panel-border);background:var(--hover);font:inherit;border-radius:4px;padding:1px 5px;font-size:12px}.dialog-close{width:32px;height:32px;color:var(--muted);background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.dialog-close:hover{background:var(--hover);color:var(--text)}.versions{border:1px solid var(--panel-border);background:var(--panel);border-radius:12px;flex-direction:column;align-items:stretch;gap:0;width:min(820px,100vw - 32px);height:min(540px,100vh - 32px);padding:0;display:flex;position:relative;overflow:hidden;box-shadow:0 12px 48px #00000040}.versions-head{border-bottom:1px solid var(--panel-border);justify-content:space-between;align-items:center;padding:14px 16px;display:flex}.versions-head h2{align-items:center;gap:8px;margin:0;font-size:15px;display:flex}.versions-body{flex:1;grid-template-columns:300px minmax(0,1fr);min-height:0;display:grid}.versions-side{border-right:1px solid var(--panel-border);flex-direction:column;min-height:0;display:flex}.versions-save{border-bottom:1px solid var(--panel-border);flex-direction:column;gap:8px;padding:12px;display:flex}.versions-save input{border:1px solid var(--panel-border);background:var(--bg);height:36px;color:var(--text);font:inherit;border-radius:8px;padding:0 10px}.versions-save .home-primary:disabled,.versions-preview .home-primary:disabled{opacity:.5;cursor:default}.versions-list{flex:1;margin:0;padding:6px;list-style:none;overflow-y:auto}.versions-list button{width:100%;color:var(--text);text-align:left;background:0 0;border:0;border-radius:8px;flex-direction:column;gap:2px;padding:8px 10px;display:flex}.versions-list button:hover{background:var(--hover)}.versions-list button.active{background:var(--accent-soft)}.versions-title{font-weight:600}.versions-title.auto{color:var(--muted);font-weight:500}.versions-list small{color:var(--muted);font-size:12px}.versions-list small b{color:var(--accent);font-weight:600}.versions-preview{background:var(--bg);flex-direction:column;justify-content:center;align-items:center;gap:16px;min-width:0;padding:20px;display:flex}.versions-thumb{border:1px solid var(--panel-border);background:var(--bg);border-radius:12px;justify-content:center;align-items:center;width:100%;height:300px;display:flex}.versions-empty{color:var(--muted);text-align:center;margin:auto;padding:24px}.settings-backdrop{z-index:30;background:#00000047;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.settings{background:var(--panel);align-items:stretch;gap:0;width:min(720px,100vw - 32px);height:min(480px,100vh - 32px);padding:0;position:relative;overflow:hidden;box-shadow:0 12px 48px #00000040}.settings-nav{border-right:1px solid var(--panel-border);background:color-mix(in srgb, var(--hover) 50%, var(--panel));flex-direction:column;gap:2px;width:200px;padding:16px 8px;display:flex}.settings-nav h2{margin:0 8px 12px;font-size:15px}.settings .settings-nav button{justify-content:flex-start;gap:10px;height:32px;font-size:13px}.settings-body{flex:1;padding:16px 24px;overflow-y:auto}.settings-body header{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.settings-body h3{margin:0;font-size:15px}.settings-row{border-bottom:1px solid var(--panel-border);justify-content:space-between;align-items:center;gap:24px;padding:14px 0;display:flex}.settings-row:last-child{border-bottom:0}.settings-row-text{flex-direction:column;gap:3px;font-size:13px;display:flex}.settings-row-text small{color:var(--muted);font-size:12px;line-height:1.4}.settings-row-control{flex:none;align-items:center;gap:10px;display:flex}.settings-row-control input[type=range]{width:160px;accent-color:var(--accent)}.settings-value{text-align:right;width:40px;color:var(--muted);font-variant-numeric:tabular-nums;font-size:13px}.settings .settings-reset{border:1px solid var(--panel-border);gap:6px;height:30px;font-size:13px}.toolbar-items{flex-direction:column;gap:2px;margin:4px 0 0;padding:0;list-style:none;display:flex}.toolbar-items li{cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none;border-radius:8px;align-items:center;gap:10px;height:36px;padding:0 8px 0 2px;font-size:13px;display:flex;position:relative}.toolbar-items li:hover{background:var(--hover)}.toolbar-items.sorting li{transition:transform .2s cubic-bezier(.2,.8,.2,1)}.toolbar-items.sorting li:not(.dragging):hover{background:0 0}.toolbar-items.sorting li.dragging{z-index:1;background:var(--panel);box-shadow:0 0 0 1px var(--accent), 0 8px 24px #0000002e;cursor:grabbing;transition:box-shadow .15s}.toolbar-items.sorting{cursor:grabbing}@media (prefers-reduced-motion:reduce){.toolbar-items.sorting li{transition:none}}.toolbar-items li.off .toolbar-item-icon,.toolbar-items li.off .toolbar-item-label,.toolbar-items li.off kbd{opacity:.45}.stamp-settings-list li{cursor:pointer;padding:0}.stamp-settings-list li.last{cursor:default}.stamp-settings-list label{height:100%;cursor:inherit;flex:1;align-items:center;gap:10px;padding:0 8px;display:flex}.stamp-settings-picture{flex:none;width:24px;height:24px;display:inline-flex}.stamp-settings-picture svg,.stamp-settings-picture img{object-fit:contain;width:100%;height:100%}.stamp-settings-list li.off .stamp-settings-picture{opacity:.35;filter:grayscale()}.stamp-settings-head{color:var(--muted);margin:14px 0 0;font-size:12px;font-weight:600}.settings .toolbar-item-grip{width:24px;min-width:24px;height:28px;color:var(--muted);cursor:grab;touch-action:none;padding:0}.toolbar-items.sorting .toolbar-item-grip{cursor:grabbing}.toolbar-item-label{flex:1}.toolbar-items kbd{color:var(--muted);font:inherit;font-size:12px}.switch{appearance:none;background:var(--panel-border);cursor:pointer;border-radius:9px;flex:none;width:30px;height:18px;margin:0;transition:background .15s;position:relative}.switch:after{content:"";background:#fff;border-radius:50%;width:14px;height:14px;transition:transform .15s;position:absolute;top:2px;left:2px;box-shadow:0 1px 2px #0003}.switch:checked{background:var(--accent)}.switch:checked:after{transform:translate(12px)}.switch:disabled{opacity:.45;cursor:default}.switch:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.cm-fold-marker{width:14px;color:var(--muted);text-align:center;cursor:pointer;opacity:.6;display:inline-block}.cm-fold-marker.closed,.cm-fold-marker:hover{color:var(--accent);opacity:1}.code-panel-editor .cm-foldPlaceholder{background:var(--hover);color:var(--muted);cursor:pointer;border:0;border-radius:4px;margin:0 2px;padding:0 6px}.home{background:var(--bg);height:100%;overflow-y:auto}.home-top{z-index:2;border-bottom:1px solid var(--panel-border);background:color-mix(in srgb, var(--bg) 85%, transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);justify-content:space-between;align-items:center;height:60px;padding:0 24px;display:flex;position:sticky;top:0}.home-brand{letter-spacing:-.01em;align-items:center;gap:10px;font-size:17px;font-weight:700;display:flex}.home button{font:inherit;cursor:pointer}.home-icon-button{width:36px;height:36px;color:var(--muted);background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.home-icon-button:hover{background:var(--hover);color:var(--text)}.home-main{max-width:1160px;margin:0 auto;padding:36px 24px 96px}.home-count{background:var(--hover);color:var(--muted);letter-spacing:0;border-radius:999px;padding:2px 9px;font-size:13px;font-weight:600}.home-search{border:1px solid var(--panel-border);background:var(--panel);width:240px;height:38px;color:var(--muted);border-radius:10px;align-items:center;gap:8px;padding:0 12px;display:flex}.home-search span{text-align:left;flex:1}.home-search kbd{border:1px solid var(--panel-border);border-radius:5px;padding:1px 6px;font:11px ui-monospace,SF Mono,Menlo,monospace}.home-search:hover{border-color:color-mix(in srgb, var(--accent) 40%, var(--panel-border));color:var(--text)}.home-primary,.home-secondary,.home-danger{white-space:nowrap;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:6px;height:38px;padding:0 16px;font-weight:600;transition:background .12s,box-shadow .12s;display:inline-flex}.home-primary{background:var(--accent);color:#fff;box-shadow:0 1px 2px #0000001f,inset 0 1px #ffffff26}.home-primary:hover{background:color-mix(in srgb, var(--accent) 88%, #000)}.home-secondary{border-color:var(--panel-border);background:var(--panel);color:var(--text)}.home-secondary:hover{background:var(--hover)}.home-danger{color:#fff;background:#dc2626}.home-danger:hover{background:#b91c1c}.home-primary:focus-visible,.home-secondary:focus-visible,.home-danger:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent);outline:none}.home-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px;display:grid}.canvas-card{border:1px solid var(--panel-border);background:var(--panel);border-radius:14px;flex-direction:column;transition:transform .15s,box-shadow .15s,border-color .15s;display:flex;position:relative;overflow:hidden}.canvas-card:hover{border-color:color-mix(in srgb, var(--accent) 45%, var(--panel-border));transform:translateY(-2px);box-shadow:0 10px 28px #00000017}.canvas-card:has(:focus-visible){border-color:color-mix(in srgb, var(--accent) 45%, var(--panel-border));transform:translateY(-2px);box-shadow:0 10px 28px #00000017}.canvas-card-link{z-index:1;border-radius:inherit;position:absolute;inset:0}.canvas-card-link:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.canvas-thumb{aspect-ratio:16/10;border-bottom:1px solid var(--panel-border);background:radial-gradient(var(--dot) 1px, transparent 1.2px) 0 0 / 14px 14px, var(--bg);justify-content:center;align-items:center;display:flex;position:relative}.canvas-thumb>svg{width:calc(100% - 28px);height:calc(100% - 28px);position:absolute;inset:14px}.canvas-thumb-empty{color:var(--muted);font-size:13px}.canvas-card-actions{z-index:2;visibility:hidden;opacity:0;gap:6px;transition:opacity .12s,visibility 0s .12s;display:flex;position:absolute;top:10px;right:10px}.canvas-card.picked .canvas-card-actions{visibility:visible;opacity:1;transition:opacity .12s}.canvas-card-actions button{border:1px solid var(--panel-border);background:var(--panel);width:30px;height:30px;color:var(--text);border-radius:8px;justify-content:center;align-items:center;display:inline-flex;box-shadow:0 1px 3px #00000014}.canvas-card-actions button:hover{background:var(--hover)}.canvas-card-actions button.danger:hover{border-color:color-mix(in srgb, #dc2626 40%, var(--panel-border));background:color-mix(in srgb, #dc2626 10%, var(--panel));color:#dc2626}.canvas-info{flex-direction:column;gap:3px;padding:12px 14px 14px;display:flex}.canvas-name{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.canvas-info .layer-rename{z-index:2;height:22px;margin:-1px -5px;font-weight:600;position:relative}.canvas-meta{color:var(--muted);font-size:12px}.home-empty{text-align:center;flex-direction:column;align-items:center;max-width:380px;margin:72px auto 0;display:flex}.home-empty h2{margin:24px 0 6px;font-size:18px}.home-empty p{color:var(--muted);margin:0 0 22px;line-height:1.5}.home-backdrop{z-index:30;background:#00000052;justify-content:center;align-items:center;padding:16px;animation:.12s ease-out home-fade;display:flex;position:fixed;inset:0}.home-dialog{border:1px solid var(--panel-border);background:var(--panel);border-radius:16px;width:min(400px,100%);padding:24px;animation:.16s ease-out home-rise;box-shadow:0 20px 60px #00000047}.home-dialog-icon{background:color-mix(in srgb, #dc2626 12%, var(--panel));color:#dc2626;border-radius:12px;justify-content:center;align-items:center;width:40px;height:40px;margin-bottom:14px;display:flex}.home-dialog h2{margin:0 0 6px;font-size:17px}.home-dialog p{color:var(--muted);margin:0;line-height:1.5}.home-dialog p b{color:var(--text);font-weight:600}.home-dialog-buttons{justify-content:flex-end;gap:8px;margin-top:22px;display:flex}.home-dialog.trash{flex-direction:column;gap:12px;width:min(520px,100%);max-height:min(600px,100vh - 32px);display:flex}.trash-head{justify-content:space-between;align-items:center;display:flex}.trash-head h2{margin:0}.trash-list{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.trash-list li{border:1px solid var(--panel-border);border-radius:10px;align-items:center;gap:8px;padding:8px 8px 8px 12px;display:flex}.trash-info{flex-direction:column;flex:1;min-width:0;display:flex}.trash-info b{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.trash-info small{color:var(--muted);font-size:12px}.trash-list .home-secondary,.trash-list .home-danger{height:32px;padding:0 12px}.trash-purge{border:1px solid var(--panel-border);background:var(--panel);width:32px;height:32px;color:var(--muted);border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.trash-purge:hover{border-color:color-mix(in srgb, #dc2626 40%, var(--panel-border));color:#dc2626}.home-dialog .trash-note,.home-dialog .trash-empty{font-size:12.5px}.home-dialog .trash-empty{text-align:center;padding:16px 0}.toasts{z-index:950;pointer-events:none;width:min(420px,100vw - 32px);transition:height .3s cubic-bezier(.2,.8,.2,1);position:fixed;bottom:24px;left:50%;transform:translate(-50%)}.toasts.spread{pointer-events:auto}.app~.toasts,.app .toasts{bottom:88px}.toast{background:var(--text);color:var(--bg);pointer-events:auto;transform-origin:50% 100%;border-radius:12px;transition:transform .4s cubic-bezier(.2,.8,.2,1),opacity .26s,height .3s cubic-bezier(.2,.8,.2,1);position:absolute;bottom:0;left:0;right:0;overflow:hidden;box-shadow:0 10px 30px #00000040}.toast.error{color:#fff;background:#b91c1c}.toast-body{align-items:center;gap:4px;padding:6px 6px 6px 16px;transition:opacity .2s;display:flex}.toast.behind .toast-body{opacity:0}.toast-text{flex-direction:column;flex:1;min-width:0;margin-right:8px;padding:4px 0;display:flex}.toast-text span{overflow-wrap:anywhere;font-weight:500}.toast-text small{opacity:.8;white-space:pre-line;font-size:12px}.toast button{height:30px;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:0 10px}.toast .toast-action{color:color-mix(in srgb, var(--accent) 55%, var(--bg));font-weight:700}.toast.error .toast-action{color:#fff;text-decoration:underline}.toast button:hover{background:color-mix(in srgb, currentColor 14%, transparent)}.toast .toast-close{opacity:.7;align-items:center;padding:0 8px;display:inline-flex}@keyframes home-fade{0%{opacity:0}}@keyframes home-rise{0%{opacity:0;transform:translateY(8px)scale(.98)}}@media (width<=640px){.home-search span,.home-search kbd{display:none}.home-search{width:auto}}.home.on-board{flex-direction:column;display:flex;overflow:hidden}.home-top{gap:14px}.home-grow{flex:1}.home-views{background:var(--hover);border-radius:10px;gap:2px;padding:3px;display:flex}.home-views button{height:30px;color:var(--muted);background:0 0;border:0;border-radius:8px;align-items:center;gap:6px;padding:0 11px;font-weight:600;display:inline-flex}.home-views button.active{background:var(--panel);color:var(--text);box-shadow:0 1px 3px #00000014}.home-title{letter-spacing:-.02em;align-items:center;gap:10px;margin:0 0 24px;font-size:26px;display:flex}.board{-webkit-user-select:none;user-select:none;-webkit-user-drag:none;background-color:var(--bg);background-image:radial-gradient(var(--dot) 1px, transparent 1.2px);cursor:default;touch-action:none;flex:1;min-height:0;position:relative;overflow:hidden}.board input,.board textarea{-webkit-user-select:text;user-select:text}.board-world{transform-origin:0 0;position:absolute;top:0;left:0}.board-card{z-index:0;cursor:grab;position:absolute}.board-card .canvas-card{box-shadow:0 4px 14px #0000000f}.board-card .canvas-card:hover{transform:none}.board-card.moving{z-index:2;cursor:grabbing}.board-card.moving .canvas-card{transform:rotate(-1deg)scale(1.02);box-shadow:0 18px 40px #0000002e}.board-card.moving .canvas-card,.board-card.moving .canvas-card.picked{border-color:var(--panel-border)}.board-card.moving .canvas-card-actions{visibility:hidden;opacity:0}.board-card.shown .canvas-card{border-color:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb, var(--accent) 30%, transparent), 0 14px 30px #0000001f}.board-zoom{border:1px solid var(--panel-border);background:var(--panel);border-radius:12px;align-items:center;gap:2px;padding:4px;display:flex;position:absolute;bottom:16px;right:16px;box-shadow:0 2px 12px #00000014}.board-zoom button{width:32px;height:32px;color:var(--text);background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.board-zoom button:hover{background:var(--hover)}.board-zoom-value{min-width:46px;color:var(--muted);font-variant-numeric:tabular-nums;text-align:center;font-size:12px}.board-zoom-sep{background:var(--panel-border);width:1px;height:20px;margin:0 3px}.palette-backdrop{z-index:30;background:#00000038;justify-content:center;align-items:flex-start;padding:12vh 16px 16px;animation:.12s ease-out home-fade;display:flex;position:fixed;inset:0}.palette{border:1px solid var(--panel-border);background:var(--panel);border-radius:16px;flex-direction:column;width:min(620px,100%);max-height:70vh;animation:.14s ease-out home-rise;display:flex;overflow:hidden;box-shadow:0 24px 60px #00000040}.palette-input{border-bottom:1px solid var(--panel-border);height:56px;color:var(--muted);align-items:center;gap:12px;padding:0 18px;display:flex}.palette-input input{min-width:0;color:var(--text);background:0 0;border:0;outline:none;flex:1;font:17px system-ui,-apple-system,Segoe UI,sans-serif}.palette-list{flex-direction:column;padding:6px;display:flex;overflow-y:auto}.palette-none{color:var(--muted);margin:8px 12px}.palette-item{cursor:pointer;border-radius:10px;align-items:center;gap:12px;min-height:46px;padding:0 10px;display:flex}.palette-item.active{background:var(--accent-soft)}.palette-thumb{border:1px solid var(--panel-border);background:radial-gradient(var(--dot) 1px, transparent 1.2px) 0 0 / 8px 8px, var(--bg);border-radius:6px;flex:none;justify-content:center;align-items:center;width:52px;height:32px;display:flex;overflow:hidden}.palette-thumb.new{background:var(--accent);color:#fff;border:0}.palette-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-weight:600;overflow:hidden}.palette-when{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.palette-show{width:30px;height:30px;color:var(--muted);opacity:0;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.palette-item.active .palette-show{opacity:1}.palette-show:hover{background:var(--panel);color:var(--accent)}.palette-keys{border-top:1px solid var(--panel-border);color:var(--muted);flex-wrap:wrap;gap:16px;padding:10px 18px;font-size:12px;display:flex}.palette-keys kbd{border:1px solid var(--panel-border);border-radius:5px;padding:1px 6px;font:11px ui-monospace,SF Mono,Menlo,monospace}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.board-area{border:1.5px dashed color-mix(in srgb, var(--muted) 55%, transparent);background:color-mix(in srgb, var(--accent) 3%, transparent);cursor:grab;border-radius:18px;position:absolute}.board-area.moving{cursor:grabbing}.board.with-area .board-area,.board.with-note .board-area{cursor:inherit}.board-area-label{border:1px solid var(--panel-border);background:var(--panel);max-width:calc(100% - 32px);height:28px;color:var(--text);letter-spacing:.02em;cursor:grab;border-radius:999px;align-items:center;gap:4px;padding:0 6px 0 12px;font-size:13px;font-weight:700;display:flex;position:absolute;top:-15px;left:16px;box-shadow:0 1px 4px #0000000f}.board-area.moving .board-area-label{cursor:grabbing}.board-area-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.board-area-input{width:200px;color:var(--text);font:inherit;background:0 0;border:0;outline:none}.board-area-resize{border-right:3px solid var(--muted);border-bottom:3px solid var(--muted);cursor:nwse-resize;opacity:0;border-radius:0 0 8px;width:18px;height:18px;transition:opacity .12s;position:absolute;bottom:-6px;right:-6px}.board-area:hover .board-area-resize,.board-area.moving .board-area-resize{opacity:.7}.board-remove{width:20px;height:20px;color:var(--muted);opacity:0;cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.board-area-label:hover .board-remove,.board-note:hover .board-remove{opacity:1}.board-remove:hover{background:var(--hover);color:var(--danger,#dc2626)}.board-note{background:var(--sticky-yellow);color:var(--sticky-text);cursor:grab;border-radius:3px;padding:14px 16px;font-size:15px;line-height:1.4;transition:transform .18s,box-shadow .18s;position:absolute;transform:rotate(-1deg);box-shadow:0 2px 4px #00000014,0 8px 18px #00000014}.board-note.carried{z-index:3}.board-note-pin{background:var(--accent);color:#fff;pointer-events:none;opacity:0;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;margin-left:-11px;transition:opacity .18s,transform .18s cubic-bezier(.3,1.4,.5,1);display:inline-flex;position:absolute;top:-9px;left:50%;transform:scale(.6);box-shadow:0 1px 3px #00000040}.board-note-pin.shown{opacity:1;transform:none}@media (prefers-reduced-motion:reduce){.board-note-pin{transform:none}}.board-note.moving{z-index:3;cursor:grabbing;transform:rotate(-2.5deg)scale(1.03);box-shadow:0 16px 32px #0003}.board-note-text{white-space:pre-wrap;overflow-wrap:anywhere}.board-note .board-remove{color:color-mix(in srgb, var(--sticky-text) 60%, transparent);position:absolute;top:4px;right:4px}.board-note .board-remove:hover{background:color-mix(in srgb, var(--sticky-text) 10%, transparent);color:#c62828}.board-note-input{width:100%;min-height:90px;color:inherit;font:inherit;resize:none;field-sizing:content;background:0 0;border:0;outline:none;padding:0}.board-tools{flex-direction:column;align-items:center;gap:8px;display:flex;position:absolute;top:14px;left:50%;transform:translate(-50%)}.board-tools-row{border:1px solid var(--panel-border);background:var(--panel);border-radius:12px;gap:2px;padding:4px;display:flex;box-shadow:0 2px 12px #00000014}.board-tools button.active{background:var(--accent-soft);color:var(--accent)}.board-tools-hint{background:var(--text);color:var(--bg);white-space:nowrap;border-radius:999px;margin:0;padding:5px 12px;font-size:12.5px}.board-tools-hint kbd{border:1px solid color-mix(in srgb, var(--bg) 40%, transparent);border-radius:4px;padding:0 5px;font:11px ui-monospace,SF Mono,Menlo,monospace}.board.with-area,.board.with-note{cursor:crosshair}.board-area.drawing{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 8%, transparent)}.board-tools button{height:32px;color:var(--text);background:0 0;border:0;border-radius:8px;align-items:center;gap:6px;padding:0 12px;font-weight:600;display:inline-flex}.board-tools button:hover{background:var(--hover)}.canvas-card.picked{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent), 0 10px 28px #00000017}.account{display:flex;position:relative}.account-button{border:1px solid var(--panel-border);background:var(--panel);width:36px;height:36px;color:var(--muted);border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.account-button:hover,.account-button.active{border-color:color-mix(in srgb, var(--accent) 40%, var(--panel-border));color:var(--accent)}.sync-badge{width:8px;height:8px;box-shadow:0 0 0 2px var(--bg);pointer-events:none;border-radius:50%;position:absolute;bottom:1px;right:1px}.sync-badge.synced,.sync-card-dot.synced{background:#22a55b}.sync-badge.offline,.sync-card-dot.offline{background:#e0a526}.sync-badge.failed,.sync-card-dot.failed{background:#e5484d}.sync-card-dot.saving{background:var(--accent)}.sync-badge.saving{border:1.5px solid var(--accent);background:var(--bg);border-top-color:#0000;animation:.8s linear infinite sync-turn}@keyframes sync-turn{to{transform:rotate(360deg)}}.sync-card{z-index:24;background:var(--text);width:max-content;max-width:250px;color:var(--bg);pointer-events:none;opacity:0;border-radius:8px;flex-direction:column;gap:3px;padding:8px 11px;font-size:12px;line-height:1.35;transition:opacity .12s,transform .12s;display:flex;position:absolute;top:calc(100% + 10px);right:0;transform:translateY(-4px)}.account-button:hover~.sync-card,.account-button:focus-visible~.sync-card{opacity:1;transition-delay:.2s;transform:translateY(0)}.account-button.active~.sync-card{visibility:hidden}.sync-card b{align-items:center;gap:7px;font-size:13px;display:flex}.sync-card-dot{border-radius:50%;flex:none;width:7px;height:7px}.sync-card small{opacity:.65;margin-top:2px}@media (prefers-reduced-motion:reduce){.sync-badge.saving{border-top-color:var(--accent);opacity:.6;animation:none}}.account-menu{z-index:25;border:1px solid var(--panel-border);background:var(--panel);border-radius:12px;flex-direction:column;width:270px;padding:6px;animation:.12s ease-out home-rise;display:flex;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 12px 32px #00000024}.account-who{border-bottom:1px solid var(--panel-border);align-items:center;gap:10px;margin-bottom:4px;padding:8px 8px 10px;display:flex}.account-who small{color:var(--muted);font-size:12px;display:block}.account-avatar{background:var(--hover);width:32px;height:32px;color:var(--muted);border-radius:50%;flex:none;justify-content:center;align-items:center;display:inline-flex}.account-button img,.account-avatar img{object-fit:cover;border-radius:50%;width:100%;height:100%}.account-button.signed-in{padding:0;overflow:hidden}.account-initial{color:var(--accent);font-size:14px;font-weight:700}.account-who>div{min-width:0}.account-who b,.account-who small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.account-who b{display:block}.account-rename{border:1px solid var(--accent);background:var(--bg);width:100%;height:26px;color:var(--text);font:inherit;border-radius:6px;padding:0 6px;font-weight:600}.account-menu button{height:36px;color:var(--text);text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:0 10px;display:flex}.account-menu button:hover{background:var(--hover)}.signin{background:var(--bg);grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);height:100%;display:grid;overflow-y:auto}.signin-scene{border-right:1px solid var(--panel-border);background:radial-gradient(var(--dot) 1px, transparent 1.2px) 0 0 / 14px 14px, var(--bg);flex-direction:column;justify-content:center;gap:14px;padding:32px 48px;display:flex}.signin-brand{align-items:center;gap:9px;font-size:17px;font-weight:700;display:flex}.signin-scene h1{letter-spacing:-.02em;text-wrap:balance;max-width:20ch;margin:8px 0 0;font-size:30px}.signin-scene>p{max-width:46ch;color:var(--muted);margin:0}.signin-form{background:var(--panel);justify-content:center;align-items:center;padding:40px 32px;display:flex}.signin-card{flex-direction:column;gap:14px;width:360px;max-width:100%;display:flex}.signin-card h2{letter-spacing:-.02em;margin:0;font-size:24px}.signin-card>p{color:var(--muted);margin:0}.signin-oauth{border:1px solid var(--panel-border);background:var(--panel);height:42px;color:var(--text);border-radius:10px;justify-content:center;align-items:center;gap:9px;font-weight:600;display:flex}.signin-oauth:not(:disabled):hover{border-color:color-mix(in srgb, var(--accent) 40%, var(--panel-border));background:var(--hover)}.signin-oauth:disabled{opacity:.5;cursor:not-allowed}.signin-or{color:var(--muted);align-items:center;gap:10px;font-size:12px;display:flex}.signin-or:before,.signin-or:after{content:"";background:var(--panel-border);flex:1;height:1px}.signin-try{isolation:isolate;color:#fff;background:linear-gradient(110deg,#6a43cb 0%,#8b46d4 40%,#b44ad6 70%,#6a43cb 100%) 0%/200% 100%;border:0;border-radius:10px;justify-content:center;align-items:center;gap:8px;height:42px;font-weight:600;transition:background-position .7s cubic-bezier(.2,.7,.2,1),transform .25s cubic-bezier(.2,.9,.3,1.3),box-shadow .25s;display:flex;position:relative;overflow:hidden;box-shadow:0 6px 18px #6a43cb4d}.signin-try:after{content:"";z-index:-1;background:linear-gradient(105deg,#0000 30%,#ffffff4d 48%,#ffffff73 50%,#0000 68%);position:absolute;inset:0;transform:translate(-110%)}.signin-try:hover{background-position:80%;transform:translateY(-2px);box-shadow:0 12px 28px #6a43cb66}.signin-try:hover:after{transition:transform .75s cubic-bezier(.3,.6,.3,1);transform:translate(110%)}.signin-try:active{transition-duration:80ms;transform:scale(.98)}.signin-try:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent);outline:none}.signin-try-arrow{transition:transform .25s cubic-bezier(.2,.9,.3,1.3)}.signin-try:hover .signin-try-arrow{transform:translate(4px)}@media (prefers-reduced-motion:reduce){.signin-try:hover,.signin-try:hover .signin-try-arrow{transform:none}.signin-try:after{display:none}}.signin-card .signin-note{background:var(--accent-soft);color:var(--accent);border-radius:10px;align-items:flex-start;gap:8px;margin:0;padding:10px 12px;font-size:12.5px;font-weight:600;line-height:1.45;display:flex}.signin-card .signin-note.error{background:color-mix(in srgb, var(--ec-red) 12%, transparent);color:var(--ec-red)}.signin-card .signin-hint{color:var(--muted);text-align:center;margin:0;font-size:12.5px;line-height:1.45}.signin-note svg{flex:none;margin-top:1px}.signin-email{flex-direction:column;gap:12px;display:flex}.signin-lead{color:var(--muted);margin:0}.signin-field{flex-direction:column;gap:6px;display:flex}.signin-field-top{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.signin-field label{font-size:12.5px;font-weight:600}.signin-field input{border:1px solid var(--panel-border);background:var(--bg);width:100%;height:40px;color:var(--text);font:inherit;border-radius:10px;padding:0 12px;transition:border-color .15s,box-shadow .15s}.signin-field input::placeholder{color:var(--muted);opacity:.7}.signin-field input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:none}.signin-field-hint{color:var(--muted);margin:0;font-size:12px}.signin-password{position:relative}.signin-password input{padding-right:40px}.signin-eye{width:32px;height:32px;color:var(--muted);background:0 0;border:0;border-radius:8px;place-items:center;display:grid;position:absolute;top:50%;right:4px;transform:translateY(-50%)}.signin-eye:hover{background:var(--hover);color:var(--text)}.signin-submit{height:42px}.signin-submit:disabled{opacity:.6;cursor:not-allowed}.signin-link{color:var(--accent);font:inherit;font-size:inherit;background:0 0;border:0;padding:0;font-weight:600;display:inline}.signin-link:hover{text-decoration:underline}.signin-link:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:3px}.signin-field-top .signin-link{font-size:12.5px}.signin-switch{color:var(--muted);text-align:center;margin:0;font-size:13px}.signin-back{align-self:center;align-items:center;gap:6px;font-size:13px;display:inline-flex}.signin-nowrap{white-space:nowrap}.signin-sent-mark{color:var(--accent)}.signin.alone{grid-template-columns:1fr}.signin.alone .signin-brand{margin-bottom:8px}.live{flex-direction:column;gap:10px;display:flex}.live-wrap{aspect-ratio:600/340;border:1px solid var(--panel-border);background:radial-gradient(var(--dot) 1px, transparent 1.2px) 0 0 / 14px 14px, var(--bg);border-radius:14px;width:100%;position:relative;overflow:hidden}.live-stage{transform-origin:0 0;touch-action:none;-webkit-user-select:none;user-select:none;width:600px;height:340px;position:absolute;top:0;left:0}.live-wires{pointer-events:none;width:600px;height:340px;position:absolute;inset:0;overflow:visible}.live-wire{fill:none;stroke:var(--rel);stroke-width:1.6px}.live-sketch{pointer-events:none;width:600px;height:340px;position:absolute;inset:0;overflow:visible}.live-sketch .ink{fill:none;stroke:color-mix(in srgb, var(--text) 72%, transparent);stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;animation:ease-out both live-draw}.live-sketch .ink.faint{stroke-width:1.1px;opacity:.45}.live-sketch .scribble{fill:color-mix(in srgb, var(--text) 80%, transparent);text-anchor:middle;opacity:0;font:21px Caveat,Bradley Hand,cursive;animation:.35s ease-out both live-scribble}@keyframes live-scribble{to{opacity:1}}.live-sketch g{transform-box:fill-box;transform-origin:50%;transition:opacity .35s,transform .35s}.live-sketch g.gone{opacity:0;transform:scale(.96)}@keyframes live-draw{0%{stroke-dashoffset:var(--len)}to{stroke-dashoffset:0}}.live-obj{cursor:grab;flex-direction:column;justify-content:center;align-items:center;gap:1px;display:flex;position:absolute}.live-obj.pop{animation:.55s cubic-bezier(.3,1.6,.5,1) both live-pop}@keyframes live-pop{0%{opacity:0;transform:scale(.4) rotate(var(--r,0deg))}to{opacity:1;transform:scale(1) rotate(var(--r,0deg))}}.live-obj.waiting{opacity:0;pointer-events:none}.live-obj.snapped{animation:.5s cubic-bezier(.3,1.5,.5,1) both live-snap}@keyframes live-snap{0%{opacity:0;filter:blur(3px);transform:scale(.9)rotate(-2deg)}55%{opacity:1;filter:blur();transform:scale(1.04)rotate(.5deg)}to{transform:none}}.live-obj.held{cursor:grabbing;filter:drop-shadow(0 10px 14px #0000002e)}.live-obj.land{animation:.4s cubic-bezier(.3,1.8,.5,1) live-land}@keyframes live-land{0%{transform:scale(1.08) rotate(var(--r,0deg))}to{transform:scale(1) rotate(var(--r,0deg))}}.live-obj.sticky{background:var(--sticky-yellow);width:112px;height:112px;color:var(--sticky-text);transform:rotate(var(--r,0deg));justify-content:flex-start;align-items:flex-start;padding:12px;font-size:14px;box-shadow:0 2px 6px #0000001a}.live-obj.sticky.idle{animation:3.2s ease-in-out infinite live-bob}@keyframes live-bob{0%,to{transform:rotate(var(--r,0deg)) translateY(0)}50%{transform:rotate(calc(var(--r,0deg) * -1)) translateY(-3px)}}.live-obj.live-el{pointer-events:auto;align-items:stretch}.live-obj.live-el .el-name{font-size:14px}.live-code{opacity:0;z-index:10;border:1px solid var(--panel-border);background:var(--panel);width:312px;color:var(--text);pointer-events:none;border-radius:10px;padding:10px;font:11px/1.7 ui-monospace,SF Mono,Menlo,Consolas,monospace;transition:opacity .35s,transform .35s;position:absolute;bottom:12px;left:12px;transform:translateY(8px);box-shadow:0 6px 18px #00000014}.live-code.shown{opacity:1;transform:none}.live-phase{z-index:10;border:1px solid var(--panel-border);background:color-mix(in srgb, var(--panel) 92%, transparent);color:var(--muted);pointer-events:none;border-radius:999px;align-items:center;gap:7px;padding:4px 10px;font-size:11.5px;font-weight:600;display:inline-flex;position:absolute;bottom:12px;right:12px}.live-phase:before{content:"";background:#e0a526;border-radius:50%;width:7px;height:7px;animation:1.1s ease-in-out infinite live-pulse}.live-phase[data-phase=build]:before{background:var(--accent)}.live-phase[data-phase=done]:before{background:#2f9e6e;animation:none}@keyframes live-pulse{50%{opacity:.35;transform:scale(.75)}}.live-code .ln{text-overflow:ellipsis;white-space:pre;border-radius:4px;margin:0 -4px;padding:0 4px;transition:background .2s;display:block;overflow:hidden}.live-code .ln.hot{background:var(--accent-soft)}.live-code .kw{color:var(--code-keyword);font-weight:600}.live-code .str{color:var(--code-string)}.live-code .num{color:var(--code-number)}.live-code .cur{background:var(--accent);vertical-align:-2px;width:6px;height:13px;animation:1s step-end infinite live-blink;display:inline-block}@keyframes live-blink{50%{opacity:0}}.settings-credits{color:var(--muted);margin:24px 0 0;font-size:12px}.settings-credits a{color:inherit}.emote-layer{z-index:1000;position:fixed;inset:0}.emote-wheel{border:1px solid var(--panel-border);background:var(--panel);-webkit-user-select:none;user-select:none;border-radius:50%;width:182px;height:182px;animation:.12s ease-out emote-wheel-in;position:absolute;transform:translate(-50%,-50%);box-shadow:0 8px 32px #00000029}.emote-wheel .emote{border-radius:50%;place-items:center;width:40px;height:40px;line-height:1;transition:transform 90ms ease-out,background-color 90ms;display:grid;position:absolute;transform:translate(-50%,-50%)}.emote-wheel .emote.hot{background:var(--hover);transform:translate(-50%,-50%)scale(1.3)}.emote-anim{vertical-align:middle;display:inline-block;position:relative}.emote-anim-player,.emote-anim-fallback{position:absolute;inset:0}.emote-anim-fallback{place-items:center;line-height:1;display:grid}.emote-anim-player svg{display:block}.emote-key{background:var(--hover);min-width:14px;height:14px;color:var(--muted);text-align:center;border-radius:4px;padding:0 3px;font-family:inherit;font-size:10px;font-weight:600;line-height:14px;position:absolute;bottom:-2px;right:-2px}.emote-label{color:var(--muted);font-size:12px;font-weight:500;position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%)}@keyframes emote-wheel-in{0%{opacity:0;transform:translate(-50%,-50%)scale(.85)}}html.emoting,html.emoting *{cursor:none!important}.emote-cursor{z-index:1001;pointer-events:none;will-change:transform;position:fixed;top:0;left:0}.emote-cursor-body{animation:ease-out both emote-cursor;display:block;translate:-50% -50%}@keyframes emote-cursor{0%{opacity:0;transform:scale(.3)}10%{opacity:1;transform:scale(1.15)}18%,85%{opacity:1;transform:scale(1)translateY(0)}to{opacity:0;transform:scale(.6)translateY(-16px)}}@keyframes emote-fade{0%,85%{opacity:1}to{opacity:0}}@media (prefers-reduced-motion:reduce){.toasts,.toast,.toast-body{transition-duration:10ms}.emote-cursor-body{animation-name:emote-fade}.emote-wheel{animation:none}.live-obj.pop,.live-obj.land,.live-obj.snapped,.live-obj.sticky.idle,.live-phase:before,.live-code .cur{animation:none!important}.live-code{transition:none}}@media (width<=800px){.signin{grid-template-columns:1fr}.signin-scene{border-right:0;border-bottom:1px solid var(--panel-border);padding:24px 16px}}:root{--pro:linear-gradient(135deg, #6a43cb 0%, #b44ad6 55%, #f0875d 100%)}.home-dialog.pro{text-align:center;flex-direction:column;align-items:center;width:min(420px,100%);padding:28px 24px 22px;display:flex;position:relative}.pro-close{position:absolute;top:10px;right:10px}.pro-mark{background:var(--pro);color:#fff;border-radius:16px;justify-content:center;align-items:center;width:52px;height:52px;display:inline-flex;box-shadow:0 8px 24px #b44ad666}.pro-mark.small{border-radius:12px;width:40px;height:40px;margin-bottom:14px}.pro-head h2{margin:12px 0 4px;font-size:20px}.pro-head p{margin:0}.pro-track{overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;cursor:grab;-webkit-user-select:none;user-select:none;width:calc(100% + 48px);margin:18px -24px 0;display:flex;overflow-x:auto}.pro-track::-webkit-scrollbar{display:none}.pro-track.dragging{scroll-snap-type:none;cursor:grabbing}.pro-slide{scroll-snap-align:center;scroll-snap-stop:always;flex:0 0 100%;padding:0 24px}.pro-slide h3{margin:16px 0 6px;font-size:16px}.home-dialog .pro-slide p{min-height:3em}.pro-art{background:radial-gradient(circle at 30% 20%, #b44ad62e, transparent 60%), radial-gradient(circle at 80% 90%, #f0875d29, transparent 55%), var(--accent-soft);border-radius:14px;justify-content:center;align-items:center;height:190px;display:flex;position:relative;overflow:hidden}.pro-art-emotes{width:0;height:0;position:relative}.pro-art-emotes span{transform:translate(-50%, -50%) rotate(calc(var(--i) * 45deg)) translateY(-66px) rotate(calc(var(--i) * -45deg));animation:pro-emote 4s calc(var(--i) * .5s) infinite ease-in-out;font-size:26px;line-height:1;position:absolute;top:0;left:0}.pro-art-cursor{color:var(--text);fill:var(--panel);position:absolute;top:-4px;left:-4px}.pro-art-favorites{grid-template-columns:repeat(2,108px);gap:10px;display:grid}.pro-art-favorites span{border:1px solid var(--panel-border);background:var(--panel);text-align:left;border-radius:10px;flex-direction:column;gap:5px;padding:10px 10px 8px;display:flex;position:relative}.pro-art-favorites span.picked{border-color:var(--accent);box-shadow:0 6px 18px color-mix(in srgb, var(--accent) 25%, transparent);animation:3s ease-in-out infinite pro-float}.pro-art-favorites i{background:color-mix(in srgb, var(--accent) 30%, var(--panel));border-radius:3px;width:70%;height:8px;display:block}.pro-art-favorites i+i{background:color-mix(in srgb, #0f9f8f 30%, var(--panel));width:45%}.pro-art-favorites small{color:var(--muted);font-size:11px}.pro-art-favorites svg{color:#f0a020;fill:#f0a020;position:absolute;top:7px;right:7px}.pro-art-more{color:var(--accent);position:relative}.pro-art-more>svg:first-child{animation:3s ease-in-out infinite pro-float}.pro-art-more>svg:nth-child(2){color:#b44ad6;animation:2s infinite pro-twinkle;position:absolute;top:-14px;right:-22px}.pro-art-more>svg:nth-child(3){color:#f0875d;animation:2s 1s infinite pro-twinkle;position:absolute;bottom:-6px;left:-20px}.pro-art-selling{color:var(--accent);position:relative}.pro-art-selling>svg{animation:3s ease-in-out infinite pro-float}.pro-art-selling .pro-art-price,.pro-art-selling .pro-art-views{white-space:nowrap;border-radius:999px;align-items:center;gap:3px;padding:2px 7px;font-size:11px;font-weight:700;display:inline-flex;position:absolute}.pro-art-selling .pro-art-price{color:#fff;background:#2fbf8f;animation:3s ease-in-out .4s infinite pro-float;top:-12px;right:-36px}.pro-art-selling .pro-art-views{background:var(--panel);color:var(--muted);animation:3s ease-in-out 1.2s infinite pro-float;bottom:-8px;left:-40px;box-shadow:0 1px 4px #00000026}.pro-art-stamps{align-items:center;gap:10px;display:flex}.pro-art-stamps span{width:44px;height:44px;animation:pro-float 3s calc(var(--i) * .4s) infinite ease-in-out;display:inline-flex}.pro-art-stamps .pro-art-own{border:2px dashed var(--accent);color:var(--accent);border-radius:50%;justify-content:center;align-items:center;font-size:11px;font-weight:800}.pro-nav{justify-content:center;align-items:center;gap:8px;margin-top:14px;display:flex}.pro-nav .dialog-close:disabled{opacity:.3;pointer-events:none}.pro-dots{gap:6px;display:flex}.pro-dots button{background:var(--panel-border);border:0;border-radius:4px;width:7px;height:7px;padding:0;transition:width .3s cubic-bezier(.2,.9,.3,1.2),background .2s,transform .2s}.pro-dots button:not(.on):hover{background:color-mix(in srgb, var(--accent) 45%, var(--panel-border));transform:scale(1.35)}.pro-dots button.on{background:var(--accent);width:20px}.home-primary.pro-buy{isolation:isolate;background:linear-gradient(110deg,#6a43cb 0%,#b44ad6 30%,#f0875d 55%,#b44ad6 80%,#6a43cb 100%) 0%/200% 100%;border:0;border-radius:12px;width:100%;height:44px;margin-top:14px;font-size:15px;transition:background-position .7s cubic-bezier(.2,.7,.2,1),transform .25s cubic-bezier(.2,.9,.3,1.3),box-shadow .25s;position:relative;overflow:hidden;box-shadow:0 4px 14px #b44ad647}.home-primary.pro-buy:after{content:"";z-index:-1;background:linear-gradient(105deg,#0000 30%,#ffffff59 48%,#ffffff80 50%,#0000 68%);position:absolute;inset:0;transform:translate(-110%)}.home-primary.pro-buy:hover{background:linear-gradient(110deg,#6a43cb 0%,#b44ad6 30%,#f0875d 55%,#b44ad6 80%,#6a43cb 100%) 70%/200% 100%;transform:translateY(-2px);box-shadow:0 10px 26px #b44ad66b,0 2px 6px #f0875d4d}.home-primary.pro-buy:hover:after{transition:transform .75s cubic-bezier(.3,.6,.3,1);transform:translate(110%)}.home-primary.pro-buy:active{transition-duration:80ms;transform:translateY(0)scale(.98);box-shadow:0 3px 10px #b44ad64d}.home-primary.pro-buy:focus-visible{box-shadow:0 0 0 3px var(--panel), 0 0 0 5px #b44ad699;outline:none}.pro-close svg{transition:transform .3s cubic-bezier(.2,.9,.3,1.3)}.pro-close,.pro-nav .dialog-close{transition:background .18s,color .18s,opacity .18s}.pro-close:hover svg{transform:rotate(90deg)}.pro-nav .dialog-close svg{transition:transform .22s cubic-bezier(.2,.9,.3,1.3)}.pro-nav .dialog-close:hover{background:var(--accent-soft);color:var(--accent)}.pro-nav .dialog-close:first-child:hover svg{transform:translate(-2px)}.pro-nav .dialog-close:last-child:hover svg{transform:translate(2px)}.pro-nav .dialog-close:active svg{transform:scale(.85)}.pro-question .home-primary,.pro-question .home-secondary{transition:background .2s,border-color .2s,transform .22s cubic-bezier(.2,.9,.3,1.3),box-shadow .22s}.pro-question .home-primary:hover{box-shadow:0 8px 20px color-mix(in srgb, var(--accent) 35%, transparent);transform:translateY(-1px)}.pro-question .home-secondary:hover{border-color:color-mix(in srgb, var(--accent) 35%, var(--panel-border));transform:translateY(-1px);box-shadow:0 6px 16px #00000014}.pro-question .home-primary:active,.pro-question .home-secondary:active{transition-duration:80ms;transform:scale(.97)}.pro-art>*{transition:transform .45s cubic-bezier(.2,.8,.2,1)}.pro-track:not(.dragging) .pro-art:hover>*{transform:scale(1.06)}.home-dialog p.pro-have{color:var(--accent);align-items:center;gap:6px;margin-top:14px;font-weight:600;display:inline-flex}.pro-have svg{fill:currentColor}.pro-question{flex-direction:column;align-items:center;width:100%;padding-top:6px;display:flex}.pro-question .home-dialog-buttons{align-self:stretch}.pro-question .home-dialog-buttons button{flex:1}.pro-done h2{margin-top:4px;font-size:20px}.home-dialog.pro.done{animation:.45s cubic-bezier(.3,1.6,.5,1) pro-thump}.pro-burst{justify-content:center;align-items:center;height:132px;display:flex;position:relative}.pro-burst .emote-anim{animation:.6s cubic-bezier(.3,1.7,.5,1) pro-pop;position:relative}.pro-glow{background:radial-gradient(circle,#f5c54273,#b44ad638 45%,#0000 70%);border-radius:50%;width:170px;height:170px;animation:2.4s ease-in-out infinite pro-glow;position:absolute;inset:50% auto auto 50%;translate:-50% -50%}.pro-confetti{z-index:1000;pointer-events:none;width:0;height:0;position:fixed}.pro-confetti span{opacity:0;animation-name:pro-confetti;animation-timing-function:cubic-bezier(.15,.6,.35,1);animation-fill-mode:forwards;position:absolute;top:0;left:0}.pro-confetti .strip{background:var(--c);border-radius:2px;width:7px;height:14px}.pro-confetti .dot{background:var(--c);border-radius:50%;width:9px;height:9px}.pro-confetti .emoji{font-size:22px;line-height:1}.pro-chip{color:#fff;letter-spacing:.03em;vertical-align:1px;background:linear-gradient(135deg,#6a43cb,#b44ad6 55%,#f0875d);border-radius:6px;margin-left:6px;padding:1px 6px;font-size:10px;font-weight:700;display:inline-block}.pro-chip.early{color:#4a2a00;background:linear-gradient(135deg,#f5c542,#f0a020 55%,#f0875d);align-items:center;gap:2px;padding:1px 6px 1px 5px;display:inline-flex;box-shadow:0 0 0 1px #f0a02073,0 2px 6px #f0a02059}.pro-chip.early svg{fill:currentColor}.home-dialog p.pro-have.early_adopter{color:#c27a00}:root[data-theme=dark] .home-dialog p.pro-have.early_adopter{color:#f5c542}.home-dialog p b.pro-seat{color:#0000;background:linear-gradient(100deg,#f0a020,#f0875d);-webkit-background-clip:text;background-clip:text;font-weight:800}.account-menu button.account-pro{transition:background .2s,color .2s}.account-menu .account-pro svg{color:#b44ad6;transition:transform .4s cubic-bezier(.2,.9,.3,1.4)}.account-menu button.account-pro:hover{color:#8a3fc4;background:linear-gradient(110deg,#6a43cb1f,#f0875d1f)}:root[data-theme=dark] .account-menu button.account-pro:hover{color:#d9a6ff}.account-menu button.account-pro:hover svg{animation:1.2s .4s infinite pro-twinkle;transform:rotate(18deg)scale(1.2)}@keyframes pro-emote{0%,18%,to{font-size:26px}8%{font-size:36px}}@keyframes pro-float{50%{transform:translateY(-5px)}}@keyframes pro-twinkle{50%{opacity:.3;transform:scale(.7)}}@keyframes pro-pop{0%{transform:scale(.2)rotate(-20deg)}}@keyframes pro-thump{40%{transform:scale(1.04)}}@keyframes pro-glow{50%{opacity:.55;scale:1.15}}@keyframes pro-confetti{0%{opacity:1;transform:translate(-50%,-50%)scale(.4)rotate(0)}35%{opacity:1;transform:translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1) rotate(calc(var(--spin) * .4))}80%{opacity:1}to{opacity:0;transform:translate(calc(-50% + var(--dx) * 1.15), calc(-50% + var(--dy) + var(--fall))) scale(.9) rotate(var(--spin))}}@media (prefers-reduced-motion:reduce){.pro-art-emotes span,.pro-art-favorites span.picked,.pro-art-more>svg,.pro-burst .emote-anim,.pro-glow,.home-dialog.pro.done{animation:none}.pro-confetti{display:none}.home-primary.pro-buy,.home-primary.pro-buy:hover,.home-primary.pro-buy:active,.pro-question .home-primary:hover,.pro-question .home-secondary:hover,.pro-track .pro-art:hover>*,.fav-locked:hover .pro-mark,.pro-close:hover svg,.pro-nav .dialog-close:hover svg,.account-menu button.account-pro:hover svg{animation:none;transform:none}.home-primary.pro-buy:after{display:none}}.home-backdrop.pro-backdrop{z-index:900}.fav-locked{align-items:center}.fav-locked .pro-mark{margin-bottom:12px;transition:transform .4s cubic-bezier(.2,.9,.3,1.4),box-shadow .3s}.fav-locked:hover .pro-mark{transform:translateY(-3px)rotate(-6deg);box-shadow:0 12px 28px #b44ad680}.fav-locked .fav-locked-title{color:var(--text);font-weight:600}.fav-locked .home-primary.pro-buy{color:#fff;height:36px;margin-top:10px;font-size:13px;font-weight:600}.panel .fav-locked .home-primary.pro-buy:hover:not(:disabled){background:linear-gradient(110deg,#6a43cb 0%,#b44ad6 30%,#f0875d 55%,#b44ad6 80%,#6a43cb 100%) 70%/200% 100%}.timer-totals{gap:24px;display:flex}.timer-totals>span{flex-direction:column;gap:2px;display:flex}.timer-totals b{font-variant-numeric:tabular-nums;font-size:18px;font-weight:600}
