/* =====================================================================
   Sala de Comunicação · cópia do Discord
   Tema "Escuro" (Discord atual) é o padrão; body.dc-ash = tema "Cinza" (clássico).
   ===================================================================== */
:root {
  --dc-font: "gg sans", "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --dc-mono: "gg mono", Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", Monaco, "Courier New", monospace;

  --dc-title: #121214;
  --dc-rail: #121214;
  --dc-side: #121214;
  --dc-chat: #1a1a1e;
  --dc-right: #121214;
  --dc-card: #1e1e22;
  --dc-embed: #1e1e22;
  --dc-input: #222327;
  --dc-input-border: #2e2e34;
  --dc-search: #1a1a1e;
  --dc-float: #242429;
  --dc-float-border: #333339;
  --dc-pop: #1e1e22;
  --dc-pop-card: #26262b;
  --dc-border: #29292e;
  --dc-border-soft: rgba(255,255,255,.05);
  --dc-hover: rgba(151,151,159,.08);
  --dc-selected: rgba(151,151,159,.16);
  --dc-msg-hover: rgba(0,0,0,.14);
  --dc-btn2: rgba(151,151,159,.12);
  --dc-btn2-hover: rgba(151,151,159,.2);
  --dc-menu-hover: rgba(151,151,159,.12);
  --dc-menu-hover-fg: #f2f3f5;
  --dc-rail-btn: #1e1e22;

  --dc-text: #dbdee1;
  --dc-strong: #f2f3f5;
  --dc-muted: #949ba4;
  --dc-ch: #949ba4;
  --dc-faint: #6d6f78;
  --dc-placeholder: #6d6f78;
  --dc-blurple: #5865f2;
  --dc-blurple-hover: #4752c4;
  --dc-green: #23a55a;
  --dc-green-btn: #248046;
  --dc-red: #f23f43;
  --dc-red-btn: #da373c;
  --dc-yellow: #f0b232;
  --dc-link: #00a8fc;
  --dc-quote: #4e5058;
}
body.dc-ash {
  --dc-title: #1e1f22;
  --dc-rail: #1e1f22;
  --dc-side: #2b2d31;
  --dc-chat: #313338;
  --dc-right: #2b2d31;
  --dc-card: #232428;
  --dc-embed: #2b2d31;
  --dc-input: #383a40;
  --dc-input-border: transparent;
  --dc-search: #1e1f22;
  --dc-float: #111214;
  --dc-float-border: #1e1f22;
  --dc-pop: #232428;
  --dc-pop-card: #111214;
  --dc-border: #1f2023;
  --dc-border-soft: rgba(255,255,255,.04);
  --dc-hover: rgba(78,80,88,.3);
  --dc-selected: rgba(78,80,88,.6);
  --dc-msg-hover: #2e3035;
  --dc-btn2: #4e5058;
  --dc-btn2-hover: #6d6f78;
  --dc-menu-hover: #4752c4;
  --dc-menu-hover-fg: #fff;
  --dc-rail-btn: #313338;
  --dc-ch: #80848e;
}

/* ---------- janela ---------- */
.dc-root { position: fixed; inset: 0; z-index: 45; display: grid; place-items: center; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .18s; }
.dc-root.in { opacity: 1; }
.dc-window {
  width: min(1440px, 92vw); height: min(900px, 90vh); min-width: 940px; min-height: 560px;
  display: flex; flex-direction: column; overflow: hidden; border-radius: 8px;
  background: var(--dc-title); color: var(--dc-text); font-family: var(--dc-font); font-size: 16px; line-height: 1.375;
  box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 24px 70px rgba(0,0,0,.6);
  transform: scale(.985); transition: transform .18s cubic-bezier(.2,.8,.2,1);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.dc-root.in .dc-window { transform: none; }
.dc-root.max .dc-window { width: 100vw; height: 100vh; border-radius: 0; min-width: 0; min-height: 0; }
.dc-window button { font-family: var(--dc-font); }
.dc-window *, .dc-pop * { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.14) transparent; }
.dc-window ::-webkit-scrollbar, .dc-pop ::-webkit-scrollbar { width: 8px; height: 8px; }
.dc-window ::-webkit-scrollbar-thumb, .dc-pop ::-webkit-scrollbar-thumb { background: rgba(255,255,255,.14); border-radius: 4px; border: 2px solid transparent; background-clip: padding-box; }
.dc-window ::-webkit-scrollbar-track { background: transparent; }
.dc-msgs::-webkit-scrollbar { width: 16px; }
.dc-msgs::-webkit-scrollbar-thumb { border: 4px solid transparent; border-radius: 8px; background-clip: padding-box; background-color: rgba(255,255,255,.12); }
.dc-msgs::-webkit-scrollbar-track { background: rgba(0,0,0,.12); border: 4px solid transparent; border-radius: 8px; background-clip: padding-box; }

