*{padding:0;margin:0;box-sizing:border-box}body{background-color:#0e0c16;color:#ececec;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif}a{text-decoration:none;color:inherit}::-webkit-scrollbar{width:10px}::-webkit-scrollbar-track{background:#1a1724}::-webkit-scrollbar-thumb{background-color:#555;border-radius:10px;border:2px solid #1a1724}::-webkit-scrollbar-thumb:hover{background:#888}.homepage{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;position:relative;padding:20px;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none;margin-top:-60px}.home{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center}.home h1{font-size:128px;background:linear-gradient(to right,#217bfe,#e55571);background-clip:text;-webkit-background-clip:text;color:transparent}.home h2{font-weight:500}.home h3{font-weight:400;max-width:70%}.home a{padding:15px 25px;background-color:#217bfe;color:#fff;border-radius:20px;font-size:14px;margin-top:10px;text-decoration:none}.home a:hover{background-color:#fff;color:#217bfe;border:1px solid #217bfe}.chat.persistent{margin:10px 0;padding:20px;background-color:#2c2937;border-radius:10px;max-width:90vw;word-break:break-word;display:flex;align-items:center;gap:10px;text-align:left;z-index:1}.chat.persistent img{width:32px;height:32px;border-radius:50%;object-fit:cover}.chat.persistent span{overflow-wrap:anywhere}@media screen and (max-width: 1024px){.home h1{font-size:64px}.home h3{max-width:100%}.chat.persistent{display:none}}.orbital{position:absolute;bottom:0;left:0;opacity:.05;animation:100s linear infinite rotateOrbital;z-index:-1}.terms{bottom:20px;left:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;padding:30px}.terms img{width:16px;height:16px}.terms .links{display:flex;gap:10px;color:#888;font-size:10px}@keyframes rotateOrbital{0%{transform:rotate(0)}to{transform:rotate(60deg)}}.dashboardPage{height:100%;display:flex;flex-direction:column;align-items:center}.dashboardPage .texts{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;width:50%;gap:50px}.dashboardPage .texts .logo{display:flex;align-items:center;gap:20px;opacity:.2}.dashboardPage .texts .logo img{width:64px;height:64px}.dashboardPage .texts .logo h1{font-size:64px;background:linear-gradient(to right,#217bfe,#e55571);background-clip:text;-webkit-background-clip:text;color:transparent}.dashboardPage .texts .options{width:100%;display:flex;align-items:center;justify-content:space-between;gap:50px}.dashboardPage .texts .options .option{flex:1;display:flex;flex-direction:column;gap:10px;font-weight:300;font-size:14px;padding:20px;border:1px solid #555;border-radius:20px}.dashboardPage .texts .options .option img{width:40px;height:40px;object-fit:cover}.dashboardPage .formContainer{margin-top:auto;width:50%;background-color:#2c2937;border-radius:20px;display:flex}.dashboardPage .formContainer form{width:100%;height:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:10px}.dashboardPage .formContainer form input{flex:1;padding:16px;border:none;outline:none;background-color:transparent;color:#ececec;font-size:14px}.dashboardPage .formContainer form button{background-color:#605e68;border-radius:50%;border:none;cursor:pointer;padding:10px;display:flex;align-items:center;justify-content:center;margin-right:20px}.dashboardPage .formContainer form button img{width:16px;height:16px}@media (max-width: 768px){.dashboardPage{padding:16px}.dashboardPage .texts{width:100%;gap:30px}.dashboardPage .texts .logo{gap:10px;margin-top:-300px}.dashboardPage .texts .logo img{width:40px;height:40px}.dashboardPage .texts .logo h1{font-size:28px}.dashboardPage .texts .options{display:none}.dashboardPage .formContainer{position:fixed;bottom:0;left:0;transform:none;width:100%;border-radius:0;padding:8px 12px}.dashboardPage .formContainer form{flex-direction:row;align-items:center;gap:8px}.dashboardPage .formContainer form input{flex:1;width:auto;font-size:16px;padding:12px}.dashboardPage .formContainer form button{flex-shrink:0;padding:10px;width:42px;height:42px;border-radius:50%;margin-top:4px}.dashboardPage .formContainer form button img{width:20px;height:20px}}.chatPage{height:100%;display:flex;flex-direction:column;align-items:center;position:relative}.chatPage .wrapper{flex:1;overflow:auto;width:100%;display:flex;justify-content:center}.chatPage .wrapper .chat{width:50%;display:flex;flex-direction:column;gap:20px}.chatPage .wrapper .chat p,.chatPage .wrapper .chat li{margin:10px 0}.chatPage .wrapper .chat .message{padding:20px}.chatPage .wrapper .chat .message.user{background-color:#2c2937;border-radius:20px;align-self:flex-end;margin-left:auto;margin-right:8px;max-width:80%;width:fit-content;word-break:break-word}@media (max-width: 768px){.chatPage .wrapper{padding:8px}.chatPage .wrapper .chat{width:100%;padding:0 8px}.chat{padding-bottom:80px}.message{font-size:14px;line-height:1.4;padding:10px 12px;max-width:95%;word-break:break-word}.chatPage .wrapper .chat .message.user{margin-left:auto;margin-right:8px;max-width:60%;display:inline-block;word-break:break-word}img{max-width:100%;height:auto}}.endChat{padding-bottom:100px}.newForm{width:50%;position:absolute;bottom:0;background-color:#2c2937;border-radius:20px;display:flex;align-items:center;gap:20px;padding:0 20px}.newForm input{flex:1;padding:16px;border:none;outline:none;background-color:transparent;color:#ececec;font-size:14px}.newForm button,.newForm label{border-radius:50%;background-color:#605e68;border:none;padding:10px;display:flex;align-items:center;justify-content:center;cursor:pointer}.newForm button img,.newForm label img{width:16px;height:16px}.chatImage{max-width:100%;max-height:300px;border-radius:8px;object-fit:contain;margin-top:8px}.imageWrapper{display:flex;justify-content:center;margin:5px 0}@media (max-width: 768px){.newForm{flex-direction:row;align-items:center;justify-content:space-between;width:100%;position:fixed;bottom:0;left:0;border-radius:0;padding:8px 12px}.newForm input[type=text]{flex:1;width:auto;font-size:16px;padding:12px}.newForm button,.newForm label{flex-shrink:0;padding:10px;width:42px;height:42px}.newForm button img,.newForm label img{width:18px;height:18px}.message{max-width:100%;width:100%;font-size:15px;padding:14px 18px;border-radius:8px;align-self:stretch}}.rootLayout{padding:16px 64px;height:100vh;display:flex;flex-direction:column}@media (max-width: 768px){.rootLayout{padding:0}}.rootLayout header{display:flex;align-items:center;justify-content:space-between}.rootLayout header .logo{display:flex;align-items:center;font-weight:700;gap:8px}.rootLayout header .logo img{width:32px;height:32px}.rootLayout main{flex:1;overflow:hidden}@media (max-width: 768px){.rootLayout header{position:fixed;top:0;left:0;right:0;background-color:#12101b;z-index:1000;padding:6px 16px}.rootLayout header .logo{margin-left:50px}.rootLayout header .logo img{width:25px;height:25px}.rootLayout main{padding-top:60px}}.dashboardLayout{display:flex;gap:50px;height:100%;overflow:hidden;padding-top:0}.dashboardLayout .menu{flex:1;transition:transform .3s ease}.dashboardLayout .content{flex:4;background-color:#12101b;position:relative;width:100%;overflow-y:auto}@media (max-width: 768px){.dashboardLayout{gap:0}.menu{position:fixed;top:0;left:0;width:250px;height:100%;background-color:#15141a;transform:translate(-100%);z-index:1000}.menu.open{transform:translate(0)}.content{flex:1;width:100%}.hamburger{position:fixed;top:10px;left:10px;z-index:1101;background:none;border:none;color:#fff;cursor:pointer;display:block}}.chatList{display:flex;flex-direction:column;height:100%;overflow:visible}.chatList hr{border:none;height:2px;background-color:#ddd;opacity:.1;border-radius:5px;margin:20px 0}.chatList .title{font-weight:600;font-size:10px;margin-bottom:10px}.chatList .list{display:flex;flex-direction:column;overflow:visible;position:relative;scrollbar-width:none;-ms-overflow-style:none}.chatList .list::-webkit-scrollbar{display:none}.chatList .list .chatItem{display:flex;justify-content:space-between;align-items:center;padding:8px 10px;border-radius:10px;transition:background-color .2s ease;position:relative;z-index:1}.chatList .list .chatItem:hover{background-color:#2c2937}.chatList .list .chatLink{flex:1;padding:8px 0;text-decoration:none;color:inherit;display:block}.chatList .list .menuWrapper{position:relative;display:flex;align-items:center}.chatList .list .menuButton{background:none;border:none;color:#aaa;font-size:20px;cursor:pointer;padding:0 6px;opacity:0;pointer-events:none;transition:opacity .2s ease}.chatList .list .menuButton:hover{color:#fff}.chatList .list .menu{position:absolute;top:100%;right:150%;transform:translateY(-50%);background-color:#1e1c2a;border:1px solid #333;border-radius:6px;box-shadow:0 4px 12px #0006;z-index:999;padding:4px 0;min-width:100px;display:flex;flex-direction:column;align-items:flex-start;animation:slideIn .2s ease-out}.chatList .list .deleteBtn{background:none;border:none;color:#ff5c5c;padding:8px 16px;width:100%;text-align:left;font-size:14px;cursor:pointer;transition:background-color .2s ease}.chatList .list .deleteBtn:hover{background-color:#3a2c2c}.chatList .list .renameBtn{background:none;border:none;color:#ff5c5c;padding:8px 16px;width:100%;text-align:left;font-size:14px;cursor:pointer;transition:background-color .2s ease}.chatList .list .renameBtn:hover{background-color:#3a2c2c}.chatList .list .renameInput{flex:1;padding:6px 8px;border:1px solid #555;background-color:#222;color:#fff;border-radius:6px}.chatList a{background-color:inherit;color:inherit;padding:10px;border-radius:10px}.chatList a:hover{background-color:#2c2937;transition:background-color .2s ease;cursor:pointer}.chatList .upgrade{margin-top:auto;display:flex;align-items:center;gap:10px;font-size:12px}.chatList .upgrade img{width:24px;height:24px}.chatList .upgrade .texts{display:flex;flex-direction:column}.chatList .upgrade .texts span:first-child{font-weight:600}.chatList .upgrade .texts span:last-child{color:#888}.chatList .closeButton{position:absolute;top:10px;right:10px;background:none;border:none;color:#fff;font-size:24px;cursor:pointer;display:none}@media (max-width: 768px){.chatList .closeButton{display:block}}@keyframes slideIn{0%{opacity:0;transform:translate(10px,-50%)}to{opacity:1;transform:translateY(-50%)}}.chatItem.active{background-color:#3a374a}.chatItem:hover .menuButton{opacity:1;pointer-events:auto}.signInPage,.signUpPage{height:100%;display:flex;align-items:center;justify-content:center}
