dsh-remote-plugin 0.8.2 → 0.8.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/README.md +1 -1
  2. package/apk/dsh-remote.apk +0 -0
  3. package/approval-summary.mjs +115 -0
  4. package/gateway.cjs +708 -70
  5. package/index.mjs +12 -0
  6. package/insights.mjs +6 -4
  7. package/market.mjs +4 -1
  8. package/package.json +2 -1
  9. package/plugin-center.mjs +208 -24
  10. package/plugin-transaction.mjs +29 -6
  11. package/public/admin.html +33 -34
  12. package/public/admin.js +12 -24
  13. package/public/announcements.json +31 -0
  14. package/public/app.js +99 -80
  15. package/public/approval-summary.js +78 -0
  16. package/public/build.json +2 -2
  17. package/public/cache-upgrade.js +51 -0
  18. package/public/chat-copy.js +59 -0
  19. package/public/desktop/desktop.css +23 -34
  20. package/public/desktop/desktop.html +83 -96
  21. package/public/desktop/desktop.js +68 -51
  22. package/public/e2ee-transport.js +147 -0
  23. package/public/extensions.js +6 -6
  24. package/public/history.js +88 -6
  25. package/public/image-cache.js +141 -0
  26. package/public/image-preview.js +48 -5
  27. package/public/index.html +86 -104
  28. package/public/md.js +39 -15
  29. package/public/motion.js +1 -1
  30. package/public/plugin-center.css +1 -0
  31. package/public/plugin-center.js +93 -12
  32. package/public/plugin.html +27 -20
  33. package/public/relay-devices.js +74 -0
  34. package/public/relay-settings.css +7 -0
  35. package/public/relay-settings.js +17 -9
  36. package/public/session-deck.css +7 -1
  37. package/public/session-deck.js +1 -1
  38. package/public/skins/blue-fish/DESIGN.md +24 -0
  39. package/public/skins/blue-fish/preview.html +12 -289
  40. package/public/skins/blue-fish/skin.css +95 -585
  41. package/public/skins/blue-fish/sparkles.svg +18 -0
  42. package/public/skins/bocchi/DESIGN.md +99 -0
  43. package/public/skins/bocchi/face.png +0 -0
  44. package/public/skins/bocchi/grain.png +0 -0
  45. package/public/skins/bocchi/icon-blush.png +0 -0
  46. package/public/skins/bocchi/icon-sleep.png +0 -0
  47. package/public/skins/bocchi/icon-smile.png +0 -0
  48. package/public/skins/bocchi/icon-star.png +0 -0
  49. package/public/skins/bocchi/icon-wink.png +0 -0
  50. package/public/skins/bocchi/icon.png +0 -0
  51. package/public/skins/bocchi/pattern-soft.png +0 -0
  52. package/public/skins/bocchi/pattern.png +0 -0
  53. package/public/skins/bocchi/preview.html +55 -0
  54. package/public/skins/bocchi/skin.css +233 -0
  55. package/public/skins/bocchi/stage-bg.png +0 -0
  56. package/public/skins/bocchi/stage-soft.png +0 -0
  57. package/public/skins/bocchi/stand.png +0 -0
  58. package/public/skins/bocchi/sticker-guitar.png +0 -0
  59. package/public/skins/kessoku/DESIGN.md +38 -0
  60. package/public/skins/kessoku/grain.png +0 -0
  61. package/public/skins/kessoku/skin.css +212 -0
  62. package/public/skins/kita/SOURCES.json +51 -0
  63. package/public/skins/kita/face.png +0 -0
  64. package/public/skins/kita/icon-live.png +0 -0
  65. package/public/skins/kita/icon-reddress.png +0 -0
  66. package/public/skins/kita/icon-seifuku.png +0 -0
  67. package/public/skins/kita/pattern.png +0 -0
  68. package/public/skins/kita/preview.html +56 -0
  69. package/public/skins/kita/skin.css +26 -0
  70. package/public/skins/kita/stand.png +0 -0
  71. package/public/skins/kita/sticker-live.png +0 -0
  72. package/public/skins/nijika/SOURCES.json +51 -0
  73. package/public/skins/nijika/face.png +0 -0
  74. package/public/skins/nijika/icon-live.png +0 -0
  75. package/public/skins/nijika/icon-reddress.png +0 -0
  76. package/public/skins/nijika/icon-seifuku.png +0 -0
  77. package/public/skins/nijika/pattern.png +0 -0
  78. package/public/skins/nijika/preview.html +56 -0
  79. package/public/skins/nijika/skin.css +25 -0
  80. package/public/skins/nijika/stand.png +0 -0
  81. package/public/skins/nijika/sticker-live.png +0 -0
  82. package/public/skins/penguin/DESIGN.md +33 -0
  83. package/public/skins/penguin/SOURCES.json +22 -0
  84. package/public/skins/penguin/aic-blueprint.svg +24 -0
  85. package/public/skins/penguin/endfield-triangles.svg +4 -0
  86. package/public/skins/penguin/face.png +0 -0
  87. package/public/skins/penguin/icon-blush.png +0 -0
  88. package/public/skins/penguin/icon-dizzy.png +0 -0
  89. package/public/skins/penguin/icon-laugh.png +0 -0
  90. package/public/skins/penguin/icon-sleep.png +0 -0
  91. package/public/skins/penguin/icon-smile.png +0 -0
  92. package/public/skins/penguin/icon-star.png +0 -0
  93. package/public/skins/penguin/icon-wink.png +0 -0
  94. package/public/skins/penguin/icon.png +0 -0
  95. package/public/skins/penguin/mascot.png +0 -0
  96. package/public/skins/penguin/pattern-night.png +0 -0
  97. package/public/skins/penguin/pattern.png +0 -0
  98. package/public/skins/penguin/preview.html +12 -0
  99. package/public/skins/penguin/skin.css +212 -0
  100. package/public/skins/ryo/SOURCES.json +51 -0
  101. package/public/skins/ryo/face.png +0 -0
  102. package/public/skins/ryo/icon-live.png +0 -0
  103. package/public/skins/ryo/icon-reddress.png +0 -0
  104. package/public/skins/ryo/icon-seifuku.png +0 -0
  105. package/public/skins/ryo/pattern.png +0 -0
  106. package/public/skins/ryo/preview.html +56 -0
  107. package/public/skins/ryo/skin.css +25 -0
  108. package/public/skins/ryo/stand.png +0 -0
  109. package/public/skins/ryo/sticker-live.png +0 -0
  110. package/public/sponsor-entry.js +21 -0
  111. package/public/styles.css +29 -19
  112. package/public/teams.js +2 -2
  113. package/public/theme-picker.css +58 -0
  114. package/public/theme-vars.css +532 -5
  115. package/public/theme.js +111 -3
  116. package/public/update.json +12 -12
  117. package/public/version.json +1 -1
  118. package/public/workflow.css +2 -1
  119. package/public/workflow.js +27 -5
  120. package/skills/dsh-remote-doctor/references/wiki/plugins.md +1 -1
  121. package/task-board.mjs +2 -2
  122. package/teams.mjs +7 -2
