.viceberg-chat {
  --vb-chat-line: #2a2333;
  --vb-chat-muted: #9086a4;
  --vb-chat-violet: #8b6cff;
  --vb-chat-rose: #ff6fb2;
  display: flex;
  flex-direction: column;
  max-width: 920px;
  height: clamp(420px, calc(100dvh - var(--vb-chat-top, 128px) - 38px), 960px);
  margin-inline: auto;
  border: 1px solid #2c2538;
  border-radius: 24px;
  background: radial-gradient(ellipse at top right, #22192e, transparent 58%), #100e16;
  overflow: hidden;
}

/* Sign-in and wallet prompts keep their natural height; only the open room fills the screen. */
.viceberg-chat:has(> .viceberg-chat-room[hidden]) { height: auto; }

.viceberg-chat-header {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px clamp(16px, 3vw, 26px);
  border-bottom: 1px solid var(--vb-chat-line);
}
.viceberg-chat-header .eyebrow { margin: 0; }
.viceberg-chat-header h1 { margin: 2px 0 0; font-size: clamp(1.2rem, 2.4vw, 1.5rem); letter-spacing: -.03em; line-height: 1.15; }
.viceberg-chat-live {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid #3a2f5c;
  border-radius: 99px;
  background: #10231d;
  color: #cfc2ff;
  font-size: .72rem;
  font-weight: 600;
}
.viceberg-chat-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #b39dff; box-shadow: 0 0 0 0 #b39dff99; animation: vb-chat-pulse 2.4s ease-out infinite; }

.viceberg-chat-gate, .viceberg-chat-wallet { padding: clamp(18px, 3vw, 30px); }
.viceberg-chat-wallet { border-bottom: 1px solid var(--vb-chat-line); }
.viceberg-chat-gate p, .viceberg-chat-wallet p { margin: 0 0 16px; color: #c7bad4; }
.viceberg-chat-wallet .vb-collection-privy { margin-top: 14px; }
.viceberg-chat-wallet .vb-collection-privy[hidden] { display: none; }
.viceberg-chat-wallet .vb-collection-privy button { padding: 7px 10px; border: 1px solid #393044; border-radius: 9px; background: #171220; color: inherit; }
.viceberg-chat-status { flex: none; margin: 0; padding: 0 clamp(16px, 3vw, 26px) 12px; color: #e7b4cd; font-size: .8rem; }
.viceberg-chat-status:empty { display: none; }

.viceberg-chat-room { position: relative; display: flex; flex: 1; flex-direction: column; min-height: 0; }
.viceberg-chat-scroll { flex: 1; min-height: 0; padding: 4px clamp(6px, 1.6vw, 14px) 14px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.viceberg-chat-scroll:focus-visible { outline: 2px solid #a78bfa66; outline-offset: -2px; }
.viceberg-chat-empty { margin: 0; padding: 18vh 20px 0; color: var(--vb-chat-muted); text-align: center; }
.viceberg-chat-messages { margin: 0; padding: 0; list-style: none; }

/* Messages */
.vb-chat-day { display: flex; align-items: center; gap: 14px; margin: 18px 12px 4px; color: var(--vb-chat-muted); font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.vb-chat-day::before, .vb-chat-day::after { content: ""; flex: 1; height: 1px; background: var(--vb-chat-line); }
.vb-chat-row { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; margin-top: 12px; padding: 4px 12px 3px; border-radius: 12px; transition: background-color .12s ease; }
.vb-chat-message.is-grouped .vb-chat-row { margin-top: 0; padding-block: 1px 3px; }
.vb-chat-row:hover, .vb-chat-row:focus-within, .vb-chat-message.is-active .vb-chat-row { background: rgba(255, 255, 255, .032); }
.vb-chat-row.has-quote .vb-chat-gutter { padding-top: 21px; }
.vb-chat-gutter { min-width: 0; }
.vb-chat-gutter time { display: block; padding-top: 4px; color: var(--vb-chat-muted); font-size: .62rem; font-variant-numeric: tabular-nums; text-align: right; opacity: 0; transition: opacity .12s ease; }
.vb-chat-row:hover .vb-chat-gutter time, .vb-chat-row:focus-within .vb-chat-gutter time { opacity: 1; }
.vb-chat-avatar-link { display: block; border-radius: 50%; }
.vb-chat-avatar { position: relative; display: grid; width: 40px; height: 40px; place-items: center; overflow: hidden; border-radius: 50%; background: linear-gradient(145deg, hsl(var(--vb-chat-hue, 260) 58% 42%), hsl(calc(var(--vb-chat-hue, 260) + 48) 62% 22%)); color: #fff; font-size: .95rem; font-weight: 700; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.vb-chat-avatar.is-small { flex: none; width: 26px; height: 26px; font-size: .68rem; }
.vb-chat-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vb-chat-main { min-width: 0; }
.vb-chat-byline { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.vb-chat-byline strong { overflow: hidden; color: #f4f1fa; font-size: .92rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.vb-chat-byline strong a { color: inherit; text-decoration: none; }
.vb-chat-byline strong a:hover { text-decoration: underline; text-underline-offset: .18em; }
.vb-chat-message.is-mine .vb-chat-byline strong { color: #d9ccff; }
.vb-chat-byline time { flex: none; color: var(--vb-chat-muted); font-size: .68rem; font-variant-numeric: tabular-nums; }
.vb-chat-text { margin: 1px 0 0; color: #ddd6e8; font-size: .94rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.vb-chat-text.is-jumbo { font-size: 2rem; line-height: 1.25; }
.vb-chat-link { color: #b9a6ff; text-decoration: underline; text-decoration-color: #b9a6ff55; text-underline-offset: .2em; }
.vb-chat-link:hover { text-decoration-color: currentColor; }

.vb-chat-mention { display: inline-block; max-width: 100%; overflow: hidden; padding: 0 5px; text-overflow: ellipsis; vertical-align: bottom; white-space: nowrap; border-radius: 6px; background: rgba(139, 108, 255, .2); color: #d3c6ff; font-weight: 600; text-decoration: none; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-color .12s ease, color .12s ease; }
.vb-chat-mention:hover { background: rgba(139, 108, 255, .38); color: #fff; }
.vb-chat-mention.is-me { background: rgba(255, 111, 178, .22); color: #ffc6e0; box-shadow: 0 0 0 1px rgba(255, 111, 178, .28); }
.vb-chat-mention.is-me:hover { background: rgba(255, 111, 178, .4); color: #fff; }
.vb-chat-message.is-tagged .vb-chat-row { background: linear-gradient(90deg, rgba(255, 111, 178, .11), rgba(255, 111, 178, .025) 62%); box-shadow: inset 2px 0 0 var(--vb-chat-rose); }

.vb-chat-quote { position: relative; display: flex; max-width: 100%; align-items: baseline; gap: 6px; margin: 0 0 3px; padding: 0; border: 0; background: none; color: var(--vb-chat-muted); font: inherit; font-size: .76rem; line-height: 1.4; text-align: left; cursor: pointer; }
.vb-chat-quote::before { content: ""; position: absolute; top: 9px; left: -33px; width: 25px; height: 13px; border-top: 2px solid #3a3149; border-left: 2px solid #3a3149; border-top-left-radius: 9px; }
.vb-chat-quote b { flex: none; color: #cfc6de; font-weight: 600; }
.vb-chat-quote span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vb-chat-quote:hover span, .vb-chat-quote:hover b { color: #f1eff8; }

.vb-chat-reactions { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.vb-chat-reaction { display: inline-flex; height: 26px; align-items: center; gap: 6px; padding: 0 9px; border: 1px solid #2f2839; border-radius: 99px; background: #17131f; color: #cfc6de; font: inherit; font-size: .8rem; line-height: 1; cursor: pointer; transition: border-color .12s ease, background-color .12s ease, transform .12s ease; }
.vb-chat-reaction b { font-size: .72rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.vb-chat-reaction:hover { border-color: #57477a; }
.vb-chat-reaction:active { transform: scale(.94); }
.vb-chat-reaction.is-mine { border-color: #8b6cffb3; background: rgba(139, 108, 255, .2); color: #ece6ff; }

.vb-chat-actions { position: absolute; top: -15px; right: 12px; display: flex; gap: 1px; padding: 2px; border: 1px solid #342b40; border-radius: 10px; background: #1b1724; box-shadow: 0 8px 22px rgba(0, 0, 0, .4); opacity: 0; pointer-events: none; transform: translateY(3px); transition: opacity .12s ease, transform .12s ease; }
.vb-chat-row:hover .vb-chat-actions, .vb-chat-row:focus-within .vb-chat-actions, .vb-chat-message.is-active .vb-chat-actions { opacity: 1; pointer-events: auto; transform: none; }
.vb-chat-actions button, .vb-chat-ghost { display: grid; width: 30px; height: 30px; padding: 0; place-items: center; border: 0; border-radius: 8px; background: transparent; color: #a79db9; font: inherit; cursor: pointer; transition: background-color .12s ease, color .12s ease; }
.vb-chat-actions button:hover, .vb-chat-ghost:hover { background: #2a2336; color: #fff; }
.vb-chat-actions .vb-chat-delete:hover { background: #3a1826; color: #ff9aa8; }
.vb-chat-actions .vb-chat-delete.is-armed { background: #ff5f7a; color: #1a0d12; }
.viceberg-chat svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.vb-chat-reactor { position: absolute; z-index: 6; display: flex; gap: 2px; padding: 5px; border: 1px solid #3a3050; border-radius: 14px; background: #1b1724; box-shadow: 0 18px 44px rgba(0, 0, 0, .55); animation: vb-chat-pop .14s cubic-bezier(.2, .9, .3, 1.2); }
.vb-chat-reactor button { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 9px; background: transparent; font-size: 1.2rem; line-height: 1; cursor: pointer; transition: background-color .1s ease, transform .1s ease; }
.vb-chat-reactor button:hover, .vb-chat-reactor button:focus-visible { background: #2c2439; transform: scale(1.14); }

/* Activity stays readable in narrow city-chat drawers as well as full pages. */
.vb-chat-activity-line { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: start; gap: 8px; min-width: 0; margin: 6px 12px 0 16px; padding: 8px 10px 8px 8px; border: 1px solid #2a2140; border-radius: 14px; background: rgba(139, 108, 255, .07); color: #a79db9; font-size: .78rem; line-height: 1.3; }
.vb-chat-activity + .vb-chat-activity .vb-chat-activity-line { margin-top: 4px; }
.vb-chat-activity-icon { position: relative; flex: none; width: 20px; height: 20px; overflow: hidden; border-radius: 50%; background: linear-gradient(145deg, #6b4fd8, #2a1d55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.vb-chat-activity-icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vb-chat-activity-words { min-width: 0; white-space: normal; overflow-wrap: anywhere; line-height: 1.6; }
.vb-chat-activity-words b { color: #e6dffa; font-weight: 600; }
.vb-chat-activity-actor.is-private { color: #b9a6ff; }
.vb-chat-activity.is-sell .vb-chat-activity-usd { color: #ff9ec9; }
.vb-chat-activity.is-buy .vb-chat-activity-usd, .vb-chat-activity.is-launch .vb-chat-activity-token { color: #c9b8ff; }
.vb-chat-activity-token { color: #d3c6ff; font-weight: 650; text-decoration: none; }
a.vb-chat-activity-token:hover { text-decoration: underline; text-underline-offset: .18em; }
.vb-chat-activity-words small { margin-left: 7px; color: var(--vb-chat-muted); font-size: .7rem; }
.vb-chat-activity-line time { padding-top: 3px; white-space: nowrap; color: var(--vb-chat-muted); font-size: .66rem; font-variant-numeric: tabular-nums; }

.vb-chat-message.is-pending .vb-chat-main { opacity: .55; }
.vb-chat-failure { margin: 3px 0 0; color: #ff9aa8; font-size: .78rem; }
.vb-chat-failure button { margin-left: 8px; padding: 0; border: 0; background: none; color: #f1eff8; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.vb-chat-message.is-new .vb-chat-row { animation: vb-chat-in .24s cubic-bezier(.2, .8, .3, 1); }
.vb-chat-message.is-flash .vb-chat-row { animation: vb-chat-flash 1.5s ease-out; }

.vb-chat-jump-anchor { position: relative; flex: none; height: 0; }
.vb-chat-jump { position: absolute; bottom: 10px; left: 50%; display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px 7px 10px; border: 1px solid #4a3c68; border-radius: 99px; background: #201a2c; color: #ece6ff; font: inherit; font-size: .78rem; font-weight: 600; white-space: nowrap; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); cursor: pointer; transform: translateX(-50%); animation: vb-chat-rise .18s ease-out; }
.vb-chat-jump svg { width: 14px; height: 14px; }
.vb-chat-jump.is-tagged { border-color: #ff6fb299; background: #2c1626; color: #ffd3e7; }

/* Composer */
.viceberg-chat-compose { position: relative; flex: none; margin: 0; padding: 0 clamp(12px, 2.2vw, 20px); }
.vb-chat-composer { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; border: 1px solid #342b40; border-radius: 18px; background: #0d0b12; transition: border-color .15s ease, box-shadow .15s ease; }
.vb-chat-composer:focus-within { border-color: var(--vb-chat-violet); box-shadow: 0 0 0 4px rgba(139, 108, 255, .14); }
.vb-chat-replying { display: flex; grid-column: 1 / -1; align-items: center; gap: 9px; padding: 6px 6px 6px 14px; border-bottom: 1px solid var(--vb-chat-line); color: var(--vb-chat-muted); font-size: .78rem; animation: vb-chat-rise .16s ease-out; }
.vb-chat-replying-mark { flex: none; width: 3px; height: 16px; border-radius: 3px; background: var(--vb-chat-violet); }
.vb-chat-replying p { flex: 1; min-width: 0; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vb-chat-replying b { margin-right: 7px; color: #ece6ff; font-weight: 600; }
.vb-chat-field { position: relative; min-width: 0; }
.vb-chat-mirror, .viceberg-chat-compose .vb-chat-field textarea { box-sizing: border-box; width: 100%; margin: 0; padding: 12px 6px 12px 16px; border: 0; font: inherit; font-size: .95rem; line-height: 1.5; letter-spacing: normal; white-space: pre-wrap; overflow-wrap: break-word; word-break: normal; }
.vb-chat-mirror { position: absolute; inset: 0; overflow: hidden; color: transparent; pointer-events: none; }
.vb-chat-mirror mark { border-radius: 5px; background: rgba(139, 108, 255, .3); box-shadow: 0 0 0 2px rgba(139, 108, 255, .3); color: transparent; }
.viceberg-chat-compose .vb-chat-field textarea { position: relative; display: block; min-height: 0; max-height: 168px; border-radius: 0; background: transparent; box-shadow: none; color: #f1eff8; caret-color: #c9b8ff; outline: 0; resize: none; scrollbar-width: none; }
.viceberg-chat-compose .vb-chat-field textarea::placeholder { color: #6f667f; }
.viceberg-chat-compose .vb-chat-field textarea::-webkit-scrollbar { display: none; }
.vb-chat-tools { display: flex; align-items: center; gap: 4px; padding: 0 7px 7px 0; }
.vb-chat-at { font-size: 1rem; font-weight: 600; }
.vb-chat-count { min-width: 26px; color: var(--vb-chat-muted); font-size: .7rem; font-variant-numeric: tabular-nums; text-align: right; }
.vb-chat-count.is-over { color: #ff8fa3; font-weight: 700; }
.vb-chat-send { display: grid; width: 34px; height: 34px; margin-left: 3px; padding: 0; place-items: center; border: 0; border-radius: 50%; background: linear-gradient(135deg, #ffc475 0%, #ff9b68 42%, #ff5f94 100%); color: #1a0d12; box-shadow: 0 6px 18px rgba(255, 110, 130, .28); cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease; }
.vb-chat-send svg { stroke-width: 2.2; }
.vb-chat-send:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 9px 24px rgba(255, 110, 130, .4); }
.vb-chat-send:active:not(:disabled) { transform: scale(.94); }
.vb-chat-send:disabled { background: #221c2c; color: #63597380; box-shadow: none; cursor: default; }
.vb-chat-hint { flex: none; margin: 8px clamp(14px, 2.4vw, 24px) 12px; color: #776e89; font-size: .68rem; }
.vb-chat-hint span, .vb-chat-picker-keys span { margin-inline: 3px; opacity: .6; }
.viceberg-chat kbd { display: inline-block; min-width: 18px; padding: 1px 5px; border: 1px solid #2f2839; border-radius: 5px; background: #15111c; color: #b2a5c3; font: inherit; font-size: .64rem; line-height: 1.5; text-align: center; }

/* Tag picker */
.vb-chat-picker { position: absolute; z-index: 7; width: min(320px, calc(100% - 24px)); max-height: 320px; padding: 6px; overflow-y: auto; border: 1px solid #3a3050; border-radius: 16px; background: rgba(22, 18, 30, .97); box-shadow: 0 24px 60px rgba(0, 0, 0, .6), 0 0 0 1px rgba(139, 108, 255, .08); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); transform-origin: bottom left; animation: vb-chat-pop .14s cubic-bezier(.2, .9, .3, 1.2); }
.vb-chat-picker-title { margin: 0; padding: 6px 10px 7px; color: var(--vb-chat-muted); font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.vb-chat-picker-empty { margin: 0; padding: 4px 10px 10px; color: #b2a5c3; font-size: .84rem; }
.vb-chat-option { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; color: #d9d2e6; font-size: .88rem; cursor: pointer; }
.vb-chat-option.is-active { background: linear-gradient(90deg, rgba(139, 108, 255, .3), rgba(139, 108, 255, .1)); color: #fff; }
.vb-chat-option-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vb-chat-option-name b { color: #cdbdff; font-weight: 700; }
.vb-chat-option small { flex: none; color: var(--vb-chat-muted); font-size: .64rem; }
.vb-chat-option.is-active small { color: #cfc2ff; }
.vb-chat-picker-keys { margin: 5px 0 0; padding: 8px 10px 4px; border-top: 1px solid var(--vb-chat-line); color: #776e89; font-size: .64rem; }

.viceberg-chat :is(button, a):focus-visible { outline: 2px solid #a78bfa; outline-offset: 2px; }
.viceberg-chat [hidden] { display: none !important; }

/* Sidebar */
.platform-sidebar { overflow-y: auto; }
/* Groups stack from the top at their own height; a short window scrolls the sidebar instead of clipping it. */
.platform-sidebar { display: flex; flex-direction: column; overflow: hidden auto; scrollbar-width: none; }
.platform-sidebar > * { flex: none; }
/* Sits at the foot of the sidebar when there is room, and after the last group when there is not. */
.powered-by-zealz { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid #ffffff12; border-radius: 12px; background: linear-gradient(120deg, #ffffff0a, #ad94ff12); color: #f4eefb; text-decoration: none; transition: border-color .15s, background .15s; }
.powered-by-zealz:hover, .powered-by-zealz:focus-visible { border-color: #ad94ff66; background: linear-gradient(120deg, #ffffff10, #ad94ff24); }
.powered-by-zealz img { width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 1px #ffffff24, 0 0 14px #ad94ff40; }
.powered-by-zealz span { display: grid; line-height: 1.15; }
.powered-by-zealz small { color: #a99cba; font-size: .56rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.powered-by-zealz b { font-size: .8rem; font-weight: 650; letter-spacing: -.01em; }
.platform-shell.is-sidebar-collapsed .powered-by-zealz { justify-content: center; padding: 8px 0; border-color: transparent; background: none; }
.platform-shell.is-sidebar-collapsed .powered-by-zealz span { display: none; }
.platform-sidebar::-webkit-scrollbar { display: none; }
.platform-sidebar .viceberg-community-nav { margin-block-start: 8px; }
.viceberg-community-nav > p { margin: 4px 9px; color: #b2a5c3; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.platform-sidebar .viceberg-community-nav button { padding-inline: 12px 6px; white-space: nowrap; font-size: .84rem; }
.viceberg-community-nav button::after { display: none; }
.viceberg-community-nav button i { margin-left: 7px; padding: 1px 6px; border: 1px solid #4a3d5e; border-radius: 99px; color: #b2a5c3; font: 700 .52rem/1.5 ui-monospace, monospace; font-style: normal; letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; }
.vb-chat-badge { flex: none; width: 8px; height: 8px; margin-left: 5px; border-radius: 50%; background: linear-gradient(135deg, #ff9b68, #ff5f94); box-shadow: 0 0 0 3px rgba(255, 95, 148, .18), 0 0 10px rgba(255, 95, 148, .7); }

@keyframes vb-chat-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes vb-chat-rise { from { opacity: 0; transform: translate(var(--vb-chat-x, 0), 5px); } }
@keyframes vb-chat-pop { from { opacity: 0; transform: translateY(5px) scale(.97); } }
@keyframes vb-chat-flash { 0%, 35% { background: rgba(139, 108, 255, .2); } }
@keyframes vb-chat-pulse { 70%, 100% { box-shadow: 0 0 0 7px #b39dff00; } }
.vb-chat-jump { --vb-chat-x: -50%; }

@media (hover: none), (pointer: coarse) {
  .vb-chat-hint { display: none; }
  .viceberg-chat-compose { padding-bottom: 12px; }
  .vb-chat-row:hover { background: none; }
  .vb-chat-row:hover .vb-chat-actions { opacity: 0; pointer-events: none; }
  .vb-chat-message.is-active .vb-chat-row { background: rgba(255, 255, 255, .032); }
  .vb-chat-message.is-active .vb-chat-actions { opacity: 1; pointer-events: auto; }
}
@media (max-width: 640px) {
  .viceberg-chat { height: clamp(400px, calc(100dvh - var(--vb-chat-top, 128px) - 20px), 960px); border-radius: 18px; }
  .vb-chat-row { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding-inline: 8px; }
  .vb-chat-avatar:not(.is-small) { width: 34px; height: 34px; }
  .vb-chat-quote::before { left: -28px; width: 21px; }
  .vb-chat-activity-line { margin-inline: 8px; }
  .vb-chat-hint { display: none; }
  .viceberg-chat-compose { padding-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .viceberg-chat *, .viceberg-chat *::before { animation: none !important; transition: none !important; }
}

/* Launch, right above "Powered by zealz.fun" (it takes the footer's place at the bottom of the sidebar). */
.sidebar-launch { display: flex; align-items: center; justify-content: center; gap: 9px; margin: auto 0 8px; padding: 11px 14px; border: 0; border-radius: 12px; background: linear-gradient(135deg, #8f6bff, #6d4dff); color: #fff; font: inherit; font-weight: 700; letter-spacing: .01em; cursor: pointer; box-shadow: 0 8px 22px #6d4dff40, inset 0 1px 0 #ffffff40; transition: transform .15s, box-shadow .2s; }
.sidebar-launch:hover, .sidebar-launch:focus-visible { transform: translateY(-1px); box-shadow: 0 10px 28px #6d4dff66, inset 0 1px 0 #ffffff55; }
.sidebar-launch > span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #ffffff2e; }
