.svmessenger-call-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:none;color:var(--svm-text-secondary);border-radius:6px;cursor:pointer;transition:all .2s ease;margin-left:8px}.svmessenger-call-btn:hover{background-color:var(--svm-bg-hover);color:var(--svm-text-primary)}.svmessenger-call-btn:disabled{opacity:.5;cursor:not-allowed}.svmessenger-call-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:9999;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.svmessenger-call-modal{background:#fff;border-radius:16px;padding:28px!important;min-width:300px;max-width:360px;box-shadow:0 20px 60px #0000004d;text-align:center;position:relative}.svmessenger-call-avatar{margin-bottom:20px}.svmessenger-call-avatar img,.svmessenger-call-avatar-placeholder{width:100px;height:100px;border-radius:50%;object-fit:cover}.svmessenger-call-avatar-placeholder{background:#f3f4f6;display:flex;align-items:center;justify-content:center;font-size:40px;font-weight:600;color:#6b7280}.svmessenger-call-status{margin-bottom:28px;display:flex;flex-direction:column;align-items:center;width:100%}.svmessenger-call-title{font-size:18px;font-weight:600;color:#111827;margin-bottom:6px}.svmessenger-call-subtitle{font-size:14px;color:#6b7280;margin-bottom:12px}.svmessenger-call-calling-animation{position:relative;width:120px;height:120px;margin:8px auto 0;display:flex;align-items:center;justify-content:center}.svmessenger-call-ripple-container{position:absolute;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.svmessenger-call-ripple{position:absolute;width:80px;height:80px;border-radius:50%;border:2px solid #22c55e;opacity:0;animation:svmessengerRippleExpand 2.5s infinite ease-out}.svmessenger-call-ripple.ripple-1{animation-delay:0s;border-color:#22c55ecc}.svmessenger-call-ripple.ripple-2{animation-delay:.5s;border-color:#22c55e99}.svmessenger-call-ripple.ripple-3{animation-delay:1s;border-color:#22c55e66}.svmessenger-call-ripple.ripple-4{animation-delay:1.5s;border-color:#22c55e4d}@keyframes svmessengerRippleExpand{0%{transform:scale(.8);opacity:.8}50%{opacity:.4}to{transform:scale(2.5);opacity:0}}.svmessenger-call-glow-core{position:absolute;width:60px;height:60px;border-radius:50%;background:radial-gradient(circle,rgba(34,197,94,.4) 0%,rgba(34,197,94,.1) 50%,transparent 100%);animation:svmessengerGlowPulse 2s infinite ease-in-out;z-index:1}.svmessenger-call-glow-inner{width:100%;height:100%;border-radius:50%;background:radial-gradient(circle,rgba(34,197,94,.6) 0%,transparent 70%);animation:svmessengerInnerPulse 1.5s infinite ease-in-out}@keyframes svmessengerGlowPulse{0%,to{transform:scale(1);opacity:.6}50%{transform:scale(1.2);opacity:.9}}@keyframes svmessengerInnerPulse{0%,to{transform:scale(.9);opacity:.8}50%{transform:scale(1.1);opacity:1}}.svmessenger-call-particles{position:absolute;width:100%;height:100%;z-index:2}.svmessenger-call-particles .particle{position:absolute;width:4px;height:4px;background:#22c55e;border-radius:50%;opacity:0;animation:svmessengerParticleFloat 3s infinite ease-out}.svmessenger-call-particles .particle-1{top:20%;left:50%;animation-delay:0s;--tx: 15px;--ty: -35px}.svmessenger-call-particles .particle-2{top:30%;right:20%;animation-delay:.5s;--tx: -20px;--ty: -25px}.svmessenger-call-particles .particle-3{bottom:30%;right:25%;animation-delay:1s;--tx: -15px;--ty: 30px}.svmessenger-call-particles .particle-4{bottom:20%;left:50%;animation-delay:1.5s;--tx: 20px;--ty: 35px}.svmessenger-call-particles .particle-5{top:50%;left:20%;animation-delay:.3s;--tx: 25px;--ty: -20px}.svmessenger-call-particles .particle-6{top:50%;right:20%;animation-delay:.8s;--tx: -25px;--ty: -20px}@keyframes svmessengerParticleFloat{0%{transform:translate(0) scale(0);opacity:0}20%{opacity:1}80%{opacity:.6}to{transform:translate(var(--tx, 0),var(--ty, -40px)) scale(1);opacity:0}}.svmessenger-call-actions{display:flex;gap:20px;justify-content:center;align-items:center}.svmessenger-call-btn-accept,.svmessenger-call-btn-reject,.svmessenger-call-btn-end,.svmessenger-call-btn-mute{display:flex;align-items:center;justify-content:center;width:64px;height:64px;border:none;border-radius:50%;cursor:pointer;transition:all .2s ease;font-size:0;text-align:center;box-shadow:0 4px 12px #00000026}.svmessenger-call-btn-accept{background:#fff;color:#22c55e;border:1px solid #22c55e}.svmessenger-call-btn-accept:hover{background:#22c55e;color:#fff;transform:scale(1.08);box-shadow:0 6px 16px #22c55e66}.svmessenger-call-btn-accept:hover i.accept-icon{color:#fff;-webkit-text-stroke:1px #ffffff;-webkit-text-fill-color:transparent}.svmessenger-call-btn-reject,.svmessenger-call-btn-end{background:#fff;color:#ef4444;border:1px solid #ef4444}.svmessenger-call-btn-reject:hover,.svmessenger-call-btn-end:hover{background:#ef4444;color:#fff;transform:scale(1.08);box-shadow:0 6px 16px #ef444466}.svmessenger-call-btn-reject:hover i.reject-icon,.svmessenger-call-btn-end:hover i.end-icon{color:#fff;-webkit-text-stroke:1px #ffffff;-webkit-text-fill-color:transparent}.svmessenger-call-btn-mute{background:#fff;color:#6b7280;border:1px solid #d1d5db}.svmessenger-call-btn-mute:hover{background:#f3f4f6;border-color:#9ca3af}.svmessenger-call-btn-mute:hover i.active-icon{color:#fff;-webkit-text-stroke:1px #ffffff;-webkit-text-fill-color:transparent}.svmessenger-call-btn-mute.muted{background:#ef4444;border:1px solid #ef4444;color:#fff}.svmessenger-call-btn-mute.muted:hover{background:#dc2626;border-color:#dc2626;color:#fff}.svmessenger-call-btn-mute.muted:hover i.muted-icon{color:#fff;-webkit-text-stroke:1px #ffffff;-webkit-text-fill-color:transparent}.svmessenger-call-btn-mute i,.svmessenger-call-btn-accept i,.svmessenger-call-btn-reject i,.svmessenger-call-btn-end i{font-size:24px;position:relative;z-index:1}.svmessenger-call-btn-mute i.active-icon{color:#22c55e;font-weight:400;-webkit-text-stroke:1px #22c55e;-webkit-text-fill-color:transparent;paint-order:stroke fill}.svmessenger-call-btn-mute i.muted-icon{color:#ef4444;font-weight:400;-webkit-text-stroke:1px #ef4444;-webkit-text-fill-color:transparent;paint-order:stroke fill}.svmessenger-call-btn-accept i.accept-icon{color:#22c55e;font-weight:400;-webkit-text-stroke:1px #22c55e;-webkit-text-fill-color:transparent;paint-order:stroke fill}.svmessenger-call-btn-reject i.reject-icon,.svmessenger-call-btn-end i.end-icon{color:#ef4444;font-weight:400;-webkit-text-stroke:1px #ef4444;-webkit-text-fill-color:transparent;paint-order:stroke fill}@media (max-width: 768px){.svmessenger-call-modal{margin:16px;padding:24px;min-width:280px}.svmessenger-call-avatar img,.svmessenger-call-avatar-placeholder{width:100px;height:100px}.svmessenger-call-actions{gap:12px}.svmessenger-call-btn-accept,.svmessenger-call-btn-reject,.svmessenger-call-btn-end,.svmessenger-call-btn-mute{width:50px;height:50px;font-size:12px}}@media (max-width: 480px){.svmessenger-call-modal{padding:20px}.svmessenger-call-avatar img,.svmessenger-call-avatar-placeholder{width:80px;height:80px}.svmessenger-call-title{font-size:18px}.svmessenger-call-subtitle{font-size:14px}}.svmessenger-call-indicator{position:fixed;bottom:20px;right:20px;z-index:9998;min-width:280px;max-width:360px;background:#fff;border-radius:12px;box-shadow:0 8px 24px #00000026;border:2px solid #22c55e;animation:slideInUp .3s ease-out}@keyframes slideInUp{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}.svmessenger-call-indicator-content{display:flex;align-items:center;gap:12px;padding:12px 16px}.svmessenger-call-indicator-icon{width:40px;height:40px;border-radius:50%;background:#22c55e;color:#fff;display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0;animation:callIndicatorPulse 2s infinite}@keyframes callIndicatorPulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.8}}.svmessenger-call-indicator-text{flex:1;min-width:0}.svmessenger-call-indicator-title{font-size:14px;font-weight:600;color:#111827;margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.svmessenger-call-indicator-subtitle{font-size:12px;color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.svmessenger-call-indicator-close{width:32px;height:32px;border-radius:50%;border:none;background:#f3f4f6;color:#6b7280;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:18px;transition:all .2s ease;flex-shrink:0}.svmessenger-call-indicator-close:hover{background:#e5e7eb;color:#111827;transform:scale(1.1)}@media (max-width: 480px){.svmessenger-call-indicator{bottom:16px;right:16px;left:16px;max-width:none;min-width:auto}.svmessenger-call-indicator-content{padding:10px 14px}.svmessenger-call-indicator-icon{width:36px;height:36px;font-size:18px}.svmessenger-call-indicator-title{font-size:13px}.svmessenger-call-indicator-subtitle{font-size:11px}}.device-selector-header{background:linear-gradient(135deg,#16a34a,#15803d);color:var(--svm-white);padding:var(--svm-space-4) var(--svm-space-5);border-radius:var(--svm-radius-xl) var(--svm-radius-xl) 0 0;box-shadow:0 2px 8px #16a34a33;text-align:center}.device-selector-icon{font-size:32px;margin-bottom:var(--svm-space-2);display:block}.device-selector-header h2{margin:0 0 var(--svm-space-1) 0;font-size:var(--svm-font-size-lg);font-weight:var(--svm-font-weight-semibold);letter-spacing:-.3px}.device-selector-header p{margin:0;font-size:var(--svm-font-size-sm);opacity:.9;line-height:1.4}.device-selector-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--svm-space-8) var(--svm-space-5);text-align:center}.loading-spinner{width:40px;height:40px;border:3px solid var(--svm-gray-200);border-top:3px solid var(--svm-primary);border-radius:50%;animation:spin 1s linear infinite;margin-bottom:var(--svm-space-3)}.loading-text h4{margin:0 0 var(--svm-space-1) 0;font-size:var(--svm-font-size-base);font-weight:var(--svm-font-weight-semibold);color:var(--svm-text-primary)}.loading-text p{margin:0;color:var(--svm-text-secondary);font-size:var(--svm-font-size-sm)}.device-selector-error{display:flex;flex-direction:column;align-items:center;text-align:center;padding:var(--svm-space-6) var(--svm-space-5)}.error-icon{font-size:32px;margin-bottom:var(--svm-space-2)}.device-selector-error h4{margin:0 0 var(--svm-space-1) 0;font-size:var(--svm-font-size-base);font-weight:var(--svm-font-weight-semibold);color:var(--svm-error)}.device-selector-error p{margin:0 0 var(--svm-space-3) 0;color:var(--svm-text-secondary);font-size:var(--svm-font-size-sm);line-height:1.4}.error-retry-btn{background:var(--svm-error);color:#fff;border:none;padding:var(--svm-space-2) var(--svm-space-4);border-radius:var(--svm-radius-md);font-size:var(--svm-font-size-sm);font-weight:var(--svm-font-weight-semibold);cursor:pointer;transition:all var(--svm-transition-fast);box-shadow:0 2px 6px #ef44444d}.error-retry-btn:hover{background:#dc2626;transform:translateY(-1px);box-shadow:0 4px 12px #ef444466}.device-selector-content{padding:var(--svm-space-4) var(--svm-space-5)}.device-section{background:var(--svm-bg-secondary);border:1px solid var(--svm-border-light);border-radius:var(--svm-radius-lg);padding:var(--svm-space-4);margin-bottom:var(--svm-space-3)}.device-section-header{display:flex;align-items:center;gap:var(--svm-space-2);margin-bottom:var(--svm-space-3)}.device-icon{width:32px;height:32px;background:var(--svm-primary);border-radius:var(--svm-radius-md);display:flex;align-items:center;justify-content:center;font-size:18px;color:#fff}.device-section-header h3{margin:0;font-size:var(--svm-font-size-base);font-weight:var(--svm-font-weight-semibold);color:var(--svm-text-primary)}.device-controls{display:flex;flex-direction:column;gap:var(--svm-space-3)}.device-select-group label{display:block;margin-bottom:var(--svm-space-1);font-size:var(--svm-font-size-sm);font-weight:var(--svm-font-weight-semibold);color:var(--svm-text-primary);text-transform:uppercase;letter-spacing:.3px}.device-select{width:100%;padding:var(--svm-space-2) var(--svm-space-3);border:1px solid var(--svm-border-light);border-radius:var(--svm-radius-md);background:var(--svm-white);color:var(--svm-text-primary);font-size:var(--svm-font-size-base);cursor:pointer;transition:all var(--svm-transition-fast);-webkit-appearance:none;-moz-appearance:none;appearance:none}.device-select:focus{outline:none;border-color:var(--svm-primary);box-shadow:0 0 0 2px #22c55e1a}.volume-control label{display:block;margin-bottom:var(--svm-space-1);font-size:var(--svm-font-size-sm);font-weight:var(--svm-font-weight-semibold);color:var(--svm-text-primary);text-transform:uppercase;letter-spacing:.3px}.volume-slider-container{display:flex;align-items:center;gap:var(--svm-space-2);padding:var(--svm-space-2);background:var(--svm-bg-tertiary);border-radius:var(--svm-radius-md)}.volume-icon{font-size:16px;color:var(--svm-primary)}.volume-slider{flex:1;height:4px;background:var(--svm-gray-300);border-radius:2px;outline:none;-webkit-appearance:none;cursor:pointer}.volume-slider::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;background:var(--svm-primary);border-radius:50%;cursor:pointer;box-shadow:0 1px 3px #22c55e4d;transition:all var(--svm-transition-fast)}.volume-slider::-webkit-slider-thumb:hover{transform:scale(1.1);box-shadow:0 2px 6px #22c55e66}.volume-slider::-moz-range-thumb{width:16px;height:16px;background:var(--svm-primary);border-radius:50%;cursor:pointer;border:none;box-shadow:0 1px 3px #22c55e4d}.volume-value{font-size:var(--svm-font-size-sm);font-weight:var(--svm-font-weight-semibold);color:var(--svm-text-primary);min-width:32px;text-align:right}.audio-level-container{padding:var(--svm-space-2);background:var(--svm-bg-tertiary);border-radius:var(--svm-radius-md)}.audio-level-label{display:block;margin-bottom:var(--svm-space-1);font-size:var(--svm-font-size-sm);font-weight:var(--svm-font-weight-semibold);color:var(--svm-text-primary);text-transform:uppercase;letter-spacing:.3px}.audio-level-bar{position:relative;height:6px;background:var(--svm-gray-300);border-radius:3px;overflow:hidden;margin-bottom:var(--svm-space-1)}.audio-level-fill{height:100%;background:var(--svm-primary);border-radius:3px;transition:width .1s ease}.audio-level-threshold{position:absolute;top:0;right:20%;width:1px;height:100%;background:var(--svm-white)}.audio-level-value{font-size:var(--svm-font-size-xs);font-weight:var(--svm-font-weight-semibold);color:var(--svm-text-secondary);text-align:right}.test-section{background:var(--svm-bg-secondary);border:1px solid var(--svm-border-light);border-radius:var(--svm-radius-lg);padding:var(--svm-space-4);text-align:center}.test-controls{margin-bottom:var(--svm-space-3)}.test-btn{background:var(--svm-primary);color:#fff;border:none;padding:var(--svm-space-2) var(--svm-space-4);border-radius:var(--svm-radius-md);font-size:var(--svm-font-size-base);font-weight:var(--svm-font-weight-semibold);cursor:pointer;transition:all var(--svm-transition-fast);box-shadow:0 2px 6px #22c55e4d;display:inline-flex;align-items:center;gap:var(--svm-space-1)}.test-btn:hover:not(:disabled){background:var(--svm-primary-dark);transform:translateY(-1px);box-shadow:0 4px 12px #22c55e66}.test-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.test-btn.testing{background:#f59e0b;animation:pulse 1s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.test-spinner{width:14px;height:14px;border:2px solid rgba(255,255,255,.3);border-top:2px solid white;border-radius:50%;animation:spin 1s linear infinite}.test-results{display:flex;flex-direction:column;gap:var(--svm-space-1);margin-top:var(--svm-space-3)}.test-result-item{display:flex;align-items:center;justify-content:center;gap:var(--svm-space-1);padding:var(--svm-space-1) var(--svm-space-2);background:var(--svm-white);border-radius:var(--svm-radius-md);font-size:var(--svm-font-size-sm);font-weight:var(--svm-font-weight-medium)}.test-indicator{font-size:14px}.test-indicator.success{color:var(--svm-success)}.test-indicator.error{color:var(--svm-error)}.test-metrics{margin-top:var(--svm-space-1);font-size:var(--svm-font-size-xs);color:var(--svm-text-secondary);font-weight:var(--svm-font-weight-medium)}.device-selector-actions{display:flex;gap:var(--svm-space-3);justify-content:flex-end;padding:var(--svm-space-4) var(--svm-space-5) var(--svm-space-5);border-top:1px solid var(--svm-border-light);background:var(--svm-bg-secondary)}.action-btn{padding:var(--svm-space-2) var(--svm-space-4);border-radius:var(--svm-radius-md);font-size:var(--svm-font-size-base);font-weight:var(--svm-font-weight-semibold);cursor:pointer;transition:all var(--svm-transition-fast);border:2px solid transparent;min-width:100px}.cancel-btn{background:var(--svm-bg-tertiary);color:var(--svm-text-primary);border-color:var(--svm-border-light)}.cancel-btn:hover:not(:disabled){background:var(--svm-bg-primary);transform:translateY(-1px)}.continue-btn{background:var(--svm-primary);color:#fff;box-shadow:0 2px 6px #22c55e4d}.continue-btn:hover:not(:disabled){background:var(--svm-primary-dark);transform:translateY(-1px);box-shadow:0 4px 12px #22c55e66}.action-btn:disabled{opacity:.5;cursor:not-allowed;transform:none!important}@media (max-width: 768px){.svmessenger-device-selector-modal{margin:16px;min-width:340px;max-width:95vw}.device-selector-header{padding:24px 24px 20px}.device-selector-header h2{font-size:24px}.device-selector-content{padding:20px 24px}.device-section{padding:20px}.device-selector-actions{padding:20px 24px 24px;flex-direction:column}.action-btn{width:100%;min-width:auto}.volume-slider-container{padding:12px}}@media (max-width: 480px){.svmessenger-device-selector-modal{margin:8px;min-width:320px}.device-selector-header{padding:20px 20px 16px}.device-selector-content{padding:16px 20px}.device-section{padding:16px}}:root{--svm-green-50: #f0fdf4;--svm-green-100: #dcfce7;--svm-green-200: #bbf7d0;--svm-green-300: #86efac;--svm-green-400: #4ade80;--svm-green-500: #22c55e;--svm-green-600: #16a34a;--svm-green-700: #15803d;--svm-green-800: #166534;--svm-green-900: #14532d;--svm-white: #ffffff;--svm-gray-50: #f9fafb;--svm-gray-100: #f3f4f6;--svm-gray-200: #e5e7eb;--svm-gray-300: #d1d5db;--svm-gray-400: #9ca3af;--svm-gray-500: #6b7280;--svm-gray-600: #4b5563;--svm-gray-700: #374151;--svm-gray-800: #1f2937;--svm-gray-900: #111827;--svm-primary: var(--svm-green-500);--svm-primary-dark: var(--svm-green-700);--svm-primary-light: var(--svm-green-300);--svm-accent: var(--svm-green-600);--svm-error: #ef4444;--svm-success: var(--svm-green-500);--svm-warning: #f59e0b;--svm-info: #3b82f6;--svm-bg-primary: var(--svm-white);--svm-bg-secondary: var(--svm-gray-50);--svm-bg-tertiary: var(--svm-gray-100);--svm-text-primary: var(--svm-gray-900);--svm-text-secondary: var(--svm-gray-600);--svm-text-tertiary: var(--svm-gray-400);--svm-text-light: var(--svm-white);--svm-border-light: var(--svm-gray-200);--svm-border-medium: var(--svm-gray-300);--svm-border-dark: var(--svm-gray-400);--svm-bubble-sent: var(--svm-primary);--svm-bubble-sent-text: var(--svm-white);--svm-bubble-received: var(--svm-bg-tertiary);--svm-bubble-received-text: var(--svm-text-primary);--svm-bubble-sent-gradient: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 30%, #bae6fd 70%, #7dd3fc 100%);--svm-bubble-received-gradient: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);--svm-bubble-sent-shadow: 0 2px 8px rgba(34, 197, 94, .15);--svm-bubble-received-shadow: 0 2px 8px rgba(0, 0, 0, .08);--svm-bubble-sent-glow: 0 0 15px rgba(34, 197, 94, .1);--svm-bubble-received-glow: 0 0 10px rgba(0, 0, 0, .05);--svm-bubble-sent-text: #1f2937;--svm-bubble-received-text: #374151;--svm-glass-bg: rgba(255, 255, 255, .7);--svm-glass-border: rgba(255, 255, 255, .2);--svm-glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, .1);--svm-glass-green: rgba(34, 197, 94, .1);--svm-gradient-primary: linear-gradient(135deg, var(--svm-green-500) 0%, var(--svm-green-600) 100%);--svm-gradient-secondary: linear-gradient(135deg, var(--svm-gray-100) 0%, var(--svm-gray-200) 100%);--svm-gradient-light: linear-gradient(135deg, var(--svm-green-100) 0%, var(--svm-green-200) 100%);--svm-shadow-xs: 0 1px 2px rgba(0, 0, 0, .05);--svm-shadow-sm: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .04);--svm-shadow-md: 0 4px 6px rgba(0, 0, 0, .1), 0 2px 4px rgba(0, 0, 0, .06);--svm-shadow-lg: 0 10px 15px rgba(0, 0, 0, .15), 0 4px 6px rgba(0, 0, 0, .08);--svm-shadow-xl: 0 20px 25px rgba(0, 0, 0, .2), 0 8px 10px rgba(0, 0, 0, .12);--svm-shadow-2xl: 0 25px 50px rgba(0, 0, 0, .25);--svm-radius-xs: 4px;--svm-radius-sm: 6px;--svm-radius-md: 8px;--svm-radius-lg: 12px;--svm-radius-xl: 16px;--svm-radius-pill: 9999px;--svm-transition-fast: .15s ease-out;--svm-transition-base: .25s ease-out;--svm-transition-slow: .35s ease-out;--svm-transition-bounce: cubic-bezier(.68, -.55, .265, 1.55);--svm-space-1: 4px;--svm-space-2: 8px;--svm-space-3: 12px;--svm-space-4: 16px;--svm-space-5: 20px;--svm-space-6: 24px;--svm-space-7: 28px;--svm-space-8: 32px;--svm-space-10: 40px;--svm-z-low: 10;--svm-z-mid: 100;--svm-z-high: 1000;--svm-z-tooltip: 10000;--svm-z-modal: 100000;--svm-font-family: "SF Pro Display", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";--svm-font-size-xs: 11px;--svm-font-size-sm: 13px;--svm-font-size-base: 15px;--svm-font-size-lg: 17px;--svm-font-size-xl: 20px;--svm-font-weight-light: 300;--svm-font-weight-normal: 400;--svm-font-weight-medium: 500;--svm-font-weight-semibold: 600;--svm-font-weight-bold: 700}.svmessenger-widget *{box-sizing:border-box;margin:0;padding:0}.svmessenger-widget{position:fixed;bottom:var(--svm-space-6);right:var(--svm-space-6);z-index:var(--svm-z-high);font-family:var(--svm-font-family);font-size:var(--svm-font-size-base);line-height:1.5;color:var(--svm-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}.svmessenger-fab{position:fixed;bottom:20px;right:20px;width:64px;height:64px;background:linear-gradient(135deg,#22c55e,#16a34a,#15803d);border:none;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 20px #22c55e4d,0 4px 6px #0000001a;transition:all var(--svm-transition-base);overflow:visible;-webkit-user-select:none;user-select:none;z-index:var(--svm-z-high);animation:float 4s ease-in-out infinite}@keyframes float{0%,to{transform:translateY(0) rotate(0)}50%{transform:translateY(-8px) rotate(2deg)}}.svmessenger-fab:hover{animation:none;background:linear-gradient(135deg,#4ade80,#22c55e,#16a34a);box-shadow:0 20px 25px #4ade8066,0 8px 10px #00000026;transform:scale(1.1) translateY(-4px)}.svmessenger-fab:active{transform:translateY(0) scale(.98);transition-duration:.1s}.svmessenger-fab:before{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border-radius:50%;background:#ffffff4d;transform:translate(-50%,-50%);transition:width .6s ease-out,height .6s ease-out;pointer-events:none}.svmessenger-fab:active:before{width:200px;height:200px;opacity:0;transition:width .3s ease-out,height .3s ease-out,opacity .3s ease-out}.svmessenger-fab svg{width:28px;height:28px;color:var(--svm-white);position:relative;z-index:1;filter:drop-shadow(0 2px 4px rgba(0,0,0,.2));transition:transform var(--svm-transition-base)}.svmessenger-fab:hover svg{transform:scale(1.1) rotate(5deg)}.svmessenger-badge{position:absolute;top:-3px;right:-3px;min-width:20px;height:20px;padding:0 6px;background:var(--svm-error);color:var(--svm-white);border-radius:var(--svm-radius-pill);border:2px solid var(--svm-white);font-size:var(--svm-font-size-xs);font-weight:var(--svm-font-weight-bold);display:flex;align-items:center;justify-content:center;box-shadow:var(--svm-shadow-md);animation:badge-pulse 2s infinite;z-index:calc(var(--svm-z-high) + 1)}@keyframes badge-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.15)}}.svmessenger-taskbar{position:fixed;bottom:30px;right:90px;display:flex;flex-direction:row-reverse;gap:8px;z-index:var(--svm-z-high);max-width:800px}.svmessenger-taskbar-button{position:relative;width:200px;height:50px;border-radius:12px;cursor:pointer;transition:all var(--svm-transition-fast);overflow:hidden;border:1px solid #E5E7EB;background:#fff;padding:6px 10px;display:flex;align-items:center;gap:10px;box-shadow:0 1px 3px #0000001a;flex-shrink:0}.svmessenger-taskbar-button:hover{transform:translateY(-2px);border-color:#22c55e;box-shadow:0 2px 8px #22c55e26;background:#fff}.svmessenger-taskbar-button.active{border-color:#22c55e;box-shadow:0 0 0 3px #22c55e26}.svmessenger-taskbar-avatar{width:40px;height:40px;border-radius:50%;flex-shrink:0;box-shadow:0 2px 8px #00000026;overflow:hidden;position:relative}.svmessenger-taskbar-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.svmessenger-taskbar-avatar .svmessenger-online-indicator{position:absolute;bottom:2px;right:2px;width:12px;height:12px;background:var(--svm-success);border:2px solid var(--svm-white);border-radius:50%}.svmessenger-taskbar-name{flex:1;color:var(--svm-text-primary);font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.svmessenger-taskbar-badge{background:linear-gradient(135deg,#22c55e,#16a34a);color:var(--svm-white);border-radius:12px;min-width:20px;height:20px;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;flex-shrink:0;box-shadow:0 2px 4px #22c55e40}.svmessenger-taskbar-close{position:absolute;top:4px;right:4px;width:18px;height:18px;color:#000;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:all var(--svm-transition-fast);font-size:10px;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);z-index:10}.svmessenger-taskbar-button:hover .svmessenger-taskbar-close{opacity:1}.svmessenger-taskbar-close:hover{transform:scale(1.2)}.svmessenger-conversation-list,.svmessenger-user-search{position:fixed;bottom:100px;right:20px;width:400px;max-height:600px;background:#fff;border:1px solid var(--svm-border-light);border-radius:var(--svm-radius-xl);box-shadow:0 2px 8px #0000001f;display:flex;flex-direction:column;overflow:hidden;animation:slideUpFade .4s var(--svm-transition-bounce);z-index:calc(var(--svm-z-high) + 10)}@keyframes slideUpFade{0%{opacity:0;transform:translateY(30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.svmessenger-conversation-header{display:flex;align-items:center;justify-content:space-between;padding:var(--svm-space-4) var(--svm-space-6);background:linear-gradient(135deg,#16a34a,#15803d);color:var(--svm-white);position:sticky;top:0;z-index:10;box-shadow:0 2px 8px #16a34a33;border-radius:var(--svm-radius-xl) var(--svm-radius-xl) 0 0;position:relative;overflow:hidden}.svmessenger-conversation-header:before{content:"";position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:linear-gradient(45deg,transparent 30%,rgba(255,255,255,.1) 50%,transparent 70%);animation:shimmer 3s infinite;pointer-events:none}@keyframes shimmer{0%{transform:translate(-50%,-50%) rotate(0)}to{transform:translate(-50%,-50%) rotate(360deg)}}.svmessenger-conversation-header h3{font-size:1.4rem;font-weight:400;margin:0;letter-spacing:-.3px;color:#fff}.svmessenger-conversation-actions{display:flex;gap:var(--svm-space-2)}.svmessenger-search-btn,.svmessenger-close-btn{width:40px;height:40px;border:none;background:#fff3;color:var(--svm-white);border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .3s cubic-bezier(.4,0,.2,1);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);position:relative;overflow:hidden}.svmessenger-search-btn:before,.svmessenger-close-btn:before{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border-radius:50%;background:#ffffff4d;transform:translate(-50%,-50%);transition:width .4s cubic-bezier(.4,0,.2,1),height .4s cubic-bezier(.4,0,.2,1)}.svmessenger-search-btn:hover:before,.svmessenger-close-btn:hover:before{width:100px;height:100px}.svmessenger-search-btn:hover,.svmessenger-close-btn:hover{background:#ffffff4d;transform:scale(1.1) rotate(5deg);box-shadow:0 4px 16px #0003}.svmessenger-search-btn:active,.svmessenger-close-btn:active{transform:scale(.95)}.svmessenger-search-btn svg,.svmessenger-close-btn svg{width:20px;height:20px}.svmessenger-search-input{padding:var(--svm-space-4) var(--svm-space-5);background:#fff;border-bottom:1px solid var(--svm-border-light);position:relative}.svmessenger-search-input input{width:100%;padding:var(--svm-space-3) var(--svm-space-4);background:#f8f9fa;border:1px solid var(--svm-border-light);border-radius:var(--svm-radius-pill);font-size:var(--svm-font-size-sm);color:var(--svm-text-primary);transition:all var(--svm-transition-fast);outline:none;font-family:var(--svm-font-family)}.svmessenger-search-input input:focus{border-color:#22c55e;box-shadow:0 0 0 3px #22c55e1a}.svmessenger-search-input input::placeholder{color:var(--svm-text-tertiary)}.svmessenger-conversations,.svmessenger-search-results{flex:1;overflow-y:auto;overflow-x:hidden;scroll-behavior:smooth;padding-bottom:25px}.svmessenger-conversations::-webkit-scrollbar,.svmessenger-search-results::-webkit-scrollbar{width:4px}.svmessenger-conversations::-webkit-scrollbar-track,.svmessenger-search-results::-webkit-scrollbar-track{background:transparent}.svmessenger-conversations::-webkit-scrollbar-thumb,.svmessenger-search-results::-webkit-scrollbar-thumb{background:var(--svm-border-light);border-radius:var(--svm-radius-pill)}.svmessenger-conversations::-webkit-scrollbar-thumb:hover,.svmessenger-search-results::-webkit-scrollbar-thumb:hover{background:var(--svm-text-tertiary)}.svmessenger-conversation-item{display:flex;align-items:center;gap:12px;padding:12px 16px;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);border-bottom:1px solid #E5E7EB;position:relative;min-height:72px;background:#fff;border-left:4px solid transparent;overflow:hidden}.svmessenger-conversation-item:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,#22c55e,#16a34a);transform:scaleY(0);transition:transform .3s cubic-bezier(.4,0,.2,1)}.svmessenger-conversation-item:after{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%) translate(-100%);width:100%;height:100%;background:linear-gradient(90deg,transparent 0%,rgba(34,197,94,.05) 50%,transparent 100%);transition:transform .4s cubic-bezier(.4,0,.2,1);pointer-events:none}.svmessenger-conversation-item:hover:after{transform:translateY(-50%) translate(100%)}.svmessenger-conversation-item:last-child{border-bottom:none}.svmessenger-conversation-remove{position:absolute;top:8px;right:12px;width:24px;height:24px;background:#ffffffe6;border:none;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:0;transition:all var(--svm-transition-fast);z-index:11;box-shadow:0 1px 3px #0000001a}.svmessenger-conversation-remove:hover{background:#fff;transform:scale(1.1);box-shadow:0 2px 4px #00000026}.svmessenger-conversation-remove svg{color:#6b7280;transition:color var(--svm-transition-fast)}.svmessenger-conversation-remove:hover svg{color:#374151}.svmessenger-conversation-item:hover .svmessenger-conversation-remove{opacity:1}.svmessenger-conversation-item:hover{background:linear-gradient(90deg,#f0fdf4,#f0fdf4);transform:translate(4px);box-shadow:0 2px 8px #22c55e1a}.svmessenger-conversation-item:hover:before{transform:scaleY(1)}.svmessenger-conversation-item.active{background:linear-gradient(90deg,#f0fdf4,#f0fdf4);border-left:4px solid #22c55e;box-shadow:0 2px 8px #22c55e1a}.svmessenger-conversation-item.active:before{transform:scaleY(1)}.svmessenger-avatar,.svmessenger-conversation-avatar,.svmessenger-search-user-avatar{position:relative;width:48px;height:48px;flex-shrink:0;transition:all .3s cubic-bezier(.4,0,.2,1)}.svmessenger-avatar-img,.svmessenger-conversation-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover;border:2px solid var(--svm-white);transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 8px #0000001a}.svmessenger-conversation-item:hover .svmessenger-avatar-img,.svmessenger-conversation-item:hover .svmessenger-conversation-avatar img,.svmessenger-search-user-item:hover .svmessenger-search-user-avatar img{transform:scale(1.1) rotate(2deg);box-shadow:0 4px 16px #22c55e4d,0 0 0 3px #22c55e26}.svmessenger-avatar-placeholder{width:100%;height:100%;border-radius:50%;background:linear-gradient(135deg,#22c55e,#16a34a);color:var(--svm-white);display:flex;align-items:center;justify-content:center;font-size:var(--svm-font-size-xl);font-weight:var(--svm-font-weight-bold);border:2px solid var(--svm-white);box-shadow:var(--svm-shadow-sm)}.svmessenger-online-indicator{position:absolute;bottom:0;right:0;width:16px;height:16px;background:#22c55e;border:3px solid var(--svm-white);border-radius:50%;box-shadow:0 0 0 2px #22c55e,0 2px 8px #22c55e66;animation:online-pulse-rich 2s cubic-bezier(.4,0,.6,1) infinite;z-index:2}.svmessenger-online-indicator.offline{background:#ef4444;box-shadow:0 0 0 2px #ef4444,0 2px 8px #ef44444d;animation:none}@keyframes online-pulse-rich{0%,to{opacity:1;transform:scale(1);box-shadow:0 0 0 2px #22c55e,0 2px 8px #22c55e66}50%{opacity:.8;transform:scale(1.1);box-shadow:0 0 0 4px #22c55e33,0 2px 8px #22c55e99}}@keyframes online-pulse{0%,to{opacity:1}50%{opacity:.7}}.svmessenger-conversation-info,.svmessenger-conversation-content{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.svmessenger-conversation-top-row{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:2px}.svmessenger-conversation-name{font-size:15px;font-weight:var(--svm-font-weight-semibold);color:#212529;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;line-height:1.3}.svmessenger-conversation-preview{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.svmessenger-conversation-text{font-size:13px;color:#6c757d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0;margin:0;line-height:1.4}.svmessenger-conversation-item.unread .svmessenger-conversation-preview,.svmessenger-conversation-item.unread .svmessenger-conversation-text{color:#212529;font-weight:var(--svm-font-weight-medium)}.svmessenger-conversation-meta{display:flex;flex-direction:column;align-items:flex-end;gap:var(--svm-space-1)}.svmessenger-conversation-time{font-size:12px;color:#6c757d;white-space:nowrap;flex-shrink:0}.svmessenger-conversation-item.unread .svmessenger-conversation-time{color:#16a34a;font-weight:var(--svm-font-weight-semibold)}.svmessenger-unread-badge,.svmessenger-conversation-unread{min-width:22px;height:22px;padding:0 8px;background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff;border-radius:12px;font-size:13px;font-weight:600;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px #22c55e4d;flex-shrink:0}.svmessenger-search-list{display:flex;flex-direction:column;gap:var(--svm-space-1);padding:var(--svm-space-2)}.svmessenger-search-user-item{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#fff;border-radius:var(--svm-radius-md);cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);border:1px solid transparent;min-height:72px}.svmessenger-search-user-item:hover{background:linear-gradient(90deg,#f0fdf4,#f0fdf4);border-color:#22c55e;transform:translate(8px);box-shadow:0 4px 16px #22c55e26}.svmessenger-search-user-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover;border:2px solid var(--svm-white);box-shadow:0 2px 8px #0000001a;transition:all .3s cubic-bezier(.4,0,.2,1)}.svmessenger-search-user-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.svmessenger-search-user-name{font-size:14px;font-weight:var(--svm-font-weight-semibold);color:var(--svm-text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;line-height:1.2}.svmessenger-search-user-username{font-size:12px;color:var(--svm-text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;line-height:1.3}.svmessenger-chat-window{position:fixed;width:400px;height:600px;min-width:300px;min-height:400px;max-width:800px;max-height:90vh;background:#fff;border:1px solid var(--svm-border-light);border-radius:var(--svm-radius-xl);box-shadow:0 2px 8px #0000001f;display:flex;flex-direction:column;overflow:visible;animation:slideUpFade .4s var(--svm-transition-bounce);-webkit-user-select:none;user-select:none;z-index:var(--svm-z-high);contain:layout style paint;backface-visibility:hidden;transform:translateZ(0)}.svmessenger-chat-window.dragging{cursor:move;transition:none;z-index:var(--svm-z-modal)}.svmessenger-chat-window.resizing{cursor:nw-resize;transition:none}.svmessenger-resize-handle{position:absolute;bottom:0;right:0;width:20px;height:20px;cursor:nw-resize;background:linear-gradient(-45deg,transparent 30%,var(--svm-border-medium) 30%,var(--svm-border-medium) 35%,transparent 35%,transparent 65%,var(--svm-border-medium) 65%,var(--svm-border-medium) 70%,transparent 70%);opacity:0;transition:opacity var(--svm-transition-fast)}.svmessenger-chat-window:hover .svmessenger-resize-handle{opacity:1}.svmessenger-resize-handle:hover{opacity:1!important}.svmessenger-chat-header{display:flex;align-items:center;gap:var(--svm-space-3);padding:var(--svm-space-4) var(--svm-space-5);background:linear-gradient(135deg,#16a34a,#15803d);color:var(--svm-white);box-shadow:0 2px 8px #16a34a33;cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:var(--svm-radius-xl) var(--svm-radius-xl) 0 0}.svmessenger-chat-user-info{display:flex;align-items:center;gap:var(--svm-space-3);flex:1;min-width:0}.svmessenger-chat-avatar{position:relative;width:40px;height:40px;flex-shrink:0}.svmessenger-chat-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover;border:2px solid var(--svm-white);box-shadow:var(--svm-shadow-sm)}.svmessenger-chat-user-details,.svmessenger-chat-header-info{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.svmessenger-chat-username{font-size:15px;font-weight:600;color:#fff}.svmessenger-chat-status{font-size:12px;opacity:.9;display:flex;align-items:center;gap:4px}.svmessenger-chat-status:before{content:"";width:8px;height:8px;background:#22c55e;border-radius:50%;border:2px solid #FFFFFF}.svmessenger-chat-status.offline:before{background:#ef4444;border:2px solid #FFFFFF}.svmessenger-chat-header-name{font-size:var(--svm-font-size-base);font-weight:var(--svm-font-weight-semibold);color:var(--svm-white);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}.svmessenger-chat-header-status{font-size:var(--svm-font-size-xs);color:#fffc;white-space:nowrap;opacity:.9;display:flex;align-items:center;gap:var(--svm-space-1)}.svmessenger-chat-controls,.svmessenger-chat-header-actions{display:flex;gap:var(--svm-space-1);align-items:center}.svmessenger-chat-back{width:20px;height:20px;border:none;background:transparent;color:var(--svm-white);border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all var(--svm-transition-fast);margin-right:0}.svmessenger-chat-back:hover{background:#fff3}.svmessenger-chat-back svg{width:20px;height:20px}.svmessenger-chat-menu-container{position:relative}.svmessenger-chat-menu-btn{width:36px;height:36px;border:none;background:transparent;color:var(--svm-white);border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all var(--svm-transition-fast)}.svmessenger-chat-menu-btn:hover{background:#fff3}.svmessenger-chat-menu-dropdown{position:absolute;top:100%;right:0;margin-top:8px;background:#fff;border-radius:12px;box-shadow:0 4px 16px #00000026;min-width:200px;overflow:hidden;z-index:1000;animation:slideDownFade .2s ease-out}@keyframes slideDownFade{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.svmessenger-menu-item{width:100%;display:flex;align-items:center;gap:12px;padding:12px 16px;border:none;background:transparent;color:#212529;font-size:12px;text-align:left;cursor:pointer;transition:all var(--svm-transition-fast);border-bottom:1px solid #E5E7EB}.svmessenger-menu-item:last-child{border-bottom:none}.svmessenger-menu-item:hover{background:#f8f9fa}.svmessenger-menu-item svg{width:16px;height:16px;flex-shrink:0}.svmessenger-menu-item-danger{color:#ef4444}.svmessenger-search-in-chat{position:absolute;top:100%;left:0;right:0;padding:12px 16px;background:#fff;border-bottom:1px solid #E5E7EB;display:flex;gap:8px;z-index:100}.svmessenger-search-in-chat input{flex:1;padding:8px 12px;border:1px solid #E5E7EB;border-radius:20px;font-size:14px;outline:none;transition:all var(--svm-transition-fast)}.svmessenger-search-in-chat input:focus{border-color:#22c55e;box-shadow:0 0 0 3px #22c55e1a}.svmessenger-search-in-chat button{width:32px;height:32px;border:none;background:transparent;color:#6b7280;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all var(--svm-transition-fast)}.svmessenger-search-in-chat button:hover{background:#f8f9fa}.svmessenger-chat-minimize,.svmessenger-chat-close{width:32px;height:32px;border:none;background:#fff3;color:var(--svm-white);border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all var(--svm-transition-fast);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.svmessenger-chat-minimize:hover,.svmessenger-chat-close:hover{background:#ffffff4d;transform:scale(1.05)}.svmessenger-chat-minimize:active,.svmessenger-chat-close:active{transform:scale(.95)}.svmessenger-chat-minimize svg,.svmessenger-chat-close svg{width:16px;height:16px}.svmessenger-chat-search{display:flex;align-items:center;gap:var(--svm-space-2);padding:var(--svm-space-3) var(--svm-space-4);background:#f8f9fafa;border-bottom:1px solid #E5E7EB;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.svmessenger-chat-search-input{flex:1;min-height:32px;padding:6px 12px;background:#fff;border:1px solid #E5E7EB;border-radius:16px;font-size:14px;font-family:var(--svm-font-family);color:var(--svm-text-primary);transition:all var(--svm-transition-fast);outline:none;box-shadow:none}.svmessenger-chat-search-input:focus{border-color:#22c55e;background:#fff;box-shadow:0 0 0 2px #22c55e26}.svmessenger-chat-search-input::placeholder{color:var(--svm-text-tertiary)}.svmessenger-chat-search-close{width:28px;height:28px;border:none;background:#fffc;color:var(--svm-text-secondary);border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all var(--svm-transition-fast);font-size:16px;font-weight:700}.svmessenger-chat-search-close:hover{background:#ffffffe6;color:var(--svm-text-primary);transform:scale(1.05)}.svmessenger-chat-search-close:active{transform:scale(.95)}.svmessenger-chat-body,.svmessenger-message-thread{flex:1;overflow-y:auto;overflow-x:hidden;padding:var(--svm-space-5) var(--svm-space-4);background:#fff!important;background-image:none!important;display:flex;flex-direction:column;gap:var(--svm-space-2);position:relative}.svmessenger-chat-body::-webkit-scrollbar,.svmessenger-message-thread::-webkit-scrollbar{width:4px}.svmessenger-chat-body::-webkit-scrollbar-track,.svmessenger-message-thread::-webkit-scrollbar-track{background:transparent}.svmessenger-chat-body::-webkit-scrollbar-thumb,.svmessenger-message-thread::-webkit-scrollbar-thumb{background:var(--svm-border-light);border-radius:var(--svm-radius-pill)}.svmessenger-chat-body::-webkit-scrollbar-thumb:hover,.svmessenger-message-thread::-webkit-scrollbar-thumb:hover{background:var(--svm-text-tertiary)}.svmessenger-messages{display:flex;flex-direction:column;gap:var(--svm-space-1);background:none!important;background-image:none!important;background-repeat:no-repeat!important}.svmessenger-message,.svmessenger-message-item{display:flex;align-items:flex-end;gap:var(--svm-space-2);animation:messageSlideIn .3s var(--svm-transition-base);margin-bottom:var(--svm-space-1);background:none!important;background-image:none!important;background-repeat:no-repeat!important;background-attachment:fixed!important}@keyframes messageSlideIn{0%{opacity:0;transform:translateY(10px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.svmessenger-message.sent,.svmessenger-message-item.own{flex-direction:row-reverse}.svmessenger-message.received,.svmessenger-message-item.other{flex-direction:row}.svmessenger-message-avatar{width:24px;height:24px;border-radius:50%;object-fit:cover;flex-shrink:0;box-shadow:0 1px 3px #0000001a;border:1px solid rgba(255,255,255,.3);display:block!important;position:relative;z-index:1}.svmessenger-message-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}.svmessenger-message.sent .svmessenger-message-avatar,.svmessenger-message-item.own .svmessenger-message-avatar{display:none}.svmessenger-message-content{display:flex;flex-direction:column;gap:4px;max-width:70%;position:relative;background:none!important;background-image:none!important;background-repeat:no-repeat!important;align-items:flex-end}.svmessenger-message-item.other .svmessenger-message-content{align-items:flex-start}.svmessenger-message-item.own .svmessenger-message-content{align-items:flex-end}.svmessenger-message-bubble{padding:var(--svm-space-3) var(--svm-space-4);border-radius:20px;font-size:var(--svm-font-size-sm);line-height:1.4;word-wrap:break-word;position:relative;transition:all var(--svm-transition-fast);box-shadow:var(--svm-shadow-sm);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2)}.svmessenger-message.received .svmessenger-message-bubble,.svmessenger-message-item.other .svmessenger-message-bubble{background:var(--svm-bubble-received-gradient);color:var(--svm-bubble-received-text);border-bottom-left-radius:6px;box-shadow:var(--svm-bubble-received-shadow);border:1px solid rgba(255,255,255,.4)}.svmessenger-message.sent .svmessenger-message-bubble,.svmessenger-message-item.own .svmessenger-message-bubble{background:var(--svm-bubble-sent-gradient);color:var(--svm-bubble-sent-text);border-bottom-right-radius:6px;box-shadow:var(--svm-bubble-sent-shadow);border:1px solid rgba(34,197,94,.2);position:relative}.svmessenger-message.sent .svmessenger-message-bubble:before,.svmessenger-message-item.own .svmessenger-message-bubble:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:var(--svm-bubble-sent-glow);border-radius:inherit;opacity:0;transition:opacity var(--svm-transition-fast);pointer-events:none}.svmessenger-message.sent .svmessenger-message-bubble:hover:before,.svmessenger-message-item.own .svmessenger-message-bubble:hover:before{opacity:1}.svmessenger-message-bubble.emoji-only{font-size:24px;padding:var(--svm-space-2) var(--svm-space-3);background:transparent;box-shadow:none}.svmessenger-message-bubble:hover{transform:translateY(-2px) scale(1.02);box-shadow:var(--svm-shadow-lg)}.svmessenger-message.received .svmessenger-message-bubble:hover,.svmessenger-message-item.other .svmessenger-message-bubble:hover{box-shadow:var(--svm-bubble-received-shadow),var(--svm-bubble-received-glow)}.svmessenger-message.sent .svmessenger-message-bubble:hover,.svmessenger-message-item.own .svmessenger-message-bubble:hover{box-shadow:var(--svm-bubble-sent-shadow),var(--svm-bubble-sent-glow)}.svmessenger-message-text{white-space:pre-wrap;word-break:break-word}.svmessenger-message-time{font-size:8px;color:#6b7280;display:flex;align-items:center;gap:2px;background:#fffc;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);margin-top:2px;opacity:.8;transition:all var(--svm-transition-fast);font-weight:400;line-height:1.2}.svmessenger-message-bubble:hover+.svmessenger-message-time,.svmessenger-message-time:hover{opacity:1}.svmessenger-message-status,.svmessenger-message-read-status{display:flex;align-items:center;justify-content:flex-end;gap:1px;font-size:8px;color:#6b7280;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);font-weight:400;line-height:1.2}.svmessenger-checkmark,.svmessenger-message-read-status svg{width:12px;height:12px;color:#fff;transition:all var(--svm-transition-fast);filter:drop-shadow(0 1px 2px rgba(0,0,0,.1))}.svmessenger-checkmark.sending{color:#9ca3af;opacity:.7}.svmessenger-checkmark.sent{color:#fff;opacity:.8}.svmessenger-checkmark.delivered,.svmessenger-checkmark.read{color:#fff;opacity:1}.svmessenger-message-read-status svg{color:#6b7280}.svmessenger-message-item.own .svmessenger-message-read-status svg.double-check-green{color:#22c55e}.svmessenger-message-status.seen{animation:checkmarkPop .3s var(--svm-transition-bounce)}@keyframes checkmarkPop{0%{transform:scale(1)}50%{transform:scale(1.3)}to{transform:scale(1)}}.svmessenger-message-meta{display:flex;align-items:center;gap:6px;padding:2px 6px;font-size:11px;color:#6b7280;transition:all var(--svm-transition-fast)}.svmessenger-message-item.own .svmessenger-message-meta{flex-direction:row;justify-content:flex-end}.svmessenger-message-item.other .svmessenger-message-meta{flex-direction:row;justify-content:flex-start}.svmessenger-message-time-only{color:#6b7280;font-size:11px;font-weight:400;white-space:nowrap}.svmessenger-message-read-status{display:flex;align-items:center;gap:2px;flex-shrink:0}.svmessenger-message-read-status svg{width:14px;height:14px;color:#6b7280;flex-shrink:0}.svmessenger-message-item.own .svmessenger-message-read-status svg.double-check{color:#22c55e}.svmessenger-date-separator{display:flex;justify-content:center;align-items:center;margin:16px 0;position:relative}.svmessenger-date-separator-text{display:inline-block;padding:6px 12px;background:#6b72801a;border-radius:12px;font-size:11px;font-weight:500;color:#6b7280;text-transform:capitalize;letter-spacing:.3px}.svmessenger-scroll-to-bottom{position:fixed;bottom:100px;right:190px;width:40px;height:40px;background:linear-gradient(135deg,#22c55e,#16a34a);color:var(--svm-white);border:none;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px #22c55e4d;transition:all var(--svm-transition-fast);z-index:10}.svmessenger-scroll-to-bottom:hover{transform:scale(1.1);box-shadow:var(--svm-shadow-lg)}.svmessenger-scroll-to-bottom svg{width:20px;height:20px}.svmessenger-typing-indicator{display:flex;align-items:center;gap:4px;padding:var(--svm-space-2) 0}.svmessenger-typing-avatar{width:32px;height:32px;flex-shrink:0}.svmessenger-typing-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover;border:2px solid var(--svm-white);box-shadow:var(--svm-shadow-xs)}.svmessenger-typing-content{display:flex;flex-direction:column;gap:var(--svm-space-1);max-width:70%}.svmessenger-typing-bubble{padding:var(--svm-space-3) var(--svm-space-4);background:var(--svm-bubble-received);border-radius:20px 20px 20px 6px;box-shadow:var(--svm-shadow-sm)}.svmessenger-typing-dots{display:flex;align-items:center;gap:4px}.svmessenger-typing-dot,.svmessenger-typing-dots span{width:6px;height:6px;background:var(--svm-text-tertiary);border-radius:50%;animation:typing-bounce 1.4s infinite}.svmessenger-typing-dot:nth-child(1),.svmessenger-typing-dots span:nth-child(1){animation-delay:0s}.svmessenger-typing-dot:nth-child(2),.svmessenger-typing-dots span:nth-child(2){animation-delay:.2s}.svmessenger-typing-dot:nth-child(3),.svmessenger-typing-dots span:nth-child(3){animation-delay:.4s}@keyframes typing-bounce{0%,60%,to{transform:translateY(0);opacity:.7}30%{transform:translateY(-6px);opacity:1}}.svmessenger-typing-text{font-size:var(--svm-font-size-xs);color:var(--svm-text-tertiary);margin-top:var(--svm-space-1)}.svmessenger-message-input,.svmessenger-chat-footer{padding:0;background:#fff;border-top:1px solid var(--svm-border-light);border-radius:0 0 var(--svm-radius-xl) var(--svm-radius-xl);position:relative}.svmessenger-input-form{display:flex;flex-direction:column}.svmessenger-input-container{display:flex;align-items:flex-start;gap:8px;width:100%;padding:8px 4px}.svmessenger-input-wrapper{flex:1;position:relative}.svmessenger-attach-btn,.svmessenger-emoji-btn,.svmessenger-mic-btn{width:40px;height:40px;border:none;background:transparent;color:#6b7280;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all var(--svm-transition-fast);flex-shrink:0}.svmessenger-attach-btn:hover,.svmessenger-emoji-btn:hover,.svmessenger-emoji-btn.active{background:#f8f9fa;color:#22c55e}.svmessenger-attach-btn svg,.svmessenger-emoji-btn svg,.svmessenger-mic-btn svg{width:20px;height:20px}.svmessenger-input-helper{padding:0 0 10px;font-size:11px;color:#9ca3af;text-align:center;opacity:.8}.svmessenger-text-input{width:100%;min-height:36px;max-height:60px;padding:8px 12px;background:#f8f9fa;border:1px solid #E5E7EB;border-radius:18px;font-size:14px;font-family:var(--svm-font-family);color:var(--svm-text-primary);resize:none;overflow-y:hidden;transition:all var(--svm-transition-fast);outline:none;line-height:20px;box-shadow:none}.svmessenger-text-input:focus{border-color:#22c55e;background:#fff;box-shadow:0 0 0 3px #22c55e26}.svmessenger-text-input.multi-line{overflow-y:auto;max-height:120px}.svmessenger-text-input::placeholder{color:var(--svm-text-tertiary)}.svmessenger-send-btn{width:35px;height:35px;border:none;background:linear-gradient(135deg,#22c55e,#16a34a);color:var(--svm-white);border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all var(--svm-transition-fast);box-shadow:0 2px 8px #22c55e40;margin-left:0}.svmessenger-send-btn:hover{transform:scale(1.05);background:linear-gradient(135deg,#4ade80,#22c55e);box-shadow:0 4px 12px #4ade8059}.svmessenger-send-btn:active{transform:scale(.95)}.svmessenger-send-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.svmessenger-send-btn.active{background:linear-gradient(135deg,#22c55e,#16a34a);box-shadow:0 4px 12px #22c55e59}.svmessenger-send-btn svg{width:18px;height:18px}.svmessenger-loading,.svmessenger-search-loading,.svmessenger-search-empty,.svmessenger-empty,.svmessenger-loading-messages{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--svm-space-8) var(--svm-space-4);color:var(--svm-text-secondary);text-align:center;gap:var(--svm-space-3)}.svmessenger-empty svg,.svmessenger-search-empty svg{width:64px;height:64px;opacity:.3;color:var(--svm-text-tertiary)}.svmessenger-search-empty svg{width:48px;height:48px}.svmessenger-search-loading{gap:var(--svm-space-2)}.svmessenger-search-loading span{font-size:var(--svm-font-size-sm);color:var(--svm-text-secondary)}.svmessenger-spinner{width:32px;height:32px;border:3px solid var(--svm-border-light);border-top-color:#22c55e;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.svmessenger-fade-in{animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.svmessenger-slide-in-right{animation:slideInRight .3s ease}@keyframes slideInRight{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.svmessenger-hidden{display:none!important}.svmessenger-visible{display:block!important}*{scroll-behavior:smooth}.svmessenger-widget *:focus-visible{outline:2px solid #22c55e;outline-offset:2px}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@media (max-width: 768px){.svmessenger-chat-window{width:100vw;height:100vh;left:0!important;top:0!important;border-radius:0}.svmessenger-taskbar{bottom:80px;max-width:95vw}.svmessenger-conversation-list,.svmessenger-user-search{width:100vw;max-height:100vh;bottom:0;right:0;border-radius:0}}@media print{.svmessenger-widget{display:none!important}}.svmessenger-emoji-picker-wrapper{position:absolute;bottom:calc(100% + 8px);right:0;z-index:var(--svm-z-tooltip);max-width:320px}.svmessenger-emoji-picker-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:calc(var(--svm-z-tooltip) - 1)}.svmessenger-emoji-picker-container{position:relative;z-index:var(--svm-z-tooltip);animation:slideUpFade .2s ease-out;box-shadow:0 8px 24px #00000026;border-radius:var(--svm-radius-lg);overflow:hidden;width:100%;max-height:280px}.svmessenger-emoji-picker-container em-emoji-picker{--border-radius: 12px;--shadow: 0 8px 24px rgba(0, 0, 0, .15);font-size:11px!important}.svmessenger-emoji-picker-container em-emoji-picker *{font-size:inherit}@keyframes slideUpFade{0%{opacity:0;transform:translateY(20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}
