:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;padding:0;width:100%;min-height:100vh}#root{width:100%;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff;background-color:transparent}button{background-color:#f9f9f9}}.auth-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#87ceeb,#4a90e2);padding:20px}.auth-card{background:#fff;border-radius:20px;padding:40px;width:100%;max-width:450px;box-shadow:0 20px 60px #0000004d;flex-shrink:0;z-index:2}.register-card{max-width:600px}.auth-header{text-align:center;margin-bottom:30px}.auth-logo{width:80px;height:80px;margin-bottom:20px;border-radius:50%}.auth-header h1{font-size:28px;color:#333;margin-bottom:10px}.auth-header p{color:#666;font-size:14px}.auth-form{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-weight:600;color:#333;font-size:14px}.form-group input{padding:12px 16px;border:2px solid #e0e0e0;border-radius:10px;font-size:14px;transition:all .3s}.form-group input:focus{outline:none;border-color:#4a90e2;box-shadow:0 0 0 3px #4a90e21a}.form-group input:disabled{background:#f5f5f5;cursor:not-allowed}.input-hint{font-size:12px;color:#4a90e2;margin-top:4px;display:block}.avatar-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:10px}.avatar-option{display:flex;flex-direction:column;align-items:center;padding:15px 10px;border:2px solid #e0e0e0;border-radius:12px;cursor:pointer;transition:all .3s}.avatar-option:hover{border-color:#4a90e2;transform:translateY(-2px)}.avatar-option.selected{border-color:#4a90e2;background:#e3f2fd;box-shadow:0 4px 12px #4a90e233}.avatar-option img{width:60px;height:60px;margin-bottom:8px;border-radius:50%}.avatar-option span{font-size:12px;color:#666;text-align:center}.avatar-option.selected span{color:#4a90e2;font-weight:600}.error-message{padding:12px 16px;background:#fee;border:1px solid #fcc;border-radius:10px;color:#c33;font-size:14px}.info-box{padding:12px 16px;background:#e8f5e9;border:1px solid #c8e6c9;border-radius:10px;color:#2e7d32;font-size:14px;text-align:center}.btn-primary{padding:14px 24px;background:linear-gradient(135deg,#87ceeb,#4a90e2);color:#fff;border:none;border-radius:10px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px #4a90e266}.btn-primary:disabled{opacity:.6;cursor:not-allowed;transform:none}.auth-footer{text-align:center;margin-top:10px}.auth-footer p{color:#666;font-size:14px}.auth-footer a{color:#4a90e2;text-decoration:none;font-weight:600;margin-left:5px}.auth-footer a:hover{text-decoration:underline}.login-wrapper{display:flex;align-items:center;justify-content:center;gap:80px;max-width:1200px;width:100%}.auth-info{flex:1;color:#fff;text-align:left;max-width:500px;animation:fadeInRight .8s ease-out}@keyframes fadeInRight{0%{opacity:0;transform:translate(30px)}to{opacity:1;transform:translate(0)}}.info-title{font-size:42px;font-weight:800;line-height:1.2;margin-bottom:15px;text-shadow:0 2px 10px rgba(0,0,0,.1)}.info-subtitle{font-size:20px;margin-bottom:40px;opacity:.9;font-weight:500}.feature-list{display:flex;flex-direction:column;gap:30px}.feature-item{display:flex;align-items:flex-start;gap:20px;transition:transform .3s}.feature-item:hover{transform:translate(10px)}.feature-icon{font-size:26px;background:#fff3;width:56px;height:56px;display:flex;align-items:center;justify-content:center;border-radius:16px;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);box-shadow:0 4px 15px #0000000d}.feature-content h3{font-size:19px;font-weight:700;margin:0 0 6px}.feature-content p{font-size:15px;opacity:.85;line-height:1.6;margin:0}@media (max-width: 900px){.login-wrapper{flex-direction:column;gap:40px}.auth-info{text-align:center;order:-1;max-width:100%}.feature-list{display:none}.info-title{font-size:32px}.info-subtitle{margin-bottom:0}}.chat-container{min-height:100vh;background:linear-gradient(135deg,#1e3c72,#2a5298);display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;overflow:hidden}.chat-header{position:fixed;top:0;left:0;right:0;height:70px;background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:space-between;padding:0 30px;box-shadow:0 2px 20px #0000001a;z-index:100}.header-left{display:flex;align-items:center;gap:15px}.header-logo{width:45px;height:45px;border-radius:50%}.header-title{font-size:24px;font-weight:700;background:linear-gradient(135deg,#87ceeb,#4a90e2);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.header-right{display:flex;align-items:center;gap:20px;position:relative}.status-badge{padding:8px 16px;border-radius:20px;font-size:14px;font-weight:600;background:#e0e0e0;color:#666}.status-badge.connected{background:#e8f5e9;color:#2e7d32}.menu-button{background:none;border:none;cursor:pointer;padding:0}.user-avatar{width:45px;height:45px;border-radius:50%;border:3px solid #4A90E2;transition:transform .3s}.user-avatar:hover{transform:scale(1.1)}.dropdown-menu{position:absolute;top:60px;right:0;background:#fff;border-radius:12px;box-shadow:0 10px 40px #0003;width:260px;overflow:hidden;animation:slideDown .3s ease}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.menu-header{padding:20px;background:linear-gradient(135deg,#87ceeb,#4a90e2);color:#fff}.menu-email{font-weight:600;font-size:14px;margin-bottom:5px}.menu-assistant{font-size:13px;margin-bottom:5px;opacity:.95}.menu-storage{font-size:12px;opacity:.9}.menu-divider{height:1px;background:#e0e0e0;margin:8px 0}.menu-item{width:100%;padding:14px 20px;border:none;background:#fff;text-align:left;cursor:pointer;font-size:14px;transition:background .2s}.menu-item:hover{background:#f5f5f5}.menu-item.logout{color:#d32f2f}.start-overlay{text-align:center;color:#fff;z-index:10;margin-bottom:250px}.start-overlay h1{font-size:48px;font-weight:700;margin-bottom:15px;text-shadow:0 4px 20px rgba(0,0,0,.3)}.start-overlay p{font-size:20px;opacity:.9}.orb{width:250px;height:250px;border-radius:50%;background:linear-gradient(135deg,#87ceeb,#4a90e2);display:flex;align-items:center;justify-content:center;position:relative;transition:all .5s ease;box-shadow:0 20px 60px #667eea80}.orb.listening{animation:pulse 2s ease-in-out infinite}.orb.speaking{animation:speak .5s ease-in-out infinite;box-shadow:0 20px 80px #667eeacc}@keyframes pulse{0%,to{transform:scale(1);box-shadow:0 20px 60px #667eea80}50%{transform:scale(1.05);box-shadow:0 20px 80px #667eeab3}}@keyframes speak{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.inner-orb{width:220px;height:220px;border-radius:50%;background:#fff3;position:absolute}.orb-avatar{width:150px;height:150px;border-radius:50%;z-index:2;filter:drop-shadow(0 4px 10px rgba(0,0,0,.3))}.controls{position:absolute;bottom:60px;text-align:center}.status-text{color:#fff;font-size:18px;font-weight:500;text-shadow:0 2px 10px rgba(0,0,0,.3)}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:#fff;border-radius:20px;padding:30px;width:90%;max-width:400px;box-shadow:0 20px 60px #0000004d;animation:slideUp .3s ease}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.modal-content h2{color:#333;font-size:24px;margin-bottom:20px;text-align:center}.modal-body{margin-bottom:25px}.modal-body input{width:100%;padding:12px 16px;border:2px solid #e0e0e0;border-radius:10px;font-size:16px;transition:all .3s;margin-bottom:10px}.modal-body input:focus{outline:none;border-color:#4a90e2;box-shadow:0 0 0 3px #667eea1a}.modal-hint{color:#666;font-size:14px;margin-bottom:8px}.modal-hint strong{color:#4a90e2}.modal-info{color:#999;font-size:12px;padding:8px 12px;background:#f5f5f5;border-radius:8px}.modal-actions{display:flex;gap:10px;justify-content:flex-end}.modal-actions button{padding:10px 20px;border:none;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s}.btn-secondary{background:#f5f5f5;color:#666}.btn-secondary:hover{background:#e0e0e0}.btn-primary{background:linear-gradient(135deg,#87ceeb,#4a90e2);color:#fff}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}.subscription-container{min-height:100vh;background:linear-gradient(135deg,#87ceeb,#4a90e2);padding:20px}.sub-header{max-width:1200px;margin:0 auto 40px;display:flex;align-items:center;gap:20px}.back-button{padding:10px 20px;background:#fff3;border:none;border-radius:10px;color:#fff;font-size:16px;cursor:pointer;transition:all .3s}.back-button:hover{background:#ffffff4d}.sub-header h1{color:#fff;font-size:36px;font-weight:700}.sub-content{max-width:1200px;margin:0 auto}.current-status{background:#fff;border-radius:20px;padding:30px;margin-bottom:30px;text-align:center}.current-status h2{color:#333;margin-bottom:15px}.status-text{font-size:18px;color:#666;margin-bottom:20px}.btn-cancel{padding:12px 24px;background:#f44336;color:#fff;border:none;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s}.btn-cancel:hover{background:#d32f2f;transform:translateY(-2px)}.btn-cancel:disabled{opacity:.6;cursor:not-allowed}.message{padding:16px 20px;border-radius:12px;margin-bottom:30px;font-size:14px;text-align:center}.message.success{background:#e8f5e9;color:#2e7d32;border:1px solid #c8e6c9}.message.error{background:#ffebee;color:#c62828;border:1px solid #ffcdd2}.plans-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:30px;margin-bottom:40px}.plan-card{background:#fff;border-radius:20px;padding:40px 30px;position:relative;transition:all .3s}.plan-card:hover{transform:translateY(-5px);box-shadow:0 20px 60px #0000004d}.plan-card.featured{border:3px solid #ffd700;box-shadow:0 10px 40px #ffd7004d}.badge{position:absolute;top:-12px;right:30px;background:linear-gradient(135deg,gold,#ffed4e);color:#333;padding:6px 16px;border-radius:20px;font-size:12px;font-weight:700}.plan-card h3{font-size:24px;color:#333;margin-bottom:20px}.price{margin-bottom:15px}.price .amount{font-size:48px;font-weight:700;background:linear-gradient(135deg,#87ceeb,#4a90e2);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.price .period{font-size:18px;color:#666}.description{color:#666;font-size:14px;margin-bottom:30px}.features{list-style:none;padding:0;margin-bottom:30px}.features li{padding:10px 0;color:#333;font-size:14px}.btn-subscribe{width:100%;padding:14px 24px;background:linear-gradient(135deg,#87ceeb,#4a90e2);color:#fff;border:none;border-radius:10px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s}.btn-subscribe:hover{transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}.btn-subscribe:disabled{opacity:.6;cursor:not-allowed;transform:none}.free-trial-info{background:#fffffff2;border-radius:20px;padding:40px;text-align:center}.free-trial-info h3{color:#333;font-size:24px;margin-bottom:15px}.free-trial-info p{color:#666;font-size:16px;line-height:1.6;margin-bottom:10px}.free-trial-info strong{color:#4a90e2;font-weight:700}.profile-container{min-height:100vh;background:linear-gradient(135deg,#87ceeb,#4a90e2);padding:20px}.profile-header{max-width:1000px;margin:0 auto 40px;display:flex;align-items:center;gap:20px}.profile-header h1{color:#fff;font-size:36px;font-weight:700}.profile-content{max-width:1000px;margin:0 auto;display:flex;flex-direction:column;gap:30px}.profile-section{background:#fff;border-radius:20px;padding:30px}.section-header{margin-bottom:25px}.section-header h2{color:#333;font-size:24px}.info-card{display:flex;align-items:center;gap:30px;padding:20px;background:#f5f5f5;border-radius:15px}.avatar-display img{width:100px;height:100px;border-radius:50%;border:4px solid #4A90E2}.user-info{flex:1}.user-info p{margin:10px 0;color:#333;font-size:16px}.user-info strong{color:#4a90e2;margin-right:10px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:20px;margin-bottom:20px}.stat-card{background:linear-gradient(135deg,#87ceeb,#4a90e2);border-radius:15px;padding:30px 20px;text-align:center;color:#fff}.stat-value{font-size:36px;font-weight:700;margin-bottom:10px}.stat-label{font-size:14px;opacity:.9}.memory-info{padding:20px;background:#f5f5f5;border-radius:12px;margin-bottom:20px}.memory-info p{color:#666;margin:8px 0;font-size:14px}.btn-danger{padding:12px 24px;background:#f44336;color:#fff;border:none;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s}.btn-danger:hover{background:#d32f2f;transform:translateY(-2px)}.emotion-list{display:flex;flex-direction:column;gap:15px}.emotion-item{display:grid;grid-template-columns:40px 120px 80px 80px 1fr;align-items:center;gap:15px;padding:15px;background:#f5f5f5;border-radius:12px}.emotion-emoji{font-size:24px}.emotion-name{font-weight:600;color:#333}.emotion-category{font-size:12px;color:#666;text-transform:capitalize}.emotion-count{font-size:14px;color:#4a90e2;font-weight:600}.emotion-bar{height:8px;background:#e0e0e0;border-radius:4px;overflow:hidden}.emotion-bar-fill{height:100%;transition:width .5s ease}.no-data{text-align:center;color:#999;padding:40px;font-size:16px}.loading{text-align:center;color:#fff;font-size:24px;padding:100px}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.loading-container{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(135deg,#87ceeb,#4a90e2);color:#fff}.loading-spinner{width:50px;height:50px;border:5px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:20px}@keyframes spin{to{transform:rotate(360deg)}}.loading-container p{font-size:18px;font-weight:500}
