:root{--accent:#5b5bf0;--accent-soft:#ededfe;--accent-ink:#5b5bf0;--ink:#1f2328;--icon:#3d444d;--muted:#6b7280;--line:#0f172a14;--hover:#0f172a0f;--panel:#ffffffeb;--panel-solid:#fff;--field:#fff;--surface:#fff;--swatch-edge:#0f172a24;--tip:#1f2328;--danger:#d93036;--danger-soft:#fdecec;--bg:#f5f6f8;--shadow:0 1px 2px #0f172a0f, 0 8px 24px #0f172a14;--ease:cubic-bezier(.2, .8, .2, 1);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--ink);-webkit-font-smoothing:antialiased;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--accent-soft:#7474f533;--accent-ink:#a3a3ff;--ink:#e6e8ec;--icon:#c5cad3;--muted:#9aa1ab;--line:#ffffff17;--hover:#ffffff14;--panel:#202329eb;--panel-solid:#202329;--field:#2a2e36;--surface:#2a2e36;--swatch-edge:#ffffff29;--tip:#454b55;--danger:#f2686d;--danger-soft:#e5484d29;--bg:#17191d;--shadow:0 1px 2px #0000004d, 0 8px 24px #00000059;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--accent-soft:#7474f533;--accent-ink:#a3a3ff;--ink:#e6e8ec;--icon:#c5cad3;--muted:#9aa1ab;--line:#ffffff17;--hover:#ffffff14;--panel:#202329eb;--panel-solid:#202329;--field:#2a2e36;--surface:#2a2e36;--swatch-edge:#ffffff29;--tip:#454b55;--danger:#f2686d;--danger-soft:#e5484d29;--bg:#17191d;--shadow:0 1px 2px #0000004d, 0 8px 24px #00000059;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body,#root{overscroll-behavior:none;background:var(--bg);height:100%;margin:0;overflow:hidden}button,input{font:inherit;color:inherit}.app{-webkit-user-select:none;user-select:none;position:fixed;inset:0}.canvas{touch-action:none;outline:none;width:100%;height:100%;display:block;position:absolute;inset:0}.panel{background:var(--panel);-webkit-backdrop-filter:blur(14px)saturate(1.4);border:1px solid var(--line);box-shadow:var(--shadow);animation:rise .28s var(--ease) both;border-radius:14px;align-items:center;gap:2px;padding:6px;display:flex;position:absolute}@keyframes rise{0%{opacity:0;translate:0 6px;scale:.98}}.sep{background:var(--line);flex:none;width:1px;height:20px;margin:0 6px}.btn{width:38px;height:38px;color:var(--icon);cursor:pointer;transition:background .15s, color .15s, transform .15s var(--ease);background:0 0;border:0;border-radius:10px;flex:none;place-items:center;padding:0;display:grid;position:relative}.btn.small{border-radius:8px;width:32px;height:32px}.btn:hover{background:var(--hover)}.btn:active{transform:scale(.92)}.btn.active{background:var(--accent-soft);color:var(--accent-ink)}.btn.danger:hover{background:var(--danger-soft);color:var(--danger)}.btn:disabled{opacity:.3;pointer-events:none}.btn:focus-visible,.swatch:focus-visible,.share:focus-visible,.avatar.me:focus-visible{outline:2px solid var(--accent);outline-offset:1px}[data-tip]:after{content:attr(data-tip);z-index:10;background:var(--tip);color:#fff;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .12s, translate .15s var(--ease);border-radius:7px;padding:5px 8px;font-size:12px;font-weight:500;line-height:1.2;position:absolute;top:50%;left:calc(100% + 10px);translate:-4px -50%}.style-panel [data-tip]:after,[data-tip-pos=bottom]:after{top:calc(100% + 10px);left:50%;translate:-50% -4px}[data-tip-pos=top]:after{top:auto;bottom:calc(100% + 10px);left:50%;translate:-50% 4px}[data-tip]:hover:after{opacity:1;transition-delay:.35s;translate:0 -50%}.style-panel [data-tip]:hover:after,[data-tip-pos=bottom]:hover:after,[data-tip-pos=top]:hover:after{translate:-50%}.toolbar{flex-direction:column;animation-name:slide-in;top:50%;left:14px;translate:0 -50%}@keyframes slide-in{0%{opacity:0;translate:-8px -50%}}.toolbar .sep{width:20px;height:1px;margin:6px 0}.top-left{z-index:5;max-width:calc(100vw - 260px);top:14px;left:14px}.logo{letter-spacing:-.01em;height:32px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:9px;align-items:center;gap:8px;padding:0 6px 0 2px;font-size:15px;font-weight:650;text-decoration:none;transition:background .15s;display:flex;position:relative}.logo:hover,.logo.open{background:var(--hover)}.logo>svg{color:var(--muted);margin-left:-2px;rotate:45deg}.logo-mark{width:28px;height:28px;transition:transform .3s var(--ease);background:linear-gradient(135deg,#7c6cf6,#4f46e5);border-radius:8px;place-items:center;display:grid}.logo:hover .logo-mark{transform:rotate(-8deg)scale(1.06)}.board-name{text-overflow:ellipsis;background:0 0;border:0;border-radius:8px;outline:none;min-width:0;height:30px;padding:0 8px;font-size:14px;font-weight:500;transition:background .15s,box-shadow .15s}.board-name:hover{background:var(--hover)}.board-name:focus{background:var(--field);box-shadow:0 0 0 2px var(--accent)}.status{color:var(--muted);white-space:nowrap;align-items:center;gap:6px;padding:0 8px 0 6px;font-size:12px;display:flex}.status i{background:#2f9e44;border-radius:50%;width:7px;height:7px;transition:background .3s}.status.saving i{background:#f08c00;animation:.9s ease-in-out infinite pulse}.status.offline i{background:#9aa1ab}@keyframes pulse{50%{opacity:.35}}.top-right{z-index:5;gap:10px;padding-left:10px;top:14px;right:14px}.avatars{align-items:center;display:flex}.avatar{border:2px solid var(--panel-solid);color:#fff;width:30px;height:30px;animation:pop .3s var(--ease) both;transition:transform .15s var(--ease);background:#9aa1ab;border-radius:50%;place-items:center;margin-left:-6px;padding:0;font-size:11px;font-weight:600;display:grid;position:relative}.avatar:first-child{margin-left:0}.avatar:hover{z-index:1;transform:translateY(-2px)}.avatar.me{cursor:pointer;box-shadow:0 0 0 1.5px var(--line)}button.avatar{cursor:pointer}.avatar.following{box-shadow:0 0 0 2px var(--accent);z-index:1}@keyframes pop{0%{opacity:0;scale:.5}}.share{background:var(--accent);color:#fff;cursor:pointer;height:34px;transition:background .2s, transform .15s var(--ease);border:0;border-radius:10px;align-items:center;gap:6px;padding:0 14px 0 10px;font-size:13px;font-weight:600;display:flex}.share svg{width:16px;height:16px}.share:hover{background:#4b4be0}.share:active{transform:scale(.96)}.share.copied{background:#2f9e44}.popover{width:220px;color:var(--muted);flex-direction:column;align-items:stretch;gap:6px;padding:12px;font-size:12px;top:calc(100% + 8px);right:0}.popover input{border:1px solid var(--line);background:var(--field);height:34px;color:var(--ink);border-radius:8px;outline:none;padding:0 10px;font-size:14px}.popover input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.menu-root{display:flex}.menu{z-index:6;flex-direction:column;align-items:stretch;gap:2px;width:264px;top:calc(100% + 8px);right:0}.menu button{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:9px;align-items:center;gap:12px;padding:8px 10px;font-size:13.5px;font-weight:500;transition:background .15s;display:flex}.menu button svg{color:var(--icon);flex:none}.menu button span{flex-direction:column;gap:1px;display:flex}.menu button small{color:var(--muted);font-size:12px;font-weight:400}.menu button:hover,.menu button:focus-visible{background:var(--hover);outline:none}.menu button:disabled{opacity:.4;pointer-events:none}.theme-row{justify-content:space-between;align-items:center;gap:8px;padding:4px 2px 4px 10px;font-size:13.5px;font-weight:500;display:flex}.seg{background:var(--hover);border-radius:9px;gap:2px;padding:2px;display:flex}.menu .seg button{color:var(--muted);border-radius:7px;gap:3px;padding:4px 6px;font-size:12px}.menu .seg button svg{width:15px;height:15px;color:inherit}.menu .seg button.active{background:var(--panel-solid);color:var(--ink);box-shadow:0 1px 2px #0f172a1f}.menu hr{border:0;border-top:1px solid var(--line);margin:4px 6px}.toast{z-index:20;background:var(--tip);color:#fff;white-space:nowrap;box-shadow:var(--shadow);animation:toast-in .3s var(--ease) both;border-radius:10px;padding:10px 16px;font-size:13.5px;font-weight:500;position:fixed;bottom:24px;left:50%;translate:-50%}.toast.error{background:#c9302c}@keyframes toast-in{0%{opacity:0;translate:-50% 10px}}.style-panel{max-width:calc(100vw - 28px);animation-name:drop;top:72px;left:50%;translate:-50%}@keyframes drop{0%{opacity:0;translate:-50% -6px}}.swatches{gap:4px;padding:0 4px;display:flex}.swatch{background:var(--c);width:22px;height:22px;box-shadow:inset 0 0 0 1px var(--swatch-edge);cursor:pointer;transition:transform .15s var(--ease), box-shadow .15s;border:0;border-radius:50%;padding:0;position:relative}.swatch.ring{background:var(--surface);box-shadow:inset 0 0 0 5px var(--c)}.swatch.none{background:linear-gradient(135deg, transparent 46%, #e5484d 46%, #e5484d 54%, transparent 54%), var(--surface)}.swatch:hover{transform:scale(1.15)}.swatch.active{box-shadow:inset 0 0 0 1px var(--swatch-edge), 0 0 0 2px var(--panel-solid), 0 0 0 4px var(--accent)}.swatch.ring.active{box-shadow:inset 0 0 0 5px var(--c), 0 0 0 2px var(--panel-solid), 0 0 0 4px var(--accent)}.style-panel .group,.popover-root{align-items:center;gap:2px;display:flex;position:relative}.chip{background:var(--c);width:20px;height:20px;box-shadow:inset 0 0 0 1px var(--swatch-edge);border-radius:50%}.chip.ring{background:var(--surface);box-shadow:inset 0 0 0 4.5px var(--c)}.chip.none{background:linear-gradient(135deg, transparent 46%, #e5484d 46%, #e5484d 54%, transparent 54%), var(--surface)}.chip-text{color:var(--ink);border-bottom:3px solid var(--c);padding-bottom:2px;font-size:16px;font-weight:650;line-height:1}.style-pop{z-index:6;flex-direction:column;align-items:flex-start;gap:8px;padding:10px 8px;animation-name:drop;top:calc(100% + 12px);left:50%;translate:-50%}.style-pop .swatches{gap:6px}.pop-row{border-top:1px solid var(--line);align-items:center;gap:2px;width:100%;padding:6px 0 0 4px;display:flex}.pop-label{color:var(--muted);flex:1;font-size:12px}.font-select{appearance:none;cursor:pointer;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%236b7280' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E") right 9px center no-repeat;border:0;border-radius:8px;outline:none;max-width:124px;height:32px;padding:0 26px 0 10px;font-size:13.5px;font-weight:500;transition:background-color .15s}.font-select:hover{background-color:var(--hover)}.font-select:focus-visible{box-shadow:0 0 0 2px var(--accent)}.btn.glyph{font-family:Georgia,Times New Roman,serif;font-size:16px;line-height:1}.btn.glyph.bold{font-weight:700}.btn.glyph.italic{font-style:italic}.btn.glyph.underline{text-underline-offset:2px;text-decoration:underline}.btn.glyph.strike{text-decoration:line-through}.dot{background:currentColor;border-radius:50%}.fs{text-align:center;font-variant-numeric:tabular-nums;min-width:26px;font-size:13px;font-weight:500}.bottom-right{position:absolute;bottom:14px;right:14px}.zoom{position:static}.zoom-level{font-variant-numeric:tabular-nums;font-size:12.5px;font-weight:500;width:54px!important}.help{flex-direction:column;align-items:stretch;gap:0;width:300px;padding:8px 14px;font-size:13px;bottom:calc(100% + 8px);right:0}.help-row{border-bottom:1px solid var(--line);justify-content:space-between;gap:16px;padding:7px 0;display:flex}.help-row:last-child{border:0}.help kbd{font:inherit;color:var(--muted);white-space:nowrap}.text-layer{transform-origin:0 0;pointer-events:none;justify-content:center;display:flex;position:absolute;top:0;left:0}.text-input{overflow-wrap:anywhere;cursor:text;pointer-events:auto;-webkit-user-select:text;user-select:text;width:100%;caret-color:var(--accent);outline:none}.empty-hint{text-align:center;max-width:320px;color:var(--muted);pointer-events:none;animation:rise .5s var(--ease) both;flex-direction:column;align-items:center;gap:6px;font-size:14px;line-height:1.5;display:flex;position:absolute;top:50%;left:50%;translate:-50% -50%}.empty-hint .link-button{pointer-events:auto}.empty-hint strong{color:var(--ink);font-size:17px;font-weight:600}.picker-root{position:relative}.picker-caret{width:12px;height:12px;color:var(--muted);opacity:.8;place-items:center;display:grid;position:absolute;bottom:2px;right:2px}.picker{z-index:6;animation-name:slide-in-x;top:-6px;left:calc(100% + 14px)}@keyframes slide-in-x{0%{opacity:0;translate:-6px}}.picker-grid{grid-template-columns:repeat(4,38px);gap:2px;display:grid}.picker-row{gap:2px;display:flex}.picker [data-tip]:after{top:calc(100% + 8px);left:50%;translate:-50% -4px}.picker [data-tip]:hover:after{translate:-50%}.lock-badge{color:var(--muted);align-items:center;gap:6px;padding:0 8px 0 6px;font-size:13px;font-weight:500;display:flex}.lock-badge svg{width:16px;height:16px}.pop-grid{grid-template-columns:repeat(4,32px);gap:2px;display:grid}.mirror svg,.btn.mirror svg{transform:scaleX(-1)}.btn.pct{font-variant-numeric:tabular-nums;width:38px;font-size:12px;font-weight:500}.menu button,.menu .menu-link{position:relative}.menu .menu-link{color:inherit;border-radius:9px;align-items:center;gap:12px;padding:8px 10px;font-size:13.5px;font-weight:500;text-decoration:none;transition:background .15s;display:flex}.menu .menu-link:hover{background:var(--hover)}.menu .menu-link svg{color:var(--icon);flex:none}.menu .menu-link span{flex-direction:column;gap:1px;display:flex}.menu .menu-link small{color:var(--muted);font-size:12px;font-weight:400}.menu .check{color:var(--accent-ink);margin-left:auto;display:grid}.menu .check svg{width:16px;height:16px}.menu-title{letter-spacing:.02em;text-transform:uppercase;color:var(--muted);padding:4px 10px 2px;font-size:11.5px;font-weight:600}.menu-empty{color:var(--muted);padding:6px 10px 8px;font-size:12.5px}.recent-menu{width:300px;left:0;right:auto}.recent-list{flex-direction:column;max-height:min(420px,60vh);display:flex;overflow-y:auto}.recent{border-radius:9px;align-items:center;transition:background .15s;display:flex}.recent:hover{background:var(--hover)}.recent a{min-width:0;color:inherit;flex-direction:column;flex:1;gap:1px;padding:7px 10px;text-decoration:none;display:flex}.recent-name{white-space:nowrap;text-overflow:ellipsis;font-size:13.5px;font-weight:500;overflow:hidden}.recent small{color:var(--muted);font-size:12px}.recent.current .recent-name{color:var(--accent-ink)}.menu .recent .btn{opacity:0;flex:none;place-items:center;width:28px;height:28px;margin-right:4px;padding:0;display:grid}.recent:hover .btn{opacity:1}.menu .recent .btn svg{width:15px;height:15px}.invite-menu{width:290px}.context-menu{z-index:15;width:240px;animation:none;position:fixed}.context-menu button{padding:6px 10px;font-size:13px}.context-menu button svg{width:17px;height:17px}.context-menu button.danger:hover{background:var(--danger-soft);color:var(--danger)}.context-menu kbd{font:inherit;color:var(--muted);margin-left:auto;font-size:12px}.menu-group{flex-direction:column;gap:1px;display:flex}.menu-icons{border-bottom:1px solid var(--line);grid-template-columns:repeat(4,1fr);gap:2px;margin-bottom:2px;padding-bottom:4px;display:grid}.menu .menu-icons .btn{justify-content:center;width:100%;padding:0;display:grid}.pill{border:1px solid var(--line);background:var(--field);white-space:nowrap;cursor:pointer;border-radius:8px;align-items:center;gap:4px;height:30px;padding:0 12px;font-size:13px;font-weight:500;transition:background .15s,border-color .15s;display:inline-flex}.pill svg{width:15px;height:15px}.pill:hover{background:var(--hover)}.pill.primary{background:var(--accent);color:#fff;border-color:#0000}.pill.primary:hover{background:#4b4be0}.pill:disabled{opacity:.45;pointer-events:none}.link-button{color:var(--accent-ink);cursor:pointer;background:0 0;border:0;margin-top:4px;padding:0;font-size:13.5px;font-weight:500}.link-button:hover{text-decoration:underline}.find{border-left:1px solid var(--line);color:var(--muted);align-items:center;gap:2px;margin-left:4px;padding-left:8px;display:flex}.find>svg{flex:none;width:16px;height:16px}.find input{width:180px;height:30px;color:var(--ink);background:0 0;border:0;outline:none;padding:0 8px;font-size:13.5px}.find-count{white-space:nowrap;font-variant-numeric:tabular-nums;min-width:64px;font-size:12px}.follow-chip{background:var(--c);color:#fff;white-space:nowrap;cursor:pointer;border:0;border-radius:14px;height:28px;padding:0 10px;font-size:12.5px;font-weight:600}.summon{z-index:12;gap:10px;padding:8px 8px 8px 10px;font-size:13.5px;animation-name:drop;top:72px;left:50%;translate:-50%}.summon .avatar{margin:0}.history{z-index:16;flex-direction:column;align-items:stretch;gap:4px;width:min(380px,100vw - 32px);max-height:min(520px,100vh - 80px);padding:12px 14px 14px;animation:none;position:fixed;top:50%;left:50%;overflow-y:auto;translate:-50% -50%}.history-head{justify-content:space-between;align-items:center;font-size:15px;display:flex}.history-note,.history-error{color:var(--muted);margin:0 0 6px;font-size:12.5px;line-height:1.45}.history-error{color:var(--danger)}.history-row{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:8px 0;font-size:13.5px;display:flex}.history-row span{flex-direction:column;gap:1px;display:flex}.history-row small{color:var(--muted);font-size:12px}.link-pop,.comment-pop{z-index:14;color:var(--muted);flex-direction:column;align-items:stretch;gap:6px;padding:10px 12px 12px;font-size:12px;animation-name:drop-in;position:fixed}@keyframes drop-in{0%{opacity:0;translate:0 -4px}}.link-pop{width:300px}.link-row{gap:6px;display:flex}.link-pop input,.comment-reply textarea{border:1px solid var(--line);background:var(--field);min-width:0;height:32px;font:inherit;color:var(--ink);border-radius:8px;outline:none;flex:1;padding:0 10px;font-size:13.5px}.link-pop input:focus,.comment-reply textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.link-pop input[aria-invalid=true]{border-color:var(--danger)}.link-pop .error{color:var(--danger)}.comment-pop{width:300px;max-height:360px;color:var(--ink)}.comment-head{align-items:center;gap:6px;font-size:14px;display:flex}.comment-head strong{flex:1}.comment-list{flex-direction:column;gap:10px;padding:4px 2px;display:flex;overflow-y:auto}.comment p{white-space:pre-wrap;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text;margin:3px 0 0 14px;font-size:13.5px;line-height:1.45}.comment-author{align-items:center;gap:6px;font-size:12.5px;font-weight:600;display:flex}.comment-author i{border-radius:50%;width:8px;height:8px}.comment-author small{color:var(--muted);font-weight:400}.comment-reply{align-items:flex-end;gap:6px;display:flex}.comment-reply textarea{resize:none;height:auto;min-height:52px;padding:7px 10px;line-height:1.4}.minimap{cursor:pointer;touch-action:none;margin-bottom:8px;margin-left:auto;padding:0;display:block;position:static}.bottom-right{flex-direction:column;align-items:flex-end;display:flex}.frames-panel{flex-direction:column;align-items:stretch;gap:4px;width:240px;max-height:calc(100vh - 170px);padding:8px;animation-name:drop-in;top:72px;right:14px}.frames-head{align-items:center;gap:2px;padding-left:6px;font-size:14px;display:flex}.frames-head strong{flex:1}.frames-empty{color:var(--muted);margin:0;padding:4px 6px 6px;font-size:12.5px;line-height:1.45}.frames-list{margin:0;padding:0;list-style:none;overflow-y:auto}.frames-list button{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;width:100%;padding:7px 8px;font-size:13.5px;display:flex}.frames-list button:hover{background:var(--hover)}.frames-list button.active{background:var(--accent-soft);color:var(--accent-ink)}.frame-num{min-width:18px;color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.frame-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.present-bar{z-index:10;bottom:18px;left:50%;translate:-50%}.present-pos{font-variant-numeric:tabular-nums;flex-direction:column;align-items:center;min-width:70px;padding:0 6px;font-size:13px;font-weight:600;display:flex}.present-pos small{white-space:nowrap;text-overflow:ellipsis;max-width:180px;color:var(--muted);font-size:11.5px;font-weight:400;overflow:hidden}@media (width<=720px){.status,.logo{gap:0;font-size:0}.status{padding:0 6px}.toolbar{flex-direction:row;max-width:calc(100vw - 28px);animation:none;top:auto;bottom:14px;left:50%;overflow-x:auto;translate:-50%}.toolbar .sep{width:1px;height:20px;margin:0 4px}.bottom-right{bottom:76px}.menu{left:0;right:auto}.find input{width:110px}.invite-menu{max-width:calc(100vw - 28px);left:auto;right:0}.picker{top:auto;bottom:calc(100% + 10px);left:0}.frames-panel{top:auto;bottom:140px}}@media (prefers-reduced-motion:reduce){*{transition-duration:.01ms!important;animation-duration:.01ms!important}}
