/* The channel selector shares the existing compact chat composer. */
.chat-header {
  display: grid;
  gap: 4px;
  margin-bottom: 7px;
}
.chat-channels {
  display: flex;
  gap: 4px;
}
.chat-box .chat-channels button {
  flex: 1;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  border: 1px solid #bda37144;
  border-radius: 4px;
  background: #132631bb;
  color: #bccdcc;
  font-size: 11px;
  line-height: 1.2;
}
.chat-box .chat-channels button[aria-pressed="true"] {
  border-color: #d7ba78;
  background: #6d59283d;
  color: #f2dba4;
}
.chat-online,
.chat-status {
  margin: 0;
  color: #a9c0c1;
  font-size: 10px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.chat-status {
  margin-top: 6px;
}
.chat-box form > button {
  min-width: 44px;
  min-height: 44px;
}
.chat-box input {
  min-height: 44px;
}
.chat-box input:disabled,
.chat-box form > button:disabled {
  opacity: 0.55;
}
.chat-box button:focus-visible,
.chat-box input:focus-visible {
  outline: 2px solid #e8ce91;
  outline-offset: 2px;
}
.chat-lines {
  overflow-wrap: anywhere;
}
@media (max-width: 760px), (max-height: 560px) and (max-width: 1000px) {
  .chat-box .chat-header,
  .chat-box .chat-status {
    display: none;
  }
  .chat-box.compose-open .chat-header {
    display: grid;
  }
  .chat-box.compose-open .chat-status {
    display: block;
  }
  .chat-box.compose-open {
    max-height: calc(100dvh - 24px);
    overflow: auto;
  }
}
