/* Conversation styling; viewport and keyboard geometry stay in mobile-app.css. */
#ddhChatPanel{background:#101923;border:1px solid #3b4858;color:#f0f4f9;box-shadow:0 24px 80px #0009;}
#ddhChatPanel .ddh-chat-head{background:linear-gradient(115deg,#223346,#172330);border-bottom:1px solid #ffffff12;padding:14px 16px;}
#ddhChatPanel .ddh-chat-head-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#efb84818;border:1px solid #efb84840;}
#ddhChatPanel .ddh-chat-head-mark img{width:28px;height:28px;object-fit:contain;}
#ddhChatPanel .ddh-chat-title{font-size:19px;font-weight:750;letter-spacing:-.3px;color:#f7f9fc;}
#ddhChatPanel .ddh-chat-close{border:1px solid #ffffff22;border-radius:50%;background:#ffffff08;color:#e6edf5;}
#ddhChatPanel .ddh-social-mobile-tools{padding:8px 12px;gap:8px;background:#172330;border-bottom:1px solid #ffffff12;}
#ddhChatPanel .ddh-social-mobile-tool{border:1px solid #ffffff19;background:#ffffff05;border-radius:12px;color:#dce6f1;font-weight:600;font-size:13px;min-height:44px;}
#ddhChatPanel .ddh-social-mobile-tool[aria-expanded=true]{background:#f0b74320;border-color:#e9b34a80;color:#ffdb8d;}
#ddhChatPanel .ddh-chat-scope{background:#15202c;border-bottom:1px solid #ffffff12;padding:10px 12px;}
#ddhChatPanel .ddh-chat-room-trigger{background:#213043;border:1px solid #ffffff17;border-radius:12px;padding:10px 12px;}
#ddhChatPanel .ddh-chat-room-trigger-label{font-size:14px;font-weight:650;line-height:1.4;}
#ddhChatPanel .ddh-chat-room-trigger-icon{background:#efb84820;color:#ffd17b;border:0;border-radius:10px;}
#ddhChatPanel .ddh-chat-note-toggle{background:transparent;border:1px solid #ffffff21;color:#c7d3e2;border-radius:10px;font-size:12px;min-height:44px;}
#ddhChatPanel .ddh-chat-messages{background:radial-gradient(ellipse at top left,#253e5429,transparent 65%),#101923;padding:18px 14px;gap:18px;}
#ddhChatPanel .ddh-chat-message{display:flex;align-items:flex-start;width:fit-content;max-width:92%;gap:8px;align-self:flex-start;background:none;border:0;padding:0;box-shadow:none;}
#ddhChatPanel .ddh-chat-message.is-mine{align-self:flex-end;flex-direction:row-reverse;}
#ddhChatPanel .ddh-chat-message-avatar{width:32px;height:32px;flex:0 0 32px;border-radius:50%;background:#30455c;border:1px solid #ffffff21;color:#e6f0fa;font-size:13px;box-shadow:none;}
#ddhChatPanel .ddh-chat-message-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover;}
#ddhChatPanel .ddh-chat-message-content{background:#233142;border:1px solid #ffffff0c;border-radius:4px 16px 16px 16px;padding:10px 12px;min-width:0;box-shadow:0 3px 12px #0002;}
#ddhChatPanel .ddh-chat-message.is-mine .ddh-chat-message-content{background:#3d3527;border-color:#d3bc5738;border-radius:16px 4px 16px 16px;}
#ddhChatPanel .ddh-chat-message-meta{display:flex;flex-wrap:wrap;gap:6px;font-size:11px;color:#b5c4d4;margin-bottom:4px;}
#ddhChatPanel .ddh-chat-message-author{color:#f1ca80!important;font-weight:650;}
#ddhChatPanel .ddh-chat-message-body{font-size:15px;line-height:1.55;color:#f1f5fa;white-space:pre-wrap;overflow-wrap:anywhere;}
#ddhChatPanel .ddh-chat-reactions{gap:5px;margin-top:8px;}
#ddhChatPanel .ddh-reaction-btn,#ddhChatPanel .ddh-add-reaction{background:#ffffff07;border:1px solid #ffffff1c;color:#e0e9f3;border-radius:20px;}
#ddhChatPanel .ddh-reaction-btn.is-active{border-color:#e9bc64;background:#e9bc6420;}
#ddhChatPanel .ddh-chat-actions-toggle{background:transparent;border:0;color:#b9c9da;border-radius:8px;}
#ddhChatPanel .ddh-chat-form{background:#15202c;padding:12px;gap:8px;border-top:1px solid #ffffff14;}
#ddhChatPanel .ddh-chat-form textarea{background:#233142!important;color:#f5f7fb!important;border:1px solid #4a5a6d!important;border-radius:16px!important;min-height:48px;max-height:120px;padding:12px!important;resize:vertical;box-shadow:none!important;}
#ddhChatPanel .ddh-chat-form textarea::placeholder{color:#b4c2d2;opacity:1;}
#ddhChatPanel .ddh-chat-send{min-height:48px;border-radius:14px!important;padding:10px 16px;background:#f2bd52!important;color:#19212b!important;border:1px solid #ffd880!important;font-size:14px;font-weight:750;box-shadow:none;}
#ddhChatPanel .ddh-chat-empty{max-width:270px;margin:auto;text-align:center;border:1px dashed #67798e66;background:#ffffff04;border-radius:18px;padding:26px 20px;color:#bccada;font-size:14px;font-weight:500;line-height:1.65;}
#ddhChatPanel .ddh-chat-room-menu{background:#15202c;border-color:#435266;padding:10px;}
#ddhChatPanel .ddh-chat-room-option{padding:12px;margin-bottom:5px;border:1px solid transparent;border-radius:12px;min-height:58px;}
#ddhChatPanel .ddh-chat-room-option:hover{background:#213246;}
#ddhChatPanel .ddh-chat-room-option.is-active{background:#edba4c15;border:1px solid #edba4c66;}
#ddhChatPanel .ddh-chat-room-option-label{font-size:14px;font-weight:650;line-height:1.4;}
#ddhChatPanel .ddh-chat-room-option-meta{font-size:12px;line-height:1.4;color:#b6c6d7;}
#ddhChatPanel .ddh-social-sidebar{background:#172330;border-color:#ffffff12;}
#ddhChatPanel .ddh-social-friend{background:#213043;border:1px solid #ffffff12;border-radius:12px;padding:12px;}
#ddhChatPanel .ddh-social-friend:hover{background:#2a3b50;border-color:#e6b75d66;}
#ddhChatPanel .ddh-social-find{border-color:#ffffff26;border-radius:12px;}
#ddhChatPanel .ddh-chat-status{background:#15202c;color:#c8d7e5!important;}
@media(max-width:767.98px),(max-width:991.98px) and (max-height:500px){
 #ddhChatPanel .ddh-chat-message{max-width:96%;}
 #ddhChatPanel .ddh-chat-message-avatar{width:28px;height:28px;flex-basis:28px;}
 #ddhChatPanel .ddh-chat-message-meta{font-size:11px;}
 #ddhChatPanel .ddh-chat-message-content{padding:9px 11px;}
 #ddhChatPanel .ddh-chat-message-body{font-size:15px;}
}

