body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}*{box-sizing:border-box;font-family:sans-serif;margin:0;padding:0}a{color:inherit;text-decoration:none}button{background-color:initial;border:none;border-radius:0;cursor:pointer;text-align:inherit;width:100%}.layout{background:#000;height:100%;width:100%}.styles_header__NyX8e{align-items:center;background-color:#222;color:#f5f5f5;column-gap:10px;display:flex;height:60px;justify-content:space-between;padding:20px}.styles_header__project-name__9aiwO{font-size:1.3em;font-weight:600}.styles_header__user-name__ba53Q{align-items:center;color:#f44;column-gap:8px;display:flex;font-size:1em}.styles_header__back__16xtn{display:none}.styles_header__nav__OMA9r{display:flex;gap:15px}.styles_header__nav__OMA9r a{color:#9d169d;font-weight:700}@media(hover:hover)and (pointer:fine){.styles_header__nav__OMA9r a:hover{color:#f0f}}@media(max-width:640px){.styles_header__NyX8e{grid-row-gap:8px;display:grid;grid-template-areas:"title title title" "nav nav nav";grid-template-columns:auto;height:80px;left:0;padding-block:10px;position:fixed;right:0;row-gap:8px;top:0;width:100%;z-index:99}.styles_header__project-name__9aiwO{font-size:.9em;grid-area:title;text-align:center;width:100%}.styles_header__nav__OMA9r{font-size:.9em;grid-area:nav;justify-content:center}.styles_header__NyX8e:has(.styles_header__user-name__ba53Q){align-items:center;display:grid;grid-template-areas:"title title title" "back user nav";grid-template-columns:40px 1fr auto}.styles_header__NyX8e:has(.styles_header__user-name__ba53Q) .styles_header__back__16xtn{background:#0000;border:none;color:#f0f;cursor:pointer;display:block;font-size:1.7em;grid-area:back;justify-self:start}.styles_header__NyX8e:has(.styles_header__user-name__ba53Q) .styles_header__user-name__ba53Q{display:flex;font-size:.9em;grid-area:user;justify-content:center}}.avatar{align-items:center;border-radius:100px;color:#fff;font-weight:600;justify-content:center;object-fit:cover;-webkit-user-select:none;user-select:none}.avatar,.avatar-upload{display:flex;flex-shrink:0}.avatar-upload{background:#0000;border:none;border-radius:100px;cursor:pointer;padding:0;width:auto}.avatar-upload:disabled{cursor:progress;opacity:.6}.login{justify-content:center}.login .login-form{align-items:center;display:flex;flex-direction:column;font-family:sans-serif;font-size:3em;max-width:640px;min-width:320px;row-gap:30px;width:100%}.login .login-form__wrapper{display:flex;justify-content:center;width:100%}.login .login-form__label{width:100%}.login .login-form__input{background-color:#0000;border:none;border-bottom:1px solid #f6f6f6;color:#fff;font-size:20px;padding:10px 0;text-align:center;width:100%}.login .login-form__input:focus{background-color:#0000!important;border:none;border-bottom:1px solid #90ee90;color:#90ee90;outline:none}.login .login-form__input:focus::placeholder{color:#90ee90}.login .login-form__submit{align-items:center;background:#9d169d;border:1px solid #000;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:20px;height:40px;justify-content:center;outline:none;padding:0;text-decoration:none;width:100%}@media(hover:hover)and (pointer:fine){.login .login-form__submit:hover{background:#f0f}}.login .login-form__message{align-self:flex-end;color:red;display:flex;font-size:18px;justify-content:center;min-height:18px;width:100%}.chat-page{color:#fff;column-gap:30px;display:flex;font-size:1.2em;height:calc(100vh - 120px);justify-content:space-between;max-height:100%;position:relative}@media(max-width:640px){.chat-page{height:calc(100vh - 120px);height:calc(100dvh - 120px)}}.chats-list{border-right:1px solid #f0f;min-width:330px;padding-right:15px;width:30%}.chats-list__new-chat{background:#0000;border:1px dashed #f0f;border-radius:8px;color:#fff;cursor:pointer;font-size:.9em;margin-bottom:15px;padding:8px;width:100%}@media(max-width:640px){.chats-list{border-right:none;bottom:0;max-width:100%;min-width:100%;padding-right:0;top:0}}.chat-list-item{border-radius:8px;color:#fff;column-gap:10px;cursor:pointer;display:flex;font-size:1em;padding:5px;position:relative}.chat-list-item.active{background-color:#008b8b;cursor:default;transition:all .2s ease}.chat-list-item__actions{bottom:8px;position:absolute;right:8px}.chat-list-item__menu-button{background:#0000;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:18px;line-height:1.2;padding:0 6px}.chat-list-item__menu-button:hover,.chat-list-item__menu-button[aria-expanded=true]{background-color:#fff3}.chat-list-item__menu{background-color:#fff;border-radius:8px;bottom:100%;box-shadow:0 4px 12px #00000040;margin-bottom:6px;min-width:160px;padding:4px;position:absolute;right:0;z-index:10}.chat-list-item__menu-item{background:#0000;border:none;border-radius:6px;color:#333;cursor:pointer;display:block;font-size:.9em;padding:8px 12px;text-align:left;width:100%}.chat-list-item__menu-item:hover{background-color:#eee}.chat-list-item__menu-item--danger{color:#c62828}.chat-list-item+.chat-list-item{margin-top:15px}.chat-list-item__avatar{border-radius:100px;height:50px;position:relative;width:50px}.chat-list-item__online{background-color:#4bb34b;border:1px solid #fff;border-radius:100px;bottom:0;height:10px;position:absolute;right:0;transform:translate(-15%,-50%);width:10px}.chat-list-item__name{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-list-item__text{display:flex;flex-direction:column;max-width:160px;row-gap:10px}.chat-list-item__message{color:#d3d3d3;font-size:.8em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-list-item__time{font-size:.7em}.chat-list-item__meta{align-items:flex-start;display:flex;flex-direction:column;position:absolute;right:15px;row-gap:10px;top:10px}.chat-list-item__notification{align-items:center;background-color:#666;border-radius:100px;box-sizing:border-box;color:#fff;display:flex;font-size:.7em;height:18px;justify-content:center;min-width:18px;padding:5px}@media(hover:hover)and (pointer:fine){.chat-list-item:not(.active):hover{background-color:#5f9ea0}}.new-chat{border:1px solid #f0f;border-radius:8px;display:flex;flex-direction:column;font-size:.9em;margin-bottom:15px;padding:10px;row-gap:10px}.new-chat__form{column-gap:6px;display:flex}.new-chat__search{border:none;border-radius:6px;flex:1 1;min-width:0;padding:6px 8px}.new-chat__submit{background-color:#f0f;border:none;border-radius:6px;color:#fff;cursor:pointer;padding:6px 10px;width:auto}.new-chat__login{color:#b3e0e0;font-size:.85em}.new-chat__users{display:flex;flex-direction:column;max-height:200px;overflow:auto;row-gap:6px;scrollbar-color:#f0f #0000;scrollbar-width:thin}.new-chat__user{background:#0000;border:none;border-radius:6px;color:#fff;cursor:pointer;padding:6px 8px;text-align:left}.new-chat__user:hover{background-color:#008b8b}.new-chat__empty,.new-chat__message{color:#ffb3b3}.message-box{height:calc(100vh - 80px);position:relative;width:100%}.message-box__list{background:#000;display:flex;flex-direction:column;height:calc(100% - 80px);margin-right:-20px;overflow:auto;padding-bottom:15px;padding-right:20px;scrollbar-color:#f0f #0000;scrollbar-width:thin}.message-box__input-wrapper{background:#fff;border-radius:15px;display:flex;gap:20px;height:50px;padding:10px;position:relative;width:100%}.message-box__input{background-color:#0000;border:none;color:#8b008b;font-size:20px;height:100%;padding:10px 0;width:100%}.message-box__input:focus{background-color:#0000!important;border:none;color:#8b008b;outline:none}.message-box__input:focus::placeholder{color:#8b008b}.message-box__warning{align-items:center;display:flex;height:inherit;justify-content:center}.message-box__send{color:#f0f;cursor:pointer;display:flex;width:auto}.message-box__send svg{flex-shrink:0;height:24px;width:24px}.message-box__emoji-toggle{background:none;border:none;cursor:pointer;flex:0 0 auto;font-size:22px;line-height:1;padding:0;width:auto}.message-box__emoji-panel{grid-gap:4px;background:#111;border-radius:15px;bottom:60px;display:grid;gap:4px;grid-template-columns:repeat(auto-fill,minmax(40px,1fr));left:0;max-height:160px;overflow-y:auto;padding:8px;position:absolute;right:0;z-index:2}.message-box__emoji{background:none;border:none;cursor:pointer;font-size:24px;line-height:1;padding:4px 0}@keyframes message-box-slide-in{0%{transform:translateX(100%)}to{transform:translateX(0)}}@media(max-width:640px){.message-box{background-color:#000;bottom:0;display:none;flex-direction:column;height:100%;justify-content:space-between;left:0;position:absolute;right:0;top:0;z-index:10}.message-box--open{display:flex}.message-box__list{height:auto;padding-bottom:10px;row-gap:0}}.message-item{background:#f0f;border-radius:16px;gap:5px;max-width:100%;overflow-wrap:anywhere;padding:10px;width:-webkit-fit-content;width:fit-content}.message-item+.message-item{margin-top:15px}.message-item__text{display:inline}.message-item--own{align-self:end;background:#fff;color:#f0f}.message-item__meta{display:inline-block;font-size:.7em;margin-left:5px;opacity:.8;text-align:right}.register{justify-content:center}.register .register-form{align-items:center;display:flex;flex-direction:column;font-family:sans-serif;font-size:3em;max-width:640px;min-width:320px;row-gap:30px;width:100%}.register .register-form__wrapper{display:flex;justify-content:center}.register .register-form__label{width:100%}.register .register-form__input{background-color:#0000;border:none;border-bottom:1px solid #f6f6f6;color:#fff;font-size:20px;padding:10px 0;text-align:center;width:100%}.register .register-form__input:focus{background-color:#0000!important;border:none;border-bottom:1px solid #90ee90;color:#90ee90;outline:none}.register .register-form__input:focus::placeholder{color:#90ee90}.register .register-form__submit{align-items:center;background:#9d169d;border:1px solid #000;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:20px;height:40px;justify-content:center;outline:none;padding:0;text-decoration:none;width:100%}@media(hover:hover)and (pointer:fine){.register .register-form__submit:hover{background:#f0f}}.register .register-form__message{align-self:flex-end;color:red;display:flex;font-size:18px;justify-content:center;min-height:18px;width:100%}.register .register-form__message.success{color:#adff2f}.main{height:calc(100vh - 60px);padding:20px}@media(max-width:640px){.main{height:100vh;height:100dvh;padding:100px 20px 20px}}
/*# sourceMappingURL=main.2b6a4a1c.css.map*/