/* Separate text channels, opt-in voice threads, and simplified audio settings. */
#text-channels{flex:none;max-height:35vh;display:flex;flex-direction:column;min-height:0;
  padding-bottom:13px;margin-bottom:13px;border-bottom:1px solid var(--border,#3b4c59)}
.channel-section-header{display:flex;align-items:center;justify-content:space-between;gap:4px;
  padding:0 2px;margin-bottom:6px}
.channel-section-header h3,main aside>h3{margin:0 0 8px;font-size:13px;
  color:#d9c8a7;font-weight:650}
.channel-add{width:28px;height:28px;min-width:28px;padding:0;border-radius:7px;
  border:1px solid #b4a28155;background:#1b2c38;color:#dac9a8;font-size:19px}
#text-channel-list{overflow-y:auto;display:flex;flex-direction:column;gap:3px;min-height:0}
.text-channel{width:100%;min-width:0;text-align:left;background:none;border:1px solid transparent;
  padding:9px 10px;color:#a3b6c2;font-size:12px;border-radius:7px;white-space:nowrap;
  overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.text-channel:hover{background:#243642;color:#e3ebe7}
.text-channel.selected{background:#2f414a;color:#f2e1c3;border-color:#d4b58940}
.channel-thread-header{display:flex;align-items:center;gap:12px;margin:0 0 12px;
  padding:12px 4px;border-bottom:1px solid #8ca2ad38;color:#e8d7b8}
.channel-thread-header strong{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.channel-thread-header>span{font-size:22px;color:#bca075}
#voice-chat-view{display:flex;min-height:0;flex:1;flex-direction:column;overflow:hidden}
#voice-chat-view[hidden],#text-chat-view[hidden],#voice-room-text-menu[hidden],
#ptt-key-settings[hidden],#ptt[hidden]{display:none!important}
#voice-channel-log{display:flex;flex:1;min-height:0;flex-direction:column;gap:8px;
  overflow:auto;padding:12px;border-radius:9px;background:#0e1b24}
#voice-channel-log .line{padding:8px 4px;border-bottom:1px solid #8ca2ad20;
  color:#e0e9e8;font-size:13px;overflow-wrap:anywhere}
.voice-thread-heading{justify-content:space-between;flex-wrap:wrap}
.return-to-text{background:#23343d;color:#d8ceb9;border:1px solid #ad997363;
  border-radius:8px;padding:7px 9px;font-size:11px;cursor:pointer}
#voice-room-text-menu{position:fixed;z-index:10020;min-width:180px;
  padding:6px;border:1px solid #c6ac7b66;border-radius:9px;background:#1a2833;
  box-shadow:0 16px 36px #0009}
#voice-room-text-menu button{display:block;width:100%;text-align:left;
  padding:10px 12px;border:0;background:transparent;color:#e7dbc5;
  cursor:pointer;border-radius:6px;font-size:12px}
#voice-room-text-menu button:hover{background:#314450}
#ptt-key-settings{display:grid;gap:9px;margin:12px 0 0;padding:12px 0;
  border-bottom:1px solid #c3ad8550}
#ptt-key-settings h3{margin:0;font-size:12px;color:#e1d1b7}
#ptt-key-settings button{width:max-content}
#ptt-key-settings p{margin:0;font-size:12px}
.screen-quality-label{display:flex;flex-direction:column;gap:6px;flex:1 1 100%;
  font-size:11px;color:#c7d7d7}
.screen-quality-label select{width:100%;min-height:34px;padding:7px;border-radius:7px;
  border:1px solid #9cb5b355;background:#20313a;color:#f2e5cc;font-size:12px}
@media(max-width:760px){
  #text-channels{max-height:31vh}
  .text-channel{font-size:11px;padding:8px 6px}
  .channel-section-header h3{font-size:12px}
  .channel-thread-header strong{font-size:13px}
}
