.chat-mobile-actions{display:none}.chat-quoted{margin:4px 0 7px;padding:7px 10px;border-left:3px solid #ff0093;background:#fff6fa;border-radius:8px;font-size:12px}.chat-quoted b,.chat-quoted span{display:block}.chat-quoted span{white-space:pre-wrap;max-height:62px;overflow:hidden}
@media(max-width:900px){
#content .chat-refresh.conversation-open .message-row>.chat-avatar,#content .chat-refresh.conversation-open .message-row>.chat-avatar-spacer{display:none!important}
#content .chat-refresh.conversation-open .message-row{gap:0!important;margin:0!important}
#content .chat-refresh.conversation-open .message-wrap{max-width:86%!important}
#content .chat-refresh.conversation-open .message-row.continued .message>strong{display:none!important}
#content .chat-refresh.conversation-open .messages{scrollbar-width:none;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;gap:5px!important;padding:12px!important}
#content .chat-refresh.conversation-open .messages::-webkit-scrollbar{display:none}
#content .chat-refresh.conversation-open .message{border-radius:16px!important;padding:8px 11px!important}
#content .chat-refresh.conversation-open .message>strong{font-size:12px!important;margin-bottom:3px}
#content .chat-refresh.conversation-open .message p{white-space:pre-wrap;font-size:14px!important;line-height:1.4!important}
#content .chat-refresh.conversation-open .message-meta{font-size:10px!important;line-height:1.2;gap:5px}
#content .chat-refresh.conversation-open .chat-mobile-actions{display:flex;gap:10px;align-items:center;margin:2px 5px 4px}
#content .chat-refresh.conversation-open .chat-mobile-actions button{border:0;background:transparent;color:#9c386b;font:500 11px Montserrat,sans-serif;padding:4px 2px;min-height:28px;min-width:44px}
#content .chat-refresh.conversation-open .quick-reactions{display:none!important}
#content .chat-refresh.conversation-open .chat-compose{align-items:end!important}
#content .chat-refresh.conversation-open .chat-compose textarea{grid-column:2;width:100%!important;resize:none;box-sizing:border-box;min-height:40px!important;max-height:120px;overflow-y:auto;border:1px solid #eedde1;border-radius:20px;background:#fff5f9;color:#382e34;font:400 16px/20px Montserrat,sans-serif;padding:9px 12px!important;margin:0!important;scrollbar-width:none}
#content .chat-refresh.conversation-open .chat-compose-context{grid-column:1/-1;min-width:0}
.chat-compose-context[hidden]{display:none!important}.chat-reply-draft,.chat-photo-draft{display:flex;align-items:center;gap:9px;padding:8px 10px;background:#faede8;border-left:3px solid #ff0093;border-radius:10px;margin:0 0 3px;color:#633448;font:12px Montserrat,sans-serif}.chat-reply-draft>span{flex:1;min-width:0}.chat-reply-draft b,.chat-reply-draft small{display:block}.chat-reply-draft small{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-top:3px}.chat-compose-context button{background:none;border:0;color:#ae0064;font-size:22px;padding:4px 9px}.chat-photo-draft img{width:44px;height:44px;object-fit:cover;border-radius:8px}.chat-photo-draft span{flex:1}.chat-refresh .chat-extras-menu{bottom:48px!important;max-width:calc(100vw - 35px)}
}
/* 140: actions are contextual, never extra rows in the conversation. */
@media(max-width:900px){
#content .chat-refresh.conversation-open .message-wrap{position:relative}
#content .chat-refresh.conversation-open .chat-mobile-actions{display:none!important}
#content .chat-refresh.conversation-open .chat-mobile-actions.is-open{display:flex!important;position:absolute;bottom:100%;left:0;z-index:12;margin:0 0 4px;padding:5px 8px;background:#fff;border:1px solid #efd7e3;border-radius:14px;box-shadow:0 4px 18px #592c4526;white-space:nowrap;gap:8px}
#content .chat-refresh.conversation-open .own-wrap .chat-mobile-actions.is-open{left:auto;right:0}
#content .chat-refresh.conversation-open .chat-mobile-actions button{font-size:12px;min-height:34px}
#content .chat-refresh.conversation-open .chat-compose textarea{height:40px;min-height:40px!important;max-height:120px;min-width:0!important;line-height:20px!important;border-radius:22px!important}
#content .chat-refresh.conversation-open .chat-compose{min-height:0!important;align-items:end!important}
#content .chat-refresh.conversation-open .message .chat-gif{width:min(200px,100%)!important;max-width:100%!important;margin:0 0 3px!important}
#content .chat-refresh.conversation-open .message .chat-gif img{display:block;width:100%!important;max-height:170px!important;height:auto!important;object-fit:contain!important;border-radius:10px}
#content .chat-refresh.conversation-open .reaction-summary{margin:2px 3px 0!important;gap:3px!important}
#content .chat-refresh.conversation-open .reaction-pill{box-shadow:none!important;min-height:22px!important;padding:2px 6px!important;font-size:12px!important}
#content .chat-refresh.conversation-open .message-row{margin-bottom:3px!important}
#content .chat-refresh.conversation-open .message-row.continued{margin-top:-2px!important}
}

/* 141: separate emoji and count so iOS emoji metrics cannot drop the count. */
@media(max-width:900px){
#content .chat-refresh.conversation-open .reaction-pill,.event-chat-panel .reaction-pill{display:inline-grid!important;grid-template-columns:max-content max-content!important;grid-auto-flow:column;align-items:center!important;justify-content:center!important;gap:4px!important;min-height:26px!important;line-height:1!important;white-space:nowrap!important}
#content .chat-refresh.conversation-open .reaction-pill>span.reaction-emoji,.event-chat-panel .reaction-pill>span.reaction-emoji{display:inline-flex!important;align-items:center;justify-content:center;align-self:center;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif!important;font-size:14px!important;line-height:18px!important;height:18px!important;min-height:0!important;margin:0!important;padding:0!important}
#content .chat-refresh.conversation-open .reaction-pill>span.reaction-count,.event-chat-panel .reaction-pill>span.reaction-count{display:inline-flex!important;align-items:center;align-self:center;font-family:Montserrat,sans-serif!important;font-size:11px!important;line-height:18px!important;height:18px!important;min-height:0!important;margin:0!important;padding:0!important}
}
/* 142: keep the transcript bounded so iOS scrolls messages, not a clipped page. */
@media(max-width:900px){
#content .chat-refresh.conversation-open{display:flex!important;flex-direction:column!important;min-height:0!important;overflow:hidden!important}
#content .chat-refresh.conversation-open>.chat-panel{flex:1 1 0px!important;height:0!important;min-height:0!important;max-height:100%!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
#content .chat-refresh.conversation-open #chatMessages.messages{flex:1 1 0px!important;height:0!important;min-height:0!important;max-height:none!important;overflow-x:hidden!important;overflow-y:scroll!important;touch-action:pan-y!important;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;scroll-behavior:auto!important;padding-bottom:18px!important;scroll-padding-bottom:18px!important}
#content .chat-refresh.conversation-open #chatMessages.messages>:last-child{scroll-margin-bottom:18px!important}
#content .chat-refresh.conversation-open .chat-head,#content .chat-refresh.conversation-open .chat-compose,#content .chat-refresh.conversation-open .event-notification-status{flex-shrink:0!important}
}
