/* TBG: default UI text selection disabled; explicit readable/editable exceptions. */
html, body, body *:not(input):not(textarea):not([contenteditable]):not([contenteditable] *) {
  -webkit-user-select: none;
  user-select: none;
}
/* Every text input, including admin rich text editors. */
input, textarea, [contenteditable], [contenteditable] *, [role="textbox"], [role="textbox"] * {
  -webkit-user-select: text !important;
  user-select: text !important;
}
/* All notice rows and full article contents in the announcements overlay. */
#tbgNoticePanel .nb-row, #tbgNoticePanel .nb-row *,
#tbgNoticePanel .nb-content, #tbgNoticePanel .nb-content *,
#tbgNoticePanel .nb-meta, #tbgNoticePanel .nb-meta * {
  -webkit-user-select: text !important;
  user-select: text !important;
}
/* Chat message history in Daifugo and UNO; inputs are already covered above. */
#tbgDaifugou .tbg-chat-messages, #tbgDaifugou .tbg-chat-messages *,
#tbgUnoScreen .uno-chat-messages, #tbgUnoScreen .uno-chat-messages *,
#tbgUnoScreen .tbg-chat-messages, #tbgUnoScreen .tbg-chat-messages *,
.uno-chat-messages, .uno-chat-messages *,
.tbg-chat-messages, .tbg-chat-messages * {
  -webkit-user-select: text !important;
  user-select: text !important;
}
