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}.ChatAppComponents_chat-and-input__Na3x1{display:flex;flex-direction:column;gap:16px}.ChatAppComponents_chat-history__NyONx{background-color:#3a3a3a;border-radius:8px;flex-grow:1;max-height:300px;overflow-y:auto;padding:16px}.ChatAppComponents_input-section__K2mhr{display:flex;flex-direction:column;gap:12px}.ChatAppComponents_input-section__K2mhr input,.ChatAppComponents_input-section__K2mhr textarea{background-color:#333;border:1px solid #444;border-radius:4px;color:#fff;padding:8px;width:100%}.ChatAppComponents_input-section__K2mhr button{background-color:#5a9;border:none;border-radius:4px;color:#fff;cursor:pointer;padding:10px}.ChatAppComponents_input-section__K2mhr button:disabled{background-color:#777;cursor:not-allowed}.ChatAppComponents_character-manager__myrVL input,.ChatAppComponents_character-manager__myrVL select,.ChatAppComponents_character-manager__myrVL textarea{background-color:#444;border:1px solid #555;border-radius:4px;color:#fff;padding:8px;width:100%}.ChatAppComponents_character-manager__myrVL button{background-color:#2a9;border:none;border-radius:4px;color:#fff;cursor:pointer;padding:10px;width:100%}.ChatAppComponents_character-manager__myrVL button:hover{background-color:#39b}.ChatAppComponents_handy-controller__YLHwz{margin:16px 0}.ChatAppComponents_connection-input-wrapper__CmOUz{align-items:center;display:flex;gap:8px}.ChatAppComponents_connection-key-input__qKslK{background-color:#333;border:1px solid #444;border-radius:4px;color:#fff;flex:1 1;padding:8px}.ChatAppComponents_connection-input-wrapper__CmOUz button{background-color:#5a9;border:none;border-radius:4px;color:#fff;cursor:pointer;padding:8px 12px}.ChatAppComponents_connection-input-wrapper__CmOUz button:hover{background-color:#48a}.ChatAppComponents_connection-status-icon__x2wqY{font-size:1.5em}.ChatAppComponents_connection-status-icon__x2wqY.ChatAppComponents_connected__\+\+POD{color:green}.ChatAppComponents_connection-status-icon__x2wqY.ChatAppComponents_disconnected__6D33F{color:red}.ChatAppComponents_llm-connector__Z4FEW{display:flex;height:100vh}.ChatAppComponents_left-panel__SnS03{background-color:#2b2b2b;flex:3 1;padding:16px}.ChatAppComponents_right-panel__LnJML{background-color:#1c1c1c;color:#fff;flex:1 1;padding:16px}.ChatAppComponents_api-key-toggle__CHYfV{margin-bottom:10px;text-align:center}.ChatAppComponents_toggle-button__6IP6m{background-color:#444;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:14px;padding:8px 12px}.ChatAppComponents_toggle-button__6IP6m:hover{background-color:#555}.ChatAppComponents_api-key-input__kjQiz{margin-bottom:15px;text-align:center}.ChatAppComponents_api-input-field__rbFMB{border:1px solid #ccc;border-radius:4px;margin-top:5px;padding:8px;width:100%}.ChatAppComponents_message-input__N7qJR{border:1px solid #ccc;border-radius:4px;margin-bottom:15px;padding:8px;width:100%}@media (max-width:600px){.ChatAppComponents_llm-connector__Z4FEW{flex-direction:column;height:auto}.ChatAppComponents_left-panel__SnS03,.ChatAppComponents_right-panel__LnJML{box-sizing:border-box;flex:1 1;max-width:100%;padding:8px}.ChatAppComponents_chat-history__NyONx{max-height:200px;padding:8px}.ChatAppComponents_input-section__K2mhr{gap:8px}.ChatAppComponents_input-section__K2mhr input,.ChatAppComponents_input-section__K2mhr textarea{box-sizing:border-box;font-size:.9rem;padding:6px;width:100%}.ChatAppComponents_input-section__K2mhr button{box-sizing:border-box;font-size:.9rem;padding:8px;width:100%}.ChatAppComponents_character-manager__myrVL{padding:8px}.ChatAppComponents_character-manager__myrVL input,.ChatAppComponents_character-manager__myrVL select,.ChatAppComponents_character-manager__myrVL textarea{box-sizing:border-box;font-size:.9rem;padding:6px;width:100%}.ChatAppComponents_character-manager__myrVL button{box-sizing:border-box;font-size:.9rem;padding:8px;width:100%}.ChatAppComponents_connection-status-icon__x2wqY{font-size:1.2em}.ChatAppComponents_connection-input-wrapper__CmOUz{flex-direction:column;gap:4px}}.character-manager-container{align-items:center;background-color:#1e1e1e;border-radius:8px;box-sizing:border-box;color:#fff;display:flex;flex-direction:column;justify-content:flex-start;padding:20px;width:100%}.character-manager-image-container{align-items:center;display:flex;justify-content:center;margin-bottom:20px}.character-manager-image{border:2px solid #2b2b2b;border-radius:50%;box-shadow:0 4px 10px #0006;height:150px;margin-top:10px;object-fit:cover;width:150px}.character-dropdown{-webkit-appearance:none;appearance:none;background-color:#2b2b2b;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='m7 10 5 5 5-5H7z'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;background-size:16px;border:1px solid #2b2b2b;border-radius:5px;box-shadow:0 4px 6px #0006;color:#fff;cursor:pointer;font-size:1rem;margin-bottom:20px;max-width:400px;padding:12px;transition:border-color .2s ease,box-shadow .2s ease;width:100%}.character-dropdown:hover{box-shadow:0 6px 10px #00000080}.character-dropdown:focus{box-shadow:0 6px 12px #0009;outline:none}.character-manager-input,.character-manager-textarea{background-color:#2b2b2b;border:1px solid #2b2b2b;border-radius:5px;box-sizing:border-box;color:#fff;font-size:1rem;margin-bottom:15px;padding:12px;resize:none;width:100%}.character-manager-actions button,.character-manager-delete button{background-color:#50c878;border:none;border-radius:5px;color:#fff;cursor:pointer;font-size:1rem;margin-top:10px;padding:12px 20px;transition:background-color .2s ease;width:100%}.character-manager-actions button:hover,.character-manager-delete button:hover{background-color:#3da65a}.character-manager-container h3{color:#50c878;font-size:1.2rem;margin-bottom:10px;text-align:center}@media (max-width:768px){.character-manager-container{padding:15px}.character-manager-image{height:120px;width:120px}.character-dropdown,.character-manager-input,.character-manager-textarea{max-width:100%}.character-manager-actions button,.character-manager-delete button{width:100%}}.VideoScriptApp_App__3vLHg{align-items:center;background-color:#121212;color:#fff;display:flex;flex-direction:column;justify-content:center;min-height:100vh;text-align:center}.VideoScriptApp_handy-video-sync__ZyD5c,.VideoScriptApp_llm-connector__wk8\+W{background-color:#1c1c1c;border-radius:8px;box-shadow:0 4px 8px #00000080;color:#ddd;margin:20px 0;max-width:800px;padding:20px;width:90%}input[type=file],input[type=text],textarea{background-color:#2a2a2a;border:1px solid #555;border-radius:4px;color:#ddd;padding:10px;width:100%}button{background-color:#50c878;border:none;border-radius:4px;color:#fff;cursor:pointer;padding:10px 20px}button:hover{background-color:#48a862}button:disabled{background-color:#777;cursor:not-allowed}.VideoScriptApp_file-input-wrapper__wmb0C label{background-color:#50c878;border-radius:4px;color:#fff;cursor:pointer;display:inline-block;padding:8px 12px}.VideoScriptApp_media-item__akODI button{background-color:#50c878;border-radius:4px;color:#fff;cursor:pointer;margin-bottom:10px;padding:8px 12px}.VideoScriptApp_controls__WJlWu button{background-color:#50c878;border-radius:4px;color:#fff;cursor:pointer;padding:10px}.VideoScriptApp_controls__WJlWu button:hover{background-color:#48a862}.VideoScriptApp_random-play-mode__69viy{display:flex;gap:20px;justify-content:center;margin-top:20px}.VideoScriptApp_random-play-mode__69viy label{color:#ddd}.VideoScriptApp_video-container__079c5{margin-top:20px}.VideoScriptApp_main-layout__-8EMc{display:flex;gap:24px;justify-content:center;margin-top:20px}.VideoScriptApp_left-panel__ln6QV,.VideoScriptApp_right-panel__2x2dU{background-color:#1c1c1c;border-radius:8px;box-shadow:0 4px 8px #00000080;flex:1 1;margin:20px 0;max-width:600px;padding:16px}@media screen and (max-width:768px){.VideoScriptApp_main-layout__-8EMc{align-items:center;flex-direction:column}.VideoScriptApp_left-panel__ln6QV,.VideoScriptApp_right-panel__2x2dU{max-width:100%}}:root{--dark-overlay:#0f0f0f99}.audio-chat-page .content-container{margin-left:282px!important;margin-top:0!important;min-height:100vh!important;padding:0!important}.mobile-header{align-items:center;backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);background:#0000004d;border-bottom:1px solid #ffffff1a;box-sizing:border-box;display:none;justify-content:space-between;min-height:60px;padding:12px 20px;position:-webkit-sticky;position:sticky;top:0;z-index:100}.hamburger-btn{align-items:center;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:#2d2d2d99;border:1px solid #4446;border-radius:8px;color:#fff;color:var(--text-color);cursor:pointer;display:flex;font-size:1.1rem;height:40px;justify-content:center;padding:0;transition:all .2s ease;width:40px}.hamburger-btn:hover{background:#50c87833;border-color:#50c87866;transform:translateY(-1px)}.header-character-info{align-items:center;display:flex;flex:1 1;gap:12px;justify-content:center}.header-avatar{border:2px solid #50c878cc;border-radius:50%;box-shadow:0 2px 8px #0000004d;height:32px;object-fit:cover;width:32px}.header-character-name{color:#fff;color:var(--text-color);font-size:1rem;font-weight:500;text-shadow:0 1px 2px #00000080}@media (max-width:768px){.audio-chat-page .content-container{margin-left:0!important;margin-top:0!important}.mobile-header{display:flex}.chat-container{flex-direction:column;height:100vh}.chat-main-content{display:flex;flex:1 1;flex-direction:column;height:100vh;padding-top:60px;position:relative;z-index:3}.chat-messages{flex:1 1;overflow-y:auto;padding:16px 16px 120px;position:relative;z-index:3}.chat-input-container{backdrop-filter:blur(20px)!important;-webkit-backdrop-filter:blur(20px)!important;background:#151515f2!important;border-top:1px solid #4444444d!important;bottom:0!important;box-sizing:border-box!important;margin:0!important;padding:12px 16px!important;z-index:1000!important}.chat-input-container,.mobile-header{left:0!important;position:fixed!important;right:0!important;width:100%!important}.mobile-header{backdrop-filter:blur(20px) saturate(180%)!important;-webkit-backdrop-filter:blur(20px) saturate(180%)!important;background:#0000004d!important;top:0!important;z-index:1001!important}}.chat-container{background-color:#0d0d0d;background-color:var(--darkest-bg);color:#fff;color:var(--text-color);flex-direction:row;height:100vh;margin:0;max-width:100%;width:100%}.chat-container,.chat-main-content{display:flex;overflow:hidden;position:relative}.chat-main-content{border-radius:0;box-shadow:none;flex:1 1;flex-direction:column;height:100%;min-height:0}.chat-main-content .chat-background{background-position:center 20%;background-repeat:no-repeat;background-size:cover;filter:brightness(1.1);height:100vh;left:0;opacity:1;position:fixed;top:0;transition:background-image .5s ease-in-out;width:100%;z-index:1}.chat-main-content .chat-background-overlay{background-color:#0000004d;height:100vh;left:0;position:fixed;top:0;width:100%;z-index:2}.character-subtitle{color:#fff}.character-mode.sentient-active{color:#50c878}.character-mode.sentient-inactive{color:#999}.connection-section{border-bottom:1px solid #444;border-bottom:1px solid var(--border-color);gap:6px;padding:12px 10px}.connect-discord-button,.connect-handy-button,.time-unlock-button{background-color:#242424;background-color:var(--medium-bg);border:1px solid #444;border:1px solid var(--border-color);border-radius:8px;border-radius:var(--radius);color:#fff;font-size:.9rem;padding:10px;transition:all .3s ease;transition:var(--transition)}.connect-handy-button:hover{background-color:#50c878;background-color:var(--primary-color);border-color:#50c878;border-color:var(--primary-color);color:#1c1c1c;color:var(--dark-bg)}.connect-discord-button:hover{background-color:#5865f2;border-color:#5865f2}.time-unlock-button:hover{background-color:#50c878;background-color:var(--primary-color);border-color:#50c878;border-color:var(--primary-color);color:#1c1c1c;color:var(--dark-bg)}.time-unlock-button:disabled{background-color:#444;background-color:var(--border-color);color:#999;color:var(--text-muted);cursor:not-allowed}@keyframes slow-pulse{0%{box-shadow:0 0 0 0 #50c878b3;transform:scale(1)}50%{box-shadow:0 0 0 15px #50c87800;transform:scale(1.02)}to{box-shadow:0 0 0 0 #50c87800;transform:scale(1)}}.panel-section{border-bottom:1px solid #444;border-bottom:1px solid var(--border-color);padding:12px 10px}.section-title{font-size:1rem}.panel-dropdown,.panel-slider,.panel-textarea{background-color:#242424;background-color:var(--medium-bg);border:1px solid #444;border:1px solid var(--border-color);border-radius:4px;border-radius:var(--radius-small);color:#fff;font-size:.9rem;padding:8px 12px;transition:var(--transition)}.panel-dropdown:focus,.panel-slider:focus,.panel-textarea:focus{border-color:#50c878;border-color:var(--primary-color);box-shadow:0 0 0 2px #50c87833;outline:none}.panel-dropdown option{background-color:#242424!important;background-color:var(--medium-bg)!important;color:#fff!important;color:var(--text-color)!important}.panel-dropdown option:checked,.panel-dropdown option:focus,.panel-dropdown option:hover{background-color:#50c878!important;background-color:var(--primary-color)!important;color:#0d0d0d!important;color:var(--darkest-bg)!important}.panel-dropdown option.premium-disabled,.panel-dropdown option:disabled{background-color:#242424!important;background-color:var(--medium-bg)!important;color:#fff6!important;cursor:not-allowed}.premium-notice{color:#fff9;font-size:.8rem;font-style:italic;margin-top:8px}.panel-button{background-color:#50c878;background-color:var(--primary-color);border:none;border-radius:4px;border-radius:var(--radius-small);color:#1c1c1c;color:var(--dark-bg);padding:10px;transition:all .3s ease;transition:var(--transition)}.panel-button:hover{background-color:#48a862;background-color:var(--primary-dark);transform:translateY(-1px)}.panel-button:disabled{background-color:#444;background-color:var(--border-color);color:#999;color:var(--text-muted);cursor:not-allowed;transform:none}.delay-slider-container,.slider-container,.volume-slider-container{margin-top:8px}.delay-value,.slider-value,.volume-value{align-items:center;color:#ddd;color:var(--text-light);display:flex;font-size:.85rem;justify-content:space-between;margin-top:8px}.setting-description,.slider-description{color:#999;color:var(--text-muted);font-size:.8rem;line-height:1.3;margin-top:4px}.toggle-container{margin-bottom:8px}.toggle-switch{width:44px}.toggle-slider,.toggle-slider:before{transition:all .3s ease;transition:var(--transition)}input:checked+.toggle-slider{background-color:#50c878;background-color:var(--primary-color)}input:checked+.toggle-slider:before{transform:translateX(20px)}.toggle-label{flex:1 1}.setting-group{margin-bottom:16px}.setting-group h5{color:#ddd;color:var(--text-light);font-size:.9rem;font-weight:500;margin:0 0 8px}.volume-test-button{background:none;border:1px solid #444;border:1px solid var(--border-color);border-radius:var(--radius-small);color:#fff;color:var(--text-color);transition:all .3s ease;transition:var(--transition)}.volume-test-button:hover{background-color:#50c878;background-color:var(--primary-color);border-color:#50c878;border-color:var(--primary-color);color:#1c1c1c;color:var(--dark-bg)}.voice-selection-container,.voice-selection-group{margin-bottom:12px}.voice-selection-group h5{color:#50c878;color:var(--primary-color);font-size:.9rem;font-weight:500;margin:0 0 8px}.voice-preview-link{margin-top:8px}.voice-preview-link a{font-size:.9rem}.memory-indicator{border-radius:4px;border-radius:var(--radius-small);font-size:.85rem;padding:8px 12px;text-align:center}.memory-indicator.loading{background-color:#242424;background-color:var(--medium-bg);color:#999;color:var(--text-muted)}.memory-indicator.active{background-color:#50c87833;border:1px solid #50c878;border:1px solid var(--primary-color)}.memory-indicator.error{background-color:#ff5a5a33;border:1px solid #ff5a5a;border:1px solid var(--error-color)}@media screen and (min-width:1024px){.chat-background{filter:brightness(1.1) contrast(1.1);opacity:1}.chat-background-overlay{background:linear-gradient(135deg,#0f0f0f26,#0d0d0d40 50%,#0a0a0a59)}}@media (max-width:768px){.content-container{margin-left:0!important}.chat-container{flex-direction:column}.right-panel{background-color:#0d0d0d;background-color:var(--darkest-bg);border-left:none;height:calc(100vh - 60px);position:fixed;right:0;top:60px;width:100vw;z-index:1000}.right-panel.collapsed{display:none}.character-image-section{height:250px}}.chat-background{background-position:center 20%;background-repeat:no-repeat;background-size:contain;opacity:.8;transition:background-image .5s ease-in-out;z-index:1}.chat-background,.chat-background-overlay{height:100%;left:0;position:absolute;top:0;width:100%}.chat-background-overlay{background-color:#0f0f0f4d;z-index:2}.chat-header,.chat-input-container,.chat-messages{position:relative;z-index:3}.chat-header{align-items:center;background-color:#151515;background-color:var(--darker-bg);border-bottom:1px solid #444;border-bottom:1px solid var(--border-color);box-sizing:border-box;display:flex;gap:12px;min-height:60px;padding:12px 16px;z-index:10}.chat-container .character-info{align-items:center;display:flex;flex:0 0 auto;gap:12px;margin-right:auto;max-width:none;min-width:0;overflow:visible;width:auto}.chat-container .character-avatar{border:2px solid #50c878;border:2px solid var(--primary-color);border-radius:50%;flex-shrink:0;height:40px;object-fit:cover;width:40px}.chat-container .character-details{align-items:flex-start;display:flex;flex-direction:column;max-width:none;min-width:0;overflow:visible;width:auto}.chat-container .character-name{color:#50c878;font-size:1.4rem;font-weight:600;margin:0}.chat-container .character-name,.chat-container .time-display{align-self:flex-start;max-width:none;min-width:-webkit-max-content;min-width:max-content;overflow:visible;text-align:left;text-overflow:clip;white-space:nowrap;width:auto}.chat-container .time-display{color:#999;color:var(--text-muted);font-size:.8rem}.time-remaining{color:#50c878;color:var(--primary-color)}.time-expired{color:#ff5a5a;color:var(--error-color)}.header-actions{flex-shrink:0;gap:8px;min-width:0;position:relative;width:auto}.chat-container .login-button,.settings-button,.time-unlock-button,.view-image-button{background-color:initial;border:1px solid #444;border:1px solid var(--border-color);border-radius:4px;border-radius:var(--radius-small);color:#fff;color:var(--text-color);cursor:pointer;flex-shrink:0;font-size:.9rem;letter-spacing:-.02em;overflow:visible!important;padding:8px 12px;position:relative;transition:all .3s ease;transition:var(--transition);white-space:nowrap;z-index:1}.chat-container .login-button,.time-unlock-button{background-color:#50c878;background-color:var(--primary-color);box-sizing:border-box;color:#151515;color:var(--darker-bg);font-weight:700;min-width:200px;overflow:visible;padding:8px 16px;text-align:center;white-space:nowrap;width:auto}.view-image-button{align-items:center;background-color:#50c87833;border:1px solid #50c8784d;color:#50c878;color:var(--primary-color);display:flex;justify-content:center}.view-image-button svg{flex-shrink:0;height:16px;margin-right:5px;width:16px}.chat-container .login-button:hover,.time-unlock-button:hover{background-color:#48a862;background-color:var(--primary-dark)}.settings-button:hover{background-color:#2d2d2d;background-color:var(--light-bg)}.view-image-button:hover{background-color:#50c8784d;transform:translateY(-1px)}.settings-button:disabled,.time-unlock-button:disabled{cursor:not-allowed;opacity:.5}.settings-panel{animation:slideDown .3s ease;background-color:#242424;background-color:var(--medium-bg);border:1px solid #444;border:1px solid var(--border-color);border-radius:8px;border-radius:var(--radius);box-shadow:0 4px 6px #0000004d;box-shadow:var(--shadow);position:absolute;right:16px;top:65px;width:300px;z-index:100}.settings-header{align-items:center;border-bottom:1px solid #444;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;padding:12px 16px}.settings-header h3{color:#50c878;color:var(--primary-color);font-size:1.1rem;margin:0}.close-button{color:var(--text-muted);line-height:1}.close-button:hover{color:var(--text-color)}.settings-content{max-height:70vh;overflow-y:auto;padding:16px}.settings-section{margin-bottom:20px}.settings-section h4{color:#ddd;color:var(--text-light);font-size:1rem;margin:0 0 10px}.settings-section h5{color:#999;color:var(--text-muted);font-size:.9rem;margin:0 0 8px}.settings-dropdown{background-color:#333;background-color:var(--lighter-bg);border:1px solid #444;border:1px solid var(--border-color);border-radius:4px;border-radius:var(--radius-small);color:#fff;color:var(--text-color);font-size:.9rem;margin-bottom:10px;padding:8px 10px;width:100%}.voice-selection-container{display:flex;flex-direction:column;gap:16px}.voice-preview-link{margin-top:10px;text-align:center}.voice-preview-link a{color:#50c878;color:var(--primary-color);text-decoration:none}.voice-preview-link a:hover{text-decoration:underline}.reset-button{background-color:#c92a2a!important;border:1px solid #444!important;border:1px solid var(--border-color)!important;border-radius:4px;border-radius:var(--radius-small);box-sizing:border-box;cursor:pointer;display:block;font-size:.9rem;font-weight:400;line-height:normal;min-height:40px;padding:10px 16px;position:relative;text-align:center;transition:all .3s ease;transition:var(--transition);width:100%;z-index:1}.reset-button,.reset-button:hover{color:#fff!important;color:var(--text-color)!important}.reset-button:hover{background-color:#444!important;background-color:var(--border-color)!important;transform:translateY(-1px)}.reset-button:disabled{background-color:#333!important;background-color:var(--lighter-bg)!important;color:#999!important;color:var(--text-muted)!important;cursor:not-allowed;opacity:.5}.chat-messages{min-height:0;padding:60px 16px 10px;position:relative;scroll-behavior:smooth;z-index:5}.welcome-message{background:#0006;border:1px solid #ffffff4d;border-radius:8px;border-radius:var(--radius);color:#fff;margin:20px 0;padding:20px;text-align:center}.welcome-message h3{color:#fff;margin-top:0}.message{flex-direction:column;max-width:80%;position:relative}.user-message{align-self:flex-end}.assistant-message{align-self:flex-start;margin-left:32px}.message-content-audio{align-items:flex-start;display:flex;gap:8px;position:relative;z-index:10}.user-message .message-content-audio{justify-content:flex-end}.message-text-audio{background-color:#333;background-color:var(--lighter-bg);border-radius:18px;line-height:1.4;padding:12px 16px;position:relative}.user-message .message-text-audio{background-color:#50c878;background-color:var(--primary-color);border-radius:18px 18px 4px 18px;color:#1c1c1c;color:var(--dark-bg)}.assistant-message .message-text-audio{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background-color:#2d2d2d99;border:1px solid #ffffff26;border-radius:18px 18px 18px 4px;box-shadow:0 4px 12px #0000004d}.message-time{align-items:center;align-self:flex-end;color:#999;color:var(--text-muted);display:flex;font-size:.7rem;margin-top:4px}.user-message .message-time{text-align:right}.play-audio-button{align-items:center;background:#50c8781a;border:1px solid #50c8784d;border-radius:50%;color:#999;color:var(--text-muted);cursor:pointer;display:flex;font-size:1.2rem;height:32px;justify-content:center;margin-left:8px;outline:none;padding:4px;position:relative;transition:all .3s ease;transition:var(--transition);width:32px;z-index:20}.play-audio-button:hover{background-color:#50c87833;box-shadow:0 0 5px #50c87880;color:#50c878;color:var(--primary-color);transform:scale(1.1)}.play-audio-button.playing{animation:pulse-playing 2s infinite;background-color:#50c8784d;border-color:#50c878;border-color:var(--primary-color);box-shadow:0 0 8px #50c87899;color:#50c878;color:var(--primary-color)}@keyframes pulse-playing{0%{box-shadow:0 0 0 0 #50c87866}70%{box-shadow:0 0 0 8px #50c87800}to{box-shadow:0 0 0 0 #50c87800}}.play-audio-button:disabled{cursor:not-allowed;opacity:.5;transform:none}.play-audio-button.loading{animation:rotate-loading 1s linear infinite;background-color:#50c87833;border-color:#50c878;border-color:var(--primary-color)}@keyframes rotate-loading{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.typing-indicator span:nth-child(3){margin-right:0}.chat-input-container{background-color:#151515;background-color:var(--darker-bg);border-top:1px solid #444;border-top:1px solid var(--border-color);bottom:auto;box-sizing:border-box;flex-shrink:0;gap:10px;order:999;padding:12px 16px;position:relative;width:100%;z-index:1000}.chat-input{background-color:#242424;background-color:var(--medium-bg);border:1px solid #444;border:1px solid var(--border-color);border-radius:20px;color:var(--text-color);font-family:inherit;height:40px;line-height:1.4;max-height:120px;overflow-y:auto;padding:10px 16px;resize:none}.chat-input:focus{border-color:#50c878;border-color:var(--primary-color)}.chat-input:disabled{cursor:not-allowed;opacity:.7}.input-buttons{align-items:center;display:flex;flex-direction:row;gap:8px}.call-button,.send-button{align-items:center;background-color:#50c878;background-color:var(--primary-color);border:none;border-radius:20px;color:#1c1c1c;color:var(--dark-bg);cursor:pointer;display:flex;flex-shrink:0;font-size:1.1rem;font-weight:700;height:40px;justify-content:center;padding:0;transition:all .3s ease;transition:var(--transition);width:40px}.send-button{font-size:1.2rem;padding:0;width:40px}.call-button{margin-top:0;position:relative}.call-button:hover,.send-button:hover{background-color:#48a862;background-color:var(--primary-dark);transform:scale(1.05)}.call-button:disabled,.send-button:disabled{background-color:#444;background-color:var(--border-color);cursor:not-allowed;opacity:.7}.call-button.active{background-color:#ff5a5a;background-color:var(--error-color)}.call-button.active svg{fill:#fff!important}.modal-overlay{animation:fadeIn .3s ease;box-sizing:border-box;padding:20px}.modal-content{animation:zoomIn .3s ease;background-color:#242424;background-color:var(--medium-bg);border:1px solid #444;border:1px solid var(--border-color);border-radius:var(--radius);box-shadow:0 10px 25px #00000080}.modal-header{background-color:#151515;background-color:var(--darker-bg);border-bottom:1px solid #444;border-bottom:1px solid var(--border-color)}.modal-header h2{color:#50c878;color:var(--primary-color);font-size:1.4rem;font-weight:600;margin:0}.modal-header .close-button{align-items:center;background:none;border:none;border-radius:50%;color:#999;color:var(--text-muted);cursor:pointer;display:flex;font-size:1.8rem;height:30px;justify-content:center;line-height:1;padding:0;transition:all .3s ease;transition:var(--transition);width:30px}.modal-header .close-button:hover{background-color:#2d2d2d;background-color:var(--light-bg);color:#fff;color:var(--text-color)}.modal-body{color:#ddd;color:var(--text-light);line-height:1.5}.modal-body p{font-size:1rem;margin:0 0 20px}.modal-actions{gap:12px;justify-content:flex-end;margin-top:24px}.chat-container .modal-button,.modal-content .modal-button{border:none;border-radius:4px;border-radius:var(--radius-small);cursor:pointer;font-size:.95rem;font-weight:600;min-width:80px;outline:none;padding:12px 20px;text-align:center;transition:all .3s ease;transition:var(--transition)}.chat-container .modal-button.primary,.modal-content .modal-button.primary{background-color:#50c878!important;background-color:var(--primary-color)!important;border:1px solid #50c878!important;border:1px solid var(--primary-color)!important;color:#1c1c1c!important;color:var(--dark-bg)!important}.chat-container .modal-button.secondary,.modal-content .modal-button.secondary{background-color:#333!important;background-color:var(--lighter-bg)!important;border:1px solid #444!important;border:1px solid var(--border-color)!important;color:#fff!important;color:var(--text-color)!important}.chat-container .modal-button.primary:hover,.modal-content .modal-button.primary:hover{background-color:#48a862!important;background-color:var(--primary-dark)!important;box-shadow:0 4px 8px #0003;transform:translateY(-1px)}.chat-container .modal-button.secondary:hover,.modal-content .modal-button.secondary:hover{background-color:#2d2d2d!important;background-color:var(--light-bg)!important;border-color:#50c878!important;border-color:var(--primary-color)!important;transform:translateY(-1px)}.payment-modal{max-width:600px}.error-toast{align-items:center;animation:slideUp .3s ease;background-color:#ff5a5a;background-color:var(--error-color);border-radius:8px;border-radius:var(--radius);bottom:20px;box-shadow:0 4px 6px #0000004d;box-shadow:var(--shadow);color:#fff;display:flex;gap:10px;left:50%;max-width:90%;padding:10px 16px;position:fixed;transform:translateX(-50%);z-index:1000}.error-toast .close-button{color:#fff;font-size:1.2rem}.token-slider-container{padding:8px 0;width:100%}.token-slider{-webkit-appearance:none;background:#2d2d2d;background:var(--light-bg);border-radius:10px;height:6px;outline:none;width:100%}.token-slider::-webkit-slider-thumb{-webkit-appearance:none;background:#50c878;background:var(--primary-color);border:none;border-radius:50%;box-shadow:0 2px 5px #0003;cursor:pointer;height:18px;width:18px}.token-slider::-moz-range-thumb{background:#50c878;background:var(--primary-color);border:none;border-radius:50%;box-shadow:0 2px 5px #0003;cursor:pointer;height:18px;width:18px}.token-value{color:#50c878;color:var(--primary-color);font-weight:700;margin-top:8px}.token-description{color:#999;color:var(--text-muted);font-size:.8em;margin-top:4px}@media (max-width:768px){.settings-panel{left:5%;right:5%;width:90%}.message{max-width:90%}.assistant-message{margin-left:0!important}.voice-selection-container{flex-direction:column}.modal-content{margin:10px;width:95%}.modal-header{padding:16px}.modal-header h2{font-size:1.2rem}.modal-body{padding:16px}.modal-body p{font-size:.95rem}.modal-actions{flex-direction:column;gap:10px}.chat-container .modal-button,.modal-content .modal-button{font-size:1rem;padding:14px 20px;width:100%}.chat-header{gap:8px;padding:10px 12px}.chat-container .character-info{margin-right:8px;max-width:none;width:auto}.chat-container .character-avatar{height:36px;width:36px}.header-actions{flex-shrink:0;gap:6px;min-width:0}.chat-container .login-button,.settings-button,.time-unlock-button,.view-image-button{flex-shrink:0;font-size:.85rem;padding:6px 10px}}@media (max-width:480px){.modal-overlay{padding:10px}.modal-header{padding:12px}.modal-header h2{font-size:1.1rem}.modal-header .close-button{font-size:1.4rem;height:24px;width:24px}.modal-body{padding:12px}.modal-actions{margin-top:16px}}@media (max-width:680px){.chat-container .character-name{display:none!important;margin:0!important;overflow:hidden!important;padding:0!important;visibility:hidden!important;width:0!important}.chat-container .character-details{max-width:-webkit-fit-content!important;max-width:-moz-fit-content!important;max-width:fit-content!important}.chat-container .login-button,.time-unlock-button{align-items:center!important;box-sizing:border-box!important;display:flex!important;flex-direction:row!important;font-size:.8rem!important;gap:4px!important;height:36px!important;justify-content:center!important;min-width:60px!important;overflow:visible!important;padding:4px 8px!important;transform:none!important;white-space:nowrap!important;width:auto!important}}@media (max-width:500px){.chat-container .login-button,.time-unlock-button{font-size:.8rem!important;min-width:60px!important;padding:4px 8px!important}}@media (max-width:415px){.chat-container .login-button,.time-unlock-button{font-size:.75rem!important;min-width:55px!important;padding:3px 6px!important}}@media (max-width:390px){.chat-container .login-button,.time-unlock-button{font-size:.75rem!important;min-width:55px!important;padding:3px 6px!important}}@media (max-width:375px){.time-display{font-size:.7rem;max-width:none;min-width:-webkit-max-content;min-width:max-content;width:auto}.header-actions{flex-wrap:nowrap;gap:4px;max-width:100%}.settings-button,.view-image-button{font-size:.55rem;min-width:25px;padding:2px 3px}.chat-container .login-button,.time-unlock-button{font-size:.7rem!important;min-width:50px!important;padding:3px 5px!important}.view-image-button span{display:none}}@media (max-width:320px){.chat-header{gap:1px;padding:4px}.chat-container .character-info{margin-right:1px}.header-actions{flex-wrap:nowrap;gap:2px;max-width:100%}.settings-button,.view-image-button{flex:0 0 auto;font-size:.5rem;min-width:22px;padding:2px}.chat-container .login-button,.time-unlock-button{flex:0 0 auto;font-size:.65rem!important;min-width:45px!important;padding:2px 4px!important}.time-display{font-size:.65rem;max-width:none;min-width:-webkit-max-content;min-width:max-content;width:auto}}.icon-hint{animation:pulse-hint 2s infinite;background-color:#50c87833;border-radius:50%;display:inline-block;height:24px;line-height:24px;margin:0 4px;text-align:center;width:24px}@keyframes pulse-hint{0%{box-shadow:0 0 0 0 #50c87866}70%{box-shadow:0 0 0 6px #50c87800}to{box-shadow:0 0 0 0 #50c87800}}.audio-hint{animation:fade-in-out 2s infinite;color:#50c878;color:var(--primary-color);display:inline-block;font-size:.75rem;margin-left:8px;opacity:.8}@keyframes fade-in-out{0%,to{opacity:.5}50%{opacity:1}}.streaming-message{animation:fade-in .3s ease}.streaming-message .message-text-audio{position:relative}@keyframes fade-in{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.typing-indicator{display:inline-flex;margin-top:8px}.inline-typing{display:inline-flex;margin-left:4px;margin-top:0;vertical-align:middle}.typing-indicator span{animation:typing 1.5s ease-in-out infinite;background-color:#999;background-color:var(--text-muted);margin-right:5px}.inline-typing span{height:6px;margin-right:3px;width:6px}.command-indicators{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.command-indicator{align-items:center;animation:pulse-command 2s infinite;background-color:#50c87826;border:1px solid #50c8784d;border-radius:12px;color:#50c878;color:var(--primary-color);display:inline-flex;font-size:.8rem;padding:3px 8px 3px 18px;position:relative}.command-indicator:before{animation:pulse-command 2s infinite;background-color:#50c878;background-color:var(--primary-color);border-radius:50%;content:"";height:8px;left:6px;position:absolute;width:8px}.noinput-indicator{align-items:center;animation:pulse-noinput 2s infinite;background-color:#ff5a5a26;border:1px solid #ff5a5a4d;border-radius:12px;color:#ff5a5a;color:var(--error-color);display:inline-flex;font-size:.8rem;padding:3px 8px 3px 18px;position:relative}.noinput-indicator:before{animation:pulse-noinput 2s infinite;background-color:#ff5a5a;background-color:var(--error-color);border-radius:50%;content:"";height:8px;left:6px;position:absolute;width:8px}@keyframes pulse-noinput{0%{box-shadow:0 0 0 0 #ff5a5a66}70%{box-shadow:0 0 0 4px #ff5a5a00}to{box-shadow:0 0 0 0 #ff5a5a00}}@keyframes pulse-command{0%{box-shadow:0 0 0 0 #50c87866}70%{box-shadow:0 0 0 4px #50c87800}to{box-shadow:0 0 0 0 #50c87800}}.volume-slider-container{align-items:center;display:flex;gap:8px;margin-bottom:8px}.volume-slider{-webkit-appearance:none;background:#2d2d2d;background:var(--light-bg);border-radius:3px;height:6px;outline:none;width:100%}.volume-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:#50c878;background:var(--primary-color);border-radius:50%;cursor:pointer;height:16px;-webkit-transition:background-color .2s;transition:background-color .2s;width:16px}.volume-slider::-moz-range-thumb{background:#50c878;background:var(--primary-color);border:none;border-radius:50%;cursor:pointer;height:16px;-moz-transition:background-color .2s;transition:background-color .2s;width:16px}.volume-value{min-width:45px;text-align:center}.volume-value span{font-weight:700}.volume-test-button{background-color:#50c878;background-color:var(--primary-color);border:none;border-radius:4px;color:#151515;color:var(--darker-bg);cursor:pointer;font-size:.8rem;padding:4px 8px}.volume-test-button:hover{background-color:#48a862;background-color:var(--primary-dark)}.volume-note{color:#999;color:var(--text-muted);font-size:.8rem;margin-top:4px}.time-unlock-button.pulse-attention{animation:slow-pulse 3s infinite;transform:none!important}.payment-attention-modal{background-color:#151515;background-color:var(--darker-bg);border-radius:8px;border-radius:var(--radius);max-width:500px;overflow:hidden;width:95%}.payment-modal-header{height:300px;overflow:hidden;position:relative}.payment-modal-header img{height:100%;object-fit:cover;width:100%}.payment-modal-overlay{background:linear-gradient(#0000,#000c);bottom:0;color:#fff;left:0;padding:20px;position:absolute;right:0}.payment-modal-message{font-size:1.5rem;font-weight:700;margin:0;text-shadow:0 2px 4px #00000080}.payment-modal-submessage{font-size:1rem;margin-top:10px;opacity:.9}.payment-modal-body{padding:20px;text-align:center}.payment-modal-buttons{display:flex;flex-direction:column;gap:10px;margin-top:20px}.payment-cta-button{background-color:#50c878;background-color:var(--primary-color);border:none;border-radius:30px;color:#151515;color:var(--darker-bg);cursor:pointer;font-size:1.1rem;font-weight:700;padding:12px 20px;transition:all .2s ease}.payment-cta-button:hover{background-color:#48a862;background-color:var(--primary-dark);box-shadow:0 4px 8px #0003;transform:translateY(-2px)}.payment-secondary-button{background:#0000;border:1px solid #444;border:1px solid var(--border-color);border-radius:30px;color:#ddd;color:var(--text-light);cursor:pointer;font-size:.9rem;padding:10px 20px;transition:all .2s ease}.payment-secondary-button:hover{background-color:#2d2d2d;background-color:var(--light-bg)}.secure-payment-note{align-items:center;color:#999;color:var(--text-muted);display:flex;font-size:.8rem;gap:8px;justify-content:center;margin-top:20px}.secure-payment-note svg{height:16px;width:16px}.voice-call-active{background:#4a5568}.text-mode-indicator,.voice-call-active{border-radius:12px;color:#fff;display:inline-block;font-size:.9em;margin-left:10px;padding:2px 8px}.text-mode-indicator{background:#4299e1}.tts-playing{animation:pulse 1.5s infinite;background:#48bb78}.image-view-modal .modal-content{background-color:initial;border-radius:8px;max-height:90vh;max-width:90vw;overflow:hidden;padding:0}.image-view-modal img{border-radius:4px;height:auto;max-height:80vh;object-fit:contain;width:100%}.image-view-modal .modal-header{background:#00000080;border-radius:0 0 0 8px;padding:8px;position:absolute;right:0;top:0;z-index:10}.image-view-modal .close-button{background:#0000;border:none;color:#fff;cursor:pointer;font-size:24px;opacity:.8;transition:opacity .2s}.header-link{background:#3498db;border-radius:4px;color:#fff;display:inline-block;font-size:.9rem;font-weight:500;margin-right:10px;padding:6px 12px;text-decoration:none;transition:background-color .2s}.header-link:hover{background:#2980b9}.message-actions{align-items:center;display:flex;gap:4px}.message-underbar{align-self:flex-start;display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.assistant-message .message-underbar{margin-left:12px}.user-message .message-underbar{align-self:flex-end;margin-right:12px}@media (max-width:768px){.message:last-child .message-underbar{margin-bottom:60px}}.continue-button{align-items:center;background:#ffffff26;border:1px solid #ffffff4d;border-radius:16px;color:#fff;cursor:pointer;display:flex;font-size:12px;height:24px;justify-content:center;min-width:32px;padding:4px 8px;transition:all .2s ease}.continue-button:hover:not(:disabled){background:#ffffff40;border-color:#ffffff80;transform:translateY(-1px)}.continue-button:disabled{cursor:not-allowed;opacity:.5}.continue-button:active:not(:disabled){background:#ffffff59;transform:translateY(0)}.toggle-container{align-items:center;display:flex;gap:12px;margin-bottom:12px}.toggle-switch{display:inline-block;height:24px;position:relative;width:50px}.toggle-switch input{height:0;opacity:0;width:0}.toggle-slider{background-color:#444;background-color:var(--border-color);border-radius:24px;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.3s}.toggle-slider:before{background-color:#333;border-radius:50%;bottom:3px;content:"";height:18px;left:3px;position:absolute;transition:.3s;width:18px}.toggle-switch input:checked+.toggle-slider{background-color:#50c878;background-color:var(--primary-color)}.toggle-switch input:checked+.toggle-slider:before{transform:translateX(26px)}.toggle-label{color:#ddd;color:var(--text-light);font-size:.9rem}.setting-description{color:#999;color:var(--text-muted);font-size:.8rem;line-height:1.3;margin-top:8px}.auto-continue-delay-container{background-color:#50c8780d;border:1px solid #50c8781a;border-radius:6px;margin-top:16px;padding:12px}.delay-slider-container{align-items:center;display:flex;gap:12px;margin-top:8px}.delay-slider{-webkit-appearance:none;background:#2d2d2d;background:var(--light-bg);border-radius:3px;flex:1 1;height:6px;outline:none}.delay-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:#50c878;background:var(--primary-color);border-radius:50%;cursor:pointer;height:18px;-webkit-transition:background-color .2s;transition:background-color .2s;width:18px}.delay-slider::-moz-range-thumb{background:#50c878;background:var(--primary-color);border:none;border-radius:50%;cursor:pointer;height:18px;-moz-transition:background-color .2s;transition:background-color .2s;width:18px}.delay-value{color:#50c878;color:var(--primary-color);font-weight:700;min-width:35px;text-align:center}.mobile-dropdown-container{display:inline-block;position:relative}.mobile-menu-button{align-items:center;background-color:initial;border:1px solid #444;border:1px solid var(--border-color);border-radius:4px;border-radius:var(--radius-small);color:#fff;color:var(--text-color);cursor:pointer;display:flex;font-size:1.2rem;height:32px;justify-content:center;line-height:1;padding:6px 8px;transition:all .3s ease;transition:var(--transition);width:32px}.mobile-menu-button:hover{background-color:#2d2d2d;background-color:var(--light-bg)}.mobile-dropdown-menu{animation:slideDown .2s ease;background-color:#242424;background-color:var(--medium-bg);border:1px solid #444;border:1px solid var(--border-color);border-radius:8px;border-radius:var(--radius);box-shadow:0 4px 6px #0000004d;box-shadow:var(--shadow);margin-top:4px;min-width:150px;position:absolute;right:0;top:100%;z-index:100}.mobile-dropdown-item{color:#fff;color:var(--text-color);font-size:.9rem;gap:8px;padding:12px 16px;transition:all .3s ease;transition:var(--transition)}.mobile-dropdown-item:hover{background-color:#2d2d2d;background-color:var(--light-bg)}.mobile-dropdown-item:first-child{border-radius:8px 8px 0 0;border-radius:var(--radius) var(--radius) 0 0}.mobile-dropdown-item:last-child{border-radius:0 0 8px 8px;border-radius:0 0 var(--radius) var(--radius)}.mobile-dropdown-item svg{flex-shrink:0;margin-right:8px}.system-message{background-color:#50c8781a;border:1px solid #50c8784d;border-radius:8px;border-radius:var(--radius);margin:8px 0;overflow:hidden;padding:0}.generated-image-container{display:flex;flex-direction:column;gap:8px;padding:12px}.generated-chat-image{border:2px solid #50c8784d;border-radius:4px;border-radius:var(--radius-small);cursor:pointer;height:auto;max-width:300px;transition:transform .2s ease,box-shadow .2s ease;width:100%}.generated-chat-image:hover{box-shadow:0 4px 12px #50c87866;transform:scale(1.02)}.image-info{display:flex;flex-direction:column;gap:4px}.image-prompt{color:#50c878;color:var(--primary-color);font-size:.9rem;font-weight:500}.image-pose{color:#999;color:var(--text-muted);font-size:.8rem}@media (max-width:768px){.generated-chat-image{max-width:250px}.image-info,.image-prompt{font-size:.85rem}.image-pose{font-size:.75rem}}@media (max-width:480px){.generated-chat-image{max-width:200px}}.negative-prompt-section,.provider-selection,.quality-selection,.style-selection{margin-bottom:15px}.negative-prompt-section h5,.provider-selection h5,.quality-selection h5,.style-selection h5{color:#e2e8f0;font-size:.9em;font-weight:500;margin-bottom:8px}.settings-textarea{background-color:#2d3748;border:1px solid #4a5568;border-radius:6px;color:#e2e8f0;font-size:.9em;min-height:60px;padding:8px 12px;resize:vertical;width:100%}.settings-textarea:focus{border-color:#63b3ed;box-shadow:0 0 0 2px #63b3ed33;outline:none}.settings-textarea::placeholder{color:#a0aec0}.image-generation-button-compact.venice{background:linear-gradient(135deg,#667eea,#764ba2)}.image-generation-button-compact.venice:hover{background:linear-gradient(135deg,#5a6fd8,#6a4190)}.image-generation-button-compact.promptchan{background:linear-gradient(135deg,#f093fb,#f5576c)}.image-generation-button-compact.promptchan:hover{background:linear-gradient(135deg,#e081e9,#e3455a)}.narration-text{background:#ffffff0a;border-radius:6px;color:silver;font-style:italic;padding:2px 4px}.dialogue-text{background:none;color:#fff;font-weight:600}.message-text-audio{white-space:pre-wrap;word-break:break-word}.memory-status{background:#50c8781a;border:1px solid #50c87833;border-radius:6px;margin-top:12px;padding:8px 12px}.memory-indicator{align-items:center;display:flex;font-size:.9rem;font-weight:500;gap:8px}.memory-indicator.active{color:#50c878;color:var(--primary-color)}.memory-indicator.loading{animation:pulse 1.5s infinite;color:#4299e1}.memory-indicator.error{background:#ff5a5a1a;border:1px solid #ff5a5a33;border-radius:4px;color:#ff5a5a;color:var(--error-color);padding:4px 8px}.memory-modal-overlay{align-items:center;animation:fadeIn .3s ease;background-color:#000c;bottom:0;box-sizing:border-box;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1000}.memory-modal-content{animation:zoomIn .3s ease;background-color:#242424;background-color:var(--medium-bg);border:1px solid #444;border:1px solid var(--border-color);border-radius:8px;border-radius:var(--radius);box-shadow:0 10px 25px #00000080;max-height:90vh;max-width:500px;overflow-y:auto;width:90%}.memory-modal-header{align-items:center;background-color:#151515;background-color:var(--darker-bg);border-bottom:1px solid #444;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;padding:20px}.memory-modal-header h3{color:#50c878;color:var(--primary-color);font-size:1.4rem;font-weight:600;margin:0}.memory-modal-close-button{align-items:center;background:none;border:none;border-radius:50%;color:#999;color:var(--text-muted);cursor:pointer;display:flex;font-size:1.8rem;height:30px;justify-content:center;line-height:1;padding:0;transition:all .3s ease;transition:var(--transition);width:30px}.memory-modal-close-button:hover{background-color:#2d2d2d;background-color:var(--light-bg);color:#fff;color:var(--text-color)}.memory-modal-body{color:#ddd;color:var(--text-light);line-height:1.5;padding:24px}.memory-modal-body p{font-size:1rem;margin:0 0 20px}.memory-modal-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px}.memory-modal-cancel-button,.memory-modal-create-button{border:none;border-radius:4px;border-radius:var(--radius-small);cursor:pointer;font-size:.95rem;font-weight:600;min-width:80px;outline:none;padding:12px 20px;text-align:center;transition:all .3s ease;transition:var(--transition)}.memory-modal-cancel-button{background-color:#333;background-color:var(--lighter-bg);border:1px solid #444;border:1px solid var(--border-color);color:#fff;color:var(--text-color)}.memory-modal-create-button{background-color:#50c878;background-color:var(--primary-color);border:1px solid #50c878;border:1px solid var(--primary-color);color:#1c1c1c;color:var(--dark-bg)}.memory-modal-cancel-button:hover{background-color:#2d2d2d;background-color:var(--light-bg);border-color:#50c878;border-color:var(--primary-color);transform:translateY(-1px)}.memory-modal-create-button:hover:not(:disabled){background-color:#48a862;background-color:var(--primary-dark);box-shadow:0 4px 8px #0003;transform:translateY(-1px)}.memory-modal-create-button:disabled{background-color:#444;background-color:var(--border-color);color:#999;color:var(--text-muted);cursor:not-allowed;transform:none}.device-pattern-container{background-color:#50c8781a;border:1px solid #50c8784d;border-radius:6px;color:#ddd;color:var(--text-light);margin-top:15px;padding:12px}.device-pattern-header{color:#50c878;color:var(--primary-color);font-size:14px;font-weight:600;margin:0 0 8px}.device-pattern-info{color:#fff;color:var(--text-color);font-size:.95rem;font-weight:700;margin:0 0 8px}.device-pattern-segments{color:#ddd;color:var(--text-light);font-size:13px;margin:0 0 8px}.device-pattern-details{color:#999;color:var(--text-muted);font-size:12px}.device-pattern-summary{color:#50c878;color:var(--primary-color);cursor:pointer;font-weight:700;padding:4px 0}.device-pattern-summary:hover{color:#48a862;color:var(--primary-dark)}.device-pattern-json{background-color:#151515;background-color:var(--darker-bg);border:1px solid #444;border:1px solid var(--border-color);border-radius:4px;color:#ddd;color:var(--text-light);font-family:Courier New,monospace;font-size:11px;margin-top:8px;max-height:120px;overflow:auto;padding:8px}.audio-chat-character-tag{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(135deg,#ffffff0d,#ffffff05);border:1px solid #ffffff1a;border-radius:20px;color:#fff;display:block;font-size:.85em;font-weight:600;letter-spacing:1px;margin:12px 0 8px;padding:8px 16px;text-transform:uppercase;width:100%}.audio-chat-character-sally{background:linear-gradient(135deg,#ff6b9d26,#ff6b9d0d);border-color:#ff6b9d4d;box-shadow:0 2px 8px #ff6b9d33}.audio-chat-character-cindy{background:linear-gradient(135deg,#66d9ef26,#66d9ef0d);border-color:#66d9ef4d;box-shadow:0 2px 8px #66d9ef33}.audio-chat-character-amanda{background:linear-gradient(135deg,#c678dd26,#c678dd0d);border-color:#c678dd4d;box-shadow:0 2px 8px #c678dd33}.message-bubble.multi-character{background:#0000;border:none;padding:0}.message-bubble .character-section{background:#ffffff08;border:1px solid #ffffff14;border-radius:16px;margin-bottom:12px;padding:12px 16px;transition:all .3s ease}.message-bubble .character-section:hover{background:#ffffff0d;border-color:#ffffff1f}.message-bubble .character-section:last-child{margin-bottom:0}.character-chat-bubble{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background-color:#2d2d2d66;border-radius:18px 18px 18px 4px;box-shadow:0 4px 12px #0000004d;line-height:1.4;margin-bottom:14px;padding:24px 20px 18px;position:relative;transition:all .2s ease;word-break:break-word}.character-chat-bubble:last-child{margin-bottom:0}.character-name-label{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background-color:#2d2d2d;border:1px solid;border-radius:16px 0 8px 0;font-size:.75rem;font-weight:600;left:0;letter-spacing:.3px;padding:6px 14px;position:absolute;text-transform:capitalize;top:0;transition:all .2s ease;z-index:1}.character-bubble-content{color:#ddd;color:var(--text-light);font-size:.95rem}.character-color-1{border:1px solid #50c8784d}.character-color-1 .character-name-label{border-color:#50c87866;color:#50c878;color:var(--primary-color)}.character-color-2{border:1px solid #4a9eff4d}.character-color-2 .character-name-label{border-color:#4a9eff66;color:#4a9eff}.character-color-3{border:1px solid #ff55554d}.character-color-3 .character-name-label{border-color:#f556;color:#f55}.character-chat-bubble:hover{box-shadow:0 6px 16px #0006;transform:translateY(-1px)}.create-memory-button{align-items:center;background-color:#50c87826;border:1px solid #50c8784d;border-radius:12px;color:#50c878;color:var(--primary-color);cursor:pointer;display:inline-flex;font-size:.8rem;font-weight:500;gap:4px;padding:3px 8px;transition:all .2s ease}.create-memory-button:hover:not(:disabled){background:#50c8784d;border-color:#50c878;transform:translateY(-1px)}.create-memory-button:disabled{cursor:not-allowed;opacity:.5;transform:none}@media (max-width:768px){.character-chat-bubble{margin-bottom:12px;padding:12px}.character-name-label{font-size:.75rem;left:12px;padding:3px 10px}.character-bubble-content{margin-top:6px}}.llm-connector{align-items:flex-start;display:flex;flex-direction:row;height:100vh;margin-left:250px;width:calc(100% - 250px)}.left-panel{background-color:#2b2b2b;flex:1 1;padding:16px}.center-panel{background-color:#3a3a3a;color:#fff;flex:2 1;min-height:100vh;padding:16px;width:100%}.right-panel{background-color:#1c1c1c;color:#fff;flex:1 1;padding:16px}h1{color:#5a9;font-size:2rem;margin-bottom:20px}.chat-history{background-color:#3a3a3a;border-radius:8px;flex-grow:1;max-height:300px;overflow-y:auto;padding:16px}.input-section{display:flex;flex-direction:column;gap:12px}.input-section input,.input-section textarea{background-color:#333;border:1px solid #444;border-radius:4px;color:#fff;padding:8px;width:100%}.input-section button{background-color:#5a9;border:none;border-radius:4px;color:#fff;cursor:pointer;padding:10px}.input-section button:disabled{background-color:#777;cursor:not-allowed}.navigate-audio-container{align-items:center;display:flex;gap:12px;justify-content:center;margin:20px 0}.navigate-audio-label{color:#fff;font-family:Arial,sans-serif;font-size:1.2rem;font-weight:700}.navigate-audio-chat{background-color:#007bff;border:none;border-radius:6px;color:#fff;cursor:pointer;font-family:Arial,sans-serif;font-size:1rem;font-weight:600;padding:10px 20px;transition:background-color .3s ease,transform .2s ease}.navigate-audio-chat:hover{background-color:#0056b3;transform:scale(1.1)}.navigate-audio-chat:active{background-color:#003f7f;transform:scale(.95)}.styled-dropdown{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='m7 10 5 5 5-5H7z'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;background-size:16px;box-shadow:0 4px 6px #0006;cursor:pointer;margin-bottom:20px}.styled-dropdown,.styled-input{background-color:#2b2b2b;border:1px solid #444;border-radius:5px;color:#fff;font-size:1rem;max-width:400px;padding:12px;transition:border-color .2s ease,box-shadow .2s ease;width:100%}.styled-input{box-shadow:0 2px 4px #0000004d;margin-bottom:15px}.styled-input:focus{border-color:#50c878;box-shadow:0 0 0 2px #50c87840;outline:none}.styled-label{color:#ddd;display:block;font-size:1rem;font-weight:500;margin-bottom:8px}.styled-dropdown:hover{border-color:#555;box-shadow:0 6px 10px #00000080}.styled-dropdown:focus{border-color:#666;box-shadow:0 6px 12px #0009;outline:none}.dropdown-group{background-color:#2b2b2b;border-radius:8px;display:flex;flex-direction:column;margin-bottom:20px;padding:16px}.dropdown-group h2,.dropdown-group h3{color:#50c878;font-size:1.1rem;font-weight:700;margin-bottom:12px;text-align:left}.dropdown-container{display:flex;flex-wrap:wrap;gap:24px}.styled-dropdown optgroup{color:#ccc;font-weight:700;margin-top:4px}.styled-dropdown option{background-color:#333;color:#fff;padding:8px}.styled-dropdown:disabled{background-color:#555;cursor:not-allowed;opacity:.7}.settings-container{background-color:#2b2b2b;border-radius:8px;display:flex;flex-direction:column;gap:15px;margin-bottom:20px;padding:16px}@media (max-width:768px){.dropdown-container{flex-direction:column;gap:16px}.styled-dropdown{max-width:100%}}@media (max-width:600px){.llm-connector{flex-direction:column;height:auto;margin-left:0;width:100%}.center-panel,.left-panel,.right-panel{box-sizing:border-box;flex:1 1;max-width:100%;padding:8px}.chat-history{max-height:200px;padding:8px}.input-section{gap:8px}.input-section input,.input-section textarea{box-sizing:border-box;font-size:.9rem;padding:6px;width:100%}.input-section button{box-sizing:border-box;width:100%}.input-section button,.settings-container button{font-size:.9rem;padding:8px}.card-element-container{font-size:.9rem;padding:6px}.navigate-audio-chat{margin-left:10px}}.character-preference-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#000000a6!important}.character-preference-modal{animation:slideUp .4s ease;background-color:initial;border:1px solid #4444444d;border-radius:14px;box-shadow:0 20px 40px #000000b3;display:flex;flex-direction:column;max-height:85vh;max-width:800px;overflow:hidden;width:95%}.preference-modal-header{background:linear-gradient(135deg,#1a1a1a,#2d2d2d);flex-shrink:0;height:200px;overflow:hidden;position:relative}.preference-image-container{align-items:center;display:flex;height:100%;justify-content:center;position:relative;width:100%}.preference-device-icon{color:#50c878;color:var(--primary-color,#50c878);height:120px;opacity:.3;position:absolute;width:120px;z-index:1}.preference-image-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:linear-gradient(#0000,#000000d9);bottom:0;color:#fff;left:0;padding:32px 24px 20px;position:absolute;right:0;text-align:center;z-index:2}.preference-modal-title{color:#50c878;color:var(--primary-color,#50c878);font-size:1.8rem;font-weight:700;letter-spacing:-.3px;margin:0 0 6px;text-shadow:0 2px 8px #000c}.preference-modal-subtitle{color:#ddd;font-size:1rem;line-height:1.4;margin:0;opacity:.9;text-shadow:0 1px 4px #000c}.preference-modal-body{-webkit-backdrop-filter:blur(20px)!important;background:#0000004d!important;flex:1 1;min-height:0;overflow-y:auto;padding:24px 20px 20px}.age-verification-section{background-color:#242424;background-color:var(--medium-bg,#242424);border:2px solid orange;border-radius:12px;margin-bottom:24px;padding:20px}.adult-content-warning{align-items:center;display:flex;gap:16px;margin-bottom:16px}.warning-icon{align-items:center;background-color:orange;border-radius:12px;color:#fff;display:flex;flex-shrink:0;height:48px;justify-content:center;width:48px}.warning-content h3{color:orange;font-size:1.2rem;font-weight:700;margin:0 0 6px}.warning-content p{color:#ddd;color:var(--text-light,#ddd);font-size:.9rem;line-height:1.3;margin:0}.verification-checkboxes{display:flex;flex-direction:column;gap:12px}.verification-checkbox{align-items:center;color:#ddd;color:var(--text-light,#ddd);cursor:pointer;display:flex;font-size:.9rem;-webkit-user-select:none;user-select:none}.verification-checkbox input{display:none}.verification-checkbox .checkmark{border:2px solid #444;border:2px solid var(--border-color,#444);border-radius:4px;flex-shrink:0;height:18px;margin-right:12px;position:relative;transition:all .3s ease;width:18px}.verification-checkbox input:checked+.checkmark{background-color:#50c878;background-color:var(--primary-color,#50c878);border-color:#50c878;border-color:var(--primary-color,#50c878)}.verification-checkbox input:checked+.checkmark:after{color:#151515;color:var(--darker-bg,#151515);content:"✓";font-size:14px;font-weight:700;left:3px;position:absolute;top:-2px}.preference-character-type-options{grid-gap:20px;display:grid;gap:20px;grid-template-columns:1fr 1fr;margin-bottom:20px}.preference-character-type-option{background-color:#242424;background-color:var(--medium-bg,#242424);border:2px solid #444;border:2px solid var(--border-color,#444);border-radius:12px;cursor:pointer;display:flex;flex-direction:column;overflow:hidden;transition:all .3s ease}.preference-character-type-option:hover:not(.disabled){border-color:#50c878;border-color:var(--primary-color,#50c878);box-shadow:0 8px 20px #0006;transform:translateY(-4px)}.preference-character-type-option.disabled{cursor:not-allowed;opacity:.5}.preference-character-type-option.disabled:hover{border-color:#444;border-color:var(--border-color,#444);box-shadow:none;transform:none}.preference-character-example-container{flex:1 1;height:280px;overflow:hidden;position:relative}.preference-character-example-image{height:100%;object-fit:cover;transition:transform .3s ease;width:100%}.preference-character-type-option:hover:not(.disabled) .preference-character-example-image{transform:scale(1.05)}.preference-character-type-overlay{background:linear-gradient(#0000,#000000d9);bottom:0;color:#fff;left:0;padding:20px 16px 16px;position:absolute;right:0}.preference-character-type-overlay h3{font-size:1.3rem;font-weight:700;margin:0 0 8px;text-shadow:0 2px 4px #000000b3}.preference-character-type-overlay p{font-size:.9rem;line-height:1.3;margin:0 0 8px;opacity:.9;text-shadow:0 1px 2px #000000b3}.preference-example-label{background-color:#50c87833;border-radius:12px;color:#50c878;color:var(--primary-color,#50c878);display:inline-block;font-size:.8rem;font-weight:500;padding:2px 8px;text-shadow:none}.preference-select-button{border:none;cursor:pointer;flex-shrink:0;font-size:1.1rem;font-weight:700;letter-spacing:.5px;margin-top:auto;padding:16px;text-transform:uppercase;transition:all .3s ease;width:100%}.preference-select-button.real{background-color:#50c878;background-color:var(--primary-color,#50c878);color:#151515;color:var(--darker-bg,#151515)}.preference-select-button.animated{background:linear-gradient(135deg,#f093fb,#f5576c);color:#fff}.preference-select-button:hover{box-shadow:0 4px 12px #0000004d;transform:translateY(-2px)}.preference-select-button.real:hover{background-color:#48a862;background-color:var(--primary-dark,#48a862)}.preference-select-button.animated:hover{background:linear-gradient(135deg,#e081e9,#e3455a)}.preference-select-button.disabled,.preference-select-button:disabled{box-shadow:none!important;cursor:not-allowed;opacity:.5;transform:none!important}.preference-select-button.disabled:hover,.preference-select-button:disabled:hover{background-color:#50c878!important;background-color:var(--primary-color,#50c878)!important;box-shadow:none!important;transform:none!important}.preference-select-button.animated.disabled:hover,.preference-select-button.animated:disabled:hover{background:linear-gradient(135deg,#f093fb,#f5576c)!important}.preference-modal-footer{border-top:1px solid #444;border-top:1px solid var(--border-color,#444);flex-shrink:0;padding-top:16px;text-align:center}.skip-button{background:#0000;border:1px solid #444;border:1px solid var(--border-color,#444);border-radius:24px;color:#ddd;color:var(--text-light,#ddd);cursor:pointer;font-size:.9rem;margin-bottom:12px;padding:10px 20px;transition:all .2s ease}.skip-button:hover:not(.disabled){background-color:#2d2d2d;background-color:var(--light-bg,#2d2d2d);border-color:#50c878;border-color:var(--primary-color,#50c878)}.skip-button.disabled,.skip-button:disabled{cursor:not-allowed;opacity:.5}.skip-button.disabled:hover,.skip-button:disabled:hover{background:#0000;border-color:#444;border-color:var(--border-color,#444)}.preference-note{color:#999;color:var(--text-muted,#999)}.preference-note strong{color:#50c878;color:var(--primary-color,#50c878)}.preference-privacy-link,.preference-terms-link{background:none!important;border:none!important;border-radius:0!important;box-shadow:none!important;color:#50c878!important;color:var(--primary-color,#50c878)!important;cursor:pointer!important;display:inline!important;font-family:inherit!important;font-size:inherit!important;font-weight:inherit!important;letter-spacing:normal!important;line-height:inherit!important;margin:0!important;outline:none!important;padding:0!important;text-decoration:underline!important;text-transform:none!important;transition:color .2s ease!important;vertical-align:initial!important}.preference-privacy-link:hover,.preference-terms-link:hover{background:none!important;box-shadow:none!important;color:#48a862!important;color:var(--primary-dark,#48a862)!important;transform:none!important}@media (max-width:768px){.character-preference-modal{margin:10px;max-width:95%}.preference-character-type-options{gap:12px;grid-template-columns:1fr 1fr}.age-verification-section{margin-bottom:16px;padding:16px}.adult-content-warning{flex-direction:column;gap:12px;text-align:center}.warning-icon{height:40px;width:40px}.warning-content h3{font-size:1.1rem}.verification-checkbox,.warning-content p{font-size:.85rem}.preference-modal-header{height:180px}.preference-modal-title{font-size:1.6rem}.preference-modal-subtitle{font-size:.9rem}.preference-modal-body{padding:16px}.preference-character-example-container{height:200px}.preference-character-type-overlay{padding:12px 8px 8px}.preference-character-type-overlay h3{font-size:1.1rem}.preference-character-type-overlay p{font-size:.8rem;margin-bottom:4px}.preference-example-label{font-size:.75rem;padding:1px 6px}.preference-select-button{font-size:.95rem;padding:12px}}@media (max-width:480px){.modal-overlay{align-items:flex-start;padding:0}.character-preference-modal{border-radius:0;display:flex;flex-direction:column;height:100vh;margin:0;max-height:100vh;width:100%}.preference-modal-header{flex-shrink:0;height:140px}.preference-device-icon{height:80px;width:80px}.preference-image-overlay{padding:20px 12px 16px}.preference-modal-title{font-size:1.3rem}.preference-modal-subtitle{font-size:.8rem}.preference-modal-body{-webkit-overflow-scrolling:touch;flex:1 1;min-height:0;overflow-y:auto;padding:12px}.preference-character-type-options{gap:8px;grid-template-columns:1fr 1fr;margin-bottom:12px}.age-verification-section{margin-bottom:12px;padding:12px}.adult-content-warning{gap:8px}.warning-icon{height:32px;width:32px}.warning-content h3{font-size:1rem;margin-bottom:4px}.warning-content p{font-size:.8rem}.verification-checkboxes{gap:8px}.verification-checkbox{font-size:.8rem}.verification-checkbox .checkmark{height:16px;margin-right:8px;width:16px}.preference-character-example-container{height:160px}.preference-character-type-overlay{padding:8px 6px 6px}.preference-character-type-overlay h3{font-size:1rem;margin-bottom:3px}.preference-character-type-overlay p{font-size:.75rem;margin-bottom:3px}.preference-example-label{font-size:.7rem;padding:1px 4px}.preference-select-button{font-size:.85rem;padding:10px 8px}.preference-modal-footer{border-top:1px solid #444;border-top:1px solid var(--border-color,#444);flex-shrink:0;padding:10px 12px}.skip-button{font-size:.85rem;margin-bottom:8px;padding:8px 16px}.preference-note{font-size:.75rem}}.preference-terms-modal-overlay{align-items:center;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background-color:#000c;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:2000}.preference-terms-modal{animation:preference-terms-slideIn .3s ease;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#0006;border:1px solid #4444444d;border-radius:16px;box-shadow:0 25px 50px #000c;display:flex;flex-direction:column;max-height:80vh;max-width:600px;width:100%}@keyframes preference-terms-slideIn{0%{opacity:0;transform:translateY(20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.preference-terms-modal-header{align-items:center;border-bottom:1px solid #444;border-bottom:1px solid var(--border-color,#444);display:flex;flex-shrink:0;justify-content:space-between;padding:20px 24px}.preference-terms-modal-header h2{color:#50c878;color:var(--primary-color,#50c878);font-size:1.4rem;font-weight:700;margin:0;text-shadow:0 2px 4px #0000004d}.preference-terms-close-button{align-items:center;background:none;border:none;border-radius:8px;color:#ddd;color:var(--text-light,#ddd);cursor:pointer;display:flex;justify-content:center;padding:4px;transition:all .2s ease}.preference-terms-close-button:hover{background-color:#2d2d2d;background-color:var(--light-bg,#2d2d2d);color:#50c878;color:var(--primary-color,#50c878)}.preference-terms-modal-body{-webkit-overflow-scrolling:touch;flex:1 1;min-height:0;overflow-y:auto;padding:0}.preference-terms-content{color:#ddd;color:var(--text-light,#ddd);line-height:1.6;padding:24px}.preference-terms-content p{font-size:.9rem;margin:0 0 16px}.preference-terms-content strong{color:#fff;color:var(--text-primary,#fff);font-weight:600}.preference-terms-content section{margin:24px 0}.preference-terms-content h3{border-bottom:2px solid #50c878;border-bottom:2px solid var(--primary-color,#50c878);color:#50c878;color:var(--primary-color,#50c878);font-size:1.2rem;font-weight:700;margin:0 0 16px;padding-bottom:8px}.preference-terms-content h4{color:#fff;color:var(--text-primary,#fff);font-size:1rem;font-weight:600;margin:16px 0 8px}.preference-terms-content ul{margin:12px 0 16px 20px;padding:0}.preference-terms-content li{font-size:.9rem;margin:8px 0}.preference-terms-content a{color:#50c878;color:var(--primary-color,#50c878);text-decoration:none;transition:color .2s ease}.preference-terms-content a:hover{color:#48a862;color:var(--primary-dark,#48a862);text-decoration:underline}.preference-terms-content em{color:#bbb;color:var(--text-muted,#bbb);font-style:italic}.preference-terms-content .important-notice{background-color:#2d1f1f;border:2px solid #ff6b6b;border-radius:12px;box-shadow:0 4px 16px #ff6b6b33;margin:20px 0;overflow:hidden;padding:16px;position:relative;text-align:center}.preference-terms-content .important-notice:before{animation:pulse-border 2s infinite;background:linear-gradient(90deg,#ff6b6b,#ff4757,#ff6b6b);content:"";height:3px;left:0;position:absolute;right:0;top:0}.preference-terms-content .important-notice h3{border-bottom:none!important;color:#ff6b6b!important;font-size:1.1rem!important;font-weight:700;margin:0 0 8px!important;padding-bottom:0!important;text-shadow:0 2px 4px #0000004d}.preference-terms-content .important-notice p{color:#ddd!important;font-size:.85rem!important;line-height:1.4;margin:0!important}.preference-terms-modal-footer{border-top:1px solid #444;border-top:1px solid var(--border-color,#444);display:flex;flex-shrink:0;justify-content:center;padding:16px 24px}.preference-terms-close-footer-button{background-color:#50c878;background-color:var(--primary-color,#50c878);border:none;border-radius:12px;color:#151515;color:var(--darker-bg,#151515);cursor:pointer;font-size:1rem;font-weight:700;letter-spacing:.5px;padding:12px 32px;text-transform:uppercase;transition:all .3s ease}.preference-terms-close-footer-button:hover{background-color:#48a862;background-color:var(--primary-dark,#48a862);box-shadow:0 6px 16px #50c8784d;transform:translateY(-2px)}@media (max-width:768px){.preference-terms-modal-overlay{padding:10px}.preference-terms-modal{border-radius:12px;max-height:85vh}.preference-terms-modal-header{padding:16px 20px}.preference-terms-modal-header h2{font-size:1.2rem}.preference-terms-content{padding:20px}.preference-terms-content h3{font-size:1.1rem}.preference-terms-content h4{font-size:.95rem}.preference-terms-content li,.preference-terms-content p{font-size:.85rem}.preference-terms-modal-footer{padding:12px 20px}.preference-terms-close-footer-button{font-size:.9rem;padding:10px 24px}}@media (max-width:480px){.preference-terms-modal-overlay{align-items:flex-start;padding:0}.preference-terms-modal{border-radius:0;height:100vh;margin:0;max-height:100vh;width:100%}.preference-terms-modal-header{padding:12px 16px}.preference-terms-modal-header h2{font-size:1.1rem}.preference-terms-content{padding:16px}.preference-terms-content h3{font-size:1rem}.preference-terms-content h4{font-size:.9rem}.preference-terms-content li,.preference-terms-content p{font-size:.8rem}.preference-terms-modal-footer{padding:10px 16px}.preference-terms-close-footer-button{font-size:.85rem;padding:8px 20px}}.preference-privacy-modal-overlay{align-items:center;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background-color:#000c;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:2000}.preference-privacy-modal{animation:preference-privacy-slideIn .3s ease;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#0006;border:1px solid #4444444d;border-radius:16px;box-shadow:0 25px 50px #000c;display:flex;flex-direction:column;max-height:80vh;max-width:600px;width:100%}@keyframes preference-privacy-slideIn{0%{opacity:0;transform:translateY(20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.preference-privacy-modal-header{align-items:center;border-bottom:1px solid #444;border-bottom:1px solid var(--border-color,#444);display:flex;flex-shrink:0;justify-content:space-between;padding:20px 24px}.preference-privacy-modal-header h2{color:#50c878;color:var(--primary-color,#50c878);font-size:1.4rem;font-weight:700;margin:0;text-shadow:0 2px 4px #0000004d}.preference-privacy-close-button{align-items:center;background:none;border:none;border-radius:8px;color:#ddd;color:var(--text-light,#ddd);cursor:pointer;display:flex;justify-content:center;padding:4px;transition:all .2s ease}.preference-privacy-close-button:hover{background-color:#2d2d2d;background-color:var(--light-bg,#2d2d2d);color:#50c878;color:var(--primary-color,#50c878)}.preference-privacy-modal-body{-webkit-overflow-scrolling:touch;flex:1 1;min-height:0;overflow-y:auto;padding:0}.preference-privacy-content{color:#ddd;color:var(--text-light,#ddd);line-height:1.6;padding:24px}.preference-privacy-content p{font-size:.9rem;margin:0 0 16px}.preference-privacy-content strong{color:#fff;color:var(--text-primary,#fff);font-weight:600}.preference-privacy-content section{margin:24px 0}.preference-privacy-content h3{border-bottom:2px solid #50c878;border-bottom:2px solid var(--primary-color,#50c878);color:#50c878;color:var(--primary-color,#50c878);font-size:1.2rem;font-weight:700;margin:0 0 16px;padding-bottom:8px}.preference-privacy-content h4{color:#fff;color:var(--text-primary,#fff);font-size:1rem;font-weight:600;margin:16px 0 8px}.preference-privacy-content ul{margin:12px 0 16px 20px;padding:0}.preference-privacy-content li{font-size:.9rem;margin:8px 0}.preference-privacy-content a{color:#50c878;color:var(--primary-color,#50c878);text-decoration:none;transition:color .2s ease}.preference-privacy-content a:hover{color:#48a862;color:var(--primary-dark,#48a862);text-decoration:underline}.preference-privacy-content em{color:#bbb;color:var(--text-muted,#bbb);font-style:italic}.preference-privacy-content .important-notice{background-color:#2d1f1f;border:2px solid #ff6b6b;border-radius:12px;box-shadow:0 4px 16px #ff6b6b33;margin:20px 0;overflow:hidden;padding:16px;position:relative;text-align:center}.preference-privacy-content .important-notice:before{animation:pulse-border 2s infinite;background:linear-gradient(90deg,#ff6b6b,#ff4757,#ff6b6b);content:"";height:3px;left:0;position:absolute;right:0;top:0}.preference-privacy-content .important-notice h3{border-bottom:none!important;color:#ff6b6b!important;font-size:1.1rem!important;font-weight:700;margin:0 0 8px!important;padding-bottom:0!important;text-shadow:0 2px 4px #0000004d}.preference-privacy-content .important-notice p{color:#ddd!important;font-size:.85rem!important;line-height:1.4;margin:0!important}.preference-privacy-content .important-notice ul{list-style:disc;margin:12px 0!important;padding-left:20px;text-align:left}.preference-privacy-content .important-notice li{color:#ddd!important;font-size:.8rem!important;line-height:1.4;margin-bottom:6px!important}.preference-privacy-content .important-notice strong{color:#ff6b6b;font-weight:600}.preference-privacy-modal-footer{border-top:1px solid #444;border-top:1px solid var(--border-color,#444);display:flex;flex-shrink:0;justify-content:center;padding:16px 24px}.preference-privacy-close-footer-button{background-color:#50c878;background-color:var(--primary-color,#50c878);border:none;border-radius:12px;color:#151515;color:var(--darker-bg,#151515);cursor:pointer;font-size:1rem;font-weight:700;letter-spacing:.5px;padding:12px 32px;text-transform:uppercase;transition:all .3s ease}.preference-privacy-close-footer-button:hover{background-color:#48a862;background-color:var(--primary-dark,#48a862);box-shadow:0 6px 16px #50c8784d;transform:translateY(-2px)}@media (max-width:768px){.preference-privacy-modal-overlay{padding:10px}.preference-privacy-modal{border-radius:12px;max-height:85vh}.preference-privacy-modal-header{padding:16px 20px}.preference-privacy-modal-header h2{font-size:1.2rem}.preference-privacy-content{padding:20px}.preference-privacy-content h3{font-size:1.1rem}.preference-privacy-content h4{font-size:.95rem}.preference-privacy-content li,.preference-privacy-content p{font-size:.85rem}.preference-privacy-modal-footer{padding:12px 20px}.preference-privacy-close-footer-button{font-size:.9rem;padding:10px 24px}}@media (max-width:480px){.preference-privacy-modal-overlay{align-items:flex-start;padding:0}.preference-privacy-modal{border-radius:0;height:100vh;margin:0;max-height:100vh;width:100%}.preference-privacy-modal-header{padding:12px 16px}.preference-privacy-modal-header h2{font-size:1.1rem}.preference-privacy-content{padding:16px}.preference-privacy-content h3{font-size:1rem}.preference-privacy-content h4{font-size:.9rem}.preference-privacy-content li,.preference-privacy-content p{font-size:.8rem}.preference-privacy-modal-footer{padding:10px 16px}.preference-privacy-close-footer-button{font-size:.85rem;padding:8px 20px}}.promo-carousel-container{background:linear-gradient(135deg,#151515,#1c1c1c 50%,#242424);border-radius:12px;box-shadow:0 4px 20px #0000004d;margin:0 auto 20px;max-width:1600px}.promo-carousel,.promo-carousel-container{min-height:240px;overflow:hidden;position:relative;width:100%}.promo-carousel{contain:layout style paint;height:240px}.carousel-slide{align-items:center;background:linear-gradient(135deg,#151515,#1c1c1c 50%,#242424);border-radius:12px;display:flex;height:100%;left:0;opacity:0;overflow:hidden;position:absolute;top:0;transition:opacity .8s ease;width:100%}.carousel-slide.active{opacity:1;z-index:1}.carousel-image-container{height:100%;overflow:hidden;position:absolute;right:0;top:0;width:50%;z-index:1}.carousel-character-image{animation:fadeInImage .5s ease forwards;filter:brightness(.7) contrast(1.1);height:100%;object-fit:cover;object-position:center;opacity:0;transition:transform .8s ease;width:100%}@media (max-width:768px){.promo-carousel,.promo-carousel-container{min-height:200px}.promo-carousel{height:200px}}.carousel-character-image.real-character{object-position:center 20%}.carousel-character-image.animated-character{object-position:center}.carousel-character-image.luna-rei-character{object-position:center 50%}.carousel-character-image.rhea-character,.carousel-character-image.seraphina-character{object-position:center 20%}.carousel-character-image.email-optin-character{object-position:center}.carousel-slide.active .carousel-character-image{transform:scale(1.05)}.carousel-image-gradient{background:linear-gradient(90deg,#1c1c1c,#1c1c1cf2 5%,#1c1c1ce6 10%,#1c1c1ccc 15%,#1c1c1cb3 20%,#1c1c1c99 25%,#1c1c1c80 30%,#1c1c1c66 35%,#1c1c1c4d 40%,#1c1c1c33 50%,#1c1c1c1a 60%,#1c1c1c0d 70%,#0000 80%);height:100%;left:0;position:absolute;top:0;width:100%;z-index:2}.carousel-content{color:#fff;display:flex;flex-direction:column;gap:16px;height:100%;justify-content:center;max-width:55%;padding:40px;position:relative;z-index:3}.carousel-title{animation:slideInLeft .6s ease;color:#fff;font-size:2rem;font-weight:700;line-height:1.2;margin:0;text-shadow:0 2px 4px #0000004d}.carousel-description{animation:slideInLeft .6s ease .2s both;color:#fffffff2;font-size:1.1rem;line-height:1.5;margin:0;text-shadow:0 1px 2px #0003}.carousel-description-mobile{display:none}.carousel-cta-button{align-self:flex-start;animation:slideInLeft .6s ease .4s both;background:linear-gradient(135deg,#50c878,#6fe99e);border:none;border-radius:25px;box-shadow:0 4px 15px #50c8784d;color:#1a1a2e;cursor:pointer;font-size:1rem;font-weight:700;letter-spacing:.5px;margin-top:12px;padding:12px 24px;text-transform:uppercase;transition:all .3s ease}.carousel-cta-button:hover{background:linear-gradient(135deg,#48a862,#5fd18c);box-shadow:0 6px 20px #50c87866;transform:translateY(-2px)}.carousel-cta-button:active{transform:translateY(0)}.carousel-cta-button.email-optin-button{background:linear-gradient(135deg,#ff6b6b,#ff8e8e);color:#fff;font-weight:700}.carousel-cta-button.email-optin-button:hover{background:linear-gradient(135deg,#e85555,#f77);box-shadow:0 6px 20px #ff6b6b66}.carousel-cta-button.email-optin-button:disabled{background:linear-gradient(135deg,#999,#bbb);box-shadow:none;cursor:not-allowed;transform:none}.carousel-indicators{bottom:20px;display:flex;gap:12px;left:50%;position:absolute;transform:translateX(-50%);z-index:4}.carousel-indicator{background-color:#fff6;border:2px solid #fff9;border-radius:50%;cursor:pointer;height:10px;padding:0;transition:all .3s ease;width:10px}.carousel-indicator.active{background-color:#50c878;border-color:#50c878;box-shadow:0 0 10px #50c87880;transform:scale(1.2)}.carousel-indicator:hover:not(.active){background-color:#ffffffb3;transform:scale(1.1)}@media (max-width:1200px){.carousel-content{gap:14px;max-width:60%;padding:35px}.carousel-title{font-size:1.8rem}.carousel-description{font-size:1rem}}@media (max-width:992px){.promo-carousel{height:220px}.carousel-content{gap:12px;max-width:65%;padding:30px}.carousel-title{font-size:1.6rem}.carousel-description{font-size:.95rem}.carousel-cta-button{font-size:.9rem;margin-top:8px;padding:10px 20px}}@media (max-width:768px){.promo-carousel{height:240px}.carousel-slide{flex-direction:column;text-align:center}.carousel-image-container{height:100%;position:absolute;right:0;top:0;width:100%}.carousel-character-image.luna-rei-character{object-position:center 65%}.carousel-slide:nth-child(2) .carousel-character-image{object-position:center 30%}.carousel-image-gradient{background:linear-gradient(180deg,#1515151a,#1c1c1c99 35%,#242424cc 65%,#151515f2)}.carousel-content{background:linear-gradient(180deg,#0000,#151515cc 25%,#151515f2);bottom:0;gap:0;height:auto;justify-content:flex-end;left:0;max-width:100%;min-height:140px;padding:24px 20px 30px;position:absolute;right:0;text-align:center}.carousel-title{font-size:1.2rem;line-height:1.1;margin:0 0 10px}.carousel-description{display:none}.carousel-description-mobile{display:block;font-size:.8rem;line-height:1.2;margin:0 0 16px}.carousel-cta-button{align-self:center;font-size:.75rem;margin:0;padding:7px 14px}.carousel-indicators{bottom:15px;left:50%;transform:translateX(-50%)}}@media (max-width:480px){.promo-carousel{height:220px}.carousel-content{gap:0;min-height:130px;padding:20px 15px 25px}.carousel-title{font-size:1rem;line-height:1;margin:0 0 8px}.carousel-description{display:none}.carousel-description-mobile{display:block;font-size:.7rem;line-height:1.1;margin:0 0 14px}.carousel-cta-button{font-size:.65rem;margin:0;padding:6px 12px}.carousel-indicators{bottom:10px}.carousel-indicator{height:8px;width:8px}}.character-import-page{align-items:center;background-color:#1c1c1c;box-sizing:border-box;contain:layout style;display:flex;flex-direction:column;justify-content:flex-start;margin:0;min-height:100vh;padding:0;width:100%}.character-import-page .content-container{width:100%}.character-import-header{margin:0;max-width:100%;padding:10px 20px;text-align:left;width:100%}.character-import-header h1{color:#50c878;font-size:2rem;margin-bottom:10px}.character-import-header p{color:#ddd;font-size:1.2rem;margin-top:5px}.navigation-container{align-items:center;box-sizing:border-box;display:flex;justify-content:flex-start;margin:0 auto 20px;max-width:1600px;padding:0 40px;width:100%}.nav-tabs{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;display:flex;flex:1 1;flex-wrap:nowrap;gap:12px;list-style-type:none;margin:0;overflow-x:auto;padding:0;scrollbar-width:none}.nav-tabs::-webkit-scrollbar{display:none}.nav-tab{background-color:#2a2a2a;border:2px solid #0000;border-radius:25px;color:#aaa;cursor:pointer;font-size:.9rem;font-weight:500;padding:10px 20px;position:relative;transition:all .3s ease;white-space:nowrap}.nav-tab:hover{background-color:#50c8781a;border-color:#50c8784d;color:#50c878}.nav-tab.active{background:linear-gradient(135deg,#50c878,#6fe99e);border-color:#50c878;box-shadow:0 4px 12px #50c8784d;color:#1c1c1c;font-weight:600}.nav-tab.active:after{display:none}.nav-tab-dropdown{background-color:#2a2a2a!important;border:2px solid #0000!important;border-radius:25px!important;cursor:default!important;padding:0!important}.character-type-dropdown-bubble{appearance:none;-webkit-appearance:none;-moz-appearance:none;background-color:initial;background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23aaa" d="M6 8L2 4h8z"/></svg>');background-position:right 10px center;background-repeat:no-repeat;background-size:12px;border:none;border-radius:25px;color:#aaa;cursor:pointer;font-size:.9rem;font-weight:500;outline:none;padding:10px 40px 10px 20px;width:100%}.character-type-dropdown-bubble:hover{color:#50c878}.character-type-dropdown-bubble option{background-color:#2a2a2a;color:#aaa;padding:10px}.character-list{grid-gap:20px;box-sizing:border-box;contain:layout;display:grid;gap:20px;grid-template-columns:repeat(5,1fr);justify-items:center;margin:0 auto;max-width:1600px;min-height:400px;padding:0 40px 40px;width:100%}.character-card{aspect-ratio:1/1.14;background:#0000;border:1px solid #333;border-radius:16px;box-shadow:0 8px 32px #0006,0 2px 8px #0003;contain:layout style paint;cursor:pointer;display:flex;flex-direction:column;height:320px;margin:0 auto;max-width:350px;overflow:hidden;padding:0;position:relative;text-align:left;transition:transform .3s ease,box-shadow .3s ease;width:100%;will-change:transform}.character-card *{text-align:left!important}.character-card:hover{box-shadow:0 16px 64px #00000080,0 4px 16px #50c8781a;transform:translateY(-4px) scale(1.02)}.character-image-container{aspect-ratio:1/1.14;background:linear-gradient(135deg,#2a2a2a,#1c1c1c);border-radius:16px;height:100%;margin-bottom:0;overflow:hidden;position:relative;width:100%}.character-image{border-radius:16px;height:100%;object-fit:cover;opacity:0;transition:opacity .3s ease;width:100%}.character-image.loaded{opacity:1}.skeleton-card{animation:none!important;pointer-events:none}.skeleton-image{animation:shimmer 1.5s infinite;background:linear-gradient(90deg,#2a2a2a 25%,#333 50%,#2a2a2a 75%);background-size:200% 100%;border-radius:16px;height:100%;width:100%}.skeleton-info{background:linear-gradient(180deg,#0000,#000c)}.skeleton-title{height:20px;margin-bottom:8px;width:70%}.skeleton-text,.skeleton-title{animation:shimmer 1.5s infinite;background:linear-gradient(90deg,#444 25%,#555 50%,#444 75%);background-size:200% 100%;border-radius:4px}.skeleton-text{height:14px;margin-bottom:4px;width:90%}.skeleton-text.short{width:60%}.character-rating-badge{background-color:#0009;color:#fff;right:10px}.character-featured-badge,.character-rating-badge{border-radius:4px;font-size:.75rem;padding:4px 8px;position:absolute;top:10px}.character-featured-badge{animation:pulse 2s ease-in-out infinite;background:linear-gradient(45deg,#50c878,#6fe99e);box-shadow:0 2px 4px #50c8784d;color:#1c1c1c;font-weight:700;left:10px}.character-free-badge{animation:pulse 2s infinite;background-color:#50c878;border-radius:15px;font-size:.7rem;font-weight:700;padding:4px 8px;top:8px}.character-free-badge,.character-type-badge{color:#fff;left:8px;position:absolute;z-index:3}.character-type-badge{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#000000b3;border:1px solid #fff3;border-radius:10px;bottom:8px;font-size:.65rem;font-weight:500;padding:3px 6px}.show-button-container{align-items:center;display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.show-button{background-color:#000000b3;border:none;border-radius:20px;color:#fff;cursor:pointer;font-weight:600;padding:8px 20px}.character-card-hover-overlay{align-items:center;background-color:#0006;display:flex;height:100%;justify-content:center;left:0;opacity:0;pointer-events:none;position:absolute;top:0;transition:opacity .3s;width:100%}.character-card:hover .character-card-hover-overlay{opacity:1;pointer-events:auto}.hover-button{background-color:#50c878;border:none;border-radius:4px;color:#1c1c1c;cursor:pointer;font-size:.9rem;font-weight:700;padding:10px 16px;transition:background-color .3s}.hover-button:hover{background-color:#48a862}.character-info{align-items:flex-start;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:linear-gradient(180deg,#0000,#0000004d 40%,#000c);border-radius:0 0 16px 16px;bottom:0;contain:layout style;flex-direction:column;height:105px;justify-content:flex-start;left:0;max-height:105px;min-height:105px;padding:12px;position:absolute;right:0;text-align:left;z-index:2}.character-card .character-name{color:#fff;display:block;font-size:1rem;font-weight:600;line-height:1.1;margin:0 0 2px;overflow:hidden;text-align:left!important;text-overflow:ellipsis;text-shadow:0 1px 3px #000000b3;white-space:nowrap;width:100%}.character-personality{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#ffffffe6;display:-webkit-box;font-size:.85rem;line-height:1.1;margin:0 0 2px;overflow:hidden;text-align:left;text-shadow:0 1px 2px #000000b3;transition:opacity .3s ease}.character-personality.background,.character-personality.interaction{animation:fadeIn .3s ease forwards;opacity:0}.interaction-style-label{color:#50c878;display:inline-block;font-weight:500;margin-right:4px;transition:all .2s ease}.character-card:hover .interaction-style-label{color:#6fe99e;transform:translateY(-1px)}.character-stats{align-items:center;color:#ffffffb3;display:flex;font-size:.75rem;margin-top:auto;padding-top:4px}.character-stat{align-items:center;display:flex;margin-right:12px}.nsfw-tag{background-color:#ff6b6b1a;border-radius:4px;color:#ff6b6b;font-size:.75rem;font-weight:600;margin-left:auto;padding:2px 6px}.stat-icon{margin-right:4px}.eye-icon{color:#50c878;filter:brightness(.9);font-size:.9rem;opacity:.8;text-shadow:0 0 2px #50c87833;transition:all .2s ease}.character-card:hover .eye-icon{color:#6fe99e;filter:brightness(1.1);opacity:1;text-shadow:0 0 4px #50c87866;transform:scale(1.05)}@media (max-width:1600px){.character-list{grid-template-columns:repeat(5,1fr)}.character-list,.navigation-container{max-width:1400px}}@media (max-width:1400px){.character-list{grid-template-columns:repeat(4,1fr)}.character-list,.navigation-container{max-width:1200px}}@media (max-width:1200px){.character-list{grid-template-columns:repeat(4,1fr);max-width:1000px;padding:0 30px 30px}.navigation-container{max-width:1000px;padding-left:30px;padding-right:30px}}@media (max-width:992px){.character-list{grid-template-columns:repeat(3,1fr);max-width:800px}.navigation-container{max-width:800px}}@media (max-width:768px){.promo-carousel,.promo-carousel-container{min-height:200px!important}.promo-carousel{height:200px!important}.navigation-container{align-items:center;flex-direction:row;gap:0;margin-bottom:15px;padding:0 20px}.nav-tabs{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;flex-wrap:nowrap;gap:10px;justify-content:flex-start;overflow-x:auto;padding-bottom:5px;scrollbar-width:none;width:100%}.nav-tabs::-webkit-scrollbar{display:none}.nav-tab{flex-shrink:0;font-size:.85rem;min-width:-webkit-fit-content;min-width:-moz-fit-content;min-width:fit-content;padding:8px 16px;white-space:nowrap}.nav-tab-dropdown{min-width:100px!important}.character-type-dropdown-bubble{font-size:.85rem;padding:8px 35px 8px 16px}.character-list{contain:layout;gap:16px;grid-template-columns:repeat(2,1fr);max-width:100%;min-height:600px;padding:20px 16px 100px}.character-info{padding:12px}.character-name{font-size:1.1rem}.character-image-container{height:100%}.character-card{border:none;height:300px}.character-import-page{padding-bottom:90px!important}}@media (max-width:480px){.navigation-container{gap:10px;margin-bottom:10px;padding:0 15px}.nav-tab{font-size:.8rem;padding:6px 12px}.character-list{contain:layout;gap:12px;grid-template-columns:repeat(2,1fr);max-width:100%;min-height:600px;padding:15px 15px 100px}.character-image-container{height:100%}.character-card{border:none!important;height:280px;max-width:100%}.character-import-page{padding-bottom:90px!important}}.loading-container{align-items:center;background:linear-gradient(135deg,#1a1a1a,#2d2d2d);display:flex;height:100vh;justify-content:center}.loading-content{padding:2rem;text-align:center}.loading-spinner{border:3px solid #50c87833;margin:0 auto 1.5rem}.loading-message{animation:fadeInOut 2s ease-in-out infinite;color:#50c878;font-size:1.5rem;margin-bottom:.5rem}.loading-submessage{color:#888;font-size:1rem;margin:0}.emergency-reset-button{background-color:#f44;border:none;border-radius:6px;box-shadow:0 2px 4px #0003;color:#fff;cursor:pointer;font-size:.9rem;font-weight:600;margin-top:2rem;padding:.8rem 1.5rem;transition:all .2s ease}.emergency-reset-button:hover{background-color:#c33;box-shadow:0 3px 6px #0000004d;transform:translateY(-1px)}@keyframes fadeInOut{0%{opacity:.6}50%{opacity:1}to{opacity:.6}}.no-characters-message{background-color:#00000008;border-radius:8px;margin:2rem auto;max-width:600px;padding:2rem;text-align:center;width:100%}.no-characters-message h3{color:#ddd;font-size:1.5rem;margin-bottom:1rem}.no-characters-message p{color:#aaa;font-size:1rem;margin-bottom:1.5rem}.create-character-btn{background:linear-gradient(135deg,#f58,#f37);border:none;border-radius:25px;box-shadow:0 4px 15px #f373;color:#fff;cursor:pointer;font-weight:700;padding:.8rem 1.5rem;transition:all .2s ease}.create-character-btn:hover{box-shadow:0 6px 18px #ff337740;transform:translateY(-2px)}.translation-paused{background:#ffa500e6;border-radius:4px;color:#fff;font-size:12px;left:50%;padding:5px 10px;position:fixed;top:10px;transform:translateX(-50%);z-index:1000}.loading-more-container{align-items:center;color:#50c878;display:flex;flex-direction:column;padding:2rem}.loading-more-container .loading-spinner{height:40px;margin-bottom:1rem;width:40px}.loading-more-container p{color:#aaa;font-size:1rem;margin:0}.end-of-characters{color:#666;font-style:italic;padding:2rem;text-align:center}.end-of-characters p{font-size:1rem;margin:0}@media (prefers-reduced-motion:no-preference){.character-card{animation:fadeInUp .4s ease-out;animation-fill-mode:both}.character-card:first-child{animation-delay:.05s}.character-card:nth-child(2){animation-delay:.1s}.character-card:nth-child(3){animation-delay:.15s}.character-card:nth-child(4){animation-delay:.2s}.character-card:nth-child(5){animation-delay:.25s}.character-card:nth-child(6){animation-delay:.3s}.character-card:nth-child(7){animation-delay:.35s}.character-card:nth-child(8){animation-delay:.4s}.character-card:nth-child(9){animation-delay:.45s}.character-card:nth-child(10){animation-delay:.5s}}.character-import-page:not(.loaded) .character-card{opacity:0}.settings2-container{align-items:center;background:linear-gradient(135deg,#0d0d0d,#151515 25%,#1c1c1c 50%,#242424);background:linear-gradient(135deg,var(--darkest-bg) 0,var(--darker-bg) 25%,var(--dark-bg) 50%,var(--medium-bg) 100%);background-image:radial-gradient(circle at 20% 80%,#50c87814 0,#0000 50%),radial-gradient(circle at 80% 20%,#50c8780a 0,#0000 50%),radial-gradient(circle at 40% 40%,hsla(0,0%,100%,.015) 0,#0000 50%);box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-start;min-height:100vh;padding:20px;position:relative;width:100%;z-index:1}.settings2-character-background{bottom:0;left:0;position:fixed;right:0;top:0;z-index:0}.settings2-character-background:after{background:#0000001a;bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:0}.settings2-content-wrapper{margin:0 auto;max-width:1200px;position:relative;transition:filter .3s ease;width:100%;z-index:2}.settings2-section-card{animation:slideUpSettings .6s ease;backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);background:#000000b3;border:1px solid #ffffff26;border-radius:16px;border-radius:var(--radius-large);box-shadow:0 20px 40px #0006,0 8px 16px #0003,inset 0 1px 0 #ffffff1a;margin-bottom:24px;padding:32px;position:relative;width:100%}.settings2-section-card:before{background:linear-gradient(90deg,#0000,#50c878,#0000);background:linear-gradient(90deg,#0000,var(--primary-color),#0000);content:"";height:1px;left:0;opacity:.5;position:absolute;right:0;top:0}@keyframes slideUpSettings{0%{opacity:0;transform:translateY(30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.settings2-header{align-items:center;display:flex;gap:1.5rem;margin-bottom:2rem}.settings2-avatar-icon{align-items:center;background:linear-gradient(135deg,#50c878,#6ac995);background:linear-gradient(135deg,var(--primary-color),#6ac995);border:2px solid #50c8784d;border-radius:50%;box-shadow:0 8px 16px #50c8784d,0 4px 8px #0003;cursor:default;display:flex;flex:0 0 100px;font-size:2.5rem;height:100px;justify-content:center;overflow:hidden;transition:all .3s ease;width:100px}.settings2-avatar-icon:hover{box-shadow:0 12px 24px #50c87866,0 6px 12px #0000004d;transform:scale(1.05)}.settings2-info{flex:1 1}.settings2-info h1{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#50c878,#6ac995);background:linear-gradient(135deg,var(--primary-color),#6ac995);-webkit-background-clip:text;background-clip:text;font-size:2.5rem;font-weight:700;letter-spacing:-1px;margin:0;text-shadow:0 4px 8px #50c87833}.settings2-meta{color:#999;color:var(--text-muted);font-size:1.1rem;margin:.5rem 0 0;opacity:.8}.settings2-tabs{display:flex;gap:1rem;margin-bottom:2rem;padding-bottom:1rem;position:relative}.settings2-tabs:after{background:linear-gradient(90deg,#0000,#ffffff1a,#0000);bottom:0;content:"";height:1px;left:0;position:absolute;right:0}.settings2-tabs button{background:none;border:none;border-radius:8px;border-radius:var(--radius);color:#999;color:var(--text-muted);cursor:pointer;font-size:1rem;font-weight:500;padding:.8rem 1.5rem;position:relative;transition:all .3s ease;transition:var(--transition)}.settings2-tabs button:hover{background:#50c8781a;color:#fff;color:var(--text-color);transform:translateY(-2px)}.settings2-tabs button.tab-active{background:#50c87826;color:#50c878;color:var(--primary-color);font-weight:600}.settings2-tabs button.tab-active:after{background:linear-gradient(90deg,#0000,#50c878,#0000);background:linear-gradient(90deg,#0000,var(--primary-color),#0000);bottom:-1rem;content:"";height:2px;left:50%;position:absolute;transform:translateX(-50%);width:60%}.settings2-adapter-btn{background:linear-gradient(135deg,#9333ea1a,#9333ea0d)!important;border:1px solid #9333ea4d!important;color:#a855f7!important}.settings2-adapter-btn:hover{background:linear-gradient(135deg,#9333ea33,#9333ea1a)!important;border-color:#a855f7!important;box-shadow:0 4px 12px #a855f733;transform:translateY(-2px)}.settings2-grid{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:1fr 350px;margin-top:2rem}.settings2-main-section{display:flex;flex-direction:column;gap:1.5rem}.settings2-settings-section{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#0009;border:1px solid #ffffff1f;border-radius:16px;border-radius:var(--radius-large);padding:2rem;transition:all .3s ease;transition:var(--transition)}.settings2-settings-section:hover{background:#000000b3;border-color:#50c8784d;transform:translateY(-2px)}.settings2-section-header h2{align-items:center;color:#fff;color:var(--text-color);display:flex;font-size:1.4rem;font-weight:700;gap:8px;margin:0 0 1.5rem;position:relative;text-align:left}.settings2-section-header h2:after{background:linear-gradient(90deg,#50c878,#0000);background:linear-gradient(90deg,var(--primary-color),#0000);bottom:-8px;content:"";height:2px;left:0;position:absolute;width:60px}.settings2-diagnostics-section{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#0009;border:1px solid #ffffff1f;border-radius:16px;border-radius:var(--radius-large);height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;padding:2rem;position:-webkit-sticky;position:sticky;top:20px}.settings2-setting-item{margin-bottom:1.5rem}.settings2-setting-item:last-child{margin-bottom:0}.settings2-setting-item h4{color:#50c878;color:var(--primary-color);font-size:1rem;font-weight:600;margin-bottom:.8rem}.settings2-dropdown{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0006;border:1px solid #ffffff26;border-radius:8px;border-radius:var(--radius);color:#fff;color:var(--text-color);cursor:pointer;font-size:1rem;padding:12px 16px;transition:all .3s ease;transition:var(--transition);width:100%}.settings2-dropdown:hover{background:#00000080;border-color:#50c87880}.settings2-dropdown:focus{background:#0009;border-color:#50c878;border-color:var(--primary-color);box-shadow:0 0 0 2px #50c87833;outline:none}.settings2-dropdown option{background-color:#1c1c1c;background-color:var(--dark-bg);color:#fff;color:var(--text-color)}.settings2-dropdown optgroup{background-color:#151515;background-color:var(--darker-bg);color:#50c878;color:var(--primary-color);font-size:.9rem;font-weight:600}.settings2-toggle-container{align-items:center;display:flex;gap:12px;margin-bottom:1rem}.settings2-toggle-switch{display:inline-block;height:28px;position:relative;width:60px}.settings2-toggle-switch input{height:0;opacity:0;width:0}.settings2-toggle-slider{background:#ffffff1a;border:1px solid #fff3;border-radius:28px;bottom:0;cursor:pointer;left:0;right:0;top:0}.settings2-toggle-slider,.settings2-toggle-slider:before{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);position:absolute;transition:.3s}.settings2-toggle-slider:before{background:#fffc;border-radius:50%;bottom:3px;box-shadow:0 2px 4px #0003;content:"";height:20px;left:4px;width:20px}.settings2-toggle-switch input:checked+.settings2-toggle-slider{background:#50c878cc;border-color:#50c878;border-color:var(--primary-color)}.settings2-toggle-switch input:checked+.settings2-toggle-slider:before{background:#fff;transform:translateX(32px)}.settings2-toggle-label{color:#ddd;color:var(--text-light);font-size:1rem;font-weight:500}.settings2-delay-slider-container,.settings2-token-slider-container,.settings2-volume-slider-container{margin-bottom:1rem}.settings2-delay-slider,.settings2-token-slider,.settings2-volume-slider{background:#ffffff1a;border-radius:4px;cursor:pointer;height:8px;margin-bottom:12px;opacity:.8;outline:none;transition:opacity .2s;width:100%}.settings2-delay-slider:hover,.settings2-token-slider:hover,.settings2-volume-slider:hover{opacity:1}.settings2-delay-slider::-webkit-slider-thumb,.settings2-token-slider::-webkit-slider-thumb,.settings2-volume-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:linear-gradient(135deg,#50c878,#6ac995);background:linear-gradient(135deg,var(--primary-color),#6ac995);border-radius:50%;box-shadow:0 4px 8px #50c8784d;cursor:pointer;height:20px;-webkit-transition:all .3s ease;transition:all .3s ease;-webkit-transition:var(--transition);transition:var(--transition);width:20px}.settings2-delay-slider::-webkit-slider-thumb:hover,.settings2-token-slider::-webkit-slider-thumb:hover,.settings2-volume-slider::-webkit-slider-thumb:hover{box-shadow:0 6px 12px #50c87880;transform:scale(1.2)}.settings2-delay-slider::-moz-range-thumb,.settings2-token-slider::-moz-range-thumb,.settings2-volume-slider::-moz-range-thumb{background:linear-gradient(135deg,#50c878,#6ac995);background:linear-gradient(135deg,var(--primary-color),#6ac995);border:none;border-radius:50%;box-shadow:0 4px 8px #50c8784d;cursor:pointer;height:20px;width:20px}.settings2-delay-value,.settings2-token-value,.settings2-volume-value{align-items:center;color:#50c878;color:var(--primary-color);display:flex;font-size:1rem;font-weight:600;justify-content:space-between;margin-bottom:8px}.settings2-volume-test-button{background:linear-gradient(135deg,#50c878,#48a862);background:linear-gradient(135deg,var(--primary-color),var(--primary-dark));border:none;border-radius:8px;border-radius:var(--radius);color:#0d0d0d;color:var(--darkest-bg);cursor:pointer;font-size:.85rem;font-weight:600;letter-spacing:.5px;padding:6px 12px;text-transform:uppercase;transition:all .3s ease;transition:var(--transition)}.settings2-volume-test-button:hover{box-shadow:0 4px 8px #50c8784d;transform:translateY(-1px)}.settings2-token-description,.settings2-volume-note{color:#999;color:var(--text-muted);font-size:.85rem;opacity:.8}.settings2-textarea{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0006;border:1px solid #ffffff26;border-radius:8px;border-radius:var(--radius);color:#fff;color:var(--text-color);font-family:inherit;font-size:1rem;min-height:80px;padding:12px 16px;resize:vertical;transition:all .3s ease;transition:var(--transition);width:100%}.settings2-textarea:hover{background:#00000080;border-color:#50c87880}.settings2-textarea:focus{background:#0009;border-color:#50c878;border-color:var(--primary-color);box-shadow:0 0 0 2px #50c87833;outline:none}.settings2-textarea::placeholder{color:#999;color:var(--text-muted);opacity:.7}.settings2-description{color:#999;color:var(--text-muted);font-size:.9rem;line-height:1.5;margin-top:.8rem;opacity:.85}.settings2-description a{color:#50c878;color:var(--primary-color);text-decoration:none;transition:all .3s ease;transition:var(--transition)}.settings2-description a:hover{color:#6ac995;text-decoration:underline}.settings2-voice-selection-container{display:flex;flex-direction:column;gap:1.5rem}.settings2-voice-selection-group h4{color:#50c878;color:var(--primary-color);font-size:1rem;font-weight:600;margin-bottom:.8rem}.settings2-voice-preview-link{margin-top:1rem;text-align:center}.settings2-voice-preview-link a{color:#50c878;color:var(--primary-color);font-size:.95rem;font-weight:500;text-decoration:none;transition:all .3s ease;transition:var(--transition)}.settings2-voice-preview-link a:hover{color:#6ac995;text-decoration:underline}.settings2-memory-status{margin-top:1rem}.settings2-memory-indicator{border-radius:8px;border-radius:var(--radius);font-size:.95rem;font-weight:500;padding:12px 16px;text-align:center}.settings2-memory-indicator.active{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#50c87826;border:1px solid #50c8784d;color:#50c878;color:var(--primary-color)}.settings2-auto-continue-delay-container{background:#ffffff08;border:1px solid #ffffff14;border-radius:8px;border-radius:var(--radius);margin-top:1.5rem;padding:1.5rem}.settings2-auto-continue-delay-container h4{color:#50c878;color:var(--primary-color);font-size:1rem;font-weight:600;margin-bottom:1rem}.settings2-firmware-status{background:#ffffff08;border:1px solid #ffffff14;border-radius:8px;border-radius:var(--radius);margin-top:1rem;padding:1rem}.settings2-controller-type,.settings2-current-firmware{align-items:center;display:flex;font-size:.9rem;justify-content:space-between;margin-bottom:.8rem}.settings2-controller-type:last-child,.settings2-current-firmware:last-child{margin-bottom:0}.settings2-controller-type strong,.settings2-current-firmware strong{color:#fff;color:var(--text-color);font-weight:600}.settings2-controller-value,.settings2-status-value{color:#50c878;color:var(--primary-color);font-weight:500}.settings2-detection-warning{background:#ffc1071a;border:1px solid #ffc1074d;border-radius:8px;border-radius:var(--radius);color:#ffc107;color:var(--warning-color);font-size:.85rem;line-height:1.4;margin-top:1rem;padding:.8rem}.settings2-detection-warning a{color:#50c878;color:var(--primary-color);text-decoration:none}.settings2-detection-warning a:hover{text-decoration:underline}.settings2-email-opt-in-button{background:linear-gradient(135deg,#50c878,#48a862);background:linear-gradient(135deg,var(--primary-color),var(--primary-dark));border:none;border-radius:8px;border-radius:var(--radius);box-shadow:0 4px 12px #50c8784d;color:#0d0d0d;color:var(--darkest-bg);cursor:pointer;font-size:1rem;font-weight:600;letter-spacing:.5px;margin-top:1rem;padding:12px 24px;text-transform:uppercase;transition:all .3s ease;transition:var(--transition)}.settings2-email-opt-in-button:hover:not(:disabled){background:linear-gradient(135deg,#5cd68a,#50c878);background:linear-gradient(135deg,#5cd68a,var(--primary-color));box-shadow:0 6px 16px #50c87866;transform:translateY(-2px)}.settings2-email-opt-in-button:disabled{cursor:not-allowed;opacity:.6;transform:none}.settings2-loading-spinner{align-items:center;color:#50c878;color:var(--primary-color);display:flex;font-size:1.1rem;height:200px;justify-content:center}.settings2-legal-footer{border-top:1px solid #ffffff1a;margin-top:2rem;padding:1.5rem 0}.settings2-legal-links{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center}.settings2-legal-link{background:none;border:none;border-radius:8px;border-radius:var(--radius);color:#999;color:var(--text-muted);cursor:pointer;font-size:.9rem;padding:.5rem 1rem;text-decoration:none;transition:all .3s ease;transition:var(--transition)}.settings2-legal-link:hover{background:#50c8781a;color:#50c878;color:var(--primary-color);text-decoration:underline}.settings2-legal-separator{color:#999;color:var(--text-muted);font-size:.8rem;opacity:.6}@media (max-width:1200px){.settings2-grid{gap:1.5rem;grid-template-columns:1fr 300px}}@media (max-width:968px){.settings2-grid{gap:2rem;grid-template-columns:1fr}.settings2-diagnostics-section{position:relative;top:auto}}@media (max-width:768px){.settings2-container{padding:60px 10px 10px}.settings2-content-wrapper{margin:0;max-width:100%;padding:0 5px}.settings2-section-card{border-radius:8px;border-radius:var(--radius);margin-bottom:20px;padding:20px}.settings2-settings-section{padding:1.5rem}.settings2-header{flex-direction:column;gap:1rem;text-align:center}.settings2-avatar-icon{flex:0 0 80px;font-size:2rem;height:80px;width:80px}.settings2-info h1{font-size:2rem}.settings2-tabs{justify-content:center;overflow-x:auto;padding-bottom:.5rem}.settings2-tabs button{padding:.6rem 1.2rem;white-space:nowrap}.settings2-toggle-container,.settings2-volume-value{align-items:flex-start;flex-direction:column;gap:8px}}@media (max-width:480px){.settings2-container{padding:50px 5px 10px}.settings2-content-wrapper{padding:0 3px}.settings2-section-card{border-radius:6px;margin-bottom:16px;padding:16px}.settings2-info h1{font-size:1.8rem}.settings2-section-header h2{font-size:1.2rem}.settings2-settings-section{padding:1rem}}@media (prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.settings2-section-card{animation:none}}@media (prefers-contrast:high){.settings2-diagnostics-section,.settings2-section-card,.settings2-settings-section{border:2px solid #50c878;border:2px solid var(--primary-color)}.settings2-dropdown,.settings2-textarea{border:2px solid #444;border:2px solid var(--border-color)}}.funscript-graph-viewer{box-sizing:border-box;display:block;position:relative;width:100%}.funscript-graph-viewer.embedded{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:linear-gradient(135deg,#24242466,#1c1c1c99);border:1px solid #50c87826;border-radius:8px;box-shadow:0 4px 15px #0003,inset 0 1px 1px #50c8781a;overflow:hidden}.embedded-graph-container{box-sizing:border-box;padding:12px;width:100%}.graph-content-embedded{box-sizing:border-box;display:flex;flex-direction:column;gap:8px;width:100%}.funscript-svg{background:#0000004d;border:1px solid #ffffff1a;border-radius:6px;display:block;height:auto}.clickable-graph{transition:opacity .2s ease}.clickable-graph:hover{opacity:.9}.clickable-graph:active{opacity:.8}.graph-info-embedded{background:#0000004d;border-radius:4px;display:flex;flex-direction:column;font-size:11px;gap:4px;padding:8px}.info-row{align-items:center;display:flex;justify-content:space-between}.info-label{color:#aaa;font-weight:500}.info-value{color:#fff;font-weight:600}.info-value.playing{color:#4caf50}.info-value.stopped{color:#888}.graph-controls{justify-content:space-between;margin-top:4px}.control-btn,.graph-controls{align-items:center;display:flex}.control-btn{background:#4caf5033;border:1px solid #4caf5066;border-radius:4px;color:#4caf50;cursor:pointer;font-size:12px;height:24px;justify-content:center;min-width:28px;padding:4px 8px;transition:all .2s ease}.control-btn:hover{background:#4caf504d;border-color:#4caf5099}.control-btn:active{background:#4caf5066}.status-indicator{background:#4caf50;border-radius:50%;height:8px;width:8px}.status-indicator.pulse{animation:pulse 2s infinite}.no-data-embedded{color:#888;padding:20px 12px;text-align:center}.no-data-embedded p{font-size:12px;margin:4px 0}.no-data-embedded p:first-child{color:#aaa;font-weight:600}.funscript-svg path{filter:drop-shadow(0 0 2px rgba(76,175,80,.3))}.funscript-svg line{filter:drop-shadow(0 0 2px rgba(255,107,107,.5))}@media (max-width:680px){.embedded-graph-container{padding:8px}.graph-info-embedded{font-size:10px;padding:6px}.control-btn{font-size:11px;height:20px;min-width:24px;padding:3px 6px}.status-indicator{height:6px;width:6px}.no-data-embedded{padding:16px 8px}.no-data-embedded p{font-size:11px}}:root{--green-accent:#50c878}.adapter-settings-container{align-items:center;background:linear-gradient(135deg,#0d0d0d,#151515 25%,#1c1c1c 50%,#242424);background:linear-gradient(135deg,var(--darkest-bg) 0,var(--darker-bg) 25%,var(--dark-bg) 50%,var(--medium-bg) 100%);background-image:radial-gradient(circle at 20% 80%,#50c87814 0,#0000 50%),radial-gradient(circle at 80% 20%,#50c8780a 0,#0000 50%),radial-gradient(circle at 40% 40%,hsla(0,0%,100%,.015) 0,#0000 50%);box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-start;min-height:100vh;padding:20px;position:relative;width:100%;z-index:1}.adapter-settings-character-background{bottom:0;left:0;position:fixed;right:0;top:0;z-index:0}.adapter-settings-character-background:after{background:#0000001a;bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:0}.adapter-settings-content-wrapper{margin:0 auto;max-width:1400px;position:relative;width:100%;z-index:2}.adapter-settings-header{backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);background:#0000004d;border:1px solid #ffffff1a;border-radius:16px;border-radius:var(--radius-large);box-shadow:0 8px 32px 0 #0000005e,inset 0 1px 0 #ffffff1a;margin-bottom:30px;padding:30px}.adapter-settings-header-content{align-items:center;display:flex;gap:30px}.adapter-settings-back-btn{background:#ffffff1a;border:1px solid #fff3;border-radius:8px;border-radius:var(--radius);color:#ddd;color:var(--text-light);cursor:pointer;font-size:.95rem;padding:10px 20px;transition:all .3s ease;transition:var(--transition)}.adapter-settings-back-btn:hover{background:#ffffff26;transform:translateX(-2px)}.adapter-settings-title-section h1{color:#50c878;color:var(--green-accent);font-size:2.5rem;margin:0;text-shadow:0 2px 4px #00000080}.adapter-settings-description{margin:15px 0 0;max-width:800px}.adapter-settings-subtitle{color:#ddd;color:var(--text-light);font-size:1.1rem;line-height:1.6;margin:0 0 10px}.adapter-settings-subtitle-secondary{color:#999;color:var(--text-muted);font-size:1rem;line-height:1.6;margin:0}.adapter-settings-tabs{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0003;border:1px solid #ffffff1a;border-radius:16px;border-radius:var(--radius-large);display:flex;gap:15px;margin-bottom:30px;padding:10px}.adapter-settings-tabs button{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;border-radius:var(--radius);color:#999;color:var(--text-muted);cursor:pointer;flex:1 1;font-size:1rem;font-weight:500;padding:12px 24px;transition:all .3s ease;transition:var(--transition)}.adapter-settings-tabs button:hover{background:#50c8781a;color:#ddd;color:var(--text-light)}.adapter-settings-tabs button.tab-active{background:linear-gradient(135deg,#50c87833,#50c8781a);border-color:#50c878;border-color:var(--green-accent);color:#50c878;color:var(--green-accent);font-weight:600}.adapter-settings-error,.adapter-settings-success{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:8px;border-radius:var(--radius);display:flex;justify-content:space-between;margin-bottom:20px;padding:15px 20px}.adapter-settings-error{background:#ff5a5a1a;border:1px solid #ff5a5a4d;color:#ff5a5a;color:var(--error-color)}.adapter-settings-success{background:#4caf501a;border:1px solid #4caf504d;color:#4caf50;color:var(--success-color)}.adapter-settings-error button,.adapter-settings-success button{background:none;border:none;color:inherit;cursor:pointer;font-size:1.5rem;opacity:.7;transition:opacity .2s}.adapter-settings-error button:hover,.adapter-settings-success button:hover{opacity:1}.adapter-settings-content{backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);background:#0000004d;border:1px solid #ffffff1a;border-radius:16px;border-radius:var(--radius-large);min-height:500px;padding:30px}.adapter-settings-empty,.adapter-settings-loading{color:#999;color:var(--text-muted);font-size:1.1rem;padding:60px 20px;text-align:center}.adapter-settings-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(400px,1fr));margin-top:20px}.adapter-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:16px;border-radius:var(--radius-large);padding:20px;transition:all .3s ease;transition:var(--transition)}.adapter-card:hover{border-color:#50c8784d;box-shadow:0 8px 24px #50c87833;transform:translateY(-2px)}.adapter-card-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:15px}.adapter-card-header h3{color:#50c878;color:var(--green-accent);font-size:1.3rem;margin:0}.adapter-expand-btn{background:#ffffff1a;border:1px solid #fff3;border-radius:8px;border-radius:var(--radius);color:#ddd;color:var(--text-light);cursor:pointer;padding:5px 10px;transition:all .3s ease;transition:var(--transition)}.adapter-expand-btn:hover{background:#ffffff26}.adapter-description{color:#ddd;color:var(--text-light);line-height:1.5;margin:0 0 15px}.adapter-meta{color:#999;color:var(--text-muted);display:flex;font-size:.9rem;gap:20px}.adapter-meta span{align-items:center;display:flex;gap:5px}.adapter-commands{border-top:1px solid #ffffff1a;margin-top:20px;padding-top:20px}.adapter-commands h4{color:#ddd;color:var(--text-light);margin:0 0 15px}.adapter-command{background:#0003;border-radius:8px;border-radius:var(--radius);margin-bottom:15px;padding:15px}.adapter-command-header{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:10px}.command-keyword{color:#50c878;color:var(--green-accent);font-family:monospace;font-size:.9rem}.command-category,.command-keyword{background:#50c87833;border:1px solid #50c87866;border-radius:15px;padding:4px 10px}.command-category{color:#50c878;color:var(--primary-color);font-size:.85rem}.command-intensity{background:#ffc10733;border:1px solid #ffc10766;border-radius:15px;color:#ffc107;color:var(--warning-color);font-size:.85rem;padding:4px 10px}.command-description{color:#ddd;font-size:.95rem;line-height:1.4;margin:0 0 10px}.command-funscript-actions{display:flex;gap:10px;margin-top:10px}.download-funscript-btn,.toggle-graph-btn{background:#ffffff1a;border:1px solid #fff3;border-radius:8px;border-radius:var(--radius);color:#ddd;color:var(--text-light);cursor:pointer;font-size:.9rem;padding:6px 12px;transition:all .3s ease;transition:var(--transition)}.download-funscript-btn:hover,.toggle-graph-btn:hover{background:#ffffff26;transform:translateY(-1px)}.create-adapter-btn{background:linear-gradient(135deg,#50c87833,#50c8781a);border:2px dashed #50c87866;border-radius:16px;border-radius:var(--radius-large);color:#50c878;color:var(--green-accent);cursor:pointer;font-size:1.1rem;font-weight:600;padding:20px;transition:all .3s ease;transition:var(--transition);width:100%}.create-adapter-btn:hover{background:linear-gradient(135deg,#50c8784d,#50c87833);border-color:#50c878;border-color:var(--green-accent);transform:translateY(-2px)}.new-adapter-form{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #50c8784d;border-radius:16px;border-radius:var(--radius-large);margin-bottom:30px;padding:30px}.new-adapter-form h3{color:#50c878;color:var(--green-accent);font-size:1.5rem;margin:0 0 20px}.adapter-input,.adapter-textarea{background:#0000004d;border:1px solid #fff3;border-radius:8px;border-radius:var(--radius);color:#ddd;color:var(--text-light);font-size:1rem;margin-bottom:15px;padding:12px;transition:all .3s ease;transition:var(--transition);width:100%}.adapter-input:focus,.adapter-textarea:focus{background:#0006;border-color:#50c878;border-color:var(--green-accent);outline:none}.adapter-textarea{min-height:100px;resize:vertical}.adapter-checkbox{align-items:center;color:#ddd;color:var(--text-light);cursor:pointer;display:flex;gap:10px;margin-bottom:20px}.adapter-checkbox input{cursor:pointer;height:20px;width:20px}.adapter-commands-editor{border-top:1px solid #ffffff1a;margin-top:30px;padding-top:20px}.adapter-commands-editor h4{color:#ddd;color:var(--text-light);margin:0 0 10px}.adapter-help-text{color:#999;color:var(--text-muted);font-size:.95rem;font-style:italic;margin:0 0 20px}.command-editor{background:#0003;border:2px solid #0000;border-radius:8px;border-radius:var(--radius);margin-bottom:15px;padding:15px;transition:all .3s ease;transition:var(--transition)}.command-editor.will-save{background:#4caf500d;border-color:#4caf504d}.command-editor.will-skip{opacity:.6}.will-save-badge{background:#4caf5033;border:1px solid #4caf5066;border-radius:10px;color:#4caf50;color:var(--success-color);font-size:.85rem;margin-left:auto;padding:2px 8px}.command-editor-header{align-items:center;display:flex;gap:10px;margin-bottom:10px}.command-editor-header .command-keyword{margin-left:auto}.command-name{color:#50c878;color:var(--green-accent)}.funscript-dropzone{background:#ffffff0d;border:2px dashed #fff3;border-radius:8px;border-radius:var(--radius);cursor:pointer;margin:10px 0;padding:20px;text-align:center;transition:all .3s ease;transition:var(--transition)}.funscript-dropzone:hover{background:#ffffff14;border-color:#50c878;border-color:var(--green-accent)}.funscript-dropzone.has-funscript{background:#4caf501a;border-color:#4caf5066;color:#4caf50;color:var(--success-color)}.funscript-graph{background:#0000004d;border:1px solid #ffffff1a;border-radius:var(--radius);margin-top:15px}.adapter-form-actions{display:flex;gap:15px;margin-top:30px}.cancel-btn,.save-adapter-btn{border:none;border-radius:8px;border-radius:var(--radius);cursor:pointer;flex:1 1;font-size:1rem;font-weight:600;padding:12px 24px;transition:all .3s ease;transition:var(--transition)}.save-adapter-btn{background:linear-gradient(135deg,#50c878,#50c878cc);background:linear-gradient(135deg,var(--green-accent),#50c878cc);color:#fff}.save-adapter-btn:hover:not(:disabled){box-shadow:0 4px 12px #50c87866;transform:translateY(-2px)}.save-adapter-btn:disabled{cursor:not-allowed;opacity:.5}.cancel-btn{background:#ffffff1a;border:1px solid #fff3;color:#ddd;color:var(--text-light)}.cancel-btn:hover{background:#ffffff26}.private-adapter{border-color:#50c87833}.adapter-actions{display:flex;gap:10px}.delete-adapter-btn{background:#ff5a5a1a;border:1px solid #ff5a5a4d;border-radius:8px;border-radius:var(--radius);color:#ff5a5a;color:var(--error-color);cursor:pointer;padding:5px 10px;transition:all .3s ease;transition:var(--transition)}.delete-adapter-btn:hover{background:#ff5a5a33;border-color:#ff5a5a;border-color:var(--error-color)}@media (max-width:768px){.adapter-settings-content-wrapper{padding:10px}.adapter-settings-header-content{align-items:flex-start;flex-direction:column;gap:15px}.adapter-settings-grid{grid-template-columns:1fr}.adapter-form-actions,.adapter-settings-tabs{flex-direction:column}.adapter-command-header{align-items:flex-start;flex-direction:column}}.credits-tab{color:#fff;padding:20px}.credits-tab h3{color:#fff;font-size:1.5rem;margin-bottom:10px}.credits-intro{color:#ccc;font-size:1rem;line-height:1.5;margin-bottom:20px}.credits-list{gap:15px}.credit-card{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;padding:20px;transition:all .3s ease}.credit-card:hover{background:#ffffff14;border-color:#fff3;transform:translateY(-2px)}.credit-card.focused{background:#007bff1a;border-color:#007bff;box-shadow:0 0 20px #007bff4d}.credit-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:10px}.credit-name{color:#fff;font-size:1.2rem;font-weight:600;margin:0}.credit-links-container{display:flex;flex-wrap:wrap;gap:8px}.credit-link-button{align-items:center;background:#007bff33;border:1px solid #007bff66;border-radius:6px;color:#007bff;display:flex;font-size:.85rem;font-weight:500;gap:6px;padding:8px 12px;text-decoration:none;transition:all .2s ease;white-space:nowrap}.credit-link-button:hover{background:#007bff4d;border-color:#007bff99;color:#66b3ff;text-decoration:none}.credit-link-button svg{height:14px;width:14px}.credit-description{font-size:1rem;line-height:1.5;margin:0}@media (max-width:768px){.credit-header{align-items:flex-start;flex-direction:column;gap:10px}.credit-link-button{align-self:flex-start}}@keyframes focusGlow{0%{box-shadow:0 0 0 #007bff4d}50%{box-shadow:0 0 30px #007bff80}to{box-shadow:0 0 0 #007bff4d}}.credit-card.focused{animation:focusGlow 1.5s ease-in-out}.media-gallery-tab{color:#fff;padding:20px}.media-gallery-tab h3{color:#50c878;font-size:1.5rem;margin-bottom:10px}.gallery-description{color:#ccc;font-size:1rem;line-height:1.5;margin-bottom:20px}.media-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));margin-top:20px}.media-item{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;overflow:hidden;transition:all .3s ease}.media-item:hover{border-color:#fff3;box-shadow:0 8px 25px #0000004d;transform:translateY(-5px)}.image-container{cursor:pointer;height:200px;overflow:hidden;position:relative;width:100%}.image-container img{height:100%;object-fit:cover;transition:transform .3s ease;width:100%}.image-container:hover img{transform:scale(1.05)}.image-overlay{align-items:center;background:#0006;bottom:0;display:flex;justify-content:center;left:0;opacity:0;position:absolute;right:0;top:0;transition:opacity .3s ease}.image-container:hover .image-overlay{opacity:1}.expand-icon{color:#fff;font-size:2rem;text-shadow:0 2px 4px #00000080}.media-controls{padding:15px}.image-title{color:#fff;font-size:1rem;font-weight:500;margin:0 0 10px}.convert-video-btn{align-items:center;background:linear-gradient(135deg,#666,#555);border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;font-size:.9rem;font-weight:500;gap:6px;justify-content:center;padding:8px 12px;transition:all .2s ease;width:100%}.convert-video-btn:hover:not(:disabled){background:linear-gradient(135deg,#777,#666);box-shadow:0 4px 12px #6666664d;transform:translateY(-1px)}.convert-video-btn.disabled,.convert-video-btn:disabled{background:linear-gradient(135deg,#666,#555);cursor:not-allowed;opacity:.5;transform:none}.convert-video-btn.disabled:hover{box-shadow:none;transform:none}.convert-video-btn.converting{background:linear-gradient(135deg,#fdcb6e,#e17055)}.loading-spinner{border:2px solid #ffffff4d;border-top-color:#fff}.media-modal-overlay{align-items:center;background:#000000e6;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1000}.media-modal{background:#242424;border-radius:12px;box-shadow:0 20px 60px #000c;display:flex;flex-direction:column;max-height:90vh;max-width:90vw;overflow:hidden}.modal-header{background:#1a1a1a;border-bottom:1px solid #333;padding:15px 20px}.modal-header h3{color:#fff;font-size:1.2rem}.close-button{color:#ccc;font-size:1.5rem;padding:5px}.close-button:hover{background:#ffffff1a}.modal-content{flex:1 1;min-height:400px}.image-display,.modal-content{align-items:center;display:flex;justify-content:center}.image-display{max-height:70vh;max-width:100%}.image-display img{border-radius:8px;max-height:100%;max-width:100%;object-fit:contain}.nav-button{background:#000000b3;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:2rem;padding:15px 20px;position:absolute;top:50%;transform:translateY(-50%);transition:all .2s ease;z-index:10}.nav-button:hover{background:#000000e6;color:#50c878}.prev-button{left:20px}.next-button{right:20px}.modal-footer{align-items:center;background:#1a1a1a;border-top:1px solid #333;display:flex;justify-content:space-between;padding:15px 20px}.image-counter{color:#ccc;font-size:.9rem}.modal-convert-btn{align-items:center;background:linear-gradient(135deg,#666,#555);border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;font-size:.9rem;font-weight:500;gap:6px;padding:8px 16px;transition:all .2s ease}.modal-convert-btn:hover:not(:disabled){background:linear-gradient(135deg,#777,#666);transform:translateY(-1px)}.modal-convert-btn.disabled,.modal-convert-btn:disabled{background:linear-gradient(135deg,#666,#555);cursor:not-allowed;opacity:.5}.modal-convert-btn.disabled:hover{transform:none}.no-content-message{color:#999;font-style:italic;padding:40px 20px;text-align:center}@media (max-width:768px){.media-grid{gap:15px;grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.media-modal{max-height:95vh;max-width:95vw}.nav-button{font-size:1.5rem;padding:10px 15px}.prev-button{left:10px}.next-button{right:10px}.modal-footer{flex-direction:column;gap:10px}}@media (max-width:480px){.media-grid{grid-template-columns:1fr}.media-modal-overlay{padding:10px}.nav-button{font-size:1.2rem;padding:8px 12px}}.gallery-tabs{border-bottom:1px solid #333;display:flex;margin-bottom:20px}.gallery-tab{background:none;border:none;border-bottom:2px solid #0000;color:#ccc;cursor:pointer;font-size:14px;padding:12px 20px;transition:all .3s ease}.gallery-tab:hover{background:#ffffff1a;color:#fff}.gallery-tab.active{border-bottom-color:#ff6b6b;color:#ff6b6b}.image-details{color:#999;font-size:12px;margin-top:8px}.image-details span{display:block;margin-bottom:4px}.generated-image-info{color:#ccc;font-size:12px;margin-top:10px}.generated-image-info div{margin-bottom:6px}.generated-image-info strong{color:#fff}.image-actions{margin-top:8px}.delete-image-btn{background:#ff4757;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:12px;padding:4px 8px;transition:all .2s ease}.delete-image-btn:hover{background:#ff3838;transform:translateY(-1px)}.delete-image-btn:active{transform:translateY(0)}.modal-actions{display:flex;justify-content:center;margin-top:12px}.modal-delete-btn{background:#ff4757;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;padding:8px 16px;transition:all .2s ease}.modal-delete-btn:hover{background:#ff3838;transform:translateY(-1px)}.modal-delete-btn:active{transform:translateY(0)}.character-details2-container{align-items:center;background:linear-gradient(135deg,#0d0d0d,#151515 25%,#1c1c1c 50%,#242424);background:linear-gradient(135deg,var(--darkest-bg) 0,var(--darker-bg) 25%,var(--dark-bg) 50%,var(--medium-bg) 100%);background-image:radial-gradient(circle at 20% 80%,#50c87814 0,#0000 50%),radial-gradient(circle at 80% 20%,#50c8780a 0,#0000 50%),radial-gradient(circle at 40% 40%,hsla(0,0%,100%,.015) 0,#0000 50%);box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-start;min-height:100vh;padding:20px 0;position:relative;width:100%;z-index:1}.character-details2-character-background{bottom:0;left:0;position:fixed;right:0;top:0;z-index:0}.character-details2-character-background:after{background:#0000001a;bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:0}.character-details2-content-wrapper{box-sizing:border-box;margin:0 auto;max-width:1200px;padding:0 20px;position:relative;transition:filter .3s ease;width:100%;z-index:2}.character-details2-content-blurred{filter:blur(5px);pointer-events:none;-webkit-user-select:none;user-select:none}.character-details2-section-card{animation:character-details2-slideUp .6s ease;backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);background:#0000004d;border:1px solid #ffffff1a;border-radius:16px;border-radius:var(--radius-large);box-shadow:0 20px 40px #0006,0 8px 16px #0003,inset 0 1px 0 #ffffff1a;box-sizing:border-box;margin-bottom:24px;overflow:hidden;padding:32px;position:relative;width:100%}.character-details2-section-card:before{background:linear-gradient(90deg,#0000,#50c878,#0000);background:linear-gradient(90deg,#0000,var(--primary-color),#0000);content:"";height:1px;left:0;opacity:.5;position:absolute;right:0;top:0}@keyframes character-details2-slideUp{0%{opacity:0;transform:translateY(30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.character-details2-header{margin-bottom:30px;width:100%}.character-details2-info-container{align-items:stretch;box-sizing:border-box;display:flex;flex-wrap:wrap;gap:30px;max-width:100%;width:100%}.character-details2-image-wrapper{flex-shrink:0;position:relative}.character-details2-image{border:2px solid #50c8784d;border-radius:8px;border-radius:var(--radius);box-shadow:0 8px 16px #0000004d,0 4px 8px #50c87833;height:320px;object-fit:cover;transition:all .3s ease;transition:var(--transition);width:240px}.character-details2-image:hover{box-shadow:0 12px 24px #0006,0 6px 12px #50c8784d;transform:scale(1.02)}.character-details2-rating-badge{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#000000b3;border:1px solid #fff3;border-radius:4px;color:#fff;font-size:.85rem;font-weight:600;letter-spacing:.5px;min-width:20px;padding:4px 8px;position:absolute;right:10px;text-align:center;top:10px}.character-details2-summary{display:flex;flex-direction:column;flex-grow:1;justify-content:space-between;max-width:100%;min-width:0;overflow-wrap:break-word}.character-details2-name{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#50c878,#6ac995);background:linear-gradient(135deg,var(--primary-color),#6ac995);-webkit-background-clip:text;background-clip:text;font-size:2.5rem;font-weight:700;letter-spacing:-1px;line-height:1.2;margin:0;text-shadow:0 4px 8px #50c87833}.character-details2-meta{align-items:center;display:flex;flex-wrap:wrap;gap:15px;margin-bottom:15px}.character-details2-stats{align-items:center;display:flex;gap:12px}.character-details2-stat{align-items:center;color:#999;color:var(--text-muted);display:flex;font-size:.95rem}.character-details2-stat-icon{margin-right:4px}.character-details2-nsfw-tag{background-color:#ff6b6b1a;border:1px solid #ff6b6b4d;border-radius:4px;color:#ff6b6b;font-size:.75rem;font-weight:600;padding:2px 6px}.character-details2-creator{color:#999;color:var(--text-muted);font-size:.95rem}.character-details2-creator-name{color:#50c878;color:var(--primary-color);font-weight:500}.character-details2-rating{font-size:1.2rem;margin-left:auto}.character-details2-header-details{display:flex;flex:1 1;flex-direction:column;gap:20px;margin-bottom:20px}.character-details2-header-credits h3,.character-details2-header-traits h3,.character-details2-story-preview h3{border-bottom:1px solid #50c8784d;color:#50c878;color:var(--primary-color);font-size:1.1rem;margin:0 0 8px;padding-bottom:5px}.character-details2-story-text{color:#ddd;color:var(--text-light);font-size:.95rem;line-height:1.6;margin:0}.character-details2-toggle-story-btn{background:none;border:none;color:#50c878;color:var(--primary-color);cursor:pointer;font-size:.85rem;margin-top:5px;padding:0;text-decoration:underline;transition:all .3s ease;transition:var(--transition)}.character-details2-toggle-story-btn:hover{color:#6fe99e}.character-details2-header-traits .character-details2-traits-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:5px}.character-details2-trait-tag{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#50c8781a;border:1px solid #50c8784d;border-radius:15px;color:#50c878;color:var(--primary-color);font-size:.85rem;padding:4px 10px}.character-details2-header-credits .character-details2-credits-names-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:5px}.character-details2-credit-name-button{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#007bff1a;border:1px solid #007bff4d;border-radius:15px;color:#007bff;cursor:pointer;font-size:.85rem;padding:4px 10px;transition:all .3s ease;transition:var(--transition)}.character-details2-credit-name-button:hover{background:#007bff33;border-color:#007bff80;color:#66b3ff;transform:translateY(-1px)}.character-details2-action-buttons{display:flex;gap:12px;margin-top:auto}.character-details2-generate-video-button,.character-details2-start-chat-button{background:linear-gradient(135deg,#50c878,#48a862);background:linear-gradient(135deg,var(--primary-color),var(--primary-dark));border:none;border-radius:8px;border-radius:var(--radius);box-shadow:0 8px 16px #50c8784d,0 4px 8px #0003;color:#0d0d0d;color:var(--darkest-bg);cursor:pointer;font-size:1rem;font-weight:700;padding:12px 20px;transition:all .3s ease;transition:var(--transition)}.character-details2-generate-video-button:hover,.character-details2-start-chat-button:hover{background:linear-gradient(135deg,#5cd68a,#50c878);background:linear-gradient(135deg,#5cd68a,var(--primary-color));box-shadow:0 12px 24px #50c87866,0 6px 12px #0000004d;transform:translateY(-2px)}.character-details2-generate-video-button{background:linear-gradient(135deg,#666,#555);color:#fff;opacity:.7}.character-details2-generate-video-button:hover{background:linear-gradient(135deg,#777,#666);opacity:.8}.character-details2-tabs-navigation{display:flex;gap:10px;margin-bottom:20px;max-width:1200px;overflow-x:auto;padding-bottom:5px;width:100%}.character-details2-tab-button{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;border-radius:var(--radius);color:#999;color:var(--text-muted);cursor:pointer;font-size:.95rem;padding:10px 20px;transition:all .3s ease;transition:var(--transition);white-space:nowrap}.character-details2-tab-button.active{background:linear-gradient(135deg,#50c878,#48a862);background:linear-gradient(135deg,var(--primary-color),var(--primary-dark));box-shadow:0 4px 8px #50c8784d;color:#0d0d0d;color:var(--darkest-bg);font-weight:600}.character-details2-tab-button:hover:not(.active){background:#ffffff1a;color:#fff;color:var(--text-color);transform:translateY(-1px)}.character-details2-tab-content{backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);background:#0003;border:1px solid #ffffff14;border-radius:16px;border-radius:var(--radius-large);box-shadow:0 20px 40px #0000004d,0 8px 16px #0003,inset 0 1px 0 #ffffff1a;box-sizing:border-box;max-width:1200px;padding:25px;width:100%}.character-details2-commands-tab h3{color:#50c878;color:var(--primary-color);font-size:1.2rem;margin:0 0 20px}.character-details2-stop-scripts-section{margin-bottom:20px;text-align:center}.character-details2-stop-all-btn{background:linear-gradient(135deg,#dc3545,#c82333);border:none;border-radius:8px;border-radius:var(--radius);box-shadow:0 4px 8px #dc35454d;color:#fff;cursor:pointer;font-size:14px;font-weight:700;padding:10px 20px;transition:all .3s ease;transition:var(--transition)}.character-details2-stop-all-btn:hover{background:linear-gradient(135deg,#c82333,#bd2130);box-shadow:0 8px 16px #dc354566;transform:translateY(-2px)}.character-details2-controller-info{color:#999;color:var(--text-muted);font-size:12px;margin-bottom:0;margin-top:5px}.character-details2-neural-commands-section{margin-bottom:30px}.character-details2-neural-description{color:#999;color:var(--text-muted);margin-bottom:20px}.character-details2-section-divider{background:linear-gradient(90deg,#0000,#ffffff1a,#0000);border:none;height:1px;margin:30px 0}.character-details2-command-cards{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.character-details2-command-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;border-radius:var(--radius);box-shadow:0 4px 8px #0000001a;display:flex;flex-direction:column;gap:12px;padding:15px;transition:all .3s ease;transition:var(--transition)}.character-details2-command-card:hover{background:#ffffff14;border-color:#50c8784d;box-shadow:0 12px 24px #0003,0 6px 12px #50c8781a;transform:translateY(-4px)}.character-details2-command-card h4{color:#50c878;color:var(--primary-color);font-family:monospace;font-size:1.1rem;font-weight:600;margin:0 0 8px;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap}.character-details2-command-card p{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#ddd;color:var(--text-light);color:#999;color:var(--text-muted);display:-webkit-box;flex-grow:0;font-size:.9rem;font-style:italic;line-height:1.5;margin:0;max-height:3em;overflow:hidden;text-align:center}.character-details2-command-preview-features{align-items:center;display:flex;justify-content:space-between;margin:5px 0}.character-details2-feature-badges{display:flex;flex-wrap:wrap;gap:5px;justify-content:center;margin-top:2px}.character-details2-feature-badge{align-items:center;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);border-radius:12px;display:inline-flex;font-size:.7rem;font-weight:500;padding:3px 8px}.character-details2-funscript-badge{background:#50c87833;border:1px solid #50c8784d;color:#50c878;color:var(--primary-color)}.character-details2-audio-badge{background:#64a0ff33;border:1px solid #64a0ff4d;color:#64a0ff}.character-details2-image-badge{background:#fa8c2833;border:1px solid #fa8c284d;color:#fa8c28}.character-details2-neural-badge{background:#4ecdc433;border:1px solid #4ecdc44d;color:#4ecdc4}.character-details2-preview-buttons{display:flex;gap:8px}.character-details2-audio-preview-btn,.character-details2-image-preview-btn{align-items:center;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#ffffff1a;border:none;border-radius:50%;color:#ddd;color:var(--text-light);cursor:pointer;display:flex;height:30px;justify-content:center;transition:all .3s ease;transition:var(--transition);width:30px}.character-details2-audio-preview-btn{font-size:1.1rem}.character-details2-audio-preview-btn:hover{background:#64a0ff4d;color:#64a0ff}.character-details2-audio-preview-btn.playing{animation:character-details2-pulse-audio 1.5s infinite;background:#64a0ff66;color:#fff}@keyframes character-details2-pulse-audio{0%{box-shadow:0 0 0 0 #64a0ff80}70%{box-shadow:0 0 0 6px #64a0ff00}to{box-shadow:0 0 0 0 #64a0ff00}}.character-details2-image-preview-btn{padding:5px}.character-details2-image-preview-btn:hover{background:#fa8c284d;color:#fa8c28}.character-details2-image-preview-btn svg{height:18px;width:18px}.character-details2-command-image-preview{border-radius:8px;border-radius:var(--radius);height:140px;margin:5px 0;overflow:hidden;position:relative;width:100%}.character-details2-command-image-preview img{cursor:pointer;height:100%;object-fit:cover;transition:all .3s ease;transition:var(--transition);width:100%}.character-details2-command-image-preview img:hover{transform:scale(1.05)}.character-details2-no-commands-message{color:#999;color:var(--text-muted);font-style:italic;grid-column:1/-1;padding:30px 0;text-align:center;width:100%}.character-details2-test-funscript-btn{align-self:center;background:linear-gradient(135deg,#50c878,#48a862);background:linear-gradient(135deg,var(--primary-color),var(--primary-dark));border:none;border-radius:8px;border-radius:var(--radius);box-shadow:0 2px 4px #50c8784d;color:#0d0d0d;color:var(--darkest-bg);cursor:pointer;display:block;font-size:.85rem;font-weight:700;margin-top:5px;padding:8px 12px;transition:all .3s ease;transition:var(--transition)}.character-details2-test-funscript-btn:hover:not(:disabled){background:linear-gradient(135deg,#5cd68a,#50c878);background:linear-gradient(135deg,#5cd68a,var(--primary-color));box-shadow:0 4px 8px #50c87866;transform:translateY(-1px)}.character-details2-test-funscript-btn:disabled{background:linear-gradient(135deg,#48a862,#3a9c5a);background:linear-gradient(135deg,var(--primary-dark),#3a9c5a);cursor:wait;opacity:.7}.character-details2-test-funscript-btn.testing{animation:character-details2-testing-pulse 1.5s infinite}@keyframes character-details2-testing-pulse{0%{opacity:.7}50%{opacity:1}to{opacity:.7}}.character-details2-guide-tab{display:flex;flex-direction:column;gap:25px;width:100%}.character-details2-guide-tab h3{border-bottom:1px solid #50c8784d;color:#50c878;color:var(--primary-color);font-size:1.2rem;margin:0 0 12px;padding-bottom:8px}.character-details2-user-guide-content{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#50c8780d;border:1px solid #50c87833;border-radius:16px;border-radius:var(--radius-large);box-shadow:0 8px 16px #0000001a;padding:25px}.character-details2-user-guide-content h3{border-bottom:2px solid #50c8784d;color:#50c878;color:var(--primary-color);font-size:1.4rem;font-weight:600;margin:0 0 20px;padding-bottom:12px;text-align:center}.character-details2-guide-text{color:#fff;color:var(--text-color);font-size:.95rem;line-height:1.8;max-width:100%;overflow-wrap:break-word}.character-details2-guide-paragraph{word-wrap:break-word;line-height:1.7;margin:0 0 16px;overflow-wrap:break-word;padding:0}.character-details2-guide-main-header{border-bottom:2px solid #50c87866!important;color:#50c878!important;color:var(--primary-color)!important;font-size:1.3rem!important;font-weight:700!important;margin:30px 0 20px!important;padding-bottom:10px!important;text-align:center}.character-details2-guide-sub-header{border-bottom:1px solid #64a0ff4d!important;color:#64a0ff!important;font-size:1.15rem!important;font-weight:600!important;margin:25px 0 15px!important;padding-bottom:6px!important}.character-details2-guide-stage-header{-webkit-backdrop-filter:blur(10px)!important;backdrop-filter:blur(10px)!important;background:#ffc1071a!important;border-left:4px solid #ffc107!important;border-radius:8px!important;border-radius:var(--radius)!important;color:#ffc107!important;font-size:1.1rem!important;font-weight:600!important;margin:20px 0 15px!important;padding:12px 15px!important}.character-details2-guide-bold-content{margin:12px 0!important}.character-details2-guide-bold-content strong{color:#50c878;color:var(--primary-color);font-weight:700}.character-details2-guide-bullet-point{margin:8px 0 8px 20px!important;padding-left:15px;position:relative}.character-details2-guide-bullet-point:before{color:#50c878;color:var(--primary-color);content:"•";font-weight:700;left:0;position:absolute}.character-details2-guide-quoted-text{-webkit-backdrop-filter:blur(10px)!important;backdrop-filter:blur(10px)!important;background:#64a0ff1a!important;border-left:3px solid #64a0ff!important;border-radius:8px!important;border-radius:var(--radius)!important;color:#e8f4ff!important;font-style:italic;margin:12px 0!important;padding:10px 15px!important}.character-details2-guide-command-ref{background:#50c8781a;border:1px solid #50c8784d;color:#50c878;color:var(--primary-color);font-family:monospace;font-size:.9rem;margin:8px 0;padding:8px 12px}.character-details2-guide-command-ref,.character-details2-no-guide-message{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:8px;border-radius:var(--radius)}.character-details2-no-guide-message{background:#ffffff05;border:1px dashed #fff3;padding:40px 20px;text-align:center}.character-details2-no-guide-message h3{color:#999;color:var(--text-muted);font-size:1.2rem;margin:0 0 15px}.character-details2-no-guide-message p{color:#999;color:var(--text-muted);font-style:italic;line-height:1.6;margin-bottom:25px}.character-details2-character-info-fallback{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0003;border:1px solid #ffffff1a;border-radius:8px;border-radius:var(--radius);padding:20px;text-align:left}.character-details2-character-info-fallback h4,.character-details2-goals-container h5,.character-details2-interaction-container h5,.character-details2-reaction-container h5{border-bottom:1px solid #50c8784d;color:#50c878;color:var(--primary-color);font-size:1.1rem;margin:0 0 15px;padding-bottom:8px}.character-details2-character-info-fallback p,.character-details2-goals-container p,.character-details2-interaction-container p,.character-details2-reaction-container p{color:#ddd;color:var(--text-light);line-height:1.6;margin:0 0 12px}.character-details2-chat-data-tab{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#0003;border-radius:8px;border-radius:var(--radius);color:#fff;color:var(--text-color);padding:20px}.character-details2-chat-data-tab h3{color:#50c878;color:var(--primary-color);font-size:1.5rem;margin-bottom:20px;text-align:center}.character-details2-debug-sections{display:flex;flex-direction:column;gap:20px}.character-details2-debug-section{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border-left:4px solid #50c878;border-left:4px solid var(--primary-color);border-radius:8px;border-radius:var(--radius);padding:15px}.character-details2-debug-section h4{color:#50c878;color:var(--primary-color);font-size:1.2rem;margin:0 0 15px}.character-details2-stats-grid{grid-gap:10px;display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.character-details2-stats-grid div{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#ffffff0d;border-radius:8px;border-radius:var(--radius);font-size:.9rem;padding:8px 12px}.character-details2-character-level-display{-webkit-backdrop-filter:blur(15px)!important;backdrop-filter:blur(15px)!important;background:linear-gradient(135deg,#0000004d,#2a2a2a4d)!important;border:2px solid #50c878!important;border:2px solid var(--primary-color)!important;border-radius:16px!important;border-radius:var(--radius-large)!important;box-shadow:0 8px 16px #50c87833;margin-bottom:20px!important;padding:16px!important;text-align:center!important;transition:all .3s ease;transition:var(--transition)}.character-details2-character-level-display:hover{border-color:#6fe99e;box-shadow:0 12px 24px #50c8784d;transform:translateY(-2px)}.character-details2-character-level-display>div:first-child{color:#50c878!important;color:var(--primary-color)!important;font-size:28px!important;font-weight:700!important;margin-bottom:6px;text-shadow:0 2px 4px #50c8784d}.character-details2-character-level-display>div:nth-child(2){color:#ddd!important;color:var(--text-light)!important;font-size:16px!important;font-weight:500;margin-top:6px!important}.character-details2-character-level-display>div:last-child{color:#999!important;color:var(--text-muted)!important;font-size:13px!important;font-style:italic;margin-top:4px!important}.character-details2-token-summary{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0000004d;border-radius:8px;border-radius:var(--radius);margin-top:10px;padding:15px}.character-details2-token-breakdown{display:flex;flex-direction:column;gap:8px}.character-details2-token-breakdown>div{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#ffffff0d;border-radius:8px;border-radius:var(--radius);font-size:.9rem;padding:8px 12px}.character-details2-token-breakdown>div:last-child{background:#50c8781a!important;border-top:1px solid #50c878!important;border-top:1px solid var(--primary-color)!important;color:#50c878;color:var(--primary-color);font-weight:600}.character-details2-token-breakdown>div:nth-last-child(2){background:#ffffff08!important;color:#999!important;color:var(--text-muted)!important;font-size:12px!important;padding:6px 12px!important}.character-details2-refresh-button{background:linear-gradient(135deg,#50c878,#48a862);background:linear-gradient(135deg,var(--primary-color),var(--primary-dark));border:none;border-radius:8px;border-radius:var(--radius);box-shadow:0 4px 8px #50c8784d;color:#0d0d0d;color:var(--darkest-bg);cursor:pointer;font-size:.9rem;font-weight:600;padding:10px 20px;transition:all .3s ease;transition:var(--transition)}.character-details2-refresh-button:hover:not(:disabled){background:linear-gradient(135deg,#5cd68a,#50c878);background:linear-gradient(135deg,#5cd68a,var(--primary-color));box-shadow:0 6px 12px #50c87866;transform:translateY(-1px)}.character-details2-refresh-button:disabled{background:#ffffff1a;color:#999;color:var(--text-muted);cursor:not-allowed}.character-details2-debug-timestamp{color:#999;color:var(--text-muted);font-style:italic;margin-top:20px;text-align:center}.character-details2-loading-message{color:#50c878;color:var(--primary-color);font-size:1.1rem;padding:40px;text-align:center}.character-details2-no-content-message{color:#999;color:var(--text-muted);font-style:italic;padding:40px;text-align:center}.character-details2-reviews-tab h3{color:#50c878;color:var(--primary-color);font-size:1.2rem;margin:0 0 20px}.character-details2-review-summary{margin-bottom:20px}.character-details2-review-stats{display:flex;gap:30px;justify-content:center;margin-bottom:20px}.character-details2-stat-item{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;border-radius:var(--radius);display:flex;flex-direction:column;padding:20px}.character-details2-stat-value{color:#50c878;color:var(--primary-color);font-size:1.8rem;font-weight:700}.character-details2-stat-label{color:#999;color:var(--text-muted);font-size:.9rem}.character-details2-memories-tab{display:flex;flex-direction:column;gap:30px;width:100%}.character-details2-memories-tab h3{border-bottom:2px solid #50c8784d;color:#50c878;color:var(--primary-color);font-size:1.4rem;margin:0 0 15px;padding-bottom:10px;text-align:center}.character-details2-login-required-message{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff05;border:1px dashed #fff3;border-radius:16px;border-radius:var(--radius-large);padding:40px 20px;text-align:center}.character-details2-login-required-message p{color:#999;color:var(--text-muted);font-size:1.1rem;margin-bottom:20px}.character-details2-loading-memories{color:#50c878;color:var(--primary-color);font-size:1.1rem;padding:40px 20px;text-align:center}.character-details2-memories-content{display:flex;flex-direction:column;gap:30px}.character-details2-memory-section{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#ffffff05;border:1px solid #ffffff1a;border-radius:16px;border-radius:var(--radius-large);padding:25px}.character-details2-memory-section h4{color:#50c878;color:var(--primary-color);font-size:1.2rem;font-weight:600;margin:0 0 8px}.character-details2-section-description{color:#999;color:var(--text-muted);font-size:.9rem;font-style:italic;margin-bottom:20px}.character-details2-memory-cards{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}.character-details2-memory-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;border-radius:var(--radius);overflow:hidden;padding:20px;position:relative;transition:all .3s ease;transition:var(--transition)}.character-details2-memory-card:hover{border-color:#50c8784d;box-shadow:0 8px 25px #50c87826;transform:translateY(-3px)}.character-details2-memory-card:before{background:linear-gradient(45deg,#50c878,#6fe99e);background:linear-gradient(45deg,var(--primary-color),#6fe99e);content:"";height:100%;left:0;opacity:.7;position:absolute;top:0;width:4px}.character-details2-memory-header{align-items:flex-start;display:flex;gap:10px;justify-content:space-between;margin-bottom:12px}.character-details2-memory-header h5{color:#fff;color:var(--text-color);flex:1 1;font-size:1.1rem;font-weight:600;line-height:1.3;margin:0}.character-details2-memory-type{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);border-radius:12px;flex-shrink:0;font-size:.75rem;font-weight:600;letter-spacing:.5px;padding:4px 12px;text-transform:uppercase;white-space:nowrap}.character-details2-memory-type.global{background:#50c87833;border:1px solid #50c8784d;color:#50c878;color:var(--primary-color)}.character-details2-memory-type.character{background:#64a0ff33;border:1px solid #64a0ff4d;color:#64a0ff}.character-details2-memory-content{color:#ddd;color:var(--text-light);font-size:.95rem;line-height:1.6;margin:12px 0 15px}.character-details2-memory-meta{align-items:center;border-top:1px solid #ffffff1a;display:flex;font-size:.85rem;justify-content:space-between;margin-top:15px;padding-top:12px}.character-details2-memory-date,.character-details2-memory-meta{color:#999;color:var(--text-muted)}.character-details2-memory-source{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#ffffff0d;border-radius:8px;border-radius:var(--radius);color:#ddd;color:var(--text-light);font-size:.8rem;padding:3px 8px}.character-details2-no-memories{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff05;border:1px dashed #50c8784d;border-radius:8px;border-radius:var(--radius);padding:30px 20px;text-align:center}.character-details2-no-memories p{color:#999;color:var(--text-muted);font-size:1rem;line-height:1.6;margin:0}.character-details2-link-button{background:none;border:none;color:#50c878;color:var(--primary-color);cursor:pointer;font-size:inherit;font-weight:600;margin:0 4px;padding:0;text-decoration:underline;transition:all .3s ease;transition:var(--transition)}.character-details2-link-button:hover{color:#6fe99e}.character-details2-memory-actions{padding:20px 0;text-align:center}.character-details2-login-btn,.character-details2-manage-memories-btn{align-items:center;background:linear-gradient(45deg,#50c878,#6fe99e);background:linear-gradient(45deg,var(--primary-color),#6fe99e);border:none;border-radius:8px;border-radius:var(--radius);box-shadow:0 4px 8px #50c8784d;color:#0d0d0d;color:var(--darkest-bg);cursor:pointer;display:inline-flex;font-size:1rem;font-weight:600;gap:8px;padding:12px 24px;transition:all .3s ease;transition:var(--transition)}.character-details2-login-btn:hover,.character-details2-manage-memories-btn:hover{background:linear-gradient(45deg,#5cd68a,#50c878);background:linear-gradient(45deg,#5cd68a,var(--primary-color));box-shadow:0 8px 16px #50c87866;transform:translateY(-2px)}.character-details2-loading-full-data{align-items:center;color:#999;color:var(--text-muted);display:flex;flex-direction:column;justify-content:center;padding:40px 20px;text-align:center}.character-details2-loading-full-data p{color:#999;color:var(--text-muted);font-size:1rem;margin:0 0 20px}.character-details2-loading-spinner{animation:character-details2-spin 1s linear infinite;border:4px solid #ffffff1a;border-radius:50%;border-top-color:#50c878;border-top:4px solid var(--primary-color);height:40px;margin:0 auto;width:40px}@keyframes character-details2-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.character-details2-modal-overlay{align-items:center;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#000c;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.character-details2-login-modal{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#0006;border:1px solid #ffffff1a;border-radius:16px;border-radius:var(--radius-large);box-shadow:0 20px 40px #00000080,inset 0 1px 0 #ffffff1a;max-width:400px;padding:25px;text-align:center;width:90%}.character-details2-login-modal h3{color:#50c878;color:var(--primary-color);font-size:1.5rem;margin-bottom:15px;margin-top:0}.character-details2-login-modal p{color:#ddd;color:var(--text-light);line-height:1.5;margin-bottom:20px}.character-details2-modal-buttons{display:flex;gap:10px;justify-content:center}.character-details2-cancel-btn{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1a;border:1px solid #fff3;border-radius:8px;border-radius:var(--radius);color:#fff;color:var(--text-color);cursor:pointer;padding:8px 15px;transition:all .3s ease;transition:var(--transition)}.character-details2-cancel-btn:hover{background:#ffffff26;border-color:#ffffff4d;transform:translateY(-1px)}.character-details2-image-preview-modal{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#000000e6;border-radius:8px;border-radius:var(--radius);max-height:90vh;max-width:800px;overflow:hidden;position:relative;width:90%}.character-details2-modal-header{background:none;border:none;position:absolute;right:0;top:0;z-index:10}.character-details2-close-button{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#000000b3;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:1.5rem;height:32px;justify-content:center;margin:10px;transition:all .3s ease;transition:var(--transition);width:32px}.character-details2-close-button:hover{background:#fff3;transform:scale(1.1)}.character-details2-image-preview-modal img{height:auto;max-height:80vh;object-fit:contain;width:100%}@media (max-width:900px){.character-details2-info-container{align-items:center;flex-direction:column;text-align:center}.character-details2-summary{align-items:center}.character-details2-meta{justify-content:center}.character-details2-rating{margin-left:0;margin-top:5px}.character-details2-header-details{align-items:center;text-align:left;width:100%}.character-details2-action-buttons{justify-content:center;margin-top:20px}.character-details2-tabs-navigation{justify-content:flex-start;padding-bottom:10px}.character-details2-command-cards{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}}@media (max-width:600px){.character-details2-container{padding:15px}.character-details2-name{font-size:1.8rem}.character-details2-image{height:280px;width:200px}.character-details2-command-cards{grid-template-columns:1fr}.character-details2-action-buttons{flex-direction:column;width:100%}.character-details2-generate-video-button,.character-details2-start-chat-button{width:100%}.character-details2-tab-content{box-sizing:border-box;max-width:100%;padding:15px 10px;width:100%}.character-details2-memory-cards{gap:15px;grid-template-columns:1fr}.character-details2-memory-section{padding:20px}}@media (max-width:400px){.character-details2-container{padding:10px 5px}.character-details2-section-card{padding:20px}.character-details2-info-container{gap:15px}.character-details2-image{height:210px;width:150px}.character-details2-name{font-size:1.4rem;word-break:break-word}.character-details2-meta{gap:5px;margin-bottom:10px}.character-details2-header-details{gap:10px}.character-details2-tab-content{border-radius:8px;border-radius:var(--radius);padding:10px 5px}.character-details2-memory-card,.character-details2-memory-section{padding:15px}}@media (prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.character-details2-section-card{animation:none}}.character-details2-pattern-item,.character-details2-tier-anchor,.character-details2-tier-message,.character-details2-tier-summary{align-items:flex-start;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;border-radius:var(--radius);display:flex;gap:12px;justify-content:space-between;margin-bottom:12px;padding:16px}.character-details2-pattern-content,.character-details2-tier-anchor-content,.character-details2-tier-message-content,.character-details2-tier-summary-content{color:#ddd;color:var(--text-light);flex:1 1;line-height:1.5}.character-details2-pattern-content strong,.character-details2-tier-anchor-content strong,.character-details2-tier-message-content strong,.character-details2-tier-summary-content strong{color:#50c878;color:var(--primary-color)}.character-details2-delete-tier-item-btn{align-items:center;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#50c8781a;border:1px solid #50c8784d;border-radius:8px;border-radius:var(--radius);color:#50c878;color:var(--primary-color);cursor:pointer;display:flex;flex-shrink:0;font-size:14px;height:28px;justify-content:center;min-width:28px;padding:4px 8px;transition:all .3s ease;transition:var(--transition)}.character-details2-delete-tier-item-btn:hover{background:#50c87833;border-color:#50c87880;transform:translateY(-1px)}.character-details2-bulk-operations{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}.character-details2-bulk-delete-btn{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ff98001a;border:1px solid #ff98004d;border-radius:8px;border-radius:var(--radius);color:#ffb74d;cursor:pointer;font-size:.9rem;font-weight:500;letter-spacing:.5px;padding:12px 16px;text-transform:uppercase;transition:all .3s ease;transition:var(--transition)}.character-details2-bulk-delete-btn:hover{background:#ff980033;border-color:#ff980080;transform:translateY(-1px)}.character-details2-bulk-delete-btn.character-details2-recent-messages{background:#2196f31a;border-color:#2196f34d;color:#64b5f6}.character-details2-bulk-delete-btn.character-details2-recent-messages:hover{background:#2196f333;border-color:#2196f380}.character-details2-bulk-delete-btn.character-details2-summaries{background:#9c27b01a;border-color:#9c27b04d;color:#ba68c8}.character-details2-bulk-delete-btn.character-details2-summaries:hover{background:#9c27b033;border-color:#9c27b080}.character-details2-bulk-delete-btn.character-details2-anchors{background:#f443361a;border-color:#f443364d;color:#e57373}.character-details2-bulk-delete-btn.character-details2-anchors:hover{background:#f4433633;border-color:#f4433680}.character-details2-bulk-delete-btn.character-details2-patterns{background:#ffc1071a;border-color:#ffc1074d;color:#ffd54f}.character-details2-bulk-delete-btn.character-details2-patterns:hover{background:#ffc10733;border-color:#ffc10780}.character-details2-collection-header{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(135deg,#50c8781a,#50c8780d);border:1px solid #50c8784d;border-radius:16px;border-radius:var(--radius-large);box-shadow:0 4px 6px #0000004d;box-shadow:var(--shadow);margin-bottom:30px;padding:20px}.character-details2-collection-header-top{align-items:center;display:flex;flex-wrap:wrap;gap:15px;justify-content:space-between;margin-bottom:15px}.character-details2-collection-header h3{color:#50c878;color:var(--primary-color);font-size:1.5rem;font-weight:600;margin:0}.character-details2-collection-dropdown{background:#0000004d;border:1px solid #50c8784d;border-radius:8px;border-radius:var(--radius);color:#ddd;color:var(--text-light);cursor:pointer;font-size:.95rem;min-width:200px;padding:8px 15px;transition:all .3s ease;transition:var(--transition)}.character-details2-collection-dropdown:hover{background:#0006;border-color:#50c878;border-color:var(--primary-color)}.character-details2-collection-dropdown:disabled{cursor:not-allowed;opacity:.5}.character-details2-collection-dropdown option{background:#1c1c1c;background:var(--dark-bg);color:#ddd;color:var(--text-light)}.character-details2-collection-description{color:#ddd;color:var(--text-light);font-size:1rem;line-height:1.5;margin:0 0 10px}.character-details2-collection-note{color:#999;color:var(--text-muted);font-size:.9rem;font-style:italic;margin:0}.character-details2-collection-commands-section{margin-bottom:30px}.character-details2-collection-commands-section h3{color:#50c878;color:var(--primary-color);font-size:1.3rem;margin-bottom:20px}.character-details2-command-metadata{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0}.character-details2-category-badge,.character-details2-intensity-badge{border-radius:15px;display:inline-block;font-size:.85rem;font-weight:500;padding:4px 10px}.character-details2-category-badge{background:linear-gradient(135deg,#4bc0c033,#4bc0c01a);border:1px solid #4bc0c066;color:#4bc0c0}.character-details2-intensity-badge{background:linear-gradient(135deg,#ff980033,#ff98001a);border:1px solid #ff980066;color:#ff9800}.character-details2-toggle-graph-btn{background:linear-gradient(135deg,#64b5f633,#64b5f61a);border:1px solid #64b5f666;border-radius:8px;color:#64b5f6;cursor:pointer;font-size:.9rem;font-weight:500;margin-left:10px;padding:8px 16px;transition:all .3s ease;transition:var(--transition)}.character-details2-toggle-graph-btn:hover{background:linear-gradient(135deg,#64b5f64d,#64b5f633);transform:translateY(-1px)}.character-details2-funscript-graph{background:#0000004d;border:1px solid #444;border:1px solid var(--border-color);border-radius:8px;border-radius:var(--radius);margin-top:20px;padding:15px}@media (prefers-contrast:high){.character-details2-memory-section,.character-details2-section-card,.character-details2-tab-content{border:2px solid #50c878;border:2px solid var(--primary-color)}.character-details2-command-card{border:2px solid #444;border:2px solid var(--border-color)}}:root{--paymentpage3-primary:#50c878;--paymentpage3-primary-dark:#48a862;--paymentpage3-dark-bg:#1c1c1c;--paymentpage3-darker-bg:#151515;--paymentpage3-darkest-bg:#0d0d0d;--paymentpage3-medium-bg:#242424;--paymentpage3-light-bg:#2d2d2d;--paymentpage3-text:#fff;--paymentpage3-text-light:#ddd;--paymentpage3-text-muted:#999;--paymentpage3-border:#444;--paymentpage3-error:#ff5a5a;--paymentpage3-success:#4caf50;--paymentpage3-warning:#ffc107;--paymentpage3-shadow:0 4px 6px #0000004d;--paymentpage3-transition:all 0.3s ease;--paymentpage3-radius:8px;--paymentpage3-radius-large:16px}.paymentpage3-container{align-items:center;background:linear-gradient(135deg,#0d0d0d,#151515 25%,#1c1c1c 50%,#242424);background:linear-gradient(135deg,var(--paymentpage3-darkest-bg) 0,var(--paymentpage3-darker-bg) 25%,var(--paymentpage3-dark-bg) 50%,var(--paymentpage3-medium-bg) 100%);background-image:radial-gradient(circle at 20% 80%,#50c87814 0,#0000 50%),radial-gradient(circle at 80% 20%,#50c8780a 0,#0000 50%),radial-gradient(circle at 40% 40%,hsla(0,0%,100%,.015) 0,#0000 50%);box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-start;min-height:100vh;padding:20px;position:relative;width:100%;z-index:1}.paymentpage3-container.fullscreen{background-color:#0d0d0d;background-color:var(--paymentpage3-darkest-bg);bottom:0;height:100vh;left:0;margin:0;max-width:100vw;padding:0;position:fixed;right:0;top:0;width:100vw;z-index:1000}.paymentpage3-character-background{bottom:0;left:0;position:fixed;right:0;top:0;z-index:0}.paymentpage3-character-background:after{background:#0000001a;bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:0}.paymentpage3-content-wrapper{align-items:center;box-sizing:border-box;display:flex;flex-direction:column;margin:0 auto;max-width:1200px;padding:0 20px;position:relative;transition:filter .3s ease;width:100%;z-index:2}.paymentpage3-section-card{animation:slideUpPayment3 .6s ease;backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);background:#0000004d;border:1px solid #ffffff1a;border-radius:16px;border-radius:var(--paymentpage3-radius-large);box-shadow:0 20px 40px #0006,0 8px 16px #0003,inset 0 1px 0 #ffffff1a;margin-bottom:24px;padding:32px;position:relative;width:100%}.paymentpage3-section-card:before{background:linear-gradient(90deg,#0000,#50c878,#0000);background:linear-gradient(90deg,#0000,var(--paymentpage3-primary),#0000);content:"";height:1px;left:0;opacity:.5;position:absolute;right:0;top:0}@keyframes slideUpPayment3{0%{opacity:0;transform:translateY(30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.paymentpage3-header{flex-direction:column;gap:1.5rem;margin-bottom:2rem;text-align:center}.paymentpage3-avatar-icon,.paymentpage3-header{align-items:center;display:flex;justify-content:center}.paymentpage3-avatar-icon{background:linear-gradient(135deg,#50c878,#6ac995);background:linear-gradient(135deg,var(--paymentpage3-primary),#6ac995);border:2px solid #50c8784d;border-radius:50%;box-shadow:0 8px 16px #50c8784d,0 4px 8px #0003;cursor:default;flex:0 0 100px;height:100px;overflow:hidden;transition:all .3s ease;width:100px}.paymentpage3-avatar-icon:hover{box-shadow:0 12px 24px #50c87866,0 6px 12px #0000004d;transform:scale(1.05)}.paymentpage3-avatar-icon svg{color:#fff;height:48px;width:48px}.paymentpage3-info{align-items:center;display:flex;flex-direction:column;text-align:center}.paymentpage3-info h1{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#50c878,#6ac995);background:linear-gradient(135deg,var(--paymentpage3-primary),#6ac995);-webkit-background-clip:text;background-clip:text;font-size:2.5rem;font-weight:700;letter-spacing:-1px;margin:0;text-shadow:0 4px 8px #50c87833}.paymentpage3-meta{color:#999;color:var(--paymentpage3-text-muted);font-size:1.1rem;margin:.5rem 0 0;opacity:.8}.paymentpage3-tabs{display:flex;gap:1rem;justify-content:center;margin-bottom:2rem;padding-bottom:1rem;position:relative}.paymentpage3-tabs:after{background:linear-gradient(90deg,#0000,#ffffff1a,#0000);bottom:0;content:"";height:1px;left:0;position:absolute;right:0}.paymentpage3-tabs button{background:none;border:none;border-radius:8px;border-radius:var(--paymentpage3-radius);color:#999;color:var(--paymentpage3-text-muted);cursor:pointer;font-size:1rem;font-weight:500;padding:.8rem 1.5rem;position:relative;transition:all .3s ease;transition:var(--paymentpage3-transition)}.paymentpage3-tabs button:hover{background:#50c8781a;color:#fff;color:var(--paymentpage3-text);transform:translateY(-2px)}.paymentpage3-tabs button.tab-active{background:#50c87826;color:#50c878;color:var(--paymentpage3-primary);font-weight:600}.paymentpage3-tabs button.tab-active:after{background:linear-gradient(90deg,#0000,#50c878,#0000);background:linear-gradient(90deg,#0000,var(--paymentpage3-primary),#0000);bottom:-1rem;content:"";height:2px;left:50%;position:absolute;transform:translateX(-50%);width:60%}.paymentpage3-main-content{margin:0 auto;max-width:1200px}.paymentpage3-main-content,.paymentpage3-section-header{align-items:center;display:flex;flex-direction:column;width:100%}.paymentpage3-section-header{margin-bottom:2rem;text-align:center}.paymentpage3-section-header h2{color:#fff;color:var(--paymentpage3-text);display:block;font-size:1.8rem;font-weight:700;margin:0 auto 24px;position:relative;text-align:center;width:100%}.paymentpage3-section-header h2:after{background:linear-gradient(90deg,#0000,#50c878,#0000);background:linear-gradient(90deg,#0000,var(--paymentpage3-primary),#0000);bottom:-8px;content:"";height:2px;left:50%;position:absolute;transform:translateX(-50%);width:60px}.paymentpage3-plans-section,.paymentpage3-tokens-section{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#0003;border:1px solid #ffffff14;border-radius:16px;border-radius:var(--paymentpage3-radius-large);box-sizing:border-box;margin-bottom:2rem;max-width:1000px;padding:2rem;width:100%}.paymentpage3-balance-display{align-items:center;background:#50c8781a;border:1px solid #50c8784d;border-radius:8px;border-radius:var(--paymentpage3-radius);display:inline-flex;gap:1rem;margin-bottom:2rem;padding:1rem 1.5rem}.paymentpage3-balance-label{color:#999;color:var(--paymentpage3-text-muted);font-size:1rem}.paymentpage3-balance-amount{color:#50c878;color:var(--paymentpage3-primary);font-size:1.2rem;font-weight:600}.paymentpage3-cards-container{align-items:stretch;box-sizing:border-box;display:flex;flex-wrap:wrap;gap:2rem;justify-content:center;margin:0 auto;max-width:100%;padding:0 1rem;width:100%}.paymentpage3-plan-card,.paymentpage3-token-card{background:#ffffff08;border:1px solid #ffffff14;border-radius:16px;border-radius:var(--paymentpage3-radius-large);box-shadow:0 4px 12px #0003;box-sizing:border-box;display:flex;flex-direction:column;margin:0 auto;max-width:380px;padding:1.5rem;position:relative;transition:all .3s ease;transition:var(--paymentpage3-transition);width:100%}.paymentpage3-plan-card:hover,.paymentpage3-token-card:hover{background:#ffffff0d;border-color:#50c8784d;box-shadow:0 8px 25px #50c87826;transform:translateY(-4px)}.paymentpage3-token-card.popular{border-color:#50c878;border-color:var(--paymentpage3-primary);box-shadow:0 8px 25px #50c87826}.paymentpage3-popular-badge{background:linear-gradient(135deg,#50c878,#6ac995);background:linear-gradient(135deg,var(--paymentpage3-primary),#6ac995);border-radius:20px;box-shadow:0 4px 12px #50c8784d;color:#fff;font-size:.9rem;font-weight:700;left:50%;padding:.5rem 1.5rem;position:absolute;top:-10px;transform:translateX(-50%);z-index:2}.paymentpage3-member-badge{background-color:#50c878;background-color:var(--paymentpage3-primary)}.paymentpage3-coming-soon-badge,.paymentpage3-member-badge{border-radius:20px;color:#fff;font-size:.9rem;font-weight:700;padding:.4rem 1rem;position:absolute;right:1rem;top:1rem;z-index:2}.paymentpage3-coming-soon-badge{background:linear-gradient(135deg,#ffc107,#ff9800)}.paymentpage3-card-header{margin-bottom:1.5rem;text-align:center}.paymentpage3-card-header h3{color:#fff;color:var(--paymentpage3-text);font-size:1.8rem;font-weight:600;margin:0 0 1rem}.paymentpage3-price{color:#50c878;color:var(--paymentpage3-primary);font-size:2rem;font-weight:700}.paymentpage3-original-price{display:block;margin-bottom:.25rem;text-decoration:line-through}.paymentpage3-original-price,.paymentpage3-period{color:#999;color:var(--paymentpage3-text-muted);font-size:1rem}.paymentpage3-period{font-weight:400}.paymentpage3-token-display{align-items:center;background:#0000004d;border:2px solid #50c878;border:2px solid var(--paymentpage3-primary);border-radius:8px;border-radius:var(--paymentpage3-radius);display:flex;flex-direction:column;margin-bottom:1.5rem;padding:1rem}.paymentpage3-token-number{color:#50c878;color:var(--paymentpage3-primary);font-size:2.5rem;font-weight:700;line-height:1}.paymentpage3-token-text{color:#999;color:var(--paymentpage3-text-muted);font-size:1.1rem;margin-top:.25rem}.paymentpage3-card-description{color:#999;color:var(--paymentpage3-text-muted);font-size:1rem;line-height:1.5;margin-bottom:1.5rem;text-align:center}.paymentpage3-features-list{flex-grow:1;list-style:none;margin:0 0 2rem;padding:0}.paymentpage3-features-list li{color:#ddd;color:var(--paymentpage3-text-light);line-height:1.5;margin-bottom:.75rem;padding-left:1.75rem;position:relative}.paymentpage3-features-list li:before{color:#50c878;color:var(--paymentpage3-primary);content:"✓";font-weight:700;left:0;position:absolute}.paymentpage3-action-button{background:linear-gradient(135deg,#50c878,#6ac995);background:linear-gradient(135deg,var(--paymentpage3-primary),#6ac995);border:none;border-radius:8px;border-radius:var(--paymentpage3-radius);color:#fff;cursor:pointer;font-size:1.1rem;font-weight:600;padding:1rem;transition:all .3s ease;transition:var(--paymentpage3-transition);width:100%}.paymentpage3-action-button:hover:not(:disabled){background:linear-gradient(135deg,#48a862,#50c878);background:linear-gradient(135deg,var(--paymentpage3-primary-dark),var(--paymentpage3-primary));box-shadow:0 4px 12px #50c8784d;transform:translateY(-2px)}.paymentpage3-action-button:disabled{background:#4a4a4f;cursor:not-allowed;opacity:.6}.paymentpage3-plan-card.already-subscribed{border:1px solid #4a4a4f;opacity:.7}.paymentpage3-plan-card.already-subscribed:hover{border-color:#4a4a4f;transform:none}.paymentpage3-badge{background:linear-gradient(135deg,#50c878,#6ac995);background:linear-gradient(135deg,var(--paymentpage3-primary),#6ac995);border-radius:4px;color:#fff;display:inline-block;font-size:.8rem;font-weight:700;padding:.2rem .5rem}.paymentpage3-security-notice{align-items:center;background:#50c8781a;border:1px solid #50c8784d;border-radius:8px;border-radius:var(--paymentpage3-radius);display:flex;gap:.5rem;justify-content:center;margin-top:2rem;padding:1rem}.paymentpage3-security-notice svg{color:#50c878;color:var(--paymentpage3-primary);height:16px;width:16px}.paymentpage3-security-notice span{color:#ddd;color:var(--paymentpage3-text-light);font-weight:500}.paymentpage3-perks-section{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#0003;border:1px solid #ffffff14;border-radius:16px;border-radius:var(--paymentpage3-radius-large);margin-bottom:2rem;padding:2rem}.paymentpage3-perks-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.paymentpage3-perk-card{background:#ffffff08;border:1px solid #ffffff14;border-radius:8px;border-radius:var(--paymentpage3-radius);padding:1.5rem;text-align:center;transition:all .3s ease;transition:var(--paymentpage3-transition)}.paymentpage3-perk-card:hover{background:#ffffff0d;border-color:#50c8784d;transform:translateY(-2px)}.paymentpage3-perk-icon{margin-bottom:1rem}.paymentpage3-perk-icon svg{color:#50c878;color:var(--paymentpage3-primary);height:32px;width:32px}.paymentpage3-perk-card h4{color:#fff;color:var(--paymentpage3-text);font-size:1.1rem;font-weight:600;margin:0 0 .5rem}.paymentpage3-perk-card p{color:#999;color:var(--paymentpage3-text-muted);font-size:.95rem;line-height:1.4;margin:0}.paymentpage3-faq-section{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#0003;border:1px solid #ffffff14;border-radius:16px;border-radius:var(--paymentpage3-radius-large);padding:2rem}.paymentpage3-faq-items{display:flex;flex-direction:column;gap:1rem}.paymentpage3-faq-item{background:#ffffff08;border:1px solid #ffffff14;border-radius:8px;border-radius:var(--paymentpage3-radius);padding:1.5rem;transition:all .3s ease;transition:var(--paymentpage3-transition)}.paymentpage3-faq-item:hover{background:#ffffff0d;border-color:#50c8784d}.paymentpage3-faq-item h4{color:#50c878;color:var(--paymentpage3-primary);font-size:1.1rem;font-weight:600;margin:0 0 .75rem}.paymentpage3-faq-item p{color:#999;color:var(--paymentpage3-text-muted);font-size:1rem;line-height:1.5;margin:0}.paymentpage3-loading,.paymentpage3-message{color:#fff;color:var(--paymentpage3-text);font-size:1.2rem;padding:3rem;text-align:center}.paymentpage3-iframe-header{align-items:center;background:#000000e6;border-bottom:1px solid #ffffff1a;display:flex;justify-content:space-between;padding:1.5rem 2rem}.paymentpage3-back-button{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1a;border:1px solid #fff3;border-radius:8px;border-radius:var(--paymentpage3-radius);color:#fff;color:var(--paymentpage3-text);cursor:pointer;display:flex;font-size:1rem;font-weight:500;gap:.5rem;padding:.75rem 1.5rem;transition:all .3s ease;transition:var(--paymentpage3-transition)}.paymentpage3-back-button:hover{background:#ffffff26;border-color:#50c878;border-color:var(--paymentpage3-primary);transform:translateX(-2px)}.paymentpage3-back-button svg{height:16px;width:16px}.paymentpage3-iframe-container{background:#0d0d0d;background:var(--paymentpage3-darkest-bg);bottom:0;height:calc(100vh - 60px);left:0;position:absolute;right:0;top:60px;width:100%}.paymentpage3-iframe-container iframe{border:none;height:100%;width:100%}@media screen and (max-width:768px){.paymentpage3-container{padding:10px}.paymentpage3-content-wrapper{padding:0 10px}.paymentpage3-section-card{margin-bottom:15px;padding:20px}.paymentpage3-header{flex-direction:column;text-align:center}.paymentpage3-avatar-icon{margin:0 auto}.paymentpage3-cards-container{align-items:center;flex-direction:column;gap:1.5rem;padding:0}.paymentpage3-plan-card,.paymentpage3-token-card{margin:0;max-width:none;padding:1.5rem;width:100%}.paymentpage3-plans-section,.paymentpage3-tokens-section{max-width:100%;padding:1.5rem;width:100%}.paymentpage3-perks-grid{grid-template-columns:1fr}.paymentpage3-tabs{justify-content:center}.paymentpage3-tabs button{flex:1 1}}@media screen and (max-width:480px){.paymentpage3-container{padding:5px}.paymentpage3-content-wrapper{padding:0 5px}.paymentpage3-section-card{padding:15px;width:100%}.paymentpage3-plans-section,.paymentpage3-tokens-section{border-radius:12px;padding:1rem}.paymentpage3-plan-card,.paymentpage3-token-card{padding:1rem}.paymentpage3-info h1{font-size:1.8rem}.paymentpage3-price{font-size:1.5rem}.paymentpage3-token-number{font-size:2rem}.paymentpage3-card-header h3{font-size:1.5rem}.paymentpage3-features-list{font-size:.9rem}}.payment-page-wrapper{background-color:#0f0f11;left:0;margin:0;max-width:100%;min-height:100vh;overflow-x:hidden;position:absolute;right:0;top:0;width:100vw}.payment-container,.payment-page-wrapper{align-items:center;box-sizing:border-box;display:flex;flex-direction:column;padding:0}.payment-container{color:#fff;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;margin:0 auto;max-width:1200px;width:100%}.payment-container.fullscreen{background-color:#121212;bottom:0;height:100vh;left:0;margin:0;max-width:100vw;padding:0;position:fixed;right:0;top:0;width:100vw;z-index:1000}.payment-tab-container{margin:2rem 0;max-width:600px;padding:0 2rem;width:100%}.payment-tab-buttons{background-color:#1e1e24;border-radius:12px;box-shadow:0 2px 8px #0000004d;display:flex;padding:4px}.payment-tab-button{align-items:center;background:#0000;border:none;border-radius:8px;color:#a0a0a0;cursor:pointer;display:flex;flex:1 1;font-size:1.1rem;font-weight:600;gap:.5rem;justify-content:center;padding:1rem;transition:all .3s ease}.payment-tab-button.active{background-color:#a36cff;box-shadow:0 2px 8px #a36cff4d;color:#fff}.payment-tab-button:hover:not(.active){background-color:#2a2a2a;color:#fff}.payment-tab-button svg{height:20px;width:20px}.payment-current-balance{background-color:#1e1e24;border:1px solid #a36cff;border-radius:8px;margin-top:1rem;padding:1rem 2rem;text-align:center}.payment-current-balance span{color:#a0a0a0;font-size:1.1rem}.payment-current-balance strong{color:#a36cff;font-weight:600}.payment-plan-card.already-member{border:1px solid #4a4a4f;opacity:.7;position:relative}.payment-plan-card.already-member:hover{border-color:#4a4a4f;transform:none}.payment-member-badge{background-color:#50c878;border-radius:20px;color:#fff;font-size:.9rem;font-weight:700;padding:.4rem 1rem;position:absolute;right:1rem;top:1rem;z-index:2}.payment-plan-card.already-member .payment-subscribe-button{background-color:#4a4a4f;cursor:not-allowed}.payment-plan-card.already-member .payment-subscribe-button:hover{background-color:#4a4a4f;transform:none}.payment-tokens-section{width:100%}.payment-tokens-container{box-sizing:border-box;display:flex;flex-wrap:wrap;gap:2rem;justify-content:center;padding:2rem;width:100%}.payment-token-card{background-color:#1e1e24;border:1px solid #0000;border-radius:12px;box-shadow:0 4px 12px #0003;display:flex;flex-direction:column;padding:2rem;position:relative;transition:all .3s ease;width:320px}.payment-token-card:hover{transform:translateY(-4px)}.payment-token-card.popular,.payment-token-card:hover{border-color:#a36cff;box-shadow:0 8px 25px #a36cff26}.payment-token-badge{background:linear-gradient(135deg,#a36cff,#8a4dff);border-radius:20px;box-shadow:0 4px 12px #a36cff4d;color:#fff;font-size:.9rem;font-weight:700;left:50%;padding:.5rem 1.5rem;position:absolute;top:-10px;transform:translateX(-50%);z-index:2}.payment-token-header{align-items:center;display:flex;flex-direction:column;margin-bottom:1.5rem}.payment-token-title{align-items:center;display:flex;gap:.75rem;margin-bottom:1rem}.payment-token-title svg{color:#a36cff;height:24px;width:24px}.payment-token-title h2{font-size:1.6rem;font-weight:600;margin:0;text-align:center}.payment-token-amount,.payment-token-price{align-items:center;display:flex;flex-direction:column}.payment-token-amount{background-color:#2a2a2a;border:2px solid #a36cff;border-radius:8px;margin-bottom:1.5rem;padding:1rem;width:100%}.payment-token-count{color:#a36cff;font-size:2.5rem;font-weight:700;line-height:1}.payment-token-label{color:#a0a0a0;font-size:1.1rem;margin-top:.25rem}.payment-token-description{color:#a0a0a0;font-size:1rem;line-height:1.5;margin-bottom:1.5rem;text-align:center}.payment-token-features{display:flex;flex-direction:column;flex-grow:1;gap:.75rem;margin-bottom:2rem}.payment-token-button{background-color:#a36cff;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1.1rem;font-weight:600;padding:1rem;transition:all .3s ease;width:100%}.payment-token-button:hover{background-color:#9159ff;box-shadow:0 4px 12px #a36cff4d;transform:translateY(-2px)}.payment-token-button:disabled{background-color:#4a4a4f;cursor:not-allowed;transform:none}.payment-token-button:disabled:hover{background-color:#4a4a4f;box-shadow:none;transform:none}.payment-page-header{margin:0;padding:3rem 1rem 2rem;text-align:center;width:100%}.payment-page-header h1{color:#50c878;font-size:2.5rem;margin-bottom:.5rem}.payment-page-header p{color:#a0a0a0;font-size:1.1rem}.payment-plans-container{box-sizing:border-box;display:flex;flex-wrap:wrap;gap:2rem;justify-content:center;padding:2rem;width:100%}.payment-plan-card{background-color:#1e1e24;border:1px solid #0000;border-radius:12px;box-shadow:0 4px 12px #0003;display:flex;flex-direction:column;padding:1.5rem;position:relative;transition:all .3s ease;width:300px}.payment-plan-card:hover{border-color:#a36cff;transform:translateY(-4px)}.payment-plan-card.disabled{opacity:.6;position:relative}.payment-coming-soon-badge{background-color:#3a3a3f;border-radius:20px;color:#fff;font-size:.9rem;font-weight:700;padding:.4rem 1rem;position:absolute;right:1rem;top:1rem;z-index:2}.payment-plan-header{align-items:flex-start;display:flex;flex-direction:column;margin-bottom:2rem}.payment-plan-title{align-items:center;display:flex;gap:.75rem;margin-bottom:1rem}.payment-plan-title svg{color:#a36cff;height:24px;width:24px}.payment-plan-title h2{font-size:1.6rem;font-weight:600;margin:0}.payment-plan-price{display:flex;flex-direction:column;margin-bottom:1rem}.payment-price-amount{align-items:baseline;display:flex;font-size:3rem;font-weight:700}.payment-price-period{color:#a0a0a0;font-size:1.1rem;margin-left:.5rem}.payment-original-price{color:#a0a0a0;font-size:1.2rem;margin-bottom:.3rem;text-decoration:line-through}.payment-discount-label{background-color:#3d2a5b;border-radius:4px;color:#c9f;display:inline-block;font-size:.9rem;font-weight:600;margin-top:.75rem;padding:.3rem .8rem}.payment-plan-description{color:#a0a0a0;font-size:1rem;line-height:1.5;margin-bottom:2rem}.payment-plan-features{display:flex;flex-direction:column;flex-grow:1;gap:1rem;margin-bottom:2rem}.payment-feature-item{align-items:center;display:flex;font-size:1rem;gap:.75rem}.payment-feature-item .emoji,.payment-feature-item svg{color:#8e8e93;min-width:20px}.payment-feature-item .emoji{font-style:normal}.payment-subscribe-button{background-color:#a36cff;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1.1rem;font-weight:600;padding:1rem;transition:all .3s ease;width:100%}.payment-subscribe-button:hover{background-color:#9159ff;transform:translateY(-2px)}.payment-subscribe-button:disabled{background-color:#4a4a4f;cursor:not-allowed;transform:none}.payment-additional-info{margin-top:2rem;max-width:600px;text-align:center}.payment-secure-payment{align-items:center;color:#a0a0a0;display:flex;font-size:.9rem;gap:.5rem;justify-content:center;margin-bottom:1rem}.payment-secure-payment svg{height:16px;width:16px}.payment-iframe-container{background-color:#121212;border-radius:0;bottom:0;box-shadow:none;height:calc(100vh - 80px);left:0;margin:0;overflow:hidden;padding:0;position:absolute;right:0;top:80px;width:100vw}.payment-iframe-container iframe{background-color:#121212;border:none;display:block;height:100%;width:100%}.payment-iframe-header{align-items:center;background-color:#1a1a1a;border-bottom:1px solid #2a2a2a;box-shadow:0 2px 8px #0003;display:flex;height:60px;justify-content:flex-start;left:0;padding:1rem 2rem;position:fixed;right:0;top:0;width:100%;z-index:1001}.payment-back-button{align-items:center;background:#0000!important;border:none!important;border-radius:8px;color:#a0a0a0!important;cursor:pointer;display:flex;font-size:1rem;font-weight:500;gap:.75rem;margin:0;padding:.75rem 1rem;text-decoration:none;transition:all .2s ease}.payment-back-button:hover{background-color:#2a2a2a!important;color:#fff!important;transform:translateX(-2px)}.payment-back-button svg{color:inherit;height:16px;transition:transform .2s ease;width:16px}.payment-back-button:hover svg{transform:translateX(-2px)}.payment-loading-message{color:#a0a0a0;font-size:1.2rem;padding:2rem;text-align:center}.payment-info-section{margin-top:4rem;max-width:1000px;padding:0 2rem;width:100%}.payment-info-section h2{color:#fff;font-size:2rem;font-weight:600;margin-bottom:2rem;text-align:center}.payment-feedback-container{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));margin-bottom:2rem}.payment-feedback-card{background-color:#1e1e24;border-radius:8px;padding:1rem}.payment-feedback-header{align-items:center;display:flex;gap:.5rem;margin-bottom:.5rem}.payment-feedback-avatar{background-color:#3a3a3f;border-radius:50%;height:32px;overflow:hidden;width:32px}.payment-feedback-name{font-weight:600}.payment-feedback-stars{color:gold;display:flex;margin-bottom:.5rem}.payment-feedback-text{color:silver;font-size:.9rem}.payment-perks-container{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));margin-bottom:3rem}.payment-perk-card{align-items:center;background-color:#1e1e24;border:1px solid #2a2a2a;border-radius:12px;display:flex;flex-direction:column;padding:2rem;text-align:center;transition:all .3s ease}.payment-perk-card:hover{border-color:#a36cff;box-shadow:0 8px 25px #a36cff1a;transform:translateY(-4px)}.payment-perk-icon{align-items:center;color:#a36cff;display:flex;height:60px;justify-content:center;margin-bottom:1.5rem;width:60px}.payment-perk-icon svg{height:40px;width:40px}.payment-perk-title{color:#fff;font-size:1.3rem;font-weight:600;margin-bottom:1rem}.payment-perk-description{color:#a0a0a0;font-size:1rem;line-height:1.6}.payment-faq-container{display:flex;flex-direction:column;gap:1.5rem;margin-bottom:3rem}.payment-faq-item{background-color:#1e1e24;border:1px solid #2a2a2a;border-radius:12px;padding:2rem;transition:all .3s ease}.payment-faq-item:hover{border-color:#a36cff;box-shadow:0 4px 20px #a36cff1a}.payment-faq-question{align-items:center;color:#fff;display:flex;font-size:1.2rem;font-weight:600;gap:.5rem;margin-bottom:1rem}.payment-faq-question:before{color:#a36cff;content:"Q:";font-weight:700}.payment-faq-answer{color:#a0a0a0;font-size:1rem;line-height:1.6;padding-left:2rem;position:relative}.payment-faq-answer:before{color:#50c878;content:"A:";font-weight:600;left:0;position:absolute;top:0}.payment-already-subscribed-message{animation:fadeIn .5s ease;background-color:#1e1e24;border-radius:12px;box-shadow:0 4px 20px #0000004d;margin:4rem auto;max-width:500px;padding:2rem;text-align:center}.payment-already-subscribed-message h2{color:#a36cff;font-size:1.8rem;margin-bottom:1rem}.payment-already-subscribed-message p{color:#f0f0f0;font-size:1.1rem;line-height:1.5;margin-bottom:2rem}.payment-profile-button{background-color:#a36cff;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1.1rem;font-weight:600;margin-top:1rem;padding:.8rem 1.5rem;transition:background-color .3s ease}.payment-profile-button:hover{background-color:#8a4dff}.payment-container.fullscreen .payment-iframe-header{align-items:center!important;background-color:#1a1a1a!important;border-bottom:1px solid #2a2a2a!important;box-shadow:0 2px 8px #0003!important;display:flex!important;height:60px!important;justify-content:flex-start!important;left:0!important;padding:1rem 2rem!important;position:fixed!important;right:0!important;top:0!important;width:100%!important;z-index:1001!important}.payment-container.fullscreen .payment-iframe-header .payment-back-button{align-items:center!important;background:#0000!important;border:none!important;border-radius:8px!important;color:#a0a0a0!important;cursor:pointer!important;display:flex!important;font-size:1rem!important;font-weight:500!important;gap:.75rem!important;left:1rem!important;margin:0!important;padding:.75rem 1rem!important;position:absolute!important;text-decoration:none!important;top:50%!important;transform:translateY(-50%)!important;transition:all .2s ease!important}.payment-container.fullscreen .payment-iframe-header .payment-back-button:hover{background-color:#2a2a2a!important;color:#fff!important;transform:translateY(-50%) translateX(-2px)!important}.payment-container.fullscreen .payment-iframe-header .payment-back-button svg{color:inherit!important;height:16px!important;transition:transform .2s ease!important;width:16px!important}@media (max-width:768px){.payment-tab-container{padding:0 1rem}.payment-tab-button{font-size:1rem;padding:.8rem}.payment-tokens-container{align-items:center;display:flex;flex-direction:column;gap:1.5rem;justify-content:center;padding:1rem}.payment-token-card{box-sizing:border-box!important;margin:0 auto!important;max-width:350px;width:calc(100vw - 4rem)!important}.payment-plans-container{align-items:center;display:flex;flex-direction:column;gap:1.5rem;justify-content:center;padding:1rem}.payment-plan-card{box-sizing:border-box!important;margin:0 auto!important;max-width:350px;width:calc(100vw - 4rem)!important}.payment-perks-container{gap:1.5rem;grid-template-columns:1fr}.payment-faq-item,.payment-perk-card{padding:1.5rem}.payment-faq-question{font-size:1.1rem}.payment-faq-answer{font-size:.95rem;padding-left:1.5rem}.payment-info-section{padding:0 1rem}.payment-info-section h2{font-size:1.8rem}.payment-current-balance{margin:1rem;padding:.8rem 1rem}.payment-current-balance span{font-size:1rem}}.exhaust-tokens-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#000000a6!important}.exhaust-tokens-exhausted-modal{animation:slideUp .4s ease;background-color:initial;border:1px solid #4444444d;border-radius:14px;box-shadow:0 20px 40px #000000b3;display:flex;flex-direction:column;max-height:85vh;max-width:650px;overflow:hidden;width:95%}.exhaust-tokens-modal-header{flex-shrink:0;height:280px;overflow:hidden;position:relative}.exhaust-character-image-container{height:100%;position:relative;width:100%}.exhaust-character-image{height:100%;object-fit:cover;object-position:center top;width:100%}.exhaust-image-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:linear-gradient(#0000,#000000d9);bottom:0;color:#fff;left:0;padding:32px 24px 20px;position:absolute;right:0;text-align:center}.exhaust-modal-title{color:#50c878;color:var(--primary-color,#50c878);font-size:1.8rem;font-weight:700;letter-spacing:-.3px;margin:0 0 6px;text-shadow:0 2px 8px #000c}.exhaust-modal-subtitle{color:#ddd;font-size:1rem;line-height:1.4;margin:0;opacity:.9;text-shadow:0 1px 4px #000c}.exhaust-tokens-modal-body{-webkit-backdrop-filter:blur(20px)!important;background:#0000004d!important;flex:1 1;min-height:0;overflow-y:auto;padding:24px 20px 20px}.exhaust-options-container{grid-gap:16px;display:grid;gap:16px;grid-template-columns:1fr 1fr;margin-bottom:20px}.exhaust-option-card{background-color:#242424;background-color:var(--medium-bg,#242424);border:2px solid #444;border:2px solid var(--border-color,#444);border-radius:12px;cursor:pointer;overflow:hidden;padding:20px;position:relative;transition:all .3s ease}.exhaust-option-card:hover{box-shadow:0 12px 24px #0006;transform:translateY(-4px)}.exhaust-free-option:hover{border-color:#50c878;border-color:var(--primary-color,#50c878);box-shadow:0 12px 24px #50c87833}.exhaust-premium-option:hover{border-color:gold;box-shadow:0 12px 24px #ffd70033}.exhaust-option-icon{align-items:center;background-color:#50c878;background-color:var(--primary-color,#50c878);border-radius:12px;color:#151515;color:var(--darker-bg,#151515);display:flex;height:48px;justify-content:center;margin-bottom:16px;width:48px}.exhaust-premium-icon{background:linear-gradient(135deg,gold,#ffb347)}.exhaust-option-content h3{color:#fff;color:var(--text-primary,#fff);font-size:1.2rem;font-weight:700;margin:0 0 6px}.exhaust-option-content p{color:#ddd;color:var(--text-light,#ddd);font-size:.9rem;line-height:1.3;margin:0 0 12px}.exhaust-option-features{list-style:none;margin:0 0 16px;padding:0}.exhaust-option-features li{color:#bbb;color:var(--text-muted,#bbb);font-size:.85rem;margin-bottom:4px;padding-left:18px;position:relative}.exhaust-option-features li:before{color:#50c878;color:var(--primary-color,#50c878);content:"✓";font-weight:700;left:0;position:absolute}.exhaust-premium-option .exhaust-option-features li:before{color:gold}.exhaust-option-button{border:none;border-radius:12px;cursor:pointer;font-size:1rem;font-weight:700;letter-spacing:.5px;padding:14px 20px;text-transform:uppercase;transition:all .3s ease;width:100%}.exhaust-free-button{background-color:#50c878;background-color:var(--primary-color,#50c878);color:#151515;color:var(--darker-bg,#151515)}.exhaust-free-button:hover{background-color:#48a862;background-color:var(--primary-dark,#48a862);box-shadow:0 6px 16px #50c8784d;transform:translateY(-2px)}.exhaust-premium-button{background:linear-gradient(135deg,gold,#ffb347);color:#151515;color:var(--darker-bg,#151515)}.exhaust-premium-button:hover{background:linear-gradient(135deg,#ffed4e,#ff9500);box-shadow:0 6px 16px #ffd7004d;transform:translateY(-2px)}.exhaust-modal-footer{border-top:1px solid #444;border-top:1px solid var(--border-color,#444);flex-shrink:0;padding-top:20px;text-align:center}.exhaust-close-button{background:#0000;border:1px solid #444;border:1px solid var(--border-color,#444);border-radius:24px;color:#ddd;color:var(--text-light,#ddd);cursor:pointer;font-size:.9rem;margin-bottom:12px;padding:10px 24px;transition:all .2s ease}.exhaust-close-button:hover{background-color:#2d2d2d;background-color:var(--light-bg,#2d2d2d);border-color:#50c878;border-color:var(--primary-color,#50c878);color:#50c878;color:var(--primary-color,#50c878)}.exhaust-secure-note{align-items:center;color:#999;color:var(--text-muted,#999);display:flex;font-size:.8rem;gap:6px;justify-content:center}.exhaust-secure-note svg{opacity:.7}@media (max-width:768px){.exhaust-tokens-exhausted-modal{margin:10px;max-width:95%}.exhaust-options-container{gap:16px;grid-template-columns:1fr}.exhaust-tokens-modal-header{height:240px}.exhaust-modal-title{font-size:1.6rem}.exhaust-modal-subtitle{font-size:.9rem}.exhaust-tokens-modal-body{padding:24px 16px 16px}.exhaust-option-card{padding:20px 16px}.exhaust-option-icon{height:40px;margin-bottom:12px;width:40px}.exhaust-option-content h3{font-size:1.2rem}.exhaust-option-content p{font-size:.9rem;margin-bottom:12px}.exhaust-option-features li{font-size:.85rem}.exhaust-option-button{font-size:.9rem;padding:12px 16px}}@media (max-width:480px){.exhaust-modal-overlay{align-items:flex-start;padding:0}.exhaust-tokens-exhausted-modal{border-radius:0;display:flex;flex-direction:column;height:100vh;margin:0;max-height:100vh;width:100%}.exhaust-tokens-modal-header{flex-shrink:0;height:200px}.exhaust-image-overlay{padding:20px 16px 16px}.exhaust-modal-title{font-size:1.4rem}.exhaust-modal-subtitle{font-size:.85rem}.exhaust-tokens-modal-body{-webkit-overflow-scrolling:touch;flex:1 1;min-height:0;overflow-y:auto;padding:16px 12px 12px}.exhaust-option-card{padding:16px 12px}.exhaust-option-icon{height:36px;margin-bottom:10px;width:36px}.exhaust-option-content h3{font-size:1.1rem}.exhaust-option-content p{font-size:.85rem;margin-bottom:10px}.exhaust-option-features li{font-size:.8rem;margin-bottom:4px}.exhaust-option-button{font-size:.85rem;padding:10px 12px}.exhaust-modal-footer{border-top:1px solid #444;border-top:1px solid var(--border-color,#444);flex-shrink:0;padding:12px}.exhaust-close-button{font-size:.85rem;padding:8px 16px}.exhaust-secure-note{font-size:.75rem}}.suggestions-container{margin:0 16px 12px;position:relative;z-index:100}.suggestions-toggle{display:flex;justify-content:center;margin-bottom:0}.suggestions-toggle-button{align-items:center;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#0009;border:1px solid #fff3;border-radius:20px;color:#ffffffe6;cursor:pointer;display:flex;font-size:14px;gap:8px;max-width:280px;padding:8px 16px;transition:all .3s ease}.suggestions-toggle-button:hover:not(:disabled){background:#ffffff1a;border-color:#ffffff4d;box-shadow:0 4px 12px #0000004d;transform:translateY(-1px)}.suggestions-toggle-button:disabled{cursor:not-allowed;opacity:.5}.suggestions-icon{font-size:16px}.loading-spinner-small{animation:spin 1s linear infinite;border:2px solid #0000;border-radius:50%;border-top-color:#4a90e2;height:14px;width:14px}.suggestions-loading-panel{align-items:center;color:#fffc;display:flex;gap:12px;justify-content:center;padding:20px}.suggestions-loading{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#000c;border:1px solid #ffffff1a;border-radius:12px;color:#fff;display:flex;gap:8px;margin:0 16px;padding:12px 16px}.loading-spinner{border-top-color:#4a90e2}.suggestions-error{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#dc2626cc;border:1px solid #dc26264d;border-radius:12px;justify-content:space-between;margin-bottom:8px;padding:12px 16px}.close-error,.suggestions-error{align-items:center;color:#fff;display:flex}.close-error{background:none;border:none;border-radius:50%;cursor:pointer;font-size:18px;height:24px;justify-content:center;transition:background-color .2s;width:24px}.close-error:hover{background:#fff3}.suggestions-panel{animation:slideIn .3s ease;-webkit-backdrop-filter:blur(25px);backdrop-filter:blur(25px);background:#000000bf;border:1px solid #ffffff26;border-radius:16px;box-shadow:0 8px 32px #0006;max-height:400px;overflow:hidden}.suggestions-header{align-items:center;background:#ffffff0d;border-bottom:1px solid #ffffff1a;display:flex;justify-content:space-between;padding:12px 16px}.suggestions-title{align-items:center;color:#fffffff2;display:flex;font-size:14px;font-weight:500;gap:6px}.close-suggestions{align-items:center;background:none;border:none;border-radius:50%;color:#ffffffb3;cursor:pointer;display:flex;font-size:18px;height:28px;justify-content:center;transition:all .2s;width:28px}.close-suggestions:hover{background:#ffffff1a;color:#fff}.suggestions-list{display:flex;flex-direction:column;gap:4px;max-height:240px;overflow-y:auto;padding:8px}.suggestion-button{align-items:flex-start;background:#ffffff14;border:1px solid #ffffff1f;border-radius:10px;color:#fff;cursor:pointer;display:flex;gap:12px;overflow:hidden;padding:12px 16px;position:relative;text-align:left;transition:all .2s ease}.suggestion-button:hover{background:#ffffff26;border-color:#ffffff40;box-shadow:0 4px 12px #0003;transform:translateY(-1px)}.suggestion-button:active{background:#fff3;transform:translateY(0)}.suggestion-number{align-items:center;background:linear-gradient(135deg,#4a90e2,#6c7ce7);border-radius:50%;color:#fff;display:flex;flex-shrink:0;font-size:12px;font-weight:600;height:20px;justify-content:center;margin-top:2px;width:20px}.suggestion-text{color:#fffffff2;flex:1 1;font-size:14px;line-height:1.4}.suggestions-footer{background:#ffffff08;border-top:1px solid #ffffff1a;padding:8px 16px 12px}.refresh-suggestions{align-items:center;background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#fffc;cursor:pointer;display:flex;font-size:12px;gap:6px;justify-content:center;padding:8px 12px;transition:all .2s;width:100%}.refresh-suggestions:hover:not(:disabled){background:#ffffff26;color:#fff}.refresh-suggestions:disabled{cursor:not-allowed;opacity:.5}@media (max-width:768px){.suggestions-toggle-button{font-size:13px;max-width:240px;padding:6px 12px}.suggestions-panel{max-height:300px}.suggestion-button{padding:10px 12px}.suggestion-text{font-size:13px}.suggestions-header{padding:10px 12px}.suggestions-title{font-size:13px}}.suggestion-button{animation:fadeInUp .3s ease forwards}.suggestion-button:first-child{animation-delay:0ms}.suggestion-button:nth-child(2){animation-delay:.1s}.suggestion-button:nth-child(3){animation-delay:.2s}.suggestions-empty-panel,.suggestions-error-panel{align-items:center;color:#fffc;display:flex;flex-direction:column;gap:12px;padding:20px;text-align:center}.retry-suggestions{background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#fffc;cursor:pointer;font-size:13px;padding:8px 16px;transition:all .2s}.retry-suggestions:hover{background:#ffffff26;color:#fff}.mobile-neural-toggle-wrapper{align-items:center;display:none;flex-direction:column;gap:4px;position:absolute;right:20px;top:-70px;z-index:150}.mobile-neural-toggle-btn{align-items:center;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:#0006;border:2px solid #ffffff4d;border-radius:50%;color:#fff;cursor:pointer;display:flex;height:48px;justify-content:center;overflow:hidden;position:relative;transition:all .3s ease;width:48px}.mobile-neural-toggle-btn:hover{background:#0009;border-color:#ffffff80;transform:scale(1.05)}.mobile-neural-toggle-btn:active{transform:scale(.95)}.mobile-neural-toggle-btn.neural-mode{border-color:#50c87880;box-shadow:0 0 15px #50c87833}.mobile-neural-toggle-btn.funscript-mode{border-color:#ffc10780;box-shadow:0 0 15px #ffc10733}.mobile-neural-toggle-icon{font-size:14px;font-weight:700;letter-spacing:-.5px}.mobile-neural-toggle-indicator{backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);background:#0009;border:1px solid #fff3;border-radius:8px;color:#fffc;font-size:10px;font-weight:500;padding:2px 6px;white-space:nowrap}@media (max-width:768px){.mobile-neural-toggle-wrapper{display:flex}.suggestions-container+* .mobile-neural-toggle-wrapper{top:-80px}}.mobile-neural-toggle-btn{animation:mobile-neural-toggle-pulse .3s ease}@keyframes mobile-neural-toggle-pulse{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}.mobile-neural-toggle-wrapper,.mobile-neural-toggle-wrapper *{pointer-events:auto}.mobile-popover-backdrop{backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);background:#000000a6;height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:1000}.mobile-popover{animation:slideUp .4s ease;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);background:#000000eb;border:1px solid #4444444d;border-radius:14px;bottom:60px;box-shadow:0 20px 40px #000000b3;color:#fff;left:-290px;max-width:calc(100vw - 40px);overflow:hidden;position:absolute;width:340px;z-index:1001}.mobile-popover-content-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:20px}.mobile-popover-content-header h4{color:#4ecdc4;color:var(--primary-color,#4ecdc4);font-size:1.1rem;font-weight:600;letter-spacing:.2px;margin:0}.mobile-popover-close{align-items:center;background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#fff;cursor:pointer;display:flex;flex-shrink:0;font-size:18px;height:32px;justify-content:center;transition:all .3s ease;width:32px}.mobile-popover-close:hover{background:#fff3;transform:translateY(-1px)}.mobile-popover-content{max-height:60vh;overflow-y:auto;padding:20px;scrollbar-color:#4ecdc4 #0003;scrollbar-color:var(--primary-color,#4ecdc4) #0003;scrollbar-width:thin}.mobile-popover-content::-webkit-scrollbar{width:6px}.mobile-popover-content::-webkit-scrollbar-track{background:#0003;border-radius:3px}.mobile-popover-content::-webkit-scrollbar-thumb{background:#4ecdc4;background:var(--primary-color,#4ecdc4);border-radius:3px}.mobile-popover-section{margin-bottom:20px}.mobile-popover-section:last-child{margin-bottom:0}.mobile-popover-actions{display:flex;flex-wrap:wrap;gap:12px}.mobile-action-btn{align-items:center;border:none;border-radius:12px;cursor:pointer;display:flex;flex:1 1;font-size:.9rem;font-weight:600;gap:6px;justify-content:center;letter-spacing:.5px;min-width:120px;padding:12px 20px;text-transform:uppercase;transition:all .3s ease}.mobile-action-btn:disabled{cursor:not-allowed;opacity:.5}.mobile-action-btn.reset-btn{background:#ffffff26;border:2px solid #ffffff4d;box-shadow:0 2px 8px #0000004d;color:#fff}.mobile-action-btn.reset-btn:hover:not(:disabled){background:#ffffff38;border-color:#fff6;box-shadow:0 4px 12px #ffffff26;transform:translateY(-2px)}.mobile-action-btn.stop-btn{background:#4ecdc4;background:var(--primary-color,#4ecdc4);box-shadow:0 2px 8px #4ecdc44d;color:#151515}.mobile-action-btn.stop-btn:hover:not(:disabled){background:#45b7aa;background:var(--primary-dark,#45b7aa);box-shadow:0 4px 12px #4ecdc466;transform:translateY(-2px)}.mobile-graph{background:#4ecdc40d;border:2px solid #4ecdc44d;border-radius:12px;overflow:hidden}@media (max-width:480px){.mobile-popover{left:calc(-100vw + 80px);width:calc(100vw - 40px)}.mobile-popover-actions{flex-direction:column;gap:10px}.mobile-action-btn{min-width:auto}.mobile-popover-content{padding:16px}}.mobile-neural-toggle-wrapper .reset-section{display:flex;flex:1 1;flex-direction:column;gap:8px}.mobile-neural-toggle-wrapper .mobile-action-btn.confirm-btn{background:#dc3545e6;border:2px solid #dc354599;color:#fff}.mobile-neural-toggle-wrapper .mobile-action-btn.confirm-btn:hover:not(:disabled){background:#dc3545;border-color:#dc3545cc;box-shadow:0 4px 12px #dc354566;transform:translateY(-2px)}.mobile-neural-toggle-wrapper .reset-warning{background:#dc35451a;border:1px solid #dc35454d;border-radius:8px;margin-top:4px;padding:10px}.mobile-neural-toggle-wrapper .warning-text{color:#ff6b6b;font-size:.8rem;font-weight:600;margin-bottom:6px;text-align:center}.mobile-neural-toggle-wrapper .selective-link{color:#ffffffb3;font-size:.7rem;font-style:italic;line-height:1.2;margin-bottom:8px;text-align:center}.mobile-neural-toggle-wrapper .mobile-action-btn.cancel-btn{background:#6c757dcc;border:2px solid #6c757d80;color:#fff;flex:none;min-width:auto}.mobile-neural-toggle-wrapper .mobile-action-btn.cancel-btn:hover:not(:disabled){background:#6c757d;border-color:#6c757db3;transform:translateY(-1px)}.mobile-time-unlock-wrapper{display:none;left:20px;position:absolute;top:-48px;z-index:150}.mobile-time-unlock-btn{backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);background:#000000bf;border:1px solid #ffffff40;border-radius:24px;box-shadow:0 2px 10px #0006;color:#ffffffe6;cursor:pointer;font-size:13px;font-weight:500;overflow:hidden;padding:10px 16px;position:relative;transition:all .3s ease;white-space:nowrap}.mobile-time-unlock-btn:hover{background:#000000d9;border-color:#ffffff59;box-shadow:0 4px 14px #00000080;transform:translateY(-2px)}.mobile-time-unlock-btn:active{transform:translateY(0)}.mobile-time-unlock-btn:disabled{cursor:not-allowed;opacity:.5}.mobile-time-unlock-btn.has-time{background:#0003;border-color:#50c87833}.mobile-time-unlock-btn.has-time:hover{background:#0000004d;border-color:#50c87866;box-shadow:0 4px 12px #50c87826}.mobile-time-unlock-btn .time-active{color:#50c878b3;font-weight:600}.mobile-time-unlock-btn.pulse-attention{animation:mobile-time-unlock-pulse 2s infinite}@keyframes mobile-time-unlock-pulse{0%{box-shadow:0 2px 8px #0003}50%{box-shadow:0 2px 12px #50c8784d}to{box-shadow:0 2px 8px #0003}}@media (max-width:768px){.mobile-time-unlock-wrapper{display:block}}@media (max-width:480px){.mobile-time-unlock-wrapper{left:16px;top:-45px}.mobile-time-unlock-btn{font-size:12px;padding:8px 14px}}.mobile-time-unlock-wrapper,.mobile-time-unlock-wrapper *{pointer-events:auto}.image-generation-button{align-items:center;background-color:#50c878;background-color:var(--primary-color,#50c878);border:1px solid #50c878;border:1px solid var(--primary-color,#50c878);box-shadow:0 2px 4px #0000001a;color:#1c1c1c;color:var(--dark-bg,#1c1c1c);display:flex;font-size:14px;gap:8px;justify-content:center;min-width:140px;padding:10px 16px}.image-generation-button:hover:not(:disabled){background-color:#48a862;background-color:var(--primary-dark,#48a862);border-color:#48a862;border-color:var(--primary-dark,#48a862);box-shadow:0 4px 12px #50c8784d;transform:translateY(-1px)}.image-generation-button:disabled{background-color:#444;background-color:var(--border-color,#444);border-color:#444;border-color:var(--border-color,#444);box-shadow:none;color:#999;color:var(--text-muted,#999);cursor:not-allowed;transform:none}.image-generation-button.generating{animation:pulse-generating 2s infinite;background-color:#50c878;background-color:var(--primary-color,#50c878);border-color:#50c878;border-color:var(--primary-color,#50c878);cursor:wait}@keyframes pulse-generating{0%{box-shadow:0 0 0 0 #50c87866}70%{box-shadow:0 0 0 8px #50c87800}to{box-shadow:0 0 0 0 #50c87800}}.generation-spinner{align-items:center;display:flex;flex-direction:column;gap:8px}.generation-spinner span{color:#1c1c1c;color:var(--dark-bg,#1c1c1c);font-size:12px;margin-top:4px}.generation-progress{background:#50c87833;border-radius:1px;height:2px;margin-top:4px;overflow:hidden;width:100%}.generation-progress-bar{animation:progress-indeterminate 2s infinite;background:#50c878;background:var(--primary-color,#50c878);border-radius:1px;height:100%}@keyframes progress-indeterminate{0%{transform:translateX(-100%);width:30%}50%{width:50%}to{transform:translateX(300%);width:30%}}.image-icon{font-size:16px}.image-generation-error{align-items:center;background:#ff5a5a1a;border:1px solid #ff5a5a4d;border-radius:4px;border-radius:var(--radius-small,4px);color:#ff5a5a;color:var(--error-color,#ff5a5a);display:flex;flex-wrap:wrap;font-size:14px;gap:8px;margin-top:8px;padding:8px 12px;position:relative}.error-icon{font-size:16px}.error-actions{align-items:center;gap:8px;margin-left:auto}.retry-button{background:#ff5a5a33;border:1px solid #ff5a5a66;border-radius:4px;color:#ff5a5a;color:var(--error-color,#ff5a5a);font-size:12px;padding:4px 8px;transition:all .2s ease}.retry-button:hover:not(:disabled){background:#ff5a5a4d;transform:translateY(-1px)}.retry-button:disabled{cursor:not-allowed;opacity:.5}.close-error-button{align-items:center;background:none;border:none;border-radius:50%;color:#ff5a5a;color:var(--error-color,#ff5a5a);cursor:pointer;display:flex;font-size:16px;height:20px;justify-content:center;padding:0;transition:all .2s ease;width:20px}.close-error-button:hover{background:#ff5a5a1a}.image-modal-overlay{align-items:center;background:#000c;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1000}.image-modal-content{background:#242424;background:var(--medium-bg,#242424);border:1px solid #444;border:1px solid var(--border-color,#444);border-radius:8px;border-radius:var(--radius,8px);box-shadow:0 25px 50px -12px #00000080;color:#fff;color:var(--text-color,#fff);max-height:90vh;max-width:600px;overflow:auto}.image-modal-header{align-items:center;background-color:#151515;background-color:var(--darker-bg,#151515);border-bottom:1px solid #444;border-bottom:1px solid var(--border-color,#444);display:flex;justify-content:space-between;padding:20px 24px 16px}.image-modal-header h3{color:#50c878;color:var(--primary-color,#50c878);font-size:18px;font-weight:600;margin:0}.close-button{align-items:center;border-radius:6px;color:var(--text-muted,#999);display:flex;font-size:24px;height:32px;justify-content:center;padding:0;width:32px}.close-button:hover{background:#2d2d2d;background:var(--light-bg,#2d2d2d);color:var(--text-color,#fff)}.image-modal-body{padding:20px 24px}.generated-image{border:2px solid #50c8784d;border-radius:4px;border-radius:var(--radius-small,4px);box-shadow:0 4px 12px #0000004d;height:auto;margin-bottom:16px;width:100%}.image-details{display:flex;flex-direction:column;gap:8px}.detail-item{color:#ddd;color:var(--text-light,#ddd);font-size:14px;line-height:1.4}.detail-item strong{color:#50c878;color:var(--primary-color,#50c878);margin-right:8px}.image-modal-actions{border-top:1px solid #444;border-top:1px solid var(--border-color,#444);display:flex;gap:12px;justify-content:flex-end;padding:16px 24px 20px}.close-modal-button,.download-button{border:none;border-radius:4px;border-radius:var(--radius-small,4px);cursor:pointer;font-size:14px;font-weight:500;padding:10px 16px;transition:all .2s ease}.download-button{background-color:#50c878;background-color:var(--primary-color,#50c878);color:#1c1c1c;color:var(--dark-bg,#1c1c1c)}.download-button:hover{background-color:#48a862;background-color:var(--primary-dark,#48a862);transform:translateY(-1px)}.close-modal-button{background:#333;background:var(--lighter-bg,#333);border:1px solid #444;border:1px solid var(--border-color,#444);color:#fff;color:var(--text-color,#fff)}.close-modal-button:hover{background:#2d2d2d;background:var(--light-bg,#2d2d2d);border-color:#50c878;border-color:var(--primary-color,#50c878)}@media (max-width:640px){.image-modal-overlay{padding:10px}.image-modal-content{max-width:95%}.image-modal-actions,.image-modal-body,.image-modal-header{padding:12px 16px}.image-generation-button{font-size:13px;min-width:120px}.image-modal-actions{flex-direction:column}.close-modal-button,.download-button{width:100%}}.image-generation-button-compact{align-items:center;background-color:initial;border:1px solid #50c878;border:1px solid var(--primary-color,#50c878);border-radius:6px;box-shadow:none;color:#50c878;color:var(--primary-color,#50c878);cursor:pointer;display:flex;font-size:10px;font-weight:600;gap:2px;height:40px;justify-content:center;padding:0;position:relative;transition:all .3s ease;width:40px}.image-generation-button-compact:hover:not(:disabled){background-color:#50c8781a;border-color:#50c878;border-color:var(--primary-color,#50c878);box-shadow:0 2px 8px #50c87833;transform:translateY(-1px)}.image-generation-button-compact:hover:not(:disabled) .image-icon{opacity:0;transform:scale(.8)}.image-generation-button-compact:hover:not(:disabled) .token-cost{transform:scale(1)}.image-generation-button-compact:disabled{background-color:initial;border-color:#444;border-color:var(--border-color,#444);box-shadow:none;color:#999;color:var(--text-muted,#999);cursor:not-allowed;transform:none}.image-generation-button-compact.generating{animation:pulse-generating 2s infinite;background-color:#50c8781a;border-color:#50c878;border-color:var(--primary-color,#50c878);cursor:wait}.image-generation-button-compact .image-icon{font-size:16px;opacity:1;transform:scale(1);transition:all .3s ease}.image-generation-button-compact .image-icon svg{fill:currentColor}.image-generation-button-compact .token-cost{color:#50c878;color:var(--primary-color,#50c878);font-size:11px;font-weight:600;left:50%;line-height:1;opacity:0;position:absolute;top:50%;transform:scale(.8);transform:translate(-50%,-50%) scale(.8);transition:all .3s ease}.image-generation-button-compact:hover:not(:disabled) .token-cost{opacity:1;transform:translate(-50%,-50%) scale(1)}.generation-spinner-compact{align-items:center;display:flex;height:100%;justify-content:center;width:100%}.generation-spinner-compact .spinner-icon{animation:spin 1s linear infinite;border:2px solid #50c87833;border-radius:50%;border-top-color:#50c878;border-top:2px solid var(--primary-color,#50c878);height:16px;width:16px}.generation-status-compact{background:#151515;background:var(--darker-bg,#151515);border:1px solid #50c878;border:1px solid var(--primary-color,#50c878);border-radius:4px;box-shadow:0 4px 8px #0003;color:#fff;color:var(--text-color,#fff);font-size:11px;left:0;margin-top:4px;padding:6px 8px;position:absolute;right:0;top:100%;z-index:100}.status-text{color:#ddd;color:var(--text-light,#ddd);margin-bottom:4px}.status-progress{background:#50c87833;border-radius:1px;height:2px;overflow:hidden}.status-progress:after{animation:progress-indeterminate 2s infinite;background:#50c878;background:var(--primary-color,#50c878);border-radius:1px;content:"";display:block;height:100%}.promptchan-warning-overlay{align-items:center;background:#000c;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1000}.promptchan-warning-modal{background:#242424;background:var(--medium-bg,#242424);border:1px solid #444;border:1px solid var(--border-color,#444);border-radius:8px;border-radius:var(--radius,8px);box-shadow:0 25px 50px -12px #00000080;color:#fff;color:var(--text-color,#fff);max-width:450px;width:100%}.warning-header{background-color:#151515;background-color:var(--darker-bg,#151515);border-bottom:1px solid #444;border-bottom:1px solid var(--border-color,#444);padding:20px 24px 16px}.warning-header h3{color:#50c878;color:var(--primary-color,#50c878);font-size:18px;font-weight:600;margin:0}.warning-body{padding:20px 24px}.warning-body p{color:#ddd;color:var(--text-light,#ddd);line-height:1.5;margin:0 0 12px}.warning-body p:last-child{color:#fff;color:var(--text-color,#fff);font-weight:500;margin-bottom:0}.warning-actions{border-top:1px solid #444;border-top:1px solid var(--border-color,#444);display:flex;gap:12px;justify-content:flex-end;padding:16px 24px 20px}.warning-button{border:none;border-radius:4px;border-radius:var(--radius-small,4px);cursor:pointer;font-size:14px;font-weight:500;padding:8px 16px;transition:all .2s ease}.warning-button.continue{background-color:#50c878;background-color:var(--primary-color,#50c878);color:#1c1c1c;color:var(--dark-bg,#1c1c1c)}.warning-button.continue:hover{background-color:#48a862;background-color:var(--primary-dark,#48a862);transform:translateY(-1px)}.warning-button.cancel{background:#333;background:var(--lighter-bg,#333);border:1px solid #444;border:1px solid var(--border-color,#444);color:#ddd;color:var(--text-light,#ddd)}.warning-button.cancel:hover{background:#2d2d2d;background:var(--light-bg,#2d2d2d);color:#fff;color:var(--text-color,#fff)}.image-generation-error-compact{align-items:center;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ff5a5a1a;border:1px solid #ff5a5a4d;border-radius:4px;border-radius:var(--radius-small,4px);color:#ff5a5a;color:var(--error-color,#ff5a5a);display:flex;font-size:12px;gap:6px;left:0;margin-top:4px;padding:8px 10px;position:absolute;right:0;top:100%;z-index:100}.image-generation-error-compact.restricted{background:#ff5a5a1a;border-color:#ff5a5a4d;color:#ff5a5a;color:var(--error-color,#ff5a5a)}.image-generation-error-compact.cooldown,.image-generation-error-compact.network{background:#50c8781a;border-color:#50c8784d;color:#50c878;color:var(--primary-color,#50c878)}.image-generation-error-compact.auth{background:#ff5a5a1a;border-color:#ff5a5a4d;color:#ff5a5a;color:var(--error-color,#ff5a5a)}.image-generation-error-compact.rate_limit{background:#50c8781a;border-color:#50c8784d;color:#50c878;color:var(--primary-color,#50c878)}.image-generation-error-compact.service{background:#9999991a;border-color:#9999994d;color:#999;color:var(--text-muted,#999)}.image-generation-error-compact .error-icon{flex-shrink:0;font-size:14px}.image-generation-error-compact .error-message{flex:1 1;line-height:1.3}.image-generation-error-compact .error-actions{align-items:center;display:flex;flex-shrink:0;gap:4px;margin-left:auto}.close-error-button-compact,.retry-button-compact{align-items:center;background:#50c8781a;border:1px solid #50c87833;border-radius:4px;color:#50c878;color:var(--primary-color,#50c878);cursor:pointer;display:flex;font-size:12px;height:24px;justify-content:center;min-width:24px;padding:4px 6px;transition:all .2s ease}.close-error-button-compact:hover,.retry-button-compact:hover:not(:disabled){background:#50c87833;border-color:#50c8784d;transform:scale(1.05)}.retry-button-compact:disabled{cursor:not-allowed;opacity:.5;transform:none}.cooldown-modal{border:2px solid #ff5a5a;border:2px solid var(--error-color,#ff5a5a)}.cooldown-modal .warning-header{background:#ff5a5a;background:var(--error-color,#ff5a5a)}.cooldown-modal .warning-header,.cooldown-modal .warning-header h3{color:#fff;color:var(--text-color,#fff)}.cooldown-modal .warning-body{background:#151515;background:var(--darker-bg,#151515);border:1px solid #ff5a5a;border:1px solid var(--error-color,#ff5a5a)}.cooldown-modal .warning-body strong{color:#ff5a5a;color:var(--error-color,#ff5a5a)}.cooldown-modal .continue{background:#ff5a5a;background:var(--error-color,#ff5a5a);border:1px solid #ff5a5a;border:1px solid var(--error-color,#ff5a5a);color:#fff;color:var(--text-color,#fff)}.cooldown-modal .continue:hover{background:#f44;box-shadow:0 4px 12px #ff5a5a4d;transform:translateY(-1px)}.image-generation-button-compact.venice{background:#0000;border-color:#50c878;border-color:var(--primary-color,#50c878);color:#50c878;color:var(--primary-color,#50c878)}.image-generation-button-compact.venice:hover:not(:disabled){background:#50c8781a;border-color:#50c878;border-color:var(--primary-color,#50c878)}.image-generation-button-compact.promptchan{background:#0000;border-color:#50c878;border-color:var(--primary-color,#50c878);color:#50c878;color:var(--primary-color,#50c878)}.image-generation-button-compact.promptchan:hover:not(:disabled){background:#50c8781a;border-color:#50c878;border-color:var(--primary-color,#50c878)}.firmware-upgrade-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#000000a6!important}.firmware-upgrade-modal{animation:slideUp .4s ease;background-color:initial;border:1px solid #4444444d;border-radius:14px;box-shadow:0 20px 40px #000000b3;display:flex;flex-direction:column;max-height:85vh;max-width:700px;overflow:hidden;width:95%}.firmware-modal-header{background:linear-gradient(135deg,#1a1a1a,#2d2d2d);flex-shrink:0;height:200px;overflow:hidden;position:relative}.firmware-image-container{align-items:center;display:flex;height:100%;justify-content:center;position:relative;width:100%}.firmware-device-icon{color:#50c878;color:var(--primary-color,#50c878);height:120px;opacity:.3;position:absolute;width:120px;z-index:1}.firmware-image-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:linear-gradient(#0000,#000000d9);bottom:0;color:#fff;left:0;padding:32px 24px 20px;position:absolute;right:0;text-align:center;z-index:2}.firmware-modal-title{color:#50c878;color:var(--primary-color,#50c878);font-size:1.8rem;font-weight:700;letter-spacing:-.3px;margin:0 0 6px;text-shadow:0 2px 8px #000c}.firmware-modal-subtitle{color:#ddd;font-size:1rem;line-height:1.4;margin:0;opacity:.9;text-shadow:0 1px 4px #000c}.firmware-modal-body{-webkit-backdrop-filter:blur(20px)!important;background:#0000004d!important;flex:1 1;min-height:0;overflow-y:auto;padding:24px 20px 20px}.firmware-info-section{margin-bottom:20px}.firmware-comparison{grid-gap:16px;display:grid;gap:16px;grid-template-columns:1fr 1fr;margin-bottom:20px}.firmware-version-info{background-color:#242424;background-color:var(--medium-bg,#242424);border:2px solid #444;border:2px solid var(--border-color,#444);border-radius:12px;padding:16px;text-align:center}.v3-info{border-color:#ff6b6b}.v4-info{border-color:#50c878;border-color:var(--primary-color,#50c878)}.version-badge{border-radius:20px;display:inline-block;font-size:.9rem;font-weight:700;margin-bottom:12px;padding:6px 12px}.v3-badge{background-color:#ff6b6b;color:#fff}.v4-badge{background-color:#50c878;background-color:var(--primary-color,#50c878);color:#151515;color:var(--darker-bg,#151515)}.version-features{list-style:none;margin:0;padding:0}.version-features li{color:#ddd;color:var(--text-light,#ddd);font-size:.85rem;margin-bottom:6px;padding:4px 0}.version-features li.warning{color:#ff6b6b;font-weight:700}.version-features li.highlight{color:#50c878;color:var(--primary-color,#50c878);font-weight:700}.firmware-options-container{grid-gap:16px;display:grid;gap:16px;grid-template-columns:1fr 1fr;margin-bottom:20px}.firmware-option-card{background-color:#242424;background-color:var(--medium-bg,#242424);border:2px solid #444;border:2px solid var(--border-color,#444);border-radius:12px;cursor:pointer;overflow:hidden;padding:20px;position:relative;transition:all .3s ease}.firmware-option-card:hover{box-shadow:0 12px 24px #0006;transform:translateY(-4px)}.firmware-upgrade-option:hover{border-color:#50c878;border-color:var(--primary-color,#50c878);box-shadow:0 12px 24px #50c87833}.firmware-continue-option:hover{border-color:orange;box-shadow:0 12px 24px #ffa50033}.firmware-option-icon{align-items:center;background-color:#50c878;background-color:var(--primary-color,#50c878);border-radius:12px;color:#151515;color:var(--darker-bg,#151515);display:flex;height:48px;justify-content:center;margin-bottom:16px;width:48px}.firmware-continue-icon{background-color:orange}.firmware-option-content h3{color:#fff;color:var(--text-primary,#fff);font-size:1.2rem;font-weight:700;margin:0 0 6px}.firmware-option-content p{color:#ddd;color:var(--text-light,#ddd);font-size:.9rem;line-height:1.3;margin:0 0 12px}.firmware-option-features{list-style:none;margin:0 0 16px;padding:0}.firmware-option-features li{color:#bbb;color:var(--text-muted,#bbb);font-size:.85rem;margin-bottom:4px;padding-left:18px;position:relative}.firmware-option-features li:before{color:#50c878;color:var(--primary-color,#50c878);content:"✓";font-weight:700;left:0;position:absolute}.firmware-continue-option .firmware-option-features li:before{color:orange}.firmware-option-button{border:none;border-radius:12px;cursor:pointer;font-size:1rem;font-weight:700;letter-spacing:.5px;padding:14px 20px;text-transform:uppercase;transition:all .3s ease;width:100%}.firmware-upgrade-button{background-color:#50c878;background-color:var(--primary-color,#50c878);color:#151515;color:var(--darker-bg,#151515)}.firmware-upgrade-button:hover{background-color:#48a862;background-color:var(--primary-dark,#48a862);box-shadow:0 6px 16px #50c8784d;transform:translateY(-2px)}.firmware-continue-button{background-color:orange;color:#151515;color:var(--darker-bg,#151515)}.firmware-continue-button:hover{background-color:#ff8c00;box-shadow:0 6px 16px #ffa5004d;transform:translateY(-2px)}.firmware-manual-override{background-color:#ffffff0d;border:1px solid #444;border:1px solid var(--border-color,#444);border-radius:8px;margin-bottom:20px;padding:16px;text-align:center}.override-text{color:#ddd;color:var(--text-light,#ddd);font-size:.9rem;margin:0}.override-link{background:none;border:none;color:#50c878;color:var(--primary-color,#50c878);cursor:pointer;font-size:.9rem;margin-left:4px;padding:0;text-decoration:underline}.override-link:hover{color:#48a862;color:var(--primary-dark,#48a862)}.firmware-modal-footer{border-top:1px solid #444;border-top:1px solid var(--border-color,#444);flex-shrink:0;padding-top:20px;text-align:center}.dont-ask-checkbox{align-items:center;color:#ddd;color:var(--text-light,#ddd);cursor:pointer;display:flex;font-size:.9rem;justify-content:center;margin-bottom:12px;-webkit-user-select:none;user-select:none}.dont-ask-checkbox input{display:none}.checkmark{border:2px solid #444;border:2px solid var(--border-color,#444);border-radius:4px;height:18px;margin-right:8px;position:relative;transition:all .3s ease;width:18px}.dont-ask-checkbox input:checked+.checkmark{background-color:#50c878;background-color:var(--primary-color,#50c878);border-color:#50c878;border-color:var(--primary-color,#50c878)}.dont-ask-checkbox input:checked+.checkmark:after{color:#151515;color:var(--darker-bg,#151515);content:"✓";font-size:14px;font-weight:700;left:3px;position:absolute;top:-2px}.firmware-secure-note{align-items:center;color:#999;color:var(--text-muted,#999);display:flex;font-size:.8rem;gap:6px;justify-content:center}.firmware-secure-note svg{opacity:.7}@media (max-width:768px){.firmware-upgrade-modal{margin:10px;max-width:95%}.firmware-comparison{gap:12px;grid-template-columns:1fr}.firmware-options-container{gap:16px;grid-template-columns:1fr}.firmware-modal-header{height:180px}.firmware-modal-title{font-size:1.6rem}.firmware-modal-subtitle{font-size:.9rem}.firmware-modal-body{padding:20px 16px 16px}.firmware-option-card{padding:16px}.firmware-option-icon{height:40px;margin-bottom:12px;width:40px}.firmware-option-content h3{font-size:1.1rem}.firmware-option-content p{font-size:.85rem;margin-bottom:10px}.firmware-option-features li{font-size:.8rem}.firmware-option-button{font-size:.9rem;padding:12px 16px}}@media (max-width:480px){.firmware-upgrade-modal-overlay{align-items:flex-start;padding:0}.firmware-upgrade-modal{border-radius:0;display:flex;flex-direction:column;height:100vh;margin:0;max-height:100vh;width:100%}.firmware-modal-header{flex-shrink:0;height:160px}.firmware-device-icon{height:80px;width:80px}.firmware-image-overlay{padding:20px 16px 16px}.firmware-modal-title{font-size:1.4rem}.firmware-modal-subtitle{font-size:.85rem}.firmware-modal-body{-webkit-overflow-scrolling:touch;flex:1 1;min-height:0;overflow-y:auto;padding:16px 12px 12px}.firmware-option-card{padding:14px 12px}.firmware-option-icon{height:36px;margin-bottom:10px;width:36px}.firmware-option-content h3{font-size:1rem}.firmware-option-content p{font-size:.8rem;margin-bottom:8px}.firmware-option-features li{font-size:.75rem;margin-bottom:3px}.firmware-option-button{font-size:.85rem;padding:10px 12px}.firmware-modal-footer{border-top:1px solid #444;border-top:1px solid var(--border-color,#444);flex-shrink:0;padding:12px}.dont-ask-checkbox{font-size:.85rem}.firmware-secure-note{font-size:.75rem}}.handy-connector{flex-shrink:0;margin:0;position:relative}.connection-section .handy-connector .handy-toggle-button{align-items:center;background-color:var(--medium-bg);border:1px solid var(--border-color);border-radius:var(--radius);color:var(--text-color);cursor:pointer;display:flex;font-size:.9rem;font-weight:500;gap:8px;justify-content:center;padding:10px;text-align:center;transition:var(--transition);width:100%}.connection-section .handy-connector .handy-toggle-button:hover{background-color:var(--light-bg);border-color:var(--primary-color);color:var(--primary-color);transform:none}.handy-toggle-button{align-items:center;background-color:#50c878;border:none;border-radius:6px;color:#1c1c1c;cursor:pointer;display:flex;font-size:.9rem;font-weight:700;gap:8px;padding:8px 12px;transition:all .2s ease}.handy-toggle-button:hover{background-color:#48a862;transform:translateY(-1px)}.handy-text{display:inline-block}.firmware-badge{background-color:#fff3;border-radius:6px;font-size:.7rem;font-weight:700;padding:2px 6px}.firmware-badge.v4-badge{background-color:#3b82f6;color:#fff}.firmware-badge.v3-badge{background-color:#10b981;color:#fff}.connection-section .handy-connector .handy-panel{background-color:var(--darker-bg);border:1px solid var(--border-color);border-radius:var(--radius);box-shadow:0 4px 12px #0000004d;left:0;max-height:400px;overflow-y:auto;position:absolute;right:0;top:10px;width:auto;z-index:1050}.connection-section .handy-connector .panel-content{padding:12px}.connection-section .handy-connector .panel-header{align-items:center;background-color:var(--dark-bg);border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;padding:8px 12px}.connection-section .handy-connector .panel-header h3{color:var(--primary-color);font-size:.9rem;margin:0}.handy-panel{animation:slideDown .2s ease;background-color:#1c1c1c;border:1px solid #444;border-radius:8px;box-shadow:0 4px 12px #0000004d;margin-top:8px;position:absolute;right:0;top:100%;width:320px;z-index:1050}.panel-header{align-items:center;background-color:#222;border-bottom:1px solid #333;border-radius:8px 8px 0 0;display:flex;justify-content:space-between;padding:12px 16px}.panel-header h3{color:#50c878;font-size:1rem;margin:0}.close-button{background:none;border:none;border-radius:4px;color:#999;cursor:pointer;font-size:1.2rem;padding:4px;transition:all .2s ease}.close-button:hover{background-color:#ffffff1a;color:#fff}.panel-content{padding:16px}.connection-input{background-color:#2a2a2a;border:1px solid #444;border-radius:6px;box-sizing:border-box;color:#fff;font-size:.9rem;margin-bottom:12px;padding:10px;width:100%}.connection-input:focus{border-color:#50c878;box-shadow:0 0 0 2px #50c87833;outline:none}.connection-input::placeholder{color:#666}.actions{display:flex;gap:8px;margin-bottom:12px}.connect-btn,.disconnect-btn,.stop-btn{border:none;border-radius:6px;cursor:pointer;flex:1 1;font-size:.85rem;font-weight:600;padding:8px 12px;transition:all .2s ease}.connect-btn{background-color:#50c878;color:#1c1c1c}.stop-btn{background-color:#f44;color:#fff;font-weight:700}.disconnect-btn{background-color:#ff5a5a;color:#fff}.connect-btn:hover{background-color:#48a862}.stop-btn:hover{background-color:#d33}.disconnect-btn:hover{background-color:#e04545}.connect-btn:disabled{cursor:not-allowed;opacity:.5}.status{background-color:#ffffff0d;border-radius:4px;color:#ccc;font-size:.85rem;margin-bottom:12px;padding:8px;text-align:center}.status .connected{color:#50c878;font-weight:700}.status .disconnected{color:#ff5a5a;font-weight:700}.stroke-zone-section{border-top:1px solid #333;margin-bottom:12px;padding-top:12px}.section-title{color:#50c878;font-size:.85rem;margin-bottom:8px}.stroke-zone-controls{display:flex;flex-direction:column;gap:8px}.dual-range-container{height:40px;margin:8px 0;padding:0 18px;position:relative}.range-track{background:#333;height:4px;left:18px;right:18px;top:50%;transform:translateY(-50%)}.range-fill,.range-track{border-radius:2px;position:absolute}.range-fill{background:#50c878;height:100%;transition:all .1s ease}.range-input{-webkit-appearance:none;appearance:none;background:#0000;height:4px;left:18px;outline:none;pointer-events:none;position:absolute;right:18px;top:50%;transform:translateY(-50%);width:calc(100% - 36px)}.range-input::-webkit-slider-track{background:#0000;border:none;height:4px}.range-input::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;border:2px solid #1c1c1c;border-radius:50%;box-shadow:0 2px 4px #0000004d;cursor:pointer;height:18px;margin-top:-7px;pointer-events:auto;position:relative;width:18px}.range-input.range-min::-webkit-slider-thumb{background:#10b981;z-index:2}.range-input.range-max::-webkit-slider-thumb{background:#3b82f6;z-index:1}.range-input::-moz-range-track{background:#0000;border:none;height:4px}.range-input::-moz-range-thumb{border:2px solid #1c1c1c;border-radius:50%;box-shadow:0 2px 4px #0000004d;cursor:pointer;height:18px;margin-top:0;transform:translateY(0);width:18px}.range-input.range-min::-moz-range-thumb{background:#10b981}.range-input.range-max::-moz-range-thumb{background:#3b82f6}.range-input:hover::-webkit-slider-thumb{transform:scale(1.1)}.range-input:hover::-moz-range-thumb{transform:scale(1.1)}.stroke-labels{color:#999;display:flex;font-size:.75rem;justify-content:space-between;margin-top:8px}.firmware-section{border-top:1px solid #333;margin-bottom:12px;padding-top:12px}.firmware-info{align-items:center;display:flex;font-size:.85rem;justify-content:space-between;margin-bottom:12px}.firmware-version{border-radius:4px;font-weight:700;padding:2px 6px}.firmware-version.v4{background-color:#3b82f61a;color:#3b82f6}.firmware-version.v3{background-color:#10b9811a;color:#10b981}.firmware-toggle{display:flex;flex-direction:column;gap:8px}.toggle-label{color:#999;font-size:.8rem}.firmware-switch-box{background-color:#2a2a2a;border:1px solid #444;border-radius:6px;display:flex;overflow:hidden;position:relative}.switch-option{background:#0000;border:none;color:#999;cursor:pointer;flex:1 1;font-size:.8rem;font-weight:600;padding:8px 12px;position:relative;text-align:center;transition:all .2s ease;z-index:2}.switch-option.active,.switch-option.v3.active,.switch-option.v4.active{color:#fff}.switch-slider-bg{border-radius:4px;height:100%;left:0;position:absolute;top:0;transition:all .3s ease;width:50%;z-index:1}.switch-slider-bg.v3{background-color:#10b981;transform:translateX(0)}.switch-slider-bg.v4{background-color:#3b82f6;transform:translateX(100%)}.toggle-hint{color:#ff9500;font-size:.7rem;font-weight:500;opacity:.8;text-align:center}.diagnostics-section{border-top:1px solid #333;padding-top:12px;text-align:center}.diagnostics-link{border:1px solid #50c878;border-radius:6px;color:#50c878;display:inline-block;font-size:.85rem;font-weight:600;padding:8px 16px;text-decoration:none;transition:all .2s ease}.diagnostics-link:hover{background-color:#50c878;color:#1c1c1c;transform:translateY(-1px)}@media (max-width:768px){.connection-section .handy-connector .handy-panel,.top-nav-right .handy-connector .handy-panel{right:-10px;width:300px}.handy-toggle-button{font-size:.85rem;padding:7px 10px}.firmware-badge{font-size:.65rem;padding:1px 4px}.top-nav-right .handy-connector .firmware-switch-box{margin-bottom:8px;min-height:40px}.top-nav-right .handy-connector .switch-option{align-items:center;display:flex;justify-content:center;min-height:40px;padding:8px 12px}}@media (max-width:600px){.top-nav-right .handy-connector .handy-panel{max-width:280px;right:-30px;width:calc(100vw - 40px)}.connection-section .handy-connector .handy-panel{right:-20px;width:280px}.actions{flex-direction:column}.connection-input{font-size:16px}.top-nav-right .handy-connector .firmware-switch-box{margin-bottom:8px;min-height:42px}.top-nav-right .handy-connector .switch-option{font-size:.75rem;min-height:42px;padding:8px 10px}.dual-range-container{height:35px;padding:0 16px}.range-input,.range-track{left:16px;right:16px}.range-input{width:calc(100% - 32px)}.range-input::-webkit-slider-thumb{height:16px;margin-top:0;transform:translateY(-50%);width:16px}.range-input::-moz-range-thumb{height:16px;margin-top:0;transform:translateY(-50%);width:16px}.stroke-labels{font-size:.7rem;margin-top:6px}.connection-section .handy-connector .firmware-switch-box{margin-bottom:4px}.connection-section .handy-connector .switch-option{font-size:.75rem;padding:6px 8px}}@media (max-width:400px){.top-nav-right .handy-connector .handy-panel{max-width:260px;right:-20px;width:calc(100vw - 30px)}.top-nav-right .handy-connector .firmware-switch-box{flex-direction:column;height:auto;min-height:60px}.top-nav-right .handy-connector .switch-slider-bg{height:50%;width:100%}.top-nav-right .handy-connector .switch-slider-bg.v3{transform:translateY(0)}.top-nav-right .handy-connector .switch-slider-bg.v4{transform:translateY(100%)}}@media (max-width:768px){.connection-section .handy-connector .handy-panel,.connection-section .handy-connector .handy-panel *{position:relative!important;z-index:99999!important}.top-nav-right .handy-connector .handy-panel{bottom:100%;margin-bottom:8px;margin-top:0;max-height:calc(100vh - 120px);position:absolute;right:-50px;top:auto;z-index:1051}.top-nav-right:last-child .handy-connector .handy-panel{bottom:auto;margin-bottom:0;margin-top:8px;top:100%}}.stroke-zone-mobile-controls{display:flex;flex-direction:column;gap:6px;padding:4px 0}.stroke-control-row{align-items:center;display:flex;justify-content:space-between}.stroke-label{color:#999;font-size:.8rem;font-weight:500;min-width:60px}.stroke-buttons{display:flex;gap:4px}.stroke-btn{align-items:center;background:#444c;border:1px solid #66666680;border-radius:4px;color:#ffffffe6;cursor:pointer;display:flex;font-size:.95rem;font-weight:600;height:28px;justify-content:center;padding:0;transition:all .15s ease;width:32px}.stroke-btn:hover{background:#555555e6;border-color:#50c87899;color:#50c878}.stroke-btn:active{background:#50c87833;border-color:#50c878;transform:scale(.95)}.right-panel{backdrop-filter:blur(25px) saturate(180%);-webkit-backdrop-filter:blur(25px) saturate(180%);background:linear-gradient(145deg,#1c1c1cf2,#151515e6 30%,#0f0f0feb 70%,#0d0d0df2);border-left:1px solid #50c8784d;box-shadow:-15px 0 40px #0006,inset 1px 0 1px #50c8781a,0 0 50px #50c87814;display:flex;flex-direction:column;flex-shrink:0;height:100vh;max-width:15vw;min-width:160px;overflow-x:hidden;overflow-y:auto;position:relative;width:180px;z-index:10}.right-panel.collapsed{display:none}.panel-toggle-button-external{background:#0000;border:1px solid #50c87866;border-radius:10px;color:#50c878b3;cursor:pointer;font-size:1rem;font-weight:400;padding:10px 14px;position:fixed;right:20px;top:50%;transform:translateY(-50%);transition:all .2s ease;z-index:1000}.panel-toggle-button-external:hover{border-color:#50c878b3;color:#50c878}@media (max-width:768px){.right-panel{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:linear-gradient(145deg,#000000eb,#0f0f0fe6 30%,#0a0a0aeb 70%,#000000f2)!important;border-left:none!important;border-radius:16px!important;box-shadow:0 20px 60px #0009,0 0 80px #50c8781f!important;height:calc(100vh - 120px)!important;left:20px!important;max-width:calc(100vw - 40px)!important;min-width:calc(100vw - 40px)!important;position:fixed!important;right:20px!important;top:80px!important;transform:translateX(calc(100vw + 40px))!important;transition:transform .3s cubic-bezier(.4,0,.2,1)!important;width:calc(100vw - 40px)!important;z-index:999!important}.right-panel.expanded{transform:translateX(0)!important}.right-panel.expanded:before{opacity:1;pointer-events:auto}.right-panel.collapsed{transform:translateX(100%)!important}.right-panel.collapsed:before{opacity:0}.right-panel-header{display:none!important}.right-panel .right-panel-content{display:flex!important;flex:1 1!important;flex-direction:column!important;overflow-y:auto!important;padding:16px!important}.right-panel .handy-connector-section{background:#242424f2!important;border-radius:12px!important;margin:8px!important;overflow:visible!important;padding:16px!important;position:relative!important;z-index:10000!important}.right-panel .handy-connector-wrapper{position:relative!important;z-index:10001!important}.right-panel .connection-section{display:flex!important;flex-direction:column!important;padding:16px!important}.right-panel .character-name-section,.right-panel .connection-section,.right-panel .handy-connector-section,.right-panel .panel-section{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:#242424f2!important;border-radius:12px!important;margin:8px!important;padding:16px!important}.right-panel .character-image-section{background:none!important;margin:8px!important}.right-panel button,.right-panel input,.right-panel select{pointer-events:auto!important;position:relative!important;z-index:100!important}.handy-connector-wrapper .handy-connector .handy-panel{left:-8px!important;margin:8px!important;max-width:none!important;position:absolute!important;right:-8px!important;top:100%!important;transform:none!important;width:auto!important;z-index:100001!important}}.right-panel-header{align-items:center;backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);background:linear-gradient(135deg,#242424e6,#151515f2);border-bottom:1px solid #50c87833;box-shadow:0 2px 15px #0000004d,inset 0 1px 1px #50c8781a;display:flex;justify-content:space-between;min-height:52px;padding:16px}.panel-toggle-button{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:linear-gradient(135deg,#2d2d2dcc,#242424e6);border:1px solid #50c8784d;border-radius:10px;box-shadow:0 4px 15px #0003,inset 0 1px 1px #50c87833;color:#ffffffe6;cursor:pointer;font-size:1rem;font-weight:500;padding:10px 14px;transition:all .3s cubic-bezier(.4,0,.2,1)}.panel-toggle-button:hover{background:linear-gradient(135deg,#50c87833,#2d2d2de6);border-color:#50c87880;box-shadow:0 6px 20px #0000004d,0 2px 8px #50c87833,inset 0 1px 1px #50c8784d;transform:translateY(-1px)}.panel-title{color:var(--primary-color);font-size:1.1rem;font-weight:600;margin:0}.right-panel-content{flex:1 1;overflow-x:hidden;overflow-y:auto;padding:0}.right-panel .character-image-section{background:none!important;border:none!important;border-radius:8px;box-shadow:none!important;height:300px;margin:8px auto 0;outline:none!important;overflow:hidden;position:relative;width:calc(100% - 24px)}.right-panel .character-image-large{border:0 #0000!important;border-radius:8px;box-shadow:none!important;cursor:pointer;filter:brightness(1.2);height:100%;object-fit:cover;outline:0 solid #0000!important;outline-color:#0000!important;outline-style:none!important;outline-width:0!important;transition:var(--transition);width:100%}.character-image-large:hover{transform:scale(1.02)}.character-name-section{margin:8px 8px 16px;padding:12px 16px;text-align:center}.character-name{color:var(--primary-color);font-size:1.2rem;font-weight:600;margin:0 0 8px}.character-subtitle{color:var(--text-color);font-size:.9rem;line-height:1.4;margin:4px 0}.character-mode{font-size:.9rem;font-weight:500;margin:8px 0 0}.character-mode.sentient-active{color:var(--primary-color)}.character-mode.sentient-inactive{color:var(--text-muted)}.handy-connector-section{background:linear-gradient(135deg,#232323e6,#1c1c1cd9);border-bottom:1px solid #50c87833;isolation:isolate;overflow:visible;padding:16px 12px;position:relative;z-index:1000}.handy-connector-wrapper{overflow:visible;position:relative;z-index:1001}@media (min-width:769px){.handy-connector-wrapper .handy-connector .handy-panel{left:0!important;margin-top:8px!important;min-width:100%!important;position:absolute!important;right:0!important;top:100%!important;transform:none!important;width:auto!important;z-index:100000!important}}.handy-connector-wrapper .handy-toggle-button{justify-content:center;width:100%}.connection-section{background:linear-gradient(135deg,#24242466,#1c1c1c99);border:1px solid #50c87826;border-radius:12px;display:flex;flex-direction:column;gap:10px;margin:8px;padding:16px 12px;position:relative;z-index:100}.connect-discord-button,.connect-handy-button,.connection-section,.time-unlock-button{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 4px 15px #0003,inset 0 1px 1px #50c8781a}.connect-discord-button,.connect-handy-button,.time-unlock-button{background:linear-gradient(135deg,#2d2d2dcc,#242424e6);border:1px solid #50c8784d;border-radius:10px;color:var(--text-color);cursor:pointer;font-size:.95rem;font-weight:500;padding:12px 16px;text-align:center;transition:all .3s cubic-bezier(.4,0,.2,1);width:100%}.connect-discord-button:hover,.connect-handy-button:hover,.time-unlock-button:hover{background:linear-gradient(135deg,#50c87833,#2d2d2de6);border-color:#50c87880;box-shadow:0 6px 20px #0000004d,0 2px 8px #50c8784d,inset 0 1px 1px #50c87833;color:var(--primary-color);transform:translateY(-2px)}.panel-section{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:linear-gradient(135deg,#24242466,#1c1c1c99);border-bottom:1px solid #50c87826;border-radius:12px;box-shadow:0 4px 15px #0003,inset 0 1px 1px #50c8781a;margin:8px;padding:16px 12px}.section-title{color:var(--primary-color);font-size:1.1rem;letter-spacing:.5px;margin:0 0 12px;text-shadow:0 1px 2px #0000004d}.panel-dropdown,.panel-slider,.panel-textarea{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:linear-gradient(135deg,#2d2d2dcc,#242424e6);border:1px solid #50c8784d;border-radius:8px;box-shadow:0 2px 8px #0003,inset 0 1px 1px #50c8781a;color:var(--text-color);font-size:.95rem;padding:10px 12px;transition:all .3s ease;width:100%}.panel-dropdown option{background:#242424;border:none;color:var(--text-color);padding:8px 12px}.panel-dropdown optgroup{background:#242424;border:none;color:var(--primary-color);font-size:.9rem;font-weight:600;margin:0;padding:6px 8px}.panel-dropdown:focus{border-color:#50c87899;box-shadow:0 0 0 2px #50c87833,0 2px 8px #0003,inset 0 1px 1px #50c8781a;outline:none}.panel-button{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:linear-gradient(135deg,#50c878cc,#48a862e6);border:1px solid #50c87866;border-radius:10px;box-shadow:0 4px 15px #50c8784d,inset 0 1px 1px #fff3;color:#0d0d0df2;cursor:pointer;font-size:.95rem;font-weight:600;padding:12px 16px;text-align:center;transition:all .3s cubic-bezier(.4,0,.2,1);width:100%}.panel-button:hover{background:linear-gradient(135deg,#50c878,#48a862);border-color:#50c87899;box-shadow:0 6px 20px #50c87866,inset 0 1px 1px #ffffff4d;transform:translateY(-2px)}@media (max-width:1024px) and (min-width:769px){.right-panel{background-color:var(--darkest-bg);border-left:none;height:calc(100vh - 60px);left:0;max-width:100vw;min-width:100vw;position:fixed;right:0;top:60px;width:100vw;z-index:1000}.right-panel.collapsed{display:none}.character-image-section{height:250px}}.time-unlock-button{animation:pulse 2s infinite;overflow:hidden;position:relative}.time-unlock-button span{position:relative;z-index:2}.view-details-button{backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important;background:linear-gradient(135deg,#2d2d2dcc,#242424e6)!important;border:1px solid #50c8784d!important;border-radius:8px!important;box-shadow:0 2px 8px #0003,inset 0 1px 1px #50c8781a!important;color:var(--text-color)!important;cursor:pointer!important;font-size:.85rem!important;font-weight:500!important;margin-top:8px!important;padding:8px 12px!important;text-align:center!important;transition:all .3s cubic-bezier(.4,0,.2,1)!important;width:100%!important}.view-details-button:hover{background:linear-gradient(135deg,#50c87833,#2d2d2de6)!important;border-color:#50c87880!important;box-shadow:0 4px 12px #0000004d,0 1px 4px #50c8784d,inset 0 1px 1px #50c87833!important;color:var(--primary-color)!important;transform:translateY(-1px)!important}.character-tags{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:8px 0}.character-tag{align-items:center;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid;border-radius:12px;display:flex;font-size:.75rem;font-weight:500;padding:4px 8px;transition:all .3s ease}.character-tag.active{background:linear-gradient(135deg,#50c87833,#48a8624d);border-color:#50c87866;box-shadow:0 2px 8px #50c87833,inset 0 1px 1px #50c8781a;color:#50c878}.character-tag.inactive{background:linear-gradient(135deg,#2d2d2d99,#242424b3);border-color:#8080804d;box-shadow:0 2px 8px #0000001a,inset 0 1px 1px #8080801a;color:#808080b3}.firmware-upgrade-message{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:linear-gradient(135deg,#2d2d2dcc,#242424e6);border:1px solid #50c87833;border-radius:12px;box-shadow:0 4px 15px #0003,inset 0 1px 1px #50c8781a;margin:8px 0;padding:24px 16px;text-align:center}.upgrade-message-content{align-items:center;display:flex;flex-direction:column;gap:4px}.upgrade-message-content svg{color:#ffc107cc}.upgrade-message-content p{color:var(--text-color);font-size:.95rem;font-weight:600;margin:0}.upgrade-message-content small{color:var(--text-muted);font-size:.8rem;line-height:1.3}.right-panel .statistics-content{background:#0003;border-radius:8px;margin-top:.5rem;padding:.75rem}.right-panel .loading-stats{color:#50c878b3;font-size:.85rem;padding:1rem;text-align:center}.right-panel .no-stats{color:var(--text-muted);font-size:.85rem;padding:1rem;text-align:center}.right-panel .stats-grid{display:flex;flex-direction:column;gap:1rem}.right-panel .stat-group{background:#ffffff08;border:1px solid #50c8781a;border-radius:6px;padding:.5rem}.right-panel .stat-group h5{color:#50c878e6;font-size:.8rem;font-weight:600;letter-spacing:.5px;margin:0 0 .5rem;text-transform:uppercase}.right-panel .stat-item{align-items:center;display:flex;font-size:.75rem;justify-content:space-between;padding:.25rem 0}.right-panel .stat-label{color:var(--text-muted);font-weight:400}.right-panel .stat-value{color:var(--text-color);font-weight:600;text-align:right}.right-panel .section-title.clickable{transition:color .2s ease}.right-panel .section-title.clickable:hover{color:#50c878e6}.right-panel .reset-section{position:relative}.right-panel .panel-button.confirm-btn{background:linear-gradient(135deg,#dc3545e6,#c82333)!important;border-color:#dc354599!important;box-shadow:0 4px 15px #dc35454d,inset 0 1px 1px #fff3!important;color:#fff!important}.right-panel .panel-button.confirm-btn:hover{background:linear-gradient(135deg,#dc3545,#c82333)!important;border-color:#dc3545cc!important;box-shadow:0 6px 20px #dc354566,inset 0 1px 1px #ffffff4d!important;transform:translateY(-2px)!important}.right-panel .reset-warning{background:#dc35451a;border:1px solid #dc35454d;border-radius:6px;color:#ff6b6b;font-size:.75rem;line-height:1.3;margin-top:8px;padding:8px 12px}.right-panel .warning-text{font-weight:500;margin-bottom:4px}.right-panel .selective-link{color:#ffc107cc;font-size:.7rem;font-style:italic}.gemini-live-overlay{align-items:center;animation:geminiLiveFadeIn .3s ease;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#000c;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:10000}@keyframes geminiLiveFadeIn{0%{opacity:0}to{opacity:1}}.gemini-live-modal{animation:geminiLiveSlideUp .4s ease;backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);background:#0000004d;border:1px solid #ffffff1a;border-radius:16px;box-shadow:0 20px 40px #0006,0 8px 16px #0003,inset 0 1px 0 #ffffff1a;max-height:90vh;max-width:600px;overflow-y:auto;width:90%}@keyframes geminiLiveSlideUp{0%{opacity:0;transform:translateY(30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.gemini-live-modal:before{background:linear-gradient(90deg,#0000,#50c878,#0000);border-radius:16px 16px 0 0;content:"";height:1px;left:0;opacity:.5;position:absolute;right:0;top:0}.gemini-live-header{align-items:center;border-bottom:1px solid #ffffff1a;display:flex;justify-content:space-between;padding:24px 32px}.gemini-live-header h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#50c878,#6ac995);-webkit-background-clip:text;background-clip:text;font-size:1.5rem;font-weight:600;margin:0;text-shadow:0 4px 8px #50c87833}.gemini-live-close{align-items:center;background:#ffffff1a;border:1px solid #fff3;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:1.5rem;height:32px;justify-content:center;transition:all .3s ease;width:32px}.gemini-live-close:hover{background:#ff5a5a4d;border-color:#ff5a5a80;transform:scale(1.1)}.gemini-live-character-info{padding:20px 32px;text-align:center}.gemini-live-character-info h3{color:#fff;font-size:1.3rem;margin:0 0 8px}.gemini-live-status{color:#999;font-size:.9rem;margin:0}.gemini-live-setup{padding:24px 32px 32px}.gemini-live-voice-selector{margin-bottom:24px}.gemini-live-voice-selector label{color:#ddd;display:block;font-size:.95rem;font-weight:500;margin-bottom:12px}.gemini-live-voice-grid{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}.gemini-live-voice-option{align-items:center;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;cursor:pointer;display:flex;gap:12px;padding:12px 16px;transition:all .3s ease}.gemini-live-voice-option:hover{background:#ffffff14;border-color:#50c8784d;transform:translateX(4px)}.gemini-live-voice-option.selected{background:#50c87826;border-color:#50c87880;box-shadow:0 0 20px #50c87833}.gemini-live-voice-option input[type=radio]{accent-color:#50c878;cursor:pointer;height:18px;width:18px}.gemini-live-voice-info{flex:1 1}.gemini-live-voice-info strong{color:#fff;display:block;font-size:.95rem;margin-bottom:4px}.gemini-live-voice-info small{color:#999;font-size:.85rem}.gemini-live-language-selector{margin-bottom:24px;margin-top:20px}.gemini-live-language-selector label{color:#ddd;display:block;font-size:.95rem;font-weight:500;margin-bottom:8px}.gemini-live-language-dropdown{background:#ffffff14;border:1px solid #fff3;border-radius:8px;color:#fff;cursor:pointer;font-size:.95rem;padding:12px 16px;transition:all .3s ease;width:100%}.gemini-live-language-dropdown:hover{background:#ffffff1a;border-color:#50c8784d}.gemini-live-language-dropdown:focus{border-color:#50c87880;box-shadow:0 0 0 2px #50c8781a;outline:none}.gemini-live-language-dropdown option{background:#1a1a1a;color:#fff}.gemini-live-pre-settings{background:#0003;border:1px solid #ffffff1a;border-radius:8px;margin:24px 0}.gemini-live-pre-settings-toggle{align-items:center;border-radius:8px;color:#ddd;cursor:pointer;display:flex;font-size:.95rem;font-weight:500;justify-content:space-between;padding:12px 16px;transition:all .3s ease}.gemini-live-pre-settings-toggle:hover{background:#ffffff0d;color:#fff}.gemini-live-arrow{color:#50c878;font-size:.85rem;transition:transform .3s ease}.gemini-live-arrow.up{transform:rotate(180deg)}.gemini-live-pre-settings-content{animation:geminiLiveSettingsExpand .3s ease;padding:0 16px 16px}@keyframes geminiLiveSettingsExpand{0%{max-height:0;opacity:0}to{max-height:500px;opacity:1}}.gemini-live-settings-group{background:#ffffff08;border:1px solid #ffffff14;border-radius:8px;margin-bottom:20px;padding:16px}.gemini-live-settings-group:last-child{margin-bottom:0}.gemini-live-settings-group h4{color:#50c878;font-size:.9rem;font-weight:600;letter-spacing:.5px;margin:0 0 16px;text-transform:uppercase}.gemini-live-setting-row{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px;min-height:36px}.gemini-live-setting-row:last-child{margin-bottom:0}.gemini-live-setting-row label{align-items:center;color:#bbb;display:flex;flex:1 1;font-size:.9rem;gap:6px;margin-right:16px;position:relative}.gemini-live-setting-select{background:#ffffff14;border:1px solid #ffffff26;border-radius:6px;color:#fff;cursor:pointer;font-size:.85rem;min-width:150px;padding:8px 12px;transition:all .3s ease}.gemini-live-setting-select:hover{background:#ffffff1a;border-color:#50c8784d}.gemini-live-setting-select:focus{border-color:#50c87880;box-shadow:0 0 0 2px #50c8781a;outline:none}.gemini-live-setting-select option{background:#1a1a1a;color:#fff;padding:8px}.gemini-live-setting-slider{-webkit-appearance:none;appearance:none;background:#ffffff1a;border-radius:2px;flex:1 1;height:4px;margin:0 12px;max-width:200px;outline:none}.gemini-live-setting-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:#50c878;border-radius:50%;cursor:pointer;height:16px;-webkit-transition:all .3s ease;transition:all .3s ease;width:16px}.gemini-live-setting-slider::-webkit-slider-thumb:hover{background:#6ac995;transform:scale(1.2)}.gemini-live-setting-slider::-moz-range-thumb{background:#50c878;border:none;border-radius:50%;cursor:pointer;height:16px;-moz-transition:all .3s ease;transition:all .3s ease;width:16px}.gemini-live-setting-slider::-moz-range-thumb:hover{background:#6ac995;transform:scale(1.2)}.gemini-live-setting-value{color:#50c878;font-size:.85rem;font-weight:500;min-width:60px;text-align:right;white-space:nowrap}.gemini-live-tooltip-trigger{align-items:center;background:#50c87833;border:1px solid #50c87866;border-radius:50%;color:#50c878;cursor:pointer;display:inline-flex;flex-shrink:0;font-size:.75rem;font-weight:700;height:18px;justify-content:center;transition:all .3s ease;width:18px}.gemini-live-tooltip-trigger:hover{background:#50c8784d;border-color:#50c87899;transform:scale(1.1)}.gemini-live-tooltip{animation:geminiTooltipFadeIn .3s ease;background:#000000f2;border:1px solid #50c87880;border-radius:6px;box-shadow:0 4px 12px #00000080;color:#ddd;font-size:.85rem;left:0;line-height:1.4;padding:10px 12px;position:absolute;right:0;top:calc(100% + 8px);z-index:1000}@keyframes geminiTooltipFadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@media (max-width:640px){.gemini-live-tooltip{font-size:.8rem;padding:8px 10px}.gemini-live-setting-row{flex-wrap:nowrap}.gemini-live-setting-row label{flex:1 1 auto;min-width:0}.gemini-live-setting-slider{flex:0 1 auto;max-width:120px}.gemini-live-setting-value{font-size:.8rem;min-width:45px}}.gemini-live-connect-btn{background:linear-gradient(135deg,#50c878,#48a862);border:none;border-radius:8px;box-shadow:0 4px 12px #50c8784d;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:14px 24px;transition:all .3s ease;width:100%}.gemini-live-connect-btn:hover:not(:disabled){box-shadow:0 6px 20px #50c87866;transform:translateY(-2px)}.gemini-live-connect-btn:disabled{cursor:not-allowed;opacity:.5}.gemini-live-connected{padding:24px 32px 32px}.gemini-live-call-btn{background:#ffffff1a;border:2px solid #50c87880;border-radius:50px;color:#50c878;cursor:pointer;font-size:1.1rem;font-weight:600;margin-bottom:20px;padding:16px 24px;transition:all .3s ease;width:100%}.gemini-live-call-btn:hover{background:#50c8781a;transform:scale(1.02)}.gemini-live-call-btn.active{animation:geminiLivePulse 2s infinite;background:#ff5a5a26;border-color:#ff5a5a80;color:#ff5a5a}@keyframes geminiLivePulse{0%,to{box-shadow:0 0 20px #ff5a5a4d}50%{box-shadow:0 0 30px #ff5a5a80}}.gemini-live-indicators{background:#0003;border-radius:8px;display:flex;gap:24px;justify-content:center;margin-bottom:20px;padding:12px}.gemini-live-speaking{animation:geminiLiveBlink 1s infinite;color:#50c878;font-size:.95rem}@keyframes geminiLiveBlink{0%,to{opacity:1}50%{opacity:.5}}.gemini-live-conversation{background:#0003;border:1px solid #ffffff0d;border-radius:8px;margin-top:24px;padding:20px}.gemini-live-conversation h4{color:#ddd;font-size:1rem;font-weight:500;margin:0 0 16px}.gemini-live-messages{display:flex;flex-direction:column;gap:12px;max-height:200px;overflow-y:auto}.gemini-live-messages::-webkit-scrollbar{width:6px}.gemini-live-messages::-webkit-scrollbar-track{background:#ffffff0d;border-radius:3px}.gemini-live-messages::-webkit-scrollbar-thumb{background:#50c8784d;border-radius:3px}.gemini-live-messages::-webkit-scrollbar-thumb:hover{background:#50c87880}.gemini-live-message{background:#ffffff0d;border-radius:8px;font-size:.9rem;line-height:1.4;padding:10px 14px}.gemini-live-message.user{background:#50c8781a;border-left:3px solid #50c87880}.gemini-live-message.model{background:#ffffff14;border-left:3px solid #ffffff4d}.gemini-live-message strong{color:#50c878;display:block;font-size:.85rem;margin-bottom:4px}.gemini-live-message.model strong{color:#ddd}.gemini-live-message span{color:#fff}.gemini-live-message.streaming{animation:streamingPulse 2s infinite;background:#50c87814;border-left:3px solid #50c87899}.typing-cursor{animation:typingBlink 1s infinite;font-weight:700;margin-left:2px}@keyframes streamingPulse{0%,to{background:#50c87814}50%{background:#50c87826}}@keyframes typingBlink{0%,50%{opacity:1}51%,to{opacity:0}}.gemini-live-timer{align-items:center;background:#50c8781a;border:1px solid #50c8784d;border-radius:20px;color:#50c878;display:inline-flex;font-size:.9rem;gap:8px;margin-top:12px;padding:8px 16px;transition:all .3s ease}.gemini-live-timer.warning{animation:warningPulse 2s infinite;background:#ffaa0026;border-color:#fa06;color:#fa0}.gemini-live-timer.unlimited{background:#8a2be21a;border-color:#8a2be24d;color:#8a2be2}@keyframes warningPulse{0%,to{opacity:1}50%{opacity:.7}}.gemini-live-timer-icon{font-size:1.1rem}.gemini-live-timer-text{font-weight:500;letter-spacing:.5px}.gemini-live-timer-warning{color:#ff6b6b;font-size:.85rem;font-weight:600}.gemini-live-extend-section{animation:slideInFade .4s ease;background:#ffaa0014;border:1px solid #fa03;border-radius:12px;margin:20px 0;padding:20px}@keyframes slideInFade{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.gemini-live-extend-warning{align-items:center;color:#fa0;display:flex;font-size:.95rem;gap:8px;line-height:1.4;margin-bottom:15px}.gemini-live-extend-btn{background:linear-gradient(135deg,#ff9500,#ff7b00);border:none;border-radius:8px;box-shadow:0 4px 12px #ff95004d;color:#fff;cursor:pointer;font-size:.95rem;font-weight:600;padding:12px 24px;transition:all .3s ease;width:100%}.gemini-live-extend-btn:hover:not(:disabled){background:linear-gradient(135deg,#fa0,#f80);box-shadow:0 6px 20px #ff950066;transform:translateY(-2px)}.gemini-live-extend-btn:disabled{cursor:not-allowed;opacity:.6;transform:none}.gemini-live-funscript-section{background:#0000004d;border:1px solid #ffffff1a;border-radius:8px;margin:20px 20px 10px;padding:15px}.gemini-live-funscript-section h4{color:#ffffffe6;font-size:14px;font-weight:600;letter-spacing:.5px;margin:0 0 10px;text-transform:uppercase}.gemini-live-funscript-section .gemini-graph{background:#00000080;border-radius:4px;padding:10px}@media (max-width:640px){.gemini-live-modal{max-height:85vh;width:95%}.gemini-live-connected,.gemini-live-header,.gemini-live-setup{padding:20px 24px}.gemini-live-voice-grid{grid-template-columns:1fr}.gemini-live-indicators{flex-direction:column;gap:8px;text-align:center}.gemini-live-timer{margin:8px auto}.gemini-live-extend-section{margin:15px 0;padding:15px}}.gemini-advanced-settings{border-top:1px solid #ffffff1a;margin-top:15px;padding-top:15px}.gemini-advanced-toggle{align-items:center;background:#ffffff0d;border-radius:8px;color:#888;cursor:pointer;display:flex;font-size:14px;justify-content:space-between;margin-bottom:10px;padding:8px 12px;transition:all .3s ease}.gemini-advanced-toggle:hover{background:#ffffff1a;color:#aaa}.gemini-advanced-toggle .arrow{font-size:12px;transition:transform .3s ease}.gemini-settings-content{animation:geminiSettingsFadeIn .3s ease;background:#0000004d;border-radius:8px;margin-bottom:15px;margin-top:10px;padding:15px}@keyframes geminiSettingsFadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.gemini-setting-row{align-items:center;display:flex;justify-content:space-between;margin-bottom:12px;padding:8px 0}.gemini-setting-row:last-child{margin-bottom:0}.gemini-setting-row span{color:#ccc;font-size:14px}.gemini-live-handy-section{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0000004d;border:1px solid #ffffff1a;border-radius:12px;margin:20px 0;padding:16px}.gemini-live-handy-status{align-items:center;display:flex;gap:12px;margin-bottom:12px}.gemini-live-handy-label{color:#aaa;font-size:.95rem;font-weight:500}.gemini-live-handy-badge{border-radius:20px;font-size:.85rem;font-weight:600;padding:4px 12px;transition:all .3s ease}.gemini-live-handy-badge.connected{background:#50c87833;border:1px solid #50c87880;color:#50c878}.gemini-live-handy-badge.disconnected{background:#ff5a5a33;border:1px solid #ff5a5a80;color:#ff5a5a}.gemini-live-firmware-badge{border-radius:12px;font-size:.75rem;font-weight:700;margin-left:4px;padding:3px 8px}.gemini-live-firmware-badge.v3{background:#fa03;border:1px solid #ffaa0080;color:#fa0}.gemini-live-firmware-badge.v4{background:#8a2be233;border:1px solid #8a2be280;color:#8a2be2}.gemini-live-handy-connect{margin-top:12px}.gemini-live-handy-connect-btn{background:#50c87826;border:1px solid #50c87866;border-radius:8px;color:#50c878;cursor:pointer;font-size:.9rem;font-weight:600;padding:10px 20px;transition:all .3s ease;width:100%}.gemini-live-handy-connect-btn:hover{background:#50c87840;border-color:#50c87899;transform:translateY(-1px)}.gemini-live-handy-input-container{animation:geminiLiveExpandIn .3s ease}@keyframes geminiLiveExpandIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.gemini-live-handy-input{background:#ffffff14;border:1px solid #fff3;border-radius:8px;color:#fff;font-size:.9rem;margin-bottom:10px;padding:10px 14px;transition:all .3s ease;width:100%}.gemini-live-handy-input:focus{background:#ffffff1a;border-color:#50c87880;box-shadow:0 0 0 2px #50c8781a;outline:none}.gemini-live-handy-input::placeholder{color:#666}.gemini-live-handy-input-actions{display:flex;gap:10px}.gemini-live-handy-confirm-btn{background:#50c87833;border:1px solid #50c87880;border-radius:6px;color:#50c878;cursor:pointer;flex:1 1;font-size:.85rem;font-weight:600;padding:8px 16px;transition:all .3s ease}.gemini-live-handy-confirm-btn:hover:not(:disabled){background:#50c8784d;border-color:#50c878b3}.gemini-live-handy-confirm-btn:disabled{cursor:not-allowed;opacity:.5}.gemini-live-handy-cancel-btn{background:#ffffff0d;border:1px solid #fff3;border-radius:6px;color:#aaa;cursor:pointer;font-size:.85rem;font-weight:600;padding:8px 16px;transition:all .3s ease}.gemini-live-handy-cancel-btn:hover{background:#ffffff1a;color:#fff}.gemini-live-handy-stop-btn{background:#ff5a5a26;border:1px solid #ff5a5a66;border-radius:6px;color:#ff5a5a;cursor:pointer;font-size:.85rem;font-weight:600;margin-top:8px;padding:8px 16px;transition:all .3s ease;width:100%}.gemini-live-handy-stop-btn:hover{background:#ff5a5a40;border-color:#ff5a5a99}.gemini-toggle-switch{display:inline-block;height:24px;position:relative;width:50px}.gemini-toggle-switch input{height:0;opacity:0;width:0}.gemini-toggle-slider{background-color:#444;border-radius:24px;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}.gemini-toggle-slider:before{background-color:#fff;border-radius:50%;bottom:3px;content:"";height:18px;left:3px;position:absolute;transition:.4s;width:18px}.gemini-toggle-switch input:checked+.gemini-toggle-slider{background-color:#4caf50}.gemini-toggle-switch input:checked+.gemini-toggle-slider:before{transform:translateX(26px)}@media (max-width:680px){.gemini-advanced-settings{margin-top:10px;padding-top:10px}.gemini-advanced-toggle{font-size:13px;padding:6px 10px}.gemini-settings-content{padding:12px}.gemini-setting-row{padding:6px 0}.gemini-live-handy-section{margin:15px 0;padding:12px}.gemini-live-handy-status{flex-wrap:wrap;gap:8px}.gemini-live-handy-label{font-size:.9rem}.gemini-live-handy-badge{font-size:.8rem;padding:3px 10px}.gemini-live-firmware-badge{font-size:.7rem;padding:2px 6px}.gemini-live-handy-connect-btn,.gemini-live-handy-stop-btn{font-size:.85rem;padding:8px 16px}.gemini-live-handy-input{font-size:.85rem;padding:8px 12px}.gemini-live-handy-cancel-btn,.gemini-live-handy-confirm-btn{font-size:.8rem;padding:6px 12px}}.voice-call-modal-overlay{align-items:center;animation:voiceCallFadeIn .3s ease;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#000c;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:9999}@keyframes voiceCallFadeIn{0%{opacity:0}to{opacity:1}}.voice-call-modal{animation:voiceCallSlideUp .4s ease;backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);background:#0000004d;border:1px solid #ffffff1a;border-radius:16px;box-shadow:0 20px 40px #0006,0 8px 16px #0003,inset 0 1px 0 #ffffff1a;max-height:90vh;max-width:700px;overflow-y:auto;width:90%}@keyframes voiceCallSlideUp{0%{opacity:0;transform:translateY(30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.voice-call-modal:before{background:linear-gradient(90deg,#0000,#50c878,#0000);border-radius:16px 16px 0 0;content:"";height:1px;left:0;opacity:.5;position:absolute;right:0;top:0}.voice-call-modal-header{align-items:center;border-bottom:1px solid #ffffff1a;display:flex;justify-content:space-between;padding:24px 32px}.voice-call-modal-header h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#50c878,#6ac995);-webkit-background-clip:text;background-clip:text;font-size:1.5rem;font-weight:600;margin:0;text-shadow:0 4px 8px #50c87833}.voice-call-modal-close{align-items:center;background:#ffffff1a;border:1px solid #fff3;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:1.5rem;height:32px;justify-content:center;transition:all .3s ease;width:32px}.voice-call-modal-close:hover{background:#ff5a5a4d;border-color:#ff5a5a80;transform:scale(1.1)}.voice-call-modal-character-info{padding:20px 32px;text-align:center}.voice-call-modal-character-info h3{color:#fff;font-size:1.3rem;margin:0 0 12px}.voice-call-modal-character-info p{color:#999;font-size:.95rem;margin:0}.voice-call-modal-options{display:flex;flex-direction:column;gap:16px;padding:0 32px}.voice-call-option{background:#ffffff0d;border:2px solid #ffffff1a;border-radius:12px;cursor:pointer;display:flex;padding:20px;position:relative;transition:all .3s ease}.voice-call-option:hover{background:#ffffff14;border-color:#50c8784d;transform:translateX(4px)}.voice-call-option.selected{background:#50c87826;border-color:#50c87899;box-shadow:0 0 20px #50c8784d}.voice-call-option-icon{align-items:flex-start;color:#50c878;display:flex;margin-right:20px;padding-top:4px;transition:all .3s ease}.voice-call-option-icon svg{filter:drop-shadow(0 2px 4px rgba(80,200,120,.3));height:32px;width:32px}.voice-call-option.selected .voice-call-option-icon{color:#6ac995;transform:scale(1.1)}.voice-call-option.selected .voice-call-option-icon svg{filter:drop-shadow(0 4px 8px rgba(80,200,120,.5))}.voice-call-option.disabled .voice-call-option-icon{color:#666;opacity:.5}.voice-call-option:hover:not(.disabled) .voice-call-option-icon{color:#6ac995;transform:scale(1.05)}.voice-call-option-content{flex:1 1}.voice-call-option-content h4{color:#fff;font-size:1.2rem;font-weight:600;margin:0 0 8px}.voice-call-option-description{color:#ccc;font-size:.9rem;line-height:1.4;margin:0 0 12px}.voice-call-option-features{grid-gap:6px;display:grid;gap:6px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));list-style:none;margin:0;padding:0}.voice-call-option-features li{color:#999;font-size:.85rem;padding-left:16px;position:relative}.voice-call-option-features li:before{color:#50c878;content:"•";left:0;position:absolute}.voice-call-option-status{display:flex;flex-direction:column;gap:12px;margin-top:16px}.voice-call-option-status-badges{align-items:center;display:flex;flex-wrap:wrap;gap:6px}.voice-call-option-pricing{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0000004d;border:1px solid #ffffff1a;border-radius:8px;padding:8px 12px}.voice-call-time-remaining{color:#50c878}.voice-call-pricing-info,.voice-call-time-remaining{align-items:center;display:flex;font-size:.85rem;font-weight:600;gap:6px}.voice-call-pricing-info{color:#9370db}.voice-call-option-badge{background:linear-gradient(135deg,#50c878,#48a862);border-radius:12px;color:#fff;font-size:.75rem;font-weight:600;letter-spacing:.5px;padding:4px 10px;text-transform:uppercase;white-space:nowrap}.voice-call-option-badge.members-only{background:linear-gradient(135deg,#ff6b6b,#e85555);color:#fff}.voice-call-option-badge.healthy{background:linear-gradient(135deg,#50c878,#48a862);color:#fff}.voice-call-option-badge.at-capacity{animation:capacityPulse 2s infinite;background:linear-gradient(135deg,#ff9500,#e08000);color:#fff}@keyframes capacityPulse{0%,to{opacity:1}50%{opacity:.7}}.voice-call-cascade-unlock{margin-top:12px;padding:0 4px}.voice-call-cascade-unlock-btn{background:linear-gradient(135deg,#9370db,#7b68ee);border:none;border-radius:6px;box-shadow:0 2px 8px #9370db4d;color:#fff;cursor:pointer;font-size:.85rem;font-weight:600;padding:10px 16px;transition:all .3s ease;width:100%}.voice-call-cascade-unlock-btn:hover:not(:disabled){background:linear-gradient(135deg,#a280e8,#8b78ff);box-shadow:0 4px 12px #9370db66;transform:translateY(-1px)}.voice-call-cascade-unlock-btn:disabled{background:linear-gradient(135deg,#666,#555);cursor:not-allowed;opacity:.6}.voice-call-option.disabled{background:#ffffff05;cursor:not-allowed;opacity:.5}.voice-call-option.disabled:hover{background:#ffffff05;border-color:#ffffff1a;transform:none}.voice-call-modal-subscription-note{background:#ff6b6b1a;border:1px solid #ff6b6b33;border-radius:8px;margin:0 32px;padding:16px 32px;text-align:center}.voice-call-modal-subscription-note p{color:#ffcccb;font-size:.9rem;margin:4px 0}.voice-call-modal-subscription-note p:first-child{color:#ff6b6b}.voice-call-modal-actions{display:flex;gap:12px;justify-content:flex-end;padding:24px 32px}.voice-call-modal-btn{border:none;border-radius:8px;cursor:pointer;font-size:.95rem;font-weight:600;min-width:120px;padding:12px 24px;transition:all .3s ease}.voice-call-modal-btn.secondary{background:#ffffff1a;border:1px solid #fff3;color:#fff}.voice-call-modal-btn.secondary:hover{background:#ffffff26}.voice-call-modal-btn.primary{background:linear-gradient(135deg,#50c878,#48a862);box-shadow:0 4px 12px #50c8784d;color:#fff}.voice-call-modal-btn.primary:hover:not(:disabled){box-shadow:0 6px 20px #50c87866;transform:translateY(-2px)}.voice-call-modal-btn.primary:disabled{cursor:not-allowed;opacity:.5}.voice-call-modal-compatibility{border-top:1px solid #ffffff1a;margin-top:20px;padding:20px 32px 32px}.voice-call-modal-compatibility h5{color:#ddd;font-size:.9rem;font-weight:500;margin:0 0 12px}.voice-call-modal-compatibility-grid{grid-gap:8px;display:grid;gap:8px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.voice-call-modal-compatibility-item{align-items:center;background:#0003;border-radius:6px;display:flex;font-size:.8rem;justify-content:space-between;padding:6px 12px}.voice-call-modal-compatibility-label{color:#999}.voice-call-modal-compatibility-status{color:#50c878;font-weight:500}@media (max-width:640px){.voice-call-modal{max-height:85vh;width:95%}.voice-call-modal-actions,.voice-call-modal-character-info,.voice-call-modal-compatibility,.voice-call-modal-header,.voice-call-modal-options{padding-left:20px;padding-right:20px}.voice-call-modal-subscription-note{margin:0 20px;padding:12px 20px}.voice-call-option{flex-direction:column;text-align:center}.voice-call-option-icon{justify-content:center;margin-bottom:12px;margin-right:0}.voice-call-option-status{gap:8px;margin-top:12px}.voice-call-option-status-badges{gap:4px}.voice-call-option-badge{font-size:.7rem;padding:3px 8px}.voice-call-pricing-info,.voice-call-time-remaining{font-size:.8rem}.voice-call-option-features{grid-template-columns:1fr}.voice-call-modal-actions{flex-direction:column}.voice-call-modal-compatibility-grid{grid-template-columns:1fr}}.right-panel2{background:linear-gradient(180deg,#1a1a1a 0,#0d0d0d);border-left:1px solid #ffffff1a;display:flex;flex-direction:column;height:100vh;overflow-x:hidden;overflow-y:auto;position:relative;transition:all .3s ease;width:320px}.right-panel2.collapsed{border-left:none;overflow:hidden;width:0}.right-panel2.mobile{bottom:0;box-shadow:-4px 0 20px #00000080;max-width:320px;position:fixed;right:0;top:56px;width:100%;z-index:999}.right-panel2 .panel-header{align-items:center;background:#0000004d;border-bottom:1px solid #ffffff1a;display:flex;justify-content:flex-end;min-height:56px;padding:16px}.right-panel2 .panel-toggle-button{background:none;border:none;color:#ffffffb3;cursor:pointer;font-size:20px;padding:8px;transition:color .2s}.right-panel2 .panel-toggle-button:hover{color:#fff}.right-panel2 .panel-content{flex:1 1;overflow-y:auto;padding:16px}.right-panel2 .panel-content::-webkit-scrollbar{width:6px}.right-panel2 .panel-content::-webkit-scrollbar-track{background:#ffffff0d}.right-panel2 .panel-content::-webkit-scrollbar-thumb{background:#fff3;border-radius:3px}.right-panel2 .character-image-section{margin-bottom:20px;text-align:center}.right-panel2 .character-image-large{border:3px solid #50c87880;border-radius:50%;cursor:pointer;display:block;height:120px;margin:0 auto;object-fit:cover;transition:transform .2s,border-color .2s;width:120px}.right-panel2 .character-image-large:hover{border-color:#50c878cc;transform:scale(1.05)}.right-panel2 .character-name-section{border-bottom:1px solid #ffffff1a;margin-bottom:24px;padding-bottom:20px;text-align:center}.right-panel2 .character-name{color:#fff;font-size:20px;font-weight:600;margin:0 0 8px}.right-panel2 .character-subtitle{color:#fff9;font-size:13px;margin:4px 0}.right-panel2 .character-mode{background:#50c87833;border:1px solid #50c8784d;border-radius:12px;color:#50c878;display:inline-block;font-size:12px;margin-top:8px;padding:4px 12px}.right-panel2 .panel-section{margin-bottom:24px}.right-panel2 .section-title{align-items:center;color:#ffffffe6;display:flex;font-size:14px;font-weight:600;gap:8px;margin:0 0 12px}.right-panel2 .panel-dropdown{background:#ffffff0d;border:1px solid #fff3;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;padding:10px 12px;transition:all .2s;width:100%}.right-panel2 .panel-dropdown:hover{background:#ffffff14;border-color:#ffffff4d}.right-panel2 .panel-dropdown:focus{border-color:#50c87880;outline:none}.right-panel2 .panel-dropdown option{background:#1a1a1a;color:#fff}.right-panel2 .panel-input{background:#ffffff0d;border:1px solid #fff3;border-radius:8px;color:#fff;font-size:14px;margin-bottom:8px;padding:10px 12px;transition:all .2s;width:100%}.right-panel2 .panel-input:focus{background:#ffffff14;border-color:#50c87880;outline:none}.right-panel2 .panel-input::placeholder{color:#fff6}.right-panel2 .setting-group{margin-bottom:16px}.right-panel2 .setting-group h5{color:#fffc;font-size:13px;font-weight:500;margin:0 0 8px}.right-panel2 .setting-description{color:#ffffff80;font-size:11px;line-height:1.4;margin-top:4px}.right-panel2 .volume-slider-container{display:flex;flex-direction:column;gap:8px}.right-panel2 .volume-slider{-webkit-appearance:none;background:#ffffff1a;border-radius:2px;cursor:pointer;height:4px;outline:none;width:100%}.right-panel2 .volume-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:#50c878;border:2px solid #0000004d;border-radius:50%;box-shadow:0 2px 4px #0000004d;cursor:pointer;height:16px;width:16px}.right-panel2 .volume-slider::-moz-range-thumb{background:#50c878;border:2px solid #0000004d;border-radius:50%;box-shadow:0 2px 4px #0000004d;cursor:pointer;height:16px;width:16px}.right-panel2 .volume-value{align-items:center;color:#ffffffb3;display:flex;font-size:12px;justify-content:space-between}.right-panel2 .volume-test-button{background:#50c87833;border:1px solid #50c87866;border-radius:6px;color:#50c878;cursor:pointer;font-size:11px;padding:4px 10px;transition:all .2s}.right-panel2 .volume-test-button:hover{background:#50c8784d;border-color:#50c87899}.right-panel2 .collection-info{background:#ffffff08;border:1px solid #ffffff1a;border-radius:8px;padding:12px}.right-panel2 .collection-loading{color:#ffffff80;font-size:13px;font-style:italic}.right-panel2 .collection-name{color:#50c878;font-size:14px;font-weight:500;margin-bottom:6px}.right-panel2 .collection-details{color:#fff9;display:flex;font-size:12px;gap:12px;margin-bottom:8px}.right-panel2 .collection-description{color:#ffffffb3;font-size:12px;line-height:1.5;margin-bottom:10px}.right-panel2 .collection-change-link,.right-panel2 .collection-fallback a{color:#50c878;display:inline-block;font-size:12px;text-decoration:none;transition:opacity .2s}.right-panel2 .collection-change-link:hover,.right-panel2 .collection-fallback a:hover{opacity:.8;text-decoration:underline}.right-panel2 .collection-fallback{color:#ffffff80;font-size:13px;font-style:italic}.right-panel2 .setup-guide{background:#ffffff08;border:1px solid #50c87833;border-radius:8px;margin-top:8px;padding:16px}.right-panel2 .setup-step{color:#fffc;display:flex;font-size:12px;gap:8px;line-height:1.5;margin-bottom:10px}.right-panel2 .setup-step:last-child{margin-bottom:0}.right-panel2 .setup-step strong{color:#50c878;min-width:20px}.right-panel2 .setup-step code{background:#50c87833;border-radius:4px;color:#50c878;font-size:11px;padding:2px 6px}.right-panel2 .panel-button{background:#ffffff0d;border:1px solid #fff3;border-radius:8px;color:#fff;cursor:pointer;display:block;font-size:14px;padding:10px 16px;text-align:center;text-decoration:none;transition:all .2s;width:100%}.right-panel2 .panel-button:hover:not(:disabled){background:#ffffff14;border-color:#ffffff4d}.right-panel2 .panel-button:disabled{cursor:not-allowed;opacity:.5}.right-panel2 .reset-button{background:#dc262633;border-color:#dc262666;color:#ff6b6b}.right-panel2 .reset-button:hover:not(:disabled){background:#dc26264d;border-color:#dc262680}.right-panel2-toggle-external{background:#000c;border:1px solid #fff3;border-radius:8px 0 0 8px;border-right:none;color:#fff;cursor:pointer;padding:16px 8px;position:fixed;right:0;top:50%;transform:translateY(-50%);transition:all .2s;z-index:30}.right-panel2-toggle-external:hover{background:#000000e6;padding-right:12px}@media (max-width:768px){.right-panel2{max-width:100%;width:100%}.right-panel2.collapsed{width:0}.right-panel2-toggle-external{display:none}}.right-panel2.mobile{animation:slideIn .3s ease-out}.local-audio-chat{background:#000;display:flex;height:100vh;overflow:hidden;position:relative;width:100%}.App.local-audio-page .top-nav{display:none!important}.local-audio-chat .chat-background{background-position:50%;background-repeat:no-repeat;background-size:cover;bottom:0;left:0;position:absolute;right:0;top:0;transition:background-image .3s ease-in-out;z-index:1}.local-audio-chat .chat-background-overlay{background:linear-gradient(180deg,#0000004d 0,#00000080 50%,#000000b3);bottom:0;left:0;position:absolute;right:0;top:0;z-index:2}.local-audio-chat .chat-container{display:flex;flex:1 1;flex-direction:column;height:100vh;overflow:hidden;position:relative}.local-audio-chat .mobile-header{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#000000e6;border-bottom:1px solid #ffffff1a;display:none;height:56px;justify-content:space-between;left:0;padding:0 16px;position:fixed;right:0;top:0;z-index:100}.local-audio-chat .mobile-header .hamburger-btn{background:none;border:none;color:#fff;cursor:pointer;font-size:24px;padding:8px}.local-audio-chat .mobile-header .mobile-character-info{color:#fff;flex:1 1;font-size:16px;font-weight:500;text-align:center}.local-audio-chat .mobile-header .settings-btn{background:none;border:none;color:#fff;cursor:pointer;font-size:20px;padding:8px}.local-audio-chat .chat-header{display:none}.local-audio-chat .character-info{align-items:center;display:flex;gap:16px}.local-audio-chat .character-avatar{border:2px solid #50c87880;border-radius:50%;cursor:pointer;height:48px;object-fit:cover;transition:transform .2s;width:48px}.local-audio-chat .character-avatar:hover{transform:scale(1.05)}.local-audio-chat .character-details{display:flex;flex-direction:column}.local-audio-chat .character-name{color:#fff;font-size:18px;font-weight:600;margin:0}.local-audio-chat .character-status{color:#50c878;font-size:12px;margin-top:2px}.local-audio-chat .header-actions{align-items:center;display:flex;gap:12px}.local-audio-chat .header-link{border:1px solid #fff3;border-radius:20px;color:#ffffffb3;font-size:14px;padding:8px 16px;text-decoration:none;transition:all .2s}.local-audio-chat .header-link:hover{background:#ffffff0d;border-color:#fff6;color:#fff}.local-audio-chat .settings-button{background:#ffffff1a;border:1px solid #fff3;border-radius:20px;color:#fff;cursor:pointer;font-size:14px;padding:8px 16px;transition:all .2s}.local-audio-chat .settings-button:hover{background:#ffffff26;border-color:#ffffff4d}.local-audio-chat .chat-messages{display:flex;flex:1 1;flex-direction:column;gap:16px;overflow-y:auto;padding:40px 20px 100px;position:relative;z-index:10}.local-audio-chat .chat-messages::-webkit-scrollbar{width:6px}.local-audio-chat .chat-messages::-webkit-scrollbar-track{background:#ffffff0d}.local-audio-chat .chat-messages::-webkit-scrollbar-thumb{background:#fff3;border-radius:3px}.local-audio-chat .welcome-message{color:#fff;margin:0 auto;max-width:500px;padding:40px 20px;text-align:center}.local-audio-chat .welcome-message h3{color:#50c878;font-size:24px;margin-bottom:16px}.local-audio-chat .welcome-message p{color:#fffc;font-size:16px;line-height:1.5}.local-audio-chat .message{animation:messageSlideIn .3s ease-out;display:flex;flex-direction:column;max-width:70%}@keyframes messageSlideIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.local-audio-chat .message.user-message{align-items:flex-end;align-self:flex-end}.local-audio-chat .message.assistant-message{align-items:flex-start;align-self:flex-start}.local-audio-chat .message-content{word-wrap:break-word;border-radius:18px;display:inline-block;max-width:100%;padding:12px 16px;position:relative}.local-audio-chat .user-message .message-content{background:linear-gradient(135deg,#50c878,#3da862);border-bottom-right-radius:4px;color:#fff}.local-audio-chat .assistant-message .message-content{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1a;border:1px solid #ffffff1a;border-bottom-left-radius:4px;color:#fff}.local-audio-chat .message-text{word-wrap:break-word;font-size:15px;line-height:1.5;margin:0;white-space:pre-wrap}.local-audio-chat .message-time{color:#ffffff80;font-size:11px;margin-top:4px;padding:0 4px}.local-audio-chat .streaming-message .message-content{position:relative}.local-audio-chat .typing-indicator{display:flex;gap:4px;padding:8px 0}.local-audio-chat .typing-indicator span{animation:typingBounce 1.4s ease-in-out infinite both;background:#fff9;border-radius:50%;height:8px;width:8px}.local-audio-chat .typing-indicator span:first-child{animation-delay:-.32s}.local-audio-chat .typing-indicator span:nth-child(2){animation-delay:-.16s}@keyframes typingBounce{0%,80%,to{opacity:.5;transform:scale(.8)}40%{opacity:1;transform:scale(1)}}.local-audio-chat .command-indicators{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;padding:0 4px}.local-audio-chat .command-indicator{animation:fadeIn .3s ease-out;background:#50c87833;border:1px solid #50c8784d;border-radius:12px;color:#50c878;font-size:12px;padding:4px 10px}.local-audio-chat .noinput-indicator{background:#ffa50033;border:1px solid #ffa5004d;border-radius:12px;color:orange;font-size:12px;padding:4px 10px}.local-audio-chat .chat-input-container{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#000000f2;border-top:1px solid #ffffff1a;bottom:0;left:0;padding:16px 20px;position:absolute;right:0;z-index:20}.local-audio-chat .chat-input-wrapper{align-items:flex-end;display:flex;gap:12px;width:100%}.local-audio-chat .chat-input{background:#ffffff1a;border:1px solid #fff3;border-radius:24px;color:#fff;flex:1 1;font-family:inherit;font-size:15px;line-height:1.4;max-height:120px;min-height:44px;padding:12px 20px;resize:none;transition:all .2s}.local-audio-chat .chat-input:focus{background:#ffffff1f;border-color:#50c87880;outline:none}.local-audio-chat .chat-input::placeholder{color:#ffffff80}.local-audio-chat .chat-input:disabled{cursor:not-allowed;opacity:.5}.local-audio-chat .input-buttons{display:flex;gap:8px}.local-audio-chat .send-button{align-items:center;background:linear-gradient(135deg,#50c878,#3da862);border:none;border-radius:50%;box-shadow:0 2px 8px #50c8784d;color:#fff;cursor:pointer;display:flex;font-size:20px;height:44px;justify-content:center;transition:all .2s;width:44px}.local-audio-chat .send-button:hover:not(:disabled){box-shadow:0 4px 12px #50c87866;transform:scale(1.05)}.local-audio-chat .send-button:disabled{background:gray;box-shadow:none;cursor:not-allowed;opacity:.5}.local-audio-chat .call-button{align-items:center;background:#ffffff1a;border:1px solid #fff3;border-radius:50%;color:#fff;cursor:pointer;display:flex;height:44px;justify-content:center;padding:0;position:relative;transition:all .2s;width:44px}.local-audio-chat .call-button svg{flex-shrink:0;transition:transform .2s}.local-audio-chat .call-button:hover:not(:disabled){background:#ffffff26;border-color:#ffffff4d}.local-audio-chat .call-button.active{background:#dc262633;border-color:#dc262680;color:#ff6b6b}.local-audio-chat .call-button:disabled{cursor:not-allowed;opacity:.5}.local-audio-chat .pulse-indicator{animation:pulse 1.5s infinite;border:2px solid #ff6b6b;border-radius:22px;height:100%;left:50%;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%}.local-audio-chat .audio-hint{background:#000c;border-radius:16px;bottom:76px;color:#ffffffb3;font-size:12px;left:50%;padding:6px 16px;position:absolute;transform:translateX(-50%);transition:opacity .3s;white-space:nowrap;z-index:15}.local-audio-chat .voice-call-active{color:#50c878;font-weight:500}.local-audio-chat .error-toast{animation:fadeInUp .3s ease-out;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#000000e6;border:1px solid #ffa5004d;border-radius:24px;bottom:100px;color:#ffffffe6;font-size:14px;left:50%;max-width:400px;padding:12px 40px 12px 24px;position:fixed;transform:translateX(-50%);white-space:nowrap;z-index:1000}.local-audio-chat .error-toast .close-button{align-items:center;background:none;border:none;color:#fff;cursor:pointer;display:flex;font-size:20px;height:24px;justify-content:center;padding:0;position:absolute;right:12px;top:50%;transform:translateY(-50%);width:24px}.local-audio-chat .modal-overlay{align-items:center;animation:fadeIn .2s ease-out;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#000c;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:2000}.local-audio-chat .modal-content{background:#141414f2;border:1px solid #ffffff1a;border-radius:16px;max-height:90%;max-width:90%;overflow:hidden;position:relative}.local-audio-chat .image-view-modal{background:#0000;border:none;padding:0}.local-audio-chat .image-view-modal img{display:block;max-height:90vh;max-width:100%;object-fit:contain}.local-audio-chat .modal-header{padding:16px;position:absolute;right:0;top:0;z-index:1}.local-audio-chat .modal-header .close-button{align-items:center;background:#000000b3;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:20px;height:32px;justify-content:center;transition:background .2s;width:32px}.local-audio-chat .modal-header .close-button:hover{background:#000000e6}.local-audio-chat .panel-toggle-button-external{background:#000c;border:1px solid #fff3;border-radius:8px 0 0 8px;border-right:none;color:#fff;cursor:pointer;padding:16px 8px;position:fixed;right:0;top:50%;transform:translateY(-50%);transition:all .2s;z-index:30}.local-audio-chat .panel-toggle-button-external:hover{background:#000000e6;padding-right:12px}@media (max-width:768px){.local-audio-chat .mobile-header{display:flex}.local-audio-chat .chat-header{display:none}.local-audio-chat .chat-messages{padding-left:12px;padding-right:12px;padding-top:76px}.local-audio-chat .message{max-width:85%}.local-audio-chat .chat-input-container{padding:12px}.local-audio-chat .chat-input{font-size:16px}.local-audio-chat .call-button,.local-audio-chat .panel-toggle-button-external{display:none}.local-audio-chat .audio-hint{bottom:68px;font-size:11px;padding:4px 12px}.local-audio-chat .error-toast{left:12px;max-width:none;right:12px;top:70px}}.local-audio-chat :focus-visible{outline:2px solid #50c878;outline-offset:2px}.local-audio-chat button:focus-visible{outline-offset:0}.local-audio-chat .loading{opacity:.6;pointer-events:none}.local-audio-chat .skeleton{animation:shimmer 1.5s infinite;background:linear-gradient(90deg,#ffffff1a 25%,#fff3 50%,#ffffff1a 75%);background-size:200% 100%}.local-carousel2-container{border-radius:12px;box-shadow:0 4px 20px #0000004d;margin:0 auto 20px;max-width:1600px}.local-carousel2,.local-carousel2-container{overflow:hidden;position:relative;width:100%}.local-carousel2{height:240px}.carousel2-slide{align-items:center;background:linear-gradient(135deg,#151515,#1c1c1c 50%,#242424);border-radius:12px;display:flex;height:100%;left:0;opacity:0;overflow:hidden;position:absolute;top:0;transition:opacity .8s ease;width:100%}.carousel2-slide.active{opacity:1;z-index:1}.carousel2-image-container{height:100%;overflow:hidden;position:absolute;right:0;top:0;width:50%;z-index:1}.carousel2-character-image{filter:brightness(.7) contrast(1.1);height:100%;object-fit:cover;object-position:center;transition:transform .8s ease;width:100%}.carousel2-character-image.privacy-character,.carousel2-character-image.setup-guide-character{object-position:center 20%}.carousel2-character-image.models-character,.carousel2-character-image.start-character{object-position:center}.carousel2-slide.active .carousel2-character-image{transform:scale(1.05)}.carousel2-image-gradient{background:linear-gradient(90deg,#1c1c1c,#1c1c1cf2 5%,#1c1c1ce6 10%,#1c1c1ccc 15%,#1c1c1cb3 20%,#1c1c1c99 25%,#1c1c1c80 30%,#1c1c1c66 35%,#1c1c1c4d 40%,#1c1c1c33 50%,#1c1c1c1a 60%,#1c1c1c0d 70%,#0000 80%);height:100%;left:0;position:absolute;top:0;width:100%;z-index:2}.carousel2-content{color:#fff;display:flex;flex-direction:column;gap:16px;height:100%;justify-content:center;max-width:55%;padding:40px;position:relative;z-index:3}.carousel2-title{animation:slideInLeft .6s ease;color:#fff;font-size:2rem;font-weight:700;line-height:1.2;margin:0;text-shadow:0 2px 4px #0000004d}.carousel2-description{animation:slideInLeft .6s ease .2s both;color:#fffffff2;font-size:1.1rem;line-height:1.5;margin:0;text-shadow:0 1px 2px #0003}.carousel2-description-mobile{display:none}.carousel2-cta-button{align-self:flex-start;animation:slideInLeft .6s ease .4s both;border:none;border-radius:25px;cursor:pointer;font-size:1rem;font-weight:700;letter-spacing:.5px;margin-top:12px;padding:12px 24px;text-transform:uppercase;transition:all .3s ease}.carousel2-cta-button.setup-guide-button{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 4px 15px #667eea4d;color:#fff}.carousel2-cta-button.setup-guide-button:hover{background:linear-gradient(135deg,#5a6fd8,#6a4190);box-shadow:0 6px 20px #667eea66;transform:translateY(-2px)}.carousel2-cta-button.privacy-button{background:linear-gradient(135deg,#50c878,#6fe99e);box-shadow:0 4px 15px #50c8784d;color:#1a1a2e}.carousel2-cta-button.privacy-button:hover{background:linear-gradient(135deg,#48a862,#5fd18c);box-shadow:0 6px 20px #50c87866;transform:translateY(-2px)}.carousel2-cta-button.models-button{background:linear-gradient(135deg,#36d1dc,#5b86e5);box-shadow:0 4px 15px #36d1dc4d;color:#fff}.carousel2-cta-button.models-button:hover{background:linear-gradient(135deg,#2bc4d0,#4f7dd3);box-shadow:0 6px 20px #36d1dc66;transform:translateY(-2px)}.carousel2-cta-button.start-button{background:linear-gradient(135deg,#ff6b6b,#ff8e8e);box-shadow:0 4px 15px #ff6b6b4d;color:#fff}.carousel2-cta-button.start-button:hover{background:linear-gradient(135deg,#e85555,#f77);box-shadow:0 6px 20px #ff6b6b66;transform:translateY(-2px)}.carousel2-cta-button:active{transform:translateY(0)}.carousel2-indicators{bottom:20px;display:flex;gap:12px;left:50%;position:absolute;transform:translateX(-50%);z-index:4}.carousel2-indicator{background-color:#fff6;border:2px solid #fff9;border-radius:50%;cursor:pointer;height:10px;padding:0;transition:all .3s ease;width:10px}.carousel2-indicator.active{background-color:#667eea;border-color:#667eea;box-shadow:0 0 10px #667eea80;transform:scale(1.2)}.carousel2-indicator:hover:not(.active){background-color:#ffffffb3;transform:scale(1.1)}@keyframes slideInLeft{0%{opacity:0;transform:translateX(-30px)}to{opacity:1;transform:translateX(0)}}@media (max-width:1200px){.carousel2-content{gap:14px;max-width:60%;padding:35px}.carousel2-title{font-size:1.8rem}.carousel2-description{font-size:1rem}}@media (max-width:992px){.local-carousel2{height:220px}.carousel2-content{gap:12px;max-width:65%;padding:30px}.carousel2-title{font-size:1.6rem}.carousel2-description{font-size:.95rem}.carousel2-cta-button{font-size:.9rem;margin-top:8px;padding:10px 20px}}@media (max-width:768px){.local-carousel2{height:240px}.carousel2-slide{flex-direction:column;text-align:center}.carousel2-image-container{height:100%;position:absolute;right:0;top:0;width:100%}.carousel2-character-image{object-position:center 30%}.carousel2-image-gradient{background:linear-gradient(180deg,#1515151a,#1c1c1c99 35%,#242424cc 65%,#151515f2)}.carousel2-content{background:linear-gradient(180deg,#0000,#151515cc 25%,#151515f2);bottom:0;gap:0;height:auto;justify-content:flex-end;left:0;max-width:100%;min-height:140px;padding:24px 20px 30px;position:absolute;right:0;text-align:center}.carousel2-title{font-size:1.2rem;line-height:1.1;margin:0 0 10px}.carousel2-description{display:none}.carousel2-description-mobile{color:#ffffffe6;display:block;font-size:.8rem;line-height:1.2;margin:0 0 16px}.carousel2-cta-button{align-self:center;font-size:.75rem;margin:0;padding:7px 14px}.carousel2-indicators{bottom:15px}}@media (max-width:480px){.local-carousel2{height:220px}.carousel2-content{min-height:130px;padding:20px 15px 25px}.carousel2-title{font-size:1rem;line-height:1;margin:0 0 8px}.carousel2-description-mobile{font-size:.7rem;line-height:1.1;margin:0 0 14px}.carousel2-cta-button{font-size:.65rem;padding:6px 12px}.carousel2-indicators{bottom:10px}.carousel2-indicator{height:8px;width:8px}}.local-character-import2{align-items:center;background-color:#1c1c1c;box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-start;margin:0;min-height:100vh;padding:0;width:100%}.local-character-import2 .local-ai-config-section{box-sizing:border-box;margin:20px auto 30px;max-width:1600px;padding:0 40px;width:100%}.local-character-import2 .local-ai-config-container{background:#0000004d;border:1px solid #333;border-radius:16px;box-shadow:0 8px 32px #0006;padding:25px}.local-character-import2 .local-ai-config-header{align-items:center;display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;margin-bottom:20px}.local-character-import2 .local-ai-config-title{color:#50c878;font-size:1.3rem;font-weight:600;margin:0}.local-character-import2 .local-ai-config-status{color:#aaa;font-size:.9rem}.local-character-import2 .status-indicator{border-radius:12px;font-weight:600;margin-left:8px;padding:4px 12px}.local-character-import2 .status-indicator.configured{background:#50c8781a;border:1px solid #50c8784d;color:#50c878}.local-character-import2 .status-indicator.not-configured{background:#ff6b6b1a;border:1px solid #ff6b6b4d;color:#ff6b6b}.local-character-import2 .local-ai-config-grid{grid-gap:25px;display:grid;gap:25px;grid-template-columns:repeat(2,1fr);margin-bottom:20px}.local-character-import2 .local-ai-input-group{display:flex;flex-direction:column;gap:8px}.local-character-import2 .local-ai-input-group label{color:#ddd;font-size:.9rem;font-weight:600}.local-character-import2 .local-ai-input{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;box-sizing:border-box;color:#fff;font-size:14px;padding:12px 15px;transition:all .3s ease;width:100%}.local-character-import2 .local-ai-input:focus{background:#ffffff14;border-color:#50c878;box-shadow:0 0 0 2px #50c87833;outline:none}.local-character-import2 .local-ai-input::placeholder{color:#666}.local-character-import2 .input-description{color:#888;font-size:.75rem;line-height:1.3}.local-character-import2 .local-ai-config-footer{align-items:center;border-top:1px solid #ffffff1a;display:flex;flex-wrap:wrap;gap:15px;justify-content:space-between;padding-top:15px}.local-character-import2 .setup-guide-link{color:#50c878;font-size:.9rem;font-weight:500;text-decoration:none;transition:color .3s ease}.local-character-import2 .setup-guide-link:hover{color:#6fe99e}.local-character-import2 .collection-badge{background:#50c8781a;border:1px solid #50c8784d;border-radius:20px;color:#50c878;font-size:.85rem;font-weight:500;padding:6px 14px}.local-character-import2 .adapter-selector-container{align-items:center;display:flex;flex-wrap:wrap;gap:10px}.local-character-import2 .adapter-selector-container label{color:#50c878;font-size:.9rem;font-weight:500}.local-character-import2 .adapter-selector-dropdown{background:#00000080;border:1px solid #333;border-radius:8px;box-sizing:border-box;color:#fff;cursor:pointer;font-size:.85rem;max-width:100%;min-width:200px;padding:6px 12px}.local-character-import2 .adapter-selector-dropdown:hover{border-color:#50c878}.local-character-import2 .adapter-selector-dropdown:disabled{cursor:not-allowed;opacity:.5}.local-character-import2 .collection-badge.active{animation:pulse 2s infinite;background:#50c87833}.local-character-import2 .navigation-container{align-items:center;box-sizing:border-box;display:flex;justify-content:flex-start;margin:0 auto 20px;max-width:1600px;padding:0 40px;width:100%}.local-character-import2 .nav-tabs{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;display:flex;flex:1 1;flex-wrap:nowrap;gap:12px;list-style-type:none;margin:0;overflow-x:auto;padding:0;scrollbar-width:none}.local-character-import2 .nav-tabs::-webkit-scrollbar{display:none}.local-character-import2 .nav-tab{background-color:#2a2a2a;border:2px solid #0000;border-radius:25px;color:#aaa;cursor:pointer;font-size:.9rem;font-weight:500;padding:10px 20px;position:relative;transition:all .3s ease;white-space:nowrap}.local-character-import2 .nav-tab:hover{background-color:#50c8781a;border-color:#50c8784d;color:#50c878}.local-character-import2 .nav-tab.active{background:linear-gradient(135deg,#50c878,#6fe99e);border-color:#50c878;box-shadow:0 4px 12px #50c8784d;color:#1c1c1c;font-weight:600}.local-character-import2 .nav-tab.results-count{background-color:initial;border:none;color:#888;cursor:default;padding:10px 15px}.local-character-import2 .nav-tab.results-count:hover{background-color:initial;border-color:#0000;color:#888}.local-character-import2 .nav-tab-dropdown{background-color:#2a2a2a!important;border:2px solid #0000!important;border-radius:25px!important;cursor:default!important;padding:0!important}.local-character-import2 .character-type-dropdown-bubble{appearance:none;-webkit-appearance:none;-moz-appearance:none;background-color:initial;background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23aaa" d="M6 8L2 4h8z"/></svg>');background-position:right 10px center;background-repeat:no-repeat;background-size:12px;border:none;border-radius:25px;color:#aaa;cursor:pointer;font-size:.9rem;font-weight:500;outline:none;padding:10px 40px 10px 20px;width:100%}.local-character-import2 .character-type-dropdown-bubble:hover{color:#50c878}.local-character-import2 .character-type-dropdown-bubble option{background-color:#2a2a2a;color:#aaa;padding:10px}.local-character-import2 .character-list{grid-gap:20px;box-sizing:border-box;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));justify-items:center;margin:0 auto;max-width:1600px;padding:0 40px 40px;width:100%}.local-character-import2 .character-card{background:#0000;border:1px solid #333;border-radius:16px;box-shadow:0 8px 32px #0006,0 2px 8px #0003;cursor:pointer;display:flex;flex-direction:column;height:320px;margin:0 auto;max-width:350px;overflow:hidden;padding:0;position:relative;text-align:left;transition:all .3s ease;width:100%}.local-character-import2 .character-card *{text-align:left!important}.local-character-import2 .character-card:hover{box-shadow:0 16px 64px #00000080,0 4px 16px #50c8781a;transform:translateY(-4px) scale(1.02)}.local-character-import2 .character-image-container{background:#0000;border-radius:16px;height:100%;margin-bottom:0;overflow:hidden;position:relative;width:100%}.local-character-import2 .character-image{border-radius:16px;height:100%;object-fit:cover;opacity:1!important;transition:none!important;width:100%}.local-character-import2 .character-token-badge{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0009;border:2px solid;border-radius:12px;box-shadow:0 4px 12px #0000004d;display:flex;flex-direction:column;padding:6px 10px;position:absolute;right:10px;top:10px;transition:all .3s ease}.local-character-import2 .token-count{color:#fff;font-size:14px;font-weight:700;line-height:1;text-shadow:0 1px 3px #00000080}.local-character-import2 .token-label{color:#fffc;font-size:8px;font-weight:600;letter-spacing:.5px;margin-top:2px;text-transform:uppercase}.local-character-import2 .character-gpu-badge{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0009;border-radius:8px;box-shadow:0 2px 8px #0000004d;font-size:11px;font-weight:600;left:10px;padding:4px 8px;position:absolute;top:10px}.local-character-import2 .character-rating-badge{background-color:#0009;border-radius:4px;color:#fff;font-size:.75rem;padding:4px 8px;position:absolute;right:10px;top:10px}.local-character-import2 .character-type-badge{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#000000b3;border:1px solid #fff3;border-radius:10px;bottom:8px;color:#fff;font-size:.65rem;font-weight:500;left:8px;padding:3px 6px;position:absolute;z-index:3}.local-character-import2 .character-card-hover-overlay{align-items:center;background-color:#0006;display:flex;height:100%;justify-content:center;left:0;opacity:0;pointer-events:none;position:absolute;top:0;transition:opacity .3s;width:100%}.local-character-import2 .character-card:hover .character-card-hover-overlay{opacity:1;pointer-events:auto}.local-character-import2 .hover-button{background-color:#50c878;border:none;border-radius:4px;color:#1c1c1c;cursor:pointer;font-size:.9rem;font-weight:700;padding:10px 16px;transition:background-color .3s}.local-character-import2 .hover-button:hover{background-color:#48a862}.local-character-import2 .character-info{align-items:flex-start;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:linear-gradient(180deg,#0000,#0000004d 40%,#000c);border-radius:0 0 16px 16px;bottom:0;display:flex;flex-direction:column;height:105px;justify-content:flex-start;left:0;padding:12px;position:absolute;right:0;text-align:left;z-index:2}.local-character-import2 .character-card .character-name{color:#fff;display:block;font-size:1rem;font-weight:600;line-height:1.1;margin:0 0 2px;overflow:hidden;text-align:left!important;text-overflow:ellipsis;text-shadow:0 1px 3px #000000b3;white-space:nowrap;width:100%}.local-character-import2 .character-personality{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;color:#ffffffe6;display:-webkit-box;font-size:.85rem;line-height:1.1;margin:0 0 2px;overflow:hidden;text-align:left;text-shadow:0 1px 2px #000000b3;transition:opacity .3s ease}.local-character-import2 .character-stats{align-items:center;color:#ffffffb3;display:flex;font-size:.75rem;margin-top:auto;padding-top:4px}.local-character-import2 .character-stat{align-items:center;display:flex;margin-right:12px}.local-character-import2 .nsfw-tag{background-color:#ff6b6b1a;border-radius:4px;color:#ff6b6b;font-size:.75rem;font-weight:600;margin-left:auto;padding:2px 6px}.local-character-import2 .stat-icon{margin-right:4px}.local-character-import2 .eye-icon{color:#50c878;filter:brightness(.9);font-size:.9rem;opacity:.8;text-shadow:0 0 2px #50c87833;transition:all .2s ease}.local-character-import2 .character-card:hover .eye-icon{color:#6fe99e;filter:brightness(1.1);opacity:1;text-shadow:0 0 4px #50c87866;transform:scale(1.05)}.local-character-import2 .loading-container{align-items:center;display:flex;flex-direction:column;grid-column:1/-1;justify-content:center;padding:60px 20px;width:100%}.local-character-import2 .loading-spinner{animation:lci2-spin 1s linear infinite;border:3px solid #50c87833;border-radius:50%;border-top-color:#50c878;height:50px;margin:0 auto 1.5rem;width:50px}@keyframes lci2-spin{to{transform:rotate(1turn)}}.local-character-import2 .no-characters-message{background-color:#00000008;border-radius:8px;grid-column:1/-1;margin:2rem auto;max-width:600px;padding:2rem;text-align:center;width:100%}.local-character-import2 .no-characters-message h3{color:#ddd;font-size:1.5rem;margin-bottom:1rem}.local-character-import2 .no-characters-message p{color:#aaa;font-size:1rem;margin-bottom:1.5rem}@media (max-width:1600px){.local-character-import2 .character-list{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));max-width:1400px}.local-character-import2 .local-ai-config-section,.local-character-import2 .navigation-container{max-width:1400px}}@media (max-width:1400px){.local-character-import2 .character-list{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));max-width:1200px}.local-character-import2 .local-ai-config-section,.local-character-import2 .navigation-container{max-width:1200px}}@media (max-width:1200px){.local-character-import2 .character-list{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));max-width:1000px;padding:0 30px 30px}.local-character-import2 .navigation-container{max-width:1000px;padding-left:30px;padding-right:30px}.local-character-import2 .local-ai-config-section{max-width:1000px;padding:0 30px}}@media (max-width:992px){.local-character-import2 .character-list{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));max-width:800px}.local-character-import2 .local-ai-config-section,.local-character-import2 .navigation-container{max-width:800px}.local-character-import2 .local-ai-config-grid{grid-template-columns:1fr}}@media (max-width:768px){.local-character-import2 .navigation-container{align-items:center;flex-direction:row;gap:0;margin-bottom:15px;padding:0 20px}.local-character-import2 .nav-tabs{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;flex-wrap:nowrap;gap:10px;justify-content:flex-start;overflow-x:auto;padding-bottom:5px;scrollbar-width:none;width:100%}.local-character-import2 .nav-tabs::-webkit-scrollbar{display:none}.local-character-import2 .nav-tab{flex-shrink:0;font-size:.85rem;min-width:-webkit-fit-content;min-width:-moz-fit-content;min-width:fit-content;padding:8px 16px;white-space:nowrap}.local-character-import2 .nav-tab-dropdown{min-width:100px!important}.local-character-import2 .character-type-dropdown-bubble{font-size:.85rem;padding:8px 35px 8px 16px}.local-character-import2 .character-list{gap:16px;grid-template-columns:repeat(2,1fr);max-width:100%;padding:20px 16px 100px}.local-character-import2 .character-info{padding:12px}.local-character-import2 .character-name{font-size:1.1rem}.local-character-import2 .character-image-container{height:100%}.local-character-import2 .character-card{border:none;height:300px}.local-character-import2 .local-ai-config-section{padding:0 20px}.local-character-import2 .local-ai-config-container{padding:20px}.local-character-import2 .local-ai-config-grid{gap:20px;grid-template-columns:1fr}.local-character-import2 .local-ai-config-footer{align-items:stretch;flex-direction:column;gap:15px}.local-character-import2 .adapter-selector-container{align-items:stretch;flex-direction:column;gap:8px}.local-character-import2 .adapter-selector-container label{font-size:.85rem}.local-character-import2 .adapter-selector-dropdown{box-sizing:border-box;font-size:.9rem;max-width:100%;min-width:0;min-width:auto;padding:10px 12px;width:100%}.local-character-import2 .collection-badge.active{align-self:flex-start;margin-top:5px}}@media (max-width:480px){.local-character-import2 .navigation-container{gap:10px;margin-bottom:10px;padding:0 15px}.local-character-import2 .nav-tab{font-size:.8rem;padding:6px 12px}.local-character-import2 .character-list{gap:12px;grid-template-columns:repeat(2,1fr);max-width:100%;padding:15px 15px 100px}.local-character-import2 .character-image-container{height:100%}.local-character-import2 .character-card{border:none!important;height:280px;max-width:100%}.local-character-import2 .local-ai-config-section{margin:15px auto 20px;padding:0 15px}.local-character-import2 .local-ai-config-container{padding:15px}.local-character-import2 .local-ai-config-header{align-items:flex-start;flex-direction:column;gap:8px}.local-character-import2 .local-ai-config-title{font-size:1.1rem}.local-character-import2 .local-ai-config-status,.local-character-import2 .local-ai-input-group label{font-size:.85rem}.local-character-import2 .local-ai-input{box-sizing:border-box;font-size:14px;max-width:100%;padding:10px 12px;width:100%}.local-character-import2 .input-description{font-size:.7rem;line-height:1.2}.local-character-import2 .setup-guide-link{display:block;font-size:.85rem;text-align:center;width:100%}.local-character-import2 .adapter-selector-dropdown{font-size:.85rem;padding:8px 10px}.local-character-import2 .collection-badge{font-size:.8rem;padding:5px 10px}}.local-character-details{background:#0a0a0a;color:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;min-height:100vh;position:relative}.local-character-details .lcd-background{bottom:0;left:0;position:fixed;right:0;top:0;z-index:0}.local-character-details .lcd-background-overlay{background:linear-gradient(180deg,#000000b3,#000000d9 50%,#000000f2);bottom:0;left:0;position:absolute;right:0;top:0}.local-character-details .lcd-container{margin:0 auto;max-width:1200px;padding:20px;position:relative;z-index:1}.local-character-details .lcd-loading{align-items:center;display:flex;flex-direction:column;justify-content:center;min-height:100vh}.local-character-details .lcd-loading-spinner{animation:lcd-spin 1s linear infinite;border:3px solid #4a9eff33;border-radius:50%;border-top-color:#4a9eff;height:50px;margin-bottom:20px;width:50px}@keyframes lcd-spin{to{transform:rotate(1turn)}}.local-character-details .lcd-header{margin-bottom:40px}.local-character-details .lcd-back-button{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;margin-bottom:30px;padding:10px 20px;transition:all .3s ease}.local-character-details .lcd-back-button:hover{background:#ffffff26;transform:translateX(-5px)}.local-character-details .lcd-header-content{align-items:center;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:20px;display:flex;gap:40px;padding:30px}.local-character-details .lcd-character-avatar{background:#ffffff0d;border:3px solid #fff3;border-radius:20px;flex-shrink:0;height:150px;overflow:hidden;width:150px}.local-character-details .lcd-character-avatar img{height:100%;object-fit:cover;width:100%}.local-character-details .lcd-avatar-placeholder{align-items:center;background:linear-gradient(135deg,#4a9eff,#ff6b6b);color:#ffffffe6;display:flex;font-size:60px;font-weight:700;height:100%;justify-content:center;width:100%}.local-character-details .lcd-character-info{flex:1 1}.local-character-details .lcd-character-info h1{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#4a9eff,#ff6b6b);-webkit-background-clip:text;background-clip:text;font-size:36px;font-weight:700;margin:0 0 10px}.local-character-details .lcd-tagline{color:#aaa;font-size:16px;line-height:1.5;margin:0 0 20px}.local-character-details .lcd-stats-row{display:flex;flex-wrap:wrap;gap:30px;margin-bottom:25px}.local-character-details .lcd-stat-item{display:flex;flex-direction:column;gap:5px}.local-character-details .lcd-stat-label{color:#888;font-size:12px;letter-spacing:1px;text-transform:uppercase}.local-character-details .lcd-stat-value{color:#fff;font-size:20px;font-weight:600}.local-character-details .lcd-connected{color:#4ade80}.local-character-details .lcd-disconnected{color:#ef4444}.local-character-details .lcd-start-chat-btn{background:linear-gradient(135deg,#4a9eff,#3a8eef);border:none;border-radius:30px;color:#fff;cursor:pointer;font-size:16px;font-weight:600;padding:14px 32px;transition:all .3s ease}.local-character-details .lcd-start-chat-btn:hover{box-shadow:0 10px 30px #4a9eff66;transform:scale(1.05)}.local-character-details .lcd-tabs{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff08;border:1px solid #ffffff14;border-radius:12px;display:flex;gap:10px;margin-bottom:30px;padding:8px}.local-character-details .lcd-tab{background:#0000;border:none;border-radius:8px;color:#888;cursor:pointer;font-size:14px;font-weight:500;padding:12px 24px;transition:all .3s ease}.local-character-details .lcd-tab:hover{background:#ffffff0d;color:#fff}.local-character-details .lcd-tab.active{background:#4a9eff33;color:#4a9eff}.local-character-details .lcd-content{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#ffffff08;border:1px solid #ffffff14;border-radius:20px;margin-bottom:30px;min-height:400px;padding:30px}.local-character-details .lcd-section{margin-bottom:40px}.local-character-details .lcd-section:last-child{margin-bottom:0}.local-character-details .lcd-section h2{color:#fff;font-size:24px;font-weight:600;margin:0 0 20px}.local-character-details .lcd-section h3{color:#4a9eff;font-size:18px;font-weight:600;margin:0 0 15px}.local-character-details .lcd-section p{color:#aaa;line-height:1.6;margin:0 0 15px}.local-character-details .lcd-token-analysis{background:#ffffff08;border:1px solid #ffffff14;border-radius:12px;padding:20px}.local-character-details .lcd-token-bar{background:#0000004d;border-radius:8px;display:flex;height:40px;margin-bottom:20px;overflow:hidden}.local-character-details .lcd-token-segment{align-items:center;color:#fff;display:flex;font-size:12px;font-weight:600;justify-content:center;transition:all .3s ease}.local-character-details .lcd-token-segment.prompt{background:linear-gradient(90deg,#4a9eff,#3a8eef)}.local-character-details .lcd-token-segment.commands{background:linear-gradient(90deg,#ff6b6b,#ef4444)}.local-character-details .lcd-token-segment:hover{filter:brightness(1.2)}.local-character-details .lcd-gpu-recommendations{margin-top:20px}.local-character-details .lcd-model-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}.local-character-details .lcd-model-badge{background:#4a9eff1a;border:1px solid #4a9eff4d;border-radius:20px;color:#4a9eff;font-size:13px;padding:6px 14px}.local-character-details .lcd-info-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.local-character-details .lcd-info-item{background:#ffffff08;border:1px solid #ffffff14;border-radius:8px;padding:15px}.local-character-details .lcd-info-label{color:#888;display:block;font-size:12px;margin-bottom:5px;text-transform:uppercase}.local-character-details .lcd-info-value{color:#fff;font-size:16px;font-weight:500}.local-character-details .lcd-collection-info{color:#888;margin-bottom:20px}.local-character-details .lcd-adapter-selector{align-items:center;background:#0000004d;border:1px solid #50c87833;border-radius:10px;display:flex;gap:15px;margin-bottom:20px;padding:15px}.local-character-details .lcd-adapter-selector label{color:#50c878;font-size:.95rem;font-weight:600}.local-character-details .lcd-adapter-dropdown{background:#00000080;border:1px solid #333;border-radius:8px;color:#fff;cursor:pointer;flex:1 1;font-size:.9rem;max-width:400px;padding:8px 12px;transition:all .3s ease}.local-character-details .lcd-adapter-dropdown:hover{background:#50c8780d;border-color:#50c878}.local-character-details .lcd-adapter-dropdown:focus{border-color:#50c878;box-shadow:0 0 0 2px #50c87833;outline:none}.local-character-details .lcd-adapter-dropdown:disabled{cursor:not-allowed;opacity:.5}.local-character-details .lcd-adapter-dropdown option{background:#1a1a1a;color:#fff}.local-character-details .lcd-commands-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.local-character-details .lcd-command-card{background:#ffffff08;border:1px solid #ffffff14;border-radius:12px;padding:20px;transition:all .3s ease}.local-character-details .lcd-command-card:hover{background:#ffffff0d;border-color:#4a9eff4d;transform:translateY(-2px)}.local-character-details .lcd-command-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:12px}.local-character-details .lcd-command-trigger{background:#4a9eff1a;border-radius:4px;color:#4a9eff;font-family:Courier New,monospace;font-size:13px;padding:4px 8px}.local-character-details .lcd-command-source{border-radius:12px;font-size:11px;padding:3px 8px;text-transform:uppercase}.local-character-details .lcd-command-source.collection{background:#4a9eff1a;color:#4a9eff}.local-character-details .lcd-command-source.character{background:#ff6b6b1a;color:#ff6b6b}.local-character-details .lcd-command-name{color:#fff;font-size:16px;font-weight:600;margin:0 0 8px}.local-character-details .lcd-command-description{color:#888;font-size:13px;line-height:1.5;margin:0 0 12px}.local-character-details .lcd-command-meta{display:flex;flex-wrap:wrap;gap:8px}.local-character-details .lcd-meta-badge{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;color:#aaa;font-size:11px;padding:3px 8px}.local-character-details .lcd-meta-badge.intensity-gentle{background:#4ade801a;border-color:#4ade804d;color:#4ade80}.local-character-details .lcd-meta-badge.intensity-moderate{background:#facc151a;border-color:#facc154d;color:#facc15}.local-character-details .lcd-meta-badge.intensity-intense{background:#fb923c1a;border-color:#fb923c4d;color:#fb923c}.local-character-details .lcd-meta-badge.intensity-finisher{background:#ef44441a;border-color:#ef44444d;color:#ef4444}.local-character-details .lcd-prompt-container{background:#0000004d;border:1px solid #ffffff14;border-radius:8px;padding:20px;position:relative}.local-character-details .lcd-prompt-text{word-wrap:break-word;color:#aaa;font-family:Courier New,monospace;font-size:13px;line-height:1.6;margin:0;max-height:300px;overflow:hidden;transition:max-height .3s ease;white-space:pre-wrap}.local-character-details .lcd-prompt-text.expanded{max-height:none}.local-character-details .lcd-toggle-prompt{background:#4a9eff1a;border:1px solid #4a9eff4d;border-radius:6px;color:#4a9eff;cursor:pointer;font-size:13px;margin-top:15px;padding:8px 16px;transition:all .3s ease}.local-character-details .lcd-toggle-prompt:hover{background:#4a9eff33}.local-character-details .lcd-guide-step{background:#ffffff08;border:1px solid #ffffff14;border-radius:12px;margin-bottom:20px;padding:20px}.local-character-details .lcd-guide-step ul{color:#aaa;margin:10px 0 0 20px;padding:0}.local-character-details .lcd-guide-step li{line-height:1.6;margin-bottom:8px}.local-character-details .lcd-guide-step code{background:#4a9eff1a;border-radius:4px;color:#4a9eff;font-family:Courier New,monospace;padding:2px 6px}.local-character-details .lcd-guide-step a{color:#4a9eff;text-decoration:none}.local-character-details .lcd-guide-step a:hover{text-decoration:underline}.local-character-details .lcd-action-bar{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#ffffff08;border:1px solid #ffffff14;border-radius:16px;display:flex;gap:20px;justify-content:space-between;padding:20px}.local-character-details .lcd-action-btn{border:none;border-radius:30px;cursor:pointer;flex:1 1;font-size:15px;font-weight:600;max-width:300px;padding:14px 28px;transition:all .3s ease}.local-character-details .lcd-action-btn.primary{background:linear-gradient(135deg,#4a9eff,#3a8eef);color:#fff}.local-character-details .lcd-action-btn.primary:hover{box-shadow:0 10px 30px #4a9eff66;transform:scale(1.05)}.local-character-details .lcd-action-btn.secondary{background:#ffffff1a;border:1px solid #fff3;color:#fff}.local-character-details .lcd-action-btn.secondary:hover{background:#ffffff26}@media (max-width:768px){.local-character-details .lcd-header-content{flex-direction:column;text-align:center}.local-character-details .lcd-character-avatar{margin:0 auto}.local-character-details .lcd-stats-row{justify-content:center}.local-character-details .lcd-tabs{flex-wrap:wrap}.local-character-details .lcd-commands-grid{grid-template-columns:1fr}.local-character-details .lcd-action-bar{flex-direction:column}.local-character-details .lcd-action-btn{max-width:none}}.terms-container{font-family:sans-serif;margin:0 auto;max-width:800px;padding:20px}.terms-container h1,.terms-container h2,.terms-container h3{line-height:1.3;margin-bottom:.75rem;margin-top:1.5rem}.terms-container p{line-height:1.6;margin-bottom:1rem}.terms-container ul{list-style:disc;margin-bottom:1rem;padding-left:2rem}.terms-container li{line-height:1.6;margin-bottom:.5rem}.terms-container section{margin-bottom:2rem}.terms-container a{color:#007bff;text-decoration:none}.terms-container a:hover{text-decoration:underline}.important-notice{background-color:#2d1f1f;border:2px solid #ff6b6b;border-radius:12px;box-shadow:0 4px 16px #ff6b6b33;margin:24px 0;overflow:hidden;padding:20px;position:relative;text-align:center}.important-notice:before{animation:pulse-border 2s infinite;background:linear-gradient(90deg,#ff6b6b,#ff4757,#ff6b6b);content:"";height:4px;left:0;position:absolute;right:0;top:0}@keyframes pulse-border{0%,to{opacity:1}50%{opacity:.7}}.important-notice h3{color:#ff6b6b;font-size:1.3rem;font-weight:700;margin:0 0 12px;text-shadow:0 2px 4px #0000004d}.important-notice p{color:#ddd;font-size:1rem;line-height:1.5;margin:0}.important-notice ul{margin:16px auto 0;max-width:800px;padding-left:20px;text-align:left}.important-notice li{color:#ddd;font-size:.9rem;line-height:1.5;margin-bottom:8px}.important-notice strong{color:#ff6b6b;font-weight:600}.character-builder-page{background-color:#1c1c1c;color:#fff;display:flex;flex-direction:column;min-height:calc(100vh - 60px);width:100%}.character-builder-header{border-bottom:1px solid #333;padding:20px;width:100%}.character-builder-header h1{color:#50c878;font-size:2rem;margin-bottom:10px}.character-builder-content{display:flex;flex-wrap:wrap;gap:20px;padding:20px}.character-info-panel,.command-panel{background-color:#242424;border-radius:10px;box-shadow:0 2px 8px #0000004d;flex:1 1;min-width:300px;padding:20px}.status-message{background-color:#50c8781a;border-radius:6px;color:#50c878;font-weight:500;padding:10px}.form-group,.status-message{margin-bottom:16px}.form-label{color:#ddd;font-weight:500}.form-input,.form-select,.form-textarea{background-color:#333;border:1px solid #444;border-radius:6px;color:#fff;font-size:1rem;padding:12px;transition:border-color .2s;width:100%}.form-input:focus,.form-select:focus,.form-textarea:focus{border-color:#50c878;outline:none}.btn{border:none;border-radius:6px;cursor:pointer;font-weight:600;padding:10px 16px;transition:all .2s}.btn-primary{background-color:#50c878;color:#1c1c1c}.btn-primary:hover{background-color:#48a862;transform:translateY(-1px)}.btn-secondary{background-color:#444;color:#fff}.btn-secondary:hover{background-color:#555}.btn-info{background-color:#3498db;box-shadow:0 2px 4px #0003;color:#fff}.btn-info:hover{background-color:#2980b9;transform:translateY(-1px)}.btn-danger{background-color:#e74c3c;color:#fff}.btn-danger:hover{background-color:#c0392b}.button-group{display:flex;gap:10px;margin-top:16px}.character-image-preview{background-color:#333;border-radius:8px;height:200px;margin-bottom:16px;overflow:hidden;position:relative;width:100%}.character-image-preview img{height:100%;object-fit:cover;width:100%}.image-placeholder{align-items:center;color:#888;display:flex;height:100%;justify-content:center}.command-list{margin-top:20px}.command-item{align-items:center;background-color:#333;border-radius:6px;cursor:pointer;justify-content:space-between;margin-bottom:8px;padding:12px;transition:background-color .2s}.command-item:hover{background-color:#3a3a3a}.command-item.active{background-color:#50c8781a;border-left:3px solid #50c878}.command-name{color:#fff}.command-description{color:#aaa;font-size:.9rem;margin-top:4px}.command-actions{display:flex;gap:8px}.new-command-form{background-color:#333;border-radius:8px;margin-bottom:16px;padding:16px}.command-input-group{display:flex;gap:10px;margin-bottom:12px}.command-name-input{flex:1 1}.command-description-input{flex:3 1}.command-extras{display:flex;gap:8px;margin-top:4px}.command-has-audio,.command-has-image{background-color:#333;border-radius:4px;color:#eee;display:inline-block;font-size:.7rem;padding:2px 6px}.command-has-audio{background-color:#3a539b}.command-has-image{background-color:#8e44ad}.file-upload-area{background-color:#2a2a2a;border:2px dashed #444;border-radius:5px;cursor:pointer;padding:15px;text-align:center;transition:all .2s ease}.file-upload-area:hover{background-color:#333;border-color:#555}.file-upload-area.dragging{background-color:#50c8781a;border-color:#50c878;box-shadow:0 0 10px #50c8784d;transform:scale(1.01)}.file-upload-area input{display:none}.file-upload-area p{color:#ccc;margin-bottom:10px}.file-upload-label{background-color:#444;border-radius:4px;color:#fff;display:inline-block;font-size:.8rem;margin-top:5px;padding:6px 12px;transition:background-color .2s}.file-upload-area.dragging .file-upload-label,.file-upload-area:hover .file-upload-label{background-color:#50c878}.file-name-display{color:#50c878;font-size:.85rem;margin-top:10px;word-break:break-all}.file-upload-area.dragging{animation:pulse 1.5s infinite}.help-icon{background-color:#333;height:30px;position:absolute;right:20px;top:20px;transition:background-color .2s;width:30px}.modal-overlay{background-color:#000000b3;z-index:1001}.modal-content{background-color:#1f1f1f;box-shadow:0 5px 15px #00000080;max-width:700px;overflow-y:auto;padding:30px;position:relative;width:90%}.modal-close{color:#aaa;position:absolute;right:15px;top:10px;transition:color .2s}.modal-close:hover,.modal-title{color:#50c878}.modal-title{border-bottom:1px solid #333;font-size:24px;margin-bottom:20px;padding-bottom:15px}.modal-content .btn-primary{background-color:#50c878;border:none;border-radius:4px;color:#fff;cursor:pointer;font-weight:700;padding:10px 20px;transition:background-color .2s}.modal-content .btn-primary:hover{background-color:#3da15b}.modal-content h3{color:#50c878;margin-bottom:10px;margin-top:20px}.modal-content ol,.modal-content p,.modal-content ul{margin-bottom:15px}.modal-content strong{color:#50c878}.modal-content em{color:gold}.status-message{background-color:#2c3e50;border-left:4px solid #3498db;border-radius:5px;color:#ecf0f1;font-size:.9rem;margin:15px 0;padding:12px}@media (max-width:768px){.character-builder-content,.command-input-group{flex-direction:column}}.auth-modal-overlay{align-items:center;background-color:#000000b3;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.auth-modal{background-color:#2a2a2a;border-radius:8px;box-shadow:0 5px 15px #00000080;max-width:450px;padding:30px;text-align:center}.auth-modal h2{color:#fff;font-size:1.8rem;margin-bottom:15px;margin-top:0}.auth-modal p{color:#ddd;font-size:1.1rem;line-height:1.5;margin-bottom:25px}.auth-modal-buttons{display:flex;gap:15px;justify-content:center}.auth-modal-buttons .btn{border-radius:4px;cursor:pointer;font-size:1rem;font-weight:500;min-width:110px;padding:10px 20px;transition:all .2s ease}.auth-modal-buttons .btn-primary{background-color:#3498db;border:none;color:#fff}.auth-modal-buttons .btn-primary:hover{background-color:#2980b9}.auth-modal-buttons .btn-secondary{background-color:#555;border:none;color:#fff}.auth-modal-buttons .btn-secondary:hover{background-color:#444}.character-builder-content-wrapper{transition:filter .3s ease}.upload-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#000000a6!important}.upload-modal{animation:slideUp .4s ease;background-color:initial;border:1px solid #4444444d;border-radius:14px;box-shadow:0 20px 40px #000000b3;display:flex;flex-direction:column;max-height:85vh;max-width:700px;overflow:hidden;width:95%}.upload-modal-header{background:linear-gradient(135deg,#1a1a1a,#2d2d2d);flex-shrink:0;height:200px;overflow:hidden;position:relative}.upload-image-container{align-items:center;display:flex;height:100%;justify-content:center;position:relative;width:100%}.upload-device-icon{color:#50c878;color:var(--primary-color,#50c878);height:120px;opacity:.3;position:absolute;width:120px;z-index:1}.upload-image-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:linear-gradient(#0000,#000000d9);bottom:0;color:#fff;left:0;padding:32px 24px 20px;position:absolute;right:0;text-align:center;z-index:2}.upload-modal-title{color:#50c878;color:var(--primary-color,#50c878);font-size:1.8rem;font-weight:700;letter-spacing:-.3px;margin:0 0 6px;text-shadow:0 2px 8px #000c}.upload-modal-subtitle{color:#ddd;font-size:1rem;line-height:1.4;margin:0;opacity:.9;text-shadow:0 1px 4px #000c}.upload-modal-body{-webkit-backdrop-filter:blur(20px)!important;background:#0000004d!important;flex:1 1;min-height:0;overflow-y:auto;padding:24px 20px 20px}.upload-info-section{margin-bottom:24px}.upload-info-section h3{color:#50c878;color:var(--primary-color,#50c878);font-size:1.2rem;font-weight:600;margin:0 0 16px}.character-sites{grid-gap:16px;display:grid;gap:16px;grid-template-columns:1fr 1fr;margin-bottom:20px}.site-link{align-items:center;background-color:#242424;background-color:var(--medium-bg,#242424);border:2px solid #444;border:2px solid var(--border-color,#444);border-radius:12px;color:inherit;cursor:pointer;display:flex;gap:12px;padding:16px;text-decoration:none;transition:all .3s ease}.site-link:hover{border-color:#50c878;border-color:var(--primary-color,#50c878);box-shadow:0 8px 16px #0000004d;transform:translateY(-2px)}.site-icon{align-items:center;background:#50c8781a;border-radius:8px;display:flex;font-size:2rem;height:48px;justify-content:center;width:48px}.site-info h4{color:#fff;color:var(--text-primary,#fff);font-size:1rem;font-weight:600;margin:0 0 4px}.site-info p{color:#999;color:var(--text-muted,#999);font-size:.85rem;margin:0}.upload-input-section{background-color:#242424;background-color:var(--medium-bg,#242424);border:2px solid #444;border:2px solid var(--border-color,#444);border-radius:12px;display:flex;flex-direction:column;margin-bottom:20px;padding:20px}.upload-input-section h3{color:#fff;color:var(--text-primary,#fff);font-size:1.1rem;font-weight:600;margin:0 0 8px}.upload-instructions{color:#ddd;color:var(--text-light,#ddd);font-size:.9rem;line-height:1.4;margin:0 0 16px}.character-card-input{background:#0000004d;border:2px solid #444;border:2px solid var(--border-color,#444);border-radius:8px;box-sizing:border-box;color:#fff;color:var(--text-primary,#fff);font-family:Courier New,monospace;font-size:.9rem;min-height:200px;padding:16px;resize:vertical;transition:all .3s ease;width:100%}.character-card-input:focus{border-color:#50c878;border-color:var(--primary-color,#50c878);box-shadow:0 0 0 2px #50c87833;outline:none}.character-card-input::placeholder{color:#999;color:var(--text-muted,#999)}.upload-error{align-items:center;background:#ff6b6b1a;border:1px solid #ff6b6b4d;border-radius:8px;color:#ff6b6b;display:flex;font-size:.9rem;gap:8px;margin-top:12px;padding:12px}.upload-actions{display:flex;gap:16px;justify-content:flex-end;margin-bottom:20px}.upload-action-button{align-items:center;border:none;border-radius:12px;cursor:pointer;display:flex;font-size:1rem;font-weight:700;gap:8px;letter-spacing:.5px;padding:14px 24px;text-transform:uppercase;transition:all .3s ease}.cancel-button{background-color:#242424;background-color:var(--medium-bg,#242424);border:2px solid #444;border:2px solid var(--border-color,#444);color:#fff;color:var(--text-primary,#fff)}.cancel-button:hover{background-color:#333;background-color:var(--lighter-bg,#333);box-shadow:0 6px 16px #0000004d;transform:translateY(-2px)}.upload-button{background-color:#50c878;background-color:var(--primary-color,#50c878);box-shadow:0 2px 8px #50c8784d;color:#fff;justify-content:center;min-width:200px}.upload-button:hover:not(:disabled){background-color:#48a862;background-color:var(--primary-dark,#48a862);box-shadow:0 4px 12px #50c87866;transform:translateY(-2px)}.upload-button:disabled{cursor:not-allowed;opacity:.5}.upload-button svg{flex-shrink:0}.loading-spinner{border:2px solid #0000;border-top-color:currentcolor;height:16px;width:16px}.upload-modal-footer{border-top:1px solid #444;border-top:1px solid var(--border-color,#444);flex-shrink:0;padding-top:20px;text-align:center}.upload-secure-note{align-items:center;color:#999;color:var(--text-muted,#999);display:flex;font-size:.8rem;gap:6px;justify-content:center}.upload-secure-note svg{opacity:.7}@media (max-width:768px){.upload-modal{margin:10px;max-width:95%}.character-sites{gap:12px;grid-template-columns:1fr}.upload-modal-header{height:180px}.upload-modal-title{font-size:1.6rem}.upload-modal-subtitle{font-size:.9rem}.upload-modal-body{padding:20px 16px 16px}.upload-actions{flex-direction:column}.upload-action-button{justify-content:center;width:100%}}@media (max-width:480px){.upload-modal-overlay{align-items:flex-start;padding:0}.upload-modal{border-radius:0;display:flex;flex-direction:column;height:100vh;margin:0;max-height:100vh;width:100%}.upload-modal-header{flex-shrink:0;height:160px}.upload-device-icon{height:80px;width:80px}.upload-image-overlay{padding:20px 16px 16px}.upload-modal-title{font-size:1.4rem}.upload-modal-subtitle{font-size:.85rem}.upload-modal-body{-webkit-overflow-scrolling:touch;flex:1 1;min-height:0;overflow-y:auto;padding:16px 12px 12px}.character-card-input{font-size:.85rem;min-height:150px}.upload-modal-footer{border-top:1px solid #444;border-top:1px solid var(--border-color,#444);flex-shrink:0;padding:12px}.upload-secure-note{font-size:.75rem}}.command-generation-step,.command-header h2{color:var(--text-color)}.command-header h2{margin-bottom:15px}.command-header p{color:var(--text-light);margin-bottom:30px}.sex-toy-selection .option-card{background:#2a2a2a;border:2px solid #555;transition:all .3s ease}.sex-toy-selection .option-card:hover{background:#333;border-color:#666;box-shadow:0 4px 20px #ffffff1a}.sex-toy-selection .option-card.selected{background:#2a2a2a;border-color:var(--primary-color);box-shadow:0 0 15px #50c8784d}.system-prompt-container{margin-bottom:20px}.system-prompt-container div,.system-prompt-container textarea{background:#2a2a2a;border:1px solid #555;border-radius:var(--radius);color:var(--text-color)}.system-prompt-container textarea:focus{background:#2a2a2a;border-color:#666;box-shadow:0 0 0 3px #ffffff1a}.commands-editor-section textarea{background:#2a2a2a;border:1px solid #555;border-radius:var(--radius);color:var(--text-color);font-family:Fira Code,Monaco,Consolas,monospace}.commands-editor-section textarea:focus{background:#2a2a2a;border-color:#666;box-shadow:0 0 0 3px #ffffff1a}.commands-editor-section textarea[style*="rgba(255, 107, 107"], .commands-editor-section textarea[style*="rgba(78, 205, 196"]{background:#2a2a2a!important;border:1px solid #666!important}.connection-header h2,.funscript-connection-step{color:var(--text-color)}.connection-header h2{margin-bottom:15px}.connection-header p{color:var(--text-light);margin-bottom:30px}.commands-preview{margin-bottom:30px}.commands-preview h3{color:var(--primary-color);font-size:1.2rem;margin-bottom:15px}.commands-preview-container{background:#2a2a2a;border:1px solid #555;border-radius:var(--radius);margin-bottom:25px;padding:20px}.command-item{align-items:flex-start;border-bottom:1px solid #444;display:flex;gap:10px;padding:8px 0}.command-item:last-child{border-bottom:none}.command-name{color:var(--primary-color);flex-shrink:0;font-family:Fira Code,monospace;font-weight:600}.command-description{color:var(--text-light);line-height:1.5}.available-categories{margin-bottom:30px}.available-categories h4{color:var(--primary-color);font-size:1.1rem;margin-bottom:12px}.category-tags{display:flex;flex-wrap:wrap;gap:8px}.category-tag{background:#2a2a2a;border:1px solid #555;border-radius:20px;color:var(--text-light);font-size:.85rem;padding:6px 12px;transition:all .2s ease}.category-tag:hover{background:#333;border-color:#666;box-shadow:0 2px 8px #ffffff1a;color:#ccc}.connection-results-section{margin-top:30px}.connections-list{display:flex;flex-direction:column;gap:20px}.connection-card{background:#2a2a2a;border:2px solid #555;border-radius:var(--radius);padding:25px;transition:all .3s ease}.connection-card:hover{background:#333;border-color:#666;box-shadow:0 8px 25px #ffffff1a}.connection-card h4{color:var(--primary-color);font-family:Fira Code,monospace;font-size:1.1rem;margin-bottom:8px}.connection-description{color:var(--text-light);font-size:.95rem;line-height:1.5;margin-bottom:20px}.connection-form-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:1fr 1fr;margin-bottom:20px}.form-label{color:var(--primary-color);font-size:.9rem}.form-input,.form-select{background:#1a1a1a;border:1px solid #555;border-radius:var(--radius-small);color:var(--text-color);font-size:.9rem;padding:10px 12px;transition:all .2s ease}.form-input:focus,.form-select:focus{background:#1a1a1a;border-color:#666;box-shadow:0 0 0 3px #ffffff1a;outline:none}.form-select option{background:#1a1a1a;color:var(--text-color)}.status-display{background:#1a1a1a;border:1px solid #555;border-radius:var(--radius-small);color:var(--text-light);font-size:.9rem;padding:10px 12px}.custom-upload-section{background:#333;border:1px solid #555;border-radius:var(--radius);margin-top:20px;padding:20px}.custom-upload-title{color:var(--primary-color);font-size:.95rem;font-weight:600;margin-bottom:15px}.custom-upload-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:1fr 1fr}.upload-item{display:flex;flex-direction:column}.upload-label{color:var(--primary-color);font-size:.85rem;font-weight:500;margin-bottom:8px}.upload-status{border-radius:var(--radius-small);font-size:.8rem;margin-bottom:8px;padding:8px 12px}.upload-status.success{background:#50c87826;border:1px solid #666;color:var(--primary-color)}.upload-button{background:#1a1a1a;border:1px solid #555;border-radius:var(--radius-small);color:var(--text-color);cursor:pointer;display:inline-block;font-size:.85rem;padding:8px 16px;text-align:center;transition:all .2s ease}.upload-button:hover{background:#333;border-color:#666;box-shadow:0 2px 8px #ffffff1a;color:#ccc}.remove-button{background:#dc354526;border:1px solid #dc3545;border-radius:var(--radius-small);color:#ff6b6b;cursor:pointer;font-size:.8rem;padding:4px 8px;transition:all .2s ease}.remove-button:hover{background:#dc354540;box-shadow:0 2px 8px #dc354533}.ai-reasoning{margin-top:15px}.ai-reasoning-label{color:var(--primary-color);display:block;font-size:.9rem;font-weight:600;margin-bottom:8px}.ai-reasoning-text{background:#1a1a1a;border:1px solid #555;border-radius:var(--radius-small);color:var(--text-light);font-size:.85rem;line-height:1.4;padding:10px 12px}.connection-success{background:#50c8781a;border:1px solid #666;border-radius:var(--radius);color:var(--primary-color);font-size:.9rem;margin-top:20px;padding:15px}.connection-actions{align-items:center;display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between}.connection-info{flex:1 1;min-width:200px}.connection-buttons{display:flex;flex-wrap:wrap;gap:8px}.action-button{background:#1a1a1a;border:1px solid;border-radius:var(--radius-small);font-size:.8rem;padding:6px 12px;transition:all .2s ease}.action-button.audio{border-color:#22c1c3;color:#22c1c3}.action-button.audio:hover{background:#22c1c326;box-shadow:0 2px 8px #22c1c333}.action-button.graph{border-color:var(--primary-color);color:var(--primary-color)}.action-button.graph:hover{background:#50c87826;box-shadow:0 2px 8px #50c87833}.connection-error{background:#dc354526;border:1px solid #dc3545;border-radius:var(--radius-small);color:#ff6b6b;font-size:.85rem;margin-top:10px;padding:10px 12px}.image-generation-step,.image-header h2{color:var(--text-color)}.image-header p{color:var(--text-light)}.character-summary-section{background:#2a2a2a;border:1px solid #555;border-radius:var(--radius);margin-bottom:25px;padding:20px}.character-summary-section h3{color:var(--primary-color);margin-bottom:15px}.pro-tip{background:#50c8781a;border:1px solid #666;border-radius:var(--radius-small);color:var(--text-light);margin-bottom:15px;padding:12px}.character-summary-text{color:var(--text-light);font-family:Fira Code,monospace;line-height:1.4;max-height:200px;overflow-y:auto;padding:15px;white-space:pre-wrap}.character-summary-text,.copy-button{background:#1a1a1a;border:1px solid #555;border-radius:var(--radius-small);font-size:.85rem}.copy-button{color:var(--text-color);cursor:pointer;padding:8px 16px;transition:all .2s ease}.copy-button:hover{background:#333;border-color:#666;box-shadow:0 2px 8px #ffffff1a;color:#ccc}.command-images-section{background:#2a2a2a;border:1px solid #555;border-radius:var(--radius);margin-bottom:25px;padding:20px}.command-images-section h3{color:var(--primary-color);margin-bottom:15px}.command-image-item{background:#1a1a1a;border:1px solid #555;border-radius:var(--radius-small);margin-bottom:15px;padding:15px}.command-image-item h4{color:var(--primary-color);font-family:Fira Code,monospace;margin:0 0 5px}.command-image-description{font-size:.9rem}.image-input-section{align-items:flex-start;display:flex;gap:15px}.image-input-group{flex:1 1}.image-label{color:var(--primary-color);display:block;font-size:.9rem;font-weight:500;margin-bottom:5px}.image-input{background:#1a1a1a;border:1px solid #555;border-radius:var(--radius-small);color:var(--text-color);font-size:.85rem;padding:8px 12px;width:100%}.image-input:focus{background:#1a1a1a;border-color:#666;box-shadow:0 0 0 3px #ffffff1a;outline:none}.image-preview{flex-shrink:0;height:60px;width:80px}.preview-image{border:1px solid #555;border-radius:var(--radius-small);height:100%;object-fit:cover;width:100%}.preview-error{background:#dc354526;border:1px solid #dc3545;border-radius:var(--radius-small);color:#ff6b6b;font-size:.7rem;height:100%;text-align:center;width:100%}.funscript-graph-modal-overlay,.preview-error{align-items:center;display:flex;justify-content:center}.funscript-graph-modal-overlay{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#000000d9;bottom:0;left:0;position:fixed;right:0;top:0;z-index:1000}.funscript-graph-modal{background:#2a2a2a;border:2px solid #555;border-radius:12px;box-shadow:0 25px 50px #00000080;max-height:90vh;max-width:90vw;overflow:auto;padding:30px}.modal-header{margin-bottom:20px}.modal-title{color:#fff;font-size:1.2rem;margin:0}.modal-close-button{background:none;border:none;border-radius:50%;color:#fff;cursor:pointer;font-size:24px;padding:5px;transition:all .2s ease}.modal-close-button:hover{background:#ffffff1a;color:#ccc}.graph-stats{color:#ccc;font-size:14px;margin-bottom:15px}.graph-container{background:#1a1a1a;border:1px solid #555;border-radius:8px;padding:10px}@media (max-width:768px){.connection-form-grid,.custom-upload-grid{gap:15px;grid-template-columns:1fr}.connection-actions{align-items:stretch;flex-direction:column}.connection-buttons{justify-content:center}.image-input-section{flex-direction:column;gap:10px}.image-preview{height:120px;width:100%}.funscript-graph-modal{margin:10px;padding:20px}}.image-generation-step .section{background:#2a2a2a;border:1px solid #555;border-radius:var(--radius);margin-bottom:25px;padding:20px}.image-generation-step .section-title{align-items:center;color:var(--primary-color);display:flex;font-size:1.2rem;gap:10px;margin-bottom:20px}.image-generation-step .section-icon{font-size:1.3rem}.character-image-generation{text-align:center}.character-image-controls{grid-gap:20px;display:grid;gap:20px;grid-template-columns:1fr 1fr;margin-bottom:20px}.image-generation-button{border:2px solid;border-radius:8px;cursor:pointer;font-size:16px;font-weight:600;padding:15px 30px;text-align:center;transition:all .3s ease}.image-generation-button.character{background:#4ecdc433;border-color:#4ecdc466;color:#4ecdc4}.image-generation-button.character:hover:not(:disabled){background:#4ecdc44d;box-shadow:0 4px 15px #4ecdc44d}.image-generation-button.command{background:#ff6b6b33;border-color:#ff6b6b66;color:#ff6b6b}.image-generation-button.command:hover:not(:disabled){background:#ff6b6b4d;box-shadow:0 4px 15px #ff6b6b4d}.image-generation-button:disabled{background:#666!important;box-shadow:none!important;color:#999!important;cursor:not-allowed!important}.command-images-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.command-image-card{background:#1a1a1a;border:1px solid #555;border-radius:var(--radius-small);padding:15px;transition:all .3s ease}.command-image-card:hover{border-color:#666;box-shadow:0 4px 12px #ffffff1a}.command-image-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:10px}.command-image-name{color:var(--primary-color);font-family:Fira Code,monospace;font-size:1rem;font-weight:600;margin:0}.command-image-description{color:var(--text-light);font-size:.85rem;line-height:1.4;margin:0 0 15px}.command-image-preview{margin:15px 0}.command-image-preview img{border:2px solid #ff6b6b66;border-radius:var(--radius-small);max-height:150px;max-width:100%;object-fit:cover}.generation-status{align-items:center;border-radius:var(--radius-small);display:flex;font-size:.9rem;gap:10px;margin:10px 0;padding:10px 15px}.generation-status.generating{background:#ffc10726;border:1px solid #ffc1074d;color:#ffc107}.generation-status.success{background:#28a74526;border:1px solid #28a7454d;color:#28a745}.generation-status.error{background:#dc354526;border:1px solid #dc35454d;color:#dc3545}.command-image-modal .modal-content{max-width:500px}.pose-selection{margin-bottom:20px}.pose-selection label{color:#4ecdc4;display:block;font-weight:500;margin-bottom:8px}.pose-selection select{background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#fff;font-size:14px;padding:12px;width:100%}.pose-selection select:focus{border-color:#4ecdc4;box-shadow:0 0 0 3px #4ecdc433;outline:none}.pose-selection option{background:#1a1a1a;color:#fff}.token-cost{color:#8892b0;font-size:12px;margin-top:8px;text-align:center}.token-cost.warning{color:#ffc107}.image-preview-container{display:inline-block;position:relative}.image-preview-container .image-overlay{align-items:center;background:#000000b3;border-radius:8px;bottom:0;display:flex;justify-content:center;left:0;opacity:0;position:absolute;right:0;top:0;transition:all .3s ease}.image-preview-container:hover .image-overlay{opacity:1}.image-overlay-text{color:#fff;font-size:.9rem;font-weight:500;text-align:center}.generating-spinner{animation:spin 1s ease-in-out infinite;border:2px solid #ffffff4d;border-radius:50%;border-top-color:#4ecdc4;display:inline-block;height:16px;margin-right:8px;width:16px}.generation-progress{margin:15px 0}.progress-bar{background:#ffffff1a;border-radius:2px;height:4px;width:100%}.progress-fill{background:linear-gradient(90deg,#4ecdc4,#44a08d);border-radius:2px}@media (max-width:768px){.character-image-controls{gap:15px;grid-template-columns:1fr}.command-images-grid{grid-template-columns:1fr}.command-image-header{align-items:flex-start;flex-direction:column;gap:10px}.image-generation-button{font-size:14px;padding:12px 20px}.command-image-modal .modal-content{margin:20px;padding:20px}}.provider-selection-container{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;margin-bottom:25px;padding:20px}.provider-selection-description{color:#ccc;font-size:14px;margin-bottom:20px}.providers-grid{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.provider-card{border-radius:8px;cursor:pointer;padding:15px;transition:all .3s ease}.provider-card:not(.selected){background:#ffffff0d;border:2px solid #ffffff1a}.provider-card.selected{background:#4ecdc433;border:2px solid #4ecdc499}.provider-card-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.provider-name{font-size:16px;margin:0}.provider-name:not(.selected){color:#fff}.provider-name.selected{color:#4ecdc4}.provider-cost{border-radius:4px;font-size:12px;font-weight:600;padding:4px 8px}.provider-cost:not(.selected){background:#ffffff1a;color:#ccc}.provider-cost.selected{background:#4ecdc44d;color:#4ecdc4}.provider-description{color:#ccc;font-size:13px;line-height:1.4;margin:0 0 10px}.provider-features{display:flex;flex-wrap:wrap;gap:5px}.provider-feature{background:#ffffff1a;border-radius:3px;color:#ccc;font-size:11px;padding:2px 6px}.provider-note{background:#ffc1071a;border:1px solid #ffc1074d;border-radius:8px;margin-top:15px;padding:12px}.provider-note-text{color:#ffc107;font-size:13px;line-height:1.4;margin:0}.character-image-section{background:#4ecdc41a;border:1px solid #4ecdc44d;border-radius:12px;margin-bottom:25px;padding:20px}.prompt-generation-section{margin-bottom:20px}.prompt-generation-header{align-items:center;display:flex;gap:10px;margin-bottom:15px}.prompt-generation-title{color:#4ecdc4;margin:0}.prompt-generate-button{border-radius:6px;cursor:pointer;font-size:12px;padding:8px 16px;transition:all .3s ease}.prompt-generate-button:not(:disabled){background:#4ecdc433;border:2px solid #4ecdc466;color:#4ecdc4}.prompt-generate-button:disabled{background:#666;border:2px solid #666;color:#999;cursor:not-allowed}.prompt-input-section{margin-bottom:15px}.prompt-label{color:#4ecdc4;display:block;font-size:14px;margin-bottom:8px}.prompt-textarea{background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#fff;font-size:14px;padding:12px;resize:vertical;width:100%}.prompt-textarea.positive{height:100px}.prompt-textarea.negative{height:60px}.generation-button-container{margin-bottom:20px;text-align:center}.manual-input-section{margin-bottom:15px}.manual-input-label{color:#4ecdc4;display:block;font-size:14px;margin-bottom:8px}.manual-input{background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#fff;font-size:14px;padding:12px;width:100%}.character-image-preview{display:flex;justify-content:center;margin-top:15px}.character-preview-image{border:2px solid #4ecdc466;border-radius:8px;max-height:400px;max-width:300px;object-fit:cover}.character-preview-error{color:#ff6b6b;display:none;padding:20px;text-align:center}.venice-seed-info{background:#4ecdc41a;border:1px solid #4ecdc44d;border-radius:8px;margin-top:15px;padding:12px;text-align:center}.venice-seed-text{color:#4ecdc4;font-size:13px;line-height:1.4;margin:0}.venice-seed-subtext{font-size:12px;opacity:.8}.command-images-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:20px}.command-images-description{color:#8892b0;font-size:14px;margin:0}.command-images-warning{color:#ff6b6b}.command-images-venice-note{color:#4ecdc4}.command-images-controls{align-items:center;display:flex;gap:10px}.generate-all-prompts-button{border-radius:6px;cursor:pointer;font-size:12px;padding:8px 16px;transition:all .3s ease;white-space:nowrap}.generate-all-prompts-button:not(:disabled){background:#ff6b6b33;border:2px solid #ff6b6b66;color:#ff6b6b}.generate-all-prompts-button:disabled{background:#666;border:2px solid #666;color:#999;cursor:not-allowed}.prompts-status{background:#ffffff1a;border-radius:4px;color:#8892b0;font-size:11px;padding:4px 8px}.command-images-empty{color:#8892b0;padding:20px;text-align:center}.command-item-container{margin-bottom:20px}.command-item-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:10px}.command-item-info{flex:1 1}.command-item-title{color:#fff;font-size:18px;margin:0 0 5px}.command-item-description{color:#8892b0;font-size:14px;margin:0 0 8px}.command-base-image-info{align-items:center;background:#4ecdc41a;border:1px solid #4ecdc433;border-radius:8px;display:flex;gap:8px;margin-top:8px;padding:6px 10px}.command-base-image{border:1px solid #4ecdc466;border-radius:4px;height:30px;object-fit:cover;width:30px}.command-base-image-text{color:#4ecdc4;font-size:11px}.command-generate-button{border-radius:6px;cursor:pointer;flex-shrink:0;font-size:12px;margin-left:10px;padding:8px 16px;transition:all .3s ease}.command-generate-button:not(:disabled){background:#ff6b6b33;border:2px solid #ff6b6b66;color:#ff6b6b}.command-generate-button:disabled{background:#666;border:2px solid #666;color:#999;cursor:not-allowed}.command-prompt-section{margin-top:15px}.command-prompt-header{align-items:center;display:flex;gap:10px;margin-bottom:10px}.command-prompt-label{color:#ff6b6b;font-size:13px;font-weight:600}.command-prompt-generate{border-radius:4px;cursor:pointer;font-size:11px;padding:4px 8px;transition:all .3s ease}.command-prompt-generate:not(:disabled){background:#ff6b6b33;border:1px solid #ff6b6b66;color:#ff6b6b}.command-prompt-generate:disabled{background:#666;border:1px solid #666;color:#999;cursor:not-allowed}.command-prompt-status{background:#50c87833;border-radius:4px;color:#50c878;font-size:11px;padding:2px 6px}.command-prompt-textarea{background:#ffffff1a;border:1px solid #fff3;border-radius:6px;color:#fff;font-size:12px;height:80px;padding:8px;resize:vertical;width:100%}.command-image-preview-container{margin-top:15px;text-align:center}.command-preview-image{border:2px solid #ff6b6b66;border-radius:8px;max-height:150px;max-width:200px;object-fit:cover}.command-manual-input-section{margin-top:15px}.command-manual-label{color:#ff6b6b;display:block;font-size:12px;margin-bottom:5px}.command-manual-input{background:#ffffff1a;border:1px solid #fff3;border-radius:6px;color:#fff;font-size:12px;padding:8px 12px;width:100%}.character-summary-display{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;margin-bottom:25px;padding:20px}.character-summary-grid{grid-gap:20px;display:grid;font-size:14px;gap:20px;grid-template-columns:1fr 1fr}.summary-column h4{margin:0 0 10px}.summary-column.character-details h4{color:#4ecdc4}.summary-column.funscript-details h4{color:#8a2be2}.summary-list{color:#ddd;margin:0;padding-left:20px}.summary-list li{margin-bottom:4px}.finalization-controls{margin-top:40px;text-align:center}.finalization-ready{background:#ffd7001a;border:1px solid #ffd7004d;border-radius:12px;margin-bottom:25px;padding:20px}.finalization-title{color:gold;margin:0 0 15px}.finalization-description{color:#8892b0;line-height:1.6;margin:0}.finalization-button{font-size:16px;min-width:300px;padding:15px 30px}.command-image-modal-content{max-width:500px}.command-modal-description{color:#ddd;font-size:14px;margin-bottom:15px}.command-modal-prompt-section{margin-bottom:15px}.command-modal-prompt-header{align-items:center;display:flex;gap:10px;margin-bottom:10px}.command-modal-prompt-title{color:#ff6b6b;font-size:14px;margin:0}.command-modal-prompt-generate{border-radius:4px;cursor:pointer;font-size:11px;padding:6px 12px;transition:all .3s ease}.command-modal-prompt-generate:not(:disabled){background:#ff6b6b33;border:2px solid #ff6b6b66;color:#ff6b6b}.command-modal-prompt-generate:disabled{background:#666;border:2px solid #666;color:#999;cursor:not-allowed}.command-modal-textarea{background:#ffffff1a;border:1px solid #fff3;border-radius:6px;color:#fff;font-size:13px;padding:10px;resize:vertical;width:100%}.command-modal-textarea.positive{height:80px;margin-bottom:12px}.command-modal-textarea.negative{height:60px;margin-bottom:15px}.command-modal-pose-section{margin-bottom:15px}.command-modal-pose-label{color:#4ecdc4;display:block;font-size:14px;margin-bottom:8px}.command-modal-pose-select{background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#fff;font-size:14px;padding:12px;width:100%}.command-modal-pose-select option{background:#1a1a1a}.command-modal-buttons{text-align:center}.command-modal-generate{border-radius:8px;cursor:pointer;font-size:14px;margin-right:10px;padding:12px 24px;transition:all .3s ease}.command-modal-generate:not(:disabled){background:#ff6b6b33;border:2px solid #ff6b6b66;color:#ff6b6b}.command-modal-generate:disabled{background:#666;border:2px solid #666;color:#999;cursor:not-allowed}.command-modal-cancel{background:#ffffff1a;border:2px solid #fff3;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;padding:12px 24px;transition:all .3s ease}.command-modal-cost-info{color:#8892b0;font-size:12px;margin-top:10px;text-align:center}.previous-steps-required{background:#ffc1071a;border:1px solid #ffc1074d;border-radius:12px;padding:40px;text-align:center}.previous-steps-text{color:#ffc107;margin-bottom:20px}.success-container{background:#00ff001a;border:1px solid #00ff004d;border-radius:12px;padding:40px;text-align:center}.success-title{color:#50c878;margin-bottom:20px}.success-description{color:#90ee90;margin-bottom:20px}.success-buttons{display:flex;flex-wrap:wrap;gap:15px;justify-content:center}.success-button{min-width:200px}.success-button.secondary{background:#4ecdc433;border:2px solid #4ecdc466;color:#4ecdc4}.attached-image-indicator{background:#50c87833;border:1px solid #50c8784d;border-radius:12px;color:#50c878;font-size:12px;font-weight:400;margin-left:10px;padding:4px 8px}.copy-button-section{margin-top:15px}.copy-button-text{color:#8892b0;font-size:12px;margin-left:10px}.character-summary-display .summary-column.character-details h4{color:#4ecdc4}.character-summary-display .summary-column.funscript-details h4{color:#8a2be2}.disabled,.generating{background:#666!important;color:#999!important;cursor:not-allowed!important}.character-image-actions{align-items:flex-end;display:flex;flex-direction:column;gap:8px;position:absolute;right:10px;top:10px}.delete-image-button{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#ff6347e6;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;padding:8px 12px;transition:all .2s ease}.delete-image-button:hover{background:tomato;transform:scale(1.05)}.delete-image-button.small{font-size:12px;padding:4px 8px}.character-seed-info{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#4ecdc4e6;border-radius:4px;color:#fff;display:flex;font-size:12px;gap:8px;padding:6px 10px}.seed-label{font-weight:700}.seed-value{background:#fff3;border-radius:3px;font-family:Courier New,monospace;padding:2px 6px}.copy-seed-button{background:none;border:none;border-radius:2px;color:#fff;cursor:pointer;padding:2px;transition:background .2s ease}.copy-seed-button:hover{background:#fff3}.command-image-actions{align-items:center;display:flex;gap:8px;position:absolute;right:5px;top:5px}.command-seed-info{background:#4ecdc4cc;border-radius:3px;color:#fff;cursor:help;font-size:10px;padding:2px 6px}.command-preview-error,.image-error-fallback{background:#ff6b6b1a;border:2px dashed #ff6b6b;border-radius:8px;color:#ff6b6b;display:none;font-size:14px;padding:20px;text-align:center}.character-image-preview,.command-image-preview{display:flex;justify-content:center;margin-top:15px;position:relative}.character-image-preview-img,.command-preview-image{border:2px solid #4ecdc466;border-radius:8px;max-height:400px;max-width:300px;object-fit:cover}.character-builder-header{align-items:center;border-bottom:2px solid #4ecdc44d;display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between;margin-bottom:20px;padding:20px 0}.main-title{color:#4ecdc4;font-size:2.5rem;font-weight:700;margin:0}.header-status{flex:1 1;text-align:center}.completion-percentage{color:#4ecdc4;display:block;font-size:1.1rem;font-weight:700}.auto-save-status{align-items:center;display:flex}.auto-save-indicator{border-radius:6px;font-size:14px;font-weight:500;padding:6px 12px;transition:all .2s ease}.auto-save-indicator.saving{background:#ffc10733;border:1px solid #ffc1074d;color:#ffc107}.auto-save-indicator.saved{background:#4caf5033;border:1px solid #4caf504d;color:#4caf50}.auto-save-indicator.error{background:#ff634733;border:1px solid #ff63474d;color:tomato}.venice-model-selection{background:#4ecdc40d;border:1px solid #4ecdc433;border-radius:8px;margin-top:15px;padding:15px}.venice-model-label{color:#4ecdc4;display:block;font-size:14px;font-weight:600;margin-bottom:8px}.venice-model-select{background:#4ecdc41a;border:2px solid #4ecdc44d;border-radius:6px;color:#ccd6f6;font-size:14px;margin-bottom:10px;padding:10px 12px;transition:border-color .2s ease;width:100%}.venice-model-select:focus{border-color:#4ecdc499;outline:none}.venice-model-select option{background:#1a1a2e;color:#ccd6f6}.venice-model-description{color:#8892b0;font-size:12px;line-height:1.4;margin:0}.error-modal-content{max-width:600px;width:90vw}.error-message{background:#ff63471a;border:1px solid #ff63474d;border-radius:8px;margin-bottom:20px;padding:15px}.error-message p{color:tomato;font-size:14px;margin:0}.error-suggestions{margin-bottom:20px}.error-suggestions h4{color:#ffc107;font-size:16px;margin:0 0 10px}.error-suggestions ul{color:#ccd6f6;margin:0;padding-left:20px}.error-suggestions li{line-height:1.4;margin-bottom:8px}.retry-prompt-section{background:#4ecdc41a;border:1px solid #4ecdc44d;border-radius:8px;margin-bottom:20px;padding:15px}.retry-prompt-section h4{color:#4ecdc4;font-size:16px;margin:0 0 10px}.retry-prompt-text{background:#ffffff1a;border-radius:6px;color:#ccd6f6;font-family:Courier New,monospace;font-size:13px;margin-bottom:10px;padding:10px;word-break:break-word}.retry-prompt-button{background:#4ecdc4;border:none;border-radius:6px;color:#1a1a2e;cursor:pointer;font-size:14px;font-weight:500;padding:8px 16px;transition:all .2s ease}.retry-prompt-button:hover{background:#44a08d;transform:translateY(-1px)}.error-modal-buttons{display:flex;gap:12px;justify-content:flex-end;margin-top:20px}.error-modal-close{background:#ffffff1a;border:2px solid #fff3;border-radius:6px;color:#ccd6f6;cursor:pointer;font-size:14px;padding:10px 20px;transition:all .2s ease}.error-modal-close:hover{background:#fff3;border-color:#fff6}.switch-provider-button{background:#ffc10733;border:2px solid #ffc10766;border-radius:6px;color:#ffc107;cursor:pointer;font-size:14px;font-weight:500;padding:10px 20px;transition:all .2s ease}.switch-provider-button:hover{background:#ffc1074d;border-color:#ffc10799;transform:translateY(-1px)}.header-controls{align-items:center;display:flex;gap:10px}.load-character-button{background:#4ecdc433;border:2px solid #4ecdc466;border-radius:6px;color:#4ecdc4;cursor:pointer;font-size:14px;font-weight:500;padding:10px 16px;transition:all .2s ease}.load-character-button:hover:not(:disabled){background:#4ecdc44d;border-color:#4ecdc499;transform:translateY(-1px)}.venice-warning{background:#ff98001a;border:2px solid #ff980066;border-radius:8px;margin-bottom:15px;padding:12px}.venice-warning-text{color:#ff9800;font-size:13px;line-height:1.4;margin:0}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#000000b3}.modal-content{background:#1a1a2e;border:2px solid #4ecdc466;border-radius:12px;box-shadow:0 20px 60px #00000080;max-height:90vh;max-width:90vw;overflow:hidden;padding:0}.load-draft-modal{max-width:90vw;width:600px}.modal-header{background:#4ecdc40d;border-bottom:1px solid #4ecdc44d;padding:20px 24px}.modal-header h3{color:#4ecdc4;font-size:1.3rem}.modal-close{background:none;border:none;border-radius:4px;color:#8892b0;cursor:pointer;font-size:24px;padding:4px;transition:all .2s ease}.modal-close:hover{background:#ffffff1a;color:#ff6b6b}.modal-body{color:#ccd6f6;padding:24px}.drafts-list{border:1px solid #4ecdc433;border-radius:8px;max-height:400px;overflow-y:auto}.draft-item{align-items:center;border-bottom:1px solid #4ecdc41a;display:flex;justify-content:space-between;padding:16px;transition:background .2s ease}.draft-item:last-child{border-bottom:none}.draft-item:hover{background:#4ecdc40d}.draft-info{flex:1 1}.draft-name{color:#4ecdc4;font-size:1.1rem;font-weight:600;margin:0 0 4px}.draft-meta{color:#8892b0;font-size:12px;margin:0 0 4px}.draft-progress{color:#64ffda;font-size:12px;font-weight:500;margin:0}.draft-actions{display:flex;gap:8px}.button{border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;padding:10px 20px;transition:all .2s ease}.button.primary{background:#4ecdc4;color:#1a1a2e}.button.primary:hover:not(:disabled){background:#44a08d;transform:translateY(-1px)}.button.danger{background:#ff634733;border:2px solid #ff634766;color:tomato}.button.danger:hover{background:#ff63474d}.button.small{font-size:12px;padding:6px 12px}.button:disabled{cursor:not-allowed;opacity:.5;transform:none!important}@media (max-width:768px){.character-builder-header{align-items:center;flex-direction:column;gap:15px}.main-title{font-size:2rem;text-align:center}.header-controls{order:2}.auto-save-status{order:3}.load-character-button{justify-content:center;width:100%}.command-generation-step{padding:16px}.command-header h2{font-size:1.5rem;margin-bottom:12px;text-align:center}.command-header p{font-size:14px;margin-bottom:20px;text-align:center}.sex-toy-selection .options-scroll{padding:0}.sex-toy-selection .option-card{margin-bottom:12px;padding:16px}.command-generation-step .info-card{margin:0 auto 20px;max-width:100%;padding:12px}.command-generation-step .algorithm-options-container{align-items:center!important;display:flex!important;flex-direction:column!important;gap:16px!important;justify-content:center!important;margin:20px auto!important;max-width:100%!important;padding:0!important;text-align:center!important;width:100%!important}.command-generation-step .algorithm-option{box-sizing:border-box!important;display:block!important;flex:none!important;margin:0 auto!important;max-width:260px!important;min-width:0!important;min-width:auto!important;overflow:hidden!important;padding:12px!important;text-align:center!important;width:90%!important}.command-generation-step .algorithm-title{font-size:13px!important;line-height:1.2!important;margin-bottom:10px!important;overflow:hidden!important;text-align:center!important;text-overflow:ellipsis!important;white-space:nowrap!important}.command-generation-step .algorithm-features{font-size:11px!important;list-style:none!important;margin:0!important;padding:0!important;text-align:left!important}.command-generation-step .algorithm-features li{line-height:1.3!important;margin-bottom:4px!important;overflow:hidden!important;text-align:left!important;text-overflow:ellipsis!important;white-space:nowrap!important}.command-generation-step .legacy-button-container,.command-generation-step .neural-button-container{flex-direction:column;gap:12px;margin:20px auto 0;max-width:100%;padding:0 12px}.command-generation-step .legacy-generate-button,.command-generation-step .neural-continue-button{box-sizing:border-box;font-size:14px;margin:0 auto;min-width:0;min-width:auto;padding:14px 20px;text-align:center;width:100%}}.command-generation-step .generation-controls{margin-top:25px;text-align:center}.command-generation-step .info-card{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;margin-bottom:25px;padding:20px}.command-generation-step .info-card-header{align-items:center;display:flex;gap:10px;justify-content:center;margin-bottom:15px}.command-generation-step .info-card-icon{font-size:1.3rem}.command-generation-step .info-card-title{color:var(--primary-color);font-size:1.2rem;margin:0}.command-generation-step .algorithm-description{color:#8892b0;font-size:14px;margin-bottom:20px;text-align:center}.command-generation-step .algorithm-options-container{align-items:center;display:flex;flex-wrap:wrap;gap:20px;justify-content:center;margin:20px auto 0;max-width:800px}.command-generation-step .algorithm-option{background:#ffffff0d;border:2px solid #fff3;border-radius:12px;cursor:pointer;flex:1 1 300px;min-width:300px;padding:20px;transition:all .3s ease}.command-generation-step .algorithm-option.neural.selected{background:#4ecdc41a;border:3px solid #4ecdc4}.command-generation-step .algorithm-option.legacy.selected{background:#ffc1071a;border:3px solid #ffc107}.command-generation-step .algorithm-option.legacy{background:#ffffff05;opacity:.7}.command-generation-step .algorithm-title{font-size:1.1rem;margin-bottom:10px}.command-generation-step .neural-title{color:#4ecdc4}.command-generation-step .legacy-title{color:#ffc107}.command-generation-step .algorithm-features{font-size:.9rem;list-style:none;margin:0;padding:0;text-align:left}.command-generation-step .neural-features{color:#ddd}.command-generation-step .legacy-features{color:#aaa}.command-generation-step .algorithm-features li{margin-bottom:8px}.command-generation-step .neural-button-container{display:flex;justify-content:center;margin:30px auto 0;max-width:400px}.command-generation-step .neural-continue-button{background-color:#4ecdc4;border:2px solid #4ecdc4;color:#0a1a1a;min-width:300px}.command-generation-step .legacy-button-container{align-items:stretch;display:flex;flex-wrap:wrap;gap:20px;justify-content:center;margin:20px auto 0;max-width:800px}.command-generation-step .legacy-generate-button{flex:1 1 300px;min-width:300px}.command-generation-step .generating-content{align-items:center;display:flex;gap:8px;justify-content:center}.command-generation-step .generate-content{align-items:center;display:flex;flex-direction:column;gap:4px}.command-generation-step .model-info{font-size:.8rem;opacity:.8}.command-generation-step .streaming-progress-container{background:#4ecdc40d;border:1px solid #4ecdc433;border-radius:12px;margin-top:20px;padding:20px}.command-generation-step .generation-status-title{color:#4ecdc4;font-size:1rem;margin-bottom:15px}.command-generation-step .status-subtitle{font-size:.8rem;margin-left:10px;opacity:.8}.command-generation-step .generation-progress-box{background:#4ecdc41a;border:1px solid #4ecdc44d;border-radius:8px;margin-bottom:15px;padding:15px}.command-generation-step .generation-progress-box.guide-progress{color:#4ecdc4;font-size:14px;margin-bottom:0;text-align:center}.command-generation-step .progress-header{align-items:center;display:flex;gap:10px;margin-bottom:10px}.command-generation-step .progress-text{color:#4ecdc4;font-size:14px;font-weight:700}.command-generation-step .progress-details{color:#ddd;font-size:13px}.command-generation-step .progress-subtext{font-size:12px;font-style:italic;opacity:.8}.command-generation-step .character-required-warning{background:#ffc1071a;border:1px solid #ffc1074d;border-radius:12px;padding:40px;text-align:center}.command-generation-step .warning-text{color:#ffc107;margin-bottom:20px}.command-generation-step .commands-editor-description{color:#8892b0;margin-bottom:20px}.command-generation-step .editor-content-container{display:flex;flex-direction:column;gap:30px}.command-generation-step .command-pallets-title{color:#ff6b6b;font-size:1.1rem;margin-bottom:10px}.command-generation-step .pallets-subtitle{font-size:.8rem;margin-left:10px;opacity:.7}.command-generation-step .streaming-indicator{color:#ff6b6b;font-size:.8rem;margin-left:10px}.command-generation-step .command-pallets-textarea{background:#ff6b6b0d;border:1px solid #ff6b6b33;border-radius:12px;color:#fff;font-family:monospace;font-size:14px;line-height:1.6;min-height:400px;padding:20px;resize:vertical;width:100%}.command-generation-step .command-pallets-textarea.streaming{background:#ff6b6b1a;border:2px solid #ff6b6b66}.command-generation-step .commands-controls{margin-top:30px;text-align:center}.command-generation-step .back-to-setup-button{background:#ffffff1a;border:2px solid #fff3;display:block;margin-bottom:20px;margin-left:auto;margin-right:auto}.command-generation-step .regenerate-section{margin-bottom:20px}.command-generation-step .regenerate-button{background:#ffffff1a;border:2px solid #fff3;color:#ccc;font-size:.9rem;min-width:250px;padding:12px 24px}.command-generation-step .final-actions{align-items:center;display:flex;flex-wrap:wrap;gap:15px;justify-content:center;margin-bottom:20px}.command-generation-step .view-character-button{background:#4ecdc433;border:2px solid #4ecdc466;color:#4ecdc4;min-width:200px}.command-generation-step .connect-funscripts-button{min-width:280px}.command-generation-step .full-character-description{color:#8892b0;margin-bottom:20px}.command-generation-step .full-character-textarea{background:#50c8780d;border:1px solid #50c87833;border-radius:12px;color:#fff;font-family:monospace;font-size:14px;line-height:1.6;min-height:600px;padding:20px;resize:vertical;width:100%}.command-generation-step .full-character-controls{margin-top:30px;text-align:center}.command-generation-step .back-to-edit-button{background:#ffffff1a;border:2px solid #fff3;margin-right:15px}.auto-submission-option{background:#4ecdc40d;border:1px solid #4ecdc433;border-radius:12px;margin:20px 0;padding:20px}.auto-submission-checkbox{align-items:flex-start;cursor:pointer;display:flex;gap:12px;margin-bottom:10px;-webkit-user-select:none;user-select:none}.auto-submission-checkbox input[type=checkbox]{accent-color:#4ecdc4;cursor:pointer;flex-shrink:0;height:18px;margin:2px 0 0;width:18px}.auto-submission-text{color:#fff;flex:1 1;font-size:16px;line-height:1.4}.auto-submission-text strong{color:#4ecdc4}.auto-submission-note{color:#8892b0;font-size:14px;line-height:1.5;margin:0;padding-left:30px}.auto-submission-status{align-items:center;background:#4ecdc41a;border:1px solid #4ecdc44d;border-radius:8px;color:#4ecdc4;display:flex;font-size:14px;font-weight:500;gap:8px;margin-top:15px;padding:12px 15px}.auto-submission-spinner{animation:spin 1s linear infinite;font-size:16px}.auto-submission-checkbox input[type=checkbox]:disabled{cursor:not-allowed;opacity:.6}.auto-submission-checkbox:has(input:disabled){cursor:not-allowed;opacity:.7}.auto-submission-checkbox:has(input:disabled) .auto-submission-text{color:#8892b0}.auto-submission-checkbox:hover:not(:has(input:disabled)){background:#4ecdc40d;border-radius:8px;margin:-8px;padding:8px}.auto-submission-checkbox:hover:not(:has(input:disabled)) .auto-submission-text{color:#4ecdc4}.image-generation-step{background:linear-gradient(135deg,#101018,#181824);display:flex;flex-direction:column;font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;gap:0;min-height:100vh;padding:0}.image-generation-step .image-generation-main-panels{display:flex;flex-direction:row;gap:24px;padding:32px 32px 0}.image-generation-step .image-generation-left-panel{background:#181824;border:1px solid #232336;border-radius:16px;box-shadow:0 2px 24px 0 #000a;flex:0 0 400px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;max-width:420px;min-width:340px;padding:24px}.image-generation-step .image-generation-right-panel{align-items:stretch;background:#14141e;border:1px solid #232336;border-radius:16px;box-shadow:0 2px 24px 0 #000a;display:flex;flex:1 1;flex-direction:column;height:100%;justify-content:flex-start;min-height:0;min-width:0;padding:24px}.image-generation-step .image-generation-header{margin-bottom:24px;text-align:center}.image-generation-step .image-generation-header h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#50c878,#48a862);background:linear-gradient(135deg,var(--primary-green),#48a862);-webkit-background-clip:text;background-clip:text;color:#fff;font-size:28px;font-weight:700;margin:0 0 8px}.image-generation-step .image-generation-header p{color:#ffffffb3;font-size:16px;line-height:1.5;margin:0}.image-generation-step .provider-selection{margin-bottom:32px}.image-generation-step .provider-selection h3{align-items:center;color:#fff;display:flex;font-size:18px;font-weight:600;gap:8px;margin:0 0 16px}.image-generation-step .provider-selection h3:before{content:"🔧";font-size:20px}.image-generation-step .provider-options{display:flex;flex-direction:column;gap:12px}.image-generation-step .provider-option{background:#ffffff14;border:2px solid #ffffff1a;border-radius:12px;cursor:pointer;padding:16px;transition:all .3s ease}.image-generation-step .provider-option:hover{background:#ffffff1f;border-color:#50c8784d}.image-generation-step .provider-option.selected{background:#50c87826;border-color:#50c878;border-color:var(--primary-green);box-shadow:0 0 20px #50c87833}.image-generation-step .provider-option-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.image-generation-step .provider-name{color:#fff;font-size:16px;font-weight:600;margin:0}.image-generation-step .provider-cost{background:#50c8781a;border-radius:6px;color:#50c878;color:var(--primary-green);font-size:14px;font-weight:500;padding:4px 8px}.image-generation-step .provider-description{color:#ffffffb3;font-size:14px;line-height:1.4;margin:0 0 8px}.image-generation-step .provider-features{display:flex;flex-wrap:wrap;gap:6px}.image-generation-step .provider-feature{background:#ffffff1a;border-radius:4px;color:#fffc;font-size:12px;padding:4px 8px}.image-generation-step .venice-model-selection{background:#50c8780d;border:1px solid #50c87833;border-radius:8px;margin-top:16px;padding:16px}.image-generation-step .venice-model-label{color:#fff;display:block;font-size:14px;font-weight:500;margin-bottom:8px}.image-generation-step .venice-model-select{background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#fff;font-size:14px;margin-bottom:8px;padding:10px 12px;width:100%}.image-generation-step .venice-model-select:focus{border-color:#50c878;border-color:var(--primary-green);box-shadow:0 0 0 2px #50c87833;outline:none}.image-generation-step .venice-model-description{color:#ffffffb3;font-size:12px;line-height:1.4;margin:0}.image-generation-step .prompt-section{margin-bottom:32px}.image-generation-step .prompt-section h3{align-items:center;color:#fff;display:flex;font-size:18px;font-weight:600;gap:8px;margin:0 0 16px}.image-generation-step .prompt-section h3:before{content:"🖼️";font-size:20px}.image-generation-step .prompt-input-group{margin-bottom:16px}.image-generation-step .prompt-label{color:#fff;display:block;font-size:14px;font-weight:500;margin-bottom:8px}.image-generation-step .prompt-textarea{background:#ffffff14;border:1px solid #fff3;border-radius:8px;color:#fff;font-family:inherit;font-size:14px;min-height:80px;padding:12px;resize:vertical;transition:all .3s ease;width:100%}.image-generation-step .prompt-textarea:focus{border-color:#4ecdc4;box-shadow:0 0 0 2px #4ecdc433;outline:none}.image-generation-step .prompt-textarea::placeholder{color:#fff6}.image-generation-step .prompt-textarea.negative{min-height:60px}.image-generation-step .generate-button{background:linear-gradient(135deg,#50c878,#48a862);background:linear-gradient(135deg,var(--primary-green),#48a862);border:none;border-radius:12px;color:#fff;cursor:pointer;font-size:16px;font-weight:600;margin-bottom:16px;padding:14px 20px;transition:all .3s ease;width:100%}.image-generation-step .generate-button:hover:not(:disabled){box-shadow:0 8px 25px #4ecdc44d;transform:translateY(-2px)}.image-generation-step .generate-button:disabled{cursor:not-allowed;opacity:.6;transform:none}.image-generation-step .generate-button .generating-spinner{animation:spin 1s ease-in-out infinite;border:2px solid #ffffff4d;border-radius:50%;border-top-color:#fff;display:inline-block;height:16px;margin-right:8px;width:16px}.image-generation-step .manual-url-input{margin-bottom:24px}.image-generation-step .manual-url-input input{background:#ffffff14;border:1px solid #fff3;border-radius:8px;color:#fff;font-size:14px;padding:12px;transition:all .3s ease;width:100%}.image-generation-step .manual-url-input input:focus{border-color:#4ecdc4;box-shadow:0 0 0 2px #4ecdc433;outline:none}.image-generation-step .manual-url-input input::placeholder{color:#fff6}.image-generation-step .command-list{margin-top:24px}.image-generation-step .command-list h3{align-items:center;color:#fff;display:flex;font-size:18px;font-weight:600;gap:8px;margin:0 0 16px}.image-generation-step .command-list h3:before{content:"🎨";font-size:20px}.image-generation-step .command-item{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;cursor:pointer;margin-bottom:12px;padding:16px;position:relative;transition:all .3s ease}.image-generation-step .command-item:hover{background:#ffffff14;border-color:#4ecdc44d;transform:translateY(-2px)}.image-generation-step .command-item.active{background:#4ecdc426;border-color:#4ecdc4;box-shadow:0 0 20px #4ecdc433}.image-generation-step .command-item-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.image-generation-step .command-name{color:#fff;font-size:16px;font-weight:600;margin:0}.image-generation-step .command-status{align-items:center;display:flex;gap:6px}.image-generation-step .command-status.has-image{color:#4ecdc4}.image-generation-step .command-status.no-image{color:#ffffff80}.image-generation-step .command-description{color:#ffffffb3;font-size:14px;line-height:1.4;margin:0}.image-generation-step .command-image-indicator{background:#4ecdc4;border-radius:50%;box-shadow:0 0 8px #4ecdc480;height:8px;position:absolute;right:12px;top:12px;width:8px}.image-generation-step .image-canvas{display:flex;flex-direction:column;height:100%}.image-generation-step .image-canvas-header{margin-bottom:24px;text-align:center}.image-generation-step .image-canvas-title{color:#fff;font-size:24px;font-weight:600;margin:0 0 8px}.image-generation-step .image-canvas-subtitle{color:#ffffffb3;font-size:16px;margin:0}.image-generation-step .image-display-area{align-items:center;background:#ffffff05;border:2px dashed #ffffff1a;border-radius:16px;display:flex;flex:1 1;justify-content:center;min-height:400px;overflow:hidden;position:relative}.image-generation-step .image-display-area.has-image{background:#0000;border:none}.image-generation-step .image-display-area img{border-radius:12px;box-shadow:0 8px 32px #0000004d;cursor:pointer;max-height:100%;max-width:100%;transition:transform .3s ease}.image-generation-step .image-display-area img:hover{transform:scale(1.02)}.image-generation-step .image-placeholder{color:#ffffff80;text-align:center}.image-generation-step .image-placeholder-icon{font-size:48px;margin-bottom:16px;opacity:.3}.image-generation-step .image-placeholder-text{font-size:16px;margin:0}.image-generation-step .image-actions{display:flex;gap:12px;justify-content:center;margin-top:16px}.image-generation-step .image-action-button{background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;padding:8px 16px;transition:all .3s ease}.image-generation-step .image-action-button:hover{background:#ffffff26;border-color:#4ecdc44d}.image-generation-step .image-action-button.delete{background:#ff6b6b1a;border-color:#ff6b6b4d;color:#ff6b6b}.image-generation-step .image-action-button.delete:hover{background:#ff6b6b33}.image-generation-step .finalization-section{background:#50c8780d;border:1px solid #50c87833;border-radius:16px;margin-top:32px;text-align:center}.image-generation-step .finalization-title{color:#fff;font-weight:600;margin:0 0 12px}.image-generation-step .finalization-description{color:#fffc;font-size:16px;line-height:1.5;margin:0 0 20px}.image-generation-step .finalize-button{animation:attention-pulse 2s infinite;background:linear-gradient(135deg,#50c878,#48a862);background:linear-gradient(135deg,var(--primary-green),#48a862);font-size:18px;transform:none!important;transition:all .3s ease}.image-generation-step .finalize-button:hover:not(:disabled){box-shadow:0 8px 25px #4ecdc44d}.image-generation-step .finalize-button:disabled{opacity:.6}@keyframes attention-pulse{0%{box-shadow:0 0 0 0 #50c878b3;opacity:.9}70%{box-shadow:0 0 0 10px #50c87800;opacity:1}to{box-shadow:0 0 0 0 #50c87800;opacity:.9}}@media (min-width:1024px){.image-generation-step .image-generation-main-panels{align-items:flex-start}.image-generation-step .image-generation-left-panel,.image-generation-step .image-generation-right-panel{min-height:600px}}@media (max-width:1024px){.image-generation-step .image-generation-main-panels{flex-direction:column;gap:16px;padding:16px}.central-commands-panel,.character-summary-section{padding:16px 8px}.image-generation-step .image-generation-left-panel{flex:none;position:static}.image-generation-step .image-generation-right-panel{min-height:400px}.image-generation-step .image-generation-header h2{font-size:24px}.image-generation-step .image-canvas-title{font-size:20px}}@media (max-width:768px){.image-generation-step,.image-generation-step .image-generation-left-panel,.image-generation-step .image-generation-right-panel{padding:16px}.image-generation-step .image-generation-header h2{font-size:24px}.image-generation-step .image-canvas-title{font-size:20px}}.image-generation-step .loading-overlay{align-items:center;background:#000000b3;border-radius:16px;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:10}.image-generation-step .loading-spinner{animation:spin 1s ease-in-out infinite;border:4px solid #ffffff4d;border-radius:50%;border-top:4px solid var(--primary-green);height:40px;width:40px}.image-generation-step .loading-text{color:#fff;font-size:16px;margin-top:16px;text-align:center}.image-generation-step .error-message{background:#ff6b6b1a;border:1px solid #ff6b6b4d;border-radius:8px;color:#ff6b6b;font-size:14px;margin-bottom:16px;padding:12px}.image-generation-step .success-message{background:#50c8781a;border:1px solid #50c8784d;border-radius:8px;color:#50c878;color:var(--primary-green);font-size:14px;margin-bottom:16px;padding:12px}.image-generation-step .central-commands-panel{background:#181824;border:1px solid #232336;border-radius:16px;box-shadow:0 2px 24px 0 #000a;display:flex;flex-direction:row;flex-wrap:wrap;gap:16px;justify-content:center;margin:32px auto 0;padding:24px 32px;width:100%}.image-generation-step .central-command-item{background:#232336;border:2px solid #0000;border-radius:10px;box-shadow:0 1px 8px 0 #0006;color:#fff;cursor:pointer;font-size:16px;font-weight:500;min-width:160px;padding:14px 24px;text-align:center;transition:all .2s}:root{--primary-green:#50c878}.image-generation-step .central-command-item.active,.image-generation-step .central-command-item:hover{background:#232346;border-color:#50c878;border-color:var(--primary-green);color:#50c878;color:var(--primary-green)}.image-generation-step .central-command-item .command-status{color:#50c878;color:var(--primary-green);font-size:13px;margin-top:4px}.image-generation-step .character-summary-section{background:#181824;border:1px solid #232336;border-radius:16px;box-shadow:0 2px 24px 0 #000a;color:#fff;margin:32px auto 0;max-width:1200px;padding:24px 32px;width:100%}.image-generation-step .character-summary-title{color:#50c878;color:var(--primary-green);font-size:20px;font-weight:700;margin-bottom:12px}.image-generation-step .character-summary-content{color:#e0e0e0;font-size:15px;line-height:1.6;margin-bottom:18px;white-space:pre-wrap}.image-generation-step .collapsible-section{background:#232336;border:1.5px solid #232346;border-radius:10px;box-shadow:0 1px 8px 0 #0006;margin-bottom:18px;overflow:hidden}.image-generation-step .collapsible-header{align-items:center;background:#232336;border-bottom:1px solid #232346;color:#50c878;color:var(--primary-green);cursor:pointer;display:flex;font-size:1.1rem;font-weight:600;justify-content:space-between;padding:14px 20px;transition:background .2s}.image-generation-step .collapsible-header:hover{background:#1c1c1c}.image-generation-step .collapsible-arrow{font-size:1.2em;margin-left:10px;transition:transform .2s}.image-generation-step .collapsible-arrow.open{transform:rotate(90deg)}.image-generation-step .collapsible-content{background:#181824;border-top:1px solid #232346;color:#e0e0e0;font-size:15px;line-height:1.6;padding:16px 20px;white-space:pre-wrap}.image-generation-step .character-object-viewer{background:#232336;border:1.5px solid #232346;border-radius:10px;box-shadow:0 1px 8px 0 #0006;color:#fff;cursor:pointer;font-family:Fira Mono,Consolas,monospace;font-size:14px;margin-top:10px;overflow-x:auto;padding:16px 20px;transition:box-shadow .2s,border .2s}.image-generation-step .character-object-viewer.open{border-color:#50c878;border-color:var(--primary-green);box-shadow:0 2px 16px 0 #50c87855}.image-generation-step .character-object-viewer pre{color:#b6ffcb;margin:0}.image-generation-step .character-image-base-info{align-items:center;background:#232336;border:1.5px solid #50c878;border:1.5px solid var(--primary-green);border-radius:10px;box-shadow:0 1px 8px 0 #0006;display:flex;gap:14px;margin-bottom:18px;margin-top:0;padding:10px 16px}.image-generation-step .character-image-base-label{color:#50c878;color:var(--primary-green);font-size:15px;font-weight:600}.image-generation-step .character-image-base-thumb{border:1.5px solid #333;border-radius:8px;box-shadow:0 1px 6px 0 #0004;height:48px;object-fit:cover;width:48px}.image-generation-step .character-image-base-seed{color:#b6ffcb;font-family:Fira Mono,Consolas,monospace;font-size:13px;margin-left:10px}.image-generation-step .image-history-modal-overlay{align-items:center;background:#000000bf;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.image-generation-step .image-history-modal{background:#181824;border-radius:18px;box-shadow:0 8px 48px #000b;color:#fff;max-height:90vh;max-width:95vw;min-width:380px;overflow-y:auto;padding:32px 28px 24px;position:relative}.image-generation-step .image-history-modal-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:18px}.image-generation-step .image-history-modal-header h2{color:#50c878;color:var(--primary-green);font-size:22px;font-weight:700;margin:0}.image-generation-step .modal-close-button{background:none;border:none;color:#fff;cursor:pointer;font-size:2rem;margin-left:12px;transition:color .2s}.image-generation-step .modal-close-button:hover{color:#50c878}.image-generation-step .image-history-list{display:flex;flex-direction:column;gap:18px}.image-generation-step .image-history-item{align-items:flex-start;background:#232336;border:1.5px solid #232346;border-radius:12px;box-shadow:0 1px 8px 0 #0006;display:flex;gap:18px;padding:14px 18px}.image-generation-step .image-history-thumb{border:1.5px solid #333;border-radius:8px;box-shadow:0 1px 6px 0 #0004;height:80px;object-fit:cover;width:80px}.image-generation-step .image-history-meta{display:flex;flex:1 1;flex-direction:column;gap:6px}.image-generation-step .image-history-type{align-items:center;color:#50c878;color:var(--primary-green);display:flex;font-size:15px;font-weight:600;gap:12px}.image-generation-step .image-history-label{font-weight:700}.image-generation-step .image-history-date{color:#b6ffcb;font-size:13px}.image-generation-step .image-history-url{color:#b6ffcb;font-size:13px;margin-bottom:4px;word-break:break-all}.image-generation-step .image-history-actions{display:flex;gap:10px;margin-top:4px}.image-generation-step .copy-url-button,.image-generation-step .delete-url-button{background:#50c878;background:var(--primary-green);border:none;border-radius:6px;color:#181824;cursor:pointer;font-size:14px;font-weight:600;padding:6px 14px;transition:background .2s,color .2s}.image-generation-step .copy-url-button:hover{background:#48a862}.image-generation-step .delete-url-button{background:#ff6b6b;color:#fff}.image-generation-step .delete-url-button:hover{background:#ff3b3b}.image-generation-step .copy-success{color:#50c878;color:var(--primary-green);font-size:13px;font-weight:600;margin-left:10px}@media (max-width:600px){.image-generation-step .image-history-modal{min-width:0;padding:16px 4px 12px}.image-generation-step .image-history-item{align-items:stretch;flex-direction:column;gap:8px}.image-generation-step .image-history-thumb{height:120px;width:100%}}.image-generation-step .category-selection-panel{background:#181824;border:1px solid #232336;border-radius:16px;box-shadow:0 2px 24px 0 #000a;margin:0 32px 24px}.image-generation-step .category-selection-section{padding:24px}.image-generation-step .category-section-title{color:#50c878;color:var(--primary-green);font-size:18px;font-weight:600;margin:0 0 8px}.image-generation-step .category-section-description{color:#b0b0b6;font-size:14px;line-height:1.4;margin:0 0 16px}.image-generation-step .category-selection-container{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));margin-bottom:16px}.image-generation-step .category-option{align-items:center;background:#232336;border:2px solid #343456;border-radius:8px;cursor:pointer;display:flex;justify-content:space-between;min-height:40px;padding:10px 12px;transition:all .2s ease}.image-generation-step .category-option:hover{background:#2a2a42;border-color:#454568}.image-generation-step .category-option.selected{background:#1a4d34;border-color:#50c878;border-color:var(--primary-green);box-shadow:0 0 0 1px #50c8784d}.image-generation-step .category-label{color:#e0e0e6;font-size:13px;font-weight:500}.image-generation-step .category-option.selected .category-label{color:#50c878;color:var(--primary-green)}.image-generation-step .category-checkmark{color:#50c878;color:var(--primary-green);font-size:14px;font-weight:700}.image-generation-step .selected-categories-summary{background:#14141e;border-left:3px solid #50c878;border-left:3px solid var(--primary-green);border-radius:6px;color:#b0b0b6;font-size:13px;padding:10px 12px}.image-generation-step .finalization-panel{background:#181824;border:1px solid #232336;border-radius:16px;box-shadow:0 2px 24px 0 #000a;margin:0 32px 24px}.image-generation-step .finalization-section{padding:24px}.image-generation-step .finalization-title{color:#50c878;color:var(--primary-green);font-size:20px;font-weight:700;margin:0 0 8px;text-align:center}.image-generation-step .finalization-description{color:#b0b0b6;font-size:14px;line-height:1.4;margin:0 0 24px;text-align:center}.image-generation-step .finalization-content{align-items:center;display:flex;flex-direction:column;gap:20px}.image-generation-step .auto-submission-option{align-items:center;display:flex;justify-content:center}.image-generation-step .auto-submission-checkbox{align-items:center;background:#232336;border-radius:8px;cursor:pointer;display:flex;gap:12px;padding:12px 16px;transition:background .2s ease}.image-generation-step .auto-submission-checkbox:hover{background:#2a2a42}.image-generation-step .auto-submission-checkbox input{accent-color:#50c878;accent-color:var(--primary-green);margin:0;transform:scale(1.2)}.image-generation-step .auto-submission-text{color:#e0e0e6;font-size:14px;font-weight:500}.image-generation-step .finalize-button{background:linear-gradient(135deg,#50c878,#45b369);background:linear-gradient(135deg,var(--primary-green) 0,#45b369 100%);border:none;border-radius:12px;box-shadow:0 4px 12px #50c8784d;color:#fff;cursor:pointer;font-size:16px;font-weight:600;min-width:280px;padding:16px 32px;transition:all .2s ease}.image-generation-step .finalize-button:hover:not(:disabled){background:linear-gradient(135deg,#45b369,#3a9556);box-shadow:0 6px 16px #50c87866;transform:translateY(-2px)}.image-generation-step .finalize-button:disabled{cursor:not-allowed;opacity:.7;transform:none}.image-generation-step .promptchan-customization{background:#1a1a2e;border:1px solid #2a2a4a;border-radius:12px;margin-top:16px;padding:20px}.image-generation-step .promptchan-title{color:#4ade80;font-size:16px;font-weight:600;margin:0 0 16px}.image-generation-step .promptchan-control-group{margin-bottom:16px}.image-generation-step .promptchan-label{color:#e2e8f0;display:block;font-size:14px;font-weight:500;margin-bottom:8px}.image-generation-step .promptchan-radio-group{display:flex;gap:16px}.image-generation-step .promptchan-radio-option{align-items:center;color:#cbd5e1;cursor:pointer;display:flex;font-size:14px;gap:6px}.image-generation-step .promptchan-radio-option input[type=radio]{accent-color:#4ade80}.image-generation-step .promptchan-slider{background:#2a2a4a;border-radius:3px;cursor:pointer;height:6px;outline:none;width:100%}.image-generation-step .promptchan-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:#4ade80;border:2px solid #1a1a2e;border-radius:50%;box-shadow:0 2px 4px #0003;cursor:pointer;height:18px;width:18px}.image-generation-step .promptchan-slider::-moz-range-thumb{background:#4ade80;border:2px solid #1a1a2e;border-radius:50%;box-shadow:0 2px 4px #0003;cursor:pointer;height:18px;width:18px}.image-generation-step .promptchan-slider-labels{color:#64748b;display:flex;font-size:12px;justify-content:space-between;margin-top:4px}.image-generation-step .promptchan-body-controls{background:#16162a;border:1px solid #2a2a3a;border-radius:8px;margin-top:12px;padding:16px}.image-generation-step .promptchan-body-title{color:#4ade80;font-size:14px;font-weight:600;margin:0 0 12px}.image-generation-step .promptchan-description{background:#0f172a;border:1px solid #1e293b;border-radius:8px;color:#64748b;font-size:13px;line-height:1.5;margin-top:16px;padding:12px}@media (max-width:768px){.image-generation-step .category-selection-container{grid-template-columns:1fr}.image-generation-step .category-option{min-height:44px}.image-generation-step .finalization-content{gap:16px}.image-generation-step .finalize-button{min-width:240px;padding:14px 24px}.image-generation-step .promptchan-customization{padding:16px}.image-generation-step .promptchan-radio-group{flex-direction:column;gap:8px}}.image-generation-step .mobile-only{display:none}.image-generation-step .desktop-only{display:block}.image-generation-step .mobile-categories-section,.image-generation-step .mobile-finalize-section,.image-generation-step .mobile-generation-section,.image-generation-step .mobile-image-section,.image-generation-step .mobile-image-selector,.image-generation-step .mobile-promptchan-section,.image-generation-step .mobile-provider-section{background:#181824;border:1px solid #232336;border-radius:12px;box-shadow:0 2px 12px #0000004d;margin-bottom:16px;padding:16px}.image-generation-step .mobile-section-title{color:#50c878;color:var(--primary-green);font-size:18px;font-weight:600;margin:0 0 12px}.image-generation-step .mobile-subsection-title{color:#8892b0;font-size:16px;font-weight:500;margin:0 0 8px}.image-generation-step .mobile-section-description{color:#8892b0;font-size:14px;line-height:1.4;margin:0 0 12px}.image-generation-step .mobile-image-container{position:relative;text-align:center}.image-generation-step .mobile-image{border:2px solid #50c878;border:2px solid var(--primary-green);border-radius:8px;cursor:pointer;margin-bottom:12px;max-height:300px;max-width:100%}.image-generation-step .mobile-delete-btn{background:#ff6b6b;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;padding:8px 16px;transition:all .2s ease}.image-generation-step .mobile-delete-btn:hover{background:#e55a5a;transform:translateY(-1px)}.image-generation-step .mobile-image-placeholder{background:#14141e;border:2px dashed #343456;border-radius:8px;padding:40px 20px;text-align:center}.image-generation-step .mobile-image-placeholder .placeholder-icon{font-size:48px;margin-bottom:8px}.image-generation-step .mobile-image-placeholder p{color:#8892b0;font-size:16px;margin:0}.image-generation-step .mobile-prompt-group,.image-generation-step .mobile-url-group{margin-bottom:16px}.image-generation-step .mobile-label{color:#50c878;color:var(--primary-green);display:block;font-size:14px;font-weight:500;margin-bottom:6px}.image-generation-step .mobile-input,.image-generation-step .mobile-textarea{background:#232336;border:1px solid #343456;border-radius:8px;color:#fff;font-size:14px;padding:12px;resize:vertical;transition:border-color .2s ease;width:100%}.image-generation-step .mobile-input:focus,.image-generation-step .mobile-textarea:focus{border-color:#50c878;border-color:var(--primary-green);box-shadow:0 0 0 2px #50c87833;outline:none}.image-generation-step .mobile-generation-buttons{grid-gap:12px;display:grid;gap:12px;grid-template-columns:1fr 1fr;margin-bottom:16px}.image-generation-step .mobile-btn{border:none;border-radius:8px;cursor:pointer;font-size:14px;font-weight:600;padding:14px 16px;text-align:center;transition:all .2s ease}.image-generation-step .mobile-btn.prompt-btn{background:#343456;border:2px solid #454568;color:#fff}.image-generation-step .mobile-btn.prompt-btn:hover:not(:disabled){background:#454568;transform:translateY(-1px)}.image-generation-step .mobile-btn.image-btn{background:#50c878;background:var(--primary-green);border:2px solid #50c878;border:2px solid var(--primary-green);color:#181824}.image-generation-step .mobile-btn.image-btn:hover:not(:disabled){background:#45b369;transform:translateY(-1px)}.image-generation-step .mobile-btn:disabled{cursor:not-allowed;opacity:.6;transform:none!important}.image-generation-step .mobile-provider-tabs{grid-gap:8px;display:grid;gap:8px;grid-template-columns:1fr 1fr;margin-bottom:12px}.image-generation-step .mobile-provider-tab{background:#232336;border:2px solid #343456;border-radius:8px;cursor:pointer;padding:12px;text-align:center;transition:all .2s ease}.image-generation-step .mobile-provider-tab .provider-name{color:#fff;display:block;font-size:14px;font-weight:500;margin-bottom:4px}.image-generation-step .mobile-provider-tab .provider-cost{color:#8892b0;display:block;font-size:12px}.image-generation-step .mobile-provider-tab.active{background:#50c8781a;border-color:#50c878;border-color:var(--primary-green)}.image-generation-step .mobile-provider-tab.active .provider-cost,.image-generation-step .mobile-provider-tab.active .provider-name{color:#50c878;color:var(--primary-green)}.image-generation-step .mobile-model-select,.image-generation-step .mobile-select{background:#232336;border:2px solid #343456;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;padding:12px;width:100%}.image-generation-step .mobile-model-select:focus,.image-generation-step .mobile-select:focus{border-color:#50c878;border-color:var(--primary-green);box-shadow:0 0 0 2px #50c87833;outline:none}.image-generation-step .mobile-control-group{margin-bottom:16px}.image-generation-step .mobile-toggle-buttons{grid-gap:4px;display:grid;gap:4px;grid-template-columns:1fr 1fr}.image-generation-step .toggle-btn{background:#232336;border:1px solid #343456;color:#8892b0;cursor:pointer;font-size:14px;padding:10px;transition:all .2s ease}.image-generation-step .toggle-btn:first-child{border-radius:6px 0 0 6px}.image-generation-step .toggle-btn:last-child{border-radius:0 6px 6px 0}.image-generation-step .toggle-btn.active{background:#50c878;background:var(--primary-green);border-color:#50c878;border-color:var(--primary-green);color:#181824}.image-generation-step .mobile-sliders-grid{grid-gap:12px;display:grid;gap:12px;grid-template-columns:1fr 1fr}.image-generation-step .mobile-slider-item{display:flex;flex-direction:column;gap:6px}.image-generation-step .mobile-slider-item label{color:#8892b0;font-size:12px;font-weight:500}.image-generation-step .mobile-slider{-webkit-appearance:none;appearance:none;background:#343456;border-radius:2px;height:4px;outline:none;width:100%}.image-generation-step .mobile-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:#50c878;background:var(--primary-green);border-radius:50%;cursor:pointer;height:16px;width:16px}.image-generation-step .mobile-selected-categories{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.image-generation-step .mobile-category-tag{align-items:center;background:#50c8781a;border:1px solid #50c878;border:1px solid var(--primary-green);border-radius:8px;display:flex;font-size:14px;gap:8px;padding:8px 12px}.image-generation-step .mobile-category-tag span{color:#50c878;color:var(--primary-green);font-weight:500}.image-generation-step .mobile-category-remove{align-items:center;background:none;border:none;border-radius:50%;color:#ff6b6b;cursor:pointer;display:flex;font-size:16px;font-weight:700;height:20px;justify-content:center;padding:0;transition:background-color .2s ease;width:20px}.image-generation-step .mobile-category-remove:hover:not(:disabled){background-color:#ff6b6b33}.image-generation-step .mobile-category-remove:disabled{cursor:not-allowed;opacity:.5}.image-generation-step .mobile-finalize-card{background:linear-gradient(135deg,#50c8781a,#4ecdc41a);border:2px solid #50c878;border:2px solid var(--primary-green);border-radius:12px;padding:20px;text-align:center}.image-generation-step .mobile-finalize-title{color:#50c878;color:var(--primary-green);font-size:20px;font-weight:700;margin:0 0 8px}.image-generation-step .mobile-finalize-description{color:#8892b0;font-size:14px;margin:0 0 16px}.image-generation-step .mobile-auto-submission{margin-bottom:16px}.image-generation-step .mobile-checkbox-label{align-items:center;cursor:pointer;display:flex;gap:10px;-webkit-user-select:none;user-select:none}.image-generation-step .mobile-checkbox-label input[type=checkbox]{accent-color:#50c878;accent-color:var(--primary-green);cursor:pointer;height:18px;width:18px}.image-generation-step .mobile-checkbox-label span{color:#fff;font-size:14px}.image-generation-step .mobile-finalize-btn{background:#50c878;background:var(--primary-green);border:none;border-radius:8px;color:#181824;cursor:pointer;font-size:16px;font-weight:700;padding:16px;transition:all .2s ease;width:100%}.image-generation-step .mobile-finalize-btn:hover:not(:disabled){background:#45b369;box-shadow:0 4px 12px #50c8784d;transform:translateY(-2px)}.image-generation-step .mobile-finalize-btn:disabled{background:#343456;color:#8892b0;cursor:not-allowed;transform:none!important}.image-generation-step .mobile-collapsible-section{margin-top:16px}.image-generation-step .mobile-collapsible-section .collapsible-section{background:#232336;border:1px solid #343456;border-radius:8px;margin-bottom:8px}.image-generation-step .mobile-collapsible-section .collapsible-header{color:#8892b0;cursor:pointer;font-size:14px;font-weight:500;padding:12px 16px}.image-generation-step .mobile-collapsible-section .collapsible-content{color:#fff;font-size:13px;padding:0 16px 16px}.image-generation-step .mobile-pre-content{background:#14141e;border:1px solid #343456;border-radius:6px;color:#b6ffcb;font-family:Fira Code,monospace;font-size:12px;margin:0;overflow-x:auto;padding:12px;white-space:pre-wrap}@media (max-width:768px){.image-generation-step .desktop-only{display:none!important}.image-generation-step .mobile-only{display:block!important;padding:16px}.image-generation-step .category-selection-panel,.image-generation-step .central-commands-panel,.image-generation-step .finalization-panel,.image-generation-step .image-generation-main-panels{display:none!important}.image-generation-step{background:linear-gradient(135deg,#101018,#181824);padding:0}}@media (max-width:480px){.image-generation-step .mobile-generation-buttons,.image-generation-step .mobile-provider-tabs,.image-generation-step .mobile-sliders-grid,.image-generation-step .mobile-toggle-buttons{grid-template-columns:1fr}}.character-builder-2{background:#1c1c1c;background:var(--dark-bg);color:#fff;color:var(--text-color);font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;min-height:100vh}.character-builder-container{margin:0 auto;max-width:1200px;padding:20px}.character-builder-header{margin-bottom:40px;text-align:center}.character-builder-title{-webkit-text-fill-color:#0000;background:linear-gradient(45deg,#50c878,#4ecdc4);background:linear-gradient(45deg,var(--primary-color),#4ecdc4);-webkit-background-clip:text;background-clip:text;font-size:2.5rem;font-weight:700;margin-bottom:10px}.character-builder-subtitle{color:#ddd;color:var(--text-light);font-size:1.1rem;margin-bottom:30px}.progress-indicator{align-items:center;background:#151515;background:var(--darker-bg);border:1px solid #444;border:1px solid var(--border-color);border-radius:8px;border-radius:var(--radius);display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-bottom:40px;padding:20px}.progress-step,.step-circle{align-items:center;display:flex;position:relative}.step-circle{border:2px solid #0000;border-radius:50%;cursor:pointer;font-size:.9rem;font-weight:700;height:45px;justify-content:center;transition:all .3s ease;transition:var(--transition);width:45px}.step-circle.completed{box-shadow:0 0 15px #50c87866}.step-circle.completed,.step-circle.current{background:#50c878;background:var(--primary-color);color:#fff}.step-circle.current{animation:pulse 2s infinite;box-shadow:0 0 25px #50c87899;transform:scale(1.15)}.step-circle.pending{background:#242424;background:var(--medium-bg)}.step-circle.disabled,.step-circle.pending{border-color:#444;border-color:var(--border-color);color:#999;color:var(--text-muted)}.step-circle.disabled{background:#151515;background:var(--darker-bg);cursor:not-allowed;opacity:.5}.step-connector{background:#444;background:var(--border-color);height:2px;margin:0 10px;width:60px}.step-connector.completed{background:#50c878;background:var(--primary-color)}.step-label{color:#999;color:var(--text-muted);font-size:.8rem;left:50%;position:absolute;text-align:center;top:50px;transform:translateX(-50%);white-space:nowrap}.step-label.current{font-weight:600}.step-label.completed,.step-label.current{color:#50c878;color:var(--primary-color)}.step-content{background:#2d2d2d;background:var(--light-bg);border:1px solid #444;border:1px solid var(--border-color);border-radius:8px;border-radius:var(--radius);box-shadow:0 4px 6px #0000004d;box-shadow:var(--shadow);margin-bottom:30px;min-height:500px;padding:40px}.step-title{color:#fff;color:var(--text-color);font-size:2rem;font-weight:700;margin-bottom:10px;text-align:center}.step-description{color:#ddd;color:var(--text-light);font-size:1.1rem;margin-bottom:40px;text-align:center}.section{margin-bottom:35px}.section:last-child{margin-bottom:25px}.section-title{align-items:center;color:#fff;color:var(--text-color);display:flex;font-size:1.4rem;font-weight:600;gap:10px;margin-bottom:15px}.section-icon{color:#50c878;color:var(--primary-color);font-size:1.2rem}.section-description{color:#999;color:var(--text-muted);font-size:.95rem;margin-bottom:20px}.add-custom-option{background:#50c8781a;border:2px dashed #50c878;border:2px dashed var(--primary-color);border-radius:8px;border-radius:var(--radius);cursor:pointer;margin-right:15px;max-width:220px;min-width:180px;overflow:hidden;padding:20px;position:relative;text-align:center;transition:all .3s ease;transition:var(--transition)}.add-custom-option:hover{background:#50c87833;transform:translateY(-2px)}.add-custom-option-title{color:#50c878;color:var(--primary-color);font-size:1rem;font-weight:600;margin-bottom:8px}.add-custom-option-description{color:#ddd;color:var(--text-light);font-size:.85rem;line-height:1.4}.custom-input-modal{align-items:center;background:#000c;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.custom-input-content{background:#2d2d2d;background:var(--light-bg);border:1px solid #444;border:1px solid var(--border-color);border-radius:8px;border-radius:var(--radius);box-shadow:0 4px 6px #0000004d;box-shadow:var(--shadow);max-width:500px;padding:30px;width:90%}.custom-input-content h3{color:#50c878;color:var(--primary-color);margin-bottom:20px;text-align:center}.custom-input-content input{background:#151515;background:var(--darker-bg);border:2px solid #444;border:2px solid var(--border-color);border-radius:4px;border-radius:var(--radius-small);color:#fff;color:var(--text-color);font-size:1rem;margin-bottom:20px;padding:12px 16px;transition:all .3s ease;transition:var(--transition);width:100%}.custom-input-content input:focus{border-color:#50c878;border-color:var(--primary-color);box-shadow:0 0 0 3px #50c8781a;outline:none}.custom-input-buttons{display:flex;gap:15px;justify-content:flex-end}.custom-input-buttons button{border:none;border-radius:4px;border-radius:var(--radius-small);cursor:pointer;font-weight:600;padding:10px 20px;transition:all .3s ease;transition:var(--transition)}.custom-input-buttons .cancel-btn{background:#242424;background:var(--medium-bg);color:#fff;color:var(--text-color)}.custom-input-buttons .add-btn{background:#50c878;background:var(--primary-color);color:#fff}.custom-input-buttons button:hover{transform:translateY(-1px)}.options-container{margin-bottom:30px;position:relative}.options-scroll{display:flex;gap:15px;overflow-x:auto;padding:10px 0;scroll-behavior:smooth;scrollbar-color:#50c878 #151515;scrollbar-color:var(--primary-color) var(--darker-bg);scrollbar-width:thin}.options-scroll::-webkit-scrollbar{height:6px}.options-scroll::-webkit-scrollbar-track{background:#151515;background:var(--darker-bg);border-radius:3px}.options-scroll::-webkit-scrollbar-thumb{background:#50c878;background:var(--primary-color);border-radius:3px}.option-card{background:#242424;background:var(--medium-bg);border:2px solid #0000;border-radius:8px;border-radius:var(--radius);cursor:pointer;max-width:220px;min-width:180px;overflow:hidden;padding:20px;position:relative;text-align:center;transition:all .3s ease;transition:var(--transition)}.option-card:hover{background:#333;background:var(--lighter-bg);box-shadow:0 4px 6px #0000004d;box-shadow:var(--shadow);transform:translateY(-2px)}.option-card.multi-selected,.option-card.selected{background:#50c87833;border-color:#50c878;border-color:var(--primary-color);box-shadow:0 0 20px #50c8784d}.option-title{color:#fff;color:var(--text-color);font-size:1rem;font-weight:600;margin-bottom:8px}.option-description{color:#ddd;color:var(--text-light);font-size:.85rem;line-height:1.4}.option-icon{font-size:2rem;margin-bottom:10px;opacity:.8}.generate-more-btn{align-items:center;background:#50c8781a;border:2px solid #50c878;border:2px solid var(--primary-color);border-radius:8px;border-radius:var(--radius);cursor:pointer;display:flex;flex-direction:column;justify-content:center;margin-left:15px;max-width:220px;min-width:180px;overflow:hidden;padding:20px;position:relative;text-align:center;transition:all .3s ease;transition:var(--transition)}.generate-more-btn:hover{background:#50c87833;transform:translateY(-2px)}.generate-more-btn.loading{cursor:not-allowed;opacity:.6}.generate-more-title{align-items:center;color:#50c878;color:var(--primary-color);display:flex;font-size:1rem;font-weight:600;gap:8px;margin-bottom:8px}.generate-more-description{color:#ddd;color:var(--text-light);font-size:.85rem;line-height:1.4}.form-group{margin-bottom:25px}.form-label{display:block;font-weight:600;margin-bottom:8px}.form-input,.form-label{color:#fff;color:var(--text-color);font-size:1rem}.form-input{background:#151515;background:var(--darker-bg);border:2px solid #444;border:2px solid var(--border-color);border-radius:4px;border-radius:var(--radius-small);padding:12px 16px;transition:all .3s ease;transition:var(--transition);width:100%}.form-input:focus{border-color:#50c878;border-color:var(--primary-color);box-shadow:0 0 0 3px #50c8781a;outline:none}.form-input::placeholder{color:#999;color:var(--text-muted)}.slider-container{margin:20px 0}.slider{-webkit-appearance:none;background:#242424;background:var(--medium-bg);border-radius:3px;height:6px;outline:none;width:100%}.slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:#50c878;background:var(--primary-color);border-radius:50%;box-shadow:0 4px 6px #0000004d;box-shadow:var(--shadow);cursor:pointer;height:20px;width:20px}.slider::-moz-range-thumb{background:#50c878;background:var(--primary-color);border:none;border-radius:50%;box-shadow:0 4px 6px #0000004d;box-shadow:var(--shadow);cursor:pointer;height:20px;width:20px}.slider-value{color:#50c878;color:var(--primary-color);font-size:1.1rem;font-weight:600;margin-top:10px;text-align:center}.character-builder-2 .navigation-buttons{align-items:center!important;background:#1c1c1c;background:var(--dark-bg);border-top:1px solid #444;border-top:1px solid var(--border-color);bottom:0;box-sizing:border-box;display:flex!important;justify-content:space-between!important;margin-top:40px;padding:20px 30px;position:-webkit-sticky!important;position:sticky!important;width:100%;z-index:100}.character-builder-2 .nav-button{border:none;border-radius:4px;border-radius:var(--radius-small);cursor:pointer;font-size:1.1rem!important;font-weight:600;min-width:140px;overflow:hidden;padding:14px 28px!important;position:relative;transition:all .3s ease;transition:var(--transition)}.character-builder-2 .nav-button.previous{background:#242424;background:var(--medium-bg);border:2px solid #444;border:2px solid var(--border-color);color:#fff;color:var(--text-color)}.character-builder-2 .nav-button.finish,.character-builder-2 .nav-button.next{background:#50c878;background:var(--primary-color);color:#fff}.character-builder-2 .nav-button.previous:hover:not(:disabled){background:#333;background:var(--lighter-bg);transform:translateY(-1px)}.character-builder-2 .nav-button.previous:disabled{cursor:not-allowed;opacity:.4}.character-builder-2 .nav-button.finish:hover:not(:disabled),.character-builder-2 .nav-button.next:hover:not(:disabled){background:#48a862;background:var(--primary-dark);transform:translateY(-1px)}.character-builder-2 .nav-button.next:disabled{cursor:not-allowed;opacity:.4;transform:none}.action-button-group{align-items:center;display:flex;gap:10px}.nav-button.randomize-btn{background-color:#ffc10733;border:2px solid #ffc10766;color:#ffc107;font-size:.9rem;padding:8px 16px}.nav-button.randomize-btn:hover:not(:disabled){background-color:#ffc1074d;transform:translateY(-1px)}.nav-button.ai-assist-btn{background-color:#4ecdc433;border:2px solid #4ecdc466;color:#4ecdc4;font-size:.9rem;padding:8px 16px}.nav-button.ai-assist-btn:hover:not(:disabled){background-color:#4ecdc44d;transform:translateY(-1px)}.character-builder-2 .nav-button.loading{cursor:not-allowed;opacity:.8}.character-builder-2 .nav-button.loading:before{animation:spin 1s linear infinite;border:2px solid #0000;border-radius:50%;border-top-color:currentcolor;content:"";height:16px;left:15px;position:absolute;top:50%;transform:translateY(-50%);width:16px}.character-builder-2 .nav-button.loading .button-text{margin-left:25px}.selected-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.selected-tag{background:#50c878;background:var(--primary-color);border-radius:20px;font-size:.85rem;font-weight:500;gap:6px;padding:6px 12px}.selected-tag,.tag-remove{align-items:center;color:#fff;display:flex}.tag-remove{background:none;border:none;border-radius:50%;cursor:pointer;font-size:1rem;height:16px;justify-content:center;line-height:1;padding:0;transition:background-color .2s ease;width:16px}.tag-remove:hover{background:#fff3}.completion-status{margin-bottom:30px;text-align:center}.completion-bar{background:#242424;background:var(--medium-bg);border-radius:3px;height:6px;margin-bottom:10px;overflow:hidden;width:100%}.completion-fill{background:#50c878;background:var(--primary-color);height:100%;transition:width .5s ease}.completion-text{color:#ddd;color:var(--text-light);font-size:.9rem}.loading-overlay{align-items:center;background:#000c;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.loading-spinner{border:3px solid #242424;border-top:3px solid #50c878;border:3px solid var(--medium-bg);border-top-color:var(--primary-color);height:50px;width:50px}.character-builder-loading{align-items:center;background:#2d2d2d;background:var(--light-bg);border:1px solid #444;border:1px solid var(--border-color);border-radius:8px;border-radius:var(--radius);display:flex;flex-direction:column;justify-content:center;margin:20px 0;padding:60px 20px}.character-builder-loading .loading-spinner{height:60px;margin-bottom:20px;width:60px}.character-builder-loading .loading-text{color:#50c878;color:var(--primary-color);font-size:1.2rem;font-weight:600;margin-bottom:10px}.character-builder-loading .loading-subtext{color:#999;color:var(--text-muted);font-size:.9rem;max-width:400px;text-align:center}.inline-loading{align-items:center;display:inline-flex;gap:10px}.inline-loading .mini-spinner{animation:spin 1s linear infinite;border:2px solid #242424;border-top:2px solid #50c878;border:2px solid var(--medium-bg);border-radius:50%;border-top-color:var(--primary-color);height:16px;width:16px}.info-card{background:linear-gradient(135deg,#50c8781a,#4ecdc40d);border:1px solid #50c8784d;border-radius:8px;border-radius:var(--radius);margin-bottom:25px;overflow:hidden;padding:25px;position:relative}.info-card:before{background:linear-gradient(90deg,#50c878,#4ecdc4);background:linear-gradient(90deg,var(--primary-color),#4ecdc4);content:"";height:3px;left:0;position:absolute;right:0;top:0}.info-card-header{align-items:center;display:flex;gap:12px;margin-bottom:20px}.info-card-icon{font-size:1.8rem}.info-card-icon,.info-card-title{color:#50c878;color:var(--primary-color)}.info-card-title{font-size:1.3rem;font-weight:700;margin:0}.info-card-list{list-style:none;margin:0;padding:0}.info-card-item{align-items:flex-start;color:#ddd;color:var(--text-light);display:flex;gap:12px;line-height:1.6;margin-bottom:12px;padding:8px 0}.info-card-item:before{color:#50c878;color:var(--primary-color);content:"✨";flex-shrink:0;font-size:1rem;margin-top:2px}.info-card-item strong{color:#fff;color:var(--text-color);font-weight:600}.generation-status-card{align-items:center;background:#2d2d2d;background:var(--light-bg);border:1px solid #444;border:1px solid var(--border-color);border-radius:8px;border-radius:var(--radius);display:flex;gap:15px;margin-bottom:20px;padding:20px}.generation-status-card.generating{background:#ffc1070d;border-color:#ffc10766}.generation-status-card.completed{background:#50c8780d;border-color:#50c87866}.generation-status-card.error{background:#ff6b6b0d;border-color:#ff6b6b66}.generation-status-icon{flex-shrink:0;font-size:1.5rem}.generation-status-icon.generating{color:#ffc107}.generation-status-icon.completed{color:#50c878;color:var(--primary-color)}.generation-status-icon.error{color:#ff6b6b}.generation-status-content{flex:1 1}.generation-status-title{color:#fff;color:var(--text-color);font-size:1.1rem;font-weight:600;margin:0 0 5px}.generation-status-subtitle{color:#999;color:var(--text-muted);font-size:.9rem;margin:0}.command-preview-card{background:#8a2be21a;border:1px solid #8a2be24d;border-radius:8px;border-radius:var(--radius);margin-bottom:15px;padding:15px}.command-preview-name{color:#8a2be2;font-size:1rem;font-weight:600;margin-bottom:8px}.command-preview-description{color:#ddd;color:var(--text-light);font-size:.9rem;line-height:1.5}.connection-status{align-items:center;border-radius:15px;display:inline-flex;font-size:.8rem;font-weight:500;gap:6px;padding:4px 10px}.connection-status.connected{background:#50c87833;border:1px solid #50c8784d;color:#50c878;color:var(--primary-color)}.connection-status.custom{background:#ffc10733;border:1px solid #ffc1074d;color:#ffc107}.connection-status.none{background:#ff6b6b33;border:1px solid #ff6b6b4d;color:#ff6b6b}.quick-actions-section{background:linear-gradient(135deg,#50c8780d,#4ecdc408);border:2px solid #50c87833;border-radius:12px;margin-bottom:35px;overflow:hidden;padding:25px;position:relative;text-align:center}.quick-actions-section:before{background:linear-gradient(90deg,#50c878,#4ecdc4);background:linear-gradient(90deg,var(--primary-color),#4ecdc4);content:"";height:3px;left:0;position:absolute;right:0;top:0}.quick-actions-buttons{display:flex;flex-wrap:wrap;gap:20px;justify-content:center;margin-bottom:15px}.quick-actions-description{color:#999;color:var(--text-muted);font-size:.95rem;line-height:1.5;margin:0}.nav-button.upload-btn{background-color:#50c87833;border:2px solid #50c87866;color:#50c878;color:var(--primary-color);font-size:1rem;min-width:180px;padding:12px 24px;transition:all .3s ease}.nav-button.upload-btn:hover:not(:disabled){background-color:#50c8784d;box-shadow:0 4px 12px #50c8784d;transform:translateY(-2px)}.quick-actions-section .nav-button.ai-assist-btn{font-size:1rem;min-width:180px;padding:12px 24px}@media (max-width:768px){.character-builder-container{padding:15px}.character-builder-title{font-size:2rem}.step-content{padding:25px}.progress-indicator{-webkit-overflow-scrolling:touch;flex-wrap:nowrap!important;gap:15px!important;justify-content:flex-start!important;margin-bottom:20px;overflow-x:auto!important;overflow-y:hidden!important;padding:15px 20px!important;position:relative;scrollbar-color:#50c878 #151515;scrollbar-color:var(--primary-color) var(--darker-bg);scrollbar-width:thin}.progress-indicator::-webkit-scrollbar{height:3px}.progress-indicator::-webkit-scrollbar-track{background:#151515;background:var(--darker-bg);border-radius:2px}.progress-indicator::-webkit-scrollbar-thumb{background:#50c878;background:var(--primary-color);border-radius:2px}.progress-step{flex-shrink:0;margin-right:5px;position:relative}.progress-step:first-child{margin-left:0}.progress-step:last-child{margin-right:0}.step-circle{font-size:.8rem;height:35px;width:35px}.step-connector{margin:0 5px;width:20px}.step-label{font-size:.6rem;max-width:60px;overflow:hidden;text-overflow:ellipsis;top:38px;white-space:nowrap}.add-custom-option,.generate-more-btn,.option-card{max-width:180px;min-width:150px;padding:15px}.character-builder-header{margin-bottom:25px}.main-title{font-size:1.6rem;line-height:1.2;margin-bottom:10px}.mode-toggle{gap:8px;margin:15px 0}.mode-button{border-radius:6px;font-size:.9rem;padding:8px 16px}.header-controls{display:flex;flex-direction:column;gap:10px;margin-top:15px}.header-buttons-row{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.edit-character-button,.load-character-button{background:#242424;background:var(--medium-bg);border:1px solid #444;border:1px solid var(--border-color);border-radius:6px;color:#fff;color:var(--text-color);cursor:pointer;flex:1 1;font-size:.8rem;max-width:140px;min-width:110px;overflow:hidden;padding:8px 10px;text-overflow:ellipsis;transition:all .3s ease;transition:var(--transition);white-space:nowrap}.edit-character-button:hover,.load-character-button:hover:not(:disabled){background:#333;background:var(--lighter-bg);transform:translateY(-1px)}.load-character-button:disabled{cursor:not-allowed;opacity:.5}.legacy-link{margin-top:5px;text-align:center}.legacy-builder-button{background:none;border:none;color:#4ecdc4;cursor:pointer;font-size:.75rem;opacity:.8;text-decoration:underline;transition:opacity .3s ease}.legacy-builder-button:hover{opacity:1}.character-limits-display{flex-direction:column!important;font-size:12px!important;gap:8px!important;margin:12px 0!important;padding:10px 12px!important}.character-limits-display>div:first-child{gap:8px!important;justify-content:center!important}.character-limits-display>div:nth-child(2){font-size:11px!important;text-align:center!important}.character-limits-display button,.character-limits-display>div:last-child button{font-size:10px!important;margin:0 2px!important;padding:4px 8px!important}.character-builder-2 .navigation-buttons{flex-direction:column!important;gap:15px;margin-top:20px;padding:15px 20px;position:relative!important}.character-builder-2 .nav-button{font-size:1rem!important;left:auto!important;min-width:auto!important;padding:12px 20px!important;position:static!important;right:auto!important;top:auto!important;transform:none!important;width:100%!important}.info-card{padding:20px}.info-card-header{flex-direction:column;gap:8px;text-align:center}.info-card-title{font-size:1.2rem}.generation-status-card{flex-direction:column;gap:10px;text-align:center}.quick-actions-section{margin-bottom:25px;padding:20px 15px}.quick-actions-buttons{flex-direction:column;gap:12px}.nav-button.upload-btn,.quick-actions-section .nav-button.ai-assist-btn{font-size:.95rem;min-width:auto;padding:12px 16px;width:100%}.quick-actions-description{font-size:.85rem}}.add-custom-option,.generate-more-btn,.option-card,.step-content{animation:fadeInUp .5s ease-out}.ethnicity-options .option-card{min-width:160px}.body-type-options .option-card{min-width:140px}.kink-options .option-card{max-width:160px;min-width:120px}.trait-options .option-card{max-width:170px;min-width:130px}.mode-toggle{display:flex;gap:10px;justify-content:center;margin:10px 0}.header-controls{margin-top:20px;text-align:center}.header-buttons-row{display:flex;gap:15px;justify-content:center;margin-bottom:10px}.edit-character-button,.load-character-button{background:#242424;background:var(--medium-bg);border:1px solid #444;border:1px solid var(--border-color);border-radius:8px;color:#fff;color:var(--text-color);cursor:pointer;display:inline-block;font-size:1rem;padding:12px 20px;text-decoration:none;transition:all .3s ease;transition:var(--transition)}.edit-character-button:hover,.load-character-button:hover:not(:disabled){background:#333;background:var(--lighter-bg);box-shadow:0 4px 6px #0000004d;box-shadow:var(--shadow);transform:translateY(-2px)}.load-character-button:disabled{cursor:not-allowed;opacity:.5}.legacy-link{margin-top:10px;text-align:center}.legacy-builder-button{background:none;border:none;color:#4ecdc4;cursor:pointer;font-size:.8rem;opacity:.8;text-decoration:underline;transition:opacity .3s ease}.legacy-builder-button:hover{opacity:1}.mode-button{background:#ffffff0d;border:2px solid #fff3;border-radius:8px;color:#fff;cursor:pointer;font-weight:500;padding:10px 20px;transition:all .3s ease}.mode-button:hover{background:#ffffff1a;border-color:#ffffff4d}.mode-button.active{background:#4ecdc4;border-color:#4ecdc4;color:#fff}.finalize-basic-container{margin:0 auto;max-width:800px;padding:20px}.header-section{margin-bottom:30px;text-align:center}.header-section h2{color:#4ecdc4;margin-bottom:10px}.summary-section{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;margin-bottom:30px;padding:20px}.basic-summary{background:#0000004d;border-radius:8px;margin:15px 0;padding:15px}.basic-summary pre{color:#e0e0e0;font-family:inherit;line-height:1.6;white-space:pre-wrap}.switch-mode-button{background:#ffc10733;border:2px solid #ffc10780;border-radius:8px;color:#ffc107;cursor:pointer;font-weight:500;margin-top:15px;padding:12px 24px;transition:all .3s ease}.switch-mode-button:hover{background:#ffc1074d;border-color:#ffc107}.generation-section{display:flex;flex-direction:column;gap:30px}.generation-step{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;padding:20px}.generation-step h4{color:#4ecdc4;margin-bottom:10px}.generation-buttons{display:flex;flex-wrap:wrap;gap:15px;margin-top:15px}.generation-button{border:2px solid;border-radius:8px;cursor:pointer;font-weight:500;min-width:200px;padding:12px 24px;text-align:center;transition:all .3s ease}.generation-button.primary{background:#4ccdc41a;border-color:#4ecdc4;color:#4ecdc4}.generation-button.primary:hover{background:#4ccdc433}.generation-button.premium{background:#ffc1071a;border-color:#ffc107;color:#ffc107}.generation-button.premium:hover{background:#ffc10733}.generation-button.image{background:#6c63ff1a;border-color:#6c63ff;color:#6c63ff}.generation-button.image:hover{background:#6c63ff33}.generation-button.finalize{background:#2ecc711a;border-color:#2ecc71;color:#2ecc71}.generation-button.finalize:hover{background:#2ecc7133}.generation-button:disabled{cursor:not-allowed;opacity:.5}.generation-button.loading{animation:pulse 1.5s infinite}.generated-content{background:#2ecc711a;border:1px solid #2ecc714d;border-radius:8px;margin-top:20px;padding:15px}.character-preview{margin-top:15px}.toggle-view-button{background:#ffffff1a;border:1px solid #fff3;border-radius:6px;color:#fff;cursor:pointer;padding:8px 16px;transition:all .3s ease}.toggle-view-button:hover{background:#fff3}.full-character-display{background:#0000004d;border-radius:8px;margin-top:15px;max-height:400px;overflow-y:auto;padding:15px}.full-character-display pre{color:#e0e0e0;font-family:inherit;line-height:1.6;margin:0;white-space:pre-wrap}.generated-image{margin-top:15px;text-align:center}.generated-image img{border:2px solid #ffffff1a;border-radius:8px;max-width:300px}.success-message{background:#2ecc711a;border:1px solid #2ecc714d;border-radius:8px;padding:20px;text-align:center}.success-message h4{color:#2ecc71;margin-bottom:15px}.nav-to-characters-button{background:#2ecc71;border:none;border-radius:8px;color:#fff;cursor:pointer;font-weight:500;padding:12px 24px;transition:all .3s ease}.nav-to-characters-button:hover{background:#27ae60}.basic-final-info{color:#8892b0;font-style:italic;text-align:center}.auth-modal{max-width:500px;width:90%}.auth-buttons{display:flex;gap:15px;justify-content:center;margin-bottom:20px}.auth-btn{align-items:center;border:none;border-radius:8px;cursor:pointer;display:inline-flex;flex:1 1;font-size:1rem;font-weight:600;justify-content:center;padding:12px 20px;text-decoration:none;transition:all .3s ease}.login-btn{background:#4ecdc4;color:#1a1a1a}.login-btn:hover{background:#3db3ab;box-shadow:0 4px 12px #4ecdc44d;transform:translateY(-2px)}.register-btn{background:#0000;border:2px solid #4ecdc4;color:#4ecdc4}.register-btn:hover{background:#4ecdc41a;transform:translateY(-2px)}@media (max-width:768px){.auth-buttons{flex-direction:column}.auth-btn{width:100%}}.basic-profile-hero{background:linear-gradient(135deg,#50c87814,#4ecdc40a);border:1px solid #50c87840;border-radius:14px;margin-bottom:40px;overflow:hidden;padding:40px 24px;position:relative;text-align:center}.basic-profile-hero:before{background:linear-gradient(90deg,#50c878,#4ecdc4);background:linear-gradient(90deg,var(--primary-color),#4ecdc4);content:"";height:3px;left:0;position:absolute;right:0;top:0}.basic-profile-hero-container{position:relative;z-index:2}.basic-profile-hero-title{color:#50c878;color:var(--primary-color,#50c878);font-size:2.2rem;font-weight:700;letter-spacing:-.5px;margin:0 0 12px}.basic-profile-hero-subtitle{color:#ddd;color:var(--text-light,#ddd);font-size:1.1rem;line-height:1.4;margin:0;opacity:.9}.quick-actions-section-modern{background:#0000;border:none;border-radius:14px;margin-bottom:40px;overflow:hidden;padding:0;position:relative;text-align:center}.quick-actions-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:1fr 1fr;margin-bottom:20px}.quick-action-card{background-color:#242424;background-color:var(--medium-bg,#242424);border:2px solid #444;border:2px solid var(--border-color,#444);border-radius:12px;cursor:pointer;overflow:hidden;padding:24px;position:relative;text-align:center;transition:all .3s ease}.quick-action-card:hover{box-shadow:0 12px 24px #0006;transform:translateY(-4px)}.quick-action-card.ai-assist:hover{border-color:#4ecdc4;box-shadow:0 12px 24px #4ecdc433}.quick-action-card.upload:hover{border-color:#50c878;border-color:var(--primary-color,#50c878);box-shadow:0 12px 24px #50c87833}.quick-action-icon{align-items:center;border-radius:12px;color:#151515;color:var(--darker-bg,#151515);display:flex;font-size:24px;height:48px;justify-content:center;margin:0 auto 16px;width:48px}.quick-action-icon.ai-assist{background-color:#4ecdc4}.quick-action-icon.upload{background-color:#50c878;background-color:var(--primary-color,#50c878)}.quick-action-content h3{color:#fff;color:var(--text-primary,#fff);font-size:1.2rem;font-weight:700;margin:0 0 6px}.quick-action-content p{color:#ddd;color:var(--text-light,#ddd);font-size:.9rem;line-height:1.3;margin:0 0 16px}.quick-action-button{border:none;border-radius:10px;cursor:pointer;font-size:.95rem;font-weight:700;letter-spacing:.5px;padding:12px 20px;text-transform:uppercase;transition:all .3s ease;width:100%}.quick-action-button.ai-assist{background-color:#4ecdc4;color:#151515;color:var(--darker-bg,#151515)}.quick-action-button.ai-assist:hover{background-color:#3db3ab;box-shadow:0 6px 16px #4ecdc44d;transform:translateY(-2px)}.quick-action-button.upload{background-color:#50c878;background-color:var(--primary-color,#50c878);color:#151515;color:var(--darker-bg,#151515)}.quick-action-button.upload:hover{background-color:#48a862;background-color:var(--primary-dark,#48a862);box-shadow:0 6px 16px #50c8784d;transform:translateY(-2px)}.options-container-modern{margin-bottom:30px;position:relative}.options-scroll-modern{display:flex;gap:16px;overflow-x:auto;padding:10px 0;scroll-behavior:smooth;scrollbar-color:#50c878 #151515;scrollbar-color:var(--primary-color) var(--darker-bg);scrollbar-width:thin}.options-scroll-modern::-webkit-scrollbar{height:6px}.options-scroll-modern::-webkit-scrollbar-track{background:#151515;background:var(--darker-bg);border-radius:3px}.options-scroll-modern::-webkit-scrollbar-thumb{background:#50c878;background:var(--primary-color);border-radius:3px}.option-card-modern{background-color:#242424;background-color:var(--medium-bg,#242424);border:2px solid #444;border:2px solid var(--border-color,#444);border-radius:12px;cursor:pointer;flex-shrink:0;max-width:220px;min-width:180px;overflow:hidden;padding:20px;position:relative;text-align:center;transition:all .3s ease}.option-card-modern:hover{box-shadow:0 12px 24px #0006;transform:translateY(-4px)}.option-card-modern.selected,.option-card-modern:hover{border-color:#50c878;border-color:var(--primary-color,#50c878)}.option-card-modern.selected{background:#50c87826;box-shadow:0 0 25px #50c8784d}.option-card-modern.selected:hover{box-shadow:0 12px 24px #50c87866}.option-card-icon-modern{display:block;font-size:2.2rem;margin-bottom:12px;opacity:.8}.option-card-title-modern{color:#fff;color:var(--text-color);font-size:1.1rem;font-weight:600;margin-bottom:8px}.option-card-description-modern{color:#ddd;color:var(--text-light);font-size:.85rem;line-height:1.4}.form-group-modern{margin-bottom:28px}.form-label-modern{display:block;font-weight:600;margin-bottom:12px}.form-input-modern,.form-label-modern{color:#fff;color:var(--text-color);font-size:1rem}.form-input-modern{background:#151515;background:var(--darker-bg);border:2px solid #444;border:2px solid var(--border-color);border-radius:10px;box-shadow:0 2px 4px #0000001a;padding:14px 18px;transition:all .3s ease;width:100%}.form-input-modern:focus{border-color:#50c878;border-color:var(--primary-color);box-shadow:0 0 0 3px #50c8781a,0 2px 8px #00000026;outline:none;transform:translateY(-1px)}.form-input-modern::placeholder{color:#999;color:var(--text-muted)}.slider-container-modern{margin:25px 0;padding:10px 0}.slider-modern{-webkit-appearance:none;background:#242424;background:var(--medium-bg);border-radius:4px;height:8px;outline:none;position:relative;width:100%}.slider-modern::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:#50c878;background:var(--primary-color);border-radius:50%;box-shadow:0 4px 8px #0000004d;cursor:pointer;height:24px;-webkit-transition:all .3s ease;transition:all .3s ease;width:24px}.slider-modern::-webkit-slider-thumb:hover{box-shadow:0 6px 12px #50c87866;transform:scale(1.1)}.slider-modern::-moz-range-thumb{background:#50c878;background:var(--primary-color);border:none;border-radius:50%;box-shadow:0 4px 8px #0000004d;cursor:pointer;height:24px;-moz-transition:all .3s ease;transition:all .3s ease;width:24px}.slider-modern::-moz-range-thumb:hover{box-shadow:0 6px 12px #50c87866;transform:scale(1.1)}.slider-value-modern{color:#50c878;color:var(--primary-color);font-size:1.2rem;font-weight:600;margin-top:15px;text-align:center;text-shadow:0 2px 4px #0000004d}.character-preview-modern{background:linear-gradient(135deg,#50c87814,#4ecdc40a);border:1px solid #50c87840;border-radius:14px;box-shadow:0 8px 16px #0000001a;margin-top:20px;overflow:hidden;padding:24px;position:relative}.character-preview-modern:before{background:linear-gradient(90deg,#50c878,#4ecdc4);background:linear-gradient(90deg,var(--primary-color),#4ecdc4);content:"";height:3px;left:0;position:absolute;right:0;top:0}.character-preview-content{color:#4ecdc4;font-size:1.1rem;line-height:1.6;margin:0}.section-modern{margin-bottom:40px}.section-title-modern{align-items:center;color:#fff;color:var(--text-color);display:flex;font-size:1.5rem;font-weight:600;gap:12px;margin-bottom:18px}.section-icon-modern{color:#50c878;color:var(--primary-color);font-size:1.3rem}.section-description-modern{color:#999;color:var(--text-muted);font-size:1rem;line-height:1.5;margin-bottom:25px}@media (max-width:768px){.basic-profile-hero{margin-bottom:30px;padding:30px 20px}.basic-profile-hero-title{font-size:1.8rem}.basic-profile-hero-subtitle{font-size:1rem}.quick-actions-grid{gap:16px;grid-template-columns:1fr}.quick-action-card{padding:20px}.quick-action-icon{font-size:20px;height:40px;margin-bottom:12px;width:40px}.option-card-modern{max-width:180px;min-width:150px;padding:16px}.option-card-icon-modern{font-size:1.8rem;margin-bottom:10px}.section-title-modern{font-size:1.3rem}}@media (max-width:480px){.basic-profile-hero{border-radius:10px;padding:24px 16px}.basic-profile-hero-title{font-size:1.6rem}.basic-profile-hero-subtitle{font-size:.95rem}.quick-action-card{padding:16px}.option-card-modern{max-width:160px;min-width:140px;padding:14px}}.review-step-modern{margin:0 auto;max-width:900px;padding:24px}.review-section-modern{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(135deg,#2d2d2d,#2d2d2dcc);background:linear-gradient(135deg,var(--light-bg,#2d2d2d) 0,#2d2d2dcc 100%);border:1px solid #50c87833;border-radius:20px;box-shadow:0 8px 32px #0000004d,0 0 0 1px #50c8781a;margin-bottom:24px;overflow:hidden;padding:36px;position:relative}.review-section-modern:before{background:linear-gradient(90deg,#50c878,#4ecdc4,#50c878);background:linear-gradient(90deg,var(--primary-color,#50c878),#4ecdc4,var(--primary-color,#50c878));content:"";height:3px;left:0;position:absolute;right:0;top:0}.review-section-title{align-items:center;color:#50c878;color:var(--primary-color,#50c878);display:flex;font-size:1.6rem;font-weight:600;gap:12px;margin:0 0 12px}.review-section-description{color:#ddd;color:var(--text-light,#ddd);font-size:1rem;line-height:1.6;margin:0 0 28px;opacity:.9}.review-textarea-modern{background:#151515;background:var(--darker-bg,#151515);border:1px solid #444;border:1px solid var(--border-color,#444);border-radius:8px;box-sizing:border-box;color:#fff;color:var(--text-color,#fff);font-family:SF Mono,Monaco,Inconsolata,Roboto Mono,monospace;font-size:14px;line-height:1.6;min-height:450px;padding:20px;resize:vertical;transition:border-color .2s ease;width:100%}.review-textarea-modern:focus{border-color:#50c878;border-color:var(--primary-color,#50c878);outline:none}.review-textarea-modern.character-prompt{min-height:500px}.review-textarea-modern.character-prompt:focus{border-color:#4ecdc4}.review-controls-modern{margin-top:36px}.review-button-group{display:flex;flex-wrap:wrap;gap:16px;justify-content:center;margin-bottom:20px}.review-button-modern{align-items:center;border:2px solid #0000;border-radius:12px;box-sizing:border-box;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:600;gap:10px;justify-content:center;min-height:52px;overflow:hidden;padding:14px 28px;position:relative;text-decoration:none;transition:all .3s ease}.review-button-modern:hover:not(:disabled){box-shadow:0 8px 25px #0000004d;transform:translateY(-2px)}.review-button-modern:disabled{cursor:not-allowed;opacity:.5;transform:none}.review-button-back{background:linear-gradient(135deg,#242424,#333);background:linear-gradient(135deg,var(--medium-bg,#242424),var(--lighter-bg,#333));border-color:#50c87833;box-shadow:0 4px 15px #0003;color:#fff;color:var(--text-color)}.review-button-back:hover:not(:disabled){background:linear-gradient(135deg,#333,#404040);background:linear-gradient(135deg,var(--lighter-bg,#333),#404040);border-color:#50c87866;box-shadow:0 8px 25px #50c8781a}.review-button-primary{animation:pulse-glow 2s infinite;background:linear-gradient(135deg,#50c878,#4ecdc4);background:linear-gradient(135deg,var(--primary-color,#50c878),#4ecdc4);border-color:#50c878;border-color:var(--primary-color,#50c878);box-shadow:0 6px 25px #50c87866;color:#151515;color:var(--darker-bg,#151515);font-size:1.1rem;font-weight:700;overflow:hidden;position:relative}.review-button-primary:hover:not(:disabled){background:linear-gradient(135deg,#48a862,#45b7aa);background:linear-gradient(135deg,var(--primary-dark,#48a862),#45b7aa);box-shadow:0 8px 35px #50c87899;transform:translateY(-3px)}.review-button-secondary{background:linear-gradient(135deg,#4ecdc426,#4ecdc41a);border-color:#4ecdc44d;box-shadow:0 4px 15px #4ecdc41a;color:#4ecdc4}.review-button-secondary:hover:not(:disabled){background:linear-gradient(135deg,#4ecdc440,#4ecdc433);border-color:#4ecdc4;box-shadow:0 8px 25px #4ecdc433}.review-button-generate{animation:pulse-glow 2s infinite;background:linear-gradient(135deg,#50c878,#4ecdc4,#50c878);background:linear-gradient(135deg,var(--primary-color,#50c878),#4ecdc4,var(--primary-color,#50c878));border-color:#0000;box-shadow:0 6px 25px #50c87866;color:#151515;color:var(--darker-bg,#151515);font-size:1.1rem;font-weight:700;overflow:hidden;position:relative}.review-button-generate:hover:not(:disabled){box-shadow:0 8px 35px #50c87899;transform:translateY(-3px)}.review-button-generate:disabled{animation:none;background:linear-gradient(135deg,#242424,#444);background:linear-gradient(135deg,var(--medium-bg,#242424),var(--border-color,#444));box-shadow:none}.review-button-generate:disabled,.review-button-regenerate{border-color:#444;border-color:var(--border-color,#444);color:#999;color:var(--text-muted,#999)}.review-button-regenerate{background:#242424;background:var(--medium-bg,#242424);font-size:.85rem;font-weight:400;opacity:.7}.review-button-regenerate:hover:not(:disabled){background:#333;background:var(--lighter-bg,#333);border-color:#999;border-color:var(--text-muted,#999);color:#ddd;color:var(--text-light,#ddd);opacity:1}@keyframes pulse-glow{0%,to{box-shadow:0 6px 25px #50c87866}50%{box-shadow:0 6px 35px #50c87899}}.review-loading-spinner{animation:spin 1s linear infinite;border:2px solid #0000;border-radius:50%;border-top-color:currentcolor;height:14px;width:14px}.review-button-subtitle{font-size:.75rem;font-weight:400;margin-top:2px;opacity:.8}@media (max-width:768px){.review-step-modern{padding:16px}.review-section-modern{border-radius:16px;padding:28px 24px}.review-section-title{font-size:1.4rem}.review-button-group{align-items:stretch;flex-direction:column;gap:12px}.review-button-modern{font-size:.95rem;min-height:48px;width:100%}.review-textarea-modern{border-radius:12px;font-size:14px;min-height:300px;padding:20px}.review-textarea-modern.character-prompt{min-height:350px}}@media (max-width:480px){.review-step-modern{padding:12px}.review-section-modern{padding:24px 20px}.review-section-title{font-size:1.3rem}.review-textarea-modern{font-size:13px;min-height:280px;padding:18px}.review-textarea-modern.character-prompt{min-height:320px}.review-button-modern{font-size:.9rem;min-height:44px;padding:12px 20px}}.ai-assist-modal-overlay{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#000000a6!important;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.ai-assist-modal{animation:slideUp .4s ease;background-color:initial;border:1px solid #4444444d;border-radius:14px;box-shadow:0 20px 40px #000000b3;display:flex;flex-direction:column;height:80vh;max-height:700px;max-width:800px;overflow:hidden;width:95%}.ai-assist-modal-header{align-items:center;background:linear-gradient(135deg,#1a1a1a,#2d2d2d);display:flex;flex-shrink:0;height:120px;justify-content:space-between;min-width:0;overflow:hidden;padding:0 24px;position:relative}.ai-assist-header-content{align-items:center;display:flex;flex:1 1;gap:16px;min-width:0;z-index:2}.ai-assist-icon{align-items:center;background:#4ecdc433;border-radius:12px;display:flex;font-size:2rem;height:60px;justify-content:center;width:60px}.ai-assist-header-text h3,.ai-assist-icon{color:#4ecdc4;color:var(--primary-color,#4ecdc4)}.ai-assist-header-text h3{font-size:1.8rem;font-weight:700;letter-spacing:-.3px;margin:0 0 4px;text-shadow:0 2px 8px #000c}.ai-assist-header-subtitle{color:#ddd;font-size:.95rem;margin:0;opacity:.9;text-shadow:0 1px 4px #000c}.ai-assist-header-actions{align-items:center;display:flex;flex-shrink:0;gap:12px;z-index:2}.modal-close,.modal-reset{align-items:center;background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#fff;cursor:pointer;display:flex;flex-shrink:0;font-size:18px;height:40px;justify-content:center;padding:10px;transition:all .3s ease;width:40px}.modal-close:hover,.modal-reset:hover{background:#fff3;transform:translateY(-1px)}.ai-assist-modal-body{-webkit-backdrop-filter:blur(20px)!important;background:#0000004d!important;display:flex;flex:1 1;flex-direction:column;overflow:hidden;padding:0}.ai-chat-container{display:flex;flex-direction:column;height:100%}.chat-messages{display:flex;flex:1 1;flex-direction:column;gap:16px;overflow-y:auto;padding:24px;scrollbar-color:var(--primary-color) #0003;scrollbar-width:thin}.chat-messages::-webkit-scrollbar{width:6px}.chat-messages::-webkit-scrollbar-track{background:#0003;border-radius:3px}.chat-messages::-webkit-scrollbar-thumb{background:var(--primary-color);border-radius:3px}.message{display:flex;margin-bottom:8px}.message.user{justify-content:flex-end}.message.assistant{justify-content:flex-start}.message-content{align-items:flex-start;display:flex;gap:12px;max-width:75%}.message.user .message-content{flex-direction:row-reverse}.message-avatar{align-items:center;border-radius:10px;box-shadow:0 2px 8px #0000004d;display:flex;flex-shrink:0;font-size:18px;height:36px;justify-content:center;width:36px}.message.assistant .message-avatar{background:linear-gradient(135deg,#4ecdc433,#4ecdc41a);border:1px solid #4ecdc44d}.message.user .message-avatar{background:linear-gradient(135deg,#8a2be233,#8a2be21a);border:1px solid #8a2be24d}.message-text{background:#ffffff14;border-radius:12px;box-shadow:0 2px 8px #0003;color:#fff;font-size:.95rem;line-height:1.6;padding:14px 18px}.message.user .message-text{background:linear-gradient(135deg,#8a2be226,#8a2be21a);border:1px solid #8a2be24d}.message.assistant .message-text{background:#ffffff0d;border:1px solid #ffffff1a}.typing-indicator{align-items:center;color:var(--primary-color);display:flex;font-size:.9rem;gap:10px}.typing-indicator span{animation:typing 1.4s ease-in-out infinite;background:var(--primary-color);border-radius:50%;display:inline-block;height:8px;width:8px}.typing-indicator span:first-child{animation-delay:0s}.typing-indicator span:nth-child(2){animation-delay:.2s}.typing-indicator span:nth-child(3){animation-delay:.4s}@keyframes typing{0%,60%,to{opacity:.3;transform:scale(.8)}30%{opacity:1;transform:scale(1)}}.chat-input-form{background:#0003;border-top:1px solid #ffffff1a;padding:20px 24px}.chat-input-container{align-items:center;display:flex;gap:12px}.chat-input{background:#ffffff0d;border:2px solid #ffffff26;border-radius:12px;color:#fff;flex:1 1;font-size:.95rem;padding:14px 18px;transition:all .3s ease}.chat-input::placeholder{color:#fff6}.chat-input:focus{background:#ffffff14;border-color:#4ecdc4;border-color:var(--primary-color,#4ecdc4);box-shadow:0 0 0 3px #4ecdc426;outline:none}.chat-send-button{align-items:center;background:#4ecdc4;background:var(--primary-color,#4ecdc4);border:none;border-radius:12px;color:#151515;cursor:pointer;display:flex;font-size:18px;height:52px;justify-content:center;padding:14px 18px;transition:all .3s ease;width:52px}.chat-send-button:hover:not(:disabled){background:#45b7aa;background:var(--primary-dark,#45b7aa);box-shadow:0 4px 12px #4ecdc44d;transform:translateY(-2px)}.chat-send-button:disabled{cursor:not-allowed;opacity:.5;transform:none}.summary-review-container{display:flex;flex-direction:column;height:100%;overflow-y:auto;padding:24px}.summary-header{margin-bottom:24px}.summary-header-title{align-items:center;display:flex;justify-content:space-between;margin-bottom:12px}.summary-header h4{color:#4ecdc4;color:var(--primary-color,#4ecdc4);font-size:1.4rem;font-weight:600;margin:0}.reset-conversation-btn{align-items:center;background:#ffc1071a;border:1px solid #ffc1074d;border-radius:8px;color:#ffc107;cursor:pointer;display:flex;font-size:.9rem;gap:6px;padding:8px 16px;transition:all .3s ease}.chat-footer{background:#0000;display:flex;justify-content:center;padding:12px 24px 0}.reset-conversation-btn:hover{background:#ffc10733;border-color:#ffc10780;transform:translateY(-1px)}.summary-header p{color:#bbb;font-size:.95rem;line-height:1.5;margin:0}.summary-editor{flex:1 1 auto;margin-bottom:20px;min-height:0;overflow:hidden}.summary-textarea{background:#4ecdc40d;border:2px solid #4ecdc44d;border-radius:12px;box-sizing:border-box;color:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.95rem;height:100%;line-height:1.7;max-height:100%;min-height:200px;padding:20px;resize:vertical;transition:all .3s ease;width:100%}.summary-textarea:focus{background:#4ecdc414;border-color:#4ecdc4;border-color:var(--primary-color,#4ecdc4);box-shadow:0 0 0 3px #4ecdc426;outline:none}.refine-input-container{flex-shrink:0;margin-bottom:20px;position:relative;z-index:1}.refine-input{background:#ffffff0d;border:2px solid #ffffff26;border-radius:12px;color:#fff;font-size:.95rem;padding:14px 18px;transition:all .3s ease;width:100%}.refine-input::placeholder{color:#fff6}.refine-input:focus{background:#ffffff14;border-color:#4ecdc4;border-color:var(--primary-color,#4ecdc4);box-shadow:0 0 0 3px #4ecdc426;outline:none}.summary-actions{border-top:1px solid #ffffff1a;display:flex;flex-shrink:0;gap:16px;justify-content:flex-end;margin-top:20px;padding-top:16px;position:relative;z-index:2}.action-button{align-items:center;border:none;border-radius:12px;cursor:pointer;display:flex;font-size:.95rem;font-weight:600;gap:8px;letter-spacing:.5px;padding:14px 24px;text-transform:uppercase;transition:all .3s ease}.action-button.primary{background:#4ecdc4;background:var(--primary-color,#4ecdc4);box-shadow:0 2px 8px #4ecdc44d;color:#151515}.action-button.primary:hover:not(:disabled){background:#45b7aa;background:var(--primary-dark,#45b7aa);box-shadow:0 4px 12px #4ecdc466;transform:translateY(-2px)}.action-button.secondary{background:#ffffff14;border:2px solid #ffffff26;color:#fff}.action-button.secondary:hover:not(:disabled){background:#ffffff1f;border-color:#ffffff40;box-shadow:0 4px 12px #ffffff1a;transform:translateY(-2px)}.action-button:disabled{cursor:not-allowed;opacity:.5;transform:none}@media (max-width:768px){.ai-assist-modal{height:85vh;margin:10px;max-height:85vh;max-width:95%}.ai-assist-modal-header{flex-wrap:nowrap;height:100px;padding:0 16px}.ai-assist-header-content{gap:12px;overflow:hidden}.ai-assist-icon{flex-shrink:0;font-size:1.5rem;height:48px;width:48px}.ai-assist-header-text{overflow:hidden}.ai-assist-header-text h3{font-size:1.4rem}.ai-assist-header-subtitle,.ai-assist-header-text h3{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ai-assist-header-subtitle{font-size:.85rem}.ai-assist-header-actions{gap:10px}.modal-close,.modal-reset{font-size:16px;height:36px;padding:8px;width:36px}.chat-messages{padding:16px}.message-content{max-width:85%}.message-avatar{font-size:16px;height:32px;width:32px}.message-text{font-size:.9rem;padding:12px 16px}.chat-footer{order:-1;padding:8px 16px 4px}.chat-footer .reset-conversation-btn{border-radius:6px;font-size:.8rem;padding:6px 12px}.chat-input-form{padding:16px}.chat-input{font-size:.9rem;padding:12px 16px}.chat-send-button{height:48px;width:48px}.summary-review-container{display:flex;flex-direction:column;height:100%;overflow-y:auto;padding:16px}.summary-editor{flex:1 1 auto;max-height:50vh;min-height:150px;overflow:hidden}.summary-textarea{font-size:.9rem;height:100%;min-height:150px;padding:16px}.summary-actions{flex-direction:column;gap:12px}.action-button{justify-content:center;width:100%}}@media (max-width:480px){.ai-assist-modal-overlay{align-items:stretch;justify-content:stretch;padding:0}.ai-assist-modal{border-radius:0;display:flex;flex-direction:column;height:100%;margin:0;max-height:100%;width:100%}.ai-assist-modal-body{-webkit-overflow-scrolling:touch;flex:1 1 auto;min-height:0;overflow-y:auto}.ai-assist-modal-header{height:80px}.ai-assist-icon{height:40px;width:40px}.ai-assist-header-text h3,.ai-assist-icon{font-size:1.2rem}.ai-assist-header-subtitle{display:none}.ai-assist-header-actions{gap:8px}.modal-close,.modal-reset{font-size:14px;height:32px;padding:6px;width:32px}.summary-review-container{-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;height:100%;overflow-y:auto;padding:12px}.summary-header{flex-shrink:0;margin-bottom:16px}.summary-editor{flex:1 1 auto;margin-bottom:12px;max-height:40vh;min-height:120px;overflow:hidden}.summary-textarea{font-size:.85rem;height:100%;min-height:120px;padding:12px}.refine-input-container{flex-shrink:0;margin-bottom:12px}.refine-input{font-size:.85rem;padding:10px 12px}.summary-actions{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#000c;bottom:0;flex-shrink:0;margin-left:-12px;margin-right:-12px;margin-top:12px;padding:12px 12px env(safe-area-inset-bottom,12px);position:-webkit-sticky;position:sticky}.action-button{font-size:.85rem;padding:12px 16px}.chat-messages{padding:12px}.chat-footer{order:-1;padding:6px 12px 2px}.chat-footer .reset-conversation-btn{border-radius:5px;font-size:.75rem;gap:4px;padding:5px 10px}.chat-input-form{padding:12px 12px env(safe-area-inset-bottom,12px)}}.streaming-character-preview{max-width:100%;overflow:hidden}.streaming-header{border-bottom:1px solid #4ecdc433;margin-bottom:12px;padding-bottom:8px}.streaming-content{word-wrap:break-word;background:#4ecdc40d;border:1px solid #4ecdc433;border-radius:8px;color:#ffffffe6;font-family:Courier New,monospace;font-size:.85rem;line-height:1.4;max-height:300px;overflow-y:auto;padding:12px;white-space:pre-wrap}.streaming-indicator{background:#4ecdc41a;border:1px solid #4ecdc44d;border-radius:6px;font-size:.75rem;padding:4px 8px;position:absolute;right:8px;top:8px}.streaming-indicator .typing-indicator{font-size:.75rem;gap:4px}.streaming-indicator .typing-indicator span{height:4px;width:4px}.summary-textarea:disabled{cursor:wait;opacity:.7}.streaming-content~.typing-indicator span{animation-delay:0s,.2s,.4s}@media (max-width:768px){.streaming-content{font-size:.8rem;max-height:200px;padding:10px}.streaming-indicator{display:inline-block;margin-top:8px;position:relative;right:auto;top:auto}}@media (max-width:480px){.streaming-content{font-size:.75rem;max-height:150px;padding:8px}}.error-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#000000a6!important}.error-modal{animation:slideUp .4s ease;background-color:initial;border:1px solid #4444444d;border-radius:14px;box-shadow:0 20px 40px #000000b3;display:flex;flex-direction:column;max-height:85vh;max-width:600px;overflow:hidden;width:95%}.error-modal-header{background:linear-gradient(135deg,#1a1a1a,#2d2d2d);flex-shrink:0;height:180px;overflow:hidden;position:relative}.error-image-container{align-items:center;display:flex;height:100%;justify-content:center;position:relative;width:100%}.error-icon{height:80px;opacity:.3;position:absolute;width:80px;z-index:1}.error-image-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:linear-gradient(#0000,#000000d9);bottom:0;color:#fff;left:0;padding:32px 24px 20px;position:absolute;right:0;text-align:center;z-index:2}.error-modal-title{color:#f44336;color:var(--error-color,#f44336);font-size:1.6rem;font-weight:700;letter-spacing:-.3px;margin:0 0 6px;text-shadow:0 2px 8px #000c}.error-modal-subtitle{color:#ddd;font-size:.95rem;line-height:1.4;margin:0;opacity:.9;text-shadow:0 1px 4px #000c}.error-modal-body{-webkit-backdrop-filter:blur(20px)!important;background:#0000004d!important;flex:1 1;min-height:0;overflow-y:auto;padding:24px 20px 20px}.error-message-section{background-color:#242424;background-color:var(--medium-bg,#242424);border:1px solid #444;border:1px solid var(--border-color,#444);border-radius:8px;margin-bottom:20px;padding:16px}.error-message-section h3{color:#fff;color:var(--text-primary,#fff);font-size:1rem;font-weight:700;margin:0 0 8px}.error-message{color:#ddd;color:var(--text-light,#ddd);line-height:1.4;margin:0}.error-details-section{margin-bottom:20px}.error-details-section details{background-color:#1a1a1a;background-color:var(--darker-bg,#1a1a1a);border:1px solid #444;border:1px solid var(--border-color,#444);border-radius:6px}.error-details-section summary{border-bottom:1px solid #444;border-bottom:1px solid var(--border-color,#444);color:#ddd;color:var(--text-light,#ddd);cursor:pointer;font-size:.9rem;padding:12px 16px}.error-details-section summary:hover{background-color:#ffffff0d}.error-details{background-color:#151515;background-color:var(--darker-bg,#151515);color:#bbb;color:var(--text-muted,#bbb);font-family:Courier New,monospace;font-size:.8rem;margin:0;padding:12px 16px;white-space:pre-wrap;word-break:break-word}.error-actions-container{grid-gap:12px;display:grid;gap:12px;grid-template-columns:1fr;margin-bottom:20px}.error-action-card{align-items:center;background-color:#242424;background-color:var(--medium-bg,#242424);border:2px solid #444;border:2px solid var(--border-color,#444);border-radius:12px;cursor:pointer;display:flex;gap:16px;overflow:hidden;padding:16px;position:relative;transition:all .3s ease}.error-action-card:hover{box-shadow:0 8px 20px #0000004d;transform:translateY(-2px)}.primary-action:hover{border-color:#f44336;border-color:var(--error-color,#f44336);box-shadow:0 8px 20px #f4433633}.secondary-action:hover{border-color:#2196f3;box-shadow:0 8px 20px #2196f333}.support-action:hover{border-color:#4caf50;box-shadow:0 8px 20px #4caf5033}.error-action-icon{align-items:center;border-radius:10px;color:#151515;color:var(--darker-bg,#151515);display:flex;flex-shrink:0;height:40px;justify-content:center;width:40px}.error-action-icon.secondary{background-color:#2196f3}.error-action-icon.support{background-color:#4caf50}.error-action-content{flex:1 1}.error-action-content h3{color:#fff;color:var(--text-primary,#fff);font-size:1.1rem;font-weight:700;margin:0 0 4px}.error-action-content p{color:#ddd;color:var(--text-light,#ddd);font-size:.85rem;line-height:1.3;margin:0}.error-action-button{border:none;border-radius:8px;cursor:pointer;flex-shrink:0;font-size:.9rem;font-weight:700;letter-spacing:.5px;padding:10px 20px;text-transform:uppercase;transition:all .3s ease}.error-action-button.primary{color:#151515;color:var(--darker-bg,#151515)}.error-action-button.primary:hover{box-shadow:0 4px 12px #0000004d;transform:translateY(-1px)}.error-action-button.secondary{background-color:#2196f3;color:#fff}.error-action-button.secondary:hover{background-color:#1976d2;box-shadow:0 4px 12px #2196f34d;transform:translateY(-1px)}.error-action-button.secondary:disabled{background-color:#555;color:#999;cursor:not-allowed}.error-action-button.support{background-color:#4caf50;color:#fff}.error-action-button.support:hover{background-color:#388e3c;box-shadow:0 4px 12px #4caf504d;transform:translateY(-1px)}.error-modal-footer{border-top:1px solid #444;border-top:1px solid var(--border-color,#444);flex-shrink:0;padding-top:20px;text-align:center}.dismiss-button{background:none;border:1px solid #444;border:1px solid var(--border-color,#444);border-radius:6px;color:#ddd;color:var(--text-light,#ddd);cursor:pointer;font-size:.9rem;margin-bottom:12px;padding:8px 24px;transition:all .3s ease}.dismiss-button:hover{background-color:#ffffff0d;border-color:#ddd;border-color:var(--text-light,#ddd)}.error-secure-note{align-items:center;color:#999;color:var(--text-muted,#999);display:flex;font-size:.8rem;gap:6px;justify-content:center}.error-secure-note svg{opacity:.7}@media (max-width:768px){.error-modal{margin:10px;max-width:95%}.error-modal-header{height:160px}.error-modal-title{font-size:1.4rem}.error-modal-subtitle{font-size:.85rem}.error-modal-body{padding:20px 16px 16px}.error-action-card{gap:12px;padding:12px}.error-action-icon{height:36px;width:36px}.error-action-content h3{font-size:1rem}.error-action-content p{font-size:.8rem}.error-action-button{font-size:.85rem;padding:8px 16px}}@media (max-width:480px){.error-modal-overlay{align-items:flex-start;padding:0}.error-modal{border-radius:0;display:flex;flex-direction:column;height:100vh;margin:0;max-height:100vh;width:100%}.error-modal-header{flex-shrink:0;height:140px}.error-icon{height:60px;width:60px}.error-image-overlay{padding:20px 16px 16px}.error-modal-title{font-size:1.2rem}.error-modal-subtitle{font-size:.8rem}.error-modal-body{-webkit-overflow-scrolling:touch;flex:1 1;min-height:0;overflow-y:auto;padding:16px 12px 12px}.error-action-card{gap:10px;padding:10px 12px}.error-action-icon{height:32px;width:32px}.error-action-content h3{font-size:.95rem}.error-action-content p{font-size:.75rem}.error-action-button{font-size:.8rem;padding:6px 12px}.error-modal-footer{border-top:1px solid #444;border-top:1px solid var(--border-color,#444);flex-shrink:0;padding:12px}.dismiss-button{font-size:.85rem;padding:6px 20px}.error-secure-note{font-size:.75rem}}.cbv2-character-background{bottom:0;left:0;position:fixed;right:0;top:0;z-index:0}.cbv2-character-background:after{background:#0000001a;bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:0}.cbv2-container{align-items:center;background:linear-gradient(135deg,#0d0d0d,#151515 25%,#1c1c1c 50%,#242424);box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-start;min-height:100vh;padding:20px;position:relative;width:100%;z-index:1}.cbv2-content-wrapper{margin:0 auto;max-width:1200px;position:relative;width:100%;z-index:2}.cbv2-glass-card{animation:cbv2-slideUp .6s ease;backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);background:#0000004d;border:1px solid #ffffff1a;border-radius:16px;box-shadow:0 20px 40px #0006,0 8px 16px #0003,inset 0 1px 0 #ffffff1a;margin-bottom:24px;padding:32px;position:relative}.cbv2-glass-card:before{background:linear-gradient(90deg,#0000,#50c878,#0000);content:"";height:1px;left:0;opacity:.5;position:absolute;right:0;top:0}@keyframes cbv2-slideUp{0%{opacity:0;transform:translateY(30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.cbv2-header{align-items:center;display:flex;flex-direction:column;justify-content:center;margin-bottom:2rem;position:relative;text-align:center;width:100%}.cbv2-title{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#50c878,#6ac995);-webkit-background-clip:text;background-clip:text;font-size:2.5rem;font-weight:700;letter-spacing:-1px;margin:0;text-shadow:0 4px 8px #50c87833}.cbv2-subtitle{color:#999;font-size:1rem;margin:.5rem 0 0}.cbv2-workflow-selector{flex-wrap:wrap;gap:1rem;margin-bottom:2rem;width:100%}.cbv2-workflow-button,.cbv2-workflow-selector{align-items:center;display:flex;justify-content:center}.cbv2-workflow-button{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;color:#999;cursor:pointer;flex:1 1;flex-direction:column;gap:.5rem;max-width:300px;min-width:250px;padding:1rem;transition:all .3s ease}.cbv2-workflow-button:hover{background:#ffffff14;border-color:#50c8784d;transform:translateY(-2px)}.cbv2-workflow-button.cbv2-active{background:#50c8781a;border-color:#50c878;box-shadow:0 4px 12px #50c87833;color:#50c878}.cbv2-workflow-icon{align-items:center;display:flex;height:48px;justify-content:center;width:48px}.cbv2-workflow-icon svg{fill:currentColor;height:32px;width:32px}.cbv2-workflow-label{font-size:1rem;font-weight:600}.cbv2-workflow-description{font-size:.875rem;opacity:.8;text-align:center}.cbv2-form{display:flex;flex-direction:column;gap:1.5rem}.cbv2-form-row{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.cbv2-form-group{display:flex;flex-direction:column;gap:.5rem}.cbv2-form-label{color:#ddd;font-size:.875rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.cbv2-form-input,.cbv2-form-select,.cbv2-form-textarea{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;box-sizing:border-box;color:#fff;font-size:1rem;padding:.75rem;transition:all .3s ease;width:100%}.cbv2-form-select option{background:#1c1c1c;color:#fff}.cbv2-form-select:focus option{background:#242424}.cbv2-form-input:focus,.cbv2-form-select:focus,.cbv2-form-textarea:focus{background:#ffffff14;border-color:#50c878;box-shadow:0 0 0 3px #50c8781a;outline:none}.cbv2-form-textarea{font-family:inherit;min-height:120px;resize:vertical}.cbv2-age-slider-container{align-items:center;display:flex;gap:1rem}.cbv2-age-slider{-webkit-appearance:none;appearance:none;background:#ffffff1a;border-radius:3px;flex:1 1;height:6px;outline:none}.cbv2-age-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:#50c878;border-radius:50%;box-shadow:0 2px 8px #50c8784d;cursor:pointer;height:20px;width:20px}.cbv2-age-slider::-moz-range-thumb{background:#50c878;border-radius:50%;box-shadow:0 2px 8px #50c8784d;cursor:pointer;height:20px;width:20px}.cbv2-age-value{color:#50c878;font-weight:600;min-width:3rem;text-align:center}.cbv2-category-selector{display:flex;flex-direction:column;gap:1rem}.cbv2-category-header{align-items:center;display:flex;gap:1rem;margin-bottom:.5rem}.cbv2-category-toggle{background:#50c8781a;border:1px solid #50c8784d;border-radius:6px;color:#50c878;cursor:pointer;font-size:.875rem;padding:.25rem .75rem;transition:all .3s ease}.cbv2-category-toggle:hover{background:#50c87833}.cbv2-category-count{color:#50c878;font-size:.875rem}.cbv2-category-hint{color:#999;font-size:.875rem;margin-bottom:.5rem}.cbv2-category-grid{grid-gap:.5rem;background:#0003;border-radius:8px;display:grid;gap:.5rem;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));max-height:400px;overflow-y:auto;padding:.5rem}.cbv2-category-item{align-items:center;background:#ffffff08;border:1px solid #ffffff0d;border-radius:6px;cursor:pointer;display:flex;gap:.5rem;padding:.75rem;transition:all .2s ease}.cbv2-category-item:hover{background:#ffffff0d;border-color:#50c87833}.cbv2-category-item.cbv2-selected{background:#50c87826;border-color:#50c878}.cbv2-category-checkbox{accent-color:#50c878;cursor:pointer;height:18px;width:18px}.cbv2-category-label{color:#ddd;cursor:pointer;flex:1 1;font-size:.875rem}.cbv2-button-group{display:flex;flex-wrap:wrap;gap:1rem;margin-top:2rem}.cbv2-btn-primary,.cbv2-btn-secondary{align-items:center;border:none;border-radius:8px;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:600;gap:.5rem;justify-content:center;overflow:hidden;padding:1rem 2rem;position:relative;transition:all .3s ease}.cbv2-btn-primary{background:linear-gradient(135deg,#50c878,#48a862);box-shadow:0 4px 12px #50c8784d;color:#fff}.cbv2-btn-primary:hover:not(:disabled){box-shadow:0 6px 20px #50c87866;transform:translateY(-2px)}.cbv2-btn-primary:disabled{cursor:not-allowed;opacity:.5;transform:none}.cbv2-btn-secondary{background:#ffffff0d;border:1px solid #ffffff1a;color:#ddd}.cbv2-btn-secondary:hover:not(:disabled){background:#ffffff14;border-color:#fff3}.cbv2-btn-secondary:disabled{cursor:not-allowed;opacity:.5}.cbv2-loading-container{align-items:center;display:flex;flex-direction:column;gap:1rem;padding:3rem}.cbv2-loading-spinner{animation:cbv2-spin 1s linear infinite;border:3px solid #50c8781a;border-radius:50%;border-top-color:#50c878;height:48px;width:48px}.cbv2-loading-spinner-small{animation:cbv2-spin 1s linear infinite;border:2px solid #50c8781a;border-radius:50%;border-top-color:#50c878;display:inline-block;height:16px;width:16px}@keyframes cbv2-spin{to{transform:rotate(1turn)}}.cbv2-loading-text{color:#999;font-size:1rem}.cbv2-streaming-container{background:#0000004d;border:1px solid #50c87833;border-radius:8px;margin-top:1rem;max-height:400px;overflow-y:auto;padding:1rem}.cbv2-streaming-content{word-wrap:break-word;color:#ddd;font-family:Courier New,monospace;font-size:.875rem;line-height:1.6;white-space:pre-wrap}.cbv2-character-preview{background:#0003;border:1px solid #ffffff1a;border-radius:12px;margin-top:1rem;padding:1.5rem}.cbv2-character-preview-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.cbv2-character-preview-title{color:#50c878;font-size:1.25rem;font-weight:600}.cbv2-character-preview-content{word-wrap:break-word;color:#ddd;font-family:inherit;line-height:1.6;max-height:400px;overflow-y:auto;white-space:pre-wrap}@keyframes cbv2-cursor-blink{0%,50%{opacity:1}51%,to{opacity:0}}.cbv2-cursor-blink{animation:cbv2-cursor-blink 1s infinite;color:#50c878;font-weight:700}.cbv2-image-generation-container{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:1fr 1fr}.cbv2-image-controls,.cbv2-image-preview{display:flex;flex-direction:column;gap:1rem}.cbv2-image-preview{align-items:center}.cbv2-generated-image,.cbv2-image-placeholder{align-items:center;aspect-ratio:1;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;display:flex;justify-content:center;max-width:400px;overflow:hidden;width:100%}.cbv2-generated-image img{height:100%;object-fit:cover;width:100%}.cbv2-image-placeholder svg{fill:#666;height:64px;width:64px}.cbv2-provider-tabs{display:flex;gap:.5rem;margin-bottom:1rem}.cbv2-provider-tab{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;color:#999;cursor:pointer;padding:.75rem 1.5rem;transition:all .3s ease}.cbv2-provider-tab:hover{background:#ffffff14}.cbv2-provider-tab.cbv2-active{background:#50c87826;border-color:#50c878;color:#50c878}.cbv2-success-container{padding:3rem;text-align:center}.cbv2-success-icon{height:80px;margin:0 auto 1rem;width:80px}.cbv2-success-icon svg{fill:#50c878;height:100%;width:100%}.cbv2-success-title{color:#fff;font-size:1.5rem;font-weight:600;margin-bottom:.5rem}.cbv2-success-message{color:#999;margin-bottom:2rem}.cbv2-error-message{align-items:center;background:#ff5a5a1a;border:1px solid #ff5a5a4d;border-radius:8px;color:#ff5a5a;display:flex;gap:.5rem;margin-bottom:1rem;padding:1rem}.cbv2-error-icon{flex-shrink:0;height:20px;width:20px}.cbv2-error-icon svg{fill:currentColor;height:100%;width:100%}.cbv2-info-message{align-items:center;background:#50c8780d;border:1px solid #50c87833;border-radius:8px;color:#ddd;display:flex;gap:.5rem;padding:1rem}.cbv2-info-icon{flex-shrink:0;height:20px;width:20px}.cbv2-info-icon svg{fill:#50c878;height:100%;width:100%}.cbv2-modal-overlay{align-items:center;animation:cbv2-fadeIn .3s ease;background:#000c;bottom:0;display:flex;justify-content:center;left:0;padding:2rem;position:fixed;right:0;top:0;z-index:1000}@keyframes cbv2-fadeIn{0%{opacity:0}to{opacity:1}}.cbv2-modal-content{animation:cbv2-slideUp .3s ease;max-height:90vh;max-width:800px;overflow:auto;width:100%}.cbv2-modal-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:2rem}.cbv2-modal-close{align-items:center;background:#0000;border:none;color:#999;cursor:pointer;display:flex;font-size:2rem;height:40px;justify-content:center;padding:0;transition:color .3s ease;width:40px}.cbv2-modal-close:hover{color:#fff}.cbv2-legacy-dropdown{position:fixed;right:1rem;top:1rem;z-index:1000}button.cbv2-legacy-toggle{align-items:center;-webkit-appearance:none;appearance:none;backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);background:#00000080;border:1px solid #50c8784d;border-radius:8px;box-shadow:0 4px 12px #0006;color:#50c878;cursor:pointer;display:flex!important;font-family:inherit;font-size:.8rem;font-weight:500;gap:.4rem;line-height:1;opacity:1!important;outline:none;padding:.5rem 1rem;transition:all .3s ease;visibility:visible!important}.cbv2-legacy-toggle:hover{background:#0006;border-color:#50c878;box-shadow:0 6px 16px #50c87833;transform:translateY(-1px)}.cbv2-legacy-toggle svg{fill:currentColor;height:12px;width:12px}.cbv2-legacy-menu{animation:cbv2-slideDown .2s ease;-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);background:#0000004d;border:1px solid #50c87833;border-radius:12px;box-shadow:0 20px 40px #00000080,0 8px 16px #0000004d,inset 0 1px 0 #ffffff0d;margin-top:.5rem;min-width:200px;overflow:hidden;position:absolute;right:0;top:100%}@keyframes cbv2-slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.cbv2-legacy-menu-item{background:#0000;border-bottom:1px solid #50c8780d;color:#ddd;display:flex;flex-direction:column;gap:.4rem;padding:1.2rem;text-decoration:none;transition:all .2s ease}.cbv2-legacy-menu-item:last-child{border-bottom:none}.cbv2-legacy-menu-item:hover{background:#50c8780d;border-left:2px solid #50c878;padding-left:calc(1.2rem - 2px)}.cbv2-legacy-menu-title{align-items:center;color:#fff;display:flex;font-size:.95rem;font-weight:600;gap:.5rem}.cbv2-legacy-menu-desc{color:#999;font-size:.75rem;line-height:1.4;opacity:.6}.cbv2-auto-submit-container{background:#50c8780d;border:1px solid #50c87833;border-radius:8px;margin-top:2rem;padding:1rem}.cbv2-auto-submit-label{align-items:center;cursor:pointer;display:flex;gap:.5rem}.cbv2-auto-submit-checkbox{accent-color:#50c878;height:18px;width:18px}.cbv2-auto-submit-text{color:#ddd}.cbv2-auto-submit-hint{color:#999;font-size:.875rem;margin:.5rem 0 0 1.5rem}.cbv2-category-grid::-webkit-scrollbar,.cbv2-character-preview-content::-webkit-scrollbar,.cbv2-modal-content::-webkit-scrollbar,.cbv2-streaming-container::-webkit-scrollbar{width:8px}.cbv2-category-grid::-webkit-scrollbar-track,.cbv2-character-preview-content::-webkit-scrollbar-track,.cbv2-modal-content::-webkit-scrollbar-track,.cbv2-streaming-container::-webkit-scrollbar-track{background:#ffffff0d;border-radius:4px}.cbv2-category-grid::-webkit-scrollbar-thumb,.cbv2-character-preview-content::-webkit-scrollbar-thumb,.cbv2-modal-content::-webkit-scrollbar-thumb,.cbv2-streaming-container::-webkit-scrollbar-thumb{background:#50c8784d;border-radius:4px}.cbv2-category-grid::-webkit-scrollbar-thumb:hover,.cbv2-character-preview-content::-webkit-scrollbar-thumb:hover,.cbv2-modal-content::-webkit-scrollbar-thumb:hover,.cbv2-streaming-container::-webkit-scrollbar-thumb:hover{background:#50c87880}@media (max-width:768px){.cbv2-container{padding:60px 10px 10px}.cbv2-content-wrapper{margin:0;max-width:100%;padding:0 5px}.cbv2-glass-card{border-radius:var(--radius);margin-bottom:20px;padding:20px}.cbv2-legacy-dropdown{position:fixed;right:.5rem;top:.5rem}.cbv2-legacy-toggle{font-size:.7rem;gap:.3rem;padding:.35rem .7rem}.cbv2-legacy-toggle svg{height:10px;width:10px}.cbv2-legacy-menu{margin-top:.5rem;max-width:calc(100vw - 4rem);min-width:180px;right:0;z-index:100}.cbv2-title{font-size:2rem}.cbv2-workflow-selector{align-items:stretch;flex-direction:column}.cbv2-workflow-button{max-width:100%;min-width:100%}.cbv2-category-grid,.cbv2-form-row,.cbv2-image-generation-container{grid-template-columns:1fr}.cbv2-button-group{flex-direction:column;gap:.75rem;margin-top:1.5rem}.cbv2-btn-primary,.cbv2-btn-secondary{font-size:.95rem;padding:.75rem 1.5rem;width:100%}.cbv2-btn-primary svg,.cbv2-btn-secondary svg{height:16px!important;width:16px!important}}@media (max-width:480px){.cbv2-container{padding:50px 5px 10px}.cbv2-btn-primary,.cbv2-btn-secondary{font-size:.9rem;padding:.625rem 1.25rem}.cbv2-content-wrapper{padding:0 3px}.cbv2-glass-card{border-radius:6px;margin-bottom:16px;padding:16px}.cbv2-legacy-dropdown{position:fixed;right:8px;top:8px;z-index:9999}.cbv2-legacy-toggle{font-size:.75rem;padding:.3rem .6rem}.cbv2-title{font-size:1.8rem}.cbv2-subtitle{font-size:.9rem}}.edit-tabs-component *{-ms-overflow-style:none;scrollbar-width:none}.edit-tabs-component ::-webkit-scrollbar{display:none}.edit-tabs-component .character-tabs-navigation{border-bottom:1px solid #ffffff1a;display:flex;gap:8px;margin-bottom:24px;padding:0}.edit-tabs-component .tab-button{background:#0000;border:none;border-radius:var(--radius) var(--radius) 0 0;color:var(--text-light);cursor:pointer;font-size:.95rem;font-weight:500;letter-spacing:.5px;min-width:120px;padding:12px 20px;position:relative;text-align:center;text-transform:uppercase;transition:var(--transition)}.edit-tabs-component .tab-button:hover{background:#ffffff0d;color:var(--primary-color)}.edit-tabs-component .tab-button.active{background:#50c8781a;border-bottom:2px solid var(--primary-color);color:var(--primary-color)}.edit-tabs-component .tab-button.active:before{background:var(--primary-color);border-radius:2px 2px 0 0;bottom:-1px;content:"";height:2px;left:0;position:absolute;right:0}.edit-tabs-component .algorithm-display{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:var(--radius);color:var(--primary-color);font-weight:500;padding:16px 18px}.edit-tabs-component .chat-data-tab{padding:20px 0}.edit-tabs-component .chat-data-tab h3{color:var(--primary-color);font-size:1.5rem;font-weight:600;margin-bottom:20px}.edit-tabs-component .loading-message{color:var(--text-light);font-size:1.1rem;padding:40px;text-align:center}.edit-tabs-component .no-content-message{color:var(--text-muted);font-style:italic;padding:40px;text-align:center}.edit-tabs-component .debug-sections{display:flex;flex-direction:column;gap:24px}.edit-tabs-component .debug-section{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff08;border:1px solid #ffffff1a;border-radius:var(--radius);padding:20px}.edit-tabs-component .debug-section h4{align-items:center;color:var(--primary-color);display:flex;font-size:1.2rem;font-weight:600;gap:8px;margin-bottom:16px}.edit-tabs-component .stats-grid{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.edit-tabs-component .stats-grid>div{background:#ffffff0d;border-left:3px solid var(--primary-color);border-radius:var(--radius);color:var(--text-light);padding:12px 16px}.edit-tabs-component .tier-info{margin-top:12px}.edit-tabs-component .tier-info>p{color:var(--text-light);margin-bottom:16px}.edit-tabs-component .tier-anchors,.edit-tabs-component .tier-messages,.edit-tabs-component .tier-summaries{-ms-overflow-style:none;display:flex;flex-direction:column;gap:12px;scrollbar-width:none}.edit-tabs-component .tier-anchors::-webkit-scrollbar,.edit-tabs-component .tier-messages::-webkit-scrollbar,.edit-tabs-component .tier-summaries::-webkit-scrollbar{display:none}.edit-tabs-component .tier-anchor,.edit-tabs-component .tier-message,.edit-tabs-component .tier-summary{align-items:flex-start;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:var(--radius);display:flex;gap:12px;justify-content:space-between;padding:16px}.edit-tabs-component .tier-anchor-content,.edit-tabs-component .tier-message-content,.edit-tabs-component .tier-summary-content{color:var(--text-light);flex:1 1;line-height:1.5}.edit-tabs-component .tier-anchor-content strong,.edit-tabs-component .tier-message-content strong,.edit-tabs-component .tier-summary-content strong{color:var(--primary-color)}.edit-tabs-component .tier-message-content small{color:var(--text-muted);font-size:.85rem}.edit-tabs-component .delete-tier-item-btn{align-items:center;background:#ff6b6b1a;border:1px solid #ff6b6b4d;border-radius:var(--radius);color:#ff6b6b;cursor:pointer;display:flex;font-size:1rem;height:40px;justify-content:center;min-width:40px;padding:8px 12px;transition:var(--transition)}.edit-tabs-component .delete-tier-item-btn:hover{background:#ff6b6b33;transform:translateY(-1px)}.edit-tabs-component .relationship-info,.edit-tabs-component .session-info{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-top:12px}.edit-tabs-component .relationship-info>div,.edit-tabs-component .session-info>div{background:#ffffff0d;border-radius:var(--radius);color:var(--text-light);padding:12px 16px}.edit-tabs-component .patterns-info{display:flex;flex-direction:column;gap:16px;margin-top:12px}.edit-tabs-component .pattern-item{align-items:flex-start;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:var(--radius);display:flex;gap:12px;justify-content:space-between;padding:16px}.edit-tabs-component .pattern-content{color:var(--text-light);flex:1 1;line-height:1.5}.edit-tabs-component .pattern-content strong{color:var(--primary-color)}.edit-tabs-component .bulk-operations{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}.edit-tabs-component .bulk-delete-btn{background:#ff98001a;border:1px solid #ff98004d;border-radius:var(--radius);color:#ffb74d;cursor:pointer;font-size:.9rem;font-weight:500;letter-spacing:.5px;padding:12px 16px;text-transform:uppercase;transition:var(--transition)}.edit-tabs-component .bulk-delete-btn:hover{background:#ff980033;transform:translateY(-1px)}.edit-tabs-component .bulk-delete-btn.recent-messages{background:#2196f31a;border-color:#2196f34d;color:#64b5f6}.edit-tabs-component .bulk-delete-btn.recent-messages:hover{background:#2196f333}.edit-tabs-component .bulk-delete-btn.summaries{background:#9c27b01a;border-color:#9c27b04d;color:#ba68c8}.edit-tabs-component .bulk-delete-btn.summaries:hover{background:#9c27b033}.edit-tabs-component .bulk-delete-btn.anchors{background:#f443361a;border-color:#f443364d;color:#e57373}.edit-tabs-component .bulk-delete-btn.anchors:hover{background:#f4433633}.edit-tabs-component .bulk-delete-btn.patterns{background:#ffc1071a;border-color:#ffc1074d;color:#ffd54f}.edit-tabs-component .bulk-delete-btn.patterns:hover{background:#ffc10733}.edit-tabs-component .refresh-button{background:linear-gradient(135deg,var(--primary-color),var(--primary-dark));border:none;border-radius:var(--radius);box-shadow:0 4px 8px #50c87833;color:var(--darker-bg);cursor:pointer;font-weight:600;letter-spacing:.5px;padding:12px 20px;text-transform:uppercase;transition:var(--transition)}.edit-tabs-component .refresh-button:hover:not(:disabled){background:linear-gradient(135deg,#5cd68a,var(--primary-color));box-shadow:0 6px 12px #50c8784d;transform:translateY(-1px)}.edit-tabs-component .refresh-button:disabled{box-shadow:none;cursor:not-allowed;opacity:.6;transform:none}.edit-tabs-component .debug-timestamp{color:var(--text-muted);font-size:.85rem;font-style:italic;margin-top:20px;text-align:center}.edit-tabs-component .commands-tab{padding:20px 0}.edit-tabs-component .commands-tab h3{color:var(--primary-color);font-size:1.5rem;font-weight:600;margin-bottom:12px}.edit-tabs-component .commands-tab>p{color:var(--text-light);line-height:1.5;margin-bottom:24px}@media (max-width:768px){.edit-tabs-component .character-tabs-navigation{flex-direction:column;gap:4px}.edit-tabs-component .tab-button{border-radius:var(--radius);margin-bottom:4px;min-width:auto;width:100%}.edit-tabs-component .tab-button.active{border-bottom:none;border-left:4px solid var(--primary-color)}.edit-tabs-component .tab-button.active:before{display:none}.edit-tabs-component .relationship-info,.edit-tabs-component .session-info,.edit-tabs-component .stats-grid{grid-template-columns:1fr}.edit-tabs-component .bulk-operations{flex-direction:column}.edit-tabs-component .bulk-delete-btn{text-align:center;width:100%}.edit-tabs-component .pattern-item,.edit-tabs-component .tier-anchor,.edit-tabs-component .tier-message,.edit-tabs-component .tier-summary{align-items:stretch;flex-direction:column}.edit-tabs-component .delete-tier-item-btn{align-self:center;margin-top:12px}}@media (max-width:480px){.edit-tabs-component .debug-section{padding:16px}.edit-tabs-component .pattern-item,.edit-tabs-component .tier-anchor,.edit-tabs-component .tier-message,.edit-tabs-component .tier-summary{padding:12px}.edit-tabs-component .chat-data-tab,.edit-tabs-component .commands-tab{padding:16px 0}}*{-ms-overflow-style:none!important;scrollbar-width:none!important}::-webkit-scrollbar{display:none!important}.edit-character-page{align-items:center;background:linear-gradient(135deg,#0d0d0d,#151515 25%,#1c1c1c 50%,#242424);background:linear-gradient(135deg,var(--darkest-bg) 0,var(--darker-bg) 25%,var(--dark-bg) 50%,var(--medium-bg) 100%);background-image:radial-gradient(circle at 20% 80%,#50c87814 0,#0000 50%),radial-gradient(circle at 80% 20%,#50c8780a 0,#0000 50%),radial-gradient(circle at 40% 40%,hsla(0,0%,100%,.015) 0,#0000 50%);box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-start;min-height:100vh;padding:20px;position:relative;width:100%;z-index:1}.edit-character-page .edit-character-background{bottom:0;left:0;position:fixed;right:0;top:0;z-index:0}.edit-character-page .edit-character-background:after{background:#0000001a;bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:0}.edit-character-page .edit-character-container{margin:0 auto;max-width:1200px;position:relative;width:100%;z-index:2}.edit-character-page .edit-character-card{animation:slideUpEdit .6s ease;backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);background:#0000004d;border:1px solid #ffffff1a;border-radius:16px;border-radius:var(--radius-large);box-shadow:0 20px 40px #0006,0 8px 16px #0003,inset 0 1px 0 #ffffff1a;margin-bottom:20px;padding:32px;position:relative;width:100%}.edit-character-page .edit-character-card:before{background:linear-gradient(90deg,#0000,#50c878,#0000);background:linear-gradient(90deg,#0000,var(--primary-color),#0000);content:"";height:1px;left:0;opacity:.5;position:absolute;right:0;top:0}@keyframes slideUpEdit{0%{opacity:0;transform:translateY(30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.edit-character-page .edit-character-header{margin-bottom:32px;text-align:center}.edit-character-page .edit-character-header h1{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#50c878,#6ac995);background:linear-gradient(135deg,var(--primary-color),#6ac995);-webkit-background-clip:text;background-clip:text;font-size:2.2rem;font-weight:700;letter-spacing:-.5px;margin-bottom:8px;text-shadow:0 4px 8px #50c87833}.edit-character-page .edit-character-header p{color:#ddd;color:var(--text-light);font-size:1.1rem;margin:0}.edit-character-page .character-selection-section{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;border-radius:var(--radius);margin-bottom:24px;padding:24px;position:relative}.edit-character-page .character-selection-section:before{background:linear-gradient(90deg,#0000,#50c878,#0000);background:linear-gradient(90deg,#0000,var(--primary-color),#0000);content:"";height:1px;left:0;opacity:.3;position:absolute;right:0;top:0}.edit-character-page .edit-form-section{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;border-radius:var(--radius);padding:32px;position:relative}.edit-character-page .edit-form-section:before{background:linear-gradient(90deg,#0000,#50c878,#0000);background:linear-gradient(90deg,#0000,var(--primary-color),#0000);content:"";height:1px;left:0;opacity:.3;position:absolute;right:0;top:0}.edit-character-page .character-info{align-items:center;border-bottom:1px solid #ffffff1a;display:flex;gap:16px;margin-bottom:24px;padding-bottom:16px}.edit-character-page .character-info h3{color:#50c878;color:var(--primary-color);font-size:1.5rem;font-weight:600;margin:0}.edit-character-page .character-type-badge{border-radius:20px;font-size:.85rem;font-weight:600;letter-spacing:.5px;padding:6px 12px;text-transform:uppercase}.edit-character-page .character-type-badge.user{background:#4caf5026;border:1px solid #4caf504d;color:#81c784}.edit-character-page .character-type-badge.pending{background:#ff980026;border:1px solid #ff98004d;color:#ffb74d}.edit-character-page .character-image-preview{margin-bottom:24px;text-align:center}.edit-character-page .character-image-preview img{border:2px solid #ffffff1a;border-radius:8px;border-radius:var(--radius);box-shadow:0 8px 16px #0000004d;max-height:300px;max-width:300px;object-fit:cover;transition:all .3s ease;transition:var(--transition)}.edit-character-page .character-image-preview img:hover{border-color:#50c878;border-color:var(--primary-color);box-shadow:0 12px 24px #50c87833;transform:scale(1.02)}.edit-character-page .edit-form{grid-gap:20px;display:grid;gap:20px}.edit-character-page .form-group{display:flex;flex-direction:column;gap:8px}.edit-character-page .form-group label{color:#ddd;color:var(--text-light);font-size:.9rem;font-weight:500;letter-spacing:.5px;text-transform:uppercase}.edit-character-page .form-input,.edit-character-page .form-select,.edit-character-page .form-textarea{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;border-radius:var(--radius);box-sizing:border-box;color:#fff;color:var(--text-color);font-size:1rem;padding:16px 18px;transition:all .3s ease;transition:var(--transition);width:100%}.edit-character-page .form-input:focus,.edit-character-page .form-select:focus,.edit-character-page .form-textarea:focus{background:#ffffff14;border-color:#50c878;border-color:var(--primary-color);box-shadow:0 0 0 3px #50c87833,0 4px 12px #50c87826;outline:none;transform:translateY(-1px)}.edit-character-page .form-input::placeholder,.edit-character-page .form-textarea::placeholder{color:#999;color:var(--text-muted);transition:all .3s ease;transition:var(--transition)}.edit-character-page .form-input:focus::placeholder,.edit-character-page .form-textarea:focus::placeholder{opacity:.7}.edit-character-page .form-textarea{min-height:120px;resize:vertical}.edit-character-page .form-select:disabled{cursor:not-allowed;opacity:.6}.edit-character-page .trait-input-container{align-items:flex-end;display:flex;gap:12px}.edit-character-page .trait-input{flex:1 1}.edit-character-page .add-trait-btn{background:linear-gradient(135deg,#50c878,#48a862);background:linear-gradient(135deg,var(--primary-color),var(--primary-dark));border:none;border-radius:8px;border-radius:var(--radius);box-shadow:0 4px 8px #50c87833;color:#151515;color:var(--darker-bg);cursor:pointer;font-weight:600;letter-spacing:.5px;padding:16px 24px;text-transform:uppercase;transition:all .3s ease;transition:var(--transition)}.edit-character-page .add-trait-btn:hover{background:linear-gradient(135deg,#5cd68a,#50c878);background:linear-gradient(135deg,#5cd68a,var(--primary-color));box-shadow:0 6px 12px #50c8784d;transform:translateY(-2px)}.edit-character-page .traits-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.edit-character-page .trait-tag{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#50c87826;border:1px solid #50c8784d;border-radius:20px;color:#50c878;color:var(--primary-color);display:flex;font-size:.9rem;gap:8px;padding:8px 16px;transition:all .3s ease;transition:var(--transition)}.edit-character-page .trait-tag:hover{background:#50c87833;transform:translateY(-1px)}.edit-character-page .remove-trait-btn{align-items:center;background:none;border:none;border-radius:50%;color:#ff6b6b;cursor:pointer;display:flex;font-size:1.2rem;height:20px;justify-content:center;padding:0;transition:all .3s ease;transition:var(--transition);width:20px}.edit-character-page .remove-trait-btn:hover{background:#ff6b6b33;transform:scale(1.1)}.edit-character-page .auto-submission-checkbox{align-items:flex-start;background:#ffffff08;border:1px solid #ffffff14;border-radius:8px;border-radius:var(--radius);cursor:pointer;display:flex;gap:12px;margin-bottom:10px;padding:16px;transition:all .3s ease;transition:var(--transition);-webkit-user-select:none;user-select:none}.edit-character-page .auto-submission-checkbox:hover{background:#ffffff0d;border-color:#ffffff1f}.edit-character-page .auto-submission-checkbox input[type=checkbox]{accent-color:#50c878;accent-color:var(--primary-color);cursor:pointer;flex-shrink:0;height:18px;margin:2px 0 0;width:18px}.edit-character-page .auto-submission-text{color:#fff;color:var(--text-color);flex:1 1;font-size:1rem;font-weight:500;line-height:1.4}.edit-character-page .auto-submission-note{color:#999;color:var(--text-muted);font-size:.9rem;line-height:1.4;margin:8px 0 0 30px}.edit-character-page .command-images-section{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff08;border:1px solid #ffffff14;border-radius:8px;border-radius:var(--radius);margin-top:24px;padding:24px;position:relative}.edit-character-page .command-images-section:before{background:linear-gradient(90deg,#0000,#50c878,#0000);background:linear-gradient(90deg,#0000,var(--primary-color),#0000);content:"";height:1px;left:0;opacity:.2;position:absolute;right:0;top:0}.edit-character-page .command-images-section h4{color:#50c878;color:var(--primary-color);font-size:1.3rem;font-weight:600;margin-bottom:8px}.edit-character-page .section-description{color:#ddd;color:var(--text-light);font-size:.95rem;line-height:1.5;margin-bottom:20px}.edit-character-page .commands-list{display:flex;flex-direction:column;gap:16px}.edit-character-page .command-image-item{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;border-radius:var(--radius);padding:20px;transition:all .3s ease;transition:var(--transition)}.edit-character-page .command-image-item:hover{border-color:#50c8784d;box-shadow:0 4px 12px #50c8781a;transform:translateY(-2px)}.edit-character-page .command-info{margin-bottom:16px}.edit-character-page .command-info h5{color:#50c878;color:var(--primary-color);font-size:1.1rem;font-weight:600;margin:0 0 8px}.edit-character-page .command-description{color:#999;color:var(--text-muted);font-size:.9rem;line-height:1.4;margin:0}.edit-character-page .command-image-input{display:flex;flex-direction:column;gap:12px}.edit-character-page .command-image-input label{color:#50c878;color:var(--primary-color);font-size:.95rem;font-weight:500;letter-spacing:.5px;text-transform:uppercase}.edit-character-page .image-preview{margin-top:12px;text-align:center}.edit-character-page .image-preview img{border:2px solid #ffffff1a;border-radius:8px;border-radius:var(--radius);box-shadow:0 4px 8px #0000004d;max-height:150px;max-width:200px;object-fit:cover;transition:all .3s ease;transition:var(--transition)}.edit-character-page .image-preview img:hover{border-color:#50c878;border-color:var(--primary-color);transform:scale(1.05)}.edit-character-page .status-message{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#50c8781a;border:1px solid #50c8784d;border-radius:8px;border-radius:var(--radius);box-shadow:0 4px 8px #50c8781a;color:#50c878;color:var(--primary-color);font-weight:500;padding:16px 20px;text-align:center}.edit-character-page .status-message.loading{background:#ff98001a;border-color:#ff98004d;box-shadow:0 4px 8px #ff98001a;color:#ffb74d}.edit-character-page .form-actions{border-top:1px solid #ffffff1a;display:flex;gap:16px;justify-content:center;margin-top:24px;padding-top:24px}.edit-character-page .btn{align-items:center;border:none;border-radius:8px;border-radius:var(--radius);cursor:pointer;display:inline-flex;font-size:1rem;font-weight:600;justify-content:center;letter-spacing:.5px;min-width:160px;overflow:hidden;padding:16px 24px;position:relative;text-decoration:none;text-transform:uppercase;transition:all .3s ease;transition:var(--transition)}.edit-character-page .btn-primary{background:linear-gradient(135deg,#50c878,#48a862);background:linear-gradient(135deg,var(--primary-color),var(--primary-dark));box-shadow:0 8px 16px #50c87833;color:#151515;color:var(--darker-bg)}.edit-character-page .btn-primary:before{background:linear-gradient(90deg,#0000,#fff3,#0000);content:"";height:100%;left:-100%;position:absolute;top:0;transition:left .5s ease;width:100%}.edit-character-page .btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#5cd68a,#50c878);background:linear-gradient(135deg,#5cd68a,var(--primary-color));box-shadow:0 12px 24px #50c8784d;transform:translateY(-2px)}.edit-character-page .btn-primary:hover:before{left:100%}.edit-character-page .btn-primary:disabled{background:#666;box-shadow:none;color:#999;cursor:not-allowed;transform:none}.edit-character-page .btn-secondary{background:#0000;border:2px solid #50c878;border:2px solid var(--primary-color);color:#50c878;color:var(--primary-color)}.edit-character-page .btn-secondary:hover{background:#50c8781a;box-shadow:0 8px 16px #50c87826;transform:translateY(-2px)}.edit-character-page .no-characters-message{background:#ff98001a;border:1px solid #ff98004d;border-radius:8px;border-radius:var(--radius);font-style:italic;margin-top:12px;padding:16px}.edit-character-page .no-character-message,.edit-character-page .no-characters-message{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#999;color:var(--text-muted);text-align:center}.edit-character-page .no-character-message{background:#ff6b6b1a;border:1px solid #ff6b6b4d;border-radius:8px;border-radius:var(--radius);font-size:1.1rem;margin-top:20px;padding:40px}@media (max-width:768px){.edit-character-page{align-items:stretch;justify-content:flex-start;padding:60px 5px 10px}.edit-character-page .edit-character-container{margin:0;max-width:100%;padding:0}.edit-character-page .edit-character-card{border-radius:8px;border-radius:var(--radius);box-sizing:border-box;margin:0;padding:16px;width:100%}.edit-character-page .edit-character-header h1{font-size:1.8rem;margin-bottom:8px}.edit-character-page .edit-character-header p{font-size:1rem}.edit-character-page .character-selection-section,.edit-character-page .edit-form-section{box-sizing:border-box;margin:0;padding:16px;width:100%}.edit-character-page .character-info{align-items:flex-start;flex-direction:column;gap:12px}.edit-character-page .form-actions{flex-direction:column}.edit-character-page .btn{min-width:auto;width:100%}.edit-character-page .trait-input-container{flex-direction:column;gap:8px}.edit-character-page .add-trait-btn{width:100%}.edit-character-page .command-image-item,.edit-character-page .command-images-section{padding:16px}.edit-character-page .image-preview img{max-height:100px;max-width:150px}}@media (max-width:480px){.edit-character-page{padding:50px 2px 10px}.edit-character-page .edit-character-container{margin:0;max-width:100%;padding:0}.edit-character-page .edit-character-card{border-radius:6px;box-sizing:border-box;margin:0;padding:12px;width:100%}.edit-character-page .edit-character-header h1{font-size:1.5rem;margin-bottom:6px}.edit-character-page .edit-character-header p{font-size:.9rem}.edit-character-page .character-selection-section,.edit-character-page .edit-form-section{box-sizing:border-box;margin:0;padding:12px;width:100%}.edit-character-page .command-image-item,.edit-character-page .command-images-section{padding:12px}.edit-character-page .form-input,.edit-character-page .form-select,.edit-character-page .form-textarea{font-size:.9rem;padding:12px 14px}.edit-character-page .btn{font-size:.9rem;padding:12px 16px}}@media (prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.edit-character-page .edit-character-card{animation:none}}@media (prefers-contrast:high){.edit-character-page .edit-character-card{border:2px solid #50c878;border:2px solid var(--primary-color)}.edit-character-page .form-input,.edit-character-page .form-select,.edit-character-page .form-textarea{border:2px solid #444;border:2px solid var(--border-color)}.edit-character-page .form-input:focus,.edit-character-page .form-select:focus,.edit-character-page .form-textarea:focus{border:2px solid #50c878;border:2px solid var(--primary-color)}.edit-character-page .character-selection-section,.edit-character-page .edit-form-section{border:2px solid #444;border:2px solid var(--border-color)}}.faq-item{margin-bottom:20px;text-align:left}.faq-item h2{color:#50c878;font-size:1.2rem;margin:0 0 10px}.faq-item p{color:#ddd;margin:0}.faq-container{background-color:#2b2b2b;border-radius:8px;box-shadow:0 4px 8px #00000080;color:#fff;margin:40px auto;max-width:800px;padding:20px;width:80%}.faq-container h1{color:#50c878;margin-bottom:20px}.faq-list{list-style-type:none;padding-left:0}.faq-list li{margin-bottom:20px;text-align:left}.faq-list strong{color:#50c878}.faq-list p{color:#ddd;margin:4px 0 0}.faq-link{color:#50c878;font-weight:700;text-decoration:none}.faq-link:hover{text-decoration:underline}@media (max-width:600px){.faq-container{padding:16px;width:95%}.faq-item h2{font-size:1rem}}.faq-container{color:#f5f5f5;margin:0 auto;max-width:900px;padding:40px 20px}.faq-header{margin-bottom:40px;text-align:center}.faq-header h1{font-size:2.5rem}.faq-header p{color:#bbb;font-size:1.2rem}.back-button{background-color:#3498db;border-radius:4px;color:#fff;display:inline-block;font-weight:500;padding:8px 16px;transition:background-color .2s}.back-button:hover{background-color:#2980b9}.faq-content{background-color:#222;border-radius:8px;box-shadow:0 4px 20px #00000026;padding:30px}.faq-section{margin-bottom:40px}.faq-section:last-child{margin-bottom:0}.faq-section h2{border-bottom:1px solid #444;color:#50c878;font-size:1.8rem;margin-bottom:20px;padding-bottom:10px}.steps-container{display:flex;flex-direction:column;gap:30px}.step{display:flex;gap:20px}.step-number{align-items:center;background-color:#50c878;border-radius:50%;color:#000;display:flex;flex-shrink:0;font-size:1.2rem;font-weight:700;height:40px;justify-content:center;width:40px}.step-content{flex:1 1}.step-content h3{color:#fff;font-size:1.4rem;margin-bottom:10px}.step-content li,.step-content p{color:#ddd;line-height:1.6;margin-bottom:10px}.step-content ol,.step-content ul{margin-bottom:15px;padding-left:20px}.step-content li{margin-bottom:8px}.info-box{background-color:#2a2a2a;border-left:4px solid #3498db;border-radius:0 4px 4px 0;margin:15px 0;padding:15px}.info-box h4{color:#3498db;margin-bottom:10px;margin-top:0}.info-box code{border-radius:4px;display:block;margin:10px 0;overflow-x:auto;padding:10px}.info-box code,code{background-color:#333;font-family:monospace;font-size:.9rem}code{border-radius:3px;padding:2px 5px}.qa-container{display:flex;flex-direction:column;gap:20px}.qa-item{background-color:#2a2a2a;border-radius:8px;padding:20px}.qa-item h3{color:#3498db;font-size:1.3rem;margin-bottom:15px;margin-top:0}.qa-item li,.qa-item p{color:#ddd;line-height:1.6}.qa-item ul{margin-top:10px;padding-left:20px}.qa-item li{margin-bottom:8px}.faq-section ul{list-style-type:disc;padding-left:20px}.faq-section ul li{color:#ddd;line-height:1.6;margin-bottom:10px}@media (max-width:768px){.step{flex-direction:column;gap:10px}.step-number{margin-bottom:5px}.faq-header h1{font-size:2rem}.faq-content{padding:20px}}.faq-page{background-color:#1c1c1c;color:#fff;display:flex;flex-direction:column;min-height:calc(100vh - 60px);padding-bottom:40px;width:100%}.faq-header{border-bottom:1px solid #333;padding:20px;position:relative;width:100%}.faq-header h1{color:#50c878;font-size:2rem;margin-bottom:10px}.faq-header p{color:#ccc;margin-bottom:20px}.faq-content-wrapper{display:flex;flex-direction:column;gap:20px;margin:0 auto;max-width:1200px;padding:20px;width:100%}.welcome-intro{background:linear-gradient(135deg,#50c8781a,#3498db1a);border-left:4px solid #50c878;border-radius:10px;margin-bottom:30px;padding:20px}.welcome-intro h3{color:#50c878;font-size:1.4rem;margin-bottom:15px;margin-top:0}.getting-started{margin-top:0;padding-top:10px}.getting-started h4{color:#3498db;font-size:1.2rem;margin-bottom:25px;margin-top:0}.step-list{display:flex;flex-direction:column;gap:20px}.step-item{align-items:flex-start;display:flex;gap:15px}.step-item .step-number{align-items:center;background-color:#50c878;border-radius:50%;color:#000;display:flex;flex-shrink:0;font-size:1.1rem;font-weight:700;height:35px;justify-content:center;width:35px}.step-item .step-content{flex:1 1}.step-item .step-content strong{color:#50c878;display:block;margin-bottom:5px}.step-item .step-content p{color:#ccc;line-height:1.5;margin:0}.feature-section{display:flex;flex-direction:column;gap:25px}.feature-section h3{border-bottom:2px solid #50c8784d;color:#50c878;font-size:1.3rem;margin-bottom:20px;margin-top:0;padding-bottom:10px}.feature-item{background-color:#2a2a2a80;border-left:3px solid #3498db;border-radius:8px;padding:20px}.feature-item h4{color:#3498db;font-size:1.1rem;margin-bottom:12px;margin-top:0}.feature-item p{color:#ddd;line-height:1.6;margin-bottom:10px}.feature-item ul{margin-bottom:0;padding-left:20px}.feature-item li{color:#ccc;line-height:1.5;margin-bottom:8px}.option-list{display:flex;flex-direction:column;gap:12px;margin-top:10px}.option-item{background-color:#3498db1a;border-left:2px solid #3498db;border-radius:6px;padding:12px}.option-item strong{color:#3498db}.membership-option{background-color:#2a2a2ab3;border:1px solid #50c87833;border-radius:10px;margin-bottom:20px;padding:20px}.membership-option.premium{background:linear-gradient(135deg,#50c8781a,#ffd7000d);border:1px solid #ffd7004d}.membership-option h4{color:#50c878;font-size:1.2rem;margin-bottom:15px;margin-top:0}.membership-option.premium h4{color:gold}.membership-features{margin-top:10px}.membership-features p{color:#ccc;line-height:1.6;margin-bottom:10px}.membership-features ul{margin-bottom:0;padding-left:20px}.membership-features li{color:#ddd;line-height:1.5;margin-bottom:8px}.category-list{display:flex;flex-direction:column;gap:12px;margin-top:15px}.category-item{background-color:#3498db1a;border-left:3px solid #3498db;border-radius:8px;padding:15px}.category-item strong{color:#3498db;display:block;margin-bottom:5px}@media (max-width:768px){.faq-header{padding:15px}.faq-header h1{font-size:1.8rem;margin-bottom:15px;padding-right:100px}.faq-content-wrapper{padding:15px}.faq-section-header h2{font-size:1.3rem}.back-button{font-size:.9rem;padding:8px 12px}.step-item{flex-direction:column;gap:10px}.step-item .step-number{align-self:flex-start}.category-list{gap:10px}}@media (max-width:480px){.faq-header h1{font-size:1.5rem;padding-right:0}.faq-section-content,.faq-section-header{padding:15px}.back-button{display:block;margin-top:15px;position:static;text-align:center}.feature-item,.membership-option,.welcome-intro{padding:15px}}.voice-preview-container{background-color:#2b2b2b;border-radius:8px;box-shadow:0 4px 8px #00000080;color:#fff;margin:20px auto;max-width:800px;padding:20px}.voice-preview-container h2{color:#50c878;margin-bottom:10px}.voice-preview-container p{color:#ddd;margin-bottom:20px}.voice-group{margin-bottom:30px}.voice-group h3{color:#50c878;margin-bottom:10px;text-align:center}.voice-grid{grid-gap:15px;display:grid;gap:15px;grid-template-columns:1fr}@media (min-width:600px){.voice-grid{grid-template-columns:repeat(2,1fr)}}@media (min-width:900px){.voice-grid{grid-template-columns:repeat(3,1fr)}}.voice-card{align-items:center;background-color:#3a3a3a;border-radius:8px;box-shadow:0 2px 4px #0000004d;cursor:pointer;display:flex;flex-direction:column;padding:15px;text-align:center;transition:transform .2s ease,background-color .2s ease}.voice-card:hover{background-color:#444;transform:translateY(-3px)}.voice-icon{color:#50c878;font-size:2rem;margin-bottom:10px}.voice-filename{color:#ddd;font-size:.9rem;word-break:break-all}.voice-audio{margin-top:30px;outline:none;width:100%}nav.vertical-nav{background-color:#1c1c1c;box-shadow:2px 0 5px #0003;display:flex;flex-direction:column;height:100vh;left:0;overflow-x:hidden;overflow-y:auto;padding:1rem;position:fixed;top:0;width:250px;z-index:1000}.nav-logo{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:linear-gradient(135deg,#2323234d,#1e1e1e80 25%,#1a1a1a99 50%,#181818b3 75%,#1c1c1ccc);border-bottom:1px solid #333;border-radius:6px 6px 0 0;padding:1rem}.vertical-nav-logo{display:block;text-decoration:none}.vertical-nav-logo h2{color:#50c878;font-size:1.8rem;font-weight:700;margin:0;text-align:center;text-decoration:none}.vertical-nav-logo:hover h2{color:#6fe99e}nav.top-nav{background-color:#1c1c1c;box-shadow:0 2px 5px #0003;height:60px;justify-content:space-between;left:0;padding:0 1.5rem;position:fixed;right:0;top:0;z-index:101}.top-nav-left,nav.top-nav{align-items:center;display:flex}.top-nav-left{flex:1 1;gap:1rem;min-width:0}.top-nav-right{flex-shrink:0;gap:.2rem}.desktop-only,.top-nav-right{align-items:center;display:flex}.profile-container{flex-shrink:0;order:10;position:relative}.profile-wrapper{position:relative}.mobile-profile-dropdown{animation:slideDown .25s ease-out;background-color:#1a1a1a;border:1px solid #333;border-radius:12px;box-shadow:0 8px 24px #0006;margin-top:12px;overflow:hidden;pointer-events:all;position:absolute;right:0;top:100%;width:220px;z-index:103}@keyframes slideDown{0%{opacity:0;transform:translateY(-15px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.mobile-dropdown-content{display:flex;flex-direction:column;padding:8px 0}.mobile-dropdown-item{align-items:center;background:none;border:none;box-sizing:border-box;color:#e0e0e0;cursor:pointer;display:flex;font-size:.95rem;font-weight:500;gap:16px;padding:16px 20px;text-align:left;transition:all .2s ease;width:100%}.mobile-dropdown-item:hover{background-color:#2a2a2a;color:#50c878}.mobile-dropdown-item:active{background-color:#333}.mobile-notif-icon{flex-shrink:0;font-size:1.2rem}.dropdown-discord-icon{flex-shrink:0;height:22px;width:22px}.profile-icon-small{flex-shrink:0;font-size:1.1rem}.dropdown-overlay{-webkit-backdrop-filter:blur(.5px);backdrop-filter:blur(.5px);bottom:0;left:0;position:fixed;right:0;top:0;z-index:101}.erosync-logo{align-items:center;cursor:pointer;display:flex;flex-shrink:0;gap:.5rem;padding:.5rem 0;text-decoration:none;transition:transform .3s ease}.erosync-logo:hover{transform:scale(1.02)}.logo-icon{align-items:center;background:#242424;border-radius:50%;box-shadow:0 0 10px #50c87866;color:#50c878;display:flex;font-size:1.4rem;height:28px;justify-content:center;width:28px}.top-nav-left h2{-webkit-text-fill-color:#0000;background:linear-gradient(90deg,#50c878,#4a90e2);-webkit-background-clip:text;background-clip:text;font-size:1.8rem;font-weight:700;letter-spacing:.5px;margin:0;padding-right:.5rem;text-shadow:0 0 10px #50c8784d;transition:all .3s ease}.top-nav-left h2:hover{text-shadow:0 0 15px #50c87880;transform:scale(1.05)}.app-logo{height:40px;width:auto}.top-nav-search{background:#ffffff1a;border:1px solid #333;border-radius:4px;color:#fff;flex-shrink:1;max-width:100%;padding:.5rem 1rem;width:300px}.top-nav-search::placeholder{color:#888}.notifications-icon{cursor:pointer}.profile-icon-link{cursor:pointer;text-decoration:none}.profile-icon{align-items:center;background-color:#50c878;border-radius:50%;box-shadow:0 2px 4px #0003;cursor:pointer;display:flex;height:36px;justify-content:center;overflow:hidden;transition:all .3s ease;width:36px}.profile-icon:hover{box-shadow:0 3px 6px #0000004d;transform:scale(1.05)}.profile-avatar{height:100%;object-fit:cover;width:100%}.profile-initial{color:#1c1c1c;font-size:1.2rem;font-weight:700}.nav-profile{align-items:center;border-bottom:1px solid #333;display:flex;flex-direction:column;margin-bottom:1rem;padding:1rem 0}.profile-image{border-radius:50%;height:64px;margin-bottom:.5rem;width:64px}.user-info{align-items:center;box-sizing:border-box}.nav-links,.user-info{display:flex;flex-direction:column;gap:.5rem;width:100%}.nav-links{flex:1 1;list-style:none;margin:0;min-height:0;overflow-y:auto;padding:0}.nav-links li{width:100%}.nav-links li a{align-items:center;border-radius:6px;color:#e0e0e0;display:flex;gap:.8rem;padding:.8rem 1rem;text-decoration:none;transition:all .3s ease}.nav-links li a:hover{background-color:#50c8781a;color:#50c878}.login-btn,.logout-btn,.signup-btn{align-items:center;border:none;border-radius:6px;box-sizing:border-box;cursor:pointer;display:flex;font-size:.9rem;font-weight:500;gap:.5rem;justify-content:center;max-width:100%;padding:.6rem 1rem;transition:all .3s ease;width:100%}.login-btn{background-color:#50c878;color:#1c1c1c}.signup-btn{background-color:#505050;color:#fff}.logout-btn{background-color:#ff5a5a}.login-btn:hover{background-color:#48a862}.signup-btn:hover{background-color:#606060}.logout-btn:hover{background-color:#e04545}.user-balance{align-items:center;background-color:#50c8781a;border:1px solid #50c87833;border-radius:6px;box-sizing:border-box;color:#50c878;display:flex;font-size:.9rem;font-weight:500;gap:.5rem;justify-content:center;margin-bottom:.5rem;padding:.6rem 1rem;text-align:center;width:100%}.nav-footer{border-top:1px solid #333;margin-top:auto;padding-top:1rem}@media screen and (max-width:768px){nav.vertical-nav{box-sizing:border-box;height:100vh;overflow-x:hidden;overflow-y:auto;padding:.5rem;top:0;transform:translateX(-100%);transition:transform .3s ease;z-index:1000}nav.vertical-nav.active{transform:translateX(0);z-index:1000}nav.top-nav{padding:0 1rem;z-index:999}.top-nav-search{display:none}.desktop-only{display:none!important}.top-nav-right{gap:.18rem}.erosync-logo{padding:.3rem 0}.top-nav-left h2{font-size:1.5rem}.logo-icon{font-size:1.2rem;height:24px;width:24px}.hamburger{background:none;cursor:pointer;display:flex;flex-direction:column;flex-shrink:0;height:21px;justify-content:space-between;padding:0;position:relative;width:30px;z-index:102}.hamburger div{background-color:#e0e0e0;border-radius:10px;height:3px;transition:all .3s ease;width:100%}.hamburger.active div:first-child{transform:rotate(45deg) translate(5px,5px)}.hamburger.active div:nth-child(2){opacity:0}.hamburger.active div:nth-child(3){transform:rotate(-45deg) translate(7px,-7px)}.mobile-profile-dropdown{right:-10px;width:200px;z-index:103}.nav-profile{flex-shrink:0;margin-bottom:.5rem;padding:.5rem 0}.nav-links{flex:1 1;min-height:0;overflow-x:hidden;overflow-y:auto;padding-bottom:1rem}.nav-links li a{font-size:.9rem;padding:.6rem .8rem}.user-info{gap:.4rem;padding:0}.login-btn,.logout-btn,.signup-btn{font-size:.85rem;gap:.4rem;padding:.5rem .8rem}.user-balance{font-size:.8rem;gap:.4rem;padding:.5rem .8rem}}@media screen and (max-width:480px){.top-nav-right{gap:.15rem}.top-nav-left h2{font-size:1.3rem}.mobile-profile-dropdown{right:-15px;width:180px}}@media screen and (max-width:375px){nav.top-nav{padding:0 .75rem}.top-nav-right{gap:.12rem}.top-nav-left{gap:.5rem}.top-nav-left h2{font-size:1.1rem;padding-right:.2rem}.hamburger{height:18px;width:25px}.mobile-profile-dropdown{right:-20px;width:160px}.profile-icon{height:32px;width:32px}.profile-initial{font-size:1rem}}@media screen and (max-width:360px){nav.top-nav{padding:0 .5rem}.top-nav-right{gap:.1rem}.top-nav-left{gap:.4rem}.top-nav-left h2{font-size:1rem;padding-right:.1rem}.hamburger{height:16px;width:22px}.profile-container{flex-shrink:0}.profile-avatar,.profile-icon{height:28px;width:28px}.profile-initial{font-size:.9rem}.top-nav-right{justify-content:flex-end}.handy-connector{margin-left:0;margin-right:0}.mobile-profile-dropdown{right:-25px;width:140px}}@media screen and (max-width:320px){nav.top-nav{padding:0 .3rem}.top-nav-right{gap:.08rem}.top-nav-left{gap:.3rem}.top-nav-left h2{font-size:.9rem;padding-right:0}.hamburger{height:14px;width:20px}.profile-avatar,.profile-icon{height:26px;width:26px}.profile-initial{font-size:.8rem}.mobile-profile-dropdown{right:-30px;width:120px}}.handy-connector{margin-right:0;order:5}.notification-badge{align-items:center;background-color:#ff3e3e;border-radius:50%;color:#fff;display:inline-flex;font-size:.7rem;font-weight:700;height:18px;justify-content:center;margin-left:6px;position:relative;top:-1px;width:18px}.nav-links li a:hover .notification-badge{background-color:#ff6b6b}.notifications-container{position:relative}.notifications-icon-container{cursor:pointer;display:inline-block;margin-right:15px;position:relative}.notifications-icon{color:#e0e0e0;font-size:1.2rem;transition:color .3s ease}.notifications-icon:hover{color:#50c878}.notification-dot{background-color:#ff3e3e;border:1px solid #1c1c1c;border-radius:50%;height:8px;position:absolute;right:-4px;top:0;width:8px}.notifications-dropdown{background-color:#242424;border-radius:8px;box-shadow:0 4px 12px #0000004d;display:flex;flex-direction:column;margin-right:15px;max-height:450px;overflow:hidden;position:absolute;right:-50px;top:45px;width:320px;z-index:102}.notifications-header{align-items:center;border-bottom:1px solid #333;display:flex;justify-content:space-between;padding:12px 16px}.notifications-header h3{color:#e0e0e0;font-size:1rem;margin:0}.mark-all-read{background:none;border:none;color:#50c878;cursor:pointer;font-size:.8rem;padding:4px 8px;transition:color .3s ease}.mark-all-read:hover{color:#48a862;text-decoration:underline}.notifications-list{max-height:350px;overflow-y:auto;padding:0}.notification-item{border-bottom:1px solid #333;padding:12px 16px;transition:background-color .3s ease}.notification-item:hover{background-color:#2a2a2a}.notification-item.unread{background-color:#50c8780d}.notification-item.unread:hover{background-color:#50c8781a}.notification-content h4{color:#e0e0e0;font-size:.9rem;margin:0 0 4px}.notification-content p{color:#bbb;font-size:.85rem;line-height:1.4;margin:0 0 8px}.notification-date{color:#888;display:block;font-size:.75rem}.no-notifications{color:#888;font-size:.9rem;padding:24px 16px;text-align:center}.notifications-footer{border-top:1px solid #333;padding:12px 16px;text-align:center}.notifications-footer button{background:none;border:none;color:#50c878;cursor:pointer;font-size:.85rem;padding:4px 8px;transition:color .3s ease}.notifications-footer button:hover{color:#48a862;text-decoration:underline}@media screen and (max-width:768px){.notifications-dropdown{margin-right:10px;max-height:400px;right:-10px;top:45px;width:300px}.notifications-list{max-height:300px}}.mobile-bottom-nav{background-color:#0a0a0a;border-top:1px solid #222;bottom:0;box-shadow:0 -2px 10px #00000080;display:none;left:0;margin:0;padding:0 0 env(safe-area-inset-bottom,0);position:fixed;right:0;z-index:100}.bottom-nav-container{align-items:center;display:flex;justify-content:space-around;margin:0;max-width:100%;padding:12px 16px}.bottom-nav-item{align-items:center;border-radius:12px;color:#666;display:flex;flex-direction:column;min-width:60px;padding:8px 12px;position:relative;text-decoration:none;transition:all .3s ease}.bottom-nav-item:hover{background-color:#50c87814;color:#50c878}.bottom-nav-item.active{color:#50c878}.bottom-nav-item.center-item{background:linear-gradient(135deg,#50c878,#6fe99e);border-radius:20px;box-shadow:0 2px 8px #50c87833;color:#1c1c1c;padding:10px 14px;transform:scale(1.05)}.bottom-nav-item.center-item:hover{box-shadow:0 4px 12px #50c8784d;transform:scale(1.05) translateY(-1px)}.bottom-nav-item.center-item.active,.bottom-nav-item.center-item:hover{background:linear-gradient(135deg,#48a862,#5fd18c);color:#1c1c1c}.bottom-nav-icon{align-items:center;display:flex;height:24px;justify-content:center;margin-bottom:4px;transition:transform .3s ease;width:24px}.bottom-nav-item:hover .bottom-nav-icon{transform:scale(1.1)}.bottom-nav-item.center-item .bottom-nav-icon{height:26px;margin-bottom:2px;width:26px}.bottom-nav-label{font-size:.7rem;font-weight:500;line-height:1;opacity:.9;text-align:center}.bottom-nav-item.center-item .bottom-nav-label{font-size:.75rem;font-weight:600;opacity:1}@media (max-width:768px){.mobile-bottom-nav{display:block}.character-import-page,.content-area,.content-container{padding-bottom:80px!important}}@media (max-width:480px){.bottom-nav-container{padding:6px 12px 10px}.bottom-nav-item{min-width:50px;padding:6px 8px}.bottom-nav-item.center-item{padding:10px 12px}.bottom-nav-icon{font-size:1.2rem;margin-bottom:3px}.bottom-nav-item.center-item .bottom-nav-icon{font-size:1.4rem}.bottom-nav-label{font-size:.65rem}.bottom-nav-item.center-item .bottom-nav-label{font-size:.7rem}}@media (max-width:360px){.bottom-nav-container{padding:4px 8px 8px}.bottom-nav-item{min-width:45px;padding:4px 6px}.bottom-nav-item.center-item{padding:8px 10px}.bottom-nav-icon{font-size:1.1rem;margin-bottom:2px}.bottom-nav-item.center-item .bottom-nav-icon{font-size:1.3rem}.bottom-nav-label{font-size:.6rem}.bottom-nav-item.center-item .bottom-nav-label{font-size:.65rem}}.pastdue-modal-overlay{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#000c;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:10000}.pastdue-modal{background:linear-gradient(135deg,#1e1e24,#2a2a30);border:1px solid #333;border-radius:16px;box-shadow:0 20px 40px #0000004d;max-height:90vh;max-width:600px;overflow-y:auto;position:relative;width:90%}.pastdue-modal.critical{border-color:#ff4757;box-shadow:0 20px 40px #ff47571a}.pastdue-modal.warning{border-color:#ffa502;box-shadow:0 20px 40px #ffa5021a}.pastdue-modal.info{border-color:#3742fa;box-shadow:0 20px 40px #3742fa1a}.pastdue-modal-header{border-bottom:1px solid #333;padding:2rem 2rem 1rem;text-align:center}.pastdue-icon{margin-bottom:1rem}.pastdue-icon svg{color:#ffa502}.pastdue-modal.critical .pastdue-icon svg{animation:pastdue-pulse 2s infinite;color:#ff4757}.pastdue-modal.warning .pastdue-icon svg{color:#ffa502}.pastdue-modal.info .pastdue-icon svg{color:#3742fa}@keyframes pastdue-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.8;transform:scale(1.1)}}.pastdue-modal-header h2{color:#fff;font-size:1.5rem;font-weight:600;margin:0 0 .5rem}.pastdue-subtitle{color:#888;font-size:.95rem;margin:0}.pastdue-modal.critical .pastdue-subtitle{color:#ff4757;font-weight:500}.pastdue-modal-body{padding:1.5rem 2rem}.pastdue-message{margin-bottom:1.5rem}.pastdue-message p{color:#ccc;font-size:.95rem;line-height:1.5;margin:0 0 1rem}.pastdue-failure-reason{background:#ff47571a;border:1px solid #ff475733;border-radius:8px;color:#f99;font-size:.9rem;padding:.75rem}.pastdue-error-message,.pastdue-success-message{align-items:center;border-radius:8px;display:flex;font-size:.9rem;gap:.5rem;margin-bottom:1rem;padding:.75rem}.pastdue-success-message{background:#2ed5731a;border:1px solid #2ed57333;color:#2ed573}.pastdue-error-message{background:#ff47571a;border:1px solid #ff475733;color:#ff4757}.pastdue-actions{display:flex;gap:1rem;margin-bottom:1.5rem}.pastdue-retry-button,.pastdue-update-button{border:none;border-radius:8px;cursor:pointer;flex:1 1;font-size:.95rem;font-weight:500;padding:.875rem 1.5rem;text-align:center;transition:all .3s ease}.pastdue-retry-button{background:linear-gradient(135deg,#3742fa,#5352ed);color:#fff}.pastdue-retry-button:hover:not(:disabled){box-shadow:0 8px 20px #3742fa4d;transform:translateY(-2px)}.pastdue-retry-button:disabled{cursor:not-allowed;opacity:.6}.pastdue-update-button{background:linear-gradient(135deg,#a36cff,#9c5dff);color:#fff}.pastdue-update-button:hover{box-shadow:0 8px 20px #a36cff4d;transform:translateY(-2px)}.pastdue-contact{margin-bottom:1rem;text-align:center}.pastdue-contact p{color:#888;font-size:.9rem;margin:0}.pastdue-contact a{color:#a36cff;font-weight:500;text-decoration:none}.pastdue-contact a:hover{text-decoration:underline}.pastdue-modal-footer{border-top:1px solid #333;padding:1rem 2rem 2rem;text-align:center}.pastdue-close-button{background:#0000;border:1px solid #555;border-radius:8px;color:#888;cursor:pointer;font-size:.9rem;margin-bottom:1rem;padding:.75rem 1.5rem;transition:all .3s ease}.pastdue-close-button:hover{border-color:#777;color:#aaa}.pastdue-secure-note{align-items:center;color:#666;display:flex;font-size:.8rem;gap:.5rem;justify-content:center}.pastdue-secure-note svg{color:#4cd137}.pastdue-payment-form{padding:2rem}.pastdue-form-header{margin-bottom:2rem;text-align:center}.pastdue-form-header h3{color:#fff;font-size:1.25rem;margin:0 0 .5rem}.pastdue-form-header p{color:#888;font-size:.9rem;margin:0}.pastdue-card-element-container{background:#2a2a30;border:1px solid #444;border-radius:8px;margin-bottom:1.5rem;padding:1rem;transition:border-color .3s ease}.pastdue-card-element-container:focus-within{border-color:#a36cff}.pastdue-card-element{background:#0000;color:#fff}.pastdue-form-actions{display:flex;gap:1rem}.pastdue-cancel-button,.pastdue-submit-button{border:none;border-radius:8px;cursor:pointer;flex:1 1;font-size:.95rem;font-weight:500;padding:.875rem 1.5rem;transition:all .3s ease}.pastdue-cancel-button{background:#0000;border:1px solid #555;color:#888}.pastdue-cancel-button:hover:not(:disabled){border-color:#777;color:#aaa}.pastdue-submit-button{background:linear-gradient(135deg,#a36cff,#9c5dff);color:#fff}.pastdue-submit-button:hover:not(:disabled){box-shadow:0 8px 20px #a36cff4d;transform:translateY(-2px)}.pastdue-submit-button:disabled{cursor:not-allowed;opacity:.6}@media (max-width:640px){.pastdue-modal{margin:1rem;max-height:95vh;width:95%}.pastdue-modal-body,.pastdue-modal-header,.pastdue-payment-form{padding:1.5rem}.pastdue-actions,.pastdue-form-actions{flex-direction:column;gap:.75rem}.pastdue-modal-header h2{font-size:1.25rem}.pastdue-payment-iframe-container{height:80vh;max-height:none}.pastdue-iframe-header{padding:1rem 1.5rem}.pastdue-payment-iframe{min-height:500px}}.pastdue-payment-iframe-container{display:flex;flex-direction:column;height:90vh;max-height:800px;width:100%}.pastdue-iframe-header{align-items:center;background:#1e1e24;border-bottom:1px solid #333;border-radius:16px 16px 0 0;display:flex;justify-content:space-between;padding:1.5rem 2rem}.pastdue-iframe-header h3{color:#fff;font-size:1.25rem;margin:0}.pastdue-iframe-close{background:#0000;border:none;border-radius:4px;color:#888;cursor:pointer;font-size:1.5rem;padding:.5rem;transition:all .3s ease}.pastdue-iframe-close:hover{background:#ffffff1a;color:#fff}.pastdue-payment-iframe{background:#fff;border-radius:0 0 16px 16px;flex:1 1;min-height:600px;width:100%}.deleteaccount-modal-overlay{align-items:center;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#000000d9;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.deleteaccount-modal{background:linear-gradient(135deg,#1e1e24,#2a2a30);border:1px solid #ffffff1a;border-radius:16px;box-shadow:0 20px 40px #000000b3,0 8px 16px #0000004d;max-height:90vh;max-width:600px;overflow-y:auto;position:relative;width:90%}.deleteaccount-modal-header{border-bottom:1px solid #ffffff1a;padding:2rem 2rem 1rem;text-align:center}.deleteaccount-icon{align-items:center;background:linear-gradient(135deg,#ff4757,#ff3838);border-radius:50%;box-shadow:0 8px 16px #ff47574d;color:#fff;display:flex;height:64px;justify-content:center;margin:0 auto 1rem;width:64px}.deleteaccount-modal-header h2{color:#fff;font-size:1.8rem;font-weight:700;margin:0 0 .5rem}.deleteaccount-subtitle{color:#ff6b6b;font-size:1rem;font-weight:500;margin:0}.deleteaccount-modal-body{padding:2rem}.deleteaccount-warning{background:linear-gradient(135deg,#ff475726,#ff38381a);border:1px solid #ff47574d;border-radius:12px;margin-bottom:2rem;padding:1.5rem}.deleteaccount-warning-content h3{color:#ff6b6b;font-size:1.2rem;font-weight:600;margin:0 0 1rem}.deleteaccount-warning-content p{color:#ccc;font-size:.95rem;line-height:1.5;margin:0 0 1rem}.deleteaccount-warning-content ul{color:#ccc;font-size:.95rem;line-height:1.6;margin:0 0 1rem;padding-left:1.5rem}.deleteaccount-warning-content li{margin-bottom:.5rem}.deleteaccount-warning-content strong{color:#ff6b6b}.deleteaccount-subscription-warning{background:linear-gradient(135deg,#ffc10726,#ff98001a);border:1px solid #ffc1074d;border-radius:12px;margin-bottom:2rem;padding:1.5rem}.deleteaccount-subscription-warning h4{color:#ffc107;font-size:1.1rem;font-weight:600;margin:0 0 .5rem}.deleteaccount-subscription-warning p{color:#ccc;font-size:.95rem;line-height:1.5;margin:0}.deleteaccount-form{display:flex;flex-direction:column;gap:1.5rem}.deleteaccount-form-field{display:flex;flex-direction:column;gap:.5rem}.deleteaccount-form-field label{color:#fff;font-size:.95rem;font-weight:500}.deleteaccount-form-field input{background:#2a2a30;border:1px solid #444;border-radius:8px;color:#fff;font-size:1rem;padding:12px 16px;transition:all .3s ease}.deleteaccount-form-field input:focus{border-color:#ff4757;box-shadow:0 0 0 2px #ff475733;outline:none}.deleteaccount-form-field input:disabled{cursor:not-allowed;opacity:.6}.deleteaccount-form-field input::placeholder{color:#888}.deleteaccount-error-message{align-items:center;background:linear-gradient(135deg,#ff475733,#ff383826);border:1px solid #ff475766;border-radius:8px;color:#ff6b6b;display:flex;font-size:.9rem;gap:8px;padding:12px 16px}.deleteaccount-error-message svg{flex-shrink:0}.deleteaccount-actions{display:flex;gap:1rem;margin-top:1rem}.deleteaccount-cancel-button{background:#0000;border:2px solid #666;border-radius:8px;color:#ccc;cursor:pointer;flex:1 1;font-size:1rem;font-weight:600;padding:12px 20px;transition:all .3s ease}.deleteaccount-cancel-button:hover:not(:disabled){border-color:#888;color:#fff;transform:translateY(-1px)}.deleteaccount-cancel-button:disabled{cursor:not-allowed;opacity:.6}.deleteaccount-delete-button{background:linear-gradient(135deg,#ff4757,#ff3838);border:none;border-radius:8px;box-shadow:0 8px 16px #ff47574d,0 4px 8px #0003;color:#fff;cursor:pointer;flex:1 1;font-size:1rem;font-weight:600;padding:12px 20px;transition:all .3s ease}.deleteaccount-delete-button:hover:not(:disabled){background:linear-gradient(135deg,#ff5722,#ff4757);box-shadow:0 12px 24px #ff475766,0 6px 12px #0000004d;transform:translateY(-2px)}.deleteaccount-delete-button:disabled{box-shadow:none;cursor:not-allowed;opacity:.6;transform:none}.deleteaccount-modal-footer{padding:1rem 2rem 2rem;text-align:center}.deleteaccount-secure-note{align-items:center;color:#888;display:inline-flex;font-size:.9rem;gap:8px}.deleteaccount-secure-note svg{color:#ff4757}@media (max-width:768px){.deleteaccount-modal{margin:1rem;width:calc(100% - 2rem)}.deleteaccount-modal-body,.deleteaccount-modal-header{padding:1.5rem}.deleteaccount-modal-footer{padding:1rem 1.5rem 1.5rem}.deleteaccount-actions{flex-direction:column}.deleteaccount-modal-header h2{font-size:1.5rem}.deleteaccount-icon{height:56px;width:56px}}@media (max-width:480px){.deleteaccount-modal{margin:.5rem;width:calc(100% - 1rem)}.deleteaccount-subscription-warning,.deleteaccount-warning{padding:1rem}.deleteaccount-warning-content h3{font-size:1.1rem}}.profile2-container{align-items:center;background:linear-gradient(135deg,#0d0d0d,#151515 25%,#1c1c1c 50%,#242424);background:linear-gradient(135deg,var(--darkest-bg) 0,var(--darker-bg) 25%,var(--dark-bg) 50%,var(--medium-bg) 100%);background-image:radial-gradient(circle at 20% 80%,#50c87814 0,#0000 50%),radial-gradient(circle at 80% 20%,#50c8780a 0,#0000 50%),radial-gradient(circle at 40% 40%,hsla(0,0%,100%,.015) 0,#0000 50%);box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-start;min-height:100vh;padding:20px;position:relative;width:100%;z-index:1}.profile2-character-background{bottom:0;left:0;position:fixed;right:0;top:0;z-index:0}.profile2-character-background:after{background:#0000001a;bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:0}.profile2-content-wrapper{margin:0 auto;max-width:1200px;position:relative;transition:filter .3s ease;width:100%;z-index:2}.content-blurred{filter:blur(5px);pointer-events:none;-webkit-user-select:none;user-select:none}.profile2-section-card{animation:slideUpProfile .6s ease;backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);background:#0000004d;border:1px solid #ffffff1a;border-radius:16px;border-radius:var(--radius-large);box-shadow:0 20px 40px #0006,0 8px 16px #0003,inset 0 1px 0 #ffffff1a;margin-bottom:24px;padding:32px;position:relative;width:100%}.profile2-section-card:before{background:linear-gradient(90deg,#0000,#50c878,#0000);background:linear-gradient(90deg,#0000,var(--primary-color),#0000);content:"";height:1px;left:0;opacity:.5;position:absolute;right:0;top:0}@keyframes slideUpProfile{0%{opacity:0;transform:translateY(30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.profile2-header{align-items:center;display:flex;gap:1.5rem;margin-bottom:2rem}.profile2-avatar-icon{align-items:center;background:linear-gradient(135deg,#50c878,#6ac995);background:linear-gradient(135deg,var(--primary-color),#6ac995);border:2px solid #50c8784d;border-radius:50%;box-shadow:0 8px 16px #50c8784d,0 4px 8px #0003;cursor:default;display:flex;flex:0 0 100px;height:100px;justify-content:center;overflow:hidden;transition:all .3s ease;width:100px}.profile2-avatar-icon:hover{box-shadow:0 12px 24px #50c87866,0 6px 12px #0000004d;transform:scale(1.05)}.profile2-avatar{border-radius:50%;height:100%;object-fit:cover;width:100%}.profile2-info{flex:1 1}.profile2-info h1{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#50c878,#6ac995);background:linear-gradient(135deg,var(--primary-color),#6ac995);-webkit-background-clip:text;background-clip:text;font-size:2.5rem;font-weight:700;letter-spacing:-1px;margin:0;text-shadow:0 4px 8px #50c87833}.profile2-meta{color:#999;color:var(--text-muted);font-size:1.1rem;margin:.5rem 0 0;opacity:.8}.profile2-tabs{display:flex;gap:1rem;margin-bottom:2rem;padding-bottom:1rem;position:relative}.profile2-tabs:after{background:linear-gradient(90deg,#0000,#ffffff1a,#0000);bottom:0;content:"";height:1px;left:0;position:absolute;right:0}.profile2-tabs button{background:none;border:none;border-radius:8px;border-radius:var(--radius);color:#999;color:var(--text-muted);cursor:pointer;font-size:1rem;font-weight:500;padding:.8rem 1.5rem;position:relative;transition:all .3s ease;transition:var(--transition)}.profile2-tabs button:hover{background:#50c8781a;color:#fff;color:var(--text-color);transform:translateY(-2px)}.profile2-tabs button.tab-active{background:#50c87826;color:#50c878;color:var(--primary-color);font-weight:600}.profile2-tabs button.tab-active:after{background:linear-gradient(90deg,#0000,#50c878,#0000);background:linear-gradient(90deg,#0000,var(--primary-color),#0000);bottom:-1rem;content:"";height:2px;left:50%;position:absolute;transform:translateX(-50%);width:60%}.profile2-grid{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:1fr 2fr;margin-top:2rem}.profile2-section-header h2{color:#fff;color:var(--text-color);font-size:1.8rem;font-weight:700;margin:0 0 24px;position:relative;text-align:left}.profile2-section-header h2:after{background:linear-gradient(90deg,#50c878,#0000);background:linear-gradient(90deg,var(--primary-color),#0000);bottom:-8px;content:"";height:2px;left:0;position:absolute;width:60px}.profile2-subscription-section{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#0003;border:1px solid #ffffff14;border-radius:16px;border-radius:var(--radius-large);height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;padding:2rem}.profile2-subscription-card{background:#ffffff08;border:1px solid #ffffff14;border-radius:8px;border-radius:var(--radius);padding:1.5rem;transition:all .3s ease;transition:var(--transition)}.profile2-subscription-card:hover{background:#ffffff0d;border-color:#50c8784d;transform:translateY(-2px)}.profile2-subscription-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1.5rem}.profile2-subscription-header h3{color:#fff;color:var(--text-color);font-size:1.2rem;margin:0}.profile2-status-badge{border-radius:20px;font-size:.9rem;font-weight:500;letter-spacing:.5px;padding:.4rem .8rem;text-transform:uppercase}.profile2-status-badge.status-active{background:#4caf5033;border:1px solid #4caf504d;color:#4caf50}.profile2-status-badge.status-inactive{background:#f4433633;border:1px solid #f443364d;color:#f44336}.profile2-status-badge.status-warning{background:#ffc10733;border:1px solid #ffc1074d;color:#ffc107}.profile2-subscription-info{margin-bottom:1.5rem}.profile2-info-row{border-bottom:1px solid #ffffff0d;display:flex;justify-content:space-between;padding:.8rem 0;transition:all .3s ease;transition:var(--transition)}.profile2-info-row:hover{background:#ffffff05;border-radius:4px;padding-left:8px;padding-right:8px}.profile2-info-row:last-child{border-bottom:none}.profile2-info-row span:first-child{color:#999;color:var(--text-muted);font-weight:500}.profile2-info-row span:last-child{color:#fff;color:var(--text-color);font-weight:600}.profile2-subscription-message{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:8px;border-radius:var(--radius);margin-bottom:16px;padding:12px}.profile2-subscription-message.warning{background:#ffc1071a;border:1px solid #ffc1074d;color:#ffc107;color:var(--warning-color)}.profile2-characters-section{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#0003;border:1px solid #ffffff14;border-radius:16px;border-radius:var(--radius-large);padding:2rem}.profile2-characters-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));margin-top:1.5rem}.profile2-character-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;border-radius:var(--radius);box-shadow:0 8px 16px #0003,0 4px 8px #0000001a;cursor:pointer;outline:none;overflow:hidden;position:relative;transition:all .3s ease;transition:var(--transition)}.profile2-character-card:hover{background:#ffffff14;border-color:#50c8784d;box-shadow:0 20px 40px #0000004d,0 8px 16px #50c87833;transform:translateY(-8px) scale(1.02)}.profile2-character-card:focus{border-color:#50c878;border-color:var(--primary-color);box-shadow:0 20px 40px #0000004d,0 8px 16px #50c87866;transform:translateY(-8px) scale(1.02)}.profile2-character-delete-button{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#f44336e6;border:none;border-radius:50%;box-shadow:0 4px 8px #0000004d;color:#fff;cursor:pointer;display:flex;font-size:16px;font-weight:700;height:28px;justify-content:center;opacity:0;position:absolute;right:8px;top:8px;transition:all .3s ease;width:28px;z-index:10}.profile2-character-card:hover .profile2-character-delete-button{opacity:1;transform:scale(1)}.profile2-character-delete-button:hover{background:#f44336;box-shadow:0 6px 12px #f4433666;transform:scale(1.15)}.profile2-character-image{aspect-ratio:1;background:#50c8781a;overflow:hidden;position:relative}.profile2-character-image img{height:100%;object-fit:cover;transition:all .3s ease;transition:var(--transition);width:100%}.profile2-character-card:hover .profile2-character-image img{transform:scale(1.1)}.profile2-character-placeholder{align-items:center;background:linear-gradient(135deg,#50c878,#6ac995);background:linear-gradient(135deg,var(--primary-color),#6ac995);color:#0d0d0d;color:var(--darkest-bg);display:flex;font-size:2.5rem;font-weight:700;height:100%;justify-content:center;text-shadow:0 2px 4px #0000004d;width:100%}.profile2-character-info{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0000004d;padding:1.2rem}.profile2-character-info h3{color:#fff;color:var(--text-color);font-size:1.1rem;font-weight:600;margin:0 0 .5rem}.profile2-character-meta{align-items:center;color:#999;color:var(--text-muted);display:flex;font-size:.9rem;justify-content:flex-end}.profile2-character-rating{background:#50c87833;border:1px solid #50c8784d;border-radius:8px;border-radius:var(--radius);color:#50c878;color:var(--primary-color);font-size:.8rem;font-weight:600;letter-spacing:.5px;padding:.2rem .6rem;text-transform:uppercase}.profile2-empty-state{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff08;border:2px dashed #ffffff1a;border-radius:16px;border-radius:var(--radius-large);grid-column:1/-1;padding:4rem 2rem;text-align:center;transition:all .3s ease;transition:var(--transition)}.profile2-empty-state:hover{background:#ffffff0d;border-color:#50c8784d}.profile2-empty-icon{font-size:4rem;margin-bottom:1.5rem;opacity:.6}.profile2-empty-state h3{color:#fff;color:var(--text-color);font-size:1.5rem;margin:0 0 .5rem}.profile2-empty-state p{color:#999;color:var(--text-muted);font-size:1.1rem;margin:.5rem 0 2rem}.profile2-cancel-button,.profile2-create-character-button,.profile2-subscribe-button{border:none;border-radius:8px;border-radius:var(--radius);cursor:pointer;font-size:1rem;font-weight:600;letter-spacing:.5px;overflow:hidden;padding:12px 24px;position:relative;text-transform:uppercase;transition:all .3s ease;transition:var(--transition)}.profile2-create-character-button,.profile2-subscribe-button{background:linear-gradient(135deg,#50c878,#48a862);background:linear-gradient(135deg,var(--primary-color),var(--primary-dark));box-shadow:0 8px 16px #50c8784d,0 4px 8px #0003;color:#0d0d0d;color:var(--darkest-bg)}.profile2-create-character-button:hover,.profile2-subscribe-button:hover{background:linear-gradient(135deg,#5cd68a,#50c878);background:linear-gradient(135deg,#5cd68a,var(--primary-color));box-shadow:0 12px 24px #50c87866,0 6px 12px #0000004d;transform:translateY(-2px)}.profile2-cancel-button{background:linear-gradient(135deg,#ff5a5a,#d32f2f);background:linear-gradient(135deg,var(--error-color),#d32f2f);box-shadow:0 8px 16px #ff5a5a4d,0 4px 8px #0003;color:#fff}.profile2-cancel-button:hover{background:linear-gradient(135deg,#ff7575,#ff5a5a);background:linear-gradient(135deg,#ff7575,var(--error-color));box-shadow:0 12px 24px #ff5a5a66,0 6px 12px #0000004d;transform:translateY(-2px)}.profile2-recovery-actions{display:flex;flex-direction:column;gap:12px;margin-top:16px}.profile2-retry-button{background:linear-gradient(135deg,#3742fa,#5352ed);border:none;border-radius:8px;border-radius:var(--radius);box-shadow:0 8px 16px #3742fa4d,0 4px 8px #0003;color:#fff;cursor:pointer;font-size:.95rem;font-weight:600;letter-spacing:.5px;padding:12px 20px;text-align:center;text-transform:uppercase;transition:all .3s ease;transition:var(--transition)}.profile2-retry-button:hover:not(:disabled){background:linear-gradient(135deg,#4c5dff,#3742fa);box-shadow:0 12px 24px #3742fa66,0 6px 12px #0000004d;transform:translateY(-2px)}.profile2-retry-button:disabled{box-shadow:none;cursor:not-allowed;opacity:.6;transform:none}.profile2-status-badge.status-critical{animation:profile2-critical-pulse 2s infinite;background:linear-gradient(135deg,#ff4757,#ff3838);border:1px solid #ff47574d;color:#fff}@keyframes profile2-critical-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.8;transform:scale(1.05)}}@media (max-width:768px){.profile2-recovery-actions{gap:10px}.profile2-retry-button{font-size:.9rem;padding:10px 16px}}.profile2-danger-section{background:linear-gradient(135deg,#a36cff1a,#a36cff0d);border:1px solid #a36cff33;border-radius:8px;border-radius:var(--radius);margin-bottom:2rem;padding:2rem}.profile2-danger-subtitle{color:#a36cff;font-size:.9rem;font-style:italic;margin:.5rem 0 0}.profile2-danger-content{margin-top:1.5rem}.profile2-advanced-toggle{align-items:center;background:#a36cff1a;border:1px solid #a36cff4d;border-radius:8px;color:#a36cff;cursor:pointer;display:flex;font-size:.95rem;font-weight:500;gap:8px;padding:12px 16px;text-align:left;transition:all .3s ease;width:100%}.profile2-advanced-toggle:hover{background:#a36cff26;border-color:#a36cff66;transform:translateY(-1px)}.profile2-advanced-options{animation:fadeIn .3s ease;background:#ff47570d;border:1px solid #ff475733;border-radius:8px;margin-top:1rem;padding:1.5rem}.profile2-danger-item{align-items:flex-start;background:#ff47570d;border:1px solid #ff475726;border-radius:8px;display:flex;gap:2rem;justify-content:space-between;padding:1.5rem}.profile2-danger-info h3{color:#ff6b6b;font-size:1.1rem;font-weight:600;margin:0 0 .5rem}.profile2-danger-info p{color:#ccc;font-size:.9rem;line-height:1.5;margin:0}.profile2-delete-account-button{background:linear-gradient(135deg,#ff4757,#ff3838);border:none;border-radius:8px;box-shadow:0 8px 16px #ff47574d,0 4px 8px #0003;color:#fff;cursor:pointer;font-size:.95rem;font-weight:600;letter-spacing:.5px;padding:12px 24px;text-transform:uppercase;transition:all .3s ease;white-space:nowrap}.profile2-delete-account-button:hover{background:linear-gradient(135deg,#ff5722,#ff4757);box-shadow:0 12px 24px #ff475766,0 6px 12px #0000004d;transform:translateY(-2px)}.profile2-delete-account-button:active{transform:translateY(0)}@media (max-width:768px){.profile2-danger-item{align-items:stretch;flex-direction:column;gap:1rem}.profile2-delete-account-button{align-self:center;min-width:200px}.profile2-danger-section{padding:1.5rem}}.profile2-error,.profile2-loading{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:8px;border-radius:var(--radius);margin:1rem 0;padding:2rem;text-align:center}.profile2-loading{background:#50c8781a;border:1px solid #50c8784d;color:#50c878;color:var(--primary-color)}.profile2-error{background:#f443361a;border:1px solid #f443364d;color:#ff5a5a;color:var(--error-color)}.profile2-no-subscription{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff08;border:2px dashed #ffffff1a;border-radius:16px;border-radius:var(--radius-large);padding:3rem;text-align:center}.profile2-no-subscription p{color:#999;color:var(--text-muted);font-size:1.1rem;margin-bottom:2rem}.profile2-auth-modal-overlay{align-items:center;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background-color:#000c;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.profile2-auth-modal{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#0006;border:1px solid #ffffff1a;border-radius:16px;border-radius:var(--radius-large);box-shadow:0 20px 40px #00000080,inset 0 1px 0 #ffffff1a;max-width:450px;padding:2rem;position:relative;text-align:center;width:90%}.profile2-auth-modal:before{background:linear-gradient(90deg,#0000,#50c878,#0000);background:linear-gradient(90deg,#0000,var(--primary-color),#0000);content:"";height:1px;left:0;opacity:.5;position:absolute;right:0;top:0}.profile2-auth-modal h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#50c878,#6ac995);background:linear-gradient(135deg,var(--primary-color),#6ac995);-webkit-background-clip:text;background-clip:text;color:#fff;color:var(--text-color);font-size:1.8rem;margin-bottom:1rem;margin-top:0}.profile2-auth-modal p{color:#ddd;color:var(--text-light);font-size:1.1rem;line-height:1.5;margin-bottom:2rem}.profile2-auth-modal-buttons{display:flex;gap:1rem;justify-content:center}.profile2-auth-modal-buttons .btn{border:none;border-radius:8px;border-radius:var(--radius);cursor:pointer;font-size:1rem;font-weight:600;letter-spacing:.5px;min-width:120px;padding:12px 24px;text-transform:uppercase;transition:all .3s ease;transition:var(--transition)}.profile2-auth-modal-buttons .btn-primary{background:linear-gradient(135deg,#50c878,#48a862);background:linear-gradient(135deg,var(--primary-color),var(--primary-dark));box-shadow:0 4px 8px #50c8784d;color:#0d0d0d;color:var(--darkest-bg)}.profile2-auth-modal-buttons .btn-primary:hover{background:linear-gradient(135deg,#5cd68a,#50c878);background:linear-gradient(135deg,#5cd68a,var(--primary-color));box-shadow:0 8px 16px #50c87866;transform:translateY(-2px)}.profile2-auth-modal-buttons .btn-secondary{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1a;border:1px solid #fff3;color:#fff;color:var(--text-color)}.profile2-auth-modal-buttons .btn-secondary:hover{background:#ffffff26;border-color:#ffffff4d;transform:translateY(-2px)}.profile2-modal-overlay{align-items:center;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background-color:#000c;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:2000}.profile2-modal-content{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#0006;border:1px solid #ffffff1a;border-radius:16px;border-radius:var(--radius-large);box-shadow:0 20px 40px #00000080,inset 0 1px 0 #ffffff1a;max-width:400px;padding:2rem;position:relative;text-align:center;width:90%}.profile2-modal-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1.5rem}.profile2-modal-header h3{color:#fff;color:var(--text-color);font-size:1.5rem;margin:0}.profile2-close-button{align-items:center;background:none;border:none;border-radius:50%;color:#999;color:var(--text-muted);cursor:pointer;display:flex;font-size:1.5rem;height:32px;justify-content:center;padding:.5rem;transition:all .3s ease;transition:var(--transition);width:32px}.profile2-close-button:hover{background:#ffffff1a;color:#fff;color:var(--text-color)}.profile2-modal-body p{color:#ff5a5a;color:var(--error-color);font-size:1.1rem;font-weight:500;margin-bottom:1.5rem}.profile2-button-group{display:flex;gap:1rem;justify-content:center;margin-top:1.5rem}.profile2-confirm-button,.profile2-keep-button{border:none;border-radius:8px;border-radius:var(--radius);cursor:pointer;font-size:1rem;font-weight:600;letter-spacing:.5px;padding:12px 24px;text-transform:uppercase;transition:all .3s ease;transition:var(--transition)}.profile2-confirm-button{background:linear-gradient(135deg,#ff5a5a,#d32f2f);background:linear-gradient(135deg,var(--error-color),#d32f2f);box-shadow:0 4px 8px #ff5a5a4d;color:#fff}.profile2-confirm-button:hover{background:linear-gradient(135deg,#ff7575,#ff5a5a);background:linear-gradient(135deg,#ff7575,var(--error-color));box-shadow:0 8px 16px #ff5a5a66;transform:translateY(-2px)}.profile2-keep-button{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1a;border:1px solid #fff3;color:#fff;color:var(--text-color)}.profile2-keep-button:hover{background:#ffffff26;border-color:#ffffff4d;transform:translateY(-2px)}.profile2-legal-footer{border-top:1px solid #ffffff1a;margin-top:2rem;padding:1.5rem 0}.profile2-legal-links{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center}.profile2-legal-link{background:none;border:none;border-radius:8px;border-radius:var(--radius);color:#999;color:var(--text-muted);cursor:pointer;font-size:.9rem;padding:.5rem 1rem;text-decoration:none;transition:all .3s ease;transition:var(--transition)}.profile2-legal-link:hover{background:#50c8781a;color:#50c878;color:var(--primary-color);text-decoration:underline}.profile2-legal-separator{color:#999;color:var(--text-muted);font-size:.8rem;opacity:.6}@media (max-width:768px){.profile2-container{padding:60px 10px 10px}.profile2-content-wrapper{margin:0;max-width:100%;padding:0 5px}.profile2-section-card{border-radius:8px;border-radius:var(--radius);margin-bottom:20px;padding:20px}.profile2-grid{gap:1.5rem;grid-template-columns:1fr}.profile2-header{flex-direction:column;gap:1rem;text-align:center}.profile2-avatar-icon{flex:0 0 80px;height:80px;width:80px}.profile2-info h1{font-size:2rem}.profile2-tabs{justify-content:center;overflow-x:auto;padding-bottom:.5rem}.profile2-tabs button{padding:.6rem 1.2rem;white-space:nowrap}.profile2-characters-grid{gap:1rem;grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.profile2-characters-section,.profile2-subscription-section{padding:1.5rem}.profile2-auth-modal,.profile2-modal-content{margin:1rem;padding:1.5rem}.profile2-auth-modal-buttons,.profile2-button-group{flex-direction:column;gap:.8rem}.profile2-legal-footer{margin-top:1.5rem;padding:1rem 0}}@media (max-width:480px){.profile2-container{padding:50px 5px 10px}.profile2-content-wrapper{padding:0 3px}.profile2-section-card{border-radius:6px;margin-bottom:16px;padding:16px}.profile2-info h1{font-size:1.8rem}.profile2-section-header h2{font-size:1.4rem}.profile2-characters-section,.profile2-subscription-section{padding:1rem}.profile2-characters-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}}@media (prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.profile2-section-card{animation:none}}@media (prefers-contrast:high){.profile2-characters-section,.profile2-section-card,.profile2-subscription-section{border:2px solid #50c878;border:2px solid var(--primary-color)}.profile2-character-card{border:2px solid #444;border:2px solid var(--border-color)}}.submission-page{background-color:#1c1c1c;color:#fff;min-height:100vh;padding:20px}.submission-container{background-color:#1c1c1c;border-radius:10px;margin:0 auto;max-width:1200px;padding:20px}h1{color:#50c878;margin-bottom:10px}.intro-text,h1{text-align:center}.intro-text{color:#ddd;margin-bottom:30px}.submission-sections{display:flex;gap:30px}.submission-form-section,.submissions-history-section{background-color:#242424;border-radius:10px;box-shadow:0 4px 8px #0003;flex:1 1;min-width:0;padding:20px}h2{border-bottom:1px solid #444;color:#50c878;margin-bottom:20px;margin-top:0;padding-bottom:10px}.submission-form{display:flex;flex-direction:column;gap:15px}.form-group{margin-bottom:15px}.form-group label{font-weight:700;margin-bottom:5px}.character-select,.form-input,.form-select,.form-textarea{background-color:#333;border:1px solid #444;border-radius:5px;color:#fff;padding:10px;width:100%}.form-textarea{min-height:100px;resize:vertical}.trait-input-container{display:flex;margin-bottom:10px}.trait-input{background-color:#333;border:1px solid #444;border-radius:5px 0 0 5px;color:#fff;flex:1 1;padding:10px}.add-trait-btn{background-color:#50c878;border:none;border-radius:0 5px 5px 0;color:#fff;cursor:pointer;padding:10px 15px}.add-trait-btn:hover{background-color:#40a060}.traits-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.trait-tag{align-items:center;background-color:#444;border-radius:15px;color:#fff;display:flex;padding:5px 10px}.remove-trait-btn{background:none;border:none;color:#ff6b6b;cursor:pointer;font-size:16px;margin-left:5px}.submission-status{background-color:#333;border-radius:5px;margin:15px 0;padding:10px;text-align:center}.submission-status.submitting{background-color:#4e5d94}.submit-btn{background-color:#50c878;border:none;border-radius:5px;color:#fff;cursor:pointer;font-weight:700;padding:12px 20px;transition:background-color .2s}.submit-btn:hover:not(:disabled){background-color:#40a060}.submit-btn:disabled{background-color:#666;cursor:not-allowed}.submissions-list{display:flex;flex-direction:column;gap:15px}.submission-item{background-color:#333;border-left:4px solid #555;border-radius:5px;padding:15px}.submission-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:10px}.submission-header h3{color:#fff;margin:0}.status-pending{background-color:#f0ad4e;border-radius:3px;color:#333;font-size:.8rem;font-weight:700;padding:3px 8px}.status-approved{background-color:#5cb85c}.status-approved,.status-rejected{border-radius:3px;color:#fff;font-size:.8rem;font-weight:700;padding:3px 8px}.status-rejected{background-color:#d9534f}.status-unknown{background-color:#5bc0de;border-radius:3px;color:#fff;font-size:.8rem;font-weight:700;padding:3px 8px}.submission-meta{color:#aaa;font-size:.9rem;margin-bottom:10px}.submission-notes{background-color:#2a2a2a;border-radius:5px;font-style:italic;margin-top:10px;padding:10px}.no-submissions{color:#aaa;padding:20px;text-align:center}@media (max-width:768px){.submission-sections{flex-direction:column}.submission-form-section,.submissions-history-section{width:100%}}.credit-input-container{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.credit-input{background-color:#333;border:1px solid #444;border-radius:5px;color:#fff;flex:1 1;min-width:120px;padding:10px}.credit-input[name=name]{flex:2 1}.credit-input[name=description]{flex:3 1}.links-input-section{background-color:#0003;border-left:3px solid #007bff;border-radius:5px;margin:10px 0 15px;padding:10px}.links-label{color:#007bff;display:block;font-size:.9rem;font-weight:500;margin-bottom:8px}.link-input-container{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.link-input{background-color:#2a2a2a;border:1px solid #555;border-radius:4px;color:#fff;flex:1 1;font-size:.9rem;min-width:120px;padding:8px}.link-input[name=url]{flex:2 1}.link-input[name=label]{flex:1.5 1}.add-link-btn{background-color:#007bff;border:none;border-radius:4px;color:#fff;cursor:pointer;flex-shrink:0;font-size:.85rem;padding:8px 12px;white-space:nowrap}.add-link-btn:hover:not(:disabled){background-color:#0056b3}.add-link-btn:disabled{background-color:#666;cursor:not-allowed}.current-links-list{display:flex;flex-direction:column;gap:5px;margin-top:8px}.link-item{align-items:center;background-color:#007bff1a;border:1px solid #007bff4d;border-radius:4px;display:flex;justify-content:space-between;padding:6px 10px}.link-text{color:#007bff;flex:1 1;font-size:.85rem;word-break:break-all}.remove-link-btn{background:none;border:none;color:#ff6b6b;cursor:pointer;flex-shrink:0;font-size:16px;margin-left:8px;padding:0 4px}.remove-link-btn:hover{color:#f44}.add-credit-btn{background-color:#007bff;border:none;border-radius:5px;color:#fff;cursor:pointer;flex-shrink:0;margin-bottom:15px;padding:10px 15px;white-space:nowrap}.add-credit-btn:hover{background-color:#0056b3}.credits-list{display:flex;flex-direction:column;gap:8px;margin-top:10px}.credit-item{align-items:flex-start;background-color:#444;border-radius:5px;display:flex;justify-content:space-between;padding:10px}.credit-info{display:flex;flex:1 1;flex-direction:column;gap:4px}.credit-info strong{color:#007bff;font-size:.95rem}.credit-link{color:#007bff;display:inline-block;font-size:.85rem;margin-left:8px;margin-right:8px;text-decoration:none}.credit-link:hover{color:#66b3ff}.credit-description{color:#ccc;font-size:.85rem;margin-top:2px}.remove-credit-btn{background:none;border:none;color:#ff6b6b;cursor:pointer;flex-shrink:0;font-size:18px;padding:0 4px}.remove-credit-btn:hover{color:#f44}.admin-mode-banner{background-color:gold;border:2px solid #ffb000;border-radius:5px;color:#d4500f;font-weight:700;margin-bottom:20px;padding:10px 15px;text-align:center}.admin-approval-page{background-color:#1c1c1c;color:#fff;font-family:Arial,sans-serif;margin:0 auto;max-width:1200px;min-height:calc(100vh - 60px);padding:20px}.admin-login-container{background-color:#242424;border-radius:10px;box-shadow:0 4px 10px #0000004d;margin:40px auto;max-width:400px;padding:30px}.admin-login-container h1{color:#50c878;margin-bottom:10px;text-align:center}.admin-login-container p{color:#ddd;margin-bottom:25px;text-align:center}.admin-login-form{display:flex;flex-direction:column;gap:20px}.form-group{margin-bottom:20px}.form-group label{display:block}.admin-input{background-color:#333;border:1px solid #444;border-radius:5px;color:#fff;font-size:16px;padding:12px;width:100%}.admin-input:focus{border-color:#50c878;outline:none}.admin-error{background-color:#e74c3c33;border-left:3px solid #e74c3c;border-radius:5px;color:#e88379;padding:10px}.admin-login-btn{background-color:#50c878;border:none;border-radius:5px;color:#fff;cursor:pointer;font-weight:700;padding:12px 15px;transition:background-color .2s}.admin-login-btn:hover:not(:disabled){background-color:#40a060}.admin-login-btn:disabled{background-color:#666;cursor:not-allowed}.admin-main-container{margin:0 auto;max-width:1400px;padding:20px}.admin-header{align-items:center;border-bottom:1px solid #333;display:flex;justify-content:space-between;margin-bottom:20px;padding-bottom:15px}.admin-header h1{color:#50c878;margin:0}.admin-controls{align-items:center;display:flex;gap:10px}.admin-welcome{color:#ddd;margin-right:15px}.logout-btn{background-color:#e74c3c;border:none;border-radius:5px;color:#fff;cursor:pointer;padding:8px 15px;transition:all .2s}.logout-btn:hover{background-color:#c0392b;transform:translateY(-1px)}.admin-tabs{border-bottom:2px solid #333;display:flex;margin-bottom:30px}.tab-button{background:none;border:none;border-bottom:3px solid #0000;color:#aaa;cursor:pointer;font-size:16px;font-weight:500;padding:12px 24px;transition:all .3s}.tab-button:hover{background-color:#50c8781a;color:#ddd}.tab-button.active{background-color:#50c8781a;border-bottom-color:#50c878;color:#50c878}.admin-content{min-height:400px}.admin-list-container{background-color:#242424;border-radius:10px;padding:20px}.admin-section-header{align-items:center;border-bottom:1px solid #333;display:flex;justify-content:space-between;margin-bottom:20px;padding-bottom:15px}.admin-section-header h2{color:#50c878;margin:0}.refresh-btn{background-color:#5bc0de;border-radius:5px;padding:8px 15px;transition:all .2s}.refresh-btn:hover:not(:disabled){background-color:#4a9fbf;transform:translateY(-1px)}.clear-processed-btn{background-color:#f39c12;border:none;border-radius:5px;color:#fff;cursor:pointer;padding:8px 15px;transition:all .2s}.clear-processed-btn:hover:not(:disabled){background-color:#e67e22;transform:translateY(-1px)}.clear-processed-btn:disabled{background-color:#666;cursor:not-allowed}.clear-all-btn{background-color:#e74c3c;border:none;border-radius:5px;box-shadow:0 2px 4px #e74c3c4d;color:#fff;cursor:pointer;font-weight:700;padding:8px 15px;transition:all .2s}.clear-all-btn:hover:not(:disabled){background-color:#c0392b;box-shadow:0 4px 8px #e74c3c66;transform:translateY(-1px)}.clear-all-btn:disabled{background-color:#666;box-shadow:none;cursor:not-allowed}.loading,.no-submissions{background-color:#333;border-radius:6px;color:#aaa;margin:20px 0;padding:30px;text-align:center}.submissions-table{background-color:#333;border-collapse:collapse;border-radius:6px;box-shadow:0 2px 8px #0000004d;overflow:hidden;width:100%}.table-header{background-color:#404040;border-bottom:2px solid #444;font-weight:700}.table-header,.table-row{grid-template-columns:80px 2fr 1fr 1fr 1fr 1fr}.table-row{border-bottom:1px solid #444;transition:background-color .2s}.table-row:hover{background-color:#3a3a3a}.table-cell{border-right:1px solid #444;padding:15px 12px}.table-cell:last-child{border-right:none}.character-cell{min-width:200px}.character-info{align-items:center;display:flex;gap:12px}.character-thumb{border:2px solid #555;border-radius:8px;height:50px;object-fit:cover;width:50px}.character-name{color:#50c878;font-size:16px;font-weight:500}.image-cell{justify-content:center;padding:8px}.image-cell,.name-cell{align-items:center;display:flex}.name-cell{min-width:150px}.date-cell,.rating-cell,.submitter-cell,.type-cell,.views-cell{justify-content:center;text-align:center}.actions-cell{justify-content:center}.view-btn{background-color:#50c878;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;padding:8px 16px;transition:all .2s}.view-btn:hover{background-color:#40a060;transform:translateY(-1px)}.rating-badge{border-radius:12px;display:inline-block;font-size:12px;font-weight:700;padding:4px 8px;text-transform:uppercase}.rating-badge.mature{background-color:#f39c12;color:#fff}.rating-badge.explicit{background-color:#e74c3c;color:#fff}.type-badge{border-radius:12px;display:inline-block;font-size:12px;font-weight:700;margin-right:5px;padding:4px 8px;text-transform:uppercase}.type-badge.real{background-color:#3498db;color:#fff}.type-badge.animated{background-color:#9b59b6;color:#fff}.update-badge{background-color:#e67e22;border-radius:12px;color:#fff;display:inline-block;font-size:11px;font-weight:700;margin-left:5px;padding:4px 8px;text-transform:uppercase}.type-info{align-items:center;display:flex;flex-direction:column;gap:4px}.admin-details-container{background-color:#242424;border-radius:10px;margin:0 auto;max-width:1400px;padding:20px}.admin-details-container .admin-header{border-bottom:1px solid #404040;margin-bottom:25px}.header-actions{align-items:center;display:flex;gap:12px}.test-character-btn{background-color:#3498db;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;padding:10px 16px;transition:all .2s}.test-character-btn:hover:not(:disabled){background-color:#2980b9;transform:translateY(-1px)}.debug-btn{background-color:#f39c12;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;font-weight:700;padding:10px 16px;transition:all .2s}.debug-btn:hover:not(:disabled){background-color:#e67e22;transform:translateY(-1px)}.edit-btn{background-color:#9b59b6;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;padding:10px 16px;transition:all .2s}.edit-btn.active{background-color:#8e44ad;box-shadow:0 0 10px #9b59b680}.edit-btn:hover:not(:disabled){background-color:#8e44ad;transform:translateY(-1px)}.save-btn{background-color:#27ae60;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;font-weight:700;padding:10px 16px;transition:all .2s}.save-btn:hover:not(:disabled){background-color:#229954;transform:translateY(-1px)}.back-btn{background-color:#6c757d;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;padding:10px 16px;transition:all .2s}.back-btn:hover{background-color:#5a6268;transform:translateY(-1px)}.details-content{display:flex;flex-direction:column;gap:25px}.character-preview{grid-gap:25px;background-color:#333;border:1px solid #404040;border-radius:10px;display:grid;gap:25px;grid-template-columns:200px 1fr;padding:20px}.character-image{align-items:center;display:flex;flex-direction:column}.character-image img{max-height:240px;max-width:180px;object-fit:cover}.character-image img,.no-image{border:2px solid #555;border-radius:10px}.no-image{align-items:center;background-color:#404040;color:#aaa;display:flex;font-size:14px;height:240px;justify-content:center;width:180px}.character-details h2{color:#50c878;font-size:24px;margin:0 0 15px}.submission-meta{display:flex;flex-direction:column;gap:8px}.submission-meta p{color:#ddd;font-size:14px;margin:0}.submission-meta strong{color:#50c878;margin-right:8px}.image-generation-settings{background-color:#2a2a2a;border:1px solid #404040;border-radius:8px;margin-top:20px;padding:15px}.settings-title{border-bottom:1px solid #404040;color:#50c878;font-size:16px;font-weight:600;margin:0 0 15px;padding-bottom:8px}.image-seed,.image-url{background-color:#333;border-radius:3px;color:#ddd;font-family:Courier New,monospace;font-size:13px;padding:2px 6px}.image-url{display:inline-block;max-width:300px;word-break:break-all}.image-seed{color:#f39c12;font-weight:700}.edit-input{background-color:#404040;border:1px solid #555;border-radius:4px;color:#fff;font-size:14px;padding:8px 12px;transition:border-color .2s;width:100%}.edit-input:focus{border-color:#50c878;outline:none}.edit-select{background-color:#404040;border:1px solid #555;border-radius:4px;color:#fff;cursor:pointer;font-size:14px;padding:8px 12px}.edit-select:focus{border-color:#50c878;outline:none}.edit-textarea{background-color:#404040;border:1px solid #555;border-radius:4px;color:#fff;font-family:Courier New,monospace;font-size:14px;line-height:1.4;padding:12px;resize:vertical;transition:border-color .2s;width:100%}.edit-textarea:focus{border-color:#50c878;outline:none}.edit-textarea.large{min-height:250px}.edit-textarea.medium{min-height:150px}.edit-textarea.small{min-height:80px}.edit-field-with-help{display:flex;flex-direction:column;gap:5px}.field-help{margin-top:5px}.field-help small{background-color:#50c8781a;border-left:3px solid #50c878;border-radius:4px;color:#aaa;display:block;font-size:11px;font-style:italic;line-height:1.3;padding:6px 8px}.seed-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.seed-btn{border:none;border-radius:4px;cursor:pointer;font-size:11px;font-weight:500;padding:4px 8px;transition:all .2s}.seed-btn:hover{transform:translateY(-1px)}.random-seed{background-color:#e74c3c;color:#fff}.random-seed:hover{background-color:#c0392b}.default-seed{background-color:#3498db;color:#fff}.default-seed:hover{background-color:#2980b9}.popular-seed{background-color:#f39c12;color:#fff}.popular-seed:hover{background-color:#e67e22}.character-data{display:flex;flex-direction:column;gap:20px}.data-section{background-color:#333;border:1px solid #404040;border-radius:10px;padding:20px}.data-section h3{align-items:center;border-bottom:2px solid #404040;color:#50c878;display:flex;font-size:18px;gap:8px;margin:0 0 15px;padding-bottom:8px}.data-content{color:#ddd;line-height:1.6}.data-content pre{background-color:#282828;border:1px solid #404040;border-radius:6px;font-family:Courier New,monospace;font-size:13px;line-height:1.4;margin:0;overflow-x:auto;padding:15px;white-space:pre-wrap}.prompt-content pre{background-color:#1a1a2e;border-left:4px solid #50c878}.funscript-content{display:flex;flex-direction:column;gap:20px}.funscript-item{background-color:#404040;border-left:4px solid #50c878;border-radius:8px;padding:20px;position:relative}.funscript-header{align-items:center;border-bottom:1px solid #555;display:flex;font-size:16px;gap:10px;margin-bottom:15px;padding-bottom:8px}.command-trigger{background-color:#282828;border-radius:4px;color:#50c878;font-family:Courier New,monospace;font-weight:700;padding:4px 8px}.command-name{color:#ddd;font-weight:500}.funscript-detail{display:flex;flex-direction:column;font-size:14px;gap:8px;margin:12px 0}.detail-label{color:#50c878;font-weight:700;margin-bottom:4px}.funscript-graph{background-color:#1a1a1a;border:1px solid #333;border-radius:8px;margin:10px 0;padding:15px}.funscript-graph-header{align-items:center;border-bottom:1px solid #333;display:flex;justify-content:space-between;margin-bottom:15px;padding-bottom:10px}.funscript-graph-header h4{color:#50c878;font-size:16px;margin:0}.funscript-stats{color:#aaa;display:flex;font-size:12px;gap:15px}.funscript-stats span{background-color:#333;border:1px solid #444;border-radius:4px;padding:4px 8px}.funscript-graph-container{background-color:#0f0f0f;border:1px solid #333;border-radius:6px;display:flex;justify-content:center;overflow-x:auto;padding:10px}.funscript-svg{background-color:#0f0f0f;border-radius:4px;max-width:100%}.funscript-point{transition:r .2s}.funscript-point:hover{r:4;fill:#40a060}.funscript-graph-error{background-color:#e74c3c1a;border:1px solid #e74c3c4d;border-radius:6px;color:#e74c3c;font-style:italic;padding:20px;text-align:center}.funscript-json,.parameters-json{background-color:#282828;border:1px solid #555;border-radius:6px;color:#ddd;font-family:Courier New,monospace;font-size:12px;margin-top:8px;max-height:200px;overflow-y:auto;padding:12px}.funscript-link{color:#3498db;text-decoration:underline;word-break:break-all}.funscript-link:hover{color:#5dade2}.funscript-preview{background-color:#282828;border:1px solid #555;border-radius:6px;margin-top:8px;padding:15px}.funscript-preview details{margin-top:10px}.funscript-preview summary{background-color:#404040;border-radius:4px;color:#50c878;cursor:pointer;font-weight:500;margin-bottom:10px;padding:8px;transition:background-color .2s}.funscript-preview summary:hover{background-color:#4a4a4a}.funscript-preview p{color:#ddd;margin:5px 0}.command-image-preview{margin-top:10px;text-align:center}.command-image{border:2px solid #555;border-radius:6px;max-height:150px;max-width:200px;object-fit:cover}.audio-preview{align-items:center;display:flex;gap:10px;margin-top:8px}.play-audio-btn{background-color:#2c7be5;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:14px;padding:8px 12px;transition:background-color .2s}.play-audio-btn:hover{background-color:#1a68d1}.play-audio-btn:before{content:"🔊";margin-right:5px}.audio-size{color:#aaa;font-size:12px}.download-funscript-btn{align-items:center;background-color:#2c7be5;border:none;border-radius:4px;color:#fff;cursor:pointer;display:inline-flex;font-size:14px;margin-bottom:10px;margin-right:10px;padding:8px 12px;transition:background-color .2s}.download-funscript-btn:hover{background-color:#1a68d1}.download-funscript-btn:before{content:"⬇️";font-size:14px;margin-right:5px}.funscript-actions{align-items:center;display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.traits-content{display:flex;flex-wrap:wrap;gap:8px}.trait-badge{background-color:#50c87833;border:1px solid #50c878;border-radius:20px;display:inline-block;font-size:12px;padding:6px 12px}.action-status,.trait-badge{color:#50c878;font-weight:500}.action-status{background-color:#50c8781a;border:1px solid #50c8784d;border-radius:6px;margin:15px 0;padding:12px;text-align:center}.action-status.error{background-color:#e74c3c1a;border-color:#e74c3c4d;color:#e74c3c}.review-action-section{background-color:#333;border:1px solid #404040;border-radius:10px;margin-top:20px;padding:20px}.review-action-section h3{border-bottom:2px solid #404040;color:#50c878;font-size:18px;margin:0 0 15px;padding-bottom:8px}.review-notes{background-color:#404040;border:1px solid #555;border-radius:6px;color:#fff;font-size:14px;margin-bottom:15px;min-height:120px;padding:12px;resize:vertical;transition:border-color .2s;width:100%}.review-notes:focus{border-color:#50c878;outline:none}.review-notes:disabled{cursor:not-allowed;opacity:.6}.action-buttons{display:flex;gap:15px;justify-content:center;margin-top:20px}.approve-btn,.reject-btn{border:none;border-radius:6px;cursor:pointer;font-size:16px;font-weight:600;min-width:140px;padding:12px 24px;transition:all .2s}.approve-btn{background-color:#50c878;color:#fff}.approve-btn:hover:not(:disabled){background-color:#40a060;transform:translateY(-1px)}.reject-btn{background-color:#e74c3c;color:#fff}.reject-btn:hover:not(:disabled){background-color:#c0392b;transform:translateY(-1px)}.approve-btn:disabled,.reject-btn:disabled{background-color:#666;color:#aaa;cursor:not-allowed;transform:none}@media (max-width:1200px){.admin-main-container{padding:15px}.character-preview{gap:20px;grid-template-columns:150px 1fr}.character-image img,.no-image{max-height:180px;max-width:130px}}@media (max-width:768px){.admin-tabs{flex-direction:column;gap:5px}.tab-button{border-bottom:none;border-left:3px solid #0000;text-align:left}.tab-button.active{border-bottom-color:#0000;border-left-color:#50c878}.character-preview{grid-template-columns:1fr;text-align:center}.table-header,.table-row{gap:10px;grid-template-columns:1fr}.table-cell{border-bottom:1px solid #444;border-right:none;justify-content:space-between}.table-cell:before{color:#50c878;content:attr(data-label);font-weight:700}.header-actions{gap:8px}.action-buttons,.header-actions{flex-direction:column}}.loading{position:relative}.loading:after{animation:spin 1s linear infinite;border:2px solid #333;border-radius:50%;border-top-color:#50c878;content:"";height:20px;position:absolute;right:10px;top:50%;transform:translateY(-50%);width:20px}.metrics-container{background:#1a1a1a;color:#fff;min-height:100vh;padding:20px}.metrics-header{align-items:center;border-bottom:2px solid #333;display:flex;justify-content:space-between;margin-bottom:30px;padding-bottom:15px}.metrics-header h2{color:#50c878;font-size:1.8em;margin:0}.metrics-controls{display:flex;gap:15px}.metrics-controls .refresh-btn{background:#50c878;border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:500;padding:10px 20px;transition:all .3s ease}.metrics-controls .refresh-btn:hover{background:#45b369;transform:translateY(-1px)}.metrics-controls .refresh-btn:disabled{background:#666;cursor:not-allowed;transform:none}.metrics-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));margin-bottom:30px}.reset-total-btn{background:#ff6b6b;border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:500;padding:10px 20px;transition:all .3s ease}.reset-total-btn:hover:not(:disabled){background:#ff5252;transform:translateY(-1px)}.reset-total-btn:disabled{background:#666;cursor:not-allowed;opacity:.5;transform:none}.reset-total-btn.disabled{background:#444;color:#888;cursor:not-allowed}.emergency-fallback-btn{background:#ff9500;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;padding:10px 20px;transition:all .3s ease}.emergency-fallback-btn:hover:not(:disabled){background:#e6850e;transform:translateY(-1px)}.emergency-fallback-btn:disabled{background:#666;cursor:not-allowed;opacity:.5;transform:none}.emergency-fallback-btn.disabled{background:#444;color:#888;cursor:not-allowed}.clear-historical-btn{background:#e74c3c;border:2px solid #c0392b;border-radius:6px;box-shadow:0 2px 4px #e74c3c4d;color:#fff;cursor:pointer;font-size:14px;font-weight:500;padding:10px 20px;transition:all .3s ease}.clear-historical-btn:hover:not(:disabled){background:#c0392b;border-color:#a93226;box-shadow:0 4px 8px #e74c3c66;transform:translateY(-1px)}.clear-historical-btn:disabled{background:#666;border-color:#555;box-shadow:none;cursor:not-allowed;opacity:.5;transform:none}.clear-historical-btn.disabled{background:#444;border-color:#333;box-shadow:none;color:#888;cursor:not-allowed}.metrics-card.emergency-status{border:2px solid #ff6b6b;overflow:hidden;position:relative}.metrics-card.emergency-status.active{animation:pulse-emergency 2s infinite;background:linear-gradient(135deg,#2d1b1b,#1a1a1a);border-color:#f44}.metrics-card.emergency-status.inactive{background:linear-gradient(135deg,#1b2d1b,#1a1a1a);border-color:#50c878}@keyframes pulse-emergency{0%{box-shadow:0 0 0 0 #ff4444b3}70%{box-shadow:0 0 0 10px #f440}to{box-shadow:0 0 0 0 #f440}}.emergency-indicator{margin-bottom:15px}.status-badge{border-radius:20px;display:inline-block;font-size:14px;font-weight:700;margin-bottom:10px;padding:8px 16px}.status-badge.emergency-active{animation:blink 1.5s infinite;background:#f44;color:#fff}.status-badge.emergency-inactive{background:#50c878;color:#fff}@keyframes blink{0%,50%{opacity:1}51%,to{opacity:.7}}.status-description{font-size:16px;font-weight:500;margin-bottom:8px}.fallback-voice-info{background:#ffcc001a;border-radius:4px;color:#fc0;font-size:14px;margin-top:8px;padding:8px}.emergency-explanation{background:#0000004d;border-left:4px solid #ff6b6b;border-radius:6px;color:#ccc;font-size:13px;line-height:1.4;padding:12px}.emergency-status.inactive .emergency-explanation{border-left-color:#50c878}.metrics-card{background:#2d2d2d;border:1px solid #444;border-radius:8px;padding:20px;transition:all .3s ease}.metrics-card:hover{border-color:#50c878;box-shadow:0 4px 12px #50c87833;transform:translateY(-2px)}.metrics-card h3{align-items:center;color:#50c878;display:flex;font-size:1.2em;gap:8px;margin:0 0 15px}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.stat-item{text-align:center}.stat-label{font-size:.9em;margin-bottom:5px}.stat-value{font-size:1.5em;font-weight:700;margin-bottom:2px}.stat-value.large{font-size:2em}.stat-value.cost{color:orange}.stat-value.warning{color:#ff6b6b}.stat-value.success{color:#50c878}.stat-subtext{color:#888;font-size:.8em}.progress-section{margin-top:15px}.progress-label{color:#ccc;font-size:.9em;margin-bottom:8px}.progress-bar{background:#444;border-radius:6px;height:12px;overflow:hidden;position:relative}.progress-fill{background:linear-gradient(90deg,currentColor,#fff3);border-radius:6px;height:100%;transition:width .3s ease}.progress-stats{color:#aaa;display:flex;font-size:.8em;justify-content:space-between;margin-top:5px}.cost-table{background:#1a1a1a;border-radius:6px;overflow:hidden}.cost-header{background:#333;border-bottom:1px solid #444;color:#50c878;font-weight:700;padding:12px}.cost-header,.cost-row{display:grid;grid-template-columns:1fr 1fr 1fr}.cost-row{border-bottom:1px solid #333;padding:10px 12px;transition:background .2s ease}.cost-row:hover{background:#2a2a2a}.cost-row.active{background:#50c8781a;border-left:3px solid #50c878}.cost-row.partial{background:#ffa5001a;border-left:3px solid orange}.cost-explanation{background:#50c8781a;border-left:4px solid #50c878;border-radius:4px;color:#ddd;font-size:14px;line-height:1.4;margin-top:15px;padding:12px}.cost-explanation strong{color:#50c878}.usage-graph{background:#2a2a2a;border:1px solid #444;border-radius:10px;margin-bottom:20px;padding:20px}.usage-graph-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:20px}.usage-graph-header h4{color:#50c878;font-size:1.3em;margin:0}.graph-legend{display:flex;gap:20px}.legend-item{background:#1a1a1a;border-radius:4px;font-size:.9em;padding:5px 10px}.legend-item.characters{border:1px solid #50c878;color:#50c878}.legend-item.cost{border:1px solid orange;color:orange}.usage-graph-container{display:flex;justify-content:center;overflow-x:auto;padding:10px 0}.usage-svg{background:#1a1a1a;border:1px solid #333;border-radius:6px}.char-bar:hover,.cost-bar:hover{stroke:#fff;stroke-width:1;opacity:1!important}.trends-grid{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.trend-item{background:#1a1a1a;border:1px solid #333;border-radius:6px;padding:15px;text-align:center;transition:border-color .2s ease}.trend-item:hover{border-color:#50c878}.trend-month{color:#50c878;font-size:.9em;font-weight:700;margin-bottom:5px}.trend-chars{color:#fff;font-size:1.1em;margin-bottom:3px}.trend-cost{color:orange;font-size:1.2em;font-weight:700}.metrics-chart-section{margin:30px 0}.metrics-error,.metrics-loading{align-items:center;display:flex;flex-direction:column;justify-content:center;min-height:400px;text-align:center}.metrics-error h2,.metrics-loading h2{color:#50c878;margin-bottom:20px}.loading-spinner{animation:spin 2s linear infinite;font-size:3em}.usage-graph-error{background:#1a1a1a;border:1px dashed #444;border-radius:6px;color:#888;padding:40px;text-align:center}@media (max-width:768px){.metrics-grid{grid-template-columns:1fr}.metrics-header{align-items:stretch;flex-direction:column;gap:15px}.metrics-controls{justify-content:center}.stats-grid{grid-template-columns:repeat(2,1fr)}.cost-header,.cost-row{grid-template-columns:2fr 1fr 2fr}.trends-grid{grid-template-columns:repeat(2,1fr)}.usage-graph-container{overflow-x:auto}.usage-svg{min-width:600px}}@media (max-width:480px){.metrics-container{padding:10px}.metrics-card{padding:15px}.stats-grid,.trends-grid{grid-template-columns:1fr}.legend-item{font-size:.8em;padding:3px 6px}.graph-legend{flex-direction:column;gap:5px}}.tab-button{transition:all .3s ease}.tab-button:hover{background:#50c8781a;transform:translateY(-1px)}.text-center{text-align:center}.text-right{text-align:right}.text-success{color:#50c878}.text-warning{color:orange}.text-danger{color:#ff6b6b}.text-muted{color:#888}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.metrics-card{animation:fadeInUp .5s ease forwards}.metrics-card:nth-child(2){animation-delay:.1s}.metrics-card:nth-child(3){animation-delay:.2s}.metrics-card:nth-child(4){animation-delay:.3s}.neural-commands-content{background-color:#2d2d2d;border-left:4px solid #50c878;border-radius:8px;padding:20px}.neural-commands-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));margin-top:20px}.neural-command-item{background-color:#333;border:1px solid #444;border-radius:8px;padding:15px;transition:all .2s ease}.neural-command-item:hover{border-color:#50c878;box-shadow:0 4px 12px #50c8781a;transform:translateY(-2px)}.neural-command-header{align-items:center;border-bottom:1px solid #555;display:flex;justify-content:space-between;margin-bottom:12px;padding-bottom:8px}.neural-command-name{color:#50c878;font-size:16px;font-weight:700}.neural-badge{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;color:#fff;font-size:11px;font-weight:700;letter-spacing:.5px;padding:4px 8px;text-transform:uppercase}.neural-command-detail{display:flex;flex-direction:column;gap:8px}.neural-command-detail .detail-label{color:#999;font-size:13px;font-weight:500;margin-bottom:5px}.neural-url-edit-container{align-items:center;display:flex;gap:8px}.neural-url-input{flex:1 1;min-width:0}.neural-image-preview,.neural-url-display{display:flex;flex-direction:column;gap:8px}.neural-command-image{border:2px solid #0000;border-radius:6px;cursor:pointer;height:120px;max-width:200px;object-fit:cover;transition:all .2s ease;width:100%}.neural-command-image:hover{border-color:#50c878;transform:scale(1.02)}.image-url-text{color:#888;font-size:12px}.image-url-link{color:#50c878;text-decoration:none;word-break:break-all}.image-url-link:hover{text-decoration:underline}.no-image-text{color:#666;font-size:13px;font-style:italic}.image-load-error{background-color:#441;border-radius:4px;color:#faa;font-size:13px;padding:8px;text-align:center}.preview-btn{background-color:#3498db;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:12px;padding:6px 12px;transition:all .2s ease;white-space:nowrap}.preview-btn:hover{background-color:#2980b9;transform:translateY(-1px)}.neural-commands-help{background-color:#2c3e50;border-left:4px solid #3498db;border-radius:6px;margin-top:25px;padding:15px}.neural-commands-help h4{color:#3498db;font-size:14px;margin-bottom:10px}.neural-commands-help ul{color:#bbb;font-size:13px;line-height:1.5;margin:0;padding-left:20px}.neural-commands-help li{margin-bottom:5px}.modal-overlay{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background-color:#000c}.image-preview-modal{background-color:#333;border-radius:10px;box-shadow:0 10px 30px #00000080;display:flex;flex-direction:column;max-height:90vh;max-width:90vw;overflow:hidden}.image-preview-modal .modal-header{align-items:center;background-color:#404040;border-bottom:1px solid #555;display:flex;justify-content:space-between;padding:15px 20px}.image-preview-modal .modal-header h3{color:#50c878;font-size:18px;margin:0}.image-preview-modal .close-button{align-items:center;background:none;border:none;border-radius:50%;color:#ccc;cursor:pointer;display:flex;font-size:24px;height:30px;justify-content:center;padding:0;transition:all .2s ease;width:30px}.image-preview-modal .close-button:hover{background-color:#555;color:#fff}.image-preview-modal .modal-body{align-items:center;display:flex;justify-content:center;min-height:200px;padding:20px}.image-preview-modal .modal-footer{background-color:#404040;border-top:1px solid #555;display:flex;justify-content:center;padding:15px 20px}.open-in-new-tab-btn{background-color:#50c878;border-radius:6px;color:#fff;font-size:14px;padding:8px 16px;text-decoration:none;transition:all .2s ease}.open-in-new-tab-btn:hover{background-color:#45b369;transform:translateY(-1px)}.category-badge{background:linear-gradient(135deg,#50c878,#45b369);border-radius:12px;box-shadow:0 2px 4px #50c8784d;color:#fff;display:inline-block;font-size:12px;font-weight:600;margin-left:8px;padding:4px 8px}.admin-sales-tab{background:#1a1a1a;color:#fff;min-height:100vh;padding:20px}.access-denied{background:#2a2a2a;border-radius:8px;margin-top:20px;padding:40px}.access-denied h3{color:#ff6b6b}.access-denied p{color:#aaa}.sales-header{align-items:center;border-bottom:2px solid #333;display:flex;justify-content:space-between;margin-bottom:30px;padding-bottom:20px}.sales-header h2{color:#fff;font-size:2rem;margin:0}.refresh-btn{background:#a36cff;border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:500;padding:12px 24px;transition:all .3s ease}.refresh-btn:hover:not(:disabled){background:#8b4fff;transform:translateY(-2px)}.sales-nav{background:#2a2a2a;border-radius:8px;display:flex;gap:8px;margin-bottom:30px;overflow-x:auto;padding:6px}.sales-nav button{background:#0000;border:none;border-radius:6px;color:#aaa;cursor:pointer;flex-shrink:0;font-weight:500;padding:12px 20px;transition:all .3s ease;white-space:nowrap}.sales-nav button:hover{background:#333;color:#fff}.sales-nav button.active{background:#a36cff;color:#fff}.sales-content{background:#1e1e1e;border-radius:8px;box-shadow:0 4px 12px #0000004d;padding:30px}.error,.loading,.no-data{background:#2a2a2a;border-radius:8px;padding:40px;text-align:center}.loading{color:#a36cff}.error,.loading{font-size:1.1rem}.error{color:#ff6b6b}.no-data{color:#aaa;font-size:1.1rem}.sales-overview{display:flex;flex-direction:column;gap:30px}.metrics-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.metric-card{align-items:center;background:#2a2a2a;border:1px solid #333;border-radius:12px;display:flex;gap:20px;padding:24px;transition:all .3s ease}.metric-card:hover{box-shadow:0 8px 24px #0006;transform:translateY(-4px)}.metric-card.revenue{border-left:4px solid #4caf50}.metric-card.subscribers{border-left:4px solid #2196f3}.metric-card.recent{border-left:4px solid #ff9800}.metric-card.churn{border-left:4px solid #f44336}.metric-icon{font-size:2.5rem;opacity:.8}.metric-content h3{color:#fff;font-size:1.1rem;font-weight:600;margin:0 0 8px}.metric-value{font-size:2.2rem;font-weight:700;margin-bottom:4px}.metric-subtitle{color:#aaa;font-size:.9rem}.overview-details{grid-gap:30px;display:grid;gap:30px;grid-template-columns:1fr 1fr}.detail-section{background:#2a2a2a;border-radius:8px;padding:24px}.detail-section h4{color:#fff;font-size:1.3rem;margin:0 0 20px}.stat-list{display:flex;flex-direction:column;gap:12px}.stat-item{align-items:center;border-bottom:1px solid #333;display:flex;justify-content:space-between;padding:8px 0}.stat-item:last-child{border-bottom:none}.stat-label{color:#aaa;font-size:.9rem}.stat-value{color:#fff;font-weight:600}.promo-usage{display:flex;flex-direction:column;gap:12px}.promo-item{align-items:center;background:#333;border-radius:6px;display:flex;justify-content:space-between;padding:12px 16px}.promo-code{color:#a36cff;font-family:monospace;font-weight:600}.promo-count{color:#fff;font-weight:500}.no-promo{color:#aaa;font-style:italic;padding:20px;text-align:center}.last-updated{border-top:1px solid #333;color:#666;padding-top:20px;text-align:center}.sales-chart{display:flex;flex-direction:column;gap:30px}.chart-header{align-items:flex-start;display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between}.chart-header h3{color:#fff;font-size:1.5rem;margin:0}.chart-stats{display:flex;flex-wrap:wrap;gap:20px}.chart-stats .stat{align-items:center;display:flex;flex-direction:column;text-align:center}.chart-stats .stat-label{color:#aaa;font-size:.85rem;margin-bottom:4px}.chart-stats .stat-value{color:#fff;font-size:1.2rem;font-weight:600}.chart-container{align-items:flex-end;background:#2a2a2a;border-radius:8px;display:flex;gap:20px;min-height:350px;overflow-x:auto;padding:20px}.chart-y-axis{border-right:1px solid #444;display:flex;flex-direction:column;height:300px;justify-content:space-between;padding-right:10px}.y-axis-label{color:#aaa;font-size:.8rem;text-align:right}.chart-bars{align-items:flex-end;display:flex;flex:1 1;gap:12px;min-width:600px}.chart-bar-container{align-items:center;display:flex;flex:1 1;flex-direction:column;gap:8px}.chart-bar{align-items:flex-end;background:linear-gradient(0deg,#a36cff,#8b4fff);border-radius:4px 4px 0 0;cursor:pointer;display:flex;justify-content:center;min-width:30px;position:relative;transition:all .3s ease;width:100%}.chart-bar:hover{background:linear-gradient(0deg,#8b4fff,#7c3aff);transform:scaleY(1.1)}.chart-bar.current-month{background:linear-gradient(0deg,#4caf50,#45a049)}.bar-value{background:#000000b3;border-radius:4px;color:#fff;font-size:.8rem;font-weight:600;min-width:20px;padding:4px;position:absolute;text-align:center;top:-25px}.chart-bar-label{color:#aaa;font-size:.8rem;text-orientation:mixed;transform:rotate(180deg);writing-mode:vertical-lr}.chart-insights{background:#2a2a2a;border-radius:8px;padding:24px}.chart-insights h4{color:#fff;font-size:1.3rem;margin:0 0 20px}.insights-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.insight-item{align-items:center;background:#333;border-radius:6px;display:flex;gap:12px;padding:16px}.insight-icon{font-size:1.5rem;opacity:.8}.insight-text{color:#fff;font-size:.9rem}.insight-text strong{color:#a36cff}.promo-code-stats{flex-direction:column;gap:30px}.promo-header{display:flex;flex-direction:column;gap:20px}.promo-header h3{color:#fff;font-size:1.5rem;margin:0}.promo-summary{grid-gap:16px;background:#2a2a2a;border-radius:8px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));padding:20px}.summary-item{align-items:center;display:flex;flex-direction:column;text-align:center}.summary-label{color:#aaa;font-size:.85rem;margin-bottom:4px}.summary-value{color:#fff;font-size:1.2rem;font-weight:600}.promo-codes-list{display:flex;flex-direction:column;gap:20px}.promo-code-card{background:#2a2a2a;border:1px solid #333;border-radius:8px;padding:24px;transition:all .3s ease}.promo-code-card:hover{border-color:#a36cff;transform:translateY(-2px)}.promo-code-header{gap:16px;justify-content:space-between;margin-bottom:20px}.promo-code-header,.promo-code-name{align-items:center;display:flex;flex-wrap:wrap}.promo-code-name{gap:12px}.code-badge{background:#a36cff;border-radius:4px;color:#fff;font-family:monospace;font-size:.9rem;font-weight:600;padding:6px 12px}.code-description{color:#aaa;font-size:.9rem}.promo-code-stats{display:flex;flex-wrap:wrap;gap:12px}.stat-chip{background:#333;border-radius:4px;font-size:.8rem;padding:6px 12px}.stat-chip .stat-label{color:#aaa;margin-right:6px}.stat-chip .stat-value{color:#fff;font-weight:600}.promo-code-metrics{display:flex;flex-direction:column;gap:12px;margin-bottom:20px}.metric-row{grid-gap:20px;display:grid;gap:20px;grid-template-columns:1fr 1fr}.metric-item{align-items:center;border-bottom:1px solid #333;display:flex;justify-content:space-between;padding:8px 0}.metric-label{color:#aaa;font-size:.9rem}.metric-value{color:#fff;font-weight:600}.status-active{color:#4caf50}.promo-code-activity{border-top:1px solid #333;margin-top:20px;padding-top:20px}.promo-code-activity h5{color:#fff;font-size:1.1rem;margin:0 0 16px}.activity-timeline{display:flex;flex-direction:column;gap:8px}.activity-item{align-items:center;display:flex;gap:12px;padding:8px 0}.activity-dot{background:#a36cff;border-radius:50%;flex-shrink:0;height:8px;width:8px}.activity-item.more .activity-dot{background:#666}.activity-content{align-items:center;display:flex;justify-content:space-between;width:100%}.activity-user{color:#fff;font-size:.9rem}.activity-time{color:#aaa;font-size:.8rem}.activity-more{color:#aaa;font-size:.9rem;font-style:italic}.no-promo-codes{padding:40px;text-align:center}.empty-state{color:#aaa}.empty-icon{font-size:3rem;margin-bottom:16px}.empty-state h4{color:#fff;margin-bottom:8px}.commission-insights{background:#2a2a2a;border-radius:8px;padding:24px}.commission-insights h4{color:#fff;font-size:1.3rem;margin:0 0 20px}.insight-card{align-items:flex-start;background:#333;border-radius:8px;display:flex;gap:16px;padding:20px;transition:all .3s ease}.insight-card:hover{background:#3a3a3a;transform:translateY(-2px)}.insight-card .insight-icon{flex-shrink:0;font-size:1.8rem;opacity:.8}.insight-content h5{color:#a36cff;font-size:1.1rem;margin:0 0 8px}.insight-content p{color:#fff;font-size:.9rem;line-height:1.4;margin:0}.insight-detail{color:#aaa;display:block;font-size:.8rem;margin-top:4px}.recent-sales{display:flex;flex-direction:column;gap:30px}.sales-controls{background:#2a2a2a;border-radius:8px;display:flex;flex-wrap:wrap;gap:20px;padding:20px}.control-group{display:flex;flex-direction:column;gap:6px}.control-group label{color:#aaa;font-size:.9rem;font-weight:500}.filter-select,.sort-select{background:#333;border:1px solid #444;border-radius:4px;color:#fff;font-size:.9rem;padding:8px 12px}.filter-select:focus,.sort-select:focus{border-color:#a36cff;outline:none}.sales-summary{background:#2a2a2a;border-radius:8px;padding:20px}.summary-stats{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.summary-stats .stat-item{align-items:center;background:#333;border:none;border-radius:6px;display:flex;flex-direction:column;padding:12px;text-align:center}.summary-stats .stat-label{color:#aaa;font-size:.85rem;margin-bottom:4px}.summary-stats .stat-value{color:#fff;font-size:1.2rem;font-weight:600}.sales-table{background:#2a2a2a;border-radius:8px;overflow:hidden}.table-header{grid-gap:16px;border-bottom:1px solid #444;color:#aaa;gap:16px;grid-template-columns:1.5fr 2fr 1fr 1fr 1fr .8fr;padding:16px 20px}.table-body{max-height:500px;overflow-y:auto}.table-row{grid-gap:16px;gap:16px;grid-template-columns:1.5fr 2fr 1fr 1fr 1fr .8fr;padding:16px 20px;transition:all .3s ease}.table-row:hover{background:#333}.date-primary{color:#fff;font-weight:500}.customer-info{display:flex;flex-direction:column;gap:2px}.customer-email{color:#fff;font-weight:500}.customer-id{color:#aaa;font-size:.8rem}.amount-info{align-items:center;display:flex;gap:8px}.amount-primary,.discount-badge{color:#fff;font-weight:600}.discount-badge{background:#4caf50;border-radius:3px;font-size:.7rem;padding:2px 6px}.promo-badge{background:#a36cff;border-radius:4px;color:#fff;font-family:monospace;font-size:.8rem;font-weight:600;padding:4px 8px}.no-promo{color:#666;font-size:1.2rem}.status-badge{border-radius:12px;font-size:.8rem;padding:4px 12px;text-transform:capitalize}.status-badge.success{background:#4caf50;color:#fff}.status-badge.error{background:#f44336;color:#fff}.status-badge.warning{background:#ff9800;color:#fff}.status-badge.default{background:#666;color:#fff}.country-code{color:#aaa;font-weight:500}.no-sales{padding:40px;text-align:center}.sales-insights{background:#2a2a2a;border-radius:8px;padding:24px}.sales-insights h4{color:#fff;font-size:1.3rem;margin:0 0 20px}.insights-list{display:flex;flex-direction:column;gap:16px}.insights-list .insight-item{align-items:center;background:#333;border-radius:6px;display:flex;gap:12px;padding:16px}.insights-list .insight-icon{font-size:1.5rem;opacity:.8}.insights-list .insight-text{color:#fff;font-size:.9rem}.insights-list .insight-text strong{color:#a36cff}@media (max-width:768px){.admin-sales-tab{padding:16px}.sales-header{gap:16px;text-align:center}.sales-header,.sales-nav{flex-direction:column}.sales-content{padding:20px}.metrics-grid,.overview-details{grid-template-columns:1fr}.chart-header{align-items:center;flex-direction:column;text-align:center}.chart-stats{justify-content:center}.chart-container{overflow-x:scroll}.insights-grid,.table-header,.table-row{grid-template-columns:1fr}.table-header,.table-row{gap:8px}.table-cell{border-bottom:1px solid #333;justify-content:space-between;padding:8px 0}.table-cell:last-child{border-bottom:none}.sales-controls{flex-direction:column}.metric-row{grid-template-columns:1fr}}.line-chart-container{overflow-x:auto}.line-chart{display:block;height:auto;max-width:100%}.line-chart-area{pointer-events:none}.line-chart-wrapper{height:300px;width:100%}.admin-users-tab{color:#fff;min-height:600px;padding:20px}.tab-header{align-items:center;border-bottom:2px solid #333;display:flex;justify-content:space-between;margin-bottom:30px;padding-bottom:15px}.tab-header h2{color:#50c878;font-size:1.8rem;margin:0}.refresh-button{background:linear-gradient(135deg,#50c878,#48a862);border:none;border-radius:8px;color:#151515;cursor:pointer;font-size:.9rem;font-weight:600;padding:10px 20px;transition:all .3s ease}.refresh-button:hover{background:linear-gradient(135deg,#5cd68a,#50c878);transform:translateY(-2px)}.stats-overview{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:30px}.stat-card{background:#2b2b2b;border:1px solid #333;border-radius:12px;padding:25px;text-align:center;transition:transform .3s ease}.stat-card:hover{transform:translateY(-5px)}.stat-number{color:#50c878;font-size:2.5rem;font-weight:700;margin-bottom:8px}.stat-label{color:#ddd;font-size:1rem;letter-spacing:.5px;text-transform:uppercase}.subscription-breakdown{background:#2b2b2b;border:1px solid #333;border-radius:12px;margin-bottom:30px;padding:25px}.subscription-breakdown h3{color:#50c878;font-size:1.3rem;margin-bottom:20px}.breakdown-grid{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:20px}.breakdown-item{background:#1c1c1c;border:1px solid #444;border-radius:8px;padding:20px;text-align:center}.breakdown-count{font-size:2rem;font-weight:700;margin-bottom:8px}.breakdown-count.active{color:#4caf50}.breakdown-count.inactive{color:#757575}.breakdown-count.past-due{color:#ff9800}.breakdown-count.canceled{color:#f44336}.breakdown-count.incomplete{color:#2196f3}.breakdown-label{color:#ddd;font-size:.9rem;margin-bottom:12px}.breakdown-label,.export-button{letter-spacing:.3px;text-transform:uppercase}.export-button{border:none;border-radius:6px;cursor:pointer;font-size:.8rem;font-weight:600;padding:8px 16px;transition:all .3s ease}.export-button:disabled{cursor:not-allowed;opacity:.6}.export-button.active{background:#4caf50;color:#fff}.export-button.inactive{background:#757575;color:#fff}.export-button.past-due{background:#ff9800;color:#fff}.export-button.canceled{background:#f44336;color:#fff}.export-button.incomplete{background:#2196f3;color:#fff}.export-button:hover:not(:disabled){box-shadow:0 4px 12px #0000004d;transform:translateY(-2px)}.export-all-section{border-top:1px solid #444;padding-top:20px;text-align:center}.export-all-button{background:linear-gradient(135deg,#50c878,#48a862);border:none;border-radius:8px;color:#151515;cursor:pointer;font-size:1rem;font-weight:600;letter-spacing:.5px;padding:12px 30px;text-transform:uppercase;transition:all .3s ease}.export-all-button:hover:not(:disabled){background:linear-gradient(135deg,#5cd68a,#50c878);box-shadow:0 6px 16px #50c8784d;transform:translateY(-2px)}.export-all-button:disabled{cursor:not-allowed;opacity:.6}.user-list-section{background:#2b2b2b;border:1px solid #333;border-radius:12px;padding:25px}.user-list-section h3{color:#50c878;font-size:1.3rem;margin-bottom:20px}.user-list-table{background:#1c1c1c;border:1px solid #444;border-radius:8px;overflow:hidden}.table-header{background:#333;font-size:.9rem;font-weight:600;letter-spacing:.3px;text-transform:uppercase}.table-header,.table-row{display:grid;grid-template-columns:1fr 2fr 1fr 1fr 1fr}.table-row{border-bottom:1px solid #333}.table-row:last-child{border-bottom:none}.table-row:hover{background:#50c8780d}.table-cell{align-items:center;color:#ddd;display:flex;font-size:.9rem;padding:12px 15px}.table-header .table-cell{color:#fff;font-weight:600}.username-cell{color:#50c878;font-weight:500}.email-cell{color:#aaa;font-family:monospace;font-size:.85rem}.status-badge{border-radius:4px;font-size:.75rem;font-weight:600;letter-spacing:.3px;padding:4px 8px;text-transform:uppercase}.status-badge.status-active{background:#4caf50;color:#fff}.status-badge.status-inactive{background:#757575;color:#fff}.status-badge.status-past-due{background:#ff9800;color:#fff}.status-badge.status-canceled{background:#f44336;color:#fff}.status-badge.status-incomplete{background:#2196f3;color:#fff}.source-badge{background:#444;border-radius:4px;color:#ddd;font-size:.7rem;letter-spacing:.2px;padding:3px 6px;text-transform:uppercase}.loading-state{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:60px 20px;text-align:center}.loading-spinner{animation:spin 1s linear infinite;border:4px solid #333;border-radius:50%;border-top-color:#50c878;height:40px;margin-bottom:20px;width:40px}.error-state{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:60px 20px;text-align:center}.error-state h3{color:#f44336;margin-bottom:10px}.error-state p{color:#ddd;margin-bottom:20px}.retry-button{background:#f44336;border:none;border-radius:6px;color:#fff;cursor:pointer;padding:10px 20px;transition:all .3s ease}.retry-button:hover{background:#d32f2f;transform:translateY(-2px)}.access-denied{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:60px 20px;text-align:center}.access-denied h3{color:#f44336;margin-bottom:10px}.access-denied p{color:#ddd}.admin-only-tag{align-items:center;display:flex;justify-content:center;margin-top:8px}.admin-badge{background:linear-gradient(135deg,#ff6b35,#f7931e);border:1px solid #ff6b3580;border-radius:6px;box-shadow:0 2px 4px #ff6b354d;color:#fff;font-size:.7rem;font-weight:600;letter-spacing:.3px;padding:4px 8px;text-transform:uppercase}.admin-badge.large{font-size:.8rem;padding:6px 12px}.admin-badge.inline{font-size:.65rem;margin-left:10px;padding:3px 6px}.admin-only-section{background:#ff6b351a;border:1px solid #ff6b354d;border-radius:8px;padding:20px;text-align:center}.admin-only-text{color:#ddd;font-size:.9rem;margin:8px 0 0}.admin-only-placeholder{background:#ff6b350d;border:2px dashed #ff6b354d;border-radius:8px;margin-top:20px;padding:40px 20px;text-align:center}.placeholder-icon{font-size:3rem;margin-bottom:15px;opacity:.7}.admin-only-placeholder p{color:#ddd;font-size:1rem;margin-bottom:20px}.placeholder-features{align-items:center;display:flex;flex-direction:column;gap:8px}.placeholder-features span{background:#ffffff0d;border-left:3px solid #ff6b35;border-radius:4px;color:#bbb;font-size:.85rem;padding:4px 12px}@media (max-width:768px){.admin-users-tab{padding:15px}.tab-header{flex-direction:column;gap:15px;text-align:center}.stats-overview{gap:15px;grid-template-columns:1fr}.breakdown-grid{gap:10px;grid-template-columns:1fr}.table-header,.table-row{gap:5px;grid-template-columns:1fr}.table-cell{border-bottom:1px solid #444;padding:8px 10px}.table-header .table-cell{display:none}.table-cell:before{color:#50c878;content:attr(data-label) ": ";display:inline-block;font-weight:600;min-width:80px}.admin-badge.inline{display:block;margin:8px auto 0;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.admin-only-placeholder{padding:30px 15px}.placeholder-icon{font-size:2.5rem}.placeholder-features{gap:6px}.placeholder-features span{font-size:.8rem;padding:3px 8px}}.training-data-tab-container{background-color:#1c1c1c;color:#fff;font-family:Arial,sans-serif;min-height:600px;padding:20px}.training-data-tab-header{align-items:center;border-bottom:2px solid #333;display:flex;justify-content:space-between;margin-bottom:30px;padding-bottom:15px}.training-data-tab-header h2{color:#50c878;font-size:1.8rem;margin:0}.training-data-tab-header-actions{display:flex;gap:10px}.training-data-tab-export-btn,.training-data-tab-refresh-btn{background-color:#4caf50;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:14px;padding:8px 16px;transition:background-color .3s}.training-data-tab-export-btn:hover,.training-data-tab-refresh-btn:hover{background-color:#45a049}.training-data-tab-export-btn:disabled{background-color:#666;cursor:not-allowed}.training-data-tab-stats{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:30px}.training-data-tab-stat-card{background-color:#242424;border:1px solid #333;border-radius:8px;padding:20px;text-align:center}.training-data-tab-stat-card h3{color:#ccc;font-size:14px;letter-spacing:1px;margin:0 0 10px;text-transform:uppercase}.training-data-tab-stat-value{color:#50c878;font-size:2rem;font-weight:700}.training-data-tab-insights{background-color:#242424;border:1px solid #333;border-radius:8px;margin-bottom:30px;padding:20px}.training-data-tab-insights h3{color:#50c878;margin:0 0 15px}.training-data-tab-insights-list{display:flex;flex-direction:column;gap:8px}.training-data-tab-insight-item{align-items:center;background-color:#333;border-radius:4px;display:flex;justify-content:space-between;padding:8px 12px}.training-data-tab-insight-label{color:#fff;flex:1 1}.training-data-tab-insight-count{background-color:#4caf50;border-radius:12px;color:#fff;font-size:12px;font-weight:700;margin:0 10px;padding:2px 8px}.training-data-tab-insight-time{color:#aaa;font-size:12px}.training-data-tab-filters{background-color:#242424;border:1px solid #333;border-radius:8px;margin-bottom:20px;padding:20px}.training-data-tab-filter-row{align-items:center;display:flex;flex-wrap:wrap;gap:15px}.training-data-tab-filter-input,.training-data-tab-filter-select{background-color:#333;border:1px solid #555;border-radius:4px;color:#fff;font-size:14px;min-width:150px;padding:8px 12px}.training-data-tab-filter-input:focus,.training-data-tab-filter-select:focus{border-color:#50c878;outline:none}.training-data-tab-table-container{background-color:#242424;border:1px solid #333;border-radius:8px;overflow-x:auto}.training-data-tab-table{border-collapse:collapse;font-size:14px;width:100%}.training-data-tab-table th{background-color:#333;border-bottom:2px solid #50c878;color:#50c878;font-weight:700;padding:12px 8px;position:-webkit-sticky;position:sticky;text-align:left;top:0;z-index:10}.training-data-tab-table-row{border-bottom:1px solid #333;transition:background-color .2s}.training-data-tab-table-row:hover{background-color:#2a2a2a}.training-data-tab-table td{padding:12px 8px;vertical-align:middle}.training-data-tab-activity-badge{border-radius:12px;font-size:11px;font-weight:700;padding:4px 8px;text-transform:uppercase}.training-data-tab-activity-badge.sexual{background-color:#ff6b6b;color:#fff}.training-data-tab-activity-badge.non-sexual{background-color:#4ecdc4;color:#fff}.training-data-tab-success-badge{font-size:16px}.training-data-tab-success-badge.success{color:#4caf50}.training-data-tab-success-badge.failed{color:#f44336}.training-data-tab-view-btn{background-color:#2196f3;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:12px;padding:6px 12px;transition:background-color .3s}.training-data-tab-view-btn:hover{background-color:#0b7dda}.training-data-tab-empty{color:#aaa;text-align:center}.training-data-tab-empty,.training-data-tab-loading{background-color:#242424;border:1px solid #333;border-radius:8px;padding:40px}.training-data-tab-loading{align-items:center;display:flex;flex-direction:column;justify-content:center}.training-data-tab-spinner{animation:training-data-tab-spin 1s linear infinite;border:4px solid #333;border-radius:50%;border-top-color:#50c878;height:40px;margin-bottom:15px;width:40px}@keyframes training-data-tab-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.training-data-tab-error{background-color:#242424;border:1px solid #f44336;border-radius:8px;color:#f44336;padding:40px;text-align:center}.training-data-tab-error h3{color:#f44336;margin:0 0 10px}.training-data-tab-modal-overlay{align-items:center;background-color:#000c;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1000}.training-data-tab-modal{background-color:#242424;border:1px solid #333;border-radius:8px;color:#fff;max-height:90vh;max-width:800px;overflow-y:auto;width:100%}.training-data-tab-modal-header{align-items:center;background-color:#333;border-bottom:1px solid #333;border-radius:8px 8px 0 0;display:flex;justify-content:space-between;padding:20px}.training-data-tab-modal-header h3{color:#50c878;margin:0}.training-data-tab-modal-close{background-color:initial;border:none;border-radius:4px;color:#aaa;cursor:pointer;font-size:20px;padding:5px;transition:background-color .3s}.training-data-tab-modal-close:hover{background-color:#f44336;color:#fff}.training-data-tab-modal-content{padding:20px}.training-data-tab-modal-section{border-bottom:1px solid #333;margin-bottom:25px;padding-bottom:20px}.training-data-tab-modal-section:last-child{border-bottom:none}.training-data-tab-modal-section h4{color:#50c878;font-size:1.1rem;margin:0 0 15px}.training-data-tab-modal-section p{line-height:1.4;margin:8px 0}.training-data-tab-modal-section strong{color:#4caf50}.training-data-tab-segments{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.training-data-tab-segment{background-color:#333;border:1px solid #444;border-radius:6px;padding:15px}.training-data-tab-segment p{font-size:13px;margin:6px 0}.training-data-tab-conversation{background-color:#1c1c1c;border:1px solid #333;border-radius:6px;max-height:300px;overflow-y:auto;padding:15px}.training-data-tab-message{border-left:4px solid #4caf50;border-radius:6px;margin-bottom:12px;padding:8px 12px}.training-data-tab-message.user{background-color:#2a3f2a;border-left-color:#4caf50}.training-data-tab-message.assistant{background-color:#2a2a3f;border-left-color:#2196f3}.training-data-tab-message strong{color:#50c878;text-transform:capitalize}@media (max-width:768px){.training-data-tab-container{padding:10px}.training-data-tab-header{align-items:flex-start;flex-direction:column;gap:15px}.training-data-tab-header-actions{justify-content:flex-start;width:100%}.training-data-tab-stats{grid-template-columns:1fr}.training-data-tab-filter-row{align-items:stretch;flex-direction:column}.training-data-tab-filter-input,.training-data-tab-filter-select{min-width:auto;width:100%}.training-data-tab-table-container{overflow-x:scroll}.training-data-tab-modal{margin:10px;max-height:calc(100vh - 20px)}.training-data-tab-segments{grid-template-columns:1fr}}@media (max-width:480px){.training-data-tab-header h2{font-size:1.4rem}.training-data-tab-stat-value{font-size:1.5rem}.training-data-tab-header-actions{flex-direction:column;gap:8px}.training-data-tab-export-btn,.training-data-tab-refresh-btn{width:100%}}.error-logs-tab{background:#1a1d24;color:#fff;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;min-height:calc(100vh - 100px);padding:20px}.error-logs-header{margin-bottom:30px}.error-logs-title{align-items:center;border-bottom:2px solid #2c3440;display:flex;justify-content:space-between;margin-bottom:20px;padding-bottom:15px}.error-logs-title h2{color:#ff6b6b;font-size:28px;font-weight:600;margin:0}.error-stats-summary{align-items:center;display:flex;gap:20px}.total-errors{border-radius:20px}.auto-refresh-btn,.total-errors{background:#2c3440;color:#a8b3c1;font-weight:500;padding:8px 15px}.auto-refresh-btn{border:2px solid #4a5568;border-radius:20px;cursor:pointer;transition:all .3s ease}.auto-refresh-btn:hover{background:#4a5568;color:#fff}.auto-refresh-btn.active{background:#10b981;border-color:#10b981;color:#fff}.error-statistics{margin-bottom:30px}.error-statistics h3{color:#ffa502;font-size:20px;margin-bottom:15px}.stats-grid{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));margin-bottom:20px}.stat-card{background:#2c3440;border-left:4px solid #4a5568;border-radius:8px;padding:15px;transition:all .3s ease}.stat-card:hover{background:#34404f;border-left-color:#ffa502}.stat-header{align-items:center;display:flex;gap:10px;margin-bottom:10px}.stat-icon{font-size:20px}.stat-type{color:#fff;font-size:14px;font-weight:600}.stat-details{align-items:center;display:flex;gap:10px;justify-content:space-between}.stat-severity{border-radius:12px;color:#fff;font-size:11px;font-weight:600;padding:4px 8px;text-transform:uppercase}.stat-count{color:#ffa502;font-size:18px;font-weight:700}.stat-last{color:#a8b3c1;flex:1 1;font-size:11px;text-align:right}.error-filters{background:#2c3440;border-radius:8px;margin-bottom:30px;padding:20px}.filters-row{display:flex;flex-wrap:wrap;gap:15px;margin-bottom:15px}.filters-row:last-child{margin-bottom:0}.filter-group{display:flex;flex:1 1;flex-direction:column;min-width:140px}.filter-group.search-group{flex:2 1;min-width:250px}.filter-group label{color:#a8b3c1;font-size:12px;font-weight:600;margin-bottom:5px;text-transform:uppercase}.filter-group input,.filter-group select{background:#1a1d24;border:2px solid #4a5568;border-radius:6px;color:#fff;font-size:14px;padding:8px 12px;transition:all .3s ease}.filter-group input:focus,.filter-group select:focus{border-color:#ffa502;box-shadow:0 0 0 3px #ffa5021a;outline:none}.filter-group input::placeholder{color:#6b7280}.filter-actions{align-items:flex-end;display:flex;gap:10px}.clear-filters-btn,.refresh-btn{background:#4a5568;border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:500;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;padding:10px 15px;transition:all .3s ease}.clear-filters-btn:hover{background:#6b7280}.refresh-btn:hover{background:#10b981}.refresh-btn:disabled{background:#374151;cursor:not-allowed;opacity:.6}.danger-btn{background:#dc2626;border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:500;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;padding:10px 15px;transition:all .3s ease}.danger-btn:hover:not(:disabled){background:#b91c1c;transform:translateY(-1px)}.danger-btn:disabled{background:#7f1d1d;cursor:not-allowed;opacity:.6;transform:none}.error-logs-content{background:#2c3440;border-radius:8px;overflow:hidden}.loading-spinner{align-items:center;color:#a8b3c1;display:flex;flex-direction:column;font-size:16px;gap:10px;padding:40px;text-align:center}.spinner-icon{animation:spin 1s linear infinite;font-size:24px}.loading-subtext{color:#6b7280;font-size:12px;font-style:italic}.no-errors{color:#a8b3c1;padding:40px;text-align:center}.no-errors h3{color:#10b981;margin-bottom:10px}.no-errors-hint{color:#10b981;font-size:14px;font-style:italic;margin-top:15px}.errors-table-container{overflow-x:auto}.errors-table{border-collapse:collapse;font-size:13px;width:100%}.errors-table th{background:#1a1d24;border-bottom:2px solid #4a5568;color:#fff;font-size:11px;font-weight:600;padding:12px 8px;text-align:left;text-transform:uppercase;white-space:nowrap}.errors-table td{border-bottom:1px solid #4a5568;padding:12px 8px;vertical-align:top}.error-row:hover{background:#34404f}.error-row.severity-critical{border-left:4px solid #ff4757}.error-row.severity-high{border-left:4px solid #ff6b6b}.error-row.severity-medium{border-left:4px solid #ffa502}.error-row.severity-low{border-left:4px solid #26de81}.timestamp-cell{color:#a8b3c1;font-family:Courier New,monospace;font-size:11px;min-width:130px}.type-cell{min-width:140px}.error-type-badge{background:#374151;border-radius:12px;font-size:10px;font-weight:600;padding:4px 8px;text-transform:uppercase;white-space:nowrap}.severity-cell{min-width:80px}.severity-badge{border-radius:12px;color:#fff;font-size:10px;font-weight:600;padding:4px 8px;text-transform:uppercase}.user-cell{color:#10b981;font-weight:500;min-width:100px}.message-cell{word-wrap:break-word;color:#fff;max-width:200px}.url-cell{font-family:Courier New,monospace;max-width:150px;word-break:break-all}.browser-cell,.url-cell{color:#a8b3c1;font-size:11px}.browser-cell{min-width:100px}.actions-cell{min-width:80px}.view-details-btn{background:#ffa502;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:11px;font-weight:600;padding:6px 10px;transition:all .3s ease}.view-details-btn:hover{background:#ff8c00;transform:translateY(-1px)}.pagination{align-items:center;background:#1a1d24;border-top:1px solid #4a5568;display:flex;justify-content:space-between;padding:20px}.page-btn{background:#4a5568;border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:500;padding:8px 15px;transition:all .3s ease}.page-btn:hover:not(:disabled){background:#6b7280}.page-btn:disabled{background:#374151;cursor:not-allowed;opacity:.6}.page-info{color:#a8b3c1;font-weight:500}.error-detail-modal-overlay{align-items:center;background:#000c;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1000}.error-detail-modal{background:#2c3440;border-radius:8px;box-shadow:0 20px 40px #00000080;max-height:80vh;max-width:800px;overflow:hidden;width:100%}.modal-header{align-items:center;background:#1a1d24;border-bottom:2px solid #4a5568;display:flex;justify-content:space-between;padding:20px}.modal-header h3{color:#ff6b6b;font-size:20px;margin:0}.close-modal-btn{align-items:center;background:none;border:none;border-radius:50%;color:#a8b3c1;cursor:pointer;display:flex;font-size:24px;height:30px;justify-content:center;padding:0;transition:all .3s ease;width:30px}.close-modal-btn:hover{background:#ff4757;color:#fff}.modal-body{max-height:60vh;overflow-y:auto;padding:20px}.error-detail-section{border-bottom:1px solid #4a5568;margin-bottom:25px;padding-bottom:15px}.error-detail-section:last-child{border-bottom:none;margin-bottom:0}.error-detail-section h4{color:#ffa502;font-size:16px;font-weight:600;margin:0 0 15px}.detail-grid{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.detail-item{display:flex;flex-direction:column}.detail-item label{color:#a8b3c1;font-size:12px;font-weight:600;margin-bottom:5px;text-transform:uppercase}.detail-item span{color:#fff;font-weight:500}.url-text,.user-agent-text{background:#1a1d24;border-radius:4px;font-family:Courier New,monospace;font-size:12px;padding:8px;word-break:break-all}.additional-data-box,.component-stack-box,.error-message-box,.stack-trace-box{background:#1a1d24;border-left:4px solid #ffa502;border-radius:6px;color:#fff;font-family:Courier New,monospace;font-size:12px;line-height:1.5;overflow-x:auto;padding:15px;white-space:pre-wrap}.error-message-box{border-left-color:#ff6b6b}.stack-trace-box{border-left-color:#ff4757;max-height:200px;overflow-y:auto}.component-stack-box{border-left-color:#10b981}.additional-data-box{border-left-color:#a8b3c1;max-height:150px;overflow-y:auto}.modal-footer{background:#1a1d24;border-top:1px solid #4a5568;padding:20px;text-align:right}.close-btn{background:#6b7280;border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:500;padding:10px 20px;transition:all .3s ease}.close-btn:hover{background:#4a5568}@media (max-width:768px){.error-logs-tab{padding:10px}.error-logs-title{align-items:flex-start;gap:15px}.error-logs-title,.filters-row{flex-direction:column}.filter-group{min-width:100%}.stats-grid{grid-template-columns:1fr}.errors-table-container{font-size:11px}.errors-table td,.errors-table th{padding:8px 4px}.pagination{flex-direction:column;gap:10px}.error-detail-modal{margin:10px;max-height:90vh}.detail-grid{grid-template-columns:1fr}}@media (max-width:480px){.error-logs-title h2{font-size:22px}.errors-table{font-size:10px}.errors-table td,.errors-table th{padding:6px 3px}.view-details-btn{font-size:10px;padding:4px 6px}}.additional-data-box::-webkit-scrollbar,.errors-table-container::-webkit-scrollbar,.modal-body::-webkit-scrollbar,.stack-trace-box::-webkit-scrollbar{width:8px}.additional-data-box::-webkit-scrollbar-track,.errors-table-container::-webkit-scrollbar-track,.modal-body::-webkit-scrollbar-track,.stack-trace-box::-webkit-scrollbar-track{background:#1a1d24}.additional-data-box::-webkit-scrollbar-thumb,.errors-table-container::-webkit-scrollbar-thumb,.modal-body::-webkit-scrollbar-thumb,.stack-trace-box::-webkit-scrollbar-thumb{background:#4a5568;border-radius:4px}.additional-data-box::-webkit-scrollbar-thumb:hover,.errors-table-container::-webkit-scrollbar-thumb:hover,.modal-body::-webkit-scrollbar-thumb:hover,.stack-trace-box::-webkit-scrollbar-thumb:hover{background:#6b7280}.userdata-tab{color:#fff;margin:0 auto;max-width:1200px;padding:20px}.userdata-access-denied{background:#2a2a2a;border:1px solid #444;border-radius:8px;padding:40px;text-align:center}.userdata-access-denied h3{color:#f44336;margin-bottom:10px}.userdata-password-prompt{background:#2a2a2a;border:1px solid #444;border-radius:8px;margin:0 auto;max-width:400px;padding:40px;text-align:center}.userdata-password-prompt h3{color:#a36cff;margin-bottom:10px}.userdata-password-input{background:#1e1e24;border:1px solid #444;border-radius:6px;color:#fff;font-size:16px;margin:15px 0;padding:12px;width:100%}.userdata-password-input:focus{border-color:#a36cff;box-shadow:0 0 0 2px #a36cff33;outline:none}.userdata-password-submit{background:#a36cff;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:16px;font-weight:500;padding:12px;transition:background-color .2s;width:100%}.userdata-password-submit:hover{background:#8a4fff}.userdata-header{align-items:center;border-bottom:1px solid #444;display:flex;justify-content:space-between;margin-bottom:30px;padding-bottom:15px}.userdata-header h2{color:#a36cff;margin:0}.userdata-logout{background:#666;border:none;border-radius:6px;color:#fff;cursor:pointer;padding:8px 16px;transition:background-color .2s}.userdata-logout:hover{background:#777}.userdata-error{background:#f443364d;border:1px solid #f44336;border-radius:6px;color:#f44336;margin-bottom:20px;padding:12px}.userdata-success{background:#4caf504d;border:1px solid #4caf50;border-radius:6px;color:#4caf50;margin-bottom:20px;padding:12px}.userdata-search{background:#2a2a2a;border:1px solid #444;border-radius:8px;margin-bottom:30px;padding:20px}.userdata-search h3{color:#fff;margin-bottom:15px}.userdata-search-controls{display:flex;gap:12px;margin-bottom:20px}.userdata-search-input{background:#1e1e24;border:1px solid #444;border-radius:6px;color:#fff;flex:1 1;font-size:16px;padding:12px}.userdata-search-input:focus{border-color:#a36cff;box-shadow:0 0 0 2px #a36cff33;outline:none}.userdata-search-button{background:#a36cff;border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:500;padding:12px 24px;transition:background-color .2s}.userdata-search-button:hover:not(:disabled){background:#8a4fff}.userdata-search-button:disabled{cursor:not-allowed;opacity:.6}.userdata-search-results h4{color:#fff;margin-bottom:15px}.userdata-results-list{display:flex;flex-direction:column;gap:8px}.userdata-result-item{align-items:center;background:#1e1e24;border:1px solid #444;border-radius:6px;cursor:pointer;display:flex;justify-content:space-between;padding:12px;transition:all .2s}.userdata-result-item:hover{background:#333;border-color:#a36cff}.userdata-result-main{display:flex;flex-direction:column;gap:4px}.userdata-result-main strong{color:#fff}.userdata-result-username{color:#888;font-size:14px}.userdata-result-meta{align-items:flex-end;display:flex;flex-direction:column;gap:4px}.userdata-status{border-radius:4px;font-size:12px;font-weight:500;padding:4px 8px;text-transform:uppercase}.userdata-status.active{background:#4caf504d;color:#4caf50}.userdata-status.past_due{background:#ff98004d;color:#ff9800}.userdata-status.canceled{background:#f443364d;color:#f44336}.userdata-status.none{background:#666;color:#ccc}.userdata-tokens{color:#888;font-size:14px}.userdata-editor{background:#2a2a2a;border:1px solid #444;border-radius:8px;overflow:hidden}.userdata-editor-header{align-items:center;background:#333;border-bottom:1px solid #444;display:flex;justify-content:space-between;padding:20px}.userdata-editor-header h3{color:#a36cff;margin:0}.userdata-editor-controls{display:flex;gap:12px}.userdata-save-button{background:#4caf50;border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:500;padding:8px 16px;transition:background-color .2s}.userdata-save-button:hover:not(:disabled){background:#45a049}.userdata-save-button:disabled{cursor:not-allowed;opacity:.6}.userdata-cancel-button{background:#666;border:none;border-radius:6px;color:#fff;cursor:pointer;padding:8px 16px;transition:background-color .2s}.userdata-cancel-button:hover{background:#777}.userdata-content{grid-gap:30px;display:grid;gap:30px;grid-template-columns:1fr 300px;padding:20px}.userdata-fields h4{color:#fff;margin-bottom:20px}.userdata-field-group{margin-bottom:15px}.userdata-field-group label{color:#ccc;display:block;font-weight:500;margin-bottom:5px}.userdata-field-group input,.userdata-field-group select{background:#1e1e24;border:1px solid #444;border-radius:6px;color:#fff;font-size:14px;padding:8px 12px;width:100%}.userdata-field-group input:focus,.userdata-field-group select:focus{border-color:#a36cff;box-shadow:0 0 0 2px #a36cff33;outline:none}.userdata-quick-actions h4{color:#fff;margin-bottom:15px}.userdata-actions-grid{grid-gap:8px;display:grid;gap:8px;grid-template-columns:1fr}.userdata-action-button{border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:12px;font-weight:500;padding:10px;transition:all .2s}.userdata-action-button.active{background:#4caf50}.userdata-action-button.active:hover{background:#45a049}.userdata-action-button.past-due{background:#ff9800}.userdata-action-button.past-due:hover{background:#f57c00}.userdata-action-button.expired{background:#f44336}.userdata-action-button.expired:hover{background:#d32f2f}.userdata-action-button.canceled{background:#9e9e9e}.userdata-action-button.canceled:hover{background:#757575}.userdata-action-button.clear-tokens{background:#e91e63}.userdata-action-button.clear-tokens:hover{background:#c2185b}.userdata-action-button.add-tokens{background:#2196f3}.userdata-action-button.add-tokens:hover{background:#1976d2}.userdata-action-button.reset{background:#ff5722}.userdata-action-button.reset:hover{background:#d84315}.userdata-action-button.clear{background:#607d8b}.userdata-action-button.clear:hover{background:#455a64}.userdata-info{border-top:1px solid #444;grid-column:1/-1;margin-top:20px;padding-top:20px}.userdata-info h4{color:#fff;margin-bottom:15px}.userdata-status-info{grid-gap:10px;display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.userdata-status-info div{color:#ccc;font-size:14px}.userdata-status-info strong{color:#fff}.userdata-confirm-modal{align-items:center;background:#000000b3;display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:1000}.userdata-confirm-content{background:#2a2a2a;border:1px solid #444;border-radius:8px;max-width:400px;padding:30px;width:90%}.userdata-confirm-content h3{color:#a36cff;margin-bottom:15px}.userdata-confirm-content p{color:#ccc;line-height:1.5;margin-bottom:15px}.userdata-confirm-content strong{color:#fff}.userdata-confirm-buttons{display:flex;gap:12px;justify-content:flex-end;margin-top:20px}.userdata-confirm-yes{background:#f44336;border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:500;padding:8px 16px;transition:background-color .2s}.userdata-confirm-yes:hover:not(:disabled){background:#d32f2f}.userdata-confirm-yes:disabled{cursor:not-allowed;opacity:.6}.userdata-confirm-no{background:#666;border:none;border-radius:6px;color:#fff;cursor:pointer;padding:8px 16px;transition:background-color .2s}.userdata-confirm-no:hover{background:#777}.userdata-stripe-test{background:#2a2a2a;border:1px solid #444;border-left:4px solid #a36cff;border-radius:8px;margin-bottom:25px;padding:25px}.test-section-header{margin-bottom:20px}.step-title{color:#a36cff;display:block;font-size:18px;font-weight:600;margin:0 0 8px}.step-description{color:#ccc;font-size:14px;line-height:1.5;margin:0}.test-controls{align-items:center;display:flex;gap:15px;margin-bottom:20px}.test-button{background:#a36cff;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:16px;font-weight:500;padding:12px 24px;transition:all .2s}.test-button:hover:not(:disabled){background:#8a4fff;transform:translateY(-1px)}.test-button.loading,.test-button:disabled{background:#666;cursor:not-allowed;transform:none}.clear-button{background:#666;border:none;border-radius:6px;color:#fff;cursor:pointer;padding:10px 20px;transition:background .2s}.clear-button:hover{background:#777}.test-results-container{background:#1e1e24;border:1px solid #444;border-radius:8px;margin-top:15px;padding:20px}.test-error{color:#f44336;padding:20px;text-align:center}.test-header{margin-bottom:20px}.connection-status{font-size:16px;font-weight:600;margin:0 0 15px}.connection-status.connected{color:#4caf50}.connection-status.partial{color:#ff9800}.activation-section{background:linear-gradient(135deg,#4caf50,#388e3c);border:2px solid #4caf50;border-radius:10px;color:#fff;margin:15px 0;padding:20px;text-align:center}.step-2-header .step-title{color:#fff;font-size:18px;font-weight:700;margin-bottom:8px}.activation-help{color:#ffffffe6;font-size:14px;margin:0 0 15px}.smart-activate-button{background:#fff;border:none;border-radius:8px;box-shadow:0 4px 8px #0000004d;color:#4caf50;cursor:pointer;font-size:16px;font-weight:700;padding:15px 30px;transition:all .2s}.smart-activate-button:hover:not(:disabled){box-shadow:0 6px 12px #0006;transform:translateY(-2px)}.smart-activate-button.loading,.smart-activate-button:disabled{background:#666;color:#ccc;cursor:not-allowed;transform:none}.no-action-needed{background:linear-gradient(135deg,#2196f3,#1976d2);border:2px solid #2196f3;border-radius:8px;color:#fff;padding:15px;text-align:center}.no-action-needed .step-title{color:#fff;font-weight:600;margin-bottom:5px}.no-action-needed p{color:#ffffffe6;margin:0}.data-comparison{grid-gap:20px;display:grid;gap:20px;grid-template-columns:1fr 1fr;margin-top:20px}.data-section{background:#2a2a2a;border:1px solid #444;border-radius:8px;padding:15px}.data-header{color:#a36cff;font-weight:600;margin:0 0 10px}.data-details{color:#ccc;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:12px;line-height:1.6}.data-details div{border-bottom:1px solid #333;padding:2px 0}.discrepancies-section,.suggestions-section{border-radius:8px;margin-top:15px;padding:15px}.discrepancies-section{background:#332a00;border:1px solid #ff9800}.suggestions-section{background:#036;border:1px solid #2196f3}.discrepancies-header{color:#ff9800;font-weight:600;margin:0 0 10px}.suggestions-header{color:#2196f3;font-weight:600;margin:0 0 10px}.discrepancies-list,.suggestions-list{font-size:12px;margin:0;padding-left:20px}.discrepancies-list{color:#ff9800}.suggestions-list{color:#2196f3}.userdata-manual-activation{background:#2a2a2a;border:1px solid #444;border-left:4px solid #f44336;border-radius:8px;margin-bottom:20px;padding:20px}.userdata-manual-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:15px}.userdata-manual-header h3{color:#f44336;margin:0}.userdata-toggle-button{background:#666;border:none;border-radius:6px;color:#fff;cursor:pointer;padding:8px 16px;transition:background .2s}.userdata-toggle-button:hover{background:#777}@media (max-width:768px){.userdata-content{grid-template-columns:1fr}.userdata-search-controls{flex-direction:column}.userdata-editor-header{align-items:flex-start;flex-direction:column;gap:15px}.userdata-result-item{flex-direction:column;gap:10px}.userdata-result-item,.userdata-result-meta{align-items:flex-start}.data-comparison{grid-template-columns:1fr}.test-controls{align-items:stretch;flex-direction:column}}.audio-experiment-tab{animation:audio-experiment-slideUp .4s ease;background-color:initial;border:1px solid #4444444d;border-radius:14px;box-shadow:0 20px 40px #000000b3;display:flex;flex-direction:column;margin:0 auto;max-width:1200px;overflow:hidden;width:95%}@keyframes audio-experiment-slideUp{0%{opacity:0;transform:translateY(30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.audio-experiment-header{background:linear-gradient(135deg,#1a1a1a,#2d2d2d);border-bottom:1px solid #4444444d;color:#fff;flex-shrink:0;min-height:120px;overflow:hidden;padding:32px 24px 20px;position:relative;text-align:center}.audio-experiment-header h3{color:#50c878;color:var(--primary-color,#50c878);font-size:1.8rem;font-weight:700;letter-spacing:-.3px;margin:0 0 6px;text-shadow:0 2px 8px #000c}.audio-experiment-header p{color:#ddd;font-size:1rem;line-height:1.4;margin:0 0 15px;opacity:.9;text-shadow:0 1px 4px #000c}.audio-experiment-debug-status{background-color:#242424;background-color:var(--medium-bg,#242424);border:2px solid #444;border:2px solid var(--border-color,#444);border-radius:12px;font-size:.9em;margin:15px 0;padding:16px}.audio-experiment-debug-status h4{color:#50c878;color:var(--primary-color,#50c878);font-size:1em;margin:0 0 10px}.audio-experiment-debug-status p{color:#ddd;color:var(--text-light,#ddd);margin:5px 0}.audio-experiment-input-section{-webkit-backdrop-filter:blur(20px)!important;background:#0000004d!important;flex:1 1;min-height:0;overflow-y:auto;padding:24px 20px 20px}.audio-experiment-form-group{margin-bottom:20px}.audio-experiment-form-group label{color:#ddd;color:var(--text-light,#ddd);display:block;font-weight:500;margin-bottom:8px}.audio-experiment-form-group input,.audio-experiment-form-group select,.audio-experiment-form-group textarea{background-color:#242424;background-color:var(--medium-bg,#242424);border:2px solid #444;border:2px solid var(--border-color,#444);border-radius:12px;color:#fff;font-family:inherit;min-height:100px;padding:12px;resize:vertical;transition:all .3s ease;width:100%}.audio-experiment-form-group input:focus,.audio-experiment-form-group select:focus,.audio-experiment-form-group textarea:focus{border-color:#50c878;border-color:var(--primary-color,#50c878);box-shadow:0 0 0 2px #50c87833;outline:none}.audio-experiment-radio-group{display:flex;flex-direction:column;gap:12px}.audio-experiment-radio-option{align-items:flex-start;background-color:#242424;background-color:var(--medium-bg,#242424);border:2px solid #444;border:2px solid var(--border-color,#444);border-radius:12px;cursor:pointer;display:flex;gap:12px;overflow:hidden;padding:16px;position:relative;transition:all .3s ease}.audio-experiment-radio-option:hover{border-color:#50c878;border-color:var(--primary-color,#50c878);box-shadow:0 8px 16px #0000004d;transform:translateY(-2px)}.audio-experiment-radio-option input[type=radio]{accent-color:#50c878;accent-color:var(--primary-color,#50c878);flex-shrink:0;margin-top:4px;min-height:auto;padding:0;width:auto}.audio-experiment-radio-option label{cursor:pointer;flex:1 1;margin-bottom:0}.audio-experiment-radio-option label strong{color:#fff;color:var(--text-primary,#fff);display:block;font-size:1.1rem;margin-bottom:4px}.audio-experiment-radio-option .description{color:#ddd;color:var(--text-light,#ddd);display:block;font-size:.9rem;font-weight:400;line-height:1.3}.audio-experiment-gemini-features{background-color:#242424;background-color:var(--medium-bg,#242424);border:2px solid #50c8784d;border-radius:12px;margin-top:15px;overflow:hidden;padding:20px;position:relative}.audio-experiment-gemini-features h4{align-items:center;color:#50c878;color:var(--primary-color,#50c878);display:flex;font-size:1.2rem;font-weight:700;gap:8px;margin:0 0 15px}.audio-experiment-gemini-mode-selector{display:flex;flex-wrap:wrap;gap:15px;margin-bottom:20px}.audio-experiment-mode-option{align-items:center;background-color:#242424;background-color:var(--medium-bg,#242424);border:2px solid #444;border:2px solid var(--border-color,#444);border-radius:8px;cursor:pointer;display:flex;gap:8px;padding:12px 16px;transition:all .3s ease}.audio-experiment-mode-option:hover{border-color:#50c878;border-color:var(--primary-color,#50c878);box-shadow:0 4px 8px #50c87833;transform:translateY(-2px)}.audio-experiment-mode-option input[type=radio]{accent-color:#50c878;accent-color:var(--primary-color,#50c878);min-height:auto;padding:0;width:auto}.audio-experiment-mode-option label{color:#ddd;color:var(--text-light,#ddd);cursor:pointer;margin:0}.audio-experiment-voice-selector{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:20px}.audio-experiment-voice-option{align-items:center;background-color:#242424;background-color:var(--medium-bg,#242424);border:2px solid #444;border:2px solid var(--border-color,#444);border-radius:8px;cursor:pointer;display:flex;gap:8px;padding:10px 12px;transition:all .3s ease}.audio-experiment-voice-option:hover{border-color:#50c878;border-color:var(--primary-color,#50c878);box-shadow:0 4px 8px #50c87833;transform:translateY(-2px)}.audio-experiment-voice-option input[type=radio]{accent-color:#50c878;accent-color:var(--primary-color,#50c878);min-height:auto;padding:0;width:auto}.audio-experiment-voice-option label{color:#ddd;color:var(--text-light,#ddd);cursor:pointer;font-size:.9em;margin:0}.audio-experiment-multi-speaker-config{margin-bottom:20px}.audio-experiment-speaker-item{align-items:center;background-color:#242424;background-color:var(--medium-bg,#242424);border:1px solid #444;border:1px solid var(--border-color,#444);border-radius:8px;display:flex;gap:15px;margin-bottom:12px;padding:12px}.audio-experiment-speaker-item input,.audio-experiment-speaker-item select{flex:1 1;min-height:auto;padding:8px 12px}.audio-experiment-personality-section{margin-bottom:20px}.audio-experiment-personality-templates{grid-gap:10px;display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:15px}.audio-experiment-template-btn{background-color:#242424;background-color:var(--medium-bg,#242424);border:2px solid #444;border:2px solid var(--border-color,#444);border-radius:8px;color:#ddd;color:var(--text-light,#ddd);cursor:pointer;font-size:.9em;font-weight:500;padding:10px 14px;transition:all .3s ease}.audio-experiment-template-btn:hover{background-color:#50c878;background-color:var(--primary-color,#50c878);box-shadow:0 4px 8px #50c8784d;color:#151515;color:var(--darker-bg,#151515);transform:translateY(-2px)}.audio-experiment-controls-section{align-items:center;border-top:1px solid #444;border-top:1px solid var(--border-color,#444);display:flex;flex-wrap:wrap;gap:15px;padding:20px 0}.audio-experiment-generate-btn{background-color:#50c878;background-color:var(--primary-color,#50c878);border:none;border-radius:12px;color:#151515;color:var(--darker-bg,#151515);cursor:pointer;font-size:1rem;font-weight:700;letter-spacing:.5px;padding:14px 28px;text-transform:uppercase;transition:all .3s ease}.audio-experiment-generate-btn:hover:not(:disabled){background-color:#48a862;background-color:var(--primary-dark,#48a862);box-shadow:0 6px 16px #50c8784d;transform:translateY(-2px)}.audio-experiment-generate-btn:disabled{background-color:#666;box-shadow:none;cursor:not-allowed;transform:none}.audio-experiment-stop-btn{background-color:#e74c3c;border:none;border-radius:12px;color:#fff;cursor:pointer;font-size:1rem;font-weight:700;letter-spacing:.5px;padding:14px 28px;text-transform:uppercase;transition:all .3s ease}.audio-experiment-stop-btn:hover{background-color:#c0392b;box-shadow:0 6px 16px #e74c3c4d;transform:translateY(-2px)}.audio-experiment-status-section{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#50c8781a;border:1px solid #50c8784d;border-radius:12px;margin-bottom:20px;padding:16px}.audio-experiment-playing-indicator{align-items:center;animation:audio-experiment-pulse 1.5s infinite;color:#50c878;color:var(--primary-color,#50c878);display:flex;font-size:16px;font-weight:700;gap:8px}@keyframes audio-experiment-pulse{0%{opacity:1}50%{opacity:.6}to{opacity:1}}.audio-experiment-status-message{color:#ddd;color:var(--text-light,#ddd);font-weight:500;margin-bottom:5px}.audio-experiment-progress-message{color:#50c878;color:var(--primary-color,#50c878);font-size:.9em}.audio-experiment-result-section{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#50c8780d;border:1px solid #50c87833;border-radius:12px;margin-bottom:20px;padding:20px}.audio-experiment-result-section h4{color:#50c878;color:var(--primary-color,#50c878);font-size:1.2rem;font-weight:700;margin-bottom:15px}.audio-experiment-audio-controls{display:flex;flex-direction:column;gap:15px}.audio-experiment-audio-controls audio{border-radius:8px;max-width:400px;width:100%}.audio-experiment-audio-buttons{display:flex;flex-wrap:wrap;gap:12px}.audio-experiment-download-btn,.audio-experiment-play-btn{border:none;border-radius:8px;cursor:pointer;font-size:.9rem;font-weight:500;padding:10px 20px;transition:all .3s ease}.audio-experiment-play-btn{background-color:#50c878;background-color:var(--primary-color,#50c878);color:#151515;color:var(--darker-bg,#151515)}.audio-experiment-play-btn:hover{background-color:#48a862;background-color:var(--primary-dark,#48a862);box-shadow:0 4px 8px #50c8784d;transform:translateY(-2px)}.audio-experiment-download-btn{background-color:#5bc0de;color:#fff}.audio-experiment-download-btn:hover{background-color:#4a9fbf;box-shadow:0 4px 8px #5bc0de4d;transform:translateY(-2px)}.audio-experiment-auto-play-note{color:#999;color:var(--text-muted,#999);font-size:.9em;font-style:italic;margin-top:10px}.audio-experiment-info{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#f39c121a;border:1px solid #f39c124d;border-radius:12px;padding:20px}.audio-experiment-info h4{color:#f39c12;font-size:1.2rem;font-weight:700;margin-bottom:15px}.audio-experiment-info ul{list-style:none;margin:0;padding:0}.audio-experiment-info li{color:#ddd;color:var(--text-light,#ddd);margin-bottom:10px;padding-left:18px;position:relative}.audio-experiment-info li:before{color:#50c878;color:var(--primary-color,#50c878);content:"✓";font-weight:700;left:0;position:absolute}.audio-experiment-info li strong{color:#f39c12;font-weight:700}.audio-experiment-info p{color:#ddd;color:var(--text-light,#ddd);font-weight:500;margin:15px 0 0}@media (max-width:768px){.audio-experiment-tab{margin:10px;max-width:95%}.audio-experiment-header{min-height:100px;padding:20px 16px 16px}.audio-experiment-header h3{font-size:1.6rem}.audio-experiment-header p{font-size:.9rem}.audio-experiment-input-section{padding:20px 16px 16px}.audio-experiment-audio-buttons{flex-direction:column}.audio-experiment-audio-controls audio{max-width:100%}.audio-experiment-personality-templates,.audio-experiment-voice-selector{grid-template-columns:1fr}.audio-experiment-gemini-mode-selector{flex-direction:column}.audio-experiment-controls-section{align-items:stretch;flex-direction:column}.audio-experiment-generate-btn,.audio-experiment-stop-btn{width:100%}}@media (max-width:480px){.audio-experiment-tab{border-radius:0;margin:0;width:100%}.audio-experiment-header{min-height:80px;padding:16px 12px 12px}.audio-experiment-header h3{font-size:1.4rem}.audio-experiment-header p{font-size:.85rem}.audio-experiment-input-section{padding:16px 12px 12px}.audio-experiment-gemini-features,.audio-experiment-mode-option,.audio-experiment-radio-option,.audio-experiment-voice-option{padding:12px}.audio-experiment-generate-btn,.audio-experiment-stop-btn{font-size:.9rem;padding:12px 20px}.audio-experiment-template-btn{font-size:.85rem;padding:8px 12px}}.audio-experiment-gemini-live{background-color:#242424;background-color:var(--medium-bg,#242424);border:2px solid #dc35454d;border-radius:12px;margin-top:15px;overflow:hidden;padding:20px;position:relative}.audio-experiment-gemini-live h4{align-items:center;color:#dc3545;display:flex;font-size:1.2rem;font-weight:700;gap:8px;margin:0 0 15px}.audio-experiment-gemini-live select{background-color:#1a1a1a;background-color:var(--dark-bg,#1a1a1a);border:1px solid #444;border:1px solid var(--border-color,#444);border-radius:8px;box-sizing:border-box;color:#ddd;color:var(--text-light,#ddd);font-size:1rem;margin-bottom:15px;padding:10px 12px;width:100%}.audio-experiment-gemini-live select:focus{border-color:#50c878;border-color:var(--primary-color,#50c878);box-shadow:0 0 0 2px #50c87833;outline:none}.audio-experiment-gemini-live select:disabled{cursor:not-allowed;opacity:.6}.audio-experiment-call-btn{background:linear-gradient(135deg,#dc3545,#c82333);border:none;border-radius:50px;color:#fff;cursor:pointer;font-size:1.1rem;font-weight:700;margin:10px 0;min-width:200px;padding:15px 30px;transition:all .3s ease}.audio-experiment-call-btn:hover{box-shadow:0 5px 15px #dc354566;transform:scale(1.05)}.audio-experiment-call-btn.active{animation:pulse 1.5s infinite;background:linear-gradient(135deg,#28a745,#218838)}@keyframes pulse{0%{box-shadow:0 0 0 0 #28a745b3}70%{box-shadow:0 0 0 10px #28a74500}to{box-shadow:0 0 0 0 #28a74500}}.audio-experiment-vad-indicator{background-color:#0000004d;border:1px solid #ffffff1a;border-radius:8px;display:flex;flex-direction:column;gap:8px;margin:15px 0;padding:10px}.audio-experiment-vad-indicator span{align-items:center;color:#ddd;color:var(--text-light,#ddd);display:flex;font-size:.95rem;gap:8px}.audio-experiment-text-chat{margin-top:20px}.audio-experiment-text-chat textarea{background-color:#1a1a1a;background-color:var(--dark-bg,#1a1a1a);border:1px solid #444;border:1px solid var(--border-color,#444);border-radius:8px;box-sizing:border-box;color:#ddd;color:var(--text-light,#ddd);font-size:1rem;margin-bottom:10px;padding:12px;resize:vertical;width:100%}.audio-experiment-voice-call{align-items:center;display:flex;flex-direction:column;margin-top:20px}.audio-experiment-conversation{background-color:#0003;border:1px solid #444;border:1px solid var(--border-color,#444);border-radius:8px;margin-top:20px;padding:15px}.audio-experiment-conversation h5{color:#50c878;color:var(--primary-color,#50c878);font-size:1.1rem;margin:0 0 15px}.audio-experiment-messages{display:flex;flex-direction:column;gap:10px;max-height:400px;overflow-y:auto}.audio-experiment-message{background-color:#242424;background-color:var(--medium-bg,#242424);border:1px solid #444;border:1px solid var(--border-color,#444);border-radius:8px;padding:10px;position:relative}.audio-experiment-message.user{background-color:#50c8781a;border-color:#50c8784d;margin-left:20%}.audio-experiment-message.model{background-color:#dc35451a;border-color:#dc35454d;margin-right:20%}.audio-experiment-message strong{color:#50c878;color:var(--primary-color,#50c878);display:block;margin-bottom:5px}.audio-experiment-message span{word-wrap:break-word;color:#ddd;color:var(--text-light,#ddd);display:block;margin-bottom:5px}.audio-experiment-message small{color:#999;color:var(--text-muted,#999);font-size:.8rem}.audio-indicator{animation:audioWave 1s infinite;display:inline-block;margin-left:5px}@keyframes audioWave{0%,to{opacity:.5}50%{opacity:1}}@media (max-width:768px){.audio-experiment-gemini-live{padding:15px}.audio-experiment-call-btn{font-size:1rem;min-width:150px;padding:12px 20px}.audio-experiment-message.user{margin-left:10%}.audio-experiment-message.model{margin-right:10%}.audio-experiment-messages{max-height:300px}}.command-collection-manager{background-color:#0a0a0a;color:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;min-height:100vh;padding:20px}.command-collection-manager .ccm-header{border-bottom:1px solid #2a2a2a;margin-bottom:30px;padding-bottom:20px;text-align:center}.command-collection-manager .ccm-header h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;color:#fff;font-size:32px;font-weight:600;margin:0}.command-collection-manager .ccm-header p{color:#888;font-size:14px;margin:10px 0 0}.command-collection-manager .ccm-alert{align-items:center;animation:slideIn .3s ease;border-radius:8px;display:flex;justify-content:space-between;margin-bottom:20px;padding:12px 16px}.command-collection-manager .ccm-alert-error{background-color:#ff3d571a;border:1px solid #ff3d574d;color:#ff3d57}.command-collection-manager .ccm-alert-success{background-color:#50c8781a;border:1px solid #50c8784d;color:#50c878}.command-collection-manager .ccm-alert button{background:none;border:none;color:inherit;cursor:pointer;font-size:20px;margin-left:10px;opacity:.7;padding:0;transition:opacity .2s}.command-collection-manager .ccm-alert button:hover{opacity:1}.command-collection-manager .ccm-container{display:flex;gap:30px;margin:0 auto;max-width:1600px}.command-collection-manager .ccm-sidebar{background-color:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;display:flex;flex-direction:column;padding:20px;width:300px}.command-collection-manager .ccm-sidebar h3{color:#fff;font-size:18px;margin:0 0 20px}.command-collection-manager .ccm-collection-list{flex:1 1;margin-bottom:20px;max-height:500px;overflow-y:auto}.command-collection-manager .ccm-collection-item{background-color:#ffffff08;border:1px solid #ffffff1a;border-radius:8px;cursor:pointer;margin-bottom:8px;padding:12px;transition:all .2s}.command-collection-manager .ccm-collection-item:hover{background-color:#ffffff14;border-color:#667eea80}.command-collection-manager .ccm-collection-item.active{background-color:#667eea33;border-color:#667eea}.command-collection-manager .ccm-collection-name{align-items:center;color:#fff;display:flex;font-weight:500;gap:8px}.command-collection-manager .ccm-default-badge{background:#50c878;border-radius:4px;color:#000;font-size:.7em;font-weight:700;padding:2px 6px}.command-collection-manager .ccm-collection-meta{color:#888;font-size:12px;margin-top:4px}.command-collection-manager .ccm-main{background-color:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;flex:1 1;overflow-y:auto;padding:30px}.command-collection-manager .ccm-collection-header{align-items:center;border-bottom:1px solid #ffffff1a;display:flex;justify-content:space-between;margin-bottom:20px;padding-bottom:20px}.command-collection-manager .ccm-collection-header h3{color:#fff;font-size:24px;margin:0}.command-collection-manager .ccm-collection-actions{display:flex;gap:10px}.command-collection-manager .ccm-collection-description{margin-bottom:30px}.command-collection-manager .ccm-collection-description textarea{background:#0000004d;border:1px solid #fff3;border-radius:8px;color:#fff;min-height:100px;padding:12px;resize:vertical;width:100%}.command-collection-manager .ccm-collection-description p{color:#888;line-height:1.6}.command-collection-manager .ccm-add-command-section{background:#0003;border-radius:12px;margin-bottom:30px;padding:20px}.command-collection-manager .ccm-add-command-section h4{color:#667eea;margin:0 0 20px}.command-collection-manager .ccm-command-form{grid-gap:15px;display:grid;gap:15px;grid-template-columns:1fr 1fr}.command-collection-manager .ccm-command-form input,.command-collection-manager .ccm-command-form select,.command-collection-manager .ccm-command-form textarea{background:#ffffff0d;border:1px solid #fff3;border-radius:8px;color:#fff;padding:12px;transition:all .3s}.command-collection-manager .ccm-command-form textarea{grid-column:span 2;min-height:80px;resize:vertical}.command-collection-manager .ccm-command-form input:focus,.command-collection-manager .ccm-command-form select:focus,.command-collection-manager .ccm-command-form textarea:focus{background:#ffffff14;border-color:#667eea;outline:none}.command-collection-manager .ccm-commands-section h4{color:#fff;margin:0 0 20px}.command-collection-manager .ccm-commands-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}.command-collection-manager .ccm-command-card{background:#ffffff08;border:1px solid #ffffff1a;border-radius:12px;padding:20px;transition:all .3s}.command-collection-manager .ccm-command-card:hover{background:#ffffff0d;border-color:#667eea4d}.command-collection-manager .ccm-command-card.editing{background:#667eea1a;border-color:#667eea}.command-collection-manager .ccm-command-header{align-items:center;border-radius:8px;cursor:pointer;display:flex;justify-content:space-between;margin-bottom:15px;padding:5px;transition:background .2s}.command-collection-manager .ccm-command-header:hover{background:#ffffff0d}.command-collection-manager .ccm-command-header h4{color:#667eea;margin:0}.command-collection-manager .ccm-edit-icon{opacity:.5;transition:opacity .2s}.command-collection-manager .ccm-command-header:hover .ccm-edit-icon{opacity:1}.command-collection-manager .ccm-command-details{margin-bottom:15px}.command-collection-manager .ccm-trigger-keyword{background:#667eea33;border-radius:4px;color:#a8b8ff;display:inline-block;font-family:Courier New,monospace;margin-bottom:10px;padding:4px 8px}.command-collection-manager .ccm-description{color:#ccc;line-height:1.4;margin-bottom:10px}.command-collection-manager .ccm-metadata{display:flex;gap:10px}.command-collection-manager .ccm-category,.command-collection-manager .ccm-intensity{background:#ffffff1a;border-radius:20px;color:#999;font-size:.85em;padding:4px 10px}.command-collection-manager .ccm-intensity{background:#ffa50033;color:orange}.command-collection-manager .ccm-funscript-drop-zone{background:#0000004d;border:2px dashed #fff3;border-radius:8px;margin:15px 0;padding:20px;text-align:center;transition:all .3s}.command-collection-manager .ccm-funscript-drop-zone.drag-over{background:#667eea1a;border-color:#667eea;transform:scale(1.02)}.command-collection-manager .ccm-funscript-loaded{text-align:left}.command-collection-manager .ccm-funscript-info{align-items:center;display:flex;gap:10px;margin-bottom:10px}.command-collection-manager .ccm-funscript-icon{font-size:1.5em}.command-collection-manager .ccm-toggle-graph-btn{background:#667eea33;border:1px solid #667eea;border-radius:4px;color:#a8b8ff;cursor:pointer;margin-left:auto;padding:4px 12px;transition:all .2s}.command-collection-manager .ccm-toggle-graph-btn:hover{background:#667eea4d}.command-collection-manager .ccm-funscript-graph{background:#00000080;border-radius:8px;margin-top:15px;padding:10px}.command-collection-manager .ccm-funscript-empty p{color:#999;margin-bottom:15px}.command-collection-manager .ccm-command-edit-form{display:flex;flex-direction:column;gap:10px}.command-collection-manager .ccm-command-edit-form input,.command-collection-manager .ccm-command-edit-form select,.command-collection-manager .ccm-command-edit-form textarea{background:#0000004d;border:1px solid #fff3;border-radius:6px;color:#fff;padding:10px}.command-collection-manager .ccm-edit-actions{display:flex;gap:10px;margin-top:10px}.command-collection-manager .ccm-form-section{margin-bottom:30px}.command-collection-manager .ccm-input-large,.command-collection-manager .ccm-textarea-large{background:#0000004d;border:1px solid #fff3;border-radius:8px;color:#fff;font-size:1.1em;margin-bottom:15px;padding:15px;width:100%}.command-collection-manager .ccm-textarea-large{min-height:100px;resize:vertical}.command-collection-manager .ccm-actions{align-items:center;display:flex;justify-content:space-between;margin-top:30px}.command-collection-manager .ccm-import-export{display:flex;gap:10px}.command-collection-manager .ccm-btn{background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#fff;cursor:pointer;font-size:.95em;padding:10px 20px;transition:all .3s}.command-collection-manager .ccm-btn:hover{background:#ffffff26;border-color:#ffffff4d}.command-collection-manager .ccm-btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);border:none}.command-collection-manager .ccm-btn-primary:hover{opacity:.9}.command-collection-manager .ccm-btn-primary:disabled{cursor:not-allowed;opacity:.5}.command-collection-manager .ccm-btn-danger{background:#ff3d5733;border-color:#ff3d5780;color:#ff3d57}.command-collection-manager .ccm-btn-danger:hover{background:#ff3d574d}.command-collection-manager .ccm-btn-new{background:linear-gradient(135deg,#667eea,#764ba2);border:none;margin-top:10px;width:100%}.command-collection-manager .ccm-btn-large{font-size:1.1em;padding:15px 30px}.command-collection-manager .ccm-btn-cancel,.command-collection-manager .ccm-btn-save{font-size:.9em;padding:6px 16px}.command-collection-manager .ccm-btn-save{background:#50c878;border:none;color:#000}.command-collection-manager .ccm-btn-cancel{background:#ffffff1a}.command-collection-manager .ccm-btn-replace,.command-collection-manager .ccm-btn-upload{background:#667eea33;border:1px solid #667eea;border-radius:6px;color:#a8b8ff;cursor:pointer;padding:8px 16px;transition:all .2s}.command-collection-manager .ccm-btn-replace:hover,.command-collection-manager .ccm-btn-upload:hover{background:#667eea4d}.command-collection-manager .ccm-btn-remove{background:#ff3d571a;border:1px solid #ff3d574d;border-radius:6px;color:#ff3d57;cursor:pointer;padding:8px 16px;transition:all .2s;width:100%}.command-collection-manager .ccm-btn-remove:hover{background:#ff3d5733}.command-collection-manager .ccm-new-collection h3{color:#fff;font-size:24px;margin:0 0 30px}.command-collection-manager .ccm-loading{color:#888;padding:40px;text-align:center}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.command-collection-manager .ccm-collection-list::-webkit-scrollbar{width:8px}.command-collection-manager .ccm-collection-list::-webkit-scrollbar-track{background:#ffffff0d;border-radius:4px}.command-collection-manager .ccm-collection-list::-webkit-scrollbar-thumb{background:#667eea80;border-radius:4px}.command-collection-manager .ccm-collection-list::-webkit-scrollbar-thumb:hover{background:#667eeab3}@media (max-width:768px){.command-collection-manager .ccm-container{flex-direction:column}.command-collection-manager .ccm-sidebar{margin-bottom:20px;width:100%}.command-collection-manager .ccm-collection-list{max-height:200px}.command-collection-manager .ccm-command-form,.command-collection-manager .ccm-commands-grid{grid-template-columns:1fr}.command-collection-manager .ccm-command-form textarea{grid-column:span 1}}.image-security-tab{background:#1a1a1a;color:#fff;margin:0 auto;max-width:1400px;min-height:100vh;padding:20px}.image-security-tab-header{border-bottom:2px solid #333;margin-bottom:30px;padding-bottom:20px}.image-security-tab-header h2{color:#50c878;font-size:28px;margin-bottom:10px}.image-security-tab-header p{color:#999;font-size:14px}.image-security-tab-config{background:#2a2a2a;border-radius:8px;margin-bottom:30px;padding:20px}.image-security-tab-config-row{grid-gap:20px;display:grid;gap:20px;grid-template-columns:1fr 1fr}.image-security-tab-input-group{display:flex;flex-direction:column}.image-security-tab-input-group label{color:#ccc;font-size:14px;font-weight:500;margin-bottom:8px}.image-security-tab-input{background:#1a1a1a;border:1px solid #444;border-radius:4px;color:#fff;font-size:14px;padding:10px;transition:all .3s ease}.image-security-tab-input:focus{border-color:#50c878;box-shadow:0 0 0 2px #50c87833;outline:none}.image-security-tab-api-key-wrapper{display:flex;gap:10px}.image-security-tab-api-key-wrapper .image-security-tab-input{flex:1 1}.image-security-tab-toggle-key{background:#333;border:1px solid #444;border-radius:4px;color:#fff;cursor:pointer;padding:10px 15px;transition:all .3s ease}.image-security-tab-toggle-key:hover{background:#444}.image-security-tab-image-preview{background:#1a1a1a;border:1px solid #444;border-radius:8px;margin-top:20px;padding:15px}.image-security-tab-image-preview h4{color:#50c878;font-size:14px;margin-bottom:10px}.image-security-tab-image-preview img{border:1px solid #666;border-radius:4px;display:block;margin:0 auto;max-height:300px;max-width:100%;object-fit:contain}.image-security-tab-error-text{color:#f44336;display:block;font-size:12px;margin-top:5px}.image-security-tab-categories{border-bottom:2px solid #333;display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px;padding-bottom:10px}.image-security-tab-category{background:#2a2a2a;border:1px solid #444;border-radius:4px 4px 0 0;color:#999;cursor:pointer;font-size:14px;font-weight:500;padding:10px 20px;transition:all .3s ease}.image-security-tab-category:hover{background:#333;color:#fff}.image-security-tab-category.active{background:#50c878;border-color:#50c878;color:#000}.image-security-tab-sfw-section{background:#2a2a2a;border:2px solid #50c878;border-radius:8px;margin-bottom:30px;padding:25px}.image-security-tab-sfw-header{margin-bottom:20px}.image-security-tab-sfw-header h3{color:#50c878;font-size:20px;margin-bottom:8px}.image-security-tab-sfw-header p{color:#999;font-size:14px}.image-security-tab-sfw-controls{margin-bottom:20px}.image-security-tab-sfw-prompt{margin-bottom:15px}.image-security-tab-sfw-prompt label{color:#ccc;display:block;font-size:14px;font-weight:500;margin-bottom:10px}.image-security-tab-textarea{background:#1a1a1a;border:1px solid #444;border-radius:4px;color:#fff;font-family:inherit;font-size:14px;padding:12px;resize:vertical;transition:all .3s ease;width:100%}.image-security-tab-textarea:focus{border-color:#50c878;box-shadow:0 0 0 2px #50c87833;outline:none}.image-security-tab-run-sfw{background:#50c878;border:none;border-radius:4px;color:#000;cursor:pointer;font-size:14px;font-weight:600;padding:12px 24px;transition:all .3s ease}.image-security-tab-run-sfw:hover:not(:disabled){background:#40b868;box-shadow:0 4px 8px #50c8784d;transform:translateY(-2px)}.image-security-tab-run-sfw:disabled{cursor:not-allowed;opacity:.5}.image-security-tab-sfw-result{background:#1a1a1a;border:1px solid #444;border-radius:4px;padding:20px}.image-security-tab-sfw-status{align-items:center;display:flex;gap:20px;margin-bottom:15px}.image-security-tab-status-badge{border-radius:4px;font-size:13px;font-weight:600;padding:6px 12px}.image-security-tab-status-badge.success{background:#4caf50;color:#fff}.image-security-tab-status-badge.error{background:#f44336;color:#fff}.image-security-tab-response-time{color:#999;font-size:13px}.image-security-tab-generated-image{background:#2a2a2a;border:1px solid #444;border-radius:4px;margin-top:20px;padding:15px}.image-security-tab-generated-image h4{color:#50c878;font-size:14px;margin-bottom:15px}.image-security-tab-generated-image img{border:1px solid #666;border-radius:4px;box-shadow:0 4px 8px #0000004d;display:block;margin:0 auto;max-height:500px;max-width:100%;object-fit:contain}.image-security-tab-gemini-response{background:#2a2a2a;border:1px solid #444;border-radius:4px;margin-top:15px;padding:15px}.image-security-tab-gemini-response strong{color:#ccc;display:block;font-size:13px;margin-bottom:10px}.image-security-tab-gemini-response p{color:#999;font-size:13px;line-height:1.6;margin:0}.image-security-tab-controls{display:flex;gap:15px;margin-bottom:30px}.image-security-tab-run-all{background:#50c878;border:none;border-radius:4px;color:#000;cursor:pointer;font-size:14px;font-weight:600;padding:12px 24px;transition:all .3s ease}.image-security-tab-run-all:hover:not(:disabled){background:#40b868;box-shadow:0 4px 8px #50c8784d;transform:translateY(-2px)}.image-security-tab-run-all:disabled{cursor:not-allowed;opacity:.5}.image-security-tab-clear{background:#444;border:1px solid #666;border-radius:4px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:12px 24px;transition:all .3s ease}.image-security-tab-clear:hover{background:#555}.image-security-tab-tests{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(400px,1fr));margin-bottom:30px}.image-security-tab-test-card{background:#2a2a2a;border:1px solid #444;border-radius:8px;padding:20px;transition:all .3s ease}.image-security-tab-test-card:hover{border-color:#666;box-shadow:0 4px 12px #0000004d}.image-security-tab-test-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:15px}.image-security-tab-test-header h3{color:#fff;font-size:18px;margin:0}.image-security-tab-status{border-radius:12px;color:#fff;font-size:11px;font-weight:600;letter-spacing:.5px;padding:4px 12px;text-transform:uppercase}.image-security-tab-test-description{color:#999;font-size:14px;line-height:1.5;margin-bottom:15px}.image-security-tab-test-examples{margin-bottom:15px}.image-security-tab-test-examples strong{color:#ccc;display:block;font-size:13px;margin-bottom:8px}.image-security-tab-test-examples ul{margin:0;padding-left:20px}.image-security-tab-test-examples li{color:#888;font-size:13px;margin-bottom:4px}.image-security-tab-test-prompt{background:#1a1a1a;border:1px solid #333;border-radius:4px;margin-bottom:15px;padding:10px}.image-security-tab-test-prompt strong{color:#ccc;display:block;font-size:13px;margin-bottom:8px}.image-security-tab-test-prompt code{color:#50c878;font-family:Courier New,monospace;font-size:12px;word-break:break-all}.image-security-tab-test-button{background:#333;border:1px solid #444;border-radius:4px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;padding:10px;transition:all .3s ease;width:100%}.image-security-tab-test-button:hover:not(:disabled){background:#50c878;border-color:#50c878;color:#000}.image-security-tab-test-button:disabled{cursor:not-allowed;opacity:.5}.image-security-tab-result{background:#1a1a1a;border:1px solid #333;border-radius:4px;margin-top:15px;padding:15px}.image-security-tab-error{background:#f443361a;border:1px solid #f443364d;border-radius:4px;color:#f44336;font-size:13px;margin-bottom:10px;padding:10px}.image-security-tab-analysis{margin-bottom:10px}.image-security-tab-analysis strong{color:#ccc;display:block;font-size:13px;margin-bottom:5px}.image-security-tab-analysis p{color:#999;font-size:13px;line-height:1.5;margin:0}.image-security-tab-generated{margin-bottom:10px}.image-security-tab-generated strong{color:#50c878;display:block;font-size:13px;margin-bottom:10px}.image-security-tab-generated img{border:1px solid #666;border-radius:4px;box-shadow:0 2px 6px #0000004d;display:block;margin:0 auto;max-height:400px;max-width:100%;object-fit:contain}.image-security-tab-patterns{margin-top:10px}.image-security-tab-patterns strong{color:#ccc;display:block;font-size:13px;margin-bottom:8px}.image-security-tab-patterns ul{margin:0;padding-left:20px}.image-security-tab-patterns li{color:#50c878;font-size:12px;margin-bottom:4px}.image-security-tab-history{background:#2a2a2a;border-radius:8px;margin-bottom:30px;padding:20px}.image-security-tab-history h3{color:#fff;font-size:18px;margin-bottom:15px}.image-security-tab-history-list{display:flex;flex-direction:column;gap:10px}.image-security-tab-history-item{grid-gap:15px;align-items:center;background:#1a1a1a;border:1px solid #333;border-radius:4px;display:grid;gap:15px;grid-template-columns:100px 1fr 100px;padding:10px}.image-security-tab-history-time{color:#666;font-size:12px}.image-security-tab-history-test{color:#ccc;font-size:13px}.image-security-tab-history-status{font-size:12px;font-weight:600;text-align:right}.image-security-tab-summary{background:#2a2a2a;border:2px solid #50c878;border-radius:8px;padding:20px}.image-security-tab-summary h3{color:#50c878;font-size:18px;margin-bottom:20px}.image-security-tab-stats{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.image-security-tab-stat{align-items:center;background:#1a1a1a;border:1px solid #333;border-radius:4px;display:flex;justify-content:space-between;padding:15px}.image-security-tab-stat-label{color:#999;font-size:14px}.image-security-tab-stat-value{color:#fff;font-size:24px;font-weight:600}@media (max-width:768px){.image-security-tab-config-row,.image-security-tab-stats,.image-security-tab-tests{grid-template-columns:1fr}.image-security-tab-history-item{gap:5px;grid-template-columns:1fr}.image-security-tab-categories{flex-direction:column}.image-security-tab-category{text-align:center;width:100%}}.character-faq-page{background-color:#1c1c1c;color:#fff;display:flex;flex-direction:column;min-height:calc(100vh - 60px);padding-bottom:40px;width:100%}.character-faq-header{border-bottom:1px solid #333;padding:20px;position:relative;width:100%}.character-faq-header h1{color:#50c878;font-size:2rem;margin-bottom:10px}.character-faq-header p{color:#ccc;margin-bottom:20px}.character-faq-content{display:flex;flex-direction:column;gap:20px;margin:0 auto;max-width:1200px;padding:20px;width:100%}.faq-section{background-color:#242424;border-radius:10px;box-shadow:0 2px 8px #0000004d;overflow:hidden;transition:all .3s ease}.faq-section:hover{box-shadow:0 4px 12px #0006;transform:translateY(-2px)}.faq-section-header{align-items:center;background-color:#2a2a2a;cursor:pointer;display:flex;justify-content:space-between;padding:20px;transition:background-color .2s}.faq-section-header:hover{background-color:#333}.faq-section-header.expanded{background-color:#50c8781a;border-bottom:1px solid #50c878}.faq-section-header h2{color:#50c878;font-size:1.5rem;margin:0}.expand-icon{color:#50c878;font-size:1.5rem;font-weight:700;transition:transform .3s}.faq-section-header.expanded .expand-icon{transform:rotate(180deg)}.faq-section-content{padding:20px}.faq-content{color:#eee}.faq-content h3{color:#50c878;font-size:1.3rem;margin-bottom:12px;margin-top:24px}.faq-content h3:first-child{margin-top:0}.faq-content h4{color:#3498db;margin-bottom:8px;margin-top:16px}.faq-content p{line-height:1.6;margin-bottom:16px}.faq-content ol,.faq-content ul{margin-bottom:16px;padding-left:24px}.faq-content li{line-height:1.5;margin-bottom:8px}.faq-content a{color:#3498db;text-decoration:none;transition:color .2s}.faq-content a:hover{color:#2980b9;text-decoration:underline}.faq-content .code-block{background-color:#333;border-radius:6px;color:#eee;font-family:monospace;margin-bottom:16px;overflow-x:auto;padding:12px}.back-button{background-color:#50c878;border-radius:6px;color:#1c1c1c;font-weight:600;padding:10px 16px;position:absolute;right:20px;text-decoration:none;top:20px;transition:all .2s}.back-button:hover{background-color:#48a862;box-shadow:0 2px 5px #0003;transform:translateY(-1px)}@media (max-width:768px){.character-faq-header{padding:15px}.character-faq-header h1{font-size:1.8rem;margin-bottom:15px;padding-right:100px}.character-faq-content{padding:15px}.faq-section-header h2{font-size:1.3rem}.back-button{font-size:.9rem;padding:8px 12px}}@media (max-width:480px){.character-faq-header h1{font-size:1.5rem}.faq-section-content,.faq-section-header{padding:15px}.back-button{display:block;margin-top:15px;position:static;text-align:center}.character-faq-header h1{padding-right:0}}.video-container{border-radius:8px;box-shadow:0 2px 10px #0000001a;margin-bottom:20px;overflow:hidden;position:relative;width:100%}.responsive-video{display:block;height:auto;width:100%}@media (max-width:768px){.video-container{margin-bottom:15px}.faq-content{padding:10px}}:root{--localconnectorfaq2-primary:#50c878;--localconnectorfaq2-primary-dark:#48a862;--localconnectorfaq2-dark-bg:#1c1c1c;--localconnectorfaq2-darker-bg:#151515;--localconnectorfaq2-darkest-bg:#0d0d0d;--localconnectorfaq2-medium-bg:#242424;--localconnectorfaq2-light-bg:#2d2d2d;--localconnectorfaq2-text:#fff;--localconnectorfaq2-text-light:#ddd;--localconnectorfaq2-text-muted:#999;--localconnectorfaq2-border:#444;--localconnectorfaq2-error:#ff5a5a;--localconnectorfaq2-success:#4caf50;--localconnectorfaq2-warning:#ffc107;--localconnectorfaq2-shadow:0 4px 6px #0000004d;--localconnectorfaq2-transition:all 0.3s ease;--localconnectorfaq2-radius:8px;--localconnectorfaq2-radius-large:16px}.localconnectorfaq2-container{align-items:center;background:linear-gradient(135deg,#0d0d0d,#151515 25%,#1c1c1c 50%,#242424);background:linear-gradient(135deg,var(--localconnectorfaq2-darkest-bg) 0,var(--localconnectorfaq2-darker-bg) 25%,var(--localconnectorfaq2-dark-bg) 50%,var(--localconnectorfaq2-medium-bg) 100%);background-image:radial-gradient(circle at 20% 80%,#50c87814 0,#0000 50%),radial-gradient(circle at 80% 20%,#50c8780a 0,#0000 50%),radial-gradient(circle at 40% 40%,hsla(0,0%,100%,.015) 0,#0000 50%);box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-start;min-height:100vh;padding:20px;position:relative;width:100%;z-index:1}.localconnectorfaq2-character-background{bottom:0;left:0;position:fixed;right:0;top:0;z-index:0}.localconnectorfaq2-character-background:after{background:#0000001a;bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:0}.localconnectorfaq2-content-wrapper{align-items:center;box-sizing:border-box;display:flex;flex-direction:column;margin:0 auto;max-width:1200px;padding:0 20px;position:relative;transition:filter .3s ease;width:100%;z-index:2}.localconnectorfaq2-section-card{animation:slideUpLocalFAQ2 .6s ease;backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);background:#0000004d;border:1px solid #ffffff1a;border-radius:16px;border-radius:var(--localconnectorfaq2-radius-large);box-shadow:0 20px 40px #0006,0 8px 16px #0003,inset 0 1px 0 #ffffff1a;margin-bottom:24px;padding:32px;position:relative;width:100%}.localconnectorfaq2-section-card:before{background:linear-gradient(90deg,#0000,#50c878,#0000);background:linear-gradient(90deg,#0000,var(--localconnectorfaq2-primary),#0000);content:"";height:1px;left:0;opacity:.5;position:absolute;right:0;top:0}@keyframes slideUpLocalFAQ2{0%{opacity:0;transform:translateY(30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.localconnectorfaq2-header{align-items:center;display:flex;flex-direction:column;gap:1.5rem;justify-content:center;margin-bottom:2rem;text-align:center}.localconnectorfaq2-avatar-icon{align-items:center;background:linear-gradient(135deg,#50c878,#6ac995);background:linear-gradient(135deg,var(--localconnectorfaq2-primary),#6ac995);border:2px solid #50c8784d;border-radius:50%;box-shadow:0 8px 16px #50c8784d,0 4px 8px #0003;cursor:default;display:flex;flex:0 0 100px;height:100px;justify-content:center;overflow:hidden;transition:all .3s ease;width:100px}.localconnectorfaq2-avatar-icon:hover{box-shadow:0 12px 24px #50c87866,0 6px 12px #0000004d;transform:scale(1.05)}.localconnectorfaq2-avatar-icon svg{color:#fff;height:48px;width:48px}.localconnectorfaq2-info{align-items:center;display:flex;flex-direction:column;text-align:center}.localconnectorfaq2-info h1{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#50c878,#6ac995);background:linear-gradient(135deg,var(--localconnectorfaq2-primary),#6ac995);-webkit-background-clip:text;background-clip:text;font-size:2.5rem;font-weight:700;letter-spacing:-1px;margin:0;text-shadow:0 4px 8px #50c87833}.localconnectorfaq2-meta{color:#999;color:var(--localconnectorfaq2-text-muted);font-size:1.1rem;margin:.5rem 0 0;opacity:.8}.localconnectorfaq2-back-button{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#50c8781a;border:1px solid #50c8784d;border-radius:8px;border-radius:var(--localconnectorfaq2-radius);color:#50c878;color:var(--localconnectorfaq2-primary);display:inline-flex;font-size:1rem;font-weight:500;gap:.5rem;margin-top:1rem;padding:.75rem 1.5rem;text-decoration:none;transition:all .3s ease;transition:var(--localconnectorfaq2-transition)}.localconnectorfaq2-back-button:hover{background:#50c87833;border-color:#50c878;border-color:var(--localconnectorfaq2-primary);box-shadow:0 4px 12px #50c8784d;transform:translateX(-2px)}.localconnectorfaq2-back-button svg{height:16px;width:16px}.localconnectorfaq2-main-content{align-items:center;display:flex;flex-direction:column;gap:2rem;margin:0 auto;max-width:1200px;width:100%}.localconnectorfaq2-section-header{align-items:center;display:flex;flex-direction:column;margin-bottom:2rem;text-align:center;width:100%}.localconnectorfaq2-section-header h2{color:#fff;color:var(--localconnectorfaq2-text);display:block;font-size:1.8rem;font-weight:700;margin:0 auto 24px;position:relative;text-align:center;width:100%}.localconnectorfaq2-section-header h2:after{background:linear-gradient(90deg,#0000,#50c878,#0000);background:linear-gradient(90deg,#0000,var(--localconnectorfaq2-primary),#0000);bottom:-8px;content:"";height:2px;left:50%;position:absolute;transform:translateX(-50%);width:60px}.localconnectorfaq2-intro-section{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#0003;border:1px solid #ffffff14;border-radius:16px;border-radius:var(--localconnectorfaq2-radius-large);box-sizing:border-box;max-width:1000px;padding:2rem;width:100%}.localconnectorfaq2-intro-card{text-align:center}.localconnectorfaq2-intro-card p{color:#ddd;color:var(--localconnectorfaq2-text-light);font-size:1.1rem;line-height:1.6;margin-bottom:2rem}.localconnectorfaq2-benefits{display:flex;flex-wrap:wrap;gap:2rem;justify-content:center;margin-top:1.5rem}.localconnectorfaq2-benefit{align-items:center;background:#50c8781a;border:1px solid #50c8784d;border-radius:20px;color:#50c878;color:var(--localconnectorfaq2-primary);display:flex;font-weight:500;gap:.5rem;padding:.75rem 1.25rem}.localconnectorfaq2-benefit svg{height:24px;width:24px}.localconnectorfaq2-faq-section{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#0003;border:1px solid #ffffff14;border-radius:16px;border-radius:var(--localconnectorfaq2-radius-large);box-sizing:border-box;max-width:1000px;overflow:hidden;transition:all .3s ease;transition:var(--localconnectorfaq2-transition);width:100%}.localconnectorfaq2-faq-section:hover{border-color:#50c87833;box-shadow:0 8px 25px #50c8781a}.localconnectorfaq2-faq-section.expanded{background:#0000004d;border-color:#50c8784d}.localconnectorfaq2-faq-header{align-items:center;background:#ffffff05;cursor:pointer;display:flex;justify-content:space-between;padding:1.5rem 2rem;transition:all .3s ease;transition:var(--localconnectorfaq2-transition)}.localconnectorfaq2-faq-header:hover{background:#50c8780d}.localconnectorfaq2-faq-header h2{margin:0}.localconnectorfaq2-expand-icon,.localconnectorfaq2-faq-header h2{color:#50c878;color:var(--localconnectorfaq2-primary);font-size:1.5rem}.localconnectorfaq2-expand-icon{font-weight:700;transition:transform .3s}.localconnectorfaq2-faq-section.expanded .localconnectorfaq2-expand-icon{transform:rotate(45deg)}.localconnectorfaq2-faq-content{animation:fadeInFAQ2 .3s ease;padding:2rem}@keyframes fadeInFAQ2{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.localconnectorfaq2-step{background:#ffffff08;border:1px solid #ffffff14;border-radius:8px;border-radius:var(--localconnectorfaq2-radius);margin-bottom:2.5rem;padding:1.5rem}.localconnectorfaq2-step h3{color:#50c878;color:var(--localconnectorfaq2-primary);font-size:1.3rem;margin-bottom:1rem;margin-top:0}.localconnectorfaq2-step h4{color:#3498db;font-size:1.1rem;margin-bottom:.75rem;margin-top:1.5rem}.localconnectorfaq2-step p{color:#ddd;color:var(--localconnectorfaq2-text-light);line-height:1.6;margin-bottom:1rem}.localconnectorfaq2-step ol,.localconnectorfaq2-step ul{color:#ddd;color:var(--localconnectorfaq2-text-light);margin-bottom:1rem;padding-left:1.5rem}.localconnectorfaq2-step li{line-height:1.5;margin-bottom:.75rem}.localconnectorfaq2-step strong{color:#50c878;color:var(--localconnectorfaq2-primary)}.localconnectorfaq2-step a{color:#3498db;text-decoration:none;transition:color .2s}.localconnectorfaq2-step a:hover{color:#2980b9;text-decoration:underline}.localconnectorfaq2-code-block{background:#00000080;border:1px solid #50c8784d;border-radius:8px;border-radius:var(--localconnectorfaq2-radius);font-size:.95rem;margin:.5rem 0 1rem;overflow-x:auto;padding:1rem}.localconnectorfaq2-code-block,.localconnectorfaq2-step code{color:#50c878;color:var(--localconnectorfaq2-primary);font-family:Courier New,monospace}.localconnectorfaq2-step code{background:#50c8781a;border-radius:4px;font-size:.9rem;padding:.2rem .4rem}.localconnectorfaq2-warning{background:#ffc1071a;border:1px solid #ffc1074d;border-radius:8px;border-radius:var(--localconnectorfaq2-radius);color:#ffc107;color:var(--localconnectorfaq2-warning);margin-top:1rem;padding:1rem}.localconnectorfaq2-image-container{animation:fadeInImage .5s ease;margin:2.5rem auto;max-width:600px;padding:0 1rem;text-align:center}@keyframes fadeInImage{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.localconnectorfaq2-guide-image{border:2px solid #50c8784d;border-radius:8px;border-radius:var(--localconnectorfaq2-radius);box-shadow:0 8px 25px #0000004d;height:auto;max-width:100%;transition:all .3s ease;transition:var(--localconnectorfaq2-transition);width:100%}.localconnectorfaq2-guide-image:hover{border-color:#50c878;border-color:var(--localconnectorfaq2-primary);box-shadow:0 12px 35px #50c87833;transform:scale(1.02)}@media screen and (min-width:1200px){.localconnectorfaq2-image-container{margin:3rem auto;max-width:500px}}@media screen and (max-width:768px){.localconnectorfaq2-image-container{margin:2rem auto;max-width:100%;padding:0}}.localconnectorfaq2-image-caption{color:#999;color:var(--localconnectorfaq2-text-muted);font-size:.9rem;font-style:italic;margin-top:.75rem}.localconnectorfaq2-troubleshoot-card{background:#ffffff08;border:1px solid #ffffff14;border-radius:8px;border-radius:var(--localconnectorfaq2-radius);margin-bottom:1.5rem;padding:1.5rem;transition:all .3s ease;transition:var(--localconnectorfaq2-transition)}.localconnectorfaq2-troubleshoot-card:hover{background:#ffffff0d;border-color:#50c8784d;transform:translateY(-2px)}.localconnectorfaq2-troubleshoot-card h3{color:#50c878;color:var(--localconnectorfaq2-primary);font-size:1.2rem;margin-bottom:1rem;margin-top:0}.localconnectorfaq2-troubleshoot-card p{color:#ddd;color:var(--localconnectorfaq2-text-light);line-height:1.6;margin-bottom:1rem}.localconnectorfaq2-troubleshoot-card ul{color:#ddd;color:var(--localconnectorfaq2-text-light);margin:0;padding-left:1.5rem}.localconnectorfaq2-troubleshoot-card li{line-height:1.5;margin-bottom:.5rem}.localconnectorfaq2-troubleshoot-card code{background:#50c8781a;border-radius:4px;color:#50c878;color:var(--localconnectorfaq2-primary);font-family:Courier New,monospace;font-size:.9rem;padding:.2rem .4rem}.localconnectorfaq2-tips-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));margin-top:1rem}.localconnectorfaq2-tip-card{background:#ffffff08;border:1px solid #ffffff14;border-radius:8px;border-radius:var(--localconnectorfaq2-radius);padding:1.5rem;text-align:center;transition:all .3s ease;transition:var(--localconnectorfaq2-transition)}.localconnectorfaq2-tip-card:hover{background:#ffffff0d;border-color:#50c8784d;box-shadow:0 8px 25px #50c87826;transform:translateY(-4px)}.localconnectorfaq2-tip-icon{margin-bottom:1rem}.localconnectorfaq2-tip-icon svg{color:#50c878;color:var(--localconnectorfaq2-primary);height:32px;width:32px}.localconnectorfaq2-tip-card h4{color:#50c878;color:var(--localconnectorfaq2-primary);font-size:1.1rem;margin:0 0 1rem}.localconnectorfaq2-tip-card ul{color:#ddd;color:var(--localconnectorfaq2-text-light);font-size:.95rem;list-style:none;padding:0;text-align:left}.localconnectorfaq2-tip-card li{line-height:1.4;margin-bottom:.75rem;padding-left:1.5rem;position:relative}.localconnectorfaq2-tip-card li:before{content:"•";left:.5rem;position:absolute}.localconnectorfaq2-tip-card li:before,.localconnectorfaq2-tip-card strong{color:#50c878;color:var(--localconnectorfaq2-primary)}.localconnectorfaq2-resources-section{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#0003;border:1px solid #ffffff14;border-radius:16px;border-radius:var(--localconnectorfaq2-radius-large);box-sizing:border-box;max-width:1000px;padding:2rem;width:100%}.localconnectorfaq2-resources-grid{display:flex;flex-wrap:wrap;gap:1.5rem;justify-content:center}.localconnectorfaq2-resource-card{align-items:center;background:#50c8781a;border:1px solid #50c8784d;border-radius:8px;border-radius:var(--localconnectorfaq2-radius);color:#50c878;color:var(--localconnectorfaq2-primary);display:flex;font-weight:500;gap:.75rem;padding:1rem 2rem;text-decoration:none;transition:all .3s ease;transition:var(--localconnectorfaq2-transition)}.localconnectorfaq2-resource-card:hover{background:#50c87833;box-shadow:0 4px 12px #50c8784d;transform:translateY(-2px)}.localconnectorfaq2-resource-card svg{height:24px;width:24px}@media screen and (max-width:768px){.localconnectorfaq2-container{padding:10px}.localconnectorfaq2-content-wrapper{padding:0 10px}.localconnectorfaq2-section-card{margin-bottom:15px;padding:20px}.localconnectorfaq2-header{flex-direction:column;text-align:center}.localconnectorfaq2-info h1{font-size:2rem}.localconnectorfaq2-avatar-icon{height:80px;width:80px}.localconnectorfaq2-faq-section,.localconnectorfaq2-intro-section,.localconnectorfaq2-resources-section{max-width:100%;padding:1.5rem;width:100%}.localconnectorfaq2-benefits{align-items:center;flex-direction:column}.localconnectorfaq2-benefit{justify-content:center;max-width:300px;width:100%}.localconnectorfaq2-tips-grid{grid-template-columns:1fr}.localconnectorfaq2-faq-header{padding:1rem 1.5rem}.localconnectorfaq2-faq-content{padding:1.5rem}.localconnectorfaq2-step{padding:1rem}.localconnectorfaq2-guide-image{max-width:100%}}@media screen and (max-width:480px){.localconnectorfaq2-container{padding:5px}.localconnectorfaq2-content-wrapper{padding:0 5px}.localconnectorfaq2-section-card{padding:15px;width:100%}.localconnectorfaq2-info h1{font-size:1.5rem}.localconnectorfaq2-meta{font-size:.95rem}.localconnectorfaq2-avatar-icon{height:60px;width:60px}.localconnectorfaq2-avatar-icon svg{height:30px;width:30px}.localconnectorfaq2-faq-section,.localconnectorfaq2-intro-section,.localconnectorfaq2-resources-section{border-radius:12px;padding:1rem}.localconnectorfaq2-faq-header h2{font-size:1.2rem}.localconnectorfaq2-step h3{font-size:1.1rem}.localconnectorfaq2-resources-grid{align-items:center;flex-direction:column}.localconnectorfaq2-resource-card{justify-content:center;max-width:280px;width:100%}.localconnectorfaq2-back-button{font-size:.9rem;padding:.6rem 1.2rem}.localconnectorfaq2-code-block{font-size:.85rem;padding:.75rem}}:root{--primary-light:#6fe99e}.sentient2-container{align-items:center;background:linear-gradient(135deg,#0d0d0d,#151515 25%,#1c1c1c 50%,#242424);background:linear-gradient(135deg,var(--darkest-bg) 0,var(--darker-bg) 25%,var(--dark-bg) 50%,var(--medium-bg) 100%);background-image:radial-gradient(circle at 20% 80%,#50c87814 0,#0000 50%),radial-gradient(circle at 80% 20%,#50c8780a 0,#0000 50%),radial-gradient(circle at 40% 40%,hsla(0,0%,100%,.015) 0,#0000 50%);box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-start;min-height:100vh;padding:20px;position:relative;width:100%;z-index:1}.sentient2-character-background{bottom:0;left:0;position:fixed;right:0;top:0;z-index:0}.sentient2-character-background:after{background:#0000001a;bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:0}.sentient2-content-wrapper{margin:0 auto;max-width:1200px;position:relative;transition:filter .3s ease;width:100%;z-index:2}.sentient2-section-card{animation:slideUpSentient .6s ease;backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);background:#000000b3;border:1px solid #ffffff26;border-radius:16px;border-radius:var(--radius-large);box-shadow:0 20px 40px #0006,0 8px 16px #0003,inset 0 1px 0 #ffffff1a;margin:0 auto 24px;padding:32px;position:relative;width:calc(100% - 40px)}.sentient2-section-card:before{background:linear-gradient(90deg,#0000,#50c878,#0000);background:linear-gradient(90deg,#0000,var(--primary-color),#0000);content:"";height:1px;left:0;opacity:.5;position:absolute;right:0;top:0}@keyframes slideUpSentient{0%{opacity:0;transform:translateY(30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.sentient2-header{align-items:center;display:flex;gap:1.5rem;margin-bottom:2rem}.sentient2-avatar-icon{align-items:center;background:linear-gradient(135deg,#50c878,#6ac995);background:linear-gradient(135deg,var(--primary-color),#6ac995);border:2px solid #50c8784d;border-radius:50%;box-shadow:0 8px 16px #50c8784d,0 4px 8px #0003;cursor:default;display:flex;flex:0 0 100px;font-size:2.5rem;height:100px;justify-content:center;overflow:hidden;transition:all .3s ease;width:100px}.sentient2-avatar-icon:hover{box-shadow:0 12px 24px #50c87866,0 6px 12px #0000004d;transform:scale(1.05)}.sentient2-info{flex:1 1}.sentient2-info h1{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#50c878,#6ac995);background:linear-gradient(135deg,var(--primary-color),#6ac995);-webkit-background-clip:text;background-clip:text;font-size:2.5rem;font-weight:700;letter-spacing:-1px;margin:0;text-shadow:0 4px 8px #50c87833}.sentient2-meta{color:#999;color:var(--text-muted);font-size:1.1rem;margin:.5rem 0 0;opacity:.8}.sentient2-tabs{display:flex;gap:1rem;margin-bottom:2rem;padding-bottom:1rem;position:relative}.sentient2-tabs:after{background:linear-gradient(90deg,#0000,#ffffff1a,#0000);bottom:0;content:"";height:1px;left:0;position:absolute;right:0}.sentient2-tab-button{background:none;border:none;border-radius:8px;border-radius:var(--radius);color:#999;color:var(--text-muted);cursor:pointer;font-size:1rem;font-weight:500;padding:.8rem 1.5rem;position:relative;transition:all .3s ease;transition:var(--transition)}.sentient2-tab-button:hover{background:#50c8781a;color:#fff;color:var(--text-color);transform:translateY(-2px)}.sentient2-tab-button.tab-active{background:#50c87826;color:#50c878;color:var(--primary-color);font-weight:600}.sentient2-tab-button.tab-active:after{background:linear-gradient(90deg,#0000,#50c878,#0000);background:linear-gradient(90deg,#0000,var(--primary-color),#0000);bottom:-1rem;content:"";height:2px;left:50%;position:absolute;transform:translateX(-50%);width:60%}.sentient2-stats{display:flex;gap:1.5rem;justify-content:center;margin-top:1rem}.sentient2-stat-card{backdrop-filter:blur(25px) saturate(180%);-webkit-backdrop-filter:blur(25px) saturate(180%);background:linear-gradient(145deg,#1c1c1cf2,#151515e6 30%,#0f0f0feb 70%,#0d0d0df2);border:1px solid #50c8784d;border-radius:16px;box-shadow:0 8px 25px #0000004d,inset 0 1px 1px #50c8781a;min-width:140px;padding:20px 24px;text-align:center;transition:all .3s ease;transition:var(--transition)}.sentient2-stat-card:hover{border-color:#50c87880;box-shadow:0 12px 30px #0006,0 4px 12px #50c8784d,inset 0 1px 1px #50c87833;transform:translateY(-3px) scale(1.02)}.sentient2-stat-number{color:#50c878;display:block;font-size:2rem;font-weight:700;margin-bottom:8px;text-shadow:0 2px 4px #50c8784d}.sentient2-stat-label{color:#aaa;font-size:.8rem;letter-spacing:1px;text-transform:uppercase}.sentient2-grid{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:1fr 300px;justify-content:center;margin-top:2rem;max-width:100%}.sentient2-main-section{display:flex;flex-direction:column;gap:1.5rem}.sentient2-settings-section{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#0009;border:1px solid #ffffff1f;border-radius:16px;border-radius:var(--radius-large);padding:2rem;transition:all .3s ease;transition:var(--transition)}.sentient2-settings-section:hover{background:#000000b3;border-color:#50c8784d;transform:translateY(-2px)}.sentient2-section-header h2{align-items:center;color:#fff;color:var(--text-color);display:flex;font-size:1.4rem;font-weight:700;gap:8px;margin:0 0 1.5rem;position:relative;text-align:left}.sentient2-section-header h2:after{background:linear-gradient(90deg,#50c878,#0000);background:linear-gradient(90deg,var(--primary-color),#0000);bottom:-8px;content:"";height:2px;left:0;position:absolute;width:60px}.sentient2-section-title{color:#50c878;color:var(--primary-color);font-size:1.2rem;font-weight:600;margin-bottom:1rem}.sentient2-toggle-container{align-items:center;display:flex;gap:12px;margin-bottom:1rem}.sentient2-toggle-switch{display:inline-block;height:28px;position:relative;width:60px}.sentient2-toggle-switch input{height:0;opacity:0;width:0}.sentient2-toggle-slider{background:#ffffff1a;border:1px solid #fff3;border-radius:28px;bottom:0;cursor:pointer;left:0;right:0;top:0}.sentient2-toggle-slider,.sentient2-toggle-slider:before{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);position:absolute;transition:.3s}.sentient2-toggle-slider:before{background:#fffc;border-radius:50%;bottom:3px;box-shadow:0 2px 4px #0003;content:"";height:20px;left:4px;width:20px}.sentient2-toggle-switch input:checked+.sentient2-toggle-slider{background:#50c878cc;border-color:#50c878;border-color:var(--primary-color)}.sentient2-toggle-switch input:checked+.sentient2-toggle-slider:before{background:#fff;transform:translateX(32px)}.sentient2-toggle-label{color:#ddd;color:var(--text-light);font-size:1rem;font-weight:500}.sentient2-dropdown{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0006;border:1px solid #ffffff26;border-radius:8px;border-radius:var(--radius);color:#fff;color:var(--text-color);cursor:pointer;font-size:1rem;padding:12px 16px;transition:all .3s ease;transition:var(--transition);width:100%}.sentient2-dropdown:hover{background:#00000080;border-color:#50c87880}.sentient2-dropdown:focus{background:#0009;border-color:#50c878;border-color:var(--primary-color);box-shadow:0 0 0 2px #50c87833;outline:none}.sentient2-dropdown option{background-color:#1c1c1c;background-color:var(--dark-bg);color:#fff;color:var(--text-color)}.sentient2-description{color:#999;color:var(--text-muted);font-size:.9rem;line-height:1.5;margin-top:.8rem;opacity:.85}.sentient2-description a{color:#50c878;color:var(--primary-color);text-decoration:none;transition:all .3s ease;transition:var(--transition)}.sentient2-description a:hover{color:#6ac995;text-decoration:underline}.sentient2-memory-status{margin-top:1rem}.sentient2-memory-indicator{border-radius:8px;border-radius:var(--radius);font-size:.95rem;font-weight:500;padding:12px 16px;text-align:center}.sentient2-memory-indicator.active{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#50c87826;border:1px solid #50c8784d;color:#50c878;color:var(--primary-color)}.sentient2-memory-actions{display:flex;flex-wrap:wrap;gap:1rem}.sentient2-action-button{align-items:center;border:none;border-radius:8px;cursor:pointer;display:flex;font-size:1rem;font-weight:600;gap:8px;padding:12px 24px;text-decoration:none;transition:all .2s ease}.sentient2-action-button.primary{background:linear-gradient(135deg,#50c878,#6fe99e);background:linear-gradient(135deg,var(--primary-color) 0,var(--primary-light) 100%);border:none;box-shadow:0 4px 15px #50c8784d,inset 0 1px 1px #fff3;color:#1c1c1c;color:var(--dark-bg)}.sentient2-action-button.primary:hover{box-shadow:0 6px 20px #50c87866,inset 0 1px 1px #ffffff4d;transform:translateY(-2px)}.sentient2-action-button.secondary{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:linear-gradient(135deg,#2d2d2dcc,#242424e6);border:1px solid #50c8784d;box-shadow:0 2px 8px #0003,inset 0 1px 1px #50c8781a;color:#50c878;color:var(--primary-color)}.sentient2-action-button.secondary:hover{background:linear-gradient(135deg,#50c87833,#2d2d2de6);border-color:#50c87880;box-shadow:0 6px 20px #0000004d,0 2px 8px #50c8784d,inset 0 1px 1px #50c87833;transform:translateY(-2px)}.sentient2-character-cards-container{margin-top:1rem}.sentient2-character-cards-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:1.5rem}.sentient2-character-memory-card{background:#0006;border:1px solid #ffffff26;border-radius:8px;border-radius:var(--radius);cursor:pointer;padding:1rem;text-align:center;transition:all .3s ease;transition:var(--transition)}.sentient2-character-memory-card:hover{background:#0009;border-color:#50c87880;transform:translateY(-2px)}.sentient2-character-memory-card.selected{background:#50c87826;border-color:#50c878;border-color:var(--primary-color)}.sentient2-character-image-container{align-items:center;background:#242424;background:var(--medium-bg);border-radius:50%;display:flex;height:60px;justify-content:center;margin:0 auto .8rem;overflow:hidden;width:60px}.sentient2-character-memory-image{height:100%;object-fit:cover;width:100%}.sentient2-character-placeholder{align-items:center;background:#50c878;background:var(--primary-color);color:#1c1c1c;color:var(--dark-bg);display:flex;font-size:1.5rem;font-weight:700;height:100%;justify-content:center;width:100%}.sentient2-character-memory-name{color:#fff;color:var(--text-color);font-size:1rem;font-weight:600;margin:0 0 .5rem}.sentient2-memory-count-badge{background:#50c87833;border-radius:12px;color:#50c878;color:var(--primary-color);font-size:.8rem;font-weight:500;padding:4px 8px}.sentient2-no-character-memories{padding:2rem;text-align:center}.sentient2-no-character-memories h3{color:#50c878;color:var(--primary-color);margin-bottom:1rem}.sentient2-no-character-memories p{color:#999;color:var(--text-muted);margin-bottom:1.5rem}.sentient2-character-select-fallback{background:#ffffff0d;border-radius:8px;border-radius:var(--radius);margin-top:1rem;padding:1.5rem}.sentient2-character-select-fallback p{margin-bottom:1rem}.sentient2-memory-content{min-height:400px}.sentient2-loading-spinner{align-items:center;display:flex;flex-direction:column;gap:20px;justify-content:center;padding:60px}.sentient2-loading-spinner-icon{animation:spin 1s linear infinite;border:4px solid #50c87833;border-radius:50%;border-top-color:#50c878;border-top:4px solid var(--primary-color);height:40px;width:40px}.sentient2-loading-spinner-text{color:#50c878;color:var(--primary-color);font-size:1.1rem;font-weight:500}.sentient2-memory-list{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));justify-items:center;padding:1rem 0}.sentient2-memory-card{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:linear-gradient(135deg,#24242466,#1c1c1c99);border:1px solid #50c87826;border-radius:16px;border-radius:var(--radius-large);box-shadow:0 4px 15px #0003,inset 0 1px 1px #50c8781a;overflow:hidden;padding:1.5rem;position:relative;transition:all .3s ease;transition:var(--transition)}.sentient2-memory-card:hover{border-color:#50c8784d;box-shadow:0 16px 64px #00000080,0 4px 16px #50c8781a;transform:translateY(-4px) scale(1.02)}.sentient2-memory-card:before{background:linear-gradient(45deg,#50c878,#6fe99e);background:linear-gradient(45deg,var(--primary-color),var(--primary-light));content:"";height:100%;left:0;opacity:.7;position:absolute;top:0;width:4px}.sentient2-memory-header-info{margin-bottom:1rem}.sentient2-memory-header-info h3{color:#fff;font-size:1.2rem;font-weight:600;margin:0 0 8px}.sentient2-memory-meta{align-items:center;display:flex;justify-content:space-between;margin-bottom:12px}.sentient2-memory-type{background:#50c87833;border-radius:15px;color:#50c878;font-size:.8rem;font-weight:600;letter-spacing:.5px;padding:4px 12px;text-transform:uppercase}.sentient2-memory-date{color:#888;font-size:.9rem}.sentient2-memory-content-text{color:#ccc;font-size:.95rem;line-height:1.6;margin:15px 0 20px}.sentient2-memory-actions-row{display:flex;gap:10px;margin-top:20px}.sentient2-delete-button,.sentient2-edit-button{border:none;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:500;padding:8px 16px;transition:all .2s ease}.sentient2-edit-button{background:#3b82f633;border:1px solid #3b82f64d;color:#60a5fa}.sentient2-edit-button:hover{background:#3b82f64d;border-color:#60a5fa}.sentient2-delete-button{background:#ef444433;border:1px solid #ef44444d;color:#f87171}.sentient2-delete-button:hover{background:#ef44444d;border-color:#f87171}.sentient2-no-memories-message,.sentient2-no-selection-message{background:#ffffff05;border:2px dashed #50c8784d;border-radius:15px;grid-column:1/-1;padding:3rem 2rem;text-align:center}.sentient2-no-memories-message h3,.sentient2-no-selection-message h3{color:#50c878;font-size:1.4rem;margin-bottom:15px}.sentient2-no-memories-message p,.sentient2-no-selection-message p{color:#aaa;font-size:1rem;line-height:1.5}.sentient2-privacy-section{display:flex;flex-direction:column;gap:1.5rem;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;position:-webkit-sticky;position:sticky;top:20px}.sentient2-privacy-notice-card,.sentient2-tips-card{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#0009;border:1px solid #ffffff1f;border-radius:16px;border-radius:var(--radius-large);padding:1.5rem}.sentient2-privacy-header,.sentient2-tips-header{margin-bottom:1rem}.sentient2-privacy-header h3,.sentient2-tips-header h3{color:#50c878;color:var(--primary-color);font-size:1.1rem;font-weight:600;margin:0}.sentient2-privacy-content,.sentient2-tips-content{color:#999;color:var(--text-muted);font-size:.9rem;line-height:1.5}.sentient2-privacy-content p,.sentient2-tips-content p{margin-bottom:1rem}.sentient2-privacy-content ul,.sentient2-tips-content ul{margin:0;padding-left:1.2rem}.sentient2-privacy-content li,.sentient2-tips-content li{margin-bottom:.5rem}.sentient2-modal-overlay{align-items:center;animation:fadeIn .3s ease;backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);background:#000c;display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:1000}.sentient2-modal-content{animation:zoomIn .3s ease;backdrop-filter:blur(25px) saturate(180%);-webkit-backdrop-filter:blur(25px) saturate(180%);background:linear-gradient(135deg,#242424f2,#1c1c1ce6);border:1px solid #50c8784d;border-radius:16px;border-radius:var(--radius-large);box-shadow:0 20px 60px #00000080;max-height:90vh;max-width:90vw;overflow-y:auto;position:relative}@keyframes zoomIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.sentient2-memory-modal{width:600px}.sentient2-guided-setup-modal{max-width:95vw;width:700px}.sentient2-modal-title-section{display:flex;flex:1 1;flex-direction:column;gap:8px}.sentient2-modal-title-section h2{color:#50c878;font-size:1.5rem;font-weight:600;margin:0}.sentient2-setup-progress{background:#50c87826;border:1px solid #50c87840;border-radius:15px;color:#50c878;color:var(--primary-color);display:inline-block;font-size:.85rem;padding:6px 12px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.sentient2-modal-header{align-items:center;border-bottom:1px solid #ffffff1a;display:flex;justify-content:space-between;padding:25px 30px 20px}.sentient2-modal-header h2{color:#50c878;font-size:1.5rem;font-weight:600;margin:0}.sentient2-close-button{align-items:center;background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#aaa;cursor:pointer;display:flex;flex-shrink:0;font-size:1.2rem;height:36px;justify-content:center;transition:all .2s ease;width:36px}.sentient2-close-button:hover{background:#ef444433;border-color:#ef444466;color:#f87171;transform:scale(1.05)}.sentient2-close-icon{font-size:1.4rem;font-weight:300;line-height:1}.sentient2-modal-body{padding:30px}.sentient2-modal-footer{border-top:1px solid #ffffff1a;display:flex;gap:15px;justify-content:flex-end;padding:20px 30px}.sentient2-form-group{margin-bottom:25px}.sentient2-form-group label{color:#50c878;display:block;font-size:.95rem;font-weight:600;margin-bottom:8px}.sentient2-form-group input,.sentient2-form-group textarea{background:#ffffff0d;border:1px solid #fff3;border-radius:8px;box-sizing:border-box;color:#fff;font-size:1rem;padding:12px 15px;resize:vertical;transition:all .2s ease;width:100%}.sentient2-form-group input:focus,.sentient2-form-group textarea:focus{background:#50c8780d;border-color:#50c878;box-shadow:0 0 0 2px #50c87833;outline:none}.sentient2-character-count{color:#888;font-size:.8rem;margin-top:5px;text-align:right}.sentient2-selected-character-info{background:#50c8781a;border:1px solid #50c8784d;border-radius:8px;color:#50c878;font-weight:500;padding:15px}.sentient2-cancel-button,.sentient2-complete-button,.sentient2-next-button,.sentient2-prev-button,.sentient2-save-button{border:none;border-radius:8px;cursor:pointer;font-size:1rem;font-weight:600;min-width:100px;padding:12px 24px;transition:all .2s ease}.sentient2-cancel-button,.sentient2-prev-button{background:#ffffff1a;border:1px solid #fff3;color:#aaa}.sentient2-cancel-button:hover,.sentient2-prev-button:hover{background:#ffffff26;color:#fff}.sentient2-complete-button,.sentient2-next-button,.sentient2-save-button{background:linear-gradient(45deg,#50c878,#6fe99e);border:none;color:#1a1a1a}.sentient2-complete-button:hover,.sentient2-next-button:hover,.sentient2-save-button:hover{box-shadow:0 4px 15px #50c8784d;transform:translateY(-1px)}.sentient2-save-button:disabled{background:#555;box-shadow:none;color:#888;cursor:not-allowed;transform:none}.sentient2-prev-button:disabled{cursor:not-allowed;opacity:.5}.sentient2-setup-privacy-notice{align-items:center;background:#50c8781a;border:1px solid #50c8784d;border-radius:8px;display:flex;gap:12px;margin-bottom:25px;padding:15px}.sentient2-privacy-icon{flex-shrink:0;font-size:1.2rem}.sentient2-privacy-text{color:#50c878;font-size:.9rem}.sentient2-prompt-section h3{color:#50c878;font-size:1.3rem;margin:0 0 10px}.sentient2-prompt-section p{color:#ccc;line-height:1.5;margin-bottom:25px}.sentient2-question-group{margin-bottom:20px}.sentient2-question-group label{color:#fff;display:block;font-weight:500;margin-bottom:8px}.sentient2-question-group textarea{min-height:60px}.sentient2-mobile-guided-overlay{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#000000e6;bottom:0;left:0;position:fixed;right:0;top:0;z-index:1000}.sentient2-mobile-guided-container{background:linear-gradient(135deg,#1c1c1c,#151515);background:linear-gradient(135deg,var(--dark-bg),var(--darker-bg));display:flex;flex-direction:column;height:100vh}.sentient2-mobile-guided-header{align-items:center;border-bottom:1px solid #ffffff1a;display:flex;justify-content:space-between;padding:1rem}.sentient2-mobile-guided-title h2{color:#50c878;color:var(--primary-color);font-size:1.3rem;margin:0 0 .5rem}.sentient2-mobile-progress-badge{background:#50c87833;border-radius:12px;color:#50c878;color:var(--primary-color);font-size:.8rem;font-weight:500;padding:4px 8px}.sentient2-mobile-close-btn{align-items:center;background:none;border:none;border-radius:8px;color:#999;color:var(--text-muted);cursor:pointer;display:flex;font-size:1.5rem;height:40px;justify-content:center;width:40px}.sentient2-mobile-close-btn:hover{background:#ffffff1a;color:#fff;color:var(--text-color)}.sentient2-mobile-guided-content{flex:1 1;overflow-y:auto;padding:1rem}.sentient2-mobile-privacy-notice{align-items:flex-start;background:#50c8781a;border:1px solid #50c8784d;border-radius:8px;display:flex;gap:10px;margin-bottom:20px;padding:12px}.sentient2-mobile-prompt-section h3{color:#50c878;color:var(--primary-color);font-size:1.2rem;margin:0 0 .5rem}.sentient2-mobile-prompt-section p{color:#ddd;color:var(--text-light);line-height:1.5;margin-bottom:20px}.sentient2-mobile-question-group{margin-bottom:16px}.sentient2-mobile-question-group label{color:#fff;color:var(--text-color);display:block;font-weight:500;margin-bottom:6px}.sentient2-mobile-question-group textarea{background:#ffffff0d;border:1px solid #fff3;border-radius:8px;color:#fff;color:var(--text-color);font-size:1rem;padding:10px;resize:vertical;width:100%}.sentient2-mobile-guided-footer{border-top:1px solid #ffffff1a;display:flex;gap:12px;padding:1rem}.sentient2-mobile-btn{border:none;border-radius:8px;cursor:pointer;flex:1 1;font-size:1rem;font-weight:600;padding:12px 20px;transition:all .2s ease}.sentient2-mobile-btn-secondary{background:#ffffff1a;border:1px solid #fff3;color:#999;color:var(--text-muted)}.sentient2-mobile-btn-secondary:hover{background:#ffffff26;color:#fff;color:var(--text-color)}.sentient2-mobile-btn-secondary:disabled{cursor:not-allowed;opacity:.5}.sentient2-mobile-btn-primary{background:linear-gradient(45deg,#50c878,#6fe99e);background:linear-gradient(45deg,var(--primary-color),var(--primary-light));border:none;color:#1c1c1c;color:var(--dark-bg)}.sentient2-mobile-btn-primary:hover{box-shadow:0 4px 15px #50c8784d;transform:translateY(-1px)}.sentient2-server-message{align-items:center;background:#50c878f2;border-radius:10px;bottom:10px;box-shadow:0 10px 30px #50c8784d;color:#1a1a1a;display:flex;font-weight:500;gap:15px;left:10px;max-width:none;padding:15px 20px;position:fixed;right:10px;z-index:1001}.sentient2-close-message{align-items:center;background:none;border:none;border-radius:50%;color:#1a1a1a;cursor:pointer;display:flex;font-size:1.2rem;height:24px;justify-content:center;transition:background .2s ease;width:24px}.sentient2-close-message:hover{background:#1a1a1a1a}.sentient2-loading-container{align-items:center;color:#50c878;color:var(--primary-color);display:flex;font-size:1.2rem;height:100vh;justify-content:center}.sentient2-legal-footer{border-top:1px solid #ffffff1a;margin-top:2rem;padding:1.5rem 0}.sentient2-legal-links{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center}.sentient2-legal-link{background:none;border:none;border-radius:8px;border-radius:var(--radius);color:#999;color:var(--text-muted);cursor:pointer;font-size:.9rem;padding:.5rem 1rem;text-decoration:none;transition:all .3s ease;transition:var(--transition)}.sentient2-legal-link:hover{background:#50c8781a;color:#50c878;color:var(--primary-color);text-decoration:underline}.sentient2-legal-separator{color:#999;color:var(--text-muted);font-size:.8rem;opacity:.6}@media (max-width:1200px){.sentient2-grid{gap:1.5rem;grid-template-columns:1fr 280px}}@media (max-width:968px){.sentient2-grid{gap:2rem;grid-template-columns:1fr}.sentient2-privacy-section{position:relative;top:auto}}@media (max-width:768px){.sentient2-container{padding:60px 10px 10px}.sentient2-content-wrapper{margin:0;max-width:100%;padding:0 5px}.sentient2-section-card{border-radius:8px;border-radius:var(--radius);margin-bottom:20px;padding:20px}.sentient2-settings-section{padding:1.5rem}.sentient2-header{flex-direction:column;gap:1rem;text-align:center}.sentient2-avatar-icon{flex:0 0 80px;font-size:2rem;height:80px;width:80px}.sentient2-info h1{font-size:2rem}.sentient2-tabs{justify-content:center;overflow-x:auto;padding-bottom:.5rem}.sentient2-tab-button{padding:.6rem 1.2rem;white-space:nowrap}.sentient2-stats{flex-direction:column;gap:1rem}.sentient2-stat-card{min-width:auto}.sentient2-toggle-container{align-items:flex-start;flex-direction:column;gap:8px}.sentient2-memory-actions{flex-direction:column}.sentient2-action-button{justify-content:center}.sentient2-character-cards-grid{gap:.8rem;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.sentient2-memory-list{gap:1rem;grid-template-columns:1fr}}@media (max-width:480px){.sentient2-container{padding:50px 5px 10px}.sentient2-content-wrapper{padding:0 3px}.sentient2-section-card{border-radius:6px;margin-bottom:16px;padding:16px}.sentient2-info h1{font-size:1.8rem}.sentient2-section-header h2{font-size:1.2rem}.sentient2-settings-section{padding:1rem}.sentient2-memory-actions{gap:.8rem}.sentient2-action-button{font-size:.9rem;padding:10px 16px}}@media (prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.sentient2-section-card{animation:none}}@media (prefers-contrast:high){.sentient2-privacy-notice-card,.sentient2-section-card,.sentient2-settings-section,.sentient2-tips-card{border:2px solid #50c878;border:2px solid var(--primary-color)}.sentient2-dropdown,.sentient2-form-group input,.sentient2-form-group textarea{border:2px solid #444;border:2px solid var(--border-color)}}.sextoy-page{align-items:center;background:linear-gradient(135deg,#0d0d0d,#151515 25%,#1c1c1c 50%,#242424);background:linear-gradient(135deg,var(--darkest-bg) 0,var(--darker-bg) 25%,var(--dark-bg) 50%,var(--medium-bg) 100%);background-image:radial-gradient(circle at 20% 80%,#50c87814 0,#0000 50%),radial-gradient(circle at 80% 20%,#50c8780a 0,#0000 50%),radial-gradient(circle at 40% 40%,hsla(0,0%,100%,.015) 0,#0000 50%);box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-start;min-height:100vh;padding:20px;position:relative;width:100%;z-index:1}.sextoy-page .sextoy-background{bottom:0;left:0;position:fixed;right:0;top:0;z-index:0}.sextoy-page .sextoy-background:after{background:#0000001a;bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:0}.sextoy-page .sextoy-container{margin:0 auto;max-width:1200px;position:relative;width:100%;z-index:2}.sextoy-page .sextoy-hero-card,.sextoy-page .sextoy-section-card{animation:slideUpSextoy .6s ease;backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);background:#0000004d;border:1px solid #ffffff1a;border-radius:16px;border-radius:var(--radius-large);box-shadow:0 20px 40px #0006,0 8px 16px #0003,inset 0 1px 0 #ffffff1a;margin-bottom:24px;padding:32px;position:relative;width:100%}.sextoy-page .sextoy-hero-card:before,.sextoy-page .sextoy-section-card:before{background:linear-gradient(90deg,#0000,#50c878,#0000);background:linear-gradient(90deg,#0000,var(--primary-color),#0000);content:"";height:1px;left:0;opacity:.5;position:absolute;right:0;top:0}@keyframes slideUpSextoy{0%{opacity:0;transform:translateY(30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.sextoy-hero-content{grid-gap:40px;align-items:center;display:grid;gap:40px;grid-template-columns:1fr 2fr}.sextoy-product-image{align-items:center;display:flex;justify-content:center}.sextoy-main-image{border-radius:8px;border-radius:var(--radius);box-shadow:0 8px 24px #0000004d;height:auto;max-width:100%}.sextoy-product-info{display:flex;flex-direction:column;gap:20px}.sextoy-title{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#50c878,#6ac995);background:linear-gradient(135deg,var(--primary-color),#6ac995);-webkit-background-clip:text;background-clip:text;font-size:3rem;font-weight:700;letter-spacing:-1px;margin:0;text-shadow:0 4px 8px #50c87833}.sextoy-price{display:flex;flex-direction:column;gap:8px}.sextoy-price-amount{color:#fff;color:var(--text-color);font-size:2.5rem;font-weight:700}.sextoy-discount{color:#ffc107;color:var(--warning-color);font-size:1rem;font-weight:500}.sextoy-tagline{color:#ddd;color:var(--text-light);font-size:1.1rem;line-height:1.6;margin:0}.sextoy-section-title{color:#fff;color:var(--text-color);font-size:2rem;font-weight:700;margin:0 0 24px;position:relative;text-align:center}.sextoy-section-title:after{background:linear-gradient(90deg,#0000,#50c878,#0000);background:linear-gradient(90deg,#0000,var(--primary-color),#0000);bottom:-8px;content:"";height:2px;left:50%;position:absolute;transform:translateX(-50%);width:60px}.sextoy-description-content{display:flex;flex-direction:column;gap:20px}.sextoy-description-content p{color:#ddd;color:var(--text-light);font-size:1rem;line-height:1.6;margin:0}.sextoy-modes{margin-top:32px}.sextoy-modes h3{color:#50c878;color:var(--primary-color);font-size:1.3rem;margin-bottom:16px}.sextoy-mode{background:#ffffff08;border:1px solid #ffffff14;border-radius:8px;border-radius:var(--radius);margin-bottom:20px;padding:16px}.sextoy-mode h4{color:#fff;color:var(--text-color);font-size:1.1rem;margin:0 0 8px}.sextoy-mode p{color:#ddd;color:var(--text-light);font-size:.95rem;margin:0}.sextoy-company-info{border-top:1px solid #ffffff1a;margin-top:32px;padding-top:24px}.sextoy-specs-table{background:#ffffff08;border-radius:8px;border-radius:var(--radius);display:flex;flex-direction:column;gap:2px;overflow:hidden}.sextoy-spec-row{background:#ffffff05;border-bottom:1px solid #ffffff0d;display:grid;grid-template-columns:1fr 1fr;padding:16px;transition:all .3s ease;transition:var(--transition)}.sextoy-spec-row:hover{background:#ffffff0d}.sextoy-spec-row:last-child{border-bottom:none}.sextoy-spec-label{color:#50c878;color:var(--primary-color);font-weight:500}.sextoy-spec-value{color:#ddd;color:var(--text-light)}.sextoy-features{display:flex;flex-direction:column;gap:24px}.sextoy-feature{background:#ffffff08;border:1px solid #ffffff14;border-radius:8px;border-radius:var(--radius);padding:20px;transition:all .3s ease;transition:var(--transition)}.sextoy-feature:hover{background:#ffffff0d;border-color:#ffffff26;box-shadow:0 8px 16px #0003;transform:translateY(-2px)}.sextoy-feature-title{color:#50c878;color:var(--primary-color);font-size:1.2rem;font-weight:600;margin:0 0 12px}.sextoy-feature-description{color:#ddd;color:var(--text-light);font-size:1rem;line-height:1.6;margin:0}.sextoy-safety-content{display:flex;flex-direction:column;gap:20px}.sextoy-safety-content>p{color:#ddd;color:var(--text-light);font-size:1rem;line-height:1.6;margin:0}.sextoy-safety-section{background:#ffffff08;border:1px solid #ffffff14;border-radius:8px;border-radius:var(--radius);padding:20px}.sextoy-safety-section h3{color:#50c878;color:var(--primary-color);font-size:1.1rem;margin:0 0 12px}.sextoy-safety-section p{color:#ddd;color:var(--text-light);font-size:.95rem;line-height:1.6;margin:0}.sextoy-cleaning-list{list-style:none;margin:12px 0 0;padding:0}.sextoy-cleaning-list li{color:#ddd;color:var(--text-light);font-size:.95rem;line-height:1.5;padding:8px 0 8px 20px;position:relative}.sextoy-cleaning-list li:before{color:#50c878;color:var(--primary-color);content:"•";font-weight:700;left:0;position:absolute}.sextoy-faqs{display:flex;flex-direction:column;gap:20px}.sextoy-faq{background:#ffffff08;border:1px solid #ffffff14;border-radius:8px;border-radius:var(--radius);padding:20px;transition:all .3s ease;transition:var(--transition)}.sextoy-faq:hover{background:#ffffff0d;border-color:#ffffff26}.sextoy-faq-question{color:#50c878;color:var(--primary-color);font-size:1.1rem;font-weight:600;margin:0 0 12px}.sextoy-faq-answer{color:#ddd;color:var(--text-light);font-size:1rem;line-height:1.6;margin:0}.sextoy-reviews-content{text-align:center}.sextoy-review-summary{align-items:center;display:flex;flex-direction:column;gap:8px;margin-bottom:20px}.sextoy-rating{color:#50c878;color:var(--primary-color);font-size:2.5rem;font-weight:700}.sextoy-review-text{color:#999;color:var(--text-muted);font-size:1rem}.sextoy-reviews-content p{color:#ddd;color:var(--text-light);font-size:1rem;line-height:1.6;margin:16px 0;text-align:left}.sextoy-purchase-btn{background:linear-gradient(135deg,#50c878,#48a862);background:linear-gradient(135deg,var(--primary-color),var(--primary-dark));border:none;border-radius:8px;border-radius:var(--radius);box-shadow:0 8px 16px #50c87833,0 4px 8px #0003;color:#151515;color:var(--darker-bg);cursor:pointer;font-size:1rem;font-weight:600;letter-spacing:.5px;overflow:hidden;padding:16px 32px;position:relative;text-transform:uppercase;transition:all .3s ease;transition:var(--transition)}.sextoy-purchase-btn:before{background:linear-gradient(90deg,#0000,#fff3,#0000);content:"";height:100%;left:-100%;position:absolute;top:0;transition:left .5s ease;width:100%}.sextoy-purchase-btn:hover{background:linear-gradient(135deg,#5cd68a,#50c878);background:linear-gradient(135deg,#5cd68a,var(--primary-color));box-shadow:0 12px 24px #50c8784d,0 6px 12px #0000004d;transform:translateY(-2px)}.sextoy-purchase-btn:hover:before{left:100%}.sextoy-purchase-btn:active{transform:translateY(-1px)}.sextoy-purchase-btn-large{font-size:1.2rem;padding:20px 40px}.sextoy-purchase-card{background:#50c8780d!important;border:1px solid #50c87833!important;text-align:center}.sextoy-purchase-text{color:#ddd;color:var(--text-light);font-size:1.1rem;line-height:1.6;margin:0 0 32px}.sextoy-purchase-actions{align-items:center;display:flex;flex-direction:column;gap:16px}.sextoy-discount-code{color:#ffc107;color:var(--warning-color);font-size:1rem;font-weight:500;margin:0}@media (max-width:768px){.sextoy-page{align-items:stretch;justify-content:flex-start;padding:60px 10px 10px}.sextoy-page .sextoy-container{margin:0;max-width:100%;padding:0 5px}.sextoy-page .sextoy-hero-card,.sextoy-page .sextoy-section-card{border-radius:8px;border-radius:var(--radius);box-sizing:border-box;margin-bottom:20px;padding:20px;width:100%}.sextoy-hero-content{gap:24px;grid-template-columns:1fr;text-align:center}.sextoy-title{font-size:2.2rem}.sextoy-price-amount{font-size:2rem}.sextoy-section-title{font-size:1.6rem}.sextoy-spec-row{gap:8px;grid-template-columns:1fr}.sextoy-spec-label{font-size:.9rem}.sextoy-spec-value{font-size:1rem;font-weight:500}.sextoy-purchase-btn{font-size:.9rem;padding:14px 24px}.sextoy-purchase-btn-large{font-size:1rem;padding:16px 32px}}@media (max-width:480px){.sextoy-page{padding:50px 5px 10px}.sextoy-page .sextoy-container{margin:0;max-width:100%;padding:0 3px}.sextoy-page .sextoy-hero-card,.sextoy-page .sextoy-section-card{border-radius:6px;box-sizing:border-box;margin-bottom:16px;padding:16px;width:100%}.sextoy-title{font-size:1.8rem}.sextoy-price-amount{font-size:1.6rem}.sextoy-section-title{font-size:1.4rem}.sextoy-faq,.sextoy-feature,.sextoy-safety-section{padding:16px}.sextoy-faq-question,.sextoy-feature-title{font-size:1rem}.sextoy-faq-answer,.sextoy-feature-description{font-size:.9rem}}@media (prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.sextoy-hero-card,.sextoy-section-card{animation:none}}@media (prefers-contrast:high){.sextoy-hero-card,.sextoy-section-card{border:2px solid #50c878;border:2px solid var(--primary-color)}.sextoy-spec-row{border:1px solid #444;border:1px solid var(--border-color)}.sextoy-faq,.sextoy-feature,.sextoy-safety-section{border:2px solid #444;border:2px solid var(--border-color)}}.explore-page{background:linear-gradient(135deg,#1a1a1a,#2d2d2d);color:#fff;margin:0;min-height:100vh;overflow-x:hidden;padding:0}.explore-page .content-container{margin-left:282px!important;margin-top:0!important;min-height:100vh!important;padding:0!important}.explore-mobile-header{align-items:center;backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);background:#0000004d;border-bottom:1px solid #ffffff1a;display:none;justify-content:center;min-height:60px;padding:12px 20px;position:-webkit-sticky;position:sticky;top:0;z-index:100}.explore-mobile-title{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#4ade80,#22c55e);-webkit-background-clip:text;background-clip:text;font-size:1.8rem;font-weight:700;margin:0}.explore-desktop-header{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#1a1a1af2;border-bottom:1px solid #4444444d;padding:20px 24px;position:-webkit-sticky;position:sticky;top:0;z-index:100}.explore-title{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#4ade80,#22c55e);-webkit-background-clip:text;background-clip:text;font-size:2.5rem;font-weight:700;margin:0 0 20px;text-align:center}.explore-header-controls{align-items:center;display:flex;gap:24px;justify-content:center}.explore-refresh-btn-header{align-items:center;background:linear-gradient(135deg,#4ade80,#22c55e);border:none;border-radius:10px;color:#fff;cursor:pointer;display:flex;font-size:.9rem;font-weight:600;gap:8px;padding:12px 20px;transition:all .3s ease;white-space:nowrap}.explore-refresh-btn-header:hover:not(:disabled){box-shadow:0 8px 20px #4ade804d;transform:translateY(-2px)}.explore-refresh-btn-header:disabled{cursor:not-allowed;opacity:.6;transform:none}.explore-mobile-filters{display:none;left:16px;pointer-events:none;position:fixed;right:16px;top:70px;z-index:99}.explore-content{min-height:calc(100vh - 140px);padding:0}.explore-auth-required{align-items:center;display:flex;justify-content:center;min-height:calc(100vh - 140px);padding:40px}.explore-auth-message{background:#2d2d2dcc;border:1px solid #4444444d;border-radius:16px;max-width:500px;padding:40px;text-align:center}.explore-auth-message h2{font-size:1.8rem;font-weight:600;margin:0 0 16px}.explore-auth-message p{color:#ffffffb3;font-size:1.1rem;margin:0 0 24px}.explore-login-btn{background:linear-gradient(135deg,#4ade80,#22c55e);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:12px 24px;transition:all .3s ease}.explore-login-btn:hover{box-shadow:0 8px 20px #4ade804d;transform:translateY(-2px)}.explore-filters{align-items:center;display:flex;flex-wrap:wrap;gap:24px;justify-content:center;margin:0 auto;max-width:1200px}.explore-filter-group{display:flex;flex-direction:column;gap:8px;min-width:140px}.explore-filter-label{color:#fffc;font-size:.9rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.explore-filter-toggle-group{background:#2d2d2dcc;border:1px solid #4444444d;border-radius:10px;display:flex;gap:4px;padding:4px}.explore-filter-toggle{align-items:center;background:#0000;border:none;border-radius:8px;color:#ffffffb3;cursor:pointer;display:flex;flex:1 1;font-size:.9rem;font-weight:500;gap:6px;justify-content:center;padding:10px 16px;transition:all .3s ease}.explore-filter-toggle:hover:not(:disabled){background:#ffffff1a;color:#ffffffe6}.explore-filter-toggle.active{background:linear-gradient(135deg,#4ade80,#22c55e);color:#fff;font-weight:600}.explore-filter-toggle:disabled{cursor:not-allowed;opacity:.5}.explore-filter-dropdown{position:relative}.explore-filter-select{-webkit-appearance:none;appearance:none;background:#2d2d2dcc;border:1px solid #4444444d;border-radius:10px;color:#fff;cursor:pointer;font-size:.9rem;max-width:150px;min-width:120px;padding:12px 36px 12px 16px;transition:all .3s ease}.explore-filter-select:hover:not(:disabled){border-color:#4ade8080}.explore-filter-select:focus{border-color:#4ade80;box-shadow:0 0 0 3px #4ade801a;outline:none}.explore-filter-select:disabled{cursor:not-allowed;opacity:.5}.explore-filter-select-icon{color:#fff9;pointer-events:none;position:absolute;right:12px;top:50%;transform:translateY(-50%)}.explore-filter-safe-toggle,.explore-safe-switch{align-items:center;display:flex}.explore-safe-switch{cursor:pointer;gap:12px;-webkit-user-select:none;user-select:none}.explore-safe-switch input{display:none}.explore-safe-slider{background:#2d2d2dcc;border:1px solid #4444444d;border-radius:13px;height:26px;position:relative;transition:all .3s ease;width:50px}.explore-safe-switch input:checked+.explore-safe-slider{background:linear-gradient(135deg,#4ade80,#22c55e)}.explore-safe-slider-button{background:#fff;border-radius:50%;box-shadow:0 2px 6px #0000004d;height:18px;left:3px;position:absolute;top:3px;transition:all .3s ease;width:18px}.explore-safe-switch input:checked+.explore-safe-slider .explore-safe-slider-button{transform:translateX(24px)}.explore-safe-label{color:#ffffffe6;font-size:.9rem;font-weight:500}.explore-autoplay-switch,.explore-filter-autoplay-toggle{align-items:center;display:flex}.explore-autoplay-switch{cursor:pointer;gap:12px;-webkit-user-select:none;user-select:none}.explore-autoplay-switch input{display:none}.explore-autoplay-slider{background:#2d2d2dcc;border:1px solid #4444444d;border-radius:13px;height:26px;position:relative;transition:all .3s ease;width:50px}.explore-autoplay-switch input:checked+.explore-autoplay-slider{background:linear-gradient(135deg,#4ade80,#22c55e)}.explore-autoplay-slider-button{background:#fff;border-radius:50%;box-shadow:0 2px 6px #0000004d;height:18px;left:3px;position:absolute;top:3px;transition:all .3s ease;width:18px}.explore-autoplay-switch input:checked+.explore-autoplay-slider .explore-autoplay-slider-button{transform:translateX(24px)}.explore-autoplay-label{color:#ffffffe6;font-size:.9rem;font-weight:500}.desktop-only{display:block}.explore-filter-sort-buttons{background:#2d2d2dcc;border:1px solid #4444444d;border-radius:10px;display:flex;gap:4px;padding:4px}.explore-filter-sort-btn{align-items:center;background:#0000;border:none;border-radius:8px;color:#ffffffb3;cursor:pointer;display:flex;font-size:.85rem;font-weight:500;gap:4px;padding:8px 14px;transition:all .3s ease}.explore-filter-sort-btn:hover:not(:disabled){background:#ffffff1a;color:#ffffffe6}.explore-filter-sort-btn.active{background:linear-gradient(135deg,#4ade80,#22c55e);color:#fff;font-weight:600}.explore-filter-sort-btn:disabled{cursor:not-allowed;opacity:.5}.explore-filter-summary{align-items:center;display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.explore-filter-summary-label{color:#fff9;font-size:.8rem;font-weight:500}.explore-filter-summary-tags{display:flex;flex-wrap:wrap;gap:4px}.explore-filter-summary-tag{background:#ff6b6b33;border:1px solid #ff6b6b4d;border-radius:12px;color:#ff6b6b;font-size:.75rem;font-weight:500;padding:2px 8px}.explore-feed{margin:0 auto;max-width:1400px;outline:none;padding:24px}.explore-feed-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));margin-bottom:24px}.explore-feed-empty{align-items:center;display:flex;justify-content:center;min-height:400px;padding:40px}.explore-empty-message{color:#ffffffb3;text-align:center}.explore-empty-message h3{color:#ffffffe6;font-size:1.5rem;font-weight:600;margin:0 0 12px}.explore-empty-message p{font-size:1rem;margin:0}.explore-feed-loading-more{display:flex;justify-content:center;padding:40px}.explore-load-more-trigger{height:20px;width:100%}@media (max-width:768px){.explore-load-more-trigger{background:#0000;height:100px;pointer-events:none;width:100%}}.explore-feed-end{color:#fff9;font-size:.9rem;padding:40px;text-align:center}.explore-card{aspect-ratio:3/4;background:#2d2d2dcc;border:1px solid #4444444d;border-radius:16px;cursor:pointer;display:flex;flex-direction:column;overflow:hidden;position:relative;transition:all .3s ease}.explore-card:focus,.explore-card:hover{border-color:#ff6b6b80;box-shadow:0 20px 40px #0006;outline:none;transform:translateY(-4px)}.explore-card-focused{border-color:#ff6b6b;box-shadow:0 20px 40px #4ade804d;transform:translateY(-4px)}.explore-card-media{background:#141414cc;flex:1 1;overflow:hidden;position:relative}.explore-card-loading{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.explore-card-skeleton{animation:shimmer 1.5s infinite;background:linear-gradient(90deg,#2d2d2dcc,#3c3c3ccc 50%,#2d2d2dcc);background-size:200% 100%;height:100%;width:100%}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.explore-card-error{align-items:center;background:#141414e6;bottom:0;color:#fff9;display:flex;flex-direction:column;gap:12px;justify-content:center;left:0;position:absolute;right:0;top:0}.explore-card-error-icon{color:#fff6}.explore-card-error p{font-size:.9rem;margin:0}.explore-card-image-element,.explore-card-video-element{height:100%;object-fit:cover;transition:transform .3s ease;width:100%}.explore-card:hover .explore-card-image-element,.explore-card:hover .explore-card-video-element{transform:scale(1.05)}.explore-card-video-indicator{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#000000b3;border:1px solid #ffffff1a;border-radius:50%;cursor:pointer;display:flex;height:40px;justify-content:center;position:absolute;right:12px;top:12px;transition:all .3s ease;width:40px}.explore-card-video-indicator:hover{background:#000000e6;transform:scale(1.1)}.explore-card-overlay{background:linear-gradient(0deg,#000c 0,#0006 50%,#0000);bottom:0;height:60%;left:0;pointer-events:none;position:absolute;right:0}.explore-card-content{bottom:0;color:#fff;left:0;padding:16px;position:absolute;right:0;z-index:2}.explore-card-stats{display:flex;gap:16px;margin-bottom:8px}.explore-card-stat{align-items:center;color:#fffc;display:flex;font-size:.8rem;gap:4px}.explore-card-model{border-radius:12px;display:inline-block;font-size:.7rem;font-weight:600;letter-spacing:.5px;margin-bottom:8px;padding:4px 8px;text-transform:uppercase}.explore-card-model-anime{background:#ff6b6b33;border:1px solid #ff6b6b4d;color:#ff6b6b}.explore-card-model-real{background:#4ecdc433;border:1px solid #4ecdc44d;color:#4ecdc4}.explore-card-prompt{margin-bottom:12px}.explore-card-prompt p{color:#ffffffe6;font-size:.9rem;line-height:1.4;margin:0}.explore-card-meta{align-items:center;display:flex;flex-wrap:wrap;gap:8px}.explore-card-tag{background:#ffffff1a;border:1px solid #ffffff1a;border-radius:8px;color:#fffc;font-size:.7rem;font-weight:500;padding:2px 6px}.explore-card-pose{background:#ffc10733;border-color:#ffc1074d;color:#ffc107}.explore-card-style{background:#9c27b033;border-color:#9c27b04d;color:#9c27b0}.explore-card-date{color:#fff9;font-size:.7rem;margin-left:auto}.explore-card-hover-effect{background:linear-gradient(135deg,#ff6b6b1a,#4ecdc41a);bottom:0;left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0;transition:opacity .3s ease}.explore-card:hover .explore-card-hover-effect{opacity:1}.explore-error{align-items:center;display:flex;justify-content:center;min-height:400px;padding:40px}.explore-error-message{background:#2d2d2dcc;border:1px solid #ff6b6b4d;border-radius:16px;max-width:500px;padding:40px;text-align:center}.explore-error-message h3{color:#ff6b6b;font-size:1.5rem;font-weight:600;margin:0 0 16px}.explore-error-message p{color:#fffc;line-height:1.5;margin:0 0 24px}.explore-retry-btn{background:linear-gradient(135deg,#4ade80,#22c55e);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:12px 24px;transition:all .3s ease}.explore-retry-btn:hover{box-shadow:0 8px 20px #4ade804d;transform:translateY(-2px)}.explore-viewer-overlay{align-items:center;animation:fadeIn .3s ease;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#000000f2;bottom:0;display:flex;justify-content:center;left:0;outline:none;padding:20px;position:fixed;right:0;top:0;z-index:1000}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.explore-viewer-container{animation:slideUp .3s ease;background:#1a1a1af2;border:1px solid #4444444d;border-radius:16px;display:flex;flex-direction:column;max-height:90vh;max-width:90vw;overflow:hidden}.explore-viewer-header{align-items:center;background:#2d2d2dcc;border-bottom:1px solid #4444444d;display:flex;justify-content:space-between;padding:20px 24px}.explore-viewer-title{align-items:center;display:flex;gap:12px}.explore-viewer-media-type{color:#ffffffe6;font-size:1.2rem;font-weight:600}.explore-viewer-model{border-radius:12px;font-size:.8rem;font-weight:600;letter-spacing:.5px;padding:4px 10px;text-transform:uppercase}.explore-viewer-model-anime{background:#ff6b6b33;border:1px solid #ff6b6b4d;color:#ff6b6b}.explore-viewer-model-real{background:#4ecdc433;border:1px solid #4ecdc44d;color:#4ecdc4}.explore-viewer-controls{display:flex;gap:8px}.explore-viewer-close-btn,.explore-viewer-info-btn{align-items:center;background:#2d2d2dcc;border:1px solid #4444444d;border-radius:10px;color:#fffc;cursor:pointer;display:flex;height:44px;justify-content:center;transition:all .3s ease;width:44px}.explore-viewer-close-btn:hover,.explore-viewer-info-btn:hover{background:#444c;border-color:#ff6b6b80;color:#fff}.explore-viewer-info-btn[aria-pressed=true]{background:linear-gradient(135deg,#4ade80,#22c55e);border-color:#ff6b6b80;color:#fff}.explore-viewer-media{align-items:center;background:#141414cc;display:flex;flex:1 1;justify-content:center;min-height:300px;position:relative}.explore-viewer-image,.explore-viewer-video{border-radius:8px;max-height:70vh;max-width:100%;object-fit:contain}.explore-viewer-video{outline:none}.explore-viewer-video-hint{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#000000b3;border:1px solid #ffffff1a;border-radius:8px;bottom:20px;color:#fffc;font-size:.8rem;padding:8px 12px;position:absolute;right:20px}.explore-viewer-loading{align-items:center;color:#ffffffb3;display:flex;flex-direction:column;gap:16px;padding:40px}.explore-viewer-spinner{animation:spin 1s linear infinite}.explore-viewer-spinner-path{stroke-dasharray:90,150;stroke-dashoffset:0;stroke-linecap:round;animation:dash 1.5s ease-in-out infinite}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}.explore-viewer-error{align-items:center;color:#ffffffb3;display:flex;flex-direction:column;gap:16px;padding:40px}.explore-viewer-error-icon{color:#fff6}.explore-viewer-retry-btn{background:linear-gradient(135deg,#4ade80,#22c55e);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:.9rem;font-weight:600;padding:8px 16px;transition:all .3s ease}.explore-viewer-retry-btn:hover{box-shadow:0 4px 12px #4ade804d;transform:translateY(-1px)}.explore-viewer-details{background:#2d2d2dcc;border-top:1px solid #4444444d;max-height:300px;overflow-y:auto}.explore-viewer-details-content{padding:24px}.explore-viewer-details-content h3{color:#ffffffe6;font-size:1.3rem;font-weight:600;margin:0 0 20px}.explore-viewer-stats{display:flex;gap:24px;margin-bottom:20px}.explore-viewer-stat{align-items:center;color:#fffc;display:flex;font-size:.9rem;gap:8px}.explore-viewer-detail-section{margin-bottom:20px}.explore-viewer-detail-section h4{color:#ffffffe6;font-size:1rem;font-weight:600;margin:0 0 8px}.explore-viewer-prompt{background:#14141480;border:1px solid #4444444d;border-radius:8px;color:#fffc;line-height:1.5;margin:0;padding:12px}.explore-viewer-metadata{display:flex;flex-direction:column;gap:8px}.explore-viewer-metadata-item{align-items:center;background:#14141480;border:1px solid #4444444d;border-radius:6px;display:flex;justify-content:space-between;padding:8px 12px}.explore-viewer-metadata-item span:first-child{color:#ffffffb3;font-size:.9rem;font-weight:500}.explore-viewer-metadata-item span:last-child{color:#ffffffe6;font-size:.9rem;font-weight:600}.explore-viewer-shortcuts{background:#141414cc;border-top:1px solid #4444444d;color:#fff9;display:flex;font-size:.8rem;gap:16px;justify-content:center;padding:12px 24px}.explore-loading{justify-content:center;min-height:60vh;padding:40px 24px}.explore-loading,.explore-loading-center{align-items:center;display:flex;flex-direction:column}.explore-loading-center{gap:20px}.explore-loading-center p{color:#ffffffb3;font-size:1.1rem;font-weight:500}.explore-loading-small{flex-direction:row;gap:12px;justify-content:center;padding:20px}.explore-loading-header{align-items:center;color:#ffffffb3;display:flex;flex-direction:column;gap:16px;margin-bottom:40px}.explore-loading-small .explore-loading-header{flex-direction:row;margin-bottom:0}.explore-loading-spinner{animation:spin 1s linear infinite}.explore-loading-spinner-path{stroke-dasharray:90,150;stroke-dashoffset:0;stroke-linecap:round;animation:dash 1.5s ease-in-out infinite}.explore-loading-subtle{align-items:center;display:flex;justify-content:center;min-height:200px;padding:40px}.explore-loading-pulse{display:flex;gap:8px}.explore-loading-pulse-dot{animation:pulse-fade 1.4s ease-in-out infinite;background:linear-gradient(135deg,#4ade80,#22c55e);border-radius:50%;height:12px;width:12px}.explore-loading-pulse-dot:nth-child(2){animation-delay:.2s}.explore-loading-pulse-dot:nth-child(3){animation-delay:.4s}@keyframes pulse-fade{0%,to{opacity:.3;transform:scale(.8)}50%{opacity:1;transform:scale(1.2)}}.explore-loading-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));max-width:1400px;width:100%}.explore-loading-card{aspect-ratio:3/4;background:#2d2d2dcc;border:1px solid #4444444d;border-radius:16px;display:flex;flex-direction:column;overflow:hidden}.explore-loading-media{flex:1 1;overflow:hidden}.explore-loading-content{display:flex;flex-direction:column;gap:8px;padding:16px}.explore-loading-meta{display:flex;gap:8px;margin-top:8px}.explore-loading-skeleton{animation:shimmer 1.5s infinite;background:linear-gradient(90deg,#2d2d2dcc,#3c3c3ccc 50%,#2d2d2dcc);background-size:200% 100%}.explore-loading-skeleton-media{height:100%;width:100%}.explore-loading-skeleton-text{border-radius:4px;height:14px}.explore-loading-skeleton-title{width:80%}.explore-loading-skeleton-subtitle{width:60%}.explore-loading-skeleton-tag{border-radius:8px;height:18px;width:60px}.explore-refresh-indicator{align-items:center;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:#000c;border-radius:20px;display:flex;justify-content:center;left:50%;padding:10px 20px;pointer-events:none;position:fixed;top:60px;transform:translateX(-50%);transition:opacity .3s ease,transform .3s ease;z-index:1000}.explore-refresh-spinner{align-items:center;color:#fff;display:flex;font-size:.9rem;font-weight:500;gap:10px}.explore-refresh-icon{color:#4ade80}.explore-refresh-icon.spinning{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.explore-bottom-actions{display:none}@media (max-width:768px){.explore-page .content-container{margin-left:0!important;margin-top:0!important}.explore-bottom-actions{align-items:center;bottom:110px;display:flex;justify-content:space-between;left:0;padding:0 20px;pointer-events:none;position:fixed;right:0;z-index:95}.explore-bottom-btn{align-items:center!important;backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important;background:#0009!important;border:1px solid #fff3!important;border-radius:20px!important;color:#ffffffe6!important;cursor:not-allowed!important;display:flex!important;font-size:.7rem!important;font-weight:600!important;gap:5px!important;max-width:-webkit-fit-content!important;max-width:-moz-fit-content!important;max-width:fit-content!important;opacity:.8!important;padding:6px 12px!important;pointer-events:auto!important;transition:all .3s ease!important}.explore-bottom-btn:disabled{cursor:not-allowed;opacity:.8}.explore-chatbot-btn{font-size:.75rem;left:20px;padding:8px 14px;position:absolute}.explore-warmup-btn{font-size:.7rem;padding:6px 10px;position:absolute;right:20px}.explore-warmup-btn.active{background:#50c87833;border-color:#50c878;color:#50c878}.explore-mobile-filters{display:block;left:0;pointer-events:none;position:fixed;right:0;top:60px;z-index:100}.explore-mobile-filters-header{padding:12px 16px;pointer-events:auto;position:relative}.explore-mobile-filters-content{max-height:200px;opacity:1;overflow:hidden;transform:translateY(0);transition:all .3s ease}.explore-mobile-filters-content.hidden{max-height:0;opacity:0;pointer-events:none;transform:translateY(-10px)}.explore-mobile-filters-toggle{align-items:center;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:#000000b3;border:1px solid #ffffff4d;border-radius:50%;cursor:pointer;display:flex;height:36px;justify-content:center;min-height:36px;min-width:36px;pointer-events:auto;position:absolute;right:16px;top:12px;transition:all .3s ease;width:36px;z-index:110}.explore-mobile-filters-toggle:hover{background:#000000e6;border-color:#ffffff80;transform:scale(1.1)}.explore-dropdown-arrow{color:#fff;display:block;flex-shrink:0;opacity:.9;transition:transform .3s ease}.explore-dropdown-arrow.expanded{transform:rotate(180deg)}.explore-desktop-header,.explore-filter-summary{display:none}.explore-feed{-webkit-overflow-scrolling:touch;height:100vh;margin:0;max-width:none;overflow-y:auto;overscroll-behavior:contain;padding:0;scroll-behavior:smooth;scroll-snap-type:y mandatory;touch-action:pan-y}.explore-feed-grid{display:flex;flex-direction:column;gap:0;margin-bottom:80px}.explore-card{aspect-ratio:unset;border:none;border-radius:0;flex-shrink:0;height:100vh;overflow:hidden;position:relative;scroll-snap-align:start;scroll-snap-stop:always;touch-action:pan-y;width:100vw}.explore-card-media{height:100%;width:100%}.explore-card-image-element,.explore-card-video-element{height:100%;object-fit:cover;width:100%}.explore-mobile-filters .explore-filters{-ms-overflow-style:none;-webkit-overflow-scrolling:touch;align-items:center;display:flex;flex-direction:row;gap:8px;justify-content:flex-start;overflow-x:auto;overflow-y:hidden;padding:4px 0;scrollbar-width:none}.explore-mobile-filters .explore-filters::-webkit-scrollbar{display:none}.explore-mobile-filters .explore-filter-group{flex:none;flex-shrink:0;min-width:auto;pointer-events:auto;position:relative;z-index:101}.explore-mobile-filters .explore-filter-label{display:none}.explore-mobile-filters .explore-filter-toggle-group{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:#0009;border:1px solid #fff3;border-radius:20px;padding:4px}.explore-mobile-filters .explore-filter-toggle{border-radius:16px;font-size:.75rem;font-weight:600;padding:6px 12px}.explore-mobile-filters .explore-filter-select{font-size:.75rem;min-width:auto;padding:8px 30px 8px 12px;position:relative;z-index:105}.explore-mobile-filters .explore-filter-select,.explore-mobile-filters .explore-safe-switch{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:#0009;border:1px solid #fff3;border-radius:20px}.explore-mobile-filters .explore-safe-switch{gap:8px;padding:8px 12px}.explore-mobile-filters .explore-safe-label{font-size:.75rem;font-weight:600}.explore-mobile-filters .explore-filter-sort-buttons{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:#0009;border:1px solid #fff3;border-radius:20px;padding:4px}.explore-mobile-filters .explore-filter-sort-btn{border-radius:16px;font-size:.75rem;font-weight:600;padding:6px 12px}.explore-mobile-filters .explore-autoplay-switch{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:#0009;border:1px solid #fff3;border-radius:20px;gap:8px;padding:8px 12px}.explore-mobile-filters .explore-autoplay-label{font-size:.75rem;font-weight:600}.explore-card-content{backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);background:linear-gradient(0deg,#000000b3 0,#0006 30%,#0000 60%);padding:16px 20px 20px}.explore-card-stats{gap:12px;margin-bottom:8px}.explore-card-stat{font-size:.85rem;font-weight:600}.explore-card-model{font-size:.7rem;margin-bottom:6px;opacity:.9;padding:3px 8px}.explore-card-prompt p{font-size:.85rem;line-height:1.3;margin-bottom:8px}.explore-card-meta .explore-card-tag{display:none}.explore-card-date{font-size:.7rem;opacity:.7}.explore-card-video-indicator{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:#0009;cursor:pointer;height:60px;left:50%;top:50%;transform:translate(-50%,-50%);width:60px}.explore-card-video-indicator:hover{background:#000c;transform:translate(-50%,-50%) scale(1.1)}.explore-viewer-overlay{display:none}.explore-loading-grid{display:flex;flex-direction:column;gap:0}.explore-loading-card{aspect-ratio:unset;border-radius:0;flex-shrink:0;height:100vh;scroll-snap-align:start;scroll-snap-stop:always;width:100vw}}@media (max-width:480px){.explore-mobile-filters .explore-filter-toggle{font-size:.7rem;padding:4px 8px}.explore-mobile-filters .explore-filter-select{font-size:.7rem;padding:6px 25px 6px 10px}.explore-mobile-filters .explore-safe-switch{padding:6px 10px}.explore-mobile-filters .explore-safe-label{font-size:.7rem}.explore-mobile-filters .explore-filter-sort-btn{font-size:.7rem;padding:4px 8px}.explore-mobile-filters .explore-autoplay-switch{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:#0009;border:1px solid #fff3;border-radius:20px;gap:6px;padding:6px 10px}.explore-mobile-filters .explore-autoplay-label{font-size:.7rem}.explore-filter-refresh-btn{align-items:center;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:#0009;border:1px solid #fff3;border-radius:20px;color:#ffffffe6;cursor:pointer;display:flex;font-size:.75rem;font-weight:600;gap:6px;padding:8px 14px;transition:all .3s ease}.explore-filter-refresh-btn:hover:not(:disabled){background:#000c;border-color:#4ade8080}.explore-filter-refresh-btn:disabled{cursor:not-allowed;opacity:.5}.explore-filter-refresh-btn svg{color:#4ade80}}.desktop-explore-modal-overlay{align-items:center;animation:desktop-explore-modal-fade-in .3s ease;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);background:#000000e6;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:10000}@keyframes desktop-explore-modal-fade-in{0%{opacity:0}to{opacity:1}}.desktop-explore-modal-container{animation:desktop-explore-modal-scale-in .3s ease;backdrop-filter:blur(40px);-webkit-backdrop-filter:blur(40px);background:#141414f2;border:1px solid #ffffff1a;border-radius:20px;box-shadow:0 25px 50px -12px #00000080;display:flex;flex-direction:column;height:85vh;max-width:1400px;position:relative;width:90vw}@keyframes desktop-explore-modal-scale-in{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.desktop-explore-modal-close{align-items:center;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:#ffffff1a;border:1px solid #fff3;border-radius:50%;color:#ffffffe6;cursor:pointer;display:flex;height:40px;justify-content:center;position:absolute;right:20px;top:20px;transition:all .3s ease;width:40px;z-index:10}.desktop-explore-modal-close:hover{background:#fff3;transform:scale(1.1)}.desktop-explore-modal-content{border-radius:20px;display:flex;flex:1 1;overflow:hidden}.desktop-explore-modal-media-section{align-items:center;background:#0000004d;display:flex;flex:1 1;justify-content:center;padding:20px}.desktop-explore-modal-media-container{align-items:center;border-radius:12px;display:flex;height:100%;justify-content:center;overflow:hidden;position:relative;width:100%}.desktop-explore-modal-image,.desktop-explore-modal-video{border-radius:12px;height:auto;max-height:100%;max-width:100%;object-fit:contain;width:auto}.desktop-explore-modal-video-overlay{align-items:center;bottom:0;cursor:pointer;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.desktop-explore-modal-play-button{align-items:center;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:#000000b3;border-radius:50%;display:flex;height:80px;justify-content:center;transition:transform .3s ease;width:80px}.desktop-explore-modal-play-button:hover{transform:scale(1.1)}.desktop-explore-modal-loading{align-items:center;display:flex;height:100%;justify-content:center;width:100%}.desktop-explore-modal-spinner{animation:desktop-explore-modal-spin 1s linear infinite;border:3px solid #ffffff1a;border-radius:50%;border-top-color:#4ade80;height:50px;width:50px}@keyframes desktop-explore-modal-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.desktop-explore-modal-error{align-items:center;color:#ffffffb3;display:flex;flex-direction:column;gap:16px;justify-content:center}.desktop-explore-modal-retry{background:#4ade8033;border:1px solid #4ade8080;border-radius:20px;color:#4ade80;cursor:pointer;font-weight:500;padding:8px 20px;transition:all .3s ease}.desktop-explore-modal-retry:hover{background:#4ade804d;transform:scale(1.05)}.desktop-explore-modal-details-section{border-left:1px solid #ffffff1a;display:flex;flex-direction:column;gap:24px;overflow-y:auto;padding:30px;width:380px}.desktop-explore-modal-model{align-items:center;display:flex;gap:8px}.desktop-explore-modal-model-badge{border-radius:20px;font-size:.85rem;font-weight:600;letter-spacing:.5px;padding:6px 12px;text-transform:uppercase}.desktop-explore-modal-model-flux{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.desktop-explore-modal-model-venice{background:linear-gradient(135deg,#f093fb,#f5576c);color:#fff}.desktop-explore-modal-model-stable-diffusion{background:linear-gradient(135deg,#4facfe,#00f2fe);color:#fff}.desktop-explore-modal-stats{display:flex;gap:24px}.desktop-explore-modal-stat{align-items:center;color:#ffffffe6;display:flex;font-size:1rem;font-weight:500;gap:8px}.desktop-explore-modal-stat svg{color:#ef4444}.desktop-explore-modal-stat:last-child svg{color:#3b82f6}.desktop-explore-modal-actions{display:flex;flex-direction:column;gap:12px}.desktop-explore-modal-action-btn{align-items:center;border:none;border-radius:12px;cursor:pointer;display:flex;font-size:.95rem;font-weight:600;gap:10px;justify-content:center;padding:12px 20px;transition:all .3s ease}.desktop-explore-modal-action-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.desktop-explore-modal-action-primary:hover{box-shadow:0 10px 20px -5px #667eea80;transform:translateY(-2px)}.desktop-explore-modal-action-secondary{background:#4ade8033;border:1px solid #4ade8080;color:#4ade80}.desktop-explore-modal-action-secondary:hover{background:#4ade804d;transform:translateY(-2px)}.desktop-explore-modal-prompt-section{display:flex;flex-direction:column;gap:12px}.desktop-explore-modal-prompt-section h3{color:#ffffffe6;font-size:1rem;font-weight:600;margin:0}.desktop-explore-modal-prompt{color:#ffffffb3;font-size:.9rem;line-height:1.6;margin:0}.desktop-explore-modal-metadata{display:flex;flex-direction:column;gap:12px}.desktop-explore-modal-metadata h3{color:#ffffffe6;font-size:1rem;font-weight:600;margin:0}.desktop-explore-modal-metadata-items{display:flex;flex-direction:column;gap:10px}.desktop-explore-modal-metadata-item{border-bottom:1px solid #ffffff0d;display:flex;justify-content:space-between;padding:8px 0}.desktop-explore-modal-metadata-label{color:#ffffff80;font-size:.85rem}.desktop-explore-modal-metadata-value{color:#ffffffe6;font-size:.85rem;font-weight:500}.desktop-explore-modal-date{align-items:center;color:#ffffff80;display:flex;font-size:.85rem;gap:8px;margin-top:auto;padding-top:20px}.desktop-explore-modal-shortcuts{border-top:1px solid #ffffff1a;color:#fff6;display:flex;font-size:.75rem;gap:20px;letter-spacing:1px;padding:12px 20px;text-transform:uppercase}@media (max-width:768px){.desktop-explore-modal-overlay{display:none}}.turn-into-chatbot-modal-overlay{align-items:center;animation:turn-into-chatbot-fadeIn .3s ease;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:10000}.turn-into-chatbot-modal-overlay:before{background:inherit;bottom:0;content:"";filter:blur(20px) brightness(.4);left:0;position:absolute;right:0;top:0;z-index:-1}@keyframes turn-into-chatbot-fadeIn{0%{opacity:0}to{opacity:1}}.turn-into-chatbot-modal{animation:turn-into-chatbot-slideUp .3s ease;backdrop-filter:blur(40px) saturate(200%);-webkit-backdrop-filter:blur(40px) saturate(200%);background:#ffffff14;border:1px solid #fff3;border-radius:16px;box-shadow:0 20px 60px #0000004d,inset 0 0 0 1px #ffffff1a;display:flex;flex-direction:column;max-height:80vh;max-width:500px;overflow:hidden;width:100%}@keyframes turn-into-chatbot-slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.turn-into-chatbot-modal-header{align-items:center;background:#ffffff08;border-bottom:1px solid #ffffff1a;display:flex;justify-content:space-between;padding:20px}.turn-into-chatbot-modal-header h2{color:#fff;font-size:1.5rem;font-weight:600;margin:0}.turn-into-chatbot-modal-close{align-items:center;background:#0000;border:none;border-radius:8px;color:#999;cursor:pointer;display:flex;justify-content:center;padding:4px;transition:all .3s ease}.turn-into-chatbot-modal-close:hover{background:#ffffff1a;color:#fff}.turn-into-chatbot-modal-body{color:#fff;flex:1 1;overflow-y:auto;padding:24px}.turn-into-chatbot-subscription-prompt{padding:32px 0;text-align:center}.turn-into-chatbot-icon-premium{color:#50c878;margin-bottom:24px}.turn-into-chatbot-subscription-prompt h3{color:#fff;font-size:1.5rem;margin:0 0 16px}.turn-into-chatbot-subscription-prompt p{color:#ddd;font-size:1rem;margin-bottom:24px}.turn-into-chatbot-benefits{list-style:none;margin:0 auto 32px;max-width:400px;padding:0;text-align:left}.turn-into-chatbot-benefits li{border-bottom:1px solid #ffffff0d;color:#ddd;font-size:.95rem;padding:12px 0}.turn-into-chatbot-benefits li:last-child{border-bottom:none}.turn-into-chatbot-subscribe-btn{background:linear-gradient(135deg,#50c878,#48a862);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:14px 32px;transition:all .3s ease}.turn-into-chatbot-subscribe-btn:hover{box-shadow:0 10px 20px #50c8784d;transform:translateY(-2px)}.turn-into-chatbot-note{color:#999;font-size:.85rem;margin-top:16px}.turn-into-chatbot-explainer{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;margin-bottom:20px;padding:16px 20px;text-align:center}.turn-into-chatbot-explainer p{color:#ddd;font-size:.9rem;line-height:1.5;margin:0}.turn-into-chatbot-preview{align-items:center;background:#ffffff0d;border-radius:12px;display:flex;height:200px;justify-content:center;margin-bottom:24px;overflow:hidden;width:100%}.turn-into-chatbot-preview-media{height:100%;object-fit:contain;width:100%}.turn-into-chatbot-form-group{margin-bottom:24px}.turn-into-chatbot-form-group label{color:#ddd;display:block;font-size:.9rem;font-weight:500;margin-bottom:8px}.turn-into-chatbot-textarea{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;box-sizing:border-box;color:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;font-size:.95rem;padding:12px;resize:vertical;text-align:left;transition:all .3s ease;width:100%}.turn-into-chatbot-textarea:focus{background:#ffffff14;border-color:#50c878;outline:none}.turn-into-chatbot-textarea::placeholder{color:#666}.turn-into-chatbot-nsfw-description{color:#50c878;font-size:.85rem;font-style:italic;margin-bottom:12px}.turn-into-chatbot-slider{-webkit-appearance:none;appearance:none;background:#ffffff1a;border-radius:3px;cursor:pointer;height:6px;outline:none;width:100%}.turn-into-chatbot-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:#50c878;border-radius:50%;cursor:pointer;height:20px;-webkit-transition:all .3s ease;transition:all .3s ease;width:20px}.turn-into-chatbot-slider::-webkit-slider-thumb:hover{background:#48a862;transform:scale(1.1)}.turn-into-chatbot-slider::-moz-range-thumb{background:#50c878;border:none;border-radius:50%;cursor:pointer;height:20px;-moz-transition:all .3s ease;transition:all .3s ease;width:20px}.turn-into-chatbot-slider::-moz-range-thumb:hover{background:#48a862;transform:scale(1.1)}.turn-into-chatbot-slider-labels{color:#999;display:flex;font-size:.8rem;justify-content:space-between;margin-top:8px}.turn-into-chatbot-categories-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:12px}.turn-into-chatbot-toggle-categories{align-items:center;background:#ffffff1a;border:1px solid #fff3;border-radius:6px;color:#ddd;cursor:pointer;display:flex;font-size:.85rem;gap:8px;padding:6px 12px;transition:all .3s ease}.turn-into-chatbot-toggle-categories:hover{background:#ffffff26;border-color:#ffffff4d}.turn-into-chatbot-category-count{background:#50c878;border-radius:10px;color:#000;font-size:.75rem;font-weight:600;padding:2px 6px}.turn-into-chatbot-categories-grid{grid-gap:6px;background:#0003;border:1px solid #ffffff0d;border-radius:8px;display:grid;gap:6px;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));margin-top:12px;max-height:200px;overflow-y:auto;padding:8px}.turn-into-chatbot-category-chip{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:16px;color:#999;cursor:pointer;font-size:.75rem;overflow:hidden;padding:6px 10px;text-align:center;text-overflow:ellipsis;transition:all .3s ease;white-space:nowrap}.turn-into-chatbot-category-chip:hover{background:#ffffff1a;color:#ddd}.turn-into-chatbot-category-chip.selected{background:#50c87833;border-color:#50c878;color:#50c878}.turn-into-chatbot-generated{padding:24px 0;text-align:center}.turn-into-chatbot-success-icon{animation:turn-into-chatbot-checkmark .5s ease;color:#50c878;margin-bottom:16px}@keyframes turn-into-chatbot-checkmark{0%{transform:scale(0) rotate(-45deg)}to{transform:scale(1) rotate(0)}}.turn-into-chatbot-generated h3{color:#50c878;font-size:1.3rem;margin:0 0 24px}.turn-into-chatbot-character-info{background:#ffffff0d;border-radius:12px;margin-bottom:24px;padding:20px;text-align:left}.turn-into-chatbot-character-info h4{color:#fff;font-size:1.2rem;margin:0 0 12px}.turn-into-chatbot-character-prompt-container{background:#0003;border:1px solid #ffffff0d;border-radius:8px;margin-bottom:16px;max-height:150px;overflow-y:auto;padding:8px}.turn-into-chatbot-character-prompt-container::-webkit-scrollbar{width:6px}.turn-into-chatbot-character-prompt-container::-webkit-scrollbar-track{background:#0000001a;border-radius:3px}.turn-into-chatbot-character-prompt-container::-webkit-scrollbar-thumb{background:#50c8784d;border-radius:3px}.turn-into-chatbot-character-prompt-container::-webkit-scrollbar-thumb:hover{background:#50c87880}.turn-into-chatbot-character-prompt{color:#ddd;font-size:.9rem;line-height:1.5;margin:0}.turn-into-chatbot-character-traits{display:flex;flex-wrap:wrap;gap:8px}.turn-into-chatbot-trait{background:#50c87833;border-radius:12px;color:#50c878;font-size:.85rem;padding:4px 12px}.turn-into-chatbot-details-toggle{background:#50c87826;border:1px solid #50c8784d;border-radius:8px;color:#50c878;cursor:pointer;font-size:.85rem;margin:12px 0;padding:8px 16px;transition:all .3s ease}.turn-into-chatbot-details-toggle:hover{background:#50c87840;transform:translateY(-1px)}.turn-into-chatbot-full-details{background:#0003;border:1px solid #ffffff0d;border-radius:8px;margin-top:16px;max-height:400px;overflow-y:auto;padding:12px}.turn-into-chatbot-full-details::-webkit-scrollbar{width:6px}.turn-into-chatbot-full-details::-webkit-scrollbar-track{background:#0000001a;border-radius:3px}.turn-into-chatbot-full-details::-webkit-scrollbar-thumb{background:#50c8784d;border-radius:3px}.turn-into-chatbot-detail-section{border-bottom:1px solid #ffffff0d;margin-bottom:20px;padding-bottom:16px}.turn-into-chatbot-detail-section:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.turn-into-chatbot-detail-section h5{color:#50c878;font-size:.9rem;font-weight:600;letter-spacing:.5px;margin:0 0 8px;text-transform:uppercase}.turn-into-chatbot-detail-section p{color:#ddd;font-size:.9rem;line-height:1.5;margin:0;white-space:pre-wrap}.turn-into-chatbot-actions{display:flex;flex-direction:column;gap:12px}.turn-into-chatbot-chat-btn,.turn-into-chatbot-regenerate-btn,.turn-into-chatbot-submit-btn{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:12px;cursor:pointer;font-size:1rem;font-weight:600;padding:14px 24px;transition:all .3s ease}.turn-into-chatbot-chat-btn,.turn-into-chatbot-submit-btn{background:#50c87840;border:1px solid #50c87880;color:#50c878}.turn-into-chatbot-chat-btn:hover,.turn-into-chatbot-submit-btn:hover{background:#50c87859;box-shadow:0 10px 30px #50c8784d;transform:translateY(-2px)}.turn-into-chatbot-regenerate-btn{background:#ffffff0d;border:1px solid #50c8784d;color:#50c878}.turn-into-chatbot-regenerate-btn:hover{background:#50c8781a;border-color:#50c87880;transform:translateY(-2px)}.turn-into-chatbot-regeneration-input{animation:turn-into-chatbot-fadeIn .3s ease;margin-top:12px}.turn-into-chatbot-regeneration-buttons{display:flex;gap:8px;margin-top:12px}.turn-into-chatbot-cancel-btn,.turn-into-chatbot-regenerate-confirm-btn{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:10px;cursor:pointer;flex:1 1;font-size:.95rem;font-weight:600;padding:12px 20px;transition:all .3s ease}.turn-into-chatbot-regenerate-confirm-btn{background:#50c87840;border:1px solid #50c87880;color:#50c878}.turn-into-chatbot-regenerate-confirm-btn:hover:not(:disabled){background:#50c87859;box-shadow:0 10px 20px #50c8784d;transform:translateY(-2px)}.turn-into-chatbot-regenerate-confirm-btn:disabled{cursor:not-allowed;opacity:.5}.turn-into-chatbot-cancel-btn{background:#ff5a5a26;border:1px solid #ff5a5a4d;color:#ff5a5a}.turn-into-chatbot-cancel-btn:hover{background:#ff5a5a40;transform:translateY(-2px)}.turn-into-chatbot-generate-btn{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#50c87833;border:1px solid #50c878;border-radius:12px;color:#50c878;cursor:pointer;display:flex;font-size:1rem;font-weight:600;gap:12px;justify-content:center;overflow:hidden;padding:16px 24px;position:relative;transition:all .3s ease;width:100%}.turn-into-chatbot-generate-btn:before{background:linear-gradient(135deg,#50c8784d,#50c8781a);bottom:0;content:"";left:0;opacity:0;position:absolute;right:0;top:0;transition:opacity .3s ease}.turn-into-chatbot-generate-btn:hover:not(:disabled):before{opacity:1}.turn-into-chatbot-generate-btn:hover:not(:disabled){border-color:#60d888;box-shadow:0 10px 30px #50c87866,inset 0 0 20px #50c87833;color:#60d888;transform:translateY(-2px)}.turn-into-chatbot-generate-btn:disabled{cursor:not-allowed;opacity:.5}.turn-into-chatbot-spinner{animation:turn-into-chatbot-spin .8s linear infinite;border:2px solid #ffffff4d;border-radius:50%;border-top-color:#fff;height:16px;width:16px}@keyframes turn-into-chatbot-spin{to{transform:rotate(1turn)}}.turn-into-chatbot-error{align-items:center;background:#ff5a5a1a;border:1px solid #ff5a5a4d;border-radius:8px;color:#ff5a5a;display:flex;font-size:.9rem;gap:12px;margin-bottom:16px;padding:12px}.turn-into-chatbot-existing-notice,.turn-into-chatbot-submitted-notice{background:#50c8781a;border:1px solid #50c8784d;border-radius:8px;padding:16px;text-align:center}.turn-into-chatbot-existing-notice p,.turn-into-chatbot-submitted-notice p{color:#50c878;font-size:.95rem;margin:0 0 12px}.turn-into-chatbot-submitted-notice p:last-child{color:#ddd;font-size:.85rem;margin:0}@media (max-width:768px){.turn-into-chatbot-modal{border-radius:12px;margin:10px;max-height:90vh;max-width:calc(100% - 20px)}.turn-into-chatbot-modal-overlay{padding:0}.turn-into-chatbot-modal-header{padding:20px}.turn-into-chatbot-modal-header h2{font-size:1.25rem}.turn-into-chatbot-modal-body{padding:20px}.turn-into-chatbot-preview{height:150px}.turn-into-chatbot-categories-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}.turn-into-chatbot-category-chip{font-size:.75rem;padding:6px 10px}}.cock-hero-visualizer{align-items:center;background:#0000004d;border:1px solid #ffffff0d;border-radius:8px;display:flex;flex:1 1;height:70px;justify-content:center;max-height:80px;min-height:60px;overflow:hidden;position:relative;width:100%}.cock-hero-canvas{height:100%;image-rendering:crisp-edges;image-rendering:pixelated;width:100%}.warmup-overlay-container{bottom:0;box-sizing:border-box;display:flex;justify-content:center;left:0;padding:10px;pointer-events:none;position:fixed;right:0;z-index:1000}.warmup-overlay-panel{backdrop-filter:blur(40px) saturate(180%);-webkit-backdrop-filter:blur(40px) saturate(180%);background:#14141466;border:1px solid #ffffff26;border-radius:16px;box-shadow:0 8px 32px #0000004d,inset 0 1px 0 #ffffff14;box-sizing:border-box;display:flex;flex-direction:column;gap:4px;height:auto;margin:0 auto;max-height:180px;max-width:600px;min-height:160px;padding:10px;pointer-events:all;transition:all .2s ease;width:100%}.warmup-overlay-panel.pressed{backdrop-filter:blur(2px) saturate(100%);-webkit-backdrop-filter:blur(2px) saturate(100%);background:#1414140d;border:1px solid #ffffff05;box-shadow:none;opacity:.1}.warmup-overlay-header{align-items:center;border-bottom:1px solid #ffffff1a;display:flex;justify-content:space-between;padding-bottom:8px}.warmup-header-left{align-items:center;display:flex;gap:12px}.warmup-connection-status{align-items:center;color:#fffc;display:flex;font-size:12px;gap:8px}.warmup-status-dot{background:#666;border-radius:50%;height:8px;transition:all .3s ease;width:8px}.warmup-status-dot.connected{animation:warmup-pulse 2s infinite;background:#50c878;box-shadow:0 0 10px #50c878}.warmup-status-dot.disconnected{background:#f44}@keyframes warmup-pulse{0%,to{opacity:1}50%{opacity:.5}}.warmup-metronome-btn{align-items:center;background:#ffffff0d;border:1px solid #fff3;border-radius:6px;color:#fff9;cursor:pointer;display:flex;height:28px;justify-content:center;padding:0;transition:all .2s ease;width:28px}.warmup-metronome-btn:hover{background:#ffffff1a;border-color:#50c87880;color:#fff}.warmup-metronome-btn.active{animation:warmup-metronome-pulse 1s infinite;background:#50c87833;border-color:#50c878;color:#50c878}@keyframes warmup-metronome-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.warmup-view-toggle{background:#0000004d;border-radius:6px;display:flex;gap:2px;padding:2px}.warmup-view-btn{background:#0000;border:none;border-radius:4px;color:#ffffff80;cursor:pointer;font-size:12px;font-weight:600;padding:4px 8px;transition:all .2s ease}.warmup-view-btn:hover{color:#fffc}.warmup-view-btn.active{background:#50c8784d;color:#50c878}.warmup-create-character-btn{align-items:center;background:#9333ea33;border:1px solid #9333ea4d;border-radius:6px;color:#fffc;cursor:pointer;display:flex;font-size:12px;font-weight:600;height:28px;justify-content:center;padding:6px 12px;transition:all .2s}.warmup-create-character-btn:hover:not(:disabled){background:#9333ea4d;border-color:#9333ea80;box-shadow:0 2px 8px #9333ea4d;color:#fff;transform:translateY(-1px)}.warmup-create-character-btn:disabled{cursor:not-allowed;opacity:.3}.warmup-close-btn{align-items:center;background:none;border:none;color:#fff9;cursor:pointer;display:flex;justify-content:center;padding:4px;transition:all .2s ease}.warmup-close-btn:hover{color:#fff;transform:scale(1.1)}.warmup-pattern-text{color:#50c878;font-size:15px;font-weight:600;min-height:20px;overflow:hidden;padding:2px;position:relative;text-align:center;text-shadow:0 0 20px #50c87880}.warmup-pattern-text-content{animation:warmup-typing 1.5s ease-out;display:inline-block}@keyframes warmup-typing{0%{max-width:0;opacity:0}10%{opacity:1}to{max-width:100%;opacity:1}}.warmup-pattern-text:after{animation:warmup-cursor-blink .8s infinite;color:#50c878;content:"|";opacity:0;position:absolute;right:-2px}.warmup-pattern-text.typing:after{opacity:1}@keyframes warmup-cursor-blink{0%,50%{opacity:1}51%,to{opacity:0}}@media (max-width:768px){.warmup-overlay-container{bottom:60px;box-sizing:border-box;padding:10px;width:100%}.warmup-overlay-panel{box-sizing:border-box;margin:0 auto;max-height:180px;max-width:calc(100vw - 20px);min-height:160px;width:calc(100% - 20px)}.warmup-header-left{gap:8px}.warmup-connection-status span{display:none}.warmup-pattern-text{font-size:14px}}.login-container{align-items:center;background:linear-gradient(135deg,#0d0d0d,#151515 25%,#1c1c1c 50%,#242424);background:linear-gradient(135deg,var(--darkest-bg) 0,var(--darker-bg) 25%,var(--dark-bg) 50%,var(--medium-bg) 100%);background-image:radial-gradient(circle at 20% 80%,#50c87814 0,#0000 50%),radial-gradient(circle at 80% 20%,#50c8780a 0,#0000 50%),radial-gradient(circle at 40% 40%,hsla(0,0%,100%,.015) 0,#0000 50%);box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;left:0;min-height:100vh;overflow:hidden;padding:20px;position:fixed;top:0;width:100%;z-index:10}.login-character-background{bottom:0;left:0;position:absolute;right:0;top:0;z-index:-2}.login-character-background:after{background:#0000001a;bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:1}.login-card{animation:slideUp .6s ease;backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);background:#0000004d;border:1px solid #ffffff1a;border-radius:16px;border-radius:var(--radius-large);box-shadow:0 20px 40px #0006,0 8px 16px #0003,inset 0 1px 0 #ffffff1a;max-width:420px;overflow:hidden;padding:32px;position:relative;width:100%;&:before{background:linear-gradient(90deg,#0000,#50c878,#0000);background:linear-gradient(90deg,#0000,var(--primary-color),#0000);content:"";height:1px;left:0;opacity:.5;position:absolute;right:0;top:0}}.login-header{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#50c878,#6ac995);background:linear-gradient(135deg,var(--primary-color),#6ac995);-webkit-background-clip:text;background-clip:text;font-size:2.2rem;font-weight:700;letter-spacing:-.5px;margin-bottom:8px;text-align:center;text-shadow:0 4px 8px #50c87833}.login-account-recovery-warning{align-items:center;background:#ffc1071a;border:1px solid #ffc10733;border-radius:8px;border-radius:var(--radius);box-shadow:0 4px 12px #ffc1071a;color:#ffecb3;display:flex;gap:8px;justify-content:center;margin-bottom:24px;position:relative}.login-account-recovery-warning,.login-error{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-size:.9rem;padding:14px 16px;text-align:center}.login-error{background:#ff5a5a26;border:1px solid #ff5a5a4d;border-radius:8px;border-radius:var(--radius);box-shadow:0 4px 12px #ff5a5a1a;color:#ffb3b3;margin-bottom:20px}.login-form{gap:24px}.form-group,.login-form{display:flex;flex-direction:column}.form-group{position:relative}.form-group label{color:#ddd;color:var(--text-light);font-size:.9rem;font-weight:500;letter-spacing:.5px;margin-bottom:8px;text-transform:uppercase}.login-form .form-group input{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;border-radius:var(--radius);box-sizing:border-box;color:#fff;color:var(--text-color);font-size:1rem;padding:16px 18px;position:relative;transition:all .3s ease;transition:var(--transition);width:100%}.login-form .form-group input:focus{background:#ffffff14;border-color:#50c878;border-color:var(--primary-color);box-shadow:0 0 0 3px #50c87833,0 4px 12px #50c87826;outline:none;transform:translateY(-1px)}.login-form .form-group input::placeholder{color:#999;color:var(--text-muted);transition:all .3s ease;transition:var(--transition)}.login-form .form-group input:focus::placeholder{opacity:.7}.login-button{background:linear-gradient(135deg,#50c878,#48a862);background:linear-gradient(135deg,var(--primary-color),var(--primary-dark));border:none;border-radius:8px;border-radius:var(--radius);box-shadow:0 8px 16px #50c87833,0 4px 8px #0003;color:#151515;color:var(--darker-bg);cursor:pointer;font-size:1rem;font-weight:600;letter-spacing:.5px;margin-top:8px;overflow:hidden;padding:16px 24px;position:relative;text-transform:uppercase;transition:all .3s ease;transition:var(--transition)}.login-button:before{background:linear-gradient(90deg,#0000,#fff3,#0000);content:"";height:100%;left:-100%;position:absolute;top:0;transition:left .5s ease;width:100%}.login-button:hover{background:linear-gradient(135deg,#5cd68a,#50c878);background:linear-gradient(135deg,#5cd68a,var(--primary-color));box-shadow:0 12px 24px #50c8784d,0 6px 12px #0000004d;transform:translateY(-2px)}.login-button:hover:before{left:100%}.login-button:active{transform:translateY(-1px)}.signup-link{color:#ddd;color:var(--text-light);font-size:.95rem;margin-top:24px;text-align:center}.signup-link a{border-radius:8px;border-radius:var(--radius);color:#50c878;color:var(--primary-color);display:inline-block;font-weight:500;padding:8px 12px;position:relative;text-decoration:none;transition:all .3s ease;transition:var(--transition)}.signup-link a:hover{background:#50c8781a;box-shadow:0 4px 8px #50c87826;transform:translateY(-1px)}@media (max-width:768px){.login-container{justify-content:flex-start;padding:80px 16px 16px}.login-card{border-radius:12px;max-width:100%;padding:28px 24px}.login-header{font-size:2rem}.form-group input{font-size:16px;padding:14px 16px}.login-button{padding:14px 20px}.login-account-recovery-warning{font-size:.85rem;padding:12px 14px}}@media (max-width:480px){.login-container{padding:60px 12px 12px}.login-card{border-radius:8px;padding:24px 20px}.login-header{font-size:1.8rem;margin-bottom:16px}.form-group{gap:20px}.form-group input{padding:12px 14px}.login-button{font-size:.95rem;padding:12px 16px}.login-account-recovery-warning{flex-direction:column;font-size:.8rem;gap:4px;padding:10px 12px}}@media (prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.login-card{animation:none}}@media (prefers-contrast:high){.login-card{border:2px solid #50c878;border:2px solid var(--primary-color)}.login-form .form-group input{border:2px solid #444;border:2px solid var(--border-color)}.login-form .form-group input:focus{border:2px solid #50c878;border:2px solid var(--primary-color)}}:root{--darkest-bg:#0d0d0d;--success-color:#4caf50;--warning-color:#ffc107;--radius-large:16px}.signup-container{align-items:center;background:linear-gradient(135deg,#0d0d0d,#151515 25%,#1c1c1c 50%,#242424);background:linear-gradient(135deg,var(--darkest-bg) 0,var(--darker-bg) 25%,var(--dark-bg) 50%,var(--medium-bg) 100%);background-image:radial-gradient(circle at 20% 80%,#50c87814 0,#0000 50%),radial-gradient(circle at 80% 20%,#50c8780a 0,#0000 50%),radial-gradient(circle at 40% 40%,hsla(0,0%,100%,.015) 0,#0000 50%);box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;left:0;min-height:100vh;overflow-x:hidden;overflow-y:auto;padding:20px;position:fixed;top:0;width:100%;z-index:10}.signup-character-background{bottom:0;left:0;position:absolute;right:0;top:0;z-index:-2}.signup-character-background:after{background:#0000001a;bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:1}.signup-card{animation:slideUpSignup .6s ease;backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);background:#0000004d;border:1px solid #ffffff1a;border-radius:16px;border-radius:var(--radius-large);box-shadow:0 20px 40px #0006,0 8px 16px #0003,inset 0 1px 0 #ffffff1a;max-width:440px;overflow:hidden;padding:32px;position:relative;width:100%;&:before{background:linear-gradient(90deg,#0000,#50c878,#0000);background:linear-gradient(90deg,#0000,var(--primary-color),#0000);content:"";height:1px;left:0;opacity:.5;position:absolute;right:0;top:0}}@keyframes slideUpSignup{0%{opacity:0;transform:translateY(30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.signup-header{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#50c878,#6ac995);background:linear-gradient(135deg,var(--primary-color),#6ac995);-webkit-background-clip:text;background-clip:text;font-size:2.2rem;font-weight:700;letter-spacing:-.5px;margin-bottom:8px;text-align:center;text-shadow:0 4px 8px #50c87833}.signup-account-recovery-warning{align-items:center;background:#ffc1071a;border:1px solid #ffc10733;border-radius:8px;border-radius:var(--radius);box-shadow:0 4px 12px #ffc1071a;color:#ffecb3;display:flex;gap:8px;justify-content:center;margin-bottom:24px;position:relative}.signup-account-recovery-warning,.signup-error{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-size:.9rem;padding:14px 16px;text-align:center}.signup-error{background:#ff5a5a26;border:1px solid #ff5a5a4d;border-radius:8px;border-radius:var(--radius);box-shadow:0 4px 12px #ff5a5a1a;color:#ffb3b3;margin-bottom:20px}.signup-success{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#4caf5026;border:1px solid #4caf504d;border-radius:8px;border-radius:var(--radius);box-shadow:0 4px 12px #4caf501a;color:#c8e6c9;font-size:.9rem;margin-bottom:20px;padding:14px 16px;text-align:center}.signup-form{display:flex;flex-direction:column;gap:16px}.signup-form .form-group{display:flex;flex-direction:column;position:relative}.signup-form .form-group label{color:#ddd;color:var(--text-light);font-size:.9rem;font-weight:500;letter-spacing:.5px;margin-bottom:8px;text-transform:uppercase}.signup-form .form-group input{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;border-radius:var(--radius);box-sizing:border-box;color:#fff;color:var(--text-color);font-size:1rem;padding:16px 18px;position:relative;transition:all .3s ease;transition:var(--transition);width:100%}.signup-form .form-group input:focus{background:#ffffff14;border-color:#50c878;border-color:var(--primary-color);box-shadow:0 0 0 3px #50c87833,0 4px 12px #50c87826;outline:none;transform:translateY(-1px)}.signup-form .form-group input::placeholder{color:#999;color:var(--text-muted);transition:all .3s ease;transition:var(--transition)}.signup-form .form-group input:focus::placeholder{opacity:.7}.signup-checkboxes-container{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff08;border:1px solid #ffffff14;border-radius:8px;border-radius:var(--radius);display:flex;flex-direction:column;gap:12px;margin:12px 0 20px;padding:16px;transition:all .3s ease;transition:var(--transition)}.signup-checkboxes-container:hover{background:#ffffff0d;border-color:#ffffff1f}.signup-terms-checkbox{align-items:flex-start;-webkit-backdrop-filter:none;backdrop-filter:none;background:none;border:none;border-radius:0;display:flex;gap:12px;margin:0;padding:0}.signup-terms-checkbox:hover{background:none}.signup-email-marketing-checkbox input[type=checkbox],.signup-terms-checkbox input[type=checkbox]{accent-color:#50c878;accent-color:var(--primary-color);border-radius:4px;cursor:pointer;flex-shrink:0;height:20px;margin-top:2px;width:20px}.signup-email-marketing-checkbox label,.signup-terms-checkbox label{color:#ddd;color:var(--text-light);cursor:pointer;font-size:.9rem;letter-spacing:normal;line-height:1.5;margin-bottom:0;text-transform:none}.signup-terms-link{border-radius:4px;color:#50c878;color:var(--primary-color);font-weight:500;padding:2px 4px;text-decoration:none;transition:all .3s ease;transition:var(--transition)}.signup-terms-link:hover{background:#50c8781a;text-decoration:underline}.signup-button{background:linear-gradient(135deg,#50c878,#48a862);background:linear-gradient(135deg,var(--primary-color),var(--primary-dark));border:none;border-radius:8px;border-radius:var(--radius);box-shadow:0 8px 16px #50c87833,0 4px 8px #0003;color:#151515;color:var(--darker-bg);cursor:pointer;font-size:1rem;font-weight:600;letter-spacing:.5px;margin-top:8px;overflow:hidden;padding:16px 24px;position:relative;text-transform:uppercase;transition:all .3s ease;transition:var(--transition)}.signup-button:before{background:linear-gradient(90deg,#0000,#fff3,#0000);content:"";height:100%;left:-100%;position:absolute;top:0;transition:left .5s ease;width:100%}.signup-button:hover{background:linear-gradient(135deg,#5cd68a,#50c878);background:linear-gradient(135deg,#5cd68a,var(--primary-color));box-shadow:0 12px 24px #50c8784d,0 6px 12px #0000004d;transform:translateY(-2px)}.signup-button:hover:before{left:100%}.signup-button:active{transform:translateY(-1px)}.signup-login-link{color:#ddd;color:var(--text-light);font-size:.95rem;margin-top:24px;text-align:center}.signup-login-link a{border-radius:8px;border-radius:var(--radius);color:#50c878;color:var(--primary-color);display:inline-block;font-weight:500;padding:8px 12px;position:relative;text-decoration:none;transition:all .3s ease;transition:var(--transition)}.signup-login-link a:hover{background:#50c8781a;box-shadow:0 4px 8px #50c87826;transform:translateY(-1px)}@media (max-width:768px){.signup-container{justify-content:flex-start;min-height:100vh;padding:60px 10px 10px}.signup-card{border-radius:8px;max-width:100%;padding:15px}.signup-header{font-size:1.4rem;margin-bottom:10px}.signup-form{gap:10px}.signup-form .form-group{margin-bottom:8px}.signup-form .form-group label{font-size:.75rem;margin-bottom:4px}.signup-form .form-group input{font-size:14px;padding:8px 10px}.signup-button{font-size:.85rem;margin-top:8px;padding:10px 15px}.signup-account-recovery-warning{font-size:.9rem;margin-bottom:15px;padding:12px 15px}.signup-checkboxes-container{gap:10px;margin:10px 0 15px;padding:12px}.signup-email-marketing-checkbox label,.signup-terms-checkbox label{font-size:.85rem;line-height:1.3}.signup-email-marketing-checkbox input[type=checkbox],.signup-terms-checkbox input[type=checkbox]{height:16px;width:16px}.signup-login-link{font-size:.9rem;margin-top:12px}}@media (max-width:480px){.signup-container{min-height:100vh;padding:50px 8px 10px}.signup-card{border-radius:6px;padding:12px}.signup-header{font-size:1.2rem;margin-bottom:8px}.signup-form{gap:8px}.signup-form .form-group{margin-bottom:6px}.signup-form .form-group label{font-size:.7rem;margin-bottom:3px}.signup-form .form-group input{font-size:14px;padding:6px 8px}.signup-button{font-size:.8rem;margin-top:6px;padding:8px 12px}.signup-account-recovery-warning{flex-direction:column;font-size:.8rem;gap:2px;margin-bottom:10px;padding:10px 12px}.signup-checkboxes-container{gap:8px;margin:8px 0 12px;padding:10px}.signup-email-marketing-checkbox label,.signup-terms-checkbox label{font-size:.8rem;line-height:1.2}.signup-email-marketing-checkbox input[type=checkbox],.signup-terms-checkbox input[type=checkbox]{height:14px;width:14px}}.signup-email-marketing-checkbox{align-items:flex-start;-webkit-backdrop-filter:none;backdrop-filter:none;background:none;border:none;border-radius:0;display:flex;gap:12px;margin:0;padding:0}.signup-email-marketing-checkbox:hover{background:none}@media (max-width:480px){.signup-login-link{font-size:.85rem;margin-top:10px}}@media (prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.signup-card{animation:none}}@media (prefers-contrast:high){.signup-card{border:2px solid #50c878;border:2px solid var(--primary-color)}.signup-form .form-group input{border:2px solid #444;border:2px solid var(--border-color)}.signup-form .form-group input:focus{border:2px solid #50c878;border:2px solid var(--primary-color)}.signup-terms-checkbox{border:2px solid #444;border:2px solid var(--border-color)}}:root{--primary-color:#50c878;--primary-dark:#48a862;--dark-bg:#1c1c1c;--darker-bg:#151515;--medium-bg:#242424;--light-bg:#2d2d2d;--lighter-bg:#333;--text-color:#fff;--text-light:#ddd;--text-muted:#999;--border-color:#444;--error-color:#ff5a5a;--shadow:0 4px 6px #0000004d;--transition:all 0.3s ease;--radius:8px;--radius-small:4px;--scrollbar-width:8px;--scrollbar-thumb:#50c87880;--scrollbar-thumb-hover:#50c878b3;--scrollbar-track:#1e1e1ecc}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar-track{background:#151515;background:var(--darker-bg);border-radius:4px}::-webkit-scrollbar-thumb{background:#50c878;background:var(--primary-color);border-radius:4px;opacity:.7}::-webkit-scrollbar-thumb:hover{background:#48a862;background:var(--primary-dark)}*{scrollbar-color:#50c878 #151515;scrollbar-color:var(--primary-color) var(--darker-bg);scrollbar-width:thin}.App{background-color:#1c1c1c;box-sizing:border-box;color:#fff;display:flex;margin:0;min-height:100vh;padding:0;text-align:center}.content-container{flex:1 1;min-height:calc(100vh - 60px);overflow-x:hidden;overflow-y:auto;padding:1rem;scroll-behavior:smooth}.content-area,.content-container{box-sizing:border-box;margin-left:250px;margin-top:60px}.content-area{background-color:#1c1c1c;display:flex;height:calc(100vh - 60px);overflow:hidden;padding:0;position:relative;width:calc(100% - 250px)}@media screen and (max-width:768px){.content-area,.content-container{height:calc(100vh - 60px);margin-left:0;margin-top:60px;padding:0 0 80px;width:100%}.audio-chat-wrapper{height:100%;width:100%}}.character-import-page .content-container{box-sizing:border-box!important;margin:0!important;max-width:none!important;padding:0!important}.header{gap:10px}.header,.help-icon{align-items:center;display:flex;justify-content:center}.help-icon{border:2px solid #50c878;border-radius:50%;color:#50c878;cursor:pointer;font-size:1.2rem;font-weight:700;height:32px;transition:background-color .3s,color .3s;-webkit-user-select:none;user-select:none;width:32px}.help-icon:hover{background-color:#50c878;color:#1c1c1c}.modal-overlay{align-items:center;background-color:#0009;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.modal-content{background-color:#2b2b2b;border-radius:8px;box-shadow:0 4px 8px #00000080;color:#fff;max-width:500px;padding:20px;width:80%}.modal-content h2{color:#50c878;margin-top:0}.modal-content p,.modal-content ul{color:#ddd;margin:10px 0}.modal-content button{background-color:#50c878;border:none;border-radius:4px;color:#fff;cursor:pointer;margin-top:20px;padding:10px 20px}.modal-content button:hover{background-color:#48a862}.terms-link{color:#fff;font-weight:700;text-decoration:none}.terms-link:hover{text-decoration:underline}@media (max-width:600px){.App{box-sizing:border-box;padding:8px;width:100%}nav{box-shadow:none;margin-bottom:12px;padding:8px 10px}nav ul{flex-direction:column;gap:10px;padding-left:10px}nav a{font-size:1rem;padding:6px 12px}.header{flex-direction:column;gap:5px}.help-icon{font-size:1rem;height:24px;width:24px}.modal-overlay{align-items:flex-start;padding:8px}.modal-content{box-sizing:border-box;max-width:400px;padding:16px;width:95%}.modal-content button{width:100%}}.audio-chat-wrapper{display:flex;flex-direction:column;height:100%;margin:0;overflow:hidden;width:100%}.discord-nav-button{align-items:center;background:none;border:none;border-radius:4px;cursor:pointer;display:flex;flex-shrink:0;justify-content:center;padding:6px;transition:background-color .2s ease}.discord-nav-button:hover{background-color:#ffffff1a}.discord-icon{height:24px;width:24px}@media (max-width:768px){.top-nav-right{gap:.5rem}.discord-nav-button{order:2;padding:4px}.handy-connector{order:3}.notifications-icon-container{order:4}.profile-icon-link{order:5}.discord-icon{height:20px;width:20px}.mobile-profile-dropdown{max-width:calc(100vw - 40px)}.App{overflow-x:hidden}}@media (max-width:480px){.top-nav-right{gap:.3rem}.discord-nav-button{order:2;padding:3px}.handy-connector{order:3}.notifications-icon-container{order:4}.profile-icon-link{order:5}.discord-icon{height:18px;width:18px}.mobile-profile-dropdown{max-width:calc(100vw - 20px)}}@media (max-width:375px){.top-nav-right{gap:.2rem}.discord-nav-button{padding:2px}.discord-icon{height:16px;width:16px}.profile-icon-link{order:5}.profile-icon{min-height:32px;min-width:32px}.profile-avatar,.profile-icon{height:32px;width:32px}.profile-initial{font-size:.8rem;line-height:32px}.mobile-profile-dropdown{max-width:calc(100vw - 15px);right:-35px}}@media (max-width:360px){.top-nav-right{gap:.1rem}.discord-nav-button{padding:1px}.discord-icon{height:14px;width:14px}.profile-icon{min-height:28px;min-width:28px}.profile-avatar,.profile-icon{height:28px;width:28px}.profile-initial{font-size:.7rem;line-height:28px}.mobile-profile-dropdown{max-width:calc(100vw - 10px);right:-40px}}@media (max-width:320px){.top-nav-right{gap:.05rem}.discord-nav-button{padding:1px}.discord-icon{height:12px;width:12px}.profile-icon{min-height:26px;min-width:26px}.profile-avatar,.profile-icon{height:26px;width:26px}.profile-initial{font-size:.65rem;line-height:26px}.mobile-profile-dropdown{max-width:calc(100vw - 5px);right:-45px}.top-nav-search{max-width:140px;min-width:120px}}.dropdown-overlay{background:#0000;pointer-events:auto}.mobile-profile-dropdown{z-index:1003}.dropdown-overlay{z-index:1002}.erosync-logo:active,.erosync-logo:focus,.erosync-logo:focus-visible{box-shadow:none;outline:none}.error-fallback-container{align-items:center;background-color:#1c1c1c;bottom:0;display:flex;height:100vh;justify-content:center;left:0;overflow:hidden;position:fixed;right:0;top:0;width:100vw;z-index:10000}.error-fallback-background{background-position:50%;background-repeat:no-repeat;background-size:cover;bottom:0;filter:blur(8px) brightness(.3);left:0;position:absolute;right:0;top:0;transform:scale(1.05);z-index:1}.error-fallback-content{align-items:center;box-sizing:border-box;display:flex;height:100%;justify-content:center;padding:20px;position:relative;width:100%;z-index:2}.error-fallback-card{animation:slideUp .5s ease-out;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);background:#0006;border:1px solid #4444444d;border-radius:16px;box-shadow:0 20px 40px #000000b3,0 4px 16px #50c8781a;max-width:600px;padding:40px;text-align:center;width:100%}.error-fallback-header{margin-bottom:32px}.error-icon-container{margin-bottom:20px}.error-icon{color:#50c878;filter:drop-shadow(0 2px 8px rgba(80,200,120,.3));opacity:.9}.error-title{color:#50c878;font-size:2rem;font-weight:700;letter-spacing:-.3px;margin:0 0 16px;text-shadow:0 2px 8px #000c}.error-subtitle{color:#ddd;font-size:1rem;line-height:1.5;margin:0;opacity:.9;text-shadow:0 1px 4px #000c}.error-actions{flex-wrap:wrap;gap:16px;margin-bottom:32px}.error-actions,.error-button{display:flex;justify-content:center}.error-button{align-items:center;border:none;border-radius:12px;box-shadow:0 4px 12px #0000004d;cursor:pointer;font-size:1rem;font-weight:600;gap:8px;min-width:150px;padding:14px 24px;text-decoration:none;transition:all .3s ease}.primary-button{background:linear-gradient(135deg,#50c878,#6fe99e);color:#1c1c1c}.primary-button:hover{background:linear-gradient(135deg,#48a862,#5dd188);box-shadow:0 6px 16px #50c87866;transform:translateY(-2px)}.secondary-button{background:#ffffff1a;border:1px solid #fff3;color:#ddd}.secondary-button:hover{background:#ffffff26;border-color:#ffffff4d;box-shadow:0 6px 16px #ffffff1a;color:#fff;transform:translateY(-2px)}.error-support{border-top:1px solid #4444444d;margin-top:32px;padding-top:24px}.support-divider{margin-bottom:20px;position:relative}.support-divider:before{background:linear-gradient(90deg,#0000,#4444444d 20%,#4444444d 80%,#0000);content:"";height:1px;left:0;position:absolute;right:0;top:50%}.support-divider span{background:#0006;color:#aaa;font-size:.9rem;padding:0 16px;position:relative;z-index:1}.discord-support-button{align-items:center;background:#5865f2;border:none;border-radius:12px;box-shadow:0 4px 12px #5865f24d;color:#fff;cursor:pointer;display:flex;font-size:1rem;font-weight:600;gap:12px;margin:0 auto 16px;padding:14px 24px;transition:all .3s ease}.discord-support-button:hover{background:#4752c4;box-shadow:0 6px 16px #5865f266;transform:translateY(-2px)}.discord-icon{filter:brightness(1.1);height:20px;width:20px}.support-text{color:#bbb;font-size:.9rem;line-height:1.4;margin:0;opacity:.9}.error-details{background:#0003;border:1px solid #4443;border-radius:8px;margin-top:32px;text-align:left}.error-details summary{border-bottom:1px solid #4443;color:#aaa;cursor:pointer;font-size:.9rem;padding:12px 16px;transition:color .2s ease}.error-details summary:hover{color:#50c878}.error-details-content{padding:16px}.error-message{color:#ff6b6b;font-size:.9rem;margin-bottom:16px}.error-stack{color:#ddd;font-size:.8rem}.error-stack pre{background:#0000004d;border-radius:4px;color:#ccc;font-family:Courier New,monospace;margin:8px 0 0;overflow-x:auto;padding:12px;white-space:pre-wrap}@media (max-width:768px){.error-fallback-card{margin:10px;max-width:calc(100% - 20px);padding:30px 24px}.error-title{font-size:1.6rem}.error-subtitle{font-size:.9rem}.error-actions{flex-direction:column;gap:12px}.error-button{min-width:0;min-width:auto;width:100%}.discord-support-button{justify-content:center;width:100%}}@media (max-width:480px){.error-fallback-content{padding:15px}.error-fallback-card{padding:24px 20px}.error-title{font-size:1.4rem}.error-subtitle{font-size:.85rem}.error-icon{height:60px;width:60px}.discord-support-button,.error-button{font-size:.9rem;padding:12px 20px}.support-text{font-size:.85rem}}@media (prefers-contrast:high){.error-fallback-card{background:#000c;border:2px solid #50c878}.error-title{color:#6fe99e}.error-subtitle{color:#fff}}.email-marketing-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#000000a6!important}.email-marketing-modal{animation:slideUp .4s ease;background-color:initial;border:1px solid #4444444d;border-radius:14px;box-shadow:0 20px 40px #000000b3;display:flex;flex-direction:column;max-height:85vh;max-width:700px;overflow:hidden;width:95%}@keyframes slideUp{0%{opacity:0;transform:translateY(30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.email-modal-header{background:linear-gradient(135deg,#1a1a1a,#2d2d2d);flex-shrink:0;height:200px;overflow:hidden;position:relative}.email-image-container{align-items:center;display:flex;height:100%;justify-content:center;position:relative;width:100%}.email-background-image{bottom:0;filter:blur(3px) brightness(.4);left:0;position:absolute;right:0;top:0;z-index:1}.email-image-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:linear-gradient(#0000,#000000d9);bottom:0;color:#fff;left:0;padding:32px 24px 20px;position:absolute;right:0;text-align:center;z-index:2}.email-modal-title{color:#50c878;color:var(--primary-color,#50c878);font-size:1.8rem;font-weight:700;letter-spacing:-.3px;margin:0 0 6px;text-shadow:0 2px 8px #000c}.email-modal-subtitle{color:#ddd;font-size:1rem;line-height:1.4;margin:0;opacity:.9;text-shadow:0 1px 4px #000c}.email-modal-body{-webkit-backdrop-filter:blur(20px)!important;background:#0000004d!important;flex:1 1;min-height:0;overflow-y:auto;padding:24px 20px 20px}.email-benefits,.email-info-section{margin-bottom:20px}.email-benefits{display:flex;flex-direction:column;gap:16px}.benefit-item{background-color:#242424;background-color:var(--medium-bg,#242424);border:2px solid #444;border:2px solid var(--border-color,#444);border-radius:12px;gap:12px;padding:16px}.benefit-icon,.benefit-item{align-items:center;display:flex;justify-content:center}.benefit-icon{background-color:#50c878;background-color:var(--primary-color,#50c878);border-radius:8px;color:#151515;color:var(--darker-bg,#151515);flex-shrink:0;height:32px;width:32px}.benefit-content h3{color:#fff;color:var(--text-primary,#fff);font-size:1.1rem;font-weight:700;margin:0 0 4px}.benefit-content p{color:#ddd;color:var(--text-light,#ddd);font-size:.9rem;line-height:1.3;margin:0}.email-options-container{grid-gap:16px;display:grid;gap:16px;grid-template-columns:1fr 1fr;margin-bottom:20px}.email-option-card{align-items:center;background-color:#242424;background-color:var(--medium-bg,#242424);border:2px solid #444;border:2px solid var(--border-color,#444);border-radius:12px;cursor:pointer;display:flex;flex-direction:column;overflow:hidden;padding:20px;position:relative;text-align:center;transition:all .3s ease}.email-option-card:hover{box-shadow:0 12px 24px #0006;transform:translateY(-4px)}.email-opt-in-option:hover{border-color:#50c878;border-color:var(--primary-color,#50c878);box-shadow:0 12px 24px #50c87833}.email-opt-out-option:hover{border-color:#6c757d;box-shadow:0 12px 24px #6c757d33}.email-option-icon{align-items:center;background-color:#50c878;background-color:var(--primary-color,#50c878);border-radius:12px;color:#151515;color:var(--darker-bg,#151515);display:flex;height:48px;justify-content:center;margin-bottom:16px;width:48px}.email-opt-out-icon{background-color:#6c757d}.email-option-content h3{color:#fff;color:var(--text-primary,#fff);font-size:1.2rem;font-weight:700;margin:0 0 6px}.email-option-content p{color:#ddd;color:var(--text-light,#ddd);font-size:.9rem;line-height:1.3;margin:0 0 12px}.email-option-features{list-style:none;margin:0 0 16px;padding:0;text-align:left}.email-option-features li{color:#bbb;color:var(--text-muted,#bbb);font-size:.85rem;margin-bottom:4px;padding-left:18px;position:relative}.email-option-features li:before{color:#50c878;color:var(--primary-color,#50c878);content:"✓";font-weight:700;left:0;position:absolute}.email-opt-out-option .email-option-features li:before{color:#6c757d}.email-option-button{border:none;border-radius:12px;cursor:pointer;font-size:1rem;font-weight:700;letter-spacing:.5px;margin-top:auto;padding:14px 20px;text-transform:uppercase;transition:all .3s ease;width:100%}.email-option-button:disabled{cursor:not-allowed;opacity:.6}.email-opt-in-button{background-color:#50c878;background-color:var(--primary-color,#50c878);color:#151515;color:var(--darker-bg,#151515)}.email-opt-in-button:hover:not(:disabled){background-color:#48a862;background-color:var(--primary-dark,#48a862);box-shadow:0 6px 16px #50c8784d;transform:translateY(-2px)}.email-opt-out-button{background-color:#6c757d;color:#fff}.email-opt-out-button:hover:not(:disabled){background-color:#5a6268;box-shadow:0 6px 16px #6c757d4d;transform:translateY(-2px)}.email-modal-footer{border-top:1px solid #444;border-top:1px solid var(--border-color,#444);flex-shrink:0;padding-top:20px;text-align:center}.email-privacy-note{align-items:center;color:#999;color:var(--text-muted,#999);display:flex;font-size:.8rem;gap:6px;justify-content:center}.email-privacy-note svg{opacity:.7}@media (max-width:768px){.email-marketing-modal{margin:10px;max-width:95%}.email-benefits{gap:12px}.email-options-container{gap:16px;grid-template-columns:1fr}.email-modal-header{height:180px}.email-modal-title{font-size:1.6rem}.email-modal-subtitle{font-size:.9rem}.email-modal-body{padding:20px 16px 16px}.email-option-card{padding:16px}.email-option-icon{height:40px;margin-bottom:12px;width:40px}.email-option-content h3{font-size:1.1rem}.email-option-content p{font-size:.85rem;margin-bottom:10px}.email-option-features li{font-size:.8rem}.email-option-button{font-size:.9rem;padding:12px 16px}}@media (max-width:480px){.email-marketing-modal-overlay{align-items:flex-start;padding:0}.email-marketing-modal{border-radius:0;display:flex;flex-direction:column;height:100vh;margin:0;max-height:100vh;width:100%}.email-modal-header{flex-shrink:0;height:160px}.email-icon{height:80px;width:80px}.email-image-overlay{padding:20px 16px 16px}.email-modal-title{font-size:1.4rem}.email-modal-subtitle{font-size:.85rem}.email-modal-body{-webkit-overflow-scrolling:touch;flex:1 1;min-height:0;overflow-y:auto;padding:16px 12px 12px}.benefit-item{padding:12px}.benefit-icon{height:28px;width:28px}.benefit-content h3{font-size:1rem}.benefit-content p{font-size:.85rem}.email-option-card{padding:14px 12px}.email-option-icon{height:36px;margin-bottom:10px;width:36px}.email-option-content h3{font-size:1rem}.email-option-content p{font-size:.8rem;margin-bottom:8px}.email-option-features li{font-size:.75rem;margin-bottom:3px}.email-option-button{font-size:.85rem;padding:10px 12px}.email-modal-footer{border-top:1px solid #444;border-top:1px solid var(--border-color,#444);flex-shrink:0;padding:12px}.email-privacy-note{font-size:.75rem}}
/*# sourceMappingURL=main.7d41752d.css.map*/