@24city/web-console 0.0.0-stage → 0.1.1

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 (100) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/LICENSE +21 -0
  3. package/README.md +168 -2
  4. package/dist/account/account-api.d.ts +24 -0
  5. package/dist/account/account-center-links.d.ts +35 -0
  6. package/dist/account/account-center-page.d.ts +7 -0
  7. package/dist/account/account-center-ui.d.ts +19 -0
  8. package/dist/account/account-menu.d.ts +23 -0
  9. package/dist/account/auth-provider.d.ts +6 -0
  10. package/dist/account/auth-store.d.ts +25 -0
  11. package/dist/account/benefit-copy.d.ts +15 -0
  12. package/dist/account/customization.d.ts +62 -0
  13. package/dist/account/index.d.ts +34 -0
  14. package/dist/account/index.js +87 -0
  15. package/dist/account/login-page.d.ts +6 -0
  16. package/dist/account/logout-signal.d.ts +13 -0
  17. package/dist/account/personal-nav.d.ts +29 -0
  18. package/dist/account/plan-benefits.d.ts +16 -0
  19. package/dist/account/plan-cards.d.ts +10 -0
  20. package/dist/account/plan-display.d.ts +44 -0
  21. package/dist/account/plan-panel.d.ts +16 -0
  22. package/dist/account/points-section.d.ts +8 -0
  23. package/dist/account/profile-section.d.ts +9 -0
  24. package/dist/account/quota-pill.d.ts +10 -0
  25. package/dist/account/quota.d.ts +12 -0
  26. package/dist/account/route-guard.d.ts +5 -0
  27. package/dist/account/session-sync.d.ts +1 -0
  28. package/dist/account/space-label.d.ts +10 -0
  29. package/dist/account/subscription-section.d.ts +11 -0
  30. package/dist/account/team-promo.d.ts +9 -0
  31. package/dist/account/types.d.ts +120 -0
  32. package/dist/account/upgrade-entry.d.ts +6 -0
  33. package/dist/account/upgrade-modal.d.ts +14 -0
  34. package/dist/account/use-account-center.d.ts +27 -0
  35. package/dist/account/use-logout.d.ts +13 -0
  36. package/dist/account/use-membership.d.ts +48 -0
  37. package/dist/account/use-plan-catalog.d.ts +2 -0
  38. package/dist/account/use-space-switch.d.ts +8 -0
  39. package/dist/account/wallet-badge.d.ts +2 -0
  40. package/dist/assets/coin-BhUDKCPy.webp +0 -0
  41. package/dist/assets/crown-D5kKk5rW.webp +0 -0
  42. package/dist/assets/diamond-BuDSsnw-.webp +0 -0
  43. package/dist/assets/engine-hero-BaSSoV-3.webp +0 -0
  44. package/dist/assets/member-gem-DTY0gTzl.webp +0 -0
  45. package/dist/assets/team-BeZ_oZcL.webp +0 -0
  46. package/dist/assets/upgrade-crown-Ci1IFoXi.webp +0 -0
  47. package/dist/chunks/auth-provider-CqiyTeOt.js +62 -0
  48. package/dist/chunks/console-layout-BibioK5M.js +198 -0
  49. package/dist/chunks/context-CaVim6ZO.js +13 -0
  50. package/dist/chunks/error-boundary-D3qiD7ov.js +35 -0
  51. package/dist/chunks/http-B3mTs9KZ.js +8 -0
  52. package/dist/chunks/link-button-giJEcTmG.js +42 -0
  53. package/dist/chunks/logout-signal-CiD_zY5M.js +365 -0
  54. package/dist/chunks/page-BaitnD--.js +89 -0
  55. package/dist/chunks/stale-build-DUKkQHuu.js +57 -0
  56. package/dist/chunks/text-link-FTsBp_QU.js +54 -0
  57. package/dist/chunks/upgrade-modal-DzdKuEkJ.js +667 -0
  58. package/dist/chunks/use-media-query-DvyinWNg.js +12 -0
  59. package/dist/chunks/wallet-badge-CnyMLpUO.js +565 -0
  60. package/dist/index.d.ts +6 -0
  61. package/dist/index.js +159 -0
  62. package/dist/layout/console-layout.d.ts +35 -0
  63. package/dist/layout/console-nav.d.ts +30 -0
  64. package/dist/layout/index.d.ts +2 -0
  65. package/dist/layout/index.js +8 -0
  66. package/dist/page/error-boundary.d.ts +20 -0
  67. package/dist/page/index.d.ts +7 -0
  68. package/dist/page/index.js +21 -0
  69. package/dist/page/link-button.d.ts +29 -0
  70. package/dist/page/not-found-page.d.ts +1 -0
  71. package/dist/page/page.d.ts +34 -0
  72. package/dist/page/startup-error.d.ts +2 -0
  73. package/dist/page/status-result.d.ts +17 -0
  74. package/dist/page/text-link.d.ts +22 -0
  75. package/dist/runtime/context.d.ts +19 -0
  76. package/dist/runtime/error-summary.d.ts +5 -0
  77. package/dist/runtime/format.d.ts +10 -0
  78. package/dist/runtime/http.d.ts +11 -0
  79. package/dist/runtime/index.d.ts +11 -0
  80. package/dist/runtime/index.js +41 -0
  81. package/dist/runtime/internal-path.d.ts +4 -0
  82. package/dist/runtime/providers.d.ts +16 -0
  83. package/dist/runtime/query-keys.d.ts +6 -0
  84. package/dist/runtime/response.d.ts +6 -0
  85. package/dist/runtime/runtime-config.d.ts +19 -0
  86. package/dist/runtime/stale-build.d.ts +11 -0
  87. package/dist/runtime/use-media-query.d.ts +2 -0
  88. package/dist/semi.d.ts +10 -0
  89. package/dist/semi.js +12 -0
  90. package/dist/styles.css +3224 -0
  91. package/dist/testing/fixtures.d.ts +15 -0
  92. package/dist/testing/fixtures.js +142 -0
  93. package/dist/testing/guard.d.ts +32 -0
  94. package/dist/testing/guard.js +61 -0
  95. package/dist/testing/jsdom.d.ts +2 -0
  96. package/dist/testing/jsdom.js +116 -0
  97. package/dist/theme/index.d.ts +24 -0
  98. package/dist/theme/index.js +51 -0
  99. package/dist/theme/palette.d.ts +6 -0
  100. package/package.json +98 -3
