
/* ===== Left column: names before buttons, one account-and-call block, a lighter label bar ===== */
/* Crystal's generic "last span of a row" rule made the voice-row buttons (chat, invite, settings) always visible, so they took the width and the channel
   name was cut to "Lou…". Like the other looks they now appear on hover or keyboard focus; on touch screens they stay visible as before. */
@media (hover: hover) {
  html:root.ui-lq .channel-list .channel-item > span.vc-tools:last-child:not(:first-child) { display: none; }
  html:root.ui-lq .channel-list .channel-item:hover > span.vc-tools:last-child:not(:first-child),
  html:root.ui-lq .channel-list .channel-item:focus-within > span.vc-tools:last-child:not(:first-child) { display: inline-flex; }
}
/* a voice channel's user count ('0/5') had no gap after the name in Crystal, where the name and count are flex items of the row */
html:root.ui-lq .channel-list .channel-item [data-notr] + span { margin-inline-start: 6px; }
@media (min-width: 861px) {
  /* the CHANNELS label bar only holds a label and two buttons: 32 px, not 40 */
  html:root:is(.ui-classic, .ui-lq, [data-theme="system24"]) .channels-pane > .section-header { height: 32px; min-height: 32px; padding-top: 0; padding-bottom: 0; box-sizing: border-box; }
  /* Crystal: the call card and the account bar are one block (one outline, one set of corners, a hairline between), floating 8 px inside the panel */
  html:root.ui-lq .channels-pane > :is(.game-dock, .voice-connected-dock, .user-status-bar) { margin-inline: var(--sp-2); border-radius: 0; box-shadow: inset 1px 0 0 var(--lq-edge), inset -1px 0 0 var(--lq-edge); }
  html:root.ui-lq .channels-pane > :not(.dc-first):is(.game-dock, .voice-connected-dock, .user-status-bar) { border-top: 1px solid var(--lq-line); }
  html:root.ui-lq .channels-pane > .dc-first { border-top-left-radius: var(--lq-r-card); border-top-right-radius: var(--lq-r-card); box-shadow: inset 1px 0 0 var(--lq-edge), inset -1px 0 0 var(--lq-edge), inset 0 1px 0 var(--lq-hi); }
  html:root.ui-lq .channels-pane > .user-status-bar { margin-bottom: var(--sp-2); border-bottom-left-radius: var(--lq-r-card); border-bottom-right-radius: var(--lq-r-card); box-shadow: inset 1px 0 0 var(--lq-edge), inset -1px 0 0 var(--lq-edge), inset 0 -1px 0 var(--lq-edge); }
  html:root.ui-lq .channels-pane > .user-status-bar.dc-first { box-shadow: var(--lq-rim); }
  /* System24: the call card is a full-width band over the account bar, not an inset card beside a full-width bar */
  html:root[data-theme="system24"]:not(.ui-classic):not(.ui-lq) .channels-pane > :is(.game-dock, .voice-connected-dock) { margin: 0; border: 0; border-top: 1px solid var(--border); border-radius: 0; }
}
/* in a call the account line is "In voice": on a narrow list it loses its small icon before it loses letters */
@container ubar (max-width: 300px) { .user-status-bar #current-user-role .ic { display: none; } }
