:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s;outline:none!important}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}#root{width:100%;height:100%}.app-page{display:flex;flex-direction:column;min-height:100vh}.logo{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.react:hover{filter:drop-shadow(0 0 2em #61dafbaa)}@keyframes logo-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion: no-preference){a:nth-of-type(2) .logo{animation:logo-spin infinite 20s linear}}.card{padding:2em}.read-the-docs{color:#888}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#1e1e2f;color:#e0e0e0}.app-container{display:flex;flex:1;min-height:0;background:radial-gradient(ellipse at 70% 50%,#0720ff,#202234 70%,#1c1e2f);align-items:stretch}.control-panel{flex-basis:320px;min-width:260px;flex-shrink:1;background-color:#171824;padding:30px 0 0 20px;display:flex;flex-direction:column;box-sizing:border-box;margin-left:25px;border-radius:8px;margin-top:20px;margin-bottom:20px}.scrollable-panel-content{flex-grow:1;overflow-y:auto;overflow-x:hidden;padding-bottom:20px;padding-right:20px}.panel-section{margin-bottom:25px}.panel-section h4{font-size:.9em;color:#a0a0c0;margin-top:0;margin-bottom:10px;text-transform:uppercase;text-align:left}.button-group button{background-color:#2a2c40;color:#c0c0e0;border:1px solid #4a4c60;padding:8px 15px;margin-right:8px;border-radius:6px;cursor:pointer;font-size:.9em}.button-group button.active{background-color:#4a69ff;color:#fff;border-color:#4a69ff}.control-panel select{width:100%;padding:10px;background-color:#2a2c40;color:#e0e0e0;border:1px solid #4a4c60;border-radius:6px;font-size:.9em}.voice-item{display:flex;align-items:center;padding:10px;margin-bottom:8px;border-radius:6px;cursor:pointer;background-color:#252738;border:1px solid transparent;position:relative}.voice-item.active{background-color:#30324c;border:1px solid #4a69ff}.voice-avatar-container{position:relative;margin-right:12px}.voice-avatar-container img{width:40px;height:40px;border-radius:50%;object-fit:cover}.voice-play-overlay{position:absolute;top:0;left:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center;background-color:#00000080;border-radius:50%;opacity:0;transition:opacity .2s ease}.voice-item:hover .voice-play-overlay{opacity:1}.play-button{background:none;border:none;color:#fff;font-size:1.2em;cursor:pointer;padding:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;transition:transform .2s ease}.play-button:hover{transform:scale(1.1)}.play-button.playing{color:#4a69ff}.voice-item p{margin:0;font-weight:500;font-size:.95em}.voice-item small{font-size:.8em;color:#8080a0}.show-more{color:#4a69ff;text-decoration:none;font-size:.9em;display:block;margin-top:10px}.slider-section{display:flex;flex-direction:column}.slider-section input[type=range]{width:100%;margin-top:5px;margin-bottom:5px;accent-color:#4a69ff;-webkit-appearance:none;background:transparent}.slider-section input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:16px;height:16px;border-radius:50%;background:#4a69ff;cursor:pointer;margin-top:-6px}.slider-section input[type=range]::-webkit-slider-runnable-track{width:100%;height:4px;background:#2a2c40;border-radius:2px}.light-theme .slider-section input[type=range]::-webkit-slider-thumb{background:#007bff}.light-theme .slider-section input[type=range]::-webkit-slider-runnable-track{background:#e9ecef}.slider-section span{align-self:flex-end;font-size:.85em;color:#a0a0c0;background-color:#2a2c40;padding:3px 6px;border-radius:4px}.generate-button{background:linear-gradient(to top,#3a59ef,#5a79ff);color:#fff;border:none;padding:12px 0;width:92%;border-radius:6px;font-size:1em;font-weight:500;cursor:pointer;margin-top:15px;margin-bottom:20px;flex-shrink:0}.main-content{flex-grow:1;flex-shrink:1;flex-basis:0;min-width:400px;padding:20px 35px 18px;display:flex;flex-direction:column;overflow-y:auto}.right-panel{flex-grow:1;display:flex;flex-direction:column;padding:25px 35px;background:radial-gradient(ellipse at center,#0720ff,#202234 70%,#1c1e2f);overflow:hidden}.mobile-action-bar{display:none}@media (max-width: 768px){.control-panel{display:none}.app-container{padding:0 10px}.main-content{padding:16px 10px 80px;min-width:0}.mobile-action-bar{position:fixed;left:0;right:0;bottom:0;display:flex;gap:10px;padding:10px 12px;background:#12121ce6;backdrop-filter:saturate(140%) blur(6px);-webkit-backdrop-filter:saturate(140%) blur(6px);border-top:1px solid rgba(255,255,255,.08);z-index:110}.light-theme .mobile-action-bar{background:#ffffffeb;border-top-color:#0000000f}.mobile-action-bar button{flex:1;padding:12px 14px;border-radius:8px;border:1px solid #4a4c60;background:#2a2c40;color:#e0e0e0;font-size:1em}.mobile-config-btn{background:#2a2c40}.mobile-generate-btn{background:linear-gradient(to top,#3a59ef,#5a79ff);border:none;color:#fff}.cp-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:flex-end;z-index:120}.cp-modal{width:100%;max-height:85vh;background:#171824;border-top-left-radius:12px;border-top-right-radius:12px;padding:10px 0 12px;display:flex;flex-direction:column}.light-theme .cp-modal{background:#fff}.cp-modal-header{display:flex;justify-content:space-between;align-items:center;padding:8px 14px;border-bottom:1px solid #3a3c52}.light-theme .cp-modal-header{border-bottom-color:#e5e7eb}.cp-modal-close{background:transparent;border:none;color:inherit;font-size:1.4em}.cp-modal-body{overflow:auto;padding:10px 14px}.cp-modal-footer{padding:10px 14px 0;border-top:1px solid #3a3c52;background:transparent}.light-theme .cp-modal-footer{border-top-color:#e5e7eb}.cp-modal-confirm{width:100%;padding:12px;border-radius:8px;border:none;background:linear-gradient(to top,#3a59ef,#5a79ff);color:#fff;font-size:1em}}.project-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.project-header h2{margin:0 0 5px;font-size:1.6em;color:#fff}.project-header small{font-size:.85em;color:#8080a0}.header-actions{display:flex;align-items:center;gap:8px}.header-actions button{background-color:#2a2c40;color:#c0c0e0;border:1px solid #4a4c60;padding:8px 12px;border-radius:6px;cursor:pointer;font-size:.9em}.text-sections-container{flex-grow:1;display:flex;flex-direction:column}.text-input-container{position:relative;display:flex;flex-direction:column;flex-grow:1;margin-bottom:5px}.main-text-input{width:100%;flex-grow:1;padding:16px 16px 30px;border:1px solid #4a4c60;border-radius:6px;background-color:#2a2c40;color:#e0e0e0;font-size:1.1em;resize:none;box-sizing:border-box;line-height:1.5}.char-counter{position:absolute;bottom:10px;right:15px;font-size:.8em;color:#8080a0;-webkit-user-select:none;user-select:none}.main-text-input:focus{outline:none;border-color:#4a69ff;box-shadow:0 0 0 2px #4a69ff33}.main-text-input::placeholder{color:#606080;opacity:1}.main-text-input:-ms-input-placeholder{color:#606080}.main-text-input::-ms-input-placeholder{color:#606080}.text-section{background-color:#282a3e;border-radius:8px;margin-bottom:20px;padding:15px;border:1px solid #3a3c52}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:.9em;color:#a0a0c0}.section-header span{font-weight:500}.section-header button{background:none;border:none;color:#a0a0c0;cursor:pointer;font-size:1.1em;padding:3px;margin-left:8px}.text-section textarea{width:100%;min-height:80px;background-color:transparent;color:#e0e0e0;border:none;resize:vertical;font-size:1em;line-height:1.6;padding:0;margin-bottom:10px;box-sizing:border-box}.text-section textarea:focus{outline:none}.section-footer{display:flex;justify-content:space-between;align-items:center;font-size:.85em;color:#8080a0}.voice-selector-mini{display:flex;align-items:center;background-color:#1e1e2f;padding:5px 8px;border-radius:15px;cursor:pointer}.voice-selector-mini img{width:20px;height:20px;border-radius:50%;margin-right:6px}.voice-selector-mini span{color:#c0c0e0;font-size:.9em}.add-new-bar-button{background-color:#4a69ff;color:#fff;border:none;padding:10px 20px;border-radius:6px;cursor:pointer;font-size:.95em;font-weight:500;display:block;margin:0 auto 25px}.timeline-container{background-color:#171824;padding:20px 20px 8px;border-radius:8px;margin-top:10px}.timeline-container h4{font-size:.9em;color:#a0a0c0;margin-top:0;margin-bottom:15px;text-transform:uppercase}.timeline-controls-wrapper{display:flex;flex-direction:column;align-items:center}.waveform-placeholder{width:100%;height:60px;background-color:#2a2c40;border-radius:4px;margin-bottom:15px;display:flex;align-items:center;justify-content:center;color:#606080}.playback-and-time-controls{display:flex;justify-content:space-between;align-items:center;width:100%;padding:0 5px;box-sizing:border-box}.time-display{font-size:.85em;color:#8080a0;flex-basis:auto;white-space:nowrap;margin-right:auto}.playback-buttons{display:flex;justify-content:center;align-items:center;flex-grow:1}.playback-buttons button{background:none;border:none;color:#fff;font-size:24px;cursor:pointer;padding:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center;transition:all .3s ease}.playback-buttons button:hover{color:#4a69ff}.volume-slider{accent-color:#4a69ff;width:100px;margin-left:auto}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#202234;border-radius:10px}::-webkit-scrollbar-thumb{background:#4a4c60;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:#5a5c70}select{-moz-appearance:none;-webkit-appearance:none;appearance:none;background-image:url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20fill%3D%22%23e0e0e0%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M5%208l5%205%205-5z%22/%3E%3C/svg%3E);background-repeat:no-repeat;background-position:right 10px center;background-size:12px}textarea::placeholder{color:#606080;opacity:1}textarea:-ms-input-placeholder{color:#606080}textarea::-ms-input-placeholder{color:#606080}.theme-toggle-button{background:none;border:1px solid transparent;color:#c0c0e0;padding:8px 10px;margin-left:10px;border-radius:6px;cursor:pointer;font-size:1.2em;line-height:1}.theme-toggle-button:hover{border-color:#4a4c60}.light-theme body{background-color:#f0f2f5;color:#1c1e21}.light-theme #root{background:transparent}.light-theme .app-container{background-color:#e4e6eb}.light-theme .control-panel{background-color:#fff;color:#333}.light-theme .panel-section h4{color:#55585e}.light-theme .custom-select-selected-value{background-color:#f0f2f5;color:#1c1e21;border:1px solid #ced4da}.light-theme .custom-select-selected-value:hover{border-color:#adb5bd}.light-theme .custom-select-arrow{color:currentColor}.light-theme .custom-select-options-list{background-color:#fff;border:1px solid #ced4da;box-shadow:0 2px 10px #0000001a}.light-theme .custom-select-search-input{background-color:#f8f9fa;color:#1c1e21;border:1px solid #d1d5db}.light-theme .custom-select-search-input:focus{border-color:#80bdff}.light-theme .custom-select-option-li{color:#212529}.light-theme .custom-select-option-li:hover{background-color:#e9ecef}.light-theme .custom-select-option-li.selected{background-color:#007bff;color:#fff}.light-theme .custom-select-no-options{color:#6c757d}.light-theme .voice-item{background-color:#f3f4f7;border:1px solid transparent}.light-theme .voice-item.active{background-color:#e0e7ff;border:1px solid #007bff}.light-theme .voice-item p{color:#212529}.light-theme .voice-item small{color:#6c757d}.light-theme .show-more{color:#007bff}.light-theme .slider-section input[type=range]{accent-color:#007bff}.light-theme .slider-section span{background-color:#e9ecef;color:#495057}.light-theme .generate-button{background:linear-gradient(to top,#0069d9,#007bff);color:#fff}.light-theme .app-container{background:radial-gradient(ellipse at center,#fdfdff,#f0f2f5 70%,#e4e6eb);color:#1c1e21}.light-theme .project-header h2{color:#1c1e21}.light-theme .header-actions button{background-color:#f8f9fa;color:#343a40;border:1px solid #ced4da}.light-theme .header-actions button:hover{background-color:#e9ecef;border-color:#adb5bd}.light-theme .theme-toggle-button{color:#495057}.light-theme .theme-toggle-button:hover{border-color:#ced4da}.light-theme .custom-select-selected-value select,.light-theme select{background-image:url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20fill%3D%22%23495057%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M5%208l5%205%205-5z%22/%3E%3C/svg%3E)}select{-moz-appearance:none;-webkit-appearance:none;appearance:none;background-image:url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20fill%3D%22%23e0e0e0%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M5%208l5%205%205-5z%22/%3E%3C/svg%3E);background-repeat:no-repeat;background-position:right 10px center;background-size:12px}.control-panel .panel-section.slider-section{margin-top:6px}.window-control-button{background-color:transparent;color:#c0c0e0;border:1px solid transparent;padding:6px 8px;border-radius:4px;cursor:pointer;font-size:1em;line-height:1;min-width:30px;text-align:center}.close-button:hover{background-color:#e81123;color:#fff;border-color:#e81123}.light-theme .close-button:hover{background-color:#e81123;color:#fff;border-color:#e81123}.light-theme .main-text-input{background-color:#fff;color:#212529;border-color:#ced4da}.light-theme .main-text-input:focus{border-color:#80bdff;box-shadow:0 0 0 2px #007bff33}.light-theme .main-text-input::placeholder{color:#6c757d}.light-theme .timeline-container{background-color:#fff}.light-theme .waveform-placeholder{background-color:#e9ecef;color:#6c757d}.light-theme .playback-buttons button{color:#343a40}.light-theme .playback-buttons button:hover{color:#007bff}.light-theme .time-display{color:#495057}.light-theme .volume-slider{accent-color:#007bff}.light-theme ::-webkit-scrollbar-track{background:#e9ecef;border-radius:10px}.light-theme ::-webkit-scrollbar-thumb{background:#ced4da;border-radius:10px}.light-theme ::-webkit-scrollbar-thumb:hover{background:#adb5bd}.light-theme .custom-select-selected-value select,.light-theme select{background-image:url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20fill%3D%22%23495057%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M5%208l5%205%205-5z%22/%3E%3C/svg%3E)}select{-moz-appearance:none;-webkit-appearance:none;appearance:none;background-image:url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20fill%3D%22%23e0e0e0%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M5%208l5%205%205-5z%22/%3E%3C/svg%3E);background-repeat:no-repeat;background-position:right 10px center;background-size:12px}.slider-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.slider-header h4{margin:0;font-size:1em}.slider-header span{font-size:.9em;color:#888}.dark-theme .slider-header span{color:#bbb}.waveform-bar{position:relative;width:100%;height:48px;background:#23243a;border-radius:6px;cursor:pointer;margin-bottom:10px;overflow:hidden}.waveform-bar .waveform-progress{position:absolute;left:0;top:0;height:100%;background:linear-gradient(90deg,#4a69ff,#7f9cff);border-radius:6px 0 0 6px;pointer-events:none;transition:width .1s linear}.light-theme .waveform-bar{background:#e9ecef}.light-theme .waveform-bar .waveform-progress{background:linear-gradient(90deg,#007bff,#80bdff)}.light-theme .char-counter{color:#6c757d}.light-theme ::-webkit-scrollbar{width:8px;height:8px}.window-control-button:hover{background-color:#3a3c52;border-color:#4a4c60}.light-theme .window-control-button{color:#495057}.light-theme .window-control-button:hover{background-color:#e9ecef;border-color:#adb5bd}.export-button{background-color:#2a2c40;color:#c0c0e0;border:1px solid #4a4c60;padding:6px 10px;border-radius:4px;cursor:pointer;font-size:.85em;transition:background-color .2s ease,border-color .2s ease;margin-left:40px}.export-button:hover{background-color:#3a3c52;border-color:#4f5266}.light-theme .export-button{background-color:#f0f2f5;color:#343a40;border-color:#ced4da}.light-theme .export-button:hover{background-color:#e2e6ea;border-color:#adb5bd}.light-theme ::-webkit-scrollbar{width:8px;height:8px;accent-color:#007bff}.synth-progress-bar-wrapper{margin-top:8px;display:flex;align-items:center;gap:8px;margin-left:2px}.synth-progress-bar-bg{width:120px;height:8px;background:#e0e0e0;border-radius:4px;overflow:hidden;position:relative}.synth-progress-bar-fg{height:100%;background:linear-gradient(90deg,#3a59ef,#5a79ff);border-radius:4px;transition:width .3s}.synth-progress-bar-text{font-size:12px;color:#5a79ff;min-width:32px;text-align:right;font-weight:700}.light-theme .synth-progress-bar-bg{background:#f0f0f0}.light-theme .synth-progress-bar-text{color:#007bff}.custom-select-container{position:relative;width:100%;font-size:.9em;color:#e0e0e0}.custom-select-selected-value{background-color:#2a2c40;border:1px solid #4a4c60;padding:10px 12px;border-radius:6px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;-webkit-user-select:none;user-select:none}.custom-select-selected-value:hover{border-color:#5a5c70}.custom-select-arrow{transition:transform .2s ease-in-out;font-size:.8em}.custom-select-arrow.open{transform:rotate(180deg)}.custom-select-options-list{position:absolute;top:calc(100% + 4px);left:0;right:0;background-color:#252738;border:1px solid #4a4c60;border-radius:6px;z-index:1000;max-height:220px;overflow-y:auto;box-shadow:0 5px 15px #0000004d}.custom-select-search-input{width:calc(100% - 16px);padding:9px 8px;margin:8px;box-sizing:border-box;background-color:#1e1e2f;color:#e0e0e0;border:1px solid #4a4c60;border-radius:4px;font-size:.95em}.custom-select-search-input:focus{outline:none;border-color:#4a69ff}.custom-select-options-ul{list-style:none;padding:0;margin:0 0 5px}.custom-select-option-li{padding:10px 12px;cursor:pointer;font-size:.95em}.custom-select-option-li:hover{background-color:#3a3c52}.custom-select-option-li.selected{background-color:#4a69ff;color:#fff}.custom-select-no-options{padding:10px 12px;color:#8080a0;text-align:center;font-style:italic}.custom-select-options-list::-webkit-scrollbar{width:6px}.custom-select-options-list::-webkit-scrollbar-track{background:#202234;border-radius:10px}.custom-select-options-list::-webkit-scrollbar-thumb{background:#4a4c60;border-radius:10px}.custom-select-options-list::-webkit-scrollbar-thumb:hover{background:#5a5c70}.light-theme .custom-select-options-list{scrollbar-width:thin;scrollbar-color:#c7d0d9 #f1f3f5}.light-theme .custom-select-options-list::-webkit-scrollbar{width:8px}.light-theme .custom-select-options-list::-webkit-scrollbar-track{background:#f1f3f5;border-radius:10px}.light-theme .custom-select-options-list::-webkit-scrollbar-thumb{background:#c7d0d9;border-radius:10px}.light-theme .custom-select-options-list::-webkit-scrollbar-thumb:hover{background:#adb5bd}:root{--modal-bg-light: #ffffff;--modal-text-primary-light: #212529;--modal-text-secondary-light: #495057;--modal-border-color-light: #dee2e6;--modal-accent-blue-light: #007bff;--modal-accent-blue-darker-light: #0056b3;--modal-item-hover-bg-light: #e9ecef;--modal-item-selected-bg-light: #dbeafe;--modal-item-selected-border-light: var(--modal-accent-blue-light);--modal-column-bg-light: #f8f9fa;--modal-button-text-light: #ffffff;--modal-disabled-bg-light: #cccccc;--modal-disabled-text-light: #6c757d;--modal-shadow-light: 0 .5rem 1rem rgba(0, 0, 0, .15);--modal-footer-border-light: #e0e0e0}.modal-content{--modal-bg: var(--modal-bg-light);--modal-text-primary: var(--modal-text-primary-light);--modal-text-secondary: var(--modal-text-secondary-light);--modal-border-color: var(--modal-border-color-light);--modal-accent-blue: var(--modal-accent-blue-light);--modal-accent-blue-darker: var(--modal-accent-blue-darker-light);--modal-item-hover-bg: var(--modal-item-hover-bg-light);--modal-item-selected-bg: var(--modal-item-selected-bg-light);--modal-item-selected-border: var(--modal-item-selected-border-light);--modal-column-bg: var(--modal-column-bg-light);--modal-button-text: var(--modal-button-text-light);--modal-disabled-bg: var(--modal-disabled-bg-light);--modal-disabled-text: var(--modal-disabled-text-light);--modal-shadow: var(--modal-shadow-light);--modal-footer-border: var(--modal-footer-border-light)}.modal-content.theme-dark{--modal-bg: #171824;--modal-text-primary: #e0e0e0;--modal-text-secondary: #a0a7b8;--modal-border-color: #2A2D3E;--modal-accent-blue: #4564f4;--modal-accent-blue-darker: #3a52cc;--modal-item-hover-bg: #282A38;--modal-item-selected-bg: #252A40;--modal-item-selected-border: var(--modal-accent-blue);--modal-column-bg: #202230;--modal-button-text: #ffffff;--modal-disabled-bg: #303345;--modal-disabled-text: #707888;--modal-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .45);--modal-footer-border: var(--modal-border-color)}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#000000a6;display:flex;justify-content:center;align-items:center;z-index:1000;padding:20px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.modal-content{background-color:var(--modal-bg);color:var(--modal-text-primary);padding:25px;border-radius:12px;box-shadow:var(--modal-shadow);width:90%;max-width:800px;min-height:500px;max-height:90vh;position:relative;display:flex;flex-direction:column;transition:background-color .3s,color .3s}@media (max-width: 768px){.modal-overlay{align-items:flex-end;padding:0}.modal-content{width:100%;max-width:none;max-height:80vh;min-height:65vh;border-radius:12px 12px 0 0;padding:16px}.modal-header-controls{margin-bottom:12px}.modal-title{font-size:1.1rem!important}.modal-body-columns{flex-direction:row!important;gap:10px!important}.voices-column{flex:0 0 44%!important;max-width:44%!important;min-width:0!important;max-height:64vh!important;border:none!important;border-radius:8px!important;padding:6px 4px!important}.selected-voice-styles-title{font-size:1rem!important}.avatar-image{width:90%!important;height:90%!important}.styles-column{flex:1!important;overflow:hidden}.selected-voice-styles-title{font-size:.95rem;margin-bottom:8px;padding:0 8px}.styles-list{display:block!important;max-height:64vh!important;overflow-y:auto!important;border:none!important;border-radius:8px!important;padding:6px 8px!important;gap:0!important}.voice-selector-entry{padding:8px 10px!important;margin-bottom:8px!important;border:none!important}.voice-avatar{margin-right:10px!important;border:none!important}.voice-primary-details .voice-name{font-size:.95rem!important;margin-bottom:2px!important}.voice-primary-details .voice-meta{font-size:.75rem!important}.style-item{width:100%!important;padding:8px 12px!important;margin-bottom:8px!important;font-size:.9rem!important;border:none!important;box-sizing:border-box}.play-icon{font-size:1rem!important;width:1rem!important;height:1rem!important}.modal-footer{padding-top:12px;position:sticky;bottom:0;background:var(--modal-bg)}.confirm-button{width:100%}.brand-subtitle{display:none}}.modal-header-controls{display:flex;justify-content:space-between;align-items:center;width:100%;margin-bottom:25px;flex-shrink:0}.modal-title{margin-top:0;color:var(--modal-text-primary);font-size:1.75rem;font-weight:600;text-align:center;flex-shrink:0}.v-close-button{background:transparent;border:none;font-size:2.25rem;line-height:1;color:var(--modal-text-secondary);cursor:pointer;margin-left:15px;transition:color .2s ease;padding:0 5px 5px}.v-close-button:hover{color:var(--modal-text-primary);background-color:#ee2929;border-color:#ee2929}.modal-body-columns{display:flex;flex-grow:1;overflow:hidden;gap:25px;margin-bottom:20px}.voices-column{flex:1;min-width:260px;max-width:320px;overflow-y:auto;background-color:var(--modal-column-bg);border:1px solid var(--modal-border-color);border-radius:8px;padding:12px;display:flex;flex-direction:column;gap:10px;transition:background-color .3s,border-color .3s}.voices-placeholder p{padding:20px;text-align:center;color:var(--modal-text-secondary)}.voice-selector-entry{display:flex;align-items:center;padding:12px;border-radius:6px;cursor:pointer;border:1px solid transparent;transition:background-color .2s ease,border-color .2s ease}.voice-selector-entry:hover{background-color:var(--modal-item-hover-bg)}.voice-selector-entry.selected{background-color:var(--modal-item-selected-bg);border-color:var(--modal-item-selected-border);box-shadow:0 1px 3px #0000000d}.voice-selector-entry.selected .voice-name{color:var(--modal-accent-blue)}.modal-content.theme-dark .voice-selector-entry.selected .voice-name{color:var(--modal-text-primary)}.voice-avatar{width:40px;height:40px;border-radius:50%;flex-shrink:0;margin-right:15px;overflow:hidden;display:flex;justify-content:center;align-items:center;border:2px solid var(--modal-border-color)}.voice-avatar .avatar-image{width:100%;height:100%;object-fit:cover}.voice-avatar .avatar-initials-placeholder{width:100%;height:100%;display:flex;justify-content:center;align-items:center;font-size:1.1rem;font-weight:600;background-color:var(--modal-accent-blue);color:var(--modal-button-text);border-radius:50%}.voice-primary-details .voice-name{font-size:1rem;font-weight:500;color:var(--modal-text-primary);margin:0 0 4px}.voice-primary-details .voice-meta{font-size:.8rem;color:var(--modal-text-secondary);margin:0}.styles-column{flex:2;display:flex;flex-direction:column;overflow:hidden;padding:0}.selected-voice-styles-title{font-size:1.2rem;font-weight:600;color:var(--modal-text-primary);margin-top:0;margin-bottom:12px;padding:0 10px;flex-shrink:0}.styles-list{list-style-type:none;padding:10px;margin:0;display:flex;flex-wrap:wrap;gap:12px;flex-grow:1;overflow-y:auto;max-height:320px;background-color:var(--modal-column-bg);border:1px solid var(--modal-border-color);border-radius:8px;align-content:flex-start;transition:background-color .3s,border-color .3s}.style-item{background-color:var(--modal-bg);color:var(--modal-text-primary);border-radius:18px;padding:8px 16px;display:flex;align-items:center;justify-content:space-between;font-size:.875rem;box-shadow:0 1px 2px #00000012;cursor:pointer;border:1px solid var(--modal-border-color);transition:border-color .2s ease,background-color .2s ease,box-shadow .2s ease,transform .1s ease}.style-item:hover{background-color:var(--modal-item-hover-bg);box-shadow:0 2px 4px #0000001a;transform:translateY(-1px)}.style-item.active-style{border-color:var(--modal-accent-blue);background-color:var(--modal-item-selected-bg);color:var(--modal-accent-blue);font-weight:500}.modal-content.theme-dark .style-item.active-style{color:var(--modal-text-primary)}.style-name{margin-right:10px;flex-grow:1}.play-style-button{background:transparent;border:none;padding:6px 12px;cursor:pointer;color:var(--modal-text-secondary);transition:all .2s ease;border-radius:4px;display:flex;align-items:center;justify-content:center;outline:none!important}.play-style-button:hover{background-color:var(--modal-item-hover-bg);color:var(--modal-accent-blue)}.play-icon{font-size:1.2rem;line-height:1;display:inline-block;transform:scale(.8);transition:transform .2s ease;width:1.2rem;height:1.2rem;display:flex;align-items:center;justify-content:center}.play-style-button:hover .play-icon{transform:scale(1)}.play-style-button.playing{color:var(--modal-accent-blue)}.play-style-button.playing .play-icon{transform:scale(1)}.styles-placeholder{display:flex;flex-direction:column;justify-content:center;align-items:center;height:100%;color:var(--modal-text-secondary);font-size:1rem;text-align:center;padding:20px;background-color:var(--modal-column-bg);border-radius:8px;border:1px solid var(--modal-border-color)}.modal-footer{padding:20px 0 0;margin-top:auto;display:flex;justify-content:flex-end;border-top:1px solid var(--modal-footer-border);flex-shrink:0;transition:border-color .3s}.confirm-button{background-color:var(--modal-accent-blue);color:var(--modal-button-text);border:none;border-radius:8px;padding:12px 24px;font-size:1rem;font-weight:600;cursor:pointer;transition:background-color .2s ease,box-shadow .2s ease,transform .1s ease}.confirm-button:hover:not(:disabled){background-color:var(--modal-accent-blue-darker);box-shadow:0 4px 8px #00000026;transform:translateY(-1px)}.confirm-button:disabled{background-color:var(--modal-disabled-bg);color:var(--modal-disabled-text);cursor:not-allowed;box-shadow:none;transform:none}.voices-column::-webkit-scrollbar,.styles-list::-webkit-scrollbar{width:8px}.voices-column::-webkit-scrollbar-track,.styles-list::-webkit-scrollbar-track{background:transparent;border-radius:10px}.voices-column::-webkit-scrollbar-thumb,.styles-list::-webkit-scrollbar-thumb{background:var(--modal-border-color);border-radius:10px;border:2px solid var(--modal-column-bg)}.voices-column::-webkit-scrollbar-thumb:hover,.styles-list::-webkit-scrollbar-thumb:hover{background:var(--modal-text-secondary)}.toast-container{position:fixed;top:50px;left:50%;transform:translate(-50%);z-index:2000;display:flex;flex-direction:column;align-items:center}.toast{background-color:#2a2c40;color:#e0e0e0;padding:12px 20px;border-radius:6px;margin-top:10px;box-shadow:0 4px 12px #00000026;opacity:0;transform:translateY(20px);transition:opacity .3s ease-in-out,transform .3s ease-in-out;font-size:.9em;min-width:200px;text-align:center}.toast.show{opacity:1;transform:translateY(0)}.toast.success{background-color:#28a745;color:#fff}.toast.error{background-color:#dc3545;color:#fff}.toast.info{background-color:#17a2b8;color:#fff}.toast.light-theme{background-color:#f8f9fa;color:#212529;border:1px solid #d6d8db}.toast.light-theme.success{background-color:#d4edda;color:#155724;border:1px solid #c3e6cb}.toast.light-theme.error{background-color:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.toast.light-theme.info{background-color:#d1ecf1;color:#0c5460;border:1px solid #bee5eb}.site-header{position:sticky;top:0;z-index:100;width:100%;-webkit-backdrop-filter:saturate(150%) blur(6px);backdrop-filter:saturate(150%) blur(6px);border-bottom:1px solid rgba(255,255,255,.08)}.dark-theme.site-header{background:linear-gradient(180deg,#12121ceb,#12121cbf)}.light-theme.site-header{border-bottom-color:#091e4214;background:#fff}.header-inner{margin:0 auto;padding:16px 32px}.header-top{display:flex;align-items:center;justify-content:space-between}.brand-row{display:flex;align-items:center;gap:10px}.brand-logo{display:block}.brand-title{margin:0;font-size:32px;font-weight:700;letter-spacing:.2px}.dark-theme .brand-title{color:#fff}.light-theme .brand-title{color:#24324a}.usage-today{margin-left:10px;font-size:12px;font-weight:500;opacity:.9}.dark-theme .usage-today{color:#c9cbe3}.light-theme .usage-today{color:#5a6580}.brand-subtitle{margin:6px 0 0 42px;font-size:16px;line-height:1.6;opacity:.85}.dark-theme .brand-subtitle{color:#c9cbe3}.light-theme .brand-subtitle{color:#5a6580}.site-footer{width:100%;border-top:1px solid rgba(255,255,255,.08)}.dark-theme.site-footer{background:#1c1e2f}.light-theme.site-footer{background:#e4e6eb;border-top-color:#0000000f}.footer-inner{max-width:1200px;margin:0 auto;padding:14px 22px;display:flex;gap:12px;flex-wrap:wrap;align-items:center;justify-content:center;font-size:12px}.dark-theme .footer-inner{color:#c9cbe3}.light-theme .footer-inner{color:#4a4f63}.icp-link{color:inherit;text-decoration:none}.icp-link:hover{text-decoration:underline}
