@charset "UTF-8";*{margin:0;padding:0;box-sizing:border-box}html,body{margin:0;padding:0;width:100%;height:100%;overflow:hidden;background:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#app{width:100%;height:100%;overflow:hidden}:root{--color-primary: #FFCB00;--color-primary-dark: #997A00;--color-primary-light: #FFFAE5;--color-auxiliary-blue: #4D9FF8;--color-text-primary: #1A1A1A;--color-text-secondary: #94A3B8;--color-text-tertiary: #64748B;--color-text-placeholder: #CBD5E1;--color-text-link: #4D9FF8;--color-text-title: #000000;--color-border: #CBD5E1;--color-card-border: #EAEBED;--color-bg-page: #F0F2F5;--color-bg-card: #FFFFFF;--color-bg-input: #FFFFFF;--color-bg-tab-active: #FFFAE5;--color-bg-captcha: #F1F5F9;--font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-weight-regular: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--radius-card: 24px;--radius-input: 12px;--radius-tab: 8px;--radius-btn: 12px;--radius-captcha: 6px;--spacing-card-padding: 32px;--spacing-form-gap: 16px;--spacing-input-padding: 16px;--login-card-width: 368px;--login-card-min-height: 502px;--login-card-border-radius: 24px;--login-card-padding: 32px;--login-form-width: 304px;--login-input-width: 304px;--login-input-height: 48px;--login-input-border-radius: 12px;--login-input-icon-size: 20px;--login-tabbar-width: 304px;--login-tabbar-height: 40px;--login-tabbar-border-radius: 8px;--login-tabbar-padding: 4px;--login-tabbar-item-height: 32px;--login-btn-width: 304px;--login-btn-height: 48px;--login-btn-border-radius: 12px;--font-size-title: 20px;--font-size-body: 14px;--font-size-caption: 12px;--font-size-captcha: 16px;--line-height-normal: 1.4;--sidebar-width: 256px;--sidebar-padding: 20px;--sidebar-shadow: 4px 0 4px rgba(0, 0, 0, .04);--logo-size: 32px;--logo-border-radius: 4px;--logo-font-size: 18px;--logo-font-weight: 532;--nav-item-height: 46px;--nav-item-padding: 0 16px;--nav-item-border-radius: 8px;--nav-item-gap: 8px;--nav-title-font-size: 14px;--nav-title-color: #999999;--content-padding: 24px;--page-title-font-size: 20px;--page-title-font-weight: 500;--card-width: 268px;--card-height: 283px;--card-border-radius: 8px;--card-preview-height: 102px;--card-content-height: 181px;--card-content-padding: 16px;--card-gap: 21px;--card-shadow-hover: 0 4px 12px rgba(0, 0, 0, .08);--card-shadow-selected: 0 4px 12px rgba(77, 159, 248, .2);--version-badge-width: 40px;--version-badge-height: 28px;--version-badge-border-radius: 4px;--version-badge-font-size: 13px;--btn-height: 36px;--btn-height-large: 46px;--btn-border-radius: 8px;--btn-border-radius-primary: 12px;--btn-font-size: 14px;--btn-font-weight: 500;--btn-icon-size: 20px;--btn-primary-bg: #1A1A1A;--btn-primary-hover-bg: #333333;--btn-primary-text: #FFFFFF;--btn-brand-bg: #FFCB00;--btn-brand-hover-bg: #FFD633;--btn-brand-text: #000000;--btn-more-size: 36px;--btn-more-border-radius: 8px;--btn-more-shadow: 0 2px 8px rgba(0, 0, 0, .08);--modal-border-radius: 12px;--modal-inner-border-radius: 12px;--modal-inner-shadow: inset 0 4px 8px #F1F5F9;--icon-size-small: 16px;--icon-size-medium: 20px;--icon-size-large: 24px;--icon-bg-size: 56px;--icon-bg-border-radius: 50%;--avatar-size: 42px;--avatar-border-radius: 50%;--user-name-font-size: 16px;--user-name-font-weight: 500;--menu-width: 88px;--menu-item-height: 28px;--menu-item-padding: 0 12px;--menu-font-size: 14px;--menu-border-radius: 8px;--menu-shadow: 0 4px 12px rgba(0, 0, 0, .12);--color-text-secondary-dark: #4B4E52;--color-text-tertiary-dark: #94A3B8;--color-bg-card-preview: #F8FAFC;--color-bg-hover-nav: rgba(255, 203, 0, .04);--color-bg-active-nav: rgba(255, 203, 0, .08);--color-bg-auxiliary-blue: rgba(77, 159, 248, .08);--color-border-divider: #E2E8F0;--color-version-badge-bg: rgba(0, 0, 0, .24);--color-bg-gray: #F0F3F5;--color-bg-canvas-light: rgba(241, 245, 249, 1);--color-canvas-text-primary: rgba(0, 0, 0, 1);--color-canvas-text-secondary: rgba(100, 116, 139, 1);--color-canvas-text-tertiary: rgba(148, 163, 184, 1);--color-canvas-text-disabled: rgba(153, 153, 153, 1);--color-canvas-text-link: rgba(77, 159, 248, 1);--color-canvas-border: rgba(203, 213, 225, 1);--color-canvas-border-light: rgba(226, 232, 240, 1);--color-canvas-warning: rgba(153, 122, 0, 1);--color-canvas-blue: rgba(59, 130, 246, 1);--color-canvas-red: rgba(239, 68, 68, 1);--color-canvas-green: rgba(34, 197, 94, 1);--color-canvas-purple: rgba(168, 85, 247, 1);--color-canvas-orange: rgba(249, 115, 22, 1);--color-canvas-white: rgba(255, 255, 255, 1);--color-canvas-transparent: rgba(0, 0, 0, 0)}:root{--canvas-design-width: 1440px;--canvas-design-height: 900px;--sidebar-right-width: 296px;--sidebar-left-width: 260px;--toolbar-height: 80px;--color-transparent: rgba(0,0,0,0);--color-black: rgba(0,0,0,1);--color-gray-600: rgba(100,116,139,1);--color-gray-500: rgba(148,163,184,1);--color-yellow-600: rgba(153,122,0,1);--color-gray-400: rgba(153,153,153,1);--color-gray-300: rgba(203,213,225,1);--color-gray-200: rgba(226,232,240,1);--color-bg-light: rgba(240,243,245,1);--color-bg-lighter: rgba(241,245,249,1);--color-white: rgba(255,255,255,1);--color-blue-500: rgba(59,130,246,1);--color-red-500: rgba(239,68,68,1);--color-green-500: rgba(34,197,94,1);--spacing-xs: 4px;--spacing-sm: 8px;--spacing-md: 16px;--spacing-lg: 24px;--spacing-xl: 32px;--radius-sm: 4px;--radius-md: 8px;--radius-lg: 12px;--shadow-sm: 0 1px 2px rgba(0,0,0,.05);--shadow-md: 0 4px 6px rgba(0,0,0,.1);--shadow-lg: 0 10px 15px rgba(0,0,0,.1)}:root{--ui-color-primary: #ffcb00;--ui-color-primary-hover: #ffd633;--ui-color-primary-soft: #fff5cc;--ui-color-primary-softest: #fffae5;--ui-color-primary-pressed: #e6b700;--ui-color-primary-text: #997a00;--ui-color-blue: #4d9ff8;--ui-color-danger: #ff4848;--ui-color-danger-hover: #ff6b6b;--ui-color-danger-pressed: #e63d3d;--ui-text-primary: var(--color-text-primary, #1a1a1a);--ui-text-secondary: #4b4e52;--ui-text-muted: #64748b;--ui-text-placeholder: #94a3b8;--ui-text-disabled: #cbd5e1;--ui-surface: #ffffff;--ui-surface-muted: #f8fafc;--ui-surface-subtle: #f4f7f9;--ui-surface-control: #f1f5f9;--ui-border-default: #e2e8f0;--ui-border-muted: #f4f7f9;--ui-border-strong: #cbd5e1;--ui-border-hover: #fff5cc;--ui-border-active: #ffcb00;--ui-checkbox-border-hover: rgba(255, 203, 0, .5);--ui-control-height: 36px;--ui-control-radius: 8px;--ui-control-radius-sm: 6px;--ui-control-padding-x: 12px;--ui-control-font-size: 14px;--ui-control-line-height: 21px;--ui-focus-ring: 0 0 0 3px rgba(255, 203, 0, .18);--ui-shadow-dropdown: 0 4px 12px rgba(0, 0, 0, .06);--ui-shadow-popover: 0 4px 12px rgba(0, 0, 0, .06);--ui-shadow-modal: 0 12px 32px rgba(15, 23, 42, .12);--ui-shadow-composer: 0 4px 12px -3px rgba(0, 0, 0, .04);--ui-transition-control: border-color .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;--app-modal-radius: 12px;--app-modal-footer-button-height: var(--ui-control-height);--app-dropdown-hover-bg: var(--ui-surface-subtle)}.ui-btn{display:inline-flex;align-items:center;justify-content:center;min-width:68px;height:var(--ui-control-height);padding:0 16px;border:1px solid transparent;border-radius:var(--ui-control-radius);box-sizing:border-box;font-size:var(--ui-control-font-size);font-weight:500;line-height:var(--ui-control-line-height);white-space:nowrap;cursor:pointer;transition:var(--ui-transition-control)}.ui-btn:focus-visible{outline:none;box-shadow:var(--ui-focus-ring)}.ui-btn:disabled,.ui-btn.is-disabled{cursor:not-allowed;opacity:.48}.ui-btn--primary{border-color:var(--ui-color-primary);background:var(--ui-color-primary);color:var(--ui-text-primary)}.ui-btn--primary:hover:not(:disabled):not(.is-disabled){background:var(--ui-color-primary-hover);border-color:var(--ui-color-primary-hover)}.ui-btn--primary:active:not(:disabled):not(.is-disabled),.ui-btn--primary.is-pressed{background:var(--ui-color-primary-pressed);border-color:var(--ui-color-primary-pressed)}.ui-btn--black{border-color:var(--ui-text-primary);background:var(--ui-text-primary);color:#fff}.ui-btn--black:hover:not(:disabled):not(.is-disabled){background:#333;border-color:#333}.ui-btn--black:active:not(:disabled):not(.is-disabled),.ui-btn--black.is-pressed{background:#000;border-color:#000}.ui-btn--gray-outline{border-color:var(--ui-border-default);background:var(--ui-surface);color:var(--ui-text-secondary)}.ui-btn--gray-outline:hover:not(:disabled):not(.is-disabled){border-color:var(--ui-border-strong);background:var(--ui-surface-muted)}.ui-btn--gray-outline:active:not(:disabled):not(.is-disabled),.ui-btn--gray-outline.is-pressed{border-color:var(--ui-border-strong);background:var(--ui-surface-subtle)}.ui-btn--blue-outline{border-color:var(--ui-color-blue);background:var(--ui-surface);color:var(--ui-color-blue)}.ui-btn--blue-outline:hover:not(:disabled):not(.is-disabled){background:#4d9ff814}.ui-btn--blue-outline:active:not(:disabled):not(.is-disabled),.ui-btn--blue-outline.is-pressed{background:#4d9ff824}.ui-btn--danger{border-color:var(--ui-color-danger);background:var(--ui-color-danger);color:#fff}.ui-btn--danger:hover:not(:disabled):not(.is-disabled){background:var(--ui-color-danger-hover);border-color:var(--ui-color-danger-hover)}.ui-btn--danger:active:not(:disabled):not(.is-disabled),.ui-btn--danger.is-pressed{background:var(--ui-color-danger-pressed);border-color:var(--ui-color-danger-pressed)}.ui-icon-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:var(--ui-control-radius);background:transparent;color:var(--ui-text-primary);cursor:pointer;transition:var(--ui-transition-control)}.ui-icon-btn:hover:not(:disabled):not(.is-disabled){background:var(--ui-surface-muted)}.ui-icon-btn:active:not(:disabled):not(.is-disabled),.ui-icon-btn.is-pressed,.ui-icon-btn.is-active{background:var(--ui-border-strong)}.ui-icon-btn:focus-visible{outline:none;box-shadow:var(--ui-focus-ring)}.ui-input{height:var(--ui-control-height);padding:0 var(--ui-control-padding-x);border:1px solid var(--ui-border-default);border-radius:var(--ui-control-radius);background:var(--ui-surface);color:var(--ui-text-primary);font-size:var(--ui-control-font-size);line-height:var(--ui-control-line-height);box-sizing:border-box;transition:var(--ui-transition-control)}.ui-input::placeholder{color:var(--ui-text-placeholder)}.ui-input:hover:not(:disabled):not([readonly]){border-color:var(--ui-border-hover)}.ui-input:focus,.ui-input.is-active,.ui-input.is-typing{outline:none;border-color:var(--ui-border-active);box-shadow:var(--ui-focus-ring)}.ui-input:disabled,.ui-input.is-disabled{border-color:var(--ui-border-muted);background:var(--ui-surface-muted);color:var(--ui-text-disabled);cursor:not-allowed}.ui-input[readonly],.ui-input.is-readonly{background:var(--ui-surface-muted);color:var(--ui-text-muted)}.ui-input.is-invalid,.ui-input.has-error{border-color:var(--ui-color-danger)}.ui-dropdown-panel{border:1px solid rgba(226,232,240,.9);border-radius:var(--ui-control-radius);background:var(--ui-surface);box-shadow:var(--ui-shadow-dropdown)}.ui-dropdown-item{min-height:32px;border-radius:var(--ui-control-radius);color:var(--ui-text-primary);cursor:pointer;transition:background-color .2s ease,color .2s ease}.ui-dropdown-item:hover:not(:disabled):not(.is-disabled),.ui-dropdown-item.is-active,.ui-dropdown-item.is-selected{background:var(--ui-surface-subtle)}.ui-dropdown-item:disabled,.ui-dropdown-item.is-disabled{color:var(--ui-text-placeholder);cursor:not-allowed}.chapter-node{display:flex;align-items:flex-start;width:100%;height:100%!important;min-height:24px;overflow:visible;padding:10px 12px;background:#fff;border:1px solid #d9d9d9;border-radius:14px;box-sizing:border-box;box-shadow:none;cursor:move;-webkit-user-select:none;user-select:none;transition:border-color .2s ease,box-shadow .2s ease;position:relative}.chapter-node:hover{border-color:#cfcfcf;box-shadow:0 8px 18px #0f172a0f}.chapter-node:hover .x6-port{opacity:1!important}.chapter-node.selected{border-color:#bfbfbf;box-shadow:0 0 0 2px #1118270d}.chapter-node:hover .resize-handle,.chapter-node.selected .resize-handle{opacity:1}.chapter-header{display:flex;align-items:flex-start;gap:12px;width:100%;min-height:100%}.chapter-prefix{display:flex;align-items:center;gap:8px;flex-shrink:0;padding-top:2px}.chapter-code{display:inline-flex;align-items:center;justify-content:center;min-width:112px;padding:7px 14px;font-size:12px;font-weight:600;line-height:1.2;letter-spacing:.02em;color:#fff;font-family:PingFang SC,SF Pro Text,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#111;border-radius:10px;white-space:nowrap}.chapter-chevron{display:inline-flex;align-items:center;justify-content:center;width:12px;height:12px;color:#7a7a7a}.chapter-chevron:before{content:"";width:5px;height:5px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-1px);transform-origin:center}.chapter-title{flex:1;min-width:0;font-size:18px;font-weight:400;color:#111;line-height:31px;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;word-break:break-word}.chapter-title.placeholder{color:#b6b6b6}.chapter-title-editor{flex:1;min-width:0;display:flex;align-items:flex-start}.chapter-title-input{width:100%;min-height:28px;padding:0;margin:0;border:0;background:transparent;outline:none;resize:none;box-shadow:none;font-size:14px;font-weight:400;line-height:2;color:#111;font-family:inherit;white-space:pre-wrap;overflow:hidden;overflow-wrap:anywhere;word-break:break-word;cursor:text;-webkit-user-select:text;user-select:text}.chapter-title-input::placeholder{color:#b6b6b6}.chapter-node:hover .plot-node__comment-badge:not(.plot-node__comment-badge--readonly),.chapter-node:focus-within .plot-node__comment-badge:not(.plot-node__comment-badge--readonly),.chapter-node.selected .plot-node__comment-badge:not(.plot-node__comment-badge--readonly){opacity:1;pointer-events:auto}.plot-node{width:100%;height:100%;padding:0 0 var(--plot-option-outside-reserve, 0px);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;transition:all .2s;box-sizing:border-box;overflow:visible;position:relative}.plot-node.plot-node--routed .plot-node__surface{border-width:1px;border-color:var(--plot-route-color, #FF4848);box-shadow:none}.plot-node.selected .plot-node__surface,.plot-node:focus-within .plot-node__surface{border-color:#ffcb00;box-shadow:0 8px 12px #0000000a}.plot-node:hover .x6-port{opacity:1!important}.plot-node__surface{width:100%;height:100%;border:1px solid #e2e8f0;border-radius:16px;background:#fff;box-shadow:0 8px 12px #0000000a;overflow:hidden;box-sizing:border-box;position:relative;display:flex;flex-direction:column;min-height:0}.plot-node__meta-tags{display:flex;flex-direction:column;flex-shrink:0}.plot-route-tag,.plot-reuse-tag{display:flex;align-items:center;justify-content:center;height:36px;background:#e2e8f0;pointer-events:none}.plot-route-tag__content,.plot-reuse-tag__content{display:inline-flex;align-items:center;height:20px}.plot-route-tag__content{gap:10px;color:var(--plot-route-color, #FF4848)}.plot-route-tag__dot{width:6px;height:6px;border-radius:1px;background:currentColor;transform:rotate(45deg);flex-shrink:0}.plot-route-tag__text{font-size:14px;line-height:20px;font-weight:500;white-space:nowrap}.plot-reuse-tag__content{gap:4px;color:#4b4e52}.plot-reuse-tag__text{font-size:14px;font-weight:400;line-height:20px;white-space:nowrap}.plot-reuse-tag__icon{position:relative;width:16px;height:16px;flex-shrink:0}.x6-port{opacity:1!important;transition:opacity .2s ease}.x6-port circle{stroke:#f0f3f5!important;stroke-width:8!important;fill:#fff!important;r:2!important;opacity:.01}.x6-port-plotOption circle{r:6!important}.x6-port-bodyTarget{pointer-events:none}.x6-port-conditionPort circle{r:20!important;stroke:transparent!important;stroke-width:0!important;fill:#fff0!important;opacity:1;cursor:crosshair}.x6-port-conditionDefaultPort circle{r:16!important;stroke:transparent!important;stroke-width:0!important;fill:#fff0!important;opacity:1;cursor:crosshair}.end-node{width:100%;height:100%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:0 24px;border:1px solid rgb(203,213,225);border-radius:16px;background:#ffebeb;box-shadow:0 8px 12px #0000000a;cursor:move;-webkit-user-select:none;user-select:none}.end-node.selected{box-shadow:0 0 0 2px #ffcb003d,0 8px 12px #0000000a}.end-node.end-node--routed{border-color:var(--plot-route-color, rgb(203, 213, 225))}.end-node__label{color:#ff4848;font-size:18px;font-weight:400;line-height:25px;white-space:nowrap}.jump-node{width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:0 16px;border:1px dashed rgb(255,203,0);border-radius:16px;background:#fff9eb;box-sizing:border-box;box-shadow:0 4px 12px #0000000a;cursor:move;-webkit-user-select:none;user-select:none}.jump-node.selected{box-shadow:0 0 0 2px #ffcb003d,0 4px 12px #0000000a}.jump-node.jump-node-none{color:#94a3b8}.jump-node.jump-node-jump_out,.jump-node.jump-node-jump_in{color:#4b4e52}.jump-node.jump-node--routed{border-color:var(--plot-route-color, rgb(255, 203, 0))}.jump-node__label{font-size:18px;font-weight:400;line-height:25px;white-space:nowrap}.quick-start-type-picker{position:fixed;z-index:2100;width:240px;max-width:calc(100vw - 32px);overflow:hidden;border:1px solid rgb(226,232,240);border-radius:16px;background:#fcfcfc;box-shadow:0 8px 12px #0000000a}.quick-start-type-picker__header{padding:13px 14px 14px;background:#f1f5f9}.quick-start-type-picker__title{color:#000;font-size:14px;font-weight:500;line-height:21px}.quick-start-type-picker__title span{color:#64748b;font-size:12px;font-weight:400;line-height:18px}.quick-start-type-picker__list{display:flex;flex-direction:column;gap:4px;padding:8px 14px 14px}.quick-start-type-picker__item{display:flex;align-items:center;gap:0;width:100%;min-height:36px;padding:7px 8px;border:none;border-radius:8px;background:transparent;color:#1a1a1a;font-size:14px;line-height:21px;text-align:left;cursor:pointer;transition:all .18s ease}.quick-start-type-picker__item:hover,.quick-start-type-picker__item.active{background:#f4f7f9}.quick-start-type-picker__item:disabled{color:#cbd5e1;cursor:not-allowed;background:transparent}.quick-start-type-picker__shortcut{margin-right:.35em;color:inherit;font-family:inherit;font-size:inherit;line-height:inherit}.quick-start-scene-hint{display:none;position:absolute;left:0;right:0;top:var(--quick-start-scene-hint-top, 0px);pointer-events:none;color:#64748b;font-family:inherit;font-size:inherit;line-height:inherit;white-space:normal;word-break:break-word;z-index:1}.quick-start-wrapper[data-show-scene-hint=true] .quick-start-scene-hint{display:block}.node-content .script-content .quick-start-wrapper[data-show-scene-hint=true] .quick-start-input::placeholder{color:transparent}.node-content .script-content .quick-start-wrapper.is-editing[data-has-content=false][data-show-scene-hint=true] .quick-start-input:before{content:none}.node-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:16px;background:#fff}.node-header__main{min-width:0;flex:1;display:flex;align-items:center;gap:24px;min-height:28px}.node-header .node-code{font-size:12px;line-height:15px;font-weight:500;color:#94a3b8;font-family:inherit;flex-shrink:0}.node-header .node-label{flex:1;min-width:0;font-size:16px;line-height:24px;font-weight:500;color:#1a1a1a;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.node-header .node-label-input{width:100%;border:none;outline:none;background:transparent;padding:0;margin:0;font-family:inherit;cursor:text;pointer-events:auto}.node-header .node-label-input::placeholder{color:#94a3b8;font-weight:400}.node-header .node-label-input:focus{color:#1a1a1a}.node-header .node-label.empty{min-height:24px;color:#94a3b8;font-weight:400}.plot-node__frame-action{width:24px;height:24px;border:none;padding:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0}.plot-node__frame-action img{width:24px;height:24px;display:block}.node-divider{height:1px;background:#e2e8f0;margin:0}.node-content{padding:15px 16px var(--plot-option-inside-reserve, 16px);background:#fff;overflow:hidden}.plot-node.collapsed .node-content{padding-bottom:16px}.plot-node.collapsed .node-content .script-content,.plot-node.collapsed .node-content .plot-variable-list,.plot-node.collapsed .plot-node__option-list,.plot-node.collapsed .plot-node__default-route{display:none}.plot-node__scene-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.node-content .scene-name{flex:1;min-width:0;font-size:16px;line-height:24px;font-weight:500;color:#1a1a1a;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.node-content .scene-name.empty{color:#94a3b8}.plot-node__content-action{width:20px;height:20px;border:none;padding:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;margin-left:auto}.plot-node__content-action img{width:20px;height:20px;display:block}.node-content .scene-characters{margin-top:8px;margin-bottom:8px;color:#64748b;font-size:14px;line-height:21px;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.node-content .script-content{margin-top:8px;margin-bottom:20px;font-family:PingFang SC,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;color:#4b4e52;font-weight:400;line-height:24px}.node-content .script-content .script-content__empty{color:#94a3b8;font-size:16px;line-height:24px;text-align:left}.node-content .script-content .script-line{margin:0;min-height:32px;padding:4px 0;line-height:24px;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;color:inherit;font-size:16px;font-weight:400;text-align:left}.node-content .script-content .script-line u{text-decoration:underline}.node-content .script-content .script-line s{text-decoration:line-through}.node-content .script-content .script-line.type-scene{color:#1a1a1a;font-weight:500;text-align:left}.node-content .script-content .script-line.type-action,.node-content .script-content .script-line.type-shooting,.node-content .script-content .script-line.type-general{text-align:left}.node-content .script-content .script-line.type-character{color:#4b4e52;font-weight:400;text-align:center}.node-content .script-content .script-line.type-remark{color:#94a3b8;text-align:center}.node-content .script-content .script-line.type-dialogue{color:#4b4e52;text-align:center}.node-content .script-content .script-line.type-transition{color:#4b4e52;text-align:right}.node-content .script-content .quick-start-wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:0;padding-top:0}.node-content .script-content .quick-start-input{width:100%;min-height:132px;border:none;outline:none;padding:0;margin:0;background:transparent;font-family:inherit;font-size:16px;line-height:24px;color:inherit;cursor:text;user-select:text;-webkit-user-select:text;white-space:normal;caret-color:#1f2937;overflow:hidden;position:relative}.node-content .script-content .quick-start-input[contenteditable=true]{resize:none}.node-content .script-content .quick-start-input .script-line--editing{margin:0;min-height:32px;padding:4px 0;line-height:24px;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;color:#4b4e52;font-size:16px;font-weight:400;text-align:left}.node-content .script-content .quick-start-input .script-line--editing.is-empty{min-height:32px}.node-content .script-content .quick-start-input .script-line--editing.type-scene{color:#1a1a1a;font-weight:500;text-align:left}.node-content .script-content .quick-start-input .script-line--editing.type-action,.node-content .script-content .quick-start-input .script-line--editing.type-shooting,.node-content .script-content .quick-start-input .script-line--editing.type-general{text-align:left}.node-content .script-content .quick-start-input .script-line--editing.type-character{color:#4b4e52;font-weight:400;text-align:center}.node-content .script-content .quick-start-input .script-line--editing.type-remark{color:#94a3b8;text-align:center}.node-content .script-content .quick-start-input .script-line--editing.type-dialogue{color:#4b4e52;text-align:center}.node-content .script-content .quick-start-input .script-line--editing.type-transition{color:#4b4e52;text-align:right}.node-content .script-content .quick-start-wrapper.is-editing[data-has-content=false] .quick-start-input:before{content:attr(data-placeholder);color:#bfbfbf;position:absolute;left:0;top:4px;pointer-events:none}.plot-node__comment-badge{position:absolute;top:-42px;right:0;display:inline-flex;align-items:center;gap:20px;height:36px;min-width:125px;padding:8px 16px;border:none;border-radius:12px;background:#fff;box-shadow:0 4px 12px #0000000f;color:#4d9ff8;box-sizing:border-box;z-index:5;opacity:0;pointer-events:none;transition:opacity .12s ease}.plot-node__comment-hover-bridge{position:absolute;top:-42px;right:0;width:180px;max-width:100%;height:42px;background:transparent;z-index:4;pointer-events:auto}.plot-node__comment-badge:not(.plot-node__comment-badge--readonly){cursor:pointer}.plot-node__comment-badge--readonly{opacity:1;pointer-events:none}.plot-node__comment-badge--empty{justify-content:center;gap:0;width:36px;min-width:36px;padding:8px}.plot-node:hover .plot-node__comment-badge:not(.plot-node__comment-badge--readonly),.plot-node:focus-within .plot-node__comment-badge:not(.plot-node__comment-badge--readonly),.plot-node.selected .plot-node__comment-badge:not(.plot-node__comment-badge--readonly){opacity:1;pointer-events:auto}.plot-node__comment-badge-text{color:inherit;font-size:14px;font-weight:400;line-height:20px;white-space:nowrap}.plot-node__comment-badge-count{font-weight:500}.plot-node__comment-badge-icon{width:20px;height:20px;display:block;flex-shrink:0}.plot-node__option-list{position:absolute;left:0;bottom:0;display:flex;align-items:flex-start;gap:var(--plot-option-gap, 20px);width:fit-content;margin-left:var(--plot-option-start, 20px);padding:0;pointer-events:auto;-webkit-user-select:none;user-select:none;z-index:2}.plot-option-card-group{position:relative;display:flex;flex-direction:column;width:var(--plot-option-card-width, 120px);min-width:var(--plot-option-card-width, 120px)}.plot-option-card-group__node-index{position:absolute;left:0;bottom:calc(100% + 2px);color:#4b5563;font-size:12px;font-weight:500;line-height:18px;white-space:nowrap}.plot-option-card-group__label{width:max-content;max-width:none;min-height:18px;margin-bottom:2px;color:#ff4848;font-size:12px;font-weight:400;line-height:18px;white-space:nowrap;overflow:visible;text-overflow:clip}.plot-option-card-group__label--placeholder{visibility:hidden}.plot-option-card-group__body{display:flex;align-items:center;min-height:40px;height:var(--plot-option-body-height, 40px);overflow:visible;padding:8px 12px;border:1px solid rgb(226,232,240);border-radius:8px;background:#fff;box-shadow:0 8px 12px #0000000a;color:#000;font-size:16px;font-weight:400;line-height:24px;white-space:normal;overflow-wrap:anywhere;word-break:break-word;box-sizing:border-box}.plot-option-card-group__body.is-placeholder{color:#94a3b8}.plot-option-card-group__text{display:block;width:100%;line-height:24px;white-space:normal;overflow-wrap:anywhere;word-break:break-word}.plot-option-card-group__input{width:100%;border:none;outline:none;background:transparent;padding:0;margin:0;color:inherit;font:inherit;line-height:inherit;text-align:inherit}.plot-option-card-group__input::placeholder{color:#94a3b8}.plot-node__default-route{position:absolute;bottom:calc(var(--plot-option-outside-reserve, 20px) - var(--plot-default-route-height, 18px));width:var(--plot-default-route-width, 36px);height:var(--plot-default-route-height, 18px);border:1px solid rgb(226,232,240);border-top:none;border-radius:0 0 var(--plot-default-route-height, 18px) var(--plot-default-route-height, 18px);background:#fff;box-shadow:0 8px 12px #0000000a;cursor:context-menu;z-index:2}.plot-node__default-route--left{left:var(--plot-default-route-offset, 20px)}.plot-node__default-route--right{right:var(--plot-default-route-offset, 20px)}.option-node{display:flex;flex-direction:column;width:100%;height:100%;box-sizing:border-box;border:1px solid rgb(203,213,225);border-radius:16px;background:#fff;box-shadow:0 8px 12px #0000000a;overflow:hidden;cursor:move;-webkit-user-select:none;user-select:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.option-node.selected{box-shadow:0 0 0 2px #ffcb002e,0 8px 12px #0000000a}.option-node .node-header{align-items:center}.option-node .node-title,.option-node__title-input{flex:1;min-width:0;font-size:16px;font-weight:500;line-height:24px;color:#1a1a1a}.option-node__title-input,.option-node__item-input{width:100%;border:none;outline:none;background:transparent;padding:0;margin:0;font:inherit;color:inherit}.option-node__title-input::placeholder,.option-node__item-input::placeholder{color:#94a3b8}.options-container{display:flex;flex:1;flex-direction:column;gap:8px;padding:16px}.option-item{display:grid;grid-template-columns:18px minmax(0,1fr) auto auto;align-items:center;gap:8px;min-height:40px;padding:0 12px;border:1px solid rgb(226,232,240);border-radius:8px;background:#fcfcfc;box-sizing:border-box}.option-port-label{color:#1a1a1a;font-size:14px;font-weight:600;line-height:21px;text-align:center}.option-text,.option-node__item-input{min-width:0;color:#1a1a1a;font-size:14px;line-height:21px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.condition-indicator,.core-branch-indicator{flex-shrink:0}.add-option-hint,.option-limit-hint,.empty-hint{padding:0 16px 16px;color:#94a3b8;font-size:12px;line-height:18px;text-align:center}.plot-variable-list{margin-top:18px;border:1px dashed #d8dee7;border-radius:8px;overflow:hidden}.plot-variable-list__row{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;min-height:36px;border-bottom:1px dashed #d8dee7;background:#fff}.plot-variable-list__row:last-child{border-bottom:none}.plot-variable-list__label{display:inline-flex;align-items:center;justify-content:center;height:100%;color:#4b5563;font-size:12px;font-weight:600;line-height:21px}.plot-variable-list__content{padding:9px 12px;color:#1a1a1a;font-size:13px;line-height:21px;text-align:center;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.plot-notes{margin-top:18px;padding:12px 8px;border-top:1px solid #cbd5e1;background:#f8fafc;padding-bottom:calc(0px + var(--plot-option-inside-reserve, 16px))}.plot-notes__header{display:flex;align-items:center;justify-content:space-between;width:100%;padding:0;border:none;background:transparent;cursor:pointer}.plot-notes__title{color:#64748b;font-size:12px;line-height:17px}.plot-notes__toggle-wrap{display:inline-flex;align-items:center;gap:2px;color:#94a3b8}.plot-notes__toggle{font-size:12px;line-height:17px}.plot-notes__caret{display:inline-flex;align-items:center;justify-content:center;width:12px;height:12px}.plot-notes__body{margin-top:8px;display:flex;flex-direction:column;gap:8px}.plot-notes.is-collapsed .plot-notes__body{display:none}.plot-note-remark{display:flex;align-items:flex-start;gap:12px;padding:12px 16px;border-radius:8px;background:#fcfcfc}.plot-note-remark__label{display:inline-flex;align-items:center;gap:8px;flex:0 0 80px;color:#1a1a1a;font-size:14px;line-height:20px;white-space:nowrap}.plot-note-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;color:#1a1a1a;flex-shrink:0}.plot-note-icon svg{width:100%;height:100%;display:block}.plot-note-remark__value,.plot-note-list__item{color:#4b4e52;font-size:14px;line-height:20px;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.plot-note-panel{min-height:138px;padding:8px 16px 12px;border-radius:8px;background:#fcfcfc}.plot-note-panel.is-empty{visibility:hidden}.plot-note-panel__title{display:inline-flex;align-items:center;gap:8px;color:#1a1a1a;font-size:16px;line-height:22px}.plot-note-list{margin-top:12px;display:flex;flex-direction:column;gap:8px}.plot-note-list__item--relation,.plot-note-list--relation .plot-note-list__item{color:#64748b;white-space:normal}.plot-note-list__line{display:block;white-space:pre-wrap}.plot-notes__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.plot-node__reuse-alert{padding:14px 20px 0;color:#ff4848;font-size:16px;line-height:24px}.plot-node__badges{position:absolute;top:-40px;left:0;right:0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px;z-index:0;pointer-events:none;background:#e2e8f0;border-radius:16px 16px 0 0}.plot-badge{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 12px;border-radius:999px;color:#4b4e52;font-size:14px;line-height:20px;margin:8px 0 15px;z-index:1}.plot-badge--jump-out{background:#fff7ed;border-color:#fdba74;color:#9a3412}.plot-badge--jump-in{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8}.plot-badge__icon{width:16px;height:16px;object-fit:contain;flex:0 0 auto}.plot-node.plot-node--condition-core .plot-node__surface{background:#fffae5;border-color:#cbd5e1}.plot-node.plot-node--condition-core .node-header,.plot-node.plot-node--condition-core .node-content{background:transparent}.plot-node.plot-node--condition-core .node-divider{background:#4b4e5229}.plot-node.plot-node--condition-core.selected .plot-node__surface,.plot-node.plot-node--condition-core:focus-within .plot-node__surface{border-color:#ffcb00}.condition-node{position:relative;width:100%;height:100%;box-sizing:border-box;padding-bottom:24px;overflow:visible;pointer-events:none;cursor:move;-webkit-user-select:none;user-select:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.condition-node__surface{display:flex;flex-direction:column;gap:16px;box-sizing:border-box;padding:16px 16px 32px;border:1px solid rgb(203,213,225);border-radius:16px;background:#ffffff80;box-shadow:0 8px 12px #0000000a;pointer-events:auto;cursor:move}.condition-node.selected .condition-node__surface{box-shadow:0 0 0 2px #ffcb002e,0 8px 12px #0000000a}.condition-node--routed .condition-node__surface{border-color:var(--plot-route-color, rgb(203, 213, 225))}.condition-node__row{border:1px dashed rgb(203,213,225)!important}.condition-node__row,.condition-node__empty{display:grid;grid-template-columns:18px minmax(0,1fr) 18px;align-items:center;min-height:40px;padding:9px 16px;border:1px solid rgb(203,213,225);border-radius:8px;background:#fcfcfc;box-sizing:border-box}.condition-node__empty{grid-template-columns:minmax(0,1fr);justify-content:center;color:#94a3b8;font-size:14px;line-height:21px;text-align:center}.condition-node__letter{color:#1a1a1a;font-size:14px;font-weight:600;line-height:21px;text-align:center}.condition-node__summary{display:flex;flex-direction:column;align-items:center;color:#1a1a1a;font-size:14px;font-weight:400;line-height:21px;text-align:center;white-space:normal;word-break:break-word;overflow-wrap:anywhere}.condition-node__summary-line,.condition-node__summary-joiner,.condition-node__spacer{display:block}.condition-node__outlet{position:absolute;top:calc(100% - 48px);width:48px;height:48px;pointer-events:none}.condition-node__outlet-shape{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border:1px solid rgb(226,232,240);border-radius:10px;background:#fff;box-shadow:0 8px 12px #0000000a;transform:rotate(45deg);box-sizing:border-box;pointer-events:none;cursor:crosshair}.condition-node__outlet-label{color:#000;font-size:14px;font-weight:400;line-height:21px;transform:rotate(-45deg)}.condition-node--routed .condition-node__outlet-shape,.condition-node--routed .condition-node__default{border-color:var(--plot-route-color, rgb(203, 213, 225))}.condition-node__default{position:absolute;top:calc(100% - 24px);width:48px;height:24px;border:1px solid rgb(203,213,225);border-top:none;border-radius:0 0 24px 24px;background:#fcfeff;box-shadow:0 8px 12px #0000000a;pointer-events:auto;cursor:context-menu;box-sizing:border-box;padding:0}.condition-node__default.condition-node__default--visual-only{pointer-events:none;cursor:default}.condition-node__surface:hover~.plot-node__comment-badge:not(.plot-node__comment-badge--readonly),.condition-node:focus-within .plot-node__comment-badge:not(.plot-node__comment-badge--readonly),.condition-node.selected .plot-node__comment-badge:not(.plot-node__comment-badge--readonly),.condition-node .plot-node__comment-badge:hover{opacity:1;pointer-events:auto}.condition-node .plot-node__comment-badge,.condition-node .plot-node__comment-hover-bridge{pointer-events:auto}:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;font-weight:400;color:#213547;background-color:#fff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}html,body,#app{width:100%;height:100%;margin:0;padding:0;overflow:hidden}body{min-width:320px;background:#fff}a{color:inherit;text-decoration:none}button{font:inherit}.app-select.ant-select{color:var(--ui-text-primary)}.app-select.ant-select:not(.ant-select-disabled) .ant-select-selector{border:1px solid var(--ui-border-default)!important;border-radius:var(--ui-control-radius-sm)!important;background:var(--ui-surface)!important;box-shadow:none!important;transition:var(--ui-transition-control)}.app-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{min-height:var(--ui-control-height);padding:0 14px!important}.app-select.ant-select-single .ant-select-selection-placeholder,.app-select.ant-select-single .ant-select-selection-item,.app-select.ant-select-single .ant-select-selection-search-input{font-size:14px!important;line-height:var(--ui-control-line-height)!important}.app-select.ant-select-single .ant-select-selection-item,.app-select.ant-select-single .ant-select-selection-search{color:var(--ui-text-primary)!important}.app-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selection-item,.app-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selection-placeholder{line-height:calc(var(--ui-control-height) - 2px)!important}.app-select.ant-select-single .ant-select-selection-placeholder{color:var(--ui-text-placeholder)!important}.app-select.ant-select .ant-select-arrow{color:var(--ui-text-disabled);font-size:12px}.app-select.ant-select:not(.ant-select-disabled):hover .ant-select-selector{border-color:var(--ui-border-hover)!important}.app-select.ant-select-focused .ant-select-selector,.app-select.ant-select-open .ant-select-selector{border-color:var(--ui-border-active)!important;box-shadow:var(--ui-focus-ring)!important}.app-select.ant-select-disabled .ant-select-selector{background:var(--ui-surface-muted)!important;border-color:var(--ui-border-muted)!important}.app-select-dropdown.ant-select-dropdown{z-index:2500;padding:8px;border:1px solid rgba(226,232,240,.9);border-radius:var(--ui-control-radius);background:var(--ui-surface);box-shadow:var(--ui-shadow-dropdown)}.app-select-dropdown .rc-virtual-list-holder-inner{gap:2px}.app-select-dropdown .ant-select-item{color:var(--ui-text-primary);font-size:14px;line-height:var(--ui-control-line-height)}.app-select-dropdown .ant-select-item-option{min-height:32px;padding:5px 12px;border-radius:var(--ui-control-radius)}.app-select-dropdown .ant-select-item-option-active:not(.ant-select-item-option-disabled),.app-select-dropdown .ant-select-item-option:hover:not(.ant-select-item-option-disabled){background:var(--app-dropdown-hover-bg)}.app-select-dropdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled){background:var(--ui-color-primary-soft);color:var(--ui-text-primary);font-weight:500}.ant-message{z-index:5000!important}.app-select-dropdown .ant-select-item-option-disabled{color:var(--ui-text-disabled)}body .ant-select-dropdown .ant-select-item-option-active:not(.ant-select-item-option-disabled),body .ant-select-dropdown .ant-select-item-option:hover:not(.ant-select-item-option-disabled),body .ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-item:hover,body .ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-submenu-title:hover,body .project-space__floating-menu button:hover,body .chapter-popover .chapter-menu-item:hover,body .canvas-toolbar-menu__item:hover:not(.is-disabled),body .toolbar-add-menu__item:hover:not(.is-disabled),body .canvas-toolbar-share-popover__option:hover,body .canvas-context-menu .context-menu-item:hover,body .quick-start-type-picker__item:hover:not(:disabled),body .quick-start-type-picker__item.active,body .zoom-menu-item:hover,body .share-modal__option:hover,body .type-picker__item:hover,body .character-picker__item:hover,body .editor-toolbar-menu__item:hover,body .ai-chat-history__item:hover,body .ai-chat-menu__item:hover{background:var(--app-dropdown-hover-bg)!important}body .ant-checkbox-wrapper:not(.ant-checkbox-wrapper-disabled):hover .ant-checkbox-inner,body .ant-checkbox:not(.ant-checkbox-disabled):hover .ant-checkbox-inner,body .ant-checkbox-input:focus-visible+.ant-checkbox-inner{border-color:var(--ui-checkbox-border-hover)!important}body .ant-checkbox-checked:not(.ant-checkbox-disabled):hover .ant-checkbox-inner{border-color:var(--ui-checkbox-border-hover)!important}body .chapter-popover .ant-popover-arrow,body .toolbar-add-popover .ant-popover-arrow,body .canvas-toolbar-popover .ant-popover-arrow,body .zoom-popover .ant-popover-arrow{display:none!important}body .chapter-popover .ant-popover-arrow:before,body .toolbar-add-popover .ant-popover-arrow:before,body .canvas-toolbar-popover .ant-popover-arrow:before,body .zoom-popover .ant-popover-arrow:before{display:none!important}body .chapter-popover.ant-popover,body .toolbar-add-popover.ant-popover,body .canvas-toolbar-popover.ant-popover,body .zoom-popover.ant-popover,body .chapter-popover.ant-popover-placement-bottomLeft .ant-popover-content,body .toolbar-add-popover.ant-popover-placement-bottomLeft .ant-popover-content,body .canvas-toolbar-popover.ant-popover-placement-bottom .ant-popover-content,body .canvas-toolbar-popover--share.ant-popover-placement-bottom .ant-popover-content,body .zoom-popover.ant-popover-placement-bottomRight .ant-popover-content{padding-top:0!important}.x6-node foreignObject>body{display:block!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;overflow:visible!important;background:transparent!important}.x6-node foreignObject>body>div{display:block!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;box-sizing:border-box!important}body .ant-modal .ant-modal-content,body .ant-popover .ant-popover-inner,body .base-modal-panel,body .version-restore-dialog,body .modal-content,body .plot-target-modal,body .reuse-source-modal,body .reuse-count-modal,body .shared-project-dialog,body .confirm-dialog,body .variable-library,body .variable-editor,body .route-marker-library,body .route-marker-editor,body .script-editor-container,body .fullscreen-editor,body .ai-chat-dialog,body .condition-drawer{border-radius:var(--app-modal-radius)!important}body .base-modal-panel.confirm-dialog-panel{border-radius:16px!important}body .ant-modal .ant-modal-content{overflow:hidden;display:flex;flex-direction:column;max-height:calc(100vh - 48px)}body .ant-modal{max-width:calc(100vw - 32px)}body .ant-modal .ant-modal-header,body .ant-modal .ant-modal-footer{flex:none}body .ant-modal .ant-modal-footer .ant-btn,body .base-modal-footer button,body .shared-project-dialog__footer button,body .version-restore-dialog__footer button,body .modal-actions .action-button,body .modal-actions button,body .condition-drawer__footer button,body .condition-editor__footer button,body .variable-editor__footer button,body .route-marker-editor__footer button{height:var(--app-modal-footer-button-height)!important;min-height:var(--app-modal-footer-button-height)!important;box-sizing:border-box}body .ant-modal .ant-modal-body{flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain}
