diff --git a/static/src/styles/components/chat/_chat-area.scss b/static/src/styles/components/chat/_chat-area.scss index f87685c9..0fa284c3 100644 --- a/static/src/styles/components/chat/_chat-area.scss +++ b/static/src/styles/components/chat/_chat-area.scss @@ -1440,7 +1440,9 @@ body[data-theme='dark'] .collapsible-header:hover { position: relative; border: 1px solid var(--border-default); border-radius: 16px; - background: var(--surface-card); + /* 背景保持透明(沿用 token 清理前的实际视觉):深色下 --surface-card 比聊天区底色更黑, + 实色底会让半透明 hairline 边框的亮度差被放大,看起来像边框变浅 */ + background: transparent; box-shadow: none; overflow: hidden; min-height: 0; @@ -1481,7 +1483,8 @@ body[data-theme='dark'] .collapsible-header:hover { .stacked-more-block { position: absolute; inset: 0 0 auto 0; - background: var(--surface-card); + /* 与 shell 一致保持透明,避免深色下顶部出现一条更黑的色带 */ + background: transparent; border-bottom: 0 solid var(--border-default); display: flex; align-items: center;