#chat-space{--chat-surface:#19131f;--chat-border:#ffffff16;--chat-muted:#bdb0c7;max-width:1440px;margin-inline:auto}#chat-space>.eyebrow{letter-spacing:2px}.chat-layout{gap:0!important;border:1px solid var(--chat-border)!important;border-radius:26px!important;overflow:hidden;background:var(--chat-surface)!important;box-shadow:0 24px 80px #0003}.chat-inbox{background:#211829!important;border:0!important;border-right:1px solid var(--chat-border)!important;padding:24px!important}.chat-inbox h3{font:600 18px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;margin:0 0 20px}.chat-conversation{border:0!important;padding:0!important;min-width:0;background:linear-gradient(155deg,#1e1726,#15101c)!important}.thread-button{border:1px solid transparent!important;border-radius:16px!important;background:#ffffff04!important;padding:16px!important;margin:0 0 8px!important}.thread-button.active{border-color:#ddbc8c80!important;background:#ddbc8c12!important}.thread-button small{color:#bdafc8!important;margin-top:6px}#chat-header{padding:24px!important;border-bottom:1px solid var(--chat-border);background:#ffffff03}#chat-header h3{font:600 21px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;margin:0 0 5px}#chat-header p{font-size:12px!important;margin:0;color:var(--chat-muted)}#chat-actions{padding:8px 24px!important;border-bottom:1px solid var(--chat-border)}#chat-actions button{font-size:12px!important}#chat-messages{padding:28px!important;background:transparent!important;display:flex!important;flex-direction:column;gap:14px!important;min-height:260px;max-height:65vh;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#6d547b transparent}.chat-bubble{align-self:flex-start!important;max-width:min(78%,520px)!important;width:fit-content!important;min-width:125px;border:1px solid #ffffff13!important;background:#30243d!important;color:#f8f1fc!important;border-radius:20px 20px 20px 5px!important;padding:14px 17px!important;margin:0!important;box-shadow:0 4px 12px #0001;overflow-wrap:anywhere}.chat-bubble.mine{align-self:flex-end!important;background:linear-gradient(135deg,#edd1a6,#d9b581)!important;color:#2c1c31!important;border:0!important;border-radius:20px 20px 5px 20px!important}.chat-body{white-space:pre-wrap;font:400 16px/1.6 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important}.chat-meta{font-size:10px!important;opacity:.72;margin-top:8px!important;color:inherit!important}.bubble-actions{display:flex;gap:14px;margin-top:5px!important;flex-wrap:wrap}.bubble-actions button,.chat-bubble a{color:inherit!important}.bubble-actions button{min-height:34px!important;font-size:11px!important;opacity:.85;text-decoration:none!important;border:0!important}.bubble-actions button:hover{opacity:1;text-decoration:underline!important}.chat-quote{padding:8px 12px;border-left:3px solid currentColor;background:#0000000d;border-radius:6px;font-size:12px;margin-bottom:8px}#chat-send-form{padding:16px 24px 20px!important;border-top:1px solid var(--chat-border);background:#21182b!important;margin:0!important}#chat-send-form>label{display:none}#chat-compose{font:400 16px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;width:100%;min-height:70px!important;max-height:180px!important;resize:vertical;background:#17101f!important;color:#faf3e9!important;border:1px solid #7b638b60!important;border-radius:18px!important;padding:14px 16px!important;box-shadow:none!important}#chat-compose:focus{border-color:#ddbc8c!important;outline:0;box-shadow:0 0 0 3px #ddbc8c15!important}#chat-compose::placeholder{color:#ae9dbd!important}#chat-send-form>.chat-buttons{display:flex!important;gap:12px;align-items:center;margin-top:9px!important}#chat-send{margin-left:auto!important;padding:10px 20px!important;min-height:44px!important;font-size:13px!important;box-shadow:0 3px 14px #0002}#chat-attach,#chat-emoji{font-size:13px!important;text-decoration:none!important;padding:8px!important;border:1px solid #ffffff20!important;border-radius:12px;min-height:44px}#chat-send-form>p.note{font-size:10px!important;color:#c8b7d0;margin:12px 0 0!important;line-height:1.5}.chat-find-people{border:1px solid #ddbc8c35;background:linear-gradient(135deg,#ddbc8c0c,#8f5aab0a);border-radius:20px;padding:24px;margin-bottom:24px}.chat-find-people h3{margin-bottom:8px}.chat-settings{margin-bottom:24px}.chat-optional-code{padding:12px 0!important}.chat-optional-code summary{font-size:13px}.chat-attachment{display:grid;gap:8px;margin-top:10px;min-width:0}.chat-attachment img,.chat-attachment video{display:block;max-width:100%;max-height:360px;border-radius:12px;width:auto;object-fit:contain;background:#0002}.chat-attachment audio{width:100%;max-width:300px}.chat-attachment>a{font-size:12px;overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:3px}.chat-file-previews{display:flex;gap:10px;overflow-x:auto;max-width:100%;padding-bottom:8px}.chat-file-preview{display:grid;grid-template-columns:48px minmax(90px,1fr);align-items:center;gap:8px;background:#352641;border:1px solid #ffffff20;border-radius:12px;padding:10px;flex:0 0 220px;color:#f4eafa;font-size:11px}.chat-file-preview img{height:48px;width:48px;object-fit:cover;border-radius:8px}.chat-file-preview button{grid-column:2;background:transparent;border:0;color:#efd1a1;text-align:left;padding:5px 0;min-height:32px;cursor:pointer}.chat-file-icon{font-size:26px;text-align:center}#chat-media-status{font-size:12px;color:#ddbc8c;min-height:0;margin:4px 0}#chat-media-status:empty{display:none}#chat-reply{padding:12px 24px!important;background:#ddbc8c10}
@media(max-width:850px){.chat-layout{border-radius:20px!important}.chat-inbox{border-right:0!important;border-bottom:1px solid var(--chat-border)!important;padding:18px!important}#chat-threads{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x proximity;align-items:start;flex-wrap:wrap}.thread-button{flex:1 0 160px;min-width:0}.chat-inbox h3{margin-bottom:12px}#chat-header{padding:18px!important}#chat-actions{padding:6px 18px!important}#chat-messages{padding:20px 14px!important;gap:12px!important;max-height:none!important;overflow:visible!important}.chat-bubble{max-width:86%!important;padding:12px 15px!important}.chat-body{font-size:15px!important}#chat-send-form{padding:14px!important}#chat-send-form>.chat-buttons{gap:7px}#chat-emoji{font-size:0!important}#chat-emoji::after{content:'☺';font-size:21px}.chat-attachment video,.chat-attachment img{max-height:300px}#chat-send-form>p.note{display:none}.chat-find-people{padding:20px}.chat-find-people p{font-size:13px}.chat-layout .link{touch-action:manipulation}.chat-inbox .chat-buttons{width:100%}}
