:root{color-scheme:light;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*,*:before,*:after{box-sizing:border-box}body{margin:0;background:radial-gradient(1400px 900px at 18% 0%,rgba(37,99,235,.22),transparent 62%),radial-gradient(1200px 900px at 85% 8%,rgba(16,185,129,.12),transparent 68%),radial-gradient(1200px 900px at 50% 110%,rgba(244,63,94,.07),transparent 70%),linear-gradient(180deg,rgba(255,255,255,.015),transparent 45%,rgba(0,0,0,.12)),#070b14;color:#e5e7eb;overflow-x:hidden}body:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:.06;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");background-repeat:repeat;mix-blend-mode:overlay}.container{max-width:1400px;margin:0 auto;padding:16px;display:flex;flex-direction:column;height:100vh;overflow:hidden}.card{background:#ffffff0f;border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:14px;box-shadow:0 10px 30px #00000059}.card--auth{background:#ffffff13;border:1px solid rgba(255,255,255,.14);box-shadow:0 18px 55px #0000008c;overflow:hidden}.authCard{max-width:420px;margin:10vh auto}.title{font-size:20px;font-weight:800;letter-spacing:.4px}.subtitle{font-size:12px;color:#e5e7ebad}.badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:#0000002e;color:#e5e7ebbf;font-size:12px}.row{display:flex;align-items:center}.muted{color:#e5e7ebb3}.input{width:100%;padding:10px 12px;border-radius:10px;border:1px solid rgba(255,255,255,.18);background:#0003;color:#e5e7eb;outline:none}.input::placeholder{color:#e5e7eb61}.inputWrap{position:relative;border-radius:10px;overflow:hidden}.inputIcon{position:absolute;left:10px;top:50%;transform:translateY(-50%);opacity:.75;font-size:14px}.inputWithIcon{padding-left:34px}.inputAction{position:absolute;right:8px;top:50%;transform:translateY(-50%);font-size:12px;padding:6px 8px;border-radius:8px;border:1px solid rgba(255,255,255,.16);background:#ffffff0f;color:#e5e7ebd9;cursor:pointer}.inputAction:focus,.inputAction:focus-visible{outline:none}.inputAction:hover{background:#ffffff1a}.input:focus{border-color:#2563ebcc;box-shadow:inset 0 0 0 2px #2563eb59}.btn{padding:10px 12px;border-radius:10px;border:1px solid rgba(255,255,255,.18);background:#ffffff14;color:#e5e7eb;cursor:pointer}.btn:hover:not(:disabled){background:#ffffff1f}.btn.primary{background:linear-gradient(135deg,#2563eb,#1d4ed8 60%,#1e40af);border-color:#2563eba6}.btn.primary:disabled{background:#2563eb40;border-color:#2563eb40}.unreadDot{margin-left:8px;min-width:18px;height:18px;padding:0 6px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:900;color:#fff;background:#ef4444f2;border:1px solid rgba(255,255,255,.12)}.linkBtn{background:transparent;border:none;color:#e5e7ebc7;cursor:pointer;padding:0;width:100%;text-align:center}.linkBtn:focus,.linkBtn:focus-visible{outline:none}.linkBtn strong{color:#2563ebf2;font-weight:800}.btn:disabled{opacity:.5;cursor:not-allowed}.btn:focus,.btn:focus-visible{outline:none}.layout{display:grid;grid-template-columns:280px 1fr 300px;gap:12px;flex:1;min-height:0}@media (max-width: 1100px){.layout{grid-template-columns:240px 1fr 260px}}@media (max-width: 920px){.layout{grid-template-columns:1fr}.chat{height:auto;min-height:60vh}}.list{display:grid;gap:8px;max-height:70vh;overflow:auto}.sidebar{display:grid;grid-template-rows:auto 1fr auto;height:100%;min-height:0;overflow:hidden}.sidebarTop{padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.1)}.sidebarList{max-height:none;padding:12px 0}.sidebarBottom{padding-top:12px;border-top:1px solid rgba(255,255,255,.1)}.userItem{padding:10px 12px;border-radius:10px;border:1px solid rgba(255,255,255,.12);background:#0000001f;cursor:pointer;display:grid;grid-template-columns:36px 1fr auto;gap:10px;align-items:center}.unreadBadge{min-width:20px;height:20px;padding:0 6px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:900;color:#fff;background:#ef4444f2;border:1px solid rgba(255,255,255,.12)}.userItem:hover{border-color:#ffffff38;background:#ffffff0a}.userItem.active{border-color:#2563ebe6;background:#2563eb1f}.chat{display:grid;grid-template-rows:auto 1fr auto;gap:10px;height:100%;min-height:0;overflow:hidden;position:relative}.chatHeader{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.08)}@media (min-width: 641px){.chatHeader{padding-right:260px}}.accountTopRight{position:absolute;top:10px;right:10px;display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:14px;background:#1118279e;border:1px solid rgba(255,255,255,.1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.wsStatusText{font-size:12px;line-height:1.1;margin-top:2px}.avatar--sm{width:32px;height:32px;font-size:12px}.accountName{font-weight:800;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:120px}.chatTitle{font-weight:900;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.messages{width:100%;overflow:auto;display:grid;gap:8px;padding-right:6px;padding-top:10px;padding-bottom:10px;align-content:start;grid-auto-rows:max-content;justify-items:start}.empty{height:100%;min-height:260px;display:grid;place-content:center;gap:6px;text-align:center;color:#e5e7ebd9}.emptyIcon{font-size:28px;opacity:.9}.bubble{max-width:78%;padding:10px 12px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:#0000002e;justify-self:start;width:fit-content;word-break:break-word}.bubble.me{margin-left:auto;background:#2563eb38;border-color:#2563eb59;justify-self:end;color:#bfdbfe}.bubbleSender{font-size:12px;font-weight:800;color:#e5e7ebe6;margin-bottom:4px}.bubbleMeta{margin-top:6px;font-size:12px;color:#e5e7eb99}.bubbleRetry{cursor:pointer;color:#ef4444f2;font-weight:800}.avatar{width:36px;height:36px;border-radius:999px;display:grid;place-items:center;font-weight:900;background:#ffffff14;border:1px solid rgba(255,255,255,.14)}.avatar--lg{width:42px;height:42px}.userName{font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.userSub{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chatInput{display:grid;grid-template-columns:1fr 90px;gap:10px;align-items:stretch;padding-top:10px;border-top:1px solid rgba(255,255,255,.1)}.chatTextarea{resize:none;min-height:44px;height:44px;line-height:1.35}.sendBtn{min-width:90px;height:44px;align-self:stretch}.plusBtn{width:44px;min-width:44px;height:44px;padding-left:0;padding-right:0;font-size:18px;font-weight:900;line-height:1}@media (min-width: 641px){.chatHeader{padding-right:200px}}@media (max-width: 640px){.container{padding:10px}.authCard{max-width:none;width:100%;margin:4vh auto}.title{font-size:18px}.card{padding:12px}.layout{gap:0}.sidebar{height:auto}.list{max-height:46vh}.chat{flex:1;min-height:0;height:auto;display:flex;flex-direction:column;gap:0}.chatHeader{padding:10px 12px}.mobileBackBtn{padding:8px 10px;border-radius:12px}.accountTopRight{position:static;width:fit-content;margin:10px 0 0 auto}.messages{flex:1;min-height:0;overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding-top:8px;padding-bottom:12px}.bubble{max-width:85%}.chatInput{display:flex;gap:6px;align-items:stretch;width:100%;min-width:0;padding-bottom:calc(env(safe-area-inset-bottom,0px) + 10px)}.chatTextarea{flex:1;width:auto;min-width:0;height:auto;min-height:44px}.sendBtn,.plusBtn{min-width:46px;width:46px;flex:0 0 46px;padding-left:0;padding-right:0}}.wsLogBar{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden;font-size:12px;padding:0}.wsLogBar__header{display:flex;align-items:center;justify-content:space-between;padding:10px 12px 8px;border-bottom:1px solid rgba(255,255,255,.08);background:#ffffff0a;flex-shrink:0}.wsLogBar__title{font-size:12px;font-weight:600;color:#e5e7ebb3}.wsLogBar__clear{border:1px solid rgba(255,255,255,.15);background:transparent;color:#e5e7eb80;font-size:11px;padding:2px 8px;border-radius:4px;cursor:pointer}.wsLogBar__clear:hover:not(:disabled){background:#ffffff14;color:#e5e7ebe6}.wsLogBar__clear:disabled{opacity:.3;cursor:default}.wsLogBar__list{flex:1;overflow-y:auto;padding:4px 0}.wsLogBar__empty{padding:16px 12px;color:#e5e7eb40;text-align:center;font-size:12px}.wsLogBar__item{display:flex;align-items:flex-start;gap:6px;padding:5px 10px;border-bottom:1px solid rgba(255,255,255,.04)}.wsLogBar__item:last-child{border-bottom:none}.wsLogBar__item--error{color:#fca5a5}.wsLogBar__item--warn{color:#fcd34d}.wsLogBar__item--info{color:#6ee7b7}.wsLogBar__item--send{color:#93c5fd}.wsLogBar__item--recv{color:#c4b5fd}.wsLogBar__icon{flex-shrink:0;font-style:normal;margin-top:1px}.wsLogBar__body{display:flex;flex-direction:column;gap:2px;min-width:0}.wsLogBar__text{word-break:break-all;line-height:1.4}.wsLogBar__time{opacity:.45;font-family:monospace;font-size:10px}
