#chat-view{position:fixed;top:calc(78px + env(safe-area-inset-top,0px));bottom:var(--bottom-bar,70px);width:100%;max-width:var(--phone-width,520px);padding:0 18px 9px;display:flex;flex-direction:column;gap:9px;background:#081b24;min-height:0;overflow:hidden}#chat-view[hidden]{display:none!important}.chat-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:3px 2px 11px;border-bottom:1px solid #adc6b51c}.chat-eyebrow{display:block;color:#7f9e9c;font-size:10px;margin-bottom:5px}.chat-heading h2{font-family:'Songti SC',serif;font-size:25px;letter-spacing:1px;font-weight:400;color:#e3d3af;margin:0}.chat-privacy{font-size:10px;color:#87a89e;background:#16342f;border:1px solid #91bd9b24;border-radius:15px;padding:7px 9px;white-space:nowrap}.chat-timeline{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:9px 1px 13px;outline-offset:-2px;overflow-anchor:none}.chat-list{display:flex;flex-direction:column;gap:17px}.chat-message{display:flex;gap:9px;align-items:flex-start;min-width:0}.chat-avatar{flex:0 0 33px;width:33px;height:33px;border-radius:50%;object-fit:cover;border:1px solid #9fb5a72e}.chat-message-content{max-width:calc(100% - 48px);min-width:0}.chat-byline{display:flex;align-items:baseline;gap:8px;margin:0 2px 5px;color:#7e9f9d}.chat-byline b{font-size:10px;font-weight:400;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-byline time{font-size:9px;white-space:nowrap;color:#567e84}.chat-bubble{color:#d8e0d4;background:#15353f;border:1px solid #a5bca914;padding:11px 13px;border-radius:3px 14px 14px 14px;font-size:14px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.chat-message.is-mine{flex-direction:row-reverse}.chat-message.is-mine .chat-byline{justify-content:flex-end}.chat-message.is-mine .chat-bubble{color:#e0e8ce;background:#29463e;border-color:#b8c69624;border-radius:14px 3px 14px 14px}.chat-empty{text-align:center;color:#7b9996;padding:70px 18px 35px}.chat-empty>span{display:block;color:#c6b489;font-size:36px;line-height:1;margin-bottom:19px}.chat-empty p{font-size:16px;color:#b9c9ba;margin-bottom:10px}.chat-empty small{font-size:11px;color:#62878b}.chat-older{display:block;margin:0 auto 20px;padding:9px 15px;min-height:38px;border:1px solid #8fac9e28;border-radius:17px;background:#102c35;color:#91b0a6;font:inherit;font-size:11px}.chat-new{align-self:center;padding:9px 14px;border:1px solid #d2b88055;border-radius:20px;background:#1c3b40;color:#dfc795;font-size:11px}.chat-composer{display:flex;gap:8px;align-items:flex-end;padding:11px 0 0;border-top:1px solid #adc6b51c;margin:0}.chat-input-label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.chat-composer textarea{flex:1;min-width:0;width:100%;height:48px;min-height:48px;max-height:120px;padding:12px 13px;border:1px solid #91b3a72b;border-radius:14px;background:#12313b;color:#e0e5d6;font:inherit;font-size:16px;line-height:1.5;resize:vertical;margin:0}.chat-composer textarea:focus{border-color:#d1b98999;outline:1px solid #d1b98933}.chat-composer textarea::placeholder{color:#6c9293}.chat-send{flex:0 0 auto;min-width:62px;min-height:48px;border:0;border-radius:14px;padding:10px 12px;background:#d5bb89;color:#183036;font:inherit;font-size:13px}.chat-send:disabled{opacity:.5;cursor:default}.chat-status{font-size:10px;color:#799b95;margin:0;line-height:1.5;min-height:0}.chat-status:empty,.chat-error:empty{display:none}.chat-error{font-size:11px;line-height:1.7;color:#deb694;margin:0 1px;max-height:3.5em;overflow:auto}.chat-unread{position:absolute;top:0;right:7px;min-width:16px;padding:1px 4px;border-radius:9px;background:#d5bb89;color:#132c33;font-family:system-ui;font-size:9px!important;line-height:14px;text-align:center}.bottom-nav [data-tab="chat"]{position:relative}.map-chat-entry .chat-unread{position:static;margin-left:auto;flex:0 0 auto;min-width:18px}.chat-unread[hidden],.chat-older[hidden],.chat-new[hidden],.chat-empty[hidden]{display:none!important}body[data-view="chat"] #quick-safe{visibility:hidden}@media(max-height:700px){#chat-view{top:calc(73px + env(safe-area-inset-top,0px));gap:7px}.chat-heading{padding-bottom:8px}.chat-heading h2{font-size:22px}.chat-timeline{padding-top:5px}.chat-composer{padding-top:8px}}
