:root{--background: #0a0e0f;--surface: #0f1419;--bg-tertiary: #151b21;--hover: #1a2229;--active: #1f272e;--primary-color: #00ff41;--primary-dark: #00cc33;--secondary-color: #009926;--neon-glow: rgba(0, 255, 65, .5);--text-primary: #e8f5e9;--text-secondary: #a5d6a7;--text-dim: #66bb6a;--border: #1b5e20;--border-bright: #00ff41;--message-bubble-own: #1b5e20;--message-bubble-other: #0f1419;--message-text-own: #00ff41;--message-text-other: #a5d6a7;--success: #00ff41;--error: #ff1744;--warning: #ffc107;font-family:Courier New,monospace,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.6;font-weight:400;--border-radius: 6px;--border-radius-sm: 3px;--border-radius-lg: 10px;--transition: all .3s cubic-bezier(.4, 0, .2, 1);--glow: 0 0 10px var(--neon-glow);--shadow: 0 4px 16px rgba(0, 255, 65, .1);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box;margin:0;padding:0}body{margin:0;min-width:320px;min-height:100vh;background-color:var(--background);color:var(--text-primary);overflow:hidden}#root{width:100vw;height:100vh;overflow:hidden}a{color:var(--primary-color);text-decoration:none;transition:color .2s ease}a:hover{color:var(--primary-dark);text-decoration:underline}button{font-family:inherit;cursor:pointer}input,textarea{font-family:inherit}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--surface)}::-webkit-scrollbar-thumb{background:var(--primary-dark);border-radius:4px;border:1px solid var(--border)}::-webkit-scrollbar-thumb:hover{background:var(--primary-color);box-shadow:var(--glow)}::selection{background:var(--primary-color);color:var(--background)}.spinner{width:2rem;height:2rem;border:3px solid var(--border);border-top-color:var(--primary-color);border-radius:50%;animation:spin .8s linear infinite;box-shadow:var(--glow)}.matrix-text{color:var(--primary-color);text-shadow:0 0 5px var(--neon-glow);font-family:Courier New,monospace}.incognito-badge{background:var(--bg-tertiary);border:1px solid var(--primary-color);color:var(--primary-color);padding:4px 10px;border-radius:var(--border-radius);font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:1px;box-shadow:var(--glow)}.secure-connection{color:var(--success);font-size:.875rem;display:flex;align-items:center;gap:.5rem}.secure-connection:before{content:"🔒"}.auth-layout{min-height:100vh;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;background:var(--background)}.auth-layout-background{position:absolute;inset:0;z-index:0;background:linear-gradient(135deg,var(--background) 0%,#050808 100%)}.auth-layout-gradient{position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent,transparent 2px,rgba(0,255,65,.03) 2px,rgba(0,255,65,.03) 4px),radial-gradient(circle at 30% 40%,rgba(0,255,65,.1) 0%,transparent 50%),radial-gradient(circle at 70% 60%,rgba(0,255,65,.05) 0%,transparent 50%);animation:gradientShift 20s ease infinite}@keyframes gradientShift{0%,to{opacity:1}50%{opacity:.6}}.auth-layout-content{position:relative;z-index:1;width:100%;max-width:480px;padding:2rem;display:flex;flex-direction:column;align-items:center;gap:2rem}.auth-layout-logo{text-align:center;color:var(--text-primary)}.auth-logo-text{font-size:3rem;font-weight:700;margin:0;color:var(--primary-color);font-family:Courier New,monospace;text-transform:uppercase;letter-spacing:4px;text-shadow:0 0 10px var(--neon-glow),0 0 20px var(--neon-glow),0 0 30px var(--neon-glow);animation:matrixGlow 3s ease-in-out infinite}@keyframes matrixGlow{0%,to{text-shadow:0 0 10px var(--neon-glow),0 0 20px var(--neon-glow),0 0 30px var(--neon-glow)}50%{text-shadow:0 0 5px var(--neon-glow),0 0 10px var(--neon-glow),0 0 15px var(--neon-glow)}}.auth-logo-tagline{font-size:1.125rem;margin:.5rem 0 0;opacity:.8;color:var(--text-secondary);font-family:Courier New,monospace;letter-spacing:2px}.auth-layout-form{width:100%}.auth-layout-footer{text-align:center;color:var(--text-dim);opacity:.7;font-size:.875rem;font-family:Courier New,monospace}.auth-layout-footer p{margin:0;color:var(--text-secondary)}@media(max-width:640px){.auth-layout-content{padding:1rem}.auth-logo-text{font-size:2.5rem}.auth-logo-tagline{font-size:1rem}}.input-wrapper{display:flex;flex-direction:column;gap:.5rem;width:100%}.input-label{font-size:.875rem;font-weight:500;color:var(--text-primary);font-family:Courier New,monospace;letter-spacing:.5px}.input-required{color:var(--error);margin-left:.25rem}.input-container{position:relative;display:flex;align-items:center}.input{width:100%;padding:.75rem 1rem;font-family:Courier New,monospace;font-size:1rem;color:var(--text-primary);background:var(--bg-tertiary);border:2px solid var(--border);border-radius:var(--border-radius);outline:none;transition:var(--transition)}.input:focus{border-color:var(--primary-color);box-shadow:0 0 0 3px #00ff4126,var(--glow);background:var(--surface)}.input::placeholder{color:var(--text-dim);opacity:.6}.input:disabled{background:var(--surface);cursor:not-allowed;opacity:.4;border-color:var(--border)}.input-error{border-color:var(--error)}.input-error:focus{border-color:var(--error);box-shadow:0 0 0 3px #ff174426}.input-with-left-icon{padding-left:2.75rem}.input-with-right-icon{padding-right:2.75rem}.input-icon{position:absolute;display:flex;align-items:center;justify-content:center;color:var(--text-dim);pointer-events:none}.input-icon-left{left:.75rem}.input-icon-right{right:.75rem}.input-error-text{font-size:.875rem;color:var(--error);font-family:Courier New,monospace}.input-helper-text{font-size:.875rem;color:var(--text-dim);font-family:Courier New,monospace}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-family:Courier New,monospace;font-weight:600;border:1px solid var(--border);border-radius:var(--border-radius);cursor:pointer;transition:var(--transition);outline:none;position:relative;text-transform:uppercase;letter-spacing:.5px}.btn:focus-visible{box-shadow:0 0 0 2px var(--neon-glow);border-color:var(--primary-color)}.btn:disabled{opacity:.3;cursor:not-allowed}.btn-sm{padding:.5rem 1rem;font-size:.875rem}.btn-md{padding:.75rem 1.5rem;font-size:1rem}.btn-lg{padding:1rem 2rem;font-size:1.125rem}.btn-full{width:100%}.btn-primary{background:var(--primary-dark);color:var(--background);border-color:var(--primary-color)}.btn-primary:hover:not(:disabled){background:var(--primary-color);box-shadow:var(--glow);transform:translateY(-2px)}.btn-primary:active:not(:disabled){transform:translateY(0);box-shadow:0 0 20px var(--neon-glow)}.btn-secondary{background:var(--surface);color:var(--text-secondary);border-color:var(--border)}.btn-secondary:hover:not(:disabled){background:var(--hover);color:var(--primary-color)}.btn-outline{background:transparent;color:var(--primary-color);border:2px solid var(--primary-color)}.btn-outline:hover:not(:disabled){background:#00ff411a;box-shadow:var(--glow)}.btn-ghost{background:transparent;color:var(--text-secondary);border-color:transparent}.btn-ghost:hover:not(:disabled){background:var(--hover);color:var(--primary-color)}.btn-loading{pointer-events:none}.btn-text-loading{opacity:0}.btn-spinner{position:absolute;width:1rem;height:1rem;border:2px solid transparent;border-top-color:currentColor;border-radius:50%;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.auth-form{width:100%;max-width:420px;display:flex;flex-direction:column;gap:1.5rem;padding:2rem;background:var(--surface);border:2px solid var(--border);border-radius:var(--border-radius-lg);box-shadow:0 8px 32px #0009,0 0 20px #00ff411a,inset 0 0 30px #00ff4105;position:relative;overflow:hidden}.auth-form:before{content:"";position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent,var(--primary-color),transparent);animation:borderScan 3s linear infinite}@keyframes borderScan{0%{transform:translate(-100%)}to{transform:translate(100%)}}.auth-form-header{text-align:center;margin-bottom:1rem}.auth-form-header h1{font-size:1.75rem;font-weight:700;color:var(--primary-color);margin:0 0 .5rem;font-family:Courier New,monospace;text-transform:uppercase;letter-spacing:2px;text-shadow:0 0 5px var(--neon-glow)}.auth-form-header p{font-size:1rem;color:var(--text-secondary);margin:0;font-family:Courier New,monospace}.auth-error{padding:.75rem 1rem;background:#ff17441a;border:1px solid var(--error);border-radius:var(--border-radius);color:var(--error);font-size:.875rem;font-family:Courier New,monospace;box-shadow:0 0 10px #ff174433}.auth-form-footer{text-align:center;margin-top:.5rem}.auth-form-footer p{margin:0;font-size:.9375rem;color:var(--text-dim);font-family:Courier New,monospace}.auth-form-footer a{color:var(--primary-color);text-decoration:none;font-weight:600;transition:var(--transition);text-shadow:0 0 3px transparent}.auth-form-footer a:hover{text-decoration:none;text-shadow:0 0 5px var(--neon-glow);color:var(--primary-dark)}.avatar{position:relative;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;overflow:hidden;background:linear-gradient(135deg,#2481cc,#1a6aa8);flex-shrink:0}.avatar-sm{width:32px;height:32px;font-size:.75rem}.avatar-md{width:40px;height:40px;font-size:.875rem}.avatar-lg{width:56px;height:56px;font-size:1.125rem}.avatar-xl{width:80px;height:80px;font-size:1.5rem}.avatar-image{width:100%;height:100%;object-fit:cover}.avatar-fallback{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#fff;font-weight:600}.avatar-status{position:absolute;bottom:0;right:0;width:12px;height:12px;border-radius:50%;border:2px solid #0a0e0f;box-shadow:0 0 0 1px #00ff4133}.avatar-sm .avatar-status{width:8px;height:8px;border-width:1.5px}.avatar-lg .avatar-status{width:14px;height:14px}.avatar-xl .avatar-status{width:18px;height:18px;border-width:3px}.avatar-status-online{background:#00ff41;box-shadow:0 0 8px #00ff4199}.avatar-status-offline{background:#444;box-shadow:none}.avatar-status-away{background:orange;box-shadow:0 0 8px #ffa50099}.message-reactions{display:flex;gap:.25rem;margin-top:.5rem;flex-wrap:wrap;align-items:center}.reactions-list{display:flex;gap:.25rem;flex-wrap:wrap}.reaction-bubble{display:inline-flex;align-items:center;gap:.25rem;padding:.25rem .5rem;background:#ffffff0d;border:1px solid rgba(0,255,65,.2);border-radius:12px;font-size:.875rem;cursor:pointer;transition:all .2s ease;font-family:Courier New,monospace;color:var(--text-primary)}.reaction-bubble:hover:not(:disabled){background:#00ff411a;border-color:var(--primary-color);box-shadow:0 0 10px #00ff414d;transform:translateY(-1px)}.reaction-bubble:disabled{opacity:.5;cursor:not-allowed}.reaction-bubble.reacted{background:#00ff4126;border-color:var(--primary-color);box-shadow:0 0 5px #00ff414d}.reaction-bubble.reacted:hover:not(:disabled){background:#00ff4133}.reaction-emoji{font-size:1rem;line-height:1}.reaction-count{font-size:.75rem;font-weight:600;color:var(--primary-color);min-width:1ch}.reaction-picker-container{position:relative}.add-reaction-btn{display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;padding:0;background:transparent;border:1px dashed rgba(0,255,65,.3);border-radius:12px;cursor:pointer;transition:all .2s ease;opacity:.5;font-size:1rem;color:var(--text-dim)}.add-reaction-btn:hover:not(:disabled){opacity:1;border-color:var(--primary-color);border-style:solid;box-shadow:0 0 10px #00ff414d;background:#00ff410d}.add-reaction-btn:disabled{opacity:.3;cursor:not-allowed}.emoji-picker-backdrop{position:fixed;inset:0;background:#00000080;z-index:999;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.emoji-picker{position:absolute;bottom:calc(100% + .5rem);right:0;z-index:1000;display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem;padding:.75rem;background:var(--surface);border:2px solid var(--primary-color);border-radius:12px;box-shadow:0 8px 32px #0009,0 0 20px #00ff4133;animation:slideUpFade .2s ease-out}.emoji-option{width:2.5rem;height:2.5rem;display:flex;align-items:center;justify-content:center;background:#ffffff0d;border:1px solid transparent;border-radius:8px;cursor:pointer;font-size:1.5rem;transition:all .2s ease}.emoji-option:hover:not(:disabled){background:#00ff411a;border-color:var(--primary-color);transform:scale(1.1);box-shadow:0 0 10px #00ff414d}.emoji-option:disabled{opacity:.5;cursor:not-allowed}@keyframes slideUpFade{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media(max-width:768px){.emoji-picker{position:fixed;inset:50% 50% auto;transform:translate(-50%,-50%)}}.message-list{flex:1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:.5rem;background:var(--background)}.message-list-loading,.message-list-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;color:var(--text-dim);font-family:Courier New,monospace}.spinner{width:40px;height:40px;border:3px solid #e4e6eb;border-top-color:#2481cc;border-radius:50%;animation:spin .8s linear infinite}.message-date-divider{display:flex;align-items:center;justify-content:center;margin:1rem 0}.message-date-divider span{padding:.25rem 1rem;background:#00ff410d;border-radius:var(--border-radius-lg);font-size:.75rem;color:var(--text-dim);font-weight:500;font-family:Courier New,monospace;border:1px solid var(--border)}.message{display:flex;gap:.5rem;margin-bottom:.5rem;animation:messageSlideIn .2s ease}@keyframes messageSlideIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.message-own{flex-direction:row-reverse}.message-content{display:flex;flex-direction:column;gap:.25rem;max-width:70%}.message-own .message-content{align-items:flex-end}.message-sender{font-size:.75rem;font-weight:600;color:var(--primary-color);padding:0 .75rem;font-family:Courier New,monospace;text-shadow:0 0 3px var(--neon-glow)}.message-bubble{background:var(--message-bubble-other);color:var(--message-text-other);padding:.75rem 1rem;border-radius:var(--border-radius-lg);box-shadow:0 2px 8px #0006;position:relative;word-wrap:break-word;border:1px solid var(--border)}.message-bubble-own{background:var(--message-bubble-own);color:var(--message-text-own);border:1px solid var(--primary-dark);box-shadow:0 2px 8px #00ff4133,inset 0 0 10px #00ff410d}.message-text{margin:0;font-size:.9375rem;line-height:1.5;white-space:pre-wrap}.message-meta{display:flex;align-items:center;gap:.5rem;margin-top:.25rem;justify-content:flex-end}.message-time{font-size:.6875rem;opacity:.7}.message-edited{font-size:.6875rem;font-style:italic;opacity:.7}.message-image{margin-bottom:.5rem;border-radius:8px;overflow:hidden;max-width:400px}.message-image img{width:100%;height:auto;display:block;border-radius:8px;box-shadow:0 2px 8px #0000004d}.message-file{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:#00ff410d;border:1px solid rgba(0,255,65,.2);border-radius:8px;margin-bottom:.5rem}.message-file-info{display:flex;flex-direction:column;gap:.25rem;flex:1}.message-file-name{font-size:.875rem;font-weight:600;color:var(--primary-color)}.message-file-download{display:inline-flex;align-items:center;gap:.25rem;font-size:.75rem;color:var(--text-dim);text-decoration:none;transition:color .2s}.message-file-download:hover{color:var(--primary-color)}.message-list::-webkit-scrollbar{width:6px}.message-list::-webkit-scrollbar-track{background:transparent}.message-list::-webkit-scrollbar-thumb{background:#0003;border-radius:3px}.message-list::-webkit-scrollbar-thumb:hover{background:#0000004d}.emoji-picker-container{position:relative}.emoji-picker-button{background:none;border:none;font-size:1.5rem;cursor:pointer;padding:.5rem;border-radius:50%;transition:background-color .2s;display:flex;align-items:center;justify-content:center}.emoji-picker-button:hover{background-color:#0000000d}.emoji-picker-button:active{transform:scale(.95)}.emoji-picker-popup{position:fixed;bottom:90px;left:50%;transform:translate(-50%);z-index:9999;box-shadow:0 8px 32px #00ff414d,0 0 0 1px #00ff4133;border-radius:12px;overflow:visible;animation:slideUp .2s ease-out;max-height:calc(100vh - 120px)}.emoji-picker-popup aside{border-radius:12px;overflow:auto;max-height:inherit}.emoji-picker-popup aside>div{max-height:calc(100vh - 140px)!important;overflow-y:auto!important}@keyframes slideUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media(max-width:768px){.emoji-picker-popup{bottom:80px;left:50%;transform:translate(-50%);max-width:90vw;max-height:calc(100vh - 100px)}.emoji-picker-popup aside{width:320px!important;max-width:90vw!important;height:auto!important;max-height:calc(100vh - 120px)!important}}@media(min-width:769px){.emoji-picker-popup{bottom:80px;left:50%;transform:translate(-50%)}.emoji-picker-popup aside{width:350px!important;height:450px!important;max-height:calc(100vh - 100px)!important}}.message-input-container{display:flex;flex-direction:column;gap:.5rem;padding:1rem;background:var(--surface);border-top:1px solid var(--border-bright);box-shadow:0 -4px 16px #0000004d}.file-preview{display:flex;align-items:center;justify-content:space-between;padding:.75rem;background:#00ff410d;border:1px solid rgba(0,255,65,.2);border-radius:8px;margin-bottom:.5rem}.file-preview-info{display:flex;align-items:center;gap:.5rem;color:var(--primary-color);font-size:.875rem;font-family:Courier New,monospace}.file-size{color:var(--text-dim);font-size:.75rem}.file-remove-btn{background:none;border:none;cursor:pointer;padding:.25rem;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--text-dim);transition:all .2s}.file-remove-btn:hover{background:#ff00001a;color:#f44}.file-input-hidden{display:none}.message-input-wrapper{display:flex;gap:.5rem;align-items:flex-end}.message-input-actions{display:flex;gap:.25rem;align-items:center}.attachment-button{background:none;border:none;cursor:pointer;padding:.5rem;border-radius:50%;transition:all .2s;display:flex;align-items:center;justify-content:center;color:var(--text-dim)}.attachment-button:hover:not(:disabled){background-color:var(--hover);color:var(--primary-color);box-shadow:var(--glow)}.attachment-button:disabled{opacity:.4;cursor:not-allowed}.message-input{flex:1;min-height:40px;max-height:120px;padding:.75rem 1rem;font-family:Courier New,monospace;font-size:1rem;color:var(--text-primary);background:var(--bg-tertiary);border:2px solid var(--border);border-radius:var(--border-radius-lg);outline:none;resize:none;transition:var(--transition);overflow-y:auto}.message-input:focus{background:var(--surface);border-color:var(--primary-color);box-shadow:var(--glow)}.message-input::placeholder{color:var(--text-dim);opacity:.5}.message-input:disabled{opacity:.6;cursor:not-allowed}.message-send-btn{border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.message-send-btn:disabled{opacity:.4}.typing-indicator{display:flex;align-items:center;gap:8px;padding:12px 16px;color:var(--text-dim);font-size:14px;font-family:Courier New,monospace}.typing-dots{display:flex;gap:4px;align-items:center}.typing-dots span{width:6px;height:6px;border-radius:50%;background:var(--primary);animation:typingDot 1.4s infinite}.typing-dots span:nth-child(1){animation-delay:0s}.typing-dots span:nth-child(2){animation-delay:.2s}.typing-dots span:nth-child(3){animation-delay:.4s}.typing-text{color:var(--primary);font-style:italic}@keyframes typingDot{0%,60%,to{opacity:.3;transform:scale(.8)}30%{opacity:1;transform:scale(1)}}.chat-window{display:flex;flex-direction:column;height:100vh;background:var(--background)}.chat-window-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;background:var(--background);color:var(--text-dim)}.chat-window-empty h2{font-size:28px;font-weight:600;color:var(--primary-color);margin-bottom:12px;font-family:Courier New,monospace;text-shadow:var(--glow)}.chat-window-empty p{font-size:16px;color:var(--text-secondary);font-family:Courier New,monospace}.chat-window-header{display:flex;align-items:center;gap:1rem;padding:16px 20px;background:var(--surface);border-bottom:2px solid var(--border-bright);flex-shrink:0;box-shadow:0 2px 8px #0000004d}.chat-header-info{display:flex;align-items:center;gap:12px;min-width:200px}.chat-header-text{flex:1;min-width:0}.chat-header-text h2{font-size:18px;font-weight:600;color:var(--primary-color);margin:0 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:Courier New,monospace;text-shadow:0 0 3px var(--neon-glow)}.chat-description{font-size:13px;color:var(--text-dim);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:Courier New,monospace}.chat-header-actions{display:flex;align-items:center;gap:8px}.chat-action-btn{width:36px;height:36px;border-radius:50%;border:1px solid var(--border);background:transparent;color:var(--text-dim);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:var(--transition)}.chat-action-btn:hover{background:var(--hover);color:var(--primary-color);border-color:var(--primary-color);box-shadow:var(--glow)}@media(max-width:768px){.chat-window-header{padding:12px 16px}.chat-header-text h2{font-size:16px}.chat-description{font-size:12px}.chat-action-btn{width:32px;height:32px}}.room-sidebar{width:320px;height:100%;background:var(--surface);border-right:1px solid var(--border);display:flex;flex-direction:column;box-shadow:4px 0 16px #0000004d}.room-sidebar-header{padding:1rem 1.5rem;border-bottom:1px solid var(--border-bright);background:var(--background);display:flex;justify-content:space-between;align-items:center}.room-sidebar-header h2{margin:0;font-size:1.25rem;font-weight:700;color:var(--primary-color);font-family:Courier New,monospace;text-transform:uppercase;letter-spacing:2px;text-shadow:var(--glow)}.header-actions{display:flex;gap:.5rem}.settings-btn,.create-room-btn{background:#00ff411a;border:1px solid var(--primary-color);color:var(--primary-color);width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.settings-btn:hover,.create-room-btn:hover{background:#00ff4133;box-shadow:0 0 10px #00ff4166}.create-room-btn:hover{transform:rotate(90deg)}.settings-btn:hover{transform:rotate(30deg)}.room-list{flex:1;overflow-y:auto}.room-list-empty{display:flex;align-items:center;justify-content:center;height:200px;color:var(--text-dim);font-family:Courier New,monospace}.room-item{display:flex;gap:.75rem;padding:.75rem 1rem;cursor:pointer;transition:var(--transition);border-bottom:1px solid rgba(27,94,32,.2);border-left:3px solid transparent}.room-item:hover{background:var(--hover);border-left-color:var(--primary-dark)}.room-item-active{background:var(--active);border-left-color:var(--primary-color);box-shadow:inset 0 0 10px #00ff411a}.room-item-active:hover{background:var(--active)}.room-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:.25rem}.room-header{display:flex;justify-content:space-between;align-items:center;gap:.5rem}.room-name-container{display:flex;align-items:center;gap:.5rem;flex:1;min-width:0}.room-name{margin:0;font-size:.95rem;font-weight:600;color:var(--text-primary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:200px;flex:1}.privacy-icon{color:var(--primary-color);flex-shrink:0}.room-item-active .room-name{color:var(--primary-color);text-shadow:0 0 3px var(--neon-glow)}.room-time{font-size:.7rem;color:var(--text-dim);flex-shrink:0;font-family:Courier New,monospace}.room-footer{display:flex;justify-content:space-between;align-items:center;gap:.5rem}.room-last-message{margin:0;font-size:.875rem;color:#666;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;max-width:220px}.room-unread-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;background:#2481cc;color:#fff;font-size:.75rem;font-weight:600;border-radius:10px;flex-shrink:0}.room-list::-webkit-scrollbar{width:6px}.room-list::-webkit-scrollbar-track{background:transparent}.room-list::-webkit-scrollbar-thumb{background:#0000001a;border-radius:3px}.room-list::-webkit-scrollbar-thumb:hover{background:#0003}@media(max-width:768px){.room-sidebar{width:100%}}.online-users{background:#0f1419;border-left:1px solid #1a1f26;height:100%;display:flex;flex-direction:column;overflow:hidden}.online-users-header{padding:1rem;border-bottom:1px solid #1a1f26}.online-users-header h3{font-size:.875rem;font-weight:600;color:#00ff41;text-transform:uppercase;letter-spacing:.5px;margin:0}.online-users-list{flex:1;overflow-y:auto;padding:.5rem}.online-user-item{display:flex;align-items:center;gap:.75rem;padding:.5rem;border-radius:6px;cursor:pointer;transition:background-color .2s}.online-user-item:hover{background:#00ff410d}.online-user-name{font-size:.875rem;color:#e0e0e0;font-family:Courier New,monospace}.online-users-empty{padding:2rem 1rem;text-align:center}.online-users-empty p{color:#666;font-size:.875rem;font-style:italic}.online-users-collapsed{padding:.5rem}.online-count{display:flex;align-items:center;gap:.5rem;padding:.5rem;background:#00ff411a;border-radius:6px;color:#00ff41;font-size:.875rem;font-weight:600}.online-users-list::-webkit-scrollbar{width:6px}.online-users-list::-webkit-scrollbar-track{background:transparent}.online-users-list::-webkit-scrollbar-thumb{background:#1a1f26;border-radius:3px}.online-users-list::-webkit-scrollbar-thumb:hover{background:#2a2f36}@media(max-width:768px){.online-users{display:none}}.modal-overlay{position:fixed;inset:0;background:#000c;display:flex;align-items:center;justify-content:center;z-index:10000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:fadeIn .2s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.create-room-modal{background:var(--surface);border-radius:12px;width:90%;max-width:500px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 0 30px #00ff414d,0 0 0 1px #00ff4133;animation:slideUp .3s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.modal-header{padding:1.5rem;border-bottom:1px solid var(--border-bright);display:flex;justify-content:space-between;align-items:center;background:var(--background)}.modal-header h2{margin:0;font-size:1.5rem;color:var(--primary-color);font-family:Courier New,monospace;text-shadow:var(--glow)}.modal-close{background:none;border:none;font-size:2rem;color:var(--text-dim);cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:all .2s}.modal-close:hover{background:#ff00001a;color:#f44}.modal-body{padding:1.5rem;overflow-y:auto;flex:1}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:600;color:var(--text-primary);font-size:.9rem}.form-group textarea{width:100%;padding:.75rem;border:1px solid var(--border);border-radius:6px;background:var(--background);color:var(--text-primary);font-family:inherit;font-size:.9rem;resize:vertical;transition:all .2s}.form-group textarea:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #00ff411a}.privacy-options{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}.privacy-option{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:1rem;border:2px solid var(--border);border-radius:8px;background:var(--background);color:var(--text-primary);cursor:pointer;transition:all .2s;text-align:center}.privacy-option:hover{border-color:var(--primary-dark);background:var(--hover)}.privacy-option.active{border-color:var(--primary-color);background:#00ff411a;box-shadow:0 0 10px #00ff4133}.privacy-option svg{color:var(--primary-color)}.privacy-option span{font-weight:600;font-size:.9rem}.privacy-option small{font-size:.75rem;color:var(--text-dim)}.checkbox-label{display:flex;align-items:center;gap:.75rem;cursor:pointer;padding:.75rem;border-radius:6px;transition:background .2s}.checkbox-label:hover{background:var(--hover)}.checkbox-label input[type=checkbox]{width:18px;height:18px;cursor:pointer}.checkbox-label svg{color:var(--primary-color)}.checkbox-label span{font-weight:500}.help-text{display:block;margin-top:.5rem;margin-left:2.5rem;font-size:.8rem;color:var(--text-dim)}.error-message{padding:.75rem;background:#ff44441a;border:1px solid #ff4444;border-radius:6px;color:#f66;margin-bottom:1rem;font-size:.9rem}.modal-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem;padding-top:1rem;border-top:1px solid var(--border)}@media(max-width:768px){.create-room-modal{width:95%;max-height:95vh}.privacy-options{grid-template-columns:1fr}.modal-actions{flex-direction:column-reverse}.modal-actions button{width:100%}}.status-selector{position:relative}.status-selector-button{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:#00ff410d;border:1px solid rgba(0,255,65,.2);border-radius:20px;color:var(--text-primary);cursor:pointer;transition:all .2s;font-size:.875rem;font-family:Courier New,monospace}.status-selector-button:hover{background:#00ff411a;border-color:var(--primary-color)}.status-indicator{flex-shrink:0;filter:drop-shadow(0 0 4px currentColor)}.status-label{font-weight:600}.status-chevron{transition:transform .2s}.status-chevron.open{transform:rotate(180deg)}.status-dropdown{position:absolute;top:calc(100% + .5rem);right:0;background:var(--surface);border:1px solid var(--border-bright);border-radius:8px;box-shadow:0 8px 24px #0006,0 0 0 1px #00ff4133;padding:.5rem;min-width:150px;z-index:1000;animation:fadeSlideDown .2s ease-out}@keyframes fadeSlideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.status-option{display:flex;align-items:center;gap:.75rem;width:100%;padding:.75rem;background:none;border:none;border-radius:6px;color:var(--text-primary);cursor:pointer;transition:all .2s;font-family:Courier New,monospace;font-size:.875rem}.status-option:hover{background:#00ff411a}.status-option.active{background:#00ff4126}.status-option-label{flex:1;text-align:left;font-weight:500}.status-check{color:var(--primary-color);font-weight:700}.settings-modal{background:var(--surface);border-radius:12px;width:90%;max-width:700px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 0 30px #00ff414d,0 0 0 1px #00ff4133;animation:slideUp .3s ease-out}.settings-modal .modal-header h2{display:flex;align-items:center;gap:.75rem}.settings-content{display:flex;flex:1;overflow:hidden}.settings-tabs{width:200px;background:var(--background);border-right:1px solid var(--border);padding:1rem 0;overflow-y:auto}.settings-tab{display:flex;align-items:center;gap:.75rem;width:100%;padding:.75rem 1.5rem;background:none;border:none;border-left:3px solid transparent;color:var(--text-dim);cursor:pointer;transition:all .2s;font-size:.9rem;text-align:left}.settings-tab:hover{background:var(--hover);color:var(--text-primary)}.settings-tab.active{background:#00ff411a;border-left-color:var(--primary-color);color:var(--primary-color)}.settings-body{flex:1;padding:2rem;overflow-y:auto}.settings-section h3{margin:0 0 1.5rem;color:var(--primary-color);font-size:1.25rem;font-family:Courier New,monospace}.setting-item{margin-bottom:2rem}.setting-item>label{display:block;margin-bottom:.5rem;font-weight:600;color:var(--text-primary);font-size:.9rem}.setting-item input[type=text],.setting-item textarea{width:100%;padding:.75rem;border:1px solid var(--border);border-radius:6px;background:var(--background);color:var(--text-primary);font-family:inherit;font-size:.9rem;transition:all .2s}.setting-item input[type=text]:focus,.setting-item textarea:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #00ff411a}.setting-item input.disabled-input{opacity:.5;cursor:not-allowed}.setting-item small{display:block;margin-top:.5rem;color:var(--text-dim);font-size:.8rem}.setting-item textarea{resize:vertical;min-height:80px}.toggle-label{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem;background:var(--background);border-radius:8px;cursor:pointer;transition:background .2s}.toggle-label:hover{background:var(--hover)}.toggle-label>div{flex:1}.toggle-label strong{display:block;color:var(--text-primary);margin-bottom:.25rem}.toggle-label p{margin:0;color:var(--text-dim);font-size:.85rem}.toggle-label>div:first-child{display:flex;align-items:center;gap:.75rem}.toggle-switch{position:relative;display:inline-block;width:48px;height:24px;flex-shrink:0}.toggle-switch input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;cursor:pointer;inset:0;background-color:#444;transition:.3s;border-radius:24px}.toggle-slider:before{position:absolute;content:"";height:18px;width:18px;left:3px;bottom:3px;background-color:#fff;transition:.3s;border-radius:50%}.toggle-switch input:checked+.toggle-slider{background-color:var(--primary-color);box-shadow:0 0 10px #00ff4180}.toggle-switch input:checked+.toggle-slider:before{transform:translate(24px)}.toggle-switch input:disabled+.toggle-slider{opacity:.5;cursor:not-allowed}.settings-footer{display:flex;gap:1rem;justify-content:flex-end;padding:1.5rem;border-top:1px solid var(--border)}@media(max-width:768px){.settings-modal{width:100%;max-width:none;height:100vh;max-height:none;border-radius:0}.settings-content{flex-direction:column}.settings-tabs{width:100%;display:flex;border-right:none;border-bottom:1px solid var(--border);padding:0;overflow-x:auto}.settings-tab{flex:1;min-width:120px;justify-content:center;border-left:none;border-bottom:3px solid transparent}.settings-tab.active{border-left:none;border-bottom-color:var(--primary-color)}.settings-body{padding:1.5rem}.settings-footer{flex-direction:column-reverse}.settings-footer button{width:100%}}.chat-layout{display:grid;grid-template-columns:280px 1fr 250px;width:100vw;height:100vh;background:linear-gradient(135deg,var(--background) 0%,#050808 100%);overflow:hidden;position:relative}.chat-layout:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent,transparent 2px,rgba(0,255,65,.03) 2px,rgba(0,255,65,.03) 4px);pointer-events:none;opacity:.3}@media(max-width:1024px){.chat-layout{grid-template-columns:280px 1fr}}@media(max-width:768px){.chat-layout{grid-template-columns:1fr}}