@@ -23,590 +23,100 @@
23
23
  * pattern.png 背景表情瓦片(star/sleep/blush 混排)
24
24
  */
25
25
 
26
- /* ============ 全局氛围:晴空水面 + 角色瓦片 ============ */
27
- html[data-theme="fish"] {
28
- --dsr-radius: 16px;
29
- }
30
26
 
27
+ /* 晴空海湾:淡底纹、海浪留白、蓝白内容卡;角色不再反复盖在正文后。 */
31
28
  html[data-theme="fish"] {
32
- /* 背景画在根元素上:body 只有内容高度,画在 body 上会在视口下方露底,形成横向接缝 */
33
- background-color: var(--dsr-bg);
34
- background-image:
35
- radial-gradient(1200px 520px at 18% -8%, rgba(255, 255, 255, .94), transparent 62%),
36
- radial-gradient(900px 440px at 92% -4%, rgba(255, 175, 201, .26), transparent 66%),
37
- radial-gradient(1000px 620px at 50% 108%, rgba(95, 200, 255, .32), transparent 70%),
38
- url("pattern.png");
39
- background-repeat: no-repeat, no-repeat, no-repeat, repeat;
40
- background-size: auto, auto, auto, 560px 560px;
41
- background-position: center top, center top, center bottom, left top;
42
- background-attachment: fixed, fixed, fixed, fixed;
43
- }
44
-
45
- html[data-theme="fish"] body {
46
- background: transparent;
47
- }
48
-
49
- /* 引导融入偏好列表;小头像沿用设置装饰,不再占用页首横幅。 */
50
- html[data-theme="fish"] .onboarding-restart-icon {
51
- background: linear-gradient(145deg, rgba(234, 246, 255, .9), rgba(228, 234, 255, .7));
52
- border-radius: 12px;
53
- }
54
- html[data-theme="fish"] .onboarding-restart-icon::before {
55
- content: '';
56
- width: 29px;
57
- height: 29px;
58
- background: url("icon-smile.png") center / contain no-repeat;
59
- }
60
-
61
- /* ============ 顶栏:品牌位换成鲸鱼娘头像 ============ */
62
- html[data-theme="fish"] .topbar {
63
- background: linear-gradient(180deg, rgba(234, 246, 255, .97), rgba(216, 236, 255, .93));
64
- border-bottom-color: #B4D6F2;
65
- }
66
-
67
- html[data-theme="fish"] .brand-dot {
68
- width: 36px;
69
- height: 29px;
70
- border-radius: 0;
71
- background: url("face.png") center / contain no-repeat;
72
- box-shadow: none;
73
- animation: fish-bob 3.8s ease-in-out infinite;
74
- }
75
-
76
- html[data-theme="fish"] .brand-trigger:active {
77
- background: linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(255, 175, 201, .26));
78
- }
79
-
80
- /* ============ 章节标题 + 页面大标题:角色小图标 ============ */
81
- html[data-theme="fish"] .section-head > span:first-child,
82
- html[data-theme="fish"] .overview-section-head > span:first-child {
83
- display: inline-flex;
84
- align-items: center;
85
- gap: 6px;
86
- }
87
-
88
- html[data-theme="fish"] .section-head > span:first-child::before,
89
- html[data-theme="fish"] .overview-section-head > span:first-child::before,
90
- html[data-theme="fish"] .overview-eyebrow::before,
91
- html[data-theme="fish"] .ds-overview-eyebrow::before,
92
- html[data-theme="fish"] .ds-section-label::before,
93
- html[data-theme="fish"] .plugin-eyebrow::before,
94
- html[data-theme="fish"] .plugin-section-head > span:first-child::before,
95
- html[data-theme="fish"] .workflow-settings-section > h2::before,
96
- html[data-theme="fish"] .workflow-more-group > h2::before,
97
- html[data-theme="fish"] .workflow-attention > h2::before,
98
- html[data-theme="fish"] .workflow-sheet-head h2::before,
99
- html[data-theme="fish"] .workflow-data-settings h3::before {
100
- content: '';
101
- display: inline-block;
102
- width: 30px;
103
- height: 25px;
104
- margin-right: 7px;
105
- vertical-align: -2px;
106
- background: url("icon.png") center / contain no-repeat;
107
- }
108
-
109
- html[data-theme="fish"] .section-head > span:first-child::before,
110
- html[data-theme="fish"] .overview-section-head > span:first-child::before {
111
- margin-right: 0;
112
- }
113
-
114
- html[data-theme="fish"] .plugin-eyebrow::before,
115
- html[data-theme="fish"] .overview-eyebrow::before,
116
- html[data-theme="fish"] .ds-overview-eyebrow::before {
117
- margin-right: 5px;
118
- }
119
-
120
- /* 手机/桌面当前布局的大标题「工作空间 / 会话 / 更多」 */
121
- html[data-theme="fish"] .workflow-page-head h1::before {
122
- content: '';
123
- display: inline-block;
124
- width: 42px;
125
- height: 34px;
126
- margin-right: 11px;
127
- vertical-align: -4px;
128
- background: url("icon-star.png") center / contain no-repeat;
129
- animation: fish-bob 4s ease-in-out infinite;
130
- }
131
-
132
- /* 首页标题右侧的吉祥物(不挡交互) */
133
- html[data-theme="fish"] .workflow-start {
134
- position: relative;
135
- }
136
-
137
- html[data-theme="fish"] .workflow-start::after {
138
- content: '';
139
- position: absolute;
140
- top: -6px;
141
- right: 2px;
142
- width: 112px;
143
- height: 117px;
144
- background: url("mascot.png") center bottom / contain no-repeat;
145
- pointer-events: none;
146
- filter: drop-shadow(0 6px 10px rgba(23, 40, 79, .18));
147
- }
148
-
149
- @media (max-width: 360px) {
150
- html[data-theme="fish"] .workflow-start::after { width: 88px; height: 92px; }
151
- }
152
-
153
- /* ============ 设置分组:角色角标 + 入口小图标 ============ */
154
- html[data-theme="fish"] .settings-group {
155
- position: relative;
156
- isolation: isolate;
157
- background:
158
- linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(244, 251, 255, .98));
159
- }
160
- html[data-theme="fish"] .settings-group::after {
161
- content: '';
162
- position: absolute;
163
- right: 10px;
164
- bottom: 7px;
165
- z-index: -1;
166
- width: 42px;
167
- height: 34px;
168
- background: url("icon.png") center / contain no-repeat;
169
- opacity: .18;
170
- pointer-events: none;
171
- }
172
-
173
- html[data-theme="fish"] .setting-link .setting-name::before,
174
- html[data-theme="fish"] .ds-setting-link .ds-setting-name::before {
175
- content: '';
176
- display: inline-block;
177
- width: 27px;
178
- height: 22px;
179
- margin-right: 6px;
180
- vertical-align: -1px;
181
- background: url("icon.png") center / contain no-repeat;
182
- }
183
-
184
- /* 新版 UI 的设置行左侧已有主题图标块(workflow-setting-icon),不再重复叠加头像 */
185
- html[data-theme="fish"] .workflow-settings-list :is(.setting-link, .ds-setting-link) :is(.setting-name, .ds-setting-name)::before {
186
- content: none;
187
- display: none;
188
- }
189
-
190
- /* 设置子页:分组卡片与标题的身份徽标 */
191
- html[data-theme="fish"] .workflow-settings-section > h2 {
192
- display: inline-flex;
193
- align-items: center;
194
- }
195
-
196
- html[data-theme="fish"] .workflow-settings-card {
197
- position: relative;
198
- isolation: isolate;
199
- }
200
-
201
- html[data-theme="fish"] .workflow-settings-card::after {
202
- content: '';
203
- position: absolute;
204
- right: 12px;
205
- bottom: 8px;
206
- z-index: -1;
207
- width: 50px;
208
- height: 40px;
209
- background: url("icon-blush.png") center / contain no-repeat;
210
- opacity: .14;
211
- pointer-events: none;
212
- }
213
-
214
- html[data-theme="fish"] .workflow-subpage-identity .workflow-setting-icon {
215
- position: relative;
216
- }
217
-
218
- html[data-theme="fish"] .workflow-subpage-identity .workflow-setting-icon::after {
219
- content: '';
220
- position: absolute;
221
- right: -6px;
222
- bottom: -5px;
223
- width: 28px;
224
- height: 23px;
225
- background: url("icon-star.png") center / contain no-repeat;
226
- filter: drop-shadow(0 1px 1px rgba(23, 40, 79, .22));
227
- }
228
-
229
- /* ============ 会话卡片 / 统计卡:角色角标 ============ */
230
- html[data-theme="fish"] .stat {
231
- position: relative;
232
- overflow: hidden;
233
- background: linear-gradient(160deg, #FFFFFF, #EAF6FF 78%);
234
- }
235
-
236
- html[data-theme="fish"] .stat::after {
237
- content: '';
238
- position: absolute;
239
- top: 7px;
240
- right: 7px;
241
- width: 42px;
242
- height: 34px;
243
- background: url("icon-smile.png") center / contain no-repeat;
244
- opacity: .22;
245
- pointer-events: none;
246
- }
247
-
248
- html[data-theme="fish"] .session-card {
249
- border-color: #C6DDF4;
250
- background: linear-gradient(170deg, #FFFFFF, #F6FBFF 82%);
251
- }
252
-
253
- html[data-theme="fish"] .session-card::after {
254
- content: '';
255
- position: absolute;
256
- right: 34px;
257
- bottom: 7px;
258
- width: 36px;
259
- height: 29px;
260
- background: url("icon-sleep.png") center / contain no-repeat;
261
- opacity: .17;
262
- pointer-events: none;
263
- }
264
-
265
- html[data-theme="fish"] .session-card.current {
266
- border-color: var(--dsr-accent-line);
267
- box-shadow: 0 0 0 1px var(--dsr-accent-soft), 0 6px 16px rgba(23, 40, 79, .09);
268
- }
269
-
270
- /* ============ 气泡与角色:DSH 说话时带鲸鱼娘头像 ============ */
271
- html[data-theme="fish"] .msg.assistant .role::before,
272
- html[data-theme="fish"] .ds-msg.assistant .role::before {
273
- content: '';
274
- display: inline-block;
275
- width: 28px;
276
- height: 22px;
277
- margin-right: 4px;
278
- vertical-align: -1px;
279
- background: url("icon.png") center / contain no-repeat;
280
- }
281
-
282
- html[data-theme="fish"] .msg.user {
283
- background: linear-gradient(160deg, var(--dsr-accent-strong), var(--dsr-accent));
284
- }
285
-
286
- html[data-theme="fish"] .msg.assistant {
287
- background: linear-gradient(170deg, #FFFFFF, #F4FAFF);
288
- }
289
-
290
- /* ============ 空状态:全身立绘上岗 ============ */
291
- html[data-theme="fish"] .empty::before,
292
- html[data-theme="fish"] .ds-empty::before {
293
- content: '';
294
- display: block;
295
- width: 150px;
296
- height: 156px;
297
- margin: 0 auto 8px;
298
- background: url("mascot.png") center bottom / contain no-repeat;
299
- animation: fish-bob 4.2s ease-in-out infinite;
300
- }
301
-
302
- html[data-theme="fish"] .overview-empty::before {
303
- content: '';
304
- display: inline-block;
305
- width: 29px;
306
- height: 23px;
307
- margin-right: 5px;
308
- vertical-align: -2px;
309
- background: url("icon-blush.png") center / contain no-repeat;
310
- }
311
-
312
- /* ============ 弹层标题 / toast:角色点缀 ============ */
313
- html[data-theme="fish"] .modal-title::before,
314
- html[data-theme="fish"] .ds-modal-title::before,
315
- html[data-theme="fish"] .admin-title h1::before {
316
- content: '';
317
- display: inline-block;
318
- width: 31px;
319
- height: 25px;
320
- margin-right: 8px;
321
- vertical-align: -2px;
322
- background: url("icon-smile.png") center / contain no-repeat;
323
- }
324
-
325
- html[data-theme="fish"] .toast::before {
326
- content: '';
327
- display: inline-block;
328
- width: 27px;
329
- height: 22px;
330
- margin-right: 6px;
331
- vertical-align: -1px;
332
- background: url("icon-wink.png") center / contain no-repeat;
333
- }
334
-
335
- /* 插件抽屉状态面板 */
336
- html[data-theme="fish"] .plugin-brand-mark {
337
- width: 30px;
338
- height: 24px;
339
- border-radius: 0;
340
- background: url("face.png") center / contain no-repeat;
341
- box-shadow: none;
342
- }
343
-
344
- /* ============ 底部导航:角色主按钮 + 每个入口上方对齐的小头像 ============ */
345
- html[data-theme="fish"] .nav-wave-fill {
346
- fill: #FFFFFF;
347
- }
348
-
349
- html[data-theme="fish"] .nav-wave-line {
350
- stroke: #8FC3EA;
351
- }
352
-
353
- /* 新版 UI 是「会话 / 文件 / 更多」三格网格;每个 nav-btn 自己挂一个伪元素,
354
- * 头像随列宽自动居中,不再用整条导航的背景三层硬定位(旧版会歪)。 */
355
- html[data-theme="fish"] .workflow-v8 .bottom-nav .nav-btn::before {
356
- content: '';
357
- position: absolute;
358
- top: -30px;
359
- left: 50%;
360
- width: 34px;
361
- height: 28px;
362
- transform: translateX(-50%);
363
- background: url("icon.png") center / contain no-repeat;
364
- pointer-events: none;
365
- opacity: .95;
366
- }
367
-
368
- html[data-theme="fish"] .workflow-v8 .bottom-nav .nav-btn:nth-child(1)::before { background-image: url("icon.png"); }
369
- html[data-theme="fish"] .workflow-v8 .bottom-nav .nav-btn:nth-child(2)::before { background-image: url("icon-wink.png"); }
370
- html[data-theme="fish"] .workflow-v8 .bottom-nav .nav-btn:nth-child(3)::before { background-image: url("icon-star.png"); }
371
-
372
- html[data-theme="fish"] .workflow-v8 .bottom-nav .nav-btn.active::before {
373
- filter: drop-shadow(0 2px 4px rgba(23, 40, 79, .2));
374
- }
375
-
376
- @media (max-width: 360px) {
377
- html[data-theme="fish"] .workflow-v8 .bottom-nav .nav-btn::before { top: -27px; width: 30px; height: 24px; }
378
- }
379
-
380
- html[data-theme="fish"] .nav-home-orb {
381
- background-color: #FFFFFF;
382
- background-image: url("face.png");
383
- background-repeat: no-repeat;
384
- background-position: center;
385
- background-size: 62px 50px;
386
- border-color: #9AC4F2;
387
- box-shadow: 0 6px 20px rgba(23, 40, 79, .16), inset 0 0 0 1px rgba(255, 255, 255, .9);
388
- }
389
-
390
- html[data-theme="fish"] .nav-home .nav-ico {
391
- opacity: 0;
392
- }
393
-
394
- html[data-theme="fish"] .nav-home.active {
395
- color: var(--dsr-nav-active);
396
- }
397
-
398
- html[data-theme="fish"] .nav-home.active .nav-home-orb {
399
- background-color: #EDF7FF;
400
- background-image: url("face.png");
401
- border-color: var(--dsr-accent);
402
- box-shadow: 0 8px 26px var(--dsr-glow), inset 0 0 0 2px rgba(255, 255, 255, .95);
403
- animation: fish-wiggle 3.2s ease-in-out infinite;
404
- }
405
-
406
- /* ============ 团队与任务:角色点缀留在标题,阅读区域保持实色 ============ */
407
- html[data-theme="fish"] :is(.teams-card, .task-card, .ext-toolbar) {
408
- border-color: #B7D5F1;
409
- background: #FFFFFF;
410
- box-shadow: 0 5px 18px rgba(31, 71, 133, .055);
411
- }
412
- html[data-theme="fish"] .ext-toolbar {
413
- background: linear-gradient(145deg, #FFFFFF, #F0F7FF);
414
- }
415
- html[data-theme="fish"] :is(.team-member, .team-task, .task-outcomes) {
416
- background: #F3F8FF;
417
- border-color: #C7DDF2;
418
- }
419
- html[data-theme="fish"] .ext-eyebrow {
420
- display: flex;
421
- align-items: center;
422
- gap: 7px;
423
- }
424
- html[data-theme="fish"] .ext-eyebrow::before {
425
- content: '';
426
- flex: 0 0 28px;
427
- width: 28px;
428
- height: 23px;
429
- background: url("icon-star.png") center / contain no-repeat;
430
- pointer-events: none;
431
- }
432
- html[data-theme="fish"] .teams-page .ext-eyebrow::before {
433
- background-image: url("icon-smile.png");
434
- }
435
- html[data-theme="fish"] .ext-button-primary {
436
- background: #E9F0FF;
437
- border-color: #A7C3EE;
438
- color: var(--dsr-accent-strong);
439
- }
440
- html[data-theme="fish"] .ext-button-primary:hover {
441
- background: #DCE8FF;
442
- border-color: var(--dsr-accent);
443
- }
444
-
445
- /* ============ 皮肤选择卡:任意主题下都能认出这个角色 ============ */
446
- .theme-option[data-theme="fish"] {
447
- border-color: #9AC4F2;
448
- background: linear-gradient(160deg, #FFFFFF, #EAF6FF 62%, #FFE3EC);
449
- color: #17284F;
450
- }
451
-
452
- .theme-option[data-theme="fish"] .theme-name {
453
- color: #17284F;
454
- }
455
-
456
- .theme-option[data-theme="fish"] .theme-check {
457
- color: #2440B0;
458
- }
459
-
460
- .theme-option[data-theme="fish"] .theme-swatches {
461
- position: relative;
462
- }
463
-
464
- .theme-option[data-theme="fish"] .theme-swatches::after {
465
- content: '';
466
- position: absolute;
467
- right: 3px;
468
- bottom: 2px;
469
- width: 38px;
470
- height: 31px;
471
- background: url("icon-star.png") center / contain no-repeat;
472
- filter: drop-shadow(0 1px 1px rgba(23, 40, 79, .3));
473
- }
474
-
475
- /* ============ 桌面端:侧栏角色、空状态与对话头像 ============ */
476
- html[data-theme="fish"] .ds-sidebar {
477
- background-image: url("pattern.png"), linear-gradient(180deg, #FFFFFF, #EAF6FF 92%);
478
- background-repeat: repeat, no-repeat;
479
- background-size: 300px 300px, auto;
480
- }
481
-
482
- html[data-theme="fish"] .ds-logo {
483
- width: 38px;
484
- height: 30px;
485
- flex: none;
486
- font-size: 0;
487
- line-height: 0;
488
- overflow: hidden;
489
- background: url("face.png") center / contain no-repeat;
490
- animation: fish-bob 3.8s ease-in-out infinite;
491
- }
492
-
493
- html[data-theme="fish"] .ds-nav-item[data-view="view-overview"] .ds-nav-ico {
494
- font-size: 0;
495
- line-height: 0;
496
- width: 26px; height: 26px; background: url("icon.png") center / contain no-repeat;
497
- }
498
-
499
- html[data-theme="fish"] .ds-brand-trigger[aria-expanded="true"] .ds-brand-caret {
500
- color: var(--dsr-accent-strong);
501
- }
502
-
503
- html[data-theme="fish"] .ds-topbar {
504
- background: linear-gradient(180deg, rgba(234, 246, 255, .96), rgba(234, 246, 255, .72));
505
- }
506
-
507
- html[data-theme="fish"] .ds-setting-link .ds-setting-name::before {
508
- content: '';
509
- display: inline-block;
510
- width: 27px;
511
- height: 22px;
512
- margin-right: 6px;
513
- vertical-align: -1px;
514
- background: url("icon.png") center / contain no-repeat;
515
- }
516
-
517
- html[data-theme="fish"] .ds-empty::before {
518
- content: '';
519
- display: block;
520
- width: 168px;
521
- height: 175px;
522
- margin: 0 auto 10px;
523
- background: url("mascot.png") center bottom / contain no-repeat;
524
- animation: fish-bob 4.2s ease-in-out infinite;
525
- }
526
-
527
- html[data-theme="fish"] .ds-msg.assistant .role::before {
528
- content: '';
529
- display: inline-block;
530
- width: 27px;
531
- height: 21px;
532
- margin-right: 4px;
533
- vertical-align: -1px;
534
- background: url("icon.png") center / contain no-repeat;
535
- }
536
-
537
- html[data-theme="fish"] .ds-composer {
538
- background: linear-gradient(180deg, #FFFFFF, #F2FAFF);
539
- }
540
-
541
- /* ============ 会话页/桌面背景连续性 ============
542
- * 新版 UI 的 .ds-main / .session-card / .session-head / .composer-wrap 默认用不透明
543
- * var(--dsr-bg) 铺底,会把 body 上的角色瓦片切成硬边矩形;这里改成半透明或透明,
544
- * 让底纹整页连续,同时用磨砂保证文字可读。 */
545
- html[data-theme="fish"] .workflow-v8 .ds-main {
546
- background: transparent;
547
- }
548
-
549
- /* 首页那层矩形水洗渐变会在主题色下形成横向接缝,直接去掉 */
550
- html[data-theme="fish"] .workflow-v8 #view-home .workflow-start {
551
- background: none;
552
- }
553
-
554
- /* 会话列表行:透明铺开,让底纹从列表后面连续透出 */
555
- html[data-theme="fish"] .workflow-v8 .session-card,
556
- html[data-theme="fish"] .workflow-v8 .session-swipe {
557
- background: transparent;
558
- }
559
-
560
- /* 透明会话卡片无法遮住背后的归档层;按钮本身随左滑进入裁剪区域。
561
- * --swipe-x 由现有手势维护,revealed 对应松手后的完整展开状态。
562
- * 同时覆盖最近会话与工作区列表,关闭时不留下可点击的红色区域。 */
563
- html[data-theme="fish"] .session-swipe .sc-archive-btn {
564
- transform: translateX(calc(100% + var(--swipe-x, 0px)));
565
- transition: transform .18s ease;
566
- }
567
- html[data-theme="fish"] .session-swipe.revealed .sc-archive-btn {
568
- transform: translateX(0);
569
- }
570
-
571
- /* 会话页顶栏:半透明磨砂,滚动时仍能压住内容 */
572
- html[data-theme="fish"] .workflow-v8 .session-head {
573
- background: rgba(234, 246, 255, .86);
574
- -webkit-backdrop-filter: blur(12px);
575
- backdrop-filter: blur(12px);
576
- }
577
-
578
- /* 输入区悬浮卡:白磨砂,浮在底纹之上 */
579
- html[data-theme="fish"] .workflow-v8 .composer-wrap {
580
- background: rgba(255, 255, 255, .92);
581
- -webkit-backdrop-filter: blur(14px);
582
- backdrop-filter: blur(14px);
583
- }
584
-
585
- /* 会话页其它实色块一并统一 */
586
- html[data-theme="fish"] .workflow-v8 .queue-dock,
587
- html[data-theme="fish"] .workflow-v8 .session-pending,
588
- html[data-theme="fish"] .workflow-v8 .history-wrap {
589
- background: transparent;
590
- }
591
-
592
- /* ============ 动效(尊重减少动态效果偏好) ============ */
593
- @keyframes fish-bob {
594
- 0%, 100% { transform: translateY(0); }
595
- 50% { transform: translateY(-2px); }
596
- }
597
-
598
- @keyframes fish-wiggle {
599
- 0%, 100% { transform: rotate(-2deg); }
600
- 50% { transform: rotate(2deg); }
601
- }
602
-
603
- @media (prefers-reduced-motion: reduce) {
604
- html[data-theme="fish"] .brand-dot,
605
- html[data-theme="fish"] .nav-home.active .nav-home-orb,
606
- html[data-theme="fish"] .empty::before,
607
- html[data-theme="fish"] .ds-empty::before,
608
- html[data-theme="fish"] .ds-logo,
609
- html[data-theme="fish"] .workflow-page-head h1::before {
610
- animation: none;
611
- }
612
- }
29
+ --dsr-radius: 18px; --fish-paper: #F5FBFF; --fish-card: #FFFFFF; --fish-line: #CEDFEF;
30
+ --fish-soft: #EDF5FF; --fish-shadow: rgba(37, 71, 117, .065);
31
+ --fish-nav-chat: url("icon.png"); --fish-nav-files: url("icon-wink.png"); --fish-nav-more: url("icon-star.png");
32
+ background-color: var(--fish-paper);
33
+ background-image: radial-gradient(ellipse at 100% 0, #DDEFFF, transparent 58%), radial-gradient(ellipse at 0 100%, #DCF6FF, transparent 62%), linear-gradient(145deg, #FFFFFF, var(--fish-paper));
34
+ background-attachment: fixed;
35
+ }
36
+ html[data-theme="fish"] body { background: transparent; isolation: isolate; }
37
+ html[data-theme="fish"] body::after {
38
+ content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
39
+ background: url("pattern.png") left top / 520px 520px repeat; opacity: .32;
40
+ mask-image: linear-gradient(130deg, #000, transparent 50%, rgba(0, 0, 0, .55));
41
+ }
42
+ html[data-theme="fish"] body::before {
43
+ content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
44
+ background-image: url("sparkles.svg"), radial-gradient(ellipse at 100% 100%, transparent 59%, #9DD8F455 59.4% 59.7%, transparent 60.1%), radial-gradient(ellipse at 100% 100%, transparent 65%, #ADD5EC55 65.4% 65.7%, transparent 66.1%);
45
+ background-size: 480px 720px, 640px 300px, 740px 340px; background-position: center top, right -180px bottom 30px, right -180px bottom 30px; background-repeat: no-repeat;
46
+ }
47
+
48
+ /* 品牌与首页立绘有各自留白,连接入口不再被全身图压住。 */
49
+ html[data-theme="fish"] :is(.brand-dot, .ds-logo, .plugin-brand-mark) { width: 35px; height: 30px; flex: none; border-radius: 0; background: url("face.png") center / contain no-repeat; box-shadow: none; }
50
+ html[data-theme="fish"] .ds-logo { font-size: 0; line-height: 0; overflow: hidden; }
51
+ html[data-theme="fish"] :is(.topbar, .ds-topbar) { background: #F8FCFF; border-color: var(--fish-line); box-shadow: inset 0 -2px #B8DEF3; }
52
+ html[data-theme="fish"] .workflow-start { background: none; border: 0; border-radius: 0; box-shadow: none; }
53
+ html[data-theme="fish"] .workflow-start::after { content: none; }
54
+ html[data-theme="fish"] .workflow-start .workflow-page-head::before { content: 'BLUE WHALE / LITTLE OCEAN'; display: block; margin-bottom: 9px; color: var(--dsr-muted); font: 9px/1.5 ui-monospace, monospace; letter-spacing: .08em; }
55
+ html[data-theme="fish"] .workflow-page-head h1 { color: var(--dsr-text); font-weight: 750; letter-spacing: -.03em; }
56
+ html[data-theme="fish"] .workflow-page-head h1::before { content: ''; display: inline-block; width: 30px; height: 27px; margin-right: 9px; vertical-align: -5px; background: url("icon-star.png") center / contain no-repeat; pointer-events: none; }
57
+ html[data-theme="fish"] .workflow-start .workflow-page-head h1 { position: relative; box-sizing: border-box; min-height: 64px; padding-right: 100px; display: flex; align-items: center; font-size: clamp(20px, 6vw, 24px); }
58
+ html[data-theme="fish"] .workflow-start .workflow-page-head h1::before { flex: none; }
59
+ html[data-theme="fish"] .workflow-start .workflow-page-head h1::after { content: ''; position: absolute; right: 0; top: -13px; width: 86px; height: 86px; border-radius: 48% 52% 46% 54%; background: url("mascot.png") center / contain no-repeat, #EDF6FF; box-shadow: 0 0 0 4px #FFFFFFC7, 3px 4px 0 #F8DCE8; pointer-events: none; }
60
+ html[data-theme="fish"] :is(.section-head > span:first-child, .overview-section-head > span:first-child, .workflow-settings-section > h2, .workflow-more-group > h2, .workflow-attention > h2, .ds-section-label)::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 8px; vertical-align: 2px; border-radius: 50%; background: #72B8DF; pointer-events: none; }
61
+
62
+ /* 内容独立为白卡,主要操作为深海蓝;诊断与工作区选择保持中性。 */
63
+ html[data-theme="fish"] .workflow-v8 :is(.ds-main, #view-home .workflow-start, .queue-dock, .session-pending, .history-wrap) { background: transparent; }
64
+ html[data-theme="fish"] :is(.workflow-connection, .home-doctor, .workspace-nav, .workflow-settings-card, .settings-group, .stat, .teams-card, .task-card, .ext-toolbar) { background: var(--fish-card); border: 1px solid var(--fish-line); border-radius: 16px; box-shadow: 0 3px 12px var(--fish-shadow); }
65
+ html[data-theme="fish"] .home-doctor > span { color: var(--dsr-text); }
66
+ html[data-theme="fish"] .home-doctor > b { color: var(--dsr-muted); }
67
+ html[data-theme="fish"] .workflow-v8 :is(#btn-new-session.workflow-new-session, .ds-new-session #btn-new-session) { background: var(--dsr-accent); color: var(--dsr-on-accent); border-color: var(--dsr-accent); border-radius: 14px; font-weight: 650; box-shadow: 0 5px 14px #2F52D022; background-image: radial-gradient(circle at 95% 135%, #FFFFFF18 0 52px, transparent 53px), radial-gradient(circle at 100% 100%, #FFFFFF10 0 90px, transparent 91px); }
68
+ html[data-theme="fish"] .workflow-v8 :is(#btn-new-session.workflow-new-session, .ds-new-session #btn-new-session) { position: relative; }
69
+ html[data-theme="fish"] .workflow-v8 :is(#btn-new-session.workflow-new-session, .ds-new-session #btn-new-session)::after { content: ''; position: absolute; right: 12px; top: 8px; width: 34px; height: 29px; border: 1px solid #FFFFFF88; border-radius: 11px; background: url("icon-wink.png") center / auto 26px no-repeat, #FFFFFFEB; transform: rotate(5deg); pointer-events: none; }
70
+ html[data-theme="fish"] .workflow-v8 .session-swipe { margin-bottom: 8px; border: 1px solid var(--fish-line); border-radius: 15px; background: transparent; box-shadow: 0 2px 8px var(--fish-shadow); }
71
+ html[data-theme="fish"] .workflow-v8 .session-card { background: var(--fish-card); padding-inline: 14px; border: 0; border-radius: 13px; }
72
+ html[data-theme="fish"] .workflow-v8 .session-swipe:first-child .session-card::after { content: ''; position: absolute; right: 30px; bottom: 9px; width: 28px; height: 23px; background: url("icon-sleep.png") center / contain no-repeat; opacity: .78; transform: rotate(-7deg); pointer-events: none; }
73
+ html[data-theme="fish"] .session-card.current { background: var(--fish-soft); box-shadow: inset 3px 0 var(--dsr-accent); }
74
+ html[data-theme="fish"] .session-swipe .sc-archive-btn { transform: translateX(calc(100% + var(--swipe-x, 0px) + 1px)); transition: transform .18s ease; }
75
+ html[data-theme="fish"] .session-swipe.revealed .sc-archive-btn { transform: translateX(0); }
76
+ html[data-theme="fish"] .workflow-v8 #history { background: #F5FBFF url("sparkles.svg") right bottom / 480px 720px no-repeat; }
77
+ html[data-theme="fish"] .workflow-v8 :is(.msg.assistant, .ds-msg.assistant) { max-width: min(100%, 760px); padding: 14px 16px; background: var(--fish-card); border: 1px solid var(--fish-line); border-radius: 16px; color: var(--dsr-text); box-shadow: 0 2px 10px var(--fish-shadow); }
78
+ html[data-theme="fish"] :is(.msg.assistant, .ds-msg.assistant) .role::before { content: ''; display: inline-block; width: 26px; height: 23px; margin-right: 5px; vertical-align: -5px; background: url("icon.png") center / contain no-repeat; }
79
+ html[data-theme="fish"] .msg.user { background: var(--dsr-accent); color: var(--dsr-on-accent); border-radius: 15px; }
80
+ html[data-theme="fish"] .ds-msg.user { background: var(--fish-soft); color: var(--dsr-text); border-color: var(--dsr-accent-line); border-radius: 15px; }
81
+ html[data-theme="fish"] :is(.team-member, .team-task, .task-outcomes) { background: var(--fish-soft); border-color: var(--fish-line); }
82
+
83
+ /* 表情在原有图标位内呈现,不再在导航上方额外挂一排头像。 */
84
+ html[data-theme="fish"] :is(.bottom-nav, .composer-wrap, .ds-composer) { background: #FFFFFFF5; border-color: var(--fish-line); box-shadow: 0 4px 18px var(--fish-shadow); }
85
+ html[data-theme="fish"] .bottom-nav { border-radius: 22px; border-top: 2px solid #B7DCF1; }
86
+ html[data-theme="fish"] .bottom-nav::before { content: ''; position: absolute; width: 44px; height: 7px; border-radius: 0 0 50% 50%; background: #93CBEA; left: calc(50% - 22px); top: -2px; pointer-events: none; }
87
+ html[data-theme="fish"] .workflow-v8 .bottom-nav .nav-btn::before { content: none; }
88
+ html[data-theme="fish"] :is(.nav-btn, .ds-nav-item):is([data-view="view-home"], [data-view="view-sessions"], [data-view="view-overview"]) { --fish-nav-image: var(--fish-nav-chat); }
89
+ html[data-theme="fish"] :is(.nav-btn, .ds-nav-item)[data-view="view-files"] { --fish-nav-image: var(--fish-nav-files); }
90
+ html[data-theme="fish"] :is(.nav-btn, .ds-nav-item)[data-view="view-settings"] { --fish-nav-image: var(--fish-nav-more); }
91
+ html[data-theme="fish"] .workflow-v8 .bottom-nav .nav-btn .nav-ico { width: 48px; height: 32px; border-radius: 50%; background: var(--fish-nav-image) center / auto 29px no-repeat, #EEF7FF; opacity: .82; font-size: 0; }
92
+ html[data-theme="fish"] .workflow-v8 .bottom-nav .nav-btn.active .nav-ico { background: var(--fish-nav-image) center / auto 32px no-repeat, #FFF0F6; opacity: 1; box-shadow: 0 0 0 2px #FFFFFF, 0 2px 0 #F2CCDE; }
93
+ html[data-theme="fish"] .workflow-v8 .bottom-nav .nav-btn.active { border-radius: 15px; background: #EBF2FF; }
94
+ html[data-theme="fish"] :is(.bottom-nav .nav-ico, .ds-nav-ico) svg { display: none; }
95
+ html[data-theme="fish"] .ds-nav-item .ds-nav-ico { width: 32px; height: 28px; flex: none; background: var(--fish-nav-image) center / contain no-repeat; opacity: .82; font-size: 0; }
96
+ html[data-theme="fish"] .ds-nav-item.active .ds-nav-ico { opacity: 1; }
97
+ html[data-theme="fish"] .nav-wave-fill { fill: #FFFFFF; }
98
+ html[data-theme="fish"] .nav-wave-line { stroke: #B7DCF1; }
99
+
100
+ /* 桌面与辅助场景:贴纸留给侧栏和空状态,不重复盖在每条会话上。 */
101
+ html[data-theme="fish"] .ds-sidebar { background-color: #F8FCFF; background-image: linear-gradient(#FFFFFFE8, #F1F9FFE8), url("pattern.png"); background-size: auto, 360px 360px; border-color: var(--fish-line); }
102
+ html[data-theme="fish"] .ds-brand { border-top: 3px solid #9ACFEA; }
103
+ html[data-theme="fish"] .ds-session-item { border-radius: 12px; border-left: 2px solid #CFE5F5; }
104
+ html[data-theme="fish"] .ds-session-item.current { border-left-color: var(--dsr-accent); }
105
+ html[data-theme="fish"] .ds-session-list::after { content: '♡ BLUE WHALE ♡'; display: block; flex: none; min-height: 142px; margin: auto 12px 16px; padding: 124px 6px 10px; border: 1px dashed #AFD1E9; border-radius: 22px 18px 24px 18px; background: url("mascot.png") center 8px / auto 106px no-repeat, linear-gradient(150deg, #FFF6FB, #EDF9FF); color: var(--dsr-muted); font: 9px/1.5 ui-monospace, monospace; letter-spacing: .10em; text-align: center; pointer-events: none; }
106
+ html[data-theme="fish"] :is(.empty, .ds-empty)::before { content: ''; display: block; width: 128px; height: 132px; margin: 0 auto 10px; background: url("mascot.png") center / contain no-repeat; pointer-events: none; }
107
+ html[data-theme="fish"] .overview-empty::before { content: ''; display: inline-block; width: 25px; height: 22px; margin-right: 6px; vertical-align: -4px; background: url("icon-sleep.png") center / contain no-repeat; }
108
+ html[data-theme="fish"] .workflow-subpage-identity .workflow-setting-icon { position: relative; }
109
+ html[data-theme="fish"] .workflow-subpage-identity .workflow-setting-icon::after { content: ''; position: absolute; right: -5px; bottom: -4px; width: 25px; height: 22px; background: url("icon-blush.png") center / contain no-repeat; pointer-events: none; }
110
+ html[data-theme="fish"] :is(.modal-title, .ds-modal-title, .admin-title h1)::before { content: ''; display: inline-block; width: 25px; height: 22px; margin-right: 7px; vertical-align: -4px; background: url("icon-smile.png") center / contain no-repeat; }
111
+ html[data-theme="fish"] .toast::before { content: ''; display: inline-block; width: 25px; height: 22px; margin-right: 6px; vertical-align: -4px; background: url("icon-wink.png") center / contain no-repeat; }
112
+ html[data-theme="fish"] .ext-eyebrow::before { content: ''; display: inline-block; width: 24px; height: 22px; margin-right: 6px; vertical-align: -4px; background: url("icon-star.png") center / contain no-repeat; }
113
+ html[data-theme="fish"] .onboarding-restart-icon { background: var(--fish-soft); border-radius: 11px; }
114
+ html[data-theme="fish"] .onboarding-restart-icon::before { content: ''; width: 27px; height: 23px; background: url("icon-smile.png") center / contain no-repeat; }
115
+ html[data-theme] .theme-option[data-theme="fish"] { background: linear-gradient(135deg, #FFFFFF, #EAF6FF); border-color: #B9D7F2; color: #17284F; }
116
+ html[data-theme] .theme-option[data-theme="fish"] .theme-name { color: #17284F; }
117
+ html[data-theme] .theme-option[data-theme="fish"] .theme-check { color: #2440B0; }
118
+ html[data-theme] .theme-option[data-theme="fish"] .theme-swatches { position: relative; }
119
+ html[data-theme] .theme-option[data-theme="fish"] .theme-swatches::after { content: ''; position: absolute; right: 3px; bottom: 2px; width: 36px; height: 30px; background: url("icon-star.png") center / contain no-repeat; pointer-events: none; }
120
+ @media (max-width: 360px) { html[data-theme="fish"] .workflow-start .workflow-page-head h1 { padding-right: 82px; } html[data-theme="fish"] .workflow-start .workflow-page-head h1::before { width: 25px; margin-right: 7px; } html[data-theme="fish"] .workflow-start .workflow-page-head h1::after { width: 72px; height: 78px; top: -5px; } }
121
+ @media (prefers-reduced-motion: reduce) { html[data-theme="fish"] .sc-archive-btn { transition: none; } }
122
+ @media (prefers-reduced-transparency: reduce) { html[data-theme="fish"] :is(.bottom-nav, .composer-wrap, .ds-composer) { background: #FFFFFF; backdrop-filter: none; -webkit-backdrop-filter: none; } }