@@ -0,0 +1,3224 @@
1
+ /* 通用页面骨架:只做排布,颜色与圆角全部引用 Semi 设计变量。 */
2
+
3
+ ._fullPage_8980g_3 {
4
+ display: flex;
5
+ min-height: 100dvh;
6
+ align-items: center;
7
+ justify-content: center;
8
+ padding: 24px;
9
+ background: var(--app-page-bg);
10
+ box-sizing: border-box;
11
+ }
12
+
13
+ ._fullPageCard_8980g_13 {
14
+ width: 100%;
15
+ max-width: 560px;
16
+ }
17
+
18
+ ._page_8980g_18 {
19
+ display: flex;
20
+ min-width: 0;
21
+ flex-direction: column;
22
+ gap: 16px;
23
+ }
24
+
25
+ /* 页头直接落在灰色内容区上:大标题 + 下方说明,操作按钮靠右,不再单独占一张卡片。 */
26
+ ._pageHeader_8980g_26 {
27
+ display: flex;
28
+ align-items: flex-end;
29
+ justify-content: space-between;
30
+ gap: 16px;
31
+ padding: 4px 0 0;
32
+ }
33
+
34
+ ._pageHeaderMain_8980g_34 {
35
+ display: flex;
36
+ min-width: 0;
37
+ flex-direction: column;
38
+ gap: 4px;
39
+ }
40
+
41
+ /* 比 Semi 的标题规则(.semi-typography-h1.semi-typography)多一个类,不依赖样式表先后 */
42
+ ._pageTitle_8980g_42.semi-typography.semi-typography-h1,
43
+ ._pageTitle_8980g_42.semi-typography {
44
+ margin: 0;
45
+ color: var(--semi-color-text-0);
46
+ font-size: 20px;
47
+ font-weight: 500;
48
+ line-height: 28px;
49
+ }
50
+
51
+ ._pageDescription_8980g_51.semi-typography {
52
+ margin: 0;
53
+ color: var(--semi-color-text-2);
54
+ font-size: 13px;
55
+ line-height: 20px;
56
+ }
57
+
58
+ ._pageExtra_8980g_58 {
59
+ display: flex;
60
+ flex: none;
61
+ flex-wrap: wrap;
62
+ align-items: center;
63
+ gap: 8px;
64
+ }
65
+
66
+ /* 页头直接落在灰底上,中性按钮的灰色填充会与底色混在一起,改为白底浮起。 */
67
+ ._pageExtra_8980g_58 .semi-button.semi-button-light.semi-button-tertiary:not(.semi-button-disabled) {
68
+ background-color: var(--semi-color-bg-1);
69
+ box-shadow: var(--app-shadow-raised);
70
+ }
71
+
72
+ ._pageExtra_8980g_58 .semi-button.semi-button-light.semi-button-tertiary:not(.semi-button-disabled):hover {
73
+ background-color: var(--semi-color-bg-1);
74
+ color: rgb(var(--app-brand-6));
75
+ }
76
+
77
+ ._toolbar_8980g_77 {
78
+ display: flex;
79
+ flex-wrap: wrap;
80
+ align-items: center;
81
+ justify-content: space-between;
82
+ gap: 12px;
83
+ }
84
+
85
+ /* 结果区块:居中,插画下面是标题、说明和操作。 */
86
+ ._status_8980g_86.semi-empty {
87
+ padding: 16px 0;
88
+ }
89
+
90
+ ._statusExtra_8980g_90 {
91
+ display: flex;
92
+ justify-content: center;
93
+ margin-top: 8px;
94
+ }
95
+
96
+ ._skeleton_8980g_96 {
97
+ width: 100%;
98
+ }
99
+
100
+ ._skeletonImage_8980g_100.semi-skeleton-image {
101
+ width: 100%;
102
+ height: 160px;
103
+ }
104
+
105
+ ._skeletonText_8980g_105 {
106
+ width: 100%;
107
+ }
108
+
109
+ @media (max-width: 767px) {
110
+ ._pageHeader_8980g_26 {
111
+ flex-direction: column;
112
+ align-items: stretch;
113
+ }
114
+ }
115
+
116
+ /* 加载占位卡片:与内容卡片同一外观,aria-busy 挂在外层容器上(Semi 的 Card 不转发无障碍属性)。 */
117
+ ._loadingCard_8980g_117 {
118
+ width: 100%;
119
+ }
120
+ /*
121
+ * 右上角账号入口,参照蝉镜:顶栏只放 34px 头像(昵称首字的主色渐变圆,会员加金边和小皇冠),
122
+ * 展开 344px 白色卡片:12px 圆角、柔和投影,身份行 → 套餐区(plan-panel.module.css)→ 个人中心 → 退出登录。
123
+ */
124
+
125
+ ._trigger_am2co_6.semi-button {
126
+ display: inline-flex;
127
+ width: 40px;
128
+ height: 40px;
129
+ align-items: center;
130
+ justify-content: center;
131
+ padding: 0;
132
+ border: none;
133
+ border-radius: 50%;
134
+ background: transparent;
135
+ }
136
+
137
+ /* 文字按钮的悬停、按下和展开态:比 Semi 的悬停规则多一个类。 */
138
+ ._trigger_am2co_6.semi-button.semi-button-borderless:not(.semi-button-disabled):hover,
139
+ ._trigger_am2co_6.semi-button.semi-button-borderless:not(.semi-button-disabled):active,
140
+ ._trigger_am2co_6.semi-button[aria-expanded='true'] {
141
+ background: rgba(var(--app-brand-6), 0.08);
142
+ }
143
+
144
+ /* ---------- 头像 ---------- */
145
+
146
+ ._avatarWrap_am2co_27 {
147
+ position: relative;
148
+ display: inline-flex;
149
+ flex: none;
150
+ border-radius: 50%;
151
+ }
152
+
153
+ ._avatar_am2co_27.semi-avatar {
154
+ background: linear-gradient(135deg, rgb(var(--app-brand-4)) 0%, rgb(var(--app-brand-6)) 100%);
155
+ color: var(--semi-color-white);
156
+ font-weight: 600;
157
+ }
158
+
159
+ ._avatarWrap_am2co_27[data-size='large'] ._avatar_am2co_27.semi-avatar {
160
+ box-shadow: 0 0 0 2px var(--semi-color-bg-1), 0 0 0 3px rgb(var(--semi-grey-2));
161
+ font-size: 22px;
162
+ }
163
+
164
+ ._avatarWrap_am2co_27[data-size='small'] ._avatar_am2co_27.semi-avatar {
165
+ font-size: 15px;
166
+ }
167
+
168
+ /* 会员:金色描边 + 右下角小皇冠。 */
169
+ ._avatarWrap_am2co_27[data-member='true'] ._avatar_am2co_27.semi-avatar {
170
+ box-shadow: 0 0 0 2px var(--semi-color-bg-1), 0 0 0 3.5px rgb(var(--semi-amber-4));
171
+ }
172
+
173
+ ._avatarWrap_am2co_27[data-member='true']::after {
174
+ position: absolute;
175
+ right: -3px;
176
+ bottom: -2px;
177
+ width: 15px;
178
+ height: 15px;
179
+ border-radius: 50%;
180
+ background: url('./assets/crown-D5kKk5rW.webp') center / 11px no-repeat var(--semi-color-bg-1);
181
+ box-shadow: 0 1px 3px rgba(var(--semi-grey-9), 0.18);
182
+ content: '';
183
+ }
184
+
185
+ ._avatarWrap_am2co_27[data-size='large'][data-member='true']::after {
186
+ width: 20px;
187
+ height: 20px;
188
+ background-size: 14px;
189
+ }
190
+
191
+ /* ---------- 卡片 ---------- */
192
+
193
+ ._card_am2co_74 {
194
+ width: 344px;
195
+ max-height: calc(100dvh - 76px);
196
+ overflow-y: auto;
197
+ padding: 20px 16px 8px;
198
+ border-radius: 12px;
199
+ background: var(--semi-color-bg-3);
200
+ box-shadow: 0 0 1px rgba(var(--semi-grey-9), 0.2), 0 12px 32px rgba(var(--semi-grey-9), 0.12);
201
+ }
202
+
203
+ ._identity_am2co_84 {
204
+ display: flex;
205
+ min-width: 0;
206
+ align-items: center;
207
+ gap: 14px;
208
+ padding: 0 4px;
209
+ }
210
+
211
+ ._who_am2co_92 {
212
+ display: flex;
213
+ min-width: 0;
214
+ flex: 1;
215
+ flex-direction: column;
216
+ align-items: flex-start;
217
+ gap: 4px;
218
+ }
219
+
220
+ ._nameRow_am2co_101 {
221
+ display: flex;
222
+ max-width: 100%;
223
+ align-items: center;
224
+ gap: 6px;
225
+ }
226
+
227
+ ._name_am2co_101 {
228
+ overflow: hidden;
229
+ color: var(--semi-color-text-0);
230
+ font-size: 16px;
231
+ font-weight: 600;
232
+ line-height: 24px;
233
+ text-overflow: ellipsis;
234
+ white-space: nowrap;
235
+ }
236
+
237
+ ._planChip_am2co_118 {
238
+ display: inline-flex;
239
+ height: 20px;
240
+ flex: none;
241
+ align-items: center;
242
+ gap: 2px;
243
+ padding: 0 8px;
244
+ border-radius: 10px;
245
+ font-size: 12px;
246
+ font-weight: 500;
247
+ line-height: 20px;
248
+ white-space: nowrap;
249
+ }
250
+
251
+ ._planChip_am2co_118[data-tone='free'] {
252
+ background: var(--semi-color-fill-1);
253
+ color: var(--semi-color-text-2);
254
+ }
255
+
256
+ ._planChip_am2co_118[data-tone='member'] {
257
+ padding-left: 4px;
258
+ background: linear-gradient(90deg, rgb(var(--semi-amber-1)), rgb(var(--semi-amber-3)));
259
+ color: rgb(var(--semi-amber-9));
260
+ }
261
+
262
+ ._planChip_am2co_118[data-tone='warning'] {
263
+ background: rgb(var(--semi-orange-0));
264
+ color: rgb(var(--semi-orange-6));
265
+ }
266
+
267
+ ._diamond_am2co_148 {
268
+ width: 14px;
269
+ height: 14px;
270
+ background: url('./assets/diamond-BuDSsnw-.webp') center / contain no-repeat;
271
+ }
272
+
273
+ /* 当前空间:一行小字,多个空间时整行是按钮,点开在下面列出空间。
274
+ 卡片里的文字按钮都写成“.card .x:global(.semi-button.semi-button-borderless)”,悬停时比 Semi 文字按钮的悬停规则多一个类。 */
275
+ ._card_am2co_74 ._spaceToggle_am2co_156.semi-button.semi-button-borderless,
276
+ ._spaceStatic_am2co_157 {
277
+ display: inline-flex;
278
+ max-width: 100%;
279
+ height: 22px;
280
+ align-items: center;
281
+ gap: 4px;
282
+ padding: 0 6px;
283
+ margin-left: -6px;
284
+ border-radius: 6px;
285
+ color: var(--semi-color-text-2);
286
+ font-size: 12px;
287
+ font-weight: 400;
288
+ }
289
+
290
+ ._card_am2co_74 ._spaceToggle_am2co_156.semi-button.semi-button-borderless:hover,
291
+ ._card_am2co_74 ._spaceToggle_am2co_156.semi-button.semi-button-borderless:active,
292
+ ._card_am2co_74 ._spaceToggle_am2co_156.semi-button.semi-button-borderless[aria-expanded='true'] {
293
+ background: var(--semi-color-fill-1);
294
+ color: var(--semi-color-text-1);
295
+ }
296
+
297
+ ._spaceSwitchText_am2co_178 {
298
+ flex: none;
299
+ margin-left: 2px;
300
+ color: rgb(var(--app-brand-6));
301
+ }
302
+
303
+ ._spaceName_am2co_184 {
304
+ overflow: hidden;
305
+ text-overflow: ellipsis;
306
+ white-space: nowrap;
307
+ }
308
+
309
+ ._spaceType_am2co_190 {
310
+ flex: none;
311
+ padding: 0 5px;
312
+ border-radius: 4px;
313
+ background: var(--semi-color-fill-1);
314
+ color: var(--semi-color-text-2);
315
+ font-size: 11px;
316
+ line-height: 16px;
317
+ }
318
+
319
+ ._spaceList_am2co_200 {
320
+ display: flex;
321
+ flex-direction: column;
322
+ margin-top: 12px;
323
+ padding: 4px;
324
+ border: 1px solid var(--app-border-1);
325
+ border-radius: 10px;
326
+ }
327
+
328
+ ._card_am2co_74 ._spaceOption_am2co_209.semi-button.semi-button-borderless {
329
+ display: flex;
330
+ height: 36px;
331
+ align-items: center;
332
+ justify-content: flex-start;
333
+ gap: 4px;
334
+ padding: 0 8px;
335
+ border-radius: 6px;
336
+ color: var(--semi-color-text-0);
337
+ font-weight: 400;
338
+ }
339
+
340
+ ._card_am2co_74 ._spaceOption_am2co_209.semi-button.semi-button-borderless:hover,
341
+ ._card_am2co_74 ._spaceOption_am2co_209.semi-button.semi-button-borderless:active {
342
+ background: var(--semi-color-fill-1);
343
+ color: var(--semi-color-text-0);
344
+ }
345
+
346
+ ._card_am2co_74 ._spaceOption_am2co_209.semi-button.semi-button-borderless[aria-current='true'] {
347
+ color: rgb(var(--app-brand-6));
348
+ }
349
+
350
+ ._spaceCheck_am2co_231 {
351
+ display: inline-flex;
352
+ width: 20px;
353
+ flex: none;
354
+ }
355
+
356
+ ._plan_am2co_118 {
357
+ margin-top: 16px;
358
+ }
359
+
360
+ /* ---------- 个人中心与退出 ---------- */
361
+
362
+ ._links_am2co_243 {
363
+ display: flex;
364
+ flex-direction: column;
365
+ margin-top: 8px;
366
+ }
367
+
368
+ ._card_am2co_74 ._link_am2co_243.semi-button.semi-button-borderless {
369
+ display: flex;
370
+ height: 44px;
371
+ align-items: center;
372
+ justify-content: flex-start;
373
+ gap: 10px;
374
+ padding: 0 12px;
375
+ border-radius: 8px;
376
+ color: var(--semi-color-text-0);
377
+ font-size: 14px;
378
+ font-weight: 400;
379
+ }
380
+
381
+ ._card_am2co_74 ._link_am2co_243 .semi-button-content {
382
+ display: flex;
383
+ width: 100%;
384
+ align-items: center;
385
+ gap: 10px;
386
+ }
387
+
388
+ ._card_am2co_74 ._link_am2co_243.semi-button.semi-button-borderless:hover,
389
+ ._card_am2co_74 ._link_am2co_243.semi-button.semi-button-borderless:active {
390
+ background: var(--semi-color-fill-1);
391
+ color: var(--semi-color-text-0);
392
+ }
393
+
394
+ ._card_am2co_74 ._link_am2co_243.semi-button.semi-button-borderless[aria-current='page'],
395
+ ._card_am2co_74 ._link_am2co_243.semi-button.semi-button-borderless[aria-current='page']:hover {
396
+ background: rgb(var(--app-brand-1));
397
+ color: rgb(var(--app-brand-6));
398
+ }
399
+
400
+ ._linkIcon_am2co_281 {
401
+ display: inline-flex;
402
+ flex: none;
403
+ color: var(--semi-color-text-2);
404
+ font-size: 16px;
405
+ }
406
+
407
+ ._card_am2co_74 ._link_am2co_243.semi-button.semi-button-borderless[aria-current='page'] ._linkIcon_am2co_281 {
408
+ color: rgb(var(--app-brand-6));
409
+ }
410
+
411
+ ._linkLabel_am2co_292 {
412
+ flex: 1;
413
+ text-align: left;
414
+ }
415
+
416
+ ._linkArrow_am2co_297 {
417
+ flex: none;
418
+ color: var(--semi-color-text-3);
419
+ font-size: 12px;
420
+ }
421
+
422
+ ._divider_am2co_303 {
423
+ height: 1px;
424
+ margin: 4px 0;
425
+ background: var(--semi-color-fill-1);
426
+ }
427
+
428
+ ._card_am2co_74 ._logout_am2co_309.semi-button.semi-button-borderless {
429
+ height: 44px;
430
+ border-radius: 8px;
431
+ color: rgb(var(--semi-red-5));
432
+ font-size: 14px;
433
+ font-weight: 400;
434
+ }
435
+
436
+ ._card_am2co_74 ._logout_am2co_309.semi-button.semi-button-borderless:hover,
437
+ ._card_am2co_74 ._logout_am2co_309.semi-button.semi-button-borderless:active {
438
+ background: rgb(var(--semi-red-0));
439
+ color: rgb(var(--semi-red-5));
440
+ }
441
+
442
+ @media (max-width: 576px) {
443
+ ._card_am2co_74 {
444
+ width: calc(100vw - 24px);
445
+ }
446
+ }
447
+ /*
448
+ * 账号卡片里的套餐区,版式参照蝉镜的账号下拉:12px 圆角块,右上角一枚立体插画(MaaS 生成,见 assets/membership/),
449
+ * 底部 44px 资产条。免费版是浅橙渐变 + 黑色胶囊主按钮(挂起步价角标),会员是黑金卡。颜色只用 Semi 色板变量。
450
+ */
451
+
452
+ ._promo_10uzf_6,
453
+ ._member_10uzf_7,
454
+ ._plain_10uzf_8 {
455
+ position: relative;
456
+ overflow: hidden;
457
+ border-radius: 12px;
458
+ }
459
+
460
+ /* ---------- 免费版 / 团队未开通:升级引导 ---------- */
461
+
462
+ ._promo_10uzf_6 {
463
+ background:
464
+ radial-gradient(120% 90% at 100% 0%, rgba(var(--app-brand-2), 0.9) 0%, rgba(var(--app-brand-2), 0) 60%),
465
+ linear-gradient(160deg, rgb(var(--app-brand-1)) 0%, rgba(var(--semi-orange-0), 0.9) 100%);
466
+ }
467
+
468
+ ._promo_10uzf_6[data-tone='team'] {
469
+ background:
470
+ radial-gradient(120% 90% at 100% 0%, rgba(var(--semi-amber-2), 0.7) 0%, rgba(var(--semi-amber-2), 0) 60%),
471
+ linear-gradient(160deg, rgb(var(--semi-orange-0)) 0%, rgb(var(--semi-amber-0)) 100%);
472
+ }
473
+
474
+ ._promoArt_10uzf_28 {
475
+ position: absolute;
476
+ top: -6px;
477
+ right: 4px;
478
+ width: 80px;
479
+ height: 80px;
480
+ background: url('./assets/upgrade-crown-Ci1IFoXi.webp') center / contain no-repeat;
481
+ pointer-events: none;
482
+ }
483
+
484
+ ._promoBody_10uzf_38 {
485
+ display: flex;
486
+ flex-direction: column;
487
+ padding: 22px 16px 14px;
488
+ }
489
+
490
+ ._promoTitle_10uzf_44 {
491
+ overflow: hidden;
492
+ padding-right: 76px;
493
+ color: rgb(var(--semi-grey-9));
494
+ font-size: 18px;
495
+ font-weight: 600;
496
+ line-height: 26px;
497
+ text-overflow: ellipsis;
498
+ white-space: nowrap;
499
+ }
500
+
501
+ ._promoText_10uzf_55 {
502
+ margin-top: 4px;
503
+ padding-right: 76px;
504
+ color: var(--semi-color-text-1);
505
+ font-size: 13px;
506
+ line-height: 20px;
507
+ }
508
+
509
+ ._cta_10uzf_63 {
510
+ position: relative;
511
+ display: block;
512
+ margin-top: 18px;
513
+ }
514
+
515
+ ._cta_10uzf_63 ._ctaButton_10uzf_69.semi-button {
516
+ border-radius: 999px;
517
+ height: 40px;
518
+ border: none;
519
+ background: rgb(var(--semi-grey-9));
520
+ color: var(--semi-color-white);
521
+ font-size: 14px;
522
+ font-weight: 600;
523
+ letter-spacing: 0.5px;
524
+ }
525
+
526
+ /* 比 Semi 按钮的悬停、按下规则多一个父级类压住,悬停只是略微变浅。 */
527
+ ._cta_10uzf_63 ._ctaButton_10uzf_69.semi-button.semi-button-light:hover,
528
+ ._cta_10uzf_63 ._ctaButton_10uzf_69.semi-button.semi-button-light:active,
529
+ ._cta_10uzf_63 ._ctaButton_10uzf_69.semi-button:focus-visible {
530
+ background: rgb(var(--semi-grey-8));
531
+ color: var(--semi-color-white);
532
+ }
533
+
534
+ /* 起步价角标:像蝉镜的“仅需 78 元”,压在按钮右上角,左下角收成小尖角。 */
535
+ ._ctaTag_10uzf_89 {
536
+ position: absolute;
537
+ top: -11px;
538
+ right: 0;
539
+ height: 22px;
540
+ padding: 0 8px;
541
+ border-radius: 11px 11px 11px 3px;
542
+ background: linear-gradient(90deg, rgb(var(--semi-orange-5)), rgb(var(--app-brand-6)));
543
+ box-shadow: 0 2px 6px rgba(var(--app-brand-6), 0.3);
544
+ color: var(--semi-color-white);
545
+ font-size: 12px;
546
+ font-weight: 600;
547
+ font-variant-numeric: tabular-nums;
548
+ line-height: 22px;
549
+ pointer-events: none;
550
+ }
551
+
552
+ ._ownerOnly_10uzf_106 {
553
+ margin-top: 16px;
554
+ color: var(--semi-color-text-2);
555
+ font-size: 12px;
556
+ line-height: 18px;
557
+ }
558
+
559
+ /* ---------- 会员:黑金卡 ---------- */
560
+
561
+ ._member_10uzf_7 {
562
+ background:
563
+ radial-gradient(110% 120% at 100% 0%, rgba(var(--semi-amber-5), 0.3) 0%, rgba(var(--semi-amber-5), 0) 58%),
564
+ linear-gradient(135deg, rgb(var(--semi-grey-9)) 0%, rgb(var(--semi-grey-8)) 100%);
565
+ color: rgb(var(--semi-amber-1));
566
+ }
567
+
568
+ ._memberArt_10uzf_122 {
569
+ position: absolute;
570
+ top: 2px;
571
+ right: 6px;
572
+ width: 84px;
573
+ height: 84px;
574
+ background: url('./assets/member-gem-DTY0gTzl.webp') center / contain no-repeat;
575
+ pointer-events: none;
576
+ }
577
+
578
+ ._memberBody_10uzf_132 {
579
+ display: flex;
580
+ flex-direction: column;
581
+ align-items: flex-start;
582
+ padding: 18px 16px 16px;
583
+ }
584
+
585
+ ._memberEyebrow_10uzf_139 {
586
+ color: rgba(var(--semi-amber-2), 0.75);
587
+ font-size: 12px;
588
+ line-height: 18px;
589
+ }
590
+
591
+ ._memberTitle_10uzf_145 {
592
+ overflow: hidden;
593
+ max-width: calc(100% - 84px);
594
+ margin-top: 2px;
595
+ background: linear-gradient(90deg, rgb(var(--semi-amber-1)), rgb(var(--semi-amber-4)));
596
+ background-clip: text;
597
+ color: transparent;
598
+ font-size: 22px;
599
+ font-weight: 700;
600
+ line-height: 30px;
601
+ text-overflow: ellipsis;
602
+ white-space: nowrap;
603
+ }
604
+
605
+ ._memberMeta_10uzf_159 {
606
+ margin-top: 4px;
607
+ color: rgba(var(--semi-amber-1), 0.7);
608
+ font-size: 12px;
609
+ line-height: 18px;
610
+ }
611
+
612
+ ._memberBody_10uzf_132 ._memberCta_10uzf_166.semi-button {
613
+ border-radius: 999px;
614
+ height: 30px;
615
+ margin-top: 14px;
616
+ padding: 0 16px;
617
+ border: 1px solid rgba(var(--semi-amber-3), 0.55);
618
+ background: transparent;
619
+ color: rgb(var(--semi-amber-2));
620
+ font-size: 13px;
621
+ font-weight: 600;
622
+ }
623
+
624
+ ._memberBody_10uzf_132 ._memberCta_10uzf_166.semi-button.semi-button-light:hover,
625
+ ._memberBody_10uzf_132 ._memberCta_10uzf_166.semi-button.semi-button-light:active,
626
+ ._memberBody_10uzf_132 ._memberCta_10uzf_166.semi-button:focus-visible {
627
+ border-color: rgb(var(--semi-amber-3));
628
+ background: rgba(var(--semi-amber-5), 0.12);
629
+ color: rgb(var(--semi-amber-1));
630
+ }
631
+
632
+ ._member_10uzf_7[data-expiring='true'] ._memberCta_10uzf_166.semi-button.semi-button-light,
633
+ ._member_10uzf_7[data-expiring='true'] ._memberCta_10uzf_166.semi-button.semi-button-light:hover {
634
+ border: none;
635
+ background: linear-gradient(90deg, rgb(var(--semi-amber-2)), rgb(var(--semi-amber-4)));
636
+ color: rgb(var(--semi-amber-9));
637
+ }
638
+
639
+ /* ---------- 读不到 / 加载中 ---------- */
640
+
641
+ ._plain_10uzf_8 {
642
+ border: 1px solid var(--app-border-1);
643
+ background: var(--semi-color-bg-1);
644
+ }
645
+
646
+ ._plainBody_10uzf_200 {
647
+ display: flex;
648
+ align-items: center;
649
+ justify-content: space-between;
650
+ padding: 16px;
651
+ }
652
+
653
+ ._plainText_10uzf_207 {
654
+ color: var(--semi-color-text-1);
655
+ font-size: 13px;
656
+ }
657
+
658
+ ._plainBody_10uzf_200 ._retry_10uzf_212.semi-button.semi-button-borderless {
659
+ padding: 0 4px;
660
+ }
661
+
662
+ ._loading_10uzf_216 {
663
+ padding: 18px 16px;
664
+ border-radius: 12px;
665
+ background: var(--semi-color-fill-0);
666
+ }
667
+
668
+ /* ---------- 资产条 ---------- */
669
+
670
+ ._assets_10uzf_224 {
671
+ display: flex;
672
+ height: 44px;
673
+ align-items: center;
674
+ padding: 0 8px;
675
+ background: rgba(var(--semi-grey-0), 0.6);
676
+ }
677
+
678
+ ._member_10uzf_7 ._assets_10uzf_224 {
679
+ background: rgba(var(--semi-amber-5), 0.08);
680
+ }
681
+
682
+ ._plain_10uzf_8 ._assets_10uzf_224 {
683
+ border-top: 1px solid var(--app-border-1);
684
+ background: transparent;
685
+ }
686
+
687
+ ._assets_10uzf_224 ._asset_10uzf_224.semi-button.semi-button-borderless {
688
+ display: inline-flex;
689
+ min-width: 0;
690
+ height: 32px;
691
+ flex: 1;
692
+ align-items: center;
693
+ justify-content: flex-start;
694
+ gap: 4px;
695
+ padding: 0 8px;
696
+ border-radius: 8px;
697
+ color: var(--semi-color-text-0);
698
+ font-size: 13px;
699
+ font-weight: 600;
700
+ }
701
+
702
+ ._assets_10uzf_224 ._asset_10uzf_224.semi-button.semi-button-borderless:hover,
703
+ ._assets_10uzf_224 ._asset_10uzf_224.semi-button.semi-button-borderless:active {
704
+ background: rgba(var(--semi-grey-9), 0.04);
705
+ color: var(--semi-color-text-0);
706
+ }
707
+
708
+ ._member_10uzf_7 ._assets_10uzf_224 ._asset_10uzf_224.semi-button.semi-button-borderless,
709
+ ._member_10uzf_7 ._assets_10uzf_224 ._asset_10uzf_224.semi-button.semi-button-borderless:hover,
710
+ ._member_10uzf_7 ._assets_10uzf_224 ._asset_10uzf_224.semi-button.semi-button-borderless:active {
711
+ color: rgb(var(--semi-amber-1));
712
+ }
713
+
714
+ ._member_10uzf_7 ._assets_10uzf_224 ._asset_10uzf_224.semi-button.semi-button-borderless:hover {
715
+ background: rgba(var(--semi-amber-5), 0.1);
716
+ }
717
+
718
+ ._assets_10uzf_224 ._asset_10uzf_224[data-tone='warning'].semi-button.semi-button-borderless,
719
+ ._assets_10uzf_224 ._asset_10uzf_224[data-tone='warning'].semi-button.semi-button-borderless:hover,
720
+ ._member_10uzf_7 ._assets_10uzf_224 ._asset_10uzf_224[data-tone='warning'].semi-button.semi-button-borderless,
721
+ ._member_10uzf_7 ._assets_10uzf_224 ._asset_10uzf_224[data-tone='warning'].semi-button.semi-button-borderless:hover {
722
+ color: rgb(var(--semi-orange-4));
723
+ }
724
+
725
+ ._coin_10uzf_279 {
726
+ width: 20px;
727
+ height: 20px;
728
+ flex: none;
729
+ margin-right: 2px;
730
+ background: url('./assets/coin-BhUDKCPy.webp') center / contain no-repeat;
731
+ }
732
+
733
+ ._assetLabel_10uzf_287 {
734
+ flex: none;
735
+ }
736
+
737
+ ._assetValue_10uzf_291 {
738
+ overflow: hidden;
739
+ font-variant-numeric: tabular-nums;
740
+ text-overflow: ellipsis;
741
+ white-space: nowrap;
742
+ }
743
+
744
+ /* 指针移上去才出现的小箭头,提示能点进明细(蝉镜悬停换成“充值蝉豆 >”)。 */
745
+ ._assetArrow_10uzf_299 {
746
+ flex: none;
747
+ margin-left: 2px;
748
+ font-size: 12px;
749
+ opacity: 0;
750
+ transition: opacity 0.15s var(--app-ease);
751
+ }
752
+
753
+ ._assets_10uzf_224 ._asset_10uzf_224.semi-button:hover ._assetArrow_10uzf_299,
754
+ ._assets_10uzf_224 ._asset_10uzf_224.semi-button:focus-visible ._assetArrow_10uzf_299 {
755
+ opacity: 0.6;
756
+ }
757
+
758
+ ._assetDivider_10uzf_312 {
759
+ width: 1px;
760
+ height: 18px;
761
+ flex: none;
762
+ margin: 0 4px;
763
+ background: rgba(var(--semi-grey-9), 0.1);
764
+ }
765
+
766
+ ._member_10uzf_7 ._assetDivider_10uzf_312 {
767
+ background: rgba(var(--semi-amber-3), 0.25);
768
+ }
769
+ /* 顶栏“开通会员”:暖金渐变胶囊加立体小皇冠,参照蝉镜顶栏最醒目的那颗按钮。 */
770
+ ._upgrade_ea6lf_2.semi-button {
771
+ display: inline-flex;
772
+ height: 34px;
773
+ align-items: center;
774
+ gap: 4px;
775
+ padding: 0 14px 0 10px;
776
+ border: 1px solid rgba(var(--semi-orange-4), 0.3);
777
+ border-radius: 999px;
778
+ background: linear-gradient(98deg, rgb(var(--semi-orange-1)) 0%, rgb(var(--semi-orange-2)) 100%);
779
+ color: rgb(var(--semi-orange-8));
780
+ font-size: 14px;
781
+ font-weight: 600;
782
+ }
783
+
784
+ /* Semi 按钮的悬停、按下规则最多 4 个类,这里写满 5 个类才压得住。 */
785
+ ._upgrade_ea6lf_2.semi-button.semi-button-light:not(.semi-button-disabled):hover,
786
+ ._upgrade_ea6lf_2.semi-button.semi-button-light:not(.semi-button-disabled):active,
787
+ ._upgrade_ea6lf_2.semi-button:focus-visible {
788
+ border-color: rgba(var(--semi-orange-4), 0.5);
789
+ background: linear-gradient(98deg, rgb(var(--semi-orange-1)) 0%, rgb(var(--semi-orange-3)) 100%);
790
+ color: rgb(var(--semi-orange-9));
791
+ }
792
+
793
+ ._crown_ea6lf_25 {
794
+ width: 20px;
795
+ height: 20px;
796
+ flex: none;
797
+ background: url('./assets/crown-D5kKk5rW.webp') center / contain no-repeat;
798
+ }
799
+
800
+ @media (max-width: 576px) {
801
+ ._upgrade_ea6lf_2.semi-button {
802
+ padding: 0 8px;
803
+ }
804
+
805
+ ._text_ea6lf_37 {
806
+ display: none;
807
+ }
808
+ }
809
+ /* 顶栏积分:34px 白底细边胶囊,左边立体金币(assets/membership/coin.webp),数字等宽。 */
810
+ ._wallet_weimr_2.semi-button {
811
+ display: inline-flex;
812
+ height: 34px;
813
+ align-items: center;
814
+ gap: 6px;
815
+ padding: 0 14px 0 8px;
816
+ border: 1px solid var(--app-border-2);
817
+ border-radius: 999px;
818
+ background: var(--semi-color-bg-1);
819
+ color: var(--semi-color-text-0);
820
+ font-size: 14px;
821
+ font-weight: 600;
822
+ }
823
+
824
+ /* Semi 按钮的悬停、按下规则最多 4 个类,这里写满 5 个类才压得住。 */
825
+ ._wallet_weimr_2.semi-button.semi-button-light:not(.semi-button-disabled):hover,
826
+ ._wallet_weimr_2.semi-button.semi-button-light:not(.semi-button-disabled):active,
827
+ ._wallet_weimr_2.semi-button:focus-visible {
828
+ border-color: rgb(var(--app-brand-3));
829
+ background: var(--semi-color-bg-1);
830
+ color: var(--semi-color-text-0);
831
+ }
832
+
833
+ ._coin_weimr_25 {
834
+ width: 20px;
835
+ height: 20px;
836
+ flex: none;
837
+ background: url('./assets/coin-BhUDKCPy.webp') center / contain no-repeat;
838
+ }
839
+
840
+ ._value_weimr_32 {
841
+ font-variant-numeric: tabular-nums;
842
+ }
843
+ /* 套 Semi 按钮类名的链接:补上链接自己的默认样式差异(下划线、行内盒),其余全部来自 Semi 的按钮样式。 */
844
+ ._linkButton_1i3vf_2,
845
+ ._linkButton_1i3vf_2:hover,
846
+ ._linkButton_1i3vf_2:focus,
847
+ ._linkButton_1i3vf_2:active {
848
+ box-sizing: border-box;
849
+ text-decoration: none;
850
+ }
851
+
852
+ ._linkButton_1i3vf_2:focus-visible {
853
+ outline: 2px solid var(--semi-color-primary-light-active);
854
+ outline-offset: 1px;
855
+ }
856
+
857
+ ._icon_1i3vf_15 {
858
+ display: inline-flex;
859
+ align-items: center;
860
+ font-size: 16px;
861
+ }
862
+
863
+ ._icon_1i3vf_15 + * {
864
+ margin-left: 8px;
865
+ }
866
+
867
+ ._contentReverse_1i3vf_25 {
868
+ flex-direction: row-reverse;
869
+ }
870
+
871
+ ._contentReverse_1i3vf_25 ._icon_1i3vf_15 + * {
872
+ margin-right: 8px;
873
+ margin-left: 0;
874
+ }
875
+ /*
876
+ * 个人中心:整块内容在页面中间(最宽 1300px),左边 264px 身份卡片与分区菜单(吸顶),右边一整块白底面板,
877
+ * 里面是分区标题和各段内容(段落平铺,不再各自成卡片)。面板与身份卡片同为 12px 圆角、同样的卡片投影,
878
+ * 宽屏时至少铺到视口底部,内容少也不露出底下的灰色。颜色只引用 Semi 设计变量,暗色主题随之切换。
879
+ */
880
+
881
+ ._center_47ha7_7 {
882
+ display: grid;
883
+ width: 100%;
884
+ max-width: 1300px;
885
+ box-sizing: border-box;
886
+ margin: 0 auto;
887
+ padding: 16px 0 40px;
888
+ grid-template-columns: 264px minmax(0, 1fr);
889
+ align-items: start;
890
+ gap: 24px;
891
+ }
892
+
893
+ /* ---------- 左侧:身份卡片 · 套餐和积分摘要 · 分区菜单 · 退出登录 ---------- */
894
+
895
+ ._aside_47ha7_21 {
896
+ position: sticky;
897
+ top: calc(var(--app-header-height) + 16px);
898
+ min-width: 0;
899
+ }
900
+
901
+ ._identityCard_47ha7_27.semi-card {
902
+ overflow: hidden;
903
+ border-radius: 12px;
904
+ }
905
+
906
+ ._identity_47ha7_27 {
907
+ display: flex;
908
+ flex-direction: column;
909
+ align-items: center;
910
+ gap: 12px;
911
+ padding: 28px 20px 18px;
912
+ background: linear-gradient(180deg, rgb(var(--app-brand-1)) 0%, var(--semi-color-bg-1) 100%);
913
+ text-align: center;
914
+ }
915
+
916
+ ._identityAvatar_47ha7_42.semi-avatar {
917
+ width: 56px;
918
+ height: 56px;
919
+ flex: none;
920
+ background: rgb(var(--app-brand-6));
921
+ box-shadow:
922
+ 0 0 0 4px var(--semi-color-bg-1),
923
+ 0 8px 20px rgba(var(--app-brand-6), 0.28);
924
+ color: var(--semi-color-white);
925
+ font-size: 22px;
926
+ font-weight: 600;
927
+ }
928
+
929
+ ._identityText_47ha7_55 {
930
+ display: flex;
931
+ width: 100%;
932
+ min-width: 0;
933
+ flex-direction: column;
934
+ align-items: center;
935
+ gap: 6px;
936
+ }
937
+
938
+ ._identityName_47ha7_64 {
939
+ overflow: hidden;
940
+ max-width: 100%;
941
+ min-height: 26px;
942
+ color: var(--semi-color-text-0);
943
+ font-size: 18px;
944
+ font-weight: 600;
945
+ line-height: 26px;
946
+ text-overflow: ellipsis;
947
+ white-space: nowrap;
948
+ }
949
+
950
+ ._identitySpace_47ha7_76 {
951
+ display: inline-flex;
952
+ max-width: 100%;
953
+ align-items: center;
954
+ gap: 6px;
955
+ color: var(--semi-color-text-1);
956
+ font-size: 13px;
957
+ line-height: 20px;
958
+ }
959
+
960
+ ._identitySpace_47ha7_76 > .semi-icon {
961
+ flex: none;
962
+ color: var(--semi-color-text-2);
963
+ }
964
+
965
+ ._identitySpaceName_47ha7_91 {
966
+ overflow: hidden;
967
+ min-width: 0;
968
+ text-overflow: ellipsis;
969
+ white-space: nowrap;
970
+ }
971
+
972
+ ._identityRole_47ha7_98 {
973
+ flex: none;
974
+ padding: 0 6px;
975
+ border-radius: var(--semi-border-radius-medium);
976
+ background: var(--semi-color-fill-1);
977
+ color: var(--semi-color-text-2);
978
+ font-size: 12px;
979
+ line-height: 20px;
980
+ }
981
+
982
+ ._identityStats_47ha7_108 {
983
+ display: grid;
984
+ margin: 0 16px 8px;
985
+ grid-template-columns: 1fr 1fr;
986
+ border-radius: 8px;
987
+ background: var(--semi-color-fill-0);
988
+ }
989
+
990
+ ._identityStat_47ha7_108 {
991
+ display: flex;
992
+ min-width: 0;
993
+ flex-direction: column;
994
+ align-items: center;
995
+ gap: 2px;
996
+ padding: 10px 8px;
997
+ }
998
+
999
+ ._identityStat_47ha7_108 + ._identityStat_47ha7_108 {
1000
+ border-left: 1px solid var(--app-border-1);
1001
+ }
1002
+
1003
+ ._identityStatLabel_47ha7_129 {
1004
+ color: var(--semi-color-text-2);
1005
+ font-size: 12px;
1006
+ line-height: 18px;
1007
+ }
1008
+
1009
+ ._identityStatValue_47ha7_135 {
1010
+ overflow: hidden;
1011
+ max-width: 100%;
1012
+ color: var(--semi-color-text-0);
1013
+ font-size: 15px;
1014
+ font-variant-numeric: tabular-nums;
1015
+ font-weight: 600;
1016
+ line-height: 22px;
1017
+ text-overflow: ellipsis;
1018
+ white-space: nowrap;
1019
+ }
1020
+
1021
+ ._nav_47ha7_147 {
1022
+ display: flex;
1023
+ flex-direction: column;
1024
+ gap: 2px;
1025
+ padding: 8px;
1026
+ }
1027
+
1028
+ /* 分区菜单项:44px、8px 圆角;悬停浅灰底,当前分区浅主色底加粗。
1029
+ 选择器比 Semi 文字按钮的悬停规则更具体。 */
1030
+ ._nav_47ha7_147 ._navItem_47ha7_156.semi-button.semi-button-borderless {
1031
+ display: flex;
1032
+ width: 100%;
1033
+ height: 44px;
1034
+ align-items: center;
1035
+ justify-content: flex-start;
1036
+ gap: 10px;
1037
+ padding: 0 12px;
1038
+ border-radius: 8px;
1039
+ background: transparent;
1040
+ color: var(--semi-color-text-0);
1041
+ font-size: 15px;
1042
+ font-weight: 400;
1043
+ }
1044
+
1045
+ /* Semi 把按钮子元素包进 .semi-button-content,图标、文字与箭头的间距要写在它上面 */
1046
+ ._nav_47ha7_147 ._navItem_47ha7_156 .semi-button-content {
1047
+ display: flex;
1048
+ width: 100%;
1049
+ align-items: center;
1050
+ gap: 10px;
1051
+ }
1052
+
1053
+ ._nav_47ha7_147 ._navItem_47ha7_156.semi-button.semi-button-borderless:hover {
1054
+ background: var(--semi-color-fill-0);
1055
+ color: rgb(var(--app-brand-6));
1056
+ }
1057
+
1058
+ ._nav_47ha7_147 ._navItem_47ha7_156[aria-current='page'].semi-button.semi-button-borderless,
1059
+ ._nav_47ha7_147 ._navItem_47ha7_156[aria-current='page'].semi-button.semi-button-borderless:hover {
1060
+ background: var(--semi-color-primary-light-default);
1061
+ color: rgb(var(--app-brand-6));
1062
+ font-weight: 600;
1063
+ }
1064
+
1065
+ ._navIcon_47ha7_191 {
1066
+ display: inline-flex;
1067
+ color: var(--semi-color-text-2);
1068
+ font-size: 18px;
1069
+ }
1070
+
1071
+ ._navItem_47ha7_156:hover ._navIcon_47ha7_191,
1072
+ ._navItem_47ha7_156[aria-current='page'] ._navIcon_47ha7_191 {
1073
+ color: rgb(var(--app-brand-6));
1074
+ }
1075
+
1076
+ ._navLabel_47ha7_202 {
1077
+ flex: 1 1 auto;
1078
+ text-align: left;
1079
+ }
1080
+
1081
+ ._navArrow_47ha7_207 {
1082
+ color: var(--semi-color-text-3);
1083
+ font-size: 12px;
1084
+ opacity: 0;
1085
+ transition: opacity 0.2s var(--app-ease);
1086
+ }
1087
+
1088
+ ._navItem_47ha7_156:hover ._navArrow_47ha7_207,
1089
+ ._navItem_47ha7_156[aria-current='page'] ._navArrow_47ha7_207 {
1090
+ opacity: 1;
1091
+ }
1092
+
1093
+ ._navItem_47ha7_156[aria-current='page'] ._navArrow_47ha7_207 {
1094
+ color: rgb(var(--app-brand-6));
1095
+ }
1096
+
1097
+ ._asideFoot_47ha7_223 {
1098
+ padding: 8px;
1099
+ border-top: 1px solid var(--app-border-1);
1100
+ }
1101
+
1102
+ ._asideFoot_47ha7_223 ._logout_47ha7_228.semi-button.semi-button-borderless {
1103
+ display: flex;
1104
+ width: 100%;
1105
+ height: 40px;
1106
+ align-items: center;
1107
+ justify-content: flex-start;
1108
+ padding: 0 12px;
1109
+ border-radius: 8px;
1110
+ background: transparent;
1111
+ color: var(--semi-color-text-2);
1112
+ font-size: 14px;
1113
+ }
1114
+
1115
+ ._asideFoot_47ha7_223 ._logout_47ha7_228.semi-button.semi-button-borderless:hover {
1116
+ background: var(--semi-color-fill-0);
1117
+ color: rgb(var(--semi-red-5));
1118
+ }
1119
+
1120
+ /* ---------- 右侧:白底面板,分区标题与各段内容 ---------- */
1121
+
1122
+ /* 至少高到视口底部:减去顶栏和 .center 的上下留白(16px + 40px)。 */
1123
+ ._main_47ha7_249 {
1124
+ display: flex;
1125
+ min-width: 0;
1126
+ min-height: calc(100dvh - var(--app-header-height) - 56px);
1127
+ box-sizing: border-box;
1128
+ flex-direction: column;
1129
+ gap: 24px;
1130
+ padding: 28px 32px 32px;
1131
+ border-radius: 12px;
1132
+ background: var(--semi-color-bg-1);
1133
+ box-shadow: var(--app-shadow-card);
1134
+ }
1135
+
1136
+ ._head_47ha7_262 {
1137
+ padding-bottom: 20px;
1138
+ border-bottom: 1px solid var(--app-border-1);
1139
+ }
1140
+
1141
+ ._title_47ha7_267.semi-typography {
1142
+ margin: 0;
1143
+ color: var(--semi-color-text-0);
1144
+ font-size: 24px;
1145
+ font-weight: 600;
1146
+ line-height: 32px;
1147
+ }
1148
+
1149
+ ._description_47ha7_275.semi-typography {
1150
+ margin: 6px 0 0;
1151
+ color: var(--semi-color-text-2);
1152
+ font-size: 14px;
1153
+ line-height: 22px;
1154
+ }
1155
+
1156
+ /* 面板里的一段内容:去掉主题给卡片的投影和底色,段标题在上,内容紧随其后;相邻两段之间一条细分隔线。
1157
+ 积分明细是爆款复刻里复用的卡片,包一层 .usage 套同样的平铺样式。 */
1158
+ ._card_47ha7_284.semi-card,
1159
+ ._usage_47ha7_283 > .semi-card {
1160
+ border: none;
1161
+ border-radius: 0;
1162
+ background: transparent;
1163
+ box-shadow: none;
1164
+ }
1165
+
1166
+ ._card_47ha7_284 + ._card_47ha7_284 {
1167
+ padding-top: 24px;
1168
+ border-top: 1px solid var(--app-border-1);
1169
+ }
1170
+
1171
+ ._card_47ha7_284 .semi-card-header,
1172
+ ._usage_47ha7_283 > .semi-card > .semi-card-header {
1173
+ height: auto;
1174
+ padding: 0;
1175
+ border-bottom: none;
1176
+ }
1177
+
1178
+ ._card_47ha7_284 .semi-card-header-wrapper-title,
1179
+ ._usage_47ha7_283 > .semi-card > .semi-card-header .semi-card-header-wrapper-title {
1180
+ font-size: 16px;
1181
+ font-weight: 600;
1182
+ }
1183
+
1184
+ ._card_47ha7_284 .semi-card-body,
1185
+ ._usage_47ha7_283 > .semi-card > .semi-card-body {
1186
+ padding: 16px 0 0;
1187
+ }
1188
+
1189
+ /* 账号信息:两列字段,标签灰色小字在上,值在下,再下一行是说明。 */
1190
+ ._fields_47ha7_316 {
1191
+ display: grid;
1192
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1193
+ gap: 20px 32px;
1194
+ }
1195
+
1196
+ ._field_47ha7_316 {
1197
+ display: flex;
1198
+ min-width: 0;
1199
+ flex-direction: column;
1200
+ gap: 6px;
1201
+ }
1202
+
1203
+ ._fieldLabel_47ha7_329 {
1204
+ color: var(--semi-color-text-2);
1205
+ font-size: 13px;
1206
+ line-height: 20px;
1207
+ }
1208
+
1209
+ ._fieldValue_47ha7_335 {
1210
+ display: flex;
1211
+ min-width: 0;
1212
+ flex-direction: column;
1213
+ gap: 4px;
1214
+ }
1215
+
1216
+ /* 昵称、空间名可能很长且不带空格:允许在任意位置折行,不挤进右边一列。 */
1217
+ ._fieldText_47ha7_343 {
1218
+ display: inline-flex;
1219
+ min-width: 0;
1220
+ flex-wrap: wrap;
1221
+ align-items: center;
1222
+ gap: 6px;
1223
+ color: var(--semi-color-text-0);
1224
+ font-size: 15px;
1225
+ font-weight: 500;
1226
+ line-height: 24px;
1227
+ overflow-wrap: anywhere;
1228
+ }
1229
+
1230
+ ._fieldMuted_47ha7_356 {
1231
+ color: var(--semi-color-text-2);
1232
+ font-size: 14px;
1233
+ font-weight: 400;
1234
+ }
1235
+
1236
+ ._fieldHint_47ha7_362 {
1237
+ color: var(--semi-color-text-2);
1238
+ font-size: 12px;
1239
+ line-height: 18px;
1240
+ }
1241
+
1242
+ ._mono_47ha7_368.semi-typography {
1243
+ margin: 0;
1244
+ color: var(--semi-color-text-0);
1245
+ font-family: var(--font-family-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
1246
+ font-size: 13px;
1247
+ line-height: 24px;
1248
+ word-break: break-all;
1249
+ }
1250
+
1251
+ ._inlineTag_47ha7_377.semi-tag {
1252
+ margin: 0;
1253
+ }
1254
+
1255
+ /* 一行设置:40px 浅主色图标块、标题与说明、右侧按钮;行之间细分隔线。 */
1256
+ ._settingList_47ha7_382 {
1257
+ display: flex;
1258
+ flex-direction: column;
1259
+ }
1260
+
1261
+ ._settingRow_47ha7_387 {
1262
+ display: flex;
1263
+ align-items: center;
1264
+ gap: 16px;
1265
+ padding: 16px 0;
1266
+ border-bottom: 1px solid var(--app-border-1);
1267
+ }
1268
+
1269
+ ._settingList_47ha7_382 > ._settingRow_47ha7_387:first-child {
1270
+ padding-top: 4px;
1271
+ }
1272
+
1273
+ ._settingList_47ha7_382 > ._settingRow_47ha7_387:last-child {
1274
+ border-bottom: none;
1275
+ }
1276
+
1277
+ ._settingIcon_47ha7_403 {
1278
+ display: inline-flex;
1279
+ width: 40px;
1280
+ height: 40px;
1281
+ flex: none;
1282
+ align-items: center;
1283
+ justify-content: center;
1284
+ border-radius: 10px;
1285
+ background: rgb(var(--app-brand-1));
1286
+ color: rgb(var(--app-brand-6));
1287
+ font-size: 20px;
1288
+ }
1289
+
1290
+ ._settingText_47ha7_416 {
1291
+ display: flex;
1292
+ min-width: 0;
1293
+ flex: 1 1 auto;
1294
+ flex-direction: column;
1295
+ gap: 4px;
1296
+ }
1297
+
1298
+ ._settingTitle_47ha7_424 {
1299
+ color: var(--semi-color-text-0);
1300
+ font-size: 15px;
1301
+ font-weight: 500;
1302
+ line-height: 22px;
1303
+ }
1304
+
1305
+ ._settingDescription_47ha7_431 {
1306
+ color: var(--semi-color-text-2);
1307
+ font-size: 13px;
1308
+ line-height: 20px;
1309
+ }
1310
+
1311
+ ._settingAction_47ha7_437 {
1312
+ flex: none;
1313
+ }
1314
+
1315
+ ._note_47ha7_441 {
1316
+ display: flex;
1317
+ align-items: flex-start;
1318
+ gap: 8px;
1319
+ margin-top: 8px;
1320
+ padding: 10px 12px;
1321
+ border-radius: 8px;
1322
+ background: var(--semi-color-fill-0);
1323
+ color: var(--semi-color-text-2);
1324
+ font-size: 13px;
1325
+ line-height: 20px;
1326
+ }
1327
+
1328
+ ._note_47ha7_441 > .semi-icon {
1329
+ flex: none;
1330
+ margin-top: 3px;
1331
+ color: rgb(var(--semi-green-5));
1332
+ }
1333
+
1334
+ /* 去账号中心的按钮:文字后一个小外链图标。 */
1335
+ ._centerLink_47ha7_461.semi-button {
1336
+ display: inline-flex;
1337
+ align-items: center;
1338
+ gap: 6px;
1339
+ }
1340
+
1341
+ ._centerLinkIcon_47ha7_467 {
1342
+ font-size: 12px;
1343
+ opacity: 0.75;
1344
+ }
1345
+
1346
+ /* ---------- 套餐、积分的主卡片:浅主色渐变,大号数值,右侧操作;底部一行说明 ---------- */
1347
+
1348
+ /* 面板里唯一自成一块的内容:细描边代替主题的卡片投影,圆角比面板小一档。 */
1349
+ ._heroCard_47ha7_475.semi-card {
1350
+ overflow: hidden;
1351
+ border: 1px solid var(--app-border-2);
1352
+ border-radius: 10px;
1353
+ box-shadow: none;
1354
+ }
1355
+
1356
+ ._hero_47ha7_475 {
1357
+ display: flex;
1358
+ align-items: center;
1359
+ justify-content: space-between;
1360
+ gap: 24px;
1361
+ padding: 28px 28px 24px;
1362
+ background:
1363
+ radial-gradient(120% 160% at 100% 0%, rgba(var(--app-brand-3), 0.32) 0%, transparent 55%),
1364
+ linear-gradient(135deg, rgb(var(--app-brand-1)) 0%, var(--semi-color-bg-1) 72%);
1365
+ }
1366
+
1367
+ ._hero_47ha7_475[data-tone='warning'] {
1368
+ background:
1369
+ radial-gradient(120% 160% at 100% 0%, rgba(var(--semi-orange-2), 0.3) 0%, transparent 55%),
1370
+ linear-gradient(135deg, rgb(var(--semi-orange-0)) 0%, var(--semi-color-bg-1) 72%);
1371
+ }
1372
+
1373
+ ._heroMain_47ha7_499 {
1374
+ display: flex;
1375
+ min-width: 0;
1376
+ flex: 1 1 auto;
1377
+ flex-direction: column;
1378
+ gap: 8px;
1379
+ }
1380
+
1381
+ /* “当前套餐 · 空间名”一行显示,空间名太长时省略,完整名称在悬停提示里。 */
1382
+ ._heroEyebrow_47ha7_508 {
1383
+ display: inline-flex;
1384
+ max-width: 100%;
1385
+ align-items: center;
1386
+ gap: 6px;
1387
+ color: var(--semi-color-text-1);
1388
+ font-size: 13px;
1389
+ line-height: 20px;
1390
+ }
1391
+
1392
+ ._heroEyebrow_47ha7_508 > .semi-icon {
1393
+ flex: none;
1394
+ color: rgb(var(--app-brand-6));
1395
+ }
1396
+
1397
+ ._heroEyebrowText_47ha7_523 {
1398
+ overflow: hidden;
1399
+ min-width: 0;
1400
+ text-overflow: ellipsis;
1401
+ white-space: nowrap;
1402
+ }
1403
+
1404
+ ._hero_47ha7_475[data-tone='warning'] ._heroEyebrow_47ha7_508 > .semi-icon {
1405
+ color: rgb(var(--semi-orange-5));
1406
+ }
1407
+
1408
+ ._heroValue_47ha7_534 {
1409
+ color: var(--semi-color-text-0);
1410
+ font-size: 32px;
1411
+ font-variant-numeric: tabular-nums;
1412
+ font-weight: 700;
1413
+ letter-spacing: 0.01em;
1414
+ line-height: 40px;
1415
+ overflow-wrap: anywhere;
1416
+ }
1417
+
1418
+ ._heroMeta_47ha7_544 {
1419
+ display: inline-flex;
1420
+ flex-wrap: wrap;
1421
+ align-items: center;
1422
+ gap: 8px;
1423
+ color: var(--semi-color-text-2);
1424
+ font-size: 13px;
1425
+ line-height: 20px;
1426
+ }
1427
+
1428
+ ._heroMeta_47ha7_544 .semi-tag {
1429
+ margin: 0;
1430
+ }
1431
+
1432
+ ._heroActions_47ha7_558 {
1433
+ display: flex;
1434
+ flex: none;
1435
+ flex-wrap: wrap;
1436
+ align-items: center;
1437
+ justify-content: flex-end;
1438
+ gap: 8px;
1439
+ }
1440
+
1441
+ ._heroFoot_47ha7_567 {
1442
+ display: flex;
1443
+ min-height: 44px;
1444
+ box-sizing: border-box;
1445
+ align-items: center;
1446
+ justify-content: space-between;
1447
+ gap: 12px;
1448
+ padding: 10px 28px;
1449
+ border-top: 1px solid var(--app-border-1);
1450
+ color: var(--semi-color-text-2);
1451
+ font-size: 13px;
1452
+ line-height: 20px;
1453
+ }
1454
+
1455
+ ._heroFoot_47ha7_567 > .semi-button {
1456
+ flex: none;
1457
+ }
1458
+
1459
+ ._ownerOnly_47ha7_585 {
1460
+ padding: 0 4px;
1461
+ color: var(--semi-color-text-2);
1462
+ font-size: 13px;
1463
+ }
1464
+
1465
+ /* ---------- 窄屏:身份卡片在上(横排),分区菜单一行横排,退出登录收进右上角账号下拉 ---------- */
1466
+
1467
+ @media (max-width: 768px) {
1468
+ ._center_47ha7_7 {
1469
+ padding: 8px 0 24px;
1470
+ grid-template-columns: minmax(0, 1fr);
1471
+ gap: 16px;
1472
+ }
1473
+
1474
+ ._aside_47ha7_21 {
1475
+ position: static;
1476
+ }
1477
+
1478
+ ._identity_47ha7_27 {
1479
+ flex-direction: row;
1480
+ padding: 16px;
1481
+ text-align: left;
1482
+ }
1483
+
1484
+ ._identityText_47ha7_55 {
1485
+ align-items: flex-start;
1486
+ }
1487
+
1488
+ ._nav_47ha7_147 {
1489
+ flex-direction: row;
1490
+ overflow-x: auto;
1491
+ scrollbar-width: none;
1492
+ }
1493
+
1494
+ /* 三个分区平分一行,只留文字 */
1495
+ ._nav_47ha7_147 ._navItem_47ha7_156.semi-button.semi-button-borderless {
1496
+ width: auto;
1497
+ min-width: 0;
1498
+ height: 40px;
1499
+ flex: 1 1 0;
1500
+ justify-content: center;
1501
+ padding: 0 8px;
1502
+ font-size: 14px;
1503
+ }
1504
+
1505
+ ._navLabel_47ha7_202 {
1506
+ flex: none;
1507
+ white-space: nowrap;
1508
+ }
1509
+
1510
+ ._navIcon_47ha7_191,
1511
+ ._navArrow_47ha7_207,
1512
+ ._asideFoot_47ha7_223 {
1513
+ display: none;
1514
+ }
1515
+
1516
+ /* 身份卡片在上面,面板不再需要铺满视口 */
1517
+ ._main_47ha7_249 {
1518
+ min-height: 0;
1519
+ gap: 20px;
1520
+ padding: 20px 16px 24px;
1521
+ }
1522
+
1523
+ ._head_47ha7_262 {
1524
+ padding-bottom: 16px;
1525
+ }
1526
+
1527
+ ._card_47ha7_284 + ._card_47ha7_284 {
1528
+ padding-top: 20px;
1529
+ }
1530
+
1531
+ ._card_47ha7_284 .semi-card-body,
1532
+ ._usage_47ha7_283 > .semi-card > .semi-card-body {
1533
+ padding-top: 12px;
1534
+ }
1535
+
1536
+ ._fields_47ha7_316 {
1537
+ grid-template-columns: minmax(0, 1fr);
1538
+ }
1539
+
1540
+ /* 窄屏一行设置:图标在左,标题、说明和按钮都在右边一列 */
1541
+ ._settingRow_47ha7_387 {
1542
+ display: grid;
1543
+ grid-template-columns: 40px minmax(0, 1fr);
1544
+ align-items: start;
1545
+ gap: 10px 16px;
1546
+ }
1547
+
1548
+ ._settingAction_47ha7_437 {
1549
+ grid-column: 2;
1550
+ }
1551
+
1552
+ ._hero_47ha7_475 {
1553
+ flex-direction: column;
1554
+ align-items: flex-start;
1555
+ padding: 20px;
1556
+ }
1557
+
1558
+ ._heroValue_47ha7_534 {
1559
+ font-size: 28px;
1560
+ line-height: 36px;
1561
+ }
1562
+
1563
+ ._heroActions_47ha7_558 {
1564
+ justify-content: flex-start;
1565
+ }
1566
+
1567
+ ._heroFoot_47ha7_567 {
1568
+ flex-direction: column;
1569
+ align-items: flex-start;
1570
+ padding: 10px 20px 12px;
1571
+ }
1572
+
1573
+ /* 订单记录这类文字按钮与上面的说明左对齐 */
1574
+ ._heroFoot_47ha7_567 > .semi-button {
1575
+ padding-right: 0;
1576
+ padding-left: 0;
1577
+ }
1578
+ }
1579
+
1580
+ /* 当前套餐读取中的骨架:两行,宽度不超过主卡片的文字区。 */
1581
+ ._heroSkeleton_47ha7_707 {
1582
+ width: 240px;
1583
+ max-width: 100%;
1584
+ }
1585
+ /*
1586
+ * 订阅与套餐里的权益卡:每张 14px 圆角、细描边,上半按套餐配色(免费素白 / 标准浅橙 / 高档黑金 / 团队暖金)放套餐名、一句话和价格,
1587
+ * 右上角一枚立体图标(assets/membership/,与账号卡片同一套),下半是勾选清单和胶囊按钮。
1588
+ * Semi 按钮的悬停、按下规则最多 4 个类,按钮样式都多写一个父级类压住。颜色只用 Semi 色板变量。
1589
+ */
1590
+
1591
+ ._subtitle_1rvtt_7 {
1592
+ display: block;
1593
+ margin: -6px 0 16px;
1594
+ color: var(--semi-color-text-2);
1595
+ font-size: 13px;
1596
+ line-height: 20px;
1597
+ }
1598
+
1599
+ /* auto-fit:套餐比列数少时(个人 3 张、团队 2 张)卡片拉宽铺满,右边不留空列。 */
1600
+ ._grid_1rvtt_16 {
1601
+ display: grid;
1602
+ grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
1603
+ gap: 16px;
1604
+ }
1605
+
1606
+ ._skeleton_1rvtt_22 {
1607
+ padding: 20px;
1608
+ border: 1px solid var(--app-border-1);
1609
+ border-radius: 14px;
1610
+ }
1611
+
1612
+ /* ---------- 一张卡 ---------- */
1613
+
1614
+ ._card_1rvtt_30 {
1615
+ position: relative;
1616
+ display: flex;
1617
+ min-width: 0;
1618
+ flex-direction: column;
1619
+ overflow: hidden;
1620
+ border: 1px solid var(--app-border-2);
1621
+ border-radius: 14px;
1622
+ background: var(--semi-color-bg-1);
1623
+ transition:
1624
+ box-shadow 0.2s var(--app-ease),
1625
+ translate 0.2s var(--app-ease);
1626
+ }
1627
+
1628
+ ._card_1rvtt_30:hover {
1629
+ box-shadow: var(--app-shadow-card-hover);
1630
+ translate: 0 -2px;
1631
+ }
1632
+
1633
+ ._card_1rvtt_30[data-tone='standard'] {
1634
+ border-color: rgb(var(--app-brand-3));
1635
+ }
1636
+
1637
+ ._card_1rvtt_30[data-tone='pro'] {
1638
+ border-color: rgba(var(--semi-amber-5), 0.45);
1639
+ }
1640
+
1641
+ ._card_1rvtt_30[data-current='true'] {
1642
+ box-shadow: 0 0 0 2px rgba(var(--app-brand-6), 0.18);
1643
+ }
1644
+
1645
+ /* 从升级弹窗过来时页面滚到会员套餐,留出顶栏的高度。 */
1646
+ ._section_1rvtt_62 {
1647
+ scroll-margin-top: calc(var(--app-header-height, 56px) + 16px);
1648
+ }
1649
+
1650
+ /* 升级弹窗推荐的这一档:主色描边加一圈浅光,进入时轻轻闪两下(减少动态效果时不闪)。 */
1651
+ ._card_1rvtt_30[data-focus='true'] {
1652
+ border-color: rgb(var(--app-brand-6));
1653
+ box-shadow: 0 0 0 3px rgba(var(--app-brand-6), 0.18);
1654
+ }
1655
+
1656
+ ._card_1rvtt_30[data-focus='true']:hover {
1657
+ box-shadow:
1658
+ 0 0 0 3px rgba(var(--app-brand-6), 0.18),
1659
+ var(--app-shadow-card-hover);
1660
+ }
1661
+
1662
+ @media (prefers-reduced-motion: no-preference) {
1663
+ ._card_1rvtt_30[data-focus='true'] {
1664
+ animation: _plan-focus_1rvtt_1 1.1s var(--app-ease) 0.4s 2;
1665
+ }
1666
+ }
1667
+
1668
+ @keyframes _plan-focus_1rvtt_1 {
1669
+ 50% {
1670
+ box-shadow: 0 0 0 7px rgba(var(--app-brand-6), 0.1);
1671
+ }
1672
+ }
1673
+
1674
+ ._badge_1rvtt_90 {
1675
+ position: absolute;
1676
+ z-index: 1;
1677
+ top: 0;
1678
+ right: 0;
1679
+ padding: 0 10px;
1680
+ border-radius: 0 13px 0 10px;
1681
+ background: linear-gradient(90deg, rgb(var(--semi-orange-5)), rgb(var(--app-brand-6)));
1682
+ color: var(--semi-color-white);
1683
+ font-size: 12px;
1684
+ font-weight: 600;
1685
+ line-height: 22px;
1686
+ }
1687
+
1688
+ ._badge_1rvtt_90[data-kind='current'] {
1689
+ background: rgb(var(--semi-grey-9));
1690
+ }
1691
+
1692
+ ._top_1rvtt_108 {
1693
+ position: relative;
1694
+ display: flex;
1695
+ flex-direction: column;
1696
+ padding: 20px 18px 16px;
1697
+ }
1698
+
1699
+ ._card_1rvtt_30[data-tone='basic'] ._top_1rvtt_108 {
1700
+ background: linear-gradient(160deg, var(--semi-color-fill-0) 0%, var(--semi-color-bg-1) 100%);
1701
+ }
1702
+
1703
+ ._card_1rvtt_30[data-tone='standard'] ._top_1rvtt_108 {
1704
+ background:
1705
+ radial-gradient(120% 100% at 100% 0%, rgba(var(--app-brand-2), 0.9) 0%, rgba(var(--app-brand-2), 0) 62%),
1706
+ linear-gradient(160deg, rgb(var(--app-brand-1)) 0%, rgba(var(--semi-orange-0), 0.9) 100%);
1707
+ }
1708
+
1709
+ ._card_1rvtt_30[data-tone='pro'] ._top_1rvtt_108 {
1710
+ background:
1711
+ radial-gradient(110% 120% at 100% 0%, rgba(var(--semi-amber-5), 0.3) 0%, rgba(var(--semi-amber-5), 0) 58%),
1712
+ linear-gradient(135deg, rgb(var(--semi-grey-9)) 0%, rgb(var(--semi-grey-8)) 100%);
1713
+ color: rgb(var(--semi-amber-1));
1714
+ }
1715
+
1716
+ ._card_1rvtt_30[data-tone='team'] ._top_1rvtt_108 {
1717
+ background:
1718
+ radial-gradient(120% 100% at 100% 0%, rgba(var(--semi-amber-2), 0.75) 0%, rgba(var(--semi-amber-2), 0) 62%),
1719
+ linear-gradient(160deg, rgb(var(--semi-orange-0)) 0%, rgb(var(--semi-amber-0)) 100%);
1720
+ }
1721
+
1722
+ ._art_1rvtt_138 {
1723
+ position: absolute;
1724
+ top: 14px;
1725
+ right: 12px;
1726
+ width: 56px;
1727
+ height: 56px;
1728
+ background: url('./assets/coin-BhUDKCPy.webp') center / 40px no-repeat;
1729
+ pointer-events: none;
1730
+ }
1731
+
1732
+ ._card_1rvtt_30[data-tone='standard'] ._art_1rvtt_138,
1733
+ ._card_1rvtt_30[data-tone='team'] ._art_1rvtt_138 {
1734
+ background-image: url('./assets/upgrade-crown-Ci1IFoXi.webp');
1735
+ background-size: contain;
1736
+ }
1737
+
1738
+ ._card_1rvtt_30[data-tone='pro'] ._art_1rvtt_138 {
1739
+ background-image: url('./assets/member-gem-DTY0gTzl.webp');
1740
+ background-size: contain;
1741
+ }
1742
+
1743
+ ._name_1rvtt_159 {
1744
+ overflow: hidden;
1745
+ padding-right: 60px;
1746
+ color: var(--semi-color-text-0);
1747
+ font-size: 18px;
1748
+ font-weight: 700;
1749
+ line-height: 26px;
1750
+ text-overflow: ellipsis;
1751
+ white-space: nowrap;
1752
+ }
1753
+
1754
+ ._card_1rvtt_30[data-tone='pro'] ._name_1rvtt_159 {
1755
+ background: linear-gradient(90deg, rgb(var(--semi-amber-1)), rgb(var(--semi-amber-4)));
1756
+ background-clip: text;
1757
+ color: transparent;
1758
+ }
1759
+
1760
+ /* 一句话最多两行,固定两行高,同一排卡片的价格对齐。 */
1761
+ ._tagline_1rvtt_177 {
1762
+ display: -webkit-box;
1763
+ min-height: 36px;
1764
+ margin-top: 2px;
1765
+ padding-right: 60px;
1766
+ overflow: hidden;
1767
+ -webkit-box-orient: vertical;
1768
+ -webkit-line-clamp: 2;
1769
+ color: var(--semi-color-text-2);
1770
+ font-size: 12px;
1771
+ line-height: 18px;
1772
+ }
1773
+
1774
+ ._card_1rvtt_30[data-tone='pro'] ._tagline_1rvtt_177 {
1775
+ color: rgba(var(--semi-amber-1), 0.7);
1776
+ }
1777
+
1778
+ ._price_1rvtt_194 {
1779
+ display: flex;
1780
+ align-items: baseline;
1781
+ gap: 2px;
1782
+ margin-top: 16px;
1783
+ }
1784
+
1785
+ ._amount_1rvtt_201 {
1786
+ color: var(--semi-color-text-0);
1787
+ font-size: 30px;
1788
+ font-variant-numeric: tabular-nums;
1789
+ font-weight: 700;
1790
+ line-height: 36px;
1791
+ }
1792
+
1793
+ ._card_1rvtt_30[data-tone='standard'] ._amount_1rvtt_201 {
1794
+ color: rgb(var(--app-brand-6));
1795
+ }
1796
+
1797
+ ._card_1rvtt_30[data-tone='pro'] ._amount_1rvtt_201 {
1798
+ color: rgb(var(--semi-amber-2));
1799
+ }
1800
+
1801
+ ._period_1rvtt_217 {
1802
+ color: var(--semi-color-text-2);
1803
+ font-size: 13px;
1804
+ }
1805
+
1806
+ ._card_1rvtt_30[data-tone='pro'] ._period_1rvtt_217 {
1807
+ color: rgba(var(--semi-amber-1), 0.7);
1808
+ }
1809
+
1810
+ ._priceNote_1rvtt_226 {
1811
+ min-height: 18px;
1812
+ margin-top: 2px;
1813
+ color: rgb(var(--semi-orange-5));
1814
+ font-size: 12px;
1815
+ line-height: 18px;
1816
+ white-space: pre;
1817
+ }
1818
+
1819
+ ._card_1rvtt_30[data-tone='basic'] ._priceNote_1rvtt_226 {
1820
+ color: var(--semi-color-text-2);
1821
+ }
1822
+
1823
+ ._card_1rvtt_30[data-tone='pro'] ._priceNote_1rvtt_226 {
1824
+ color: rgb(var(--semi-amber-3));
1825
+ }
1826
+
1827
+ ._body_1rvtt_243 {
1828
+ display: flex;
1829
+ flex: 1;
1830
+ flex-direction: column;
1831
+ gap: 18px;
1832
+ padding: 16px 18px 18px;
1833
+ }
1834
+
1835
+ ._benefits_1rvtt_251 {
1836
+ display: flex;
1837
+ flex: 1;
1838
+ flex-direction: column;
1839
+ gap: 10px;
1840
+ }
1841
+
1842
+ ._benefit_1rvtt_251 {
1843
+ display: flex;
1844
+ align-items: flex-start;
1845
+ gap: 8px;
1846
+ color: var(--semi-color-text-1);
1847
+ font-size: 13px;
1848
+ line-height: 20px;
1849
+ }
1850
+
1851
+ ._check_1rvtt_267 {
1852
+ display: inline-flex;
1853
+ width: 16px;
1854
+ height: 16px;
1855
+ flex: none;
1856
+ align-items: center;
1857
+ justify-content: center;
1858
+ margin-top: 2px;
1859
+ border-radius: 50%;
1860
+ background: rgb(var(--app-brand-1));
1861
+ color: rgb(var(--app-brand-6));
1862
+ font-size: 10px;
1863
+ }
1864
+
1865
+ ._card_1rvtt_30[data-tone='pro'] ._check_1rvtt_267 {
1866
+ background: rgb(var(--semi-amber-0));
1867
+ color: rgb(var(--semi-amber-7));
1868
+ }
1869
+
1870
+ ._card_1rvtt_30[data-tone='basic'] ._check_1rvtt_267 {
1871
+ background: var(--semi-color-fill-1);
1872
+ color: var(--semi-color-text-2);
1873
+ }
1874
+
1875
+ /* 这一档的限制(如“仅支持 720P 视频”):文字和减号都灰一档,与对勾的权益区分开。放在配色规则后面,任何配色下都生效。 */
1876
+ ._card_1rvtt_30 ._benefit_1rvtt_251[data-included='false'] {
1877
+ color: var(--semi-color-text-2);
1878
+ }
1879
+
1880
+ ._card_1rvtt_30 ._benefit_1rvtt_251[data-included='false'] ._check_1rvtt_267 {
1881
+ background: var(--semi-color-fill-1);
1882
+ color: var(--semi-color-text-3);
1883
+ }
1884
+
1885
+ /* ---------- 按钮 ---------- */
1886
+
1887
+ ._action_1rvtt_303 ._cta_1rvtt_303.semi-button {
1888
+ border-radius: 999px;
1889
+ height: 38px;
1890
+ border: 1px solid var(--app-border-3);
1891
+ background: var(--semi-color-bg-1);
1892
+ color: var(--semi-color-text-0);
1893
+ font-size: 14px;
1894
+ font-weight: 600;
1895
+ }
1896
+
1897
+ ._action_1rvtt_303 ._cta_1rvtt_303.semi-button.semi-button-light:hover,
1898
+ ._action_1rvtt_303 ._cta_1rvtt_303.semi-button.semi-button-light:active {
1899
+ border-color: rgb(var(--semi-grey-9));
1900
+ background: var(--semi-color-bg-1);
1901
+ color: var(--semi-color-text-0);
1902
+ }
1903
+
1904
+ ._card_1rvtt_30[data-tone='standard'] ._action_1rvtt_303 ._cta_1rvtt_303.semi-button,
1905
+ ._card_1rvtt_30[data-tone='team'] ._action_1rvtt_303 ._cta_1rvtt_303.semi-button {
1906
+ border: none;
1907
+ background: rgb(var(--semi-grey-9));
1908
+ color: var(--semi-color-white);
1909
+ }
1910
+
1911
+ ._card_1rvtt_30[data-tone='standard'] ._action_1rvtt_303 ._cta_1rvtt_303.semi-button.semi-button-light:hover,
1912
+ ._card_1rvtt_30[data-tone='team'] ._action_1rvtt_303 ._cta_1rvtt_303.semi-button.semi-button-light:hover {
1913
+ background: rgb(var(--semi-grey-8));
1914
+ color: var(--semi-color-white);
1915
+ }
1916
+
1917
+ ._card_1rvtt_30[data-tone='pro'] ._action_1rvtt_303 ._cta_1rvtt_303.semi-button {
1918
+ border: none;
1919
+ background: linear-gradient(90deg, rgb(var(--semi-amber-2)), rgb(var(--semi-amber-4)));
1920
+ color: rgb(var(--semi-amber-9));
1921
+ }
1922
+
1923
+ ._card_1rvtt_30[data-tone='pro'] ._action_1rvtt_303 ._cta_1rvtt_303.semi-button.semi-button-light:hover {
1924
+ background: linear-gradient(90deg, rgb(var(--semi-amber-1)), rgb(var(--semi-amber-3)));
1925
+ color: rgb(var(--semi-amber-9));
1926
+ }
1927
+
1928
+ ._action_1rvtt_303 ._ctaCurrent_1rvtt_344.semi-button {
1929
+ border-radius: 999px;
1930
+ height: 38px;
1931
+ border: 1px solid var(--app-border-2);
1932
+ background: var(--semi-color-fill-0);
1933
+ color: var(--semi-color-text-2);
1934
+ font-weight: 500;
1935
+ }
1936
+
1937
+ ._ctaNote_1rvtt_353 {
1938
+ display: block;
1939
+ color: var(--semi-color-text-2);
1940
+ font-size: 12px;
1941
+ line-height: 38px;
1942
+ text-align: center;
1943
+ }
1944
+ /*
1945
+ * 开通团队版的引导卡:14px 圆角、浅主色描边,左侧一团柔光托着团队插画,背景从浅橙过渡到暖金(与权益卡的团队配色一致)。
1946
+ * 中间是“团队版”小标、标题、说明和一排白底要点胶囊,右侧黑色胶囊按钮和起步价。颜色只用 Semi 色板变量,暗色主题随之切换。
1947
+ * Semi 按钮的悬停、按下规则最多 4 个类,按钮样式多写一个父级类压住。
1948
+ */
1949
+
1950
+ ._team_17o3k_7 {
1951
+ position: relative;
1952
+ display: flex;
1953
+ align-items: center;
1954
+ gap: 20px;
1955
+ overflow: hidden;
1956
+ padding: 20px 24px;
1957
+ border: 1px solid rgba(var(--app-brand-3), 0.6);
1958
+ border-radius: 14px;
1959
+ background:
1960
+ radial-gradient(42% 120% at 0% 50%, rgba(var(--app-brand-2), 0.7) 0%, rgba(var(--app-brand-2), 0) 70%),
1961
+ radial-gradient(60% 140% at 100% 0%, rgba(var(--semi-amber-2), 0.45) 0%, rgba(var(--semi-amber-2), 0) 60%),
1962
+ linear-gradient(100deg, rgb(var(--app-brand-1)) 0%, rgb(var(--semi-orange-0)) 50%, rgb(var(--semi-amber-0)) 100%);
1963
+ }
1964
+
1965
+ ._art_17o3k_22 {
1966
+ width: 84px;
1967
+ height: 84px;
1968
+ flex: none;
1969
+ background: url('./assets/team-BeZ_oZcL.webp') center / contain no-repeat;
1970
+ filter: drop-shadow(0 8px 16px rgba(var(--app-brand-6), 0.22));
1971
+ }
1972
+
1973
+ ._text_17o3k_30 {
1974
+ display: flex;
1975
+ min-width: 0;
1976
+ flex: 1;
1977
+ flex-direction: column;
1978
+ align-items: flex-start;
1979
+ gap: 4px;
1980
+ }
1981
+
1982
+ ._eyebrow_17o3k_39 {
1983
+ padding: 0 8px;
1984
+ border-radius: 10px;
1985
+ background: linear-gradient(90deg, rgb(var(--semi-orange-5)), rgb(var(--app-brand-6)));
1986
+ color: var(--semi-color-white);
1987
+ font-size: 12px;
1988
+ font-weight: 600;
1989
+ line-height: 20px;
1990
+ }
1991
+
1992
+ ._title_17o3k_49 {
1993
+ margin-top: 2px;
1994
+ color: var(--semi-color-text-0);
1995
+ font-size: 18px;
1996
+ font-weight: 600;
1997
+ line-height: 26px;
1998
+ }
1999
+
2000
+ ._description_17o3k_57 {
2001
+ color: var(--semi-color-text-1);
2002
+ font-size: 13px;
2003
+ line-height: 20px;
2004
+ }
2005
+
2006
+ ._highlights_17o3k_63 {
2007
+ display: flex;
2008
+ flex-wrap: wrap;
2009
+ gap: 8px;
2010
+ margin-top: 8px;
2011
+ }
2012
+
2013
+ ._highlight_17o3k_63 {
2014
+ display: inline-flex;
2015
+ align-items: center;
2016
+ gap: 4px;
2017
+ padding: 0 10px;
2018
+ border: 1px solid rgba(var(--app-brand-3), 0.5);
2019
+ border-radius: 12px;
2020
+ background: var(--semi-color-bg-1);
2021
+ color: var(--semi-color-text-0);
2022
+ font-size: 12px;
2023
+ line-height: 22px;
2024
+ }
2025
+
2026
+ ._highlightIcon_17o3k_83 {
2027
+ color: rgb(var(--app-brand-6));
2028
+ font-size: 12px;
2029
+ }
2030
+
2031
+ ._action_17o3k_88 {
2032
+ display: flex;
2033
+ flex: none;
2034
+ flex-direction: column;
2035
+ align-items: center;
2036
+ gap: 6px;
2037
+ }
2038
+
2039
+ ._action_17o3k_88 ._cta_17o3k_96.semi-button {
2040
+ border-radius: 999px;
2041
+ display: inline-flex;
2042
+ height: 40px;
2043
+ align-items: center;
2044
+ gap: 6px;
2045
+ padding: 0 24px;
2046
+ border: none;
2047
+ background: rgb(var(--semi-grey-9));
2048
+ color: var(--semi-color-white);
2049
+ font-size: 14px;
2050
+ font-weight: 600;
2051
+ }
2052
+
2053
+ ._action_17o3k_88 ._cta_17o3k_96.semi-button.semi-button-light:hover,
2054
+ ._action_17o3k_88 ._cta_17o3k_96.semi-button.semi-button-light:active {
2055
+ background: rgb(var(--semi-grey-8));
2056
+ color: var(--semi-color-white);
2057
+ }
2058
+
2059
+ ._ctaIcon_17o3k_116 {
2060
+ font-size: 12px;
2061
+ opacity: 0.75;
2062
+ }
2063
+
2064
+ ._price_17o3k_121 {
2065
+ color: var(--semi-color-text-2);
2066
+ font-size: 12px;
2067
+ font-variant-numeric: tabular-nums;
2068
+ line-height: 18px;
2069
+ }
2070
+
2071
+ /* 窄屏:插画缩小在左上,按钮占满一行 */
2072
+ @media (max-width: 576px) {
2073
+ ._team_17o3k_7 {
2074
+ flex-wrap: wrap;
2075
+ gap: 12px 16px;
2076
+ padding: 16px;
2077
+ }
2078
+
2079
+ ._art_17o3k_22 {
2080
+ width: 56px;
2081
+ height: 56px;
2082
+ align-self: flex-start;
2083
+ }
2084
+
2085
+ ._text_17o3k_30 {
2086
+ flex-basis: calc(100% - 72px);
2087
+ }
2088
+
2089
+ ._action_17o3k_88 {
2090
+ width: 100%;
2091
+ flex-direction: row;
2092
+ justify-content: space-between;
2093
+ }
2094
+ }
2095
+ /* 套餐数量胶囊:白底细边,满了换成暖金底并带“升级”文字按钮。 */
2096
+ ._pill_7o99a_2 {
2097
+ display: inline-flex;
2098
+ height: 28px;
2099
+ align-items: center;
2100
+ gap: 4px;
2101
+ padding: 0 10px;
2102
+ border: 1px solid var(--app-border-2);
2103
+ border-radius: 14px;
2104
+ background: var(--semi-color-bg-1);
2105
+ color: var(--semi-color-text-2);
2106
+ font-size: 12px;
2107
+ font-variant-numeric: tabular-nums;
2108
+ white-space: nowrap;
2109
+ }
2110
+
2111
+ ._pill_7o99a_2[data-full='true'] {
2112
+ padding-right: 4px;
2113
+ border-color: rgba(var(--semi-amber-5), 0.4);
2114
+ background: rgb(var(--semi-amber-0));
2115
+ color: rgb(var(--semi-amber-8));
2116
+ }
2117
+
2118
+ ._pill_7o99a_2 ._upgrade_7o99a_24.semi-button.semi-button-borderless {
2119
+ height: 22px;
2120
+ padding: 0 8px;
2121
+ border-radius: 11px;
2122
+ background: linear-gradient(90deg, rgb(var(--semi-amber-2)), rgb(var(--semi-amber-4)));
2123
+ color: rgb(var(--semi-amber-9));
2124
+ font-size: 12px;
2125
+ font-weight: 600;
2126
+ }
2127
+
2128
+ ._pill_7o99a_2 ._upgrade_7o99a_24.semi-button.semi-button-borderless:hover,
2129
+ ._pill_7o99a_2 ._upgrade_7o99a_24.semi-button.semi-button-borderless:active {
2130
+ background: linear-gradient(90deg, rgb(var(--semi-amber-1)), rgb(var(--semi-amber-3)));
2131
+ color: rgb(var(--semi-amber-9));
2132
+ }
2133
+ /*
2134
+ * 订阅升级引导弹窗:400px,上半浅橙渐变放立体插画(assets/membership/engine-hero.webp)与“会员专享”角标,
2135
+ * 下半白底列推荐套餐的权益、黑色胶囊主按钮(带起步价)和“暂不升级”。颜色只用 Semi 色板变量。
2136
+ */
2137
+
2138
+ ._modal_e9iw1_6.semi-modal {
2139
+ width: 400px;
2140
+ max-width: calc(100vw - 32px);
2141
+ }
2142
+
2143
+ ._modal_e9iw1_6 .semi-modal-content {
2144
+ overflow: hidden;
2145
+ padding: 0;
2146
+ border: none;
2147
+ border-radius: 16px;
2148
+ }
2149
+
2150
+ /* 只留关闭按钮:标题栏浮在插画右上角,不占高度。 */
2151
+ ._modal_e9iw1_6 .semi-modal-header {
2152
+ position: absolute;
2153
+ z-index: 2;
2154
+ top: 12px;
2155
+ right: 12px;
2156
+ margin: 0;
2157
+ }
2158
+
2159
+ ._hero_e9iw1_27 {
2160
+ position: relative;
2161
+ display: flex;
2162
+ flex-direction: column;
2163
+ align-items: center;
2164
+ padding: 28px 28px 22px;
2165
+ background:
2166
+ radial-gradient(90% 80% at 50% 0%, rgba(var(--semi-amber-2), 0.65) 0%, rgba(var(--semi-amber-2), 0) 70%),
2167
+ linear-gradient(180deg, rgb(var(--semi-orange-0)) 0%, rgb(var(--app-brand-1)) 100%);
2168
+ text-align: center;
2169
+ }
2170
+
2171
+ ._badge_e9iw1_39 {
2172
+ position: absolute;
2173
+ top: 16px;
2174
+ left: 16px;
2175
+ padding: 0 10px;
2176
+ border-radius: 11px;
2177
+ background: linear-gradient(90deg, rgb(var(--semi-amber-2)), rgb(var(--semi-amber-4)));
2178
+ color: rgb(var(--semi-amber-9));
2179
+ font-size: 12px;
2180
+ font-weight: 600;
2181
+ line-height: 22px;
2182
+ }
2183
+
2184
+ ._art_e9iw1_52 {
2185
+ width: 150px;
2186
+ height: 150px;
2187
+ background: url('./assets/engine-hero-BaSSoV-3.webp') center / contain no-repeat;
2188
+ }
2189
+
2190
+ ._hero_e9iw1_27[data-art='crown'] ._art_e9iw1_52 {
2191
+ width: 128px;
2192
+ height: 128px;
2193
+ margin: 11px 0;
2194
+ background-image: url('./assets/upgrade-crown-Ci1IFoXi.webp');
2195
+ }
2196
+
2197
+ ._title_e9iw1_65 {
2198
+ margin-top: 6px;
2199
+ color: rgb(var(--semi-grey-9));
2200
+ font-size: 20px;
2201
+ font-weight: 700;
2202
+ line-height: 28px;
2203
+ }
2204
+
2205
+ ._description_e9iw1_73 {
2206
+ margin-top: 6px;
2207
+ color: var(--semi-color-text-1);
2208
+ font-size: 13px;
2209
+ line-height: 20px;
2210
+ }
2211
+
2212
+ ._body_e9iw1_80 {
2213
+ display: flex;
2214
+ flex-direction: column;
2215
+ gap: 12px;
2216
+ padding: 20px 28px 16px;
2217
+ }
2218
+
2219
+ ._offer_e9iw1_87 {
2220
+ color: var(--semi-color-text-1);
2221
+ font-size: 13px;
2222
+ line-height: 20px;
2223
+ }
2224
+
2225
+ ._offerName_e9iw1_93 {
2226
+ margin: 0 2px;
2227
+ color: rgb(var(--app-brand-6));
2228
+ font-weight: 600;
2229
+ }
2230
+
2231
+ ._lines_e9iw1_99 {
2232
+ display: flex;
2233
+ flex-direction: column;
2234
+ gap: 8px;
2235
+ }
2236
+
2237
+ ._line_e9iw1_99 {
2238
+ display: flex;
2239
+ align-items: center;
2240
+ gap: 8px;
2241
+ color: var(--semi-color-text-0);
2242
+ font-size: 13px;
2243
+ line-height: 20px;
2244
+ }
2245
+
2246
+ ._check_e9iw1_114 {
2247
+ display: inline-flex;
2248
+ width: 16px;
2249
+ height: 16px;
2250
+ flex: none;
2251
+ align-items: center;
2252
+ justify-content: center;
2253
+ border-radius: 50%;
2254
+ background: rgb(var(--app-brand-1));
2255
+ color: rgb(var(--app-brand-6));
2256
+ font-size: 10px;
2257
+ }
2258
+
2259
+ ._body_e9iw1_80 ._cta_e9iw1_127.semi-button {
2260
+ border-radius: 999px;
2261
+ height: 42px;
2262
+ margin-top: 6px;
2263
+ border: none;
2264
+ background: rgb(var(--semi-grey-9));
2265
+ color: var(--semi-color-white);
2266
+ font-size: 15px;
2267
+ font-weight: 600;
2268
+ }
2269
+
2270
+ ._body_e9iw1_80 ._cta_e9iw1_127.semi-button.semi-button-light:hover,
2271
+ ._body_e9iw1_80 ._cta_e9iw1_127.semi-button.semi-button-light:active {
2272
+ background: rgb(var(--semi-grey-8));
2273
+ color: var(--semi-color-white);
2274
+ }
2275
+
2276
+ ._ctaPrice_e9iw1_144 {
2277
+ margin-left: 8px;
2278
+ padding: 0 8px;
2279
+ border-radius: 10px;
2280
+ background: linear-gradient(90deg, rgb(var(--semi-orange-5)), rgb(var(--app-brand-6)));
2281
+ font-size: 12px;
2282
+ line-height: 20px;
2283
+ }
2284
+
2285
+ ._ownerOnly_e9iw1_153 {
2286
+ margin-top: 6px;
2287
+ color: var(--semi-color-text-2);
2288
+ font-size: 13px;
2289
+ line-height: 20px;
2290
+ text-align: center;
2291
+ }
2292
+
2293
+ ._body_e9iw1_80 ._later_e9iw1_161.semi-button.semi-button-borderless {
2294
+ color: var(--semi-color-text-2);
2295
+ font-weight: 400;
2296
+ }
2297
+
2298
+ ._body_e9iw1_80 ._later_e9iw1_161.semi-button.semi-button-borderless:hover {
2299
+ background: transparent;
2300
+ color: var(--semi-color-text-1);
2301
+ }
2302
+ /*
2303
+ * 工作台外壳(参照有米有数):顶栏透明,叠在 body 的浅灰渐变上,离开顶部后变白加投影;侧栏是一直显示的白底圆角面板,
2304
+ * 选中项浅主色底。尺寸取自有米有数页面的计算样式。颜色只引用 Semi 设计变量。
2305
+ */
2306
+
2307
+ ._layout_15fx1_6 {
2308
+ min-height: 100dvh;
2309
+ background: transparent;
2310
+ }
2311
+
2312
+ /* ---------- 顶栏:60px,logo · 产品模块 · 空间与账号 ---------- */
2313
+
2314
+ ._header_15fx1_13 {
2315
+ position: sticky;
2316
+ top: 0;
2317
+ z-index: 100;
2318
+ display: flex;
2319
+ height: var(--app-header-height);
2320
+ align-items: center;
2321
+ justify-content: space-between;
2322
+ gap: 16px;
2323
+ padding: 0 16px 0 24px;
2324
+ background: transparent;
2325
+ transition:
2326
+ background-color 0.2s var(--app-ease),
2327
+ box-shadow 0.2s var(--app-ease);
2328
+ }
2329
+
2330
+ ._header_15fx1_13[data-scrolled='true'] {
2331
+ background: var(--semi-color-bg-1);
2332
+ box-shadow: 0 4px 4px rgba(var(--semi-grey-9), 0.04);
2333
+ }
2334
+
2335
+ ._headerLeft_15fx1_34 {
2336
+ display: flex;
2337
+ min-width: 0;
2338
+ height: 100%;
2339
+ align-items: center;
2340
+ gap: 40px;
2341
+ }
2342
+
2343
+ ._logo_15fx1_42.semi-button {
2344
+ display: inline-flex;
2345
+ height: 40px;
2346
+ flex-shrink: 0;
2347
+ align-items: center;
2348
+ gap: 10px;
2349
+ padding: 0;
2350
+ background: transparent;
2351
+ }
2352
+
2353
+ ._logo_15fx1_42.semi-button:hover {
2354
+ background: transparent;
2355
+ }
2356
+
2357
+ /* 30px 产品图标(叠卡复刻,浅橙渐变圆角底自带在 SVG 里,与 public/favicon.svg 是同一张),与公开首页顶栏同一尺寸;宽屏再接一段 16px 字标。 */
2358
+ ._logoMark_15fx1_57 {
2359
+ display: inline-block;
2360
+ width: 30px;
2361
+ height: 30px;
2362
+ flex: none;
2363
+ }
2364
+
2365
+ ._logoText_15fx1_64.semi-typography {
2366
+ display: none;
2367
+ color: var(--semi-color-text-0);
2368
+ font-size: 16px;
2369
+ font-weight: 600;
2370
+ letter-spacing: 0.01em;
2371
+ white-space: nowrap;
2372
+ }
2373
+
2374
+ ._modules_15fx1_73 {
2375
+ display: flex;
2376
+ height: 100%;
2377
+ align-items: stretch;
2378
+ gap: 32px;
2379
+ }
2380
+
2381
+ /* 模块菜单:16px 文字(素材平台前有平台图标),选中主色加粗,下方一条与图标加文字同宽的 2px 主色短线。
2382
+ 悬停只变文字颜色:Semi 文字按钮悬停、按下时铺的灰底,按下时的缩小和聚焦时的灰圈都去掉
2383
+ (选择器要比 Semi 文字按钮的悬停规则更具体),键盘聚焦改为文字外一圈主色描边。 */
2384
+ ._modules_15fx1_73 ._module_15fx1_73.semi-button.semi-button-borderless {
2385
+ position: relative;
2386
+ display: inline-flex;
2387
+ height: 100%;
2388
+ flex-direction: column;
2389
+ align-items: flex-start;
2390
+ justify-content: center;
2391
+ padding: 0;
2392
+ border-radius: 0;
2393
+ background: transparent;
2394
+ color: var(--semi-color-text-0);
2395
+ font-size: 16px;
2396
+ font-weight: 400;
2397
+ }
2398
+
2399
+ ._modules_15fx1_73 ._module_15fx1_73.semi-button.semi-button-borderless:hover,
2400
+ ._modules_15fx1_73 ._module_15fx1_73.semi-button.semi-button-borderless:active,
2401
+ ._modules_15fx1_73 ._module_15fx1_73.semi-button.semi-button-borderless:focus-visible {
2402
+ background: transparent;
2403
+ box-shadow: none;
2404
+ scale: none;
2405
+ }
2406
+
2407
+ ._modules_15fx1_73 ._module_15fx1_73.semi-button.semi-button-borderless:hover {
2408
+ color: rgb(var(--app-brand-6));
2409
+ }
2410
+
2411
+ ._modules_15fx1_73 ._module_15fx1_73.semi-button.semi-button-borderless:focus-visible ._moduleText_15fx1_110 {
2412
+ border-radius: 4px;
2413
+ outline: 2px solid rgb(var(--app-brand-6));
2414
+ outline-offset: 4px;
2415
+ }
2416
+
2417
+ ._modules_15fx1_73 ._module_15fx1_73[aria-current='page'].semi-button.semi-button-borderless {
2418
+ color: rgb(var(--app-brand-6));
2419
+ font-weight: 600;
2420
+ }
2421
+
2422
+ ._moduleText_15fx1_110 {
2423
+ position: relative;
2424
+ display: inline-flex;
2425
+ align-items: center;
2426
+ gap: 6px;
2427
+ line-height: 24px;
2428
+ white-space: nowrap;
2429
+ }
2430
+
2431
+ ._moduleIcon_15fx1_130 {
2432
+ display: inline-flex;
2433
+ }
2434
+
2435
+ ._moduleInk_15fx1_134 {
2436
+ position: absolute;
2437
+ bottom: 10px;
2438
+ left: 0;
2439
+ width: 100%;
2440
+ height: 2px;
2441
+ border-radius: 2px;
2442
+ background: rgb(var(--app-brand-6));
2443
+ opacity: 0;
2444
+ transform: scaleX(0.4);
2445
+ transition:
2446
+ opacity 0.2s var(--app-ease),
2447
+ transform 0.2s var(--app-ease);
2448
+ }
2449
+
2450
+ ._module_15fx1_73[aria-current='page'] ._moduleInk_15fx1_134 {
2451
+ opacity: 1;
2452
+ transform: scaleX(1);
2453
+ }
2454
+
2455
+ ._headerRight_15fx1_154.semi-space {
2456
+ min-width: 0;
2457
+ flex-wrap: nowrap;
2458
+ }
2459
+
2460
+ /* 右侧工具的样式各在自己的模块里:upgrade-entry、wallet-badge、account-menu。 */
2461
+
2462
+ /* ---------- 侧栏:232px,224px 白底圆角面板 ---------- */
2463
+
2464
+ ._body_15fx1_163.semi-layout {
2465
+ min-height: calc(100dvh - var(--app-header-height));
2466
+ flex-direction: row;
2467
+ background: transparent;
2468
+ }
2469
+
2470
+ ._sider_15fx1_169 {
2471
+ position: sticky;
2472
+ z-index: 50;
2473
+ top: var(--app-header-height);
2474
+ width: 232px;
2475
+ height: calc(100dvh - var(--app-header-height));
2476
+ flex: 0 0 auto;
2477
+ transition: width 0.2s var(--app-ease);
2478
+ }
2479
+
2480
+ ._sider_15fx1_169[data-collapsed='true'] {
2481
+ width: 24px;
2482
+ }
2483
+
2484
+ ._siderInner_15fx1_183 {
2485
+ position: relative;
2486
+ height: 100%;
2487
+ box-sizing: border-box;
2488
+ padding: 8px 0 8px 8px;
2489
+ }
2490
+
2491
+ ._panel_15fx1_190 {
2492
+ display: flex;
2493
+ width: 224px;
2494
+ height: 100%;
2495
+ box-sizing: border-box;
2496
+ flex-direction: column;
2497
+ border-radius: 12px;
2498
+ background: var(--semi-color-bg-1);
2499
+ box-shadow: var(--app-shadow-raised);
2500
+ transition:
2501
+ opacity 0.2s var(--app-ease),
2502
+ transform 0.2s var(--app-ease);
2503
+ }
2504
+
2505
+ /* 收起:面板移出窄条外;指针移上窄条或点开后浮出,白底加投影盖在内容上。 */
2506
+ ._siderInner_15fx1_183[data-collapsed='true'] {
2507
+ padding: 8px 0;
2508
+ }
2509
+
2510
+ ._siderInner_15fx1_183[data-collapsed='true'] ._panel_15fx1_190 {
2511
+ position: absolute;
2512
+ top: 8px;
2513
+ left: 8px;
2514
+ height: calc(100% - 16px);
2515
+ background: var(--semi-color-bg-1);
2516
+ box-shadow: var(--app-shadow-popup);
2517
+ opacity: 0;
2518
+ pointer-events: none;
2519
+ transform: translateX(calc(-100% - 16px));
2520
+ }
2521
+
2522
+ ._siderInner_15fx1_183[data-collapsed='true'][data-peek='true'] ._panel_15fx1_190 {
2523
+ opacity: 1;
2524
+ pointer-events: auto;
2525
+ transform: translateX(0);
2526
+ }
2527
+
2528
+ ._expandButton_15fx1_227.semi-button {
2529
+ width: 24px;
2530
+ height: 48px;
2531
+ padding: 0;
2532
+ border: 1px solid var(--app-border-2);
2533
+ border-left: none;
2534
+ border-radius: 0 8px 8px 0;
2535
+ background: var(--semi-color-bg-1);
2536
+ color: var(--semi-color-text-2);
2537
+ }
2538
+
2539
+ ._expandButton_15fx1_227.semi-button:hover {
2540
+ color: rgb(var(--app-brand-6));
2541
+ }
2542
+
2543
+ /* 菜单:分组标题 13px 灰色,菜单项 40px、8px 圆角、18px 灰色图标。每个分组一段 Semi Nav,分组标题由外壳渲染。 */
2544
+ ._menu_15fx1_243 {
2545
+ display: flex;
2546
+ overflow-y: auto;
2547
+ min-height: 0;
2548
+ flex: 1 1 auto;
2549
+ flex-direction: column;
2550
+ box-sizing: border-box;
2551
+ padding: 12px 8px 0;
2552
+ scrollbar-width: none;
2553
+ }
2554
+
2555
+ ._menuGroup_15fx1_254 {
2556
+ margin: 0 0 20px;
2557
+ }
2558
+
2559
+ ._menuGroup_15fx1_254:first-child {
2560
+ margin-top: 8px;
2561
+ }
2562
+
2563
+ /* 分组标题(行业、内容管理)比菜单项浅:介于次要文字和占位文字之间的灰 */
2564
+ ._menuGroupTitle_15fx1_263 {
2565
+ height: 24px;
2566
+ margin: 0 0 6px;
2567
+ padding: 0 12px;
2568
+ color: rgb(var(--semi-grey-4));
2569
+ font-size: 13px;
2570
+ font-weight: 500;
2571
+ line-height: 24px;
2572
+ }
2573
+
2574
+ /* Semi 的 Nav 自带 240px 宽、右边框和内边距,这里只要它的列表。 */
2575
+ ._menuList_15fx1_274.semi-navigation {
2576
+ display: block;
2577
+ width: 100%;
2578
+ padding: 0;
2579
+ border-right: none;
2580
+ background: transparent;
2581
+ }
2582
+
2583
+ ._menuList_15fx1_274 .semi-navigation-inner,
2584
+ ._menuList_15fx1_274 .semi-navigation-list-wrapper {
2585
+ width: 100%;
2586
+ }
2587
+
2588
+ /* 比 Semi 的 .semi-navigation-list > .semi-navigation-item-normal 多一个类,不依赖样式表先后 */
2589
+ ._menuList_15fx1_274 .semi-navigation-list .semi-navigation-item {
2590
+ height: 40px;
2591
+ margin: 0 0 4px;
2592
+ padding: 0 12px;
2593
+ border-radius: var(--app-radius-card);
2594
+ background: transparent;
2595
+ color: var(--semi-color-text-0);
2596
+ font-size: 15px;
2597
+ font-weight: 400;
2598
+ line-height: 40px;
2599
+ }
2600
+
2601
+ ._menuList_15fx1_274 .semi-navigation-item-icon {
2602
+ min-width: 0;
2603
+ margin-right: 10px;
2604
+ color: var(--semi-color-text-2);
2605
+ font-size: 18px;
2606
+ }
2607
+
2608
+ /* Semi 给 Nav 图标加了 size="large"(20px),这里统一 18px */
2609
+ ._menuList_15fx1_274 .semi-navigation-item-icon .semi-icon {
2610
+ font-size: 18px;
2611
+ }
2612
+
2613
+ ._menuList_15fx1_274 .semi-navigation-item-text {
2614
+ min-width: 0;
2615
+ flex: 1;
2616
+ }
2617
+
2618
+ /* 比 Semi 的悬停规则(.semi-navigation-item-normal:hover:not(.semi-navigation-item-selected))多一个类,不依赖样式表先后 */
2619
+ ._menuList_15fx1_274 .semi-navigation-item.semi-navigation-item-normal:not(.semi-navigation-item-disabled):hover {
2620
+ background: var(--semi-color-fill-0);
2621
+ color: rgb(var(--app-brand-6));
2622
+ }
2623
+
2624
+ ._menuList_15fx1_274 .semi-navigation-item.semi-navigation-item-normal:hover .semi-navigation-item-icon,
2625
+ ._menuList_15fx1_274 .semi-navigation-item.semi-navigation-item-selected .semi-navigation-item-icon {
2626
+ color: rgb(var(--app-brand-6));
2627
+ }
2628
+
2629
+ ._menuList_15fx1_274 .semi-navigation-item.semi-navigation-item-selected,
2630
+ ._menuList_15fx1_274 .semi-navigation-item.semi-navigation-item-selected:hover {
2631
+ background: var(--semi-color-primary-light-default);
2632
+ color: rgb(var(--app-brand-6));
2633
+ font-weight: 600;
2634
+ }
2635
+
2636
+ /* 行业菜单项:名称占满,右边是置顶按钮。没置顶的悬停(或键盘聚焦)才出现,置顶的一直显示为主色。 */
2637
+ ._industryItem_15fx1_336 {
2638
+ display: flex;
2639
+ min-width: 0;
2640
+ align-items: center;
2641
+ justify-content: space-between;
2642
+ gap: 4px;
2643
+ }
2644
+
2645
+ ._industryName_15fx1_344 {
2646
+ overflow: hidden;
2647
+ min-width: 0;
2648
+ text-overflow: ellipsis;
2649
+ white-space: nowrap;
2650
+ }
2651
+
2652
+ ._menu_15fx1_243 ._pinButton_15fx1_351.semi-button,
2653
+ ._menu_15fx1_243 ._pinButtonActive_15fx1_352.semi-button {
2654
+ width: 24px;
2655
+ height: 24px;
2656
+ flex-shrink: 0;
2657
+ padding: 0;
2658
+ border-radius: var(--semi-border-radius-medium);
2659
+ background: transparent;
2660
+ color: var(--semi-color-text-2);
2661
+ }
2662
+
2663
+ ._menu_15fx1_243 ._pinButton_15fx1_351.semi-button {
2664
+ opacity: 0;
2665
+ }
2666
+
2667
+ ._menuList_15fx1_274 .semi-navigation-item:hover ._pinButton_15fx1_351.semi-button,
2668
+ ._menu_15fx1_243 ._pinButton_15fx1_351.semi-button:focus-visible {
2669
+ opacity: 1;
2670
+ }
2671
+
2672
+ /* 比 Semi 文字按钮的悬停规则更具体,不依赖样式表先后 */
2673
+ ._menu_15fx1_243 ._pinButton_15fx1_351.semi-button.semi-button-borderless:hover,
2674
+ ._menu_15fx1_243 ._pinButtonActive_15fx1_352.semi-button.semi-button-borderless:hover {
2675
+ background: var(--semi-color-fill-2);
2676
+ color: rgb(var(--app-brand-6));
2677
+ }
2678
+
2679
+ ._menu_15fx1_243 ._pinButtonActive_15fx1_352.semi-button {
2680
+ color: rgb(var(--app-brand-6));
2681
+ }
2682
+
2683
+ /* 菜单项里图标的通用间距、字号不作用在置顶按钮上 */
2684
+ ._menuList_15fx1_274 .semi-navigation-item ._pinButton_15fx1_351 .semi-icon,
2685
+ ._menuList_15fx1_274 .semi-navigation-item ._pinButtonActive_15fx1_352 .semi-icon {
2686
+ margin: 0;
2687
+ color: inherit;
2688
+ font-size: 14px;
2689
+ }
2690
+
2691
+ ._collapseButton_15fx1_390.semi-button {
2692
+ display: flex;
2693
+ width: 100%;
2694
+ height: 40px;
2695
+ flex-shrink: 0;
2696
+ align-items: center;
2697
+ justify-content: center;
2698
+ border-top: 1px solid var(--app-border-1);
2699
+ border-radius: 0 0 12px 12px;
2700
+ background: transparent;
2701
+ color: var(--semi-color-text-2);
2702
+ font-size: 13px;
2703
+ font-weight: 400;
2704
+ }
2705
+
2706
+ ._collapseButton_15fx1_390.semi-button:hover {
2707
+ background: transparent;
2708
+ color: rgb(var(--app-brand-6));
2709
+ }
2710
+
2711
+ /* 窄屏浮出菜单时的点击遮罩,点空白处收起。 */
2712
+ ._mask_15fx1_411 {
2713
+ position: fixed;
2714
+ z-index: 40;
2715
+ inset: var(--app-header-height) 0 0;
2716
+ background: rgba(var(--semi-grey-9), 0.2);
2717
+ }
2718
+
2719
+ /* ---------- 内容区:与侧栏面板隔开 20px,右侧留 24px ---------- */
2720
+
2721
+ ._content_15fx1_420 {
2722
+ min-width: 0;
2723
+ padding: 8px 24px 24px 20px;
2724
+ }
2725
+
2726
+ /* 个人中心没有侧栏:左右留白相同,页面自己居中。 */
2727
+ ._contentCentered_15fx1_426 {
2728
+ padding: 8px 24px 24px;
2729
+ }
2730
+
2731
+ /* 横向溢出用 clip 裁掉:不能用 hidden,按规范 overflow-y 会随之变成 auto,内容区成了不滚动的滚动容器,
2732
+ * 页面里的 position: sticky(内容广场的吸顶搜索与筛选条)就失效了。 */
2733
+ ._body_15fx1_163 > ._content_15fx1_420 {
2734
+ flex: 1 1 auto;
2735
+ overflow-x: clip;
2736
+ overflow-y: visible;
2737
+ }
2738
+
2739
+ ._contentInner_15fx1_438 {
2740
+ display: flex;
2741
+ max-width: var(--app-content-max-width);
2742
+ margin: 0 auto;
2743
+ flex-direction: column;
2744
+ gap: 12px;
2745
+ }
2746
+
2747
+ @media (min-width: 1440px) {
2748
+ ._logoText_15fx1_64.semi-typography {
2749
+ display: inline;
2750
+ }
2751
+ }
2752
+
2753
+ @media (max-width: 576px) {
2754
+ ._header_15fx1_13 {
2755
+ padding: 0 12px;
2756
+ }
2757
+
2758
+ ._headerLeft_15fx1_34 {
2759
+ gap: 12px;
2760
+ }
2761
+
2762
+ ._modules_15fx1_73 {
2763
+ gap: 16px;
2764
+ }
2765
+
2766
+ ._modules_15fx1_73 ._module_15fx1_73.semi-button.semi-button-borderless {
2767
+ font-size: 15px;
2768
+ }
2769
+
2770
+ /* 手机上顶栏放不下,平台图标收起,只留文字。 */
2771
+ ._moduleIcon_15fx1_130 {
2772
+ display: none;
2773
+ }
2774
+
2775
+ ._wallet_15fx1_474 {
2776
+ display: none;
2777
+ }
2778
+
2779
+ ._content_15fx1_420 {
2780
+ padding: 8px 12px 16px 12px;
2781
+ }
2782
+ }
2783
+
2784
+ /* 产品图标由 BrandMark 写入内联背景图(runtime-config 的 brand.markUrl)。 */
2785
+ ._logoMark_15fx1_57 {
2786
+ background-position: center;
2787
+ background-size: contain;
2788
+ background-repeat: no-repeat;
2789
+ }
2790
+
2791
+ /* 没有图标的产品:字标放在主色渐变的圆角方块里。 */
2792
+ ._letterMark_15fx1_491 {
2793
+ display: inline-flex;
2794
+ flex: none;
2795
+ align-items: center;
2796
+ justify-content: center;
2797
+ border-radius: 8px;
2798
+ background: linear-gradient(135deg, rgb(var(--app-brand-4)) 0%, rgb(var(--app-brand-6)) 100%);
2799
+ color: var(--semi-color-bg-1);
2800
+ font-size: 13px;
2801
+ font-weight: 700;
2802
+ letter-spacing: 0.02em;
2803
+ }
2804
+ /* 文字链接:主色文字、悬停加下划线;动作型(没有 href)的链接光标也是手形。 */
2805
+ ._link_1mzr6_2 a {
2806
+ display: inline-flex;
2807
+ align-items: center;
2808
+ gap: 4px;
2809
+ color: var(--semi-color-link);
2810
+ cursor: pointer;
2811
+ text-decoration: none;
2812
+ }
2813
+
2814
+ ._link_1mzr6_2 a:hover {
2815
+ color: var(--semi-color-link-hover);
2816
+ text-decoration: underline;
2817
+ }
2818
+
2819
+ ._link_1mzr6_2 a:focus-visible {
2820
+ border-radius: 2px;
2821
+ outline: 2px solid var(--semi-color-primary-light-active);
2822
+ outline-offset: 2px;
2823
+ }
2824
+
2825
+ ._link_1mzr6_2 a[aria-disabled='true'] {
2826
+ color: var(--semi-color-disabled-text);
2827
+ cursor: not-allowed;
2828
+ text-decoration: none;
2829
+ }
2830
+
2831
+ ._danger_1mzr6_28 a,
2832
+ ._danger_1mzr6_28 a:hover {
2833
+ color: var(--semi-color-danger);
2834
+ }
2835
+
2836
+ ._warning_1mzr6_33 a,
2837
+ ._warning_1mzr6_33 a:hover {
2838
+ color: var(--semi-color-warning);
2839
+ }
2840
+
2841
+ ._icon_1mzr6_38 {
2842
+ display: inline-flex;
2843
+ align-items: center;
2844
+ font-size: 1em;
2845
+ }
2846
+ /*
2847
+ * @24city/web-console 的主题:Semi Design 的变量在前(由 @douyinfe/semi-ui 自带的样式定义在 body 上),这里是 24.city 用户端统一的
2848
+ * 中性灰色板、圆角、阴影、密度与组件细节。Semi 各组件的样式随组件引入,由产品的构建收集;消费方只需再引入本文件。
2849
+ *
2850
+ * 品牌主色不写在这里:产品在 runtime-config.json 的 brand.primaryColor 给一个色值,@24city/web-console/theme 的 applyBrand
2851
+ * 在首屏渲染前由它生成十级色板(--app-brand-1..10)并写到 body 上,同时把 Semi 的主色、链接色和聚焦描边映射到这组颜色。
2852
+ * 其余颜色(中性灰、状态色、字色)由本文件定死,产品不得覆盖(@24city/web-console/testing 的守卫测试会检查)。
2853
+ */
2854
+
2855
+ /* Semi 把同一批变量也定义在 body 上,而打包后它的 base.css 排在本文件之后;这里用 html body 提高一级优先级,不依赖样式表先后。
2856
+ 暗色主题 body[theme-mode='dark'] 优先级更高,不受影响。 */
2857
+ html body {
2858
+ /* 中性灰色板(参照小红书聚光):Semi 默认灰偏蓝,后台感重。Semi 的文字、填充、边框都由这组灰推出
2859
+ * (text-0..3 = grey-9/8/6/4 的不透明度变化,fill 与 border 是 grey-8、grey-9 的半透明),页面不各自取色。
2860
+ * 暗色主题写在 body[theme-mode='dark'] 上,优先级更高,不受影响。 */
2861
+ --semi-grey-0: 247, 247, 247;
2862
+ --semi-grey-1: 245, 245, 245;
2863
+ --semi-grey-2: 235, 235, 235;
2864
+ --semi-grey-3: 214, 214, 214;
2865
+ --semi-grey-4: 184, 184, 184;
2866
+ --semi-grey-5: 134, 134, 134;
2867
+ --semi-grey-6: 107, 107, 107;
2868
+ --semi-grey-7: 77, 77, 77;
2869
+ --semi-grey-8: 51, 51, 51;
2870
+ --semi-grey-9: 38, 38, 38;
2871
+
2872
+ /* 品牌色板的默认值:没有调用 applyBrand 时跟随 Semi 的默认主色(蓝)。十级与 Semi 的 0..9 对齐。 */
2873
+ --app-brand-1: var(--semi-blue-0);
2874
+ --app-brand-2: var(--semi-blue-1);
2875
+ --app-brand-3: var(--semi-blue-2);
2876
+ --app-brand-4: var(--semi-blue-3);
2877
+ --app-brand-5: var(--semi-blue-4);
2878
+ --app-brand-6: var(--semi-blue-5);
2879
+ --app-brand-7: var(--semi-blue-6);
2880
+ --app-brand-8: var(--semi-blue-7);
2881
+ --app-brand-9: var(--semi-blue-8);
2882
+ --app-brand-10: var(--semi-blue-9);
2883
+
2884
+ /* 边框三档:Semi 只有一档 --semi-color-border(8% 的深灰),这里补出分隔线、控件描边和强调描边。 */
2885
+ --app-border-1: var(--semi-color-border);
2886
+ --app-border-2: rgba(var(--semi-grey-9), 0.14);
2887
+ --app-border-3: rgba(var(--semi-grey-9), 0.24);
2888
+
2889
+ /* 圆角:控件 6px(Semi 的 small 从 3px 提到 6px),卡片、弹窗与表格容器 8px(Semi 的 large 从 12px 降到 8px),标签与小按钮 4px。 */
2890
+ --semi-border-radius-small: 6px;
2891
+ --semi-border-radius-large: 8px;
2892
+ --app-radius-card: 8px;
2893
+ --app-radius-chip: 4px;
2894
+ /* 卡片投影:一圈 1px 描边感的弱影 + 贴地短影;悬停时拉长下方投影,像被托起。 */
2895
+ --app-shadow-card: 0 0 1px rgba(var(--semi-grey-9), 0.24), 0 1px 2px rgba(var(--semi-grey-9), 0.08);
2896
+ --app-shadow-card-hover: 0 0 1px rgba(var(--semi-grey-9), 0.24), 0 20px 32px rgba(var(--semi-grey-9), 0.12);
2897
+ --app-shadow-popup: 0 0 1px rgba(var(--semi-grey-9), 0.2), 0 8px 24px rgba(var(--semi-grey-9), 0.12);
2898
+ --app-shadow-raised: 0 0 1px rgba(var(--semi-grey-9), 0.24), 0 1px 2px rgba(var(--semi-grey-9), 0.08);
2899
+ --semi-shadow-elevated: var(--app-shadow-popup);
2900
+ --app-page-bg: var(--semi-color-fill-1);
2901
+ /* 页面底色参照有米有数:自上而下极浅的灰白渐变。吸顶条用同一渐变并固定在视口上(background-attachment: fixed),
2902
+ * 与页面逐像素一致,看不出接缝。 */
2903
+ --app-page-gradient: linear-gradient(rgb(var(--semi-grey-1)), rgb(var(--semi-grey-0)));
2904
+ --app-ease: cubic-bezier(0.2, 0, 0.38, 0.9);
2905
+ }
2906
+
2907
+ /* ---------- 卡片:无边框白底 + 柔和投影,标题去掉分隔线 ---------- */
2908
+
2909
+ body .semi-card {
2910
+ border-radius: var(--app-radius-card);
2911
+ box-shadow: var(--app-shadow-card);
2912
+ }
2913
+
2914
+ body .semi-card-bordered {
2915
+ border-color: transparent;
2916
+ }
2917
+
2918
+ body .semi-card-header {
2919
+ padding: 18px 20px 0;
2920
+ }
2921
+
2922
+ body .semi-card-header-bordered {
2923
+ border-bottom: none;
2924
+ }
2925
+
2926
+ body .semi-card-header-wrapper-title {
2927
+ color: var(--semi-color-text-0);
2928
+ font-size: 16px;
2929
+ font-weight: 500;
2930
+ }
2931
+
2932
+ body .semi-card-body {
2933
+ padding: 20px;
2934
+ color: var(--semi-color-text-0);
2935
+ }
2936
+
2937
+ body .semi-card-shadows-hover:hover {
2938
+ box-shadow: var(--app-shadow-card-hover);
2939
+ }
2940
+
2941
+ body .semi-card-cover {
2942
+ overflow: hidden;
2943
+ border-radius: var(--app-radius-card) var(--app-radius-card) 0 0;
2944
+ }
2945
+
2946
+ /* ---------- 按钮 ---------- */
2947
+
2948
+ body .semi-button {
2949
+ font-weight: 500;
2950
+ transition:
2951
+ background-color 0.2s var(--app-ease),
2952
+ border-color 0.2s var(--app-ease),
2953
+ color 0.2s var(--app-ease),
2954
+ box-shadow 0.2s var(--app-ease),
2955
+ scale 0.1s var(--app-ease);
2956
+ }
2957
+
2958
+ /* 按下反馈用独立的 scale 属性:它与 transform 叠加而不是替换。若写成 transform: scale(),
2959
+ * 靠 transform: translate() 定位的按钮(如居中的浮层按钮)按下时会跳开,松开时指针已不在按钮上,
2960
+ * 点击就丢了。 */
2961
+ body .semi-button:not(.semi-button-disabled):active {
2962
+ scale: 0.98;
2963
+ }
2964
+
2965
+ body .semi-button-size-small {
2966
+ border-radius: var(--app-radius-chip);
2967
+ }
2968
+
2969
+ body .semi-button-primary.semi-button-solid:not(.semi-button-disabled) {
2970
+ box-shadow: 0 2px 6px rgba(var(--app-brand-6), 0.24);
2971
+ }
2972
+
2973
+ /* ---------- 图标:跟随所在文字的字号(Semi 默认固定 16px,Arco 时代是 1em,元信息行里的小图标才不会比字大) ---------- */
2974
+
2975
+ body .semi-icon-default {
2976
+ font-size: inherit;
2977
+ }
2978
+
2979
+ /* ---------- 输入类控件:聚焦加一圈主色浅环 ---------- */
2980
+
2981
+ body .semi-input-wrapper-focus,
2982
+ body .semi-select-focus,
2983
+ body .semi-datepicker-range-input-focus,
2984
+ body .semi-tagInput-focus {
2985
+ box-shadow: 0 0 0 3px var(--semi-color-primary-light-default);
2986
+ }
2987
+
2988
+ /* ---------- 弹层:下拉、级联、日期面板、气泡统一圆角、内边距与投影 ---------- */
2989
+
2990
+ body .semi-popover-wrapper,
2991
+ body .semi-select-option-list,
2992
+ body .semi-dropdown,
2993
+ body .semi-cascader-popover,
2994
+ body .semi-datepicker {
2995
+ border-radius: var(--app-radius-card);
2996
+ box-shadow: var(--app-shadow-popup);
2997
+ }
2998
+
2999
+ body .semi-dropdown-menu {
3000
+ padding: 6px;
3001
+ }
3002
+
3003
+ body .semi-dropdown-item,
3004
+ body .semi-select-option {
3005
+ border-radius: var(--semi-border-radius-small);
3006
+ }
3007
+
3008
+ body .semi-select-option-selected {
3009
+ background-color: var(--semi-color-primary-light-default);
3010
+ color: var(--semi-color-primary);
3011
+ font-weight: 500;
3012
+ }
3013
+
3014
+ body .semi-dropdown-title {
3015
+ padding: 8px 12px 4px;
3016
+ color: var(--semi-color-text-2);
3017
+ font-size: 12px;
3018
+ }
3019
+
3020
+ body .semi-tooltip-wrapper {
3021
+ padding: 6px 10px;
3022
+ background-color: rgba(var(--semi-grey-9), 0.88);
3023
+ font-size: 12px;
3024
+ box-shadow: var(--app-shadow-popup);
3025
+ }
3026
+
3027
+ /* ---------- 分段选择(按钮式单选):灰色轨道 + 白色浮起滑块 ---------- */
3028
+
3029
+ body .semi-radio-buttonRadioGroup {
3030
+ padding: 2px;
3031
+ border-radius: var(--semi-border-radius-small);
3032
+ background-color: var(--semi-color-fill-1);
3033
+ }
3034
+
3035
+ body .semi-radio-addon-buttonRadio {
3036
+ border-radius: var(--app-radius-chip);
3037
+ transition:
3038
+ background-color 0.2s var(--app-ease),
3039
+ color 0.2s var(--app-ease),
3040
+ box-shadow 0.2s var(--app-ease);
3041
+ }
3042
+
3043
+ body .semi-radio-addon-buttonRadio-checked {
3044
+ background: var(--semi-color-bg-1);
3045
+ box-shadow: var(--app-shadow-raised);
3046
+ font-weight: 500;
3047
+ }
3048
+
3049
+ /* ---------- 标签 ---------- */
3050
+
3051
+ body .semi-tag {
3052
+ border-radius: var(--app-radius-chip);
3053
+ }
3054
+
3055
+ /* ---------- 表格:浅表头、弱分隔线、悬停高亮、等宽数字 ---------- */
3056
+
3057
+ body .semi-table-container {
3058
+ border-radius: var(--app-radius-card);
3059
+ }
3060
+
3061
+ body .semi-table-thead > .semi-table-row > .semi-table-row-head {
3062
+ background-color: var(--semi-color-fill-0);
3063
+ color: var(--semi-color-text-2);
3064
+ font-size: 13px;
3065
+ font-weight: 500;
3066
+ }
3067
+
3068
+ body .semi-table-tbody > .semi-table-row > .semi-table-row-cell {
3069
+ border-bottom-color: var(--app-border-1);
3070
+ font-variant-numeric: tabular-nums;
3071
+ }
3072
+
3073
+ body .semi-table-tbody > .semi-table-row:hover > .semi-table-row-cell {
3074
+ background-color: var(--semi-color-fill-0);
3075
+ }
3076
+
3077
+ /* ---------- 分页:无边框灰底,当前页浅主色 ---------- */
3078
+
3079
+ body .semi-page-item {
3080
+ background-color: var(--semi-color-fill-0);
3081
+ font-weight: 500;
3082
+ }
3083
+
3084
+ body .semi-page-item-active,
3085
+ body .semi-page-item-active:hover {
3086
+ background-color: var(--semi-color-primary-light-default);
3087
+ color: var(--semi-color-primary);
3088
+ font-weight: 500;
3089
+ }
3090
+
3091
+ /* ---------- 标签页:粗圆角指示条 ---------- */
3092
+
3093
+ body .semi-tabs-bar-line .semi-tabs-tab-active::after,
3094
+ body .semi-tabs-bar-line .semi-tabs-tab:hover::after {
3095
+ height: 3px;
3096
+ border-radius: 3px;
3097
+ }
3098
+
3099
+ body .semi-tabs-bar .semi-tabs-tab {
3100
+ font-weight: 500;
3101
+ }
3102
+
3103
+ /* ---------- 弹窗与侧边抽屉 ---------- */
3104
+
3105
+ body .semi-modal-content {
3106
+ border: none;
3107
+ border-radius: var(--app-radius-card);
3108
+ box-shadow: var(--app-shadow-popup);
3109
+ }
3110
+
3111
+ body .semi-modal-title {
3112
+ color: var(--semi-color-text-0);
3113
+ font-size: 18px;
3114
+ font-weight: 500;
3115
+ }
3116
+
3117
+ body .semi-sidesheet-header {
3118
+ border-bottom-color: var(--app-border-1);
3119
+ }
3120
+
3121
+ body .semi-sidesheet-title {
3122
+ color: var(--semi-color-text-0);
3123
+ font-size: 16px;
3124
+ font-weight: 500;
3125
+ }
3126
+
3127
+ /* ---------- 提示与反馈 ---------- */
3128
+
3129
+ body .semi-banner-in-container {
3130
+ border-radius: var(--semi-border-radius-small);
3131
+ }
3132
+
3133
+ body .semi-toast,
3134
+ body .semi-notification-notice {
3135
+ box-shadow: var(--app-shadow-popup);
3136
+ }
3137
+
3138
+ body .semi-skeleton-image,
3139
+ body .semi-skeleton-paragraph li,
3140
+ body .semi-skeleton-title,
3141
+ body .semi-skeleton-button {
3142
+ border-radius: var(--app-radius-chip);
3143
+ }
3144
+
3145
+ /* ---------- 表单与描述 ---------- */
3146
+
3147
+ body .semi-form-field-label-text {
3148
+ color: var(--semi-color-text-1);
3149
+ font-weight: 500;
3150
+ }
3151
+
3152
+ body .semi-descriptions-key {
3153
+ color: var(--semi-color-text-2);
3154
+ }
3155
+
3156
+ body .semi-descriptions-value {
3157
+ color: var(--semi-color-text-0);
3158
+ font-weight: 500;
3159
+ font-variant-numeric: tabular-nums;
3160
+ }
3161
+
3162
+ body .semi-breadcrumb-item {
3163
+ font-size: 13px;
3164
+ }
3165
+
3166
+ /* ---------- 细滚动条 ---------- */
3167
+
3168
+ body .semi-select-option-list,
3169
+ body .semi-dropdown-menu,
3170
+ body .semi-modal-body,
3171
+ body .semi-sidesheet-body {
3172
+ scrollbar-color: var(--semi-color-fill-2) transparent;
3173
+ scrollbar-width: thin;
3174
+ }
3175
+
3176
+ /* ---------- 页面底色与应用级尺寸(原 global.css) ---------- */
3177
+ :root {
3178
+ --app-header-height: 60px;
3179
+ --app-content-max-width: 1680px;
3180
+ }
3181
+
3182
+ html,
3183
+ body,
3184
+ #root {
3185
+ min-height: 100%;
3186
+ }
3187
+
3188
+ body {
3189
+ margin: 0;
3190
+ background: var(--app-page-gradient) fixed;
3191
+ color: var(--semi-color-text-0);
3192
+ font-family:
3193
+ 'Inter',
3194
+ -apple-system,
3195
+ BlinkMacSystemFont,
3196
+ 'PingFang SC',
3197
+ 'Hiragino Sans GB',
3198
+ 'Microsoft YaHei',
3199
+ 'Segoe UI',
3200
+ 'Helvetica Neue',
3201
+ Helvetica,
3202
+ Arial,
3203
+ sans-serif;
3204
+ font-size: 14px;
3205
+ line-height: 1.5;
3206
+ -webkit-font-smoothing: antialiased;
3207
+ text-rendering: optimizeLegibility;
3208
+ }
3209
+
3210
+ /* Semi 的 Space 按内容撑开;限制在容器内,窄屏时让子项换行而不是横向溢出。 */
3211
+ body .semi-space {
3212
+ max-width: 100%;
3213
+ }
3214
+
3215
+ @media (prefers-reduced-motion: reduce) {
3216
+ *,
3217
+ *::before,
3218
+ *::after {
3219
+ scroll-behavior: auto !important;
3220
+ transition-duration: 0.01ms !important;
3221
+ animation-duration: 0.01ms !important;
3222
+ animation-iteration-count: 1 !important;
3223
+ }
3224
+ }