*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*
! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com
*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;tab-size:4}body{line-height:inherit}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.fixed{position:fixed}.relative{position:relative}.flex{display:flex}.border{border-width:1px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}*{box-sizing:border-box;margin:0;padding:0}body{background:linear-gradient(135deg,#667eea,#764ba2);color:#2d3748;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.app,body{min-height:100vh}.app{display:flex;flex-direction:column}.app-header{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border-bottom:1px solid #fff3;box-shadow:0 4px 20px #0000001a;display:flex;justify-content:space-between;padding:1rem 2rem}.logo h1{color:#4c51bf;font-size:1.5rem;margin-bottom:.25rem}.logo span{color:#718096;font-size:.875rem;font-weight:500}.nav-tabs{display:flex;gap:.5rem}.nav-tabs button{background:#0000;border:none;border-radius:8px;color:#4a5568;cursor:pointer;font-weight:500;padding:.75rem 1.5rem;transition:all .2s}.nav-tabs button:hover{background:#667eea1a;color:#4c51bf}.nav-tabs button.active{background:#4c51bf;box-shadow:0 2px 8px #4c51bf4d;color:#fff}.app-main{flex:1 1;margin:0 auto;max-width:1400px;padding:2rem;width:100%}.dashboard{display:flex;flex-direction:column;gap:2rem}.hero-section{grid-gap:3rem;align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border-radius:16px;box-shadow:0 8px 32px #0000001a;display:grid;gap:3rem;grid-template-columns:1fr 1fr;padding:3rem}.hero-title{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#9f7aea,#667eea);-webkit-background-clip:text;font-size:3rem;font-weight:800;margin-bottom:1rem}.hero-subtitle{color:#4a5568;font-size:1.125rem;line-height:1.6;margin-bottom:2rem}.hero-image img{border-radius:12px;box-shadow:0 8px 24px #0003;height:300px;object-fit:cover;width:100%}.project-management{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border-radius:16px;box-shadow:0 8px 32px #0000001a;padding:2rem}.project-form-section{background:#f7fafc;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:2rem;padding:1.5rem}.project-form-section h3{color:#2d3748;font-size:1.25rem;font-weight:600;margin-bottom:1rem}.project-form{display:flex;flex-direction:column;gap:1rem}.projects-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(400px,1fr))}.project-card{background:#f7fafc;border:2px solid #e2e8f0;border-radius:12px;cursor:pointer;padding:1.5rem;transition:all .2s}.project-card:hover{border-color:#4c51bf;box-shadow:0 4px 16px #4c51bf33}.project-card.selected{background:#edf2f7;border-color:#4c51bf;box-shadow:0 4px 16px #4c51bf4d}.project-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.project-header h4{color:#2d3748;font-size:1.25rem;font-weight:600}.project-date{color:#718096;font-size:.875rem}.project-description{color:#4a5568;line-height:1.5;margin-bottom:1rem}.project-details{border-top:1px solid #cbd5e0;margin-top:1rem;padding-top:1rem}.project-details h5{color:#2d3748;font-size:1rem;font-weight:600;margin-bottom:.75rem}.project-scenes{display:flex;flex-direction:column;gap:.75rem}.project-scene-item{padding:.75rem}.scene-video{align-items:center;display:flex}.video-status{border-radius:20px;font-size:.75rem;font-weight:600;padding:.25rem .75rem;text-transform:uppercase}.status-generating{background:#fef5e7;color:#d69e2e}.status-completed{background:#f0fff4;color:#38a169}.status-failed{background:#fed7d7;color:#e53e3e}.no-scenes{color:#718096;font-style:italic;padding:1rem;text-align:center}.section-header{margin-bottom:2rem;text-align:center}.section-header h2{color:#2d3748;font-size:2rem;font-weight:700;margin-bottom:.5rem}.section-header p{color:#4a5568;font-size:1.125rem;line-height:1.6}.character-form-section,.scene-form-section{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border-radius:16px;box-shadow:0 8px 32px #0000001a;margin-bottom:2rem;padding:2rem}.character-form-section h3,.scene-form-section h3{color:#2d3748;font-size:1.5rem;font-weight:600;margin-bottom:1.5rem}.character-form,.scene-form{display:flex;flex-direction:column;gap:1.5rem}.form-row{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr 1fr}.traits-section{background:#f7fafc;border:1px solid #e2e8f0;border-radius:12px;padding:1.5rem}.traits-section h4{color:#2d3748;font-size:1.125rem;font-weight:600;margin-bottom:1rem}.traits-grid{margin-bottom:1rem}.scene-details-grid,.traits-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}input,select,textarea{background:#fff;border:2px solid #e2e8f0;border-radius:8px;font-size:1rem;padding:.75rem 1rem;transition:border-color .2s}input:focus,select:focus,textarea:focus{border-color:#4c51bf;box-shadow:0 0 0 3px #4c51bf1a;outline:none}.character-select{min-height:120px}.create-btn{background:linear-gradient(135deg,#4c51bf,#667eea);border:none;border-radius:8px;box-shadow:0 4px 16px #4c51bf4d;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:1rem 2rem;transition:all .2s}.create-btn:hover:not(:disabled){box-shadow:0 8px 24px #4c51bf66;transform:translateY(-2px)}.create-btn:disabled{cursor:not-allowed;opacity:.6;transform:none}.characters-grid,.scenes-grid,.videos-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(350px,1fr))}.character-card,.scene-card,.video-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border:1px solid #fff3;border-radius:16px;box-shadow:0 8px 32px #0000001a;padding:1.5rem;transition:transform .2s,box-shadow .2s}.character-card:hover,.scene-card:hover,.video-card:hover{box-shadow:0 12px 40px #00000026;transform:translateY(-4px)}.character-header,.scene-header,.video-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.character-header h4,.scene-header h4,.video-header h4{color:#2d3748;font-size:1.25rem;font-weight:600}.character-id{color:#718096}.character-id,.scene-date{background:#f7fafc;border-radius:4px;font-size:.875rem;padding:.25rem .5rem}.character-description,.scene-description{color:#4a5568;line-height:1.5;margin-bottom:1rem}.character-traits{grid-gap:.5rem;display:grid;gap:.5rem;grid-template-columns:1fr 1fr;margin-bottom:1rem}.trait{color:#718096;font-size:.875rem}.trait strong{color:#2d3748}.distinctive-features{background:#f7fafc;border-left:4px solid #4c51bf;border-radius:8px;color:#4a5568;font-size:.875rem;padding:.75rem}.scene-details,.scene-meta{margin-bottom:1rem}.scene-meta{grid-gap:.5rem;display:grid;font-size:.875rem;gap:.5rem;grid-template-columns:1fr 1fr}.scene-meta span{color:#4a5568}.scene-characters{color:#4a5568;font-size:.875rem;margin-bottom:1rem}.ai-suggestions{background:linear-gradient(135deg,#f7fafc,#edf2f7);border:2px solid #e2e8f0;border-radius:12px;margin-top:1rem;padding:1.5rem}.ai-suggestions h5{color:#2d3748;font-size:1rem;font-weight:600;margin-bottom:1rem}.suggestions-content{display:flex;flex-direction:column;gap:1rem}.suggestion-category{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:1rem}.suggestion-category strong{color:#4c51bf;display:block;font-size:.875rem;margin-bottom:.5rem}.suggestion-category ul{margin-left:1rem}.suggestion-category li{margin-bottom:.25rem}.suggestion-category li,.suggestion-category p{color:#4a5568;font-size:.875rem;line-height:1.4}.suggestion-category p{margin:0}.novel-input-section{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border-radius:16px;box-shadow:0 8px 32px #0000001a;margin-bottom:2rem;padding:2rem}.novel-input-section h3{color:#2d3748;font-size:1.5rem;font-weight:600;margin-bottom:1.5rem}.novel-form{display:flex;flex-direction:column;gap:1.5rem}.test-api-btn{background:linear-gradient(135deg,#3182ce,#2b77cb);border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.875rem;font-weight:600;margin-bottom:1rem;padding:.5rem 1rem;transition:all .2s}.test-api-btn:hover{box-shadow:0 4px 12px #3182ce4d;transform:translateY(-1px)}.export-import-section{background:#fffffff2;border-radius:12px;box-shadow:0 4px 20px #0000001a;margin-bottom:2rem;padding:2rem}.export-import-section h3{color:#2d3748;font-size:1.25rem;font-weight:600;margin-bottom:1rem}.export-btn,.import-btn{align-items:center;background:linear-gradient(135deg,#38a169,#48bb78);border:none;border-radius:8px;color:#fff;cursor:pointer;display:inline-flex;font-size:.875rem;font-weight:600;gap:.5rem;padding:.75rem 1.5rem;transition:all .2s}.export-btn:hover,.import-btn:hover{background:linear-gradient(135deg,#2f855a,#38a169);box-shadow:0 4px 15px #38a1694d;transform:translateY(-1px)}.export-btn:disabled,.import-btn:disabled{background:#a0aec0;box-shadow:none;cursor:not-allowed;transform:none}.import-btn-label{cursor:pointer}.import-btn-label:has(input:disabled){cursor:not-allowed}.import-btn-label:has(input:disabled) .import-btn{background:#a0aec0;cursor:not-allowed}.export-import-info{color:#718096;font-size:.875rem;font-style:italic}.full-width,.novel-textarea{width:100%!important}.novel-textarea{background:#f7fafc;border:2px solid #e2e8f0;border-radius:8px;box-sizing:border-box;font-family:Georgia,serif;font-size:1rem;line-height:1.6;min-height:150px;padding:1rem;resize:vertical}.novel-input{margin-bottom:1.5rem;width:100%}.novel-textarea:focus{background:#fff;border-color:#4c51bf}.ai-enhancement-controls{display:flex;justify-content:center}.ai-suggest-btn{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;box-shadow:0 4px 16px #667eea4d;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:1rem 2rem;transition:all .2s}.ai-suggest-btn:hover:not(:disabled){box-shadow:0 8px 24px #667eea66;transform:translateY(-2px)}.ai-suggest-btn:disabled{cursor:not-allowed;opacity:.6;transform:none}.ai-enhancements{background:linear-gradient(135deg,#f0fff4,#f7fafc);border:2px solid #c6f6d5;border-radius:12px;padding:2rem}.ai-enhancements h4{color:#2d3748;font-size:1.25rem;font-weight:600;margin-bottom:1.5rem}.enhanced-prompt-section{margin-bottom:1.5rem;margin-top:1.5rem}.enhanced-prompt-section h5{color:#2d3748;font-size:1rem;font-weight:600;margin-bottom:.75rem}.enhanced-prompt-textarea{background:#fff;border:2px solid #e2e8f0;font-family:monospace;font-size:.875rem;min-height:100px}.enhanced-prompt-textarea:focus{border-color:#38a169}.create-video-btn{padding:1rem 2rem}.videos-library{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border-radius:16px;box-shadow:0 8px 32px #0000001a;padding:2rem}.video-player video{border-radius:8px;margin-bottom:1rem;width:100%}.video-placeholder{background:#f7fafc;border:2px dashed #cbd5e0;border-radius:8px;color:#718096;margin-bottom:1rem;padding:2rem;text-align:center}.video-details{color:#4a5568;font-size:.875rem;margin-bottom:1rem}.video-details p{margin-bottom:.25rem}.video-prompt{background:#f7fafc;border-left:4px solid #4c51bf;border-radius:8px;padding:1rem}.video-prompt h5{color:#2d3748;font-size:.875rem;font-weight:600;margin-bottom:.5rem}.video-prompt p{color:#4a5568;font-size:.75rem;line-height:1.4}.no-data-large{color:#718096;padding:3rem;text-align:center}.no-data-large img{border-radius:12px;height:200px;margin-bottom:1rem;object-fit:cover;opacity:.7;width:200px}.no-data-large p{font-size:1.125rem;line-height:1.6}.loading-overlay{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#00000080;bottom:0;color:#fff;display:flex;flex-direction:column;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.loading-spinner{animation:spin 1s linear infinite;border:4px solid #ffffff4d;border-radius:50%;border-top-color:#fff;height:40px;margin-bottom:1rem;width:40px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.loading-overlay p{font-size:1.125rem;font-weight:500}.ai-input-container{align-items:center;display:flex;gap:.5rem;position:relative}.ai-enhanced-input{background:#fff;border:2px solid #e2e8f0;border-radius:8px;flex:1 1;font-size:1rem;padding:.75rem 1rem;transition:border-color .2s}.ai-enhanced-input:focus{border-color:#9f7aea;box-shadow:0 0 0 3px #9f7aea1a;outline:none}.ai-suggestion-btn{background:linear-gradient(135deg,#9f7aea,#805ad5);border:none;border-radius:6px;box-shadow:0 2px 8px #9f7aea4d;color:#fff;cursor:pointer;font-size:.75rem;font-weight:600;padding:.5rem .75rem;transition:all .2s;white-space:nowrap}.ai-suggestion-btn:hover:not(:disabled){box-shadow:0 4px 12px #9f7aea66;transform:translateY(-1px)}.ai-suggestion-btn:disabled{cursor:not-allowed;opacity:.6;transform:none}.ai-suggestion-btn.textarea-btn{position:absolute;right:.5rem;top:.5rem;z-index:2}.ai-suggestions-dropdown{background:#fff;border:2px solid #9f7aea;border-radius:8px;box-shadow:0 8px 32px #9f7aea33;left:0;margin-top:.25rem;position:absolute;right:0;top:100%;z-index:1000}.dropdown-header{background:linear-gradient(135deg,#9f7aea,#805ad5);border-radius:6px 6px 0 0;font-size:.875rem;font-weight:600;justify-content:space-between;padding:.75rem 1rem}.close-dropdown,.dropdown-header{align-items:center;color:#fff;display:flex}.close-dropdown{background:none;border:none;border-radius:50%;cursor:pointer;font-size:1.25rem;height:24px;justify-content:center;padding:0;transition:background-color .2s;width:24px}.close-dropdown:hover{background:#fff3}.suggestions-list{max-height:200px;overflow-y:auto}.suggestion-item{border-bottom:1px solid #e2e8f0;color:#4a5568;cursor:pointer;font-size:.875rem;line-height:1.4;padding:.75rem 1rem;transition:background-color .2s}.suggestion-item:hover{background:linear-gradient(135deg,#f7fafc,#edf2f7);color:#2d3748}.suggestion-item:last-child{border-bottom:none}.video-controls{align-items:center;display:flex;gap:.5rem}.scene-controls{gap:1rem}.download-btn,.generate-btn,.generate-scene-video-btn,.regenerate-btn{background:linear-gradient(135deg,#48bb78,#38a169);border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.75rem;font-weight:600;padding:.4rem .8rem;transition:all .2s;white-space:nowrap}.regenerate-btn{background:linear-gradient(135deg,#ed8936,#dd6b20)}.download-btn{background:linear-gradient(135deg,#4299e1,#3182ce)}.generate-scene-video-btn{background:linear-gradient(135deg,#9f7aea,#805ad5);font-size:.8rem;padding:.5rem 1rem}.download-btn:hover:not(:disabled),.generate-btn:hover:not(:disabled),.generate-scene-video-btn:hover:not(:disabled),.regenerate-btn:hover:not(:disabled){box-shadow:0 4px 12px #0003;transform:translateY(-1px)}.download-btn:disabled,.generate-btn:disabled,.generate-scene-video-btn:disabled,.regenerate-btn:disabled{cursor:not-allowed;opacity:.6;transform:none}.generation-spinner{animation:spin 1s linear infinite;border:4px solid #e2e8f0;border-radius:50%;border-top-color:#9f7aea;height:40px;margin:0 auto 1rem;width:40px}.generation-note{color:#718096;font-size:.875rem;font-style:italic}.error-message{color:#e53e3e;font-size:.875rem;font-weight:500;margin:.5rem 0}.videos-library h3{color:#2d3748;font-size:1.5rem;font-weight:600;margin-bottom:1.5rem;text-align:center}.video-header{align-items:flex-start;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:space-between;margin-bottom:1rem}.video-header h4{color:#2d3748;font-size:1.25rem;font-weight:600;margin:0}.table-header{background:#f7fafc;border-radius:8px;flex-wrap:wrap;justify-content:space-between;margin-bottom:1.5rem;padding:1rem}.filter-section,.table-header{align-items:center;display:flex;gap:1rem}.filter-input{border:1px solid #cbd5e0;border-radius:6px;font-size:.875rem;padding:.5rem;width:200px}.item-count{color:#4a5568;font-size:.875rem;font-weight:500}.sort-section{display:flex;gap:.5rem}.sort-btn{background:#e2e8f0;border:none;border-radius:6px;cursor:pointer;font-size:.875rem;padding:.5rem 1rem;transition:all .2s}.sort-btn:hover{background:#cbd5e0}.sort-btn.active{background:#9f7aea;color:#fff}.project-controls{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem}.delete-project-btn{background:linear-gradient(135deg,#e53e3e,#c53030);border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.75rem;font-weight:600;padding:.4rem .8rem;transition:all .2s}.delete-project-btn:hover{box-shadow:0 4px 12px #e53e3e4d;transform:translateY(-1px)}.toggle-project-btn{background:#9f7aea;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.75rem;font-weight:600;padding:.4rem .8rem;transition:all .2s}.toggle-project-btn:hover{background:#805ad5}.edit-btn,.edit-scene-btn{background:linear-gradient(135deg,#3182ce,#2b77cb);border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.75rem;font-weight:600;padding:.4rem .8rem;transition:all .2s;white-space:nowrap}.edit-btn:hover,.edit-scene-btn:hover{box-shadow:0 4px 12px #3182ce4d;transform:translateY(-1px)}.cancel-edit-btn{background:#e2e8f0;border:none;border-radius:6px;color:#4a5568;cursor:pointer;font-size:.875rem;margin-left:1rem;padding:.5rem 1rem}.editing-notice{background:#fef5e7;border-left:4px solid #d69e2e;border-radius:6px;margin-top:1rem;padding:.75rem}.delete-btn,.editing-notice{align-items:center;display:flex}.delete-btn{background:linear-gradient(135deg,#e53e3e,#c53030);border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.875rem;height:32px;justify-content:center;padding:.4rem;transition:all .2s;width:32px}.delete-btn:hover{box-shadow:0 4px 12px #e53e3e4d;transform:translateY(-1px)}.video-creation-section{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border-radius:16px;box-shadow:0 8px 32px #0000001a;margin-bottom:2rem;padding:2rem}.video-creation-section h3{color:#2d3748;font-size:1.5rem;font-weight:600;margin-bottom:1.5rem;text-align:center}.video-form{display:flex;flex-direction:column;gap:2rem}.selection-grid{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:1fr 1fr}.character-selection,.scene-selection{display:flex;flex-direction:column;gap:1rem}.character-selection h4,.scene-selection h4{color:#2d3748;font-size:1.125rem;font-weight:600;margin:0}.multi-select,.scene-select{background:#fff;border:2px solid #e2e8f0;border-radius:8px;font-size:.875rem;min-height:120px;padding:.75rem}.multi-select[size="8"]{min-height:200px}.multi-select:focus,.scene-select:focus{border-color:#9f7aea;outline:none}.selection-info{color:#4a5568;font-size:.875rem;font-weight:500;margin:0}.selection-info-detailed{display:flex;flex-direction:column;gap:.75rem;margin-top:1rem}.selected-characters{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.selected-tag{background:linear-gradient(135deg,#9f7aea,#805ad5);border-radius:20px;display:inline-flex;font-size:.875rem;font-weight:500;gap:.5rem;padding:.4rem .8rem}.remove-tag,.selected-tag{align-items:center;color:#fff}.remove-tag{background:none;border:none;border-radius:50%;cursor:pointer;display:flex;font-size:1rem;height:18px;justify-content:center;padding:0;transition:background-color .2s;width:18px}.remove-tag:hover{background:#fff3}.help-text{color:#718096;font-size:.75rem;font-style:italic;margin:0}.novel-input h4,.video-settings h4{color:#2d3748;font-size:1.125rem;font-weight:600;margin-bottom:1rem}.settings-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.audio-toggle{align-items:center;color:#2d3748;display:flex;font-weight:500;gap:.5rem}.enhanced-prompt-preview h4{color:#2d3748;font-size:1.125rem;font-weight:600;margin-bottom:1rem}.prompt-preview{background:#f7fafc;border:2px solid #e2e8f0;border-radius:8px;font-family:monospace;font-size:.875rem;padding:1rem}.create-video-btn{background:linear-gradient(135deg,#38a169,#48bb78);border:none;border-radius:8px;box-shadow:0 4px 16px #38a1694d;color:#fff;cursor:pointer;font-size:1.125rem;font-weight:700;letter-spacing:.5px;padding:1.25rem 2rem;text-transform:uppercase;transition:all .2s}.create-video-btn:hover:not(:disabled){box-shadow:0 8px 24px #38a16966;transform:translateY(-2px)}.create-video-btn:disabled{cursor:not-allowed;opacity:.6;transform:none}.character-meta,.scene-meta,.video-meta{grid-gap:.5rem;background:#f7fafc;border-radius:6px;color:#4a5568;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));padding:.75rem}.character-meta,.scene-info-grid,.scene-meta,.video-meta{display:grid;font-size:.875rem;gap:.5rem;margin-bottom:1rem}.scene-info-grid{grid-gap:.5rem;grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}.video-characters,.video-scene{color:#4a5568;font-size:.875rem;margin-bottom:.5rem}.modal-overlay{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:2000}.confirmation-modal{background:#fff;border-radius:12px;box-shadow:0 12px 40px #0003;max-width:400px;padding:2rem;width:90%}.confirmation-modal h3{color:#2d3748;font-size:1.25rem;font-weight:600;margin-bottom:1rem}.confirmation-modal p{color:#4a5568;line-height:1.5;margin-bottom:1.5rem}.modal-actions{display:flex;gap:1rem;justify-content:flex-end}.cancel-btn{background:#e2e8f0;border:none;border-radius:6px;color:#4a5568;cursor:pointer;font-weight:500;padding:.75rem 1.5rem;transition:background-color .2s}.cancel-btn:hover{background:#cbd5e0}.confirm-btn{background:linear-gradient(135deg,#e53e3e,#c53030);border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:600;padding:.75rem 1.5rem;transition:all .2s}.confirm-btn:hover{box-shadow:0 4px 12px #e53e3e4d;transform:translateY(-1px)}.project-scene-item{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:8px;display:flex;justify-content:space-between;margin-bottom:.5rem;padding:1rem}.scene-info{display:flex;flex:1 1;flex-direction:column;gap:.25rem}.scene-info strong{color:#2d3748;font-size:.875rem;font-weight:500}.scene-date{color:#718096;font-size:.75rem}.scene-controls{align-items:center;display:flex;gap:.5rem}.demo-message{background:#f0fff4;border-left:4px solid #38a169;color:#38a169}.demo-message,.deployment-note{border-radius:6px;font-size:.875rem;font-weight:500;margin:.5rem 0;padding:.75rem}.deployment-note{background:#ebf8ff;border-left:4px solid #3182ce;color:#3182ce}.demo-badge{background:linear-gradient(135deg,#38a169,#48bb78);color:#fff}.demo-badge,.status-demo_completed{border-radius:20px;font-size:.75rem;font-weight:600;padding:.25rem .75rem;text-transform:uppercase}.status-demo_completed{background:#f0fff4;color:#38a169}@media (max-width:768px){.app-header{flex-direction:column;gap:1rem}.hero-section{grid-template-columns:1fr;text-align:center}.hero-title{font-size:2rem}.characters-grid,.form-row,.projects-grid,.scene-details-grid,.scenes-grid,.traits-grid,.videos-grid{grid-template-columns:1fr}.project-scene-item{align-items:flex-start;gap:.5rem}.selection-grid{grid-template-columns:1fr}.table-header{align-items:stretch;flex-direction:column;gap:1rem}.filter-input{width:100%}.sort-section{flex-wrap:wrap;justify-content:center}.project-controls,.scene-controls{flex-direction:column;gap:.5rem}.project-scene-item{align-items:stretch;flex-direction:column;gap:1rem}.scene-controls{flex-direction:row;justify-content:center}.settings-grid{grid-template-columns:1fr}.scene-controls,.video-controls{align-items:stretch;flex-direction:column;gap:.5rem}.download-btn,.generate-btn,.generate-scene-video-btn,.regenerate-btn{font-size:.875rem;padding:.75rem}.ai-input-container,.video-header{align-items:stretch;flex-direction:column}.ai-suggestion-btn{align-self:flex-end;margin-top:.5rem}.ai-suggestion-btn.textarea-btn{position:relative;right:auto;top:auto}}
/*# sourceMappingURL=main.26f805f0.css.map*/