/* 房间交流、客服及浮层共用文字层级，避免页面旧样式与字重继承。 */
body.app-ui,body.support-desk{--talk-title:16px;--talk-text:14px;--talk-label:13px;--talk-meta:11px;--talk-input:16px}
html body.app-ui .unified-communication[open]>summary{font-family:inherit!important;font-size:var(--talk-title)!important;font-weight:600!important;line-height:24px!important;letter-spacing:0!important}html body.app-ui .unified-communication .chat-launch-close{font-size:13px!important;font-weight:500!important;line-height:20px!important}
html body.app-ui .unified-communication .communication-tabs>*{font-family:inherit!important;font-size:var(--talk-text)!important;font-weight:600!important;line-height:20px!important}
html body.app-ui.support-page .support-message p,html body.support-desk .support-message p,html body.app-ui.chat-page .chat-message .chat-message-body{font-family:inherit!important;font-size:var(--talk-text)!important;font-weight:400!important;line-height:1.65!important;letter-spacing:0!important}
html body.app-ui.support-page .support-message small,html body.support-desk .support-message small,html body.app-ui.chat-page .chat-message-meta time{font-size:var(--talk-meta)!important;font-weight:400!important;line-height:1.5!important;color:#7a899c!important}
html body.app-ui.chat-page .chat-message-meta strong{font-size:12px!important;font-weight:600!important;line-height:18px!important}html body.app-ui.chat-page .chat-level-badge,html body.app-ui.chat-page .chat-member-number{font-size:10px!important;line-height:16px!important}
html body.app-ui.support-page #support-body,html body.support-desk #desk-body,html body.app-ui.chat-page #chat-body,html body.app-ui.chat-page #chat-nickname{font-family:inherit!important;font-size:var(--talk-input)!important;font-weight:400!important;line-height:1.5!important;letter-spacing:0!important}
html body.app-ui.support-page #support-body::placeholder,html body.support-desk #desk-body::placeholder,html body.app-ui.chat-page #chat-body::placeholder,html body.app-ui.chat-page #chat-nickname::placeholder{font-size:13px!important;font-weight:400!important;color:#8a98a9!important;opacity:1}
html body.app-ui.support-page .support-send-row span,html body.support-desk .support-send-row span,html body.app-ui.chat-page #chat-status,html body.app-ui.chat-page #chat-send-hint,html body.app-ui.chat-page #chat-identity,html body.app-ui.chat-page #chat-length,html body.app-ui.chat-page #chat-connection{font-size:var(--talk-meta)!important;font-weight:400!important;line-height:1.5!important;color:#7a899c!important}
html body.app-ui.support-page .support-send-row button,html body.support-desk .support-send-row button,html body.app-ui.chat-page #chat-send,html body.app-ui.chat-page #chat-join-button{font-family:inherit!important;font-size:var(--talk-text)!important;font-weight:600!important;line-height:20px!important;letter-spacing:0!important}
html body.app-ui.support-page .support-empty,html body.app-ui.chat-page .chat-empty{font-size:13px!important;font-weight:400!important;line-height:1.6!important}
html body.app-ui.chat-page .chat-room-tab{font-size:13px!important;font-weight:500!important;line-height:20px!important}
@media(min-width:851px){body.app-ui,body.support-desk{--talk-text:15px;--talk-meta:12px}}
/* 信息结构：第一行昵称与简短身份，第二行编号、时间和操作。 */
html body.app-ui.chat-page .chat-message .chat-message-meta{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px!important;margin-bottom:6px!important}html body.app-ui.chat-page .chat-message.mine .chat-message-meta{align-items:flex-end!important}
html body.app-ui.chat-page .chat-meta-identity,html body.app-ui.chat-page .chat-meta-secondary{display:flex;align-items:center;flex-wrap:wrap;gap:5px;min-width:0;line-height:16px}
html body.app-ui.chat-page .chat-meta-identity strong{font-size:12px!important;font-weight:500!important;color:#52657b!important;line-height:18px!important}
html body.app-ui.chat-page .chat-meta-secondary .chat-member-number,html body.app-ui.chat-page .chat-meta-secondary time,html body.app-ui.chat-page .chat-meta-secondary .chat-message-actions>span{font-size:10px!important;font-weight:400!important;line-height:16px!important;color:#8a97a7!important}
html body.app-ui.chat-page .chat-meta-secondary .chat-message-actions{display:flex;gap:7px;margin:0!important}html body.app-ui.chat-page .chat-meta-secondary .chat-message-actions button{font-size:10px!important;font-weight:400!important;line-height:16px!important;min-height:16px!important;padding:0!important;color:#8a97a7!important}
html body.app-ui.chat-page .chat-meta-identity .chat-level-badge{font-size:9px!important;font-weight:500!important;line-height:15px!important;padding:0 4px!important;border:0!important;border-radius:4px!important;background:#edf3fa!important;color:#7187a0!important}
html body.app-ui.chat-page .chat-meta-identity .chat-moderator-badge{font-size:9px!important;font-weight:500!important;line-height:15px!important;padding:0 4px!important;border:0!important;background:#edf3fa!important;color:#7187a0!important}
html body.app-ui.chat-page .chat-room-tabs .chat-room-tab{font-size:12px!important;font-weight:500!important;line-height:20px!important}html body.app-ui.chat-page #chat-join-button,html body.app-ui.chat-page #chat-send,html body.app-ui.support-page .support-send-row button{font-size:13px!important;font-weight:500!important}
html body.app-ui .unified-communication .communication-tabs>*{font-size:13px!important;font-weight:500!important}html body.app-ui .unified-communication[open]>summary{font-size:15px!important;font-weight:600!important}
html body.app-ui.chat-page .chat-message{margin-bottom:16px!important}html body.app-ui.chat-page .chat-message-body{padding:9px 12px!important}
/* 房间选项是次级操作，加入是主操作；不与顶部功能切换抢层级。 */
html body.app-ui.chat-page .chat-room-picker .chat-room-tab,html body.app-ui.chat-page #chat-room-picker .chat-room-tab{height:30px!important;min-height:30px!important;padding:5px 10px!important;font-size:12px!important;line-height:18px!important;font-weight:500!important;border-radius:7px!important;box-shadow:none!important}
html body.app-ui.chat-page main#page-content form#chat-join{gap:8px!important;padding:8px 10px!important;align-items:center!important}
html body.app-ui.chat-page main#page-content form#chat-join input#chat-nickname{height:36px!important;min-height:36px!important;max-height:36px!important;font-size:16px!important;padding:7px 11px!important;border-radius:8px!important}
html body.app-ui.chat-page main#page-content form#chat-join button#chat-join-button{height:36px!important;min-height:36px!important;max-height:36px!important;padding:7px 13px!important;font-size:13px!important;line-height:20px!important;font-weight:600!important;border-radius:8px!important}
