*{box-sizing:border-box}html,body{color:#eaf0f8;background:#101827;min-height:100%;margin:0;font-family:Arial,Helvetica,sans-serif}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}.center{place-items:center;min-height:100dvh;padding:24px;display:grid}.joinCard{background:#1c2939;border:1px solid #354357;border-radius:24px;width:min(440px,100%);padding:36px 30px;box-shadow:0 18px 70px #0004}.joinIcon{background:#2f7e72;border-radius:20px;place-items:center;width:64px;height:64px;display:grid}.joinCard h1{margin:20px 0 8px;font-size:28px}.joinCard p{color:#b7c6d4;line-height:1.5}.joinForm{gap:18px;margin-top:26px;display:grid}.joinForm label{gap:7px;font-size:13px;font-weight:700;display:grid}.joinForm input{color:#fff;background:#131e2c;border:1px solid #495569;border-radius:11px;width:100%;padding:13px}.primary{color:#102027;background:#3cc9aa;border:0;border-radius:12px;padding:14px;font-weight:700}.joinCard small{text-align:center;color:#91a5b5;margin-top:20px;display:block}.chatShell{background:radial-gradient(circle at 20% 10%,#1c3648,#101827 55%);place-items:center;min-height:100dvh;padding:20px;display:grid}.chatPanel{background:#142233;border:1px solid #304056;border-radius:21px;flex-direction:column;width:min(780px,100%);height:min(850px,100dvh - 40px);display:flex;overflow:hidden;box-shadow:0 24px 90px #0005}.header{background:#1a2d3e;border-bottom:1px solid #33465a;align-items:center;gap:13px;padding:18px 22px;display:flex}.avatar{background:linear-gradient(135deg,#26bdac,#7c8bf3);border-radius:15px;place-items:center;width:44px;height:44px;font-size:22px;display:grid}.headerDetails{flex:1;gap:6px;display:grid}.headerDetails strong{font-size:16px}.status{color:#a4bacc;align-items:center;gap:6px;font-size:12px;display:flex}.dot{background:#f7b65c;border-radius:50%;width:7px;height:7px}.dot.active{background:#38d49b}.iconButton{color:#a6bccc;background:0 0;border:0;border-radius:10px;place-items:center;padding:10px;display:grid}.iconButton:hover{background:#263d51}.messageList{background-image:radial-gradient(#27394a 1px,#0000 1px);background-size:22px 22px;flex-direction:column;flex:1;gap:14px;padding:24px 18px;display:flex;overflow-y:auto}.emptyState{text-align:center;color:#a3b5c5;max-width:250px;margin:auto}.emptyState svg{color:#3ac6a6}.emptyState h2{color:#fff;font-size:20px}.emptyState p{line-height:1.5}.messageRow{display:flex}.messageRow.mine{justify-content:flex-end}.messageRow.theirs{justify-content:flex-start}.bubble{background:#263749;border-radius:16px 16px 16px 4px;max-width:min(82%,430px);padding:11px 13px;overflow:hidden}.mine .bubble{background:#155b55;border-radius:16px 16px 4px}.sender{color:#8de3d6;margin-bottom:7px;font-size:11px;font-weight:700}.messageText{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:15px;line-height:1.5}.bubble time{color:#b5c6cf;text-align:right;margin-top:7px;font-size:10px;display:block}.attachment{object-fit:contain;background:#071522;border-radius:9px;width:auto;min-width:min(210px,55vw);max-width:100%;max-height:360px;display:block}.loadingMedia{color:#adbfcf;font-size:13px}.inviteBox{text-align:center;background:#213c4b;border:1px solid #376071;border-radius:15px;width:100%;max-width:450px;margin:0 auto 10px;padding:18px}.inviteBox h3{margin:0 0 7px}.inviteBox p{color:#b6c8d5;font-size:13px}.inviteButton{color:#102325;background:#39c5a9;border:0;border-radius:10px;align-items:center;gap:8px;margin:auto;padding:11px 16px;font-weight:700;display:flex}.inviteLink{gap:8px;margin-top:14px;display:flex}.inviteLink input{color:#fff;background:#102635;border:1px solid #456374;border-radius:8px;flex:1;min-width:0;padding:10px}.inviteLink button{color:#fff;background:#315b65;border:0;border-radius:8px;padding:10px}.composer{background:#1a2d3e;align-items:center;gap:8px;padding:12px 17px 5px;display:flex}.composer>input:not([type=file]){color:#fff;background:#102233;border:1px solid #395467;border-radius:22px;outline:none;flex:1;min-width:0;padding:13px 17px}.composer>input:focus{border-color:#42c9b1}.sendButton{color:#102a2d;background:#3cc9aa;border:0;border-radius:50%;place-items:center;width:44px;height:44px;display:grid}.footnote{text-align:center;color:#819baa;background:#1a2d3e;padding:0 10px 9px;font-size:10px}.error{font-size:13px;color:#ffb8b3!important}.bottomError{background:#5f2c2c;margin:0;padding:10px 16px}.spin{animation:1s linear infinite rotate}@keyframes rotate{to{transform:rotate(360deg)}}@media (max-width:650px){.chatShell{padding:0;display:block}.chatPanel{border:0;border-radius:0;width:100%;height:100dvh}.header{padding:13px 15px}.messageList{padding:17px 12px}.bubble{max-width:85%}.composer{padding:9px 9px 4px}.footnote{padding-bottom:calc(8px + env(safe-area-inset-bottom))}}.emojiPanel{background:#17233a;border-top:1px solid #ffffff14;grid-template-columns:repeat(auto-fill,minmax(40px,1fr));gap:2px;max-height:190px;padding:8px 10px;display:grid;overflow-y:auto}.emojiPanel button{background:0 0;border:0;border-radius:8px;padding:6px 0;font-size:24px;line-height:1}.emojiPanel button:hover{background:#ffffff1f}
