dsh-snowbreak-heimdall 3.0.0

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 (68) hide show
  1. package/LICENSE +29 -0
  2. package/README.md +175 -0
  3. package/SHA256SUMS.txt +61 -0
  4. package/TEST-REPORT.md +96 -0
  5. package/assets/icons/app-512.png +0 -0
  6. package/assets/icons/app-light-512.png +0 -0
  7. package/assets/icons/app.ico +0 -0
  8. package/assets/icons/apple-touch-icon.png +0 -0
  9. package/assets/icons/favicon-dark.svg +5 -0
  10. package/assets/icons/favicon.svg +5 -0
  11. package/assets/icons/icon-192.png +0 -0
  12. package/assets/icons/icon-512.png +0 -0
  13. package/assets/icons/icon-maskable-512.png +0 -0
  14. package/assets/icons/icon.svg +5 -0
  15. package/assets/icons/res-icon.png +0 -0
  16. package/assets/icons/tray.ico +0 -0
  17. package/assets/previews/assets/hm-mark-blue.png +0 -0
  18. package/assets/previews/brand-fix.png +0 -0
  19. package/assets/previews/exe-icon-test.png +0 -0
  20. package/assets/previews/loading-dark.html +443 -0
  21. package/assets/previews/loading-dark.png +0 -0
  22. package/assets/previews/loading-fallback.html +443 -0
  23. package/assets/previews/loading-fallback.png +0 -0
  24. package/assets/previews/loading-handoff.html +457 -0
  25. package/assets/previews/loading-light.html +443 -0
  26. package/assets/previews/loading-light.png +0 -0
  27. package/assets/previews/mask-test.png +0 -0
  28. package/assets/previews/progress-winforms-complete.png +0 -0
  29. package/assets/previews/progress-winforms.png +0 -0
  30. package/assets/previews/ui-chrome.html +24 -0
  31. package/assets/previews/ui-chrome.png +0 -0
  32. package/assets/source/brand-client.js +95 -0
  33. package/assets/source/client-template.js +217 -0
  34. package/assets/source/hm-mark-blue.png +0 -0
  35. package/assets/source/hm-mark-ink.png +0 -0
  36. package/assets/source/hm-mark-light.png +0 -0
  37. package/assets/source/loading.css +373 -0
  38. package/assets/source/loading.html +58 -0
  39. package/assets/source/logo.webp +0 -0
  40. package/assets/source/mark-alpha.png +0 -0
  41. package/assets/source/mark-color.png +0 -0
  42. package/assets/source/progress.ps1 +312 -0
  43. package/assets/source/shell.css +475 -0
  44. package/assets/source/shell.js +293 -0
  45. package/assets/source/update.css +47 -0
  46. package/assets/source/watermark-soft.png +0 -0
  47. package/assets/source/welcome-brand.svg +18 -0
  48. package/assets/source/welcome-mark-ink.png +0 -0
  49. package/assets/source/welcome-mark-light.png +0 -0
  50. package/assets/source/welcome.css +121 -0
  51. package/cordis.patch.yml +4 -0
  52. package/icon.svg +5 -0
  53. package/lib/client.js +217 -0
  54. package/lib/index.js +239 -0
  55. package/locale/en.json +6 -0
  56. package/locale/zh.json +6 -0
  57. package/package.json +47 -0
  58. package/patch/asar.py +237 -0
  59. package/patch/patcher.py +1307 -0
  60. package/tools/build_assets.py +206 -0
  61. package/tools/build_client.py +21 -0
  62. package/tools/test_lock.py +28 -0
  63. package/tools/test_progress_launch.py +44 -0
  64. package/tools/test_progress_ps1.py +38 -0
  65. package/tools/test_progress_ps1_complete.py +38 -0
  66. package/vendor/rcedit/LICENSE +20 -0
  67. package/vendor/rcedit/README.md +51 -0
  68. package/vendor/rcedit/rcedit-x64.exe +0 -0
