.chat-version-new {
  --chat-bg: #17181a;
  --chat-surface: #24252a;
  --chat-text: #f0f0f2;
  --chat-text-muted: #aaaab3;
  --chat-border: #414148;
  --chat-accent: #ff6d97;
  --chat-bubble-user-bg: #35343e;
  --chat-bubble-ai-bg: transparent;
  --chat-bubble-text: #f0f0f2;
  --chat-composer-bg: #1e1f24;
  --chat-composer-text: #f0f0f2;
  --chat-input-bg: #292a30;
  --chat-input-text: #f0f0f2;
  --chat-input-placeholder: #aaaab3;
  --chat-input-border: #414148;
  --chat-viewport-height: 100dvh;
  color: var(--chat-text);
}
.chat-version-new .page-header-scope { position: relative; z-index: 8100; }
.chat-version-new #chatScopeBox::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .78); pointer-events: none; }
.chat-version-new #statusMount { position: fixed; top: 2.8125rem; left: 0; right: 0; width: auto; height: auto; z-index: 1500; }
.chat-version-new #statusMount:empty { display: none; }
.chat-version-new #msglistview { max-width: 960px; margin: auto; padding: 12px 16px 24px; }
.chat-version-new #scrollview { top: calc(2.8125rem + var(--new-status-height, 0px)); bottom: 6.75rem; z-index: 1; }
.chat-version-new .item { display: flex; margin: 0 0 20px; padding: 0; width: 100%; }
.chat-version-new .touch-scope { width: 100%; min-width: 0; }
.chat-version-new .content { box-sizing: border-box; max-width: 100%; overflow-wrap: anywhere; color: var(--chat-bubble-text); line-height: 1.65; padding: 12px; }
.chat-version-new .content.left { background: var(--chat-bubble-ai-bg); }
.chat-version-new .content.right { background: var(--chat-bubble-user-bg); width: fit-content; margin-left: auto; }
.chat-version-new .content pre { overflow-x: auto; white-space: pre-wrap; }
.chat-version-new .content img { max-width: 100%; height: auto; }
.chat-version-new .chat-bottom { z-index: 8100; background: var(--chat-composer-bg); color: var(--chat-composer-text); }
.chat-version-new [data-chat="input"] { background: var(--chat-input-bg); color: var(--chat-input-text); border-color: var(--chat-input-border); }
.chat-version-new [data-chat="author-stage"] { position: fixed; inset: 2.8125rem 0 6.75rem; z-index: 2000; overflow: auto; background: var(--chat-bg); }
.chat-version-new [data-chat="author-stage"][data-mode="full"] { inset: 0; z-index: 3000; }
.chat-version-new[data-composer="hidden"] .chat-bottom { display: none; }
.chat-version-new[data-composer="hidden"] #scrollview { bottom: 0; }
.chat-version-new [hidden] { display: none !important; }
@media (max-width: 600px) {
  .chat-version-new #msglistview { padding: 8px 8px 20px; }
  .chat-version-new .content { padding: 6px; }
}