.dc-titlebar { height: 32px; flex: none; display: flex; align-items: center; background: var(--dc-title); user-select: none; }
.dc-tb-title { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding-left: 138px; font: 600 14px var(--dc-font); color: var(--dc-strong); }
.dc-tb-logo { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; font: 800 8.5px/1 Consolas, monospace; letter-spacing: -.04em; color: #1a1030; background: linear-gradient(135deg, #ffd166, #ff6fae 60%, #8c7bff); }
.dc-wctl { display: flex; }
.dc-wctl button { width: 46px; height: 32px; color: var(--dc-muted); border-radius: 0; }
.dc-wctl button:hover { background: rgba(255,255,255,.08); color: var(--dc-strong); }
.dc-wctl button.close:hover { background: #da373c; color: #fff; }
.dc-wctl button:last-child { border-top-right-radius: 8px; }
.dc-root.max .dc-wctl button:last-child { border-top-right-radius: 0; }

.dc-app {
  flex: 1; min-height: 0; display: grid;
  grid-template-columns: 72px 240px minmax(0, 1fr) var(--dc-right-w, 240px);
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas: "rail side main right" "user user main right";
  background: var(--dc-rail);
}
.dc-app.no-right { grid-template-columns: 72px 240px minmax(0, 1fr) 0; }
.dc-app.no-right .dc-right { display: none; }
.dc-app:has(.dc-right.profile) { --dc-right-w: 340px; }
.dc-app:has(.dc-right.search) { --dc-right-w: 420px; }

.dc-i { display: inline-grid; place-items: center; flex: none; }
.dc-i svg { display: block; }

/* ---------- trilho de servidores ---------- */
.dc-rail { grid-area: rail; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 4px 0 12px; overflow-y: auto; background: var(--dc-rail); scrollbar-width: none; }
.dc-rail::-webkit-scrollbar { display: none; }
.dc-rail-item { position: relative; width: 72px; display: flex; justify-content: center; }
.dc-rail-pill { position: absolute; left: 0; top: 50%; width: 4px; height: 0; margin-top: 0; border-radius: 0 4px 4px 0; background: var(--dc-strong); transform: translateY(-50%); transition: height .15s ease-out; }
.dc-rail-item.unread .dc-rail-pill { height: 8px; }
.dc-rail-item:hover .dc-rail-pill { height: 20px; }
.dc-rail-item.on .dc-rail-pill { height: 40px; }
.dc-rail-btn { position: relative; width: 40px; height: 40px; border: 0; padding: 0; border-radius: 12px; cursor: pointer; display: grid; place-items: center; color: var(--dc-text); background: var(--dc-rail-btn); transition: background .15s, color .15s, border-radius .15s; }
.dc-rail-btn.home:hover, .dc-rail-item.on .dc-rail-btn.home { background: var(--dc-blurple); color: #fff; }
.dc-srv-ico { width: 100%; height: 100%; border-radius: inherit; display: grid; place-items: center; font: 800 14px/1 Consolas, "Cascadia Mono", monospace; letter-spacing: -.05em; color: #1a1030; background: linear-gradient(135deg, #ffd166, #ff6fae 60%, #8c7bff); }
.dc-srv-ico.sm { width: 42px; height: 42px; border-radius: 12px; font-size: 14px; }
.dc-srv-ico.xs { width: 16px; height: 16px; border-radius: 4px; font-size: 7px; flex: none; }
.dc-rail-voice { position: absolute; right: -4px; bottom: -4px; width: 20px; height: 20px; border-radius: 50%; background: var(--dc-green); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--dc-rail); }
.dc-rail-badge { position: absolute; right: 12px; bottom: -4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--dc-red); color: #fff; font: 700 12px/16px var(--dc-font); text-align: center; box-shadow: 0 0 0 4px var(--dc-rail); pointer-events: none; }
.dc-rail-sep { width: 32px; height: 2px; border-radius: 1px; background: var(--dc-border); background: rgba(151,151,159,.18); flex: none; }

/* ---------- barra lateral ---------- */
.dc-side { grid-area: side; min-height: 0; display: flex; flex-direction: column; background: var(--dc-side); border-top-left-radius: 8px; border: 1px solid var(--dc-border); border-right: 0; border-bottom: 0; }
body.dc-ash .dc-side { border: 0; }
.dc-side-head { height: 48px; flex: none; display: flex; align-items: center; gap: 4px; width: 100%; padding: 0 12px 0 16px; border: 0; border-bottom: 1px solid var(--dc-border); background: transparent; color: var(--dc-strong); cursor: pointer; text-align: left; transition: background .1s; }
body.dc-ash .dc-side-head { box-shadow: 0 1px 0 rgba(4,4,5,.2), 0 1.5px 0 rgba(6,6,7,.05), 0 2px 0 rgba(4,4,5,.05); border-bottom: 0; }
.dc-side-head:hover { background: var(--dc-hover); }
.dc-side-title { flex: 1; font: 600 16px var(--dc-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-side-head.search { cursor: default; padding: 0 10px; }
.dc-side-head.search:hover { background: transparent; }
.dc-find { width: 100%; height: 28px; border: 0; border-radius: 6px; padding: 0 8px; background: var(--dc-search); color: var(--dc-text); font: 500 13px var(--dc-font); outline: none; }
body.dc-ash .dc-find { border-radius: 4px; }
.dc-find::placeholder, .dc-search-in::placeholder { color: var(--dc-muted); }
.dc-side-scroll { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 0 8px 12px 8px; }
.dc-side-empty { padding: 16px 12px; font-size: 14px; color: var(--dc-muted); line-height: 1.4; }

.dc-cat { display: flex; align-items: center; height: 24px; margin-top: 16px; padding-right: 4px; }
.dc-cat.plain { margin-top: 18px; padding-left: 8px; }
.dc-cat-t { flex: 1; min-width: 0; display: flex; align-items: center; gap: 2px; height: 100%; padding: 0 0 0 2px; border: 0; background: transparent; cursor: pointer; color: var(--dc-muted); font: 600 12px var(--dc-font); text-transform: uppercase; letter-spacing: .02em; text-align: left; }
.dc-cat-t:hover { color: var(--dc-strong); }
.dc-cat.plain .dc-cat-t { cursor: default; padding: 0; }
.dc-cat.plain .dc-cat-t:hover { color: var(--dc-muted); }
.dc-cat-chev { display: grid; width: 12px; transition: transform .15s; }
.dc-cat.closed .dc-cat-chev { transform: rotate(-90deg); }
.dc-cat-add { width: 18px; height: 18px; border: 0; padding: 0; background: transparent; color: var(--dc-muted); cursor: pointer; display: grid; place-items: center; }
.dc-cat-add:hover { color: var(--dc-strong); }

.dc-ch { position: relative; height: 34px; margin: 2px 0 0; padding: 0 8px; border-radius: 6px; display: flex; align-items: center; gap: 6px; cursor: pointer; color: var(--dc-ch); font: 500 16px var(--dc-font); user-select: none; }
body.dc-ash .dc-ch { border-radius: 4px; margin-top: 1px; }
.dc-ch .dc-i.ch { color: var(--dc-faint); }
.dc-ch-n { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-ch:hover { background: var(--dc-hover); color: var(--dc-text); }
.dc-ch.on { background: var(--dc-selected); color: var(--dc-strong); }
.dc-ch.on .dc-i.ch { color: var(--dc-text); }
.dc-ch.unread { color: var(--dc-strong); font-weight: 600; }
.dc-ch.unread .dc-i.ch { color: var(--dc-text); }
.dc-ch-unread { display: none; position: absolute; left: -8px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 0 4px 4px 0; background: var(--dc-strong); }
.dc-ch.unread:not(.on) .dc-ch-unread { display: block; }
.dc-ch-slow { color: var(--dc-faint); display: grid; }
.dc-ch-gear { display: none; color: var(--dc-muted); }
.dc-ch-gear:hover { color: var(--dc-strong); }
.dc-ch:hover .dc-ch-gear, .dc-ch.on .dc-ch-gear { display: grid; }
.dc-ch:hover .dc-cap { display: none; }
.dc-ch.joined { color: var(--dc-text); }
.dc-ch.full { opacity: .6; }
.dc-badge { min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--dc-red); color: #fff; font: 700 12px/16px var(--dc-font); text-align: center; flex: none; }
.dc-cap { display: flex; border-radius: 4px; overflow: hidden; font: 600 11px/16px var(--dc-mono); letter-spacing: 0; flex: none; }
.dc-cap b { padding: 0 3px 0 5px; background: rgba(151,151,159,.24); color: var(--dc-strong); font-weight: 600; position: relative; }
.dc-cap i { padding: 0 5px 0 4px; background: rgba(151,151,159,.12); color: var(--dc-muted); font-style: normal; }

.dc-vmember { position: relative; height: 32px; margin: 1px 0 1px 30px; padding: 0 8px; border-radius: 6px; display: flex; align-items: center; gap: 8px; cursor: pointer; color: var(--dc-muted); font: 500 14px var(--dc-font); }
.dc-vmember:hover { background: var(--dc-hover); color: var(--dc-text); }
.dc-vmember .dc-av { width: 24px; height: 24px; border-radius: 50%; flex: none; background: var(--dc-rail-btn); outline: 2px solid transparent; outline-offset: 1px; transition: outline-color .1s; }
.dc-vmember.speaking .dc-av { outline-color: var(--dc-green); }
.dc-vname { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-vicons { display: flex; align-items: center; gap: 4px; color: var(--dc-muted); }
.dc-i.red { color: var(--dc-red); }
.dc-live { display: inline-block; padding: 0 5px; border-radius: 8px; background: var(--dc-red); color: #fff; font: 700 11px/16px var(--dc-font); letter-spacing: .01em; }

.dc-dm { position: relative; height: 42px; margin-top: 2px; padding: 0 8px; border-radius: 6px; display: flex; align-items: center; gap: 12px; cursor: pointer; color: var(--dc-ch); }
body.dc-ash .dc-dm { border-radius: 4px; }
.dc-dm:hover { background: var(--dc-hover); color: var(--dc-text); }
.dc-dm.on { background: var(--dc-selected); color: var(--dc-strong); }
.dc-dm.unread { color: var(--dc-strong); }
.dc-dm-txt { flex: 1; min-width: 0; }
.dc-dm-name { font: 500 16px/20px var(--dc-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-dm.unread .dc-dm-name { font-weight: 600; }
.dc-dm-sub { font: 500 12px/16px var(--dc-font); color: var(--dc-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- avatar + status ---------- */
.dc-avdot { position: relative; display: inline-block; flex: none; --ring: var(--dc-side); }
.dc-avdot img { width: 100%; height: 100%; border-radius: 50%; display: block; background: var(--dc-rail-btn); }
.dc-sdot { position: absolute; right: -2px; bottom: -2px; width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 3px var(--ring); background: var(--dc-faint); }
.dc-avdot.ssm .dc-sdot { width: 8px; height: 8px; right: -2px; bottom: -2px; box-shadow: 0 0 0 2.5px var(--ring); }
.dc-avdot.sxl .dc-sdot { width: 16px; height: 16px; right: 2px; bottom: 2px; box-shadow: 0 0 0 5px var(--ring); }
.dc-sdot.online { background: var(--dc-green); }
.dc-sdot.busy { background: #f0b232; }
.dc-sdot.idle { background: var(--dc-yellow); }
.dc-sdot.idle::before { content: ""; position: absolute; left: -12%; top: -12%; width: 62%; height: 62%; border-radius: 50%; background: var(--ring); }
.dc-sdot.dnd { background: var(--dc-red); }
.dc-sdot.dnd::before { content: ""; position: absolute; left: 20%; right: 20%; top: 50%; height: 24%; margin-top: -12%; border-radius: 2px; background: var(--ring); }
.dc-sdot.offline { background: #80848e; }
.dc-sdot.offline::before { content: ""; position: absolute; inset: 25%; border-radius: 50%; background: var(--ring); }
.dc-sdot-wrap { position: relative; display: inline-block; width: 10px; height: 10px; flex: none; --ring: var(--dc-pop-card); }
.dc-sdot-wrap .dc-sdot { right: 0; bottom: 0; box-shadow: none; }
.dc-ucard .dc-avdot { --ring: var(--dc-card); }
.dc-right .dc-avdot { --ring: var(--dc-right); }
.dc-head .dc-avdot { --ring: var(--dc-chat); }
.dc-pop .dc-avdot, .dc-suggest .dc-avdot { --ring: var(--dc-float); }
.dc-user .dc-avdot, .dc-right.profile .dc-prof-av .dc-avdot { --ring: var(--dc-pop); }
.dc-right.profile .dc-prof-av .dc-avdot { --ring: var(--dc-right); }
.dc-dm:hover .dc-avdot, .dc-mem:hover .dc-avdot { --ring: #1d1d21; }
body.dc-ash .dc-dm:hover .dc-avdot, body.dc-ash .dc-mem:hover .dc-avdot { --ring: #35373c; }
.dc-dm.on .dc-avdot { --ring: #26262b; }
body.dc-ash .dc-dm.on .dc-avdot { --ring: #404249; }

/* ---------- área do usuário ---------- */
.dc-userarea { grid-area: user; background: var(--dc-rail); position: relative; }
body.dc-ash .dc-userarea { background: linear-gradient(90deg, var(--dc-rail) 72px, var(--dc-side) 72px); }
.dc-ucard { margin: 0 8px 8px; border-radius: 8px; background: var(--dc-card); border: 1px solid var(--dc-border); overflow: hidden; }
body.dc-ash .dc-ucard { border-color: transparent; }
.dc-voicebar { padding: 8px 8px 8px; border-bottom: 1px solid var(--dc-border); }
.dc-vb-top { display: flex; align-items: center; gap: 2px; }
.dc-vb-info { flex: 1; min-width: 0; padding: 0 4px; cursor: pointer; }
.dc-vb-k { display: flex; align-items: center; gap: 4px; color: var(--dc-green); font: 600 14px/18px var(--dc-font); }
.dc-vb-ch { font: 500 12px/16px var(--dc-font); color: var(--dc-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-vb-info:hover .dc-vb-ch { text-decoration: underline; color: var(--dc-text); }
.dc-vb-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.dc-vb-btn { height: 32px; border: 0; border-radius: 8px; background: var(--dc-btn2); color: var(--dc-text); cursor: pointer; display: grid; place-items: center; transition: background .1s; }
body.dc-ash .dc-vb-btn { background: #2b2d31; border-radius: 4px; }
.dc-vb-btn:hover { background: var(--dc-btn2-hover); color: var(--dc-strong); }
.dc-vb-btn.on { background: var(--dc-strong); color: #111214; }
.dc-userbar { height: 56px; padding: 0 8px; display: flex; align-items: center; gap: 2px; }
.dc-ub-me { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 2px; margin-left: -2px; border-radius: 8px; cursor: pointer; }
.dc-ub-me:hover { background: var(--dc-hover); }
.dc-ub-txt { min-width: 0; line-height: 18px; }
.dc-ub-name { font: 600 14px/18px var(--dc-font); color: var(--dc-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-ub-st { font: 500 12px/14px var(--dc-font); color: var(--dc-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; height: 14px; }
.dc-ub-st .b { display: none; }
.dc-ub-me:hover .dc-ub-st .a { display: none; }
.dc-ub-me:hover .dc-ub-st .b { display: inline; }
.dc-ib { width: 32px; height: 32px; flex: none; border: 0; padding: 0; border-radius: 8px; background: transparent; color: var(--dc-muted); cursor: pointer; display: grid; place-items: center; }
body.dc-ash .dc-ib { border-radius: 4px; }
.dc-ib:hover { background: var(--dc-hover); color: var(--dc-strong); }
.dc-ib.red { color: var(--dc-red); }
.dc-ib.red:hover { background: rgba(242,63,67,.12); color: var(--dc-red); }

/* ---------- principal ---------- */
.dc-main { grid-area: main; min-width: 0; min-height: 0; display: flex; flex-direction: column; background: var(--dc-chat); position: relative; border-top: 1px solid var(--dc-border); }
body.dc-ash .dc-main { border-top: 0; }
.dc-head { height: 48px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 16px; border-bottom: 1px solid var(--dc-border); min-width: 0; }
body.dc-ash .dc-head { border-bottom: 0; box-shadow: 0 1px 0 rgba(4,4,5,.2), 0 1.5px 0 rgba(6,6,7,.05), 0 2px 0 rgba(4,4,5,.05); z-index: 2; }
.dc-head .dc-i.head { color: var(--dc-faint); }
.dc-head-av { display: grid; margin-right: 2px; }
.dc-head-name { font: 600 16px var(--dc-font); color: var(--dc-strong); white-space: nowrap; flex: none; }
.dc-head-div { width: 1px; height: 24px; margin: 0 8px; background: rgba(151,151,159,.24); flex: none; }
.dc-head-sub { flex: 1; min-width: 0; font: 500 14px var(--dc-font); color: var(--dc-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-head-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.dc-ht { position: relative; width: 32px; height: 32px; border: 0; padding: 0; background: transparent; color: var(--dc-muted); cursor: pointer; display: grid; place-items: center; }
.dc-ht:hover, .dc-ht.on { color: var(--dc-strong); }
.dc-ht-dot { position: absolute; right: 4px; bottom: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--dc-red); box-shadow: 0 0 0 2px var(--dc-chat); }
.dc-search { position: relative; display: flex; align-items: center; margin-left: 4px; }
.dc-search-in { width: 144px; height: 24px; border: 0; border-radius: 4px; padding: 0 26px 0 8px; background: var(--dc-search); color: var(--dc-text); font: 500 14px var(--dc-font); outline: none; transition: width .2s ease; }
body:not(.dc-ash) .dc-search-in { background: #121214; border: 1px solid var(--dc-border); height: 28px; border-radius: 6px; }
.dc-search-in:focus, .dc-search.on .dc-search-in { width: 240px; }
.dc-search .dc-i { position: absolute; right: 6px; color: var(--dc-muted); pointer-events: none; }

/* mensagens */
.dc-msgs { flex: 1; min-height: 0; overflow-y: scroll; overflow-x: hidden; padding: 0 0 24px; }
.dc-welcome { margin: 16px 16px 8px; padding-top: 48px; }
.dc-welcome-ico { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: #2b2b30; color: var(--dc-strong); }
body.dc-ash .dc-welcome-ico { background: #41434a; }
.dc-welcome h3 { margin: 8px 0; font: 700 32px/40px var(--dc-font); color: var(--dc-strong); }
.dc-welcome p { margin: 0; font-size: 16px; color: var(--dc-muted); }
.dc-welcome p b { color: var(--dc-text); font-weight: 600; }
.dc-welcome-av { width: 80px; height: 80px; border-radius: 50%; display: block; background: var(--dc-rail-btn); }
.dc-welcome.dm h3 { margin: 8px 0 0; font-size: 32px; }
.dc-welcome-user { font: 500 24px/30px var(--dc-font); color: var(--dc-text); margin: 0 0 20px; }
.dc-err { margin: 10px 16px; padding: 10px 12px; border-radius: 8px; background: rgba(242,63,67,.1); border: 1px solid rgba(242,63,67,.4); color: #fca5a5; font-size: 14px; }

.dc-day { position: relative; margin: 24px 16px 8px; height: 0; border-top: 1px solid rgba(151,151,159,.16); display: flex; justify-content: center; }
body.dc-ash .dc-day { border-top-color: #3f4147; }
.dc-day span { margin-top: -9px; padding: 2px 4px; background: var(--dc-chat); font: 600 12px/13px var(--dc-font); color: var(--dc-muted); }
.dc-day.new, .dc-newline { border-top-color: var(--dc-red); }
.dc-newline { position: relative; margin: 8px 16px 8px; height: 0; border-top: 1px solid var(--dc-red); }
.dc-day.new b, .dc-newline b { position: absolute; right: 0; top: -8px; height: 13px; padding: 0 4px 0 6px; border-radius: 0 8px 8px 0; background: var(--dc-red); color: #fff; font: 700 10px/13px var(--dc-font); letter-spacing: .02em; }
.dc-day.new b::before, .dc-newline b::before { content: ""; position: absolute; left: -4px; top: 0; border: 6.5px solid transparent; border-right: 4px solid var(--dc-red); border-left: 0; }

.dc-msg { position: relative; margin-top: 17px; padding: 2px 48px 2px 72px; min-height: 22px; }
.dc-msg.grouped { margin-top: 0; padding-top: 1px; padding-bottom: 1px; }
.dc-msg:hover { background: var(--dc-msg-hover); }
.dc-msg.mention { background: rgba(240,178,50,.08); box-shadow: inset 2px 0 0 var(--dc-yellow); }
.dc-msg.mention:hover { background: rgba(240,178,50,.1); }
.dc-msg.flash { animation: dcFlash 1.6s ease-out; }
@keyframes dcFlash { 0%, 40% { background: rgba(240,178,50,.18); } }
.dc-msg-av { position: absolute; left: 16px; top: 4px; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; background: var(--dc-rail-btn); }
.dc-msg-av:active { transform: translateY(1px); }
.dc-msg.has-reply .dc-msg-av { top: 26px; }
.dc-gutter { position: absolute; left: 0; top: 0; width: 56px; height: 22px; padding-top: 3px; text-align: right; }
.dc-hm { display: none; font: 500 11px/22px var(--dc-font); color: var(--dc-muted); }
.dc-msg:hover .dc-hm { display: inline; }
.dc-msg-c { min-width: 0; }
.dc-msg-h { display: flex; align-items: baseline; gap: 0; line-height: 22px; min-width: 0; }
.dc-msg-h b { font: 500 16px/22px var(--dc-font); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-msg-h b:hover { text-decoration: underline; }
.dc-msg-crown { color: var(--dc-yellow); margin-left: 4px; align-self: center; display: grid; }
.dc-ts { margin-left: 8px; font: 500 12px/22px var(--dc-font); color: var(--dc-muted); white-space: nowrap; }
.dc-body-txt { font: 400 16px/1.375 var(--dc-font); color: var(--dc-text); white-space: pre-wrap; word-wrap: break-word; overflow-wrap: anywhere; user-select: text; }
.dc-body-txt img.emoji { width: 1.375em; height: 1.375em; vertical-align: bottom; object-fit: contain; margin: 0 .05em 0 .1em; }
.dc-body-txt.jumbo img.emoji { width: 48px; height: 48px; min-height: 48px; margin: 2px .05em 0 0; }
.dc-body-txt a { color: var(--dc-link); text-decoration: none; }
.dc-body-txt a:hover { text-decoration: underline; }
.dc-body-txt strong, .dc-body-txt b { font-weight: 700; }
.dc-edited { font-size: 10px; line-height: 1; color: var(--dc-muted); user-select: none; }
.dc-mention { padding: 0 2px; border-radius: 3px; background: rgba(88,101,242,.3); color: #c9cdfb; font-weight: 500; cursor: pointer; transition: background .05s, color .05s; }
.dc-mention:hover { background: var(--dc-blurple); color: #fff; }
.dc-icode { padding: 0 .2em; margin: -.2em 0; border-radius: 4px; font: .85em/1.125rem var(--dc-mono); background: #26262b; border: 1px solid #333339; white-space: pre-wrap; }
body.dc-ash .dc-icode { background: #2b2d31; border-color: #1e1f22; }
.dc-code { display: block; max-width: 90%; margin: 6px 0 0; padding: .5em; border-radius: 4px; background: #1e1e22; border: 1px solid #2e2e34; font: 14px/1.125rem var(--dc-mono); color: var(--dc-text); white-space: pre-wrap; overflow-x: auto; }
body.dc-ash .dc-code { background: #2b2d31; border-color: #1e1f22; }
.dc-code code { font: inherit; }
.dc-quote { display: inline-block; width: 100%; box-sizing: border-box; vertical-align: top; padding: 0 8px 0 12px; border-left: 4px solid var(--dc-quote); border-radius: 4px; }

.dc-replyref { position: relative; display: flex; align-items: center; gap: 4px; height: 22px; margin-bottom: 0; font: 400 14px/18px var(--dc-font); color: var(--dc-muted); cursor: pointer; min-width: 0; }
.dc-replyref img { width: 16px; height: 16px; border-radius: 50%; flex: none; }
.dc-replyref b { font-weight: 500; opacity: .9; flex: none; }
.dc-replyref b:hover { text-decoration: underline; }
.dc-replyref > span:last-child { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-replyref:hover > span:last-child { color: var(--dc-strong); }
.dc-replyref .gone { font-style: italic; }
.dc-reply-curve { position: absolute; left: -36px; top: 10px; width: 33px; height: 12px; border-left: 2px solid #4e5058; border-top: 2px solid #4e5058; border-top-left-radius: 6px; }
.dc-reply-x { width: 16px; height: 16px; border-radius: 50%; background: #2b2b30; display: grid; place-items: center; color: var(--dc-muted); }

.dc-tools { position: absolute; right: 14px; top: -16px; z-index: 3; display: none; align-items: center; height: 34px; padding: 0 1px; border-radius: 8px; background: var(--dc-chat); box-shadow: 0 0 0 1px var(--dc-border), 0 4px 8px rgba(0,0,0,.16); }
body.dc-ash .dc-tools { background: #313338; box-shadow: 0 0 0 1px rgba(4,4,5,.15); border-radius: 4px; }
.dc-msg:hover .dc-tools { display: flex; }
.dc-tools button { width: 32px; height: 32px; border: 0; padding: 0; border-radius: 6px; background: transparent; color: var(--dc-muted); cursor: pointer; display: grid; place-items: center; }
.dc-tools button:hover { background: var(--dc-hover); color: var(--dc-strong); }
.dc-tools button img.emoji { width: 20px; height: 20px; }
.dc-tools-sep { width: 1px; height: 18px; margin: 0 3px; background: var(--dc-border); background: rgba(151,151,159,.24); }

.dc-reacts { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.dc-react { height: 26px; display: flex; align-items: center; gap: 6px; padding: 0 7px; border-radius: 8px; border: 1px solid transparent; background: #222226; cursor: pointer; transition: border-color .1s, background .1s; }
body.dc-ash .dc-react { background: #2b2d31; }
.dc-react:hover { border-color: rgba(151,151,159,.4); }
.dc-react img.emoji { width: 16px; height: 16px; }
.dc-react b { font: 600 14px var(--dc-font); color: var(--dc-muted); min-width: 9px; text-align: center; }
.dc-react.me { background: rgba(88,101,242,.15); border-color: var(--dc-blurple); }
.dc-react.me b { color: #dee0fc; }
.dc-react.add { opacity: 0; color: var(--dc-muted); padding: 0 6px; }
.dc-msg:hover .dc-react.add { opacity: 1; }
.dc-react.add:hover { color: var(--dc-strong); }

.dc-att-img { display: block; max-width: min(400px, 100%); max-height: 300px; margin-top: 8px; border-radius: 8px; cursor: pointer; object-fit: contain; background: rgba(0,0,0,.2); }
.dc-att-video { display: block; max-width: min(400px, 100%); max-height: 300px; margin-top: 8px; border-radius: 8px; background: #000; }
.dc-att-file { max-width: 432px; margin-top: 8px; padding: 16px; border-radius: 8px; background: var(--dc-embed); border: 1px solid var(--dc-border); display: flex; align-items: center; gap: 8px; }
.dc-att-file.audio { flex-direction: column; align-items: stretch; }
.dc-att-file audio { width: 100%; height: 36px; margin-top: 4px; }
.dc-file-row { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; }
.dc-file-row > div { min-width: 0; }
.dc-file-ico { color: var(--dc-muted); display: grid; flex: none; }
.dc-file-n { display: block; color: var(--dc-link); font: 400 16px/20px var(--dc-font); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-file-n:hover { text-decoration: underline; }
.dc-file-s { font: 400 12px/16px var(--dc-font); color: var(--dc-muted); }
.dc-file-dl { color: var(--dc-muted); display: grid; flex: none; }
.dc-file-dl:hover { color: var(--dc-strong); }
.dc-embed { max-width: 432px; margin-top: 8px; padding: 8px 16px 16px 12px; border-radius: 4px; border-left: 4px solid #2e2e34; background: var(--dc-embed); display: grid; gap: 8px; }
body.dc-ash .dc-embed { border-left-color: #1e1f22; }
.dc-embed.loading { display: none; }
.dc-embed-site { font: 400 12px var(--dc-font); color: var(--dc-text); }
.dc-embed-t { font: 600 16px/22px var(--dc-font); color: var(--dc-link); text-decoration: none; }
.dc-embed-t:hover { text-decoration: underline; }
.dc-embed-d { font: 400 14px/18px var(--dc-font); color: var(--dc-text); white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.dc-embed-img { max-width: 100%; max-height: 300px; border-radius: 4px; cursor: pointer; }

.dc-edit-box { margin: 4px 0 0; padding: 11px 16px; border-radius: 8px; background: var(--dc-input); border: 1px solid var(--dc-input-border); }
.dc-edit { display: block; width: 100%; border: 0; padding: 0; resize: none; background: transparent; color: var(--dc-text); font: 400 16px/1.375 var(--dc-font); outline: none; overflow: hidden; }
.dc-edit-hint { font: 400 12px var(--dc-font); color: var(--dc-text); padding: 6px 0 2px; }
.dc-edit-hint a { color: var(--dc-link); cursor: pointer; }
.dc-edit-hint a:hover { text-decoration: underline; }

/* compositor */
.dc-composer { position: relative; flex: none; padding: 0 16px; }
.dc-comp-box { border-radius: 8px; background: var(--dc-input); border: 1px solid var(--dc-input-border); overflow: hidden; }
.dc-replybar { height: 34px; display: flex; align-items: center; padding: 0 8px 0 16px; background: #1e1e22; border-bottom: 1px solid var(--dc-input-border); font: 400 14px var(--dc-font); color: var(--dc-muted); }
body.dc-ash .dc-replybar { background: #2b2d31; }
.dc-replybar > span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-replybar b { color: var(--dc-text); font-weight: 600; }
.dc-x { width: 24px; height: 24px; border: 0; padding: 0; border-radius: 50%; background: transparent; color: var(--dc-muted); cursor: pointer; display: grid; place-items: center; flex: none; }
.dc-x:hover { color: var(--dc-strong); background: var(--dc-hover); }
.dc-attbar { display: flex; gap: 24px; padding: 20px 10px 10px; overflow-x: auto; border-bottom: 1px solid var(--dc-border); }
.dc-att-chip { position: relative; width: 216px; height: 216px; flex: none; padding: 8px; border-radius: 4px; background: var(--dc-embed); display: flex; flex-direction: column; }
.dc-att-prev { flex: 1; min-height: 0; display: grid; place-items: center; border-radius: 3px; overflow: hidden; }
.dc-att-prev img, .dc-att-prev video { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 3px; }
.dc-att-fi { color: var(--dc-muted); }
.dc-att-n { margin-top: 8px; font: 400 14px var(--dc-font); color: var(--dc-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-att-del { position: absolute; top: -12px; right: -12px; width: 32px; height: 32px; border: 0; border-radius: 4px; background: var(--dc-chat); box-shadow: 0 0 0 1px var(--dc-border); color: var(--dc-red); cursor: pointer; display: grid; place-items: center; }
.dc-att-del:hover { background: var(--dc-red-btn); color: #fff; }
.dc-comp-row { display: flex; align-items: flex-start; min-height: 44px; }
.dc-comp-btn { height: 44px; flex: none; border: 0; padding: 0 16px; background: transparent; color: var(--dc-muted); cursor: pointer; display: grid; place-items: center; }
.dc-comp-btn.up { padding: 0 16px; position: sticky; top: 0; }
.dc-plus { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #b5bac1; color: var(--dc-input); transition: background .1s; }
.dc-comp-btn.up:hover .dc-plus { background: var(--dc-strong); }
.dc-comp-btn.emo { padding: 0 10px 0 6px; }
.dc-comp-btn.emo:hover { color: var(--dc-yellow); transform: scale(1.1); }
.dc-input { flex: 1; min-width: 0; max-height: 50vh; border: 0; padding: 11px 10px 11px 0; resize: none; background: transparent; color: var(--dc-text); font: 400 16px/1.375 var(--dc-font); outline: none; overflow-y: auto; }
.dc-input::placeholder { color: var(--dc-placeholder); }
.dc-comp-foot { height: 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 500 12px/24px var(--dc-font); color: var(--dc-text); }
.dc-typing { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 0; }
.dc-typing b { font-weight: 700; color: var(--dc-strong); }
.dc-dots { display: inline-flex; gap: 2px; margin: 0 6px 0 2px; }
.dc-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--dc-strong); animation: dcDot 1.2s infinite ease-in-out; opacity: .4; }
.dc-dots i:nth-child(2) { animation-delay: .15s; }
.dc-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dcDot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
.dc-slow { display: flex; align-items: center; gap: 4px; color: var(--dc-muted); white-space: nowrap; }
.dc-suggest { position: absolute; left: 16px; right: 16px; bottom: calc(100% + 4px); z-index: 5; padding: 8px 0; border-radius: 8px; background: var(--dc-float); border: 1px solid var(--dc-float-border); box-shadow: 0 8px 16px rgba(0,0,0,.24); }
.dc-suggest-k { padding: 0 16px 8px; font: 600 12px var(--dc-font); text-transform: uppercase; letter-spacing: .02em; color: var(--dc-muted); }
.dc-suggest button { width: calc(100% - 16px); height: 40px; margin: 0 8px; padding: 0 8px; display: flex; align-items: center; gap: 12px; border: 0; border-radius: 4px; background: transparent; color: var(--dc-text); cursor: pointer; text-align: left; }
.dc-suggest button.on { background: var(--dc-selected); }
.dc-suggest button b { font: 500 15px var(--dc-font); color: var(--dc-strong); }
.dc-suggest button > span:last-child { margin-left: auto; font: 500 13px var(--dc-font); color: var(--dc-muted); }
.dc-suggest .dc-i.at { width: 24px; color: var(--dc-text); }

/* ---------- coluna da direita ---------- */
.dc-right { grid-area: right; min-height: 0; overflow-y: auto; overflow-x: hidden; background: var(--dc-right); border-top: 1px solid var(--dc-border); border-left: 1px solid var(--dc-border); }
body.dc-ash .dc-right { border: 0; }
.dc-mem-scroll { padding: 0 8px 20px; }
.dc-mem-cat { padding: 24px 8px 4px; height: 44px; box-sizing: border-box; font: 600 12px/16px var(--dc-font); text-transform: uppercase; letter-spacing: .02em; color: var(--dc-muted); }
.dc-mem { height: 44px; margin: 1px 0; padding: 0 8px; border-radius: 6px; display: flex; align-items: center; gap: 12px; cursor: pointer; color: var(--dc-ch); }
body.dc-ash .dc-mem { border-radius: 4px; height: 42px; }
.dc-mem:hover { background: var(--dc-hover); }
.dc-mem.off { opacity: .3; }
.dc-mem.off:hover { opacity: 1; }
.dc-mem-txt { flex: 1; min-width: 0; }
.dc-mem-name { display: flex; align-items: center; gap: 4px; font: 500 16px/20px var(--dc-font); }
.dc-mem-name > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-crown { color: var(--dc-yellow); display: grid; flex: none; }
.dc-mem-sub { font: 500 12px/16px var(--dc-font); color: var(--dc-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.dc-right.profile { position: relative; overflow-y: auto; }
.dc-prof-banner { height: 120px; }
.dc-prof-av { position: absolute; top: 76px; left: 16px; padding: 6px; border-radius: 50%; background: var(--dc-right); display: grid; cursor: pointer; }
.dc-prof-status { display: flex; align-items: center; gap: 4px; }
.dc-prof-body { padding: 52px 16px 16px; }
.dc-prof-name { font: 700 20px/24px var(--dc-font); color: var(--dc-strong); }
.dc-prof-user { display: flex; align-items: center; gap: 8px; margin-top: 2px; font: 400 14px/18px var(--dc-font); color: var(--dc-text); }
.dc-prof-tag { padding: 0 6px; border-radius: 4px; background: rgba(240,178,50,.15); color: var(--dc-yellow); font: 600 12px/18px var(--dc-font); }
.dc-prof-status { margin-top: 12px; font: 400 14px/18px var(--dc-font); color: var(--dc-text); }
.dc-prof-card { margin-top: 16px; padding: 12px; border-radius: 8px; background: var(--dc-pop-card); }
.dc-prof-k { font: 600 12px/16px var(--dc-font); color: var(--dc-strong); margin-bottom: 6px; }
.dc-prof-v { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font: 400 14px/18px var(--dc-font); color: var(--dc-text); }
.dc-prof-v:last-child { margin-bottom: 0; }
.dc-prof-full { width: 100%; height: 36px; margin-top: 12px; border: 0; border-radius: 8px; background: var(--dc-btn2); color: var(--dc-strong); font: 500 14px var(--dc-font); cursor: pointer; }
.dc-prof-full:hover { background: var(--dc-btn2-hover); }

.dc-search-head { height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 16px; border-bottom: 1px solid var(--dc-border); font: 600 14px var(--dc-font); color: var(--dc-strong); position: sticky; top: 0; background: var(--dc-right); z-index: 1; }
.dc-search-list { padding: 8px; display: grid; gap: 8px; }
.dc-search-item { position: relative; display: flex; gap: 12px; padding: 10px 12px; border-radius: 8px; background: var(--dc-chat); border: 1px solid var(--dc-border); cursor: pointer; }
.dc-search-item:hover { border-color: rgba(151,151,159,.4); }
.dc-msg-av.sm { position: static; width: 32px; height: 32px; flex: none; }
.dc-search-item .dc-body-txt, .dc-pin .dc-body-txt { font-size: 14px; }
.dc-search-item .dc-msg-c, .dc-pin .dc-msg-c { flex: 1; min-width: 0; }

/* ---------- palco de voz ---------- */
.dc-stage { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #000; }
.dc-main:has(.dc-stage) { border-top-color: #000; }
.dc-stage-head { height: 48px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 16px; color: #fff; }
.dc-stage-head .dc-i { color: #b5bac1; }
.dc-stage-head b { font: 600 16px var(--dc-font); }
.dc-stage-head .dc-head-sub { flex: none; color: #b5bac1; }
.dc-stage-join { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #fff; text-align: center; padding: 24px; }
.dc-stage-join h3 { margin: 8px 0 0; font: 700 24px/30px var(--dc-font); }
.dc-stage-join p { margin: 0 0 16px; color: #b5bac1; font-size: 15px; }
.dc-join-avs { display: flex; }
.dc-join-avs img { width: 64px; height: 64px; border-radius: 50%; margin-left: -12px; box-shadow: 0 0 0 4px #000; background: #2b2d31; }
.dc-join-avs img:first-child { margin-left: 0; }
.dc-tiles { flex: 1; min-height: 0; container-type: size; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 8px; padding: 0 16px; }
.dc-tile { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: color-mix(in srgb, var(--c, #5865f2) 62%, #000); width: min(100%, 100cqh * 16 / 9); }
.dc-tiles.n2 .dc-tile { width: min(calc(50% - 4px), 100cqh * 16 / 9); }
.dc-tiles.n3 .dc-tile, .dc-tiles.n4 .dc-tile { width: min(calc(50% - 4px), (100cqh - 8px) / 2 * 16 / 9); }
.dc-tiles.n5 .dc-tile, .dc-tiles.n6 .dc-tile { width: min(calc(33.333% - 6px), (100cqh - 8px) / 2 * 16 / 9); }
.dc-tiles.n7 .dc-tile, .dc-tiles.n8 .dc-tile, .dc-tiles.n9 .dc-tile { width: min(calc(33.333% - 6px), (100cqh - 16px) / 3 * 16 / 9); }
.dc-tile::after { content: ""; position: absolute; inset: 0; border-radius: 8px; pointer-events: none; transition: box-shadow .1s; }
.dc-tile.speaking::after { box-shadow: inset 0 0 0 2px var(--dc-green), inset 0 0 0 3px #000; }
.dc-tile.live { background: #111214; }
.dc-tile-bg { position: absolute; inset: 0; display: grid; place-items: center; }
.dc-tile-av { width: clamp(48px, 20%, 96px); aspect-ratio: 1; border-radius: 50%; background: rgba(0,0,0,.2); }
.dc-tile-name { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); display: flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 4px; background: rgba(0,0,0,.6); color: #fff; font: 500 14px/24px var(--dc-font); white-space: nowrap; overflow: hidden; }
.dc-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.dc-tile.live .dc-video { object-fit: contain; }
.dc-video.mirror { transform: scaleX(-1); }
.dc-tile-msg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px; text-align: center; color: #fff; font-size: 15px; }
.dc-tile-msg span { color: #b5bac1; font-size: 14px; }
.dc-tile-msg .dc-tile-av { width: 72px; }
.dc-tile-stop { position: absolute; top: 8px; right: 8px; z-index: 2; height: 28px; padding: 0 12px; border: 0; border-radius: 6px; background: rgba(0,0,0,.6); color: #fff; font: 500 13px var(--dc-font); cursor: pointer; }
.dc-tile-stop:hover { background: var(--dc-red-btn); }
.dc-callbar { height: 88px; flex: none; display: flex; align-items: center; justify-content: center; gap: 16px; }
.dc-cb-group { display: flex; gap: 8px; }
.dc-cb { width: 56px; height: 48px; border: 0; padding: 0; border-radius: 12px; background: #2a2a2f; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .1s; }
.dc-cb:hover { background: #3a3a41; }
.dc-cb.on { background: #f2f3f5; color: #111214; }
.dc-cb.off { background: rgba(242,63,67,.2); color: var(--dc-red); }
.dc-cb.off:hover { background: rgba(242,63,67,.3); }
.dc-cb.hang { width: 72px; background: var(--dc-red-btn); }
.dc-cb.hang:hover { background: #a12828; }

/* ---------- botões ---------- */
.dc-btn { height: 32px; padding: 2px 16px; border: 0; border-radius: 8px; background: var(--dc-blurple); color: #fff; font: 500 14px var(--dc-font); cursor: pointer; transition: background .15s; }
body.dc-ash .dc-btn { border-radius: 4px; }
.dc-btn:hover { background: var(--dc-blurple-hover); }
.dc-btn:disabled { opacity: .5; cursor: not-allowed; }
.dc-btn.green { background: var(--dc-green-btn); }
.dc-btn.green:hover { background: #1a6334; }
.dc-btn.danger { background: var(--dc-red-btn); }
.dc-btn.danger:hover { background: #a12828; }
.dc-btn.link { background: transparent; color: var(--dc-strong); }
.dc-btn.link:hover { text-decoration: underline; background: transparent; }
.dc-btn.lg { height: 44px; min-width: 140px; font-size: 16px; }
.dc-btn.sm { height: 28px; padding: 0 12px; font-size: 13px; }

/* ---------- popovers e menus ---------- */
.dc-pop { position: fixed; z-index: 70; border-radius: 8px; background: var(--dc-float); border: 1px solid var(--dc-float-border); box-shadow: 0 8px 16px rgba(0,0,0,.24), 0 0 0 1px rgba(0,0,0,.08); color: var(--dc-text); font: 400 14px/1.3 var(--dc-font); animation: dcPop .1s ease-out; -webkit-font-smoothing: antialiased; }
@keyframes dcPop { from { opacity: 0; transform: scale(.98); } }
.dc-pop-k { padding: 8px 4px 6px; font: 600 12px var(--dc-font); text-transform: uppercase; letter-spacing: .02em; color: var(--dc-muted); }
.dc-menu { min-width: 200px; max-width: 320px; padding: 6px 8px; }
.dc-menu.srv { min-width: 222px; }
.dc-menu-it .dc-menu-l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-menu-it { width: 100%; min-height: 32px; margin: 2px 0; padding: 6px 8px; display: flex; align-items: center; gap: 8px; border: 0; border-radius: 4px; background: transparent; color: var(--dc-text); font: 500 14px/18px var(--dc-font); cursor: pointer; text-align: left; }
body.dc-ash .dc-menu-it { color: #b5bac1; }
.dc-menu-it:hover { background: var(--dc-menu-hover); color: var(--dc-menu-hover-fg); }
.dc-menu-l { flex: 1; min-width: 0; }
.dc-menu-hint { color: var(--dc-muted); font-size: 12px; }
.dc-menu-it .dc-i { color: inherit; opacity: .9; }
.dc-menu-it.danger { color: var(--dc-red); }
.dc-menu-it.danger:hover { background: var(--dc-red-btn); color: #fff; }
.dc-menu-sep { height: 1px; margin: 4px 4px; background: rgba(151,151,159,.16); }
.dc-menu-quick { display: flex; gap: 4px; padding: 2px 0; }
.dc-menu-quick button { width: 42px; height: 42px; border: 0; border-radius: 8px; background: var(--dc-btn2); cursor: pointer; display: grid; place-items: center; }
body.dc-ash .dc-menu-quick button { background: #2b2d31; }
.dc-menu-quick button:hover { background: var(--dc-btn2-hover); }
.dc-menu-quick img.emoji { width: 22px; height: 22px; }
.dc-menu-vol { padding: 6px 8px 8px; }
.dc-menu-vol-k { display: flex; justify-content: space-between; margin-bottom: 10px; font: 500 14px var(--dc-font); color: var(--dc-text); }
.dc-menu-vol-k span { color: var(--dc-muted); }
.dc-menu-vol input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 4px; margin: 0; background: linear-gradient(90deg, var(--dc-blurple) var(--p, 50%), #4e5058 var(--p, 50%)); outline: none; cursor: pointer; }
.dc-menu-vol input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 10px; height: 24px; border-radius: 3px; background: #fff; border: 1px solid #dcddde; box-shadow: 0 3px 1px 0 rgba(0,0,0,.05), 0 2px 2px 0 rgba(0,0,0,.1), 0 3px 3px 0 rgba(0,0,0,.05); }
.dc-menu-vol input[type=range]::-moz-range-thumb { width: 10px; height: 24px; border-radius: 3px; background: #fff; border: 1px solid #dcddde; }
.dc-check { width: 18px; height: 18px; flex: none; border-radius: 4px; border: 1px solid #80848e; display: grid; place-items: center; color: #fff; }
.dc-check.on { background: var(--dc-blurple); border-color: var(--dc-blurple); }
.dc-menu-it:hover .dc-check:not(.on) { border-color: currentColor; }
.dc-chk { display: flex; align-items: center; gap: 8px; font: 500 14px var(--dc-font); color: var(--dc-text); cursor: pointer; }
.dc-chk input { accent-color: var(--dc-blurple); width: 16px; height: 16px; }

.dc-emoji { width: 420px; padding: 0; overflow: hidden; }
.dc-emoji-scroll { height: 380px; overflow-y: auto; padding: 4px 8px 8px; }
.dc-emoji-grid { display: grid; grid-template-columns: repeat(9, 1fr); }
.dc-emoji-grid button { aspect-ratio: 1; border: 0; padding: 0; border-radius: 4px; background: transparent; cursor: pointer; display: grid; place-items: center; }
.dc-emoji-grid button:hover { background: var(--dc-hover); }
.dc-emoji-grid img.emoji { width: 32px; height: 32px; }

.dc-user { width: 340px; padding: 0; overflow: hidden; background: var(--dc-pop); max-height: calc(100vh - 20px); overflow-y: auto; }
.dc-user.static { position: static; animation: none; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.dc-user-head { position: relative; height: 112px; }
.dc-user-banner { height: 72px; }
.dc-user-tools { position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; }
.dc-user-tools button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .1s; }
.dc-user-tools button:hover { background: rgba(0,0,0,.7); }
.dc-user-av { position: absolute; top: 24px; left: 14px; padding: 6px; border-radius: 50%; background: var(--dc-pop); display: grid; cursor: pointer; }
.dc-user-av:hover img { filter: brightness(.9); }
.dc-user-bubble { position: absolute; left: 118px; top: 80px; max-width: 200px; display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 12px; background: var(--dc-pop-card); color: var(--dc-text); font: 400 13px/16px var(--dc-font); box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.dc-user-bubble::before { content: ""; position: absolute; left: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--dc-pop-card); }
.dc-user-bubble span { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.dc-user-bubble img.emoji { flex: none; }
.dc-user-body { padding: 8px 16px 16px; }
.dc-user-name { font: 700 20px/24px var(--dc-font); color: var(--dc-strong); word-break: break-word; }
.dc-user-handle { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 2px; font: 400 14px/18px var(--dc-font); color: var(--dc-text); }
.dc-user-handle .dot, .dc-prof-user .dot { color: var(--dc-muted); }
.dc-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.dc-badge2 { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 6px; background: var(--dc-btn2); color: var(--dc-text); font: 600 12px var(--dc-font); }
body.dc-ash .dc-badge2 { background: #2b2d31; }
.dc-badge2.gold { color: var(--dc-yellow); background: rgba(240,178,50,.12); }
.dc-badge2.title { color: #c9cdfb; background: rgba(88,101,242,.18); }
.dc-badge2.emo { padding: 0 5px; }
.dc-user-acts { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.dc-user-acts button { min-width: 0; height: 52px; border: 0; border-radius: 8px; background: var(--dc-btn2); color: var(--dc-text); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; transition: background .1s, transform .05s; }
body.dc-ash .dc-user-acts button { background: #2b2d31; }
.dc-user-acts button:hover { background: var(--dc-btn2-hover); color: var(--dc-strong); }
.dc-user-acts button:active { transform: translateY(1px); }
.dc-user-acts button.primary { background: var(--dc-blurple); color: #fff; }
.dc-user-acts button.primary:hover { background: var(--dc-blurple-hover); }
.dc-user-acts button span { display: grid; }
.dc-user-acts b { font: 500 12px var(--dc-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; padding: 0 4px; }
.dc-user-card { margin-top: 12px; padding: 12px; border-radius: 8px; background: var(--dc-pop-card); }
.dc-prof-bio { margin: -2px 0 14px; font: 400 14px/18px var(--dc-font); color: var(--dc-text); white-space: pre-wrap; word-wrap: break-word; }
.dc-prof-bio a { color: var(--dc-link); text-decoration: none; }
.dc-prof-bio a:hover { text-decoration: underline; }
.dc-prof-bio img.emoji { width: 1.25em; height: 1.25em; vertical-align: -0.25em; }
.dc-prof-bio.big { font-size: 15px; line-height: 20px; margin: 0 0 18px; }
.dc-prof-v.col { flex-direction: column; align-items: flex-start; gap: 2px; }
.dc-prof-v .muted { color: var(--dc-muted); }
.dc-prof-k { display: flex; align-items: center; gap: 4px; }
.dc-user-voice { margin-top: 12px; padding: 12px; border-radius: 8px; background: var(--dc-pop-card); }
.dc-user-voice .dc-menu-vol { padding: 0 0 4px; }
.dc-user-togs { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.dc-user-tog { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 6px; margin: 0 -6px; border: 0; border-radius: 4px; background: transparent; color: var(--dc-text); font: 500 14px var(--dc-font); cursor: pointer; text-align: left; }
.dc-user-tog:hover { background: var(--dc-hover); }
.dc-user-admin { margin-top: 12px; padding: 12px; border-radius: 8px; background: rgba(240,178,50,.06); border: 1px solid rgba(240,178,50,.18); }
.dc-user-admin .dc-prof-k { color: var(--dc-yellow); }
.dc-user-admbtns { display: flex; flex-wrap: wrap; gap: 6px; }
.dc-user-admbtns button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 0; border-radius: 6px; background: var(--dc-btn2); color: var(--dc-text); font: 500 13px var(--dc-font); cursor: pointer; }
.dc-user-admbtns button:hover { background: var(--dc-btn2-hover); color: var(--dc-strong); }
.dc-user-admbtns button.danger { color: var(--dc-red); }
.dc-user-admbtns button.danger:hover { background: var(--dc-red-btn); color: #fff; }
.dc-user-admbtns span { display: grid; }
.dc-roles { display: flex; flex-wrap: wrap; gap: 4px; }
.dc-role { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px 0 6px; border-radius: 4px; background: var(--dc-btn2); font: 500 12px var(--dc-font); color: var(--dc-text); }
body.dc-ash .dc-role { background: #2b2d31; }
.dc-role i { width: 12px; height: 12px; border-radius: 50%; }
.dc-user-dm { width: 100%; height: 40px; margin-top: 12px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--dc-input-border); background: var(--dc-input); color: var(--dc-text); font: 400 14px var(--dc-font); outline: none; }
.dc-user-dm:focus { border-color: var(--dc-blurple); }
.dc-user-dm::placeholder { color: var(--dc-placeholder); }
.dc-user-full { display: block; margin: 12px auto 0; border: 0; background: transparent; color: var(--dc-muted); font: 500 13px var(--dc-font); cursor: pointer; }
.dc-user-full:hover { color: var(--dc-strong); text-decoration: underline; }

/* ---------- perfil completo ---------- */
.modal.dc-modal.dc-fp-modal { width: 620px; max-width: 94vw; max-height: 90vh; background: var(--dc-pop); display: flex; flex-direction: column; }
.dc-fp { display: flex; flex-direction: column; min-height: 0; max-height: 90vh; color: var(--dc-text); font-family: var(--dc-font); }
.dc-fp-banner { position: relative; height: 180px; flex: none; }
.dc-fp-x { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; cursor: pointer; display: grid; place-items: center; }
.dc-fp-x:hover { background: rgba(0,0,0,.7); }
.dc-fp-x.inline { position: static; background: transparent; color: var(--dc-muted); }
.dc-fp-x.inline:hover { background: var(--dc-hover); color: var(--dc-strong); }
.dc-fp-top { position: relative; height: 72px; flex: none; display: flex; align-items: flex-start; justify-content: flex-end; padding: 14px 16px 0 164px; }
.dc-fp-av { position: absolute; left: 16px; top: -68px; padding: 7px; border-radius: 50%; background: var(--dc-pop); display: grid; }
.dc-fp-av .dc-avdot { --ring: var(--dc-pop); }
.dc-user-bubble.big { left: 150px; top: -40px; font-size: 14px; max-width: 220px; }
.dc-fp-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.dc-fp-actions .dc-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; }
.dc-fp-ib { width: 36px; height: 36px; border: 0; border-radius: 8px; background: var(--dc-btn2); color: var(--dc-text); cursor: pointer; display: grid; place-items: center; }
body.dc-ash .dc-fp-ib { background: #4e5058; border-radius: 4px; }
.dc-fp-ib:hover { background: var(--dc-btn2-hover); color: var(--dc-strong); }
.dc-fp-body { flex: 1; min-height: 0; overflow-y: auto; padding: 0 16px 16px; }
.dc-fp-id { padding: 4px 4px 0; }
.dc-fp-name { font: 700 24px/30px var(--dc-font); color: var(--dc-strong); }
.dc-fp-tabs { display: flex; gap: 24px; margin: 18px 4px 0; border-bottom: 1px solid rgba(151,151,159,.16); }
.dc-fp-tabs button { position: relative; height: 40px; padding: 0; border: 0; background: transparent; color: var(--dc-muted); font: 500 14px var(--dc-font); cursor: pointer; }
.dc-fp-tabs button:hover { color: var(--dc-text); }
.dc-fp-tabs button.on { color: var(--dc-strong); }
.dc-fp-tabs button.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: var(--dc-strong); }
.dc-fp-pane { padding: 16px 4px 4px; min-height: 180px; }
.dc-fp-empty { padding: 4px 0 18px; color: var(--dc-muted); font-size: 14px; }
.dc-fp-empty a { color: var(--dc-link); cursor: pointer; }
.dc-fp-empty a:hover { text-decoration: underline; }
.dc-fp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.dc-fp-trophies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.dc-fp-trophy { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; border-radius: 8px; background: var(--dc-pop-card); text-align: center; }
.dc-fp-trophy b { font: 600 13px var(--dc-font); color: var(--dc-strong); }
.dc-fp-achs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dc-fp-ach { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 8px; background: var(--dc-pop-card); min-width: 0; }
.dc-fp-ach-i { width: 36px; height: 36px; flex: none; border-radius: 8px; background: rgba(255,255,255,.04); display: grid; place-items: center; }
.dc-fp-ach div { min-width: 0; }
.dc-fp-ach b { display: block; font: 600 13px/16px var(--dc-font); color: var(--dc-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-fp-ach small { display: block; font: 400 12px/15px var(--dc-font); color: var(--dc-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-fp-rows { display: grid; gap: 14px; }
.dc-fp-row .dc-prof-v { margin: 0; }
.dc-fp-lvl { display: flex; align-items: center; gap: 10px; width: 100%; }
.dc-fp-lvl b { font-weight: 600; white-space: nowrap; }
.dc-fp-lvl small { color: var(--dc-muted); white-space: nowrap; font-size: 12px; }
.dc-fp-bar { flex: 1; height: 8px; border-radius: 4px; background: rgba(151,151,159,.2); overflow: hidden; }
.dc-fp-bar i { display: block; height: 100%; border-radius: 4px; background: var(--dc-blurple); }

/* ---------- editor de perfil ---------- */
.modal.dc-modal.dc-ed-modal { width: 900px; max-width: 96vw; max-height: 92vh; background: var(--dc-chat); display: flex; flex-direction: column; }
.dc-ed { display: flex; flex-direction: column; min-height: 0; max-height: 92vh; color: var(--dc-text); font-family: var(--dc-font); }
.dc-ed-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 12px 24px; flex: none; }
.dc-ed-head h2 { margin: 0; font: 600 20px var(--dc-font); color: var(--dc-strong); }
.dc-ed-grid { flex: 1; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; padding: 4px 24px 24px; }
.dc-ed-field { padding: 0 0 20px; margin-bottom: 20px; border-bottom: 1px solid rgba(151,151,159,.12); }
.dc-ed-field:last-child { border-bottom: 0; margin-bottom: 0; }
.dc-ed-k { margin-bottom: 8px; font: 700 12px var(--dc-font); text-transform: uppercase; letter-spacing: .02em; color: var(--dc-muted); }
.dc-ed-hint { margin-top: 8px; font: 400 13px var(--dc-font); color: var(--dc-muted); }
.dc-ed-in { width: 100%; height: 40px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--dc-input-border); background: #121214; color: var(--dc-text); font: 400 16px var(--dc-font); outline: none; }
body.dc-ash .dc-ed-in { background: #1e1f22; border-radius: 4px; }
.dc-ed-in:focus { border-color: var(--dc-blurple); }
.dc-ed-in::placeholder { color: var(--dc-placeholder); }
.dc-ed-in.area { height: auto; min-height: 110px; padding: 10px 40px 10px 10px; resize: vertical; line-height: 1.375; }
.dc-ed-areawrap { position: relative; }
.dc-ed-count { position: absolute; right: 10px; bottom: 10px; font: 500 12px var(--dc-font); color: var(--dc-muted); }
.dc-ed-row { display: flex; gap: 8px; flex-wrap: wrap; }
.dc-btn.gray { background: var(--dc-btn2); color: var(--dc-strong); }
body.dc-ash .dc-btn.gray { background: #4e5058; }
.dc-btn.gray:hover { background: var(--dc-btn2-hover); }
.dc-ed-sw { display: flex; flex-wrap: wrap; gap: 8px; }
.dc-ed-swatch { position: relative; width: 32px; height: 32px; border: 0; padding: 0; border-radius: 6px; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.dc-ed-swatch.on { box-shadow: 0 0 0 2px var(--dc-chat), 0 0 0 4px var(--dc-strong); }
.dc-ed-swatch.custom { display: grid; place-items: center; background: var(--dc-btn2); color: var(--dc-strong); overflow: hidden; }
.dc-ed-swatch.custom span { display: grid; pointer-events: none; mix-blend-mode: difference; }
.dc-ed-color { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.dc-ed-prev { position: sticky; top: 0; align-self: start; }
.dc-ed-bar { flex: none; display: none; align-items: center; gap: 12px; margin: 0 16px 16px; padding: 10px 10px 10px 16px; border-radius: 8px; background: #111214; box-shadow: 0 2px 10px rgba(0,0,0,.3); font: 500 14px var(--dc-font); color: var(--dc-strong); }
.dc-ed-bar.on { display: flex; animation: dcBar .2s ease-out; }
.dc-ed-bar > span { flex: 1; }
@keyframes dcBar { from { transform: translateY(10px); opacity: 0; } }
.dc-sb { width: 460px; padding: 0; }
.dc-sb-head { display: flex; align-items: baseline; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgba(151,151,159,.16); }
.dc-sb-head b { font: 600 16px var(--dc-font); color: var(--dc-strong); }
.dc-sb-head span { font-size: 12px; color: var(--dc-muted); }
.dc-sb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 16px; max-height: 300px; overflow-y: auto; }
.dc-sb-item { position: relative; }
.dc-sb-btn { width: 100%; height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 0; border-radius: 8px; background: var(--dc-btn2); color: var(--dc-text); cursor: pointer; text-align: left; }
body.dc-ash .dc-sb-btn { background: #2b2d31; }
.dc-sb-btn:hover { background: var(--dc-btn2-hover); }
.dc-sb-btn:active { transform: scale(.97); }
.dc-sb-e { display: grid; flex: none; }
.dc-sb-n { font: 500 14px var(--dc-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-sb-del { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border: 0; padding: 0; border-radius: 50%; background: var(--dc-red-btn); color: #fff; cursor: pointer; display: none; place-items: center; }
.dc-sb-item:hover .dc-sb-del { display: grid; }
.dc-sb-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid rgba(151,151,159,.16); }
.dc-sbflash { position: absolute; right: 8px; top: -4px; animation: sbFlash 1.5s ease-out forwards; pointer-events: none; z-index: 3; }
.dc-sbflash img.emoji { width: 28px; height: 28px; }
@keyframes sbFlash { 0% { transform: scale(.4); opacity: 0; } 15% { transform: scale(1.3); opacity: 1; } 100% { transform: translateY(-30px); opacity: 0; } }

.dc-pins { width: 420px; max-height: 70vh; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.dc-pins-head { height: 48px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: var(--dc-title); color: var(--dc-strong); font: 600 16px var(--dc-font); }
.dc-pins-head .dc-i { color: var(--dc-muted); }
.dc-pins-list { overflow-y: auto; padding: 8px; display: grid; gap: 8px; }
.dc-pin { position: relative; display: flex; gap: 12px; padding: 10px 12px; border-radius: 8px; background: var(--dc-chat); border: 1px solid var(--dc-border); }
.dc-pin-acts { position: absolute; top: 6px; right: 6px; display: none; gap: 4px; align-items: center; }
.dc-pin:hover .dc-pin-acts { display: flex; }
.dc-pins-empty { padding: 32px 24px; text-align: center; color: var(--dc-muted); }
.dc-pins-empty-ico { display: grid; place-items: center; margin-bottom: 12px; color: var(--dc-faint); }
.dc-pins-empty p { margin: 0; font-size: 14px; line-height: 1.4; }

/* confirmação */
.modal.dc-modal { width: 440px; max-width: 92vw; padding: 0; border-radius: 8px; background: var(--dc-chat); border: 0; box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 24px 60px rgba(0,0,0,.5); font-family: var(--dc-font); overflow: hidden; }
.dc-confirm h2 { margin: 0; padding: 16px 16px 0; font: 600 20px/24px var(--dc-font); color: var(--dc-strong); }
.dc-confirm > p { margin: 0; padding: 8px 16px 0; font: 400 16px/20px var(--dc-font); color: var(--dc-text); }
.dc-confirm-msg { position: relative; display: flex; gap: 12px; margin: 16px; padding: 12px 16px; border-radius: 4px; background: var(--dc-chat); box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 2px 10px rgba(0,0,0,.2); }
.dc-confirm-msg .dc-msg-av { position: static; flex: none; }
.dc-confirm-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 16px; background: var(--dc-side); }

/* lightbox */
.dc-lb-modal { background: transparent !important; border: 0 !important; box-shadow: none !important; width: auto !important; max-width: 92vw; padding: 0 !important; }
.dc-lightbox { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.dc-lightbox img { max-width: 90vw; max-height: 82vh; border-radius: 4px; }
.dc-lightbox a { color: #fff; opacity: .5; font: 500 14px var(--dc-font); text-decoration: none; }
.dc-lightbox a:hover { opacity: 1; text-decoration: underline; }

/* ---------- bolha (minimizado) ---------- */
.dc-bubble { position: fixed; left: 14px; top: 150px; z-index: 35; display: flex; align-items: center; gap: 4px; padding: 6px 8px 6px 6px; border-radius: 12px; background: var(--dc-card); border: 1px solid var(--dc-border); box-shadow: 0 8px 24px rgba(0,0,0,.4); font-family: var(--dc-font); color: var(--dc-text); }
.dc-bub-main { position: relative; width: 42px; height: 42px; border: 0; padding: 0; border-radius: 12px; cursor: pointer; background: transparent; }
.dc-pill-badge { position: absolute; right: -4px; bottom: -4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--dc-red); color: #fff; font: 700 12px/16px var(--dc-font); text-align: center; box-shadow: 0 0 0 3px var(--dc-card); }
.dc-bub-info { padding: 0 6px; cursor: pointer; min-width: 0; }
.dc-bub-ch { display: flex; align-items: center; gap: 4px; color: var(--dc-green); font: 600 13px var(--dc-font); }
.dc-bub-avs { display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.dc-bub-name { font: 500 12px var(--dc-font); color: var(--dc-muted); margin-right: 2px; }
.dc-bub-av { width: 20px; height: 20px; border-radius: 50%; background: var(--dc-rail-btn); outline: 2px solid transparent; outline-offset: 1px; position: relative; }
.dc-bub-av.speaking { outline-color: var(--dc-green); }
.dc-bubble .dc-ib.hang { color: var(--dc-red); }

/* status da voz: verde conectado (com ping), amarelo conectando */
.dc-net.wait { color: #f0b232; }
.dc-net.wait svg { animation: dc-net-blink 1s ease-in-out infinite; }
.dc-net-ms { margin-left: 4px; font: 500 11px var(--dc-font); color: var(--dc-text-muted, #949ba4); }
@keyframes dc-net-blink { 50% { opacity: .35; } }

/* palco: transmissão em destaque + fileira embaixo (igual ao Discord) */
.dc-tile { cursor: default; }
.dc-tile.live, .dc-tile.cam { cursor: pointer; }
.dc-tiles.focusmode { flex-direction: column; flex-wrap: nowrap; align-content: stretch; align-items: center; justify-content: flex-start; padding: 0 16px 8px; gap: 8px; }
.dc-focus { flex: 1; min-height: 0; width: 100%; container-type: size; display: flex; align-items: center; justify-content: center; }
.dc-focus .dc-tile { width: min(100%, 100cqh * 16 / 9); }
.dc-strip { flex: none; display: flex; gap: 8px; justify-content: center; height: 108px; max-width: 100%; overflow-x: auto; }
.dc-strip .dc-tile { width: auto; height: 100%; flex: none; }
.dc-strip .dc-tile-name { font-size: 12px; height: 20px; line-height: 20px; bottom: 4px; left: 4px; }
.dc-strip .dc-tile-tools, .dc-strip .dc-tile-selfbar { display: none; }
.dc-tile:fullscreen { border-radius: 0; width: 100vw; height: 100vh; aspect-ratio: auto; background: #000; }
.dc-tile-tools { position: absolute; top: 8px; right: 8px; z-index: 2; display: flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; border-radius: 8px; background: rgba(0,0,0,.65); color: #dbdee1; opacity: 0; transition: opacity .15s; }
.dc-tile:hover .dc-tile-tools { opacity: 1; }
.dc-tile-tools .dc-ui-ic { display: inline-flex; }
.dc-tile-vol { width: 90px; accent-color: #fff; }
.dc-tile-tools .dc-ib { width: 28px; height: 28px; color: #fff; }
.dc-tile-selfbar { position: absolute; top: 8px; right: 8px; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 8px; background: rgba(0,0,0,.7); color: #fff; font: 500 13px var(--dc-font); }
.dc-btn.sm { height: 28px; min-height: 28px; padding: 0 12px; font-size: 13px; }
.dc-btn.red { background: var(--dc-red-btn, #da373c); }

/* janelinha flutuante da transmissão (painel minimizado) */
.dc-pip { position: fixed; z-index: 36; width: 384px; border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 8px 28px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06); font-family: var(--dc-font); }
.dc-pip .dc-video { position: static; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
.dc-pip-bar { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 6px 0 10px; background: #1e1f22; color: #fff; font-size: 13px; cursor: grab; user-select: none; }
.dc-pip-bar:active { cursor: grabbing; }
.dc-pip-sp { flex: 1; }
.dc-pip-bar .dc-ib { width: 26px; height: 26px; color: #b5bac1; }
.dc-pip-bar .dc-ib:hover { color: #fff; }

/* envio de mensagens: enviando… / não foi */
.dc-msg.sending .dc-msg-c { opacity: .55; }
.dc-msg.failed .dc-msg-body, .dc-msg.failed .dc-msg-c > div:not(.dc-msg-h):not(.dc-send-fail) { color: #f23f43; }
.dc-send-fail { display: flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 13px; color: #f23f43; }
.dc-send-fail a { color: #00a8fc; cursor: pointer; }
.dc-send-fail a:hover { text-decoration: underline; }
/* Fase 19: transmissões dos telões no topo da lista de canais */
.dc-telao { color: var(--dc-strong); }
.dc-telao b { color: var(--dc-red); font-weight: 700; }
.dc-telao .dc-av { width: 20px; height: 20px; border-radius: 50%; }
.dc-telao-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dc-red); flex: none; margin: 0 3px 0 2px; box-shadow: 0 0 0 0 rgba(237,66,69,.6); animation: dcTelaoPulse 1.6s infinite; }
@keyframes dcTelaoPulse { 0% { box-shadow: 0 0 0 0 rgba(237,66,69,.55); } 70% { box-shadow: 0 0 0 7px rgba(237,66,69,0); } 100% { box-shadow: 0 0 0 0 rgba(237,66,69,0); } }
.dc-telao { height: auto; min-height: 42px; padding-top: 4px; padding-bottom: 4px; }
.dc-telao .dc-ch-n { display: flex; flex-direction: column; line-height: 1.2; }
.dc-telao .dc-ch-n small { font: 500 12px var(--dc-font); color: var(--dc-faint); overflow: hidden; text-overflow: ellipsis; }