@@ -0,0 +1,475 @@
1
+ /* ==========================================================================
2
+ HEIMDALL TERMINAL // YGGDRASIL CORPORATION
3
+ Source-layer palette and shell. This block is appended to the shipped
4
+ web-frontend stylesheet by the installer; removing the installer restores
5
+ the original stylesheet byte for byte.
6
+ ========================================================================== */
7
+
8
+ html body{
9
+ --dsw-alias-bg-base:#EEF2F5 !important;
10
+ --dsw-alias-bg-layer-1:#F7F9FB !important;
11
+ --dsw-alias-bg-layer-2:#E9EEF3 !important;
12
+ --dsw-alias-bg-layer-3:#E1E8EE !important;
13
+ --dsw-alias-bg-overlay:#FFFFFF !important;
14
+ --dsw-alias-bg-module-platform:#EDF2F6 !important;
15
+ --dsw-alias-bg-multi-select:#E5ECF2 !important;
16
+ --dsw-alias-bg-document-preview:#FFFFFF !important;
17
+ --dsw-alias-bg-document-selection:#2F6A8E33 !important;
18
+ --dsw-alias-bg-skeleton:#0B0F1410 !important;
19
+ --dsw-alias-label-primary:#101820 !important;
20
+ --dsw-alias-label-secondary:#465665 !important;
21
+ --dsw-alias-label-tertiary:#6C7C8B !important;
22
+ --dsw-alias-label-caption:#82909C !important;
23
+ --dsw-alias-label-primary-inverted:#FFFFFF !important;
24
+ --dsw-alias-label-primary-foreground:#FFFFFF !important;
25
+ --dsw-alias-brand-text:#101820 !important;
26
+ --dsw-alias-menu-icon:#334554 !important;
27
+ --dsw-alias-link:#2F6A8E !important;
28
+ --dsw-alias-border-l1:#D2DCE4 !important;
29
+ --dsw-alias-border-l2:#BCC9D4 !important;
30
+ --dsw-alias-border-l3:#A7B7C4 !important;
31
+ --dsw-alias-border-l4:#8FA2B2 !important;
32
+ --dsw-alias-brand-primary:#A9481F !important;
33
+ --dsw-alias-brand-primary-invert:#A9481F !important;
34
+ --dsw-alias-brand-primary-new-colorprimary-new-color:#A9481F !important;
35
+ --dsw-alias-button-primary-fill:#A9481F !important;
36
+ --dsw-alias-button-primary-hover:#8F3A16 !important;
37
+ --dsw-alias-button-primary-dimmed:#F3DED4 !important;
38
+ --dsw-alias-button-contrast-fill:#101820 !important;
39
+ --dsw-alias-button-elevated-fill:#FFFFFF !important;
40
+ --dsw-alias-button-floating-fill:#F8FAFC !important;
41
+ --dsw-alias-button-floating-hover:#EDF2F6 !important;
42
+ --dsw-alias-interactive-bg-hover:#1018200A !important;
43
+ --dsw-alias-interactive-bg-active:#10182016 !important;
44
+ --dsw-alias-state-error-primary:#9D3F45 !important;
45
+ --dsw-alias-state-success-primary:#3E6E59 !important;
46
+ --dsw-alias-state-warn-primary:#7C5B2C !important;
47
+ --dsw-alias-state-idle-primary:#B6C2CC !important;
48
+ --dsw-specific-sidebar-fill:#E4EAF0 !important;
49
+ --dsw-specific-sidebar-nav-item-hover:#DCE4EB !important;
50
+ --dsw-specific-sidebar-nav-item-active:#D1DBE4 !important;
51
+ --dsw-specific-sidebar-nav-item-active-accent:#EEDDCF !important;
52
+ --dsw-specific-tip:#E7EDF2 !important;
53
+ --dsw-specific-input-major:#FFFFFF !important;
54
+ --dsw-specific-selector:#E4EAF0 !important;
55
+ --dsw-alias-scrollbar-bg-l1:#C7D2DC !important;
56
+ --dsw-alias-scrollbar-hover-l1:#AEBECB !important;
57
+ --dsw-alias-markdown-code-block:#F3F6F8 !important;
58
+ --dsw-alias-markdown-inline-code:#EAF0F4 !important;
59
+ --dsw-alias-markdown-citation:#E4EBF1 !important;
60
+ --dsw-alias-menu-group-header-fill:#F1F5F8F0 !important;
61
+ --dsw-menu-surface-fill:#FBFCFDF2 !important;
62
+ --dsw-specific-menu:#FBFCFDF2 !important;
63
+ --dsw-alias-toast-bg:#1B2530 !important;
64
+ --dsw-alias-toast-label:#F3F7FA !important;
65
+ --dsw-alias-tooltip-bg:#1B2530 !important;
66
+ --dsw-specific-bubble:#E8EEF3 !important;
67
+ --dsw-specific-bubble-highlight:#DEE7EE !important;
68
+ --dsw-radius-xs:0 !important;
69
+ --dsw-radius-sm:1px !important;
70
+ --dsw-radius-md:1px !important;
71
+ --dsw-radius-lg:2px !important;
72
+ --dsw-radius-xl:2px !important;
73
+ --dsw-radius-panel:2px !important;
74
+ --dsw-corner-shape:nothing !important;
75
+ --dsw-font-family:"Bahnschrift","Segoe UI Variable Display","Noto Sans SC","Microsoft YaHei UI","Microsoft YaHei","Segoe UI",sans-serif !important;
76
+ --ds-font-family-code:"Cascadia Mono","Consolas","Noto Sans SC",monospace !important;
77
+ --dsw-shadow-lv1:0 1px 0 #0A0F140D !important;
78
+ --dsw-shadow-lv1-blur:0 1px 2px #0A0F140A !important;
79
+ --dsw-shadow-lv2:0 1px 2px #0A0F1410 !important;
80
+ --dsw-shadow-lv3:0 0 0 1px #0A0F1412 !important;
81
+ --dsw-elevation-panel:0 0 0 1px #0A0F1414 !important;
82
+ --dsw-elevation-prominent:0 0 0 1px #0A0F141A !important;
83
+ --dsw-elevation-soft:0 0 0 1px #0A0F1410 !important;
84
+ --dsw-mask-blur:none !important;
85
+ --dsw-menu-backdrop-filter:none !important;
86
+ }
87
+ html body[data-ds-dark-theme]{
88
+ --dsw-alias-bg-base:#070A0F !important;
89
+ --dsw-alias-bg-layer-1:#0C1118 !important;
90
+ --dsw-alias-bg-layer-2:#10161E !important;
91
+ --dsw-alias-bg-layer-3:#151D26 !important;
92
+ --dsw-alias-bg-overlay:#131A22 !important;
93
+ --dsw-alias-bg-module-platform:#0B1016 !important;
94
+ --dsw-alias-bg-multi-select:#1A2430 !important;
95
+ --dsw-alias-bg-document-preview:#0A0F14 !important;
96
+ --dsw-alias-bg-document-selection:#7FB2D033 !important;
97
+ --dsw-alias-bg-skeleton:#FFFFFF10 !important;
98
+ --dsw-alias-label-primary:#E6EEF5 !important;
99
+ --dsw-alias-label-secondary:#AAB8C5 !important;
100
+ --dsw-alias-label-tertiary:#7E8E9E !important;
101
+ --dsw-alias-label-caption:#6E7D8C !important;
102
+ --dsw-alias-label-primary-inverted:#0A0F14 !important;
103
+ --dsw-alias-label-primary-foreground:#0A0F14 !important;
104
+ --dsw-alias-brand-text:#E6EEF5 !important;
105
+ --dsw-alias-menu-icon:#B6C3CF !important;
106
+ --dsw-alias-link:#8CBFD9 !important;
107
+ --dsw-alias-border-l1:#222E39 !important;
108
+ --dsw-alias-border-l2:#2C3A46 !important;
109
+ --dsw-alias-border-l3:#394A57 !important;
110
+ --dsw-alias-border-l4:#475B69 !important;
111
+ --dsw-alias-brand-primary:#D97745 !important;
112
+ --dsw-alias-brand-primary-invert:#D97745 !important;
113
+ --dsw-alias-brand-primary-new-colorprimary-new-color:#D97745 !important;
114
+ --dsw-alias-button-primary-fill:#C96738 !important;
115
+ --dsw-alias-button-primary-hover:#DF8354 !important;
116
+ --dsw-alias-button-primary-dimmed:#3A241A !important;
117
+ --dsw-alias-button-contrast-fill:#E6EEF5 !important;
118
+ --dsw-alias-button-elevated-fill:#151D26 !important;
119
+ --dsw-alias-button-floating-fill:#111922 !important;
120
+ --dsw-alias-button-floating-hover:#192330 !important;
121
+ --dsw-alias-interactive-bg-hover:#FFFFFF0C !important;
122
+ --dsw-alias-interactive-bg-active:#FFFFFF16 !important;
123
+ --dsw-alias-state-error-primary:#E39797 !important;
124
+ --dsw-alias-state-success-primary:#8FC4AD !important;
125
+ --dsw-alias-state-warn-primary:#D9B57A !important;
126
+ --dsw-alias-state-idle-primary:#5E6E7D !important;
127
+ --dsw-specific-sidebar-fill:#05080C !important;
128
+ --dsw-specific-sidebar-nav-item-hover:#0B1118 !important;
129
+ --dsw-specific-sidebar-nav-item-active:#121B24 !important;
130
+ --dsw-specific-sidebar-nav-item-active-accent:#2A1C15 !important;
131
+ --dsw-specific-tip:#0E151D !important;
132
+ --dsw-specific-input-major:#0D141C !important;
133
+ --dsw-specific-selector:#161F29 !important;
134
+ --dsw-alias-scrollbar-bg-l1:#26333F !important;
135
+ --dsw-alias-scrollbar-hover-l1:#3A4C5A !important;
136
+ --dsw-alias-markdown-code-block:#0C1219 !important;
137
+ --dsw-alias-markdown-inline-code:#151D26 !important;
138
+ --dsw-alias-markdown-citation:#18212B !important;
139
+ --dsw-alias-menu-group-header-fill:#141C25F0 !important;
140
+ --dsw-menu-surface-fill:#111821F2 !important;
141
+ --dsw-specific-menu:#111821F2 !important;
142
+ --dsw-alias-toast-bg:#1B2530 !important;
143
+ --dsw-alias-toast-label:#EAF2F8 !important;
144
+ --dsw-alias-tooltip-bg:#161F28 !important;
145
+ --dsw-specific-bubble:#111820 !important;
146
+ --dsw-specific-bubble-highlight:#1B2631 !important;
147
+ --dsw-shadow-lv1:0 1px 0 #00000033 !important;
148
+ --dsw-shadow-lv1-blur:0 1px 2px #0000002E !important;
149
+ --dsw-shadow-lv2:0 1px 2px #00000038 !important;
150
+ --dsw-shadow-lv3:0 0 0 1px #FFFFFF12 !important;
151
+ --dsw-elevation-panel:0 0 0 1px #FFFFFF12 !important;
152
+ --dsw-elevation-prominent:0 0 0 1px #FFFFFF18 !important;
153
+ --dsw-elevation-soft:0 0 0 1px #FFFFFF10 !important;
154
+ }
155
+
156
+ html body{
157
+ background:var(--dsw-alias-bg-base);
158
+ color:var(--dsw-alias-label-primary);
159
+ font-family:var(--dsw-font-family);
160
+ font-feature-settings:"ss01" 1;
161
+ -webkit-font-smoothing:antialiased;
162
+ }
163
+ html body ::selection{background:rgba(169,72,31,.22);color:inherit}
164
+ html body[data-ds-dark-theme] ::selection{background:rgba(217,119,69,.28);color:inherit}
165
+
166
+ html body *{scrollbar-width:thin;scrollbar-color:var(--dsw-alias-scrollbar-bg-l1) transparent}
167
+ html body ::-webkit-scrollbar{width:10px;height:10px}
168
+ html body ::-webkit-scrollbar-thumb{
169
+ border:3px solid transparent;
170
+ background-clip:padding-box;
171
+ background-color:var(--dsw-alias-scrollbar-bg-l1);
172
+ border-radius:1px;
173
+ }
174
+ html body ::-webkit-scrollbar-thumb:hover{background-color:var(--dsw-alias-scrollbar-hover-l1)}
175
+
176
+ html body button,
177
+ html body [role="button"],
178
+ html body input,
179
+ html body select,
180
+ html body textarea{border-radius:1px !important}
181
+ html body button,
182
+ html body [role="button"]{box-shadow:none !important}
183
+ html body [role="dialog"],
184
+ html body [role="menu"],
185
+ html body [role="listbox"]{box-shadow:0 0 0 1px var(--dsw-alias-border-l1) !important}
186
+ html body [role="dialog"]{border-top:1px solid rgba(217,119,69,.35) !important}
187
+ html body aside{
188
+ background-image:linear-gradient(180deg,rgba(127,178,208,.035),transparent 26%,transparent 72%,rgba(217,119,69,.02)) !important;
189
+ }
190
+ html body main{
191
+ background-image:radial-gradient(90% 64% at 72% 0%,rgba(127,178,208,.026),transparent 64%) !important;
192
+ }
193
+ html body header{
194
+ box-shadow:inset 0 -1px 0 rgba(127,178,208,.08) !important;
195
+ }
196
+ html body[data-ds-dark-theme] aside{
197
+ background-image:linear-gradient(180deg,rgba(127,178,208,.04),transparent 26%,transparent 72%,rgba(217,119,69,.024)) !important;
198
+ }
199
+
200
+ /* Brand slot: the supplied world-tree mark is used as a monotone mask so it
201
+ follows the active theme instead of baking one theme's colour. */
202
+ .hm-brand-mark{
203
+ display:inline-block;
204
+ flex:0 0 auto;
205
+ background-color:currentColor;
206
+ color:var(--dsw-alias-label-primary);
207
+ -webkit-mask-repeat:no-repeat;
208
+ -webkit-mask-position:center;
209
+ -webkit-mask-size:100% 100%;
210
+ mask-repeat:no-repeat;
211
+ mask-position:center;
212
+ mask-size:100% 100%;
213
+ vertical-align:middle;
214
+ }
215
+ .hm-brand-name{
216
+ display:inline-flex;
217
+ flex-direction:column;
218
+ justify-content:center;
219
+ align-items:flex-start;
220
+ gap:2px;
221
+ min-width:0;
222
+ height:26px;
223
+ line-height:1.05;
224
+ vertical-align:middle;
225
+ font-family:var(--dsw-font-family);
226
+ white-space:nowrap;
227
+ }
228
+ .hm-brand-name__cn{
229
+ font-size:14px;
230
+ font-weight:600;
231
+ letter-spacing:.16em;
232
+ color:var(--dsw-alias-label-primary);
233
+ }
234
+ .hm-brand-name__en{
235
+ font-family:"Bahnschrift","Segoe UI Variable Display","Segoe UI",sans-serif;
236
+ font-size:8px;
237
+ font-weight:500;
238
+ letter-spacing:.2em;
239
+ color:var(--dsw-alias-label-tertiary);
240
+ }
241
+
242
+ /* Source-level notice used only to explain that the asar layer changes after
243
+ a full quit. It is not rendered by the plugin. */
244
+ #hm-source-notice{
245
+ position:fixed;
246
+ left:50%;
247
+ bottom:20px;
248
+ z-index:2147483001;
249
+ width:min(560px,calc(100vw - 40px));
250
+ transform:translateX(-50%);
251
+ border:1px solid var(--dsw-alias-border-l2);
252
+ border-radius:2px;
253
+ background:var(--dsw-alias-bg-layer-2);
254
+ color:var(--dsw-alias-label-primary);
255
+ box-shadow:0 0 0 1px rgba(0,0,0,.18);
256
+ font-family:var(--dsw-font-family);
257
+ font-size:12px;
258
+ line-height:1.7;
259
+ }
260
+ #hm-source-notice .hm-note-head{
261
+ display:flex;
262
+ align-items:center;
263
+ justify-content:space-between;
264
+ gap:12px;
265
+ min-height:30px;
266
+ padding:0 12px;
267
+ border-bottom:1px solid var(--dsw-alias-border-l1);
268
+ font-family:"Bahnschrift","Segoe UI Variable Display","Segoe UI",sans-serif;
269
+ font-size:9px;
270
+ letter-spacing:.2em;
271
+ color:var(--dsw-alias-label-tertiary);
272
+ }
273
+ #hm-source-notice .hm-note-body{padding:10px 14px 12px;color:var(--dsw-alias-label-secondary)}
274
+ #hm-source-notice .hm-note-body b{color:var(--dsw-alias-brand-primary);font-weight:600}
275
+ #hm-source-notice button{
276
+ width:24px;
277
+ height:24px;
278
+ padding:0;
279
+ border:1px solid var(--dsw-alias-border-l1);
280
+ background:transparent;
281
+ color:var(--dsw-alias-label-tertiary);
282
+ font:14px/20px var(--dsw-font-family);
283
+ cursor:pointer;
284
+ }
285
+ #hm-source-notice button:hover{color:var(--dsw-alias-label-primary);border-color:var(--dsw-alias-border-l3)}
286
+
287
+ @media (prefers-reduced-motion: reduce){
288
+ html body *,
289
+ html body *::before,
290
+ html body *::after{scroll-behavior:auto !important}
291
+ }
292
+
293
+ /* ==========================================================================
294
+ Frame-wide terminal chrome. Source-layer only, pointer-transparent, and
295
+ deliberately outside layout: it ornaments every DSH screen without
296
+ replacing or measuring user content.
297
+ ========================================================================== */
298
+ #hm-ui-chrome{
299
+ --hm-ui-line:rgba(127,178,208,.26);
300
+ --hm-ui-line-soft:rgba(127,178,208,.12);
301
+ --hm-ui-ink:rgba(230,238,245,.48);
302
+ --hm-ui-ink-dim:rgba(126,142,158,.38);
303
+ --hm-ui-amber:rgba(217,119,69,.72);
304
+ position:fixed;
305
+ inset:0;
306
+ z-index:2147482000;
307
+ overflow:hidden;
308
+ pointer-events:none;
309
+ font-family:"Bahnschrift","Segoe UI Variable Display","Noto Sans SC","Microsoft YaHei UI",sans-serif;
310
+ contain:strict;
311
+ }
312
+ #hm-ui-chrome .hm-ui-frame{
313
+ position:absolute;
314
+ inset:7px;
315
+ border:1px solid var(--hm-ui-line-soft);
316
+ }
317
+ #hm-ui-chrome .hm-ui-grid{
318
+ position:absolute;
319
+ inset:0;
320
+ opacity:.34;
321
+ background-image:
322
+ linear-gradient(rgba(127,178,208,.05) 1px,transparent 1px),
323
+ linear-gradient(90deg,rgba(127,178,208,.05) 1px,transparent 1px);
324
+ background-size:64px 64px;
325
+ -webkit-mask-image:radial-gradient(ellipse at center,transparent 26%,#000 92%);
326
+ mask-image:radial-gradient(ellipse at center,transparent 26%,#000 92%);
327
+ }
328
+ #hm-ui-chrome .hm-ui-vignette{
329
+ position:absolute;
330
+ inset:0;
331
+ background:radial-gradient(ellipse at center,transparent 54%,rgba(0,0,0,.22) 100%);
332
+ }
333
+ #hm-ui-chrome::before,
334
+ #hm-ui-chrome::after{
335
+ content:"";
336
+ position:absolute;
337
+ top:46px;
338
+ bottom:40px;
339
+ width:1px;
340
+ opacity:.65;
341
+ background:repeating-linear-gradient(180deg,var(--hm-ui-line-soft) 0,var(--hm-ui-line-soft) 1px,transparent 1px,transparent 18px);
342
+ }
343
+ #hm-ui-chrome::before{left:4px}
344
+ #hm-ui-chrome::after{right:4px}
345
+ #hm-ui-chrome .hm-ui-frame::before{
346
+ content:"";
347
+ position:absolute;
348
+ left:8%;top:-1px;width:88px;height:1px;
349
+ background:var(--hm-ui-amber);
350
+ opacity:.8;
351
+ }
352
+ #hm-ui-chrome .hm-ui-frame::after{
353
+ content:"";
354
+ position:absolute;
355
+ right:8%;bottom:-1px;width:132px;height:1px;
356
+ background:linear-gradient(90deg,transparent,rgba(127,178,208,.55));
357
+ }
358
+ #hm-ui-chrome .hm-ui-corner{
359
+ position:absolute;
360
+ width:15px;height:15px;
361
+ border-color:rgba(127,178,208,.55);
362
+ border-style:solid;
363
+ }
364
+ #hm-ui-chrome .hm-ui-corner--tl{left:5px;top:5px;border-width:1px 0 0 1px}
365
+ #hm-ui-chrome .hm-ui-corner--tr{right:5px;top:5px;border-width:1px 1px 0 0}
366
+ #hm-ui-chrome .hm-ui-corner--bl{left:5px;bottom:5px;border-width:0 0 1px 1px}
367
+ #hm-ui-chrome .hm-ui-corner--br{right:5px;bottom:5px;border-width:0 1px 1px 0}
368
+ #hm-ui-chrome .hm-ui-watermark{
369
+ position:absolute;
370
+ right:-5vw;
371
+ top:50%;
372
+ width:min(40vw,620px);
373
+ transform:translateY(-50%);
374
+ opacity:.045;
375
+ mix-blend-mode:screen;
376
+ filter:grayscale(1);
377
+ }
378
+ #hm-ui-chrome .hm-ui-watermark img{display:block;width:100%;height:auto}
379
+ #hm-ui-chrome .hm-ui-top{
380
+ position:absolute;
381
+ left:22%;
382
+ right:22%;
383
+ display:flex;
384
+ align-items:center;
385
+ justify-content:center;
386
+ gap:12px;
387
+ font-size:7px;
388
+ letter-spacing:.26em;
389
+ color:var(--hm-ui-ink-dim);
390
+ white-space:nowrap;
391
+ }
392
+ #hm-ui-chrome .hm-ui-top{top:9px}
393
+ #hm-ui-chrome .hm-ui-top::before{
394
+ content:"";
395
+ width:5px;height:5px;
396
+ flex:0 0 auto;
397
+ background:var(--hm-ui-amber);
398
+ transform:rotate(45deg);
399
+ opacity:.9;
400
+ }
401
+ #hm-ui-chrome .hm-ui-top i{
402
+ display:inline-block;
403
+ width:20px;height:1px;
404
+ background:var(--hm-ui-line-soft);
405
+ flex:0 0 auto;
406
+ }
407
+ #hm-ui-chrome .hm-ui-top span:last-child{color:rgba(217,119,69,.72)}
408
+ #hm-ui-chrome .hm-ui-side{
409
+ position:absolute;
410
+ top:50%;
411
+ writing-mode:vertical-rl;
412
+ font-size:7px;
413
+ letter-spacing:.28em;
414
+ color:var(--hm-ui-ink-dim);
415
+ white-space:nowrap;
416
+ }
417
+ #hm-ui-chrome .hm-ui-side--l{left:10px;transform:translateY(-50%) rotate(180deg)}
418
+ #hm-ui-chrome .hm-ui-side--r{right:10px;transform:translateY(-50%)}
419
+ #hm-ui-chrome .hm-ui-scan{
420
+ position:absolute;
421
+ left:7px;right:7px;top:8%;
422
+ height:1px;
423
+ background:linear-gradient(90deg,transparent,rgba(127,178,208,.32),rgba(217,119,69,.18),transparent);
424
+ animation:hm-ui-scan 12s linear infinite;
425
+ }
426
+ @keyframes hm-ui-scan{
427
+ 0%{top:8%;opacity:0}
428
+ 10%{opacity:1}
429
+ 88%{opacity:.75}
430
+ 100%{top:92%;opacity:0}
431
+ }
432
+ html body[data-ds-dark-theme] #hm-ui-chrome{
433
+ --hm-ui-line:rgba(127,178,208,.26);
434
+ --hm-ui-ink:rgba(230,238,245,.5);
435
+ }
436
+ @media (prefers-color-scheme: light){
437
+ #hm-ui-chrome{
438
+ --hm-ui-line:rgba(47,106,142,.28);
439
+ --hm-ui-line-soft:rgba(47,106,142,.14);
440
+ --hm-ui-ink:rgba(16,24,32,.48);
441
+ --hm-ui-ink-dim:rgba(70,86,101,.4);
442
+ --hm-ui-amber:rgba(169,72,31,.7);
443
+ }
444
+ #hm-ui-chrome .hm-ui-watermark{mix-blend-mode:multiply;opacity:.035;filter:grayscale(1) brightness(.45)}
445
+ }
446
+ html body:not([data-ds-dark-theme]) #hm-ui-chrome{
447
+ --hm-ui-line:rgba(47,106,142,.28);
448
+ --hm-ui-line-soft:rgba(47,106,142,.14);
449
+ --hm-ui-ink:rgba(16,24,32,.48);
450
+ --hm-ui-ink-dim:rgba(70,86,101,.4);
451
+ --hm-ui-amber:rgba(169,72,31,.7);
452
+ }
453
+ html body:not([data-ds-dark-theme]) #hm-ui-chrome .hm-ui-watermark{
454
+ mix-blend-mode:multiply;opacity:.035;filter:grayscale(1) brightness(.45);
455
+ }
456
+ @media (max-width:1100px){
457
+ #hm-ui-chrome .hm-ui-side{display:none}
458
+ #hm-ui-chrome .hm-ui-top{left:24%;right:24%}
459
+ }
460
+ @media (prefers-reduced-motion: reduce){
461
+ #hm-ui-chrome .hm-ui-scan{display:none;animation:none}
462
+ }
463
+
464
+ /* Empty-conversation hero: replace the DSH fish mark with the world-tree mark. */
465
+ .hm-hero-mark{
466
+ display:inline-flex;
467
+ width:34px;height:22px;
468
+ margin-right:10px;
469
+ align-items:center;justify-content:center;
470
+ vertical-align:-2px;
471
+ opacity:.92;
472
+ filter:drop-shadow(0 0 8px rgba(127,178,208,.18));
473
+ }
474
+ .hm-hero-mark img{display:block;width:100%;height:100%;object-fit:contain}
475
+