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

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