:root{background:#191919;color:#e5e5e5;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Malgun Gothic,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}.button,button{align-items:center;background:#292929;border:1px solid #373737;border-radius:5px;color:#dedede;cursor:pointer;display:inline-flex;font-size:12px;font-weight:500;justify-content:center;line-height:1.4;padding:7px 11px;transition:background .15s,border-color .15s;white-space:nowrap}.button:hover,button:hover{background:#363636;border-color:#484848}button:disabled{cursor:default;opacity:.4}.primary{background:#e8e8e8;border-color:#e8e8e8;color:#222;font-weight:600}.primary:hover{background:#fff;border-color:#fff}.danger{color:#e28e8e}input:not([type=color]),select,textarea{background:#222;border:1px solid #383838;border-radius:5px;color:#e5e5e5;font-size:13px;outline:none;padding:9px 11px;transition:border-color .15s,background .15s;width:100%}input:focus,select:focus,textarea:focus{background:#252525;border-color:#777}input::placeholder,textarea::placeholder{color:#777}textarea{line-height:1.75;resize:vertical}.app{background:#191919;color:#e5e5e5;display:flex;flex-direction:column;height:100vh}.topbar{background:#202020;border-bottom:1px solid #303030;gap:20px;justify-content:space-between;padding:12px 22px}.topbar,.topbar-left{align-items:center;display:flex}.topbar-left{flex-shrink:0;gap:24px}.brand{align-items:center;display:flex;gap:11px}.brand-icon{background:#353535;border-radius:6px;color:#f2f2f2;display:grid;font-size:22px;height:34px;place-items:center;width:34px}.brand strong{font-size:13px;font-weight:650;letter-spacing:.035em}.brand small{color:#858585;display:block;font-size:10px;margin-top:3px}.inline,.toolbar{align-items:center;display:flex;flex-wrap:wrap;gap:8px}.save-status{color:#888;font-size:11px;margin-right:7px}.system-theme-area{align-items:flex-start;display:flex;flex-direction:column;gap:5px}.system-theme-switch{align-items:center;background:#292929;border:1px solid #383838;border-radius:6px;display:flex;gap:2px;padding:3px}.system-theme-switch button{background:#0000;border:none;border-radius:4px;color:#999;font-size:11px;padding:6px 11px}.system-theme-switch button.active{background:#484848;color:#fff;font-weight:600}.system-theme-switch button:hover:not(.active){background:#363636;color:#ddd}.system-theme-help{color:#777;font-size:10px;white-space:nowrap}.workspace{display:flex;flex:1 1;min-height:0}.sidebar{background:#202020;border-right:1px solid #303030;flex:none;overflow:auto;padding:22px 14px;width:238px}.field-label,.section-label{color:#999;display:block;font-size:11px;font-weight:600;margin:8px 0 10px}.section-label{margin-top:32px;padding-left:8px}.tabs{grid-gap:3px;display:grid;gap:3px}.tabs button{background:#0000;border:1px solid #0000;border-radius:5px;color:#a7a7a7;font-size:12px;font-weight:450;justify-content:space-between;padding:11px 10px;text-align:left}.tabs button:hover{background:#2c2c2c;border-color:#0000;color:#eee}.tabs button.active{background:#343434;border-color:#0000;color:#f2f2f2;font-weight:600}.tabs span{opacity:.6}.sidebar-note{background:#0000;border-top:1px solid #343434;color:#828282;font-size:11px;line-height:1.85;margin-top:32px;padding:12px 10px}.editor{background:#191919;flex:1 1;min-width:350px;overflow:auto;padding:32px 32px 70px}.editor-head{align-items:flex-start;display:flex;gap:12px;justify-content:space-between;margin-bottom:30px}.editor-head h2{color:#f0f0f0;font-size:25px;font-weight:700;letter-spacing:-.035em;margin:0 0 8px}.editor-head p{color:#888;font-size:12px;line-height:1.7;margin:0;white-space:pre-line}.preview-toggle{display:none}.design-panel,.source-panel{grid-gap:16px;display:grid;gap:16px}.source-text{font-size:13px;line-height:1.95;min-height:460px;padding:18px!important}.muted{color:#858585;font-size:11px;line-height:1.7}.end{justify-content:flex-end}.blocks-panel{grid-gap:10px;display:grid;gap:10px}.block-actions{border-bottom:1px solid #303030;margin-bottom:5px;padding-bottom:17px}.block-card{grid-gap:11px;background:#0000;border:1px solid;border-color:#0000 #0000 #303030;border-radius:5px;display:grid;gap:11px;padding:16px;transition:background .15s,border-color .15s}.block-card:hover{background:#202020}.block-card.selected{background:#242424;border-color:#484848}.block-top{align-items:center;display:flex;gap:8px}.block-number{color:#777;font-size:10px;font-weight:600;letter-spacing:.04em}.block-top select{background:#292929;font-size:11px;padding:6px 8px;width:120px}.block-buttons{display:flex;gap:4px;margin-left:auto}.block-buttons button{background:#0000;border-color:#0000;color:#aaa;font-size:11px;padding:5px 8px}.block-buttons button:hover{background:#383838;color:#eee}.block-buttons button.danger:hover{color:#f0a0a0}.block-card textarea{background:#202020;border-color:#303030;font-size:12px;padding:11px 12px}.block-card textarea:focus{background:#252525;border-color:#777}.speaker-input{align-items:center;color:#aaa;display:flex;font-size:12px;gap:10px}.speaker-input input{max-width:260px}.image-input{align-items:center;display:flex;flex-wrap:wrap;gap:10px}.image-input img{height:80px;max-width:160px;object-fit:contain}.empty{border:1px dashed #444;border-radius:5px;color:#888;font-size:13px;padding:45px 15px;text-align:center}.characters-panel{grid-gap:8px;display:grid;gap:8px}.character-card{align-items:center;background:#0000;border:none;border-bottom:1px solid #303030;border-radius:0;display:flex;gap:16px;padding:17px 12px}.character-avatar{background:#292929;border-radius:6px;display:grid;flex:none;font-size:30px;font-weight:700;height:74px;overflow:hidden;place-items:center;width:74px}.character-avatar img{height:100%;object-fit:cover;width:100%}.character-controls{grid-gap:12px;display:grid;gap:12px;min-width:0}.character-controls strong{font-size:14px;font-weight:650}.character-controls label:not(.button){align-items:center;color:#aaa;display:flex;font-size:12px;gap:8px}.character-controls input[type=color]{background:none;border:0;height:30px;padding:0;width:38px}.design-panel .field-label{margin-top:18px}.background-sample{border-radius:5px;max-height:200px;max-width:100%;object-fit:contain}.preview-panel{background:#191919;border-left:1px solid #303030;color:#e5e5e5;display:flex;flex:none;flex-direction:column;max-width:660px;min-width:300px;width:40%}.preview-head{border-bottom:1px solid #303030;color:#888;display:flex;font-size:11px;justify-content:space-between;letter-spacing:.08em;padding:17px 20px}.preview-scroll{background-position:50%;background-size:cover;flex:1 1;overflow:auto;padding:27px 24px 90px}.preview-scroll h1{font-size:27px;letter-spacing:-.04em;margin:0 0 34px}.preview-empty{color:#888;font-size:13px}.log-entry{align-items:flex-start;display:flex;gap:11px;margin:0 0 22px}.log-avatar{background:#292929;border-radius:6px;display:grid;flex:none;font-weight:800;height:44px;overflow:hidden;place-items:center;width:44px}.log-avatar img{height:100%;object-fit:cover;width:100%}.log-body{flex:1 1;min-width:0}.log-body strong{display:block;font-size:12px;margin-bottom:5px}.log-bubble{background:#242424;border:1px solid #383838;border-left:3px solid;border-radius:3px 6px 6px 6px;overflow-wrap:anywhere}.log-bubble,.log-narration{font-size:13px;line-height:1.8;padding:12px 14px;white-space:pre-wrap}.log-narration{border-left:2px solid #555;color:#aaa;margin:24px 0}.log-heading{margin:35px 0 20px;text-align:center;white-space:pre-wrap}.log-scene{margin:25px 0;text-align:center}.log-scene img{border-radius:6px;max-height:400px;max-width:100%;object-fit:contain}.log-scene small{color:#aaa;display:block;margin-top:7px}.preview-panel.light{background:#fff;color:#37352f}.preview-panel.light .preview-head{background:#fff;border-bottom-color:#e9e9e7;color:#898884}.preview-panel.light .log-bubble{background:#f7f7f5;border-color:#e4e4e2;color:#37352f}.preview-panel.light .log-avatar{background:#efefed}.preview-panel.light .log-narration{border-left-color:#d0d0cd;color:#787774}.preview-panel.light .log-heading,.preview-panel.light .preview-scroll h1{color:#37352f}.preview-panel.light .log-scene small{color:#787774}.toast{background:#333;border:1px solid #484848;border-radius:6px;bottom:18px;box-shadow:0 12px 30px #0007;color:#fff;cursor:pointer;font-size:12px;max-width:450px;padding:13px 16px;position:fixed;right:20px}.toast span{margin-left:10px}.app-light{background:#fff;color:#37352f}.app-light .topbar{background:#fff;border-bottom-color:#e9e9e7}.app-light .brand-icon{background:#efefed;color:#37352f}.app-light .brand strong{color:#37352f}.app-light .brand small,.app-light .save-status,.app-light .system-theme-help{color:#9b9a97}.app-light .button,.app-light button{background:#fff;border-color:#e4e4e2;color:#55534e}.app-light .button:hover,.app-light button:hover:not(:disabled){background:#f5f5f4;border-color:#d6d6d3}.app-light .primary,.app-light button.primary{background:#37352f;border-color:#37352f;color:#fff}.app-light .primary:hover,.app-light button.primary:hover{background:#55534e;border-color:#55534e}.app-light button.danger{color:#c35c5c}.app-light .system-theme-switch{background:#f4f4f2;border-color:#e7e7e5}.app-light .system-theme-switch button{background:#0000;border:none;color:#898884}.app-light .system-theme-switch button.active{background:#fff;box-shadow:0 1px 3px #00000014;color:#37352f}.app-light .system-theme-switch button:hover:not(.active){background:#eaeae8;color:#37352f}.app-light input:not([type=color]),.app-light select,.app-light textarea{background:#fff;border-color:#e3e3e0;color:#37352f}.app-light input:focus,.app-light select:focus,.app-light textarea:focus{background:#fff;border-color:#9b9a97}.app-light input::placeholder,.app-light textarea::placeholder{color:#aaa9a5}.app-light .sidebar{background:#f7f7f5;border-right-color:#e9e9e7}.app-light .field-label,.app-light .section-label{color:#787774}.app-light .tabs button{background:#0000;border-color:#0000;color:#787774}.app-light .tabs button:hover{background:#ececea;color:#37352f}.app-light .tabs button.active{background:#e8e8e6;color:#37352f}.app-light .sidebar-note{background:#0000;border-top-color:#e4e4e2;color:#9b9a97}.app-light .editor{background:#fff;color:#37352f}.app-light .editor-head h2{color:#37352f}.app-light .editor-head p,.app-light .muted{color:#9b9a97}.app-light .block-actions{border-bottom-color:#e9e9e7}.app-light .block-card{background:#0000;border-color:#0000 #0000 #ececea}.app-light .block-card:hover{background:#fafaf9}.app-light .block-card.selected{background:#f7f7f5;border-color:#d8d8d5}.app-light .block-number{color:#9b9a97}.app-light .block-top select{background:#fff}.app-light .block-buttons button{background:#0000;border-color:#0000;color:#898884}.app-light .block-buttons button:hover{background:#eaeae8;color:#37352f}.app-light .block-card textarea{background:#fff;border-color:#e9e9e7}.app-light .block-card textarea:focus{background:#fff;border-color:#9b9a97}.app-light .speaker-input{color:#787774}.app-light .empty{background:#fff;border-color:#d8d8d5;color:#9b9a97}.app-light .character-card{background:#0000;border-bottom-color:#ececea}.app-light .character-avatar{background:#f1f1ef}.app-light .character-controls strong{color:#37352f}.app-light .character-controls label{color:#787774}.app-light .design-panel{color:#37352f}.app-light .toast{background:#37352f;border-color:#37352f;color:#fff}@media (max-width:1150px){.preview-panel{min-width:270px;width:36%}.sidebar{width:205px}.editor{padding:22px 17px}}@media (max-width:850px){.topbar{flex-wrap:wrap}.toolbar{width:100%}.workspace{flex-wrap:wrap;overflow:auto}.sidebar{border-bottom:1px solid #303030;border-right:0;padding:13px;width:100%}.app-light .sidebar{border-bottom-color:#e9e9e7}.sidebar-note{display:none}.section-label{margin-top:15px}.tabs{display:flex;overflow:auto}.tabs button{flex:none}.editor{min-width:0;overflow:visible;width:100%}.preview-toggle{display:block}.preview-panel{border-left:0;border-top:1px solid #343040;height:580px;max-width:none;min-width:0;width:100%}.app{height:auto;min-height:100vh}.workspace{overflow:visible}.source-text{min-height:340px}}@media (max-width:500px){.topbar{padding:12px}.topbar-left{gap:12px}.editor{padding:20px 12px}.block-top{flex-wrap:wrap}.block-buttons{margin-left:0}.preview-scroll{padding:20px 14px}}.source-help-row{display:flex;justify-content:flex-start;margin-top:4px;width:100%}.source-help-link{align-self:flex-start;background:none;border:0;color:#aaa;cursor:pointer;font-size:12px;padding:4px 0;text-align:left;width:auto}.source-help-link:hover{color:#e5e5e5;text-decoration:underline;text-underline-offset:3px}.app-light .source-help-link{color:#787774}.app-light .source-help-link:hover{color:#37352f}.help-overlay{align-items:center;background:#000000a6;display:flex;inset:0;justify-content:center;padding:20px;position:fixed;z-index:1000}.help-modal{background:#202020;border:1px solid #383838;border-radius:10px;box-shadow:0 20px 70px #0000004d;color:#e5e5e5;display:flex;flex-direction:column;max-height:min(780px,90vh);overflow:hidden;width:min(760px,100%)}.help-header{align-items:flex-start;display:flex;gap:16px;justify-content:space-between;padding:22px 26px 18px}.help-header h2{font-size:18px;font-weight:650;margin:0}.help-header p{color:#aaa;font-size:12px;margin:7px 0 0}.help-close{background:none;border:0;color:#aaa;cursor:pointer;font-size:25px;line-height:1}.help-tabs{border-bottom:1px solid #383838;display:flex;flex:none;gap:5px;overflow:visible;padding:0 26px}.help-tabs button{background:none;border:0;border-bottom:2px solid #0000;border-radius:0;color:#aaa;cursor:pointer;flex:none;font-size:12px;padding:12px 11px}.help-tabs button.active{border-bottom-color:#e5e5e5;color:#e5e5e5;font-weight:600}.help-content{flex:1 1;font-size:13px;line-height:1.8;min-height:0;overflow-x:hidden;overflow-y:auto;padding:22px 26px 30px;scrollbar-color:#555 #0000;scrollbar-width:thin}.help-content h3{font-size:14px;font-weight:650;margin:23px 0 9px}.help-content h3:first-child{margin-top:0}.help-content p{color:#c6c6c6;margin:0 0 11px}.help-content strong{color:#e5e5e5}.help-content code,.help-table{font-size:12px}.help-table{border-collapse:collapse;margin:12px 0 22px;width:100%}.help-table td,.help-table th{border-bottom:1px solid #383838;padding:10px 12px;text-align:left}.help-table th{color:#aaa;font-weight:500}.help-table td:first-child{width:35%}.help-example{background:#191919;border:1px solid #383838;border-radius:6px;color:#ddd;font:inherit;font-size:12px;line-height:1.9;overflow-wrap:anywhere;overflow-x:auto;padding:16px;white-space:pre-wrap}.help-result{display:flex;flex-direction:column;gap:12px;margin:12px 0 20px}.help-result-speaker{background:#262626;border:1px solid #383838;border-left:3px solid #888;border-radius:5px;padding:12px 14px}.help-result-speaker strong{display:block;font-size:12px;margin-bottom:6px}.help-result-speaker p{margin:0;white-space:pre-wrap}.help-result-narration{border-left:2px solid #666;color:#ccc;padding:10px 14px}.help-notice{background:#80808012;border-left:2px solid #777;color:#aaa;font-size:12px;line-height:1.8;margin-top:20px;padding:12px 14px}.help-notice p:last-child{margin-bottom:0}.help-footer{align-items:center;border-top:1px solid #383838;display:flex;justify-content:space-between;padding:13px 26px}.help-footer span{color:#888;font-size:11px;letter-spacing:.5px}.help-footer button{background:#303030;border:1px solid #484848;border-radius:5px;color:#eee;cursor:pointer;padding:7px 16px}.app-light .help-modal{background:#fff;border-color:#e4e4e2;color:#37352f}.app-light .help-close,.app-light .help-header p{color:#787774}.app-light .help-footer,.app-light .help-table td,.app-light .help-table th,.app-light .help-tabs{border-color:#e4e4e2}.app-light .help-tabs button{color:#787774}.app-light .help-tabs button.active{border-bottom-color:#37352f;color:#37352f}.app-light .help-content p{color:#55534d}.app-light .help-content strong{color:#37352f}.app-light .help-example{background:#f7f7f5;border-color:#e4e4e2;color:#37352f}.app-light .help-result-speaker{background:#f7f7f5;border-color:#e4e4e2 #e4e4e2 #e4e4e2 #888}.app-light .help-result-narration{color:#55534d}.app-light .help-notice{color:#787774}.app-light .help-content{scrollbar-color:#c5c5c5 #0000}.app-light .help-footer span{color:#787774}.app-light .help-footer button{background:#f7f7f5;border-color:#e4e4e2;color:#37352f}@media (max-width:600px){.help-overlay{padding:10px}.help-modal{max-height:94vh}.help-header{padding:18px}.help-tabs{padding:0 12px}.help-content{padding:18px}.help-footer{padding:12px 18px}}
/*# sourceMappingURL=main.fa1191b4.css.map*/