.actions button{display:grid;place-items:center;color:#eee;border:0;width:42px;height:42px}.actions button:hover{background:#292929}
.message-receipt{display:inline-block;margin-left:6px;letter-spacing:-3px;padding-right:3px;font-size:12px;line-height:1;color:inherit}
.profile-dialog:has(.polished-profile){width:min(400px,calc(100vw - 32px));padding:24px;border-radius:20px;box-shadow:0 24px 80px #0008}
.polished-profile label{font-size:13px;margin:16px 0 0}.polished-profile input{margin-top:7px;min-height:46px;border-radius:12px;font-size:15px}
.profile-avatar-row{display:flex;gap:16px;align-items:center;margin-top:10px}.profile-avatar-row #avatarPreview{flex:none;width:76px;height:76px;border-radius:50%;object-fit:cover}.profile-avatar-actions{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.polished-profile button{min-height:42px;font:500 14px Arial,sans-serif;border-radius:12px;padding:10px 16px;transition:background .16s,transform .16s}.polished-profile button:active{transform:scale(.97)}
.polished-profile .choose-avatar{background:#303030;color:#fff}.polished-profile #removeAvatar{background:transparent;color:#aaa;padding:4px 0;min-height:28px}
.polished-profile .profile-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.polished-profile #closeProfile{background:#2b2b2b;color:#eee}.polished-profile .profile-actions button[type=submit]{background:#eee;color:#111}
.polished-profile #logout,.polished-profile .profile-button{width:100%;text-align:left;background:transparent;border-radius:0;color:#aaa;padding:16px 0;margin:0;border-top:1px solid #303030}.polished-profile #logout{margin-top:22px}.polished-profile #profileError:empty{display:none}
@media(max-width:700px){#app>.chat{display:block;visibility:visible;pointer-events:none;transform:translate3d(100%,0,0);transition:transform .32s cubic-bezier(.22,1,.36,1);z-index:3;background:#151515}#app>.chat.open{pointer-events:auto;transform:translate3d(0,0,0)}#app>aside,#app.chat-open>aside{display:flex;visibility:visible;transition:transform .32s cubic-bezier(.22,1,.36,1);transform:translate3d(0,0,0)}#app.chat-open>aside{transform:translate3d(-18%,0,0);pointer-events:none}.profile-dialog:has(.polished-profile){padding:20px;max-height:calc(100dvh - 32px)}}
@media(prefers-reduced-motion:reduce){#app>.chat,#app>aside{transition:none}}
