/* Server header, dividers and channel looks in the channel sidebar. */
.side__head { gap: 10px; font-weight: 500; }
.side__icon {
  width: 30px; height: 30px; flex: none; border-radius: 9px; overflow: hidden; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 14px;
}
.side__icon img { width: 100%; height: 100%; object-fit: cover; }
.side__who { display: grid; min-width: 0; line-height: 1.35; }
.side__who b { font-weight: 800; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side__who small { font-size: 11.5px; color: var(--ink-4); font-weight: 400; }

.shell.is-discover { grid-template-columns: 72px 0 minmax(0, 1fr); }
.shell.is-discover .side { visibility: hidden; border: 0; }
.srv--discover { color: var(--accent); background: var(--panel-2); }
.srv--discover:hover, .srv--discover.is-on { background: var(--accent); color: #fff; }

.ch { position: relative; }
.ch.is-on::after {
  content: ""; position: absolute; inset-inline-start: -8px; top: 8px; bottom: 8px; width: 3px;
  border-radius: 0 3px 3px 0; background: var(--accent);
}
[dir="rtl"] .ch.is-on::after { border-radius: 3px 0 0 3px; }
.ch.is-hub > svg { color: var(--ok); }
.ch.is-tinted > svg, .ch.is-tinted .ch__emoji { color: var(--tint); }
.ch.is-name-tinted > span { color: var(--tint); }
.ch__emoji { font-style: normal; width: 18px; text-align: center; font-size: 15px; line-height: 1; }
.ch__region { font-size: 10px; letter-spacing: .04em; color: var(--ink-4); text-transform: uppercase; }
.ch__badge {
  font-size: 10px; font-weight: 700; padding: 0 6px; border-radius: 5px; line-height: 1.7;
  color: var(--badge, var(--accent)); background: color-mix(in srgb, var(--badge, var(--accent)) 16%, transparent);
}

.cat span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat[style] { color: var(--tint); }
.cat[style]:hover { color: color-mix(in srgb, var(--tint) 75%, var(--ink)); }
.cat__dot { width: 6px; height: 6px; border-radius: 2px; background: var(--tint); flex: none; }
.cat__emoji { font-style: normal; font-size: 12px; }

.dv {
  --tint: var(--ink-4); --tint2: var(--tint);
  display: flex; align-items: center; gap: 8px; padding: 9px 6px 7px; color: var(--tint);
  font-size: 11.5px; user-select: none; cursor: default;
}
.dv__label { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 80%; }
.dv__line { flex: 1; min-width: 12px; height: 1px; background: var(--tint); opacity: .7; }
.dv--line-fade .dv__line:first-child { background: linear-gradient(to left, var(--tint), transparent); }
.dv--line-fade .dv__line:last-child { background: linear-gradient(to right, var(--tint2), transparent); }
[dir="ltr"] .dv--line-fade .dv__line:first-child { background: linear-gradient(to right, transparent, var(--tint)); }
[dir="ltr"] .dv--line-fade .dv__line:last-child { background: linear-gradient(to left, transparent, var(--tint2)); }
.dv--start.dv--line-fade .dv__line:last-child { background: linear-gradient(to left, var(--tint), transparent); }
.dv--line-thick .dv__line { height: 3px; border-radius: 2px; }
.dv--line-dashed .dv__line { height: 0; background: none; border-top: 1px dashed var(--tint); }
.dv--line-dotted .dv__line { height: 0; background: none; border-top: 2px dotted var(--tint); }
.dv--line-double .dv__line { height: 4px; background: none; border-block: 1px solid var(--tint); }
.dv__gem { width: 6px; height: 6px; flex: none; transform: rotate(45deg); background: var(--tint); }
.dv__tick { width: 3px; height: 12px; flex: none; border-radius: 2px; background: var(--tint); }
.dv__emoji { font-style: normal; font-size: 14px; }
.dv--pill .dv__label {
  padding: 1px 12px; border-radius: 999px; color: var(--tint);
  background: color-mix(in srgb, var(--tint) 16%, transparent); border: 1px solid color-mix(in srgb, var(--tint) 35%, transparent);
}
.dv--glow .dv__label { text-shadow: 0 0 10px color-mix(in srgb, var(--tint) 70%, transparent); }
.dv--gradient .dv__label { background: linear-gradient(90deg, var(--tint), var(--tint2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dv--banner { margin: 4px 0; padding: 6px 10px; border-radius: 8px; background: color-mix(in srgb, var(--tint) 16%, transparent); }
.dv--spacer { height: 14px; padding: 0; }
.case-upper .dv__label, .cat.case-upper span { text-transform: uppercase; }
.case-lower .dv__label, .cat.case-lower span { text-transform: lowercase; }
.case-title .dv__label, .cat.case-title span { text-transform: capitalize; }
.case-spaced .dv__label, .cat.case-spaced span { text-transform: uppercase; letter-spacing: .3em; }
