body{background-image:url('assets/bliss.jpg');background-color:#477bc5;background-size:cover;background-position:center center}
.password-field{position:relative}.password-field input{height:35px;padding-right:51px!important}.password-toggle{position:absolute;right:4px;top:4px;bottom:4px;border:1px solid #d0bddf;border-radius:3px;background:linear-gradient(#fff,#e8dcef);color:#67358b;font-size:11px;padding:0 9px}.request-heading{padding:12px 9px 7px;font-weight:bold;color:#79529a;font-size:11px;background:#f7f1fb;border-top:1px solid #e6dbee}.request-row{display:flex;gap:7px;align-items:center;padding:9px 8px;border-bottom:1px solid #eee7f3;background:#fffcf5}.request-row .avatar{width:30px;height:34px;font-size:24px}.request-copy{flex:1;min-width:0}.request-copy strong{display:block;font-size:11px;overflow-wrap:anywhere}.request-status{display:block;font-size:10px;color:#9b782d;margin-top:5px;line-height:1.5}.request-actions{display:flex;flex-direction:column;gap:4px;flex-shrink:0}.request-actions button{font-size:9px;border:1px solid #d0bfdc;border-radius:3px;padding:4px 6px;background:#f5eff8;color:#80688e}.request-actions .request-accept{background:linear-gradient(#faf6ff,#ddc5ee);color:#602488;border-color:#ad85c5;font-weight:bold}.request-actions button:disabled{opacity:.5;cursor:wait}
.auth-desktop{display:flex;justify-content:center;padding:0 15px 75px;min-height:calc(100vh - 73px);align-items:center}.auth-page .login-window{display:block!important;width:330px;margin:0 0 20px}.auth-page .login-content{min-height:0;padding:23px 34px 26px}.auth-page .hero-logo{margin-top:0}.auth-page .welcome{margin-bottom:22px}.auth-page .menubar{gap:22px;padding-left:12px}.auth-page .menubar a{color:inherit;text-decoration:none}.auth-page .login-note{margin-top:20px;margin-bottom:0}.auth-page .login-button{margin:23px 0 20px}.auth-page .text-link{text-decoration:none;text-align:center;font-size:12px}.auth-page .start-button{display:flex;align-items:center;text-decoration:none}.auth-page .task-buttons button:first-child{display:block;max-width:180px;flex:1}#auth-form>label:not(.check){display:block;font-size:14px;margin:12px 0 6px}#auth-form>input{height:35px}#auth-error{font-size:11px;line-height:1.7;color:#a0273a;background:#fff0ef;border:1px solid #e3b6bf;border-radius:3px;padding:8px}.password-hint{font-size:10px;color:#8c769d}.classic-button:disabled{opacity:.6;cursor:wait}
.messenger-page .desktop{display:flex;justify-content:center;align-items:flex-start;gap:24px;max-width:1190px;margin:20px auto 0;padding:0 24px}.messenger-page .contacts-window{width:330px;flex:0 0 330px;margin-top:0}.messenger-page .chat-window{width:690px;min-width:0;flex:1;margin-top:25px}.messenger-page .contact-list{height:380px}.messenger-page .messages{height:350px}.messenger-page .profile-info>span{cursor:pointer;line-height:1.6}.messenger-page .connection-label{color:#72945c}.messenger-page .desktop-header{height:73px}.logout-button{color:#652c8f!important}.messenger-page .desktop-header>button{margin-left:0}.messenger-page .desktop-header>button:first-of-type{margin-left:auto}.empty-state{line-height:1.9;padding:27px 12px}.empty-state strong{display:block;color:#67378b;font-size:14px;margin-bottom:8px}.unread-count{color:white;background:#9763b7;border-radius:10px;padding:2px 6px;font-size:9px;min-width:18px;text-align:center}.friend{position:relative}.message{grid-template-columns:110px minmax(0,1fr) 44px}.message.image-message .attachment-preview{max-width:220px;max-height:180px;cursor:pointer}.attachment-link{display:block;font-size:12px;overflow-wrap:anywhere}.messages .load-older{display:block;margin:0 auto 17px;color:#78509a;background:#f5edf9;border:1px solid #dbcbe7;padding:5px 12px;border-radius:3px;font-size:10px}.chat-empty{display:grid;place-content:center;text-align:center;height:100%;line-height:1.8;color:#a18aaa}.chat-empty span{font-size:40px}.chat-empty p{font-size:12px}.connection-error{color:#a83d3d!important}.contact-bottom{padding:9px 7px}.dialog-body input{margin-bottom:5px}.dialog-body .error-message{font-size:11px;color:#ac3549;margin:6px 0}.taskbar .task-buttons [hidden]{display:none}.messenger-page .window.maximized{position:fixed;inset:20px 30px 55px;margin:0;width:auto;flex:none;z-index:30}.messenger-page .chat-window.maximized .messages{flex:1;height:auto}.messenger-page .contacts-window.maximized .contact-list{flex:1;height:auto}.messenger-page .window.maximized{display:flex;flex-direction:column}.dialog-body .classic-button:disabled{cursor:wait}.auth-page .window-footer{padding-bottom:6px}.conversation-status .status-dot{width:10px;height:10px}.avatar{cursor:default}.auth-page .desktop-header>span:nth-child(2){max-width:none}
@media(min-width:1450px){.messenger-page .desktop{margin-top:35px}.messenger-page .messages{height:400px}.messenger-page .contact-list{height:430px}}
@media(max-width:900px){.messenger-page .desktop{padding:0 14px;gap:14px}.messenger-page .contacts-window{width:280px;flex-basis:280px}.messenger-page .chat-toolbar{gap:6px}.messenger-page .chat-toolbar button{font-size:9px}.messenger-page .message{grid-template-columns:90px minmax(0,1fr) 37px;font-size:12px}.messenger-page .message-author{font-size:10px}.messenger-page .compose-tools{gap:7px}}
@media(max-width:720px){.messenger-page .profile-info>span{position:static;margin-top:2px;max-width:100%;font-size:9px}}
@media(max-width:720px){.auth-page .login-window{width:320px}.auth-desktop{min-height:calc(100dvh - 62px);padding-bottom:47px}.auth-page .login-content{padding:18px 32px 23px}.auth-page .hero-logo{height:110px}.auth-page .hero-logo>span{height:100px;line-height:100px;font-size:85px}.auth-page .welcome{margin-top:8px;margin-bottom:15px}.auth-page .login-note{margin-top:17px}.auth-page .desktop-header>span:nth-child(2){max-width:190px}.messenger-page .desktop{display:flex;flex-direction:column;align-items:center;max-width:550px;padding:0 10px;margin-top:0;gap:14px}.messenger-page .contacts-window{width:100%;max-width:360px;flex:auto}.messenger-page .contact-list{height:330px}.messenger-page .chat-window{margin:0;width:100%;flex:auto}.messenger-page .desktop.chat-open .contacts-window{display:none}.messenger-page .desktop.chat-open .chat-window{display:block}.messenger-page .messages{height:calc(100dvh - 400px);min-height:200px}.messenger-page .desktop-header{height:62px}.messenger-page .desktop-header>span:nth-child(2){display:none}.messenger-page .contact-bottom{padding:9px}.messenger-page .profile-info>span{max-width:145px}.messenger-page .task-buttons button:first-child{max-width:none;flex:1}.messenger-page .task-buttons button{font-size:10px}.messenger-page .window.maximized{inset:8px 8px 45px;width:auto;max-width:none}.messenger-page .desktop-header>button{font-size:10px;padding:7px}.messenger-page .desktop-caption{margin-top:25px}.messenger-page .chat-toolbar .toolbar-spacer{display:none}.messenger-page .chat-toolbar{justify-content:space-between}.messenger-page .chat-toolbar button:nth-last-child(2){margin-left:0}}
